ZAP Scanning Report

Summary of Alerts

Generated on Fri, 23 Jul 2021 07:43:53

Risk LevelNumber of Alerts
High0
Medium3
Low4
Informational5

Alerts

NameRisk LevelNumber of Instances
Content Security Policy (CSP) Header Not SetMedium3
Source Code Disclosure - JavaMedium2
X-Frame-Options Header Not SetMedium3
Dangerous JS FunctionsLow1
Incomplete or No Cache-control Header SetLow3
Permissions Policy Header Not SetLow8
X-Content-Type-Options Header MissingLow11
Base64 DisclosureInformational1
Information Disclosure - Suspicious CommentsInformational4
Modern Web ApplicationInformational5
Storable and Cacheable ContentInformational10
Timestamp Disclosure - UnixInformational103

Alert Detail

Medium (High)Content Security Policy (CSP) Header Not Set
Description

Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.

URLhttps://sepia.fabnum.fr/
MethodGET
URLhttps://sepia.fabnum.fr/sitemap.xml
MethodGET
URLhttps://sepia.fabnum.fr/robots.txt
MethodGET
Instances3
Solution

Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header, to achieve optimal browser support: "Content-Security-Policy" for Chrome 25+, Firefox 23+ and Safari 7+, "X-Content-Security-Policy" for Firefox 4.0+ and Internet Explorer 10+, and "X-WebKit-CSP" for Chrome 14+ and Safari 6+.

Reference

https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy

https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html

http://www.w3.org/TR/CSP/

http://w3c.github.io/webappsec/specs/content-security-policy/csp-specification.dev.html

http://www.html5rocks.com/en/tutorials/security/content-security-policy/

http://caniuse.com/#feat=contentsecuritypolicy

http://content-security-policy.com/

CWE Id693
WASC Id15
Source ID3
Medium (Medium)Source Code Disclosure - Java
Description

Application Source Code was disclosed by the web server - Java

URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidenceclass x{}const S=Object(o.F)(x),k=new r.w("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});class M extends S{constructor(t,e,n){super(),this._changeDetectorRef=t,this._elementRef=e,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new r.r,this.opened=new r.r,this.closed=new r.r,this._classList={},this.id="mat-autocomplete-"+w++,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(i.c)(t)}set classList(t){this._classList=t&&t.length?t.split(" ").reduce((t,e)=>(t[e.trim()]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new l.b(this.options).withWrap(),this._setVisibility()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new P(this,t);this.optionSelected.emit(e)}_setVisibilityClasses(t){t["mat-autocomplete-visible"]=this.showPanel,t["mat-autocomplete-hidden"]=!this.showPanel}}const O=new r.w("mat-autocomplete-scroll-strategy");function D(t){return()=>t.scrollStrategies.reposition()}class T{constructor(t,e,n,l,i,r,o,a,s,u){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=l,this._changeDetectorRef=i,this._dir=o,this._formField=a,this._document=s,this._viewportRuler=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=d.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new h.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(p.a)(()=>this.autocomplete&&this.autocomplete.options?Object(f.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.asObservable().pipe(Object(g.a)(1),Object(_.a)(()=>this.optionSelections))),this._scrollStrategy=r}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(i.c)(t)}ngAfterViewInit(){if("undefined"!=typeof window&&(this._zone.runOutsideAngular(()=>{window.addEventListener("blur",this._windowBlurHandler)}),Object(u.d)())){const t=this._element.nativeElement,e=t.getRootNode?t.getRootNode():null;this._isInsideShadowRoot=e instanceof window.ShadowRoot}}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){"undefined"!=typeof window&&window.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(f.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(y.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(y.a)(()=>this._overlayAttached)):Object(b.a)()).pipe(Object(A.a)(t=>t instanceof o.u?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(f.a)(Object(m.a)(this._document,"click"),Object(m.a)(this._document,"touchend")).pipe(Object(y.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e===a.h&&t.preventDefault(),this.activeOption&&e===a.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,l=e===a.q||e===a.e;this.panelOpen||e===a.p?this.autocomplete._keyManager.onKeydown(t):l&&this._canOpen()&&this.openPanel(),(l||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}}_handleInput(t){let e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_scrollToOption(){const t=this.autocomplete._keyManager.activeItemIndex||0,e=Object(o.C)(t,this.autocomplete.options,this.autocomplete.optionGroups);if(0===t&&1===e)this.autocomplete._setScrollTop(0);else{const n=Object(o.D)(t+e,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(n)}}_subscribeToClosingActions(){const t=this._zone.onStable.asObservable().pipe(Object(g.a)(1)),e=this.autocomplete.options.changes.pipe(Object(v.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(C.a)(0));return Object(f.a)(t,e).pipe(Object(_.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(g.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!=t&&e.selected&&e.deselect()})}_attachOverlay(){if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new c.h(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(t=>{(t.keyCode===a.h||t.keyCode===a.q&&t.altKey)&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}))),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const e=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&e!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new s.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e={originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},n={originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"};let l;l="above"===this.position?[n]:"below"===this.position?[e]:[e,n],t.withPositions(l)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}}class E{}},"/HVE":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return m})),n.d(e,"e",(function(){return g})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return _}));var l=n("8Y7J"),i=n("SVse");let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(y){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(i.y)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(l.J,8))},token:t,providedIn:"root"}),t})();class s{}const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function c(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(u),o;let t=document.createElement("input");return o=new Set(u.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let d;function h(t){return function(){if(null==d&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?t:!!t.capture}const p=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let f,b;function m(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function g(){if("object"!=typeof document||!document)return p.NORMAL;if(!f){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),l=n.style;l.width="2px",l.height="1px",t.appendChild(n),document.body.appendChild(t),f=p.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,f=0===t.scrollLeft?p.NEGATED:p.INVERTED),t.parentNode.removeChild(t)}return f}function _(){if(null==b){const t="undefined"!=typeof document?document.head:null;b=!(!t||!t.createShadowRoot&&!t.attachShadow)}return b}},"/MgC":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("RH9n"),i=n("2Vo4"),r=n("lJxs"),o=n("oeKZ"),a=(n("G0WM"),n("oQtH")),s=n("8Y7J"),u=n("XYOC");let c=(()=>{class t{constructor(t,e){this.keycloakService=t,this.notificationTypeService=e,this.notificationsSocketSubject=new i.a({}),this.notificationsSocket={},this.keycloakService.getToken().then(t=>{this.socketConfiguration={url:a.a.config.api["sepia.api"].url,options:{transports:["websocket"],query:{jwt:t}}},this.socket=new l.a(this.socketConfiguration);const e={join:["userListening||id"],filter:["userListening.id||eq||"+this.keycloakService.client().subject]};this.notificationTypeService.getManyBaseNotificationTypeControllerNotificationType(e).pipe(Object(r.a)(t=>t.data)).subscribe(t=>{this.updateSubscribeNotifications(t)})})}updateSubscribeNotifications(t){this.notificationsSocket={};for(const e of t)this.subscribeNotification(e);this.notificationsSocketSubject.next(this.notificationsSocket)}subscribeNotification(t){this.notificationsSocket[t.type]=this.socket.fromEvent("notif:"+t.name)}unsubscribeNotification(t){delete this.notificationsSocket[t.type]}}return t.ngInjectableDef=s.cc({factory:function(){return new t(s.dc(o.a),s.dc(u.a))},token:t,providedIn:"root"}),t})()},"/Mhs":function(t,e){},"/O31":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l={DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"},i={};i[l.DEGREES]=2*Math.PI*6370997/360,i[l.FEET]=.3048,i[l.METERS]=1,i[l.USFEET]=1200/3937,e.b=l},"/U2p":function(t,e,n){"use strict";function l(t,e,n,l,i){for(var r,o=[t[e],t[e+1]],a=[];e+l<n;e+=l){if(a[0]=t[e+l],a[1]=t[e+l+1],r=i(o,a))return r;o[0]=a[0],o[1]=a[1]}return!1}n.d(e,"a",(function(){return l}))},"/X5v":function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends l.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(l){return this.destination.error(l)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(l){return this.destination.error(l)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("KAq4")},"02hT":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW");class l{}},"0Ba5":function(t,e){function n(){}n.prototype.init=function(){if(!arguments.length)throw new Error("no arguments");if(arguments[0].lat&&arguments[0].lng)this.lat=arguments[0].lat,this.lon=arguments[0].lng;else if("string"==typeof arguments[0]){var t=arguments[0].split(",");this.lat=parseFloat(t[0].trim()),this.lon=parseFloat(t[1].trim())}else if("[object Array]"===Object.prototype.toString.call(arguments[0])){var e=arguments[0];!0===arguments[1]?(this.lat=e[1],this.lon=e[0]):(this.lat=e[0],this.lon=e[1])}else!0===arguments[2]?(this.lat=arguments[1],this.lon=arguments[0]):(this.lat=arguments[0],this.lon=arguments[1]);this.compute()},n.prototype.compute=function(){function t(t){var e={};return e.initValue=t,e.degrees=Math.abs(t),e.degreesInt=Math.floor(e.degrees),e.degreesFrac=e.degrees-e.degreesInt,e.secondsTotal=3600*e.degreesFrac,e.minutes=e.secondsTotal/60,e.minutesInt=Math.floor(e.minutes),e.seconds=e.secondsTotal-60*e.minutesInt,e}this.north=this.lat>0,this.east=this.lon>0,this.latValues=t(this.lat),this.lonValues=t(this.lon)};var l={FFf:"DD MM ss X",Ff:"DD mm X",f:"dd X"};n.prototype.format=function(t,e){"object"==typeof t&&(e=t,t="FFf"),void 0===t&&(t="FFf"),void 0===e&&(e={}),"string"==typeof e&&(e={latLonSeparator:e}),void 0===e.latLonSeparator&&(e.latLonSeparator=" "),e.decimalPlaces=void 0===e.decimalPlaces?5:parseInt(e.decimalPlaces),Object.keys(l).indexOf(t)>-1&&(t=l[t]);var n=r(this.latValues,this.north?"N":"S"),i=r(this.lonValues,this.east?"E":"W");function r(n,l){return t.replace(/DD/g,n.degreesInt+"\xb0").replace(/dd/g,n.degrees.toFixed(e.decimalPlaces)+"\xb0").replace(/D/g,n.degreesInt).replace(/d/g,n.degrees.toFixed(e.decimalPlaces)).replace(/MM/g,n.minutesInt+"\u2032").replace(/mm/g,n.minutes.toFixed(e.decimalPlaces)+"\u2032").replace(/M/g,n.minutesInt).replace(/m/g,n.minutes.toFixed(e.decimalPlaces)).replace(/ss/g,n.seconds.toFixed(e.decimalPlaces)+"\u2033").replace(/s/g,n.seconds.toFixed(e.decimalPlaces)).replace(/-/g,n.initValue<0?"-":"").replace(/X/g,l)}return n+e.latLonSeparator+i},t.exports=function(){var t=new n;return t.init.apply(t,arguments),t}},"0Ceg":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.getOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.replaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.deleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.getManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.createManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.ReplaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.DeleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.UpdateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.GetManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area",t.CreateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area",t.CreateManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("bHdf");function i(){return Object(l.a)(1)}},"0Hnp":function(t,e,n){"use strict";e.a={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"0XyG":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("8Y7J"),i=n("s7LF");n("G0WM");class r{constructor(t){this.fleetItemService=t,this.hasImport=new l.r}ngOnInit(){this.uploadForm=new i.j({file:new i.g(null,[i.w.required]),override:new i.g(!0,[i.w.required]),fileSource:new i.g(null,[i.w.required])})}onFileChange(t){t.target.files.length>0&&this.uploadForm.patchValue({fileSource:t.target.files[0]})}exportCsv(){this.fleetItemService.fleetItemControllerExportCsv({fleetId:this.fleetId}).subscribe(t=>{this.downLoadFile(t,"application/csv")})}downLoadFile(t,e){const n=new Blob([t],{type:e}),l=window.URL.createObjectURL(n),i=document.createElement("a");i.download="fleet_item.csv",i.href=l,i.click()}importCsv(){this.fleetItemService.fleetItemControllerImportCsv({body:{override:this.uploadForm.value.override,fleetId:this.fleetId,file:this.uploadForm.value.fileSource}}).subscribe(t=>{this.hasImport.emit()})}}},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"0z79":function(t,e,n){var l=n("AdPF"),i=n("CUme"),r=n("cpc2"),o=n("Yvos"),a=n("HjK1")("engine.io-client:polling-xhr"),s=n("2UHX");function u(){}function c(t){if(i.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,"undefined"!=typeof location){var e="https:"===location.protocol,n=location.port;n||(n=e?443:80),this.xd="undefined"!=typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}}function d(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}function h(){for(var t in d.requests)d.requests.hasOwnProperty(t)&&d.requests[t].abort()}t.exports=c,t.exports.Request=d,o(c,i),c.prototype.supportsBinary=!0,c.prototype.request=function(t){return(t=t||{}).uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new d(t)},c.prototype.doWrite=function(t,e){var n=this.request({method:"POST",data:t,isBinary:"string"!=typeof t&&void 0!==t}),l=this;n.on("success",e),n.on("error",(function(t){l.onError("xhr post error",t)})),this.sendXhr=n},c.prototype.doPoll=function(){a("xhr poll");var t=this.request(),e=this;t.on("data",(function(t){e.onData(t)})),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t},r(d.prototype),d.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new l(t),n=this;try{a("xhr open %s: %s",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var i in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(i)&&e.setRequestHeader(i,this.extraHeaders[i])}catch(r){}if("POST"===this.method)try{e.setRequestHeader("Content-type",this.isBinary?"application/octet-stream":"text/plain;charset=UTF-8")}catch(r){}try{e.setRequestHeader("Accept","*/*")}catch(r){}"withCredentials"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){n.onLoad()},e.onerror=function(){n.onError(e.responseText)}):e.onreadystatechange=function(){if(2===e.readyState)try{var t=e.getResponseHeader("Content-Type");(n.supportsBinary&&"application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&(e.responseType="arraybuffer")}catch(r){}4===e.readyState&&(200===e.status||1223===e.status?n.onLoad():setTimeout((function(){n.onError("number"==typeof e.status?e.status:0)}),0))},a("xhr data %s",this.data),e.send(this.data)}catch(r){return void setTimeout((function(){n.onError(r)}),0)}"undefined"!=typeof document&&(this.index=d.requestsCount++,d.requests[this.index]=this)},d.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},d.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},d.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},d.prototype.cleanup=function(t){if(null!=this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=u:this.xhr.onreadystatechange=u,t)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete d.requests[this.index],this.xhr=null}},d.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader("Content-Type")}catch(n){}t=("application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=t&&this.onData(t)},d.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},d.prototype.abort=function(){this.cleanup()},d.requestsCount=0,d.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",h):"function"==typeof addEventListener&&addEventListener("onpagehide"in s?"pagehide":"unload",h,!1))},1:function(t,e){},"14A5":function(t,e){var n=void 0!==n?n:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,l=function(){try{return 2===new Blob(["hi"]).size}catch(t){return!1}}(),i=l&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),r=n&&n.prototype.append&&n.prototype.getBlob;function o(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function a(t,e){e=e||{};var l=new n;return o(t).forEach((function(t){l.append(t)})),e.type?l.getBlob(e.type):l.getBlob()}function s(t,e){return new Blob(o(t),e||{})}"undefined"!=typeof Blob&&(a.prototype=Blob.prototype,s.prototype=Blob.prototype),t.exports=l?i?Blob:s:r?a:void 0},"17Ym":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("MlvX"),r=n("Xd0L"),o=n("oBZk"),a=n("ZZ/e"),s=n("Mc5n"),u=n("SVse"),c=n("IP0z"),d=n("s6ns"),h=n("s7LF"),p=n("dJrM"),f=n("HsOI"),b=n("/HVE"),m=n("omvX"),g=n("821u"),_=n("ZwOa"),y=n("oapL"),A=n("zbXB"),v=n("QQfA"),C=n("Azqq"),w=n("JjoW"),P=n("hOhj"),x=n("5GAg"),S=n("Fi5g"),k=n("GXLG");n.d(e,"a",(function(){return I}));var M=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}form[_ngcontent-%COMP%]{padding:10px}"]],data:{}});function O(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[23,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function D(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[35,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function T(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),o.y,o.g)),l.Cb(1,49152,null,0,a.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","replay"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(3,4866048,null,3,s.c,[l.p,[3,s.b],u.d,l.G,l.Y,s.a,[2,c.b],s.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,s.l,null,[s.c]),l.Cb(8,147456,[[1,4]],0,s.d,[l.p,[2,s.l]],null,null),l.Cb(9,81920,null,0,d.m,[[2,d.l],l.p,d.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["REPLAY (in UTC)"])),(t()(),l.Db(11,0,null,null,90,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(12,16384,null,0,d.j,[],null,null),(t()(),l.Db(13,0,null,null,88,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,15).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,15).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.startReplay()&&i),i}),null,null)),l.Cb(14,16384,null,0,h.A,[],null,null),l.Cb(15,540672,null,0,h.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,h.c,null,[h.k]),l.Cb(17,16384,null,0,h.r,[[4,h.c]],null,null),(t()(),l.Db(18,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 200px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,p.b,p.a)),l.Cb(19,7520256,null,9,f.c,[l.p,l.j,[2,r.j],[2,c.b],[2,f.a],b.a,l.G,[2,m.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,4,{_controlNonStatic:0}),l.Ub(335544320,5,{_controlStatic:0}),l.Ub(603979776,6,{_labelChildNonStatic:0}),l.Ub(335544320,7,{_labelChildStatic:0}),l.Ub(603979776,8,{_placeholderChild:0}),l.Ub(603979776,9,{_errorChildren:1}),l.Ub(603979776,10,{_hintChildren:1}),l.Ub(603979776,11,{_prefixChildren:1}),l.Ub(603979776,12,{_suffixChildren:1}),(t()(),l.Db(29,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","date"],["matInput",""],["placeholder","Choose a date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,30)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,30).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,30)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,30)._compositionEnd(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,31)._onInput(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,31)._onChange()&&i),"blur"===e&&(i=!1!==l.Pb(t,31)._onBlur()&&i),"keydown"===e&&(i=!1!==l.Pb(t,31)._onKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,38)._onInput()&&i),i}),null,null)),l.Cb(30,16384,null,0,h.d,[l.M,l.p,[2,h.a]],null,null),l.Cb(31,147456,null,0,g.h,[l.p,[2,r.c],[2,r.g],[2,f.c]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},null),l.Tb(1024,null,h.n,(function(t){return[t]}),[g.h]),l.Tb(1024,null,h.o,(function(t,e){return[t,e]}),[h.d,g.h]),l.Cb(34,671744,null,0,h.i,[[3,h.c],[6,h.n],[8,null],[6,h.o],[2,h.z]],{name:[0,"name"]},null),l.Tb(2048,null,h.p,null,[h.i]),l.Cb(36,16384,null,0,h.q,[[4,h.p]],null,null),l.Tb(2048,null,_.a,null,[g.h]),l.Cb(38,999424,null,0,_.b,[l.p,b.a,[6,h.p],[2,h.s],[2,h.k],r.d,[6,_.a],y.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[4,4],[5,4]],f.d,null,[_.b]),(t()(),l.Db(40,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,41)._button.focus()&&i),i}),A.e,A.d)),l.Cb(41,1753088,null,1,g.k,[g.i,l.j,[8,null]],{datepicker:[0,"datepicker"]},null),l.Ub(603979776,13,{_customIcon:0}),l.Cb(43,16384,[[12,4]],0,f.g,[],null,null),(t()(),l.Db(44,16777216,null,1,1,"mat-datepicker",[],null,null,null,A.f,A.c)),l.Cb(45,180224,[["picker",4]],0,g.f,[d.e,v.c,l.G,l.Y,g.a,[2,r.c],[2,c.b],[2,u.d]],null,null),(t()(),l.Db(46,0,null,null,52,"div",[],null,null,null,null,null)),(t()(),l.Db(47,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,p.b,p.a)),l.Cb(48,7520256,null,9,f.c,[l.p,l.j,[2,r.j],[2,c.b],[2,f.a],b.a,l.G,[2,m.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,14,{_controlNonStatic:0}),l.Ub(335544320,15,{_controlStatic:0}),l.Ub(603979776,16,{_labelChildNonStatic:0}),l.Ub(335544320,17,{_labelChildStatic:0}),l.Ub(603979776,18,{_placeholderChild:0}),l.Ub(603979776,19,{_errorChildren:1}),l.Ub(603979776,20,{_hintChildren:1}),l.Ub(603979776,21,{_prefixChildren:1}),l.Ub(603979776,22,{_suffixChildren:1}),(t()(),l.Db(58,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(59,16384,[[16,4],[17,4]],0,f.f,[],null,null),(t()(),l.Wb(-1,null,["Hours"])),(t()(),l.Db(61,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","hours"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,66)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,66)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,66)._onBlur()&&i),i}),C.b,C.a)),l.Tb(6144,null,r.l,null,[w.c]),l.Cb(63,671744,null,0,h.i,[[3,h.c],[8,null],[8,null],[8,null],[2,h.z]],{name:[0,"name"]},null),l.Tb(2048,null,h.p,null,[h.i]),l.Cb(65,16384,null,0,h.q,[[4,h.p]],null,null),l.Cb(66,2080768,null,3,w.c,[P.e,l.j,l.G,r.d,l.p,[2,c.b],[2,h.s],[2,h.k],[2,f.c],[6,h.p],[8,null],w.a,x.j],null,null),l.Ub(603979776,23,{options:1}),l.Ub(603979776,24,{optionGroups:1}),l.Ub(603979776,25,{customTrigger:0}),l.Tb(2048,[[14,4],[15,4]],f.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,O)),l.Cb(72,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(73,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,p.b,p.a)),l.Cb(74,7520256,null,9,f.c,[l.p,l.j,[2,r.j],[2,c.b],[2,f.a],b.a,l.G,[2,m.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,26,{_controlNonStatic:0}),l.Ub(335544320,27,{_controlStatic:0}),l.Ub(603979776,28,{_labelChildNonStatic:0}),l.Ub(335544320,29,{_labelChildStatic:0}),l.Ub(603979776,30,{_placeholderChild:0}),l.Ub(603979776,31,{_errorChildren:1}),l.Ub(603979776,32,{_hintChildren:1}),l.Ub(603979776,33,{_prefixChildren:1}),l.Ub(603979776,34,{_suffixChildren:1}),(t()(),l.Db(84,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(85,16384,[[28,4],[29,4]],0,f.f,[],null,null),(t()(),l.Wb(-1,null,["Minutes"])),(t()(),l.Db(87,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","minutes"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,92)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,92)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,92)._onBlur()&&i),i}),C.b,C.a)),l.Tb(6144,null,r.l,null,[w.c]),l.Cb(89,671744,null,0,h.i,[[3,h.c],[8,null],[8,null],[8,null],[2,h.z]],{name:[0,"name"]},null),l.Tb(2048,null,h.p,null,[h.i]),l.Cb(91,16384,null,0,h.q,[[4,h.p]],null,null),l.Cb(92,2080768,null,3,w.c,[P.e,l.j,l.G,r.d,l.p,[2,c.b],[2,h.s],[2,h.k],[2,f.c],[6,h.p],[8,null],w.a,x.j],null,null),l.Ub(603979776,35,{options:1}),l.Ub(603979776,36,{optionGroups:1}),l.Ub(603979776,37,{customTrigger:0}),l.Tb(2048,[[26,4],[27,4]],f.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,D)),l.Cb(98,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(99,0,null,null,2,"ion-button",[["color","danger"],["type","submit"]],null,null,null,o.u,o.c)),l.Cb(100,49152,null,0,a.i,[l.j,l.p,l.G],{color:[0,"color"],type:[1,"type"]},null),(t()(),l.Wb(-1,0,[" Start replay "]))],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0,".cdk-overlay-pane"),t(e,9,0,"replay"),t(e,15,0,n.replayForm),t(e,19,0,"outline"),t(e,31,0,l.Pb(e,45),n.maxDate),t(e,34,0,"date"),t(e,38,0,"Choose a date"),t(e,41,0,l.Pb(e,45)),t(e,48,0,"outline"),t(e,63,0,"hours"),t(e,66,0),t(e,72,0,n.hours),t(e,74,0,"outline"),t(e,89,0,"minutes"),t(e,92,0),t(e,98,0,n.minutes),t(e,100,0,"danger","submit")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging(),l.Pb(e,9).id),t(e,13,0,l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending),t(e,18,1,["standard"==l.Pb(e,19).appearance,"fill"==l.Pb(e,19).appearance,"outline"==l.Pb(e,19).appearance,"legacy"==l.Pb(e,19).appearance,l.Pb(e,19)._control.errorState,l.Pb(e,19)._canLabelFloat,l.Pb(e,19)._shouldLabelFloat(),l.Pb(e,19)._hasFloatingLabel(),l.Pb(e,19)._hideControlPlaceholder(),l.Pb(e,19)._control.disabled,l.Pb(e,19)._control.autofilled,l.Pb(e,19)._control.focused,"accent"==l.Pb(e,19).color,"warn"==l.Pb(e,19).color,l.Pb(e,19)._shouldForward("untouched"),l.Pb(e,19)._shouldForward("touched"),l.Pb(e,19)._shouldForward("pristine"),l.Pb(e,19)._shouldForward("dirty"),l.Pb(e,19)._shouldForward("valid"),l.Pb(e,19)._shouldForward("invalid"),l.Pb(e,19)._shouldForward("pending"),!l.Pb(e,19)._animationsEnabled]),t(e,29,1,[l.Pb(e,31)._datepicker?"dialog":null,(null==l.Pb(e,31)._datepicker?null:l.Pb(e,31)._datepicker.opened)&&l.Pb(e,31)._datepicker.id||null,l.Pb(e,31).min?l.Pb(e,31)._dateAdapter.toIso8601(l.Pb(e,31).min):null,l.Pb(e,31).max?l.Pb(e,31)._dateAdapter.toIso8601(l.Pb(e,31).max):null,l.Pb(e,31).disabled,l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,38)._isServer,l.Pb(e,38).id,l.Pb(e,38).placeholder,l.Pb(e,38).disabled,l.Pb(e,38).required,l.Pb(e,38).readonly&&!l.Pb(e,38)._isNativeSelect||null,l.Pb(e,38)._ariaDescribedby||null,l.Pb(e,38).errorState,l.Pb(e,38).required.toString()]),t(e,40,0,-1,l.Pb(e,41).datepicker&&l.Pb(e,41).datepicker.opened,l.Pb(e,41).datepicker&&"accent"===l.Pb(e,41).datepicker.color,l.Pb(e,41).datepicker&&"warn"===l.Pb(e,41).datepicker.color),t(e,47,1,["standard"==l.Pb(e,48).appearance,"fill"==l.Pb(e,48).appearance,"outline"==l.Pb(e,48).appearance,"legacy"==l.Pb(e,48).appearance,l.Pb(e,48)._control.errorState,l.Pb(e,48)._canLabelFloat,l.Pb(e,48)._shouldLabelFloat(),l.Pb(e,48)._hasFloatingLabel(),l.Pb(e,48)._hideControlPlaceholder(),l.Pb(e,48)._control.disabled,l.Pb(e,48)._control.autofilled,l.Pb(e,48)._control.focused,"accent"==l.Pb(e,48).color,"warn"==l.Pb(e,48).color,l.Pb(e,48)._shouldForward("untouched"),l.Pb(e,48)._shouldForward("touched"),l.Pb(e,48)._shouldForward("pristine"),l.Pb(e,48)._shouldForward("dirty"),l.Pb(e,48)._shouldForward("valid"),l.Pb(e,48)._shouldForward("invalid"),l.Pb(e,48)._shouldForward("pending"),!l.Pb(e,48)._animationsEnabled]),t(e,61,1,[l.Pb(e,65).ngClassUntouched,l.Pb(e,65).ngClassTouched,l.Pb(e,65).ngClassPristine,l.Pb(e,65).ngClassDirty,l.Pb(e,65).ngClassValid,l.Pb(e,65).ngClassInvalid,l.Pb(e,65).ngClassPending,l.Pb(e,66).id,l.Pb(e,66).tabIndex,l.Pb(e,66)._getAriaLabel(),l.Pb(e,66)._getAriaLabelledby(),l.Pb(e,66).required.toString(),l.Pb(e,66).disabled.toString(),l.Pb(e,66).errorState,l.Pb(e,66).panelOpen?l.Pb(e,66)._optionIds:null,l.Pb(e,66).multiple,l.Pb(e,66)._ariaDescribedby||null,l.Pb(e,66)._getAriaActiveDescendant(),l.Pb(e,66).disabled,l.Pb(e,66).errorState,l.Pb(e,66).required,l.Pb(e,66).empty]),t(e,73,1,["standard"==l.Pb(e,74).appearance,"fill"==l.Pb(e,74).appearance,"outline"==l.Pb(e,74).appearance,"legacy"==l.Pb(e,74).appearance,l.Pb(e,74)._control.errorState,l.Pb(e,74)._canLabelFloat,l.Pb(e,74)._shouldLabelFloat(),l.Pb(e,74)._hasFloatingLabel(),l.Pb(e,74)._hideControlPlaceholder(),l.Pb(e,74)._control.disabled,l.Pb(e,74)._control.autofilled,l.Pb(e,74)._control.focused,"accent"==l.Pb(e,74).color,"warn"==l.Pb(e,74).color,l.Pb(e,74)._shouldForward("untouched"),l.Pb(e,74)._shouldForward("touched"),l.Pb(e,74)._shouldForward("pristine"),l.Pb(e,74)._shouldForward("dirty"),l.Pb(e,74)._shouldForward("valid"),l.Pb(e,74)._shouldForward("invalid"),l.Pb(e,74)._shouldForward("pending"),!l.Pb(e,74)._animationsEnabled]),t(e,87,1,[l.Pb(e,91).ngClassUntouched,l.Pb(e,91).ngClassTouched,l.Pb(e,91).ngClassPristine,l.Pb(e,91).ngClassDirty,l.Pb(e,91).ngClassValid,l.Pb(e,91).ngClassInvalid,l.Pb(e,91).ngClassPending,l.Pb(e,92).id,l.Pb(e,92).tabIndex,l.Pb(e,92)._getAriaLabel(),l.Pb(e,92)._getAriaLabelledby(),l.Pb(e,92).required.toString(),l.Pb(e,92).disabled.toString(),l.Pb(e,92).errorState,l.Pb(e,92).panelOpen?l.Pb(e,92)._optionIds:null,l.Pb(e,92).multiple,l.Pb(e,92)._ariaDescribedby||null,l.Pb(e,92)._getAriaActiveDescendant(),l.Pb(e,92).disabled,l.Pb(e,92).errorState,l.Pb(e,92).required,l.Pb(e,92).empty])}))}function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-replay-dialog",[],null,null,null,T,M)),l.Cb(1,114688,null,0,S.a,[k.a,d.l,d.a],null,null)],(function(t,e){t(e,1,0)}),null)}var I=l.zb("form-replay-dialog",S.a,E,{},{},[])},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("zx2A");function i(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),i=Object(l.c)(this.notifier,new l.a(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class o extends l.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1HJ2":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7/LY");class i{constructor(t,e){this.ref=t,this.selectAircraftService=e,this.subscription={},this.aircraftContext=void 0}ngOnInit(){this.subscription=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)})}ngOnDestroy(){this.subscription.unsubscribe()}manageSelectedAircrafts(t){t.haveStatus(l.a.SELECT)?(this.aircraftContext=t,this.ref.detectChanges()):this.aircraftContext&&this.aircraftContext.aircraft&&this.aircraftContext.aircraft.icao==t.aircraft.icao&&!t.haveOneStatus([l.a.SELECT])&&(this.aircraftContext=void 0,this.ref.detectChanges())}}},"1SYQ":function(t,e,n){var l,i,r;i=[n("F8UA"),n("33Yk"),n("UJLV"),n("4/Mb")],void 0===(r="function"==typeof(l=function(t,e,n,l){"use strict";var i={latlong:t,usng:e,utm:n,mgrs:l};function r(t,e){if("string"!=typeof t)throw new Error("Parameter not a string: "+t);if("string"!=typeof e)throw new Error("Parameter not a string: "+e);if(!i[t])throw"Converter doesn't exist. Complain on GitHub.";return i[t].getConverter(e)}return r.converters=i,r})?l.apply(e,i):l)||(t.exports=r)},"1f0G":function(t,e,n){"use strict";n("G0WM");var l=n("s7LF");const i=t=>t.value&&t.value._files&&t.value._files[0]&&t.value._files[0].name&&null===t.value._files[0].name.match(/^[\w,\s-]+\.[A-Za-z]{3,}$/gm)?{validFilename:{reason:"bad filename",value:t.value}}:null,r=t=>t.value&&t.value.match(!1)?{validLayer:{reason:"bad layername",value:t.value}}:null,o=t=>t.value&&"number"!=typeof t.value?{validLayer:{reason:"bad value (not a number)",value:t.value}}:null,a=t=>t.value&&"number"!=typeof t.value&&t.value>=0&&t.value<=1?{validLayer:{reason:"bad value (not a number >= 0 and <= 1)",value:t.value}}:null;n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return d}));var s=function(t){return t.GL="GL",t.RASTER="RASTER",t}({}),u=function(t){return t.POLYGON="POLYGON",t.POINT="POINT",t.LINE="LINE",t}({});class c{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.dialogRef.close()}}class d{constructor(t,e,n){this.dialog=t,this.collectionService=e,this.formBuilder=n,this.show=!0,this.clickable=!1,this.hoverable=!1,this.piv=!1,this.geometryColor=null,this.geometryOpacity=null,this.borderColor=null,this.borderOpacity=null,this.borderWidth=null,this.circleRadius=null,this.lineWidth=null,this.layerTypes=Object.values(s),this.layerType=null,this.geometryTypes=Object.values(u),this.geometryType=u.POLYGON,this.updatedStyleValues=!1,this.watchersOfStylesValues={}}openHelper(){this.dialog.open(c,{width:"75%",height:"75%",data:{collection:this.collection}}).afterClosed().subscribe(t=>{console.log("The dialog was closed")})}onFileChange(t,e){console.log("onFileChange |","event:",t,"iList:",e)}ngOnInit(){this.initForm()}initForm(){this.layerForm=this.formBuilder.group({file:[this.collection?this.collection.file:null,[i]],name:[this.collection?this.collection.name:null,[l.w.required,r]],group:[this.collection?this.collection.layerGroup:null,[l.w.required]],piv:[this.collection?this.collection.piv:this.piv,[l.w.required]],layerType:[this.collection?this.collection.type:this.layerType,[l.w.required]],tippecanoe:[this.collection?this.collection.tippecanoe:null],style:[this.collection?this.collection.style:null],mapping:[this.collection?this.collection.mapping:null],properties:[this.collection?this.collection.properties:null],refresh:[this.collection?this.collection.refresh:null],show:[this.collection?this.collection.defaultView:this.show,[l.w.required]],order:[this.collection?this.collection.defaultOrder:null,[l.w.required]],clickable:[this.collection?this.collection.clickable:this.clickable,[l.w.required]],hoverable:[this.collection?this.collection.hoverable:this.hoverable,[l.w.required]],geometryType:[this.collection?this.collection.geometryType:this.geometryType,[l.w.required]],geometryColor:[this.collection?this.collection.geometryColor:this.geometryColor,[l.w.required]],geometryOpacity:[this.collection?this.collection.geometryOpacity:this.geometryOpacity,[l.w.required,a]],borderColor:[this.collection?this.collection.borderColor:this.borderColor],borderOpacity:[this.collection?this.collection.borderOpacity:this.borderOpacity,[a]],borderWidth:[this.collection?this.collection.borderWidth:this.borderWidth,[o]],circleRadius:[this.collection?this.collection.circleRadius:this.circleRadius,[o]],lineWidth:[this.collection?this.collection.lineWidth:this.lineWidth,[o]]}),this.watchStylesValues()}watchStylesValues(){["geometryType","geometryColor","geometryOpacity","borderColor","borderOpacity","borderWidth","circleRadius"].forEach(t=>{this.watchersOfStylesValues[t]=this.layerForm.get(t).valueChanges.subscribe(t=>{this.updatedStyleValues=!0,this.generateStyle()})})}generateStyle(t=!0){let e=null;const n=this.layerForm.get("geometryType").value;n&&(e=[this.generateGeometryStyle(n)],"POLYGON"===n&&e.push(this.generateGeometryBorderStyle()));const l=e?JSON.stringify(e,null,2):null;return t&&this.layerForm.controls.style.setValue(l),l}generateGeometryStyle(t){let e=null;"POLYGON"===t&&(e="fill"),"POINT"===t&&(e="circle"),"LINE"===t&&(e="line");let n={type:e,layout:{visibility:"visible"},paint:{},minzoom:0};return n.paint[e+"-color"]=this.layerForm.get("geometryColor").value,n.paint[e+"-opacity"]=this.layerForm.get("geometryOpacity").value,"POINT"===t&&(n.paint[e+"-radius"]=this.layerForm.get("circleRadius").value),"LINE"===t&&(n.paint[e+"-width"]=this.layerForm.get("lineWidth").value),n}generateGeometryBorderStyle(){return{type:"line",paint:{"line-color":this.layerForm.get("borderColor").value,"line-opacity":this.layerForm.get("borderOpacity").value,"line-width":this.layerForm.get("borderWidth").value},layout:{visibility:"visible"}}}getLayerType(){return this.layerForm.get("layerType").value}getGeometryType(){return this.layerForm.get("geometryType").value}submitLayer(){this.collection={},this.collection.file=this.layerForm.get("file").value&&this.layerForm.get("file").value._files[0]?this.layerForm.get("file").value._files[0]:null,this.collection.name=this.layerForm.get("name").value,this.collection.layerGroup=this.layerForm.get("group").value,this.collection.piv=this.layerForm.get("piv").value,this.collection.type=this.layerForm.get("layerType").value,this.collection.tippecanoe=this.layerForm.get("tippecanoe").value,this.collection.style=this.layerForm.get("style").value,this.collection.mapping=this.layerForm.get("mapping").value,this.collection.properties=this.layerForm.get("properties").value,this.collection.refresh=this.layerForm.get("refresh").value,this.collection.defaultView=this.layerForm.get("show").value,this.collection.defaultOrder=isNaN(Number(this.layerForm.get("order").value))?null:Number(this.layerForm.get("order").value),this.collection.clickable=this.layerForm.get("clickable").value,this.collection.hoverable=this.layerForm.get("hoverable").value,console.log("PIV:",!1===this.layerForm.get("piv").value,"false"===this.layerForm.get("piv").value),this.createCollection()}createCollection(){console.log("POST PAYLOAD:",{body:this.collection}),this.collectionService.createOneBaseCollectionControllerCollection({body:this.collection}).subscribe(t=>{})}}},"1ppg":function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1vG3":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("8rpt"),a=n("iInd"),s=n("oeKZ");n.d(e,"a",(function(){return h}));var u=l.Bb({encapsulation:0,styles:[["ion-content[_ngcontent-%COMP%]{position:relative;--background:url(/assets/images/background.jpg) no-repeat center/cover fixed}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;text-align:center;-webkit-backdrop-filter:brightness(50%);backdrop-filter:brightness(50%)}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-logo[_ngcontent-%COMP%]{position:absolute;width:100%;top:15%}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-auth[_ngcontent-%COMP%]{position:absolute;width:100%;top:50%}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-auth[_ngcontent-%COMP%] .auth-button[_ngcontent-%COMP%]{font-family:Quicksand;height:60px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:2px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#d3d3d3;width:600px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:15px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] .logo-aid[_ngcontent-%COMP%], ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] .logo-fabnum[_ngcontent-%COMP%]{position:relative;bottom:5px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,21,"ion-content",[["scroll","false"]],null,null,null,i.w,i.e)),l.Cb(1,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,19,"div",[["class","component-login"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"div",[["class","component-login-logo"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"img",[["alt","logo"],["height","80"],["src","../../assets/logo.svg"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,5,"div",[["class","component-login-auth"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,4,"ion-button",[["class","auth-button"],["color","danger"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.login()&&l),l}),i.u,i.c)),l.Cb(7,49152,null,0,r.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["S'IDENTIFIER"])),(t()(),l.Db(9,0,null,0,0,"br",[],null,null,null,null,null)),(t()(),l.Wb(-1,0,["AVEC SEPIA CONNECT"])),(t()(),l.Db(11,0,null,null,2,"div",[["class","component-login-dbg"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(13,null,["",""])),(t()(),l.Db(14,0,null,null,7,"div",[["class","component-login-credits"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"a",[["href","https://www.defense.gouv.fr/air"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,0,"img",[["alt","logo"],["src","../../assets/logo_armee_air.svg"],["width","120"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,1,"a",[["href","https://beta.gouv.fr/approche/incubateurs/fabnumdef.html"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,0,"img",[["alt","logo"],["class","logo-fabnum"],["src","../../assets/logo_fabnum.png"],["width","120"]],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,1,"a",[["href","https://www.defense.gouv.fr/aid"]],null,null,null,null,null)),(t()(),l.Db(21,0,null,null,0,"img",[["alt","logo"],["class","logo-aid"],["src","../../assets/logo_innovation_defense_lab.jpg"],["width","120"]],null,null,null,null,null))],(function(t,e){t(e,7,0,"danger")}),(function(t,e){t(e,13,0,e.component.prettyProfile)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-login",[],null,null,null,c,u)),l.Cb(1,114688,null,0,o.a,[a.m,s.a,r.Eb],null,null)],(function(t,e){t(e,1,0)}),null)}var h=l.zb("app-login",o.a,d,{},{},[])},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"27p8":function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("3TKY"),o=n("ZXPP"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l,i){var r=t.call(this,e,n,l,i)||this;return r.declutterGroups_=null,r.hitDetectionImage_=null,r.image_=null,r.anchorX_=void 0,r.anchorY_=void 0,r.height_=void 0,r.opacity_=void 0,r.originX_=void 0,r.originY_=void 0,r.rotateWithView_=void 0,r.rotation_=void 0,r.scale_=void 0,r.width_=void 0,r}return a(e,t),e.prototype.drawCoordinates_=function(t,e,n,l){return this.appendFlatCoordinates(t,e,n,l,!1,!1)},e.prototype.drawPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),l=t.getStride(),i=this.coordinates.length,r=this.drawCoordinates_(n,0,n.length,l);this.instructions.push([o.c.DRAW_IMAGE,i,r,this.image_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([o.c.DRAW_IMAGE,i,r,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(e)}},e.prototype.drawMultiPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),l=t.getStride(),i=this.coordinates.length,r=this.drawCoordinates_(n,0,n.length,l);this.instructions.push([o.c.DRAW_IMAGE,i,r,this.image_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([o.c.DRAW_IMAGE,i,r,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(e)}},e.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,t.prototype.finish.call(this)},e.prototype.setImageStyle=function(t,e){var n=t.getAnchor(),l=t.getSize(),i=t.getHitDetectionImage(1),r=t.getImage(1),o=t.getOrigin();this.anchorX_=n[0],this.anchorY_=n[1],this.declutterGroups_=e,this.hitDetectionImage_=i,this.image_=r,this.height_=l[1],this.opacity_=t.getOpacity(),this.originX_=o[0],this.originY_=o[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScale(),this.width_=l[0]},e}(r.a),u=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),c=function(t){function e(e,n,l,i){return t.call(this,e,n,l,i)||this}return u(e,t),e.prototype.drawFlatCoordinates_=function(t,e,n,l){var i=this.coordinates.length,r=this.appendFlatCoordinates(t,e,n,l,!1,!1),a=[o.c.MOVE_TO_LINE_TO,i,r];return this.instructions.push(a),this.hitDetectionInstructions.push(a),n},e.prototype.drawLineString=function(t,e){var n=this.state;if(void 0!==n.strokeStyle&&void 0!==n.lineWidth){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],o.a);var l=t.getFlatCoordinates(),i=t.getStride();this.drawFlatCoordinates_(l,0,l.length,i),this.hitDetectionInstructions.push(o.e),this.endGeometry(e)}},e.prototype.drawMultiLineString=function(t,e){var n=this.state;if(void 0!==n.strokeStyle&&void 0!==n.lineWidth){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],o.a);for(var l=t.getEnds(),i=t.getFlatCoordinates(),r=t.getStride(),a=0,s=0,u=l.length;s<u;++s)a=this.drawFlatCoordinates_(i,a,l[s],r);this.hitDetectionInstructions.push(o.e),this.endGeometry(e)}},e.prototype.finish=function(){var e=this.state;return null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&this.instructions.push(o.e),this.reverseHitDetectionInstructions(),this.state=null,t.prototype.finish.call(this)},e.prototype.applyStroke=function(e){null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&(this.instructions.push(o.e),e.lastStroke=this.coordinates.length),e.lastStroke=0,t.prototype.applyStroke.call(this,e),this.instructions.push(o.a)},e}(r.a),d=n("HEh+"),h=n("3er3"),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e,n,l,i){return t.call(this,e,n,l,i)||this}return p(e,t),e.prototype.drawFlatCoordinatess_=function(t,e,n,l){var i=this.state,r=void 0!==i.fillStyle,a=void 0!==i.strokeStyle,s=n.length;this.instructions.push(o.a),this.hitDetectionInstructions.push(o.a);for(var u=0;u<s;++u){var c=n[u],d=this.coordinates.length,h=this.appendFlatCoordinates(t,e,c,l,!0,!a),p=[o.c.MOVE_TO_LINE_TO,d,h];this.instructions.push(p),this.hitDetectionInstructions.push(p),a&&(this.instructions.push(o.b),this.hitDetectionInstructions.push(o.b)),e=c}return r&&(this.instructions.push(o.d),this.hitDetectionInstructions.push(o.d)),a&&(this.instructions.push(o.e),this.hitDetectionInstructions.push(o.e)),e},e.prototype.drawCircle=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.c.SET_FILL_STYLE,h.c]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var l=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length;this.appendFlatCoordinates(l,0,l.length,i,!1,!1);var a=[o.c.CIRCLE,r];this.instructions.push(o.a,a),this.hitDetectionInstructions.push(o.a,a),void 0!==n.fillStyle&&(this.instructions.push(o.d),this.hitDetectionInstructions.push(o.d)),void 0!==n.strokeStyle&&(this.instructions.push(o.e),this.hitDetectionInstructions.push(o.e)),this.endGeometry(e)}},e.prototype.drawPolygon=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.c.SET_FILL_STYLE,h.c]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var l=t.getEnds(),i=t.getOrientedFlatCoordinates(),r=t.getStride();this.drawFlatCoordinatess_(i,0,l,r),this.endGeometry(e)}},e.prototype.drawMultiPolygon=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.c.SET_FILL_STYLE,h.c]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);for(var l=t.getEndss(),i=t.getOrientedFlatCoordinates(),r=t.getStride(),a=0,s=0,u=l.length;s<u;++s)a=this.drawFlatCoordinatess_(i,a,l[s],r);this.endGeometry(e)}},e.prototype.finish=function(){this.reverseHitDetectionInstructions(),this.state=null;var e=this.tolerance;if(0!==e)for(var n=this.coordinates,l=0,i=n.length;l<i;++l)n[l]=Object(d.e)(n[l],e);return t.prototype.finish.call(this)},e.prototype.setFillStrokeStyles_=function(){var t=this.state;void 0!==t.fillStyle&&this.updateFillStyle(t,this.createFill),void 0!==t.strokeStyle&&this.updateStrokeStyle(t,this.applyStroke)},e}(r.a),b=n("Dmnv"),m={Circle:f,Default:r.a,Image:s,LineString:c,Polygon:f,Text:b.b},g=function(){function t(t,e,n,l,i){this.declutter_=i,this.declutterGroups_=null,this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=l,this.resolution_=n,this.buildersByZIndex_={}}return t.prototype.addDeclutter=function(t){var e=null;return this.declutter_&&(t?(e=this.declutterGroups_)[0][4]++:(e=[Object(i.j)()],this.declutterGroups_=e,e[0].push(1))),e},t.prototype.finish=function(){var t={};for(var e in this.buildersByZIndex_){t[e]=t[e]||{};var n=this.buildersByZIndex_[e];for(var l in n){var i=n[l].finish();t[e][l]=i}}return t},t.prototype.getBuilder=function(t,e){var n=void 0!==t?t.toString():"0",l=this.buildersByZIndex_[n];void 0===l&&(this.buildersByZIndex_[n]=l={});var i=l[e];return void 0===i&&(i=new(0,m[e])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),l[e]=i),i},t}();e.a=g},"2BCK":function(t,e,n){"use strict";var l=n("TN97"),i=n("egkh"),r=n("wtMG"),o=n("bHcU"),a=n("XDhV"),s=(n("CvXi"),n("BJ1j"),n("R+T3"),n("mkQN"),n("iNpl"),n("9ANI"),n("W8M7"),function(t,e){var n=t[0]-e[0],l=t[1]-e[1];return Math.sqrt(n*n+l*l)}),u=function(t){t||(t={}),o.b.call(this,{renderer:this._render.bind(this),geometry:t.geometry}),this._visible=!1!==t.visible,"function"==typeof t.width?this._widthFn=t.width:this.setWidth(t.width),this.setWidth2(t.width2),"function"==typeof t.color?this._colorFn=t.color:this.setColor(t.color),this.setColor2(t.color2),this.setLineCap(t.lineCap)};Object(r.a)(u,o.b),u.prototype.setWidth=function(t){this._width=t||0},u.prototype.setWidth2=function(t){this._width2=t},u.prototype.setLineCap=function(t){this._lineCap="round"===t?"round":"butt"},u.prototype.getWidth=function(t,e){return this._widthFn?this._widthFn(t,e):this._width+(("number"==typeof this._width2?this._width2:this._width)-this._width)*e},u.prototype.setColor=function(t){try{this._color=Object(a.a)(t)}catch(e){this._color=[0,0,0,1]}},u.prototype.setColor2=function(t){try{this._color2=Object(a.a)(t)}catch(e){this._color2=null}},u.prototype.getColor=function(t,e){if(this._colorFn)return Object(a.b)(this._colorFn(t,e));var n=this._color,l=this._color2||this._color;return"rgba("+ +Math.round(n[0]+(l[0]-n[0])*e)+","+Math.round(n[1]+(l[1]-n[1])*e)+","+Math.round(n[2]+(l[2]-n[2])*e)+","+(n[3]+(l[3]-n[3])*e)+")"},u.prototype._render=function(t,e){if("LineString"===e.geometry.getType()){var n,l,i=e.context;if(!this._visible){var r=e.pixelRatio/e.resolution,o=e.geometry.getCoordinates(),a=t[0][0]-o[0][0]*r,s=t[0][1]+o[0][1]*r;for(t=[],n=0;l=o[n];n++)t[n]=[a+l[0]*r,s-l[1]*r]}var u=this._splitInto(t,255,2),c=0,d=u.length;i.save(),i.lineJoin="round",i.lineCap=this._lineCap||"butt",u.forEach((function(t){var r=c++/d;for(i.lineWidth=this.getWidth(e.feature,r)*e.pixelRatio,i.strokeStyle=this.getColor(e.feature,r),i.beginPath(),i.moveTo(t[0][0],t[0][1]),n=1;l=t[n];n++)i.lineTo(l[0],l[1]),i.stroke()}).bind(this)),i.restore()}},u.prototype._splitInto=function(t,e,n){var l,i,r,o=[],a=0;for(l=1;i=t[l];l++)a+=s(t[l-1],i);var u=Math.max(n||2,a/(e||255)),c=t[0];a=0;var d=[c];for(l=1,i=t[1];l<t.length;){var h=i[0]-c[0],p=i[1]-c[1];if(a+(r=Math.sqrt(h*h+p*p))>u){var f=(u-a)/r;d.push([c[0]+h*f,c[1]+p*f]),o.push(d),d=[c=[c[0]+h*f*.9,c[1]+p*f*.9]],a=0}else a+=r,d.push(c=i),i=t[++l]}return o.push(d),o};var c=u,d=n("JW8z");class h{static getWhite(){return{r:255,g:255,b:255}}static getRed(){return{r:255,g:0,b:0}}static getGreen(){return{r:0,g:255,b:0}}static getBlue(){return{r:255,g:0,b:255}}static getBlack(){return{r:0,g:0,b:0}}static getColourWheelScale(t,e,n,l=!0,i=!0){let r=null;if(void 0===t||isNaN(t))l&&(r=h.getWhite());else if(t<=e)r=h.getWhite();else if(t>=n)r=h.getRed();else{t-=e;let l=n-e+1,o=l/5;if(o){if(i)if(t<o)t*=2;else{let e=2*o;t=Math.round((t-o)/(l-o)*(l-e)+e)}let e,n,a,s=Math.floor(t/o),u=(t-s*o)/o;switch(s){case 0:a=0,n=255,e=h.fallingComponent(u);break;case 1:e=0,n=255,a=h.risingComponent(u);break;case 2:e=0,a=255,n=h.fallingComponent(u);break;case 3:n=0,a=255,e=h.risingComponent(u);break;case 4:n=0,e=255,a=h.fallingComponent(u)}r={r:e,g:n,b:a}}else r=h.getWhite()}return r}static risingComponent(t){return Math.floor(255*t)}static fallingComponent(t){return 255-Math.floor(255*t)}static colourToCssString(t){var e=null;if(t){var n=function(t){var e=t.toString(16);return 1===e.length?"0"+e:e};e="#"+n(t.r)+n(t.g)+n(t.b)}return e}}var p=n("wd/R");n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return b}));class f{constructor(t){this.longitude=t.longitude,this.latitude=t.latitude,this.altitude=t.altitude,this.updatedAt=p(t.updatedAt).valueOf()}}class b{constructor(t,e){this.positions=[],this.icao=t,e.forEach(t=>{t.longitude&&t.latitude&&t.altitude&&t.updatedAt&&this.positions.unshift(new f(t))})}getFeatures(){const t=[],e=this.getFlowlines(),n=[];for(let l=0;l<this.positions.length;l++){const t=[this.positions[l].longitude,this.positions[l].latitude],e=Object(d.d)(t);n.unshift(e)}for(let r=0;r<n.length-1;r++){const o=new l.a({geometry:new i.a([n[r],n[r+1]]),id_:"TRACE_"+this.icao+"_"+r});o.setStyle(e[r]),t.unshift(o)}return t}getFlowlines(){const t=this.getColours(),e=[];for(let n=0;n<t.length-1;n++)e.unshift(this.getFlowLine(t[n],t[n+1]));return e.unshift(this.getFlowLine(t[t.length-1],t[t.length-1])),e}getFlowLine(t,e){return new c({color:t,color2:e,width:4,width2:4,visible:!1})}getColoursFromAltitude(t){return h.colourToCssString(h.getColourWheelScale(t,100,5e4,!0,!0))}getColours(){const t=[];for(let e=0;e<this.positions.length;e++){const n=this.getColoursFromAltitude(this.positions[e].altitude||0);t.unshift(n)}return t}}},"2Dig":function(t,e){t.exports=function(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}},"2Q+G":function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return d})),n.d(e,"c",(function(){return h}));var l=n("8Y7J"),i=(n("gavF"),n("QQfA"),n("IP0z"),n("Xd0L")),r=(n("cUpR"),n("SVse")),o=n("/HVE"),a=(n("zMNK"),n("hOhj"),n("omvX")),s=(n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}}));function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var l=!0,i=t.component;return"keydown"===e&&(l=!1!==i._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.closed.emit("click")&&l),"@transformMenu.start"===e&&(l=!1!==i._onAnimationStart(n)&&l),"@transformMenu.done"===e&&(l=!1!==i._onAnimationDone(n)&&l),l}),null,null)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,r.l,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),l.Db(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),l.Ob(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function c(t){return l.Yb(2,[l.Ub(671088640,1,{templateRef:0}),(t()(),l.sb(0,[[1,2]],null,0,null,u))],null,null)}var d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(2,[l.Ob(null,0),(t()(),l.Db(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(2,212992,null,0,i.x,[l.p,l.G,o.a,[2,i.m],[2,a.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,l.Pb(e,2).unbounded)}))}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2UHX":function(t,e){t.exports="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},"2VmZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("BxA5"),i=(n("svHU"),n("qU9k"));class r{constructor(t,e,n){this.ref=t,this.mapService=e,this.landInteractionService=n,this.subscription={},this.displayLandEntities=[],this.displayDescription=!1}ngOnInit(){this.subscription.landEntityEvent=this.landInteractionService.getLandEntitiesEmitter().subscribe(t=>this.displayPopupLand(t)),this.popup=new l.a({element:this.landPopup.nativeElement}),this.mapService.getMap().addOverlay(this.popup)}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}displayPopupLand(t){let e;this.displayLandEntities=t.newLandEntities,this.displayDescription=!1,this.popup.autoPan=!1,this.popup.autoPanAnimation={},t.status!==i.b.UNSELECT&&t.position&&(e=this.mapService.getMap().getCoordinateFromPixel(t.position),t.status===i.b.SELECT&&(this.popup.autoPan=!0,this.popup.autoPanAnimation={duration:250},this.displayDescription=!0)),this.popup.setPosition(e),this.ref.detectChanges()}validURL(t){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}}},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("XNiG"),i=n("9ppp");class r extends l.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}next(t){super.next(this._value=t)}}},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));let l=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else l&&console.log("RxJS: Back to a better error behavior. Thank you. <3");l=t},get useDeprecatedSynchronousErrorHandling(){return l}}},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2lwS":function(t,e,n){"use strict";var l=function(){function t(){this.disposed_=!1}return t.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();e.a=l},"2pII":function(t,e,n){var l=n("akSB"),i=n("cpc2"),r=n("HjK1")("engine.io-client:socket"),o=n("7jRU"),a=n("Wm4p"),s=n("Uxeu"),u=n("TypT");function c(t,e){if(!(this instanceof c))return new c(t,e);e=e||{},t&&"object"==typeof t&&(e=t,t=null),t?(t=s(t),e.hostname=t.host,e.secure="https"===t.protocol||"wss"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=s(e.host).host),this.secure=null!=e.secure?e.secure:"undefined"!=typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=e.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},"string"==typeof this.query&&(this.query=u.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=!1!==e.withCredentials,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||void 0,this.key=e.key||void 0,this.passphrase=e.passphrase||void 0,this.cert=e.cert||void 0,this.ca=e.ca||void 0,this.ciphers=e.ciphers||void 0,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=c,c.priorWebsocketSuccess=!1,i(c.prototype),c.protocol=a.protocol,c.Socket=c,c.Transport=n("Gbct"),c.transports=n("akSB"),c.parser=n("Wm4p"),c.prototype.createTransport=function(t){r('creating transport "%s"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=a.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new l[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},c.prototype.open=function(){var t;if(this.rememberUpgrade&&c.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},c.prototype.setTransport=function(t){r("setting transport %s",t.name);var e=this;this.transport&&(r("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))},c.prototype.probe=function(t){r('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),n=!1,l=this;function i(){l.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&l.transport.supportsBinary),n||(r('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(i){if(!n)if("pong"===i.type&&"probe"===i.data){if(r('probe transport "%s" pong',t),l.upgrading=!0,l.emit("upgrading",e),!e)return;c.priorWebsocketSuccess="websocket"===e.name,r('pausing current transport "%s"',l.transport.name),l.transport.pause((function(){n||"closed"!==l.readyState&&(r("changing transport and sending upgrade packet"),h(),l.setTransport(e),e.send([{type:"upgrade"}]),l.emit("upgrade",e),e=null,l.upgrading=!1,l.flush())}))}else{r('probe transport "%s" failed',t);var o=new Error("probe error");o.transport=e.name,l.emit("upgradeError",o)}})))}function o(){n||(n=!0,h(),e.close(),e=null)}function a(n){var i=new Error("probe error: "+n);i.transport=e.name,o(),r('probe transport "%s" failed because of error: %s',t,n),l.emit("upgradeError",i)}function s(){a("transport closed")}function u(){a("socket closed")}function d(t){e&&t.name!==e.name&&(r('"%s" works - aborting "%s"',t.name,e.name),o())}function h(){e.removeListener("open",i),e.removeListener("error",a),e.removeListener("close",s),l.removeListener("close",u),l.removeListener("upgrading",d)}c.priorWebsocketSuccess=!1,e.once("open",i),e.once("error",a),e.once("close",s),this.once("close",u),this.once("upgrading",d),e.open()},c.prototype.onOpen=function(){if(r("socket open"),this.readyState="open",c.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){r("starting upgrade probes");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},c.prototype.onPacket=function(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(r('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emit("data",t.data),this.emit("message",t.data)}else r('packet received with socket readyState "%s"',this.readyState)},c.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},c.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout((function(){"closed"!==e.readyState&&e.onClose("ping timeout")}),t||e.pingInterval+e.pingTimeout)},c.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout((function(){r("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)}),t.pingInterval)},c.prototype.ping=function(){var t=this;this.sendPacket("ping",(function(){t.emit("ping")}))},c.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},c.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(r("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},c.prototype.write=c.prototype.send=function(t,e,n){return this.sendPacket("message",t,e,n),this},c.prototype.sendPacket=function(t,e,n,l){if("function"==typeof e&&(l=e,e=void 0),"function"==typeof n&&(l=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var i={type:t,data:e,options:n};this.emit("packetCreate",i),this.writeBuffer.push(i),l&&this.once("flush",l),this.flush()}},c.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var t=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?l():e()})):this.upgrading?l():e()}function e(){t.onClose("forced close"),r("socket closing - telling transport to close"),t.transport.close()}function n(){t.removeListener("upgrade",n),t.removeListener("upgradeError",n),e()}function l(){t.once("upgrade",n),t.once("upgradeError",n)}return this},c.prototype.onError=function(t){r("socket error %j",t),c.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},c.prototype.onClose=function(t,e){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(r('socket close with reason: "%s"',t),clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,e),this.writeBuffer=[],this.prevBufferLen=0)},c.prototype.filterUpgrades=function(t){for(var e=[],n=0,l=t.length;n<l;n++)~o(this.transports,t[n])&&e.push(t[n]);return e}},"2yFf":function(t,e,n){"use strict";var l,i=n("8Y7J"),r=n("MlvX"),o=n("Xd0L"),a=n("8rEH"),s=n("zQui"),u=n("bujt"),c=n("Fwaw"),d=n("5GAg"),h=n("omvX"),p=n("oBZk"),f=n("ZZ/e"),b=n("gavF"),m=n("QQfA"),g=n("IP0z"),_=n("2Q+G"),y=n("SVse"),A=n("dJrM"),v=n("HsOI"),C=n("/HVE"),w=n("s7LF"),P=n("ZwOa"),x=n("oapL"),S=n("Azqq"),k=n("JjoW"),M=n("hOhj"),O=n("Z5h4"),D=n("r0V8"),T=n("pIm3"),E=n("NvT6"),I=n("W5yJ"),L=n("s6ns"),j=n("b1+6"),R=n("OIZN"),F=n("xgIS"),N=n("lJxs"),Y=n("Kj3r"),U=n("/uUt"),B=n("vkgz"),z=new Uint8Array(16);function G(){if(!l&&!(l="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return l(z)}for(var H=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,V=function(t){return"string"==typeof t&&H.test(t)},q=[],W=0;W<256;++W)q.push((W+256).toString(16).substr(1));var $=function(t,e,n){var l=(t=t||{}).random||(t.rng||G)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=l[i];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(q[t[e+0]]+q[t[e+1]]+q[t[e+2]]+q[t[e+3]]+"-"+q[t[e+4]]+q[t[e+5]]+"-"+q[t[e+6]]+q[t[e+7]]+"-"+q[t[e+8]]+q[t[e+9]]+"-"+q[t[e+10]]+q[t[e+11]]+q[t[e+12]]+q[t[e+13]]+q[t[e+14]]+q[t[e+15]]).toLowerCase();if(!V(n))throw TypeError("Stringified UUID is invalid");return n}(l)},X=n("oeKZ");function K(t){let e={};return e.id=t.id,e.icao=t.icao,e.startAt=60*t.startAtHours+t.startAtMinutes,e.endAt=60*t.endAtHours+t.endAtMinutes,e.airforceReady=t.airforceReady,e.airforceSpeed=t.airforceSpeed,e.airforceDuration=t.airforceDuration,e.icaoTypeCode=t.icaoTypeCode,e}n("G0WM");var J=n("oQtH"),Q=n("qToJ"),Z=n("GXLG"),tt=n("dvZr");class et{constructor(t,e,n,l,i,r,o,s,u,c,d,h,p){this.stopPointService=t,this.engineService=e,this.squawkService=n,this.operatorService=l,this.vehicleService=i,this.feedService=r,this.plotService=o,this.iconService=s,this.bboxService=u,this.collectionService=c,this.settingService=d,this.snackBarService=h,this.keycloakService=p,this.isLoading=!0,this.allTables=J.a.config.TableDisplayColumn,this.tableName=Object.keys(this.allTables)[0],this.filterColumn=this.allTables[this.tableName].columnsFilter[0],this.hours=Array.from(Array(24),(t,e)=>e),this.minutes=Array.from(Array(60),(t,e)=>e),this.dataSource=new a.l,this.idEntityEdit="",this.separatorKeysCodes=[tt.g,tt.c,tt.o],this.pager={pageSize:25,pageIndex:0,lenght:0},this.pngInBase64=null}ngOnInit(){this.iconService.getManyBaseIconControllerIcon().subscribe(t=>{this.iconSelect=t.data}),this.keycloakService.client().resourceAccess["sepia.angular"].roles.indexOf("admin")<0&&delete this.allTables.feed,this.getEntities()}ngOnDestroy(){this.allTables={},this.tableName="",this.filterColumn="",this.dataSource.data=[],this.idEntityEdit=""}ngAfterViewInit(){Object(F.a)(this.filter.nativeElement,"keyup").pipe(Object(Y.a)(300),Object(U.a)(),Object(B.a)(t=>{this.getEntities()})).subscribe()}changeTable(t){J.a.config.TableDisplayColumn[this.tableName]&&(this.filterColumn=this.allTables[this.tableName].columnsFilter[0],this.getEntities())}changeFilterColumn(t){this.allTables[this.tableName].columnsFilter.indexOf(this.filterColumn)>=0&&this.getEntities()}changePage(t){this.pager.pageIndex=t.pageIndex,this.getEntities()}getEntities(){this.isLoading=!0;const t={page:this.pager.pageIndex+1,limit:this.pager.pageSize};(this.filter.nativeElement.value||""!==this.filter.nativeElement.value)&&(t.filter=[this.filterColumn+"||cont||"+this.filter.nativeElement.value]),this.dataSource.data=[],"engine"===this.tableName?this.getEngines(t):"operator"===this.tableName?this.getOperators(t):"squawk"===this.tableName?this.getSquawk(t):"stop_point"===this.tableName?this.getStopPoint(t):"vehicle"===this.tableName?this.getVehicle(t):"feed"===this.tableName?this.getFeed(t):"plot"===this.tableName?this.getPlot(t):"bbox"===this.tableName?this.getBbox(t):"collection"===this.tableName?this.getCollection(t):"icon"===this.tableName&&this.getIcon(t)}afterGetEntities(t){this.isLoading=!1,this.pager.lenght=t.total,this.dataSource.data=t.data}addRowEntity(){const t=Object.assign({},J.a.config.EmptyEntity[this.tableName]);this.dataSource.data=[t,...this.dataSource.data]}removeRowEntity(t){this.dataSource.data.splice(t,1),this.dataSource.data=this.dataSource.data}addEntity(t){t.id=$(),this.clearEntity(t),"engine"===this.tableName?this.addEngine(t):"operator"===this.tableName?this.addOperator(t):"squawk"===this.tableName?this.addSquawk(t):"stop_point"===this.tableName?this.addStopPoint(t):"vehicle"===this.tableName?this.addVehicle(t):"feed"===this.tableName?this.addFeed(t):"plot"===this.tableName?this.addPlot(t):"bbox"===this.tableName?this.addBbox(t):"icon"===this.tableName&&this.addIcon(t)}afterAddEntity(){this.getEntities()}afterAddEntityError(t,e){t.id=void 0}editEntity(t){this.clearEntity(t),"engine"===this.tableName?this.editEngine(t):"operator"===this.tableName?this.editOperator(t):"squawk"===this.tableName?this.editSquawk(t):"stop_point"===this.tableName?this.editStopPoint(t):"vehicle"===this.tableName?this.editVehicle(t):"feed"===this.tableName?this.editFeed(t):"plot"===this.tableName?this.editPlot(t):"bbox"===this.tableName?this.editBbox(t):"collection"===this.tableName?this.editCollection(t):"icon"===this.tableName&&this.editIcon(t)}afterEditEntity(t,e){this.idEntityEdit=""}closeEditEntity(){this.idEntityEdit="",this.getEntities()}deleteEntity(t){"engine"===this.tableName?this.deleteEngine(t):"operator"===this.tableName?this.deleteOperator(t):"squawk"===this.tableName?this.deleteSquawk(t):"stop_point"===this.tableName?this.deleteStopPoint(t):"vehicle"===this.tableName?this.deleteVehicle(t):"feed"===this.tableName?this.deleteFeed(t):"plot"===this.tableName?this.deletePlot(t):"bbox"===this.tableName?this.deleteBbox(t):"collection"===this.tableName?this.deleteCollection(t):"icon"===this.tableName&&this.deleteIcon(t)}clearEntity(t){for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&""===t[e]&&(t[e]=null)}getEngines(t){this.engineService.getManyBaseEngineControllerEngine(t).subscribe(t=>this.afterGetEntities(t))}addEngine(t){this.engineService.createOneBaseEngineControllerEngine({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editEngine(t){this.engineService.updateOneBaseEngineControllerEngine({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteEngine(t){this.engineService.deleteOneBaseEngineControllerEngine({id:t.id}).subscribe(t=>this.getEntities())}getOperators(t){this.operatorService.getManyBaseOperatorControllerOperator(t).subscribe(t=>this.afterGetEntities(t))}addOperator(t){this.operatorService.createOneBaseOperatorControllerOperator({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editOperator(t){this.operatorService.updateOneBaseOperatorControllerOperator({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteOperator(t){this.operatorService.deleteOneBaseOperatorControllerOperator({id:t.id}).subscribe(t=>this.getEntities())}getSquawk(t){this.squawkService.getManyBaseSquawkControllerSquawk(t).subscribe(t=>this.afterGetEntities(t))}addSquawk(t){this.squawkService.createOneBaseSquawkControllerSquawk({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editSquawk(t){this.squawkService.updateOneBaseSquawkControllerSquawk({id:String(t.id),body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteSquawk(t){this.squawkService.deleteOneBaseSquawkControllerSquawk({id:String(t.id)}).subscribe(t=>this.getEntities())}getStopPoint(t){this.stopPointService.getManyBaseStopPointControllerStopPoint(t).subscribe(t=>this.afterGetEntities(t))}addStopPoint(t){this.stopPointService.createOneBaseStopPointControllerStopPoint({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editStopPoint(t){this.stopPointService.updateOneBaseStopPointControllerStopPoint({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteStopPoint(t){this.stopPointService.deleteOneBaseStopPointControllerStopPoint({id:t.id}).subscribe(t=>this.getEntities())}getVehicle(t){this.vehicleService.getManyBaseVehicleControllerVehicle(t).subscribe(t=>{this.deleteNullTag(t.data,"tags"),this.afterGetEntities(t)})}deleteNullTag(t,e){return t.forEach(t=>{t[e]=t[e]?t[e].filter(t=>null!==t):[]}),t}addVehicle(t){this.vehicleService.createOneBaseVehicleControllerVehicle({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editVehicle(t){this.vehicleService.updateOneBaseVehicleControllerVehicle({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteVehicle(t){this.vehicleService.deleteOneBaseVehicleControllerVehicle({id:t.id}).subscribe(t=>this.getEntities())}getFeed(t){this.feedService.getManyBaseFeedControllerFeed(t).subscribe(t=>{t.data=t.data.map(t=>{let e=t;return e.settingsString=JSON.stringify(e.settings,null,2),e.type_feed=e.type,e}),this.afterGetEntities(t)})}addFeed(t){try{t.settings=JSON.parse(t.settingsString),t.type=t.type_feed}catch(e){return void this.afterAddEntityError(t,e.message)}this.feedService.createOneBaseFeedControllerFeed({body:t}).subscribe(t=>{this.settingService.loadSettings(),this.afterAddEntity()},e=>t.id=void 0)}editFeed(t){try{t.settings=JSON.parse(t.settingsString),t.type=t.type_feed}catch(e){return void this.snackBarService.openSnackBar(e.message)}this.feedService.updateOneBaseFeedControllerFeed({id:t.id,body:t}).subscribe(e=>{this.settingService.loadSettings(),this.afterEditEntity(t,e)})}deleteFeed(t){this.feedService.deleteOneBaseFeedControllerFeed({id:t.id}).subscribe(t=>{this.settingService.loadSettings(),this.getEntities()})}getPlot(t){this.plotService.getManyBasePlotControllerPlot(t).subscribe(t=>{t.data=t.data.map(t=>function(t){let e={};return e.id=t.id,e.icao=t.icao,e.startAtHours=Number(Math.floor(t.startAt/60)),e.startAtMinutes=t.startAt%60,e.endAtHours=Number(Math.floor(t.endAt/60)),e.endAtMinutes=t.endAt%60,e.airforceReady=t.airforceReady,e.airforceSpeed=t.airforceSpeed,e.airforceDuration=t.airforceDuration,e.icaoTypeCode=t.icaoTypeCode,e}(t)),this.afterGetEntities(t)})}addPlot(t){const e=K(t);this.plotService.createOneBasePlotControllerPlot({body:e}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editPlot(t){const e=K(t);this.plotService.updateOneBasePlotControllerPlot({id:e.id,body:e}).subscribe(e=>this.afterEditEntity(t,e))}deletePlot(t){this.plotService.deleteOneBasePlotControllerPlot({id:t.id}).subscribe(t=>this.getEntities())}addUserTag(t,e){if(e){const n=t.input,l=t.value;(l||"").trim()&&e.push(l.trim()),n&&(n.value="")}}removeUserTag(t,e){if(e){const n=e.indexOf(t);n>=0&&e.splice(n,1)}}getBbox(t){this.bboxService.getManyBaseBboxControllerBbox(t).subscribe(t=>this.afterGetEntities(t))}addBbox(t){this.bboxService.createOneBaseBboxControllerBbox({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editBbox(t){this.bboxService.updateOneBaseBboxControllerBbox({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteBbox(t){this.bboxService.deleteOneBaseBboxControllerBbox({id:t.id}).subscribe(t=>this.getEntities())}getCollection(t){this.collectionService.getManyBaseCollectionControllerCollection(t).subscribe(t=>{t.data=t.data.map(t=>{let e=t;return e.styleString=JSON.stringify(e.style,null,2),e.mappingString=JSON.stringify(e.mapping,null,2),e.propertiesString=JSON.stringify(e.properties,null,2),e}),this.afterGetEntities(t)})}editCollection(t){console.log("edit collection:",t);try{t.style=JSON.parse(t.styleString),t.mapping=JSON.parse(t.mappingString),t.properties=JSON.parse(t.propertiesString)}catch(e){return void this.snackBarService.openSnackBar(e.message)}this.collectionService.updateOneBaseCollectionControllerCollection({id:t.id,body:t}).subscribe(e=>(console.log("edited collection:",e),this.afterEditEntity(t,e)))}deleteCollection(t){this.collectionService.deleteOneBaseCollectionControllerCollection({id:t.id}).subscribe(t=>this.getEntities())}getIcon(t){this.iconService.getManyBaseIconControllerIcon(t).subscribe(t=>(this.iconSelect=t.data,this.afterGetEntities(t)))}addIcon(t){this.pngInBase64&&(t.bufferInBase64=this.pngInBase64),this.iconService.createOneBaseIconControllerIcon({body:t}).subscribe(e=>(this.iconSelect.push(t),this.afterAddEntity()),e=>t.id=void 0)}editIcon(t){this.pngInBase64&&(t.bufferInBase64=this.pngInBase64),this.iconService.updateOneBaseIconControllerIcon({id:t.id,body:t}).subscribe(e=>(this.iconSelect=this.iconSelect.map(e=>e.name===t.name?t:e),this.afterEditEntity(t,e)))}deleteIcon(t){this.iconService.deleteOneBaseIconControllerIcon({id:t.id}).subscribe(e=>(this.iconSelect=this.iconSelect.filter(e=>e.name===t.name?null:e),this.getEntities()))}onUploadImage(t){if(t.target.files.length>0){const e=new FileReader;let n=t.target.files.item(0);this.imageToBase64(e,n).subscribe(t=>{this.pngInBase64=t.split(",")[1]})}else this.pngInBase64=null}imageToBase64(t,e){return t.readAsDataURL(e),Object(F.a)(t,"load").pipe(function(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>Object(N.a)(function(t,e){return n=>{let l=n;for(let i=0;i<e;i++){const e=null!=l?l[t[i]]:void 0;if(void 0===e)return;l=e}return l}}(t,e))(n)}("currentTarget","result"))}}var nt=n("rLOe"),lt=n("EFbT"),it=n("AjEG"),rt=n("UN5i"),ot=n("3y7P"),at=n("5p+q"),st=n("sUFW"),ut=n("b2zq"),ct=n("Qykp"),dt=n("X0qu"),ht=i.Bb({encapsulation:0,styles:[[".mat-dialog-content{margin:0;padding:0}#edition-db-interaction[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between;align-items:center}table[_ngcontent-%COMP%]{width:100%;border-spacing:0}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}td[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%], th[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%]{display:flex} #content-database-dialog .mat-form-field{width:120px} #content-database-dialog .mat-form-field-appearance-outline .mat-form-field-wrapper{padding:0}.png-field[_ngcontent-%COMP%]{width:280px!important}"]],data:{}});function pt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[11,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.key)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.value.name)}))}function ft(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[32,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function bt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,5,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Db(2,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.addRowEntity()&&l),l}),u.b,u.a)),i.Cb(3,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),(t()(),i.Db(4,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,p.y,p.g)),i.Cb(5,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null)],(function(t,e){t(e,5,0,"add")}),(function(t,e){t(e,2,0,i.Pb(e,3).disabled||null,"NoopAnimations"===i.Pb(e,3)._animationMode)}))}function mt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,22,"div",[],null,null,null,null,null)),(t()(),i.Db(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var l=!0;return"mousedown"===e&&(l=!1!==i.Pb(t,3)._handleMousedown(n)&&l),"keydown"===e&&(l=!1!==i.Pb(t,3)._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.Pb(t,3)._handleClick(n)&&l),l}),u.b,u.a)),i.Cb(2,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),i.Cb(3,1196032,null,0,b.g,[m.c,i.p,i.Y,b.c,[2,b.d],[8,null],[2,g.b],d.h],{menu:[0,"menu"]},null),(t()(),i.Db(4,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,p.y,p.g)),i.Cb(5,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(6,0,null,null,16,"mat-menu",[],null,null,null,_.d,_.b)),i.Cb(7,1294336,[["createMenu",4]],3,b.h,[i.p,i.G,b.a],null,null),i.Ub(603979776,42,{_allItems:1}),i.Ub(603979776,43,{items:1}),i.Ub(603979776,44,{lazyContent:0}),i.Tb(2048,null,b.d,null,[b.h]),i.Tb(2048,null,b.b,null,[b.d]),(t()(),i.Db(13,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,14)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,14)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.addEntity(t.parent.context.$implicit)&&l),l}),_.c,_.a)),i.Cb(14,180224,[[42,4],[43,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(15,0,null,0,1,"ion-icon",[["name","checkmark"]],null,null,null,p.y,p.g)),i.Cb(16,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Save "])),(t()(),i.Db(18,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,19)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,19)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.removeRowEntity(t.parent.context.index)&&l),l}),_.c,_.a)),i.Cb(19,180224,[[42,4],[43,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(20,0,null,0,1,"ion-icon",[["name","close"]],null,null,null,p.y,p.g)),i.Cb(21,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,3,0,i.Pb(e,7)),t(e,5,0,"more"),t(e,7,0),t(e,16,0,"checkmark"),t(e,21,0,"close")}),(function(t,e){t(e,1,0,i.Pb(e,2).disabled||null,"NoopAnimations"===i.Pb(e,2)._animationMode,i.Pb(e,3).menuOpen||null),t(e,13,0,i.Pb(e,14).role,i.Pb(e,14)._highlighted,i.Pb(e,14)._triggersSubmenu,i.Pb(e,14)._getTabIndex(),i.Pb(e,14).disabled.toString(),i.Pb(e,14).disabled||null),t(e,18,0,i.Pb(e,19).role,i.Pb(e,19)._highlighted,i.Pb(e,19)._triggersSubmenu,i.Pb(e,19)._getTabIndex(),i.Pb(e,19).disabled.toString(),i.Pb(e,19).disabled||null)}))}function gt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,22,"div",[],null,null,null,null,null)),(t()(),i.Db(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var l=!0;return"mousedown"===e&&(l=!1!==i.Pb(t,3)._handleMousedown(n)&&l),"keydown"===e&&(l=!1!==i.Pb(t,3)._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.Pb(t,3)._handleClick(n)&&l),l}),u.b,u.a)),i.Cb(2,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),i.Cb(3,1196032,null,0,b.g,[m.c,i.p,i.Y,b.c,[2,b.d],[8,null],[2,g.b],d.h],{menu:[0,"menu"]},null),(t()(),i.Db(4,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,p.y,p.g)),i.Cb(5,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(6,0,null,null,16,"mat-menu",[],null,null,null,_.d,_.b)),i.Cb(7,1294336,[["editMenu",4]],3,b.h,[i.p,i.G,b.a],null,null),i.Ub(603979776,45,{_allItems:1}),i.Ub(603979776,46,{items:1}),i.Ub(603979776,47,{lazyContent:0}),i.Tb(2048,null,b.d,null,[b.h]),i.Tb(2048,null,b.b,null,[b.d]),(t()(),i.Db(13,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,14)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,14)._handleMouseEnter()&&l),"click"===e&&(l=!1!==(r.idEntityEdit=t.parent.parent.context.$implicit.id)&&l),l}),_.c,_.a)),i.Cb(14,180224,[[45,4],[46,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(15,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,p.y,p.g)),i.Cb(16,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Edit "])),(t()(),i.Db(18,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,19)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,19)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteEntity(t.parent.parent.context.$implicit)&&l),l}),_.c,_.a)),i.Cb(19,180224,[[45,4],[46,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(20,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,p.y,p.g)),i.Cb(21,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,3,0,i.Pb(e,7)),t(e,5,0,"more"),t(e,7,0),t(e,16,0,"create"),t(e,21,0,"trash")}),(function(t,e){t(e,1,0,i.Pb(e,2).disabled||null,"NoopAnimations"===i.Pb(e,2)._animationMode,i.Pb(e,3).menuOpen||null),t(e,13,0,i.Pb(e,14).role,i.Pb(e,14)._highlighted,i.Pb(e,14)._triggersSubmenu,i.Pb(e,14)._getTabIndex(),i.Pb(e,14).disabled.toString(),i.Pb(e,14).disabled||null),t(e,18,0,i.Pb(e,19).role,i.Pb(e,19)._highlighted,i.Pb(e,19)._triggersSubmenu,i.Pb(e,19)._getTabIndex(),i.Pb(e,19).disabled.toString(),i.Pb(e,19).disabled||null)}))}function _t(t){return i.Yb(0,[(t()(),i.Db(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var l=!0;return"mousedown"===e&&(l=!1!==i.Pb(t,2)._handleMousedown(n)&&l),"keydown"===e&&(l=!1!==i.Pb(t,2)._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.Pb(t,2)._handleClick(n)&&l),l}),u.b,u.a)),i.Cb(1,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),i.Cb(2,1196032,null,0,b.g,[m.c,i.p,i.Y,b.c,[2,b.d],[8,null],[2,g.b],d.h],{menu:[0,"menu"]},null),(t()(),i.Db(3,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,p.y,p.g)),i.Cb(4,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(5,0,null,null,16,"mat-menu",[],null,null,null,_.d,_.b)),i.Cb(6,1294336,[["afterEditMenu",4]],3,b.h,[i.p,i.G,b.a],null,null),i.Ub(603979776,48,{_allItems:1}),i.Ub(603979776,49,{items:1}),i.Ub(603979776,50,{lazyContent:0}),i.Tb(2048,null,b.d,null,[b.h]),i.Tb(2048,null,b.b,null,[b.d]),(t()(),i.Db(12,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,13)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,13)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.editEntity(t.parent.parent.context.$implicit)&&l),l}),_.c,_.a)),i.Cb(13,180224,[[48,4],[49,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(14,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,p.y,p.g)),i.Cb(15,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Save "])),(t()(),i.Db(17,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,18)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,18)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.closeEditEntity()&&l),l}),_.c,_.a)),i.Cb(18,180224,[[48,4],[49,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(19,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,p.y,p.g)),i.Cb(20,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Return "]))],(function(t,e){t(e,2,0,i.Pb(e,6)),t(e,4,0,"more"),t(e,6,0),t(e,15,0,"create"),t(e,20,0,"trash")}),(function(t,e){t(e,0,0,i.Pb(e,1).disabled||null,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,2).menuOpen||null),t(e,12,0,i.Pb(e,13).role,i.Pb(e,13)._highlighted,i.Pb(e,13)._triggersSubmenu,i.Pb(e,13)._getTabIndex(),i.Pb(e,13).disabled.toString(),i.Pb(e,13).disabled||null),t(e,17,0,i.Pb(e,18).role,i.Pb(e,18)._highlighted,i.Pb(e,18)._triggersSubmenu,i.Pb(e,18)._getTabIndex(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).disabled||null)}))}function yt(t){return i.Yb(0,[(t()(),i.sb(16777216,null,null,1,null,gt)),i.Cb(1,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["afterEditBlock",2]],null,0,null,_t))],(function(t,e){t(e,1,0,e.component.idEntityEdit!=e.parent.context.$implicit.id,i.Pb(e,2))}),null)}function At(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,mt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editBlock",2]],null,0,null,yt))],(function(t,e){t(e,3,0,!e.context.$implicit.id,i.Pb(e,4))}),null)}function vt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" icao "]))],null,null)}function Ct(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icao)}))}function wt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,54,{_controlNonStatic:0}),i.Ub(335544320,55,{_controlStatic:0}),i.Ub(603979776,56,{_labelChildNonStatic:0}),i.Ub(335544320,57,{_labelChildStatic:0}),i.Ub(603979776,58,{_placeholderChild:0}),i.Ub(603979776,59,{_errorChildren:1}),i.Ub(603979776,60,{_hintChildren:1}),i.Ub(603979776,61,{_prefixChildren:1}),i.Ub(603979776,62,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Icao"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icao=n)&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icao=n.toUpperCase())&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[54,4],[55,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.icao),t(e,17,0,"Icao","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Pt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ct)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,wt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function xt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Name "]))],null,null)}function St(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.name)}))}function kt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,66,{_controlNonStatic:0}),i.Ub(335544320,67,{_controlStatic:0}),i.Ub(603979776,68,{_labelChildNonStatic:0}),i.Ub(335544320,69,{_labelChildStatic:0}),i.Ub(603979776,70,{_placeholderChild:0}),i.Ub(603979776,71,{_errorChildren:1}),i.Ub(603979776,72,{_hintChildren:1}),i.Ub(603979776,73,{_prefixChildren:1}),i.Ub(603979776,74,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.name=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[66,4],[67,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.name),t(e,17,0,"Name","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Mt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,St)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,kt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ot(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Iata "]))],null,null)}function Dt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.iata)}))}function Tt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,78,{_controlNonStatic:0}),i.Ub(335544320,79,{_controlStatic:0}),i.Ub(603979776,80,{_labelChildNonStatic:0}),i.Ub(335544320,81,{_labelChildStatic:0}),i.Ub(603979776,82,{_placeholderChild:0}),i.Ub(603979776,83,{_errorChildren:1}),i.Ub(603979776,84,{_hintChildren:1}),i.Ub(603979776,85,{_prefixChildren:1}),i.Ub(603979776,86,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Iata"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.iata=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[78,4],[79,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.iata),t(e,17,0,"Iata","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Et(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Dt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Tt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function It(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Wake turbulence "]))],null,null)}function Lt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.wakeTurbulence)}))}function jt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,35,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,90,{_controlNonStatic:0}),i.Ub(335544320,91,{_controlStatic:0}),i.Ub(603979776,92,{_labelChildNonStatic:0}),i.Ub(335544320,93,{_labelChildStatic:0}),i.Ub(603979776,94,{_placeholderChild:0}),i.Ub(603979776,95,{_errorChildren:1}),i.Ub(603979776,96,{_hintChildren:1}),i.Ub(603979776,97,{_prefixChildren:1}),i.Ub(603979776,98,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[92,4],[93,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Wake turbulence"])),(t()(),i.Db(14,0,null,1,21,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.wakeTurbulence=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,99,{options:1}),i.Ub(603979776,100,{optionGroups:1}),i.Ub(603979776,101,{customTrigger:0}),i.Tb(2048,[[90,4],[91,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","none"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["None"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","light"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["light"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","medium"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["medium"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","heavy"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["heavy"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.wakeTurbulence),t(e,18,0),t(e,25,0,"none"),t(e,28,0,"light"),t(e,31,0,"medium"),t(e,34,0,"heavy")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled)}))}function Rt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Lt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,jt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ft(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,["Icon "]))],null,null)}function Nt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.iconName)}))}function Yt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[114,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit.name)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function Ut(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,105,{_controlNonStatic:0}),i.Ub(335544320,106,{_controlStatic:0}),i.Ub(603979776,107,{_labelChildNonStatic:0}),i.Ub(335544320,108,{_labelChildStatic:0}),i.Ub(603979776,109,{_placeholderChild:0}),i.Ub(603979776,110,{_errorChildren:1}),i.Ub(603979776,111,{_hintChildren:1}),i.Ub(603979776,112,{_prefixChildren:1}),i.Ub(603979776,113,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[107,4],[108,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Icon"])),(t()(),i.Db(14,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,19)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,19)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,19)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.iconName=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(16,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(18,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(19,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,114,{options:1}),i.Ub(603979776,115,{optionGroups:1}),i.Ub(603979776,116,{customTrigger:0}),i.Tb(2048,[[105,4],[106,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Yt)),i.Cb(25,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"outline"),t(e,16,0,e.parent.context.$implicit.iconName),t(e,19,0),t(e,25,0,n.iconSelect)}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,18).ngClassUntouched,i.Pb(e,18).ngClassTouched,i.Pb(e,18).ngClassPristine,i.Pb(e,18).ngClassDirty,i.Pb(e,18).ngClassValid,i.Pb(e,18).ngClassInvalid,i.Pb(e,18).ngClassPending,i.Pb(e,19).id,i.Pb(e,19).tabIndex,i.Pb(e,19)._getAriaLabel(),i.Pb(e,19)._getAriaLabelledby(),i.Pb(e,19).required.toString(),i.Pb(e,19).disabled.toString(),i.Pb(e,19).errorState,i.Pb(e,19).panelOpen?i.Pb(e,19)._optionIds:null,i.Pb(e,19).multiple,i.Pb(e,19)._ariaDescribedby||null,i.Pb(e,19)._getAriaActiveDescendant(),i.Pb(e,19).disabled,i.Pb(e,19).errorState,i.Pb(e,19).required,i.Pb(e,19).empty])}))}function Bt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Nt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ut))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function zt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Species "]))],null,null)}function Gt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.species)}))}function Ht(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,44,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,120,{_controlNonStatic:0}),i.Ub(335544320,121,{_controlStatic:0}),i.Ub(603979776,122,{_labelChildNonStatic:0}),i.Ub(335544320,123,{_labelChildStatic:0}),i.Ub(603979776,124,{_placeholderChild:0}),i.Ub(603979776,125,{_errorChildren:1}),i.Ub(603979776,126,{_hintChildren:1}),i.Ub(603979776,127,{_prefixChildren:1}),i.Ub(603979776,128,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[122,4],[123,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Species"])),(t()(),i.Db(14,0,null,1,30,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.species=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,129,{options:1}),i.Ub(603979776,130,{optionGroups:1}),i.Ub(603979776,131,{customTrigger:0}),i.Tb(2048,[[120,4],[121,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","none"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["None"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","landplane"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["landplane"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","seaplane"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["seaplane"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","amphibian"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["amphibian"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","helicopter"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["helicopter"])),(t()(),i.Db(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","gyrocopter"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,40)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,40)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(40,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["gyrocopter"])),(t()(),i.Db(42,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","tilt-wing"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,43)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,43)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(43,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["tilt-wing"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.species),t(e,18,0),t(e,25,0,"none"),t(e,28,0,"landplane"),t(e,31,0,"seaplane"),t(e,34,0,"amphibian"),t(e,37,0,"helicopter"),t(e,40,0,"gyrocopter"),t(e,43,0,"tilt-wing")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled),t(e,39,0,i.Pb(e,40)._getTabIndex(),i.Pb(e,40).selected,i.Pb(e,40).multiple,i.Pb(e,40).active,i.Pb(e,40).id,i.Pb(e,40)._getAriaSelected(),i.Pb(e,40).disabled.toString(),i.Pb(e,40).disabled),t(e,42,0,i.Pb(e,43)._getTabIndex(),i.Pb(e,43).selected,i.Pb(e,43).multiple,i.Pb(e,43).active,i.Pb(e,43).id,i.Pb(e,43)._getAriaSelected(),i.Pb(e,43).disabled.toString(),i.Pb(e,43).disabled)}))}function Vt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Gt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ht))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function qt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Engine type "]))],null,null)}function Wt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.engineType)}))}function $t(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,41,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,135,{_controlNonStatic:0}),i.Ub(335544320,136,{_controlStatic:0}),i.Ub(603979776,137,{_labelChildNonStatic:0}),i.Ub(335544320,138,{_labelChildStatic:0}),i.Ub(603979776,139,{_placeholderChild:0}),i.Ub(603979776,140,{_errorChildren:1}),i.Ub(603979776,141,{_hintChildren:1}),i.Ub(603979776,142,{_prefixChildren:1}),i.Ub(603979776,143,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[137,4],[138,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Engine type"])),(t()(),i.Db(14,0,null,1,27,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.engineType=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,144,{options:1}),i.Ub(603979776,145,{optionGroups:1}),i.Ub(603979776,146,{customTrigger:0}),i.Tb(2048,[[135,4],[136,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","none"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["None"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","piston"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["piston"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","turboprop"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["turboprop"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","jet"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["jet"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","electric"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["electric"])),(t()(),i.Db(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rocket"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,40)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,40)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(40,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["rocket"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.engineType),t(e,18,0),t(e,25,0,"none"),t(e,28,0,"piston"),t(e,31,0,"turboprop"),t(e,34,0,"jet"),t(e,37,0,"electric"),t(e,40,0,"rocket")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled),t(e,39,0,i.Pb(e,40)._getTabIndex(),i.Pb(e,40).selected,i.Pb(e,40).multiple,i.Pb(e,40).active,i.Pb(e,40).id,i.Pb(e,40)._getAriaSelected(),i.Pb(e,40).disabled.toString(),i.Pb(e,40).disabled)}))}function Xt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Wt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,$t))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Kt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Engine placement "]))],null,null)}function Jt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.enginePlacement)}))}function Qt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,41,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,150,{_controlNonStatic:0}),i.Ub(335544320,151,{_controlStatic:0}),i.Ub(603979776,152,{_labelChildNonStatic:0}),i.Ub(335544320,153,{_labelChildStatic:0}),i.Ub(603979776,154,{_placeholderChild:0}),i.Ub(603979776,155,{_errorChildren:1}),i.Ub(603979776,156,{_hintChildren:1}),i.Ub(603979776,157,{_prefixChildren:1}),i.Ub(603979776,158,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[152,4],[153,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Engine placement"])),(t()(),i.Db(14,0,null,1,27,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.enginePlacement=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,159,{options:1}),i.Ub(603979776,160,{optionGroups:1}),i.Ub(603979776,161,{customTrigger:0}),i.Tb(2048,[[150,4],[151,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","unknown"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["unknown"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","alf-mounted"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["alf-mounted"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","wing-buried"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["wing-buried"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fuselage-buried"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["fuselage-buried"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","nose-mounted"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["nose-mounted"])),(t()(),i.Db(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","wing-mounted"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,40)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,40)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(40,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["wing-mounted"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.enginePlacement),t(e,18,0),t(e,25,0,"unknown"),t(e,28,0,"alf-mounted"),t(e,31,0,"wing-buried"),t(e,34,0,"fuselage-buried"),t(e,37,0,"nose-mounted"),t(e,40,0,"wing-mounted")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled),t(e,39,0,i.Pb(e,40)._getTabIndex(),i.Pb(e,40).selected,i.Pb(e,40).multiple,i.Pb(e,40).active,i.Pb(e,40).id,i.Pb(e,40)._getAriaSelected(),i.Pb(e,40).disabled.toString(),i.Pb(e,40).disabled)}))}function Zt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Jt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Qt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function te(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Engine "]))],null,null)}function ee(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.engine)}))}function ne(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,165,{_controlNonStatic:0}),i.Ub(335544320,166,{_controlStatic:0}),i.Ub(603979776,167,{_labelChildNonStatic:0}),i.Ub(335544320,168,{_labelChildStatic:0}),i.Ub(603979776,169,{_placeholderChild:0}),i.Ub(603979776,170,{_errorChildren:1}),i.Ub(603979776,171,{_hintChildren:1}),i.Ub(603979776,172,{_prefixChildren:1}),i.Ub(603979776,173,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Engine"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.engine=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[165,4],[166,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.engine),t(e,18,0,"Engine","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function le(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ee)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ne))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ie(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Squawk "]))],null,null)}function re(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.squawk)}))}function oe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,177,{_controlNonStatic:0}),i.Ub(335544320,178,{_controlStatic:0}),i.Ub(603979776,179,{_labelChildNonStatic:0}),i.Ub(335544320,180,{_labelChildStatic:0}),i.Ub(603979776,181,{_placeholderChild:0}),i.Ub(603979776,182,{_errorChildren:1}),i.Ub(603979776,183,{_hintChildren:1}),i.Ub(603979776,184,{_prefixChildren:1}),i.Ub(603979776,185,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Squawk"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.squawk=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[177,4],[178,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.squawk),t(e,17,0,"Squawk","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ae(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,re)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,oe))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function se(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Military "]))],null,null)}function ue(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.military)}))}function ce(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.military=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Is military"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.military)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function de(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ue)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ce))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function he(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Mlat "]))],null,null)}function pe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mlat)}))}function fe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.mlat=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Is mlat"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.mlat)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function be(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,pe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,fe))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function me(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Legend "]))],null,null)}function ge(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.legend)}))}function _e(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,195,{_controlNonStatic:0}),i.Ub(335544320,196,{_controlStatic:0}),i.Ub(603979776,197,{_labelChildNonStatic:0}),i.Ub(335544320,198,{_labelChildStatic:0}),i.Ub(603979776,199,{_placeholderChild:0}),i.Ub(603979776,200,{_errorChildren:1}),i.Ub(603979776,201,{_hintChildren:1}),i.Ub(603979776,202,{_prefixChildren:1}),i.Ub(603979776,203,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Legend"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.legend=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[195,4],[196,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.legend),t(e,17,0,"Legend","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ye(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ge)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,_e))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ae(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Location "]))],null,null)}function ve(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.location)}))}function Ce(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,207,{_controlNonStatic:0}),i.Ub(335544320,208,{_controlStatic:0}),i.Ub(603979776,209,{_labelChildNonStatic:0}),i.Ub(335544320,210,{_labelChildStatic:0}),i.Ub(603979776,211,{_placeholderChild:0}),i.Ub(603979776,212,{_errorChildren:1}),i.Ub(603979776,213,{_hintChildren:1}),i.Ub(603979776,214,{_prefixChildren:1}),i.Ub(603979776,215,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Location"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.location=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[207,4],[208,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.location),t(e,17,0,"Location","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function we(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ve)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ce))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Pe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Altitude "]))],null,null)}function xe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.altitude)}))}function Se(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,219,{_controlNonStatic:0}),i.Ub(335544320,220,{_controlStatic:0}),i.Ub(603979776,221,{_labelChildNonStatic:0}),i.Ub(335544320,222,{_labelChildStatic:0}),i.Ub(603979776,223,{_placeholderChild:0}),i.Ub(603979776,224,{_errorChildren:1}),i.Ub(603979776,225,{_hintChildren:1}),i.Ub(603979776,226,{_prefixChildren:1}),i.Ub(603979776,227,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Altitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.altitude=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[219,4],[220,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.altitude),t(e,18,0,"Altitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function ke(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,xe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Se))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Me(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Plot "]))],null,null)}function Oe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.isPlot)}))}function De(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.isPlot=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Plot"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.isPlot)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function Te(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Oe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,De))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ee(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Mode s "]))],null,null)}function Ie(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.modeS)}))}function Le(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,234,{_controlNonStatic:0}),i.Ub(335544320,235,{_controlStatic:0}),i.Ub(603979776,236,{_labelChildNonStatic:0}),i.Ub(335544320,237,{_labelChildStatic:0}),i.Ub(603979776,238,{_placeholderChild:0}),i.Ub(603979776,239,{_errorChildren:1}),i.Ub(603979776,240,{_hintChildren:1}),i.Ub(603979776,241,{_prefixChildren:1}),i.Ub(603979776,242,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Mode s"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.modeS=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[234,4],[235,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.modeS),t(e,17,0,"Mode s","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function je(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ie)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Le))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Re(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" mode s country "]))],null,null)}function Fe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.modeSCountry)}))}function Ne(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,246,{_controlNonStatic:0}),i.Ub(335544320,247,{_controlStatic:0}),i.Ub(603979776,248,{_labelChildNonStatic:0}),i.Ub(335544320,249,{_labelChildStatic:0}),i.Ub(603979776,250,{_placeholderChild:0}),i.Ub(603979776,251,{_errorChildren:1}),i.Ub(603979776,252,{_hintChildren:1}),i.Ub(603979776,253,{_prefixChildren:1}),i.Ub(603979776,254,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Mode s country"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.modeSCountry=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[246,4],[247,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.modeSCountry),t(e,17,0,"Mode s country","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ye(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Fe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ne))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ue(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Country "]))],null,null)}function Be(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.country)}))}function ze(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,258,{_controlNonStatic:0}),i.Ub(335544320,259,{_controlStatic:0}),i.Ub(603979776,260,{_labelChildNonStatic:0}),i.Ub(335544320,261,{_labelChildStatic:0}),i.Ub(603979776,262,{_placeholderChild:0}),i.Ub(603979776,263,{_errorChildren:1}),i.Ub(603979776,264,{_hintChildren:1}),i.Ub(603979776,265,{_prefixChildren:1}),i.Ub(603979776,266,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Country"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.country=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[258,4],[259,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.country),t(e,17,0,"Country","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ge(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Be)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ze))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function He(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Registration "]))],null,null)}function Ve(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function qe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,270,{_controlNonStatic:0}),i.Ub(335544320,271,{_controlStatic:0}),i.Ub(603979776,272,{_labelChildNonStatic:0}),i.Ub(335544320,273,{_labelChildStatic:0}),i.Ub(603979776,274,{_placeholderChild:0}),i.Ub(603979776,275,{_errorChildren:1}),i.Ub(603979776,276,{_hintChildren:1}),i.Ub(603979776,277,{_prefixChildren:1}),i.Ub(603979776,278,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Registration"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.registration=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[270,4],[271,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.registration),t(e,17,0,"Registration","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function We(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ve)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,qe))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function $e(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Country code "]))],null,null)}function Xe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.countryCodeIso3)}))}function Ke(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,282,{_controlNonStatic:0}),i.Ub(335544320,283,{_controlStatic:0}),i.Ub(603979776,284,{_labelChildNonStatic:0}),i.Ub(335544320,285,{_labelChildStatic:0}),i.Ub(603979776,286,{_placeholderChild:0}),i.Ub(603979776,287,{_errorChildren:1}),i.Ub(603979776,288,{_hintChildren:1}),i.Ub(603979776,289,{_prefixChildren:1}),i.Ub(603979776,290,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Country code"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.countryCodeIso3=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[282,4],[283,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.countryCodeIso3),t(e,17,0,"Country code","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Je(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Xe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ke))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Qe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Manufacturer "]))],null,null)}function Ze(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.manufacturer)}))}function tn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,294,{_controlNonStatic:0}),i.Ub(335544320,295,{_controlStatic:0}),i.Ub(603979776,296,{_labelChildNonStatic:0}),i.Ub(335544320,297,{_labelChildStatic:0}),i.Ub(603979776,298,{_placeholderChild:0}),i.Ub(603979776,299,{_errorChildren:1}),i.Ub(603979776,300,{_hintChildren:1}),i.Ub(603979776,301,{_prefixChildren:1}),i.Ub(603979776,302,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Manufacturer"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.manufacturer=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[294,4],[295,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.manufacturer),t(e,17,0,"Manufacturer","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function en(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ze)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,tn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function nn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Icao type code "]))],null,null)}function ln(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icaoTypeCode)}))}function rn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,306,{_controlNonStatic:0}),i.Ub(335544320,307,{_controlStatic:0}),i.Ub(603979776,308,{_labelChildNonStatic:0}),i.Ub(335544320,309,{_labelChildStatic:0}),i.Ub(603979776,310,{_placeholderChild:0}),i.Ub(603979776,311,{_errorChildren:1}),i.Ub(603979776,312,{_hintChildren:1}),i.Ub(603979776,313,{_prefixChildren:1}),i.Ub(603979776,314,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Icao type code"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icaoTypeCode=n)&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icaoTypeCode=n.toUpperCase())&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[306,4],[307,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.icaoTypeCode),t(e,17,0,"Icao type code","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function on(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ln)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,rn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function an(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Type "]))],null,null)}function sn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.type)}))}function un(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,318,{_controlNonStatic:0}),i.Ub(335544320,319,{_controlStatic:0}),i.Ub(603979776,320,{_labelChildNonStatic:0}),i.Ub(335544320,321,{_labelChildStatic:0}),i.Ub(603979776,322,{_placeholderChild:0}),i.Ub(603979776,323,{_errorChildren:1}),i.Ub(603979776,324,{_hintChildren:1}),i.Ub(603979776,325,{_prefixChildren:1}),i.Ub(603979776,326,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Type"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.type=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[318,4],[319,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.type),t(e,17,0,"Type","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function cn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,sn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,un))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function dn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Serial no "]))],null,null)}function hn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.serialNo)}))}function pn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,330,{_controlNonStatic:0}),i.Ub(335544320,331,{_controlStatic:0}),i.Ub(603979776,332,{_labelChildNonStatic:0}),i.Ub(335544320,333,{_labelChildStatic:0}),i.Ub(603979776,334,{_placeholderChild:0}),i.Ub(603979776,335,{_errorChildren:1}),i.Ub(603979776,336,{_hintChildren:1}),i.Ub(603979776,337,{_prefixChildren:1}),i.Ub(603979776,338,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Serial no"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.serialNo=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[330,4],[331,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.serialNo),t(e,17,0,"Serial no","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function fn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,hn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,pn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function bn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Registered owners "]))],null,null)}function mn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registeredOwners)}))}function gn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,342,{_controlNonStatic:0}),i.Ub(335544320,343,{_controlStatic:0}),i.Ub(603979776,344,{_labelChildNonStatic:0}),i.Ub(335544320,345,{_labelChildStatic:0}),i.Ub(603979776,346,{_placeholderChild:0}),i.Ub(603979776,347,{_errorChildren:1}),i.Ub(603979776,348,{_hintChildren:1}),i.Ub(603979776,349,{_prefixChildren:1}),i.Ub(603979776,350,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Registered owners"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.registeredOwners=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[342,4],[343,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.registeredOwners),t(e,17,0,"Registered owners","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function _n(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,mn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,gn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function yn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Operator Code "]))],null,null)}function An(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.operatorIcao)}))}function vn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,354,{_controlNonStatic:0}),i.Ub(335544320,355,{_controlStatic:0}),i.Ub(603979776,356,{_labelChildNonStatic:0}),i.Ub(335544320,357,{_labelChildStatic:0}),i.Ub(603979776,358,{_placeholderChild:0}),i.Ub(603979776,359,{_errorChildren:1}),i.Ub(603979776,360,{_hintChildren:1}),i.Ub(603979776,361,{_prefixChildren:1}),i.Ub(603979776,362,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Operator Code"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.operatorIcao=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[354,4],[355,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.operatorIcao),t(e,17,0,"Operator Code","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Cn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,An)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,vn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function wn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Tags "]))],null,null)}function Pn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.userTags)}))}function xn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,366,{_controlNonStatic:0}),i.Ub(335544320,367,{_controlStatic:0}),i.Ub(603979776,368,{_labelChildNonStatic:0}),i.Ub(335544320,369,{_labelChildStatic:0}),i.Ub(603979776,370,{_placeholderChild:0}),i.Ub(603979776,371,{_errorChildren:1}),i.Ub(603979776,372,{_hintChildren:1}),i.Ub(603979776,373,{_prefixChildren:1}),i.Ub(603979776,374,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Tags"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.userTags=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[366,4],[367,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.userTags),t(e,17,0,"Tags","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Sn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Pn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,xn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function kn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Host "]))],null,null)}function Mn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.host)}))}function On(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,378,{_controlNonStatic:0}),i.Ub(335544320,379,{_controlStatic:0}),i.Ub(603979776,380,{_labelChildNonStatic:0}),i.Ub(335544320,381,{_labelChildStatic:0}),i.Ub(603979776,382,{_placeholderChild:0}),i.Ub(603979776,383,{_errorChildren:1}),i.Ub(603979776,384,{_hintChildren:1}),i.Ub(603979776,385,{_prefixChildren:1}),i.Ub(603979776,386,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Host"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.host=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[378,4],[379,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.host),t(e,17,0,"Host","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Dn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Mn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,On))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Tn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Port "]))],null,null)}function En(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.port)}))}function In(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,390,{_controlNonStatic:0}),i.Ub(335544320,391,{_controlStatic:0}),i.Ub(603979776,392,{_labelChildNonStatic:0}),i.Ub(335544320,393,{_labelChildStatic:0}),i.Ub(603979776,394,{_placeholderChild:0}),i.Ub(603979776,395,{_errorChildren:1}),i.Ub(603979776,396,{_hintChildren:1}),i.Ub(603979776,397,{_prefixChildren:1}),i.Ub(603979776,398,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Port"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.port=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[390,4],[391,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.port),t(e,17,0,"Port","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ln(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,En)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,In))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function jn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Type "]))],null,null)}function Rn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.type_feed)}))}function Fn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,38,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,402,{_controlNonStatic:0}),i.Ub(335544320,403,{_controlStatic:0}),i.Ub(603979776,404,{_labelChildNonStatic:0}),i.Ub(335544320,405,{_labelChildStatic:0}),i.Ub(603979776,406,{_placeholderChild:0}),i.Ub(603979776,407,{_errorChildren:1}),i.Ub(603979776,408,{_hintChildren:1}),i.Ub(603979776,409,{_prefixChildren:1}),i.Ub(603979776,410,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[404,4],[405,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Type Feed"])),(t()(),i.Db(14,0,null,1,24,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.type_feed=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,411,{options:1}),i.Ub(603979776,412,{optionGroups:1}),i.Ub(603979776,413,{customTrigger:0}),i.Tb(2048,[[402,4],[403,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","SBS"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["SBS"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","VRS-JSON"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["VRS-JSON"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","FR24"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["FR24"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","TAR1090"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["TAR1090"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","GHOST"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["GHOST"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.type_feed),t(e,18,0),t(e,25,0,"SBS"),t(e,28,0,"VRS-JSON"),t(e,31,0,"FR24"),t(e,34,0,"TAR1090"),t(e,37,0,"GHOST")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled)}))}function Nn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Rn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Fn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Yn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Longitude "]))],null,null)}function Un(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.longitude)}))}function Bn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,417,{_controlNonStatic:0}),i.Ub(335544320,418,{_controlStatic:0}),i.Ub(603979776,419,{_labelChildNonStatic:0}),i.Ub(335544320,420,{_labelChildStatic:0}),i.Ub(603979776,421,{_placeholderChild:0}),i.Ub(603979776,422,{_errorChildren:1}),i.Ub(603979776,423,{_hintChildren:1}),i.Ub(603979776,424,{_prefixChildren:1}),i.Ub(603979776,425,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Longitude"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.longitude=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[417,4],[418,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.longitude),t(e,17,0,"Longitude","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function zn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Un)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Bn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Gn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Latitude "]))],null,null)}function Hn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.latitude)}))}function Vn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,429,{_controlNonStatic:0}),i.Ub(335544320,430,{_controlStatic:0}),i.Ub(603979776,431,{_labelChildNonStatic:0}),i.Ub(335544320,432,{_labelChildStatic:0}),i.Ub(603979776,433,{_placeholderChild:0}),i.Ub(603979776,434,{_errorChildren:1}),i.Ub(603979776,435,{_hintChildren:1}),i.Ub(603979776,436,{_prefixChildren:1}),i.Ub(603979776,437,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Latitude"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.latitude=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[429,4],[430,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.latitude),t(e,17,0,"Latitude","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function qn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Hn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Vn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Wn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Settings "]))],null,null)}function $n(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.settingsString)}))}function Xn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,441,{_controlNonStatic:0}),i.Ub(335544320,442,{_controlStatic:0}),i.Ub(603979776,443,{_labelChildNonStatic:0}),i.Ub(335544320,444,{_labelChildStatic:0}),i.Ub(603979776,445,{_placeholderChild:0}),i.Ub(603979776,446,{_errorChildren:1}),i.Ub(603979776,447,{_hintChildren:1}),i.Ub(603979776,448,{_prefixChildren:1}),i.Ub(603979776,449,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Settings"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.settingsString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[441,4],[442,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.settingsString),t(e,17,0,"Settings","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Kn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,$n)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Xn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Jn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Start at "]))],null,null)}function Qn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" ","h"," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.startAtHours,e.parent.context.$implicit.startAtMinutes)}))}function Zn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[462,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function tl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[474,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function el(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,52,"div",[["class","edit-cell-clock"]],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(2,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,453,{_controlNonStatic:0}),i.Ub(335544320,454,{_controlStatic:0}),i.Ub(603979776,455,{_labelChildNonStatic:0}),i.Ub(335544320,456,{_labelChildStatic:0}),i.Ub(603979776,457,{_placeholderChild:0}),i.Ub(603979776,458,{_errorChildren:1}),i.Ub(603979776,459,{_hintChildren:1}),i.Ub(603979776,460,{_prefixChildren:1}),i.Ub(603979776,461,{_suffixChildren:1}),(t()(),i.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(13,16384,[[455,4],[456,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Hours"])),(t()(),i.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,20)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,20)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,20)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.startAtHours=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(17,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(19,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(20,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,462,{options:1}),i.Ub(603979776,463,{optionGroups:1}),i.Ub(603979776,464,{customTrigger:0}),i.Tb(2048,[[453,4],[454,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Zn)),i.Cb(26,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(27,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(28,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,465,{_controlNonStatic:0}),i.Ub(335544320,466,{_controlStatic:0}),i.Ub(603979776,467,{_labelChildNonStatic:0}),i.Ub(335544320,468,{_labelChildStatic:0}),i.Ub(603979776,469,{_placeholderChild:0}),i.Ub(603979776,470,{_errorChildren:1}),i.Ub(603979776,471,{_hintChildren:1}),i.Ub(603979776,472,{_prefixChildren:1}),i.Ub(603979776,473,{_suffixChildren:1}),(t()(),i.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(39,16384,[[467,4],[468,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Minutes"])),(t()(),i.Db(41,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,46)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,46)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,46)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.startAtMinutes=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(43,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(45,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(46,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,474,{options:1}),i.Ub(603979776,475,{optionGroups:1}),i.Ub(603979776,476,{customTrigger:0}),i.Tb(2048,[[465,4],[466,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,tl)),i.Cb(52,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,e.parent.context.$implicit.startAtHours),t(e,20,0),t(e,26,0,n.hours),t(e,28,0,"outline"),t(e,43,0,e.parent.context.$implicit.startAtMinutes),t(e,46,0),t(e,52,0,n.minutes)}),(function(t,e){t(e,1,1,["standard"==i.Pb(e,2).appearance,"fill"==i.Pb(e,2).appearance,"outline"==i.Pb(e,2).appearance,"legacy"==i.Pb(e,2).appearance,i.Pb(e,2)._control.errorState,i.Pb(e,2)._canLabelFloat,i.Pb(e,2)._shouldLabelFloat(),i.Pb(e,2)._hasFloatingLabel(),i.Pb(e,2)._hideControlPlaceholder(),i.Pb(e,2)._control.disabled,i.Pb(e,2)._control.autofilled,i.Pb(e,2)._control.focused,"accent"==i.Pb(e,2).color,"warn"==i.Pb(e,2).color,i.Pb(e,2)._shouldForward("untouched"),i.Pb(e,2)._shouldForward("touched"),i.Pb(e,2)._shouldForward("pristine"),i.Pb(e,2)._shouldForward("dirty"),i.Pb(e,2)._shouldForward("valid"),i.Pb(e,2)._shouldForward("invalid"),i.Pb(e,2)._shouldForward("pending"),!i.Pb(e,2)._animationsEnabled]),t(e,15,1,[i.Pb(e,19).ngClassUntouched,i.Pb(e,19).ngClassTouched,i.Pb(e,19).ngClassPristine,i.Pb(e,19).ngClassDirty,i.Pb(e,19).ngClassValid,i.Pb(e,19).ngClassInvalid,i.Pb(e,19).ngClassPending,i.Pb(e,20).id,i.Pb(e,20).tabIndex,i.Pb(e,20)._getAriaLabel(),i.Pb(e,20)._getAriaLabelledby(),i.Pb(e,20).required.toString(),i.Pb(e,20).disabled.toString(),i.Pb(e,20).errorState,i.Pb(e,20).panelOpen?i.Pb(e,20)._optionIds:null,i.Pb(e,20).multiple,i.Pb(e,20)._ariaDescribedby||null,i.Pb(e,20)._getAriaActiveDescendant(),i.Pb(e,20).disabled,i.Pb(e,20).errorState,i.Pb(e,20).required,i.Pb(e,20).empty]),t(e,27,1,["standard"==i.Pb(e,28).appearance,"fill"==i.Pb(e,28).appearance,"outline"==i.Pb(e,28).appearance,"legacy"==i.Pb(e,28).appearance,i.Pb(e,28)._control.errorState,i.Pb(e,28)._canLabelFloat,i.Pb(e,28)._shouldLabelFloat(),i.Pb(e,28)._hasFloatingLabel(),i.Pb(e,28)._hideControlPlaceholder(),i.Pb(e,28)._control.disabled,i.Pb(e,28)._control.autofilled,i.Pb(e,28)._control.focused,"accent"==i.Pb(e,28).color,"warn"==i.Pb(e,28).color,i.Pb(e,28)._shouldForward("untouched"),i.Pb(e,28)._shouldForward("touched"),i.Pb(e,28)._shouldForward("pristine"),i.Pb(e,28)._shouldForward("dirty"),i.Pb(e,28)._shouldForward("valid"),i.Pb(e,28)._shouldForward("invalid"),i.Pb(e,28)._shouldForward("pending"),!i.Pb(e,28)._animationsEnabled]),t(e,41,1,[i.Pb(e,45).ngClassUntouched,i.Pb(e,45).ngClassTouched,i.Pb(e,45).ngClassPristine,i.Pb(e,45).ngClassDirty,i.Pb(e,45).ngClassValid,i.Pb(e,45).ngClassInvalid,i.Pb(e,45).ngClassPending,i.Pb(e,46).id,i.Pb(e,46).tabIndex,i.Pb(e,46)._getAriaLabel(),i.Pb(e,46)._getAriaLabelledby(),i.Pb(e,46).required.toString(),i.Pb(e,46).disabled.toString(),i.Pb(e,46).errorState,i.Pb(e,46).panelOpen?i.Pb(e,46)._optionIds:null,i.Pb(e,46).multiple,i.Pb(e,46)._ariaDescribedby||null,i.Pb(e,46)._getAriaActiveDescendant(),i.Pb(e,46).disabled,i.Pb(e,46).errorState,i.Pb(e,46).required,i.Pb(e,46).empty])}))}function nl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Qn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,el))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ll(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" End at "]))],null,null)}function il(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" ","h"," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.endAtHours,e.parent.context.$implicit.endAtMinutes)}))}function rl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[489,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function ol(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[501,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function al(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,52,"div",[["class","edit-cell-clock"]],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(2,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,480,{_controlNonStatic:0}),i.Ub(335544320,481,{_controlStatic:0}),i.Ub(603979776,482,{_labelChildNonStatic:0}),i.Ub(335544320,483,{_labelChildStatic:0}),i.Ub(603979776,484,{_placeholderChild:0}),i.Ub(603979776,485,{_errorChildren:1}),i.Ub(603979776,486,{_hintChildren:1}),i.Ub(603979776,487,{_prefixChildren:1}),i.Ub(603979776,488,{_suffixChildren:1}),(t()(),i.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(13,16384,[[482,4],[483,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Hours"])),(t()(),i.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,20)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,20)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,20)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.endAtHours=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(17,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(19,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(20,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,489,{options:1}),i.Ub(603979776,490,{optionGroups:1}),i.Ub(603979776,491,{customTrigger:0}),i.Tb(2048,[[480,4],[481,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,rl)),i.Cb(26,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(27,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(28,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,492,{_controlNonStatic:0}),i.Ub(335544320,493,{_controlStatic:0}),i.Ub(603979776,494,{_labelChildNonStatic:0}),i.Ub(335544320,495,{_labelChildStatic:0}),i.Ub(603979776,496,{_placeholderChild:0}),i.Ub(603979776,497,{_errorChildren:1}),i.Ub(603979776,498,{_hintChildren:1}),i.Ub(603979776,499,{_prefixChildren:1}),i.Ub(603979776,500,{_suffixChildren:1}),(t()(),i.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(39,16384,[[494,4],[495,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Minutes"])),(t()(),i.Db(41,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,46)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,46)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,46)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.endAtMinutes=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(43,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(45,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(46,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,501,{options:1}),i.Ub(603979776,502,{optionGroups:1}),i.Ub(603979776,503,{customTrigger:0}),i.Tb(2048,[[492,4],[493,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,ol)),i.Cb(52,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,e.parent.context.$implicit.endAtHours),t(e,20,0),t(e,26,0,n.hours),t(e,28,0,"outline"),t(e,43,0,e.parent.context.$implicit.endAtMinutes),t(e,46,0),t(e,52,0,n.minutes)}),(function(t,e){t(e,1,1,["standard"==i.Pb(e,2).appearance,"fill"==i.Pb(e,2).appearance,"outline"==i.Pb(e,2).appearance,"legacy"==i.Pb(e,2).appearance,i.Pb(e,2)._control.errorState,i.Pb(e,2)._canLabelFloat,i.Pb(e,2)._shouldLabelFloat(),i.Pb(e,2)._hasFloatingLabel(),i.Pb(e,2)._hideControlPlaceholder(),i.Pb(e,2)._control.disabled,i.Pb(e,2)._control.autofilled,i.Pb(e,2)._control.focused,"accent"==i.Pb(e,2).color,"warn"==i.Pb(e,2).color,i.Pb(e,2)._shouldForward("untouched"),i.Pb(e,2)._shouldForward("touched"),i.Pb(e,2)._shouldForward("pristine"),i.Pb(e,2)._shouldForward("dirty"),i.Pb(e,2)._shouldForward("valid"),i.Pb(e,2)._shouldForward("invalid"),i.Pb(e,2)._shouldForward("pending"),!i.Pb(e,2)._animationsEnabled]),t(e,15,1,[i.Pb(e,19).ngClassUntouched,i.Pb(e,19).ngClassTouched,i.Pb(e,19).ngClassPristine,i.Pb(e,19).ngClassDirty,i.Pb(e,19).ngClassValid,i.Pb(e,19).ngClassInvalid,i.Pb(e,19).ngClassPending,i.Pb(e,20).id,i.Pb(e,20).tabIndex,i.Pb(e,20)._getAriaLabel(),i.Pb(e,20)._getAriaLabelledby(),i.Pb(e,20).required.toString(),i.Pb(e,20).disabled.toString(),i.Pb(e,20).errorState,i.Pb(e,20).panelOpen?i.Pb(e,20)._optionIds:null,i.Pb(e,20).multiple,i.Pb(e,20)._ariaDescribedby||null,i.Pb(e,20)._getAriaActiveDescendant(),i.Pb(e,20).disabled,i.Pb(e,20).errorState,i.Pb(e,20).required,i.Pb(e,20).empty]),t(e,27,1,["standard"==i.Pb(e,28).appearance,"fill"==i.Pb(e,28).appearance,"outline"==i.Pb(e,28).appearance,"legacy"==i.Pb(e,28).appearance,i.Pb(e,28)._control.errorState,i.Pb(e,28)._canLabelFloat,i.Pb(e,28)._shouldLabelFloat(),i.Pb(e,28)._hasFloatingLabel(),i.Pb(e,28)._hideControlPlaceholder(),i.Pb(e,28)._control.disabled,i.Pb(e,28)._control.autofilled,i.Pb(e,28)._control.focused,"accent"==i.Pb(e,28).color,"warn"==i.Pb(e,28).color,i.Pb(e,28)._shouldForward("untouched"),i.Pb(e,28)._shouldForward("touched"),i.Pb(e,28)._shouldForward("pristine"),i.Pb(e,28)._shouldForward("dirty"),i.Pb(e,28)._shouldForward("valid"),i.Pb(e,28)._shouldForward("invalid"),i.Pb(e,28)._shouldForward("pending"),!i.Pb(e,28)._animationsEnabled]),t(e,41,1,[i.Pb(e,45).ngClassUntouched,i.Pb(e,45).ngClassTouched,i.Pb(e,45).ngClassPristine,i.Pb(e,45).ngClassDirty,i.Pb(e,45).ngClassValid,i.Pb(e,45).ngClassInvalid,i.Pb(e,45).ngClassPending,i.Pb(e,46).id,i.Pb(e,46).tabIndex,i.Pb(e,46)._getAriaLabel(),i.Pb(e,46)._getAriaLabelledby(),i.Pb(e,46).required.toString(),i.Pb(e,46).disabled.toString(),i.Pb(e,46).errorState,i.Pb(e,46).panelOpen?i.Pb(e,46)._optionIds:null,i.Pb(e,46).multiple,i.Pb(e,46)._ariaDescribedby||null,i.Pb(e,46)._getAriaActiveDescendant(),i.Pb(e,46).disabled,i.Pb(e,46).errorState,i.Pb(e,46).required,i.Pb(e,46).empty])}))}function sl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,il)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,al))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ul(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Airforce ready (min) "]))],null,null)}function cl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.airforceReady)}))}function dl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,507,{_controlNonStatic:0}),i.Ub(335544320,508,{_controlStatic:0}),i.Ub(603979776,509,{_labelChildNonStatic:0}),i.Ub(335544320,510,{_labelChildStatic:0}),i.Ub(603979776,511,{_placeholderChild:0}),i.Ub(603979776,512,{_errorChildren:1}),i.Ub(603979776,513,{_hintChildren:1}),i.Ub(603979776,514,{_prefixChildren:1}),i.Ub(603979776,515,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airforce ready"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.airforceReady=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[507,4],[508,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.airforceReady),t(e,18,0,"Airforce ready","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function hl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,cl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,dl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function pl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Airforce speed "]))],null,null)}function fl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.airforceSpeed)}))}function bl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,519,{_controlNonStatic:0}),i.Ub(335544320,520,{_controlStatic:0}),i.Ub(603979776,521,{_labelChildNonStatic:0}),i.Ub(335544320,522,{_labelChildStatic:0}),i.Ub(603979776,523,{_placeholderChild:0}),i.Ub(603979776,524,{_errorChildren:1}),i.Ub(603979776,525,{_hintChildren:1}),i.Ub(603979776,526,{_prefixChildren:1}),i.Ub(603979776,527,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airforce speed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.airforceSpeed=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[519,4],[520,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.airforceSpeed),t(e,18,0,"Airforce speed","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function ml(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,fl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,bl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function gl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Airforce duration (min) "]))],null,null)}function _l(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.airforceDuration)}))}function yl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,531,{_controlNonStatic:0}),i.Ub(335544320,532,{_controlStatic:0}),i.Ub(603979776,533,{_labelChildNonStatic:0}),i.Ub(335544320,534,{_labelChildStatic:0}),i.Ub(603979776,535,{_placeholderChild:0}),i.Ub(603979776,536,{_errorChildren:1}),i.Ub(603979776,537,{_hintChildren:1}),i.Ub(603979776,538,{_prefixChildren:1}),i.Ub(603979776,539,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airforce duration"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.airforceDuration=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[531,4],[532,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.airforceDuration),t(e,18,0,"Airforce duration","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Al(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,_l)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,yl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function vl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Min Latitude "]))],null,null)}function Cl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.minLat)}))}function wl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,543,{_controlNonStatic:0}),i.Ub(335544320,544,{_controlStatic:0}),i.Ub(603979776,545,{_labelChildNonStatic:0}),i.Ub(335544320,546,{_labelChildStatic:0}),i.Ub(603979776,547,{_placeholderChild:0}),i.Ub(603979776,548,{_errorChildren:1}),i.Ub(603979776,549,{_hintChildren:1}),i.Ub(603979776,550,{_prefixChildren:1}),i.Ub(603979776,551,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","85.05112878"],["min","-85.05112878"],["placeholder","Min Latitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.minLat=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[543,4],[544,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.minLat),t(e,18,0,"Min Latitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Pl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Cl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,wl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function xl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Max Latitude "]))],null,null)}function Sl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.maxLat)}))}function kl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,555,{_controlNonStatic:0}),i.Ub(335544320,556,{_controlStatic:0}),i.Ub(603979776,557,{_labelChildNonStatic:0}),i.Ub(335544320,558,{_labelChildStatic:0}),i.Ub(603979776,559,{_placeholderChild:0}),i.Ub(603979776,560,{_errorChildren:1}),i.Ub(603979776,561,{_hintChildren:1}),i.Ub(603979776,562,{_prefixChildren:1}),i.Ub(603979776,563,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","85.05112878"],["min","-85.05112878"],["placeholder","Max Latitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.maxLat=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[555,4],[556,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.maxLat),t(e,18,0,"Max Latitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Ml(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Sl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,kl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ol(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Min Longitude "]))],null,null)}function Dl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.minLon)}))}function Tl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,567,{_controlNonStatic:0}),i.Ub(335544320,568,{_controlStatic:0}),i.Ub(603979776,569,{_labelChildNonStatic:0}),i.Ub(335544320,570,{_labelChildStatic:0}),i.Ub(603979776,571,{_placeholderChild:0}),i.Ub(603979776,572,{_errorChildren:1}),i.Ub(603979776,573,{_hintChildren:1}),i.Ub(603979776,574,{_prefixChildren:1}),i.Ub(603979776,575,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","180"],["min","-180"],["placeholder","Min Longitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.minLon=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[567,4],[568,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.minLon),t(e,18,0,"Min Longitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function El(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Dl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Tl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Il(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Max Longitude "]))],null,null)}function Ll(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.maxLon)}))}function jl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,579,{_controlNonStatic:0}),i.Ub(335544320,580,{_controlStatic:0}),i.Ub(603979776,581,{_labelChildNonStatic:0}),i.Ub(335544320,582,{_labelChildStatic:0}),i.Ub(603979776,583,{_placeholderChild:0}),i.Ub(603979776,584,{_errorChildren:1}),i.Ub(603979776,585,{_hintChildren:1}),i.Ub(603979776,586,{_prefixChildren:1}),i.Ub(603979776,587,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","180"],["min","-180"],["placeholder","Max Longitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.maxLon=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[579,4],[580,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.maxLon),t(e,18,0,"Max Longitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Rl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ll)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,jl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Fl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Group "]))],null,null)}function Nl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.layerGroup)}))}function Yl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,591,{_controlNonStatic:0}),i.Ub(335544320,592,{_controlStatic:0}),i.Ub(603979776,593,{_labelChildNonStatic:0}),i.Ub(335544320,594,{_labelChildStatic:0}),i.Ub(603979776,595,{_placeholderChild:0}),i.Ub(603979776,596,{_errorChildren:1}),i.Ub(603979776,597,{_hintChildren:1}),i.Ub(603979776,598,{_prefixChildren:1}),i.Ub(603979776,599,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name of layer group"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.layerGroup=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[591,4],[592,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.layerGroup),t(e,17,0,"Name of layer group","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ul(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Nl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Yl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Bl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Type "]))],null,null)}function zl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.type)}))}function Gl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,29,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,603,{_controlNonStatic:0}),i.Ub(335544320,604,{_controlStatic:0}),i.Ub(603979776,605,{_labelChildNonStatic:0}),i.Ub(335544320,606,{_labelChildStatic:0}),i.Ub(603979776,607,{_placeholderChild:0}),i.Ub(603979776,608,{_errorChildren:1}),i.Ub(603979776,609,{_hintChildren:1}),i.Ub(603979776,610,{_prefixChildren:1}),i.Ub(603979776,611,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[605,4],[606,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Type Feed"])),(t()(),i.Db(14,0,null,1,15,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.type=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,612,{options:1}),i.Ub(603979776,613,{optionGroups:1}),i.Ub(603979776,614,{customTrigger:0}),i.Tb(2048,[[603,4],[604,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","GL"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[612,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["GL"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","RASTER"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[612,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["RASTER"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.type),t(e,18,0),t(e,25,0,"GL"),t(e,28,0,"RASTER")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled)}))}function Hl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,zl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Gl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Vl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" PIV "]))],null,null)}function ql(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.piv)}))}function Wl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.piv=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["PIV"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.piv)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function $l(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ql)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Wl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Xl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Tippecanoe "]))],null,null)}function Kl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.tippecanoe)}))}function Jl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,621,{_controlNonStatic:0}),i.Ub(335544320,622,{_controlStatic:0}),i.Ub(603979776,623,{_labelChildNonStatic:0}),i.Ub(335544320,624,{_labelChildStatic:0}),i.Ub(603979776,625,{_placeholderChild:0}),i.Ub(603979776,626,{_errorChildren:1}),i.Ub(603979776,627,{_hintChildren:1}),i.Ub(603979776,628,{_prefixChildren:1}),i.Ub(603979776,629,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Override commandline of Tippecanoe"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.tippecanoe=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[621,4],[622,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.tippecanoe),t(e,17,0,"Override commandline of Tippecanoe","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ql(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Kl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Jl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Zl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Style "]))],null,null)}function ti(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.styleString)}))}function ei(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,633,{_controlNonStatic:0}),i.Ub(335544320,634,{_controlStatic:0}),i.Ub(603979776,635,{_labelChildNonStatic:0}),i.Ub(335544320,636,{_labelChildStatic:0}),i.Ub(603979776,637,{_placeholderChild:0}),i.Ub(603979776,638,{_errorChildren:1}),i.Ub(603979776,639,{_hintChildren:1}),i.Ub(603979776,640,{_prefixChildren:1}),i.Ub(603979776,641,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","JSON parameters of GL Style"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.styleString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[633,4],[634,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.styleString),t(e,17,0,"JSON parameters of GL Style","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ni(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ti)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ei))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function li(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Mapping "]))],null,null)}function ii(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mappingString)}))}function ri(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,645,{_controlNonStatic:0}),i.Ub(335544320,646,{_controlStatic:0}),i.Ub(603979776,647,{_labelChildNonStatic:0}),i.Ub(335544320,648,{_labelChildStatic:0}),i.Ub(603979776,649,{_placeholderChild:0}),i.Ub(603979776,650,{_errorChildren:1}),i.Ub(603979776,651,{_hintChildren:1}),i.Ub(603979776,652,{_prefixChildren:1}),i.Ub(603979776,653,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","JSON parameters of Mapping"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.mappingString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[645,4],[646,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.mappingString),t(e,17,0,"JSON parameters of Mapping","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function oi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ii)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ri))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ai(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Properties "]))],null,null)}function si(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.propertiesString)}))}function ui(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,657,{_controlNonStatic:0}),i.Ub(335544320,658,{_controlStatic:0}),i.Ub(603979776,659,{_labelChildNonStatic:0}),i.Ub(335544320,660,{_labelChildStatic:0}),i.Ub(603979776,661,{_placeholderChild:0}),i.Ub(603979776,662,{_errorChildren:1}),i.Ub(603979776,663,{_hintChildren:1}),i.Ub(603979776,664,{_prefixChildren:1}),i.Ub(603979776,665,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","JSON parameters of Properties"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.propertiesString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[657,4],[658,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.propertiesString),t(e,17,0,"JSON parameters of Properties","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ci(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,si)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ui))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function di(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Refresh "]))],null,null)}function hi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.refresh)}))}function pi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,669,{_controlNonStatic:0}),i.Ub(335544320,670,{_controlStatic:0}),i.Ub(603979776,671,{_labelChildNonStatic:0}),i.Ub(335544320,672,{_labelChildStatic:0}),i.Ub(603979776,673,{_placeholderChild:0}),i.Ub(603979776,674,{_errorChildren:1}),i.Ub(603979776,675,{_hintChildren:1}),i.Ub(603979776,676,{_prefixChildren:1}),i.Ub(603979776,677,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","86400"],["min","0"],["placeholder","Interval of refresh (in seconds)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.refresh=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[669,4],[670,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.refresh),t(e,18,0,"Interval of refresh (in seconds)","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function fi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,hi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,pi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function bi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" View by default "]))],null,null)}function mi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.defaultView)}))}function gi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.defaultView=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["View by default"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.defaultView)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function _i(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,mi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,gi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function yi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Order "]))],null,null)}function Ai(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.defaultOrder)}))}function vi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,684,{_controlNonStatic:0}),i.Ub(335544320,685,{_controlStatic:0}),i.Ub(603979776,686,{_labelChildNonStatic:0}),i.Ub(335544320,687,{_labelChildStatic:0}),i.Ub(603979776,688,{_placeholderChild:0}),i.Ub(603979776,689,{_errorChildren:1}),i.Ub(603979776,690,{_hintChildren:1}),i.Ub(603979776,691,{_prefixChildren:1}),i.Ub(603979776,692,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","999"],["min","0"],["placeholder","Order of layer"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.defaultOrder=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[684,4],[685,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.defaultOrder),t(e,18,0,"Order of layer","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Ci(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ai)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,vi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function wi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Clickable "]))],null,null)}function Pi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.clickable)}))}function xi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.clickable=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Popup is displayed on feature click"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.clickable)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function Si(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Pi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,xi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ki(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Hoverable "]))],null,null)}function Mi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.hoverable)}))}function Oi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.hoverable=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Popup is displayed on feature hover"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.hoverable)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function Di(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Mi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Oi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ti(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" bufferInBase64 "]))],null,null)}function Ei(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,0,"img",[["height","96"],["width","96"]],[[8,"src",4],[8,"alt",0]],null,null,null,null))],null,(function(t,e){t(e,1,0,i.Hb(1,"data:image/png;base64,",e.parent.context.$implicit.bufferInBase64,""),i.Hb(1,"",e.parent.context.$implicit.name,""))}))}function Ii(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"p",[["style","margin-left: 10px;"]],null,null,null,null,null)),(t()(),i.Wb(-1,null,["Important : l'ic\xf4ne doit \xeatre au format PNG et mesurer 96x96 pixels"])),(t()(),i.Db(2,0,null,null,1,"div",[["class","inline-block"],["style","margin-left: 10px; margin-bottom: 20px;"]],null,null,null,null,null)),(t()(),i.Db(3,0,null,null,0,"input",[["accept","image/png"],["type","file"]],null,[[null,"change"]],(function(t,e,n){var l=!0;return"change"===e&&(l=!1!==t.component.onUploadImage(n)&&l),l}),null,null))],null,null)}function Li(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ei)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ii))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ji(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,T.d,T.a)),i.Tb(6144,null,s.k,null,[a.g]),i.Cb(2,49152,null,0,a.g,[],null,null)],null,null)}function Ri(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,T.e,T.b)),i.Tb(6144,null,s.m,null,[a.i]),i.Cb(2,49152,null,0,a.i,[],null,null)],null,null)}function Fi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,E.c,E.a)),i.Cb(2,114688,null,0,I.b,[i.p,C.a,[2,y.d],[2,h.a],I.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,i.Pb(e,2)._noopAnimations,i.Pb(e,2).diameter,i.Pb(e,2).diameter,"determinate"===i.Pb(e,2).mode?0:null,"determinate"===i.Pb(e,2).mode?100:null,"determinate"===i.Pb(e,2).mode?i.Pb(e,2).value:null,i.Pb(e,2).mode)}))}function Ni(t){return i.Yb(0,[i.Ub(402653184,1,{filter:0}),(t()(),i.Db(1,0,null,null,822,"div",[["class","mat-dialog-content"],["id","content-database-dialog"],["mat-dialog-content",""]],null,null,null,null,null)),i.Cb(2,16384,null,0,L.j,[],null,null),(t()(),i.Db(3,0,null,null,63,"div",[["id","edition-db-interaction"]],null,null,null,null,null)),(t()(),i.Db(4,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(5,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,2,{_controlNonStatic:0}),i.Ub(335544320,3,{_controlStatic:0}),i.Ub(603979776,4,{_labelChildNonStatic:0}),i.Ub(335544320,5,{_labelChildStatic:0}),i.Ub(603979776,6,{_placeholderChild:0}),i.Ub(603979776,7,{_errorChildren:1}),i.Ub(603979776,8,{_hintChildren:1}),i.Ub(603979776,9,{_prefixChildren:1}),i.Ub(603979776,10,{_suffixChildren:1}),(t()(),i.Db(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(16,16384,[[4,4],[5,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Table"])),(t()(),i.Db(18,0,null,1,9,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,r=t.component;return"keydown"===e&&(l=!1!==i.Pb(t,20)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,20)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,20)._onBlur()&&l),"valueChange"===e&&(l=!1!==(r.tableName=n)&&l),"selectionChange"===e&&(l=!1!==r.changeTable(n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(20,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[8,null],[8,null],k.a,d.j],{value:[0,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),i.Ub(603979776,11,{options:1}),i.Ub(603979776,12,{optionGroups:1}),i.Ub(603979776,13,{customTrigger:0}),i.Tb(2048,[[2,4],[3,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,2,null,pt)),i.Cb(26,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),i.Qb(0,y.h,[i.z]),(t()(),i.Db(28,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(29,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,14,{_controlNonStatic:0}),i.Ub(335544320,15,{_controlStatic:0}),i.Ub(603979776,16,{_labelChildNonStatic:0}),i.Ub(335544320,17,{_labelChildStatic:0}),i.Ub(603979776,18,{_placeholderChild:0}),i.Ub(603979776,19,{_errorChildren:1}),i.Ub(603979776,20,{_hintChildren:1}),i.Ub(603979776,21,{_prefixChildren:1}),i.Ub(603979776,22,{_suffixChildren:1}),(t()(),i.Db(39,0,[[1,0],["filter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var l=!0;return"blur"===e&&(l=!1!==i.Pb(t,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,40)._onInput()&&l),l}),null,null)),i.Cb(40,999424,null,0,P.b,[i.p,C.a,[8,null],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"]},null),i.Tb(2048,[[14,4],[15,4]],v.d,null,[P.b]),(t()(),i.Db(42,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(43,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,23,{_controlNonStatic:0}),i.Ub(335544320,24,{_controlStatic:0}),i.Ub(603979776,25,{_labelChildNonStatic:0}),i.Ub(335544320,26,{_labelChildStatic:0}),i.Ub(603979776,27,{_placeholderChild:0}),i.Ub(603979776,28,{_errorChildren:1}),i.Ub(603979776,29,{_hintChildren:1}),i.Ub(603979776,30,{_prefixChildren:1}),i.Ub(603979776,31,{_suffixChildren:1}),(t()(),i.Db(53,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(54,16384,[[25,4],[26,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Column"])),(t()(),i.Db(56,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,r=t.component;return"keydown"===e&&(l=!1!==i.Pb(t,58)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,58)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,58)._onBlur()&&l),"valueChange"===e&&(l=!1!==(r.filterColumn=n)&&l),"selectionChange"===e&&(l=!1!==r.changeFilterColumn(n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(58,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[8,null],[8,null],k.a,d.j],{value:[0,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),i.Ub(603979776,32,{options:1}),i.Ub(603979776,33,{optionGroups:1}),i.Ub(603979776,34,{customTrigger:0}),i.Tb(2048,[[23,4],[24,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,ft)),i.Cb(64,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(65,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),j.b,j.a)),i.Cb(66,245760,null,0,R.b,[R.c,i.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"}),(t()(),i.Db(67,0,null,null,756,"div",[["id","edition-db-table"]],null,null,null,null,null)),(t()(),i.Db(68,0,null,null,753,"table",[["class","mat-table"],["mat-table",""]],null,null,null,T.f,T.c)),i.Tb(6144,null,s.o,null,[a.k]),i.Cb(70,2342912,null,4,a.k,[i.y,i.j,i.p,[8,null],[2,g.b],y.d,C.a],{dataSource:[0,"dataSource"]},null),i.Ub(603979776,35,{_contentColumnDefs:1}),i.Ub(603979776,36,{_contentRowDefs:1}),i.Ub(603979776,37,{_contentHeaderRowDefs:1}),i.Ub(603979776,38,{_contentFooterRowDefs:1}),(t()(),i.Db(75,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(77,16384,null,3,a.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),i.Ub(603979776,39,{cell:0}),i.Ub(603979776,40,{headerCell:0}),i.Ub(603979776,41,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,bt)),i.Cb(83,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[40,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,At)),i.Cb(86,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[39,4]],s.b,null,[a.b]),(t()(),i.Db(88,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(90,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,51,{cell:0}),i.Ub(603979776,52,{headerCell:0}),i.Ub(603979776,53,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,vt)),i.Cb(96,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[52,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Pt)),i.Cb(99,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[51,4]],s.b,null,[a.b]),(t()(),i.Db(101,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(103,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,63,{cell:0}),i.Ub(603979776,64,{headerCell:0}),i.Ub(603979776,65,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,xt)),i.Cb(109,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[64,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Mt)),i.Cb(112,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[63,4]],s.b,null,[a.b]),(t()(),i.Db(114,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(116,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,75,{cell:0}),i.Ub(603979776,76,{headerCell:0}),i.Ub(603979776,77,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ot)),i.Cb(122,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[76,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Et)),i.Cb(125,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[75,4]],s.b,null,[a.b]),(t()(),i.Db(127,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(129,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,87,{cell:0}),i.Ub(603979776,88,{headerCell:0}),i.Ub(603979776,89,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,It)),i.Cb(135,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[88,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Rt)),i.Cb(138,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[87,4]],s.b,null,[a.b]),(t()(),i.Db(140,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(142,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,102,{cell:0}),i.Ub(603979776,103,{headerCell:0}),i.Ub(603979776,104,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ft)),i.Cb(148,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[103,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Bt)),i.Cb(151,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[102,4]],s.b,null,[a.b]),(t()(),i.Db(153,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(155,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,117,{cell:0}),i.Ub(603979776,118,{headerCell:0}),i.Ub(603979776,119,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,zt)),i.Cb(161,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[118,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Vt)),i.Cb(164,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[117,4]],s.b,null,[a.b]),(t()(),i.Db(166,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(168,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,132,{cell:0}),i.Ub(603979776,133,{headerCell:0}),i.Ub(603979776,134,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,qt)),i.Cb(174,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[133,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Xt)),i.Cb(177,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[132,4]],s.b,null,[a.b]),(t()(),i.Db(179,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(181,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,147,{cell:0}),i.Ub(603979776,148,{headerCell:0}),i.Ub(603979776,149,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Kt)),i.Cb(187,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[148,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Zt)),i.Cb(190,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[147,4]],s.b,null,[a.b]),(t()(),i.Db(192,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(194,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,162,{cell:0}),i.Ub(603979776,163,{headerCell:0}),i.Ub(603979776,164,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,te)),i.Cb(200,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[163,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,le)),i.Cb(203,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[162,4]],s.b,null,[a.b]),(t()(),i.Db(205,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(207,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,174,{cell:0}),i.Ub(603979776,175,{headerCell:0}),i.Ub(603979776,176,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ie)),i.Cb(213,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[175,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ae)),i.Cb(216,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[174,4]],s.b,null,[a.b]),(t()(),i.Db(218,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(220,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,186,{cell:0}),i.Ub(603979776,187,{headerCell:0}),i.Ub(603979776,188,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,se)),i.Cb(226,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[187,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,de)),i.Cb(229,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[186,4]],s.b,null,[a.b]),(t()(),i.Db(231,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(233,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,189,{cell:0}),i.Ub(603979776,190,{headerCell:0}),i.Ub(603979776,191,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,he)),i.Cb(239,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[190,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,be)),i.Cb(242,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[189,4]],s.b,null,[a.b]),(t()(),i.Db(244,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(246,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,192,{cell:0}),i.Ub(603979776,193,{headerCell:0}),i.Ub(603979776,194,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,me)),i.Cb(252,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[193,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ye)),i.Cb(255,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[192,4]],s.b,null,[a.b]),(t()(),i.Db(257,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(259,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,204,{cell:0}),i.Ub(603979776,205,{headerCell:0}),i.Ub(603979776,206,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ae)),i.Cb(265,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[205,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,we)),i.Cb(268,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[204,4]],s.b,null,[a.b]),(t()(),i.Db(270,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(272,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,216,{cell:0}),i.Ub(603979776,217,{headerCell:0}),i.Ub(603979776,218,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Pe)),i.Cb(278,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[217,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ke)),i.Cb(281,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[216,4]],s.b,null,[a.b]),(t()(),i.Db(283,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(285,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,228,{cell:0}),i.Ub(603979776,229,{headerCell:0}),i.Ub(603979776,230,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Me)),i.Cb(291,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[229,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Te)),i.Cb(294,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[228,4]],s.b,null,[a.b]),(t()(),i.Db(296,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(298,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,231,{cell:0}),i.Ub(603979776,232,{headerCell:0}),i.Ub(603979776,233,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ee)),i.Cb(304,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[232,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,je)),i.Cb(307,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[231,4]],s.b,null,[a.b]),(t()(),i.Db(309,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(311,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,243,{cell:0}),i.Ub(603979776,244,{headerCell:0}),i.Ub(603979776,245,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Re)),i.Cb(317,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[244,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ye)),i.Cb(320,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[243,4]],s.b,null,[a.b]),(t()(),i.Db(322,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(324,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,255,{cell:0}),i.Ub(603979776,256,{headerCell:0}),i.Ub(603979776,257,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ue)),i.Cb(330,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[256,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ge)),i.Cb(333,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[255,4]],s.b,null,[a.b]),(t()(),i.Db(335,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(337,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,267,{cell:0}),i.Ub(603979776,268,{headerCell:0}),i.Ub(603979776,269,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,He)),i.Cb(343,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[268,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,We)),i.Cb(346,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[267,4]],s.b,null,[a.b]),(t()(),i.Db(348,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(350,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,279,{cell:0}),i.Ub(603979776,280,{headerCell:0}),i.Ub(603979776,281,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,$e)),i.Cb(356,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[280,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Je)),i.Cb(359,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[279,4]],s.b,null,[a.b]),(t()(),i.Db(361,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(363,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,291,{cell:0}),i.Ub(603979776,292,{headerCell:0}),i.Ub(603979776,293,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Qe)),i.Cb(369,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[292,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,en)),i.Cb(372,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[291,4]],s.b,null,[a.b]),(t()(),i.Db(374,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(376,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,303,{cell:0}),i.Ub(603979776,304,{headerCell:0}),i.Ub(603979776,305,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,nn)),i.Cb(382,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[304,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,on)),i.Cb(385,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[303,4]],s.b,null,[a.b]),(t()(),i.Db(387,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(389,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,315,{cell:0}),i.Ub(603979776,316,{headerCell:0}),i.Ub(603979776,317,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,an)),i.Cb(395,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[316,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,cn)),i.Cb(398,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[315,4]],s.b,null,[a.b]),(t()(),i.Db(400,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(402,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,327,{cell:0}),i.Ub(603979776,328,{headerCell:0}),i.Ub(603979776,329,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,dn)),i.Cb(408,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[328,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,fn)),i.Cb(411,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[327,4]],s.b,null,[a.b]),(t()(),i.Db(413,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(415,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,339,{cell:0}),i.Ub(603979776,340,{headerCell:0}),i.Ub(603979776,341,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,bn)),i.Cb(421,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[340,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,_n)),i.Cb(424,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[339,4]],s.b,null,[a.b]),(t()(),i.Db(426,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(428,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,351,{cell:0}),i.Ub(603979776,352,{headerCell:0}),i.Ub(603979776,353,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,yn)),i.Cb(434,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[352,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Cn)),i.Cb(437,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[351,4]],s.b,null,[a.b]),(t()(),i.Db(439,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(441,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,363,{cell:0}),i.Ub(603979776,364,{headerCell:0}),i.Ub(603979776,365,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,wn)),i.Cb(447,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[364,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Sn)),i.Cb(450,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[363,4]],s.b,null,[a.b]),(t()(),i.Db(452,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(454,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,375,{cell:0}),i.Ub(603979776,376,{headerCell:0}),i.Ub(603979776,377,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,kn)),i.Cb(460,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[376,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Dn)),i.Cb(463,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[375,4]],s.b,null,[a.b]),(t()(),i.Db(465,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(467,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,387,{cell:0}),i.Ub(603979776,388,{headerCell:0}),i.Ub(603979776,389,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Tn)),i.Cb(473,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[388,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ln)),i.Cb(476,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[387,4]],s.b,null,[a.b]),(t()(),i.Db(478,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(480,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,399,{cell:0}),i.Ub(603979776,400,{headerCell:0}),i.Ub(603979776,401,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,jn)),i.Cb(486,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[400,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Nn)),i.Cb(489,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[399,4]],s.b,null,[a.b]),(t()(),i.Db(491,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(493,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,414,{cell:0}),i.Ub(603979776,415,{headerCell:0}),i.Ub(603979776,416,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Yn)),i.Cb(499,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[415,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,zn)),i.Cb(502,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[414,4]],s.b,null,[a.b]),(t()(),i.Db(504,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(506,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,426,{cell:0}),i.Ub(603979776,427,{headerCell:0}),i.Ub(603979776,428,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Gn)),i.Cb(512,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[427,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,qn)),i.Cb(515,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[426,4]],s.b,null,[a.b]),(t()(),i.Db(517,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(519,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,438,{cell:0}),i.Ub(603979776,439,{headerCell:0}),i.Ub(603979776,440,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Wn)),i.Cb(525,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[439,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Kn)),i.Cb(528,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[438,4]],s.b,null,[a.b]),(t()(),i.Db(530,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(532,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,450,{cell:0}),i.Ub(603979776,451,{headerCell:0}),i.Ub(603979776,452,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Jn)),i.Cb(538,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[451,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,nl)),i.Cb(541,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[450,4]],s.b,null,[a.b]),(t()(),i.Db(543,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(545,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,477,{cell:0}),i.Ub(603979776,478,{headerCell:0}),i.Ub(603979776,479,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ll)),i.Cb(551,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[478,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,sl)),i.Cb(554,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[477,4]],s.b,null,[a.b]),(t()(),i.Db(556,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(558,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,504,{cell:0}),i.Ub(603979776,505,{headerCell:0}),i.Ub(603979776,506,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ul)),i.Cb(564,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[505,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,hl)),i.Cb(567,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[504,4]],s.b,null,[a.b]),(t()(),i.Db(569,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(571,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,516,{cell:0}),i.Ub(603979776,517,{headerCell:0}),i.Ub(603979776,518,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,pl)),i.Cb(577,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[517,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ml)),i.Cb(580,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[516,4]],s.b,null,[a.b]),(t()(),i.Db(582,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(584,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,528,{cell:0}),i.Ub(603979776,529,{headerCell:0}),i.Ub(603979776,530,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,gl)),i.Cb(590,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[529,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Al)),i.Cb(593,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[528,4]],s.b,null,[a.b]),(t()(),i.Db(595,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(597,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,540,{cell:0}),i.Ub(603979776,541,{headerCell:0}),i.Ub(603979776,542,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,vl)),i.Cb(603,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[541,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Pl)),i.Cb(606,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[540,4]],s.b,null,[a.b]),(t()(),i.Db(608,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(610,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,552,{cell:0}),i.Ub(603979776,553,{headerCell:0}),i.Ub(603979776,554,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,xl)),i.Cb(616,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[553,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ml)),i.Cb(619,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[552,4]],s.b,null,[a.b]),(t()(),i.Db(621,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(623,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,564,{cell:0}),i.Ub(603979776,565,{headerCell:0}),i.Ub(603979776,566,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ol)),i.Cb(629,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[565,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,El)),i.Cb(632,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[564,4]],s.b,null,[a.b]),(t()(),i.Db(634,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(636,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,576,{cell:0}),i.Ub(603979776,577,{headerCell:0}),i.Ub(603979776,578,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Il)),i.Cb(642,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[577,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Rl)),i.Cb(645,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[576,4]],s.b,null,[a.b]),(t()(),i.Db(647,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(649,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,588,{cell:0}),i.Ub(603979776,589,{headerCell:0}),i.Ub(603979776,590,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Fl)),i.Cb(655,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[589,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ul)),i.Cb(658,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[588,4]],s.b,null,[a.b]),(t()(),i.Db(660,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(662,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,600,{cell:0}),i.Ub(603979776,601,{headerCell:0}),i.Ub(603979776,602,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Bl)),i.Cb(668,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[601,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Hl)),i.Cb(671,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[600,4]],s.b,null,[a.b]),(t()(),i.Db(673,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(675,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,615,{cell:0}),i.Ub(603979776,616,{headerCell:0}),i.Ub(603979776,617,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Vl)),i.Cb(681,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[616,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,$l)),i.Cb(684,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[615,4]],s.b,null,[a.b]),(t()(),i.Db(686,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(688,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,618,{cell:0}),i.Ub(603979776,619,{headerCell:0}),i.Ub(603979776,620,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Xl)),i.Cb(694,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[619,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ql)),i.Cb(697,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[618,4]],s.b,null,[a.b]),(t()(),i.Db(699,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(701,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,630,{cell:0}),i.Ub(603979776,631,{headerCell:0}),i.Ub(603979776,632,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Zl)),i.Cb(707,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[631,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ni)),i.Cb(710,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[630,4]],s.b,null,[a.b]),(t()(),i.Db(712,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(714,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,642,{cell:0}),i.Ub(603979776,643,{headerCell:0}),i.Ub(603979776,644,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,li)),i.Cb(720,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[643,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,oi)),i.Cb(723,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[642,4]],s.b,null,[a.b]),(t()(),i.Db(725,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(727,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,654,{cell:0}),i.Ub(603979776,655,{headerCell:0}),i.Ub(603979776,656,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ai)),i.Cb(733,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[655,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ci)),i.Cb(736,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[654,4]],s.b,null,[a.b]),(t()(),i.Db(738,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(740,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,666,{cell:0}),i.Ub(603979776,667,{headerCell:0}),i.Ub(603979776,668,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,di)),i.Cb(746,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[667,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,fi)),i.Cb(749,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[666,4]],s.b,null,[a.b]),(t()(),i.Db(751,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(753,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,678,{cell:0}),i.Ub(603979776,679,{headerCell:0}),i.Ub(603979776,680,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,bi)),i.Cb(759,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[679,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,_i)),i.Cb(762,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[678,4]],s.b,null,[a.b]),(t()(),i.Db(764,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(766,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,681,{cell:0}),i.Ub(603979776,682,{headerCell:0}),i.Ub(603979776,683,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,yi)),i.Cb(772,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[682,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ci)),i.Cb(775,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[681,4]],s.b,null,[a.b]),(t()(),i.Db(777,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(779,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,693,{cell:0}),i.Ub(603979776,694,{headerCell:0}),i.Ub(603979776,695,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,wi)),i.Cb(785,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[694,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Si)),i.Cb(788,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[693,4]],s.b,null,[a.b]),(t()(),i.Db(790,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(792,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,696,{cell:0}),i.Ub(603979776,697,{headerCell:0}),i.Ub(603979776,698,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ki)),i.Cb(798,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[697,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Di)),i.Cb(801,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[696,4]],s.b,null,[a.b]),(t()(),i.Db(803,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(805,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,699,{cell:0}),i.Ub(603979776,700,{headerCell:0}),i.Ub(603979776,701,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ti)),i.Cb(811,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[700,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Li)),i.Cb(814,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[699,4]],s.b,null,[a.b]),(t()(),i.sb(0,null,null,2,null,ji)),i.Cb(817,540672,null,0,a.h,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[37,4]],s.l,null,[a.h]),(t()(),i.sb(0,null,null,2,null,Ri)),i.Cb(820,540672,null,0,a.j,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[36,4]],s.n,null,[a.j]),(t()(),i.sb(16777216,null,null,1,null,Fi)),i.Cb(823,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,20,0,n.tableName),t(e,26,0,i.Xb(e,26,0,i.Pb(e,27).transform(n.allTables))),t(e,40,0,"Search"),t(e,58,0,n.filterColumn),t(e,64,0,n.allTables[n.tableName].columnsFilter),t(e,66,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0),t(e,70,0,n.dataSource),t(e,77,0,"operation",""),t(e,90,0,"icao"),t(e,103,0,"name"),t(e,116,0,"iata"),t(e,129,0,"wakeTurbulence"),t(e,142,0,"iconName"),t(e,155,0,"species"),t(e,168,0,"engineType"),t(e,181,0,"enginePlacement"),t(e,194,0,"engine"),t(e,207,0,"squawk"),t(e,220,0,"military"),t(e,233,0,"mlat"),t(e,246,0,"legend"),t(e,259,0,"location"),t(e,272,0,"altitude"),t(e,285,0,"isPlot"),t(e,298,0,"modeS"),t(e,311,0,"modeSCountry"),t(e,324,0,"country"),t(e,337,0,"registration"),t(e,350,0,"countryCodeIso3"),t(e,363,0,"manufacturer"),t(e,376,0,"icaoTypeCode"),t(e,389,0,"type"),t(e,402,0,"serialNo"),t(e,415,0,"registeredOwners"),t(e,428,0,"operatorIcao"),t(e,441,0,"userTags"),t(e,454,0,"host"),t(e,467,0,"port"),t(e,480,0,"type_feed"),t(e,493,0,"longitude"),t(e,506,0,"latitude"),t(e,519,0,"settingsString"),t(e,532,0,"startAt"),t(e,545,0,"endAt"),t(e,558,0,"airforceReady"),t(e,571,0,"airforceSpeed"),t(e,584,0,"airforceDuration"),t(e,597,0,"minLat"),t(e,610,0,"maxLat"),t(e,623,0,"minLon"),t(e,636,0,"maxLon"),t(e,649,0,"groupLayer"),t(e,662,0,"typeLayer"),t(e,675,0,"pivLayer"),t(e,688,0,"tippecanoeLayer"),t(e,701,0,"styleLayer"),t(e,714,0,"mappingLayer"),t(e,727,0,"propertiesLayer"),t(e,740,0,"refreshLayer"),t(e,753,0,"defaultViewLayer"),t(e,766,0,"defaultOrderLayer"),t(e,779,0,"clickableLayer"),t(e,792,0,"hoverableLayer"),t(e,805,0,"bufferInBase64"),t(e,817,0,n.allTables[n.tableName].columns),t(e,820,0,n.allTables[n.tableName].columns),t(e,823,0,n.isLoading)}),(function(t,e){t(e,4,1,["standard"==i.Pb(e,5).appearance,"fill"==i.Pb(e,5).appearance,"outline"==i.Pb(e,5).appearance,"legacy"==i.Pb(e,5).appearance,i.Pb(e,5)._control.errorState,i.Pb(e,5)._canLabelFloat,i.Pb(e,5)._shouldLabelFloat(),i.Pb(e,5)._hasFloatingLabel(),i.Pb(e,5)._hideControlPlaceholder(),i.Pb(e,5)._control.disabled,i.Pb(e,5)._control.autofilled,i.Pb(e,5)._control.focused,"accent"==i.Pb(e,5).color,"warn"==i.Pb(e,5).color,i.Pb(e,5)._shouldForward("untouched"),i.Pb(e,5)._shouldForward("touched"),i.Pb(e,5)._shouldForward("pristine"),i.Pb(e,5)._shouldForward("dirty"),i.Pb(e,5)._shouldForward("valid"),i.Pb(e,5)._shouldForward("invalid"),i.Pb(e,5)._shouldForward("pending"),!i.Pb(e,5)._animationsEnabled]),t(e,18,1,[i.Pb(e,20).id,i.Pb(e,20).tabIndex,i.Pb(e,20)._getAriaLabel(),i.Pb(e,20)._getAriaLabelledby(),i.Pb(e,20).required.toString(),i.Pb(e,20).disabled.toString(),i.Pb(e,20).errorState,i.Pb(e,20).panelOpen?i.Pb(e,20)._optionIds:null,i.Pb(e,20).multiple,i.Pb(e,20)._ariaDescribedby||null,i.Pb(e,20)._getAriaActiveDescendant(),i.Pb(e,20).disabled,i.Pb(e,20).errorState,i.Pb(e,20).required,i.Pb(e,20).empty]),t(e,28,1,["standard"==i.Pb(e,29).appearance,"fill"==i.Pb(e,29).appearance,"outline"==i.Pb(e,29).appearance,"legacy"==i.Pb(e,29).appearance,i.Pb(e,29)._control.errorState,i.Pb(e,29)._canLabelFloat,i.Pb(e,29)._shouldLabelFloat(),i.Pb(e,29)._hasFloatingLabel(),i.Pb(e,29)._hideControlPlaceholder(),i.Pb(e,29)._control.disabled,i.Pb(e,29)._control.autofilled,i.Pb(e,29)._control.focused,"accent"==i.Pb(e,29).color,"warn"==i.Pb(e,29).color,i.Pb(e,29)._shouldForward("untouched"),i.Pb(e,29)._shouldForward("touched"),i.Pb(e,29)._shouldForward("pristine"),i.Pb(e,29)._shouldForward("dirty"),i.Pb(e,29)._shouldForward("valid"),i.Pb(e,29)._shouldForward("invalid"),i.Pb(e,29)._shouldForward("pending"),!i.Pb(e,29)._animationsEnabled]),t(e,39,0,i.Pb(e,40)._isServer,i.Pb(e,40).id,i.Pb(e,40).placeholder,i.Pb(e,40).disabled,i.Pb(e,40).required,i.Pb(e,40).readonly&&!i.Pb(e,40)._isNativeSelect||null,i.Pb(e,40)._ariaDescribedby||null,i.Pb(e,40).errorState,i.Pb(e,40).required.toString()),t(e,42,1,["standard"==i.Pb(e,43).appearance,"fill"==i.Pb(e,43).appearance,"outline"==i.Pb(e,43).appearance,"legacy"==i.Pb(e,43).appearance,i.Pb(e,43)._control.errorState,i.Pb(e,43)._canLabelFloat,i.Pb(e,43)._shouldLabelFloat(),i.Pb(e,43)._hasFloatingLabel(),i.Pb(e,43)._hideControlPlaceholder(),i.Pb(e,43)._control.disabled,i.Pb(e,43)._control.autofilled,i.Pb(e,43)._control.focused,"accent"==i.Pb(e,43).color,"warn"==i.Pb(e,43).color,i.Pb(e,43)._shouldForward("untouched"),i.Pb(e,43)._shouldForward("touched"),i.Pb(e,43)._shouldForward("pristine"),i.Pb(e,43)._shouldForward("dirty"),i.Pb(e,43)._shouldForward("valid"),i.Pb(e,43)._shouldForward("invalid"),i.Pb(e,43)._shouldForward("pending"),!i.Pb(e,43)._animationsEnabled]),t(e,56,1,[i.Pb(e,58).id,i.Pb(e,58).tabIndex,i.Pb(e,58)._getAriaLabel(),i.Pb(e,58)._getAriaLabelledby(),i.Pb(e,58).required.toString(),i.Pb(e,58).disabled.toString(),i.Pb(e,58).errorState,i.Pb(e,58).panelOpen?i.Pb(e,58)._optionIds:null,i.Pb(e,58).multiple,i.Pb(e,58)._ariaDescribedby||null,i.Pb(e,58)._getAriaActiveDescendant(),i.Pb(e,58).disabled,i.Pb(e,58).errorState,i.Pb(e,58).required,i.Pb(e,58).empty])}))}var Yi=n("igqZ"),Ui=(n("cUpR"),i.Bb({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}}));function Bi(t){return i.Yb(2,[i.Ob(null,0),i.Ob(null,1)],null,null)}var zi=n("wd/R");class Gi{constructor(t,e,n){this.formBuilder=t,this.flightPlanService=e,this.fileUploadService=n,this.progressRequest="",this.importReponse=void 0,this.displayedColumns=["createdAt","name","date","provider","format"],this.dataSource=new a.l,this.pager={pageSize:25,pageIndex:0,lenght:0}}ngOnInit(){this.uploadForm=this.formBuilder.group({file:null,filename:null}),this.dataSource.data=[],this.getFileUpload()}onSelectFile(t){t.target.files&&t.target.files.length>0&&(this.file=t.target.files[0],this.uploadForm.get("filename").setValue(this.file.name),this.importReponse=void 0)}onSubmit(){if(!this.isFileExist())return;const t=new FileReader;t.onload=()=>{const e=t.result.toString(),n=e.match(/IOBD.*,(.*),.*,.*,.*,/)[1],l=e.match(/.*,.*,.*,.*,.*,.*,.*,.*,.*,.*/gm).filter((t,e)=>e>0).map(t=>{const e=t.split(",");return{callsign:e[2],registration:e[7],icaoTypeCode:e[3],icaoFrom:e[4],icaoTo:e[5],oclockFrom:e[13],oclockTo:e[24]}});this.requestFlightPlan(n,l)},t.readAsText(this.file)}requestFlightPlan(t,e){const n=zi(t,"ddd DD MMM YYYY").format("YYYY-MM-DD");this.progressRequest="import",this.flightPlanService.flightPlanControllerImportFlightPlan({body:{date:n,filename:this.file.name,provider:"Eurocontrol",format:"PLN",flightplans:e}}).subscribe(t=>{console.log(t),this.progressRequest="",this.importReponse={success:!0,msg:"Import success"},this.file=void 0,this.getFileUpload()},t=>{console.error(t),this.progressRequest="",this.importReponse={success:!1,msg:t.error.error},this.file=void 0})}isFileExist(){return void 0!==this.file}changePage(t){this.pager.pageIndex=t.pageIndex,this.getFileUpload()}getFileUpload(){this.fileUploadService.getManyBaseFileUploadControllerFileUpload({page:this.pager.pageIndex+1,limit:this.pager.pageSize,filter:"type||$eq||flight_plan"}).subscribe(t=>{this.pager.lenght=t.total,this.dataSource.data=t.data})}}var Hi=n("oU5s"),Vi=n("Kth1"),qi=i.Bb({encapsulation:0,styles:[[".edition-db-plan-vol[_ngcontent-%COMP%]{padding:5px} .edition-db-plan-vol input, button[_ngcontent-%COMP%]{margin:5px}hr[_ngcontent-%COMP%]{border-top:1px solid #aaa}.alert[_ngcontent-%COMP%]{padding:5px;margin:5px;border-radius:3px}.error[_ngcontent-%COMP%]{background:#fae6e6;border:3px solid #c00}.success[_ngcontent-%COMP%]{background:#dfd;border:3px solid #4caf50}.input-operator[_ngcontent-%COMP%]{width:50px}table[_ngcontent-%COMP%]{border-spacing:0;width:100%}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}td[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%], th[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%]{display:flex}"]],data:{}});function Wi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,E.d,E.b)),i.Cb(1,114688,null,0,I.d,[i.p,C.a,[2,y.d],[2,h.a],I.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,i.Pb(e,1)._noopAnimations,i.Pb(e,1).diameter,i.Pb(e,1).diameter)}))}function $i(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-card",[["class","alert mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,Bi,Ui)),i.Tb(512,null,y.A,y.B,[i.y,i.z,i.p,i.M]),i.Cb(2,278528,null,0,y.l,[y.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Rb(3,{success:0,error:1}),i.Cb(4,49152,null,0,Yi.a,[[2,h.a]],null,null),(t()(),i.Db(5,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),i.Wb(6,null,["",""]))],(function(t,e){var n=e.component,l=t(e,3,0,n.importReponse.success,!n.importReponse.success);t(e,2,0,"alert",l)}),(function(t,e){var n=e.component;t(e,0,0,"NoopAnimations"===i.Pb(e,4)._animationMode),t(e,6,0,n.importReponse.msg)}))}function Xi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Import date "]))],null,null)}function Ki(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,3)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.createdAt,"dd/MM/yyyy HH:mm","UTC"));t(e,2,0,n)}))}function Ji(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Filename "]))],null,null)}function Qi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Zi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Date "]))],null,null)}function tr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.data.date)}))}function er(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Provider "]))],null,null)}function nr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.data.provider)}))}function lr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Format "]))],null,null)}function ir(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.data.format)}))}function rr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,T.d,T.a)),i.Tb(6144,null,s.k,null,[a.g]),i.Cb(2,49152,null,0,a.g,[],null,null)],null,null)}function or(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,T.e,T.b)),i.Tb(6144,null,s.m,null,[a.i]),i.Cb(2,49152,null,0,a.i,[],null,null)],null,null)}function ar(t){return i.Yb(0,[i.Qb(0,y.e,[i.A]),i.Ub(671088640,1,{fileInput:0}),(t()(),i.Db(2,0,null,null,101,"div",[["class","edition-db-plan-vol"]],null,null,null,null,null)),(t()(),i.Db(3,0,null,null,18,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var l=!0,r=t.component;return"submit"===e&&(l=!1!==i.Pb(t,5).onSubmit(n)&&l),"reset"===e&&(l=!1!==i.Pb(t,5).onReset()&&l),"ngSubmit"===e&&(l=!1!==r.onSubmit()&&l),l}),null,null)),i.Cb(4,16384,null,0,w.A,[],null,null),i.Cb(5,540672,null,0,w.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),i.Tb(2048,null,w.c,null,[w.k]),i.Cb(7,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(8,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),i.Db(9,0,[[1,0],["fileInput",1]],null,5,"input",[["class","form-control"],["formControlName","file"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var l=!0,r=t.component;return"input"===e&&(l=!1!==i.Pb(t,10)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,10)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==r.onSelectFile(n)&&l),l}),null,null)),i.Cb(10,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(12,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(14,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.sb(16777216,null,null,1,null,Wi)),i.Cb(16,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.sb(16777216,null,null,1,null,$i)),i.Cb(18,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.Db(19,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,u.b,u.a)),i.Cb(20,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,["Import"])),(t()(),i.Db(22,0,null,null,81,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),i.Cb(23,16384,null,0,L.j,[],null,null),(t()(),i.Db(24,0,null,null,77,"table",[["class","mat-table"],["mat-table",""]],null,null,null,T.f,T.c)),i.Tb(6144,null,s.o,null,[a.k]),i.Cb(26,2342912,null,4,a.k,[i.y,i.j,i.p,[8,null],[2,g.b],y.d,C.a],{dataSource:[0,"dataSource"]},null),i.Ub(603979776,2,{_contentColumnDefs:1}),i.Ub(603979776,3,{_contentRowDefs:1}),i.Ub(603979776,4,{_contentHeaderRowDefs:1}),i.Ub(603979776,5,{_contentFooterRowDefs:1}),(t()(),i.Db(31,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(33,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,6,{cell:0}),i.Ub(603979776,7,{headerCell:0}),i.Ub(603979776,8,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Xi)),i.Cb(39,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[7,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ki)),i.Cb(42,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[6,4]],s.b,null,[a.b]),(t()(),i.Db(44,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(46,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,9,{cell:0}),i.Ub(603979776,10,{headerCell:0}),i.Ub(603979776,11,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ji)),i.Cb(52,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[10,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Qi)),i.Cb(55,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[9,4]],s.b,null,[a.b]),(t()(),i.Db(57,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(59,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,12,{cell:0}),i.Ub(603979776,13,{headerCell:0}),i.Ub(603979776,14,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Zi)),i.Cb(65,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[13,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,tr)),i.Cb(68,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[12,4]],s.b,null,[a.b]),(t()(),i.Db(70,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(72,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,15,{cell:0}),i.Ub(603979776,16,{headerCell:0}),i.Ub(603979776,17,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,er)),i.Cb(78,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[16,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,nr)),i.Cb(81,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[15,4]],s.b,null,[a.b]),(t()(),i.Db(83,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(85,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,18,{cell:0}),i.Ub(603979776,19,{headerCell:0}),i.Ub(603979776,20,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,lr)),i.Cb(91,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[19,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ir)),i.Cb(94,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[18,4]],s.b,null,[a.b]),(t()(),i.sb(0,null,null,2,null,rr)),i.Cb(97,540672,null,0,a.h,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[4,4]],s.l,null,[a.h]),(t()(),i.sb(0,null,null,2,null,or)),i.Cb(100,540672,null,0,a.j,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[3,4]],s.n,null,[a.j]),(t()(),i.Db(102,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),j.b,j.a)),i.Cb(103,245760,null,0,R.b,[R.c,i.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"})],(function(t,e){var n=e.component;t(e,5,0,n.uploadForm),t(e,12,0,"file"),t(e,16,0,"import"==n.progressRequest),t(e,18,0,n.importReponse),t(e,20,0,"warn"),t(e,26,0,n.dataSource),t(e,33,0,"createdAt"),t(e,46,0,"name"),t(e,59,0,"date"),t(e,72,0,"provider"),t(e,85,0,"format"),t(e,97,0,n.displayedColumns),t(e,100,0,n.displayedColumns),t(e,103,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0)}),(function(t,e){t(e,3,0,i.Pb(e,7).ngClassUntouched,i.Pb(e,7).ngClassTouched,i.Pb(e,7).ngClassPristine,i.Pb(e,7).ngClassDirty,i.Pb(e,7).ngClassValid,i.Pb(e,7).ngClassInvalid,i.Pb(e,7).ngClassPending),t(e,9,0,i.Pb(e,14).ngClassUntouched,i.Pb(e,14).ngClassTouched,i.Pb(e,14).ngClassPristine,i.Pb(e,14).ngClassDirty,i.Pb(e,14).ngClassValid,i.Pb(e,14).ngClassInvalid,i.Pb(e,14).ngClassPending),t(e,19,0,i.Pb(e,20).disabled||null,"NoopAnimations"===i.Pb(e,20)._animationMode)}))}var sr=n("Blz8"),ur=n("821u"),cr=n("zbXB");class dr{constructor(t){this.vehicleLogService=t,this.displayedColumns=["aircraftIcao","aircraftCallsign","origin","state","oldIcaoTypeCode","newIcaoTypeCode","oldRegistration","newRegistration"],this.dataSource=new a.l,this.pager={pageSize:25,pageIndex:0,lenght:0}}ngOnInit(){this.vehicleLogForm=new w.j({fromDate:new w.g(zi().format(),[w.w.required]),toDate:new w.g(zi().add(1,"day").format(),[w.w.required])}),this.dataSource.data=[],this.getVehicleLogs()}changePage(t){this.pager.pageIndex=t.pageIndex,this.getVehicleLogs()}getVehicleLogs(){const t=zi(this.vehicleLogForm.value.fromDate).set({hour:0,minute:0,second:0,millisecond:0}).format(),e=zi(this.vehicleLogForm.value.toDate).set({hour:0,minute:0,second:0,millisecond:0}).format();this.vehicleLogService.getManyBaseVehicleLogControllerVehicleLog({page:this.pager.pageIndex+1,limit:this.pager.pageSize,filter:["createdAt||gte||"+t,"createdAt||lte||"+e]}).subscribe(t=>{this.pager.lenght=t.total,this.dataSource.data=t.data})}exportCsv(){const t=zi(this.vehicleLogForm.value.fromDate).set({hour:0,minute:0,second:0,millisecond:0}).format(),e=zi(this.vehicleLogForm.value.toDate).set({hour:0,minute:0,second:0,millisecond:0}).format();this.vehicleLogService.vehicleLogControllerGetCsv({fromDate:t,toDate:e}).subscribe(t=>{this.downLoadFile(t,"application/csv")})}downLoadFile(t,e){const n=new Blob([t],{type:e}),l=window.URL.createObjectURL(n),i=document.createElement("a");i.download="vehicle_log.csv",i.href=l,i.click()}}var hr=n("GLSd"),pr=i.Bb({encapsulation:0,styles:[[".vehicle-log-action[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:0 10px}table[_ngcontent-%COMP%]{border-spacing:0;width:100%}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}td[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%], th[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%]{display:flex} #content-database-dialog .mat-form-field{width:120px} #content-database-dialog .mat-form-field-appearance-outline .mat-form-field-wrapper{padding:0}"]],data:{}});function fr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Icao "]))],null,null)}function br(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.aircraftIcao)}))}function mr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Callsign "]))],null,null)}function gr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.aircraftCallsign)}))}function _r(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Origin "]))],null,null)}function yr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.origin)}))}function Ar(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" State "]))],null,null)}function vr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.state)}))}function Cr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Old IcaoTypeCode "]))],null,null)}function wr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.oldIcaoTypeCode));t(e,2,0,n)}))}function Pr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" New IcaoTypeCode "]))],null,null)}function xr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.newIcaoTypeCode));t(e,2,0,n)}))}function Sr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Old Registration "]))],null,null)}function kr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.oldRegistration));t(e,2,0,n)}))}function Mr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" New Registration "]))],null,null)}function Or(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.newRegistration));t(e,2,0,n)}))}function Dr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,T.d,T.a)),i.Tb(6144,null,s.k,null,[a.g]),i.Cb(2,49152,null,0,a.g,[],null,null)],null,null)}function Tr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,T.e,T.b)),i.Tb(6144,null,s.m,null,[a.i]),i.Cb(2,49152,null,0,a.i,[],null,null)],null,null)}function Er(t){return i.Yb(0,[i.Qb(0,sr.a,[]),(t()(),i.Db(1,0,null,null,190,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),i.Cb(2,16384,null,0,L.j,[],null,null),(t()(),i.Db(3,0,null,null,69,"div",[["class","vehicle-log-action"]],null,null,null,null,null)),(t()(),i.Db(4,0,null,null,63,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var l=!0,r=t.component;return"submit"===e&&(l=!1!==i.Pb(t,6).onSubmit(n)&&l),"reset"===e&&(l=!1!==i.Pb(t,6).onReset()&&l),"ngSubmit"===e&&(l=!1!==r.getVehicleLogs()&&l),l}),null,null)),i.Cb(5,16384,null,0,w.A,[],null,null),i.Cb(6,540672,null,0,w.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),i.Tb(2048,null,w.c,null,[w.k]),i.Cb(8,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(9,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 200px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(10,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,1,{_controlNonStatic:0}),i.Ub(335544320,2,{_controlStatic:0}),i.Ub(603979776,3,{_labelChildNonStatic:0}),i.Ub(335544320,4,{_labelChildStatic:0}),i.Ub(603979776,5,{_placeholderChild:0}),i.Ub(603979776,6,{_errorChildren:1}),i.Ub(603979776,7,{_hintChildren:1}),i.Ub(603979776,8,{_prefixChildren:1}),i.Ub(603979776,9,{_suffixChildren:1}),(t()(),i.Db(20,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","fromDate"],["matInput",""],["placeholder","Choose from date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,21)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,21).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,21)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,21)._compositionEnd(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,22)._onInput(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,22)._onChange()&&l),"blur"===e&&(l=!1!==i.Pb(t,22)._onBlur()&&l),"keydown"===e&&(l=!1!==i.Pb(t,22)._onKeydown(n)&&l),"blur"===e&&(l=!1!==i.Pb(t,29)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,29)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,29)._onInput()&&l),l}),null,null)),i.Cb(21,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(22,147456,null,0,ur.h,[i.p,[2,o.c],[2,o.g],[2,v.c]],{matDatepicker:[0,"matDatepicker"]},null),i.Tb(1024,null,w.n,(function(t){return[t]}),[ur.h]),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,ur.h]),i.Cb(25,671744,null,0,w.i,[[3,w.c],[6,w.n],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(27,16384,null,0,w.q,[[4,w.p]],null,null),i.Tb(2048,null,P.a,null,[ur.h]),i.Cb(29,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[6,P.a],x.a,i.G],{placeholder:[0,"placeholder"]},null),i.Tb(2048,[[1,4],[2,4]],v.d,null,[P.b]),(t()(),i.Db(31,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(t,e,n){var l=!0;return"focus"===e&&(l=!1!==i.Pb(t,32)._button.focus()&&l),l}),cr.e,cr.d)),i.Cb(32,1753088,null,1,ur.k,[ur.i,i.j,[8,null]],{datepicker:[0,"datepicker"]},null),i.Ub(603979776,10,{_customIcon:0}),i.Cb(34,16384,[[9,4]],0,v.g,[],null,null),(t()(),i.Db(35,16777216,null,1,1,"mat-datepicker",[],null,null,null,cr.f,cr.c)),i.Cb(36,180224,[["fromPicker",4]],0,ur.f,[L.e,m.c,i.G,i.Y,ur.a,[2,o.c],[2,g.b],[2,y.d]],null,null),(t()(),i.Db(37,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 200px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(38,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,11,{_controlNonStatic:0}),i.Ub(335544320,12,{_controlStatic:0}),i.Ub(603979776,13,{_labelChildNonStatic:0}),i.Ub(335544320,14,{_labelChildStatic:0}),i.Ub(603979776,15,{_placeholderChild:0}),i.Ub(603979776,16,{_errorChildren:1}),i.Ub(603979776,17,{_hintChildren:1}),i.Ub(603979776,18,{_prefixChildren:1}),i.Ub(603979776,19,{_suffixChildren:1}),(t()(),i.Db(48,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","toDate"],["matInput",""],["placeholder","Choose to date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,49)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,49).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,49)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,49)._compositionEnd(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,50)._onInput(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,50)._onChange()&&l),"blur"===e&&(l=!1!==i.Pb(t,50)._onBlur()&&l),"keydown"===e&&(l=!1!==i.Pb(t,50)._onKeydown(n)&&l),"blur"===e&&(l=!1!==i.Pb(t,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,57)._onInput()&&l),l}),null,null)),i.Cb(49,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(50,147456,null,0,ur.h,[i.p,[2,o.c],[2,o.g],[2,v.c]],{matDatepicker:[0,"matDatepicker"]},null),i.Tb(1024,null,w.n,(function(t){return[t]}),[ur.h]),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,ur.h]),i.Cb(53,671744,null,0,w.i,[[3,w.c],[6,w.n],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(55,16384,null,0,w.q,[[4,w.p]],null,null),i.Tb(2048,null,P.a,null,[ur.h]),i.Cb(57,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[6,P.a],x.a,i.G],{placeholder:[0,"placeholder"]},null),i.Tb(2048,[[11,4],[12,4]],v.d,null,[P.b]),(t()(),i.Db(59,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(t,e,n){var l=!0;return"focus"===e&&(l=!1!==i.Pb(t,60)._button.focus()&&l),l}),cr.e,cr.d)),i.Cb(60,1753088,null,1,ur.k,[ur.i,i.j,[8,null]],{datepicker:[0,"datepicker"]},null),i.Ub(603979776,20,{_customIcon:0}),i.Cb(62,16384,[[19,4]],0,v.g,[],null,null),(t()(),i.Db(63,16777216,null,1,1,"mat-datepicker",[],null,null,null,cr.f,cr.c)),i.Cb(64,180224,[["toPicker",4]],0,ur.f,[L.e,m.c,i.G,i.Y,ur.a,[2,o.c],[2,g.b],[2,y.d]],null,null),(t()(),i.Db(65,0,null,null,2,"ion-button",[["color","danger"],["type","submit"]],null,null,null,p.u,p.c)),i.Cb(66,49152,null,0,f.i,[i.j,i.p,i.G],{color:[0,"color"],type:[1,"type"]},null),(t()(),i.Wb(-1,0,["Ok"])),(t()(),i.Db(68,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.exportCsv()&&l),l}),u.b,u.a)),i.Cb(69,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,[" Export "])),(t()(),i.Db(71,0,null,0,1,"ion-icon",[["name","document"]],null,null,null,p.y,p.g)),i.Cb(72,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(73,0,null,null,116,"table",[["class","mat-table"],["mat-table",""]],null,null,null,T.f,T.c)),i.Tb(6144,null,s.o,null,[a.k]),i.Cb(75,2342912,null,4,a.k,[i.y,i.j,i.p,[8,null],[2,g.b],y.d,C.a],{dataSource:[0,"dataSource"]},null),i.Ub(603979776,21,{_contentColumnDefs:1}),i.Ub(603979776,22,{_contentRowDefs:1}),i.Ub(603979776,23,{_contentHeaderRowDefs:1}),i.Ub(603979776,24,{_contentFooterRowDefs:1}),(t()(),i.Db(80,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(82,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,25,{cell:0}),i.Ub(603979776,26,{headerCell:0}),i.Ub(603979776,27,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,fr)),i.Cb(88,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[26,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,br)),i.Cb(91,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[25,4]],s.b,null,[a.b]),(t()(),i.Db(93,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(95,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,28,{cell:0}),i.Ub(603979776,29,{headerCell:0}),i.Ub(603979776,30,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,mr)),i.Cb(101,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[29,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,gr)),i.Cb(104,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[28,4]],s.b,null,[a.b]),(t()(),i.Db(106,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(108,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,31,{cell:0}),i.Ub(603979776,32,{headerCell:0}),i.Ub(603979776,33,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,_r)),i.Cb(114,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[32,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,yr)),i.Cb(117,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[31,4]],s.b,null,[a.b]),(t()(),i.Db(119,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(121,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,34,{cell:0}),i.Ub(603979776,35,{headerCell:0}),i.Ub(603979776,36,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ar)),i.Cb(127,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[35,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,vr)),i.Cb(130,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[34,4]],s.b,null,[a.b]),(t()(),i.Db(132,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(134,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,37,{cell:0}),i.Ub(603979776,38,{headerCell:0}),i.Ub(603979776,39,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Cr)),i.Cb(140,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[38,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,wr)),i.Cb(143,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[37,4]],s.b,null,[a.b]),(t()(),i.Db(145,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(147,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,40,{cell:0}),i.Ub(603979776,41,{headerCell:0}),i.Ub(603979776,42,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Pr)),i.Cb(153,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[41,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,xr)),i.Cb(156,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[40,4]],s.b,null,[a.b]),(t()(),i.Db(158,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(160,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,43,{cell:0}),i.Ub(603979776,44,{headerCell:0}),i.Ub(603979776,45,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Sr)),i.Cb(166,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[44,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,kr)),i.Cb(169,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[43,4]],s.b,null,[a.b]),(t()(),i.Db(171,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(173,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,46,{cell:0}),i.Ub(603979776,47,{headerCell:0}),i.Ub(603979776,48,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Mr)),i.Cb(179,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[47,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Or)),i.Cb(182,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[46,4]],s.b,null,[a.b]),(t()(),i.sb(0,null,null,2,null,Dr)),i.Cb(185,540672,null,0,a.h,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[23,4]],s.l,null,[a.h]),(t()(),i.sb(0,null,null,2,null,Tr)),i.Cb(188,540672,null,0,a.j,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[22,4]],s.n,null,[a.j]),(t()(),i.Db(190,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),j.b,j.a)),i.Cb(191,245760,null,0,R.b,[R.c,i.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"})],(function(t,e){var n=e.component;t(e,6,0,n.vehicleLogForm),t(e,10,0,"outline"),t(e,22,0,i.Pb(e,36)),t(e,25,0,"fromDate"),t(e,29,0,"Choose from date"),t(e,32,0,i.Pb(e,36)),t(e,38,0,"outline"),t(e,50,0,i.Pb(e,64)),t(e,53,0,"toDate"),t(e,57,0,"Choose to date"),t(e,60,0,i.Pb(e,64)),t(e,66,0,"danger","submit"),t(e,69,0,"warn"),t(e,72,0,"document"),t(e,75,0,n.dataSource),t(e,82,0,"aircraftIcao"),t(e,95,0,"aircraftCallsign"),t(e,108,0,"origin"),t(e,121,0,"state"),t(e,134,0,"oldIcaoTypeCode"),t(e,147,0,"newIcaoTypeCode"),t(e,160,0,"oldRegistration"),t(e,173,0,"newRegistration"),t(e,185,0,n.displayedColumns),t(e,188,0,n.displayedColumns),t(e,191,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0)}),(function(t,e){t(e,4,0,i.Pb(e,8).ngClassUntouched,i.Pb(e,8).ngClassTouched,i.Pb(e,8).ngClassPristine,i.Pb(e,8).ngClassDirty,i.Pb(e,8).ngClassValid,i.Pb(e,8).ngClassInvalid,i.Pb(e,8).ngClassPending),t(e,9,1,["standard"==i.Pb(e,10).appearance,"fill"==i.Pb(e,10).appearance,"outline"==i.Pb(e,10).appearance,"legacy"==i.Pb(e,10).appearance,i.Pb(e,10)._control.errorState,i.Pb(e,10)._canLabelFloat,i.Pb(e,10)._shouldLabelFloat(),i.Pb(e,10)._hasFloatingLabel(),i.Pb(e,10)._hideControlPlaceholder(),i.Pb(e,10)._control.disabled,i.Pb(e,10)._control.autofilled,i.Pb(e,10)._control.focused,"accent"==i.Pb(e,10).color,"warn"==i.Pb(e,10).color,i.Pb(e,10)._shouldForward("untouched"),i.Pb(e,10)._shouldForward("touched"),i.Pb(e,10)._shouldForward("pristine"),i.Pb(e,10)._shouldForward("dirty"),i.Pb(e,10)._shouldForward("valid"),i.Pb(e,10)._shouldForward("invalid"),i.Pb(e,10)._shouldForward("pending"),!i.Pb(e,10)._animationsEnabled]),t(e,20,1,[i.Pb(e,22)._datepicker?"dialog":null,(null==i.Pb(e,22)._datepicker?null:i.Pb(e,22)._datepicker.opened)&&i.Pb(e,22)._datepicker.id||null,i.Pb(e,22).min?i.Pb(e,22)._dateAdapter.toIso8601(i.Pb(e,22).min):null,i.Pb(e,22).max?i.Pb(e,22)._dateAdapter.toIso8601(i.Pb(e,22).max):null,i.Pb(e,22).disabled,i.Pb(e,27).ngClassUntouched,i.Pb(e,27).ngClassTouched,i.Pb(e,27).ngClassPristine,i.Pb(e,27).ngClassDirty,i.Pb(e,27).ngClassValid,i.Pb(e,27).ngClassInvalid,i.Pb(e,27).ngClassPending,i.Pb(e,29)._isServer,i.Pb(e,29).id,i.Pb(e,29).placeholder,i.Pb(e,29).disabled,i.Pb(e,29).required,i.Pb(e,29).readonly&&!i.Pb(e,29)._isNativeSelect||null,i.Pb(e,29)._ariaDescribedby||null,i.Pb(e,29).errorState,i.Pb(e,29).required.toString()]),t(e,31,0,-1,i.Pb(e,32).datepicker&&i.Pb(e,32).datepicker.opened,i.Pb(e,32).datepicker&&"accent"===i.Pb(e,32).datepicker.color,i.Pb(e,32).datepicker&&"warn"===i.Pb(e,32).datepicker.color),t(e,37,1,["standard"==i.Pb(e,38).appearance,"fill"==i.Pb(e,38).appearance,"outline"==i.Pb(e,38).appearance,"legacy"==i.Pb(e,38).appearance,i.Pb(e,38)._control.errorState,i.Pb(e,38)._canLabelFloat,i.Pb(e,38)._shouldLabelFloat(),i.Pb(e,38)._hasFloatingLabel(),i.Pb(e,38)._hideControlPlaceholder(),i.Pb(e,38)._control.disabled,i.Pb(e,38)._control.autofilled,i.Pb(e,38)._control.focused,"accent"==i.Pb(e,38).color,"warn"==i.Pb(e,38).color,i.Pb(e,38)._shouldForward("untouched"),i.Pb(e,38)._shouldForward("touched"),i.Pb(e,38)._shouldForward("pristine"),i.Pb(e,38)._shouldForward("dirty"),i.Pb(e,38)._shouldForward("valid"),i.Pb(e,38)._shouldForward("invalid"),i.Pb(e,38)._shouldForward("pending"),!i.Pb(e,38)._animationsEnabled]),t(e,48,1,[i.Pb(e,50)._datepicker?"dialog":null,(null==i.Pb(e,50)._datepicker?null:i.Pb(e,50)._datepicker.opened)&&i.Pb(e,50)._datepicker.id||null,i.Pb(e,50).min?i.Pb(e,50)._dateAdapter.toIso8601(i.Pb(e,50).min):null,i.Pb(e,50).max?i.Pb(e,50)._dateAdapter.toIso8601(i.Pb(e,50).max):null,i.Pb(e,50).disabled,i.Pb(e,55).ngClassUntouched,i.Pb(e,55).ngClassTouched,i.Pb(e,55).ngClassPristine,i.Pb(e,55).ngClassDirty,i.Pb(e,55).ngClassValid,i.Pb(e,55).ngClassInvalid,i.Pb(e,55).ngClassPending,i.Pb(e,57)._isServer,i.Pb(e,57).id,i.Pb(e,57).placeholder,i.Pb(e,57).disabled,i.Pb(e,57).required,i.Pb(e,57).readonly&&!i.Pb(e,57)._isNativeSelect||null,i.Pb(e,57)._ariaDescribedby||null,i.Pb(e,57).errorState,i.Pb(e,57).required.toString()]),t(e,59,0,-1,i.Pb(e,60).datepicker&&i.Pb(e,60).datepicker.opened,i.Pb(e,60).datepicker&&"accent"===i.Pb(e,60).datepicker.color,i.Pb(e,60).datepicker&&"warn"===i.Pb(e,60).datepicker.color),t(e,68,0,i.Pb(e,69).disabled||null,"NoopAnimations"===i.Pb(e,69)._animationMode)}))}n("/Mhs");const Ir=["matchKey","modeS","icaoTypeCode","registration","manufacturer","type","serialNo","engines","registeredOwners","totalHours","yearBuilt","userTags","operatorIcao","modeSDec","material","oiseauMarque","countryCodeIso3","homeAerodromeDGAC","addressOwnerDGAC"],Lr=["icao","iata","name","location","country","longitude","latitude","altitude","isPlot","type"];class jr{constructor(t,e,n){this.fb=t,this.vehicleService=e,this.stopPointService=n,this.allTables=["vehicle","stop_point"],this.tableName=this.allTables[0],this.csvFieldsArray=["un","deux"],this.progressRequest="",this.importReponse=void 0}ngOnInit(){this.uploadForm=new w.j({file:new w.g(null,[w.w.required]),override:new w.g(!0,[w.w.required]),delimiter:new w.g(",",[w.w.required]),fields:this.fb.array([]),fileSource:new w.g(null,[w.w.required])})}changeTable(t){this.fileInput.nativeElement.value="",this.uploadForm.patchValue({fileSource:null,file:null}),this.uploadForm.controls.fields.clear(),this.csvFieldsArray=[],this.importReponse=void 0}getFieldsForm(){return this.uploadForm.get("fields")}onFileChange(t){t.target.files.length>0&&this.uploadForm.patchValue({fileSource:t.target.files[0]}),this.uploadForm.controls.fields.clear(),this.csvFieldsArray=[];const e="vehicle"===this.tableName?Ir:Lr;for(const l of e)this.addFieldsForm(l);const n=new FileReader;n.onload=()=>{const t=n.result.toString();this.csvFieldsArray=t.split("\n").shift().split(this.uploadForm.value.delimiter)},n.readAsText(this.uploadForm.value.fileSource,"UTF-8")}addFieldsForm(t){this.uploadForm.controls.fields.push(this.fb.group({field:t,value:""}))}importCsv(){const t={file:this.uploadForm.value.fileSource,fields:this.uploadForm.value.fields.filter(t=>""!==t.value).map(t=>t.value+":"+t.field),delimiter:this.uploadForm.value.delimiter,override:this.uploadForm.value.override};this.progressRequest="import",this.selectEntityRouteImport(t).subscribe(t=>{this.progressRequest="",this.importReponse={success:!!t.success,msg:t.success?"Import success":t.error}})}selectEntityRouteImport(t){return"vehicle"===this.tableName?this.vehicleService.vehicleControllerImportCsv({body:t}):"stop_point"===this.tableName?this.stopPointService.stopPointControllerImportCsv({body:t}):void 0}exportCsv(){this.progressRequest="export",this.selectEntityRouteExport().subscribe(t=>{this.progressRequest="",this.downLoadFile(t,"application/csv")})}selectEntityRouteExport(){return"vehicle"===this.tableName?this.vehicleService.vehicleControllerExportCsv():"stop_point"===this.tableName?this.stopPointService.stopPointControllerExportCsv():void 0}downLoadFile(t,e){const n=new Blob([t],{type:e}),l=window.URL.createObjectURL(n),i=document.createElement("a");i.download=this.tableName+"_export.csv",i.href=l,i.click()}}var Rr=i.Bb({encapsulation:0,styles:[[".import-export-csv[_ngcontent-%COMP%]{padding:5px}hr[_ngcontent-%COMP%]{border-top:1px solid #aaa}.import-csv-fields[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.alert[_ngcontent-%COMP%]{padding:5px;margin:5px;border-radius:3px}.error[_ngcontent-%COMP%]{background:#fae6e6;border:3px solid #c00}.success[_ngcontent-%COMP%]{background:#dfd;border:3px solid #4caf50}.input-operator[_ngcontent-%COMP%]{width:50px}"]],data:{}});function Fr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[11,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function Nr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,E.d,E.b)),i.Cb(1,114688,null,0,I.d,[i.p,C.a,[2,y.d],[2,h.a],I.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,i.Pb(e,1)._noopAnimations,i.Pb(e,1).diameter,i.Pb(e,1).diameter)}))}function Yr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[44,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function Ur(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,33,"div",[["class","form-inline"],["formArrayName","fields"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),i.Cb(1,212992,null,0,w.e,[[3,w.c],[8,null],[8,null]],{name:[0,"name"]},null),i.Tb(2048,null,w.c,null,[w.e]),i.Cb(3,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(4,0,null,null,29,null,null,null,null,null,null,null)),i.Cb(5,212992,null,0,w.l,[[3,w.c],[8,null],[8,null]],{name:[0,"name"]},null),i.Tb(2048,null,w.c,null,[w.l]),i.Cb(7,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(8,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(9,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,35,{_controlNonStatic:0}),i.Ub(335544320,36,{_controlStatic:0}),i.Ub(603979776,37,{_labelChildNonStatic:0}),i.Ub(335544320,38,{_labelChildStatic:0}),i.Ub(603979776,39,{_placeholderChild:0}),i.Ub(603979776,40,{_errorChildren:1}),i.Ub(603979776,41,{_hintChildren:1}),i.Ub(603979776,42,{_prefixChildren:1}),i.Ub(603979776,43,{_suffixChildren:1}),(t()(),i.Db(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(20,16384,[[37,4],[38,4]],0,v.f,[],null,null),(t()(),i.Wb(21,null,[" "," "])),(t()(),i.Db(22,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","value"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,27)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,27)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,27)._onBlur()&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(24,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[8,null],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(26,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(27,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],{placeholder:[0,"placeholder"]},null),i.Ub(603979776,44,{options:1}),i.Ub(603979776,45,{optionGroups:1}),i.Ub(603979776,46,{customTrigger:0}),i.Tb(2048,[[35,4],[36,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Yr)),i.Cb(33,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"fields"),t(e,5,0,e.context.index),t(e,9,0,"outline"),t(e,24,0,"value"),t(e,27,0,i.Hb(1,"",e.context.$implicit.value.field,"")),t(e,33,0,n.csvFieldsArray)}),(function(t,e){t(e,0,0,i.Pb(e,3).ngClassUntouched,i.Pb(e,3).ngClassTouched,i.Pb(e,3).ngClassPristine,i.Pb(e,3).ngClassDirty,i.Pb(e,3).ngClassValid,i.Pb(e,3).ngClassInvalid,i.Pb(e,3).ngClassPending),t(e,8,1,["standard"==i.Pb(e,9).appearance,"fill"==i.Pb(e,9).appearance,"outline"==i.Pb(e,9).appearance,"legacy"==i.Pb(e,9).appearance,i.Pb(e,9)._control.errorState,i.Pb(e,9)._canLabelFloat,i.Pb(e,9)._shouldLabelFloat(),i.Pb(e,9)._hasFloatingLabel(),i.Pb(e,9)._hideControlPlaceholder(),i.Pb(e,9)._control.disabled,i.Pb(e,9)._control.autofilled,i.Pb(e,9)._control.focused,"accent"==i.Pb(e,9).color,"warn"==i.Pb(e,9).color,i.Pb(e,9)._shouldForward("untouched"),i.Pb(e,9)._shouldForward("touched"),i.Pb(e,9)._shouldForward("pristine"),i.Pb(e,9)._shouldForward("dirty"),i.Pb(e,9)._shouldForward("valid"),i.Pb(e,9)._shouldForward("invalid"),i.Pb(e,9)._shouldForward("pending"),!i.Pb(e,9)._animationsEnabled]),t(e,21,0,e.context.$implicit.value.field),t(e,22,1,[i.Pb(e,26).ngClassUntouched,i.Pb(e,26).ngClassTouched,i.Pb(e,26).ngClassPristine,i.Pb(e,26).ngClassDirty,i.Pb(e,26).ngClassValid,i.Pb(e,26).ngClassInvalid,i.Pb(e,26).ngClassPending,i.Pb(e,27).id,i.Pb(e,27).tabIndex,i.Pb(e,27)._getAriaLabel(),i.Pb(e,27)._getAriaLabelledby(),i.Pb(e,27).required.toString(),i.Pb(e,27).disabled.toString(),i.Pb(e,27).errorState,i.Pb(e,27).panelOpen?i.Pb(e,27)._optionIds:null,i.Pb(e,27).multiple,i.Pb(e,27)._ariaDescribedby||null,i.Pb(e,27)._getAriaActiveDescendant(),i.Pb(e,27).disabled,i.Pb(e,27).errorState,i.Pb(e,27).required,i.Pb(e,27).empty])}))}function Br(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,E.d,E.b)),i.Cb(1,114688,null,0,I.d,[i.p,C.a,[2,y.d],[2,h.a],I.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,i.Pb(e,1)._noopAnimations,i.Pb(e,1).diameter,i.Pb(e,1).diameter)}))}function zr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-card",[["class","alert mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,Bi,Ui)),i.Tb(512,null,y.A,y.B,[i.y,i.z,i.p,i.M]),i.Cb(2,278528,null,0,y.l,[y.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Rb(3,{success:0,error:1}),i.Cb(4,49152,null,0,Yi.a,[[2,h.a]],null,null),(t()(),i.Db(5,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),i.Wb(6,null,["",""]))],(function(t,e){var n=e.component,l=t(e,3,0,n.importReponse.success,!n.importReponse.success);t(e,2,0,"alert",l)}),(function(t,e){var n=e.component;t(e,0,0,"NoopAnimations"===i.Pb(e,4)._animationMode),t(e,6,0,n.importReponse.msg)}))}function Gr(t){return i.Yb(0,[i.Ub(671088640,1,{fileInput:0}),(t()(),i.Db(1,0,null,null,107,"div",[["class","import-export-csv"]],null,null,null,null,null)),(t()(),i.Db(2,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(3,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,2,{_controlNonStatic:0}),i.Ub(335544320,3,{_controlStatic:0}),i.Ub(603979776,4,{_labelChildNonStatic:0}),i.Ub(335544320,5,{_labelChildStatic:0}),i.Ub(603979776,6,{_placeholderChild:0}),i.Ub(603979776,7,{_errorChildren:1}),i.Ub(603979776,8,{_hintChildren:1}),i.Ub(603979776,9,{_prefixChildren:1}),i.Ub(603979776,10,{_suffixChildren:1}),(t()(),i.Db(13,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(14,16384,[[4,4],[5,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Table"])),(t()(),i.Db(16,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,r=t.component;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"valueChange"===e&&(l=!1!==(r.tableName=n)&&l),"selectionChange"===e&&(l=!1!==r.changeTable(n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[8,null],[8,null],k.a,d.j],{disabled:[0,"disabled"],value:[1,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),i.Ub(603979776,11,{options:1}),i.Ub(603979776,12,{optionGroups:1}),i.Ub(603979776,13,{customTrigger:0}),i.Tb(2048,[[2,4],[3,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Fr)),i.Cb(24,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(25,0,null,null,7,"div",[["class","export-csv"]],null,null,null,null,null)),(t()(),i.sb(16777216,null,null,1,null,Nr)),i.Cb(27,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.Db(28,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.exportCsv()&&l),l}),u.b,u.a)),i.Cb(29,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,[" Export "])),(t()(),i.Db(31,0,null,0,1,"ion-icon",[["name","document"]],null,null,null,p.y,p.g)),i.Cb(32,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(33,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),i.Db(34,0,null,null,74,"div",[["class","import-csv"]],null,null,null,null,null)),(t()(),i.Db(35,0,null,null,73,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var l=!0,r=t.component;return"submit"===e&&(l=!1!==i.Pb(t,37).onSubmit(n)&&l),"reset"===e&&(l=!1!==i.Pb(t,37).onReset()&&l),"ngSubmit"===e&&(l=!1!==r.importCsv()&&l),l}),null,null)),i.Cb(36,16384,null,0,w.A,[],null,null),i.Cb(37,540672,null,0,w.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),i.Tb(2048,null,w.c,null,[w.k]),i.Cb(39,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(40,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),i.Db(41,0,[[1,0],["fileInput",1]],null,5,"input",[["accept",".csv"],["class","form-control"],["formControlName","file"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var l=!0,r=t.component;return"input"===e&&(l=!1!==i.Pb(t,42)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,42).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,42)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,42)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==r.onFileChange(n)&&l),l}),null,null)),i.Cb(42,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(44,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(46,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Db(47,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","input-delimiter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(48,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,14,{_controlNonStatic:0}),i.Ub(335544320,15,{_controlStatic:0}),i.Ub(603979776,16,{_labelChildNonStatic:0}),i.Ub(335544320,17,{_labelChildStatic:0}),i.Ub(603979776,18,{_placeholderChild:0}),i.Ub(603979776,19,{_errorChildren:1}),i.Ub(603979776,20,{_hintChildren:1}),i.Ub(603979776,21,{_prefixChildren:1}),i.Ub(603979776,22,{_suffixChildren:1}),(t()(),i.Db(58,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(59,16384,[[16,4],[17,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Del"])),(t()(),i.Db(61,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","delimiter"],["matInput",""],["placeholder","Del"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,62)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,62).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,62)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,62)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,67)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,67)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,67)._onInput()&&l),l}),null,null)),i.Cb(62,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(64,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(66,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(67,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[14,4],[15,4]],v.d,null,[P.b]),(t()(),i.Db(69,0,null,null,29,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(70,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,23,{_controlNonStatic:0}),i.Ub(335544320,24,{_controlStatic:0}),i.Ub(603979776,25,{_labelChildNonStatic:0}),i.Ub(335544320,26,{_labelChildStatic:0}),i.Ub(603979776,27,{_placeholderChild:0}),i.Ub(603979776,28,{_errorChildren:1}),i.Ub(603979776,29,{_hintChildren:1}),i.Ub(603979776,30,{_prefixChildren:1}),i.Ub(603979776,31,{_suffixChildren:1}),(t()(),i.Db(80,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(81,16384,[[25,4],[26,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,[" Override "])),(t()(),i.Db(83,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","override"],["matInput",""],["placeholder","Override"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,87)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,87)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,87)._onBlur()&&l),l}),S.b,S.a)),i.Cb(84,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[8,null],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(86,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(87,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],{placeholder:[0,"placeholder"]},null),i.Ub(603979776,32,{options:1}),i.Ub(603979776,33,{optionGroups:1}),i.Ub(603979776,34,{customTrigger:0}),i.Tb(2048,[[23,4],[24,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(93,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,94)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,94)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(94,8568832,[[32,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["Overwrite"])),(t()(),i.Db(96,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,97)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,97)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(97,8568832,[[32,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["If empty"])),(t()(),i.Db(99,0,null,null,2,"div",[["class","import-csv-fields"]],null,null,null,null,null)),(t()(),i.sb(16777216,null,null,1,null,Ur)),i.Cb(101,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.sb(16777216,null,null,1,null,Br)),i.Cb(103,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.sb(16777216,null,null,1,null,zr)),i.Cb(105,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.Db(106,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,u.b,u.a)),i.Cb(107,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,["Import"]))],(function(t,e){var n=e.component;t(e,18,0,""!=n.progressRequest,n.tableName),t(e,24,0,n.allTables),t(e,27,0,"export"==n.progressRequest),t(e,29,0,"warn"),t(e,32,0,"document"),t(e,37,0,n.uploadForm),t(e,44,0,"file"),t(e,48,0,"outline"),t(e,64,0,"delimiter"),t(e,67,0,"Del","text"),t(e,70,0,"outline"),t(e,84,0,"override"),t(e,87,0,"Override"),t(e,94,0,!0),t(e,97,0,!1),t(e,101,0,n.getFieldsForm().controls),t(e,103,0,"import"==n.progressRequest),t(e,105,0,n.importReponse),t(e,107,0,"warn")}),(function(t,e){t(e,2,1,["standard"==i.Pb(e,3).appearance,"fill"==i.Pb(e,3).appearance,"outline"==i.Pb(e,3).appearance,"legacy"==i.Pb(e,3).appearance,i.Pb(e,3)._control.errorState,i.Pb(e,3)._canLabelFloat,i.Pb(e,3)._shouldLabelFloat(),i.Pb(e,3)._hasFloatingLabel(),i.Pb(e,3)._hideControlPlaceholder(),i.Pb(e,3)._control.disabled,i.Pb(e,3)._control.autofilled,i.Pb(e,3)._control.focused,"accent"==i.Pb(e,3).color,"warn"==i.Pb(e,3).color,i.Pb(e,3)._shouldForward("untouched"),i.Pb(e,3)._shouldForward("touched"),i.Pb(e,3)._shouldForward("pristine"),i.Pb(e,3)._shouldForward("dirty"),i.Pb(e,3)._shouldForward("valid"),i.Pb(e,3)._shouldForward("invalid"),i.Pb(e,3)._shouldForward("pending"),!i.Pb(e,3)._animationsEnabled]),t(e,16,1,[i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,28,0,i.Pb(e,29).disabled||null,"NoopAnimations"===i.Pb(e,29)._animationMode),t(e,35,0,i.Pb(e,39).ngClassUntouched,i.Pb(e,39).ngClassTouched,i.Pb(e,39).ngClassPristine,i.Pb(e,39).ngClassDirty,i.Pb(e,39).ngClassValid,i.Pb(e,39).ngClassInvalid,i.Pb(e,39).ngClassPending),t(e,41,0,i.Pb(e,46).ngClassUntouched,i.Pb(e,46).ngClassTouched,i.Pb(e,46).ngClassPristine,i.Pb(e,46).ngClassDirty,i.Pb(e,46).ngClassValid,i.Pb(e,46).ngClassInvalid,i.Pb(e,46).ngClassPending),t(e,47,1,["standard"==i.Pb(e,48).appearance,"fill"==i.Pb(e,48).appearance,"outline"==i.Pb(e,48).appearance,"legacy"==i.Pb(e,48).appearance,i.Pb(e,48)._control.errorState,i.Pb(e,48)._canLabelFloat,i.Pb(e,48)._shouldLabelFloat(),i.Pb(e,48)._hasFloatingLabel(),i.Pb(e,48)._hideControlPlaceholder(),i.Pb(e,48)._control.disabled,i.Pb(e,48)._control.autofilled,i.Pb(e,48)._control.focused,"accent"==i.Pb(e,48).color,"warn"==i.Pb(e,48).color,i.Pb(e,48)._shouldForward("untouched"),i.Pb(e,48)._shouldForward("touched"),i.Pb(e,48)._shouldForward("pristine"),i.Pb(e,48)._shouldForward("dirty"),i.Pb(e,48)._shouldForward("valid"),i.Pb(e,48)._shouldForward("invalid"),i.Pb(e,48)._shouldForward("pending"),!i.Pb(e,48)._animationsEnabled]),t(e,61,1,[i.Pb(e,66).ngClassUntouched,i.Pb(e,66).ngClassTouched,i.Pb(e,66).ngClassPristine,i.Pb(e,66).ngClassDirty,i.Pb(e,66).ngClassValid,i.Pb(e,66).ngClassInvalid,i.Pb(e,66).ngClassPending,i.Pb(e,67)._isServer,i.Pb(e,67).id,i.Pb(e,67).placeholder,i.Pb(e,67).disabled,i.Pb(e,67).required,i.Pb(e,67).readonly&&!i.Pb(e,67)._isNativeSelect||null,i.Pb(e,67)._ariaDescribedby||null,i.Pb(e,67).errorState,i.Pb(e,67).required.toString()]),t(e,69,1,["standard"==i.Pb(e,70).appearance,"fill"==i.Pb(e,70).appearance,"outline"==i.Pb(e,70).appearance,"legacy"==i.Pb(e,70).appearance,i.Pb(e,70)._control.errorState,i.Pb(e,70)._canLabelFloat,i.Pb(e,70)._shouldLabelFloat(),i.Pb(e,70)._hasFloatingLabel(),i.Pb(e,70)._hideControlPlaceholder(),i.Pb(e,70)._control.disabled,i.Pb(e,70)._control.autofilled,i.Pb(e,70)._control.focused,"accent"==i.Pb(e,70).color,"warn"==i.Pb(e,70).color,i.Pb(e,70)._shouldForward("untouched"),i.Pb(e,70)._shouldForward("touched"),i.Pb(e,70)._shouldForward("pristine"),i.Pb(e,70)._shouldForward("dirty"),i.Pb(e,70)._shouldForward("valid"),i.Pb(e,70)._shouldForward("invalid"),i.Pb(e,70)._shouldForward("pending"),!i.Pb(e,70)._animationsEnabled]),t(e,83,1,[i.Pb(e,86).ngClassUntouched,i.Pb(e,86).ngClassTouched,i.Pb(e,86).ngClassPristine,i.Pb(e,86).ngClassDirty,i.Pb(e,86).ngClassValid,i.Pb(e,86).ngClassInvalid,i.Pb(e,86).ngClassPending,i.Pb(e,87).id,i.Pb(e,87).tabIndex,i.Pb(e,87)._getAriaLabel(),i.Pb(e,87)._getAriaLabelledby(),i.Pb(e,87).required.toString(),i.Pb(e,87).disabled.toString(),i.Pb(e,87).errorState,i.Pb(e,87).panelOpen?i.Pb(e,87)._optionIds:null,i.Pb(e,87).multiple,i.Pb(e,87)._ariaDescribedby||null,i.Pb(e,87)._getAriaActiveDescendant(),i.Pb(e,87).disabled,i.Pb(e,87).errorState,i.Pb(e,87).required,i.Pb(e,87).empty]),t(e,93,0,i.Pb(e,94)._getTabIndex(),i.Pb(e,94).selected,i.Pb(e,94).multiple,i.Pb(e,94).active,i.Pb(e,94).id,i.Pb(e,94)._getAriaSelected(),i.Pb(e,94).disabled.toString(),i.Pb(e,94).disabled),t(e,96,0,i.Pb(e,97)._getTabIndex(),i.Pb(e,97).selected,i.Pb(e,97).multiple,i.Pb(e,97).active,i.Pb(e,97).id,i.Pb(e,97)._getAriaSelected(),i.Pb(e,97).disabled.toString(),i.Pb(e,97).disabled),t(e,106,0,i.Pb(e,107).disabled||null,"NoopAnimations"===i.Pb(e,107)._animationMode)}))}var Hr=n("Mc5n"),Vr=n("Rlre"),qr=n("rWV4"),Wr=n("fQr7");n.d(e,"a",(function(){return eo}));var $r=i.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}#close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}"]],data:{}});function Xr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"edition-db-dialog-database",[],null,null,null,Ni,ht)),i.Cb(1,4440064,null,0,et,[nt.a,lt.a,it.a,rt.a,ot.a,at.a,st.a,ut.a,ct.a,dt.a,Q.a,Z.a,X.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Kr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"edition-db-dialog-plan-vol",[],null,null,null,ar,qi)),i.Cb(1,114688,null,0,Gi,[w.f,Hi.a,Vi.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Jr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"vehicle-log",[],null,null,null,Er,pr)),i.Cb(1,114688,null,0,dr,[hr.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Qr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"import-export-csv",[],null,null,null,Gr,Rr)),i.Cb(1,114688,null,0,jr,[w.f,ot.a,nt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Zr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"ion-icon",[["id","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),p.y,p.g)),i.Cb(1,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(2,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","db-edit"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),i.Cb(3,4866048,null,3,Hr.c,[i.p,[3,Hr.b],y.d,i.G,i.Y,Hr.a,[2,g.b],Hr.g,i.j],{rootElementSelector:[0,"rootElementSelector"]},null),i.Ub(603979776,1,{_handles:1}),i.Ub(603979776,2,{_previewTemplate:0}),i.Ub(603979776,3,{_placeholderTemplate:0}),i.Tb(2048,null,Hr.l,null,[Hr.c]),i.Cb(8,147456,[[1,4]],0,Hr.d,[i.p,[2,Hr.l]],null,null),i.Cb(9,81920,null,0,L.m,[[2,L.l],i.p,L.e],{id:[0,"id"]},null),(t()(),i.Wb(-1,null,["DATABASE EDITION"])),(t()(),i.Db(11,0,null,null,26,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,Vr.c,Vr.b)),i.Cb(12,3325952,null,1,qr.g,[i.p,i.j,[2,qr.a],[2,h.a]],null,null),i.Ub(603979776,4,{_tabs:1}),(t()(),i.Db(14,16777216,null,null,5,"mat-tab",[["label","Edit database"]],null,null,null,Vr.d,Vr.a)),i.Cb(15,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,5,{templateLabel:0}),i.Ub(335544320,6,{_explicitContent:0}),(t()(),i.sb(0,[[6,2]],0,1,null,Xr)),i.Cb(19,16384,null,0,qr.f,[i.U],null,null),(t()(),i.Db(20,16777216,null,null,5,"mat-tab",[["label","Upload flight plans"]],null,null,null,Vr.d,Vr.a)),i.Cb(21,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,7,{templateLabel:0}),i.Ub(335544320,8,{_explicitContent:0}),(t()(),i.sb(0,[[8,2]],0,1,null,Kr)),i.Cb(25,16384,null,0,qr.f,[i.U],null,null),(t()(),i.Db(26,16777216,null,null,5,"mat-tab",[["label","Vehicle logs"]],null,null,null,Vr.d,Vr.a)),i.Cb(27,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,9,{templateLabel:0}),i.Ub(335544320,10,{_explicitContent:0}),(t()(),i.sb(0,[[10,2]],0,1,null,Jr)),i.Cb(31,16384,null,0,qr.f,[i.U],null,null),(t()(),i.Db(32,16777216,null,null,5,"mat-tab",[["label","Import / Export"]],null,null,null,Vr.d,Vr.a)),i.Cb(33,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,11,{templateLabel:0}),i.Ub(335544320,12,{_explicitContent:0}),(t()(),i.sb(0,[[12,2]],0,1,null,Qr)),i.Cb(37,16384,null,0,qr.f,[i.U],null,null)],(function(t,e){t(e,1,0,"close"),t(e,3,0,".cdk-overlay-pane"),t(e,9,0,"db-edit"),t(e,15,0,"Edit database"),t(e,21,0,"Upload flight plans"),t(e,27,0,"Vehicle logs"),t(e,33,0,"Import / Export")}),(function(t,e){t(e,2,0,i.Pb(e,3).disabled,i.Pb(e,3)._dragRef.isDragging(),i.Pb(e,9).id),t(e,11,0,i.Pb(e,12).dynamicHeight,"below"===i.Pb(e,12).headerPosition)}))}function to(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"edition-db-dialog",[],null,null,null,Zr,$r)),i.Cb(1,49152,null,0,Wr.a,[L.l],null,null)],null,null)}var eo=i.zb("edition-db-dialog",Wr.a,to,{},{},[])},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),l=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"30zj":function(t,e,n){"use strict";e.a={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source"}},"33Yk":function(t,e,n){var l,i,r;i=[n("d5dl"),n("rvMw"),n("Vq53"),n("N14p"),n("UJLV")],void 0===(r="function"==typeof(l=function(t,e,n,l,i){"use strict";function r(t){var l=n(t);return e(l)}function o(e){var l,o;return l=n(e),o=r(e),l.zoneLetter<"N"&&(o.northing-=t.NORTHING_OFFSET),i.toLatLong(o.northing,o.easting,l.zoneNumber)}return e=e(t),n=n(t),{toUtm:r,toLatLong:o,isUsng:l=l(t),getConverter:function(t){var e;switch(t.toLowerCase()){case"utm":e=r;break;case"latlong":e=o}return e},parseUsng:n}})?l.apply(e,i):l)||(t.exports=r)},"3Cew":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("Mc5n"),a=n("SVse"),s=n("IP0z"),u=n("s6ns"),c=n("NvT6"),d=n("W5yJ"),h=n("/HVE"),p=n("omvX"),f=n("6UMx"),b=n("Q+lL"),m=n("dJrM"),g=n("HsOI"),_=n("Xd0L"),y=n("ZwOa"),A=n("s7LF"),v=n("oapL"),C=n("b1+6"),w=n("OIZN"),P=n("xgIS"),x=n("Kj3r"),S=n("/uUt"),k=n("vkgz"),M=(n("G0WM"),n("oeKZ"));class O{constructor(t,e){this.keycloakService=t,this.notificationService=e,this.selectNotif=new l.r,this.pager={pageSize:25,pageIndex:0,lenght:0}}ngOnInit(){this.getNotifications()}ngAfterViewInit(){Object(P.a)(this.filter.nativeElement,"keyup").pipe(Object(x.a)(300),Object(S.a)(),Object(k.a)(t=>{this.getNotifications()})).subscribe()}changePage(t){this.pager.pageIndex=t.pageIndex,this.getNotifications()}getNotifications(){const t={page:this.pager.pageIndex+1,limit:this.pager.pageSize,sort:["createdAt,DESC"],join:["type","type.userListening||id"],filter:["type.userListening.id||eq||"+this.keycloakService.client().subject]};this.filter.nativeElement.value&&(t.or=["type.name||cont||"+this.filter.nativeElement.value,"aircraftIcao||cont||"+this.filter.nativeElement.value]),this.notificationService.getManyBaseNotificationControllerNotification(t).subscribe(t=>{this.notifications=t.data,this.pager.lenght=t.total})}goToNotif(t){this.selectNotif.emit(t)}}var D=n("Vgg8"),T=l.Bb({encapsulation:0,styles:[[".notifications-filter[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between} .mat-list-item.red{background-color:#ffd0c6} .mat-list-item-content{border-bottom:1px solid #ddd} .mat-list-item-content .notification-card{display:flex;justify-content:space-between;align-items:center;width:100%} .mat-list-item-content .notification-card .notification-card-main{display:flex;align-items:center} .mat-list-item-content .notification-card .notification-card-main .pastil-color{height:25px;width:25px;border-radius:50%;margin-right:10px} .mat-list-item-content .notification-card .notification-card-main .notification-card-title h5{margin:0;color:var(--ion-color-primary)} .mat-list-item-content .notification-card .notification-card-main .notification-card-title p{margin:0;color:#666} .mat-list-item-content .notification-card .notification-card-status{display:flex} .mat-list-item-content .notification-card .notification-card-status p{margin:2px} .mat-list-item-content .notification-card .notification-card-status .point-color{height:5px;width:5px;border-radius:50%} .mat-list-item-content .notification-card .notification-card-status .point-green{background-color:green} .mat-list-item-content .notification-card .notification-card-status .point-red{background-color:red}"]],data:{}});function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,c.c,c.a)),l.Cb(2,114688,null,0,d.b,[l.p,h.a,[2,a.d],[2,p.a],d.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-green"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["En cours"]))],null,null)}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-red"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Fini"]))],null,null)}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToNotif(t.context.$implicit)&&l),l}),f.d,f.b)),l.Cb(1,1228800,null,3,b.b,[l.p,l.j,[2,b.e],[2,b.a]],null,null),l.Ub(603979776,12,{_lines:1}),l.Ub(603979776,13,{_avatar:0}),l.Ub(603979776,14,{_icon:0}),(t()(),l.Db(5,0,null,2,15,"div",[["class","notification-card"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,9,"div",[["class","notification-card-main"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(9,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(10,{"background-color":0}),(t()(),l.Db(11,0,null,null,4,"div",[["class","notification-card-title"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(13,null,[" "," "])),(t()(),l.Db(14,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(15,null,[" "," "])),(t()(),l.Db(16,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,I)),l.Cb(18,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=t(e,10,0,e.context.$implicit.type.color);t(e,9,0,n),t(e,18,0,!e.context.$implicit.endAt),t(e,20,0,e.context.$implicit.endAt)}),(function(t,e){t(e,0,0,l.Pb(e,1)._avatar||l.Pb(e,1)._icon,l.Pb(e,1)._avatar||l.Pb(e,1)._icon),t(e,13,0,e.context.$implicit.type.name),t(e,15,0,e.context.$implicit.aircraftIcao)}))}function R(t){return l.Yb(0,[l.Ub(402653184,1,{filter:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,18,"div",[["class","notifications-filter"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(4,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(14,0,[[1,0],["filter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==l.Pb(t,15)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,15)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,15)._onInput()&&i),i}),null,null)),l.Cb(15,999424,null,0,y.b,[l.p,h.a,[8,null],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],g.d,null,[y.b]),(t()(),l.Db(17,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.getNotifications()&&l),l}),i.u,i.c)),l.Cb(18,49152,null,0,r.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(19,0,null,0,1,"ion-icon",[["name","refresh"]],null,null,null,i.y,i.g)),l.Cb(20,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(21,0,null,null,5,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,f.f,f.c)),l.Cb(22,704512,null,0,b.e,[],null,null),(t()(),l.sb(16777216,null,0,1,null,E)),l.Cb(24,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,j)),l.Cb(26,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),C.b,C.a)),l.Cb(28,245760,[[2,4]],0,w.b,[w.c,l.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"})],(function(t,e){var n=e.component;t(e,4,0,"outline"),t(e,15,0,"Search"),t(e,18,0,"primary"),t(e,20,0,"refresh"),t(e,24,0,!n.notifications),t(e,26,0,n.notifications),t(e,28,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0)}),(function(t,e){t(e,3,1,["standard"==l.Pb(e,4).appearance,"fill"==l.Pb(e,4).appearance,"outline"==l.Pb(e,4).appearance,"legacy"==l.Pb(e,4).appearance,l.Pb(e,4)._control.errorState,l.Pb(e,4)._canLabelFloat,l.Pb(e,4)._shouldLabelFloat(),l.Pb(e,4)._hasFloatingLabel(),l.Pb(e,4)._hideControlPlaceholder(),l.Pb(e,4)._control.disabled,l.Pb(e,4)._control.autofilled,l.Pb(e,4)._control.focused,"accent"==l.Pb(e,4).color,"warn"==l.Pb(e,4).color,l.Pb(e,4)._shouldForward("untouched"),l.Pb(e,4)._shouldForward("touched"),l.Pb(e,4)._shouldForward("pristine"),l.Pb(e,4)._shouldForward("dirty"),l.Pb(e,4)._shouldForward("valid"),l.Pb(e,4)._shouldForward("invalid"),l.Pb(e,4)._shouldForward("pending"),!l.Pb(e,4)._animationsEnabled]),t(e,14,0,l.Pb(e,15)._isServer,l.Pb(e,15).id,l.Pb(e,15).placeholder,l.Pb(e,15).disabled,l.Pb(e,15).required,l.Pb(e,15).readonly&&!l.Pb(e,15)._isNativeSelect||null,l.Pb(e,15)._ariaDescribedby||null,l.Pb(e,15).errorState,l.Pb(e,15).required.toString())}))}var F=n("8rEH"),N=n("zQui"),Y=n("Z5h4"),U=n("r0V8"),B=n("5GAg"),z=n("bujt"),G=n("Fwaw"),H=n("gavF"),V=n("QQfA"),q=n("2Q+G"),W=n("pIm3"),$=n("Azqq"),X=n("JjoW"),K=n("hOhj"),J=n("MlvX"),Q=n("/Co4"),Z=n("Rn7m"),tt=n("JX91"),et=n("eIep"),nt=n("lJxs"),lt=n("JIr8"),it=n("LRne");class rt{constructor(t,e){this.squawkService=t,this.notificationTypeSquawkService=e,this.refreshNotificationType=new l.r,this.squawkAutoComplete$=null,this.squawkAutoCompleteControl=new A.g,this.displayedColumns=["squawk","operation"],this.dataSource=new F.l}ngOnInit(){if(this.notificationTypeSquawk.squawkIds.length){const t={filter:["id||in||"+this.notificationTypeSquawk.squawkIds.join(",")]};this.squawkService.getManyBaseSquawkControllerSquawk(t).subscribe(t=>{console.log(t),this.dataSource.data=t.data})}this.squawkForm=new A.j({squawk:this.squawkAutoCompleteControl})}ngAfterViewInit(){this.squawkAutoComplete$=this.squawkAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupSquawk(t):Object(it.a)(null)))}lookupSquawk(t){return this.squawkService.getManyBaseSquawkControllerSquawk({filter:["squawk||cont||"+t],limit:10}).pipe(Object(nt.a)(t=>t.data),Object(lt.a)(t=>Object(it.a)(null)))}displaySquawk(t){return t?t.squawk:""}submitSquawk(){const t=this.squawkForm.value.squawk;if(t.id&&!this.notificationTypeSquawk.squawkIds.includes(t.id)){const e={id:this.notificationTypeSquawk.id,body:{squawks:this.notificationTypeSquawk.squawkIds.concat([t.id]).map(t=>({id:t}))}};this.notificationTypeSquawkService.updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(e).subscribe(e=>{this.notificationTypeSquawk=e,this.refreshNotificationType.emit(this.notificationTypeSquawk),this.dataSource.data=this.dataSource.data.concat([t])})}}deleteSquawk(t){const e={id:this.notificationTypeSquawk.id,body:{squawks:this.notificationTypeSquawk.squawkIds.filter(e=>e!==t.id).map(t=>({id:t}))}};this.notificationTypeSquawkService.updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(e).subscribe(e=>{this.notificationTypeSquawk=e,this.refreshNotificationType.emit(this.notificationTypeSquawk),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}}var ot=n("AjEG"),at=n("nmM0"),st=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.squawk)}))}function ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Squawk "]))],null,null)}function dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.squawk)}))}function ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteSquawk(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function mt(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitSquawk()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Squawk"],["title","Squawk"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,17)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,18)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,18)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,18)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,23)._onInput()&&i),i}),null,null)),l.Cb(17,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(18,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(20,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(25,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(27,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,ut)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(33,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(34,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(36,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(38,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(43,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(45,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,ct)),l.Cb(51,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,dt)),l.Cb(54,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(56,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(58,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,ht)),l.Cb(64,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,pt)),l.Cb(67,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,ft)),l.Cb(70,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,bt)),l.Cb(73,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,2,0,n.squawkForm),t(e,6,0,"outline"),t(e,18,0,l.Pb(e,27)),t(e,20,0,n.squawkAutoCompleteControl),t(e,23,0,"Squawk","text"),t(e,27,0,n.displaySquawk,""),t(e,31,0,l.Xb(e,31,0,l.Pb(e,32).transform(n.squawkAutoComplete$))),t(e,34,0,"primary"),t(e,38,0,n.dataSource),t(e,45,0,"squawk"),t(e,58,0,"operation"),t(e,70,0,n.displayedColumns),t(e,73,0,n.displayedColumns)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,1,[l.Pb(e,18).autocompleteAttribute,l.Pb(e,18).autocompleteDisabled?null:"combobox",l.Pb(e,18).autocompleteDisabled?null:"list",l.Pb(e,18).panelOpen&&l.Pb(e,18).activeOption?l.Pb(e,18).activeOption.id:null,l.Pb(e,18).autocompleteDisabled?null:l.Pb(e,18).panelOpen.toString(),l.Pb(e,18).autocompleteDisabled||!l.Pb(e,18).panelOpen||null==l.Pb(e,18).autocomplete?null:l.Pb(e,18).autocomplete.id,!l.Pb(e,18).autocompleteDisabled,l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23)._isServer,l.Pb(e,23).id,l.Pb(e,23).placeholder,l.Pb(e,23).disabled,l.Pb(e,23).required,l.Pb(e,23).readonly&&!l.Pb(e,23)._isNativeSelect||null,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23).errorState,l.Pb(e,23).required.toString()]),t(e,33,0,l.Pb(e,34).disabled||null,"NoopAnimations"===l.Pb(e,34)._animationMode)}))}var gt=n("lT8R"),_t=(n("cUpR"),l.Bb({encapsulation:2,styles:[".mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:0;vertical-align:middle}.mat-slider.mat-slider-sliding:not(.mat-slider-disabled),.mat-slider:not(.mat-slider-disabled):active{cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(.7);transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),border-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform .4s cubic-bezier(.25,.8,.25,1),border-radius .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}@media (-ms-high-contrast:active){.mat-slider-thumb-label{outline:solid 1px}}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-sliding .mat-slider-thumb-container,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-track-fill{transition-duration:0s}.mat-slider-has-ticks .mat-slider-wrapper::after{content:'';position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}@media (-ms-high-contrast:active){.mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}@media (-ms-high-contrast:active){.mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-track-fill{transition:none}"],data:{}}));function yt(t){return l.Yb(2,[l.Ub(671088640,1,{_sliderWrapper:0}),(t()(),l.Db(1,0,[[1,0],["sliderWrapper",1]],null,21,"div",[["class","mat-slider-wrapper"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,6,"div",[["class","mat-slider-track-wrapper"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"div",[["class","mat-slider-track-background"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(5,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(6,0,null,null,2,"div",[["class","mat-slider-track-fill"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(8,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(9,0,null,null,5,"div",[["class","mat-slider-ticks-container"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(11,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(12,0,null,null,2,"div",[["class","mat-slider-ticks"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(14,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(15,0,null,null,7,"div",[["class","mat-slider-thumb-container"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(17,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(18,0,null,null,0,"div",[["class","mat-slider-focus-ring"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,0,"div",[["class","mat-slider-thumb"]],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,2,"div",[["class","mat-slider-thumb-label"]],null,null,null,null,null)),(t()(),l.Db(21,0,null,null,1,"span",[["class","mat-slider-thumb-label-text"]],null,null,null,null,null)),(t()(),l.Wb(22,null,["",""]))],(function(t,e){var n=e.component;t(e,5,0,n._trackBackgroundStyles),t(e,8,0,n._trackFillStyles),t(e,11,0,n._ticksContainerStyles),t(e,14,0,n._ticksStyles),t(e,17,0,n._thumbContainerStyles)}),(function(t,e){t(e,22,0,e.component.displayValue)}))}class At{constructor(t,e,n){this.collectionService=t,this.notificationTypeProhibitedAreaService=e,this.notificationTypePredictionProhibitedAreaService=n,this.refreshNotificationType=new l.r,this.collectionAutoComplete$=null,this.collectionAutoCompleteControl=new A.g,this.displayedColumns=["name","operation"],this.dataSource=new F.l}ngOnInit(){if("prediction_prohibited_area"===this.notificationTypeProhibitedArea.type&&(this.pourcentForm=new A.j({pourcentage:new A.g(this.notificationTypeProhibitedArea?this.notificationTypeProhibitedArea.pourcentage:.8)})),this.notificationTypeProhibitedArea.collectionIds.length){const t={filter:["id||in||"+this.notificationTypeProhibitedArea.collectionIds.join(",")]};this.collectionService.getManyBaseCollectionControllerCollection(t).subscribe(t=>{console.log("COLLECTION",t),this.dataSource.data=t})}this.collectionForm=new A.j({collection:this.collectionAutoCompleteControl})}ngAfterViewInit(){this.collectionAutoComplete$=this.collectionAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupCollection(t):Object(it.a)(null)))}lookupCollection(t){return this.collectionService.getManyBaseCollectionControllerCollection({filter:["name||cont||"+t],limit:10}).pipe(Object(lt.a)(t=>Object(it.a)(null)))}displayCollection(t){return console.log(t),t?t.name:""}submitCollection(){const t=this.collectionForm.value.collection;if(t.id&&!this.notificationTypeProhibitedArea.collectionIds.includes(t.id)){const e={id:this.notificationTypeProhibitedArea.id,body:{collections:this.notificationTypeProhibitedArea.collectionIds.concat([t.id]).map(t=>({id:t}))}};"prohibited_area"===this.notificationTypeProhibitedArea.type?this.notificationTypeProhibitedAreaService.updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.concat([t])}):"prediction_prohibited_area"===this.notificationTypeProhibitedArea.type&&this.notificationTypePredictionProhibitedAreaService.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.concat([t])})}}deleteCollection(t){const e={id:this.notificationTypeProhibitedArea.id,body:{collections:this.notificationTypeProhibitedArea.collectionIds.filter(e=>e!==t.id).map(t=>({id:t}))}};"prohibited_area"===this.notificationTypeProhibitedArea.type?this.notificationTypeProhibitedAreaService.updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)}):"prediction_prohibited_area"===this.notificationTypeProhibitedArea.type&&this.notificationTypePredictionProhibitedAreaService.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}submitPourcentage(){const t={id:this.notificationTypeProhibitedArea.id,body:{pourcentage:this.pourcentForm.value.pourcentage}};console.log(t),this.notificationTypePredictionProhibitedAreaService.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t).subscribe(t=>{console.log("COUCOU",t),this.notificationTypeProhibitedArea=t,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea)})}}var vt=n("X0qu"),Ct=n("0Ceg"),wt=n("CJuc"),Pt=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}.slider-container[_ngcontent-%COMP%]{width:200px}.slider-container[_ngcontent-%COMP%] .mat-slider-horizontal[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitPourcentage()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,10,"div",[["class","slider-container"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,2,"mat-label",[],null,null,null,null,null)),l.Cb(7,16384,null,0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Pourcentage"])),(t()(),l.Db(9,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,5,"mat-slider",[["class","mat-slider"],["formControlName","pourcentage"],["max","1"],["min","0"],["role","slider"],["step","0.05"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-invert-mouse-coords",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"],[null,"selectstart"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,11)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,11)._onBlur()&&i),"mousedown"===e&&(i=!1!==l.Pb(t,11)._onMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,11)._onKeydown(n)&&i),"keyup"===e&&(i=!1!==l.Pb(t,11)._onKeyup()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,11)._onMouseenter()&&i),"slide"===e&&(i=!1!==l.Pb(t,11)._onSlide(n)&&i),"slideend"===e&&(i=!1!==l.Pb(t,11)._onSlideEnd()&&i),"slidestart"===e&&(i=!1!==l.Pb(t,11)._onSlideStart(n)&&i),"selectstart"===e&&(i=!1!==n.preventDefault()&&i),i}),yt,_t)),l.Cb(11,245760,null,0,gt.a,[l.p,B.h,l.j,[2,s.b],[8,null],[2,p.a]],{max:[0,"max"],min:[1,"min"],step:[2,"step"]},null),l.Tb(1024,null,A.o,(function(t){return[t]}),[gt.a]),l.Cb(13,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(15,16384,null,0,A.q,[[4,A.p]],null,null),(t()(),l.Db(16,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(17,180224,null,0,G.b,[l.p,B.h,[2,p.a]],null,null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){t(e,2,0,e.component.pourcentForm),t(e,11,0,"1","0","0.05"),t(e,13,0,"pourcentage")}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,10,1,[l.Pb(e,11).tabIndex,l.Pb(e,11).disabled,l.Pb(e,11).max,l.Pb(e,11).min,l.Pb(e,11).value,l.Pb(e,11).vertical?"vertical":"horizontal",l.Pb(e,11).disabled,l.Pb(e,11).tickInterval,!l.Pb(e,11).vertical,l.Pb(e,11)._invertAxis,l.Pb(e,11)._shouldInvertMouseCoords(),l.Pb(e,11)._isSliding,l.Pb(e,11).thumbLabel,l.Pb(e,11).vertical,l.Pb(e,11)._isMinValue,l.Pb(e,11).disabled||l.Pb(e,11)._isMinValue&&l.Pb(e,11)._thumbGap&&l.Pb(e,11)._invertAxis,"NoopAnimations"===l.Pb(e,11)._animationMode,l.Pb(e,15).ngClassUntouched,l.Pb(e,15).ngClassTouched,l.Pb(e,15).ngClassPristine,l.Pb(e,15).ngClassDirty,l.Pb(e,15).ngClassValid,l.Pb(e,15).ngClassInvalid,l.Pb(e,15).ngClassPending]),t(e,16,0,l.Pb(e,17).disabled||null,"NoopAnimations"===l.Pb(e,17)._animationMode)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Name "]))],null,null)}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteCollection(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function It(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,xt)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(2,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,4).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,4).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitCollection()&&i),i}),null,null)),l.Cb(3,16384,null,0,A.A,[],null,null),l.Cb(4,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(6,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(7,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(8,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(18,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Collection"],["title","collection"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,19)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,19).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,19)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,19)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,20)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,20)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,25)._onInput()&&i),i}),null,null)),l.Cb(19,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(20,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(22,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(24,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(25,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(27,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(29,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,St)),l.Cb(33,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(35,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(36,180224,null,0,G.b,[l.p,B.h,[2,p.a]],null,null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(38,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(40,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(45,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(47,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,kt)),l.Cb(53,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Mt)),l.Cb(56,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(58,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(60,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Ot)),l.Cb(66,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Dt)),l.Cb(69,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,Tt)),l.Cb(72,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(75,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,1,0,"prediction_prohibited_area"==n.notificationTypeProhibitedArea.type),t(e,4,0,n.collectionForm),t(e,8,0,"outline"),t(e,20,0,l.Pb(e,29)),t(e,22,0,n.collectionAutoCompleteControl),t(e,25,0,"Collection","text"),t(e,29,0,n.displayCollection,""),t(e,33,0,l.Xb(e,33,0,l.Pb(e,34).transform(n.collectionAutoComplete$))),t(e,40,0,n.dataSource),t(e,47,0,"name"),t(e,60,0,"operation"),t(e,72,0,n.displayedColumns),t(e,75,0,n.displayedColumns)}),(function(t,e){t(e,2,0,l.Pb(e,6).ngClassUntouched,l.Pb(e,6).ngClassTouched,l.Pb(e,6).ngClassPristine,l.Pb(e,6).ngClassDirty,l.Pb(e,6).ngClassValid,l.Pb(e,6).ngClassInvalid,l.Pb(e,6).ngClassPending),t(e,7,1,["standard"==l.Pb(e,8).appearance,"fill"==l.Pb(e,8).appearance,"outline"==l.Pb(e,8).appearance,"legacy"==l.Pb(e,8).appearance,l.Pb(e,8)._control.errorState,l.Pb(e,8)._canLabelFloat,l.Pb(e,8)._shouldLabelFloat(),l.Pb(e,8)._hasFloatingLabel(),l.Pb(e,8)._hideControlPlaceholder(),l.Pb(e,8)._control.disabled,l.Pb(e,8)._control.autofilled,l.Pb(e,8)._control.focused,"accent"==l.Pb(e,8).color,"warn"==l.Pb(e,8).color,l.Pb(e,8)._shouldForward("untouched"),l.Pb(e,8)._shouldForward("touched"),l.Pb(e,8)._shouldForward("pristine"),l.Pb(e,8)._shouldForward("dirty"),l.Pb(e,8)._shouldForward("valid"),l.Pb(e,8)._shouldForward("invalid"),l.Pb(e,8)._shouldForward("pending"),!l.Pb(e,8)._animationsEnabled]),t(e,18,1,[l.Pb(e,20).autocompleteAttribute,l.Pb(e,20).autocompleteDisabled?null:"combobox",l.Pb(e,20).autocompleteDisabled?null:"list",l.Pb(e,20).panelOpen&&l.Pb(e,20).activeOption?l.Pb(e,20).activeOption.id:null,l.Pb(e,20).autocompleteDisabled?null:l.Pb(e,20).panelOpen.toString(),l.Pb(e,20).autocompleteDisabled||!l.Pb(e,20).panelOpen||null==l.Pb(e,20).autocomplete?null:l.Pb(e,20).autocomplete.id,!l.Pb(e,20).autocompleteDisabled,l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25)._isServer,l.Pb(e,25).id,l.Pb(e,25).placeholder,l.Pb(e,25).disabled,l.Pb(e,25).required,l.Pb(e,25).readonly&&!l.Pb(e,25)._isNativeSelect||null,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25).errorState,l.Pb(e,25).required.toString()]),t(e,35,0,l.Pb(e,36).disabled||null,"NoopAnimations"===l.Pb(e,36)._animationMode)}))}class Lt{constructor(t){this.notificationTypeAltitudeVariationService=t,this.refreshNotificationType=new l.r}ngOnInit(){this.altitudeVariationForm=new A.j({operator:new A.g(this.notificationTypeAltitudeVariation?this.notificationTypeAltitudeVariation.operator:"<="),vsi:new A.g(this.notificationTypeAltitudeVariation?this.notificationTypeAltitudeVariation.vsi:-1e4)})}submitForm(){this.notificationTypeAltitudeVariationService.updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation({id:this.notificationTypeAltitudeVariation.id,body:{operator:this.altitudeVariationForm.value.operator,vsi:this.altitudeVariationForm.value.vsi}}).subscribe(t=>{this.notificationTypeAltitudeVariation=t,this.refreshNotificationType.emit(this.notificationTypeAltitudeVariation)})}}var jt=n("UrOv"),Rt=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function Ft(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,52,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitForm()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,32,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(17,16384,[[3,4],[4,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Operator"])),(t()(),l.Db(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,23)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._onBlur()&&i),i}),$.b,$.a)),l.Cb(20,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],null,null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],g.d,null,[X.c]),l.Tb(2048,null,_.l,null,[X.c]),(t()(),l.Db(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","=="]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,30)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,30)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(30,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Egale"])),(t()(),l.Db(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","<="]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,33)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,33)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(33,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Inferieur"])),(t()(),l.Db(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",">="]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,36)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,36)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(36,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Superieur"])),(t()(),l.Db(38,0,null,null,11,"div",[["class","slider-field"]],null,null,null,null,null)),(t()(),l.Db(39,0,null,null,1,"p",[["class","label"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VSI"])),(t()(),l.Db(41,0,null,null,8,"div",[["class","slider-input"]],null,null,null,null,null)),(t()(),l.Db(42,0,null,null,5,"mat-slider",[["class","mat-slider"],["formControlName","vsi"],["max","25000"],["min","-25000"],["role","slider"],["step","100"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-invert-mouse-coords",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"],[null,"selectstart"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,43)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,43)._onBlur()&&i),"mousedown"===e&&(i=!1!==l.Pb(t,43)._onMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,43)._onKeydown(n)&&i),"keyup"===e&&(i=!1!==l.Pb(t,43)._onKeyup()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,43)._onMouseenter()&&i),"slide"===e&&(i=!1!==l.Pb(t,43)._onSlide(n)&&i),"slideend"===e&&(i=!1!==l.Pb(t,43)._onSlideEnd()&&i),"slidestart"===e&&(i=!1!==l.Pb(t,43)._onSlideStart(n)&&i),"selectstart"===e&&(i=!1!==n.preventDefault()&&i),i}),yt,_t)),l.Cb(43,245760,null,0,gt.a,[l.p,B.h,l.j,[2,s.b],[8,null],[2,p.a]],{max:[0,"max"],min:[1,"min"],step:[2,"step"]},null),l.Tb(1024,null,A.o,(function(t){return[t]}),[gt.a]),l.Cb(45,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(47,16384,null,0,A.q,[[4,A.p]],null,null),(t()(),l.Db(48,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(49,null,[" "," Feets/min"])),(t()(),l.Db(50,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(51,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){t(e,2,0,e.component.altitudeVariationForm),t(e,6,0,"outline"),t(e,20,0,"operator"),t(e,23,0),t(e,30,0,"=="),t(e,33,0,"<="),t(e,36,0,">="),t(e,43,0,"25000","-25000","100"),t(e,45,0,"vsi"),t(e,51,0,"primary")}),(function(t,e){var n=e.component;t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,19,1,[l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23).id,l.Pb(e,23).tabIndex,l.Pb(e,23)._getAriaLabel(),l.Pb(e,23)._getAriaLabelledby(),l.Pb(e,23).required.toString(),l.Pb(e,23).disabled.toString(),l.Pb(e,23).errorState,l.Pb(e,23).panelOpen?l.Pb(e,23)._optionIds:null,l.Pb(e,23).multiple,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23)._getAriaActiveDescendant(),l.Pb(e,23).disabled,l.Pb(e,23).errorState,l.Pb(e,23).required,l.Pb(e,23).empty]),t(e,29,0,l.Pb(e,30)._getTabIndex(),l.Pb(e,30).selected,l.Pb(e,30).multiple,l.Pb(e,30).active,l.Pb(e,30).id,l.Pb(e,30)._getAriaSelected(),l.Pb(e,30).disabled.toString(),l.Pb(e,30).disabled),t(e,32,0,l.Pb(e,33)._getTabIndex(),l.Pb(e,33).selected,l.Pb(e,33).multiple,l.Pb(e,33).active,l.Pb(e,33).id,l.Pb(e,33)._getAriaSelected(),l.Pb(e,33).disabled.toString(),l.Pb(e,33).disabled),t(e,35,0,l.Pb(e,36)._getTabIndex(),l.Pb(e,36).selected,l.Pb(e,36).multiple,l.Pb(e,36).active,l.Pb(e,36).id,l.Pb(e,36)._getAriaSelected(),l.Pb(e,36).disabled.toString(),l.Pb(e,36).disabled),t(e,42,1,[l.Pb(e,43).tabIndex,l.Pb(e,43).disabled,l.Pb(e,43).max,l.Pb(e,43).min,l.Pb(e,43).value,l.Pb(e,43).vertical?"vertical":"horizontal",l.Pb(e,43).disabled,l.Pb(e,43).tickInterval,!l.Pb(e,43).vertical,l.Pb(e,43)._invertAxis,l.Pb(e,43)._shouldInvertMouseCoords(),l.Pb(e,43)._isSliding,l.Pb(e,43).thumbLabel,l.Pb(e,43).vertical,l.Pb(e,43)._isMinValue,l.Pb(e,43).disabled||l.Pb(e,43)._isMinValue&&l.Pb(e,43)._thumbGap&&l.Pb(e,43)._invertAxis,"NoopAnimations"===l.Pb(e,43)._animationMode,l.Pb(e,47).ngClassUntouched,l.Pb(e,47).ngClassTouched,l.Pb(e,47).ngClassPristine,l.Pb(e,47).ngClassDirty,l.Pb(e,47).ngClassValid,l.Pb(e,47).ngClassInvalid,l.Pb(e,47).ngClassPending]),t(e,49,0,n.altitudeVariationForm.value.vsi),t(e,50,0,l.Pb(e,51).disabled||null,"NoopAnimations"===l.Pb(e,51)._animationMode)}))}var Nt=n("Rlre"),Yt=n("rWV4"),Ut=n("v6R6"),Bt=n("0XyG"),zt=n("Py6u"),Gt=n("oQtH");class Ht{constructor(t,e,n){this.fb=t,this.fleetItemService=e,this.fleetService=n,this.ConfigForm=Gt.a.config.ConfigFleetItem,this.fleetItemForm=this.fb.group({fleetLogicalOperator:"",fleetItems:this.fb.array([])})}ngOnInit(){this.initComponent()}initComponent(){this.fleetItemService.getManyBaseFleetItemControllerFleetItem({filter:["fleetId||eq||"+this.fleetId]}).subscribe(t=>{t.data.map(t=>this.addFleetItemForm(t)),this.addFleetItemForm()}),this.fleetService.getOneBaseFleetControllerFleet({id:this.fleetId}).subscribe(t=>{this.fleet=t,this.fleetItemForm.controls.fleetLogicalOperator.setValue(t.logicalOperator)})}addFleetItemForm(t){const e=this.fleetItemForm.controls.fleetItems,n={id:t?t.id:"",field:t?t.field:"",operator:t?t.operator:"",value:t?t.value:""};!t||"mlat"!==t.field&&"military"!==t.field||(n.value="true"===t.value),e.insert(0,this.fb.group(n))}deleteFleetItemFrom(t){const e=this.fleetItemForm.controls.fleetItems,n=this.fleetItemForm.value.fleetItems[t];n.id&&this.fleetItemService.deleteOneBaseFleetItemControllerFleetItem({id:n.id}).subscribe(),e.removeAt(t)}submitFleetItem(){this.submitFleet(),this.fleetItemForm.value.fleetItems.forEach((t,e)=>{"mlat"!==t.field&&"military"!==t.field||(t.operator="eq",t.value=t.value?"true":"false"),t.field&&t.operator&&t.value&&(""===t.id?this.createFleetItem(t,e):this.updateFleetItem(t))})}submitFleet(){this.fleet.logicalOperator!==this.fleetItemForm.value.fleetLogicalOperator&&this.fleetService.updateOneBaseFleetControllerFleet({id:this.fleetId,body:{logicalOperator:this.fleetItemForm.value.fleetLogicalOperator}}).subscribe(t=>{})}createFleetItem(t,e){const n={body:{field:t.field,operator:t.operator,value:String(t.value),fleetId:this.fleetId}};this.fleetItemService.createOneBaseFleetItemControllerFleetItem(n).subscribe(t=>{this.fleetItemForm.value.fleetItems[e]=t})}updateFleetItem(t){const e={id:t.id,body:{field:t.field,operator:t.operator,value:String(t.value)}};this.fleetItemService.updateOneBaseFleetItemControllerFleetItem(e).subscribe(t=>{})}formFleetItems(){return this.fleetItemForm.get("fleetItems")}}var Vt=n("mTEX"),qt=l.Bb({encapsulation:0,styles:[[".form[_ngcontent-%COMP%]{padding:10px}.form[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .form[_ngcontent-%COMP%] .mat-form-field{width:25%}.form[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%]{width:50%;display:flex}.form[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:50%}.form[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .form[_ngcontent-%COMP%] .fleet-item-field[_ngcontent-%COMP%]{width:25%}.form[_ngcontent-%COMP%] .form-filter-logical-operator[_ngcontent-%COMP%]{padding:10px 0}.form[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:10px}.form[_ngcontent-%COMP%] .fleet-item-checkbox[_ngcontent-%COMP%]{display:flex;padding-right:40%}.form[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}"]],data:{}});function Wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function $t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function Xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[34,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function Kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,48,"div",[["class","fleet-item-value"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(2,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,25,{_controlNonStatic:0}),l.Ub(335544320,26,{_controlStatic:0}),l.Ub(603979776,27,{_labelChildNonStatic:0}),l.Ub(335544320,28,{_labelChildStatic:0}),l.Ub(603979776,29,{_placeholderChild:0}),l.Ub(603979776,30,{_errorChildren:1}),l.Ub(603979776,31,{_hintChildren:1}),l.Ub(603979776,32,{_prefixChildren:1}),l.Ub(603979776,33,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[27,4],[28,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,[" Operator "])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","operator"],["matInput",""],["placeholder","Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),i}),$.b,$.a)),l.Tb(6144,null,_.l,null,[X.c]),l.Cb(17,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(19,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(20,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,34,{options:1}),l.Ub(603979776,35,{optionGroups:1}),l.Ub(603979776,36,{customTrigger:0}),l.Tb(2048,[[25,4],[26,4]],g.d,null,[X.c]),(t()(),l.sb(16777216,null,1,1,null,Xt)),l.Cb(26,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(28,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,37,{_controlNonStatic:0}),l.Ub(335544320,38,{_controlStatic:0}),l.Ub(603979776,39,{_labelChildNonStatic:0}),l.Ub(335544320,40,{_labelChildStatic:0}),l.Ub(603979776,41,{_placeholderChild:0}),l.Ub(603979776,42,{_errorChildren:1}),l.Ub(603979776,43,{_hintChildren:1}),l.Ub(603979776,44,{_prefixChildren:1}),l.Ub(603979776,45,{_suffixChildren:1}),(t()(),l.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(39,16384,[[39,4],[40,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Value"])),(t()(),l.Db(41,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","value"],["matInput",""],["placeholder","Value"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,42)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,42).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,42)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,42)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,47)._onInput()&&i),i}),null,null)),l.Cb(42,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[A.d]),l.Cb(44,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(46,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(47,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[37,4],[38,4]],g.d,null,[y.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"operator"),t(e,20,0,"Operator"),t(e,26,0,n.ConfigForm.operators),t(e,28,0,"outline"),t(e,44,0,"value"),t(e,47,0,"Value","text")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,41,1,[l.Pb(e,46).ngClassUntouched,l.Pb(e,46).ngClassTouched,l.Pb(e,46).ngClassPristine,l.Pb(e,46).ngClassDirty,l.Pb(e,46).ngClassValid,l.Pb(e,46).ngClassInvalid,l.Pb(e,46).ngClassPending,l.Pb(e,47)._isServer,l.Pb(e,47).id,l.Pb(e,47).placeholder,l.Pb(e,47).disabled,l.Pb(e,47).required,l.Pb(e,47).readonly&&!l.Pb(e,47)._isNativeSelect||null,l.Pb(e,47)._ariaDescribedby||null,l.Pb(e,47).errorState,l.Pb(e,47).required.toString()])}))}function Jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-checkbox",[["class","fleet-item-checkbox mat-checkbox"],["formControlName","value"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Y.b,Y.a)),l.Cb(1,8568832,null,0,U.b,[l.p,l.j,B.h,l.G,[8,null],[2,U.a],[2,p.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[U.b]),l.Cb(3,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(5,16384,null,0,A.q,[[4,A.p]],null,null)],(function(t,e){t(e,3,0,"value")}),(function(t,e){t(e,0,1,[l.Pb(e,1).id,null,l.Pb(e,1).indeterminate,l.Pb(e,1).checked,l.Pb(e,1).disabled,"before"==l.Pb(e,1).labelPosition,"NoopAnimations"===l.Pb(e,1)._animationMode,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending])}))}function Qt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,40,"div",[["class","form-inline"],["formArrayName","fleetItems"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),l.Cb(1,212992,null,0,A.e,[[3,A.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,A.c,null,[A.e]),l.Cb(3,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(4,0,null,null,36,null,null,null,null,null,null,null)),l.Cb(5,212992,null,0,A.l,[[3,A.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,A.c,null,[A.l]),l.Cb(7,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(8,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","fleet-item-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(9,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,13,{_controlNonStatic:0}),l.Ub(335544320,14,{_controlStatic:0}),l.Ub(603979776,15,{_labelChildNonStatic:0}),l.Ub(335544320,16,{_labelChildStatic:0}),l.Ub(603979776,17,{_placeholderChild:0}),l.Ub(603979776,18,{_errorChildren:1}),l.Ub(603979776,19,{_hintChildren:1}),l.Ub(603979776,20,{_prefixChildren:1}),l.Ub(603979776,21,{_suffixChildren:1}),(t()(),l.Db(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(20,16384,[[15,4],[16,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Field"])),(t()(),l.Db(22,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","field"],["matInput",""],["placeholder","Field"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,27)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,27)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,27)._onBlur()&&i),i}),$.b,$.a)),l.Tb(6144,null,_.l,null,[X.c]),l.Cb(24,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(26,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(27,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,22,{options:1}),l.Ub(603979776,23,{optionGroups:1}),l.Ub(603979776,24,{customTrigger:0}),l.Tb(2048,[[13,4],[14,4]],g.d,null,[X.c]),(t()(),l.sb(16777216,null,1,1,null,$t)),l.Cb(33,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,Kt)),l.Cb(35,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["editBoolean",2]],null,0,null,Jt)),(t()(),l.Db(37,0,null,null,3,"button",[["class","delete-button mat-menu-item"],["mat-menu-item",""],["type","button"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,38)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,38)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteFleetItemFrom(t.context.index)&&i),i}),q.c,q.a)),l.Cb(38,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(39,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(40,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,1,0,"fleetItems"),t(e,5,0,e.context.index),t(e,9,0,"outline"),t(e,24,0,"field"),t(e,27,0,"Field"),t(e,33,0,n.ConfigForm.fields),t(e,35,0,"mlat"!=n.formFleetItems().controls[e.context.index].value.field&&"military"!=n.formFleetItems().controls[e.context.index].value.field,l.Pb(e,36)),t(e,40,0,"trash")}),(function(t,e){t(e,0,0,l.Pb(e,3).ngClassUntouched,l.Pb(e,3).ngClassTouched,l.Pb(e,3).ngClassPristine,l.Pb(e,3).ngClassDirty,l.Pb(e,3).ngClassValid,l.Pb(e,3).ngClassInvalid,l.Pb(e,3).ngClassPending),t(e,8,1,["standard"==l.Pb(e,9).appearance,"fill"==l.Pb(e,9).appearance,"outline"==l.Pb(e,9).appearance,"legacy"==l.Pb(e,9).appearance,l.Pb(e,9)._control.errorState,l.Pb(e,9)._canLabelFloat,l.Pb(e,9)._shouldLabelFloat(),l.Pb(e,9)._hasFloatingLabel(),l.Pb(e,9)._hideControlPlaceholder(),l.Pb(e,9)._control.disabled,l.Pb(e,9)._control.autofilled,l.Pb(e,9)._control.focused,"accent"==l.Pb(e,9).color,"warn"==l.Pb(e,9).color,l.Pb(e,9)._shouldForward("untouched"),l.Pb(e,9)._shouldForward("touched"),l.Pb(e,9)._shouldForward("pristine"),l.Pb(e,9)._shouldForward("dirty"),l.Pb(e,9)._shouldForward("valid"),l.Pb(e,9)._shouldForward("invalid"),l.Pb(e,9)._shouldForward("pending"),!l.Pb(e,9)._animationsEnabled]),t(e,22,1,[l.Pb(e,26).ngClassUntouched,l.Pb(e,26).ngClassTouched,l.Pb(e,26).ngClassPristine,l.Pb(e,26).ngClassDirty,l.Pb(e,26).ngClassValid,l.Pb(e,26).ngClassInvalid,l.Pb(e,26).ngClassPending,l.Pb(e,27).id,l.Pb(e,27).tabIndex,l.Pb(e,27)._getAriaLabel(),l.Pb(e,27)._getAriaLabelledby(),l.Pb(e,27).required.toString(),l.Pb(e,27).disabled.toString(),l.Pb(e,27).errorState,l.Pb(e,27).panelOpen?l.Pb(e,27)._optionIds:null,l.Pb(e,27).multiple,l.Pb(e,27)._ariaDescribedby||null,l.Pb(e,27)._getAriaActiveDescendant(),l.Pb(e,27).disabled,l.Pb(e,27).errorState,l.Pb(e,27).required,l.Pb(e,27).empty]),t(e,37,0,l.Pb(e,38).role,l.Pb(e,38)._highlighted,l.Pb(e,38)._triggersSubmenu,l.Pb(e,38)._getTabIndex(),l.Pb(e,38).disabled.toString(),l.Pb(e,38).disabled||null)}))}function Zt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,42,"form",[["class","form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitFleetItem()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,26,"div",[["class","form-filter-logical-operator"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(7,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(17,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(18,16384,[[3,4],[4,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Logical operator"])),(t()(),l.Db(20,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","fleetLogicalOperator"],["matInput",""],["placeholder","Logical Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,25)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._onBlur()&&i),i}),$.b,$.a)),l.Tb(6144,null,_.l,null,[X.c]),l.Cb(22,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(24,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(25,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],g.d,null,[X.c]),(t()(),l.sb(16777216,null,1,1,null,Wt)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(32,0,null,null,1,"sepia-fleet-item-csv",[],null,[[null,"hasImport"]],(function(t,e,n){var l=!0;return"hasImport"===e&&(l=!1!==t.component.initComponent()&&l),l}),Ut.b,Ut.a)),l.Cb(33,114688,null,0,Bt.a,[zt.a],{fleetId:[0,"fleetId"]},{hasImport:"hasImport"}),(t()(),l.Db(34,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.addFleetItemForm()&&l),l}),z.b,z.a)),l.Cb(35,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Add"])),(t()(),l.sb(16777216,null,null,1,null,Qt)),l.Cb(38,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(39,0,null,null,3,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),l.Db(40,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(41,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,2,0,n.fleetItemForm),t(e,7,0,"outline"),t(e,22,0,"fleetLogicalOperator"),t(e,25,0,"Logical Operator"),t(e,31,0,n.ConfigForm.logicalOperator),t(e,33,0,n.fleetId),t(e,35,0,"warn"),t(e,38,0,n.formFleetItems().controls),t(e,41,0,"primary")}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,6,1,["standard"==l.Pb(e,7).appearance,"fill"==l.Pb(e,7).appearance,"outline"==l.Pb(e,7).appearance,"legacy"==l.Pb(e,7).appearance,l.Pb(e,7)._control.errorState,l.Pb(e,7)._canLabelFloat,l.Pb(e,7)._shouldLabelFloat(),l.Pb(e,7)._hasFloatingLabel(),l.Pb(e,7)._hideControlPlaceholder(),l.Pb(e,7)._control.disabled,l.Pb(e,7)._control.autofilled,l.Pb(e,7)._control.focused,"accent"==l.Pb(e,7).color,"warn"==l.Pb(e,7).color,l.Pb(e,7)._shouldForward("untouched"),l.Pb(e,7)._shouldForward("touched"),l.Pb(e,7)._shouldForward("pristine"),l.Pb(e,7)._shouldForward("dirty"),l.Pb(e,7)._shouldForward("valid"),l.Pb(e,7)._shouldForward("invalid"),l.Pb(e,7)._shouldForward("pending"),!l.Pb(e,7)._animationsEnabled]),t(e,20,1,[l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25).id,l.Pb(e,25).tabIndex,l.Pb(e,25)._getAriaLabel(),l.Pb(e,25)._getAriaLabelledby(),l.Pb(e,25).required.toString(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).errorState,l.Pb(e,25).panelOpen?l.Pb(e,25)._optionIds:null,l.Pb(e,25).multiple,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25)._getAriaActiveDescendant(),l.Pb(e,25).disabled,l.Pb(e,25).errorState,l.Pb(e,25).required,l.Pb(e,25).empty]),t(e,34,0,l.Pb(e,35).disabled||null,"NoopAnimations"===l.Pb(e,35)._animationMode),t(e,40,0,l.Pb(e,41).disabled||null,"NoopAnimations"===l.Pb(e,41)._animationMode)}))}class te{constructor(t,e){this.bboxService=t,this.notificationTypeService=e,this.refreshNotificationType=new l.r,this.bboxAutoComplete$=null,this.bboxAutoCompleteControl=new A.g,this.displayedColumns=["name","operation"],this.dataSource=new F.l}ngOnInit(){this.notificationTypeService.getOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,join:["bboxs"]}).subscribe(t=>{this.dataSource.data=t.bboxs}),this.bboxForm=new A.j({bbox:this.bboxAutoCompleteControl})}ngAfterViewInit(){this.bboxAutoComplete$=this.bboxAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupSquawk(t):Object(it.a)(null)))}lookupSquawk(t){return this.bboxService.getManyBaseBboxControllerBbox({filter:["name||cont||"+t],limit:10}).pipe(Object(nt.a)(t=>t.data),Object(lt.a)(t=>Object(it.a)(null)))}displayNameBbox(t){return t?t.name:""}submitBbox(){const t=this.bboxForm.value.bbox;if(t.id&&!this.dataSource.data.some(e=>e.id===t.id)){const e={id:this.notificationType.id,body:{bboxs:this.dataSource.data.concat([t])}};this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType(e).subscribe(e=>{this.notificationType=e,this.refreshNotificationType.emit(this.notificationType),this.dataSource.data=this.dataSource.data.concat([t])})}}deleteBbox(t){const e={id:this.notificationType.id,body:{bboxs:this.dataSource.data.filter(e=>e.id!==t.id)}};this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType(e).subscribe(e=>{this.notificationType=e,this.refreshNotificationType.emit(this.notificationType),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}}var ee=n("Qykp"),ne=n("XYOC"),le=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function ie(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function re(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Bbox Name "]))],null,null)}function oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function se(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteBbox(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function ue(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function ce(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function de(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitBbox()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Bbox name"],["title","bbox"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,17)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,18)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,18)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,18)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,23)._onInput()&&i),i}),null,null)),l.Cb(17,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(18,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(20,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(25,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(27,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,ie)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(33,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(34,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(36,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(38,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(43,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(45,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,re)),l.Cb(51,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,oe)),l.Cb(54,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(56,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(58,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,ae)),l.Cb(64,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,se)),l.Cb(67,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,ue)),l.Cb(70,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,ce)),l.Cb(73,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,2,0,n.bboxForm),t(e,6,0,"outline"),t(e,18,0,l.Pb(e,27)),t(e,20,0,n.bboxAutoCompleteControl),t(e,23,0,"Bbox name","text"),t(e,27,0,n.displayNameBbox,""),t(e,31,0,l.Xb(e,31,0,l.Pb(e,32).transform(n.bboxAutoComplete$))),t(e,34,0,"primary"),t(e,38,0,n.dataSource),t(e,45,0,"name"),t(e,58,0,"operation"),t(e,70,0,n.displayedColumns),t(e,73,0,n.displayedColumns)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,1,[l.Pb(e,18).autocompleteAttribute,l.Pb(e,18).autocompleteDisabled?null:"combobox",l.Pb(e,18).autocompleteDisabled?null:"list",l.Pb(e,18).panelOpen&&l.Pb(e,18).activeOption?l.Pb(e,18).activeOption.id:null,l.Pb(e,18).autocompleteDisabled?null:l.Pb(e,18).panelOpen.toString(),l.Pb(e,18).autocompleteDisabled||!l.Pb(e,18).panelOpen||null==l.Pb(e,18).autocomplete?null:l.Pb(e,18).autocomplete.id,!l.Pb(e,18).autocompleteDisabled,l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23)._isServer,l.Pb(e,23).id,l.Pb(e,23).placeholder,l.Pb(e,23).disabled,l.Pb(e,23).required,l.Pb(e,23).readonly&&!l.Pb(e,23)._isNativeSelect||null,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23).errorState,l.Pb(e,23).required.toString()]),t(e,33,0,l.Pb(e,34).disabled||null,"NoopAnimations"===l.Pb(e,34)._animationMode)}))}n("/Mhs");class he{constructor(t,e){this.feedService=t,this.notificationTypeService=e,this.feedAutoComplete$=null,this.feedAutoCompleteControl=new A.g,this.displayedColumns=["name","operation"],this.dataSource=new F.l}ngOnInit(){this.notificationTypeService.getOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,join:["excludeFeeds"]}).subscribe(t=>{this.dataSource.data=t.excludeFeeds}),this.feedForm=new A.j({feed:this.feedAutoCompleteControl})}ngAfterViewInit(){this.feedAutoComplete$=this.feedAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupFeed(t):Object(it.a)(null)))}lookupFeed(t){return this.feedService.getManyBaseFeedControllerFeed({filter:["name||cont||"+t],limit:10}).pipe(Object(nt.a)(t=>t.data),Object(lt.a)(t=>Object(it.a)(null)))}displayFeed(t){return t?t.name:""}submitFeed(){const t=this.feedForm.value.feed;if(t.id&&void 0===this.dataSource.data.find(e=>e.id===t.id)){const e=this.dataSource.data.concat([t]).map(t=>({id:t.id}));this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,body:{excludeFeeds:e}}).subscribe(e=>{this.dataSource.data=this.dataSource.data.concat([t])})}}deleteFeed(t){if(t.id&&void 0!==this.dataSource.data.find(e=>e.id===t.id)){const e={id:this.notificationType.id,body:{excludeFeeds:this.dataSource.data.filter(e=>e.id!==t.id).map(t=>({id:t.id}))}};this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType(e).subscribe(e=>{this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}}}var pe=n("5p+q"),fe=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function be(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Name "]))],null,null)}function ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function _e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function ye(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteFeed(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function Ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function Ce(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitFeed()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Feed"],["title","feed"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,17)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,18)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,18)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,18)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,23)._onInput()&&i),i}),null,null)),l.Cb(17,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(18,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(20,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(25,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(27,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,be)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(33,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(34,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(36,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(38,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(43,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(45,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,me)),l.Cb(51,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,ge)),l.Cb(54,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(56,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(58,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,_e)),l.Cb(64,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,ye)),l.Cb(67,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,Ae)),l.Cb(70,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,ve)),l.Cb(73,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,2,0,n.feedForm),t(e,6,0,"outline"),t(e,18,0,l.Pb(e,27)),t(e,20,0,n.feedAutoCompleteControl),t(e,23,0,"Feed","text"),t(e,27,0,n.displayFeed,""),t(e,31,0,l.Xb(e,31,0,l.Pb(e,32).transform(n.feedAutoComplete$))),t(e,34,0,"primary"),t(e,38,0,n.dataSource),t(e,45,0,"name"),t(e,58,0,"operation"),t(e,70,0,n.displayedColumns),t(e,73,0,n.displayedColumns)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,1,[l.Pb(e,18).autocompleteAttribute,l.Pb(e,18).autocompleteDisabled?null:"combobox",l.Pb(e,18).autocompleteDisabled?null:"list",l.Pb(e,18).panelOpen&&l.Pb(e,18).activeOption?l.Pb(e,18).activeOption.id:null,l.Pb(e,18).autocompleteDisabled?null:l.Pb(e,18).panelOpen.toString(),l.Pb(e,18).autocompleteDisabled||!l.Pb(e,18).panelOpen||null==l.Pb(e,18).autocomplete?null:l.Pb(e,18).autocomplete.id,!l.Pb(e,18).autocompleteDisabled,l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23)._isServer,l.Pb(e,23).id,l.Pb(e,23).placeholder,l.Pb(e,23).disabled,l.Pb(e,23).required,l.Pb(e,23).readonly&&!l.Pb(e,23)._isNativeSelect||null,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23).errorState,l.Pb(e,23).required.toString()]),t(e,33,0,l.Pb(e,34).disabled||null,"NoopAnimations"===l.Pb(e,34)._animationMode)}))}class we{constructor(t,e,n,l,i,r,o,a){this.ref=t,this.notificationTypeSquawkService=e,this.notificationTypeService=n,this.notificationTypeProhibitedAreaService=l,this.notificationTypePredictionProhibitedAreaService=i,this.notificationTypeAltitudeVariationService=r,this.notificationTypeAutopilotService=o,this.notificationTypePresenceService=a}ngOnInit(){this.notificationTypeForm=new A.j({name:new A.g(this.notificationType?this.notificationType.name:""),type:new A.g(this.notificationType?this.notificationType.type:""),color:new A.g(this.notificationType?this.notificationType.color:"#000000")})}submitNotificationType(){this.notificationType?this.updateNotificationType():this.createNotificationType()}updateNotificationType(){this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,body:{name:this.notificationTypeForm.value.name,color:this.notificationTypeForm.value.color}}).subscribe(t=>{this.notificationType=t})}createNotificationType(){const t={body:{type:this.notificationTypeForm.value.type,name:this.notificationTypeForm.value.name,color:this.notificationTypeForm.value.color}};"squawk"===this.notificationTypeForm.value.type?this.notificationTypeSquawkService.createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"prohibited_area"===this.notificationTypeForm.value.type?this.notificationTypeProhibitedAreaService.createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"prediction_prohibited_area"===this.notificationTypeForm.value.type?this.notificationTypePredictionProhibitedAreaService.createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"altitude_variation"===this.notificationTypeForm.value.type?this.notificationTypeAltitudeVariationService.createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"presence"===this.notificationTypeForm.value.type?this.notificationTypePresenceService.createOneBaseNotificationTypePresenceControllerNotificationTypePresence(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"autopilot"===this.notificationTypeForm.value.type&&this.notificationTypeAutopilotService.createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()})}refreshNotificationType(t){this.notificationType=t}}var Pe=n("D7iV"),xe=n("yRz6"),Se=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px}.form-container[_ngcontent-%COMP%] .width50[_ngcontent-%COMP%]{width:50%}.form-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}"]],data:{}});function ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,94,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitNotificationType()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","width50 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,4,{_controlNonStatic:0}),l.Ub(335544320,5,{_controlStatic:0}),l.Ub(603979776,6,{_labelChildNonStatic:0}),l.Ub(335544320,7,{_labelChildStatic:0}),l.Ub(603979776,8,{_placeholderChild:0}),l.Ub(603979776,9,{_errorChildren:1}),l.Ub(603979776,10,{_hintChildren:1}),l.Ub(603979776,11,{_prefixChildren:1}),l.Ub(603979776,12,{_suffixChildren:1}),(t()(),l.Db(16,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(17,16384,[[6,4],[7,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Name"])),(t()(),l.Db(19,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["title","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,20)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,20).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,20)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,20)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,25)._onInput()&&i),i}),null,null)),l.Cb(20,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[A.d]),l.Cb(22,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(24,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(25,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[4,4],[5,4]],g.d,null,[y.b]),(t()(),l.Db(27,0,null,null,41,"mat-form-field",[["appearance","outline"],["class","width50 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(28,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,13,{_controlNonStatic:0}),l.Ub(335544320,14,{_controlStatic:0}),l.Ub(603979776,15,{_labelChildNonStatic:0}),l.Ub(335544320,16,{_labelChildStatic:0}),l.Ub(603979776,17,{_placeholderChild:0}),l.Ub(603979776,18,{_errorChildren:1}),l.Ub(603979776,19,{_hintChildren:1}),l.Ub(603979776,20,{_prefixChildren:1}),l.Ub(603979776,21,{_suffixChildren:1}),(t()(),l.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(39,16384,[[15,4],[16,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Type"])),(t()(),l.Db(41,0,null,1,27,"mat-select",[["class","mat-select"],["formControlName","type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,45)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,45)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,45)._onBlur()&&i),i}),$.b,$.a)),l.Cb(42,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"],isDisabled:[1,"isDisabled"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(44,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(45,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{disabled:[0,"disabled"]},null),l.Ub(603979776,22,{options:1}),l.Ub(603979776,23,{optionGroups:1}),l.Ub(603979776,24,{customTrigger:0}),l.Tb(2048,[[13,4],[14,4]],g.d,null,[X.c]),l.Tb(2048,null,_.l,null,[X.c]),(t()(),l.Db(51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","squawk"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,52)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,52)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(52,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Squawk"])),(t()(),l.Db(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","prohibited_area"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,55)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,55)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(55,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Zone interdite"])),(t()(),l.Db(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","prediction_prohibited_area"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,58)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,58)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(58,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Prediction zone interdite"])),(t()(),l.Db(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","altitude_variation"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,61)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,61)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(61,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Variation d'altitude"])),(t()(),l.Db(63,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","presence"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,64)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,64)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(64,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Presence"])),(t()(),l.Db(66,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","autopilot"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,67)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,67)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(67,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Autopilot"])),(t()(),l.Db(69,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","width50 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(70,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,25,{_controlNonStatic:0}),l.Ub(335544320,26,{_controlStatic:0}),l.Ub(603979776,27,{_labelChildNonStatic:0}),l.Ub(335544320,28,{_labelChildStatic:0}),l.Ub(603979776,29,{_placeholderChild:0}),l.Ub(603979776,30,{_errorChildren:1}),l.Ub(603979776,31,{_hintChildren:1}),l.Ub(603979776,32,{_prefixChildren:1}),l.Ub(603979776,33,{_suffixChildren:1}),(t()(),l.Db(80,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(81,16384,[[27,4],[28,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Color"])),(t()(),l.Db(83,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","color"],["matInput",""],["placeholder","Color hex"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,84)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,84).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,84)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,84)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,89)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,89)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,89)._onInput()&&i),i}),null,null)),l.Cb(84,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[A.d]),l.Cb(86,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(88,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(89,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[25,4],[26,4]],g.d,null,[y.b]),(t()(),l.Db(91,0,null,null,3,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),l.Db(92,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(93,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,2,0,n.notificationTypeForm),t(e,6,0,"outline"),t(e,22,0,"name"),t(e,25,0,"Name","text"),t(e,28,0,"outline"),t(e,42,0,"type",n.notificationType),t(e,45,0,n.notificationType),t(e,52,0,"squawk"),t(e,55,0,"prohibited_area"),t(e,58,0,"prediction_prohibited_area"),t(e,61,0,"altitude_variation"),t(e,64,0,"presence"),t(e,67,0,"autopilot"),t(e,70,0,"outline"),t(e,86,0,"color"),t(e,89,0,"Color hex","color"),t(e,93,0,"primary")}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,19,1,[l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25)._isServer,l.Pb(e,25).id,l.Pb(e,25).placeholder,l.Pb(e,25).disabled,l.Pb(e,25).required,l.Pb(e,25).readonly&&!l.Pb(e,25)._isNativeSelect||null,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25).errorState,l.Pb(e,25).required.toString()]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,41,1,[l.Pb(e,44).ngClassUntouched,l.Pb(e,44).ngClassTouched,l.Pb(e,44).ngClassPristine,l.Pb(e,44).ngClassDirty,l.Pb(e,44).ngClassValid,l.Pb(e,44).ngClassInvalid,l.Pb(e,44).ngClassPending,l.Pb(e,45).id,l.Pb(e,45).tabIndex,l.Pb(e,45)._getAriaLabel(),l.Pb(e,45)._getAriaLabelledby(),l.Pb(e,45).required.toString(),l.Pb(e,45).disabled.toString(),l.Pb(e,45).errorState,l.Pb(e,45).panelOpen?l.Pb(e,45)._optionIds:null,l.Pb(e,45).multiple,l.Pb(e,45)._ariaDescribedby||null,l.Pb(e,45)._getAriaActiveDescendant(),l.Pb(e,45).disabled,l.Pb(e,45).errorState,l.Pb(e,45).required,l.Pb(e,45).empty]),t(e,51,0,l.Pb(e,52)._getTabIndex(),l.Pb(e,52).selected,l.Pb(e,52).multiple,l.Pb(e,52).active,l.Pb(e,52).id,l.Pb(e,52)._getAriaSelected(),l.Pb(e,52).disabled.toString(),l.Pb(e,52).disabled),t(e,54,0,l.Pb(e,55)._getTabIndex(),l.Pb(e,55).selected,l.Pb(e,55).multiple,l.Pb(e,55).active,l.Pb(e,55).id,l.Pb(e,55)._getAriaSelected(),l.Pb(e,55).disabled.toString(),l.Pb(e,55).disabled),t(e,57,0,l.Pb(e,58)._getTabIndex(),l.Pb(e,58).selected,l.Pb(e,58).multiple,l.Pb(e,58).active,l.Pb(e,58).id,l.Pb(e,58)._getAriaSelected(),l.Pb(e,58).disabled.toString(),l.Pb(e,58).disabled),t(e,60,0,l.Pb(e,61)._getTabIndex(),l.Pb(e,61).selected,l.Pb(e,61).multiple,l.Pb(e,61).active,l.Pb(e,61).id,l.Pb(e,61)._getAriaSelected(),l.Pb(e,61).disabled.toString(),l.Pb(e,61).disabled),t(e,63,0,l.Pb(e,64)._getTabIndex(),l.Pb(e,64).selected,l.Pb(e,64).multiple,l.Pb(e,64).active,l.Pb(e,64).id,l.Pb(e,64)._getAriaSelected(),l.Pb(e,64).disabled.toString(),l.Pb(e,64).disabled),t(e,66,0,l.Pb(e,67)._getTabIndex(),l.Pb(e,67).selected,l.Pb(e,67).multiple,l.Pb(e,67).active,l.Pb(e,67).id,l.Pb(e,67)._getAriaSelected(),l.Pb(e,67).disabled.toString(),l.Pb(e,67).disabled),t(e,69,1,["standard"==l.Pb(e,70).appearance,"fill"==l.Pb(e,70).appearance,"outline"==l.Pb(e,70).appearance,"legacy"==l.Pb(e,70).appearance,l.Pb(e,70)._control.errorState,l.Pb(e,70)._canLabelFloat,l.Pb(e,70)._shouldLabelFloat(),l.Pb(e,70)._hasFloatingLabel(),l.Pb(e,70)._hideControlPlaceholder(),l.Pb(e,70)._control.disabled,l.Pb(e,70)._control.autofilled,l.Pb(e,70)._control.focused,"accent"==l.Pb(e,70).color,"warn"==l.Pb(e,70).color,l.Pb(e,70)._shouldForward("untouched"),l.Pb(e,70)._shouldForward("touched"),l.Pb(e,70)._shouldForward("pristine"),l.Pb(e,70)._shouldForward("dirty"),l.Pb(e,70)._shouldForward("valid"),l.Pb(e,70)._shouldForward("invalid"),l.Pb(e,70)._shouldForward("pending"),!l.Pb(e,70)._animationsEnabled]),t(e,83,1,[l.Pb(e,88).ngClassUntouched,l.Pb(e,88).ngClassTouched,l.Pb(e,88).ngClassPristine,l.Pb(e,88).ngClassDirty,l.Pb(e,88).ngClassValid,l.Pb(e,88).ngClassInvalid,l.Pb(e,88).ngClassPending,l.Pb(e,89)._isServer,l.Pb(e,89).id,l.Pb(e,89).placeholder,l.Pb(e,89).disabled,l.Pb(e,89).required,l.Pb(e,89).readonly&&!l.Pb(e,89)._isNativeSelect||null,l.Pb(e,89)._ariaDescribedby||null,l.Pb(e,89).errorState,l.Pb(e,89).required.toString()]),t(e,92,0,l.Pb(e,93).disabled||null,"NoopAnimations"===l.Pb(e,93)._animationMode)}))}function Me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param-squawk",[],null,[[null,"refreshNotificationType"]],(function(t,e,n){var l=!0;return"refreshNotificationType"===e&&(l=!1!==t.component.refreshNotificationType(n)&&l),l}),mt,st)),l.Cb(2,4308992,null,0,rt,[ot.a,at.a],{notificationTypeSquawk:[0,"notificationTypeSquawk"]},{refreshNotificationType:"refreshNotificationType"})],(function(t,e){t(e,2,0,e.component.notificationType)}),null)}function Oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param-prohibited-area",[],null,[[null,"refreshNotificationType"]],(function(t,e,n){var l=!0;return"refreshNotificationType"===e&&(l=!1!==t.component.refreshNotificationType(n)&&l),l}),It,Pt)),l.Cb(2,4308992,null,0,At,[vt.a,Ct.a,wt.a],{notificationTypeProhibitedArea:[0,"notificationTypeProhibitedArea"]},{refreshNotificationType:"refreshNotificationType"})],(function(t,e){t(e,2,0,e.component.notificationType)}),null)}function De(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param-altitude-variation",[],null,[[null,"refreshNotificationType"]],(function(t,e,n){var l=!0;return"refreshNotificationType"===e&&(l=!1!==t.component.refreshNotificationType(n)&&l),l}),Ft,Rt)),l.Cb(2,114688,null,0,Lt,[jt.a],{notificationTypeAltitudeVariation:[0,"notificationTypeAltitudeVariation"]},{refreshNotificationType:"refreshNotificationType"})],(function(t,e){t(e,2,0,e.component.notificationType)}),null)}function Te(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,Me)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Oe)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,De)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,"squawk"==n.notificationType.type),t(e,3,0,"prohibited_area"==n.notificationType.type||"prediction_prohibited_area"==n.notificationType.type),t(e,5,0,"altitude_variation"==n.notificationType.type)}),null)}function Ee(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Setting"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,34,{templateLabel:0}),l.Ub(335544320,35,{_explicitContent:0}),(t()(),l.sb(0,[[35,2]],0,1,null,Te)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Setting")}),null)}function Ie(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-fleet",[],null,null,null,Zt,qt)),l.Cb(1,114688,null,0,Ht,[A.f,zt.a,Vt.a],{fleetId:[0,"fleetId"]},null)],(function(t,e){t(e,1,0,e.component.notificationType.includeFleetId)}),null)}function Le(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","include"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,36,{templateLabel:0}),l.Ub(335544320,37,{_explicitContent:0}),(t()(),l.sb(0,[[37,2]],0,1,null,Ie)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"include")}),null)}function je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-fleet",[],null,null,null,Zt,qt)),l.Cb(1,114688,null,0,Ht,[A.f,zt.a,Vt.a],{fleetId:[0,"fleetId"]},null)],(function(t,e){t(e,1,0,e.component.notificationType.excludeFleetId)}),null)}function Re(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","exclude"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,38,{templateLabel:0}),l.Ub(335544320,39,{_explicitContent:0}),(t()(),l.sb(0,[[39,2]],0,1,null,je)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"exclude")}),null)}function Fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-bbox",[],null,null,null,de,le)),l.Cb(1,4308992,null,0,te,[ee.a,ne.a],{notificationType:[0,"notificationType"]},null)],(function(t,e){t(e,1,0,e.component.notificationType)}),null)}function Ne(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Bbox"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,40,{templateLabel:0}),l.Ub(335544320,41,{_explicitContent:0}),(t()(),l.sb(0,[[41,2]],0,1,null,Fe)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Bbox")}),null)}function Ye(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-feed",[],null,null,null,Ce,fe)),l.Cb(1,4308992,null,0,he,[pe.a,ne.a],{notificationType:[0,"notificationType"]},null)],(function(t,e){t(e,1,0,e.component.notificationType)}),null)}function Ue(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Feed"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,42,{templateLabel:0}),l.Ub(335544320,43,{_explicitContent:0}),(t()(),l.sb(0,[[43,2]],0,1,null,Ye)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Feed")}),null)}function Be(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,18,"mat-tab-group",[["class","mat-tab-group"],["disablePagination","true"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,Nt.c,Nt.b)),l.Cb(1,3325952,null,1,Yt.g,[l.p,l.j,[2,Yt.a],[2,p.a]],null,null),l.Ub(603979776,1,{_tabs:1}),(t()(),l.Db(3,16777216,null,null,5,"mat-tab",[["label","Base"]],null,null,null,Nt.d,Nt.a)),l.Cb(4,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,2,{templateLabel:0}),l.Ub(335544320,3,{_explicitContent:0}),(t()(),l.sb(0,[[3,2]],0,1,null,ke)),l.Cb(8,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(16777216,null,null,1,null,Ee)),l.Cb(10,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Le)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Re)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ne)),l.Cb(16,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ue)),l.Cb(18,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,"Base"),t(e,10,0,n.notificationType&&"flight_plan"!=n.notificationType.type&&"presence"!=n.notificationType.type&&"autopilot"!=n.notificationType.type),t(e,12,0,n.notificationType&&"flight_plan"!=n.notificationType.type),t(e,14,0,n.notificationType&&"flight_plan"!=n.notificationType.type),t(e,16,0,n.notificationType&&"flight_plan"!=n.notificationType.type),t(e,18,0,n.notificationType&&"flight_plan"!=n.notificationType.type)}),(function(t,e){t(e,0,0,l.Pb(e,1).dynamicHeight,"below"===l.Pb(e,1).headerPosition)}))}var ze=n("/MgC");class Ge{constructor(t,e,n,l){this.keycloakService=t,this.notificationTypeService=e,this.notificationSettingService=n,this.cdRefs=l,this.currentPage="listTypeNotification",this.notificationTypeSelected=void 0,this.displayedColumns=["userListening","name","type","operation"],this.dataSource=new F.l}ngOnInit(){this.getNotificationType()}getNotificationType(){this.notificationTypeService.getManyBaseNotificationTypeControllerNotificationType().subscribe(t=>{this.dataSource.data=t.data})}toggleActiveNotification(t){let e=t.userListeningIds.map(t=>({id:t}));t.userListeningIds.includes(this.keycloakService.client().subject)?e=e.filter(t=>t.id!==this.keycloakService.client().subject):e.push({id:this.keycloakService.client().subject}),this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType({id:t.id,body:{userListening:e}}).subscribe(e=>{t=e;const n=this.dataSource.data.findIndex(t=>t.id===e.id);n>=0&&(this.dataSource.data[n]=e,this.dataSource.data=this.dataSource.data.slice(0)),this.cdRefs.detectChanges();const l=this.dataSource.data.filter(t=>this.notificationTypeIsActive(t));this.notificationSettingService.updateSubscribeNotifications(l)})}notificationTypeIsActive(t){return t.userListeningIds.includes(this.keycloakService.client().subject)}editNotificationType(t){this.notificationTypeSelected=t,this.currentPage="formNotification"}deleteNotificationType(t){this.notificationTypeService.deleteOneBaseNotificationTypeControllerNotificationType({id:t.id}).subscribe(e=>{this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}createNotificationType(){this.notificationTypeSelected=void 0,this.currentPage="formNotification"}}var He=l.Bb({encapsulation:0,styles:[[".notification-param-action[_ngcontent-%COMP%]{padding:10px}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function Ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Is active "]))],null,null)}function qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var l=!0;return"change"===e&&(l=!1!==t.component.toggleActiveNotification(t.context.$implicit)&&l),l}),Y.b,Y.a)),l.Tb(5120,null,A.o,(function(t){return[t]}),[U.b]),l.Cb(4,8568832,null,0,U.b,[l.p,l.j,B.h,l.G,[8,null],[2,U.a],[2,p.a]],{checked:[0,"checked"]},{change:"change"})],(function(t,e){t(e,4,0,e.component.notificationTypeIsActive(e.context.$implicit))}),(function(t,e){t(e,2,0,l.Pb(e,4).id,null,l.Pb(e,4).indeterminate,l.Pb(e,4).checked,l.Pb(e,4).disabled,"before"==l.Pb(e,4).labelPosition,"NoopAnimations"===l.Pb(e,4)._animationMode)}))}function We(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Name "]))],null,null)}function $e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Type "]))],null,null)}function Ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.type)}))}function Je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function Qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),z.b,z.a)),l.Cb(3,180224,null,0,G.b,[l.p,B.h,[2,p.a]],null,null),l.Cb(4,1196032,null,0,H.g,[V.c,l.p,l.Y,H.c,[2,H.d],[8,null],[2,s.b],B.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,i.y,i.g)),l.Cb(6,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,q.d,q.b)),l.Cb(8,1294336,[["menu",4]],3,H.h,[l.p,l.G,H.a],null,null),l.Ub(603979776,17,{_allItems:1}),l.Ub(603979776,18,{items:1}),l.Ub(603979776,19,{lazyContent:0}),l.Tb(2048,null,H.d,null,[H.h]),l.Tb(2048,null,H.b,null,[H.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.editNotificationType(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(15,180224,[[17,4],[18,4]],0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,i.y,i.g)),l.Cb(17,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteNotificationType(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(20,180224,[[17,4],[18,4]],0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(22,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function Ze(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function en(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,71,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"div",[["class","notification-param-action"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"button",[["class","btn"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.createNotificationType()&&l),l}),z.b,z.a)),l.Cb(3,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,i.y,i.g)),l.Cb(6,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,64,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(9,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,1,{_contentColumnDefs:1}),l.Ub(603979776,2,{_contentRowDefs:1}),l.Ub(603979776,3,{_contentHeaderRowDefs:1}),l.Ub(603979776,4,{_contentFooterRowDefs:1}),(t()(),l.Db(14,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(16,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,5,{cell:0}),l.Ub(603979776,6,{headerCell:0}),l.Ub(603979776,7,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Ve)),l.Cb(22,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[6,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,qe)),l.Cb(25,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[5,4]],N.b,null,[F.b]),(t()(),l.Db(27,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(29,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,8,{cell:0}),l.Ub(603979776,9,{headerCell:0}),l.Ub(603979776,10,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,We)),l.Cb(35,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[9,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,$e)),l.Cb(38,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[8,4]],N.b,null,[F.b]),(t()(),l.Db(40,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(42,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,11,{cell:0}),l.Ub(603979776,12,{headerCell:0}),l.Ub(603979776,13,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Xe)),l.Cb(48,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[12,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Ke)),l.Cb(51,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[11,4]],N.b,null,[F.b]),(t()(),l.Db(53,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(55,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,14,{cell:0}),l.Ub(603979776,15,{headerCell:0}),l.Ub(603979776,16,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Je)),l.Cb(61,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[15,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Qe)),l.Cb(64,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[14,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,Ze)),l.Cb(67,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[3,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,tn)),l.Cb(70,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[2,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,3,0,"warn"),t(e,6,0,"add"),t(e,9,0,n.dataSource),t(e,16,0,"userListening"),t(e,29,0,"name"),t(e,42,0,"type"),t(e,55,0,"operation"),t(e,67,0,n.displayedColumns),t(e,70,0,n.displayedColumns)}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode)}))}function nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-form",[],null,null,null,Be,Se)),l.Cb(2,114688,null,0,we,[l.j,at.a,ne.a,Ct.a,wt.a,jt.a,Pe.a,xe.a],{notificationType:[0,"notificationType"]},null)],(function(t,e){t(e,2,0,e.component.notificationTypeSelected)}),null)}function ln(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,en)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,nn)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"listTypeNotification"==n.currentPage),t(e,3,0,"formNotification"==n.currentPage)}),null)}var rn=n("svHU"),on=n("YGmB"),an=n("7/LY"),sn=n("w+w1");class un{constructor(t,e,n,l){this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.aircraftEndpointService=l}ngOnInit(){console.log(this.notification)}focusOnAircraft(t){this.aircraftEndpointService.aircraftControllerGetAircrafts({icaos:[t]}).subscribe(t=>{if(t&&t.data&&t.data[0]){const e=this.trafficService.addAircraft(new sn.a(t.data[0]));this.mapService.recenterMap([e.longitude,e.latitude]),this.selectAircraftService.selectAircraft(e)}})}}var cn=n("xhS3"),dn=l.Bb({encapsulation:0,styles:[["hr[_ngcontent-%COMP%]{background-color:#3880ff}.notification-view[_ngcontent-%COMP%]{padding:10px}.notification-view[_ngcontent-%COMP%] .notification-desc[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-aircraft[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-autopilot[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-time[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-title[_ngcontent-%COMP%]{display:flex}.notification-view[_ngcontent-%COMP%] .aircraftIcaoRow[_ngcontent-%COMP%]{display:inline-flex}.notification-view[_ngcontent-%COMP%] .aircraftIcaoRow[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{margin-left:10px}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{width:50%}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:14px}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#666;font-size:11px;text-transform:uppercase}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(1n+2){color:var(--ion-color-primary)}"]],data:{}});function hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["End at"])),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(4,null,["",""]))],null,(function(t,e){t(e,4,0,e.component.notification.endAt)}))}function pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","notification-desc"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Squawk"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,["",""]))],null,(function(t,e){t(e,5,0,e.component.notification.data.squawk)}))}function fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","notification-desc"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Area"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,["",""]))],null,(function(t,e){t(e,5,0,e.context.$implicit.name)}))}function bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,fn)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.notification.data)}),null)}function mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,15,"div",[["class","notification-desc"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Estimate time"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,[""," s"])),(t()(),l.Db(6,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Area"])),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(10,null,["",""])),(t()(),l.Db(11,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Prop"])),(t()(),l.Db(14,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(15,null,[""," %"]))],null,(function(t,e){t(e,5,0,e.context.$implicit.second),t(e,10,0,e.context.$implicit.name),t(e,15,0,e.context.$implicit.probability)}))}function gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,mn)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.notification.data)}),null)}function _n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VSI"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,[""," ft/min "]))],null,(function(t,e){t(e,5,0,e.component.notification.data.vsi)}))}function yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit)}))}function An(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["CALLSIGN"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,[""," "])),(t()(),l.sb(16777216,null,null,1,null,yn)),l.Cb(7,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,7,0,e.component.notification.data.error)}),(function(t,e){t(e,5,0,e.component.notification.data.callsign)}))}function vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,44,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Last notification update"])),(t()(),l.Db(5,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(6,null,["",""])),(t()(),l.Db(7,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,10,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current altitude"])),(t()(),l.Db(12,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(13,null,["",""])),(t()(),l.Db(14,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current altitude MCP (target)"])),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(18,null,["",""])),(t()(),l.Db(19,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,12,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(21,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current position"])),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(25,null,["longitude : ",""])),(t()(),l.Db(26,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(27,null,["latitude : ",""])),(t()(),l.Db(28,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(29,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current VSI"])),(t()(),l.Db(31,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(32,null,["",""])),(t()(),l.Db(33,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(34,0,null,null,10,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(35,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(36,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Previous engaged modes"])),(t()(),l.Db(38,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(39,null,[""," "])),(t()(),l.Db(40,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(41,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current engaged modes"])),(t()(),l.Db(43,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(44,null,[""," "]))],null,(function(t,e){var n=e.component;t(e,6,0,n.notification.updatedAt),t(e,13,0,n.notification.data.currentAltitude),t(e,18,0,n.notification.data.currentNavAltitudeMcp),t(e,25,0,n.notification.data.currentLongitude),t(e,27,0,n.notification.data.currentLatitude),t(e,32,0,n.notification.data.currentVSI),t(e,39,0,n.notification.data.previousNavModes.join("+")),t(e,44,0,n.notification.data.currentNavModes.join("+"))}))}function Cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit)}))}function wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Cn)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.notification.data.conditions)}),null)}function Pn(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,44,"div",[["class","notification-view"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,10,"div",[["class","notification-view-title"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Name"])),(t()(),l.Db(5,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(6,null,["",""])),(t()(),l.Db(7,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Type"])),(t()(),l.Db(10,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(11,null,["",""])),(t()(),l.Db(12,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,7,"div",[["class","notification-view-aircraft"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Aircraft"])),(t()(),l.Db(17,0,null,null,3,"p",[["class","aircraftIcaoRow"]],null,null,null,null,null)),(t()(),l.Wb(18,null,[" "," "])),(t()(),l.Db(19,0,null,null,1,"ion-icon",[["md","md-locate"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.focusOnAircraft(i.notification.aircraftIcao)&&l),l}),i.y,i.g)),l.Cb(20,49152,null,0,r.A,[l.j,l.p,l.G],{md:[0,"md"]},null),(t()(),l.Db(21,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,7,"div",[["class","notification-view-time"]],null,null,null,null,null)),(t()(),l.Db(23,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Start at"])),(t()(),l.Db(26,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(27,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,hn)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(30,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,pn)),l.Cb(32,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bn)),l.Cb(34,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gn)),l.Cb(36,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,_n)),l.Cb(38,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,An)),l.Cb(40,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,vn)),l.Cb(42,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,wn)),l.Cb(44,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,20,0,"md-locate"),t(e,29,0,"prediction_prohibited_area"!=n.notification.type.type),t(e,32,0,"squawk"==n.notification.type.type),t(e,34,0,"prohibited_area"==n.notification.type.type),t(e,36,0,"prediction_prohibited_area"==n.notification.type.type),t(e,38,0,"altitude_variation"==n.notification.type.type),t(e,40,0,"flight_plan"==n.notification.type.type),t(e,42,0,"autopilot"==n.notification.type.type),t(e,44,0,"presence"==n.notification.type.type)}),(function(t,e){var n=e.component;t(e,6,0,n.notification.type.name),t(e,11,0,n.notification.type.type),t(e,18,0,n.notification.aircraftIcao),t(e,27,0,n.notification.startAt)}))}var xn=n("Hq+i");n.d(e,"a",(function(){return Nn}));var Sn=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content} .mat-dialog-content{margin:0;padding:0}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}.back-button[_ngcontent-%COMP%]{float:left;color:#fff;background-color:transparent;margin-left:10px;font-size:25px;margin-top:14px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.settings-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:30px;font-size:25px;margin-top:14px}"]],data:{}});function kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","back-button"],["name","arrow-round-back"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToList()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"arrow-round-back")}),null)}function Mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","settings-button"],["name","trash"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.deleteNotification()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"trash")}),null)}function On(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","settings-button"],["name","settings"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToParam()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"settings")}),null)}function Dn(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","notification-list"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(1,4866048,null,3,o.c,[l.p,[3,o.b],a.d,l.G,l.Y,o.a,[2,s.b],o.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,o.l,null,[o.c]),l.Cb(6,147456,[[1,4]],0,o.d,[l.p,[2,o.l]],null,null),l.Cb(7,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["LIST NOTIFICATIONS"])),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,".cdk-overlay-pane"),t(e,7,0,"notification-list")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1)._dragRef.isDragging(),l.Pb(e,7).id)}))}function Tn(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","notification-param"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(1,4866048,null,3,o.c,[l.p,[3,o.b],a.d,l.G,l.Y,o.a,[2,s.b],o.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,4,{_handles:1}),l.Ub(603979776,5,{_previewTemplate:0}),l.Ub(603979776,6,{_placeholderTemplate:0}),l.Tb(2048,null,o.l,null,[o.c]),l.Cb(6,147456,[[4,4]],0,o.d,[l.p,[2,o.l]],null,null),l.Cb(7,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["PARAM NOTIFICATIONS"])),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,".cdk-overlay-pane"),t(e,7,0,"notification-param")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1)._dragRef.isDragging(),l.Pb(e,7).id)}))}function En(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","notification-views"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(1,4866048,null,3,o.c,[l.p,[3,o.b],a.d,l.G,l.Y,o.a,[2,s.b],o.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,7,{_handles:1}),l.Ub(603979776,8,{_previewTemplate:0}),l.Ub(603979776,9,{_placeholderTemplate:0}),l.Tb(2048,null,o.l,null,[o.c]),l.Cb(6,147456,[[7,4]],0,o.d,[l.p,[2,o.l]],null,null),l.Cb(7,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["NOTIFICATION"])),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,".cdk-overlay-pane"),t(e,7,0,"notification-views")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1)._dragRef.isDragging(),l.Pb(e,7).id)}))}function In(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-list",[],null,[[null,"selectNotif"]],(function(t,e,n){var l=!0;return"selectNotif"===e&&(l=!1!==t.component.goToNotif(n)&&l),l}),R,T)),l.Cb(2,4308992,null,0,O,[M.a,D.a],null,{selectNotif:"selectNotif"})],(function(t,e){t(e,2,0)}),null)}function Ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param",[],null,null,null,ln,He)),l.Cb(2,114688,null,0,Ge,[M.a,ne.a,ze.a,l.j],null,null)],(function(t,e){t(e,2,0)}),null)}function jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-view",[],null,null,null,Pn,dn)),l.Cb(2,114688,null,0,un,[rn.a,on.a,an.b,cn.a],{notification:[0,"notification"]},null)],(function(t,e){t(e,2,0,e.component.selectNotif)}),null)}function Rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(16777216,null,null,1,null,kn)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Mn)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,On)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Dn)),l.Cb(9,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Tn)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,En)),l.Cb(13,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(14,0,null,null,7,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(15,16384,null,0,u.j,[],null,null),(t()(),l.sb(16777216,null,null,1,null,In)),l.Cb(17,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ln)),l.Cb(19,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,jn)),l.Cb(21,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0,"viewNotification"==n.currentPage||"paramNotification"==n.currentPage),t(e,5,0,"viewNotification"==n.currentPage),t(e,7,0,"listNotification"==n.currentPage),t(e,9,0,"listNotification"==n.currentPage),t(e,11,0,"paramNotification"==n.currentPage),t(e,13,0,"viewNotification"==n.currentPage),t(e,17,0,"listNotification"==n.currentPage),t(e,19,0,"paramNotification"==n.currentPage),t(e,21,0,"viewNotification"==n.currentPage)}),null)}function Fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"notifications-dialog",[],null,null,null,Rn,Sn)),l.Cb(1,114688,null,0,xn.a,[u.l,u.a,D.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Nn=l.zb("notifications-dialog",xn.a,Fn,{},{},[])},"3E0/":function(t,e,n){"use strict";var l=n("D0XW"),i=n("7o/Q"),r=n("WMd4");function o(t,e=l.a){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new a(i,e))}n.d(e,"a",(function(){return o}));class a{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new s(t,this.delay,this.scheduler))}}class s extends i.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,l=t.scheduler,i=t.destination;for(;n.length>0&&n[0].time-l.now()<=0;)n.shift().notification.observe(i);if(n.length>0){const e=Math.max(0,n[0].time-l.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(s.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new u(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(r.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(r.a.createComplete()),this.unsubscribe()}}class u{constructor(t,e){this.time=t,this.notification=e}}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},l=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];t.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:l,longMonthsParse:l,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(t,e,n){"use strict";var l=n("quSY");class i extends l.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,"a",(function(){return r}));class r extends i{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,l=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(l,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(l,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,l=void 0;try{this.work(t)}catch(i){n=!0,l=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),l}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,l=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&n.splice(l,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3TKY":function(t,e,n){"use strict";var l,i=n("n15R"),r=n("6Y3p"),o=n("CvXi"),a=n("BF0p"),s=n("9iPr"),u=n("u2yf"),c=n("94wz"),d=n("3er3"),h=n("ZXPP"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n,l,i){var r=t.call(this)||this;return r.tolerance=e,r.maxExtent=n,r.pixelRatio=i,r.maxLineWidth=0,r.resolution=l,r.beginGeometryInstruction1_=null,r.beginGeometryInstruction2_=null,r.bufferedMaxExtent_=null,r.instructions=[],r.coordinates=[],r.tmpCoordinate_=[],r.hitDetectionInstructions=[],r.state={},r}return p(e,t),e.prototype.applyPixelRatio=function(t){var e=this.pixelRatio;return 1==e?t:t.map((function(t){return t*e}))},e.prototype.appendFlatCoordinates=function(t,e,n,l,i,r){var s=this.coordinates.length,u=this.getBufferedMaxExtent();r&&(e+=l);var c,d,h,p=t[e],f=t[e+1],b=this.tmpCoordinate_,m=!0;for(c=e+l;c<n;c+=l)b[0]=t[c],b[1]=t[c+1],(h=Object(o.i)(u,b))!==d?(m&&(this.coordinates[s++]=p,this.coordinates[s++]=f),this.coordinates[s++]=b[0],this.coordinates[s++]=b[1],m=!1):h===a.a.INTERSECTING?(this.coordinates[s++]=b[0],this.coordinates[s++]=b[1],m=!1):m=!0,p=b[0],f=b[1],d=h;return(i&&m||c===e+l)&&(this.coordinates[s++]=p,this.coordinates[s++]=f),s},e.prototype.drawCustomCoordinates_=function(t,e,n,l,i){for(var r=0,o=n.length;r<o;++r){var a=n[r],s=this.appendFlatCoordinates(t,e,a,l,!1,!1);i.push(s),e=a}return e},e.prototype.drawCustom=function(t,e,n){this.beginGeometry(t,e);var l,i,r,o,a,c=t.getType(),d=t.getStride(),p=this.coordinates.length;if(c==s.a.MULTI_POLYGON){l=(t=t).getOrientedFlatCoordinates(),o=[];var f=t.getEndss();a=0;for(var b=0,m=f.length;b<m;++b){var g=[];a=this.drawCustomCoordinates_(l,a,f[b],d,g),o.push(g)}this.instructions.push([h.c.CUSTOM,p,o,t,n,u.c])}else c==s.a.POLYGON||c==s.a.MULTI_LINE_STRING?(r=[],l=c==s.a.POLYGON?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),a=this.drawCustomCoordinates_(l,0,t.getEnds(),d,r),this.instructions.push([h.c.CUSTOM,p,r,t,n,u.b])):c==s.a.LINE_STRING||c==s.a.MULTI_POINT?(l=t.getFlatCoordinates(),i=this.appendFlatCoordinates(l,0,l.length,d,!1,!1),this.instructions.push([h.c.CUSTOM,p,i,t,n,u.a])):c==s.a.POINT&&(l=t.getFlatCoordinates(),this.coordinates.push(l[0],l[1]),this.instructions.push([h.c.CUSTOM,p,i=this.coordinates.length,t,n]));this.endGeometry(e)},e.prototype.beginGeometry=function(t,e){var n=t.getExtent();this.beginGeometryInstruction1_=[h.c.BEGIN_GEOMETRY,e,0,n],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[h.c.BEGIN_GEOMETRY,e,0,n],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},e.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},e.prototype.reverseHitDetectionInstructions=function(){var t,e=this.hitDetectionInstructions;e.reverse();var n,l,r=e.length,o=-1;for(t=0;t<r;++t)(l=(n=e[t])[0])==h.c.END_GEOMETRY?o=t:l==h.c.BEGIN_GEOMETRY&&(n[2]=t,Object(i.h)(this.hitDetectionInstructions,o,t),o=-1)},e.prototype.setFillStrokeStyle=function(t,e){var n=this.state;if(t){var l=t.getColor();n.fillStyle=Object(r.a)(l||d.c)}else n.fillStyle=void 0;if(e){var i=e.getColor();n.strokeStyle=Object(r.a)(i||d.l);var o=e.getLineCap();n.lineCap=void 0!==o?o:d.e;var a=e.getLineDash();n.lineDash=a?a.slice():d.f;var s=e.getLineDashOffset();n.lineDashOffset=s||d.g;var u=e.getLineJoin();n.lineJoin=void 0!==u?u:d.h;var c=e.getWidth();n.lineWidth=void 0!==c?c:d.i;var h=e.getMiterLimit();n.miterLimit=void 0!==h?h:d.j,n.lineWidth>this.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0},e.prototype.createFill=function(t){var e=t.fillStyle,n=[h.c.SET_FILL_STYLE,e];return"string"!=typeof e&&n.push(!0),n},e.prototype.applyStroke=function(t){this.instructions.push(this.createStroke(t))},e.prototype.createStroke=function(t){return[h.c.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(t,e){var n=t.fillStyle;"string"==typeof n&&t.currentFillStyle==n||(void 0!==n&&this.instructions.push(e.call(this,t)),t.currentFillStyle=n)},e.prototype.updateStrokeStyle=function(t,e){var n=t.strokeStyle,l=t.lineCap,r=t.lineDash,o=t.lineDashOffset,a=t.lineJoin,s=t.lineWidth,u=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=l||r!=t.currentLineDash&&!Object(i.b)(t.currentLineDash,r)||t.currentLineDashOffset!=o||t.currentLineJoin!=a||t.currentLineWidth!=s||t.currentMiterLimit!=u)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=l,t.currentLineDash=r,t.currentLineDashOffset=o,t.currentLineJoin=a,t.currentLineWidth=s,t.currentMiterLimit=u)},e.prototype.endGeometry=function(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var e=[h.c.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Object(o.d)(this.maxExtent),this.maxLineWidth>0)){var t=this.resolution*(this.maxLineWidth+1)/2;Object(o.c)(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(c.a);e.a=f},"3UWI":function(t,e,n){"use strict";var l=n("D0XW"),i=n("zx2A");class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends i.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const l=Object(i.c)(n,new i.a(this));!l||l.closed?this.clearThrottle():this.add(this.throttled=l)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function s(t,e=l.a){return n=()=>Object(a.a)(t,e),function(t){return t.lift(new r(n))};var n}n.d(e,"a",(function(){return s}))},"3er3":function(t,e,n){"use strict";n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return b})),n.d(e,"j",(function(){return m})),n.d(e,"l",(function(){return g})),n.d(e,"m",(function(){return _})),n.d(e,"n",(function(){return y})),n.d(e,"k",(function(){return A})),n.d(e,"i",(function(){return v})),n.d(e,"a",(function(){return C})),n.d(e,"p",(function(){return w})),n.d(e,"t",(function(){return O})),n.d(e,"r",(function(){return D})),n.d(e,"q",(function(){return I})),n.d(e,"s",(function(){return L})),n.d(e,"u",(function(){return j})),n.d(e,"o",(function(){return R})),n.d(e,"b",(function(){return N}));var l=n("zX6e"),i=n("CZmH"),r=n("OPOH"),o=n("4mld"),a=n("DsAt"),s=n("YX0d"),u=n("qJZF"),c="10px sans-serif",d="#000",h="round",p=[],f=0,b="round",m=10,g="#000",_="center",y="middle",A=[0,0,0,0],v=1,C=new o.a,w=new a.a;w.setSize=function(){console.warn("labelCache is deprecated.")};var P,x,S,k=null,M={},O=function(){var t,e,n=["monospace","serif"],i=n.length,o="wmytzilWMYTZIL@#/&?$%10\uf013";function a(t,l,r){for(var a=!0,s=0;s<i;++s){var u=n[s];if(e=E(t+" "+l+" 32px "+u,o),r!=u){var c=E(t+" "+l+" 32px "+r+","+u,o);a=a&&c!=e}}return!!a}function s(){for(var e=!0,n=C.getKeys(),l=0,i=n.length;l<i;++l){var o=n[l];C.get(o)<100&&(a.apply(this,o.split("\n"))?(Object(r.b)(M),k=null,P=void 0,C.set(o,100)):(C.set(o,C.get(o)+1,!0),e=!1))}e&&(clearInterval(t),t=void 0)}return function(e){var n=Object(l.f)(e);if(n)for(var i=n.families,r=0,o=i.length;r<o;++r){var u=i[r],c=n.style+"\n"+n.weight+"\n"+u;void 0===C.get(c)&&(C.set(c,100,!0),a(n.style,n.weight,u)||(C.set(c,0,!0),void 0===t&&(t=setInterval(s,32))))}}}(),D=(S=M,function(t){var e=S[t];if(null==e)if(s.g){var n=Object(l.f)(t),i=T(t,"\u017dg"),r=isNaN(Number(n.lineHeight))?1.2:Number(n.lineHeight);M[t]=r*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else x||((x=document.createElement("div")).innerHTML="M",x.style.margin="0 !important",x.style.padding="0 !important",x.style.position="absolute !important",x.style.left="-99999px !important"),x.style.font=t,document.body.appendChild(x),S[t]=e=x.offsetHeight,document.body.removeChild(x);return e});function T(t,e){return k||(k=Object(i.a)(1,1)),t!=P&&(k.font=t,P=k.font),k.measureText(e)}function E(t,e){return T(t,e).width}function I(t,e,n){if(e in n)return n[e];var l=E(t,e);return n[e]=l,l}function L(t,e,n){for(var l=e.length,i=0,r=0;r<l;++r){var o=E(t,e[r]);i=Math.max(i,o),n.push(o)}return i}function j(t,e,n,l){0!==e&&(t.translate(n,l),t.rotate(e),t.translate(-n,-l))}function R(t,e,n,l,i,r,o,a,s,u,c){t.save(),1!==n&&(t.globalAlpha*=n),e&&t.setTransform.apply(t,e),l.contextInstructions?(t.translate(s,u),t.scale(c,c),function(t,e){for(var n=t.contextInstructions,l=0,i=n.length;l<i;l+=2)Array.isArray(n[l+1])?e[n[l]].apply(e,n[l+1]):e[n[l]]=n[l+1]}(l,t)):t.drawImage(l,i,r,o,a,s,u,o*c,a*c),t.restore()}var F=null;function N(t){return s.g?Object(u.k)(t):(F||(F=Object(i.a)(1,1).canvas),F.style.transform=Object(u.k)(t),F.style.transform)}},"3mbo":function(t,e,n){"use strict";var l=n("Pmt0"),i=n("WDFe"),r=n("TN97"),o=n("JW8z"),a=n("egkh"),s=n("R+T3"),u=n("BxA5"),c=n("aY/Z"),d=n("bHcU"),h=n("g6Z0"),p=n("hoJM"),f=n("gpXz"),b=n("WVt+"),m=n("wd/R"),g=n("eQqr");function _(t,e=!1){const n=Object(g.b)(t);let l;return l=!1===e?Math.round(n/1852*10)/10+" NM | "+Math.round(n/1e3*10)/10+" Km":n/1e3,l}function y(t,e){const n=t.getFirstCoordinate(),l=t.getLastCoordinate(),i=Math.round((450-180*Math.atan2(l[1]-n[1],l[0]-n[0])/Math.PI)%360),r=i<180?i+180:i-180,a=r>0&&r<=180?"\u21fe":"\u21fd";let s=`${i>0&&i<=180?"\u21fe":"\u21fd"} ${i}\xb0 | ${_(t)}`;if(e&&(e.aircraftA||e.aircraftB)){const t=e.aircraftA?null:Object(o.m)(n),i=e.aircraftB?null:Object(o.m)(l),r=function(t,e){if("number"!=typeof t.longitude||"number"!=typeof t.latitude||"number"!=typeof e.longitude||"number"!=typeof e.latitude||"number"!=typeof t.speed||"number"!=typeof e.speed||"number"!=typeof t.track||"number"!=typeof e.track)return null;const n="number"==typeof t.track?t.track:e.track,l=b.point([t.longitude,t.latitude]),i=b.point([e.longitude,e.latitude]),r=A(t.speed),o=A(e.speed),a=b.distance(i,l),s=n-(b.bearing(i,l)+180),u=s>=0?s:-s,c=(u>180?360-u:u)*Math.PI/180,d=r>=o?o:r,h=r<=o?o:r;return a/(Math.cos(c)*d+Math.sqrt(Math.pow(h,2)-Math.pow(Math.sin(c),2)*Math.pow(d,2)))}(e.aircraftA||{longitude:t[0],latitude:t[1],speed:0,track:0},e.aircraftB||{longitude:i[0],latitude:i[1],speed:0,track:0}),a=60*r*1e3;s+=" | "+("number"==typeof r?m.utc(a).format("m['] ss[\"]"):"Unknown ("+r+")")}return s+=` | ${a} ${r}\xb0`,s}function A(t){return 1.852*t/60}function v(t,e){const n=_(e,!0),l=t[0].speed||t[1].speed;return l>0?Math.round(n/(1.852*l)*60*100)/100:null}function C(t,e=0,n=0,l){let i={isStatic:!0,position:e,distanceInMeters:n,coordinates:t};return l&&(i.isStatic=!1,i.icao=l),i}class w extends r.a{constructor(t,e,n,l){super(),this.maxDurationConsiderationInMinutesForReachedWaypoints=.5,this.waypoints=[],this.isStatic=!0,this.released=!1,super.setId(m().valueOf()),this.waypoints[0]=C(n,0,0,l),!1===this.waypoints[0].isStatic&&!0===this.isStatic&&(this.isStatic=this.waypoints[0].isStatic),this.updateGeometryAndStyle(n),this.createPopup(),this.createPopupCloseElement(t,e)}updateGeometryAndStyle(t,e){const n=this.waypointsToSphericalLineString(t);super.setGeometry(n);const l=this.getMeasureFeatureStyle(e);super.setStyle(l)}updateMouseCoordinates(t){this.updateGeometryAndStyle(t),this.updatePopup()}addWaypoint(t,e){const n=C(t,this.waypoints.length,0,e);!1===n.isStatic&&!0===this.isStatic&&(this.isStatic=n.isStatic),this.waypoints[this.waypoints.length]=n,this.updateGeometryAndStyle()}updateWaypoint(t,e,n,l,i){const r=Object(o.d)(e);r[0]===this.waypoints[t].coordinates[0]&&r[1]===this.waypoints[t].coordinates[1]||(this.waypoints[t].coordinates=r,n&&this.removeReachedWaypoints(n,l,i),this.updateGeometryAndStyle(void 0,n),this.updatePopup(!0))}removeReachedWaypoints(t,e,n){const l=[];for(let i=0;i<this.waypoints.length;i++)if(this.waypoints[i+1]&&!1===this.waypoints[i].isStatic){const e=[],n=t.aircrafts[this.waypoints[i].icao]||null,r=!1===this.waypoints[i+1].isStatic?t.aircrafts[this.waypoints[i+1].icao]:null;n&&e.push(n),r&&e.push(r);const s=b.point(Object(o.m)(this.waypoints[i].coordinates)),u=b.point(Object(o.m)(this.waypoints[i+1].coordinates)),c=b.greatCircle(s,u).geometry.coordinates.map(t=>Object(o.d)(t));v(e,new a.a(c))<this.maxDurationConsiderationInMinutesForReachedWaypoints&&l.push(i+1)}l.forEach(t=>this.removeWaypoint(t,e,n))}removeWaypoint(t,e,n){this.waypoints.splice(t,1),this.waypoints.length>=2?this.updateGeometryAndStyle():this.removeFeature(e,n)}removeFeature(t,e){return t.removeOverlay(this.popupOverlay),e.removeFeature(this)}releaseMeasure(t,e){if(1===this.waypoints.length)return this.removeFeature(t,e);this.updateGeometryAndStyle(),this.updatePopup(!0),this.released=!0}waypointsToSphericalLineString(t){const e=[];for(let n=0;n<this.waypoints.length;n++)if(this.waypoints[n+1]){const t=b.point(Object(o.m)(this.waypoints[n].coordinates)),l=b.point(Object(o.m)(this.waypoints[n+1].coordinates)),i=b.greatCircle(t,l);e.push([...i.geometry.coordinates.map(t=>Object(o.d)(t))])}else if(t){const l=b.point(Object(o.m)(this.waypoints[n].coordinates)),i=b.point(Object(o.m)(t)),r=b.greatCircle(l,i);e.push([...r.geometry.coordinates.map(t=>Object(o.d)(t))])}return new s.a(e)}getMeasureFeatureStyle(t){const e=super.getGeometry(),n=[new d.b({stroke:new p.a({color:"rgba( 0, 0, 0, 0.8 )",lineDash:[10,10],width:4})})];let l=0;return e.getCoordinates().forEach(e=>{const i=new a.a(e);let r;r=String(this.waypoints[l+1]&&t&&(!1===this.waypoints[l].isStatic||!1===this.waypoints[l+1].isStatic)?y(i,{aircraftA:(!1===this.waypoints[l].isStatic?t.aircrafts[this.waypoints[l].icao]:null)||null,aircraftB:(!1===this.waypoints[l+1].isStatic?t.aircrafts[this.waypoints[l+1].icao]:null)||null}):y(i)),n.push(new d.b({geometry:i,text:new f.a({text:r,font:"16px sans-serif",placement:"line",textBaseline:"bottom",overflow:!0,fill:new h.a({color:"#000000"})})})),l+=1}),n}updatePopup(t=!1){this.popupElement.innerHTML=String(_(super.getGeometry())),this.popupOverlay.setPosition(super.getGeometry().getLastCoordinate()),!0===t&&this.popupElement.appendChild(this.popupCloseElement)}createPopup(){this.popupElement=document.createElement("div"),this.popupElement.className="measure-layer__tooltip measure-layer__tooltip--measure",this.popupOverlay=new u.a({id:super.getId(),element:this.popupElement,offset:[0,-15],positioning:c.a.BOTTOM_CENTER,stopEvent:!0}),this.popupElement.innerHTML=String(_(super.getGeometry())),this.popupOverlay.setPosition(super.getGeometry().getLastCoordinate())}createPopupCloseElement(t,e){const n=function(){const t=document.createElement("ion-icon");return t.name="md-close",t.style.padding="0",t.style.marginRight="-8px",t.style.marginTop="-4px",t.style.marginBottom="-4px",t.style.borderTopRightRadius="4px",t.style.borderBottomRightRadius="4px",t.style.fontSize="16px",t.style.marginLeft="4px",t.style.color="inherit",t.style.backgroundColor="rgba( 0, 0, 0, 0 )",t.addEventListener("mouseover",()=>{t.style.backgroundColor="rgba( 0, 0, 0, 0.3 )"}),t.addEventListener("mouseout",()=>{t.style.backgroundColor="rgba( 0, 0, 0, 0 )"}),t}(),l=this.popupOverlay,i=this;n.addEventListener("click",()=>{t.removeOverlay(l),e.removeFeature(i)}),this.popupCloseElement=n}getGeometry(){return super.getGeometry()}}var P=n("svHU"),x=n("YGmB"),S=n("EDvw"),k=n("8Y7J");n.d(e,"a",(function(){return M}));let M=(()=>{class t{constructor(t,e){this.mapService=t,this.trafficService=e,this.updateAircraftCoordinates()}initLayer(){this.source=new i.a({features:[]}),this.layer=new l.a({name:"Measures",source:this.source,updateWhileAnimating:!0,updateWhileInteracting:!0,zIndex:9999}),this.mapService.addLayerToGroup("GENERAL",this.layer)}startMeasure(t,e){const n=this.checkIfWaypointIsAnAircraft(e);this.measureInProgress=new w(this.mapService.getMap(),this.source,t,n),this.source.addFeature(this.measureInProgress),this.mapService.getMap().addOverlay(this.measureInProgress.popupOverlay)}updateMeasure(t){this.measureInProgress.updateMouseCoordinates(t)}doneMeasure(){this.measureInProgress.releaseMeasure(this.mapService.getMap(),this.source),this.measureInProgress=void 0}addWaypoint(t,e){const n=this.checkIfWaypointIsAnAircraft(e);this.measureInProgress.addWaypoint(t,n)}checkIfWaypointIsAnAircraft(t){let e=null;return this.mapService.getMap().forEachFeatureAtPixel(t,(t,n)=>{!e&&this.isTrafficLayer(n)&&t instanceof S.a&&(e=t.getAircraft())},{hitTolerance:10}),e?e.icao:null}isTrafficLayer(t){return!!t&&!!t.get("name")&&"aircraft"===t.get("name").split(":")[0]}updateAircraftCoordinates(){setInterval(()=>{this.source&&!this.measureInProgress&&this.source.forEachFeature(t=>{this.trafficService&&!1===t.isStatic&&!0===t.released&&t.waypoints.forEach(e=>{if(!1===e.isStatic){const n=this.trafficService.aircrafts[e.icao];n&&t.updateWaypoint(e.position,[n.longitude,n.latitude],this.trafficService,this.mapService.getMap(),this.source)}})})},333)}}return t.ngInjectableDef=k.cc({factory:function(){return new t(k.dc(P.a),k.dc(x.a))},token:t,providedIn:"root"}),t})()},"3y7P":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}vehicleControllerGetFull$Response(e){const n=new o.a(this.rootUrl,t.VehicleControllerGetFullPath,"get");return e&&n.query("matchKey",e.matchKey),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}vehicleControllerGetFull(t){return this.vehicleControllerGetFull$Response(t).pipe(Object(s.a)(t=>t.body))}vehicleControllerExportCsv$Response(e){const n=new o.a(this.rootUrl,t.VehicleControllerExportCsvPath,"get");return this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}vehicleControllerExportCsv(t){return this.vehicleControllerExportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}vehicleControllerImportCsv$Response(e){const n=new o.a(this.rootUrl,t.VehicleControllerImportCsvPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}vehicleControllerImportCsv(t){return this.vehicleControllerImportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseVehicleControllerVehiclePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseVehicleControllerVehicle(t){return this.getOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseVehicleControllerVehiclePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseVehicleControllerVehicle(t){return this.replaceOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseVehicleControllerVehiclePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseVehicleControllerVehicle(t){return this.deleteOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseVehicleControllerVehiclePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseVehicleControllerVehicle(t){return this.updateOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseVehicleControllerVehiclePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseVehicleControllerVehicle(t){return this.getManyBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseVehicleControllerVehiclePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseVehicleControllerVehicle(t){return this.createOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseVehicleControllerVehiclePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseVehicleControllerVehicle(t){return this.createManyBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.VehicleControllerGetFullPath="/vehicle/full",t.VehicleControllerExportCsvPath="/vehicle/export",t.VehicleControllerImportCsvPath="/vehicle/import",t.GetOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.ReplaceOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.DeleteOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.UpdateOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.GetManyBaseVehicleControllerVehiclePath="/vehicle",t.CreateOneBaseVehicleControllerVehiclePath="/vehicle",t.CreateManyBaseVehicleControllerVehiclePath="/vehicle/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"4/Mb":function(t,e,n){var l,i,r;i=[n("d5dl"),n("zeP7"),n("33Yk")],void 0===(r="function"==typeof(l=function(t,e,n){"use strict";return e=e(t),{getConverter:function(t){var e;switch(t.toLowerCase()){case"latlong":e=n.toLatLong;break;case"utm":e=n.toUtm}return e},toLatLong:n.toLatLong,toUtm:e}})?l.apply(e,i):l)||(t.exports=r)},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};t.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"4mld":function(t,e,n){"use strict";n.d(e,"b",(function(){return p}));var l,i=n("EwAT"),r=n("e0/R"),o=n("Nafy"),a=n("zvco"),s=n("OPOH"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.key=n,i.oldValue=l,i}return u(e,t),e}(a.a),d=function(t){function e(e){var n=t.call(this)||this;return Object(i.c)(n),n.values_={},void 0!==e&&n.setProperties(e),n}return u(e,t),e.prototype.get=function(t){var e;return this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e},e.prototype.getKeys=function(){return Object.keys(this.values_)},e.prototype.getProperties=function(){return Object(s.a)({},this.values_)},e.prototype.notify=function(t,e){var n;n=p(t),this.dispatchEvent(new c(n,t,e)),this.dispatchEvent(new c(n=r.a.PROPERTYCHANGE,t,e))},e.prototype.set=function(t,e,n){if(n)this.values_[t]=e;else{var l=this.values_[t];this.values_[t]=e,l!==e&&this.notify(t,l)}},e.prototype.setProperties=function(t,e){for(var n in t)this.set(n,t[n],e)},e.prototype.unset=function(t,e){if(t in this.values_){var n=this.values_[t];delete this.values_[t],e||this.notify(t,n)}},e}(o.a),h={};function p(t){return h.hasOwnProperty(t)?h[t]:h[t]="change:"+t}e.a=d},"4q72":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t,e){this.dialogRef=t,this.notification=e}ngOnInit(){}goToNotif(){this.dialogRef.close(this.notification)}closeModal(){this.dialogRef.close()}}},"4wAk":function(t,e,n){"use strict";var l,i=n("g1uh"),r=n("GDrd"),o=n("4mld"),a=n("zvco"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.element=n,i.index=l,i}return s(e,t),e}(a.a),c=function(t){function e(e,n){var l=t.call(this)||this;if(l.unique_=!!(n||{}).unique,l.array_=e||[],l.unique_)for(var i=0,r=l.array_.length;i<r;++i)l.assertUnique_(l.array_[i],i);return l.updateLength_(),l}return s(e,t),e.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},e.prototype.extend=function(t){for(var e=0,n=t.length;e<n;++e)this.push(t[e]);return this},e.prototype.forEach=function(t){for(var e=this.array_,n=0,l=e.length;n<l;++n)t(e[n],n,e)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get("length")},e.prototype.insertAt=function(t,e){this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new u(r.a.ADD,e,t))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var e=this.getLength();return this.insertAt(e,t),this.getLength()},e.prototype.remove=function(t){for(var e=this.array_,n=0,l=e.length;n<l;++n)if(e[n]===t)return this.removeAt(n)},e.prototype.removeAt=function(t){var e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new u(r.a.REMOVE,e,t)),e},e.prototype.setAt=function(t,e){var n=this.getLength();if(t<n){this.unique_&&this.assertUnique_(e,t);var l=this.array_[t];this.array_[t]=e,this.dispatchEvent(new u(r.a.REMOVE,l,t)),this.dispatchEvent(new u(r.a.ADD,e,t))}else{for(var i=n;i<t;++i)this.insertAt(i,void 0);this.insertAt(t,e)}},e.prototype.updateLength_=function(){this.set("length",this.array_.length)},e.prototype.assertUnique_=function(t,e){for(var n=0,l=this.array_.length;n<l;++n)if(this.array_[n]===t&&n!==e)throw new i.a(58)},e}(o.a);e.a=c},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("lJxs"),i=n("Cfvw"),r=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>Object(i.a)(t(n,r)).pipe(Object(l.a)((t,l)=>e(n,t,r,l))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new s(t,this.project,this.concurrent))}}class s extends r.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(l){return void this.destination.error(l)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.a(this),n=this.destination;n.add(e);const l=Object(r.c)(t,e);l!==e&&n.add(l)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5Bek":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("XNiG"),o=n("quSY");let a=0;class s{constructor(){this._stateChanges=new r.a,this._openCloseAllActions=new r.a,this.id="cdk-accordion-"+a++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(l.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}let u=0;class c{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=o.a.EMPTY,this.closed=new i.r,this.opened=new i.r,this.destroyed=new i.r,this.expandedChange=new i.r,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(l.c)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}class d{}},"5GAg":function(t,e,n){"use strict";n.d(e,"c",(function(){return A})),n.d(e,"b",(function(){return C})),n.d(e,"g",(function(){return w})),n.d(e,"i",(function(){return M})),n.d(e,"f",(function(){return O})),n.d(e,"j",(function(){return E})),n.d(e,"d",(function(){return I})),n.d(e,"h",(function(){return j})),n.d(e,"e",(function(){return R})),n.d(e,"k",(function(){return F})),n.d(e,"a",(function(){return N}));var l=n("SVse"),i=n("8Y7J"),r=n("XNiG"),o=n("quSY"),a=n("LRne"),s=n("dvZr"),u=n("vkgz"),c=n("Kj3r"),d=n("pLZG"),h=n("lJxs"),p=n("IzEk"),f=n("/HVE"),b=n("KCVW");function m(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let g=0;const _=new Map;let y=null,A=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),_.set(e,{messageElement:e,referenceCount:0})):_.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=_.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}y&&0===y.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");y&&this._deleteMessagesContainer(),_.clear()}_createMessageElement(t){const e=this._document.createElement("div");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),y.appendChild(e),_.set(t,{messageElement:e,referenceCount:0})}_setMessageId(t){t.id||(t.id="cdk-describedby-message-"+g++)}_deleteMessageElement(t){const e=_.get(t),n=e&&e.messageElement;y&&n&&y.removeChild(n),_.delete(t)}_createMessagesContainer(){if(!y){const t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode.removeChild(t),y=this._document.createElement("div"),y.id="cdk-describedby-message-container",y.setAttribute("aria-hidden","true"),y.style.display="none",this._document.body.appendChild(y)}}_deleteMessagesContainer(){y&&y.parentNode&&(y.parentNode.removeChild(y),y=null)}_removeCdkDescribedByReferenceIds(t){const e=m(t,"aria-describedby").filter(t=>0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=_.get(e);!function(t,e,n){const l=m(t,e);l.some(t=>t.trim()==n.trim())||(l.push(n.trim()),t.setAttribute(e,l.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=_.get(e);n.referenceCount--,function(t,e,n){const l=m(t,e).filter(t=>t!=n.trim());l.length?t.setAttribute(e,l.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=m(t,"aria-describedby"),l=_.get(e),i=l&&l.messageElement.id;return!!i&&-1!=n.indexOf(i)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":(""+e).trim(),l=t.getAttribute("aria-label");return!(!n||l&&l.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(l.d))},token:t,providedIn:"root"}),t})();class v{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.a,this.change=new r.a,t instanceof i.L&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(u.a)(t=>this._pressedLetters.push(t)),Object(c.a)(t),Object(d.a)(()=>this._pressedLetters.length>0),Object(h.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const l=(this._activeItemIndex+n)%e.length,i=e[l];if(!this._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(l);break}}this._pressedLetters=[]}),this}setActiveItem(t){const e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case s.p:return void this.tabOut.next();case s.e:if(this._vertical&&n){this.setNextItemActive();break}return;case s.q:if(this._vertical&&n){this.setPreviousItemActive();break}return;case s.n:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case s.j:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(s.t)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=s.a&&e<=s.r||e>=s.s&&e<=s.k)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),l=e[n];this._activeItem=null==l?null:l,this._activeItemIndex=n}updateActiveItemIndex(t){this.updateActiveItem(t)}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const l=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[l]))return void this.setActiveItem(l)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof i.L?this._items.toArray():this._items}}class C extends v{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class w extends v{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let P=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===S(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let l=t.nodeName.toLowerCase(),i=S(t);if(t.hasAttribute("contenteditable"))return-1!==i;if("iframe"===l)return!1;if("audio"===l){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===l){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==l||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||x(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(f.a))},token:t,providedIn:"root"}),t})();function x(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function S(t){if(!x(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class k{constructor(t,e,n,l,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=l,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Object(i.hb)()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let M=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new k(t,this._checker,this._ngZone,this._document,e)}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(P),Object(i.dc)(i.G),Object(i.dc)(l.d))},token:t,providedIn:"root"}),t})();class O{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(b.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(b.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}const D=new i.w("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),T=new i.w("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let E=(()=>{class t{constructor(t,e,n,l){this._ngZone=e,this._defaultOptions=l,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let l,i;return 1===e.length&&"number"==typeof e[0]?i=e[0]:[l,i]=e,this.clear(),clearTimeout(this._previousTimeout),l||(l=n&&n.politeness?n.politeness:"polite"),null==i&&n&&(i=n.duration),this._liveElement.setAttribute("aria-live",l),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof i&&(this._previousTimeout=setTimeout(()=>this.clear(),i))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(D,8),Object(i.dc)(i.G),Object(i.dc)(l.d),Object(i.dc)(T,8))},token:t,providedIn:"root"}),t})();class I{constructor(t,e,n,l){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=l,this._politeness="off"}get politeness(){return this._politeness}set politeness(t){this._politeness="polite"===t||"assertive"===t?t:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}const L=Object(f.g)({passive:!0,capture:!0});let j=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(a.a)(null);const n=Object(b.e)(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let l={unlisten:()=>{},checkChildren:e,subject:new r.a};this._elementInfo.set(n,l),this._incrementMonitoredElementCount();let i=t=>this._onFocus(t,n),o=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",i,!0),n.addEventListener("blur",o,!0)}),l.unlisten=()=>{n.removeEventListener("focus",i,!0),n.removeEventListener("blur",o,!0)},l.subject.asObservable()}stopMonitoring(t){const e=Object(b.e)(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const l=Object(b.e)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof l.focus&&l.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let l=this._origin;l||(l=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,l),this._emitOrigin(n.subject,l),this._lastFocusOrigin=l}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,L),document.addEventListener("mousedown",this._documentMousedownListener,L),document.addEventListener("touchstart",this._documentTouchstartListener,L),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,L),document.removeEventListener("mousedown",this._documentMousedownListener,L),document.removeEventListener("touchstart",this._documentTouchstartListener,L),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(i.G),Object(i.dc)(f.a))},token:t,providedIn:"root"}),t})();class R{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new i.r,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}function F(t){return 0===t.buttons}class N{}},"5LH7":function(t,e){var n=1e3,l=6e4,i=60*l,r=24*i;function o(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var a,s=typeof t;if("string"===s&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*r;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*l;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(t);if("number"===s&&!1===isNaN(t))return e.long?o(a=t,r,"day")||o(a,i,"hour")||o(a,l,"minute")||o(a,n,"second")||a+" ms":function(t){return t>=r?Math.round(t/r)+"d":t>=i?Math.round(t/i)+"h":t>=l?Math.round(t/l)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"5QaY":function(t,e,n){"use strict";var l=n("oQtH"),i=(n("svHU"),n("hUP0"),n("G0WM"),n("kvpX")),r=n("eRUA"),o=n.n(r),a=n("t98H"),s=n("Hsuu"),u=n("Uhtb"),c=n("9iPr"),d=n("egkh"),h=n("R+T3"),p=n("mkQN"),f=n("iNpl"),b=n("9ANI"),m=n("W8M7"),g=n("TZgD"),_=n("9d2U"),y=n("/O31"),A=n("n15R"),v=n("CvXi"),C=n("kVmM"),w=n("Cp04"),P=n("saKC"),x=n("JW8z"),S=n("vvg4"),k=n("qJZF"),M=Object(k.c)(),O=function(){function t(t,e,n,l,i){this.id_=i,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=n,this.properties_=l}return t.prototype.get=function(t){return this.properties_[t]},t.prototype.getExtent=function(){return this.extent_||(this.extent_=this.type_===c.a.POINT?Object(v.m)(this.flatCoordinates_):Object(v.o)(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_},t.prototype.getFlatInteriorPoint=function(){if(!this.flatInteriorPoints_){var t=Object(v.x)(this.getExtent());this.flatInteriorPoints_=Object(w.a)(this.flatCoordinates_,0,this.ends_,2,t,0)}return this.flatInteriorPoints_},t.prototype.getFlatInteriorPoints=function(){if(!this.flatInteriorPoints_){var t=Object(C.a)(this.flatCoordinates_,0,this.ends_,2);this.flatInteriorPoints_=Object(w.b)(this.flatCoordinates_,0,this.ends_,2,t)}return this.flatInteriorPoints_},t.prototype.getFlatMidpoint=function(){return this.flatMidpoints_||(this.flatMidpoints_=Object(P.a)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_},t.prototype.getFlatMidpoints=function(){if(!this.flatMidpoints_){this.flatMidpoints_=[];for(var t=this.flatCoordinates_,e=0,n=this.ends_,l=0,i=n.length;l<i;++l){var r=n[l],o=Object(P.a)(t,e,r,2,.5);Object(A.c)(this.flatMidpoints_,o),e=r}}return this.flatMidpoints_},t.prototype.getId=function(){return this.id_},t.prototype.getOrientedFlatCoordinates=function(){return this.flatCoordinates_},t.prototype.getGeometry=function(){return this},t.prototype.getSimplifiedGeometry=function(t){return this},t.prototype.simplifyTransformed=function(t,e){return this},t.prototype.getProperties=function(){return this.properties_},t.prototype.getStride=function(){return 2},t.prototype.getStyleFunction=function(){},t.prototype.getType=function(){return this.type_},t.prototype.transform=function(t,e){var n=(t=Object(x.g)(t)).getExtent(),l=t.getWorldExtent(),i=Object(v.A)(l)/Object(v.A)(n);Object(k.b)(M,l[0],l[3],i,-i,0,0,0),Object(S.c)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,M,this.flatCoordinates_)},t}();O.prototype.getEnds=function(){return this.ends_},O.prototype.getEndss=O.prototype.getEnds,O.prototype.getFlatCoordinates=O.prototype.getOrientedFlatCoordinates;var D,T=O,E=(D=function(t,e){return(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function I(t,e,n){if(3===t){var l={keys:[],values:[],features:[]},i=n.readVarint()+n.pos;n.readFields(L,l,i),l.length=l.features.length,l.length&&(e[l.name]=l)}}function L(t,e,n){if(15===t)e.version=n.readVarint();else if(1===t)e.name=n.readString();else if(5===t)e.extent=n.readVarint();else if(2===t)e.features.push(n.pos);else if(3===t)e.keys.push(n.readString());else if(4===t){for(var l=null,i=n.readVarint()+n.pos;n.pos<i;)l=1==(t=n.readVarint()>>3)?n.readString():2===t?n.readFloat():3===t?n.readDouble():4===t?n.readVarint64():5===t?n.readVarint():6===t?n.readSVarint():7===t?n.readBoolean():null;e.values.push(l)}}function j(t,e,n){if(1==t)e.id=n.readVarint();else if(2==t)for(var l=n.readVarint()+n.pos;n.pos<l;){var i=e.layer.keys[n.readVarint()],r=e.layer.values[n.readVarint()];e.properties[i]=r}else 3==t?e.type=n.readVarint():4==t&&(e.geometry=n.pos)}function R(t,e,n){t.pos=e.features[n];var l=t.readVarint()+t.pos,i={layer:e,type:0,properties:{}};return t.readFields(j,i,l),i}var F=function(t){function e(e){var n=t.call(this)||this,l=e||{};return n.dataProjection=new _.a({code:"",units:y.b.TILE_PIXELS}),n.featureClass_=l.featureClass?l.featureClass:T,n.geometryName_=l.geometryName,n.layerName_=l.layerName?l.layerName:"layer",n.layers_=l.layers?l.layers:null,n.idProperty_=l.idProperty,n}return E(e,t),e.prototype.readRawGeometry_=function(t,e,n,l){t.pos=e.geometry;for(var r=t.readVarint()+t.pos,o=1,a=0,s=0,u=0,c=0,d=0;t.pos<r;){if(!a){var h=t.readVarint();o=7&h,a=h>>3}a--,1===o||2===o?(s+=t.readSVarint(),u+=t.readSVarint(),1===o&&c>d&&(l.push(c),d=c),n.push(s,u),c+=2):7===o?c>d&&(n.push(n[d],n[d+1]),c+=2):Object(i.a)(!1,59)}c>d&&(l.push(c),d=c)},e.prototype.createFeature_=function(t,e,n){var l,i=e.type;if(0===i)return null;var r,o=e.properties;this.idProperty_?(r=o[this.idProperty_],delete o[this.idProperty_]):r=e.id,o[this.layerName_]=e.layer.name;var s=[],_=[];this.readRawGeometry_(t,e,s,_);var y=function(t,e){var n;return 1===t?n=1===e?c.a.POINT:c.a.MULTI_POINT:2===t?n=1===e?c.a.LINE_STRING:c.a.MULTI_LINE_STRING:3===t&&(n=c.a.POLYGON),n}(i,_.length);if(this.featureClass_===T)(l=new this.featureClass_(y,s,_,o,r)).transform(n.dataProjection,n.featureProjection);else{var A=void 0;if(y==c.a.POLYGON){for(var v=[],C=0,w=0,P=0,x=_.length;P<x;++P){var S=_[P];Object(g.a)(s,C,S,2)||(v.push(_.slice(w,P)),w=P),C=S}A=v.length>1?new f.a(s,u.a.XY,v):new m.a(s,u.a.XY,_)}else A=y===c.a.POINT?new b.a(s,u.a.XY):y===c.a.LINE_STRING?new d.a(s,u.a.XY):y===c.a.POLYGON?new m.a(s,u.a.XY,_):y===c.a.MULTI_POINT?new p.a(s,u.a.XY):y===c.a.MULTI_LINE_STRING?new h.a(s,u.a.XY,_):null;l=new(0,this.featureClass_),this.geometryName_&&l.setGeometryName(this.geometryName_);var k=Object(a.b)(A,!1,n);l.setGeometry(k),l.setId(r),l.setProperties(o,!0)}return l},e.prototype.getType=function(){return s.a.ARRAY_BUFFER},e.prototype.readFeatures=function(t,e){var n=this.layers_,l=this.adaptOptions(e),i=Object(x.g)(l.dataProjection);i.setWorldExtent(l.extent),l.dataProjection=i;var r=new o.a(t),a=r.readFields(I,{}),s=[];for(var u in a)if(!n||-1!=n.indexOf(u)){var c=a[u];i.setExtent(c?[0,0,c.extent,c.extent]:null);for(var d=0,h=c.length;d<h;++d){var p=R(r,c,d);s.push(this.createFeature_(r,p,l))}}return s},e.prototype.readProjection=function(t){return this.dataProjection},e.prototype.setLayers=function(t){this.layers_=t},e}(a.a),N=n("GvmM"),Y=n("OPOH"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e){var n=this,l=e||{},i=Object(Y.a)({},l);return delete i.preload,delete i.useInterimTilesOnError,(n=t.call(this,i)||this).setPreload(void 0!==l.preload?l.preload:0),n.setUseInterimTilesOnError(void 0===l.useInterimTilesOnError||l.useInterimTilesOnError),n}return U(e,t),e.prototype.getPreload=function(){return this.get("preload")},e.prototype.setPreload=function(t){this.set("preload",t)},e.prototype.getUseInterimTilesOnError=function(){return this.get("useInterimTilesOnError")},e.prototype.setUseInterimTilesOnError=function(t){this.set("useInterimTilesOnError",t)},e}(N.a),z=n("EwAT"),G=function(){function t(t,e,n,l){this.minX=t,this.maxX=e,this.minY=n,this.maxY=l}return t.prototype.contains=function(t){return this.containsXY(t[1],t[2])},t.prototype.containsTileRange=function(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY},t.prototype.containsXY=function(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY},t.prototype.equals=function(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY},t.prototype.extend=function(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY},t}();function H(t,e,n,l,i){return void 0!==i?(i.minX=t,i.maxX=e,i.minY=n,i.maxY=l,i):new G(t,e,n,l)}var V=G,q=n("rMEb"),W=n("E35u"),$=n("3er3"),X=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),K=function(t){function e(e){var n=t.call(this,e)||this;return n.extentChanged=!0,n.renderedExtent_=null,n.renderedProjection=null,n.renderedTiles=[],n.newTiles_=!1,n.tmpExtent=Object(v.j)(),n.tmpTileRange_=new V(0,0,0,0),n}return X(e,t),e.prototype.isDrawableTile=function(t){var e=this.getLayer(),n=t.getState(),l=e.getUseInterimTilesOnError();return n==q.a.LOADED||n==q.a.EMPTY||n==q.a.ERROR&&!l},e.prototype.getTile=function(t,e,n,l){var i=l.pixelRatio,r=l.viewState.projection,o=this.getLayer(),a=o.getSource().getTile(t,e,n,i,r);return a.getState()==q.a.ERROR&&(o.getUseInterimTilesOnError()?o.getPreload()>0&&(this.newTiles_=!0):a.setState(q.a.LOADED)),this.isDrawableTile(a)||(a=a.getInterimTile()),a},e.prototype.loadedTileCallback=function(e,n,l){return!!this.isDrawableTile(l)&&t.prototype.loadedTileCallback.call(this,e,n,l)},e.prototype.prepareFrame=function(t){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(t,e){var n=t.layerStatesArray[t.layerIndex],l=t.viewState,i=l.projection,r=l.resolution,o=l.center,a=l.rotation,s=t.pixelRatio,u=this.getLayer(),c=u.getSource(),d=c.getRevision(),h=c.getTileGridForProjection(i),p=h.getZForResolution(r,c.zDirection),f=h.getResolution(p),b=t.extent,m=n.extent&&Object(x.f)(n.extent,i);m&&(b=Object(v.B)(b,Object(x.f)(n.extent,i)));var g=c.getTilePixelRatio(s),_=Math.round(t.size[0]*g),y=Math.round(t.size[1]*g);if(a){var C=Math.round(Math.sqrt(_*_+y*y));_=C,y=C}var w=f*_/2/g,P=f*y/2/g,S=[o[0]-w,o[1]-P,o[0]+w,o[1]+P],M=h.getTileRangeForExtentAndZ(b,p),O={};O[p]={};var D=this.createLoadedTileFinder(c,i,O),T=this.tmpExtent,E=this.tmpTileRange_;this.newTiles_=!1;for(var I=M.minX;I<=M.maxX;++I)for(var L=M.minY;L<=M.maxY;++L){var j=this.getTile(p,I,L,t);if(this.isDrawableTile(j)){var R=Object(z.c)(this);if(j.getState()==q.a.LOADED){O[p][j.tileCoord.toString()]=j;var F=j.inTransition(R);this.newTiles_||!F&&-1!==this.renderedTiles.indexOf(j)||(this.newTiles_=!0)}if(1===j.getAlpha(R,t.time))continue}var N=h.getTileCoordChildTileRange(j.tileCoord,E,T),Y=!1;N&&(Y=D(p+1,N)),Y||h.forEachTileCoordParentTileRange(j.tileCoord,D,E,T)}var U=f/r;Object(k.b)(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/g,1/g,a,-_/2,-y/2);var B=Object($.b)(this.pixelTransform);this.useContainer(e,B,n.opacity);var G=this.context,H=G.canvas;Object(k.d)(this.inversePixelTransform,this.pixelTransform),Object(k.b)(this.tempTransform_,_/2,y/2,U,U,0,-_/2,-y/2),H.width!=_||H.height!=y?(H.width=_,H.height=y):this.containerReused||G.clearRect(0,0,_,y),m&&this.clipUnrotated(G,t,m),this.preRender(G,t),this.renderedTiles.length=0;var V,W,X,K=Object.keys(O).map(Number);K.sort(A.g),1!==n.opacity||this.containerReused&&!c.getOpaque(t.viewState.projection)?(V=[],W=[]):K=K.reverse();for(var J=K.length-1;J>=0;--J){var Q=K[J],Z=c.getTilePixelSize(Q,s,i),tt=h.getResolution(Q)/f,et=Z[0]*tt*U,nt=Z[1]*tt*U,lt=h.getTileCoordForCoordAndZ(Object(v.C)(S),Q),it=h.getTileCoordExtent(lt),rt=Object(k.a)(this.tempTransform_,[g*(it[0]-S[0])/f,g*(S[3]-it[3])/f]),ot=g*c.getGutterForProjection(i),at=O[Q];for(var st in at){var ut=(j=at[st]).tileCoord,ct=rt[0]-(lt[1]-ut[1])*et,dt=Math.round(ct+et),ht=rt[1]-(lt[2]-ut[2])*nt,pt=Math.round(ht+nt),ft=dt-(I=Math.round(ct)),bt=pt-(L=Math.round(ht)),mt=p===Q;if(!(F=mt&&1!==j.getAlpha(Object(z.c)(this),t.time)))if(V){G.save(),X=[I,L,I+ft,L,I+ft,L+bt,I,L+bt];for(var gt=0,_t=V.length;gt<_t;++gt)if(p!==Q&&Q<W[gt]){var yt=V[gt];G.beginPath(),G.moveTo(X[0],X[1]),G.lineTo(X[2],X[3]),G.lineTo(X[4],X[5]),G.lineTo(X[6],X[7]),G.moveTo(yt[6],yt[7]),G.lineTo(yt[4],yt[5]),G.lineTo(yt[2],yt[3]),G.lineTo(yt[0],yt[1]),G.clip()}V.push(X),W.push(Q)}else G.clearRect(I,L,ft,bt);this.drawTileImage(j,t,I,L,ft,bt,ot,mt,n.opacity),V&&!F&&G.restore(),this.renderedTiles.push(j),this.updateUsedTiles(t.usedTiles,c,j)}}return this.renderedRevision=d,this.renderedResolution=f,this.extentChanged=!this.renderedExtent_||!Object(v.p)(this.renderedExtent_,S),this.renderedExtent_=S,this.renderedPixelRatio=s,this.renderedProjection=i,this.manageTilePyramid(t,c,h,s,i,b,p,u.getPreload()),this.scheduleExpireCache(t,c),this.postRender(G,t),n.extent&&G.restore(),B!==H.style.transform&&(H.style.transform=B),this.container},e.prototype.drawTileImage=function(t,e,n,l,i,r,o,a,s){var u=this.getTileImage(t);if(u){var c=Object(z.c)(this),d=a?t.getAlpha(c,e.time):1,h=s*d,p=h!==this.context.globalAlpha;p&&(this.context.save(),this.context.globalAlpha=h),this.context.drawImage(u,o,o,u.width-2*o,u.height-2*o,n,l,i,r),p&&this.context.restore(),1!==d?e.animate=!0:a&&t.endTransition(c)}},e.prototype.getImage=function(){var t=this.context;return t?t.canvas:null},e.prototype.getTileImage=function(t){return t.getImage()},e.prototype.scheduleExpireCache=function(t,e){if(e.canExpireCache()){var n=(function(t,e,n){var l=Object(z.c)(t);l in n.usedTiles&&t.expireCache(n.viewState.projection,n.usedTiles[l])}).bind(null,e);t.postRenderFunctions.push(n)}},e.prototype.updateUsedTiles=function(t,e,n){var l=Object(z.c)(e);l in t||(t[l]={}),t[l][n.getKey()]=!0},e.prototype.manageTilePyramid=function(t,e,n,l,i,r,o,a,s){var u=Object(z.c)(e);u in t.wantedTiles||(t.wantedTiles[u]={});var c,d,h,p,f,b,m=t.wantedTiles[u],g=t.tileQueue;for(b=n.getMinZoom();b<=o;++b)for(d=n.getTileRangeForExtentAndZ(r,b,d),h=n.getResolution(b),p=d.minX;p<=d.maxX;++p)for(f=d.minY;f<=d.maxY;++f)o-b<=a?((c=e.getTile(b,p,f,l,i)).getState()==q.a.IDLE&&(m[c.getKey()]=!0,g.isKeyQueued(c.getKey())||g.enqueue([c,u,n.getTileCoordCenter(c.tileCoord),h])),void 0!==s&&s(c)):e.useTile(b,p,f,i)},e}(W.a),J=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Q=function(t){function e(e){return t.call(this,e)||this}return J(e,t),e.prototype.createRenderer=function(){return new K(this)},e}(B),Z=n("rlDN"),tt=n("SW/M"),et=n("Ho3V"),nt=n("AdTM"),lt=n("N0mK"),it=n("27p8"),rt=n("NF0S"),ot=n("MNGd"),at=n("6Lir"),st=n("OZx2"),ut=n("pWiS"),ct=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),dt={image:[lt.a.POLYGON,lt.a.CIRCLE,lt.a.LINE_STRING,lt.a.IMAGE,lt.a.TEXT],hybrid:[lt.a.POLYGON,lt.a.LINE_STRING],vector:[]},ht={image:[lt.a.DEFAULT],hybrid:[lt.a.IMAGE,lt.a.TEXT,lt.a.DEFAULT],vector:[lt.a.POLYGON,lt.a.CIRCLE,lt.a.LINE_STRING,lt.a.IMAGE,lt.a.TEXT,lt.a.DEFAULT]},pt=function(t){function e(e){var n=t.call(this,e)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.dirty_=!1,n.renderedPixelToCoordinateTransform_=null,n.renderTileImageQueue_={},n.tileListenerKeys_={},n.tmpTransform_=Object(k.c)(),n}return ct(e,t),e.prototype.prepareTile=function(t,e,n,l){var i,r=Object(z.c)(t),o=t.getState();return(o===q.a.LOADED&&t.hifi||o===q.a.ERROR)&&r in this.tileListenerKeys_&&(Object(et.c)(this.tileListenerKeys_[r]),delete this.tileListenerKeys_[r]),o!==q.a.LOADED&&o!==q.a.ERROR||(this.updateExecutorGroup_(t,e,n),this.tileImageNeedsRender_(t,e,n)&&(i=!0,l&&(this.renderTileImageQueue_[r]=t))),i},e.prototype.getTile=function(e,n,l,i){var r=i.pixelRatio,o=i.viewState,a=o.resolution,s=o.projection,u=this.getLayer(),c=u.getSource().getTile(e,n,l,r,s);if(c.getState()<q.a.LOADED){c.wantedResolution=a;var d=Object(z.c)(c);if(!(d in this.tileListenerKeys_)){var h=Object(et.a)(c,nt.a.CHANGE,this.prepareTile.bind(this,c,r,s,!0));this.tileListenerKeys_[d]=h}}else{var p=i.viewHints;!(!p[tt.a.ANIMATING]&&!p[tt.a.INTERACTING])&&c.wantedResolution||(c.wantedResolution=a),this.prepareTile(c,r,s,!1)&&"vector"!==u.getRenderMode()&&this.renderTileImage_(c,i)}return t.prototype.getTile.call(this,e,n,l,i)},e.prototype.isDrawableTile=function(e){var n=this.getLayer();return t.prototype.isDrawableTile.call(this,e)&&"vector"===n.getRenderMode()||e.hasContext(n)},e.prototype.getTileImage=function(t){return t.getImage(this.getLayer())},e.prototype.prepareFrame=function(e){var n=this.getLayer().getRevision();return this.renderedLayerRevision_!=n&&(this.renderedTiles.length=0),this.renderedLayerRevision_=n,t.prototype.prepareFrame.call(this,e)},e.prototype.updateExecutorGroup_=function(t,e,n){var l=this.getLayer(),i=l.getRevision(),r=l.getRenderOrder()||null,o=t.wantedResolution,a=t.getReplayState(l);if(a.dirty||a.renderedResolution!==o||a.renderedRevision!=i||a.renderedRenderOrder!=r||a.renderedZ!==t.sourceZ){var s=l.getSource(),u=s.getTileGrid(),c=s.getTileGridForProjection(n).getTileCoordExtent(t.wrappedTileCoord),d=s.getSourceTiles(e,n,t),h=Object(z.c)(l);delete t.hitDetectionImageData[h],t.executorGroups[h]=[];for(var p=function(n,i){var p=d[n];if(p.getState()!=q.a.LOADED)return"continue";var b=u.getTileCoordExtent(p.tileCoord),m=Object(v.B)(c,b),g=Object(v.p)(b,m)?null:Object(v.c)(m,l.getRenderBuffer()*o,f.tmpExtent);a.dirty=!1;var _=new it.a(0,m,o,e,l.getDeclutter()),y=Object(ot.b)(o,e),A=function(t){var e,n=t.getStyleFunction()||l.getStyleFunction();if(n&&(e=n(t,o)),e){var i=this.renderFeature(t,y,e,_);this.dirty_=this.dirty_||i,a.dirty=a.dirty||i}},C=p.getFeatures();r&&r!==a.renderedRenderOrder&&C.sort(r);for(var w=0,P=C.length;w<P;++w){var x=C[w];g&&!Object(v.F)(g,x.getGeometry().getExtent())||A.call(f,x)}var S=_.finish(),k="vector"!==l.getRenderMode()&&l.getDeclutter()&&1===d.length?null:m,M=new at.a(k,o,e,s.getOverlaps(),S,l.getRenderBuffer());t.executorGroups[h].push(M)},f=this,b=0,m=d.length;b<m;++b)p(b);a.renderedRevision=i,a.renderedZ=t.sourceZ,a.renderedRenderOrder=r,a.renderedResolution=o}},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){var r=e.viewState.resolution,o=e.viewState.rotation;n=null==n?0:n;var a,s,u,c=this.getLayer(),d=c.getDeclutter(),h=c.getSource().getTileGridForProjection(e.viewState.projection),p={},f=this.renderedTiles,b=function(){var e=f[s],u=h.getTileCoordExtent(e.wrappedTileCoord),b=Object(v.f)(u,t);if(!d&&!b)return"continue";for(var m=e.executorGroups[Object(z.c)(c)],g=0,_=m.length;g<_;++g)a=a||m[g].forEachFeatureAtCoordinate(t,r,o,n,(function(t){if(b||i&&-1!==i.indexOf(t)){var e=t.getId();if(void 0===e&&(e=Object(z.c)(t)),!(e in p))return p[e]=!0,l(t,c)}}),c.getDeclutter()?i:null)};for(s=0,u=f.length;s<u;++s)b();return a},e.prototype.getFeatures=function(t){return new Promise((function(e,n){for(var l,i=this.getLayer(),r=Object(z.c)(i),o=i.getSource(),a=this.renderedProjection,s=a.getExtent(),u=this.renderedResolution,c=o.getTileGridForProjection(a),d=Object(k.a)(this.renderedPixelToCoordinateTransform_,t.slice()),h=c.getTileCoordForCoordAndResolution(d,u),p=0,f=this.renderedTiles.length;p<f;++p)if(h.toString()===this.renderedTiles[p].tileCoord.toString()){if((l=this.renderedTiles[p]).getState()===q.a.LOADED&&l.hifi){var b=c.getTileCoordExtent(l.tileCoord);o.getWrapX()&&a.canWrapX()&&!Object(v.g)(s,b)&&Object(ut.f)(d,a);break}l=void 0}if(!l||l.loadingSourceTiles>0)e([]);else{var m=c.getTileCoordExtent(l.wrappedTileCoord),g=Object(v.C)(m),_=[(d[0]-g[0])/u,(g[1]-d[1])/u],y=l.getSourceTiles().reduce((function(t,e){return t.concat(e.getFeatures())}),[]),A=l.hitDetectionImageData[r];if(!A&&!this.animatingOrInteracting_){var C=Object(rt.c)(c.getTileSize(c.getZForResolution(u))),w=[C[0]/2,C[1]/2],P=this.renderedRotation_,x=[this.getRenderTransform(c.getTileCoordCenter(l.wrappedTileCoord),u,0,.5,w[0],w[1],0)];A=Object(st.a)(C,x,y,i.getStyleFunction(),c.getTileCoordExtent(l.wrappedTileCoord),l.getReplayState(i).renderedResolution,P),l.hitDetectionImageData[r]=A}e(Object(st.b)(_,y,A))}}).bind(this))},e.prototype.handleFontsChanged=function(){Object(Y.b)(this.renderTileImageQueue_);var t=this.getLayer();t.getVisible()&&void 0!==this.renderedLayerRevision_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.renderFrame=function(e,n){var l=e.viewHints,i=!(l[tt.a.ANIMATING]||l[tt.a.INTERACTING]);this.renderQueuedTileImages_(i,e),t.prototype.renderFrame.call(this,e,n),this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice(),this.renderedRotation_=e.viewState.rotation;var r=this.getLayer(),o=r.getRenderMode();if("image"===o)return this.container;var a=r.getSource(),s=e.usedTiles[Object(z.c)(a)];for(var u in this.renderTileImageQueue_)s&&u in s||delete this.renderTileImageQueue_[u];for(var c=this.context,d=r.getDeclutter()?{}:null,h=ht[o],p=e.pixelRatio,f=e.viewState,b=f.center,m=f.resolution,g=f.rotation,_=e.size,y=Math.round(_[0]*p),A=Math.round(_[1]*p),v=this.renderedTiles,C=a.getTileGridForProjection(e.viewState.projection),w=[],P=[],x=v.length-1;x>=0;--x)for(var S=v[x],M=S.tileCoord,O=C.getTileCoordExtent(S.wrappedTileCoord),D=C.getTileCoordExtent(M,this.tmpExtent)[0]-O[0],T=Object(k.f)(Object(k.i)(this.inversePixelTransform.slice(),1/p,1/p),this.getRenderTransform(b,m,g,p,y,A,D)),E=S.executorGroups[Object(z.c)(r)],I=!1,L=0,j=E.length;L<j;++L){var R=E[L];if(R.hasExecutors(h)){var F=S.tileCoord[0],N=void 0;if(!d&&!I){N=R.getClipCoords(T),c.save();for(var Y=0,U=w.length;Y<U;++Y){var B=w[Y];F<P[Y]&&(c.beginPath(),c.moveTo(N[0],N[1]),c.lineTo(N[2],N[3]),c.lineTo(N[4],N[5]),c.lineTo(N[6],N[7]),c.moveTo(B[6],B[7]),c.lineTo(B[4],B[5]),c.lineTo(B[2],B[3]),c.lineTo(B[0],B[1]),c.clip())}}R.execute(c,T,g,i,h,d),d||I||(c.restore(),w.push(N),P.push(F),I=!0)}}if(d){var G=e.layerStatesArray[e.layerIndex];Object(at.b)(d,c,g,G.opacity,i,e.declutterItems)}return this.container},e.prototype.renderQueuedTileImages_=function(t,e){for(var n in this.renderTileImageQueue_){if(!t&&Date.now()-e.time>8){e.animate=!0;break}var l=this.renderTileImageQueue_[n];delete this.renderTileImageQueue_[n],this.renderTileImage_(l,e)}},e.prototype.renderFeature=function(t,e,n,l){if(!n)return!1;var i=!1;if(Array.isArray(n))for(var r=0,o=n.length;r<o;++r)i=Object(ot.d)(l,t,n[r],e,this.boundHandleStyleImageChange_)||i;else i=Object(ot.d)(l,t,n,e,this.boundHandleStyleImageChange_);return i},e.prototype.tileImageNeedsRender_=function(t,e,n){var l=this.getLayer(),i=t.getReplayState(l),r=l.getRevision();return i.renderedTileResolution!==t.wantedResolution||i.renderedTileRevision!==r||i.renderedTileZ!==t.sourceZ},e.prototype.renderTileImage_=function(t,e){var n=this.getLayer(),l=t.getReplayState(n),i=n.getRevision(),r=t.executorGroups[Object(z.c)(n)];l.renderedTileRevision=i,l.renderedTileZ=t.sourceZ;var o=t.wrappedTileCoord,a=o[0],s=n.getSource(),u=e.pixelRatio,c=e.viewState.projection,d=s.getTileGridForProjection(c),h=d.getResolution(t.tileCoord[0]),p=e.pixelRatio/t.wantedResolution*h,f=d.getResolution(a),b=t.getContext(n);u=Math.max(u,p/u);var m=s.getTilePixelSize(a,u,c);b.canvas.width=m[0],b.canvas.height=m[1];var g=u/p;if(1!==g){var _=Object(k.g)(this.tmpTransform_);Object(k.i)(_,g,g),b.setTransform.apply(b,_)}var y=d.getTileCoordExtent(o,this.tmpExtent),A=p/f,v=Object(k.g)(this.tmpTransform_);Object(k.i)(v,A,-A),Object(k.l)(v,-y[0],-y[3]);for(var C=0,w=r.length;C<w;++C)r[C].execute(b,v,0,!0,dt[n.getRenderMode()]);l.renderedTileResolution=t.wantedResolution},e}(K),ft=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),bt=function(t){function e(e){var n=this,l=e||{},r=Object(Y.a)({},l);delete r.preload,delete r.useInterimTilesOnError,n=t.call(this,r)||this;var o=l.renderMode||"hybrid";return Object(i.a)(null==o||"image"==o||"hybrid"==o||"vector"==o,28),n.renderMode_=o,n.setPreload(l.preload?l.preload:0),n.setUseInterimTilesOnError(void 0===l.useInterimTilesOnError||l.useInterimTilesOnError),n}return ft(e,t),e.prototype.createRenderer=function(){return new pt(this)},e.prototype.getFeatures=function(e){return t.prototype.getFeatures.call(this,e)},e.prototype.getRenderMode=function(){return this.renderMode_},e.prototype.getPreload=function(){return this.get("preload")},e.prototype.getUseInterimTilesOnError=function(){return this.get("useInterimTilesOnError")},e.prototype.setPreload=function(t){this.set("preload",t)},e.prototype.setUseInterimTilesOnError=function(t){this.set("useInterimTilesOnError",t)},e}(Z.a),mt=n("f8l7");function gt(t,e,n,l){return void 0!==l?(l[0]=t,l[1]=e,l[2]=n,l):[t,e,n]}function _t(t,e,n){return t+"/"+e+"/"+n}function yt(t){return _t(t[0],t[1],t[2])}function At(t){return t.split("/").map(Number)}function vt(t,e){var n=/\{z\}/g,l=/\{x\}/g,r=/\{y\}/g,o=/\{-y\}/g;return function(a,s,u){return a?t.replace(n,a[0].toString()).replace(l,a[1].toString()).replace(r,a[2].toString()).replace(o,(function(){var t=e.getFullTileRange(a[0]);return Object(i.a)(t,55),(t.getHeight()-a[2]-1).toString()})):void 0}}function Ct(t){return 1===t.length?t[0]:function(e,n,l){if(e){var i=function(t){return(t[1]<<t[0])+t[2]}(e),r=Object(mt.d)(i,t.length);return t[r](e,n,l)}}}function wt(t,e,n){}var Pt=n("bYNo"),xt=n("pQSv"),St=n("ykKD"),kt=n("DsAt"),Mt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Ot=function(t){function e(e,n,l){var i=t.call(this)||this,r=l||{};return i.tileCoord=e,i.state=n,i.interimTile=null,i.hifi=!0,i.key="",i.transition_=void 0===r.transition?250:r.transition,i.transitionStarts_={},i}return Mt(e,t),e.prototype.changed=function(){this.dispatchEvent(nt.a.CHANGE)},e.prototype.release=function(){},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var t=this.interimTile;do{if(t.getState()==q.a.LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var t=this.interimTile,e=this;do{if(t.getState()==q.a.LOADED){t.interimTile=null;break}t.getState()==q.a.LOADING?e=t:t.getState()==q.a.IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(t){if(this.state!==q.a.ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()},e.prototype.load=function(){Object(z.b)()},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else this.transitionStarts_[t]=n=e;var l=e-n+1e3/60;return l>=this.transition_?1:Object(St.a)(l/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(kt.a),Dt=n("CZmH"),Tt=n("ZhEo"),Et=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),It=function(t){function e(e,n,l,i,r,o){var a=t.call(this,e,n,o)||this;return a.crossOrigin_=i,a.src_=l,a.image_=new Image,null!==i&&(a.image_.crossOrigin=i),a.unlisten_=null,a.tileLoadFunction_=r,a}return Et(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.getKey=function(){return this.src_},e.prototype.handleImageError_=function(){var t;this.state=q.a.ERROR,this.unlistenImage_(),this.image_=((t=Object(Dt.a)(1,1)).fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;this.state=t.naturalWidth&&t.naturalHeight?q.a.LOADED:q.a.EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==q.a.ERROR&&(this.state=q.a.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==q.a.IDLE&&(this.state=q.a.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=Object(Tt.a)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(Ot),Lt=function(){function t(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return t.prototype.canExpireCache=function(){return this.getCount()>this.highWaterMark},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(t){return this.entries_.hasOwnProperty(t)},t.prototype.forEach=function(t){for(var e=this.oldest_;e;)t(e.value_,e.key_,this),e=e.newer},t.prototype.get=function(t,e){var n=this.entries_[t];return Object(i.a)(void 0!==n,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_},t.prototype.remove=function(t){var e=this.entries_[t];return Object(i.a)(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.key_;return e},t.prototype.getValues=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.pop=function(){var t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_},t.prototype.replace=function(t,e){this.get(t),this.entries_[t].value_=e},t.prototype.set=function(t,e){Object(i.a)(!(t in this.entries_),16);var n={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[t]=n,++this.count_},t.prototype.setSize=function(t){this.highWaterMark=t},t}(),jt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return jt(e,t),e.prototype.expireCache=function(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=At(this.peekFirstKey())[0];this.forEach((function(e){e.tileCoord[0]!==t&&(this.remove(yt(e.tileCoord)),e.release())}).bind(this))}},e}(Lt),Ft=n("PIFQ"),Nt=n("tzl+"),Yt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Ut=function(t){function e(e,n,l,i,r,o,a,s,u,c,d){var h=t.call(this,r,q.a.IDLE)||this;h.renderEdges_=void 0!==d&&d,h.pixelRatio_=a,h.gutter_=s,h.canvas_=null,h.sourceTileGrid_=n,h.targetTileGrid_=i,h.wrappedTileCoord_=o||r,h.sourceTiles_=[],h.sourcesListenerKeys_=null,h.sourceZ_=0;var p=i.getTileCoordExtent(h.wrappedTileCoord_),f=h.targetTileGrid_.getExtent(),b=h.sourceTileGrid_.getExtent(),m=f?Object(v.B)(p,f):p;if(0===Object(v.u)(m))return h.state=q.a.EMPTY,h;var g=e.getExtent();g&&(b=b?Object(v.B)(b,g):g);var _=i.getResolution(h.wrappedTileCoord_[0]),y=Object(v.x)(m),A=Object(Ft.a)(e,l,y,_);if(!isFinite(A)||A<=0)return h.state=q.a.EMPTY,h;if(h.triangulation_=new Nt.a(e,l,m,b,A*(void 0!==c?c:xt.b),_),0===h.triangulation_.getTriangles().length)return h.state=q.a.EMPTY,h;h.sourceZ_=n.getZForResolution(A);var C=h.triangulation_.calculateSourceExtent();if(b&&(e.canWrapX()?(C[1]=Object(mt.a)(C[1],b[1],b[3]),C[3]=Object(mt.a)(C[3],b[1],b[3])):C=Object(v.B)(C,b)),Object(v.u)(C)){for(var w=n.getTileRangeForExtentAndZ(C,h.sourceZ_),P=w.minX;P<=w.maxX;P++)for(var x=w.minY;x<=w.maxY;x++){var S=u(h.sourceZ_,P,x,a);S&&h.sourceTiles_.push(S)}0===h.sourceTiles_.length&&(h.state=q.a.EMPTY)}else h.state=q.a.EMPTY;return h}return Yt(e,t),e.prototype.getImage=function(){return this.canvas_},e.prototype.reproject_=function(){var t=[];if(this.sourceTiles_.forEach((function(e,n,l){e&&e.getState()==q.a.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}).bind(this)),this.sourceTiles_.length=0,0===t.length)this.state=q.a.ERROR;else{var e=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(e),l="number"==typeof n?n:n[0],i="number"==typeof n?n:n[1],r=this.targetTileGrid_.getResolution(e),o=this.sourceTileGrid_.getResolution(this.sourceZ_),a=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Object(Ft.b)(l,i,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),r,a,this.triangulation_,t,this.gutter_,this.renderEdges_),this.state=q.a.LOADED}this.changed()},e.prototype.load=function(){if(this.state==q.a.IDLE){this.state=q.a.LOADING,this.changed();var t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach((function(e,n,l){var i=e.getState();if(i==q.a.IDLE||i==q.a.LOADING){t++;var r=Object(et.a)(e,nt.a.CHANGE,(function(n){var l=e.getState();l!=q.a.LOADED&&l!=q.a.ERROR&&l!=q.a.EMPTY||(Object(et.c)(r),0==--t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(r)}}).bind(this)),this.sourceTiles_.forEach((function(t,e,n){t.getState()==q.a.IDLE&&t.load()})),0===t&&setTimeout(this.reproject_.bind(this),0)}},e.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(et.c),this.sourcesListenerKeys_=null},e}(Ot),Bt=n("zvco"),zt=n("/4Cu"),Gt=n("BBQo"),Ht=n("OCB2"),Vt=[0,0,0],qt=function(){function t(t){var e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Object(i.a)(Object(A.e)(this.resolutions_,(function(t,e){return e-t}),!0),17),!t.origins)for(var n=0,l=this.resolutions_.length-1;n<l;++n)if(e){if(this.resolutions_[n]/this.resolutions_[n+1]!==e){e=void 0;break}}else e=this.resolutions_[n]/this.resolutions_[n+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,Object(i.a)(this.origins_.length==this.resolutions_.length,20));var r=t.extent;void 0===r||this.origin_||this.origins_||(this.origin_=Object(v.C)(r)),Object(i.a)(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,Object(i.a)(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:Gt.b,Object(i.a)(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=void 0!==r?r:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map((function(t,e){return new V(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))}),this):r&&this.calculateTileRanges_(r)}return t.prototype.forEachTileCoord=function(t,e,n){for(var l=this.getTileRangeForExtentAndZ(t,e),i=l.minX,r=l.maxX;i<=r;++i)for(var o=l.minY,a=l.maxY;o<=a;++o)n([e,i,o])},t.prototype.forEachTileCoordParentTileRange=function(t,e,n,l){var i,r,o=null,a=t[0]-1;for(2===this.zoomFactor_?(i=t[1],r=t[2]):o=this.getTileCoordExtent(t,l);a>=this.minZoom;){if(e(a,2===this.zoomFactor_?H(i=Math.floor(i/2),i,r=Math.floor(r/2),r,n):this.getTileRangeForExtentAndZ(o,a,n)))return!0;--a}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(t){return this.origin_?this.origin_:this.origins_[t]},t.prototype.getResolution=function(t){return this.resolutions_[t]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(t,e,n){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){var l=2*t[1],i=2*t[2];return H(l,l+1,i,i+1,e)}var r=this.getTileCoordExtent(t,n);return this.getTileRangeForExtentAndZ(r,t[0]+1,e)}return null},t.prototype.getTileRangeExtent=function(t,e,n){var l=this.getOrigin(t),i=this.getResolution(t),r=Object(rt.c)(this.getTileSize(t),this.tmpSize_),o=l[0]+e.minX*r[0]*i,a=l[0]+(e.maxX+1)*r[0]*i,s=l[1]+e.minY*r[1]*i,u=l[1]+(e.maxY+1)*r[1]*i;return Object(v.k)(o,s,a,u,n)},t.prototype.getTileRangeForExtentAndZ=function(t,e,n){var l=Vt;this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,l);var i=l[1],r=l[2];return this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,l),H(i,l[1],r,l[2],n)},t.prototype.getTileCoordCenter=function(t){var e=this.getOrigin(t[0]),n=this.getResolution(t[0]),l=Object(rt.c)(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*l[0]*n,e[1]-(t[2]+.5)*l[1]*n]},t.prototype.getTileCoordExtent=function(t,e){var n=this.getOrigin(t[0]),l=this.getResolution(t[0]),i=Object(rt.c)(this.getTileSize(t[0]),this.tmpSize_),r=n[0]+t[1]*i[0]*l,o=n[1]-(t[2]+1)*i[1]*l,a=r+i[0]*l,s=o+i[1]*l;return Object(v.k)(r,o,a,s,e)},t.prototype.getTileCoordForCoordAndResolution=function(t,e,n){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordForXYAndResolution_=function(t,e,n,l,i){var r=this.getZForResolution(n),o=n/this.getResolution(r),a=this.getOrigin(r),s=Object(rt.c)(this.getTileSize(r),this.tmpSize_),u=l?.5:0,c=Math.floor((t-a[0])/n+(l?.5:0)),d=Math.floor((a[1]-e)/n+u),h=o*c/s[0],p=o*d/s[1];return l?(h=Math.ceil(h)-1,p=Math.ceil(p)-1):(h=Math.floor(h),p=Math.floor(p)),gt(r,h,p,i)},t.prototype.getTileCoordForXYAndZ_=function(t,e,n,l,i){var r=this.getOrigin(n),o=this.getResolution(n),a=Object(rt.c)(this.getTileSize(n),this.tmpSize_),s=l?.5:0,u=Math.floor((t-r[0])/o+(l?.5:0)),c=Math.floor((r[1]-e)/o+s),d=u/a[0],h=c/a[1];return l?(d=Math.ceil(d)-1,h=Math.ceil(h)-1):(d=Math.floor(d),h=Math.floor(h)),gt(n,d,h,i)},t.prototype.getTileCoordForCoordAndZ=function(t,e,n){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordResolution=function(t){return this.resolutions_[t[0]]},t.prototype.getTileSize=function(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]},t.prototype.getFullTileRange=function(t){return this.fullTileRanges_?this.fullTileRanges_[t]:null},t.prototype.getZForResolution=function(t,e){var n=Object(A.f)(this.resolutions_,t,e||0);return Object(mt.a)(n,this.minZoom,this.maxZoom)},t.prototype.calculateTileRanges_=function(t){for(var e=this.resolutions_.length,n=new Array(e),l=this.minZoom;l<e;++l)n[l]=this.getTileRangeForExtentAndZ(t,l);this.fullTileRanges_=n},t}();function Wt(t){var e=t.getDefaultTileGrid();return e||(e=Kt(t),t.setDefaultTileGrid(e)),e}function $t(t){var e=t||{},n=e.extent||Object(x.g)("EPSG:3857").getExtent(),l={extent:n,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:Xt(n,e.maxZoom,e.tileSize,e.maxResolution)};return new qt(l)}function Xt(t,e,n,l){for(var i=void 0!==e?e:Gt.a,r=Object(v.A)(t),o=Object(v.E)(t),a=Object(rt.c)(void 0!==n?n:Gt.b),s=l>0?l:Math.max(o/a[0],r/a[1]),u=i+1,c=new Array(u),d=0;d<u;++d)c[d]=s/Math.pow(2,d);return c}function Kt(t,e,n,l){return function(t,e,n,l){var i=void 0!==l?l:Ht.a.TOP_LEFT,r=Xt(t,e,n);return new qt({extent:t,origin:Object(v.y)(t,i),resolutions:r,tileSize:n})}(Jt(t),e,n,l)}function Jt(t){var e=(t=Object(x.g)(t)).getExtent();if(!e){var n=180*x.a[y.b.DEGREES]/t.getMetersPerUnit();e=Object(v.k)(-n,-n,n,n)}return e}var Qt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Zt=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX})||this;n.opaque_=void 0!==e.opaque&&e.opaque,n.tilePixelRatio_=void 0!==e.tilePixelRatio?e.tilePixelRatio:1,n.tileGrid=void 0!==e.tileGrid?e.tileGrid:null;var l=[256,256],i=e.tileGrid;i&&Object(rt.c)(i.getTileSize(i.getMinZoom()),l);var r="undefined"!=typeof screen,o=r?screen.availWidth||screen.width:1920,a=r?screen.availHeight||screen.height:1080,s=4*Math.ceil(o/l[0])*Math.ceil(a/l[1]);return n.tileCache=new Rt(Math.max(s,e.cacheSize||0)),n.tmpSize=[0,0],n.key_=e.key||"",n.tileOptions={transition:e.transition},n.zDirection=e.zDirection?e.zDirection:0,n}return Qt(e,t),e.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},e.prototype.expireCache=function(t,e){var n=this.getTileCacheForProjection(t);n&&n.expireCache(e)},e.prototype.forEachLoadedTile=function(t,e,n,l){var i=this.getTileCacheForProjection(t);if(!i)return!1;for(var r,o,a,s=!0,u=n.minX;u<=n.maxX;++u)for(var c=n.minY;c<=n.maxY;++c)o=_t(e,u,c),a=!1,i.containsKey(o)&&(a=(r=i.get(o)).getState()===q.a.LOADED)&&(a=!1!==l(r)),a||(s=!1);return s},e.prototype.getGutterForProjection=function(t){return 0},e.prototype.getKey=function(){return this.key_},e.prototype.setKey=function(t){this.key_!==t&&(this.key_=t,this.changed())},e.prototype.getOpaque=function(t){return this.opaque_},e.prototype.getResolutions=function(){return this.tileGrid.getResolutions()},e.prototype.getTile=function(t,e,n,l,i){return Object(z.b)()},e.prototype.getTileGrid=function(){return this.tileGrid},e.prototype.getTileGridForProjection=function(t){return this.tileGrid?this.tileGrid:Wt(t)},e.prototype.getTileCacheForProjection=function(t){var e=this.getProjection();return e&&!Object(x.c)(e,t)?null:this.tileCache},e.prototype.getTilePixelRatio=function(t){return this.tilePixelRatio_},e.prototype.getTilePixelSize=function(t,e,n){var l=this.getTileGridForProjection(n),i=this.getTilePixelRatio(e),r=Object(rt.c)(l.getTileSize(t),this.tmpSize);return 1==i?r:Object(rt.b)(r,i,this.tmpSize)},e.prototype.getTileCoordForTileUrlFunction=function(t,e){var n=void 0!==e?e:this.getProjection(),l=this.getTileGridForProjection(n);return this.getWrapX()&&n.isGlobal()&&(t=function(t,e,n){var l=e[0],i=t.getTileCoordCenter(e),r=Jt(n);if(Object(v.f)(r,i))return e;var o=Object(v.E)(r),a=Math.ceil((r[0]-i[0])/o);return i[0]+=o*a,t.getTileCoordForCoordAndZ(i,l)}(l,t,n)),function(t,e){var n=t[0],l=t[1],i=t[2];if(e.getMinZoom()>n||n>e.getMaxZoom())return!1;var r,o=e.getExtent();return!(r=o?e.getTileRangeForExtentAndZ(o,n):e.getFullTileRange(n))||r.containsXY(l,i)}(t,l)?t:null},e.prototype.clear=function(){this.tileCache.clear()},e.prototype.refresh=function(){this.clear(),t.prototype.refresh.call(this)},e.prototype.useTile=function(t,e,n,l){},e}(zt.a),te=function(t){function e(e,n){var l=t.call(this,e)||this;return l.tile=n,l}return Qt(e,t),e}(Bt.a),ee=Zt,ne=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),le=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,wrapX:e.wrapX,transition:e.transition,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection})||this;return n.generateTileUrlFunction_=!e.tileUrlFunction,n.tileLoadFunction=e.tileLoadFunction,n.tileUrlFunction=e.tileUrlFunction?e.tileUrlFunction.bind(n):wt,n.urls=null,e.urls?n.setUrls(e.urls):e.url&&n.setUrl(e.url),n.tileLoadingKeys_={},n}return ne(e,t),e.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},e.prototype.getTileUrlFunction=function(){return this.tileUrlFunction},e.prototype.getUrls=function(){return this.urls},e.prototype.handleTileChange=function(t){var e,n=t.target,l=Object(z.c)(n),i=n.getState();i==q.a.LOADING?(this.tileLoadingKeys_[l]=!0,e="tileloadstart"):l in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[l],e=i==q.a.ERROR?"tileloaderror":i==q.a.LOADED?"tileloadend":void 0),null!=e&&this.dispatchEvent(new te(e,n))},e.prototype.setTileLoadFunction=function(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()},e.prototype.setTileUrlFunction=function(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),void 0!==e?this.setKey(e):this.changed()},e.prototype.setUrl=function(t){var e=function(t){var e=[],n=/\{([a-z])-([a-z])\}/.exec(t);if(n){var l=n[1].charCodeAt(0),i=n[2].charCodeAt(0),r=void 0;for(r=l;r<=i;++r)e.push(t.replace(n[0],String.fromCharCode(r)));return e}if(n=/\{(\d+)-(\d+)\}/.exec(t)){for(var o=parseInt(n[2],10),a=parseInt(n[1],10);a<=o;a++)e.push(t.replace(n[0],a.toString()));return e}return e.push(t),e}(t);this.urls=e,this.setUrls(e)},e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(function(t,e){for(var n=t.length,l=new Array(n),i=0;i<n;++i)l[i]=vt(t[i],e);return Ct(l)}(t,this.tileGrid),e):this.setKey(e)},e.prototype.useTile=function(t,e,n){var l=_t(t,e,n);this.tileCache.containsKey(l)&&this.tileCache.get(l)},e}(ee),ie=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function re(t,e){t.getImage().src=e}var oe=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:re,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection})||this;return n.crossOrigin=void 0!==e.crossOrigin?e.crossOrigin:null,n.tileClass=void 0!==e.tileClass?e.tileClass:It,n.tileCacheForProjection={},n.tileGridForProjection={},n.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,n.renderReprojectionEdges_=!1,n}return ie(e,t),e.prototype.canExpireCache=function(){if(!xt.a)return t.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var e in this.tileCacheForProjection)if(this.tileCacheForProjection[e].canExpireCache())return!0;return!1},e.prototype.expireCache=function(e,n){if(xt.a){var l=this.getTileCacheForProjection(e);for(var i in this.tileCache.expireCache(this.tileCache==l?n:{}),this.tileCacheForProjection){var r=this.tileCacheForProjection[i];r.expireCache(r==l?n:{})}}else t.prototype.expireCache.call(this,e,n)},e.prototype.getGutterForProjection=function(t){return xt.a&&this.getProjection()&&t&&!Object(x.c)(this.getProjection(),t)?0:this.getGutter()},e.prototype.getGutter=function(){return 0},e.prototype.getOpaque=function(e){return!(xt.a&&this.getProjection()&&e&&!Object(x.c)(this.getProjection(),e))&&t.prototype.getOpaque.call(this,e)},e.prototype.getTileGridForProjection=function(e){if(!xt.a)return t.prototype.getTileGridForProjection.call(this,e);var n=this.getProjection();if(!this.tileGrid||n&&!Object(x.c)(n,e)){var l=Object(z.c)(e);return l in this.tileGridForProjection||(this.tileGridForProjection[l]=Wt(e)),this.tileGridForProjection[l]}return this.tileGrid},e.prototype.getTileCacheForProjection=function(e){if(!xt.a)return t.prototype.getTileCacheForProjection.call(this,e);var n=this.getProjection();if(!n||Object(x.c)(n,e))return this.tileCache;var l=Object(z.c)(e);return l in this.tileCacheForProjection||(this.tileCacheForProjection[l]=new Rt(this.tileCache.highWaterMark)),this.tileCacheForProjection[l]},e.prototype.createTile_=function(t,e,n,l,i,r){var o=[t,e,n],a=this.getTileCoordForTileUrlFunction(o,i),s=a?this.tileUrlFunction(a,l,i):void 0,u=new this.tileClass(o,void 0!==s?q.a.IDLE:q.a.EMPTY,void 0!==s?s:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return u.key=r,u.addEventListener(nt.a.CHANGE,this.handleTileChange.bind(this)),u},e.prototype.getTile=function(t,e,n,l,i){var r=this.getProjection();if(xt.a&&r&&i&&!Object(x.c)(r,i)){var o=this.getTileCacheForProjection(i),a=[t,e,n],s=void 0,u=yt(a);o.containsKey(u)&&(s=o.get(u));var c=this.getKey();if(s&&s.key==c)return s;var d=this.getTileGridForProjection(r),h=this.getTileGridForProjection(i),p=this.getTileCoordForTileUrlFunction(a,i),f=new Ut(r,d,i,h,a,p,this.getTilePixelRatio(l),this.getGutter(),(function(t,e,n,l){return this.getTileInternal(t,e,n,l,r)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_);return f.key=c,s?(f.interimTile=s,f.refreshInterimChain(),o.replace(u,f)):o.set(u,f),f}return this.getTileInternal(t,e,n,l,r||i)},e.prototype.getTileInternal=function(t,e,n,l,i){var r=null,o=_t(t,e,n),a=this.getKey();if(this.tileCache.containsKey(o)){if((r=this.tileCache.get(o)).key!=a){var s=r;(r=this.createTile_(t,e,n,l,i,a)).interimTile=s.getState()==q.a.IDLE?s.interimTile:s,r.refreshInterimChain(),this.tileCache.replace(o,r)}}else r=this.createTile_(t,e,n,l,i,a),this.tileCache.set(o,r);return r},e.prototype.setRenderReprojectionEdges=function(t){if(xt.a&&this.renderReprojectionEdges_!=t){for(var e in this.renderReprojectionEdges_=t,this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}},e.prototype.setTileGridForProjection=function(t,e){if(xt.a){var n=Object(x.g)(t);if(n){var l=Object(z.c)(n);l in this.tileGridForProjection||(this.tileGridForProjection[l]=e)}}},e}(le),ae=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),se=function(t){function e(e){var n=this,l=void 0!==e.hidpi&&e.hidpi;return(n=t.call(this,{cacheSize:e.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Object(x.g)("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:Pt.a.LOADING,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:l?2:1,wrapX:void 0===e.wrapX||e.wrapX,transition:e.transition})||this).hidpi_=l,n.culture_=void 0!==e.culture?e.culture:"en-us",n.maxZoom_=void 0!==e.maxZoom?e.maxZoom:-1,n.apiKey_=e.key,n.imagerySet_=e.imagerySet,function(t,e,n,l){var i=document.createElement("script"),r="olc_"+Object(z.c)(e);function o(){delete window[r],i.parentNode.removeChild(i)}i.async=!0,i.src=t+(-1==t.indexOf("?")?"?":"&")+"jsonp="+r;var a=setTimeout((function(){o()}),1e4);window[r]=function(t){clearTimeout(a),o(),e(t)},document.getElementsByTagName("head")[0].appendChild(i)}("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+n.imagerySet_+"?uriScheme=https&include=ImageryProviders&key="+n.apiKey_+"&c="+n.culture_,n.handleImageryMetadataResponse.bind(n)),n}return ae(e,t),e.prototype.getApiKey=function(){return this.apiKey_},e.prototype.getImagerySet=function(){return this.imagerySet_},e.prototype.handleImageryMetadataResponse=function(t){if(200==t.statusCode&&"OK"==t.statusDescription&&"ValidCredentials"==t.authenticationResultCode&&1==t.resourceSets.length&&1==t.resourceSets[0].resources.length){var e=t.resourceSets[0].resources[0],n=-1==this.maxZoom_?e.zoomMax:this.maxZoom_,l=Jt(this.getProjection()),i=this.hidpi_?2:1,r=$t({extent:l,minZoom:e.zoomMin,maxZoom:n,tileSize:e.imageWidth==e.imageHeight?e.imageWidth/i:[e.imageWidth/i,e.imageHeight/i]});this.tileGrid=r;var o=this.culture_,a=this.hidpi_;if(this.tileUrlFunction=Ct(e.imageUrlSubdomains.map((function(t){var n=[0,0,0],l=e.imageUrl.replace("{subdomain}",t).replace("{culture}",o);return function(t,e,i){if(t){gt(t[0],t[1],t[2],n);var r=l;return a&&(r+="&dpi=d1&device=mobile"),r.replace("{quadkey}",function(t){var e,n,l=t[0],i=new Array(l),r=1<<l-1;for(e=0;e<l;++e)n=48,t[1]&r&&(n+=1),t[2]&r&&(n+=2),i[e]=String.fromCharCode(n),r>>=1;return i.join("")}(n))}}}))),e.imageryProviders){var s=Object(x.j)(Object(x.g)("EPSG:4326"),this.getProjection());this.setAttributions((function(t){var n=[],l=t.viewState,i=this.getTileGrid(),r=i.getZForResolution(l.resolution,this.zDirection),o=i.getTileCoordForCoordAndZ(l.center,r)[0];return e.imageryProviders.map((function(e){for(var l=!1,i=e.coverageAreas,r=0,a=i.length;r<a;++r){var u=i[r];if(o>=u.zoomMin&&o<=u.zoomMax){var c=u.bbox,d=[c[1],c[0],c[3],c[2]],h=Object(v.a)(d,s);if(Object(v.F)(h,t.extent)){l=!0;break}}}l&&n.push(e.attribution)})),n.push('<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html" target="_blank">Terms of Use</a>'),n}).bind(this))}this.setState(Pt.a.READY)}else this.setState(Pt.a.ERROR)},e}(oe),ue=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ce=function(t){function e(e){var n=e||{},l=void 0!==n.projection?n.projection:"EPSG:3857",i=void 0!==n.tileGrid?n.tileGrid:$t({extent:Jt(l),maxResolution:n.maxResolution,maxZoom:n.maxZoom,minZoom:n.minZoom,tileSize:n.tileSize});return t.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,opaque:n.opaque,projection:l,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:void 0===n.wrapX||n.wrapX,transition:n.transition,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this}return ue(e,t),e}(oe),de=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),he=[],pe=function(t){function e(e,n,l,i){var r=t.call(this,e,n,{transition:0})||this;return r.context_={},r.executorGroups={},r.loadingSourceTiles=0,r.errorSourceTileKeys={},r.hitDetectionImageData={},r.replayState_={},r.sourceTiles=null,r.getSourceTiles=i.bind(void 0,r),r.sourceZ=-1,r.hifi=!1,r.wrappedTileCoord=l,r}return de(e,t),e.prototype.getContext=function(t){var e=Object(z.c)(t);return e in this.context_||(this.context_[e]=Object(Dt.a)(1,1,he)),this.context_[e]},e.prototype.hasContext=function(t){return Object(z.c)(t)in this.context_},e.prototype.getImage=function(t){return this.hasContext(t)?this.getContext(t).canvas:null},e.prototype.getReplayState=function(t){var e=Object(z.c)(t);return e in this.replayState_||(this.replayState_[e]={dirty:!1,renderedRenderOrder:null,renderedResolution:NaN,renderedRevision:-1,renderedTileResolution:NaN,renderedTileRevision:-1,renderedZ:-1,renderedTileZ:-1}),this.replayState_[e]},e.prototype.load=function(){this.getSourceTiles()},e.prototype.release=function(){for(var e in this.context_)he.push(this.context_[e].canvas);t.prototype.release.call(this)},e}(Ot),fe=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),be=function(t){function e(e,n,l,i,r,o){var a=t.call(this,e,n,o)||this;return a.extent=null,a.format_=i,a.features_=null,a.projection=null,a.tileLoadFunction_=r,a.url_=l,a}return fe(e,t),e.prototype.getFormat=function(){return this.format_},e.prototype.getFeatures=function(){return this.features_},e.prototype.getKey=function(){return this.url_},e.prototype.load=function(){this.state==q.a.IDLE&&(this.setState(q.a.LOADING),this.tileLoadFunction_(this,this.url_),this.loader_&&this.loader_(this.extent,this.resolution,this.projection))},e.prototype.onLoad=function(t,e){this.setFeatures(t)},e.prototype.onError=function(){this.setState(q.a.ERROR)},e.prototype.setFeatures=function(t){this.features_=t,this.setState(q.a.LOADED)},e.prototype.setLoader=function(t){this.loader_=t},e}(Ot),me=n("bY/R"),ge=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),_e=function(t){function e(e){var n=this,l=e.projection||"EPSG:3857",i=e.extent||Jt(l),r=e.tileGrid||$t({extent:i,maxResolution:e.maxResolution,maxZoom:void 0!==e.maxZoom?e.maxZoom:22,minZoom:e.minZoom,tileSize:e.tileSize||512});return(n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,opaque:!1,projection:l,state:e.state,tileGrid:r,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:ye,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:void 0===e.wrapX||e.wrapX,transition:e.transition,zDirection:void 0===e.zDirection?1:e.zDirection})||this).format_=e.format?e.format:null,n.loadingTiles_={},n.sourceTileCache=new Rt(n.tileCache.highWaterMark),n.overlaps_=null==e.overlaps||e.overlaps,n.tileClass=e.tileClass?e.tileClass:be,n.tileGrids_={},n}return ge(e,t),e.prototype.getFeaturesInExtent=function(t){var e=[],n=this.tileCache;if(0===n.getCount())return e;var l=At(n.peekFirstKey())[0],i=this.tileGrid;return n.forEach((function(n){if(n.tileCoord[0]===l&&n.getState()===q.a.LOADED)for(var r=n.getSourceTiles(),o=0,a=r.length;o<a;++o){var s=r[o],u=s.tileCoord;if(Object(v.F)(t,i.getTileCoordExtent(u))){var c=s.getFeatures();if(c)for(var d=0,h=c.length;d<h;++d){var p=c[d],f=p.getGeometry();Object(v.F)(t,f.getExtent())&&e.push(p)}}}})),e},e.prototype.getOverlaps=function(){return this.overlaps_},e.prototype.clear=function(){this.tileCache.clear(),this.sourceTileCache.clear()},e.prototype.expireCache=function(e,n){t.prototype.expireCache.call(this,e,n),this.sourceTileCache.expireCache({})},e.prototype.getSourceTiles=function(t,e,n){var l=n.wrappedTileCoord,i=this.getTileGridForProjection(e),r=i.getTileCoordExtent(l),o=i.getResolution(l[0]);Object(v.c)(r,-o,r);var a=this.tileGrid,s=a.getExtent();s&&Object(v.B)(r,s,r);var u,c,d,h=a.getZForResolution(o,1),p=a.getMinZoom(),f=n.sourceTiles;if(f&&f.length>0&&f[0].tileCoord[0]===h)u=f,c=!0,d=h;else{u=[],d=h+1;do{--d,c=!0,a.forEachTileCoord(r,d,(function(l){var i,r=this.tileUrlFunction(l,t,e);if(void 0!==r)if(this.sourceTileCache.containsKey(r)){var o=(i=this.sourceTileCache.get(r)).getState();if(o===q.a.LOADED||o===q.a.ERROR||o===q.a.EMPTY)return void u.push(i)}else d===h&&((i=new this.tileClass(l,q.a.IDLE,r,this.format_,this.tileLoadFunction)).extent=a.getTileCoordExtent(l),i.projection=e,i.resolution=a.getResolution(l[0]),this.sourceTileCache.set(r,i),i.addEventListener(nt.a.CHANGE,this.handleTileChange.bind(this)),i.load());c=c&&i&&i.getState()===q.a.LOADED,i&&i.getState()!==q.a.EMPTY&&n.getState()===q.a.IDLE&&(n.loadingSourceTiles++,i.addEventListener(nt.a.CHANGE,(function t(){var e=i.getState(),l=i.getKey();if(e===q.a.LOADED||e===q.a.ERROR){e===q.a.LOADED?(i.removeEventListener(nt.a.CHANGE,t),n.loadingSourceTiles--,delete n.errorSourceTileKeys[l]):e===q.a.ERROR&&(n.errorSourceTileKeys[l]=!0);var r=Object.keys(n.errorSourceTileKeys).length;n.loadingSourceTiles-r==0&&(n.hifi=0===r,n.sourceZ=h,n.setState(q.a.LOADED))}})))}).bind(this)),c||(u.length=0)}while(!c&&d>p)}return n.getState()===q.a.IDLE&&n.setState(q.a.LOADING),c&&(n.hifi=h===d,n.sourceZ=d,n.getState()<q.a.LOADED?n.setState(q.a.LOADED):f&&Object(A.b)(u,f)||(n.sourceTiles=u)),u},e.prototype.getTile=function(t,e,n,l,i){var r,o=_t(t,e,n),a=this.getKey();if(this.tileCache.containsKey(o)&&(r=this.tileCache.get(o)).key===a)return r;var s=[t,e,n],u=this.getTileCoordForTileUrlFunction(s,i),c=this.getTileGrid().getExtent(),d=this.getTileGridForProjection(i);if(u&&c){var h=d.getTileCoordExtent(u);Object(v.c)(h,-d.getResolution(t),h),Object(v.F)(c,h)||(u=null)}var p=!0;if(null!==u){var f=this.tileGrid,b=d.getResolution(t),m=f.getZForResolution(b,1),g=d.getTileCoordExtent(u);Object(v.c)(g,-b,g),f.forEachTileCoord(g,m,(function(t){p=p&&!this.tileUrlFunction(t,l,i)}).bind(this))}var _=new pe(s,p?q.a.EMPTY:q.a.IDLE,u,this.getSourceTiles.bind(this,l,i));return _.key=a,r?(_.interimTile=r,_.refreshInterimChain(),this.tileCache.replace(o,_)):this.tileCache.set(o,_),_},e.prototype.getTileGridForProjection=function(t){var e=t.getCode(),n=this.tileGrids_[e];if(!n){var l=this.tileGrid;n=Kt(t,void 0,l?l.getTileSize(l.getMinZoom()):void 0),this.tileGrids_[e]=n}return n},e.prototype.getTilePixelRatio=function(t){return t},e.prototype.getTilePixelSize=function(t,e,n){var l=this.getTileGridForProjection(n),i=Object(rt.c)(l.getTileSize(t),this.tmpSize);return[Math.round(i[0]*e),Math.round(i[1]*e)]},e}(le);function ye(t,e){var n=Object(me.a)(e,t.getFormat(),t.onLoad.bind(t),t.onError.bind(t));t.setLoader(n)}var Ae=n("bHcU"),ve=n("g6Z0"),Ce=n("hoJM"),we=n("bL/2"),Pe=n("gpXz"),xe=n("zixo"),Se={$version:8,$root:{version:{required:!0,type:"enum",values:[8],doc:"Style specification version number. Must be 8.",example:8},name:{type:"string",doc:"A human-readable name for the style.",example:"Bright"},metadata:{type:"*",doc:"Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},center:{type:"array",value:"number",doc:"Default map center in longitude and latitude. The style center will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:[-73.9749,40.7736]},zoom:{type:"number",doc:"Default zoom level. The style zoom will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:12.5},bearing:{type:"number",default:0,period:360,units:"degrees",doc:'Default bearing, in degrees. The bearing is the compass direction that is "up"; for example, a bearing of 90\xb0 orients the map so that east is up. This value will be used only if the map has not been positioned by other means (e.g. map options or user interaction).',example:29},pitch:{type:"number",default:0,units:"degrees",doc:"Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:50},light:{type:"light",doc:"The global light source.",example:{anchor:"viewport",color:"white",intensity:.4}},sources:{required:!0,type:"sources",doc:"Data source specifications.",example:{"mapbox-streets":{type:"vector",url:"mapbox://mapbox.mapbox-streets-v6"}}},sprite:{type:"string",doc:"A base URL for retrieving the sprite image and metadata. The extensions `.png`, `.json` and scale factor `@2x.png` will be automatically appended. This property is required if any layer uses the `background-pattern`, `fill-pattern`, `line-pattern`, `fill-extrusion-pattern`, or `icon-image` properties. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://sprites/mapbox/bright-v8"},glyphs:{type:"string",doc:"A URL template for loading signed-distance-field glyph sets in PBF format. The URL must include `{fontstack}` and `{range}` tokens. This property is required if any layer uses the `text-field` layout property. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},transition:{type:"transition",doc:"A global transition definition to use as a default across properties, to be used for timing transitions between one value and the next when no property-specific transition is set. Collision-based symbol fading is controlled independently of the style's `transition` property.",example:{duration:300,delay:0}},layers:{required:!0,type:"array",value:"layer",doc:"Layers will be drawn in the order of this array.",example:[{id:"water",source:"mapbox-streets","source-layer":"water",type:"fill",paint:{"fill-color":"#00ffff"}}]}},sources:{"*":{type:"source",doc:"Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided."}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{doc:"A vector tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`. If specified as a string for a vector tile source, the same property is used across all its source layers."},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster:{type:{required:!0,type:"enum",values:{raster:{doc:"A raster tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{doc:"A RGB-encoded raster DEM source"}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},encoding:{type:"enum",values:{terrarium:{doc:"Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info."},mapbox:{doc:"Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info."}},default:"mapbox",doc:"The encoding used by this source. Mapbox Terrain RGB is used by default"},"*":{type:"*",doc:"Other keys to configure the data source."}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{doc:"A GeoJSON data source."}},doc:"The data type of the GeoJSON source."},data:{type:"*",doc:"A URL to a GeoJSON file, or inline GeoJSON."},maxzoom:{type:"number",default:18,doc:"Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},buffer:{type:"number",default:128,maximum:512,minimum:0,doc:"Size of the tile buffer on each side. A value of 0 produces no buffer. A value of 512 produces a buffer as wide as the tile itself. Larger values produce fewer rendering artifacts near tile edges and slower performance."},tolerance:{type:"number",default:.375,doc:"Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)."},cluster:{type:"boolean",default:!1,doc:"If the data is a collection of point features, setting this to true clusters the points by radius into groups. Cluster groups become new `Point` features in the source with additional properties:\n * `cluster` Is `true` if the point is a cluster \n * `cluster_id` A unqiue id for the cluster to be used in conjunction with the [cluster inspection methods](https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterexpansionzoom)\n * `point_count` Number of original points grouped into this cluster\n * `point_count_abbreviated` An abbreviated point count"},clusterRadius:{type:"number",default:50,minimum:0,doc:"Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile."},clusterMaxZoom:{type:"number",doc:"Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered)."},clusterProperties:{type:"*",doc:'An object defining custom properties on the generated clusters if clustering is enabled, aggregating values from clustered points. Has the form `{"property_name": [operator, map_expression]}`. `operator` is any expression function that accepts at least 2 operands (e.g. `"+"` or `"max"`) \u2014 it accumulates the property value from clusters/points the cluster contains; `map_expression` produces the value of a single point.\n\nExample: `{"sum": ["+", ["get", "scalerank"]]}`.\n\nFor more advanced use cases, in place of `operator`, you can use a custom reduce expression that references a special `["accumulated"]` value, e.g.:\n`{"sum": [["+", ["accumulated"], ["get", "sum"]], ["get", "scalerank"]]}`'},lineMetrics:{type:"boolean",default:!1,doc:"Whether to calculate line distance metrics. This is required for line layers that specify `line-gradient` values."},generateId:{type:"boolean",default:!1,doc:"Whether to generate ids for the geojson features. When enabled, the `feature.id` property will be auto assigned based on its index in the `features` array, over-writing any previous values."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`."}},source_video:{type:{required:!0,type:"enum",values:{video:{doc:"A video data source."}},doc:"The data type of the video source."},urls:{required:!0,type:"array",value:"string",doc:"URLs to video content in order of preferred format."},coordinates:{required:!0,doc:"Corners of video specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},source_image:{type:{required:!0,type:"enum",values:{image:{doc:"An image data source."}},doc:"The data type of the image source."},url:{required:!0,type:"string",doc:"URL that points to an image."},coordinates:{required:!0,doc:"Corners of image specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},layer:{id:{type:"string",doc:"Unique layer name.",required:!0},type:{type:"enum",values:{fill:{doc:"A filled polygon with an optional stroked border.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},line:{doc:"A stroked line.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},symbol:{doc:"An icon or a text label.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},circle:{doc:"A filled circle.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},heatmap:{doc:"A heatmap.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"fill-extrusion":{doc:"An extruded (3D) polygon.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},raster:{doc:"Raster map textures such as satellite imagery.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},hillshade:{doc:"Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},background:{doc:"The background color or pattern of the map.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}},doc:"Rendering type of this layer.",required:!0},metadata:{type:"*",doc:"Arbitrary properties useful to track with the layer, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},source:{type:"string",doc:"Name of a source description to be used for this layer. Required for all layer types except `background`."},"source-layer":{type:"string",doc:"Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources."},minzoom:{type:"number",minimum:0,maximum:24,doc:"The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden."},maxzoom:{type:"number",minimum:0,maximum:24,doc:"The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden."},filter:{type:"filter",doc:"A expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The `feature-state` expression is not supported in filter expressions."},layout:{type:"layout",doc:"Layout properties for the layer."},paint:{type:"paint",doc:"Default paint properties for this layer."}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0"},"data-driven styling":{js:"1.2.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0"},"data-driven styling":{js:"1.2.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},"property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{doc:"A cap with a squared-off end which is drawn to the exact endpoint of the line."},round:{doc:"A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},square:{doc:"A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."}},default:"butt",doc:"The display of line endings.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{doc:"A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."},round:{doc:"A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},miter:{doc:"A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet."}},default:"miter",doc:"The display of lines when joining.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,doc:"Used to automatically convert miter joins to bevel joins for sharp angles.",requires:[{"line-join":"miter"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,doc:"Used to automatically convert round joins to miter joins for shallow angles.",requires:[{"line-join":"round"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0"},"data-driven styling":{js:"1.2.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{doc:"The label is placed at the point where the geometry is located."},line:{doc:"The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries."},"line-center":{doc:"The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries."}},default:"point",doc:"Label placement relative to its geometry.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`line-center` value":{js:"0.47.0",android:"6.4.0",ios:"4.3.0",macos:"0.10.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",doc:"Distance between two symbol anchors.",requires:[{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,doc:"If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When `icon-allow-overlap` or `text-allow-overlap` is `false`, features with a lower sort key will have priority during placement. When `icon-allow-overlap` or `text-allow-overlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.","sdk-support":{"basic functionality":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"},"data-driven styling":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{doc:"If `symbol-sort-key` is set, sort based on that. Otherwise sort symbols by their y-position relative to the viewport."},"viewport-y":{doc:"Symbols will be sorted by their y-position relative to the viewport."},source:{doc:"Symbols will be rendered in the same order as the source data with no sorting applied."}},default:"auto",doc:"Controls the order in which overlapping symbols in the same layer are rendered","sdk-support":{"basic functionality":{js:"0.49.0",android:"6.6.0",ios:"4.5.0",macos:"0.12.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,doc:"If true, the icon will be visible even if it collides with other previously drawn symbols.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the icon.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,doc:"If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, aligns icon x-axes with the line."},viewport:{doc:"Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",doc:"Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `icon-size`. 1 is the original size; 3 triples the size of the image.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{doc:"The icon is displayed at its intrinsic aspect ratio."},width:{doc:"The icon is scaled in the x-dimension to fit the width of the text."},height:{doc:"The icon is scaled in the y-dimension to fit the height of the text."},both:{doc:"The icon is scaled in both x- and y-dimensions."}},default:"none",doc:"Scales the icon to fit around the associated text.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",doc:"Size of the additional area added to dimensions determined by `icon-text-fit`, in clockwise order: top, right, bottom, left.",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",doc:"Name of image in sprite to use for drawing an image background.",tokens:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the icon clockwise.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the icon bounding box used for detecting symbol collisions.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,doc:"If true, the icon may be flipped to prevent it from being rendered upside-down.",requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],doc:"Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `icon-size` to obtain the final offset in pixels. When combined with `icon-rotate` the offset will be as if the rotated direction was up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{doc:"The center of the icon is placed closest to the anchor."},left:{doc:"The left side of the icon is placed closest to the anchor."},right:{doc:"The right side of the icon is placed closest to the anchor."},top:{doc:"The top of the icon is placed closest to the anchor."},bottom:{doc:"The bottom of the icon is placed closest to the anchor."},"top-left":{doc:"The top left corner of the icon is placed closest to the anchor."},"top-right":{doc:"The top right corner of the icon is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the icon is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the icon is placed closest to the anchor."}},default:"center",doc:"Part of the icon placed closest to the anchor.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{doc:"The icon is aligned to the plane of the map."},viewport:{doc:"The icon is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `icon-rotation-alignment`."}},default:"auto",doc:"Orientation of icon when map is pitched.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{doc:"The text is aligned to the plane of the map."},viewport:{doc:"The text is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `text-rotation-alignment`."}},default:"auto",doc:"Orientation of text when map is pitched.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, aligns text x-axes with the line."},viewport:{doc:"Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,doc:"Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],doc:"Font stack to use for displaying text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",doc:"Font size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",doc:"The maximum line width for text wrapping.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",doc:"Text leading value for multi-line text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",doc:"Text tracking amount.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{doc:"The text is aligned towards the anchor position."},left:{doc:"The text is aligned to the left."},center:{doc:"The text is centered."},right:{doc:"The text is aligned to the right."}},default:"center",doc:"Text justification options.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},auto:{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,doc:"Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `text-variable-anchor`, which defaults to using the two-dimensional `text-offset` if present.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"},"data-driven styling":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},requires:["text-field",{"symbol-placement":["point"]}],doc:"To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` or the two-dimensional `text-offset`.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},default:"center",doc:"Part of the text placed closest to the anchor.",requires:["text-field",{"!":"text-variable-anchor"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",doc:"Maximum angle change between adjacent characters.",requires:["text-field",{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{doc:"If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally."},vertical:{doc:"If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically."}},doc:"The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn\u2019t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.",requires:["text-field",{"symbol-placement":["point"]}],"sdk-support":{"basic functionality":{js:"1.3.0",android:"8.3.0",ios:"5.3.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the text clockwise.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the text bounding box used for detecting symbol collisions.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,doc:"If true, the text may be flipped vertically to prevent it from being rendered upside-down.",requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{doc:"The text is not altered."},uppercase:{doc:"Forces all letters to be displayed in uppercase."},lowercase:{doc:"Forces all letters to be displayed in lowercase."}},default:"none",doc:"Specifies how to capitalize text, similar to the CSS `text-transform` property.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",doc:"Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,doc:"If true, the text will be visible even if it collides with other previously drawn symbols.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,doc:"If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.",requires:["text-field","icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},filter:{type:"array",value:"*",doc:"A filter selects specific features from a layer."},filter_operator:{type:"enum",values:{"==":{doc:'`["==", key, value]` equality: `feature[key] = value`'},"!=":{doc:'`["!=", key, value]` inequality: `feature[key] \u2260 value`'},">":{doc:'`[">", key, value]` greater than: `feature[key] > value`'},">=":{doc:'`[">=", key, value]` greater than or equal: `feature[key] \u2265 value`'},"<":{doc:'`["<", key, value]` less than: `feature[key] < value`'},"<=":{doc:'`["<=", key, value]` less than or equal: `feature[key] \u2264 value`'},in:{doc:'`["in", key, v0, ..., vn]` set inclusion: `feature[key] \u2208 {v0, ..., vn}`'},"!in":{doc:'`["!in", key, v0, ..., vn]` set exclusion: `feature[key] \u2209 {v0, ..., vn}`'},all:{doc:'`["all", f0, ..., fn]` logical `AND`: `f0 \u2227 ... \u2227 fn`'},any:{doc:'`["any", f0, ..., fn]` logical `OR`: `f0 \u2228 ... \u2228 fn`'},none:{doc:'`["none", f0, ..., fn]` logical `NOR`: `\xacf0 \u2227 ... \u2227 \xacfn`'},has:{doc:'`["has", key]` `feature[key]` exists'},"!has":{doc:'`["!has", key]` `feature[key]` does not exist'}},doc:"The filter operator."},geometry_type:{type:"enum",values:{Point:{doc:"Filter to point geometries."},LineString:{doc:"Filter to line geometries."},Polygon:{doc:"Filter to polygon geometries."}},doc:"The geometry type for the filter to select."},function:{expression:{type:"expression",doc:"An expression."},stops:{type:"array",doc:"An array of stops.",value:"function_stop"},base:{type:"number",default:1,minimum:0,doc:"The exponential base of the interpolation curve. It controls the rate at which the result increases. Higher values make the result increase more towards the high end of the range. With `1` the stops are interpolated linearly."},property:{type:"string",doc:"The name of a feature property to use as the function input.",default:"$zoom"},type:{type:"enum",values:{identity:{doc:"Return the input value as the output value."},exponential:{doc:"Generate an output by interpolating between stops just less than and just greater than the function input."},interval:{doc:"Return the output value of the stop just less than the function input."},categorical:{doc:"Return the output value of the stop equal to the function input."}},doc:"The interpolation strategy to use in function evaluation.",default:"exponential"},colorSpace:{type:"enum",values:{rgb:{doc:"Use the RGB color space to interpolate color values"},lab:{doc:"Use the LAB color space to interpolate color values."},hcl:{doc:"Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually."}},doc:"The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.",default:"rgb"},default:{type:"*",required:!1,doc:"A value to serve as a fallback function result when a value isn't otherwise available. It is used in the following circumstances:\n* In categorical functions, when the feature value does not match any of the stop domain values.\n* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.\n* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a `circle-color` property but the feature property value is not a string or not a valid color).\n* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.\nIf no default is provided, the style property's default is used in these circumstances."}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2,doc:"Zoom level and value pair."},expression:{type:"array",value:"*",minimum:1,doc:"An expression defines a function that can be used for data-driven style properties or feature filters."},expression_name:{doc:"",type:"enum",values:{let:{doc:'Binds expressions to named variables, which can then be referenced in the result expression using ["var", "variable_name"].',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},var:{doc:'References variable bound using "let".',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},literal:{doc:"Provides a literal array or object value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},array:{doc:"Asserts that the input is an array (optionally with a specific item type and length). If, when the input expression is evaluated, it is not of the asserted type, then this assertion will cause the whole expression to be aborted.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},at:{doc:"Retrieves an item from an array.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},in:{doc:"Determines whether an item exists in an array or a substring exists in a string.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.6.0"}}},case:{doc:"Selects the first output whose corresponding test condition evaluates to true, or the fallback value otherwise.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},match:{doc:'Selects the output whose label value matches the input value, or the fallback value if no match is found. The input can be any expression (e.g. `["get", "building_type"]`). Each label must be either:\n * a single literal value; or\n * an array of literal values, whose values must be all strings or all numbers (e.g. `[100, 101]` or `["c", "b"]`). The input matches if any of the values in the array matches, similar to the `"in"` operator.\n\nEach label must be unique. If the input type does not match the type of the labels, the result will be the fallback value.',group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},coalesce:{doc:"Evaluates each expression in turn until the first non-null value is obtained, and returns that value.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},step:{doc:'Produces discrete, stepped results by evaluating a piecewise-constant function defined by pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. Returns the output value of the stop just less than the input, or the first output if the input is less than the first stop.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},interpolate:{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. The output type must be `number`, `array<number>`, or `color`.\n\nInterpolation types:\n- `["linear"]`: interpolates linearly between the pair of stops just less than and just greater than the input.\n- `["exponential", base]`: interpolates exponentially between the stops just less than and just greater than the input. `base` controls the rate at which the output increases: higher values make the output increase more towards the high end of the range. With values close to 1 the output increases linearly.\n- `["cubic-bezier", x1, y1, x2, y2]`: interpolates using the cubic bezier curve defined by the given control points.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"interpolate-hcl":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the Hue-Chroma-Luminance color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},"interpolate-lab":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the CIELAB color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},ln2:{doc:"Returns mathematical constant ln(2).",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},pi:{doc:"Returns the mathematical constant pi.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},e:{doc:"Returns the mathematical constant e.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},typeof:{doc:"Returns a string describing the type of the given value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},string:{doc:"Asserts that the input value is a string. If multiple values are provided, each one is evaluated in order until a string is obtained. If none of the inputs are strings, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},number:{doc:"Asserts that the input value is a number. If multiple values are provided, each one is evaluated in order until a number is obtained. If none of the inputs are numbers, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},boolean:{doc:"Asserts that the input value is a boolean. If multiple values are provided, each one is evaluated in order until a boolean is obtained. If none of the inputs are booleans, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},object:{doc:"Asserts that the input value is an object. If multiple values are provided, each one is evaluated in order until an object is obtained. If none of the inputs are objects, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},collator:{doc:"Returns a `collator` for use in locale-dependent comparison operations. The `case-sensitive` and `diacritic-sensitive` options default to `false`. The `locale` argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the `collator` will use a system-defined fallback locale. Use `resolved-locale` to test the results of locale fallback behavior.",group:"Types","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},format:{doc:"Returns `formatted` text containing annotations for use in mixed-format `text-field` entries. For a `text-field` entries of a string type, following option object's properties are supported: If set, the `text-font` value overrides the font specified by the root layout properties. If set, the `font-scale` value specifies a scaling factor relative to the `text-size` specified in the root layout properties. If set, the `text-color` value overrides the color specified by the root paint properties for this layer.",group:"Types","sdk-support":{"basic functionality":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-font":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"font-scale":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-color":{js:"1.3.0",android:"7.3.0",ios:"4.10.0",macos:"0.14.0"},image:{js:"1.6.0"}}},image:{doc:"Returns an `image` type for use in `icon-image`, `*-pattern` entries and as a section in the `format` expression. If set, the `image` argument will check that the requested image exists in the style and will return either the resolved image name or `null`, depending on whether or not the image is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `image` argument.",group:"Types","sdk-support":{"basic functionality":{js:"1.4.0",android:"8.6.0",ios:"5.6.0"}}},"number-format":{doc:"Converts the input number into a string representation using the providing formatting rules. If set, the `locale` argument specifies the locale to use, as a BCP 47 language tag. If set, the `currency` argument specifies an ISO 4217 code to use for currency-style formatting. If set, the `min-fraction-digits` and `max-fraction-digits` arguments specify the minimum and maximum number of fractional digits to include.",group:"Types","sdk-support":{"basic functionality":{js:"0.54.0"}}},"to-string":{doc:'Converts the input value to a string. If the input is `null`, the result is `""`. If the input is a boolean, the result is `"true"` or `"false"`. If the input is a number, it is converted to a string as specified by the ["NumberToString" algorithm](https://tc39.github.io/ecma262/#sec-tostring-applied-to-the-number-type) of the ECMAScript Language Specification. If the input is a color, it is converted to a string of the form `"rgba(r,g,b,a)"`, where `r`, `g`, and `b` are numerals ranging from 0 to 255, and `a` ranges from 0 to 1. Otherwise, the input is converted to a string in the format specified by the [`JSON.stringify`](https://tc39.github.io/ecma262/#sec-json.stringify) function of the ECMAScript Language Specification.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-number":{doc:'Converts the input value to a number, if possible. If the input is `null` or `false`, the result is 0. If the input is `true`, the result is 1. If the input is a string, it is converted to a number as specified by the ["ToNumber Applied to the String Type" algorithm](https://tc39.github.io/ecma262/#sec-tonumber-applied-to-the-string-type) of the ECMAScript Language Specification. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-boolean":{doc:"Converts the input value to a boolean. The result is `false` when then input is an empty string, 0, `false`, `null`, or `NaN`; otherwise it is `true`.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-rgba":{doc:"Returns a four-element array containing the input color's red, green, blue, and alpha components, in that order.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-color":{doc:"Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgb:{doc:"Creates a color value from red, green, and blue components, which must range between 0 and 255, and an alpha component of 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgba:{doc:"Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between 0 and 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},get:{doc:"Retrieves a property value from the current feature's properties, or from another object if a second argument is provided. Returns null if the requested property is missing.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},has:{doc:"Tests for the presence of an property value in the current feature's properties, or from another object if a second argument is provided.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},length:{doc:"Gets the length of an array or string.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},properties:{doc:'Gets the feature properties object. Note that in some cases, it may be more efficient to use ["get", "property_name"] directly.',group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"feature-state":{doc:"Retrieves a property value from the current feature's state. Returns null if the requested property is not present on the feature's state. A feature's state is not part of the GeoJSON or vector tile data, and must be set programmatically on each feature. Features are identified by their `id` attribute, which must be an integer or a string that can be cast to an integer. Note that [\"feature-state\"] can only be used with paint properties that support data-driven styling.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.46.0"}}},"geometry-type":{doc:"Gets the feature's geometry type: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},id:{doc:"Gets the feature's id, if it has one.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},zoom:{doc:'Gets the current zoom level. Note that in style layout and paint properties, ["zoom"] may only appear as the input to a top-level "step" or "interpolate" expression.',group:"Zoom","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"heatmap-density":{doc:"Gets the kernel density estimation of a pixel in a heatmap layer, which is a relative measure of how many data points are crowded around a particular pixel. Can only be used in the `heatmap-color` property.",group:"Heatmap","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"line-progress":{doc:"Gets the progress along a gradient line. Can only be used in the `line-gradient` property.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.6.0",macos:"0.12.0"}}},accumulated:{doc:"Gets the value of a cluster property accumulated so far. Can only be used in the `clusterProperties` option of a clustered GeoJSON source.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.53.0"}}},"+":{doc:"Returns the sum of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"*":{doc:"Returns the product of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"-":{doc:"For two inputs, returns the result of subtracting the second input from the first. For a single input, returns the result of subtracting it from 0.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"/":{doc:"Returns the result of floating point division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"%":{doc:"Returns the remainder after integer division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"^":{doc:"Returns the result of raising the first input to the power specified by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sqrt:{doc:"Returns the square root of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log10:{doc:"Returns the base-ten logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ln:{doc:"Returns the natural logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log2:{doc:"Returns the base-two logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sin:{doc:"Returns the sine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},cos:{doc:"Returns the cosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},tan:{doc:"Returns the tangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},asin:{doc:"Returns the arcsine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},acos:{doc:"Returns the arccosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},atan:{doc:"Returns the arctangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},min:{doc:"Returns the minimum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},max:{doc:"Returns the maximum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},round:{doc:'Rounds the input to the nearest integer. Halfway values are rounded away from zero. For example, `["round", -1.5]` evaluates to -2.',group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},abs:{doc:"Returns the absolute value of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ceil:{doc:"Returns the smallest integer that is greater than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},floor:{doc:"Returns the largest integer that is less than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"==":{doc:"Returns `true` if the input values are equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"!=":{doc:"Returns `true` if the input values are not equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">":{doc:"Returns `true` if the first input is strictly greater than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<":{doc:"Returns `true` if the first input is strictly less than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">=":{doc:"Returns `true` if the first input is greater than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<=":{doc:"Returns `true` if the first input is less than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},all:{doc:"Returns `true` if all the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `false`, the result is `false` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},any:{doc:"Returns `true` if any of the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `true`, the result is `true` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"!":{doc:"Logical negation. Returns `true` if the input is `false`, and `false` if the input is `true`.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},within:{doc:"Returns `true` if the feature being evaluated is inside the pre-defined geometry boundary, `false` otherwise. The expression has one argument which must be a valid GeoJSON Polygon/Multi-Polygon object. The expression only evaluates on `Point` or `LineString` feature. For `Point` feature, The expression will return false if any point of the feature is on the boundary or outside the boundary. For `LineString` feature, the expression will return false if the line is fully outside the boundary, or the line is partially intersecting the boundary, which means either part of the line is outside of the boundary, or end point of the line lies on the boundary.",group:"Decision","sdk-support":{"basic functionality":{js:"1.9.0"}}},"is-supported-script":{doc:"Returns `true` if the input string is expected to render legibly. Returns `false` if the input string contains sections that cannot be rendered without potential loss of meaning (e.g. Indic scripts that require complex text shaping, or right-to-left scripts if the the `mapbox-gl-rtl-text` plugin is not in use in Mapbox GL JS).",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.6.0"}}},upcase:{doc:"Returns the input string converted to uppercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},downcase:{doc:"Returns the input string converted to lowercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},concat:{doc:"Returns a `string` consisting of the concatenation of the inputs. Each input is converted to a string as if by `to-string`.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"resolved-locale":{doc:"Returns the IETF language tag of the locale being used by the provided `collator`. This can be used to determine the default system locale, or to determine if a requested locale was successfully loaded.",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{doc:"The position of the light source is aligned to the rotation of the map."},viewport:{doc:"The position of the light source is aligned to the rotation of the viewport."}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]},doc:"Whether extruded geometries are lit relative to the map or viewport.",example:"map","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},doc:"Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0\xb0 (0\xb0 when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0\xb0 when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0\xb0, directly above, to 180\xb0, directly below).",example:[1.5,90,80],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Color tint for lighting extruded geometries.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,doc:"Whether or not the fill should be antialiased.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill layer. In contrast to the `fill-color`, this value will also affect the 1px stroke around the fill, if the stroke is used.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",doc:"The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.",transition:!0,requires:[{"!":"fill-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",doc:"The outline color of the fill. Matches the value of `fill-color` if unspecified.",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{doc:"The fill is translated relative to the map."},viewport:{doc:"The fill is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-translate`.",default:"map",requires:["fill-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",doc:"The opacity at which the line will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",doc:"The color with which the line will be drawn.",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.23.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{doc:"The line is translated relative to the map."},viewport:{doc:"The line is translated relative to the viewport."}},doc:"Controls the frame of reference for `line-translate`.",default:"map",requires:["line-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",doc:"Stroke thickness.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,doc:"Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,doc:"The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.12.1",android:"3.0.0",ios:"3.1.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Blur applied to the line, in pixels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",doc:"Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",doc:'Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.',transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],"sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.4.0",macos:"0.11.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",doc:"Circle radius.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",doc:"The fill color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,doc:"Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",doc:"The opacity at which the circle will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{doc:"The circle is translated relative to the map."},viewport:{doc:"The circle is translated relative to the viewport."}},doc:"Controls the frame of reference for `circle-translate`.",default:"map",requires:["circle-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{doc:"Circles are scaled according to their apparent distance to the camera."},viewport:{doc:"Circles are not scaled."}},default:"map",doc:"Controls the scaling behavior of the circle when the map is pitched.","sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{doc:"The circle is aligned to the plane of the map."},viewport:{doc:"The circle is aligned to the plane of the viewport."}},default:"viewport",doc:"Orientation of circle when map is pitched.","sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The width of the circle's stroke. Strokes are placed outside of the `circle-radius`.","sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",doc:"The stroke color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",doc:"The opacity of the circle's stroke.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",doc:"Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,doc:"A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,doc:"Similar to `heatmap-weight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],doc:'Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmap-density"]` as input.',transition:!1,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",doc:"The global opacity at which the heatmap layer will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{doc:"The opacity at which the icon will be drawn.",type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,doc:"The color of the icon. This can only be used with sdf icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the icon's halo. Icon halos can only be used with SDF icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the icon outline.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Fade out the halo towards the outside.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{doc:"Icons are translated relative to the map."},viewport:{doc:"Icons are translated relative to the viewport."}},doc:"Controls the frame of reference for `icon-translate`.",default:"map",requires:["icon-image","icon-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",doc:"The opacity at which the text will be drawn.",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",doc:"The color with which the text will be drawn.",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the text's halo, which helps it stand out from backgrounds.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The halo's fadeout distance towards the outside.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{doc:"The text is translated relative to the map."},viewport:{doc:"The text is translated relative to the viewport."}},doc:"Controls the frame of reference for `text-translate`.",default:"map",requires:["text-field","text-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",doc:"The opacity at which the image will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",doc:"Rotates hues around the color wheel.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the minimum brightness.",default:0,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the maximum brightness.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",doc:"Increase or reduce the saturation of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",doc:"Increase or reduce the contrast of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",doc:"The resampling/interpolation method to use for overscaling, also known as texture magnification filter",values:{linear:{doc:"(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled"},nearest:{doc:"Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled"}},default:"linear","sdk-support":{"basic functionality":{js:"0.47.0",android:"6.3.0",ios:"4.2.0",macos:"0.9.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",doc:"Fade duration when a new tile is added.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,doc:"The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshade-illumination-anchor` is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`.",transition:!1,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{doc:"The hillshade illumination is relative to the north direction."},viewport:{doc:"The hillshade illumination is relative to the top of the viewport."}},default:"viewport",doc:"Direction of light source when map is rotated.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",doc:"Intensity of the hillshade",default:.5,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",doc:"The shading color of areas that face away from the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",doc:"The shading color of areas that faces towards the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",doc:"The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",doc:"The color with which the background will be drawn.",transition:!0,requires:[{"!":"background-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity at which the background will be drawn.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds",doc:"Time allotted for transitions to complete."},delay:{type:"number",default:0,minimum:0,units:"milliseconds",doc:"Length of time before a transition begins."}},"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doc:"Property is interpolable but cannot be represented using a property expression."},constant:{type:"property-type",doc:"Property is constant across all zoom levels and property values."}},promoteId:{"*":{type:"string",doc:"A name of a feature property to use as ID for feature state."}}},ke="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Me(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function Oe(t,e){return t(e={exports:{}},e.exports),e.exports}var De=Oe((function(t,e){!function(n){var l=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,r="object"==typeof ke&&ke;r.global!==r&&r.window!==r&&r.self!==r||(n=r);var o,a,s=2147483647,u=/^xn--/,c=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,f=String.fromCharCode;function b(t){throw RangeError(h[t])}function m(t,e){for(var n=t.length,l=[];n--;)l[n]=e(t[n]);return l}function g(t,e){var n=t.split("@"),l="";return n.length>1&&(l=n[0]+"@",t=n[1]),l+m((t=t.replace(d,".")).split("."),e).join(".")}function _(t){for(var e,n,l=[],i=0,r=t.length;i<r;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<r?56320==(64512&(n=t.charCodeAt(i++)))?l.push(((1023&e)<<10)+(1023&n)+65536):(l.push(e),i--):l.push(e);return l}function y(t){return m(t,(function(t){var e="";return t>65535&&(e+=f((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+f(t)})).join("")}function A(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function v(t,e,n){var l=0;for(t=n?p(t/700):t>>1,t+=p(t/e);t>455;l+=36)t=p(t/35);return p(l+36*t/(t+38))}function C(t){var e,n,l,i,r,o,a,u,c,d,h,f=[],m=t.length,g=0,_=128,A=72;for((n=t.lastIndexOf("-"))<0&&(n=0),l=0;l<n;++l)t.charCodeAt(l)>=128&&b("not-basic"),f.push(t.charCodeAt(l));for(i=n>0?n+1:0;i<m;){for(r=g,o=1,a=36;i>=m&&b("invalid-input"),((u=(h=t.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||u>p((s-g)/o))&&b("overflow"),g+=u*o,!(u<(c=a<=A?1:a>=A+26?26:a-A));a+=36)o>p(s/(d=36-c))&&b("overflow"),o*=d;A=v(g-r,e=f.length+1,0==r),p(g/e)>s-_&&b("overflow"),_+=p(g/e),g%=e,f.splice(g++,0,_)}return y(f)}function w(t){var e,n,l,i,r,o,a,u,c,d,h,m,g,y,C,w=[];for(m=(t=_(t)).length,e=128,n=0,r=72,o=0;o<m;++o)(h=t[o])<128&&w.push(f(h));for(l=i=w.length,i&&w.push("-");l<m;){for(a=s,o=0;o<m;++o)(h=t[o])>=e&&h<a&&(a=h);for(a-e>p((s-n)/(g=l+1))&&b("overflow"),n+=(a-e)*g,e=a,o=0;o<m;++o)if((h=t[o])<e&&++n>s&&b("overflow"),h==e){for(u=n,c=36;!(u<(d=c<=r?1:c>=r+26?26:c-r));c+=36)w.push(f(A(d+(C=u-d)%(y=36-d),0))),u=p(C/y);w.push(f(A(u,0))),r=v(n,g,l==i),n=0,++l}++n,++e}return w.join("")}if(o={version:"1.3.2",ucs2:{decode:_,encode:y},decode:C,encode:w,toASCII:function(t){return g(t,(function(t){return c.test(t)?"xn--"+w(t):t}))},toUnicode:function(t){return g(t,(function(t){return u.test(t)?C(t.slice(4).toLowerCase()):t}))}},l&&i)if(t.exports==l)i.exports=o;else for(a in o)o.hasOwnProperty(a)&&(l[a]=o[a]);else n.punycode=o}(ke)})),Te=function(t){return"string"==typeof t},Ee=function(t){return"object"==typeof t&&null!==t},Ie=function(t){return null===t};function Le(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var je=function(t,e,n,l){n=n||"=";var i={};if("string"!=typeof t||0===t.length)return i;var r=/\+/g;t=t.split(e=e||"&");var o=1e3;l&&"number"==typeof l.maxKeys&&(o=l.maxKeys);var a=t.length;o>0&&a>o&&(a=o);for(var s=0;s<a;++s){var u,c,d,h,p=t[s].replace(r,"%20"),f=p.indexOf(n);f>=0?(u=p.substr(0,f),c=p.substr(f+1)):(u=p,c=""),d=decodeURIComponent(u),h=decodeURIComponent(c),Le(i,d)?Array.isArray(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i},Re=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},Fe=function(t,e,n,l){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(l){var i=encodeURIComponent(Re(l))+n;return Array.isArray(t[l])?t[l].map((function(t){return i+encodeURIComponent(Re(t))})).join(e):i+encodeURIComponent(Re(t[l]))})).join(e):l?encodeURIComponent(Re(l))+n+encodeURIComponent(Re(t)):""},Ne=Oe((function(t,e){e.decode=e.parse=je,e.encode=e.stringify=Fe}));function Ye(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Ue=/^([a-z0-9.+-]+:)/i,Be=/:[0-9]*$/,ze=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ge=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),He=["'"].concat(Ge),Ve=["%","/","?",";","#"].concat(He),qe=["/","?","#"],We=/^[+a-z0-9A-Z_-]{0,63}$/,$e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xe={javascript:!0,"javascript:":!0},Ke={javascript:!0,"javascript:":!0},Je={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Qe(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];for(var l=0,i=e;l<i.length;l+=1){var r=i[l];for(var o in r)t[o]=r[o]}return t}Ye.prototype.parse=function(t,e,n){if(!Te(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var l=t.indexOf("?"),i=-1!==l&&l<t.indexOf("#")?"?":"#",r=t.split(i);r[0]=r[0].replace(/\\/g,"/");var o=t=r.join(i);if(o=o.trim(),!n&&1===t.split("#").length){var a=ze.exec(o);if(a)return this.path=o,this.href=o,this.pathname=a[1],a[2]?(this.search=a[2],this.query=e?Ne.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var s=Ue.exec(o);if(s){var u=(s=s[0]).toLowerCase();this.protocol=u,o=o.substr(s.length)}if(n||s||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var c="//"===o.substr(0,2);!c||s&&Ke[s]||(o=o.substr(2),this.slashes=!0)}if(!Ke[s]&&(c||s&&!Je[s])){for(var d,h,p=-1,f=0;f<qe.length;f++)-1!==(b=o.indexOf(qe[f]))&&(-1===p||b<p)&&(p=b);for(-1!==(h=-1===p?o.lastIndexOf("@"):o.lastIndexOf("@",p))&&(d=o.slice(0,h),o=o.slice(h+1),this.auth=decodeURIComponent(d)),p=-1,f=0;f<Ve.length;f++){var b;-1!==(b=o.indexOf(Ve[f]))&&(-1===p||b<p)&&(p=b)}-1===p&&(p=o.length),this.host=o.slice(0,p),o=o.slice(p),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var g=this.hostname.split(/\./),_=(f=0,g.length);f<_;f++){var y=g[f];if(y&&!y.match(We)){for(var A="",v=0,C=y.length;v<C;v++)y.charCodeAt(v)>127?A+="x":A+=y[v];if(!A.match(We)){var w=g.slice(0,f),P=g.slice(f+1),x=y.match($e);x&&(w.push(x[1]),P.unshift(x[2])),P.length&&(o="/"+P.join(".")+o),this.hostname=w.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),m||(this.hostname=De.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==o[0]&&(o="/"+o))}if(!Xe[u])for(f=0,_=He.length;f<_;f++){var S=He[f];if(-1!==o.indexOf(S)){var k=encodeURIComponent(S);k===S&&(k=escape(S)),o=o.split(S).join(k)}}var M=o.indexOf("#");-1!==M&&(this.hash=o.substr(M),o=o.slice(0,M));var O=o.indexOf("?");return-1!==O?(this.search=o.substr(O),this.query=o.substr(O+1),e&&(this.query=Ne.parse(this.query)),o=o.slice(0,O)):e&&(this.search="",this.query={}),o&&(this.pathname=o),Je[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},Ye.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",l=this.hash||"",i=!1,r="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&Ee(this.query)&&Object.keys(this.query).length&&(r=Ne.stringify(this.query));var o=this.search||r&&"?"+r||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||Je[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),l&&"#"!==l.charAt(0)&&(l="#"+l),o&&"?"!==o.charAt(0)&&(o="?"+o),e+i+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(o=o.replace("#","%23"))+l},Ye.prototype.resolve=function(t){return this.resolveObject(function(t,e,n){if(t&&Ee(t)&&t instanceof Ye)return t;var l=new Ye;return l.parse(t,!1,!0),l}(t)).format()},Ye.prototype.resolveObject=function(t){if(Te(t)){var e=new Ye;e.parse(t,!1,!0),t=e}for(var n=new Ye,l=Object.keys(this),i=0;i<l.length;i++){var r=l[i];n[r]=this[r]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),a=0;a<o.length;a++){var s=o[a];"protocol"!==s&&(n[s]=t[s])}return Je[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!Je[t.protocol]){for(var u=Object.keys(t),c=0;c<u.length;c++){var d=u[c];n[d]=t[d]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||Ke[t.protocol])n.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}return n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,(n.pathname||n.search)&&(n.path=(n.pathname||"")+(n.search||"")),n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var p=n.pathname&&"/"===n.pathname.charAt(0),f=t.host||t.pathname&&"/"===t.pathname.charAt(0),b=f||p||n.host&&t.pathname,m=b,g=n.pathname&&n.pathname.split("/")||[],_=(h=t.pathname&&t.pathname.split("/")||[],n.protocol&&!Je[n.protocol]);if(_&&(n.hostname="",n.port=null,n.host&&(""===g[0]?g[0]=n.host:g.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===h[0]?h[0]=t.host:h.unshift(t.host)),t.host=null),b=b&&(""===h[0]||""===g[0])),f)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,g=h;else if(h.length)g||(g=[]),g.pop(),g=g.concat(h),n.search=t.search,n.query=t.query;else if(null!=t.search)return _&&(n.hostname=n.host=g.shift(),(w=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=w.shift(),n.host=n.hostname=w.shift())),n.search=t.search,n.query=t.query,Ie(n.pathname)&&Ie(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!g.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var y=g.slice(-1)[0],A=(n.host||t.host||g.length>1)&&("."===y||".."===y)||""===y,v=0,C=g.length;C>=0;C--)"."===(y=g[C])?g.splice(C,1):".."===y?(g.splice(C,1),v++):v&&(g.splice(C,1),v--);if(!b&&!m)for(;v--;v)g.unshift("..");!b||""===g[0]||g[0]&&"/"===g[0].charAt(0)||g.unshift(""),A&&"/"!==g.join("/").substr(-1)&&g.push("");var w,P=""===g[0]||g[0]&&"/"===g[0].charAt(0);return _&&(n.hostname=n.host=P?"":g.length?g.shift():"",(w=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=w.shift(),n.host=n.hostname=w.shift())),(b=b||n.host&&g.length)&&!P&&g.unshift(""),g.length?n.pathname=g.join("/"):(n.pathname=null,n.path=null),Ie(n.pathname)&&Ie(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},Ye.prototype.parseHost=function(){var t=this.host,e=Be.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var Ze=function(t){function e(e,n){t.call(this,n),this.message=n,this.key=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Error),tn=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var n=0,l=e;n<l.length;n+=1){var i=l[n];this.bindings[i[0]]=i[1]}};tn.prototype.concat=function(t){return new tn(this,t)},tn.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},tn.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var en={kind:"null"},nn={kind:"number"},ln={kind:"string"},rn={kind:"boolean"},on={kind:"color"},an={kind:"object"},sn={kind:"value"},un={kind:"collator"},cn={kind:"formatted"},dn={kind:"resolvedImage"};function hn(t,e){return{kind:"array",itemType:t,N:e}}function pn(t){if("array"===t.kind){var e=pn(t.itemType);return"number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var fn=[en,nn,ln,rn,on,cn,an,hn(sn),dn];function bn(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!bn(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var n=0,l=fn;n<l.length;n+=1)if(!bn(l[n],e))return null}return"Expected "+pn(t)+" but found "+pn(e)+" instead."}var mn=Oe((function(t,e){var n={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function l(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return l("%"===t[t.length-1]?parseFloat(t)/100*255:parseInt(t))}function r(t){return(e="%"===t[t.length-1]?parseFloat(t)/100:parseFloat(t))<0?0:e>1?1:e;var e}function o(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}try{e.parseCSSColor=function(t){var e,a=t.replace(/ /g,"").toLowerCase();if(a in n)return n[a].slice();if("#"===a[0])return 4===a.length?(e=parseInt(a.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===a.length&&(e=parseInt(a.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var s=a.indexOf("("),u=a.indexOf(")");if(-1!==s&&u+1===a.length){var c=a.substr(0,s),d=a.substr(s+1,u-(s+1)).split(","),h=1;switch(c){case"rgba":if(4!==d.length)return null;h=r(d.pop());case"rgb":return 3!==d.length?null:[i(d[0]),i(d[1]),i(d[2]),h];case"hsla":if(4!==d.length)return null;h=r(d.pop());case"hsl":if(3!==d.length)return null;var p=(parseFloat(d[0])%360+360)%360/360,f=r(d[1]),b=r(d[2]),m=b<=.5?b*(f+1):b+f-b*f,g=2*b-m;return[l(255*o(g,m,p+1/3)),l(255*o(g,m,p)),l(255*o(g,m,p-1/3)),h];default:return null}}return null}}catch(a){}})).parseCSSColor,gn=function(t,e,n,l){void 0===l&&(l=1),this.r=t,this.g=e,this.b=n,this.a=l};gn.parse=function(t){if(t){if(t instanceof gn)return t;if("string"==typeof t){var e=mn(t);if(e)return new gn(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},gn.prototype.toString=function(){var t=this.toArray(),e=t[1],n=t[2],l=t[3];return"rgba("+Math.round(t[0])+","+Math.round(e)+","+Math.round(n)+","+l+")"},gn.prototype.toArray=function(){var t=this.a;return 0===t?[0,0,0,0]:[255*this.r/t,255*this.g/t,255*this.b/t,t]},gn.black=new gn(0,0,0,1),gn.white=new gn(1,1,1,1),gn.transparent=new gn(0,0,0,0),gn.red=new gn(1,0,0,1);var _n=function(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};_n.prototype.compare=function(t,e){return this.collator.compare(t,e)},_n.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var yn=function(t,e,n,l,i){this.text=t,this.image=e,this.scale=n,this.fontStack=l,this.textColor=i},An=function(t){this.sections=t};An.fromString=function(t){return new An([new yn(t,null,null,null,null)])},An.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(t){return 0!==t.text.length||t.image&&0!==t.image.name.length}))},An.factory=function(t){return t instanceof An?t:An.fromString(t)},An.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(t){return t.text})).join("")},An.prototype.serialize=function(){for(var t=["format"],e=0,n=this.sections;e<n.length;e+=1){var l=n[e];if(l.image)t.push(["image",l.image.name]);else{t.push(l.text);var i={};l.fontStack&&(i["text-font"]=["literal",l.fontStack.split(",")]),l.scale&&(i["font-scale"]=l.scale),l.textColor&&(i["text-color"]=["rgba"].concat(l.textColor.toArray())),t.push(i)}}return t};var vn=function(t){this.name=t.name,this.available=t.available};function Cn(t,e,n,l){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===l||"number"==typeof l&&l>=0&&l<=1?null:"Invalid rgba value ["+[t,e,n,l].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof l?[t,e,n,l]:[t,e,n]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function wn(t){if(null===t)return!0;if("string"==typeof t)return!0;if("boolean"==typeof t)return!0;if("number"==typeof t)return!0;if(t instanceof gn)return!0;if(t instanceof _n)return!0;if(t instanceof An)return!0;if(t instanceof vn)return!0;if(Array.isArray(t)){for(var e=0,n=t;e<n.length;e+=1)if(!wn(n[e]))return!1;return!0}if("object"==typeof t){for(var l in t)if(!wn(t[l]))return!1;return!0}return!1}function Pn(t){if(null===t)return en;if("string"==typeof t)return ln;if("boolean"==typeof t)return rn;if("number"==typeof t)return nn;if(t instanceof gn)return on;if(t instanceof _n)return un;if(t instanceof An)return cn;if(t instanceof vn)return dn;if(Array.isArray(t)){for(var e,n=t.length,l=0,i=t;l<i.length;l+=1){var r=Pn(i[l]);if(e){if(e===r)continue;e=sn;break}e=r}return hn(e||sn,n)}return an}function xn(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof gn||t instanceof An||t instanceof vn?t.toString():JSON.stringify(t)}vn.prototype.toString=function(){return this.name},vn.fromString=function(t){return t?new vn({name:t,available:!1}):null},vn.prototype.serialize=function(){return["image",this.name]};var Sn=function(t,e){this.type=t,this.value=e};Sn.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!wn(t[1]))return e.error("invalid value");var n=t[1],l=Pn(n),i=e.expectedType;return"array"!==l.kind||0!==l.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(l=i),new Sn(l,n)},Sn.prototype.evaluate=function(){return this.value},Sn.prototype.eachChild=function(){},Sn.prototype.outputDefined=function(){return!0},Sn.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof gn?["rgba"].concat(this.value.toArray()):this.value instanceof An?this.value.serialize():this.value};var kn=function(t){this.name="ExpressionEvaluationError",this.message=t};kn.prototype.toJSON=function(){return this.message};var Mn={string:ln,number:nn,boolean:rn,object:an},On=function(t,e){this.type=t,this.args=e};On.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n,l=1,i=t[0];if("array"===i){var r,o;if(t.length>2){var a=t[1];if("string"!=typeof a||!(a in Mn)||"object"===a)return e.error('The item type argument of "array" must be one of string, number, boolean',1);r=Mn[a],l++}else r=sn;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);o=t[2],l++}n=hn(r,o)}else n=Mn[i];for(var s=[];l<t.length;l++){var u=e.parse(t[l],l,sn);if(!u)return null;s.push(u)}return new On(n,s)},On.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var n=this.args[e].evaluate(t);if(!bn(this.type,Pn(n)))return n;if(e===this.args.length-1)throw new kn("Expected value to be of type "+pn(this.type)+", but found "+pn(Pn(n))+" instead.")}return null},On.prototype.eachChild=function(t){this.args.forEach(t)},On.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},On.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var n=t.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){e.push(n.kind);var l=t.N;("number"==typeof l||this.args.length>1)&&e.push(l)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var Dn=function(t){this.type=cn,this.sections=t};Dn.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n=t[1];if(!Array.isArray(n)&&"object"==typeof n)return e.error("First argument must be an image or text section.");for(var l=[],i=!1,r=1;r<=t.length-1;++r){var o=t[r];if(i&&"object"==typeof o&&!Array.isArray(o)){i=!1;var a=null;if(o["font-scale"]&&!(a=e.parse(o["font-scale"],1,nn)))return null;var s=null;if(o["text-font"]&&!(s=e.parse(o["text-font"],1,hn(ln))))return null;var u=null;if(o["text-color"]&&!(u=e.parse(o["text-color"],1,on)))return null;var c=l[l.length-1];c.scale=a,c.font=s,c.textColor=u}else{var d=e.parse(t[r],1,sn);if(!d)return null;var h=d.type.kind;if("string"!==h&&"value"!==h&&"null"!==h&&"resolvedImage"!==h)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,l.push({content:d,scale:null,font:null,textColor:null})}}return new Dn(l)},Dn.prototype.evaluate=function(t){return new An(this.sections.map((function(e){var n=e.content.evaluate(t);return Pn(n)===dn?new yn("",n,null,null,null):new yn(xn(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))},Dn.prototype.eachChild=function(t){for(var e=0,n=this.sections;e<n.length;e+=1){var l=n[e];t(l.content),l.scale&&t(l.scale),l.font&&t(l.font),l.textColor&&t(l.textColor)}},Dn.prototype.outputDefined=function(){return!1},Dn.prototype.serialize=function(){for(var t=["format"],e=0,n=this.sections;e<n.length;e+=1){var l=n[e];t.push(l.content.serialize());var i={};l.scale&&(i["font-scale"]=l.scale.serialize()),l.font&&(i["text-font"]=l.font.serialize()),l.textColor&&(i["text-color"]=l.textColor.serialize()),t.push(i)}return t};var Tn=function(t){this.type=dn,this.input=t};Tn.parse=function(t,e){if(2!==t.length)return e.error("Expected two arguments.");var n=e.parse(t[1],1,ln);return n?new Tn(n):e.error("No image name provided.")},Tn.prototype.evaluate=function(t){var e=this.input.evaluate(t),n=vn.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n},Tn.prototype.eachChild=function(t){t(this.input)},Tn.prototype.outputDefined=function(){return!1},Tn.prototype.serialize=function(){return["image",this.input.serialize()]};var En={"to-boolean":rn,"to-color":on,"to-number":nn,"to-string":ln},In=function(t,e){this.type=t,this.args=e};In.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n=t[0];if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");for(var l=En[n],i=[],r=1;r<t.length;r++){var o=e.parse(t[r],r,sn);if(!o)return null;i.push(o)}return new In(l,i)},In.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,n,l=0,i=this.args;l<i.length;l+=1){if(n=null,(e=i[l].evaluate(t))instanceof gn)return e;if("string"==typeof e){var r=t.parseColor(e);if(r)return r}else if(Array.isArray(e)&&!(n=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":Cn(e[0],e[1],e[2],e[3])))return new gn(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new kn(n||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var o=null,a=0,s=this.args;a<s.length;a+=1){if(null===(o=s[a].evaluate(t)))return 0;var u=Number(o);if(!isNaN(u))return u}throw new kn("Could not convert "+JSON.stringify(o)+" to number.")}return"formatted"===this.type.kind?An.fromString(xn(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?vn.fromString(xn(this.args[0].evaluate(t))):xn(this.args[0].evaluate(t))},In.prototype.eachChild=function(t){this.args.forEach(t)},In.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},In.prototype.serialize=function(){if("formatted"===this.type.kind)return new Dn([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Tn(this.args[0]).serialize();var t=["to-"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize())})),t};var Ln=["Unknown","Point","LineString","Polygon"],jn=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};jn.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},jn.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?Ln[this.feature.type]:this.feature.type:null},jn.prototype.geometry=function(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null},jn.prototype.canonicalID=function(){return this.canonical},jn.prototype.properties=function(){return this.feature&&this.feature.properties||{}},jn.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=gn.parse(t)),e};var Rn=function(t,e,n,l){this.name=t,this.type=e,this._evaluate=n,this.args=l};Rn.prototype.evaluate=function(t){return this._evaluate(t,this.args)},Rn.prototype.eachChild=function(t){this.args.forEach(t)},Rn.prototype.outputDefined=function(){return!1},Rn.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},Rn.parse=function(t,e){var n,l=t[0],i=Rn.definitions[l];if(!i)return e.error('Unknown expression "'+l+'". If you wanted a literal array, use ["literal", [...]].',0);for(var r=Array.isArray(i)?i[0]:i.type,o=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,a=o.filter((function(e){var n=e[0];return!Array.isArray(n)||n.length===t.length-1})),s=null,u=0,c=a;u<c.length;u+=1){var d=c[u],h=d[0],p=d[1];s=new ul(e.registry,e.path,null,e.scope);for(var f=[],b=!1,m=1;m<t.length;m++){var g=t[m],_=Array.isArray(h)?h[m-1]:h.type,y=s.parse(g,1+f.length,_);if(!y){b=!0;break}f.push(y)}if(!b)if(Array.isArray(h)&&h.length!==f.length)s.error("Expected "+h.length+" arguments, but found "+f.length+" instead.");else{for(var A=0;A<f.length;A++){var v=Array.isArray(h)?h[A]:h.type,C=f[A];s.concat(A+1).checkSubtype(v,C.type)}if(0===s.errors.length)return new Rn(l,r,p,f)}}if(1===a.length)(n=e.errors).push.apply(n,s.errors);else{for(var w=(a.length?a:o).map((function(t){var e;return e=t[0],Array.isArray(e)?"("+e.map(pn).join(", ")+")":"("+pn(e.type)+"...)"})).join(" | "),P=[],x=1;x<t.length;x++){var S=e.parse(t[x],1+P.length);if(!S)return null;P.push(pn(S.type))}e.error("Expected arguments of type "+w+", but found ("+P.join(", ")+") instead.")}return null},Rn.register=function(t,e){for(var n in Rn.definitions=e,e)t[n]=Rn};var Fn=function(t,e,n){this.type=un,this.locale=n,this.caseSensitive=t,this.diacriticSensitive=e};Fn.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var n=t[1];if("object"!=typeof n||Array.isArray(n))return e.error("Collator options argument must be an object.");var l=e.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,rn);if(!l)return null;var i=e.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,rn);if(!i)return null;var r=null;return n.locale&&!(r=e.parse(n.locale,1,ln))?null:new Fn(l,i,r)},Fn.prototype.evaluate=function(t){return new _n(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},Fn.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},Fn.prototype.outputDefined=function(){return!1},Fn.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};var Nn=Yn;function Yn(t,e,n,l){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(l-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=l,this.p2x=n,this.p2y=l}Yn.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},Yn.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},Yn.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},Yn.prototype.solveCurveX=function(t,e){var n,l,i,r,o;for(void 0===e&&(e=1e-6),i=t,o=0;o<8;o++){if(r=this.sampleCurveX(i)-t,Math.abs(r)<e)return i;var a=this.sampleCurveDerivativeX(i);if(Math.abs(a)<1e-6)break;i-=r/a}if((i=t)<(n=0))return n;if(i>(l=1))return l;for(;n<l;){if(r=this.sampleCurveX(i),Math.abs(r-t)<e)return i;t>r?n=i:l=i,i=.5*(l-n)+n}return i},Yn.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var Un=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};Un.prototype.setNorthEast=function(t){return this._ne=t instanceof Bn?new Bn(t.lng,t.lat):Bn.convert(t),this},Un.prototype.setSouthWest=function(t){return this._sw=t instanceof Bn?new Bn(t.lng,t.lat):Bn.convert(t),this},Un.prototype.extend=function(t){var e,n,l=this._sw,i=this._ne;if(t instanceof Bn)e=t,n=t;else{if(!(t instanceof Un))return Array.isArray(t)?4===t.length||t.every(Array.isArray)?this.extend(Un.convert(t)):this.extend(Bn.convert(t)):this;if(n=t._ne,!(e=t._sw)||!n)return this}return l||i?(l.lng=Math.min(e.lng,l.lng),l.lat=Math.min(e.lat,l.lat),i.lng=Math.max(n.lng,i.lng),i.lat=Math.max(n.lat,i.lat)):(this._sw=new Bn(e.lng,e.lat),this._ne=new Bn(n.lng,n.lat)),this},Un.prototype.getCenter=function(){return new Bn((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Un.prototype.getSouthWest=function(){return this._sw},Un.prototype.getNorthEast=function(){return this._ne},Un.prototype.getNorthWest=function(){return new Bn(this.getWest(),this.getNorth())},Un.prototype.getSouthEast=function(){return new Bn(this.getEast(),this.getSouth())},Un.prototype.getWest=function(){return this._sw.lng},Un.prototype.getSouth=function(){return this._sw.lat},Un.prototype.getEast=function(){return this._ne.lng},Un.prototype.getNorth=function(){return this._ne.lat},Un.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Un.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Un.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Un.prototype.contains=function(t){var e=Bn.convert(t),n=e.lng,l=e.lat,i=this._sw.lng<=n&&n<=this._ne.lng;return this._sw.lng>this._ne.lng&&(i=this._sw.lng>=n&&n>=this._ne.lng),this._sw.lat<=l&&l<=this._ne.lat&&i},Un.convert=function(t){return!t||t instanceof Un?t:new Un(t)};var Bn=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Bn.prototype.wrap=function(){return new Bn(-180==(t=((this.lng- -180)%360+360)%360-180)?180:t,this.lat);var t},Bn.prototype.toArray=function(){return[this.lng,this.lat]},Bn.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Bn.prototype.distanceTo=function(t){var e=Math.PI/180,n=this.lat*e,l=t.lat*e,i=Math.sin(n)*Math.sin(l)+Math.cos(n)*Math.cos(l)*Math.cos((t.lng-this.lng)*e);return 6371008.8*Math.acos(Math.min(i,1))},Bn.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return new Un(new Bn(this.lng-n,this.lat-e),new Bn(this.lng+n,this.lat+e))},Bn.convert=function(t){if(t instanceof Bn)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Bn(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new Bn(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var zn=2*Math.PI*6371008.8;function Gn(t){return zn*Math.cos(t*Math.PI/180)}function Hn(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}var Vn=function(t,e,n){void 0===n&&(n=0),this.x=+t,this.y=+e,this.z=+n};function qn(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1])}function Wn(t,e){return!(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function $n(t,e){var n=Vn.fromLngLat({lng:t[0],lat:t[1]},0),l=Math.pow(2,e.z);return[Math.round(n.x*l*8192),Math.round(n.y*l*8192)]}function Xn(t,e,n){return e[1]>t[1]!=n[1]>t[1]&&t[0]<(n[0]-e[0])*(t[1]-e[1])/(n[1]-e[1])+e[0]}function Kn(t,e){for(var n,l,i,r,o,a,s,u=!1,c=0,d=e.length;c<d;c++)for(var h=e[c],p=0,f=h.length;p<f-1;p++){if((r=(n=t)[0]-(l=h[p])[0])*(s=n[1]-(i=h[p+1])[1])-(a=n[0]-i[0])*(o=n[1]-l[1])==0&&r*a<=0&&o*s<=0)return!1;Xn(t,h[p],h[p+1])&&(u=!u)}return u}function Jn(t,e){for(var n=0;n<e.length;n++)if(Kn(t,e[n]))return!0;return!1}function Qn(t,e,n,l){var i=l[0]-n[0],r=l[1]-n[1];return((t[0]-n[0])*r-i*(t[1]-n[1]))*((e[0]-n[0])*r-i*(e[1]-n[1]))<0}function Zn(t,e,n){for(var l=0,i=n;l<i.length;l+=1)for(var r=i[l],o=0;o<r.length-1;++o)if(0!=(d=[(c=r[o+1])[0]-(u=r[o])[0],c[1]-u[1]])[0]*(h=[(s=e)[0]-(a=t)[0],s[1]-a[1]])[1]-d[1]*h[0]&&Qn(a,s,u,c)&&Qn(u,c,a,s))return!0;var a,s,u,c,d,h;return!1}function tl(t,e){for(var n=0;n<t.length;++n)if(!Kn(t[n],e))return!1;for(var l=0;l<t.length-1;++l)if(Zn(t[l],t[l+1],e))return!1;return!0}function el(t,e){for(var n=0;n<e.length;n++)if(tl(t,e[n]))return!0;return!1}function nl(t,e,n){for(var l=[],i=0;i<t.length;i++){for(var r=[],o=0;o<t[i].length;o++){var a=$n(t[i][o],n);qn(e,a),r.push(a)}l.push(r)}return l}function ll(t,e,n){for(var l=[],i=0;i<t.length;i++){var r=nl(t[i],e,n);l.push(r)}return l}Vn.fromLngLat=function(t,e){void 0===e&&(e=0);var n=Bn.convert(t);return new Vn((180+n.lng)/360,(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+n.lat*Math.PI/360)))/360,function(t,e){return t/Gn(e)}(e,n.lat))},Vn.prototype.toLngLat=function(){return new Bn(360*this.x-180,Hn(this.y))},Vn.prototype.toAltitude=function(){return this.z*Gn(Hn(this.y))},Vn.prototype.meterInMercatorCoordinateUnits=function(){return 1/zn*(t=Hn(this.y),1/Math.cos(t*Math.PI/180));var t};var il=function(t,e){this.type=rn,this.geojson=t,this.geometries=e};function rl(t){if(t instanceof Rn){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}if(t instanceof il)return!1;var e=!0;return t.eachChild((function(t){e&&!rl(t)&&(e=!1)})),e}function ol(t){if(t instanceof Rn&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!ol(t)&&(e=!1)})),e}function al(t,e){if(t instanceof Rn&&e.indexOf(t.name)>=0)return!1;var n=!0;return t.eachChild((function(t){n&&!al(t,e)&&(n=!1)})),n}il.parse=function(t,e){if(2!==t.length)return e.error("'within' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(wn(t[1])){var n=t[1];if("FeatureCollection"===n.type)for(var l=0;l<n.features.length;++l){var i=n.features[l].geometry.type;if("Polygon"===i||"MultiPolygon"===i)return new il(n,n.features[l].geometry)}else if("Feature"===n.type){var r=n.geometry.type;if("Polygon"===r||"MultiPolygon"===r)return new il(n,n.geometry)}else if("Polygon"===n.type||"MultiPolygon"===n.type)return new il(n,n)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")},il.prototype.evaluate=function(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){for(var n=[1/0,1/0,-1/0,-1/0],l=[1/0,1/0,-1/0,-1/0],i=t.canonicalID(),r=[8192*i.x,8192*i.y],o=[],a=0,s=t.geometry();a<s.length;a+=1)for(var u=0,c=s[a];u<c.length;u+=1){var d=c[u],h=[d.x+r[0],d.y+r[1]];qn(n,h),o.push(h)}if("Polygon"===e.type){var p=nl(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var f=0,b=o;f<b.length;f+=1)if(!Kn(b[f],p))return!1}if("MultiPolygon"===e.type){var m=ll(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var g=0,_=o;g<_.length;g+=1)if(!Jn(_[g],m))return!1}return!0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){for(var n=[1/0,1/0,-1/0,-1/0],l=[1/0,1/0,-1/0,-1/0],i=t.canonicalID(),r=[8192*i.x,8192*i.y],o=[],a=0,s=t.geometry();a<s.length;a+=1){for(var u=[],c=0,d=s[a];c<d.length;c+=1){var h=d[c],p=[h.x+r[0],h.y+r[1]];qn(n,p),u.push(p)}o.push(u)}if("Polygon"===e.type){var f=nl(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var b=0,m=o;b<m.length;b+=1)if(!tl(m[b],f))return!1}if("MultiPolygon"===e.type){var g=ll(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var _=0,y=o;_<y.length;_+=1)if(!el(y[_],g))return!1}return!0}(t,this.geometries)}return!1},il.prototype.eachChild=function(){},il.prototype.outputDefined=function(){return!0},il.prototype.serialize=function(){return["within",this.geojson]};var sl=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};sl.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var n=t[1];return e.scope.has(n)?new sl(n,e.scope.get(n)):e.error('Unknown variable "'+n+'". Make sure "'+n+'" has been bound in an enclosing "let" expression before using it.',1)},sl.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},sl.prototype.eachChild=function(){},sl.prototype.outputDefined=function(){return!1},sl.prototype.serialize=function(){return["var",this.name]};var ul=function(t,e,n,l,i){void 0===e&&(e=[]),void 0===l&&(l=new tn),void 0===i&&(i=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return"["+t+"]"})).join(""),this.scope=l,this.errors=i,this.expectedType=n};function cl(t,e){for(var n,l=t.length-1,i=0,r=l,o=0;i<=r;)if((n=t[o=Math.floor((i+r)/2)])<=e){if(o===l||e<t[o+1])return o;i=o+1}else{if(!(n>e))throw new kn("Input is not a number.");r=o-1}return 0}ul.prototype.parse=function(t,e,n,l,i){return void 0===i&&(i={}),e?this.concat(e,n,l)._parse(t,i):this._parse(t,i)},ul.prototype._parse=function(t,e){function n(t,e,n){return"assert"===n?new On(e,[t]):"coerce"===n?new In(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var l=t[0];if("string"!=typeof l)return this.error("Expression name must be a string, but found "+typeof l+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var i=this.registry[l];if(i){var r=i.parse(t,this);if(!r)return null;if(this.expectedType){var o=this.expectedType,a=r.type;if("string"!==o.kind&&"number"!==o.kind&&"boolean"!==o.kind&&"object"!==o.kind&&"array"!==o.kind||"value"!==a.kind)if("color"!==o.kind&&"formatted"!==o.kind&&"resolvedImage"!==o.kind||"value"!==a.kind&&"string"!==a.kind){if(this.checkSubtype(o,a))return null}else r=n(r,o,e.typeAnnotation||"coerce");else r=n(r,o,e.typeAnnotation||"assert")}if(!(r instanceof Sn)&&"resolvedImage"!==r.type.kind&&function t(e){if(e instanceof sl)return t(e.boundExpression);if(e instanceof Rn&&"error"===e.name)return!1;if(e instanceof Fn)return!1;if(e instanceof il)return!1;var n=e instanceof In||e instanceof On,l=!0;return e.eachChild((function(e){l=n?l&&t(e):l&&e instanceof Sn})),!!l&&rl(e)&&al(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(r)){var s=new jn;try{r=new Sn(r.type,r.evaluate(s))}catch(u){return this.error(u.message),null}}return r}return this.error('Unknown expression "'+l+'". If you wanted a literal array, use ["literal", [...]].',0)}return this.error(void 0===t?"'undefined' value invalid. Use null instead.":"object"==typeof t?'Bare objects invalid. Use ["literal", {...}] instead.':"Expected an array, but found "+typeof t+" instead.")},ul.prototype.concat=function(t,e,n){var l="number"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new ul(this.registry,l,e||null,i,this.errors)},ul.prototype.error=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var l=""+this.key+e.map((function(t){return"["+t+"]"})).join("");this.errors.push(new Ze(l,t))},ul.prototype.checkSubtype=function(t,e){var n=bn(t,e);return n&&this.error(n),n};var dl=function(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var l=0,i=n;l<i.length;l+=1){var r=i[l],o=r[1];this.labels.push(r[0]),this.outputs.push(o)}};function hl(t,e,n){return t*(1-n)+e*n}dl.parse=function(t,e){if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");var n=e.parse(t[1],1,nn);if(!n)return null;var l=[],i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var r=1;r<t.length;r+=2){var o=1===r?-1/0:t[r],a=t[r+1],s=r,u=r+1;if("number"!=typeof o)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',s);if(l.length&&l[l.length-1][0]>=o)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);var c=e.parse(a,u,i);if(!c)return null;i=i||c.type,l.push([o,c])}return new dl(i,n,l)},dl.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var l=this.input.evaluate(t);if(l<=e[0])return n[0].evaluate(t);var i=e.length;return l>=e[i-1]?n[i-1].evaluate(t):n[cl(e,l)].evaluate(t)},dl.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e<n.length;e+=1)t(n[e])},dl.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},dl.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var pl=Object.freeze({__proto__:null,number:hl,color:function(t,e,n){return new gn(hl(t.r,e.r,n),hl(t.g,e.g,n),hl(t.b,e.b,n),hl(t.a,e.a,n))},array:function(t,e,n){return t.map((function(t,l){return hl(t,e[l],n)}))}}),fl=6/29*3*(6/29),bl=Math.PI/180,ml=180/Math.PI;function gl(t){return t>.008856451679035631?Math.pow(t,1/3):t/fl+4/29}function _l(t){return t>6/29?t*t*t:fl*(t-4/29)}function yl(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Al(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function vl(t){var e=Al(t.r),n=Al(t.g),l=Al(t.b),i=gl((.4124564*e+.3575761*n+.1804375*l)/.95047),r=gl((.2126729*e+.7151522*n+.072175*l)/1);return{l:116*r-16,a:500*(i-r),b:200*(r-gl((.0193339*e+.119192*n+.9503041*l)/1.08883)),alpha:t.a}}function Cl(t){var e=(t.l+16)/116,n=isNaN(t.a)?e:e+t.a/500,l=isNaN(t.b)?e:e-t.b/200;return e=1*_l(e),n=.95047*_l(n),l=1.08883*_l(l),new gn(yl(3.2404542*n-1.5371385*e-.4985314*l),yl(-.969266*n+1.8760108*e+.041556*l),yl(.0556434*n-.2040259*e+1.0572252*l),t.alpha)}function wl(t,e,n){var l=e-t;return t+n*(l>180||l<-180?l-360*Math.round(l/360):l)}var Pl={forward:vl,reverse:Cl,interpolate:function(t,e,n){return{l:hl(t.l,e.l,n),a:hl(t.a,e.a,n),b:hl(t.b,e.b,n),alpha:hl(t.alpha,e.alpha,n)}}},xl={forward:function(t){var e=vl(t),n=e.l,l=e.a,i=e.b,r=Math.atan2(i,l)*ml;return{h:r<0?r+360:r,c:Math.sqrt(l*l+i*i),l:n,alpha:t.a}},reverse:function(t){var e=t.h*bl,n=t.c;return Cl({l:t.l,a:Math.cos(e)*n,b:Math.sin(e)*n,alpha:t.alpha})},interpolate:function(t,e,n){return{h:wl(t.h,e.h,n),c:hl(t.c,e.c,n),l:hl(t.l,e.l,n),alpha:hl(t.alpha,e.alpha,n)}}},Sl=Object.freeze({__proto__:null,lab:Pl,hcl:xl}),kl=function(t,e,n,l,i){this.type=t,this.operator=e,this.interpolation=n,this.input=l,this.labels=[],this.outputs=[];for(var r=0,o=i;r<o.length;r+=1){var a=o[r],s=a[1];this.labels.push(a[0]),this.outputs.push(s)}};function Ml(t,e,n,l){var i=l-n,r=t-n;return 0===i?0:1===e?r/i:(Math.pow(e,r)-1)/(Math.pow(e,i)-1)}kl.interpolationFactor=function(t,e,n,l){var i=0;if("exponential"===t.name)i=Ml(e,t.base,n,l);else if("linear"===t.name)i=Ml(e,1,n,l);else if("cubic-bezier"===t.name){var r=t.controlPoints;i=new Nn(r[0],r[1],r[2],r[3]).solve(Ml(e,1,n,l))}return i},kl.parse=function(t,e){var n=t[0],l=t[1],i=t[2],r=t.slice(3);if(!Array.isArray(l)||0===l.length)return e.error("Expected an interpolation type expression.",1);if("linear"===l[0])l={name:"linear"};else if("exponential"===l[0]){var o=l[1];if("number"!=typeof o)return e.error("Exponential interpolation requires a numeric base.",1,1);l={name:"exponential",base:o}}else{if("cubic-bezier"!==l[0])return e.error("Unknown interpolation type "+String(l[0]),1,0);var a=l.slice(1);if(4!==a.length||a.some((function(t){return"number"!=typeof t||t<0||t>1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);l={name:"cubic-bezier",controlPoints:a}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(i=e.parse(i,2,nn)))return null;var s=[],u=null;"interpolate-hcl"===n||"interpolate-lab"===n?u=on:e.expectedType&&"value"!==e.expectedType.kind&&(u=e.expectedType);for(var c=0;c<r.length;c+=2){var d=r[c],h=r[c+1],p=c+3,f=c+4;if("number"!=typeof d)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',p);if(s.length&&s[s.length-1][0]>=d)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',p);var b=e.parse(h,f,u);if(!b)return null;u=u||b.type,s.push([d,b])}return"number"===u.kind||"color"===u.kind||"array"===u.kind&&"number"===u.itemType.kind&&"number"==typeof u.N?new kl(u,n,l,i,s):e.error("Type "+pn(u)+" is not interpolatable.")},kl.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var l=this.input.evaluate(t);if(l<=e[0])return n[0].evaluate(t);var i=e.length;if(l>=e[i-1])return n[i-1].evaluate(t);var r=cl(e,l),o=kl.interpolationFactor(this.interpolation,l,e[r],e[r+1]),a=n[r].evaluate(t),s=n[r+1].evaluate(t);return"interpolate"===this.operator?pl[this.type.kind.toLowerCase()](a,s,o):"interpolate-hcl"===this.operator?xl.reverse(xl.interpolate(xl.forward(a),xl.forward(s),o)):Pl.reverse(Pl.interpolate(Pl.forward(a),Pl.forward(s),o))},kl.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e<n.length;e+=1)t(n[e])},kl.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},kl.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],n=0;n<this.labels.length;n++)e.push(this.labels[n],this.outputs[n].serialize());return e};var Ol=function(t,e){this.type=t,this.args=e};Ol.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var n=null,l=e.expectedType;l&&"value"!==l.kind&&(n=l);for(var i=[],r=0,o=t.slice(1);r<o.length;r+=1){var a=e.parse(o[r],1+i.length,n,void 0,{typeAnnotation:"omit"});if(!a)return null;n=n||a.type,i.push(a)}var s=l&&i.some((function(t){return bn(l,t.type)}));return new Ol(s?sn:n,i)},Ol.prototype.evaluate=function(t){for(var e,n=null,l=0,i=0,r=this.args;i<r.length&&(l++,(n=r[i].evaluate(t))&&n instanceof vn&&!n.available&&(e||(e=n.name),n=null,l===this.args.length&&(n=e)),null===n);i+=1);return n},Ol.prototype.eachChild=function(t){this.args.forEach(t)},Ol.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},Ol.prototype.serialize=function(){var t=["coalesce"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Dl=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};Dl.prototype.evaluate=function(t){return this.result.evaluate(t)},Dl.prototype.eachChild=function(t){for(var e=0,n=this.bindings;e<n.length;e+=1)t(n[e][1]);t(this.result)},Dl.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var n=[],l=1;l<t.length-1;l+=2){var i=t[l];if("string"!=typeof i)return e.error("Expected string, but found "+typeof i+" instead.",l);if(/[^a-zA-Z0-9_]/.test(i))return e.error("Variable names must contain only alphanumeric characters or '_'.",l);var r=e.parse(t[l+1],l+1);if(!r)return null;n.push([i,r])}var o=e.parse(t[t.length-1],t.length-1,e.expectedType,n);return o?new Dl(n,o):null},Dl.prototype.outputDefined=function(){return this.result.outputDefined()},Dl.prototype.serialize=function(){for(var t=["let"],e=0,n=this.bindings;e<n.length;e+=1){var l=n[e];t.push(l[0],l[1].serialize())}return t.push(this.result.serialize()),t};var Tl=function(t,e,n){this.type=t,this.index=e,this.input=n};Tl.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1,nn),l=e.parse(t[2],2,hn(e.expectedType||sn));return n&&l?new Tl(l.type.itemType,n,l):null},Tl.prototype.evaluate=function(t){var e=this.index.evaluate(t),n=this.input.evaluate(t);if(e<0)throw new kn("Array index out of bounds: "+e+" < 0.");if(e>=n.length)throw new kn("Array index out of bounds: "+e+" > "+(n.length-1)+".");if(e!==Math.floor(e))throw new kn("Array index must be an integer, but found "+e+" instead.");return n[e]},Tl.prototype.eachChild=function(t){t(this.index),t(this.input)},Tl.prototype.outputDefined=function(){return!1},Tl.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var El=function(t,e){this.type=rn,this.needle=t,this.haystack=e};El.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var n,l=e.parse(t[1],1,sn),i=e.parse(t[2],2,sn);return l&&i?"boolean"!==(n=l.type).kind&&"string"!==n.kind&&"number"!==n.kind&&"null"!==n.kind&&"value"!==n.kind?e.error("Expected first argument to be of type boolean, string, number or null, but found "+pn(l.type)+" instead"):new El(l,i):null},El.prototype.evaluate=function(t){var e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(null==e||!n)return!1;if(!function(t){return"boolean"==typeof t||"string"==typeof t||"number"==typeof t}(e))throw new kn("Expected first argument to be of type boolean, string or number, but found "+pn(Pn(e))+" instead.");if(!function(t){return Array.isArray(t)||"string"==typeof t}(n))throw new kn("Expected second argument to be of type array or string, but found "+pn(Pn(n))+" instead.");return n.indexOf(e)>=0},El.prototype.eachChild=function(t){t(this.needle),t(this.haystack)},El.prototype.outputDefined=function(){return!0},El.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Il=function(t,e,n,l,i,r){this.inputType=t,this.type=e,this.input=n,this.cases=l,this.outputs=i,this.otherwise=r};Il.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var n,l;e.expectedType&&"value"!==e.expectedType.kind&&(l=e.expectedType);for(var i={},r=[],o=2;o<t.length-1;o+=2){var a=t[o],s=t[o+1];Array.isArray(a)||(a=[a]);var u=e.concat(o);if(0===a.length)return u.error("Expected at least one branch label.");for(var c=0,d=a;c<d.length;c+=1){var h=d[c];if("number"!=typeof h&&"string"!=typeof h)return u.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return u.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return u.error("Numeric branch labels must be integer values.");if(n){if(u.checkSubtype(n,Pn(h)))return null}else n=Pn(h);if(void 0!==i[String(h)])return u.error("Branch labels must be unique.");i[String(h)]=r.length}var p=e.parse(s,o,l);if(!p)return null;l=l||p.type,r.push(p)}var f=e.parse(t[1],1,sn);if(!f)return null;var b=e.parse(t[t.length-1],t.length-1,l);return b?"value"!==f.type.kind&&e.concat(1).checkSubtype(n,f.type)?null:new Il(n,l,f,i,r,b):null},Il.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(Pn(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},Il.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},Il.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))&&this.otherwise.outputDefined()},Il.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],n=[],l={},i=0,r=Object.keys(this.cases).sort();i<r.length;i+=1){var o=r[i];void 0===(d=l[this.cases[o]])?(l[this.cases[o]]=n.length,n.push([this.cases[o],[o]])):n[d][1].push(o)}for(var a=function(e){return"number"===t.inputType.kind?Number(e):e},s=0,u=n;s<u.length;s+=1){var c=u[s],d=c[0],h=c[1];e.push(1===h.length?a(h[0]):h.map(a)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var Ll=function(t,e,n){this.type=t,this.branches=e,this.otherwise=n};function jl(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function Rl(t,e,n,l){return 0===l.compare(e,n)}function Fl(t,e,n){var l="=="!==t&&"!="!==t;return function(){function i(t,e,n){this.type=rn,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}return i.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var n=t[0],r=e.parse(t[1],1,sn);if(!r)return null;if(!jl(n,r.type))return e.concat(1).error('"'+n+"\" comparisons are not supported for type '"+pn(r.type)+"'.");var o=e.parse(t[2],2,sn);if(!o)return null;if(!jl(n,o.type))return e.concat(2).error('"'+n+"\" comparisons are not supported for type '"+pn(o.type)+"'.");if(r.type.kind!==o.type.kind&&"value"!==r.type.kind&&"value"!==o.type.kind)return e.error("Cannot compare types '"+pn(r.type)+"' and '"+pn(o.type)+"'.");l&&("value"===r.type.kind&&"value"!==o.type.kind?r=new On(o.type,[r]):"value"!==r.type.kind&&"value"===o.type.kind&&(o=new On(r.type,[o])));var a=null;if(4===t.length){if("string"!==r.type.kind&&"string"!==o.type.kind&&"value"!==r.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(a=e.parse(t[3],3,un)))return null}return new i(r,o,a)},i.prototype.evaluate=function(i){var r=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(l&&this.hasUntypedArgument){var a=Pn(r),s=Pn(o);if(a.kind!==s.kind||"string"!==a.kind&&"number"!==a.kind)throw new kn('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+a.kind+", "+s.kind+") instead.")}if(this.collator&&!l&&this.hasUntypedArgument){var u=Pn(r),c=Pn(o);if("string"!==u.kind||"string"!==c.kind)return e(i,r,o)}return this.collator?n(i,r,o,this.collator.evaluate(i)):e(i,r,o)},i.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},i.prototype.outputDefined=function(){return!0},i.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize())})),e},i}()}Ll.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);for(var l=[],i=1;i<t.length-1;i+=2){var r=e.parse(t[i],i,rn);if(!r)return null;var o=e.parse(t[i+1],i+1,n);if(!o)return null;l.push([r,o]),n=n||o.type}var a=e.parse(t[t.length-1],t.length-1,n);return a?new Ll(n,l,a):null},Ll.prototype.evaluate=function(t){for(var e=0,n=this.branches;e<n.length;e+=1){var l=n[e],i=l[1];if(l[0].evaluate(t))return i.evaluate(t)}return this.otherwise.evaluate(t)},Ll.prototype.eachChild=function(t){for(var e=0,n=this.branches;e<n.length;e+=1){var l=n[e],i=l[1];t(l[0]),t(i)}t(this.otherwise)},Ll.prototype.outputDefined=function(){return this.branches.every((function(t){return t[1].outputDefined()}))&&this.otherwise.outputDefined()},Ll.prototype.serialize=function(){var t=["case"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Nl=Fl("==",(function(t,e,n){return e===n}),Rl),Yl=Fl("!=",(function(t,e,n){return e!==n}),(function(t,e,n,l){return!Rl(0,e,n,l)})),Ul=Fl("<",(function(t,e,n){return e<n}),(function(t,e,n,l){return l.compare(e,n)<0})),Bl=Fl(">",(function(t,e,n){return e>n}),(function(t,e,n,l){return l.compare(e,n)>0})),zl=Fl("<=",(function(t,e,n){return e<=n}),(function(t,e,n,l){return l.compare(e,n)<=0})),Gl=Fl(">=",(function(t,e,n){return e>=n}),(function(t,e,n,l){return l.compare(e,n)>=0})),Hl=function(t,e,n,l,i){this.type=ln,this.number=t,this.locale=e,this.currency=n,this.minFractionDigits=l,this.maxFractionDigits=i};Hl.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var n=e.parse(t[1],1,nn);if(!n)return null;var l=t[2];if("object"!=typeof l||Array.isArray(l))return e.error("NumberFormat options argument must be an object.");var i=null;if(l.locale&&!(i=e.parse(l.locale,1,ln)))return null;var r=null;if(l.currency&&!(r=e.parse(l.currency,1,ln)))return null;var o=null;if(l["min-fraction-digits"]&&!(o=e.parse(l["min-fraction-digits"],1,nn)))return null;var a=null;return l["max-fraction-digits"]&&!(a=e.parse(l["max-fraction-digits"],1,nn))?null:new Hl(n,i,r,o,a)},Hl.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},Hl.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},Hl.prototype.outputDefined=function(){return!1},Hl.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var Vl=function(t){this.type=nn,this.input=t};Vl.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error("Expected argument of type string or array, but found "+pn(n.type)+" instead."):new Vl(n):null},Vl.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new kn("Expected value to be of type string or array, but found "+pn(Pn(e))+" instead.")},Vl.prototype.eachChild=function(t){t(this.input)},Vl.prototype.outputDefined=function(){return!1},Vl.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize())})),t};var ql={"==":Nl,"!=":Yl,">":Bl,"<":Ul,">=":Gl,"<=":zl,array:On,at:Tl,boolean:On,case:Ll,coalesce:Ol,collator:Fn,format:Dn,image:Tn,in:El,interpolate:kl,"interpolate-hcl":kl,"interpolate-lab":kl,length:Vl,let:Dl,literal:Sn,match:Il,number:On,"number-format":Hl,object:On,step:dl,string:On,"to-boolean":In,"to-color":In,"to-number":In,"to-string":In,var:sl,within:il};function Wl(t,e){var n=e[0],l=e[1],i=e[2],r=e[3];n=n.evaluate(t),l=l.evaluate(t),i=i.evaluate(t);var o=r?r.evaluate(t):1,a=Cn(n,l,i,o);if(a)throw new kn(a);return new gn(n/255*o,l/255*o,i/255*o,o)}function $l(t,e){return t in e}function Xl(t,e){var n=e[t];return void 0===n?null:n}function Kl(t){return{type:t}}function Jl(t){return{result:"success",value:t}}function Ql(t){return{result:"error",value:t}}function Zl(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function ti(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function ei(t){return!!t.expression&&t.expression.interpolated}function ni(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function li(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function ii(t){return t}function ri(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function oi(t,e,n,l,i){return ri(typeof n===i?l[n]:void 0,t.default,e.default)}function ai(t,e,n){if("number"!==ni(n))return ri(t.default,e.default);var l=t.stops.length;if(1===l)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[l-1][0])return t.stops[l-1][1];var i=cl(t.stops.map((function(t){return t[0]})),n);return t.stops[i][1]}function si(t,e,n){var l=void 0!==t.base?t.base:1;if("number"!==ni(n))return ri(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];var r=cl(t.stops.map((function(t){return t[0]})),n),o=function(t,e,n,l){var i=l-n,r=t-n;return 0===i?0:1===e?r/i:(Math.pow(e,r)-1)/(Math.pow(e,i)-1)}(n,l,t.stops[r][0],t.stops[r+1][0]),a=t.stops[r][1],s=t.stops[r+1][1],u=pl[e.type]||ii;if(t.colorSpace&&"rgb"!==t.colorSpace){var c=Sl[t.colorSpace];u=function(t,e){return c.reverse(c.interpolate(c.forward(t),c.forward(e),o))}}return"function"==typeof a.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=a.evaluate.apply(void 0,t),l=s.evaluate.apply(void 0,t);if(void 0!==n&&void 0!==l)return u(n,l,o)}}:u(a,s,o)}function ui(t,e,n){return"color"===e.type?n=gn.parse(n):"formatted"===e.type?n=An.fromString(n.toString()):"resolvedImage"===e.type?n=vn.fromString(n.toString()):ni(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0),ri(n,t.default,e.default)}Rn.register(ql,{error:[{kind:"error"},[ln],function(t,e){throw new kn(e[0].evaluate(t))}],typeof:[ln,[sn],function(t,e){return pn(Pn(e[0].evaluate(t)))}],"to-rgba":[hn(nn,4),[on],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[on,[nn,nn,nn],Wl],rgba:[on,[nn,nn,nn,nn],Wl],has:{type:rn,overloads:[[[ln],function(t,e){return $l(e[0].evaluate(t),t.properties())}],[[ln,an],function(t,e){var n=e[1];return $l(e[0].evaluate(t),n.evaluate(t))}]]},get:{type:sn,overloads:[[[ln],function(t,e){return Xl(e[0].evaluate(t),t.properties())}],[[ln,an],function(t,e){var n=e[1];return Xl(e[0].evaluate(t),n.evaluate(t))}]]},"feature-state":[sn,[ln],function(t,e){return Xl(e[0].evaluate(t),t.featureState||{})}],properties:[an,[],function(t){return t.properties()}],"geometry-type":[ln,[],function(t){return t.geometryType()}],id:[sn,[],function(t){return t.id()}],zoom:[nn,[],function(t){return t.globals.zoom}],"heatmap-density":[nn,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[nn,[],function(t){return t.globals.lineProgress||0}],accumulated:[sn,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[nn,Kl(nn),function(t,e){for(var n=0,l=0,i=e;l<i.length;l+=1)n+=i[l].evaluate(t);return n}],"*":[nn,Kl(nn),function(t,e){for(var n=1,l=0,i=e;l<i.length;l+=1)n*=i[l].evaluate(t);return n}],"-":{type:nn,overloads:[[[nn,nn],function(t,e){var n=e[1];return e[0].evaluate(t)-n.evaluate(t)}],[[nn],function(t,e){return-e[0].evaluate(t)}]]},"/":[nn,[nn,nn],function(t,e){var n=e[1];return e[0].evaluate(t)/n.evaluate(t)}],"%":[nn,[nn,nn],function(t,e){var n=e[1];return e[0].evaluate(t)%n.evaluate(t)}],ln2:[nn,[],function(){return Math.LN2}],pi:[nn,[],function(){return Math.PI}],e:[nn,[],function(){return Math.E}],"^":[nn,[nn,nn],function(t,e){var n=e[1];return Math.pow(e[0].evaluate(t),n.evaluate(t))}],sqrt:[nn,[nn],function(t,e){return Math.sqrt(e[0].evaluate(t))}],log10:[nn,[nn],function(t,e){return Math.log(e[0].evaluate(t))/Math.LN10}],ln:[nn,[nn],function(t,e){return Math.log(e[0].evaluate(t))}],log2:[nn,[nn],function(t,e){return Math.log(e[0].evaluate(t))/Math.LN2}],sin:[nn,[nn],function(t,e){return Math.sin(e[0].evaluate(t))}],cos:[nn,[nn],function(t,e){return Math.cos(e[0].evaluate(t))}],tan:[nn,[nn],function(t,e){return Math.tan(e[0].evaluate(t))}],asin:[nn,[nn],function(t,e){return Math.asin(e[0].evaluate(t))}],acos:[nn,[nn],function(t,e){return Math.acos(e[0].evaluate(t))}],atan:[nn,[nn],function(t,e){return Math.atan(e[0].evaluate(t))}],min:[nn,Kl(nn),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[nn,Kl(nn),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[nn,[nn],function(t,e){return Math.abs(e[0].evaluate(t))}],round:[nn,[nn],function(t,e){var n=e[0].evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[nn,[nn],function(t,e){return Math.floor(e[0].evaluate(t))}],ceil:[nn,[nn],function(t,e){return Math.ceil(e[0].evaluate(t))}],"filter-==":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1];return t.properties()[n.value]===l.value}],"filter-id-==":[rn,[sn],function(t,e){var n=e[0];return t.id()===n.value}],"filter-type-==":[rn,[ln],function(t,e){var n=e[0];return t.geometryType()===n.value}],"filter-<":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i<r}],"filter-id-<":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l<i}],"filter->":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i>r}],"filter-id->":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l>i}],"filter-<=":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i<=r}],"filter-id-<=":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l<=i}],"filter->=":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i>=r}],"filter-id->=":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l>=i}],"filter-has":[rn,[sn],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[rn,[],function(t){return null!==t.id()&&void 0!==t.id()}],"filter-type-in":[rn,[hn(ln)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[rn,[hn(sn)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[rn,[ln,hn(sn)],function(t,e){var n=e[0];return e[1].value.indexOf(t.properties()[n.value])>=0}],"filter-in-large":[rn,[ln,hn(sn)],function(t,e){var n=e[0],l=e[1];return function(t,e,n,l){for(;n<=l;){var i=n+l>>1;if(e[i]===t)return!0;e[i]>t?l=i-1:n=i+1}return!1}(t.properties()[n.value],l.value,0,l.value.length-1)}],all:{type:rn,overloads:[[[rn,rn],function(t,e){var n=e[1];return e[0].evaluate(t)&&n.evaluate(t)}],[Kl(rn),function(t,e){for(var n=0,l=e;n<l.length;n+=1)if(!l[n].evaluate(t))return!1;return!0}]]},any:{type:rn,overloads:[[[rn,rn],function(t,e){var n=e[1];return e[0].evaluate(t)||n.evaluate(t)}],[Kl(rn),function(t,e){for(var n=0,l=e;n<l.length;n+=1)if(l[n].evaluate(t))return!0;return!1}]]},"!":[rn,[rn],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[rn,[ln],function(t,e){var n=t.globals&&t.globals.isSupportedScript;return!n||n(e[0].evaluate(t))}],upcase:[ln,[ln],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[ln,[ln],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[ln,Kl(sn),function(t,e){return e.map((function(e){return xn(e.evaluate(t))})).join("")}],"resolved-locale":[ln,[un],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var ci=function(t,e){var n;this.expression=t,this._warningHistory={},this._evaluator=new jn,this._defaultValue=e?"color"===(n=e).type&&li(n.default)?new gn(0,0,0,0):"color"===n.type?gn.parse(n.default)||null:void 0===n.default?null:n.default:null,this._enumValues=e&&"enum"===e.type?e.values:null};function di(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in ql}function hi(t,e){var n=new ul(ql,[],e?function(t){var e={color:on,string:ln,number:nn,enum:ln,boolean:rn,formatted:cn,resolvedImage:dn};return"array"===t.type?hn(e[t.value]||sn,t.length):e[t.type]}(e):void 0),l=n.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return l?Jl(new ci(l,e)):Ql(n.errors)}ci.prototype.evaluateWithoutErrorHandling=function(t,e,n,l,i,r){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=l,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=r,this.expression.evaluate(this._evaluator)},ci.prototype.evaluate=function(t,e,n,l,i,r){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=l,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=r||null;try{var o=this.expression.evaluate(this._evaluator);if(null==o||"number"==typeof o&&o!=o)return this._defaultValue;if(this._enumValues&&!(o in this._enumValues))throw new kn("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(o)+" instead.");return o}catch(a){return this._warningHistory[a.message]||(this._warningHistory[a.message]=!0,"undefined"!=typeof console&&console.warn(a.message)),this._defaultValue}};var pi=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!ol(e.expression)};pi.prototype.evaluateWithoutErrorHandling=function(t,e,n,l,i,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,l,i,r)},pi.prototype.evaluate=function(t,e,n,l,i,r){return this._styleExpression.evaluate(t,e,n,l,i,r)};var fi=function(t,e,n,l){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!ol(e.expression),this.interpolationType=l};function bi(t,e){if("error"===(t=hi(t,e)).result)return t;var n=t.value.expression,l=rl(n);if(!l&&!Zl(e))return Ql([new Ze("","data expressions not supported")]);var i=al(n,["zoom"]);if(!i&&!ti(e))return Ql([new Ze("","zoom expressions not supported")]);var r=function t(e){var n=null;if(e instanceof Dl)n=t(e.result);else if(e instanceof Ol)for(var l=0,i=e.args;l<i.length&&!(n=t(i[l]));l+=1);else(e instanceof dl||e instanceof kl)&&e.input instanceof Rn&&"zoom"===e.input.name&&(n=e);return n instanceof Ze||e.eachChild((function(e){var l=t(e);l instanceof Ze?n=l:!n&&l?n=new Ze("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):n&&l&&n!==l&&(n=new Ze("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),n}(n);return r||i?r instanceof Ze?Ql([r]):r instanceof kl&&!ei(e)?Ql([new Ze("",'"interpolate" expressions cannot be used with this property')]):Jl(r?new fi(l?"camera":"composite",t.value,r.labels,r instanceof kl?r.interpolation:void 0):new pi(l?"constant":"source",t.value)):Ql([new Ze("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}fi.prototype.evaluateWithoutErrorHandling=function(t,e,n,l,i,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,l,i,r)},fi.prototype.evaluate=function(t,e,n,l,i,r){return this._styleExpression.evaluate(t,e,n,l,i,r)},fi.prototype.interpolationFactor=function(t,e,n){return this.interpolationType?kl.interpolationFactor(this.interpolationType,t,e,n):0};var mi=function(t,e){this._parameters=t,this._specification=e,Qe(this,function t(e,n){var l,i,r,o="color"===n.type,a=e.stops&&"object"==typeof e.stops[0][0],s=a||!(a||void 0!==e.property),u=e.type||(ei(n)?"exponential":"interval");if(o&&((e=Qe({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],gn.parse(t[1])]}))),e.default=gn.parse(e.default?e.default:n.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Sl[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===u)l=si;else if("interval"===u)l=ai;else if("categorical"===u){l=oi,i=Object.create(null);for(var c=0,d=e.stops;c<d.length;c+=1){var h=d[c];i[h[0]]=h[1]}r=typeof e.stops[0][0]}else{if("identity"!==u)throw new Error('Unknown function type "'+u+'"');l=ui}if(a){for(var p={},f=[],b=0;b<e.stops.length;b++){var m=e.stops[b],g=m[0].zoom;void 0===p[g]&&(p[g]={zoom:g,type:e.type,property:e.property,default:e.default,stops:[]},f.push(g)),p[g].stops.push([m[0].value,m[1]])}for(var _=[],y=0,A=f;y<A.length;y+=1){var v=A[y];_.push([p[v].zoom,t(p[v],n)])}var C={name:"linear"};return{kind:"composite",interpolationType:C,interpolationFactor:kl.interpolationFactor.bind(void 0,C),zoomStops:_.map((function(t){return t[0]})),evaluate:function(t,l){var i=t.zoom;return si({stops:_,base:e.base},n,i).evaluate(i,l)}}}if(s){var w="exponential"===u?{name:"exponential",base:void 0!==e.base?e.base:1}:null;return{kind:"camera",interpolationType:w,interpolationFactor:kl.interpolationFactor.bind(void 0,w),zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){return l(e,n,t.zoom,i,r)}}}return{kind:"source",evaluate:function(t,o){var a=o&&o.properties?o.properties[e.property]:void 0;return void 0===a?ri(e.default,n.default):l(e,n,a,i,r)}}}(this._parameters,this._specification))};function gi(t){return"object"==typeof t?["literal",t]:t}function _i(t){switch(t.colorSpace){case"hcl":return"interpolate-hcl";case"lab":return"interpolate-lab";default:return"interpolate"}}function yi(t,e){return void 0!==t?t:void 0!==e?e:void 0}function Ai(t,e,n){var l=wi(t,e),i=["get",t.property];if("categorical"===l&&"boolean"==typeof n[0][0]){for(var r=["case"],o=0,a=n;o<a.length;o+=1){var s=a[o];r.push(["==",i,s[0]],s[1])}return r.push(gi(yi(t.default,e.default))),r}if("categorical"===l){for(var u=["match",i],c=0,d=n;c<d.length;c+=1){var h=d[c];Ci(u,h[0],h[1],!1)}return u.push(gi(yi(t.default,e.default))),u}if("interval"===l){for(var p=["step",["number",i]],f=0,b=n;f<b.length;f+=1){var m=b[f];Ci(p,m[0],m[1],!0)}return vi(p),void 0===t.default?p:["case",["==",["typeof",i],"number"],p,gi(t.default)]}if("exponential"===l){for(var g=void 0!==t.base?t.base:1,_=[_i(t),1===g?["linear"]:["exponential",g],["number",i]],y=0,A=n;y<A.length;y+=1){var v=A[y];Ci(_,v[0],v[1],!1)}return void 0===t.default?_:["case",["==",["typeof",i],"number"],_,gi(t.default)]}throw new Error("Unknown property function type "+l)}function vi(t){"step"===t[0]&&3===t.length&&(t.push(0),t.push(t[3]))}function Ci(t,e,n,l){t.length>3&&e===t[t.length-2]||(l&&2===t.length||t.push(e),t.push(n))}function wi(t,e){return t.type?t.type:e.expression.interpolated?"exponential":"interval"}function Pi(t){for(var e=["concat"],n=/{([^{}]+)}/g,l=0,i=n.exec(t);null!==i;i=n.exec(t)){var r=t.slice(l,n.lastIndex-i[0].length);l=n.lastIndex,r.length>0&&e.push(r),e.push(["get",i[1]])}if(1===e.length)return t;if(l<t.length)e.push(t.slice(l));else if(2===e.length)return["to-string",e[1]];return e}function xi(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,n=t.slice(1);e<n.length;e+=1){var l=n[e];if(!xi(l)&&"boolean"!=typeof l)return!1}return!0;default:return!0}}mi.deserialize=function(t){return new mi(t._parameters,t._specification)},mi.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var Si={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function ki(t,e){return t<e?-1:t>e?1:0}function Mi(t){if(!t)return!0;var e,n=t[0];return t.length<=1?"any"!==n:"=="===n?Oi(t[1],t[2],"=="):"!="===n?Ei(Oi(t[1],t[2],"==")):"<"===n||">"===n||"<="===n||">="===n?Oi(t[1],t[2],n):"any"===n?(e=t.slice(1),["any"].concat(e.map(Mi))):"all"===n?["all"].concat(t.slice(1).map(Mi)):"none"===n?["all"].concat(t.slice(1).map(Mi).map(Ei)):"in"===n?Di(t[1],t.slice(2)):"!in"===n?Ei(Di(t[1],t.slice(2))):"has"===n?Ti(t[1]):"!has"!==n||Ei(Ti(t[1]))}function Oi(t,e,n){switch(t){case"$type":return["filter-type-"+n,e];case"$id":return["filter-id-"+n,e];default:return["filter-"+n,t,e]}}function Di(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(ki)]]:["filter-in-small",t,["literal",e]]}}function Ti(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function Ei(t){return["!",t]}var Ii=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Li(t,e){var n={};for(var l in t)"ref"!==l&&(n[l]=t[l]);return Ii.forEach((function(t){t in e&&(n[t]=e[t])})),n}var ji=function(t,e,n,l){this.message=(t?t+": ":"")+n,l&&(this.identifier=l),null!=e&&e.__line__&&(this.line=e.__line__)},Ri=function(t){this.error=t,this.message=t.message;var e=t.message.match(/line (\d+)/);this.line=e?parseInt(e[1],10):0};function Fi(t){var e=t.value;return e?[new ji(t.key,e,"constants have been deprecated as of v8")]:[]}function Ni(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function Yi(t){if(Array.isArray(t))return t.map(Yi);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){var e={};for(var n in t)e[n]=Yi(t[n]);return e}return Ni(t)}function Ui(t){var e=t.key,n=t.value,l=t.valueSpec||{},i=t.objectElementValidators||{},r=t.style,o=t.styleSpec,a=[],s=ni(n);if("object"!==s)return[new ji(e,n,"object expected, "+s+" found")];for(var u in n){var c=u.split(".")[0],d=l[c]||l["*"],h=void 0;if(i[c])h=i[c];else if(l[c])h=nr;else if(i["*"])h=i["*"];else{if(!l["*"]){a.push(new ji(e,n[u],'unknown property "'+u+'"'));continue}h=nr}a=a.concat(h({key:(e?e+".":e)+u,value:n[u],valueSpec:d,style:r,styleSpec:o,object:n,objectKey:u},n))}for(var p in l)i[p]||l[p].required&&void 0===l[p].default&&void 0===n[p]&&a.push(new ji(e,n,'missing required property "'+p+'"'));return a}function Bi(t){var e=t.value,n=t.valueSpec,l=t.style,i=t.styleSpec,r=t.key,o=t.arrayElementValidator||nr;if("array"!==ni(e))return[new ji(r,e,"array expected, "+ni(e)+" found")];if(n.length&&e.length!==n.length)return[new ji(r,e,"array length "+n.length+" expected, length "+e.length+" found")];if(n["min-length"]&&e.length<n["min-length"])return[new ji(r,e,"array length at least "+n["min-length"]+" expected, length "+e.length+" found")];var a={type:n.value,values:n.values};i.$version<7&&(a.function=n.function),"object"===ni(n.value)&&(a=n.value);for(var s=[],u=0;u<e.length;u++)s=s.concat(o({array:e,arrayIndex:u,value:e[u],valueSpec:a,style:l,styleSpec:i,key:r+"["+u+"]"}));return s}function zi(t){var e=t.key,n=t.value,l=t.valueSpec,i=ni(n);return"number"===i&&n!=n&&(i="NaN"),"number"!==i?[new ji(e,n,"number expected, "+i+" found")]:"minimum"in l&&n<l.minimum?[new ji(e,n,n+" is less than the minimum value "+l.minimum)]:"maximum"in l&&n>l.maximum?[new ji(e,n,n+" is greater than the maximum value "+l.maximum)]:[]}function Gi(t){var e,n,l,i=t.valueSpec,r=Ni(t.value.type),o={},a="categorical"!==r&&void 0===t.value.property,s=!a,u="array"===ni(t.value.stops)&&"array"===ni(t.value.stops[0])&&"object"===ni(t.value.stops[0][0]),c=Ui({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===r)return[new ji(t.key,t.value,'identity function may not have a "stops" property')];var e=[],n=t.value;return e=e.concat(Bi({key:t.key,value:n,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:d})),"array"===ni(n)&&0===n.length&&e.push(new ji(t.key,n,"array must have at least one stop")),e},default:function(t){return nr({key:t.key,value:t.value,valueSpec:i,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===r&&a&&c.push(new ji(t.key,t.value,'missing required property "property"')),"identity"===r||t.value.stops||c.push(new ji(t.key,t.value,'missing required property "stops"')),"exponential"===r&&t.valueSpec.expression&&!ei(t.valueSpec)&&c.push(new ji(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(s&&!Zl(t.valueSpec)?c.push(new ji(t.key,t.value,"property functions not supported")):a&&!ti(t.valueSpec)&&c.push(new ji(t.key,t.value,"zoom functions not supported"))),"categorical"!==r&&!u||void 0!==t.value.property||c.push(new ji(t.key,t.value,'"property" property is required')),c;function d(t){var e=[],r=t.value,a=t.key;if("array"!==ni(r))return[new ji(a,r,"array expected, "+ni(r)+" found")];if(2!==r.length)return[new ji(a,r,"array length 2 expected, length "+r.length+" found")];if(u){if("object"!==ni(r[0]))return[new ji(a,r,"object expected, "+ni(r[0])+" found")];if(void 0===r[0].zoom)return[new ji(a,r,"object stop key must have zoom")];if(void 0===r[0].value)return[new ji(a,r,"object stop key must have value")];if(l&&l>Ni(r[0].zoom))return[new ji(a,r[0].zoom,"stop zoom values must appear in ascending order")];Ni(r[0].zoom)!==l&&(l=Ni(r[0].zoom),n=void 0,o={}),e=e.concat(Ui({key:a+"[0]",value:r[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:zi,value:h}}))}else e=e.concat(h({key:a+"[0]",value:r[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},r));return di(Yi(r[1]))?e.concat([new ji(a+"[1]",r[1],"expressions are not allowed in function stops.")]):e.concat(nr({key:a+"[1]",value:r[1],valueSpec:i,style:t.style,styleSpec:t.styleSpec}))}function h(t,l){var a=ni(t.value),s=Ni(t.value),u=null!==t.value?t.value:l;if(e){if(a!==e)return[new ji(t.key,u,a+" stop domain type must match previous stop domain type "+e)]}else e=a;if("number"!==a&&"string"!==a&&"boolean"!==a)return[new ji(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==a&&"categorical"!==r){var c="number expected, "+a+" found";return Zl(i)&&void 0===r&&(c+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new ji(t.key,u,c)]}return"categorical"!==r||"number"!==a||isFinite(s)&&Math.floor(s)===s?"categorical"!==r&&"number"===a&&void 0!==n&&s<n?[new ji(t.key,u,"stop domain values must appear in ascending order")]:(n=s,"categorical"===r&&s in o?[new ji(t.key,u,"stop domain values must be unique")]:(o[s]=!0,[])):[new ji(t.key,u,"integer expected, found "+s)]}}function Hi(t){var e=("property"===t.expressionContext?bi:hi)(Yi(t.value),t.valueSpec);if("error"===e.result)return e.value.map((function(e){return new ji(""+t.key+e.key,t.value,e.message)}));var n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return[new ji(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!ol(n))return[new ji(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!ol(n))return[new ji(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!al(n,["zoom","feature-state"]))return[new ji(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!rl(n))return[new ji(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Vi(t){var e=t.key,n=t.value,l=t.valueSpec,i=[];return Array.isArray(l.values)?-1===l.values.indexOf(Ni(n))&&i.push(new ji(e,n,"expected one of ["+l.values.join(", ")+"], "+JSON.stringify(n)+" found")):-1===Object.keys(l.values).indexOf(Ni(n))&&i.push(new ji(e,n,"expected one of ["+Object.keys(l.values).join(", ")+"], "+JSON.stringify(n)+" found")),i}function qi(t){return xi(Yi(t.value))?Hi(Qe({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var n=e.value,l=e.key;if("array"!==ni(n))return[new ji(l,n,"array expected, "+ni(n)+" found")];var i,r=e.styleSpec,o=[];if(n.length<1)return[new ji(l,n,"filter array must have at least 1 element")];switch(o=o.concat(Vi({key:l+"[0]",value:n[0],valueSpec:r.filter_operator,style:e.style,styleSpec:e.styleSpec})),Ni(n[0])){case"<":case"<=":case">":case">=":n.length>=2&&"$type"===Ni(n[1])&&o.push(new ji(l,n,'"$type" cannot be use with operator "'+n[0]+'"'));case"==":case"!=":3!==n.length&&o.push(new ji(l,n,'filter array for operator "'+n[0]+'" must have 3 elements'));case"in":case"!in":n.length>=2&&"string"!==(i=ni(n[1]))&&o.push(new ji(l+"[1]",n[1],"string expected, "+i+" found"));for(var a=2;a<n.length;a++)i=ni(n[a]),"$type"===Ni(n[1])?o=o.concat(Vi({key:l+"["+a+"]",value:n[a],valueSpec:r.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&o.push(new ji(l+"["+a+"]",n[a],"string, number, or boolean expected, "+i+" found"));break;case"any":case"all":case"none":for(var s=1;s<n.length;s++)o=o.concat(t({key:l+"["+s+"]",value:n[s],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":i=ni(n[1]),2!==n.length?o.push(new ji(l,n,'filter array for "'+n[0]+'" operator must have 2 elements')):"string"!==i&&o.push(new ji(l+"[1]",n[1],"string expected, "+i+" found"))}return o}(t)}function Wi(t,e){var n=t.key,l=t.style,i=t.styleSpec,r=t.value,o=t.objectKey,a=i[e+"_"+t.layerType];if(!a)return[];var s=o.match(/^(.*)-transition$/);if("paint"===e&&s&&a[s[1]]&&a[s[1]].transition)return nr({key:n,value:r,valueSpec:i.transition,style:l,styleSpec:i});var u,c=t.valueSpec||a[o];if(!c)return[new ji(n,r,'unknown property "'+o+'"')];if("string"===ni(r)&&Zl(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(r)))return[new ji(n,r,'"'+o+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(u[1])+" }`.")];var d=[];return"symbol"===t.layerType&&("text-field"===o&&l&&!l.glyphs&&d.push(new ji(n,r,'use of "text-field" requires a style "glyphs" property')),"text-font"===o&&li(Yi(r))&&"identity"===Ni(r.type)&&d.push(new ji(n,r,'"text-font" does not support identity functions'))),d.concat(nr({key:t.key,value:r,valueSpec:c,style:l,styleSpec:i,expressionContext:"property",propertyType:e,propertyKey:o}))}function $i(t){return Wi(t,"paint")}function Xi(t){return Wi(t,"layout")}function Ki(t){var e=[],n=t.value,l=t.key,i=t.style,r=t.styleSpec;n.type||n.ref||e.push(new ji(l,n,'either "type" or "ref" is required'));var o,a=Ni(n.type),s=Ni(n.ref);if(n.id)for(var u=Ni(n.id),c=0;c<t.arrayIndex;c++){var d=i.layers[c];Ni(d.id)===u&&e.push(new ji(l,n.id,'duplicate layer id "'+n.id+'", previously used at line '+d.id.__line__))}if("ref"in n)["type","source","source-layer","filter","layout"].forEach((function(t){t in n&&e.push(new ji(l,n[t],'"'+t+'" is prohibited for ref layers'))})),i.layers.forEach((function(t){Ni(t.id)===s&&(o=t)})),o?o.ref?e.push(new ji(l,n.ref,"ref cannot reference another ref layer")):a=Ni(o.type):e.push(new ji(l,n.ref,'ref layer "'+s+'" not found'));else if("background"!==a)if(n.source){var h=i.sources&&i.sources[n.source],p=h&&Ni(h.type);h?"vector"===p&&"raster"===a?e.push(new ji(l,n.source,'layer "'+n.id+'" requires a raster source')):"raster"===p&&"raster"!==a?e.push(new ji(l,n.source,'layer "'+n.id+'" requires a vector source')):"vector"!==p||n["source-layer"]?"raster-dem"===p&&"hillshade"!==a?e.push(new ji(l,n.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==a||!n.paint||!n.paint["line-gradient"]||"geojson"===p&&h.lineMetrics||e.push(new ji(l,n,'layer "'+n.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new ji(l,n,'layer "'+n.id+'" must specify a "source-layer"')):e.push(new ji(l,n.source,'source "'+n.source+'" not found'))}else e.push(new ji(l,n,'missing required property "source"'));return e=e.concat(Ui({key:l,value:n,valueSpec:r.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return nr({key:l+".type",value:n.type,valueSpec:r.layer.type,style:t.style,styleSpec:t.styleSpec,object:n,objectKey:"type"})},filter:qi,layout:function(t){return Ui({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Xi(Qe({layerType:a},t))}}})},paint:function(t){return Ui({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return $i(Qe({layerType:a},t))}}})}}}))}function Ji(t){var e=t.value,n=t.key,l=ni(e);return"string"!==l?[new ji(n,e,"string expected, "+l+" found")]:[]}var Qi={promoteId:function(t){var e=t.key,n=t.value;if("string"===ni(n))return Ji({key:e,value:n});var l=[];for(var i in n)l.push.apply(l,Ji({key:e+"."+i,value:n[i]}));return l}};function Zi(t){var e=t.value,n=t.key,l=t.styleSpec,i=t.style;if(!e.type)return[new ji(n,e,'"type" is required')];var r,o=Ni(e.type);switch(o){case"vector":case"raster":case"raster-dem":return Ui({key:n,value:e,valueSpec:l["source_"+o.replace("-","_")],style:t.style,styleSpec:l,objectElementValidators:Qi});case"geojson":if(r=Ui({key:n,value:e,valueSpec:l.source_geojson,style:i,styleSpec:l,objectElementValidators:Qi}),e.cluster)for(var a in e.clusterProperties){var s=e.clusterProperties[a],u=s[0],c="string"==typeof u?[u,["accumulated"],["get",a]]:u;r.push.apply(r,Hi({key:n+"."+a+".map",value:s[1],expressionContext:"cluster-map"})),r.push.apply(r,Hi({key:n+"."+a+".reduce",value:c,expressionContext:"cluster-reduce"}))}return r;case"video":return Ui({key:n,value:e,valueSpec:l.source_video,style:i,styleSpec:l});case"image":return Ui({key:n,value:e,valueSpec:l.source_image,style:i,styleSpec:l});case"canvas":return[new ji(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Vi({key:n+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:l})}}function tr(t){var e=t.value,n=t.styleSpec,l=n.light,i=t.style,r=[],o=ni(e);if(void 0===e)return r;if("object"!==o)return r.concat([new ji("light",e,"object expected, "+o+" found")]);for(var a in e){var s=a.match(/^(.*)-transition$/);r=r.concat(s&&l[s[1]]&&l[s[1]].transition?nr({key:a,value:e[a],valueSpec:n.transition,style:i,styleSpec:n}):l[a]?nr({key:a,value:e[a],valueSpec:l[a],style:i,styleSpec:n}):[new ji(a,e[a],'unknown property "'+a+'"')])}return r}var er={"*":function(){return[]},array:Bi,boolean:function(t){var e=t.value,n=t.key,l=ni(e);return"boolean"!==l?[new ji(n,e,"boolean expected, "+l+" found")]:[]},number:zi,color:function(t){var e=t.key,n=t.value,l=ni(n);return"string"!==l?[new ji(e,n,"color expected, "+l+" found")]:null===mn(n)?[new ji(e,n,'color expected, "'+n+'" found')]:[]},constants:Fi,enum:Vi,filter:qi,function:Gi,layer:Ki,object:Ui,source:Zi,light:tr,string:Ji,formatted:function(t){return 0===Ji(t).length?[]:Hi(t)},resolvedImage:function(t){return 0===Ji(t).length?[]:Hi(t)}};function nr(t){var e=t.value,n=t.valueSpec,l=t.styleSpec;return n.expression&&li(Ni(e))?Gi(t):n.expression&&di(Yi(e))?Hi(t):n.type&&er[n.type]?er[n.type](t):Ui(Qe({},t,{valueSpec:n.type?l[n.type]:n}))}function lr(t){var e=t.value,n=t.key,l=Ji(t);return l.length||(-1===e.indexOf("{fontstack}")&&l.push(new ji(n,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&l.push(new ji(n,e,'"glyphs" url must include a "{range}" token'))),l}function ir(t,e){void 0===e&&(e=Se);var n=[];return n=n.concat(nr({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:lr,"*":function(){return[]}}})),t.constants&&(n=n.concat(Fi({key:"constants",value:t.constants,style:t,styleSpec:e}))),rr(n)}function rr(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function or(t){return function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return rr(t.apply(this,e))}}ir.source=or(Zi),ir.light=or(tr),ir.layer=or(Ki),ir.filter=or(qi),ir.paintProperty=or($i),ir.layoutProperty=or(Xi);var ar=Oe((function(t,e){var n=function(){var t=function(t,e,n,l){for(n=n||{},l=t.length;l--;n[t[l]]=e);return n},e=[1,12],n=[1,13],l=[1,9],i=[1,10],r=[1,11],o=[1,14],a=[1,15],s=[14,18,22,24],u=[18,22],c=[22,24],d={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(t,e,n,l,i,r,o){var a=r.length-1;switch(i){case 1:this.$=new String(t.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b")),this.$.__line__=this._$.first_line;break;case 2:this.$=new Number(t),this.$.__line__=this._$.first_line;break;case 3:this.$=null;break;case 4:this.$=new Boolean(!0),this.$.__line__=this._$.first_line;break;case 5:this.$=new Boolean(!1),this.$.__line__=this._$.first_line;break;case 6:return this.$=r[a-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=r[a-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[r[a-2],r[a]];break;case 16:this.$={},this.$[r[a][0]]=r[a][1];break;case 17:this.$=r[a-2],r[a-2][r[a][0]]=r[a][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[r[a]];break;case 21:this.$=r[a-2],r[a-2].push(r[a])}},table:[{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,12:1,13:2,15:7,16:8,17:o,23:a},{1:[3]},{14:[1,16]},t(s,[2,7]),t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,3]),t(s,[2,4]),t(s,[2,5]),t([14,18,21,22,24],[2,1]),t(s,[2,2]),{3:20,4:e,18:[1,17],19:18,20:19},{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,13:23,15:7,16:8,17:o,23:a,24:[1,21],25:22},{1:[2,6]},t(s,[2,13]),{18:[1,24],22:[1,25]},t(u,[2,16]),{21:[1,26]},t(s,[2,18]),{22:[1,28],24:[1,27]},t(c,[2,20]),t(s,[2,14]),{3:20,4:e,20:29},{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,13:30,15:7,16:8,17:o,23:a},t(s,[2,19]),{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,13:31,15:7,16:8,17:o,23:a},t(u,[2,17]),t(u,[2,15]),t(c,[2,21])],defaultActions:{16:[2,6]},parseError:function(t,e){if(!e.recoverable)throw new Error(t);this.trace(t)},parse:function(t){var e=this,n=[0],l=[null],i=[],r=this.table,o="",a=0,s=0,u=2,c=1,d=i.slice.call(arguments,1),h=Object.create(this.lexer),p={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(p.yy[f]=this.yy[f]);h.setInput(t,p.yy),p.yy.lexer=h,p.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var b=h.yylloc;i.push(b);var m=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=h.lex()||c)&&(t=e.symbols_[t]||t),t}this.parseError="function"==typeof p.yy.parseError?p.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,y,A,v,C,w,P,x,S={};;){if(this.defaultActions[A=n[n.length-1]]?v=this.defaultActions[A]:(null==_&&(_=g()),v=r[A]&&r[A][_]),void 0===v||!v.length||!v[0]){var k="";for(w in x=[],r[A])this.terminals_[w]&&w>u&&x.push("'"+this.terminals_[w]+"'");k=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(a+1)+": Unexpected "+(_==c?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:b,expected:x})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+_);switch(v[0]){case 1:n.push(_),l.push(h.yytext),i.push(h.yylloc),n.push(v[1]),_=null,y?(_=y,y=null):(s=h.yyleng,o=h.yytext,a=h.yylineno,b=h.yylloc);break;case 2:if(S.$=l[l.length-(P=this.productions_[v[1]][1])],S._$={first_line:i[i.length-(P||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(P||1)].first_column,last_column:i[i.length-1].last_column},m&&(S._$.range=[i[i.length-(P||1)].range[0],i[i.length-1].range[1]]),void 0!==(C=this.performAction.apply(S,[o,s,a,p.yy,v[1],l,i].concat(d))))return C;P&&(n=n.slice(0,-1*P*2),l=l.slice(0,-1*P),i=i.slice(0,-1*P)),n.push(this.productions_[v[1]][0]),l.push(S.$),i.push(S._$),n.push(r[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function h(){this.yy={}}return d.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===l.length?this.yylloc.first_column:0)+l[l.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,l,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(l=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in i)this[r]=i[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,l;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),r=0;r<i.length;r++)if((n=this._input.match(this.rules[i[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,l=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[l]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,l){switch(n){case 0:break;case 1:return 6;case 2:return e.yytext=e.yytext.substr(1,e.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}},h.prototype=d,d.Parser=h,new h}();void 0!==Me&&(e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)})}));function sr(t,e){void 0===e&&(e=Se);var n=t;try{n=function(t){if(t instanceof String||"string"==typeof t||t instanceof Buffer)try{return ar.parse(t.toString())}catch(e){throw new Ri(e)}return t}(n)}catch(l){return[l]}return ir(n,e)}var ur=di,cr=bi,dr=li;sr.parsed=sr,sr.latest=sr;var hr=n("LMWA"),pr=n.n(hr);function fr(t){return t*Math.PI/180}var br=function(){for(var t=[],e=78271.51696402048;t.length<=24;e/=2)t.push(e);return t}();function mr(t,e){if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(t,e);var n=document.createElement("canvas");return n.width=t,n.height=e,n}var gr,_r=Array(256).join("\u200a");function yr(t,e){if(e>=.05){for(var n="",l=t.split("\n"),i=_r.slice(0,Math.round(e/.1)),r=0,o=l.length;r<o;++r)r>0&&(n+="\n"),n+=l[r].split("").join(i);return n}return t}function Ar(){return gr||(gr=mr(1,1).getContext("2d")),gr}function vr(t,e){return Ar().measureText(t).width+(t.length-1)*e}var Cr={};$.p&&Object(et.a)($.p,nt.a.CLEAR,(function(){Cr={}}));var wr,Pr,xr=dr,Sr=function(t,e){var n=t.stops;if(!n)return function(t,e){var n=["get",t.property];if(void 0===t.default)return"string"===e.type?["string",n]:n;if("enum"===e.type)return["match",n,Object.keys(e.values),n,t.default];var l=["color"===e.type?"to-color":e.type,n,gi(t.default)];return"array"===e.type&&l.splice(1,0,e.value,e.length||null),l}(t,e);var l=n&&"object"==typeof n[0][0],i=l||void 0!==t.property,r=l||!i;return n=n.map((function(t){return!i&&e.tokens&&"string"==typeof t[1]?[t[0],Pi(t[1])]:[t[0],gi(t[1])]})),l?function(t,e,n){for(var l={},i={},r=[],o=0;o<n.length;o++){var a=n[o],s=a[0].zoom;void 0===l[s]&&(l[s]={zoom:s,type:t.type,property:t.property,default:t.default},i[s]=[],r.push(s)),i[s].push([a[0].value,a[1]])}if("exponential"===wi({},e)){for(var u=[_i(t),["linear"],["zoom"]],c=0,d=r;c<d.length;c+=1){var h=d[c];Ci(u,h,Ai(l[h],e,i[h]),!1)}return u}for(var p=["step",["zoom"]],f=0,b=r;f<b.length;f+=1){var m=b[f];Ci(p,m,Ai(l[m],e,i[m]),!0)}return vi(p),p}(t,e,n):r?function(t,e,n,l){void 0===l&&(l=["zoom"]);var i,r=wi(t,e),o=!1;if("interval"===r)i=["step",l],o=!0;else{if("exponential"!==r)throw new Error('Unknown zoom function type "'+r+'"');var a=void 0!==t.base?t.base:1;i=[_i(t),1===a?["linear"]:["exponential",a],l]}for(var s=0,u=n;s<u.length;s+=1){var c=u[s];Ci(i,c[0],c[1],o)}return vi(i),i}(t,e,n):Ai(t,e,n)},kr=ur,Mr=cr,Or={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Dr={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},Tr={},Er={zoom:0},Ir={};function Lr(t,e,n,l,i){var r=t.id;Ir[r]||(Ir[r]={});var o=Ir[r];if(!o[n]){var a=(t[e]||Tr)[n],s=Se[e+"_"+t.type][n];void 0===a&&(a=s.default);var u=kr(a);if(!u&&xr(a)&&(a=Sr(a,s),u=!0),u){var c=function(t,e){var n=Mr(t,e);if("error"===n.result)throw new Error(n.value.map((function(t){return t.key+": "+t.message})).join(", "));return n.value}(a,s);o[n]=c.evaluate.bind(c)}else"color"==s.type&&(a=gn.parse(a)),o[n]=function(){return a}}return Er.zoom=l,o[n](Er,i)}var jr={};function Rr(t,e){if(t){if(0===t.a||0===e)return;var n=t.a;return e=void 0===e?1:e,"rgba("+Math.round(255*t.r/n)+","+Math.round(255*t.g/n)+","+Math.round(255*t.b/n)+","+n*e+")"}return t}var Fr=/^([^]*)\{(.*)\}([^]*)$/;function Nr(t,e){var n;do{(n=t.match(Fr))&&(t=n[1]+(e[n[2]]||"")+n[3])}while(n);return t}var Yr=function(t,e,n,l,i,r,o){if(void 0===l&&(l=br),"string"==typeof e&&(e=JSON.parse(e)),8!=e.version)throw new Error("glStyle version 8 required.");var a,s;if(r)if("undefined"!=typeof Image){var u=new Image;u.crossOrigin="anonymous",u.onload=function(){a=u,s=[u.width,u.height],t.changed(),u.onload=null},u.src=r}else if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){var c=self;c.postMessage({action:"loadImage",src:r}),c.addEventListener("message",(function(t){"imageLoaded"===t.data.action&&t.data.src===r&&(s=[(a=t.data.image).width,a.height])}))}for(var d,h=function(t){t=t.slice();for(var e=Object.create(null),n=0;n<t.length;n++)e[t[n].id]=t[n];for(var l=0;l<t.length;l++)"ref"in t[l]&&(t[l]=Li(t[l],e[t[l].ref]));return t}(e.layers),p={},f=[],b=0,m=h.length;b<m;++b){var g=h[b],_=g.id;if("string"==typeof n&&g.source==n||-1!==n.indexOf(_)){var y=g["source-layer"];if(!d){var A=e.sources[d=g.source];if(!A)throw new Error('Source "'+d+'" is not defined');var v=A.type;if("vector"!==v&&"geojson"!==v)throw new Error('Source "'+d+'" is not of type "vector" or "geojson", but "'+v+'"')}var C=p[y];C||(C=p[y]=[]),C.push({layer:g,index:b}),f.push(_)}delete Ir[_],delete jr[_]}var w=new Ce.a,P=new ve.a,x={},S={},k=[],M=function(t,e){var n=t.getProperties(),r=p[n.layer];if(r){var u=l.indexOf(e);-1==u&&(u=function(t,e){for(var n=0,l=e.length;n<l;++n)if(e[n]<t&&n+1<l){var i=e[n]/e[n+1];return n+Math.log(e[n]/t)/Math.log(i)}return l-1}(e,l));for(var c=Or[t.getGeometry().getType()],d={properties:n,type:c},h=-1,f=function(l,p){var f=r[l],b=f.layer,m=b.layout||Tr,g=b.paint||Tr;if("none"===m.visibility||"minzoom"in b&&u<b.minzoom||"maxzoom"in b&&u>=b.maxzoom)return"continue";var _=b.filter;if(!_||function(t,e,n,l){return t in jr||(jr[t]=function(t){if(null==t)return{filter:function(){return!0},needGeometry:!1};xi(t)||(t=Mi(t));var e=hi(t,Si);if("error"===e.result)throw new Error(e.value.map((function(t){return t.key+": "+t.message})).join(", "));return{filter:function(t,n,l){return e.value.evaluate(t,n,{},l)},needGeometry:Array.isArray(t)&&0!==t.length&&"within"===t[0]}}(e).filter),Er.zoom=l,jr[t](Er,n)}(b.id,_,d,u)){var y=void 0,A=void 0,v=void 0,C=void 0,M=void 0,O=void 0,D=f.index;if(3==c&&"fill"==b.type)if(A=Lr(b,"paint","fill-opacity",u,d),"fill-pattern"in g){var E=Lr(b,"paint","fill-pattern",u,d);if(E){var I="string"==typeof E?Nr(E,n):E.toString();if(a&&i&&i[I]){++h,(O=k[h])&&O.getFill()&&!O.getStroke()&&!O.getText()||(O=k[h]=new Ae.b({fill:new ve.a})),v=O.getFill(),O.setZIndex(D);var L=S[st=I+"."+A];L||((dt=(ct=mr((ut=i[I]).width,ut.height)).getContext("2d")).globalAlpha=A,dt.drawImage(a,ut.x,ut.y,ut.width,ut.height,0,0,ut.width,ut.height),L=dt.createPattern(ct,"repeat"),S[st]=L),v.setColor(L)}}}else(y=Rr(Lr(b,"paint","fill-color",u,d),A))&&("fill-outline-color"in g&&(M=Rr(Lr(b,"paint","fill-outline-color",u,d),A)),M||(M=y),++h,(O=k[h])&&O.getFill()&&O.getStroke()&&!O.getText()||(O=k[h]=new Ae.b({fill:new ve.a,stroke:new Ce.a})),(v=O.getFill()).setColor(y),(C=O.getStroke()).setColor(M),C.setWidth(1),O.setZIndex(D));if(1!=c&&"line"==b.type){y=!("line-pattern"in g)&&"line-color"in g?Rr(Lr(b,"paint","line-color",u,d),Lr(b,"paint","line-opacity",u,d)):void 0;var j=Lr(b,"paint","line-width",u,d);y&&j>0&&(++h,(O=k[h])&&O.getStroke()&&!O.getFill()&&!O.getText()||(O=k[h]=new Ae.b({stroke:new Ce.a})),(C=O.getStroke()).setLineCap(Lr(b,"layout","line-cap",u,d)),C.setLineJoin(Lr(b,"layout","line-join",u,d)),C.setMiterLimit(Lr(b,"layout","line-miter-limit",u,d)),C.setColor(y),C.setWidth(j),C.setLineDash(g["line-dasharray"]?Lr(b,"paint","line-dasharray",u,d).map((function(t){return t*j})):null),O.setZIndex(D))}var R=!1,F=null,N=0,Y=void 0,U=void 0,B=void 0;if((1==c||2==c)&&"icon-image"in m){var z=Lr(b,"layout","icon-image",u,d);if(z){Y="string"==typeof z?Nr(z,n):z.toString();var G=void 0;if(a&&i&&i[Y]){var H=Lr(b,"layout","icon-rotation-alignment",u,d);if(2==c){var V=t.getGeometry();if(V.getFlatMidpoint){var q=V.getExtent();if(Math.sqrt(Math.max(Math.pow((q[2]-q[0])/e,2),Math.pow((q[3]-q[1])/e,2)))>150){var W=V.getFlatMidpoint();if(Pr||(Pr=new T("Point",wr=[NaN,NaN],[],{},null)),G=Pr,wr[0]=W[0],wr[1]=W[1],"line"===(Tt=Lr(b,"layout","symbol-placement",u,d))&&"map"===H)for(var $=V.getStride(),X=V.getFlatCoordinates(),K=0,J=X.length-$;K<J;K+=$){var Q=X[K],Z=X[K+1],tt=X[K+$],et=X[K+$+1],nt=Math.min(Q,tt),lt=Math.min(Z,et),it=Math.max(Q,tt),rt=Math.max(Z,et);if(W[0]>=nt&&W[0]<=it&&W[1]>=lt&&W[1]<=rt){N=Math.atan2(Z-et,tt-Q);break}}}}}if(2!==c||G){++h,(O=k[h])&&O.getImage()&&!O.getFill()&&!O.getStroke()||(O=k[h]=new Ae.b),O.setGeometry(G);var ot=Lr(b,"layout","icon-size",u,d),at=void 0!==g["icon-color"]?Lr(b,"paint","icon-color",u,d):null,st=Y+"."+ot;if(null!==at&&(st+="."+at),!(U=x[st])){var ut=i[Y];if(null!==at){var ct,dt;(dt=(ct=mr(ut.width,ut.height)).getContext("2d")).drawImage(a,ut.x,ut.y,ut.width,ut.height,0,0,ut.width,ut.height);for(var ht=dt.getImageData(0,0,ct.width,ct.height),pt=0,ft=ht.data.length;pt<ft;pt+=4){var bt=at.a;0!==bt&&(ht.data[pt]=255*at.r/bt,ht.data[pt+1]=255*at.g/bt,ht.data[pt+2]=255*at.b/bt),ht.data[pt+3]=bt}dt.putImageData(ht,0,0),U=x[st]=new we.a({img:ct,imgSize:[ct.width,ct.height],scale:ot/ut.pixelRatio})}else U=x[st]=new we.a({img:a,imgSize:s,size:[ut.width,ut.height],offset:[ut.x,ut.y],rotateWithView:"map"===H,scale:ot/ut.pixelRatio})}U.setRotation(N+fr(Lr(b,"layout","icon-rotate",u,d))),U.setOpacity(Lr(b,"paint","icon-opacity",u,d)),U.setAnchor(Dr[Lr(b,"layout","icon-anchor",u,d)]),O.setImage(U),F=O.getText(),O.setText(void 0),O.setZIndex(D),R=!0,B=!1}else B=!0}}}if(1==c&&"circle-radius"in g){++h,(O=k[h])&&O.getImage()&&!O.getFill()&&!O.getStroke()||(O=k[h]=new Ae.b);var mt=Lr(b,"paint","circle-radius",u,d),gt=Rr(Lr(b,"paint","circle-stroke-color",u,d),Lr(b,"paint","circle-stroke-opacity",u,d)),_t=Rr(Lr(b,"paint","circle-color",u,d),Lr(b,"paint","circle-opacity",u,d)),yt=Lr(b,"paint","circle-stroke-width",u,d),At=mt+"."+gt+"."+_t+"."+yt;(U=x[At])||(U=x[At]=new xe.a({radius:mt,stroke:gt&&yt>0?new Ce.a({width:yt,color:gt}):void 0,fill:_t?new ve.a({color:_t}):void 0})),O.setImage(U),F=O.getText(),O.setText(void 0),O.setGeometry(void 0),O.setZIndex(D),R=!0}var vt=void 0;if("text-field"in m&&(vt=Nr(Lr(b,"layout","text-field",u,d).toString(),n).trim(),A=Lr(b,"paint","text-opacity",u,d)),vt&&A&&!B){R||(++h,(O=k[h])&&O.getText()&&!O.getFill()&&!O.getStroke()||(O=k[h]=new Ae.b),O.setImage(void 0),O.setGeometry(void 0)),O.getText()||O.setText(F||new Pe.a({padding:[2,2,2,2]})),F=O.getText();var Ct=Math.round(Lr(b,"layout","text-size",u,d)),wt=Lr(b,"layout","text-font",u,d),Pt=Lr(b,"layout","text-line-height",u,d),xt=pr()(o?o(wt):wt,Ct,Pt),St=m["text-transform"];"uppercase"==St?vt=vt.toUpperCase():"lowercase"==St&&(vt=vt.toLowerCase());var kt=Lr(b,"layout","text-max-width",u,d),Mt=Lr(b,"layout","text-letter-spacing",u,d),Ot=2==c?yr(vt,Mt):function t(e,n,l,i){if(-1!==e.indexOf("\n")){for(var r=e.split("\n"),o=[],a=0,s=r.length;a<s;++a)o.push(t(r[a],n,l,i));return o.join("\n")}var u=l+","+n+","+e+","+i,c=Cr[u];if(!c){var d=e.split(" ");if(d.length>1){var h=Ar();h.font=n;var p=h.measureText("M").width*l,f="";for(o=[],a=0,s=d.length;a<s;++a){var b=d[a],m=f+(f?" ":"")+b;vr(m,i)<=p?f=m:(f&&o.push(f),f=b)}for(f&&o.push(f),a=0;a<o.length;++a){var g=o[a];if(vr(g,i)<.35*p){var _=a>0?vr(o[a-1],i):1/0,y=a<o.length-1?vr(o[a+1],i):1/0;o.splice(a,1),_<y?(o[a-1]+=" "+g,a-=1):o[a]=g+" "+o[a],o.length-=1}}for(a=0,s=o.length-1;a<s;++a){var A=o[a],v=o[a+1];if(vr(A,i)>.7*p&&vr(v,i)<.6*p){var C=A.split(" "),w=C.pop();vr(w,i)<.2*p&&(o[a]=C.join(" "),o[a+1]=w+" "+v),s-=1}}c=o.join("\n")}else c=e;c=yr(c,i),Cr[u]=c}return c}(vt,xt,kt,Mt);F.setText(Ot),F.setFont(xt),F.setRotation(fr(Lr(b,"layout","text-rotate",u,d)));var Dt=Lr(b,"layout","text-anchor",u,d),Tt=R||1==c?"point":Lr(b,"layout","symbol-placement",u,d);F.setPlacement(Tt);var Et=Lr(b,"paint","text-halo-width",u,d),It=Lr(b,"layout","text-offset",u,d),Lt=Lr(b,"paint","text-translate",u,d),jt=0,Rt=0;if("point"==Tt){var Ft="center";-1!==Dt.indexOf("left")?(Ft="left",Rt=Et):-1!==Dt.indexOf("right")&&(Ft="right",Rt=-Et),F.setTextAlign(Ft);var Nt=Lr(b,"layout","text-rotation-alignment",u,d);F.setRotateWithView("map"==Nt)}else F.setMaxAngle(fr(Lr(b,"layout","text-max-angle",u,d))*vt.length/Ot.length),F.setTextAlign(),F.setRotateWithView(!1);var Yt="middle";0==Dt.indexOf("bottom")?(Yt="bottom",jt=-Et-.5*(Pt-1)*Ct):0==Dt.indexOf("top")&&(Yt="top",jt=Et+.5*(Pt-1)*Ct),F.setTextBaseline(Yt),F.setOffsetX(It[0]*Ct+Rt+Lt[0]),F.setOffsetY(It[1]*Ct+jt+Lt[1]),P.setColor(Rr(Lr(b,"paint","text-color",u,d),A)),F.setFill(P);var Ut=Rr(Lr(b,"paint","text-halo-color",u,d),A);if(Ut){w.setColor(Ut);var Bt=.5*Ct;w.setWidth((Et*=2)<=Bt?Et:Bt),F.setStroke(w)}else F.setStroke(void 0);var zt=Lr(b,"layout","text-padding",u,d),Gt=F.getPadding();zt!==Gt[0]&&(Gt[0]=Gt[1]=Gt[2]=Gt[3]=zt),O.setZIndex(D)}}},b=0,m=r.length;b<m;++b)f(b);return h>-1?(k.length=h+1,k):void 0}};return t.setStyle(M),t.set("mapbox-source",d),t.set("mapbox-layers",f),M},Ur=n("wd/R");n.d(e,"a",(function(){return zr}));const Br="\xa9 "+Ur().utc().format("YYYY")+' <a href="https://beta.gouv.fr/startups/sepia.html">SEPIA</a>';class zr{constructor(t,e,n,i){this.httpClient=t,this.mapService=e,this.lightDarkModeService=n,this.collectionService=i,this.urlOfTilesServer=l.a.config.api["sepia.api"].url+"/tile/{collectionId}/{z}/{x}/{y}.pbf",this.localCollections={},this.intervalForDaemonOfCollectionFetcher=6e4,this.tileLoader=(t,e)=>{t.setLoader((n,l,i)=>{this.httpClient.get(e,{responseType:"arraybuffer"}).subscribe(e=>{const l=t.getFormat().readFeatures(e,{extent:n,featureProjection:i});t.setFeatures(l)},e=>{const l=t.getFormat().readFeatures(null,{extent:n,featureProjection:i});t.setFeatures(l)})})}}ngOnInit(){this.updateLocalCollection(),setInterval(()=>{this.updateLocalCollection()},this.intervalForDaemonOfCollectionFetcher)}updateLocalCollection(){return this.collectionService.getManyBaseCollectionControllerCollection({}).subscribe(t=>{const e=this.getReportOfCollections(t);e.addCollections.forEach(t=>this.addLayer(t)),e.updateCollections.forEach(t=>this.updateLayer(t)),e.deleteCollections.forEach(t=>this.deleteLayer(t)),e.addCollections.length>0&&this.lightDarkModeService.setLightDarkMode()},t=>console.error("Error : getCollections"))}getReportOfCollections(t){const e=[],n=[],l=[],i=Object.values(this.localCollections),r=i.map(t=>t.id),o=t.map(t=>t.id);return t.forEach(t=>{r.includes(t.id)||e.push(t),!r.includes(t.id)||this.localCollections[t.id].updatedAt===t.updatedAt&&this.localCollections[t.id].name===t.name&&this.localCollections[t.id].layerGroup===t.layerGroup&&this.localCollections[t.id].refresh===t.refresh&&this.localCollections[t.id].defaultView===t.defaultView&&this.localCollections[t.id].defaultOrder===t.defaultOrder&&this.localCollections[t.id].clickable===t.clickable&&this.localCollections[t.id].hoverable===t.hoverable&&JSON.stringify(this.localCollections[t.id].style)===JSON.stringify(t.style)&&JSON.stringify(this.localCollections[t.id].mapping)===JSON.stringify(t.mapping)&&JSON.stringify(this.localCollections[t.id].properties)===JSON.stringify(t.properties)&&JSON.stringify(this.localCollections[t.id].style)===JSON.stringify(t.style)||n.push(t)}),i.forEach(t=>{o.includes(t.id)||l.push(t)}),{addCollections:e,updateCollections:n,deleteCollections:l}}addLayer(t){let e,n=null;const l={attributions:[Br],cacheSize:isNaN(t.properties.cacheSize)?null:t.properties.cacheSize,transition:isNaN(t.properties.transition)?null:t.properties.transition};if("GL"===t.type)n=this.generateGlStyle(t),l.urls=n.sources[t.id].tiles,l.tileLoadFunction=this.tileLoader,l.format=new F,e=new _e(l);else switch(t.properties.source){case"BingMaps":l.key=t.properties.key?t.properties.key:void 0,l.imagerySet=t.properties.imagerySet?t.properties.imagerySet:void 0,e=new se(l);break;default:t.properties.url=t.properties.url.replace("{YYMM}",Ur().utc().format("YYMM")),l.url=t.properties.url,e=new ce(l)}const i={source:e,visible:!0===t.defaultView&&t.defaultView,zIndex:isNaN(t.defaultOrder)?0:t.defaultOrder,preload:isNaN(t.properties.preload)?void 0:t.properties.preload,minZoom:isNaN(t.properties.minZoom)?void 0:t.properties.minZoom,maxZoom:isNaN(t.properties.maxZoom)?void 0:t.properties.maxZoom,opacity:isNaN(t.properties.opacity)?void 0:t.properties.opacity},r="GL"===t.type?new bt(i):new Q(i);t.id&&r.set("id",t.id),t.name&&r.set("name",t.name),t.clickable&&r.set("clickable",t.clickable),t.hoverable&&r.set("hoverable",t.hoverable),t.mapping&&r.set("mapping",t.mapping),"GL"===t.type&&Yr(r,n,t.id),!0===t.properties.lightMode&&this.lightDarkModeService.addLayerInLightDarkList("light",t.name),!0===t.properties.darkMode&&this.lightDarkModeService.addLayerInLightDarkList("dark",t.name),this.mapService.addLayerToGroup(t.layerGroup||"DEFAULTS",r),this.localCollections[t.id]=t}updateLayer(t){const e=this.mapService.getLayer(t.name),n=e.getSource();if(isNaN(t.properties.cacheSize)||n.cacheSize===t.properties.cacheSize||(n.cacheSize=t.properties.cacheSize),isNaN(t.properties.transition)||n.transition===t.properties.transition||(n.transition=t.properties.transition),"RASTER"===t.type)switch(isNaN(t.properties.tilePixelRatio)||n.tilePixelRatio===t.properties.tilePixelRatio||(n.cacheSize=t.properties.tilePixelRatio),t.properties.source){case"BingMaps":n.key!==t.properties.key&&(n.key=t.properties.key||null),n.imagerySet!==t.properties.imagerySet&&(n.imagerySet=t.properties.imagerySet||null);break;default:n.url!==t.properties.url&&(t.properties.url=t.properties.url.replace("{YYMM}",Ur().utc().format("YYMM")),n.setUrl(t.properties.url))}if(isNaN(t.defaultOrder)||e.getZIndex()===t.defaultOrder||e.setZIndex(t.defaultOrder),isNaN(t.properties.preload)||e.getPreload()===t.properties.preload||e.setPreload(t.properties.preload),isNaN(t.properties.minZoom)||e.getMinZoom()===t.properties.minZoom||e.setMinZoom(t.properties.minZoom),isNaN(t.properties.maxZoom)||e.getMaxZoom()===t.properties.maxZoom||e.setMaxZoom(t.properties.maxZoom),isNaN(t.properties.opacity)||e.getOpacity()===t.properties.opacity||e.setOpacity(t.properties.opacity),t.id&&e.get("id")!==t.id&&e.set("id",t.id),t.name&&e.get("name")!==t.name&&e.set("name",t.name),"GL"===t.type){const n=this.generateGlStyle(t);Yr(e,n,t.id)}this.localCollections[t.id]=t}deleteLayer(t){this.mapService.removeLayerToGroup(t.layerGroup||"DEFAULTS",this.mapService.getLayer(t.name)),this.localCollections[t.id]&&delete this.localCollections[t.id]}generateGlStyle(t){const e={version:8,name:t.id,glyphs:"{fontstack}/{range}",sources:{},layers:[]};return e.sources[t.id]={type:"vector",tiles:[this.urlOfTilesServer.replace("{collectionId}",t.id)],maxzoom:13},e.layers=t.style,e}upsertDaemon(t){}deletetDaemon(t){}}},"5p+q":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFeedControllerFeedPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFeedControllerFeed(t){return this.getOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFeedControllerFeedPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFeedControllerFeed(t){return this.replaceOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFeedControllerFeedPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFeedControllerFeed(t){return this.deleteOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFeedControllerFeedPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFeedControllerFeed(t){return this.updateOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFeedControllerFeedPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFeedControllerFeed(t){return this.getManyBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFeedControllerFeedPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFeedControllerFeed(t){return this.createOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFeedControllerFeedPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFeedControllerFeed(t){return this.createManyBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFeedControllerFeedPath="/feed/{id}",t.ReplaceOneBaseFeedControllerFeedPath="/feed/{id}",t.DeleteOneBaseFeedControllerFeedPath="/feed/{id}",t.UpdateOneBaseFeedControllerFeedPath="/feed/{id}",t.GetManyBaseFeedControllerFeedPath="/feed",t.CreateOneBaseFeedControllerFeedPath="/feed",t.CreateManyBaseFeedControllerFeedPath="/feed/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};t.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6C75":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},"6Lir":function(t,e,n){"use strict";var l=n("n15R"),i=n("CZmH"),r=n("CvXi"),o=n("vvg4"),a=n("OPOH"),s=n("N0mK"),u=n("qJZF"),c=n("WTjQ"),d=n("f8l7");function h(t,e,n,l,i,r,o,a,s,u,c){for(var h,p,f=[],b=t[e]>t[n-l],m=i.length,g=t[e],_=t[e+1],y=t[e+=l],A=t[e+1],v=0,C=Math.sqrt(Math.pow(y-g,2)+Math.pow(A-_,2)),w=!1,P=0;P<m;++P){for(var x=i[h=b?m-P-1:P],S=a*s(u,x,c),k=r+S/2;e<n-l&&v+C<k;)g=y,_=A,y=t[e+=l],A=t[e+1],v+=C,C=Math.sqrt(Math.pow(y-g,2)+Math.pow(A-_,2));var M=k-v,O=Math.atan2(A-_,y-g);if(b&&(O+=O>0?-Math.PI:Math.PI),void 0!==p){var D=O-p;if(w=w||0!==D,D+=D>Math.PI?-2*Math.PI:D<-Math.PI?2*Math.PI:0,Math.abs(D)>o)return null}p=O;var T=M/C,E=Object(d.c)(g,y,T),I=Object(d.c)(_,A,T);f[h]=[E,I,S/2,O,x],r+=S}return w?f:[[f[0][0],f[0][1],f[0][2],f[0][3],i]]}var p=n("3er3"),f=n("ZXPP"),b=n("Dmnv"),m=n("tV43"),g=n.n(m),_=n("YX0d"),y=Object(r.j)(),A=Object(u.c)(),v=[],C=[],w=[],P=[],x=function(){function t(t,e,n,l){this.overlaps=n,this.pixelRatio=e,this.resolution=t,this.declutterItems=[],this.instructions=l.instructions,this.coordinates=l.coordinates,this.coordinateCache_={},this.renderedTransform_=Object(u.c)(),this.hitDetectionInstructions=l.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=l.fillStates||{},this.strokeStates=l.strokeStates||{},this.textStates=l.textStates||{},this.widths_={},this.labels_={}}return t.prototype.createLabel=function(t,e,n,l){var i=t+e+n+l;if(this.labels_[i])return this.labels_[i];var r=l?this.strokeStates[l]:null,o=n?this.fillStates[n]:null,a=this.textStates[e],s=a.scale*this.pixelRatio,u=b.a[a.textAlign||p.m],c=l&&r.lineWidth?r.lineWidth:0,d=t.split("\n"),h=d.length,f=[],m=Object(p.s)(a.font,d,f),g=Object(p.r)(a.font),y=g*h,A=m+c,v=[],C={width:Math.ceil((A+2)*s),height:Math.ceil((y+c)*s),contextInstructions:v};1!=s&&v.push("scale",[s,s]),v.push("font",a.font),l&&(v.push("strokeStyle",r.strokeStyle),v.push("lineWidth",c),v.push("lineCap",r.lineCap),v.push("lineJoin",r.lineJoin),v.push("miterLimit",r.miterLimit),(_.g?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D).prototype.setLineDash&&(v.push("setLineDash",[r.lineDash]),v.push("lineDashOffset",r.lineDashOffset))),n&&v.push("fillStyle",o.fillStyle),v.push("textBaseline","middle"),v.push("textAlign","center");var w,P=.5-u,x=u*A+P*c;if(l)for(w=0;w<h;++w)v.push("strokeText",[d[w],x+P*f[w],.5*(c+g)+w*g]);if(n)for(w=0;w<h;++w)v.push("fillText",[d[w],x+P*f[w],.5*(c+g)+w*g]);return this.labels_[i]=C,C},t.prototype.replayTextBackground_=function(t,e,n,l,i,r,o){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,n),t.lineTo.apply(t,l),t.lineTo.apply(t,i),t.lineTo.apply(t,e),r&&(this.alignFill_=r[2],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())},t.prototype.replayImageOrLabel_=function(t,e,n,l,i,o,a,s,c,d,h,f,b,m,g,_,x,S){var k=x||S,M=g+d>l.width?l.width-d:g,O=s+h>l.height?l.height-h:s,D=_[3]+M*b+_[1],T=_[0]+O*b+_[2],E=(e-=i*=b)-_[3],I=(n-=o*=b)-_[0];(k||0!==f)&&(v[0]=E,P[0]=E,v[1]=I,C[1]=I,C[0]=E+D,w[0]=C[0],w[1]=I+T,P[1]=w[1]);var L=null;if(0!==f){var j=e+i,R=n+o;L=Object(u.b)(A,j,R,1,1,f,-j,-R),Object(u.a)(A,v),Object(u.a)(A,C),Object(u.a)(A,w),Object(u.a)(A,P),Object(r.k)(Math.min(v[0],C[0],w[0],P[0]),Math.min(v[1],C[1],w[1],P[1]),Math.max(v[0],C[0],w[0],P[0]),Math.max(v[1],C[1],w[1],P[1]),y)}else Object(r.k)(E,I,E+D,I+T,y);var F=t.canvas,N=S?S[2]*b/2:0,Y=y[0]-N<=F.width&&y[2]+N>=0&&y[1]-N<=F.height&&y[3]+N>=0;if(m&&(e=Math.round(e),n=Math.round(n)),a){if(!Y&&1==a[4])return;Object(r.q)(a,y);var U=Y?[t,L?L.slice(0):null,c,l,d,h,M,O,e,n,b]:null;U&&(k&&U.push(x,S,v.slice(0),C.slice(0),w.slice(0),P.slice(0)),a.push(U))}else Y&&(k&&this.replayTextBackground_(t,v,C,w,P,x,S),Object(p.o)(t,L,c,l,d,h,M,O,e,n,b))},t.prototype.fill_=function(t){if(this.alignFill_){var e=Object(u.a)(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;t.save(),t.translate(e[0]%n,e[1]%n),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()},t.prototype.setStrokeStyle_=function(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.setLineDash&&(t.lineDashOffset=e[7],t.setLineDash(e[6]))},t.prototype.renderDeclutter=function(t,e,n,l){if(t&&t.length>5){var i=t[4];if(1==i||i==t.length-5){var o={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};if(l||(l=new g.a(9)),!l.collides(o)){l.insert(o);for(var a=5,s=t.length;a<s;++a){var u=t[a],c=u[0],d=c.globalAlpha;d!==n&&(c.globalAlpha=n),u.length>11&&this.replayTextBackground_(u[0],u[13],u[14],u[15],u[16],u[11],u[12]),p.o.apply(void 0,u),d!==n&&(c.globalAlpha=d)}}t.length=5,Object(r.l)(t)}}return l},t.prototype.drawLabelWithPointPlacement_=function(t,e,n,l){var i=this.textStates[e],r=this.createLabel(t,e,l,n),o=this.strokeStates[n],a=this.pixelRatio,s=b.a[i.textAlign||p.m],u=b.a[i.textBaseline||p.n],c=o&&o.lineWidth?o.lineWidth:0;return{label:r,anchorX:s*(r.width/a-2*i.scale)+2*(.5-s)*c,anchorY:u*r.height/a+2*(.5-u)*c}},t.prototype.execute_=function(t,e,n,i,a,s){var d;this.declutterItems.length=0,this.pixelCoordinates_&&Object(l.b)(e,this.renderedTransform_)?d=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),d=Object(o.c)(this.coordinates,0,this.coordinates.length,2,e,this.pixelCoordinates_),Object(u.j)(this.renderedTransform_,e));for(var m,g,_,y,A,v,C,w,P,x,S,k,M,O,D,T,E,I=0,L=n.length,j=0,R=0,F=0,N=null,Y=null,U=this.coordinateCache_,B=this.viewRotation_,z=Math.round(1e12*Math.atan2(-e[1],e[0]))/1e12,G={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:B},H=this.instructions!=n||this.overlaps?0:200;I<L;){var V=n[I];switch(V[0]){case f.c.BEGIN_GEOMETRY:(D=V[1]).getGeometry()?void 0===s||Object(r.F)(s,V[3])?++I:I=V[2]+1:I=V[2];break;case f.c.BEGIN_PATH:R>H&&(this.fill_(t),R=0),F>H&&(t.stroke(),F=0),R||F||(t.beginPath(),y=NaN,A=NaN),++I;break;case f.c.CIRCLE:var q=d[j=V[1]],W=d[j+1],$=d[j+2]-q,X=d[j+3]-W,K=Math.sqrt($*$+X*X);t.moveTo(q+K,W),t.arc(q,W,K,0,2*Math.PI,!0),++I;break;case f.c.CLOSE_PATH:t.closePath(),++I;break;case f.c.CUSTOM:j=V[1],m=V[2];var J=V[4],Q=6==V.length?V[5]:void 0;G.geometry=V[3],G.feature=D,I in U||(U[I]=[]);var Z=U[I];Q?Q(d,j,m,2,Z):(Z[0]=d[j],Z[1]=d[j+1],Z.length=2),J(Z,G),++I;break;case f.c.DRAW_IMAGE:j=V[1],m=V[2],g=V[4],_=V[5],P=a?null:V[6];var tt=V[7],et=V[8],nt=V[9],lt=V[10],it=V[11],rt=V[12],ot=V[13],at=V[14];if(!(x=V[3])&&V.length>=19){var st=this.drawLabelWithPointPlacement_(S=V[18],k=V[19],M=V[20],O=V[21]);V[3]=x=st.label,V[4]=g=(st.anchorX-V[22])*this.pixelRatio,V[5]=_=(st.anchorY-V[23])*this.pixelRatio,V[7]=tt=x.height,V[14]=at=x.width}var ut=void 0;V.length>24&&(ut=V[24]);var ct=void 0,dt=void 0,ht=void 0;V.length>16?(ct=V[15],dt=V[16],ht=V[17]):(ct=p.k,dt=!1,ht=!1),it&&z?rt+=B:it||z||(rt-=B);for(var pt=0,ft=0;j<m;j+=2)if(!(ut&&ut[pt++]<at/this.pixelRatio)){if(P){var bt=Math.floor(ft);P.length<bt+1&&((w=Object(r.j)()).push(P[0][4]),P.push(w)),w=P[bt]}this.replayImageOrLabel_(t,d[j],d[j+1],x,g,_,w,tt,et,nt,lt,rt,ot,i,at,ct,dt?N:null,ht?Y:null),w&&(ft===Math.floor(ft)&&this.declutterItems.push(this,w,D),ft+=1/w[4])}++I;break;case f.c.DRAW_CHARS:var mt=V[1],gt=V[2],_t=V[3];w=a?null:V[4];var yt=V[5];O=V[6];var At=V[7],vt=V[9];M=V[10];var Ct=V[11];S=V[12];var wt=V[14],Pt=this.textStates[k=V[13]],xt=Pt.font,St=Pt.scale*V[8],kt=void 0;xt in this.widths_?kt=this.widths_[xt]:this.widths_[xt]=kt={};var Mt=Object(c.a)(d,mt,gt,2),Ot=St*Object(p.q)(xt,S,kt);if(yt||Ot<=Mt){var Dt=h(d,mt,gt,2,S,(Mt-Ot)*b.a[this.textStates[k].textAlign],At,St,p.q,xt,kt);if(Dt){var Tt=void 0,Et=void 0,It=void 0,Lt=void 0;if(M)for(Tt=0,Et=Dt.length;Tt<Et;++Tt)It=this.createLabel((Lt=Dt[Tt])[4],k,"",M),this.replayImageOrLabel_(t,Lt[0],Lt[1],It,g=Lt[2]+Ct,_=_t*It.height+2*(.5-_t)*Ct-vt,w,It.height,1,0,0,Lt[3],wt,!1,It.width,p.k,null,null);if(O)for(Tt=0,Et=Dt.length;Tt<Et;++Tt)It=this.createLabel((Lt=Dt[Tt])[4],k,O,""),this.replayImageOrLabel_(t,Lt[0],Lt[1],It,g=Lt[2],_=_t*It.height-vt,w,It.height,1,0,0,Lt[3],wt,!1,It.width,p.k,null,null)}}this.declutterItems.push(this,w,D),++I;break;case f.c.END_GEOMETRY:if(void 0!==a){var jt=a(D=V[1]);if(jt)return jt}++I;break;case f.c.FILL:H?R++:this.fill_(t),++I;break;case f.c.MOVE_TO_LINE_TO:for(m=V[2],C=(E=d[(j=V[1])+1])+.5|0,(v=(T=d[j])+.5|0)===y&&C===A||(t.moveTo(T,E),y=v,A=C),j+=2;j<m;j+=2)v=(T=d[j])+.5|0,C=(E=d[j+1])+.5|0,j!=m-2&&v===y&&C===A||(t.lineTo(T,E),y=v,A=C);++I;break;case f.c.SET_FILL_STYLE:N=V,this.alignFill_=V[2],R&&(this.fill_(t),R=0,F&&(t.stroke(),F=0)),t.fillStyle=V[1],++I;break;case f.c.SET_STROKE_STYLE:Y=V,F&&(t.stroke(),F=0),this.setStrokeStyle_(t,V),++I;break;case f.c.STROKE:H?F++:t.stroke(),++I;break;default:++I}}R&&this.fill_(t),F&&t.stroke()},t.prototype.execute=function(t,e,n,l){this.viewRotation_=n,this.execute_(t,e,this.instructions,l,void 0,void 0)},t.prototype.executeHitDetection=function(t,e,n,l,i){return this.viewRotation_=n,this.execute_(t,e,this.hitDetectionInstructions,!0,l,i)},t}();n.d(e,"b",(function(){return D}));var S=[s.a.POLYGON,s.a.CIRCLE,s.a.LINE_STRING,s.a.IMAGE,s.a.TEXT,s.a.DEFAULT],k=function(){function t(t,e,n,l,i,r){this.maxExtent_=t,this.overlaps_=l,this.pixelRatio_=n,this.resolution_=e,this.renderBuffer_=r,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Object(u.c)(),this.createExecutors_(i)}return t.prototype.clip=function(t,e){var n=this.getClipCoords(e);t.beginPath(),t.moveTo(n[0],n[1]),t.lineTo(n[2],n[3]),t.lineTo(n[4],n[5]),t.lineTo(n[6],n[7]),t.clip()},t.prototype.createExecutors_=function(t){for(var e in t){var n=this.executorsByZIndex_[e];void 0===n&&(this.executorsByZIndex_[e]=n={});var l=t[e];for(var i in l)n[i]=new x(this.resolution_,this.pixelRatio_,this.overlaps_,l[i])}},t.prototype.hasExecutors=function(t){for(var e in this.executorsByZIndex_)for(var n=this.executorsByZIndex_[e],l=0,i=t.length;l<i;++l)if(t[l]in n)return!0;return!1},t.prototype.forEachFeatureAtCoordinate=function(t,e,n,o,a,c){var d=2*(o=Math.round(o))+1,h=Object(u.b)(this.hitDetectionTransform_,o+.5,o+.5,1/e,-1/e,-n,-t[0],-t[1]);this.hitDetectionContext_||(this.hitDetectionContext_=Object(i.a)(d,d));var p,f=this.hitDetectionContext_;f.canvas.width!==d||f.canvas.height!==d?(f.canvas.width=d,f.canvas.height=d):f.clearRect(0,0,d,d),void 0!==this.renderBuffer_&&(p=Object(r.j)(),Object(r.r)(p,t),Object(r.c)(p,e*(this.renderBuffer_+o),p));var b,m=function(t){if(void 0!==M[t])return M[t];for(var e=2*t+1,n=new Array(e),l=0;l<e;l++)n[l]=new Array(e);for(var i=t,r=0,o=0;i>=r;)O(n,t+i,t+r),O(n,t+r,t+i),O(n,t-r,t+i),O(n,t-i,t+r),O(n,t-i,t-r),O(n,t-r,t-i),O(n,t+r,t-i),O(n,t+i,t-r),2*((o+=1+2*++r)-i)+1>0&&(o+=1-2*(i-=1));return M[t]=n,n}(o);function g(t){for(var e=f.getImageData(0,0,d,d).data,n=0;n<d;n++)for(var l=0;l<d;l++)if(m[n][l]&&e[4*(l*d+n)+3]>0){var i=void 0;return(!c||b!=s.a.IMAGE&&b!=s.a.TEXT||-1!==c.indexOf(t))&&(i=a(t)),i||void f.clearRect(0,0,d,d)}}var _,y,A,v,C,w=Object.keys(this.executorsByZIndex_).map(Number);for(w.sort(l.g),_=w.length-1;_>=0;--_){var P=w[_].toString();for(A=this.executorsByZIndex_[P],y=S.length-1;y>=0;--y)if(void 0!==(v=A[b=S[y]])&&(C=v.executeHitDetection(f,h,n,g,p)))return C}},t.prototype.getClipCoords=function(t){var e=this.maxExtent_;if(!e)return null;var n=e[0],l=e[1],i=e[2],r=e[3],a=[n,l,n,r,i,r,i,l];return Object(o.c)(a,0,8,2,t,a),a},t.prototype.isEmpty=function(){return Object(a.d)(this.executorsByZIndex_)},t.prototype.execute=function(t,e,n,i,r,o){var a=Object.keys(this.executorsByZIndex_).map(Number);a.sort(l.g),this.maxExtent_&&(t.save(),this.clip(t,e));var u,c,d,h,p,f,b=r||S;for(u=0,c=a.length;u<c;++u){var m=a[u].toString();for(p=this.executorsByZIndex_[m],d=0,h=b.length;d<h;++d){var g=b[d];if(void 0!==(f=p[g]))if(!o||g!=s.a.IMAGE&&g!=s.a.TEXT)f.execute(t,e,n,i);else{var _=o[m];_?_.push(f,e.slice(0)):o[m]=[f,e.slice(0)]}}}this.maxExtent_&&t.restore()},t}(),M={0:[[!0]]};function O(t,e,n){var l,i=Math.floor(t.length/2);if(e>=i)for(l=i;l<e;l++)t[l][n]=!0;else if(e<i)for(l=e+1;l<i;l++)t[l][n]=!0}function D(t,e,n,i,r,o){for(var a=Object.keys(t).map(Number).sort(l.g),s=0,u=a.length;s<u;++s)for(var c=t[a[s].toString()],d=void 0,h=0,p=c.length;h<p;){var f=c[h++];f!==d&&(d=f,o.push({items:f.declutterItems,opacity:i}));var b=c[h++];f.execute(e,b,n,r)}}e.a=k},"6RrN":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7/LY");n("YGmB");class i{constructor(t,e,n){this.ref=t,this.selectAircraftService=e,this.trafficService=n,this.subscriptions=[],this.watchAircrafts=[],this.selectAircraft=null,this.highLightIcao=null}ngOnInit(){this.subscriptions.push(this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageWatchAircrafts(t)})),this.subscriptions.push(this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.orderedWatchAircrafts()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}orderedWatchAircrafts(){this.watchAircrafts.sort((t,e)=>e.latitude-t.latitude)}manageWatchAircrafts(t){if(t.haveStatus(l.a.SELECT)?this.selectAircraft=t.aircraft:this.selectAircraft&&this.selectAircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.SELECT)&&(this.selectAircraft=null),t.haveStatus(l.a.WATCH)){const e=this.watchAircrafts.findIndex(e=>e.icao===t.aircraft.icao);e>=0?this.watchAircrafts[e]=t.aircraft:(this.watchAircrafts.push(t.aircraft),this.orderedWatchAircrafts()),t.haveStatus(l.a.HOVER)?this.highLightIcao=t.aircraft.icao:t.haveStatus(l.a.HOVER)||t.aircraft.icao!==this.highLightIcao||(this.highLightIcao=void 0)}else this.watchAircrafts=this.watchAircrafts.filter(e=>e.icao!=t.aircraft.icao);this.ref.detectChanges()}mouseEnter(t){this.selectAircraftService.hoverAircraft([t])}mouseLeave(t){this.selectAircraftService.unhoverAircraft([t])}}},"6UMx":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return d})),n.d(e,"d",(function(){return h}));var l=n("8Y7J"),i=(n("Q+lL"),n("SVse"),n("IP0z"),n("Xd0L")),r=(n("cUpR"),n("/HVE")),o=(n("02hT"),n("omvX")),a=(n("MlvX"),n("s7LF"),l.Bb({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}}));function s(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var u=l.Bb({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function c(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(2,212992,null,0,i.x,[l.p,l.G,r.a,[2,i.m],[2,o.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),l.Ob(null,0),(t()(),l.Db(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),l.Ob(null,1),l.Ob(null,2)],(function(t,e){var n=e.component;t(e,2,0,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){t(e,1,0,l.Pb(e,2).unbounded)}))}},"6Y3p":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("XDhV");function i(t){return Array.isArray(t)?Object(l.c)(t):t}},"6g9s":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var l=['.ol-control i{cursor:default}.ol-control.ol-bar{left:50%;min-height:1em;min-width:1em;position:absolute;top:.5em;transform:translate(-50%,0);-webkit-transform:translate(-50%,0);white-space:nowrap}.ol-control.ol-toggle .ol-option-bar{display:none}.ol-control.ol-bar .ol-control{position:relative;top:auto;left:auto;right:auto;bottom:auto;display:inline-block;vertical-align:middle;background:0 0;padding:0;margin:0;transform:none;-webkit-transform:none}.ol-control.ol-bar .ol-bar{position:static}.ol-control.ol-bar .ol-control button{margin:2px 1px}.ol-control.ol-bar.ol-left{left:.5em;top:50%;transform:translate(0,-50%)}.ol-control.ol-bar.ol-left .ol-control{display:block}.ol-control.ol-bar.ol-right{left:auto;right:.5em;top:50%;transform:translate(0,-50%)}.ol-control.ol-bar.ol-right .ol-control{display:block}.ol-control.ol-bar.ol-bottom{top:auto;bottom:.5em}.ol-control.ol-bar.ol-top.ol-left,.ol-control.ol-bar.ol-top.ol-right{top:4.5em;transform:none}.ol-touch .ol-control.ol-bar.ol-top.ol-left,.ol-touch .ol-control.ol-bar.ol-top.ol-right{top:5.5em}.ol-control.ol-bar.ol-bottom.ol-left,.ol-control.ol-bar.ol-bottom.ol-right{top:auto;bottom:.5em;transform:none}.ol-control.ol-bar.ol-group{margin:1px 1px 1px 0}.ol-control.ol-bar.ol-left .ol-group,.ol-control.ol-bar.ol-right .ol-group{margin:1px 1px 0}.ol-control.ol-bar.ol-group button{border-radius:0;margin:0 0 0 1px}.ol-control.ol-bar.ol-left .ol-group button,.ol-control.ol-bar.ol-left.ol-group button,.ol-control.ol-bar.ol-right .ol-group button,.ol-control.ol-bar.ol-right.ol-group button{margin:0 0 1px}.ol-control.ol-bar.ol-group .ol-control:first-child>button{border-radius:5px 0 0 5px}.ol-control.ol-bar.ol-group .ol-control:last-child>button{border-radius:0 5px 5px 0}.ol-control.ol-bar.ol-left .ol-group .ol-control:first-child>button,.ol-control.ol-bar.ol-left.ol-group .ol-control:first-child>button,.ol-control.ol-bar.ol-right .ol-group .ol-control:first-child>button,.ol-control.ol-bar.ol-right.ol-group .ol-control:first-child>button{border-radius:5px 5px 0 0}.ol-control.ol-bar.ol-left .ol-group .ol-control:last-child>button,.ol-control.ol-bar.ol-left.ol-group .ol-control:last-child>button,.ol-control.ol-bar.ol-right .ol-group .ol-control:last-child>button,.ol-control.ol-bar.ol-right.ol-group .ol-control:last-child>button{border-radius:0 0 5px 5px}.ol-control.ol-bar .ol-rotate{opacity:1;visibility:visible}.ol-control.ol-bar .ol-rotate button{display:block}.ol-control.ol-bar .ol-toggle.ol-active button:hover,.ol-control.ol-bar .ol-toggle.ol-active>button{background:rgba(60,136,0,.7)}.ol-control.ol-toggle button:disabled{background:rgba(0,60,136,.3)}.ol-control.ol-bar .ol-control.ol-option-bar{display:none;position:absolute;top:100%;left:0;margin:5px 0;border-radius:0;background:rgba(255,255,255,.8);box-shadow:0 0 0 1px rgba(0,60,136,.5),1px 1px 2px rgba(0,0,0,.5)}.ol-control.ol-bar .ol-option-bar:before{content:"";border:.5em solid transparent;border-color:transparent transparent rgba(0,60,136,.5);position:absolute;bottom:100%;left:.3em}.ol-control.ol-bar .ol-option-bar .ol-control{display:table-cell}.ol-control.ol-bar .ol-control .ol-bar{display:none}.ol-control.ol-bar .ol-control.ol-active>.ol-option-bar{display:block}.ol-control.ol-bar .ol-control.ol-collapsed ul{display:none}.ol-control.ol-bar .ol-control.ol-text-button>div,.ol-control.ol-bar .ol-control.ol-text-button>div:hover{background:0 0;color:rgba(0,60,136,.5);width:auto;min-width:1.375em;margin:0}.ol-control.ol-bar .ol-control.ol-text-button{font-size:.9em;border-left:1px solid rgba(0,60,136,.8);border-radius:0}.ol-control.ol-bar .ol-control.ol-text-button:first-child{border-left:0}.ol-control.ol-bar .ol-control.ol-text-button>div{padding:.11em .3em;font-weight:400;font-size:1.14em;font-family:Arial,Helvetica,sans-serif}.ol-control.ol-bar .ol-control.ol-text-button div:hover{color:rgba(0,60,136,1)}.ol-control.ol-bar.ol-bottom .ol-option-bar{top:auto;bottom:100%}.ol-control.ol-bar.ol-bottom .ol-option-bar:before{border-color:rgba(0,60,136,.5) transparent transparent;bottom:auto;top:100%}.ol-control.ol-bar.ol-left .ol-option-bar{left:100%;top:0;bottom:auto;margin:0 5px}.ol-control.ol-bar.ol-left .ol-option-bar:before{border-color:transparent rgba(0,60,136,.5) transparent transparent;bottom:auto;right:100%;left:auto;top:.3em}.ol-control.ol-bar.ol-right .ol-option-bar{right:100%;left:auto;top:0;bottom:auto;margin:0 5px}.ol-control.ol-bar.ol-right .ol-option-bar:before{border-color:transparent transparent transparent rgba(0,60,136,.5);bottom:auto;left:100%;top:.3em}.ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar,.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar{top:100%;bottom:auto;left:.3em;right:auto;margin:5px 0}.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar{right:.3em;left:auto}.ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar:before,.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before{border-color:transparent transparent rgba(0,60,136,.5);bottom:100%;top:auto;left:.3em;right:auto}.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before{right:.3em;left:auto}.ol-control-title{position:absolute;top:0;left:0;right:0}.ol-center-position{position:absolute;bottom:0;left:50%;transform:translateX(-50%);background-color:rgba(255,255,255,.8);padding:.1em 1em}.ol-ext-dialog{position:fixed;top:-100%;left:0;width:150%;height:100%;opacity:0;background-color:rgba(0,0,0,.5);z-index:1000;pointer-events:none;transition:opacity .2s,top 0s .2s}.ol-ext-dialog.ol-visible{opacity:1;top:0;pointer-events:auto;transition:opacity .2s,top 0s}.ol-viewport .ol-ext-dialog{position:absolute}.ol-ext-dialog h2{margin:0 .5em .5em 0;display:none}.ol-ext-dialog>form.ol-title h2{display:block}.ol-ext-dialog>form{position:absolute;top:0;left:33.33%;min-width:5em;max-width:60%;min-height:3em;max-height:100%;background-color:#fff;border:1px solid #333;box-shadow:3px 3px 4px rgba(0,0,0,.5);transform:translate(-50%,-30%);transition:top .2s,transform .2s;padding:1em;box-sizing:border-box}.ol-ext-dialog>form.ol-closebox{padding-top:1.5em}.ol-ext-dialog>form.ol-title{padding-top:1em}.ol-ext-dialog>form.ol-button{padding-bottom:.5em}.ol-ext-dialog.ol-zoom>form{top:30%;transform:translate(-30%,-50%) scale(0)}.ol-ext-dialog.ol-visible>form{top:30%}.ol-ext-dialog.ol-zoom.ol-visible>form{transform:translate(-30%,-50%) scale(1)}.ol-ext-dialog>form .ol-content{overflow-x:hidden}.ol-ext-dialog>form .ol-closebox{position:absolute;top:.5em;right:.5em;width:1em;height:1em;cursor:pointer;display:none}.ol-ext-dialog>form.ol-closebox .ol-closebox{display:block}.ol-ext-dialog>form .ol-closebox:after,.ol-ext-dialog>form .ol-closebox:before{content:"";position:absolute;background-color:currentColor;top:50%;left:50%;width:1em;height:.1em;border-radius:.1em;transform:translate(-50%,-50%) rotate(45deg)}.ol-ext-dialog>form .ol-closebox:before{transform:translate(-50%,-50%) rotate(-45deg)}.ol-ext-dialog>form .ol-buttons{text-align:right}.ol-ext-dialog>form .ol-buttons input{margin-top:.5em;padding:.5em;background:0 0;border:0;font-size:1em;color:rgba(0,60,136,1);cursor:pointer}.ol-ext-dialog>form .ol-buttons input:hover{background-color:rgba(0,60,136,.1)}.ol-ext-dialog>form .ol-buttons input[type=submit]{font-weight:700}.ol-editbar .ol-button button{position:relative;display:inline-block;font-style:normal;box-sizing:border-box;vertical-align:middle}.ol-editbar .ol-button button:after,.ol-editbar .ol-button button:before{content:"";border-width:0;position:absolute;box-sizing:border-box;background-color:currentColor}.ol-editbar .ol-button button:focus{outline:0}.ol-editbar .ol-selection>button:before{width:.6em;height:1em;background-color:transparent;border:.5em solid currentColor;border-width:0 .25em .65em;border-color:currentColor transparent;box-shadow:0 .6em 0 -.23em;top:.35em;left:.5em;transform:translate(-50%,-50%) rotate(-30deg)}.ol-editbar .ol-selection0>button:after{width:.28em;height:.6em;background-color:transparent;border:.5em solid currentColor;border-width:0 .05em .7em;border-color:currentColor transparent;top:.5em;left:.7em;transform:rotate(-45deg)}.ol-editbar .ol-delete button:after,.ol-editbar .ol-delete button:before{width:1em;height:.2em;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg)}.ol-editbar .ol-delete button:after{transform:translate(-50%,-50%) rotate(-45deg)}.ol-editbar .ol-info button:before{width:.25em;height:.6em;border-radius:.03em;top:.47em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-info button:after{width:.25em;height:.2em;border-radius:.03em;box-shadow:-.1em .35em,-.1em .82em,.1em .82em;top:.12em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawpoint button:before{width:.7em;height:.7em;border-radius:50%;border:.15em solid currentColor;background-color:transparent;top:.2em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawpoint button:after{width:.4em;height:.4em;border:.15em solid currentColor;border-color:currentColor transparent;border-width:.4em .2em 0;background-color:transparent;top:.8em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawhole>button:before,.ol-editbar .ol-drawline>button:before,.ol-editbar .ol-drawpolygon>button:before{width:.8em;height:.8em;border:.13em solid currentColor;background-color:transparent;border-width:.2em .13em .09em;top:.2em;left:.25em;transform:rotate(10deg) perspective(1em) rotateX(40deg)}.ol-editbar .ol-drawline>button:before{border-bottom:0}.ol-editbar .ol-drawhole>button:after,.ol-editbar .ol-drawline>button:after,.ol-editbar .ol-drawpolygon>button:after{width:.3em;height:.3em;top:.2em;left:.25em;box-shadow:-.2em .55em,.6em .1em,.65em .7em}.ol-editbar .ol-drawhole>button:after{box-shadow:-.2em .55em,.6em .1em,.65em .7em,.25em .35em}.ol-editbar .ol-offset>button i,.ol-editbar .ol-transform>button i{position:absolute;width:.9em;height:.9em;overflow:hidden;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-editbar .ol-offset>button i{width:.8em;height:.8em}.ol-editbar .ol-offset>button i:before,.ol-editbar .ol-transform>button i:after,.ol-editbar .ol-transform>button i:before{content:"";height:1em;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg);box-shadow:.5em 0 0 .1em,-.5em 0 0 .1em;width:.1em;position:absolute;background-color:currentColor}.ol-editbar .ol-offset>button i:before{box-shadow:.45em 0 0 .1em,-.45em 0 0 .1em}.ol-editbar .ol-transform>button i:after{transform:translate(-50%,-50%) rotate(-45deg)}.ol-editbar .ol-split>button:before{width:.3em;height:.3em;top:.81em;left:.75em;border-radius:50%;box-shadow:.1em -.4em,-.15em -.25em}.ol-editbar .ol-split>button:after{width:.8em;height:.8em;top:.15em;left:-.1em;border:.1em solid currentColor;border-width:0 .2em .2em 0;background-color:transparent;border-radius:.1em;transform:rotate(20deg) scaleY(.6) rotate(-45deg)}.ol-editbar .ol-drawregular>button:before{width:.9em;height:.9em;top:50%;left:50%;border:.1em solid currentColor;background-color:transparent;transform:translate(-50%,-50%)}.ol-editbar .ol-drawregular .ol-bar .ol-text-button>div>div>div{border:.5em solid currentColor;border-color:transparent currentColor;display:inline-block;cursor:pointer;vertical-align:text-bottom}.ol-control.ol-bar.ol-editbar .ol-drawregular .ol-bar,.ol-editbar .ol-drawregular .ol-bar:before{left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawregular .ol-bar .ol-text-button{min-width:6em;text-align:center}.ol-editbar .ol-drawregular .ol-bar .ol-text-button>div>div>div:first-child{border-width:.5em .5em .5em 0;margin:0 .5em 0 0}.ol-editbar .ol-drawregular .ol-bar .ol-text-button>div>div>div:last-child{border-width:.5em 0 .5em .5em;margin:0 0 0 .5em}.ol-gauge{top:.5em;left:50%;transform:translateX(-50%)}.ol-gauge>*{display:inline-block;vertical-align:middle}.ol-gauge>span{margin:0 .5em}.ol-gauge>div{display:inline-block;width:200px;border:1px solid rgba(0,60,136,.5);border-radius:3px;padding:1px}.ol-gauge button{height:.8em;margin:0;max-width:100%}.ol-control.ol-bookmark{top:.5em;left:3em}.ol-control.ol-bookmark button{position:relative}.ol-control.ol-bookmark>button::before{content:"";position:absolute;border-width:10px 5px 4px;border-style:solid;border-color:#fff #fff transparent;top:50%;left:50%;transform:translate(-50%,-50%);height:0}.ol-control.ol-bookmark>div{display:none;min-width:5em}.ol-control.ol-bookmark input{font-size:.9em;margin:.1em 0;padding:0 .5em}.ol-control.ol-bookmark ul{margin:0;padding:0;list-style:none;min-width:10em}.ol-control.ol-bookmark li{color:rgba(0,60,136,.8);font-size:.9em;padding:0 .2em 0 .5em;cursor:default;clear:both}.ol-control.ol-bookmark li:hover{background-color:rgba(0,60,136,.5);color:#fff}.ol-control.ol-bookmark>div button{width:1em;height:.8em;float:right;background-color:transparent;cursor:pointer;border-radius:0}.ol-control.ol-bookmark>div button:before{content:"\\2A2F";color:#936;font-size:1.2em;line-height:1em;border-radius:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-bookmark input,.ol-bookmark ul li button{display:none}.ol-bookmark.ol-editable input,.ol-bookmark.ol-editable ul li button{display:block}.ol-control.ol-bar.ol-geobar .ol-control{display:inline-block;vertical-align:middle}.ol-control.ol-bar.ol-geobar .ol-bar{display:none}.ol-bar.ol-geobar.ol-active .ol-bar{display:inline-block}.ol-bar.ol-geobar .geolocBt button:after,.ol-bar.ol-geobar .geolocBt button:before{content:"";display:block;position:absolute;border:1px solid transparent;border-width:.3em .8em 0 .2em;border-color:#fff transparent transparent;transform:rotate(-30deg);top:.45em;left:.15em;font-size:1.2em}.ol-bar.ol-geobar .geolocBt button:after{border-width:0 .8em .3em .2em;border-color:transparent transparent #fff;transform:rotate(-61deg)}.ol-bar.ol-geobar .startBt button:before{content:"";display:block;position:absolute;width:1em;height:1em;background-color:#800;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-bar.ol-geobar .pauseBt button:after,.ol-bar.ol-geobar .pauseBt button:before{content:"";display:block;position:absolute;width:.25em;height:1em;background-color:#fff;top:50%;left:35%;transform:translate(-50%,-50%)}.ol-bar.ol-geobar .pauseBt button:after{left:65%}.ol-bar.ol-geobar.centerTrack .pauseBt,.ol-bar.ol-geobar.centerTrack .startBt,.ol-bar.ol-geobar.centerTrack.pauseTrack .pauseBt,.ol-bar.ol-geobar.pauseTrack .startBt,.ol-control.ol-bar.ol-geobar .centerBt,.ol-control.ol-bar.ol-geobar .pauseBt{display:none}.ol-bar.ol-geobar.centerTrack .centerBt,.ol-bar.ol-geobar.pauseTrack .pauseBt{display:inline-block}.ol-control.ol-globe{position:absolute;left:.5em;bottom:.5em;border-radius:50%;opacity:.7;transform:scale(.5);transform-origin:0 100%;-webkit-transform:scale(.5);-webkit-transform-origin:0 100%}.ol-control.ol-globe:hover{opacity:.9}.ol-control.ol-globe .panel{display:block;width:170px;height:170px;background-color:#fff;cursor:pointer;border-radius:50%;overflow:hidden;box-shadow:0 0 10px 5px rgba(255,255,255,.5)}.ol-control.ol-globe .panel .ol-viewport{border-radius:50%}.ol-control.ol-globe .ol-pointer{display:block;background-color:#fff;width:10px;height:10px;border:10px solid red;position:absolute;top:50%;left:50%;transform:translate(-15px,-40px);-webkit-transform:translate(-15px,-40px);border-radius:50%;z-index:1;transition:opacity .15s,top 0s,left 0s;-webkit-transition:opacity .15s,top,left}.ol-control.ol-globe .ol-pointer.hidden{opacity:0;transition:opacity .15s,top 3s,left 5s;-webkit-transition:opacity .15s,top 3s,left 5s}.ol-control.ol-globe .ol-pointer::before{border-radius:50%;box-shadow:6px 6px 10px 5px #000;content:"";display:block;height:0;left:0;position:absolute;top:23px;width:0}.ol-control.ol-globe .ol-pointer::after{content:"";width:0;height:0;display:block;position:absolute;border-width:20px 10px 0;border-color:red transparent;border-style:solid;left:-50%;top:100%}.ol-control.ol-globe .panel::before{border-radius:50%;box-shadow:-20px -20px 80px 2px rgba(0,0,0,.7) inset;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ol-control.ol-globe .panel::after{border-radius:50%;box-shadow:0 0 20px 7px rgba(255,255,255,1);content:"";display:block;height:0;left:23%;position:absolute;top:20%;transform:rotate(-40deg);width:20%;z-index:1}.ol-control.ol-globe.ol-collapsed .panel{display:none}.ol-control-top.ol-globe{bottom:auto;top:5em;transform-origin:0 0;-webkit-transform-origin:0 0}.ol-control-right.ol-globe{left:auto;right:.5em;transform-origin:100% 100%;-webkit-transform-origin:100% 100%}.ol-control-right.ol-control-top.ol-globe{left:auto;right:.5em;transform-origin:100% 0;-webkit-transform-origin:100% 0}.ol-gridreference{background:#fff;border:1px solid #000;overflow:auto;max-height:100%;top:0;right:0}.ol-gridreference input{width:100%}.ol-gridreference ul{margin:0;padding:0;list-style:none}.ol-gridreference li{padding:0 .5em;cursor:pointer}.ol-gridreference ul li:hover{background-color:#ccc}.ol-gridreference li.ol-title,.ol-gridreference li.ol-title:hover{background:rgba(0,60,136,.5);color:#fff;cursor:default}.ol-gridreference ul li .ol-ref{margin-left:.5em}.ol-gridreference ul li .ol-ref:before{content:"("}.ol-gridreference ul li .ol-ref:after{content:")"}.ol-control.ol-imageline{bottom:0;left:0;right:0;padding:0;overflow:visible;transition:.3s}.ol-control.ol-imageline.ol-collapsed{transform:translateY(100%)}.ol-imageline>div{height:4em;position:relative;white-space:nowrap;scroll-behavior:smooth;overflow:hidden;width:100%}.ol-imageline.ol-touch>div{overflow-x:auto}.ol-imageline>div.ol-move{scroll-behavior:unset}.ol-control.ol-imageline button{position:absolute;top:-1em;transform:translateY(-100%);margin:.65em;box-shadow:0 0 0 .15em rgba(255,255,255,.4)}.ol-control.ol-imageline button:before{content:\'\';position:absolute;transform:translate(-50%,-50%) rotate(135deg);top:40%;left:50%;width:.4em;height:.4em;border:.1em solid currentColor;border-width:.15em .15em 0 0}.ol-control.ol-imageline.ol-collapsed button:before{top:60%;transform:translate(-50%,-50%) rotate(-45deg)}.ol-imageline,.ol-imageline:hover{background-color:rgba(0,0,0,.75)}.ol-imageline.ol-arrow:after,.ol-imageline.ol-arrow:before{content:"";position:absolute;top:50%;left:.2em;border-color:#fff #000;border-width:1em .6em 1em 0;border-style:solid;transform:translateY(-50%);z-index:1;opacity:.8;pointer-events:none;box-shadow:-.6em 0 0 1em #fff}.ol-imageline.ol-arrow:after{border-width:1em 0 1em .6em;left:auto;right:.2em;box-shadow:.6em 0 0 1em #fff}.ol-imageline .ol-image{position:relative;height:100%;display:inline-block;cursor:pointer}.ol-imageline img{max-height:100%;border:.25em solid transparent;box-sizing:border-box;opacity:0;transition:1s}.ol-imageline img.ol-loaded{opacity:1}.ol-imageline .ol-image.select{background-color:#fff}.ol-imageline .ol-image span{position:absolute;width:125%;max-height:2.4em;left:50%;bottom:0;display:none;color:#fff;background-color:rgba(0,0,0,.5);font-size:.8em;overflow:hidden;white-space:normal;text-align:center;line-height:1.2em;transform:translateX(-50%) scaleX(.8)}.ol-imageline .ol-image:hover span{display:block}.ol-control.ol-routing.ol-isochrone .ol-method-distance,.ol-control.ol-routing.ol-isochrone .ol-method-time,.ol-control.ol-routing.ol-isochrone>button{position:relative}.ol-control.ol-routing.ol-isochrone .ol-method-time:before,.ol-control.ol-routing.ol-isochrone>button:before{content:\'\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:.1em solid currentColor;width:.8em;height:.8em;border-radius:50%;box-shadow:0 -.5em 0 -.35em,.4em -.35em 0 -.35em;clip:unset}.ol-control.ol-routing.ol-isochrone .ol-method-time:after,.ol-control.ol-routing.ol-isochrone>button:after{content:\'\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-60deg);border-radius:50%;border:.3em solid transparent;border-right-color:currentColor;box-shadow:none;box-sizing:border-box;clip:unset}.ol-control.ol-routing.ol-isochrone .ol-method-distance:before{content:\'\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-30deg);width:1em;height:.5em;border:.1em solid currentColor;box-sizing:border-box}.ol-control.ol-routing.ol-isochrone .ol-method-distance:after{content:\'\';position:absolute;width:.1em;height:.15em;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-30deg);box-shadow:inset 0 -.15em,0 .1em,.25em .1em,-.25em .1em}.ol-control.ol-routing.ol-isochrone .ol-direction-direct:before,.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:before{content:\'\';position:absolute;top:50%;left:30%;transform:translate(-50%,-50%);width:.3em;height:.3em;border-radius:50%;border:.1em solid currentColor;box-sizing:border-box;box-shadow:.25em 0 0 -.05em}.ol-control.ol-routing.ol-isochrone .ol-direction-direct:after,.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after{content:\'\';position:absolute;top:50%;left:70%;transform:translate(-50%,-50%);border:.4em solid transparent;border-width:.4em 0 .4em .4em;border-color:transparent currentColor}.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after{border-width:.4em .4em .4em 0}.ol-control.ol-isochrone.ol-collapsed .content{display:none}.ol-control.ol-isochrone input[type=number]{width:3em;text-align:right;margin:0 .1em}.ol-control.ol-isochrone .ol-distance input[type=number]{width:5em}.ol-isochrone .ol-distance,.ol-isochrone .ol-time{display:none}.ol-isochrone .ol-distance.selected,.ol-isochrone .ol-time.selected{display:block}.ol-control.ol-layerswitcher-popup{position:absolute;right:.5em;text-align:left;top:3em}.ol-control.ol-layerswitcher-popup .panel{clear:both;background:#fff}.ol-layerswitcher-popup .panel{list-style:none;padding:.25em;margin:0;overflow:hidden}.ol-layerswitcher-popup .panel ul{list-style:none;padding:0 0 0 20px;overflow:hidden}.ol-layerswitcher-popup.ol-collapsed .panel{display:none}.ol-layerswitcher-popup.ol-forceopen .panel{display:block}.ol-layerswitcher-popup button{background-color:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==);background-position:center;background-repeat:no-repeat;float:right;height:38px;width:38px}.ol-layerswitcher-popup li{color:#369;padding:.25em 1em;font-family:"Trebuchet MS",Helvetica,sans-serif;cursor:pointer}.ol-layerswitcher-popup li.ol-header{display:none}.ol-layerswitcher-popup li.select{background:rgba(0,60,136,.7);color:#fff}.ol-layerswitcher-popup li:hover{background:rgba(0,60,136,.9);color:#fff}.ol-control.ol-layerswitcher{position:absolute;right:.5em;text-align:left;top:3em;max-height:calc(100% - 6em);box-sizing:border-box;overflow:hidden}.ol-control.ol-layerswitcher .ol-switcherbottomdiv,.ol-control.ol-layerswitcher .ol-switchertopdiv{display:block;position:absolute;top:0;left:0;right:0;height:45px;background:#fff;z-index:2;opacity:1;cursor:pointer;border-top:2px solid transparent;border-bottom:2px solid #369;margin:0 2px;box-sizing:border-box}.ol-control.ol-layerswitcher.ol-collapsed .ol-switcherbottomdiv,.ol-control.ol-layerswitcher.ol-collapsed .ol-switchertopdiv{display:none}.ol-layerswitcher.ol-forceopen.ol-collapsed .ol-switcherbottomdiv,.ol-layerswitcher.ol-forceopen.ol-collapsed .ol-switchertopdiv{display:block}.ol-control.ol-layerswitcher .ol-switcherbottomdiv{top:auto;bottom:0;height:2em;border-top:2px solid #369;border-bottom:2px solid transparent}.ol-control.ol-layerswitcher .ol-switcherbottomdiv:before,.ol-control.ol-layerswitcher .ol-switchertopdiv:before{content:"";position:absolute;left:50%;top:50%;border:10px solid transparent;width:0;height:0;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);opacity:.8}.ol-control.ol-layerswitcher .ol-switcherbottomdiv:hover:before,.ol-control.ol-layerswitcher .ol-switchertopdiv:hover:before{opacity:1}.ol-control.ol-layerswitcher .ol-switchertopdiv:before{border-bottom-color:#369;border-top:0}.ol-control.ol-layerswitcher .ol-switcherbottomdiv:before{border-top-color:#369;border-bottom:0}.ol-control.ol-layerswitcher .panel{background-color:#fff;border-radius:0 0 2px 2px;clear:both;display:block}.ol-layerswitcher .panel{list-style:none;padding:.5em .5em 0;margin:0;overflow:hidden;font-family:Tahoma,Geneva,sans-serif;font-size:.9em;transition:top .3s;position:relative;top:0}.ol-layerswitcher .panel ul{list-style:none;padding:0 0 0 20px;overflow:hidden;clear:both}.ol-layerswitcher input[type=checkbox],.ol-layerswitcher input[type=radio]{display:none}.ol-layerswitcher .panel li{-weblit-transition:-webkit-transform .2s linear;transition:transform .2s linear;clear:both;display:block;border:1px solid transparent;box-sizing:border-box}.ol-layerswitcher .panel li.drag{opacity:.5;transform:scale(.8);-webkit-transform:scale(.8)}.ol-dragover{background:rgba(51,102,153,.5);opacity:.8}.forbidden .layerswitcher-opacity div,.forbidden .ol-layerswitcher-buttons div,.ol-layerswitcher .panel li.forbidden{background:rgba(255,0,0,.5);color:red!important}.ol-layerswitcher.drag,.ol-layerswitcher.drag *{cursor:no-drop!important}.ol-layerswitcher.drag .panel li.dropover,.ol-layerswitcher.drag .panel li.dropover *{cursor:n-resize!important;cursor:ns-resize!important;cursor:-webkit-grab!important;cursor:grab!important;cursor:-webkit-grabbing!important;cursor:grabbing!important}.ol-layerswitcher .panel li.dropover{background:rgba(51,102,153,.5)}.ol-layerswitcher .panel li label{display:inline-block;height:1.4em;max-width:12em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 .2em 0 1.7em;position:relative}.ol-layerswitcher [type=checkbox]+label:before,.ol-layerswitcher [type=checkbox]:checked+label:after,.ol-layerswitcher [type=radio]+label:before,.ol-layerswitcher [type=radio]:checked+label:after{content:\'\';position:absolute;left:.1em;top:.1em;width:1.2em;height:1.2em;border:2px solid #369;background:#fff;box-sizing:border-box}.ol-layerswitcher [type=radio]+label:after,.ol-layerswitcher [type=radio]+label:before{border-radius:50%}.ol-layerswitcher [type=radio]:checked+label:after{background:#369;margin:.3em;width:.6em;height:.6em}.ol-layerswitcher [type=checkbox]:checked+label:after{background:0 0;border-width:0 3px 3px 0;border-style:solid;border-color:#369;width:.7em;height:1em;transform:rotate(45deg);left:.55em;top:-.05em;box-shadow:1px 0 1px 1px #fff}.ol-layerswitcher .panel li.ol-layer-hidden{opacity:.6}.ol-layerswitcher.ol-collapsed .panel{display:none}.ol-layerswitcher.ol-forceopen .panel{display:block}.ol-layerswitcher>button{background-color:#fff;float:right;z-index:10;position:relative;font-size:1.7em}.ol-touch .ol-layerswitcher>button{font-size:2.5em}.ol-layerswitcher>button:after,.ol-layerswitcher>button:before{content:"";position:absolute;width:.75em;height:.75em;border-radius:.15em;transform:scaleY(.8) rotate(45deg)}.ol-layerswitcher>button:before{background:#e2e4e1;top:.32em;left:.34em;box-shadow:.1em .1em #325158}.ol-layerswitcher>button:after{top:.22em;left:.34em;background:#83bcc5;background-image:radial-gradient(circle at .85em .6em,#70b3be 0,#70b3be .65em,#83bcc5 .65em)}.ol-layerswitcher-buttons{display:block;float:right;text-align:right}.ol-layerswitcher-buttons>div{display:inline-block;position:relative;cursor:pointer;height:1em;width:1em;margin:2px;line-height:1em;text-align:center;background:#369;vertical-align:middle;color:#fff}.ol-layerswitcher .panel li>div{display:inline-block;position:relative}.ol-layerswitcher .ol-separator{display:block;width:0;height:0;padding:0;margin:0}.ol-layerswitcher .layerup{float:right;height:2.5em;background-color:#369;opacity:.5;cursor:move;cursor:ns-resize}.ol-layerswitcher .layerup:after,.ol-layerswitcher .layerup:before{border-color:#fff transparent;border-style:solid;border-width:.4em .4em 0;content:"";height:0;position:absolute;bottom:3px;left:.1em;width:0}.ol-layerswitcher .layerup:after{border-width:0 .4em .4em;top:3px;bottom:auto}.ol-layerswitcher .layerInfo{background:#369;border-radius:100%}.ol-layerswitcher .layerInfo:before{color:#fff;content:"i";display:block;font-size:.8em;font-weight:700;text-align:center;width:1.25em;position:absolute;left:0;top:0}.ol-layerswitcher .layerTrash{background:#369}.ol-layerswitcher .layerTrash:before{color:#fff;content:"\\00d7";font-size:1em;top:50%;left:0;right:0;text-align:center;line-height:1em;margin:-.5em 0;position:absolute}.ol-layerswitcher .layerExtent{background:#369}.ol-layerswitcher .layerExtent:before{border-right:1px solid #fff;border-bottom:1px solid #fff;content:"";display:block;position:absolute;left:6px;right:2px;top:6px;bottom:3px}.ol-layerswitcher .layerExtent:after{border-left:1px solid #fff;border-top:1px solid #fff;content:"";display:block;position:absolute;bottom:6px;left:2px;right:6px;top:3px}.ol-layerswitcher .collapse-layers,.ol-layerswitcher .expend-layers{margin:0 2px;background-color:transparent}.ol-layerswitcher .collapse-layers:before,.ol-layerswitcher .expend-layers:before{content:"";position:absolute;top:50%;left:0;margin-top:-2px;height:4px;width:100%;background:#369}.ol-layerswitcher .expend-layers:after{content:"";position:absolute;left:50%;top:0;margin-left:-2px;width:4px;height:100%;background:#369}.ol-layerswitcher .layerswitcher-opacity{position:relative;border:1px solid #369;height:3px;width:120px;margin:5px 1em 10px 7px;box-sizing:border-box;border-radius:3px;background:#69c;background:linear-gradient(to right,rgba(0,60,136,0),rgba(0,60,136,.6));cursor:pointer;box-shadow:1px 1px 1px rgba(0,0,0,.5)}.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor,.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before{position:absolute;width:20px;height:20px;top:50%;left:50%;background:rgba(0,60,136,.5);border-radius:50%;transform:translate(-50%,-50%);z-index:1}.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before{content:"";position:absolute;width:50%;height:50%}.ol-touch .ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor{width:26px;height:26px}.ol-layerswitcher .layerswitcher-opacity-label{display:none;position:absolute;right:-2.5em;bottom:5px;font-size:.8em}.ol-layerswitcher .layerswitcher-opacity-label::after{content:"%"}.ol-layerswitcher .layerswitcher-progress{display:block;margin:-4px 1em 2px 7px;width:120px}.ol-layerswitcher .layerswitcher-progress div{background-color:#369;height:2px;display:block;width:0}.ol-control.ol-layerswitcher-image{position:absolute;right:.5em;text-align:left;top:1em;transition:all .2s ease 0s;-webkit-transition:.2s}.ol-control.ol-layerswitcher-image.ol-collapsed{top:3em;transition:none;-webkit-transition:none}.ol-layerswitcher-image .panel{list-style:none;padding:.25em;margin:0;overflow:hidden}.ol-layerswitcher-image .panel ul{list-style:none;padding:0 0 0 20px;overflow:hidden}.ol-layerswitcher-image.ol-collapsed .panel{display:none}.ol-layerswitcher-image.ol-forceopen .panel{display:block;clear:both}.ol-layerswitcher-image button{background-color:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==);background-position:center;background-repeat:no-repeat;float:right;height:38px;width:38px;display:none}.ol-layerswitcher-image.ol-collapsed button{display:block;position:relative}.ol-layerswitcher-image li{border-radius:4px;border:3px solid transparent;box-shadow:1px 1px 4px rgba(0,0,0,.5);display:inline-block;width:64px;height:64px;margin:2px;position:relative;background-color:#fff;overflow:hidden;vertical-align:middle;cursor:pointer}.ol-layerswitcher-image li.ol-layer-hidden{opacity:.5;border-color:#555}.ol-layerswitcher-image li.ol-header{display:none}.ol-layerswitcher-image li img{position:absolute;max-width:100%}.ol-layerswitcher-image li.select{border:3px solid red}.ol-layerswitcher-image li p{display:none}.ol-layerswitcher-image li:hover p{background-color:rgba(0,0,0,.5);color:#fff;bottom:0;display:block;left:0;margin:0;overflow:hidden;position:absolute;right:0;text-align:center;height:1.2em;font-family:Verdana,Geneva,sans-serif;font-size:.8em}.ol-control.ol-legend{bottom:.5em;left:.5em;z-index:1;max-height:90%;max-width:90%;overflow-x:hidden;overflow-y:auto}.ol-control.ol-legend button{position:relative;display:none}.ol-control.ol-legend.ol-collapsed button{display:block}.ol-control.ol-legend.ol-uncollapsible button{display:none}.ol-control.ol-legend button.ol-closebox{display:block;position:absolute;top:0;right:0;background:0 0;cursor:pointer;z-index:1}.ol-control.ol-legend.ol-collapsed button.ol-closebox,.ol-control.ol-legend.ol-uncollapsible button.ol-closebox{display:none}.ol-control.ol-legend button.ol-closebox:before{content:"\\D7";background:0 0;color:rgba(0,60,136,.5);font-size:1.3em}.ol-control.ol-legend button.ol-closebox:hover:before{color:rgba(0,60,136,1)}.ol-control.ol-legend .ol-legendImg,.ol-control.ol-legend.ol-uncollapsible .ol-legendImg{position:absolute;z-index:-1}.ol-control.ol-legend.ol-collapsed .ol-legendImg{display:none}.ol-control.ol-legend.ol-uncollapsible .ol-legendImg{display:block}.ol-control.ol-legend .ol-legendImg canvas{height:100%}.ol-control.ol-legend>button:first-child:after,.ol-control.ol-legend>button:first-child:before{content:"";position:absolute;top:.25em;left:.2em;width:.2em;height:.2em;background-color:currentColor;box-shadow:0 .35em,0 .7em}.ol-control.ol-legend button:first-child:after{top:.27em;left:.55em;height:.15em;width:.6em}.ol-legend ul{min-width:1.5em;min-height:1.5em;margin:0 0 2px;padding:0;list-style:none;display:inline-block}.ol-control.ol-legend.ol-collapsed ul{display:none}.ol-control.ol-legend.ol-uncollapsible ul{display:block}.ol-legend ul li.ol-title{text-align:center;font-weight:700}.ol-legend ul li{overflow:hidden;padding:0 .5em}.ol-legend ul li div{display:inline-block;vertical-align:middle}.ol-control.ol-legend .ol-legend{display:inline-block}.ol-control.ol-legend.ol-collapsed .ol-legend{display:none}.ol-control.ol-mapzone{position:absolute;right:.5em;text-align:left;top:.5em;max-height:calc(100% - 6em);box-sizing:border-box;overflow:hidden}.ol-control.ol-mapzone.ol-collapsed{top:3em}.ol-control.ol-mapzone button{position:relative;float:right;margin-top:2.2em}.ol-touch .ol-control.ol-mapzone button{margin-top:1.67em}.ol-control.ol-mapzone.ol-collapsed button{margin-top:0}.ol-control.ol-mapzone button i{border:.1em solid currentColor;border-radius:50%;width:.9em;height:.9em;overflow:hidden;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-control.ol-mapzone button i:before{content:"";background-color:currentColor;width:.4em;height:.4em;position:absolute;left:.5em;top:.3em;border-radius:50%;box-shadow:.05em .3em 0 -.051em currentColor,-.05em -.35em 0 -.1em currentColor,-.5em -.35em 0 0 currentColor,-.65em .1em 0 -.03em currentColor,-.65em -.05em 0 -.05em currentColor}.ol-mapzone>div{position:relative;display:inline-block;width:5em;height:5em;margin:0 .2em 0 0}.ol-control.ol-mapzone.ol-collapsed>div{display:none}.ol-mapzone>div p{margin:0;position:absolute;bottom:0;color:#fff;font-weight:700;text-align:center;width:160%;overflow:hidden;font-family:\'Lucida Grande\',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;transform:scaleX(.625);transform-origin:0 0;cursor:default}.ol-notification{width:150%;bottom:0;border:0;background:0 0;margin:0;padding:0}.ol-notification>div,.ol-notification>div:hover{position:absolute;background-color:rgba(0,0,0,.8);color:#fff;bottom:0;left:33.33%;max-width:calc(66% - 4em);min-width:5em;max-height:5em;min-height:1em;border-radius:4px 4px 0 0;padding:.2em .5em;text-align:center;box-sizing:border-box;transform:translateX(-50%);transition:.3s;opacity:1}.ol-notification.ol-collapsed>div{bottom:-5em;opacity:0}.ol-notification a{color:#9cf;cursor:pointer}.ol-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.4);padding:1em;color:#fff;box-sizing:border-box;z-index:1;opacity:0;display:none;cursor:default;overflow:hidden;transition:all .5s;pointer-events:none}.ol-overlay.slide-up{transform:translateY(100%);-webkit-transform:translateY(100%)}.ol-overlay.slide-down{transform:translateY(-100%)}.ol-overlay.slide-left{transform:translateX(-100%)}.ol-overlay.slide-right{transform:translateX(100%)}.ol-overlay.zoom{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scale(0)}.ol-overlay.zoomout{transform:scale(3)}.ol-overlay.zoomrotate{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scale(0) rotate(360deg)}.ol-overlay.stretch{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scaleX(0)}.ol-overlay.stretchy{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scaleY(0)}.ol-overlay.wipe{opacity:1}.ol-overlay.flip{transform:perspective(600px) rotateY(180deg)}.ol-overlay.card{opacity:.5;transform:translate(-80%,100%) rotate(-.5turn)}.ol-overlay.book{transform:perspective(600px) rotateY(-180deg) scaleX(.6);transform-origin:10% 50%}.ol-overlay.book.visible{transform-origin:10% 50%}.ol-overlay.ol-visible{opacity:1;top:0;left:0;right:0;bottom:0;transform:none;pointer-events:all}.ol-overlay .ol-closebox{position:absolute;top:1em;right:1em;width:1em;height:1em;cursor:pointer;z-index:1}.ol-overlay .ol-closebox:before{content:"\\274c";display:block;text-align:center;vertical-align:middle}.ol-overlay .ol-fullscreen-image{position:absolute;top:0;left:0;bottom:0;right:0}.ol-overlay .ol-fullscreen-image img{position:absolute;max-width:100%;max-height:100%;box-sizing:border-box;padding:1em;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-overlay .ol-fullscreen-image.ol-has-title img{padding-bottom:3em}.ol-overlay .ol-fullscreen-image p{background-color:rgba(0,0,0,.5);padding:.5em;position:absolute;left:0;right:0;bottom:0;margin:0;text-align:center}.ol-control.ol-overview{position:absolute;left:.5em;text-align:left;bottom:.5em}.ol-control.ol-overview .panel{display:block;width:150px;height:150px;margin:2px;background-color:#fff;border:1px solid #369;cursor:pointer}.ol-overview:not(.ol-collapsed) button{position:absolute;bottom:2px;left:2px;z-index:2}.ol-control.ol-overview.ol-collapsed .panel{display:none}.ol-overview.ol-collapsed button:before{content:\'\\00bb\'}.ol-overview button:before{content:\'\\00ab\'}.ol-control-right.ol-overview{left:auto;right:.5em}.ol-control-right.ol-overview:not(.ol-collapsed) button{left:auto;right:2px}.ol-control-right.ol-overview.ol-collapsed button:before{content:\'\\00ab\'}.ol-control-right.ol-overview button:before{content:\'\\00bb\'}.ol-control-top.ol-overview{bottom:auto;top:5em}.ol-control-top.ol-overview:not(.ol-collapsed) button{bottom:auto;top:2px}.ol-permalink{position:absolute;top:.5em;right:2.5em}.ol-touch .ol-permalink{right:3em}.ol-permalink button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcFBjYE1ZK03gAAAUlJREFUOMuVk71KA1EQhc/NaiP+gCRpFHwGBSFlCrFVfAsbwSJCBMv06QIGJOBziI3EYAgkjU8gIloIAasIn4WzMqx34zrN7J6de+6ZmbNSgQDSfADcATPgHbgCyvonSYv8KEzWdofegH3gwmG9Ikq67sAESFzNueHThTyiEIKAmr2OJCUhhO30Aou+5aUQU2Ik65K2JC1KegohPGfUBkmvksqShnntHEcGOs60NXHfjmKz6czZTsNqbhzW+muwY2ATWAWawCOwBgxcTfvnvCPxKx4Cy5bPgBWgauRpdL2ImNlGhp3MabETm8mh94nDk4yCNE5/KTGg7xxbyhYAG0AN2AEqURIDZ0a0Fxn+LXAPXDpzRqMk6cOedz1ubdYl1b6NHgZRJe72nuu/CdSBl+yKi/zZlTnbaeXOJIesClwDU+ATeEhtX5TkCwAWUyAsHH1QAAAAAElFTkSuQmCC);background-position:center;background-repeat:no-repeat}.ol-control.ol-print{top:.5em;left:3em}.ol-control.ol-print button:before{content:"";width:.9em;height:.35em;position:absolute;left:50%;top:50%;transform:translateX(-50%);box-shadow:inset 0 0 0 .1em,inset .55em 0,0 .2em 0 -.1em}.ol-control.ol-print button:after{content:"";width:.7em;height:.6em;position:absolute;left:50%;top:25%;transform:translateX(-50%);box-shadow:inset 0 0 0 .15em}.ol-control.ol-profil{position:absolute;top:.5em;right:3em;text-align:right;overflow:hidden}.ol-profil .ol-inner{position:relative;padding:.5em;font-size:.8em}.ol-control.ol-profil .ol-inner{display:block;background-color:rgba(255,255,255,.7);margin:2.3em 2px 2px}.ol-control.ol-profil.ol-collapsed .ol-inner{display:none}.ol-profil canvas{display:block}.ol-profil button{display:block;position:absolute;right:2px;background-position:center;background-repeat:no-repeat;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAPCAYAAAALWoRrAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AgXCR4dn7j9TAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAz0lEQVQ4y7WTMU4CURRFz0xIpLUBEhdAY2tJYW1jaWlsXYVxDWyBhWCFCYugYgnDFPMOhTMJGf3AwHiqn/uTk5v/3gfAH6b0RH7sMiIe1Ts162z+q2lVVbd1XqijLuJk0zzP1/VxCGyApLgsy+HJphGx8DeFOm6L1bn6eVQaEW+m2amTRqx+1fkqKY2Ie0+zUx/U7WGYfNMsy57PmMMN8A1MWsWeUoPyivV8PWtPOzL7D+lYHfUtBXgHGLTCJfBxodD6k9Dsm8BLE17LobQ39nJC61aLVoVsAAAAAElFTkSuQmCC)}.ol-profil.ol-collapsed button{position:static}.ol-profil .ol-profilbar,.ol-profil .ol-profilcursor{position:absolute;pointer-events:none;width:1px;display:none}.ol-profil .ol-profilcursor{width:0;height:0}.ol-profil .ol-profilcursor:before{content:"";pointer-events:none;display:block;margin:-2px;width:5px;height:5px}.ol-profil .ol-profilbar,.ol-profil .ol-profilcursor:before{background:red}.ol-profil table{text-align:center;width:100%}.ol-profil table span{display:block}.ol-profilpopup{background-color:rgba(255,255,255,.5);margin:.5em;padding:0 .5em;position:absolute;top:-1em;white-space:nowrap}.ol-profilpopup.ol-left{right:0}.ol-profil table td{padding:0 2px}.ol-profil table .track-info{display:table-row}.ol-profil .over table .track-info,.ol-profil table .point-info{display:none}.ol-profil .over table .point-info{display:table-row}.ol-profil p{text-align:center;margin:0}.ol-control.ol-routing{top:.5em;left:3em;max-height:90%;overflow-y:auto}.ol-touch .ol-control.ol-routing{left:3.5em}.ol-control.ol-routing.ol-searching{opacity:.5}.ol-control.ol-routing .ol-car,.ol-control.ol-routing>button{position:relative}.ol-control.ol-routing .ol-car:after,.ol-control.ol-routing>button:after{content:"";position:absolute;width:.78em;height:.6em;border-radius:40% 50% 0 0/50% 70% 0 0;box-shadow:inset 0 0 0 .065em,-.35em .14em 0 -.09em,inset 0 -.37em,inset -.14em .005em;clip:rect(0 1em .5em -1em);top:.35em;left:.4em}.ol-control.ol-routing .ol-car:before,.ol-control.ol-routing>button:before{content:"";position:absolute;width:.28em;height:.28em;border-radius:50%;box-shadow:inset 0 0 0 1em,.65em 0;top:.73em;left:.2em}.ol-control.ol-routing .ol-pedestrian:after{content:"";position:absolute;width:.3em;height:.4em;top:.25em;left:50%;transform:translateX(-50%);box-shadow:inset .3em 0,.1em .5em 0 -.1em,-.1em .5em 0 -.1em,.25em .1em 0 -.1em,-.25em .1em 0 -.1em;border-top:.2em solid transparent}.ol-control.ol-routing .ol-pedestrian:before{content:"";position:absolute;width:.3em;height:.3em;top:.1em;left:50%;transform:translateX(-50%);border-radius:50%;background-color:currentColor}.ol-control.ol-routing.ol-collapsed .content,.ol-routing .ol-search ul .copy,.ol-routing .ol-search.ol-collapsed ul{display:none}.ol-routing .content .search-input>div>*{display:inline-block;vertical-align:top}.ol-routing .ol-result ul{list-style:none;display:block}.ol-routing .ol-result li{position:relative;min-height:1.65em}.ol-routing .ol-result li i{display:block;font-size:.8em;font-weight:700}.ol-routing .ol-result li:before{content:"";border:5px solid transparent;position:absolute;left:-1.75em;border-bottom-color:#369;border-width:.6em .4em;transform-origin:50% 125%;box-shadow:0 .65em 0 -.25em #369;top:-.8em}.ol-routing .ol-result li:after{content:"";position:absolute;width:.3em;height:.6em;left:-1.5em;background:#369;top:.6em}.ol-routing .ol-result li.R:before{transform:rotate(90deg)}.ol-routing .ol-result li.FR:before{transform:rotate(45deg)}.ol-routing .ol-result li.L:before{transform:rotate(-90deg)}.ol-routing .ol-result li.FL:before{transform:rotate(-45deg)}.ol-routing .content>i{vertical-align:middle;margin:0 .3em 0 .1em;font-style:normal}.ol-routing .ol-button,.ol-routing .ol-button:focus,.ol-routing .ol-car,.ol-routing .ol-pedestrian{font-size:1.1em;position:relative;display:inline-block;width:1.4em;height:1.4em;color:rgba(0,60,136,1);background-color:transparent;margin:0 .1em;opacity:.5;vertical-align:middle;outline:0;cursor:pointer}.ol-routing .ol-button.selected,.ol-routing .ol-button:hover,.ol-routing i.selected{opacity:1;background:0 0}.ol-control.ol-routing:hover{background-color:rgba(255,255,255,.85)}.search-input>div>button:before{content:\'\\00b1\'}.ol-viewport .ol-scale{left:.5em;bottom:2.5em;text-align:center;-webkit-transform:scaleX(.8);-webkit-transform-origin:0 0;transform:scaleX(.8);transform-origin:0 0}.ol-viewport .ol-scale input{background:0 0;border:0;width:8em;text-align:center}.ol-search{top:.5em;left:3em}.ol-touch .ol-search{left:3.5em}.ol-search button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAABPUlEQVQoU41SwXHCQAzUHh58eoUOIBWEDkI6oAToIKkg7iAuwakgpAIowXRACcnrzp6BzchjMx4wE/S6kW5XK60gvQghzJIkmVoqSZI9gJ9+/fINS5Cc1HX9QXIlIr/tpwcRyb33b7cIGnAIYQdg4pxbjcfj0nJ1Xc+Px+PGObdN03Q9RIAQwgpAnqbp7FKmjQGgJLlU1d2V7BjjRkQO3vvXIXarkyxVNbsCm2QR2Q0V7XOMMReRmfd+OQQubN6hYgs22ZtbnRcAtiRfLueqqmpJ8ovko6oeBq0KIWQA3gFkzrlmMafTaUEyI/mpqmbhVTRWWbRdbClPbeobQNES5KPRqOxs7DBn8K1DsAOKMZYApiTXqlrcDe4d0XN7jWeCfzt351tVle2iGalTcBd4gGDvvZ/fDe4RmCOFLe8Pr7mvEP2N9PQAAAAASUVORK5CYII=);background-repeat:no-repeat;background-position:center center;background-size:1em;top:2px;left:2px;float:left}.ol-search button.ol-revers{float:none;background-image:none;display:inline-block;vertical-align:bottom;position:relative;top:0;left:0}.ol-search.ol-revers button.ol-revers{background-color:rgba(0,136,60,.5)}.ol-control.ol-search.ol-collapsed button.ol-revers{display:none}.ol-search button.ol-revers:before{content:"";border:.1em solid currentColor;position:absolute;left:50%;right:50%;transform:translate(-50%,-50%);border-radius:50%;width:.55em;height:.55em}.ol-search button.ol-revers:after{content:"";position:absolute;left:50%;right:50%;transform:translate(-50%,-50%);width:.2em;height:.2em;background-color:transparent;box-shadow:.4em 0 currentColor,0 .4em currentColor,-.4em 0 currentColor,0 -.4em currentColor}.ol-search input{display:inline-block;border:0;margin:1px 1px 1px 2px;font-size:1.14em;padding-left:.3em;height:1.375em;box-sizing:border-box;transition:all .1s}.ol-touch .ol-search input,.ol-touch .ol-search ul{font-size:1.5em}.ol-control.ol-search.ol-collapsed>*,.ol-search.ol-revers>ul{display:none}.ol-control.ol-search.ol-collapsed>button{display:block}.ol-search ul{list-style:none;padding:0;margin:0;display:block;clear:both;cursor:pointer;max-width:17em;overflow-x:hidden;z-index:1;background:#fff}.ol-search ul li{padding:.1em .5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ol-search ul li.select,.ol-search ul li:hover{background-color:rgba(0,60,136,.5);color:#fff}.ol-search ul li img{float:left;max-height:2em}.ol-search li.copy{background:rgba(0,0,0,.5);color:#fff}.ol-search li.copy a{color:#fff;text-decoration:none}.ol-search.searching:before{content:\'\';position:absolute;height:3px;left:0;top:1.6em;-webkit-animation:.5s linear infinite alternate pulse;animation:.5s linear infinite alternate pulse;background:red;z-index:2}@-webkit-keyframes pulse{0%{left:0;right:95%}50%{left:30%;right:30%}100%{left:95%;right:0}}@keyframes pulse{0%{left:0;right:95%}50%{left:30%;right:30%}100%{left:95%;right:0}}.ol-search.IGNF-parcelle input{width:13.5em}.ol-search.IGNF-parcelle input:-moz-read-only{background:#ccc;opacity:.8}.ol-search.IGNF-parcelle input:read-only{background:#ccc;opacity:.8}.ol-search.IGNF-parcelle.ol-collapsed-list>ul.autocomplete{display:none}.ol-search.IGNF-parcelle label{display:block;clear:both}.ol-search.IGNF-parcelle>div input,.ol-search.IGNF-parcelle>div label{width:5em;box-sizing:border-box;display:inline-block;margin:.1em;font-size:1em}.ol-search.IGNF-parcelle ul.autocomplete-page{margin-top:.5em;width:100%;text-align:center;display:none}.ol-search.IGNF-parcelle.ol-collapsed-list ul.autocomplete-page,.ol-search.IGNF-parcelle.ol-collapsed-list ul.autocomplete-parcelle{display:block}.ol-search.IGNF-parcelle ul.autocomplete-parcelle,.ol-search.IGNF-parcelle.ol-collapsed ul.autocomplete-page,.ol-search.IGNF-parcelle.ol-collapsed ul.autocomplete-parcelle{display:none}.ol-search.IGNF-parcelle ul.autocomplete-page li{display:inline-block;color:#fff;background:rgba(0,60,136,.5);border-radius:50%;width:1.3em;height:1.3em;padding:.1em;margin:0 .1em}.ol-search.IGNF-parcelle ul.autocomplete-page li.selected{background:rgba(0,60,136,1)}.ol-searchgps input.search{display:none}.ol-control.ol-searchgps>button:first-child{background-image:none}.ol-control.ol-searchgps>button:first-child:before{content:"x/y";display:block;transform:scaleX(.8)}.ol-control.ol-searchgps .ol-latitude,.ol-control.ol-searchgps .ol-longitude{clear:both}.ol-control.ol-searchgps .ol-latitude label,.ol-control.ol-searchgps .ol-longitude label{width:5.5em;display:inline-block;text-align:right;transform:scaleX(.8);margin:0 -.8em 0 0;transform-origin:0 0}.ol-control.ol-searchgps .ol-latitude input,.ol-control.ol-searchgps .ol-longitude input{max-width:10em}.ol-control.ol-searchgps .ol-switch{cursor:pointer;float:right;margin:.5em;font-size:.9em}.ol-control.ol-searchgps .ol-switch input{display:none}.ol-control.ol-searchgps .ol-switch span{color:rgba(0,60,136,.5);position:relative;cursor:pointer;background-color:#ccc;transition:.4s;width:1.6em;height:1em;display:inline-block;border-radius:1em;font-size:1.3em;vertical-align:middle;margin:0 .2em}.ol-control.ol-searchgps .ol-switch span:before{position:absolute;content:"";height:1em;width:1em;left:0;top:50%;background-color:#fff;transition:.4s;border-radius:1em;display:block;transform:translateY(-50%);border:2px solid #ccc;box-sizing:border-box}.ol-control.ol-searchgps .ol-switch input:checked+span{background-color:currentColor}.ol-control.ol-searchgps .ol-switch input:checked+span:before{transform:translate(.6em,-50%);border-color:currentColor}.ol-searchgps .ol-decimal{display:inline-block}.ol-searchgps .ol-dms,.ol-searchgps.ol-dms .ol-decimal{display:none;width:3em;text-align:right}.ol-searchgps.ol-dms .ol-dms{display:inline-block}.ol-searchgps span.ol-dms{width:auto}.ol-searchgps.ol-control.ol-collapsed button.ol-geoloc{display:none}.ol-searchgps button.ol-geoloc{top:0;float:right;margin-right:3px;background-image:none;position:relative}.ol-searchgps button.ol-geoloc:before{content:"";position:absolute;left:50%;top:50%;width:.6em;height:.6em;border:.1em solid currentColor;border-radius:50%;transform:translate(-50%,-50%)}.ol-searchgps button.ol-geoloc:after{content:"";position:absolute;left:50%;top:50%;width:.2em;height:.2em;background-color:transparent;transform:translate(-50%,-50%);box-shadow:.45em 0 currentColor,-.45em 0 currentColor,0 -.45em currentColor,0 .45em currentColor,.25em 0 currentColor,-.25em 0 currentColor,0 -.25em currentColor,0 .25em currentColor}.ol-control.ol-select{top:.5em;left:3em}.ol-control.ol-select>button:before{content:"";position:absolute;box-sizing:border-box;width:.73em;height:.73em;background-color:transparent;border:.12em solid currentColor;border-radius:100%;top:.35em;left:.35em}.ol-control.ol-select>button:after{content:"";position:absolute;box-sizing:border-box;top:1.1em;left:1em;border-width:.08em .23em;border-style:solid;border-radius:.03em;transform:rotate(45deg);box-shadow:-.18em 0 0 -.03em}.ol-select>div button{width:auto;padding:0 .5em;float:right;font-weight:400}.ol-select .ol-delete{width:1.5em;height:1em;vertical-align:middle;display:inline-block;position:relative;cursor:pointer}.ol-select .ol-delete:before{content:\'\\00d7\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;text-align:center;font-weight:700}.ol-control.ol-select input{font-size:1em}.ol-control.ol-select select{font-size:1em;max-width:10em}.ol-control.ol-select select option.ol-default{color:#999;font-style:italic}.ol-control.ol-select>div{display:block}.ol-control.ol-select.ol-collapsed>div{display:none}.ol-control.ol-select.ol-select-check{max-width:20em}.ol-control.ol-select-check div,.ol-control.ol-select.ol-select-check label{position:relative;display:inline-block}.ol-control.ol-select.ol-select-check input,.ol-control.ol-select.ol-select-condition input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.ol-control.ol-select.ol-select-condition label div{position:relative;padding:0 1em 0 2em}.ol-control.ol-select.ol-select-condition label div:before{content:"";position:absolute;left:0;height:1.1em;width:1.8em;background-color:rgba(192,192,192,.7);box-sizing:border-box;border-radius:1em}.ol-control.ol-select.ol-select-condition label div:after{content:"";position:absolute;left:.1em;top:.1em;height:.9em;width:.9em;background-color:#fff;box-sizing:border-box;border-radius:1em;transition:.3s}.ol-control.ol-select.ol-select-condition input:checked~div:after{left:.7em}.ol-control.ol-select.ol-select-check label>div{padding:0 1em 0 1.5em}.ol-control.ol-select.ol-select-check label>div:before{content:"";position:absolute;width:1.1em;height:1.1em;left:.2em;background-color:rgba(192,192,192,.7);box-sizing:border-box}.ol-control.ol-select.ol-select-check label.ol-radio>div:before{border-radius:50%}.ol-control.ol-select.ol-select-check label>div:hover:before,.ol-control.ol-select.ol-select-condition label>div:hover:before{background-color:rgba(128,128,128,.7)}.ol-control.ol-select.ol-select-check input:checked~div:before,.ol-control.ol-select.ol-select-condition input:checked~div:before{background-color:rgba(0,60,136,.7)}.ol-control.ol-select.ol-select-check label.ol-checkbox input:checked~div:after{content:"";position:absolute;width:.5em;height:.8em;top:.05em;left:.5em;border:2px solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg);box-sizing:border-box}.ol-control.ol-select.ol-select-check label.ol-radio input:checked~div:before{border:.3em solid rgba(0,60,136,.7);background-color:#fff}.ol-select ul{list-style:none;margin:0;padding:0}.ol-control.ol-select input[type=text]{width:8em}.ol-select .ol-autocomplete{display:inline}.ol-select .ol-autocomplete ul{position:absolute;display:block;background:#fff;border:1px solid #999;min-width:10em;font-size:.85em}.ol-select .ol-autocomplete ul li{padding:0 .5em}.ol-select .ol-autocomplete ul li:hover{color:#fff;background:rgba(0,60,136,.5)}.ol-select ul.ol-hidden{display:none}.ol-select-multi li>div.ol-control.ol-select,.ol-select-multi li>div:hover{position:relative;top:unset;left:unset;background:0 0}.ol-select-multi li>div .ol-ok,.ol-select-multi li>div>button{display:none}.ol-select-multi li .ol-control.ol-select.ol-collapsed>div,.ol-select-multi li>div>div{display:block}.ol-control.ol-status{top:0;left:0;background:rgba(0,0,0,.2);color:#fff;font-size:.9em;padding:.3em 3em;border-radius:0;width:100%;box-sizing:border-box;pointer-events:none}.ol-control.ol-status.ol-bottom{top:auto;bottom:0}.ol-control.ol-status.ol-left{top:0;bottom:0;padding:.3em .5em .3em 3em;width:auto}.ol-control.ol-status.ol-right{top:0;bottom:0;left:auto;right:0;padding:.3em 3em .3em .5em;width:auto}.ol-control.ol-status.ol-center{top:50%;transform:translateY(-50%)}.ol-control.ol-storymap{top:.5em;left:.5em;bottom:.5em;max-width:35%;border-radius:.5em;position:absolute;height:auto}.ol-storymap{overflow:hidden;padding:0;height:100%;position:relative;scroll-behavior:smooth;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ol-storymap.ol-move{scroll-behavior:unset}.ol-storymap.ol-touch{overflow-y:auto}.ol-control.ol-storymap .chapter{padding:.5em}.ol-storymap .chapter{cursor:pointer;opacity:.4}.ol-storymap .chapter.ol-select{cursor:default;opacity:1}.ol-storymap .ol-scroll-next,.ol-storymap .ol-scroll-top{position:relative;min-height:1.7em;color:rgba(0,60,136,.5);text-align:center;cursor:pointer}.ol-storymap .ol-scroll-next span{padding-bottom:1.4em;display:block}.ol-storymap .ol-scroll-top span{padding-top:1.4em;display:block}.ol-storymap .ol-scroll-next:before,.ol-storymap .ol-scroll-top:before{content:"";border:.3em solid currentColor;border-radius:.3em;border-color:transparent currentColor currentColor transparent;width:.8em;height:.8em;display:block;position:absolute;left:50%;transform:translateX(-50%) rotate(45deg);-webkit-animation:.35s linear infinite alternate ol-bounce-bottom;animation:.35s linear infinite alternate ol-bounce-bottom;pointer-events:none}.ol-storymap .ol-scroll-top:before{border-color:currentColor transparent transparent currentColor;-webkit-animation:.35s linear infinite alternate ol-bounce-top;animation:.35s linear infinite alternate ol-bounce-top}@-webkit-keyframes ol-bounce-top{from{top:-.2em}to{top:.5em}}@keyframes ol-bounce-top{from{top:-.2em}to{top:.5em}}@-webkit-keyframes ol-bounce-bottom{from{bottom:-.2em}to{bottom:.5em}}@keyframes ol-bounce-bottom{from{bottom:-.2em}to{bottom:.5em}}.ol-storymap img[data-title]{cursor:pointer}.ol-swipe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%)}.ol-swipe:before{content:"";position:absolute;top:-5000px;bottom:-5000px;left:50%;width:4px;background:#fff;z-index:-1;transform:translate(-2px,0);-webkit-transform:translate(-2px,0)}.ol-swipe.horizontal:before{left:-5000px;right:-5000px;top:50%;bottom:auto;width:auto;height:4px}.ol-swipe,.ol-swipe button{cursor:ew-resize}.ol-swipe.horizontal,.ol-swipe.horizontal button{cursor:ns-resize}.ol-swipe button:after,.ol-swipe button:before,.ol-swipe:after{content:"";position:absolute;top:25%;bottom:25%;left:50%;width:2px;background:rgba(255,255,255,.8);transform:translate(-1px,0);-webkit-transform:translate(-1px,0)}.ol-swipe button:after{transform:translateX(5px);-webkit-transform:translateX(5px)}.ol-swipe button:before{transform:translateX(-7px);-webkit-transform:translateX(-7px)}.ol-control.ol-timeline{bottom:0;left:0;right:0;transition:.3s}.ol-control.ol-timeline.ol-collapsed{transform:translateY(100%)}.ol-timeline{overflow:hidden;padding:2px 0 0}.ol-timeline .ol-scroll{overflow:hidden;padding:0 50%;scroll-behavior:smooth;line-height:1em;height:6em}.ol-timeline .ol-scroll.ol-move{scroll-behavior:unset}.ol-timeline.ol-touch .ol-scroll{overflow-x:auto}.ol-timeline.ol-hasbutton .ol-scroll{margin-left:1.5em;padding:0 calc(50% - .75em)}.ol-timeline .ol-buttons{display:none;position:absolute;top:0;background:rgba(255,255,255,.5);width:1.5em;bottom:0;left:0;z-index:10}.ol-timeline.ol-hasbutton .ol-buttons{display:block}.ol-timeline .ol-buttons button{font-size:1em;margin:1px;position:relative}.ol-timeline .ol-buttons .ol-zoom-in:before,.ol-timeline .ol-buttons .ol-zoom-out:before{content:"+";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-timeline .ol-buttons .ol-zoom-out:before{content:\'\u2212\'}.ol-timeline .ol-scroll>div{height:100%;position:relative}.ol-timeline .ol-scroll .ol-times{background:rgba(255,255,255,.5);height:1em;bottom:0;position:absolute;left:-1000px;right:-1000px}.ol-timeline .ol-scroll .ol-time{position:absolute;font-size:.7em;color:#999;bottom:0;transform:translateX(-50%)}.ol-timeline .ol-scroll .ol-time.ol-year{color:#666;z-index:1}.ol-timeline .ol-scroll .ol-time:before{content:"";position:absolute;bottom:1.2em;left:50%;height:500px;border-left:1px solid currentColor}.ol-timeline .ol-scroll .ol-features{position:absolute;top:0;bottom:1em;left:-200px;right:-1000px;margin:0 0 0 200px;overflow:hidden}.ol-timeline .ol-scroll .ol-feature{position:absolute;font-size:.7em;color:#999;top:0;background:#fff;max-width:3em;max-height:2.4em;min-height:1em;line-height:1.2em;border:1px solid #ccc;overflow:hidden;padding:0 .5em 0 0;transition:all .3s;cursor:pointer;box-sizing:border-box}.ol-timeline.ol-zoomhover .ol-scroll .ol-feature.ol-select,.ol-timeline.ol-zoomhover .ol-scroll .ol-feature:hover{z-index:1;transform:scale(1.2);background:#eee}.ol-timeline .ol-center-date{display:none;position:absolute;left:50%;height:100%;width:2px;bottom:0;z-index:2;pointer-events:none;transform:translateX(-50%);background-color:red;opacity:.4}.ol-timeline.ol-hasbutton .ol-center-date{left:calc(50% + .75em)}.ol-timeline.ol-pointer .ol-center-date{display:block}.ol-timeline.ol-pointer .ol-center-date:after,.ol-timeline.ol-pointer .ol-center-date:before{content:\'\';border:.3em solid transparent;border-width:.3em .25em;position:absolute;left:50%;transform:translateX(-50%)}.ol-timeline.ol-pointer .ol-center-date:before{border-top-color:red;top:0}.ol-timeline.ol-pointer .ol-center-date:after{border-bottom-color:red;bottom:0}.ol-timeline.ol-interval .ol-center-date{display:block;background-color:transparent;border:0 solid #000;border-width:0 10000px;box-sizing:content-box;opacity:.2}.ol-target-overlay .ol-target{border:1px solid transparent;box-shadow:0 0 1px 1px #fff;display:block;height:20px;width:0}.ol-target-overlay .ol-target:after,.ol-target-overlay .ol-target:before{content:"";border:1px solid #369;box-shadow:0 0 1px 1px #fff;display:block;width:20px;height:0;position:absolute;top:10px;left:-10px}.ol-target-overlay .ol-target:after{box-shadow:none;height:20px;width:0;top:0;left:0}.ol-perspective-map{position:absolute;left:50%;top:50%;width:200%;height:200%;transform:translate(-50%,-50%)}.ol-perspective-map .ol-layer{z-index:-1!important}.ol-perspective-map .ol-layers{transform:translateY(0) perspective(200px) rotateX(0) scaleY(1)}.ol-perspective-map .ol-overlaycontainer-stopevent{width:50%!important;height:50%!important;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-overlay-container .ol-magnify{background:rgba(0,0,0,.5);border:3px solid #369;border-radius:50%;height:150px;width:150px;overflow:hidden;box-shadow:5px 5px 5px rgba(0,0,0,.5);position:relative;z-index:0}.ol-overlay-container .ol-magnify:before{border-radius:50%;box-shadow:0 0 40px 2px rgba(0,0,0,.25) inset;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ol-overlay-container .ol-magnify:after{border-radius:50%;box-shadow:0 0 20px 7px rgba(255,255,255,1);content:"";display:block;height:0;left:23%;position:absolute;top:20%;width:20%;z-index:1;transform:rotate(-40deg);-webkit-transform:rotate(-40deg)}.ol-popup.anim{visibility:hidden}.ol-popup.anim.visible{visibility:visible}.ol-popup.anim.visible>div{visibility:visible;transform:none;-webkit-animation:.4s ol-popup_bounce;animation:.4s ol-popup_bounce}@-webkit-keyframes ol-popup_bounce{from{transform:scale(0)}50%{transform:scale(1.1)}80%{transform:scale(.95)}to{transform:scale(1)}}@keyframes ol-popup_bounce{from{transform:scale(0)}50%{transform:scale(1.1)}80%{transform:scale(.95)}to{transform:scale(1)}}.ol-popup.anim.ol-popup-bottom.ol-popup-left>div{transform-origin:0 100%}.ol-popup.anim.ol-popup-bottom.ol-popup-right>div{transform-origin:100% 100%}.ol-popup.anim.ol-popup-bottom.ol-popup-center>div{transform-origin:50% 100%}.ol-popup.anim.ol-popup-top.ol-popup-left>div{transform-origin:0 0}.ol-popup.anim.ol-popup-top.ol-popup-right>div{transform-origin:100% 0}.ol-popup.anim.ol-popup-top.ol-popup-center>div{transform-origin:50% 0}.ol-popup.anim.ol-popup-middle.ol-popup-left>div{transform-origin:0 50%}.ol-popup.anim.ol-popup-middle.ol-popup-right>div{transform-origin:100% 50%}.ol-popup{font-size:.9em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ol-popup .ol-popup-content{overflow:hidden;cursor:default;padding:.25em .5em}.ol-popup.hasclosebox .ol-popup-content{margin-right:1.7em}.ol-popup .ol-popup-content:after{clear:both;content:"";display:block;font-size:0;height:0}.ol-popup .anchor{display:block;width:0;height:0;background:red;position:absolute;margin:-11px 22px;pointer-events:none}.ol-popup .anchor:after,.ol-popup .anchor:before{position:absolute}.ol-popup-right .anchor:after,.ol-popup-right .anchor:before{right:0}.ol-popup-top .anchor{top:0}.ol-popup-bottom .anchor{bottom:0}.ol-popup-right .anchor{right:0}.ol-popup-left .anchor{left:0}.ol-popup-center .anchor{left:50%;margin-left:0!important}.ol-popup-middle .anchor{top:50%;margin-top:0!important}.ol-popup-center.ol-popup-middle .anchor{display:none}.ol-popup.ol-fixed{margin:0!important;top:.5em!important;right:.5em!important;left:auto!important;bottom:auto!important;transform:none!important}.ol-popup.ol-fixed .anchor{display:none}.ol-popup.ol-fixed.anim>div{-webkit-animation:none;animation:none}.ol-popup .ol-fix{width:1em;height:.9em;background:#fff;position:relative;float:right;margin:.2em;cursor:pointer}.ol-popup .ol-fix:before{content:"";width:.8em;height:.7em;display:block;border:.1em solid #666;border-right-width:.3em;box-sizing:border-box;margin:.1em}.ol-popup.shadow{box-shadow:2px 2px 2px 2px rgba(0,0,0,.5)}.ol-popup .closeBox{background-color:rgba(0,60,136,.5);color:#fff;border:0;border-radius:2px;cursor:pointer;float:right;font-size:.9em;font-weight:700;width:1.4em;height:1.4em;margin:5px 5px 0 0;padding:0;position:relative;display:none}.ol-popup.hasclosebox .closeBox{display:block}.ol-popup .closeBox:hover{background-color:rgba(0,60,136,.7)}.ol-popup .closeBox:after{content:"\\00d7";font-size:1.5em;top:50%;left:0;right:0;width:100%;text-align:center;line-height:1em;margin:-.5em 0;position:absolute}.ol-popup.modifytouch{background-color:#eee}.ol-popup.modifytouch .ol-popup-content{padding:0 .25em;font-size:.85em;white-space:nowrap}.ol-popup.modifytouch .ol-popup-content a{text-decoration:none}.ol-popup.tooltips{background-color:#ffa}.ol-popup.tooltips .ol-popup-content{padding:0 .25em;font-size:.85em;white-space:nowrap}.ol-popup.default>div{background-color:#fff;border:1px solid #69f;border-radius:5px}.ol-popup.default{margin:-11px 0;transform:translate(0,-22px)}.ol-popup-top.ol-popup.default{margin:11px 0;transform:none}.ol-popup-left.default{margin:-11px -22px;transform:translate(0,-22px)}.ol-popup-top.ol-popup-left.default{margin:11px -22px;transform:none}.ol-popup-right.default{margin:-11px 22px;transform:translate(44px,-22px)}.ol-popup-top.ol-popup-right.default{margin:11px 22px;transform:translate(44px,0)}.ol-popup-middle.default{margin:0 10px;transform:none}.ol-popup-middle.ol-popup-right.default{margin:0 -10px;transform:translate(-20,0)}.ol-popup.default .anchor{color:#69f}.ol-popup.default .anchor:after,.ol-popup.default .anchor:before{content:"";border-color:currentColor transparent;border-style:solid;border-width:11px;margin:0 -11px}.ol-popup.default .anchor:after{border-color:#fff transparent;border-width:11px;margin:2px -11px}.ol-popup-top.default .anchor:after,.ol-popup-top.default .anchor:before{border-top:0;top:0}.ol-popup-bottom.default .anchor:after,.ol-popup-bottom.default .anchor:before{border-bottom:0;bottom:0}.ol-popup-middle.default .anchor:before{margin:-11px -33px;border-color:transparent currentColor}.ol-popup-middle.default .anchor:after{margin:-11px -31px;border-color:transparent #fff}.ol-popup-middle.ol-popup-left.default .anchor:after,.ol-popup-middle.ol-popup-left.default .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.default .anchor:after,.ol-popup-middle.ol-popup-right.default .anchor:before{border-right:0}.ol-popup.placemark{color:#c00;margin:-.65em 0;transform:translate(0,-1.3em)}.ol-popup.placemark>div{position:relative;font-size:15px;background-color:#fff;border:0;box-shadow:inset 0 0 0 .45em;width:2em;height:2em;border-radius:50%;min-width:unset;box-sizing:border-box}.ol-popup.placemark .ol-popup-content{overflow:hidden;cursor:default;text-align:center;padding:.25em 0;width:1em;height:1em;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);line-height:1em}.ol-popup.placemark .anchor{margin:0}.ol-popup.placemark .anchor:before{content:"";margin:-.5em;background:0 0;width:1em;height:.5em;border-radius:50%;box-shadow:0 1em .5em rgba(0,0,0,.5)}.ol-popup.placemark .anchor:after{content:"";border-color:currentColor transparent;border-style:solid;border-width:1em .7em 0;margin:-.75em -.7em;bottom:0}.ol-popup.placemark.shield>div{border-radius:.2em}.ol-popup.placemark.shield .anchor:after{border-width:.8em 1em 0;margin:-.7em -1em}.ol-popup.placemark.blazon>div{border-radius:.2em}.ol-popup.placemark.pushpin{margin:-2.2em 0;transform:translate(0,-4em)}.ol-popup.placemark.pushpin>div{border-radius:0;background:0 0!important;box-shadow:inset 2em 0 currentColor;width:1.1em}.ol-popup.placemark.pushpin>div:before{content:"";width:1.3em;height:1.5em;border-style:solid;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-color:currentColor transparent;border-width:.3em .5em .5em;pointer-events:none}.ol-popup.placemark.needle{margin:-2em 0;transform:translate(0,-4em)}.ol-popup.placemark.needle .anchor,.ol-popup.placemark.pushpin .anchor{margin:-1.2em}.ol-popup.placemark.needle .anchor:after,.ol-popup.placemark.pushpin .anchor:after{border-style:solid;border-width:2em .15em 0;margin:-.55em -.2em;width:.1em}.ol-popup.placemark.needle .anchor:before,.ol-popup.placemark.pushpin .anchor:before{margin:-.75em -.5em}.ol-popup.placemark.flagv{margin:-2em 1em;transform:translate(0,-4em)}.ol-popup.placemark.flagv>div{border-radius:0;box-shadow:none;background-color:transparent}.ol-popup.placemark.flagv>div:before{content:"";border:1em solid transparent;position:absolute;border-left:2em solid currentColor;pointer-events:none}.ol-popup.placemark.flagv .anchor{margin:-1.4em}.ol-popup.placemark.flag{margin:-2em 1em;transform:translate(0,-4em)}.ol-popup.placemark.flag>div{border-radius:0;transform-origin:0 150%!important}.ol-popup.placemark.flag .anchor{margin:-1.4em}.ol-popup.placemark.flag .anchor:after,.ol-popup.placemark.flagv .anchor:after{border-style:solid;border-width:2em .15em 0;margin:-.55em -1em;width:.1em}.ol-popup.placemark.flag .anchor:before,.ol-popup.placemark.flagv .anchor:before{margin:-.75em -1.25em}.ol-popup.placemark.flag.finish{margin:-2em 1em}.ol-popup.placemark.flag.finish>div{background-image:linear-gradient(45deg,currentColor 25%,transparent 25%,transparent 75%,currentColor 75%,currentColor),linear-gradient(45deg,currentColor 25%,transparent 25%,transparent 75%,currentColor 75%,currentColor);background-size:1em 1em;background-position:.5em 0,0 .5em;box-shadow:inset 0 0 0 .25em}.ol-popup.black .closeBox{background-color:rgba(0,0,0,.5);border-radius:5px;color:#f80}.ol-popup.black .closeBox:hover{background-color:rgba(0,0,0,.7);color:#da2}.ol-popup.black{margin:-20px 0;transform:translate(0,-40px)}.ol-popup.black>div{background-color:rgba(0,0,0,.6);border-radius:5px;color:#fff}.ol-popup-top.ol-popup.black{margin:20px 0;transform:none}.ol-popup-left.black{margin:-20px -22px;transform:translate(0,-40px)}.ol-popup-top.ol-popup-left.black{margin:20px -22px;transform:none}.ol-popup-right.black{margin:-20px 22px;transform:translate(44px,-40px)}.ol-popup-top.ol-popup-right.black{margin:20px 22px;transform:translate(44px,0)}.ol-popup-middle.black{margin:0 11px;transform:none}.ol-popup-left.ol-popup-middle.black{transform:none}.ol-popup-right.ol-popup-middle.black{margin:0 -11px;transform:translate(-22px,0)}.ol-popup.black .anchor{margin:-20px 11px;color:rgba(0,0,0,.6)}.ol-popup.black .anchor:before{content:"";border-color:currentColor transparent;border-style:solid;border-width:20px 11px}.ol-popup-top.black .anchor:before{border-top:0;top:0}.ol-popup-bottom.black .anchor:before{border-bottom:0;bottom:0}.ol-popup-middle.black .anchor:before{margin:-20px -22px;border-color:transparent currentColor}.ol-popup-middle.ol-popup-left.black .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.black .anchor:before{border-right:0}.ol-popup-center.black .anchor:before{margin:0 -10px}.ol-popup.tips .closeBox{background-color:red;border-radius:50%;color:#fff;width:1.2em;height:1.2em}.ol-popup.tips .closeBox:hover{background-color:#f40}.ol-popup.tips{margin:-20px 0;transform:translate(0,-40px)}.ol-popup.tips>div{background-color:#cea;border:5px solid #ad7;border-radius:5px;color:#333}.ol-popup-top.ol-popup.tips{margin:20px 0;transform:none}.ol-popup-left.tips{margin:-20px -22px;transform:translate(0,-40px)}.ol-popup-top.ol-popup-left.tips{margin:20px -22px;transform:none}.ol-popup-right.tips{margin:-20px 22px;transform:translate(44px,-40px)}.ol-popup-top.ol-popup-right.tips{margin:20px 22px;transform:translate(44px,0)}.ol-popup-middle.tips{margin:0;transform:none}.ol-popup-left.ol-popup-middle.tips{margin:0 22px;transform:none}.ol-popup-right.ol-popup-middle.tips{margin:0 -22px;transform:translate(-44px,0)}.ol-popup.tips .anchor{margin:-18px 22px;color:#ad7}.ol-popup.tips .anchor:before{content:"";border-color:currentColor transparent;border-style:solid;border-width:20px 11px}.ol-popup-top.tips .anchor:before{border-top:0;top:0}.ol-popup-bottom.tips .anchor:before{border-bottom:0;bottom:0}.ol-popup-center.tips .anchor:before{border-width:20px 6px;margin:0 -6px}.ol-popup-left.tips .anchor:before{border-left:0;margin-left:0}.ol-popup-right.tips .anchor:before{border-right:0;margin-right:0}.ol-popup-middle.tips .anchor:before{margin:-6px -41px;border-color:transparent currentColor;border-width:6px 20px}.ol-popup-middle.ol-popup-left.tips .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.tips .anchor:before{border-right:0}.ol-popup.warning .closeBox{background-color:red;border-radius:50%;color:#fff;font-size:.83em}.ol-popup.warning .closeBox:hover{background-color:#f40}.ol-popup.warning{background-color:#fd0;border-radius:3px;border:4px dashed red;margin:-28px 10px;color:#900;transform:translate(0,-56px)}.ol-popup-top.ol-popup.warning{margin:28px 10px;transform:none}.ol-popup-left.warning{margin:-28px -22px;transform:translate(0,-56px)}.ol-popup-top.ol-popup-left.warning{margin:28px -22px;transform:none}.ol-popup-right.warning{margin:-28px 22px;transform:translate(44px,-56px)}.ol-popup-top.ol-popup-right.warning{margin:28px 22px;transform:translate(44px,0)}.ol-popup-middle.warning{margin:0;transform:none}.ol-popup-left.ol-popup-middle.warning{margin:0 22px;transform:none}.ol-popup-right.ol-popup-middle.warning{margin:0 -22px;transform:translate(-44px,0)}.ol-popup.warning .anchor{margin:-33px 7px}.ol-popup.warning .anchor:before{content:"";border-color:red transparent;border-style:solid;border-width:30px 11px}.ol-popup-top.warning .anchor:before{border-top:0;top:0}.ol-popup-bottom.warning .anchor:before{border-bottom:0;bottom:0}.ol-popup-center.warning .anchor:before{margin:0 -21px}.ol-popup-middle.warning .anchor:before{margin:-10px -33px;border-color:transparent red;border-width:10px 22px}.ol-popup-middle.ol-popup-left.warning .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.warning .anchor:before{border-right:0}.ol-popup .ol-popupfeature table{width:100%}.ol-popup .ol-popupfeature table td{max-width:25em;overflow:hidden;text-overflow:ellipsis}.ol-popup .ol-popupfeature table td img{max-width:100px;max-height:100px}.ol-popup .ol-popupfeature tr:nth-child(2n+1){background-color:#eee}.ol-popup .ol-popupfeature .ol-zoombt{border:0;width:2em;height:2em;display:inline-block;color:rgba(0,60,136,.5);position:relative;background:0 0;outline:0}.ol-popup .ol-popupfeature .ol-zoombt:before{content:"";position:absolute;box-sizing:border-box;width:1em;height:1em;background-color:transparent;border:.17em solid currentColor;border-radius:100%;top:.3em;left:.3em}.ol-popup .ol-popupfeature .ol-zoombt:after{content:"";position:absolute;box-sizing:border-box;top:1.35em;left:1.15em;border-width:.1em .3em;border-style:solid;border-radius:.03em;transform:rotate(45deg);box-shadow:-.2em 0 0 -.04em}.ol-popup .ol-popupfeature .ol-count{float:right;margin:.25em 0}.ol-popup .ol-popupfeature .ol-next,.ol-popup .ol-popupfeature .ol-prev{border-style:solid;border-color:transparent rgba(0,60,136,.5);border-width:.5em 0 .5em .5em;display:inline-block;vertical-align:bottom;margin:0 .5em;cursor:pointer}.ol-popup .ol-popupfeature .ol-prev{border-width:.5em .5em .5em 0}.ol-popup.tooltips.black{transform:scaleY(1.3);padding:.2em .5em;background-color:rgba(0,0,0,.5)}.ol-popup-middle.tooltips.black .anchor:before{border-width:5px 10px;margin:-5px -21px}.ol-fixedoverlay{position:absolute;top:0;left:0;width:100%;height:100%}']},"7/LY":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return d}));var l=n("8Y7J"),i=n("wd/R"),r=n("2BCK"),o=n("oQtH"),a=(n("G0WM"),n("IheW")),s=n("c9QO");const u={UNSELECT:"unselect",HOVER:"hover",WATCH:"watch",SELECT:"select",FOLLOW:"follow",TRAJECTORY_LINE:"trajectory-line",TRAJECTORY:"trajectory",INTERCEPTION:"interception",FOCUS:"focus"};class c{constructor(t,e,n){this.status=[u.UNSELECT],this.metas={},this.aircraft=t,this.status=e,n&&(this.follow=n)}getMiniContext(){return{status:this.status,follow:this.follow,metas:this.metas}}dontHaveStatus(){return!(this.status.length>0)}haveOneStatus(t){for(const e in t)if(this.status.indexOf(t[e])>=0)return!0;return!1}haveMultiStatus(t){let e=!0;for(const n in t)this.status.indexOf(t[n])<0&&(e=!1);return e}haveStatus(t){return this.status.indexOf(t)>=0}addStatus(t){this.status.push(t)}addMultiStatus(t){for(const e in t)t.hasOwnProperty(e)&&this.status.push(t[e])}deleteStatus(t){this.status.indexOf(t)>=0&&this.status.splice(this.status.indexOf(t),1)}deleteMultiStatus(t){for(const e in t)this.status.indexOf(t[e])>=0&&this.status.splice(this.status.indexOf(t[e]),1)}addMeta(t,e){this.metas[t]=e}deleteMeta(t){this.metas[t]&&delete this.metas[t]}}let d=(()=>{class t{constructor(t,e){this.httpClient=t,this.tripService=e,this.selectedAircrafts={},this.selectedAircraftsChange=new l.r}getSelectedAircraftChangeEmitter(){return this.selectedAircraftsChange}getAircraftsContext(){return this.selectedAircrafts}getAircraftsSelected(){const t=[];for(const e in this.selectedAircrafts)this.selectedAircrafts.hasOwnProperty(e)&&t.push(this.selectedAircrafts[e].aircraft);return t}getAircraftsFocus(){const t=[];for(const e in this.selectedAircrafts)this.selectedAircrafts[e].haveStatus(u.FOCUS)&&t.push(this.selectedAircrafts[e].aircraft);return t}aircraftIsSelected(t){for(const e in this.selectedAircrafts)if(this.selectedAircrafts[e].haveStatus(u.SELECT)&&this.selectedAircrafts[e].aircraft.icao==t.icao)return!0;return!1}updateAircraft(t,e=!0){const n=t.icao;if(this.selectedAircrafts[n]){if(e&&this.selectedAircrafts[n].haveOneStatus([u.WATCH,u.SELECT])){const t=this.selectedAircrafts[n].aircraft;if(t.trace){const e={longitude:t.longitude,latitude:t.latitude,altitude:t.altitude,updatedAt:i(t.updatedAt).valueOf()},n=new r.a(e);t.trace.positions.push(n)}}this.selectedAircraftsChange.emit(this.selectedAircrafts[n])}}deleteAircraft(t){if(this.selectedAircrafts[t.icao]){const e=new c(t,[u.UNSELECT]);this.selectedAircraftsChange.emit(e),delete this.selectedAircrafts[t.icao]}}hoverAircraft(t){for(const e in this.selectedAircrafts)if(this.selectedAircrafts.hasOwnProperty(e)){const t=this.selectedAircrafts[e];t.haveStatus(u.HOVER)&&(t.deleteStatus(u.HOVER),this.checkAircraftHaveStatus(t))}for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];if(this.selectedAircrafts[n.icao]){const t=!this.selectedAircrafts[n.icao].haveStatus(u.HOVER);this.selectedAircrafts[n.icao].addStatus(u.HOVER),t&&this.selectedAircraftsChange.emit(this.selectedAircrafts[n.icao])}else this.selectedAircrafts[n.icao]=new c(n,[u.HOVER]),this.selectedAircraftsChange.emit(this.selectedAircrafts[n.icao])}}unhoverAircraft(t){for(const e of t)this.selectAircraft[e.icao]&&this.selectAircraft[e.icao].haveStatus(u.HOVER)&&(this.selectAircraft[e.icao].deleteStatus(u.HOVER),this.checkAircraftHaveStatus(this.selectAircraft[e.icao]))}toggleWatchAircraft(t,e){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.WATCH)?this.unWatchAircraft(t):this.watchAircraft(t,e)}watchAircraft(t,e){let n;this.selectedAircrafts[t.icao]?(this.selectedAircrafts[t.icao].haveStatus(u.WATCH)||this.selectedAircrafts[t.icao].addStatus(u.WATCH),n=this.selectedAircrafts[t.icao]):(n=new c(t,[u.WATCH]),this.selectedAircrafts[t.icao]=n),this.getCompleteAircraft(n,e)}unWatchAircraft(t){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.WATCH)&&(this.selectedAircrafts[t.icao].deleteStatus(u.WATCH),this.checkAircraftHaveStatus(this.selectedAircrafts[t.icao]))}toggleSelectAircraft(t,e){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.SELECT)?this.unSelectAircrafts(t):this.selectAircraft(t,e)}selectAircraft(t,e,n=!0){for(const i in this.selectedAircrafts)this.selectedAircrafts[i].haveStatus(u.SELECT)&&(this.selectedAircrafts[i].deleteMultiStatus([u.SELECT,u.TRAJECTORY,u.TRAJECTORY_LINE,u.FOLLOW]),this.checkAircraftHaveStatus(this.selectedAircrafts[i]));let l;if(this.selectedAircrafts[t.icao]?(this.selectedAircrafts[t.icao].addStatus(u.SELECT),l=this.selectedAircrafts[t.icao]):(l=new c(t,[u.SELECT]),this.selectedAircrafts[t.icao]=l),n)return this.getCompleteAircraft(l,e);this.selectedAircraftsChange.emit(l)}unSelectAircrafts(t){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.SELECT)&&(this.selectedAircrafts[t.icao].deleteMultiStatus([u.SELECT,u.TRAJECTORY,u.TRAJECTORY_LINE,u.FOLLOW,u.FOCUS,u.INTERCEPTION]),this.checkAircraftHaveStatus(this.selectedAircrafts[t.icao]))}addStatus(t){const e=this.getAircraftSelected();e.addStatus(t),this.selectedAircraftsChange.emit(e)}deleteStatus(t){const e=this.getAircraftSelected();e.deleteStatus(t),this.selectedAircraftsChange.emit(e)}followAircraft(){this.addStatus(u.FOLLOW)}unFollowAircraft(){this.deleteStatus(u.FOLLOW)}trajectoryLineAircraft(){this.addStatus(u.TRAJECTORY_LINE)}unTrajectoryLineAircraft(){this.deleteStatus(u.TRAJECTORY_LINE)}trajectoryAircraft(){const t=this.getAircraftSelected();t.addStatus(u.TRAJECTORY),t.haveStatus(u.TRAJECTORY_LINE)||t.addStatus(u.TRAJECTORY_LINE),this.selectedAircraftsChange.emit(t)}unTrajectoryAircraft(){const t=this.getAircraftSelected();t.deleteMultiStatus([u.TRAJECTORY,u.TRAJECTORY_LINE]),this.selectedAircraftsChange.emit(t)}interceptionAircraft(){this.addStatus(u.INTERCEPTION)}unInterceptionAircraft(){this.deleteStatus(u.INTERCEPTION)}focusAircraft(){this.addStatus(u.FOCUS)}unFocusAircraft(){this.deleteStatus(u.FOCUS)}getAircraftSelected(){for(const t in this.selectedAircrafts)if(this.selectedAircrafts[t].haveStatus(u.SELECT))return this.selectedAircrafts[t]}checkAircraftHaveStatus(t){if(t.aircraft&&this.selectedAircrafts[t.aircraft.icao]&&this.selectedAircrafts[t.aircraft.icao].dontHaveStatus()){delete this.selectedAircrafts[t.aircraft.icao];const e=new c(t.aircraft,[u.UNSELECT]);this.selectedAircraftsChange.emit(e)}else this.selectedAircraftsChange.emit(t)}getCompleteAircraft(t,e){let n={icao:t.aircraft.icao};return e&&(n.createdAt=i(t.aircraft.createdAt).format(),n.since=i(e).format()),new Promise((e,l)=>{this.tripService.tripControllerGetTrip(n).subscribe(n=>{n.data&&t&&t.haveOneStatus([u.WATCH,u.SELECT])&&n.data&&(t.aircraft.updateTripAircraft(n.data),this.selectedAircraftsChange.emit(t),this.getImageAircraft(t),e())})})}getImageAircraft(t){this.httpClient.get(o.a.config.api["external.pictures"].url+"?m="+t.aircraft.icao).subscribe(e=>{e&&e&&e.data&&e.data[0]&&e.data[0].image&&(t.aircraft.pictureUrl=e.data[0].image.replace("/thumbnails",""))})}}return t.ngInjectableDef=l.cc({factory:function(){return new t(l.dc(a.c),l.dc(s.a))},token:t,providedIn:"root"}),t})()},"76lH":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[n][2]?i[n][2]:i[n][1]:l?i[n][0]:i[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(t,e,n){"use strict";let l=1;const i=(()=>Promise.resolve())(),r={};function o(t){return t in r&&(delete r[t],!0)}const a={setImmediate(t){const e=l++;return r[e]=!0,i.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var s=n("3N8a");class u extends s.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var c=n("IjjT");class d extends c.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,l=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++l<i&&(t=e.shift()));if(this.active=!1,n){for(;++l<i&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,"a",(function(){return h}));const h=new d(u)},"7QIX":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("/HVE"),r=n("XNiG"),o=n("itXk"),a=n("GyhO"),s=n("HDdC"),u=n("IzEk"),c=n("7o/Q");class d{constructor(t){this.total=t}call(t,e){return e.subscribe(new h(t,this.total))}}class h extends c.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var p=n("Kj3r"),f=n("lJxs"),b=n("JX91"),m=n("1G5W"),g=n("KCVW");n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return P}));const _=new Set;let y,A=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):v}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!_.has(t))try{y||(y=document.createElement("style"),y.setAttribute("type","text/css"),document.head.appendChild(y)),y.sheet&&(y.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),_.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(i.a))},token:t,providedIn:"root"}),t})();function v(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new r.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return w(Object(g.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=w(Object(g.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(o.a)(e);return n=Object(a.a)(n.pipe(Object(u.a)(1)),n.pipe(t=>t.lift(new d(1)),Object(p.a)(0))),n.pipe(Object(f.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new s.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(b.a)(e),Object(f.a)(e=>({query:t,matches:e.matches})),Object(m.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(A),Object(l.dc)(l.G))},token:t,providedIn:"root"}),t})();function w(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const P={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"7aV9":function(t,e,n){!function(t){"use strict";t.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,n){return t>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7drA":function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a;for(e=parseInt(e,10),n=parseFloat(n),l=parseFloat(l),o=1,i=Math.round(n);i>=t.BLOCK_SIZE;)i-=t.BLOCK_SIZE,o+=1;for(o%=t.GRIDSQUARE_SET_ROW_SIZE,a=0,r=Math.round(l);r>=t.BLOCK_SIZE;)r-=t.BLOCK_SIZE,a+=1;return a%=t.GRIDSQUARE_SET_COL_SIZE,function(e,n,l){var i,r;switch(0===n?n=t.GRIDSQUARE_SET_ROW_SIZE-1:n-=1,0===l?l=t.GRIDSQUARE_SET_COL_SIZE-1:l-=1,e){case 1:i="ABCDEFGH",r="ABCDEFGHJKLMNPQRSTUV";break;case 2:i="JKLMNPQR",r="FGHJKLMNPQRSTUVABCDE";break;case 3:i="STUVWXYZ",r="ABCDEFGHJKLMNPQRSTUV";break;case 4:i="ABCDEFGH",r="FGHJKLMNPQRSTUVABCDE";break;case 5:i="JKLMNPQR",r="ABCDEFGHJKLMNPQRSTUV";break;case 6:i="STUVWXYZ",r="FGHJKLMNPQRSTUVABCDE";break;default:throw"Invalid set passed to lettersHelper"}return i.charAt(l)+r.charAt(n)}(function(t){var e;switch(t=parseInt(t,10),t%=6){case 0:e=6;break;case 1:e=1;break;case 2:e=2;break;case 3:e=3;break;case 4:e=4;break;case 5:e=5;break;default:e=-1}return e}(e),o,a)}return function(n){return t=n,{findGridLetters:e}}})?l.apply(e,[]):l)||(t.exports=i)},"7gqw":function(t,e,n){"use strict";function l(t){return"https://upload.wikimedia.org/wikipedia/".concat(t)}t.exports={ABW:l("commons/f/f6/Flag_of_Aruba.svg"),AFG:l("commons/9/9a/Flag_of_Afghanistan.svg"),AGO:l("commons/9/9d/Flag_of_Angola.svg"),AIA:l("commons/b/b4/Flag_of_Anguilla.svg"),ALA:l("commons/5/52/Flag_of_%C3%85land.svg"),ALB:l("commons/3/36/Flag_of_Albania.svg"),AND:l("commons/1/19/Flag_of_Andorra.svg"),ANT:l("commons/e/eb/Flag_of_the_Netherlands_Antilles_(1959%E2%80%931986).svg"),ARE:l("commons/c/cb/Flag_of_the_United_Arab_Emirates.svg"),ARG:l("commons/1/1a/Flag_of_Argentina.svg"),ARM:l("commons/2/2f/Flag_of_Armenia.svg"),ASM:l("commons/8/87/Flag_of_American_Samoa.svg"),ATG:l("commons/8/89/Flag_of_Antigua_and_Barbuda.svg"),AUS:l("commons/8/88/Flag_of_Australia_(converted).svg"),AUT:l("commons/4/41/Flag_of_Austria.svg"),AZE:l("commons/d/dd/Flag_of_Azerbaijan.svg"),BDI:l("commons/5/50/Flag_of_Burundi.svg"),BEL:l("commons/6/65/Flag_of_Belgium.svg"),BEN:l("commons/0/0a/Flag_of_Benin.svg"),BES:l("commons/2/20/Flag_of_the_Netherlands.svg"),BFA:l("commons/3/31/Flag_of_Burkina_Faso.svg"),BGD:l("commons/f/f9/Flag_of_Bangladesh.svg"),BGR:l("commons/9/9a/Flag_of_Bulgaria.svg"),BHR:l("commons/2/2c/Flag_of_Bahrain.svg"),BHS:l("commons/9/93/Flag_of_the_Bahamas.svg"),BIH:l("commons/b/bf/Flag_of_Bosnia_and_Herzegovina.svg"),BLM:l("commons/0/03/Saint-Barthel\xe9my_Ic\xf4ne.svg"),BLR:l("commons/8/85/Flag_of_Belarus.svg"),BLZ:l("commons/e/e7/Flag_of_Belize.svg"),BMU:l("commons/b/bf/Flag_of_Bermuda.svg"),BOL:l("commons/5/5b/Bolivia_Flag.svg"),BRA:l("commons/0/05/Flag_of_Brazil.svg"),BRB:l("commons/e/ef/Flag_of_Barbados.svg"),BRN:l("commons/9/9c/Flag_of_Brunei.svg"),BTN:l("commons/9/91/Flag_of_Bhutan.svg"),BWA:l("commons/f/fa/Flag_of_Botswana.svg"),CAF:l("commons/6/6f/Flag_of_the_Central_African_Republic.svg"),CAN:l("commons/d/d9/Flag_of_Canada_(Pantone).svg"),CCK:l("commons/7/74/Flag_of_the_Cocos_(Keeling)_Islands.svg"),CHE:l("commons/f/f3/Flag_of_Switzerland.svg"),CHL:l("commons/7/78/Flag_of_Chile.svg"),CHN:l("commons/f/fa/Flag_of_the_People%27s_Republic_of_China.svg"),CIV:l("commons/f/fe/Flag_of_C\xf4te_d%27Ivoire.svg"),CMR:l("commons/4/4f/Flag_of_Cameroon.svg"),COD:l("commons/1/11/Flag_of_the_Democratic_Republic_of_the_Congo_(3-2).svg"),COG:l("commons/9/92/Flag_of_the_Republic_of_the_Congo.svg"),COK:l("commons/3/35/Flag_of_the_Cook_Islands.svg"),COL:l("commons/2/21/Flag_of_Colombia.svg"),COM:l("commons/d/df/Flag_of_the_Comoros_(3-2).svg"),CPV:l("commons/3/38/Flag_of_Cape_Verde.svg"),CRI:l("commons/b/bc/Flag_of_Costa_Rica_(state).svg"),CUB:l("commons/b/bd/Flag_of_Cuba.svg"),CUW:l("commons/b/b1/Flag_of_Cura\xe7ao.svg"),CXR:l("commons/6/67/Flag_of_Christmas_Island.svg"),CYM:l("commons/0/0f/Flag_of_the_Cayman_Islands.svg"),CYP:l("commons/d/d4/Flag_of_Cyprus.svg"),CZE:l("commons/c/cb/Flag_of_the_Czech_Republic.svg"),DEU:l("commons/b/ba/Flag_of_Germany.svg"),DJI:l("commons/3/34/Flag_of_Djibouti.svg"),DMA:l("commons/c/c4/Flag_of_Dominica.svg"),DNK:l("commons/9/9c/Flag_of_Denmark.svg"),DOM:l("commons/9/9f/Flag_of_the_Dominican_Republic.svg"),DZA:l("commons/7/77/Flag_of_Algeria.svg"),ECU:l("commons/e/e8/Flag_of_Ecuador.svg"),EGY:l("commons/f/fe/Flag_of_Egypt.svg"),ERI:l("commons/2/29/Flag_of_Eritrea.svg"),ESH:l("commons/2/26/Flag_of_the_Sahrawi_Arab_Democratic_Republic.svg"),ESP:l("commons/9/9a/Flag_of_Spain.svg"),EST:l("commons/8/8f/Flag_of_Estonia.svg"),ETH:l("commons/7/71/Flag_of_Ethiopia.svg"),FIN:l("commons/b/bc/Flag_of_Finland.svg"),FJI:l("commons/b/ba/Flag_of_Fiji.svg"),FLK:l("commons/8/83/Flag_of_the_Falkland_Islands.svg"),FRA:l("commons/c/c3/Flag_of_France.svg"),FRO:l("commons/3/3c/Flag_of_the_Faroe_Islands.svg"),FSM:l("commons/e/e4/Flag_of_the_Federated_States_of_Micronesia.svg"),GAB:l("commons/0/04/Flag_of_Gabon.svg"),GBR:l("commons/a/ae/Flag_of_the_United_Kingdom.svg"),GEO:l("commons/0/0f/Flag_of_Georgia.svg"),GGY:l("commons/f/fa/Flag_of_Guernsey.svg"),GHA:l("commons/1/19/Flag_of_Ghana.svg"),GIB:l("commons/0/02/Flag_of_Gibraltar.svg"),GIN:l("commons/e/ed/Flag_of_Guinea.svg"),GLP:l("commons/9/9f/Flag_of_France_%287x10%29.svg"),GMB:l("commons/7/77/Flag_of_The_Gambia.svg"),GNB:l("commons/0/01/Flag_of_Guinea-Bissau.svg"),GNQ:l("commons/3/31/Flag_of_Equatorial_Guinea.svg"),GRC:l("commons/5/5c/Flag_of_Greece.svg"),GRD:l("commons/b/bc/Flag_of_Grenada.svg"),GRL:l("commons/0/09/Flag_of_Greenland.svg"),GTM:l("commons/e/ec/Flag_of_Guatemala.svg"),GUF:l("commons/e/ed/Flag_of_France_%28Pantone%29.svg"),GUM:l("commons/0/07/Flag_of_Guam.svg"),GUY:l("commons/9/99/Flag_of_Guyana.svg"),HKG:l("commons/5/5b/Flag_of_Hong_Kong.svg"),HND:l("commons/8/8c/Flag_of_Honduras_(darker_variant).svg"),HRV:l("commons/1/1b/Flag_of_Croatia.svg"),HTI:l("commons/5/56/Flag_of_Haiti.svg"),HUN:l("commons/c/c1/Flag_of_Hungary.svg"),IDN:l("commons/9/9f/Flag_of_Indonesia.svg"),IMN:l("commons/b/bc/Flag_of_the_Isle_of_Man.svg"),IND:l("commons/4/41/Flag_of_India.svg"),IRL:l("commons/c/c0/Republic_of_Ireland_Flag.svg"),IRN:l("commons/c/ca/Flag_of_Iran.svg"),IRQ:l("commons/f/f6/Flag_of_Iraq.svg"),ISL:l("commons/c/ce/Flag_of_Iceland.svg"),ISR:l("commons/d/d4/Flag_of_Israel.svg"),ITA:l("commons/0/03/Flag_of_Italy.svg"),JAM:l("commons/0/0a/Flag_of_Jamaica.svg"),JEY:l("commons/1/1c/Flag_of_Jersey.svg"),JOR:l("commons/c/c0/Flag_of_Jordan.svg"),JPN:l("commons/b/bc/Flag_of_Japan%28bordered%29.svg"),KAZ:l("commons/d/d3/Flag_of_Kazakhstan.svg"),KEN:l("commons/4/49/Flag_of_Kenya.svg"),KGZ:l("commons/c/c7/Flag_of_Kyrgyzstan.svg"),KHM:l("commons/8/83/Flag_of_Cambodia.svg"),KIR:l("commons/d/d3/Flag_of_Kiribati.svg"),KNA:l("commons/f/fe/Flag_of_Saint_Kitts_and_Nevis.svg"),KOR:l("commons/0/09/Flag_of_South_Korea.svg"),KWT:l("commons/a/aa/Flag_of_Kuwait.svg"),LAO:l("commons/5/56/Flag_of_Laos.svg"),LBN:l("commons/5/59/Flag_of_Lebanon.svg"),LBR:l("commons/b/b8/Flag_of_Liberia.svg"),LBY:l("commons/0/05/Flag_of_Libya.svg"),LCA:l("commons/9/9f/Flag_of_Saint_Lucia.svg"),LIE:l("commons/4/47/Flag_of_Liechtenstein.svg"),LKA:l("commons/1/11/Flag_of_Sri_Lanka.svg"),LSO:l("commons/4/4a/Flag_of_Lesotho.svg"),LTU:l("commons/1/11/Flag_of_Lithuania.svg"),LUX:l("commons/d/da/Flag_of_Luxembourg.svg"),LVA:l("commons/8/84/Flag_of_Latvia.svg"),MAC:l("commons/6/63/Flag_of_Macau.svg"),MAF:l("commons/d/dd/Flag_of_Saint-Martin_%28fictional%29.svg"),MAR:l("commons/2/2c/Flag_of_Morocco.svg"),MCO:l("commons/e/ea/Flag_of_Monaco.svg"),MDA:l("commons/2/27/Flag_of_Moldova.svg"),MDG:l("commons/b/bc/Flag_of_Madagascar.svg"),MDV:l("commons/0/0f/Flag_of_Maldives.svg"),MEX:l("commons/f/fc/Flag_of_Mexico.svg"),MHL:l("commons/2/2e/Flag_of_the_Marshall_Islands.svg"),MKD:l("commons/7/79/Flag_of_North_Macedonia.svg"),MLI:l("commons/9/92/Flag_of_Mali.svg"),MLT:l("commons/7/73/Flag_of_Malta.svg"),MMR:l("commons/8/8c/Flag_of_Myanmar.svg"),MNE:l("commons/6/64/Flag_of_Montenegro.svg"),MNG:l("commons/4/4c/Flag_of_Mongolia.svg"),MNP:l("commons/e/e0/Flag_of_the_Northern_Mariana_Islands.svg"),MOZ:l("commons/d/d0/Flag_of_Mozambique.svg"),MRT:l("commons/4/43/Flag_of_Mauritania.svg"),MSR:l("commons/d/d0/Flag_of_Montserrat.svg"),MTQ:l("commons/2/21/Flag_of_the_Territorial_Collectivity_of_Martinique.svg"),MUS:l("commons/7/77/Flag_of_Mauritius.svg"),MWI:l("commons/d/d1/Flag_of_Malawi.svg"),MYS:l("commons/6/66/Flag_of_Malaysia.svg"),MYT:l("commons/c/c3/Flag_of_France.svg"),NAM:l("commons/0/00/Flag_of_Namibia.svg"),NCL:l("commons/6/66/Flag_of_FLNKS.svg"),NER:l("commons/f/f4/Flag_of_Niger.svg"),NFK:l("commons/4/48/Flag_of_Norfolk_Island.svg"),NGA:l("commons/7/79/Flag_of_Nigeria.svg"),NIC:l("commons/1/19/Flag_of_Nicaragua.svg"),NIU:l("commons/0/01/Flag_of_Niue.svg"),NLD:l("commons/2/20/Flag_of_the_Netherlands.svg"),NOR:l("commons/d/d9/Flag_of_Norway.svg"),NPL:l("commons/9/9b/Flag_of_Nepal.svg"),NRU:l("commons/3/30/Flag_of_Nauru.svg"),NZL:l("commons/3/3e/Flag_of_New_Zealand.svg"),OMN:l("commons/d/dd/Flag_of_Oman.svg"),PAK:l("commons/3/32/Flag_of_Pakistan.svg"),PAN:l("commons/a/ab/Flag_of_Panama.svg"),PCN:l("commons/8/88/Flag_of_the_Pitcairn_Islands.svg"),PER:l("commons/c/cf/Flag_of_Peru.svg"),PHL:l("commons/9/99/Flag_of_the_Philippines.svg"),PLW:l("commons/4/48/Flag_of_Palau.svg"),PNG:l("commons/e/e3/Flag_of_Papua_New_Guinea.svg"),POL:l("commons/1/12/Flag_of_Poland.svg"),PRI:l("commons/2/28/Flag_of_Puerto_Rico.svg"),PRK:l("commons/5/51/Flag_of_North_Korea.svg"),PRT:l("commons/5/5c/Flag_of_Portugal.svg"),PRY:l("commons/2/27/Flag_of_Paraguay.svg"),PSE:l("commons/f/f4/Palestine_Flag.svg"),PYF:l("commons/d/db/Flag_of_French_Polynesia.svg"),QAT:l("commons/6/65/Flag_of_Qatar.svg"),REU:l("commons/5/5a/Flag_of_R\xe9union.svg"),ROU:l("commons/7/73/Flag_of_Romania.svg"),RUS:l("commons/f/f3/Flag_of_Russia.svg"),RWA:l("commons/1/17/Flag_of_Rwanda.svg"),SAU:l("commons/0/0d/Flag_of_Saudi_Arabia.svg"),SDN:l("commons/0/01/Flag_of_Sudan.svg"),SEN:l("commons/f/fd/Flag_of_Senegal.svg"),SGP:l("commons/4/48/Flag_of_Singapore.svg"),SGS:l("commons/e/ed/Flag_of_South_Georgia_and_the_South_Sandwich_Islands.svg"),SHN:l("commons/0/00/Flag_of_Saint_Helena.svg"),SJM:l("commons/d/d9/Flag_of_Norway.svg"),SLB:l("commons/7/74/Flag_of_the_Solomon_Islands.svg"),SLE:l("commons/1/17/Flag_of_Sierra_Leone.svg"),SLV:l("commons/3/34/Flag_of_El_Salvador.svg"),SMR:l("commons/b/b1/Flag_of_San_Marino.svg"),SOM:l("commons/a/a0/Flag_of_Somalia.svg"),SPM:l("commons/7/74/Flag_of_Saint-Pierre_and_Miquelon.svg"),SRB:l("commons/f/ff/Flag_of_Serbia.svg"),SSD:l("commons/7/7a/Flag_of_South_Sudan.svg"),STP:l("commons/4/4f/Flag_of_Sao_Tome_and_Principe.svg"),SUR:l("commons/6/60/Flag_of_Suriname.svg"),SVK:l("commons/e/e6/Flag_of_Slovakia.svg"),SVN:l("commons/f/f0/Flag_of_Slovenia.svg"),SWE:l("commons/4/4c/Flag_of_Sweden.svg"),SWZ:l("commons/f/fb/Flag_of_Eswatini.svg"),SXM:l("commons/d/d3/Flag_of_Sint_Maarten.svg"),SYC:l("commons/f/fc/Flag_of_Seychelles.svg"),SYR:l("commons/5/53/Flag_of_Syria.svg"),TCA:l("commons/a/a0/Flag_of_the_Turks_and_Caicos_Islands.svg"),TCD:l("commons/4/4b/Flag_of_Chad.svg"),TGO:l("commons/6/68/Flag_of_Togo.svg"),THA:l("commons/a/a9/Flag_of_Thailand.svg"),TJK:l("commons/d/d0/Flag_of_Tajikistan.svg"),TKL:l("commons/8/8e/Flag_of_Tokelau.svg"),TKM:l("commons/1/1b/Flag_of_Turkmenistan.svg"),TLS:l("commons/2/26/Flag_of_East_Timor.svg"),TON:l("commons/9/9a/Flag_of_Tonga.svg"),TTO:l("commons/6/64/Flag_of_Trinidad_and_Tobago.svg"),TUN:l("commons/c/ce/Flag_of_Tunisia.svg"),TUR:l("commons/b/b4/Flag_of_Turkey.svg"),TUV:l("commons/3/38/Flag_of_Tuvalu.svg"),TWN:l("commons/7/72/Flag_of_the_Republic_of_China.svg"),TZA:l("commons/3/38/Flag_of_Tanzania.svg"),UGA:l("commons/4/4e/Flag_of_Uganda.svg"),UKR:l("commons/4/49/Flag_of_Ukraine.svg"),UMI:l("commons/0/05/Flag_of_the_U.S..svg"),URY:l("commons/f/fe/Flag_of_Uruguay.svg"),USA:l("commons/a/a4/Flag_of_the_United_States.svg"),UZB:l("commons/8/84/Flag_of_Uzbekistan.svg"),VAT:l("commons/0/00/Flag_of_the_Vatican_City.svg"),VCT:l("commons/6/6d/Flag_of_Saint_Vincent_and_the_Grenadines.svg"),VEN:l("commons/7/7b/Flag_of_Venezuela_(state).svg"),VGB:l("commons/4/42/Flag_of_the_British_Virgin_Islands.svg"),VIR:l("commons/f/f8/Flag_of_the_United_States_Virgin_Islands.svg"),VNM:l("commons/2/21/Flag_of_Vietnam.svg"),VUT:l("commons/6/6e/Flag_of_Vanuatu_(official).svg"),WLF:l("commons/d/d2/Flag_of_Wallis_and_Futuna.svg"),WSM:l("commons/3/31/Flag_of_Samoa.svg"),XXK:l("commons/1/1f/Flag_of_Kosovo.svg"),YEM:l("commons/8/89/Flag_of_Yemen.svg"),ZAF:l("commons/a/af/Flag_of_South_Africa.svg"),ZMB:l("commons/0/06/Flag_of_Zambia.svg"),ZWE:l("commons/6/6a/Flag_of_Zimbabwe.svg")}},"7jRU":function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var l=0;l<t.length;++l)if(t[l]===e)return l;return-1}},"7k00":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},"7kcP":function(t,e,n){"use strict";n.d(e,"e",(function(){return m})),n.d(e,"c",(function(){return b})),n.d(e,"a",(function(){return h})),n.d(e,"d",(function(){return d})),n.d(e,"b",(function(){return c}));var l=n("KCVW"),i=n("8Y7J"),r=n("Xd0L"),o=n("XNiG"),a=n("VRyK");n("GS7A");class s{}const u=Object(r.I)(Object(r.G)(s));class c extends u{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new o.a,this.start="asc",this._direction="",this.sortChange=new i.r}get direction(){return this._direction}set direction(t){if(Object(i.hb)()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(l.c)(t)}register(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error(`Cannot have two MatSortables with the same id (${t.id}).`);this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let e=function(t,e){let n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),n=e.indexOf(this.direction)+1;return n>=e.length&&(n=0),e[n]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}let d=(()=>{class t{constructor(){this.changes=new o.a,this.sortButtonLabel=t=>"Change sorting for "+t}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function h(t){return t||new d}class p{}const f=Object(r.G)(p);class b extends f{constructor(t,e,n,l){if(super(),this._intl=t,this._sort=n,this._columnDef=l,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",!n)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");this._rerenderSubscription=Object(a.a)(n.sortChange,n._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(l.c)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngOnDestroy(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_handleClick(){if(this._isDisabled())return;this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null}_renderArrow(){return!this._isDisabled()||this._isSorted()}}class m{}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("n6bG"),i=n("gRHU"),r=n("quSY"),o=n("2QA8"),a=n("2fFW"),s=n("NJ4a");class u extends r.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!t){this.destination=i.a;break}if("object"==typeof t){t instanceof u?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const l=new u(t,e,n);return l.syncErrorThrowable=!1,l}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class c extends u{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let a=this;Object(l.a)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==i.a&&(a=Object.create(e),Object(l.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(s.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(s.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(s.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(l){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=l,t.syncErrorThrown=!0,!0):(Object(s.a)(l),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};t.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"81KE":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("IheW");const i=new class{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};class r{constructor(t,e,n,l,i){this.name=t,this.value=e,this.options=n,this.options=n||{},null==this.options.style&&(this.options.style=l),null==this.options.explode&&(this.options.explode=i)}serializeValue(t,e=","){if(null==t)return"";if(t instanceof Array)return t.map(t=>this.serializeValue(t).split(e).join(encodeURIComponent(e))).join(e);if("object"==typeof t){const n=[];for(const l of Object.keys(t)){let i=t[l];null!=i&&(i=this.serializeValue(i).split(e).join(encodeURIComponent(e)),this.options.explode?n.push(`${l}=${i}`):(n.push(l),n.push(i)))}return n.join(e)}return String(t)}}class o extends r{constructor(t,e,n){super(t,e,n,"simple",!1)}append(t){let e=this.value;null==e&&(e="");let n="label"===this.options.style?".":"",l=this.options.explode?""===n?",":n:",";return"matrix"===this.options.style&&(n=`;${this.name}=`,this.options.explode&&"object"==typeof e&&(n=";",e instanceof Array?(e=e.map(t=>`${this.name}=${this.serializeValue(t,";")}`),l=";"):e=this.serializeValue(e,";"))),e=n+this.serializeValue(e,l),(t=t.replace(`{${this.name}}`,e)).replace(`{${n}${this.name}${this.options.explode?"*":""}}`,e)}}class a extends r{constructor(t,e,n){super(t,e,n,"form",!0)}append(t){if(this.value instanceof Array){if(!this.options.explode)return t.append(this.name,this.serializeValue(this.value,"spaceDelimited"===this.options.style?" ":"pipeDelimited"===this.options.style?"|":","));for(const e of this.value)t=t.append(this.name,this.serializeValue(e))}else if(null!==this.value&&"object"==typeof this.value)if("deepObject"===this.options.style)for(const e of Object.keys(this.value)){const n=this.value[e];null!=n&&(t=t.append(`${this.name}[${e}]`,this.serializeValue(n)))}else if(this.options.explode)for(const e of Object.keys(this.value)){const n=this.value[e];null!=n&&(t=t.append(e,this.serializeValue(n)))}else{const e=[];for(const t of Object.keys(this.value)){const n=this.value[t];null!=n&&(e.push(t),e.push(n))}t=t.append(this.name,this.serializeValue(e))}else null!=this.value&&(t=t.append(this.name,this.serializeValue(this.value)));return t}}class s extends r{constructor(t,e,n){super(t,e,n,"simple",!1)}append(t){if(null!=this.value)if(this.value instanceof Array)for(const e of this.value)t=t.append(this.name,this.serializeValue(e));else t=t.append(this.name,this.serializeValue(this.value));return t}}class u{constructor(t,e,n){this.rootUrl=t,this.operationPath=e,this.method=n,this._path=new Map,this._query=new Map,this._header=new Map}path(t,e,n){this._path.set(t,new o(t,e,n||{}))}query(t,e,n){this._query.set(t,new a(t,e,n||{}))}header(t,e,n){this._header.set(t,new s(t,e,n||{}))}body(t,e="application/json"){if(this._bodyContentType=t instanceof Blob?t.type:e,"application/x-www-form-urlencoded"===this._bodyContentType&&null!==t&&"object"==typeof t){const e=[];for(const n of Object.keys(t)){let l=t[n];l instanceof Array||(l=[l]);for(const t of l){const l=this.formDataValue(t);null!==l&&e.push([n,l])}}this._bodyContent=e.map(t=>`${encodeURIComponent(t[0])}=${encodeURIComponent(t[1])}`).join("&")}else if("multipart/form-data"===this._bodyContentType){const e=new FormData;if(null!=t)for(const n of Object.keys(t)){const l=t[n];if(l instanceof Array)for(const t of l){const l=this.formDataValue(t);null!==l&&e.append(n,l)}else{const t=this.formDataValue(l);null!==t&&e.set(n,t)}}this._bodyContent=e}else this._bodyContent=t}formDataValue(t){return null==t?null:t instanceof Blob?t:"object"==typeof t?JSON.stringify(t):String(t)}build(t){t=t||{};let e=this.operationPath;for(const l of this._path.values())e=l.append(e);const n=this.rootUrl+e;let r=new l.h({encoder:i});for(const l of this._query.values())r=l.append(r);let o=new l.g;t.accept&&(o=o.append("Accept",t.accept));for(const l of this._header.values())o=l.append(o);return!this._bodyContentType||this._bodyContent instanceof FormData||(o=o.set("Content-Type",this._bodyContentType)),new l.i(this.method.toUpperCase(),n,this._bodyContent,{params:r,headers:o,responseType:t.responseType,reportProgress:t.reportProgress})}}},"821u":function(t,e,n){"use strict";n.d(e,"m",(function(){return v})),n.d(e,"j",(function(){return N})),n.d(e,"e",(function(){return S})),n.d(e,"c",(function(){return k})),n.d(e,"d",(function(){return y})),n.d(e,"b",(function(){return D})),n.d(e,"a",(function(){return O})),n.d(e,"g",(function(){return I})),n.d(e,"f",(function(){return L})),n.d(e,"h",(function(){return R})),n.d(e,"i",(function(){return g})),n.d(e,"k",(function(){return F})),n.d(e,"l",(function(){return A})),n.d(e,"n",(function(){return x}));var l=n("8Y7J"),i=n("XNiG"),r=n("quSY"),o=n("VRyK"),a=n("LRne"),s=n("IzEk"),u=n("pLZG"),c=n("dvZr"),d=n("Xd0L"),h=n("zMNK"),p=(n("GS7A"),n("KCVW")),f=n("QQfA"),b=n("s7LF");function m(t){return Error(`MatDatepicker: No provider found for ${t}. You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}let g=(()=>{class t{constructor(){this.changes=new i.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class _{constructor(t,e,n,l,i){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=l,this.cssClasses=i}}class y{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new l.r}_cellClicked(t){t.enabled&&this.selectedValueChange.emit(t.value)}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:l}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?l-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),!e&&this._cellWidth||(this._cellWidth=100/l+"%")}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(s.a)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()})})}}class A{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this.selectedChange=new l.r,this._userSelection=new l.r,this.activeDateChange=new l.r,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._init()}_dateSelected(t){if(this._selectedDate!=t){const e=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),l=this._dateAdapter.createDate(e,n,t);this.selectedChange.emit(l)}this._userSelection.emit()}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case c.j:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case c.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case c.q:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case c.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case c.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case c.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case c.m:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case c.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case c.g:case c.o:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,l=this._firstWeekOffset;n<t;n++,l++){7==l&&(this._weeks.push([]),l=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),i=this._shouldEnableDate(t),r=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),o=this.dateClass?this.dateClass(t):void 0;this._weeks[this._weeks.length-1].push(new _(n+1,e[n],r,i,o))}}_shouldEnableDate(t){return!!t&&(!this.dateFilter||this.dateFilter(t))&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}class v{constructor(t,e,n){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this.selectedChange=new l.r,this.yearSelected=new l.r,this.activeDateChange=new l.r,!this._dateAdapter)throw m("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),C(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._init()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case c.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case c.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case c.q:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case c.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case c.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case c.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case c.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case c.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case c.g:case c.o:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){let e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new _(t,e,e,this._shouldEnableYear(t))}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}function C(t,e,n,l,i){const r=t.getYear(e),o=t.getYear(n),a=P(t,l,i);return Math.floor((r-a)/24)===Math.floor((o-a)/24)}function w(t,e,n,l){return((t.getYear(e)-P(t,n,l))%24+24)%24}function P(t,e,n){let l=0;return n?l=t.getYear(n)-24+1:e&&(l=t.getYear(e)),l}class x{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this.selectedChange=new l.r,this.monthSelected=new l.r,this.activeDateChange=new l.r,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._init()}_monthSelected(t){const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(e);const n=this._dateAdapter.getNumDaysInMonth(e);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case c.j:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case c.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case c.q:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case c.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case c.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case c.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case c.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case c.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case c.g:case c.o:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){let n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new _(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>l}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<l}return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}class S{constructor(t,e,n,l,i){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=l,this.calendar.stateChanges.subscribe(()=>i.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-w(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),l=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,l)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):C(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}class k{constructor(t,e,n,r){if(this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.r,this.yearSelected=new l.r,this.monthSelected=new l.r,this._userSelection=new l.r,this.stateChanges=new i.a,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe(()=>{r.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new h.d(this.headerComponent||S),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}_dateSelected(t){this._dateAdapter.sameDate(t,this.selected)||this.selectedChange.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_userSelected(){this._userSelection.emit()}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}let M=0;const O=new l.w("mat-datepicker-scroll-strategy");function D(t){return()=>t.scrollStrategies.reposition()}class T{constructor(t){this._elementRef=t}}const E=Object(d.E)(T);class I extends E{constructor(t){super(t)}ngAfterViewInit(){this._calendar.focusActiveCell()}}class L{constructor(t,e,n,o,a,s,u,c){if(this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=o,this._dateAdapter=s,this._dir=u,this._document=c,this.startView="month",this._touchUi=!1,this.yearSelected=new l.r,this.monthSelected=new l.r,this.openedStream=new l.r,this.closedStream=new l.r,this._opened=!1,this.id="mat-datepicker-"+M++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=r.a.EMPTY,this._disabledChange=new i.a,this._selectedChanged=new i.a,!this._dateAdapter)throw m("DateAdapter");this._scrollStrategy=a}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(p.c)(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(p.c)(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))}get opened(){return this._opened}set opened(t){t?this.open():this.close()}get _selected(){return this._validSelected}set _selected(t){this._validSelected=t}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null)}select(t){let e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this._selectedChanged.next(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_registerInput(t){if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe(t=>this._selected=t)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(I,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._setColor()}_openAsPopup(){this._calendarPortal||(this._calendarPortal=new h.d(I,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe(Object(s.a)(1)).subscribe(()=>{this._popupRef.updatePosition()}))}_createPopup(){const t=new f.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(o.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===c.h||this._datepickerInput&&t.altKey&&t.keyCode===c.q))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_setColor(){const t=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=t),this._dialogRef&&(this._dialogRef.componentInstance.color=t)}}class j{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}class R{constructor(t,e,n,i){if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this._formField=i,this.dateChange=new l.r,this.dateInput=new l.r,this._valueChange=new l.r,this._disabledChange=new l.r,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=r.a.EMPTY,this._localeSubscription=r.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.min||!e||this._dateAdapter.compareDate(this.min,e)<=0?null:{matDatepickerMin:{min:this.min,actual:e}}},this._maxValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.max||!e||this._dateAdapter.compareDate(this.max,e)>=0?null:{matDatepickerMax:{max:this.max,actual:e}}},this._filterValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return this._dateFilter&&e&&!this._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=b.w.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(t=>{this.value=t,this._cvaOnChange(t),this._onTouched(),this.dateInput.emit(new j(this,this._elementRef.nativeElement)),this.dateChange.emit(new j(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const e=Object(p.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&n.blur&&n.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===c.e&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){let e=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e),this._dateAdapter.sameDate(e,this._value)?this._validatorOnChange():(this._value=e,this._cvaOnChange(e),this._valueChange.emit(e),this.dateInput.emit(new j(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new j(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}class F{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=r.a.EMPTY;const l=Number(n);this.tabIndex=l||0===l?l:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(p.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker._disabledChange:Object(a.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Object(a.a)(),n=this.datepicker?Object(o.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(a.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(o.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}class N{}},"8P0U":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("quSY"),n("xgIS"),n("pLZG"),n("Xd0L"),n("SVse");class l{}},"8Y7J":function(t,e,n){"use strict";n.d(e,"vb",(function(){return Eo})),n.d(e,"wb",(function(){return Io})),n.d(e,"xb",(function(){return Lo})),n.d(e,"yb",(function(){return jo})),n.d(e,"ub",(function(){return Or})),n.d(e,"tb",(function(){return sr})),n.d(e,"g",(function(){return _o})),n.d(e,"bb",(function(){return fo})),n.d(e,"F",(function(){return po})),n.d(e,"db",(function(){return Xt})),n.d(e,"hb",(function(){return $t})),n.d(e,"c",(function(){return Mr})),n.d(e,"K",(function(){return Tr})),n.d(e,"J",(function(){return Er})),n.d(e,"b",(function(){return Ir})),n.d(e,"d",(function(){return Sr})),n.d(e,"e",(function(){return kr})),n.d(e,"fb",(function(){return Oo})),n.d(e,"V",(function(){return ro})),n.d(e,"jb",(function(){return so})),n.d(e,"A",(function(){return jr})),n.d(e,"f",(function(){return Ro})),n.d(e,"r",(function(){return br})),n.d(e,"q",(function(){return Vt})),n.d(e,"P",(function(){return ye})),n.d(e,"Q",(function(){return _e})),n.d(e,"h",(function(){return y})),n.d(e,"a",(function(){return fn})),n.d(e,"n",(function(){return mn})),n.d(e,"X",(function(){return gn})),n.d(e,"l",(function(){return yr})),n.d(e,"o",(function(){return _r})),n.d(e,"s",(function(){return vr})),n.d(e,"I",(function(){return Ar})),n.d(e,"B",(function(){return Pr})),n.d(e,"Z",(function(){return Q})),n.d(e,"W",(function(){return Qn})),n.d(e,"cc",(function(){return C})),n.d(e,"cb",(function(){return w})),n.d(e,"eb",(function(){return M})),n.d(e,"v",(function(){return en})),n.d(e,"x",(function(){return on})),n.d(e,"dc",(function(){return z})),n.d(e,"gb",(function(){return G})),n.d(e,"t",(function(){return R})),n.d(e,"w",(function(){return j})),n.d(e,"u",(function(){return b})),n.d(e,"H",(function(){return m})),n.d(e,"R",(function(){return _})),n.d(e,"G",(function(){return Qr})),n.d(e,"M",(function(){return Kn})),n.d(e,"N",(function(){return $n})),n.d(e,"O",(function(){return Xn})),n.d(e,"k",(function(){return Br})),n.d(e,"m",(function(){return Bn})),n.d(e,"p",(function(){return Vn})),n.d(e,"C",(function(){return $})),n.d(e,"E",(function(){return W})),n.d(e,"D",(function(){return Ao})),n.d(e,"L",(function(){return gr})),n.d(e,"S",(function(){return wo})),n.d(e,"T",(function(){return vo})),n.d(e,"U",(function(){return bl})),n.d(e,"Y",(function(){return gl})),n.d(e,"i",(function(){return J})),n.d(e,"j",(function(){return Be})),n.d(e,"y",(function(){return cl})),n.d(e,"z",(function(){return dl})),n.d(e,"ab",(function(){return wn})),n.d(e,"ib",(function(){return To})),n.d(e,"Ib",(function(){return Pn})),n.d(e,"mb",(function(){return Lr})),n.d(e,"kb",(function(){return ln})),n.d(e,"lb",(function(){return zn})),n.d(e,"pb",(function(){return me})),n.d(e,"qb",(function(){return Ce})),n.d(e,"rb",(function(){return Zt})),n.d(e,"Gb",(function(){return L})),n.d(e,"Lb",(function(){return vn})),n.d(e,"Vb",(function(){return S})),n.d(e,"Jb",(function(){return jn})),n.d(e,"Kb",(function(){return Ln})),n.d(e,"Fb",(function(){return pr})),n.d(e,"Eb",(function(){return fr})),n.d(e,"nb",(function(){return ur})),n.d(e,"ob",(function(){return cr})),n.d(e,"bc",(function(){return st})),n.d(e,"Zb",(function(){return _n})),n.d(e,"fc",(function(){return Sn})),n.d(e,"ec",(function(){return kn})),n.d(e,"ac",(function(){return Mn})),n.d(e,"gc",(function(){return Dn})),n.d(e,"sb",(function(){return Fo})),n.d(e,"zb",(function(){return vi})),n.d(e,"Ab",(function(){return as})),n.d(e,"Bb",(function(){return Ll})),n.d(e,"Cb",(function(){return Vi})),n.d(e,"Db",(function(){return No})),n.d(e,"Hb",(function(){return ai})),n.d(e,"Mb",(function(){return fi})),n.d(e,"Nb",(function(){return pi})),n.d(e,"Ob",(function(){return $o})),n.d(e,"Pb",(function(){return Ei})),n.d(e,"Qb",(function(){return qi})),n.d(e,"Tb",(function(){return Wi})),n.d(e,"Rb",(function(){return Jo})),n.d(e,"Sb",(function(){return Ko})),n.d(e,"Ub",(function(){return Go})),n.d(e,"Wb",(function(){return Zo})),n.d(e,"Xb",(function(){return Il})),n.d(e,"Yb",(function(){return na}));var l=n("XNiG"),i=n("quSY"),r=n("HDdC"),o=n("VRyK"),a=n("w1tV");const s="__annotations__",u="__parameters__",c="__prop__metadata__";function d(t,e,n,l,i){const r=h(e);function o(...t){if(this instanceof o)return r.call(this,...t),this;const e=new o(...t);return function(n){return i&&i(n,...t),(n.hasOwnProperty(s)?n[s]:Object.defineProperty(n,s,{value:[]})[s]).push(e),l&&l(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function h(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function p(t,e,n){const l=h(e);function i(...t){if(this instanceof i)return l.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,l){const i=t.hasOwnProperty(u)?t[u]:Object.defineProperty(t,u,{value:[]})[u];for(;i.length<=l;)i.push(null);return(i[l]=i[l]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function f(t,e,n,l){const i=h(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return function(n,i){const r=n.constructor,o=r.hasOwnProperty(c)?r[c]:Object.defineProperty(r,c,{value:{}})[c];o[i]=o.hasOwnProperty(i)&&o[i]||[],o[i].unshift(e),l&&l(n,i,...t)}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}const b=p("Inject",t=>({token:t})),m=p("Optional"),g=p("Self"),_=p("SkipSelf"),y=p("Attribute",t=>({attributeName:t}));var A=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function v(t){for(let e in t)if(t[e]===v)return e;throw Error("Could not find renamed property on target object.")}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const w=C;function P(t){const e=t[x];return e&&e.token===t?e:null}const x=v({ngInjectableDef:v});function S(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(S).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}const k=v({__forward_ref__:v});function M(t){return t.__forward_ref__=M,t.toString=function(){return S(this())},t}function O(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(k)&&e.__forward_ref__===M?e():t}const D="undefined"!=typeof globalThis&&globalThis,T="undefined"!=typeof window&&window,E="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,I="undefined"!=typeof global&&global,L=D||I||T||E;class j{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const R=new j("INJECTOR",-1),F=new Object,N=/\n/gm,Y=v({provide:String,useValue:v});let U=void 0;function B(t){const e=U;return U=t,e}function z(t,e=A.Default){return function(t,e=A.Default){if(void 0===U)throw new Error("inject() must be called from an injection context");return null===U?function(t,e,n){const l=P(t);if(l&&"root"==l.providedIn)return void 0===l.value?l.value=l.factory():l.value;if(n&A.Optional)return null;throw new Error(`Injector: NOT_FOUND [${S(t)}]`)}(t,0,e):U.get(t,e&A.Optional?null:void 0,e)}(t,e)}const G=z;function H(t){const e=[];for(let n=0;n<t.length;n++){const l=O(t[n]);if(Array.isArray(l)){if(0===l.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=A.Default;for(let e=0;e<l.length;e++){const i=l[e];i instanceof m||"Optional"===i.ngMetadataName||i===m?n|=A.Optional:i instanceof _||"SkipSelf"===i.ngMetadataName||i===_?n|=A.SkipSelf:i instanceof g||"Self"===i.ngMetadataName||i===g?n|=A.Self:t=i instanceof b||i===b?i.token:i}e.push(z(t,n))}else e.push(z(l))}return e}class V{get(t,e=F){if(e===F){const e=new Error(`NullInjectorError: No provider for ${S(t)}!`);throw e.name="NullInjectorError",e}return e}}function q(t,e,n,l=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=S(e);if(e instanceof Array)i=e.map(S).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let l=e[n];t.push(n+":"+("string"==typeof l?JSON.stringify(l):S(l)))}i=`{${t.join(", ")}}`}return`${n}${l?"("+l+")":""}[${i}]: ${t.replace(N,"\n ")}`}class W{}class ${}function X(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function K(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const J=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Q=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),Z={},tt=[],et=v({ngComponentDef:v}),nt=v({ngDirectiveDef:v}),lt=v({ngPipeDef:v});let it=0;function rt(t){return function(t){return t[et]||null}(t)||function(t){return t[nt]||null}(t)}function ot(t){return function(t){return t[lt]||null}(t)}function at(t,e){if(null==t)return Z;const n={};for(const l in t)if(t.hasOwnProperty(l)){let i=t[l],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=l,e&&(e[i]=r)}return n}const st=function(t){const e=t.type,n=e.prototype,l={},i={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:l,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===J.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Q.Emulated,id:"c",styles:t.styles||tt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return i._=""+{toString:()=>{const n=t.directives,r=t.features,o=t.pipes;i.id+=it++,i.inputs=at(t.inputs,l),i.outputs=at(t.outputs),r&&r.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(rt):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(ot):null,e.hasOwnProperty(x)||(e[x]=C({token:e,factory:t.factory}))}},i};let ut=null;const ct=new Map;let dt,ht=null;function pt(t,e){return ht&&t===ht||(ht=t,e&&(ut=ct.get(t)||null),ut=ut||{classesBitMask:0,classesIndex:1,stylesBitMask:0,stylesIndex:1}),ut}function ft(t,e){return function(t){for(;Array.isArray(t);)t=t[0];return t}(e[t.index])}function bt(t,e){return e[1].data[t+19]}function mt(){return dt}const gt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(L))();function _t(t,e){0===e?t[2]>0&&function(t){At(t,2|yt(t))}(t):t[2]=e}function yt(t){return t[1]}function At(t,e){t[1]=e}function vt(t,e){return t[e+2]}function Ct(t,e){return 1&t[e+0]}function wt(t,e){return(1&Ct(t,e))>0}function Pt(t,e){return t[e+0]>>1}function xt(t,e,n){const l=Ct(t,e);t[e+0]=l|n<<1}function St(t,e){return t[e+1]}function kt(t,e,n){return t[e+3+n]}function Mt(t,e){return!(!t||e!==t[2])}function Ot(t){return(1&yt(t))>0}function Dt(t){return(2&yt(t))>0}function Tt(t){return 6+t[4]}function Et(t,e){let n=Array.isArray(t)?t[0]:t,l=Array.isArray(e)?e[0]:e;return n instanceof String&&(n=n.toString()),l instanceof String&&(l=l.toString()),function(t,e){return!(t!=t&&e!=e)&&t!==e}(n,l)}function It(t){return null!=t&&""!==t}function Lt(t){return t.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}function jt(t){return Rt(t)?t[0]:t}function Rt(t){return Array.isArray(t)&&t.length>=6&&"string"!=typeof t[1]}function Ft(t,e){return t[e+0]}function Nt(t,e,n){t[e+1]=n}function Yt(t,e){return t[e+1]}const Ut=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function Bt(t){return!!t.listen}function zt(t){return t.ngDebugContext}function Gt(t){return t.ngOriginalError}function Ht(t,...e){t.error(...e)}class Vt{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),l=function(t){return t.ngErrorLogger||Ht}(t);l(this._console,"ERROR",t),e&&l(this._console,"ORIGINAL ERROR",e),n&&l(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?zt(t)?zt(t):this._findContext(Gt(t)):null}_findOriginalError(t){let e=Gt(t);for(;e&&Gt(e);)e=Gt(e);return e}}let qt=!0,Wt=!1;function $t(){return Wt=!0,qt}function Xt(){if(Wt)throw new Error("Cannot enable prod mode after platform setup.");qt=!1}class Kt{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg>

<style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(l){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(t){const e=t.attributes;for(let l=e.length-1;0<l;l--){const n=e.item(l).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Jt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Qt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Zt(t){return(t=String(t)).match(Jt)||t.match(Qt)?t:($t()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function te(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ee(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ne=te("area,br,col,hr,img,wbr"),le=te("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ie=te("rp,rt"),re=ee(ie,le),oe=ee(ne,ee(le,te("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ee(ie,te("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),re),ae=te("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),se=te("srcset"),ue=ee(ae,se,te("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),te("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ce=te("script,style,template");class de{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!oe.hasOwnProperty(e))return this.sanitizedSomething=!0,!ce.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,r=e.toLowerCase();if(!ue.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;ae[r]&&(o=Zt(o)),se[r]&&(l=o,o=(l=String(l)).split(",").map(t=>Zt(t.trim())).join(", ")),this.buf.push(" ",e,'="',fe(o),'"')}var l;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();oe.hasOwnProperty(e)&&!ne.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(fe(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const he=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pe=/([^\#-~ |!])/g;function fe(t){return t.replace(/&/g,"&amp;").replace(he,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(pe,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let be;function me(t,e){let n=null;try{be=be||new Kt(t);let l=e?String(e):"";n=be.getInertBodyElement(l);let i=5,r=l;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,l=r,r=n.innerHTML,n=be.getInertBodyElement(l)}while(l!==r);const o=new de,a=o.sanitizeChildren(ge(n)||n);return $t()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=ge(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function ge(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const _e=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();class ye{}const Ae=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ve=/^url\(([^)]+)\)$/;function Ce(t){if(!(t=String(t).trim()))return"";const e=t.match(ve);return e&&Zt(e[1])===e[1]||t.match(Ae)&&function(t){let e=!0,n=!0;for(let l=0;l<t.length;l++){const i=t.charAt(l);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:($t()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}const we=/([A-Z])/g;function Pe(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}let xe=[];function Se(t,e,n,l,i,r,o,a,s){Ot(t)||(o?function(t,e,n,l,i){xe.unshift(t,e,n,l,i)}(t,n,l,i,s):(xe.length&&ke(),Me(t,n,l,i,s)));const u=a||Et(e[i],r);return u&&(e[i]=r),u}function ke(){let t=0;for(;t<xe.length;)Me(xe[t++],xe[t++],xe[t++],xe[t++],xe[t++]);xe.length=0}function Me(t,e,n,l,i){let r=!1;if(n){let o=!1,a=Tt(t);for(;a<t.length;){const r=St(t,a),s=vt(t,a);if(o=n<=s,o){n<s&&Oe(t,a,n,i),De(t,!1,a,l,e);break}a+=3+r}o||(Oe(t,t.length,n,i),De(t,!1,a,l,e),r=!0)}else De(t,!0,3,l,e),r=!0;return r}function Oe(t,e,n,l){t.splice(e,0,l?1:0,1,n,null),xt(t,e,1)}function De(t,e,n,l,i){const r=n+3;let o=r+St(t,n);if(e||o--,"number"==typeof l){for(let e=r;e<=o;e++)if(t[e]===l)return;t.splice(o,0,l),t[n+1]++,xt(t,n,Pt(t,n)|1<<i)}else null!==l&&null==t[o]&&(t[o]=l)}function Te(t,e,n,l,i,r,o,a){return i&&l&&(function(t){if(!Ot(t)){const e=jt(t);e&&function(t,e){for(let n=1;n<e.length;n+=2){const l=Yt(e,n);l&&Me(t,-1,Ft(e,n),l,!1)}}(t,e),function(t){At(t,1|yt(t))}(t)}}(l),function(t,e){return t&&e>0}(l,r))?(function(t,e,n,l,i,r,o){const a=!0===(s=i)?-1:!1===s?0:s;var s;const u=Ee,c=(a&Pt(t,3))>0?1:0;let d=Tt(t);for(;d<t.length;){const i=St(t,d);if(a&Pt(t,d)){let a=!1;const s=vt(t,d),h=i-1,p=kt(t,d,h);for(let i=0;i<h;i++){const u=kt(t,d,i),c=l[u];if(It(c)){r(e,n,s,o&&wt(t,d)?o(s,c,2):c,u),a=!0;break}}if(u){const i=u(t,e,n,l,r,o,c|(a?4:2),s,p);a=a||i}a||r(e,n,s,p)}d+=3+i}u&&u(t,e,n,l,r,o,c)}(l,t,e,n,r,o,a),!0):i}let Ee=null;const Ie=(t,e,n,l)=>{const i=e.style;l?(l=l.toString(),t&&Bt(t)?t.setStyle(e,n,l,Ut.DashCase):i&&i.setProperty(n,l)):t&&Bt(t)?t.removeStyle(e,n,Ut.DashCase):i&&i.removeProperty(n)},Le=(t,e,n,l)=>{if(""!==n){const i=e.classList;l?t&&Bt(t)?t.addClass(e,n):i&&i.add(n):t&&Bt(t)?t.removeClass(e,n):i&&i.remove(n)}},je={},Re=(t,e,n,l,i,r,o,a,s)=>{let u=!1;if(St(t,3)){let c=!0;const d=!a;d&&-2&o&&(c=!1,u=!0),c&&(u=function t(e,n,l,i,r,o,a,s,u,c){let d=!1;if(u<St(e,3)){const h=kt(e,3,u),p=i[h];let f=function(t){return t>=Ye.length&&Ye.push(1),Ye[t]}(u);for(;f<p.length;){const b=Ft(p,f),m=s&&b>s,g=!m&&b===s,_=Yt(p,f),y=It(_);let A=t(e,n,l,i,r,o,m?a:Fe(a,y,g),m?s:b,u+1,c);if(m){d||(d=A);break}if(!A&&Ne(a,g)){const t=g&&!y,e=t?c:_,i=t?h:null;r(n,l,b,o?o(b,e,3):e,i),A=!0}d=A&&g,f+=2}if(Ye[u]=f,1===p.length||!s)return t(e,n,l,i,r,o,a,s,u+1,c)}return d}(t,e,n,l,i,r,o,a||null,0,s||null)),d&&function(){for(let t=0;t<Ye.length;t++)Ye[t]=1}()}return u};function Fe(t,e,n){let l=t;return e||4&t||!(n||1&t)?(l|=4,l&=-3):(l|=2,l&=-5),l}function Ne(t,e){let n=(1&t)>0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}const Ye=[];function Ue(t,e,n,l){for(let i=1;i<t.length;i+=2){const r=Ft(t,i);if(e<=r){let o=!1;if(r===e){const e=t[i];!l&&It(e)||(o=!0,Nt(t,i,n))}else o=!0,t.splice(i,0,e,n);return o}}return t.push(e,n),!0}let Be=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ze(),t})();const ze=(...t)=>{},Ge=Function;function He(t){return"function"==typeof t}const Ve=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,qe=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,We=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,$e=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/;class Xe{constructor(t){this._reflect=t||L.Reflect}isReflectionEnabled(){return!0}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=new Array(void 0===t?e.length:t.length);for(let l=0;l<n.length;l++)n[l]=void 0===t?[]:t[l]&&t[l]!=Object?[t[l]]:[],e&&null!=e[l]&&(n[l]=n[l].concat(e[l]));return n}_ownParameters(t,e){if(n=t.toString(),Ve.test(n)||$e.test(n)||qe.test(n)&&!We.test(n))return null;var n;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const l=t.ctorParameters;if(l&&l!==e.ctorParameters){const t="function"==typeof l?l():l,e=t.map(t=>t&&t.type),n=t.map(t=>t&&Ke(t.decorators));return this._zipTypesAndAnnotations(e,n)}const i=t.hasOwnProperty(u)&&t[u],r=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return r||i?this._zipTypesAndAnnotations(r,i):new Array(t.length).fill(void 0)}parameters(t){if(!He(t))return[];const e=Je(t);let n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?Ke(t.decorators):t.hasOwnProperty(s)?t[s]:null}annotations(t){if(!He(t))return[];const e=Je(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach(t=>{n[t]=Ke(e[t])}),n}return t.hasOwnProperty(c)?t[c]:null}propMetadata(t){if(!He(t))return{};const e=Je(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach(e=>{n[e]=t[e]})}const l=this._ownPropMetadata(t,e);return l&&Object.keys(l).forEach(t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...l[t]),n[t]=e}),n}ownPropMetadata(t){return He(t)&&this._ownPropMetadata(t,Je(t))||{}}hasLifecycleHook(t,e){return t instanceof Ge&&e in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+S(t)}resourceUri(t){return"./"+S(t)}resolveIdentifier(t,e,n,l){return l}resolveEnum(t,e){return t[e]}}function Ke(t){return t?t.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Je(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}const Qe=v({provide:String,useValue:v}),Ze=[];function tn(t,e){if(!e){const e=(new Xe).parameters(t);return()=>new t(...H(e))}if(Qe in e){const t=e;return()=>t.useValue}if(e.useExisting){const t=e;return()=>z(t.useExisting)}if(e.useFactory){const t=e;return()=>t.useFactory(...H(t.deps||Ze))}if(e.useClass){const n=e;let l=e.deps;if(!l){const e=new Xe;l=e.parameters(t)}return()=>new n.useClass(...H(l))}{let n=e.deps;if(!n){const e=new Xe;n=e.parameters(t)}return()=>new t(...H(n))}}const en=d("Injectable",void 0,void 0,void 0,(t,e)=>nn(t,e)),nn=function(t,e){e&&void 0!==e.providedIn&&!P(t)&&(t.ngInjectableDef=C({token:t,providedIn:e.providedIn,factory:tn(t,e)}))},ln=new j("The presence of this token marks an injector as being the root injector."),rn=function(t,e,n){return new dn(t,e,n)};let on=(()=>{class t{static create(t,e){return Array.isArray(t)?rn(t,e,""):rn(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=F,t.NULL=new V,t.ngInjectableDef=C({token:t,providedIn:"any",factory:()=>z(R)}),t.__NG_ELEMENT_ID__=-1,t})();const an=function(t){return t},sn=[],un=an,cn=function(){return Array.prototype.slice.call(arguments)};class dn{constructor(t,e=on.NULL,n=null){this.parent=e,this.source=n;const l=this._records=new Map;l.set(on,{token:on,fn:an,deps:sn,value:this,useNew:!1}),l.set(R,{token:R,fn:an,deps:sn,value:this,useNew:!1}),function t(e,n){if(n)if((n=O(n))instanceof Array)for(let l=0;l<n.length;l++)t(e,n[l]);else{if("function"==typeof n)throw pn("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw pn("Unexpected provider",n);{let t=O(n.provide);const l=function(t){const e=function(t){let e=sn;const n=t.deps;if(n&&n.length){e=[];for(let t=0;t<n.length;t++){let l=6,i=O(n[t]);if(i instanceof Array)for(let t=0,e=i;t<e.length;t++){const n=e[t];n instanceof m||n==m?l|=1:n instanceof _||n==_?l&=-3:n instanceof g||n==g?l&=-5:i=n instanceof b?n.token:O(n)}e.push({token:i,options:l})}}else if(t.useExisting)e=[{token:O(t.useExisting),options:6}];else if(!n&&!(Y in t))throw pn("'deps' required",t);return e}(t);let n=an,l=sn,i=!1,r=O(t.provide);if(Y in t)l=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)i=!0,n=O(t.useClass);else{if("function"!=typeof r)throw pn("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);i=!0,n=r}return{deps:e,fn:n,useNew:i,value:l}}(n);if(!0===n.multi){let l=e.get(t);if(l){if(l.fn!==cn)throw hn(t)}else e.set(t,l={token:n.provide,deps:[],useNew:!1,fn:cn,value:sn});t=n,l.deps.push({token:t,options:6})}const i=e.get(t);if(i&&i.fn==cn)throw hn(t);e.set(t,l)}}}(l,t)}get(t,e,n=A.Default){const l=this._records.get(t);try{return function t(e,n,l,i,r,o){try{return function(e,n,l,i,r,o){let a;if(!n||o&A.SkipSelf)o&A.Self||(a=i.get(e,r,A.Default));else{if(a=n.value,a==un)throw Error("\u0275Circular dependency");if(a===sn){n.value=un;let e=void 0,r=n.useNew,o=n.fn,s=n.deps,u=sn;if(s.length){u=[];for(let e=0;e<s.length;e++){const n=s[e],r=n.options,o=2&r?l.get(n.token):void 0;u.push(t(n.token,o,l,o||4&r?i:on.NULL,1&r?null:on.THROW_IF_NOT_FOUND,A.Default))}}n.value=a=r?new o(...u):o.apply(e,u)}}return a}(e,n,l,i,r,o)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(e),n&&n.value==un&&(n.value=sn),a}}(t,l,this._records,this.parent,e,n)}catch(i){return function(t,e,n,l){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=q("\n"+t.message,i,"StaticInjectorError",l),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(i,t,0,this.source)}}toString(){const t=[];return this._records.forEach((e,n)=>t.push(S(n))),`StaticInjector[${t.join(", ")}]`}}function hn(t){return pn("Cannot mix multi providers and regular providers",t)}function pn(t,e){return new Error(q(t,e,"StaticInjectorError"))}const fn=new j("AnalyzeForEntryComponents");class bn{}const mn=f("ContentChild",(t,e={})=>Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e),bn),gn=f("ViewChild",(t,e)=>Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e),bn);function _n(t){const e=(void 0)[1];e.firstTemplatePass&&(function(t,e,n){const l=t.expandoInstructions,i=l.length;i>=2&&l[i-2]===null.hostBindings?l[i-1]=l[i-1]+n:l.push(null.hostBindings,n)}(e,0,t),function(t,e,n){for(let l=0;l<n;l++)(void 0).push(je),t.blueprint.push(je),t.data.push(null)}(e,0,t))}let yn=null;function An(){if(!yn){const t=L.Symbol;if(t&&t.iterator)yn=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(yn=n)}}}return yn}function vn(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Cn(t,e){const n=Pn(t),l=Pn(e);if(n&&l)return function(t,e,n){const l=t[An()](),i=e[An()]();for(;;){const t=l.next(),e=i.next();if(t.done&&e.done)return!0;if(t.done||e.done)return!1;if(!n(t.value,e.value))return!1}}(t,e,Cn);{const i=t&&("object"==typeof t||"function"==typeof t),r=e&&("object"==typeof e||"function"==typeof e);return!(n||!i||l||!r)||vn(t,e)}}class wn{constructor(t){this.wrapped=t}static wrap(t){return new wn(t)}static unwrap(t){return wn.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof wn}}function Pn(t){return!!xn(t)&&(Array.isArray(t)||!(t instanceof Map)&&An()in t)}function xn(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Sn(){(void 0)[1].firstTemplatePass&&(1,_t(En(void 0),1),_t(Tn(void 0),1))}function kn(t){const e=bt(-1,void 0),n=Tn(e),l=(void 0)[7]++;On(-1,n,l,t,!1,!1)}function Mn(t){!function(t,e){const n=bt(-1,void 0),l=En(n),i=(void 0)[7]++;On(-1,l,i,e,!0,!1)}(0,t)}function On(t,e,n,l,i,r){Ee=Re;let o=!1;if(l!==je){const a=ft(bt(t,void 0),void 0),s=(void 0)[n];o=Et(s,l);const u=function(t,e,n){const l=Array.isArray(t)?t:[null];l[0]=e||null;for(let a=1;a<l.length;a+=2)Nt(l,a,null);let i,r=null,o=!1;if("string"==typeof e?e.length&&(r=e.split(/\s+/),o=!0):(r=e?Object.keys(e):null,i=e),r)for(let a=0;a<r.length;a++){const t=r[a];Ue(l,n?Lt(t):t,!!o||i[t],!0)}return l}(s,l,!i);i?function(t,e,n,l,i,r,o,a){const s=pt(n,Dt(t));!Se(t,void 0,0,null,i,r,o,a,!1)&&!a||(s.classesBitMask|=1)}(e,0,a,0,n,u,r,o):function(t,e,n,l,i,r,o,a,s){const u=pt(n,Dt(t));!Se(t,void 0,0,null,i,r,a,s,!0)&&!s||(u.stylesBitMask|=1)}(e,0,a,0,n,u,mt(),r,o)}return o}function Dn(){const t=bt(-1,void 0),e=function(t,e){return 3===t.type?(void 0)[12]:null}(t),n=ft(t,void 0),l=mt();(function(t,e,n,l,i,r,o){const a=n?Dt(n):!!l&&Dt(l),s=Mt(n,r),u=Mt(l,r);xe.length&&(s||u)&&ke();const c=pt(i,a),d=Te(t,i,e,n,s,c.classesBitMask,Le,null),h=Te(t,i,e,l,u,c.stylesBitMask,Ie,o);d&&h?(ut=null,ht=null,a&&function(t){ct.delete(t)}(i)):a&&function(t,e){ct.set(t,e)}(i,c)})(e,void 0,En(t),Tn(t),n,1,l),dt=null}function Tn(t){return In(t,!1)}function En(t){return In(t,!0)}function In(t,e){let n=e?t.classes:t.styles;return Rt(n)||(n=[n||[""],0,0,1,0,"--MAP--"],e?t.classes=n:t.styles=n),n}function Ln(t){return!!t&&"function"==typeof t.then}function jn(t){return!!t&&"function"==typeof t.subscribe}class Rn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}class Fn{}function Nn(t){const e=Error(`No component factory found for ${S(t)}. Did you add it to @NgModule.entryComponents?`);return e[Yn]=t,e}const Yn="ngComponent";class Un{resolveComponentFactory(t){throw Nn(t)}}let Bn=(()=>{class t{}return t.NULL=new Un,t})();class zn{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let l=0;l<t.length;l++){const e=t[l];this._factories.set(e.componentType,e)}}resolveComponentFactory(t){let e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Nn(t);return new Gn(e,this._ngModule)}}class Gn extends Fn{constructor(t,e){super(),this.factory=t,this.ngModule=e,this.selector=t.selector,this.componentType=t.componentType,this.ngContentSelectors=t.ngContentSelectors,this.inputs=t.inputs,this.outputs=t.outputs}create(t,e,n,l){return this.factory.create(t,e,n,l||this.ngModule)}}function Hn(...t){}let Vn=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>qn(t),t})();const qn=Hn;class Wn{}class $n{}const Xn=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let Kn=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Jn(),t})();const Jn=Hn;class Qn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Zn=new Qn("8.2.14");class tl{constructor(){}supports(t){return Pn(t)}create(t){return new nl(t)}}const el=(t,e)=>e;class nl{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||el}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,l=0,i=null;for(;e||n;){const r=!n||e&&e.currentIndex<ol(n,l,i)?e:n,o=ol(r,l,i),a=r.currentIndex;if(r===n)l--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)l++;else{i||(i=[]);const t=o-l,e=a-l;if(t!=e){for(let n=0;n<t;n++){const l=n<i.length?i[n]:i[n]=0,r=l+n;e<=r&&r<t&&(i[n]=l+1)}i[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Pn(t))throw new Error(`Error trying to diff '${S(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,l,i=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],l=this._trackByFn(e,n),null!==i&&vn(i.trackById,l)?(r&&(i=this._verifyReinsertion(i,n,l,e)),vn(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,l,e),r=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[An()]();let l;for(;!(l=n.next()).done;)e(l.value)}}(t,t=>{l=this._trackByFn(e,t),null!==i&&vn(i.trackById,l)?(r&&(i=this._verifyReinsertion(i,t,l,e)),vn(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,l,e),r=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,l){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,l))?(vn(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,l)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(vn(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,l)):t=this._addAfter(new ll(e,n),i,l),t}_verifyReinsertion(t,e,n,l){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,i=t._nextRemoved;return null===l?this._removalsHead=i:l._nextRemoved=i,null===i?this._removalsTail=l:i._prevRemoved=l,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const l=null===e?this._itHead:e._next;return t._next=l,t._prev=e,null===l?this._itTail=t:l._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new rl),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rl),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ll{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class il{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&vn(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class rl{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new il,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ol(t,e,n){const l=t.previousIndex;if(null===l)return l;let i=0;return n&&l<n.length&&(i=n[l]),l+e+i}class al{constructor(){}supports(t){return t instanceof Map||xn(t)}create(){return new sl}}class sl{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||xn(t)))throw new Error(`Error trying to diff '${S(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const l=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,l)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const l=n._prev,i=n._next;return l&&(l._next=i),i&&(i._prev=l),n._next=null,n._prev=null,n}const n=new ul(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){vn(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class ul{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let cl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _,new m]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.ngInjectableDef=C({token:t,providedIn:"root",factory:()=>new t([new tl])}),t})(),dl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _,new m]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.ngInjectableDef=C({token:t,providedIn:"root",factory:()=>new t([new al])}),t})();const hl=[new al],pl=new cl([new tl]),fl=new dl(hl);let bl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ml(t,Vn),t})();const ml=Hn;let gl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>_l(t,Vn),t})();const _l=Hn;function yl(t,e,n,l){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return l&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){const n=new Error(t);return Al(n,e),n}(i,t)}function Al(t,e){t.ngDebugContext=e,t.ngErrorLogger=e.logError.bind(e)}function vl(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function Cl(t,e,n){const l=t.state,i=1792&l;return i===e?(t.state=-1793&l|n,t.initIndex=-1,!0):i===n}function wl(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Pl(t,e){return t.nodes[e]}function xl(t,e){return t.nodes[e]}function Sl(t,e){return t.nodes[e]}function kl(t,e){return t.nodes[e]}function Ml(t,e){return t.nodes[e]}const Ol={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Dl=()=>{},Tl=new Map;function El(t){let e=Tl.get(t);return e||(e=S(t)+"_"+Tl.size,Tl.set(t,e)),e}function Il(t,e,n,l){if(wn.isWrapped(l)){l=wn.unwrap(l);const i=t.def.nodes[e].bindingIndex+n,r=wn.unwrap(t.oldValues[i]);t.oldValues[i]=new wn(r)}return l}function Ll(t){return{id:"$$undefined",styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let jl=0;function Rl(t,e,n,l){return!(!(2&t.state)&&vn(t.oldValues[e.bindingIndex+n],l))}function Fl(t,e,n,l){return!!Rl(t,e,n,l)&&(t.oldValues[e.bindingIndex+n]=l,!0)}function Nl(t,e,n,l){const i=t.oldValues[e.bindingIndex+n];if(1&t.state||!Cn(i,l)){const r=e.bindings[n].name;throw yl(Ol.createDebugContext(t,e.nodeIndex),`${r}: ${i}`,`${r}: ${l}`,0!=(1&t.state))}}function Yl(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Ul(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Bl(t,e,n,l){try{return Yl(33554432&t.def.nodes[e].flags?xl(t,e).componentView:t),Ol.handleEvent(t,e,n,l)}catch(i){t.root.errorHandler.handleError(i)}}function zl(t){return t.parent?xl(t.parent,t.parentNodeDef.nodeIndex):null}function Gl(t){return t.parent?t.parentNodeDef.parent:null}function Hl(t,e){switch(201347067&e.flags){case 1:return xl(t,e.nodeIndex).renderElement;case 2:return Pl(t,e.nodeIndex).renderText}}function Vl(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function ql(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function Wl(t){return 1<<t%32}function $l(t){const e={};let n=0;const l={};return t&&t.forEach(([t,i])=>{"number"==typeof t?(e[t]=i,n|=Wl(t)):l[t]=i}),{matchedQueries:e,references:l,matchedQueryIds:n}}function Xl(t,e){return t.map(t=>{let n,l;return Array.isArray(t)?[l,n]=t:(l=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,"__source",{value:e,configurable:!0}),{flags:l,token:n,tokenKey:El(n)}})}function Kl(t,e,n){let l=n.renderParent;return l?0==(1&l.flags)||0==(33554432&l.flags)||l.element.componentRendererType&&l.element.componentRendererType.encapsulation===Q.Native?xl(t,n.renderParent.nodeIndex).renderElement:void 0:e}const Jl=new WeakMap;function Ql(t){let e=Jl.get(t);return e||(e=t(()=>Dl),e.factory=t,Jl.set(t,e)),e}function Zl(t,e,n,l,i){3===e&&(n=t.renderer.parentNode(Hl(t,t.def.lastRenderRootNode))),ti(t,e,0,t.def.nodes.length-1,n,l,i)}function ti(t,e,n,l,i,r,o){for(let a=n;a<=l;a++){const n=t.def.nodes[a];11&n.flags&&ni(t,n,e,i,r,o),a+=n.childCount}}function ei(t,e,n,l,i,r){let o=t;for(;o&&!Vl(o);)o=o.parent;const a=o.parent,s=Gl(o),u=s.nodeIndex+s.childCount;for(let c=s.nodeIndex+1;c<=u;c++){const t=a.def.nodes[c];t.ngContentIndex===e&&ni(a,t,n,l,i,r),c+=t.childCount}if(!a.parent){const o=t.root.projectableNodes[e];if(o)for(let e=0;e<o.length;e++)li(t,o[e],n,l,i,r)}}function ni(t,e,n,l,i,r){if(8&e.flags)ei(t,e.ngContent.index,n,l,i,r);else{const o=Hl(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&li(t,o,n,l,i,r),32&e.bindingFlags&&li(xl(t,e.nodeIndex).componentView,o,n,l,i,r)):li(t,o,n,l,i,r),16777216&e.flags){const o=xl(t,e.nodeIndex).viewContainer._embeddedViews;for(let t=0;t<o.length;t++)Zl(o[t],n,l,i,r)}1&e.flags&&!e.element.name&&ti(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,l,i,r)}}function li(t,e,n,l,i,r){const o=t.renderer;switch(n){case 1:o.appendChild(l,e);break;case 2:o.insertBefore(l,e,i);break;case 3:o.removeChild(l,e);break;case 0:r.push(e)}}const ii=/^:([^:]+):(.+)$/;function ri(t){if(":"===t[0]){const e=t.match(ii);return[e[1],e[2]]}return["",t]}function oi(t){let e=0;for(let n=0;n<t.length;n++)e|=t[n].flags;return e}function ai(t,e,n,l,i,r,o,a,s,u,c,d,h,p,f,b,m,g,_,y){switch(t){case 1:return e+si(n)+l;case 2:return e+si(n)+l+si(i)+r;case 3:return e+si(n)+l+si(i)+r+si(o)+a;case 4:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u;case 5:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d;case 6:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p;case 7:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p+si(f)+b;case 8:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p+si(f)+b+si(m)+g;case 9:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p+si(f)+b+si(m)+g+si(_)+y;default:throw new Error("Does not support more than 9 expressions")}}function si(t){return null!=t?t.toString():""}const ui=new Object,ci=El(on),di=El(R),hi=El(W);function pi(t,e,n,l){return n=O(n),{index:-1,deps:Xl(l,S(e)),flags:t,token:e,value:n}}function fi(t){const e={},n=[];let l=!1;for(let i=0;i<t.length;i++){const r=t[i];r.token===ln&&!0===r.value&&(l=!0),1073741824&r.flags&&n.push(r.token),r.index=i,e[El(r.token)]=r}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:l}}function bi(t,e,n=on.THROW_IF_NOT_FOUND){const l=B(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);const o=e.tokenKey;switch(o){case ci:case di:case hi:return t}const a=t._def.providersByKey[o];let s;if(a){let e=t._providers[a.index];return void 0===e&&(e=t._providers[a.index]=mi(t,a)),e===ui?void 0:e}if((s=P(e.token))&&(i=t,null!=(r=s).providedIn&&(function(t,e){return t._def.modules.indexOf(e)>-1}(i,r.providedIn)||"root"===r.providedIn&&i._def.isRoot))){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:n,token:e.token},t._providers[n]=ui,t._providers[n]=mi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{B(l)}var i,r}function mi(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const l=n.length;switch(l){case 0:return new e;case 1:return new e(bi(t,n[0]));case 2:return new e(bi(t,n[0]),bi(t,n[1]));case 3:return new e(bi(t,n[0]),bi(t,n[1]),bi(t,n[2]));default:const i=new Array(l);for(let e=0;e<l;e++)i[e]=bi(t,n[e]);return new e(...i)}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){const l=n.length;switch(l){case 0:return e();case 1:return e(bi(t,n[0]));case 2:return e(bi(t,n[0]),bi(t,n[1]));case 3:return e(bi(t,n[0]),bi(t,n[1]),bi(t,n[2]));default:const i=Array(l);for(let e=0;e<l;e++)i[e]=bi(t,n[e]);return e(...i)}}(t,e.value,e.deps);break;case 2048:n=bi(t,e.deps[0]);break;case 256:n=e.value}return n===ui||null===n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?ui:n}function gi(t,e){const n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;const l=n[e];return l.viewContainerParent=null,K(n,e),Ol.dirtyParentQueries(l),yi(l),l}function _i(t,e,n){const l=e?Hl(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(l),r=n.renderer.nextSibling(l);Zl(n,2,i,r,void 0)}function yi(t){Zl(t,3,null,null,void 0)}const Ai=new Object;function vi(t,e,n,l,i,r){return new Ci(t,e,n,l,i,r)}class Ci extends Fn{constructor(t,e,n,l,i,r){super(),this.selector=t,this.componentType=e,this._inputs=l,this._outputs=i,this.ngContentSelectors=r,this.viewDefFactory=n}get inputs(){const t=[],e=this._inputs;for(let n in e)t.push({propName:n,templateName:e[n]});return t}get outputs(){const t=[];for(let e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t}create(t,e,n,l){if(!l)throw new Error("ngModule should be provided");const i=Ql(this.viewDefFactory),r=i.nodes[0].element.componentProvider.nodeIndex,o=Ol.createRootView(t,e||[],n,i,l,Ai),a=Sl(o,r).instance;return n&&o.renderer.setAttribute(xl(o,0).renderElement,"ng-version",Zn.full),new wi(o,new ki(o),a)}}class wi extends class{}{constructor(t,e,n){super(),this._view=t,this._viewRef=e,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=e,this.changeDetectorRef=e,this.instance=n}get location(){return new Vn(xl(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Ti(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function Pi(t,e,n){return new xi(t,e,n)}class xi{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new Vn(this._data.renderElement)}get injector(){return new Ti(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=Gl(t),t=t.parent;return t?new Ti(t,e):new Ti(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=gi(this._data,t);Ol.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new ki(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const l=t.createEmbeddedView(e||{});return this.insert(l,n),l}createComponent(t,e,n,l,i){const r=n||this.parentInjector;i||t instanceof Gn||(i=r.get(W));const o=t.create(r,l,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t;return function(t,e,n,l){let i=e.viewContainer._embeddedViews;null==n&&(n=i.length),l.viewContainerParent=t,X(i,n,l),function(t,e){const n=zl(e);if(!n||n===t||16&e.state)return;e.state|=16;let l=n.template._projectedViews;l||(l=n.template._projectedViews=[]),l.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;let n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,l),Ol.dirtyParentQueries(l),_i(e,n>0?i[n-1]:null,l)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(t._view);return function(t,e,n){const l=t.viewContainer._embeddedViews,i=l[e];K(l,e),null==n&&(n=l.length),X(l,n,i),Ol.dirtyParentQueries(i),yi(i),_i(t,n>0?l[n-1]:null,i)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=gi(this._data,t);e&&Ol.destroyView(e)}detach(t){const e=gi(this._data,t);return e?new ki(e):null}}function Si(t){return new ki(t)}class ki{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return Zl(t,0,void 0,void 0,e),e}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Yl(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{Ol.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){Ol.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ol.destroyView(this._view)}detachFromAppRef(){this._appRef=null,yi(this._view),Ol.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function Mi(t,e){return new Oi(t,e)}class Oi extends bl{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new ki(Ol.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new Vn(xl(this._parentView,this._def.nodeIndex).renderElement)}}function Di(t,e){return new Ti(t,e)}class Ti{constructor(t,e){this.view=t,this.elDef=e}get(t,e=on.THROW_IF_NOT_FOUND){return Ol.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:El(t)},e)}}function Ei(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=xl(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return Pl(t,n.nodeIndex).renderText;if(20240&n.flags)return Sl(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ii(t){return new Li(t.renderer)}class Li{constructor(t){this.delegate=t}selectRootElement(t){return this.delegate.selectRootElement(t)}createElement(t,e){const[n,l]=ri(e),i=this.delegate.createElement(l,n);return t&&this.delegate.appendChild(t,i),i}createViewRoot(t){return t}createTemplateAnchor(t){const e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e}createText(t,e){const n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n}projectNodes(t,e){for(let n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])}attachViewAfter(t,e){const n=this.delegate.parentNode(t),l=this.delegate.nextSibling(t);for(let i=0;i<e.length;i++)this.delegate.insertBefore(n,e[i],l)}detachView(t){for(let e=0;e<t.length;e++){const n=t[e],l=this.delegate.parentNode(n);this.delegate.removeChild(l,n)}}destroyView(t,e){for(let n=0;n<e.length;n++)this.delegate.destroyNode(e[n])}listen(t,e,n){return this.delegate.listen(t,e,n)}listenGlobal(t,e,n){return this.delegate.listen(t,e,n)}setElementProperty(t,e,n){this.delegate.setProperty(t,e,n)}setElementAttribute(t,e,n){const[l,i]=ri(e);null!=n?this.delegate.setAttribute(t,i,n,l):this.delegate.removeAttribute(t,i,l)}setBindingDebugInfo(t,e,n){}setElementClass(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)}setElementStyle(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)}invokeElementMethod(t,e,n){t[e].apply(t,n)}setText(t,e){this.delegate.setValue(t,e)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function ji(t,e,n,l){return new Ri(t,e,n,l)}class Ri{constructor(t,e,n,l){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=l,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){const e=t._def,n=t._providers=new Array(e.providers.length);for(let l=0;l<e.providers.length;l++){const i=e.providers[l];4096&i.flags||void 0===n[l]&&(n[l]=mi(t,i))}}(this)}get(t,e=on.THROW_IF_NOT_FOUND,n=A.Default){let l=0;return n&A.SkipSelf?l|=1:n&A.Self&&(l|=4),bi(this,{token:t,tokenKey:El(t),flags:l},e)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Bn)}destroy(){if(this._destroyed)throw new Error(`The ng module ${S(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(t,e){const n=t._def,l=new Set;for(let i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){const e=t._providers[i];if(e&&e!==ui){const t=e.ngOnDestroy;"function"!=typeof t||l.has(e)||(t.apply(e),l.add(e))}}}(this),this._destroyListeners.forEach(t=>t())}onDestroy(t){this._destroyListeners.push(t)}}const Fi=El(Wn),Ni=El(Kn),Yi=El(Vn),Ui=El(gl),Bi=El(bl),zi=El(Be),Gi=El(on),Hi=El(R);function Vi(t,e,n,l,i,r,o,a){const s=[];if(o)for(let c in o){const[t,e]=o[c];s[t]={flags:8,name:c,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const u=[];if(a)for(let c in a)u.push({type:1,propName:c,target:null,eventName:a[c]});return $i(t,e|=16384,n,l,i,i,r,s,u)}function qi(t,e,n){return $i(-1,t|=16,null,0,e,e,n)}function Wi(t,e,n,l,i){return $i(-1,t,e,0,n,l,i)}function $i(t,e,n,l,i,r,o,a,s){const{matchedQueries:u,references:c,matchedQueryIds:d}=$l(n);s||(s=[]),a||(a=[]),r=O(r);const h=Xl(o,S(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:l,bindings:a,bindingFlags:oi(a),outputs:s,element:null,provider:{token:i,value:r,deps:h},text:null,query:null,ngContent:null}}function Xi(t,e){return Zi(t,e)}function Ki(t,e){let n=t;for(;n.parent&&!Vl(n);)n=n.parent;return tr(n.parent,Gl(n),!0,e.provider.value,e.provider.deps)}function Ji(t,e){const n=tr(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let l=0;l<e.outputs.length;l++){const i=e.outputs[l],r=n[i.propName];if(!jn(r))throw new Error(`@Output ${i.propName} not initialized in '${n.constructor.name}'.`);{const n=r.subscribe(Qi(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+l]=n.unsubscribe.bind(n)}}return n}function Qi(t,e,n){return l=>Bl(t,e,n,l)}function Zi(t,e){const n=(8192&e.flags)>0,l=e.provider;switch(201347067&e.flags){case 512:return tr(t,e.parent,n,l.value,l.deps);case 1024:return function(t,e,n,l,i){const r=i.length;switch(r){case 0:return l();case 1:return l(nr(t,e,n,i[0]));case 2:return l(nr(t,e,n,i[0]),nr(t,e,n,i[1]));case 3:return l(nr(t,e,n,i[0]),nr(t,e,n,i[1]),nr(t,e,n,i[2]));default:const o=Array(r);for(let l=0;l<r;l++)o[l]=nr(t,e,n,i[l]);return l(...o)}}(t,e.parent,n,l.value,l.deps);case 2048:return nr(t,e.parent,n,l.deps[0]);case 256:return l.value}}function tr(t,e,n,l,i){const r=i.length;switch(r){case 0:return new l;case 1:return new l(nr(t,e,n,i[0]));case 2:return new l(nr(t,e,n,i[0]),nr(t,e,n,i[1]));case 3:return new l(nr(t,e,n,i[0]),nr(t,e,n,i[1]),nr(t,e,n,i[2]));default:const o=new Array(r);for(let l=0;l<r;l++)o[l]=nr(t,e,n,i[l]);return new l(...o)}}const er={};function nr(t,e,n,l,i=on.THROW_IF_NOT_FOUND){if(8&l.flags)return l.token;const r=t;2&l.flags&&(i=null);const o=l.tokenKey;o===zi&&(n=!(!e||!e.element.componentView)),e&&1&l.flags&&(n=!1,e=e.parent);let a=t;for(;a;){if(e)switch(o){case Fi:return Ii(lr(a,e,n));case Ni:return lr(a,e,n).renderer;case Yi:return new Vn(xl(a,e.nodeIndex).renderElement);case Ui:return xl(a,e.nodeIndex).viewContainer;case Bi:if(e.element.template)return xl(a,e.nodeIndex).template;break;case zi:return Si(lr(a,e,n));case Gi:case Hi:return Di(a,e);default:const t=(n?e.element.allProviders:e.element.publicProviders)[o];if(t){let e=Sl(a,t.nodeIndex);return e||(e={instance:Zi(a,t)},a.nodes[t.nodeIndex]=e),e.instance}}n=Vl(a),e=Gl(a),a=a.parent,4&l.flags&&(a=null)}const s=r.root.injector.get(l.token,er);return s!==er||i===er?s:r.root.ngModule.injector.get(l.token,i)}function lr(t,e,n){let l;if(n)l=xl(t,e.nodeIndex).componentView;else for(l=t;l.parent&&!Vl(l);)l=l.parent;return l}function ir(t,e,n,l,i,r){if(32768&n.flags){const e=xl(t,n.parent.nodeIndex).componentView;2&e.def.flags&&(e.state|=8)}if(e.instance[n.bindings[l].name]=i,524288&n.flags){r=r||{};const e=wn.unwrap(t.oldValues[n.bindingIndex+l]);r[n.bindings[l].nonMinifiedName]=new Rn(e,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+l]=i,r}function rr(t,e){if(!(t.def.nodeFlags&e))return;const n=t.def.nodes;let l=0;for(let i=0;i<n.length;i++){const r=n[i];let o=r.parent;for(!o&&r.flags&e&&ar(t,i,r.flags&e,l++),0==(r.childFlags&e)&&(i+=r.childCount);o&&1&o.flags&&i===o.nodeIndex+o.childCount;)o.directChildFlags&e&&(l=or(t,o,e,l)),o=o.parent}}function or(t,e,n,l){for(let i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){const e=t.def.nodes[i];e.flags&n&&ar(t,i,e.flags&n,l++),i+=e.childCount}return l}function ar(t,e,n,l){const i=Sl(t,e);if(!i)return;const r=i.instance;r&&(Ol.setCurrentNode(t,e),1048576&n&&wl(t,512,l)&&r.ngAfterContentInit(),2097152&n&&r.ngAfterContentChecked(),4194304&n&&wl(t,768,l)&&r.ngAfterViewInit(),8388608&n&&r.ngAfterViewChecked(),131072&n&&r.ngOnDestroy())}const sr=new j("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>gt}),ur={},cr=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),dr=void 0;var hr=["en",[["a","p"],["AM","PM"],dr],[["AM","PM"],dr,dr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],dr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],dr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",dr,"{1} 'at' {0}",dr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];function pr(t){return fr(t)[cr.PluralCase]}function fr(t){const e=t.toLowerCase().replace(/_/g,"-");let n=ur[e];if(n)return n;const l=e.split("-")[0];if(n=ur[l],n)return n;if("en"===l)return hr;throw new Error(`Missing locale data for the locale "${t}".`)}class br extends l.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let l,r=t=>null,o=()=>null;t&&"object"==typeof t?(l=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(r=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(l=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(l,r,o);return t instanceof i.a&&t.add(a),a}}function mr(){return this._results[An()]()}class gr{constructor(){this.dirty=!0,this._results=[],this.changes=new br,this.length=0;const t=An(),e=gr.prototype;e[t]||(e[t]=mr)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let l=0;l<e.length;l++){let i=e[l];Array.isArray(i)?(n===e&&(n=e.slice(0,l)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const _r=d("Directive",(t={})=>t,void 0,void 0,(t,e)=>wr(t,e)),yr=d("Component",(t={})=>Object.assign({changeDetection:J.Default},t),_r,void 0,(t,e)=>Cr(t,e)),Ar=f("Output",t=>({bindingPropertyName:t})),vr=f("HostListener",(t,e)=>({eventName:t,args:e})),Cr=Hn,wr=Hn,Pr=d("NgModule",t=>t,void 0,void 0,(t,e)=>xr(t,e)),xr=function(t,e){let n=e&&e.imports||[];var l;e&&e.exports&&(n=[...n,e.exports]),t.ngInjectorDef={factory:(l={factory:tn(t,{useClass:t}),providers:e&&e.providers,imports:n}).factory,providers:l.providers||[],imports:l.imports||[]}},Sr=new j("Application Initializer");class kr{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Ln(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}const Mr=new j("AppId");function Or(){return`${Dr()}${Dr()}${Dr()}`}function Dr(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Tr=new j("Platform Initializer"),Er=new j("Platform ID"),Ir=new j("appBootstrapListener");class Lr{log(t){console.log(t)}warn(t){console.warn(t)}}const jr=new j("LocaleId");function Rr(){throw new Error("Runtime compiler is not loaded")}const Fr=Rr,Nr=Rr,Yr=Rr,Ur=Rr;class Br{constructor(){this.compileModuleSync=Fr,this.compileModuleAsync=Nr,this.compileModuleAndAllComponentsSync=Yr,this.compileModuleAndAllComponentsAsync=Ur}clearCache(){}clearCacheFor(t){}getModuleId(t){}}class zr{}let Gr,Hr;function Vr(){const t=L.wtf;return!(!t||(Gr=t.trace,!Gr)||(Hr=Gr.events,0))}const qr=Vr();function Wr(t,e){return null}const $r=qr?function(t,e=null){return Hr.createScope(t,e)}:(t,e)=>Wr,Xr=qr?function(t,e){return Gr.leaveScope(t,e),e}:(t,e)=>e,Kr=(()=>Promise.resolve(0))();function Jr(t){"undefined"==typeof Zone?Kr.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Qr{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new br(!1),this.onMicrotaskEmpty=new br(!1),this.onStable=new br(!1),this.onError=new br(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var e;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,n,l,i,r,o)=>{try{return no(e),t.invokeTask(l,i,r,o)}finally{lo(e)}},onInvoke:(t,n,l,i,r,o,a)=>{try{return no(e),t.invoke(l,i,r,o,a)}finally{lo(e)}},onHasTask:(t,n,l,i)=>{t.hasTask(l,i),n===l&&("microTask"==i.change?(e.hasPendingMicrotasks=i.microTask,eo(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,l,i)=>(t.handleError(l,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Qr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,l){const i=this._inner,r=i.scheduleEventTask("NgZoneEvent: "+l,t,to,Zr,Zr);try{return i.runTask(r,e,n)}finally{i.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Zr(){}const to={};function eo(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function no(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function lo(t){t._nesting--,eo(t)}class io{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new br,this.onMicrotaskEmpty=new br,this.onStable=new br,this.onError=new br}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}class ro{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qr.assertNotInAngularZone(),Jr(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Jr(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let l=-1;e&&e>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==l),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:l,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}class oo{constructor(){this._applications=new Map,co.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return co.findTestabilityInTree(this,t,e)}}class ao{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function so(t){co=t}let uo,co=new ao;const ho=new j("AllowMultipleToken");class po{constructor(t,e){this.name=t,this.token=e}}function fo(t,e,n=[]){const l="Platform: "+e,i=new j(l);return(e=[])=>{let r=bo();if(!r||r.injector.get(ho,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(uo&&!uo.destroyed&&!uo.injector.get(ho,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");uo=t.get(mo);const e=t.get(Tr,null);e&&e.forEach(t=>t())}(on.create({providers:t,name:l}))}return function(t){const e=bo();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function bo(){return uo&&!uo.destroyed?uo:null}class mo{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t){let e;return e="noop"===t?new io:("zone.js"===t?void 0:t)||new Qr({enableLongStackTrace:$t()}),e}(e?e.ngZone:void 0),l=[{provide:Qr,useValue:n}];return n.run(()=>{const e=on.create({providers:l,parent:this.injector,name:t.moduleType.name}),i=t.create(e),r=i.injector.get(Vt,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>yo(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{r.handleError(t)}})),function(t,e,n){try{const l=n();return Ln(l)?l.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):l}catch(l){throw e.runOutsideAngular(()=>t.handleError(l)),l}}(r,n,()=>{const t=i.injector.get(kr);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=go({},e);return function(t,e,n){return t.get(zr).createCompiler([e]).compileModuleAsync(n)}(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(_o);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${S(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}function go(t,e){return Array.isArray(e)?e.reduce(go,t):Object.assign({},t,e)}let _o=(()=>{class t{constructor(t,e,n,l,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=$t(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new r.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new r.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Qr.assertNotInAngularZone(),Jr(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Qr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(u,c.pipe(Object(a.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Fn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const l=n instanceof Gn?null:this._injector.get(W),i=n.create(on.NULL,[],e||n.selector,l);i.onDestroy(()=>{this._unloadComponent(i)});const r=i.injector.get(ro,null);return r&&i.injector.get(oo).registerApplication(i.location.nativeElement,r),this._loadComponent(i),$t()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const e=t._tickScope();try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Xr(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;yo(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ir,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),yo(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t._tickScope=$r("ApplicationRef#tick()"),t})();function yo(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Ao{}class vo{}const Co={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class wo{constructor(t,e){this._compiler=t,this._config=e||Co}load(t){return this._compiler instanceof Br?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,l]=t.split("#");return void 0===l&&(l="default"),n("tyRR")(e).then(t=>t[l]).then(t=>Po(t,e,l)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,l]=t.split("#"),i="NgFactory";return void 0===l&&(l="default",i=""),n("tyRR")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[l+i]).then(t=>Po(t,e,l))}}function Po(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class xo{constructor(t,e){this.name=t,this.callback=e}}class So{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof ko&&e.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class ko extends So{constructor(t,e,n){super(t,e,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))}insertChildrenAfter(t,e){const n=this.childNodes.indexOf(t);-1!==n&&(this.childNodes.splice(n+1,0,...e),e.forEach(e=>{e.parent&&e.parent.removeChild(e),t.parent=this}))}insertBefore(t,e){const n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return function t(e,n,l){e.childNodes.forEach(e=>{e instanceof ko&&(n(e)&&l.push(e),t(e,n,l))})}(this,t,e),e}queryAllNodes(t){const e=[];return function t(e,n,l){e instanceof ko&&e.childNodes.forEach(e=>{n(e)&&l.push(e),e instanceof ko&&t(e,n,l)})}(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof ko)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}const Mo=new Map,Oo=function(t){return Mo.get(t)||null};function Do(t){Mo.set(t.nativeNode,t)}const To=fo(null,"core",[{provide:Er,useValue:"unknown"},{provide:mo,deps:[on]},{provide:oo,deps:[]},{provide:Lr,deps:[]}]);function Eo(){return pl}function Io(){return fl}function Lo(t){return t||"en-US"}function jo(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}class Ro{constructor(t){}}function Fo(t,e,n,l,i,r){t|=1;const{matchedQueries:o,references:a,matchedQueryIds:s}=$l(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:s,references:a,ngContentIndex:n,childCount:l,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:r?Ql(r):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Dl},provider:null,text:null,query:null,ngContent:null}}function No(t,e,n,l,i,r,o=[],a,s,u,c,d){u||(u=Dl);const{matchedQueries:h,references:p,matchedQueryIds:f}=$l(n);let b=null,m=null;r&&([b,m]=ri(r)),a=a||[];const g=new Array(a.length);for(let A=0;A<a.length;A++){const[t,e,n]=a[A],[l,i]=ri(e);let r=void 0,o=void 0;switch(15&t){case 4:o=n;break;case 1:case 8:r=n}g[A]={flags:t,ns:l,name:i,nonMinifiedName:i,securityContext:r,suffix:o}}s=s||[];const _=new Array(s.length);for(let A=0;A<s.length;A++){const[t,e]=s[A];_[A]={type:0,target:t,eventName:e,propName:null}}const y=(o=o||[]).map(([t,e])=>{const[n,l]=ri(t);return[n,l,e]});return d=function(t){if(t&&"$$undefined"===t.id){const e=null!=t.encapsulation&&t.encapsulation!==Q.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+jl++:"$$empty"}return t&&"$$empty"===t.id&&(t=null),t||null}(d),c&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:l,childCount:i,bindings:g,bindingFlags:oi(g),outputs:_,element:{ns:b,name:m,attrs:y,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||Dl},provider:null,text:null,query:null,ngContent:null}}function Yo(t,e,n){const l=n.element,i=t.root.selectorOrNode,r=t.renderer;let o;if(t.parent||!i){o=l.name?r.createElement(l.name,l.ns):r.createComment("");const i=Kl(t,e,n);i&&r.appendChild(i,o)}else o=r.selectRootElement(i,!!l.componentRendererType&&l.componentRendererType.encapsulation===Q.ShadowDom);if(l.attrs)for(let a=0;a<l.attrs.length;a++){const[t,e,n]=l.attrs[a];r.setAttribute(o,e,n,t)}return o}function Uo(t,e,n,l){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],s=Bo(t,n.nodeIndex,(r=a.eventName,(i=a.target)?`${i}:${r}`:r));let u=a.target,c=t;"component"===a.target&&(u=null,c=e);const d=c.renderer.listen(u||l,a.eventName,s);t.disposables[n.outputIndex+o]=d}var i,r}function Bo(t,e,n){return l=>Bl(t,e,n,l)}function zo(t,e,n,l){if(!Fl(t,e,n,l))return!1;const i=e.bindings[n],r=xl(t,e.nodeIndex),o=r.renderElement,a=i.name;switch(15&i.flags){case 1:!function(t,e,n,l,i,r){const o=e.securityContext;let a=o?t.root.sanitizer.sanitize(o,r):r;a=null!=a?a.toString():null;const s=t.renderer;null!=r?s.setAttribute(n,i,a,l):s.removeAttribute(n,i,l)}(t,i,o,i.ns,a,l);break;case 2:!function(t,e,n,l){const i=t.renderer;l?i.addClass(e,n):i.removeClass(e,n)}(t,o,a,l);break;case 4:!function(t,e,n,l,i){let r=t.root.sanitizer.sanitize(_e.STYLE,i);if(null!=r){r=r.toString();const t=e.suffix;null!=t&&(r+=t)}else r=null;const o=t.renderer;null!=r?o.setStyle(n,l,r):o.removeStyle(n,l)}(t,i,o,a,l);break;case 8:!function(t,e,n,l,i){const r=e.securityContext;let o=r?t.root.sanitizer.sanitize(r,i):i;t.renderer.setProperty(n,l,o)}(33554432&e.flags&&32&i.flags?r.componentView:t,i,o,a,l)}return!0}function Go(t,e,n){let l=[];for(let i in n)l.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Wl(e),bindings:l},ngContent:null}}function Ho(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&ql(t);){let n=t.parentNodeDef;t=t.parent;const l=n.nodeIndex+n.childCount;for(let i=0;i<=l;i++){const l=t.def.nodes[i];67108864&l.flags&&536870912&l.flags&&(l.query.filterId&e)===l.query.filterId&&Ml(t,i).setDirty(),!(1&l.flags&&i+l.childCount<n.nodeIndex)&&67108864&l.childFlags&&536870912&l.childFlags||(i+=l.childCount)}}if(134217728&t.def.nodeFlags)for(let n=0;n<t.def.nodes.length;n++){const e=t.def.nodes[n];134217728&e.flags&&536870912&e.flags&&Ml(t,n).setDirty(),n+=e.childCount}}function Vo(t,e){const n=Ml(t,e.nodeIndex);if(!n.dirty)return;let l,i=void 0;if(67108864&e.flags){const n=e.parent.parent;i=qo(t,n.nodeIndex,n.nodeIndex+n.childCount,e.query,[]),l=Sl(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=qo(t,0,t.def.nodes.length-1,e.query,[]),l=t.component);n.reset(i);const r=e.query.bindings;let o=!1;for(let a=0;a<r.length;a++){const t=r[a];let e;switch(t.bindingType){case 0:e=n.first;break;case 1:e=n,o=!0}l[t.propName]=e}o&&n.notifyOnChanges()}function qo(t,e,n,l,i){for(let r=e;r<=n;r++){const e=t.def.nodes[r],n=e.matchedQueries[l.id];if(null!=n&&i.push(Wo(t,e,n)),1&e.flags&&e.element.template&&(e.element.template.nodeMatchedQueries&l.filterId)===l.filterId){const n=xl(t,r);if((e.childMatchedQueries&l.filterId)===l.filterId&&(qo(t,r+1,r+e.childCount,l,i),r+=e.childCount),16777216&e.flags){const t=n.viewContainer._embeddedViews;for(let e=0;e<t.length;e++){const r=t[e],o=zl(r);o&&o===n&&qo(r,0,r.def.nodes.length-1,l,i)}}const o=n.template._projectedViews;if(o)for(let t=0;t<o.length;t++){const e=o[t];qo(e,0,e.def.nodes.length-1,l,i)}}(e.childMatchedQueries&l.filterId)!==l.filterId&&(r+=e.childCount)}return i}function Wo(t,e,n){if(null!=n)switch(n){case 1:return xl(t,e.nodeIndex).renderElement;case 0:return new Vn(xl(t,e.nodeIndex).renderElement);case 2:return xl(t,e.nodeIndex).template;case 3:return xl(t,e.nodeIndex).viewContainer;case 4:return Sl(t,e.nodeIndex).instance}}function $o(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Xo(t,e,n){const l=Kl(t,e,n);l&&ei(t,n.ngContent.index,1,l,null,void 0)}function Ko(t,e){return Qo(128,t,new Array(e+1))}function Jo(t,e){const n=Object.keys(e),l=n.length,i=new Array(l);for(let r=0;r<l;r++){const t=n[r];i[e[t]]=t}return Qo(64,t,i)}function Qo(t,e,n){const l=new Array(n.length);for(let i=0;i<n.length;i++){const t=n[i];l[i]={flags:8,name:t,ns:null,nonMinifiedName:t,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:l,bindingFlags:oi(l),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Zo(t,e,n){const l=new Array(n.length-1);for(let i=1;i<n.length;i++)l[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:l,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ta(t,e,n){let l;const i=t.renderer;l=i.createText(n.text.prefix);const r=Kl(t,e,n);return r&&i.appendChild(r,l),{renderText:l}}function ea(t,e){return(null!=t?t.toString():"")+e.suffix}function na(t,e,n,l){let i=0,r=0,o=0,a=0,s=0,u=null,c=null,d=!1,h=!1,p=null;for(let f=0;f<e.length;f++){const t=e[f];if(t.nodeIndex=f,t.parent=u,t.bindingIndex=i,t.outputIndex=r,t.renderParent=c,o|=t.flags,s|=t.matchedQueryIds,t.element){const e=t.element;e.publicProviders=u?u.element.publicProviders:Object.create(null),e.allProviders=e.publicProviders,d=!1,h=!1,t.element.template&&(s|=t.element.template.nodeMatchedQueries)}if(ia(u,t,e.length),i+=t.bindings.length,r+=t.outputs.length,!c&&3&t.flags&&(p=t),20224&t.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);const e=0!=(32768&t.flags);0==(8192&t.flags)||e?u.element.publicProviders[El(t.provider.token)]=t:(h||(h=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[El(t.provider.token)]=t),e&&(u.element.componentProvider=t)}if(u?(u.childFlags|=t.flags,u.directChildFlags|=t.flags,u.childMatchedQueries|=t.matchedQueryIds,t.element&&t.element.template&&(u.childMatchedQueries|=t.element.template.nodeMatchedQueries)):a|=t.flags,t.childCount>0)u=t,la(t)||(c=t);else for(;u&&f===u.nodeIndex+u.childCount;){const t=u.parent;t&&(t.childFlags|=u.childFlags,t.childMatchedQueries|=u.childMatchedQueries),u=t,c=u&&la(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||Dl,updateRenderer:l||Dl,handleEvent:(t,n,l,i)=>e[n].element.handleEvent(t,l,i),bindingCount:i,outputCount:r,lastRenderRootNode:p}}function la(t){return 0!=(1&t.flags)&&null===t.element.name}function ia(t,e,n){const l=e.element&&e.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!`)}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!`);if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!`);if(134217728&e.flags&&t)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!`)}if(e.childCount){const l=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=l&&e.nodeIndex+e.childCount>l)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function ra(t,e,n,l){const i=sa(t.root,t.renderer,t,e,n);return ua(i,t.component,l),ca(i),i}function oa(t,e,n){const l=sa(t,t.renderer,null,null,e);return ua(l,n,n),ca(l),l}function aa(t,e,n,l){const i=e.element.componentRendererType;let r;return r=i?t.root.rendererFactory.createRenderer(l,i):t.root.renderer,sa(t.root,r,t,e.element.componentProvider,n)}function sa(t,e,n,l,i){const r=new Array(i.nodes.length),o=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:r,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:o,initIndex:-1}}function ua(t,e,n){t.component=e,t.context=n}function ca(t){let e;Vl(t)&&(e=xl(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,l=t.nodes;for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];let o;switch(Ol.setCurrentNode(t,i),201347067&r.flags){case 1:const n=Yo(t,e,r);let a=void 0;if(33554432&r.flags){const e=Ql(r.element.componentView);a=Ol.createComponentView(t,r,e,n)}Uo(t,a,r,n),o={renderElement:n,componentView:a,viewContainer:null,template:r.element.template?Mi(t,r):void 0},16777216&r.flags&&(o.viewContainer=Pi(t,r,o));break;case 2:o=ta(t,e,r);break;case 512:case 1024:case 2048:case 256:o=l[i],o||4096&r.flags||(o={instance:Xi(t,r)});break;case 16:o={instance:Ki(t,r)};break;case 16384:o=l[i],o||(o={instance:Ji(t,r)}),32768&r.flags&&ua(xl(t,r.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new gr;break;case 8:Xo(t,e,r),o=void 0}l[i]=o}ya(t,_a.CreateViewNodes),wa(t,201326592,268435456,0)}function da(t){fa(t),Ol.updateDirectives(t,1),Aa(t,_a.CheckNoChanges),Ol.updateRenderer(t,1),ya(t,_a.CheckNoChanges),t.state&=-97}function ha(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Cl(t,0,256),fa(t),Ol.updateDirectives(t,0),Aa(t,_a.CheckAndUpdate),wa(t,67108864,536870912,0);let e=Cl(t,256,512);rr(t,2097152|(e?1048576:0)),Ol.updateRenderer(t,0),ya(t,_a.CheckAndUpdate),wa(t,134217728,536870912,0),e=Cl(t,512,768),rr(t,8388608|(e?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Cl(t,768,1024)}function pa(t,e,n,l,i,r,o,a,s,u,c,d,h){return 0===n?function(t,e,n,l,i,r,o,a,s,u,c,d){switch(201347067&e.flags){case 1:return function(t,e,n,l,i,r,o,a,s,u,c,d){const h=e.bindings.length;let p=!1;return h>0&&zo(t,e,0,n)&&(p=!0),h>1&&zo(t,e,1,l)&&(p=!0),h>2&&zo(t,e,2,i)&&(p=!0),h>3&&zo(t,e,3,r)&&(p=!0),h>4&&zo(t,e,4,o)&&(p=!0),h>5&&zo(t,e,5,a)&&(p=!0),h>6&&zo(t,e,6,s)&&(p=!0),h>7&&zo(t,e,7,u)&&(p=!0),h>8&&zo(t,e,8,c)&&(p=!0),h>9&&zo(t,e,9,d)&&(p=!0),p}(t,e,n,l,i,r,o,a,s,u,c,d);case 2:return function(t,e,n,l,i,r,o,a,s,u,c,d){let h=!1;const p=e.bindings,f=p.length;if(f>0&&Fl(t,e,0,n)&&(h=!0),f>1&&Fl(t,e,1,l)&&(h=!0),f>2&&Fl(t,e,2,i)&&(h=!0),f>3&&Fl(t,e,3,r)&&(h=!0),f>4&&Fl(t,e,4,o)&&(h=!0),f>5&&Fl(t,e,5,a)&&(h=!0),f>6&&Fl(t,e,6,s)&&(h=!0),f>7&&Fl(t,e,7,u)&&(h=!0),f>8&&Fl(t,e,8,c)&&(h=!0),f>9&&Fl(t,e,9,d)&&(h=!0),h){let h=e.text.prefix;f>0&&(h+=ea(n,p[0])),f>1&&(h+=ea(l,p[1])),f>2&&(h+=ea(i,p[2])),f>3&&(h+=ea(r,p[3])),f>4&&(h+=ea(o,p[4])),f>5&&(h+=ea(a,p[5])),f>6&&(h+=ea(s,p[6])),f>7&&(h+=ea(u,p[7])),f>8&&(h+=ea(c,p[8])),f>9&&(h+=ea(d,p[9]));const b=Pl(t,e.nodeIndex).renderText;t.renderer.setValue(b,h)}return h}(t,e,n,l,i,r,o,a,s,u,c,d);case 16384:return function(t,e,n,l,i,r,o,a,s,u,c,d){const h=Sl(t,e.nodeIndex),p=h.instance;let f=!1,b=void 0;const m=e.bindings.length;return m>0&&Rl(t,e,0,n)&&(f=!0,b=ir(t,h,e,0,n,b)),m>1&&Rl(t,e,1,l)&&(f=!0,b=ir(t,h,e,1,l,b)),m>2&&Rl(t,e,2,i)&&(f=!0,b=ir(t,h,e,2,i,b)),m>3&&Rl(t,e,3,r)&&(f=!0,b=ir(t,h,e,3,r,b)),m>4&&Rl(t,e,4,o)&&(f=!0,b=ir(t,h,e,4,o,b)),m>5&&Rl(t,e,5,a)&&(f=!0,b=ir(t,h,e,5,a,b)),m>6&&Rl(t,e,6,s)&&(f=!0,b=ir(t,h,e,6,s,b)),m>7&&Rl(t,e,7,u)&&(f=!0,b=ir(t,h,e,7,u,b)),m>8&&Rl(t,e,8,c)&&(f=!0,b=ir(t,h,e,8,c,b)),m>9&&Rl(t,e,9,d)&&(f=!0,b=ir(t,h,e,9,d,b)),b&&p.ngOnChanges(b),65536&e.flags&&wl(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),f}(t,e,n,l,i,r,o,a,s,u,c,d);case 32:case 64:case 128:return function(t,e,n,l,i,r,o,a,s,u,c,d){const h=e.bindings;let p=!1;const f=h.length;if(f>0&&Fl(t,e,0,n)&&(p=!0),f>1&&Fl(t,e,1,l)&&(p=!0),f>2&&Fl(t,e,2,i)&&(p=!0),f>3&&Fl(t,e,3,r)&&(p=!0),f>4&&Fl(t,e,4,o)&&(p=!0),f>5&&Fl(t,e,5,a)&&(p=!0),f>6&&Fl(t,e,6,s)&&(p=!0),f>7&&Fl(t,e,7,u)&&(p=!0),f>8&&Fl(t,e,8,c)&&(p=!0),f>9&&Fl(t,e,9,d)&&(p=!0),p){const p=kl(t,e.nodeIndex);let b;switch(201347067&e.flags){case 32:b=new Array(h.length),f>0&&(b[0]=n),f>1&&(b[1]=l),f>2&&(b[2]=i),f>3&&(b[3]=r),f>4&&(b[4]=o),f>5&&(b[5]=a),f>6&&(b[6]=s),f>7&&(b[7]=u),f>8&&(b[8]=c),f>9&&(b[9]=d);break;case 64:b={},f>0&&(b[h[0].name]=n),f>1&&(b[h[1].name]=l),f>2&&(b[h[2].name]=i),f>3&&(b[h[3].name]=r),f>4&&(b[h[4].name]=o),f>5&&(b[h[5].name]=a),f>6&&(b[h[6].name]=s),f>7&&(b[h[7].name]=u),f>8&&(b[h[8].name]=c),f>9&&(b[h[9].name]=d);break;case 128:const t=n;switch(f){case 1:b=t.transform(n);break;case 2:b=t.transform(l);break;case 3:b=t.transform(l,i);break;case 4:b=t.transform(l,i,r);break;case 5:b=t.transform(l,i,r,o);break;case 6:b=t.transform(l,i,r,o,a);break;case 7:b=t.transform(l,i,r,o,a,s);break;case 8:b=t.transform(l,i,r,o,a,s,u);break;case 9:b=t.transform(l,i,r,o,a,s,u,c);break;case 10:b=t.transform(l,i,r,o,a,s,u,c,d)}}p.value=b}return p}(t,e,n,l,i,r,o,a,s,u,c,d);default:throw"unreachable"}}(t,e,l,i,r,o,a,s,u,c,d,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let l=!1;for(let i=0;i<n.length;i++)zo(t,e,i,n[i])&&(l=!0);return l}(t,e,n);case 2:return function(t,e,n){const l=e.bindings;let i=!1;for(let r=0;r<n.length;r++)Fl(t,e,r,n[r])&&(i=!0);if(i){let i="";for(let t=0;t<n.length;t++)i+=ea(n[t],l[t]);i=e.text.prefix+i;const r=Pl(t,e.nodeIndex).renderText;t.renderer.setValue(r,i)}return i}(t,e,n);case 16384:return function(t,e,n){const l=Sl(t,e.nodeIndex),i=l.instance;let r=!1,o=void 0;for(let a=0;a<n.length;a++)Rl(t,e,a,n[a])&&(r=!0,o=ir(t,l,e,a,n[a],o));return o&&i.ngOnChanges(o),65536&e.flags&&wl(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),r}(t,e,n);case 32:case 64:case 128:return function(t,e,n){const l=e.bindings;let i=!1;for(let r=0;r<n.length;r++)Fl(t,e,r,n[r])&&(i=!0);if(i){const i=kl(t,e.nodeIndex);let r;switch(201347067&e.flags){case 32:r=n;break;case 64:r={};for(let i=0;i<n.length;i++)r[l[i].name]=n[i];break;case 128:const t=n[0],e=n.slice(1);r=t.transform(...e)}i.value=r}return i}(t,e,n);default:throw"unreachable"}}(t,e,l)}function fa(t){const e=t.def;if(4&e.nodeFlags)for(let n=0;n<e.nodes.length;n++){const l=e.nodes[n];if(4&l.flags){const e=xl(t,n).template._projectedViews;if(e)for(let n=0;n<e.length;n++){const l=e[n];l.state|=32,Ul(l,t)}}else 0==(4&l.childFlags)&&(n+=l.childCount)}}function ba(t,e,n,l,i,r,o,a,s,u,c,d,h){return 0===n?function(t,e,n,l,i,r,o,a,s,u,c,d){const h=e.bindings.length;h>0&&Nl(t,e,0,n),h>1&&Nl(t,e,1,l),h>2&&Nl(t,e,2,i),h>3&&Nl(t,e,3,r),h>4&&Nl(t,e,4,o),h>5&&Nl(t,e,5,a),h>6&&Nl(t,e,6,s),h>7&&Nl(t,e,7,u),h>8&&Nl(t,e,8,c),h>9&&Nl(t,e,9,d)}(t,e,l,i,r,o,a,s,u,c,d,h):function(t,e,n){for(let l=0;l<n.length;l++)Nl(t,e,l,n[l])}(t,e,l),!1}function ma(t,e){if(Ml(t,e.nodeIndex).dirty)throw yl(Ol.createDebugContext(t,e.nodeIndex),`Query ${e.query.id} not dirty`,`Query ${e.query.id} dirty`,0!=(1&t.state))}function ga(t){if(!(128&t.state)){if(Aa(t,_a.Destroy),ya(t,_a.Destroy),rr(t,131072),t.disposables)for(let e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(!(16&t.state))return;const e=zl(t);if(e){const n=e.template._projectedViews;n&&(K(n,n.indexOf(t)),Ol.dirtyParentQueries(t))}}(t),t.renderer.destroyNode&&function(t){const e=t.def.nodes.length;for(let n=0;n<e;n++){const e=t.def.nodes[n];1&e.flags?t.renderer.destroyNode(xl(t,n).renderElement):2&e.flags?t.renderer.destroyNode(Pl(t,n).renderText):(67108864&e.flags||134217728&e.flags)&&Ml(t,n).destroy()}}(t),Vl(t)&&t.renderer.destroy(),t.state|=128}}const _a=function(){var t={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return t[t.CreateViewNodes]="CreateViewNodes",t[t.CheckNoChanges]="CheckNoChanges",t[t.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",t[t.Destroy]="Destroy",t}();function ya(t,e){const n=t.def;if(33554432&n.nodeFlags)for(let l=0;l<n.nodes.length;l++){const i=n.nodes[l];33554432&i.flags?va(xl(t,l).componentView,e):0==(33554432&i.childFlags)&&(l+=i.childCount)}}function Aa(t,e){const n=t.def;if(16777216&n.nodeFlags)for(let l=0;l<n.nodes.length;l++){const i=n.nodes[l];if(16777216&i.flags){const n=xl(t,l).viewContainer._embeddedViews;for(let t=0;t<n.length;t++)va(n[t],e)}else 0==(16777216&i.childFlags)&&(l+=i.childCount)}}function va(t,e){const n=t.state;switch(e){case _a.CheckNoChanges:0==(128&n)&&(12==(12&n)?da(t):64&n&&Ca(t,_a.CheckNoChangesProjectedViews));break;case _a.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?da(t):64&n&&Ca(t,e));break;case _a.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ha(t):64&n&&Ca(t,_a.CheckAndUpdateProjectedViews));break;case _a.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ha(t):64&n&&Ca(t,e));break;case _a.Destroy:ga(t);break;case _a.CreateViewNodes:ca(t)}}function Ca(t,e){Aa(t,e),ya(t,e)}function wa(t,e,n,l){if(!(t.def.nodeFlags&e&&t.def.nodeFlags&n))return;const i=t.def.nodes.length;for(let r=0;r<i;r++){const i=t.def.nodes[r];if(i.flags&e&&i.flags&n)switch(Ol.setCurrentNode(t,i.nodeIndex),l){case 0:Vo(t,i);break;case 1:ma(t,i)}i.childFlags&e&&i.childFlags&n||(r+=i.childCount)}}let Pa=!1;function xa(t,e,n,l,i,r){const o=i.injector.get($n);return oa(ka(t,i,o,e,n),l,r)}function Sa(t,e,n,l,i,r){const o=i.injector.get($n),a=ka(t,i,new rs(o),e,n),s=Fa(l);return ls(Ga.create,oa,null,[a,s,r])}function ka(t,e,n,l,i){const r=e.injector.get(ye),o=e.injector.get(Vt),a=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:l,selectorOrNode:i,sanitizer:r,rendererFactory:n,renderer:a,errorHandler:o}}function Ma(t,e,n,l){const i=Fa(n);return ls(Ga.create,ra,null,[t,e,i,l])}function Oa(t,e,n,l){return n=Ia.get(e.element.componentProvider.provider.token)||Fa(n),ls(Ga.create,aa,null,[t,e,n,l])}function Da(t,e,n,l){return ji(t,e,n,function(t){const{hasOverrides:e,hasDeprecatedOverrides:n}=function(t){let e=!1,n=!1;return 0===Ta.size||(t.providers.forEach(t=>{const l=Ta.get(t.token);3840&t.flags&&l&&(e=!0,n=n||l.deprecatedBehavior)}),t.modules.forEach(t=>{Ea.forEach((l,i)=>{P(i).providedIn===t&&(e=!0,n=n||l.deprecatedBehavior)})})),{hasOverrides:e,hasDeprecatedOverrides:n}}(t);return e?(function(t){for(let e=0;e<t.providers.length;e++){const l=t.providers[e];n&&(l.flags|=4096);const i=Ta.get(l.token);i&&(l.flags=-3841&l.flags|i.flags,l.deps=Xl(i.deps),l.value=i.value)}if(Ea.size>0){let e=new Set(t.modules);Ea.forEach((l,i)=>{if(e.has(P(i).providedIn)){let e={token:i,flags:l.flags|(n?4096:0),deps:Xl(l.deps),value:l.value,index:t.providers.length};t.providers.push(e),t.providersByKey[El(i)]=e}})}}(t=t.factory(()=>Dl)),t):t}(l))}const Ta=new Map,Ea=new Map,Ia=new Map;function La(t){let e;Ta.set(t.token,t),"function"==typeof t.token&&(e=P(t.token))&&"function"==typeof e.providedIn&&Ea.set(t.token,t)}function ja(t,e){const n=Ql(e.viewDefFactory),l=Ql(n.nodes[0].element.componentView);Ia.set(t,l)}function Ra(){Ta.clear(),Ea.clear(),Ia.clear()}function Fa(t){if(0===Ta.size)return t;const e=function(t){const e=[];let n=null;for(let l=0;l<t.nodes.length;l++){const i=t.nodes[l];1&i.flags&&(n=i),n&&3840&i.flags&&Ta.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(()=>Dl);for(let l=0;l<e.length;l++)n(t,e[l]);return t;function n(t,e){for(let n=e+1;n<t.nodes.length;n++){const e=t.nodes[n];if(1&e.flags)return;if(3840&e.flags){const t=e.provider,n=Ta.get(t.token);n&&(e.flags=-3841&e.flags|n.flags,t.deps=Xl(n.deps),t.value=n.value)}}}}function Na(t,e,n,l,i,r,o,a,s,u,c,d,h){const p=t.def.nodes[e];return pa(t,p,n,l,i,r,o,a,s,u,c,d,h),224&p.flags?kl(t,e).value:void 0}function Ya(t,e,n,l,i,r,o,a,s,u,c,d,h){const p=t.def.nodes[e];return ba(t,p,n,l,i,r,o,a,s,u,c,d,h),224&p.flags?kl(t,e).value:void 0}function Ua(t){return ls(Ga.detectChanges,ha,null,[t])}function Ba(t){return ls(Ga.checkNoChanges,da,null,[t])}function za(t){return ls(Ga.destroy,ga,null,[t])}const Ga=function(){var t={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return t[t.create]="create",t[t.detectChanges]="detectChanges",t[t.checkNoChanges]="checkNoChanges",t[t.destroy]="destroy",t[t.handleEvent]="handleEvent",t}();let Ha,Va,qa;function Wa(t,e){Va=t,qa=e}function $a(t,e,n,l){return Wa(t,e),ls(Ga.handleEvent,t.def.handleEvent,null,[t,e,n,l])}function Xa(t,e){if(128&t.state)throw vl(Ga[Ha]);return Wa(t,Za(t,0)),t.def.updateDirectives((function(t,n,l,...i){const r=t.def.nodes[n];return 0===e?Ja(t,r,l,i):Qa(t,r,l,i),16384&r.flags&&Wa(t,Za(t,n)),224&r.flags?kl(t,r.nodeIndex).value:void 0}),t)}function Ka(t,e){if(128&t.state)throw vl(Ga[Ha]);return Wa(t,ts(t,0)),t.def.updateRenderer((function(t,n,l,...i){const r=t.def.nodes[n];return 0===e?Ja(t,r,l,i):Qa(t,r,l,i),3&r.flags&&Wa(t,ts(t,n)),224&r.flags?kl(t,r.nodeIndex).value:void 0}),t)}function Ja(t,e,n,l){if(pa(t,e,n,...l)){const r=1===n?l[0]:l;if(16384&e.flags){const n={};for(let t=0;t<e.bindings.length;t++){const l=e.bindings[t],o=r[t];8&l.flags&&(n[(i=l.nonMinifiedName,"ng-reflect-"+i.replace(/[$@]/g,"_").replace(we,(...t)=>"-"+t[1].toLowerCase()))]=Pe(o))}const l=e.parent,o=xl(t,l.nodeIndex).renderElement;if(l.element.name)for(let e in n){const l=n[e];null!=l?t.renderer.setAttribute(o,e,l):t.renderer.removeAttribute(o,e)}else t.renderer.setValue(o,"bindings="+JSON.stringify(n,null,2))}}var i}function Qa(t,e,n,l){ba(t,e,n,...l)}function Za(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(16384&e.flags&&e.bindings&&e.bindings.length)return n}return null}function ts(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(3&e.flags&&e.bindings&&e.bindings.length)return n}return null}class es{constructor(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];let n=this.nodeDef,l=t;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&l;)n=Gl(l),l=l.parent;this.elDef=n,this.elView=l}get elOrCompView(){return xl(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Di(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const t=[];if(this.elDef)for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t}get references(){const t={};if(this.elDef){ns(this.elView,this.elDef,t);for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&ns(this.elView,n,t),e+=n.childCount}}return t}get componentRenderElement(){const t=function(t){for(;t&&!Vl(t);)t=t.parent;return t.parent?xl(t.parent,Gl(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Hl(this.view,this.nodeDef):Hl(this.elView,this.elDef)}logError(t,...e){let n,l;2&this.nodeDef.flags?(n=this.view.def,l=this.nodeDef.nodeIndex):(n=this.elView.def,l=this.elDef.nodeIndex);const i=function(t,e){let n=-1;for(let l=0;l<=e;l++)3&t.nodes[l].flags&&n++;return n}(n,l);let r=-1;n.factory(()=>(r++,r===i?t.error.bind(t,...e):Dl)),r<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error(...e))}}function ns(t,e,n){for(let l in e.references)n[l]=Wo(t,e,e.references[l])}function ls(t,e,n,l){const i=Ha,r=Va,o=qa;try{Ha=t;const a=e.apply(n,l);return Va=r,qa=o,Ha=i,a}catch(a){if(zt(a)||!Va)throw a;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Al(t,e),t}(a,is())}}function is(){return Va?new es(Va,qa):null}class rs{constructor(t){this.delegate=t}createRenderer(t,e){return new os(this.delegate.createRenderer(t,e))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class os{constructor(t){this.delegate=t,this.debugContextFactory=is,this.data=this.delegate.data}createDebugContext(t){return this.debugContextFactory(t)}destroyNode(t){const e=Oo(t);!function(t){Mo.delete(t.nativeNode)}(e),e instanceof So&&(e.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(t)}destroy(){this.delegate.destroy()}createElement(t,e){const n=this.delegate.createElement(t,e),l=this.createDebugContext(n);if(l){const e=new ko(n,null,l);e.name=t,Do(e)}return n}createComment(t){const e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&Do(new So(e,null,n)),e}createText(t){const e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&Do(new So(e,null,n)),e}appendChild(t,e){const n=Oo(t),l=Oo(e);n&&l&&n instanceof ko&&n.addChild(l),this.delegate.appendChild(t,e)}insertBefore(t,e,n){const l=Oo(t),i=Oo(e),r=Oo(n);l&&i&&l instanceof ko&&l.insertBefore(r,i),this.delegate.insertBefore(t,e,n)}removeChild(t,e){const n=Oo(t),l=Oo(e);n&&l&&n instanceof ko&&n.removeChild(l),this.delegate.removeChild(t,e)}selectRootElement(t,e){const n=this.delegate.selectRootElement(t,e),l=is();return l&&Do(new ko(n,null,l)),n}setAttribute(t,e,n,l){const i=Oo(t);i&&i instanceof ko&&(i.attributes[l?l+":"+e:e]=n),this.delegate.setAttribute(t,e,n,l)}removeAttribute(t,e,n){const l=Oo(t);l&&l instanceof ko&&(l.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)}addClass(t,e){const n=Oo(t);n&&n instanceof ko&&(n.classes[e]=!0),this.delegate.addClass(t,e)}removeClass(t,e){const n=Oo(t);n&&n instanceof ko&&(n.classes[e]=!1),this.delegate.removeClass(t,e)}setStyle(t,e,n,l){const i=Oo(t);i&&i instanceof ko&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,l)}removeStyle(t,e,n){const l=Oo(t);l&&l instanceof ko&&(l.styles[e]=null),this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){const l=Oo(t);l&&l instanceof ko&&(l.properties[e]=n),this.delegate.setProperty(t,e,n)}listen(t,e,n){if("string"!=typeof t){const l=Oo(t);l&&l.listeners.push(new xo(e,n))}return this.delegate.listen(t,e,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setValue(t,e){return this.delegate.setValue(t,e)}}function as(t,e,n){return new ss(t,e,n)}class ss extends ${constructor(t,e,n){super(),this.moduleType=t,this._bootstrapComponents=e,this._ngModuleDefFactory=n}create(t){!function(){if(Pa)return;Pa=!0;const t=$t()?{setCurrentNode:Wa,createRootView:Sa,createEmbeddedView:Ma,createComponentView:Oa,createNgModuleRef:Da,overrideProvider:La,overrideComponentView:ja,clearOverrides:Ra,checkAndUpdateView:Ua,checkNoChangesView:Ba,destroyView:za,createDebugContext:(t,e)=>new es(t,e),handleEvent:$a,updateDirectives:Xa,updateRenderer:Ka}:{setCurrentNode:()=>{},createRootView:xa,createEmbeddedView:ra,createComponentView:aa,createNgModuleRef:ji,overrideProvider:Dl,overrideComponentView:Dl,clearOverrides:Dl,checkAndUpdateView:ha,checkNoChangesView:da,destroyView:ga,createDebugContext:(t,e)=>new es(t,e),handleEvent:(t,e,n,l)=>t.def.handleEvent(t,e,n,l),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?Na:Ya,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?Na:Ya,t)};Ol.setCurrentNode=t.setCurrentNode,Ol.createRootView=t.createRootView,Ol.createEmbeddedView=t.createEmbeddedView,Ol.createComponentView=t.createComponentView,Ol.createNgModuleRef=t.createNgModuleRef,Ol.overrideProvider=t.overrideProvider,Ol.overrideComponentView=t.overrideComponentView,Ol.clearOverrides=t.clearOverrides,Ol.checkAndUpdateView=t.checkAndUpdateView,Ol.checkNoChangesView=t.checkNoChangesView,Ol.destroyView=t.destroyView,Ol.resolveDep=nr,Ol.createDebugContext=t.createDebugContext,Ol.handleEvent=t.handleEvent,Ol.updateDirectives=t.updateDirectives,Ol.updateRenderer=t.updateRenderer,Ol.dirtyParentQueries=Ho}();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),l={};for(const i in t.providersByKey)l[i]=t.providersByKey[i];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:l}}(Ql(this._ngModuleDefFactory));return Ol.createNgModuleRef(this.moduleType,t||on.NULL,this._bootstrapComponents,e)}}},"8bJo":function(t,e,n){"use strict";n.d(e,"d",(function(){return d})),n.d(e,"a",(function(){return u})),n.d(e,"e",(function(){return s})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c}));var l=n("HDdC"),i=n("LRne"),r=n("XNiG"),o=n("8Y7J");class a{}function s(t){return t&&"function"==typeof t.connect}class u extends a{constructor(t){super(),this._data=t}connect(){return this._data instanceof l.a?this._data:Object(i.a)(this._data)}disconnect(){}}class c{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new r.a,this.onChange=this.changed,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let d=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"8e4W":function(t,e,n){"use strict";var l=n("8rEH"),i=n("s7LF"),r=n("wd/R"),o=n("LRne"),a=n("JX91"),s=n("Kj3r"),u=n("eIep"),c=n("lJxs"),d=n("JIr8"),h=(n("G0WM"),n("vDCU"));n("sLNx"),n.d(e,"a",(function(){return p}));class p{constructor(t,e,n,i,r,o,a,s,u){this.document=t,this.dialogRef=e,this.data=n,this.tripService=i,this.stopPointService=r,this.engineService=o,this.operatorService=a,this.countryService=s,this.replayTripService=u,this.onSelect=h.a,this.searchActived=!0,this.fromIcaoAutoComplete$=null,this.toIcaoAutoComplete$=null,this.icaoTypeCodeAutoComplete$=null,this.operatorIcaoAutoComplete$=null,this.countryAutoComplete$=null,this.displayedColumns=["icao","registration","time","route","info","operation"],this.dataSource=new l.l,this.isLoading=!1}ngOnInit(){this.searchForm=new i.j({icao:new i.g(""),registration:new i.g(""),squawks:new i.g(""),callsigns:new i.g(""),fromIcao:new i.g(""),toIcao:new i.g(""),icaoTypeCode:new i.g(""),operatorIcao:new i.g(""),countryCodeIso3:new i.g(""),military:new i.g(!1),fromDate:new i.g(r().subtract(1,"month").format(),[i.w.required]),toDate:new i.g(r().format(),[i.w.required])})}ngAfterViewInit(){this.fromIcaoAutoComplete$=this.searchForm.controls.fromIcao.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupStopPoint(t):Object(o.a)(null))),this.toIcaoAutoComplete$=this.searchForm.controls.toIcao.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupStopPoint(t):Object(o.a)(null))),this.icaoTypeCodeAutoComplete$=this.searchForm.controls.icaoTypeCode.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupEngine(t):Object(o.a)(null))),this.operatorIcaoAutoComplete$=this.searchForm.controls.operatorIcao.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupOperator(t):Object(o.a)(null))),this.countryAutoComplete$=this.searchForm.controls.countryCodeIso3.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupCountry(t):Object(o.a)(null)))}lookupStopPoint(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}lookupEngine(t){return this.engineService.getManyBaseEngineControllerEngine({filter:["icao||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}lookupOperator(t){return this.operatorService.getManyBaseOperatorControllerOperator({filter:["icao||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}lookupCountry(t){return this.countryService.getManyBaseCountryControllerCountry({filter:["name||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}submitForm(){const t={filter:[],limit:10};this.searchForm.value.icao&&""!==this.searchForm.value.icao&&t.filter.push("icao||eq||"+this.searchForm.value.icao),this.searchForm.value.registration&&""!==this.searchForm.value.registration&&t.filter.push("registration||eq||"+this.searchForm.value.registration),this.searchForm.value.squawks&&""!==this.searchForm.value.squawks&&t.filter.push("squawks||any||"+this.searchForm.value.squawks),this.searchForm.value.callsigns&&""!==this.searchForm.value.callsigns&&t.filter.push("callsigns||any||"+this.searchForm.value.callsigns),this.searchForm.value.fromIcao&&""!==this.searchForm.value.fromIcao&&t.filter.push("fromIcao||eq||"+this.searchForm.value.fromIcao),this.searchForm.value.toIcao&&""!==this.searchForm.value.toIcao&&t.filter.push("toIcao||eq||"+this.searchForm.value.toIcao),this.searchForm.value.icaoTypeCode&&""!==this.searchForm.value.icaoTypeCode&&t.filter.push("icaoTypeCode||eq||"+this.searchForm.value.icaoTypeCode),this.searchForm.value.operatorIcao&&""!==this.searchForm.value.operatorIcao&&t.filter.push("operatorIcao||eq||"+this.searchForm.value.operatorIcao),this.searchForm.value.military&&""!==this.searchForm.value.military&&t.filter.push("military||eq||"+this.searchForm.value.military),this.searchForm.value.countryCodeIso3&&""!==this.searchForm.value.countryCodeIso3&&t.filter.push("countryCodeIso3||eq||"+this.searchForm.value.countryCodeIso3);let e=r().subtract(1,"month").set({hour:0,minute:0,second:0,millisecond:0}).format();this.searchForm.value.fromDate&&""!==this.searchForm.value.fromDate&&(e=r(this.searchForm.value.fromDate).set({hour:0,minute:0,second:0,millisecond:0}).format()),t.filter.push("createdAt||gte||"+e);let n=r().format();this.searchForm.value.toDate&&""!==this.searchForm.value.toDate&&(n=r(this.searchForm.value.toDate).format()),t.filter.push("createdAt||lte||"+n),this.isLoading=!0,this.searchActived=!1,this.tripService.getManyBaseTripControllerTrip(t).subscribe(t=>{this.isLoading=!1,this.dataSource.data=t.data},t=>{})}downloadCsvTrip(t){this.tripService.tripControllerGetCsvPositions({icao:t.icao,createdAt:String(t.createdAt)}).subscribe(e=>{!function(t,e,n){const l=new Blob([t],{type:"application/csv"}),i=window.URL.createObjectURL(l),r=document.createElement("a");r.download=n,r.href=i,r.click()}(e,0,t.icao+"_"+t.createdAt+"_"+t.updatedAt+".csv")})}playTrip(t){this.replayTripService.startReplayTrip(t),this.closeModal()}closeModal(){this.dialogRef.close()}}},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8rEH":function(t,e,n){"use strict";n.d(e,"m",(function(){return x})),n.d(e,"b",(function(){return f})),n.d(e,"f",(function(){return b})),n.d(e,"c",(function(){return m})),n.d(e,"e",(function(){return g})),n.d(e,"a",(function(){return _})),n.d(e,"k",(function(){return p})),n.d(e,"h",(function(){return y})),n.d(e,"j",(function(){return A})),n.d(e,"g",(function(){return v})),n.d(e,"d",(function(){return C})),n.d(e,"i",(function(){return w})),n.d(e,"l",(function(){return S})),n.d(e,"n",(function(){return P}));var l=n("zQui"),i=n("8bJo"),r=n("KCVW"),o=n("2Vo4"),a=n("XNiG"),s=n("quSY"),u=n("VRyK"),c=n("LRne"),d=n("itXk"),h=n("lJxs");class p extends l.o{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}class f extends l.b{}class b extends l.j{}class m extends l.d{}class g extends l.i{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}class _ extends l.a{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}class y extends l.l{}class A extends l.n{}class v extends l.k{}class C extends l.g{}class w extends l.m{}class P extends l.q{}class x{}class S extends i.b{constructor(t=[]){super(),this._renderData=new o.a([]),this._filter=new o.a(""),this._internalPageChanges=new a.a,this._renderChangesSubscription=s.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(r.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,l=e.direction;return n&&""!=l?t.sort((t,e)=>{let i=this.sortingDataAccessor(t,n),r=this.sortingDataAccessor(e,n),o=0;return null!=i&&null!=r?i>r?o=1:i<r&&(o=-1):null!=i?o=1:null!=r&&(o=-1),o*("asc"==l?1:-1)}):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce((e,n)=>e+t[n]+"\u25ec","").toLowerCase(),l=e.trim().toLowerCase();return-1!=n.indexOf(l)},this._data=new o.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(u.a)(this._sort.sortChange,this._sort.initialized):Object(c.a)(null),e=this._paginator?Object(u.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(c.a)(null),n=this._data,l=Object(d.a)([n,this._filter]).pipe(Object(h.a)(([t])=>this._filterData(t))),i=Object(d.a)([l,t]).pipe(Object(h.a)(([t])=>this._orderData(t))),r=Object(d.a)([i,e]).pipe(Object(h.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=r.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=this.filter?t.filter(t=>this.filterPredicate(t,this.filter)):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}},"8rpt":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("mrSG"),i=(n("ZZ/e"),n("oQtH"));n("oeKZ");class r{constructor(t,e,n){this.router=t,this.keycloakService=e,this.loadingController=n,this.defaultLoginRedirection=i.a.config.auth.loginReturn}ngOnInit(){this.keycloakService.authenticated()&&this.router.navigateByUrl("/home")}displayLoading(){return l.b(this,void 0,void 0,(function*(){return console.log("connection..."),this.loading=yield this.loadingController.create({spinner:null,duration:2e3,message:"Connexion en cours..."}),yield this.loading.present()}))}hideLoading(){return l.b(this,void 0,void 0,(function*(){return yield this.loading.dismiss()}))}login(t){t||(t=this.defaultLoginRedirection),this.keycloakService.login({redirectUri:t})}}},"914O":function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f}));var l=function(t){var e,n=void 0!==(t=t||{})?t:{},l={};for(e in n)n.hasOwnProperty(e)&&(l[e]=n[e]);var i,r=[],o="";document.currentScript&&(o=document.currentScript.src),o=0!==o.indexOf("blob:")?o.substr(0,o.lastIndexOf("/")+1):"",i=function(t,e,n){var l=new XMLHttpRequest;l.open("GET",t,!0),l.responseType="arraybuffer",l.onload=function(){if(200==l.status||0==l.status&&l.response)e(l.response);else{var i=$(t);i?e(i.buffer):n()}},l.onerror=n,l.send(null)};var a=n.print||console.log.bind(console),s=n.printErr||console.warn.bind(console);for(e in l)l.hasOwnProperty(e)&&(n[e]=l[e]);l=null,n.arguments&&(r=n.arguments);var u=0,c=function(){return u},d=!1;function h(t){var e=n["_"+t];return e||at("Assertion failed: Cannot call unknown function "+t+", make sure it is exported"),e}function p(t,e,n,l,i){var r={string:function(t){var e=0;if(null!=t&&0!==t){var n=1+(t.length<<2);!function(t,e,n){!function(t,e,n,l){if(!(l>0))return 0;for(var i=n+l-1,r=0;r<t.length;++r){var o=t.charCodeAt(r);if(o>=55296&&o<=57343&&(o=65536+((1023&o)<<10)|1023&t.charCodeAt(++r)),o<=127){if(n>=i)break;e[n++]=o}else if(o<=2047){if(n+1>=i)break;e[n++]=192|o>>6,e[n++]=128|63&o}else if(o<=65535){if(n+2>=i)break;e[n++]=224|o>>12,e[n++]=128|o>>6&63,e[n++]=128|63&o}else{if(n+3>=i)break;e[n++]=240|o>>18,e[n++]=128|o>>12&63,e[n++]=128|o>>6&63,e[n++]=128|63&o}}e[n]=0}(t,m,e,n)}(t,e=Z(n),n)}return e},array:function(t){var e=Z(t.length);return function(t,e){b.set(t,e)}(t,e),e}},o=h(t),a=[],s=0;if(l)for(var u=0;u<l.length;u++){var c=r[n[u]];c?(0===s&&(s=et()),a[u]=c(l[u])):a[u]=l[u]}var d=o.apply(null,a);return d=function(t){return"string"===e?C(t):"boolean"===e?Boolean(t):t}(d),0!==s&&tt(s),d}var f,b,m,g,_,y,A,v="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function C(t,e){return t?function(t,e,n){for(var l=e+n,i=e;t[i]&&!(i>=l);)++i;if(i-e>16&&t.subarray&&v)return v.decode(t.subarray(e,i));for(var r="";e<i;){var o=t[e++];if(128&o){var a=63&t[e++];if(192!=(224&o)){var s=63&t[e++];if((o=224==(240&o)?(15&o)<<12|a<<6|s:(7&o)<<18|a<<12|s<<6|63&t[e++])<65536)r+=String.fromCharCode(o);else{var u=o-65536;r+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else r+=String.fromCharCode((31&o)<<6|a)}else r+=String.fromCharCode(o)}return r}(m,t,e):""}function w(t,e){return t%e>0&&(t+=e-t%e),t}function P(t){f=t,n.HEAP8=b=new Int8Array(t),n.HEAP16=g=new Int16Array(t),n.HEAP32=_=new Int32Array(t),n.HEAPU8=m=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=y=new Float32Array(t),n.HEAPF64=A=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var x=n.TOTAL_MEMORY||33554432;function S(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var l=e.func;"number"==typeof l?void 0===e.arg?n.dynCall_v(l):n.dynCall_vi(l,e.arg):l(void 0===e.arg?null:e.arg)}else e()}}x=(f=n.buffer?n.buffer:new ArrayBuffer(x)).byteLength,P(f),_[6004]=5266928;var k=[],M=[],O=[],D=[],T=Math.abs,E=Math.ceil,I=Math.floor,L=Math.min,j=0,R=null,F=null;n.preloadedImages={},n.preloadedAudios={};var N,Y,U=null,B="data:application/octet-stream;base64,";function z(t){return String.prototype.startsWith?t.startsWith(B):0===t.indexOf(B)}function G(t){return t.replace(/\b__Z[\w\d_]+/g,(function(t){return t==t?t:t+" ["+t+"]"}))}function H(){var t=new Error;if(!t.stack){try{throw new Error(0)}catch(e){t=e}if(!t.stack)return"(no stack trace available)"}return t.stack.toString()}function V(){return b.length}function q(t){try{var e=new ArrayBuffer(t);if(e.byteLength!=t)return;return new Int8Array(e).set(b),Q(e),P(e),1}catch(n){}}U="data:application/octet-stream;base64,AAAAAAAAAAACAAAAAwAAAAEAAAAFAAAABAAAAAYAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAABAAAABAAAAAMAAAAGAAAABQAAAAIAAAAAAAAAAgAAAAMAAAABAAAABAAAAAYAAAAAAAAABQAAAAMAAAAGAAAABAAAAAUAAAAAAAAAAQAAAAIAAAAEAAAABQAAAAYAAAAAAAAAAgAAAAMAAAABAAAABQAAAAIAAAAAAAAAAQAAAAMAAAAGAAAABAAAAAYAAAAAAAAABQAAAAIAAAABAAAABAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAgAAAAMAAAAAAAAAAAAAAAIAAAAAAAAAAQAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAABgAAAAAAAAAFAAAAAAAAAAAAAAAEAAAABQAAAAAAAAAAAAAAAAAAAAIAAAAAAAAABgAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAAAAAACAAAAAwAAAAQAAAAFAAAABgAAAAAAAAABAAAAAwAAAAQAAAAFAAAABgAAAAAAAAABAAAAAgAAAAQAAAAFAAAABgAAAAAAAAABAAAAAgAAAAMAAAAFAAAABgAAAAAAAAABAAAAAgAAAAMAAAAEAAAABgAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAADAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAACAAAAAgAAAAAAAAAAAAAABgAAAAAAAAADAAAAAgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAUAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAEAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAUAAAACAAAABAAAAAMAAAAIAAAAAQAAAAcAAAAGAAAACQAAAAAAAAADAAAAAgAAAAIAAAAGAAAACgAAAAsAAAAAAAAAAQAAAAUAAAADAAAADQAAAAEAAAAHAAAABAAAAAwAAAAAAAAABAAAAH8AAAAPAAAACAAAAAMAAAAAAAAADAAAAAUAAAACAAAAEgAAAAoAAAAIAAAAAAAAABAAAAAGAAAADgAAAAsAAAARAAAAAQAAAAkAAAACAAAABwAAABUAAAAJAAAAEwAAAAMAAAANAAAAAQAAAAgAAAAFAAAAFgAAABAAAAAEAAAAAAAAAA8AAAAJAAAAEwAAAA4AAAAUAAAAAQAAAAcAAAAGAAAACgAAAAsAAAAYAAAAFwAAAAUAAAACAAAAEgAAAAsAAAARAAAAFwAAABkAAAACAAAABgAAAAoAAAAMAAAAHAAAAA0AAAAaAAAABAAAAA8AAAADAAAADQAAABoAAAAVAAAAHQAAAAMAAAAMAAAABwAAAA4AAAB/AAAAEQAAABsAAAAJAAAAFAAAAAYAAAAPAAAAFgAAABwAAAAfAAAABAAAAAgAAAAMAAAAEAAAABIAAAAhAAAAHgAAAAgAAAAFAAAAFgAAABEAAAALAAAADgAAAAYAAAAjAAAAGQAAABsAAAASAAAAGAAAAB4AAAAgAAAABQAAAAoAAAAQAAAAEwAAACIAAAAUAAAAJAAAAAcAAAAVAAAACQAAABQAAAAOAAAAEwAAAAkAAAAoAAAAGwAAACQAAAAVAAAAJgAAABMAAAAiAAAADQAAAB0AAAAHAAAAFgAAABAAAAApAAAAIQAAAA8AAAAIAAAAHwAAABcAAAAYAAAACwAAAAoAAAAnAAAAJQAAABkAAAAYAAAAfwAAACAAAAAlAAAACgAAABcAAAASAAAAGQAAABcAAAARAAAACwAAAC0AAAAnAAAAIwAAABoAAAAqAAAAHQAAACsAAAAMAAAAHAAAAA0AAAAbAAAAKAAAACMAAAAuAAAADgAAABQAAAARAAAAHAAAAB8AAAAqAAAALAAAAAwAAAAPAAAAGgAAAB0AAAArAAAAJgAAAC8AAAANAAAAGgAAABUAAAAeAAAAIAAAADAAAAAyAAAAEAAAABIAAAAhAAAAHwAAACkAAAAsAAAANQAAAA8AAAAWAAAAHAAAACAAAAAeAAAAGAAAABIAAAA0AAAAMgAAACUAAAAhAAAAHgAAADEAAAAwAAAAFgAAABAAAAApAAAAIgAAABMAAAAmAAAAFQAAADYAAAAkAAAAMwAAACMAAAAuAAAALQAAADgAAAARAAAAGwAAABkAAAAkAAAAFAAAACIAAAATAAAANwAAACgAAAA2AAAAJQAAACcAAAA0AAAAOQAAABgAAAAXAAAAIAAAACYAAAB/AAAAIgAAADMAAAAdAAAALwAAABUAAAAnAAAAJQAAABkAAAAXAAAAOwAAADkAAAAtAAAAKAAAABsAAAAkAAAAFAAAADwAAAAuAAAANwAAACkAAAAxAAAANQAAAD0AAAAWAAAAIQAAAB8AAAAqAAAAOgAAACsAAAA+AAAAHAAAACwAAAAaAAAAKwAAAD4AAAAvAAAAQAAAABoAAAAqAAAAHQAAACwAAAA1AAAAOgAAAEEAAAAcAAAAHwAAACoAAAAtAAAAJwAAACMAAAAZAAAAPwAAADsAAAA4AAAALgAAADwAAAA4AAAARAAAABsAAAAoAAAAIwAAAC8AAAAmAAAAKwAAAB0AAABFAAAAMwAAAEAAAAAwAAAAMQAAAB4AAAAhAAAAQwAAAEIAAAAyAAAAMQAAAH8AAAA9AAAAQgAAACEAAAAwAAAAKQAAADIAAAAwAAAAIAAAAB4AAABGAAAAQwAAADQAAAAzAAAARQAAADYAAABHAAAAJgAAAC8AAAAiAAAANAAAADkAAABGAAAASgAAACAAAAAlAAAAMgAAADUAAAA9AAAAQQAAAEsAAAAfAAAAKQAAACwAAAA2AAAARwAAADcAAABJAAAAIgAAADMAAAAkAAAANwAAACgAAAA2AAAAJAAAAEgAAAA8AAAASQAAADgAAABEAAAAPwAAAE0AAAAjAAAALgAAAC0AAAA5AAAAOwAAAEoAAABOAAAAJQAAACcAAAA0AAAAOgAAAH8AAAA+AAAATAAAACwAAABBAAAAKgAAADsAAAA/AAAATgAAAE8AAAAnAAAALQAAADkAAAA8AAAASAAAAEQAAABQAAAAKAAAADcAAAAuAAAAPQAAADUAAAAxAAAAKQAAAFEAAABLAAAAQgAAAD4AAAArAAAAOgAAACoAAABSAAAAQAAAAEwAAAA/AAAAfwAAADgAAAAtAAAATwAAADsAAABNAAAAQAAAAC8AAAA+AAAAKwAAAFQAAABFAAAAUgAAAEEAAAA6AAAANQAAACwAAABWAAAATAAAAEsAAABCAAAAQwAAAFEAAABVAAAAMQAAADAAAAA9AAAAQwAAAEIAAAAyAAAAMAAAAFcAAABVAAAARgAAAEQAAAA4AAAAPAAAAC4AAABaAAAATQAAAFAAAABFAAAAMwAAAEAAAAAvAAAAWQAAAEcAAABUAAAARgAAAEMAAAA0AAAAMgAAAFMAAABXAAAASgAAAEcAAABZAAAASQAAAFsAAAAzAAAARQAAADYAAABIAAAAfwAAAEkAAAA3AAAAUAAAADwAAABYAAAASQAAAFsAAABIAAAAWAAAADYAAABHAAAANwAAAEoAAABOAAAAUwAAAFwAAAA0AAAAOQAAAEYAAABLAAAAQQAAAD0AAAA1AAAAXgAAAFYAAABRAAAATAAAAFYAAABSAAAAYAAAADoAAABBAAAAPgAAAE0AAAA/AAAARAAAADgAAABdAAAATwAAAFoAAABOAAAASgAAADsAAAA5AAAAXwAAAFwAAABPAAAATwAAAE4AAAA/AAAAOwAAAF0AAABfAAAATQAAAFAAAABEAAAASAAAADwAAABjAAAAWgAAAFgAAABRAAAAVQAAAF4AAABlAAAAPQAAAEIAAABLAAAAUgAAAGAAAABUAAAAYgAAAD4AAABMAAAAQAAAAFMAAAB/AAAASgAAAEYAAABkAAAAVwAAAFwAAABUAAAARQAAAFIAAABAAAAAYQAAAFkAAABiAAAAVQAAAFcAAABlAAAAZgAAAEIAAABDAAAAUQAAAFYAAABMAAAASwAAAEEAAABoAAAAYAAAAF4AAABXAAAAUwAAAGYAAABkAAAAQwAAAEYAAABVAAAAWAAAAEgAAABbAAAASQAAAGMAAABQAAAAaQAAAFkAAABhAAAAWwAAAGcAAABFAAAAVAAAAEcAAABaAAAATQAAAFAAAABEAAAAagAAAF0AAABjAAAAWwAAAEkAAABZAAAARwAAAGkAAABYAAAAZwAAAFwAAABTAAAATgAAAEoAAABsAAAAZAAAAF8AAABdAAAATwAAAFoAAABNAAAAbQAAAF8AAABqAAAAXgAAAFYAAABRAAAASwAAAGsAAABoAAAAZQAAAF8AAABcAAAATwAAAE4AAABtAAAAbAAAAF0AAABgAAAAaAAAAGIAAABuAAAATAAAAFYAAABSAAAAYQAAAH8AAABiAAAAVAAAAGcAAABZAAAAbwAAAGIAAABuAAAAYQAAAG8AAABSAAAAYAAAAFQAAABjAAAAUAAAAGkAAABYAAAAagAAAFoAAABxAAAAZAAAAGYAAABTAAAAVwAAAGwAAAByAAAAXAAAAGUAAABmAAAAawAAAHAAAABRAAAAVQAAAF4AAABmAAAAZQAAAFcAAABVAAAAcgAAAHAAAABkAAAAZwAAAFsAAABhAAAAWQAAAHQAAABpAAAAbwAAAGgAAABrAAAAbgAAAHMAAABWAAAAXgAAAGAAAABpAAAAWAAAAGcAAABbAAAAcQAAAGMAAAB0AAAAagAAAF0AAABjAAAAWgAAAHUAAABtAAAAcQAAAGsAAAB/AAAAZQAAAF4AAABzAAAAaAAAAHAAAABsAAAAZAAAAF8AAABcAAAAdgAAAHIAAABtAAAAbQAAAGwAAABdAAAAXwAAAHUAAAB2AAAAagAAAG4AAABiAAAAaAAAAGAAAAB3AAAAbwAAAHMAAABvAAAAYQAAAG4AAABiAAAAdAAAAGcAAAB3AAAAcAAAAGsAAABmAAAAZQAAAHgAAABzAAAAcgAAAHEAAABjAAAAdAAAAGkAAAB1AAAAagAAAHkAAAByAAAAcAAAAGQAAABmAAAAdgAAAHgAAABsAAAAcwAAAG4AAABrAAAAaAAAAHgAAAB3AAAAcAAAAHQAAABnAAAAdwAAAG8AAABxAAAAaQAAAHkAAAB1AAAAfwAAAG0AAAB2AAAAcQAAAHkAAABqAAAAdgAAAHgAAABsAAAAcgAAAHUAAAB5AAAAbQAAAHcAAABvAAAAcwAAAG4AAAB5AAAAdAAAAHgAAAB4AAAAcwAAAHIAAABwAAAAeQAAAHcAAAB2AAAAeQAAAHQAAAB4AAAAdwAAAHUAAABxAAAAdgAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAEAAAAFAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAIAAAAFAAAAAQAAAAAAAAD/////AQAAAAAAAAADAAAABAAAAAIAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAUAAAABAAAAAAAAAAAAAAABAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAMAAAAAAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAMAAAAFAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAQAAAAFAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAP////8DAAAAAAAAAAUAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAEAAAADAAAAAAAAAAAAAAABAAAAAAAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAABAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAADAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAMAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAADAAAABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAADAAAAAAAAAAAAAAABAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAD/////AwAAAAAAAAAFAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAD/////AwAAAAAAAAAFAAAAAgAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAP////8DAAAAAAAAAAUAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAAAAAP////8DAAAAAAAAAAUAAAACAAAAAAAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAUAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAEAAAADAAAAAQAAAAAAAAABAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAMAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAD/////AwAAAAAAAAAFAAAAAgAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAADAAAABQAAAAEAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAEAAAABQAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAgAAAAUAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAABQAAAAAAAAAAAAAABQAAAAUAAAAAAAAAAAAAAP////8BAAAAAAAAAAMAAAAEAAAAAgAAAAAAAAAAAAAAAQAAAAAAAAAAAAAABQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAABQAAAAEAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAQAAAP//////////AQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAMAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAIAAAAAAAAAAAAAAAEAAAACAAAABgAAAAQAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAoAAAACAAAAAAAAAAAAAAABAAAAAQAAAAUAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAIAAAAAAAAAAAAAAAEAAAADAAAABwAAAAYAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAHAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAABAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAOAAAAAgAAAAAAAAAAAAAAAQAAAAAAAAAJAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAwAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAgAAAAAAAAAAAAAAAQAAAAQAAAAIAAAACgAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAACAAAAAAAAAAAAAAABAAAACwAAAA8AAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA4AAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAgAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAFAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAACAAAAAAAAAAAAAAABAAAADAAAABAAAAAMAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAEAAAAKAAAAEwAAAAgAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAJAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAgAAAAAAAAAAAAAAAQAAAA0AAAARAAAADQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABEAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAATAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABMAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAADQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAIAAAAAAAAAAAAAAAEAAAAOAAAAEgAAAA8AAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAPAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAABIAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAATAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAEQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABMAAAACAAAAAAAAAAAAAAABAAAA//////////8TAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAASAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABIAAAAAAAAAGAAAAAAAAAAhAAAAAAAAAB4AAAAAAAAAIAAAAAMAAAAxAAAAAQAAADAAAAADAAAAMgAAAAMAAAAIAAAAAAAAAAUAAAAFAAAACgAAAAUAAAAWAAAAAAAAABAAAAAAAAAAEgAAAAAAAAApAAAAAQAAACEAAAAAAAAAHgAAAAAAAAAEAAAAAAAAAAAAAAAFAAAAAgAAAAUAAAAPAAAAAQAAAAgAAAAAAAAABQAAAAUAAAAfAAAAAQAAABYAAAAAAAAAEAAAAAAAAAACAAAAAAAAAAYAAAAAAAAADgAAAAAAAAAKAAAAAAAAAAsAAAAAAAAAEQAAAAMAAAAYAAAAAQAAABcAAAADAAAAGQAAAAMAAAAAAAAAAAAAAAEAAAAFAAAACQAAAAUAAAAFAAAAAAAAAAIAAAAAAAAABgAAAAAAAAASAAAAAQAAAAoAAAAAAAAACwAAAAAAAAAEAAAAAQAAAAMAAAAFAAAABwAAAAUAAAAIAAAAAQAAAAAAAAAAAAAAAQAAAAUAAAAQAAAAAQAAAAUAAAAAAAAAAgAAAAAAAAAHAAAAAAAAABUAAAAAAAAAJgAAAAAAAAAJAAAAAAAAABMAAAAAAAAAIgAAAAMAAAAOAAAAAQAAABQAAAADAAAAJAAAAAMAAAADAAAAAAAAAA0AAAAFAAAAHQAAAAUAAAABAAAAAAAAAAcAAAAAAAAAFQAAAAAAAAAGAAAAAQAAAAkAAAAAAAAAEwAAAAAAAAAEAAAAAgAAAAwAAAAFAAAAGgAAAAUAAAAAAAAAAQAAAAMAAAAAAAAADQAAAAUAAAACAAAAAQAAAAEAAAAAAAAABwAAAAAAAAAaAAAAAAAAACoAAAAAAAAAOgAAAAAAAAAdAAAAAAAAACsAAAAAAAAAPgAAAAMAAAAmAAAAAQAAAC8AAAADAAAAQAAAAAMAAAAMAAAAAAAAABwAAAAFAAAALAAAAAUAAAANAAAAAAAAABoAAAAAAAAAKgAAAAAAAAAVAAAAAQAAAB0AAAAAAAAAKwAAAAAAAAAEAAAAAwAAAA8AAAAFAAAAHwAAAAUAAAADAAAAAQAAAAwAAAAAAAAAHAAAAAUAAAAHAAAAAQAAAA0AAAAAAAAAGgAAAAAAAAAfAAAAAAAAACkAAAAAAAAAMQAAAAAAAAAsAAAAAAAAADUAAAAAAAAAPQAAAAMAAAA6AAAAAQAAAEEAAAADAAAASwAAAAMAAAAPAAAAAAAAABYAAAAFAAAAIQAAAAUAAAAcAAAAAAAAAB8AAAAAAAAAKQAAAAAAAAAqAAAAAQAAACwAAAAAAAAANQAAAAAAAAAEAAAABAAAAAgAAAAFAAAAEAAAAAUAAAAMAAAAAQAAAA8AAAAAAAAAFgAAAAUAAAAaAAAAAQAAABwAAAAAAAAAHwAAAAAAAAAyAAAAAAAAADAAAAAAAAAAMQAAAAMAAAAgAAAAAAAAAB4AAAADAAAAIQAAAAMAAAAYAAAAAwAAABIAAAADAAAAEAAAAAMAAABGAAAAAAAAAEMAAAAAAAAAQgAAAAMAAAA0AAAAAwAAADIAAAAAAAAAMAAAAAAAAAAlAAAAAwAAACAAAAAAAAAAHgAAAAMAAABTAAAAAAAAAFcAAAADAAAAVQAAAAMAAABKAAAAAwAAAEYAAAAAAAAAQwAAAAAAAAA5AAAAAQAAADQAAAADAAAAMgAAAAAAAAAZAAAAAAAAABcAAAAAAAAAGAAAAAMAAAARAAAAAAAAAAsAAAADAAAACgAAAAMAAAAOAAAAAwAAAAYAAAADAAAAAgAAAAMAAAAtAAAAAAAAACcAAAAAAAAAJQAAAAMAAAAjAAAAAwAAABkAAAAAAAAAFwAAAAAAAAAbAAAAAwAAABEAAAAAAAAACwAAAAMAAAA/AAAAAAAAADsAAAADAAAAOQAAAAMAAAA4AAAAAwAAAC0AAAAAAAAAJwAAAAAAAAAuAAAAAwAAACMAAAADAAAAGQAAAAAAAAAkAAAAAAAAABQAAAAAAAAADgAAAAMAAAAiAAAAAAAAABMAAAADAAAACQAAAAMAAAAmAAAAAwAAABUAAAADAAAABwAAAAMAAAA3AAAAAAAAACgAAAAAAAAAGwAAAAMAAAA2AAAAAwAAACQAAAAAAAAAFAAAAAAAAAAzAAAAAwAAACIAAAAAAAAAEwAAAAMAAABIAAAAAAAAADwAAAADAAAALgAAAAMAAABJAAAAAwAAADcAAAAAAAAAKAAAAAAAAABHAAAAAwAAADYAAAADAAAAJAAAAAAAAABAAAAAAAAAAC8AAAAAAAAAJgAAAAMAAAA+AAAAAAAAACsAAAADAAAAHQAAAAMAAAA6AAAAAwAAACoAAAADAAAAGgAAAAMAAABUAAAAAAAAAEUAAAAAAAAAMwAAAAMAAABSAAAAAwAAAEAAAAAAAAAALwAAAAAAAABMAAAAAwAAAD4AAAAAAAAAKwAAAAMAAABhAAAAAAAAAFkAAAADAAAARwAAAAMAAABiAAAAAwAAAFQAAAAAAAAARQAAAAAAAABgAAAAAwAAAFIAAAADAAAAQAAAAAAAAABLAAAAAAAAAEEAAAAAAAAAOgAAAAMAAAA9AAAAAAAAADUAAAADAAAALAAAAAMAAAAxAAAAAwAAACkAAAADAAAAHwAAAAMAAABeAAAAAAAAAFYAAAAAAAAATAAAAAMAAABRAAAAAwAAAEsAAAAAAAAAQQAAAAAAAABCAAAAAwAAAD0AAAAAAAAANQAAAAMAAABrAAAAAAAAAGgAAAADAAAAYAAAAAMAAABlAAAAAwAAAF4AAAAAAAAAVgAAAAAAAABVAAAAAwAAAFEAAAADAAAASwAAAAAAAAA5AAAAAAAAADsAAAAAAAAAPwAAAAMAAABKAAAAAAAAAE4AAAADAAAATwAAAAMAAABTAAAAAwAAAFwAAAADAAAAXwAAAAMAAAAlAAAAAAAAACcAAAADAAAALQAAAAMAAAA0AAAAAAAAADkAAAAAAAAAOwAAAAAAAABGAAAAAwAAAEoAAAAAAAAATgAAAAMAAAAYAAAAAAAAABcAAAADAAAAGQAAAAMAAAAgAAAAAwAAACUAAAAAAAAAJwAAAAMAAAAyAAAAAwAAADQAAAAAAAAAOQAAAAAAAAAuAAAAAAAAADwAAAAAAAAASAAAAAMAAAA4AAAAAAAAAEQAAAADAAAAUAAAAAMAAAA/AAAAAwAAAE0AAAADAAAAWgAAAAMAAAAbAAAAAAAAACgAAAADAAAANwAAAAMAAAAjAAAAAAAAAC4AAAAAAAAAPAAAAAAAAAAtAAAAAwAAADgAAAAAAAAARAAAAAMAAAAOAAAAAAAAABQAAAADAAAAJAAAAAMAAAARAAAAAwAAABsAAAAAAAAAKAAAAAMAAAAZAAAAAwAAACMAAAAAAAAALgAAAAAAAABHAAAAAAAAAFkAAAAAAAAAYQAAAAMAAABJAAAAAAAAAFsAAAADAAAAZwAAAAMAAABIAAAAAwAAAFgAAAADAAAAaQAAAAMAAAAzAAAAAAAAAEUAAAADAAAAVAAAAAMAAAA2AAAAAAAAAEcAAAAAAAAAWQAAAAAAAAA3AAAAAwAAAEkAAAAAAAAAWwAAAAMAAAAmAAAAAAAAAC8AAAADAAAAQAAAAAMAAAAiAAAAAwAAADMAAAAAAAAARQAAAAMAAAAkAAAAAwAAADYAAAAAAAAARwAAAAAAAABgAAAAAAAAAGgAAAAAAAAAawAAAAMAAABiAAAAAAAAAG4AAAADAAAAcwAAAAMAAABhAAAAAwAAAG8AAAADAAAAdwAAAAMAAABMAAAAAAAAAFYAAAADAAAAXgAAAAMAAABSAAAAAAAAAGAAAAAAAAAAaAAAAAAAAABUAAAAAwAAAGIAAAAAAAAAbgAAAAMAAAA6AAAAAAAAAEEAAAADAAAASwAAAAMAAAA+AAAAAwAAAEwAAAAAAAAAVgAAAAMAAABAAAAAAwAAAFIAAAAAAAAAYAAAAAAAAABVAAAAAAAAAFcAAAAAAAAAUwAAAAMAAABlAAAAAAAAAGYAAAADAAAAZAAAAAMAAABrAAAAAwAAAHAAAAADAAAAcgAAAAMAAABCAAAAAAAAAEMAAAADAAAARgAAAAMAAABRAAAAAAAAAFUAAAAAAAAAVwAAAAAAAABeAAAAAwAAAGUAAAAAAAAAZgAAAAMAAAAxAAAAAAAAADAAAAADAAAAMgAAAAMAAAA9AAAAAwAAAEIAAAAAAAAAQwAAAAMAAABLAAAAAwAAAFEAAAAAAAAAVQAAAAAAAABfAAAAAAAAAFwAAAAAAAAAUwAAAAAAAABPAAAAAAAAAE4AAAAAAAAASgAAAAMAAAA/AAAAAQAAADsAAAADAAAAOQAAAAMAAABtAAAAAAAAAGwAAAAAAAAAZAAAAAUAAABdAAAAAQAAAF8AAAAAAAAAXAAAAAAAAABNAAAAAQAAAE8AAAAAAAAATgAAAAAAAAB1AAAABAAAAHYAAAAFAAAAcgAAAAUAAABqAAAAAQAAAG0AAAAAAAAAbAAAAAAAAABaAAAAAQAAAF0AAAABAAAAXwAAAAAAAABaAAAAAAAAAE0AAAAAAAAAPwAAAAAAAABQAAAAAAAAAEQAAAAAAAAAOAAAAAMAAABIAAAAAQAAADwAAAADAAAALgAAAAMAAABqAAAAAAAAAF0AAAAAAAAATwAAAAUAAABjAAAAAQAAAFoAAAAAAAAATQAAAAAAAABYAAAAAQAAAFAAAAAAAAAARAAAAAAAAAB1AAAAAwAAAG0AAAAFAAAAXwAAAAUAAABxAAAAAQAAAGoAAAAAAAAAXQAAAAAAAABpAAAAAQAAAGMAAAABAAAAWgAAAAAAAABpAAAAAAAAAFgAAAAAAAAASAAAAAAAAABnAAAAAAAAAFsAAAAAAAAASQAAAAMAAABhAAAAAQAAAFkAAAADAAAARwAAAAMAAABxAAAAAAAAAGMAAAAAAAAAUAAAAAUAAAB0AAAAAQAAAGkAAAAAAAAAWAAAAAAAAABvAAAAAQAAAGcAAAAAAAAAWwAAAAAAAAB1AAAAAgAAAGoAAAAFAAAAWgAAAAUAAAB5AAAAAQAAAHEAAAAAAAAAYwAAAAAAAAB3AAAAAQAAAHQAAAABAAAAaQAAAAAAAAB3AAAAAAAAAG8AAAAAAAAAYQAAAAAAAABzAAAAAAAAAG4AAAAAAAAAYgAAAAMAAABrAAAAAQAAAGgAAAADAAAAYAAAAAMAAAB5AAAAAAAAAHQAAAAAAAAAZwAAAAUAAAB4AAAAAQAAAHcAAAAAAAAAbwAAAAAAAABwAAAAAQAAAHMAAAAAAAAAbgAAAAAAAAB1AAAAAQAAAHEAAAAFAAAAaQAAAAUAAAB2AAAAAQAAAHkAAAAAAAAAdAAAAAAAAAByAAAAAQAAAHgAAAABAAAAdwAAAAAAAAByAAAAAAAAAHAAAAAAAAAAawAAAAAAAABkAAAAAAAAAGYAAAAAAAAAZQAAAAMAAABTAAAAAQAAAFcAAAADAAAAVQAAAAMAAAB2AAAAAAAAAHgAAAAAAAAAcwAAAAUAAABsAAAAAQAAAHIAAAAAAAAAcAAAAAAAAABcAAAAAQAAAGQAAAAAAAAAZgAAAAAAAAB1AAAAAAAAAHkAAAAFAAAAdwAAAAUAAABtAAAAAQAAAHYAAAAAAAAAeAAAAAAAAABfAAAAAQAAAGwAAAABAAAAcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAEAAAABAAAAAAAAAAAAAAABAAAAAAAAAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAB+ogX28rbpPxqumpJv+fM/165tC4ns9D+XaEnTqUsEQFrOtNlC4PA/3U+0XG6P9b9TdUUBxTTjP4PUp8ex1ty/B1rD/EN43z+lcDi6LLrZP/a45NWEHMY/oJ5ijLDZ+j/xw3rjxWPjP2B8A46ioQdAotff3wla2z+FMSpA1jj+v6b5Y1mtPbS/cIu8K0F457/2esiyJpDNv98k5Ts2NeA/pvljWa09tD88ClUJ60MDQPZ6yLImkM0/4ONKxa0UBcD2uOTVhBzGv5G7JRxGave/8cN648Vj47+HCwtkjAXIv6LX398JWtu/qyheaCAL9D9TdUUBxTTjv4gyTxslhwVAB1rD/EN4378EH/28teoFwH6iBfbytum/F6ztFYdK/r/Xrm0Liez0vwcS6wNGWeO/Ws602ULg8L9TCtRLiLT8P8pi5RexJsw/BlIKPVwR5T95Wyu0/QjnP5PjoT7YYcu/mBhKZ6zrwj8wRYS7NebuP3qW6geh+Ls/SLrixebL3r+pcyymN9XrPwmkNHp7xec/GWNMZVAA17+82s+x2BLiPwn2ytbJ9ek/LgEH1sMS1j8yp/2LhTfeP+SnWwtQBbu/d38gkp5X7z8ytsuHaADGPzUYObdf1+m/7IauECWhwz+cjSACjzniP76Z+wUhN9K/1+GEKzup67+/GYr/04baPw6idWOvsuc/ZedTWsRa5b/EJQOuRzi0v/OncYhHPes/h49PixY53j+i8wWfC03Nvw2idWOvsue/ZedTWsRa5T/EJQOuRzi0P/KncYhHPeu/iY9PixY53r+i8wWfC03NP9anWwtQBbs/d38gkp5X778ytsuHaADGvzUYObdf1+k/74auECWhw7+cjSACjzniv8CZ+wUhN9I/1uGEKzup6z+/GYr/04bavwmkNHp7xee/F2NMZVAA1z+82s+x2BLivwr2ytbJ9em/KwEH1sMS1r8yp/2LhTfev81i5RexJsy/BlIKPVwR5b95Wyu0/Qjnv5DjoT7YYcs/nBhKZ6zrwr8wRYS7Nebuv3OW6geh+Lu/SLrixebL3j+pcyymN9Xrv8rHIFfWehZAMBwUdlo0DECTUc17EOb2PxpVB1SWChdAzjbhb9pTDUDQhmdvECX5P9FlMKCC9+g/IIAzjELgE0DajDngMv8GQFhWDmDPjNs/y1guLh96EkAxPi8k7DIEQJCc4URlhRhA3eLKKLwkEECqpNAyTBD/P6xpjXcDiwVAFtl//cQm4z+Ibt3XKiYTQM7mCLUb3QdAoM1t8yVv7D8aLZv2Nk8UQEAJPV5nQwxAtSsfTCoE9z9TPjXLXIIWQBVanC5W9AtAYM3d7Adm9j++5mQz1FoWQBUThyaVBghAwH5muQsV7T89Q1qv82MUQJoWGOfNuBdAzrkClkmwDkDQjKq77t37Py+g0dtitsE/ZwAMTwVPEUBojepluNwBQGYbtuW+t9w/HNWIJs6MEkDTNuQUSlgEQKxktPP5TcQ/ixbLB8JjEUCwuWjXMQYCQAS/R09FkRdAowpiZjhhDkB7LmlczD/7P01iQmhhsAVAnrtTwDy84z/Z6jfQ2TgTQChOCXMnWwpAhrW3daoz8z/HYJvVPI4VQLT3ik5FcA5Angi7LOZd+z+NNVzDy5gXQBXdvVTFUA1AYNMgOeYe+T8+qHXGCwkXQKQTOKwa5AJA8gFVoEMW0T+FwzJyttIRQAEAAAD/////BwAAAP////8xAAAA/////1cBAAD/////YQkAAP////+nQQAA/////5HLAQD/////95AMAP/////B9lcAAAAAAAAAAAAAAAAAAgAAAP////8OAAAA/////2IAAAD/////rgIAAP/////CEgAA/////06DAAD/////IpcDAP/////uIRkA/////4LtrwAAAAAAAAAAAAAAAAAAAAAAAgAAAP//////////AQAAAAMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////wIAAAD//////////wEAAAAAAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA/////////////////////wEAAAD///////////////8CAAAA////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD///////////////////////////////8CAAAA////////////////AQAAAP////////////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAAAQAAAP//////////AgAAAP//////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAAEAAAD//////////wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAgAAAAAAAAACAAAAAQAAAAEAAAACAAAAAgAAAAAAAAAFAAAABQAAAAAAAAACAAAAAgAAAAMAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAABAAAAAgAAAAIAAAACAAAAAAAAAAUAAAAGAAAAAAAAAAIAAAACAAAAAwAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAAAAAAAAgAAAAEAAAADAAAAAgAAAAIAAAAAAAAABQAAAAcAAAAAAAAAAgAAAAIAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAgAAAAAAAAACAAAAAQAAAAQAAAACAAAAAgAAAAAAAAAFAAAACAAAAAAAAAACAAAAAgAAAAMAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAACAAAAAAAAAAIAAAABAAAAAAAAAAIAAAACAAAAAAAAAAUAAAAJAAAAAAAAAAIAAAACAAAAAwAAAAUAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAIAAAACAAAAAAAAAAMAAAAOAAAAAgAAAAAAAAACAAAAAwAAAAAAAAAAAAAAAgAAAAIAAAADAAAABgAAAAAAAAAAAAAAAAAAAAAAAAALAAAAAgAAAAIAAAAAAAAAAwAAAAoAAAACAAAAAAAAAAIAAAADAAAAAQAAAAAAAAACAAAAAgAAAAMAAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAACAAAAAgAAAAAAAAADAAAACwAAAAIAAAAAAAAAAgAAAAMAAAACAAAAAAAAAAIAAAACAAAAAwAAAAgAAAAAAAAAAAAAAAAAAAAAAAAADQAAAAIAAAACAAAAAAAAAAMAAAAMAAAAAgAAAAAAAAACAAAAAwAAAAMAAAAAAAAAAgAAAAIAAAADAAAACQAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAgAAAAIAAAAAAAAAAwAAAA0AAAACAAAAAAAAAAIAAAADAAAABAAAAAAAAAACAAAAAgAAAAMAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAACAAAAAgAAAAAAAAADAAAABgAAAAIAAAAAAAAAAgAAAAMAAAAPAAAAAAAAAAIAAAACAAAAAwAAAAsAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAIAAAACAAAAAAAAAAMAAAAHAAAAAgAAAAAAAAACAAAAAwAAABAAAAAAAAAAAgAAAAIAAAADAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAgAAAAIAAAAAAAAAAwAAAAgAAAACAAAAAAAAAAIAAAADAAAAEQAAAAAAAAACAAAAAgAAAAMAAAANAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAACAAAAAgAAAAAAAAADAAAACQAAAAIAAAAAAAAAAgAAAAMAAAASAAAAAAAAAAIAAAACAAAAAwAAAA4AAAAAAAAAAAAAAAAAAAAAAAAACQAAAAIAAAACAAAAAAAAAAMAAAAFAAAAAgAAAAAAAAACAAAAAwAAABMAAAAAAAAAAgAAAAIAAAADAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAgAAAAAAAAACAAAAAQAAABMAAAACAAAAAgAAAAAAAAAFAAAACgAAAAAAAAACAAAAAgAAAAMAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABEAAAACAAAAAAAAAAIAAAABAAAADwAAAAIAAAACAAAAAAAAAAUAAAALAAAAAAAAAAIAAAACAAAAAwAAABEAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAIAAAAAAAAAAgAAAAEAAAAQAAAAAgAAAAIAAAAAAAAABQAAAAwAAAAAAAAAAgAAAAIAAAADAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAATAAAAAgAAAAAAAAACAAAAAQAAABEAAAACAAAAAgAAAAAAAAAFAAAADQAAAAAAAAACAAAAAgAAAAMAAAATAAAAAAAAAAAAAAAAAAAAAAAAAA8AAAACAAAAAAAAAAIAAAABAAAAEgAAAAIAAAACAAAAAAAAAAUAAAAOAAAAAAAAAAIAAAACAAAAAwAAAAIAAAABAAAAAAAAAAEAAAACAAAAAAAAAAAAAAACAAAAAQAAAAAAAAABAAAAAgAAAAEAAAAAAAAAAgAAAAAAAAAFAAAABAAAAAAAAAABAAAABQAAAAAAAAAAAAAABQAAAAQAAAAAAAAAAQAAAAUAAAAEAAAAAAAAAAUAAAAAAAAAAgAAAAEAAAAAAAAAAQAAAAIAAAAAAAAAAAAAAAIAAAABAAAAAAAAAAEAAAACAAAAAQAAAAAAAAACAAAAAgAAAAAAAAABAAAAAAAAAAAAAAAFAAAABAAAAAAAAAABAAAABQAAAAAAAAAAAAAABQAAAAQAAAAAAAAAAQAAAAUAAAAEAAAAAAAAAAUAAAAFAAAAAAAAAAEAAAAAAAAAAAAAAMuhRbbsNlBBYqHW9OmHIkF9XBuqnS31QAK37uYhNMhAOSo3UUupm0DC+6pc6JxvQHV9eseEEEJAzURsCyqlFEB8BQ4NMJjnPyy3tBoS97o/xawXQznRjj89J2K2CZxhP6vX43RIIDQ/S8isgygEBz+LvFHQkmzaPjFFFO7wMq4+AADMLkTtjkIAAOgkJqxhQgAAU7B0MjRCAADwpBcVB0IAAACYP2HaQQAAAIn/Ja5BzczM4Eg6gUHNzMxMU7BTQTMzMzNfgCZBAAAAAEi3+UAAAAAAwGPNQDMzMzMzy6BAmpmZmZkxc0AzMzMzM/NFQDMzMzMzMxlAzczMzMzM7D+ygXSx2U6RQKimJOvQKnpA23hmONTHY0A/AGcxyudNQNb3K647mzZA+S56rrwWIUAm4kUQ+9UJQKre9hGzh/M/BLvoy9WG3T+LmqMf8VHGP2m3nYNV37A/gbFHcyeCmT+cBPWBckiDP61tZACjKW0/q2RbYVUYVj8uDypVyLNAP6jGS5cA5zBBwcqhBdCNGUEGEhQ/JVEDQT6WPnRbNO1AB/AWSJgT1kDfUWNCNLDAQNk+5C33OqlAchWL34QSk0DKvtDIrNV8QNF0G3kFzGVASSeWhBl6UED+/0mNGuk4QGjA/dm/1CJALPLPMql6DEDSHoDrwpP1P2jouzWST+A/egAAAAAAAABKAwAAAAAAAPoWAAAAAAAAyqAAAAAAAAB6ZQQAAAAAAErGHgAAAAAA+mvXAAAAAADK8+MFAAAAAHqqOykAAAAASqmhIAEAAAD6oGvkBwAAAMpm8T43AAAAes+ZuIIBAABKrDQMkwoAAPq1cFUFSgAAyvkUViUGAgAAAAAAAwAAAAYAAAACAAAABQAAAAEAAAAEAAAAAAAAAAAAAAAFAAAAAwAAAAEAAAAGAAAABAAAAAIAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAA/////wAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAP////8AAAAAAAAAAAEAAAABAAAAAAAAAAAAAAD/////AAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAA/////wUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////AAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////wAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAUAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAQAAAAAAAAAFAAAAAQAAAAEAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAAAAAABAAEAAAEBAAAAAAABAAAAAQAAAAEAAQAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAACAAAAAQAAAAMAAAAOAAAABgAAAAsAAAACAAAABwAAAAEAAAAYAAAABQAAAAoAAAABAAAABgAAAAAAAAAmAAAABwAAAAwAAAADAAAACAAAAAIAAAAxAAAACQAAAA4AAAAAAAAABQAAAAQAAAA6AAAACAAAAA0AAAAEAAAACQAAAAMAAAA/AAAACwAAAAYAAAAPAAAACgAAABAAAABIAAAADAAAAAcAAAAQAAAACwAAABEAAABTAAAACgAAAAUAAAATAAAADgAAAA8AAABhAAAADQAAAAgAAAARAAAADAAAABIAAABrAAAADgAAAAkAAAASAAAADQAAABMAAAB1AAAADwAAABMAAAARAAAAEgAAABAAAAAHAAAABwAAAAEAAAACAAAABAAAAAMAAAAAAAAAAAAAAAcAAAADAAAAAQAAAAIAAAAFAAAABAAAAAAAAAAAAAAAYWxnb3MuYwBfcG9seWZpbGxJbnRlcm5hbABhZGphY2VudEZhY2VEaXJbdG1wRmlqay5mYWNlXVtmaWprLmZhY2VdID09IEtJAGZhY2VpamsuYwBfZmFjZUlqa1BlbnRUb0dlb0JvdW5kYXJ5AGFkamFjZW50RmFjZURpcltjZW50ZXJJSksuZmFjZV1bZmFjZTJdID09IEtJAF9mYWNlSWprVG9HZW9Cb3VuZGFyeQBwb2x5Z29uLT5uZXh0ID09IE5VTEwAbGlua2VkR2VvLmMAYWRkTmV3TGlua2VkUG9seWdvbgBuZXh0ICE9IE5VTEwAbG9vcCAhPSBOVUxMAGFkZE5ld0xpbmtlZExvb3AAcG9seWdvbi0+Zmlyc3QgPT0gTlVMTABhZGRMaW5rZWRMb29wAGNvb3JkICE9IE5VTEwAYWRkTGlua2VkQ29vcmQAbG9vcC0+Zmlyc3QgPT0gTlVMTABpbm5lckxvb3BzICE9IE5VTEwAbm9ybWFsaXplTXVsdGlQb2x5Z29uAGJib3hlcyAhPSBOVUxMAGNhbmRpZGF0ZXMgIT0gTlVMTABmaW5kUG9seWdvbkZvckhvbGUAY2FuZGlkYXRlQkJveGVzICE9IE5VTEwAcmV2RGlyICE9IElOVkFMSURfRElHSVQAbG9jYWxpai5jAGgzVG9Mb2NhbElqawBiYXNlQ2VsbCAhPSBvcmlnaW5CYXNlQ2VsbAAhKG9yaWdpbk9uUGVudCAmJiBpbmRleE9uUGVudCkAcGVudGFnb25Sb3RhdGlvbnMgPj0gMABkaXJlY3Rpb25Sb3RhdGlvbnMgPj0gMABiYXNlQ2VsbCA9PSBvcmlnaW5CYXNlQ2VsbABiYXNlQ2VsbCAhPSBJTlZBTElEX0JBU0VfQ0VMTABsb2NhbElqa1RvSDMAIV9pc0Jhc2VDZWxsUGVudGFnb24oYmFzZUNlbGwpAGJhc2VDZWxsUm90YXRpb25zID49IDAAd2l0aGluUGVudGFnb25Sb3RhdGlvbnMgPj0gMABncmFwaC0+YnVja2V0cyAhPSBOVUxMAHZlcnRleEdyYXBoLmMAaW5pdFZlcnRleEdyYXBoAG5vZGUgIT0gTlVMTABhZGRWZXJ0ZXhOb2Rl";var W="function"==typeof atob?atob:function(t){var e,n,l,i,r,o,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="",u=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{l=a.indexOf(t.charAt(u++)),e=(15&(i=a.indexOf(t.charAt(u++))))<<4|(r=a.indexOf(t.charAt(u++)))>>2,n=(3&r)<<6|(o=a.indexOf(t.charAt(u++))),s+=String.fromCharCode(l<<2|i>>4),64!==r&&(s+=String.fromCharCode(e)),64!==o&&(s+=String.fromCharCode(n))}while(u<t.length);return s};function $(t){if(z(t))return function(t){try{for(var e=W(t),n=new Uint8Array(e.length),l=0;l<e.length;++l)n[l]=e.charCodeAt(l);return n}catch(i){throw new Error("Converting base64 string to bytes failed.")}}(t.slice(B.length))}var X,K,J=function(t,e,n){var l=new t.Int8Array(n),i=new t.Int32Array(n),r=(new t.Uint8Array(n),new t.Float32Array(n),new t.Float64Array(n)),o=0|e.p,a=t.Math.floor,s=t.Math.abs,u=t.Math.sqrt,c=t.Math.pow,d=t.Math.cos,h=t.Math.sin,p=t.Math.tan,f=t.Math.acos,b=t.Math.asin,m=t.Math.atan,g=t.Math.atan2,_=t.Math.ceil,y=t.Math.imul,A=t.Math.min,v=t.Math.clz32,C=e.b,w=e.c,P=e.d,x=e.e,S=e.f,k=e.g,M=e.h,O=e.i,D=24048;function T(t,e,n,l){var i,r;0|E(t|=0,e|=0,n|=0,l|=0,0)&&(Me(0|l,0,(r=1+(0|y(3*n|0,n+1|0))|0)<<3|0),(i=0|ye(r,4))&&(I(t,e,n,l,i,r,0),_e(i)))}function E(t,e,n,l,r){e|=0,n|=0,r|=0;var o,a,s=0,u=0,c=0,d=0,h=0,p=0,f=0;if(o=D,D=D+16|0,a=o,i[(s=l|=0)>>2]=t|=0,i[s+4>>2]=e,(s=0!=(0|r))&&(i[r>>2]=0),0|Lt(t,e))return D=o,1;i[a>>2]=0;t:do{if((0|n)>=1)if(s)for(h=0,p=1,f=1,u=0,s=t;;){if(!(u|h)){if(0==(0|(s=0|L(s,e,4,a)))&0==(0|(e=0|w()))){s=2;break t}if(0|Lt(s,e)){s=1;break t}}if(0==(0|(s=0|L(s,e,0|i[16+(h<<2)>>2],a)))&0==(0|(e=0|w()))){s=2;break t}if(i[(t=l+(f<<3)|0)>>2]=s,i[t+4>>2]=e,i[r+(f<<2)>>2]=p,t=(0|(u=u+1|0))==(0|p),d=6==(0|(c=h+1|0)),0|Lt(s,e)){s=1;break t}if((0|(p=p+(d&t&1)|0))>(0|n)){s=0;break}h=t?d?0:c:h,f=f+1|0,u=t?0:u}else for(h=0,p=1,f=1,u=0,s=t;;){if(!(u|h)){if(0==(0|(s=0|L(s,e,4,a)))&0==(0|(e=0|w()))){s=2;break t}if(0|Lt(s,e)){s=1;break t}}if(0==(0|(s=0|L(s,e,0|i[16+(h<<2)>>2],a)))&0==(0|(e=0|w()))){s=2;break t}if(i[(t=l+(f<<3)|0)>>2]=s,i[t+4>>2]=e,t=(0|(u=u+1|0))==(0|p),d=6==(0|(c=h+1|0)),0|Lt(s,e)){s=1;break t}if((0|(p=p+(d&t&1)|0))>(0|n)){s=0;break}h=t?d?0:c:h,f=f+1|0,u=t?0:u}else s=0}while(0);return D=o,0|s}function I(t,e,n,l,r,o,a){n|=0,l|=0,r|=0,o|=0,a|=0;var s,u,c=0,d=0,h=0,p=0,f=0;if(u=D,D=D+16|0,s=u,0==(0|(t|=0))&0==(0|(e|=0)))D=u;else{if(c=0|Ce(0|t,0|e,0|o,((0|o)<0)<<31>>31|0),w(),!(0==(0|(f=0|i[(p=d=l+(c<<3)|0)>>2]))&0==(0|(p=0|i[p+4>>2]))|(h=(0|f)==(0|t)&(0|p)==(0|e))))do{h=(0|(p=0|i[(f=d=l+((c=(c+1|0)%(0|o)|0)<<3)|0)>>2]))==(0|t)&(0|(f=0|i[f+4>>2]))==(0|e)}while(!(0==(0|p)&0==(0|f)|h));c=r+(c<<2)|0,h&&(0|i[c>>2])<=(0|a)||(i[(f=d)>>2]=t,i[f+4>>2]=e,i[c>>2]=a,(0|a)>=(0|n)||(f=a+1|0,i[s>>2]=0,I(p=0|L(t,e,2,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,3,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,1,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,5,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,4,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,6,s),0|w(),n,l,r,o,f))),D=u}}function L(t,e,n,l){t|=0,e|=0,n|=0;var r,o,a=0,s=0,u=0,c=0,d=0,h=0,p=0;if((0|i[(l|=0)>>2])>0){a=0;do{n=0|st(n),a=a+1|0}while((0|a)<(0|i[l>>2]))}r=0|we(0|t,0|e,45),w(),o=127&r,s=0|jt(t,e),a=0|we(0|t,0|e,52),w(),a&=15;t:do{if(a)for(;;){if(h=0|we(0|t,0|e,0|(d=3*(15-a|0)|0)),w(),h&=7,p=0==(0|Ut(a)),a=a+-1|0,c=0|Pe(7,0,0|d),e&=~(0|w()),t=(d=0|Pe(0|i[(p?464:48)+(28*h|0)+(n<<2)>>2],0,0|d))|t&~c,e|=0|w(),!(n=0|i[(p?672:256)+(28*h|0)+(n<<2)>>2])){n=0;break t}if(!a){u=6;break}}else u=6}while(0);6==(0|u)&&(t|=h=0|Pe(0|(p=0|i[880+(28*o|0)+(n<<2)>>2]),0,45),e=0|w()|-1040385&e,n=0|i[4304+(28*o|0)+(n<<2)>>2],127==(127&p|0)&&(p=0|Pe(0|i[880+(28*o|0)+20>>2],0,45),e=0|w()|-1040385&e,n=0|i[4304+(28*o|0)+20>>2],t=0|Ft(p|t,e),e=0|w(),i[l>>2]=1+(0|i[l>>2]))),u=0|we(0|t,0|e,45),w(),u&=127;t:do{if(0|R(u)){e:do{if(1==(0|jt(t,e))){if((0|o)!=(0|u)){if(0|U(u,0|i[7728+(28*o|0)>>2])){t=0|Yt(t,e),s=1,e=0|w();break}t=0|Ft(t,e),s=1,e=0|w();break}switch(0|s){case 5:t=0|Yt(t,e),e=0|w(),i[l>>2]=5+(0|i[l>>2]),s=0;break e;case 3:t=0|Ft(t,e),e=0|w(),i[l>>2]=1+(0|i[l>>2]),s=0;break e;default:return p=0,C(0|(h=0)),0|p}}else s=0}while(0);if((0|n)>0){a=0;do{t=0|Rt(t,e),e=0|w(),a=a+1|0}while((0|a)!=(0|n))}if((0|o)!=(0|u)){if(!(0|F(u))){if(0!=(0|s)|5!=(0|jt(t,e)))break;i[l>>2]=1+(0|i[l>>2]);break}switch(127&r){case 8:case 118:break t}3!=(0|jt(t,e))&&(i[l>>2]=1+(0|i[l>>2]))}}else if((0|n)>0){a=0;do{t=0|Ft(t,e),e=0|w(),a=a+1|0}while((0|a)!=(0|n))}}while(0);return i[l>>2]=((0|i[l>>2])+n|0)%6|0,p=t,C(0|(h=e)),0|p}function j(t,e,n,l,o,a){n|=0,l|=0,o|=0,a|=0;var s,u,c,d,h,p,f,b,m,g=0,_=0,y=0,A=0,v=0,C=0,P=0,x=0,S=0,k=0,M=0,O=0,T=0,E=0;if(m=D,D=D+48|0,(0|(g=0|i[(t|=0)>>2]))<=0)return D=m,0;s=t+4|0,u=8+(p=m+32|0)|0,c=8+(f=m+16|0)|0,d=(b=m)+8|0,h=((0|(e|=0))<0)<<31>>31,M=0;t:for(;;){i[p>>2]=i[(S=(_=0|i[s>>2])+(M<<4)|0)>>2],i[p+4>>2]=i[S+4>>2],i[p+8>>2]=i[S+8>>2],i[p+12>>2]=i[S+12>>2],(0|M)==(g+-1|0)?(i[f>>2]=i[_>>2],i[f+4>>2]=i[_+4>>2],i[f+8>>2]=i[_+8>>2],i[f+12>>2]=i[_+12>>2]):(i[f>>2]=i[(S=_+(M+1<<4)|0)>>2],i[f+4>>2]=i[S+4>>2],i[f+8>>2]=i[S+8>>2],i[f+12>>2]=i[S+12>>2]),S=0|q(p,f,n);e:do{if((0|S)>0){k=+(0|S),x=0;n:for(;;){r[b>>3]=+r[p>>3]*(E=+(S-x|0))/k+ +r[f>>3]*(T=+(0|x))/k,r[d>>3]=+r[u>>3]*E/k+ +r[c>>3]*T/k,_=0|Ce(0|(C=0|Bt(b,n)),0|(P=0|w()),0|e,0|h),w(),A=0|i[(y=g=a+(_<<3)|0)>>2],y=0|i[y+4>>2];l:do{if(0==(0|A)&0==(0|y))O=14;else for(v=0;;){if((0|v)>(0|e)){g=1;break l}if((0|A)==(0|C)&(0|y)==(0|P)){g=7;break l}if(0==(0|(A=0|i[(y=g=a+((_=(_+1|0)%(0|e)|0)<<3)|0)>>2]))&0==(0|(y=0|i[y+4>>2]))){O=14;break}v=v+1|0}}while(0);switch(14==(0|O)&&(O=0,0==(0|C)&0==(0|P)?g=7:(i[g>>2]=C,i[g+4>>2]=P,i[(v=o+((g=0|i[l>>2])<<3)|0)>>2]=C,i[v+4>>2]=P,i[l>>2]=g+1,g=0)),7&g){case 7:case 0:break;default:break n}if((0|S)<=(0|(x=x+1|0))){O=8;break e}}if(0|g){g=-1,O=20;break t}}else O=8}while(0);if(8==(0|O)&&(O=0),(0|(M=M+1|0))>=(0|(g=0|i[t>>2]))){g=0,O=20;break}}return 20==(0|O)?(D=m,0|g):0}function R(t){return 0|i[7728+(28*(t|=0)|0)+16>>2]}function F(t){return 4==(0|(t|=0))|117==(0|t)|0}function N(t){return 0|i[11152+(216*(0|i[(t|=0)>>2])|0)+(72*(0|i[t+4>>2])|0)+(24*(0|i[t+8>>2])|0)+(i[t+12>>2]<<3)>>2]}function Y(t){return 0|i[11152+(216*(0|i[(t|=0)>>2])|0)+(72*(0|i[t+4>>2])|0)+(24*(0|i[t+8>>2])|0)+(i[t+12>>2]<<3)+4>>2]}function U(t,e){return(0|i[7728+(28*(t|=0)|0)+20>>2])==(0|(e|=0))?0|(e=1):0|(e=(0|i[7728+(28*t|0)+24>>2])==(0|e))}function B(t,e){return 0|i[880+(28*(t|=0)|0)+((e|=0)<<2)>>2]}function z(t,e){return(0|i[880+(28*(t|=0)|0)>>2])==(0|(e|=0))?0|(e=0):(0|i[880+(28*t|0)+4>>2])==(0|e)?0|(e=1):(0|i[880+(28*t|0)+8>>2])==(0|e)?0|(e=2):(0|i[880+(28*t|0)+12>>2])==(0|e)?0|(e=3):(0|i[880+(28*t|0)+16>>2])==(0|e)?0|(e=4):(0|i[880+(28*t|0)+20>>2])==(0|e)?0|(e=5):0|((0|i[880+(28*t|0)+24>>2])==(0|e)?6:7)}function G(t){return+r[16+(t|=0)>>3]<+r[t+24>>3]|0}function H(t,e){var n,l,i=0;return(i=+r[(e|=0)>>3])>=+r[8+(t|=0)>>3]&&i<=+r[t>>3]?(e=(l=+r[e+8>>3])>=(i=+r[t+24>>3]),t=l<=(n=+r[t+16>>3])&1,n<i?e&&(t=1):e||(t=0),0|(e=0!=(0|t))):0|(e=0)}function V(t,e){t|=0,e|=0;var n,l,o,a,u,c,d=0,h=0;a=D,D=D+288|0,n=a+264|0,l=a+96|0,h=(d=o=a)+96|0;do{i[d>>2]=0,d=d+4|0}while((0|d)<(0|h));return qt(e,o),Ht(h=0|i[(d=o)>>2],d=0|i[d+4>>2],n),Vt(h,d,l),u=+Mt(n,l+8|0),r[n>>3]=+r[t>>3],r[(d=n+8|0)>>3]=+r[t+16>>3],r[l>>3]=+r[t+8>>3],r[(h=l+8|0)>>3]=+r[t+24>>3],c=+Mt(n,l),h=~~+_(+c*c/+xe(+ +s(+(+r[d>>3]-+r[h>>3])/(+r[n>>3]-+r[l>>3])),3)/(u*(2.59807621135*u)*.8)),D=a,0|(0==(0|h)?1:h)}function q(t,e,n){t|=0,e|=0,n|=0;var l,r,o,a,s,u=0,c=0;a=D,D=D+288|0,l=a+264|0,r=a+96|0,c=(u=o=a)+96|0;do{i[u>>2]=0,u=u+4|0}while((0|u)<(0|c));return qt(n,o),Ht(u=0|i[(c=o)>>2],c=0|i[c+4>>2],l),Vt(u,c,r),s=+Mt(l,r+8|0),c=~~+_(+ +Mt(t,e)/(2*s)),D=a,0|(0==(0|c)?1:c)}function W(t,e,n,l){n|=0,l|=0,i[(t|=0)>>2]=e|=0,i[t+4>>2]=n,i[t+8>>2]=l}function $(t,e){t|=0;var n,l,o,a,u=0,c=0,d=0,h=0,p=0,f=0,b=0;i[(a=8+(e|=0)|0)>>2]=0,h=+s(+(l=+r[t>>3])),h+=.5*(p=+s(+(o=+r[t+8>>3]))/.8660254037844386),h-=+(0|(u=~~h)),p-=+(0|(t=~~p));do{if(h<.5){if(h<.3333333333333333){if(i[e>>2]=u,p<.5*(h+1)){i[e+4>>2]=t;break}i[e+4>>2]=t=t+1|0;break}if(i[e+4>>2]=t=(1&!(p<(b=1-h)))+t|0,b<=p&p<2*h){i[e>>2]=u=u+1|0;break}i[e>>2]=u;break}if(!(h<.6666666666666666)){if(i[e>>2]=u=u+1|0,p<.5*h){i[e+4>>2]=t;break}i[e+4>>2]=t=t+1|0;break}if(p<1-h){if(i[e+4>>2]=t,2*h-1<p){i[e>>2]=u;break}}else i[e+4>>2]=t=t+1|0;i[e>>2]=u=u+1|0}while(0);do{if(l<0){if(1&t){u=~~(+(0|u)-(2*(+((f=0|Ae(0|u,((0|u)<0)<<31>>31|0,0|(f=(t+1|0)/2|0),((0|f)<0)<<31>>31|0))>>>0)+4294967296*+(0|w()))+1)),i[e>>2]=u;break}u=~~(+(0|u)-2*(+((f=0|Ae(0|u,((0|u)<0)<<31>>31|0,0|(f=(0|t)/2|0),((0|f)<0)<<31>>31|0))>>>0)+4294967296*+(0|w()))),i[e>>2]=u;break}}while(0);f=e+4|0,o<0&&(i[e>>2]=u=u-((1|t<<1)/2|0)|0,i[f>>2]=t=0-t|0),c=t-u|0,(0|u)<0?(d=0-u|0,i[f>>2]=c,i[a>>2]=d,i[e>>2]=0,t=c,u=0):d=0,(0|t)<0&&(i[e>>2]=u=u-t|0,i[a>>2]=d=d-t|0,i[f>>2]=0,t=0),n=u-d|0,c=t-d|0,(0|d)<0&&(i[e>>2]=n,i[f>>2]=c,i[a>>2]=0,t=c,u=n,d=0),(0|(c=(0|d)<(0|(c=(0|t)<(0|u)?t:u))?d:c))<=0||(i[e>>2]=u-c,i[f>>2]=t-c,i[a>>2]=d-c)}function X(t){var e,n=0,l=0,r=0,o=0,a=0;l=0|i[(e=4+(t|=0)|0)>>2],(0|(n=0|i[t>>2]))<0&&(i[e>>2]=l=l-n|0,i[(a=t+8|0)>>2]=(0|i[a>>2])-n,i[t>>2]=0,n=0),(0|l)<0?(i[t>>2]=n=n-l|0,i[(a=t+8|0)>>2]=o=(0|i[a>>2])-l|0,i[e>>2]=0,l=0):(a=o=t+8|0,o=0|i[o>>2]),(0|o)<0&&(i[t>>2]=n=n-o|0,i[e>>2]=l=l-o|0,i[a>>2]=0,o=0),(0|(r=(0|o)<(0|(r=(0|l)<(0|n)?l:n))?o:r))<=0||(i[t>>2]=n-r,i[e>>2]=l-r,i[a>>2]=o-r)}function K(t,e){var n,l;r[(e|=0)>>3]=+((0|i[(t|=0)>>2])-(l=0|i[t+8>>2])|0)-.5*(n=+((0|i[t+4>>2])-l|0)),r[e+8>>3]=.8660254037844386*n}function J(t,e,n){i[(n|=0)>>2]=(0|i[(e|=0)>>2])+(0|i[(t|=0)>>2]),i[n+4>>2]=(0|i[e+4>>2])+(0|i[t+4>>2]),i[n+8>>2]=(0|i[e+8>>2])+(0|i[t+8>>2])}function Q(t,e,n){i[(n|=0)>>2]=(0|i[(t|=0)>>2])-(0|i[(e|=0)>>2]),i[n+4>>2]=(0|i[t+4>>2])-(0|i[e+4>>2]),i[n+8>>2]=(0|i[t+8>>2])-(0|i[e+8>>2])}function Z(t,e){var n,l=0;l=0|y(0|i[(t|=0)>>2],e|=0),i[t>>2]=l,n=0|y(0|i[(l=t+4|0)>>2],e),i[l>>2]=n,e=0|y(0|i[(t=t+8|0)>>2],e),i[t>>2]=e}function tt(t){var e,n,l,r=0,o=0,a=0,s=0;t=(t=(o=(0|(s=(0|i[8+(t|=0)>>2])-((l=(0|(n=0|i[t>>2]))<0)?n:0)+((e=(0|(a=(0|i[t+4>>2])-(l?n:0)|0))<0)?0-a|0:0)|0))<0)?0:s)-((a=(0|(o=(0|t)<(0|(o=(0|(r=(e?0:a)-(o?s:0)|0))<(0|(s=(l?0:n)-(e?a:0)-(o?s:0)|0))?r:s))?t:o))>0)?o:0)|0,r=r-(a?o:0)|0;t:do{switch(s-(a?o:0)|0){case 0:switch(0|r){case 0:return 0|(0==(0|t)?0:1==(0|t)?1:7);case 1:return 0|(0==(0|t)?2:1==(0|t)?3:7);default:break t}case 1:switch(0|r){case 0:return 0|(0==(0|t)?4:1==(0|t)?5:7);case 1:if(t)break t;return 6;default:break t}}}while(0);return 7}function et(t){var e,n,l=0,r=0,o=0,a=0,s=0;o=0|me(+((3*(l=(0|i[(t|=0)>>2])-(r=0|i[(e=t+8|0)>>2])|0)|0)-(r=(0|i[(n=t+4|0)>>2])-r|0)|0)/7),i[t>>2]=o,l=0|me(+((r<<1)+l|0)/7),i[n>>2]=l,i[e>>2]=0,r=l-o|0,(0|o)<0?(s=0-o|0,i[n>>2]=r,i[e>>2]=s,i[t>>2]=0,l=r,o=0,r=s):r=0,(0|l)<0&&(i[t>>2]=o=o-l|0,i[e>>2]=r=r-l|0,i[n>>2]=0,l=0),s=o-r|0,a=l-r|0,(0|r)<0?(i[t>>2]=s,i[n>>2]=a,i[e>>2]=0,l=a,a=s,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|l)<(0|a)?l:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=l-o,i[e>>2]=r-o)}function nt(t){var e,n,l=0,r=0,o=0,a=0,s=0;o=0|me(+(((l=(0|i[(t|=0)>>2])-(r=0|i[(e=t+8|0)>>2])|0)<<1)+(r=(0|i[(n=t+4|0)>>2])-r|0)|0)/7),i[t>>2]=o,l=0|me(+((3*r|0)-l|0)/7),i[n>>2]=l,i[e>>2]=0,r=l-o|0,(0|o)<0?(s=0-o|0,i[n>>2]=r,i[e>>2]=s,i[t>>2]=0,l=r,o=0,r=s):r=0,(0|l)<0&&(i[t>>2]=o=o-l|0,i[e>>2]=r=r-l|0,i[n>>2]=0,l=0),s=o-r|0,a=l-r|0,(0|r)<0?(i[t>>2]=s,i[n>>2]=a,i[e>>2]=0,l=a,a=s,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|l)<(0|a)?l:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=l-o,i[e>>2]=r-o)}function lt(t){var e,n,l,r=0,o=0,a=0,s=0;a=0|i[(l=8+(t|=0)|0)>>2],i[t>>2]=s=(o=0|i[(n=t+4|0)>>2])+(3*(r=0|i[t>>2])|0)|0,i[n>>2]=o=a+(3*o|0)|0,i[l>>2]=r=(3*a|0)+r|0,a=o-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=a,i[l>>2]=r,i[t>>2]=0,o=a,a=0):a=s,(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function it(t){var e,n,l,r=0,o=0,a=0,s=0;a=(3*(r=0|i[(n=4+(t|=0)|0)>>2])|0)+(s=0|i[t>>2])|0,i[t>>2]=s=(o=0|i[(l=t+8|0)>>2])+(3*s|0)|0,i[n>>2]=a,i[l>>2]=r=(3*o|0)+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,s=0):o=a,(0|o)<0&&(i[t>>2]=s=s-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=s-r|0,a=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=a,i[l>>2]=0,s=e,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|a)<(0|s)?a:s))?r:o))<=0||(i[t>>2]=s-o,i[n>>2]=a-o,i[l>>2]=r-o)}function rt(t,e){t|=0;var n,l,r,o=0,a=0,s=0;((e|=0)-1|0)>>>0>=6||(i[t>>2]=s=(0|i[15472+(12*e|0)>>2])+(0|i[t>>2])|0,i[(r=t+4|0)>>2]=a=(0|i[15472+(12*e|0)+4>>2])+(0|i[r>>2])|0,i[(l=t+8|0)>>2]=e=(0|i[15472+(12*e|0)+8>>2])+(0|i[l>>2])|0,o=a-s|0,(0|s)<0?(e=e-s|0,i[r>>2]=o,i[l>>2]=e,i[t>>2]=0,a=0):(o=a,a=s),(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=e=e-o|0,i[r>>2]=0,o=0),n=a-e|0,s=o-e|0,(0|e)<0?(i[t>>2]=n,i[r>>2]=s,i[l>>2]=0,a=n,e=0):s=o,(0|(o=(0|e)<(0|(o=(0|s)<(0|a)?s:a))?e:o))<=0||(i[t>>2]=a-o,i[r>>2]=s-o,i[l>>2]=e-o))}function ot(t){var e,n,l,r=0,o=0,a=0,s=0;a=(r=0|i[(n=4+(t|=0)|0)>>2])+(s=0|i[t>>2])|0,i[t>>2]=s=(o=0|i[(l=t+8|0)>>2])+s|0,i[n>>2]=a,i[l>>2]=r=o+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,a=0):(o=a,a=s),(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function at(t){var e,n,l,r=0,o=0,a=0,s=0;o=0|i[(l=8+(t|=0)|0)>>2],i[t>>2]=s=(a=0|i[(n=t+4|0)>>2])+(r=0|i[t>>2])|0,i[n>>2]=a=o+a|0,i[l>>2]=r=o+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,a=0):(o=a,a=s),(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function st(t){switch(0|(t|=0)){case 1:t=5;break;case 5:t=4;break;case 4:t=6;break;case 6:t=2;break;case 2:t=3;break;case 3:t=1}return 0|t}function ut(t){switch(0|(t|=0)){case 1:t=3;break;case 3:t=2;break;case 2:t=6;break;case 6:t=4;break;case 4:t=5;break;case 5:t=1}return 0|t}function ct(t){var e,n,l,r=0,o=0,a=0,s=0;a=0|i[(l=8+(t|=0)|0)>>2],i[t>>2]=s=(o=0|i[(n=t+4|0)>>2])+((r=0|i[t>>2])<<1)|0,i[n>>2]=o=a+(o<<1)|0,i[l>>2]=r=(a<<1)+r|0,a=o-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=a,i[l>>2]=r,i[t>>2]=0,o=a,a=0):a=s,(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function dt(t){var e,n,l,r=0,o=0,a=0,s=0;a=((r=0|i[(n=4+(t|=0)|0)>>2])<<1)+(s=0|i[t>>2])|0,i[t>>2]=s=(o=0|i[(l=t+8|0)>>2])+(s<<1)|0,i[n>>2]=a,i[l>>2]=r=(o<<1)+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,s=0):o=a,(0|o)<0&&(i[t>>2]=s=s-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=s-r|0,a=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=a,i[l>>2]=0,s=e,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|a)<(0|s)?a:s))?r:o))<=0||(i[t>>2]=s-o,i[n>>2]=a-o,i[l>>2]=r-o)}function ht(t,e){var n,l,r,o=0,a=0,s=0;return e=(e=(t=(0|(s=((r=(0|(l=(0|i[(t|=0)>>2])-(0|i[(e|=0)>>2])|0))<0)?0-l|0:0)+(0|i[t+8>>2])-(0|i[e+8>>2])+((n=(0|(a=(0|i[t+4>>2])-(0|i[e+4>>2])-(r?l:0)|0))<0)?0-a|0:0)|0))<0)?0:s)-((a=(0|(t=(0|e)<(0|(t=(0|(o=(n?0:a)-(t?s:0)|0))<(0|(s=(r?0:l)-(n?a:0)-(t?s:0)|0))?o:s))?e:t))>0)?t:0)|0,o=o-(a?t:0)|0,0|((0|(t=(0|(t=s-(a?t:0)|0))>-1?t:0-t|0))>(0|(e=(0|(o=(0|o)>-1?o:0-o|0))>(0|(e=(0|e)>-1?e:0-e|0))?o:e))?t:e)}function pt(t,e){var n;i[(e|=0)>>2]=(0|i[(t|=0)>>2])-(n=0|i[t+8>>2]),i[e+4>>2]=(0|i[t+4>>2])-n}function ft(t,e){var n,l,r,o=0,a=0,s=0;i[(e|=0)>>2]=a=0|i[(t|=0)>>2],i[(l=e+4|0)>>2]=t=0|i[t+4>>2],i[(r=e+8|0)>>2]=0,o=t-a|0,(0|a)<0?(t=0-a|0,i[l>>2]=o,i[r>>2]=t,i[e>>2]=0,a=0):(o=t,t=0),(0|o)<0&&(i[e>>2]=a=a-o|0,i[r>>2]=t=t-o|0,i[l>>2]=0,o=0),n=a-t|0,s=o-t|0,(0|t)<0?(i[e>>2]=n,i[l>>2]=s,i[r>>2]=0,o=s,s=n,t=0):s=a,(0|(a=(0|t)<(0|(a=(0|o)<(0|s)?o:s))?t:a))<=0||(i[e>>2]=s-a,i[l>>2]=o-a,i[r>>2]=t-a)}function bt(t){var e,n,l,r;i[(t|=0)>>2]=n=(r=0|i[(e=t+8|0)>>2])-(0|i[t>>2])|0,i[(l=t+4|0)>>2]=t=(0|i[l>>2])-r|0,i[e>>2]=0-(t+n)}function mt(t){var e,n,l=0,r=0,o=0,a=0,s=0;i[(t|=0)>>2]=l=0-(r=0|i[t>>2])|0,i[(e=t+8|0)>>2]=0,a=(o=0|i[(n=t+4|0)>>2])+r|0,(0|r)>0?(i[n>>2]=a,i[e>>2]=r,i[t>>2]=0,l=0,o=a):r=0,(0|o)<0?(i[t>>2]=s=l-o|0,i[e>>2]=r=r-o|0,i[n>>2]=0,a=s-r|0,l=0-r|0,(0|r)<0?(i[t>>2]=a,i[n>>2]=l,i[e>>2]=0,o=l,r=0):(o=0,a=s)):a=l,(0|(l=(0|r)<(0|(l=(0|o)<(0|a)?o:a))?r:l))<=0||(i[t>>2]=a-l,i[n>>2]=o-l,i[e>>2]=r-l)}function gt(t,e,n,l){e|=0,n|=0,l|=0;var o,a=0,s=0,u=0,c=0;if(o=D,D=D+32|0,function(t,e){e|=0;var n,l,i=0;n=+d(+(i=+r[(t|=0)>>3])),i=+h(+i),r[e+16>>3]=i,l=n*+d(+(i=+r[t+8>>3])),r[e>>3]=l,i=n*+h(+i),r[e+8>>3]=i}(t|=0,s=o),i[n>>2]=0,a=+se(15888,s),(u=+se(15912,s))<a&&(i[n>>2]=1,a=u),(u=+se(15936,s))<a&&(i[n>>2]=2,a=u),(u=+se(15960,s))<a&&(i[n>>2]=3,a=u),(u=+se(15984,s))<a&&(i[n>>2]=4,a=u),(u=+se(16008,s))<a&&(i[n>>2]=5,a=u),(u=+se(16032,s))<a&&(i[n>>2]=6,a=u),(u=+se(16056,s))<a&&(i[n>>2]=7,a=u),(u=+se(16080,s))<a&&(i[n>>2]=8,a=u),(u=+se(16104,s))<a&&(i[n>>2]=9,a=u),(u=+se(16128,s))<a&&(i[n>>2]=10,a=u),(u=+se(16152,s))<a&&(i[n>>2]=11,a=u),(u=+se(16176,s))<a&&(i[n>>2]=12,a=u),(u=+se(16200,s))<a&&(i[n>>2]=13,a=u),(u=+se(16224,s))<a&&(i[n>>2]=14,a=u),(u=+se(16248,s))<a&&(i[n>>2]=15,a=u),(u=+se(16272,s))<a&&(i[n>>2]=16,a=u),(u=+se(16296,s))<a&&(i[n>>2]=17,a=u),(u=+se(16320,s))<a&&(i[n>>2]=18,a=u),(u=+se(16344,s))<a&&(i[n>>2]=19,a=u),(u=+f(+(1-.5*a)))<1e-16)return i[l>>2]=0,i[l+4>>2]=0,i[l+8>>2]=0,i[l+12>>2]=0,void(D=o);if(a=+St((a=+r[16368+(24*(n=0|i[n>>2])|0)>>3])-+St(+function(t,e){var n,l,i,o,a;return t|=0,a=(l=+d(+(o=+r[(e|=0)>>3])))*+h(+(i=+r[e+8>>3]-+r[t+8>>3])),n=+r[t>>3],+ +g(+a,+(+h(+o)*+d(+n)-+d(+i)*(l*+h(+n))))}(15568+(n<<4)|0,t))),c=0|Ut(e)?+St(a+-.3334731722518321):a,a=+p(+u)/.381966011250105,(0|e)>0){s=0;do{a*=2.6457513110645907,s=s+1|0}while((0|s)!=(0|e))}u=+d(+c)*a,r[l>>3]=u,c=+h(+c)*a,r[l+8>>3]=c,D=o}function _t(t,e,n,l,o){e|=0,n|=0,l|=0,o|=0;var a=0,c=0;if((a=+function(t){var e,n;return+ +u(+((n=+r[(t|=0)>>3])*n+(e=+r[t+8>>3])*e))}(t|=0))<1e-16)return i[o>>2]=i[(e=15568+(e<<4)|0)>>2],i[o+4>>2]=i[e+4>>2],i[o+8>>2]=i[e+8>>2],void(i[o+12>>2]=i[e+12>>2]);if(c=+g(+ +r[t+8>>3],+ +r[t>>3]),(0|n)>0){t=0;do{a/=2.6457513110645907,t=t+1|0}while((0|t)!=(0|n))}l?(a/=3,n=0==(0|Ut(n)),a=+m(.381966011250105*(n?a:a/2.6457513110645907))):(a=+m(.381966011250105*a),0|Ut(n)&&(c=+St(c+.3334731722518321))),function(t,e,n,l){t|=0,e=+e,l|=0;var o=0,a=0,u=0,c=0;if((n=+n)<1e-16)return i[l>>2]=i[t>>2],i[l+4>>2]=i[t+4>>2],i[l+8>>2]=i[t+8>>2],void(i[l+12>>2]=i[t+12>>2]);a=e<0?e+6.283185307179586:e,a=e>=6.283185307179586?a+-6.283185307179586:a;do{if(!(a<1e-16)){if(o=+s(+(a+-3.141592653589793))<1e-16,e=+r[t>>3],o){r[l>>3]=e-=n,o=l;break}if(u=+d(+n),n=+h(+n),e=u*+h(+e)+ +d(+a)*(n*+d(+e)),e=+b(+((e=e>1?1:e)<-1?-1:e)),r[l>>3]=e,+s(+(e+-1.5707963267948966))<1e-16)return r[l>>3]=1.5707963267948966,void(r[l+8>>3]=0);if(+s(+(e+1.5707963267948966))<1e-16)return r[l>>3]=-1.5707963267948966,void(r[l+8>>3]=0);if(c=+d(+e),a=n*+h(+a)/c,n=+r[t>>3],e=(u-+h(+e)*+h(+n))/+d(+n)/c,(e=+r[t+8>>3]+ +g(+((u=a>1?1:a)<-1?-1:u),+((e=e>1?1:e)<-1?-1:e)))>3.141592653589793)do{e+=-6.283185307179586}while(e>3.141592653589793);if(e<-3.141592653589793)do{e+=6.283185307179586}while(e<-3.141592653589793);return void(r[l+8>>3]=e)}r[l>>3]=e=+r[t>>3]+n,o=l}while(0);if(+s(+(e+-1.5707963267948966))<1e-16)return r[o>>3]=1.5707963267948966,void(r[l+8>>3]=0);if(+s(+(e+1.5707963267948966))<1e-16)return r[o>>3]=-1.5707963267948966,void(r[l+8>>3]=0);if((e=+r[t+8>>3])>3.141592653589793)do{e+=-6.283185307179586}while(e>3.141592653589793);if(e<-3.141592653589793)do{e+=6.283185307179586}while(e<-3.141592653589793);r[l+8>>3]=e}(15568+(e<<4)|0,+St(+r[16368+(24*e|0)>>3]-c),a,o)}function yt(t,e,n){var l,r;e|=0,n|=0,l=D,D=D+16|0,K(4+(t|=0)|0,r=l),_t(r,0|i[t>>2],e,0,n),D=l}function At(t,e,n,l,o){t|=0,n|=0,l|=0,o|=0;var a,s,u,c,d,h,p,f,b,m,g,_,y,A,v,C,w,x,S,k,M,O,T=0,E=0,I=0,L=0,j=0,R=0;if(O=D,D=D+272|0,L=O+240|0,S=O,k=O+224|0,M=O+208|0,g=O+176|0,_=O+160|0,y=O+192|0,A=O+144|0,v=O+128|0,C=O+112|0,w=O+96|0,x=O+80|0,i[(T=O+256|0)>>2]=e|=0,i[L>>2]=i[t>>2],i[L+4>>2]=i[t+4>>2],i[L+8>>2]=i[t+8>>2],i[L+12>>2]=i[t+12>>2],vt(L,T,S),i[o>>2]=0,(0|(L=l+n+(5==(0|l)&1)|0))<=(0|n))D=O;else{s=k+4|0,u=g+4|0,c=n+5|0,d=16848+((a=0|i[T>>2])<<2)|0,h=16928+(a<<2)|0,p=v+8|0,f=C+8|0,b=w+8|0,m=M+4|0,I=n;t:for(;;){i[M>>2]=i[(E=S+(((0|I)%5|0)<<4)|0)>>2],i[M+4>>2]=i[E+4>>2],i[M+8>>2]=i[E+8>>2],i[M+12>>2]=i[E+12>>2];do{}while(2==(0|Ct(M,a,0,1)));if((0|I)>(0|n)&0!=(0|Ut(e))){if(i[g>>2]=i[M>>2],i[g+4>>2]=i[M+4>>2],i[g+8>>2]=i[M+8>>2],i[g+12>>2]=i[M+12>>2],K(s,_),i[g>>2]=i[18608+(80*(l=0|i[g>>2])|0)+(20*(T=0|i[17008+(80*l|0)+(i[k>>2]<<2)>>2])|0)>>2],(0|(E=0|i[18608+(80*l|0)+(20*T|0)+16>>2]))>0){t=0;do{ot(u),t=t+1|0}while((0|t)<(0|E))}switch(i[y>>2]=i[(E=18608+(80*l|0)+(20*T|0)+4|0)>>2],i[y+4>>2]=i[E+4>>2],i[y+8>>2]=i[E+8>>2],Z(y,3*(0|i[d>>2])|0),J(u,y,u),X(u),K(u,A),r[v>>3]=3*(j=+(0|i[h>>2])),r[p>>3]=0,r[C>>3]=R=-1.5*j,r[f>>3]=2.598076211353316*j,r[w>>3]=R,r[b>>3]=-2.598076211353316*j,0|i[17008+(80*(0|i[g>>2])|0)+(i[M>>2]<<2)>>2]){case 1:t=C,l=v;break;case 3:t=w,l=C;break;case 2:t=v,l=w;break;default:t=12;break t}oe(_,A,l,t,x),_t(x,0|i[g>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2])}if((0|I)<(0|c)&&(K(m,g),_t(g,0|i[M>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2])),i[k>>2]=i[M>>2],i[k+4>>2]=i[M+4>>2],i[k+8>>2]=i[M+8>>2],i[k+12>>2]=i[M+12>>2],(0|(I=I+1|0))>=(0|L)){t=3;break}}3!=(0|t)?12==(0|t)&&P(22474,22521,581,22531):D=O}}function vt(t,e,n){t|=0,e|=0,n|=0;var l,r=0,o=0,a=0,s=0,u=0;l=D,D=D+128|0,o=l,s=20208,u=60+(a=r=l+64|0)|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));s=20272,u=(a=o)+60|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));r=(u=0==(0|Ut(0|i[e>>2])))?r:o,ct(o=t+4|0),dt(o),0|Ut(0|i[e>>2])&&(it(o),i[e>>2]=1+(0|i[e>>2])),i[n>>2]=i[t>>2],J(o,r,e=n+4|0),X(e),i[n+16>>2]=i[t>>2],J(o,r+12|0,e=n+20|0),X(e),i[n+32>>2]=i[t>>2],J(o,r+24|0,e=n+36|0),X(e),i[n+48>>2]=i[t>>2],J(o,r+36|0,e=n+52|0),X(e),i[n+64>>2]=i[t>>2],J(o,r+48|0,n=n+68|0),X(n),D=l}function Ct(t,e,n,l){n|=0;var r,o,a,s,u,c,d,h=0,p=0,f=0,b=0;if(c=D,D=D+32|0,u=c+12|0,o=c,b=0|i[16928+((e|=0)<<2)>>2],b=(s=0!=(0|(l|=0)))?3*b|0:b,h=0|i[(d=4+(t|=0)|0)>>2],r=0|i[(a=t+8|0)>>2],s){if((0|(h=r+h+(l=0|i[(p=t+12|0)>>2])|0))==(0|b))return D=c,1;f=p}else h=r+h+(l=0|i[(f=t+12|0)>>2])|0;if((0|h)<=(0|b))return D=c,0;do{if((0|l)>0){if(l=0|i[t>>2],(0|r)>0){p=18608+(80*l|0)+60|0,l=t;break}l=18608+(80*l|0)+40|0,n?(W(u,b,0,0),Q(d,u,o),at(o),J(o,u,d),p=l,l=t):(p=l,l=t)}else p=18608+(80*(0|i[t>>2])|0)+20|0,l=t}while(0);if(i[l>>2]=i[p>>2],(0|i[(h=p+16|0)>>2])>0){l=0;do{ot(d),l=l+1|0}while((0|l)<(0|i[h>>2]))}return i[u>>2]=i[(t=p+4|0)>>2],i[u+4>>2]=i[t+4>>2],i[u+8>>2]=i[t+8>>2],e=0|i[16848+(e<<2)>>2],Z(u,s?3*e|0:e),J(d,u,d),X(d),D=c,0|(s&&((0|i[a>>2])+(0|i[d>>2])+(0|i[f>>2])|0)==(0|b)?1:2)}function wt(t,e){t|=0,e|=0;var n=0;do{n=0|Ct(t,e,0,1)}while(2==(0|n));return 0|n}function Pt(t,e,n,l,o){t|=0,n|=0,l|=0,o|=0;var a,s,u,c,d,h,p,f,b,m,g,_,y,A,v,C,w,x,S=0,k=0,M=0,O=0,T=0;if(x=D,D=D+240|0,A=x+208|0,v=x,C=x+192|0,w=x+176|0,b=x+160|0,m=x+144|0,g=x+128|0,_=x+112|0,y=x+96|0,i[(S=x+224|0)>>2]=e|=0,i[A>>2]=i[t>>2],i[A+4>>2]=i[t+4>>2],i[A+8>>2]=i[t+8>>2],i[A+12>>2]=i[t+12>>2],xt(A,S,v),i[o>>2]=0,(0|(f=l+n+(6==(0|l)&1)|0))<=(0|n))D=x;else{s=n+6|0,u=16928+((a=0|i[S>>2])<<2)|0,c=m+8|0,d=g+8|0,h=_+8|0,p=C+4|0,k=0,M=n,l=-1;t:for(;;){if(i[C>>2]=i[(t=v+((S=(0|M)%6|0)<<4)|0)>>2],i[C+4>>2]=i[t+4>>2],i[C+8>>2]=i[t+8>>2],i[C+12>>2]=i[t+12>>2],t=k,k=0|Ct(C,a,0,1),(0|M)>(0|n)&0!=(0|Ut(e))&&1!=(0|t)&&(0|i[C>>2])!=(0|l)){switch(K(v+(((S+5|0)%6|0)<<4)+4|0,w),K(v+(S<<4)+4|0,b),r[m>>3]=3*(O=+(0|i[u>>2])),r[c>>3]=0,r[g>>3]=T=-1.5*O,r[d>>3]=2.598076211353316*O,r[_>>3]=T,r[h>>3]=-2.598076211353316*O,0|i[17008+(80*(S=0|i[A>>2])|0)+(((0|l)==(0|S)?0|i[C>>2]:l)<<2)>>2]){case 1:t=g,l=m;break;case 3:t=_,l=g;break;case 2:t=m,l=_;break;default:t=8;break t}oe(w,b,l,t,y),0|ae(w,y)||0|ae(b,y)||(_t(y,0|i[A>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2]))}if((0|M)<(0|s)&&(K(p,w),_t(w,0|i[C>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2])),(0|(M=M+1|0))>=(0|f)){t=3;break}l=0|i[C>>2]}3!=(0|t)?8==(0|t)&&P(22557,22521,746,22602):D=x}}function xt(t,e,n){t|=0,e|=0,n|=0;var l,r=0,o=0,a=0,s=0,u=0;l=D,D=D+160|0,o=l,s=20336,u=72+(a=r=l+80|0)|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));s=20416,u=(a=o)+72|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));r=(u=0==(0|Ut(0|i[e>>2])))?r:o,ct(o=t+4|0),dt(o),0|Ut(0|i[e>>2])&&(it(o),i[e>>2]=1+(0|i[e>>2])),i[n>>2]=i[t>>2],J(o,r,e=n+4|0),X(e),i[n+16>>2]=i[t>>2],J(o,r+12|0,e=n+20|0),X(e),i[n+32>>2]=i[t>>2],J(o,r+24|0,e=n+36|0),X(e),i[n+48>>2]=i[t>>2],J(o,r+36|0,e=n+52|0),X(e),i[n+64>>2]=i[t>>2],J(o,r+48|0,e=n+68|0),X(e),i[n+80>>2]=i[t>>2],J(o,r+60|0,n=n+84|0),X(n),D=l}function St(t){var e;return e=(t=+t)<0?t+6.283185307179586:t,+(t>=6.283185307179586?e+-6.283185307179586:e)}function kt(t,e){return+s(+(+r[(t|=0)>>3]-+r[(e|=0)>>3]))<17453292519943298e-27?0|(e=+s(+(+r[t+8>>3]-+r[e+8>>3]))<17453292519943298e-27):0|(e=0)}function Mt(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))*6371.007180918475}function Ot(t,e,n){n|=0;var l,i,o,a,s=0,c=0,f=0,b=0,_=0,y=0;return _=+h(.5*((y=+r[(e|=0)>>3])-(o=+r[(t|=0)>>3]))),b=+h(.5*((f=+r[e+8>>3])-(i=+r[t+8>>3]))),l=+d(+o),a=+d(+y),b=2*+g(+ +u(+(b=_*_+b*(a*l*b))),+ +u(+(1-b))),y=+h(.5*((_=+r[n>>3])-y)),f=+h(.5*((s=+r[n+8>>3])-f)),c=+d(+_),f=2*+g(+ +u(+(f=y*y+f*(a*c*f))),+ +u(+(1-f))),_=+h(.5*(o-_)),s=+h(.5*(i-s)),s=2*+g(+ +u(+(s=_*_+s*(l*c*s))),+ +u(+(1-s))),4*+m(+ +u(+ +p(.5*(c=.5*(b+f+s)))*+p(.5*(c-b))*+p(.5*(c-f))*+p(.5*(c-s))))}function Dt(t,e){return e=0|we(0|(t|=0),0|(e|=0),45),w(),127&e|0}function Tt(t,e){var n=0,l=0,i=0,r=0,o=0,a=0;if(!(!0&134217728==(-16777216&(e|=0)|0)))return 0;if(o=0|we(0|(t|=0),0|e,45),w(),(o&=127)>>>0>121)return 0;n=0|we(0|t,0|e,52),w(),n&=15;do{if(0|n){for(i=1,l=0;;){if(r=0|we(0|t,0|e,3*(15-i|0)|0),w(),0!=(0|(r&=7))&(1^l)){if(1==(0|r)&0!=(0|R(o))){a=0,l=13;break}l=1}if(7==(0|r)){a=0,l=13;break}if(!(i>>>0<n>>>0)){l=9;break}i=i+1|0}if(9==(0|l)){if(15!=(0|n))break;return 1}if(13==(0|l))return 0|a}}while(0);for(;;){if(a=0|we(0|t,0|e,3*(14-n|0)|0),w(),!(7==(7&a|0)&!0)){a=0,l=13;break}if(!(n>>>0<14)){a=1,l=13;break}n=n+1|0}return 13==(0|l)?0|a:0}function Et(t,e,n){n|=0;var l=0,i=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),(0|(l&=15))>=(0|n)){if((0|l)!=(0|n))if(n>>>0<=15){if(t|=i=0|Pe(0|n,0,52),e=0|w()|-15728641&e,(0|l)>(0|n))do{i=0|Pe(7,0,3*(14-n|0)|0),n=n+1|0,t|=i,e=0|w()|e}while((0|n)<(0|l))}else e=0,t=0}else e=0,t=0;return C(0|e),0|t}function It(t,e,n,l){n|=0,l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0;if(s=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(s&=15))<=(0|n)){if((0|s)==(0|n))return i[(n=l)>>2]=t,void(i[n+4>>2]=e);if(r=(0|(c=0|ee(7,n-s|0)))/7|0,u=0|we(0|t,0|e,45),w(),0|R(127&u)){t:do{if(s)for(a=1;;){if(o=0|we(0|t,0|e,3*(15-a|0)|0),w(),0|(o&=7))break t;if(!(a>>>0<s>>>0)){o=0;break}a=a+1|0}else o=0}while(0);a=0==(0|o)}else a=0;if(d=0|Pe(s+1|0,0,52),o=0|w()|-15728641&e,It(e=(d|t)&~(e=0|Pe(7,0,0|(u=3*(14-s|0)|0))),s=o&~(0|w()),n,l),o=l+(r<<3)|0,!a)return It((d=0|Pe(1,0,0|u))|e,0|w()|s,n,o),d=o+(r<<3)|0,It((c=0|Pe(2,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(3,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(4,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(5,0,0|u))|e,0|w()|s,n,d),void It((c=0|Pe(6,0,0|u))|e,0|w()|s,n,d+(r<<3)|0);a=o+(r<<3)|0,(0|c)>6&&(Me(0|o,0,8+(d=(a>>>0>(c=o+8|0)>>>0?a:c)+-1+(0-o)|0)&-8|0),o=c+(d>>>3<<3)|0),It((d=0|Pe(2,0,0|u))|e,0|w()|s,n,o),d=o+(r<<3)|0,It((c=0|Pe(3,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(4,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(5,0,0|u))|e,0|w()|s,n,d),It((c=0|Pe(6,0,0|u))|e,0|w()|s,n,d+(r<<3)|0)}}function Lt(t,e){var n=0,l=0,i=0;if(i=0|we(0|(t|=0),0|(e|=0),45),w(),!(0|R(127&i)))return 0;i=0|we(0|t,0|e,52),w(),i&=15;t:do{if(i)for(l=1;;){if(n=0|we(0|t,0|e,3*(15-l|0)|0),w(),0|(n&=7))break t;if(!(l>>>0<i>>>0)){n=0;break}l=l+1|0}else n=0}while(0);return 0|0==(0|n)&1}function jt(t,e){var n=0,l=0,i=0;if(i=0|we(0|(t|=0),0|(e|=0),52),w(),!(i&=15))return 0;for(l=1;;){if(n=0|we(0|t,0|e,3*(15-l|0)|0),w(),0|(n&=7)){l=5;break}if(!(l>>>0<i>>>0)){n=0,l=5;break}l=l+1|0}return 5==(0|l)?0|n:0}function Rt(t,e){var n=0,l=0,i=0,r=0,o=0,a=0,s=0;if(s=0|we(0|(t|=0),0|(e|=0),52),w(),!(s&=15))return s=t,C(0|(a=e)),0|s;for(a=1,n=0;;){l=0|Pe(7,0,0|(r=3*(15-a|0)|0)),i=0|w(),o=0|we(0|t,0|e,0|r),w(),t=(r=0|Pe(0|st(7&o),0,0|r))|t&~l,e=(o=0|w())|e&~i;t:do{if(!n)if(0==(r&l|0)&0==(o&i|0))n=0;else if(l=0|we(0|t,0|e,52),w(),l&=15){n=1;e:for(;;){switch(o=0|we(0|t,0|e,3*(15-n|0)|0),w(),7&o){case 1:break e;case 0:break;default:n=1;break t}if(!(n>>>0<l>>>0)){n=1;break t}n=n+1|0}for(n=1;;){if(i=0|we(0|t,0|e,0|(o=3*(15-n|0)|0)),w(),r=0|Pe(7,0,0|o),e&=~(0|w()),t=t&~r|(o=0|Pe(0|st(7&i),0,0|o)),e=0|e|w(),!(n>>>0<l>>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(a>>>0<s>>>0))break;a=a+1|0}return C(0|e),0|t}function Ft(t,e){var n=0,l=0,i=0,r=0,o=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),!(l&=15))return l=t,C(0|(n=e)),0|l;for(n=1;o=0|we(0|t,0|e,0|(r=3*(15-n|0)|0)),w(),i=0|Pe(7,0,0|r),e&=~(0|w()),t=(r=0|Pe(0|st(7&o),0,0|r))|t&~i,e=0|w()|e,n>>>0<l>>>0;)n=n+1|0;return C(0|e),0|t}function Nt(t,e){var n=0,l=0,i=0,r=0,o=0,a=0,s=0;if(s=0|we(0|(t|=0),0|(e|=0),52),w(),!(s&=15))return s=t,C(0|(a=e)),0|s;for(a=1,n=0;;){l=0|Pe(7,0,0|(r=3*(15-a|0)|0)),i=0|w(),o=0|we(0|t,0|e,0|r),w(),t=(r=0|Pe(0|ut(7&o),0,0|r))|t&~l,e=(o=0|w())|e&~i;t:do{if(!n)if(0==(r&l|0)&0==(o&i|0))n=0;else if(l=0|we(0|t,0|e,52),w(),l&=15){n=1;e:for(;;){switch(o=0|we(0|t,0|e,3*(15-n|0)|0),w(),7&o){case 1:break e;case 0:break;default:n=1;break t}if(!(n>>>0<l>>>0)){n=1;break t}n=n+1|0}for(n=1;;){if(r=0|Pe(7,0,0|(i=3*(15-n|0)|0)),o=e&~(0|w()),e=0|we(0|t,0|e,0|i),w(),t=t&~r|(e=0|Pe(0|ut(7&e),0,0|i)),e=0|o|w(),!(n>>>0<l>>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(a>>>0<s>>>0))break;a=a+1|0}return C(0|e),0|t}function Yt(t,e){var n=0,l=0,i=0,r=0,o=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),!(l&=15))return l=t,C(0|(n=e)),0|l;for(n=1;r=0|Pe(7,0,0|(o=3*(15-n|0)|0)),i=e&~(0|w()),e=0|we(0|t,0|e,0|o),w(),t=(e=0|Pe(0|ut(7&e),0,0|o))|t&~r,e=0|w()|i,n>>>0<l>>>0;)n=n+1|0;return C(0|e),0|t}function Ut(t){return 0|(0|(t|=0))%2}function Bt(t,e){var n,l;return t|=0,l=D,D=D+16|0,n=l,(e|=0)>>>0<=15&&2146435072!=(2146435072&i[t+4>>2]|0)&&2146435072!=(2146435072&i[t+8+4>>2]|0)?(function(t,e,n){var l,i;l=D,D=D+16|0,gt(t|=0,e|=0,n|=0,i=l),$(i,n+4|0),D=l}(t,e,n),e=0|function(t,e){t|=0;var n,l=0,r=0,o=0,a=0,s=0,u=0,c=0,d=0;if(n=D,D=D+64|0,u=n+40|0,r=n+24|0,o=n+12|0,a=n,Pe(0|(e|=0),0,52),l=134225919|w(),!e)return(0|i[t+4>>2])>2||(0|i[t+8>>2])>2||(0|i[t+12>>2])>2?(u=0,C(0|(s=0)),D=n,0|u):(Pe(0|N(t),0,45),s=0|w()|l,u=-1,C(0|s),D=n,0|u);if(i[u>>2]=i[t>>2],i[u+4>>2]=i[t+4>>2],i[u+8>>2]=i[t+8>>2],i[u+12>>2]=i[t+12>>2],s=u+4|0,(0|e)>0)for(t=-1;i[r>>2]=i[s>>2],i[r+4>>2]=i[s+4>>2],i[r+8>>2]=i[s+8>>2],1&e?(et(s),i[o>>2]=i[s>>2],i[o+4>>2]=i[s+4>>2],i[o+8>>2]=i[s+8>>2],lt(o)):(nt(s),i[o>>2]=i[s>>2],i[o+4>>2]=i[s+4>>2],i[o+8>>2]=i[s+8>>2],it(o)),Q(r,o,a),X(a),c=0|Pe(7,0,0|(d=3*(15-e|0)|0)),l&=~(0|w()),t=(d=0|Pe(0|tt(a),0,0|d))|t&~c,l=0|w()|l,(0|e)>1;)e=e+-1|0;else t=-1;t:do{if((0|i[s>>2])<=2&&(0|i[u+8>>2])<=2&&(0|i[u+12>>2])<=2){if(e=0|Pe(0|(r=0|N(u)),0,45),e|=t,t=0|w()|-1040385&l,a=0|Y(u),!(0|R(r))){if((0|a)<=0)break;for(o=0;;){if(r=0|we(0|e,0|t,52),w(),r&=15)for(l=1;u=0|we(0|e,0|t,0|(d=3*(15-l|0)|0)),w(),c=0|Pe(7,0,0|d),t&=~(0|w()),e=e&~c|(d=0|Pe(0|st(7&u),0,0|d)),t=0|t|w(),l>>>0<r>>>0;)l=l+1|0;if((0|(o=o+1|0))==(0|a))break t}}o=0|we(0|e,0|t,52),w(),o&=15;e:do{if(o){l=1;n:for(;;){switch(d=0|we(0|e,0|t,3*(15-l|0)|0),w(),7&d){case 1:break n;case 0:break;default:break e}if(!(l>>>0<o>>>0))break e;l=l+1|0}if(0|U(r,0|i[u>>2]))for(l=1;c=0|Pe(7,0,0|(u=3*(15-l|0)|0)),d=t&~(0|w()),t=0|we(0|e,0|t,0|u),w(),e=e&~c|(t=0|Pe(0|ut(7&t),0,0|u)),t=0|d|w(),l>>>0<o>>>0;)l=l+1|0;else for(l=1;u=0|we(0|e,0|t,0|(d=3*(15-l|0)|0)),w(),c=0|Pe(7,0,0|d),t&=~(0|w()),e=e&~c|(d=0|Pe(0|st(7&u),0,0|d)),t=0|t|w(),l>>>0<o>>>0;)l=l+1|0}}while(0);if((0|a)>0){l=0;do{e=0|Rt(e,t),t=0|w(),l=l+1|0}while((0|l)!=(0|a))}}else e=0,t=0}while(0);return d=e,C(0|(c=t)),D=n,0|d}(n,e),t=0|w()):(t=0,e=0),C(0|t),D=l,0|e}function zt(t,e,n){var l,r=0,o=0,a=0;if(l=4+(n|=0)|0,o=0|we(0|(t|=0),0|(e|=0),52),w(),o&=15,a=0|we(0|t,0|e,45),w(),r=0==(0|o),0|R(127&a)){if(r)return 1;r=1}else{if(r)return 0;r=0==(0|i[l>>2])&&0==(0|i[n+8>>2])?0!=(0|i[n+12>>2])&1:1}for(n=1;1&n?lt(l):it(l),a=0|we(0|t,0|e,3*(15-n|0)|0),w(),rt(l,7&a),n>>>0<o>>>0;)n=n+1|0;return 0|r}function Gt(t,e,n){n|=0;var l,r,o=0,a=0,s=0,u=0,c=0,d=0;r=D,D=D+16|0,l=r,d=0|we(0|(t|=0),0|(e|=0),45),w(),d&=127;t:do{if(0!=(0|R(d))&&(s=0|we(0|t,0|e,52),w(),0!=(0|(s&=15)))){o=1;e:for(;;){switch(c=0|we(0|t,0|e,3*(15-o|0)|0),w(),7&c){case 5:break e;case 0:break;default:o=e;break t}if(!(o>>>0<s>>>0)){o=e;break t}o=o+1|0}for(a=1,o=e;u=0|Pe(7,0,0|(e=3*(15-a|0)|0)),c=o&~(0|w()),o=0|we(0|t,0|o,0|e),w(),t=t&~u|(o=0|Pe(0|ut(7&o),0,0|e)),o=0|c|w(),a>>>0<s>>>0;)a=a+1|0}else o=e}while(0);if(i[n>>2]=i[(c=7728+(28*d|0)|0)>>2],i[n+4>>2]=i[c+4>>2],i[n+8>>2]=i[c+8>>2],i[n+12>>2]=i[c+12>>2],0|zt(t,o,n)){if(i[l>>2]=i[(u=n+4|0)>>2],i[l+4>>2]=i[u+4>>2],i[l+8>>2]=i[u+8>>2],s=0|we(0|t,0|o,52),w(),c=15&s,1&s?(it(u),s=c+1|0):s=c,0|R(d)){t:do{if(c)for(e=1;;){if(a=0|we(0|t,0|o,3*(15-e|0)|0),w(),0|(a&=7)){o=a;break t}if(!(e>>>0<c>>>0)){o=0;break}e=e+1|0}else o=0}while(0);o=4==(0|o)&1}else o=0;if(0|Ct(n,s,o,0)){if(0|R(d))do{}while(0!=(0|Ct(n,s,0,0)));(0|s)!=(0|c)&&nt(u)}else(0|s)!=(0|c)&&(i[u>>2]=i[l>>2],i[u+4>>2]=i[l+4>>2],i[u+8>>2]=i[l+8>>2]);D=r}else D=r}function Ht(t,e,n){var l,i;n|=0,l=D,D=D+16|0,Gt(t|=0,e|=0,i=l),e=0|we(0|t,0|e,52),w(),yt(i,15&e,n),D=l}function Vt(t,e,n){n|=0;var l,i,r=0,o=0;i=D,D=D+16|0,Gt(t|=0,e|=0,l=i),r=0|we(0|t,0|e,45),w(),r=0==(0|R(127&r)),o=0|we(0|t,0|e,52),w(),o&=15;t:do{if(!r){if(0|o)for(r=1;;){if(!(0==((0|Pe(7,0,3*(15-r|0)|0))&t|0)&0==((0|w())&e|0)))break t;if(!(r>>>0<o>>>0))break;r=r+1|0}return At(l,o,0,5,n),void(D=i)}}while(0);Pt(l,o,0,6,n),D=i}function qt(t,e){e|=0;var n,l=0,r=0,o=0,a=0,s=0,u=0;if(Pe(0|(t|=0),0,52),n=134225919|w(),(0|t)<1){r=0,l=0;do{0|R(r)&&(Pe(0|r,0,45),s=0|n|w(),i[(t=e+(l<<3)|0)>>2]=-1,i[t+4>>2]=s,l=l+1|0),r=r+1|0}while(122!=(0|r))}else{s=0,l=0;do{if(0|R(s)){for(Pe(0|s,0,45),r=1,o=-1,a=0|n|w();o&=~(u=0|Pe(7,0,3*(15-r|0)|0)),a&=~(0|w()),(0|r)!=(0|t);)r=r+1|0;i[(u=e+(l<<3)|0)>>2]=o,i[u+4>>2]=a,l=l+1|0}s=s+1|0}while(122!=(0|s))}}function Wt(t,e,n,l){var r,o,a=0,s=0,u=0,c=0;if(r=D,D=D+64|0,o=r,(0|(t|=0))==(0|(n|=0))&(0|(e|=0))==(0|(l|=0))|!1|134217728!=(2013265920&e|0)|!1|134217728!=(2013265920&l|0))return D=r,0;if(a=0|we(0|t,0|e,52),w(),a&=15,s=0|we(0|n,0|l,52),w(),(0|a)!=(15&s|0))return D=r,0;if(s=a+-1|0,a>>>0>1&&(c=0|Et(t,e,s),u=0|w(),(0|c)==(0|(s=0|Et(n,l,s)))&(0|u)==(0|w()))){if(a=0|we(0|t,0|e,0|(s=3*(15^a)|0)),w(),a&=7,s=0|we(0|n,0|l,0|s),w(),0==(0|a)|0==(0|(s&=7)))return D=r,1;if((0|i[21136+(a<<2)>>2])==(0|s))return D=r,1;if((0|i[21168+(a<<2)>>2])==(0|s))return D=r,1}s=(a=o)+56|0;do{i[a>>2]=0,a=a+4|0}while((0|a)<(0|s));return T(t,e,1,o),a=(0|i[(c=o)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+8|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+16|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+24|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+32|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+40|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)?1:1&((0|i[(a=o+48|0)>>2])==(0|n)?(0|i[a+4>>2])==(0|l):0),D=r,0|a}function $t(t,e,n){n|=0;var l,r,o,a,s=0;if(o=D,D=D+16|0,r=o,s=0|we(0|(t|=0),0|(e|=0),56),w(),-1==(0|(e=0|function(t,e,n){n|=0;var l,r=0;return r=0|Lt(t|=0,e|=0),(n+-1|0)>>>0>5||1==(0|n)&(l=0!=(0|r))?-1:(r=0|function(t,e){var n,l,r,o,a=0,s=0,u=0,c=0;if(r=D,D=D+32|0,l=r,Gt(t|=0,e|=0,n=r+16|0),u=0|Dt(t,e),o=0|jt(t,e),function(t,e){i[(e|=0)>>2]=i[(t=7728+(28*(t|=0)|0)|0)>>2],i[e+4>>2]=i[t+4>>2],i[e+8>>2]=i[t+8>>2],i[e+12>>2]=i[t+12>>2]}(u,l),e=0|function(t,e){t|=0;var n=0,l=0;if((e|=0)>>>0>20)return-1;do{if((0|i[11152+(216*e|0)>>2])!=(0|t))if((0|i[11152+(216*e|0)+8>>2])!=(0|t))if((0|i[11152+(216*e|0)+16>>2])!=(0|t))if((0|i[11152+(216*e|0)+24>>2])!=(0|t))if((0|i[11152+(216*e|0)+32>>2])!=(0|t))if((0|i[11152+(216*e|0)+40>>2])!=(0|t))if((0|i[11152+(216*e|0)+48>>2])!=(0|t))if((0|i[11152+(216*e|0)+56>>2])!=(0|t))if((0|i[11152+(216*e|0)+64>>2])!=(0|t))if((0|i[11152+(216*e|0)+72>>2])!=(0|t))if((0|i[11152+(216*e|0)+80>>2])!=(0|t))if((0|i[11152+(216*e|0)+88>>2])!=(0|t))if((0|i[11152+(216*e|0)+96>>2])!=(0|t))if((0|i[11152+(216*e|0)+104>>2])!=(0|t))if((0|i[11152+(216*e|0)+112>>2])!=(0|t))if((0|i[11152+(216*e|0)+120>>2])!=(0|t))if((0|i[11152+(216*e|0)+128>>2])!=(0|t)){if((0|i[11152+(216*e|0)+136>>2])!=(0|t)){if((0|i[11152+(216*e|0)+144>>2])==(0|t)){t=0,n=2,l=0;break}if((0|i[11152+(216*e|0)+152>>2])==(0|t)){t=0,n=2,l=1;break}if((0|i[11152+(216*e|0)+160>>2])==(0|t)){t=0,n=2,l=2;break}if((0|i[11152+(216*e|0)+168>>2])==(0|t)){t=1,n=2,l=0;break}if((0|i[11152+(216*e|0)+176>>2])==(0|t)){t=1,n=2,l=1;break}if((0|i[11152+(216*e|0)+184>>2])==(0|t)){t=1,n=2,l=2;break}if((0|i[11152+(216*e|0)+192>>2])==(0|t)){t=2,n=2,l=0;break}if((0|i[11152+(216*e|0)+200>>2])==(0|t)){t=2,n=2,l=1;break}if((0|i[11152+(216*e|0)+208>>2])==(0|t)){t=2,n=2,l=2;break}return-1}t=2,n=1,l=2}else t=2,n=1,l=1;else t=2,n=1,l=0;else t=1,n=1,l=2;else t=1,n=1,l=1;else t=1,n=1,l=0;else t=0,n=1,l=2;else t=0,n=1,l=1;else t=0,n=1,l=0;else t=2,n=0,l=2;else t=2,n=0,l=1;else t=2,n=0,l=0;else t=1,n=0,l=2;else t=1,n=0,l=1;else t=1,n=0,l=0;else t=0,n=0,l=2;else t=0,n=0,l=1;else t=0,n=0,l=0}while(0);return 0|i[11152+(216*e|0)+(72*n|0)+(24*t|0)+(l<<3)+4>>2]}(u,0|i[n>>2]),!(0|R(u)))return D=r,0|e;switch(0|u){case 4:t=0,a=14;break;case 14:t=1,a=14;break;case 24:t=2,a=14;break;case 38:t=3,a=14;break;case 49:t=4,a=14;break;case 58:t=5,a=14;break;case 63:t=6,a=14;break;case 72:t=7,a=14;break;case 83:t=8,a=14;break;case 97:t=9,a=14;break;case 107:t=10,a=14;break;case 117:t=11,a=14;break;default:c=0,s=0}return 14==(0|a)&&(c=0|i[22096+(24*t|0)+8>>2],s=0|i[22096+(24*t|0)+16>>2]),(0|(t=0|i[n>>2]))!=(0|i[l>>2])&&(u=0|F(u))|(0|(t=0|i[n>>2]))==(0|s)&&(e=(e+1|0)%6|0),3==(0|o)&(0|t)==(0|s)?(D=r,0|(e+5|0)%6):5==(0|o)&(0|t)==(0|c)?(D=r,0|(e+1|0)%6):(D=r,0|e)}(t,e),l?0|(n=(5-r+(0|i[22384+(n<<2)>>2])|0)%5|0):0|(n=(6-r+(0|i[22416+(n<<2)>>2])|0)%6|0))}(l=(a=!0&268435456==(2013265920&e|0))?t:0,t=a?-2130706433&e|134217728:0,7&s))))return i[n>>2]=0,void(D=o);Gt(l,t,r),s=0|we(0|l,0|t,52),w(),s&=15,0|Lt(l,t)?At(r,s,e,2,n):Pt(r,s,e,2,n),D=o}function Xt(t){t|=0;var e,n,l=0;return(e=0|ye(1,12))||P(22691,22646,49,22704),0|(l=0|i[(n=t+4|0)>>2])?(i[(l=l+8|0)>>2]=e,i[n>>2]=e,0|e):(0|i[t>>2]&&P(22721,22646,61,22744),i[(l=t)>>2]=e,i[n>>2]=e,0|e)}function Kt(t,e){var n,l;return t|=0,e|=0,(l=0|ge(24))||P(22758,22646,78,22772),i[l>>2]=i[e>>2],i[l+4>>2]=i[e+4>>2],i[l+8>>2]=i[e+8>>2],i[l+12>>2]=i[e+12>>2],i[l+16>>2]=0,0|(n=0|i[(e=t+4|0)>>2])?(i[n+16>>2]=l,i[e>>2]=l,0|l):(0|i[t>>2]&&P(22787,22646,82,22772),i[t>>2]=l,i[e>>2]=l,0|l)}function Jt(t){var e,n,l=0,o=0,a=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,w=0,x=0,S=0,k=0,M=0,O=0,D=0,T=0,E=0,I=0,L=0,j=0,R=0;if(0|i[(u=8+(t|=0)|0)>>2])return 1;if(!(a=0|i[t>>2]))return 0;l=a,o=0;do{o=o+1|0,l=0|i[l+8>>2]}while(0!=(0|l));if(o>>>0<2)return 0;(n=0|ge(o<<2))||P(22807,22646,317,22826),(e=0|ge(o<<5))||P(22848,22646,321,22826),i[t>>2]=0,i[(M=t+4|0)>>2]=0,i[u>>2]=0,o=0,L=0,k=0,m=0;t:for(;;){if(b=0|i[a>>2]){c=0,d=b;do{if(l=d,+s(+((p=+r[d+8>>3])-(h=+r[(u=(f=0==(0|(d=0|i[d+16>>2])))?b:d)+8>>3])))>3.141592653589793){R=14;break}c+=(h-p)*(+r[l>>3]+ +r[u>>3])}while(!f);if(14==(0|R)){R=0,c=0,l=b;do{c+=(+r[l>>3]+ +r[(E=0==(0|(E=0|i[(I=l+16|0)>>2]))?b:E)>>3])*(((x=+r[E+8>>3])<0?x+6.283185307179586:x)-((S=+r[l+8>>3])<0?S+6.283185307179586:S)),l=0|i[(0==(0|l)?a:I)>>2]}while(0!=(0|l))}c>0?(i[n+(L<<2)>>2]=a,L=L+1|0,u=k,l=m):R=19}else R=19;if(19==(0|R)){R=0;do{if(!o){if(m){u=M,d=m+8|0,l=a,o=t;break}if(0|i[t>>2]){R=27;break t}u=M,d=t,l=a,o=t;break}if(0|i[(l=o+8|0)>>2]){R=21;break t}if(!(o=0|ye(1,12))){R=23;break t}i[l>>2]=o,u=o+4|0,d=o,l=m}while(0);if(i[d>>2]=a,i[u>>2]=a,d=e+(k<<5)|0,f=0|i[a>>2]){for(r[(b=e+(k<<5)+8|0)>>3]=17976931348623157e292,r[(m=e+(k<<5)+24|0)>>3]=17976931348623157e292,r[d>>3]=-17976931348623157e292,r[(g=e+(k<<5)+16|0)>>3]=-17976931348623157e292,C=17976931348623157e292,w=-17976931348623157e292,u=0,_=f,p=17976931348623157e292,A=17976931348623157e292,v=-17976931348623157e292,h=-17976931348623157e292;c=+r[_>>3],S=+r[_+8>>3],x=+r[((y=0==(0|(_=0|i[_+16>>2])))?f:_)+8>>3],c<p&&(r[b>>3]=c,p=c),S<A&&(r[m>>3]=S,A=S),c>v?r[d>>3]=c:c=v,S>h&&(r[g>>3]=S,h=S),C=S>0&S<C?S:C,w=S<0&S>w?S:w,u|=+s(+(S-x))>3.141592653589793,!y;)v=c;u&&(r[g>>3]=w,r[m>>3]=C)}else i[d>>2]=0,i[d+4>>2]=0,i[d+8>>2]=0,i[d+12>>2]=0,i[d+16>>2]=0,i[d+20>>2]=0,i[d+24>>2]=0,i[d+28>>2]=0;u=k+1|0}if(a=0|i[(I=a+8|0)>>2],i[I>>2]=0,!a){R=45;break}k=u,m=l}if(21==(0|R))P(22624,22646,35,22658);else if(23==(0|R))P(22678,22646,37,22658);else if(27==(0|R))P(22721,22646,61,22744);else if(45==(0|R)){t:do{if((0|L)>0){for(I=0==(0|u),T=u<<2,E=0==(0|t),D=0,l=0;;){if(O=0|i[n+(D<<2)>>2],I)R=73;else{if(!(k=0|ge(T))){R=50;break}if(!(M=0|ge(T))){R=52;break}e:do{if(E)o=0;else{for(u=0,o=0,d=t;0|Qt(0|i[d>>2],a=e+(u<<5)|0,0|i[O>>2])?(i[k+(o<<2)>>2]=d,i[M+(o<<2)>>2]=a,y=o+1|0):y=o,d=0|i[d+8>>2];)u=u+1|0,o=y;if((0|y)>0)if(a=0|i[k>>2],1==(0|y))o=a;else for(g=0,_=-1,o=a,m=a;;){for(f=0|i[m>>2],a=0,d=0;b=(0|(u=0|i[i[k+(d<<2)>>2]>>2]))==(0|f)?a:a+(1&(0|Qt(u,0|i[M+(d<<2)>>2],0|i[f>>2])))|0,(0|(d=d+1|0))!=(0|y);)a=b;if(o=(u=(0|b)>(0|_))?m:o,(0|(a=g+1|0))==(0|y))break e;g=a,_=u?b:_,m=0|i[k+(a<<2)>>2]}else o=0}}while(0);if(_e(k),_e(M),o){if(a=0|i[(u=o+4|0)>>2])o=a+8|0;else if(0|i[o>>2]){R=70;break}i[o>>2]=O,i[u>>2]=O}else R=73}if(73==(0|R)){if(R=0,0|(l=0|i[O>>2]))do{M=l,l=0|i[l+16>>2],_e(M)}while(0!=(0|l));_e(O),l=2}if((0|(D=D+1|0))>=(0|L)){j=l;break t}}50==(0|R)?P(22863,22646,249,22882):52==(0|R)?P(22901,22646,252,22882):70==(0|R)&&P(22721,22646,61,22744)}else j=0}while(0);return _e(n),_e(e),0|j}return 0}function Qt(t,e,n){t|=0;var l,o=0,a=0,s=0,u=0,c=0,d=0,h=0;if(!(0|H(e|=0,n|=0)))return 0;if(e=0|G(e),l=+r[n>>3],o=e&(o=+r[n+8>>3])<0?o+6.283185307179586:o,!(t=0|i[t>>2]))return 0;if(e){e=0,n=t;t:for(;;){for(;u=+r[n>>3],d=+r[n+8>>3],a=+r[(h=0==(0|(h=0|i[(n=n+16|0)>>2]))?t:h)+8>>3],u>(s=+r[h>>3])?(c=u,u=d):(c=s,s=u,u=a,a=d),l<s|l>c;)if(!(n=0|i[n>>2])){n=22;break t}if(o=(u=u<0?u+6.283185307179586:u)==o|(d=a<0?a+6.283185307179586:a)==o?o+-2220446049250313e-31:o,((d+=(l-s)/(c-s)*(u-d))<0?d+6.283185307179586:d)>o&&(e^=1),!(n=0|i[n>>2])){n=22;break}}if(22==(0|n))return 0|e}else{e=0,n=t;t:for(;;){for(;u=+r[n>>3],d=+r[n+8>>3],a=+r[(h=0==(0|(h=0|i[(n=n+16|0)>>2]))?t:h)+8>>3],u>(s=+r[h>>3])?(c=u,u=d):(c=s,s=u,u=a,a=d),l<s|l>c;)if(!(n=0|i[n>>2])){n=22;break t}if(a+(l-s)/(c-s)*(u-a)>(o=u==o|a==o?o+-2220446049250313e-31:o)&&(e^=1),!(n=0|i[n>>2])){n=22;break}}if(22==(0|n))return 0|e}return 0}function Zt(t,e,n,r,o){n|=0,r|=0,o|=0;var a,s,u,c,d,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0;if(c=D,D=D+32|0,d=c+16|0,u=c,h=0|we(0|(t|=0),0|(e|=0),52),w(),h&=15,_=0|we(0|n,0|r,52),w(),(0|h)!=(15&_|0))return D=c,1;if(m=0|we(0|t,0|e,45),w(),m&=127,g=0|we(0|n,0|r,45),w(),_=(0|m)!=(0|(g&=127))){if(7==(0|(f=0|z(m,g))))return D=c,2;7==(0|(b=0|z(g,m)))?P(22925,22949,151,22959):(y=f,p=b)}else y=0,p=0;a=0|R(m),s=0|R(g),i[d>>2]=0,i[d+4>>2]=0,i[d+8>>2]=0,i[d+12>>2]=0;do{if(y){if(f=(0|(g=0|i[4304+(28*m|0)+(y<<2)>>2]))>0,s)if(f){m=0,b=n,f=r;do{b=0|Nt(b,f),f=0|w(),1==(0|(p=0|ut(p)))&&(p=0|ut(1)),m=m+1|0}while((0|m)!=(0|g));g=p,m=b,b=f}else g=p,m=n,b=r;else if(f){m=0,b=n,f=r;do{b=0|Yt(b,f),f=0|w(),p=0|ut(p),m=m+1|0}while((0|m)!=(0|g));g=p,m=b,b=f}else g=p,m=n,b=r;if(zt(m,b,d),_||P(22972,22949,181,22959),(f=0!=(0|a))&(p=0!=(0|s))&&P(22999,22949,182,22959),f){if(p=0|jt(t,e),0|l[22032+(7*p|0)+y>>0]){h=3;break}m=b=0|i[21200+(28*p|0)+(y<<2)>>2],A=26}else if(p){if(p=0|jt(m,b),0|l[22032+(7*p|0)+g>>0]){h=4;break}m=0,b=0|i[21200+(28*g|0)+(p<<2)>>2],A=26}else p=0;if(26==(0|A))if((0|b)<=-1&&P(23030,22949,212,22959),(0|m)<=-1&&P(23053,22949,213,22959),(0|b)>0){f=d+4|0,p=0;do{at(f),p=p+1|0}while((0|p)!=(0|b));p=m}else p=m;if(i[u>>2]=0,i[u+4>>2]=0,i[u+8>>2]=0,rt(u,y),0|h)for(;0|Ut(h)?lt(u):it(u),(0|h)>1;)h=h+-1|0;if((0|p)>0){h=0;do{at(u),h=h+1|0}while((0|h)!=(0|p))}J(A=d+4|0,u,A),X(A),A=50}else if(zt(n,r,d),0!=(0|a)&0!=(0|s))if((0|g)!=(0|m)&&P(23077,22949,243,22959),p=0|jt(t,e),h=0|jt(n,r),0|l[22032+(7*p|0)+h>>0])h=5;else if((0|(p=0|i[21200+(28*p|0)+(h<<2)>>2]))>0){f=d+4|0,h=0;do{at(f),h=h+1|0}while((0|h)!=(0|p));A=50}else A=50;else A=50}while(0);return 50==(0|A)&&(i[o>>2]=i[(h=d+4|0)>>2],i[o+4>>2]=i[h+4>>2],i[o+8>>2]=i[h+8>>2],h=0),D=c,0|h}function te(t,e,n,l){n|=0,l|=0;var r,o,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0;if(o=D,D=D+48|0,u=o+36|0,c=o+24|0,d=o+12|0,h=o,s=0|we(0|(t|=0),0|(e|=0),52),w(),s&=15,f=0|we(0|t,0|e,45),w(),r=0|R(f&=127),Pe(0|s,0,52),g=134225919|w(),i[(m=l)>>2]=-1,i[m+4>>2]=g,!s)return(0|i[n>>2])>1||(0|i[n+4>>2])>1||(0|i[n+8>>2])>1||127==(0|(a=0|B(f,0|tt(n))))?(D=o,0|(g=1)):(b=0|Pe(0|a,0,45),m=0|w(),m|=-1040385&i[(f=l)+4>>2],i[(g=l)>>2]=i[f>>2]|b,i[g+4>>2]=m,D=o,0|(g=0));for(i[u>>2]=i[n>>2],i[u+4>>2]=i[n+4>>2],i[u+8>>2]=i[n+8>>2];i[c>>2]=i[u>>2],i[c+4>>2]=i[u+4>>2],i[c+8>>2]=i[u+8>>2],0|Ut(s)?(et(u),i[d>>2]=i[u>>2],i[d+4>>2]=i[u+4>>2],i[d+8>>2]=i[u+8>>2],lt(d)):(nt(u),i[d>>2]=i[u>>2],i[d+4>>2]=i[u+4>>2],i[d+8>>2]=i[u+8>>2],it(d)),Q(c,d,h),X(h),_=0|i[(m=l)>>2],m=0|i[m+4>>2],n=0|Pe(7,0,0|(y=3*(15-s|0)|0)),m&=~(0|w()),y=0|Pe(0|tt(h),0,0|y),m=0|w()|m,i[(g=l)>>2]=y|_&~n,i[g+4>>2]=m,(0|s)>1;)s=s+-1|0;t:do{if((0|i[u>>2])<=1&&(0|i[u+4>>2])<=1&&(0|i[u+8>>2])<=1){h=127==(0|(c=0|B(f,s=0|tt(u))))?0:0|R(c);e:do{if(s){if(r){if(u=21408+(28*(0|jt(t,e))|0)+(s<<2)|0,(0|(u=0|i[u>>2]))>0){n=0;do{s=0|st(s),n=n+1|0}while((0|n)!=(0|u))}if(1==(0|s)){a=3;break t}127==(0|(n=0|B(f,s)))&&P(23104,22949,376,23134),0|R(n)?P(23147,22949,377,23134):(b=u,p=s,a=n)}else b=0,p=s,a=c;if((0|(d=0|i[4304+(28*f|0)+(p<<2)>>2]))<=-1&&P(23178,22949,384,23134),!h){if((0|b)<=-1&&P(23030,22949,417,23134),0|b){s=0,n=0|i[(u=l)>>2],u=0|i[u+4>>2];do{n=0|Ft(n,u),u=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=u,s=s+1|0}while((0|s)<(0|b))}if((0|d)<=0){s=54;break}for(s=0,n=0|i[(u=l)>>2],u=0|i[u+4>>2];;)if(n=0|Ft(n,u),u=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=u,(0|(s=s+1|0))==(0|d)){s=54;break e}}if(7==(0|(c=0|z(a,f)))&&P(22925,22949,393,23134),n=0|i[(s=l)>>2],s=0|i[s+4>>2],(0|d)>0){u=0;do{n=0|Ft(n,s),s=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=s,u=u+1|0}while((0|u)!=(0|d))}if(n=0|jt(n,s),y=0|F(a),(0|(n=0|i[(y?21824:21616)+(28*c|0)+(n<<2)>>2]))<=-1&&P(23030,22949,412,23134),n){s=0,u=0|i[(c=l)>>2],c=0|i[c+4>>2];do{u=0|Rt(u,c),c=0|w(),i[(y=l)>>2]=u,i[y+4>>2]=c,s=s+1|0}while((0|s)<(0|n));s=54}else s=54}else if(0!=(0|r)&0!=(0|h))if(s=21408+(28*(y=0|jt(t,e))|0)+((0|jt(0|i[(s=l)>>2],0|i[s+4>>2]))<<2)|0,(0|(s=0|i[s>>2]))<=-1&&P(23201,22949,433,23134),s){a=0,n=0|i[(u=l)>>2],u=0|i[u+4>>2];do{n=0|Ft(n,u),u=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=u,a=a+1|0}while((0|a)<(0|s));a=c,s=54}else a=c,s=55;else a=c,s=54}while(0);if(54==(0|s)&&h&&(s=55),55==(0|s)&&1==(0|jt(0|i[(y=l)>>2],0|i[y+4>>2]))){a=4;break}g=0|i[(y=l)>>2],y=-1040385&i[y+4>>2],_=0|Pe(0|a,0,45),y=0|y|w(),i[(a=l)>>2]=g|_,i[a+4>>2]=y,a=0}else a=2}while(0);return D=o,0|a}function ee(t,e){var n=0;if(!(e|=0))return 1;n=t|=0,t=1;do{t=0|y(0==(1&e|0)?1:n,t),e>>=1,n=0|y(n,n)}while(0!=(0|e));return 0|t}function ne(t,e,n){t|=0;var l,o,a,s=0,u=0,c=0,d=0,h=0,p=0,f=0;if(!(0|H(e|=0,n|=0)))return 0;if(e=0|G(e),o=+r[n>>3],s=e&(s=+r[n+8>>3])<0?s+6.283185307179586:s,(0|(a=0|i[t>>2]))<=0)return 0;if(l=0|i[t+4>>2],e){e=0,n=-1,t=0;t:for(;;){for(f=t;p=+r[l+(f<<4)+8>>3],u=+r[l+((t=(n+2|0)%(0|a)|0)<<4)+8>>3],(d=+r[l+(f<<4)>>3])>(c=+r[l+(t<<4)>>3])?(h=d,d=p):(h=c,c=d,d=u,u=p),o<c|o>h;){if(!((0|(n=f+1|0))<(0|a))){n=22;break t}t=f,f=n,n=t}if(s=(d=d<0?d+6.283185307179586:d)==s|(p=u<0?u+6.283185307179586:u)==s?s+-2220446049250313e-31:s,((p+=(o-c)/(h-c)*(d-p))<0?p+6.283185307179586:p)>s&&(e^=1),(0|(t=f+1|0))>=(0|a)){n=22;break}n=f}if(22==(0|n))return 0|e}else{e=0,n=-1,t=0;t:for(;;){for(f=t;p=+r[l+(f<<4)+8>>3],u=+r[l+((t=(n+2|0)%(0|a)|0)<<4)+8>>3],(d=+r[l+(f<<4)>>3])>(c=+r[l+(t<<4)>>3])?(h=d,d=p):(h=c,c=d,d=u,u=p),o<c|o>h;){if(!((0|(n=f+1|0))<(0|a))){n=22;break t}t=f,f=n,n=t}if(u+(o-c)/(h-c)*(d-u)>(s=d==s|u==s?s+-2220446049250313e-31:s)&&(e^=1),(0|(t=f+1|0))>=(0|a)){n=22;break}n=f}if(22==(0|n))return 0|e}return 0}function le(t,e){e|=0;var n,l,o,a,u,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0;if(!(l=0|i[(t|=0)>>2]))return i[e>>2]=0,i[e+4>>2]=0,i[e+8>>2]=0,i[e+12>>2]=0,i[e+16>>2]=0,i[e+20>>2]=0,i[e+24>>2]=0,void(i[e+28>>2]=0);if(r[(o=e+8|0)>>3]=17976931348623157e292,r[(a=e+24|0)>>3]=17976931348623157e292,r[e>>3]=-17976931348623157e292,r[(u=e+16|0)>>3]=-17976931348623157e292,!((0|l)<=0)){for(n=0|i[t+4>>2],g=17976931348623157e292,_=-17976931348623157e292,y=0,t=-1,p=17976931348623157e292,f=17976931348623157e292,m=-17976931348623157e292,d=-17976931348623157e292,A=0;b=+r[n+(A<<4)+8>>3],h=+r[n+(((0|(t=t+2|0))==(0|l)?0:t)<<4)+8>>3],(c=+r[n+(A<<4)>>3])<p&&(r[o>>3]=c,p=c),b<f&&(r[a>>3]=b,f=b),c>m?r[e>>3]=c:c=m,b>d&&(r[u>>3]=b,d=b),g=b>0&b<g?b:g,_=b<0&b>_?b:_,y|=+s(+(b-h))>3.141592653589793,(0|(t=A+1|0))!=(0|l);)v=A,m=c,A=t,t=v;y&&(r[u>>3]=_,r[a>>3]=g)}}function ie(t,e){e|=0;var n,l=0,o=0,a=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,w=0,P=0,x=0,S=0;if(_=0|i[(t|=0)>>2]){if(r[(y=e+8|0)>>3]=17976931348623157e292,r[(A=e+24|0)>>3]=17976931348623157e292,r[e>>3]=-17976931348623157e292,r[(v=e+16|0)>>3]=-17976931348623157e292,(0|_)>0){for(a=0|i[t+4>>2],m=17976931348623157e292,g=-17976931348623157e292,o=0,l=-1,h=17976931348623157e292,p=17976931348623157e292,b=-17976931348623157e292,c=-17976931348623157e292,C=0;f=+r[a+(C<<4)+8>>3],d=+r[a+(((0|(x=l+2|0))==(0|_)?0:x)<<4)+8>>3],(u=+r[a+(C<<4)>>3])<h&&(r[y>>3]=u,h=u),f<p&&(r[A>>3]=f,p=f),u>b?r[e>>3]=u:u=b,f>c&&(r[v>>3]=f,c=f),m=f>0&f<m?f:m,g=f<0&f>g?f:g,o|=+s(+(f-d))>3.141592653589793,(0|(l=C+1|0))!=(0|_);)x=C,b=u,C=l,l=x;o&&(r[v>>3]=g,r[A>>3]=m)}}else i[e>>2]=0,i[e+4>>2]=0,i[e+8>>2]=0,i[e+12>>2]=0,i[e+16>>2]=0,i[e+20>>2]=0,i[e+24>>2]=0,i[e+28>>2]=0;if(!((0|(l=0|i[(x=t+8|0)>>2]))<=0)){n=t+12|0,P=0;do{if(o=P,A=e+((P=P+1|0)<<5)|0,v=0|i[(a=0|i[n>>2])+(o<<3)>>2]){if(r[(C=e+(P<<5)+8|0)>>3]=17976931348623157e292,r[(t=e+(P<<5)+24|0)>>3]=17976931348623157e292,r[A>>3]=-17976931348623157e292,r[(w=e+(P<<5)+16|0)>>3]=-17976931348623157e292,(0|v)>0){for(_=0|i[a+(o<<3)+4>>2],m=17976931348623157e292,g=-17976931348623157e292,a=0,o=-1,y=0,h=17976931348623157e292,p=17976931348623157e292,f=-17976931348623157e292,c=-17976931348623157e292;b=+r[_+(y<<4)+8>>3],d=+r[_+(((0|(o=o+2|0))==(0|v)?0:o)<<4)+8>>3],(u=+r[_+(y<<4)>>3])<h&&(r[C>>3]=u,h=u),b<p&&(r[t>>3]=b,p=b),u>f?r[A>>3]=u:u=f,b>c&&(r[w>>3]=b,c=b),m=b>0&b<m?b:m,g=b<0&b>g?b:g,a|=+s(+(b-d))>3.141592653589793,(0|(o=y+1|0))!=(0|v);)S=y,y=o,f=u,o=S;a&&(r[w>>3]=g,r[t>>3]=m)}}else i[A>>2]=0,i[A+4>>2]=0,i[A+8>>2]=0,i[A+12>>2]=0,i[A+16>>2]=0,i[A+20>>2]=0,i[A+24>>2]=0,i[A+28>>2]=0,l=0|i[x>>2]}while((0|P)<(0|l))}}function re(t,e,n){var l,r=0;if(!(0|ne(t|=0,e|=0,n|=0)))return 0;if((0|i[(l=t+8|0)>>2])<=0)return 1;for(r=t+12|0,t=0;;){if(0|ne((0|i[r>>2])+(t<<3)|0,e+((t=t+1|0)<<5)|0,n)){t=0,r=6;break}if((0|t)>=(0|i[l>>2])){t=1,r=6;break}}return 6==(0|r)?0|t:0}function oe(t,e,n,l,i){var o,a,s,u,c,d,h,p=0;r[(i|=0)>>3]=(u=+r[(t|=0)>>3])+(s=+r[(e|=0)>>3]-u)*(p=((p=+r[(l|=0)>>3]-(d=+r[(n|=0)>>3]))*((a=+r[t+8>>3])-(h=+r[n+8>>3]))-(u-d)*(c=+r[l+8>>3]-h))/(s*c-(o=+r[e+8>>3]-a)*p)),r[i+8>>3]=a+o*p}function ae(t,e){return+r[(t|=0)>>3]!=+r[(e|=0)>>3]?0|(e=0):0|(e=+r[t+8>>3]==+r[e+8>>3])}function se(t,e){var n,l,i;return+((i=+r[(t|=0)>>3]-+r[(e|=0)>>3])*i+(l=+r[t+8>>3]-+r[e+8>>3])*l+(n=+r[t+16>>3]-+r[e+16>>3])*n)}function ue(t,e,n){t|=0,n|=0;var l=0;(0|(e|=0))>0?(l=0|ye(e,4),i[t>>2]=l,l||P(23230,23253,40,23267)):i[t>>2]=0,i[t+4>>2]=e,i[t+8>>2]=0,i[t+12>>2]=n}function ce(t){var e,n,l,o=0,a=0,u=0,d=0;e=4+(t|=0)|0,n=t+12|0,l=t+8|0;t:for(;;){for(a=0|i[e>>2],o=0;;){if((0|o)>=(0|a))break t;if(d=0|i[(u=0|i[t>>2])+(o<<2)>>2])break;o=o+1|0}o=u+(~~(+s(+ +c(10,+ +(15-(0|i[n>>2])|0))*(+r[d>>3]+ +r[d+8>>3]))%+(0|a))>>>0<<2)|0,a=0|i[o>>2];e:do{if(0|a){if(u=d+32|0,(0|a)==(0|d))i[o>>2]=i[u>>2];else{if(!(o=0|i[(a=a+32|0)>>2]))break;for(;(0|o)!=(0|d);)if(!(o=0|i[(a=o+32|0)>>2]))break e;i[a>>2]=i[u>>2]}_e(d),i[l>>2]=(0|i[l>>2])-1}}while(0)}_e(0|i[t>>2])}function de(t){var e,n=0,l=0;for(e=0|i[4+(t|=0)>>2],l=0;;){if((0|l)>=(0|e)){n=0,l=4;break}if(n=0|i[(0|i[t>>2])+(l<<2)>>2]){l=4;break}l=l+1|0}return 4==(0|l)?0|n:0}function he(t,e){e|=0;var n=0,l=0,o=0,a=0;if(n=~~(+s(+ +c(10,+ +(15-(0|i[12+(t|=0)>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,!(l=0|i[(n=(0|i[t>>2])+(n<<2)|0)>>2]))return 1;a=e+32|0;do{if((0|l)!=(0|e)){if(!(n=0|i[l+32>>2]))return 1;for(o=n;;){if((0|o)==(0|e)){o=8;break}if(!(n=0|i[o+32>>2])){n=1,o=10;break}l=o,o=n}if(8==(0|o)){i[l+32>>2]=i[a>>2];break}if(10==(0|o))return 0|n}else i[n>>2]=i[a>>2]}while(0);return _e(e),i[(a=t+8|0)>>2]=(0|i[a>>2])-1,0}function pe(t,e,n){t|=0,e|=0,n|=0;var l,o=0,a=0,u=0;(l=0|ge(40))||P(23283,23253,98,23296),i[l>>2]=i[e>>2],i[l+4>>2]=i[e+4>>2],i[l+8>>2]=i[e+8>>2],i[l+12>>2]=i[e+12>>2],i[(a=l+16|0)>>2]=i[n>>2],i[a+4>>2]=i[n+4>>2],i[a+8>>2]=i[n+8>>2],i[a+12>>2]=i[n+12>>2],i[l+32>>2]=0,a=~~(+s(+ +c(10,+ +(15-(0|i[t+12>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,o=0|i[(a=(0|i[t>>2])+(a<<2)|0)>>2];do{if(o){for(;!(0|kt(o,e)&&0|kt(o+16|0,n));)if(!(0|i[(o=0==(0|(a=0|i[o+32>>2]))?o:a)+32>>2])){u=10;break}if(10==(0|u)){i[o+32>>2]=l;break}return _e(l),0|o}i[a>>2]=l}while(0);return i[(u=t+8|0)>>2]=1+(0|i[u>>2]),0|l}function fe(t,e,n){e|=0,n|=0;var l=0,o=0;if(o=~~(+s(+ +c(10,+ +(15-(0|i[12+(t|=0)>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,!(o=0|i[(0|i[t>>2])+(o<<2)>>2]))return 0;if(!n){for(t=o;;){if(0|kt(t,e)){l=10;break}if(!(t=0|i[t+32>>2])){t=0,l=10;break}}if(10==(0|l))return 0|t}for(t=o;;){if(0|kt(t,e)&&0|kt(t+16|0,n)){l=10;break}if(!(t=0|i[t+32>>2])){t=0,l=10;break}}return 10==(0|l)?0|t:0}function be(t,e){e|=0;var n;if(n=~~(+s(+ +c(10,+ +(15-(0|i[12+(t|=0)>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,!(t=0|i[(0|i[t>>2])+(n<<2)>>2]))return 0;for(;;){if(0|kt(t,e)){e=5;break}if(!(t=0|i[t+32>>2])){t=0,e=5;break}}return 5==(0|e)?0|t:0}function me(t){return 0|~~+function(t){return+ +Oe(+(t=+t))}(t=+t)}function ge(t){t|=0;var e,n=0,l=0,r=0,o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0;e=D,D=D+16|0,f=e;do{if(t>>>0<245){if(3&(l=(p=0|i[5829])>>>(t=(d=t>>>0<11?16:t+11&-8)>>>3))|0)return(0|(a=0|i[(o=8+(r=0|i[(l=8+(t=23356+((n=(1&l^1)+t|0)<<1<<2)|0)|0)>>2])|0)>>2]))==(0|t)?i[5829]=p&~(1<<n):(i[a+12>>2]=t,i[l>>2]=a),i[r+4>>2]=3|(C=n<<3),i[(C=r+C+4|0)>>2]=1|i[C>>2],D=e,0|o;if(d>>>0>(h=0|i[5831])>>>0){if(0|l)return n=((n=l<<t&((n=2<<t)|0-n))&0-n)-1|0,(0|(l=0|i[(u=8+(a=0|i[(t=8+(n=23356+((r=((l=(n>>>=u=n>>>12&16)>>>5&8)|u|(a=(n>>>=l)>>>2&4)|(t=(n>>>=a)>>>1&2)|(r=(n>>>=t)>>>1&1))+(n>>>r)|0)<<1<<2)|0)|0)>>2])|0)>>2]))==(0|n)?i[5829]=t=p&~(1<<r):(i[l+12>>2]=n,i[t>>2]=l,t=p),s=(C=r<<3)-d|0,i[a+4>>2]=3|d,i[4+(o=a+d|0)>>2]=1|s,i[a+C>>2]=s,0|h&&(r=0|i[5834],l=23356+((n=h>>>3)<<1<<2)|0,t&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=r,i[n+12>>2]=r,i[r+8>>2]=n,i[r+12>>2]=l),i[5831]=s,i[5834]=o,D=e,0|u;if(a=0|i[5830]){for(l=(a&0-a)-1|0,l=c=0|i[23620+(((r=(l>>>=o=l>>>12&16)>>>5&8)|o|(s=(l>>>=r)>>>2&4)|(u=(l>>>=s)>>>1&2)|(c=(l>>>=u)>>>1&1))+(l>>>c)<<2)>>2],u=c,c=(-8&i[c+4>>2])-d|0;(t=0|i[l+16>>2])||(t=0|i[l+20>>2]);)l=t,u=(o=(s=(-8&i[t+4>>2])-d|0)>>>0<c>>>0)?t:u,c=o?s:c;if((s=u+d|0)>>>0>u>>>0){o=0|i[u+24>>2],n=0|i[u+12>>2];do{if((0|n)==(0|u)){if(!(n=0|i[(t=u+20|0)>>2])&&!(n=0|i[(t=u+16|0)>>2])){l=0;break}for(;;)if(l=0|i[(r=n+20|0)>>2])n=l,t=r;else{if(!(l=0|i[(r=n+16|0)>>2]))break;n=l,t=r}i[t>>2]=0,l=n}else i[12+(l=0|i[u+8>>2])>>2]=n,i[n+8>>2]=l,l=n}while(0);do{if(0|o){if((0|u)==(0|i[(t=23620+((n=0|i[u+28>>2])<<2)|0)>>2])){if(i[t>>2]=l,!l){i[5830]=a&~(1<<n);break}}else if(i[((0|i[(C=o+16|0)>>2])==(0|u)?C:o+20|0)>>2]=l,!l)break;i[l+24>>2]=o,0|(n=0|i[u+16>>2])&&(i[l+16>>2]=n,i[n+24>>2]=l),0|(n=0|i[u+20>>2])&&(i[l+20>>2]=n,i[n+24>>2]=l)}}while(0);return c>>>0<16?(i[u+4>>2]=3|(C=c+d|0),i[(C=u+C+4|0)>>2]=1|i[C>>2]):(i[u+4>>2]=3|d,i[s+4>>2]=1|c,i[s+c>>2]=c,0|h&&(r=0|i[5834],l=23356+((n=h>>>3)<<1<<2)|0,(n=1<<n)&p?n=0|i[(t=l+8|0)>>2]:(i[5829]=n|p,n=l,t=l+8|0),i[t>>2]=r,i[n+12>>2]=r,i[r+8>>2]=n,i[r+12>>2]=l),i[5831]=c,i[5834]=s),D=e,0|u+8}p=d}else p=d}else p=d}else if(t>>>0<=4294967231)if(d=-8&(t=t+11|0),r=0|i[5830]){o=0-d|0,c=(t>>>=8)?d>>>0>16777215?31:d>>>(7+(c=14-((u=(520192+(g=t<<(p=(t+1048320|0)>>>16&8))|0)>>>16&4)|p|(c=(245760+(g<<=u)|0)>>>16&2))+(g<<c>>>15)|0)|0)&1|c<<1:0,l=0|i[23620+(c<<2)>>2];t:do{if(l)for(t=0,u=d<<(31==(0|c)?0:25-(c>>>1)|0),a=0;;){if((s=(-8&i[l+4>>2])-d|0)>>>0<o>>>0){if(!s){t=l,o=0,g=65;break t}t=l,o=s}if(a=0==(0|(g=0|i[l+20>>2]))|(0|g)==(0|(l=0|i[l+16+(u>>>31<<2)>>2]))?a:g,!l){l=a,g=61;break}u<<=1}else l=0,t=0,g=61}while(0);if(61==(0|g)){if(0==(0|l)&0==(0|t)){if(!(t=((t=2<<c)|0-t)&r)){p=d;break}p=(t&0-t)-1|0,t=0,l=0|i[23620+(((a=(p>>>=s=p>>>12&16)>>>5&8)|s|(u=(p>>>=a)>>>2&4)|(c=(p>>>=u)>>>1&2)|(l=(p>>>=c)>>>1&1))+(p>>>l)<<2)>>2]}l?g=65:(u=t,s=o)}if(65==(0|g))for(a=l;;){if(o=(l=(p=(-8&i[a+4>>2])-d|0)>>>0<o>>>0)?p:o,t=l?a:t,(l=0|i[a+16>>2])||(l=0|i[a+20>>2]),!l){u=t,s=o;break}a=l}if(0!=(0|u)&&s>>>0<((0|i[5831])-d|0)>>>0&&(h=u+d|0)>>>0>u>>>0){a=0|i[u+24>>2],n=0|i[u+12>>2];do{if((0|n)==(0|u)){if(!(n=0|i[(t=u+20|0)>>2])&&!(n=0|i[(t=u+16|0)>>2])){n=0;break}for(;;)if(l=0|i[(o=n+20|0)>>2])n=l,t=o;else{if(!(l=0|i[(o=n+16|0)>>2]))break;n=l,t=o}i[t>>2]=0}else i[12+(C=0|i[u+8>>2])>>2]=n,i[n+8>>2]=C}while(0);do{if(a){if((0|u)==(0|i[(l=23620+((t=0|i[u+28>>2])<<2)|0)>>2])){if(i[l>>2]=n,!n){i[5830]=r&=~(1<<t);break}}else if(i[((0|i[(C=a+16|0)>>2])==(0|u)?C:a+20|0)>>2]=n,!n)break;i[n+24>>2]=a,0|(t=0|i[u+16>>2])&&(i[n+16>>2]=t,i[t+24>>2]=n),(t=0|i[u+20>>2])&&(i[n+20>>2]=t,i[t+24>>2]=n)}}while(0);t:do{if(s>>>0<16)i[u+4>>2]=3|(C=s+d|0),i[(C=u+C+4|0)>>2]=1|i[C>>2];else{if(i[u+4>>2]=3|d,i[h+4>>2]=1|s,i[h+s>>2]=s,n=s>>>3,s>>>0<256){l=23356+(n<<1<<2)|0,(t=0|i[5829])&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=h,i[n+12>>2]=h,i[h+8>>2]=n,i[h+12>>2]=l;break}if(n=23620+((l=(n=s>>>8)?s>>>0>16777215?31:s>>>(7+(l=14-((A=(520192+(C=n<<(v=(n+1048320|0)>>>16&8))|0)>>>16&4)|v|(l=(245760+(C<<=A)|0)>>>16&2))+(C<<l>>>15)|0)|0)&1|l<<1:0)<<2)|0,i[h+28>>2]=l,i[4+(t=h+16|0)>>2]=0,i[t>>2]=0,!(r&(t=1<<l))){i[5830]=r|t,i[n>>2]=h,i[h+24>>2]=n,i[h+12>>2]=h,i[h+8>>2]=h;break}n=0|i[n>>2];e:do{if((-8&i[n+4>>2]|0)!=(0|s)){for(r=s<<(31==(0|l)?0:25-(l>>>1)|0);t=0|i[(l=n+16+(r>>>31<<2)|0)>>2];){if((-8&i[t+4>>2]|0)==(0|s)){n=t;break e}r<<=1,n=t}i[l>>2]=h,i[h+24>>2]=n,i[h+12>>2]=h,i[h+8>>2]=h;break t}}while(0);i[12+(C=0|i[(v=n+8|0)>>2])>>2]=h,i[v>>2]=h,i[h+8>>2]=C,i[h+12>>2]=n,i[h+24>>2]=0}}while(0);return D=e,0|u+8}p=d}else p=d;else p=-1}while(0);if((l=0|i[5831])>>>0>=p>>>0)return t=0|i[5834],(n=l-p|0)>>>0>15?(i[5834]=C=t+p|0,i[5831]=n,i[C+4>>2]=1|n,i[t+l>>2]=n,i[t+4>>2]=3|p):(i[5831]=0,i[5834]=0,i[t+4>>2]=3|l,i[(C=t+l+4|0)>>2]=1|i[C>>2]),D=e,0|t+8;if((s=0|i[5832])>>>0>p>>>0)return i[5832]=A=s-p|0,i[5835]=v=(C=0|i[5835])+p|0,i[v+4>>2]=1|A,i[C+4>>2]=3|p,D=e,0|C+8;if(0|i[5947]?t=0|i[5949]:(i[5949]=4096,i[5948]=4096,i[5950]=-1,i[5951]=-1,i[5952]=0,i[5940]=0,i[5947]=-16&f^1431655768,t=4096),u=p+48|0,(d=(a=t+(c=p+47|0)|0)&(o=0-t|0))>>>0<=p>>>0)return D=e,0;if(0|(t=0|i[5939])&&(f=(h=0|i[5937])+d|0)>>>0<=h>>>0|f>>>0>t>>>0)return D=e,0;t:do{if(4&i[5940])n=0,g=143;else{l=0|i[5835];e:do{if(l){for(r=23764;!((f=0|i[r>>2])>>>0<=l>>>0&&(f+(0|i[r+4>>2])|0)>>>0>l>>>0);){if(!(t=0|i[r+8>>2])){g=128;break e}r=t}if((n=a-s&o)>>>0<2147483647)if((0|(t=0|De(0|n)))==((0|i[r>>2])+(0|i[r+4>>2])|0)){if(-1!=(0|t)){s=n,a=t,g=145;break t}}else r=t,g=136;else n=0}else g=128}while(0);do{if(128==(0|g))if(-1!=(0|(l=0|De(0)))&&(m=(n=(0==((m=(b=0|i[5948])-1|0)&(n=l)|0)?0:(m+n&0-b)-n|0)+d|0)+(b=0|i[5937])|0,n>>>0>p>>>0&n>>>0<2147483647)){if(0|(f=0|i[5939])&&m>>>0<=b>>>0|m>>>0>f>>>0){n=0;break}if((0|(t=0|De(0|n)))==(0|l)){s=n,a=l,g=145;break t}r=t,g=136}else n=0}while(0);do{if(136==(0|g)){if(l=0-n|0,!(u>>>0>n>>>0&n>>>0<2147483647&-1!=(0|r))){if(-1==(0|r)){n=0;break}s=n,a=r,g=145;break t}if((t=c-n+(t=0|i[5949])&0-t)>>>0>=2147483647){s=n,a=r,g=145;break t}if(-1==(0|De(0|t))){De(0|l),n=0;break}s=t+n|0,a=r,g=145;break t}}while(0);i[5940]=4|i[5940],g=143}}while(0);if(143==(0|g)&&d>>>0<2147483647&&!(-1==(0|(A=0|De(0|d)))|1^(y=(_=(m=0|De(0))-A|0)>>>0>(p+40|0)>>>0)|A>>>0<m>>>0&-1!=(0|A)&-1!=(0|m)^1)&&(s=y?_:n,a=A,g=145),145==(0|g)){i[5937]=n=(0|i[5937])+s|0,n>>>0>(0|i[5938])>>>0&&(i[5938]=n),c=0|i[5835];t:do{if(c){for(n=23764;;){if((0|a)==((t=0|i[n>>2])+(l=0|i[n+4>>2])|0)){g=154;break}if(!(r=0|i[n+8>>2]))break;n=r}if(154==(0|g)&&(v=n+4|0,0==(8&i[n+12>>2]|0))&&a>>>0>c>>>0&t>>>0<=c>>>0){i[v>>2]=l+s,v=c+(A=0==(7&(A=c+8|0)|0)?0:0-A&7)|0,A=(C=(0|i[5832])+s|0)-A|0,i[5835]=v,i[5832]=A,i[v+4>>2]=1|A,i[c+C+4>>2]=40,i[5836]=i[5951];break}for(a>>>0<(0|i[5833])>>>0&&(i[5833]=a),l=a+s|0,n=23764;;){if((0|i[n>>2])==(0|l)){g=162;break}if(!(t=0|i[n+8>>2]))break;n=t}if(162==(0|g)&&0==(8&i[n+12>>2]|0)){i[n>>2]=a,i[(h=n+4|0)>>2]=(0|i[h>>2])+s,d=(h=a+(0==(7&(h=a+8|0)|0)?0:0-h&7)|0)+p|0,u=(n=l+(0==(7&(n=l+8|0)|0)?0:0-n&7)|0)-h-p|0,i[h+4>>2]=3|p;e:do{if((0|c)==(0|n))i[5832]=C=(0|i[5832])+u|0,i[5835]=d,i[d+4>>2]=1|C;else{if((0|i[5834])==(0|n)){i[5831]=C=(0|i[5831])+u|0,i[5834]=d,i[d+4>>2]=1|C,i[d+C>>2]=C;break}if(1==(3&(t=0|i[n+4>>2])|0)){s=-8&t,r=t>>>3;n:do{if(t>>>0<256){if((0|(l=0|i[n+12>>2]))==(0|(t=0|i[n+8>>2]))){i[5829]=i[5829]&~(1<<r);break}i[t+12>>2]=l,i[l+8>>2]=t;break}a=0|i[n+24>>2],t=0|i[n+12>>2];do{if((0|t)==(0|n)){if(t=0|i[(r=4+(l=n+16|0)|0)>>2])l=r;else if(!(t=0|i[l>>2])){t=0;break}for(;;)if(r=0|i[(o=t+20|0)>>2])t=r,l=o;else{if(!(r=0|i[(o=t+16|0)>>2]))break;t=r,l=o}i[l>>2]=0}else i[12+(C=0|i[n+8>>2])>>2]=t,i[t+8>>2]=C}while(0);if(!a)break;r=23620+((l=0|i[n+28>>2])<<2)|0;do{if((0|i[r>>2])==(0|n)){if(i[r>>2]=t,0|t)break;i[5830]=i[5830]&~(1<<l);break n}if(i[((0|i[(C=a+16|0)>>2])==(0|n)?C:a+20|0)>>2]=t,!t)break n}while(0);if(i[t+24>>2]=a,0|(r=0|i[(l=n+16|0)>>2])&&(i[t+16>>2]=r,i[r+24>>2]=t),!(l=0|i[l+4>>2]))break;i[t+20>>2]=l,i[l+24>>2]=t}while(0);n=n+s|0,o=s+u|0}else o=u;if(i[(n=n+4|0)>>2]=-2&i[n>>2],i[d+4>>2]=1|o,i[d+o>>2]=o,n=o>>>3,o>>>0<256){l=23356+(n<<1<<2)|0,(t=0|i[5829])&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=d,i[n+12>>2]=d,i[d+8>>2]=n,i[d+12>>2]=l;break}n=o>>>8;do{if(n){if(o>>>0>16777215){r=31;break}r=o>>>(7+(r=14-((A=(520192+(C=n<<(v=(n+1048320|0)>>>16&8))|0)>>>16&4)|v|(r=(245760+(C<<=A)|0)>>>16&2))+(C<<r>>>15)|0)|0)&1|r<<1}else r=0}while(0);if(n=23620+(r<<2)|0,i[d+28>>2]=r,i[4+(t=d+16|0)>>2]=0,i[t>>2]=0,!((t=0|i[5830])&(l=1<<r))){i[5830]=t|l,i[n>>2]=d,i[d+24>>2]=n,i[d+12>>2]=d,i[d+8>>2]=d;break}n=0|i[n>>2];n:do{if((-8&i[n+4>>2]|0)!=(0|o)){for(r=o<<(31==(0|r)?0:25-(r>>>1)|0);t=0|i[(l=n+16+(r>>>31<<2)|0)>>2];){if((-8&i[t+4>>2]|0)==(0|o)){n=t;break n}r<<=1,n=t}i[l>>2]=d,i[d+24>>2]=n,i[d+12>>2]=d,i[d+8>>2]=d;break e}}while(0);i[12+(C=0|i[(v=n+8|0)>>2])>>2]=d,i[v>>2]=d,i[d+8>>2]=C,i[d+12>>2]=n,i[d+24>>2]=0}}while(0);return D=e,0|h+8}for(n=23764;!((t=0|i[n>>2])>>>0<=c>>>0&&(C=t+(0|i[n+4>>2])|0)>>>0>c>>>0);)n=0|i[n+8>>2];n=(t=(t=(o=C+-47|0)+(0==(7&(t=o+8|0)|0)?0:0-t&7)|0)>>>0<(o=c+16|0)>>>0?c:t)+8|0,v=a+(A=0==(7&(A=a+8|0)|0)?0:0-A&7)|0,A=(l=s+-40|0)-A|0,i[5835]=v,i[5832]=A,i[v+4>>2]=1|A,i[a+l+4>>2]=40,i[5836]=i[5951],i[(l=t+4|0)>>2]=27,i[n>>2]=i[5941],i[n+4>>2]=i[5942],i[n+8>>2]=i[5943],i[n+12>>2]=i[5944],i[5941]=a,i[5942]=s,i[5944]=0,i[5943]=n,n=t+24|0;do{v=n,i[(n=n+4|0)>>2]=7}while((v+8|0)>>>0<C>>>0);if((0|t)!=(0|c)){if(a=t-c|0,i[l>>2]=-2&i[l>>2],i[c+4>>2]=1|a,i[t>>2]=a,n=a>>>3,a>>>0<256){l=23356+(n<<1<<2)|0,(t=0|i[5829])&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=c,i[n+12>>2]=c,i[c+8>>2]=n,i[c+12>>2]=l;break}if(l=23620+((r=(n=a>>>8)?a>>>0>16777215?31:a>>>(7+(r=14-((A=(520192+(C=n<<(v=(n+1048320|0)>>>16&8))|0)>>>16&4)|v|(r=(245760+(C<<=A)|0)>>>16&2))+(C<<r>>>15)|0)|0)&1|r<<1:0)<<2)|0,i[c+28>>2]=r,i[c+20>>2]=0,i[o>>2]=0,!((n=0|i[5830])&(t=1<<r))){i[5830]=n|t,i[l>>2]=c,i[c+24>>2]=l,i[c+12>>2]=c,i[c+8>>2]=c;break}n=0|i[l>>2];e:do{if((-8&i[n+4>>2]|0)!=(0|a)){for(r=a<<(31==(0|r)?0:25-(r>>>1)|0);t=0|i[(l=n+16+(r>>>31<<2)|0)>>2];){if((-8&i[t+4>>2]|0)==(0|a)){n=t;break e}r<<=1,n=t}i[l>>2]=c,i[c+24>>2]=n,i[c+12>>2]=c,i[c+8>>2]=c;break t}}while(0);i[12+(C=0|i[(v=n+8|0)>>2])>>2]=c,i[v>>2]=c,i[c+8>>2]=C,i[c+12>>2]=n,i[c+24>>2]=0}}else 0==(0|(C=0|i[5833]))|a>>>0<C>>>0&&(i[5833]=a),i[5941]=a,i[5942]=s,i[5944]=0,i[5838]=i[5947],i[5837]=-1,i[5842]=23356,i[5841]=23356,i[5844]=23364,i[5843]=23364,i[5846]=23372,i[5845]=23372,i[5848]=23380,i[5847]=23380,i[5850]=23388,i[5849]=23388,i[5852]=23396,i[5851]=23396,i[5854]=23404,i[5853]=23404,i[5856]=23412,i[5855]=23412,i[5858]=23420,i[5857]=23420,i[5860]=23428,i[5859]=23428,i[5862]=23436,i[5861]=23436,i[5864]=23444,i[5863]=23444,i[5866]=23452,i[5865]=23452,i[5868]=23460,i[5867]=23460,i[5870]=23468,i[5869]=23468,i[5872]=23476,i[5871]=23476,i[5874]=23484,i[5873]=23484,i[5876]=23492,i[5875]=23492,i[5878]=23500,i[5877]=23500,i[5880]=23508,i[5879]=23508,i[5882]=23516,i[5881]=23516,i[5884]=23524,i[5883]=23524,i[5886]=23532,i[5885]=23532,i[5888]=23540,i[5887]=23540,i[5890]=23548,i[5889]=23548,i[5892]=23556,i[5891]=23556,i[5894]=23564,i[5893]=23564,i[5896]=23572,i[5895]=23572,i[5898]=23580,i[5897]=23580,i[5900]=23588,i[5899]=23588,i[5902]=23596,i[5901]=23596,i[5904]=23604,i[5903]=23604,v=a+(A=0==(7&(A=a+8|0)|0)?0:0-A&7)|0,A=(C=s+-40|0)-A|0,i[5835]=v,i[5832]=A,i[v+4>>2]=1|A,i[a+C+4>>2]=40,i[5836]=i[5951]}while(0);if((n=0|i[5832])>>>0>p>>>0)return i[5832]=A=n-p|0,i[5835]=v=(C=0|i[5835])+p|0,i[v+4>>2]=1|A,i[C+4>>2]=3|p,D=e,0|C+8}return i[(C=23312)>>2]=12,D=e,0}function _e(t){var e=0,n=0,l=0,r=0,o=0,a=0,s=0,u=0;if(t|=0){r=0|i[5833],u=(n=t+-8|0)+(e=-8&(t=0|i[t+-4>>2]))|0;do{if(1&t)s=n,a=n;else{if(!(3&t))return;if(o=(l=0|i[n>>2])+e|0,(a=n+(0-l)|0)>>>0<r>>>0)return;if((0|i[5834])==(0|a)){if(3!=(3&(e=0|i[(t=u+4|0)>>2])|0)){s=a,e=o;break}return i[5831]=o,i[t>>2]=-2&e,i[a+4>>2]=1|o,void(i[a+o>>2]=o)}if(n=l>>>3,l>>>0<256){if((0|(e=0|i[a+12>>2]))==(0|(t=0|i[a+8>>2]))){i[5829]=i[5829]&~(1<<n),s=a,e=o;break}i[t+12>>2]=e,i[e+8>>2]=t,s=a,e=o;break}r=0|i[a+24>>2],t=0|i[a+12>>2];do{if((0|t)==(0|a)){if(t=0|i[(n=4+(e=a+16|0)|0)>>2])e=n;else if(!(t=0|i[e>>2])){t=0;break}for(;;)if(n=0|i[(l=t+20|0)>>2])t=n,e=l;else{if(!(n=0|i[(l=t+16|0)>>2]))break;t=n,e=l}i[e>>2]=0}else i[12+(s=0|i[a+8>>2])>>2]=t,i[t+8>>2]=s}while(0);if(r){if((0|i[(n=23620+((e=0|i[a+28>>2])<<2)|0)>>2])==(0|a)){if(i[n>>2]=t,!t){i[5830]=i[5830]&~(1<<e),s=a,e=o;break}}else if(i[((0|i[(s=r+16|0)>>2])==(0|a)?s:r+20|0)>>2]=t,!t){s=a,e=o;break}i[t+24>>2]=r,0|(n=0|i[(e=a+16|0)>>2])&&(i[t+16>>2]=n,i[n+24>>2]=t),(e=0|i[e+4>>2])?(i[t+20>>2]=e,i[e+24>>2]=t,s=a,e=o):(s=a,e=o)}else s=a,e=o}}while(0);if(!(a>>>0>=u>>>0)&&1&(l=0|i[(t=u+4|0)>>2])){if(2&l)i[t>>2]=-2&l,i[s+4>>2]=1|e,i[a+e>>2]=e,r=e;else{if((0|i[5835])==(0|u)){if(i[5832]=u=(0|i[5832])+e|0,i[5835]=s,i[s+4>>2]=1|u,(0|s)!=(0|i[5834]))return;return i[5834]=0,void(i[5831]=0)}if((0|i[5834])==(0|u))return i[5831]=u=(0|i[5831])+e|0,i[5834]=a,i[s+4>>2]=1|u,void(i[a+u>>2]=u);r=(-8&l)+e|0,n=l>>>3;do{if(l>>>0<256){if((0|(t=0|i[u+12>>2]))==(0|(e=0|i[u+8>>2]))){i[5829]=i[5829]&~(1<<n);break}i[e+12>>2]=t,i[t+8>>2]=e;break}o=0|i[u+24>>2],t=0|i[u+12>>2];do{if((0|t)==(0|u)){if(t=0|i[(n=4+(e=u+16|0)|0)>>2])e=n;else if(!(t=0|i[e>>2])){n=0;break}for(;;)if(n=0|i[(l=t+20|0)>>2])t=n,e=l;else{if(!(n=0|i[(l=t+16|0)>>2]))break;t=n,e=l}i[e>>2]=0,n=t}else i[12+(n=0|i[u+8>>2])>>2]=t,i[t+8>>2]=n,n=t}while(0);if(0|o){if((0|i[(e=23620+((t=0|i[u+28>>2])<<2)|0)>>2])==(0|u)){if(i[e>>2]=n,!n){i[5830]=i[5830]&~(1<<t);break}}else if(i[((0|i[(l=o+16|0)>>2])==(0|u)?l:o+20|0)>>2]=n,!n)break;i[n+24>>2]=o,0|(e=0|i[(t=u+16|0)>>2])&&(i[n+16>>2]=e,i[e+24>>2]=n),0|(t=0|i[t+4>>2])&&(i[n+20>>2]=t,i[t+24>>2]=n)}}while(0);if(i[s+4>>2]=1|r,i[a+r>>2]=r,(0|s)==(0|i[5834]))return void(i[5831]=r)}if(t=r>>>3,r>>>0<256)return n=23356+(t<<1<<2)|0,(e=0|i[5829])&(t=1<<t)?t=0|i[(e=n+8|0)>>2]:(i[5829]=e|t,t=n,e=n+8|0),i[e>>2]=s,i[t+12>>2]=s,i[s+8>>2]=t,void(i[s+12>>2]=n);t=23620+((l=(t=r>>>8)?r>>>0>16777215?31:r>>>(7+(l=14-((o=(520192+(u=t<<(a=(t+1048320|0)>>>16&8))|0)>>>16&4)|a|(l=(245760+(u<<=o)|0)>>>16&2))+(u<<l>>>15)|0)|0)&1|l<<1:0)<<2)|0,i[s+28>>2]=l,i[s+20>>2]=0,i[s+16>>2]=0,e=0|i[5830],n=1<<l;t:do{if(e&n){t=0|i[t>>2];e:do{if((-8&i[t+4>>2]|0)!=(0|r)){for(l=r<<(31==(0|l)?0:25-(l>>>1)|0);e=0|i[(n=t+16+(l>>>31<<2)|0)>>2];){if((-8&i[e+4>>2]|0)==(0|r)){t=e;break e}l<<=1,t=e}i[n>>2]=s,i[s+24>>2]=t,i[s+12>>2]=s,i[s+8>>2]=s;break t}}while(0);i[12+(u=0|i[(a=t+8|0)>>2])>>2]=s,i[a>>2]=s,i[s+8>>2]=u,i[s+12>>2]=t,i[s+24>>2]=0}else i[5830]=e|n,i[t>>2]=s,i[s+24>>2]=t,i[s+12>>2]=s,i[s+8>>2]=s}while(0);if(i[5837]=u=(0|i[5837])-1|0,!(0|u)){for(t=23772;t=0|i[t>>2];)t=t+8|0;i[5837]=-1}}}}function ye(t,e){e|=0;var n=0;return(t|=0)?(n=0|y(e,t),(e|t)>>>0>65535&&(n=(0|(n>>>0)/(t>>>0))==(0|e)?n:-1)):n=0,(t=0|ge(n))&&3&i[t+-4>>2]?(Me(0|t,0,0|n),0|t):0|t}function Ae(t,e,n,l){return 0|(C(0|(l=(e|=0)-(l|=0)-((n|=0)>>>0>(t|=0)>>>0|0)>>>0)),t-n>>>0|0)}function ve(t){return 0|((t|=0)?31-(0|v(t^t-1))|0:32)}function Ce(t,e,n,l){var r,o;return o=D,D=D+16|0,function(t,e,n,l,r){r|=0;var o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0;if(d=t|=0,a=n|=0,s=p=l|=0,!(c=u=e|=0))return o=0!=(0|r),s?o?(i[r>>2]=0|t,i[r+4>>2]=0&e,r=0,0|(C(0|(p=0)),r)):(r=0,0|(C(0|(p=0)),r)):(o&&(i[r>>2]=(d>>>0)%(a>>>0),i[r+4>>2]=0),r=(d>>>0)/(a>>>0)>>>0,0|(C(0|(p=0)),r));o=0==(0|s);do{if(a){if(!o){if((o=(0|v(0|s))-(0|v(0|c))|0)>>>0<=31){a=h=o+1|0,t=d>>>(h>>>0)&(e=o-31>>31)|c<<(s=31-o|0),e&=c>>>(h>>>0),o=0,s=d<<s;break}return r?(i[r>>2]=0|t,i[r+4>>2]=u|0&e,r=0,0|(C(0|(p=0)),r)):(r=0,0|(C(0|(p=0)),r))}if((o=a-1|0)&a|0){a=s=33+(0|v(0|a))-(0|v(0|c))|0,t=(h=32-s|0)-1>>31&c>>>((f=s-32|0)>>>0)|(c<<h|d>>>(s>>>0))&(e=f>>31),e&=c>>>(s>>>0),o=d<<(b=64-s|0)&(u=h>>31),s=(c<<b|d>>>(f>>>0))&u|d<<h&s-33>>31;break}return 0|r&&(i[r>>2]=o&d,i[r+4>>2]=0),1==(0|a)?(b=0|t,0|(C(0|(f=u|0&e)),b)):(f=c>>>((b=0|ve(0|a))>>>0)|0,b=c<<32-b|d>>>(b>>>0)|0,0|(C(0|f),b))}if(o)return 0|r&&(i[r>>2]=(c>>>0)%(a>>>0),i[r+4>>2]=0),b=(c>>>0)/(a>>>0)>>>0,0|(C(0|(f=0)),b);if(!d)return 0|r&&(i[r>>2]=0,i[r+4>>2]=(c>>>0)%(s>>>0)),b=(c>>>0)/(s>>>0)>>>0,0|(C(0|(f=0)),b);if(!((o=s-1|0)&s))return 0|r&&(i[r>>2]=0|t,i[r+4>>2]=o&c|0&e),f=0,b=c>>>((0|ve(0|s))>>>0),0|(C(0|f),b);if((o=(0|v(0|s))-(0|v(0|c))|0)>>>0<=30){a=e=o+1|0,t=c<<(s=31-o|0)|d>>>(e>>>0),e=c>>>(e>>>0),o=0,s=d<<s;break}return r?(i[r>>2]=0|t,i[r+4>>2]=u|0&e,b=0,0|(C(0|(f=0)),b)):(b=0,0|(C(0|(f=0)),b))}while(0);if(a){c=0|function(t,e,n,l){return 0|(C((e|=0)+(l|=0)+((n=(t|=0)+(n|=0)>>>0)>>>0<t>>>0|0)>>>0|0),0|n)}(0|(h=0|n),0|(d=p|0&l),-1,-1),n=0|w(),u=s,s=0;do{l=u,u=o>>>31|u<<1,o=s|o<<1,Ae(0|c,0|n,0|(l=t<<1|l>>>31|0),0|(p=t>>>31|e<<1|0)),s=1&(f=(b=0|w())>>31|((0|b)<0?-1:0)<<1),t=0|Ae(0|l,0|p,f&h|0,(((0|b)<0?-1:0)>>31|((0|b)<0?-1:0)<<1)&d|0),e=0|w(),a=a-1|0}while(0!=(0|a));c=u,u=0}else c=s,u=0,s=0;a=0,0|r&&(i[r>>2]=t,i[r+4>>2]=e),b=-2&(o<<1|0)|s,C(0|(f=(0|o)>>>31|(c|a)<<1|0&(a<<1|o>>>31)|u))}(t|=0,e|=0,n|=0,l|=0,r=0|o),D=o,0|(C(0|i[r+4>>2]),0|i[r>>2])}function we(t,e,n){return t|=0,e|=0,(0|(n|=0))<32?(C(e>>>n|0),t>>>n|(e&(1<<n)-1)<<32-n):(C(0),e>>>n-32|0)}function Pe(t,e,n){return t|=0,(0|(n|=0))<32?(C((e|=0)<<n|(t&(1<<n)-1<<32-n)>>>32-n|0),t<<n):(C(t<<n-32|0),0)}function xe(t,e){return e=+e,(t=+t)!=t?+e:e!=e?+t:+A(+t,+e)}function Se(t){return(t=+t)>=0?+a(t+.5):+_(t-.5)}function ke(t,e,n){t|=0,e|=0;var r,o,a=0;if((0|(n|=0))>=8192)return k(0|t,0|e,0|n),0|t;if(o=0|t,r=t+n|0,(3&t)==(3&e)){for(;3&t;){if(!n)return 0|o;l[t>>0]=0|l[e>>0],t=t+1|0,e=e+1|0,n=n-1|0}for(a=(n=-4&r|0)-64|0;(0|t)<=(0|a);)i[t>>2]=i[e>>2],i[t+4>>2]=i[e+4>>2],i[t+8>>2]=i[e+8>>2],i[t+12>>2]=i[e+12>>2],i[t+16>>2]=i[e+16>>2],i[t+20>>2]=i[e+20>>2],i[t+24>>2]=i[e+24>>2],i[t+28>>2]=i[e+28>>2],i[t+32>>2]=i[e+32>>2],i[t+36>>2]=i[e+36>>2],i[t+40>>2]=i[e+40>>2],i[t+44>>2]=i[e+44>>2],i[t+48>>2]=i[e+48>>2],i[t+52>>2]=i[e+52>>2],i[t+56>>2]=i[e+56>>2],i[t+60>>2]=i[e+60>>2],t=t+64|0,e=e+64|0;for(;(0|t)<(0|n);)i[t>>2]=i[e>>2],t=t+4|0,e=e+4|0}else for(n=r-4|0;(0|t)<(0|n);)l[t>>0]=0|l[e>>0],l[t+1>>0]=0|l[e+1>>0],l[t+2>>0]=0|l[e+2>>0],l[t+3>>0]=0|l[e+3>>0],t=t+4|0,e=e+4|0;for(;(0|t)<(0|r);)l[t>>0]=0|l[e>>0],t=t+1|0,e=e+1|0;return 0|o}function Me(t,e,n){e|=0;var r,o=0,a=0,s=0;if(r=(t|=0)+(n|=0)|0,e&=255,(0|n)>=67){for(;3&t;)l[t>>0]=e,t=t+1|0;for(s=e|e<<8|e<<16|e<<24,a=(o=-4&r|0)-64|0;(0|t)<=(0|a);)i[t>>2]=s,i[t+4>>2]=s,i[t+8>>2]=s,i[t+12>>2]=s,i[t+16>>2]=s,i[t+20>>2]=s,i[t+24>>2]=s,i[t+28>>2]=s,i[t+32>>2]=s,i[t+36>>2]=s,i[t+40>>2]=s,i[t+44>>2]=s,i[t+48>>2]=s,i[t+52>>2]=s,i[t+56>>2]=s,i[t+60>>2]=s,t=t+64|0;for(;(0|t)<(0|o);)i[t>>2]=s,t=t+4|0}for(;(0|t)<(0|r);)l[t>>0]=e,t=t+1|0;return r-n|0}function Oe(t){return(t=+t)>=0?+a(t+.5):+_(t-.5)}function De(t){var e,n,l;return t|=0,l=0|S(),(0|t)>0&(0|(e=(n=0|i[o>>2])+t|0))<(0|n)|(0|e)<0?(O(0|e),x(12),-1):(0|e)>(0|l)&&!(0|M(0|e))?(x(12),-1):(i[o>>2]=e,0|n)}return{___uremdi3:Ce,_bitshift64Lshr:we,_bitshift64Shl:Pe,_calloc:ye,_cellAreaKm2:function(t,e){var n,l,r,o=0;if(r=D,D=D+192|0,l=r,Ht(t|=0,e|=0,n=r+168|0),Vt(t,e,l),(0|(e=0|i[l>>2]))>0){if(o=+Ot(l+8|0,l+8+((1!=(0|e)&1)<<4)|0,n)+0,1!=(0|e)){t=1;do{o+=+Ot(l+8+(t<<4)|0,l+8+(((0|(t=t+1|0))%(0|e)|0)<<4)|0,n)}while((0|t)<(0|e))}}else o=0;return D=r,6371.007180918475*o*6371.007180918475},_cellAreaM2:function(t,e){var n,l,r,o=0;if(r=D,D=D+192|0,l=r,Ht(t|=0,e|=0,n=r+168|0),Vt(t,e,l),(0|(e=0|i[l>>2]))>0){if(o=+Ot(l+8|0,l+8+((1!=(0|e)&1)<<4)|0,n)+0,1!=(0|e)){t=1;do{o+=+Ot(l+8+(t<<4)|0,l+8+(((0|(t=t+1|0))%(0|e)|0)<<4)|0,n)}while((0|t)<(0|e))}}else o=0;return D=r,6371.007180918475*o*6371.007180918475*1e3*1e3},_cellAreaRads2:function(t,e){var n,l,r,o=0;if(r=D,D=D+192|0,l=r,Ht(t|=0,e|=0,n=r+168|0),Vt(t,e,l),(0|(e=0|i[l>>2]))<=0)return D=r,+(o=0);if(o=+Ot(l+8|0,l+8+((1!=(0|e)&1)<<4)|0,n)+0,1==(0|e))return D=r,+o;t=1;do{o+=+Ot(l+8+(t<<4)|0,l+8+(((0|(t=t+1|0))%(0|e)|0)<<4)|0,n)}while((0|t)<(0|e));return D=r,+o},_compact:function(t,e,n){e|=0;var l,r=0,o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,P=0,x=0,S=0;if(!(n|=0))return 0;if(r=0|i[(o=t|=0)>>2],!0&0==(15728640&(o=0|i[o+4>>2])|0)){if((0|n)<=0)return 0;if(i[(x=e)>>2]=r,i[x+4>>2]=o,1==(0|n))return 0;r=1;do{P=0|i[4+(C=t+(r<<3)|0)>>2],i[(x=e+(r<<3)|0)>>2]=i[C>>2],i[x+4>>2]=P,r=r+1|0}while((0|r)!=(0|n));return 0}if(!(P=0|ge(C=n<<3)))return-3;if(ke(0|P,0|t,0|C),!(l=0|ye(n,8)))return _e(P),-3;r=n;t:for(;;){A=0|we(0|(h=0|i[(s=P)>>2]),0|(s=0|i[s+4>>2]),52),w(),v=(A&=15)-1|0,y=(0|r)>0;e:do{if(y){if(_=((0|r)<0)<<31>>31,m=0|Pe(0|v,0,52),g=0|w(),v>>>0>15)for(o=0,t=h,n=s;;){if(!(0==(0|t)&0==(0|n))){if(a=0|we(0|t,0|n,52),w(),u=(0|(a&=15))<(0|v),a=(0|a)==(0|v),n=0|Ce(0|(d=u?0:a?t:0),0|(t=u?0:a?n:0),0|r,0|_),w(),0==(0|(c=0|i[(u=a=l+(n<<3)|0)>>2]))&0==(0|(u=0|i[u+4>>2])))n=d;else for(m=0,b=n,f=u,n=d;;){if((0|m)>(0|r)){x=41;break t}if((0|c)==(0|n)&(-117440513&f|0)==(0|t)){d=0|we(0|c,0|f,56),w(),p=1+(d&=7)|0,g=0|we(0|c,0|f,45),w();n:do{if(0|R(127&g)){if(c=0|we(0|c,0|f,52),w(),!(c&=15)){u=6;break}for(u=1;;){if(!(0==((g=0|Pe(7,0,3*(15-u|0)|0))&n|0)&0==((0|w())&t|0))){u=7;break n}if(!(u>>>0<c>>>0)){u=6;break}u=u+1|0}}else u=7}while(0);if((d+2|0)>>>0>u>>>0){x=51;break t}g=0|Pe(0|p,0,56),t=0|w()|-117440513&t,i[(u=a)>>2]=0,i[u+4>>2]=0,u=b,n|=g}else u=(b+1|0)%(0|r)|0;if(0==(0|(c=0|i[(f=a=l+(u<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2])))break;m=m+1|0,b=u}i[(g=a)>>2]=n,i[g+4>>2]=t}if((0|(o=o+1|0))>=(0|r))break e;t=0|i[(n=P+(o<<3)|0)>>2],n=0|i[n+4>>2]}for(o=0,t=h,n=s;;){if(!(0==(0|t)&0==(0|n))){if(u=0|we(0|t,0|n,52),w(),(0|(u&=15))>=(0|v)){if((0|u)!=(0|v)&&(t|=m,n=-15728641&n|g,u>>>0>=A>>>0)){a=v;do{b=0|Pe(7,0,3*(14-a|0)|0),a=a+1|0,t|=b,n=0|w()|n}while(a>>>0<u>>>0)}}else t=0,n=0;if(u=0|Ce(0|t,0|n,0|r,0|_),w(),!(0==(0|(d=0|i[(c=a=l+(u<<3)|0)>>2]))&0==(0|(c=0|i[c+4>>2]))))for(b=0;;){if((0|b)>(0|r)){x=41;break t}if((0|d)==(0|t)&(-117440513&c|0)==(0|n)){p=0|we(0|d,0|c,56),w(),f=1+(p&=7)|0,S=0|we(0|d,0|c,45),w();n:do{if(0|R(127&S)){if(d=0|we(0|d,0|c,52),w(),!(d&=15)){c=6;break}for(c=1;;){if(!(0==((S=0|Pe(7,0,3*(15-c|0)|0))&t|0)&0==((0|w())&n|0))){c=7;break n}if(!(c>>>0<d>>>0)){c=6;break}c=c+1|0}}else c=7}while(0);if((p+2|0)>>>0>c>>>0){x=51;break t}S=0|Pe(0|f,0,56),n=0|w()|-117440513&n,i[(f=a)>>2]=0,i[f+4>>2]=0,t|=S}else u=(u+1|0)%(0|r)|0;if(0==(0|(d=0|i[(c=a=l+(u<<3)|0)>>2]))&0==(0|(c=0|i[c+4>>2])))break;b=b+1|0}i[(S=a)>>2]=t,i[S+4>>2]=n}if((0|(o=o+1|0))>=(0|r))break e;t=0|i[(n=P+(o<<3)|0)>>2],n=0|i[n+4>>2]}}}while(0);if((r+5|0)>>>0<11){x=99;break}if(!(g=0|ye((0|r)/6|0,8))){x=58;break}e:do{if(y){b=0,f=0;do{if(!(0==(0|(o=0|i[(t=u=l+(b<<3)|0)>>2]))&0==(0|(t=0|i[t+4>>2])))){c=0|we(0|o,0|t,56),w(),n=1+(c&=7)|0,d=-117440513&t,S=0|we(0|o,0|t,45),w();n:do{if(0|R(127&S)){if(p=0|we(0|o,0|t,52),w(),0|(p&=15))for(a=1;;){if(!(0==(o&(S=0|Pe(7,0,3*(15-a|0)|0))|0)&0==(d&(0|w())|0)))break n;if(!(a>>>0

>>0))break;a=a+1|0}o|=t=0|Pe(0|n,0,56),t=0|w()|d,i[(n=u)>>2]=o,i[n+4>>2]=t,n=c+2|0}}while(0);7==(0|n)&&(i[(S=g+(f<<3)|0)>>2]=o,i[S+4>>2]=-117440513&t,f=f+1|0)}b=b+1|0}while((0|b)!=(0|r));if(y){if(m=((0|r)<0)<<31>>31,p=0|Pe(0|v,0,52),b=0|w(),v>>>0>15)for(t=0,o=0;;){do{if(!(0==(0|h)&0==(0|s))){for(c=0|we(0|h,0|s,52),w(),a=(0|(c&=15))<(0|v),c=(0|c)==(0|v),a=0|Ce(0|(u=a?0:c?h:0),0|(c=a?0:c?s:0),0|r,0|m),w(),n=0;;){if((0|n)>(0|r)){x=98;break t}if((-117440513&(d=0|i[4+(S=l+(a<<3)|0)>>2])|0)==(0|c)&&(0|i[S>>2])==(0|u)){x=70;break}if((0|i[(S=l+((a=(a+1|0)%(0|r)|0)<<3)|0)>>2])==(0|u)&&(0|i[S+4>>2])==(0|c))break;n=n+1|0}if(70==(0|x)&&(x=0,!0&100663296==(117440512&d|0)))break;i[(S=e+(o<<3)|0)>>2]=h,i[S+4>>2]=s,o=o+1|0}}while(0);if((0|(t=t+1|0))>=(0|r)){r=f;break e}h=0|i[(s=P+(t<<3)|0)>>2],s=0|i[s+4>>2]}for(t=0,o=0;;){do{if(!(0==(0|h)&0==(0|s))){if(c=0|we(0|h,0|s,52),w(),(0|(c&=15))>=(0|v))if((0|c)!=(0|v))if(n=h|p,a=-15728641&s|b,c>>>0<A>>>0)c=a;else{u=v;do{S=0|Pe(7,0,3*(14-u|0)|0),u=u+1|0,n|=S,a=0|w()|a}while(u>>>0<c>>>0);c=a}else n=h,c=s;else n=0,c=0;for(u=0|Ce(0|n,0|c,0|r,0|m),w(),a=0;;){if((0|a)>(0|r)){x=98;break t}if((-117440513&(d=0|i[4+(S=l+(u<<3)|0)>>2])|0)==(0|c)&&(0|i[S>>2])==(0|n)){x=93;break}if((0|i[(S=l+((u=(u+1|0)%(0|r)|0)<<3)|0)>>2])==(0|n)&&(0|i[S+4>>2])==(0|c))break;a=a+1|0}if(93==(0|x)&&(x=0,!0&100663296==(117440512&d|0)))break;i[(S=e+(o<<3)|0)>>2]=h,i[S+4>>2]=s,o=o+1|0}}while(0);if((0|(t=t+1|0))>=(0|r)){r=f;break e}h=0|i[(s=P+(t<<3)|0)>>2],s=0|i[s+4>>2]}}else o=0,r=f}else o=0,r=0}while(0);if(Me(0|l,0,0|C),ke(0|P,0|g,r<<3|0),_e(g),!r)break;e=e+(o<<3)|0}return 41==(0|x)?(_e(P),_e(l),0|(S=-1)):51==(0|x)?(_e(P),_e(l),0|(S=-2)):58==(0|x)?(_e(P),_e(l),0|(S=-3)):98==(0|x)?(_e(g),_e(P),_e(l),0|(S=-1)):(99==(0|x)&&ke(0|e,0|P,r<<3|0),_e(P),_e(l),0|(S=0))},_destroyLinkedPolygon:function(t){var e=0,n=0,l=0,r=0;if(t|=0)for(l=1;;){if(0|(e=0|i[t>>2]))do{if(0|(n=0|i[e>>2]))do{r=n,n=0|i[n+16>>2],_e(r)}while(0!=(0|n));r=e,e=0|i[e+8>>2],_e(r)}while(0!=(0|e));if(e=t,t=0|i[t+8>>2],l||_e(e),!t)break;l=0}},_edgeLengthKm:function(t){return+ +r[20752+((t|=0)<<3)>>3]},_edgeLengthM:function(t){return+ +r[20880+((t|=0)<<3)>>3]},_emscripten_replace_memory:function(t){return l=new Int8Array(t),new Uint8Array(t),i=new Int32Array(t),new Float32Array(t),r=new Float64Array(t),n=t,!0},_exactEdgeLengthKm:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+p)*+d(+a)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)!=(0|e));return D=l,+(f=6371.007180918475*o)},_exactEdgeLengthM:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+p)*+d(+a)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)!=(0|e));return D=l,+(f=6371.007180918475*o*1e3)},_exactEdgeLengthRads:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+a)*+d(+p)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)<(0|e));return D=l,+o},_experimentalH3ToLocalIj:function(t,e,n,l,i){var r,o;return i|=0,o=D,D=D+16|0,(t=0|Zt(t|=0,e|=0,n|=0,l|=0,r=o))||(pt(r,i),t=0),D=o,0|t},_experimentalLocalIjToH3:function(t,e,n,l){var i,r;return t|=0,e|=0,l|=0,i=D,D=D+16|0,ft(n|=0,r=i),l=0|te(t,e,r,l),D=i,0|l},_free:_e,_geoToH3:Bt,_getDestinationH3IndexFromUnidirectionalEdge:function(t,e){t|=0;var n,l,r=0;return n=D,D=D+16|0,r=n,!0&268435456==(2013265920&(e|=0)|0)?(l=0|we(0|t,0|e,56),w(),i[r>>2]=0,r=0|L(t,-2130706433&e|134217728,7&l,r),e=0|w(),C(0|e),D=n,0|r):(r=0,C(0|(e=0)),D=n,0|r)},_getH3IndexesFromUnidirectionalEdge:function(t,e,n){t|=0;var l,r,o,a,s=0;o=D,D=D+16|0,l=o,r=-2130706433&(e|=0)|134217728,i[(s=n|=0)>>2]=(a=!0&268435456==(2013265920&e|0))?t:0,i[s+4>>2]=a?r:0,a?(e=0|we(0|t,0|e,56),w(),i[l>>2]=0,t=0|L(t,r,7&e,l),e=0|w()):(t=0,e=0),i[(s=n+8|0)>>2]=t,i[s+4>>2]=e,D=o},_getH3UnidirectionalEdge:function(t,e,n,l){var r,o,a=0,s=0,u=0,c=0,d=0;if(o=D,D=D+16|0,r=o,!(0|Wt(t|=0,e|=0,n|=0,l|=0)))return c=0,C(0|(u=0)),D=o,0|c;for(u=-2130706433&e,a=(a=0==(0|Lt(t,e)))?1:2;i[r>>2]=0,s=a+1|0,!((0|(d=0|L(t,e,a,r)))==(0|n)&(0|w())==(0|l));){if(!(s>>>0<7)){a=0,t=0,c=6;break}a=s}return 6==(0|c)?(C(0|a),D=o,0|t):(d=0|Pe(0|a,0,56),c=0|u|w()|268435456,d|=t,C(0|c),D=o,0|d)},_getH3UnidirectionalEdgeBoundary:$t,_getH3UnidirectionalEdgesFromHexagon:function(t,e,n){n|=0;var l,r=0;l=0==(0|Lt(t|=0,e|=0)),e&=-2130706433,i[(r=n)>>2]=l?t:0,i[r+4>>2]=l?285212672|e:0,i[(r=n+8|0)>>2]=t,i[r+4>>2]=301989888|e,i[(r=n+16|0)>>2]=t,i[r+4>>2]=318767104|e,i[(r=n+24|0)>>2]=t,i[r+4>>2]=335544320|e,i[(r=n+32|0)>>2]=t,i[r+4>>2]=352321536|e,i[(n=n+40|0)>>2]=t,i[n+4>>2]=369098752|e},_getOriginH3IndexFromUnidirectionalEdge:function(t,e){var n;return t|=0,C(0|((n=!0&268435456==(2013265920&(e|=0)|0))?-2130706433&e|134217728:0)),0|(n?t:0)},_getPentagonIndexes:qt,_getRes0Indexes:function(t){t|=0;var e=0,n=0,l=0;e=0;do{Pe(0|e,0,45),l=134225919|w(),i[(n=t+(e<<3)|0)>>2]=-1,i[n+4>>2]=l,e=e+1|0}while(122!=(0|e))},_h3Distance:function(t,e,n,l){var i,r,o;return n|=0,l|=0,o=D,D=D+32|0,r=o,t=0==(0|Zt(t|=0,e|=0,t,e,i=o+12|0))&&0==(0|Zt(t,e,n,l,r))?0|ht(i,r):-1,D=o,0|t},_h3GetBaseCell:Dt,_h3GetFaces:function t(e,n,l){l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0;r=D,D=D+128|0,h=r+112|0,s=r+96|0,p=r,a=0|we(0|(e|=0),0|(n|=0),52),w(),i[h>>2]=c=15&a,u=0|we(0|e,0|n,45),w(),u&=127;t:do{if(0|R(u)){if(0|c)for(o=1;;){if(!(0==((d=0|Pe(7,0,3*(15-o|0)|0))&e|0)&0==((0|w())&n|0))){a=0;break t}if(!(o>>>0<c>>>0))break;o=o+1|0}if(!(1&a))return d=0|Pe(c+1|0,0,52),p=0|w()|-15728641&n,t((d|e)&~(h=0|Pe(7,0,3*(14-c|0)|0)),p&~(0|w()),l),void(D=r);a=1}else a=0}while(0);Gt(e,n,s),a?(vt(s,h,p),d=5):(xt(s,h,p),d=6);t:do{if(0|R(u))if(c)for(o=1;;){if(!(0==((u=0|Pe(7,0,3*(15-o|0)|0))&e|0)&0==((0|w())&n|0))){o=8;break t}if(!(o>>>0<c>>>0)){o=20;break}o=o+1|0}else o=20;else o=8}while(0);if(Me(0|l,-1,0|o),a){a=0;do{for(wt(s=p+(a<<4)|0,0|i[h>>2]),s=0|i[s>>2],o=0;!(-1==(0|(c=0|i[(u=l+(o<<2)|0)>>2]))|(0|c)==(0|s));)o=o+1|0;i[u>>2]=s,a=a+1|0}while((0|a)!=(0|d))}else{a=0;do{for(Ct(s=p+(a<<4)|0,0|i[h>>2],0,1),s=0|i[s>>2],o=0;!(-1==(0|(c=0|i[(u=l+(o<<2)|0)>>2]))|(0|c)==(0|s));)o=o+1|0;i[u>>2]=s,a=a+1|0}while((0|a)!=(0|d))}D=r},_h3IndexesAreNeighbors:Wt,_h3IsPentagon:Lt,_h3IsResClassIII:function(t,e){return e=0|we(0|(t|=0),0|(e|=0),52),w(),1&e|0},_h3IsValid:Tt,_h3Line:function(t,e,n,l,r){n|=0,l|=0,r|=0;var o,a,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,w=0,P=0;if(o=D,D=D+48|0,c=o+12|0,a=o,0==(0|Zt(t|=0,e|=0,t,e,u=o+24|0))&&0==(0|Zt(t,e,n,l,c))){if((0|(w=0|ht(u,c)))<0)return D=o,0|w;for(i[u>>2]=0,i[u+4>>2]=0,i[u+8>>2]=0,i[c>>2]=0,i[c+4>>2]=0,i[c+8>>2]=0,Zt(t,e,t,e,u),Zt(t,e,n,l,c),bt(u),bt(c),w?(C=u,n=f=0|i[u>>2],l=b=0|i[(A=u+4|0)>>2],u=m=0|i[(v=u+8|0)>>2],_=+((0|i[c>>2])-f|0)/(g=+(0|w)),y=+((0|i[c+4>>2])-b|0)/g,g=+((0|i[c+8>>2])-m|0)/g):(A=l=u+4|0,v=m=u+8|0,C=u,n=0|i[u>>2],l=0|i[l>>2],u=0|i[m>>2],_=0,y=0,g=0),i[a>>2]=n,i[(m=a+4|0)>>2]=l,i[(b=a+8|0)>>2]=u,f=0;;){P=_*(h=+(0|f))+ +(0|n),d=y*h+ +(0|i[A>>2]),h=g*h+ +(0|i[v>>2]),l=~~+Se(+P),c=~~+Se(+d),n=~~+Se(+h),P=+s(+(+(0|l)-P)),d=+s(+(+(0|c)-d)),h=+s(+(+(0|n)-h));do{if(!(P>d&P>h)){if(p=0-l|0,d>h){u=p-n|0;break}u=c,n=p-c|0;break}l=0-(c+n)|0,u=c}while(0);if(i[a>>2]=l,i[m>>2]=u,i[b>>2]=n,mt(a),te(t,e,a,r+(f<<3)|0),(0|f)==(0|w))break;f=f+1|0,n=0|i[C>>2]}return D=o,0}return D=o,-1},_h3LineSize:function(t,e,n,l){var i,r,o;return n|=0,l|=0,o=D,D=D+32|0,r=o,t=0==(0|Zt(t|=0,e|=0,t,e,i=o+12|0))&&0==(0|Zt(t,e,n,l,r))?0|ht(i,r):-1,D=o,(t>>>31^1)+t|0},_h3SetToLinkedGeo:function(t,e,n){n|=0;var l,r,o,a=0;if(o=D,D=D+32|0,l=o,function(t,e,n){t|=0,n|=0;var l,r,o=0,a=0,s=0,u=0,c=0;if(r=D,D=D+176|0,l=r,(0|(e|=0))<1)return ue(n,0,0),void(D=r);u=0|we(0|i[(u=t)>>2],0|i[u+4>>2],52),w(),ue(n,(0|e)>6?e:6,15&u),u=0;do{if(Vt(0|i[(o=t+(u<<3)|0)>>2],0|i[o+4>>2],l),(0|(o=0|i[l>>2]))>0){c=0;do{s=l+8+(c<<4)|0,(a=0|fe(n,o=l+8+(((0|(c=c+1|0))%(0|o)|0)<<4)|0,s))?he(n,a):pe(n,s,o),o=0|i[l>>2]}while((0|c)<(0|o))}u=u+1|0}while((0|u)!=(0|e));D=r}(t|=0,e|=0,r=o+16|0),i[n>>2]=0,i[n+4>>2]=0,i[n+8>>2]=0,!(t=0|de(r)))return Jt(n),ce(r),void(D=o);do{e=0|Xt(n);do{Kt(e,t),i[l>>2]=i[(a=t+16|0)>>2],i[l+4>>2]=i[a+4>>2],i[l+8>>2]=i[a+8>>2],i[l+12>>2]=i[a+12>>2],he(r,t),t=0|be(r,l)}while(0!=(0|t));t=0|de(r)}while(0!=(0|t));Jt(n),ce(r),D=o},_h3ToCenterChild:function(t,e,n){n|=0;var l=0,i=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(l&=15))<=(0|n)){if((0|l)!=(0|n)&&(t|=i=0|Pe(0|n,0,52),e=0|w()|-15728641&e,(0|l)<(0|n)))do{i=0|Pe(7,0,3*(14-l|0)|0),l=l+1|0,t&=~i,e&=~(0|w())}while((0|l)<(0|n))}else e=0,t=0;return C(0|e),0|t},_h3ToChildren:It,_h3ToGeo:Ht,_h3ToGeoBoundary:Vt,_h3ToParent:Et,_h3UnidirectionalEdgeIsValid:function(t,e){var n=0;if(!(!0&268435456==(2013265920&(e|=0)|0)))return 0;switch(n=0|we(0|(t|=0),0|e,56),w(),7&n){case 0:case 7:return 0}return!0&16777216==(117440512&e|0)&0!=(0|Lt(t,n=-2130706433&e|134217728))?0|(n=0):0|(n=0|Tt(t,n))},_hexAreaKm2:function(t){return+ +r[20496+((t|=0)<<3)>>3]},_hexAreaM2:function(t){return+ +r[20624+((t|=0)<<3)>>3]},_hexRing:function(t,e,n,l){t|=0,e|=0,l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0,h=0;if(r=D,D=D+16|0,h=r,!(n|=0))return i[(h=l)>>2]=t,i[h+4>>2]=e,D=r,0;i[h>>2]=0;t:do{if(0|Lt(t,e))t=1;else{if(a=(0|n)>0){o=0,d=t;do{if(0==(0|(d=0|L(d,e,4,h)))&0==(0|(e=0|w()))){t=2;break t}if(o=o+1|0,0|Lt(d,e)){t=1;break t}}while((0|o)<(0|n));if(i[(c=l)>>2]=d,i[c+4>>2]=e,c=n+-1|0,a){a=0,s=1,o=d,t=e;do{if(0==(0|(o=0|L(o,t,2,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(s<<3)|0)>>2]=o,i[u+4>>2]=t,s=s+1|0,0|Lt(o,t)){t=1;break t}a=a+1|0}while((0|a)<(0|n));u=0,a=s;do{if(0==(0|(o=0|L(o,t,3,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(s=l+(a<<3)|0)>>2]=o,i[s+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}u=u+1|0}while((0|u)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,1,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,5,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,4,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));for(s=0;;){if(0==(0|(o=0|L(o,t,6,h)))&0==(0|(t=0|w()))){t=2;break t}if((0|s)!=(0|c)){if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,0|Lt(o,t)){t=1;break t}a=a+1|0}if((0|(s=s+1|0))>=(0|n)){s=d,a=e;break}}}else s=d,o=d,a=e,t=e}else i[(s=l)>>2]=t,i[s+4>>2]=e,s=t,o=t,a=e,t=e;t=1&((0|s)!=(0|o)|(0|a)!=(0|t))}}while(0);return D=r,0|t},_i64Subtract:Ae,_kRing:T,_kRingDistances:function(t,e,n,l,i){var r;if(0|E(t|=0,e|=0,n|=0,l|=0,i|=0)){if(Me(0|l,0,(r=1+(0|y(3*n|0,n+1|0))|0)<<3|0),0|i)return Me(0|i,0,r<<2|0),void I(t,e,n,l,i,r,0);(i=0|ye(r,4))&&(I(t,e,n,l,i,r,0),_e(i))}},_llvm_minnum_f64:xe,_llvm_round_f64:Se,_malloc:ge,_maxFaceCount:function(t,e){var n=0,l=0;if(l=0|we(0|(t|=0),0|(e|=0),45),w(),!(0|R(127&l)))return 2;if(l=0|we(0|t,0|e,52),w(),!(l&=15))return 5;for(n=1;;){if(!(0==((0|Pe(7,0,3*(15-n|0)|0))&t|0)&0==((0|w())&e|0))){n=2,t=6;break}if(!(n>>>0<l>>>0)){n=5,t=6;break}n=n+1|0}return 6==(0|t)?0|n:0},_maxH3ToChildrenSize:function(t,e,n){return n|=0,t=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(t&=15))<=(0|n)?0|(n=0|ee(7,n-t|0)):0|(n=0)},_maxKringSize:function(t){return 1+(0|y(3*(t|=0)|0,t+1|0))|0},_maxPolyfillSize:function(t,e){e|=0;var n,l=0,r=0,o=0,a=0,s=0;if(n=D,D=D+48|0,o=n+8|0,a=0|i[4+(s=t|=0)>>2],i[(l=r=n)>>2]=i[s>>2],i[l+4>>2]=a,le(r,o),o=0|V(o,e),e=0|i[r>>2],(0|(r=0|i[t+8>>2]))<=0)return D=n,0|(s=(a=(0|o)<(0|(s=e)))?s:o)+12;l=0|i[t+12>>2],t=0;do{e=(0|i[l+(t<<3)>>2])+e|0,t=t+1|0}while((0|t)<(0|r));return D=n,0|(s=(s=(0|o)<(0|e))?e:o)+12},_maxUncompactSize:function(t,e,n){t|=0;var l=0,r=0,o=0,a=0;if((0|(e|=0))<=0)return 0;if((0|(n|=0))>=16){for(l=0;;){if(!(0==(0|i[(a=t+(l<<3)|0)>>2])&0==(0|i[a+4>>2]))){l=-1,r=13;break}if((0|(l=l+1|0))>=(0|e)){l=0,r=13;break}}if(13==(0|r))return 0|l}l=0,a=0;t:for(;;){o=0|i[(r=t+(a<<3)|0)>>2],r=0|i[r+4>>2];do{if(!(0==(0|o)&0==(0|r))){if(r=0|we(0|o,0|r,52),w(),(0|(r&=15))>(0|n)){l=-1,r=13;break t}if((0|r)==(0|n)){l=l+1|0;break}l=(0|ee(7,n-r|0))+l|0;break}}while(0);if((0|(a=a+1|0))>=(0|e)){r=13;break}}return 13==(0|r)?0|l:0},_memcpy:ke,_memset:Me,_numHexagons:function(t){var e;return t=0|i[(e=21008+((t|=0)<<3)|0)>>2],C(0|i[e+4>>2]),0|t},_pentagonIndexCount:function(){return 12},_pointDistKm:Mt,_pointDistM:function(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))*6371.007180918475*1e3},_pointDistRads:function(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))},_polyfill:function(t,e,n){var l,r=0,o=0,a=0,s=0,u=0;if(l=D,D=D+48|0,r=l+8|0,o=l,0|function(t,e,n){e|=0,n|=0;var l,r,o,a,s,u,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,x=0,S=0,k=0,M=0,O=0,T=0,L=0,R=0,F=0,N=0,Y=0;if(s=D,D=D+112|0,r=s+80|0,b=s+72|0,o=s,a=s+56|0,(u=0|ge(32+(i[(m=8+(t|=0)|0)>>2]<<5)|0))||P(22848,22448,800,22456),ie(t,u),c=0|i[(h=t)+4>>2],i[(f=b)>>2]=i[h>>2],i[f+4>>2]=c,le(b,r),f=0|V(r,e),c=0|i[b>>2],(0|(h=0|i[m>>2]))>0){p=0|i[t+12>>2],d=0;do{c=(0|i[p+(d<<3)>>2])+c|0,d=d+1|0}while((0|d)!=(0|h))}if(d=0|ye(l=(f=(0|f)<(0|c)?c:f)+12|0,8),g=0|ye(l,8),i[r>>2]=0,Y=0|i[(N=t)+4>>2],i[(c=b)>>2]=i[N>>2],i[c+4>>2]=Y,0|(c=0|j(b,l,e,r,d,g)))return _e(d),_e(g),_e(u),D=s,0|c;t:do{if((0|i[m>>2])>0){for(h=t+12|0,c=0;p=0|j((0|i[h>>2])+(c<<3)|0,l,e,r,d,g),c=c+1|0,!(0|p);)if((0|c)>=(0|i[m>>2]))break t;return _e(d),_e(g),_e(u),D=s,0|p}}while(0);(0|f)>-12&&Me(0|g,0,((0|l)>1?l:1)<<3|0);t:do{if((0|i[r>>2])>0){Y=((0|l)<0)<<31>>31,O=d,T=g,L=d,R=d,F=g,N=d,c=d,x=d,S=g,k=g,M=g,d=g;e:for(;;){for(C=0|i[r>>2],A=0,v=0,h=0;;){f=(p=o)+56|0;do{i[p>>2]=0,p=p+4|0}while((0|p)<(0|f));if(0|E(b=0|i[(e=O+(A<<3)|0)>>2],e=0|i[e+4>>2],1,o,0)){f=(p=o)+56|0;do{i[p>>2]=0,p=p+4|0}while((0|p)<(0|f));0|(p=0|ye(7,4))&&(I(b,e,1,o,p,7,0),_e(p))}y=0;do{g=0|i[(_=o+(y<<3)|0)>>2],_=0|i[_+4>>2];n:do{if(!(0==(0|g)&0==(0|_))){if(b=0|Ce(0|g,0|_,0|l,0|Y),w(),!(0==(0|(e=0|i[(f=p=n+(b<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2]))))for(m=0;;){if((0|m)>(0|l))break e;if((0|e)==(0|g)&(0|f)==(0|_))break n;if(0==(0|(e=0|i[(f=p=n+((b=(b+1|0)%(0|l)|0)<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2])))break;m=m+1|0}0==(0|g)&0==(0|_)||(Ht(g,_,a),0|re(t,u,a)&&(i[(m=p)>>2]=g,i[m+4>>2]=_,i[(m=T+(h<<3)|0)>>2]=g,i[m+4>>2]=_,h=h+1|0))}}while(0);y=y+1|0}while(y>>>0<7);if((0|(v=v+1|0))>=(0|C))break;A=A+1|0}if((0|C)>0&&Me(0|L,0,C<<3|0),i[r>>2]=h,!((0|h)>0))break t;g=d,_=M,y=N,A=k,v=S,C=T,d=x,M=c,k=R,S=L,x=g,c=_,N=F,F=y,R=A,L=v,T=O,O=C}return _e(R),_e(F),_e(u),D=s,-1}c=g}while(0);return _e(u),_e(d),_e(c),D=s,0}(t|=0,e|=0,n|=0)){if(a=0|i[(u=t)+4>>2],i[(s=o)>>2]=i[u>>2],i[s+4>>2]=a,le(o,r),s=0|V(r,e),e=0|i[o>>2],(0|(a=0|i[t+8>>2]))>0){o=0|i[t+12>>2],r=0;do{e=(0|i[o+(r<<3)>>2])+e|0,r=r+1|0}while((0|r)!=(0|a))}(0|(e=(0|s)<(0|e)?e:s))<=-12||Me(0|n,0,8+(((0|(u=e+11|0))>0?u:0)<<3)|0),D=l}else D=l},_res0IndexCount:function(){return 122},_round:Oe,_sbrk:De,_sizeOfCoordIJ:function(){return 8},_sizeOfGeoBoundary:function(){return 168},_sizeOfGeoCoord:function(){return 16},_sizeOfGeoPolygon:function(){return 16},_sizeOfGeofence:function(){return 8},_sizeOfH3Index:function(){return 8},_sizeOfLinkedGeoPolygon:function(){return 12},_uncompact:function(t,e,n,l,r){t|=0,n|=0,l|=0;var o=0,a=0,s=0,u=0,c=0,d=0;if((0|(e|=0))<=0)return 0;if((0|(r|=0))>=16){for(o=0;;){if(!(0==(0|i[(d=t+(o<<3)|0)>>2])&0==(0|i[d+4>>2]))){o=14;break}if((0|(o=o+1|0))>=(0|e)){a=0,o=16;break}}if(14==(0|o))return 0|((0|l)>0?-2:-1);if(16==(0|o))return 0|a}o=0,d=0;t:for(;;){a=0|i[(s=c=t+(d<<3)|0)>>2],s=0|i[s+4>>2];do{if(!(0==(0|a)&0==(0|s))){if((0|o)>=(0|l)){a=-1,o=16;break t}if(u=0|we(0|a,0|s,52),w(),(0|(u&=15))>(0|r)){a=-2,o=16;break t}if((0|u)==(0|r)){i[(c=n+(o<<3)|0)>>2]=a,i[c+4>>2]=s,o=o+1|0;break}if((0|(a=(0|ee(7,r-u|0))+o|0))>(0|l)){a=-1,o=16;break t}It(0|i[c>>2],0|i[c+4>>2],r,n+(o<<3)|0),o=a}}while(0);if((0|(d=d+1|0))>=(0|e)){a=0,o=16;break}}return 16==(0|o)?0|a:0},establishStackSpace:function(t,e){D=t|=0},stackAlloc:function(t){var e;return e=D,D=15+(D=D+(t|=0)|0)&-16,0|e},stackRestore:function(t){D=t|=0},stackSave:function(){return 0|D}}}({Math,Int8Array,Int32Array,Uint8Array,Float32Array,Float64Array},{a:at,b:function(t){u=t},c,d:function(t,e,n,l){at("Assertion failed: "+C(t)+", at: "+[e?C(e):"unknown filename",n,l?C(l):"unknown function"])},e:function(t){return n.___errno_location&&(_[n.___errno_location()>>2]=t),t},f:V,g:function(t,e,n){m.set(m.subarray(e,e+n),t)},h:function(t){var e=V();if(t>2130706432)return!1;for(var n=Math.max(e,16777216);n<t;)n=n<=536870912?w(2*n,16777216):Math.min(w((3*n+2147483648)/4,16777216),2130706432);return!!q(n)},i:function(t){at("OOM")},j:function(t){return t},k:G,l:q,m:H,n:function(){var t=H();return n.extraStackTrace&&(t+="\n"+n.extraStackTrace()),G(t)},o:24032,p:24016},f),Q=(n.___uremdi3=J.___uremdi3,n._bitshift64Lshr=J._bitshift64Lshr,n._bitshift64Shl=J._bitshift64Shl,n._calloc=J._calloc,n._cellAreaKm2=J._cellAreaKm2,n._cellAreaM2=J._cellAreaM2,n._cellAreaRads2=J._cellAreaRads2,n._compact=J._compact,n._destroyLinkedPolygon=J._destroyLinkedPolygon,n._edgeLengthKm=J._edgeLengthKm,n._edgeLengthM=J._edgeLengthM,n._emscripten_replace_memory=J._emscripten_replace_memory),Z=(n._exactEdgeLengthKm=J._exactEdgeLengthKm,n._exactEdgeLengthM=J._exactEdgeLengthM,n._exactEdgeLengthRads=J._exactEdgeLengthRads,n._experimentalH3ToLocalIj=J._experimentalH3ToLocalIj,n._experimentalLocalIjToH3=J._experimentalLocalIjToH3,n._free=J._free,n._geoToH3=J._geoToH3,n._getDestinationH3IndexFromUnidirectionalEdge=J._getDestinationH3IndexFromUnidirectionalEdge,n._getH3IndexesFromUnidirectionalEdge=J._getH3IndexesFromUnidirectionalEdge,n._getH3UnidirectionalEdge=J._getH3UnidirectionalEdge,n._getH3UnidirectionalEdgeBoundary=J._getH3UnidirectionalEdgeBoundary,n._getH3UnidirectionalEdgesFromHexagon=J._getH3UnidirectionalEdgesFromHexagon,n._getOriginH3IndexFromUnidirectionalEdge=J._getOriginH3IndexFromUnidirectionalEdge,n._getPentagonIndexes=J._getPentagonIndexes,n._getRes0Indexes=J._getRes0Indexes,n._h3Distance=J._h3Distance,n._h3GetBaseCell=J._h3GetBaseCell,n._h3GetFaces=J._h3GetFaces,n._h3IndexesAreNeighbors=J._h3IndexesAreNeighbors,n._h3IsPentagon=J._h3IsPentagon,n._h3IsResClassIII=J._h3IsResClassIII,n._h3IsValid=J._h3IsValid,n._h3Line=J._h3Line,n._h3LineSize=J._h3LineSize,n._h3SetToLinkedGeo=J._h3SetToLinkedGeo,n._h3ToCenterChild=J._h3ToCenterChild,n._h3ToChildren=J._h3ToChildren,n._h3ToGeo=J._h3ToGeo,n._h3ToGeoBoundary=J._h3ToGeoBoundary,n._h3ToParent=J._h3ToParent,n._h3UnidirectionalEdgeIsValid=J._h3UnidirectionalEdgeIsValid,n._hexAreaKm2=J._hexAreaKm2,n._hexAreaM2=J._hexAreaM2,n._hexRing=J._hexRing,n._i64Subtract=J._i64Subtract,n._kRing=J._kRing,n._kRingDistances=J._kRingDistances,n._llvm_minnum_f64=J._llvm_minnum_f64,n._llvm_round_f64=J._llvm_round_f64,n._malloc=J._malloc,n._maxFaceCount=J._maxFaceCount,n._maxH3ToChildrenSize=J._maxH3ToChildrenSize,n._maxKringSize=J._maxKringSize,n._maxPolyfillSize=J._maxPolyfillSize,n._maxUncompactSize=J._maxUncompactSize,n._memcpy=J._memcpy,n._memset=J._memset,n._numHexagons=J._numHexagons,n._pentagonIndexCount=J._pentagonIndexCount,n._pointDistKm=J._pointDistKm,n._pointDistM=J._pointDistM,n._pointDistRads=J._pointDistRads,n._polyfill=J._polyfill,n._res0IndexCount=J._res0IndexCount,n._round=J._round,n._sbrk=J._sbrk,n._sizeOfCoordIJ=J._sizeOfCoordIJ,n._sizeOfGeoBoundary=J._sizeOfGeoBoundary,n._sizeOfGeoCoord=J._sizeOfGeoCoord,n._sizeOfGeoPolygon=J._sizeOfGeoPolygon,n._sizeOfGeofence=J._sizeOfGeofence,n._sizeOfH3Index=J._sizeOfH3Index,n._sizeOfLinkedGeoPolygon=J._sizeOfLinkedGeoPolygon,n._uncompact=J._uncompact,n.establishStackSpace=J.establishStackSpace,n.stackAlloc=J.stackAlloc),tt=n.stackRestore=J.stackRestore,et=n.stackSave=J.stackSave;if(n.asm=J,n.cwrap=function(t,e,n,l){var i=(n=n||[]).every((function(t){return"number"===t}));return"string"!==e&&i&&!l?h(t):function(){return p(t,e,n,arguments)}},n.setValue=function(t,e,n,l){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":b[t>>0]=e;break;case"i16":g[t>>1]=e;break;case"i32":_[t>>2]=e;break;case"i64":Y=[e>>>0,(N=e,+T(N)>=1?N>0?(0|L(+I(N/4294967296),4294967295))>>>0:~~+E((N-+(~~N>>>0))/4294967296)>>>0:0)],_[t>>2]=Y[0],_[t+4>>2]=Y[1];break;case"float":y[t>>2]=e;break;case"double":A[t>>3]=e;break;default:at("invalid type for setValue: "+n)}},n.getValue=function(t,e,n){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return b[t>>0];case"i16":return g[t>>1];case"i32":case"i64":return _[t>>2];case"float":return y[t>>2];case"double":return A[t>>3];default:at("invalid type for getValue: "+e)}return null},n.getTempRet0=c,U){z(U)||(X=U,U=n.locateFile?n.locateFile(X,o):o+X),j++,n.monitorRunDependencies&&n.monitorRunDependencies(j);var nt=function(t){t.byteLength&&(t=new Uint8Array(t)),m.set(t,8),n.memoryInitializerRequest&&delete n.memoryInitializerRequest.response,function(t){if(j--,n.monitorRunDependencies&&n.monitorRunDependencies(j),0==j&&(null!==R&&(clearInterval(R),R=null),F)){var e=F;F=null,e()}}()},lt=function(){i(U,nt,(function(){throw"could not load memory initializer "+U}))},it=$(U);if(it)nt(it.buffer);else if(n.memoryInitializerRequest){var rt=function(){var t=n.memoryInitializerRequest,e=t.response;if(200!==t.status&&0!==t.status){var l=$(n.memoryInitializerRequestURL);if(!l)return console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+t.status+", retrying "+U),void lt();e=l.buffer}nt(e)};n.memoryInitializerRequest.response?setTimeout(rt,0):n.memoryInitializerRequest.addEventListener("load",rt)}else lt()}function ot(t){function e(){K||(K=!0,d||(S(M),S(O),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),D.unshift(t);var t;S(D)}()))}t=t||r,j>0||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),k.unshift(t);var t;S(k)}(),j>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function at(t){throw n.onAbort&&n.onAbort(t),a(t+=""),s(t),d=!0,"abort("+t+"). Build with -s ASSERTIONS=1 for more info."}if(F=function t(){K||ot(),K||(F=t)},n.run=ot,n.abort=at,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();return ot(),t}("object"==typeof l?l:{}),i="number",r={};[["sizeOfH3Index",i],["sizeOfGeoCoord",i],["sizeOfGeoBoundary",i],["sizeOfGeoPolygon",i],["sizeOfGeofence",i],["sizeOfLinkedGeoPolygon",i],["sizeOfCoordIJ",i],["h3IsValid","number",["number","number"]],["geoToH3","number",[i,i,"number"]],["h3ToGeo",null,["number","number",i]],["h3ToGeoBoundary",null,["number","number",i]],["maxKringSize",i,[i]],["kRing",null,["number","number",i,i]],["kRingDistances",null,["number","number",i,i,i]],["hexRing",null,["number","number",i,i]],["maxPolyfillSize",i,[i,"number"]],["polyfill",null,[i,"number",i]],["h3SetToLinkedGeo",null,[i,i,i]],["destroyLinkedPolygon",null,[i]],["compact",i,[i,i,i]],["uncompact",i,[i,i,i,i,"number"]],["maxUncompactSize",i,[i,i,"number"]],["h3IsPentagon","number",["number","number"]],["h3IsResClassIII","number",["number","number"]],["h3GetBaseCell",i,["number","number"]],["maxFaceCount",i,["number","number"]],["h3GetFaces",null,["number","number",i]],["h3ToParent","number",["number","number","number"]],["h3ToChildren",null,["number","number","number",i]],["h3ToCenterChild","number",["number","number","number"]],["maxH3ToChildrenSize",i,["number","number","number"]],["h3IndexesAreNeighbors","number",["number","number","number","number"]],["getH3UnidirectionalEdge","number",["number","number","number","number"]],["getOriginH3IndexFromUnidirectionalEdge","number",["number","number"]],["getDestinationH3IndexFromUnidirectionalEdge","number",["number","number"]],["h3UnidirectionalEdgeIsValid","number",["number","number"]],["getH3IndexesFromUnidirectionalEdge",null,["number","number",i]],["getH3UnidirectionalEdgesFromHexagon",null,["number","number",i]],["getH3UnidirectionalEdgeBoundary",null,["number","number",i]],["h3Distance",i,["number","number","number","number"]],["h3Line",i,["number","number","number","number",i]],["h3LineSize",i,["number","number","number","number"]],["experimentalH3ToLocalIj",i,["number","number","number","number",i]],["experimentalLocalIjToH3",i,["number","number",i,i]],["hexAreaM2",i,["number"]],["hexAreaKm2",i,["number"]],["edgeLengthM",i,["number"]],["edgeLengthKm",i,["number"]],["pointDistM",i,[i,i]],["pointDistKm",i,[i,i]],["pointDistRads",i,[i,i]],["cellAreaM2",i,["number","number"]],["cellAreaKm2",i,["number","number"]],["cellAreaRads2",i,["number","number"]],["exactEdgeLengthM",i,["number","number"]],["exactEdgeLengthKm",i,["number","number"]],["exactEdgeLengthRads",i,["number","number"]],["numHexagons",i,["number"]],["getRes0Indexes",null,[i]],["res0IndexCount",i],["getPentagonIndexes",null,[i,i]],["pentagonIndexCount",i]].forEach((function(t){r[t[0]]=l.cwrap.apply(l,t)})),r.sizeOfH3Index();var o=r.sizeOfGeoCoord(),a=r.sizeOfGeoBoundary();r.sizeOfGeoPolygon(),r.sizeOfGeofence(),r.sizeOfLinkedGeoPolygon(),r.sizeOfCoordIJ();var s=/[^0-9a-fA-F]/;function u(t){if(Array.isArray(t)&&2===t.length&&Number.isInteger(t[0])&&Number.isInteger(t[1]))return t;if("string"!=typeof t||s.test(t))return[0,0];var e=parseInt(t.substring(0,t.length-8),16);return[parseInt(t.substring(t.length-8),16),e]}function c(t){return 180*l.getValue(t,"double")/Math.PI}function d(t){return[c(t),c(t+8)]}function h(t){return[c(t+8),c(t)]}function p(t){var e=l._malloc(o),n=u(t);r.h3ToGeo(n[0],n[1],e);var i=d(e);return l._free(e),i}function f(t,e){var n=l._malloc(a),i=u(t);r.h3ToGeoBoundary(i[0],i[1],n);var o=function(t,e,n){for(var i=l.getValue(t,"i32"),r=t+8,o=[],a=e?h:d,s=0;s<2*i;s+=2)o.push(a(r+8*s));return n&&o.push(o[0]),o}(n,e,e);return l._free(n),o}},"930v":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("+4pY");const i=()=>Object(l.a)().easing("cubic-bezier(0.0, 0.0, 0.2, 1)").duration(300),r=t=>{let e,n;const r=t.width+8,o=Object(l.a)(),a=Object(l.a)();return t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),o.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`),a.addElement(t.backdropEl).fromTo("opacity",.01,.32),i().addAnimation([o,a])},o=t=>{let e,n;const r=t.width;t.isEndSide?(e=-r+"px",n=r+"px"):(e=r+"px",n=-r+"px");const o=Object(l.a)().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),a=Object(l.a)().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),s=Object(l.a)().addElement(t.backdropEl).fromTo("opacity",.01,.32);return i().addAnimation([o,s,a])},a=t=>{const e=t.width*(t.isEndSide?-1:1)+"px",n=Object(l.a)().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`);return i().addAnimation(n)},s=(()=>{const t=new Map,e=[],n=async t=>(await h(),"start"===t||"end"===t?d(e=>e.side===t&&!e.disabled)||d(e=>e.side===t):null!=t?d(e=>e.menuId===t):d(t=>!t.disabled)||(e.length>0?e[0].el:void 0)),l=async()=>(await h(),u()),i=(e,n)=>{t.set(e,n)},s=t=>{const n=t.side;e.filter(e=>e.side===n&&e!==t).forEach(t=>t.disabled=!0)},u=()=>d(t=>t._isOpen),c=()=>e.some(t=>t.isAnimating),d=t=>{const n=e.find(t);if(void 0!==n)return n.el},h=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(t=>t.componentOnReady()));return i("reveal",a),i("push",o),i("overlay",r),{registerAnimation:i,get:n,getMenus:async()=>(await h(),e.map(t=>t.el)),getOpen:l,isEnabled:async t=>{const e=await n(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const l=await n(e);return l&&(l.swipeGesture=t),l},isAnimating:async()=>(await h(),c()),isOpen:async t=>{if(null!=t){const e=await n(t);return void 0!==e&&e.isOpen()}return void 0!==await l()},enable:async(t,e)=>{const l=await n(e);return l&&(l.disabled=!t),l},toggle:async t=>{const e=await n(t);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?n(t):l());return void 0!==e&&e.close()},open:async t=>{const e=await n(t);return!!e&&e.open()},_getOpenSync:u,_createAnimation:(e,n)=>{const l=t.get(e);if(!l)throw new Error("animation not registered");return l(n)},_register:t=>{e.indexOf(t)<0&&(t.disabled||s(t),e.push(t))},_unregister:t=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_setOpen:async(t,e,n)=>{if(c())return!1;if(e){const e=await l();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n)},_setActiveMenu:s}})()},"94wz":function(t,e,n){"use strict";var l=function(){function t(){}return t.prototype.drawCustom=function(t,e,n){},t.prototype.drawGeometry=function(t){},t.prototype.setStyle=function(t){},t.prototype.drawCircle=function(t,e){},t.prototype.drawFeature=function(t,e){},t.prototype.drawGeometryCollection=function(t,e){},t.prototype.drawLineString=function(t,e){},t.prototype.drawMultiLineString=function(t,e){},t.prototype.drawMultiPoint=function(t,e){},t.prototype.drawMultiPolygon=function(t,e){},t.prototype.drawPoint=function(t,e){},t.prototype.drawPolygon=function(t,e){},t.prototype.drawText=function(t,e){},t.prototype.setFillStrokeStyle=function(t,e){},t.prototype.setImageStyle=function(t,e){},t.prototype.setTextStyle=function(t,e){},t}();e.a=l},"978D":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("8Y7J"),i=n("wd/R");const r={REALTIME:"realtime",REPLAY:"replay",STOP:"stop"};let o=(()=>{class t{constructor(){this.haveStarted=!1,this.speed=1,this.date=void 0,this.daemonChange=new l.r,this.daemonStatus=r.REALTIME,this.isLock=!1,this.running=!1}getDaemonChangeEmitter(){return this.daemonChange}getDeamonStatus(){return this.daemonStatus}getDateReplay(){return this.date}isPlayingReplay(){return this.running}setSpeed(t){this.speed=t}startReplay(t){this.date=t,this.haveStarted=!0,this.startTimer()}stopReplay(){this.date=void 0,this.clearTimer(),this.daemonStatus=r.REALTIME,this.daemonChange.emit(this.daemonStatus)}previousReplay(){const t=i(this.date).subtract(1,"minutes").toDate();this.clearTimer(),this.startReplay(t)}nextReplay(){const t=i(this.date).add(1,"minutes").toDate();this.clearTimer(),this.startReplay(t)}togglePlaying(){this.running?this.stopTimer():this.startTimer()}startTimer(){this.running=!0;const t=Date.now()-(this.counter||0);this.timerRef=setInterval(()=>{const e=Date.now()-t-this.counter;this.haveStarted||(this.date=i(this.date).add(e*this.speed,"milliseconds").toDate(),i(this.date).valueOf()>=i().valueOf()&&this.stopTimer()),this.counter=Date.now()-t}),this.daemonStatus=r.REPLAY,this.daemonChange.emit(this.daemonStatus)}stopTimer(){this.running=!1,clearInterval(this.timerRef),this.daemonStatus=r.STOP,this.daemonChange.emit(this.daemonStatus)}clearTimer(){this.running=!1,this.counter=void 0,clearInterval(this.timerRef)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"9ANI":function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("9iPr"),o=n("mrzG"),a=n("q7cr"),s=n("f8l7"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n){var l=t.call(this)||this;return l.setCoordinates(e,n),l}return u(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){var i=this.flatCoordinates,r=Object(s.f)(t,e,i[0],i[1]);if(r<l){for(var o=this.stride,a=0;a<o;++a)n[a]=i[a];return n.length=o,r}return l},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return Object(i.m)(this.flatCoordinates,t)},e.prototype.getType=function(){return r.a.POINT},e.prototype.intersectsExtent=function(t){return Object(i.h)(t,this.flatCoordinates[0],this.flatCoordinates[1])},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(a.a)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(o.a);e.a=c},"9d2U":function(t,e,n){"use strict";var l=n("/O31"),i=function(){function t(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||l.a[this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(t){this.defaultTileGrid_=t},t.prototype.setExtent=function(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)},t.prototype.setWorldExtent=function(t){this.worldExtent_=t},t.prototype.setGetPointResolution=function(t){this.getPointResolutionFunc_=t},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}();e.a=i},"9iPr":function(t,e,n){"use strict";e.a={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AIJQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t){this.dialogRef=t}onNoClick(){this.dialogRef.close()}}},ALyU:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("fURe"),l.Bb({encapsulation:2,styles:[],data:{}}));function r(t){return l.Yb(2,[],null,null)}},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AaDx:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("DkaU"),n("Xd0L"),n("KCVW"),n("8bJo"),n("2Vo4"),n("VRyK"),n("IzEk"),n("lJxs");class l{}},AdPF:function(t,e,n){var l=n("yeub"),i=n("2UHX");t.exports=function(t){var e=t.xdomain,n=t.xscheme,r=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!e||l))return new XMLHttpRequest}catch(o){}try{if("undefined"!=typeof XDomainRequest&&!n&&r)return new XDomainRequest}catch(o){}if(!e)try{return new(i[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(o){}}},AdTM:function(t,e,n){"use strict";e.a={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},"AfW+":function(t,e,n){"use strict";n.d(e,"a",(function(){return A})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return i})),n.d(e,"g",(function(){return r}));const l=t=>r(t),i=(t,e)=>("string"==typeof t&&(e=t,t=void 0),l(t).includes(e)),r=(t=window)=>{t.Ionic=t.Ionic||{};let e=t.Ionic.platforms;return null==e&&(e=t.Ionic.platforms=o(t),e.forEach(e=>t.document.documentElement.classList.add("plt-"+e))),e},o=t=>Object.keys(b).filter(e=>b[e](t)),a=t=>!!p(t,/iPad/i)||!(!p(t,/Macintosh/i)||!u(t)),s=t=>p(t,/android|sink/i),u=t=>f(t,"(any-pointer:coarse)"),c=t=>d(t)||h(t),d=t=>!!(t.cordova||t.phonegap||t.PhoneGap),h=t=>{const e=t.Capacitor;return!(!e||!e.isNative)},p=(t,e)=>e.test(t.navigator.userAgent),f=(t,e)=>t.matchMedia(e).matches,b={ipad:a,iphone:t=>p(t,/iPhone/i),ios:t=>p(t,/iPhone|iPod/i)||a(t),android:s,phablet:t=>{const e=t.innerWidth,n=t.innerHeight,l=Math.min(e,n),i=Math.max(e,n);return l>390&&l<520&&i>620&&i<800},tablet:t=>{const e=t.innerWidth,n=t.innerHeight,l=Math.min(e,n),i=Math.max(e,n);return a(t)||(t=>s(t)&&!p(t,/mobile/i))(t)||l>460&&l<820&&i>780&&i<1400},cordova:d,capacitor:h,electron:t=>p(t,/electron/i),pwa:t=>!(!t.matchMedia("(display-mode: standalone)").matches&&!t.navigator.standalone),mobile:u,mobileweb:t=>u(t)&&!c(t),desktop:t=>!u(t),hybrid:c};class m{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,e){const n=this.m.get(t);return void 0!==n?n:e}getBoolean(t,e=!1){const n=this.m.get(t);return void 0===n?e:"string"==typeof n?"true"===n:!!n}getNumber(t,e){const n=parseFloat(this.m.get(t));return isNaN(n)?void 0!==e?e:NaN:n}set(t,e){this.m.set(t,e)}}const g=new m,_=t=>{try{const e=t.sessionStorage.getItem(w);return null!==e?JSON.parse(e):{}}catch(e){return{}}},y=(t,e)=>{try{t.sessionStorage.setItem(w,JSON.stringify(e))}catch(n){return}},A=t=>{const e={};return t.location.search.slice(1).split("&").map(t=>t.split("=")).map(([t,e])=>[decodeURIComponent(t),decodeURIComponent(e)]).filter(([t])=>v(t,C)).map(([t,e])=>[t.slice(C.length),e]).forEach(([t,n])=>{e[t]=n}),e},v=(t,e)=>t.substr(0,e.length)===e,C="ionic:",w="ionic-persist-config"},Ag9w:function(t,e,n){"use strict";n("pg82");var l,i=n("Ho3V"),r=n("0Hnp"),o=n("4mld"),a=n("OQAH"),s=n("JW8z"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=this,l=e||{},i=document.createElement("div");return i.className=void 0!==l.className?l.className:"ol-mouse-position",(n=t.call(this,{element:i,render:l.render||d,target:l.target})||this).addEventListener(Object(o.b)("projection"),n.handleProjectionChanged_),l.coordinateFormat&&n.setCoordinateFormat(l.coordinateFormat),l.projection&&n.setProjection(l.projection),n.undefinedHTML_=void 0!==l.undefinedHTML?l.undefinedHTML:"&#160;",n.renderOnMouseOut_=!!n.undefinedHTML_,n.renderedHTML_=i.innerHTML,n.mapProjection_=null,n.transform_=null,n}return u(e,t),e.prototype.handleProjectionChanged_=function(){this.transform_=null},e.prototype.getCoordinateFormat=function(){return this.get("coordinateFormat")},e.prototype.getProjection=function(){return this.get("projection")},e.prototype.handleMouseMove=function(t){var e=this.getMap();this.updateHTML_(e.getEventPixel(t))},e.prototype.handleMouseOut=function(t){this.updateHTML_(null)},e.prototype.setMap=function(e){if(t.prototype.setMap.call(this,e),e){var n=e.getViewport();this.listenerKeys.push(Object(i.a)(n,r.a.POINTERMOVE,this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push(Object(i.a)(n,r.a.POINTEROUT,this.handleMouseOut,this))}},e.prototype.setCoordinateFormat=function(t){this.set("coordinateFormat",t)},e.prototype.setProjection=function(t){this.set("projection",Object(s.g)(t))},e.prototype.updateHTML_=function(t){var e=this.undefinedHTML_;if(t&&this.mapProjection_){if(!this.transform_){var n=this.getProjection();this.transform_=n?Object(s.j)(this.mapProjection_,n):s.l}var l=this.getMap().getCoordinateFromPixelInternal(t);if(l){var i=Object(s.k)();i&&(this.transform_=Object(s.j)(this.mapProjection_,i)),this.transform_(l,l);var r=this.getCoordinateFormat();e=r?r(l):l.toString()}}this.renderedHTML_&&e===this.renderedHTML_||(this.element.innerHTML=e,this.renderedHTML_=e)},e}(a.a);function d(t){var e=t.frameState;e?this.mapProjection_!=e.viewState.projection&&(this.mapProjection_=e.viewState.projection,this.transform_=null):this.mapProjection_=null}e.a=c},AjEG:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseSquawkControllerSquawkPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseSquawkControllerSquawk(t){return this.getOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseSquawkControllerSquawkPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseSquawkControllerSquawk(t){return this.replaceOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseSquawkControllerSquawkPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseSquawkControllerSquawk(t){return this.deleteOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseSquawkControllerSquawkPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseSquawkControllerSquawk(t){return this.updateOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseSquawkControllerSquawkPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseSquawkControllerSquawk(t){return this.getManyBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseSquawkControllerSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseSquawkControllerSquawk(t){return this.createOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseSquawkControllerSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseSquawkControllerSquawk(t){return this.createManyBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.ReplaceOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.DeleteOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.UpdateOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.GetManyBaseSquawkControllerSquawkPath="/squawk",t.CreateOneBaseSquawkControllerSquawkPath="/squawk",t.CreateManyBaseSquawkControllerSquawkPath="/squawk/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Al5c:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("8Y7J"),i=n("l5mm"),r=n("wd/R"),o=(n("w+w1"),n("978D"),n("qToJ"),n("Y4ja"));class a{constructor(t,e,n,i,r){this.settingService=t,this.timeService=e,this.domSanitizer=n,this.modeService=i,this.ref=r,this.toClose=new l.r,this.allAircraft=!0,this.subscriptions=[]}ngOnInit(){this.subscriptions.push(Object(i.a)(1e3).subscribe(t=>{const e=this.timeService.getDateReplay();this.timeNow=e?r(e).valueOf():r().valueOf(),this.ref.detectChanges()})),this.allAircraft=this.modeService.getModeMap()===o.a.ALL_AIRCRAFT,this.subscriptions.push(this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.allAircraft=t===o.a.ALL_AIRCRAFT,this.ref.detectChanges()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}close(){this.toClose.emit()}cleanURL(t){return this.domSanitizer.bypassSecurityTrustUrl(t)}}},Amq3:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var l=n("JW8z"),i=n("B2q1"),r=n("Ag9w"),o=n("pWiS"),a=n("OQAH"),s=(n("svHU"),n("G0WM"),n("w+w1")),u=(n("YGmB"),n("7/LY")),c=n("SYdj"),d=n("0Ba5");class h{constructor(t,e,n,i,r,o){this.route=t,this.mapService=e,this.mapElement=n,this.aircraftService=i,this.trafficService=r,this.selectAircraftService=o,this.measureControl=function(t){function e(e){var n=e||{},l=document.createElement("button");l.innerHTML='<ion-icon name="md-code-working"></ion-icon>';var i=document.createElement("div");i.id="measure-switch-div",i.className="measure-switch ol-unselectable ol-control",i.style["background-color"]="rgba( 255, 255, 255, .4 )",i.appendChild(l),t.call(this,{element:i,target:n.target}),l.addEventListener("click",this.handleMeasureTool.bind(this),!1)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.handleMeasureTool=function(){this.getMap().measureModeIsEnabled=!this.getMap().measureModeIsEnabled},e}(a.a),this.recenterBboxControl=function(t){function e(e){var n=e||{},l=document.createElement("button");l.innerHTML='<ion-icon name="md-qr-scanner"></ion-icon>';var i=document.createElement("div");i.className="reset-bbox ol-unselectable ol-control",i.appendChild(l),t.call(this,{element:i,target:n.target}),l.addEventListener("click",this.handleRecenterBbox.bind(this),!1)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.handleRecenterBbox=function(){const t=this.getMap();if(t.defaultBbox.zoom&&t.getView().setZoom(t.defaultBbox.zoom),t.defaultBbox.lon&&t.defaultBbox.lat){const e=Object(l.d)([parseFloat(t.defaultBbox.lon)||0,parseFloat(t.defaultBbox.lat)||0]);t.getView().setCenter(e)}},e}(a.a)}ngOnInit(){this.mapService.getMap().measureModeIsEnabled=!1,this.mapService.getMap().defaultBbox={zoom:null,lon:null,lat:null},this.mapService.getMap().setTarget(this.mapElement.nativeElement),this.setControl(),this.setMousePosition(),this.setCenterAndZoomMap(),this.readUrlQuery()}setCenterAndZoomMap(){if(this.lon&&this.lat){const t=Object(l.d)([parseFloat(this.lon)||0,parseFloat(this.lat)||0]);this.mapService.getView().setCenter(t),this.mapService.getMap().defaultBbox.lon=this.lon,this.mapService.getMap().defaultBbox.lat=this.lat}this.zoom&&(this.mapService.getView().setZoom(this.zoom),this.mapService.getMap().defaultBbox.zoom=this.zoom)}readUrlQuery(){this.route.queryParams.subscribe(t=>{if(t.center){const e=JSON.parse(t.center);this.mapService.getView().setCenter(e)}if(t.zoom){const e=JSON.parse(t.zoom);this.mapService.getView().setZoom(e)}if(t.context)try{const e=JSON.parse(t.context);this.setPermalinkContext(e)}catch(e){console.error(e)}})}setPermalinkContext(t){const e=Object.keys(t);this.aircraftService.aircraftControllerGetAircrafts({icaos:e}).subscribe(e=>{e.data.forEach(e=>{const n=new s.a(e);this.trafficService.addAircraft(n);const l=t[n.icao];l.status.indexOf(u.a.WATCH)>=0&&this.selectAircraftService.watchAircraft(n),l.status.indexOf(u.a.SELECT)>=0&&this.selectAircraftService.selectAircraft(n).then(()=>{l.status.indexOf(u.a.FOLLOW)>=0&&this.selectAircraftService.followAircraft(),l.status.indexOf(u.a.TRAJECTORY_LINE)>=0&&this.selectAircraftService.trajectoryLineAircraft(),l.status.indexOf(u.a.TRAJECTORY)>=0&&this.selectAircraftService.trajectoryAircraft(),l.status.indexOf(u.a.INTERCEPTION)>=0&&(this.selectAircraftService.interceptionAircraft(),l.metas.selectedPlot)&&this.selectAircraftService.getAircraftSelected().addMeta("selectedPlot",l.metas.selectedPlot)})})})}setControl(){this.mapService.getMap().addControl(new this.measureControl({})),this.mapService.getMap().addControl(new this.recenterBboxControl({})),this.mapService.getMap().addControl(new i.a({collapsible:!0}))}setMousePosition(){this.mapService.getMap().addControl(new r.a({coordinateFormat:t=>this.getCoordinates(t),projection:"EPSG:4326",undefinedHTML:"&nbsp;",target:this.positionEl.nativeElement}))}resizeMap(){this.mapService.getMap().updateSize()}getCoordinates(t){let e="";const n=c("latlong","mgrs",5);e+=d(t[1],t[0]).format("-dd"),e+="</br>",e+=d(t[1],t[0]).format("DD mmX ",{latLonSeparator:"",decimalPlaces:2}),e+="</br>",e+=Object(o.e)(t,0),e+="</br>";try{let l=n(t[1],t[0],5);l=l.slice(0,3)+" "+l.slice(3,5)+" "+l.slice(5,10)+" "+l.slice(10),e+=l}catch(l){e+="No MGRS 84\xb0N ,-80\xb0S"}return e}}},Aplp:function(t,e,n){"use strict";var l,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r={},o=0,a=0;function s(t){var e="";do{e=i[t%64]+e,t=Math.floor(t/64)}while(t>0);return e}function u(){var t=s(+new Date);return t!==l?(o=0,l=t):t+"."+s(o++)}for(;a<64;a++)r[i[a]]=a;u.encode=s,u.decode=function(t){var e=0;for(a=0;a<t.length;a++)e=64*e+r[t.charAt(a)];return e},t.exports=u},AvvY:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},AyJq:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return d}));var l=n("8Y7J"),i=(n("c9fC"),n("SVse")),r=(n("5Bek"),n("zMNK")),o=(n("8bJo"),n("omvX"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}}));function a(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function s(t){return l.Yb(2,[l.Ub(671088640,1,{_body:0}),l.Ob(null,0),(t()(),l.Db(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(t,e,n){var l=!0;return"@bodyExpansion.done"===e&&(l=!1!==t.component._bodyAnimationDone.next(n)&&l),l}),null,null)),(t()(),l.Db(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),l.Ob(null,1),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(6,212992,null,0,r.c,[l.m,l.Y],{portal:[0,"portal"]},null),l.Ob(null,2)],(function(t,e){t(e,6,0,e.component._portal)}),(function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)}))}var u=l.Bb({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component._getExpandedState())}))}function d(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),l.Ob(null,0),l.Ob(null,1),l.Ob(null,2),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,5,0,e.component._showToggle())}),null)}},Azqq:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return p}));var l=n("8Y7J"),i=(n("JjoW"),n("SVse")),r=n("QQfA"),o=n("IP0z"),a=(n("POq0"),n("zMNK"),n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("HsOI"),n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}}));function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function c(t){return l.Yb(0,[l.Ob(null,0),(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(3,16384,null,0,i.t,[l.Y,l.U,i.r],null,null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),l.Db(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"@transformPanel.done"===e&&(l=!1!==i._panelDoneAnimatingStream.next(n.toState)&&l),"keydown"===e&&(l=!1!==i._handleKeydown(n)&&l),l}),null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Ob(null,1)],(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function p(t){return l.Yb(2,[l.Ub(671088640,1,{trigger:0}),l.Ub(671088640,2,{panel:0}),l.Ub(671088640,3,{overlayDir:0}),(t()(),l.Db(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggle()&&l),l}),null,null)),l.Cb(4,16384,[["origin",4]],0,r.b,[l.p],null,null),(t()(),l.Db(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),l.Cb(6,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(8,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(10,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.Db(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,(function(t,e,n){var l=!0,i=t.component;return"backdropClick"===e&&(l=!1!==i.close()&&l),"attach"===e&&(l=!1!==i._onAttached()&&l),"detach"===e&&(l=!1!==i.close()&&l),l}),h)),l.Cb(14,671744,[[3,4]],0,r.a,[r.c,l.U,l.Y,r.j,[2,o.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,l.Pb(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}},B2q1:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("OQAH"),o=n("zX6e"),a=n("CZmH"),s=n("AdTM"),u=n("GvmM"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{element:document.createElement("div"),render:l.render||h,target:l.target})||this).ulElement_=document.createElement("ul"),n.collapsed_=void 0===l.collapsed||l.collapsed,n.overrideCollapsible_=void 0!==l.collapsible,n.collapsible_=void 0===l.collapsible||l.collapsible,n.collapsible_||(n.collapsed_=!1);var i=void 0!==l.className?l.className:"ol-attribution",r=void 0!==l.tipLabel?l.tipLabel:"Attributions",a=void 0!==l.collapseLabel?l.collapseLabel:"\xbb";"string"==typeof a?(n.collapseLabel_=document.createElement("span"),n.collapseLabel_.textContent=a):n.collapseLabel_=a;var u=void 0!==l.label?l.label:"i";"string"==typeof u?(n.label_=document.createElement("span"),n.label_.textContent=u):n.label_=u;var c=n.collapsible_&&!n.collapsed_?n.collapseLabel_:n.label_,d=document.createElement("button");d.setAttribute("type","button"),d.title=r,d.appendChild(c),d.addEventListener(s.a.CLICK,n.handleClick_.bind(n),!1);var p=n.element;return p.className=i+" "+o.e+" "+o.b+(n.collapsed_&&n.collapsible_?" "+o.a:"")+(n.collapsible_?"":" ol-uncollapsible"),p.appendChild(n.ulElement_),p.appendChild(d),n.renderedAttributions_=[],n.renderedVisible_=!0,n}return c(e,t),e.prototype.collectSourceAttributions_=function(t){for(var e={},n=[],l=t.layerStatesArray,i=0,r=l.length;i<r;++i){var o=l[i];if(Object(u.b)(o,t.viewState)){var a=o.layer.getSource();if(a){var s=a.getAttributions();if(s){var c=s(t);if(c)if(this.overrideCollapsible_||!1!==a.getAttributionsCollapsible()||this.setCollapsible(!1),Array.isArray(c))for(var d=0,h=c.length;d<h;++d)c[d]in e||(n.push(c[d]),e[c[d]]=!0);else c in e||(n.push(c),e[c]=!0)}}}}return n},e.prototype.updateElement_=function(t){if(t){var e=this.collectSourceAttributions_(t),n=e.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!Object(i.b)(e,this.renderedAttributions_)){Object(a.d)(this.ulElement_);for(var l=0,r=e.length;l<r;++l){var o=document.createElement("li");o.innerHTML=e[l],this.ulElement_.appendChild(o)}this.renderedAttributions_=e}}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},e.prototype.handleClick_=function(t){t.preventDefault(),this.handleToggle_()},e.prototype.handleToggle_=function(){this.element.classList.toggle(o.a),this.collapsed_?Object(a.g)(this.collapseLabel_,this.label_):Object(a.g)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_},e.prototype.getCollapsible=function(){return this.collapsible_},e.prototype.setCollapsible=function(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.collapsed_&&this.handleToggle_())},e.prototype.setCollapsed=function(t){this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()},e.prototype.getCollapsed=function(){return this.collapsed_},e}(r.a);function h(t){this.updateElement_(t.frameState)}e.a=d},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BBQo:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i}));var l=42,i=256},BF0p:function(t,e,n){"use strict";e.a={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},BJ1j:function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("Uhtb"),o=n("9iPr"),a=n("mrzG"),s=n("tYnX"),u=n("l2lA"),c=n("q7cr"),d=n("u2yf"),h=n("HEh+"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n){var l=t.call(this)||this;return l.maxDelta_=-1,l.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?l.setCoordinates(e,n):l.setFlatCoordinates(n,e),l}return p(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(i.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.e)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.d)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.getArea=function(){return Object(s.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinates=function(){return Object(d.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=Object(h.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,r.a.XY)},e.prototype.getType=function(){return o.a.LINEAR_RING},e.prototype.intersectsExtent=function(t){return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(a.a);e.a=f},BV1i:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("GS7A"),n("KCVW"),n("dvZr"),n("hOhj"),n("8Y7J"),n("XNiG"),n("xgIS"),n("VRyK"),n("pLZG"),n("1G5W"),n("/uUt"),n("lJxs"),n("IzEk"),n("JX91"),n("Kj3r");class l{}},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,l,i){var r=t+" ";switch(l){case"s":return n||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?r+(n||i?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?r+(n||i?"m\xedn\xfatur":"m\xedn\xfatum"):n?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return e(t)?r+(n||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?r+"dagar":r+(i?"daga":"d\xf6gum"):n?r+"dagur":r+(i?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?r+"m\xe1nu\xf0ir":r+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?r+"m\xe1nu\xf0ur":r+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||i?"\xe1r":"\xe1ri";case"yy":return e(t)?r+(n||i?"\xe1r":"\xe1rum"):r+(n||i?"\xe1r":"\xe1ri")}}t.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Blz8:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t,e){return null==t?"???":t}}},Bw0W:function(t,e,n){"use strict";e.a={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}},BxA5:function(t,e,n){"use strict";var l,i=n("WS2v"),r=n("4mld"),o=n("aY/Z"),a=n("zX6e"),s=n("CZmH"),u=n("Ho3V"),c=n("CvXi"),d=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e){var n=t.call(this)||this;n.options=e,n.id=e.id,n.insertFirst=void 0===e.insertFirst||e.insertFirst,n.stopEvent=void 0===e.stopEvent||e.stopEvent,n.element=document.createElement("div"),n.element.className=void 0!==e.className?e.className:"ol-overlay-container "+a.d,n.element.style.position="absolute";var l=e.autoPan;return l&&"object"!=typeof l&&(l={animation:e.autoPanAnimation,margin:e.autoPanMargin}),n.autoPan=l||!1,n.rendered={transform_:"",visible:!0},n.mapPostrenderListenerKey=null,n.addEventListener(Object(r.b)("element"),n.handleElementChanged),n.addEventListener(Object(r.b)("map"),n.handleMapChanged),n.addEventListener(Object(r.b)("offset"),n.handleOffsetChanged),n.addEventListener(Object(r.b)("position"),n.handlePositionChanged),n.addEventListener(Object(r.b)("positioning"),n.handlePositioningChanged),void 0!==e.element&&n.setElement(e.element),n.setOffset(void 0!==e.offset?e.offset:[0,0]),n.setPositioning(void 0!==e.positioning?e.positioning:o.a.TOP_LEFT),void 0!==e.position&&n.setPosition(e.position),n}return d(e,t),e.prototype.getElement=function(){return this.get("element")},e.prototype.getId=function(){return this.id},e.prototype.getMap=function(){return this.get("map")},e.prototype.getOffset=function(){return this.get("offset")},e.prototype.getPosition=function(){return this.get("position")},e.prototype.getPositioning=function(){return this.get("positioning")},e.prototype.handleElementChanged=function(){Object(s.d)(this.element);var t=this.getElement();t&&this.element.appendChild(t)},e.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&(Object(s.e)(this.element),Object(u.c)(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var t=this.getMap();if(t){this.mapPostrenderListenerKey=Object(u.a)(t,i.a.POSTRENDER,this.render,this),this.updatePixelPosition();var e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}},e.prototype.render=function(){this.updatePixelPosition()},e.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},e.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.performAutoPan()},e.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},e.prototype.setElement=function(t){this.set("element",t)},e.prototype.setMap=function(t){this.set("map",t)},e.prototype.setOffset=function(t){this.set("offset",t)},e.prototype.setPosition=function(t){this.set("position",t)},e.prototype.performAutoPan=function(){this.autoPan&&this.panIntoView(this.autoPan)},e.prototype.panIntoView=function(t){var e=this.getMap();if(e&&e.getTargetElement()&&this.get("position")){var n=this.getRect(e.getTargetElement(),e.getSize()),l=this.getElement(),i=this.getRect(l,[Object(s.c)(l),Object(s.b)(l)]),r=void 0===t.margin?20:t.margin;if(!Object(c.g)(n,i)){var o=i[0]-n[0],a=n[2]-i[2],u=i[1]-n[1],d=n[3]-i[3],h=[0,0];if(o<0?h[0]=o-r:a<0&&(h[0]=Math.abs(a)+r),u<0?h[1]=u-r:d<0&&(h[1]=Math.abs(d)+r),0!==h[0]||0!==h[1]){var p=e.getView().getCenterInternal(),f=e.getPixelFromCoordinateInternal(p),b=[f[0]+h[0],f[1]+h[1]],m=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(b),duration:m.duration,easing:m.easing})}}}},e.prototype.getRect=function(t,e){var n=t.getBoundingClientRect(),l=n.left+window.pageXOffset,i=n.top+window.pageYOffset;return[l,i,l+e[0],i+e[1]]},e.prototype.setPositioning=function(t){this.set("positioning",t)},e.prototype.setVisible=function(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)},e.prototype.updatePixelPosition=function(){var t=this.getMap(),e=this.getPosition();if(t&&t.isRendered()&&e){var n=t.getPixelFromCoordinate(e),l=t.getSize();this.updateRenderedPosition(n,l)}else this.setVisible(!1)},e.prototype.updateRenderedPosition=function(t,e){var n=this.element.style,l=this.getOffset(),i=this.getPositioning();this.setVisible(!0);var r=Math.round(t[0]+l[0])+"px",a=Math.round(t[1]+l[1])+"px",s="0%",u="0%";i==o.a.BOTTOM_RIGHT||i==o.a.CENTER_RIGHT||i==o.a.TOP_RIGHT?s="-100%":i!=o.a.BOTTOM_CENTER&&i!=o.a.CENTER_CENTER&&i!=o.a.TOP_CENTER||(s="-50%"),i==o.a.BOTTOM_LEFT||i==o.a.BOTTOM_CENTER||i==o.a.BOTTOM_RIGHT?u="-100%":i!=o.a.CENTER_LEFT&&i!=o.a.CENTER_CENTER&&i!=o.a.CENTER_RIGHT||(u="-50%");var c="translate("+s+", "+u+") translate("+r+", "+a+")";this.rendered.transform_!=c&&(this.rendered.transform_=c,n.transform=c,n.msTransform=c)},e.prototype.getOptions=function(){return this.options},e}(r.a);e.a=h},ByF4:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BzsH:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("Xd0L");class l{}},C2QD:function(t,e){function n(t){this.ms=(t=t||{}).min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},CIKq:function(t,e,n){var l,i,r=n("Gbct"),o=n("Wm4p"),a=n("TypT"),s=n("Yvos"),u=n("Aplp"),c=n("HjK1")("engine.io-client:websocket");if("undefined"!=typeof WebSocket?l=WebSocket:"undefined"!=typeof self&&(l=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{i=n(1)}catch(p){}var d=l||i;function h(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=l&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(d=i),r.call(this,t)}t.exports=h,s(h,r),h.prototype.name="websocket",h.prototype.supportsBinary=!0,h.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={};this.isReactNative||(n.agent=this.agent,n.perMessageDeflate=this.perMessageDeflate,n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new d(t,e):new d(t):new d(t,e,n)}catch(l){return this.emit("error",l)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},h.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},h.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,l=0,i=n;l<i;l++)!function(t){o.encodePacket(t,e.supportsBinary,(function(l){if(!e.usingBrowserWebSocket){var i={};t.options&&(i.compress=t.options.compress),e.perMessageDeflate&&("string"==typeof l?Buffer.byteLength(l):l.length)<e.perMessageDeflate.threshold&&(i.compress=!1)}try{e.usingBrowserWebSocket?e.ws.send(l):e.ws.send(l,i)}catch(p){c("websocket closed before onclose event")}--n||(e.emit("flush"),setTimeout((function(){e.writable=!0,e.emit("drain")}),0))}))}(t[l])},h.prototype.onClose=function(){r.prototype.onClose.call(this)},h.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},h.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",n="";return this.port&&("wss"===e&&443!==Number(this.port)||"ws"===e&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=u()),this.supportsBinary||(t.b64=1),(t=a.encode(t)).length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t},h.prototype.check=function(){return!(!d||"__initialize"in d&&this.name===h.prototype.name)}},CJuc:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.ReplaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.DeleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.UpdateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.GetManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area",t.CreateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area",t.CreateManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},CUme:function(t,e,n){var l=n("Gbct"),i=n("TypT"),r=n("Wm4p"),o=n("Yvos"),a=n("Aplp"),s=n("HjK1")("engine.io-client:polling");t.exports=c;var u=null!=new(n("AdPF"))({xdomain:!1}).responseType;function c(t){u&&!(t&&t.forceBase64)||(this.supportsBinary=!1),l.call(this,t)}o(c,l),c.prototype.name="polling",c.prototype.doOpen=function(){this.poll()},c.prototype.pause=function(t){var e=this;function n(){s("paused"),e.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var l=0;this.polling&&(s("we are currently polling - waiting to pause"),l++,this.once("pollComplete",(function(){s("pre-pause polling complete"),--l||n()}))),this.writable||(s("we are currently writing - waiting to pause"),l++,this.once("drain",(function(){s("pre-pause writing complete"),--l||n()})))}else n()},c.prototype.poll=function(){s("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},c.prototype.onData=function(t){var e=this;s("polling got data %s",t),r.decodePayload(t,this.socket.binaryType,(function(t,n,l){if("opening"===e.readyState&&"open"===t.type&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():s('ignoring poll - transport state "%s"',this.readyState))},c.prototype.doClose=function(){var t=this;function e(){s("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(s("transport open - closing"),e()):(s("transport not open - deferring close"),this.once("open",e))},c.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit("drain")};r.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},c.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(t[this.timestampParam]=a()),this.supportsBinary||t.sid||(t.b64=1),t=i.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(n=":"+this.port),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t}},CZmH:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"g",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"f",(function(){return c}));var l=n("YX0d");function i(t,e,n){var i=n&&n.length?n.shift():l.g?new OffscreenCanvas(t||300,e||300):document.createElement("canvas");return t&&(i.width=t),e&&(i.height=e),i.getContext("2d")}function r(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+(parseInt(n.marginLeft,10)+parseInt(n.marginRight,10))}function o(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+(parseInt(n.marginTop,10)+parseInt(n.marginBottom,10))}function a(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function s(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function u(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function c(t,e){for(var n=t.childNodes,l=0;;++l){var i=n[l],r=e[l];if(!i&&!r)break;i!==r&&(i?r?t.insertBefore(r,i):(t.removeChild(i),--l):t.appendChild(r))}}},Ca9r:function(t,e,n){"use strict";var l,i=n("GvmM"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e){return t.call(this,e||{})||this}return r(e,t),e}(i.a),a=n("pQSv"),s=n("SW/M"),u=n("CvXi"),c=n("JW8z"),d=n("E35u"),h=n("qJZF"),p=n("3er3"),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),b=function(t){function e(e){var n=t.call(this,e)||this;return n.image_=null,n}return f(e,t),e.prototype.getImage=function(){return this.image_?this.image_.getImage():null},e.prototype.prepareFrame=function(t){var e=t.layerStatesArray[t.layerIndex],n=t.pixelRatio,l=t.viewState,i=l.resolution,r=this.getLayer().getSource(),o=t.viewHints,d=t.extent;if(void 0!==e.extent&&(d=Object(u.B)(d,Object(c.f)(e.extent,l.projection))),!o[s.a.ANIMATING]&&!o[s.a.INTERACTING]&&!Object(u.H)(d))if(r){var h=l.projection;if(!a.a){var p=r.getProjection();p&&(h=p)}var f=r.getImage(d,i,n,h);f&&this.loadImage(f)&&(this.image_=f)}else this.image_=null;return!!this.image_},e.prototype.renderFrame=function(t,e){var n=this.image_,l=n.getExtent(),i=n.getResolution(),r=n.getPixelRatio(),o=t.layerStatesArray[t.layerIndex],a=t.pixelRatio,s=t.viewState,d=s.center,f=t.size,b=a*i/(s.resolution*r),m=Math.round(f[0]*a),g=Math.round(f[1]*a),_=s.rotation;if(_){var y=Math.round(Math.sqrt(m*m+g*g));m=y,g=y}Object(h.b)(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/a,1/a,_,-m/2,-g/2),Object(h.d)(this.inversePixelTransform,this.pixelTransform);var A=Object(p.b)(this.pixelTransform);this.useContainer(e,A,o.opacity);var v=this.context,C=v.canvas;C.width!=m||C.height!=g?(C.width=m,C.height=g):this.containerReused||v.clearRect(0,0,m,g);var w=!1;if(o.extent){var P=Object(c.f)(o.extent,s.projection);(w=!Object(u.g)(P,t.extent)&&Object(u.F)(P,t.extent))&&this.clipUnrotated(v,t,P)}var x=n.getImage(),S=Object(h.b)(this.tempTransform_,m/2,g/2,b,b,0,r*(l[0]-d[0])/i,r*(d[1]-l[3])/i);this.renderedResolution=i*a/r;var k=S[4],M=S[5],O=x.width*S[0],D=x.height*S[3];if(this.preRender(v,t),O>=.5&&D>=.5){var T=o.opacity,E=void 0;1!==T&&(E=this.context.globalAlpha,this.context.globalAlpha=T),this.context.drawImage(x,0,0,+x.width,+x.height,Math.round(k),Math.round(M),Math.round(O),Math.round(D)),1!==T&&(this.context.globalAlpha=E)}return this.postRender(v,t),w&&v.restore(),A!==C.style.transform&&(C.style.transform=A),this.container},e}(d.a),m=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),g=function(t){function e(e){return t.call(this,e)||this}return m(e,t),e.prototype.createRenderer=function(){return new b(this)},e}(o),_=n("wtMG"),y=n("4mld"),A=function(t){y.a.call(this,t=t||{}),this.size_=t.size||8e4,this.origin_=t.origin||[0,0],this.layout_=this.layout[t.layout]||this.layout.pointy};Object(_.a)(A,y.a),A.prototype.layout={pointy:[Math.sqrt(3),Math.sqrt(3)/2,0,1.5,Math.sqrt(3)/3,-1/3,0,2/3,Math.cos(Math.PI/180*30),Math.sin(Math.PI/180*30),Math.cos(Math.PI/180*90),Math.sin(Math.PI/180*90),Math.cos(Math.PI/180*150),Math.sin(Math.PI/180*150),Math.cos(Math.PI/180*210),Math.sin(Math.PI/180*210),Math.cos(Math.PI/180*270),Math.sin(Math.PI/180*270),Math.cos(Math.PI/180*330),Math.sin(Math.PI/180*330)],flat:[1.5,0,Math.sqrt(3)/2,Math.sqrt(3),2/3,0,-1/3,Math.sqrt(3)/3,Math.cos(Math.PI/180*0),Math.sin(Math.PI/180*0),Math.cos(Math.PI/180*60),Math.sin(Math.PI/180*60),Math.cos(Math.PI/180*120),Math.sin(Math.PI/180*120),Math.cos(Math.PI/180*180),Math.sin(Math.PI/180*180),Math.cos(Math.PI/180*240),Math.sin(Math.PI/180*240),Math.cos(Math.PI/180*300),Math.sin(Math.PI/180*300)]},A.prototype.setLayout=function(t){this.layout_=this.layout[t]||this.layout.pointy,this.changed()},A.prototype.getLayout=function(){return 0!=this.layout_[9]?"pointy":"flat"},A.prototype.setOrigin=function(t){this.origin_=t,this.changed()},A.prototype.getOrigin=function(){return this.origin_},A.prototype.setSize=function(t){this.size_=t||8e4,this.changed()},A.prototype.getSize=function(){return this.size_},A.prototype.cube2hex=function(t){return[t[0],t[2]]},A.prototype.hex2cube=function(t){return[t[0],-t[0]-t[1],t[1]]},A.prototype.hex2offset=function(t){return this.layout_[9]?[t[0]+(t[1]-(1&t[1]))/2,t[1]]:[t[0],t[1]+(t[0]+(1&t[0]))/2]},A.prototype.offset2hex=function(t){return this.layout_[9]?[t[0]-(t[1]-(1&t[1]))/2,t[1]]:[t[0],t[1]-(t[0]+(1&t[0]))/2]},A.prototype.cube_round=function(t){var e=Math.round(t[0]),n=Math.round(t[1]),l=Math.round(t[2]),i=Math.abs(e-t[0]),r=Math.abs(n-t[1]),o=Math.abs(l-t[2]);return i>r&&i>o?e=-n-l:r>o?n=-e-l:l=-e-n,[e,n,l]},A.prototype.hex_round=function(t){return this.cube2hex(this.cube_round(this.hex2cube(t)))},A.prototype.hex_corner=function(t,e,n){return[t[0]+e*this.layout_[8+n%6*2],t[1]+e*this.layout_[9+n%6*2]]},A.prototype.getHexagonAtCoord=function(t){return this.getHexagon(this.coord2hex(t))},A.prototype.getHexagon=function(t){for(var e=[],n=this.hex2coord(t),l=0;l<=7;l++)e.push(this.hex_corner(n,this.size_,l,this.layout_[8]));return e},A.prototype.hex2coord=function(t){return[this.origin_[0]+this.size_*(this.layout_[0]*t[0]+this.layout_[1]*t[1]),this.origin_[1]+this.size_*(this.layout_[2]*t[0]+this.layout_[3]*t[1])]},A.prototype.coord2hex=function(t){var e=[(t[0]-this.origin_[0])/this.size_,(t[1]-this.origin_[1])/this.size_];return this.hex_round([this.layout_[4]*e[0]+this.layout_[5]*e[1],this.layout_[6]*e[0]+this.layout_[7]*e[1]])},A.prototype.cube_distance=function(t,e){return Math.max(Math.abs(t[0]-e[0]),Math.abs(t[1]-e[1]),Math.abs(t[2]-e[2]))},function(){function t(t,e,n){return t+(e-t)*n}function e(e,n,l){return[t(e[0]+1e-6,n[0],l),t(e[1]+1e-6,n[1],l),t(e[2]+1e-6,n[2],l)]}A.prototype.cube_line=function(t,n){var l=this.cube_distance(t,n);if(!l)return[t];for(var i=[],r=0;r<=l;r++)i.push(this.cube_round(e(t,n,r/l)));return i}}(),A.prototype.neighbors={cube:[[1,-1,0],[1,0,-1],[0,1,-1],[-1,1,0],[-1,0,1],[0,-1,1]],hex:[[1,0],[1,-1],[0,-1],[-1,0],[-1,1],[0,1]]},A.prototype.hex_neighbors=function(t,e){if(void 0!==e)return[t[0]+this.neighbors.hex[e%6][0],t[1]+this.neighbors.hex[e%6][1]];var n=[];for(e=0;e<6;e++)n.push([t[0]+this.neighbors.hex[e][0],t[1]+this.neighbors.hex[e][1]]);return n},A.prototype.cube_neighbors=function(t,e){if(void 0!==e)return[t[0]+this.neighbors.cube[e%6][0],t[1]+this.neighbors.cube[e%6][1],t[2]+this.neighbors.cube[e%6][2]];var n=[];for(e=0;e<6;e++)n.push([t[0]+this.neighbors.cube[e][0],t[1]+this.neighbors.cube[e][1],t[2]+this.neighbors.cube[e][2]]);for(e=0;e<6;e++)n[e]=this.cube2hex(n[e]);return n};var v=A,C=n("h3hZ"),w=n("hp/u"),P=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),x=function(t){function e(e,n,l,i,r){var o=this;return(o=t.call(this,e,n,l,void 0!==r?w.a.IDLE:w.a.LOADED)||this).loader_=void 0!==r?r:null,o.canvas_=i,o.error_=null,o}return P(e,t),e.prototype.getError=function(){return this.error_},e.prototype.handleLoad_=function(t){t?(this.error_=t,this.state=w.a.ERROR):this.state=w.a.LOADED,this.changed()},e.prototype.load=function(){this.state==w.a.IDLE&&(this.state=w.a.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))},e.prototype.getImage=function(){return this.canvas_},e}(C.a),S=n("EwAT"),k=n("n15R"),M=n("zvco"),O=n("Ho3V"),D=n("AdTM"),T=n("PIFQ"),E=n("tzl+"),I=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),L=function(t){function e(e,n,l,i,r,o){var s=this,c=e.getExtent(),d=n.getExtent(),h=d?Object(u.B)(l,d):l,p=Object(u.x)(h),f=Object(T.a)(e,n,p,i),b=new E.a(e,n,h,c,f*a.b,i),m=o(b.calculateSourceExtent(),f,r),g=m?w.a.IDLE:w.a.EMPTY,_=m?m.getPixelRatio():1;return(s=t.call(this,l,i,_,g)||this).targetProj_=n,s.maxSourceExtent_=c,s.triangulation_=b,s.targetResolution_=i,s.targetExtent_=l,s.sourceImage_=m,s.sourcePixelRatio_=_,s.canvas_=null,s.sourceListenerKey_=null,s}return I(e,t),e.prototype.disposeInternal=function(){this.state==w.a.LOADING&&this.unlistenSource_(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.canvas_},e.prototype.getProjection=function(){return this.targetProj_},e.prototype.reproject_=function(){var t=this.sourceImage_.getState();if(t==w.a.LOADED){var e=Object(u.E)(this.targetExtent_)/this.targetResolution_,n=Object(u.A)(this.targetExtent_)/this.targetResolution_;this.canvas_=Object(T.b)(e,n,this.sourcePixelRatio_,this.sourceImage_.getResolution(),this.maxSourceExtent_,this.targetResolution_,this.targetExtent_,this.triangulation_,[{extent:this.sourceImage_.getExtent(),image:this.sourceImage_.getImage()}],0)}this.state=t,this.changed()},e.prototype.load=function(){if(this.state==w.a.IDLE){this.state=w.a.LOADING,this.changed();var t=this.sourceImage_.getState();t==w.a.LOADED||t==w.a.ERROR?this.reproject_():(this.sourceListenerKey_=Object(O.a)(this.sourceImage_,D.a.CHANGE,(function(t){var e=this.sourceImage_.getState();e!=w.a.LOADED&&e!=w.a.ERROR||(this.unlistenSource_(),this.reproject_())}),this),this.sourceImage_.load())}},e.prototype.unlistenSource_=function(){Object(O.c)(this.sourceListenerKey_),this.sourceListenerKey_=null},e}(C.a),j=n("/4Cu"),R=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),F=function(t){function e(e,n){var l=t.call(this,e)||this;return l.image=n,l}return R(e,t),e}(M.a),N=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,projection:e.projection,state:e.state})||this;return n.resolutions_=void 0!==e.resolutions?e.resolutions:null,n.reprojectedImage_=null,n.reprojectedRevision_=0,n}return R(e,t),e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.findNearestResolution=function(t){if(this.resolutions_){var e=Object(k.f)(this.resolutions_,t,0);t=this.resolutions_[e]}return t},e.prototype.getImage=function(t,e,n,l){var i=this.getProjection();if(a.a&&i&&l&&!Object(c.c)(i,l)){if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&Object(c.c)(this.reprojectedImage_.getProjection(),l)&&this.reprojectedImage_.getResolution()==e&&Object(u.p)(this.reprojectedImage_.getExtent(),t))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new L(i,l,t,e,n,(function(t,e,n){return this.getImageInternal(t,e,n,i)}).bind(this)),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}return i&&(l=i),this.getImageInternal(t,e,n,l)},e.prototype.getImageInternal=function(t,e,n,l){return Object(S.b)()},e.prototype.handleImageChange=function(t){var e=t.target;switch(e.getState()){case w.a.LOADING:this.loading=!0,this.dispatchEvent(new F("imageloadstart",e));break;case w.a.LOADED:this.loading=!1,this.dispatchEvent(new F("imageloadend",e));break;case w.a.ERROR:this.loading=!1,this.dispatchEvent(new F("imageloaderror",e))}},e}(j.a),Y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),U=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{attributions:l.attributions,projection:l.projection,resolutions:l.resolutions,state:l.state})||this).canvasFunction_=l.canvasFunction,n.canvas_=null,n.renderedRevision_=0,n.ratio_=void 0!==l.ratio?l.ratio:1.5,n}return Y(e,t),e.prototype.getImageInternal=function(t,e,n,l){e=this.findNearestResolution(e);var i=this.canvas_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==e&&i.getPixelRatio()==n&&Object(u.g)(i.getExtent(),t))return i;t=t.slice(),Object(u.J)(t,this.ratio_);var r=Object(u.E)(t)/e,o=Object(u.A)(t)/e,a=this.canvasFunction_.call(this,t,e,n,[r*n,o*n],l);return a&&(i=new x(t,e,n,a)),this.canvas_=i,this.renderedRevision_=this.getRevision(),i},e}(N),B=function(t){t=t||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.grid=t.hexGrid,this.grid.on("change",this.changed.bind(this)),U.call(this,{canvasFunction:this.drawHex})};Object(_.a)(B,U),B.prototype.drawHexagon=function(t,e,n,l,i,r,o){var a;t.beginPath(),r=r||6,o=o||0;for(var s=i=i||0;s<=r;s++)a=this.grid.hex_corner(e,n-o,s),s!=i?t.lineTo(a[0],a[1]):t.moveTo(a[0],a[1]);t.stroke(),l&&t.fill()},B.prototype.showCoordiantes=function(t){this.coordinates_=t,this.changed()},B.prototype.drawHex=function(t,e,n,l){var i,r,o,a,s,u=this.canvas.width=l[0],c=this.canvas.height=l[1];this.extent=t;var d=this.grid.getSize()/e;if(d<8){var h=document.createElement("canvas");i=h.getContext("2d");var p=2*Math.sqrt(3)*d*n*10,f=3*d*n*10;h.width=Math.round(p),h.height=Math.round(f),i.scale(n,n),i.lineWidth=1.5,i.fillStyle="transparent";var b=this.grid.coord2hex([t[0],t[3]]);for(r=-10;r<22;r++)for(o=-3;o<22;o++)(a=this.grid.hex2coord([b[0]+r,b[1]+o]))[0]=(a[0]-t[0])/e,a[1]=h.height-(a[1]-t[3])/e,i.strokeStyle="rgba(0,0,0,0.5)",this.drawHexagon(i,a,d,0,3),i.strokeStyle="rgba(255,255,255,0.8)",this.drawHexagon(i,a,d,!1,2,5,2),i.strokeStyle="rgba(0,0,0,0.3)",this.drawHexagon(i,a,d,!1,5,8,2);var m=document.createElement("canvas");i=m.getContext("2d"),m.width=Math.round(u+(p-h.width)*Math.floor(u/h.width)),m.height=Math.round(c+(f-h.height)*Math.floor(c/h.height)),i.fillStyle=i.createPattern(h,"repeat"),i.fillRect(0,0,m.width,m.height),this.context.drawImage(m,0,0,u,c,0,0,m.width,m.height)}else{(i=this.context).save();var g=this.grid.hex2offset(this.grid.coord2hex([t[0],t[1]])),_=this.grid.hex2offset(this.grid.coord2hex([t[2],t[3]]));for(i.scale(n,n),i.lineWidth=1.5,i.textAlign="center",i.textBaseline="middle",i.font="bold 12px Arial",r=g[0]-1;r<=_[0]+1;r++)for(o=g[1]-1;o<=_[1]+1;o++){var y=this.grid.offset2hex([r,o],this.layout_);if((a=this.grid.hex2coord(y))[0]=(a[0]-t[0])/e,a[1]=c/n-(a[1]-t[1])/e,i.strokeStyle="rgba(0,0,0,0.25)",this.drawHexagon(i,a,d),i.strokeStyle="rgba(255,255,255,0.8)",this.drawHexagon(i,a,d,!1,2,5,2),i.strokeStyle="rgba(0,0,0,0.3)",this.drawHexagon(i,a,d,!1,5,8,2),d>20)switch(this.coordinates_){case"axial":i.fillText(y[0]+","+y[1],a[0],a[1]);break;case"cube":s=this.grid.hex2cube(y);for(var A=0;A<3;A++){var v=-Math.PI/180*(120*A+30);i.fillText(s[A],a[0]+Math.cos(v)*d*.5,a[1]+Math.sin(v)*d*.5)}break;case"offset":s=this.grid.hex2offset(y),i.fillText(s[0]+","+s[1],a[0],a[1])}}i.restore()}return this.canvas};var z=B,G=n("TN97"),H=n("9ANI"),V=n("W8M7"),q=n("bHcU"),W=n("hoJM"),$=n("g6Z0"),X=n("gpXz"),K=n("wd/R"),J=n("WVt+"),Q=n("ppab");n("svHU"),n.d(e,"a",(function(){return Z}));class Z extends Q.a{constructor(t){super(),this.mapService=t,this.greatLineCirclesOfSector=[],this.extentFactor=1.3,this.previous={coords:null,speed:null,altitude:null,vsi:null},this.hexGrid=new v,this.hexGrid.setLayout("flat"),console.log("hexGrid:",this.hexGrid)}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayHexMap(t,e,n,l){const i=Object(c.d)([t.longitude,t.latitude]),r=this.kilometersPerHourToMetersPerMinute(this.knotsTokilometersPerHour(t.speed));1==(!this.previous.coords||this.previous.coords.join("|")!==[t.longitude,t.latitude].join("|")||this.previous.speed!==t.speed||this.previous.altitude!==t.altitude||this.previous.vsi!==t.vsi)&&(this.removeHexMap(),i!==this.hexGrid.getOrigin()&&this.hexGrid.setOrigin(i),r!==this.hexGrid.getSize()&&this.hexGrid.setSize(r),this.getContext(e,t,n,l),this.previous.coords=[t.longitude,t.latitude],this.previous.speed=t.speed,this.previous.altitude=t.altitude,this.previous.vsi=t.vsi)}getContext(t,e,n,l){const i=K().valueOf(),r=e.track||0,o=[e.longitude||0,e.latitude||0],a=J.point(o),s=Object(c.m)(t),u=J.point(s),d=this.getGrid(a,o,u,n,r),h=this.getCells(d,a,u,t,l);return console.log("- Total duration :",(K().valueOf()-i)/1e3,"sec"),h}getGrid(t,e,n,l,i){const r=this.buildExtent(e,t,n,this.extentFactor),o=J.bboxPolygon(r),a=this.getCubeLine(o.geometry.coordinates[0][0],o.geometry.coordinates[0][1]),s=this.getCubeLine(o.geometry.coordinates[0][3],o.geometry.coordinates[0][2]),u=this.getCursors(a,s),c=this.getRotatedFeatures(u,a,s,e,i);return this.getSectorContext(c,t,l)}getCells(t,e,n,l,i){const r=new H.a(l),o=t.map(t=>{const l=[t.geometry.coordinates[0].map(t=>Object(c.d)(t))],o=new V.a(l),a=new G.a({geometry:o});a.set("distance:",J.distance(e,n)),a.set("minute:",t.properties.minute);const s=!!a.getGeometry().intersectsExtent(r.getExtent());return a.setStyle(this.getSectorStyle(t.properties.minute,s,i)),a});return o.length&&this.source.addFeatures(o),o}getCubeLine(t,e){return this.hexGrid.cube_line(this.hexGrid.hex2cube(this.hexGrid.coord2hex(Object(c.d)(t))),this.hexGrid.hex2cube(this.hexGrid.coord2hex(Object(c.d)(e))))}getCursors(t,e){let n=t.length;return n!==e.length&&e.length<t.length&&(n=e.length),{start:Math.round(n/10*3),stop:Math.round(n-n/10*3)}}getSectorContext(t,e,n){let l={};const i=J.lineString(n);return t.forEach(t=>{J.booleanCrosses(i,t)&&(l[JSON.stringify(t.geometry.coordinates)]=t,this.greatLineCirclesOfSector.push(J.greatCircle(e,J.centroid(t))))}),t.forEach(t=>{l[JSON.stringify(t.geometry.coordinates)]||this.greatLineCirclesOfSector.some(e=>J.booleanCrosses(e,t))&&(l[JSON.stringify(t.geometry.coordinates)]=t)}),Object.values(l)}getRotatedFeatures(t,e,n,l,i){const r=[],o=this.hexGrid.hex2cube(this.hexGrid.coord2hex(this.hexGrid.getOrigin())),a=i>=0&&i<=180?i:-(360-i);for(let s=t.start;s<t.stop;s++){const t=this.hexGrid.cube_line(n[s],e[s]);let i=0;t.forEach(e=>{if(i+=1,i<=t.length/(2/this.extentFactor)){const t=this.hexGrid.cube_distance(e,o),n=this.hexGrid.getHexagon(this.hexGrid.cube2hex(e)),i=this.polygonTransform([n.slice(0,n.length-1)],"EPSG:3857","EPSG:4326"),s=J.polygon(i,{minute:t}),u=J.transformRotate(s,a,{pivot:l});r.push(u)}})}return r}buildExtent(t,e,n,l){l||(l=1);const i=J.distance(e,n),r=J.circle(t,i*l,{steps:256});return J.bbox(r)}removeHexMap(){super.getVectorSource().clear(),this.gridLayer&&(this.getGridLayer().clear(),this.gridLayer=void 0),this.gridSource=void 0,this.greatLineCirclesOfSector=[]}getSectorStyle(t,e,n){let l={stroke:new W.a(!0===e&&!0===n?{color:"white",width:2.5}:{color:"black",width:1})};return null!=t&&(l.text=new X.a({text:String(t),fill:new $.a({color:"white",opacity:.8})})),new q.b(l)}getGridLayer(){return this.gridLayer||(this.gridLayer=new g({source:this.getGridSource(),projection:"EPSG:3857",render:"image"}),this.gridLayer.setVisible(!1)),this.gridLayer}getGridSource(){return this.gridSource||(this.gridSource=new z({hexGrid:this.hexGrid})),this.gridSource}polygonTransform(t,e,n){for(let l in t)for(let i in t[l])t[l][i]=Object(c.p)(t[l][i],e,n);return t}knotsTokilometersPerHour(t){return 1.852*t}kilometersPerHourToMetersPerMinute(t){return t/.06}}},Cfvw:function(t,e,n){"use strict";var l=n("HDdC"),i=n("SeVD"),r=n("quSY"),o=n("kJWO"),a=n("jZKg"),s=n("Lhse"),u=n("c2HN"),c=n("I55L");function d(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new l.a(n=>{const l=new r.a;return l.add(e.schedule(()=>{const i=t[o.a]();l.add(i.subscribe({next(t){l.add(e.schedule(()=>n.next(t)))},error(t){l.add(e.schedule(()=>n.error(t)))},complete(){l.add(e.schedule(()=>n.complete()))}}))})),l})}(t,e);if(Object(u.a)(t))return function(t,e){return new l.a(n=>{const l=new r.a;return l.add(e.schedule(()=>t.then(t=>{l.add(e.schedule(()=>{n.next(t),l.add(e.schedule(()=>n.complete()))}))},t=>{l.add(e.schedule(()=>n.error(t)))}))),l})}(t,e);if(Object(c.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new l.a(n=>{const l=new r.a;let i;return l.add(()=>{i&&"function"==typeof i.return&&i.return()}),l.add(e.schedule(()=>{i=t[s.a](),l.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(l){return void n.error(l)}e?n.complete():(n.next(t),this.schedule())})))})),l})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof l.a?t:new l.a(Object(i.a)(t))}n.d(e,"a",(function(){return d}))},CgXW:function(t,e,n){var l,i,r;i=[n("Rj0l")],void 0===(r="function"==typeof(l=function(t){"use strict";var e={};function n(n,l,i){var r,o,a,s,u,c,d,h,p,f,b,m={};if(n=parseFloat(n),l=parseFloat(l),n>84||n<-80)return"undefined";if(l>180||l<-180||n>90||n<-90)throw"Bad input. lat: "+n+" lon: "+l;return o=n*e.DEG_2_RAD,a=l*e.DEG_2_RAD,s=(6*((r=i||t.getZoneNumber(n,l))-1)-180+3)*e.DEG_2_RAD,d=e.EQUATORIAL_RADIUS/Math.sqrt(1-e.ECC_SQUARED*Math.pow(Math.sin(o),2)),h=Math.pow(Math.tan(o),2),p=e.ECC_PRIME_SQUARED*Math.pow(Math.cos(o),2),f=Math.cos(o)*(a-s),b=e.EQUATORIAL_RADIUS*((1-e.ECC_SQUARED/4-e.ECC_SQUARED*e.ECC_SQUARED*3/64-e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED*5/256)*o-(3*e.ECC_SQUARED/8+3*e.ECC_SQUARED*e.ECC_SQUARED/32+45*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/1024)*Math.sin(2*o)+(15*e.ECC_SQUARED*e.ECC_SQUARED/256+45*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/1024)*Math.sin(4*o)-35*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/3072*Math.sin(6*o)),u=e.k0*d*(f+(1-h+p)*(f*f*f)/6+f*f*f*f*f*(5-18*h+h*h+72*p-58*e.ECC_PRIME_SQUARED)/120)+e.EASTING_OFFSET,(c=e.k0*(b+d*Math.tan(o)*(f*f/2+f*f*f*f*(5-h+9*p+4*p*p)/2+f*f*f*f*f*f*(61-58*h+h*h+600*p-330*e.ECC_PRIME_SQUARED)/720)))<0&&(c+=1e7),m.easting=Math.round(u),m.northing=Math.round(c),m.zoneNumber=r,m.zoneLetter=t.utmLetterDesignator(n),m.hemisphere=n<0?"S":"N",m}return function(l){return e=l,t=t(l),n}})?l.apply(e,i):l)||(t.exports=r)},CjzT:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},Cl5A:function(t,e,n){var l=n("CUme"),i=n("Yvos"),r=n("2UHX");t.exports=c;var o,a=/\n/g,s=/\\n/g;function u(){}function c(t){l.call(this,t),this.query=this.query||{},o||(o=r.___eio=r.___eio||[]),this.index=o.length;var e=this;o.push((function(t){e.onData(t)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){e.script&&(e.script.onerror=u)}),!1)}i(c,l),c.prototype.supportsBinary=!1,c.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),l.prototype.doClose.call(this)},c.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},c.prototype.doWrite=function(t,e){var n=this;if(!this.form){var l,i=document.createElement("form"),r=document.createElement("textarea"),o=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=o,i.method="POST",i.setAttribute("accept-charset","utf-8"),r.name="d",i.appendChild(r),document.body.appendChild(i),this.form=i,this.area=r}function u(){c(),e()}function c(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(t){n.onError("jsonp polling iframe removal error",t)}try{l=document.createElement('<iframe src="javascript:0" name="'+n.iframeId+'">')}catch(t){(l=document.createElement("iframe")).name=n.iframeId,l.src="javascript:0"}l.id=n.iframeId,n.form.appendChild(l),n.iframe=l}this.form.action=this.uri(),c(),t=t.replace(s,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(d){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&u()}:this.iframe.onload=u}},CoRJ:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},Cp04:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("n15R"),i=n("JfHk");function r(t,e,n,r,o,a,s){for(var u,c,d,h,p,f,b,m=o[a+1],g=[],_=0,y=n.length;_<y;++_){var A=n[_];for(h=t[A-r],f=t[A-r+1],u=e;u<A;u+=r)p=t[u],b=t[u+1],(m<=f&&b<=m||f<=m&&m<=b)&&g.push(d=(m-f)/(b-f)*(p-h)+h),h=p,f=b}var v=NaN,C=-1/0;for(g.sort(l.g),h=g[0],u=1,c=g.length;u<c;++u){p=g[u];var w=Math.abs(p-h);w>C&&(d=(h+p)/2,Object(i.c)(t,e,n,r,d,m)&&(v=d,C=w)),h=p}return isNaN(v)&&(v=o[a]),s?(s.push(v,m,C),s):[v,m,C]}function o(t,e,n,l,i){for(var o=[],a=0,s=n.length;a<s;++a){var u=n[a];o=r(t,e,u,l,i,2*a,o),e=u[u.length-1]}return o}},CvXi:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return d})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return p})),n.d(e,"j",(function(){return f})),n.d(e,"k",(function(){return b})),n.d(e,"l",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"n",(function(){return _})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return A})),n.d(e,"q",(function(){return v})),n.d(e,"r",(function(){return C})),n.d(e,"s",(function(){return w})),n.d(e,"t",(function(){return x})),n.d(e,"u",(function(){return S})),n.d(e,"v",(function(){return k})),n.d(e,"w",(function(){return M})),n.d(e,"x",(function(){return O})),n.d(e,"y",(function(){return D})),n.d(e,"z",(function(){return T})),n.d(e,"A",(function(){return E})),n.d(e,"B",(function(){return I})),n.d(e,"C",(function(){return L})),n.d(e,"D",(function(){return j})),n.d(e,"E",(function(){return R})),n.d(e,"F",(function(){return F})),n.d(e,"H",(function(){return N})),n.d(e,"I",(function(){return Y})),n.d(e,"J",(function(){return U})),n.d(e,"G",(function(){return B})),n.d(e,"a",(function(){return z})),n.d(e,"K",(function(){return G}));var l=n("kvpX"),i=n("OCB2"),r=n("BF0p");function o(t){for(var e=[1/0,1/0,-1/0,-1/0],n=0,l=t.length;n<l;++n)C(e,t[n]);return e}function a(t,e,n){return n?(n[0]=t[0]-e,n[1]=t[1]-e,n[2]=t[2]+e,n[3]=t[3]+e,n):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function s(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function u(t,e,n){var l,i;return(l=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*l+(i=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0)*i}function c(t,e){return h(t,e[0],e[1])}function d(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function h(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function p(t,e){var n=e[0],l=e[1],i=r.a.UNKNOWN;return n<t[0]?i|=r.a.LEFT:n>t[2]&&(i|=r.a.RIGHT),l<t[1]?i|=r.a.BELOW:l>t[3]&&(i|=r.a.ABOVE),i===r.a.UNKNOWN&&(i=r.a.INTERSECTING),i}function f(){return[1/0,1/0,-1/0,-1/0]}function b(t,e,n,l,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=l,i):[t,e,n,l]}function m(t){return b(1/0,1/0,-1/0,-1/0,t)}function g(t,e){var n=t[0],l=t[1];return b(n,l,n,l,e)}function _(t,e){return function(t,e){for(var n=0,l=e.length;n<l;++n)C(t,e[n]);return t}(m(e),t)}function y(t,e,n,l,i){return w(m(i),t,e,n,l)}function A(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function v(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function C(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function w(t,e,n,l,i){for(;n<l;n+=i)P(t,e[n],e[n+1]);return t}function P(t,e,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],n),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],n)}function x(t,e){var n;return(n=e(k(t)))||(n=e(M(t)))||(n=e(j(t)))?n:(n=e(L(t)))||!1}function S(t){var e=0;return N(t)||(e=R(t)*E(t)),e}function k(t){return[t[0],t[1]]}function M(t){return[t[2],t[1]]}function O(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function D(t,e){var n;return e===i.a.BOTTOM_LEFT?n=k(t):e===i.a.BOTTOM_RIGHT?n=M(t):e===i.a.TOP_LEFT?n=L(t):e===i.a.TOP_RIGHT?n=j(t):Object(l.a)(!1,13),n}function T(t,e,n,l,i){var r=e*l[0]/2,o=e*l[1]/2,a=Math.cos(n),s=Math.sin(n),u=r*a,c=r*s,d=o*a,h=o*s,p=t[0],f=t[1],m=p-u+h,g=p-u-h,_=p+u-h,y=p+u+h,A=f-c-d,v=f-c+d,C=f+c+d,w=f+c-d;return b(Math.min(m,g,_,y),Math.min(A,v,C,w),Math.max(m,g,_,y),Math.max(A,v,C,w),i)}function E(t){return t[3]-t[1]}function I(t,e,n){var l=n||[1/0,1/0,-1/0,-1/0];return F(t,e)?(l[0]=t[0]>e[0]?t[0]:e[0],l[1]=t[1]>e[1]?t[1]:e[1],l[2]=t[2]<e[2]?t[2]:e[2],l[3]=t[3]<e[3]?t[3]:e[3]):m(l),l}function L(t){return[t[0],t[3]]}function j(t){return[t[2],t[3]]}function R(t){return t[2]-t[0]}function F(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function N(t){return t[2]<t[0]||t[3]<t[1]}function Y(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function U(t,e){var n=(t[2]-t[0])/2*(e-1),l=(t[3]-t[1])/2*(e-1);t[0]-=n,t[2]+=n,t[1]-=l,t[3]+=l}function B(t,e,n){var l=!1,i=p(t,e),o=p(t,n);if(i===r.a.INTERSECTING||o===r.a.INTERSECTING)l=!0;else{var a=t[0],s=t[1],u=t[2],c=t[3],d=n[0],h=n[1],f=(h-e[1])/(d-e[0]),b=void 0,m=void 0;o&r.a.ABOVE&&!(i&r.a.ABOVE)&&(l=(b=d-(h-c)/f)>=a&&b<=u),l||!(o&r.a.RIGHT)||i&r.a.RIGHT||(l=(m=h-(d-u)*f)>=s&&m<=c),l||!(o&r.a.BELOW)||i&r.a.BELOW||(l=(b=d-(h-s)/f)>=a&&b<=u),l||!(o&r.a.LEFT)||i&r.a.LEFT||(l=(m=h-(d-a)*f)>=s&&m<=c)}return l}function z(t,e,n,l){var i=[];if(l>1)for(var r=t[2]-t[0],o=t[3]-t[1],a=0;a<l;++a)i.push(t[0]+r*a/l,t[1],t[2],t[1]+o*a/l,t[2]-r*a/l,t[3],t[0],t[3]-o*a/l);else i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(i,i,2);for(var s=[],u=[],c=(a=0,i.length);a<c;a+=2)s.push(i[a]),u.push(i[a+1]);return function(t,e,n){return b(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(s,u,n)}function G(t,e){var n=e.getExtent(),l=O(t);if(e.canWrapX()&&(l[0]<n[0]||l[0]>=n[2])){var i=R(n),r=Math.floor((l[0]-n[0])/i)*i;t[0]-=r,t[2]-=r}return t}},Cy2j:function(t,e,n){"use strict";var l=n("AdTM");e.a={SINGLECLICK:"singleclick",CLICK:l.a.CLICK,DBLCLICK:l.a.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"D/JM":function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("3N8a");const i=new(n("IjjT").a)(l.a)},D7iV:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.ReplaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.DeleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.UpdateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.GetManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot",t.CreateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot",t.CreateManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return l?i[n][0]:i[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},DRqq:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}queryGridControllerGetGrid$Response(e){const n=new o.a(this.rootUrl,t.QueryGridControllerGetGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}queryGridControllerGetGrid(t){return this.queryGridControllerGetGrid$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.QueryGridControllerGetGridPath="/query-grid",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},DkaU:function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return g})),n.d(e,"b",(function(){return p})),n.d(e,"d",(function(){return f})),n.d(e,"c",(function(){return y})),n.d(e,"g",(function(){return _}));var l=n("8bJo"),i=n("HDdC"),r=n("XNiG"),o=n("2Vo4"),a=n("LRne"),s=(n("IzEk"),n("pLZG"),n("1G5W")),u=(n("8Y7J"),n("KCVW"));class c{constructor(t){this.$implicit=t}}class d{constructor(t){this.template=t}}function h(){return Error("Could not find functions for nested/flat tree in tree control.")}class p{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new r.a,this._levels=new Map,this.viewChange=new o.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){if(this._dataDiffer=this._differs.find([]).create(this.trackBy),!this.treeControl)throw Error("Could not find a tree control for the tree.")}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(t=>!t.when);if(t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;if(Object(l.e)(this._dataSource)?t=this._dataSource.connect(this):this._dataSource instanceof i.a?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(a.a)(this._dataSource)),!t)throw Error("A valid data source must be provided.");this._dataSubscription=t.pipe(Object(s.a)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,l){const i=e.diff(t);i&&(i.forEachOperation((e,i,r)=>{if(null==e.previousIndex)this.insertNode(t[r],r,n,l);else if(null==r)n.remove(i),this._levels.delete(e.item);else{const t=n.get(i);n.move(t,r)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){if(1===this._nodeDefs.length)return this._nodeDefs.first;const n=this._nodeDefs.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef;if(!n)throw Error("Could not find a matching node definition for the provided node data.");return n}insertNode(t,e,n,l){const i=this._getNodeDef(t,e),r=new c(t);r.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==l&&this._levels.has(l)?this._levels.get(l)+1:0,this._levels.set(t,r.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(i.template,r,e),f.mostRecentTreeNode&&(f.mostRecentTreeNode.data=t)}}let f=(()=>{class t{constructor(e,n){this._elementRef=e,this._tree=n,this._destroyed=new r.a,this._dataChanges=new r.a,this.role="treeitem",t.mostRecentTreeNode=this}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw h();const t=this._tree.treeControl.getChildren(this._data);Array.isArray(t)?this._setRoleFromChildren(t):t instanceof i.a&&t.pipe(Object(s.a)(this._destroyed)).subscribe(t=>this._setRoleFromChildren(t))}}_setRoleFromChildren(t){this.role=t&&t.length?"group":"treeitem"}}return t.mostRecentTreeNode=null,t})();class b extends f{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this._differs=n}ngAfterContentInit(){if(this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),!this._tree.treeControl.getChildren)throw h();const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):t instanceof i.a&&t.pipe(Object(s.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(s.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}const m=/([A-Za-z%]+)$/;class g{constructor(t,e,n,l,i){this._treeNode=t,this._tree=e,this._renderer=n,this._element=l,this._dir=i,this._destroyed=new r.a,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Object(s.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._level=Object(u.f)(t,null),this._setPadding()}get indent(){return this._indent}set indent(t){let e=t,n="px";if("string"==typeof t){const l=t.split(m);e=l[0],n=l[1]||n}this.indentUnits=n,this._indent=Object(u.f)(e),this._setPadding()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",l="paddingLeft"===n?"paddingRight":"paddingLeft";this._renderer.setStyle(t,n,e),this._renderer.setStyle(t,l,null),this._currentPadding=e}}}class _{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=Object(u.c)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}class y{}},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmnv:function(t,e,n){"use strict";var l=n("EwAT"),i=n("6Y3p"),r=n("CvXi");function o(t,e,n,l,i){var r,o,a,s,u,c,d,h,p,f=n,b=n,m=0,g=0,_=n;for(r=n;r<l;r+=i){var y=e[r],A=e[r+1];void 0!==s&&(h=y-s,p=A-u,a=Math.sqrt(h*h+p*p),void 0!==c&&(g+=o,Math.acos((c*h+d*p)/(o*a))>t&&(g>m&&(m=g,f=_,b=r),g=0,_=r-i)),o=a,c=h,d=p),s=y,u=A}return(g+=a)>m?[_,r]:[f,b]}var a=n("9iPr"),s=n("3er3"),u=n("ZXPP"),c=n("3TKY"),d=n("KfZV");n.d(e,"a",(function(){return f}));var h,p=(h=function(t,e){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},b=function(t){function e(e,n,l,i){var r=t.call(this,e,n,l,i)||this;return r.labels_=null,r.text_="",r.textOffsetX_=0,r.textOffsetY_=0,r.textRotateWithView_=void 0,r.textRotation_=0,r.textFillState_=null,r.fillStates={},r.textStrokeState_=null,r.strokeStates={},r.textState_={},r.textStates={},r.textKey_="",r.fillKey_="",r.strokeKey_="",r}return p(e,t),e.prototype.finish=function(){var e=t.prototype.finish.call(this);return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e},e.prototype.drawText=function(t,e){var n=this.textState_;if(""!==this.text_&&n&&(this.textFillState_||this.textStrokeState_)){var l,i,c=this.coordinates.length,h=t.getType(),p=null,f=2,b=2;if(n.placement===d.a.LINE){if(!Object(r.F)(this.getBufferedMaxExtent(),t.getExtent()))return;var m=void 0;if(p=t.getFlatCoordinates(),b=t.getStride(),h==a.a.LINE_STRING)m=[p.length];else if(h==a.a.MULTI_LINE_STRING)m=t.getEnds();else if(h==a.a.POLYGON)m=t.getEnds().slice(0,1);else if(h==a.a.MULTI_POLYGON){var g=t.getEndss();for(m=[],l=0,i=g.length;l<i;++l)m.push(g[l][0])}this.beginGeometry(t,e);for(var _=n.textAlign,y=0,A=void 0,v=0,C=m.length;v<C;++v){if(null==_){var w=o(n.maxAngle,p,y,m[v],b);y=w[0],A=w[1]}else A=m[v];for(l=y;l<A;l+=b)this.coordinates.push(p[l],p[l+1]);f=this.coordinates.length,y=m[v];var P=this.declutterGroups_?0===v?this.declutterGroups_[0]:[].concat(this.declutterGroups_[0]):null;this.drawChars_(c,f,P),c=f}this.endGeometry(e)}else{var x=null;switch(n.overflow||(x=[]),h){case a.a.POINT:case a.a.MULTI_POINT:f=(p=t.getFlatCoordinates()).length;break;case a.a.LINE_STRING:p=t.getFlatMidpoint();break;case a.a.CIRCLE:p=t.getCenter();break;case a.a.MULTI_LINE_STRING:f=(p=t.getFlatMidpoints()).length;break;case a.a.POLYGON:p=t.getFlatInteriorPoint(),n.overflow||x.push(p[2]/this.resolution),b=3;break;case a.a.MULTI_POLYGON:var S=t.getFlatInteriorPoints();for(p=[],l=0,i=S.length;l<i;l+=3)n.overflow||x.push(S[l+2]/this.resolution),p.push(S[l],S[l+1]);if(0==(f=p.length))return}f=this.appendFlatCoordinates(p,0,f,b,!1,!1),this.saveTextStates_(),(n.backgroundFill||n.backgroundStroke)&&(this.setFillStrokeStyle(n.backgroundFill,n.backgroundStroke),n.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),n.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);var k=this.pixelRatio;this.instructions.push([u.c.DRAW_IMAGE,c,f,null,NaN,NaN,this.declutterGroups_,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,1,NaN,n.padding==s.k?s.k:n.padding.map((function(t){return t*k})),!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,x]),this.hitDetectionInstructions.push([u.c.DRAW_IMAGE,c,f,null,NaN,NaN,this.declutterGroups_,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,1/this.pixelRatio,NaN,n.padding,!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,x]),this.endGeometry(e)}}},e.prototype.saveTextStates_=function(){var t=this.textStrokeState_,e=this.textState_,n=this.textFillState_,l=this.strokeKey_;t&&(l in this.strokeStates||(this.strokeStates[l]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));var i=this.textKey_;i in this.textStates||(this.textStates[i]={font:e.font,textAlign:e.textAlign||s.m,textBaseline:e.textBaseline||s.n,scale:e.scale});var r=this.fillKey_;n&&(r in this.fillStates||(this.fillStates[r]={fillStyle:n.fillStyle}))},e.prototype.drawChars_=function(t,e,n){var l=this.textStrokeState_,i=this.textState_,r=this.strokeKey_,o=this.textKey_,a=this.fillKey_;this.saveTextStates_();var s=this.pixelRatio,c=f[i.textBaseline],d=this.textOffsetY_*s,h=this.text_,p=l?l.lineWidth*i.scale/2:0;this.instructions.push([u.c.DRAW_CHARS,t,e,c,n,i.overflow,a,i.maxAngle,s,d,r,p*s,h,o,1]),this.hitDetectionInstructions.push([u.c.DRAW_CHARS,t,e,c,n,i.overflow,a,i.maxAngle,1,d,r,p,h,o,1/s])},e.prototype.setTextStyle=function(t,e){var n,r,o;if(t){this.declutterGroups_=e;var a=t.getFill();a?((r=this.textFillState_)||(this.textFillState_=r={}),r.fillStyle=Object(i.a)(a.getColor()||s.c)):this.textFillState_=r=null;var u=t.getStroke();if(u){(o=this.textStrokeState_)||(this.textStrokeState_=o={});var c=u.getLineDash(),d=u.getLineDashOffset(),h=u.getWidth(),p=u.getMiterLimit();o.lineCap=u.getLineCap()||s.e,o.lineDash=c?c.slice():s.f,o.lineDashOffset=void 0===d?s.g:d,o.lineJoin=u.getLineJoin()||s.h,o.lineWidth=void 0===h?s.i:h,o.miterLimit=void 0===p?s.j:p,o.strokeStyle=Object(i.a)(u.getColor()||s.l)}else this.textStrokeState_=o=null;n=this.textState_;var f=t.getFont()||s.d;Object(s.t)(f);var b=t.getScale();n.overflow=t.getOverflow(),n.font=f,n.maxAngle=t.getMaxAngle(),n.placement=t.getPlacement(),n.textAlign=t.getTextAlign(),n.textBaseline=t.getTextBaseline()||s.n,n.backgroundFill=t.getBackgroundFill(),n.backgroundStroke=t.getBackgroundStroke(),n.padding=t.getPadding()||s.k,n.scale=void 0===b?1:b;var m=t.getOffsetX(),g=t.getOffsetY(),_=t.getRotateWithView(),y=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===m?0:m,this.textOffsetY_=void 0===g?0:g,this.textRotateWithView_=void 0!==_&&_,this.textRotation_=void 0===y?0:y,this.strokeKey_=o?("string"==typeof o.strokeStyle?o.strokeStyle:Object(l.c)(o.strokeStyle))+o.lineCap+o.lineDashOffset+"|"+o.lineWidth+o.lineJoin+o.miterLimit+"["+o.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?")+(n.textBaseline||"?"),this.fillKey_=r?"string"==typeof r.fillStyle?r.fillStyle:"|"+Object(l.c)(r.fillStyle):""}else this.text_=""},e}(c.a);e.b=b},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};t.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(t){return"\xf6s"===t||"\xd6S"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var l=t%10;return t+(e[l]||e[t%100-l]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DsAt:function(t,e,n){"use strict";var l,i=n("2lwS"),r=n("V8uu"),o=n("zvco"),a=n("OPOH"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this;return n.eventTarget_=e,n.pendingRemovals_={},n.dispatching_={},n.listeners_={},n}return s(e,t),e.prototype.addEventListener=function(t,e){if(t&&e){var n=this.listeners_[t];n||(this.listeners_[t]=n=[]),-1===n.indexOf(e)&&n.push(e)}},e.prototype.dispatchEvent=function(t){var e="string"==typeof t?new o.a(t):t,n=e.type;e.target||(e.target=this.eventTarget_||this);var l,i=this.listeners_[n];if(i){n in this.dispatching_||(this.dispatching_[n]=0,this.pendingRemovals_[n]=0),++this.dispatching_[n];for(var a=0,s=i.length;a<s;++a)if(!1===(l="handleEvent"in i[a]?i[a].handleEvent(e):i[a].call(this,e))||e.propagationStopped){l=!1;break}if(--this.dispatching_[n],0===this.dispatching_[n]){var u=this.pendingRemovals_[n];for(delete this.pendingRemovals_[n];u--;)this.removeEventListener(n,r.c);delete this.dispatching_[n]}return l}},e.prototype.disposeInternal=function(){Object(a.b)(this.listeners_)},e.prototype.getListeners=function(t){return this.listeners_[t]},e.prototype.hasListener=function(t){return t?t in this.listeners_:Object.keys(this.listeners_).length>0},e.prototype.removeEventListener=function(t,e){var n=this.listeners_[t];if(n){var l=n.indexOf(e);-1!==l&&(t in this.pendingRemovals_?(n[l]=r.c,++this.pendingRemovals_[t]):(n.splice(l,1),0===n.length&&delete this.listeners_[t]))}},e}(i.a);e.a=u},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},"E/wX":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("SVse"),a=n("Xd0L"),s=n("drqP"),u=n("svHU"),c=n("DRqq"),d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(2,[],null,null)}var p=n("Ca9r"),f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[],null,null)}var m=n("Zime"),g=l.Bb({encapsulation:2,styles:[],data:{}});function _(t){return l.Yb(2,[],null,null)}var y=n("b5bK"),A=l.Bb({encapsulation:2,styles:[],data:{}});function v(t){return l.Yb(2,[],null,null)}var C=n("Fi3X"),w=l.Bb({encapsulation:2,styles:[],data:{}});function P(t){return l.Yb(2,[l.Ub(402653184,1,{populationComponent:0}),l.Ub(402653184,2,{topographyComponent:0}),(t()(),l.Db(2,0,null,null,1,"trajectory-population",[["groupLayer","Trajectory"],["visibility","true"],["zIndex","300"]],null,null,null,_,g)),l.Cb(3,245760,[[1,4]],0,m.a,[u.a],{visibility:[0,"visibility"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"]},null),(t()(),l.Db(4,0,null,null,1,"trajectory-topography",[["groupLayer","Trajectory"],["visibility","true"],["zIndex","300"]],null,null,null,v,A)),l.Cb(5,245760,[[2,4]],0,y.a,[u.a],{visibility:[0,"visibility"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"]},null)],(function(t,e){t(e,3,0,"true","300","Trajectory"),t(e,5,0,"true","300","Trajectory")}),null)}var x=n("Hqo4"),S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(2,[l.Ub(402653184,1,{pivComponent:0}),l.Ub(402653184,2,{gridComponent:0}),l.Ub(402653184,3,{hexMapComponent:0}),(t()(),l.Db(3,0,null,null,1,"trajectory-piv",[["groupLayer","Trajectory"],["name","trajectory-intersect-piv"],["visibility","true"],["zIndex","300"]],null,null,null,h,d)),l.Cb(4,245760,[[1,4]],0,s.a,[u.a,c.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(5,0,null,null,1,"trajectory-hex-map",[["groupLayer","Trajectory"],["name","trajectory-space-time-grid"],["visibility","true"],["zIndex","300"]],null,null,null,b,f)),l.Cb(6,245760,[[3,4]],0,p.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(7,0,null,null,1,"trajectory-grid",[["groupLayer","Trajectory"],["name","trajectory-cells"],["visibility","true"],["zIndex","300"]],null,null,null,P,w)),l.Cb(8,4440064,[[2,4]],0,C.a,[l.j,c.a],null,null)],(function(t,e){t(e,4,0,"trajectory-intersect-piv","true","300","Trajectory"),t(e,6,0,"trajectory-space-time-grid","true","300","Trajectory"),t(e,8,0)}),null)}var M=n("ZF9u"),O=l.Bb({encapsulation:2,styles:[],data:{}});function D(t){return l.Yb(2,[],null,null)}n("F2y6"),n("7/LY"),n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return U}));var T=l.Bb({encapsulation:0,styles:[[".trajectory-conponent[_ngcontent-%COMP%]{left:0;width:100%;background-color:#fff;border-top:1px solid #ddd;padding:10px 0;max-height:500px;overflow:auto}.trajectory-conponent[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;font-size:25px}.trajectory-conponent[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%]{width:100%;padding:0 10px;display:flex;align-items:center}.trajectory-conponent[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding-left:5px;cursor:pointer}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .piv-title[_ngcontent-%COMP%]{display:inline-flex}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .piv-title[_ngcontent-%COMP%] .piv-title-separator[_ngcontent-%COMP%]{padding-left:2px;padding-right:2px}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%]{float:left;color:var(--ion-color-primary);background-color:transparent;font-size:25px}"]],data:{}});function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","eye"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"eye")}),null)}function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","eye-off"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"eye-off")}),null)}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"a",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=0!=(t.component.viewPiv=!0)&&l),l}),null,null)),(t()(),l.Wb(-1,null,["view more"]))],null,null)}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.sectorComponent.toggleComponent(t.context.$implicit.key,i.aircraft)&&l),l}),i.u,i.c)),l.Cb(2,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,E)),l.Cb(4,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,I)),l.Cb(6,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(7,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(8,16384,null,0,a.o,[],null,null),(t()(),l.Wb(9,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(11,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"outline"),t(e,4,0,e.context.$implicit.value),t(e,6,0,!e.context.$implicit.value),t(e,11,0,"piv"==e.context.$implicit.key&&1==e.context.$implicit.value)}),(function(t,e){t(e,9,0,e.context.$implicit.key)}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,j)),l.Cb(2,278528,null,0,o.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,o.h,[l.z])],(function(t,e){var n=e.component;t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(n.sectorComponent.activeComponents)))}),null)}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"ion-item",[["style","padding:0px !important;"]],null,null,null,i.z,i.h)),l.Cb(1,49152,null,0,r.F,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,18,"ion-label",[["class","ion-text-wrap"],["style","margin:0px !important;"]],null,null,null,i.A,i.i)),l.Cb(3,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,12,"div",[["class","piv-title"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,3,"ion-text",[["color","primary"]],null,null,null,i.H,i.p)),l.Cb(6,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(7,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(8,null,[""," km"])),(t()(),l.Db(9,0,null,null,3,"ion-text",[["class","piv-title-separator"],["color","primary"]],null,null,null,i.H,i.p)),l.Cb(10,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(11,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["|"])),(t()(),l.Db(13,0,null,null,3,"ion-text",[["color","primary"]],null,null,null,i.H,i.p)),l.Cb(14,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(15,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(16,null,["",""])),(t()(),l.Db(17,0,null,0,3,"ion-text",[],null,null,null,i.H,i.p)),l.Cb(18,49152,null,0,r.vb,[l.j,l.p,l.G],null,null),(t()(),l.Db(19,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(20,null,["",""]))],(function(t,e){t(e,6,0,"primary"),t(e,10,0,"primary"),t(e,14,0,"primary")}),(function(t,e){t(e,8,0,e.context.$implicit.distanceRounded),t(e,16,0,e.context.$implicit.type),t(e,20,0,e.context.$implicit.name)}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","pivList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["class","back-button"],["name","arrow-back"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=0!=(t.component.viewPiv=!1)&&l),l}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(3,0,null,null,3,"ion-list",[["class","expansion-body"]],null,null,null,i.B,i.j)),l.Cb(4,49152,null,0,r.M,[l.j,l.p,l.G],null,null),(t()(),l.sb(16777216,null,0,1,null,F)),l.Cb(6,278528,null,0,o.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"arrow-back"),t(e,6,0,n.getPivs())}),null)}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","trajectory-conponent"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,R)),l.Cb(2,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(4,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,!n.viewPiv),t(e,4,0,n.viewPiv)}),null)}function U(t){return l.Yb(2,[l.Ub(402653184,1,{sectorComponent:0}),l.Ub(402653184,2,{lineComponent:0}),(t()(),l.Db(2,0,null,null,1,"trajectory-sector",[["groupLayer","Trajectory"],["name","trajectory-sector"],["visibility","true"],["zIndex","300"]],null,null,null,k,S)),l.Cb(3,4440064,[[1,4]],0,x.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(4,0,null,null,1,"trajectory-line",[["groupLayer","Trajectory"],["name","trajectory-line"],["visibility","true"],["zIndex","300"]],null,null,null,D,O)),l.Cb(5,245760,[[2,4]],0,M.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(7,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,"trajectory-sector","true","300","Trajectory"),t(e,5,0,"trajectory-line","true","300","Trajectory"),t(e,7,0,n.sectorIsRunning)}),null)}},E35u:function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("CZmH"),o=n("MzMb"),a=n("Bw0W"),s=n("3er3"),u=n("+vTz"),c=n("qJZF"),d=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e){var n=t.call(this,e)||this;return n.container=null,n.tempTransform_=Object(c.c)(),n.pixelTransform=Object(c.c)(),n.inversePixelTransform=Object(c.c)(),n.context=null,n.containerReused=!1,n}return d(e,t),e.prototype.useContainer=function(t,e,n){var l,i,o=this.getLayer().getClassName();if(t&&""===t.style.opacity&&t.className===o&&(a=t.firstElementChild)instanceof HTMLCanvasElement&&(i=a.getContext("2d")),i&&i.canvas.style.transform===e?(this.container=t,this.context=i,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){(l=document.createElement("div")).className=o;var a,s=l.style;s.position="absolute",s.width="100%",s.height="100%",i=Object(r.a)(),l.appendChild(a=i.canvas),(s=a.style).position="absolute",s.left="0",s.transformOrigin="top left",this.container=l,this.context=i}},e.prototype.clip=function(t,e,n){var l=e.pixelRatio,r=e.size[0]*l/2,o=e.size[1]*l/2,a=e.viewState.rotation,u=Object(i.C)(n),d=Object(i.D)(n),h=Object(i.w)(n),p=Object(i.v)(n);Object(c.a)(e.coordinateToPixelTransform,u),Object(c.a)(e.coordinateToPixelTransform,d),Object(c.a)(e.coordinateToPixelTransform,h),Object(c.a)(e.coordinateToPixelTransform,p),t.save(),Object(s.u)(t,-a,r,o),t.beginPath(),t.moveTo(u[0]*l,u[1]*l),t.lineTo(d[0]*l,d[1]*l),t.lineTo(h[0]*l,h[1]*l),t.lineTo(p[0]*l,p[1]*l),t.clip(),Object(s.u)(t,a,r,o)},e.prototype.clipUnrotated=function(t,e,n){var l=Object(i.C)(n),r=Object(i.D)(n),o=Object(i.w)(n),a=Object(i.v)(n);Object(c.a)(e.coordinateToPixelTransform,l),Object(c.a)(e.coordinateToPixelTransform,r),Object(c.a)(e.coordinateToPixelTransform,o),Object(c.a)(e.coordinateToPixelTransform,a);var s=this.inversePixelTransform;Object(c.a)(s,l),Object(c.a)(s,r),Object(c.a)(s,o),Object(c.a)(s,a),t.save(),t.beginPath(),t.moveTo(Math.round(l[0]),Math.round(l[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()},e.prototype.dispatchRenderEvent_=function(t,e,n){var l=this.getLayer();if(l.hasListener(t)){var i=new o.a(t,this.inversePixelTransform,n,e);l.dispatchEvent(i)}},e.prototype.preRender=function(t,e){this.dispatchRenderEvent_(a.a.PRERENDER,t,e)},e.prototype.postRender=function(t,e){this.dispatchRenderEvent_(a.a.POSTRENDER,t,e)},e.prototype.getRenderTransform=function(t,e,n,l,i,r,o){var a=i/2,s=r/2,u=l/e,d=-u,h=-t[0]+o,p=-t[1];return Object(c.b)(this.tempTransform_,a,s,u,d,-n,h,p)},e.prototype.getDataAtPixel=function(t,e,n){var l,i=Object(c.a)(this.inversePixelTransform,t.slice()),r=this.context;try{l=r.getImageData(Math.round(i[0]),Math.round(i[1]),1,1).data}catch(o){return"SecurityError"===o.name?new Uint8Array:l}return 0===l[3]?null:l},e}(u.a);e.a=h},EDvw:function(t,e,n){"use strict";var l=n("TN97"),i=n("9ANI"),r=n("JW8z"),o=n("7/LY"),a=n("bHcU"),s=n("bL/2");function u(t){var e={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};let n;if(void 0!==e[t.toLowerCase()]&&(t=e[t.toLowerCase()]),/^#([A-Fa-f0-9]{3}){1,2}$/.test(t))return n=t.substring(1).split(""),3==n.length&&(n=[n[0],n[0],n[1],n[1],n[2],n[2]]),n="0x"+n.join(""),[n>>16&255,n>>8&255,255&n,1];throw new Error("Bad hexColor:"+t)}n.d(e,"a",(function(){return d}));const c={White:u("#ffffff"),GreyLight:u("#a9a9a9"),DarkGreen:u("#6b8e23"),LightGreen:u("#9acd32"),DarkRed:u("#8b0000"),LightRed:u("#ff6347"),Blue:u("#0000ff"),Yellow:u("#ffff00"),Orange:u("#ffa500")};class d extends l.a{constructor(t,e,n){super({geometry:new i.a(Object(r.d)([t.longitude,t.latitude]))}),this.status=[],super.setId(t.icao),this.aircraft=t,this.settingService=e,this.setColor(),this.setIconEntity(n.getIconEntity(t.iconName)),this.setOlStyleAircraft(),this.aircraft.iconNameSubject.subscribe(t=>{this.setIconEntity(n.getIconEntity(t)),this.setOlStyleAircraft()})}setIconEntity(t){super.set("icon",t)}setOlStyleAircraft(){const t="balloon"===this.aircraft.iconName?0:this.aircraft.track*Math.PI/180,e=super.get("icon");let n;n=(this.status.indexOf(o.a.WATCH)>=0||this.status.indexOf(o.a.SELECT)>=0)&&this.status.indexOf(o.a.HOVER)>=0?this.getOlStyleAircraftHighLight(t,e.bufferInBase64):this.getOlStyleAircraft(t,e.bufferInBase64),super.setStyle(n)}getOlStyleAircraft(t,e){return new a.b({image:new s.a({color:super.get("color"),rotation:t,anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",src:"data:image/png;base64,"+e,scale:.4})})}getOlStyleAircraftHighLight(t,e){const n=new Image;n.src="data:image/png;base64,"+e;const l=document.createElement("canvas"),i=l.getContext("2d");i.drawImage(n,0,0,n.width,n.height);const r=[-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1];l.width=n.width+2+2,l.height=n.height+2+2;let o=0;for(o=0;o<r.length;o+=2)i.drawImage(n,2+2*r[o],2+2*r[o+1]);i.globalCompositeOperation="source-in",i.fillStyle="red",i.fillRect(0,0,l.width,l.height),i.globalCompositeOperation="source-over",i.drawImage(n,2,2,n.width,n.height),i.globalCompositeOperation="multiply";const u=i.getImageData(0,0,l.width,l.height),c=u.data,d=super.get("color"),h=[d[0]/255,d[1]/255,d[2]/255,d[3]];for(let a=0,s=c.length;a<s;a+=4)c[a]*=h[0],c[a+1]*=h[1],c[a+2]*=h[2],c[a+3]*=h[3];return i.putImageData(u,0,0),new a.b({image:new s.a({rotation:t,crossOrigin:"anonymous",src:void 0,img:l,imgSize:l?[l.width,l.height]:void 0,anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",scale:.4})})}setGeo(){super.setGeometry(new i.a(Object(r.d)([this.aircraft.longitude,this.aircraft.latitude]))),super.getStyle().getImage().setRotation(this.aircraft.track*Math.PI/180)}getStatus(){return this.status}setStatus(t){this.status=t}getAircraft(){return this.aircraft}setAircraft(t){this.aircraft=t}getColor(){return super.get("color")}setColor(){super.set("color",c.White);const t=this.settingService.getColorAircraftLists();this.setColorByList(t),(this.status.indexOf(o.a.WATCH)>=0||this.status.indexOf(o.a.SELECT)>=0)&&super.set("color",c.Yellow)}setColorByList(t){if(t&&Array.isArray(t))for(const e of t)if(this.matchWithFleet(e.fleet)){const t=u(e.color);return void super.set("color",t)}}matchWithFleet(t){if(t&&t.fleetItems&&Array.isArray(t.fleetItems)){if("||"===t.logicalOperator)return t.fleetItems.some(t=>this.matchWithFleetItem(t));if("&&"===t.logicalOperator)return t.fleetItems.every(t=>this.matchWithFleetItem(t))}return!1}matchWithFleetItem(t){if("mlat"===t.field){const e=Array.isArray(this.aircraft.mlat)&&this.aircraft.mlat.length>0;return"true"===t.value?e:!e}return"military"===t.field?"true"===t.value?!0===this.aircraft.military:!0!==this.aircraft.military:"eq"===t.operator&&this.aircraft[t.field]?this.aircraft[t.field]===t.value:!("cont"!==t.operator||!this.aircraft[t.field])&&String(this.aircraft[t.field]).includes(t.value)}}},EFbT:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseEngineControllerEnginePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseEngineControllerEngine(t){return this.getOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseEngineControllerEnginePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseEngineControllerEngine(t){return this.replaceOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseEngineControllerEnginePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseEngineControllerEngine(t){return this.deleteOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseEngineControllerEnginePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseEngineControllerEngine(t){return this.updateOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseEngineControllerEnginePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseEngineControllerEngine(t){return this.getManyBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseEngineControllerEnginePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseEngineControllerEngine(t){return this.createOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseEngineControllerEnginePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseEngineControllerEngine(t){return this.createManyBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseEngineControllerEnginePath="/engine/{id}",t.ReplaceOneBaseEngineControllerEnginePath="/engine/{id}",t.DeleteOneBaseEngineControllerEnginePath="/engine/{id}",t.UpdateOneBaseEngineControllerEnginePath="/engine/{id}",t.GetManyBaseEngineControllerEnginePath="/engine",t.CreateOneBaseEngineControllerEnginePath="/engine",t.CreateManyBaseEngineControllerEnginePath="/engine/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("HDdC");const i=new l.a(t=>t.complete());function r(t){return t?function(t){return new l.a(e=>t.schedule(()=>e.complete()))}(t):i}},Eef3:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("SVse"),a=n("Mc5n"),s=n("IP0z"),u=n("s6ns"),c=n("ek9U"),d=n("978D");n.d(e,"a",(function(){return _}));var h=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}#control-replay[_ngcontent-%COMP%]{width:100%;padding:10px;margin-top:-14px;text-align:center}#control-replay[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--ion-color-primary);background-color:transparent;font-size:25px;align-self:baseline}#control-replay[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--ion-color-primary);margin:0}#control-replay[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}#control-replay[_ngcontent-%COMP%] .center[_ngcontent-%COMP%]{text-align:center}"]],data:{}});function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","play"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"play")}),null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","pause"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"pause")}),null)}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,29,"div",[["id","control-replay"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,28,"div",[["class","center"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,12,"div",[],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(1)&&l),l}),i.u,i.c)),l.Cb(4,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x1"])),(t()(),l.Db(6,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(4)&&l),l}),i.u,i.c)),l.Cb(7,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x4"])),(t()(),l.Db(9,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(8)&&l),l}),i.u,i.c)),l.Cb(10,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x8"])),(t()(),l.Db(12,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(16)&&l),l}),i.u,i.c)),l.Cb(13,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x16"])),(t()(),l.Db(15,0,null,null,14,"div",[["class","center"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,3,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.previousReplay()&&l),l}),i.u,i.c)),l.Cb(17,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.Db(18,0,null,0,1,"ion-icon",[["name","rewind"]],null,null,null,i.y,i.g)),l.Cb(19,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(20,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.togglePlaying()&&l),l}),i.u,i.c)),l.Cb(21,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,p)),l.Cb(23,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,f)),l.Cb(25,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(26,0,null,null,3,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.nextReplay()&&l),l}),i.u,i.c)),l.Cb(27,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.Db(28,0,null,0,1,"ion-icon",[["name","fastforward"]],null,null,null,i.y,i.g)),l.Cb(29,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,4,0,l.Hb(1,"",1==n.timeService.speed?"solid":"outline",""),"small"),t(e,7,0,l.Hb(1,"",4==n.timeService.speed?"solid":"outline",""),"small"),t(e,10,0,l.Hb(1,"",8==n.timeService.speed?"solid":"outline",""),"small"),t(e,13,0,l.Hb(1,"",16==n.timeService.speed?"solid":"outline",""),"small"),t(e,17,0,"outline"),t(e,19,0,"rewind"),t(e,21,0,"outline"),t(e,23,0,!n.timeService.isPlayingReplay()),t(e,25,0,n.timeService.isPlayingReplay()),t(e,27,0,"outline"),t(e,29,0,"fastforward")}),null)}function m(t){return l.Yb(0,[l.Qb(0,o.e,[l.A]),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(3,16777216,null,null,9,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","replay-controllers"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(4,4866048,null,3,a.c,[l.p,[3,a.b],o.d,l.G,l.Y,a.a,[2,s.b],a.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,a.l,null,[a.c]),l.Cb(9,147456,[[1,4]],0,a.d,[l.p,[2,a.l]],null,null),l.Cb(10,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(11,null,["",""])),l.Sb(12,3),(t()(),l.Db(13,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(14,16384,null,0,u.j,[],null,null),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(16,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"close"),t(e,4,0,".cdk-overlay-pane"),t(e,10,0,"replay-controllers"),t(e,16,0,n.timeService.getDateReplay())}),(function(t,e){var n=e.component;t(e,3,0,l.Pb(e,4).disabled,l.Pb(e,4)._dragRef.isDragging(),l.Pb(e,10).id);var i=l.Xb(e,11,0,t(e,12,0,l.Pb(e,0),n.timeService.getDateReplay(),"EEE d, LLL M, yyyy, HH:mm:ss","utc"));t(e,11,0,i)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"control-replay-dialog",[],null,null,null,m,h)),l.Cb(1,114688,null,0,c.a,[u.l,u.a,d.b],null,null)],(function(t,e){t(e,1,0)}),null)}var _=l.zb("control-replay-dialog",c.a,g,{},{},[])},EwAT:function(t,e,n){"use strict";function l(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var i=0;function r(t){return t.ol_uid||(t.ol_uid=String(++i))}var o="6.3.1"},F2y6:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("svHU");var l=n("7/LY");n("Hqo4"),n("ZF9u");class i{constructor(t,e,n){this.ref=t,this.mapService=e,this.selectAircraftService=n,this.seuilDeltaVsi=-100,this.minuteToExtrapole=30,this.extrapolate=void 0,this.subscription={},this.aircraft=void 0,this.lineIsRunning=!1,this.sectorIsRunning=!1,this.viewPiv=!1}ngOnInit(){}ngAfterViewInit(){this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.aircraftSelectRefresh(t)});const t=this.selectAircraftService.getAircraftSelected();this.aircraftSelectRefresh(t),this.ref.detectChanges()}ngOnDestroy(){this.mapService.removeGroup("Trajectory");for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe();this.sectorComponent.removeSector(),this.lineComponent.removeLine()}getPivs(){return this.sectorComponent.pivComponent.pivs}aircraftSelectRefresh(t){this.selectAircraftService.aircraftIsSelected(t.aircraft)&&(t.haveStatus(l.a.TRAJECTORY_LINE)||t.haveStatus(l.a.TRAJECTORY))&&(this.aircraft=t.aircraft,this.extrapolate=this.getExtrapolate()),this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(l.a.TRAJECTORY_LINE)?(this.extrapolate.distance>0&&this.lineComponent.displayLine(this.aircraft,this.extrapolate),this.lineIsRunning=!0):!0===this.lineIsRunning&&this.aircraft&&this.aircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.TRAJECTORY_LINE)&&(this.lineIsRunning=!1,this.lineComponent.removeLine(),this.removeAircraftIfSectorLineIsNotSelected()),this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(l.a.TRAJECTORY)?(this.extrapolate.distance>0&&this.sectorComponent.displaySector(this.aircraft,this.extrapolate),this.sectorIsRunning=!0):this.aircraft&&this.aircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.TRAJECTORY)&&1==this.sectorIsRunning&&(this.sectorIsRunning=!1,this.sectorComponent.removeSector(),this.removeAircraftIfSectorLineIsNotSelected())}removeAircraftIfSectorLineIsNotSelected(){this.lineIsRunning||this.sectorIsRunning||(this.aircraft=void 0)}getExtrapolate(){const t=this.kilometersPerHourToMetersPerMinute(this.knotsTokilometersPerHour(this.aircraft.speed||300))/1e3,e={distance:t*(1.085*this.minuteToExtrapole),isDescent:!1},n=this.getAvgVsi();if(n<this.seuilDeltaVsi){const l=this.aircraft.altitude/-n;null!==l&&l<this.minuteToExtrapole&&(e.isDescent=!0,e.distance=t*l)}return e}getAvgVsi(t=5){let e=0;if(this.aircraft.trace.positions.length>t){const n=this.aircraft.trace.positions[this.aircraft.trace.positions.length-1],l=this.aircraft.trace.positions[this.aircraft.trace.positions.length-t];e=(n.altitude-l.altitude)/((n.updatedAt-l.updatedAt)/1e3/60)}return e}knotsTokilometersPerHour(t){return 1.852*t}kilometersPerHourToMetersPerMinute(t){return t/.06}}},F3fN:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t){return t?t<5e3?t.toString()+"Ft":"FL"+(t/=100).toFixed(0).toString():""}}},F8Ro:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("oeKZ"),n("qToJ");var l=n("vDCU");class i{constructor(t,e,n,i){this.dialogRef=t,this.data=e,this.settingService=n,this.keycloakService=i,this.onSelect=l.a,this.userRoles=[],this.currentPage="menuFilter",this.currentColorFilter=void 0,this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}ngOnInit(){}closeModal(){this.settingService.loadSettings(),this.dialogRef.close()}openColorFilterForm(t){this.currentColorFilter=t,this.currentPage="formColorFilter"}openFormLayer(){this.currentPage="formLayer"}closeColorFilterForm(){this.currentColorFilter=void 0,this.currentPage="menuFilter"}}},F8UA:function(t,e,n){var l,i,r;i=[n("d5dl"),n("cEDd"),n("yWvm"),n("CgXW"),n("g6rY"),n("UJLV")],void 0===(r="function"==typeof(l=function(t,e,n,l,i,r){"use strict";function o(t,e,n,i){var o;return"string"==typeof n&&(n=parseInt(n,10)),n=n||5,t=parseFloat(t),e=parseFloat(e),o=l(t,e),r.toUsng(o,n,i)}function a(t,e,n,l){var i=o(t,e,n,l);return"string"==typeof i?i.replace(/ /g,""):i}return e=e(t),n=n(t),l=l(t),i=i(t),{toDecimal:n,toDegMinSec:e,toUsng:o,toUtm:l,toMgrs:a,getConverter:function(t){var e;switch(t.toLowerCase()){case"utm":e=l;break;case"usng":e=o;break;case"mgrs":e=a}return e},translate:i}})?l.apply(e,i):l)||(t.exports=r)},FQkX:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},FVPZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("Xd0L"),n("KCVW");class l{}},Fi3X:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("G0WM"),n("Zime"),n("b5bK");class l{constructor(t,e){this.ref=t,this.queryGridService=e}ngOnInit(){}ngAfterViewInit(){}ngOnDestroy(){this.populationComponent.removePop(),this.topographyComponent.removeTopography()}displayGrid(t,e,n,l){let i={sectorPolygon:e};const r=[];!0===l.population&&r.push("population"),!0===l.topography&&(r.push("topography"),i.horizonLine=n,i.aircraftPosition=[t.longitude,t.latitude],i.aircraftSpeed=t.speed,i.aircraftAltitude=t.altitude,i.aircraftVerticalSpeed=t.vsi),i.layers=r,this.queryGridService.queryGridControllerGetGrid({body:i}).subscribe(e=>{!0===l.population?this.populationComponent.displayPopulation(e.data.population):this.populationComponent.removePop(),!0===l.topography?this.topographyComponent.displayTopography(e.data.topography,t):this.topographyComponent.removeTopography()})}getGrid(){}removeGrid(){this.populationComponent.removePop(),this.topographyComponent.removeTopography()}}},Fi5g:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("s7LF"),i=(n("GXLG"),n("wd/R")),r=n("vDCU");class o{constructor(t,e,n){this.snackBarService=t,this.dialogRef=e,this.data=n,this.onSelect=r.a}ngOnInit(){this.initFrom()}initFrom(){this.maxDate=new Date,this.hours=Array.from(Array(24),(t,e)=>e<10?"0"+e.toString():e.toString()),this.minutes=Array.from(Array(60),(t,e)=>e<10?"0"+e.toString():e.toString()),this.replayForm=new l.j({date:new l.g(""),hours:new l.g(""),minutes:new l.g("")})}startReplay(){const t=i(this.replayForm.value.date);t.add(this.replayForm.value.hours,"hours"),t.add(this.replayForm.value.minutes,"minutes");const e=t.format("YYYY-MM-DDTHH:mm:ss"),n=i(e+"+00:00","YYYY-MM-DDTHH:mm:ssZ").utc();n.isValid()&&i().utc().diff(n)>0?this.dialogRef.close(n):this.snackBarService.openSnackBar("Date replay is invalid")}closeModal(){this.dialogRef.close()}}},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},Fwaw:function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var l=n("Xd0L");const i=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class r{constructor(t){this._elementRef=t}}const o=Object(l.E)(Object(l.G)(Object(l.F)(r)));class a extends o{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const l of i)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}class s extends a{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}class u{}},"G+Jc":function(t,e,n){"use strict";var l=n("ppab"),i=n("wd/R"),r=n("WVt+"),o=n("TN97"),a=n("bHcU"),s=n("zixo"),u=n("hoJM"),c=n("9ANI"),d=n("g6Z0"),h=n("gpXz"),p=n("egkh"),f=n("SSvb"),b=n("JW8z");class m{constructor(t){this.stopPoint=void 0,this.airforceReady=7,this.airforceSpeed=570,this.airforceDuration=90,this.interceptionTime=0,this.interceptionDistance=0,this.intercepPoint=[],this.ownPlaytime=void 0,this.playTimes=[],this.featurePlot=void 0,this.featureInterception=[],this.stopPoint=t;for(const e of t.plots){const t=60*i().hours()+i().minutes();e.startAt<=t&&t<=e.endAt&&(this.airforceReady=e.airforceReady,this.airforceSpeed=e.airforceSpeed,this.airforceDuration=e.airforceDuration)}}computeInterception(t,e){return this.computeTimeInterception(t),this.computeInterceptionPoint(t),this.intercepPoint.length>=2?(this.playTimes=[],e.forEach(e=>{this.computePlayTime(t,e)}),this.playTimes.sort((t,e)=>e.playTime-t.playTime),this.getPlotFeature(t)):null}getPlotFeature(t){return this.featurePlot=new o.a({geometry:new c.a(Object(b.d)([this.stopPoint.longitude,this.stopPoint.latitude])),id_:"plot-"+this.stopPoint.icao,categorie_:"plot",icao_:this.stopPoint.icao}),this.featurePlot.setStyle(new a.b({image:new s.a({radius:5,fill:null,stroke:new u.a({color:"yellow",width:5})}),text:new h.a({text:this.stopPoint.icao,fill:new d.a({color:"yellow",opacity:.8}),offsetY:14,overflow:1})})),this.featurePlot}computePlayTime(t,e){const n=r.point([e.stopPoint.longitude,e.stopPoint.latitude]),l=r.point(this.intercepPoint),i=r.distance(n,l);let o=t.track-(r.bearing(n,l)+180);o=o>=0?o:-o,o=o>180?360-o:o;const a=o*Math.PI/180,s=this.knotsToKilometersPerMinute(t.speed),u=this.knotsToKilometersPerMinute(this.airforceSpeed),c=this.airforceDuration-this.interceptionTime,d=Math.pow(s,2)-Math.pow(u,2),h=2*Math.pow(u,2)*c-2*i*s*Math.cos(a),p=Math.pow(i,2)-Math.pow(u,2)*Math.pow(c,2),f=Math.pow(h,2)-4*d*p,b=(-h+Math.sqrt(f))/(2*d);if(b>0){const t={icao:e.stopPoint.icao,playTime:b};this.playTimes.push(t),e.stopPoint.icao==this.stopPoint.icao&&(this.ownPlaytime=t)}}computeInterceptionPoint(t){const e=[t.longitude,t.latitude],n=this.knotsToKilometersPerMinute(t.speed);if(this.interceptionDistance=(this.interceptionTime+this.airforceReady)*n,this.interceptionDistance>0){const n=r.destination(e,this.interceptionDistance,t.track);this.intercepPoint=n.geometry.coordinates}}computeTimeInterception(t){const e=r.point([this.stopPoint.longitude,this.stopPoint.latitude]),n=r.point([t.longitude,t.latitude]),l=this.knotsToKilometersPerMinute(t.speed),i=r.destination(n,this.airforceReady*l,t.track),o=r.distance(e,i);let a=t.track-(r.bearing(e,i)+180);a=a>=0?a:-a,a=a>180?360-a:a;const s=a*Math.PI/180,u=this.knotsToKilometersPerMinute(this.airforceSpeed);this.interceptionTime=o/(Math.cos(s)*l+Math.sqrt(Math.pow(u,2)-Math.pow(Math.sin(s),2)*Math.pow(l,2)))}knotsToKilometersPerMinute(t){return 1.852*t/60}getInterceptionFeature(t){this.featureInterception=[];const e=[this.stopPoint.longitude,this.stopPoint.latitude];return this.featureInterception.push(this.getLineFeature("aircraft-"+this.stopPoint.icao,[t.longitude,t.latitude],this.intercepPoint)),this.featureInterception.push(this.getLineFeature("airforce-"+this.stopPoint.icao,e,this.intercepPoint)),this.featureInterception.push(this.getPointInterceptionFeature("interception-"+this.stopPoint.icao,this.intercepPoint)),this.featureInterception}getPointInterceptionFeature(t,e){const n=new o.a({geometry:new c.a(Object(b.d)(e)),id_:t});return n.setStyle(new a.b({image:new s.a({radius:10,fill:null,stroke:new u.a({color:"yellow",width:5})})})),n}getLineFeature(t,e,n){let l=r.greatCircle(e,n);const i=Object(f.a)(l.geometry.coordinates),s=new o.a({geometry:new p.a(i),id_:t});return s.setStyle(new a.b({stroke:new u.a({color:"yellow",width:3,lineDash:[1,5]})})),s}}n("w+w1"),n("svHU"),n("G0WM");var g=n("7/LY");n.d(e,"a",(function(){return _}));class _ extends l.a{constructor(t,e,n,l){super(),this.ref=t,this.mapService=e,this.stopPointService=n,this.selectAircraftService=l,this.plots=[],this.selectedPlot=void 0,this.isInit=!0,this.tasks=[]}ngOnInit(){setInterval(()=>{const t=this.selectAircraftService.getAircraftSelected();this.aircraftSelectRefresh(t)},333),this.mapService.addLayerToGroup(this.groupLayer||"Interception",super.getVectorLayer()),this.mapService.recenterMap([-1.690085,46.294445],6),this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["isPlot||eq||true"],join:["plots"]}).subscribe(t=>{this.plots=t.data.map(t=>new m(t)),this.displayplots()}),this.ref.detectChanges()}ngAfterViewInit(){}aircraftSelectRefresh(t){if(t&&this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(g.a.INTERCEPTION))if(this.tasks.length>0){if(2===this.tasks.length&&"open"===this.tasks[0].status&&"close"===this.tasks[1].status){let e;this.selectedPlot=this.tasks[0].icao,t.addMeta("selectedPlot",this.selectedPlot),this.manageDisplayedPlot(this.selectedPlot);for(const t of this.plots)if(t.stopPoint.icao===this.tasks[1].icao){e=t;break}this.cleanInterceptionPlot(e)}if(1===this.tasks.length&&"open"===this.tasks[0].status&&(this.selectedPlot=this.tasks[0].icao,t.addMeta("selectedPlot",this.selectedPlot),this.manageDisplayedPlot(this.selectedPlot)),1===this.tasks.length&&"close"===this.tasks[0].status){let e;this.selectedPlot=void 0,t.deleteMeta("selectedPlot"),this.manageDisplayedPlot();for(const t of this.plots)if(t.stopPoint.icao===this.tasks[0].icao){e=t;break}this.cleanInterceptionPlot(e)}this.tasks=[]}else!0===this.isInit&&(t.metas.selectedPlot&&!this.selectedPlot&&this.tasks.push({status:"open",icao:t.metas.selectedPlot}),this.isInit=!1);if(!t){this.selectedPlot=void 0,this.manageDisplayedPlot();for(const t of this.plots)this.cleanInterceptionPlot(t)}}ngDoCheck(){this.updateInterceptionPlot(),this.ref.detectChanges()}ngOnDestroy(){this.source.clear(),this.mapService.removeGroup("Interception")}displayplots(){this.plots.forEach(t=>{const e=t.computeInterception(this.aircraft,this.plots);e&&this.source.addFeature(e)}),this.plots.sort((t,e)=>t.interceptionTime-e.interceptionTime)}openPlot(t){this.displayInterceptionPlot(t),this.tasks.push({status:"open",icao:t.stopPoint.icao})}closePlot(t){this.cleanInterceptionPlot(t),this.tasks.push({status:"close",icao:t.stopPoint.icao})}updateInterceptionPlot(){this.plots.forEach(t=>{t.computeInterception(this.aircraft,this.plots),t.stopPoint.icao===this.icaoOfSelectedPlot&&t.featureInterception.length>0&&(this.cleanInterceptionPlot(t),this.displayInterceptionPlot(t))}),this.plots.sort((t,e)=>t.interceptionTime-e.interceptionTime)}manageDisplayedPlot(t){let e=!1;for(const n of this.plots)t&&t===n.stopPoint.icao&&(e=!0,this.icaoOfSelectedPlot=n.stopPoint.icao);!1===e&&(this.icaoOfSelectedPlot=null)}displayInterceptionPlot(t){const e=t.getInterceptionFeature(this.aircraft);this.source.addFeatures(e)}cleanInterceptionPlot(t){void 0!==t.featureInterception&&t.featureInterception.length>0&&(t.featureInterception.forEach(t=>{this.source.removeFeature(t)}),t.featureInterception=[])}}},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G0WM:function(t,e,n){"use strict";n("Kurg"),n("EFbT"),n("UN5i"),n("AjEG"),n("rLOe"),n("3y7P"),n("sUFW"),n("Qykp"),n("ItNn"),n("5p+q"),n("kZ4T"),n("DRqq"),n("mWFr"),n("+qtt"),n("c9QO"),n("TYbz"),n("xhS3"),n("Nw85"),n("X0qu"),n("Q2ZK"),n("Vgg8"),n("XYOC"),n("nmM0"),n("0Ceg"),n("CJuc"),n("UrOv"),n("D7iV"),n("yRz6"),n("mTEX"),n("Py6u"),n("b2zq"),n("oU5s"),n("GLSd"),n("Kth1"),n("t9RB"),n("qSBs"),n("rAnw")},GDrd:function(t,e,n){"use strict";e.a={ADD:"add",REMOVE:"remove"}},GKYg:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m={};return i=parseFloat(n)-t.EASTING_OFFSET,r=parseFloat(e),o=6*(parseInt(l,10)-1)-180+3,s=(a=r/t.k0/(t.EQUATORIAL_RADIUS*(1-t.ECC_SQUARED/4-3*t.ECC_SQUARED*t.ECC_SQUARED/64-5*t.ECC_SQUARED*t.ECC_SQUARED*t.ECC_SQUARED/256)))+(3*t.E1/2-27*t.E1*t.E1*t.E1/32)*Math.sin(2*a)+(21*t.E1*t.E1/16-55*t.E1*t.E1*t.E1*t.E1/32)*Math.sin(4*a)+151*t.E1*t.E1*t.E1/96*Math.sin(6*a),u=t.EQUATORIAL_RADIUS/Math.sqrt(1-t.ECC_SQUARED*Math.sin(s)*Math.sin(s)),c=Math.tan(s)*Math.tan(s),d=t.ECC_PRIME_SQUARED*Math.cos(s)*Math.cos(s),h=t.EQUATORIAL_RADIUS*(1-t.ECC_SQUARED)/Math.pow(1-t.ECC_SQUARED*Math.sin(s)*Math.sin(s),1.5),p=i/(u*t.k0),f=s-u*Math.tan(s)/h*(p*p/2-(5+3*c+10*d-4*d*d-9*t.ECC_PRIME_SQUARED)*p*p*p*p/24+(61+90*c+298*d+45*c*c-252*t.ECC_PRIME_SQUARED-3*d*d)*p*p*p*p*p*p/720),f*=t.RAD_2_DEG,b=o+(b=(p-(1+2*c+d)*p*p*p/6+(5-2*d+28*c-3*d*d+8*t.ECC_PRIME_SQUARED+24*c*c)*p*p*p*p*p/120)/Math.cos(s))*t.RAD_2_DEG,m.latitude=f,m.longitude=b,m}return function(n){return t=n,e}})?l.apply(e,[]):l)||(t.exports=i)},GLSd:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}vehicleLogControllerGetCsv$Response(e){const n=new o.a(this.rootUrl,t.VehicleLogControllerGetCsvPath,"get");return e&&(n.query("toDate",e.toDate),n.query("fromDate",e.fromDate)),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}vehicleLogControllerGetCsv(t){return this.vehicleLogControllerGetCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseVehicleLogControllerVehicleLogPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseVehicleLogControllerVehicleLog(t){return this.getOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseVehicleLogControllerVehicleLogPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseVehicleLogControllerVehicleLog(t){return this.replaceOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseVehicleLogControllerVehicleLogPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseVehicleLogControllerVehicleLog(t){return this.deleteOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseVehicleLogControllerVehicleLogPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseVehicleLogControllerVehicleLog(t){return this.updateOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseVehicleLogControllerVehicleLogPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseVehicleLogControllerVehicleLog(t){return this.getManyBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseVehicleLogControllerVehicleLogPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseVehicleLogControllerVehicleLog(t){return this.createOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseVehicleLogControllerVehicleLogPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseVehicleLogControllerVehicleLog(t){return this.createManyBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.VehicleLogControllerGetCsvPath="/Vehicle_log/csv",t.GetOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.ReplaceOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.DeleteOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.UpdateOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.GetManyBaseVehicleLogControllerVehicleLogPath="/Vehicle_log",t.CreateOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log",t.CreateManyBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return s})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return b})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return d})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return p})),n.d(e,"n",(function(){return o})),n.d(e,"d",(function(){return g})),n.d(e,"o",(function(){return _})),n.d(e,"p",(function(){return y}));class l{}class i{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function s(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function d(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function f(t=null){return{type:9,options:t}}function b(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,l=0;const i=this.players.length;0==i?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++l==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},GXLG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("8Y7J");let i=(()=>{class t{constructor(){this.eventSnackBar=new l.r}openSnackBar(t){this.eventSnackBar.emit(t)}getEventSnackBar(){return this.eventSnackBar}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},Gbct:function(t,e,n){var l=n("Wm4p"),i=n("cpc2");function r(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=r,i(r.prototype),r.prototype.onError=function(t,e){var n=new Error(t);return n.type="TransportError",n.description=e,this.emit("error",n),this},r.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(t){var e=l.decodePacket(t,this.socket.binaryType);this.onPacket(e)},r.prototype.onPacket=function(t){this.emit("packet",t)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},Gi4r:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("SVse"),n("IheW"),n("8Y7J"),n("cUpR"),n("LRne"),n("z6cu"),n("cp0P"),n("vkgz"),n("lJxs"),n("JIr8"),n("nYR2"),n("w1tV"),n("IzEk"),n("KCVW"),n("Xd0L");class l{}},GvmM:function(t,e,n){"use strict";n.d(e,"b",(function(){return b}));var l,i=n("Ho3V"),r=n("AdTM"),o=n("4mld"),a=n("VWR+"),s=n("30zj"),u=n("OPOH"),c=n("Bw0W"),d=n("bYNo"),h=n("kvpX"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e){var n=this,l=Object(u.a)({},e);return delete l.source,(n=t.call(this,l)||this).mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,e.render&&(n.render=e.render),e.map&&n.setMap(e.map),n.addEventListener(Object(o.b)(s.a.SOURCE),n.handleSourcePropertyChange_),n.setSource(e.source?e.source:null),n}return p(e,t),e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){return this.get(s.a.SOURCE)||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():d.a.UNDEFINED},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(i.c)(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(i.a)(t,r.a.CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.getFeatures=function(t){return this.renderer_.getFeatures(t)},e.prototype.render=function(t,e){var n=this.getRenderer();if(n.prepareFrame(t))return n.renderFrame(t,e)},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(i.c)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(i.c)(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(i.a)(t,c.a.PRECOMPOSE,(function(t){var e=t.frameState.layerStatesArray,n=this.getLayerState(!1);Object(h.a)(!e.some((function(t){return t.layer===n.layer})),67),e.push(n)}),this),this.mapRenderKey_=Object(i.a)(this,r.a.CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(s.a.SOURCE,t)},e.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},e.prototype.hasRenderer=function(){return!!this.renderer_},e.prototype.createRenderer=function(){return null},e.prototype.disposeInternal=function(){this.setSource(null),t.prototype.disposeInternal.call(this)},e}(a.a);function b(t,e){if(!t.visible)return!1;var n=e.resolution;if(n<t.minResolution||n>=t.maxResolution)return!1;var l=e.zoom;return l>t.minZoom&&l<=t.maxZoom}e.a=f},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("LRne"),i=n("0EUg");function r(...t){return Object(i.a)()(Object(l.a)(...t))}},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";var l=n("7o/Q"),i=n("2QA8"),r=n("gRHU"),o=n("kJWO"),a=n("mCNh"),s=n("2fFW");n.d(e,"a",(function(){return u}));let u=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof l.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new l.a(t,e,n):new l.a(r.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),s.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof l.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=c(e))((e,n)=>{let l;l=this.subscribe(e=>{try{t(e)}catch(i){n(i),l&&l.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=c(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function c(t){if(t||(t=s.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},"HEh+":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return u}));var l=n("f8l7");function i(t,e,n,i,r,o,a){var s=(n-e)/i;if(s<3){for(;e<n;e+=i)o[a++]=t[e],o[a++]=t[e+1];return a}var u=new Array(s);u[0]=1,u[s-1]=1;for(var c=[e,n-i],d=0;c.length>0;){for(var h=c.pop(),p=c.pop(),f=0,b=t[p],m=t[p+1],g=t[h],_=t[h+1],y=p+i;y<h;y+=i){var A=t[y],v=t[y+1],C=Object(l.g)(A,v,b,m,g,_);C>f&&(d=y,f=C)}f>r&&(u[(d-e)/i]=1,p+i<d&&c.push(p,d),d+i<h&&c.push(d,h))}for(y=0;y<s;++y)u[y]&&(o[a++]=t[e+y*i],o[a++]=t[e+y*i+1]);return a}function r(t,e,n,l,r,o,a,s){for(var u=0,c=n.length;u<c;++u){var d=n[u];a=i(t,e,d,l,r,o,a),s.push(a),e=d}return a}function o(t,e){return e*Math.round(t/e)}function a(t,e,n,l,i,r,a){if(e==n)return a;var s,u,c=o(t[e],i),d=o(t[e+1],i);e+=l,r[a++]=c,r[a++]=d;do{if(s=o(t[e],i),u=o(t[e+1],i),(e+=l)==n)return r[a++]=s,r[a++]=u,a}while(s==c&&u==d);for(;e<n;){var h=o(t[e],i),p=o(t[e+1],i);if(e+=l,h!=s||p!=u){var f=s-c,b=u-d,m=h-c,g=p-d;f*g==b*m&&(f<0&&m<f||f==m||f>0&&m>f)&&(b<0&&g<b||b==g||b>0&&g>b)?(s=h,u=p):(r[a++]=s,r[a++]=u,c=s,d=u,s=h,u=p)}}return r[a++]=s,r[a++]=u,a}function s(t,e,n,l,i,r,o,s){for(var u=0,c=n.length;u<c;++u){var d=n[u];o=a(t,e,d,l,i,r,o),s.push(o),e=d}return o}function u(t,e,n,l,i,r,o,a){for(var u=0,c=n.length;u<c;++u){var d=n[u],h=[];o=s(t,e,d,l,i,r,o,h),a.push(h),e=d[d.length-1]}return o}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},l={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(t){return function(e,i,r,o){var a=n(e),s=l[t][n(e)];return 2===a&&(s=s[i?0:1]),s.replace(/%d/i,e)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HjK1:function(t,e,n){function l(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("lhf0")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var l="color: "+this.color;t.splice(1,0,l,"color: inherit");var i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(r=i))})),t.splice(r,0,l)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=l,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(l())},Ho3V:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));var l=n("OPOH");function i(t,e,n,l,i){if(l&&l!==t&&(n=n.bind(l)),i){var r=n;n=function(){t.removeEventListener(e,n),r.apply(this,arguments)}}var o={target:t,type:e,listener:n};return t.addEventListener(e,n),o}function r(t,e,n,l){return i(t,e,n,l,!0)}function o(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Object(l.b)(t))}},"Hq+i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("8Y7J"),i=(n("G0WM"),n("vDCU"));class r{constructor(t,e,n){this.dialogRef=t,this.notif=e,this.notificationService=n,this.onSelect=i.a,this.viewedNotif=new l.r,this.currentPage="listNotification",this.selectNotif=void 0}ngOnInit(){this.notif&&this.goToNotif(this.notif)}goToNotif(t){this.selectNotif=t,this.currentPage="viewNotification"}goToList(){this.currentPage="listNotification"}goToParam(){this.currentPage="paramNotification"}closeModal(){this.dialogRef.close()}deleteNotification(){const t={id:this.selectNotif.id};console.log(t),this.notificationService.deleteOneBaseNotificationControllerNotification(t).subscribe(t=>{console.log(t),this.currentPage="listNotification"})}}},Hqo4:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("TN97"),i=n("W8M7"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=n("ppab"),u=(n("svHU"),n("drqP"),n("Fi3X"),n("Ca9r"),n("SSvb"));class c extends s.a{constructor(t){super(),this.mapService=t,this.horizonLine=[],this.sectorPolygon=[],this.sectorFeature=void 0,this.activeComponents={sector:!0,population:!1,topography:!1,hexMap:!0,piv:!0}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngAfterViewInit(){}ngOnDestroy(){this.removeSector(),this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displaySector(t,e){this.isDescent=e.isDescent,this.horizonLine=this.getHorizonLine(t,e),this.sectorPolygon=this.createSectorPolygon(t,this.horizonLine),this.manageSector(),this.managePiv(),this.manageHexMap(t,this.isDescent),this.manageGrid(t)}toggleComponent(t,e){this.activeComponents[t]=!this.activeComponents[t],"sector"===t?this.manageSector():"piv"===t?this.managePiv():"population"===t||"topography"===t?this.manageGrid(e):"hexMap"===t&&this.manageHexMap(e,this.isDescent)}getTrajectoryTarget(){const t=this.mapService.getMap().getLayers().getArray().filter(t=>"Trajectory"===t.get("name"))[0].getLayers().getArray().filter(t=>"trajectory-line"===t.get("name"))[0].getSource().getFeatures()[0].getGeometry().getCoordinates();return t[t.length-1]}manageSector(){!0===this.activeComponents.sector?this.upsertSectorFeature(this.sectorPolygon):this.removeSector()}managePiv(){!0===this.activeComponents.piv?this.pivComponent.displayPiv(this.sectorPolygon):this.pivComponent.removePiv()}manageHexMap(t,e){if(!0===this.activeComponents.hexMap){const n=this.getTrajectoryTarget();this.hexMapComponent.displayHexMap(t,n,this.horizonLine,e)}else this.hexMapComponent.removeHexMap()}manageGrid(t){!0===this.activeComponents.population||!0===this.activeComponents.topography?this.gridComponent.displayGrid(t,this.sectorPolygon,this.horizonLine,this.activeComponents):this.gridComponent.removeGrid()}removeSector(){this.source.clear(),this.sectorFeature=void 0,this.pivComponent.removePiv(),this.gridComponent.removeGrid()}getHorizonLine(t,e){let n=this.degreesToAbsolute(t.track-5),l=this.degreesToAbsolute(t.track+5);e.isDescent&&(n=this.degreesToAbsolute(t.track-15),l=this.degreesToAbsolute(t.track+15));const i=a.point([t.longitude,t.latitude]);return a.lineArc(i,e.distance,n,l).geometry.coordinates}createSectorPolygon(t,e){const n=a.point([t.longitude,t.latitude]),l=a.point(e[0]),i=a.greatCircle(n,l),r=a.point(e[e.length-1]),o=a.greatCircle(r,n);return[[...i.geometry.coordinates,...e,...o.geometry.coordinates]]}degreesToAbsolute(t){return t>360?t-360:t<0?t+360:t}upsertSectorFeature(t){const e=Object(u.b)(t),n=new i.a(e);this.sectorFeature?this.sectorFeature.setGeometry(n):(this.sectorFeature=new l.a({geometry:n,id_:"TRAJECTORY-CONE"}),this.sectorFeature.setStyle(new r.b({stroke:new o.a({color:"red",width:2})})),this.source.addFeature(this.sectorFeature))}}},HsOI:function(t,e,n){"use strict";n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return v})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return f})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return m}));var l=n("8Y7J"),i=(n("GS7A"),n("KCVW")),r=n("Xd0L"),o=n("XNiG"),a=n("VRyK"),s=n("xgIS"),u=n("JX91"),c=n("1G5W"),d=n("IzEk");let h=0;class p{constructor(){this.id="mat-error-"+h++}}class f{}function b(t){return Error(`A hint was already declared for 'align="${t}"'.`)}class m{}class g{}let _=0;class y{constructor(t){this._elementRef=t}}const A=Object(r.E)(y,"primary"),v=new l.w("MAT_FORM_FIELD_DEFAULT_OPTIONS");class C extends A{constructor(t,e,n,l,i,r,a,s){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=l,this._defaults=i,this._platform=r,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new o.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+_++,this._labelId="mat-form-field-label-"+_++,this._previousDirection="ltr",this._labelOptions=n||{},this.floatLabel=this._labelOptions.float||"auto",this._animationsEnabled="NoopAnimations"!==s,this.appearance=i&&i.appearance?i.appearance:"legacy",this._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(i.c)(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(u.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(c.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(a.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this.updateOutlineGap(),this._previousDirection=this._dir.value})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(s.a)(this._label.nativeElement,"transitionend").pipe(Object(d.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if("start"===n.align){if(t||this.hintLabel)throw b("start");t=n}else if("end"===n.align){if(e)throw b("end");e=n}})}}_syncDescribedByIds(){if(this._control){let t=[];if("hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!document.documentElement.contains(this._elementRef.nativeElement))return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const l=this._connectionContainerRef.nativeElement,i=l.querySelectorAll(".mat-form-field-outline-start"),r=l.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const i=l.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(i),o=this._getStartEnd(t.children[0].getBoundingClientRect());let a=0;for(const e of t.children)a+=e.offsetWidth;e=o-r-5,n=a>0?.75*a+10:0}for(let o=0;o<i.length;o++)i.item(o).style.width=e+"px";for(let o=0;o<r.length;o++)r.item(o).style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return"rtl"===this._previousDirection?t.right:t.left}}class w{}},Hsuu:function(t,e,n){"use strict";e.a={ARRAY_BUFFER:"arraybuffer",JSON:"json",TEXT:"text",XML:"xml"}},HyV0:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>t&&"number"==typeof t.length&&"function"!=typeof t},I5KE:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t,e){this.show=!1,this.name="",this.type="",this.mapping={},this.properties={},this.data={},this.feature=e;const n=!0===t.get("isPivIntersects")?e:t,l=n.get("clickable"),i=n.get("hoverable");this.show=l||i,this.type=n.get(!0===t.get("isPivIntersects")?"layerName":"name"),this.mapping=n.get(!0===t.get("isPivIntersects")?"layerMapping":"mapping"),this.properties=e.getProperties();for(const r in this.mapping)this.mapping.hasOwnProperty(r)&&this.properties.hasOwnProperty(r)&&(this.data[this.mapping[r]]=this.properties[r],"name"===this.mapping[r]&&(this.name=this.properties[r]))}}},I9pN:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("MlvX"),r=n("Xd0L"),o=n("HsOI"),a=n("bujt"),s=n("Fwaw"),u=n("5GAg"),c=n("omvX"),d=n("s7LF"),h=n("dJrM"),p=n("IP0z"),f=n("/HVE"),b=n("ZwOa"),m=n("oapL"),g=n("/Co4"),_=n("QQfA"),y=n("SVse"),A=n("hOhj"),v=n("Rn7m"),C=n("JX91"),w=n("Kj3r"),P=n("eIep"),x=n("lJxs"),S=n("JIr8"),k=n("LRne");n("G0WM");const M=t=>t.value<=-180||t.value>=180?{validLongitude:{reason:"outOfBound",value:t.value}}:null,O=t=>t.value<=-90||t.value>=90?{validLatitude:{reason:"outOfBound",value:t.value}}:null,D=t=>t.value<0||t.value>25e3?{validSpeed:{reason:"outOfBound",value:t.value}}:null,T=t=>t.value<0?{notNegative:{reason:"negative",value:t.value}}:null;class E{isErrorState(t,e){const n=!(!t||!t.dirty&&!t.touched),l=!(!t||!t.hasError("track")),i=!(!t||!(t.parent.hasError("track")||t.parent.hasError("trackSup")||t.parent.hasError("trackInf")));return n&&(l||i)}}class I{isErrorState(t,e){const n=!(!t||!t.dirty&&!t.touched),l=!(!t||!t.hasError("ttl")),i=!(!t||!(t.parent.hasError("ttl")||t.parent.hasError("ttlNegative")||t.parent.hasError("trackSup")||t.parent.hasError("trackInf")));return n&&(l||i)}}class L{constructor(t,e,n,i){this.formBuilder=t,this.ghostService=e,this.stopPointService=n,this.engineService=i,this.changePage=new l.r,this.airportAutoComplete$=null,this.airportAutoCompleteControl=new d.g,this.modelIcaoAutoComplete$=null,this.modelIcaoAutoCompleteControl=new d.g(d.w.required),this.matcher=new E,this.matcherTtlTrack=new I,this.defaultSpeed=300,this.defaultAtl=25e3}ngOnInit(){this.initForm(),this.airportAutoComplete$=this.airportAutoCompleteControl.valueChanges.pipe(Object(C.a)(""),Object(w.a)(300),Object(P.a)(t=>""!==t?this.lookupAirport(t.toUpperCase()):Object(k.a)(null))),this.modelIcaoAutoComplete$=this.modelIcaoAutoCompleteControl.valueChanges.pipe(Object(C.a)(""),Object(w.a)(300),Object(P.a)(t=>""!==t?this.lookupModelIcao(t.toUpperCase()):Object(k.a)(null)))}initForm(){this.modelIcaoAutoCompleteControl.setValue(this.ghost?this.ghost.icaoTypeCode:""),this.airportAutoCompleteControl.setValue(this.ghost?this.ghost.toIcao:""),this.ghostForm=this.formBuilder.group({icao:[this.ghost?{value:this.ghost.icao,disabled:!0}:null,[d.w.required]],latitude:[this.ghost?this.ghost.latitude:null,[d.w.required,O]],longitude:[this.ghost?this.ghost.longitude:null,[d.w.required,M]],speed:[this.ghost?this.ghost.speed:this.defaultSpeed,[d.w.required,D,T]],altitude:[this.ghost?this.ghost.altitude:this.defaultAtl,[d.w.required,T]],vsi:[this.ghost?this.ghost.vsi:null,[d.w.required]],icaoTypeCode:this.modelIcaoAutoCompleteControl,ttl:[this.ghost?this.ghost.ttl/6e4:null],track:[this.ghost?this.ghost.track:null],toIcao:this.airportAutoCompleteControl},{validator:this.testAirportTrackAndTTl}),this.verif_update=this.ghost?{latitude:this.ghost.latitude,longitude:this.ghost.longitude}:null}testAirportTrackAndTTl(t){const e={};if(t){const n=t.controls;if(n.toIcao.value&&n.toIcao.value.length>1)return null;if(null!==n.track.value&&null!==n.ttl.value&&Number(n.ttl.value)>0&&Number(n.track.value)<=360&&Number(n.track.value)>=0)return null;null===n.track.value?e.track="track":(n.track.value>360?e.trackSup="trackSup":n.track.value<0&&(e.trackInf="trackInf"),null===n.ttl.value?e.ttl="ttl":Number(n.ttl.value)<=0&&(e.ttlNegative="ttlNegative"))}return e}lookupAirport(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(x.a)(t=>t.data),Object(S.a)(t=>Object(k.a)(null)))}lookupModelIcao(t){return this.engineService.getManyBaseEngineControllerEngine({filter:["icao||cont||"+t],limit:10}).pipe(Object(x.a)(t=>t.data),Object(S.a)(t=>Object(k.a)(null)))}onSubmitGhost(){this.ghost?(this.verif_update.latitude!=this.ghostForm.get("latitude").value||this.verif_update.longitude!=this.ghostForm.get("longitude").value?(this.ghost.latitude=this.ghostForm.get("latitude").value,this.ghost.longitude=this.ghostForm.get("longitude").value):(delete this.ghost.latitude,delete this.ghost.longitude),this.ghost.track=this.ghostForm.get("track").value,this.ghost.speed=this.ghostForm.get("speed").value,this.ghost.altitude=this.ghostForm.get("altitude").value,this.ghost.vsi=this.ghostForm.get("vsi").value,this.ghost.icaoTypeCode=this.ghostForm.get("icaoTypeCode").value,this.ghost.toIcao=this.ghostForm.get("toIcao").value,this.ghost.ttl=6e4*this.ghostForm.get("ttl").value,this.updateGhost()):this.createGhost()}updateGhost(){this.ghostService.ghostControllerUpdateGhost({icao:this.ghost.icao,body:this.ghost}).subscribe(t=>{this.changePage.emit("UPDATED")})}createGhost(){const t={ghost:{icao:this.ghostForm.get("icao").value,ttl:6e4*this.ghostForm.get("ttl").value},position:{icao:this.ghostForm.get("icao").value,latitude:this.ghostForm.get("latitude").value,longitude:this.ghostForm.get("longitude").value,track:this.ghostForm.get("track").value,speed:this.ghostForm.get("speed").value,altitude:this.ghostForm.get("altitude").value,vsi:this.ghostForm.get("vsi").value,icaoTypeCode:this.ghostForm.get("icaoTypeCode").value,toIcao:this.ghostForm.get("toIcao").value}};this.ghostService.ghostControllerAddGhost({body:t}).subscribe(t=>{this.changePage.emit("CREATED")})}closePage(){this.changePage.emit("")}}var j=n("TYbz"),R=n("rLOe"),F=n("EFbT"),N=l.Bb({encapsulation:0,styles:[[".ghost-form[_ngcontent-%COMP%]{padding:0 10px 10px}.ghost-form[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%]{position:relative}.ghost-form[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;height:50px;margin-top:10px;margin-bottom:10px}.ghost-form[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.ghost-form[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:.25em}.btn-success[_ngcontent-%COMP%]{display:block;margin-left:45%}"]],data:{}});function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[64,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Db(2,0,null,0,1,"p",[["style","margin: 0;line-height: 15px;font-size: 13px;"]],null,null,null,null,null)),(t()(),l.Wb(3,null,[" ",""]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,3,0,e.context.$implicit.icao)}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[75,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Db(2,0,null,0,1,"p",[["style","margin: 0;line-height: 15px;font-size: 13px;"]],null,null,null,null,null)),(t()(),l.Wb(3,null,[" ",""]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,3,0,e.context.$implicit.icao)}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[71,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["An airport or a track is required"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[82,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["Track must be less than 360"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[82,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["Track must be a positive number"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[91,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["TTL is required if track is set"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[91,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["TTL must be a positive number"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,252,"div",[["class","ghost-form"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["class","btn return-button"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closePage()&&l),l}),a.b,a.a)),l.Cb(2,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Return"])),(t()(),l.Db(4,0,null,null,248,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,6).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,6).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.onSubmitGhost()&&i),i}),null,null)),l.Cb(5,16384,null,0,d.A,[],null,null),l.Cb(6,540672,null,0,d.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,d.c,null,[d.k]),l.Cb(8,16384,null,0,d.r,[[4,d.c]],null,null),(t()(),l.Db(9,0,null,null,21,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Identification"])),(t()(),l.Db(12,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(13,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(23,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","icao"],["matInput",""],["placeholder","Icao"],["title","Icao"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,24)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,24).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,24)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,24)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,29)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,29)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,29)._onInput()&&i),i}),null,null)),l.Cb(24,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Tb(1024,null,d.o,(function(t){return[t]}),[d.d]),l.Cb(26,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(28,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(29,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],o.d,null,[b.b]),(t()(),l.Db(31,0,null,null,42,"div",[],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Coordinate"])),(t()(),l.Db(34,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(35,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,10,{_controlNonStatic:0}),l.Ub(335544320,11,{_controlStatic:0}),l.Ub(603979776,12,{_labelChildNonStatic:0}),l.Ub(335544320,13,{_labelChildStatic:0}),l.Ub(603979776,14,{_placeholderChild:0}),l.Ub(603979776,15,{_errorChildren:1}),l.Ub(603979776,16,{_hintChildren:1}),l.Ub(603979776,17,{_prefixChildren:1}),l.Ub(603979776,18,{_suffixChildren:1}),(t()(),l.Db(45,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","latitude"],["matInput",""],["max","90"],["min","-90"],["placeholder","Latitude"],["step","0.1"],["title","Latitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,46)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,46).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,46)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,46)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,47).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,47).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,52)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,52)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,52)._onInput()&&i),i}),null,null)),l.Cb(46,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(47,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(49,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(51,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(52,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[10,4],[11,4]],o.d,null,[b.b]),(t()(),l.Db(54,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(55,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,19,{_controlNonStatic:0}),l.Ub(335544320,20,{_controlStatic:0}),l.Ub(603979776,21,{_labelChildNonStatic:0}),l.Ub(335544320,22,{_labelChildStatic:0}),l.Ub(603979776,23,{_placeholderChild:0}),l.Ub(603979776,24,{_errorChildren:1}),l.Ub(603979776,25,{_hintChildren:1}),l.Ub(603979776,26,{_prefixChildren:1}),l.Ub(603979776,27,{_suffixChildren:1}),(t()(),l.Db(65,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","longitude"],["matInput",""],["max","180"],["min","-180"],["placeholder","Longitude"],["step","0.1"],["title","Longitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,66)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,66).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,66)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,66)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,67).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,67).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,67).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,72)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,72)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,72)._onInput()&&i),i}),null,null)),l.Cb(66,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(67,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(69,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(71,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(72,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[19,4],[20,4]],o.d,null,[b.b]),(t()(),l.Db(74,0,null,null,92,"div",[],null,null,null,null,null)),(t()(),l.Db(75,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Velocity"])),(t()(),l.Db(77,0,null,null,40,"div",[],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(79,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,28,{_controlNonStatic:0}),l.Ub(335544320,29,{_controlStatic:0}),l.Ub(603979776,30,{_labelChildNonStatic:0}),l.Ub(335544320,31,{_labelChildStatic:0}),l.Ub(603979776,32,{_placeholderChild:0}),l.Ub(603979776,33,{_errorChildren:1}),l.Ub(603979776,34,{_hintChildren:1}),l.Ub(603979776,35,{_prefixChildren:1}),l.Ub(603979776,36,{_suffixChildren:1}),(t()(),l.Db(89,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","speed"],["matInput",""],["min","0"],["placeholder","Ground speed"],["step","30"],["title","Ground speed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,90)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,90).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,90)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,90)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,91).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,91).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,91).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,96)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,96)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,96)._onInput()&&i),i}),null,null)),l.Cb(90,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(91,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(93,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(95,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(96,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[28,4],[29,4]],o.d,null,[b.b]),(t()(),l.Db(98,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(99,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,37,{_controlNonStatic:0}),l.Ub(335544320,38,{_controlStatic:0}),l.Ub(603979776,39,{_labelChildNonStatic:0}),l.Ub(335544320,40,{_labelChildStatic:0}),l.Ub(603979776,41,{_placeholderChild:0}),l.Ub(603979776,42,{_errorChildren:1}),l.Ub(603979776,43,{_hintChildren:1}),l.Ub(603979776,44,{_prefixChildren:1}),l.Ub(603979776,45,{_suffixChildren:1}),(t()(),l.Db(109,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","altitude"],["matInput",""],["min","0"],["placeholder","Altitude"],["step","1000"],["title","Altitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,110)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,110).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,110)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,110)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,111).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,111).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,111).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,116)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,116)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,116)._onInput()&&i),i}),null,null)),l.Cb(110,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(111,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(113,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(115,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(116,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[37,4],[38,4]],o.d,null,[b.b]),(t()(),l.Db(118,0,null,null,48,"div",[],null,null,null,null,null)),(t()(),l.Db(119,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(120,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,46,{_controlNonStatic:0}),l.Ub(335544320,47,{_controlStatic:0}),l.Ub(603979776,48,{_labelChildNonStatic:0}),l.Ub(335544320,49,{_labelChildStatic:0}),l.Ub(603979776,50,{_placeholderChild:0}),l.Ub(603979776,51,{_errorChildren:1}),l.Ub(603979776,52,{_hintChildren:1}),l.Ub(603979776,53,{_prefixChildren:1}),l.Ub(603979776,54,{_suffixChildren:1}),(t()(),l.Db(130,0,null,1,8,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vsi"],["matInput",""],["placeholder","VSI"],["title","VSI"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,131)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,131).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,131)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,131)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,132).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,132).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,132).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,137)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,137)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,137)._onInput()&&i),i}),null,null)),l.Cb(131,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(132,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(134,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(136,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(137,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[46,4],[47,4]],o.d,null,[b.b]),(t()(),l.Db(139,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(140,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,55,{_controlNonStatic:0}),l.Ub(335544320,56,{_controlStatic:0}),l.Ub(603979776,57,{_labelChildNonStatic:0}),l.Ub(335544320,58,{_labelChildStatic:0}),l.Ub(603979776,59,{_placeholderChild:0}),l.Ub(603979776,60,{_errorChildren:1}),l.Ub(603979776,61,{_hintChildren:1}),l.Ub(603979776,62,{_prefixChildren:1}),l.Ub(603979776,63,{_suffixChildren:1}),(t()(),l.Db(150,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Model"],["title","Model"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,151)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,151).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,151)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,151)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,152)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,152)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,152)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,152)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,157)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,157)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,157)._onInput()&&i),i}),null,null)),l.Cb(151,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(152,4866048,null,0,g.f,[l.p,_.c,l.Y,l.G,l.j,g.b,[2,p.b],[2,o.c],[2,y.d],A.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,g.f]),l.Cb(154,540672,null,0,d.h,[[8,null],[8,null],[6,d.o],[2,d.z]],{form:[0,"form"]},null),l.Tb(2048,null,d.p,null,[d.h]),l.Cb(156,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(157,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[55,4],[56,4]],o.d,null,[b.b]),(t()(),l.Db(159,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,v.b,v.a)),l.Tb(6144,null,r.l,null,[g.d]),l.Cb(161,1097728,[["autoModel",4]],2,g.d,[l.j,l.p,g.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,64,{options:1}),l.Ub(603979776,65,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Y)),l.Cb(165,278528,null,0,y.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,y.b,[l.j]),(t()(),l.Db(167,0,null,null,82,"div",[],null,null,null,null,null)),(t()(),l.Db(168,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Direction"])),(t()(),l.Db(170,0,null,null,29,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(171,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,66,{_controlNonStatic:0}),l.Ub(335544320,67,{_controlStatic:0}),l.Ub(603979776,68,{_labelChildNonStatic:0}),l.Ub(335544320,69,{_labelChildStatic:0}),l.Ub(603979776,70,{_placeholderChild:0}),l.Ub(603979776,71,{_errorChildren:1}),l.Ub(603979776,72,{_hintChildren:1}),l.Ub(603979776,73,{_prefixChildren:1}),l.Ub(603979776,74,{_suffixChildren:1}),(t()(),l.Db(181,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","to Icao"],["title","to Icao"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,182)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,182).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,182)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,182)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,183)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,183)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,183)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,183)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,188)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,188)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,188)._onInput()&&i),i}),null,null)),l.Cb(182,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(183,4866048,null,0,g.f,[l.p,_.c,l.Y,l.G,l.j,g.b,[2,p.b],[2,o.c],[2,y.d],A.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,g.f]),l.Cb(185,540672,null,0,d.h,[[8,null],[8,null],[6,d.o],[2,d.z]],{form:[0,"form"]},null),l.Tb(2048,null,d.p,null,[d.h]),l.Cb(187,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(188,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[66,4],[67,4]],o.d,null,[b.b]),(t()(),l.Db(190,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,v.b,v.a)),l.Tb(6144,null,r.l,null,[g.d]),l.Cb(192,1097728,[["auto",4]],2,g.d,[l.j,l.p,g.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,75,{options:1}),l.Ub(603979776,76,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,U)),l.Cb(196,278528,null,0,y.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,y.b,[l.j]),(t()(),l.sb(16777216,null,5,1,null,B)),l.Cb(199,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(200,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" or "])),(t()(),l.Db(202,0,null,null,23,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(203,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,77,{_controlNonStatic:0}),l.Ub(335544320,78,{_controlStatic:0}),l.Ub(603979776,79,{_labelChildNonStatic:0}),l.Ub(335544320,80,{_labelChildStatic:0}),l.Ub(603979776,81,{_placeholderChild:0}),l.Ub(603979776,82,{_errorChildren:1}),l.Ub(603979776,83,{_hintChildren:1}),l.Ub(603979776,84,{_prefixChildren:1}),l.Ub(603979776,85,{_suffixChildren:1}),(t()(),l.Db(213,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","track"],["matInput",""],["max","360"],["min","0"],["placeholder","Track"],["step","30"],["title","Track"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,214)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,214).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,214)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,214)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,215).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,215).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,215).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,220)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,220)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,220)._onInput()&&i),i}),null,null)),l.Cb(214,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(215,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(217,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(219,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(220,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[77,4],[78,4]],o.d,null,[b.b]),(t()(),l.sb(16777216,null,5,1,null,z)),l.Cb(223,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,5,1,null,G)),l.Cb(225,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(226,0,null,null,23,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(227,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,86,{_controlNonStatic:0}),l.Ub(335544320,87,{_controlStatic:0}),l.Ub(603979776,88,{_labelChildNonStatic:0}),l.Ub(335544320,89,{_labelChildStatic:0}),l.Ub(603979776,90,{_placeholderChild:0}),l.Ub(603979776,91,{_errorChildren:1}),l.Ub(603979776,92,{_hintChildren:1}),l.Ub(603979776,93,{_prefixChildren:1}),l.Ub(603979776,94,{_suffixChildren:1}),(t()(),l.Db(237,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ttl"],["matInput",""],["min","0"],["placeholder","Time to live (min)"],["title","Time to live"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,238)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,238).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,238)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,238)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,239).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,239).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,239).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,244)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,244)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,244)._onInput()&&i),i}),null,null)),l.Cb(238,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(239,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(241,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(243,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(244,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[86,4],[87,4]],o.d,null,[b.b]),(t()(),l.sb(16777216,null,5,1,null,H)),l.Cb(247,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,5,1,null,V)),l.Cb(249,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(250,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["style","margin-top: 5%;"],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,a.b,a.a)),l.Cb(251,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{disabled:[0,"disabled"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,6,0,n.ghostForm),t(e,13,0,"outline"),t(e,26,0,"icao"),t(e,29,0,"Icao","text"),t(e,35,0,"outline"),t(e,49,0,"latitude"),t(e,52,0,"Latitude","number"),t(e,55,0,"outline"),t(e,69,0,"longitude"),t(e,72,0,"Longitude","number"),t(e,79,0,"outline"),t(e,93,0,"speed"),t(e,96,0,"Ground speed","number"),t(e,99,0,"outline"),t(e,113,0,"altitude"),t(e,116,0,"Altitude","number"),t(e,120,0,"outline"),t(e,134,0,"vsi"),t(e,137,0,"VSI","number"),t(e,140,0,"outline"),t(e,152,0,l.Pb(e,161)),t(e,154,0,n.modelIcaoAutoCompleteControl),t(e,157,0,"Model","text"),t(e,161,0,""),t(e,165,0,l.Xb(e,165,0,l.Pb(e,166).transform(n.modelIcaoAutoComplete$))),t(e,171,0,"outline"),t(e,183,0,l.Pb(e,192)),t(e,185,0,n.airportAutoCompleteControl),t(e,188,0,"to Icao","text",n.matcher),t(e,192,0,""),t(e,196,0,l.Xb(e,196,0,l.Pb(e,197).transform(n.airportAutoComplete$))),t(e,199,0,n.ghostForm.hasError("track")),t(e,203,0,"outline"),t(e,217,0,"track"),t(e,220,0,"Track","number",n.matcher),t(e,223,0,n.ghostForm.hasError("trackSup")),t(e,225,0,n.ghostForm.hasError("trackInf")),t(e,227,0,"outline"),t(e,241,0,"ttl"),t(e,244,0,"Time to live (min)","number",n.matcherTtlTrack),t(e,247,0,n.ghostForm.hasError("ttl")),t(e,249,0,n.ghostForm.hasError("ttlNegative")),t(e,251,0,!n.ghostForm.valid)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode),t(e,4,0,l.Pb(e,8).ngClassUntouched,l.Pb(e,8).ngClassTouched,l.Pb(e,8).ngClassPristine,l.Pb(e,8).ngClassDirty,l.Pb(e,8).ngClassValid,l.Pb(e,8).ngClassInvalid,l.Pb(e,8).ngClassPending),t(e,12,1,["standard"==l.Pb(e,13).appearance,"fill"==l.Pb(e,13).appearance,"outline"==l.Pb(e,13).appearance,"legacy"==l.Pb(e,13).appearance,l.Pb(e,13)._control.errorState,l.Pb(e,13)._canLabelFloat,l.Pb(e,13)._shouldLabelFloat(),l.Pb(e,13)._hasFloatingLabel(),l.Pb(e,13)._hideControlPlaceholder(),l.Pb(e,13)._control.disabled,l.Pb(e,13)._control.autofilled,l.Pb(e,13)._control.focused,"accent"==l.Pb(e,13).color,"warn"==l.Pb(e,13).color,l.Pb(e,13)._shouldForward("untouched"),l.Pb(e,13)._shouldForward("touched"),l.Pb(e,13)._shouldForward("pristine"),l.Pb(e,13)._shouldForward("dirty"),l.Pb(e,13)._shouldForward("valid"),l.Pb(e,13)._shouldForward("invalid"),l.Pb(e,13)._shouldForward("pending"),!l.Pb(e,13)._animationsEnabled]),t(e,23,1,[l.Pb(e,28).ngClassUntouched,l.Pb(e,28).ngClassTouched,l.Pb(e,28).ngClassPristine,l.Pb(e,28).ngClassDirty,l.Pb(e,28).ngClassValid,l.Pb(e,28).ngClassInvalid,l.Pb(e,28).ngClassPending,l.Pb(e,29)._isServer,l.Pb(e,29).id,l.Pb(e,29).placeholder,l.Pb(e,29).disabled,l.Pb(e,29).required,l.Pb(e,29).readonly&&!l.Pb(e,29)._isNativeSelect||null,l.Pb(e,29)._ariaDescribedby||null,l.Pb(e,29).errorState,l.Pb(e,29).required.toString()]),t(e,34,1,["standard"==l.Pb(e,35).appearance,"fill"==l.Pb(e,35).appearance,"outline"==l.Pb(e,35).appearance,"legacy"==l.Pb(e,35).appearance,l.Pb(e,35)._control.errorState,l.Pb(e,35)._canLabelFloat,l.Pb(e,35)._shouldLabelFloat(),l.Pb(e,35)._hasFloatingLabel(),l.Pb(e,35)._hideControlPlaceholder(),l.Pb(e,35)._control.disabled,l.Pb(e,35)._control.autofilled,l.Pb(e,35)._control.focused,"accent"==l.Pb(e,35).color,"warn"==l.Pb(e,35).color,l.Pb(e,35)._shouldForward("untouched"),l.Pb(e,35)._shouldForward("touched"),l.Pb(e,35)._shouldForward("pristine"),l.Pb(e,35)._shouldForward("dirty"),l.Pb(e,35)._shouldForward("valid"),l.Pb(e,35)._shouldForward("invalid"),l.Pb(e,35)._shouldForward("pending"),!l.Pb(e,35)._animationsEnabled]),t(e,45,1,[l.Pb(e,51).ngClassUntouched,l.Pb(e,51).ngClassTouched,l.Pb(e,51).ngClassPristine,l.Pb(e,51).ngClassDirty,l.Pb(e,51).ngClassValid,l.Pb(e,51).ngClassInvalid,l.Pb(e,51).ngClassPending,l.Pb(e,52)._isServer,l.Pb(e,52).id,l.Pb(e,52).placeholder,l.Pb(e,52).disabled,l.Pb(e,52).required,l.Pb(e,52).readonly&&!l.Pb(e,52)._isNativeSelect||null,l.Pb(e,52)._ariaDescribedby||null,l.Pb(e,52).errorState,l.Pb(e,52).required.toString()]),t(e,54,1,["standard"==l.Pb(e,55).appearance,"fill"==l.Pb(e,55).appearance,"outline"==l.Pb(e,55).appearance,"legacy"==l.Pb(e,55).appearance,l.Pb(e,55)._control.errorState,l.Pb(e,55)._canLabelFloat,l.Pb(e,55)._shouldLabelFloat(),l.Pb(e,55)._hasFloatingLabel(),l.Pb(e,55)._hideControlPlaceholder(),l.Pb(e,55)._control.disabled,l.Pb(e,55)._control.autofilled,l.Pb(e,55)._control.focused,"accent"==l.Pb(e,55).color,"warn"==l.Pb(e,55).color,l.Pb(e,55)._shouldForward("untouched"),l.Pb(e,55)._shouldForward("touched"),l.Pb(e,55)._shouldForward("pristine"),l.Pb(e,55)._shouldForward("dirty"),l.Pb(e,55)._shouldForward("valid"),l.Pb(e,55)._shouldForward("invalid"),l.Pb(e,55)._shouldForward("pending"),!l.Pb(e,55)._animationsEnabled]),t(e,65,1,[l.Pb(e,71).ngClassUntouched,l.Pb(e,71).ngClassTouched,l.Pb(e,71).ngClassPristine,l.Pb(e,71).ngClassDirty,l.Pb(e,71).ngClassValid,l.Pb(e,71).ngClassInvalid,l.Pb(e,71).ngClassPending,l.Pb(e,72)._isServer,l.Pb(e,72).id,l.Pb(e,72).placeholder,l.Pb(e,72).disabled,l.Pb(e,72).required,l.Pb(e,72).readonly&&!l.Pb(e,72)._isNativeSelect||null,l.Pb(e,72)._ariaDescribedby||null,l.Pb(e,72).errorState,l.Pb(e,72).required.toString()]),t(e,78,1,["standard"==l.Pb(e,79).appearance,"fill"==l.Pb(e,79).appearance,"outline"==l.Pb(e,79).appearance,"legacy"==l.Pb(e,79).appearance,l.Pb(e,79)._control.errorState,l.Pb(e,79)._canLabelFloat,l.Pb(e,79)._shouldLabelFloat(),l.Pb(e,79)._hasFloatingLabel(),l.Pb(e,79)._hideControlPlaceholder(),l.Pb(e,79)._control.disabled,l.Pb(e,79)._control.autofilled,l.Pb(e,79)._control.focused,"accent"==l.Pb(e,79).color,"warn"==l.Pb(e,79).color,l.Pb(e,79)._shouldForward("untouched"),l.Pb(e,79)._shouldForward("touched"),l.Pb(e,79)._shouldForward("pristine"),l.Pb(e,79)._shouldForward("dirty"),l.Pb(e,79)._shouldForward("valid"),l.Pb(e,79)._shouldForward("invalid"),l.Pb(e,79)._shouldForward("pending"),!l.Pb(e,79)._animationsEnabled]),t(e,89,1,[l.Pb(e,95).ngClassUntouched,l.Pb(e,95).ngClassTouched,l.Pb(e,95).ngClassPristine,l.Pb(e,95).ngClassDirty,l.Pb(e,95).ngClassValid,l.Pb(e,95).ngClassInvalid,l.Pb(e,95).ngClassPending,l.Pb(e,96)._isServer,l.Pb(e,96).id,l.Pb(e,96).placeholder,l.Pb(e,96).disabled,l.Pb(e,96).required,l.Pb(e,96).readonly&&!l.Pb(e,96)._isNativeSelect||null,l.Pb(e,96)._ariaDescribedby||null,l.Pb(e,96).errorState,l.Pb(e,96).required.toString()]),t(e,98,1,["standard"==l.Pb(e,99).appearance,"fill"==l.Pb(e,99).appearance,"outline"==l.Pb(e,99).appearance,"legacy"==l.Pb(e,99).appearance,l.Pb(e,99)._control.errorState,l.Pb(e,99)._canLabelFloat,l.Pb(e,99)._shouldLabelFloat(),l.Pb(e,99)._hasFloatingLabel(),l.Pb(e,99)._hideControlPlaceholder(),l.Pb(e,99)._control.disabled,l.Pb(e,99)._control.autofilled,l.Pb(e,99)._control.focused,"accent"==l.Pb(e,99).color,"warn"==l.Pb(e,99).color,l.Pb(e,99)._shouldForward("untouched"),l.Pb(e,99)._shouldForward("touched"),l.Pb(e,99)._shouldForward("pristine"),l.Pb(e,99)._shouldForward("dirty"),l.Pb(e,99)._shouldForward("valid"),l.Pb(e,99)._shouldForward("invalid"),l.Pb(e,99)._shouldForward("pending"),!l.Pb(e,99)._animationsEnabled]),t(e,109,1,[l.Pb(e,115).ngClassUntouched,l.Pb(e,115).ngClassTouched,l.Pb(e,115).ngClassPristine,l.Pb(e,115).ngClassDirty,l.Pb(e,115).ngClassValid,l.Pb(e,115).ngClassInvalid,l.Pb(e,115).ngClassPending,l.Pb(e,116)._isServer,l.Pb(e,116).id,l.Pb(e,116).placeholder,l.Pb(e,116).disabled,l.Pb(e,116).required,l.Pb(e,116).readonly&&!l.Pb(e,116)._isNativeSelect||null,l.Pb(e,116)._ariaDescribedby||null,l.Pb(e,116).errorState,l.Pb(e,116).required.toString()]),t(e,119,1,["standard"==l.Pb(e,120).appearance,"fill"==l.Pb(e,120).appearance,"outline"==l.Pb(e,120).appearance,"legacy"==l.Pb(e,120).appearance,l.Pb(e,120)._control.errorState,l.Pb(e,120)._canLabelFloat,l.Pb(e,120)._shouldLabelFloat(),l.Pb(e,120)._hasFloatingLabel(),l.Pb(e,120)._hideControlPlaceholder(),l.Pb(e,120)._control.disabled,l.Pb(e,120)._control.autofilled,l.Pb(e,120)._control.focused,"accent"==l.Pb(e,120).color,"warn"==l.Pb(e,120).color,l.Pb(e,120)._shouldForward("untouched"),l.Pb(e,120)._shouldForward("touched"),l.Pb(e,120)._shouldForward("pristine"),l.Pb(e,120)._shouldForward("dirty"),l.Pb(e,120)._shouldForward("valid"),l.Pb(e,120)._shouldForward("invalid"),l.Pb(e,120)._shouldForward("pending"),!l.Pb(e,120)._animationsEnabled]),t(e,130,1,[l.Pb(e,136).ngClassUntouched,l.Pb(e,136).ngClassTouched,l.Pb(e,136).ngClassPristine,l.Pb(e,136).ngClassDirty,l.Pb(e,136).ngClassValid,l.Pb(e,136).ngClassInvalid,l.Pb(e,136).ngClassPending,l.Pb(e,137)._isServer,l.Pb(e,137).id,l.Pb(e,137).placeholder,l.Pb(e,137).disabled,l.Pb(e,137).required,l.Pb(e,137).readonly&&!l.Pb(e,137)._isNativeSelect||null,l.Pb(e,137)._ariaDescribedby||null,l.Pb(e,137).errorState,l.Pb(e,137).required.toString()]),t(e,139,1,["standard"==l.Pb(e,140).appearance,"fill"==l.Pb(e,140).appearance,"outline"==l.Pb(e,140).appearance,"legacy"==l.Pb(e,140).appearance,l.Pb(e,140)._control.errorState,l.Pb(e,140)._canLabelFloat,l.Pb(e,140)._shouldLabelFloat(),l.Pb(e,140)._hasFloatingLabel(),l.Pb(e,140)._hideControlPlaceholder(),l.Pb(e,140)._control.disabled,l.Pb(e,140)._control.autofilled,l.Pb(e,140)._control.focused,"accent"==l.Pb(e,140).color,"warn"==l.Pb(e,140).color,l.Pb(e,140)._shouldForward("untouched"),l.Pb(e,140)._shouldForward("touched"),l.Pb(e,140)._shouldForward("pristine"),l.Pb(e,140)._shouldForward("dirty"),l.Pb(e,140)._shouldForward("valid"),l.Pb(e,140)._shouldForward("invalid"),l.Pb(e,140)._shouldForward("pending"),!l.Pb(e,140)._animationsEnabled]),t(e,150,1,[l.Pb(e,152).autocompleteAttribute,l.Pb(e,152).autocompleteDisabled?null:"combobox",l.Pb(e,152).autocompleteDisabled?null:"list",l.Pb(e,152).panelOpen&&l.Pb(e,152).activeOption?l.Pb(e,152).activeOption.id:null,l.Pb(e,152).autocompleteDisabled?null:l.Pb(e,152).panelOpen.toString(),l.Pb(e,152).autocompleteDisabled||!l.Pb(e,152).panelOpen||null==l.Pb(e,152).autocomplete?null:l.Pb(e,152).autocomplete.id,!l.Pb(e,152).autocompleteDisabled,l.Pb(e,156).ngClassUntouched,l.Pb(e,156).ngClassTouched,l.Pb(e,156).ngClassPristine,l.Pb(e,156).ngClassDirty,l.Pb(e,156).ngClassValid,l.Pb(e,156).ngClassInvalid,l.Pb(e,156).ngClassPending,l.Pb(e,157)._isServer,l.Pb(e,157).id,l.Pb(e,157).placeholder,l.Pb(e,157).disabled,l.Pb(e,157).required,l.Pb(e,157).readonly&&!l.Pb(e,157)._isNativeSelect||null,l.Pb(e,157)._ariaDescribedby||null,l.Pb(e,157).errorState,l.Pb(e,157).required.toString()]),t(e,170,1,["standard"==l.Pb(e,171).appearance,"fill"==l.Pb(e,171).appearance,"outline"==l.Pb(e,171).appearance,"legacy"==l.Pb(e,171).appearance,l.Pb(e,171)._control.errorState,l.Pb(e,171)._canLabelFloat,l.Pb(e,171)._shouldLabelFloat(),l.Pb(e,171)._hasFloatingLabel(),l.Pb(e,171)._hideControlPlaceholder(),l.Pb(e,171)._control.disabled,l.Pb(e,171)._control.autofilled,l.Pb(e,171)._control.focused,"accent"==l.Pb(e,171).color,"warn"==l.Pb(e,171).color,l.Pb(e,171)._shouldForward("untouched"),l.Pb(e,171)._shouldForward("touched"),l.Pb(e,171)._shouldForward("pristine"),l.Pb(e,171)._shouldForward("dirty"),l.Pb(e,171)._shouldForward("valid"),l.Pb(e,171)._shouldForward("invalid"),l.Pb(e,171)._shouldForward("pending"),!l.Pb(e,171)._animationsEnabled]),t(e,181,1,[l.Pb(e,183).autocompleteAttribute,l.Pb(e,183).autocompleteDisabled?null:"combobox",l.Pb(e,183).autocompleteDisabled?null:"list",l.Pb(e,183).panelOpen&&l.Pb(e,183).activeOption?l.Pb(e,183).activeOption.id:null,l.Pb(e,183).autocompleteDisabled?null:l.Pb(e,183).panelOpen.toString(),l.Pb(e,183).autocompleteDisabled||!l.Pb(e,183).panelOpen||null==l.Pb(e,183).autocomplete?null:l.Pb(e,183).autocomplete.id,!l.Pb(e,183).autocompleteDisabled,l.Pb(e,187).ngClassUntouched,l.Pb(e,187).ngClassTouched,l.Pb(e,187).ngClassPristine,l.Pb(e,187).ngClassDirty,l.Pb(e,187).ngClassValid,l.Pb(e,187).ngClassInvalid,l.Pb(e,187).ngClassPending,l.Pb(e,188)._isServer,l.Pb(e,188).id,l.Pb(e,188).placeholder,l.Pb(e,188).disabled,l.Pb(e,188).required,l.Pb(e,188).readonly&&!l.Pb(e,188)._isNativeSelect||null,l.Pb(e,188)._ariaDescribedby||null,l.Pb(e,188).errorState,l.Pb(e,188).required.toString()]),t(e,202,1,["standard"==l.Pb(e,203).appearance,"fill"==l.Pb(e,203).appearance,"outline"==l.Pb(e,203).appearance,"legacy"==l.Pb(e,203).appearance,l.Pb(e,203)._control.errorState,l.Pb(e,203)._canLabelFloat,l.Pb(e,203)._shouldLabelFloat(),l.Pb(e,203)._hasFloatingLabel(),l.Pb(e,203)._hideControlPlaceholder(),l.Pb(e,203)._control.disabled,l.Pb(e,203)._control.autofilled,l.Pb(e,203)._control.focused,"accent"==l.Pb(e,203).color,"warn"==l.Pb(e,203).color,l.Pb(e,203)._shouldForward("untouched"),l.Pb(e,203)._shouldForward("touched"),l.Pb(e,203)._shouldForward("pristine"),l.Pb(e,203)._shouldForward("dirty"),l.Pb(e,203)._shouldForward("valid"),l.Pb(e,203)._shouldForward("invalid"),l.Pb(e,203)._shouldForward("pending"),!l.Pb(e,203)._animationsEnabled]),t(e,213,1,[l.Pb(e,219).ngClassUntouched,l.Pb(e,219).ngClassTouched,l.Pb(e,219).ngClassPristine,l.Pb(e,219).ngClassDirty,l.Pb(e,219).ngClassValid,l.Pb(e,219).ngClassInvalid,l.Pb(e,219).ngClassPending,l.Pb(e,220)._isServer,l.Pb(e,220).id,l.Pb(e,220).placeholder,l.Pb(e,220).disabled,l.Pb(e,220).required,l.Pb(e,220).readonly&&!l.Pb(e,220)._isNativeSelect||null,l.Pb(e,220)._ariaDescribedby||null,l.Pb(e,220).errorState,l.Pb(e,220).required.toString()]),t(e,226,1,["standard"==l.Pb(e,227).appearance,"fill"==l.Pb(e,227).appearance,"outline"==l.Pb(e,227).appearance,"legacy"==l.Pb(e,227).appearance,l.Pb(e,227)._control.errorState,l.Pb(e,227)._canLabelFloat,l.Pb(e,227)._shouldLabelFloat(),l.Pb(e,227)._hasFloatingLabel(),l.Pb(e,227)._hideControlPlaceholder(),l.Pb(e,227)._control.disabled,l.Pb(e,227)._control.autofilled,l.Pb(e,227)._control.focused,"accent"==l.Pb(e,227).color,"warn"==l.Pb(e,227).color,l.Pb(e,227)._shouldForward("untouched"),l.Pb(e,227)._shouldForward("touched"),l.Pb(e,227)._shouldForward("pristine"),l.Pb(e,227)._shouldForward("dirty"),l.Pb(e,227)._shouldForward("valid"),l.Pb(e,227)._shouldForward("invalid"),l.Pb(e,227)._shouldForward("pending"),!l.Pb(e,227)._animationsEnabled]),t(e,237,1,[l.Pb(e,243).ngClassUntouched,l.Pb(e,243).ngClassTouched,l.Pb(e,243).ngClassPristine,l.Pb(e,243).ngClassDirty,l.Pb(e,243).ngClassValid,l.Pb(e,243).ngClassInvalid,l.Pb(e,243).ngClassPending,l.Pb(e,244)._isServer,l.Pb(e,244).id,l.Pb(e,244).placeholder,l.Pb(e,244).disabled,l.Pb(e,244).required,l.Pb(e,244).readonly&&!l.Pb(e,244)._isNativeSelect||null,l.Pb(e,244)._ariaDescribedby||null,l.Pb(e,244).errorState,l.Pb(e,244).required.toString()]),t(e,250,0,l.Pb(e,251).disabled||null,"NoopAnimations"===l.Pb(e,251)._animationMode)}))}var W=n("8rEH"),$=n("zQui"),X=n("gavF"),K=n("oBZk"),J=n("ZZ/e"),Q=n("2Q+G"),Z=n("pIm3"),tt=n("pEI0"),et=n("Mc5n"),nt=n("s6ns"),lt=n("dk3J"),it=n("svHU"),rt=n("xhS3"),ot=n("7/LY"),at=n("YGmB");n.d(e,"a",(function(){return Bt}));var st=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content} .mat-dialog-content{margin:0;padding:0}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.ghost-operations[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between}.ghost-table[_ngcontent-%COMP%]{overflow:auto}table[_ngcontent-%COMP%]{border-spacing:0}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}"]],data:{}});function ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-ghost-form",[],null,[[null,"changePage"]],(function(t,e,n){var l=!0;return"changePage"===e&&(l=!1!==t.component.goArrayGhost()&&l),l}),q,N)),l.Cb(2,114688,null,0,L,[d.f,j.a,R.a,F.a],{ghost:[0,"ghost"]},{changePage:"changePage"})],(function(t,e){t(e,2,0,e.component.currentGhost)}),null)}function ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null)],null,null)}function dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,28,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),a.b,a.a)),l.Cb(3,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(4,1196032,null,0,X.g,[_.c,l.p,l.Y,X.c,[2,X.d],[8,null],[2,p.b],u.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,K.y,K.g)),l.Cb(6,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,21,"mat-menu",[],null,null,null,Q.d,Q.b)),l.Cb(8,1294336,[["menu",4]],3,X.h,[l.p,l.G,X.a],null,null),l.Ub(603979776,21,{_allItems:1}),l.Ub(603979776,22,{items:1}),l.Ub(603979776,23,{lazyContent:0}),l.Tb(2048,null,X.d,null,[X.h]),l.Tb(2048,null,X.b,null,[X.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.selectGhost(t.context.$implicit.icao)&&i),i}),Q.c,Q.a)),l.Cb(15,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,K.y,K.g)),l.Cb(17,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Select "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.goFormGhost(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(20,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,K.y,K.g)),l.Cb(22,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(24,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,25)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,25)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteGhost(t.context.$implicit.icao)&&i),i}),Q.c,Q.a)),l.Cb(25,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(26,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,K.y,K.g)),l.Cb(27,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"eye"),t(e,22,0,"create"),t(e,27,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null),t(e,24,0,l.Pb(e,25).role,l.Pb(e,25)._highlighted,l.Pb(e,25)._triggersSubmenu,l.Pb(e,25)._getTabIndex(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).disabled||null)}))}function ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" TTL (min) "]))],null,null)}function pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "])),l.Sb(3,1)],null,(function(t,e){var n=l.Xb(e,2,0,t(e,3,0,l.Pb(e.parent.parent,0),e.context.$implicit.ttl));t(e,2,0,n)}))}function ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" icao "]))],null,null)}function bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.icao)}))}function mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" latitude "]))],null,null)}function gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){var n=e.context.$implicit.latitude.toFixed(4);t(e,2,0,n)}))}function _t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" longitude "]))],null,null)}function yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){var n=e.context.$implicit.longitude.toFixed(4);t(e,2,0,n)}))}function At(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" altitude "]))],null,null)}function vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.altitude)}))}function Ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" track "]))],null,null)}function wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.track)}))}function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" vitesse "]))],null,null)}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.speed)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" vsi "]))],null,null)}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.vsi)}))}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" callsign "]))],null,null)}function Ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.callsign)}))}function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" airport to "]))],null,null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.toIcao)}))}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Type d'a\xe9ronef "]))],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.icaoTypeCode)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null)],null,null)}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),a.b,a.a)),l.Cb(3,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(4,1196032,null,0,X.g,[_.c,l.p,l.Y,X.c,[2,X.d],[8,null],[2,p.b],u.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,K.y,K.g)),l.Cb(6,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,Q.d,Q.b)),l.Cb(8,1294336,[["menu",4]],3,X.h,[l.p,l.G,X.a],null,null),l.Ub(603979776,60,{_allItems:1}),l.Ub(603979776,61,{items:1}),l.Ub(603979776,62,{lazyContent:0}),l.Tb(2048,null,X.d,null,[X.h]),l.Tb(2048,null,X.b,null,[X.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openDialogGhostItem(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(15,180224,[[60,4],[61,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,K.y,K.g)),l.Cb(17,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openDialog(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(20,180224,[[60,4],[61,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,K.y,K.g)),l.Cb(22,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,Z.d,Z.a)),l.Tb(6144,null,$.k,null,[W.g]),l.Cb(2,49152,null,0,W.g,[],null,null)],null,null)}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,Z.e,Z.b)),l.Tb(6144,null,$.m,null,[W.i]),l.Cb(2,49152,null,0,W.i,[],null,null)],null,null)}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,203,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"div",[["class","ghost-operations"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(3,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],null,null),l.Ub(603979776,5,{_controlNonStatic:0}),l.Ub(335544320,6,{_controlStatic:0}),l.Ub(603979776,7,{_labelChildNonStatic:0}),l.Ub(335544320,8,{_labelChildStatic:0}),l.Ub(603979776,9,{_placeholderChild:0}),l.Ub(603979776,10,{_errorChildren:1}),l.Ub(603979776,11,{_hintChildren:1}),l.Ub(603979776,12,{_prefixChildren:1}),l.Ub(603979776,13,{_suffixChildren:1}),(t()(),l.Db(13,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,14)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,14)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,14)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(14,999424,null,0,b.b,[l.p,f.a,[8,null],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[5,4],[6,4]],o.d,null,[b.b]),(t()(),l.Db(16,0,null,null,4,"button",[["class","btn"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goFormGhost()&&l),l}),a.b,a.a)),l.Cb(17,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(19,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,K.y,K.g)),l.Cb(20,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(21,0,null,null,182,"div",[["class","ghost-table"]],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,181,"table",[["class","mat-table"],["mat-table",""]],null,null,null,Z.f,Z.c)),l.Tb(6144,null,$.o,null,[W.k]),l.Cb(24,2342912,[[1,4]],4,W.k,[l.y,l.j,l.p,[8,null],[2,p.b],y.d,f.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,14,{_contentColumnDefs:1}),l.Ub(603979776,15,{_contentRowDefs:1}),l.Ub(603979776,16,{_contentHeaderRowDefs:1}),l.Ub(603979776,17,{_contentFooterRowDefs:1}),(t()(),l.Db(29,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(31,16384,null,3,W.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,18,{cell:0}),l.Ub(603979776,19,{headerCell:0}),l.Ub(603979776,20,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ct)),l.Cb(37,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[19,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,dt)),l.Cb(40,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[18,4]],$.b,null,[W.b]),(t()(),l.Db(42,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(44,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,24,{cell:0}),l.Ub(603979776,25,{headerCell:0}),l.Ub(603979776,26,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ht)),l.Cb(50,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[25,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,pt)),l.Cb(53,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[24,4]],$.b,null,[W.b]),(t()(),l.Db(55,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(57,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,27,{cell:0}),l.Ub(603979776,28,{headerCell:0}),l.Ub(603979776,29,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ft)),l.Cb(63,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[28,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,bt)),l.Cb(66,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[27,4]],$.b,null,[W.b]),(t()(),l.Db(68,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(70,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,30,{cell:0}),l.Ub(603979776,31,{headerCell:0}),l.Ub(603979776,32,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,mt)),l.Cb(76,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[31,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,gt)),l.Cb(79,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[30,4]],$.b,null,[W.b]),(t()(),l.Db(81,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(83,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,33,{cell:0}),l.Ub(603979776,34,{headerCell:0}),l.Ub(603979776,35,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,_t)),l.Cb(89,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[34,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,yt)),l.Cb(92,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[33,4]],$.b,null,[W.b]),(t()(),l.Db(94,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(96,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,36,{cell:0}),l.Ub(603979776,37,{headerCell:0}),l.Ub(603979776,38,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,At)),l.Cb(102,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[37,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,vt)),l.Cb(105,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[36,4]],$.b,null,[W.b]),(t()(),l.Db(107,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(109,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,39,{cell:0}),l.Ub(603979776,40,{headerCell:0}),l.Ub(603979776,41,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Ct)),l.Cb(115,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[40,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,wt)),l.Cb(118,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[39,4]],$.b,null,[W.b]),(t()(),l.Db(120,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(122,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,42,{cell:0}),l.Ub(603979776,43,{headerCell:0}),l.Ub(603979776,44,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Pt)),l.Cb(128,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[43,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,xt)),l.Cb(131,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[42,4]],$.b,null,[W.b]),(t()(),l.Db(133,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(135,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,45,{cell:0}),l.Ub(603979776,46,{headerCell:0}),l.Ub(603979776,47,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,St)),l.Cb(141,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[46,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,kt)),l.Cb(144,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[45,4]],$.b,null,[W.b]),(t()(),l.Db(146,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(148,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,48,{cell:0}),l.Ub(603979776,49,{headerCell:0}),l.Ub(603979776,50,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Mt)),l.Cb(154,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[49,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,Ot)),l.Cb(157,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[48,4]],$.b,null,[W.b]),(t()(),l.Db(159,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(161,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,51,{cell:0}),l.Ub(603979776,52,{headerCell:0}),l.Ub(603979776,53,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Dt)),l.Cb(167,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[52,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,Tt)),l.Cb(170,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[51,4]],$.b,null,[W.b]),(t()(),l.Db(172,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(174,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,54,{cell:0}),l.Ub(603979776,55,{headerCell:0}),l.Ub(603979776,56,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(180,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[55,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,It)),l.Cb(183,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[54,4]],$.b,null,[W.b]),(t()(),l.Db(185,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(187,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,57,{cell:0}),l.Ub(603979776,58,{headerCell:0}),l.Ub(603979776,59,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Lt)),l.Cb(193,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[58,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,jt)),l.Cb(196,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[57,4]],$.b,null,[W.b]),(t()(),l.sb(0,null,null,2,null,Rt)),l.Cb(199,540672,null,0,W.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[16,4]],$.l,null,[W.h]),(t()(),l.sb(0,null,null,2,null,Ft)),l.Cb(202,540672,null,0,W.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[15,4]],$.n,null,[W.j])],(function(t,e){var n=e.component;t(e,14,0,"Filter"),t(e,17,0,"warn"),t(e,20,0,"add"),t(e,24,0,n.dataSource),t(e,31,0,"operation",""),t(e,44,0,"TTL"),t(e,57,0,"icao"),t(e,70,0,"latitude"),t(e,83,0,"longitude"),t(e,96,0,"altitude"),t(e,109,0,"track"),t(e,122,0,"speed"),t(e,135,0,"vsi"),t(e,148,0,"callsign"),t(e,161,0,"airport_to"),t(e,174,0,"icao_type_code"),t(e,187,0,"options"),t(e,199,0,n.displayedColumns),t(e,202,0,n.displayedColumns)}),(function(t,e){t(e,2,1,["standard"==l.Pb(e,3).appearance,"fill"==l.Pb(e,3).appearance,"outline"==l.Pb(e,3).appearance,"legacy"==l.Pb(e,3).appearance,l.Pb(e,3)._control.errorState,l.Pb(e,3)._canLabelFloat,l.Pb(e,3)._shouldLabelFloat(),l.Pb(e,3)._hasFloatingLabel(),l.Pb(e,3)._hideControlPlaceholder(),l.Pb(e,3)._control.disabled,l.Pb(e,3)._control.autofilled,l.Pb(e,3)._control.focused,"accent"==l.Pb(e,3).color,"warn"==l.Pb(e,3).color,l.Pb(e,3)._shouldForward("untouched"),l.Pb(e,3)._shouldForward("touched"),l.Pb(e,3)._shouldForward("pristine"),l.Pb(e,3)._shouldForward("dirty"),l.Pb(e,3)._shouldForward("valid"),l.Pb(e,3)._shouldForward("invalid"),l.Pb(e,3)._shouldForward("pending"),!l.Pb(e,3)._animationsEnabled]),t(e,13,0,l.Pb(e,14)._isServer,l.Pb(e,14).id,l.Pb(e,14).placeholder,l.Pb(e,14).disabled,l.Pb(e,14).required,l.Pb(e,14).readonly&&!l.Pb(e,14)._isNativeSelect||null,l.Pb(e,14)._ariaDescribedby||null,l.Pb(e,14).errorState,l.Pb(e,14).required.toString()),t(e,16,0,l.Pb(e,17).disabled||null,"NoopAnimations"===l.Pb(e,17)._animationMode)}))}function Yt(t){return l.Yb(0,[l.Qb(0,tt.a,[]),l.Ub(671088640,1,{table:0}),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),K.y,K.g)),l.Cb(3,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(4,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","ghost"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(5,4866048,null,3,et.c,[l.p,[3,et.b],y.d,l.G,l.Y,et.a,[2,p.b],et.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),l.Tb(2048,null,et.l,null,[et.c]),l.Cb(10,147456,[[2,4]],0,et.d,[l.p,[2,et.l]],null,null),l.Cb(11,81920,null,0,nt.m,[[2,nt.l],l.p,nt.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["GHOST"])),(t()(),l.sb(16777216,null,null,1,null,ut)),l.Cb(14,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nt)),l.Cb(16,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,"close"),t(e,5,0,".cdk-overlay-pane"),t(e,11,0,"ghost"),t(e,14,0,"FormGhost"==n.modePage),t(e,16,0,"ArrayGhost"==n.modePage)}),(function(t,e){t(e,4,0,l.Pb(e,5).disabled,l.Pb(e,5)._dragRef.isDragging(),l.Pb(e,11).id)}))}function Ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-ghostdialog",[],null,null,null,Yt,st)),l.Cb(1,245760,null,0,lt.a,[it.a,rt.a,j.a,ot.b,at.a,nt.l,nt.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Bt=l.zb("sepia-ghostdialog",lt.a,Ut,{},{},[])},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"}))},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IP0z:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var l=n("SVse"),i=n("8Y7J");const r=new i.w("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.gb)(l.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.r,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(r,8))},token:t,providedIn:"root"}),t})();class a{}},IbxR:function(t,e,n){"use strict";var l,i=n("4wAk"),r=n("B2q1"),o=n("OQAH"),a=n("zX6e"),s=n("ykKD"),u=n("AdTM"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function d(t){var e=t.frameState;if(e){var n=e.viewState.rotation;if(n!=this.rotation_){var l="rotate("+n+"rad)";if(this.autoHide_){var i=this.element.classList.contains(a.c);i||0!==n?i&&0!==n&&this.element.classList.remove(a.c):this.element.classList.add(a.c)}this.label_.style.transform=l}this.rotation_=n}}var h=function(t){function e(e){var n=this,l=e||{};n=t.call(this,{element:document.createElement("div"),render:l.render||d,target:l.target})||this;var i=void 0!==l.className?l.className:"ol-rotate",r=void 0!==l.label?l.label:"\u21e7";n.label_=null,"string"==typeof r?(n.label_=document.createElement("span"),n.label_.className="ol-compass",n.label_.textContent=r):(n.label_=r,n.label_.classList.add("ol-compass"));var o=l.tipLabel?l.tipLabel:"Reset rotation",s=document.createElement("button");s.className=i+"-reset",s.setAttribute("type","button"),s.title=o,s.appendChild(n.label_),s.addEventListener(u.a.CLICK,n.handleClick_.bind(n),!1);var c=n.element;return c.className=i+" "+a.e+" "+a.b,c.appendChild(s),n.callResetNorth_=l.resetNorth?l.resetNorth:void 0,n.duration_=void 0!==l.duration?l.duration:250,n.autoHide_=void 0===l.autoHide||l.autoHide,n.rotation_=void 0,n.autoHide_&&n.element.classList.add(a.c),n}return c(e,t),e.prototype.handleClick_=function(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()},e.prototype.resetNorth_=function(){var t=this.getMap().getView();if(t){var e=t.getRotation();void 0!==e&&(this.duration_>0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:s.b}):t.setRotation(0))}},e}(o.a),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e){var n=this,l=e||{};n=t.call(this,{element:document.createElement("div"),target:l.target})||this;var i=void 0!==l.className?l.className:"ol-zoom",r=void 0!==l.delta?l.delta:1,o=void 0!==l.zoomInLabel?l.zoomInLabel:"+",s=void 0!==l.zoomOutLabel?l.zoomOutLabel:"\u2212",c=void 0!==l.zoomInTipLabel?l.zoomInTipLabel:"Zoom in",d=void 0!==l.zoomOutTipLabel?l.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=i+"-in",h.setAttribute("type","button"),h.title=c,h.appendChild("string"==typeof o?document.createTextNode(o):o),h.addEventListener(u.a.CLICK,n.handleClick_.bind(n,r),!1);var p=document.createElement("button");p.className=i+"-out",p.setAttribute("type","button"),p.title=d,p.appendChild("string"==typeof s?document.createTextNode(s):s),p.addEventListener(u.a.CLICK,n.handleClick_.bind(n,-r),!1);var f=n.element;return f.className=i+" "+a.e+" "+a.b,f.appendChild(h),f.appendChild(p),n.duration_=void 0!==l.duration?l.duration:250,n}return p(e,t),e.prototype.handleClick_=function(t,e){e.preventDefault(),this.zoomByDelta_(t)},e.prototype.zoomByDelta_=function(t){var e=this.getMap().getView();if(e){var n=e.getZoom();if(void 0!==n){var l=e.getConstrainedZoom(n+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:l,duration:this.duration_,easing:s.b})):e.setZoom(l)}}},e}(o.a);function b(t){var e=t||{},n=new i.a;return(void 0===e.zoom||e.zoom)&&n.push(new f(e.zoomOptions)),(void 0===e.rotate||e.rotate)&&n.push(new h(e.rotateOptions)),(void 0===e.attribution||e.attribution)&&n.push(new r.a(e.attributionOptions)),n}n.d(e,"a",(function(){return b}))},IheW:function(t,e,n){"use strict";n.d(e,"o",(function(){return E})),n.d(e,"r",(function(){return F})),n.d(e,"s",(function(){return N})),n.d(e,"p",(function(){return L})),n.d(e,"q",(function(){return j})),n.d(e,"b",(function(){return d})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return S})),n.d(e,"g",(function(){return h})),n.d(e,"a",(function(){return M})),n.d(e,"d",(function(){return B})),n.d(e,"e",(function(){return U})),n.d(e,"n",(function(){return Y})),n.d(e,"h",(function(){return b})),n.d(e,"i",(function(){return y})),n.d(e,"j",(function(){return w})),n.d(e,"k",(function(){return I})),n.d(e,"m",(function(){return T})),n.d(e,"l",(function(){return R}));var l=n("8Y7J"),i=n("LRne"),r=n("HDdC"),o=n("bOdf"),a=n("pLZG"),s=n("lJxs"),u=n("SVse");class c{}class d{}class h{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),l=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,l),this.headers.has(l)?this.headers.get(l).push(i):this.headers.set(l,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const l=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(l,n),this.maybeSetNormalizedName(e,l))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new h;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const l=("a"===t.op?this.headers.get(e):void 0)||[];l.push(...n),this.headers.set(e,l);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class b{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const l=t.indexOf("="),[i,r]=-1==l?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,l)),e.decodeValue(t.slice(l+1))],o=n.get(i)||[];o.push(r),n.set(i,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).join("&")}clone(t){const e=new b({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function m(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function g(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,l){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==n?n:null,i=l):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new h),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new b,this.urlWithParams=e}serializeBody(){return null===this.body?null:m(this.body)||g(this.body)||_(this.body)||"string"==typeof this.body?this.body:this.body instanceof b?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_(this.body)?null:g(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof b?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,l=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,s=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(s=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),s)),new y(e,n,i,{params:s,headers:a,reportProgress:o,responseType:l,withCredentials:r})}}const A=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class v{constructor(t,e=200,n="OK"){this.headers=t.headers||new h,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class C extends v{constructor(t={}){super(t),this.type=A.ResponseHeader}clone(t={}){return new C({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class w extends v{constructor(t={}){super(t),this.type=A.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new w({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class P extends v{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function x(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}class S{constructor(t){this.handler=t}request(t,e,n={}){let l;if(t instanceof y)l=t;else{let i=void 0;i=n.headers instanceof h?n.headers:new h(n.headers);let r=void 0;n.params&&(r=n.params instanceof b?n.params:new b({fromObject:n.params})),l=new y(t,e,void 0!==n.body?n.body:null,{headers:i,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Object(i.a)(l).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return r;const u=r.pipe(Object(a.a)(t=>t instanceof w));switch(n.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return u.pipe(Object(s.a)(t=>t.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new b).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,x(n,e))}post(t,e,n={}){return this.request("POST",t,x(n,e))}put(t,e,n={}){return this.request("PUT",t,x(n,e))}}class k{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const M=new l.w("HTTP_INTERCEPTORS");class O{intercept(t,e){return e.handle(t)}}const D=/^\)\]\}',?\n/;class T{}class E{constructor(){}build(){return new XMLHttpRequest}}class I{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new r.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const l=t.serializeBody();let i=null;const r=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,l=n.statusText||"OK",r=new h(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new C({headers:r,status:e,statusText:l,url:o}),i},o=()=>{let{headers:l,status:i,statusText:o,url:a}=r(),s=null;204!==i&&(s=void 0===n.response?n.responseText:n.response),0===i&&(i=s?200:0);let u=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof s){const t=s;s=s.replace(D,"");try{s=""!==s?JSON.parse(s):null}catch(c){s=t,u&&(u=!1,s={error:c,text:s})}}u?(e.next(new w({body:s,headers:l,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new P({error:s,headers:l,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:l}=r(),i=new P({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:l||void 0});e.error(i)};let s=!1;const u=l=>{s||(e.next(r()),s=!0);let i={type:A.DownloadProgress,loaded:l.loaded};l.lengthComputable&&(i.total=l.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},c=t=>{let n={type:A.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",u),null!==l&&n.upload&&n.upload.addEventListener("progress",c)),n.send(l),e.next({type:A.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",u),null!==l&&n.upload&&n.upload.removeEventListener("progress",c)),n.abort()}})}}const L=new l.w("XSRF_COOKIE_NAME"),j=new l.w("XSRF_HEADER_NAME");class R{}class F{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.G)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}class N{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const l=this.tokenService.getToken();return null===l||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,l)})),e.handle(t)}}class Y{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(M,[]);this.chain=t.reduceRight((t,e)=>new k(t,e),this.backend)}return this.chain.handle(t)}}class U{static disable(){return{ngModule:U,providers:[{provide:N,useClass:O}]}}static withOptions(t={}){return{ngModule:U,providers:[t.cookieName?{provide:L,useValue:t.cookieName}:[],t.headerName?{provide:j,useValue:t.headerName}:[]]}}}class B{}},IjjT:function(t,e,n){"use strict";let l=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,"a",(function(){return i}));class i extends l{constructor(t,e=l.now){super(t,()=>i.delegate&&i.delegate!==this?i.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},Io5N:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("oBZk"),o=n("ZZ/e"),a=n("Blz8"),s=n("pEI0");n("Al5c"),n("qToJ"),n("978D"),n("cUpR"),n("Y4ja"),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h}));var u=l.Bb({encapsulation:0,styles:[[".aircraft-header[_ngcontent-%COMP%]{display:flex;background-color:#fff;height:70px}.aircraft-header[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%]{width:30%}.aircraft-header[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;min-height:100%;height:100%}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding:5px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:180px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .last-msg-recent[_ngcontent-%COMP%]{color:#999;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .last-msg-old[_ngcontent-%COMP%]{color:red;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:30px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"p",[],null,null,null,null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{ngClass:[0,"ngClass"]},null),l.Rb(3,{"last-msg-recent":0,"last-msg-old":1}),(t()(),l.Wb(4,null,[" Last message: "," "])),l.Sb(5,1)],(function(t,e){var n=e.component,l=t(e,3,0,n.timeNow-n.aircraft.updatedAt<=12e4,n.timeNow-n.aircraft.updatedAt>12e4);t(e,2,0,l)}),(function(t,e){var n=e.component,i=l.Xb(e,4,0,t(e,5,0,l.Pb(e.parent,1),n.timeNow-n.aircraft.updatedAt));t(e,4,0,i)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.close()&&l),l}),r.y,r.g)),l.Cb(1,49152,null,0,o.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function h(t){return l.Yb(2,[l.Qb(0,a.a,[]),l.Qb(0,s.a,[]),(t()(),l.Db(2,0,null,null,12,"div",[["class","aircraft-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"a",[["class","picture"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"img",[["alt","Aircraft picture"]],[[8,"src",4]],null,null,null,null)),(t()(),l.Db(5,0,null,null,7,"div",[["class","title"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,2,"h5",[],null,null,null,null,null)),(t()(),l.Wb(7,null,["","/",""])),l.Sb(8,1),(t()(),l.Db(9,0,null,null,1,"p",[["class","source"]],null,null,null,null,null)),(t()(),l.Wb(10,null,["Source: ",""])),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,12,0,n.allAircraft),t(e,14,0,n.allAircraft)}),(function(t,e){var n=e.component;t(e,3,0,n.cleanURL(n.aircraft.pictureUrl?n.aircraft.pictureUrl:"../../../../assets/images/default-aircraft.jpg")),t(e,4,0,l.Hb(1,"",n.aircraft.pictureUrl?n.aircraft.pictureUrl:"../../../../assets/images/default-aircraft.jpg",""));var i=n.aircraft.icao,r=l.Xb(e,7,1,t(e,8,0,l.Pb(e,0),n.aircraft.callsign));t(e,7,0,i,r),t(e,10,0,n.settingService.getFeedNames(n.aircraft.providers))}))}},It4K:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("Rlre"),r=n("rWV4"),o=n("8rEH"),a=n("zQui"),s=n("bujt"),u=n("Fwaw"),c=n("5GAg"),d=n("omvX"),h=n("oBZk"),p=n("ZZ/e"),f=n("SVse"),b=n("m46K"),m=n("7kcP"),g=n("gavF"),_=n("QQfA"),y=n("IP0z"),A=n("2Q+G"),v=n("pIm3"),C=n("NvT6"),w=n("W5yJ"),P=n("/HVE"),x=n("dJrM"),S=n("HsOI"),k=n("Xd0L"),M=n("ZwOa"),O=n("s7LF"),D=n("oapL"),T=n("b1+6"),E=n("OIZN"),I=n("oeKZ"),L=(n("G0WM"),n("wBRQ")),j=n("qToJ");class R{constructor(t,e,n,i){this.colorFilterService=t,this.keycloakService=e,this.focusAircraftService=n,this.settingService=i,this.openColorFilterForm=new l.r,this.displayedColumns=["show","focus","name","rank","color","isForAll","operation"],this.dataSource=new o.l,this.isLoading=!0}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.getColorFilter()}goToForm(t){this.openColorFilterForm.emit(t)}deleteColorFilter(t){this.colorFilterService.deleteOneBaseColorFilterControllerColorFilter({id:t.id}).subscribe(e=>{this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id),this.focusAircraftService.setFleetFilter(t.fleet,!1)},t=>console.log("Error : get feeds",t))}toggleActivateColorFilter(t){if(t.activatedByIds){const e=t.activatedByIds.indexOf(this.keycloakService.client().subject);e>=0?(delete t.activatedByIds[e],this.focusAircraftService.setFleetFilter(t.fleet,!1)):t.activatedByIds.push(this.keycloakService.client().subject)}else t.activatedByIds=[this.keycloakService.client().subject];const e={id:t.id,body:{activatedBy:t.activatedByIds.map(t=>({id:t}))}};this.colorFilterService.updateOneBaseColorFilterControllerColorFilter(e).subscribe(e=>{t.activatedByIds.includes(this.keycloakService.client().subject)?this.settingService.addColorFilter(t):this.settingService.removeColorFilter(t)})}toggleFocusStatusOfColorFilter(t){this.focusAircraftService.toggleFleetFilter(t.fleet)}getColorFilter(){this.isLoading=!0;const t={or:["isForAll||eq||true","createdById||eq||"+this.keycloakService.client().subject],sort:["rank,ASC"],join:["fleet","fleet.fleetItems","activatedBy||id"]};this.colorFilterService.getManyBaseColorFilterControllerColorFilter(t).subscribe(t=>{this.dataSource.data=t.data,this.isLoading=!1})}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}isActivateColorFilter(t){return!!t.activatedByIds&&t.activatedByIds.indexOf(this.keycloakService.client().subject)>=0}isFocusedColorFilter(t){return this.focusAircraftService.getFleetFilter().some(e=>e.id===t.fleet.id)}}var F=n("Kurg"),N=l.Bb({encapsulation:0,styles:[[".control-color-aircrafts[_ngcontent-%COMP%] .control-color-aircrafts-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.control-color-aircrafts[_ngcontent-%COMP%] .control-color-aircrafts-table[_ngcontent-%COMP%]{overflow:auto}.control-color-aircrafts[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}.control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:first-child, .control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:nth-child(2){padding:0;border-right:1px solid #e0e0e0;width:65px;text-align:center}.control-color-aircrafts[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]:nth-child(3){padding-left:15px}.control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:last-child{border-left:1px solid #e0e0e0;width:50px;padding:0}.control-color-aircrafts[_ngcontent-%COMP%] .pastil-color[_ngcontent-%COMP%]{height:25px;width:25px;border-radius:50%}"]],data:{}});function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Show "]))],null,null)}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"primary","eye")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","eye-off")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleActivateColorFilter(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateColorFilter",2]],null,0,null,B))],(function(t,e){t(e,3,0,e.component.isActivateColorFilter(e.context.$implicit),l.Pb(e,4))}),null)}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Focus "]))],null,null)}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","crop"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"primary","crop")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","crop"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","crop")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleFocusStatusOfColorFilter(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateColorFilter",2]],null,0,null,V))],(function(t,e){t(e,3,0,!0===e.component.isFocusedColorFilter(e.context.$implicit),l.Pb(e,4))}),null)}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Name "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function X(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Color "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function K(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Db(2,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,f.C,f.D,[l.p,l.z,l.M]),l.Cb(4,278528,null,0,f.q,[f.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(5,{"background-color":0})],(function(t,e){var n=t(e,5,0,e.context.$implicit.color);t(e,4,0,n)}),null)}function J(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Rank "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.rank)}))}function Z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Visibility "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["name","planet"]],null,null,null,h.y,h.g)),l.Cb(2,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,null,[" All "]))],(function(t,e){t(e,2,0,"planet")}),null)}function et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","person"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,null,[" Just me "]))],(function(t,e){t(e,1,0,"person")}),null)}function nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,tt)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["justMe",2]],null,0,null,et))],(function(t,e){t(e,3,0,e.context.$implicit.isForAll,l.Pb(e,4))}),null)}function lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null)],null,null)}function it(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),s.b,s.a)),l.Cb(3,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),l.Cb(4,1196032,null,0,g.g,[_.c,l.p,l.Y,g.c,[2,g.d],[8,null],[2,y.b],c.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(6,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,A.d,A.b)),l.Cb(8,1294336,[["menu",4]],3,g.h,[l.p,l.G,g.a],null,null),l.Ub(603979776,37,{_allItems:1}),l.Ub(603979776,38,{items:1}),l.Ub(603979776,39,{lazyContent:0}),l.Tb(2048,null,g.d,null,[g.h]),l.Tb(2048,null,g.b,null,[g.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.goToForm(t.context.$implicit)&&i),i}),A.c,A.a)),l.Cb(15,180224,[[37,4],[38,4]],0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,h.y,h.g)),l.Cb(17,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteColorFilter(t.context.$implicit)&&i),i}),A.c,A.a)),l.Cb(20,180224,[[37,4],[38,4]],0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,h.y,h.g)),l.Cb(22,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,v.d,v.a)),l.Tb(6144,null,a.k,null,[o.g]),l.Cb(2,49152,null,0,o.g,[],null,null)],null,null)}function ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,v.e,v.b)),l.Tb(6144,null,a.m,null,[o.i]),l.Cb(2,49152,null,0,o.i,[],null,null)],null,null)}function at(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,C.c,C.a)),l.Cb(2,114688,null,0,w.b,[l.p,P.a,[2,f.d],[2,d.a],w.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function st(t){return l.Yb(0,[l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,130,"div",[["class","control-color-aircrafts"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,19,"div",[["class","control-color-aircrafts-header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(5,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(16,999424,null,0,M.b,[l.p,P.a,[8,null],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],S.d,null,[M.b]),(t()(),l.Db(18,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToForm()&&l),l}),s.b,s.a)),l.Cb(19,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(22,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(23,0,null,null,107,"div",[["class","control-color-aircrafts-table"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,104,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,v.f,v.c)),l.Tb(6144,null,a.o,null,[o.k]),l.Cb(26,737280,[[1,4]],0,m.b,[],null,null),l.Cb(27,2342912,null,4,o.k,[l.y,l.j,l.p,[8,null],[2,y.b],f.d,P.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(32,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(34,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Y)),l.Cb(40,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[17,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,z)),l.Cb(43,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[16,4]],a.b,null,[o.b]),(t()(),l.Db(45,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(47,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,G)),l.Cb(53,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[20,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,q)),l.Cb(56,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[19,4]],a.b,null,[o.b]),(t()(),l.Db(58,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(60,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,22,{cell:0}),l.Ub(603979776,23,{headerCell:0}),l.Ub(603979776,24,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,W)),l.Cb(66,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[23,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,$)),l.Cb(69,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[22,4]],a.b,null,[o.b]),(t()(),l.Db(71,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(73,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,25,{cell:0}),l.Ub(603979776,26,{headerCell:0}),l.Ub(603979776,27,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,X)),l.Cb(79,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[26,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,K)),l.Cb(82,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[25,4]],a.b,null,[o.b]),(t()(),l.Db(84,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(86,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,28,{cell:0}),l.Ub(603979776,29,{headerCell:0}),l.Ub(603979776,30,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,J)),l.Cb(92,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[29,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Q)),l.Cb(95,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[28,4]],a.b,null,[o.b]),(t()(),l.Db(97,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(99,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,31,{cell:0}),l.Ub(603979776,32,{headerCell:0}),l.Ub(603979776,33,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Z)),l.Cb(105,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[32,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,nt)),l.Cb(108,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[31,4]],a.b,null,[o.b]),(t()(),l.Db(110,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(112,16384,null,3,o.c,[],{name:[0,"name"],stickyEnd:[1,"stickyEnd"]},null),l.Ub(603979776,34,{cell:0}),l.Ub(603979776,35,{headerCell:0}),l.Ub(603979776,36,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,lt)),l.Cb(118,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[35,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,it)),l.Cb(121,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[34,4]],a.b,null,[o.b]),(t()(),l.sb(0,null,null,2,null,rt)),l.Cb(124,540672,null,0,o.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],a.l,null,[o.h]),(t()(),l.sb(0,null,null,2,null,ot)),l.Cb(127,540672,null,0,o.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],a.n,null,[o.j]),(t()(),l.sb(16777216,null,null,1,null,at)),l.Cb(130,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(131,0,null,null,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,T.b,T.a)),l.Cb(132,245760,[[2,4]],0,E.b,[E.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,16,0,"Filter"),t(e,19,0,"warn"),t(e,22,0,"add"),t(e,26,0),t(e,27,0,n.dataSource),t(e,34,0,"show",""),t(e,47,0,"focus",""),t(e,60,0,"name"),t(e,73,0,"color"),t(e,86,0,"rank"),t(e,99,0,"isForAll"),t(e,112,0,"operation",""),t(e,124,0,n.displayedColumns),t(e,127,0,n.displayedColumns),t(e,130,0,n.isLoading),t(e,132,0,50,"true","")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString()),t(e,18,0,l.Pb(e,19).disabled||null,"NoopAnimations"===l.Pb(e,19)._animationMode)}))}var ut=n("s6ns"),ct=n("6UMx"),dt=n("Q+lL"),ht=n("svHU"),pt=n("hUP0");class ft{constructor(t,e,n){this.mapService=t,this.keycloakService=e,this.lightDarkModeService=n,this.openFormLayer=new l.r,this.userRoles=[],this.layerGroupSelect=this.mapService.getMap().getLayerGroup().getLayers().getArray()[0],this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}changeOpacity(t,e){t.setOpacity(e.detail.value/100)}toggleVisibility(t){t.setVisible(!t.getVisible())}goToFormLayer(){this.openFormLayer.emit()}getLayerGroupSelect(t){const e=t.getLayers().getArray();return e.sort((t,e)=>t.values_.name?t.values_.name.toUpperCase():"null">e.values_.name.toUpperCase()?1:-1),e}}var bt=l.Bb({encapsulation:0,styles:[[".control-layer[_ngcontent-%COMP%]{padding-bottom:10px}.control-layer[_ngcontent-%COMP%] .import-layer[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%]{display:flex}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%;width:50%}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-child(1){border-right:1px solid grey}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%]{padding:10px}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{padding:0;cursor:pointer;color:var(--ion-color-primary);border-bottom:1px solid var(--ion-color-primary);font-weight:700;text-transform:uppercase}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:last-child{border:none}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%]{width:100%;padding:0 10px;display:flex;align-items:flex-end}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{flex-basis:70%;width:70%}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child p[_ngcontent-%COMP%]{margin:5px 0 0}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child ion-range[_ngcontent-%COMP%]{--height:20px}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex-basis:30%;width:30%}"]],data:{}});function mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","sunny"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"sunny")}),null)}function gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","moon"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"moon")}),null)}function _t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"div",[["class","import-layer"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToFormLayer()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(5,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(6,0,null,null,5,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.lightDarkModeService.switchLightDarkMode()&&l),l}),h.u,h.c)),l.Cb(7,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.sb(16777216,null,0,1,null,mt)),l.Cb(9,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,gt)),l.Cb(11,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,5,0,"add"),t(e,7,0,"primary"),t(e,9,0,"dark"===n.lightDarkModeService.currentModeName),t(e,11,0,"light"===n.lightDarkModeService.currentModeName)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==(t.component.layerGroupSelect=t.context.$implicit)&&l),l}),ct.d,ct.b)),l.Cb(1,1228800,null,3,dt.b,[l.p,l.j,[2,dt.e],[2,dt.a]],null,null),l.Ub(603979776,1,{_lines:1}),l.Ub(603979776,2,{_avatar:0}),l.Ub(603979776,3,{_icon:0}),(t()(),l.Wb(5,2,[" "," "]))],null,(function(t,e){t(e,0,0,l.Pb(e,1)._avatar||l.Pb(e,1)._icon,l.Pb(e,1)._avatar||l.Pb(e,1)._icon);var n=e.context.$implicit.get("name");t(e,5,0,n)}))}function At(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary","eye")}),null)}function vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"danger","eye-off")}),null)}function Ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,16,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(4,16384,null,0,k.o,[],null,null),(t()(),l.Wb(5,null,["",""])),(t()(),l.Db(6,0,null,null,3,"ion-range",[["color","secondary"],["max","100"],["min","0"],["step","1"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,9)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,9)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changeOpacity(r.layerGroupSelect,n)&&i),i}),h.E,h.m)),l.Tb(5120,null,O.o,(function(t){return[t]}),[p.Jb]),l.Cb(8,49152,null,0,p.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(9,16384,null,0,p.Jb,[l.p],null,null),(t()(),l.Db(10,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.toggleVisibility(i.layerGroupSelect)&&l),l}),h.u,h.c)),l.Cb(12,49152,null,0,p.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,At)),l.Cb(14,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,vt)),l.Cb(16,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,8,0,"secondary","100","0","1",l.Hb(1,"",100*n.layerGroupSelect.getOpacity(),"")),t(e,12,0,"outline"),t(e,14,0,n.layerGroupSelect.getVisible()),t(e,16,0,!n.layerGroupSelect.getVisible())}),(function(t,e){t(e,5,0,e.component.layerGroupSelect.get("name"))}))}function wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary","eye")}),null)}function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"danger","eye-off")}),null)}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,15,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(3,16384,null,0,k.o,[],null,null),(t()(),l.Wb(4,null,["",""])),(t()(),l.Db(5,0,null,null,3,"ion-range",[["color","secondary"],["max","100"],["min","0"],["step","1"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,8)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,8)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changeOpacity(t.context.$implicit,n)&&i),i}),h.E,h.m)),l.Tb(5120,null,O.o,(function(t){return[t]}),[p.Jb]),l.Cb(7,49152,null,0,p.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(8,16384,null,0,p.Jb,[l.p],null,null),(t()(),l.Db(9,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleVisibility(t.context.$implicit)&&l),l}),h.u,h.c)),l.Cb(11,49152,null,0,p.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,wt)),l.Cb(13,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Pt)),l.Cb(15,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=l.Hb(1,"",100*e.context.$implicit.getOpacity(),"");t(e,7,0,"secondary","100","0","1",n),t(e,11,0,"outline");var i=e.context.$implicit.getVisible();t(e,13,0,i);var r=!e.context.$implicit.getVisible();t(e,15,0,r)}),(function(t,e){var n=e.context.$implicit.get("name");t(e,4,0,n)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,xt)),l.Cb(2,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.getLayerGroupSelect(n.layerGroupSelect))}),null)}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ct)),l.Cb(2,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,St)),l.Cb(4,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,null==n.layerGroupSelect.getLayers),t(e,4,0,null!=n.layerGroupSelect.getLayers)}),null)}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,9,"div",[["class","control-layer"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,_t)),l.Cb(2,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(3,0,null,null,6,"div",[["class","manage-layer"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,ct.e,ct.a)),l.Cb(5,704512,null,0,dt.a,[l.p],null,null),(t()(),l.sb(16777216,null,0,1,null,yt)),l.Cb(7,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,kt)),l.Cb(9,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0),t(e,7,0,n.mapService.getMap().getLayerGroup().getLayers().getArray()),t(e,9,0,null!=n.layerGroupSelect)}),null)}class Ot{constructor(t,e){this.feedService=t,this.keycloakService=e,this.displayedColumns=["show","name","host","port","latitude","longitude","rank"],this.dataSource=new o.l,this.isLoading=!0}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.getFeeds()}getFeeds(){this.isLoading=!0,this.feedService.getManyBaseFeedControllerFeed().subscribe(t=>{this.dataSource.data=t.data,this.isLoading=!1},t=>console.log("Error : get feeds ",t))}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}toggleActivateFeed(t){if(t.activatedByIds){const e=t.activatedByIds.indexOf(this.keycloakService.client().subject);e>=0?delete t.activatedByIds[e]:t.activatedByIds.push(this.keycloakService.client().subject)}else t.activatedByIds=[this.keycloakService.client().subject];const e={id:t.id,body:{activatedBy:t.activatedByIds.map(t=>({id:t}))}};this.feedService.updateOneBaseFeedControllerFeed(e).subscribe()}isActivateFeed(t){return!!t.activatedByIds&&t.activatedByIds.indexOf(this.keycloakService.client().subject)>=0}}var Dt=n("5p+q"),Tt=l.Bb({encapsulation:0,styles:[[".control-feeds[_ngcontent-%COMP%] .control-feeds-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.control-feeds[_ngcontent-%COMP%] .control-feeds-table[_ngcontent-%COMP%]{overflow:auto}.control-feeds[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:800px}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}.control-feeds[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:first-child{padding:0;border-right:1px solid #e0e0e0;width:65px;text-align:center}.control-feeds[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:last-child{border-left:1px solid #e0e0e0}.control-feeds[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]:nth-child(2){padding-left:15px}"]],data:{}});function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Show "]))],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"primary","eye")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","eye-off")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleActivateFeed(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,It)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateFeed",2]],null,0,null,Lt))],(function(t,e){t(e,3,0,e.component.isActivateFeed(e.context.$implicit),l.Pb(e,4))}),null)}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Name "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Host "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.host)}))}function Ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Port "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.port)}))}function zt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Latitude "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.latitude)}))}function Ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Longitude "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.longitude)}))}function qt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Rank "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.rank)}))}function $t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,v.d,v.a)),l.Tb(6144,null,a.k,null,[o.g]),l.Cb(2,49152,null,0,o.g,[],null,null)],null,null)}function Xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,v.e,v.b)),l.Tb(6144,null,a.m,null,[o.i]),l.Cb(2,49152,null,0,o.i,[],null,null)],null,null)}function Kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,C.c,C.a)),l.Cb(2,114688,null,0,w.b,[l.p,P.a,[2,f.d],[2,d.a],w.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function Jt(t){return l.Yb(0,[l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,125,"div",[["class","control-feeds"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,14,"div",[["class","control-feeds-header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(5,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(16,999424,null,0,M.b,[l.p,P.a,[8,null],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],S.d,null,[M.b]),(t()(),l.Db(18,0,null,null,107,"div",[["class","control-feeds-table"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,104,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,v.f,v.c)),l.Tb(6144,null,a.o,null,[o.k]),l.Cb(21,737280,[[1,4]],0,m.b,[],null,null),l.Cb(22,2342912,null,4,o.k,[l.y,l.j,l.p,[8,null],[2,y.b],f.d,P.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(27,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(29,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(35,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[17,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,jt)),l.Cb(38,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[16,4]],a.b,null,[o.b]),(t()(),l.Db(40,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(42,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Rt)),l.Cb(48,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[20,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Ft)),l.Cb(51,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[19,4]],a.b,null,[o.b]),(t()(),l.Db(53,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(55,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,22,{cell:0}),l.Ub(603979776,23,{headerCell:0}),l.Ub(603979776,24,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Nt)),l.Cb(61,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[23,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Yt)),l.Cb(64,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[22,4]],a.b,null,[o.b]),(t()(),l.Db(66,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(68,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,25,{cell:0}),l.Ub(603979776,26,{headerCell:0}),l.Ub(603979776,27,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Ut)),l.Cb(74,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[26,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Bt)),l.Cb(77,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[25,4]],a.b,null,[o.b]),(t()(),l.Db(79,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(81,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,28,{cell:0}),l.Ub(603979776,29,{headerCell:0}),l.Ub(603979776,30,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,zt)),l.Cb(87,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[29,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Gt)),l.Cb(90,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[28,4]],a.b,null,[o.b]),(t()(),l.Db(92,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(94,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,31,{cell:0}),l.Ub(603979776,32,{headerCell:0}),l.Ub(603979776,33,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Ht)),l.Cb(100,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[32,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Vt)),l.Cb(103,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[31,4]],a.b,null,[o.b]),(t()(),l.Db(105,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(107,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,34,{cell:0}),l.Ub(603979776,35,{headerCell:0}),l.Ub(603979776,36,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,qt)),l.Cb(113,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[35,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Wt)),l.Cb(116,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[34,4]],a.b,null,[o.b]),(t()(),l.sb(0,null,null,2,null,$t)),l.Cb(119,540672,null,0,o.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],a.l,null,[o.h]),(t()(),l.sb(0,null,null,2,null,Xt)),l.Cb(122,540672,null,0,o.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],a.n,null,[o.j]),(t()(),l.sb(16777216,null,null,1,null,Kt)),l.Cb(125,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(126,0,null,null,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,T.b,T.a)),l.Cb(127,245760,[[2,4]],0,E.b,[E.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,16,0,"Filter"),t(e,21,0),t(e,22,0,n.dataSource),t(e,29,0,"show",""),t(e,42,0,"name"),t(e,55,0,"host"),t(e,68,0,"port"),t(e,81,0,"latitude"),t(e,94,0,"longitude"),t(e,107,0,"rank"),t(e,119,0,n.displayedColumns),t(e,122,0,n.displayedColumns),t(e,125,0,n.isLoading),t(e,127,0,50,"true","")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString())}))}var Qt=n("MlvX"),Zt=n("v6R6"),te=n("0XyG"),ee=n("Py6u"),ne=n("Azqq"),le=n("JjoW"),ie=n("hOhj"),re=n("Z5h4"),oe=n("r0V8"),ae=(n("/Mhs"),n("oQtH"));const se={forAllValues:[{title:"For All",value:!0},{title:"Just Me",value:!1}],rankValues:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]};class ue{constructor(t,e,n,l,i){this.fb=t,this.keycloakService=e,this.colorFilterService=n,this.fleetItemService=l,this.fleetService=i,this.ConfigFilterColorForm=se,this.ConfigFleetItemForm=ae.a.config.ConfigFleetItem}ngOnInit(){this.initComponent()}initComponent(){this.initForm(),this.colorFilter?this.getColorFilter().subscribe(t=>{t&&t.fleet&&(this.colorFilter=t,this.colorFilterForm.controls.fleetLogicalOperator.setValue(this.colorFilter.fleet.logicalOperator),this.colorFilter.fleet.fleetItems.map(t=>this.addFleetItemForm(t)),this.addFleetItemForm())}):this.addFleetItemForm()}getColorFilter(){return this.colorFilterService.getOneBaseColorFilterControllerColorFilter({id:this.colorFilter.id,join:["fleet","fleet.fleetItems"]})}initForm(){this.colorFilterForm=this.fb.group({name:this.colorFilter?this.colorFilter.name:"",rank:this.colorFilter?this.colorFilter.rank:0,isForAll:!!this.colorFilter&&this.colorFilter.isForAll,color:this.colorFilter?this.colorFilter.color:"#FF0000",createdById:this.colorFilter?this.colorFilter.createdById:this.keycloakService.client().subject,fleetLogicalOperator:"",fleetItems:this.fb.array([])})}addFleetItemForm(t){const e=this.colorFilterForm.controls.fleetItems,n={id:t?t.id:"",field:t?t.field:null,operator:t?t.operator:null,value:t?t.value:null};!t||"mlat"!==t.field&&"military"!==t.field||(n.value="true"===t.value),e.insert(0,this.fb.group(n))}deleteFleetItemFrom(t){const e=this.colorFilterForm.controls.fleetItems,n=this.colorFilterForm.value.fleetItems[t];n.id&&this.fleetItemService.deleteOneBaseFleetItemControllerFleetItem({id:n.id}).subscribe(),e.removeAt(t)}submitColorFilter(){this.colorFilter?(this.updateColorFilter(),this.submitFleet(),this.submitFleetItem()):this.createColorFilter().subscribe(t=>{this.colorFilter=t,this.getColorFilter().subscribe(t=>{t&&t.fleet&&(this.colorFilter=t,this.submitFleet(),this.submitFleetItem())})})}createColorFilter(){return this.colorFilterService.createOneBaseColorFilterControllerColorFilter({body:{name:this.colorFilterForm.value.name,rank:this.colorFilterForm.value.rank,isForAll:this.colorFilterForm.value.isForAll,color:this.colorFilterForm.value.color,createdById:this.colorFilterForm.value.createdById}})}updateColorFilter(){this.colorFilterService.updateOneBaseColorFilterControllerColorFilter({id:this.colorFilter.id,body:{name:this.colorFilterForm.value.name,rank:this.colorFilterForm.value.rank,isForAll:this.colorFilterForm.value.isForAll,color:this.colorFilterForm.value.color}}).subscribe(t=>{this.colorFilter=t})}submitFleet(){this.colorFilterForm.value.fleetLogicalOperator!==this.colorFilter.fleet.logicalOperator&&this.fleetService.updateOneBaseFleetControllerFleet({id:this.colorFilter.fleet.id,body:{logicalOperator:this.colorFilterForm.value.fleetLogicalOperator}}).subscribe(t=>{})}submitFleetItem(){this.colorFilterForm.value.fleetItems.forEach((t,e)=>{"mlat"!==t.field&&"military"!==t.field||(t.operator="eq",t.value=t.value?"true":"false"),t.field&&t.operator&&t.value&&(""===t.id?this.createFleetItem(t,e):this.updateFleetItem(t))})}createFleetItem(t,e){this.fleetItemService.createOneBaseFleetItemControllerFleetItem({body:{field:t.field,operator:t.operator,value:t.value,fleetId:this.colorFilter.fleetId}}).subscribe(t=>{this.colorFilterForm.value.fleetItems[e]=t})}updateFleetItem(t){this.fleetItemService.updateOneBaseFleetItemControllerFleetItem({id:t.id,body:{field:t.field,operator:t.operator,value:t.value}}).subscribe()}formFleetItems(){return this.colorFilterForm.get("fleetItems")}}var ce=n("mTEX"),de=l.Bb({encapsulation:0,styles:[[".container-form-filter-color[_ngcontent-%COMP%]{padding-top:10px;max-height:600px}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-color[_ngcontent-%COMP%]{display:flex}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-color[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 5px;width:20%}.container-form-filter-color[_ngcontent-%COMP%] .mat-form-field-wrapper{margin:0;padding:0}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%]{width:50%;display:flex}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:50%}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-logical-operator[_ngcontent-%COMP%]{padding:10px 0}.container-form-filter-color[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .container-form-filter-color[_ngcontent-%COMP%] .fleet-item-field[_ngcontent-%COMP%]{width:25%}.container-form-filter-color[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:10px}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-checkbox[_ngcontent-%COMP%]{display:flex;padding-right:40%}.container-form-filter-color[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}.container-form-filter-color[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-primary);color:#fff;height:50px}"]],data:{}});function he(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[28,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[40,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[52,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function be(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-fleet-item-csv",[],null,[[null,"hasImport"]],(function(t,e,n){var l=!0;return"hasImport"===e&&(l=!1!==t.component.initComponent()&&l),l}),Zt.b,Zt.a)),l.Cb(1,114688,null,0,te.a,[ee.a],{fleetId:[0,"fleetId"]},{hasImport:"hasImport"})],(function(t,e){t(e,1,0,e.component.colorFilter.fleetId)}),null)}function me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[64,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[76,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function _e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,48,"div",[["class","fleet-item-value"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(2,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,67,{_controlNonStatic:0}),l.Ub(335544320,68,{_controlStatic:0}),l.Ub(603979776,69,{_labelChildNonStatic:0}),l.Ub(335544320,70,{_labelChildStatic:0}),l.Ub(603979776,71,{_placeholderChild:0}),l.Ub(603979776,72,{_errorChildren:1}),l.Ub(603979776,73,{_hintChildren:1}),l.Ub(603979776,74,{_prefixChildren:1}),l.Ub(603979776,75,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[69,4],[70,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,[" Operator "])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","operator"],["matInput",""],["placeholder","Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(17,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(19,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(20,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,76,{options:1}),l.Ub(603979776,77,{optionGroups:1}),l.Ub(603979776,78,{customTrigger:0}),l.Tb(2048,[[67,4],[68,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,ge)),l.Cb(26,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(28,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,79,{_controlNonStatic:0}),l.Ub(335544320,80,{_controlStatic:0}),l.Ub(603979776,81,{_labelChildNonStatic:0}),l.Ub(335544320,82,{_labelChildStatic:0}),l.Ub(603979776,83,{_placeholderChild:0}),l.Ub(603979776,84,{_errorChildren:1}),l.Ub(603979776,85,{_hintChildren:1}),l.Ub(603979776,86,{_prefixChildren:1}),l.Ub(603979776,87,{_suffixChildren:1}),(t()(),l.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(39,16384,[[81,4],[82,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Value"])),(t()(),l.Db(41,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","value"],["matInput",""],["placeholder","Value"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,42)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,42).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,42)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,42)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,47)._onInput()&&i),i}),null,null)),l.Cb(42,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(44,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(46,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(47,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[79,4],[80,4]],S.d,null,[M.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"operator"),t(e,20,0,"Operator"),t(e,26,0,n.ConfigFleetItemForm.operators),t(e,28,0,"outline"),t(e,44,0,"value"),t(e,47,0,"Value","text")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,41,1,[l.Pb(e,46).ngClassUntouched,l.Pb(e,46).ngClassTouched,l.Pb(e,46).ngClassPristine,l.Pb(e,46).ngClassDirty,l.Pb(e,46).ngClassValid,l.Pb(e,46).ngClassInvalid,l.Pb(e,46).ngClassPending,l.Pb(e,47)._isServer,l.Pb(e,47).id,l.Pb(e,47).placeholder,l.Pb(e,47).disabled,l.Pb(e,47).required,l.Pb(e,47).readonly&&!l.Pb(e,47)._isNativeSelect||null,l.Pb(e,47)._ariaDescribedby||null,l.Pb(e,47).errorState,l.Pb(e,47).required.toString()])}))}function ye(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-checkbox",[["class","fleet-item-checkbox mat-checkbox"],["formControlName","value"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,re.b,re.a)),l.Cb(1,8568832,null,0,oe.b,[l.p,l.j,c.h,l.G,[8,null],[2,oe.a],[2,d.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[oe.b]),l.Cb(3,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(5,16384,null,0,O.q,[[4,O.p]],null,null)],(function(t,e){t(e,3,0,"value")}),(function(t,e){t(e,0,1,[l.Pb(e,1).id,null,l.Pb(e,1).indeterminate,l.Pb(e,1).checked,l.Pb(e,1).disabled,"before"==l.Pb(e,1).labelPosition,"NoopAnimations"===l.Pb(e,1)._animationMode,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending])}))}function Ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,40,"div",[["class","form-inline"],["formArrayName","fleetItems"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),l.Cb(1,212992,null,0,O.e,[[3,O.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,O.c,null,[O.e]),l.Cb(3,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(4,0,null,null,36,null,null,null,null,null,null,null)),l.Cb(5,212992,null,0,O.l,[[3,O.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,O.c,null,[O.l]),l.Cb(7,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(8,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","fleet-item-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(9,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,55,{_controlNonStatic:0}),l.Ub(335544320,56,{_controlStatic:0}),l.Ub(603979776,57,{_labelChildNonStatic:0}),l.Ub(335544320,58,{_labelChildStatic:0}),l.Ub(603979776,59,{_placeholderChild:0}),l.Ub(603979776,60,{_errorChildren:1}),l.Ub(603979776,61,{_hintChildren:1}),l.Ub(603979776,62,{_prefixChildren:1}),l.Ub(603979776,63,{_suffixChildren:1}),(t()(),l.Db(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(20,16384,[[57,4],[58,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Field"])),(t()(),l.Db(22,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","field"],["matInput",""],["placeholder","Field"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,27)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,27)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,27)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(24,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(26,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(27,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,64,{options:1}),l.Ub(603979776,65,{optionGroups:1}),l.Ub(603979776,66,{customTrigger:0}),l.Tb(2048,[[55,4],[56,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,me)),l.Cb(33,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,_e)),l.Cb(35,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["editBoolean",2]],null,0,null,ye)),(t()(),l.Db(37,0,null,null,3,"button",[["class","delete-button mat-menu-item"],["mat-menu-item",""],["type","button"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,38)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,38)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteFleetItemFrom(t.context.index)&&i),i}),A.c,A.a)),l.Cb(38,180224,null,0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(39,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,h.y,h.g)),l.Cb(40,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,1,0,"fleetItems"),t(e,5,0,e.context.index),t(e,9,0,"outline"),t(e,24,0,"field"),t(e,27,0,"Field"),t(e,33,0,n.ConfigFleetItemForm.fields),t(e,35,0,"mlat"!=n.formFleetItems().controls[e.context.index].value.field&&"military"!=n.formFleetItems().controls[e.context.index].value.field,l.Pb(e,36)),t(e,40,0,"trash")}),(function(t,e){t(e,0,0,l.Pb(e,3).ngClassUntouched,l.Pb(e,3).ngClassTouched,l.Pb(e,3).ngClassPristine,l.Pb(e,3).ngClassDirty,l.Pb(e,3).ngClassValid,l.Pb(e,3).ngClassInvalid,l.Pb(e,3).ngClassPending),t(e,8,1,["standard"==l.Pb(e,9).appearance,"fill"==l.Pb(e,9).appearance,"outline"==l.Pb(e,9).appearance,"legacy"==l.Pb(e,9).appearance,l.Pb(e,9)._control.errorState,l.Pb(e,9)._canLabelFloat,l.Pb(e,9)._shouldLabelFloat(),l.Pb(e,9)._hasFloatingLabel(),l.Pb(e,9)._hideControlPlaceholder(),l.Pb(e,9)._control.disabled,l.Pb(e,9)._control.autofilled,l.Pb(e,9)._control.focused,"accent"==l.Pb(e,9).color,"warn"==l.Pb(e,9).color,l.Pb(e,9)._shouldForward("untouched"),l.Pb(e,9)._shouldForward("touched"),l.Pb(e,9)._shouldForward("pristine"),l.Pb(e,9)._shouldForward("dirty"),l.Pb(e,9)._shouldForward("valid"),l.Pb(e,9)._shouldForward("invalid"),l.Pb(e,9)._shouldForward("pending"),!l.Pb(e,9)._animationsEnabled]),t(e,22,1,[l.Pb(e,26).ngClassUntouched,l.Pb(e,26).ngClassTouched,l.Pb(e,26).ngClassPristine,l.Pb(e,26).ngClassDirty,l.Pb(e,26).ngClassValid,l.Pb(e,26).ngClassInvalid,l.Pb(e,26).ngClassPending,l.Pb(e,27).id,l.Pb(e,27).tabIndex,l.Pb(e,27)._getAriaLabel(),l.Pb(e,27)._getAriaLabelledby(),l.Pb(e,27).required.toString(),l.Pb(e,27).disabled.toString(),l.Pb(e,27).errorState,l.Pb(e,27).panelOpen?l.Pb(e,27)._optionIds:null,l.Pb(e,27).multiple,l.Pb(e,27)._ariaDescribedby||null,l.Pb(e,27)._getAriaActiveDescendant(),l.Pb(e,27).disabled,l.Pb(e,27).errorState,l.Pb(e,27).required,l.Pb(e,27).empty]),t(e,37,0,l.Pb(e,38).role,l.Pb(e,38)._highlighted,l.Pb(e,38)._triggersSubmenu,l.Pb(e,38)._getTabIndex(),l.Pb(e,38).disabled.toString(),l.Pb(e,38).disabled||null)}))}function ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,133,"div",[["class","container-form-filter-color"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,132,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,3).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,3).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitColorFilter()&&i),i}),null,null)),l.Cb(2,16384,null,0,O.A,[],null,null),l.Cb(3,540672,null,0,O.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,O.c,null,[O.k]),l.Cb(5,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(6,0,null,null,90,"div",[["class","form-filter-color"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(8,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(18,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,19)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,19).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,19)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,19)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,24)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,24)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,24)._onInput()&&i),i}),null,null)),l.Cb(19,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(21,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(23,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(24,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],S.d,null,[M.b]),(t()(),l.Db(26,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(27,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,10,{_controlNonStatic:0}),l.Ub(335544320,11,{_controlStatic:0}),l.Ub(603979776,12,{_labelChildNonStatic:0}),l.Ub(335544320,13,{_labelChildStatic:0}),l.Ub(603979776,14,{_placeholderChild:0}),l.Ub(603979776,15,{_errorChildren:1}),l.Ub(603979776,16,{_hintChildren:1}),l.Ub(603979776,17,{_prefixChildren:1}),l.Ub(603979776,18,{_suffixChildren:1}),(t()(),l.Db(37,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","color"],["matInput",""],["placeholder","Color hex"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,38)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,38).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,38)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,38)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,43)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,43)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,43)._onInput()&&i),i}),null,null)),l.Cb(38,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(40,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(42,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(43,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[10,4],[11,4]],S.d,null,[M.b]),(t()(),l.Db(45,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(46,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,19,{_controlNonStatic:0}),l.Ub(335544320,20,{_controlStatic:0}),l.Ub(603979776,21,{_labelChildNonStatic:0}),l.Ub(335544320,22,{_labelChildStatic:0}),l.Ub(603979776,23,{_placeholderChild:0}),l.Ub(603979776,24,{_errorChildren:1}),l.Ub(603979776,25,{_hintChildren:1}),l.Ub(603979776,26,{_prefixChildren:1}),l.Ub(603979776,27,{_suffixChildren:1}),(t()(),l.Db(56,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(57,16384,[[21,4],[22,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Visibility"])),(t()(),l.Db(59,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","isForAll"],["matInput",""],["placeholder","Visibility"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,64)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,64)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,64)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(61,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(63,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(64,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,28,{options:1}),l.Ub(603979776,29,{optionGroups:1}),l.Ub(603979776,30,{customTrigger:0}),l.Tb(2048,[[19,4],[20,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,he)),l.Cb(70,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(71,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(72,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,31,{_controlNonStatic:0}),l.Ub(335544320,32,{_controlStatic:0}),l.Ub(603979776,33,{_labelChildNonStatic:0}),l.Ub(335544320,34,{_labelChildStatic:0}),l.Ub(603979776,35,{_placeholderChild:0}),l.Ub(603979776,36,{_errorChildren:1}),l.Ub(603979776,37,{_hintChildren:1}),l.Ub(603979776,38,{_prefixChildren:1}),l.Ub(603979776,39,{_suffixChildren:1}),(t()(),l.Db(82,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(83,16384,[[33,4],[34,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Rank"])),(t()(),l.Db(85,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","rank"],["matInput",""],["placeholder","Rank"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,90)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,90)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,90)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(87,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(89,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(90,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,40,{options:1}),l.Ub(603979776,41,{optionGroups:1}),l.Ub(603979776,42,{customTrigger:0}),l.Tb(2048,[[31,4],[32,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,pe)),l.Cb(96,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(97,0,null,null,26,"div",[["class","form-filter-logical-operator"]],null,null,null,null,null)),(t()(),l.Db(98,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(99,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,43,{_controlNonStatic:0}),l.Ub(335544320,44,{_controlStatic:0}),l.Ub(603979776,45,{_labelChildNonStatic:0}),l.Ub(335544320,46,{_labelChildStatic:0}),l.Ub(603979776,47,{_placeholderChild:0}),l.Ub(603979776,48,{_errorChildren:1}),l.Ub(603979776,49,{_hintChildren:1}),l.Ub(603979776,50,{_prefixChildren:1}),l.Ub(603979776,51,{_suffixChildren:1}),(t()(),l.Db(109,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(110,16384,[[45,4],[46,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Logical operator"])),(t()(),l.Db(112,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","fleetLogicalOperator"],["matInput",""],["placeholder","Logical Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,117)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,117)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,117)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(114,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(116,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(117,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,52,{options:1}),l.Ub(603979776,53,{optionGroups:1}),l.Ub(603979776,54,{customTrigger:0}),l.Tb(2048,[[43,4],[44,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,fe)),l.Cb(123,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,be)),l.Cb(125,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(126,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.addFleetItemForm()&&l),l}),s.b,s.a)),l.Cb(127,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Add"])),(t()(),l.sb(16777216,null,null,1,null,Ae)),l.Cb(130,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(131,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(132,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,3,0,n.colorFilterForm),t(e,8,0,"outline"),t(e,21,0,"name"),t(e,24,0,"Name","text"),t(e,27,0,"outline"),t(e,40,0,"color"),t(e,43,0,"Color hex","color"),t(e,46,0,"outline"),t(e,61,0,"isForAll"),t(e,64,0,"Visibility"),t(e,70,0,n.ConfigFilterColorForm.forAllValues),t(e,72,0,"outline"),t(e,87,0,"rank"),t(e,90,0,"Rank"),t(e,96,0,n.ConfigFilterColorForm.rankValues),t(e,99,0,"outline"),t(e,114,0,"fleetLogicalOperator"),t(e,117,0,"Logical Operator"),t(e,123,0,n.ConfigFleetItemForm.logicalOperator),t(e,125,0,n.colorFilter),t(e,127,0,"warn"),t(e,130,0,n.formFleetItems().controls)}),(function(t,e){t(e,1,0,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending),t(e,7,1,["standard"==l.Pb(e,8).appearance,"fill"==l.Pb(e,8).appearance,"outline"==l.Pb(e,8).appearance,"legacy"==l.Pb(e,8).appearance,l.Pb(e,8)._control.errorState,l.Pb(e,8)._canLabelFloat,l.Pb(e,8)._shouldLabelFloat(),l.Pb(e,8)._hasFloatingLabel(),l.Pb(e,8)._hideControlPlaceholder(),l.Pb(e,8)._control.disabled,l.Pb(e,8)._control.autofilled,l.Pb(e,8)._control.focused,"accent"==l.Pb(e,8).color,"warn"==l.Pb(e,8).color,l.Pb(e,8)._shouldForward("untouched"),l.Pb(e,8)._shouldForward("touched"),l.Pb(e,8)._shouldForward("pristine"),l.Pb(e,8)._shouldForward("dirty"),l.Pb(e,8)._shouldForward("valid"),l.Pb(e,8)._shouldForward("invalid"),l.Pb(e,8)._shouldForward("pending"),!l.Pb(e,8)._animationsEnabled]),t(e,18,1,[l.Pb(e,23).ngClassUntouched,l.Pb(e,23).ngClassTouched,l.Pb(e,23).ngClassPristine,l.Pb(e,23).ngClassDirty,l.Pb(e,23).ngClassValid,l.Pb(e,23).ngClassInvalid,l.Pb(e,23).ngClassPending,l.Pb(e,24)._isServer,l.Pb(e,24).id,l.Pb(e,24).placeholder,l.Pb(e,24).disabled,l.Pb(e,24).required,l.Pb(e,24).readonly&&!l.Pb(e,24)._isNativeSelect||null,l.Pb(e,24)._ariaDescribedby||null,l.Pb(e,24).errorState,l.Pb(e,24).required.toString()]),t(e,26,1,["standard"==l.Pb(e,27).appearance,"fill"==l.Pb(e,27).appearance,"outline"==l.Pb(e,27).appearance,"legacy"==l.Pb(e,27).appearance,l.Pb(e,27)._control.errorState,l.Pb(e,27)._canLabelFloat,l.Pb(e,27)._shouldLabelFloat(),l.Pb(e,27)._hasFloatingLabel(),l.Pb(e,27)._hideControlPlaceholder(),l.Pb(e,27)._control.disabled,l.Pb(e,27)._control.autofilled,l.Pb(e,27)._control.focused,"accent"==l.Pb(e,27).color,"warn"==l.Pb(e,27).color,l.Pb(e,27)._shouldForward("untouched"),l.Pb(e,27)._shouldForward("touched"),l.Pb(e,27)._shouldForward("pristine"),l.Pb(e,27)._shouldForward("dirty"),l.Pb(e,27)._shouldForward("valid"),l.Pb(e,27)._shouldForward("invalid"),l.Pb(e,27)._shouldForward("pending"),!l.Pb(e,27)._animationsEnabled]),t(e,37,1,[l.Pb(e,42).ngClassUntouched,l.Pb(e,42).ngClassTouched,l.Pb(e,42).ngClassPristine,l.Pb(e,42).ngClassDirty,l.Pb(e,42).ngClassValid,l.Pb(e,42).ngClassInvalid,l.Pb(e,42).ngClassPending,l.Pb(e,43)._isServer,l.Pb(e,43).id,l.Pb(e,43).placeholder,l.Pb(e,43).disabled,l.Pb(e,43).required,l.Pb(e,43).readonly&&!l.Pb(e,43)._isNativeSelect||null,l.Pb(e,43)._ariaDescribedby||null,l.Pb(e,43).errorState,l.Pb(e,43).required.toString()]),t(e,45,1,["standard"==l.Pb(e,46).appearance,"fill"==l.Pb(e,46).appearance,"outline"==l.Pb(e,46).appearance,"legacy"==l.Pb(e,46).appearance,l.Pb(e,46)._control.errorState,l.Pb(e,46)._canLabelFloat,l.Pb(e,46)._shouldLabelFloat(),l.Pb(e,46)._hasFloatingLabel(),l.Pb(e,46)._hideControlPlaceholder(),l.Pb(e,46)._control.disabled,l.Pb(e,46)._control.autofilled,l.Pb(e,46)._control.focused,"accent"==l.Pb(e,46).color,"warn"==l.Pb(e,46).color,l.Pb(e,46)._shouldForward("untouched"),l.Pb(e,46)._shouldForward("touched"),l.Pb(e,46)._shouldForward("pristine"),l.Pb(e,46)._shouldForward("dirty"),l.Pb(e,46)._shouldForward("valid"),l.Pb(e,46)._shouldForward("invalid"),l.Pb(e,46)._shouldForward("pending"),!l.Pb(e,46)._animationsEnabled]),t(e,59,1,[l.Pb(e,63).ngClassUntouched,l.Pb(e,63).ngClassTouched,l.Pb(e,63).ngClassPristine,l.Pb(e,63).ngClassDirty,l.Pb(e,63).ngClassValid,l.Pb(e,63).ngClassInvalid,l.Pb(e,63).ngClassPending,l.Pb(e,64).id,l.Pb(e,64).tabIndex,l.Pb(e,64)._getAriaLabel(),l.Pb(e,64)._getAriaLabelledby(),l.Pb(e,64).required.toString(),l.Pb(e,64).disabled.toString(),l.Pb(e,64).errorState,l.Pb(e,64).panelOpen?l.Pb(e,64)._optionIds:null,l.Pb(e,64).multiple,l.Pb(e,64)._ariaDescribedby||null,l.Pb(e,64)._getAriaActiveDescendant(),l.Pb(e,64).disabled,l.Pb(e,64).errorState,l.Pb(e,64).required,l.Pb(e,64).empty]),t(e,71,1,["standard"==l.Pb(e,72).appearance,"fill"==l.Pb(e,72).appearance,"outline"==l.Pb(e,72).appearance,"legacy"==l.Pb(e,72).appearance,l.Pb(e,72)._control.errorState,l.Pb(e,72)._canLabelFloat,l.Pb(e,72)._shouldLabelFloat(),l.Pb(e,72)._hasFloatingLabel(),l.Pb(e,72)._hideControlPlaceholder(),l.Pb(e,72)._control.disabled,l.Pb(e,72)._control.autofilled,l.Pb(e,72)._control.focused,"accent"==l.Pb(e,72).color,"warn"==l.Pb(e,72).color,l.Pb(e,72)._shouldForward("untouched"),l.Pb(e,72)._shouldForward("touched"),l.Pb(e,72)._shouldForward("pristine"),l.Pb(e,72)._shouldForward("dirty"),l.Pb(e,72)._shouldForward("valid"),l.Pb(e,72)._shouldForward("invalid"),l.Pb(e,72)._shouldForward("pending"),!l.Pb(e,72)._animationsEnabled]),t(e,85,1,[l.Pb(e,89).ngClassUntouched,l.Pb(e,89).ngClassTouched,l.Pb(e,89).ngClassPristine,l.Pb(e,89).ngClassDirty,l.Pb(e,89).ngClassValid,l.Pb(e,89).ngClassInvalid,l.Pb(e,89).ngClassPending,l.Pb(e,90).id,l.Pb(e,90).tabIndex,l.Pb(e,90)._getAriaLabel(),l.Pb(e,90)._getAriaLabelledby(),l.Pb(e,90).required.toString(),l.Pb(e,90).disabled.toString(),l.Pb(e,90).errorState,l.Pb(e,90).panelOpen?l.Pb(e,90)._optionIds:null,l.Pb(e,90).multiple,l.Pb(e,90)._ariaDescribedby||null,l.Pb(e,90)._getAriaActiveDescendant(),l.Pb(e,90).disabled,l.Pb(e,90).errorState,l.Pb(e,90).required,l.Pb(e,90).empty]),t(e,98,1,["standard"==l.Pb(e,99).appearance,"fill"==l.Pb(e,99).appearance,"outline"==l.Pb(e,99).appearance,"legacy"==l.Pb(e,99).appearance,l.Pb(e,99)._control.errorState,l.Pb(e,99)._canLabelFloat,l.Pb(e,99)._shouldLabelFloat(),l.Pb(e,99)._hasFloatingLabel(),l.Pb(e,99)._hideControlPlaceholder(),l.Pb(e,99)._control.disabled,l.Pb(e,99)._control.autofilled,l.Pb(e,99)._control.focused,"accent"==l.Pb(e,99).color,"warn"==l.Pb(e,99).color,l.Pb(e,99)._shouldForward("untouched"),l.Pb(e,99)._shouldForward("touched"),l.Pb(e,99)._shouldForward("pristine"),l.Pb(e,99)._shouldForward("dirty"),l.Pb(e,99)._shouldForward("valid"),l.Pb(e,99)._shouldForward("invalid"),l.Pb(e,99)._shouldForward("pending"),!l.Pb(e,99)._animationsEnabled]),t(e,112,1,[l.Pb(e,116).ngClassUntouched,l.Pb(e,116).ngClassTouched,l.Pb(e,116).ngClassPristine,l.Pb(e,116).ngClassDirty,l.Pb(e,116).ngClassValid,l.Pb(e,116).ngClassInvalid,l.Pb(e,116).ngClassPending,l.Pb(e,117).id,l.Pb(e,117).tabIndex,l.Pb(e,117)._getAriaLabel(),l.Pb(e,117)._getAriaLabelledby(),l.Pb(e,117).required.toString(),l.Pb(e,117).disabled.toString(),l.Pb(e,117).errorState,l.Pb(e,117).panelOpen?l.Pb(e,117)._optionIds:null,l.Pb(e,117).multiple,l.Pb(e,117)._ariaDescribedby||null,l.Pb(e,117)._getAriaActiveDescendant(),l.Pb(e,117).disabled,l.Pb(e,117).errorState,l.Pb(e,117).required,l.Pb(e,117).empty]),t(e,126,0,l.Pb(e,127).disabled||null,"NoopAnimations"===l.Pb(e,127)._animationMode),t(e,131,0,l.Pb(e,132).disabled||null,"NoopAnimations"===l.Pb(e,132)._animationMode)}))}var Ce=n("Yeuo"),we=n("1f0G"),Pe=n("X0qu"),xe=n("Mc5n"),Se=n("F8Ro");n.d(e,"a",(function(){return je}));var ke=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.form-page[_ngcontent-%COMP%]{padding:10px}"]],data:{}});function Me(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Color aircraft"]],null,null,null,i.d,i.a)),l.Cb(1,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,5,{templateLabel:0}),l.Ub(335544320,6,{_explicitContent:0}),(t()(),l.Db(4,0,null,0,1,"control-color-filter",[],null,[[null,"openColorFilterForm"]],(function(t,e,n){var l=!0;return"openColorFilterForm"===e&&(l=!1!==t.component.openColorFilterForm(n)&&l),l}),st,N)),l.Cb(5,114688,null,0,R,[F.a,I.a,L.a,j.a],null,{openColorFilterForm:"openColorFilterForm"}),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Color aircraft"),t(e,5,0)}),null)}function Oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(1,16384,null,0,ut.j,[],null,null),(t()(),l.Db(2,0,null,null,16,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,i.c,i.b)),l.Cb(3,3325952,null,1,r.g,[l.p,l.j,[2,r.a],[2,d.a]],null,null),l.Ub(603979776,4,{_tabs:1}),(t()(),l.sb(16777216,null,null,1,null,Me)),l.Cb(6,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(7,16777216,null,null,5,"mat-tab",[["label","Layers"]],null,null,null,i.d,i.a)),l.Cb(8,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,7,{templateLabel:0}),l.Ub(335544320,8,{_explicitContent:0}),(t()(),l.Db(11,0,null,0,1,"control-layers",[],null,[[null,"openFormLayer"]],(function(t,e,n){var l=!0;return"openFormLayer"===e&&(l=!1!==t.component.openFormLayer()&&l),l}),Mt,bt)),l.Cb(12,49152,null,0,ft,[ht.a,I.a,pt.a],null,{openFormLayer:"openFormLayer"}),(t()(),l.Db(13,16777216,null,null,5,"mat-tab",[["label","Feed"]],null,null,null,i.d,i.a)),l.Cb(14,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,9,{templateLabel:0}),l.Ub(335544320,10,{_explicitContent:0}),(t()(),l.Db(17,0,null,0,1,"control-feeds",[],null,null,null,Jt,Tt)),l.Cb(18,114688,null,0,Ot,[Dt.a,I.a],null,null)],(function(t,e){var n=e.component;t(e,6,0,n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0),t(e,8,0,"Layers"),t(e,14,0,"Feed"),t(e,18,0)}),(function(t,e){t(e,2,0,l.Pb(e,3).dynamicHeight,"below"===l.Pb(e,3).headerPosition)}))}function De(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-color-filter",[],null,null,null,ve,de)),l.Cb(1,114688,null,0,ue,[O.f,I.a,F.a,ee.a,ce.a],{colorFilter:[0,"colorFilter"]},null)],(function(t,e){t(e,1,0,e.component.currentColorFilter)}),null)}function Te(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-layer",[],null,null,null,Ce.c,Ce.b)),l.Cb(1,114688,null,0,we.a,[ut.e,Pe.a,O.f],null,null)],(function(t,e){t(e,1,0)}),null)}function Ee(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,7,"div",[["class","form-page"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeColorFilterForm()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Return "])),(t()(),l.sb(16777216,null,null,1,null,De)),l.Cb(5,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Te)),l.Cb(7,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,5,0,"formColorFilter"==n.currentPage),t(e,7,0,"formLayer"==n.currentPage)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function Ie(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","filters"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(3,4866048,null,3,xe.c,[l.p,[3,xe.b],f.d,l.G,l.Y,xe.a,[2,y.b],xe.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,xe.l,null,[xe.c]),l.Cb(8,147456,[[1,4]],0,xe.d,[l.p,[2,xe.l]],null,null),l.Cb(9,81920,null,0,ut.m,[[2,ut.l],l.p,ut.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["FILTER"])),(t()(),l.sb(16777216,null,null,1,null,Oe)),l.Cb(12,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ee)),l.Cb(14,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0,".cdk-overlay-pane"),t(e,9,0,"filters"),t(e,12,0,"menuFilter"==n.currentPage),t(e,14,0,"formColorFilter"==n.currentPage||"formLayer"==n.currentPage)}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging(),l.Pb(e,9).id)}))}function Le(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"filter-dialog",[],null,null,null,Ie,ke)),l.Cb(1,114688,null,0,Se.a,[ut.l,ut.a,j.a,I.a],null,null)],(function(t,e){t(e,1,0)}),null)}var je=l.zb("filter-dialog",Se.a,Le,{},{},[])},ItNn:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}aircraftBboxControllerGetBbox$Response(e){const n=new o.a(this.rootUrl,t.AircraftBboxControllerGetBboxPath,"get");return e&&(n.query("providers",e.providers),n.query("filterICAO",e.filterIcao),n.query("since",e.since),n.query("selected",e.selected),n.query("maxLat",e.maxLat),n.query("minLat",e.minLat),n.query("maxLon",e.maxLon),n.query("minLon",e.minLon)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}aircraftBboxControllerGetBbox(t){return this.aircraftBboxControllerGetBbox$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.AircraftBboxControllerGetBboxPath="/aircraft_bbox",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},"IwX+":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("7o/Q"),i=n("4I5i"),r=n("EY2u");function o(t){return e=>0===t?Object(r.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new i.a}call(t,e){return e.subscribe(new s(t,this.total))}}class s extends l.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];t.defineLocale("ku",{months:l,monthsShort:l,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("zx2A");function i(t){return function(e){const n=new r(t),l=e.lift(n);return n.caught=l}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends l.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new l.a(this);this.add(i);const r=Object(l.c)(n,i);r!==i&&this.add(r)}}}},JRYL:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("wd/R");n("w+w1"),n("978D");class i{constructor(t,e){this.ref=t,this.timeService=e,this.maxTimeLine=0,this.lineChartData=[{data:[],label:"Altitude"}],this.lineChartLabels=[],this.lineChartOptions={responsive:!0,elements:{point:{radius:0}},scales:{xAxes:[{display:!1}]}},this.lineChartColors=[{borderColor:"#f04141",backgroundColor:"rgba(244, 245, 248, 0.5)"}],this.lineChartLegend=!1,this.lineChartType="line"}ngOnInit(){this.displayGraphAircraft()}ngDoCheck(){this.displayGraphAircraft(),this.ref.detectChanges()}displayGraphAircraft(){if(this.lineChartData[0].data=[],this.lineChartLabels=[],this.aircraft.trace&&this.aircraft.trace.positions){const t=this.timeService.getDateReplay()?l(this.timeService.getDateReplay()).valueOf():l.now(),e=t-18e5;let n=[],i=[];this.aircraft.trace.positions.forEach(r=>{if(r.updatedAt&&r.updatedAt<=t&&r.updatedAt>=e){const e=(t-r.updatedAt)/6e4;this.maxTimeLine<e&&(this.maxTimeLine=e),n.push(r.altitude),i.push(l(r.updatedAt).utc().format("HH:mm:ss"))}}),this.lineChartData[0].data=n,this.lineChartLabels=i}}}},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=t+" ";switch(n){case"ss":return l+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return l+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return l+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return l+(1===t?"dan":"dana");case"MM":return l+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return l+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JW8z:function(t,e,n){"use strict";var l,i=n("eQqr"),r=n("CvXi"),o=n("f8l7"),a=n("9d2U"),s=n("/O31"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=6378137*Math.PI,d=[-c,-c,c,c],h=[-180,-85,180,85],p=function(t){function e(e){return t.call(this,{code:e,units:s.b.METERS,extent:d,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(o.b)(e[1]/6378137)}})||this}return u(e,t),e}(a.a),f=[new p("EPSG:3857"),new p("EPSG:102100"),new p("EPSG:102113"),new p("EPSG:900913"),new p("urn:ogc:def:crs:EPSG:6.18:3:3857"),new p("urn:ogc:def:crs:EPSG::3857"),new p("http://www.opengis.net/gml/srs/epsg.xml#3857")],b=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),m=[-180,-90,180,90],g=6378137*Math.PI/180,_=function(t){function e(e,n){return t.call(this,{code:e,units:s.b.DEGREES,extent:m,axisOrientation:n,global:!0,metersPerUnit:g,worldExtent:m})||this}return b(e,t),e}(a.a),y=[new _("CRS:84"),new _("EPSG:4326","neu"),new _("urn:ogc:def:crs:EPSG::4326","neu"),new _("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new _("urn:ogc:def:crs:OGC:1.3:CRS84"),new _("urn:ogc:def:crs:OGC:2:84"),new _("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new _("urn:x-ogc:def:crs:EPSG:4326","neu")],A=(n("OPOH"),{});function v(t,e,n){var l=t.getCode(),i=e.getCode();l in A||(A[l]={}),A[l][i]=n}var C,w,P,x={};function S(t,e,n){var l;if(void 0!==e){for(var i=0,r=t.length;i<r;++i)e[i]=t[i];l=e}else l=t.slice();return l}function k(t,e,n){if(void 0!==e&&t!==e){for(var l=0,i=t.length;l<i;++l)e[l]=t[l];t=e}return t}function M(t){!function(t,e){x[t]=e}(t.getCode(),t),v(t,t,S)}function O(t){return"string"==typeof t?x[t]||null:t||null}function D(t,e,n,l){var r,o=(t=O(t)).getPointResolutionFunc();if(o)r=o(e,n),l&&l!==t.getUnits()&&(a=t.getMetersPerUnit())&&(r=r*a/s.a[l]);else if(t.getUnits()==s.b.DEGREES&&!l||l==s.b.DEGREES)r=e;else{var a,u=R(t,O("EPSG:4326")),c=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];c=u(c,c,2),r=(Object(i.a)(c.slice(0,2),c.slice(2,4))+Object(i.a)(c.slice(4,6),c.slice(6,8)))/2,void 0!==(a=l?s.a[l]:t.getMetersPerUnit())&&(r/=a)}return r}function T(t){!function(t){t.forEach(M)}(t),t.forEach((function(e){t.forEach((function(t){e!==t&&v(e,t,S)}))}))}function E(t,e){return t?"string"==typeof t?O(t):t:O(e)}function I(t,e){return N(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function L(t,e){var n=N(t,void 0!==e?e:"EPSG:3857","EPSG:4326"),l=n[0];return(l<-180||l>180)&&(n[0]=Object(o.d)(l+180,360)-180),n}function j(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||R(t,e)===S)&&n}function R(t,e){var n,l,i,r=(n=t.getCode(),l=e.getCode(),n in A&&l in A[n]&&(i=A[n][l]),i);return r||(r=k),r}function F(t,e){return R(O(t),O(e))}function N(t,e,n){return F(e,n)(t,void 0,t.length)}function Y(t,e,n,l){var i=F(e,n);return Object(r.a)(t,i,void 0,l)}function U(){return null}function B(t,e){return t}function z(t,e){return t}function G(t,e){return t}function H(t,e){return t}n.d(e,"l",(function(){return k})),n.d(e,"g",(function(){return O})),n.d(e,"h",(function(){return D})),n.d(e,"b",(function(){return E})),n.d(e,"d",(function(){return I})),n.d(e,"m",(function(){return L})),n.d(e,"c",(function(){return j})),n.d(e,"j",(function(){return R})),n.d(e,"i",(function(){return F})),n.d(e,"p",(function(){return N})),n.d(e,"q",(function(){return Y})),n.d(e,"k",(function(){return U})),n.d(e,"n",(function(){return B})),n.d(e,"e",(function(){return z})),n.d(e,"o",(function(){return G})),n.d(e,"f",(function(){return H})),n.d(e,"a",(function(){return s.a})),T(f),T(y),C=f,w=function(t,e,n){var l=t.length,i=n>1?n:2,r=e;void 0===r&&(r=i>2?t.slice():new Array(l));for(var o=c,a=0;a<l;a+=i){r[a]=o*t[a]/180;var s=6378137*Math.log(Math.tan(Math.PI*(+t[a+1]+90)/360));s>o?s=o:s<-o&&(s=-o),r[a+1]=s}return r},P=function(t,e,n){var l=t.length,i=n>1?n:2,r=e;void 0===r&&(r=i>2?t.slice():new Array(l));for(var o=0;o<l;o+=i)r[o]=180*t[o]/c,r[o+1]=360*Math.atan(Math.exp(t[o+1]/6378137))/Math.PI-90;return r},y.forEach((function(t){C.forEach((function(e){v(t,e,w),v(e,t,P)}))}))},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("GyhO"),i=n("z+Ro");function r(...t){const e=t[t.length-1];return Object(i.a)(e)?(t.pop(),n=>Object(l.a)(t,n,e)):e=>Object(l.a)(t,e)}},JfHk:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var l=n("CvXi");function i(t,e,n,i,o){return!Object(l.t)(o,(function(l){return!r(t,e,n,i,l[0],l[1])}))}function r(t,e,n,l,i,r){for(var o=0,a=t[n-l],s=t[n-l+1];e<n;e+=l){var u=t[e],c=t[e+1];s<=r?c>r&&(u-a)*(r-s)-(i-a)*(c-s)>0&&o++:c<=r&&(u-a)*(r-s)-(i-a)*(c-s)<0&&o--,a=u,s=c}return 0!==o}function o(t,e,n,l,i,o){if(0===n.length)return!1;if(!r(t,e,n[0],l,i,o))return!1;for(var a=1,s=n.length;a<s;++a)if(r(t,n[a-1],n[a],l,i,o))return!1;return!0}function a(t,e,n,l,i,r){if(0===n.length)return!1;for(var a=0,s=n.length;a<s;++a){var u=n[a];if(o(t,e,u,l,i,r))return!0;e=u[u.length-1]}return!1}},JjoW:function(t,e,n){"use strict";n.d(e,"d",(function(){return S})),n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return A})),n.d(e,"c",(function(){return x})),n("GS7A");var l=n("5GAg"),i=n("KCVW"),r=n("8bJo"),o=n("dvZr"),a=(n("QQfA"),n("8Y7J")),s=n("Xd0L"),u=n("XNiG"),c=n("NXyV"),d=n("VRyK"),h=n("JX91"),p=n("eIep"),f=n("IzEk"),b=n("pLZG"),m=n("lJxs"),g=n("/uUt"),_=n("1G5W");let y=0;const A=new a.w("mat-select-scroll-strategy");function v(t){return()=>t.scrollStrategies.reposition()}class C{constructor(t,e){this.source=t,this.value=e}}class w{constructor(t,e,n,l,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=l,this.ngControl=i}}const P=Object(s.F)(Object(s.J)(Object(s.G)(Object(s.H)(w))));class x extends P{constructor(t,e,n,l,i,r,o,s,g,_,A,v,C){super(i,l,o,s,_),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=r,this._parentFormField=g,this.ngControl=_,this._liveAnnouncer=C,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+y++,this._destroy=new u.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new u.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(c.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(h.a)(t),Object(p.a)(()=>Object(d.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(f.a)(1),Object(p.a)(()=>this.optionSelectionChanges))}),this.openedChange=new a.r,this._openedStream=this.openedChange.pipe(Object(b.a)(t=>t),Object(m.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(b.a)(t=>!t),Object(m.a)(()=>{})),this.selectionChange=new a.r,this.valueChange=new a.r,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=v,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(A)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}set focused(t){this._focused=t}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(i.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(i.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(i.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new r.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(g.a)(),Object(_.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.onChange.pipe(Object(_.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(h.a)(null),Object(_.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(f.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===o.e||e===o.q||e===o.j||e===o.n,l=this._keyManager;if((e===o.g||e===o.o)&&!Object(o.t)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;e===o.i||e===o.f?(e===o.i?l.setFirstItemActive():l.setLastItemActive(),t.preventDefault()):l.onKeydown(t);const i=this.selected;this._liveAnnouncer&&i&&n!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=t.keyCode,n=e===o.e||e===o.q,l=this._keyManager;if(e===o.i||e===o.f)t.preventDefault(),e===o.i?l.setFirstItemActive():l.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==o.g&&e!==o.o||!l.activeItem||Object(o.t)(t))if(this._multiple&&e===o.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const e=l.activeItemIndex;l.onKeydown(t),this._multiple&&n&&t.shiftKey&&l.activeItem&&l.activeItemIndex!==e&&l.activeItem._selectViaInteraction()}else t.preventDefault(),l.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(f.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return Object(a.hb)()&&console.warn(n),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this.focus(),this.close()}),this._keyManager.change.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(d.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(_.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(d.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(_.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new C(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(s.C)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(s.D)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,n,l)=>void 0===e?t===n?l:void 0:e,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),l=e*t-n;let i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(s.C)(i,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(i,r,l),this._offsetY=this._calculateOverlayOffsetY(i,r,l),this._checkOverlayWithinViewport(l)}_calculateOverlayScroll(t,e,n){const l=this._getItemHeight();return Math.min(Math.max(0,l*t-e+l/2),n)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),l=this.multiple?56:32;let i;if(this.multiple)i=40;else{let t=this._selectionModel.selected[0]||this.options.first;i=t&&t.group?32:16}n||(i*=-1);const r=0-(t.left+i-(n?l:0)),o=t.right+i-e.width+(n?0:l);r>0?i+=r+8:o>0&&(i-=o+8),this.overlayDir.offsetX=Math.round(i),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const l=this._getItemHeight(),i=(l-this._triggerRect.height)/2,r=Math.floor(256/l);let o;return this._disableOptionCentering?0:(o=0===this._scrollTop?t*l:this._scrollTop===n?(t-(this._getItemCount()-r))*l+(l-(this._getItemCount()*l-256)%l):e-l/2,Math.round(-1*o-i))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>i?this._adjustPanelUp(o,i):r>l?this._adjustPanelDown(r,l,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const l=Math.round(t-e);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}class S{}},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,l){return e?i(n)[0]:l?i(n)[1]:i(n)[2]}function l(t){return t%10==0||t>10&&t<20}function i(t){return e[t].split("_")}function r(t,e,r,o){var a=t+" ";return 1===t?a+n(0,e,r[0],o):e?a+(l(t)?i(r)[1]:i(r)[0]):o?a+i(r)[1]:a+(l(t)?i(r)[1]:i(r)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,l){return e?"kelios sekund\u0117s":l?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KAq4:function(t,e,n){"use strict";n.r(e);var l=n("8Y7J"),i=n("oeKZ"),r=n("oQtH"),o=n("IheW"),a=n("vkgz"),s=n("GXLG");class u{constructor(t,e){this.keycloakService=t,this.snackBarService=e}intercept(t,e){if(t.url.indexOf(r.a.config.api["sepia.api"].url)>=0){const e=this.keycloakService.client().token;t=t.clone({setHeaders:{Authorization:"Bearer "+e}})}return e.handle(t).pipe(Object(a.a)(t=>t,e=>{t.url.match("/tile/")||(console.error(e),this.snackBarService.openSnackBar(e.error&&e.error.error?e.error.error:e.message))}))}}Object(l.eb)(()=>u);class c{}class d{constructor(){console.log("START APP")}}var h=n("pMnS");class p{constructor(){}}var f=l.Bb({encapsulation:0,styles:[[".container[_ngcontent-%COMP%]{margin:0 auto;text-align:center;position:absolute;width:100%;bottom:50%;font-size:2em}"]],data:{}});function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["404 error"])),(t()(),l.Db(3,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["This page does not exist."]))],null,null)}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-error",[],null,null,null,b,f)),l.Cb(1,49152,null,0,p,[],null,null)],null,null)}var g=l.zb("app-error",p,m,{},{},[]),_=n("yWMr"),y=n("t68o"),A=n("zbXB"),v=n("NcP4"),C=n("xYTU"),w=n("krvq"),P=n("17Ym"),x=n("Eef3"),S=n("qJaP"),k=n("I9pN"),M=n("2yFf"),O=n("It4K"),D=n("rO16"),T=n("bdly"),E=n("3Cew"),I=n("Yeuo"),L=n("+0CP"),j=n("nYU5"),R=n("SzCE"),F=n("nkhJ"),N=n("mS5L"),Y=n("ZcWs"),U=n("rCNt"),B=n("1vG3"),z=n("oBZk"),G=n("ZZ/e"),H=n("iInd"),V=n("SVse");class q{constructor(t,e){this.snackBar=t,this.snackBarService=e}ngOnInit(){this.waitingSnackBarEvent()}waitingSnackBarEvent(){this.snackBarService.getEventSnackBar().subscribe(t=>{this.snackBar.open(t,"",{duration:2e3})})}}var W=n("dFDH"),$=l.Bb({encapsulation:0,styles:[[""]],data:{}});function X(t){return l.Yb(0,[],null,null)}var K=l.Bb({encapsulation:2,styles:[],data:{}});function J(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"ion-app",[],null,null,null,z.s,z.a)),l.Cb(1,49152,null,0,G.d,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,16777216,null,0,1,"ion-router-outlet",[],null,null,null,null,null)),l.Cb(3,212992,null,0,G.gb,[H.b,l.Y,l.m,[8,null],[8,null],G.b,G.Gb,V.j,l.p,H.m,l.G,H.a,[3,G.gb]],null,null),(t()(),l.Db(4,0,null,0,1,"snack-bar",[],null,null,null,X,$)),l.Cb(5,114688,null,0,q,[W.b,s.a],null,null)],(function(t,e){t(e,3,0),t(e,5,0)}),null)}function Q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-root",[],null,null,null,J,K)),l.Cb(1,49152,null,0,d,[],null,null)],null,null)}var Z=l.zb("app-root",d,Q,{},{},[]),tt=n("cUpR"),et=n("Xd0L"),nt=n("fDlF"),lt=n("omvX"),it=n("LRne");class rt{preload(t,e){return t.data&&t.data.preload?e():Object(it.a)(null)}}class ot{constructor(t,e){this.keycloakService=t,this.router=e}canActivate(t,e){return!!this.keycloakService.authenticated()||(this.keycloakService.login(),!1)}}var at=n("GS7A"),st=n("QL49"),ut=n("Kurg"),ct=n("EFbT"),dt=n("UN5i"),ht=n("AjEG"),pt=n("rLOe"),ft=n("3y7P"),bt=n("sUFW"),mt=n("Qykp"),gt=n("ItNn"),_t=n("5p+q"),yt=n("kZ4T"),At=n("DRqq"),vt=n("mWFr"),Ct=n("+qtt"),wt=n("c9QO"),Pt=n("TYbz"),xt=n("xhS3"),St=n("Nw85"),kt=n("X0qu"),Mt=n("Q2ZK"),Ot=n("Vgg8"),Dt=n("XYOC"),Tt=n("nmM0"),Et=n("0Ceg"),It=n("CJuc"),Lt=n("UrOv"),jt=n("D7iV"),Rt=n("yRz6"),Ft=n("mTEX"),Nt=n("Py6u"),Yt=n("b2zq"),Ut=n("oU5s"),Bt=n("GLSd"),zt=n("Kth1"),Gt=n("t9RB"),Ht=n("qSBs"),Vt=n("rAnw"),qt=n("s7LF"),Wt=n("POq0"),$t=n("5GAg"),Xt=n("/HVE"),Kt=n("DkaU"),Jt=n("Mc5n"),Qt=n("hOhj"),Zt=n("QQfA"),te=n("IP0z"),ee=n("/Co4"),ne=n("qJ5m"),le=n("s6ns"),ie=n("821u"),re=n("gavF"),oe=n("JjoW"),ae=n("Mz6y"),se=n("OIZN"),ue=n("7kcP"),ce=n("qU9k"),de=n("svHU"),he=n("hUP0"),pe=n("7/LY"),fe=n("978D"),be=n("wBRQ"),me=n("qToJ"),ge=n("YGmB"),_e=n("/MgC"),ye=n("P151"),Ae=n("3mbo"),ve=n("gDAU"),Ce=n("Y4ja"),we=n("mrSG"),Pe=n("HDdC"),xe=n("xgIS"),Se={error:"cordova_not_available"},ke={error:"plugin_not_installed"};function Me(t){if("undefined"!=typeof window&&window.angular){var e=window.document,n=window.angular.element(e.querySelector("[ng-app]")||e.body).injector();if(n)return n.get("$q")((function(e,n){t(e,n)}));console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise((function(e,n){t(e,n)}));console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function Oe(t,e,n,l){var i,r;void 0===l&&(l={});var o=Me((function(o,a){i=l.destruct?Le(t,e,n,l,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return a(t)})):Le(t,e,n,l,o,a),r=a}));return i&&i.error&&(o.catch((function(){})),"function"==typeof r&&r(i.error)),o}function De(t,e,n,l){return void 0===l&&(l={}),Me((function(i,r){var o=Le(t,e,n,l);o?o.error?r(o.error):o.then&&o.then(i).catch(r):r({error:"unexpected_error"})}))}function Te(t,e,n,l){return void 0===l&&(l={}),new Pe.a((function(i){var r;return(r=l.destruct?Le(t,e,n,l,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.next(t)}),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.error(t)})):Le(t,e,n,l,i.next.bind(i),i.error.bind(i)))&&r.error&&(i.error(r.error),i.complete()),function(){try{if(l.clearFunction)return l.clearWithArgs?Le(t,l.clearFunction,n,l,i.next.bind(i),i.error.bind(i)):Le(t,l.clearFunction,[])}catch(r){console.warn("Unable to clear the previous observable watch for",t.constructor.getPluginName(),e),console.warn(r)}}}))}function Ee(t,e){return e="undefined"!=typeof window&&e?Re(window,e):e||("undefined"!=typeof window?window:{}),Object(xe.a)(e,t)}function Ie(t,e,n){var l,i,r;return"string"==typeof t?l=t:(l=t.constructor.getPluginRef(),n=t.constructor.getPluginName(),r=t.constructor.getPluginInstallName()),!(!(i=je(l))||e&&void 0===i[e])||("undefined"!=typeof window&&window.cordova?(function(t,e,n){n?console.warn("Native: tried calling "+t+"."+n+", but the "+t+" plugin is not installed."):console.warn("Native: tried accessing the "+t+" plugin but it's not installed."),e&&console.warn("Install the "+t+" plugin: 'ionic cordova plugin add "+e+"'")}(n,r,e),ke):(function(t,e){"undefined"==typeof process&&(e?console.warn("Native: tried calling "+t+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+t+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"))}(n,e),Se))}function Le(t,e,n,l,i,r){void 0===l&&(l={}),n=function(t,e,n,l){if(void 0===e&&(e={}),e.sync)return t;if("reverse"===e.callbackOrder)t.unshift(l),t.unshift(n);else if("node"===e.callbackStyle)t.push((function(t,e){t?l(t):n(e)}));else if("object"===e.callbackStyle&&e.successName&&e.errorName){var i={};i[e.successName]=n,i[e.errorName]=l,t.push(i)}else if(void 0!==e.successIndex||void 0!==e.errorIndex){var r=function(){e.successIndex>t.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n)},o=function(){e.errorIndex>t.length?t[e.errorIndex]=l:t.splice(e.errorIndex,0,l)};e.successIndex>e.errorIndex?(o(),r()):(r(),o())}else t.push(n),t.push(l);return t}(n,l,i,r);var o=Ie(t,e);if(!0===o){var a=je(t.constructor.getPluginRef());return a[e].apply(a,n)}return o}function je(t){return"undefined"!=typeof window?Re(window,t):null}function Re(t,e){for(var n=e.split("."),l=t,i=0;i<n.length;i++){if(!l)return null;l=l[n[i]]}return l}var Fe=function(){function t(){}return t.installed=function(){return!0===Ie(this.pluginRef)},t.getPlugin=function(){return"undefined"!=typeof window?function(t,e){for(var n=e.split("."),l=t,i=0;i<n.length;i++){if(!l)return null;l=l[n[i]]}return l}(window,this.pluginRef):null},t.getPluginName=function(){return this.pluginName},t.getPluginRef=function(){return this.pluginRef},t.getPluginInstallName=function(){return this.plugin},t.getSupportedPlatforms=function(){return this.platforms},t.pluginName="",t.pluginRef="",t.plugin="",t.repo="",t.platforms=[],t.install="",t}();function Ne(t,e,n,l){return function(t,e,n){return void 0===n&&(n={}),function(){for(var l=[],i=0;i<arguments.length;i++)l[i]=arguments[i];return n.sync?Le(t,e,l,n):n.observable?Te(t,e,l,n):n.eventObservable&&n.event?Ee(n.event,n.element):n.otherPromise?De(t,e,l,n):Oe(t,e,l,n)}}(t,e,n).apply(this,l)}!function(){if("undefined"==typeof process){var t="undefined"!=typeof window?window:{},e=Date.now(),n=!1;t.document.addEventListener("deviceready",(function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-e)+" ms"),n=!0})),setTimeout((function(){!n&&t.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")}),5e3)}}();var Ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(we.c)(e,t),e.prototype.overlaysWebView=function(t){return Ne(this,"overlaysWebView",{sync:!0},arguments)},e.prototype.styleDefault=function(){return Ne(this,"styleDefault",{sync:!0},arguments)},e.prototype.styleLightContent=function(){return Ne(this,"styleLightContent",{sync:!0},arguments)},e.prototype.styleBlackTranslucent=function(){return Ne(this,"styleBlackTranslucent",{sync:!0},arguments)},e.prototype.styleBlackOpaque=function(){return Ne(this,"styleBlackOpaque",{sync:!0},arguments)},e.prototype.backgroundColorByName=function(t){return Ne(this,"backgroundColorByName",{sync:!0},arguments)},e.prototype.backgroundColorByHexString=function(t){return Ne(this,"backgroundColorByHexString",{sync:!0},arguments)},e.prototype.hide=function(){return Ne(this,"hide",{sync:!0},arguments)},e.prototype.show=function(){return Ne(this,"show",{sync:!0},arguments)},Object.defineProperty(e.prototype,"isVisible",{get:function(){return!0===Ie(this,"isVisible")?je(this.constructor.getPluginRef()).isVisible:null},set:function(t){!function(t,e,n){!0===Ie(t,"isVisible")&&(je(t.constructor.getPluginRef()).isVisible=n)}(this,0,t)},enumerable:!1,configurable:!0}),e.pluginName="StatusBar",e.plugin="cordova-plugin-statusbar",e.pluginRef="StatusBar",e.repo="https://github.com/apache/cordova-plugin-statusbar",e.platforms=["Android","iOS","Windows"],e}(Fe),Ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(we.c)(e,t),e.prototype.show=function(){return Ne(this,"show",{sync:!0},arguments)},e.prototype.hide=function(){return Ne(this,"hide",{sync:!0},arguments)},e.pluginName="SplashScreen",e.plugin="cordova-plugin-splashscreen",e.pluginRef="navigator.splashscreen",e.repo="https://github.com/apache/cordova-plugin-splashscreen",e.platforms=["Amazon Fire OS","Android","iOS","Windows"],e}(Fe),Be=n("mzvH"),ze=n("r6U7");const Ge=()=>n.e(14).then(n.bind(null,"8bLr")).then(t=>t.DesktopModuleNgFactory),He=[{path:"",loadChildren:Ge}],Ve=()=>n.e(16).then(n.bind(null,"FI2C")).then(t=>t.MobileModuleNgFactory),qe=[{path:"",loadChildren:Ve}],We={preload:!0},$e={preload:!1},Xe=[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",loadChildren:"./modules/login/login.module#LoginPageModule",data:We},{path:"home",canActivate:[ot],data:$e,children:[...He,...qe]},{path:"**",component:p}];class Ke{constructor(t,e){this.router=t,this.route=e,this.setRouterAndComponentsBasedOnWindowSize(!0)}isMobileView(){return window.innerWidth<1024}setRouterAndComponentsBasedOnWindowSize(t=!1){const e=this.buildRoutes();this.router.resetConfig(e),!1===t&&this.router.navigate([],{relativeTo:this.route})}buildRoutes(){const t=Xe,e=t.findIndex(t=>"home"===t.path);return e<-1?(console.error("Cannot find the Main route in app routing."),null):(this.isMobileView()?(t[e].component=ze.a,t[e].children=qe):(t[e].component=Be.a,t[e].children=He),t)}}var Je=n("8rpt");class Qe{static forRoot(t){return{ngModule:Qe,providers:[{provide:st.a,useValue:t}]}}constructor(t,e){if(t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!e)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}}var Ze=n("76lH"),tn=n("yotz"),en=n("qJ50"),nn=n("zQui"),ln=n("zMNK"),rn=n("KPQW"),on=n("lwm9"),an=n("Fwaw"),sn=n("mkRZ"),un=n("igqZ"),cn=n("r0V8"),dn=n("kNGD"),hn=n("Gi4r"),pn=n("02hT"),fn=n("5Bek"),bn=n("c9fC"),mn=n("FVPZ"),gn=n("oapL"),_n=n("HsOI"),yn=n("ZwOa"),An=n("Q+lL"),vn=n("8P0U"),Cn=n("W5yJ"),wn=n("elxJ"),Pn=n("BV1i"),xn=n("lT8R"),Sn=n("pBi1"),kn=n("8rEH"),Mn=n("rWV4"),On=n("BzsH"),Dn=n("AaDx"),Tn=n("sRx5"),En=n("hrfs"),In=n("Tosz"),Ln=n("Z/v2"),jn=n("mnSs"),Rn=n("7k00"),Fn=n("HyV0"),Nn=n("x34R"),Yn=n("Wxz7"),Un=n("zx31"),Bn=n("hnpS"),zn=n("IwX+"),Gn=n("FQkX"),Hn=n("c9tr"),Vn=n("bLKQ"),qn=n("piYb"),Wn=n("jadY");class $n{}var Xn=n("RH9n"),Kn=n("dvZr"),Jn=l.Ab(c,[d],(function(t){return l.Mb([l.Nb(512,l.m,l.lb,[[8,[h.a,g,_.a,y.a,A.b,A.a,v.a,C.a,C.b,w.a,P.a,x.a,S.a,k.a,M.a,O.a,D.a,T.a,E.a,I.a,L.a,j.a,R.a,F.a,N.a,Y.a,U.a,B.a,Z]],[3,l.m],l.E]),l.Nb(5120,l.A,l.xb,[[3,l.A]]),l.Nb(4608,V.p,V.o,[l.A,[2,V.F]]),l.Nb(5120,l.tb,l.yb,[l.G]),l.Nb(5120,l.c,l.ub,[]),l.Nb(5120,l.y,l.vb,[]),l.Nb(5120,l.z,l.wb,[]),l.Nb(4608,tt.b,tt.k,[V.d]),l.Nb(6144,l.P,null,[tt.b]),l.Nb(4608,tt.e,et.e,[[2,et.i],[2,et.n]]),l.Nb(5120,tt.c,(function(t,e,n,l,i,r,o,a){return[new tt.i(t,e,n),new tt.n(l),new tt.m(i,r,o,a)]}),[V.d,l.G,l.J,V.d,V.d,tt.e,l.mb,[2,tt.f]]),l.Nb(4608,tt.d,tt.d,[tt.c,l.G]),l.Nb(135680,tt.l,tt.l,[V.d]),l.Nb(4608,tt.j,tt.j,[tt.d,tt.l,l.c]),l.Nb(5120,nt.a,lt.e,[]),l.Nb(5120,nt.c,lt.f,[]),l.Nb(4608,nt.b,lt.d,[V.d,nt.a,nt.c]),l.Nb(5120,l.N,lt.g,[tt.j,nt.b,l.G]),l.Nb(6144,tt.o,null,[tt.l]),l.Nb(4608,l.V,l.V,[l.G]),l.Nb(4608,G.a,G.a,[l.G,l.g]),l.Nb(4608,G.Fb,G.Fb,[G.a,l.m,l.x]),l.Nb(4608,G.Ib,G.Ib,[G.a,l.m,l.x]),l.Nb(4608,H.g,H.g,[]),l.Nb(6144,H.h,null,[H.g]),l.Nb(135680,H.q,H.q,[H.m,l.D,l.k,l.x,H.h]),l.Nb(4608,H.e,H.e,[]),l.Nb(5120,H.E,H.v,[H.m,V.x,H.i]),l.Nb(5120,H.j,H.C,[H.A]),l.Nb(5120,l.b,(function(t){return[t]}),[H.j]),l.Nb(4608,rt,rt,[]),l.Nb(4608,i.a,i.a,[]),l.Nb(4608,ot,ot,[i.a,H.m]),l.Nb(4608,o.l,o.r,[V.d,l.J,o.p]),l.Nb(4608,o.s,o.s,[o.l,o.q]),l.Nb(4608,s.a,s.a,[]),l.Nb(4608,u,u,[i.a,s.a]),l.Nb(5120,o.a,(function(t,e){return[t,e]}),[o.s,u]),l.Nb(4608,at.b,lt.c,[l.N,V.d]),l.Nb(4352,st.a,{rootUrl:"https://api.sepia.fabnum.fr"},[]),l.Nb(4608,ut.a,ut.a,[st.a,o.c]),l.Nb(4608,ct.a,ct.a,[st.a,o.c]),l.Nb(4608,dt.a,dt.a,[st.a,o.c]),l.Nb(4608,ht.a,ht.a,[st.a,o.c]),l.Nb(4608,pt.a,pt.a,[st.a,o.c]),l.Nb(4608,ft.a,ft.a,[st.a,o.c]),l.Nb(4608,bt.a,bt.a,[st.a,o.c]),l.Nb(4608,mt.a,mt.a,[st.a,o.c]),l.Nb(4608,gt.a,gt.a,[st.a,o.c]),l.Nb(4608,_t.a,_t.a,[st.a,o.c]),l.Nb(4608,yt.a,yt.a,[st.a,o.c]),l.Nb(4608,At.a,At.a,[st.a,o.c]),l.Nb(4608,vt.a,vt.a,[st.a,o.c]),l.Nb(4608,Ct.a,Ct.a,[st.a,o.c]),l.Nb(4608,wt.a,wt.a,[st.a,o.c]),l.Nb(4608,Pt.a,Pt.a,[st.a,o.c]),l.Nb(4608,xt.a,xt.a,[st.a,o.c]),l.Nb(4608,St.a,St.a,[st.a,o.c]),l.Nb(4608,kt.a,kt.a,[st.a,o.c]),l.Nb(4608,Mt.a,Mt.a,[st.a,o.c]),l.Nb(4608,Ot.a,Ot.a,[st.a,o.c]),l.Nb(4608,Dt.a,Dt.a,[st.a,o.c]),l.Nb(4608,Tt.a,Tt.a,[st.a,o.c]),l.Nb(4608,Et.a,Et.a,[st.a,o.c]),l.Nb(4608,It.a,It.a,[st.a,o.c]),l.Nb(4608,Lt.a,Lt.a,[st.a,o.c]),l.Nb(4608,jt.a,jt.a,[st.a,o.c]),l.Nb(4608,Rt.a,Rt.a,[st.a,o.c]),l.Nb(4608,Ft.a,Ft.a,[st.a,o.c]),l.Nb(4608,Nt.a,Nt.a,[st.a,o.c]),l.Nb(4608,Yt.a,Yt.a,[st.a,o.c]),l.Nb(4608,Ut.a,Ut.a,[st.a,o.c]),l.Nb(4608,Bt.a,Bt.a,[st.a,o.c]),l.Nb(4608,zt.a,zt.a,[st.a,o.c]),l.Nb(4608,Gt.a,Gt.a,[st.a,o.c]),l.Nb(4608,Ht.a,Ht.a,[st.a,o.c]),l.Nb(4608,Vt.a,Vt.a,[st.a,o.c]),l.Nb(4608,qt.y,qt.y,[]),l.Nb(4608,qt.f,qt.f,[]),l.Nb(4608,Wt.c,Wt.c,[]),l.Nb(135680,$t.h,$t.h,[l.G,Xt.a]),l.Nb(4608,Kt.e,Kt.e,[l.U]),l.Nb(4608,Jt.g,Jt.g,[V.d,l.G,Qt.e,Jt.i]),l.Nb(4608,Zt.c,Zt.c,[Zt.i,Zt.e,l.m,Zt.h,Zt.f,l.x,l.G,V.d,te.b,[2,V.j]]),l.Nb(5120,Zt.j,Zt.k,[Zt.c]),l.Nb(5120,ee.b,ee.c,[Zt.c]),l.Nb(4608,et.d,et.d,[]),l.Nb(5120,ne.b,ne.a,[[3,ne.b]]),l.Nb(5120,le.c,le.d,[Zt.c]),l.Nb(135680,le.e,le.e,[Zt.c,l.x,[2,V.j],[2,le.b],le.c,[3,le.e],Zt.e]),l.Nb(4608,ie.i,ie.i,[]),l.Nb(5120,ie.a,ie.b,[Zt.c]),l.Nb(5120,re.c,re.j,[Zt.c]),l.Nb(4608,et.c,et.z,[[2,et.h],Xt.a]),l.Nb(5120,oe.a,oe.b,[Zt.c]),l.Nb(5120,ae.b,ae.c,[Zt.c]),l.Nb(5120,se.c,se.a,[[3,se.c]]),l.Nb(5120,ue.d,ue.a,[[3,ue.d]]),l.Nb(4608,ce.a,ce.a,[]),l.Nb(4608,de.a,de.a,[]),l.Nb(4608,he.a,he.a,[de.a]),l.Nb(4608,pe.b,pe.b,[o.c,wt.a]),l.Nb(4608,fe.b,fe.b,[]),l.Nb(4608,be.a,be.a,[]),l.Nb(4608,me.a,me.a,[i.a,_t.a,ut.a]),l.Nb(4608,ge.a,ge.a,[be.a,me.a,gt.a]),l.Nb(4608,_e.a,_e.a,[i.a,Dt.a]),l.Nb(4608,ye.a,ye.a,[Yt.a,de.a]),l.Nb(4608,Ae.a,Ae.a,[de.a,ge.a]),l.Nb(4608,ve.a,ve.a,[ge.a,fe.b,i.a,Ce.b]),l.Nb(4608,Ye,Ye,[]),l.Nb(4608,Ue,Ue,[]),l.Nb(1073742336,V.c,V.c,[]),l.Nb(1024,l.q,tt.p,[]),l.Nb(1024,l.F,(function(){return[H.u()]}),[]),l.Nb(512,H.A,H.A,[l.x]),l.Nb(256,G.Kb,void 0,[]),l.Nb(1024,l.d,(function(t,e,n,l,i){return[tt.q(t),H.B(e),G.Lb(n,l,i)]}),[[2,l.F],H.A,G.Kb,V.d,l.G]),l.Nb(512,l.e,l.e,[[2,l.d]]),l.Nb(131584,l.g,l.g,[l.G,l.mb,l.x,l.q,l.m,l.e]),l.Nb(1073742336,l.f,l.f,[l.g]),l.Nb(1073742336,tt.a,tt.a,[[3,tt.a]]),l.Nb(1073742336,G.Cb,G.Cb,[]),l.Nb(1024,H.t,H.x,[[3,H.m]]),l.Nb(512,H.s,H.c,[]),l.Nb(512,H.b,H.b,[]),l.Nb(256,H.i,{preloadingStrategy:H.g},[]),l.Nb(1024,V.k,H.w,[V.w,[2,V.a],H.i]),l.Nb(512,V.j,V.j,[V.k,V.w]),l.Nb(512,l.k,l.k,[]),l.Nb(512,l.D,l.S,[l.k,[2,l.T]]),l.Nb(1024,H.k,(function(){return[[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",loadChildren:"./modules/login/login.module#LoginPageModule",data:We},{path:"home",canActivate:[ot],data:$e,children:[{path:"",loadChildren:Ge},{path:"",loadChildren:Ve}]},{path:"**",component:p}],[{path:"",component:Be.a}],[{path:"",component:ze.a}],[{path:"",component:Je.a}]]}),[]),l.Nb(512,H.l,G.Db,[]),l.Nb(1024,H.m,H.y,[l.g,H.s,H.b,V.j,l.x,l.D,l.k,H.k,H.i,[2,H.r],[2,H.l]]),l.Nb(1073742336,H.o,H.o,[[2,H.t],[2,H.m]]),l.Nb(1024,H.a,H.z,[H.m]),l.Nb(1073742336,Ke,Ke,[H.m,H.a]),l.Nb(1073742336,o.e,o.e,[]),l.Nb(1073742336,o.d,o.d,[]),l.Nb(1073742336,lt.b,lt.b,[]),l.Nb(512,o.o,o.o,[]),l.Nb(2048,o.m,null,[o.o]),l.Nb(512,o.k,o.k,[o.m]),l.Nb(2048,o.b,null,[o.k]),l.Nb(512,o.f,o.n,[o.b,l.x]),l.Nb(512,o.c,o.c,[o.f]),l.Nb(1073742336,Qe,Qe,[[3,Qe],[2,o.c]]),l.Nb(1073742336,qt.x,qt.x,[]),l.Nb(1073742336,qt.m,qt.m,[]),l.Nb(1073742336,Ze.a,Ze.a,[]),l.Nb(1073742336,tn.b,tn.b,[]),l.Nb(1073742336,qt.v,qt.v,[]),l.Nb(1073742336,Xt.b,Xt.b,[]),l.Nb(1073742336,Wt.d,Wt.d,[]),l.Nb(1073742336,$t.a,$t.a,[]),l.Nb(1073742336,te.a,te.a,[]),l.Nb(1073742336,en.e,en.e,[]),l.Nb(1073742336,nn.p,nn.p,[]),l.Nb(1073742336,Kt.c,Kt.c,[]),l.Nb(1073742336,Jt.h,Jt.h,[]),l.Nb(1073742336,et.n,et.n,[[2,et.f],[2,tt.f]]),l.Nb(1073742336,et.y,et.y,[]),l.Nb(1073742336,et.w,et.w,[]),l.Nb(1073742336,et.t,et.t,[]),l.Nb(1073742336,ln.g,ln.g,[]),l.Nb(1073742336,Qt.c,Qt.c,[]),l.Nb(1073742336,Zt.g,Zt.g,[]),l.Nb(1073742336,ee.e,ee.e,[]),l.Nb(1073742336,rn.a,rn.a,[]),l.Nb(1073742336,on.c,on.c,[]),l.Nb(1073742336,an.c,an.c,[]),l.Nb(1073742336,sn.a,sn.a,[]),l.Nb(1073742336,un.c,un.c,[]),l.Nb(1073742336,cn.d,cn.d,[]),l.Nb(1073742336,cn.c,cn.c,[]),l.Nb(1073742336,dn.b,dn.b,[]),l.Nb(1073742336,hn.a,hn.a,[]),l.Nb(1073742336,ne.c,ne.c,[]),l.Nb(1073742336,le.k,le.k,[]),l.Nb(1073742336,ie.j,ie.j,[]),l.Nb(1073742336,pn.a,pn.a,[]),l.Nb(1073742336,fn.c,fn.c,[]),l.Nb(1073742336,bn.d,bn.d,[]),l.Nb(1073742336,et.p,et.p,[]),l.Nb(1073742336,mn.a,mn.a,[]),l.Nb(1073742336,gn.c,gn.c,[]),l.Nb(1073742336,_n.e,_n.e,[]),l.Nb(1073742336,yn.c,yn.c,[]),l.Nb(1073742336,An.c,An.c,[]),l.Nb(1073742336,re.i,re.i,[]),l.Nb(1073742336,re.f,re.f,[]),l.Nb(1073742336,et.A,et.A,[]),l.Nb(1073742336,et.q,et.q,[]),l.Nb(1073742336,oe.d,oe.d,[]),l.Nb(1073742336,ae.e,ae.e,[]),l.Nb(1073742336,se.d,se.d,[]),l.Nb(1073742336,vn.a,vn.a,[]),l.Nb(1073742336,Cn.c,Cn.c,[]),l.Nb(1073742336,wn.a,wn.a,[]),l.Nb(1073742336,Pn.a,Pn.a,[]),l.Nb(1073742336,xn.b,xn.b,[]),l.Nb(1073742336,Sn.d,Sn.d,[]),l.Nb(1073742336,Sn.c,Sn.c,[]),l.Nb(1073742336,W.e,W.e,[]),l.Nb(1073742336,ue.e,ue.e,[]),l.Nb(1073742336,kn.m,kn.m,[]),l.Nb(1073742336,Mn.k,Mn.k,[]),l.Nb(1073742336,On.a,On.a,[]),l.Nb(1073742336,Dn.a,Dn.a,[]),l.Nb(1073742336,Tn.a,Tn.a,[]),l.Nb(1073742336,En.b,En.b,[]),l.Nb(1073742336,In.a,In.a,[]),l.Nb(1073742336,Ln.b,Ln.b,[]),l.Nb(1073742336,jn.c,jn.c,[]),l.Nb(1073742336,Rn.a,Rn.a,[]),l.Nb(1073742336,Fn.a,Fn.a,[]),l.Nb(1073742336,Nn.a,Nn.a,[]),l.Nb(1073742336,Yn.a,Yn.a,[]),l.Nb(1073742336,Un.a,Un.a,[]),l.Nb(1073742336,Bn.a,Bn.a,[]),l.Nb(1073742336,zn.a,zn.a,[]),l.Nb(1073742336,Gn.a,Gn.a,[]),l.Nb(1073742336,Hn.a,Hn.a,[]),l.Nb(1073742336,Vn.a,Vn.a,[]),l.Nb(1073742336,qn.a,qn.a,[]),l.Nb(1073742336,Wn.a,Wn.a,[]),l.Nb(1073742336,$n,$n,[]),l.Nb(1073742336,Xn.b,Xn.b,[]),l.Nb(1073742336,c,c,[]),l.Nb(256,l.kb,!0,[]),l.Nb(256,o.p,"XSRF-TOKEN",[]),l.Nb(256,o.q,"X-XSRF-TOKEN",[]),l.Nb(256,lt.a,"BrowserAnimations",[]),l.Nb(256,dn.a,{separatorKeyCodes:[Kn.g]},[]),l.Nb(256,et.h,"fr-FR",[]),l.Nb(256,et.g,et.k,[])])}));r.a.production&&Object(l.db)(),i.a.init({url:r.a.config.auth.url,realm:r.a.config.auth.realm,clientId:r.a.config.auth.clientId},{checkLoginIframe:!1,onLoad:"check-sso"}).then(()=>{tt.h().bootstrapModuleFactory(Jn).catch(t=>{console.error("Error in bootstrap:",t)})}).catch(t=>{console.error("Error in KC bootstrap:",t)})},KCVW:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"f",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u}));var l=n("8Y7J");function i(t){return null!=t&&""+t!="false"}function r(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function s(t){return null==t?"":"string"==typeof t?t:t+"px"}function u(t){return t instanceof l.p?t.nativeElement:t}},KFGy:function(t,e,n){var l=n("Uwu7"),i=n("cpc2"),r=n("kSER"),o=n("2Dig"),a=n("QN7Q"),s=n("x7D4")("socket.io-client:socket"),u=n("TypT"),c=n("WLGk");t.exports=p;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},h=i.prototype.emit;function p(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}i(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[o(t,"open",a(this,"onopen")),o(t,"packet",a(this,"onpacket")),o(t,"close",a(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},p.prototype.send=function(){var t=r(arguments);return t.unshift("message"),this.emit.apply(this,t),this},p.prototype.emit=function(t){if(d.hasOwnProperty(t))return h.apply(this,arguments),this;var e=r(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:c(e))?l.BINARY_EVENT:l.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof e[e.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},p.prototype.onopen=function(){if(s("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"==typeof this.query?u.encode(this.query):this.query;s("sending connect packet with query %s",t),this.packet({type:l.CONNECT,query:t})}else this.packet({type:l.CONNECT})},p.prototype.onclose=function(t){s("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},p.prototype.onpacket=function(t){if(t.nsp===this.nsp||t.type===l.ERROR&&"/"===t.nsp)switch(t.type){case l.CONNECT:this.onconnect();break;case l.EVENT:case l.BINARY_EVENT:this.onevent(t);break;case l.ACK:case l.BINARY_ACK:this.onack(t);break;case l.DISCONNECT:this.ondisconnect();break;case l.ERROR:this.emit("error",t.data)}},p.prototype.onevent=function(t){var e=t.data||[];s("emitting event %j",e),null!=t.id&&(s("attaching ack callback to event"),e.push(this.ack(t.id))),this.connected?h.apply(this,e):this.receiveBuffer.push(e)},p.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var i=r(arguments);s("sending ack %j",i),e.packet({type:c(i)?l.BINARY_ACK:l.ACK,id:t,data:i})}}},p.prototype.onack=function(t){var e=this.acks[t.id];"function"==typeof e?(s("calling ack %s with %j",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):s("bad ack %s",t.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},p.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)h.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:l.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(t){return this.flags.compress=t,this},p.prototype.binary=function(t){return this.flags.binary=t,this}},KPQW:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8Y7J"),n("Xd0L");class l{}},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KfZV:function(t,e,n){"use strict";e.a={POINT:"point",LINE:"line"}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("7o/Q"),i=n("D0XW");function r(t,e=i.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends l.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(s,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function s(t){t.debouncedNext()}},Kth1:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFileUploadControllerFileUploadPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFileUploadControllerFileUpload(t){return this.getOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFileUploadControllerFileUploadPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFileUploadControllerFileUpload(t){return this.replaceOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFileUploadControllerFileUploadPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFileUploadControllerFileUpload(t){return this.deleteOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFileUploadControllerFileUploadPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFileUploadControllerFileUpload(t){return this.updateOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFileUploadControllerFileUploadPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFileUploadControllerFileUpload(t){return this.getManyBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFileUploadControllerFileUploadPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFileUploadControllerFileUpload(t){return this.createOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFileUploadControllerFileUploadPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFileUploadControllerFileUpload(t){return this.createManyBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.ReplaceOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.DeleteOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.UpdateOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.GetManyBaseFileUploadControllerFileUploadPath="/file_upload",t.CreateOneBaseFileUploadControllerFileUploadPath="/file_upload",t.CreateManyBaseFileUploadControllerFileUploadPath="/file_upload/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Kurg:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseColorFilterControllerColorFilterPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseColorFilterControllerColorFilter(t){return this.getOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseColorFilterControllerColorFilterPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseColorFilterControllerColorFilter(t){return this.replaceOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseColorFilterControllerColorFilterPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseColorFilterControllerColorFilter(t){return this.deleteOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseColorFilterControllerColorFilterPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseColorFilterControllerColorFilter(t){return this.updateOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseColorFilterControllerColorFilterPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseColorFilterControllerColorFilter(t){return this.getManyBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseColorFilterControllerColorFilterPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseColorFilterControllerColorFilter(t){return this.createOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseColorFilterControllerColorFilterPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseColorFilterControllerColorFilter(t){return this.createManyBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.ReplaceOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.DeleteOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.UpdateOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.GetManyBaseColorFilterControllerColorFilterPath="/color-filter",t.CreateOneBaseColorFilterControllerColorFilterPath="/color-filter",t.CreateManyBaseColorFilterControllerColorFilterPath="/color-filter/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},LMWA:function(t,e){var n={thin:100,hairline:100,"ultra-light":100,"extra-light":100,light:200,book:300,regular:400,normal:400,plain:400,roman:400,standard:400,medium:500,"semi-bold":600,"demi-bold":600,bold:700,heavy:800,black:800,"extra-bold":800,"ultra-black":900,"extra-black":900,"ultra-bold":900,"heavy-black":900,fat:900,poster:900},l=/(italic|oblique)$/i,i={};t.exports=function(t,e,r){var o=i[t];if(!o){Array.isArray(t)||(t=[t]);for(var a=400,s="normal",u=[],c=0,d=t.length;c<d;++c){var h=t[c].split(" "),p=h[h.length-1].toLowerCase();for(var f in"normal"==p||"italic"==p||"oblique"==p?(s=p,h.pop(),p=h[h.length-1].toLowerCase()):l.test(p)&&(p=p.replace(l,""),s=h[h.length-1].replace(p,"")),n)if(p==f||p==f.replace("-","")||p==f.replace("-"," ")){a=n[f],h.pop();break}"number"==typeof p&&(a=p);var b=h.join(" ").replace("Klokantech Noto Sans","Noto Sans");-1!==b.indexOf(" ")&&(b='"'+b+'"'),u.push(b)}o=i[t]=[s,a,u]}return o[0]+" "+o[1]+" "+e+"px"+(r?"/"+r:"")+" "+o[2]}},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("z+Ro"),i=n("yCtX"),r=n("jZKg");function o(...t){let e=t[t.length-1];return Object(l.a)(e)?(t.pop(),Object(r.a)(t,e)):Object(i.a)(t)}},Lhse:function(t,e,n){"use strict";function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return i}));const i=l()},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},LvDl:function(t,e,n){(function(t){var l;(function(){var i="Expected a function",r="__lodash_placeholder__",o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",p="[object GeneratorFunction]",f="[object Map]",b="[object Number]",m="[object Object]",g="[object RegExp]",_="[object Set]",y="[object String]",A="[object Symbol]",v="[object WeakMap]",C="[object ArrayBuffer]",w="[object DataView]",P="[object Float32Array]",x="[object Float64Array]",S="[object Int8Array]",k="[object Int16Array]",M="[object Int32Array]",O="[object Uint8Array]",D="[object Uint16Array]",T="[object Uint32Array]",E=/\b__p \+= '';/g,I=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,F=RegExp(j.source),N=RegExp(R.source),Y=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,B=/<%=([\s\S]+?)%>/g,z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,V=/[\\^$.*+?()[\]{}|]/g,q=RegExp(V.source),W=/^\s+/,$=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Z=/[()=,{}\[\]\/\s]/,tt=/\\(\\)?/g,et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,lt=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,rt=/^\[object .+?Constructor\]$/,ot=/^0o[0-7]+$/i,at=/^(?:0|[1-9]\d*)$/,st=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ut=/($^)/,ct=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="["+ht+"]",ft="["+dt+"]",bt="\\d+",mt="[a-z\\xdf-\\xf6\\xf8-\\xff]",gt="[^\\ud800-\\udfff"+ht+bt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",yt="[^\\ud800-\\udfff]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",vt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",wt="(?:"+mt+"|"+gt+")",Pt="(?:"+Ct+"|"+gt+")",xt="(?:"+ft+"|"+_t+")?",St="[\\ufe0e\\ufe0f]?"+xt+"(?:\\u200d(?:"+[yt,At,vt].join("|")+")[\\ufe0e\\ufe0f]?"+xt+")*",kt="(?:"+["[\\u2700-\\u27bf]",At,vt].join("|")+")"+St,Mt="(?:"+[yt+ft+"?",ft,At,vt,"[\\ud800-\\udfff]"].join("|")+")",Ot=RegExp("['\u2019]","g"),Dt=RegExp(ft,"g"),Tt=RegExp(_t+"(?="+_t+")|"+Mt+St,"g"),Et=RegExp([Ct+"?"+mt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[pt,Ct,"$"].join("|")+")",Pt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[pt,Ct+wt,"$"].join("|")+")",Ct+"?"+wt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bt,kt].join("|"),"g"),It=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),Lt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rt=-1,Ft={};Ft[P]=Ft[x]=Ft[S]=Ft[k]=Ft[M]=Ft[O]=Ft["[object Uint8ClampedArray]"]=Ft[D]=Ft[T]=!0,Ft[a]=Ft[s]=Ft[C]=Ft[u]=Ft[w]=Ft[c]=Ft[d]=Ft[h]=Ft[f]=Ft[b]=Ft[m]=Ft[g]=Ft[_]=Ft[y]=Ft[v]=!1;var Nt={};Nt[a]=Nt[s]=Nt[C]=Nt[w]=Nt[u]=Nt[c]=Nt[P]=Nt[x]=Nt[S]=Nt[k]=Nt[M]=Nt[f]=Nt[b]=Nt[m]=Nt[g]=Nt[_]=Nt[y]=Nt[A]=Nt[O]=Nt["[object Uint8ClampedArray]"]=Nt[D]=Nt[T]=!0,Nt[d]=Nt[h]=Nt[v]=!1;var Yt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ut=parseFloat,Bt=parseInt,zt="object"==typeof global&&global&&global.Object===Object&&global,Gt="object"==typeof self&&self&&self.Object===Object&&self,Ht=zt||Gt||Function("return this")(),Vt=e&&!e.nodeType&&e,qt=Vt&&"object"==typeof t&&t&&!t.nodeType&&t,Wt=qt&&qt.exports===Vt,$t=Wt&&zt.process,Xt=function(){try{return qt&&qt.require&&qt.require("util").types||$t&&$t.binding&&$t.binding("util")}catch(t){}}(),Kt=Xt&&Xt.isArrayBuffer,Jt=Xt&&Xt.isDate,Qt=Xt&&Xt.isMap,Zt=Xt&&Xt.isRegExp,te=Xt&&Xt.isSet,ee=Xt&&Xt.isTypedArray;function ne(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function le(t,e,n,l){for(var i=-1,r=null==t?0:t.length;++i<r;){var o=t[i];e(l,o,n(o),t)}return l}function ie(t,e){for(var n=-1,l=null==t?0:t.length;++n<l&&!1!==e(t[n],n,t););return t}function re(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function oe(t,e){for(var n=-1,l=null==t?0:t.length;++n<l;)if(!e(t[n],n,t))return!1;return!0}function ae(t,e){for(var n=-1,l=null==t?0:t.length,i=0,r=[];++n<l;){var o=t[n];e(o,n,t)&&(r[i++]=o)}return r}function se(t,e){return!(null==t||!t.length)&&_e(t,e,0)>-1}function ue(t,e,n){for(var l=-1,i=null==t?0:t.length;++l<i;)if(n(e,t[l]))return!0;return!1}function ce(t,e){for(var n=-1,l=null==t?0:t.length,i=Array(l);++n<l;)i[n]=e(t[n],n,t);return i}function de(t,e){for(var n=-1,l=e.length,i=t.length;++n<l;)t[i+n]=e[n];return t}function he(t,e,n,l){var i=-1,r=null==t?0:t.length;for(l&&r&&(n=t[++i]);++i<r;)n=e(n,t[i],i,t);return n}function pe(t,e,n,l){var i=null==t?0:t.length;for(l&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function fe(t,e){for(var n=-1,l=null==t?0:t.length;++n<l;)if(e(t[n],n,t))return!0;return!1}var be=Ce("length");function me(t,e,n){var l;return n(t,(function(t,n,i){if(e(t,n,i))return l=n,!1})),l}function ge(t,e,n,l){for(var i=t.length,r=n+(l?1:-1);l?r--:++r<i;)if(e(t[r],r,t))return r;return-1}function _e(t,e,n){return e==e?function(t,e,n){for(var l=n-1,i=t.length;++l<i;)if(t[l]===e)return l;return-1}(t,e,n):ge(t,Ae,n)}function ye(t,e,n,l){for(var i=n-1,r=t.length;++i<r;)if(l(t[i],e))return i;return-1}function Ae(t){return t!=t}function ve(t,e){var n=null==t?0:t.length;return n?xe(t,e)/n:NaN}function Ce(t){return function(e){return null==e?void 0:e[t]}}function we(t){return function(e){return null==t?void 0:t[e]}}function Pe(t,e,n,l,i){return i(t,(function(t,i,r){n=l?(l=!1,t):e(n,t,i,r)})),n}function xe(t,e){for(var n,l=-1,i=t.length;++l<i;){var r=e(t[l]);void 0!==r&&(n=void 0===n?r:n+r)}return n}function Se(t,e){for(var n=-1,l=Array(t);++n<t;)l[n]=e(n);return l}function ke(t){return t?t.slice(0,Ve(t)+1).replace(W,""):t}function Me(t){return function(e){return t(e)}}function Oe(t,e){return ce(e,(function(e){return t[e]}))}function De(t,e){return t.has(e)}function Te(t,e){for(var n=-1,l=t.length;++n<l&&_e(e,t[n],0)>-1;);return n}function Ee(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Ie(t,e){for(var n=t.length,l=0;n--;)t[n]===e&&++l;return l}var Le=we({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),je=we({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Re(t){return"\\"+Yt[t]}function Fe(t){return It.test(t)}function Ne(t){var e=-1,n=Array(t.size);return t.forEach((function(t,l){n[++e]=[l,t]})),n}function Ye(t,e){return function(n){return t(e(n))}}function Ue(t,e){for(var n=-1,l=t.length,i=0,o=[];++n<l;){var a=t[n];a!==e&&a!==r||(t[n]=r,o[i++]=n)}return o}function Be(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Ge(t){return Fe(t)?function(t){for(var e=Tt.lastIndex=0;Tt.test(t);)++e;return e}(t):be(t)}function He(t){return Fe(t)?function(t){return t.match(Tt)||[]}(t):function(t){return t.split("")}(t)}function Ve(t){for(var e=t.length;e--&&$.test(t.charAt(e)););return e}var qe=we({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),We=function t(e){var n,l=(e=null==e?Ht:We.defaults(Ht.Object(),e,We.pick(Ht,jt))).Array,$=e.Date,dt=e.Error,ht=e.Function,pt=e.Math,ft=e.Object,bt=e.RegExp,mt=e.String,gt=e.TypeError,_t=l.prototype,yt=ft.prototype,At=e["__core-js_shared__"],vt=ht.prototype.toString,Ct=yt.hasOwnProperty,wt=0,Pt=(n=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",xt=yt.toString,St=vt.call(ft),kt=Ht._,Mt=bt("^"+vt.call(Ct).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=Wt?e.Buffer:void 0,It=e.Symbol,Yt=e.Uint8Array,zt=Tt?Tt.allocUnsafe:void 0,Gt=Ye(ft.getPrototypeOf,ft),Vt=ft.create,qt=yt.propertyIsEnumerable,$t=_t.splice,Xt=It?It.isConcatSpreadable:void 0,be=It?It.iterator:void 0,we=It?It.toStringTag:void 0,$e=function(){try{var t=Qi(ft,"defineProperty");return t({},"",{}),t}catch(e){}}(),Xe=e.clearTimeout!==Ht.clearTimeout&&e.clearTimeout,Ke=$&&$.now!==Ht.Date.now&&$.now,Je=e.setTimeout!==Ht.setTimeout&&e.setTimeout,Qe=pt.ceil,Ze=pt.floor,tn=ft.getOwnPropertySymbols,en=Tt?Tt.isBuffer:void 0,nn=e.isFinite,ln=_t.join,rn=Ye(ft.keys,ft),on=pt.max,an=pt.min,sn=$.now,un=e.parseInt,cn=pt.random,dn=_t.reverse,hn=Qi(e,"DataView"),pn=Qi(e,"Map"),fn=Qi(e,"Promise"),bn=Qi(e,"Set"),mn=Qi(e,"WeakMap"),gn=Qi(ft,"create"),_n=mn&&new mn,yn={},An=kr(hn),vn=kr(pn),Cn=kr(fn),wn=kr(bn),Pn=kr(mn),xn=It?It.prototype:void 0,Sn=xn?xn.valueOf:void 0,kn=xn?xn.toString:void 0;function Mn(t){if(Vo(t)&&!Lo(t)&&!(t instanceof En)){if(t instanceof Tn)return t;if(Ct.call(t,"__wrapped__"))return Mr(t)}return new Tn(t)}var On=function(){function t(){}return function(e){if(!Ho(e))return{};if(Vt)return Vt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Dn(){}function Tn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function En(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function In(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function Ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function jn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function Rn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new jn;++e<n;)this.add(t[e])}function Fn(t){var e=this.__data__=new Ln(t);this.size=e.size}function Nn(t,e){var n=Lo(t),l=!n&&Io(t),i=!n&&!l&&No(t),r=!n&&!l&&!i&&Zo(t),o=n||l||i||r,a=o?Se(t.length,mt):[],s=a.length;for(var u in t)!e&&!Ct.call(t,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||r&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||rr(u,s))||a.push(u);return a}function Yn(t){var e=t.length;return e?t[jl(0,e-1)]:void 0}function Un(t,e){return Cr(mi(t),Xn(e,0,t.length))}function Bn(t){return Cr(mi(t))}function zn(t,e,n){(void 0!==n&&!Do(t[e],n)||void 0===n&&!(e in t))&&Wn(t,e,n)}function Gn(t,e,n){var l=t[e];Ct.call(t,e)&&Do(l,n)&&(void 0!==n||e in t)||Wn(t,e,n)}function Hn(t,e){for(var n=t.length;n--;)if(Do(t[n][0],e))return n;return-1}function Vn(t,e,n,l){return tl(t,(function(t,i,r){e(l,t,n(t),r)})),l}function qn(t,e){return t&&gi(e,va(e),t)}function Wn(t,e,n){"__proto__"==e&&$e?$e(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function $n(t,e){for(var n=-1,i=e.length,r=l(i),o=null==t;++n<i;)r[n]=o?void 0:ma(t,e[n]);return r}function Xn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Kn(t,e,n,l,i,r){var o,s=1&e,d=2&e,v=4&e;if(n&&(o=i?n(t,l,i,r):n(t)),void 0!==o)return o;if(!Ho(t))return t;var E=Lo(t);if(E){if(o=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Ct.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return mi(t,o)}else{var I=er(t),L=I==h||I==p;if(No(t))return ci(t,s);if(I==m||I==a||L&&!i){if(o=d||L?{}:lr(t),!s)return d?function(t,e){return gi(t,tr(t),e)}(t,function(t,e){return t&&gi(e,Ca(e),t)}(o,t)):function(t,e){return gi(t,Zi(t),e)}(t,qn(o,t))}else{if(!Nt[I])return i?t:{};o=function(t,e,n){var l=t.constructor;switch(e){case C:return di(t);case u:case c:return new l(+t);case w:return function(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case x:case S:case k:case M:case O:case"[object Uint8ClampedArray]":case D:case T:return hi(t,n);case f:return new l;case b:case y:return new l(t);case g:return function(t){var e=new t.constructor(t.source,nt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _:return new l;case A:return Sn?ft(Sn.call(t)):{}}}(t,I,s)}}r||(r=new Fn);var j=r.get(t);if(j)return j;r.set(t,o),Ko(t)?t.forEach((function(l){o.add(Kn(l,e,n,l,t,r))})):qo(t)&&t.forEach((function(l,i){o.set(i,Kn(l,e,n,i,t,r))}));var R=E?void 0:(v?d?Vi:Hi:d?Ca:va)(t);return ie(R||t,(function(l,i){R&&(l=t[i=l]),Gn(o,i,Kn(l,e,n,i,t,r))})),o}function Jn(t,e,n){var l=n.length;if(null==t)return!l;for(t=ft(t);l--;){var i=n[l],r=t[i];if(void 0===r&&!(i in t)||!(0,e[i])(r))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new gt(i);return _r((function(){t.apply(void 0,n)}),e)}function Zn(t,e,n,l){var i=-1,r=se,o=!0,a=t.length,s=[],u=e.length;if(!a)return s;n&&(e=ce(e,Me(n))),l?(r=ue,o=!1):e.length>=200&&(r=De,o=!1,e=new Rn(e));t:for(;++i<a;){var c=t[i],d=null==n?c:n(c);if(c=l||0!==c?c:0,o&&d==d){for(var h=u;h--;)if(e[h]===d)continue t;s.push(c)}else r(e,d,l)||s.push(c)}return s}Mn.templateSettings={escape:Y,evaluate:U,interpolate:B,variable:"",imports:{_:Mn}},(Mn.prototype=Dn.prototype).constructor=Mn,(Tn.prototype=On(Dn.prototype)).constructor=Tn,(En.prototype=On(Dn.prototype)).constructor=En,In.prototype.clear=function(){this.__data__=gn?gn(null):{},this.size=0},In.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},In.prototype.get=function(t){var e=this.__data__;if(gn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ct.call(e,t)?e[t]:void 0},In.prototype.has=function(t){var e=this.__data__;return gn?void 0!==e[t]:Ct.call(e,t)},In.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=gn&&void 0===e?"__lodash_hash_undefined__":e,this},Ln.prototype.clear=function(){this.__data__=[],this.size=0},Ln.prototype.delete=function(t){var e=this.__data__,n=Hn(e,t);return!(n<0||(n==e.length-1?e.pop():$t.call(e,n,1),--this.size,0))},Ln.prototype.get=function(t){var e=this.__data__,n=Hn(e,t);return n<0?void 0:e[n][1]},Ln.prototype.has=function(t){return Hn(this.__data__,t)>-1},Ln.prototype.set=function(t,e){var n=this.__data__,l=Hn(n,t);return l<0?(++this.size,n.push([t,e])):n[l][1]=e,this},jn.prototype.clear=function(){this.size=0,this.__data__={hash:new In,map:new(pn||Ln),string:new In}},jn.prototype.delete=function(t){var e=Ki(this,t).delete(t);return this.size-=e?1:0,e},jn.prototype.get=function(t){return Ki(this,t).get(t)},jn.prototype.has=function(t){return Ki(this,t).has(t)},jn.prototype.set=function(t,e){var n=Ki(this,t),l=n.size;return n.set(t,e),this.size+=n.size==l?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},Fn.prototype.clear=function(){this.__data__=new Ln,this.size=0},Fn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Fn.prototype.get=function(t){return this.__data__.get(t)},Fn.prototype.has=function(t){return this.__data__.has(t)},Fn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ln){var l=n.__data__;if(!pn||l.length<199)return l.push([t,e]),this.size=++n.size,this;n=this.__data__=new jn(l)}return n.set(t,e),this.size=n.size,this};var tl=Ai(sl),el=Ai(ul,!0);function nl(t,e){var n=!0;return tl(t,(function(t,l,i){return n=!!e(t,l,i)})),n}function ll(t,e,n){for(var l=-1,i=t.length;++l<i;){var r=t[l],o=e(r);if(null!=o&&(void 0===a?o==o&&!Qo(o):n(o,a)))var a=o,s=r}return s}function il(t,e){var n=[];return tl(t,(function(t,l,i){e(t,l,i)&&n.push(t)})),n}function rl(t,e,n,l,i){var r=-1,o=t.length;for(n||(n=ir),i||(i=[]);++r<o;){var a=t[r];e>0&&n(a)?e>1?rl(a,e-1,n,l,i):de(i,a):l||(i[i.length]=a)}return i}var ol=vi(),al=vi(!0);function sl(t,e){return t&&ol(t,e,va)}function ul(t,e){return t&&al(t,e,va)}function cl(t,e){return ae(e,(function(e){return Bo(t[e])}))}function dl(t,e){for(var n=0,l=(e=oi(e,t)).length;null!=t&&n<l;)t=t[Sr(e[n++])];return n&&n==l?t:void 0}function hl(t,e,n){var l=e(t);return Lo(t)?l:de(l,n(t))}function pl(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":we&&we in ft(t)?function(t){var e=Ct.call(t,we),n=t[we];try{t[we]=void 0;var l=!0}catch(r){}var i=xt.call(t);return l&&(e?t[we]=n:delete t[we]),i}(t):function(t){return xt.call(t)}(t)}function fl(t,e){return t>e}function bl(t,e){return null!=t&&Ct.call(t,e)}function ml(t,e){return null!=t&&e in ft(t)}function gl(t,e,n){for(var i=n?ue:se,r=t[0].length,o=t.length,a=o,s=l(o),u=1/0,c=[];a--;){var d=t[a];a&&e&&(d=ce(d,Me(e))),u=an(d.length,u),s[a]=!n&&(e||r>=120&&d.length>=120)?new Rn(a&&d):void 0}d=t[0];var h=-1,p=s[0];t:for(;++h<r&&c.length<u;){var f=d[h],b=e?e(f):f;if(f=n||0!==f?f:0,!(p?De(p,b):i(c,b,n))){for(a=o;--a;){var m=s[a];if(!(m?De(m,b):i(t[a],b,n)))continue t}p&&p.push(b),c.push(f)}}return c}function _l(t,e,n){var l=null==(t=fr(t,e=oi(e,t)))?t:t[Sr(Yr(e))];return null==l?void 0:ne(l,t,n)}function yl(t){return Vo(t)&&pl(t)==a}function Al(t,e,n,l,i){return t===e||(null==t||null==e||!Vo(t)&&!Vo(e)?t!=t&&e!=e:function(t,e,n,l,i,r){var o=Lo(t),h=Lo(e),p=o?s:er(t),v=h?s:er(e),P=(p=p==a?m:p)==m,x=(v=v==a?m:v)==m,S=p==v;if(S&&No(t)){if(!No(e))return!1;o=!0,P=!1}if(S&&!P)return r||(r=new Fn),o||Zo(t)?zi(t,e,n,l,i,r):function(t,e,n,l,i,r,o){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new Yt(t),new Yt(e)));case u:case c:case b:return Do(+t,+e);case d:return t.name==e.name&&t.message==e.message;case g:case y:return t==e+"";case f:var a=Ne;case _:if(a||(a=Be),t.size!=e.size&&!(1&l))return!1;var s=o.get(t);if(s)return s==e;l|=2,o.set(t,e);var h=zi(a(t),a(e),l,i,r,o);return o.delete(t),h;case A:if(Sn)return Sn.call(t)==Sn.call(e)}return!1}(t,e,p,n,l,i,r);if(!(1&n)){var k=P&&Ct.call(t,"__wrapped__"),M=x&&Ct.call(e,"__wrapped__");if(k||M){var O=k?t.value():t,D=M?e.value():e;return r||(r=new Fn),i(O,D,n,l,r)}}return!!S&&(r||(r=new Fn),function(t,e,n,l,i,r){var o=1&n,a=Hi(t),s=a.length;if(s!=Hi(e).length&&!o)return!1;for(var u=s;u--;){var c=a[u];if(!(o?c in e:Ct.call(e,c)))return!1}var d=r.get(t),h=r.get(e);if(d&&h)return d==e&&h==t;var p=!0;r.set(t,e),r.set(e,t);for(var f=o;++u<s;){var b=t[c=a[u]],m=e[c];if(l)var g=o?l(m,b,c,e,t,r):l(b,m,c,t,e,r);if(!(void 0===g?b===m||i(b,m,n,l,r):g)){p=!1;break}f||(f="constructor"==c)}if(p&&!f){var _=t.constructor,y=e.constructor;_==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(p=!1)}return r.delete(t),r.delete(e),p}(t,e,n,l,i,r))}(t,e,n,l,Al,i))}function vl(t,e,n,l){var i=n.length,r=i,o=!l;if(null==t)return!r;for(t=ft(t);i--;){var a=n[i];if(o&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<r;){var s=(a=n[i])[0],u=t[s],c=a[1];if(o&&a[2]){if(void 0===u&&!(s in t))return!1}else{var d=new Fn;if(l)var h=l(u,c,s,t,e,d);if(!(void 0===h?Al(c,u,3,l,d):h))return!1}}return!0}function Cl(t){return!(!Ho(t)||(e=t,Pt&&Pt in e))&&(Bo(t)?Mt:rt).test(kr(t));var e}function wl(t){return"function"==typeof t?t:null==t?Wa:"object"==typeof t?Lo(t)?Ml(t[0],t[1]):kl(t):ns(t)}function Pl(t){if(!cr(t))return rn(t);var e=[];for(var n in ft(t))Ct.call(t,n)&&"constructor"!=n&&e.push(n);return e}function xl(t,e){return t<e}function Sl(t,e){var n=-1,i=Ro(t)?l(t.length):[];return tl(t,(function(t,l,r){i[++n]=e(t,l,r)})),i}function kl(t){var e=Ji(t);return 1==e.length&&e[0][2]?hr(e[0][0],e[0][1]):function(n){return n===t||vl(n,t,e)}}function Ml(t,e){return ar(t)&&dr(e)?hr(Sr(t),e):function(n){var l=ma(n,t);return void 0===l&&l===e?ga(n,t):Al(e,l,3)}}function Ol(t,e,n,l,i){t!==e&&ol(e,(function(r,o){if(i||(i=new Fn),Ho(r))!function(t,e,n,l,i,r,o){var a=mr(t,n),s=mr(e,n),u=o.get(s);if(u)zn(t,n,u);else{var c=r?r(a,s,n+"",t,e,o):void 0,d=void 0===c;if(d){var h=Lo(s),p=!h&&No(s),f=!h&&!p&&Zo(s);c=s,h||p||f?Lo(a)?c=a:Fo(a)?c=mi(a):p?(d=!1,c=ci(s,!0)):f?(d=!1,c=hi(s,!0)):c=[]:$o(s)||Io(s)?(c=a,Io(a)?c=aa(a):Ho(a)&&!Bo(a)||(c=lr(s))):d=!1}d&&(o.set(s,c),i(c,s,l,r,o),o.delete(s)),zn(t,n,c)}}(t,e,o,n,Ol,l,i);else{var a=l?l(mr(t,o),r,o+"",t,e,i):void 0;void 0===a&&(a=r),zn(t,o,a)}}),Ca)}function Dl(t,e){var n=t.length;if(n)return rr(e+=e<0?n:0,n)?t[e]:void 0}function Tl(t,e,n){e=e.length?ce(e,(function(t){return Lo(t)?function(e){return dl(e,1===t.length?t[0]:t)}:t})):[Wa];var l=-1;return e=ce(e,Me(Xi())),function(t,e){var l=t.length;for(t.sort((function(t,e){return function(t,e,n){for(var l=-1,i=t.criteria,r=e.criteria,o=i.length,a=n.length;++l<o;){var s=pi(i[l],r[l]);if(s)return l>=a?s:s*("desc"==n[l]?-1:1)}return t.index-e.index}(t,e,n)}));l--;)t[l]=t[l].value;return t}(Sl(t,(function(t,n,i){return{criteria:ce(e,(function(e){return e(t)})),index:++l,value:t}})))}function El(t,e,n){for(var l=-1,i=e.length,r={};++l<i;){var o=e[l],a=dl(t,o);n(a,o)&&Ul(r,oi(o,t),a)}return r}function Il(t,e,n,l){var i=l?ye:_e,r=-1,o=e.length,a=t;for(t===e&&(e=mi(e)),n&&(a=ce(t,Me(n)));++r<o;)for(var s=0,u=e[r],c=n?n(u):u;(s=i(a,c,s,l))>-1;)a!==t&&$t.call(a,s,1),$t.call(t,s,1);return t}function Ll(t,e){for(var n=t?e.length:0,l=n-1;n--;){var i=e[n];if(n==l||i!==r){var r=i;rr(i)?$t.call(t,i,1):Ql(t,i)}}return t}function jl(t,e){return t+Ze(cn()*(e-t+1))}function Rl(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Ze(e/2))&&(t+=t)}while(e);return n}function Fl(t,e){return yr(pr(t,e,Wa),t+"")}function Nl(t){return Yn(Da(t))}function Yl(t,e){var n=Da(t);return Cr(n,Xn(e,0,n.length))}function Ul(t,e,n,l){if(!Ho(t))return t;for(var i=-1,r=(e=oi(e,t)).length,o=r-1,a=t;null!=a&&++i<r;){var s=Sr(e[i]),u=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return t;if(i!=o){var c=a[s];void 0===(u=l?l(c,s,a):void 0)&&(u=Ho(c)?c:rr(e[i+1])?[]:{})}Gn(a,s,u),a=a[s]}return t}var Bl=_n?function(t,e){return _n.set(t,e),t}:Wa,zl=$e?function(t,e){return $e(t,"toString",{configurable:!0,enumerable:!1,value:Ha(e),writable:!0})}:Wa;function Gl(t){return Cr(Da(t))}function Hl(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=l(r);++i<r;)o[i]=t[i+e];return o}function Vl(t,e){var n;return tl(t,(function(t,l,i){return!(n=e(t,l,i))})),!!n}function ql(t,e,n){var l=0,i=null==t?l:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;l<i;){var r=l+i>>>1,o=t[r];null!==o&&!Qo(o)&&(n?o<=e:o<e)?l=r+1:i=r}return i}return Wl(t,e,Wa,n)}function Wl(t,e,n,l){var i=0,r=null==t?0:t.length;if(0===r)return 0;for(var o=(e=n(e))!=e,a=null===e,s=Qo(e),u=void 0===e;i<r;){var c=Ze((i+r)/2),d=n(t[c]),h=void 0!==d,p=null===d,f=d==d,b=Qo(d);if(o)var m=l||f;else m=u?f&&(l||h):a?f&&h&&(l||!p):s?f&&h&&!p&&(l||!b):!p&&!b&&(l?d<=e:d<e);m?i=c+1:r=c}return an(r,4294967294)}function $l(t,e){for(var n=-1,l=t.length,i=0,r=[];++n<l;){var o=t[n],a=e?e(o):o;if(!n||!Do(a,s)){var s=a;r[i++]=0===o?0:o}}return r}function Xl(t){return"number"==typeof t?t:Qo(t)?NaN:+t}function Kl(t){if("string"==typeof t)return t;if(Lo(t))return ce(t,Kl)+"";if(Qo(t))return kn?kn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Jl(t,e,n){var l=-1,i=se,r=t.length,o=!0,a=[],s=a;if(n)o=!1,i=ue;else if(r>=200){var u=e?null:Ri(t);if(u)return Be(u);o=!1,i=De,s=new Rn}else s=e?[]:a;t:for(;++l<r;){var c=t[l],d=e?e(c):c;if(c=n||0!==c?c:0,o&&d==d){for(var h=s.length;h--;)if(s[h]===d)continue t;e&&s.push(d),a.push(c)}else i(s,d,n)||(s!==a&&s.push(d),a.push(c))}return a}function Ql(t,e){return null==(t=fr(t,e=oi(e,t)))||delete t[Sr(Yr(e))]}function Zl(t,e,n,l){return Ul(t,e,n(dl(t,e)),l)}function ti(t,e,n,l){for(var i=t.length,r=l?i:-1;(l?r--:++r<i)&&e(t[r],r,t););return n?Hl(t,l?0:r,l?r+1:i):Hl(t,l?r+1:0,l?i:r)}function ei(t,e){var n=t;return n instanceof En&&(n=n.value()),he(e,(function(t,e){return e.func.apply(e.thisArg,de([t],e.args))}),n)}function ni(t,e,n){var i=t.length;if(i<2)return i?Jl(t[0]):[];for(var r=-1,o=l(i);++r<i;)for(var a=t[r],s=-1;++s<i;)s!=r&&(o[r]=Zn(o[r]||a,t[s],e,n));return Jl(rl(o,1),e,n)}function li(t,e,n){for(var l=-1,i=t.length,r=e.length,o={};++l<i;)n(o,t[l],l<r?e[l]:void 0);return o}function ii(t){return Fo(t)?t:[]}function ri(t){return"function"==typeof t?t:Wa}function oi(t,e){return Lo(t)?t:ar(t,e)?[t]:xr(sa(t))}var ai=Fl;function si(t,e,n){var l=t.length;return n=void 0===n?l:n,!e&&n>=l?t:Hl(t,e,n)}var ui=Xe||function(t){return Ht.clearTimeout(t)};function ci(t,e){if(e)return t.slice();var n=t.length,l=zt?zt(n):new t.constructor(n);return t.copy(l),l}function di(t){var e=new t.constructor(t.byteLength);return new Yt(e).set(new Yt(t)),e}function hi(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function pi(t,e){if(t!==e){var n=void 0!==t,l=null===t,i=t==t,r=Qo(t),o=void 0!==e,a=null===e,s=e==e,u=Qo(e);if(!a&&!u&&!r&&t>e||r&&o&&s&&!a&&!u||l&&o&&s||!n&&s||!i)return 1;if(!l&&!r&&!u&&t<e||u&&n&&i&&!l&&!r||a&&n&&i||!o&&i||!s)return-1}return 0}function fi(t,e,n,i){for(var r=-1,o=t.length,a=n.length,s=-1,u=e.length,c=on(o-a,0),d=l(u+c),h=!i;++s<u;)d[s]=e[s];for(;++r<a;)(h||r<o)&&(d[n[r]]=t[r]);for(;c--;)d[s++]=t[r++];return d}function bi(t,e,n,i){for(var r=-1,o=t.length,a=-1,s=n.length,u=-1,c=e.length,d=on(o-s,0),h=l(d+c),p=!i;++r<d;)h[r]=t[r];for(var f=r;++u<c;)h[f+u]=e[u];for(;++a<s;)(p||r<o)&&(h[f+n[a]]=t[r++]);return h}function mi(t,e){var n=-1,i=t.length;for(e||(e=l(i));++n<i;)e[n]=t[n];return e}function gi(t,e,n,l){var i=!n;n||(n={});for(var r=-1,o=e.length;++r<o;){var a=e[r],s=l?l(n[a],t[a],a,n,t):void 0;void 0===s&&(s=t[a]),i?Wn(n,a,s):Gn(n,a,s)}return n}function _i(t,e){return function(n,l){var i=Lo(n)?le:Vn,r=e?e():{};return i(n,t,Xi(l,2),r)}}function yi(t){return Fl((function(e,n){var l=-1,i=n.length,r=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(r=t.length>3&&"function"==typeof r?(i--,r):void 0,o&&or(n[0],n[1],o)&&(r=i<3?void 0:r,i=1),e=ft(e);++l<i;){var a=n[l];a&&t(e,a,l,r)}return e}))}function Ai(t,e){return function(n,l){if(null==n)return n;if(!Ro(n))return t(n,l);for(var i=n.length,r=e?i:-1,o=ft(n);(e?r--:++r<i)&&!1!==l(o[r],r,o););return n}}function vi(t){return function(e,n,l){for(var i=-1,r=ft(e),o=l(e),a=o.length;a--;){var s=o[t?a:++i];if(!1===n(r[s],s,r))break}return e}}function Ci(t){return function(e){var n=Fe(e=sa(e))?He(e):void 0,l=n?n[0]:e.charAt(0),i=n?si(n,1).join(""):e.slice(1);return l[t]()+i}}function wi(t){return function(e){return he(Ba(Ia(e).replace(Ot,"")),t,"")}}function Pi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=On(t.prototype),l=t.apply(n,e);return Ho(l)?l:n}}function xi(t){return function(e,n,l){var i=ft(e);if(!Ro(e)){var r=Xi(n,3);e=va(e),n=function(t){return r(i[t],t,i)}}var o=t(e,n,l);return o>-1?i[r?e[o]:o]:void 0}}function Si(t){return Gi((function(e){var n=e.length,l=n,r=Tn.prototype.thru;for(t&&e.reverse();l--;){var o=e[l];if("function"!=typeof o)throw new gt(i);if(r&&!a&&"wrapper"==Wi(o))var a=new Tn([],!0)}for(l=a?l:n;++l<n;){var s=Wi(o=e[l]),u="wrapper"==s?qi(o):void 0;a=u&&sr(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?a[Wi(u[0])].apply(a,u[3]):1==o.length&&sr(o)?a[s]():a.thru(o)}return function(){var t=arguments,l=t[0];if(a&&1==t.length&&Lo(l))return a.plant(l).value();for(var i=0,r=n?e[i].apply(this,t):l;++i<n;)r=e[i].call(this,r);return r}}))}function ki(t,e,n,i,r,o,a,s,u,c){var d=128&e,h=1&e,p=2&e,f=24&e,b=512&e,m=p?void 0:Pi(t);return function g(){for(var _=arguments.length,y=l(_),A=_;A--;)y[A]=arguments[A];if(f)var v=$i(g),C=Ie(y,v);if(i&&(y=fi(y,i,r,f)),o&&(y=bi(y,o,a,f)),_-=C,f&&_<c){var w=Ue(y,v);return Li(t,e,ki,g.placeholder,n,y,w,s,u,c-_)}var P=h?n:this,x=p?P[t]:t;return _=y.length,s?y=br(y,s):b&&_>1&&y.reverse(),d&&u<_&&(y.length=u),this&&this!==Ht&&this instanceof g&&(x=m||Pi(x)),x.apply(P,y)}}function Mi(t,e){return function(n,l){return function(t,e,n,l){return sl(t,(function(t,i,r){e(l,n(t),i,r)})),l}(n,t,e(l),{})}}function Oi(t,e){return function(n,l){var i;if(void 0===n&&void 0===l)return e;if(void 0!==n&&(i=n),void 0!==l){if(void 0===i)return l;"string"==typeof n||"string"==typeof l?(n=Kl(n),l=Kl(l)):(n=Xl(n),l=Xl(l)),i=t(n,l)}return i}}function Di(t){return Gi((function(e){return e=ce(e,Me(Xi())),Fl((function(n){var l=this;return t(e,(function(t){return ne(t,l,n)}))}))}))}function Ti(t,e){var n=(e=void 0===e?" ":Kl(e)).length;if(n<2)return n?Rl(e,t):e;var l=Rl(e,Qe(t/Ge(e)));return Fe(e)?si(He(l),0,t).join(""):l.slice(0,t)}function Ei(t){return function(e,n,i){return i&&"number"!=typeof i&&or(e,n,i)&&(n=i=void 0),e=la(e),void 0===n?(n=e,e=0):n=la(n),function(t,e,n,i){for(var r=-1,o=on(Qe((e-t)/(n||1)),0),a=l(o);o--;)a[i?o:++r]=t,t+=n;return a}(e,n,i=void 0===i?e<n?1:-1:la(i),t)}}function Ii(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=oa(e),n=oa(n)),t(e,n)}}function Li(t,e,n,l,i,r,o,a,s,u){var c=8&e;e|=c?32:64,4&(e&=~(c?64:32))||(e&=-4);var d=[t,e,i,c?r:void 0,c?o:void 0,c?void 0:r,c?void 0:o,a,s,u],h=n.apply(void 0,d);return sr(t)&&gr(h,d),h.placeholder=l,Ar(h,t,e)}function ji(t){var e=pt[t];return function(t,n){if(t=oa(t),(n=null==n?0:an(ia(n),292))&&nn(t)){var l=(sa(t)+"e").split("e");return+((l=(sa(e(l[0]+"e"+(+l[1]+n)))+"e").split("e"))[0]+"e"+(+l[1]-n))}return e(t)}}var Ri=bn&&1/Be(new bn([,-0]))[1]==1/0?function(t){return new bn(t)}:Qa;function Fi(t){return function(e){var n=er(e);return n==f?Ne(e):n==_?ze(e):function(t,e){return ce(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Ni(t,e,n,o,a,s,u,c){var d=2&e;if(!d&&"function"!=typeof t)throw new gt(i);var h=o?o.length:0;if(h||(e&=-97,o=a=void 0),u=void 0===u?u:on(ia(u),0),c=void 0===c?c:ia(c),h-=a?a.length:0,64&e){var p=o,f=a;o=a=void 0}var b=d?void 0:qi(t),m=[t,e,n,o,a,p,f,s,u,c];if(b&&function(t,e){var n=t[1],l=e[1],i=n|l;if(!(i<131||128==l&&8==n||128==l&&256==n&&t[7].length<=e[8]||384==l&&e[7].length<=e[8]&&8==n))return t;1&l&&(t[2]=e[2],i|=1&n?0:4);var o=e[3];if(o){var a=t[3];t[3]=a?fi(a,o,e[4]):o,t[4]=a?Ue(t[3],r):e[4]}(o=e[5])&&(t[5]=(a=t[5])?bi(a,o,e[6]):o,t[6]=a?Ue(t[5],r):e[6]),(o=e[7])&&(t[7]=o),128&l&&(t[8]=null==t[8]?e[8]:an(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(m,b),t=m[0],e=m[1],n=m[2],o=m[3],a=m[4],!(c=m[9]=void 0===m[9]?d?0:t.length:on(m[9]-h,0))&&24&e&&(e&=-25),e&&1!=e)g=8==e||16==e?function(t,e,n){var i=Pi(t);return function r(){for(var o=arguments.length,a=l(o),s=o,u=$i(r);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==u&&a[o-1]!==u?[]:Ue(a,u);if((o-=c.length)<n)return Li(t,e,ki,r.placeholder,void 0,a,c,void 0,void 0,n-o);var d=this&&this!==Ht&&this instanceof r?i:t;return ne(d,this,a)}}(t,e,c):32!=e&&33!=e||a.length?ki.apply(void 0,m):function(t,e,n,i){var r=1&e,o=Pi(t);return function e(){for(var a=-1,s=arguments.length,u=-1,c=i.length,d=l(c+s),h=this&&this!==Ht&&this instanceof e?o:t;++u<c;)d[u]=i[u];for(;s--;)d[u++]=arguments[++a];return ne(h,r?n:this,d)}}(t,e,n,o);else var g=function(t,e,n){var l=1&e,i=Pi(t);return function e(){var r=this&&this!==Ht&&this instanceof e?i:t;return r.apply(l?n:this,arguments)}}(t,e,n);return Ar((b?Bl:gr)(g,m),t,e)}function Yi(t,e,n,l){return void 0===t||Do(t,yt[n])&&!Ct.call(l,n)?e:t}function Ui(t,e,n,l,i,r){return Ho(t)&&Ho(e)&&(r.set(e,t),Ol(t,e,void 0,Ui,r),r.delete(e)),t}function Bi(t){return $o(t)?void 0:t}function zi(t,e,n,l,i,r){var o=1&n,a=t.length,s=e.length;if(a!=s&&!(o&&s>a))return!1;var u=r.get(t),c=r.get(e);if(u&&c)return u==e&&c==t;var d=-1,h=!0,p=2&n?new Rn:void 0;for(r.set(t,e),r.set(e,t);++d<a;){var f=t[d],b=e[d];if(l)var m=o?l(b,f,d,e,t,r):l(f,b,d,t,e,r);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!fe(e,(function(t,e){if(!De(p,e)&&(f===t||i(f,t,n,l,r)))return p.push(e)}))){h=!1;break}}else if(f!==b&&!i(f,b,n,l,r)){h=!1;break}}return r.delete(t),r.delete(e),h}function Gi(t){return yr(pr(t,void 0,Lr),t+"")}function Hi(t){return hl(t,va,Zi)}function Vi(t){return hl(t,Ca,tr)}var qi=_n?function(t){return _n.get(t)}:Qa;function Wi(t){for(var e=t.name+"",n=yn[e],l=Ct.call(yn,e)?n.length:0;l--;){var i=n[l],r=i.func;if(null==r||r==t)return i.name}return e}function $i(t){return(Ct.call(Mn,"placeholder")?Mn:t).placeholder}function Xi(){var t=Mn.iteratee||$a;return t=t===$a?wl:t,arguments.length?t(arguments[0],arguments[1]):t}function Ki(t,e){var n,l,i=t.__data__;return("string"==(l=typeof(n=e))||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ji(t){for(var e=va(t),n=e.length;n--;){var l=e[n],i=t[l];e[n]=[l,i,dr(i)]}return e}function Qi(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Cl(n)?n:void 0}var Zi=tn?function(t){return null==t?[]:(t=ft(t),ae(tn(t),(function(e){return qt.call(t,e)})))}:rs,tr=tn?function(t){for(var e=[];t;)de(e,Zi(t)),t=Gt(t);return e}:rs,er=pl;function nr(t,e,n){for(var l=-1,i=(e=oi(e,t)).length,r=!1;++l<i;){var o=Sr(e[l]);if(!(r=null!=t&&n(t,o)))break;t=t[o]}return r||++l!=i?r:!!(i=null==t?0:t.length)&&Go(i)&&rr(o,i)&&(Lo(t)||Io(t))}function lr(t){return"function"!=typeof t.constructor||cr(t)?{}:On(Gt(t))}function ir(t){return Lo(t)||Io(t)||!!(Xt&&t&&t[Xt])}function rr(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&at.test(t))&&t>-1&&t%1==0&&t<e}function or(t,e,n){if(!Ho(n))return!1;var l=typeof e;return!!("number"==l?Ro(n)&&rr(e,n.length):"string"==l&&e in n)&&Do(n[e],t)}function ar(t,e){if(Lo(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Qo(t))||G.test(t)||!z.test(t)||null!=e&&t in ft(e)}function sr(t){var e=Wi(t),n=Mn[e];if("function"!=typeof n||!(e in En.prototype))return!1;if(t===n)return!0;var l=qi(n);return!!l&&t===l[0]}(hn&&er(new hn(new ArrayBuffer(1)))!=w||pn&&er(new pn)!=f||fn&&"[object Promise]"!=er(fn.resolve())||bn&&er(new bn)!=_||mn&&er(new mn)!=v)&&(er=function(t){var e=pl(t),n=e==m?t.constructor:void 0,l=n?kr(n):"";if(l)switch(l){case An:return w;case vn:return f;case Cn:return"[object Promise]";case wn:return _;case Pn:return v}return e});var ur=At?Bo:os;function cr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||yt)}function dr(t){return t==t&&!Ho(t)}function hr(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in ft(n))}}function pr(t,e,n){return e=on(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=on(i.length-e,0),a=l(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=l(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),ne(t,this,s)}}function fr(t,e){return e.length<2?t:dl(t,Hl(e,0,-1))}function br(t,e){for(var n=t.length,l=an(e.length,n),i=mi(t);l--;){var r=e[l];t[l]=rr(r,n)?i[r]:void 0}return t}function mr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var gr=vr(Bl),_r=Je||function(t,e){return Ht.setTimeout(t,e)},yr=vr(zl);function Ar(t,e,n){var l=e+"";return yr(t,function(t,e){var n=e.length;if(!n)return t;var l=n-1;return e[l]=(n>1?"& ":"")+e[l],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(l,function(t,e){return ie(o,(function(n){var l="_."+n[0];e&n[1]&&!se(t,l)&&t.push(l)})),t.sort()}(function(t){var e=t.match(K);return e?e[1].split(J):[]}(l),n)))}function vr(t){var e=0,n=0;return function(){var l=sn(),i=16-(l-n);if(n=l,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Cr(t,e){var n=-1,l=t.length,i=l-1;for(e=void 0===e?l:e;++n<e;){var r=jl(n,i),o=t[r];t[r]=t[n],t[n]=o}return t.length=e,t}var wr,Pr,xr=(wr=Po((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(H,(function(t,n,l,i){e.push(l?i.replace(tt,"$1"):n||t)})),e}),(function(t){return 500===Pr.size&&Pr.clear(),t})),Pr=wr.cache,wr);function Sr(t){if("string"==typeof t||Qo(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function kr(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Mr(t){if(t instanceof En)return t.clone();var e=new Tn(t.__wrapped__,t.__chain__);return e.__actions__=mi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Or=Fl((function(t,e){return Fo(t)?Zn(t,rl(e,1,Fo,!0)):[]})),Dr=Fl((function(t,e){var n=Yr(e);return Fo(n)&&(n=void 0),Fo(t)?Zn(t,rl(e,1,Fo,!0),Xi(n,2)):[]})),Tr=Fl((function(t,e){var n=Yr(e);return Fo(n)&&(n=void 0),Fo(t)?Zn(t,rl(e,1,Fo,!0),void 0,n):[]}));function Er(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=null==n?0:ia(n);return i<0&&(i=on(l+i,0)),ge(t,Xi(e,3),i)}function Ir(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=l-1;return void 0!==n&&(i=ia(n),i=n<0?on(l+i,0):an(i,l-1)),ge(t,Xi(e,3),i,!0)}function Lr(t){return null!=t&&t.length?rl(t,1):[]}function jr(t){return t&&t.length?t[0]:void 0}var Rr=Fl((function(t){var e=ce(t,ii);return e.length&&e[0]===t[0]?gl(e):[]})),Fr=Fl((function(t){var e=Yr(t),n=ce(t,ii);return e===Yr(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?gl(n,Xi(e,2)):[]})),Nr=Fl((function(t){var e=Yr(t),n=ce(t,ii);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?gl(n,void 0,e):[]}));function Yr(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Ur=Fl(Br);function Br(t,e){return t&&t.length&&e&&e.length?Il(t,e):t}var zr=Gi((function(t,e){var n=null==t?0:t.length,l=$n(t,e);return Ll(t,ce(e,(function(t){return rr(t,n)?+t:t})).sort(pi)),l}));function Gr(t){return null==t?t:dn.call(t)}var Hr=Fl((function(t){return Jl(rl(t,1,Fo,!0))})),Vr=Fl((function(t){var e=Yr(t);return Fo(e)&&(e=void 0),Jl(rl(t,1,Fo,!0),Xi(e,2))})),qr=Fl((function(t){var e=Yr(t);return e="function"==typeof e?e:void 0,Jl(rl(t,1,Fo,!0),void 0,e)}));function Wr(t){if(!t||!t.length)return[];var e=0;return t=ae(t,(function(t){if(Fo(t))return e=on(t.length,e),!0})),Se(e,(function(e){return ce(t,Ce(e))}))}function $r(t,e){if(!t||!t.length)return[];var n=Wr(t);return null==e?n:ce(n,(function(t){return ne(e,void 0,t)}))}var Xr=Fl((function(t,e){return Fo(t)?Zn(t,e):[]})),Kr=Fl((function(t){return ni(ae(t,Fo))})),Jr=Fl((function(t){var e=Yr(t);return Fo(e)&&(e=void 0),ni(ae(t,Fo),Xi(e,2))})),Qr=Fl((function(t){var e=Yr(t);return e="function"==typeof e?e:void 0,ni(ae(t,Fo),void 0,e)})),Zr=Fl(Wr),to=Fl((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,$r(t,n)}));function eo(t){var e=Mn(t);return e.__chain__=!0,e}function no(t,e){return e(t)}var lo=Gi((function(t){var e=t.length,n=e?t[0]:0,l=this.__wrapped__,i=function(e){return $n(e,t)};return!(e>1||this.__actions__.length)&&l instanceof En&&rr(n)?((l=l.slice(n,+n+(e?1:0))).__actions__.push({func:no,args:[i],thisArg:void 0}),new Tn(l,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)})),io=_i((function(t,e,n){Ct.call(t,n)?++t[n]:Wn(t,n,1)})),ro=xi(Er),oo=xi(Ir);function ao(t,e){return(Lo(t)?ie:tl)(t,Xi(e,3))}function so(t,e){return(Lo(t)?re:el)(t,Xi(e,3))}var uo=_i((function(t,e,n){Ct.call(t,n)?t[n].push(e):Wn(t,n,[e])})),co=Fl((function(t,e,n){var i=-1,r="function"==typeof e,o=Ro(t)?l(t.length):[];return tl(t,(function(t){o[++i]=r?ne(e,t,n):_l(t,e,n)})),o})),ho=_i((function(t,e,n){Wn(t,n,e)}));function po(t,e){return(Lo(t)?ce:Sl)(t,Xi(e,3))}var fo=_i((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),bo=Fl((function(t,e){if(null==t)return[];var n=e.length;return n>1&&or(t,e[0],e[1])?e=[]:n>2&&or(e[0],e[1],e[2])&&(e=[e[0]]),Tl(t,rl(e,1),[])})),mo=Ke||function(){return Ht.Date.now()};function go(t,e,n){return e=n?void 0:e,Ni(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function _o(t,e){var n;if("function"!=typeof e)throw new gt(i);return t=ia(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var yo=Fl((function(t,e,n){var l=1;if(n.length){var i=Ue(n,$i(yo));l|=32}return Ni(t,l,e,n,i)})),Ao=Fl((function(t,e,n){var l=3;if(n.length){var i=Ue(n,$i(Ao));l|=32}return Ni(e,l,t,n,i)}));function vo(t,e,n){var l,r,o,a,s,u,c=0,d=!1,h=!1,p=!0;if("function"!=typeof t)throw new gt(i);function f(e){var n=l,i=r;return l=r=void 0,c=e,a=t.apply(i,n)}function b(t){return c=t,s=_r(g,e),d?f(t):a}function m(t){var n=t-u;return void 0===u||n>=e||n<0||h&&t-c>=o}function g(){var t=mo();if(m(t))return _(t);s=_r(g,function(t){var n=e-(t-u);return h?an(n,o-(t-c)):n}(t))}function _(t){return s=void 0,p&&l?f(t):(l=r=void 0,a)}function y(){var t=mo(),n=m(t);if(l=arguments,r=this,u=t,n){if(void 0===s)return b(u);if(h)return ui(s),s=_r(g,e),f(u)}return void 0===s&&(s=_r(g,e)),a}return e=oa(e)||0,Ho(n)&&(d=!!n.leading,o=(h="maxWait"in n)?on(oa(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&ui(s),c=0,l=u=r=s=void 0},y.flush=function(){return void 0===s?a:_(mo())},y}var Co=Fl((function(t,e){return Qn(t,1,e)})),wo=Fl((function(t,e,n){return Qn(t,oa(e)||0,n)}));function Po(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new gt(i);var n=function(){var l=arguments,i=e?e.apply(this,l):l[0],r=n.cache;if(r.has(i))return r.get(i);var o=t.apply(this,l);return n.cache=r.set(i,o)||r,o};return n.cache=new(Po.Cache||jn),n}function xo(t){if("function"!=typeof t)throw new gt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Po.Cache=jn;var So=ai((function(t,e){var n=(e=1==e.length&&Lo(e[0])?ce(e[0],Me(Xi())):ce(rl(e,1),Me(Xi()))).length;return Fl((function(l){for(var i=-1,r=an(l.length,n);++i<r;)l[i]=e[i].call(this,l[i]);return ne(t,this,l)}))})),ko=Fl((function(t,e){return Ni(t,32,void 0,e,Ue(e,$i(ko)))})),Mo=Fl((function(t,e){return Ni(t,64,void 0,e,Ue(e,$i(Mo)))})),Oo=Gi((function(t,e){return Ni(t,256,void 0,void 0,void 0,e)}));function Do(t,e){return t===e||t!=t&&e!=e}var To=Ii(fl),Eo=Ii((function(t,e){return t>=e})),Io=yl(function(){return arguments}())?yl:function(t){return Vo(t)&&Ct.call(t,"callee")&&!qt.call(t,"callee")},Lo=l.isArray,jo=Kt?Me(Kt):function(t){return Vo(t)&&pl(t)==C};function Ro(t){return null!=t&&Go(t.length)&&!Bo(t)}function Fo(t){return Vo(t)&&Ro(t)}var No=en||os,Yo=Jt?Me(Jt):function(t){return Vo(t)&&pl(t)==c};function Uo(t){if(!Vo(t))return!1;var e=pl(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!$o(t)}function Bo(t){if(!Ho(t))return!1;var e=pl(t);return e==h||e==p||"[object AsyncFunction]"==e||"[object Proxy]"==e}function zo(t){return"number"==typeof t&&t==ia(t)}function Go(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ho(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Vo(t){return null!=t&&"object"==typeof t}var qo=Qt?Me(Qt):function(t){return Vo(t)&&er(t)==f};function Wo(t){return"number"==typeof t||Vo(t)&&pl(t)==b}function $o(t){if(!Vo(t)||pl(t)!=m)return!1;var e=Gt(t);if(null===e)return!0;var n=Ct.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&vt.call(n)==St}var Xo=Zt?Me(Zt):function(t){return Vo(t)&&pl(t)==g},Ko=te?Me(te):function(t){return Vo(t)&&er(t)==_};function Jo(t){return"string"==typeof t||!Lo(t)&&Vo(t)&&pl(t)==y}function Qo(t){return"symbol"==typeof t||Vo(t)&&pl(t)==A}var Zo=ee?Me(ee):function(t){return Vo(t)&&Go(t.length)&&!!Ft[pl(t)]},ta=Ii(xl),ea=Ii((function(t,e){return t<=e}));function na(t){if(!t)return[];if(Ro(t))return Jo(t)?He(t):mi(t);if(be&&t[be])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[be]());var e=er(t);return(e==f?Ne:e==_?Be:Da)(t)}function la(t){return t?(t=oa(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var e=la(t),n=e%1;return e==e?n?e-n:e:0}function ra(t){return t?Xn(ia(t),0,4294967295):0}function oa(t){if("number"==typeof t)return t;if(Qo(t))return NaN;if(Ho(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ho(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=ke(t);var n=it.test(t);return n||ot.test(t)?Bt(t.slice(2),n?2:8):lt.test(t)?NaN:+t}function aa(t){return gi(t,Ca(t))}function sa(t){return null==t?"":Kl(t)}var ua=yi((function(t,e){if(cr(e)||Ro(e))gi(e,va(e),t);else for(var n in e)Ct.call(e,n)&&Gn(t,n,e[n])})),ca=yi((function(t,e){gi(e,Ca(e),t)})),da=yi((function(t,e,n,l){gi(e,Ca(e),t,l)})),ha=yi((function(t,e,n,l){gi(e,va(e),t,l)})),pa=Gi($n),fa=Fl((function(t,e){t=ft(t);var n=-1,l=e.length,i=l>2?e[2]:void 0;for(i&&or(e[0],e[1],i)&&(l=1);++n<l;)for(var r=e[n],o=Ca(r),a=-1,s=o.length;++a<s;){var u=o[a],c=t[u];(void 0===c||Do(c,yt[u])&&!Ct.call(t,u))&&(t[u]=r[u])}return t})),ba=Fl((function(t){return t.push(void 0,Ui),ne(Pa,void 0,t)}));function ma(t,e,n){var l=null==t?void 0:dl(t,e);return void 0===l?n:l}function ga(t,e){return null!=t&&nr(t,e,ml)}var _a=Mi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=xt.call(e)),t[e]=n}),Ha(Wa)),ya=Mi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=xt.call(e)),Ct.call(t,e)?t[e].push(n):t[e]=[n]}),Xi),Aa=Fl(_l);function va(t){return Ro(t)?Nn(t):Pl(t)}function Ca(t){return Ro(t)?Nn(t,!0):function(t){if(!Ho(t))return function(t){var e=[];if(null!=t)for(var n in ft(t))e.push(n);return e}(t);var e=cr(t),n=[];for(var l in t)("constructor"!=l||!e&&Ct.call(t,l))&&n.push(l);return n}(t)}var wa=yi((function(t,e,n){Ol(t,e,n)})),Pa=yi((function(t,e,n,l){Ol(t,e,n,l)})),xa=Gi((function(t,e){var n={};if(null==t)return n;var l=!1;e=ce(e,(function(e){return e=oi(e,t),l||(l=e.length>1),e})),gi(t,Vi(t),n),l&&(n=Kn(n,7,Bi));for(var i=e.length;i--;)Ql(n,e[i]);return n})),Sa=Gi((function(t,e){return null==t?{}:function(t,e){return El(t,e,(function(e,n){return ga(t,n)}))}(t,e)}));function ka(t,e){if(null==t)return{};var n=ce(Vi(t),(function(t){return[t]}));return e=Xi(e),El(t,n,(function(t,n){return e(t,n[0])}))}var Ma=Fi(va),Oa=Fi(Ca);function Da(t){return null==t?[]:Oe(t,va(t))}var Ta=wi((function(t,e,n){return e=e.toLowerCase(),t+(n?Ea(e):e)}));function Ea(t){return Ua(sa(t).toLowerCase())}function Ia(t){return(t=sa(t))&&t.replace(st,Le).replace(Dt,"")}var La=wi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),ja=wi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ra=Ci("toLowerCase"),Fa=wi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Na=wi((function(t,e,n){return t+(n?" ":"")+Ua(e)})),Ya=wi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ua=Ci("toUpperCase");function Ba(t,e,n){return t=sa(t),void 0===(e=n?void 0:e)?function(t){return Lt.test(t)}(t)?function(t){return t.match(Et)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var za=Fl((function(t,e){try{return ne(t,void 0,e)}catch(n){return Uo(n)?n:new dt(n)}})),Ga=Gi((function(t,e){return ie(e,(function(e){e=Sr(e),Wn(t,e,yo(t[e],t))})),t}));function Ha(t){return function(){return t}}var Va=Si(),qa=Si(!0);function Wa(t){return t}function $a(t){return wl("function"==typeof t?t:Kn(t,1))}var Xa=Fl((function(t,e){return function(n){return _l(n,t,e)}})),Ka=Fl((function(t,e){return function(n){return _l(t,n,e)}}));function Ja(t,e,n){var l=va(e),i=cl(e,l);null!=n||Ho(e)&&(i.length||!l.length)||(n=e,e=t,t=this,i=cl(e,va(e)));var r=!(Ho(n)&&"chain"in n&&!n.chain),o=Bo(t);return ie(i,(function(n){var l=e[n];t[n]=l,o&&(t.prototype[n]=function(){var e=this.__chain__;if(r||e){var n=t(this.__wrapped__),i=n.__actions__=mi(this.__actions__);return i.push({func:l,args:arguments,thisArg:t}),n.__chain__=e,n}return l.apply(t,de([this.value()],arguments))})})),t}function Qa(){}var Za=Di(ce),ts=Di(oe),es=Di(fe);function ns(t){return ar(t)?Ce(Sr(t)):function(t){return function(e){return dl(e,t)}}(t)}var ls=Ei(),is=Ei(!0);function rs(){return[]}function os(){return!1}var as,ss=Oi((function(t,e){return t+e}),0),us=ji("ceil"),cs=Oi((function(t,e){return t/e}),1),ds=ji("floor"),hs=Oi((function(t,e){return t*e}),1),ps=ji("round"),fs=Oi((function(t,e){return t-e}),0);return Mn.after=function(t,e){if("function"!=typeof e)throw new gt(i);return t=ia(t),function(){if(--t<1)return e.apply(this,arguments)}},Mn.ary=go,Mn.assign=ua,Mn.assignIn=ca,Mn.assignInWith=da,Mn.assignWith=ha,Mn.at=pa,Mn.before=_o,Mn.bind=yo,Mn.bindAll=Ga,Mn.bindKey=Ao,Mn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Lo(t)?t:[t]},Mn.chain=eo,Mn.chunk=function(t,e,n){e=(n?or(t,e,n):void 0===e)?1:on(ia(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var r=0,o=0,a=l(Qe(i/e));r<i;)a[o++]=Hl(t,r,r+=e);return a},Mn.compact=function(t){for(var e=-1,n=null==t?0:t.length,l=0,i=[];++e<n;){var r=t[e];r&&(i[l++]=r)}return i},Mn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=l(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return de(Lo(n)?mi(n):[n],rl(e,1))},Mn.cond=function(t){var e=null==t?0:t.length,n=Xi();return t=e?ce(t,(function(t){if("function"!=typeof t[1])throw new gt(i);return[n(t[0]),t[1]]})):[],Fl((function(n){for(var l=-1;++l<e;){var i=t[l];if(ne(i[0],this,n))return ne(i[1],this,n)}}))},Mn.conforms=function(t){return function(t){var e=va(t);return function(n){return Jn(n,t,e)}}(Kn(t,1))},Mn.constant=Ha,Mn.countBy=io,Mn.create=function(t,e){var n=On(t);return null==e?n:qn(n,e)},Mn.curry=function t(e,n,l){var i=Ni(e,8,void 0,void 0,void 0,void 0,void 0,n=l?void 0:n);return i.placeholder=t.placeholder,i},Mn.curryRight=function t(e,n,l){var i=Ni(e,16,void 0,void 0,void 0,void 0,void 0,n=l?void 0:n);return i.placeholder=t.placeholder,i},Mn.debounce=vo,Mn.defaults=fa,Mn.defaultsDeep=ba,Mn.defer=Co,Mn.delay=wo,Mn.difference=Or,Mn.differenceBy=Dr,Mn.differenceWith=Tr,Mn.drop=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,(e=n||void 0===e?1:ia(e))<0?0:e,l):[]},Mn.dropRight=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,0,(e=l-(e=n||void 0===e?1:ia(e)))<0?0:e):[]},Mn.dropRightWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!0,!0):[]},Mn.dropWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!0):[]},Mn.fill=function(t,e,n,l){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&or(t,e,n)&&(n=0,l=i),function(t,e,n,l){var i=t.length;for((n=ia(n))<0&&(n=-n>i?0:i+n),(l=void 0===l||l>i?i:ia(l))<0&&(l+=i),l=n>l?0:ra(l);n<l;)t[n++]=e;return t}(t,e,n,l)):[]},Mn.filter=function(t,e){return(Lo(t)?ae:il)(t,Xi(e,3))},Mn.flatMap=function(t,e){return rl(po(t,e),1)},Mn.flatMapDeep=function(t,e){return rl(po(t,e),1/0)},Mn.flatMapDepth=function(t,e,n){return n=void 0===n?1:ia(n),rl(po(t,e),n)},Mn.flatten=Lr,Mn.flattenDeep=function(t){return null!=t&&t.length?rl(t,1/0):[]},Mn.flattenDepth=function(t,e){return null!=t&&t.length?rl(t,e=void 0===e?1:ia(e)):[]},Mn.flip=function(t){return Ni(t,512)},Mn.flow=Va,Mn.flowRight=qa,Mn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,l={};++e<n;){var i=t[e];l[i[0]]=i[1]}return l},Mn.functions=function(t){return null==t?[]:cl(t,va(t))},Mn.functionsIn=function(t){return null==t?[]:cl(t,Ca(t))},Mn.groupBy=uo,Mn.initial=function(t){return null!=t&&t.length?Hl(t,0,-1):[]},Mn.intersection=Rr,Mn.intersectionBy=Fr,Mn.intersectionWith=Nr,Mn.invert=_a,Mn.invertBy=ya,Mn.invokeMap=co,Mn.iteratee=$a,Mn.keyBy=ho,Mn.keys=va,Mn.keysIn=Ca,Mn.map=po,Mn.mapKeys=function(t,e){var n={};return e=Xi(e,3),sl(t,(function(t,l,i){Wn(n,e(t,l,i),t)})),n},Mn.mapValues=function(t,e){var n={};return e=Xi(e,3),sl(t,(function(t,l,i){Wn(n,l,e(t,l,i))})),n},Mn.matches=function(t){return kl(Kn(t,1))},Mn.matchesProperty=function(t,e){return Ml(t,Kn(e,1))},Mn.memoize=Po,Mn.merge=wa,Mn.mergeWith=Pa,Mn.method=Xa,Mn.methodOf=Ka,Mn.mixin=Ja,Mn.negate=xo,Mn.nthArg=function(t){return t=ia(t),Fl((function(e){return Dl(e,t)}))},Mn.omit=xa,Mn.omitBy=function(t,e){return ka(t,xo(Xi(e)))},Mn.once=function(t){return _o(2,t)},Mn.orderBy=function(t,e,n,l){return null==t?[]:(Lo(e)||(e=null==e?[]:[e]),Lo(n=l?void 0:n)||(n=null==n?[]:[n]),Tl(t,e,n))},Mn.over=Za,Mn.overArgs=So,Mn.overEvery=ts,Mn.overSome=es,Mn.partial=ko,Mn.partialRight=Mo,Mn.partition=fo,Mn.pick=Sa,Mn.pickBy=ka,Mn.property=ns,Mn.propertyOf=function(t){return function(e){return null==t?void 0:dl(t,e)}},Mn.pull=Ur,Mn.pullAll=Br,Mn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Il(t,e,Xi(n,2)):t},Mn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Il(t,e,void 0,n):t},Mn.pullAt=zr,Mn.range=ls,Mn.rangeRight=is,Mn.rearg=Oo,Mn.reject=function(t,e){return(Lo(t)?ae:il)(t,xo(Xi(e,3)))},Mn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var l=-1,i=[],r=t.length;for(e=Xi(e,3);++l<r;){var o=t[l];e(o,l,t)&&(n.push(o),i.push(l))}return Ll(t,i),n},Mn.rest=function(t,e){if("function"!=typeof t)throw new gt(i);return Fl(t,e=void 0===e?e:ia(e))},Mn.reverse=Gr,Mn.sampleSize=function(t,e,n){return e=(n?or(t,e,n):void 0===e)?1:ia(e),(Lo(t)?Un:Yl)(t,e)},Mn.set=function(t,e,n){return null==t?t:Ul(t,e,n)},Mn.setWith=function(t,e,n,l){return l="function"==typeof l?l:void 0,null==t?t:Ul(t,e,n,l)},Mn.shuffle=function(t){return(Lo(t)?Bn:Gl)(t)},Mn.slice=function(t,e,n){var l=null==t?0:t.length;return l?(n&&"number"!=typeof n&&or(t,e,n)?(e=0,n=l):(e=null==e?0:ia(e),n=void 0===n?l:ia(n)),Hl(t,e,n)):[]},Mn.sortBy=bo,Mn.sortedUniq=function(t){return t&&t.length?$l(t):[]},Mn.sortedUniqBy=function(t,e){return t&&t.length?$l(t,Xi(e,2)):[]},Mn.split=function(t,e,n){return n&&"number"!=typeof n&&or(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=sa(t))&&("string"==typeof e||null!=e&&!Xo(e))&&!(e=Kl(e))&&Fe(t)?si(He(t),0,n):t.split(e,n):[]},Mn.spread=function(t,e){if("function"!=typeof t)throw new gt(i);return e=null==e?0:on(ia(e),0),Fl((function(n){var l=n[e],i=si(n,0,e);return l&&de(i,l),ne(t,this,i)}))},Mn.tail=function(t){var e=null==t?0:t.length;return e?Hl(t,1,e):[]},Mn.take=function(t,e,n){return t&&t.length?Hl(t,0,(e=n||void 0===e?1:ia(e))<0?0:e):[]},Mn.takeRight=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,(e=l-(e=n||void 0===e?1:ia(e)))<0?0:e,l):[]},Mn.takeRightWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!1,!0):[]},Mn.takeWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3)):[]},Mn.tap=function(t,e){return e(t),t},Mn.throttle=function(t,e,n){var l=!0,r=!0;if("function"!=typeof t)throw new gt(i);return Ho(n)&&(l="leading"in n?!!n.leading:l,r="trailing"in n?!!n.trailing:r),vo(t,e,{leading:l,maxWait:e,trailing:r})},Mn.thru=no,Mn.toArray=na,Mn.toPairs=Ma,Mn.toPairsIn=Oa,Mn.toPath=function(t){return Lo(t)?ce(t,Sr):Qo(t)?[t]:mi(xr(sa(t)))},Mn.toPlainObject=aa,Mn.transform=function(t,e,n){var l=Lo(t),i=l||No(t)||Zo(t);if(e=Xi(e,4),null==n){var r=t&&t.constructor;n=i?l?new r:[]:Ho(t)&&Bo(r)?On(Gt(t)):{}}return(i?ie:sl)(t,(function(t,l,i){return e(n,t,l,i)})),n},Mn.unary=function(t){return go(t,1)},Mn.union=Hr,Mn.unionBy=Vr,Mn.unionWith=qr,Mn.uniq=function(t){return t&&t.length?Jl(t):[]},Mn.uniqBy=function(t,e){return t&&t.length?Jl(t,Xi(e,2)):[]},Mn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Jl(t,void 0,e):[]},Mn.unset=function(t,e){return null==t||Ql(t,e)},Mn.unzip=Wr,Mn.unzipWith=$r,Mn.update=function(t,e,n){return null==t?t:Zl(t,e,ri(n))},Mn.updateWith=function(t,e,n,l){return l="function"==typeof l?l:void 0,null==t?t:Zl(t,e,ri(n),l)},Mn.values=Da,Mn.valuesIn=function(t){return null==t?[]:Oe(t,Ca(t))},Mn.without=Xr,Mn.words=Ba,Mn.wrap=function(t,e){return ko(ri(e),t)},Mn.xor=Kr,Mn.xorBy=Jr,Mn.xorWith=Qr,Mn.zip=Zr,Mn.zipObject=function(t,e){return li(t||[],e||[],Gn)},Mn.zipObjectDeep=function(t,e){return li(t||[],e||[],Ul)},Mn.zipWith=to,Mn.entries=Ma,Mn.entriesIn=Oa,Mn.extend=ca,Mn.extendWith=da,Ja(Mn,Mn),Mn.add=ss,Mn.attempt=za,Mn.camelCase=Ta,Mn.capitalize=Ea,Mn.ceil=us,Mn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=oa(n))==n?n:0),void 0!==e&&(e=(e=oa(e))==e?e:0),Xn(oa(t),e,n)},Mn.clone=function(t){return Kn(t,4)},Mn.cloneDeep=function(t){return Kn(t,5)},Mn.cloneDeepWith=function(t,e){return Kn(t,5,e="function"==typeof e?e:void 0)},Mn.cloneWith=function(t,e){return Kn(t,4,e="function"==typeof e?e:void 0)},Mn.conformsTo=function(t,e){return null==e||Jn(t,e,va(e))},Mn.deburr=Ia,Mn.defaultTo=function(t,e){return null==t||t!=t?e:t},Mn.divide=cs,Mn.endsWith=function(t,e,n){t=sa(t),e=Kl(e);var l=t.length,i=n=void 0===n?l:Xn(ia(n),0,l);return(n-=e.length)>=0&&t.slice(n,i)==e},Mn.eq=Do,Mn.escape=function(t){return(t=sa(t))&&N.test(t)?t.replace(R,je):t},Mn.escapeRegExp=function(t){return(t=sa(t))&&q.test(t)?t.replace(V,"\\$&"):t},Mn.every=function(t,e,n){var l=Lo(t)?oe:nl;return n&&or(t,e,n)&&(e=void 0),l(t,Xi(e,3))},Mn.find=ro,Mn.findIndex=Er,Mn.findKey=function(t,e){return me(t,Xi(e,3),sl)},Mn.findLast=oo,Mn.findLastIndex=Ir,Mn.findLastKey=function(t,e){return me(t,Xi(e,3),ul)},Mn.floor=ds,Mn.forEach=ao,Mn.forEachRight=so,Mn.forIn=function(t,e){return null==t?t:ol(t,Xi(e,3),Ca)},Mn.forInRight=function(t,e){return null==t?t:al(t,Xi(e,3),Ca)},Mn.forOwn=function(t,e){return t&&sl(t,Xi(e,3))},Mn.forOwnRight=function(t,e){return t&&ul(t,Xi(e,3))},Mn.get=ma,Mn.gt=To,Mn.gte=Eo,Mn.has=function(t,e){return null!=t&&nr(t,e,bl)},Mn.hasIn=ga,Mn.head=jr,Mn.identity=Wa,Mn.includes=function(t,e,n,l){t=Ro(t)?t:Da(t),n=n&&!l?ia(n):0;var i=t.length;return n<0&&(n=on(i+n,0)),Jo(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&_e(t,e,n)>-1},Mn.indexOf=function(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=null==n?0:ia(n);return i<0&&(i=on(l+i,0)),_e(t,e,i)},Mn.inRange=function(t,e,n){return e=la(e),void 0===n?(n=e,e=0):n=la(n),function(t,e,n){return t>=an(e,n)&&t<on(e,n)}(t=oa(t),e,n)},Mn.invoke=Aa,Mn.isArguments=Io,Mn.isArray=Lo,Mn.isArrayBuffer=jo,Mn.isArrayLike=Ro,Mn.isArrayLikeObject=Fo,Mn.isBoolean=function(t){return!0===t||!1===t||Vo(t)&&pl(t)==u},Mn.isBuffer=No,Mn.isDate=Yo,Mn.isElement=function(t){return Vo(t)&&1===t.nodeType&&!$o(t)},Mn.isEmpty=function(t){if(null==t)return!0;if(Ro(t)&&(Lo(t)||"string"==typeof t||"function"==typeof t.splice||No(t)||Zo(t)||Io(t)))return!t.length;var e=er(t);if(e==f||e==_)return!t.size;if(cr(t))return!Pl(t).length;for(var n in t)if(Ct.call(t,n))return!1;return!0},Mn.isEqual=function(t,e){return Al(t,e)},Mn.isEqualWith=function(t,e,n){var l=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===l?Al(t,e,void 0,n):!!l},Mn.isError=Uo,Mn.isFinite=function(t){return"number"==typeof t&&nn(t)},Mn.isFunction=Bo,Mn.isInteger=zo,Mn.isLength=Go,Mn.isMap=qo,Mn.isMatch=function(t,e){return t===e||vl(t,e,Ji(e))},Mn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,vl(t,e,Ji(e),n)},Mn.isNaN=function(t){return Wo(t)&&t!=+t},Mn.isNative=function(t){if(ur(t))throw new dt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cl(t)},Mn.isNil=function(t){return null==t},Mn.isNull=function(t){return null===t},Mn.isNumber=Wo,Mn.isObject=Ho,Mn.isObjectLike=Vo,Mn.isPlainObject=$o,Mn.isRegExp=Xo,Mn.isSafeInteger=function(t){return zo(t)&&t>=-9007199254740991&&t<=9007199254740991},Mn.isSet=Ko,Mn.isString=Jo,Mn.isSymbol=Qo,Mn.isTypedArray=Zo,Mn.isUndefined=function(t){return void 0===t},Mn.isWeakMap=function(t){return Vo(t)&&er(t)==v},Mn.isWeakSet=function(t){return Vo(t)&&"[object WeakSet]"==pl(t)},Mn.join=function(t,e){return null==t?"":ln.call(t,e)},Mn.kebabCase=La,Mn.last=Yr,Mn.lastIndexOf=function(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=l;return void 0!==n&&(i=(i=ia(n))<0?on(l+i,0):an(i,l-1)),e==e?function(t,e,n){for(var l=n+1;l--;)if(t[l]===e)return l;return l}(t,e,i):ge(t,Ae,i,!0)},Mn.lowerCase=ja,Mn.lowerFirst=Ra,Mn.lt=ta,Mn.lte=ea,Mn.max=function(t){return t&&t.length?ll(t,Wa,fl):void 0},Mn.maxBy=function(t,e){return t&&t.length?ll(t,Xi(e,2),fl):void 0},Mn.mean=function(t){return ve(t,Wa)},Mn.meanBy=function(t,e){return ve(t,Xi(e,2))},Mn.min=function(t){return t&&t.length?ll(t,Wa,xl):void 0},Mn.minBy=function(t,e){return t&&t.length?ll(t,Xi(e,2),xl):void 0},Mn.stubArray=rs,Mn.stubFalse=os,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=hs,Mn.nth=function(t,e){return t&&t.length?Dl(t,ia(e)):void 0},Mn.noConflict=function(){return Ht._===this&&(Ht._=kt),this},Mn.noop=Qa,Mn.now=mo,Mn.pad=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;if(!e||l>=e)return t;var i=(e-l)/2;return Ti(Ze(i),n)+t+Ti(Qe(i),n)},Mn.padEnd=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;return e&&l<e?t+Ti(e-l,n):t},Mn.padStart=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;return e&&l<e?Ti(e-l,n)+t:t},Mn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),un(sa(t).replace(W,""),e||0)},Mn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&or(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=la(t),void 0===e?(e=t,t=0):e=la(e)),t>e){var l=t;t=e,e=l}if(n||t%1||e%1){var i=cn();return an(t+i*(e-t+Ut("1e-"+((i+"").length-1))),e)}return jl(t,e)},Mn.reduce=function(t,e,n){var l=Lo(t)?he:Pe,i=arguments.length<3;return l(t,Xi(e,4),n,i,tl)},Mn.reduceRight=function(t,e,n){var l=Lo(t)?pe:Pe,i=arguments.length<3;return l(t,Xi(e,4),n,i,el)},Mn.repeat=function(t,e,n){return e=(n?or(t,e,n):void 0===e)?1:ia(e),Rl(sa(t),e)},Mn.replace=function(){var t=arguments,e=sa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Mn.result=function(t,e,n){var l=-1,i=(e=oi(e,t)).length;for(i||(i=1,t=void 0);++l<i;){var r=null==t?void 0:t[Sr(e[l])];void 0===r&&(l=i,r=n),t=Bo(r)?r.call(t):r}return t},Mn.round=ps,Mn.runInContext=t,Mn.sample=function(t){return(Lo(t)?Yn:Nl)(t)},Mn.size=function(t){if(null==t)return 0;if(Ro(t))return Jo(t)?Ge(t):t.length;var e=er(t);return e==f||e==_?t.size:Pl(t).length},Mn.snakeCase=Fa,Mn.some=function(t,e,n){var l=Lo(t)?fe:Vl;return n&&or(t,e,n)&&(e=void 0),l(t,Xi(e,3))},Mn.sortedIndex=function(t,e){return ql(t,e)},Mn.sortedIndexBy=function(t,e,n){return Wl(t,e,Xi(n,2))},Mn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var l=ql(t,e);if(l<n&&Do(t[l],e))return l}return-1},Mn.sortedLastIndex=function(t,e){return ql(t,e,!0)},Mn.sortedLastIndexBy=function(t,e,n){return Wl(t,e,Xi(n,2),!0)},Mn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ql(t,e,!0)-1;if(Do(t[n],e))return n}return-1},Mn.startCase=Na,Mn.startsWith=function(t,e,n){return t=sa(t),n=null==n?0:Xn(ia(n),0,t.length),e=Kl(e),t.slice(n,n+e.length)==e},Mn.subtract=fs,Mn.sum=function(t){return t&&t.length?xe(t,Wa):0},Mn.sumBy=function(t,e){return t&&t.length?xe(t,Xi(e,2)):0},Mn.template=function(t,e,n){var l=Mn.templateSettings;n&&or(t,e,n)&&(e=void 0),t=sa(t),e=da({},e,l,Yi);var i,r,o=da({},e.imports,l.imports,Yi),a=va(o),s=Oe(o,a),u=0,c=e.interpolate||ut,d="__p += '",h=bt((e.escape||ut).source+"|"+c.source+"|"+(c===B?et:ut).source+"|"+(e.evaluate||ut).source+"|$","g"),p="//# sourceURL="+(Ct.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rt+"]")+"\n";t.replace(h,(function(e,n,l,o,a,s){return l||(l=o),d+=t.slice(u,s).replace(ct,Re),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(r=!0,d+="';\n"+a+";\n__p += '"),l&&(d+="' +\n((__t = ("+l+")) == null ? '' : __t) +\n'"),u=s+e.length,e})),d+="';\n";var f=Ct.call(e,"variable")&&e.variable;if(f){if(Z.test(f))throw new dt("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(r?d.replace(E,""):d).replace(I,"$1").replace(L,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var b=za((function(){return ht(a,p+"return "+d).apply(void 0,s)}));if(b.source=d,Uo(b))throw b;return b},Mn.times=function(t,e){if((t=ia(t))<1||t>9007199254740991)return[];var n=4294967295,l=an(t,4294967295);t-=4294967295;for(var i=Se(l,e=Xi(e));++n<t;)e(n);return i},Mn.toFinite=la,Mn.toInteger=ia,Mn.toLength=ra,Mn.toLower=function(t){return sa(t).toLowerCase()},Mn.toNumber=oa,Mn.toSafeInteger=function(t){return t?Xn(ia(t),-9007199254740991,9007199254740991):0===t?t:0},Mn.toString=sa,Mn.toUpper=function(t){return sa(t).toUpperCase()},Mn.trim=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return ke(t);if(!t||!(e=Kl(e)))return t;var l=He(t),i=He(e);return si(l,Te(l,i),Ee(l,i)+1).join("")},Mn.trimEnd=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return t.slice(0,Ve(t)+1);if(!t||!(e=Kl(e)))return t;var l=He(t);return si(l,0,Ee(l,He(e))+1).join("")},Mn.trimStart=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return t.replace(W,"");if(!t||!(e=Kl(e)))return t;var l=He(t);return si(l,Te(l,He(e))).join("")},Mn.truncate=function(t,e){var n=30,l="...";if(Ho(e)){var i="separator"in e?e.separator:i;n="length"in e?ia(e.length):n,l="omission"in e?Kl(e.omission):l}var r=(t=sa(t)).length;if(Fe(t)){var o=He(t);r=o.length}if(n>=r)return t;var a=n-Ge(l);if(a<1)return l;var s=o?si(o,0,a).join(""):t.slice(0,a);if(void 0===i)return s+l;if(o&&(a+=s.length-a),Xo(i)){if(t.slice(a).search(i)){var u,c=s;for(i.global||(i=bt(i.source,sa(nt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var d=u.index;s=s.slice(0,void 0===d?a:d)}}else if(t.indexOf(Kl(i),a)!=a){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+l},Mn.unescape=function(t){return(t=sa(t))&&F.test(t)?t.replace(j,qe):t},Mn.uniqueId=function(t){var e=++wt;return sa(t)+e},Mn.upperCase=Ya,Mn.upperFirst=Ua,Mn.each=ao,Mn.eachRight=so,Mn.first=jr,Ja(Mn,(as={},sl(Mn,(function(t,e){Ct.call(Mn.prototype,e)||(as[e]=t)})),as),{chain:!1}),Mn.VERSION="4.17.21",ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Mn[t].placeholder=Mn})),ie(["drop","take"],(function(t,e){En.prototype[t]=function(n){n=void 0===n?1:on(ia(n),0);var l=this.__filtered__&&!e?new En(this):this.clone();return l.__filtered__?l.__takeCount__=an(n,l.__takeCount__):l.__views__.push({size:an(n,4294967295),type:t+(l.__dir__<0?"Right":"")}),l},En.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,l=1==n||3==n;En.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Xi(t,3),type:n}),e.__filtered__=e.__filtered__||l,e}})),ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");En.prototype[t]=function(){return this[n](1).value()[0]}})),ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");En.prototype[t]=function(){return this.__filtered__?new En(this):this[n](1)}})),En.prototype.compact=function(){return this.filter(Wa)},En.prototype.find=function(t){return this.filter(t).head()},En.prototype.findLast=function(t){return this.reverse().find(t)},En.prototype.invokeMap=Fl((function(t,e){return"function"==typeof t?new En(this):this.map((function(n){return _l(n,t,e)}))})),En.prototype.reject=function(t){return this.filter(xo(Xi(t)))},En.prototype.slice=function(t,e){t=ia(t);var n=this;return n.__filtered__&&(t>0||e<0)?new En(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=ia(e))<0?n.dropRight(-e):n.take(e-t)),n)},En.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},En.prototype.toArray=function(){return this.take(4294967295)},sl(En.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),l=/^(?:head|last)$/.test(e),i=Mn[l?"take"+("last"==e?"Right":""):e],r=l||/^find/.test(e);i&&(Mn.prototype[e]=function(){var e=this.__wrapped__,o=l?[1]:arguments,a=e instanceof En,s=o[0],u=a||Lo(e),c=function(t){var e=i.apply(Mn,de([t],o));return l&&d?e[0]:e};u&&n&&"function"==typeof s&&1!=s.length&&(a=u=!1);var d=this.__chain__,h=!!this.__actions__.length,p=r&&!d,f=a&&!h;if(!r&&u){e=f?e:new En(this);var b=t.apply(e,o);return b.__actions__.push({func:no,args:[c],thisArg:void 0}),new Tn(b,d)}return p&&f?t.apply(this,o):(b=this.thru(c),p?l?b.value()[0]:b.value():b)})})),ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=_t[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",l=/^(?:pop|shift)$/.test(t);Mn.prototype[t]=function(){var t=arguments;if(l&&!this.__chain__){var i=this.value();return e.apply(Lo(i)?i:[],t)}return this[n]((function(n){return e.apply(Lo(n)?n:[],t)}))}})),sl(En.prototype,(function(t,e){var n=Mn[e];if(n){var l=n.name+"";Ct.call(yn,l)||(yn[l]=[]),yn[l].push({name:e,func:n})}})),yn[ki(void 0,2).name]=[{name:"wrapper",func:void 0}],En.prototype.clone=function(){var t=new En(this.__wrapped__);return t.__actions__=mi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=mi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=mi(this.__views__),t},En.prototype.reverse=function(){if(this.__filtered__){var t=new En(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},En.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Lo(t),l=e<0,i=n?t.length:0,r=function(t,e,n){for(var l=-1,i=n.length;++l<i;){var r=n[l],o=r.size;switch(r.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=an(e,t+o);break;case"takeRight":t=on(t,e-o)}}return{start:t,end:e}}(0,i,this.__views__),o=r.start,a=r.end,s=a-o,u=l?a:o-1,c=this.__iteratees__,d=c.length,h=0,p=an(s,this.__takeCount__);if(!n||!l&&i==s&&p==s)return ei(t,this.__actions__);var f=[];t:for(;s--&&h<p;){for(var b=-1,m=t[u+=e];++b<d;){var g=c[b],_=g.type,y=(0,g.iteratee)(m);if(2==_)m=y;else if(!y){if(1==_)continue t;break t}}f[h++]=m}return f},Mn.prototype.at=lo,Mn.prototype.chain=function(){return eo(this)},Mn.prototype.commit=function(){return new Tn(this.value(),this.__chain__)},Mn.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Mn.prototype.plant=function(t){for(var e,n=this;n instanceof Dn;){var l=Mr(n);l.__index__=0,l.__values__=void 0,e?i.__wrapped__=l:e=l;var i=l;n=n.__wrapped__}return i.__wrapped__=t,e},Mn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof En){var e=t;return this.__actions__.length&&(e=new En(this)),(e=e.reverse()).__actions__.push({func:no,args:[Gr],thisArg:void 0}),new Tn(e,this.__chain__)}return this.thru(Gr)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,be&&(Mn.prototype[be]=function(){return this}),Mn}();Ht._=We,void 0===(l=(function(){return We}).call(e,n,e,t))||(t.exports=l)}).call(this)}).call(this,n("YuTi")(t))},MNGd:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return d}));var l=n("EwAT"),i=n("hp/u"),r=n("9iPr"),o=n("N0mK"),a={Point:function(t,e,n,l){var r=n.getImage();if(r){if(r.getImageState()!=i.a.LOADED)return;var a=t.getBuilder(n.getZIndex(),o.a.IMAGE);a.setImageStyle(r,t.addDeclutter(!1)),a.drawPoint(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!!r)),u.drawText(e,l)}},LineString:function(t,e,n,l){var i=n.getStroke();if(i){var r=t.getBuilder(n.getZIndex(),o.a.LINE_STRING);r.setFillStrokeStyle(null,i),r.drawLineString(e,l)}var a=n.getText();if(a){var s=t.getBuilder(n.getZIndex(),o.a.TEXT);s.setTextStyle(a,t.addDeclutter(!1)),s.drawText(e,l)}},Polygon:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(i||r){var a=t.getBuilder(n.getZIndex(),o.a.POLYGON);a.setFillStrokeStyle(i,r),a.drawPolygon(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}},MultiPoint:function(t,e,n,l){var r=n.getImage();if(r){if(r.getImageState()!=i.a.LOADED)return;var a=t.getBuilder(n.getZIndex(),o.a.IMAGE);a.setImageStyle(r,t.addDeclutter(!1)),a.drawMultiPoint(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!!r)),u.drawText(e,l)}},MultiLineString:function(t,e,n,l){var i=n.getStroke();if(i){var r=t.getBuilder(n.getZIndex(),o.a.LINE_STRING);r.setFillStrokeStyle(null,i),r.drawMultiLineString(e,l)}var a=n.getText();if(a){var s=t.getBuilder(n.getZIndex(),o.a.TEXT);s.setTextStyle(a,t.addDeclutter(!1)),s.drawText(e,l)}},MultiPolygon:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(r||i){var a=t.getBuilder(n.getZIndex(),o.a.POLYGON);a.setFillStrokeStyle(i,r),a.drawMultiPolygon(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}},GeometryCollection:function(t,e,n,l){var i,r,o=e.getGeometriesArray();for(i=0,r=o.length;i<r;++i)(0,a[o[i].getType()])(t,o[i],n,l)},Circle:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(i||r){var a=t.getBuilder(n.getZIndex(),o.a.CIRCLE);a.setFillStrokeStyle(i,r),a.drawCircle(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}}};function s(t,e){return parseInt(Object(l.c)(t),10)-parseInt(Object(l.c)(e),10)}function u(t,e){var n=c(t,e);return n*n}function c(t,e){return.5*t/e}function d(t,e,n,l,s,u){var c=!1,d=n.getImage();if(d){var h=d.getImageState();h==i.a.LOADED||h==i.a.ERROR?d.unlistenImageChange(s):(h==i.a.IDLE&&d.load(),h=d.getImageState(),d.listenImageChange(s),c=!0)}return function(t,e,n,l,i){var s=n.getGeometryFunction()(e);if(s){var u=s.simplifyTransformed(l,i);n.getRenderer()?function t(e,n,l,i){if(n.getType()!=r.a.GEOMETRY_COLLECTION)e.getBuilder(l.getZIndex(),o.a.DEFAULT).drawCustom(n,i,l.getRenderer());else for(var a=n.getGeometries(),s=0,u=a.length;s<u;++s)t(e,a[s],l,i)}(t,u,n,e):(0,a[u.getType()])(t,u,n,e)}}(t,e,n,l,u),c}},"MO+k":function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,n){return function(t){var n={};for(var l in e)e.hasOwnProperty(l)&&(n[e[l]]=l);var i=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in i)if(i.hasOwnProperty(r)){if(!("channels"in i[r]))throw new Error("missing channels property: "+r);if(!("labels"in i[r]))throw new Error("missing channel labels property: "+r);if(i[r].labels.length!==i[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=i[r].channels,a=i[r].labels;delete i[r].channels,delete i[r].labels,Object.defineProperty(i[r],"channels",{value:o}),Object.defineProperty(i[r],"labels",{value:a})}i.rgb.hsl=function(t){var e,n,l=t[0]/255,i=t[1]/255,r=t[2]/255,o=Math.min(l,i,r),a=Math.max(l,i,r),s=a-o;return a===o?e=0:l===a?e=(i-r)/s:i===a?e=2+(r-l)/s:r===a&&(e=4+(l-i)/s),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+a)/2,[e,100*(a===o?0:n<=.5?s/(a+o):s/(2-a-o)),100*n]},i.rgb.hsv=function(t){var e,n,l,i,r,o=t[0]/255,a=t[1]/255,s=t[2]/255,u=Math.max(o,a,s),c=u-Math.min(o,a,s),d=function(t){return(u-t)/6/c+.5};return 0===c?i=r=0:(r=c/u,e=d(o),n=d(a),l=d(s),o===u?i=l-n:a===u?i=1/3+e-l:s===u&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*u]},i.rgb.hwb=function(t){var e=t[0],n=t[1],l=t[2];return[i.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,l))*100,100*(l=1-1/255*Math.max(e,Math.max(n,l)))]},i.rgb.cmyk=function(t){var e,n=t[0]/255,l=t[1]/255,i=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-l,1-i)))/(1-e)||0),100*((1-l-e)/(1-e)||0),100*((1-i-e)/(1-e)||0),100*e]},i.rgb.keyword=function(t){var l=n[t];if(l)return l;var i,r,o,a=1/0;for(var s in e)if(e.hasOwnProperty(s)){var u=(r=t,o=e[s],Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));u<a&&(a=u,i=s)}return i},i.keyword.rgb=function(t){return e[t]},i.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,l=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*e+.7152*n+.0722*l),100*(.0193*e+.1192*n+.9505*l)]},i.rgb.lab=function(t){var e=i.rgb.xyz(t),n=e[0],l=e[1],r=e[2];return l/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(n-l),200*(l-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.hsl.rgb=function(t){var e,n,l,i,r,o=t[0]/360,a=t[1]/100,s=t[2]/100;if(0===a)return[r=255*s,r,r];e=2*s-(n=s<.5?s*(1+a):s+a-s*a),i=[0,0,0];for(var u=0;u<3;u++)(l=o+1/3*-(u-1))<0&&l++,l>1&&l--,i[u]=255*(r=6*l<1?e+6*(n-e)*l:2*l<1?n:3*l<2?e+(n-e)*(2/3-l)*6:e);return i},i.hsl.hsv=function(t){var e=t[0],n=t[1]/100,l=t[2]/100,i=n,r=Math.max(l,.01);return n*=(l*=2)<=1?l:2-l,i*=r<=1?r:2-r,[e,100*(0===l?2*i/(r+i):2*n/(l+n)),(l+n)/2*100]},i.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,l=t[2]/100,i=Math.floor(e)%6,r=e-Math.floor(e),o=255*l*(1-n),a=255*l*(1-n*r),s=255*l*(1-n*(1-r));switch(l*=255,i){case 0:return[l,s,o];case 1:return[a,l,o];case 2:return[o,l,s];case 3:return[o,a,l];case 4:return[s,o,l];case 5:return[l,o,a]}},i.hsv.hsl=function(t){var e,n,l,i=t[0],r=t[1]/100,o=t[2]/100,a=Math.max(o,.01);return l=(2-r)*o,n=r*a,[i,100*(n=(n/=(e=(2-r)*a)<=1?e:2-e)||0),100*(l/=2)]},i.hwb.rgb=function(t){var e,n,l,i,r,o,a,s=t[0]/360,u=t[1]/100,c=t[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),l=6*s-(e=Math.floor(6*s)),0!=(1&e)&&(l=1-l),i=u+l*((n=1-c)-u),e){default:case 6:case 0:r=n,o=i,a=u;break;case 1:r=i,o=n,a=u;break;case 2:r=u,o=n,a=i;break;case 3:r=u,o=i,a=n;break;case 4:r=i,o=u,a=n;break;case 5:r=n,o=u,a=i}return[255*r,255*o,255*a]},i.cmyk.rgb=function(t){var e=t[1]/100,n=t[2]/100,l=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-l)+l)),255*(1-Math.min(1,e*(1-l)+l)),255*(1-Math.min(1,n*(1-l)+l))]},i.xyz.rgb=function(t){var e,n,l,i=t[0]/100,r=t[1]/100,o=t[2]/100;return n=-.9689*i+1.8758*r+.0415*o,l=.0557*i+-.204*r+1.057*o,e=(e=3.2406*i+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(l=Math.min(Math.max(0,l),1))]},i.xyz.lab=function(t){var e=t[0],n=t[1],l=t[2];return n/=100,l/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},i.lab.xyz=function(t){var e,n,l;e=t[1]/500+(n=(t[0]+16)/116),l=n-t[2]/200;var i=Math.pow(n,3),r=Math.pow(e,3),o=Math.pow(l,3);return n=i>.008856?i:(n-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,l=o>.008856?o:(l-16/116)/7.787,[e*=95.047,n*=100,l*=108.883]},i.lab.lch=function(t){var e,n=t[0],l=t[1],i=t[2];return(e=360*Math.atan2(i,l)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(l*l+i*i),e]},i.lch.lab=function(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]},i.rgb.ansi16=function(t){var e=t[0],n=t[1],l=t[2],r=1 in arguments?arguments[1]:i.rgb.hsv(t)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(l/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===r&&(o+=60),o},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){var e=t[0],n=t[1],l=t[2];return e===n&&n===l?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(l/255*5)},i.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},i.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var l=parseInt(n,16);return[l>>16&255,l>>8&255,255&l]},i.rgb.hcg=function(t){var e,n=t[0]/255,l=t[1]/255,i=t[2]/255,r=Math.max(Math.max(n,l),i),o=Math.min(Math.min(n,l),i),a=r-o;return e=a<=0?0:r===n?(l-i)/a%6:r===l?2+(i-n)/a:4+(n-l)/a+4,e/=6,[360*(e%=1),100*a,100*(a<1?o/(1-a):0)]},i.hsl.hcg=function(t){var e,n=t[1]/100,l=t[2]/100,i=0;return(e=l<.5?2*n*l:2*n*(1-l))<1&&(i=(l-.5*e)/(1-e)),[t[0],100*e,100*i]},i.hsv.hcg=function(t){var e=t[2]/100,n=t[1]/100*e,l=0;return n<1&&(l=(e-n)/(1-n)),[t[0],100*n,100*l]},i.hcg.rgb=function(t){var e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];var l,i=[0,0,0],r=t[0]/360%1*6,o=r%1,a=1-o;switch(Math.floor(r)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return[255*(e*i[0]+(l=(1-e)*n)),255*(e*i[1]+l),255*(e*i[2]+l)]},i.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),l=0;return n>0&&(l=e/n),[t[0],100*l,100*n]},i.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,l=0;return n>0&&n<.5?l=e/(2*n):n>=.5&&n<1&&(l=e/(2*(1-n))),[t[0],100*l,100*n]},i.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},i.hwb.hcg=function(t){var e=1-t[2]/100,n=e-t[1]/100,l=0;return n<1&&(l=(e-n)/(1-n)),[t[0],100*n,100*l]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=i.gray.hsv=function(t){return[0,0,t[0]]},i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}(n={exports:{}}),n.exports}();function l(t,e){return function(n){return e(t(n))}}function i(t,e){for(var i=[e[t].parent,t],r=n[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),r=l(n[e[o].parent][o],r),o=e[o].parent;return r.conversion=i,r}var r={};Object.keys(n).forEach((function(t){r[t]={},Object.defineProperty(r[t],"channels",{value:n[t].channels}),Object.defineProperty(r[t],"labels",{value:n[t].labels});var e=function(t){for(var e=function(t){var e=function(){for(var t={},e=Object.keys(n),l=e.length,i=0;i<l;i++)t[e[i]]={distance:-1,parent:null};return t}(),l=[t];for(e[t].distance=0;l.length;)for(var i=l.pop(),r=Object.keys(n[i]),o=r.length,a=0;a<o;a++){var s=r[a],u=e[s];-1===u.distance&&(u.distance=e[i].distance+1,u.parent=i,l.unshift(s))}return e}(t),l={},r=Object.keys(e),o=r.length,a=0;a<o;a++){var s=r[a];null!==e[s].parent&&(l[s]=i(s,e))}return l}(t);Object.keys(e).forEach((function(n){var l=e[n];r[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var l=n.length,i=0;i<l;i++)n[i]=Math.round(n[i]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(l),r[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(l)}))}));var o=r,a={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},s={getRgba:u,getHsla:c,getRgb:function(t){var e=u(t);return e&&e.slice(0,3)},getHsl:function(t){var e=c(t);return e&&e.slice(0,3)},getHwb:d,getAlpha:function(t){var e=u(t);return e||(e=c(t))||(e=d(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+m(t[0])+m(t[1])+m(t[2])+(e>=0&&e<1?m(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?h(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:h,percentString:function(t,e){return e<1||t[3]&&t[3]<1?p(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:p,hslString:function(t,e){return e<1||t[3]&&t[3]<1?f(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:f,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return g[t.slice(0,3)]}};function u(t){if(t){var e=[0,0,0],n=1,l=t.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(l){i=(l=l[1])[3];for(var r=0;r<e.length;r++)e[r]=parseInt(l[r]+l[r],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(l=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(i=l[2],l=l[1],r=0;r<e.length;r++)e[r]=parseInt(l.slice(2*r,2*r+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(l=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(l[r+1]);n=parseFloat(l[4])}else if(l=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(l[r+1]));n=parseFloat(l[4])}else if(l=t.match(/(\w+)/)){if("transparent"==l[1])return[0,0,0,0];if(!(e=a[l[1]]))return}for(r=0;r<e.length;r++)e[r]=b(e[r],0,255);return n=n||0==n?b(n,0,1):1,e[3]=n,e}}function c(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[b(parseInt(e[1]),0,360),b(parseFloat(e[2]),0,100),b(parseFloat(e[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function d(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[b(parseInt(e[1]),0,360),b(parseFloat(e[2]),0,100),b(parseFloat(e[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function h(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function p(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function f(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function b(t,e,n){return Math.min(Math.max(e,t),n)}function m(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var g={};for(var _ in a)g[a[_]]=_;var y=function(t){return t instanceof y?t:this instanceof y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=s.getRgba(t))?this.setValues("rgb",e):(e=s.getHsla(t))?this.setValues("hsl",e):(e=s.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new y(t);var e};y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return s.hexString(this.values.rgb)},rgbString:function(){return s.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return s.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return s.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return s.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return s.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return s.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return s.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var l=t[n]/255;e[n]=l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,l=void 0===e?.5:e,i=2*l-1,r=this.alpha()-n.alpha(),o=((i*r==-1?i:(i+r)/(1+i*r))+1)/2,a=1-o;return this.rgb(o*this.red()+a*n.red(),o*this.green()+a*n.green(),o*this.blue()+a*n.blue()).alpha(this.alpha()*l+n.alpha()*(1-l))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new y,l=this.values,i=n.values;for(var r in l)l.hasOwnProperty(r)&&("[object Array]"===(e={}.toString.call(t=l[r]))?i[r]=t.slice(0):"[object Number]"===e?i[r]=t:console.error("unexpected color value:",t));return n}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(t){for(var e=this.values,n={},l=0;l<t.length;l++)n[t.charAt(l)]=e[t][l];return 1!==e.alpha&&(n.a=e.alpha),n},y.prototype.setValues=function(t,e){var n,l,i=this.values,r=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)i[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)i[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[r[t][0]]){var u=r[t];for(n=0;n<t.length;n++)i[t][n]=e[u[n]];s=e.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===t)return!1;for(n=0;n<t.length;n++)l=Math.max(0,Math.min(a[t][n],i[t][n])),i[t][n]=Math.round(l);for(var c in r)c!==t&&(i[c]=o[t][c](i[t]));return!0},y.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},y.prototype.setChannel=function(t,e,n){var l=this.values[t];return void 0===n?l[e]:(n===l[e]||(l[e]=n,this.setValues(t,l)),this)},"undefined"!=typeof window&&(window.Color=y);var A=y;function v(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}var C,w={noop:function(){},uid:(C=0,function(){return C++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return w.valueOrDefault(w.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,l){var i,r,o;if(w.isArray(t))if(r=t.length,l)for(i=r-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<r;i++)e.call(n,t[i],i);else if(w.isObject(t))for(r=(o=Object.keys(t)).length,i=0;i<r;i++)e.call(n,t[o[i]],o[i])},arrayEquals:function(t,e){var n,l,i,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,l=t.length;n<l;++n)if(r=e[n],(i=t[n])instanceof Array&&r instanceof Array){if(!w.arrayEquals(i,r))return!1}else if(i!==r)return!1;return!0},clone:function(t){if(w.isArray(t))return t.map(w.clone);if(w.isObject(t)){for(var e=Object.create(t),n=Object.keys(t),l=n.length,i=0;i<l;++i)e[n[i]]=w.clone(t[n[i]]);return e}return t},_merger:function(t,e,n,l){if(v(t)){var i=e[t],r=n[t];w.isObject(i)&&w.isObject(r)?w.merge(i,r,l):e[t]=w.clone(r)}},_mergerIf:function(t,e,n){if(v(t)){var l=e[t],i=n[t];w.isObject(l)&&w.isObject(i)?w.mergeIf(l,i):e.hasOwnProperty(t)||(e[t]=w.clone(i))}},merge:function(t,e,n){var l,i,r,o,a,s=w.isArray(e)?e:[e],u=s.length;if(!w.isObject(t))return t;for(l=(n=n||{}).merger||w._merger,i=0;i<u;++i)if(w.isObject(e=s[i]))for(a=0,o=(r=Object.keys(e)).length;a<o;++a)l(r[a],t,e,n);return t},mergeIf:function(t,e){return w.merge(t,e,{merger:w._mergerIf})},extend:Object.assign||function(t){return w.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},l=function(){this.constructor=n};return l.prototype=e.prototype,n.prototype=new l,n.extend=w.inherits,t&&w.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,l){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+l+'" instead')}},P=w;w.callCallback=w.callback,w.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},w.getValueOrDefault=w.valueOrDefault,w.getValueAtIndexOrDefault=w.valueAtIndexOrDefault;var x={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:1===t?1:(n||(n=.3),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),-l*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:1===t?1:(n||(n=.3),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),l*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),t<1?l*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:l*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-x.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*x.easeInBounce(2*t):.5*x.easeOutBounce(2*t-1)+.5}},S={effects:x};P.easingEffects=x;var k=Math.PI,M=k/180,O=2*k,D=k/2,T=k/4,E=2*k/3,I={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,l,i,r){if(r){var o=Math.min(r,i/2,l/2),a=e+o,s=n+o,u=e+l-o,c=n+i-o;t.moveTo(e,s),a<u&&s<c?(t.arc(a,s,o,-k,-D),t.arc(u,s,o,-D,0),t.arc(u,c,o,0,D),t.arc(a,c,o,D,k)):a<u?(t.moveTo(a,n),t.arc(u,s,o,-D,D),t.arc(a,s,o,D,k+D)):s<c?(t.arc(a,s,o,-k,0),t.arc(a,c,o,0,k)):t.arc(a,s,o,-k,k),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,l,i)},drawPoint:function(t,e,n,l,i,r){var o,a,s,u,c,d=(r||0)*M;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(o=e.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(l,i),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(l,i,n,0,O),t.closePath();break;case"triangle":t.moveTo(l+Math.sin(d)*n,i-Math.cos(d)*n),d+=E,t.lineTo(l+Math.sin(d)*n,i-Math.cos(d)*n),d+=E,t.lineTo(l+Math.sin(d)*n,i-Math.cos(d)*n),t.closePath();break;case"rectRounded":u=n-(c=.516*n),a=Math.cos(d+T)*u,s=Math.sin(d+T)*u,t.arc(l-a,i-s,c,d-k,d-D),t.arc(l+s,i-a,c,d-D,d),t.arc(l+a,i+s,c,d,d+D),t.arc(l-s,i+a,c,d+D,d+k),t.closePath();break;case"rect":if(!r){u=Math.SQRT1_2*n,t.rect(l-u,i-u,2*u,2*u);break}d+=T;case"rectRot":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+s,i-a),t.lineTo(l+a,i+s),t.lineTo(l-s,i+a),t.closePath();break;case"crossRot":d+=T;case"cross":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a);break;case"star":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a),d+=T,a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a);break;case"line":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s);break;case"dash":t.moveTo(l,i),t.lineTo(l+Math.cos(d)*n,i+Math.sin(d)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,l){var i=n.steppedLine;if(i){if("middle"===i){var r=(e.x+n.x)/2;t.lineTo(r,l?n.y:e.y),t.lineTo(r,l?e.y:n.y)}else"after"===i&&!l||"after"!==i&&l?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(l?e.controlPointPreviousX:e.controlPointNextX,l?e.controlPointPreviousY:e.controlPointNextY,l?n.controlPointNextX:n.controlPointPreviousX,l?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},L=I;P.clear=I.clear,P.drawRoundedRectangle=function(t){t.beginPath(),I.roundedRect.apply(I,arguments)};var j={_set:function(t,e){return P.merge(this[t]||(this[t]={}),e)}};j._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var R=j,F=P.valueOrDefault,N={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,l,i;return P.isObject(t)?(e=+t.top||0,n=+t.right||0,l=+t.bottom||0,i=+t.left||0):e=n=l=i=+t||0,{top:e,right:n,bottom:l,left:i,height:e+l,width:i+n}},_parseFont:function(t){var e=R.global,n=F(t.fontSize,e.defaultFontSize),l={family:F(t.fontFamily,e.defaultFontFamily),lineHeight:P.options.toLineHeight(F(t.lineHeight,e.defaultLineHeight),n),size:n,style:F(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return l.string=function(t){return!t||P.isNullOrUndef(t.size)||P.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(l),l},resolve:function(t,e,n,l){var i,r,o,a=!0;for(i=0,r=t.length;i<r;++i)if(void 0!==(o=t[i])&&(void 0!==e&&"function"==typeof o&&(o=o(e),a=!1),void 0!==n&&P.isArray(o)&&(o=o[n],a=!1),void 0!==o))return l&&!a&&(l.cacheable=!1),o}},Y={_factorize:function(t){var e,n=[],l=Math.sqrt(t);for(e=1;e<l;e++)t%e==0&&(n.push(e),n.push(t/e));return l===(0|l)&&n.push(l),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},U=Y;P.log10=Y.log10;var B=P,z=L,G=N,H=U;B.easing=S,B.canvas=z,B.options=G,B.math=H,B.rtl={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,l;"ltr"!==e&&"rtl"!==e||(l=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=l)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};var V=function(t){B.extend(this,t),this.initialize.apply(this,arguments)};B.extend(V.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=B.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,l=e._start,i=e._view;return n&&1!==t?(i||(i=e._view={}),l||(l=e._start={}),function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p=Object.keys(n);for(i=0,r=p.length;i<r;++i)if(u=n[o=p[i]],e.hasOwnProperty(o)||(e[o]=u),(a=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=a),(c=typeof u)==typeof(s=t[o]))if("string"===c){if((d=A(s)).valid&&(h=A(u)).valid){e[o]=h.mix(d,l).rgbString();continue}}else if(B.isFinite(s)&&B.isFinite(u)){e[o]=s+(u-s)*l;continue}e[o]=u}}(l,i,n,t),e):(e._view=B.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return B.isNumber(this._model.x)&&B.isNumber(this._model.y)}}),V.extend=B.inherits;var q=V,W=q.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),$=W;Object.defineProperty(W.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(W.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),R._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:B.noop,onComplete:B.noop}});var X={animations:[],request:null,addAnimation:function(t,e,n,l){var i,r,o=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,l||(t.animating=!0),i=0,r=o.length;i<r;++i)if(o[i].chart===t)return void(o[i]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=B.findIndex(this.animations,(function(e){return e.chart===t}));-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=B.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,l,i=this.animations,r=0;r<i.length;)e=(t=i[r]).chart,n=t.numSteps,l=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(l,n),B.callback(t.render,[e,t],e),B.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(B.callback(t.onAnimationComplete,[t],e),e.animating=!1,i.splice(r,1)):++r}},K=B.options.resolve,J=["push","pop","shift","splice","unshift"];function Q(t,e){var n=t._chartjs;if(n){var l=n.listeners,i=l.indexOf(e);-1!==i&&l.splice(i,1),l.length>0||(J.forEach((function(e){delete t[e]})),delete t._chartjs)}}var Z=function(t,e){this.initialize(t,e)};B.extend(Z.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,l=this.getDataset(),i=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!l.xAxisID||(t.xAxisID=l.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!l.yAxisID||(t.yAxisID=l.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Q(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),l=this.getDataset().data||[],i=n.data;for(t=0,e=l.length;t<e;++t)i[t]=i[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,n=this,l=n.getDataset(),i=l.data||(l.data=[]);n._data!==i&&(n._data&&Q(n._data,n),i&&Object.isExtensible(i)&&(e=n,(t=i)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),J.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),l=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),i=l.apply(this,e);return B.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),i}})})))),n._data=i),n.resyncElements()},_configure:function(){this._config=B.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&B._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:B.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],l=n.length,i=0;i<l;++i)n[i].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,l=0;for(t.dataset&&t.dataset.draw();l<n;++l)e[l].draw()},getStyle:function(t){var e,n=this.getMeta(),l=n.dataset;return this._configure(),!1!==(e=l&&void 0===t?this._resolveDatasetElementOptions(l||{}):this._resolveDataElementOptions(n.data[t=t||0]||{},t)).fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,l,i,r,o=this,a=o.chart,s=o._config,u=t.custom||{},c=a.options.elements[o.datasetElementType.prototype._type]||{},d=o._datasetElementOptions,h={},p={chart:a,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n=0,l=d.length;n<l;++n)i=d[n],r=e?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,h[i]=K([u[r],s[r],c[r]],p);return h},_resolveDataElementOptions:function(t,e){var n=this,l=t&&t.custom,i=n._cachedDataOpts;if(i&&!l)return i;var r,o,a,s,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,p={},f={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},b={cacheable:!l};if(l=l||{},B.isArray(h))for(o=0,a=h.length;o<a;++o)p[s=h[o]]=K([l[s],c[s],d[s]],f,e,b);else for(o=0,a=(r=Object.keys(h)).length;o<a;++o)p[s=r[o]]=K([l[s],c[h[s]],c[s],d[s]],f,e,b);return b.cacheable&&(n._cachedDataOpts=Object.freeze(p)),p},removeHoverStyle:function(t){B.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,l=t.custom||{},i=t._model,r=B.getHoverColor;t.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=K([l.hoverBackgroundColor,e.hoverBackgroundColor,r(i.backgroundColor)],void 0,n),i.borderColor=K([l.hoverBorderColor,e.hoverBorderColor,r(i.borderColor)],void 0,n),i.borderWidth=K([l.hoverBorderWidth,e.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,l,i,r,o=this.getMeta().dataset,a={};if(o){for(r=o._model,i=this._resolveDatasetElementOptions(o,!0),t=0,e=(l=Object.keys(i)).length;t<e;++t)a[n=l[t]]=r[n],r[n]=i[n];o.$previousStyle=a}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,l=e.length;l<n?t.data.splice(l,n-l):l>n&&this.insertElements(n,l-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Z.extend=B.inherits;var tt=Z,et=2*Math.PI;function nt(t,e){var n=e.startAngle,l=e.endAngle,i=e.pixelMargin,r=i/e.outerRadius,o=e.x,a=e.y;t.beginPath(),t.arc(o,a,e.outerRadius,n-r,l+r),e.innerRadius>i?t.arc(o,a,e.innerRadius-i,l+(r=i/e.innerRadius),n-r,!0):t.arc(o,a,i,l+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}R._set("global",{elements:{arc:{backgroundColor:R.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var lt=q.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var l=B.getAngleFromPoint(n,{x:t,y:e}),i=l.angle,r=l.distance,o=n.startAngle,a=n.endAngle;a<o;)a+=et;for(;i>a;)i-=et;for(;i<o;)i+=et;return i>=o&&i<=a&&r>=n.innerRadius&&r<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,l="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-l,0),pixelMargin:l,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/et)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+et,e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),t=0;t<i.fullCircles;++t)e.fill();i.endAngle=i.startAngle+n.circumference%et}e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&function(t,e,n){var l="inner"===e.borderAlign;l?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,l){var i,r=n.endAngle;for(l&&(n.endAngle=n.startAngle+et,nt(t,n),n.endAngle=r,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=et,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+et,n.startAngle,!0),i=0;i<n.fullCircles;++i)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+et),i=0;i<n.fullCircles;++i)t.stroke()}(t,e,n,l),l&&nt(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}(e,n,i),e.restore()}}),it=B.valueOrDefault,rt=R.global.defaultColor;R._set("global",{elements:{line:{tension:.4,backgroundColor:rt,borderWidth:3,borderColor:rt,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ot=q.extend({_type:"line",draw:function(){var t,e,n,l=this,i=l._view,r=l._chart.ctx,o=i.spanGaps,a=l._children.slice(),s=R.global,u=s.elements.line,c=-1,d=l._loop;if(a.length){if(l._loop){for(t=0;t<a.length;++t)if(e=B.previousItem(a,t),!a[t]._view.skip&&e._view.skip){a=a.slice(t).concat(a.slice(0,t)),d=o;break}d&&a.push(a[0])}for(r.save(),r.lineCap=i.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(i.borderDash||u.borderDash),r.lineDashOffset=it(i.borderDashOffset,u.borderDashOffset),r.lineJoin=i.borderJoinStyle||u.borderJoinStyle,r.lineWidth=it(i.borderWidth,u.borderWidth),r.strokeStyle=i.borderColor||s.defaultColor,r.beginPath(),(n=a[0]._view).skip||(r.moveTo(n.x,n.y),c=0),t=1;t<a.length;++t)n=a[t]._view,e=-1===c?B.previousItem(a,t):a[c],n.skip||(c!==t-1&&!o||-1===c?r.moveTo(n.x,n.y):B.canvas.lineTo(r,e._view,n),c=t);d&&r.closePath(),r.stroke(),r.restore()}}}),at=B.valueOrDefault,st=R.global.defaultColor;function ut(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}R._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:st,borderColor:st,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ct=q.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ut,inXRange:ut,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,l=e.pointStyle,i=e.rotation,r=e.radius,o=e.x,a=e.y,s=R.global,u=s.defaultColor;e.skip||(void 0===t||B.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=at(e.borderWidth,s.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,B.canvas.drawPoint(n,l,r,o,a,i))}}),dt=R.global.defaultColor;function ht(t){return t&&void 0!==t.width}function pt(t){var e,n,l,i,r;return ht(t)?(e=t.x-(r=t.width/2),n=t.x+r,l=Math.min(t.y,t.base),i=Math.max(t.y,t.base)):(r=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),l=t.y-r,i=t.y+r),{left:e,top:l,right:n,bottom:i}}function ft(t,e,n){return t===e?n:t===n?e:t}function bt(t,e,n){var l=null===e,i=null===n,r=!(!t||l&&i)&&pt(t);return r&&(l||e>=r.left&&e<=r.right)&&(i||n>=r.top&&n<=r.bottom)}R._set("global",{elements:{rectangle:{backgroundColor:dt,borderColor:dt,borderSkipped:"bottom",borderWidth:0}}});var mt=q.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=pt(t),n=e.right-e.left,l=e.bottom-e.top,i=function(t,e,n){var l,i,r,o,a=t.borderWidth,s=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=ft(e,"left","right")):t.base<t.y&&(e=ft(e,"bottom","top")),n[e]=!0,n):n}(t);return B.isObject(a)?(l=+a.top||0,i=+a.right||0,r=+a.bottom||0,o=+a.left||0):l=i=r=o=+a||0,{t:s.top||l<0?0:l>n?n:l,r:s.right||i<0?0:i>e?e:i,b:s.bottom||r<0?0:r>n?n:r,l:s.left||o<0?0:o>e?e:o}}(t,n/2,l/2);return{outer:{x:e.left,y:e.top,w:n,h:l},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:l-i.t-i.b}}}(e),l=n.outer,i=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(l.x,l.y,l.w,l.h),l.w===i.w&&l.h===i.h||(t.save(),t.beginPath(),t.rect(l.x,l.y,l.w,l.h),t.clip(),t.fillStyle=e.borderColor,t.rect(i.x,i.y,i.w,i.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return bt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return ht(n)?bt(n,t,null):bt(n,null,e)},inXRange:function(t){return bt(this._view,t,null)},inYRange:function(t){return bt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return ht(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return ht(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),gt={},_t=ot,yt=ct,At=mt;gt.Arc=lt,gt.Line=_t,gt.Point=yt,gt.Rectangle=At;var vt=B._deprecated,Ct=B.valueOrDefault;R._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),R._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var wt=tt.extend({dataElementType:gt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;tt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,vt("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),vt("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),vt("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),vt("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),vt("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,l=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=l.length;e<n;++e)this.updateElement(l[e],e,t)},updateElement:function(t,e,n){var l=this,i=l.getMeta(),r=l.getDataset(),o=l._resolveDataElementOptions(t,e);t._xScale=l.getScaleForId(i.xAxisID),t._yScale=l.getScaleForId(i.yAxisID),t._datasetIndex=l.index,t._index=e,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:l.chart.data.labels[e]},B.isArray(r.data[e])&&(t._model.borderSkipped=null),l._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,l){var i=this,r=t._model,o=i._getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),u=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,e,l),d=i.calculateBarIndexPixels(i.index,e,u,l);r.horizontal=s,r.base=n?a:c.base,r.x=s?n?a:c.head:d.center,r.y=s?d.center:n?a:c.head,r.height=s?d.size:void 0,r.width=s?void 0:d.size},_getStacks:function(t){var e,n,l=this._getIndexScale(),i=l._getMatchingVisibleMetas(this._type),r=l.options.stacked,o=i.length,a=[];for(e=0;e<o&&(n=i[e],(!1===r||-1===a.indexOf(n.stack)||void 0===r&&void 0===n.stack)&&a.push(n.stack),n.index!==t);++e);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),l=void 0!==e?n.indexOf(e):-1;return-1===l?n.length-1:l},getRuler:function(){var t,e,n=this._getIndexScale(),l=[];for(t=0,e=this.getMeta().data.length;t<e;++t)l.push(n.getPixelForValue(null,t,this.index));return{pixels:l,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var l,i,r,o,a,s,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),p=c.data.datasets,f=d._getMatchingVisibleMetas(this._type),b=d._parseValue(p[t].data[e]),m=n.minBarLength,g=d.options.stacked,_=this.getMeta().stack,y=void 0===b.start?0:b.max>=0&&b.min>=0?b.min:b.max,A=void 0===b.start?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,v=f.length;if(g||void 0===g&&void 0!==_)for(l=0;l<v&&(i=f[l]).index!==t;++l)i.stack===_&&(r=void 0===(u=d._parseValue(p[i.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(b.min<0&&r<0||b.max>=0&&r>0)&&(y+=r));return o=d.getPixelForValue(y),s=(a=d.getPixelForValue(y+A))-o,void 0!==m&&Math.abs(s)<m&&(s=m,a=A>=0&&!h||A<0&&h?o-m:o+m),{size:s,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(t,e,n,l){var i="flex"===l.barThickness?function(t,e,n){var l,i=e.pixels,r=i[t],o=t>0?i[t-1]:null,a=t<i.length-1?i[t+1]:null,s=n.categoryPercentage;return null===o&&(o=r-(null===a?e.end-e.start:a-r)),null===a&&(a=r+r-o),l=r-(r-Math.min(o,a))/2*s,{chunk:Math.abs(a-o)/2*s/e.stackCount,ratio:n.barPercentage,start:l}}(e,n,l):function(t,e,n){var l,i,r=n.barThickness,o=e.stackCount,a=e.pixels[t],s=B.isNullOrUndef(r)?function(t,e){var n,l,i,r,o=t._length;for(i=1,r=e.length;i<r;++i)o=Math.min(o,Math.abs(e[i]-e[i-1]));for(i=0,r=t.getTicks().length;i<r;++i)l=t.getPixelForTick(i),o=i>0?Math.min(o,Math.abs(l-n)):o,n=l;return o}(e.scale,e.pixels):-1;return B.isNullOrUndef(r)?(l=s*n.categoryPercentage,i=n.barPercentage):(l=r*o,i=1),{chunk:l/o,ratio:i,start:a-l/2}}(e,n,l),r=this.getStackIndex(t,this.getMeta().stack),o=i.start+i.chunk*r+i.chunk/2,a=Math.min(Ct(l.maxBarThickness,1/0),i.chunk*i.ratio);return{base:o-a/2,head:o+a/2,center:o,size:a}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,l=this.getDataset(),i=n.length,r=0;for(B.canvas.clipArea(t.ctx,t.chartArea);r<i;++r){var o=e._parseValue(l.data[r]);isNaN(o.min)||isNaN(o.max)||n[r].draw()}B.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=this,e=B.extend({},tt.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,l=t._getValueScale().options;return e.barPercentage=Ct(n.barPercentage,e.barPercentage),e.barThickness=Ct(n.barThickness,e.barThickness),e.categoryPercentage=Ct(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=Ct(n.maxBarThickness,e.maxBarThickness),e.minBarLength=Ct(l.minBarLength,e.minBarLength),e}}),Pt=B.valueOrDefault,xt=B.options.resolve;R._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}});var St=tt.extend({dataElementType:gt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta();B.each(n.data,(function(n,l){e.updateElement(n,l,t)}))},updateElement:function(t,e,n){var l=this,i=l.getMeta(),r=t.custom||{},o=l.getScaleForId(i.xAxisID),a=l.getScaleForId(i.yAxisID),s=l._resolveDataElementOptions(t,e),u=l.getDataset().data[e],c=l.index,d=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?a.getBasePixel():a.getPixelForValue(u,e,c);t._xScale=o,t._yScale=a,t._options=s,t._datasetIndex=c,t._index=e,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,rotation:s.rotation,radius:n?0:s.radius,skip:r.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Pt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=Pt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=Pt(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,l=n.chart,i=n.getDataset(),r=t.custom||{},o=i.data[e]||{},a=tt.prototype._resolveDataElementOptions.apply(n,arguments),s={chart:l,dataIndex:e,dataset:i,datasetIndex:n.index};return n._cachedDataOpts===a&&(a=B.extend({},a)),a.radius=xt([r.radius,o.r,n._config.radius,l.options.elements.point.radius],s,e),a}}),kt=B.valueOrDefault,Mt=Math.PI,Ot=2*Mt,Dt=Mt/2;R._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data,o=r.datasets,a=r.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],a[e]&&l.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,l){var i=t.getDatasetMeta(0),r=i.controller.getStyle(l);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[l])||i.data[l].hidden,index:l}})):[]}},onClick:function(t,e){var n,l,i,r=e.index,o=this.chart;for(n=0,l=(o.data.datasets||[]).length;n<l;++n)(i=o.getDatasetMeta(n)).data[r]&&(i.data[r].hidden=!i.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-Dt,circumference:Ot,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],l=": "+e.datasets[t.datasetIndex].data[t.index];return B.isArray(n)?(n=n.slice())[0]+=l:n+=l,n}}}});var Tt=tt.extend({dataElementType:gt.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,l=this,i=l.chart,r=i.chartArea,o=i.options,a=1,s=1,u=0,c=0,d=l.getMeta(),h=d.data,p=o.cutoutPercentage/100||0,f=o.circumference,b=l._getRingWeight(l.index);if(f<Ot){var m=o.rotation%Ot,g=(m+=m>=Mt?-Ot:m<-Mt?Ot:0)+f,_=Math.cos(m),y=Math.sin(m),A=Math.cos(g),v=Math.sin(g),C=m<=0&&g>=0||g>=Ot,w=m<=Dt&&g>=Dt||g>=Ot+Dt,P=m<=-Dt&&g>=-Dt||g>=Mt+Dt,x=m===-Mt||g>=Mt?-1:Math.min(_,_*p,A,A*p),S=P?-1:Math.min(y,y*p,v,v*p),k=C?1:Math.max(_,_*p,A,A*p),M=w?1:Math.max(y,y*p,v,v*p);a=(k-x)/2,s=(M-S)/2,u=-(k+x)/2,c=-(M+S)/2}for(e=0,n=h.length;e<n;++e)h[e]._options=l._resolveDataElementOptions(h[e],e);for(i.borderWidth=l.getMaxBorderWidth(),i.outerRadius=Math.max(Math.min((r.right-r.left-i.borderWidth)/a,(r.bottom-r.top-i.borderWidth)/s)/2,0),i.innerRadius=Math.max(i.outerRadius*p,0),i.radiusLength=(i.outerRadius-i.innerRadius)/(l._getVisibleDatasetWeightTotal()||1),i.offsetX=u*i.outerRadius,i.offsetY=c*i.outerRadius,d.total=l.calculateTotal(),l.outerRadius=i.outerRadius-i.radiusLength*l._getRingWeightOffset(l.index),l.innerRadius=Math.max(l.outerRadius-i.radiusLength*b,0),e=0,n=h.length;e<n;++e)l.updateElement(h[e],e,t)},updateElement:function(t,e,n){var l=this,i=l.chart,r=i.chartArea,o=i.options,a=o.animation,s=(r.left+r.right)/2,u=(r.top+r.bottom)/2,c=o.rotation,d=o.rotation,h=l.getDataset(),p=n&&a.animateRotate||t.hidden?0:l.calculateCircumference(h.data[e])*(o.circumference/Ot),f=t._options||{};B.extend(t,{_datasetIndex:l.index,_index:e,_model:{backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,borderAlign:f.borderAlign,x:s+i.offsetX,y:u+i.offsetY,startAngle:c,endAngle:d,circumference:p,outerRadius:n&&a.animateScale?0:l.outerRadius,innerRadius:n&&a.animateScale?0:l.innerRadius,label:B.valueAtIndexOrDefault(h.label,e,i.data.labels[e])}});var b=t._model;n&&a.animateRotate||(b.startAngle=0===e?o.rotation:l.getMeta().data[e-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),l=0;return B.each(n.data,(function(n,i){t=e.data[i],isNaN(t)||n.hidden||(l+=Math.abs(t))})),l},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?Ot*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,l,i,r,o,a,s,u=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e<n;++e)if(c.isDatasetVisible(e)){t=(l=c.getDatasetMeta(e)).data,e!==this.index&&(r=l.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)i=t[e],r?(r._configure(),o=r._resolveDataElementOptions(i,e)):o=i._options,"inner"!==o.borderAlign&&(u=(s=o.hoverBorderWidth)>(u=(a=o.borderWidth)>u?a:u)?s:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=kt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=kt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=kt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(kt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});R._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),R._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Et=wt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),It=B.valueOrDefault,Lt=B.options.resolve,jt=B.canvas._isPointInArea;function Rt(t,e){var n=t&&t.options.ticks||{},l=n.reverse,i=void 0===n.min?e:0,r=void 0===n.max?e:0;return{start:l?r:i,end:l?i:r}}function Ft(t,e,n){var l=n/2,i=Rt(t,l),r=Rt(e,l);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function Nt(t){var e,n,l,i;return B.isObject(t)?(e=t.top,n=t.right,l=t.bottom,i=t.left):e=n=l=i=t,{top:e,right:n,bottom:l,left:i}}R._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Yt=tt.extend({datasetElementType:gt.Line,dataElementType:gt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,l=this,i=l.getMeta(),r=i.dataset,o=i.data||[],a=l._config,s=l._showLine=It(a.showLine,l.chart.options.showLines);for(l._xScale=l.getScaleForId(i.xAxisID),l._yScale=l.getScaleForId(i.yAxisID),s&&(void 0!==a.tension&&void 0===a.lineTension&&(a.lineTension=a.tension),r._scale=l._yScale,r._datasetIndex=l.index,r._children=o,r._model=l._resolveDatasetElementOptions(r),r.pivot()),e=0,n=o.length;e<n;++e)l.updateElement(o[e],e,t);for(s&&0!==r._model.tension&&l.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var l,i,r=this,o=r.getMeta(),a=t.custom||{},s=r.getDataset(),u=r.index,c=s.data[e],d=r._xScale,h=r._yScale,p=o.dataset._model,f=r._resolveDataElementOptions(t,e);l=d.getPixelForValue("object"==typeof c?c:NaN,e,u),i=n?h.getBasePixel():r.calculatePointY(c,e,u),t._xScale=d,t._yScale=h,t._options=f,t._datasetIndex=u,t._index=e,t._model={x:l,y:i,skip:a.skip||isNaN(l)||isNaN(i),radius:f.radius,pointStyle:f.pointStyle,rotation:f.rotation,backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,tension:It(a.tension,p?p.tension:0),steppedLine:!!p&&p.steppedLine,hitRadius:f.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,l=t.custom||{},i=e.chart.options,r=i.elements.line,o=tt.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGaps=It(n.spanGaps,i.spanGaps),o.tension=It(n.lineTension,r.tension),o.steppedLine=Lt([l.steppedLine,n.steppedLine,r.stepped]),o.clip=Nt(It(n.clip,Ft(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var l,i,r,o,a,s,u=this.chart,c=this._yScale,d=0,h=0;if(c.options.stacked){for(o=+c.getRightValue(t),s=(a=u._getSortedVisibleDatasetMetas()).length,l=0;l<s&&(i=a[l]).index!==n;++l)"line"===i.type&&i.yAxisID===c.id&&((r=+c.getRightValue(u.data.datasets[i.index].data[e]))<0?h+=r||0:d+=r||0);return c.getPixelForValue(o<0?h+o:d+o)}return c.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,l,i=this.chart,r=this.getMeta(),o=r.dataset._model,a=i.chartArea,s=r.data||[];function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(s=s.filter((function(t){return!t._model.skip}))),"monotone"===o.cubicInterpolationMode)B.splineCurveMonotone(s);else for(t=0,e=s.length;t<e;++t)n=s[t]._model,l=B.splineCurve(B.previousItem(s,t)._model,n,B.nextItem(s,t)._model,o.tension),n.controlPointPreviousX=l.previous.x,n.controlPointPreviousY=l.previous.y,n.controlPointNextX=l.next.x,n.controlPointNextY=l.next.y;if(i.options.elements.line.capBezierPoints)for(t=0,e=s.length;t<e;++t)jt(n=s[t]._model,a)&&(t>0&&jt(s[t-1]._model,a)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,a.left,a.right),n.controlPointPreviousY=u(n.controlPointPreviousY,a.top,a.bottom)),t<s.length-1&&jt(s[t+1]._model,a)&&(n.controlPointNextX=u(n.controlPointNextX,a.left,a.right),n.controlPointNextY=u(n.controlPointNextY,a.top,a.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),l=n.data||[],i=e.chartArea,r=e.canvas,o=0,a=l.length;for(this._showLine&&(B.canvas.clipArea(e.ctx,{left:!1===(t=n.dataset._model.clip).left?0:i.left-t.left,right:!1===t.right?r.width:i.right+t.right,top:!1===t.top?0:i.top-t.top,bottom:!1===t.bottom?r.height:i.bottom+t.bottom}),n.dataset.draw(),B.canvas.unclipArea(e.ctx));o<a;++o)l[o].draw(i)},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=It(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=It(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=It(n.hoverBorderWidth,n.borderWidth),e.radius=It(n.hoverRadius,n.radius)}}),Ut=B.options.resolve;R._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data,o=r.datasets,a=r.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],a[e]&&l.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,l){var i=t.getDatasetMeta(0),r=i.controller.getStyle(l);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[l])||i.data[l].hidden,index:l}})):[]}},onClick:function(t,e){var n,l,i,r=e.index,o=this.chart;for(n=0,l=(o.data.datasets||[]).length;n<l;++n)(i=o.getDatasetMeta(n)).data[r].hidden=!i.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Bt=tt.extend({dataElementType:gt.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,l,i=this,r=i.getDataset(),o=i.getMeta(),a=i.chart.options.startAngle||0,s=i._starts=[],u=i._angles=[],c=o.data;for(i._updateRadius(),o.count=i.countVisibleElements(),e=0,n=r.data.length;e<n;e++)s[e]=a,l=i._computeAngle(e),u[e]=l,a+=l;for(e=0,n=c.length;e<n;++e)c[e]._options=i._resolveDataElementOptions(c[e],e),i.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,l=e.options,i=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(i/2,0),e.innerRadius=Math.max(l.cutoutPercentage?e.outerRadius/100*l.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,n){var l=this,i=l.chart,r=l.getDataset(),o=i.options,a=o.animation,s=i.scale,u=i.data.labels,c=s.xCenter,d=s.yCenter,h=o.startAngle,p=t.hidden?0:s.getDistanceFromCenterForValue(r.data[e]),f=l._starts[e],b=f+(t.hidden?0:l._angles[e]),m=a.animateScale?0:s.getDistanceFromCenterForValue(r.data[e]),g=t._options||{};B.extend(t,{_datasetIndex:l.index,_index:e,_scale:s,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?m:p,startAngle:n&&a.animateRotate?h:f,endAngle:n&&a.animateRotate?h:b,label:B.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return B.each(e.data,(function(e,l){isNaN(t.data[l])||e.hidden||n++})),n},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor,i=B.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=i(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=i(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,l=e.getDataset(),i=e.getMeta();return isNaN(l.data[t])||i.data[t].hidden?0:Ut([e.chart.options.elements.arc.angle,2*Math.PI/n],{chart:e.chart,dataIndex:t,dataset:l,datasetIndex:e.index},t)}});R._set("pie",B.clone(R.doughnut)),R._set("pie",{cutoutPercentage:0});var zt=Tt,Gt=B.valueOrDefault;R._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ht=tt.extend({datasetElementType:gt.Line,dataElementType:gt.Point,linkScales:B.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,l=this,i=l.getMeta(),r=i.dataset,o=i.data||[],a=l.chart.scale,s=l._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r._scale=a,r._datasetIndex=l.index,r._children=o,r._loop=!0,r._model=l._resolveDatasetElementOptions(r),r.pivot(),e=0,n=o.length;e<n;++e)l.updateElement(o[e],e,t);for(l.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var l=this,i=t.custom||{},r=l.getDataset(),o=l.chart.scale,a=o.getPointPositionForValue(e,r.data[e]),s=l._resolveDataElementOptions(t,e),u=l.getMeta().dataset._model,c=n?o.xCenter:a.x,d=n?o.yCenter:a.y;t._scale=o,t._options=s,t._datasetIndex=l.index,t._index=e,t._model={x:c,y:d,skip:i.skip||isNaN(c)||isNaN(d),radius:s.radius,pointStyle:s.pointStyle,rotation:s.rotation,backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,tension:Gt(i.tension,u?u.tension:0),hitRadius:s.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,l=tt.prototype._resolveDatasetElementOptions.apply(t,arguments);return l.spanGaps=Gt(e.spanGaps,n.spanGaps),l.tension=Gt(e.lineTension,n.elements.line.tension),l},updateBezierControlPoints:function(){var t,e,n,l,i=this.getMeta(),r=this.chart.chartArea,o=i.data||[];function a(t,e,n){return Math.max(Math.min(t,n),e)}for(i.dataset._model.spanGaps&&(o=o.filter((function(t){return!t._model.skip}))),t=0,e=o.length;t<e;++t)n=o[t]._model,l=B.splineCurve(B.previousItem(o,t,!0)._model,n,B.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousX=a(l.previous.x,r.left,r.right),n.controlPointPreviousY=a(l.previous.y,r.top,r.bottom),n.controlPointNextX=a(l.next.x,r.left,r.right),n.controlPointNextY=a(l.next.y,r.top,r.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Gt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=Gt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=Gt(n.hoverBorderWidth,n.borderWidth),e.radius=Gt(n.hoverRadius,n.radius)}});R._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),R._set("global",{datasets:{scatter:{showLine:!1}}});var Vt={bar:wt,bubble:St,doughnut:Tt,horizontalBar:Et,line:Yt,polarArea:Bt,pie:zt,radar:Ht,scatter:Yt};function qt(t,e){return t.native?{x:t.x,y:t.y}:B.getRelativePosition(t,e)}function Wt(t,e){var n,l,i,r,o,a,s=t._getSortedVisibleDatasetMetas();for(l=0,r=s.length;l<r;++l)for(i=0,o=(n=s[l].data).length;i<o;++i)(a=n[i])._view.skip||e(a)}function $t(t,e){var n=[];return Wt(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function Xt(t,e,n,l){var i=Number.POSITIVE_INFINITY,r=[];return Wt(t,(function(t){if(!n||t.inRange(e.x,e.y)){var o=t.getCenterPoint(),a=l(e,o);a<i?(r=[t],i=a):a===i&&r.push(t)}})),r}function Kt(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,l){var i=e?Math.abs(t.x-l.x):0,r=n?Math.abs(t.y-l.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(r,2))}}function Jt(t,e,n){var l=qt(e,t);n.axis=n.axis||"x";var i=Kt(n.axis),r=n.intersect?$t(t,l):Xt(t,l,!1,i),o=[];return r.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[r[0]._index];e&&!e._view.skip&&o.push(e)})),o):[]}var Qt={modes:{single:function(t,e){var n=qt(e,t),l=[];return Wt(t,(function(t){if(t.inRange(n.x,n.y))return l.push(t),l})),l.slice(0,1)},label:Jt,index:Jt,dataset:function(t,e,n){var l=qt(e,t);n.axis=n.axis||"xy";var i=Kt(n.axis),r=n.intersect?$t(t,l):Xt(t,l,!1,i);return r.length>0&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return Jt(t,e,{intersect:!1})},point:function(t,e){return $t(t,qt(e,t))},nearest:function(t,e,n){var l=qt(e,t);n.axis=n.axis||"xy";var i=Kt(n.axis);return Xt(t,l,n.intersect,i)},x:function(t,e,n){var l=qt(e,t),i=[],r=!1;return Wt(t,(function(t){t.inXRange(l.x)&&i.push(t),t.inRange(l.x,l.y)&&(r=!0)})),n.intersect&&!r&&(i=[]),i},y:function(t,e,n){var l=qt(e,t),i=[],r=!1;return Wt(t,(function(t){t.inYRange(l.y)&&i.push(t),t.inRange(l.x,l.y)&&(r=!0)})),n.intersect&&!r&&(i=[]),i}}},Zt=B.extend;function te(t,e){return B.where(t,(function(t){return t.pos===e}))}function ee(t,e){return t.sort((function(t,n){var l=e?n:t,i=e?t:n;return l.weight===i.weight?l.index-i.index:l.weight-i.weight}))}function ne(t,e,n,l){return Math.max(t[n],e[n])+Math.max(t[l],e[l])}function le(t,e,n){var l,i,r=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,t[n.pos]+=n.size,r.getPadding){var a=r.getPadding();o.top=Math.max(o.top,a.top),o.left=Math.max(o.left,a.left),o.bottom=Math.max(o.bottom,a.bottom),o.right=Math.max(o.right,a.right)}if(l=e.outerWidth-ne(o,t,"left","right"),i=e.outerHeight-ne(o,t,"top","bottom"),l!==t.w||i!==t.h){t.w=l,t.h=i;var s=n.horizontal?[l,t.w]:[i,t.h];return!(s[0]===s[1]||isNaN(s[0])&&isNaN(s[1]))}}function ie(t,e){var n,l=e.maxPadding;return n={left:0,top:0,right:0,bottom:0},(t?["left","right"]:["top","bottom"]).forEach((function(t){n[t]=Math.max(e[t],l[t])})),n}function re(t,e,n){var l,i,r,o,a,s,u=[];for(l=0,i=t.length;l<i;++l)(o=(r=t[l]).box).update(r.width||e.w,r.height||e.h,ie(r.horizontal,e)),le(e,n,r)&&(s=!0,u.length&&(a=!0)),o.fullWidth||u.push(r);return a&&re(u,e,n)||s}function oe(t,e,n){var l,i,r,o,a=n.padding,s=e.x,u=e.y;for(l=0,i=t.length;l<i;++l)o=(r=t[l]).box,r.horizontal?(o.left=o.fullWidth?a.left:e.left,o.right=o.fullWidth?n.outerWidth-a.right:e.left+e.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=s,o.right=s+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,s=o.right);e.x=s,e.y=u}R._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ae,se={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var l,i=["fullWidth","position","weight"],r=i.length,o=0;o<r;++o)n.hasOwnProperty(l=i[o])&&(e[l]=n[l])},update:function(t,e,n){if(t){var l=B.options.toPadding((t.options.layout||{}).padding),i=e-l.width,r=n-l.height,o=function(t){var e=function(t){var e,n,l,i=[];for(e=0,n=(t||[]).length;e<n;++e)i.push({index:e,box:l=t[e],pos:l.position,horizontal:l.isHorizontal(),weight:l.weight});return i}(t),n=ee(te(e,"left"),!0),l=ee(te(e,"right")),i=ee(te(e,"top"),!0),r=ee(te(e,"bottom"));return{leftAndTop:n.concat(i),rightAndBottom:l.concat(r),chartArea:te(e,"chartArea"),vertical:n.concat(l),horizontal:i.concat(r)}}(t.boxes),a=o.vertical,s=o.horizontal,u=Object.freeze({outerWidth:e,outerHeight:n,padding:l,availableWidth:i,vBoxMaxWidth:i/2/a.length,hBoxMaxHeight:r/2}),c=Zt({maxPadding:Zt({},l),w:i,h:r,x:l.left,y:l.top},l);!function(t,e){var n,l,i;for(n=0,l=t.length;n<l;++n)(i=t[n]).width=i.horizontal?i.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,i.height=i.horizontal&&e.hBoxMaxHeight}(a.concat(s),u),re(a,c,u),re(s,c,u)&&re(a,c,u),function(t){var e=t.maxPadding;function n(n){var l=Math.max(e[n]-t[n],0);return t[n]+=l,l}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(c),oe(o.leftAndTop,c,u),c.x+=c.w,c.y+=c.h,oe(o.rightAndBottom,c,u),t.chartArea={left:c.left,top:c.top,right:c.left+c.w,bottom:c.top+c.h},B.each(o.chartArea,(function(e){var n=e.box;Zt(n,t.chartArea),n.update(c.w,c.h)}))}}},ue=(ae=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&ae.default||ae,ce=["animationstart","webkitAnimationStart"],de={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function he(t,e){var n=B.getStyle(t,e),l=n&&n.match(/^(\d+)(\.\d+)?px$/);return l?Number(l[1]):void 0}var pe=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(n){}return t}()&&{passive:!0};function fe(t,e,n){t.addEventListener(e,n,pe)}function be(t,e,n){t.removeEventListener(e,n,pe)}function me(t,e,n,l,i){return{type:t,chart:e,native:i||null,x:void 0!==n?n:null,y:void 0!==l?l:null}}function ge(t){var e=document.createElement("div");return e.className=t||"",e}var _e={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t.$chartjs||(t.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var l=document.createElement("style");l.setAttribute("type","text/css"),l.appendChild(document.createTextNode(e)),t.appendChild(l)}}(e.host?e:document.head,ue)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,l=t.getAttribute("height"),i=t.getAttribute("width");if(t.$chartjs={initial:{height:l,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var r=he(t,"width");void 0!==r&&(t.width=r)}if(null===l||""===l)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=he(t,"height");void 0!==r&&(t.height=o)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e.$chartjs){var n=e.$chartjs.initial;["height","width"].forEach((function(t){var l=n[t];B.isNullOrUndef(l)?e.removeAttribute(t):e.setAttribute(t,l)})),B.each(n.style||{},(function(t,n){e.style[n]=t})),e.width=e.width,delete e.$chartjs}},addEventListener:function(t,e,n){var l=t.canvas;if("resize"!==e){var i=n.$chartjs||(n.$chartjs={});fe(l,e,(i.proxies||(i.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=de[t.type]||t.type,l=B.getRelativePosition(t,e);return me(n,e,l.x,l.y,t)}(e,t))})}else!function(t,e,n){var l,i,r,o,a=t.$chartjs||(t.$chartjs={}),s=a.resizer=function(t){var e=ge("chartjs-size-monitor"),n=ge("chartjs-size-monitor-expand"),l=ge("chartjs-size-monitor-shrink");n.appendChild(ge()),l.appendChild(ge()),e.appendChild(n),e.appendChild(l),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,l.scrollLeft=1e6,l.scrollTop=1e6};var i=function(){e._reset(),t()};return fe(n,"scroll",i.bind(n,"expand")),fe(l,"scroll",i.bind(l,"shrink")),e}((l=function(){if(a.resizer){var l=n.options.maintainAspectRatio&&t.parentNode,i=l?l.clientWidth:0;e(me("resize",n)),l&&l.clientWidth<i&&n.canvas&&e(me("resize",n))}},r=!1,o=[],function(){o=Array.prototype.slice.call(arguments),i=i||this,r||(r=!0,B.requestAnimFrame.call(window,(function(){r=!1,l.apply(i,o)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),l=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};B.each(ce,(function(e){fe(t,e,l)})),n.reflow=!!t.offsetParent,t.classList.add("chartjs-render-monitor")}(t,(function(){if(a.resizer){var e=t.parentNode;e&&e!==s.parentNode&&e.insertBefore(s,e.firstChild),s._reset()}}))}(l,n,t)},removeEventListener:function(t,e,n){var l,i,r,o=t.canvas;if("resize"!==e){var a=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];a&&be(o,e,a)}else r=(i=(l=o).$chartjs||{}).resizer,delete i.resizer,function(t){var e=t.$chartjs||{},n=e.renderProxy;n&&(B.each(ce,(function(e){be(t,e,n)})),delete e.renderProxy),t.classList.remove("chartjs-render-monitor")}(l),r&&r.parentNode&&r.parentNode.removeChild(r)}};B.addEvent=fe,B.removeEvent=be;var ye=B.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},_e._enabled?_e:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}});R._set("global",{plugins:{}});var Ae={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var l,i,r,o,a,s=this.descriptors(t),u=s.length;for(l=0;l<u;++l)if("function"==typeof(a=(r=(i=s[l]).plugin)[e])&&((o=[t].concat(n||[])).push(i.options),!1===a.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],l=[],i=t&&t.config||{},r=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach((function(t){if(-1===n.indexOf(t)){var e=t.id,i=r[e];!1!==i&&(!0===i&&(i=B.clone(R.global.plugins[e])),n.push(t),l.push({plugin:t,options:i||{}}))}})),e.descriptors=l,e.id=this._cacheId,l},_invalidate:function(t){delete t.$plugins}},ve={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=B.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?B.merge(Object.create(null),[R.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=B.extend(this.defaults[t],e))},addScalesToLayout:function(t){B.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,se.addBox(t,e)}))}},Ce=B.valueOrDefault,we=B.rtl.getRtlAdapter;R._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:B.noop,title:function(t,e){var n="",l=e.labels,i=l?l.length:0;if(t.length>0){var r=t[0];r.label?n=r.label:r.xLabel?n=r.xLabel:i>0&&r.index<i&&(n=l[r.index])}return n},afterTitle:B.noop,beforeBody:B.noop,beforeLabel:B.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),B.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:B.noop,afterBody:B.noop,beforeFooter:B.noop,footer:B.noop,afterFooter:B.noop}}});var Pe={average:function(t){if(!t.length)return!1;var e,n,l=0,i=0,r=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var a=o.tooltipPosition();l+=a.x,i+=a.y,++r}}return{x:l/r,y:i/r}},nearest:function(t,e){var n,l,i,r=e.x,o=e.y,a=Number.POSITIVE_INFINITY;for(n=0,l=t.length;n<l;++n){var s=t[n];if(s&&s.hasValue()){var u=s.getCenterPoint(),c=B.distanceBetweenPoints(e,u);c<a&&(a=c,i=s)}}if(i){var d=i.tooltipPosition();r=d.x,o=d.y}return{x:r,y:o}}};function xe(t,e){return e&&(B.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Se(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function ke(t){var e=R.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Ce(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Ce(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Ce(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Ce(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Ce(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Ce(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Ce(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Ce(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Ce(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Me(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Oe(t){return xe([],Se(t))}var De=q.extend({initialize:function(){this._model=ke(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,l=n.beforeTitle.apply(t,arguments),i=n.title.apply(t,arguments),r=n.afterTitle.apply(t,arguments),o=[];return o=xe(o,Se(l)),o=xe(o,Se(i)),xe(o,Se(r))},getBeforeBody:function(){return Oe(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,l=n._options.callbacks,i=[];return B.each(t,(function(t){var r={before:[],lines:[],after:[]};xe(r.before,Se(l.beforeLabel.call(n,t,e))),xe(r.lines,l.label.call(n,t,e)),xe(r.after,Se(l.afterLabel.call(n,t,e))),i.push(r)})),i},getAfterBody:function(){return Oe(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),l=e.footer.apply(t,arguments),i=e.afterFooter.apply(t,arguments),r=[];return r=xe(r,Se(n)),r=xe(r,Se(l)),xe(r,Se(i))},update:function(t){var e,n,l,i,r,o,a,s,u,c,d=this,h=d._options,p=d._model,f=d._model=ke(h),b=d._active,m=d._data,g={xAlign:p.xAlign,yAlign:p.yAlign},_={x:p.x,y:p.y},y={width:p.width,height:p.height},A={x:p.caretX,y:p.caretY};if(b.length){f.opacity=1;var v=[],C=[];A=Pe[h.position].call(d,b,d._eventPosition);var w=[];for(e=0,n=b.length;e<n;++e)w.push((i=void 0,r=void 0,s=void 0,u=void 0,c=void 0,i=(l=b[e])._xScale,r=l._yScale||l._scale,o=l._index,u=(s=l._chart.getDatasetMeta(a=l._datasetIndex).controller)._getIndexScale(),c=s._getValueScale(),{xLabel:i?i.getLabelForIndex(o,a):"",yLabel:r?r.getLabelForIndex(o,a):"",label:u?""+u.getLabelForIndex(o,a):"",value:c?""+c.getLabelForIndex(o,a):"",index:o,datasetIndex:a,x:l._model.x,y:l._model.y}));h.filter&&(w=w.filter((function(t){return h.filter(t,m)}))),h.itemSort&&(w=w.sort((function(t,e){return h.itemSort(t,e,m)}))),B.each(w,(function(t){v.push(h.callbacks.labelColor.call(d,t,d._chart)),C.push(h.callbacks.labelTextColor.call(d,t,d._chart))})),f.title=d.getTitle(w,m),f.beforeBody=d.getBeforeBody(w,m),f.body=d.getBody(w,m),f.afterBody=d.getAfterBody(w,m),f.footer=d.getFooter(w,m),f.x=A.x,f.y=A.y,f.caretPadding=h.caretPadding,f.labelColors=v,f.labelTextColors=C,f.dataPoints=w,y=function(t,e){var n=t._chart.ctx,l=2*e.yPadding,i=0,r=e.body,o=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0),a=e.title.length,s=e.footer.length,u=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;l+=a*u,l+=a?(a-1)*e.titleSpacing:0,l+=a?e.titleMarginBottom:0,l+=(o+=e.beforeBody.length+e.afterBody.length)*c,l+=o?(o-1)*e.bodySpacing:0,l+=s?e.footerMarginTop:0,l+=s*d,l+=s?(s-1)*e.footerSpacing:0;var h=0,p=function(t){i=Math.max(i,n.measureText(t).width+h)};return n.font=B.fontString(u,e._titleFontStyle,e._titleFontFamily),B.each(e.title,p),n.font=B.fontString(c,e._bodyFontStyle,e._bodyFontFamily),B.each(e.beforeBody.concat(e.afterBody),p),h=e.displayColors?c+2:0,B.each(r,(function(t){B.each(t.before,p),B.each(t.lines,p),B.each(t.after,p)})),h=0,n.font=B.fontString(d,e._footerFontStyle,e._footerFontFamily),B.each(e.footer,p),{width:i+=2*e.xPadding,height:l}}(this,f),_=function(t,e,n,l){var i=t.x,r=t.y,o=t.caretPadding,a=n.xAlign,s=n.yAlign,u=t.caretSize+o,c=t.cornerRadius+o;return"right"===a?i-=e.width:"center"===a&&((i-=e.width/2)+e.width>l.width&&(i=l.width-e.width),i<0&&(i=0)),"top"===s?r+=u:r-="bottom"===s?e.height+u:e.height/2,"center"===s?"left"===a?i+=u:"right"===a&&(i-=u):"left"===a?i-=c:"right"===a&&(i+=c),{x:i,y:r}}(f,y,g=function(t,e){var n,l,i,r,o,a=t._model,s=t._chart,u=t._chart.chartArea,c="center",d="center";a.y<e.height?d="top":a.y>s.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,p=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=h},l=function(t){return t>h}):(n=function(t){return t<=e.width/2},l=function(t){return t>=s.width-e.width/2}),i=function(t){return t+e.width+a.caretSize+a.caretPadding>s.width},r=function(t){return t-e.width-a.caretSize-a.caretPadding<0},o=function(t){return t<=p?"top":"bottom"},n(a.x)?(c="left",i(a.x)&&(c="center",d=o(a.y))):l(a.x)&&(c="right",r(a.x)&&(c="center",d=o(a.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:c,yAlign:f.yAlign?f.yAlign:d}}(this,y),d._chart)}else f.opacity=0;return f.xAlign=g.xAlign,f.yAlign=g.yAlign,f.x=_.x,f.y=_.y,f.width=y.width,f.height=y.height,f.caretX=A.x,f.caretY=A.y,d._model=f,t&&h.custom&&h.custom.call(d,f),d},drawCaret:function(t,e){var n=this._chart.ctx,l=this.getCaretPosition(t,e,this._view);n.lineTo(l.x1,l.y1),n.lineTo(l.x2,l.y2),n.lineTo(l.x3,l.y3)},getCaretPosition:function(t,e,n){var l,i,r,o,a,s,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,p=t.x,f=t.y,b=e.width,m=e.height;if("center"===h)a=f+m/2,"left"===d?(i=(l=p)-u,r=l,o=a+u,s=a-u):(i=(l=p+b)+u,r=l,o=a-u,s=a+u);else if("left"===d?(l=(i=p+c+u)-u,r=i+u):"right"===d?(l=(i=p+b-c-u)-u,r=i+u):(l=(i=n.caretX)-u,r=i+u),"top"===h)a=(o=f)-u,s=o;else{a=(o=f+m)+u,s=o;var g=r;r=l,l=g}return{x1:l,x2:i,x3:r,y1:o,y2:a,y3:s}},drawTitle:function(t,e,n){var l,i,r,o=e.title,a=o.length;if(a){var s=we(e.rtl,e.x,e.width);for(t.x=Me(e,e._titleAlign),n.textAlign=s.textAlign(e._titleAlign),n.textBaseline="middle",l=e.titleFontSize,i=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=B.fontString(l,e._titleFontStyle,e._titleFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(t.x),t.y+l/2),t.y+=l+i,r+1===a&&(t.y+=e.titleMarginBottom-i)}},drawBody:function(t,e,n){var l,i,r,o,a,s,u,c,d=e.bodyFontSize,h=e.bodySpacing,p=e._bodyAlign,f=e.body,b=e.displayColors,m=0,g=b?Me(e,"left"):0,_=we(e.rtl,e.x,e.width),y=function(e){n.fillText(e,_.x(t.x+m),t.y+d/2),t.y+=d+h},A=_.textAlign(p);for(n.textAlign=p,n.textBaseline="middle",n.font=B.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Me(e,A),n.fillStyle=e.bodyFontColor,B.each(e.beforeBody,y),m=b&&"right"!==A?"center"===p?d/2+1:d+2:0,a=0,u=f.length;a<u;++a){for(l=f[a],r=e.labelColors[a],n.fillStyle=i=e.labelTextColors[a],B.each(l.before,y),s=0,c=(o=l.lines).length;s<c;++s){if(b){var v=_.x(g);n.fillStyle=e.legendColorBackground,n.fillRect(_.leftForLtr(v,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=r.borderColor,n.strokeRect(_.leftForLtr(v,d),t.y,d,d),n.fillStyle=r.backgroundColor,n.fillRect(_.leftForLtr(_.xPlus(v,1),d-2),t.y+1,d-2,d-2),n.fillStyle=i}y(o[s])}B.each(l.after,y)}m=0,B.each(e.afterBody,y),t.y-=h},drawFooter:function(t,e,n){var l,i,r=e.footer,o=r.length;if(o){var a=we(e.rtl,e.x,e.width);for(t.x=Me(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=a.textAlign(e._footerAlign),n.textBaseline="middle",l=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=B.fontString(l,e._footerFontStyle,e._footerFontFamily),i=0;i<o;++i)n.fillText(r[i],a.x(t.x),t.y+l/2),t.y+=l+e.footerSpacing}},drawBackground:function(t,e,n,l){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var i=e.xAlign,r=e.yAlign,o=t.x,a=t.y,s=l.width,u=l.height,c=e.cornerRadius;n.beginPath(),n.moveTo(o+c,a),"top"===r&&this.drawCaret(t,l),n.lineTo(o+s-c,a),n.quadraticCurveTo(o+s,a,o+s,a+c),"center"===r&&"right"===i&&this.drawCaret(t,l),n.lineTo(o+s,a+u-c),n.quadraticCurveTo(o+s,a+u,o+s-c,a+u),"bottom"===r&&this.drawCaret(t,l),n.lineTo(o+c,a+u),n.quadraticCurveTo(o,a+u,o,a+u-c),"center"===r&&"left"===i&&this.drawCaret(t,l),n.lineTo(o,a+c),n.quadraticCurveTo(o,a,o+c,a),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},l={x:e.x,y:e.y},i=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(t.save(),t.globalAlpha=i,this.drawBackground(l,e,t,n),l.y+=e.yPadding,B.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(l,e,t),this.drawBody(l,e,t),this.drawFooter(l,e,t),B.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,l=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,l.mode,l),l.reverse&&n._active.reverse()),(e=!B.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(l.enabled||l.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}});De.positioners=Pe;var Te=B.valueOrDefault;function Ee(){return B.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,l){if("xAxes"===t||"yAxes"===t){var i,r,o,a=n[t].length;for(e[t]||(e[t]=[]),i=0;i<a;++i)r=Te((o=n[t][i]).type,"xAxes"===t?"category":"linear"),i>=e[t].length&&e[t].push({}),B.merge(e[t][i],!e[t][i].type||o.type&&o.type!==e[t][i].type?[ve.getScaleDefaults(r),o]:o)}else B._merger(t,e,n,l)}})}function Ie(){return B.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,l){var i=e[t]||Object.create(null),r=n[t];"scales"===t?e[t]=Ee(i,r):"scale"===t?e[t]=B.merge(i,[ve.getScaleDefaults(r.type),r]):B._merger(t,e,n,l)}})}function Le(t){var e=t.options;B.each(t.scales,(function(e){se.removeBox(t,e)})),e=Ie(R.global,R[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function je(t,e,n){var l,i=function(t){return t.id===l};do{l=e+n++}while(B.findIndex(t,i)>=0);return l}function Re(t){return"top"===t||"bottom"===t}function Fe(t,e){return function(n,l){return n[t]===l[t]?n[e]-l[e]:n[t]-l[t]}}R._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Ne=function(t,e){return this.construct(t,e),this};B.extend(Ne.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ie(R.global,R[t.type],t.options||{}),t}(e);var l=ye.acquireContext(t,e),i=l&&l.canvas,r=i&&i.height,o=i&&i.width;n.id=B.uid(),n.ctx=l,n.canvas=i,n.config=e,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Ne.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),l&&i?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Ae.notify(t,"beforeInit"),B.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Ae.notify(t,"afterInit"),t},clear:function(){return B.canvas.clear(this),this},stop:function(){return X.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,l=e.canvas,i=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(B.getMaximumWidth(l))),o=Math.max(0,Math.floor(i?r/i:B.getMaximumHeight(l)));if((e.width!==r||e.height!==o)&&(l.width=e.width=r,l.height=e.height=o,l.style.width=r+"px",l.style.height=o+"px",B.retinaScale(e,n.devicePixelRatio),!t)){var a={width:r,height:o};Ae.notify(e,"resize",[a]),n.onResize&&n.onResize(e,a),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;B.each(e.xAxes,(function(t,n){t.id||(t.id=je(e.xAxes,"x-axis-",n))})),B.each(e.yAxes,(function(t,n){t.id||(t.id=je(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},l=[],i=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(l=l.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&l.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),B.each(l,(function(e){var l=e.options,r=l.id,o=Te(l.type,e.dtype);Re(l.position)!==Re(e.dposition)&&(l.position=e.dposition),i[r]=!0;var a=null;if(r in n&&n[r].type===o)(a=n[r]).options=l,a.ctx=t.ctx,a.chart=t;else{var s=ve.getScaleConstructor(o);if(!s)return;a=new s({id:r,type:o,options:l,ctx:t.ctx,chart:t}),n[a.id]=a}a.mergeTicksOptions(),e.isDefault&&(t.scale=a)})),B.each(i,(function(t,e){t||delete n[e]})),t.scales=n,ve.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,l=[],i=n.data.datasets;for(t=0,e=i.length;t<e;t++){var r=i[t],o=n.getDatasetMeta(t),a=r.type||n.config.type;if(o.type&&o.type!==a&&(n.destroyDatasetMeta(t),o=n.getDatasetMeta(t)),o.type=a,o.order=r.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var s=Vt[o.type];if(void 0===s)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new s(n,t),l.push(o.controller)}}return l},resetElements:function(){var t=this;B.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,l=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Le(l),Ae._invalidate(l),!1!==Ae.notify(l,"beforeUpdate")){l.tooltip._data=l.data;var i=l.buildOrUpdateControllers();for(e=0,n=l.data.datasets.length;e<n;e++)l.getDatasetMeta(e).controller.buildOrUpdateElements();l.updateLayout(),l.options.animation&&l.options.animation.duration&&B.each(i,(function(t){t.reset()})),l.updateDatasets(),l.tooltip.initialize(),l.lastActive=[],Ae.notify(l,"afterUpdate"),l._layers.sort(Fe("z","_idx")),l._bufferedRender?l._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:l.render(t)}},updateLayout:function(){var t=this;!1!==Ae.notify(t,"beforeLayout")&&(se.update(this,this.width,this.height),t._layers=[],B.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idx=e})),Ae.notify(t,"afterScaleUpdate"),Ae.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Ae.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Ae.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==Ae.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),Ae.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,l=Te(t.duration,n&&n.duration),i=t.lazy;if(!1!==Ae.notify(e,"beforeRender")){var r=function(t){Ae.notify(e,"afterRender"),B.callback(n&&n.onComplete,[t],e)};if(n&&l){var o=new $({numSteps:l/16.66,easing:t.easing||n.easing,render:function(t,e){var n=e.currentStep,l=n/e.numSteps;t.draw((0,B.easing.effects[e.easing])(l),l,n)},onAnimationProgress:n.onProgress,onAnimationComplete:r});X.addAnimation(e,o,l,i)}else e.draw(),r(new $({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,l=this;if(l.clear(),B.isNullOrUndef(t)&&(t=1),l.transition(t),!(l.width<=0||l.height<=0)&&!1!==Ae.notify(l,"beforeDraw",[t])){for(n=l._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(l.chartArea);for(l.drawDatasets(t);e<n.length;++e)n[e].draw(l.chartArea);l._drawTooltip(t),Ae.notify(l,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,l=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||l.push(this.getDatasetMeta(e));return l.sort(Fe("order","index")),l},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==Ae.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);Ae.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Ae.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Ae.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Ae.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Ae.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return Qt.modes.single(this,t)},getElementsAtEvent:function(t){return Qt.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Qt.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var l=Qt.modes[e];return"function"==typeof l?l(this,t,n):[]},getDatasetAtEvent:function(t){return Qt.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],l=n._meta&&n._meta[e];l&&(l.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,l=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);l&&(n.unbindEvents(),B.canvas.clear(n),ye.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Ae.notify(n,"destroy"),delete Ne.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new De({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};B.each(t.options.events,(function(l){ye.addEventListener(t,l,n),e[l]=n})),t.options.responsive&&(n=function(){t.resize()},ye.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,B.each(e,(function(e,n){ye.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var l,i,r,o=n?"set":"remove";for(i=0,r=t.length;i<r;++i)(l=t[i])&&this.getDatasetMeta(l._datasetIndex).controller[o+"HoverStyle"](l);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Ae.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var l=e.handleEvent(t);n&&(l=n._start?n.handleEvent(t):l|n.handleEvent(t)),Ae.notify(e,"afterEvent",[t]);var i=e._bufferedRequest;return i?e.render(i):l&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,l=n.options||{},i=l.hover;return n.lastActive=n.lastActive||[],n.active="mouseout"===t.type?[]:n.getElementsAtEventForMode(t,i.mode,i),B.callback(l.onHover||l.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||l.onClick&&l.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),e=!B.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),Ne.instances={};var Ye=Ne;function Ue(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Be(t){this.options=t||{}}Ne.Controller=Ne,Ne.types={},B.configMerge=Ie,B.scaleMerge=Ee,B.extend(Be.prototype,{formats:Ue,parse:Ue,format:Ue,add:Ue,diff:Ue,startOf:Ue,endOf:Ue,_create:function(t){return t}}),Be.override=function(t){B.extend(Be.prototype,t)};var ze={_date:Be},Ge={formatters:{values:function(t){return B.isArray(t)?t:""+t},linear:function(t,e,n){var l=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(l)>1&&t!==Math.floor(t)&&(l=t-Math.floor(t));var i=B.log10(Math.abs(l)),r="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=B.log10(Math.abs(t)),a=Math.floor(o)-Math.floor(i);a=Math.max(Math.min(a,20),0),r=t.toExponential(a)}else{var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),r=t.toFixed(s)}else r="0";return r},logarithmic:function(t,e,n){var l=t/Math.pow(10,Math.floor(B.log10(t)));return 0===t?"0":1===l||2===l||5===l||0===e||e===n.length-1?t.toExponential():""}}},He=B.isArray,Ve=B.isNullOrUndef,qe=B.valueOrDefault,We=B.valueAtIndexOrDefault;function $e(t,e,n){var l,i=t.getTicks().length,r=Math.min(e,i-1),o=t.getPixelForTick(r),a=t._startPixel,s=t._endPixel;if(!(n&&(l=1===i?Math.max(o-a,s-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+=r<e?l:-l)<a-1e-6||o>s+1e-6)))return o}function Xe(t){return t.drawTicks?t.tickMarkLength:0}function Ke(t){var e,n;return t.display?(e=B.options._parseFont(t),n=B.options.toPadding(t.padding),e.lineHeight+n.height):0}function Je(t,e){return B.extend(B.options._parseFont({fontFamily:qe(e.fontFamily,t.fontFamily),fontSize:qe(e.fontSize,t.fontSize),fontStyle:qe(e.fontStyle,t.fontStyle),lineHeight:qe(e.lineHeight,t.lineHeight)}),{color:B.options.resolve([e.fontColor,t.fontColor,R.global.defaultFontColor])})}function Qe(t){var e=Je(t,t.minor);return{minor:e,major:t.major.enabled?Je(t,t.major):e}}function Ze(t){var e,n,l,i=[];for(n=0,l=t.length;n<l;++n)void 0!==(e=t[n])._index&&i.push(e);return i}function tn(t,e,n,l){var i,r,o,a,s=qe(n,0),u=Math.min(qe(l,t.length),t.length),c=0;for(e=Math.ceil(e),l&&(e=(i=l-n)/Math.floor(i/e)),a=s;a<0;)c++,a=Math.round(s+c*e);for(r=Math.max(s,0);r<u;r++)o=t[r],r===a?(o._index=r,c++,a=Math.round(s+c*e)):delete o.label}R._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Ge.formatters.values,minor:{},major:{}}});var en=q.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var l,i,r,o,a,s=this,u=s.options.ticks,c=u.sampleSize;if(s.beforeUpdate(),s.maxWidth=t,s.maxHeight=e,s.margins=B.extend({left:0,right:0,top:0,bottom:0},n),s._ticks=null,s.ticks=null,s._labelSizes=null,s._maxLabelLines=0,s.longestLabelWidth=0,s.longestTextCache=s.longestTextCache||{},s._gridLineItems=null,s._labelItems=null,s.beforeSetDimensions(),s.setDimensions(),s.afterSetDimensions(),s.beforeDataLimits(),s.determineDataLimits(),s.afterDataLimits(),s.beforeBuildTicks(),o=s.buildTicks()||[],(!(o=s.afterBuildTicks(o)||o)||!o.length)&&s.ticks)for(o=[],l=0,i=s.ticks.length;l<i;++l)o.push({value:s.ticks[l],major:!1});return s._ticks=o,r=s._convertTicksToLabels((a=c<o.length)?function(t,e){for(var n=[],l=t.length/e,i=0,r=t.length;i<r;i+=l)n.push(t[Math.floor(i)]);return n}(o,c):o),s._configure(),s.beforeCalculateTickRotation(),s.calculateTickRotation(),s.afterCalculateTickRotation(),s.beforeFit(),s.fit(),s.afterFit(),s._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?s._autoSkip(o):o,a&&(r=s._convertTicksToLabels(s._ticksToDraw)),s.ticks=r,s.afterUpdate(),s.minSize},_configure:function(){var t,e,n=this,l=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,l=!l),n._startPixel=t,n._endPixel=e,n._reversePixels=l,n._length=e-t},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(t){var e=this;return He(t)&&t.length?B.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=B.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,l,i,r,o,a=this,s=a.options,u=s.ticks,c=a.getTicks().length,d=u.minRotation||0,h=u.maxRotation,p=d;!a._isVisible()||!u.display||d>=h||c<=1||!a.isHorizontal()?a.labelRotation=d:(e=(t=a._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,l=Math.min(a.maxWidth,a.chart.width-e),e+6>(i=s.offset?a.maxWidth/c:l/(c-1))&&(i=l/(c-(s.offset?.5:1)),r=a.maxHeight-Xe(s.gridLines)-u.padding-Ke(s.scaleLabel),o=Math.sqrt(e*e+n*n),p=B.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/i,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),p=Math.max(d,Math.min(h,p))),a.labelRotation=p)},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,l=t.options,i=l.ticks,r=l.scaleLabel,o=l.gridLines,a=t._isVisible(),s="bottom"===l.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:a&&(e.width=Xe(o)+Ke(r)),u?a&&(e.height=Xe(o)+Ke(r)):e.height=t.maxHeight,i.display&&a){var c=Qe(i),d=t._getLabelSizes(),h=d.first,p=d.last,f=d.widest,b=d.highest,m=.4*c.minor.lineHeight,g=i.padding;if(u){var _=0!==t.labelRotation,y=B.toRadians(t.labelRotation),A=Math.cos(y),v=Math.sin(y);e.height=Math.min(t.maxHeight,e.height+(v*f.width+A*(b.height-(_?b.offset:0))+(_?0:m))+g);var C,w,P=t.getPixelForTick(0)-t.left,x=t.right-t.getPixelForTick(t.getTicks().length-1);_?(C=s?A*h.width+v*h.offset:v*(h.height-h.offset),w=s?v*(p.height-p.offset):A*p.width+v*p.offset):(C=h.width/2,w=p.width/2),t.paddingLeft=Math.max((C-P)*t.width/(t.width-P),0)+3,t.paddingRight=Math.max((w-x)*t.width/(t.width-x),0)+3}else e.width=Math.min(t.maxWidth,e.width+(i.mirror?0:f.width+g+m)),t.paddingTop=h.height/2,t.paddingBottom=p.height/2}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(Ve(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,l,i=this;for(i.ticks=t.map((function(t){return t.value})),i.beforeTickToLabelConversion(),e=i.convertTicksToLabels(t)||i.ticks,i.afterTickToLabelConversion(),n=0,l=t.length;n<l;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m,g=n.length,_=[],y=[],A=[],v=0,C=0;for(i=0;i<g;++i){if(a=n[i].label,t.font=u=(s=n[i].major?e.major:e.minor).string,c=l[u]=l[u]||{data:{},gc:[]},d=s.lineHeight,h=p=0,Ve(a)||He(a)){if(He(a))for(r=0,o=a.length;r<o;++r)Ve(f=a[r])||He(f)||(h=B.measureText(t,c.data,c.gc,h,f),p+=d)}else h=B.measureText(t,c.data,c.gc,h,a),p=d;_.push(h),y.push(p),A.push(d/2),v=Math.max(h,v),C=Math.max(p,C)}function w(t){return{width:_[t]||0,height:y[t]||0,offset:A[t]||0}}return function(t,e){B.each(t,(function(t){var n,l=t.gc,i=l.length/2;if(i>e){for(n=0;n<i;++n)delete t.data[l[n]];l.splice(0,i)}}))}(l,g),b=_.indexOf(v),m=y.indexOf(C),{first:w(0),last:w(g-1),widest:w(b),highest:w(m)}}(t.ctx,Qe(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,l,i;return He(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),l=Math.min(e,n),i=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),l=t,i=t),{min:l,max:i,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,l=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*l+(e?l/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,l,i,r=this.options.ticks,o=r.maxTicksLimit||this._length/this._tickSize()+1,a=r.major.enabled?function(t){var e,n,l=[];for(e=0,n=t.length;e<n;e++)t[e].major&&l.push(e);return l}(t):[],s=a.length,u=a[0],c=a[s-1];if(s>o)return function(t,e,n){var l,i,r=0,o=e[0];for(n=Math.ceil(n),l=0;l<t.length;l++)i=t[l],l===o?(i._index=l,o=e[++r*n]):delete i.label}(t,a,s/o),Ze(t);if(l=function(t,e,n,l){var i,r,o,a,s=function(t){var e,n,l=t.length;if(l<2)return!1;for(n=t[0],e=1;e<l;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),u=(e.length-1)/l;if(!s)return Math.max(u,1);for(o=0,a=(i=B.math._factorize(s)).length-1;o<a;o++)if((r=i[o])>u)return r;return Math.max(u,1)}(a,t,0,o),s>0){for(e=0,n=s-1;e<n;e++)tn(t,l,a[e],a[e+1]);return tn(t,l,B.isNullOrUndef(i=s>1?(c-u)/(s-1):null)?0:u-i,u),tn(t,l,c,B.isNullOrUndef(i)?t.length:c+i),Ze(t)}return tn(t,l),Ze(t)},_tickSize:function(){var t=this.options.ticks,e=B.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),l=Math.abs(Math.sin(e)),i=this._getLabelSizes(),r=t.autoSkipPadding||0,o=i?i.widest.width+r:0,a=i?i.highest.height+r:0;return this.isHorizontal()?a*n>o*l?o/n:a/l:a*l<o*n?a/n:o/l},_isVisible:function(){var t,e,n,l=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(t=0,e=l.data.datasets.length;t<e;++t)if(l.isDatasetVisible(t)&&((n=l.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,l,i,r,o,a,s,u,c,d,h,p,f,b,m,g,_=this,y=_.chart,A=_.options,v=A.gridLines,C=A.position,w=v.offsetGridLines,P=_.isHorizontal(),x=_._ticksToDraw,S=x.length+(w?1:0),k=Xe(v),M=[],O=v.drawBorder?We(v.lineWidth,0,0):0,D=O/2,T=B._alignPixel,E=function(t){return T(y,t,O)};for("top"===C?(e=E(_.bottom),a=_.bottom-k,u=e-D,d=E(t.top)+D,p=t.bottom):"bottom"===C?(e=E(_.top),d=t.top,p=E(t.bottom)-D,a=e+D,u=_.top+k):"left"===C?(e=E(_.right),o=_.right-k,s=e-D,c=E(t.left)+D,h=t.right):(e=E(_.left),c=t.left,h=E(t.right)-D,o=e+D,s=_.left+k),n=0;n<S;++n)Ve((l=x[n]||{}).label)&&n<x.length||(n===_.zeroLineIndex&&A.offset===w?(f=v.zeroLineWidth,b=v.zeroLineColor,m=v.zeroLineBorderDash||[],g=v.zeroLineBorderDashOffset||0):(f=We(v.lineWidth,n,1),b=We(v.color,n,"rgba(0,0,0,0.1)"),m=v.borderDash||[],g=v.borderDashOffset||0),void 0!==(i=$e(_,l._index||n,w))&&(r=T(y,i,f),P?o=s=c=h=r:a=u=d=p=r,M.push({tx1:o,ty1:a,tx2:s,ty2:u,x1:c,y1:d,x2:h,y2:p,width:f,color:b,borderDash:m,borderDashOffset:g})));return M.ticksLength=S,M.borderValue=e,M},_computeLabelItems:function(){var t,e,n,l,i,r,o,a,s,u,c,d,h=this,p=h.options,f=p.ticks,b=p.position,m=f.mirror,g=h.isHorizontal(),_=h._ticksToDraw,y=Qe(f),A=f.padding,v=Xe(p.gridLines),C=-B.toRadians(h.labelRotation),w=[];for("top"===b?(r=h.bottom-v-A,o=C?"left":"center"):"bottom"===b?(r=h.top+v+A,o=C?"right":"center"):"left"===b?(i=h.right-(m?0:v)-A,o=m?"left":"right"):(i=h.left+(m?0:v)+A,o=m?"right":"left"),t=0,e=_.length;t<e;++t)Ve(l=(n=_[t]).label)||(a=h.getPixelForTick(n._index||t)+f.labelOffset,u=(s=n.major?y.major:y.minor).lineHeight,c=He(l)?l.length:1,g?(i=a,d="top"===b?((C?1:.5)-c)*u:(C?0:.5)*u):(r=a,d=(1-c)*u/2),w.push({x:i,y:r,rotation:C,label:l,font:s,textOffset:d,textAlign:o}));return w},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var l,i,r,o,a,s=e.ctx,u=e.chart,c=B._alignPixel,d=n.drawBorder?We(n.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(r=0,o=h.length;r<o;++r)i=(a=h[r]).color,(l=a.width)&&i&&(s.save(),s.lineWidth=l,s.strokeStyle=i,s.setLineDash&&(s.setLineDash(a.borderDash),s.lineDashOffset=a.borderDashOffset),s.beginPath(),n.drawTicks&&(s.moveTo(a.tx1,a.ty1),s.lineTo(a.tx2,a.ty2)),n.drawOnChartArea&&(s.moveTo(a.x1,a.y1),s.lineTo(a.x2,a.y2)),s.stroke(),s.restore());if(d){var p,f,b,m,g=d,_=We(n.lineWidth,h.ticksLength-1,1),y=h.borderValue;e.isHorizontal()?(p=c(u,e.left,g)-g/2,f=c(u,e.right,_)+_/2,b=m=y):(b=c(u,e.top,g)-g/2,m=c(u,e.bottom,_)+_/2,p=f=y),s.lineWidth=d,s.strokeStyle=We(n.color,0),s.beginPath(),s.moveTo(p,b),s.lineTo(f,m),s.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,l,i,r,o,a,s,u=t.ctx,c=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,l=c.length;e<l;++e){if(o=(r=c[e]).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=r.textAlign,s=r.textOffset,He(a=r.label))for(n=0,i=a.length;n<i;++n)u.fillText(""+a[n],0,s),s+=o.lineHeight;else u.fillText(a,0,s);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,l=n.scaleLabel;if(l.display){var i,r,o=qe(l.fontColor,R.global.defaultFontColor),a=B.options._parseFont(l),s=B.options.toPadding(l.padding),u=a.lineHeight/2,c=n.position,d=0;if(t.isHorizontal())i=t.left+t.width/2,r="bottom"===c?t.bottom-u-s.bottom:t.top+u+s.top;else{var h="left"===c;i=h?t.left+u+s.top:t.right-u-s.top,r=t.top+t.height/2,d=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(i,r),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=o,e.font=a.string,e.fillText(l.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,l=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==l&&t.draw===t._draw?[{z:l,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(l){return(!t||l.type===t)&&(n?l.xAxisID===e.id:l.yAxisID===e.id)}))}});en.prototype._draw=en.prototype.draw;var nn=en,ln=B.isNullOrUndef,rn=nn.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),l=e.options.ticks,i=l.min,r=l.max,o=0,a=n.length-1;void 0!==i&&(t=n.indexOf(i))>=0&&(o=t),void 0!==r&&(t=n.indexOf(r))>=0&&(a=t),e.minIndex=o,e.maxIndex=a,e.min=n[o],e.max=n[a]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;nn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var l,i,r,o=this;return ln(e)||ln(n)||(t=o.chart.data.datasets[n].data[e]),ln(t)||(l=o.isHorizontal()?t.x:t.y),(void 0!==l||void 0!==t&&isNaN(e))&&(i=o._getLabels(),t=B.valueOrDefault(l,t),e=-1!==(r=i.indexOf(t))?r:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});rn._defaults={position:"bottom"};var on=B.isNullOrUndef,an=nn.extend({getRightValue:function(t){return"string"==typeof t?+t:nn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=B.sign(t.min),l=B.sign(t.max);n<0&&l<0?t.max=0:n>0&&l>0&&(t.min=0)}var i=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),i!==r&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,l=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),l=l||11),l&&(t=Math.min(l,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:B.noop,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),l={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:B.valueOrDefault(e.fixedStepSize,e.stepSize)},i=t.ticks=function(t,e){var n,l,i,r,o=[],a=t.stepSize,s=a||1,u=t.maxTicks-1,c=t.min,d=t.max,h=t.precision,p=e.min,f=e.max,b=B.niceNum((f-p)/u/s)*s;if(b<1e-14&&on(c)&&on(d))return[p,f];(r=Math.ceil(f/b)-Math.floor(p/b))>u&&(b=B.niceNum(r*b/u/s)*s),a||on(h)?n=Math.pow(10,B._decimalPlaces(b)):(n=Math.pow(10,h),b=Math.ceil(b*n)/n),l=Math.floor(p/b)*b,i=Math.ceil(f/b)*b,a&&(!on(c)&&B.almostWhole(c/b,b/1e3)&&(l=c),!on(d)&&B.almostWhole(d/b,b/1e3)&&(i=d)),r=B.almostEquals(r=(i-l)/b,Math.round(r),b/1e3)?Math.round(r):Math.ceil(r),l=Math.round(l*n)/n,i=Math.round(i*n)/n,o.push(on(c)?l:c);for(var m=1;m<r;++m)o.push(Math.round((l+m*b)*n)/n);return o.push(on(d)?i:d),o}(l,t);t.handleDirectionalChanges(),t.max=B.max(i),t.min=B.min(i),e.reverse?(i.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),nn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),l=e.min,i=e.max;nn.prototype._configure.call(e),e.options.offset&&n.length&&(l-=t=(i-l)/Math.max(n.length-1,1)/2,i+=t),e._startValue=l,e._endValue=i,e._valueRange=i-l}}),sn={position:"left",ticks:{callback:Ge.formatters.linear}};function un(t,e,n,l){var i,r,o=t.options,a=function(t,e,n){var l=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[l]&&(t[l]={pos:[],neg:[]}),t[l]}(e,o.stacked,n),s=a.pos,u=a.neg,c=l.length;for(i=0;i<c;++i)r=t._parseValue(l[i]),isNaN(r.min)||isNaN(r.max)||n.data[i].hidden||(s[i]=s[i]||0,u[i]=u[i]||0,o.relativePoints?s[i]=100:r.min<0||r.max<0?u[i]+=r.min:s[i]+=r.max)}function cn(t,e,n){var l,i,r=n.length;for(l=0;l<r;++l)i=t._parseValue(n[l]),isNaN(i.min)||isNaN(i.max)||e.data[l].hidden||(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}var dn=an.extend({determineDataLimits:function(){var t,e,n,l,i=this,r=i.options,o=i.chart.data.datasets,a=i._getMatchingVisibleMetas(),s=r.stacked,u={},c=a.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===s)for(t=0;!s&&t<c;++t)s=void 0!==(e=a[t]).stack;for(t=0;t<c;++t)n=o[(e=a[t]).index].data,s?un(i,u,e,n):cn(i,e,n);B.each(u,(function(t){l=t.pos.concat(t.neg),i.min=Math.min(i.min,B.min(l)),i.max=Math.max(i.max,B.max(l))})),i.min=B.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=B.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=B.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}});dn._defaults=sn;var hn=B.valueOrDefault,pn=B.math.log10,fn={position:"left",ticks:{callback:Ge.formatters.logarithmic}};function bn(t,e){return B.isFinite(t)&&t>=0?t:e}var mn=nn.extend({determineDataLimits:function(){var t,e,n,l,i,r,o=this,a=o.options,s=o.chart,u=s.data.datasets,c=o.isHorizontal();function d(t){return c?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=a.stacked;if(void 0===h)for(t=0;t<u.length;t++)if(e=s.getDatasetMeta(t),s.isDatasetVisible(t)&&d(e)&&void 0!==e.stack){h=!0;break}if(a.stacked||h){var p={};for(t=0;t<u.length;t++){var f=[(e=s.getDatasetMeta(t)).type,void 0===a.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(s.isDatasetVisible(t)&&d(e))for(void 0===p[f]&&(p[f]=[]),i=0,r=(l=u[t].data).length;i<r;i++){var b=p[f];n=o._parseValue(l[i]),isNaN(n.min)||isNaN(n.max)||e.data[i].hidden||n.min<0||n.max<0||(b[i]=b[i]||0,b[i]+=n.max)}}B.each(p,(function(t){if(t.length>0){var e=B.min(t),n=B.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t<u.length;t++)if(e=s.getDatasetMeta(t),s.isDatasetVisible(t)&&d(e))for(i=0,r=(l=u[t].data).length;i<r;i++)n=o._parseValue(l[i]),isNaN(n.min)||isNaN(n.max)||e.data[i].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=B.isFinite(o.min)?o.min:null,o.max=B.isFinite(o.max)?o.max:null,o.minNotZero=B.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=bn(e.min,t.min),t.max=bn(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(pn(t.min))-1),t.max=Math.pow(10,Math.floor(pn(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(pn(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(pn(t.min))+1):10),null===t.minNotZero&&(t.minNotZero=t.min>0?t.min:t.max<1?Math.pow(10,Math.floor(pn(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),l={min:bn(e.min),max:bn(e.max)},i=t.ticks=function(t,e){var n,l,i=[],r=hn(t.min,Math.pow(10,Math.floor(pn(e.min)))),o=Math.floor(pn(e.max)),a=Math.ceil(e.max/Math.pow(10,o));0===r?(n=Math.floor(pn(e.minNotZero)),l=Math.floor(e.minNotZero/Math.pow(10,n)),i.push(r),r=l*Math.pow(10,n)):(n=Math.floor(pn(r)),l=Math.floor(r/Math.pow(10,n)));var s=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(r),10==++l&&(l=1,s=++n>=0?1:s),r=Math.round(l*Math.pow(10,n)*s)/s}while(n<o||n===o&&l<a);var u=hn(t.max,r);return i.push(u),i}(l,t);t.max=B.max(i),t.min=B.min(i),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),nn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(pn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;nn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=hn(t.options.ticks.fontSize,R.global.defaultFontSize)/t._length),t._startValue=pn(e),t._valueOffset=n,t._valueRange=(pn(t.max)-pn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(pn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}});mn._defaults=fn;var gn=B.valueOrDefault,_n=B.valueAtIndexOrDefault,yn=B.options.resolve,An={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Ge.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function vn(t){var e=t.ticks;return e.display&&t.display?gn(e.fontSize,R.global.defaultFontSize)+2*e.backdropPaddingY:0}function Cn(t,e,n,l,i){return t===l||t===i?{start:e-n/2,end:e+n/2}:t<l||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function wn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Pn(t,e,n,l){var i,r,o=n.y+l/2;if(B.isArray(e))for(i=0,r=e.length;i<r;++i)t.fillText(e[i],n.x,o),o+=l;else t.fillText(e,n.x,o)}function xn(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function Sn(t){return B.isNumber(t)?t:0}var kn=an.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=vn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;B.each(e.data.datasets,(function(i,r){if(e.isDatasetVisible(r)){var o=e.getDatasetMeta(r);B.each(i.data,(function(e,i){var r=+t.getRightValue(e);isNaN(r)||o.data[i].hidden||(n=Math.min(r,n),l=Math.max(r,l))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=l===Number.NEGATIVE_INFINITY?0:l,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/vn(this.options))},convertTicksToLabels:function(){var t=this;an.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=B.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,l,i=B.options._parseFont(t.options.pointLabels),r={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=i.string,t._pointLabelSizes=[];var a,s,u,c=t.chart.data.labels.length;for(e=0;e<c;e++){l=t.getPointPosition(e,t.drawingArea+5),a=t.ctx,s=i.lineHeight,n=B.isArray(u=t.pointLabels[e])?{w:B.longestText(a,a.font,u),h:u.length*s}:{w:a.measureText(u).width,h:s},t._pointLabelSizes[e]=n;var d=t.getIndexAngle(e),h=B.toDegrees(d)%360,p=Cn(h,l.x,n.w,0,180),f=Cn(h,l.y,n.h,90,270);p.start<r.l&&(r.l=p.start,o.l=d),p.end>r.r&&(r.r=p.end,o.r=d),f.start<r.t&&(r.t=f.start,o.t=d),f.end>r.b&&(r.b=f.end,o.b=d)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var l=this,i=e.l/Math.sin(n.l),r=Math.max(e.r-l.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),a=-Math.max(e.b-(l.height-l.paddingTop),0)/Math.cos(n.b);i=Sn(i),r=Sn(r),o=Sn(o),a=Sn(a),l.drawingArea=Math.min(Math.floor(t-(i+r)/2),Math.floor(t-(o+a)/2)),l.setCenterPoint(i,r,o,a)},setCenterPoint:function(t,e,n,l){var i=this,r=n+i.drawingArea,o=i.height-i.paddingTop-l-i.drawingArea;i.xCenter=Math.floor((t+i.drawingArea+(i.width-e-i.drawingArea))/2+i.left),i.yCenter=Math.floor((r+o)/2+i.top+i.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(B.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,l=this,i=l.ctx,r=l.options,o=r.gridLines,a=r.angleLines,s=gn(a.lineWidth,o.lineWidth),u=gn(a.color,o.color);if(r.pointLabels.display&&function(t){var e=t.ctx,n=t.options,l=n.pointLabels,i=vn(n),r=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=B.options._parseFont(l);e.save(),e.font=o.string,e.textBaseline="middle";for(var a=t.chart.data.labels.length-1;a>=0;a--){var s=t.getPointPosition(a,r+(0===a?i/2:0)+5),u=_n(l.fontColor,a,R.global.defaultFontColor);e.fillStyle=u;var c=t.getIndexAngle(a),d=B.toDegrees(c);e.textAlign=wn(d),xn(d,t._pointLabelSizes[a],s),Pn(e,t.pointLabels[a],s,o.lineHeight)}e.restore()}(l),o.display&&B.each(l.ticks,(function(t,n){0!==n&&(e=l.getDistanceFromCenterForValue(l.ticksAsNumbers[n]),function(t,e,n,l){var i,r=t.ctx,o=e.circular,a=t.chart.data.labels.length,s=_n(e.color,l-1),u=_n(e.lineWidth,l-1);if((o||a)&&s&&u){if(r.save(),r.strokeStyle=s,r.lineWidth=u,r.setLineDash&&(r.setLineDash(e.borderDash||[]),r.lineDashOffset=e.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{i=t.getPointPosition(0,n),r.moveTo(i.x,i.y);for(var c=1;c<a;c++)i=t.getPointPosition(c,n),r.lineTo(i.x,i.y)}r.closePath(),r.stroke(),r.restore()}}(l,o,e,n))})),a.display&&s&&u){for(i.save(),i.lineWidth=s,i.strokeStyle=u,i.setLineDash&&(i.setLineDash(yn([a.borderDash,o.borderDash,[]])),i.lineDashOffset=yn([a.borderDashOffset,o.borderDashOffset,0])),t=l.chart.data.labels.length-1;t>=0;t--)e=l.getDistanceFromCenterForValue(r.ticks.reverse?l.min:l.max),n=l.getPointPosition(t,e),i.beginPath(),i.moveTo(l.xCenter,l.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var l,i,r=t.getIndexAngle(0),o=B.options._parseFont(n),a=gn(n.fontColor,R.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",B.each(t.ticks,(function(r,s){(0!==s||n.reverse)&&(l=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]),n.showLabelBackdrop&&(i=e.measureText(r).width,e.fillStyle=n.backdropColor,e.fillRect(-i/2-n.backdropPaddingX,-l-o.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=a,e.fillText(r,0,-l))})),e.restore()}},_drawTitle:B.noop});kn._defaults=An;var Mn=B._deprecated,On=B.options.resolve,Dn=B.valueOrDefault,Tn=Number.MIN_SAFE_INTEGER||-9007199254740991,En=Number.MAX_SAFE_INTEGER||9007199254740991,In={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ln=Object.keys(In);function jn(t,e){return t-e}function Rn(t){return B.valueOrDefault(t.time.min,t.ticks.min)}function Fn(t){return B.valueOrDefault(t.time.max,t.ticks.max)}function Nn(t,e,n,l){var i=function(t,e,n){for(var l,i,r,o=0,a=t.length-1;o>=0&&o<=a;){if(r=t[l=o+a>>1],!(i=t[l-1]||null))return{lo:null,hi:r};if(r[e]<n)o=l+1;else{if(!(i[e]>n))return{lo:i,hi:r};a=l-1}}return{lo:r,hi:null}}(t,e,n),r=i.lo?i.hi?i.lo:t[t.length-2]:t[0],o=i.lo?i.hi?i.hi:t[t.length-1]:t[1],a=o[e]-r[e];return r[l]+(o[l]-r[l])*(a?(n-r[e])/a:0)}function Yn(t,e){var n=t._adapter,l=t.options.time,i=l.parser,r=i||l.format,o=e;return"function"==typeof i&&(o=i(o)),B.isFinite(o)||(o="string"==typeof r?n.parse(o,r):n.parse(o)),null!==o?+o:(i||"function"!=typeof r||(o=r(e),B.isFinite(o)||(o=n.parse(o))),o)}function Un(t,e){if(B.isNullOrUndef(e))return null;var n=t.options.time,l=Yn(t,t.getRightValue(e));return null===l||n.round&&(l=+t._adapter.startOf(l,n.round)),l}function Bn(t,e,n,l){var i,r,o=Ln.length;for(i=Ln.indexOf(t);i<o-1;++i)if((r=In[Ln[i]]).common&&Math.ceil((n-e)/((r.steps?r.steps:En)*r.size))<=l)return Ln[i];return Ln[o-1]}function zn(t,e,n){var l,i,r=[],o={},a=e.length;for(l=0;l<a;++l)o[i=e[l]]=l,r.push({value:i,major:!1});return 0!==a&&n?function(t,e,n,l){var i,r,o=t._adapter,a=+o.startOf(e[0].value,l),s=e[e.length-1].value;for(i=a;i<=s;i=+o.add(i,1,l))(r=n[i])>=0&&(e[r].major=!0);return e}(t,r,o,n):r}var Gn=nn.extend({initialize:function(){this.mergeTicksOptions(),nn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),l=t._adapter=new ze._date(e.adapters.date);return Mn("time scale",n.format,"time.format","time.parser"),Mn("time scale",n.min,"time.min","ticks.min"),Mn("time scale",n.max,"time.max","ticks.max"),B.mergeIf(n.displayFormats,l.formats()),nn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),nn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,l,i,r,o,a=this,s=a.chart,u=a._adapter,c=a.options,d=c.time.unit||"day",h=En,p=Tn,f=[],b=[],m=[],g=a._getLabels();for(t=0,n=g.length;t<n;++t)m.push(Un(a,g[t]));for(t=0,n=(s.data.datasets||[]).length;t<n;++t)if(s.isDatasetVisible(t))if(B.isObject((i=s.data.datasets[t].data)[0]))for(b[t]=[],e=0,l=i.length;e<l;++e)r=Un(a,i[e]),f.push(r),b[t][e]=r;else b[t]=m.slice(0),o||(f=f.concat(m),o=!0);else b[t]=[];m.length&&(h=Math.min(h,m[0]),p=Math.max(p,m[m.length-1])),f.length&&(f=n>1?function(t){var e,n,l,i={},r=[];for(e=0,n=t.length;e<n;++e)i[l=t[e]]||(i[l]=!0,r.push(l));return r}(f).sort(jn):f.sort(jn),h=Math.min(h,f[0]),p=Math.max(p,f[f.length-1])),h=Un(a,Rn(c))||h,p=Un(a,Fn(c))||p,h=h===En?+u.startOf(Date.now(),d):h,p=p===Tn?+u.endOf(Date.now(),d)+1:p,a.min=Math.min(h,p),a.max=Math.max(h+1,p),a._table=[],a._timestamps={data:f,datasets:b,labels:m}},buildTicks:function(){var t,e,n,l=this,i=l.min,r=l.max,o=l.options,a=o.ticks,s=o.time,u=l._timestamps,c=[],d=l.getLabelCapacity(i),h=a.source,p=o.distribution;for(u="data"===h||"auto"===h&&"series"===p?u.data:"labels"===h?u.labels:function(t,e,n,l){var i,r=t._adapter,o=t.options,a=o.time,s=a.unit||Bn(a.minUnit,e,n,l),u=On([a.stepSize,a.unitStepSize,1]),c="week"===s&&a.isoWeekday,d=e,h=[];if(c&&(d=+r.startOf(d,"isoWeek",c)),d=+r.startOf(d,c?"day":s),r.diff(n,e,s)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+s;for(i=d;i<n;i=+r.add(i,u,s))h.push(i);return i!==n&&"ticks"!==o.bounds||h.push(i),h}(l,i,r,d),"ticks"===o.bounds&&u.length&&(i=u[0],r=u[u.length-1]),i=Un(l,Rn(o))||i,r=Un(l,Fn(o))||r,t=0,e=u.length;t<e;++t)(n=u[t])>=i&&n<=r&&c.push(n);return l.min=i,l.max=r,l._unit=s.unit||(a.autoSkip?Bn(s.minUnit,l.min,l.max,d):function(t,e,n,l,i){var r,o;for(r=Ln.length-1;r>=Ln.indexOf(n);r--)if(In[o=Ln[r]].common&&t._adapter.diff(i,l,o)>=e-1)return o;return Ln[n?Ln.indexOf(n):0]}(l,c.length,s.minUnit,l.min,l.max)),l._majorUnit=a.major.enabled&&"year"!==l._unit?function(t){for(var e=Ln.indexOf(t)+1,n=Ln.length;e<n;++e)if(In[Ln[e]].common)return Ln[e]}(l._unit):void 0,l._table=function(t,e,n,l){if("linear"===l||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var i,r,o,a,s,u=[],c=[e];for(i=0,r=t.length;i<r;++i)(a=t[i])>e&&a<n&&c.push(a);for(c.push(n),i=0,r=c.length;i<r;++i)s=c[i+1],a=c[i],void 0!==(o=c[i-1])&&void 0!==s&&Math.round((s+o)/2)===a||u.push({time:a,pos:i/(r-1)});return u}(l._timestamps.data,i,r,p),l._offsets=function(t,e,n,l,i){var r,o,a=0,s=0;return i.offset&&e.length&&(r=Nn(t,"time",e[0],"pos"),a=1===e.length?1-r:(Nn(t,"time",e[1],"pos")-r)/2,o=Nn(t,"time",e[e.length-1],"pos"),s=1===e.length?o:(o-Nn(t,"time",e[e.length-2],"pos"))/2),{start:a,end:s,factor:1/(a+1+s)}}(l._table,c,0,0,o),a.reverse&&c.reverse(),zn(l,c,l._majorUnit)},getLabelForIndex:function(t,e){var n=this,l=n._adapter,i=n.chart.data,r=n.options.time,o=i.labels&&t<i.labels.length?i.labels[t]:"",a=i.datasets[e].data[t];return B.isObject(a)&&(o=n.getRightValue(a)),r.tooltipFormat?l.format(Yn(n,o),r.tooltipFormat):"string"==typeof o?o:l.format(Yn(n,o),r.displayFormats.datetime)},tickFormatFunction:function(t,e,n,l){var i=this.options,r=i.time.displayFormats,o=this._majorUnit,a=r[o],s=n[e],u=i.ticks,c=o&&a&&s&&s.major,d=this._adapter.format(t,l||(c?a:r[this._unit])),h=c?u.major:u.minor,p=On([h.callback,h.userCallback,u.callback,u.userCallback]);return p?p(d,e,n):d},convertTicksToLabels:function(t){var e,n,l=[];for(e=0,n=t.length;e<n;++e)l.push(this.tickFormatFunction(t[e].value,e,t));return l},getPixelForOffset:function(t){var e=this._offsets,n=Nn(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var l=null;if(void 0!==e&&void 0!==n&&(l=this._timestamps.datasets[n][e]),null===l&&(l=Un(this,t)),null!==l)return this.getPixelForOffset(l)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,l=Nn(this._table,"pos",n,"time");return this._adapter._create(l)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,l=B.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),i=Math.cos(l),r=Math.sin(l),o=Dn(e.fontSize,R.global.defaultFontSize);return{w:n*i+o*r,h:n*r+o*i}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,l=n.displayFormats,i=l[n.unit]||l.millisecond,r=e.tickFormatFunction(t,0,zn(e,[t],e._majorUnit),i),o=e._getLabelSize(r),a=Math.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&a--,a>0?a:1}});Gn._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Hn={category:rn,linear:dn,logarithmic:mn,radialLinear:kn,time:Gn},Vn={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ze._date.override("function"==typeof t?{_id:"moment",formats:function(){return Vn},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,l){return t(e).add(n,l).valueOf()},diff:function(e,n,l){return t(e).diff(t(n),l)},startOf:function(e,n,l){return e=t(e),"isoWeek"===n?e.isoWeekday(l).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),R._set("global",{plugins:{filler:{propagate:!0}}});var qn={dataset:function(t){var e=t.fill,n=t.chart,l=n.getDatasetMeta(e),i=l&&n.isDatasetVisible(e)&&l.dataset._children||[],r=i.length||0;return r?function(t,e){return e<r&&i[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,l=e?e.y:null;return B.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===l?t.y:l}}}};function Wn(t,e,n){var l,i=t._model||{},r=i.fill;if(void 0===r&&(r=!!i.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(l=parseFloat(r,10),isFinite(l)&&Math.floor(l)===l)return"-"!==r[0]&&"+"!==r[0]||(l=e+l),!(l===e||l<0||l>=n)&&l;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function $n(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,l,i,r,o=t.el._scale,a=o.options,s=o.chart.data.labels.length,u=t.fill,c=[];if(!s)return null;for(n=a.ticks.reverse?o.min:o.max,l=o.getPointPositionForValue(0,e=a.ticks.reverse?o.max:o.min),i=0;i<s;++i)r="start"===u||"end"===u?o.getPointPositionForValue(i,"start"===u?e:n):o.getBasePosition(i),a.gridLines.circular&&(r.cx=l.x,r.cy=l.y,r.angle=o.getIndexAngle(i)-Math.PI/2),c.push(r);return c}(t):function(t){var e,n=t.el._model||{},l=t.el._scale||{},i=t.fill,r=null;if(isFinite(i))return null;if("start"===i?r=void 0===n.scaleBottom?l.bottom:n.scaleBottom:"end"===i?r=void 0===n.scaleTop?l.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:l.getBasePixel&&(r=l.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if(B.isFinite(r))return{x:(e=l.isHorizontal())?r:null,y:e?null:r}}return null}(t)}function Xn(t,e,n){var l,i=t[e].fill,r=[e];if(!n)return i;for(;!1!==i&&-1===r.indexOf(i);){if(!isFinite(i))return i;if(!(l=t[i]))return!1;if(l.visible)return i;r.push(i),i=l.fill}return!1}function Kn(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),qn[n](t))}function Jn(t){return t&&!t.skip}function Qn(t,e,n,l,i){var r,o,a,s;if(l&&i){for(t.moveTo(e[0].x,e[0].y),r=1;r<l;++r)B.canvas.lineTo(t,e[r-1],e[r]);if(void 0===n[0].angle)for(t.lineTo(n[i-1].x,n[i-1].y),r=i-1;r>0;--r)B.canvas.lineTo(t,n[r],n[r-1],!0);else for(o=n[0].cx,a=n[0].cy,s=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-a,2)),r=i-1;r>0;--r)t.arc(o,a,s,n[r].angle,n[r-1].angle,!0)}}function Zn(t,e,n,l,i,r){var o,a,s,u,c,d,h,p,f=e.length,b=l.spanGaps,m=[],g=[],_=0,y=0;for(t.beginPath(),o=0,a=f;o<a;++o)c=n(u=e[s=o%f]._view,s,l),d=Jn(u),h=Jn(c),r&&void 0===p&&d&&(a=f+(p=o+1)),d&&h?(_=m.push(u),y=g.push(c)):_&&y&&(b?(d&&m.push(u),h&&g.push(c)):(Qn(t,m,g,_,y),_=y=0,m=[],g=[]));Qn(t,m,g,_,y),t.closePath(),t.fillStyle=i,t.fill()}var tl={id:"filler",afterDatasetsUpdate:function(t,e){var n,l,i,r,o=(t.data.datasets||[]).length,a=e.propagate,s=[];for(l=0;l<o;++l)r=null,(i=(n=t.getDatasetMeta(l)).dataset)&&i._model&&i instanceof gt.Line&&(r={visible:t.isDatasetVisible(l),fill:Wn(i,l,o),chart:t,el:i}),n.$filler=r,s.push(r);for(l=0;l<o;++l)(r=s[l])&&(r.fill=Xn(s,l,a),r.boundary=$n(r),r.mapper=Kn(r))},beforeDatasetsDraw:function(t){var e,n,l,i,r,o,a,s=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=s.length-1;n>=0;--n)(e=s[n].$filler)&&e.visible&&(r=(l=e.el)._children||[],a=(i=l._view).backgroundColor||R.global.defaultColor,(o=e.mapper)&&a&&r.length&&(B.canvas.clipArea(u,t.chartArea),Zn(u,r,o,i,a,l._loop),B.canvas.unclipArea(u)))}},el=B.rtl.getRtlAdapter,nl=B.noop,ll=B.valueOrDefault;function il(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}R._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,l=this.chart,i=l.getDatasetMeta(n);i.hidden=null===i.hidden?!l.data.datasets[n].hidden:null,l.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},l=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var i=n.controller.getStyle(l?0:void 0);return{text:e[n.index].label,fillStyle:i.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data.datasets;for(i.setAttribute("class",t.id+"-legend"),e=0,n=r.length;e<n;e++)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[e].backgroundColor,r[e].label&&l.appendChild(document.createTextNode(r[e].label));return i.outerHTML}});var rl=q.extend({initialize:function(t){B.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:nl,update:function(t,e,n){var l=this;return l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=n,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeBuildLabels(),l.buildLabels(),l.afterBuildLabels(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.minSize},afterUpdate:nl,beforeSetDimensions:nl,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:nl,beforeBuildLabels:nl,buildLabels:function(){var t=this,e=t.options.labels||{},n=B.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:nl,beforeFit:nl,fit:function(){var t=this,e=t.options,n=e.labels,l=e.display,i=t.ctx,r=B.options._parseFont(n),o=r.size,a=t.legendHitBoxes=[],s=t.minSize,u=t.isHorizontal();if(u?(s.width=t.maxWidth,s.height=l?10:0):(s.width=l?10:0,s.height=t.maxHeight),l){if(i.font=r.string,u){var c=t.lineWidths=[0],d=0;i.textAlign="left",i.textBaseline="middle",B.each(t.legendItems,(function(t,e){var l=il(n,o)+o/2+i.measureText(t.text).width;(0===e||c[c.length-1]+l+2*n.padding>s.width)&&(d+=o+n.padding,c[c.length-(e>0?0:1)]=0),a[e]={left:0,top:0,width:l,height:o},c[c.length-1]+=l+n.padding})),s.height+=d}else{var h=n.padding,p=t.columnWidths=[],f=t.columnHeights=[],b=n.padding,m=0,g=0;B.each(t.legendItems,(function(t,e){var l=il(n,o)+o/2+i.measureText(t.text).width;e>0&&g+o+2*h>s.height&&(b+=m+n.padding,p.push(m),f.push(g),m=0,g=0),m=Math.max(m,l),g+=o+h,a[e]={left:0,top:0,width:l,height:o}})),b+=m,p.push(m),f.push(g),s.width+=b}t.width=s.width,t.height=s.height}else t.width=s.width=t.height=s.height=0},afterFit:nl,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,l=R.global,i=l.defaultColor,r=l.elements.line,o=t.height,a=t.columnHeights,s=t.width,u=t.lineWidths;if(e.display){var c,d=el(e.rtl,t.left,t.minSize.width),h=t.ctx,p=ll(n.fontColor,l.defaultFontColor),f=B.options._parseFont(n),b=f.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=p,h.fillStyle=p,h.font=f.string;var m=il(n,b),g=t.legendHitBoxes,_=function(t,l){switch(e.align){case"start":return n.padding;case"end":return t-l;default:return(t-l+n.padding)/2}},y=t.isHorizontal();c=y?{x:t.left+_(s,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+_(o,a[0]),line:0},B.rtl.overrideTextDirection(t.ctx,e.textDirection);var A=b+n.padding;B.each(t.legendItems,(function(e,l){var p=h.measureText(e.text).width,f=m+b/2+p,v=c.x,C=c.y;d.setWidth(t.minSize.width),y?l>0&&v+f+n.padding>t.left+t.minSize.width&&(C=c.y+=A,c.line++,v=c.x=t.left+_(s,u[c.line])):l>0&&C+A>t.top+t.minSize.height&&(v=c.x=v+t.columnWidths[c.line]+n.padding,c.line++,C=c.y=t.top+_(o,a[c.line]));var w=d.x(v);!function(t,e,l){if(!(isNaN(m)||m<=0)){h.save();var o=ll(l.lineWidth,r.borderWidth);if(h.fillStyle=ll(l.fillStyle,i),h.lineCap=ll(l.lineCap,r.borderCapStyle),h.lineDashOffset=ll(l.lineDashOffset,r.borderDashOffset),h.lineJoin=ll(l.lineJoin,r.borderJoinStyle),h.lineWidth=o,h.strokeStyle=ll(l.strokeStyle,i),h.setLineDash&&h.setLineDash(ll(l.lineDash,r.borderDash)),n&&n.usePointStyle){var a=m*Math.SQRT2/2,s=d.xPlus(t,m/2);B.canvas.drawPoint(h,l.pointStyle,a,s,e+b/2,l.rotation)}else h.fillRect(d.leftForLtr(t,m),e,m,b),0!==o&&h.strokeRect(d.leftForLtr(t,m),e,m,b);h.restore()}}(w,C,e),g[l].left=d.leftForLtr(w,g[l].width),g[l].top=C,function(t,e,n,l){var i=b/2,r=d.xPlus(t,m+i),o=e+i;h.fillText(n.text,r,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(r,o),h.lineTo(d.xPlus(r,l),o),h.stroke())}(w,C,e,p),y?c.x+=f+n.padding:c.y+=A})),B.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,l,i,r=this;if(t>=r.left&&t<=r.right&&e>=r.top&&e<=r.bottom)for(i=r.legendHitBoxes,n=0;n<i.length;++n)if(t>=(l=i[n]).left&&t<=l.left+l.width&&e>=l.top&&e<=l.top+l.height)return r.legendItems[n];return null},handleEvent:function(t){var e,n=this,l=n.options,i="mouseup"===t.type?"click":t.type;if("mousemove"===i){if(!l.onHover&&!l.onLeave)return}else{if("click"!==i)return;if(!l.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===i?e&&l.onClick&&l.onClick.call(n,t.native,e):(l.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&l.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),l.onHover&&e&&l.onHover.call(n,t.native,e))}});function ol(t,e){var n=new rl({ctx:t.ctx,options:e,chart:t});se.configure(t,n,e),se.addBox(t,n),t.legend=n}var al={id:"legend",_element:rl,beforeInit:function(t){var e=t.options.legend;e&&ol(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(B.mergeIf(e,R.global.legend),n?(se.configure(t,n,e),n.options=e):ol(t,e)):n&&(se.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},sl=B.noop;R._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ul=q.extend({initialize:function(t){B.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:sl,update:function(t,e,n){var l=this;return l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=n,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeBuildLabels(),l.buildLabels(),l.afterBuildLabels(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.minSize},afterUpdate:sl,beforeSetDimensions:sl,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:sl,beforeBuildLabels:sl,buildLabels:sl,afterBuildLabels:sl,beforeFit:sl,fit:function(){var t,e=this,n=e.options,l=e.minSize={},i=e.isHorizontal();n.display?(t=(B.isArray(n.text)?n.text.length:1)*B.options._parseFont(n).lineHeight+2*n.padding,e.width=l.width=i?e.maxWidth:t,e.height=l.height=i?t:e.maxHeight):e.width=l.width=e.height=l.height=0},afterFit:sl,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var l,i,r,o=B.options._parseFont(n),a=o.lineHeight,s=a/2+n.padding,u=0,c=t.top,d=t.left,h=t.bottom,p=t.right;e.fillStyle=B.valueOrDefault(n.fontColor,R.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(i=d+(p-d)/2,r=c+s,l=p-d):(i="left"===n.position?d+s:p-s,r=c+(h-c)/2,l=h-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(i,r),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var f=n.text;if(B.isArray(f))for(var b=0,m=0;m<f.length;++m)e.fillText(f[m],0,b,l),b+=a;else e.fillText(f,0,0,l);e.restore()}}});function cl(t,e){var n=new ul({ctx:t.ctx,options:e,chart:t});se.configure(t,n,e),se.addBox(t,n),t.titleBlock=n}var dl={},hl=tl,pl=al,fl={id:"title",_element:ul,beforeInit:function(t){var e=t.options.title;e&&cl(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(B.mergeIf(e,R.global.title),n?(se.configure(t,n,e),n.options=e):cl(t,e)):n&&(se.removeBox(t,n),delete t.titleBlock)}};for(var bl in dl.filler=hl,dl.legend=pl,dl.title=fl,Ye.helpers=B,function(){function t(t,e,n){var l;return"string"==typeof t?(l=parseInt(t,10),-1!==t.indexOf("%")&&(l=l/100*e.parentNode[n])):l=t,l}function e(t){return null!=t&&"none"!==t}function n(n,l,i){var r=document.defaultView,o=B._getParentNode(n),a=r.getComputedStyle(n)[l],s=r.getComputedStyle(o)[l],u=e(a),c=e(s),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?t(a,n,i):d,c?t(s,o,i):d):"none"}B.where=function(t,e){if(B.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return B.each(t,(function(t){e(t)&&n.push(t)})),n},B.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var l=0,i=t.length;l<i;++l)if(e.call(n,t[l],l,t))return l;return-1},B.findNextWhere=function(t,e,n){B.isNullOrUndef(n)&&(n=-1);for(var l=n+1;l<t.length;l++){var i=t[l];if(e(i))return i}},B.findPreviousWhere=function(t,e,n){B.isNullOrUndef(n)&&(n=t.length);for(var l=n-1;l>=0;l--){var i=t[l];if(e(i))return i}},B.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},B.almostEquals=function(t,e,n){return Math.abs(t-e)<n},B.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},B.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},B.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},B.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},B.toRadians=function(t){return t*(Math.PI/180)},B.toDegrees=function(t){return t*(180/Math.PI)},B._decimalPlaces=function(t){if(B.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},B.getAngleFromPoint=function(t,e){var n=e.x-t.x,l=e.y-t.y,i=Math.sqrt(n*n+l*l),r=Math.atan2(l,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:i}},B.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},B.aliasPixel=function(t){return t%2==0?0:.5},B._alignPixel=function(t,e,n){var l=t.currentDevicePixelRatio,i=n/2;return Math.round((e-i)*l)/l+i},B.splineCurve=function(t,e,n,l){var i=t.skip?e:t,r=e,o=n.skip?e:n,a=Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2)),s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=a/(a+s),c=s/(a+s),d=l*(u=isNaN(u)?0:u),h=l*(c=isNaN(c)?0:c);return{previous:{x:r.x-d*(o.x-i.x),y:r.y-d*(o.y-i.y)},next:{x:r.x+h*(o.x-i.x),y:r.y+h*(o.y-i.y)}}},B.EPSILON=Number.EPSILON||1e-14,B.splineCurveMonotone=function(t){var e,n,l,i,r,o,a,s,u,c=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),d=c.length;for(e=0;e<d;++e)if(!(l=c[e]).model.skip){if(n=e>0?c[e-1]:null,(i=e<d-1?c[e+1]:null)&&!i.model.skip){var h=i.model.x-l.model.x;l.deltaK=0!==h?(i.model.y-l.model.y)/h:0}l.mK=!n||n.model.skip?l.deltaK:!i||i.model.skip?n.deltaK:this.sign(n.deltaK)!==this.sign(l.deltaK)?0:(n.deltaK+l.deltaK)/2}for(e=0;e<d-1;++e)i=c[e+1],(l=c[e]).model.skip||i.model.skip||(B.almostEquals(l.deltaK,0,this.EPSILON)?l.mK=i.mK=0:(r=l.mK/l.deltaK,o=i.mK/l.deltaK,(s=Math.pow(r,2)+Math.pow(o,2))<=9||(a=3/Math.sqrt(s),l.mK=r*a*l.deltaK,i.mK=o*a*l.deltaK)));for(e=0;e<d;++e)(l=c[e]).model.skip||(i=e<d-1?c[e+1]:null,(n=e>0?c[e-1]:null)&&!n.model.skip&&(l.model.controlPointPreviousX=l.model.x-(u=(l.model.x-n.model.x)/3),l.model.controlPointPreviousY=l.model.y-u*l.mK),i&&!i.model.skip&&(l.model.controlPointNextX=l.model.x+(u=(i.model.x-l.model.x)/3),l.model.controlPointNextY=l.model.y+u*l.mK))},B.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},B.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},B.niceNum=function(t,e){var n=Math.floor(B.log10(t)),l=t/Math.pow(10,n);return(e?l<1.5?1:l<3?2:l<7?5:10:l<=1?1:l<=2?2:l<=5?5:10)*Math.pow(10,n)},B.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},B.getRelativePosition=function(t,e){var n,l,i=t.originalEvent||t,r=t.target||t.srcElement,o=r.getBoundingClientRect(),a=i.touches;a&&a.length>0?(n=a[0].clientX,l=a[0].clientY):(n=i.clientX,l=i.clientY);var s=parseFloat(B.getStyle(r,"padding-left")),u=parseFloat(B.getStyle(r,"padding-top")),c=parseFloat(B.getStyle(r,"padding-right")),d=parseFloat(B.getStyle(r,"padding-bottom")),h=o.bottom-o.top-u-d;return{x:n=Math.round((n-o.left-s)/(o.right-o.left-s-c)*r.width/e.currentDevicePixelRatio),y:l=Math.round((l-o.top-u)/h*r.height/e.currentDevicePixelRatio)}},B.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},B.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},B._calculatePadding=function(t,e,n){return(e=B.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},B._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},B.getMaximumWidth=function(t){var e=B._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,l=n-B._calculatePadding(e,"padding-left",n)-B._calculatePadding(e,"padding-right",n),i=B.getConstraintWidth(t);return isNaN(i)?l:Math.min(l,i)},B.getMaximumHeight=function(t){var e=B._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,l=n-B._calculatePadding(e,"padding-top",n)-B._calculatePadding(e,"padding-bottom",n),i=B.getConstraintHeight(t);return isNaN(i)?l:Math.min(l,i)},B.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},B.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var l=t.canvas,i=t.height,r=t.width;l.height=i*n,l.width=r*n,t.ctx.scale(n,n),l.style.height||l.style.width||(l.style.height=i+"px",l.style.width=r+"px")}},B.fontString=function(t,e,n){return e+" "+t+"px "+n},B.longestText=function(t,e,n,l){var i=(l=l||{}).data=l.data||{},r=l.garbageCollect=l.garbageCollect||[];l.font!==e&&(i=l.data={},r=l.garbageCollect=[],l.font=e),t.font=e;var o,a,s,u,c,d=0,h=n.length;for(o=0;o<h;o++)if(null!=(u=n[o])&&!0!==B.isArray(u))d=B.measureText(t,i,r,d,u);else if(B.isArray(u))for(a=0,s=u.length;a<s;a++)null==(c=u[a])||B.isArray(c)||(d=B.measureText(t,i,r,d,c));var p=r.length/2;if(p>n.length){for(o=0;o<p;o++)delete i[r[o]];r.splice(0,p)}return d},B.measureText=function(t,e,n,l,i){var r=e[i];return r||(r=e[i]=t.measureText(i).width,n.push(i)),r>l&&(l=r),l},B.numberOfLabelLines=function(t){var e=1;return B.each(t,(function(t){B.isArray(t)&&t.length>e&&(e=t.length)})),e},B.color=A?function(t){return t instanceof CanvasGradient&&(t=R.global.defaultColor),A(t)}:function(t){return console.error("Color.js not found!"),t},B.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:B.color(t).saturate(.5).darken(.1).rgbString()}}(),Ye._adapters=ze,Ye.Animation=$,Ye.animationService=X,Ye.controllers=Vt,Ye.DatasetController=tt,Ye.defaults=R,Ye.Element=q,Ye.elements=gt,Ye.Interaction=Qt,Ye.layouts=se,Ye.platform=ye,Ye.plugins=Ae,Ye.Scale=nn,Ye.scaleService=ve,Ye.Ticks=Ge,Ye.Tooltip=De,Ye.helpers.each(Hn,(function(t,e){Ye.scaleService.registerScaleType(e,t,t._defaults)})),dl)dl.hasOwnProperty(bl)&&Ye.plugins.register(dl[bl]);Ye.platform.initialize();var ml=Ye;return"undefined"!=typeof window&&(window.Chart=Ye),Ye.Chart=Ye,Ye.Legend=dl.legend._element,Ye.Title=dl.title._element,Ye.pluginService=Ye.plugins,Ye.PluginBase=Ye.Element.extend({}),Ye.canvasHelpers=Ye.helpers.canvas,Ye.layoutService=Ye.layouts,Ye.LinearScaleBase=an,Ye.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Ye[t]=function(e,n){return new Ye(e,Ye.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),ml}(function(){try{return n("wd/R")}catch(t){}}())},Mc5n:function(t,e,n){"use strict";n.d(e,"g",(function(){return X})),n.d(e,"e",(function(){return it})),n.d(e,"b",(function(){return K})),n.d(e,"j",(function(){return I})),n.d(e,"k",(function(){return L})),n.d(e,"h",(function(){return rt})),n.d(e,"i",(function(){return W})),n.d(e,"f",(function(){return nt})),n.d(e,"a",(function(){return Z})),n.d(e,"c",(function(){return tt})),n.d(e,"d",(function(){return Q})),n.d(e,"l",(function(){return J}));var l=n("/HVE"),i=n("KCVW"),r=n("XNiG"),o=n("quSY"),a=n("l5mm"),s=n("eNwd"),u=n("HDdC"),c=n("VRyK"),d=n("JX91"),h=n("1G5W"),p=n("lJxs"),f=n("IzEk"),b=n("vkgz"),m=n("eIep"),g=n("8Y7J"),_=n("SVse"),y=n("hOhj");function A(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function v(t,e){const n=e?"":"none";A(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function C(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function w(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}const P=Object(l.g)({passive:!0}),x=Object(l.g)({passive:!1});class S{constructor(t,e,n,l,i,a){this._config=e,this._document=n,this._ngZone=l,this._viewportRuler=i,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new r.a,this._pointerMoveSubscription=o.a.EMPTY,this._pointerUpSubscription=o.a.EMPTY,this._scrollSubscription=o.a.EMPTY,this._resizeSubscription=o.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new r.a,this.started=new r.a,this.released=new r.a,this.ended=new r.a,this.entered=new r.a,this.exited=new r.a,this.dropped=new r.a,this.moved=this._moveEvents.asObservable(),this._pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const n=t.target;return!!n&&(n===e||e.contains(n))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{if(!this._hasStartedDragging){const e=this._getPointerPositionOnPage(t);if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){if(!(Date.now()>=this._dragStartTime+(this.dragStartDelay||0)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const e=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,t.preventDefault(),this._updatePointerDirectionDelta(e),this._dropContainer)this._updateActiveDropContainer(e);else{const t=this._activeTransform;t.x=e.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=e.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:e,event:t,distance:this._getDragDistance(e),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t),a.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Object(i.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}withHandles(t){return this._handles=t.map(t=>Object(i.e)(t)),this._handles.forEach(t=>v(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Object(i.e)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),e.addEventListener("mousedown",this._pointerDown,x),e.addEventListener("touchstart",this._pointerDown,P),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?Object(i.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&D(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_sortFromLastPointerPosition(){const t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&D(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&D(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){if(this.started.next({source:this}),T(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions(),this._dropContainer){const t=this._rootElement;this._nextSibling=t.nextSibling;const n=this._preview=this._createPreviewElement(),l=this._placeholder=this._createPlaceholderElement();t.style.display="none",this._document.body.appendChild(t.parentNode.replaceChild(l,t)),(e=this._document,e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body).appendChild(n),this._dropContainer.start()}var e}_initializeDragSequence(t,e){e.stopPropagation();const n=this.isDragging(),l=T(e),i=!l&&0!==e.button,r=this._rootElement,o=!l&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),n||i||o)return;this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor,r.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.pipe(Object(d.a)(null)).subscribe(()=>{this._scrollPosition=this._viewportRuler.getViewportScrollPosition()}),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(t,e);const a=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):Object(i.e)(this._initialContainer.element).appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,n=e.getItemIndex(this),l=this._getPointerPositionOnPage(t),i=this._getDragDistance(this._getPointerPositionOnPage(t)),r=e._isOverContainer(l.x,l.y);this.ended.next({source:this,distance:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialContainer.getItemIndex(this),container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:i}),e.drop(this,n,this._initialContainer,r,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let n=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,t,e),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=k(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=t?t.template:null;let n;if(e){const l=t.viewContainer.createEmbeddedView(e,t.context);n=E(l,this._document),this._previewRef=l,n.style.transform=k(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement,e=t.getBoundingClientRect();n=M(t),n.style.width=e.width+"px",n.style.height=e.height+"px",n.style.transform=k(e.left,e.top)}return A(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"1000"}),v(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=k(t.left,t.top);const e=function(t){const e=getComputedStyle(t),n=w(e,"transition-property"),l=n.find(t=>"transform"===t||"all"===t);if(!l)return 0;const i=n.indexOf(l),r=w(e,"transition-duration"),o=w(e,"transition-delay");return C(r[i])+C(o[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const n=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",n),t(),clearTimeout(l))},l=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let n;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),n=E(this._placeholderRef,this._document)):n=M(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(t,e){const n=this._rootElement.getBoundingClientRect(),l=t===this._rootElement?null:t,i=l?l.getBoundingClientRect():n,r=T(e)?e.targetTouches[0]:e;return{x:i.left-n.left+(r.pageX-i.left-this._scrollPosition.left),y:i.top-n.top+(r.pageY-i.top-this._scrollPosition.top)}}_getPointerPositionOnPage(t){const e=T(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.pageX-this._scrollPosition.left,y:e.pageY-this._scrollPosition.top}}_getConstrainedPointerPosition(t){const e=this._getPointerPositionOnPage(t),n=this.constrainPosition?this.constrainPosition(e,this):e,l=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===l?n.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==l||(n.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,l=this._boundaryRect,i=this._previewRect,r=l.top+e,o=l.bottom-(i.height-e);n.x=O(n.x,l.left+t,l.right-(i.width-t)),n.y=O(n.y,r,o)}return n}_updatePointerDirectionDelta(t){const{x:e,y:n}=t,l=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-i.x),o=Math.abs(n-i.y);return r>this._config.pointerDirectionChangeThreshold&&(l.x=e>i.x?1:-1,i.x=e),o>this._config.pointerDirectionChangeThreshold&&(l.y=n>i.y?1:-1,i.y=n),l}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,v(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,x),t.removeEventListener("touchstart",this._pointerDown,P)}_applyRootElementTransform(t,e){const n=k(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),l=this._rootElement.getBoundingClientRect(),i=n.left-l.left,r=l.right-n.right,o=n.top-l.top,a=l.bottom-n.bottom;n.width>l.width?(i>0&&(t+=i),r>0&&(t-=r)):t=0,n.height>l.height?(o>0&&(e+=o),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}}function k(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function M(t){const e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),l=t.querySelectorAll("canvas");e.removeAttribute("id");for(let i=0;i<n.length;i++)n[i].removeAttribute("id");if(l.length){const t=e.querySelectorAll("canvas");for(let e=0;e<l.length;e++){const n=t[e].getContext("2d");n&&n.drawImage(l[e],0,0)}}return e}function O(t,e,n){return Math.max(e,Math.min(n,t))}function D(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function T(t){return"t"===t.type[0]}function E(t,e){const n=t.rootNodes[0];if(n.nodeType!==e.ELEMENT_NODE){const t=e.createElement("div");return t.appendChild(n),t}return n}function I(t,e,n){const l=j(e,t.length-1),i=j(n,t.length-1);if(l===i)return;const r=t[l],o=i<l?-1:1;for(let a=l;a!==i;a+=o)t[a]=t[a+o];t[i]=r}function L(t,e,n,l){const i=j(n,t.length-1),r=j(l,e.length);t.length&&e.splice(r,0,t.splice(i,1)[0])}function j(t,e){return Math.max(0,Math.min(e,t))}let R=0;class F{constructor(t,e,n,u,c){this._dragDropRegistry=e,this._ngZone=u,this._viewportRuler=c,this.id="cdk-drop-list-ref-"+R++,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=()=>!0,this.beforeStarted=new r.a,this.entered=new r.a,this.exited=new r.a,this.dropped=new r.a,this.sorted=new r.a,this._isDragging=!1,this._itemPositions=[],this._scrollPosition={top:0,left:0},this._viewportScrollPosition={top:0,left:0},this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=o.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new r.a,this._handleScroll=()=>{if(!this.isDragging())return;const t=Object(i.e)(this.element);this._updateAfterScroll(this._scrollPosition,t.scrollTop,t.scrollLeft)},this._startScrollInterval=()=>{this._stopScrolling(),Object(a.a)(0,s.a).pipe(Object(h.a)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?z(t,-2):2===this._verticalScrollDirection&&z(t,2),1===this._horizontalScrollDirection?G(t,-2):2===this._horizontalScrollDirection&&G(t,2)})};const d=this.element=Object(i.e)(t);this._shadowRoot=function(t){if(Object(l.d)()){const e=t.getRootNode?t.getRootNode():null;if(e instanceof ShadowRoot)return e}return null}(d)||n,e.registerDropContainer(this)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._removeListeners(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const t=Object(i.e)(this.element);this.beforeStarted.next(),this._isDragging=!0,this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._removeListeners(),this._ngZone?this._ngZone.runOutsideAngular(()=>t.addEventListener("scroll",this._handleScroll)):t.addEventListener("scroll",this._handleScroll),this._viewportRuler&&this._listenToScrollEvents()}enter(t,e,n){this.start();let l=this.sortingDisabled?this._draggables.indexOf(t):-1;-1===l&&(l=this._getItemIndexFromPointerPosition(t,e,n));const r=this._activeDraggables,o=r.indexOf(t),a=t.getPlaceholderElement();let s=r[l];if(s===t&&(s=r[l+1]),o>-1&&r.splice(o,1),s&&!this._dragDropRegistry.isDragging(s)){const e=s.getRootElement();e.parentElement.insertBefore(a,e),r.splice(l,0,t)}else Object(i.e)(this.element).appendChild(a),r.push(t);a.style.transform="",this._cacheItemPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,n,l,i={x:0,y:0}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n.getItemIndex(t),container:this,previousContainer:n,isPointerOverContainer:l,distance:i})}withItems(t){return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&this._cacheItems(),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}getItemIndex(t){return this._isDragging?Y("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,n,l){if(this.sortingDisabled||!this._isPointerNearDropContainer(e,n))return;const i=this._itemPositions,r=this._getItemIndexFromPointerPosition(t,e,n,l);if(-1===r&&i.length>0)return;const o="horizontal"===this._orientation,a=Y(i,e=>e.drag===t),s=i[r],u=i[a].clientRect,c=s.clientRect,d=a>r?1:-1;this._previousSwap.drag=s.drag,this._previousSwap.delta=o?l.x:l.y;const h=this._getItemOffsetPx(u,c,d),p=this._getSiblingOffsetPx(a,i,d),f=i.slice();I(i,a,r),this.sorted.next({previousIndex:a,currentIndex:r,container:this,item:t}),i.forEach((e,n)=>{if(f[n]===e)return;const l=e.drag===t,i=l?h:p,r=l?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=i,o?(r.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,N(e.clientRect,0,i)):(r.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,N(e.clientRect,i,0))})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let n,l=0,r=0;if(this._isPointerNearDropContainer(t,e)){const o=Object(i.e)(this.element);[l,r]=function(t,e,n,l){const i=H(e,l),r=V(e,n);let o=0,a=0;if(i){const e=t.scrollTop;1===i?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(r){const e=t.scrollLeft;1===r?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[o,a]}(o,this._clientRect,t,e),(l||r)&&(n=o)}if(this._viewportRuler&&!l&&!r){const{width:i,height:o}=this._viewportRuler.getViewportSize(),a={width:i,height:o,top:0,right:i,bottom:o,left:0};l=H(a,e),r=V(a,t),n=window}!n||l===this._verticalScrollDirection&&r===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=l,this._horizontalScrollDirection=r,this._scrollNode=n,(l||r)&&n?this._ngZone?this._ngZone.runOutsideAngular(this._startScrollInterval):this._startScrollInterval():this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheOwnPosition(){const t=Object(i.e)(this.element);this._clientRect=B(t),this._scrollPosition={top:t.scrollTop,left:t.scrollLeft}}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=this._dragDropRegistry.isDragging(t)?t.getPlaceholderElement():t.getRootElement();return{drag:t,offset:0,clientRect:B(e)}}).sort((e,n)=>t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1,this._activeDraggables.forEach(t=>t.getRootElement().style.transform=""),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._removeListeners()}_getSiblingOffsetPx(t,e,n){const l="horizontal"===this._orientation,i=e[t].clientRect,r=e[t+-1*n];let o=i[l?"width":"height"]*n;if(r){const t=l?"left":"top",e=l?"right":"bottom";-1===n?o-=r.clientRect[t]-i[e]:o+=i[t]-r.clientRect[e]}return o}_isPointerNearDropContainer(t,e){const{top:n,right:l,bottom:i,left:r,width:o,height:a}=this._clientRect,s=.05*o,u=.05*a;return e>n-u&&e<i+u&&t>r-s&&t<l+s}_getItemOffsetPx(t,e,n){const l="horizontal"===this._orientation;let i=l?e.left-t.left:e.top-t.top;return-1===n&&(i+=l?e.width-t.width:e.height-t.height),i}_getItemIndexFromPointerPosition(t,e,n,l){const i="horizontal"===this._orientation;return Y(this._itemPositions,({drag:r,clientRect:o},a,s)=>{if(r===t)return s.length<2;if(l){const t=i?l.x:l.y;if(r===this._previousSwap.drag&&t===this._previousSwap.delta)return!1}return i?e>=Math.floor(o.left)&&e<=Math.floor(o.right):n>=Math.floor(o.top)&&n<=Math.floor(o.bottom)})}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheOwnPosition()}_updateAfterScroll(t,e,n,l){const i=t.top-e,r=t.left-n;l&&N(l,i,r),this._itemPositions.forEach(({clientRect:t})=>{N(t,i,r)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}),t.top=e,t.left=n}_removeListeners(){Object(i.e)(this.element).removeEventListener("scroll",this._handleScroll),this._viewportScrollSubscription.unsubscribe()}_isOverContainer(t,e){return U(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,n){return this._siblings.find(l=>l._canReceive(t,e,n))}_canReceive(t,e,n){if(!this.enterPredicate(t,this)||!U(this._clientRect,e,n))return!1;const l=this._shadowRoot.elementFromPoint(e,n);if(!l)return!1;const r=Object(i.e)(this.element);return l===r||r.contains(l)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheOwnPosition(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(()=>{if(this.isDragging()){const t=this._viewportRuler.getViewportScrollPosition();this._updateAfterScroll(this._viewportScrollPosition,t.top,t.left,this._clientRect)}else this.isReceiving()&&this._cacheOwnPosition()})}}function N(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function Y(t,e){for(let n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1}function U(t,e,n){const{top:l,bottom:i,left:r,right:o}=t;return n>=l&&n<=i&&e>=r&&e<=o}function B(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function z(t,e){t===window?t.scrollBy(0,e):t.scrollTop+=e}function G(t,e){t===window?t.scrollBy(e,0):t.scrollLeft+=e}function H(t,e){const{top:n,bottom:l,height:i}=t,r=.05*i;return e>=n-r&&e<=n+r?1:e>=l-r&&e<=l+r?2:0}function V(t,e){const{left:n,right:l,width:i}=t,r=.05*i;return e>=n-r&&e<=n+r?1:e>=l-r&&e<=l+r?2:0}const q=Object(l.g)({passive:!1,capture:!0});let W=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new r.a,this.pointerUp=new r.a,this.scroll=new r.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},this._document=e}registerDropContainer(t){if(!this._dropInstances.has(t)){if(this.getDropContainer(t.id))throw Error(`Drop instance with id "${t.id}" has already been registered.`);this._dropInstances.add(t)}}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._preventDefaultWhileDragging,q)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,q)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),n=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:q}).set(n,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:q}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}getDropContainer(t){return Array.from(this._dropInstances).find(e=>e.id===t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.ngInjectableDef=Object(g.cc)({factory:function(){return new t(Object(g.dc)(g.G),Object(g.dc)(_.d))},token:t,providedIn:"root"}),t})();const $={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let X=(()=>{class t{constructor(t,e,n,l){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=l}createDrag(t,e=$){return new S(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new F(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.ngInjectableDef=Object(g.cc)({factory:function(){return new t(Object(g.dc)(_.d),Object(g.dc)(g.G),Object(g.dc)(y.e),Object(g.dc)(W))},token:t,providedIn:"root"}),t})();const K=new g.w("CDK_DROP_LIST"),J=new g.w("CDK_DRAG_PARENT");class Q{constructor(t,e){this.element=t,this._stateChanges=new r.a,this._disabled=!1,this._parentDrag=e,v(t.nativeElement,!1)}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}const Z=new g.w("CDK_DRAG_CONFIG",{providedIn:"root",factory:function(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}}});class tt{constructor(t,e,n,l,i,o,a,s,c){this.element=t,this.dropContainer=e,this._document=n,this._ngZone=l,this._viewContainerRef=i,this._dir=a,this._changeDetectorRef=c,this._destroyed=new r.a,this.dragStartDelay=0,this._disabled=!1,this.started=new g.r,this.released=new g.r,this.ended=new g.r,this.entered=new g.r,this.exited=new g.r,this.dropped=new g.r,this.moved=new u.a(t=>{const e=this._dragRef.moved.pipe(Object(p.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=s.createDrag(t,o),this._dragRef.data=this,this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get boundaryElementSelector(){return"string"==typeof this.boundaryElement?this.boundaryElement:void 0}set boundaryElementSelector(t){this.boundaryElement=t}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Object(i.c)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.asObservable().pipe(Object(f.a)(1),Object(h.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(d.a)(this._handles),Object(b.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._dragRef.withHandles(e)}),Object(m.a)(t=>Object(c.a)(...t.map(t=>t._stateChanges))),Object(h.a)(this._destroyed)).subscribe(t=>{const e=this._dragRef,n=t.element.nativeElement;t.disabled?e.disableHandle(n):e.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?et(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return et(this.element.nativeElement,t);const e=Object(i.e)(t);if(Object(g.hb)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,l=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay=Object(i.f)(this.dragStartDelay),t.constrainPosition=this.constrainPosition,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(l),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}}function et(t,e){let n=t.parentElement;for(;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}class nt{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t)}ngOnDestroy(){this._items.clear()}}let lt=0,it=(()=>{class t{constructor(e,n,l,i,o){this.element=e,this._changeDetectorRef=l,this._dir=i,this._group=o,this._destroyed=new r.a,this.connectedTo=[],this.orientation="vertical",this.id="cdk-drop-list-"+lt++,this._disabled=!1,this._sortingDisabled=!1,this.enterPredicate=()=>!0,this.autoScrollDisabled=!1,this.dropped=new g.r,this.entered=new g.r,this.exited=new g.r,this.sorted=new g.r,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._syncInputs(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._disabled=Object(i.c)(t)}get sortingDisabled(){return this._sortingDisabled}set sortingDisabled(t){this._sortingDisabled=Object(i.c)(t)}ngAfterContentInit(){this._draggables.changes.pipe(Object(d.a)(this._draggables),Object(h.a)(this._destroyed)).subscribe(t=>{this._dropListRef.withItems(t.map(t=>t._dragRef))})}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}start(){this._dropListRef.start()}drop(t,e,n,l){this._dropListRef.drop(t._dragRef,e,n._dropListRef,l)}enter(t,e,n){this._dropListRef.enter(t._dragRef,e,n)}exit(t){this._dropListRef.exit(t._dragRef)}getItemIndex(t){return this._dropListRef.getItemIndex(t._dragRef)}_sortItem(t,e,n,l){return this._dropListRef._sortItem(t._dragRef,e,n,l)}_getSiblingContainerFromPosition(t,e,n){const l=this._dropListRef._getSiblingContainerFromPosition(t._dragRef,e,n);return l?l.data:null}_isOverContainer(t,e){return this._dropListRef._isOverContainer(t,e)}_syncInputs(e){this._dir&&this._dir.change.pipe(Object(d.a)(this._dir.value),Object(h.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const n=Object(i.b)(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);this._group&&this._group._items.forEach(t=>{-1===n.indexOf(t)&&n.push(t)}),e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.connectedTo(n.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}}return t._dropLists=[],t})();class rt{}},MlvX:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return c})),n.d(e,"a",(function(){return d})),n.d(e,"d",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return f}));var l=n("8Y7J"),i=n("Xd0L"),r=(n("IP0z"),n("cUpR"),n("/HVE")),o=n("SVse"),a=n("omvX"),s=l.Bb({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,f,p)),l.Cb(1,49152,null,0,i.v,[[2,a.a]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)}),(function(t,e){t(e,0,0,"indeterminate"===l.Pb(e,1).state,"checked"===l.Pb(e,1).state,l.Pb(e,1).disabled,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function c(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(1,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(5,212992,null,0,i.x,[l.p,l.G,r.a,[2,i.m],[2,a.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(t,e){t(e,4,0,l.Pb(e,5).unbounded)}))}var d=l.Bb({encapsulation:2,styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],data:{}});function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,2,"label",[["class","mat-optgroup-label"]],[[8,"id",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Ob(null,0),l.Ob(null,1)],null,(function(t,e){var n=e.component;t(e,0,0,n._labelId),t(e,1,0,n.label)}))}var p=l.Bb({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function f(t){return l.Yb(2,[],null,null)}},Mz6y:function(t,e,n){"use strict";n.d(e,"e",(function(){return g})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return f})),n.d(e,"d",(function(){return b})),n.d(e,"f",(function(){return m})),n("GS7A");var l=n("KCVW"),i=n("dvZr"),r=n("7QIX"),o=(n("QQfA"),n("zMNK")),a=n("8Y7J"),s=n("XNiG"),u=n("1G5W"),c=n("IzEk");function d(t){return Error(`Tooltip position "${t}" is invalid.`)}const h=new a.w("mat-tooltip-scroll-strategy");function p(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}const f=new a.w("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});class b{constructor(t,e,n,l,i,r,o,a,c,d,h,p){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=l,this._ngZone=i,this._ariaDescriber=o,this._focusMonitor=a,this._dir=d,this._defaultOptions=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new s.a,this._scrollStrategy=c;const f=e.nativeElement,b="undefined"==typeof window||window.Hammer||p;r.IOS||r.ANDROID?b||this._manualListeners.set("touchstart",()=>this.show()):this._manualListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide()),this._manualListeners.forEach((t,e)=>f.addEventListener(e,t)),a.monitor(e).pipe(Object(u.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&i.run(()=>this.show()):i.run(()=>this.hide(0))}),h&&h.position&&(this.position=h.position)}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){const t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((t,e)=>{this._elementRef.nativeElement.removeEventListener(e,t)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new o.d(m,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_handleKeydown(t){this._isTooltipVisible()&&t.keyCode===i.h&&!Object(i.t)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))}_handleTouchend(){this.hide(this._defaultOptions.touchendHideDelay)}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(u.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e||"below"==e)n={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw d(e);n={originX:"end",originY:"center"}}const{x:l,y:i}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:l,originY:i}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e)n={overlayX:"center",overlayY:"bottom"};else if("below"==e)n={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw d(e);n={overlayX:"start",overlayY:"center"}}const{x:l,y:i}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:l,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(c.a)(1),Object(u.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}}class m{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new s.a,this._isHandset=this._breakpointObserver.observe(r.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}class g{}},MzMb:function(t,e,n){"use strict";var l,i=n("zvco"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e,n,l,i){var r=t.call(this,e)||this;return r.inversePixelTransform=n,r.frameState=l,r.context=i,r}return r(e,t),e}(i.a);e.a=o},N0mK:function(t,e,n){"use strict";e.a={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"}},N14p:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e=[];if((e=(e=(e=t.toUpperCase()).replace(/%20/g,"")).replace(/ /g,"")).length>15)return!1;if(e.match(/^[0-9]{2}[CDEFGHJKLMNPQRSTUVWX]$/))throw"Input appears to be a UTM zone, but more precision is required to display an accurate result: "+e;if(!e.match(/^[0-9]{2}[CDEFGHJKLMNPQRSTUVWX][ABCDEFGHJKLMNPQRSTUVWXYZ][ABCDEFGHJKLMNPQRSTUV]([0-9][0-9]){0,5}/))return!1;if(e.length<7)throw"Format looks right, but precision should be to least 10,000 meters: "+e;return e}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},NF0S:function(t,e,n){"use strict";function l(t){return t[0]>0&&t[1]>0}function i(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function r(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}))},NJ4a:function(t,e,n){"use strict";function l(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return l}))},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("Cfvw"),r=n("EY2u");function o(t){return new l.a(e=>{let n;try{n=t()}catch(l){return void e.error(l)}return(n?Object(i.a)(n):Object(r.b)()).subscribe(e)})}},Nafy:function(t,e,n){"use strict";var l,i=n("Ho3V"),r=n("DsAt"),o=n("AdTM"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(){var e=t.call(this)||this;return e.revision_=0,e}return a(e,t),e.prototype.changed=function(){++this.revision_,this.dispatchEvent(o.a.CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.on=function(t,e){if(Array.isArray(t)){for(var n=t.length,l=new Array(n),r=0;r<n;++r)l[r]=Object(i.a)(this,t[r],e);return l}return Object(i.a)(this,t,e)},e.prototype.once=function(t,e){if(Array.isArray(t)){for(var n=t.length,l=new Array(n),r=0;r<n;++r)l[r]=Object(i.b)(this,t[r],e);return l}return Object(i.b)(this,t,e)},e.prototype.un=function(t,e){if(Array.isArray(t))for(var n=0,l=t.length;n<l;++n)this.removeEventListener(t[n],e);else this.removeEventListener(t,e)},e}(r.a);e.a=s},NcP4:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("8Y7J"),i=n("Mz6y"),r=n("SVse"),o=(n("POq0"),n("QQfA"),n("IP0z"),n("cUpR"),n("Xd0L"),n("/HVE"),n("5GAg"),n("zMNK"),n("hOhj"),n("7QIX")),a=l.Bb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function s(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var l=!0,i=t.component;return"@state.start"===e&&(l=!1!==i._animationStart()&&l),"@state.done"===e&&(l=!1!==i._animationDone(n)&&l),l}),null,null)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,r.l,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Qb(131072,r.b,[l.j]),(t()(),l.Wb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=l.Xb(e,0,0,l.Pb(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==l.Pb(t,1)._handleBodyInteraction()&&i),i}),s,a)),l.Cb(1,180224,null,0,i.f,[l.j,o.a],null,null)],null,(function(t,e){t(e,0,0,"visible"===l.Pb(e,1)._visibility?1:null)}))}var c=l.zb("mat-tooltip-component",i.f,u,{},{},[])},Njrz:function(t,e,n){var l=n("luTP"),i=n("qGlh"),r=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===r.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===r.call(File);e.deconstructPacket=function(t){var e=[],n=t;return n.data=function t(e,n){if(!e)return e;if(i(e)){var r={_placeholder:!0,num:n.length};return n.push(e),r}if(l(e)){for(var o=new Array(e.length),a=0;a<e.length;a++)o[a]=t(e[a],n);return o}if("object"==typeof e&&!(e instanceof Date)){for(var s in o={},e)o[s]=t(e[s],n);return o}return e}(t.data,e),n.attachments=e.length,{packet:n,buffers:e}},e.reconstructPacket=function(t,e){return t.data=function t(e,n){if(!e)return e;if(e&&e._placeholder)return n[e.num];if(l(e))for(var i=0;i<e.length;i++)e[i]=t(e[i],n);else if("object"==typeof e)for(var r in e)e[r]=t(e[r],n);return e}(t.data,e),t.attachments=void 0,t},e.removeBlobs=function(t,e){var n=0,r=t;!function t(s,u,c){if(!s)return s;if(o&&s instanceof Blob||a&&s instanceof File){n++;var d=new FileReader;d.onload=function(){c?c[u]=this.result:r=this.result,--n||e(r)},d.readAsArrayBuffer(s)}else if(l(s))for(var h=0;h<s.length;h++)t(s[h],h,s);else if("object"==typeof s&&!i(s))for(var p in s)t(s[p],p,s)}(r),n||e(r)}},NvT6:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return h}));var l=n("8Y7J"),i=(n("W5yJ"),n("SVse")),r=(n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),n("omvX"),l.Bb({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}}));function o(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function s(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,o)),l.Cb(3,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}var u=l.Bb({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(3,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}},Nw85:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}lineControllerGetFull$Response(e){const n=new o.a(this.rootUrl,t.LineControllerGetFullPath,"get");return e&&n.query("callsign",e.callsign),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}lineControllerGetFull(t){return this.lineControllerGetFull$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseLineControllerLinePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseLineControllerLine(t){return this.getOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseLineControllerLinePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseLineControllerLine(t){return this.replaceOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseLineControllerLinePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseLineControllerLine(t){return this.deleteOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseLineControllerLinePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseLineControllerLine(t){return this.updateOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseLineControllerLinePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseLineControllerLine(t){return this.getManyBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseLineControllerLinePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseLineControllerLine(t){return this.createOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseLineControllerLinePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseLineControllerLine(t){return this.createManyBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.LineControllerGetFullPath="/line/full",t.GetOneBaseLineControllerLinePath="/line/{id}",t.ReplaceOneBaseLineControllerLinePath="/line/{id}",t.DeleteOneBaseLineControllerLinePath="/line/{id}",t.UpdateOneBaseLineControllerLinePath="/line/{id}",t.GetManyBaseLineControllerLinePath="/line",t.CreateOneBaseLineControllerLinePath="/line",t.CreateManyBaseLineControllerLinePath="/line/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},OCB2:function(t,e,n){"use strict";e.a={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OIZN:function(t,e,n){"use strict";n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return a}));var l=n("8Y7J"),i=n("XNiG"),r=n("KCVW"),o=n("Xd0L");let a=(()=>{class t{constructor(){this.changes=new i.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return"0 of "+n;const l=t*e;return`${l+1} \u2013 ${l<(n=Math.max(n,0))?Math.min(l+e,n):l+e} of ${n}`}}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function s(t){return t||new a}class u{}const c=Object(o.G)(Object(o.I)(u));class d extends c{constructor(t,e){super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new l.r,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck())}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(r.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(r.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(r.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(r.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(r.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(r.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}class h{}},OPOH:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o}));var l="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),l=1,i=arguments.length;l<i;++l){var r=arguments[l];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])}return n};function i(t){for(var e in t)delete t[e]}var r="function"==typeof Object.values?Object.values:function(t){var e=[];for(var n in t)e.push(t[n]);return e};function o(t){var e;for(e in t)return!1;return!e}},OQAH:function(t,e,n){"use strict";var l,i=n("V8uu"),r=n("WS2v"),o=n("4mld"),a=n("CZmH"),s=n("Ho3V"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=t.call(this)||this;return n.element=e.element?e.element:null,n.target_=null,n.map_=null,n.listenerKeys=[],n.render_=e.render?e.render:i.c,e.target&&n.setTarget(e.target),n}return u(e,t),e.prototype.disposeInternal=function(){Object(a.e)(this.element),t.prototype.disposeInternal.call(this)},e.prototype.getMap=function(){return this.map_},e.prototype.setMap=function(t){this.map_&&Object(a.e)(this.element);for(var e=0,n=this.listenerKeys.length;e<n;++e)Object(s.c)(this.listenerKeys[e]);this.listenerKeys.length=0,this.map_=t,this.map_&&((this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==i.c&&this.listenerKeys.push(Object(s.a)(t,r.a.POSTRENDER,this.render,this)),t.render())},e.prototype.render=function(t){this.render_.call(this,t)},e.prototype.setTarget=function(t){this.target_="string"==typeof t?document.getElementById(t):t},e}(o.a);e.a=c},OZx2:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return d}));var l=n("yUaI"),i=n("CZmH"),r=n("bL/2"),o=n("grDu"),a=n("9iPr"),s=n("CvXi"),u=n("n15R");function c(t,e,n,c,d,h,p){var f=t[0]/2,b=t[1]/2,m=Object(i.a)(f,b);m.imageSmoothingEnabled=!1;for(var g=m.canvas,_=new l.a(m,.5,d,null,p),y=n.length,A=Math.floor(16777215/y),v={},C=1;C<=y;++C){var w=n[C-1],P=w.getStyleFunction()||c;if(c){var x=P(w,h);if(x){Array.isArray(x)||(x=[x]);for(var S="#"+("000000"+(C*A).toString(16)).slice(-6),k=0,M=x.length;k<M;++k){var O=x[k],D=O.clone(),T=D.getFill();T&&T.setColor(S);var E=D.getStroke();E&&E.setColor(S),D.setText(void 0);var I=O.getImage();if(I){var L=I.getImageSize();if(!L)continue;var j=document.createElement("canvas");j.width=L[0],j.height=L[1];var R=j.getContext("2d",{alpha:!1});R.fillStyle=S;var F=R.canvas;R.fillRect(0,0,F.width,F.height);var N=L?L[0]:F.width,Y=L?L[1]:F.height;Object(i.a)(N,Y).drawImage(F,0,0),D.setImage(new r.a({img:F,imgSize:L,anchor:I.getAnchor(),anchorXUnits:o.a.PIXELS,anchorYUnits:o.a.PIXELS,offset:I.getOrigin(),size:I.getSize(),opacity:I.getOpacity(),scale:I.getScale(),rotation:I.getRotation(),rotateWithView:I.getRotateWithView()}))}var U=Number(D.getZIndex());(H=v[U])||(v[U]=H={},H[a.a.POLYGON]=[],H[a.a.CIRCLE]=[],H[a.a.LINE_STRING]=[],H[a.a.POINT]=[]);var B=D.getGeometryFunction()(w);B&&Object(s.F)(d,B.getExtent())&&H[B.getType().replace("Multi","")].push(B,D)}}}}for(var z=Object.keys(v).map(Number).sort(u.g),G=(C=0,z.length);C<G;++C){var H=v[z[C]];for(var V in H){var q=H[V];for(k=0,M=q.length;k<M;k+=2){_.setStyle(q[k+1]);for(var W=0,$=e.length;W<$;++W)_.setTransform(e[W]),_.drawGeometry(q[k])}}}return document.body.appendChild(m.canvas),m.getImageData(0,0,g.width,g.height)}function d(t,e,n){var l=[];if(n){var i=4*(Math.round(t[0]/2)+Math.round(t[1]/2)*n.width),r=n.data[i+2]+256*(n.data[i+1]+256*n.data[i]),o=Math.floor(16777215/e.length);r&&r%o==0&&l.push(e[r/o-1])}return l}},Oaa7:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function l(t,e,n,l){var i="";if(e)switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.replace(/%d/i,t)}t.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},P151:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n("G0WM");var l=n("svHU"),i=n("8Y7J"),r=n("b2zq");let o=(()=>{class t{constructor(t,e){this.iconService=t,this.mapService=e,this.isInit=!0,this.iconEntities={},setInterval(()=>{this.getIconsFromDB()},2e4),this.getIconsFromDB()}getIconEntity(t){return this.iconEntities[t=this.iconEntities[t]?t:"default"]}getIconsFromDB(){this.iconService.getManyBaseIconControllerIcon().subscribe(t=>{const e=[];e.push(...this.deleteIcons(t)),e.push(...this.upsertIcons(t)),!0===this.isInit&&(this.isInit=!1),e.length>0&&(console.log("updated icons:",e),this.updateFeatureStyles())})}deleteIcons(t){const e=[];let n={};for(const l of t.data)n[l.name]=!0;return Object.keys(this.iconEntities).forEach(t=>{n[t]||(e.push({state:"delete",icon:this.iconEntities[t]}),delete this.iconEntities[t])}),e}upsertIcons(t){const e=[];for(const n of t.data)(!this.iconEntities[n.name]||this.iconEntities[n.name]&&JSON.stringify(this.iconEntities[n.name])!==JSON.stringify(n))&&(this.iconEntities[n.name]=n,!1===this.isInit&&e.push({state:"upsert",icon:this.iconEntities[n.name]}));return e}updateFeatureStyles(){this.mapService.getLayer("aircraft").getSource().getFeatures().forEach(t=>t.applyStyle(!0))}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(r.a),i.dc(l.a))},token:t,providedIn:"root"}),t})()},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),l=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],i=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,n,l){var i=t+" ";switch(n){case"s":return e||l?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||l?i+(r(t)?"sekundy":"sekund"):i+"sekundami";case"m":return e?"minuta":l?"minutu":"minutou";case"mm":return e||l?i+(r(t)?"minuty":"minut"):i+"minutami";case"h":return e?"hodina":l?"hodinu":"hodinou";case"hh":return e||l?i+(r(t)?"hodiny":"hodin"):i+"hodinami";case"d":return e||l?"den":"dnem";case"dd":return e||l?i+(r(t)?"dny":"dn\xed"):i+"dny";case"M":return e||l?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||l?i+(r(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return e||l?"rok":"rokem";case"yy":return e||l?i+(r(t)?"roky":"let"):i+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PCLV:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("XDhV");function i(t,e,n){return e+":"+t+":"+(n?Object(l.b)(n):"null")}var r=new(function(){function t(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return t.prototype.clear=function(){this.cache_={},this.cacheSize_=0},t.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var t=0;for(var e in this.cache_)0!=(3&t++)||this.cache_[e].hasListener()||(delete this.cache_[e],--this.cacheSize_)}},t.prototype.get=function(t,e,n){var l=i(t,e,n);return l in this.cache_?this.cache_[l]:null},t.prototype.set=function(t,e,n,l){var r=i(t,e,n);this.cache_[r]=l,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}())},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},PIFQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u}));var l=n("CZmH"),i=n("CvXi"),r=n("f8l7"),o=n("JW8z");function a(t,e,n,l){var r=Object(o.p)(n,e,t),a=Object(o.h)(e,l,n),s=e.getMetersPerUnit();void 0!==s&&(a*=s);var u=t.getMetersPerUnit();void 0!==u&&(a/=u);var c=t.getExtent();if(!c||Object(i.f)(c,r)){var d=Object(o.h)(t,a,r)/a;isFinite(d)&&d>0&&(a/=d)}return a}function s(t,e,n,l){var i=n-t,r=l-e,o=Math.sqrt(i*i+r*r);return[Math.round(n+i/o),Math.round(l+r/o)]}function u(t,e,n,o,a,u,c,d,h,p,f){var b=Object(l.a)(Math.round(n*t),Math.round(n*e));if(0===h.length)return b.canvas;b.scale(n,n);var m=Object(i.j)();h.forEach((function(t,e,n){Object(i.q)(m,t.extent)}));var g=Object(i.E)(m),_=Object(i.A)(m),y=Object(l.a)(Math.round(n*g/o),Math.round(n*_/o)),A=n/o;h.forEach((function(t,e,n){var l=t.extent[0]-m[0],r=-(t.extent[3]-m[3]),o=Object(i.E)(t.extent),a=Object(i.A)(t.extent);y.drawImage(t.image,p,p,t.image.width-2*p,t.image.height-2*p,l*A,r*A,o*A,a*A)}));var v=Object(i.C)(c);return d.getTriangles().forEach((function(t,e,l){var i=t.source,a=t.target,c=i[0][0],d=i[0][1],h=i[1][0],p=i[1][1],f=i[2][0],g=i[2][1],_=(a[0][0]-v[0])/u,A=-(a[0][1]-v[1])/u,C=(a[1][0]-v[0])/u,w=-(a[1][1]-v[1])/u,P=(a[2][0]-v[0])/u,x=-(a[2][1]-v[1])/u,S=c,k=d;c=0,d=0;var M=[[h-=S,p-=k,0,0,C-_],[f-=S,g-=k,0,0,P-_],[0,0,h,p,w-A],[0,0,f,g,x-A]],O=Object(r.e)(M);if(O){b.save(),b.beginPath();var D=(_+C+P)/3,T=(A+w+x)/3,E=s(D,T,_,A),I=s(D,T,C,w),L=s(D,T,P,x);b.moveTo(I[0],I[1]),b.lineTo(E[0],E[1]),b.lineTo(L[0],L[1]),b.clip(),b.transform(O[0],O[2],O[1],O[3],_,A),b.translate(m[0]-S,m[3]-k),b.scale(o/n,-o/n),b.drawImage(y.canvas,0,0),b.restore()}})),f&&(b.save(),b.strokeStyle="black",b.lineWidth=1,d.getTriangles().forEach((function(t,e,n){var l=t.target,i=(l[0][0]-v[0])/u,r=-(l[0][1]-v[1])/u,o=(l[1][0]-v[0])/u,a=-(l[1][1]-v[1])/u,s=(l[2][0]-v[0])/u,c=-(l[2][1]-v[1])/u;b.beginPath(),b.moveTo(o,a),b.lineTo(i,r),b.lineTo(s,c),b.closePath(),b.stroke()})),b.restore()),b.canvas}},POq0:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("HDdC"),o=n("XNiG"),a=n("Kj3r");let s=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(l.e)(t);return new r.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(s))},token:t,providedIn:"root"}),t})();class c{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new i.r,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(l.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}class d{}},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},Pmt0:function(t,e,n){"use strict";var l,i=n("rlDN"),r=n("EwAT"),o=n("SW/M"),a=n("CvXi"),s=n("pWiS"),u=n("JW8z"),c=n("27p8"),d=n("6Lir"),h=n("E35u"),p=n("MNGd"),f=n("qJZF"),b=n("OZx2"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e){var n=t.call(this,e)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.dirty_=!1,n.hitDetectionImageData_=null,n.renderedFeatures_=null,n.renderedRevision_=-1,n.renderedResolution_=NaN,n.renderedExtent_=Object(a.j)(),n.renderedCenter_=null,n.renderedProjection_=null,n.renderedRenderOrder_=null,n.replayGroup_=null,n.replayGroupChanged=!0,n}return m(e,t),e.prototype.useContainer=function(e,n,l){l<1&&(e=null),t.prototype.useContainer.call(this,e,n,l)},e.prototype.renderFrame=function(t,e){var n=t.pixelRatio,l=t.layerStatesArray[t.layerIndex];Object(f.e)(this.pixelTransform,1/n,1/n),Object(f.d)(this.inversePixelTransform,this.pixelTransform);var i=Object(f.k)(this.pixelTransform);this.useContainer(e,i,l.opacity);var r=this.context,s=r.canvas,c=this.replayGroup_;if(!c||c.isEmpty())return!this.containerReused&&s.width>0&&(s.width=0),this.container;var h=Math.round(t.size[0]*n),p=Math.round(t.size[1]*n);s.width!=h||s.height!=p?(s.width=h,s.height=p,s.style.transform!==i&&(s.style.transform=i)):this.containerReused||r.clearRect(0,0,h,p),this.preRender(r,t);var b=t.extent,m=t.viewState,g=m.center,_=m.resolution,y=m.projection,A=m.rotation,v=y.getExtent(),C=this.getLayer().getSource(),w=!1;if(l.extent){var P=Object(u.f)(l.extent,y);(w=!Object(a.g)(P,t.extent)&&Object(a.F)(P,t.extent))&&this.clip(r,t,P)}var x=t.viewHints,S=!(x[o.a.ANIMATING]||x[o.a.INTERACTING]),k=this.getRenderTransform(g,_,A,n,h,p,0),M=this.getLayer().getDeclutter()?{}:null;if(c.execute(r,k,A,S,void 0,M),C.getWrapX()&&y.canWrapX()&&!Object(a.g)(v,b)){for(var O=b[0],D=Object(a.E)(v),T=0;O<v[0];){--T;var E=this.getRenderTransform(g,_,A,n,h,p,D*T);c.execute(r,E,A,S,void 0,M),O+=D}for(T=0,O=b[2];O>v[2];){++T;var I=this.getRenderTransform(g,_,A,n,h,p,D*T);c.execute(r,I,A,S,void 0,M),O-=D}}if(M){var L=t.viewHints,j=!(L[o.a.ANIMATING]||L[o.a.INTERACTING]);Object(d.b)(M,r,A,1,j,t.declutterItems)}w&&r.restore(),this.postRender(r,t);var R=l.opacity,F=this.container;return R!==parseFloat(F.style.opacity)&&(F.style.opacity=1===R?"":R),this.container},e.prototype.getFeatures=function(t){return new Promise((function(e,n){if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){var l=[this.context.canvas.width,this.context.canvas.height];Object(f.a)(this.pixelTransform,l);var i=this.renderedCenter_,r=this.renderedResolution_,o=this.renderedRotation_,s=this.renderedProjection_,u=this.renderedExtent_,c=this.getLayer(),d=[],h=l[0]/2,p=l[1]/2;d.push(this.getRenderTransform(i,r,o,.5,h,p,0).slice());var m=c.getSource(),g=s.getExtent();if(m.getWrapX()&&s.canWrapX()&&!Object(a.g)(g,u)){for(var _=u[0],y=Object(a.E)(g),A=0;_<g[0];)--A,d.push(this.getRenderTransform(i,r,o,.5,h,p,y*A).slice()),_+=y;for(A=0,_=u[2];_>g[2];)++A,d.push(this.getRenderTransform(i,r,o,.5,h,p,y*A).slice()),_-=y}this.hitDetectionImageData_=Object(b.a)(l,d,this.renderedFeatures_,c.getStyleFunction(),u,r,o)}e(Object(b.b)(t,this.renderedFeatures_,this.hitDetectionImageData_))}).bind(this))},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){if(this.replayGroup_){var o=e.viewState.resolution,a=e.viewState.rotation,s=this.getLayer(),u={};return this.replayGroup_.forEachFeatureAtCoordinate(t,o,a,n,(function(t){var e=Object(r.c)(t);if(!(e in u))return u[e]=!0,l(t,s)}),s.getDeclutter()?i:null)}},e.prototype.handleFontsChanged=function(){var t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource();if(!n)return!1;var l=t.viewHints[o.a.ANIMATING],i=t.viewHints[o.a.INTERACTING],r=e.getUpdateWhileAnimating(),h=e.getUpdateWhileInteracting();if(!this.dirty_&&!r&&l||!h&&i)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;var f=t.extent,b=t.viewState,m=b.projection,g=b.resolution,_=t.pixelRatio,y=e.getRevision(),A=e.getRenderBuffer(),v=e.getRenderOrder();void 0===v&&(v=p.a);var C=b.center.slice(),w=Object(a.c)(f,A*g),P=[w.slice()],x=m.getExtent();if(n.getWrapX()&&m.canWrapX()&&!Object(a.g)(x,t.extent)){var S=Object(a.E)(x),k=Math.max(Object(a.E)(w)/2,S);w[0]=x[0]-k,w[2]=x[2]+k,Object(s.f)(C,m);var M=Object(a.K)(P[0],m);M[0]<x[0]&&M[2]<x[2]?P.push([M[0]+S,M[1],M[2]+S,M[3]]):M[0]>x[0]&&M[2]>x[2]&&P.push([M[0]-S,M[1],M[2]-S,M[3]])}if(!this.dirty_&&this.renderedResolution_==g&&this.renderedRevision_==y&&this.renderedRenderOrder_==v&&Object(a.g)(this.renderedExtent_,w))return this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var O,D=new c.a(Object(p.c)(g,_),w,g,_,e.getDeclutter()),T=Object(u.k)();if(T){for(var E=0,I=P.length;E<I;++E)n.loadFeatures(Object(u.o)(P[E],m),g,T);O=Object(u.j)(T,m)}else for(E=0,I=P.length;E<I;++E)n.loadFeatures(P[E],g,m);var L=Object(p.b)(g,_),j=(function(t){var n,l=t.getStyleFunction()||e.getStyleFunction();if(l&&(n=l(t,g)),n){var i=this.renderFeature(t,L,n,D,O);this.dirty_=this.dirty_||i}}).bind(this),R=Object(u.o)(w,m),F=n.getFeaturesInExtent(R);for(v&&F.sort(v),E=0,I=F.length;E<I;++E)j(F[E]);this.renderedFeatures_=F;var N=D.finish(),Y=new d.a(w,g,_,n.getOverlaps(),N,e.getRenderBuffer());return this.renderedResolution_=g,this.renderedRevision_=y,this.renderedRenderOrder_=v,this.renderedExtent_=w,this.renderedRotation_=b.rotation,this.renderedCenter_=C,this.renderedProjection_=m,this.replayGroup_=Y,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0},e.prototype.renderFeature=function(t,e,n,l,i){if(!n)return!1;var r=!1;if(Array.isArray(n))for(var o=0,a=n.length;o<a;++o)r=Object(p.d)(l,t,n[o],e,this.boundHandleStyleImageChange_,i)||r;else r=Object(p.d)(l,t,n,e,this.boundHandleStyleImageChange_,i);return r},e}(h.a),_=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),y=function(t){function e(e){return t.call(this,e)||this}return _(e,t),e.prototype.createRenderer=function(){return new g(this)},e}(i.a);e.a=y},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("D0XW"),r=n("Y7HM"),o=n("z+Ro");function a(t=0,e,n){let a=-1;return Object(r.a)(e)?a=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=i.a),new l.a(e=>{const l=Object(r.a)(t)?t:+t-n.now();return n.schedule(s,l,{index:0,period:a,subscriber:e})})}function s(t){const{index:e,period:n,subscriber:l}=t;if(l.next(e),!l.closed){if(-1===n)return l.complete();t.index=e+1,this.schedule(t,n)}}},Py6u:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}fleetItemControllerExportCsv$Response(e){const n=new o.a(this.rootUrl,t.FleetItemControllerExportCsvPath,"get");return e&&n.query("fleetId",e.fleetId),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}fleetItemControllerExportCsv(t){return this.fleetItemControllerExportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}fleetItemControllerImportCsv$Response(e){const n=new o.a(this.rootUrl,t.FleetItemControllerImportCsvPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}fleetItemControllerImportCsv(t){return this.fleetItemControllerImportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFleetItemControllerFleetItemPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFleetItemControllerFleetItem(t){return this.getOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFleetItemControllerFleetItemPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFleetItemControllerFleetItem(t){return this.replaceOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFleetItemControllerFleetItemPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFleetItemControllerFleetItem(t){return this.deleteOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFleetItemControllerFleetItemPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFleetItemControllerFleetItem(t){return this.updateOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFleetItemControllerFleetItemPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFleetItemControllerFleetItem(t){return this.getManyBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFleetItemControllerFleetItemPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFleetItemControllerFleetItem(t){return this.createOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFleetItemControllerFleetItemPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFleetItemControllerFleetItem(t){return this.createManyBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.FleetItemControllerExportCsvPath="/fleet_item/csv/export",t.FleetItemControllerImportCsvPath="/fleet_item/csv/import",t.GetOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.ReplaceOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.DeleteOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.UpdateOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.GetManyBaseFleetItemControllerFleetItemPath="/fleet_item",t.CreateOneBaseFleetItemControllerFleetItemPath="/fleet_item",t.CreateManyBaseFleetItemControllerFleetItemPath="/fleet_item/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"Q+lL":function(t,e,n){"use strict";n.d(e,"c",(function(){return x})),n.d(e,"e",(function(){return b})),n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return g})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return P}));var l=n("8Y7J"),i=n("Xd0L"),r=n("XNiG"),o=n("1G5W"),a=n("5GAg"),s=n("KCVW"),u=n("8bJo"),c=n("dvZr");n("s7LF");class d{}const h=Object(i.F)(d);class p{}const f=Object(i.F)(p);class b extends h{constructor(){super(...arguments),this._stateChanges=new r.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}class m extends h{constructor(t){super(),this._elementRef=t,this._stateChanges=new r.a,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}class g extends f{constructor(t,e,n,l){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new r.a,this._isInteractiveList=!!(n||l&&"action-list"===l._getListType()),this._list=n||l;const i=this._getHostElement();"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Object(o.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}ngAfterContentInit(){Object(i.K)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}class _{}const y=Object(i.F)(_);class A{}const v=Object(i.F)(A);class C{constructor(t,e){this.source=t,this.option=e}}class w extends v{constructor(t,e,n){super(),this._element=t,this._changeDetector=e,this.selectionList=n,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.checkboxPosition="after"}get color(){return this._color||this.selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&t!==this.value&&(this.selected=!1),this._value=t}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(t){const e=Object(s.c)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(t){const e=Object(s.c)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())}ngOnInit(){const t=this.selectionList;t._value&&t._value.some(e=>t.compareWith(e,this._value))&&this._setSelected(!0);const e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetector.markForCheck())})}ngAfterContentInit(){Object(i.K)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const t=this._hasFocus,e=this.selectionList._removeOptionFromList(this);t&&e&&e.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){this.disabled||(this.toggle(),this.selectionList._emitChangeEvent(this))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}class P extends y{constructor(t,e){super(),this._element=t,this.selectionChange=new l.r,this.tabIndex=0,this.color="accent",this.compareWith=(t,e)=>t===e,this._disabled=!1,this.selectedOptions=new u.c(!0),this._onChange=t=>{},this._destroyed=new r.a,this._onTouched=()=>{},this.tabIndex=parseInt(e)||0}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this._markOptionsForCheck()}ngAfterContentInit(){this._keyManager=new a.g(this.options).withWrap().withTypeAhead().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this.selectedOptions.onChange.pipe(Object(o.a)(this._destroyed)).subscribe(t=>{if(t.added)for(let e of t.added)e.selected=!0;if(t.removed)for(let e of t.removed)e.selected=!1})}ngOnChanges(t){const e=t.disableRipple,n=t.color;(e&&!e.firstChange||n&&!n.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){this._setAllOptionsSelected(!0)}deselectAll(){this._setAllOptionsSelected(!1)}_setFocusedOption(t){this._keyManager.updateActiveItem(t)}_removeOptionFromList(t){const e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}_keydown(t){const e=t.keyCode,n=this._keyManager,l=n.activeItemIndex,i=Object(c.t)(t);switch(e){case c.o:case c.g:i||(this._toggleFocusedOption(),t.preventDefault());break;case c.i:case c.f:i||(e===c.i?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;case c.a:Object(c.t)(t,"ctrlKey")&&(this.options.find(t=>!t.selected)?this.selectAll():this.deselectAll(),t.preventDefault());break;default:n.onKeydown(t)}e!==c.q&&e!==c.e||!t.shiftKey||n.activeItemIndex===l||this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new C(this,t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_setOptionsFromValues(t){this.options.forEach(t=>t._setSelected(!1)),t.forEach(t=>{const e=this.options.find(e=>!e.selected&&this.compareWith(e.value,t));e&&e._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_toggleFocusedOption(){let t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){let e=this.options.toArray()[t];e&&!e.disabled&&(e.toggle(),this._emitChangeEvent(e))}}_setAllOptionsSelected(t){let e=!1;this.options.forEach(n=>{n._setSelected(t)&&(e=!0)}),e&&this._reportValueChange()}_isValidIndex(t){return t>=0&&t<this.options.length}_getOptionIndex(t){return this.options.toArray().indexOf(t)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}}class x{}},Q2ZK:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFeatureControllerFeaturePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFeatureControllerFeature(t){return this.getOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFeatureControllerFeaturePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFeatureControllerFeature(t){return this.replaceOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFeatureControllerFeaturePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFeatureControllerFeature(t){return this.deleteOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFeatureControllerFeaturePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFeatureControllerFeature(t){return this.updateOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFeatureControllerFeaturePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFeatureControllerFeature(t){return this.getManyBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFeatureControllerFeaturePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFeatureControllerFeature(t){return this.createOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFeatureControllerFeaturePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFeatureControllerFeature(t){return this.createManyBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFeatureControllerFeaturePath="/feature/{id}",t.ReplaceOneBaseFeatureControllerFeaturePath="/feature/{id}",t.DeleteOneBaseFeatureControllerFeaturePath="/feature/{id}",t.UpdateOneBaseFeatureControllerFeaturePath="/feature/{id}",t.GetManyBaseFeatureControllerFeaturePath="/feature",t.CreateOneBaseFeatureControllerFeaturePath="/feature",t.CreateManyBaseFeatureControllerFeaturePath="/feature/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Q80o:function(t,e,n){function l(t){var n;function l(){if(l.enabled){var t=l,i=+new Date,r=i-(n||i);t.diff=r,t.prev=n,t.curr=i,n=i;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=e.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(n,l){if("%%"===n)return n;s++;var i=e.formatters[l];return"function"==typeof i&&(n=i.call(t,o[s]),o.splice(s,1),s--),n})),e.formatArgs.call(t,o);var u=l.log||e.log||console.log.bind(console);u.apply(t,o)}}return l.namespace=t,l.enabled=e.enabled(t),l.useColors=e.useColors(),l.color=function(t){var n,l=0;for(n in t)l=(l<<5)-l+t.charCodeAt(n),l|=0;return e.colors[Math.abs(l)%e.colors.length]}(t),l.destroy=i,"function"==typeof e.init&&e.init(l),e.instances.push(l),l}function i(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=l.debug=l.default=l).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var l=("string"==typeof t?t:"").split(/[\s,]+/),i=l.length;for(n=0;n<i;n++)l[n]&&("-"===(t=l[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")));for(n=0;n<e.instances.length;n++){var r=e.instances[n];r.enabled=e.enabled(r.namespace)}},e.enabled=function(t){if("*"===t[t.length-1])return!0;var n,l;for(n=0,l=e.skips.length;n<l;n++)if(e.skips[n].test(t))return!1;for(n=0,l=e.names.length;n<l;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n("5LH7"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},QL49:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("8Y7J");let i=(()=>{class t{constructor(){this.rootUrl=""}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},QN7Q:function(t,e){var n=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var l=n.call(arguments,2);return function(){return e.apply(t,l.concat(n.call(arguments)))}}},QQfA:function(t,e,n){"use strict";n.d(e,"c",(function(){return N})),n.d(e,"e",(function(){return D})),n.d(e,"b",(function(){return B})),n.d(e,"a",(function(){return z})),n.d(e,"f",(function(){return O})),n.d(e,"h",(function(){return R})),n.d(e,"d",(function(){return P})),n.d(e,"i",(function(){return w})),n.d(e,"g",(function(){return H})),n.d(e,"j",(function(){return U})),n.d(e,"k",(function(){return G}));var l=n("KCVW"),i=n("hOhj"),r=n("SVse"),o=n("8Y7J"),a=n("XNiG"),s=n("quSY"),u=n("HDdC"),c=n("VRyK"),d=n("IzEk"),h=n("1G5W"),p=n("/HVE"),f=n("zMNK"),b=n("dvZr");class m{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,l=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=l,n.scrollBehavior=i}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function g(){return Error("Scroll strategy has already been attached.")}class _{constructor(t,e,n,l){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=l,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class y{enable(){}disable(){}attach(){}}function A(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function v(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class C{constructor(t,e,n,l){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=l,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();A(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let w=(()=>{class t{constructor(t,e,n,l){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new y,this.close=t=>new _(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new m(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=l}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(i.b),Object(o.dc)(i.e),Object(o.dc)(o.G),Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})();class P{constructor(t){if(this.scrollStrategy=new y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class x{constructor(t,e,n,l,i){this.offsetX=n,this.offsetY=l,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class S{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function k(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function M(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let O=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})(),D=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.getElementsByClassName("cdk-overlay-container");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})();class T{constructor(t,e,n,l,i,r,o,c){this._portalOutlet=t,this._host=e,this._pane=n,this._config=l,this._ngZone=i,this._keyboardDispatcher=r,this._document=o,this._location=c,this._backdropElement=null,this._backdropClick=new a.a,this._attachments=new a.a,this._detachments=new a.a,this._locationChanges=s.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEventsObservable=new u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new a.a,this._keydownEventSubscriptions=0,l.scrollStrategy&&(this._scrollStrategy=l.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=l.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(d.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign({},this._config,t),this._updateElementSize()}setDirection(t){this._config=Object.assign({},this._config,{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(h.a)(Object(c.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}class E{constructor(t,e,n,l,i){this._viewportRuler=e,this._document=n,this._platform=l,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new a.a,this._resizeSubscription=s.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,l=[];let i;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),s=this._getOverlayFit(a,e,n,r);if(s.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(s,a,n)?l.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!i||i.overlayFit.visibleArea<s.visibleArea)&&(i={overlayFit:s,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(l.length){let t=null,e=-1;for(const n of l){const l=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);l>e&&(e=l,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&I(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,l;if("center"==e.originX)n=t.left+t.width/2;else{const l=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?l:i}return l="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:l}}_getOverlayPoint(t,e,n){let l,i;return l="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+l,y:t.y+i}}_getOverlayFit(t,e,n,l){let{x:i,y:r}=t,o=this._getOffset(l,"x"),a=this._getOffset(l,"y");o&&(i+=o),a&&(r+=a);let s=0-r,u=r+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),d=this._subtractOverflows(e.height,s,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const l=n.bottom-e.y,i=n.right-e.x,r=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth,a=t.fitsInViewportHorizontally||null!=o&&o<=i;return(t.fitsInViewportVertically||null!=r&&r<=l)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const l=this._viewportRect,i=Math.max(t.x+e.width-l.right,0),r=Math.max(t.y+e.height-l.bottom,0),o=Math.max(l.top-n.top-t.y,0),a=Math.max(l.left-n.left-t.x,0);let s=0,u=0;return s=e.width<=l.width?a||-i:t.x<this._viewportMargin?l.left-n.left-t.x:0,u=e.height<=l.height?o||-r:t.y<this._viewportMargin?l.top-n.top-t.y:0,this._previousPushAmount={x:s,y:u},{x:t.x+s,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new S(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,l=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${n} ${l}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,l=this._isRtl();let i,r,o,a,s,u;if("top"===e.overlayY)r=t.y,i=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,i=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),l=this._lastBoundingBoxSize.height;i=2*e,r=t.y-e,i>l&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-l/2)}if("end"===e.overlayX&&!l||"start"===e.overlayX&&l)u=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!l||"end"===e.overlayX&&l)s=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),l=this._lastBoundingBoxSize.width;a=2*e,s=t.x-e,a>l&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.x-l/2)}return{top:r,left:s,bottom:o,right:u,width:a,height:i}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Object(l.d)(t)),r&&(i.maxWidth=Object(l.d)(r))}this._lastBoundingBoxSize=n,I(this._boundingBox.style,i)}_resetBoundingBoxStyles(){I(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){I(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={};if(this._hasExactPosition()){const l=this._viewportRuler.getViewportScrollPosition();I(n,this._getExactOverlayY(e,t,l)),I(n,this._getExactOverlayX(e,t,l))}else n.position="static";let l="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(l+=`translateX(${i}px) `),r&&(l+=`translateY(${r}px)`),n.transform=l.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),I(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(l.d)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Object(l.d)(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:v(t,n),isOriginOutsideView:A(t,n),isOverlayClipped:v(e,n),isOverlayOutsideView:A(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{M("originX",t.originX),k("originY",t.originY),M("overlayX",t.overlayX),k("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof o.p)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function I(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}class L{constructor(t,e,n,l,i,r,o){this._preferredPositions=[],this._positionStrategy=new E(n,l,i,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,l){const i=new x(t,e,n,l);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class j{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let R=(()=>{class t{constructor(t,e,n,l){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=l}global(){return new j}connectedTo(t,e,n){return new L(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new E(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(i.e),Object(o.dc)(r.d),Object(o.dc)(p.a),Object(o.dc)(D))},token:t,providedIn:"root"}),t})(),F=0;class N{constructor(t,e,n,l,i,r,o,a,s,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=l,this._keyboardDispatcher=i,this._injector=r,this._ngZone=o,this._document=a,this._directionality=s,this._location=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),l=this._createPortalOutlet(n),i=new P(t);return i.direction=i.direction||this._directionality.value,new T(l,e,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+F++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(o.g)),new f.e(t,this._componentFactoryResolver,this._appRef,this._injector)}}const Y=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],U=new o.w("cdk-connected-overlay-scroll-strategy");class B{constructor(t){this.elementRef=t}}class z{constructor(t,e,n,l,i){this._overlay=t,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=s.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.r,this.positionChange=new o.r,this.attach=new o.r,this.detach=new o.r,this.overlayKeydown=new o.r,this._templatePortal=new f.h(e,n),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==b.h||Object(b.t)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this._createPositionStrategy(),e=new P({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}function G(t){return()=>t.scrollStrategies.reposition()}class H{}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},Qykp:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseBboxControllerBboxPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseBboxControllerBbox(t){return this.getOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseBboxControllerBboxPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseBboxControllerBbox(t){return this.replaceOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseBboxControllerBboxPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseBboxControllerBbox(t){return this.deleteOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseBboxControllerBboxPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseBboxControllerBbox(t){return this.updateOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseBboxControllerBboxPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseBboxControllerBbox(t){return this.getManyBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseBboxControllerBboxPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseBboxControllerBbox(t){return this.createOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseBboxControllerBboxPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseBboxControllerBbox(t){return this.createManyBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseBboxControllerBboxPath="/bbox/{id}",t.ReplaceOneBaseBboxControllerBboxPath="/bbox/{id}",t.DeleteOneBaseBboxControllerBboxPath="/bbox/{id}",t.UpdateOneBaseBboxControllerBboxPath="/bbox/{id}",t.GetManyBaseBboxControllerBboxPath="/bbox",t.CreateOneBaseBboxControllerBboxPath="/bbox",t.CreateManyBaseBboxControllerBboxPath="/bbox/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},QzRn:function(t,e,n){"use strict";var l=n("4mld"),i=n("ykKD");n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u}));var r,o=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n=t.call(this)||this;return e.handleEvent&&(n.handleEvent=e.handleEvent),n.map_=null,n.setActive(!0),n}return o(e,t),e.prototype.getActive=function(){return this.get("active")},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(t){return!0},e.prototype.setActive=function(t){this.set("active",t)},e.prototype.setMap=function(t){this.map_=t},e}(l.a);function s(t,e,n){var l=t.getCenterInternal();l&&t.animateInternal({duration:void 0!==n?n:250,easing:i.d,center:t.getConstrainedCenter([l[0]+e[0],l[1]+e[1]])})}function u(t,e,n,l){var r=t.getZoom();if(void 0!==r){var o=t.getConstrainedZoom(r+e),a=t.getResolutionForZoom(o);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:void 0!==l?l:250,easing:i.b})}}e.a=a},"R+T3":function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("egkh"),u=n("mrzG"),c=n("l2lA"),d=n("q7cr"),h=n("u2yf"),p=n("saKC"),f=n("xWBw"),b=n("HEh+"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e,n,l){var r=t.call(this)||this;if(r.ends_=[],r.maxDelta_=-1,r.maxDeltaRevision_=-1,Array.isArray(e[0]))r.setCoordinates(e,n);else if(void 0!==n&&l)r.setFlatCoordinates(n,e),r.ends_=l;else{for(var o=r.getLayout(),a=e,s=[],u=[],c=0,d=a.length;c<d;++c){var h=a[c];0===c&&(o=h.getLayout()),Object(i.c)(s,h.getFlatCoordinates()),u.push(s.length)}r.setFlatCoordinates(o,s),r.ends_=u}return r}return m(e,t),e.prototype.appendLineString=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates().slice()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice())},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(c.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(c.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,n,l))},e.prototype.getCoordinateAtM=function(t,e,n){if(this.layout!=o.a.XYM&&this.layout!=o.a.XYZM||0===this.flatCoordinates.length)return null;var l=void 0!==e&&e,i=void 0!==n&&n;return Object(p.c)(this.flatCoordinates,0,this.ends_,this.stride,t,l,i)},e.prototype.getCoordinates=function(){return Object(h.b)(this.flatCoordinates,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getLineString=function(t){return t<0||this.ends_.length<=t?null:new s.a(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLineStrings=function(){for(var t=this.flatCoordinates,e=this.ends_,n=this.layout,l=[],i=0,r=0,o=e.length;r<o;++r){var a=e[r],u=new s.a(t.slice(i,a),n);l.push(u),i=a}return l},e.prototype.getFlatMidpoints=function(){for(var t=[],e=this.flatCoordinates,n=0,l=this.ends_,r=this.stride,o=0,a=l.length;o<a;++o){var s=l[o],u=Object(p.a)(e,n,s,r,.5);Object(i.c)(t,u),n=s}return t},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(b.b)(this.flatCoordinates,0,this.ends_,this.stride,t,n,0,l),new e(n,o.a.XY,l)},e.prototype.getType=function(){return a.a.MULTI_LINE_STRING},e.prototype.intersectsExtent=function(t){return Object(f.b)(this.flatCoordinates,0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(d.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(u.a);e.a=g},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[n][0]:i[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RH9n:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h}));var l,i=n("8Y7J"),r=n("HDdC"),o=n("w1tV"),a=n("gFX4"),s=n.n(a);class u{constructor(t){this.config=t,this.subscribersCounter={},this.eventObservables$={},this.emptyConfig={url:"",options:{}},void 0===t&&(t=this.emptyConfig),this.ioSocket=(s.a?s.a:a)(t.url,t.options)}of(t){this.ioSocket.of(t)}on(t,e){this.ioSocket.on(t,e)}once(t,e){this.ioSocket.once(t,e)}connect(){return this.ioSocket.connect()}disconnect(t){return this.ioSocket.disconnect.apply(this.ioSocket,arguments)}emit(t,...e){return this.ioSocket.emit.apply(this.ioSocket,arguments)}removeListener(t,e){return this.ioSocket.removeListener.apply(this.ioSocket,arguments)}removeAllListeners(t){return this.ioSocket.removeAllListeners.apply(this.ioSocket,arguments)}fromEvent(t){return this.subscribersCounter[t]||(this.subscribersCounter[t]=0),this.subscribersCounter[t]++,this.eventObservables$[t]||(this.eventObservables$[t]=new r.a(e=>{const n=t=>{e.next(t)};return this.ioSocket.on(t,n),()=>{this.subscribersCounter[t]--,0===this.subscribersCounter[t]&&(this.ioSocket.removeListener(t,n),delete this.eventObservables$[t])}}).pipe(Object(o.a)())),this.eventObservables$[t]}fromOneTimeEvent(t){return new Promise(e=>this.once(t,e))}}function c(t){return new u(t)}const d=new i.w("__SOCKET_IO_CONFIG__");let h=l=class{static forRoot(t){return{ngModule:l,providers:[{provide:d,useValue:t},{provide:u,useFactory:c,deps:[d]}]}}}},Rj0l:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a;for(e=parseInt(e,10),n=parseFloat(n),l=parseFloat(l),o=1,i=Math.round(n);i>=t.BLOCK_SIZE;)i-=t.BLOCK_SIZE,o+=1;for(o%=t.GRIDSQUARE_SET_ROW_SIZE,a=0,r=Math.round(l);r>=t.BLOCK_SIZE;)r-=t.BLOCK_SIZE,a+=1;return a%=t.GRIDSQUARE_SET_COL_SIZE,function(e,n,l){var i,r;switch(0===n?n=t.GRIDSQUARE_SET_ROW_SIZE-1:n-=1,0===l?l=t.GRIDSQUARE_SET_COL_SIZE-1:l-=1,e){case 1:i="ABCDEFGH",r="ABCDEFGHJKLMNPQRSTUV";break;case 2:i="JKLMNPQR",r="FGHJKLMNPQRSTUVABCDE";break;case 3:i="STUVWXYZ",r="ABCDEFGHJKLMNPQRSTUV";break;case 4:i="ABCDEFGH",r="FGHJKLMNPQRSTUVABCDE";break;case 5:i="JKLMNPQR",r="ABCDEFGHJKLMNPQRSTUV";break;case 6:i="STUVWXYZ",r="FGHJKLMNPQRSTUVABCDE";break;default:throw"Unrecognized set passed to lettersHelper"}return i.charAt(l)+r.charAt(n)}(function(t){var e;switch(t=parseInt(t,10),t%=6){case 0:e=6;break;case 1:e=1;break;case 2:e=2;break;case 3:e=3;break;case 4:e=4;break;case 5:e=5;break;default:e=-1}return e}(e),o,a)}function n(t){return 84>=(t=parseFloat(t))&&t>=72?"X":72>t&&t>=64?"W":64>t&&t>=56?"V":56>t&&t>=48?"U":48>t&&t>=40?"T":40>t&&t>=32?"S":32>t&&t>=24?"R":24>t&&t>=16?"Q":16>t&&t>=8?"P":8>t&&t>=0?"N":0>t&&t>=-8?"M":-8>t&&t>=-16?"L":-16>t&&t>=-24?"K":-24>t&&t>=-32?"J":-32>t&&t>=-40?"H":-40>t&&t>=-48?"G":-48>t&&t>=-56?"F":-56>t&&t>=-64?"E":-64>t&&t>=-72?"D":-72>t&&t>=-80?"C":"Z"}function l(t){var e={};if("object"!=typeof t||!t.degrees||!t.minutes||!t.seconds)return!1;e.degrees="string"==typeof t.degrees?parseInt(t.degrees,10):t.degrees,t.direction&&(e.degrees*="S"===t.direction||"W"===t.direction?-Math.abs(e.degrees):Math.abs(e.degrees)),e.minutes="string"==typeof t.minutes?Math.abs(parseInt(t.minutes,10)):Math.abs(t.minutes),e.seconds="string"==typeof t.seconds?Math.abs(parseInt(t.seconds,10)):Math.abs(t.seconds)}function i(t){var e,n,i={};if("object"==typeof t)i=l(t);else{if(!/^[NSEW\-]?\d{1,3}[\xb0 ]\d{1,2}[' ]\d{1,2}(\.\d{1,3})?[" ][NSEW]?$/.test(t))throw"Angle not formatted correctly: "+t;e=t.match(/-?\d+(\.\d+)?/g),i.degrees=parseInt(e[0],10),i.minutes=parseInt(e[1],10),i.seconds=parseFloat(e[2])}return e=String(i.minutes/60+i.seconds/3600),n=i.degrees+"."+e.substring(e.indexOf(".")+1),parseFloat(n)}function r(t,e){var n;if(t=parseFloat(t),(e=parseFloat(e))>360||e<-180||t>90||t<-90)throw"Bad input. lat: "+t+" lon: "+e;return n=parseInt((e+180)/6,10)+1,t>=56&&t<64&&e>=3&&e<12&&(n=32),t>=72&&t<84&&(e>=0&&e<9?n=31:e>=9&&e<21?n=33:e>=21&&e<33?n=35:e>=33&&e<42&&(n=37)),n}return function(o){return t=o,{dmsVerify:l,dmsToDecimal:i,getZoneNumber:r,utmLetterDesignator:n,findGridLetters:e}}})?l.apply(e,[]):l)||(t.exports=i)},Rlre:function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return A})),n.d(e,"a",(function(){return S})),n.d(e,"d",(function(){return M}));var l=n("8Y7J"),i=n("rWV4"),r=n("SVse"),o=n("POq0"),a=n("IP0z"),s=n("Xd0L"),u=(n("cUpR"),n("zMNK")),c=n("/HVE"),d=n("5GAg"),h=n("omvX"),p=n("hOhj"),f=l.Bb({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function b(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function m(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(1,212992,null,0,u.c,[l.m,l.Y],{portal:[0,"portal"]},null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)}),null)}function g(t){return l.Yb(0,[(t()(),l.Wb(0,null,["",""]))],null,(function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)}))}function _(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._handleClick(t.context.$implicit,l.Pb(t.parent,3),t.context.index)&&i),i}),null,null)),l.Cb(1,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),l.Cb(2,147456,null,0,d.e,[l.p,d.h],null,null),l.Cb(3,16384,[[3,4]],0,i.i,[l.p],{disabled:[0,"disabled"]},null),(t()(),l.Db(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(6,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(8,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)}),(function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,l.Pb(e,1).unbounded,l.Pb(e,3).disabled,!!l.Pb(e,3).disabled])}))}function y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],(function(t,e,n){var l=!0,i=t.component;return"_onCentered"===e&&(l=!1!==i._removeTabBodyWrapperHeight()&&l),"_onCentering"===e&&(l=!1!==i._setTabBodyWrapperHeight(n)&&l),l}),w,v)),l.Cb(1,245760,null,0,i.d,[l.p,[2,a.b],l.j],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],(function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)}),(function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)}))}function A(t){return l.Yb(2,[l.Ub(671088640,1,{_tabBodyWrapper:0}),l.Ub(671088640,2,{_tabHeader:0}),(t()(),l.Db(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],(function(t,e,n){var l=!0,i=t.component;return"indexFocused"===e&&(l=!1!==i._focusChanged(n)&&l),"selectFocusedIndex"===e&&(l=!1!==(i.selectedIndex=n)&&l),l}),x,P)),l.Cb(3,7520256,[[2,4],["tabHeader",4]],1,i.h,[l.p,l.j,p.e,[2,a.b],l.G,c.a,[2,h.a]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),l.Ub(603979776,3,{_items:1}),(t()(),l.sb(16777216,null,0,1,null,_)),l.Cb(6,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,y)),l.Cb(9,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.selectedIndex,n.disableRipple),t(e,6,0,n._tabs),t(e,9,0,n._tabs)}),(function(t,e){var n=e.component;t(e,2,0,l.Pb(e,3)._showPaginationControls,"rtl"==l.Pb(e,3)._getLayoutDirection()),t(e,7,0,"NoopAnimations"===n._animationMode)}))}var v=l.Bb({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function C(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function w(t){return l.Yb(2,[l.Ub(671088640,1,{_portalHost:0}),(t()(),l.Db(1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],(function(t,e,n){var l=!0,i=t.component;return"@translateTab.start"===e&&(l=!1!==i._onTranslateTabStarted(n)&&l),"@translateTab.done"===e&&(l=!1!==i._translateTabComplete.next(n)&&l),l}),null,null)),l.Rb(2,{animationDuration:0}),l.Rb(3,{value:0,params:1}),(t()(),l.sb(16777216,null,null,1,null,C)),l.Cb(5,212992,null,0,i.e,[l.m,l.Y,i.d],null,null)],(function(t,e){t(e,5,0)}),(function(t,e){var n=e.component,l=t(e,3,0,n._position,t(e,2,0,n.animationDuration));t(e,1,0,l)}))}var P=l.Bb({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function x(t){return l.Yb(2,[l.Ub(402653184,1,{_inkBar:0}),l.Ub(402653184,2,{_tabListContainer:0}),l.Ub(402653184,3,{_tabList:0}),l.Ub(671088640,4,{_nextPaginator:0}),l.Ub(671088640,5,{_previousPaginator:0}),(t()(),l.Db(5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i._handlePaginatorClick("before")&&l),"mousedown"===e&&(l=!1!==i._handlePaginatorPress("before")&&l),"touchend"===e&&(l=!1!==i._stopInterval()&&l),l}),null,null)),l.Cb(6,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),l.Db(8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==t.component._handleKeydown(n)&&l),l}),null,null)),(t()(),l.Db(9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onContentChanges()&&l),l}),null,null)),l.Cb(10,1196032,null,0,o.a,[o.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),l.Cb(14,16384,[[1,4]],0,i.b,[l.p,l.G,i.l,[2,h.a]],null,null),(t()(),l.Db(15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],(function(t,e,n){var l=!0,i=t.component;return"mousedown"===e&&(l=!1!==i._handlePaginatorPress("after")&&l),"click"===e&&(l=!1!==i._handlePaginatorClick("after")&&l),"touchend"===e&&(l=!1!==i._stopInterval()&&l),l}),null,null)),l.Cb(16,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,6,0,n._disableScrollBefore||n.disableRipple),t(e,16,0,n._disableScrollAfter||n.disableRipple)}),(function(t,e){var n=e.component;t(e,5,0,n._disableScrollBefore,l.Pb(e,6).unbounded),t(e,9,0,"NoopAnimations"===n._animationMode),t(e,13,0,"NoopAnimations"===l.Pb(e,14)._animationMode),t(e,15,0,n._disableScrollAfter,l.Pb(e,16).unbounded)}))}var S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(0,[l.Ob(null,0),(t()(),l.sb(0,null,null,0))],null,null)}function M(t){return l.Yb(2,[l.Ub(402653184,1,{_implicitContent:0}),(t()(),l.sb(0,[[1,2]],null,0,null,k))],null,null)}},Rn7m:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("/Co4"),n("SVse")),r=(n("QQfA"),n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),n("zMNK"),n("hOhj"),l.Bb({encapsulation:2,styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}@media (-ms-high-contrast:active){.mat-autocomplete-panel{outline:solid 1px}}"],data:{}}));function o(t){return l.Yb(0,[(t()(),l.Db(0,0,[[2,0],["panel",1]],null,3,"div",[["class","mat-autocomplete-panel"],["role","listbox"]],[[8,"id",0]],null,null,null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Ob(null,0)],(function(t,e){t(e,2,0,"mat-autocomplete-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component.id)}))}function a(t){return l.Yb(2,[l.Ub(402653184,1,{template:0}),l.Ub(671088640,2,{panel:0}),(t()(),l.sb(0,[[1,2]],null,0,null,o))],null,null)}},RnhZ:function(t,e,n){var l={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function i(t){var e=r(t);return n(e)}function r(t){if(!n.o(l,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return l[t]}i.keys=function(){return Object.keys(l)},i.resolve=r,t.exports=i,i.id="RnhZ"},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=t+" ";switch(n){case"ss":return l+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return l+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return l+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return l+(1===t?"dan":"dana");case"MM":return l+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return l+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SSvb:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("JW8z");function i(t){const e=[];for(const n in t)t.hasOwnProperty(n)&&(e[n]=Object(l.d)(t[n]));return e}function r(t){const e=[];let n=0;for(const i of t){e[n]=[];for(const t of i)e[n].push(Object(l.d)(t));n++}return e}},SVse:function(t,e,n){"use strict";n.d(e,"F",(function(){return G})),n.d(e,"o",(function(){return V})),n.d(e,"p",(function(){return H})),n.d(e,"G",(function(){return q})),n.d(e,"c",(function(){return Ct})),n.d(e,"l",(function(){return K})),n.d(e,"m",(function(){return Q})),n.d(e,"n",(function(){return tt})),n.d(e,"q",(function(){return ct})),n.d(e,"r",(function(){return it})),n.d(e,"s",(function(){return rt})),n.d(e,"t",(function(){return ot})),n.d(e,"u",(function(){return dt})),n.d(e,"d",(function(){return wt})),n.d(e,"b",(function(){return gt})),n.d(e,"e",(function(){return _t})),n.d(e,"f",(function(){return vt})),n.d(e,"h",(function(){return yt})),n.d(e,"E",(function(){return Pt})),n.d(e,"y",(function(){return xt})),n.d(e,"z",(function(){return St})),n.d(e,"x",(function(){return kt})),n.d(e,"B",(function(){return $})),n.d(e,"A",(function(){return W})),n.d(e,"D",(function(){return st})),n.d(e,"C",(function(){return at})),n.d(e,"w",(function(){return i})),n.d(e,"i",(function(){return r})),n.d(e,"k",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return c})),n.d(e,"v",(function(){return d})),n.d(e,"j",(function(){return s}));var l=n("8Y7J");class i{}const r=new l.w("Location Initialized");class o{}const a=new l.w("appBaseHref");class s{constructor(t,e){this._subject=new l.r,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=s.stripTrailingSlash(u(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+s.normalizeQueryParams(e))}normalize(t){return s.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,u(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+s.normalizeQueryParams(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+s.normalizeQueryParams(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}static normalizeQueryParams(t){return t&&"?"!==t[0]?"?"+t:t}static joinWithSlash(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}}function u(t){return t.replace(/\/index.html$/,"")}class c extends o{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=s.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,l){let i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,l){let i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class d extends o{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return s.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+s.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,l){const i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,l){const i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const h=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),p=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),f=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),b=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),m=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),g=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function _(t,e){return P(Object(l.Eb)(t)[l.ob.DateFormat],e)}function y(t,e){return P(Object(l.Eb)(t)[l.ob.TimeFormat],e)}function A(t,e){return P(Object(l.Eb)(t)[l.ob.DateTimeFormat],e)}function v(t,e){const n=Object(l.Eb)(t),i=n[l.ob.NumberSymbols][e];if(void 0===i){if(e===g.CurrencyDecimal)return n[l.ob.NumberSymbols][g.Decimal];if(e===g.CurrencyGroup)return n[l.ob.NumberSymbols][g.Group]}return i}const C=l.Fb;function w(t){if(!t[l.ob.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[l.ob.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function P(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function x(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const S=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,k={},M=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,O=function(){var t={Short:0,ShortGMT:1,Long:2,Extended:3};return t[t.Short]="Short",t[t.ShortGMT]="ShortGMT",t[t.Long]="Long",t[t.Extended]="Extended",t}(),D=function(){var t={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return t[t.FullYear]="FullYear",t[t.Month]="Month",t[t.Date]="Date",t[t.Hours]="Hours",t[t.Minutes]="Minutes",t[t.Seconds]="Seconds",t[t.FractionalSeconds]="FractionalSeconds",t[t.Day]="Day",t}(),T=function(){var t={DayPeriods:0,Days:1,Months:2,Eras:3};return t[t.DayPeriods]="DayPeriods",t[t.Days]="Days",t[t.Months]="Months",t[t.Eras]="Eras",t}();function E(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function I(t,e,n="-",l,i){let r="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return l&&(o=o.substr(o.length-e)),r+o}function L(t,e,n=0,l=!1,i=!1){return function(r,o){let a=function(t,e){switch(t){case D.FullYear:return e.getFullYear();case D.Month:return e.getMonth();case D.Date:return e.getDate();case D.Hours:return e.getHours();case D.Minutes:return e.getMinutes();case D.Seconds:return e.getSeconds();case D.FractionalSeconds:return e.getMilliseconds();case D.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||a>-n)&&(a+=n),t===D.Hours)0===a&&-12===n&&(a=12);else if(t===D.FractionalSeconds)return s=e,I(a,3).substr(0,s);var s;const u=v(o,g.MinusSign);return I(a,e,u,l,i)}}function j(t,e,n=f.Format,i=!1){return function(r,o){return function(t,e,n,i,r,o){switch(n){case T.Months:return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.MonthsFormat],i[l.ob.MonthsStandalone]],e);return P(r,n)}(e,r,i)[t.getMonth()];case T.Days:return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.DaysFormat],i[l.ob.DaysStandalone]],e);return P(r,n)}(e,r,i)[t.getDay()];case T.DayPeriods:const a=t.getHours(),s=t.getMinutes();if(o){const t=function(t){const e=Object(l.Eb)(t);return w(e),(e[l.ob.ExtraData][2]||[]).map(t=>"string"==typeof t?x(t):[x(t[0]),x(t[1])])}(e),n=function(t,e,n){const i=Object(l.Eb)(t);w(i);const r=P([i[l.ob.ExtraData][0],i[l.ob.ExtraData][1]],e)||[];return P(r,n)||[]}(e,r,i);let o;if(t.forEach((t,e)=>{if(Array.isArray(t)){const{hours:l,minutes:i}=t[0],{hours:r,minutes:u}=t[1];a>=l&&s>=i&&(a<r||a===r&&s<u)&&(o=n[e])}else{const{hours:l,minutes:i}=t;l===a&&i===s&&(o=n[e])}}),o)return o}return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.DayPeriodsFormat],i[l.ob.DayPeriodsStandalone]],e);return P(r,n)}(e,r,i)[a<12?0:1];case T.Eras:return function(t,e){return P(Object(l.Eb)(t)[l.ob.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,t,e,n,i)}}function R(t){return function(e,n,l){const i=-1*l,r=v(n,g.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case O.Short:return(i>=0?"+":"")+I(o,2,r)+I(Math.abs(i%60),2,r);case O.ShortGMT:return"GMT"+(i>=0?"+":"")+I(o,1,r);case O.Long:return"GMT"+(i>=0?"+":"")+I(o,2,r)+":"+I(Math.abs(i%60),2,r);case O.Extended:return 0===l?"Z":(i>=0?"+":"")+I(o,2,r)+":"+I(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function F(t,e=!1){return function(n,l){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(n.getFullYear()),e=(r=n,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(4-r.getDay()))).getTime()-t.getTime();i=1+Math.round(e/6048e5)}var r;return I(i,t,v(l,g.MinusSign))}}const N={};function Y(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function U(t){return t instanceof Date&&!isNaN(t.valueOf())}const B=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function z(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}const G=new l.w("UseV4Plurals");class H{}class V extends H{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):C(e||this.locale)(t)){case p.Zero:return"zero";case p.One:return"one";case p.Two:return"two";case p.Few:return"few";case p.Many:return"many";default:return"other"}}}function q(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[l,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(l.trim()===e)return decodeURIComponent(i)}return null}class W{}class ${constructor(t,e,n,l){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=l,this._initialClasses=[]}getValue(){return null}setClass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(l.Ib)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(l.Vb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}let X=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class K extends X{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}class J{constructor(t,e,n,l){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=l}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Q{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(l.hb)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,l)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new J(null,this._ngForOf,-1,-1),null===l?void 0:l),i=new Z(t,n);e.push(i)}else if(null==l)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,l);const r=new Z(t,i);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,l=this._viewContainer.length;n<l;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=l,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}class Z{constructor(t,e){this.record=t,this.view=e}}class tt{constructor(t,e){this._viewContainer=t,this._context=new et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){nt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){nt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}class et{constructor(){this.$implicit=null,this.ngIf=null}}function nt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(l.Vb)(e)}'.`)}class lt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}class it{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}class rt{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new lt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}class ot{constructor(t,e,n){n._addDefault(new lt(t,e))}}class at{}class st{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}getValue(){return null}setNgStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}applyChanges(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}_setStyle(t,e){const[n,l]=t.split(".");null!=(e=null!=e&&l?`${e}${l}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}}let ut=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class ct extends ut{constructor(t){super(t)}set ngStyle(t){this._delegate.setNgStyle(t)}ngDoCheck(){this._delegate.applyChanges()}}class dt{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){this._shouldRecreateView(t)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}function ht(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(l.Vb)(t)}'`)}class pt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class ft{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const bt=new ft,mt=new pt;class gt{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(l.Lb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.ab.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(t){if(Object(l.Kb)(t))return bt;if(Object(l.Jb)(t))return mt;throw ht(gt,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}class _t{constructor(t){this.locale=t}transform(t,e="mediumDate",n,i){if(null==t||""===t||t!=t)return null;try{return function(t,e,n,i){let r=function(t){if(U(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,l]=t.split("-").map(t=>+t);return new Date(e,n-1,l)}let n;if(n=t.match(S))return function(t){const e=new Date(0);let n=0,l=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),l=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-l,s=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,s,u),e}(n)}const e=new Date(t);if(!U(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,n){const i=function(t){return Object(l.Eb)(t)[l.ob.LocaleId]}(e);if(k[i]=k[i]||{},k[i][n])return k[i][n];let r="";switch(n){case"shortDate":r=_(e,m.Short);break;case"mediumDate":r=_(e,m.Medium);break;case"longDate":r=_(e,m.Long);break;case"fullDate":r=_(e,m.Full);break;case"shortTime":r=y(e,m.Short);break;case"mediumTime":r=y(e,m.Medium);break;case"longTime":r=y(e,m.Long);break;case"fullTime":r=y(e,m.Full);break;case"short":const n=t(e,"shortTime"),l=t(e,"shortDate");r=E(A(e,m.Short),[n,l]);break;case"medium":const i=t(e,"mediumTime"),o=t(e,"mediumDate");r=E(A(e,m.Medium),[i,o]);break;case"long":const a=t(e,"longTime"),s=t(e,"longDate");r=E(A(e,m.Long),[a,s]);break;case"full":const u=t(e,"fullTime"),c=t(e,"fullDate");r=E(A(e,m.Full),[u,c])}return r&&(k[i][n]=r),r}(n,e)||e;let o,a=[];for(;e;){if(o=M.exec(e),!o){a.push(e);break}{a=a.concat(o.slice(1));const t=a.pop();if(!t)break;e=t}}let s=r.getTimezoneOffset();i&&(s=Y(i,s),r=function(t,e,n){const l=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Y(e,l)-l))}(r,i));let u="";return a.forEach(t=>{const e=function(t){if(N[t])return N[t];let e;switch(t){case"G":case"GG":case"GGG":e=j(T.Eras,b.Abbreviated);break;case"GGGG":e=j(T.Eras,b.Wide);break;case"GGGGG":e=j(T.Eras,b.Narrow);break;case"y":e=L(D.FullYear,1,0,!1,!0);break;case"yy":e=L(D.FullYear,2,0,!0,!0);break;case"yyy":e=L(D.FullYear,3,0,!1,!0);break;case"yyyy":e=L(D.FullYear,4,0,!1,!0);break;case"M":case"L":e=L(D.Month,1,1);break;case"MM":case"LL":e=L(D.Month,2,1);break;case"MMM":e=j(T.Months,b.Abbreviated);break;case"MMMM":e=j(T.Months,b.Wide);break;case"MMMMM":e=j(T.Months,b.Narrow);break;case"LLL":e=j(T.Months,b.Abbreviated,f.Standalone);break;case"LLLL":e=j(T.Months,b.Wide,f.Standalone);break;case"LLLLL":e=j(T.Months,b.Narrow,f.Standalone);break;case"w":e=F(1);break;case"ww":e=F(2);break;case"W":e=F(1,!0);break;case"d":e=L(D.Date,1);break;case"dd":e=L(D.Date,2);break;case"E":case"EE":case"EEE":e=j(T.Days,b.Abbreviated);break;case"EEEE":e=j(T.Days,b.Wide);break;case"EEEEE":e=j(T.Days,b.Narrow);break;case"EEEEEE":e=j(T.Days,b.Short);break;case"a":case"aa":case"aaa":e=j(T.DayPeriods,b.Abbreviated);break;case"aaaa":e=j(T.DayPeriods,b.Wide);break;case"aaaaa":e=j(T.DayPeriods,b.Narrow);break;case"b":case"bb":case"bbb":e=j(T.DayPeriods,b.Abbreviated,f.Standalone,!0);break;case"bbbb":e=j(T.DayPeriods,b.Wide,f.Standalone,!0);break;case"bbbbb":e=j(T.DayPeriods,b.Narrow,f.Standalone,!0);break;case"B":case"BB":case"BBB":e=j(T.DayPeriods,b.Abbreviated,f.Format,!0);break;case"BBBB":e=j(T.DayPeriods,b.Wide,f.Format,!0);break;case"BBBBB":e=j(T.DayPeriods,b.Narrow,f.Format,!0);break;case"h":e=L(D.Hours,1,-12);break;case"hh":e=L(D.Hours,2,-12);break;case"H":e=L(D.Hours,1);break;case"HH":e=L(D.Hours,2);break;case"m":e=L(D.Minutes,1);break;case"mm":e=L(D.Minutes,2);break;case"s":e=L(D.Seconds,1);break;case"ss":e=L(D.Seconds,2);break;case"S":e=L(D.FractionalSeconds,1);break;case"SS":e=L(D.FractionalSeconds,2);break;case"SSS":e=L(D.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=R(O.Short);break;case"ZZZZZ":e=R(O.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=R(O.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=R(O.Long);break;default:return null}return N[t]=e,e}(t);u+=e?e(r,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}(t,e,i||this.locale,n)}catch(r){throw ht(_t,r.message)}}}class yt{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=At){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}function At(t,e){const n=t.key,l=e.key;if(n===l)return 0;if(void 0===n)return 1;if(void 0===l)return-1;if(null===n)return 1;if(null===l)return-1;if("string"==typeof n&&"string"==typeof l)return n<l?-1:1;if("number"==typeof n&&"number"==typeof l)return n-l;if("boolean"==typeof n&&"boolean"==typeof l)return n<l?-1:1;const i=String(n),r=String(l);return i==r?0:i<r?-1:1}class vt{constructor(t){this._locale=t}transform(t,e,n){if(function(t){return null==t||""===t||t!=t}(t))return null;n=n||this._locale;try{return function(t,e,n){return function(t,e,n,l,i,r,o=!1){let a="",s=!1;if(isFinite(t)){let u=function(t){let e,n,l,i,r,o=Math.abs(t)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(l=o.search(/e/i))>0?(n<0&&(n=l),n+=+o.slice(l+1),o=o.substring(0,l)):n<0&&(n=o.length),l=0;"0"===o.charAt(l);l++);if(l===(r=o.length))e=[0],n=1;else{for(r--;"0"===o.charAt(r);)r--;for(n-=l,e=[],i=0;l<=r;l++,i++)e[i]=Number(o.charAt(l))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(u=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(u));let c=e.minInt,d=e.minFrac,h=e.maxFrac;if(r){const t=r.match(B);if(null===t)throw new Error(r+" is not a valid digit info");const e=t[1],n=t[3],l=t[5];null!=e&&(c=z(e)),null!=n&&(d=z(n)),null!=l?h=z(l):null!=n&&d>h&&(h=d)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let l=t.digits,i=l.length-t.integerLen;const r=Math.min(Math.max(e,i),n);let o=r+t.integerLen,a=l[o];if(o>0){l.splice(Math.max(t.integerLen,o));for(let t=o;t<l.length;t++)l[t]=0}else{i=Math.max(0,i),t.integerLen=1,l.length=Math.max(1,o=r+1),l[0]=0;for(let t=1;t<o;t++)l[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)l.unshift(0),t.integerLen++;l.unshift(1),t.integerLen++}else l[o-1]++;for(;i<Math.max(0,r);i++)l.push(0);let s=0!==r;const u=e+t.integerLen,c=l.reduceRight((function(t,e,n,l){return l[n]=(e+=t)<10?e:e-10,s&&(0===l[n]&&n>=u?l.pop():s=!1),e>=10?1:0}),0);c&&(l.unshift(c),t.integerLen++)}(u,d,h);let p=u.digits,f=u.integerLen;const b=u.exponent;let m=[];for(s=p.every(t=>!t);f<c;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const _=[];for(p.length>=e.lgSize&&_.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)_.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join(v(n,l)),m.length&&(a+=v(n,i)+m.join("")),b&&(a+=v(n,g.Exponential)+"+"+b)}else a=v(n,g.Infinity);return a=t<0&&!s?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},l=t.split(";"),i=l[0],r=l[1],o=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=o[0],s=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let c=0;c<s.length;c++){const t=s.charAt(c);"0"===t?n.minFrac=n.maxFrac=c+1:"#"===t?n.maxFrac=c+1:n.posSuf+=t}const u=a.split(",");if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,r){const t=i.length-n.posPre.length-n.posSuf.length,e=r.indexOf("#");n.negPre=r.substr(0,e).replace(/'/g,""),n.negSuf=r.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(function(t,e){return Object(l.Eb)(t)[l.ob.NumberFormats][e]}(e,h.Decimal),v(e,g.MinusSign)),e,g.Group,g.Decimal,n)}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(t),n,e)}catch(i){throw ht(vt,i.message)}}}class Ct{}const wt=new l.w("DocumentToken"),Pt="browser";function xt(t){return t===Pt}function St(t){return"server"===t}let kt=(()=>{class t{}return t.ngInjectableDef=Object(l.cc)({token:t,providedIn:"root",factory:()=>new Mt(Object(l.dc)(wt),window,Object(l.dc)(l.q))}),t})();class Mt{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,l=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],l-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},"SW/M":function(t,e,n){"use strict";e.a={ANIMATING:0,INTERACTING:1}},SYdj:function(t,e,n){var l,i,r;i=[n("1SYQ")],void 0===(r="function"==typeof(l=function(t){"use strict";return t})?l.apply(e,i):l)||(t.exports=r)},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1200?"\u4e0a\u5348":1200===l?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(t,e,n){"use strict";var l=n("ngJS"),i=n("NJ4a"),r=n("Lhse"),o=n("kJWO"),a=n("I55L"),s=n("c2HN"),u=n("XoHu");n.d(e,"a",(function(){return c}));const c=t=>{if(t&&"function"==typeof t[o.a])return c=t,t=>{const e=c[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(l.a)(t);if(Object(s.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i.a),t);if(t&&"function"==typeof t[r.a])return e=t,t=>{const n=e[r.a]();for(;;){let e;try{e=n.next()}catch(l){return t.error(l),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(u.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,c}},SpAZ:function(t,e,n){"use strict";function l(t){return t}n.d(e,"a",(function(){return l}))},SzCE:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("Mc5n"),r=n("SVse"),o=n("IP0z"),a=n("oBZk"),s=n("ZZ/e"),u=n("s6ns"),c=n("aECi");n.d(e,"a",(function(){return m}));var d=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}#close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.drag-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.field-container[_ngcontent-%COMP%]{width:200px;max-width:100%;margin:0 25px 25px 0;display:inline-block;vertical-align:top}.field-list[_ngcontent-%COMP%]{border:1px solid #ccc;min-height:60px;background:#fff;border-radius:4px;overflow:hidden;display:block}.field-box[_ngcontent-%COMP%]{padding:5px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0,0,.2,1)}.field-box[_ngcontent-%COMP%]:last-child{border:none}.field-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .field-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1)}"]],data:{}});function h(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,6,"div",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),l.Tb(6144,null,i.l,null,[i.c]),l.Cb(2,4866048,[[1,4]],3,i.c,[l.p,[3,i.b],r.d,l.G,l.Y,i.a,[2,o.b],i.g,l.j],null,null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,2).disabled,l.Pb(e,2)._dragRef.isDragging()),t(e,6,0,e.context.$implicit)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,6,"div",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),l.Tb(6144,null,i.l,null,[i.c]),l.Cb(2,4866048,[[5,4]],3,i.c,[l.p,[3,i.b],r.d,l.G,l.Y,i.a,[2,o.b],i.g,l.j],null,null),l.Ub(603979776,6,{_handles:1}),l.Ub(603979776,7,{_previewTemplate:0}),l.Ub(603979776,8,{_placeholderTemplate:0}),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,2).disabled,l.Pb(e,2)._dragRef.isDragging()),t(e,6,0,e.context.$implicit)}))}function f(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["id","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),a.y,a.g)),l.Cb(1,49152,null,0,s.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,2,"h1",[["class","dialog-header mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),l.Cb(3,81920,null,0,u.m,[[2,u.l],l.p,u.e],null,null),(t()(),l.Wb(-1,null,["RIGHT PANEL EDITION"])),(t()(),l.Db(5,0,null,null,23,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(6,16384,null,0,u.j,[],null,null),(t()(),l.Db(7,0,null,null,21,"div",[["cdkDropListGroup",""],["class","drag-container"]],null,null,null,null,null)),l.Cb(8,147456,null,0,i.f,[],null,null),(t()(),l.Db(9,0,null,null,9,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PANEL FIELDS"])),(t()(),l.Db(12,0,null,null,6,"div",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),null,null)),l.Tb(6144,null,i.b,null,[i.e]),l.Cb(14,1196032,null,1,i.e,[l.p,i.g,l.j,[2,o.b],[3,i.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,1,{_draggables:1}),l.Tb(256,null,i.f,void 0,[]),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(18,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(19,0,null,null,9,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OTHER FIELDS"])),(t()(),l.Db(22,0,null,null,6,"div",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),null,null)),l.Tb(6144,null,i.b,null,[i.e]),l.Cb(24,1196032,null,1,i.e,[l.p,i.g,l.j,[2,o.b],[3,i.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,5,{_draggables:1}),l.Tb(256,null,i.f,void 0,[]),(t()(),l.sb(16777216,null,null,1,null,p)),l.Cb(28,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0),t(e,14,0,n.panelFields),t(e,18,0,n.panelFields),t(e,24,0,n.otherFields),t(e,28,0,n.otherFields)}),(function(t,e){t(e,2,0,l.Pb(e,3).id),t(e,12,0,l.Pb(e,14).id,l.Pb(e,14).disabled,l.Pb(e,14)._dropListRef.isDragging(),l.Pb(e,14)._dropListRef.isReceiving()),t(e,22,0,l.Pb(e,24).id,l.Pb(e,24).disabled,l.Pb(e,24)._dropListRef.isDragging(),l.Pb(e,24)._dropListRef.isReceiving())}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-right-panel-params-dialog",[],null,null,null,f,d)),l.Cb(1,245760,null,0,c.a,[u.l,u.a],null,null)],(function(t,e){t(e,1,0)}),null)}var m=l.zb("sepia-right-panel-params-dialog",c.a,b,{},{},[])},TN97:function(t,e,n){"use strict";var l,i=n("kvpX"),r=n("Ho3V"),o=n("AdTM"),a=n("4mld"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this;return n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addEventListener(Object(a.b)(n.geometryName_),n.handleGeometryChanged_),e&&("function"==typeof e.getSimplifiedGeometry?n.setGeometry(e):n.setProperties(e)),n}return s(e,t),e.prototype.clone=function(){var t=new e(this.getProperties());t.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&t.setGeometry(n.clone());var l=this.getStyle();return l&&t.setStyle(l),t},e.prototype.getGeometry=function(){return this.get(this.geometryName_)},e.prototype.getId=function(){return this.id_},e.prototype.getGeometryName=function(){return this.geometryName_},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.handleGeometryChange_=function(){this.changed()},e.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(Object(r.c)(this.geometryChangeKey_),this.geometryChangeKey_=null);var t=this.getGeometry();t&&(this.geometryChangeKey_=Object(r.a)(t,o.a.CHANGE,this.handleGeometryChange_,this)),this.changed()},e.prototype.setGeometry=function(t){this.set(this.geometryName_,t)},e.prototype.setStyle=function(t){var e,n;this.style_=t,this.styleFunction_=t?"function"==typeof(e=t)?e:(Array.isArray(e)?n=e:(Object(i.a)("function"==typeof e.getZIndex,41),n=[e]),function(){return n}):void 0,this.changed()},e.prototype.setId=function(t){this.id_=t,this.changed()},e.prototype.setGeometryName=function(t){this.removeEventListener(Object(a.b)(this.geometryName_),this.handleGeometryChanged_),this.geometryName_=t,this.addEventListener(Object(a.b)(this.geometryName_),this.handleGeometryChanged_),this.handleGeometryChanged_()},e}(a.a);e.a=u},TYbz:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}ghostControllerGetGhosts$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerGetGhostsPath,"get");return this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerGetGhosts(t){return this.ghostControllerGetGhosts$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerUpdateGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerUpdateGhostPath,"put");return e&&(n.query("icao",e.icao),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerUpdateGhost(t){return this.ghostControllerUpdateGhost$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerAddGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerAddGhostPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerAddGhost(t){return this.ghostControllerAddGhost$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerDeleteGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerDeleteGhostPath,"delete");return e&&n.query("icao",e.icao),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerDeleteGhost(t){return this.ghostControllerDeleteGhost$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GhostControllerGetGhostsPath="/ghost",t.GhostControllerUpdateGhostPath="/ghost",t.GhostControllerAddGhostPath="/ghost",t.GhostControllerDeleteGhostPath="/ghost",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},TZgD:function(t,e,n){"use strict";function l(t,e,n,l){for(;e<n-l;){for(var i=0;i<l;++i){var r=t[e+i];t[e+i]=t[n-l+i],t[n-l+i]=r}e+=l,n-=l}}function i(t,e,n,l){for(var i=0,r=t[n-l],o=t[n-l+1];e<n;e+=l){var a=t[e],s=t[e+1];i+=(a-r)*(s+o),r=a,o=s}return i>0}function r(t,e,n,l,r){for(var o=void 0!==r&&r,a=0,s=n.length;a<s;++a){var u=n[a],c=i(t,e,u,l);if(0===a){if(o&&c||!o&&!c)return!1}else if(o&&!c||!o&&c)return!1;e=u}return!0}function o(t,e,n,l,i){for(var o=0,a=n.length;o<a;++o){var s=n[o];if(!r(t,e,s,l,i))return!1;s.length&&(e=s[s.length-1])}return!0}function a(t,e,n,r,o){for(var a=void 0!==o&&o,s=0,u=n.length;s<u;++s){var c=n[s],d=i(t,e,c,r);(0===s?a&&d||!a&&!d:a&&!d||!a&&d)&&l(t,e,c,r),e=c}return e}function s(t,e,n,l,i){for(var r=0,o=n.length;r<o;++r)e=a(t,e,n[r],l,i);return e}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s}))},Tosz:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},TypT:function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),l=0,i=n.length;l<i;l++){var r=n[l].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}},UDhR:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UJLV:function(t,e,n){var l,i,r;i=[n("d5dl"),n("GKYg"),n("X1gR")],void 0===(r="function"==typeof(l=function(t,e,n){"use strict";return e=e(t),n=n(t),{toLatLong:e,toUsng:n,getConverter:function(t){var l;switch(t.toLowerCase()){case"latlong":l=e;break;case"usng":l=n}return l}}})?l.apply(e,i):l)||(t.exports=r)},UK0T:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("ppab"),i=n("Pmt0"),r=n("978D"),o=(n("svHU"),n("YGmB"),n("7/LY")),a=n("EDvw"),s=(n("qToJ"),n("P151"),n("Y4ja"));n("sLNx");class u extends l.a{constructor(t,e,n,l,i,r,o,a){super(),this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.timeService=l,this.iconsService=i,this.settingService=r,this.modeService=o,this.replayTripService=a,this.subscription={},this.daemonInterval=null,this.extent=[]}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",this.getLayer()),this.extent=this.mapService.getView().calculateExtent(this.mapService.getMap().getSize()),this.initTraffic(),this.modeService.getModeMapChangeEmitter().subscribe(t=>{t===s.a.ALL_AIRCRAFT&&null===this.daemonInterval?(this.destroyReplayTrip(),this.initTraffic()):t===s.a.ONE_AIRCRAFT&&(this.destroyTraffic(),this.initReplayTrip())})}initReplayTrip(){this.subscription.aircraftChange=this.replayTripService.getAircraftChange().subscribe(t=>{this.updateReplayTrip(t)})}initTraffic(){this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.subscription.colorListChange=this.settingService.getColorAircraftListsChangeEmitter().subscribe(()=>{this.source.getFeatures().forEach(t=>{t.setColor(),t.setOlStyleAircraft()})}),this.subscription.daemonChangeEvent=this.timeService.getDaemonChangeEmitter().subscribe(t=>{t!==r.a.REALTIME&&t!==r.a.REPLAY||(this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),this.getTraffic())}),this.subscription.viewChangeEvent=this.mapService.getViewChangeEmitter().subscribe(t=>{this.extent=t.calculateExtent(this.mapService.getMap().getSize()),this.getTraffic()}),this.daemonInterval=setInterval(()=>{this.getTraffic()},2e3)}ngOnDestroy(){this.destroyTraffic()}destroyReplayTrip(){this.selectAircraftService.deleteAircraft(this.replayTripService.aircraft),this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft();for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}destroyTraffic(){this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),clearInterval(this.daemonInterval),this.daemonInterval=null;for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}manageSelectedAircrafts(t){if(t.haveOneStatus([o.a.SELECT,o.a.WATCH,o.a.UNSELECT,o.a.HOVER])){const e=this.source.getFeatureById(t.aircraft.icao);t.haveStatus(o.a.HOVER),e&&(e.setStatus(t.status),e.setColor(),e.setOlStyleAircraft()),t.haveStatus(o.a.FOLLOW)&&this.mapService.recenterMap([t.aircraft.longitude,t.aircraft.latitude])}}getTraffic(){if(!this.timeService.isLock){const t=this.timeService.getDateReplay();if(t&&!this.timeService.isPlayingReplay())return;this.timeService.isLock=!0;const e=this.selectAircraftService.getAircraftsSelected(),n=this.selectAircraftService.getAircraftsFocus();this.trafficService.getTraffic(this.extent,e,(t,e,n)=>{this.refreshAircrafts(t,e,n)},t,n)}}refreshAircrafts(t,e,n){this.timeService.isLock=!1,this.timeService.haveStarted=!1,this.removeFeatures(t),this.addFeatures(e),this.updateFeatures(n)}removeFeatures(t){t.forEach(t=>{this.selectAircraftService.deleteAircraft(t);const e=this.source.getFeatureById(t.icao);e&&this.source.removeFeature(e)})}addFeatures(t){const e=[];t.forEach(t=>{const n=new a.a(t,this.settingService,this.iconsService);e.push(n)}),this.source.addFeatures(e)}updateFeatures(t){t.forEach(t=>{const e=this.source.getFeatureById(t.icao);if(e)e.setGeo(),this.selectAircraftService.updateAircraft(t);else{const e=new a.a(t,this.settingService,this.iconsService);this.source.addFeature(e)}})}updateReplayTrip(t){if(this.trafficService.aircrafts[t.icao]){const e=this.source.getFeatureById(t.icao);this.selectAircraftService.updateAircraft(t,!1),e.setGeo()}else{const e=new a.a(t,this.settingService,this.iconsService);this.source.addFeature(e),this.trafficService.addAircraft(t),this.selectAircraftService.selectAircraft(t,null,!1),this.mapService.recenterMap([t.longitude,t.latitude])}}getLayer(){return this.layer||(this.layer=new i.a({name:this.name,visible:this.visibility,zIndex:this.zIndex,source:super.getVectorSource()})),this.layer}}},UN5i:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseOperatorControllerOperatorPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseOperatorControllerOperator(t){return this.getOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseOperatorControllerOperatorPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseOperatorControllerOperator(t){return this.replaceOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseOperatorControllerOperatorPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseOperatorControllerOperator(t){return this.deleteOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseOperatorControllerOperatorPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseOperatorControllerOperator(t){return this.updateOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseOperatorControllerOperatorPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseOperatorControllerOperator(t){return this.getManyBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseOperatorControllerOperatorPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseOperatorControllerOperator(t){return this.createOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseOperatorControllerOperatorPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseOperatorControllerOperator(t){return this.createManyBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseOperatorControllerOperatorPath="/operator/{id}",t.ReplaceOneBaseOperatorControllerOperatorPath="/operator/{id}",t.DeleteOneBaseOperatorControllerOperatorPath="/operator/{id}",t.UpdateOneBaseOperatorControllerOperatorPath="/operator/{id}",t.GetManyBaseOperatorControllerOperatorPath="/operator",t.CreateOneBaseOperatorControllerOperatorPath="/operator",t.CreateManyBaseOperatorControllerOperatorPath="/operator/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},USCx:function(t,e,n){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},Uhtb:function(t,e,n){"use strict";e.a={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},UrOv:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.ReplaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.DeleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.UpdateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.GetManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation",t.CreateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation",t.CreateManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Uwu7:function(t,e,n){var l=n("x7D4")("socket.io-parser"),i=n("cpc2"),r=n("Njrz"),o=n("luTP"),a=n("qGlh");function s(){}e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=s,e.Decoder=d;var u=e.ERROR+'"encode error"';function c(t){var n=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data){var i=function(t){try{return JSON.stringify(t)}catch(e){return!1}}(t.data);if(!1===i)return u;n+=i}return l("encoded %j as %s",t,n),n}function d(){this.reconstructor=null}function h(t){this.reconPack=t,this.buffers=[]}function p(t){return{type:e.ERROR,data:"parser error: "+t}}s.prototype.encode=function(t,n){l("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type?function(t,e){r.removeBlobs(t,(function(t){var n=r.deconstructPacket(t),l=c(n.packet),i=n.buffers;i.unshift(l),e(i)}))}(t,n):n([c(t)])},i(d.prototype),d.prototype.add=function(t){var n;if("string"==typeof t)n=function(t){var n=0,i={type:Number(t.charAt(0))};if(null==e.types[i.type])return p("unknown packet type "+i.type);if(e.BINARY_EVENT===i.type||e.BINARY_ACK===i.type){for(var r=n+1;"-"!==t.charAt(++n)&&n!=t.length;);var a=t.substring(r,n);if(a!=Number(a)||"-"!==t.charAt(n))throw new Error("Illegal attachments");i.attachments=Number(a)}if("/"===t.charAt(n+1)){for(r=n+1;++n&&","!==(u=t.charAt(n))&&n!==t.length;);i.nsp=t.substring(r,n)}else i.nsp="/";var s=t.charAt(n+1);if(""!==s&&Number(s)==s){for(r=n+1;++n;){var u;if(null==(u=t.charAt(n))||Number(u)!=u){--n;break}if(n===t.length)break}i.id=Number(t.substring(r,n+1))}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(e){return!1}}(t.substr(n));if(!1===c||i.type!==e.ERROR&&!o(c))return p("invalid payload");i.data=c}return l("decoded %s as %j",t,i),i}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new h(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",n))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},h.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},h.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},Uxeu:function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,l=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e,i,r=t,o=t.indexOf("["),a=t.indexOf("]");-1!=o&&-1!=a&&(t=t.substring(0,o)+t.substring(o,a).replace(/:/g,";")+t.substring(a,t.length));for(var s,u=n.exec(t||""),c={},d=14;d--;)c[l[d]]=u[d]||"";return-1!=o&&-1!=a&&(c.source=r,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=(i=(e=c.path).replace(/\/{2,9}/g,"/").split("/"),"/"!=e.substr(0,1)&&0!==e.length||i.splice(0,1),"/"==e.substr(e.length-1,1)&&i.splice(i.length-1,1),i),c.queryKey=(s={},c.query.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(t,e,n){e&&(s[e]=n)})),s),c}},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},V8uu:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var l=n("n15R");function i(){return!0}function r(){return!1}function o(){}function a(t){var e,n,i,r=!1;return function(){var o=Array.prototype.slice.call(arguments);return r&&this===i&&Object(l.b)(o,n)||(r=!0,i=this,n=o,e=t.apply(this,arguments)),e}}},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("z+Ro"),r=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(i.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof l.a?t[0]:Object(r.a)(e)(Object(o.a)(t,n))}},"VWR+":function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4mld"),o=n("30zj"),a=n("f8l7"),s=n("OPOH"),u=n("kvpX"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=t.call(this)||this,l=Object(s.a)({},e);return l[o.a.OPACITY]=void 0!==e.opacity?e.opacity:1,Object(u.a)("number"==typeof l[o.a.OPACITY],64),l[o.a.VISIBLE]=void 0===e.visible||e.visible,l[o.a.Z_INDEX]=e.zIndex,l[o.a.MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,l[o.a.MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,l[o.a.MIN_ZOOM]=void 0!==e.minZoom?e.minZoom:-1/0,l[o.a.MAX_ZOOM]=void 0!==e.maxZoom?e.maxZoom:1/0,n.className_=void 0!==l.className?e.className:"ol-layer",delete l.className,n.setProperties(l),n.state_=null,n}return c(e,t),e.prototype.getClassName=function(){return this.className_},e.prototype.getLayerState=function(t){var e=this.state_||{layer:this,managed:void 0===t||t},n=this.getZIndex();return e.opacity=Object(a.a)(Math.round(100*this.getOpacity())/100,0,1),e.sourceState=this.getSourceState(),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==n?n:!1===e.managed?1/0:0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e},e.prototype.getLayersArray=function(t){return Object(i.b)()},e.prototype.getLayerStatesArray=function(t){return Object(i.b)()},e.prototype.getExtent=function(){return this.get(o.a.EXTENT)},e.prototype.getMaxResolution=function(){return this.get(o.a.MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(o.a.MIN_RESOLUTION)},e.prototype.getMinZoom=function(){return this.get(o.a.MIN_ZOOM)},e.prototype.getMaxZoom=function(){return this.get(o.a.MAX_ZOOM)},e.prototype.getOpacity=function(){return this.get(o.a.OPACITY)},e.prototype.getSourceState=function(){return Object(i.b)()},e.prototype.getVisible=function(){return this.get(o.a.VISIBLE)},e.prototype.getZIndex=function(){return this.get(o.a.Z_INDEX)},e.prototype.setExtent=function(t){this.set(o.a.EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(o.a.MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(o.a.MIN_RESOLUTION,t)},e.prototype.setMaxZoom=function(t){this.set(o.a.MAX_ZOOM,t)},e.prototype.setMinZoom=function(t){this.set(o.a.MIN_ZOOM,t)},e.prototype.setOpacity=function(t){Object(u.a)("number"==typeof t,64),this.set(o.a.OPACITY,t)},e.prototype.setVisible=function(t){this.set(o.a.VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(o.a.Z_INDEX,t)},e.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),t.prototype.disposeInternal.call(this)},e}(r.a);e.a=d},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},Vgg8:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationControllerNotificationPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationControllerNotification(t){return this.getOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationControllerNotificationPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationControllerNotification(t){return this.replaceOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationControllerNotificationPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationControllerNotification(t){return this.deleteOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationControllerNotificationPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationControllerNotification(t){return this.updateOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationControllerNotificationPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationControllerNotification(t){return this.getManyBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationControllerNotificationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationControllerNotification(t){return this.createOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationControllerNotificationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationControllerNotification(t){return this.createManyBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationControllerNotificationPath="/notification/{id}",t.ReplaceOneBaseNotificationControllerNotificationPath="/notification/{id}",t.DeleteOneBaseNotificationControllerNotificationPath="/notification/{id}",t.UpdateOneBaseNotificationControllerNotificationPath="/notification/{id}",t.GetManyBaseNotificationControllerNotificationPath="/notification",t.CreateOneBaseNotificationControllerNotificationPath="/notification",t.CreateManyBaseNotificationControllerNotificationPath="/notification/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Vq53:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e,n=0,l=[],i={};if("string"!=typeof t)throw"Input to parseUsng must be a USNG string.";if((l=t.toUpperCase().replace(/%20/g,"").replace(/ /g,"")).length<7)throw"This application requires minimum USNG precision of 10,000 meters";for(i.zoneNumber=l.match(/^\d{1,2}/)[0],n+=i.zoneNumber.length,i.zoneNumber=parseInt(i.zoneNumber,10),i.zoneLetter=l.charAt(n),i.sq1=l.charAt(n+=1),i.sq2=l.charAt(n+=1),i.precision=(l.length-(n+=1))/2,i.east="",i.north="",e=0;e<i.precision;e+=1)i.east+=l.charAt(n),n+=1;for(" "===l[n]&&(n+=1),e=0;e<i.precision;e+=1)i.north+=l.charAt(n),n+=1;return i}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},W5yJ:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("Xd0L");class o{constructor(t){this._elementRef=t}}const a=Object(r.E)(o,"primary"),s=new i.w("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let u=(()=>{class t extends a{constructor(e,n,l,i,r){super(e),this._elementRef=e,this._document=l,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;o.has(l.head)||o.set(l.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(l.f)(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(l.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(l.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=function(t,e){if("undefined"!=typeof window){const n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){const e=t.getRootNode?t.getRootNode():null;if(e instanceof window.ShadowRoot)return e}}return null}(t,this._document)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,l=t._diameters;let i=l.get(e);if(!i||!i.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",n+""),t.textContent=this._getAnimationText(),e.appendChild(t),i||(i=new Set,l.set(e,i)),i.add(n)}}_getAnimationText(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}}return t._diameters=new WeakMap,t})();class c extends u{constructor(t,e,n,l,i){super(t,e,n,l,i),this.mode="indeterminate"}}class d{}},W8M7:function(t,e,n){"use strict";n.d(e,"b",(function(){return C}));var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("BJ1j"),u=n("9ANI"),c=n("mrzG"),d=(n("eQqr"),n("tYnX")),h=n("l2lA"),p=n("JfHk"),f=n("q7cr"),b=n("u2yf"),m=n("Cp04"),g=n("xWBw"),_=n("TZgD"),y=n("HEh+"),A=(n("f8l7"),l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),v=function(t){function e(e,n,l){var i=t.call(this)||this;return i.ends_=[],i.flatInteriorPointRevision_=-1,i.flatInteriorPoint_=null,i.maxDelta_=-1,i.maxDeltaRevision_=-1,i.orientedRevision_=-1,i.orientedFlatCoordinates_=null,void 0!==n&&l?(i.setFlatCoordinates(n,e),i.ends_=l):i.setCoordinates(e,n),i}return A(e,t),e.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice())},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(h.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(h.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.containsXY=function(t,e){return Object(p.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return Object(d.b)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(_.d)(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Object(b.b)(e,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Object(r.x)(this.getExtent());this.flatInteriorPoint_=Object(m.a)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new u.a(this.getFlatInteriorPoint(),o.a.XYM)},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new s.a(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLinearRings=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.ends_,l=[],i=0,r=0,o=n.length;r<o;++r){var a=n[r],u=new s.a(e.slice(i,a),t);l.push(u),i=a}return l},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(_.b)(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(_.d)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(y.c)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),n,0,l),new e(n,o.a.XY,l)},e.prototype.getType=function(){return a.a.POLYGON},e.prototype.intersectsExtent=function(t){return Object(g.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(f.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(c.a);function C(t){var e=t[0],n=t[1],l=t[2],i=t[3],r=[e,n,e,i,l,i,l,n,e,n];return new v(r,o.a.XY,[r.length])}e.a=v},WDFe:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4wAk"),o=n("GDrd"),a=n("e0/R"),s=n("n15R"),u=n("kvpX"),c=n("Ho3V"),d=n("zvco"),h=n("AdTM"),p=n("CvXi"),f=n("bY/R"),b=n("V8uu"),m=n("cV7i"),g=n("OPOH"),_=n("/4Cu"),y=n("bYNo"),A=n("pD/Q"),v=n("tV43"),C=n.n(v),w=function(){function t(t){this.rbush_=new C.a(t),this.items_={}}return t.prototype.insert=function(t,e){var n={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(n),this.items_[Object(i.c)(e)]=n},t.prototype.load=function(t,e){for(var n=new Array(e.length),l=0,r=e.length;l<r;l++){var o=t[l],a=e[l],s={minX:o[0],minY:o[1],maxX:o[2],maxY:o[3],value:a};n[l]=s,this.items_[Object(i.c)(a)]=s}this.rbush_.load(n)},t.prototype.remove=function(t){var e=Object(i.c)(t),n=this.items_[e];return delete this.items_[e],null!==this.rbush_.remove(n)},t.prototype.update=function(t,e){var n=this.items_[Object(i.c)(e)],l=[n.minX,n.minY,n.maxX,n.maxY];Object(p.p)(l,t)||(this.remove(e),this.insert(t,e))},t.prototype.getAll=function(){return this.rbush_.all().map((function(t){return t.value}))},t.prototype.getInExtent=function(t){return this.rbush_.search({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}).map((function(t){return t.value}))},t.prototype.forEach=function(t){return this.forEach_(this.getAll(),t)},t.prototype.forEachInExtent=function(t,e){return this.forEach_(this.getInExtent(t),e)},t.prototype.forEach_=function(t,e){for(var n,l=0,i=t.length;l<i;l++)if(n=e(t[l]))return n;return n},t.prototype.isEmpty=function(){return Object(g.d)(this.items_)},t.prototype.clear=function(){this.rbush_.clear(),this.items_={}},t.prototype.getExtent=function(t){var e=this.rbush_.toJSON();return Object(p.k)(e.minX,e.minY,e.maxX,e.maxY,t)},t.prototype.concat=function(t){for(var e in this.rbush_.load(t.rbush_.all()),t.items_)this.items_[e]=t.items_[e]},t}(),P=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),x=function(t){function e(e,n){var l=t.call(this,e)||this;return l.feature=n,l}return P(e,t),e}(d.a),S=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{attributions:l.attributions,projection:void 0,state:y.a.READY,wrapX:void 0===l.wrapX||l.wrapX})||this).loader_=b.c,n.format_=l.format,n.overlaps_=void 0===l.overlaps||l.overlaps,n.url_=l.url,void 0!==l.loader?n.loader_=l.loader:void 0!==n.url_&&(Object(u.a)(n.format_,7),n.loader_=Object(f.b)(n.url_,n.format_)),n.strategy_=void 0!==l.strategy?l.strategy:m.a;var i,o,a=void 0===l.useSpatialIndex||l.useSpatialIndex;return n.featuresRtree_=a?new w:null,n.loadedExtentsRtree_=new w,n.nullGeometryFeatures_={},n.idIndex_={},n.uidIndex_={},n.featureChangeKeys_={},n.featuresCollection_=null,Array.isArray(l.features)?o=l.features:l.features&&(o=(i=l.features).getArray()),a||void 0!==i||(i=new r.a(o)),void 0!==o&&n.addFeaturesInternal(o),void 0!==i&&n.bindFeaturesCollection_(i),n}return P(e,t),e.prototype.addFeature=function(t){this.addFeatureInternal(t),this.changed()},e.prototype.addFeatureInternal=function(t){var e=Object(i.c)(t);if(this.addToIndex_(e,t)){this.setupChangeEvents_(e,t);var n=t.getGeometry();if(n){var l=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(l,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new x(A.a.ADDFEATURE,t))}else this.featuresCollection_&&this.featuresCollection_.remove(t)},e.prototype.setupChangeEvents_=function(t,e){this.featureChangeKeys_[t]=[Object(c.a)(e,h.a.CHANGE,this.handleFeatureChange_,this),Object(c.a)(e,a.a.PROPERTYCHANGE,this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(t,e){var n=!0,l=e.getId();return void 0!==l&&(l.toString()in this.idIndex_?n=!1:this.idIndex_[l.toString()]=e),n&&(Object(u.a)(!(t in this.uidIndex_),30),this.uidIndex_[t]=e),n},e.prototype.addFeatures=function(t){this.addFeaturesInternal(t),this.changed()},e.prototype.addFeaturesInternal=function(t){for(var e=[],n=[],l=[],r=0,o=t.length;r<o;r++){var a=t[r],s=Object(i.c)(a);this.addToIndex_(s,a)&&n.push(a)}r=0;for(var u=n.length;r<u;r++){a=n[r],s=Object(i.c)(a),this.setupChangeEvents_(s,a);var c=a.getGeometry();if(c){var d=c.getExtent();e.push(d),l.push(a)}else this.nullGeometryFeatures_[s]=a}this.featuresRtree_&&this.featuresRtree_.load(e,l),r=0;for(var h=n.length;r<h;r++)this.dispatchEvent(new x(A.a.ADDFEATURE,n[r]))},e.prototype.bindFeaturesCollection_=function(t){var e=!1;this.addEventListener(A.a.ADDFEATURE,(function(n){e||(e=!0,t.push(n.feature),e=!1)})),this.addEventListener(A.a.REMOVEFEATURE,(function(n){e||(e=!0,t.remove(n.feature),e=!1)})),t.addEventListener(o.a.ADD,(function(t){e||(e=!0,this.addFeature(t.element),e=!1)}).bind(this)),t.addEventListener(o.a.REMOVE,(function(t){e||(e=!0,this.removeFeature(t.element),e=!1)}).bind(this)),this.featuresCollection_=t},e.prototype.clear=function(t){if(t){for(var e in this.featureChangeKeys_)this.featureChangeKeys_[e].forEach(c.c);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_)for(var n in this.featuresRtree_.forEach(this.removeFeatureInternal.bind(this)),this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n]);this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};var l=new x(A.a.CLEAR);this.dispatchEvent(l),this.changed()},e.prototype.forEachFeature=function(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)},e.prototype.forEachFeatureAtCoordinateDirect=function(t,e){return this.forEachFeatureInExtent([t[0],t[1],t[0],t[1]],(function(n){return n.getGeometry().intersectsCoordinate(t)?e(n):void 0}))},e.prototype.forEachFeatureInExtent=function(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)},e.prototype.forEachFeatureIntersectingExtent=function(t,e){return this.forEachFeatureInExtent(t,(function(n){if(n.getGeometry().intersectsExtent(t)){var l=e(n);if(l)return l}}))},e.prototype.getFeaturesCollection=function(){return this.featuresCollection_},e.prototype.getFeatures=function(){var t;return this.featuresCollection_?t=this.featuresCollection_.getArray():this.featuresRtree_&&(t=this.featuresRtree_.getAll(),Object(g.d)(this.nullGeometryFeatures_)||Object(s.c)(t,Object(g.c)(this.nullGeometryFeatures_))),t},e.prototype.getFeaturesAtCoordinate=function(t){var e=[];return this.forEachFeatureAtCoordinateDirect(t,(function(t){e.push(t)})),e},e.prototype.getFeaturesInExtent=function(t){return this.featuresRtree_?this.featuresRtree_.getInExtent(t):this.featuresCollection_?this.featuresCollection_.getArray():[]},e.prototype.getClosestFeatureToCoordinate=function(t,e){var n=t[0],l=t[1],i=null,r=[NaN,NaN],o=1/0,a=[-1/0,-1/0,1/0,1/0],s=e||b.b;return this.featuresRtree_.forEachInExtent(a,(function(t){if(s(t)){var e=t.getGeometry(),u=o;if((o=e.closestPointXY(n,l,r,o))<u){i=t;var c=Math.sqrt(o);a[0]=n-c,a[1]=l-c,a[2]=n+c,a[3]=l+c}}})),i},e.prototype.getExtent=function(t){return this.featuresRtree_.getExtent(t)},e.prototype.getFeatureById=function(t){var e=this.idIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getFeatureByUid=function(t){var e=this.uidIndex_[t];return void 0!==e?e:null},e.prototype.getFormat=function(){return this.format_},e.prototype.getOverlaps=function(){return this.overlaps_},e.prototype.getUrl=function(){return this.url_},e.prototype.handleFeatureChange_=function(t){var e=t.target,n=Object(i.c)(e),l=e.getGeometry();if(l){var r=l.getExtent();n in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[n],this.featuresRtree_&&this.featuresRtree_.insert(r,e)):this.featuresRtree_&&this.featuresRtree_.update(r,e)}else n in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[n]=e);var o=e.getId();if(void 0!==o){var a=o.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[n]=e;this.changed(),this.dispatchEvent(new x(A.a.CHANGEFEATURE,e))},e.prototype.hasFeature=function(t){var e=t.getId();return void 0!==e?e in this.idIndex_:Object(i.c)(t)in this.uidIndex_},e.prototype.isEmpty=function(){return this.featuresRtree_.isEmpty()&&Object(g.d)(this.nullGeometryFeatures_)},e.prototype.loadFeatures=function(t,e,n){var l=this.loadedExtentsRtree_,i=this.strategy_(t,e);this.loading=!1;for(var r=function(t,r){var a=i[t];l.forEachInExtent(a,(function(t){return Object(p.g)(t.extent,a)}))||(o.loader_.call(o,a,e,n),l.insert(a,{extent:a.slice()}),o.loading=o.loader_!==b.c)},o=this,a=0,s=i.length;a<s;++a)r(a)},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(t){var e,n=this.loadedExtentsRtree_;n.forEachInExtent(t,(function(n){if(Object(p.p)(n.extent,t))return e=n,!0})),e&&n.remove(e)},e.prototype.removeFeature=function(t){var e=Object(i.c)(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t),this.changed()},e.prototype.removeFeatureInternal=function(t){var e=Object(i.c)(t);this.featureChangeKeys_[e].forEach(c.c),delete this.featureChangeKeys_[e];var n=t.getId();void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new x(A.a.REMOVEFEATURE,t))},e.prototype.removeFromIdIndex_=function(t){var e=!1;for(var n in this.idIndex_)if(this.idIndex_[n]===t){delete this.idIndex_[n],e=!0;break}return e},e.prototype.setLoader=function(t){this.loader_=t},e.prototype.setUrl=function(t){Object(u.a)(this.format_,7),this.setLoader(Object(f.b)(t,this.format_))},e}(_.a);e.a=S},WLGk:function(t,e,n){var l=n("6C75"),i=Object.prototype.toString,r="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),o="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);t.exports=function t(e){if(!e||"object"!=typeof e)return!1;if(l(e)){for(var n=0,i=e.length;n<i;n++)if(t(e[n]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(e)||"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||r&&e instanceof Blob||o&&e instanceof File)return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return t(e.toJSON(),!0);for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return!0;return!1}},WMd4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("EY2u"),i=n("LRne"),r=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(l.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WS2v:function(t,e,n){"use strict";e.a={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend"}},WTjQ:function(t,e,n){"use strict";function l(t,e,n,l){for(var i=t[e],r=t[e+1],o=0,a=e+l;a<n;a+=l){var s=t[a],u=t[a+1];o+=Math.sqrt((s-i)*(s-i)+(u-r)*(u-r)),i=s,r=u}return o}n.d(e,"a",(function(){return l}))},"WVt+":function(t,e,n){!function(t){"use strict";function e(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.bbox,i=n.id;if(void 0===t)throw new Error("geometry is required");if(e&&e.constructor!==Object)throw new Error("properties must be an Object");l&&x(l),i&&S(i);var r={type:"Feature"};return i&&(r.id=i),l&&(r.bbox=l),r.properties=e||{},r.geometry=t,r}function n(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i,o=n.bbox;if(!t)throw new Error("type is required");if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");switch(o&&x(o),t){case"Point":i=l(e).geometry;break;case"LineString":i=a(e).geometry;break;case"Polygon":i=r(e).geometry;break;case"MultiPoint":i=d(e).geometry;break;case"MultiLineString":i=c(e).geometry;break;case"MultiPolygon":i=h(e).geometry;break;default:throw new Error(t+" is invalid")}return o&&(i.bbox=o),i}function l(t,n,l){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!w(t[0])||!w(t[1]))throw new Error("coordinates must contain numbers");return e({type:"Point",coordinates:t},n,l)}function i(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return l(t,e)})),n)}function r(t,n,l){if(!t)throw new Error("coordinates is required");for(var i=0;i<t.length;i++){var r=t[i];if(r.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var o=0;o<r[r.length-1].length;o++){if(0===i&&0===o&&!w(r[0][0])||!w(r[0][1]))throw new Error("coordinates must contain numbers");if(r[r.length-1][o]!==r[0][o])throw new Error("First and last Position are not equivalent.")}}return e({type:"Polygon",coordinates:t},n,l)}function o(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return r(t,e)})),n)}function a(t,n,l){if(!t)throw new Error("coordinates is required");if(t.length<2)throw new Error("coordinates must be an array of two or more positions");if(!w(t[0][1])||!w(t[0][1]))throw new Error("coordinates must contain numbers");return e({type:"LineString",coordinates:t},n,l)}function s(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return a(t,e)})),n)}function u(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.id;if(!t)throw new Error("No features passed");if(!Array.isArray(t))throw new Error("features must be an Array");n&&x(n),l&&S(l);var i={type:"FeatureCollection"};return l&&(i.id=l),n&&(i.bbox=n),i.features=t,i}function c(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiLineString",coordinates:t},n,l)}function d(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiPoint",coordinates:t},n,l)}function h(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiPolygon",coordinates:t},n,l)}function p(t,n,l){if(!t)throw new Error("geometries is required");if(!Array.isArray(t))throw new Error("geometries must be an Array");return e({type:"GeometryCollection",geometries:t},n,l)}function f(t,e){if(null==t||isNaN(t))throw new Error("num is required");if(e&&!(e>=0))throw new Error("precision must be a positive number");var n=Math.pow(10,e||0);return Math.round(t*n)/n}function b(t,e){if(null==t)throw new Error("radians is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=vr[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t*n}function m(t,e){if(null==t)throw new Error("distance is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=vr[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t/n}function g(t,e){return y(m(t,e))}function _(t){if(null==t)throw new Error("bearing is required");var e=t%360;return e<0&&(e+=360),e}function y(t){if(null==t)throw new Error("radians is required");return t%(2*Math.PI)*180/Math.PI}function A(t){if(null==t)throw new Error("degrees is required");return t%360*Math.PI/180}function v(t,e,n){if(null==t)throw new Error("length is required");if(!(t>=0))throw new Error("length must be a positive number");return b(m(t,e),n||"kilometers")}function C(t,e,n){if(null==t)throw new Error("area is required");if(!(t>=0))throw new Error("area must be a positive number");var l=wr[e||"meters"];if(!l)throw new Error("invalid original units");var i=wr[n||"kilometers"];if(!i)throw new Error("invalid final units");return t/l*i}function w(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}function P(t){return!!t&&t.constructor===Object}function x(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!w(t))throw new Error("bbox must only contain numbers")}))}function S(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}function k(t,e,n){if(null!==t)for(var l,i,r,o,a,s,u,c,d=0,h=0,p=t.type,f="FeatureCollection"===p,b="Feature"===p,m=f?t.features.length:1,g=0;g<m;g++){a=(c=!!(u=f?t.features[g].geometry:b?t.geometry:t)&&"GeometryCollection"===u.type)?u.geometries.length:1;for(var _=0;_<a;_++){var y=0,A=0;if(null!==(o=c?u.geometries[_]:u)){s=o.coordinates;var v=o.type;switch(d=!n||"Polygon"!==v&&"MultiPolygon"!==v?0:1,v){case null:break;case"Point":e(s,h,g,y,A),h++,y++;break;case"LineString":case"MultiPoint":for(l=0;l<s.length;l++)e(s[l],h,g,y,A),h++,"MultiPoint"===v&&y++;"LineString"===v&&y++;break;case"Polygon":case"MultiLineString":for(l=0;l<s.length;l++){for(i=0;i<s[l].length-d;i++)e(s[l][i],h,g,y,A),h++;"MultiLineString"===v&&y++,"Polygon"===v&&A++}"Polygon"===v&&y++;break;case"MultiPolygon":for(l=0;l<s.length;l++){for("MultiPolygon"===v&&(A=0),i=0;i<s[l].length;i++){for(r=0;r<s[l][i].length-d;r++)e(s[l][i][r],h,g,y,A),h++;A++}y++}break;case"GeometryCollection":for(l=0;l<o.geometries.length;l++)k(o.geometries[l],e,n);break;default:throw new Error("Unknown Geometry Type")}}}}}function M(t,e,n,l){var i=n;return k(t,(function(t,l,r,o,a){i=0===l&&void 0===n?t:e(i,t,l,r,o,a)}),l),i}function O(t,e){var n;switch(t.type){case"FeatureCollection":for(n=0;n<t.features.length;n++)e(t.features[n].properties,n);break;case"Feature":e(t.properties,0)}}function D(t,e,n){var l=n;return O(t,(function(t,i){l=0===i&&void 0===n?t:e(l,t,i)})),l}function T(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var n=0;n<t.features.length;n++)e(t.features[n],n)}function E(t,e,n){var l=n;return T(t,(function(t,i){l=0===i&&void 0===n?t:e(l,t,i)})),l}function I(t){var e=[];return k(t,(function(t){e.push(t)})),e}function L(t,e){var n,l,i,r,o,a,s,u,c,d,h=0,p="FeatureCollection"===t.type,f="Feature"===t.type,b=p?t.features.length:1;for(n=0;n<b;n++){for(u=p?t.features[n].properties:f?t.properties:{},c=p?t.features[n].bbox:f?t.bbox:void 0,d=p?t.features[n].id:f?t.id:void 0,o=(s=!!(a=p?t.features[n].geometry:f?t.geometry:t)&&"GeometryCollection"===a.type)?a.geometries.length:1,i=0;i<o;i++)if(null!==(r=s?a.geometries[i]:a))switch(r.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":e(r,h,u,c,d);break;case"GeometryCollection":for(l=0;l<r.geometries.length;l++)e(r.geometries[l],h,u,c,d);break;default:throw new Error("Unknown Geometry Type")}else e(null,h,u,c,d);h++}}function j(t,e,n){var l=n;return L(t,(function(t,i,r,o,a){l=0===i&&void 0===n?t:e(l,t,i,r,o,a)})),l}function R(t,n){L(t,(function(t,l,i,r,o){var a,s=null===t?null:t.type;switch(s){case null:case"Point":case"LineString":case"Polygon":return void n(e(t,i,{bbox:r,id:o}),l,0)}switch(s){case"MultiPoint":a="Point";break;case"MultiLineString":a="LineString";break;case"MultiPolygon":a="Polygon"}t.coordinates.forEach((function(t,r){n(e({type:a,coordinates:t},i),l,r)}))}))}function F(t,e,n){var l=n;return R(t,(function(t,i,r){l=0===i&&0===r&&void 0===n?t:e(l,t,i,r)})),l}function N(t,e){R(t,(function(t,n,l){var i=0;if(t.geometry){var r=t.geometry.type;"Point"!==r&&"MultiPoint"!==r&&M(t,(function(r,o,s,u,c,d){var h=a([r,o],t.properties);return e(h,n,l,d,i),i++,o}))}}))}function Y(t,e,n){var l=n,i=!1;return N(t,(function(t,r,o,a,s){l=!1===i&&void 0===n?t:e(l,t,r,o,a,s),i=!0})),l}function U(t,e){if(!t)throw new Error("geojson is required");R(t,(function(t,n,l){if(null!==t.geometry){var i=t.geometry.coordinates;switch(t.geometry.type){case"LineString":e(t,n,l,0,0);break;case"Polygon":for(var r=0;r<i.length;r++)e(a(i[r],t.properties),n,l,r)}}}))}function B(t,e,n){var l=n;return U(t,(function(t,i,r,o){l=0===i&&void 0===n?t:e(l,t,i,r,o)})),l}function z(t){var e=[1/0,1/0,-1/0,-1/0];return k(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function G(t){if(!t)throw new Error("obj is required");var e=H(t);if(e.length>1&&w(e[0])&&w(e[1]))return e;throw new Error("Coordinate is not a valid Point")}function H(t){if(!t)throw new Error("obj is required");var e;if(t.length?e=t:t.coordinates?e=t.coordinates:t.geometry&&t.geometry.coordinates&&(e=t.geometry.coordinates),e)return V(e),e;throw new Error("No valid coordinates")}function V(t){if(t.length>1&&w(t[0])&&w(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return V(t[0]);throw new Error("coordinates must only contain numbers")}function q(t,e,n){if(!e||!n)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.type)}function W(t,e,n){if(!t)throw new Error("No feature passed");if(!n)throw new Error(".featureOf() requires a name");if(!t||"Feature"!==t.type||!t.geometry)throw new Error("Invalid input to "+n+", Feature with geometry required");if(!t.geometry||t.geometry.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.geometry.type)}function $(t,e,n){if(!t)throw new Error("No featureCollection passed");if(!n)throw new Error(".collectionOf() requires a name");if(!t||"FeatureCollection"!==t.type)throw new Error("Invalid input to "+n+", FeatureCollection required");for(var l=0;l<t.features.length;l++){var i=t.features[l];if(!i||"Feature"!==i.type||!i.geometry)throw new Error("Invalid input to "+n+", Feature with geometry required");if(!i.geometry||i.geometry.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+i.geometry.type)}}function X(t){if(!t)throw new Error("geojson is required");if(void 0!==t.geometry)return t.geometry;if(t.coordinates||t.geometries)return t;throw new Error("geojson must be a valid Feature or Geometry Object")}function K(){throw new Error("invariant.getGeomType has been deprecated in v5.0 in favor of invariant.getType")}function J(t,e){if(!t)throw new Error((e||"geojson")+" is required");if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error((e||"geojson")+" is invalid")}function Q(t,e,n){n=n||{};for(var l=Object.keys(kr),i=0;i<l.length;i++){var r=l[i],o=n[r];Mr[r]=o=null!=o?o:kr[r]}Mr.verbose&&console.log("MarchingSquaresJS-isoContours: computing isocontour for "+e);var a=function(t){var e=[],n=0;return t.cells.forEach((function(l,i){l.forEach((function(l,r){if(void 0!==l&&!function(t){return 5===t.cval||10===t.cval}(l)&&!tt(l)){var o=function(t,e,n){var l,i,r,o=t.length,a=[],s=[0,0,1,1,0,0,0,0,-1,0,1,1,-1,0,-1,0],u=[0,-1,0,0,1,1,1,1,0,-1,0,0,0,-1,0,0],c=["none","bottom","right","right","top","top","top","top","left","bottom","right","right","left","bottom","left","none"],d=t[e][n],h=d.cval,p=nt(d,r=["none","left","bottom","left","right","none","bottom","left","top","top","none","top","right","right","bottom","none"][h]);a.push([n+p[0],e+p[1]]),p=nt(d,r=c[h]),a.push([n+p[0],e+p[1]]),et(d);for(var f=n+s[h],b=e+u[h],m=h;f>=0&&b>=0&&b<o&&(f!=n||b!=e)&&void 0!==(d=t[b][f]);){if(0===(h=d.cval)||15===h)return{path:a,info:"mergeable"};r=c[h],l=s[h],i=u[h],5!==h&&10!==h||(5===h?d.flipped?-1===u[m]?(r="left",l=-1,i=0):(r="right",l=1,i=0):-1===s[m]&&(r="bottom",l=0,i=-1):10===h&&(d.flipped?-1===s[m]?(r="top",l=0,i=1):(r="bottom",l=0,i=-1):1===u[m]&&(r="left",l=-1,i=0))),p=nt(d,r),a.push([f+p[0],b+p[1]]),et(d),f+=l,b+=i,m=h}return{path:a,info:"closed"}}(t.cells,i,r),a=!1;if("mergeable"===o.info)for(var s=o.path[o.path.length-1][0],u=o.path[o.path.length-1][1],c=n-1;c>=0;c--)if(Math.abs(e[c][0][0]-s)<=1e-7&&Math.abs(e[c][0][1]-u)<=1e-7){for(var d=o.path.length-2;d>=0;--d)e[c].unshift(o.path[d]);a=!0;break}a||(e[n++]=o.path)}}))})),e}(function(t,e){for(var n=t.length-1,l=t[0].length-1,i={rows:n,cols:l,cells:[]},r=0;r<n;++r){i.cells[r]=[];for(var o=0;o<l;++o){var a=0,s=t[r+1][o],u=t[r+1][o+1],c=t[r][o+1],d=t[r][o];if(!(isNaN(s)||isNaN(u)||isNaN(c)||isNaN(d))){a|=s>=e?8:0,a|=u>=e?4:0,a|=c>=e?2:0;var h,p,f,b,m=!1;if(5==(a|=d>=e?1:0)||10===a){var g=(s+u+c+d)/4;5===a&&g<e?(a=10,m=!0):10===a&&g<e&&(a=5,m=!0)}0!==a&&15!==a&&(h=p=f=b=.5,1===a?(f=1-Z(e,s,d),p=1-Z(e,c,d)):2===a?(p=Z(e,d,c),b=1-Z(e,u,c)):3===a?(f=1-Z(e,s,d),b=1-Z(e,u,c)):4===a?(h=Z(e,s,u),b=Z(e,c,u)):5===a?(h=Z(e,s,u),b=Z(e,c,u),p=1-Z(e,c,d),f=1-Z(e,s,d)):6===a?(p=Z(e,d,c),h=Z(e,s,u)):7===a?(f=1-Z(e,s,d),h=Z(e,s,u)):8===a?(f=Z(e,d,s),h=1-Z(e,u,s)):9===a?(p=1-Z(e,c,d),h=1-Z(e,u,s)):10===a?(h=1-Z(e,u,s),b=1-Z(e,u,c),p=Z(e,d,c),f=Z(e,d,s)):11===a?(h=1-Z(e,u,s),b=1-Z(e,u,c)):12===a?(f=Z(e,d,s),b=Z(e,c,u)):13===a?(p=1-Z(e,c,d),b=Z(e,c,u)):14===a?(f=Z(e,d,s),p=Z(e,d,c)):console.log("MarchingSquaresJS-isoContours: Illegal cval detected: "+a),i.cells[r][o]={cval:a,flipped:m,top:h,right:b,bottom:p,left:f})}}}return i}(t,e));return"function"==typeof Mr.successCallback&&Mr.successCallback(a),a}function Z(t,e,n){return(t-e)/(n-e)}function tt(t){return 0===t.cval||15===t.cval}function et(t){tt(t)||5===t.cval||10===t.cval||(t.cval=15)}function nt(t,e){return"top"===e?[t.top,1]:"bottom"===e?[t.bottom,0]:"right"===e?[1,t.right]:"left"===e?[0,t.left]:void 0}function lt(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function it(t,e){if(!(this instanceof it))return new it(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function rt(t,e){ot(t,0,t.children.length,e,t)}function ot(t,e,n,l,i){i||(i=ft(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r,o=e;o<n;o++)r=t.children[o],at(i,t.leaf?l(r):r);return i}function at(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function st(t,e){return t.minX-e.minX}function ut(t,e){return t.minY-e.minY}function ct(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function dt(t){return t.maxX-t.minX+(t.maxY-t.minY)}function ht(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function pt(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function ft(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function bt(t,e,n,l,i){for(var r,o=[e,n];o.length;)(n=o.pop())-(e=o.pop())<=l||(r=e+Math.ceil((n-e)/l/2)*l,Or(t,r,e,n,i),o.push(e,r,r,n))}function mt(t,e){return t(e={exports:{}},e.exports),e.exports}function gt(t,e){if(!(this instanceof gt))return new gt(t,e);if(this.data=t||[],this.length=this.data.length,this.compare=e||function(t,e){return t<e?-1:t>e?1:0},this.length>0)for(var n=(this.length>>1)-1;n>=0;n--)this._down(n)}function _t(t,e,n){e=Math.max(0,void 0===e?2:e),n=n||0;for(var l,i=function(t){for(var e=t[0],n=t[0],l=t[0],i=t[0],r=0;r<t.length;r++){var o=t[r];o[0]<e[0]&&(e=o),o[0]>l[0]&&(l=o),o[1]<n[1]&&(n=o),o[1]>i[1]&&(i=o)}var a=[e,n,l,i],s=a.slice();for(r=0;r<t.length;r++)zr(t[r],a)||s.push(t[r]);var u=Nr(s),c=[];for(r=0;r<u.length;r++)c.push(s[u[r]]);return c}(t),r=Dr(16,["[0]","[1]","[0]","[1]"]).load(t),o=[],a=0;a<i.length;a++){var s=i[a];r.remove(s),l=wt(s,l),o.push(l)}var u=Dr(16);for(a=0;a<o.length;a++)u.insert(Ct(o[a]));for(var c=e*e,d=n*n;o.length;){var h=o.shift(),p=h.p,f=h.next.p,b=Pt(p,f);if(!(b<d)){var m=b/c;(s=function(t,e,n,l,i,r,o){for(var a=new Ur(null,yt),s=t.data;s;){for(var u=0;u<s.children.length;u++){var c=s.children[u],d=s.leaf?xt(c,n,l):function(t,e,n){if(At(t,n)||At(e,n))return 0;var l=St(t[0],t[1],e[0],e[1],n.minX,n.minY,n.maxX,n.minY);if(0===l)return 0;var i=St(t[0],t[1],e[0],e[1],n.minX,n.minY,n.minX,n.maxY);if(0===i)return 0;var r=St(t[0],t[1],e[0],e[1],n.maxX,n.minY,n.maxX,n.maxY);if(0===r)return 0;var o=St(t[0],t[1],e[0],e[1],n.minX,n.maxY,n.maxX,n.maxY);return 0===o?0:Math.min(l,i,r,o)}(n,l,c);d>r||a.push({node:c,dist:d})}for(;a.length&&!a.peek().node.children;){var h=a.pop(),p=h.node,f=xt(p,e,n),b=xt(p,l,i);if(h.dist<f&&h.dist<b&&vt(n,p,o)&&vt(l,p,o))return p}(s=a.pop())&&(s=s.node)}return null}(r,h.prev.p,p,f,h.next.next.p,m,u))&&Math.min(Pt(s,p),Pt(s,f))<=m&&(o.push(h),o.push(wt(s,h)),r.remove(s),u.remove(h),u.insert(Ct(h)),u.insert(Ct(h.next)))}}h=l;var g=[];do{g.push(h.p),h=h.next}while(h!==l);return g.push(h.p),g}function yt(t,e){return t.dist-e.dist}function At(t,e){return t[0]>=e.minX&&t[0]<=e.maxX&&t[1]>=e.minY&&t[1]<=e.maxY}function vt(t,e,n){for(var l=Math.min(t[0],e[0]),i=Math.min(t[1],e[1]),r=Math.max(t[0],e[0]),o=Math.max(t[1],e[1]),a=n.search({minX:l,minY:i,maxX:r,maxY:o}),s=0;s<a.length;s++)if(function(t,e,n,l){return t!==l&&e!==n&&Gr(t,e,n)>0!=Gr(t,e,l)>0&&Gr(n,l,t)>0!=Gr(n,l,e)>0}(a[s].p,a[s].next.p,t,e))return!1;return!0}function Ct(t){var e=t.p,n=t.next.p;return t.minX=Math.min(e[0],n[0]),t.minY=Math.min(e[1],n[1]),t.maxX=Math.max(e[0],n[0]),t.maxY=Math.max(e[1],n[1]),t}function wt(t,e){var n={p:t,prev:null,next:null,minX:0,minY:0,maxX:0,maxY:0};return e?(n.next=e.next,n.prev=e,e.next.prev=n,e.next=n):(n.prev=n,n.next=n),n}function Pt(t,e){var n=t[0]-e[0],l=t[1]-e[1];return n*n+l*l}function xt(t,e,n){var l=e[0],i=e[1],r=n[0]-l,o=n[1]-i;if(0!==r||0!==o){var a=((t[0]-l)*r+(t[1]-i)*o)/(r*r+o*o);a>1?(l=n[0],i=n[1]):a>0&&(l+=r*a,i+=o*a)}return(r=t[0]-l)*r+(o=t[1]-i)*o}function St(t,e,n,l,i,r,o,a){var s,u,c,d,h=n-t,p=l-e,f=o-i,b=a-r,m=t-i,g=e-r,_=h*h+p*p,y=h*f+p*b,A=f*f+b*b,v=h*m+p*g,C=f*m+b*g,w=_*A-y*y,P=w,x=w;0===w?(u=0,P=1,d=C,x=A):(d=_*C-y*v,(u=y*C-A*v)<0?(u=0,d=C,x=A):u>P&&(u=P,d=C+y,x=A)),d<0?(d=0,-v<0?u=0:-v>_?u=P:(u=-v,P=_)):d>x&&(d=x,-v+y<0?u=0:-v+y>_?u=P:(u=-v+y,P=_));var S=(1-(c=0===d?0:d/x))*i+c*o-((1-(s=0===u?0:u/P))*t+s*n),k=(1-c)*r+c*a-((1-s)*e+s*l);return S*S+k*k}function kt(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.concavity||1/0,l=[];if(k(t,(function(t){l.push([t[0],t[1]])})),!l.length)return null;var i=Hr(l,n);return i.length>3?r([i]):null}function Mt(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.ignoreBoundary;if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");var i=G(t),r=H(e),o=e.geometry?e.geometry.type:e.type,a=e.bbox;if(a&&!1===function(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}(i,a))return!1;"Polygon"===o&&(r=[r]);for(var s=0,u=!1;s<r.length&&!u;s++)if(Ot(i,r[s][0],l)){for(var c=!1,d=1;d<r[s].length&&!c;)Ot(i,r[s][d],!l)&&(c=!0),d++;c||(u=!0)}return u}function Ot(t,e,n){var l=!1;e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]&&(e=e.slice(0,e.length-1));for(var i=0,r=e.length-1;i<e.length;r=i++){var o=e[i][0],a=e[i][1],s=e[r][0],u=e[r][1];if(t[1]*(o-s)+a*(s-t[0])+u*(t[0]-o)==0&&(o-t[0])*(s-t[0])<=0&&(a-t[1])*(u-t[1])<=0)return!n;a>t[1]!=u>t[1]&&t[0]<(s-o)*(t[1]-a)/(u-a)+o&&(l=!l)}return l}function Dt(t,e){var n=[];return L(e,(function(e){T(t,(function(t){Mt(t,e)&&n.push(t)}))})),u(n)}function Tt(t,e){if("FeatureCollection"!==t.type)throw new Error("points must be a FeatureCollection");var n=!1;return u(function(t){if(t.length<3)return[];t.sort(It);for(var e,n,l,i=t.length-1,r=t[i].x,o=t[0].x,a=t[i].y,s=a;i--;)t[i].y<a&&(a=t[i].y),t[i].y>s&&(s=t[i].y);var u,c=o-r,d=s-a,h=c>d?c:d,p=.5*(o+r),f=.5*(s+a),b=[new Et({x:p-20*h,y:f-h,__sentinel:!0},{x:p,y:f+20*h,__sentinel:!0},{x:p+20*h,y:f-h,__sentinel:!0})],m=[],g=[];for(i=t.length;i--;){for(g.length=0,u=b.length;u--;)(c=t[i].x-b[u].x)>0&&c*c>b[u].r?(m.push(b[u]),b.splice(u,1)):c*c+(d=t[i].y-b[u].y)*d>b[u].r||(g.push(b[u].a,b[u].b,b[u].b,b[u].c,b[u].c,b[u].a),b.splice(u,1));for(Lt(g),u=g.length;u;)n=g[--u],e=g[--u],l=t[i],Math.abs(2*((n.x-e.x)*(l.y-n.y)-(n.y-e.y)*(l.x-n.x)))>1e-12&&b.push(new Et(e,n,l))}for(Array.prototype.push.apply(m,b),i=m.length;i--;)(m[i].a.__sentinel||m[i].b.__sentinel||m[i].c.__sentinel)&&m.splice(i,1);return m}(t.features.map((function(t){var l={x:t.geometry.coordinates[0],y:t.geometry.coordinates[1]};return e?l.z=t.properties[e]:3===t.geometry.coordinates.length&&(n=!0,l.z=t.geometry.coordinates[2]),l}))).map((function(t){var e=[t.a.x,t.a.y],l=[t.b.x,t.b.y],i=[t.c.x,t.c.y],o={};return n?(e.push(t.a.z),l.push(t.b.z),i.push(t.c.z)):o={a:t.a.z,b:t.b.z,c:t.c.z},r([[e,l,i,e]],o)})))}function Et(t,e,n){this.a=t,this.b=e,this.c=n;var l,i,r=e.x-t.x,o=e.y-t.y,a=n.x-t.x,s=n.y-t.y,u=r*(t.x+e.x)+o*(t.y+e.y),c=a*(t.x+n.x)+s*(t.y+n.y),d=2*(r*(n.y-e.y)-o*(n.x-e.x));this.x=(s*u-o*c)/d,this.y=(r*c-a*u)/d,this.r=(l=this.x-t.x)*l+(i=this.y-t.y)*i}function It(t,e){return e.x-t.x}function Lt(t){var e,n,l,i,r,o=t.length;t:for(;o;)for(n=t[--o],e=t[--o],l=o;l;)if(r=t[--l],i=t[--l],e===i&&n===r||e===r&&n===i){t.splice(o,2),t.splice(l,2),o-=2;continue t}}function jt(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=G(t),r=G(e),o=A(r[1]-i[1]),a=A(r[0]-i[0]),s=A(i[1]),u=A(r[1]),c=Math.pow(Math.sin(o/2),2)+Math.pow(Math.sin(a/2),2)*Math.cos(s)*Math.cos(u);return b(2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c)),l)}function Rt(t){if(!t)throw new Error("geojson is required");switch(t.type){case"Feature":return Ft(t);case"FeatureCollection":return function(t){var e={type:"FeatureCollection"};return Object.keys(t).forEach((function(n){switch(n){case"type":case"features":return;default:e[n]=t[n]}})),e.features=t.features.map((function(t){return Ft(t)})),e}(t);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return Nt(t);default:throw new Error("unknown GeoJSON type")}}function Ft(t){var e={type:"Feature"};return Object.keys(t).forEach((function(n){switch(n){case"type":case"properties":case"geometry":return;default:e[n]=t[n]}})),e.properties=function t(e){var n={};return e?(Object.keys(e).forEach((function(l){var i=e[l];n[l]="object"==typeof i?null===i?null:i.length?i.map((function(t){return t})):t(i):i})),n):n}(t.properties),e.geometry=Nt(t.geometry),e}function Nt(t){var e={type:t.type};return t.bbox&&(e.bbox=t.bbox),"GeometryCollection"===t.type?(e.geometries=t.geometries.map((function(t){return Nt(t)})),e):(e.coordinates=function t(e){return"object"!=typeof e[0]?e.slice():e.map((function(e){return t(e)}))}(t.coordinates),e)}function Yt(t,e){function n(t,e){e.length&&e.pop();for(var n=s[t<0?~t:t],l=0,i=n.length;l<i;++l)e.push(a(n[l],l));t<0&&Wr(e,i)}function l(t){return a(t)}function i(t){for(var e=[],l=0,i=t.length;l<i;++l)n(t[l],e);return e.length<2&&e.push(e[0]),e}function r(t){for(var e=i(t);e.length<4;)e.push(e[0]);return e}function o(t){return t.map(r)}var a=qr(t.transform),s=t.arcs;return function t(e){var n,r=e.type;switch(r){case"GeometryCollection":return{type:r,geometries:e.geometries.map(t)};case"Point":n=l(e.coordinates);break;case"MultiPoint":n=e.coordinates.map(l);break;case"LineString":n=i(e.arcs);break;case"MultiLineString":n=e.arcs.map(i);break;case"Polygon":n=o(e.arcs);break;case"MultiPolygon":n=e.arcs.map(o);break;default:return null}return{type:r,coordinates:n}}(e)}function Ut(t,e){function n(t){t.forEach((function(e){e.forEach((function(e){(i[e=e<0?~e:e]||(i[e]=[])).push(t)}))})),r.push(t)}function l(e){return function(t){for(var e,n=-1,l=t.length,i=t[l-1],r=0;++n<l;)r+=(e=i)[0]*(i=t[n])[1]-e[1]*i[0];return Math.abs(r)}(Yt(t,{type:"Polygon",arcs:[e]}).coordinates[0])}var i={},r=[],o=[];return e.forEach((function t(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"Polygon":n(e.arcs);break;case"MultiPolygon":e.arcs.forEach(n)}})),r.forEach((function(t){if(!t._){var e=[],n=[t];for(t._=1,o.push(e);t=n.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].forEach((function(t){t._||(t._=1,n.push(t))}))}))}))}})),r.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:o.map((function(e){var n,r=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].length<2&&r.push(t)}))}))})),(n=(r=$r(t,r)).length)>1)for(var o,a,s=1,u=l(r[0]);s<n;++s)(o=l(r[s]))>u&&(a=r[0],r[0]=r[s],r[s]=a,u=o);return r}))}}function Bt(t,e,n){for(var l,i=e+(n---e>>1);e<i;++e,--n)l=t[e],t[e]=t[n],t[n]=l}function zt(t){return null==t?{type:null}:("FeatureCollection"===t.type?function(t){var e={type:"GeometryCollection",geometries:t.features.map(Gt)};return null!=t.bbox&&(e.bbox=t.bbox),e}:"Feature"===t.type?Gt:Ht)(t)}function Gt(t){var e,n=Ht(t.geometry);for(e in null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),t.properties){n.properties=t.properties;break}return n}function Ht(t){if(null==t)return{type:null};var e="GeometryCollection"===t.type?{type:"GeometryCollection",geometries:t.geometries.map(Ht)}:"Point"===t.type||"MultiPoint"===t.type?{type:t.type,coordinates:t.coordinates}:{type:t.type,arcs:t.coordinates};return null!=t.bbox&&(e.bbox=t.bbox),e}function Vt(t){var e,n=t[0],l=t[1];return l<n&&(e=n,n=l,l=e),n+31*l}function qt(t,e){var n,l=t[0],i=t[1],r=e[0],o=e[1];return i<l&&(n=l,l=i,i=n),o<r&&(n=r,r=o,o=n),l===r&&i===o}function Wt(t){return t[0].toString()+","+t[1].toString()}function $t(t,n){var l="object"==typeof n?n.mutate:n;if(!t)throw new Error("geojson is required");var i=J(t),r=[];switch(i){case"LineString":r=Xt(t);break;case"MultiLineString":case"Polygon":H(t).forEach((function(t){r.push(Xt(t))}));break;case"MultiPolygon":H(t).forEach((function(t){var e=[];t.forEach((function(t){e.push(Xt(t))})),r.push(e)}));break;case"Point":return t;case"MultiPoint":var o={};H(t).forEach((function(t){var e=t.join("-");o.hasOwnProperty(e)||(r.push(t),o[e]=!0)}));break;default:throw new Error(i+" geometry not supported")}return t.coordinates?!0===l?(t.coordinates=r,t):{type:i,coordinates:r}:!0===l?(t.geometry.coordinates=r,t):e({type:i,coordinates:r},t.properties,t.bbox)}function Xt(t){var e=H(t);if(2===e.length&&!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(e[0],e[1]))return e;var n,l,i=[],r=e.length-1;i.push(e[0]);for(var o=1;o<r;o++)(function(t,e,n){var l=n[0],i=n[1],r=t[0],o=t[1],a=e[0],s=e[1],u=a-r,c=s-o;return(l-r)*c-(i-o)*u==0&&(Math.abs(u)>=Math.abs(c)?u>0?r<=l&&l<=a:a<=l&&l<=r:c>0?o<=i&&i<=s:s<=i&&i<=o)})(e[o-1],l=e[o+1],n=e[o])||i.push(n);return i.push(l),i}function Kt(t,e){var n=t.x-e.x,l=t.y-e.y;return n*n+l*l}function Jt(t,e,n){var l=e.x,i=e.y,r=n.x-l,o=n.y-i;if(0!==r||0!==o){var a=((t.x-l)*r+(t.y-i)*o)/(r*r+o*o);a>1?(l=n.x,i=n.y):a>0&&(l+=r*a,i+=o*a)}return(r=t.x-l)*r+(o=t.y-i)*o}function Qt(t,e,n){if(t.length<=2)return t;var l=void 0!==e?e*e:1;return function(t,e){var n=t.length-1,l=[t[0]];return function t(e,n,l,i,r){for(var o,a=i,s=n+1;s<l;s++){var u=Jt(e[s],e[n],e[l]);u>a&&(o=s,a=u)}a>i&&(o-n>1&&t(e,n,o,i,r),r.push(e[o]),l-o>1&&t(e,o,l,i,r))}(t,0,n,e,l),l.push(t[n]),l}(t=n?t:function(t,e){for(var n,l=t[0],i=[l],r=1,o=t.length;r<o;r++)Kt(n=t[r],l)>e&&(i.push(n),l=n);return l!==n&&i.push(n),i}(t,l),l)}function Zt(t,e,n){return Qt(t.map((function(t){return{x:t[0],y:t[1],z:t[2]}})),e,n).map((function(t){return t.z?[t.x,t.y,t.z]:[t.x,t.y]}))}function te(t,e,n){return t.map((function(t){var l=t.map((function(t){return{x:t[0],y:t[1]}}));if(l.length<4)throw new Error("invalid polygon");for(var i=Qt(l,e,n).map((function(t){return[t.x,t.y]}));!function(t){return!(t.length<3||3===t.length&&t[2][0]===t[0][0]&&t[2][1]===t[0][1])}(i);)i=Qt(l,e-=.01*e,n).map((function(t){return[t.x,t.y]}));return i[i.length-1][0]===i[0][0]&&i[i.length-1][1]===i[0][1]||i.push(i[0]),i}))}function ee(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.resolution||1e4,l=e.sharpness||.85;if(!t)throw new Error("line is required");if(!w(n))throw new Error("resolution must be an number");if(!w(l))throw new Error("sharpness must be an number");for(var i=[],r=new eo({points:X(t).coordinates.map((function(t){return{x:t[0],y:t[1]}})),duration:n,sharpness:l}),o=0;o<r.duration;o+=10){var s=r.pos(o);Math.floor(o/100)%2==0&&i.push([s.x,s.y])}return a(i,t.properties)}function ne(t){x(t);var e=Number(t[0]),n=Number(t[1]),l=Number(t[2]),i=Number(t[3]);if(6===t.length)throw new Error("@turf/bbox-polygon does not support BBox with 6 positions");var o=[e,n];return r([[o,[l,n],[l,i],[e,i],o]])}function le(t){return ne(z(t))}function ie(t){var e=t[0],n=t[1],l=t[2],i=t[3];if(jt(t.slice(0,2),[l,n])>=jt(t.slice(0,2),[e,i])){var r=(n+i)/2;return[e,r-(l-e)/2,l,r+(l-e)/2]}var o=(e+l)/2;return[o-(i-n)/2,n,o+(i-n)/2,i]}function re(t,e,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.units,o=i.properties,a=G(t),s=A(a[0]),u=A(a[1]),c=A(n),d=m(e,r),h=Math.asin(Math.sin(u)*Math.cos(d)+Math.cos(u)*Math.sin(d)*Math.cos(c));return l([y(s+Math.atan2(Math.sin(c)*Math.sin(d)*Math.cos(u),Math.cos(d)-Math.sin(u)*Math.sin(h))),y(h)],o)}function oe(t,e,n){var l=(n=n||{}).steps||64,i=n.properties;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if("object"!=typeof n)throw new Error("options must be an object");if("number"!=typeof l)throw new Error("steps must be a number");l=l||64,i=i||t.properties||{};for(var o=[],a=0;a<l;a++)o.push(re(t,e,-360*a/l,n).geometry.coordinates);return o.push(o[0]),r([o],i)}function ae(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");if(!0===n.final)return function(t,e){return(ae(e,t)+180)%360}(t,e);var l=G(t),i=G(e),r=A(l[0]),o=A(i[0]),a=A(l[1]),s=A(i[1]),u=Math.sin(o-r)*Math.cos(s),c=Math.cos(a)*Math.sin(s)-Math.sin(a)*Math.cos(s)*Math.cos(o-r);return y(Math.atan2(u,c))}function se(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties;if(!t)throw new Error("geojson is required");var i=z(t);return l([(i[0]+i[2])/2,(i[1]+i[3])/2],n)}function ue(t,e){var n=0,i=0,r=0;return k(t,(function(t){n+=t[0],i+=t[1],r++}),!0),l([n/r,i/r],e)}function ce(t){var e=[];return"FeatureCollection"===t.type?T(t,(function(t){k(t,(function(n){e.push(l(n,t.properties))}))})):k(t,(function(n){e.push(l(n,t.properties))})),u(e)}function de(t,e,n){n=n||2;var l,i,r,o,a,s,u,c=e&&e.length,d=c?e[0]*n:t.length,h=he(t,0,d,n,!0),p=[];if(!h)return p;if(c&&(h=function(t,e,n,l){var i,r,o,a=[];for(i=0,r=e.length;i<r;i++)(o=he(t,e[i]*l,i<r-1?e[i+1]*l:t.length,l,!1))===o.next&&(o.steiner=!0),a.push(function(t){var e=t,n=t;do{e.x<n.x&&(n=e),e=e.next}while(e!==t);return n}(o));for(a.sort(fe),i=0;i<a.length;i++)!function(t,e){if(e=function(t,e){var n,l=e,i=t.x,r=t.y,o=-1/0;do{if(r<=l.y&&r>=l.next.y&&l.next.y!==l.y){var a=l.x+(r-l.y)*(l.next.x-l.x)/(l.next.y-l.y);if(a<=i&&a>o){if(o=a,a===i){if(r===l.y)return l;if(r===l.next.y)return l.next}n=l.x<l.next.x?l:l.next}}l=l.next}while(l!==e);if(!n)return null;if(i===o)return n.prev;var s,u=n,c=n.x,d=n.y,h=1/0;for(l=n.next;l!==u;)i>=l.x&&l.x>=c&&i!==l.x&&me(r<d?i:o,r,c,d,r<d?o:i,r,l.x,l.y)&&((s=Math.abs(r-l.y)/(i-l.x))<h||s===h&&l.x>n.x)&&Ae(l,t)&&(n=l,h=s),l=l.next;return n}(t,e)){var n=ve(e,t);pe(n,n.next)}}(a[i],n),n=pe(n,n.next);return n}(t,e,h,n)),t.length>80*n){l=r=t[0],i=o=t[1];for(var f=n;f<d;f+=n)(a=t[f])<l&&(l=a),(s=t[f+1])<i&&(i=s),a>r&&(r=a),s>o&&(o=s);u=0!==(u=Math.max(r-l,o-i))?1/u:0}return function t(e,n,l,i,r,o,a){if(e){!a&&o&&function(t,e,n,l){var i=t;do{null===i.z&&(i.z=be(i.x,i.y,e,n,l)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,l,i,r,o,a,s,u=1;do{for(n=t,t=null,r=null,o=0;n;){for(o++,l=n,a=0,e=0;e<u&&(a++,l=l.nextZ);e++);for(s=u;a>0||s>0&&l;)0!==a&&(0===s||!l||n.z<=l.z)?(i=n,n=n.nextZ,a--):(i=l,l=l.nextZ,s--),r?r.nextZ=i:t=i,i.prevZ=r,r=i;n=l}r.nextZ=null,u*=2}while(o>1)}(i)}(e,i,r,o);for(var s,u,c=e;e.prev!==e.next;)if(s=e.prev,u=e.next,o?function(t,e,n,l){var i=t.prev,r=t,o=t.next;if(ge(i,r,o)>=0)return!1;for(var a=i.x>r.x?i.x>o.x?i.x:o.x:r.x>o.x?r.x:o.x,s=i.y>r.y?i.y>o.y?i.y:o.y:r.y>o.y?r.y:o.y,u=be(i.x<r.x?i.x<o.x?i.x:o.x:r.x<o.x?r.x:o.x,i.y<r.y?i.y<o.y?i.y:o.y:r.y<o.y?r.y:o.y,e,n,l),c=be(a,s,e,n,l),d=t.nextZ;d&&d.z<=c;){if(d!==t.prev&&d!==t.next&&me(i.x,i.y,r.x,r.y,o.x,o.y,d.x,d.y)&&ge(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(d=t.prevZ;d&&d.z>=u;){if(d!==t.prev&&d!==t.next&&me(i.x,i.y,r.x,r.y,o.x,o.y,d.x,d.y)&&ge(d.prev,d,d.next)>=0)return!1;d=d.prevZ}return!0}(e,i,r,o):function(t){var e=t.prev,n=t,l=t.next;if(ge(e,n,l)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(me(e.x,e.y,n.x,n.y,l.x,l.y,i.x,i.y)&&ge(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}(e))n.push(s.i/l),n.push(e.i/l),n.push(u.i/l),we(e),e=u.next,c=u.next;else if((e=u)===c){a?1===a?t(e=function(t,e,n){var l=t;do{var i=l.prev,r=l.next.next;!_e(i,r)&&ye(i,l,l.next,r)&&Ae(i,r)&&Ae(r,i)&&(e.push(i.i/n),e.push(l.i/n),e.push(r.i/n),we(l),we(l.next),l=t=r),l=l.next}while(l!==t);return l}(e,n,l),n,l,i,r,o,2):2===a&&function(e,n,l,i,r,o){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&function(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&ye(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&Ae(t,e)&&Ae(e,t)&&function(t,e){var n=t,l=!1,i=(t.x+e.x)/2,r=(t.y+e.y)/2;do{n.y>r!=n.next.y>r&&n.next.y!==n.y&&i<(n.next.x-n.x)*(r-n.y)/(n.next.y-n.y)+n.x&&(l=!l),n=n.next}while(n!==t);return l}(t,e)}(a,s)){var u=ve(a,s);return a=pe(a,a.next),u=pe(u,u.next),t(a,n,l,i,r,o),void t(u,n,l,i,r,o)}s=s.next}a=a.next}while(a!==e)}(e,n,l,i,r,o):t(pe(e),n,l,i,r,o,1);break}}}(h,p,n,l,i,u),p}function he(t,e,n,l,i){var r,o;if(i===xe(t,e,n,l)>0)for(r=e;r<n;r+=l)o=Ce(r,t[r],t[r+1],o);else for(r=n-l;r>=e;r-=l)o=Ce(r,t[r],t[r+1],o);return o&&_e(o,o.next)&&(we(o),o=o.next),o}function pe(t,e){if(!t)return t;e||(e=t);var n,l=t;do{if(n=!1,l.steiner||!_e(l,l.next)&&0!==ge(l.prev,l,l.next))l=l.next;else{if(we(l),(l=e=l.prev)===l.next)break;n=!0}}while(n||l!==e);return e}function fe(t,e){return t.x-e.x}function be(t,e,n,l,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-l)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function me(t,e,n,l,i,r,o,a){return(i-o)*(e-a)-(t-o)*(r-a)>=0&&(t-o)*(l-a)-(n-o)*(e-a)>=0&&(n-o)*(r-a)-(i-o)*(l-a)>=0}function ge(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function _e(t,e){return t.x===e.x&&t.y===e.y}function ye(t,e,n,l){return!!(_e(t,e)&&_e(n,l)||_e(t,l)&&_e(n,e))||ge(t,e,n)>0!=ge(t,e,l)>0&&ge(n,l,t)>0!=ge(n,l,e)>0}function Ae(t,e){return ge(t.prev,t,t.next)<0?ge(t,e,t.next)>=0&&ge(t,t.prev,e)>=0:ge(t,e,t.prev)<0||ge(t,t.next,e)<0}function ve(t,e){var n=new Pe(t.i,t.x,t.y),l=new Pe(e.i,e.x,e.y),i=t.next,r=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,l.next=n,n.prev=l,r.next=l,l.prev=r,l}function Ce(t,e,n,l){var i=new Pe(t,e,n);return l?(i.next=l.next,i.prev=l,l.next.prev=i,l.next=i):(i.prev=i,i.next=i),i}function we(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Pe(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function xe(t,e,n,l){for(var i=0,r=e,o=n-l;r<n;r+=l)i+=(t[o]-t[r])*(t[r+1]+t[o+1]),o=r;return i}function Se(t){var e=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},l=0,i=0;i<t.length;i++){for(var r=0;r<t[i].length;r++)for(var o=0;o<e;o++)n.vertices.push(t[i][r][o]);i>0&&n.holes.push(l+=t[i-1].length)}return n}(t),n=no(e.vertices,e.holes,2),l=[],i=[];n.forEach((function(t,l){var r=n[l];i.push([e.vertices[2*r],e.vertices[2*r+1]])}));for(var o=0;o<i.length;o+=3){var a=i.slice(o,o+3);a.push(i[o]),l.push(r([a]))}return l}function ke(t,e){if(!t)throw new Error("targetPoint is required");if(!e)throw new Error("points is required");var n,l=1/0;return T(e,(function(e,i){var r=jt(t,e);r<l&&((n=Rt(e)).properties.featureIndex=i,n.properties.distanceToPoint=r,l=r)})),n}function Me(t,e,n,l,i){!function t(e,n,l,i,r){for(;i>l;){if(i-l>600){var o=i-l+1,a=n-l+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);t(e,n,Math.max(l,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),r)}var d=e[n],h=l,p=i;for(Oe(e,l,n),r(e[i],d)>0&&Oe(e,l,i);h<p;){for(Oe(e,h,p),h++,p--;r(e[h],d)<0;)h++;for(;r(e[p],d)>0;)p--}0===r(e[l],d)?Oe(e,l,p):Oe(e,++p,i),p<=n&&(l=p+1),n<=p&&(i=p-1)}}(t,e,n||0,l||t.length-1,i||function(t,e){return t<e?-1:t>e?1:0})}function Oe(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function De(t,e){if(!(this instanceof De))return new De(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function Te(t,e){Ee(t,0,t.children.length,e,t)}function Ee(t,e,n,l,i){i||(i=Ue(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r,o=e;o<n;o++)r=t.children[o],Ie(i,t.leaf?l(r):r);return i}function Ie(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function Le(t,e){return t.minX-e.minX}function je(t,e){return t.minY-e.minY}function Re(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function Fe(t){return t.maxX-t.minX+(t.maxY-t.minY)}function Ne(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function Ye(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function Ue(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Be(t,e,n,l,i){for(var r,o=[e,n];o.length;)(n=o.pop())-(e=o.pop())<=l||(Me(t,r=e+Math.ceil((n-e)/l/2)*l,e,n,i),o.push(e,r,r,n))}function ze(t){var e=De(t);return e.insert=function(t){if(Array.isArray(t)){var e=t;(t=Ge(e)).bbox=e}else t.bbox=t.bbox?t.bbox:He(t);return De.prototype.insert.call(this,t)},e.load=function(t){var e=[];return Array.isArray(t)?t.forEach((function(t){var n=Ge(t);n.bbox=t,e.push(n)})):T(t,(function(t){t.bbox=t.bbox?t.bbox:He(t),e.push(t)})),De.prototype.load.call(this,e)},e.remove=function(t){if(Array.isArray(t)){var e=t;(t=Ge(e)).bbox=e}return De.prototype.remove.call(this,t)},e.clear=function(){return De.prototype.clear.call(this)},e.search=function(t){return{type:"FeatureCollection",features:De.prototype.search.call(this,this.toBBox(t))}},e.collides=function(t){return De.prototype.collides.call(this,this.toBBox(t))},e.all=function(){return{type:"FeatureCollection",features:De.prototype.all.call(this)}},e.toJSON=function(){return De.prototype.toJSON.call(this)},e.fromJSON=function(t){return De.prototype.fromJSON.call(this,t)},e.toBBox=function(t){var e;return{minX:(e=t.bbox?t.bbox:Array.isArray(t)&&4===t.length?t:He(t))[0],minY:e[1],maxX:e[2],maxY:e[3]}},e}function Ge(t){var e=[t[0],t[1]];return{type:"Feature",bbox:t,properties:{},geometry:{type:"Polygon",coordinates:[[e,[t[2],t[1]],[t[2],t[3]],[t[0],t[3]],e]]}}}function He(t){var e=[1/0,1/0,-1/0,-1/0];return k(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function Ve(t){if(!t)throw new Error("geojson is required");var e=[];return R(t,(function(t){!function(t,e){var n=[],l=t.geometry;switch(l.type){case"Polygon":n=H(l);break;case"LineString":n=[H(l)]}n.forEach((function(n){(function(t,e){var n=[];return t.reduce((function(t,l){var i=a([t,l],e);return i.bbox=function(t,e){var n=t[0],l=t[1],i=e[0],r=e[1];return[n<i?n:i,l<r?l:r,n>i?n:i,l>r?l:r]}(t,l),n.push(i),l})),n})(n,t.properties).forEach((function(t){t.id=e.length,e.push(t)}))}))}(t,e)})),u(e)}function qe(t,n){var l={},i=[];if("LineString"===t.type&&(t=e(t)),"LineString"===n.type&&(n=e(n)),"Feature"===t.type&&"Feature"===n.type&&"LineString"===t.geometry.type&&"LineString"===n.geometry.type&&2===t.geometry.coordinates.length&&2===n.geometry.coordinates.length){var r=We(t,n);return r&&i.push(r),u(i)}var o=ze();return o.load(Ve(n)),T(Ve(t),(function(t){T(o.search(t),(function(e){var n=We(t,e);if(n){var r=H(n).join(",");l[r]||(l[r]=!0,i.push(n))}}))})),u(i)}function We(t,e){var n=H(t),i=H(e);if(2!==n.length)throw new Error("<intersects> line1 must only contain 2 coordinates");if(2!==i.length)throw new Error("<intersects> line2 must only contain 2 coordinates");var r=n[0][0],o=n[0][1],a=n[1][0],s=n[1][1],u=i[0][0],c=i[0][1],d=i[1][0],h=i[1][1],p=(h-c)*(a-r)-(d-u)*(s-o);if(0===p)return null;var f=((d-u)*(o-c)-(h-c)*(r-u))/p,b=((a-r)*(o-c)-(s-o)*(r-u))/p;return f>=0&&f<=1&&b>=0&&b<=1?l([r+f*(a-r),o+f*(s-o)]):null}function $e(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i=t.geometry?t.geometry.type:t.type;if("LineString"!==i&&"MultiLineString"!==i)throw new Error("lines must be LineString or MultiLineString");var r=l([1/0,1/0],{dist:1/0}),o=0;return R(t,(function(t){for(var i=H(t),s=0;s<i.length-1;s++){var u=l(i[s]);u.properties.dist=jt(e,u,n);var c=l(i[s+1]);c.properties.dist=jt(e,c,n);var d=jt(u,c,n),h=Math.max(u.properties.dist,c.properties.dist),p=ae(u,c),f=re(e,h,p+90,n),b=re(e,h,p-90,n),m=qe(a([f.geometry.coordinates,b.geometry.coordinates]),a([u.geometry.coordinates,c.geometry.coordinates])),g=null;m.features.length>0&&((g=m.features[0]).properties.dist=jt(e,g,n),g.properties.location=o+jt(u,g,n)),u.properties.dist<r.properties.dist&&((r=u).properties.index=s,r.properties.location=o),c.properties.dist<r.properties.dist&&((r=c).properties.index=s+1,r.properties.location=o+d),g&&g.properties.dist<r.properties.dist&&((r=g).properties.index=s),o+=d}})),r}function Xe(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l,i=n.final;if(!t)throw new Error("start point is required");if(!e)throw new Error("end point is required");return(l=i?Ke(G(e),G(t)):Ke(G(t),G(e)))>180?-(360-l):l}function Ke(t,e){var n=A(t[1]),l=A(e[1]),i=A(e[0]-t[0]);i>Math.PI&&(i-=2*Math.PI),i<-Math.PI&&(i+=2*Math.PI);var r=Math.log(Math.tan(l/2+Math.PI/4)/Math.tan(n/2+Math.PI/4));return(y(Math.atan2(i,r))+360)%360}function Je(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units;if(!t)throw new Error("from point is required");if(!e)throw new Error("to point is required");var i=G(t),r=G(e);return r[0]+=r[0]-i[0]>180?-360:i[0]-r[0]>180?360:0,v(function(t,e,n){var l=n=void 0===n?Ar:Number(n),i=t[1]*Math.PI/180,r=e[1]*Math.PI/180,o=r-i,a=Math.abs(e[0]-t[0])*Math.PI/180;a>Math.PI&&(a-=2*Math.PI);var s=Math.log(Math.tan(r/2+Math.PI/4)/Math.tan(i/2+Math.PI/4)),u=Math.abs(s)>1e-11?o/s:Math.cos(i);return Math.sqrt(o*o+u*u*a*a)*l}(i,r),"meters",l)}function Qe(t,e){return tn(t,"mercator",e)}function Ze(t,e){return tn(t,"wgs84",e)}function tn(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.mutate;if(!t)throw new Error("geojson is required");return Array.isArray(t)&&w(t[0])?t="mercator"===e?en(t):nn(t):(!0!==l&&(t=Rt(t)),k(t,(function(t){var n="mercator"===e?en(t):nn(t);t[0]=n[0],t[1]=n[1]}))),t}function en(t){var e=Math.PI/180,n=20037508.342789244,l=[6378137*(Math.abs(t[0])<=180?t[0]:t[0]-360*function(t){return t<0?-1:t>0?1:0}(t[0]))*e,6378137*Math.log(Math.tan(.25*Math.PI+.5*t[1]*e))];return l[0]>n&&(l[0]=n),l[0]<-n&&(l[0]=-n),l[1]>n&&(l[1]=n),l[1]<-n&&(l[1]=-n),l}function nn(t){var e=180/Math.PI;return[t[0]*e/6378137,(.5*Math.PI-2*Math.atan(Math.exp(-t[1]/6378137)))*e]}function ln(t,n,i){if(!P(i=i||{}))throw new Error("options is invalid");if(!t)throw new Error("pt is required");if(Array.isArray(t)?t=l(t):"Point"===t.type?t=e(t):W(t,"Point","point"),!n)throw new Error("line is required");Array.isArray(n)?n=a(n):"LineString"===n.type?n=e(n):W(n,"LineString","line");var r=1/0,o=t.geometry.coordinates;return N(n,(function(t){var e=function(t,e,n,i){var r=i.mercator,o=!0!==r?jt(e,t,i):rn(e,t,i),a=_(!0!==r?ae(e,t):Xe(e,t)),s=_(!0!==r?ae(e,n):Xe(e,n)),u=Math.abs(a-s);if(u>90)return o;var c=(s+180)%360,d=_(!0!==r?ae(n,t):Xe(n,t)),h=Math.abs(d-c);return h>180&&(h=Math.abs(h-360)),h>90?!0!==r?jt(t,n,i):rn(t,n,i):!0!==r?o*Math.sin(A(u)):function(t,e,n,i){var r=0;(Math.abs(t[0])>=180||Math.abs(e[0])>=180||Math.abs(n[0])>=180)&&(r=t[0]>0||e[0]>0||n[0]>0?-180:180);var o=l(n),a=Ze(function(t,e,n){var l=t[0],i=t[1],r=e[0]-l,o=e[1]-i,a=((n[0]-l)*r+(n[1]-i)*o)/(r*r+o*o);return[l+a*r,i+a*o]}(Qe([t[0]+r,t[1]]),Qe([e[0]+r,e[1]]),Qe([n[0]+r,n[1]])));return 0!==r&&(a[0]-=r),Je(o,a,i)}(e,n,t,i)}(o,t.geometry.coordinates[0],t.geometry.coordinates[1],i);r>e&&(r=e)})),r}function rn(t,e,n){var l=n.units,i=0;Math.abs(t[0])>=180&&(i=t[0]>0?-180:180),Math.abs(e[0])>=180&&(i=e[0]>0?-180:180);var r=Qe([t[0]+i,t[1]]),o=Qe([e[0]+i,e[1]]),a=function(t){return t*t},s=a(r[0]-o[0])+a(r[1]-o[1]);return v(Math.sqrt(s),"meters",l)}function on(t){for(var n=function(t){return"FeatureCollection"!==t.type?u("Feature"!==t.type?[e(t)]:[t]):t}(t),i=se(n),r=!1,o=0;!r&&o<n.features.length;){var a,s=n.features[o].geometry,c=!1;if("Point"===s.type)i.geometry.coordinates[0]===s.coordinates[0]&&i.geometry.coordinates[1]===s.coordinates[1]&&(r=!0);else if("MultiPoint"===s.type){var d=!1;for(a=0;!d&&a<s.coordinates.length;)i.geometry.coordinates[0]===s.coordinates[a][0]&&i.geometry.coordinates[1]===s.coordinates[a][1]&&(r=!0,d=!0),a++}else if("LineString"===s.type)for(a=0;!c&&a<s.coordinates.length-1;)an(i.geometry.coordinates[0],i.geometry.coordinates[1],s.coordinates[a][0],s.coordinates[a][1],s.coordinates[a+1][0],s.coordinates[a+1][1])&&(c=!0,r=!0),a++;else if("MultiLineString"===s.type)for(var h=0;h<s.coordinates.length;){c=!1,a=0;for(var p=s.coordinates[h];!c&&a<p.length-1;)an(i.geometry.coordinates[0],i.geometry.coordinates[1],p[a][0],p[a][1],p[a+1][0],p[a+1][1])&&(c=!0,r=!0),a++;h++}else"Polygon"!==s.type&&"MultiPolygon"!==s.type||Mt(i,s)&&(r=!0);o++}if(r)return i;var f=u([]);for(o=0;o<n.features.length;o++)f.features=f.features.concat(ce(n.features[o]).features);return l(ke(i,f).geometry.coordinates)}function an(t,e,n,l,i,r){return Math.sqrt((i-n)*(i-n)+(r-l)*(r-l))===Math.sqrt((t-n)*(t-n)+(e-l)*(e-l))+Math.sqrt((i-t)*(i-t)+(r-e)*(r-e))}function sn(t){return j(t,(function(t,e){return t+function t(e){var n,l=0;switch(e.type){case"Polygon":return un(e.coordinates);case"MultiPolygon":for(n=0;n<e.coordinates.length;n++)l+=un(e.coordinates[n]);return l;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(n=0;n<e.geometries.length;n++)l+=t(e.geometries[n]);return l}}(e)}),0)}function un(t){var e=0;if(t&&t.length>0){e+=Math.abs(cn(t[0]));for(var n=1;n<t.length;n++)e-=Math.abs(cn(t[n]))}return e}function cn(t){var e,n,l,i,r,o,a=0,s=t.length;if(s>2){for(o=0;o<s;o++)o===s-2?(l=s-2,i=s-1,r=0):o===s-1?(l=s-1,i=0,r=1):(l=o,i=o+1,r=o+2),e=t[l],n=t[i],a+=(dn(t[r][0])-dn(e[0]))*Math.sin(dn(n[1]));a=a*ro*ro/2}return a}function dn(t){return t*Math.PI/180}function hn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");if(!t)throw new Error("geojson is required");return Y(t,(function(t,n){var l=n.geometry.coordinates;return t+jt(l[0],l[1],e)}),0)}function pn(t,e,n,l){if(!P(l=l||{}))throw new Error("options is invalid");var i,r=[];if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}for(var o,s,u,c=0,d=0;d<i.length&&!(e>=c&&d===i.length-1);d++){if(c>e&&0===r.length){if(!(o=e-c))return r.push(i[d]),a(r);s=ae(i[d],i[d-1])-180,u=re(i[d],o,s,l),r.push(u.geometry.coordinates)}if(c>=n)return(o=n-c)?(s=ae(i[d],i[d-1])-180,u=re(i[d],o,s,l),r.push(u.geometry.coordinates),a(r)):(r.push(i[d]),a(r));if(c>=e&&r.push(i[d]),d===i.length-1)return a(r);c+=jt(i[d],i[d+1],l)}return a(i[i.length-1])}function fn(t,e,n){var l=(n=n||{}).ignoreEndVertices;if(!P(n))throw new Error("invalid options");if(!t)throw new Error("pt is required");if(!e)throw new Error("line is required");for(var i=G(t),r=H(e),o=0;o<r.length-1;o++){var a=!1;if(l&&(0===o&&(a="start"),o===r.length-2&&(a="end"),0===o&&o+1===r.length-1&&(a="both")),function(t,e,n,l){var i=n[0],r=n[1],o=t[0],a=t[1],s=e[0],u=e[1],c=s-o,d=u-a;return(n[0]-o)*d-(n[1]-a)*c==0&&(l?"start"===l?Math.abs(c)>=Math.abs(d)?c>0?o<i&&i<=s:s<=i&&i<o:d>0?a<r&&r<=u:u<=r&&r<a:"end"===l?Math.abs(c)>=Math.abs(d)?c>0?o<=i&&i<s:s<i&&i<=o:d>0?a<=r&&r<u:u<r&&r<=a:"both"===l?Math.abs(c)>=Math.abs(d)?c>0?o<i&&i<s:s<i&&i<o:d>0?a<r&&r<u:u<r&&r<a:void 0:Math.abs(c)>=Math.abs(d)?c>0?o<=i&&i<=s:s<=i&&i<=o:d>0?a<=r&&r<=u:u<=r&&r<=a)}(r[o],r[o+1],i,a))return!0}return!1}function bn(t,e){var n=J(t),l=J(e),i=X(t),r=X(e);switch(n){case"Point":switch(l){case"MultiPoint":return function(t,e){var n,l=!1;for(n=0;n<e.coordinates.length;n++)if(gn(e.coordinates[n],t.coordinates)){l=!0;break}return l}(i,r);case"LineString":return fn(i,r,{ignoreEndVertices:!0});case"Polygon":return Mt(i,r,{ignoreBoundary:!0});default:throw new Error("feature2 "+l+" geometry not supported")}case"MultiPoint":switch(l){case"MultiPoint":return function(t,e){for(var n=0;n<t.coordinates.length;n++){for(var l=!1,i=0;i<e.coordinates.length;i++)gn(t.coordinates[n],e.coordinates[i])&&(l=!0);if(!l)return!1}return!0}(i,r);case"LineString":return function(t,e){for(var n=!1,l=0;l<t.coordinates.length;l++){if(!fn(t.coordinates[l],e))return!1;n||(n=fn(t.coordinates[l],e,{ignoreEndVertices:!0}))}return n}(i,r);case"Polygon":return function(t,e){for(var n=!0,l=0;l<t.coordinates.length;l++){var i=Mt(t.coordinates[1],e);if(!i){n=!1;break}i=Mt(t.coordinates[1],e,{ignoreBoundary:!0})}return n&&i}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"LineString":return function(t,e){for(var n=0;n<t.coordinates.length;n++)if(!fn(t.coordinates[n],e))return!1;return!0}(i,r);case"Polygon":return function(t,e){if(!mn(z(e),z(t)))return!1;for(var n=!1,l=0;l<t.coordinates.length-1;l++){if(!Mt(t.coordinates[l],e))return!1;n||(n=Mt(t.coordinates[l],e,{ignoreBoundary:!0})),n||(n=Mt(function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(t.coordinates[l],t.coordinates[l+1]),e,{ignoreBoundary:!0}))}return n}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"Polygon":return function(t,e){var n=z(t);if(!mn(z(e),n))return!1;for(var l=0;l<t.coordinates[0].length;l++)if(!Mt(t.coordinates[0][l],e))return!1;return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}}function mn(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function gn(t,e){return t[0]===e[0]&&t[1]===e[1]}function _n(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i=n.mask,r=n.properties,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=t[0],s=t[1],c=t[2],d=t[3],h=e/jt([a,s],[c,s],n)*(c-a),p=e/jt([a,s],[a,d],n)*(d-s),f=c-a,b=d-s,m=Math.floor(f/h),g=(b-Math.floor(b/p)*p)/2,_=a+(f-m*h)/2;_<=c;){for(var y=s+g;y<=d;){var A=l([_,y],r);i?bn(A,i)&&o.push(A):o.push(A),y+=p}_+=h}return u(o)}function yn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.precision,l=e.coordinates,i=e.mutate;if(n=null==n||isNaN(n)?6:n,l=null==l||isNaN(l)?3:l,!t)throw new Error("<geojson> is required");if("number"!=typeof n)throw new Error("<precision> must be a number");if("number"!=typeof l)throw new Error("<coordinates> must be a number");!1!==i&&void 0!==i||(t=JSON.parse(JSON.stringify(t)));var r=Math.pow(10,n);return k(t,(function(t){!function(t,e,n){t.length>n&&t.splice(n,t.length);for(var l=0;l<t.length;l++)t[l]=Math.round(t[l]*e)/e}(t,r,l)})),t}function An(t,e){if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var n=0,l=t.length;n<l;n++)if(t[n]instanceof Array&&e[n]instanceof Array){if(!An(t[n],e[n]))return!1}else if(t[n]!==e[n])return!1;return!0}function vn(t,e){if(void 0===e&&(e=!0),3!=t.length)throw new Error("This function requires an array of three points [x,y]");return(t[1][0]-t[0][0])*(t[2][1]-t[0][1])-(t[1][1]-t[0][1])*(t[2][0]-t[0][0])>=0==e}function Cn(t,e){if(!t||!e)return!1;if(t.length!=e.length)return!1;for(var n=0,l=t.length;n<l;n++)if(t[n]instanceof Array&&e[n]instanceof Array){if(!Cn(t[n],e[n]))return!1}else if(t[n]!=e[n])return!1;return!0}function wn(t,e){var n=[],l=ze();return R(e,(function(e){if(n.forEach((function(t,e){t.id=e})),n.length){var i=l.search(e);if(i.features.length){var r=xn(e,i);n=n.filter((function(t){return t.id!==r.id})),l.remove(r),T(Pn(r,e),(function(t){n.push(t),l.insert(t)}))}}else(n=Pn(t,e).features).forEach((function(t){t.bbox||(t.bbox=ie(z(t)))})),l.load(u(n))})),u(n)}function Pn(t,e){var n=[],l=H(t)[0],i=H(t)[t.geometry.coordinates.length-1];if(Sn(l,G(e))||Sn(i,G(e)))return u([t]);var r=ze(),o=Ve(t);r.load(o);var s=r.search(e);if(!s.features.length)return u([t]);var c=xn(e,s),d=E(o,(function(t,l,i){var r=H(l)[1],o=G(e);return i===c.id?(t.push(o),n.push(a(t)),Sn(o,r)?[o]:[o,r]):(t.push(r),t)}),[l]);return d.length>1&&n.push(a(d)),u(n)}function xn(t,e){if(!e.features.length)throw new Error("lines must contain features");if(1===e.features.length)return e.features[0];var n,l=1/0;return T(e,(function(e){var i=$e(e,t).properties.dist;i<l&&(n=e,l=i)})),n}function Sn(t,e){return t[0]===e[0]&&t[1]===e[1]}function kn(t,e,n,l,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.steps,o=i.units;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if(null==n)throw new Error("bearing1 is required");if(null==l)throw new Error("bearing2 is required");if("object"!=typeof i)throw new Error("options must be an object");r=r||64;var s=Mn(n),u=Mn(l),c=t.properties;if(s===u)return a(oe(t,e,i).geometry.coordinates[0],c);for(var d=s,h=s<u?u:u+360,p=d,f=[],b=0;p<h;)f.push(re(t,e,p,o).geometry.coordinates),p=d+360*++b/r;return p>h&&f.push(re(t,e,h,o).geometry.coordinates),a(f,c)}function Mn(t){var e=t%360;return e<0&&(e+=360),e}function On(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,l=J(t),i=H(t);if(n=n||t.properties||{},!i.length)throw new Error("polygon must contain coordinates");switch(l){case"Polygon":return Dn(i,n);case"MultiPolygon":var r=[];return i.forEach((function(t){r.push(Dn(t,n))})),u(r);default:throw new Error("geom "+l+" not supported")}}function Dn(t,e){return t.length>1?c(t,e):a(t[0],e)}function Tn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,l=e.autoComplete,i=e.orderCoords;if(!t)throw new Error("lines is required");switch(l=void 0===l||l,i=void 0===i||i,J(t)){case"FeatureCollection":case"GeometryCollection":var r=[];return(t.features?t.features:t.geometries).forEach((function(t){r.push(H(En(t,{},l,i)))})),h(r,n)}return En(t,n,l,i)}function En(t,e,n,l){e=e||t.properties||{};var i=H(t),o=J(t);if(!i.length)throw new Error("line must contain coordinates");switch(o){case"LineString":return n&&(i=In(i)),r([i],e);case"MultiLineString":var s=[],u=0;return i.forEach((function(t){if(n&&(t=In(t)),l){var e=function(t){var e=t[1],n=t[3];return Math.abs(t[0]-t[2])*Math.abs(e-n)}(z(a(t)));e>u?(s.unshift(t),u=e):s.push(t)}else s.push(t)})),r(s,e);default:throw new Error("geometry type "+o+" is not supported")}}function In(t){var e=t[0],n=t[t.length-1];return e[0]===n[0]&&e[1]===n[1]||t.push(e),t}function Ln(t,e,n){var l,i,r,o,a,s=t.length,u=Rn(t[0],e),c=[];for(n||(n=[]),l=1;l<s;l++){for(i=t[l-1],o=a=Rn(r=t[l],e);;){if(!(u|o)){c.push(i),o!==a?(c.push(r),l<s-1&&(n.push(c),c=[])):l===s-1&&c.push(r);break}if(u&o)break;u?u=Rn(i=jn(i,r,u,e),e):o=Rn(r=jn(i,r,o,e),e)}u=a}return c.length&&n.push(c),n}function jn(t,e,n,l){return 8&n?[t[0]+(e[0]-t[0])*(l[3]-t[1])/(e[1]-t[1]),l[3]]:4&n?[t[0]+(e[0]-t[0])*(l[1]-t[1])/(e[1]-t[1]),l[1]]:2&n?[l[2],t[1]+(e[1]-t[1])*(l[2]-t[0])/(e[0]-t[0])]:1&n?[l[0],t[1]+(e[1]-t[1])*(l[0]-t[0])/(e[0]-t[0])]:null}function Rn(t,e){var n=0;return t[0]<e[0]?n|=1:t[0]>e[2]&&(n|=2),t[1]<e[1]?n|=4:t[1]>e[3]&&(n|=8),n}function Fn(t,e){for(var n=[],l=0;l<t.length;l++){var i=bo.polygon(t[l],e);i.length>0&&(i[0][0]===i[i.length-1][0]&&i[0][1]===i[i.length-1][1]||i.push(i[0]),i.length>=4&&n.push(i))}return n}function Nn(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function Yn(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?t===e:function(t,e,n){var l,i;if(Un(t)||Un(e))return!1;if(t.prototype!==e.prototype)return!1;if(Nn(t))return!!Nn(e)&&Yn(t=mo.call(t),e=mo.call(e),n);if(Bn(t)){if(!Bn(e))return!1;if(t.length!==e.length)return!1;for(l=0;l<t.length;l++)if(t[l]!==e[l])return!1;return!0}try{var r=Object.keys(t),o=Object.keys(e)}catch(t){return!1}if(r.length!==o.length)return!1;for(r.sort(),o.sort(),l=r.length-1;l>=0;l--)if(r[l]!==o[l])return!1;for(l=r.length-1;l>=0;l--)if(!Yn(t[i=r[l]],e[i],n))return!1;return typeof t==typeof e}(t,e,n))}function Un(t){return null==t}function Bn(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}function zn(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l,i=n.tolerance||0,r=[],o=ze();return o.load(Ve(t)),N(e,(function(t){var e=!1;T(o.search(t),(function(n){if(!1===e){var r=H(t).sort(),o=H(n).sort();Yn(r,o)||(0===i?fn(r[0],n)&&fn(r[1],n):$e(n,r[0]).properties.dist<=i&&$e(n,r[1]).properties.dist<=i)?(e=!0,l=l?Gn(l,t):t):(0===i?fn(o[0],t)&&fn(o[1],t):$e(t,o[0]).properties.dist<=i&&$e(t,o[1]).properties.dist<=i)&&(l=l?Gn(l,n):n)}})),!1===e&&l&&(r.push(l),l=void 0)})),l&&r.push(l),u(r)}function Gn(t,e){var n=H(e),l=H(t),i=l[0],r=l[l.length-1],o=t.geometry.coordinates;return Yn(n[0],i)?o.unshift(n[1]):Yn(n[0],r)?o.push(n[1]):Yn(n[1],i)?o.unshift(n[0]):Yn(n[1],r)&&o.push(n[0]),t}function Hn(t){var e=t%360;return e<0&&(e+=360),e}function Vn(t,e,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.units,o=i.properties;if(!t)throw new Error("origin is required");if(null==e)throw new Error("distance is required");if(null==n)throw new Error("bearing is required");if(!(e>=0))throw new Error("distance must be greater than 0");var a=v(e,r,"meters"),s=G(t),u=function(t,e,n,l){var i=e/(l=void 0===l?Ar:Number(l)),r=t[0]*Math.PI/180,o=A(t[1]),a=A(n),s=i*Math.cos(a),u=o+s;Math.abs(u)>Math.PI/2&&(u=u>0?Math.PI-u:-Math.PI-u);var c=Math.log(Math.tan(u/2+Math.PI/4)/Math.tan(o/2+Math.PI/4)),d=Math.abs(c)>1e-11?s/c:Math.cos(o);return[(180*(r+i*Math.sin(a)/d)/Math.PI+540)%360-180,180*u/Math.PI]}(s,a,n);return u[0]+=u[0]-s[0]>180?-360:s[0]-u[0]>180?360:0,l(u,o)}function qn(t,e,n,l,i,r){for(var o=0;o<t.length;o++){var a=t[o],s=t[o+1];o===t.length-1&&(s=t[0]),l=Wn(a,s,e),n<=0&&l>0?function(t,e,n){return Wn(t,e,n)<0}(e,a,i)||(i=a):n>0&&l<=0&&(function(t,e,n){return Wn(t,e,n)>0}(e,a,r)||(r=a)),n=l}return[i,r]}function Wn(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(n[0]-t[0])*(e[1]-t[1])}function $n(t){if(!t)throw new Error("line is required");var e=t.geometry?t.geometry.type:t.type;if(!Array.isArray(t)&&"LineString"!==e)throw new Error("geometry must be a LineString");for(var n,l,i=H(t),r=0,o=1;o<i.length;)n=l||i[0],r+=((l=i[o])[0]-n[0])*(l[1]+n[1]),o++;return r>0}function Xn(t,e){switch("Feature"===t.type?t.geometry.type:t.type){case"GeometryCollection":return L(t,(function(t){Xn(t,e)})),t;case"LineString":return Kn(H(t),e),t;case"Polygon":return Jn(H(t),e),t;case"MultiLineString":return H(t).forEach((function(t){Kn(t,e)})),t;case"MultiPolygon":return H(t).forEach((function(t){Jn(t,e)})),t;case"Point":case"MultiPoint":return t}}function Kn(t,e){$n(t)===e&&t.reverse()}function Jn(t,e){$n(t[0])!==e&&t[0].reverse();for(var n=1;n<t.length;n++)$n(t[n])===e&&t[n].reverse()}function Qn(t,e,n,l){l=l||{};for(var i=Object.keys(go),r=0;r<i.length;r++){var o=i[r],a=l[o];_o[o]=a=null!=a?a:go[o]}_o.verbose&&console.log("MarchingSquaresJS-isoBands: computing isobands for ["+e+":"+(e+n)+"]");var s,u=function(t,e,n){for(var l=t.length-1,i=t[0].length-1,r={rows:l,cols:i,cells:[]},o=e+Math.abs(n),a=0;a<l;++a){r.cells[a]=[];for(var s=0;s<i;++s){var u=0,c=t[a+1][s],d=t[a+1][s+1],h=t[a][s+1],p=t[a][s];if(!(isNaN(c)||isNaN(d)||isNaN(h)||isNaN(p))){u|=c<e?0:c>o?128:64,u|=d<e?0:d>o?32:16,u|=h<e?0:h>o?8:4;var f=+(u|=p<e?0:p>o?2:1),b=0;if(17===u||18===u||33===u||34===u||38===u||68===u||72===u||98===u||102===u||132===u||136===u||137===u||152===u||153===u){var m=(c+d+h+p)/4;b=m>o?2:m<e?0:1,34===u?1===b?u=35:0===b&&(u=136):136===u?1===b?(u=35,b=4):0===b&&(u=34):17===u?1===b?(u=155,b=4):0===b&&(u=153):68===u?1===b?(u=103,b=4):0===b&&(u=102):153===u?1===b&&(u=155):102===u?1===b&&(u=103):152===u?b<2&&(u=156,b=1):137===u?b<2&&(u=139,b=1):98===u?b<2&&(u=99,b=1):38===u?b<2&&(u=39,b=1):18===u?b>0?(u=156,b=4):u=152:33===u?b>0?(u=139,b=4):u=137:72===u?b>0?(u=99,b=4):u=98:132===u&&(b>0?(u=39,b=4):u=38)}if(0!=u&&170!=u){var g,_,y,A,v,C,w,P;g=_=y=A=v=C=w=P=.5;var x=[];1===u?(y=1-Zn(e,h,p),P=1-Zn(e,c,p),x.push(ia[u])):169===u?(y=Zn(o,p,h),P=Zn(o,p,c),x.push(ia[u])):4===u?(C=1-Zn(e,d,h),A=Zn(e,p,h),x.push(na[u])):166===u?(C=Zn(o,h,d),A=1-Zn(o,h,p),x.push(na[u])):16===u?(v=Zn(e,h,d),_=Zn(e,c,d),x.push(ea[u])):154===u?(v=1-Zn(o,d,h),_=1-Zn(o,d,c),x.push(ea[u])):64===u?(w=Zn(e,p,c),g=1-Zn(e,d,c),x.push(oa[u])):106===u?(w=1-Zn(o,c,p),g=Zn(o,c,d),x.push(oa[u])):168===u?(A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),x.push(la[u]),x.push(ia[u])):2===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(la[u]),x.push(ia[u])):162===u?(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),x.push(la[u]),x.push(ia[u])):8===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),x.push(ea[u]),x.push(na[u])):138===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):32===u?(v=Zn(o,h,d),C=Zn(e,h,d),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):42===u?(P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ra[u]),x.push(oa[u])):128===u&&(P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ra[u]),x.push(oa[u])),5===u?(C=1-Zn(e,d,h),P=1-Zn(e,c,p),x.push(na[u])):165===u?(C=Zn(o,h,d),P=Zn(o,p,c),x.push(na[u])):20===u?(A=Zn(e,p,h),_=Zn(e,c,d),x.push(la[u])):150===u?(A=1-Zn(o,h,p),_=1-Zn(o,d,c),x.push(la[u])):80===u?(v=Zn(e,h,d),w=Zn(e,p,c),x.push(ea[u])):90===u?(v=1-Zn(o,d,h),w=1-Zn(o,c,p),x.push(ea[u])):65===u?(y=1-Zn(e,h,p),g=1-Zn(e,d,c),x.push(ia[u])):105===u?(y=Zn(o,p,h),g=Zn(o,c,d),x.push(ia[u])):160===u?(v=Zn(o,h,d),C=Zn(e,h,d),P=Zn(e,p,c),w=Zn(o,p,c),x.push(ea[u]),x.push(na[u])):10===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(ea[u]),x.push(na[u])):130===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(la[u]),x.push(ia[u])):40===u?(A=Zn(o,p,h),y=Zn(e,p,h),g=Zn(e,c,d),_=Zn(o,c,d),x.push(la[u]),x.push(ia[u])):101===u?(C=Zn(o,h,d),g=Zn(o,c,d),x.push(na[u])):69===u?(C=1-Zn(e,d,h),g=1-Zn(e,d,c),x.push(na[u])):149===u?(P=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ra[u])):21===u?(P=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ra[u])):86===u?(A=1-Zn(o,h,p),w=1-Zn(o,c,p),x.push(la[u])):84===u?(A=Zn(e,p,h),w=Zn(e,p,c),x.push(la[u])):89===u?(v=1-Zn(o,d,h),y=Zn(o,p,h),x.push(ia[u])):81===u?(v=Zn(e,h,d),y=1-Zn(e,h,p),x.push(ia[u])):96===u?(v=Zn(o,h,d),C=Zn(e,h,d),w=Zn(e,p,c),g=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):74===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):24===u?(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),_=Zn(e,c,d),x.push(ea[u]),x.push(ia[u])):146===u?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),_=1-Zn(o,d,c),x.push(ea[u]),x.push(ia[u])):6===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(na[u]),x.push(la[u])):164===u?(C=Zn(o,h,d),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),x.push(na[u]),x.push(la[u])):129===u?(y=1-Zn(e,h,p),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ia[u]),x.push(ra[u])):41===u?(y=Zn(o,p,h),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ia[u]),x.push(ra[u])):66===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(la[u]),x.push(ia[u])):104===u?(A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=Zn(o,c,d),x.push(ia[u]),x.push(aa[u])):144===u?(v=Zn(e,h,d),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ea[u]),x.push(oa[u])):26===u?(v=1-Zn(o,d,h),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ea[u]),x.push(oa[u])):36===u?(C=Zn(o,h,d),A=Zn(e,p,h),g=Zn(e,c,d),_=Zn(o,c,d),x.push(na[u]),x.push(la[u])):134===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(na[u]),x.push(la[u])):9===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=1-Zn(e,c,p),x.push(ea[u]),x.push(na[u])):161===u?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=Zn(o,p,c),x.push(ea[u]),x.push(na[u])):37===u?(C=Zn(o,h,d),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(na[u]),x.push(ra[u])):133===u?(C=1-Zn(e,d,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(na[u]),x.push(ra[u])):148===u?(A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c),x.push(la[u]),x.push(oa[u])):22===u?(A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d),x.push(la[u]),x.push(oa[u])):82===u?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),x.push(ea[u]),x.push(ia[u])):88===u?(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),x.push(ea[u]),x.push(ia[u])):73===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),g=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):97===u?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),g=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):145===u?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ea[u]),x.push(ra[u])):25===u?(v=1-Zn(o,d,h),y=Zn(o,p,h),P=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ea[u]),x.push(ra[u])):70===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(na[u]),x.push(la[u])):100===u?(C=Zn(o,h,d),A=Zn(e,p,h),w=Zn(e,p,c),g=Zn(o,c,d),x.push(na[u]),x.push(la[u])):34===u?(0===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):35===u?(4===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ia[u]),x.push(oa[u])):136===u?(0===b?(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):153===u?(0===b?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ia[u])):102===u?(0===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(na[u]),x.push(oa[u])):155===u?(4===b?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ra[u])):103===u?(4===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(na[u]),x.push(la[u])):152===u?(0===b?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(la[u]),x.push(ia[u])):156===u?(4===b?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ia[u]),x.push(oa[u])):137===u?(0===b?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ia[u])):139===u?(4===b?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ra[u])):98===u?(0===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(oa[u])):99===u?(4===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ia[u])):38===u?(0===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):39===u?(4===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(na[u]),x.push(la[u]),x.push(oa[u])):85===u&&(v=1,C=0,A=1,y=0,P=0,w=1,g=0,_=1),(g<0||g>1||_<0||_>1||v<0||v>1||A<0||A>1||P<0||P>1||w<0||w>1)&&console.log("MarchingSquaresJS-isoBands: "+u+" "+f+" "+c+","+d+","+h+","+p+" "+b+" "+g+" "+_+" "+v+" "+C+" "+A+" "+y+" "+P+" "+w),r.cells[a][s]={cval:u,cval_real:f,flipped:b,topleft:g,topright:_,righttop:v,rightbottom:C,bottomright:A,bottomleft:y,leftbottom:P,lefttop:w,edges:x}}}}}return r}(t,e,n);return _o.polygons?(_o.verbose&&console.log("MarchingSquaresJS-isoBands: returning single polygons for each grid cell"),s=function(t){var e=[],n=0;return t.cells.forEach((function(t,l){t.forEach((function(t,i){if(void 0!==t){var r=ua[t.cval](t);"object"==typeof r&&tl(r)?"object"==typeof r[0]&&tl(r[0])?"object"==typeof r[0][0]&&tl(r[0][0])?r.forEach((function(t){t.forEach((function(t){t[0]+=i,t[1]+=l})),e[n++]=t})):(r.forEach((function(t){t[0]+=i,t[1]+=l})),e[n++]=r):console.log("MarchingSquaresJS-isoBands: bandcell polygon with malformed coordinates"):console.log("MarchingSquaresJS-isoBands: bandcell polygon with null coordinates")}}))})),e}(u)):(_o.verbose&&console.log("MarchingSquaresJS-isoBands: returning polygon paths for entire data grid"),s=function(t){for(var e=[],n=t.rows,l=t.cols,i=[],r=0;r<n;r++)for(var o=0;o<l;o++)if(void 0!==t.cells[r][o]&&t.cells[r][o].edges.length>0){var a=function(t){if(t.edges.length>0){var e=t.cval_real;switch(t.edges[t.edges.length-1]){case 0:return e&Ao?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 1:return e&vo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 2:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 3:return e&Co?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 4:return e&Ao?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 5:return e&vo?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 6:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 7:return e&Co?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 8:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.righttop],x:-1,y:0,o:1};case 9:return e&Co?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 10:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.righttop],x:-1,y:0,o:1};case 11:return e&yo?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 12:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 13:return e&Co?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 14:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 15:return e&yo?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 16:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 17:return e&yo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 18:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 19:return e&yo?{p:[t.bottomleft,0],x:0,y:1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 20:return e&yo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 21:return e&Ao?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.topright,1],x:0,y:-1,o:1};case 22:return e&yo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 23:return e&Ao?{p:[0,t.lefttop],x:1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};default:console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t)}}return null}(t.cells[r][o]),s=null,u=o,c=r;null!==a&&i.push([a.p[0]+u,a.p[1]+c]);do{if(null===(s=function(t,e,n,l){var i,r,o,a,s,u=t.cval;switch(e){case-1:switch(l){case 0:i=na[u],o=Eo[u],a=Io[u],s=Lo[u];break;default:i=ea[u],o=Oo[u],a=Do[u],s=To[u]}break;case 1:switch(l){case 0:i=ra[u],o=Ho[u],a=Vo[u],s=qo[u];break;default:i=oa[u],o=Bo[u],a=zo[u],s=Go[u]}break;default:switch(n){case-1:switch(l){case 0:i=aa[u],o=wo[u],a=Po[u],s=xo[u];break;default:i=sa[u],o=So[u],a=ko[u],s=Mo[u]}break;case 1:switch(l){case 0:i=ia[u],o=jo[u],a=Ro[u],s=Fo[u];break;default:i=la[u],o=No[u],a=Yo[u],s=Uo[u]}}}if(r=t.edges.indexOf(i),void 0===t.edges[r])return null;switch(function(t,e){delete t.edges[e];for(var n=e+1;n<t.edges.length;n++)t.edges[n-1]=t.edges[n];t.edges.pop()}(t,r),u=t.cval_real,i){case 0:u&Ao?(e=t.topleft,n=1):(e=1,n=t.righttop);break;case 1:u&vo?(e=1,n=t.rightbottom):(e=t.topleft,n=1);break;case 2:u&vo?(e=t.topleft,n=1):(e=t.bottomright,n=0);break;case 3:u&Co?(e=t.bottomleft,n=0):(e=t.topleft,n=1);break;case 4:u&Ao?(e=t.topright,n=1):(e=1,n=t.righttop);break;case 5:u&vo?(e=1,n=t.rightbottom):(e=t.topright,n=1);break;case 6:u&vo?(e=t.topright,n=1):(e=t.bottomright,n=0);break;case 7:u&Co?(e=t.bottomleft,n=0):(e=t.topright,n=1);break;case 8:u&vo?(e=1,n=t.righttop):(e=t.bottomright,n=0);break;case 9:u&Co?(e=t.bottomleft,n=0):(e=1,n=t.righttop);break;case 10:u&Co?(e=1,n=t.righttop):(e=0,n=t.leftbottom);break;case 11:u&yo?(e=0,n=t.lefttop):(e=1,n=t.righttop);break;case 12:u&vo?(e=1,n=t.rightbottom):(e=t.bottomright,n=0);break;case 13:u&Co?(e=t.bottomleft,n=0):(e=1,n=t.rightbottom);break;case 14:u&Co?(e=1,n=t.rightbottom):(e=0,n=t.leftbottom);break;case 15:u&yo?(e=0,n=t.lefttop):(e=1,n=t.rightbottom);break;case 16:u&vo?(e=0,n=t.leftbottom):(e=t.bottomright,n=0);break;case 17:u&yo?(e=0,n=t.lefttop):(e=t.bottomright,n=0);break;case 18:u&Co?(e=t.bottomleft,n=0):(e=0,n=t.leftbottom);break;case 19:u&yo?(e=0,n=t.lefttop):(e=t.bottomleft,n=0);break;case 20:u&yo?(e=0,n=t.leftbottom):(e=t.topleft,n=1);break;case 21:u&Ao?(e=t.topright,n=1):(e=0,n=t.leftbottom);break;case 22:u&yo?(e=0,n=t.lefttop):(e=t.topleft,n=1);break;case 23:u&Ao?(e=t.topright,n=1):(e=0,n=t.lefttop);break;default:return console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t),null}return void 0!==e&&void 0!==n&&void 0!==o&&void 0!==a&&void 0!==s||(console.log("MarchingSquaresJS-isoBands: undefined value!"),console.log(t),console.log(e+" "+n+" "+o+" "+a+" "+s)),{p:[e,n],x:o,y:a,o:s}}(t.cells[c][u],a.x,a.y,a.o)))break;if(i.push([s.p[0]+u,s.p[1]+c]),u+=s.x,a=s,(c+=s.y)<0||c>=n||u<0||u>=l||void 0===t.cells[c][u]){var d=function(t,e,n,l,i,r){for(var o=t.cells[n][e],a=o.cval_real,s=e+l,u=n+i,c=[],d=!1;!d;){if(void 0===t.cells[u]||void 0===t.cells[u][s])if(a=(o=t.cells[u-=i][s-=l]).cval_real,-1===i)if(0===r)if(a&Co)c.push([s,u]),l=-1,i=0,r=0;else{if(!(a&vo)){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s+1,u]),l=1,i=0,r=0}else{if(!(a&Co)){if(a&vo){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s+o.bottomleft,u]),l=0,i=1,r=0,d=!0;break}c.push([s,u]),l=-1,i=0,r=0}else if(1===i)if(0===r){if(!(a&Ao)){if(a&yo){c.push([s+o.topleft,u+1]),l=0,i=-1,r=0,d=!0;break}c.push([s+o.topright,u+1]),l=0,i=-1,r=1,d=!0;break}c.push([s+1,u+1]),l=1,i=0,r=1}else c.push([s+1,u+1]),l=1,i=0,r=1;else if(-1===l)if(0===r){if(!(a&yo)){if(a&Co){c.push([s,u+o.leftbottom]),l=1,i=0,r=0,d=!0;break}c.push([s,u+o.lefttop]),l=1,i=0,r=1,d=!0;break}c.push([s,u+1]),l=0,i=1,r=0}else{if(!(a&yo)){console.log("MarchingSquaresJS-isoBands: wtf");break}c.push([s,u+1]),l=0,i=1,r=0}else{if(1!==l){console.log("MarchingSquaresJS-isoBands: we came from nowhere!");break}if(0===r){if(!(a&vo)){c.push([s+1,u+o.rightbottom]),l=-1,i=0,r=0,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}else{if(!(a&vo)){if(a&Ao){c.push([s+1,u+o.righttop]),l=-1,i=0,r=1;break}c.push([s+1,u+o.rightbottom]),l=-1,i=0,r=0,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}}else if(a=(o=t.cells[u][s]).cval_real,-1===l)if(0===r)if(void 0!==t.cells[u-1]&&void 0!==t.cells[u-1][s])l=0,i=-1,r=1;else{if(!(a&Co)){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s,u])}else{if(!(a&yo)){console.log("MarchingSquaresJS-isoBands: found entry from top at "+s+","+u);break}console.log("MarchingSquaresJS-isoBands: proceeding in x-direction!")}else if(1===l){if(0===r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u+1]&&void 0!==t.cells[u+1][s])l=0,i=1,r=0;else{if(!(a&Ao)){c.push([s+o.topleft,u+1]),l=0,i=-1,r=0,d=!0;break}c.push([s+1,u+1]),l=1,i=0,r=1}}else if(-1===i){if(1!==r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u][s+1])l=1,i=0,r=1;else{if(!(a&vo)){c.push([s+1,u+o.righttop]),l=-1,i=0,r=1,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}}else{if(1!==i){console.log("MarchingSquaresJS-isoBands: where did we came from???");break}if(0!==r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u][s-1])l=-1,i=0,r=0;else{if(!(a&yo)){c.push([s,u+o.leftbottom]),l=1,i=0,r=0,d=!0;break}c.push([s,u+1]),l=0,i=1,r=0}}if(u+=i,(s+=l)===e&&u===n)break}return{path:c,i:s,j:u,x:l,y:i,o:r}}(t,u-=s.x,c-=s.y,s.x,s.y,s.o);if(null===d)break;d.path.forEach((function(t){i.push(t)})),u=d.i,c=d.j,a=d}}while(void 0!==t.cells[c][u]&&t.cells[c][u].edges.length>0);e.push(i),i=[],t.cells[r][o].edges.length>0&&o--}return e}(u)),"function"==typeof _o.successCallback&&_o.successCallback(s),s}function Zn(t,e,n){return(t-e)/(n-e)}function tl(t){return t.constructor.toString().indexOf("Array")>-1}function el(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.pivot,i=n.mutate;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("angle is required");return 0===e||(l||(l=ue(t)),!1!==i&&void 0!==i||(t=Rt(t)),k(t,(function(t){var n=Xe(l,t)+e,i=Je(l,t),r=H(Vn(l,i,n));t[0]=r[0],t[1]=r[1]}))),t}function nl(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.origin,i=n.mutate;if(!t)throw new Error("geojson required");if("number"!=typeof e||0===e)throw new Error("invalid factor");var r=Array.isArray(l)||"object"==typeof l;return!0!==i&&(t=Rt(t)),"FeatureCollection"!==t.type||r?ll(t,e,l):(T(t,(function(n,i){t.features[i]=ll(n,e,l)})),t)}function ll(t,e,n){var i="Point"===J(t);return n=function(t,e){if(null!=e||(e="centroid"),Array.isArray(e)||"object"==typeof e)return G(e);var n=t.bbox?t.bbox:z(t),i=n[0],r=n[1],o=n[2],a=n[3];switch(e){case"sw":case"southwest":case"westsouth":case"bottomleft":return l([i,r]);case"se":case"southeast":case"eastsouth":case"bottomright":return l([o,r]);case"nw":case"northwest":case"westnorth":case"topleft":return l([i,a]);case"ne":case"northeast":case"eastnorth":case"topright":return l([o,a]);case"center":return se(t);case void 0:case null:case"centroid":return ue(t);default:throw new Error("invalid origin")}}(t,n),1===e||i||k(t,(function(t){var l=Je(n,t),i=Xe(n,t),r=H(Vn(n,l*e,i));t[0]=r[0],t[1]=r[1],3===t.length&&(t[2]*=e)})),t}function il(t){var e=t[0],n=t[1];return[n[0]-e[0],n[1]-e[1]]}function rl(t,e){return t[0]*e[1]-e[0]*t[1]}function ol(t,e,n){var l=[],i=g(e,n),r=H(t),o=[];return r.forEach((function(t,e){if(e!==r.length-1){var n=function(t,e,n){var l=Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]));return[[t[0]+n*(e[1]-t[1])/l,t[1]+n*(t[0]-e[0])/l],[e[0]+n*(e[1]-t[1])/l,e[1]+n*(t[0]-e[0])/l]]}(t,r[e+1],i);if(l.push(n),e>0){var a=l[e-1],s=function(t,e){return!function(t,e){return 0===rl(il(t),il(e))}(t,e)&&function(t,e){var n=t[0],l=il(t),i=e[0],r=il(e),o=rl(l,r);return function(t,e){return[t[0]+e[0],t[1]+e[1]]}(n,function(t,e){return[t*e[0],t*e[1]]}(rl(function(t,e){return[t[0]-e[0],t[1]-e[1]]}(i,n),r)/o,l))}(t,e)}(n,a);!1!==s&&(a[1]=s,n[0]=s),o.push(a[0]),e===r.length-2&&(o.push(n[0]),o.push(n[1]))}2===r.length&&(o.push(n[0]),o.push(n[1]))}})),a(o,t.properties)}function al(t,e,n){return Math.sign((e[0]-t[0])*(n[1]-e[1])-(n[0]-e[0])*(e[1]-t[1]))}function sl(t,e){return e.geometry.coordinates[0].every((function(e){return Mt(l(e),t)}))}function ul(t,e){for(var n=0;n<t.coordinates.length-1;n++)if(function(t,e,n){var l=e[0]-t[0],i=e[1]-t[1];return(n[0]-t[0])*i-(n[1]-t[1])*l==0&&(Math.abs(l)>=Math.abs(i)?l>0?t[0]<=n[0]&&n[0]<=e[0]:e[0]<=n[0]&&n[0]<=t[0]:i>0?t[1]<=n[1]&&n[1]<=e[1]:e[1]<=n[1]&&n[1]<=t[1])}(t.coordinates[n],t.coordinates[n+1],e.coordinates))return!0;return!1}function cl(t,e){return qe(e,On(t)).features.length>0}function dl(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function hl(t,e){return t[0]===e[0]&&t[1]===e[1]}function pl(t,e){for(var n=!1,l=!1,i=t.coordinates.length,r=0;r<i&&!n&&!l;){for(var o=0;o<e.coordinates.length-1;o++){var a=!0;0!==o&&o!==e.coordinates.length-2||(a=!1),ml(e.coordinates[o],e.coordinates[o+1],t.coordinates[r],a)?n=!0:l=!0}r++}return n&&l}function fl(t,e){return qe(t,On(e)).features.length>0}function bl(t,e){for(var n=!1,i=!1,r=t.coordinates[0].length,o=0;o<r&&n&&i;)Mt(l(t.coordinates[0][o]),e)?n=!0:i=!0,o++;return i&&i}function ml(t,e,n,l){var i=e[0]-t[0],r=e[1]-t[1];return 0==(n[0]-t[0])*r-(n[1]-t[1])*i&&(l?Math.abs(i)>=Math.abs(r)?i>0?t[0]<=n[0]&&n[0]<=e[0]:e[0]<=n[0]&&n[0]<=t[0]:r>0?t[1]<=n[1]&&n[1]<=e[1]:e[1]<=n[1]&&n[1]<=t[1]:Math.abs(i)>=Math.abs(r)?i>0?t[0]<n[0]&&n[0]<e[0]:e[0]<n[0]&&n[0]<t[0]:r>0?t[1]<n[1]&&n[1]<e[1]:e[1]<n[1]&&n[1]<t[1])}function gl(t){return t.coordinates.map((function(e){return{type:t.type.replace("Multi",""),coordinates:e}}))}function _l(t,e){return t.hasOwnProperty("coordinates")?t.coordinates.length===e.coordinates.length:t.length===e.length}function yl(t,e){return ga(t,e,{strict:!0})}function Al(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");var n=J(t);if(n!==J(e))throw new Error("features must be of the same type");if("Point"===n)throw new Error("Point geometry not supported");if(new ya({precision:6}).compare(t,e))return!1;var l=0;switch(n){case"MultiPoint":var i=I(t),r=I(e);i.forEach((function(t){r.forEach((function(e){t[0]===e[0]&&t[1]===e[1]&&l++}))}));break;case"LineString":case"MultiLineString":N(t,(function(t){N(e,(function(e){zn(t,e).features.length&&l++}))}));break;case"Polygon":case"MultiPolygon":N(t,(function(t){N(e,(function(e){qe(t,e).features.length&&l++}))}))}return l>0}function vl(t,e,n){n=n||[];for(var l=0;l<t;l++)n[l]=e;return n}function Cl(t,e){if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error("Invalid GeoJSON object for "+e)}function wl(t){for(var e=t,n=[];e.parent;)n.unshift(e),e=e.parent;return n}function Pl(t,e){e=e||{},this.nodes=[],this.diagonal=!!e.diagonal,this.grid=[];for(var n=0;n<t.length;n++){this.grid[n]=[];for(var l=0,i=t[n];l<i.length;l++){var r=new xl(n,l,i[l]);this.grid[n][l]=r,this.nodes.push(r)}}this.init()}function xl(t,e,n){this.x=t,this.y=e,this.weight=n}function Sl(t){this.content=[],this.scoreFunction=t}function kl(t){return t[0]}function Ml(t){return t[1]}function Ol(){this._=null}function Dl(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Tl(t,e){var n=e,l=e.R,i=n.U;i?i.L===n?i.L=l:i.R=l:t._=l,l.U=i,n.U=l,n.R=l.L,n.R&&(n.R.U=n),l.L=n}function El(t,e){var n=e,l=e.L,i=n.U;i?i.L===n?i.L=l:i.R=l:t._=l,l.U=i,n.U=l,n.L=l.R,n.L&&(n.L.U=n),l.R=n}function Il(t){for(;t.L;)t=t.L;return t}function Ll(t,e,n,l){var i=[null,null],r=ja.push(i)-1;return i.left=t,i.right=e,n&&Rl(i,t,e,n),l&&Rl(i,e,t,l),Ia[t.index].halfedges.push(r),Ia[e.index].halfedges.push(r),i}function jl(t,e,n){var l=[e,n];return l.left=t,l}function Rl(t,e,n,l){t[0]||t[1]?t.left===n?t[1]=l:t[0]=l:(t[0]=l,t.left=e,t.right=n)}function Fl(t,e,n,l,i){var r,o=t[0],a=t[1],s=o[0],u=o[1],c=0,d=1,h=a[0]-s,p=a[1]-u;if(r=e-s,h||!(r>0)){if(r/=h,h<0){if(r<c)return;r<d&&(d=r)}else if(h>0){if(r>d)return;r>c&&(c=r)}if(r=l-s,h||!(r<0)){if(r/=h,h<0){if(r>d)return;r>c&&(c=r)}else if(h>0){if(r<c)return;r<d&&(d=r)}if(r=n-u,p||!(r>0)){if(r/=p,p<0){if(r<c)return;r<d&&(d=r)}else if(p>0){if(r>d)return;r>c&&(c=r)}if(r=i-u,p||!(r<0)){if(r/=p,p<0){if(r>d)return;r>c&&(c=r)}else if(p>0){if(r<c)return;r<d&&(d=r)}return!(c>0||d<1)||(c>0&&(t[0]=[s+c*h,u+c*p]),d<1&&(t[1]=[s+d*h,u+d*p]),!0)}}}}}function Nl(t,e,n,l,i){var r=t[1];if(r)return!0;var o,a,s=t[0],u=t.left,c=t.right,d=u[0],h=u[1],p=c[0],f=c[1],b=(d+p)/2;if(f===h){if(b<e||b>=l)return;if(d>p){if(s){if(s[1]>=i)return}else s=[b,n];r=[b,i]}else{if(s){if(s[1]<n)return}else s=[b,i];r=[b,n]}}else if(a=(h+f)/2-(o=(d-p)/(f-h))*b,o<-1||o>1)if(d>p){if(s){if(s[1]>=i)return}else s=[(n-a)/o,n];r=[(i-a)/o,i]}else{if(s){if(s[1]<n)return}else s=[(i-a)/o,i];r=[(n-a)/o,n]}else if(h<f){if(s){if(s[0]>=l)return}else s=[e,o*e+a];r=[l,o*l+a]}else{if(s){if(s[0]<e)return}else s=[l,o*l+a];r=[e,o*e+a]}return t[0]=s,t[1]=r,!0}function Yl(t,e){var n=t.site,l=e.left,i=e.right;return n===i&&(i=l,l=n),i?Math.atan2(i[1]-l[1],i[0]-l[0]):(n===l?(l=e[1],i=e[0]):(l=e[0],i=e[1]),Math.atan2(l[0]-i[0],i[1]-l[1]))}function Ul(t,e){return e[+(e.left!==t.site)]}function Bl(t,e){return e[+(e.left===t.site)]}function zl(t){var e=t.P,n=t.N;if(e&&n){var l=e.site,i=t.site,r=n.site;if(l!==r){var o=i[0],a=i[1],s=l[0]-o,u=l[1]-a,c=r[0]-o,d=r[1]-a,h=2*(s*d-u*c);if(!(h>=-Ya)){var p=s*s+u*u,f=c*c+d*d,b=(d*p-u*f)/h,m=(s*f-c*p)/h,g=Ra.pop()||new function(){Dl(this),this.x=this.y=this.arc=this.site=this.cy=null};g.arc=t,g.site=i,g.x=b+o,g.y=(g.cy=m+a)+Math.sqrt(b*b+m*m),t.circle=g;for(var _=null,y=La._;y;)if(g.y<y.y||g.y===y.y&&g.x<=y.x){if(!y.L){_=y.P;break}y=y.L}else{if(!y.R){_=y;break}y=y.R}La.insert(_,g),_||(Ta=g)}}}}function Gl(t){var e=t.circle;e&&(e.P||(Ta=e.N),La.remove(e),Ra.push(e),Dl(e),t.circle=null)}function Hl(t){var e=Fa.pop()||new function(){Dl(this),this.edge=this.site=this.circle=null};return e.site=t,e}function Vl(t){Gl(t),Ea.remove(t),Fa.push(t),Dl(t)}function ql(t){var e=t.circle,n=e.x,l=e.cy,i=[n,l],r=t.P,o=t.N,a=[t];Vl(t);for(var s=r;s.circle&&Math.abs(n-s.circle.x)<Na&&Math.abs(l-s.circle.cy)<Na;)r=s.P,a.unshift(s),Vl(s),s=r;a.unshift(s),Gl(s);for(var u=o;u.circle&&Math.abs(n-u.circle.x)<Na&&Math.abs(l-u.circle.cy)<Na;)o=u.N,a.push(u),Vl(u),u=o;a.push(u),Gl(u);var c,d=a.length;for(c=1;c<d;++c)Rl((u=a[c]).edge,(s=a[c-1]).site,u.site,i);(u=a[d-1]).edge=Ll((s=a[0]).site,u.site,null,i),zl(s),zl(u)}function Wl(t){for(var e,n,l,i,r=t[0],o=t[1],a=Ea._;a;)if((l=$l(a,o)-r)>Na)a=a.L;else{if(!((i=r-function(t,e){var n=t.N;if(n)return $l(n,e);var l=t.site;return l[1]===e?l[0]:1/0}(a,o))>Na)){l>-Na?(e=a.P,n=a):i>-Na?(e=a,n=a.N):e=n=a;break}if(!a.R){e=a;break}a=a.R}!function(t){Ia[t.index]={site:t,halfedges:[]}}(t);var s=Hl(t);if(Ea.insert(e,s),e||n){if(e===n)return Gl(e),n=Hl(e.site),Ea.insert(s,n),s.edge=n.edge=Ll(e.site,s.site),zl(e),void zl(n);if(n){Gl(e),Gl(n);var u=e.site,c=u[0],d=u[1],h=t[0]-c,p=t[1]-d,f=n.site,b=f[0]-c,m=f[1]-d,g=2*(h*m-p*b),_=h*h+p*p,y=b*b+m*m,A=[(m*_-p*y)/g+c,(h*y-b*_)/g+d];Rl(n.edge,u,f,A),s.edge=Ll(u,t,null,A),n.edge=Ll(t,f,null,A),zl(e),zl(n)}else s.edge=Ll(e.site,s.site)}}function $l(t,e){var n=t.site,l=n[0],i=n[1],r=i-e;if(!r)return l;var o=t.P;if(!o)return-1/0;var a=(n=o.site)[0],s=n[1],u=s-e;if(!u)return a;var c=a-l,d=1/r-1/u,h=c/u;return d?(-h+Math.sqrt(h*h-2*d*(c*c/(-2*u)-s+u/2+i-r/2)))/d+l:(l+a)/2}function Xl(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function Kl(t,e){return e[1]-t[1]||e[0]-t[0]}function Jl(t,e){var n,l,i,r=t.sort(Kl).pop();for(ja=[],Ia=new Array(t.length),Ea=new Ol,La=new Ol;;)if(i=Ta,r&&(!i||r[1]<i.y||r[1]===i.y&&r[0]<i.x))r[0]===n&&r[1]===l||(Wl(r),n=r[0],l=r[1]),r=t.pop();else{if(!i)break;ql(i.arc)}if(function(){for(var t,e,n,l,i=0,r=Ia.length;i<r;++i)if((t=Ia[i])&&(l=(e=t.halfedges).length)){var o=new Array(l),a=new Array(l);for(n=0;n<l;++n)o[n]=n,a[n]=Yl(t,ja[e[n]]);for(o.sort((function(t,e){return a[e]-a[t]})),n=0;n<l;++n)a[n]=e[o[n]];for(n=0;n<l;++n)e[n]=a[n]}}(),e){var o=+e[0][0],a=+e[0][1],s=+e[1][0],u=+e[1][1];!function(t,e,n,l){for(var i,r=ja.length;r--;)Nl(i=ja[r],t,e,n,l)&&Fl(i,t,e,n,l)&&(Math.abs(i[0][0]-i[1][0])>Na||Math.abs(i[0][1]-i[1][1])>Na)||delete ja[r]}(o,a,s,u),function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m=Ia.length,g=!0;for(i=0;i<m;++i)if(r=Ia[i]){for(o=r.site,a=(s=r.halfedges).length;a--;)ja[s[a]]||s.splice(a,1);for(a=0,u=s.length;a<u;)f=(p=Bl(r,ja[s[a]]))[0],b=p[1],d=(c=Ul(r,ja[s[++a%u]]))[0],h=c[1],(Math.abs(f-d)>Na||Math.abs(b-h)>Na)&&(s.splice(a,0,ja.push(jl(o,p,Math.abs(f-t)<Na&&l-b>Na?[t,Math.abs(d-t)<Na?h:l]:Math.abs(b-l)<Na&&n-f>Na?[Math.abs(h-l)<Na?d:n,l]:Math.abs(f-n)<Na&&b-e>Na?[n,Math.abs(d-n)<Na?h:e]:Math.abs(b-e)<Na&&f-t>Na?[Math.abs(h-e)<Na?d:t,e]:null))-1),++u);u&&(g=!1)}if(g){var _,y,A,v=1/0;for(i=0,g=null;i<m;++i)(r=Ia[i])&&(A=(_=(o=r.site)[0]-t)*_+(y=o[1]-e)*y)<v&&(v=A,g=r);if(g){var C=[t,e],w=[t,l],P=[n,l],x=[n,e];g.halfedges.push(ja.push(jl(o=g.site,C,w))-1,ja.push(jl(o,w,P))-1,ja.push(jl(o,P,x))-1,ja.push(jl(o,x,C))-1)}}for(i=0;i<m;++i)(r=Ia[i])&&(r.halfedges.length||delete Ia[i])}(o,a,s,u)}this.edges=ja,this.cells=Ia,Ea=La=ja=Ia=null}function Ql(t){return(t=t.slice()).push(t[0]),r([t])}function Zl(t,e,n,l){var i=(l=l||{}).steps||64,o=l.units||"kilometers",a=l.angle||0,s=l.pivot||t,u=l.properties||t.properties||{};if(!t)throw new Error("center is required");if(!e)throw new Error("xSemiAxis is required");if(!n)throw new Error("ySemiAxis is required");if(!P(l))throw new Error("options must be an object");if(!w(i))throw new Error("steps must be a number");if(!w(a))throw new Error("angle must be a number");var c=G(t);if("degrees"===o)var d=A(a);else e=Vn(t,e,90,{units:o}),n=Vn(t,n,0,{units:o}),e=G(e)[0]-c[0],n=G(n)[1]-c[1];for(var h=[],p=0;p<i;p+=1){var f=-360*p/i,b=e*n/Math.sqrt(Math.pow(n,2)+Math.pow(e,2)*Math.pow(ti(f),2)),m=e*n/Math.sqrt(Math.pow(e,2)+Math.pow(n,2)/Math.pow(ti(f),2));if(f<-90&&f>=-270&&(b=-b),f<-180&&f>=-360&&(m=-m),"degrees"===o){var g=b*Math.cos(d)+m*Math.sin(d),_=m*Math.cos(d)-b*Math.sin(d);b=g,m=_}h.push([b+c[0],m+c[1]])}return h.push(h[0]),"degrees"===o?r([h],u):el(r([h],u),a,{pivot:s})}function ti(t){var e=t*Math.PI/180;return Math.tan(e)}function ei(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,i=e.weight;if(!t)throw new Error("geojson is required");var r=0,o=0,a=0;return L(t,(function(t,e,n){var l=n[i];if(!w(l=null==l?1:l))throw new Error("weight value must be a number for feature index "+e);(l=Number(l))>0&&k(t,(function(t){r+=t[0]*l,o+=t[1]*l,a+=l}))})),l([r/a,o/a],n)}function ni(t,e,n,i){var r=n.properties.tolerance||.001,o=0,a=0,s=0,u=0;if(T(n,(function(e){var n=e.properties.weight,l=null==n?1:n;if(!w(l=Number(l)))throw new Error("weight value must be a number");if(l>0){u+=1;var i=l*jt(e,t);0===i&&(i=1);var r=l/i;o+=e.geometry.coordinates[0]*r,a+=e.geometry.coordinates[1]*r,s+=r}})),u<1)throw new Error("no features to measure");var c=o/s,d=a/s;return 1===u||0===i||Math.abs(c-e[0])<r&&Math.abs(d-e[1])<r?l([c,d],{medianCandidates:n.properties.medianCandidates}):(n.properties.medianCandidates.push([c,d]),ni([c,d],t,n,i-1))}function li(t,e){return{x:t[0]-e[0],y:t[1]-e[1]}}function ii(t){if(P(t)&&(t=t.bbox),t&&!Array.isArray(t))throw new Error("bbox is invalid");return t?function(t){return[Math.random()*(t[2]-t[0])+t[0],Math.random()*(t[3]-t[1])+t[1]]}(t):[360*si(),180*si()]}function ri(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox;null!=t||(t=1);for(var i=[],r=0;r<t;r++)i.push(l(ii(n)));return u(i)}function oi(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.num_vertices,i=e.max_radial_length;null!=t||(t=1),w(l)||(l=10),w(i)||(i=10);for(var o=[],a=0;a<t;a++){var s=[],c=Array.apply(null,new Array(l+1)).map(Math.random);c.forEach((function(t,e,n){n[e]=e>0?t+n[e-1]:t})),c.forEach((function(t){t=2*t*Math.PI/c[c.length-1];var e=Math.random();s.push([e*i*Math.sin(t),e*i*Math.cos(t)])})),s[s.length-1]=s[0],s=s.map(function(t){return function(e){return[e[0]+t[0],e[1]+t[1]]}}(ii(n))),o.push(r([s]))}return u(o)}function ai(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.num_vertices,i=e.max_length,r=e.max_rotation;null!=t||(t=1),(!w(l)||l<2)&&(l=10),w(i)||(i=1e-4),w(r)||(r=Math.PI/8);for(var o=[],s=0;s<t;s++){for(var c=[ii(n)],d=0;d<l-1;d++){var h=(0===d?2*Math.random()*Math.PI:Math.tan((c[d][1]-c[d-1][1])/(c[d][0]-c[d-1][0])))+(Math.random()-.5)*r*2,p=Math.random()*i;c.push([c[d][0]+p*Math.cos(h),c[d][1]+p*Math.sin(h)])}o.push(a(c))}return u(o)}function si(){return Math.random()-.5}function ui(t,e){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(null==e)throw new Error("filter is required");var n=[];return T(t,(function(t){pi(t.properties,e)&&n.push(t)})),u(n)}function ci(t,e,n){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(null==e)throw new Error("property is required");for(var l=hi(t,e),i=Object.keys(l),r=0;r<i.length;r++){for(var o=i[r],a=l[o],s=[],c=0;c<a.length;c++)s.push(t.features[a[c]]);n(u(s),o,r)}}function di(t,e,n,l){var i=l;return ci(t,e,(function(t,e,r){i=0===r&&void 0===l?t:n(i,t,e,r)})),i}function hi(t,e){var n={};return T(t,(function(t,l){var i=t.properties||{};if(i.hasOwnProperty(e)){var r=i[e];n.hasOwnProperty(r)?n[r].push(l):n[r]=[l]}})),n}function pi(t,e){if(void 0===t)return!1;var n=typeof e;if("number"===n||"string"===n)return t.hasOwnProperty(e);if(Array.isArray(e)){for(var l=0;l<e.length;l++)if(!pi(t,e[l]))return!1;return!0}return fi(t,e)}function fi(t,e){for(var n=Object.keys(e),l=0;l<n.length;l++){var i=n[l];if(t[i]!==e[i])return!1}return!0}function bi(t,e){if(!e)return{};if(!e.length)return{};for(var n={},l=0;l<e.length;l++){var i=e[l];t.hasOwnProperty(i)&&(n[i]=t[i])}return n}function mi(){}function gi(t){this.message=t||""}function _i(t){this.message=t||""}function yi(){}function Ai(t){return null===t?ou:t.color}function vi(t){return null===t?null:t.parent}function Ci(t,e){null!==t&&(t.color=e)}function wi(t){return null===t?null:t.left}function Pi(t){return null===t?null:t.right}function xi(){this.root_=null,this.size_=0}function Si(){}function ki(){this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}function Mi(){}function Oi(t){this.message=t||""}function Di(){this.array_=[]}function Ti(t){switch(t.type){case"Polygon":return sn(t)>1?t:null;case"MultiPolygon":var e=[];if(R(t,(function(t){sn(t)>1&&e.push(t.geometry.coordinates)})),e.length)return{type:"MultiPolygon",coordinates:e}}}function Ei(){this.reset()}function Ii(t,e,n){var l=t.s=e+n,i=l-e;t.t=e-(l-i)+(n-i)}function Li(t){return t>1?dp:t<-1?-dp:Math.asin(t)}function ji(){}function Ri(t,e){t&&Sp.hasOwnProperty(t.type)&&Sp[t.type](t,e)}function Fi(t,e,n){var l,i=-1,r=t.length-n;for(e.lineStart();++i<r;)e.point((l=t[i])[0],l[1],l[2]);e.lineEnd()}function Ni(t,e){var n=-1,l=t.length;for(e.polygonStart();++n<l;)Fi(t[n],e,1);e.polygonEnd()}function Yi(t){return[_p(t[1],t[0]),Li(t[2])]}function Ui(t){var e=t[0],n=t[1],l=yp(n);return[l*yp(e),l*Cp(e),Cp(n)]}function Bi(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function zi(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Gi(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Hi(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Vi(t){var e=wp(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function qi(t,e){return[t>cp?t-pp:t<-cp?t+pp:t,e]}function Wi(t,e,n){return(t%=pp)?e||n?Mp(Xi(t),Ki(e,n)):Xi(t):e||n?Ki(e,n):qi}function $i(t){return function(e,n){return[(e+=t)>cp?e-pp:e<-cp?e+pp:e,n]}}function Xi(t){var e=$i(t);return e.invert=$i(-t),e}function Ki(t,e){function n(t,e){var n=yp(e),a=yp(t)*n,s=Cp(t)*n,u=Cp(e),c=u*l+a*i;return[_p(s*r-c*o,a*l-u*i),Li(c*r+s*o)]}var l=yp(t),i=Cp(t),r=yp(e),o=Cp(e);return n.invert=function(t,e){var n=yp(e),a=yp(t)*n,s=Cp(t)*n,u=Cp(e),c=u*r-s*o;return[_p(s*r+u*o,a*l+c*i),Li(c*l-a*i)]},n}function Ji(t,e){(e=Ui(e))[0]-=t,Vi(e);var n=function(t){return t>1?0:t<-1?cp:Math.acos(t)}(-e[1]);return((-e[2]<0?-n:n)+pp-up)%pp}function Qi(t,e,n,l){this.x=t,this.z=e,this.o=n,this.e=l,this.v=!1,this.n=this.p=null}function Zi(t){if(e=t.length){for(var e,n,l=0,i=t[0];++l<e;)i.n=n=t[l],n.p=i,i=n;i.n=n=t[0],n.p=i}}function tr(t,e,n,l){function i(i,r){return t<=i&&i<=n&&e<=r&&r<=l}function r(i,r,a,u){var c=0,d=0;if(null==i||(c=o(i,a))!==(d=o(r,a))||s(i,r)<0^a>0)do{u.point(0===c||3===c?t:n,c>1?l:e)}while((c=(c+a+4)%4)!==d);else u.point(r[0],r[1])}function o(l,i){return mp(l[0]-t)<up?i>0?0:3:mp(l[0]-n)<up?i>0?2:1:mp(l[1]-e)<up?i>0?1:0:i>0?3:2}function a(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),l=o(e,1);return n!==l?n-l:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){function s(t,e){i(t,e)&&v.point(t,e)}function u(r,o){var a=i(r,o);if(d&&h.push([r,o]),y)p=r,f=o,b=a,y=!1,a&&(v.lineStart(),v.point(r,o));else if(a&&_)v.point(r,o);else{var s=[m=Math.max(Rp,Math.min(jp,m)),g=Math.max(Rp,Math.min(jp,g))],u=[r=Math.max(Rp,Math.min(jp,r)),o=Math.max(Rp,Math.min(jp,o))];Dp(s,u,t,e,n,l)?(_||(v.lineStart(),v.point(s[0],s[1])),v.point(u[0],u[1]),a||v.lineEnd(),A=!1):a&&(v.lineStart(),v.point(r,o),A=!1)}m=r,g=o,_=a}var c,d,h,p,f,b,m,g,_,y,A,v=o,C=Op(),w={point:s,lineStart:function(){w.point=u,d&&d.push(h=[]),y=!0,_=!1,m=g=NaN},lineEnd:function(){c&&(u(p,f),b&&_&&C.rejoin(),c.push(C.result())),w.point=s,_&&v.lineEnd()},polygonStart:function(){v=C,c=[],d=[],A=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=d.length;n<i;++n)for(var r,o,a=d[n],s=1,u=a.length,c=a[0],h=c[0],p=c[1];s<u;++s)r=h,o=p,h=(c=a[s])[0],p=c[1],o<=l?p>l&&(h-r)*(l-o)>(p-o)*(t-r)&&++e:p<=l&&(h-r)*(l-o)<(p-o)*(t-r)&&--e;return e}(),n=A&&e,i=(c=Lp(c)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),r(null,null,1,o),o.lineEnd()),i&&Ep(c,a,e,r,o),o.polygonEnd()),v=o,c=d=h=null}};return w}}function er(t){return t.length>1}function nr(t,e){return((t=t.x)[0]<0?t[1]-dp-up:dp-t[1])-((e=e.x)[0]<0?e[1]-dp-up:dp-e[1])}function lr(t){return function(e){var n=new ir;for(var l in t)n[l]=t[l];return n.stream=e,n}}function ir(){}function rr(t,e,n){var l=e[1][0]-e[0][0],i=e[1][1]-e[0][1],r=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),kp(n,t.stream(Gp));var o=Gp.result(),a=Math.min(l/(o[1][0]-o[0][0]),i/(o[1][1]-o[0][1])),s=+e[0][0]+(l-a*(o[1][0]+o[0][0]))/2,u=+e[0][1]+(i-a*(o[1][1]+o[0][1]))/2;return null!=r&&t.clipExtent(r),t.scale(150*a).translate([s,u])}function or(t,e){return[t,vp(Pp((dp+e)/2))]}function ar(t,e){return[vp(Pp((dp+e)/2)),-t]}function sr(t,n,l,i){var r=t.properties||{},o="Feature"===t.type?t.geometry:t;if("GeometryCollection"===o.type){var a=[];return L(t,(function(t){var e=sr(t,n,l,i);e&&a.push(e)})),u(a)}var s,c=z(t),d=c[1]>50&&c[3]>50;s=d?{type:o.type,coordinates:ur(o.coordinates,dr(o))}:Qe(o);var h,p=(new Xu).read(s),f=b(m(n,l),"meters"),g=Ud.bufferOp(p,f);if(!function t(e){return Array.isArray(e[0])?t(e[0]):isNaN(e[0])}((g=(new Ku).write(g)).coordinates))return(h=d?{type:g.type,coordinates:cr(g.coordinates,dr(o))}:Ze(g)).geometry?h:e(h,r)}function ur(t,e){return"object"!=typeof t[0]?e(t):t.map((function(t){return ur(t,e)}))}function cr(t,e){return"object"!=typeof t[0]?e.invert(t):t.map((function(t){return cr(t,e)}))}function dr(t){var e=se(t).geometry.coordinates.reverse(),n=e.map((function(t){return-t}));return Kp().center(e).rotate(n).scale(Ar)}function hr(){for(var t=new Xu,e=t.read(JSON.stringify(arguments[0].geometry)),n=1;n<arguments.length;n++)e=op.union(e,t.read(JSON.stringify(arguments[n].geometry)));return{type:"Feature",geometry:e=(new Ku).write(e),properties:arguments[0].properties}}function pr(t,n){var l=X(t),i=X(n);if($t(yn(i,{precision:4})).coordinates[0].length<4)return null;if($t(yn(l,{precision:4})).coordinates[0].length<4)return null;var r=new Xu,o=r.read(yn(l)),a=r.read(yn(i)),s=Jh.intersection(o,a);return s.isEmpty()?null:e((new Ku).write(s))}function fr(t,e){return function(t,e,n){var l,i;if(!Array.isArray(e))throw new Error("Get closest expects an array as second argument");return e.forEach((function(e,n){var r=function(t,e){return t-e}(e,t);r>=0&&(void 0===i||r<i)&&(i=r,l=n)})),l}(t,e)}function br(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties||{},i=n.triangles,o=n.mask;if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(o&&-1===["Polygon","MultiPolygon"].indexOf(J(o)))throw new Error("options.mask must be a (Multi)Polygon");var a=t[0],s=t[1],c=t[2],d=t[3],h=(s+d)/2,p=(a+c)/2,f=2*e/jt([a,h],[c,h],n)*(c-a),b=2*e/jt([p,s],[p,d],n)*(d-s),m=f/2,g=2*m,_=Math.sqrt(3)/2*b,y=c-a,A=d-s,v=.75*g,C=_,x=Math.floor((y-g)/(g-m/2)),S=(x*v-m/2-y)/2-m/2+v/2,k=Math.floor((A-_)/_),M=(A-k*_)/2,O=k*_-A>_/2;O&&(M-=_/4);for(var D=[],T=[],E=0;E<6;E++){var I=2*Math.PI/6*E;D.push(Math.cos(I)),T.push(Math.sin(I))}for(var L=[],j=0;j<=x;j++)for(var R=0;R<=k;R++){var F=j%2==1;if(!(0===R&&F||0===R&&O)){var N=j*v+a-S,Y=R*C+s+M;if(F&&(Y-=_/2),!0===i)(function(t,e,n,l,i,o){for(var a=[],s=0;s<6;s++){var u=[];u.push(t),u.push([t[0]+e*i[s],t[1]+n*o[s]]),u.push([t[0]+e*i[(s+1)%6],t[1]+n*o[(s+1)%6]]),u.push(t),a.push(r([u],l))}return a})([N,Y],f/2,b/2,l,D,T).forEach((function(t){o?pr(o,t)&&L.push(t):L.push(t)}));else{var U=function(t,e,n,l,i,o){for(var a=[],s=0;s<6;s++)a.push([t[0]+e*i[s],t[1]+n*o[s]]);return a.push(a[0].slice()),r([a],l)}([N,Y],f/2,b/2,l,D,T);o?pr(o,U)&&L.push(U):L.push(U)}}}return u(L)}function mr(t){if(t.features.length<=1)return t;var e=function(t){var e=Dr(),n=[];return R(t,(function(t,e){var l=z(t);n.push({minX:l[0],minY:l[1],maxX:l[2],maxY:l[3],geojson:t,index:e})})),e.load(n),e}(t),n=[],l={};return R(t,(function(t,i){if(l[i])return!0;for(e.remove({index:i},gr),l[i]=!0;;){var r=z(t),o=e.search({minX:r[0],minY:r[1],maxX:r[2],maxY:r[3]});if(o.length>0){var a=o.map((function(t){return l[t.index]=!0,e.remove({index:t.index},gr),t.geojson}));a.push(t),t=hr.apply(this,a)}if(0===o.length)break}n.push(t)})),u(n)}function gr(t,e){return t.index===e.index}function _r(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.mask,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=t[0],s=t[1],c=t[2],d=t[3],h=e/jt([a,s],[c,s],n)*(c-a),p=e/jt([a,s],[a,d],n)*(d-s),f=c-a,b=d-s,m=Math.floor(f/h),g=Math.floor(b/p),_=(b-g*p)/2,y=a+(f-m*h)/2,A=0;A<m;A++){for(var v=s+_,C=0;C<g;C++){var x=r([[[y,v],[y,v+p],[y+h,v+p],[y+h,v],[y,v]]],l);i?pr(i,x)&&o.push(x):o.push(x),v+=p}y+=h}return u(o)}function yr(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.mask,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=e/jt([t[0],t[1]],[t[2],t[1]],n)*(t[2]-t[0]),s=e/jt([t[0],t[1]],[t[0],t[3]],n)*(t[3]-t[1]),c=0,d=t[0];d<=t[2];){for(var h=0,p=t[1];p<=t[3];){var f=null,b=null;c%2==0&&h%2==0?(f=r([[[d,p],[d,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p+s],[d+a,p+s],[d+a,p],[d,p+s]]],l)):c%2==0&&h%2==1?(f=r([[[d,p],[d+a,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p],[d,p+s],[d+a,p+s],[d,p]]],l)):h%2==0&&c%2==1?(f=r([[[d,p],[d,p+s],[d+a,p+s],[d,p]]],l),b=r([[[d,p],[d+a,p+s],[d+a,p],[d,p]]],l)):h%2==1&&c%2==1&&(f=r([[[d,p],[d,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p+s],[d+a,p+s],[d+a,p],[d,p+s]]],l)),i?(pr(i,f)&&o.push(f),pr(i,b)&&o.push(b)):(o.push(f),o.push(b)),p+=s,h++}c++,d+=a}return u(o)}var Ar=6371008.8,vr={meters:Ar,metres:Ar,millimeters:1e3*Ar,millimetres:1e3*Ar,centimeters:100*Ar,centimetres:100*Ar,kilometers:Ar/1e3,kilometres:Ar/1e3,miles:Ar/1609.344,nauticalmiles:Ar/1852,inches:39.37*Ar,yards:Ar/1.0936,feet:3.28084*Ar,radians:1,degrees:Ar/111325},Cr={meters:1,metres:1,millimeters:1e3,millimetres:1e3,centimeters:100,centimetres:100,kilometers:.001,kilometres:.001,miles:1/1609.344,nauticalmiles:1/1852,inches:39.37,yards:1/1.0936,feet:3.28084,radians:1/Ar,degrees:1/111325},wr={meters:1,metres:1,millimeters:1e6,millimetres:1e6,centimeters:1e4,centimetres:1e4,kilometers:1e-6,kilometres:1e-6,acres:247105e-9,miles:386e-9,yards:1.195990046,feet:10.763910417,inches:1550.003100006},Pr=Object.freeze({earthRadius:Ar,factors:vr,unitsFactors:Cr,areaFactors:wr,feature:e,geometry:n,point:l,points:i,polygon:r,polygons:o,lineString:a,lineStrings:s,featureCollection:u,multiLineString:c,multiPoint:d,multiPolygon:h,geometryCollection:p,round:f,radiansToLength:b,lengthToRadians:m,lengthToDegrees:g,bearingToAzimuth:_,radiansToDegrees:y,degreesToRadians:A,convertLength:v,convertArea:C,isNumber:w,isObject:P,validateBBox:x,validateId:S,radians2degrees:function(){throw new Error("method has been renamed to `radiansToDegrees`")},degrees2radians:function(){throw new Error("method has been renamed to `degreesToRadians`")},distanceToDegrees:function(){throw new Error("method has been renamed to `lengthToDegrees`")},distanceToRadians:function(){throw new Error("method has been renamed to `lengthToRadians`")},radiansToDistance:function(){throw new Error("method has been renamed to `radiansToLength`")},bearingToAngle:function(){throw new Error("method has been renamed to `bearingToAzimuth`")},convertDistance:function(){throw new Error("method has been renamed to `convertLength`")}}),xr=Object.freeze({coordEach:k,coordReduce:M,propEach:O,propReduce:D,featureEach:T,featureReduce:E,coordAll:I,geomEach:L,geomReduce:j,flattenEach:R,flattenReduce:F,segmentEach:N,segmentReduce:Y,lineEach:U,lineReduce:B}),Sr=Object.freeze({getCoord:G,getCoords:H,containsNumber:V,geojsonType:q,featureOf:W,collectionOf:$,getGeom:X,getGeomType:K,getType:J}),kr={successCallback:null,verbose:!1},Mr={},Or=function t(e,n,l,i,r){for(l=l||0,i=i||e.length-1,r=r||function(t,e){return t<e?-1:t>e?1:0};i>l;){if(i-l>600){var o=i-l+1,a=n-l+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);t(e,n,Math.max(l,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),r)}var d=e[n],h=l,p=i;for(lt(e,l,n),r(e[i],d)>0&&lt(e,l,i);h<p;){for(lt(e,h,p),h++,p--;r(e[h],d)<0;)h++;for(;r(e[p],d)>0;)p--}0===r(e[l],d)?lt(e,l,p):lt(e,++p,i),p<=n&&(l=p+1),n<=p&&(i=p-1)}},Dr=it;it.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],l=this.toBBox;if(!pt(t,e))return n;for(var i,r,o,a,s=[];e;){for(i=0,r=e.children.length;i<r;i++)o=e.children[i],pt(t,a=e.leaf?l(o):o)&&(e.leaf?n.push(o):ht(t,a)?this._all(o,n):s.push(o));e=s.pop()}return n},collides:function(t){var e=this.data,n=this.toBBox;if(!pt(t,e))return!1;for(var l,i,r,o,a=[];e;){for(l=0,i=e.children.length;l<i;l++)if(r=e.children[l],pt(t,o=e.leaf?n(r):r)){if(e.leaf||ht(t,o))return!0;a.push(r)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}var l=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===l.height)this._splitRoot(this.data,l);else{if(this.data.height<l.height){var i=this.data;this.data=l,l=i}this._insert(l,this.data.height-l.height-1,!0)}else this.data=l;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=ft([]),this},remove:function(t,e){if(!t)return this;for(var n,l,i,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf&&-1!==(i=function(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}(t,o.children,e)))return o.children.splice(i,1),s.push(o),this._condense(s),this;r||o.leaf||!ht(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},toBBox:function(t){return t},compareMinX:st,compareMinY:ut,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},_build:function(t,e,n,l){var i,r=n-e+1,o=this._maxEntries;if(r<=o)return rt(i=ft(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,l-1))),(i=ft([])).leaf=!1,i.height=l;var a,s,u,c,d=Math.ceil(r/o),h=d*Math.ceil(Math.sqrt(o));for(bt(t,e,n,h,this.compareMinX),a=e;a<=n;a+=h)for(bt(t,a,u=Math.min(a+h-1,n),d,this.compareMinY),s=a;s<=u;s+=d)c=Math.min(s+d-1,u),i.children.push(this._build(t,s,c,l-1));return rt(i,this.toBBox),i},_chooseSubtree:function(t,e,n,l){for(var i,r,o,a,s,u,c,d;l.push(e),!e.leaf&&l.length-1!==n;){for(c=d=1/0,i=0,r=e.children.length;i<r;i++)s=ct(o=e.children[i]),(u=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,o)-s)<d?(d=u,c=s<c?s:c,a=o):u===d&&s<c&&(c=s,a=o);e=a||e.children[0]}return e},_insert:function(t,e,n){var l=n?t:(0,this.toBBox)(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),at(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},_split:function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var r=this._chooseSplitIndex(n,i,l),o=ft(n.children.splice(r,n.children.length-r));o.height=n.height,o.leaf=n.leaf,rt(n,this.toBBox),rt(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(n,o)},_splitRoot:function(t,e){this.data=ft([t,e]),this.data.height=t.height+1,this.data.leaf=!1,rt(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var l,i,r,o,a,s,u,c;for(s=u=1/0,l=e;l<=n-e;l++)o=function(t,e){var n=Math.max(t.minX,e.minX),l=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,r-l)}(i=ot(t,0,l,this.toBBox),r=ot(t,l,n,this.toBBox)),a=ct(i)+ct(r),o<s?(s=o,c=l,u=a<u?a:u):o===s&&a<u&&(u=a,c=l);return c},_chooseSplitAxis:function(t,e,n){var l=t.leaf?this.compareMinX:st,i=t.leaf?this.compareMinY:ut;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},_allDistMargin:function(t,e,n,l){t.children.sort(l);var i,r,o=this.toBBox,a=ot(t,0,e,o),s=ot(t,n-e,n,o),u=dt(a)+dt(s);for(i=e;i<n-e;i++)r=t.children[i],at(a,t.leaf?o(r):r),u+=dt(a);for(i=n-e-1;i>=e;i--)r=t.children[i],at(s,t.leaf?o(r):r),u+=dt(s);return u},_adjustParentBBoxes:function(t,e,n){for(var l=n;l>=0;l--)at(e[l],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():rt(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var Tr=function(t,e,n){var l=t*e,i=Er*t,r=i-(i-t),o=t-r,a=Er*e,s=a-(a-e),u=e-s,c=o*u-(l-r*s-o*s-r*u);return n?(n[0]=c,n[1]=l,n):[c,l]},Er=+(Math.pow(2,27)+1),Ir=function(t,e){var n=0|t.length,l=0|e.length;if(1===n&&1===l)return function(t,e){var n=t+e,l=n-t,i=t-(n-l)+(e-l);return i?[i,n]:[n]}(t[0],e[0]);var i,r,o=new Array(n+l),a=0,s=0,u=0,c=Math.abs,d=t[s],h=c(d),p=e[u],f=c(p);h<f?(r=d,(s+=1)<n&&(h=c(d=t[s]))):(r=p,(u+=1)<l&&(f=c(p=e[u]))),s<n&&h<f||u>=l?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=e[u])));for(var b,m,g=i+r,_=g-i,y=r-_,A=y,v=g;s<n&&u<l;)h<f?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=e[u]))),(y=(r=A)-(_=(g=i+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b;for(;s<n;)(y=(r=A)-(_=(g=(i=d)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(s+=1)<n&&(d=t[s]);for(;u<l;)(y=(r=A)-(_=(g=(i=p)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(u+=1)<l&&(p=e[u]);return A&&(o[a++]=A),v&&(o[a++]=v),a||(o[a++]=0),o.length=a,o},Lr=function(t,e,n){var l=t+e,i=l-t,r=e-i,o=t-(l-i);return n?(n[0]=o+r,n[1]=l,n):[o+r,l]},jr=function(t,e){var n=t.length;if(1===n){var l=Tr(t[0],e);return l[0]?l:[l[1]]}var i=new Array(2*n),r=[.1,.1],o=[.1,.1],a=0;Tr(t[0],e,r),r[0]&&(i[a++]=r[0]);for(var s=1;s<n;++s){Tr(t[s],e,o),Lr(r[1],o[0],r),r[0]&&(i[a++]=r[0]);var u=o[1],c=r[1],d=u+c,h=c-(d-u);r[1]=d,h&&(i[a++]=h)}return r[1]&&(i[a++]=r[1]),0===a&&(i[a++]=0),i.length=a,i},Rr=function(t,e){var n=0|t.length,l=0|e.length;if(1===n&&1===l)return function(t,e){var n=t+e,l=n-t,i=t-(n-l)+(e-l);return i?[i,n]:[n]}(t[0],-e[0]);var i,r,o=new Array(n+l),a=0,s=0,u=0,c=Math.abs,d=t[s],h=c(d),p=-e[u],f=c(p);h<f?(r=d,(s+=1)<n&&(h=c(d=t[s]))):(r=p,(u+=1)<l&&(f=c(p=-e[u]))),s<n&&h<f||u>=l?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=-e[u])));for(var b,m,g=i+r,_=g-i,y=r-_,A=y,v=g;s<n&&u<l;)h<f?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=-e[u]))),(y=(r=A)-(_=(g=i+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b;for(;s<n;)(y=(r=A)-(_=(g=(i=d)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(s+=1)<n&&(d=t[s]);for(;u<l;)(y=(r=A)-(_=(g=(i=p)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(u+=1)<l&&(p=-e[u]);return A&&(o[a++]=A),v&&(o[a++]=v),a||(o[a++]=0),o.length=a,o},Fr=mt((function(t){function e(t,e){for(var n=new Array(t.length-1),l=1;l<t.length;++l)for(var i=n[l-1]=new Array(t.length-1),r=0,o=0;r<t.length;++r)r!==e&&(i[o++]=t[l][r]);return n}function n(t){return 1&t?"-":""}function l(t){if(1===t.length)return t[0];if(2===t.length)return["sum(",t[0],",",t[1],")"].join("");var e=t.length>>1;return["sum(",l(t.slice(0,e)),",",l(t.slice(e)),")"].join("")}function i(t){if(2===t.length)return[["sum(prod(",t[0][0],",",t[1][1],"),prod(-",t[0][1],",",t[1][0],"))"].join("")];for(var r=[],o=0;o<t.length;++o)r.push(["scale(",l(i(e(t,o))),",",n(o),t[0][o],")"].join(""));return r}function r(t){for(var n=[],r=[],o=function(t){for(var e=new Array(t),n=0;n<t;++n){e[n]=new Array(t);for(var l=0;l<t;++l)e[n][l]=["m",l,"[",t-n-1,"]"].join("")}return e}(t),a=[],s=0;s<t;++s)0==(1&s)?n.push.apply(n,i(e(o,s))):r.push.apply(r,i(e(o,s))),a.push("m"+s);var u=l(n),c=l(r),d="orientation"+t+"Exact",h=["function ",d,"(",a.join(),"){var p=",u,",n=",c,",d=sub(p,n);return d[d.length-1];};return ",d].join("");return new Function("sum","prod","scale","sub",h)(Ir,Tr,jr,Rr)}var o=r(3),a=r(4),s=[function(){return 0},function(){return 0},function(t,e){return e[0]-t[0]},function(t,e,n){var l,i=(t[1]-n[1])*(e[0]-n[0]),r=(t[0]-n[0])*(e[1]-n[1]),a=i-r;if(i>0){if(r<=0)return a;l=i+r}else{if(!(i<0))return a;if(r>=0)return a;l=-(i+r)}var s=33306690738754716e-32*l;return a>=s||a<=-s?a:o(t,e,n)},function(t,e,n,l){var i=t[0]-l[0],r=e[0]-l[0],o=n[0]-l[0],s=t[1]-l[1],u=e[1]-l[1],c=n[1]-l[1],d=t[2]-l[2],h=e[2]-l[2],p=n[2]-l[2],f=r*c,b=o*u,m=o*s,g=i*c,_=i*u,y=r*s,A=d*(f-b)+h*(m-g)+p*(_-y),v=7771561172376103e-31*((Math.abs(f)+Math.abs(b))*Math.abs(d)+(Math.abs(m)+Math.abs(g))*Math.abs(h)+(Math.abs(_)+Math.abs(y))*Math.abs(p));return A>v||-A>v?A:a(t,e,n,l)}];!function(){for(;s.length<=5;)s.push(r(s.length));for(var e=[],n=["slow"],l=0;l<=5;++l)e.push("a"+l),n.push("o"+l);var i=["function getOrientation(",e.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(l=2;l<=5;++l)i.push("case ",l,":return o",l,"(",e.slice(0,l).join(),");");i.push("}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return getOrientation"),n.push(i.join(""));var o=Function.apply(void 0,n);for(t.exports=o.apply(void 0,[function(t){var e=s[t.length];return e||(e=s[t.length]=r(t.length)),e.apply(void 0,t)}].concat(s)),l=0;l<=5;++l)t.exports[l]=s[l]}()})),Nr=function(t){var e=t.length;if(e<3){for(var n=new Array(e),l=0;l<e;++l)n[l]=l;return 2===e&&t[0][0]===t[1][0]&&t[0][1]===t[1][1]?[0]:n}var i=new Array(e);for(l=0;l<e;++l)i[l]=l;i.sort((function(e,n){return t[e][0]-t[n][0]||t[e][1]-t[n][1]}));var r=[i[0],i[1]],o=[i[0],i[1]];for(l=2;l<e;++l){for(var a=i[l],s=t[a],u=r.length;u>1&&Yr(t[r[u-2]],t[r[u-1]],s)<=0;)u-=1,r.pop();for(r.push(a),u=o.length;u>1&&Yr(t[o[u-2]],t[o[u-1]],s)>=0;)u-=1,o.pop();o.push(a)}n=new Array(o.length+r.length-2);for(var c=0,d=(l=0,r.length);l<d;++l)n[c++]=r[l];for(var h=o.length-2;h>0;--h)n[c++]=o[h];return n},Yr=Fr[3],Ur=gt,Br=gt;gt.prototype={push:function(t){this.data.push(t),this.length++,this._up(this.length-1)},pop:function(){if(0!==this.length){var t=this.data[0];return this.length--,this.length>0&&(this.data[0]=this.data[this.length],this._down(0)),this.data.pop(),t}},peek:function(){return this.data[0]},_up:function(t){for(var e=this.data,n=this.compare,l=e[t];t>0;){var i=t-1>>1,r=e[i];if(n(l,r)>=0)break;e[t]=r,t=i}e[t]=l},_down:function(t){for(var e=this.data,n=this.compare,l=this.length>>1,i=e[t];t<l;){var r=1+(t<<1),o=r+1,a=e[r];if(o<this.length&&n(e[o],a)<0&&(r=o,a=e[o]),n(a,i)>=0)break;e[t]=a,t=r}e[t]=i}},Ur.default=Br;var zr=function(t,e){for(var n=t[0],l=t[1],i=!1,r=0,o=e.length-1;r<e.length;o=r++){var a=e[r][0],s=e[r][1],u=e[o][1];s>l!=u>l&&n<(e[o][0]-a)*(l-s)/(u-s)+a&&(i=!i)}return i},Gr=Fr[3],Hr=_t;Hr.default=_t;var Vr=function(t){return t},qr=function(t){if(null==t)return Vr;var e,n,l=t.scale[0],i=t.scale[1],r=t.translate[0],o=t.translate[1];return function(t,a){a||(e=n=0);var s=2,u=t.length,c=new Array(u);for(c[0]=(e+=t[0])*l+r,c[1]=(n+=t[1])*i+o;s<u;)c[s]=t[s],++s;return c}},Wr=function(t,e){for(var n,l=t.length,i=l-e;i<--l;)n=t[i],t[i++]=t[l],t[l]=n},$r=function(t,e){function n(t,e){for(var n in t){var i=t[n];delete e[i.start],delete i.start,delete i.end,i.forEach((function(t){l[t<0?~t:t]=1})),o.push(i)}}var l={},i={},r={},o=[],a=-1;return e.forEach((function(n,l){var i,r=t.arcs[n<0?~n:n];r.length<3&&!r[1][0]&&!r[1][1]&&(i=e[++a],e[a]=n,e[l]=i)})),e.forEach((function(e){var n,l,o=function(e){var n,l=t.arcs[e<0?~e:e],i=l[0];return t.transform?(n=[0,0],l.forEach((function(t){n[0]+=t[0],n[1]+=t[1]}))):n=l[l.length-1],e<0?[n,i]:[i,n]}(e),a=o[0],s=o[1];if(n=r[a])if(delete r[n.end],n.push(e),n.end=s,l=i[s]){delete i[l.start];var u=l===n?n:n.concat(l);i[u.start=n.start]=r[u.end=l.end]=u}else i[n.start]=r[n.end]=n;else if(n=i[s])if(delete i[n.start],n.unshift(e),n.start=a,l=r[a]){delete r[l.end];var c=l===n?n:l.concat(n);i[c.start=l.start]=r[c.end=n.end]=c}else i[n.start]=r[n.end]=n;else i[(n=[e]).start=a]=r[n.end=s]=n})),n(r,i),n(i,r),e.forEach((function(t){l[t<0?~t:t]||o.push([t])})),o},Xr=function(t,e,n,l,i,r){3===arguments.length&&(l=r=Array,i=null);for(var o=new l(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),a=new r(t),s=t-1,u=0;u<t;++u)o[u]=i;return{set:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u]=r;if(++d>=t)throw new Error("full hashmap");c=o[u=u+1&s]}return o[u]=l,a[u]=r,r},maybeSet:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u];if(++d>=t)throw new Error("full hashmap");c=o[u=u+1&s]}return o[u]=l,a[u]=r,r},get:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u];if(++d>=t)break;c=o[u=u+1&s]}return r},keys:function(){for(var t=[],e=0,n=o.length;e<n;++e){var l=o[e];l!=i&&t.push(l)}return t}}},Kr=function(t,e){return t[0]===e[0]&&t[1]===e[1]},Jr=new ArrayBuffer(16),Qr=new Float64Array(Jr),Zr=new Uint32Array(Jr),to=function(t){Qr[0]=t[0],Qr[1]=t[1];var e=Zr[0]^Zr[1];return 2147483647&(e<<5^e>>7^Zr[2]^Zr[3])},eo=function(t){this.points=t.points||[],this.duration=t.duration||1e4,this.sharpness=t.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=t.stepLength||60,this.length=this.points.length,this.delay=0;for(var e=0;e<this.length;e++)this.points[e].z=this.points[e].z||0;for(e=0;e<this.length-1;e++){var n=this.points[e],l=this.points[e+1];this.centers.push({x:(n.x+l.x)/2,y:(n.y+l.y)/2,z:(n.z+l.z)/2})}for(this.controls.push([this.points[0],this.points[0]]),e=0;e<this.centers.length-1;e++){n=this.centers[e],l=this.centers[e+1];var i=this.points[e+1].x-(this.centers[e].x+this.centers[e+1].x)/2,r=this.points[e+1].y-(this.centers[e].y+this.centers[e+1].y)/2,o=this.points[e+1].z-(this.centers[e].y+this.centers[e+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e].y+r),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e].z+o)},{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e+1].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e+1].y+r),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e+1].z+o)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this};eo.prototype.cacheSteps=function(t){var e=[],n=this.pos(0);e.push(0);for(var l=0;l<this.duration;l+=10){var i=this.pos(l);Math.sqrt((i.x-n.x)*(i.x-n.x)+(i.y-n.y)*(i.y-n.y)+(i.z-n.z)*(i.z-n.z))>t&&(e.push(l),n=i)}return e},eo.prototype.vector=function(t){var e=this.pos(t+10),n=this.pos(t-10);return{angle:180*Math.atan2(e.y-n.y,e.x-n.x)/3.14,speed:Math.sqrt((n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y)+(n.z-e.z)*(n.z-e.z))}},eo.prototype.pos=function(t){var e=t-this.delay;e<0&&(e=0),e>this.duration&&(e=this.duration-1);var n=e/this.duration;if(n>=1)return this.points[this.length-1];var l=Math.floor((this.points.length-1)*n);return function(t,e,n,l,i){var r=function(t){var e=t*t;return[e*t,3*e*(1-t),3*t*(1-t)*(1-t),(1-t)*(1-t)*(1-t)]}(t);return{x:i.x*r[0]+l.x*r[1]+n.x*r[2]+e.x*r[3],y:i.y*r[0]+l.y*r[1]+n.y*r[2]+e.y*r[3],z:i.z*r[0]+l.z*r[1]+n.z*r[2]+e.z*r[3]}}((this.length-1)*n-l,this.points[l],this.controls[l][1],this.controls[l+1][0],this.points[l+1])};var no=de,lo=de;de.deviation=function(t,e,n,l){var i=e&&e.length,r=Math.abs(xe(t,0,i?e[0]*n:t.length,n));if(i)for(var o=0,a=e.length;o<a;o++)r-=Math.abs(xe(t,e[o]*n,o<a-1?e[o+1]*n:t.length,n));var s=0;for(o=0;o<l.length;o+=3){var u=l[o]*n,c=l[o+1]*n,d=l[o+2]*n;s+=Math.abs((t[u]-t[d])*(t[c+1]-t[u+1])-(t[u]-t[c])*(t[d+1]-t[u+1]))}return 0===r&&0===s?0:Math.abs((s-r)/r)},de.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},l=0,i=0;i<t.length;i++){for(var r=0;r<t[i].length;r++)for(var o=0;o<e;o++)n.vertices.push(t[i][r][o]);i>0&&n.holes.push(l+=t[i-1].length)}return n},no.default=lo,De.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],l=this.toBBox;if(!Ye(t,e))return n;for(var i,r,o,a,s=[];e;){for(i=0,r=e.children.length;i<r;i++)o=e.children[i],Ye(t,a=e.leaf?l(o):o)&&(e.leaf?n.push(o):Ne(t,a)?this._all(o,n):s.push(o));e=s.pop()}return n},collides:function(t){var e=this.data,n=this.toBBox;if(!Ye(t,e))return!1;for(var l,i,r,o,a=[];e;){for(l=0,i=e.children.length;l<i;l++)if(r=e.children[l],Ye(t,o=e.leaf?n(r):r)){if(e.leaf||Ne(t,o))return!0;a.push(r)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}var l=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===l.height)this._splitRoot(this.data,l);else{if(this.data.height<l.height){var i=this.data;this.data=l,l=i}this._insert(l,this.data.height-l.height-1,!0)}else this.data=l;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=Ue([]),this},remove:function(t,e){if(!t)return this;for(var n,l,i,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf&&-1!==(i=function(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}(t,o.children,e)))return o.children.splice(i,1),s.push(o),this._condense(s),this;r||o.leaf||!Ne(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},toBBox:function(t){return t},compareMinX:Le,compareMinY:je,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},_build:function(t,e,n,l){var i,r=n-e+1,o=this._maxEntries;if(r<=o)return Te(i=Ue(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,l-1))),(i=Ue([])).leaf=!1,i.height=l;var a,s,u,c,d=Math.ceil(r/o),h=d*Math.ceil(Math.sqrt(o));for(Be(t,e,n,h,this.compareMinX),a=e;a<=n;a+=h)for(Be(t,a,u=Math.min(a+h-1,n),d,this.compareMinY),s=a;s<=u;s+=d)c=Math.min(s+d-1,u),i.children.push(this._build(t,s,c,l-1));return Te(i,this.toBBox),i},_chooseSubtree:function(t,e,n,l){for(var i,r,o,a,s,u,c,d;l.push(e),!e.leaf&&l.length-1!==n;){for(c=d=1/0,i=0,r=e.children.length;i<r;i++)s=Re(o=e.children[i]),(u=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,o)-s)<d?(d=u,c=s<c?s:c,a=o):u===d&&s<c&&(c=s,a=o);e=a||e.children[0]}return e},_insert:function(t,e,n){var l=n?t:(0,this.toBBox)(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),Ie(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},_split:function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var r=this._chooseSplitIndex(n,i,l),o=Ue(n.children.splice(r,n.children.length-r));o.height=n.height,o.leaf=n.leaf,Te(n,this.toBBox),Te(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(n,o)},_splitRoot:function(t,e){this.data=Ue([t,e]),this.data.height=t.height+1,this.data.leaf=!1,Te(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var l,i,r,o,a,s,u,c;for(s=u=1/0,l=e;l<=n-e;l++)o=function(t,e){var n=Math.max(t.minX,e.minX),l=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,r-l)}(i=Ee(t,0,l,this.toBBox),r=Ee(t,l,n,this.toBBox)),a=Re(i)+Re(r),o<s?(s=o,c=l,u=a<u?a:u):o===s&&a<u&&(u=a,c=l);return c},_chooseSplitAxis:function(t,e,n){var l=t.leaf?this.compareMinX:Le,i=t.leaf?this.compareMinY:je;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},_allDistMargin:function(t,e,n,l){t.children.sort(l);var i,r,o=this.toBBox,a=Ee(t,0,e,o),s=Ee(t,n-e,n,o),u=Fe(a)+Fe(s);for(i=e;i<n-e;i++)r=t.children[i],Ie(a,t.leaf?o(r):r),u+=Fe(a);for(i=n-e-1;i>=e;i--)r=t.children[i],Ie(s,t.leaf?o(r):r),u+=Fe(s);return u},_adjustParentBBoxes:function(t,e,n){for(var l=n;l>=0;l--)Ie(e[l],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():Te(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var io=Object.freeze({toMercator:Qe,toWgs84:Ze}),ro=6378137,oo=function(t,e,n,l,i){this.coord=t,this.param=e,this.ringAndEdgeIn=n,this.ringAndEdgeOut=l,this.nxtIsectAlongEdgeIn=i},ao=function(t,e,n,l,i,r,o){this.coord=t,this.ringAndEdge1=e,this.ringAndEdge2=n,this.nxtIsectAlongRingAndEdge1=l,this.nxtIsectAlongRingAndEdge2=i,this.ringAndEdge1Walkable=r,this.ringAndEdge2Walkable=o};Number.prototype.modulo=function(t){return(this%t+t)%t};var so=Math.PI/180,uo=180/Math.PI,co=function(t,e){this.lon=t,this.lat=e,this.x=so*t,this.y=so*e};co.prototype.view=function(){return String(this.lon).slice(0,4)+","+String(this.lat).slice(0,4)},co.prototype.antipode=function(){return new co(this.lon<0?180+this.lon:-1*(180-this.lon),-1*this.lat)};var ho=function(){this.coords=[],this.length=0};ho.prototype.move_to=function(t){this.length++,this.coords.push(t)};var po=function(t){this.properties=t||{},this.geometries=[]};po.prototype.json=function(){if(this.geometries.length<=0)return{geometry:{type:"LineString",coordinates:null},type:"Feature",properties:this.properties};if(1===this.geometries.length)return{geometry:{type:"LineString",coordinates:this.geometries[0].coords},type:"Feature",properties:this.properties};for(var t=[],e=0;e<this.geometries.length;e++)t.push(this.geometries[e].coords);return{geometry:{type:"MultiLineString",coordinates:t},type:"Feature",properties:this.properties}},po.prototype.wkt=function(){for(var t="",e="LINESTRING(",n=function(t){e+=t[0]+" "+t[1]+","},l=0;l<this.geometries.length;l++){if(0===this.geometries[l].coords.length)return"LINESTRING(empty)";this.geometries[l].coords.forEach(n),t+=e.substring(0,e.length-1)+")"}return t};var fo=function(t,e,n){if(!t||void 0===t.x||void 0===t.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");if(!e||void 0===e.x||void 0===e.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");this.start=new co(t.x,t.y),this.end=new co(e.x,e.y),this.properties=n||{};var l=this.start.x-this.end.x,i=Math.pow(Math.sin((this.start.y-this.end.y)/2),2)+Math.cos(this.start.y)*Math.cos(this.end.y)*Math.pow(Math.sin(l/2),2);if(this.g=2*Math.asin(Math.sqrt(i)),this.g===Math.PI)throw new Error("it appears "+t.view()+" and "+e.view()+" are 'antipodal', e.g diametrically opposite, thus there is no single route but rather infinite");if(isNaN(this.g))throw new Error("could not calculate great circle between "+t+" and "+e)};fo.prototype.interpolate=function(t){var e=Math.sin((1-t)*this.g)/Math.sin(this.g),n=Math.sin(t*this.g)/Math.sin(this.g),l=e*Math.cos(this.start.y)*Math.cos(this.start.x)+n*Math.cos(this.end.y)*Math.cos(this.end.x),i=e*Math.cos(this.start.y)*Math.sin(this.start.x)+n*Math.cos(this.end.y)*Math.sin(this.end.x),r=e*Math.sin(this.start.y)+n*Math.sin(this.end.y),o=uo*Math.atan2(r,Math.sqrt(Math.pow(l,2)+Math.pow(i,2)));return[uo*Math.atan2(i,l),o]},fo.prototype.Arc=function(t,e){var n=[];if(!t||t<=2)n.push([this.start.lon,this.start.lat]),n.push([this.end.lon,this.end.lat]);else for(var l=1/(t-1),i=0;i<t;++i){var r=this.interpolate(l*i);n.push(r)}for(var o=!1,a=0,s=e&&e.offset?e.offset:10,u=180-s,c=-180+s,d=360-s,h=1;h<n.length;++h){var p=n[h-1][0],f=n[h][0],b=Math.abs(f-p);b>d&&(f>u&&p<c||p>u&&f<c)?o=!0:b>a&&(a=b)}var m=[];if(o&&a<s){var g=[];m.push(g);for(var _=0;_<n.length;++_){var y=parseFloat(n[_][0]);if(_>0&&Math.abs(y-n[_-1][0])>d){var A=parseFloat(n[_-1][0]),v=parseFloat(n[_-1][1]),C=parseFloat(n[_][0]),w=parseFloat(n[_][1]);if(A>-180&&A<c&&180===C&&_+1<n.length&&n[_-1][0]>-180&&n[_-1][0]<c){g.push([-180,n[_][1]]),_++,g.push([n[_][0],n[_][1]]);continue}if(A>u&&A<180&&-180===C&&_+1<n.length&&n[_-1][0]>u&&n[_-1][0]<180){g.push([180,n[_][1]]),_++,g.push([n[_][0],n[_][1]]);continue}if(A<c&&C>u){var P=A;A=C,C=P;var x=v;v=w,w=x}if(A>u&&C<c&&(C+=360),A<=180&&C>=180&&A<C){var S=(180-A)/(C-A),k=S*w+(1-S)*v;g.push([n[_-1][0]>u?180:-180,k]),(g=[]).push([n[_-1][0]>u?-180:180,k]),m.push(g)}else m.push(g=[]);g.push([y,n[_][1]])}else g.push([n[_][0],n[_][1]])}}else{var M=[];m.push(M);for(var O=0;O<n.length;++O)M.push([n[O][0],n[O][1]])}for(var D=new po(this.properties),T=0;T<m.length;++T){var E=new ho;D.geometries.push(E);for(var I=m[T],L=0;L<I.length;++L)E.move_to(I[L])}return D};var bo=Ln;Ln.polyline=Ln,Ln.polygon=function(t,e){var n,l,i,r,o,a,s;for(l=1;l<=8;l*=2){for(n=[],r=!(Rn(i=t[t.length-1],e)&l),o=0;o<t.length;o++)(s=!(Rn(a=t[o],e)&l))!==r&&n.push(jn(i,a,l,e)),s&&n.push(a),i=a,r=s;if(!(t=n).length)break}return n};var mo=Array.prototype.slice,go={successCallback:null,verbose:!1,polygons:!1},_o={},yo=64,Ao=16,vo=4,Co=1,wo=[],Po=[],xo=[],So=[],ko=[],Mo=[],Oo=[],Do=[],To=[],Eo=[],Io=[],Lo=[],jo=[],Ro=[],Fo=[],No=[],Yo=[],Uo=[],Bo=[],zo=[],Go=[],Ho=[],Vo=[],qo=[];Oo[85]=Eo[85]=-1,Do[85]=Io[85]=0,To[85]=Lo[85]=1,Bo[85]=Ho[85]=1,zo[85]=Vo[85]=0,Go[85]=qo[85]=1,wo[85]=So[85]=0,Po[85]=ko[85]=-1,xo[85]=Fo[85]=0,No[85]=jo[85]=0,Yo[85]=Ro[85]=1,Mo[85]=Uo[85]=1,Ho[1]=Ho[169]=0,Vo[1]=Vo[169]=-1,qo[1]=qo[169]=0,jo[1]=jo[169]=-1,Ro[1]=Ro[169]=0,Fo[1]=Fo[169]=0,Eo[4]=Eo[166]=0,Io[4]=Io[166]=-1,Lo[4]=Lo[166]=1,No[4]=No[166]=1,Yo[4]=Yo[166]=0,Uo[4]=Uo[166]=0,Oo[16]=Oo[154]=0,Do[16]=Do[154]=1,To[16]=To[154]=1,So[16]=So[154]=1,ko[16]=ko[154]=0,Mo[16]=Mo[154]=1,Bo[64]=Bo[106]=0,zo[64]=zo[106]=1,Go[64]=Go[106]=0,wo[64]=wo[106]=-1,Po[64]=Po[106]=0,xo[64]=xo[106]=1,Bo[2]=Bo[168]=0,zo[2]=zo[168]=-1,Go[2]=Go[168]=1,Ho[2]=Ho[168]=0,Vo[2]=Vo[168]=-1,qo[2]=qo[168]=0,jo[2]=jo[168]=-1,Ro[2]=Ro[168]=0,Fo[2]=Fo[168]=0,No[2]=No[168]=-1,Yo[2]=Yo[168]=0,Uo[2]=Uo[168]=1,Oo[8]=Oo[162]=0,Do[8]=Do[162]=-1,To[8]=To[162]=0,Eo[8]=Eo[162]=0,Io[8]=Io[162]=-1,Lo[8]=Lo[162]=1,jo[8]=jo[162]=1,Ro[8]=Ro[162]=0,Fo[8]=Fo[162]=1,No[8]=No[162]=1,Yo[8]=Yo[162]=0,Uo[8]=Uo[162]=0,Oo[32]=Oo[138]=0,Do[32]=Do[138]=1,To[32]=To[138]=1,Eo[32]=Eo[138]=0,Io[32]=Io[138]=1,Lo[32]=Lo[138]=0,wo[32]=wo[138]=1,Po[32]=Po[138]=0,xo[32]=xo[138]=0,So[32]=So[138]=1,ko[32]=ko[138]=0,Mo[32]=Mo[138]=1,Ho[128]=Ho[42]=0,Vo[128]=Vo[42]=1,qo[128]=qo[42]=1,Bo[128]=Bo[42]=0,zo[128]=zo[42]=1,Go[128]=Go[42]=0,wo[128]=wo[42]=-1,Po[128]=Po[42]=0,xo[128]=xo[42]=1,So[128]=So[42]=-1,ko[128]=ko[42]=0,Mo[128]=Mo[42]=0,Eo[5]=Eo[165]=-1,Io[5]=Io[165]=0,Lo[5]=Lo[165]=0,Ho[5]=Ho[165]=1,Vo[5]=Vo[165]=0,qo[5]=qo[165]=0,No[20]=No[150]=0,Yo[20]=Yo[150]=1,Uo[20]=Uo[150]=1,So[20]=So[150]=0,ko[20]=ko[150]=-1,Mo[20]=Mo[150]=1,Oo[80]=Oo[90]=-1,Do[80]=Do[90]=0,To[80]=To[90]=1,Bo[80]=Bo[90]=1,zo[80]=zo[90]=0,Go[80]=Go[90]=1,jo[65]=jo[105]=0,Ro[65]=Ro[105]=1,Fo[65]=Fo[105]=0,wo[65]=wo[105]=0,Po[65]=Po[105]=-1,xo[65]=xo[105]=0,Oo[160]=Oo[10]=-1,Do[160]=Do[10]=0,To[160]=To[10]=1,Eo[160]=Eo[10]=-1,Io[160]=Io[10]=0,Lo[160]=Lo[10]=0,Ho[160]=Ho[10]=1,Vo[160]=Vo[10]=0,qo[160]=qo[10]=0,Bo[160]=Bo[10]=1,zo[160]=zo[10]=0,Go[160]=Go[10]=1,No[130]=No[40]=0,Yo[130]=Yo[40]=1,Uo[130]=Uo[40]=1,jo[130]=jo[40]=0,Ro[130]=Ro[40]=1,Fo[130]=Fo[40]=0,wo[130]=wo[40]=0,Po[130]=Po[40]=-1,xo[130]=xo[40]=0,So[130]=So[40]=0,ko[130]=ko[40]=-1,Mo[130]=Mo[40]=1,Eo[37]=Eo[133]=0,Io[37]=Io[133]=1,Lo[37]=Lo[133]=1,Ho[37]=Ho[133]=0,Vo[37]=Vo[133]=1,qo[37]=qo[133]=0,wo[37]=wo[133]=-1,Po[37]=Po[133]=0,xo[37]=xo[133]=0,So[37]=So[133]=1,ko[37]=ko[133]=0,Mo[37]=Mo[133]=0,No[148]=No[22]=-1,Yo[148]=Yo[22]=0,Uo[148]=Uo[22]=0,Ho[148]=Ho[22]=0,Vo[148]=Vo[22]=-1,qo[148]=qo[22]=1,Bo[148]=Bo[22]=0,zo[148]=zo[22]=1,Go[148]=Go[22]=1,So[148]=So[22]=-1,ko[148]=ko[22]=0,Mo[148]=Mo[22]=1,Oo[82]=Oo[88]=0,Do[82]=Do[88]=-1,To[82]=To[88]=1,No[82]=No[88]=1,Yo[82]=Yo[88]=0,Uo[82]=Uo[88]=1,jo[82]=jo[88]=-1,Ro[82]=Ro[88]=0,Fo[82]=Fo[88]=1,Bo[82]=Bo[88]=0,zo[82]=zo[88]=-1,Go[82]=Go[88]=0,Oo[73]=Oo[97]=0,Do[73]=Do[97]=1,To[73]=To[97]=0,Eo[73]=Eo[97]=0,Io[73]=Io[97]=-1,Lo[73]=Lo[97]=0,jo[73]=jo[97]=1,Ro[73]=Ro[97]=0,Fo[73]=Fo[97]=0,wo[73]=wo[97]=1,Po[73]=Po[97]=0,xo[73]=xo[97]=1,Oo[145]=Oo[25]=0,Do[145]=Do[25]=-1,To[145]=To[25]=0,jo[145]=jo[25]=1,Ro[145]=Ro[25]=0,Fo[145]=Fo[25]=1,Ho[145]=Ho[25]=0,Vo[145]=Vo[25]=1,qo[145]=qo[25]=1,So[145]=So[25]=-1,ko[145]=ko[25]=0,Mo[145]=Mo[25]=0,Eo[70]=Eo[100]=0,Io[70]=Io[100]=1,Lo[70]=Lo[100]=0,No[70]=No[100]=-1,Yo[70]=Yo[100]=0,Uo[70]=Uo[100]=1,Bo[70]=Bo[100]=0,zo[70]=zo[100]=-1,Go[70]=Go[100]=1,wo[70]=wo[100]=1,Po[70]=Po[100]=0,xo[70]=xo[100]=0,Eo[101]=Eo[69]=0,Io[101]=Io[69]=1,Lo[101]=Lo[69]=0,wo[101]=wo[69]=1,Po[101]=Po[69]=0,xo[101]=xo[69]=0,Ho[149]=Ho[21]=0,Vo[149]=Vo[21]=1,qo[149]=qo[21]=1,So[149]=So[21]=-1,ko[149]=ko[21]=0,Mo[149]=Mo[21]=0,No[86]=No[84]=-1,Yo[86]=Yo[84]=0,Uo[86]=Uo[84]=1,Bo[86]=Bo[84]=0,zo[86]=zo[84]=-1,Go[86]=Go[84]=1,Oo[89]=Oo[81]=0,Do[89]=Do[81]=-1,To[89]=To[81]=0,jo[89]=jo[81]=1,Ro[89]=Ro[81]=0,Fo[89]=Fo[81]=1,Oo[96]=Oo[74]=0,Do[96]=Do[74]=1,To[96]=To[74]=0,Eo[96]=Eo[74]=-1,Io[96]=Io[74]=0,Lo[96]=Lo[74]=1,Bo[96]=Bo[74]=1,zo[96]=zo[74]=0,Go[96]=Go[74]=0,wo[96]=wo[74]=1,Po[96]=Po[74]=0,xo[96]=xo[74]=1,Oo[24]=Oo[146]=0,Do[24]=Do[146]=-1,To[24]=To[146]=1,No[24]=No[146]=1,Yo[24]=Yo[146]=0,Uo[24]=Uo[146]=1,jo[24]=jo[146]=0,Ro[24]=Ro[146]=1,Fo[24]=Fo[146]=1,So[24]=So[146]=0,ko[24]=ko[146]=-1,Mo[24]=Mo[146]=0,Eo[6]=Eo[164]=-1,Io[6]=Io[164]=0,Lo[6]=Lo[164]=1,No[6]=No[164]=-1,Yo[6]=Yo[164]=0,Uo[6]=Uo[164]=0,Ho[6]=Ho[164]=0,Vo[6]=Vo[164]=-1,qo[6]=qo[164]=1,Bo[6]=Bo[164]=1,zo[6]=zo[164]=0,Go[6]=Go[164]=0,jo[129]=jo[41]=0,Ro[129]=Ro[41]=1,Fo[129]=Fo[41]=1,Ho[129]=Ho[41]=0,Vo[129]=Vo[41]=1,qo[129]=qo[41]=0,wo[129]=wo[41]=-1,Po[129]=Po[41]=0,xo[129]=xo[41]=0,So[129]=So[41]=0,ko[129]=ko[41]=-1,Mo[129]=Mo[41]=0,No[66]=No[104]=0,Yo[66]=Yo[104]=1,Uo[66]=Uo[104]=0,jo[66]=jo[104]=-1,Ro[66]=Ro[104]=0,Fo[66]=Fo[104]=1,Bo[66]=Bo[104]=0,zo[66]=zo[104]=-1,Go[66]=Go[104]=0,wo[66]=wo[104]=0,Po[66]=Po[104]=-1,xo[66]=xo[104]=1,Oo[144]=Oo[26]=-1,Do[144]=Do[26]=0,To[144]=To[26]=0,Ho[144]=Ho[26]=1,Vo[144]=Vo[26]=0,qo[144]=qo[26]=1,Bo[144]=Bo[26]=0,zo[144]=zo[26]=1,Go[144]=Go[26]=1,So[144]=So[26]=-1,ko[144]=ko[26]=0,Mo[144]=Mo[26]=1,Eo[36]=Eo[134]=0,Io[36]=Io[134]=1,Lo[36]=Lo[134]=1,No[36]=No[134]=0,Yo[36]=Yo[134]=1,Uo[36]=Uo[134]=0,wo[36]=wo[134]=0,Po[36]=Po[134]=-1,xo[36]=xo[134]=1,So[36]=So[134]=1,ko[36]=ko[134]=0,Mo[36]=Mo[134]=0,Oo[9]=Oo[161]=-1,Do[9]=Do[161]=0,To[9]=To[161]=0,Eo[9]=Eo[161]=0,Io[9]=Io[161]=-1,Lo[9]=Lo[161]=0,jo[9]=jo[161]=1,Ro[9]=Ro[161]=0,Fo[9]=Fo[161]=0,Ho[9]=Ho[161]=1,Vo[9]=Vo[161]=0,qo[9]=qo[161]=1,Oo[136]=0,Do[136]=1,To[136]=1,Eo[136]=0,Io[136]=1,Lo[136]=0,No[136]=-1,Yo[136]=0,Uo[136]=1,jo[136]=-1,Ro[136]=0,Fo[136]=0,Ho[136]=0,Vo[136]=-1,qo[136]=0,Bo[136]=0,zo[136]=-1,Go[136]=1,wo[136]=1,Po[136]=0,xo[136]=0,So[136]=1,ko[136]=0,Mo[136]=1,Oo[34]=0,Do[34]=-1,To[34]=0,Eo[34]=0,Io[34]=-1,Lo[34]=1,No[34]=1,Yo[34]=0,Uo[34]=0,jo[34]=1,Ro[34]=0,Fo[34]=1,Ho[34]=0,Vo[34]=1,qo[34]=1,Bo[34]=0,zo[34]=1,Go[34]=0,wo[34]=-1,Po[34]=0,xo[34]=1,So[34]=-1,ko[34]=0,Mo[34]=0,Oo[35]=0,Do[35]=1,To[35]=1,Eo[35]=0,Io[35]=-1,Lo[35]=1,No[35]=1,Yo[35]=0,Uo[35]=0,jo[35]=-1,Ro[35]=0,Fo[35]=0,Ho[35]=0,Vo[35]=-1,qo[35]=0,Bo[35]=0,zo[35]=1,Go[35]=0,wo[35]=-1,Po[35]=0,xo[35]=1,So[35]=1,ko[35]=0,Mo[35]=1,Oo[153]=0,Do[153]=1,To[153]=1,jo[153]=-1,Ro[153]=0,Fo[153]=0,Ho[153]=0,Vo[153]=-1,qo[153]=0,So[153]=1,ko[153]=0,Mo[153]=1,Eo[102]=0,Io[102]=-1,Lo[102]=1,No[102]=1,Yo[102]=0,Uo[102]=0,Bo[102]=0,zo[102]=1,Go[102]=0,wo[102]=-1,Po[102]=0,xo[102]=1,Oo[155]=0,Do[155]=-1,To[155]=0,jo[155]=1,Ro[155]=0,Fo[155]=1,Ho[155]=0,Vo[155]=1,qo[155]=1,So[155]=-1,ko[155]=0,Mo[155]=0,Eo[103]=0,Io[103]=1,Lo[103]=0,No[103]=-1,Yo[103]=0,Uo[103]=1,Bo[103]=0,zo[103]=-1,Go[103]=1,wo[103]=1,Po[103]=0,xo[103]=0,Oo[152]=0,Do[152]=1,To[152]=1,No[152]=-1,Yo[152]=0,Uo[152]=1,jo[152]=-1,Ro[152]=0,Fo[152]=0,Ho[152]=0,Vo[152]=-1,qo[152]=0,Bo[152]=0,zo[152]=-1,Go[152]=1,So[152]=1,ko[152]=0,Mo[152]=1,Oo[156]=0,Do[156]=-1,To[156]=1,No[156]=1,Yo[156]=0,Uo[156]=1,jo[156]=-1,Ro[156]=0,Fo[156]=0,Ho[156]=0,Vo[156]=-1,qo[156]=0,Bo[156]=0,zo[156]=1,Go[156]=1,So[156]=-1,ko[156]=0,Mo[156]=1,Oo[137]=0,Do[137]=1,To[137]=1,Eo[137]=0,Io[137]=1,Lo[137]=0,jo[137]=-1,Ro[137]=0,Fo[137]=0,Ho[137]=0,Vo[137]=-1,qo[137]=0,wo[137]=1,Po[137]=0,xo[137]=0,So[137]=1,ko[137]=0,Mo[137]=1,Oo[139]=0,Do[139]=1,To[139]=1,Eo[139]=0,Io[139]=-1,Lo[139]=0,jo[139]=1,Ro[139]=0,Fo[139]=0,Ho[139]=0,Vo[139]=1,qo[139]=0,wo[139]=-1,Po[139]=0,xo[139]=0,So[139]=1,ko[139]=0,Mo[139]=1,Oo[98]=0,Do[98]=-1,To[98]=0,Eo[98]=0,Io[98]=-1,Lo[98]=1,No[98]=1,Yo[98]=0,Uo[98]=0,jo[98]=1,Ro[98]=0,Fo[98]=1,Bo[98]=0,zo[98]=1,Go[98]=0,wo[98]=-1,Po[98]=0,xo[98]=1,Oo[99]=0,Do[99]=1,To[99]=0,Eo[99]=0,Io[99]=-1,Lo[99]=1,No[99]=1,Yo[99]=0,Uo[99]=0,jo[99]=-1,Ro[99]=0,Fo[99]=1,Bo[99]=0,zo[99]=-1,Go[99]=0,wo[99]=1,Po[99]=0,xo[99]=1,Eo[38]=0,Io[38]=-1,Lo[38]=1,No[38]=1,Yo[38]=0,Uo[38]=0,Ho[38]=0,Vo[38]=1,qo[38]=1,Bo[38]=0,zo[38]=1,Go[38]=0,wo[38]=-1,Po[38]=0,xo[38]=1,So[38]=-1,ko[38]=0,Mo[38]=0,Eo[39]=0,Io[39]=1,Lo[39]=1,No[39]=-1,Yo[39]=0,Uo[39]=0,Ho[39]=0,Vo[39]=-1,qo[39]=1,Bo[39]=0,zo[39]=1,Go[39]=0,wo[39]=-1,Po[39]=0,xo[39]=1,So[39]=1,ko[39]=0,Mo[39]=0;var Wo=function(t){return[[t.bottomleft,0],[0,0],[0,t.leftbottom]]},$o=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0]]},Xo=function(t){return[[t.topright,1],[1,1],[1,t.righttop]]},Ko=function(t){return[[0,t.lefttop],[0,1],[t.topleft,1]]},Jo=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop]]},Qo=function(t){return[[t.bottomright,0],[t.bottomleft,0],[1,t.righttop],[1,t.rightbottom]]},Zo=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.topleft,1],[t.topright,1]]},ta=function(t){return[[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},ea=[],na=[],la=[],ia=[],ra=[],oa=[],aa=[],sa=[];ia[1]=ra[1]=18,ia[169]=ra[169]=18,la[4]=na[4]=12,la[166]=na[166]=12,ea[16]=sa[16]=4,ea[154]=sa[154]=4,oa[64]=aa[64]=22,oa[106]=aa[106]=22,la[2]=oa[2]=17,ia[2]=ra[2]=18,la[168]=oa[168]=17,ia[168]=ra[168]=18,ea[8]=ia[8]=9,na[8]=la[8]=12,ea[162]=ia[162]=9,na[162]=la[162]=12,ea[32]=sa[32]=4,na[32]=aa[32]=1,ea[138]=sa[138]=4,na[138]=aa[138]=1,ra[128]=sa[128]=21,oa[128]=aa[128]=22,ra[42]=sa[42]=21,oa[42]=aa[42]=22,na[5]=ra[5]=14,na[165]=ra[165]=14,la[20]=sa[20]=6,la[150]=sa[150]=6,ea[80]=oa[80]=11,ea[90]=oa[90]=11,ia[65]=aa[65]=3,ia[105]=aa[105]=3,ea[160]=oa[160]=11,na[160]=ra[160]=14,ea[10]=oa[10]=11,na[10]=ra[10]=14,la[130]=sa[130]=6,ia[130]=aa[130]=3,la[40]=sa[40]=6,ia[40]=aa[40]=3,na[101]=aa[101]=1,na[69]=aa[69]=1,ra[149]=sa[149]=21,ra[21]=sa[21]=21,la[86]=oa[86]=17,la[84]=oa[84]=17,ea[89]=ia[89]=9,ea[81]=ia[81]=9,ea[96]=aa[96]=0,na[96]=oa[96]=15,ea[74]=aa[74]=0,na[74]=oa[74]=15,ea[24]=la[24]=8,ia[24]=sa[24]=7,ea[146]=la[146]=8,ia[146]=sa[146]=7,na[6]=oa[6]=15,la[6]=ra[6]=16,na[164]=oa[164]=15,la[164]=ra[164]=16,ia[129]=sa[129]=7,ra[129]=aa[129]=20,ia[41]=sa[41]=7,ra[41]=aa[41]=20,la[66]=aa[66]=2,ia[66]=oa[66]=19,la[104]=aa[104]=2,ia[104]=oa[104]=19,ea[144]=ra[144]=10,oa[144]=sa[144]=23,ea[26]=ra[26]=10,oa[26]=sa[26]=23,na[36]=sa[36]=5,la[36]=aa[36]=2,na[134]=sa[134]=5,la[134]=aa[134]=2,ea[9]=ra[9]=10,na[9]=ia[9]=13,ea[161]=ra[161]=10,na[161]=ia[161]=13,na[37]=sa[37]=5,ra[37]=aa[37]=20,na[133]=sa[133]=5,ra[133]=aa[133]=20,la[148]=ra[148]=16,oa[148]=sa[148]=23,la[22]=ra[22]=16,oa[22]=sa[22]=23,ea[82]=la[82]=8,ia[82]=oa[82]=19,ea[88]=la[88]=8,ia[88]=oa[88]=19,ea[73]=aa[73]=0,na[73]=ia[73]=13,ea[97]=aa[97]=0,na[97]=ia[97]=13,ea[145]=ia[145]=9,ra[145]=sa[145]=21,ea[25]=ia[25]=9,ra[25]=sa[25]=21,na[70]=aa[70]=1,la[70]=oa[70]=17,na[100]=aa[100]=1,la[100]=oa[100]=17,ea[34]=ia[34]=9,na[34]=la[34]=12,ra[34]=sa[34]=21,oa[34]=aa[34]=22,ea[136]=sa[136]=4,na[136]=aa[136]=1,la[136]=oa[136]=17,ia[136]=ra[136]=18,ea[35]=sa[35]=4,na[35]=la[35]=12,ia[35]=ra[35]=18,oa[35]=aa[35]=22,ea[153]=sa[153]=4,ia[153]=ra[153]=18,na[102]=la[102]=12,oa[102]=aa[102]=22,ea[155]=ia[155]=9,ra[155]=sa[155]=23,na[103]=aa[103]=1,la[103]=oa[103]=17,ea[152]=sa[152]=4,la[152]=oa[152]=17,ia[152]=ra[152]=18,ea[156]=la[156]=8,ia[156]=ra[156]=18,oa[156]=sa[156]=23,ea[137]=sa[137]=4,na[137]=aa[137]=1,ia[137]=ra[137]=18,ea[139]=sa[139]=4,na[139]=ia[139]=13,ra[139]=aa[139]=20,ea[98]=ia[98]=9,na[98]=la[98]=12,oa[98]=aa[98]=22,ea[99]=aa[99]=0,na[99]=la[99]=12,ia[99]=oa[99]=19,na[38]=la[38]=12,ra[38]=sa[38]=21,oa[38]=aa[38]=22,na[39]=sa[39]=5,la[39]=ra[39]=16,oa[39]=aa[39]=22;var ua=[];ua[1]=ua[169]=Wo,ua[4]=ua[166]=$o,ua[16]=ua[154]=Xo,ua[64]=ua[106]=Ko,ua[168]=ua[2]=Jo,ua[162]=ua[8]=Qo,ua[138]=ua[32]=Zo,ua[42]=ua[128]=ta,ua[5]=ua[165]=function(t){return[[0,0],[0,t.leftbottom],[1,t.rightbottom],[1,0]]},ua[20]=ua[150]=function(t){return[[1,0],[t.bottomright,0],[t.topright,1],[1,1]]},ua[80]=ua[90]=function(t){return[[1,1],[1,t.righttop],[0,t.lefttop],[0,1]]},ua[65]=ua[105]=function(t){return[[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},ua[160]=ua[10]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.leftbottom],[0,t.lefttop]]},ua[130]=ua[40]=function(t){return[[t.topleft,1],[t.topright,1],[t.bottomright,0],[t.bottomleft,0]]},ua[85]=function(){return[[0,0],[0,1],[1,1],[1,0]]},ua[101]=ua[69]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,1],[t.topleft,1]]},ua[149]=ua[21]=function(t){return[[t.topright,1],[1,1],[1,0],[0,0],[0,t.leftbottom]]},ua[86]=ua[84]=function(t){return[[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[1,1]]},ua[89]=ua[81]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,1]]},ua[96]=ua[74]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[24]=ua[146]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[t.topright,1]]},ua[6]=ua[164]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop]]},ua[129]=ua[41]=function(t){return[[t.topright,1],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1]]},ua[66]=ua[104]=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[144]=ua[26]=function(t){return[[1,1],[1,t.righttop],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[36]=ua[134]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[t.topleft,1],[t.topright,1]]},ua[9]=ua[161]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom]]},ua[37]=ua[133]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},ua[148]=ua[22]=function(t){return[[1,1],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[82]=ua[88]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1]]},ua[73]=ua[97]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},ua[145]=ua[25]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},ua[70]=ua[100]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[34]=function(t){return[ta(t),Qo(t)]},ua[35]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},ua[136]=function(t){return[Zo(t),Jo(t)]},ua[153]=function(t){return[Xo(t),Wo(t)]},ua[102]=function(t){return[$o(t),Ko(t)]},ua[155]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},ua[103]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[152]=function(t){return[Xo(t),Jo(t)]},ua[156]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[137]=function(t){return[Zo(t),Wo(t)]},ua[139]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},ua[98]=function(t){return[Qo(t),Ko(t)]},ua[99]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[38]=function(t){return[$o(t),ta(t)]},ua[39]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]};var ca=function t(e){this.id=t.buildId(e),this.coordinates=e,this.innerEdges=[],this.outerEdges=[],this.outerEdgesSorted=!1};ca.buildId=function(t){return t.join(",")},ca.prototype.removeInnerEdge=function(t){this.innerEdges=this.innerEdges.filter((function(e){return e.from.id!==t.from.id}))},ca.prototype.removeOuterEdge=function(t){this.outerEdges=this.outerEdges.filter((function(e){return e.to.id!==t.to.id}))},ca.prototype.addOuterEdge=function(t){this.outerEdges.push(t),this.outerEdgesSorted=!1},ca.prototype.sortOuterEdges=function(){var t=this;this.outerEdgesSorted||(this.outerEdges.sort((function(e,n){var l=e.to,i=n.to;if(l.coordinates[0]-t.coordinates[0]>=0&&i.coordinates[0]-t.coordinates[0]<0)return 1;if(l.coordinates[0]-t.coordinates[0]<0&&i.coordinates[0]-t.coordinates[0]>=0)return-1;if(l.coordinates[0]-t.coordinates[0]==0&&i.coordinates[0]-t.coordinates[0]==0)return l.coordinates[1]-t.coordinates[1]>=0||i.coordinates[1]-t.coordinates[1]>=0?l.coordinates[1]-i.coordinates[1]:i.coordinates[1]-l.coordinates[1];var r=al(t.coordinates,l.coordinates,i.coordinates);return r<0?1:r>0?-1:Math.pow(l.coordinates[0]-t.coordinates[0],2)+Math.pow(l.coordinates[1]-t.coordinates[1],2)-(Math.pow(i.coordinates[0]-t.coordinates[0],2)+Math.pow(i.coordinates[1]-t.coordinates[1],2))})),this.outerEdgesSorted=!0)},ca.prototype.getOuterEdges=function(){return this.sortOuterEdges(),this.outerEdges},ca.prototype.getOuterEdge=function(t){return this.sortOuterEdges(),this.outerEdges[t]},ca.prototype.addInnerEdge=function(t){this.innerEdges.push(t)};var da=function(t,e){this.from=t,this.to=e,this.next=void 0,this.label=void 0,this.symetric=void 0,this.ring=void 0,this.from.addOuterEdge(this),this.to.addInnerEdge(this)};da.prototype.getSymetric=function(){return this.symetric||(this.symetric=new da(this.to,this.from),this.symetric.symetric=this),this.symetric},da.prototype.deleteEdge=function(){this.from.removeOuterEdge(this),this.to.removeInnerEdge(this)},da.prototype.isEqual=function(t){return this.from.id===t.from.id&&this.to.id===t.to.id},da.prototype.toString=function(){return"Edge { "+this.from.id+" -> "+this.to.id+" }"},da.prototype.toLineString=function(){return a([this.from.coordinates,this.to.coordinates])},da.prototype.compareTo=function(t){return al(t.from.coordinates,t.to.coordinates,this.to.coordinates)};var ha=function(){this.edges=[],this.polygon=void 0,this.envelope=void 0},pa={length:{configurable:!0}};ha.prototype.push=function(t){this[this.edges.length]=t,this.edges.push(t),this.polygon=this.envelope=void 0},ha.prototype.get=function(t){return this.edges[t]},pa.length.get=function(){return this.edges.length},ha.prototype.forEach=function(t){this.edges.forEach(t)},ha.prototype.map=function(t){return this.edges.map(t)},ha.prototype.some=function(t){return this.edges.some(t)},ha.prototype.isValid=function(){return!0},ha.prototype.isHole=function(){var t=this,e=this.edges.reduce((function(e,n,l){return n.from.coordinates[1]>t.edges[e].from.coordinates[1]&&(e=l),e}),0),n=(0===e?this.length:e)-1,l=(e+1)%this.length,i=al(this.edges[n].from.coordinates,this.edges[e].from.coordinates,this.edges[l].from.coordinates);return 0===i?this.edges[n].from.coordinates[0]>this.edges[l].from.coordinates[0]:i>0},ha.prototype.toMultiPoint=function(){return d(this.edges.map((function(t){return t.from.coordinates})))},ha.prototype.toPolygon=function(){if(this.polygon)return this.polygon;var t=this.edges.map((function(t){return t.from.coordinates}));return t.push(this.edges[0].from.coordinates),this.polygon=r([t])},ha.prototype.getEnvelope=function(){return this.envelope?this.envelope:this.envelope=le(this.toPolygon())},ha.findEdgeRingContaining=function(t,e){var n,i,r=t.getEnvelope();return e.forEach((function(e){var o=e.getEnvelope();if(i&&(n=i.getEnvelope()),!function(t,e){var n=t.geometry.coordinates.map((function(t){return t[0]})),l=t.geometry.coordinates.map((function(t){return t[1]})),i=e.geometry.coordinates.map((function(t){return t[0]})),r=e.geometry.coordinates.map((function(t){return t[1]}));return Math.max(null,n)===Math.max(null,i)&&Math.max(null,l)===Math.max(null,r)&&Math.min(null,n)===Math.min(null,i)&&Math.min(null,l)===Math.min(null,r)}(o,r)&&sl(o,r)){var a=t.map((function(t){return t.from.coordinates})).find((function(t){return!e.some((function(e){return function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t,e.from.coordinates)}))}));a&&e.inside(l(a))&&(i&&!sl(n,o)||(i=e))}})),i},ha.prototype.inside=function(t){return Mt(t,this.toPolygon())},Object.defineProperties(ha.prototype,pa);var fa=function(){this.edges=[],this.nodes={}};fa.fromGeoJson=function(t){!function(t){if(!t)throw new Error("No geojson passed");if("FeatureCollection"!==t.type&&"GeometryCollection"!==t.type&&"MultiLineString"!==t.type&&"LineString"!==t.type&&"Feature"!==t.type)throw new Error("Invalid input type '"+t.type+"'. Geojson must be FeatureCollection, GeometryCollection, LineString, MultiLineString or Feature")}(t);var e=new fa;return R(t,(function(t){W(t,"LineString","Graph::fromGeoJson"),M(t,(function(t,n){if(t){var l=e.getNode(t),i=e.getNode(n);e.addEdge(l,i)}return n}))})),e},fa.prototype.getNode=function(t){var e=ca.buildId(t),n=this.nodes[e];return n||(n=this.nodes[e]=new ca(t)),n},fa.prototype.addEdge=function(t,e){var n=new da(t,e),l=n.getSymetric();this.edges.push(n),this.edges.push(l)},fa.prototype.deleteDangles=function(){var t=this;Object.keys(this.nodes).map((function(e){return t.nodes[e]})).forEach((function(e){return t._removeIfDangle(e)}))},fa.prototype._removeIfDangle=function(t){var e=this;if(t.innerEdges.length<=1){var n=t.getOuterEdges().map((function(t){return t.to}));this.removeNode(t),n.forEach((function(t){return e._removeIfDangle(t)}))}},fa.prototype.deleteCutEdges=function(){var t=this;this._computeNextCWEdges(),this._findLabeledEdgeRings(),this.edges.forEach((function(e){e.label===e.symetric.label&&(t.removeEdge(e.symetric),t.removeEdge(e))}))},fa.prototype._computeNextCWEdges=function(t){var e=this;void 0===t?Object.keys(this.nodes).forEach((function(t){return e._computeNextCWEdges(e.nodes[t])})):t.getOuterEdges().forEach((function(e,n){t.getOuterEdge((0===n?t.getOuterEdges().length:n)-1).symetric.next=e}))},fa.prototype._computeNextCCWEdges=function(t,e){for(var n,l,i=t.getOuterEdges(),r=i.length-1;r>=0;--r){var o=i[r],a=o.symetric,s=void 0,u=void 0;o.label===e&&(s=o),a.label===e&&(u=a),s&&u&&(u&&(l=u),s&&(l&&(l.next=s,l=void 0),n||(n=s)))}l&&(l.next=n)},fa.prototype._findLabeledEdgeRings=function(){var t=[],e=0;return this.edges.forEach((function(n){if(!(n.label>=0)){t.push(n);var l=n;do{l.label=e,l=l.next}while(!n.isEqual(l));e++}})),t},fa.prototype.getEdgeRings=function(){var t=this;this._computeNextCWEdges(),this.edges.forEach((function(t){t.label=void 0})),this._findLabeledEdgeRings().forEach((function(e){t._findIntersectionNodes(e).forEach((function(n){t._computeNextCCWEdges(n,e.label)}))}));var e=[];return this.edges.forEach((function(n){n.ring||e.push(t._findEdgeRing(n))})),e},fa.prototype._findIntersectionNodes=function(t){var e=[],n=t,l=function(){var l=0;n.from.getOuterEdges().forEach((function(e){e.label===t.label&&++l})),l>1&&e.push(n.from),n=n.next};do{l()}while(!t.isEqual(n));return e},fa.prototype._findEdgeRing=function(t){var e=t,n=new ha;do{n.push(e),e.ring=n,e=e.next}while(!t.isEqual(e));return n},fa.prototype.removeNode=function(t){var e=this;t.getOuterEdges().forEach((function(t){return e.removeEdge(t)})),t.innerEdges.forEach((function(t){return e.removeEdge(t)})),delete this.nodes[t.id]},fa.prototype.removeEdge=function(t){this.edges=this.edges.filter((function(e){return!e.isEqual(t)})),t.deleteEdge()};var ba=mt((function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n})),ma=mt((function(t,e){function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function l(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();(e=t.exports=i?n:l).supported=n,e.unsupported=l})),ga=mt((function(t){function e(t){return null==t}function n(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}var l=Array.prototype.slice,i=t.exports=function(t,r,o){return o||(o={}),t===r||(t instanceof Date&&r instanceof Date?t.getTime()===r.getTime():!t||!r||"object"!=typeof t&&"object"!=typeof r?o.strict?t===r:t==r:function(t,r,o){var a,s;if(e(t)||e(r))return!1;if(t.prototype!==r.prototype)return!1;if(ma(t))return!!ma(r)&&(t=l.call(t),r=l.call(r),i(t,r,o));if(n(t)){if(!n(r))return!1;if(t.length!==r.length)return!1;for(a=0;a<t.length;a++)if(t[a]!==r[a])return!1;return!0}try{var u=ba(t),c=ba(r)}catch(t){return!1}if(u.length!=c.length)return!1;for(u.sort(),c.sort(),a=u.length-1;a>=0;a--)if(u[a]!=c[a])return!1;for(a=u.length-1;a>=0;a--)if(!i(t[s=u[a]],r[s],o))return!1;return typeof t==typeof r}(t,r,o))}})),_a=function(t){this.precision=t&&t.precision?t.precision:17,this.direction=!(!t||!t.direction)&&t.direction,this.pseudoNode=!(!t||!t.pseudoNode)&&t.pseudoNode,this.objectComparator=t&&t.objectComparator?t.objectComparator:yl};_a.prototype.compare=function(t,e){if(t.type!==e.type||!_l(t,e))return!1;switch(t.type){case"Point":return this.compareCoord(t.coordinates,e.coordinates);case"LineString":return this.compareLine(t.coordinates,e.coordinates,0,!1);case"Polygon":return this.comparePolygon(t,e);case"Feature":return this.compareFeature(t,e);default:if(0===t.type.indexOf("Multi")){var n=this,l=gl(t),i=gl(e);return l.every((function(t){return this.some((function(e){return n.compare(t,e)}))}),i)}}return!1},_a.prototype.compareCoord=function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n].toFixed(this.precision)!==e[n].toFixed(this.precision))return!1;return!0},_a.prototype.compareLine=function(t,e,n,l){if(!_l(t,e))return!1;var i=this.pseudoNode?t:this.removePseudo(t),r=this.pseudoNode?e:this.removePseudo(e);if(!l||this.compareCoord(i[0],r[0])||(r=this.fixStartIndex(r,i))){var o=this.compareCoord(i[n],r[n]);return this.direction||o?this.comparePath(i,r):!!this.compareCoord(i[n],r[r.length-(1+n)])&&this.comparePath(i.slice().reverse(),r)}},_a.prototype.fixStartIndex=function(t,e){for(var n,l=-1,i=0;i<t.length;i++)if(this.compareCoord(t[i],e[0])){l=i;break}return l>=0&&(n=[].concat(t.slice(l,t.length),t.slice(1,l+1))),n},_a.prototype.comparePath=function(t,e){var n=this;return t.every((function(t,e){return n.compareCoord(t,this[e])}),e)},_a.prototype.comparePolygon=function(t,e){if(this.compareLine(t.coordinates[0],e.coordinates[0],1,!0)){var n=t.coordinates.slice(1,t.coordinates.length),l=e.coordinates.slice(1,e.coordinates.length),i=this;return n.every((function(t){return this.some((function(e){return i.compareLine(t,e,1,!0)}))}),l)}return!1},_a.prototype.compareFeature=function(t,e){return!(t.id!==e.id||!this.objectComparator(t.properties,e.properties)||!this.compareBBox(t,e))&&this.compare(t.geometry,e.geometry)},_a.prototype.compareBBox=function(t,e){return!!(!t.bbox&&!e.bbox||t.bbox&&e.bbox&&this.compareCoord(t.bbox,e.bbox))},_a.prototype.removePseudo=function(t){return t};var ya=_a,Aa=mt((function(t){function e(t,e,n,l){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(t,e,n,l)}e.prototype.run=function(t,e,n,l){this._init(t,e,n,l);for(var i=0;i<this._datasetLength;i++)if(1!==this._visited[i]){this._visited[i]=1;var r=this._regionQuery(i);if(r.length<this.minPts)this.noise.push(i);else{var o=this.clusters.length;this.clusters.push([]),this._addToCluster(i,o),this._expandCluster(o,r)}}return this.clusters},e.prototype._init=function(t,e,n,l){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this.noise=[],this._datasetLength=t.length,this._visited=new Array(this._datasetLength),this._assigned=new Array(this._datasetLength)}e&&(this.epsilon=e),n&&(this.minPts=n),l&&(this.distance=l)},e.prototype._expandCluster=function(t,e){for(var n=0;n<e.length;n++){var l=e[n];if(1!==this._visited[l]){this._visited[l]=1;var i=this._regionQuery(l);i.length>=this.minPts&&(e=this._mergeArrays(e,i))}1!==this._assigned[l]&&this._addToCluster(l,t)}},e.prototype._addToCluster=function(t,e){this.clusters[e].push(t),this._assigned[t]=1},e.prototype._regionQuery=function(t){for(var e=[],n=0;n<this._datasetLength;n++)this.distance(this.dataset[t],this.dataset[n])<this.epsilon&&e.push(n);return e},e.prototype._mergeArrays=function(t,e){for(var n=e.length,l=0;l<n;l++){var i=e[l];t.indexOf(i)<0&&t.push(i)}return t},e.prototype._euclideanDistance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;)n+=(t[l]-e[l])*(t[l]-e[l]);return Math.sqrt(n)},t.exports&&(t.exports=e)})),va=mt((function(t){function e(t,e,n){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(t,e,n)}e.prototype.init=function(t,e,n){this.assignments=[],this.centroids=[],void 0!==t&&(this.dataset=t),void 0!==e&&(this.k=e),void 0!==n&&(this.distance=n)},e.prototype.run=function(t,e){this.init(t,e);for(var n=this.dataset.length,l=0;l<this.k;l++)this.centroids[l]=this.randomCentroid();for(var i=!0;i;){i=this.assign();for(var r=0;r<this.k;r++){for(var o=new Array(c),a=0,s=0;s<c;s++)o[s]=0;for(var u=0;u<n;u++){var c=this.dataset[u].length;if(r===this.assignments[u]){for(s=0;s<c;s++)o[s]+=this.dataset[u][s];a++}}if(a>0){for(s=0;s<c;s++)o[s]/=a;this.centroids[r]=o}else this.centroids[r]=this.randomCentroid(),i=!0}}return this.getClusters()},e.prototype.randomCentroid=function(){var t,e,n=this.dataset.length-1;do{e=Math.round(Math.random()*n),t=this.dataset[e]}while(this.centroids.indexOf(t)>=0);return t},e.prototype.assign=function(){for(var t,e=!1,n=this.dataset.length,l=0;l<n;l++)(t=this.argmin(this.dataset[l],this.centroids,this.distance))!=this.assignments[l]&&(this.assignments[l]=t,e=!0);return e},e.prototype.getClusters=function(){for(var t,e=new Array(this.k),n=0;n<this.assignments.length;n++)void 0===e[t=this.assignments[n]]&&(e[t]=[]),e[t].push(n);return e},e.prototype.argmin=function(t,e,n){for(var l,i=Number.MAX_VALUE,r=0,o=e.length,a=0;a<o;a++)(l=n(t,e[a]))<i&&(i=l,r=a);return r},e.prototype.distance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;){var i=t[l]-e[l];n+=i*i}return Math.sqrt(n)},t.exports&&(t.exports=e)})),Ca=mt((function(t){function e(t,e,n){this._queue=[],this._priorities=[],this._sorting="desc",this._init(t,e,n)}e.prototype.insert=function(t,e){for(var n=this._queue.length,l=n;l--;){var i=this._priorities[l];"desc"===this._sorting?e>i&&(n=l):e<i&&(n=l)}this._insertAt(t,e,n)},e.prototype.remove=function(t){for(var e=this._queue.length;e--;)if(t===this._queue[e]){this._queue.splice(e,1),this._priorities.splice(e,1);break}},e.prototype.forEach=function(t){this._queue.forEach(t)},e.prototype.getElements=function(){return this._queue},e.prototype.getElementPriority=function(t){return this._priorities[t]},e.prototype.getPriorities=function(){return this._priorities},e.prototype.getElementsWithPriorities=function(){for(var t=[],e=0,n=this._queue.length;e<n;e++)t.push([this._queue[e],this._priorities[e]]);return t},e.prototype._init=function(t,e,n){if(t&&e){if(this._queue=[],this._priorities=[],t.length!==e.length)throw new Error("Arrays must have the same length");for(var l=0;l<t.length;l++)this.insert(t[l],e[l])}n&&(this._sorting=n)},e.prototype._insertAt=function(t,e,n){this._queue.length===n?(this._queue.push(t),this._priorities.push(e)):(this._queue.splice(n,0,t),this._priorities.splice(n,0,e))},t.exports&&(t.exports=e)})),wa=mt((function(t){function e(t,e,n,l){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(t,e,n,l)}if(t.exports)var n=Ca;e.prototype.run=function(t,e,l,i){this._init(t,e,l,i);for(var r=0,o=this.dataset.length;r<o;r++)if(1!==this._processed[r]){this._processed[r]=1,this.clusters.push([r]);var a=this.clusters.length-1;this._orderedList.push(r);var s=new n(null,null,"asc"),u=this._regionQuery(r);void 0!==this._distanceToCore(r)&&(this._updateQueue(r,u,s),this._expandCluster(a,s))}return this.clusters},e.prototype.getReachabilityPlot=function(){for(var t=[],e=0,n=this._orderedList.length;e<n;e++){var l=this._orderedList[e];t.push([l,this._reachability[l]])}return t},e.prototype._init=function(t,e,n,l){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this._reachability=new Array(this.dataset.length),this._processed=new Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}e&&(this.epsilon=e),n&&(this.minPts=n),l&&(this.distance=l)},e.prototype._updateQueue=function(t,e,n){var l=this;this._coreDistance=this._distanceToCore(t),e.forEach((function(e){if(void 0===l._processed[e]){var i=l.distance(l.dataset[t],l.dataset[e]),r=Math.max(l._coreDistance,i);void 0===l._reachability[e]?(l._reachability[e]=r,n.insert(e,r)):r<l._reachability[e]&&(l._reachability[e]=r,n.remove(e),n.insert(e,r))}}))},e.prototype._expandCluster=function(t,e){for(var n=e.getElements(),l=0,i=n.length;l<i;l++){var r=n[l];if(void 0===this._processed[r]){var o=this._regionQuery(r);this._processed[r]=1,this.clusters[t].push(r),this._orderedList.push(r),void 0!==this._distanceToCore(r)&&(this._updateQueue(r,o,e),this._expandCluster(t,e))}}},e.prototype._distanceToCore=function(t){for(var e=this.epsilon,n=0;n<e;n++)if(this._regionQuery(t,n).length>=this.minPts)return n},e.prototype._regionQuery=function(t,e){e=e||this.epsilon;for(var n=[],l=0,i=this.dataset.length;l<i;l++)this.distance(this.dataset[t],this.dataset[l])<e&&n.push(l);return n},e.prototype._euclideanDistance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;)n+=(t[l]-e[l])*(t[l]-e[l]);return Math.sqrt(n)},t.exports&&(t.exports=e)})),Pa=mt((function(t){t.exports&&(t.exports={DBSCAN:Aa,KMEANS:va,OPTICS:wa,PriorityQueue:Ca})})),xa=function(t,e,n){for(var l=t.length,i=0,r=0;r<l;r++){var o=(t[r]||0)-(e[r]||0);i+=o*o}return n?Math.sqrt(i):i},Sa=xa,ka=function(t,e,n){var l=Math.abs(t-e);return n?l:l*l},Ma=xa,Oa={search:function(t,e,n,l){t.cleanDirty();var i=(l=l||{}).heuristic||Oa.heuristics.manhattan,r=l.closest||!1,o=new Sl((function(t){return t.f})),a=e;for(e.h=i(e,n),o.push(e);o.size()>0;){var s=o.pop();if(s===n)return wl(s);s.closed=!0;for(var u=t.neighbors(s),c=0,d=u.length;c<d;++c){var h=u[c];if(!h.closed&&!h.isWall()){var p=s.g+h.getCost(s),f=h.visited;(!f||p<h.g)&&(h.visited=!0,h.parent=s,h.h=h.h||i(h,n),h.g=p,h.f=h.g+h.h,t.markDirty(h),r&&(h.h<a.h||h.h===a.h&&h.g<a.g)&&(a=h),f?o.rescoreElement(h):o.push(h))}}}return r?wl(a):[]},heuristics:{manhattan:function(t,e){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},diagonal:function(t,e){var n=Math.sqrt(2),l=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return 1*(l+i)+(n-2)*Math.min(l,i)}},cleanNode:function(t){t.f=0,t.g=0,t.h=0,t.visited=!1,t.closed=!1,t.parent=null}};Pl.prototype.init=function(){this.dirtyNodes=[];for(var t=0;t<this.nodes.length;t++)Oa.cleanNode(this.nodes[t])},Pl.prototype.cleanDirty=function(){for(var t=0;t<this.dirtyNodes.length;t++)Oa.cleanNode(this.dirtyNodes[t]);this.dirtyNodes=[]},Pl.prototype.markDirty=function(t){this.dirtyNodes.push(t)},Pl.prototype.neighbors=function(t){var e=[],n=t.x,l=t.y,i=this.grid;return i[n-1]&&i[n-1][l]&&e.push(i[n-1][l]),i[n+1]&&i[n+1][l]&&e.push(i[n+1][l]),i[n]&&i[n][l-1]&&e.push(i[n][l-1]),i[n]&&i[n][l+1]&&e.push(i[n][l+1]),this.diagonal&&(i[n-1]&&i[n-1][l-1]&&e.push(i[n-1][l-1]),i[n+1]&&i[n+1][l-1]&&e.push(i[n+1][l-1]),i[n-1]&&i[n-1][l+1]&&e.push(i[n-1][l+1]),i[n+1]&&i[n+1][l+1]&&e.push(i[n+1][l+1])),e},Pl.prototype.toString=function(){for(var t,e,n,l,i=[],r=this.grid,o=0,a=r.length;o<a;o++){for(t=[],n=0,l=(e=r[o]).length;n<l;n++)t.push(e[n].weight);i.push(t.join(" "))}return i.join("\n")},xl.prototype.toString=function(){return"["+this.x+" "+this.y+"]"},xl.prototype.getCost=function(t){return t&&t.x!==this.x&&t.y!==this.y?1.41421*this.weight:this.weight},xl.prototype.isWall=function(){return 0===this.weight},Sl.prototype={push:function(t){this.content.push(t),this.sinkDown(this.content.length-1)},pop:function(){var t=this.content[0],e=this.content.pop();return this.content.length>0&&(this.content[0]=e,this.bubbleUp(0)),t},remove:function(t){var e=this.content.indexOf(t),n=this.content.pop();e!==this.content.length-1&&(this.content[e]=n,this.scoreFunction(n)<this.scoreFunction(t)?this.sinkDown(e):this.bubbleUp(e))},size:function(){return this.content.length},rescoreElement:function(t){this.sinkDown(this.content.indexOf(t))},sinkDown:function(t){for(var e=this.content[t];t>0;){var n=(t+1>>1)-1,l=this.content[n];if(!(this.scoreFunction(e)<this.scoreFunction(l)))break;this.content[n]=e,this.content[t]=l,t=n}},bubbleUp:function(t){for(var e=this.content.length,n=this.content[t],l=this.scoreFunction(n);;){var i,r=t+1<<1,o=r-1,a=null;if(o<e&&(i=this.scoreFunction(this.content[o]))<l&&(a=o),r<e&&this.scoreFunction(this.content[r])<(null===a?l:i)&&(a=r),null===a)break;this.content[t]=this.content[a],this.content[a]=n,t=a}}};var Da=function(t){return function(){return t}};Ol.prototype={constructor:Ol,insert:function(t,e){var n,l,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=Il(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(l=n.U).L?(i=l.R)&&i.C?(n.C=i.C=!1,l.C=!0,t=l):(t===n.R&&(Tl(this,n),n=(t=n).U),n.C=!1,l.C=!0,El(this,l)):(i=l.L)&&i.C?(n.C=i.C=!1,l.C=!0,t=l):(t===n.L&&(El(this,n),n=(t=n).U),n.C=!1,l.C=!0,Tl(this,l)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,l,i=t.U,r=t.L,o=t.R;if(n=r?o?Il(o):r:o,i?i.L===t?i.L=n:i.R=n:this._=n,r&&o?(l=n.C,n.C=t.C,n.L=r,r.U=n,n!==o?(i=n.U,n.U=t.U,i.L=t=n.R,n.R=o,o.U=n):(n.U=i,i=n,t=n.R)):(l=t.C,t=n),t&&(t.U=i),!l)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,Tl(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,El(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Tl(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,El(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Tl(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,El(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Ta,Ea,Ia,La,ja,Ra=[],Fa=[],Na=1e-6,Ya=1e-12;Jl.prototype={constructor:Jl,polygons:function(){var t=this.edges;return this.cells.map((function(e){var n=e.halfedges.map((function(n){return Ul(e,t[n])}));return n.data=e.site.data,n}))},triangles:function(){var t=[],e=this.edges;return this.cells.forEach((function(n,l){if(r=(i=n.halfedges).length)for(var i,r,o,a=n.site,s=-1,u=e[i[r-1]],c=u.left===a?u.right:u.left;++s<r;)o=c,c=(u=e[i[s]]).left===a?u.right:u.left,o&&c&&l<o.index&&l<c.index&&Xl(a,o,c)<0&&t.push([a.data,o.data,c.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,e,n){for(var l,i,r=this,o=r._found||0,a=r.cells.length;!(i=r.cells[o]);)if(++o>=a)return null;var s=t-i.site[0],u=e-i.site[1],c=s*s+u*u;do{i=r.cells[l=o],o=null,i.halfedges.forEach((function(n){var l=r.edges[n],a=l.left;if(a!==i.site&&a||(a=l.right)){var s=t-a[0],u=e-a[1],d=s*s+u*u;d<c&&(c=d,o=a.index)}}))}while(null!==o);return r._found=l,null==n||c<=n*n?i.site:null}};var Ua=Object.freeze({randomPosition:ii,randomPoint:ri,randomPolygon:oi,randomLineString:ai}),Ba=Object.freeze({getCluster:ui,clusterEach:ci,clusterReduce:di,createBins:hi,applyFilter:pi,propertiesContainsFilter:fi,filterProperties:bi});"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(null==this)throw new TypeError(this+" is not an object");var e=Object(this),n=Math.max(Math.min(e.length,9007199254740991),0)||0,l=1 in arguments&&parseInt(Number(arguments[1]),10)||0;l=l<0?Math.max(n+l,0):Math.min(l,n);var i=2 in arguments&&void 0!==arguments[2]?parseInt(Number(arguments[2]),10)||0:n;for(i=i<0?Math.max(n+arguments[2],0):Math.min(i,n);l<i;)e[l]=t,++l;return e},writable:!0}),Number.isFinite=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Number.parseFloat=Number.parseFloat||parseFloat,Number.isNaN=Number.isNaN||function(t){return t!=t},Math.trunc=Math.trunc||function(t){return t<0?Math.ceil(t):Math.floor(t)};var za=function(){};za.prototype.interfaces_=function(){return[]},za.prototype.getClass=function(){return za},za.prototype.equalsWithTolerance=function(t,e,n){return Math.abs(t-e)<=n};var Ga=function(){},Ha=function(){},Va={MAX_VALUE:{configurable:!0}};Ha.isNaN=function(t){return Number.isNaN(t)},Ha.doubleToLongBits=function(t){return t},Ha.longBitsToDouble=function(t){return t},Ha.isInfinite=function(t){return!Number.isFinite(t)},Va.MAX_VALUE.get=function(){return Number.MAX_VALUE},Object.defineProperties(Ha,Va);var qa=function(){},Wa=function(){},$a=function(){},Xa=function t(){if(this.x=null,this.y=null,this.z=null,0===arguments.length)this.x=0,this.y=0,this.z=t.NULL_ORDINATE;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.z=e.z}else 2===arguments.length?(this.x=arguments[0],this.y=arguments[1],this.z=t.NULL_ORDINATE):3===arguments.length&&(this.x=arguments[0],this.y=arguments[1],this.z=arguments[2])},Ka={DimensionalComparator:{configurable:!0},serialVersionUID:{configurable:!0},NULL_ORDINATE:{configurable:!0},X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0}};Xa.prototype.setOrdinate=function(t,e){switch(t){case Xa.X:this.x=e;break;case Xa.Y:this.y=e;break;case Xa.Z:this.z=e;break;default:throw new Ga("Invalid ordinate index: "+t)}},Xa.prototype.equals2D=function(){if(1===arguments.length){var t=arguments[0];return this.x===t.x&&this.y===t.y}if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!za.equalsWithTolerance(this.x,e.x,n)&&!!za.equalsWithTolerance(this.y,e.y,n)}},Xa.prototype.getOrdinate=function(t){switch(t){case Xa.X:return this.x;case Xa.Y:return this.y;case Xa.Z:return this.z}throw new Ga("Invalid ordinate index: "+t)},Xa.prototype.equals3D=function(t){return this.x===t.x&&this.y===t.y&&(this.z===t.z||Ha.isNaN(this.z))&&Ha.isNaN(t.z)},Xa.prototype.equals=function(t){return t instanceof Xa&&this.equals2D(t)},Xa.prototype.equalInZ=function(t,e){return za.equalsWithTolerance(this.z,t.z,e)},Xa.prototype.compareTo=function(t){return this.x<t.x?-1:this.x>t.x?1:this.y<t.y?-1:this.y>t.y?1:0},Xa.prototype.clone=function(){},Xa.prototype.copy=function(){return new Xa(this)},Xa.prototype.toString=function(){return"("+this.x+", "+this.y+", "+this.z+")"},Xa.prototype.distance3D=function(t){var e=this.x-t.x,n=this.y-t.y,l=this.z-t.z;return Math.sqrt(e*e+n*n+l*l)},Xa.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},Xa.prototype.hashCode=function(){var t=17;return 37*(t=37*t+Xa.hashCode(this.x))+Xa.hashCode(this.y)},Xa.prototype.setCoordinate=function(t){this.x=t.x,this.y=t.y,this.z=t.z},Xa.prototype.interfaces_=function(){return[qa,Wa,mi]},Xa.prototype.getClass=function(){return Xa},Xa.hashCode=function(){if(1===arguments.length){var t=arguments[0],e=Ha.doubleToLongBits(t);return Math.trunc((e^e)>>>32)}},Ka.DimensionalComparator.get=function(){return Ja},Ka.serialVersionUID.get=function(){return 0x5cbf2c235c7e5800},Ka.NULL_ORDINATE.get=function(){return Ha.NaN},Ka.X.get=function(){return 0},Ka.Y.get=function(){return 1},Ka.Z.get=function(){return 2},Object.defineProperties(Xa,Ka);var Ja=function(t){if(this._dimensionsToTest=2,0===arguments.length);else if(1===arguments.length){var e=arguments[0];if(2!==e&&3!==e)throw new Ga("only 2 or 3 dimensions may be specified");this._dimensionsToTest=e}};Ja.prototype.compare=function(t,e){var n=t,l=e,i=Ja.compare(n.x,l.x);if(0!==i)return i;var r=Ja.compare(n.y,l.y);return 0!==r?r:this._dimensionsToTest<=2?0:Ja.compare(n.z,l.z)},Ja.prototype.interfaces_=function(){return[$a]},Ja.prototype.getClass=function(){return Ja},Ja.compare=function(t,e){return t<e?-1:t>e?1:Ha.isNaN(t)?Ha.isNaN(e)?0:-1:Ha.isNaN(e)?1:0};var Qa=function(){};Qa.prototype.create=function(){},Qa.prototype.interfaces_=function(){return[]},Qa.prototype.getClass=function(){return Qa};var Za=function(){},ts={INTERIOR:{configurable:!0},BOUNDARY:{configurable:!0},EXTERIOR:{configurable:!0},NONE:{configurable:!0}};Za.prototype.interfaces_=function(){return[]},Za.prototype.getClass=function(){return Za},Za.toLocationSymbol=function(t){switch(t){case Za.EXTERIOR:return"e";case Za.BOUNDARY:return"b";case Za.INTERIOR:return"i";case Za.NONE:return"-"}throw new Ga("Unknown location value: "+t)},ts.INTERIOR.get=function(){return 0},ts.BOUNDARY.get=function(){return 1},ts.EXTERIOR.get=function(){return 2},ts.NONE.get=function(){return-1},Object.defineProperties(Za,ts);var es=function(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1},ns=function(){},ls={LOG_10:{configurable:!0}};ns.prototype.interfaces_=function(){return[]},ns.prototype.getClass=function(){return ns},ns.log10=function(t){var e=Math.log(t);return Ha.isInfinite(e)||Ha.isNaN(e)?e:e/ns.LOG_10},ns.min=function(t,e,n,l){var i=t;return e<i&&(i=e),n<i&&(i=n),l<i&&(i=l),i},ns.clamp=function(){if("number"==typeof arguments[2]&&"number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1],n=arguments[2];return t<e?e:t>n?n:t}if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var l=arguments[0],i=arguments[1],r=arguments[2];return l<i?i:l>r?r:l}},ns.wrap=function(t,e){return t<0?e- -t%e:t%e},ns.max=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=t;return e>l&&(l=e),n>l&&(l=n),l}if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3],s=i;return r>s&&(s=r),o>s&&(s=o),a>s&&(s=a),s}},ns.average=function(t,e){return(t+e)/2},ls.LOG_10.get=function(){return Math.log(10)},Object.defineProperties(ns,ls);var is=function(t){this.str=t};is.prototype.append=function(t){this.str+=t},is.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)},is.prototype.toString=function(t){return this.str};var rs=function(t){this.value=t};rs.prototype.intValue=function(){return this.value},rs.prototype.compareTo=function(t){return this.value<t?-1:this.value>t?1:0},rs.isNaN=function(t){return Number.isNaN(t)};var os=function(){};os.isWhitespace=function(t){return t<=32&&t>=0||127===t},os.toUpperCase=function(t){return t.toUpperCase()};var as=function t(){if(this._hi=0,this._lo=0,0===arguments.length)this.init(0);else if(1===arguments.length){if("number"==typeof arguments[0]){var e=arguments[0];this.init(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}else if("string"==typeof arguments[0]){var l=arguments[0];t.call(this,t.parse(l))}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.init(i,r)}},ss={PI:{configurable:!0},TWO_PI:{configurable:!0},PI_2:{configurable:!0},E:{configurable:!0},NaN:{configurable:!0},EPS:{configurable:!0},SPLIT:{configurable:!0},MAX_PRINT_DIGITS:{configurable:!0},TEN:{configurable:!0},ONE:{configurable:!0},SCI_NOT_EXPONENT_CHAR:{configurable:!0},SCI_NOT_ZERO:{configurable:!0}};as.prototype.le=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<=t._lo},as.prototype.extractSignificantDigits=function(t,e){var n=this.abs(),l=as.magnitude(n._hi),i=as.TEN.pow(l);(n=n.divide(i)).gt(as.TEN)?(n=n.divide(as.TEN),l+=1):n.lt(as.ONE)&&(n=n.multiply(as.TEN),l-=1);for(var r=l+1,o=new is,a=as.MAX_PRINT_DIGITS-1,s=0;s<=a;s++){t&&s===r&&o.append(".");var u=Math.trunc(n._hi);if(u<0)break;var c=!1,d=0;u>9?(c=!0,d="9"):d="0"+u,o.append(d),n=n.subtract(as.valueOf(u)).multiply(as.TEN),c&&n.selfAdd(as.TEN);var h=!0,p=as.magnitude(n._hi);if(p<0&&Math.abs(p)>=a-s&&(h=!1),!h)break}return e[0]=l,o.toString()},as.prototype.sqr=function(){return this.multiply(this)},as.prototype.doubleValue=function(){return this._hi+this._lo},as.prototype.subtract=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.add(t.negate())}if("number"==typeof arguments[0]){var e=arguments[0];return this.add(-e)}},as.prototype.equals=function(){if(1===arguments.length){var t=arguments[0];return this._hi===t._hi&&this._lo===t._lo}},as.prototype.isZero=function(){return 0===this._hi&&0===this._lo},as.prototype.selfSubtract=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t._hi,-t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}},as.prototype.getSpecialNumberString=function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null},as.prototype.min=function(t){return this.le(t)?this:t},as.prototype.selfDivide=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfDivide(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfDivide(e,0)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1],i=null,r=null,o=null,a=null,s=null,u=null,c=null,d=null;return this._hi=d=(s=this._hi/n)+(u=(this._hi-(c=s*n)-(d=(i=(u=as.SPLIT*s)-(i=u-s))*(o=(d=as.SPLIT*n)-(o=d-n))-c+i*(a=n-o)+(r=s-i)*o+r*a)+this._lo-s*l)/n),this._lo=s-d+u,this}},as.prototype.dump=function(){return"DD<"+this._hi+", "+this._lo+">"},as.prototype.divide=function(){if(arguments[0]instanceof as){var t=arguments[0],e=null,n=null,l=null,i=null,r=null,o=null,a=null,s=null;return n=(r=this._hi/t._hi)-(e=(o=as.SPLIT*r)-(e=o-r)),s=e*(l=(s=as.SPLIT*t._hi)-(l=s-t._hi))-(a=r*t._hi)+e*(i=t._hi-l)+n*l+n*i,new as(s=r+(o=(this._hi-a-s+this._lo-r*t._lo)/t._hi),r-s+o)}if("number"==typeof arguments[0]){var u=arguments[0];return Ha.isNaN(u)?as.createNaN():as.copy(this).selfDivide(u,0)}},as.prototype.ge=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>=t._lo},as.prototype.pow=function(t){if(0===t)return as.valueOf(1);var e=new as(this),n=as.valueOf(1),l=Math.abs(t);if(l>1)for(;l>0;)l%2==1&&n.selfMultiply(e),(l/=2)>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n},as.prototype.ceil=function(){if(this.isNaN())return as.NaN;var t=Math.ceil(this._hi),e=0;return t===this._hi&&(e=Math.ceil(this._lo)),new as(t,e)},as.prototype.compareTo=function(t){return this._hi<t._hi?-1:this._hi>t._hi?1:this._lo<t._lo?-1:this._lo>t._lo?1:0},as.prototype.rint=function(){return this.isNaN()?this:this.add(.5).floor()},as.prototype.setValue=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.init(t),this}if("number"==typeof arguments[0]){var e=arguments[0];return this.init(e),this}},as.prototype.max=function(t){return this.ge(t)?this:t},as.prototype.sqrt=function(){if(this.isZero())return as.valueOf(0);if(this.isNegative())return as.NaN;var t=1/Math.sqrt(this._hi),e=as.valueOf(this._hi*t),n=this.subtract(e.sqr())._hi*(.5*t);return e.add(n)},as.prototype.selfAdd=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfAdd(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0],n=null,l=null,i=null,r=null,o=null;return this._hi=(n=(i=this._hi+e)+(o=e-(r=i-this._hi)+(this._hi-(i-r))+this._lo))+(l=o+(i-n)),this._lo=l+(n-this._hi),this}}else if(2===arguments.length){var a=arguments[0],s=arguments[1],u=null,c=null,d=null,h=null,p=null,f=null,b=null;p=(h=this._hi+a)-(f=h-this._hi),d=(c=this._lo+s)-(b=c-this._lo);var m=(u=h+(f=(p=a-f+(this._hi-p))+c))+(f=(d=s-b+(this._lo-d))+(f+(h-u))),g=f+(u-m);return this._hi=m,this._lo=g,this}},as.prototype.selfMultiply=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfMultiply(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfMultiply(e,0)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1],i=null,r=null,o=null,a=null,s=null,u=null;i=(s=as.SPLIT*this._hi)-this._hi,i=s-i;var c=(s=this._hi*n)+(u=i*(o=(u=as.SPLIT*n)-(o=u-n))-s+i*(a=n-o)+(r=this._hi-i)*o+r*a+(this._hi*l+this._lo*n)),d=u+(i=s-c);return this._hi=c,this._lo=d,this}},as.prototype.selfSqr=function(){return this.selfMultiply(this)},as.prototype.floor=function(){if(this.isNaN())return as.NaN;var t=Math.floor(this._hi),e=0;return t===this._hi&&(e=Math.floor(this._lo)),new as(t,e)},as.prototype.negate=function(){return this.isNaN()?this:new as(-this._hi,-this._lo)},as.prototype.clone=function(){},as.prototype.multiply=function(){if(arguments[0]instanceof as){var t=arguments[0];return t.isNaN()?as.createNaN():as.copy(this).selfMultiply(t)}if("number"==typeof arguments[0]){var e=arguments[0];return Ha.isNaN(e)?as.createNaN():as.copy(this).selfMultiply(e,0)}},as.prototype.isNaN=function(){return Ha.isNaN(this._hi)},as.prototype.intValue=function(){return Math.trunc(this._hi)},as.prototype.toString=function(){var t=as.magnitude(this._hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()},as.prototype.toStandardNotation=function(){var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),l=e[0]+1,i=n;return"."===n.charAt(0)?i="0"+n:l<0?i="0."+as.stringOfChar("0",-l)+n:-1===n.indexOf(".")&&(i=n+as.stringOfChar("0",l-n.length)+".0"),this.isNegative()?"-"+i:i},as.prototype.reciprocal=function(){var t,e,n,l,i=null,r=null,o=null,a=null;t=(n=1/this._hi)-(i=(o=as.SPLIT*n)-(i=o-n)),r=(a=as.SPLIT*this._hi)-this._hi;var s=n+(o=(1-(l=n*this._hi)-(a=i*(r=a-r)-l+i*(e=this._hi-r)+t*r+t*e)-n*this._lo)/this._hi);return new as(s,n-s+o)},as.prototype.toSciNotation=function(){if(this.isZero())return as.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),l=as.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===n.charAt(0))throw new Error("Found leading zero: "+n);var i="";n.length>1&&(i=n.substring(1));var r=n.charAt(0)+"."+i;return this.isNegative()?"-"+r+l:r+l},as.prototype.abs=function(){return this.isNaN()?as.NaN:this.isNegative()?this.negate():new as(this)},as.prototype.isPositive=function(){return(this._hi>0||0===this._hi)&&this._lo>0},as.prototype.lt=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<t._lo},as.prototype.add=function(){if(arguments[0]instanceof as){var t=arguments[0];return as.copy(this).selfAdd(t)}if("number"==typeof arguments[0]){var e=arguments[0];return as.copy(this).selfAdd(e)}},as.prototype.init=function(){if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];this._hi=t,this._lo=0}else if(arguments[0]instanceof as){var e=arguments[0];this._hi=e._hi,this._lo=e._lo}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this._hi=n,this._lo=l}},as.prototype.gt=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>t._lo},as.prototype.isNegative=function(){return(this._hi<0||0===this._hi)&&this._lo<0},as.prototype.trunc=function(){return this.isNaN()?as.NaN:this.isPositive()?this.floor():this.ceil()},as.prototype.signum=function(){return this._hi>0?1:this._hi<0?-1:this._lo>0?1:this._lo<0?-1:0},as.prototype.interfaces_=function(){return[mi,qa,Wa]},as.prototype.getClass=function(){return as},as.sqr=function(t){return as.valueOf(t).selfMultiply(t)},as.valueOf=function(){if("string"==typeof arguments[0]){var t=arguments[0];return as.parse(t)}if("number"==typeof arguments[0]){var e=arguments[0];return new as(e)}},as.sqrt=function(t){return as.valueOf(t).sqrt()},as.parse=function(t){for(var e=0,n=t.length;os.isWhitespace(t.charAt(e));)e++;var l=!1;if(e<n){var i=t.charAt(e);"-"!==i&&"+"!==i||(e++,"-"===i&&(l=!0))}for(var r=new as,o=0,a=0,s=0;!(e>=n);){var u=t.charAt(e);if(e++,os.isDigit(u)){var c=u-"0";r.selfMultiply(as.TEN),r.selfAdd(c),o++}else{if("."!==u){if("e"===u||"E"===u){var d=t.substring(e);try{s=rs.parseInt(d)}catch(e){throw e instanceof Error?new Error("Invalid exponent "+d+" in string "+t):e}break}throw new Error("Unexpected character '"+u+"' at position "+e+" in string "+t)}a=o}}var h=r,p=o-a-s;if(0===p)h=r;else if(p>0){var f=as.TEN.pow(p);h=r.divide(f)}else if(p<0){var b=as.TEN.pow(-p);h=r.multiply(b)}return l?h.negate():h},as.createNaN=function(){return new as(Ha.NaN,Ha.NaN)},as.copy=function(t){return new as(t)},as.magnitude=function(t){var e=Math.abs(t),n=Math.log(e)/Math.log(10),l=Math.trunc(Math.floor(n));return 10*Math.pow(10,l)<=e&&(l+=1),l},as.stringOfChar=function(t,e){for(var n=new is,l=0;l<e;l++)n.append(t);return n.toString()},ss.PI.get=function(){return new as(3.141592653589793,12246467991473532e-32)},ss.TWO_PI.get=function(){return new as(6.283185307179586,24492935982947064e-32)},ss.PI_2.get=function(){return new as(1.5707963267948966,6123233995736766e-32)},ss.E.get=function(){return new as(2.718281828459045,14456468917292502e-32)},ss.NaN.get=function(){return new as(Ha.NaN,Ha.NaN)},ss.EPS.get=function(){return 123259516440783e-46},ss.SPLIT.get=function(){return 134217729},ss.MAX_PRINT_DIGITS.get=function(){return 32},ss.TEN.get=function(){return as.valueOf(10)},ss.ONE.get=function(){return as.valueOf(1)},ss.SCI_NOT_EXPONENT_CHAR.get=function(){return"E"},ss.SCI_NOT_ZERO.get=function(){return"0.0E0"},Object.defineProperties(as,ss);var us=function(){},cs={DP_SAFE_EPSILON:{configurable:!0}};us.prototype.interfaces_=function(){return[]},us.prototype.getClass=function(){return us},us.orientationIndex=function(t,e,n){var l=us.orientationIndexFilter(t,e,n);if(l<=1)return l;var i=as.valueOf(e.x).selfAdd(-t.x),r=as.valueOf(e.y).selfAdd(-t.y),o=as.valueOf(n.x).selfAdd(-e.x),a=as.valueOf(n.y).selfAdd(-e.y);return i.selfMultiply(a).selfSubtract(r.selfMultiply(o)).signum()},us.signOfDet2x2=function(t,e,n,l){return t.multiply(l).selfSubtract(e.multiply(n)).signum()},us.intersection=function(t,e,n,l){var i=as.valueOf(l.y).selfSubtract(n.y).selfMultiply(as.valueOf(e.x).selfSubtract(t.x)),r=as.valueOf(l.x).selfSubtract(n.x).selfMultiply(as.valueOf(e.y).selfSubtract(t.y)),o=i.subtract(r),a=as.valueOf(l.x).selfSubtract(n.x).selfMultiply(as.valueOf(t.y).selfSubtract(n.y)),s=as.valueOf(l.y).selfSubtract(n.y).selfMultiply(as.valueOf(t.x).selfSubtract(n.x)),u=a.subtract(s).selfDivide(o).doubleValue(),c=as.valueOf(t.x).selfAdd(as.valueOf(e.x).selfSubtract(t.x).selfMultiply(u)).doubleValue(),d=as.valueOf(e.x).selfSubtract(t.x).selfMultiply(as.valueOf(t.y).selfSubtract(n.y)),h=as.valueOf(e.y).selfSubtract(t.y).selfMultiply(as.valueOf(t.x).selfSubtract(n.x)),p=d.subtract(h).selfDivide(o).doubleValue(),f=as.valueOf(n.y).selfAdd(as.valueOf(l.y).selfSubtract(n.y).selfMultiply(p)).doubleValue();return new Xa(c,f)},us.orientationIndexFilter=function(t,e,n){var l=null,i=(t.x-n.x)*(e.y-n.y),r=(t.y-n.y)*(e.x-n.x),o=i-r;if(i>0){if(r<=0)return us.signum(o);l=i+r}else{if(!(i<0))return us.signum(o);if(r>=0)return us.signum(o);l=-i-r}var a=us.DP_SAFE_EPSILON*l;return o>=a||-o>=a?us.signum(o):2},us.signum=function(t){return t>0?1:t<0?-1:0},cs.DP_SAFE_EPSILON.get=function(){return 1e-15},Object.defineProperties(us,cs);var ds=function(){},hs={X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0},M:{configurable:!0}};hs.X.get=function(){return 0},hs.Y.get=function(){return 1},hs.Z.get=function(){return 2},hs.M.get=function(){return 3},ds.prototype.setOrdinate=function(t,e,n){},ds.prototype.size=function(){},ds.prototype.getOrdinate=function(t,e){},ds.prototype.getCoordinate=function(){},ds.prototype.getCoordinateCopy=function(t){},ds.prototype.getDimension=function(){},ds.prototype.getX=function(t){},ds.prototype.clone=function(){},ds.prototype.expandEnvelope=function(t){},ds.prototype.copy=function(){},ds.prototype.getY=function(t){},ds.prototype.toCoordinateArray=function(){},ds.prototype.interfaces_=function(){return[Wa]},ds.prototype.getClass=function(){return ds},Object.defineProperties(ds,hs);var ps=function(){},fs=function(t){function e(){t.call(this,"Projective point not representable on the Cartesian plane.")}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(ps),bs=function(){};bs.arraycopy=function(t,e,n,l,i){for(var r=0,o=e;o<e+i;o++)n[l+r]=t[o],r++},bs.getProperty=function(t){return{"line.separator":"\n"}[t]};var ms=function t(){if(this.x=null,this.y=null,this.w=null,0===arguments.length)this.x=0,this.y=0,this.w=1;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.w=1}else if(2===arguments.length){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var n=arguments[0],l=arguments[1];this.x=n,this.y=l,this.w=1}else if(arguments[0]instanceof t&&arguments[1]instanceof t){var i=arguments[0],r=arguments[1];this.x=i.y*r.w-r.y*i.w,this.y=r.x*i.w-i.x*r.w,this.w=i.x*r.y-r.x*i.y}else if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var o=arguments[0],a=arguments[1];this.x=o.y-a.y,this.y=a.x-o.x,this.w=o.x*a.y-a.x*o.y}}else if(3===arguments.length){var s=arguments[0],u=arguments[1],c=arguments[2];this.x=s,this.y=u,this.w=c}else if(4===arguments.length){var d=arguments[0],h=arguments[1],p=arguments[2],f=arguments[3],b=d.y-h.y,m=h.x-d.x,g=d.x*h.y-h.x*d.y,_=p.y-f.y,y=f.x-p.x,A=p.x*f.y-f.x*p.y;this.x=m*A-y*g,this.y=_*g-b*A,this.w=b*y-_*m}};ms.prototype.getY=function(){var t=this.y/this.w;if(Ha.isNaN(t)||Ha.isInfinite(t))throw new fs;return t},ms.prototype.getX=function(){var t=this.x/this.w;if(Ha.isNaN(t)||Ha.isInfinite(t))throw new fs;return t},ms.prototype.getCoordinate=function(){var t=new Xa;return t.x=this.getX(),t.y=this.getY(),t},ms.prototype.interfaces_=function(){return[]},ms.prototype.getClass=function(){return ms},ms.intersection=function(t,e,n,l){var i=t.y-e.y,r=e.x-t.x,o=t.x*e.y-e.x*t.y,a=n.y-l.y,s=l.x-n.x,u=n.x*l.y-l.x*n.y,c=i*s-a*r,d=(r*u-s*o)/c,h=(a*o-i*u)/c;if(Ha.isNaN(d)||Ha.isInfinite(d)||Ha.isNaN(h)||Ha.isInfinite(h))throw new fs;return new Xa(d,h)};var gs=function t(){if(this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof Xa){var e=arguments[0];this.init(e.x,e.x,e.y,e.y)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.init(l.x,i.x,l.y,i.y)}else if(4===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];this.init(r,o,a,s)}},_s={serialVersionUID:{configurable:!0}};gs.prototype.getArea=function(){return this.getWidth()*this.getHeight()},gs.prototype.equals=function(t){if(!(t instanceof gs))return!1;var e=t;return this.isNull()?e.isNull():this._maxx===e.getMaxX()&&this._maxy===e.getMaxY()&&this._minx===e.getMinX()&&this._miny===e.getMinY()},gs.prototype.intersection=function(t){return this.isNull()||t.isNull()||!this.intersects(t)?new gs:new gs(this._minx>t._minx?this._minx:t._minx,this._maxx<t._maxx?this._maxx:t._maxx,this._miny>t._miny?this._miny:t._miny,this._maxy<t._maxy?this._maxy:t._maxy)},gs.prototype.isNull=function(){return this._maxx<this._minx},gs.prototype.getMaxX=function(){return this._maxx},gs.prototype.covers=function(){if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];return this.covers(t.x,t.y)}if(arguments[0]instanceof gs){var e=arguments[0];return!this.isNull()&&!e.isNull()&&e.getMinX()>=this._minx&&e.getMaxX()<=this._maxx&&e.getMinY()>=this._miny&&e.getMaxY()<=this._maxy}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return!this.isNull()&&n>=this._minx&&n<=this._maxx&&l>=this._miny&&l<=this._maxy}},gs.prototype.intersects=function(){if(1===arguments.length){if(arguments[0]instanceof gs){var t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t._minx>this._maxx||t._maxx<this._minx||t._miny>this._maxy||t._maxy<this._miny)}if(arguments[0]instanceof Xa){var e=arguments[0];return this.intersects(e.x,e.y)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return!this.isNull()&&!(n>this._maxx||n<this._minx||l>this._maxy||l<this._miny)}},gs.prototype.getMinY=function(){return this._miny},gs.prototype.getMinX=function(){return this._minx},gs.prototype.expandToInclude=function(){if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];this.expandToInclude(t.x,t.y)}else if(arguments[0]instanceof gs){var e=arguments[0];if(e.isNull())return null;this.isNull()?(this._minx=e.getMinX(),this._maxx=e.getMaxX(),this._miny=e.getMinY(),this._maxy=e.getMaxY()):(e._minx<this._minx&&(this._minx=e._minx),e._maxx>this._maxx&&(this._maxx=e._maxx),e._miny<this._miny&&(this._miny=e._miny),e._maxy>this._maxy&&(this._maxy=e._maxy))}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.isNull()?(this._minx=n,this._maxx=n,this._miny=l,this._maxy=l):(n<this._minx&&(this._minx=n),n>this._maxx&&(this._maxx=n),l<this._miny&&(this._miny=l),l>this._maxy&&(this._maxy=l))}},gs.prototype.minExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t<e?t:e},gs.prototype.getWidth=function(){return this.isNull()?0:this._maxx-this._minx},gs.prototype.compareTo=function(t){var e=t;return this.isNull()?e.isNull()?0:-1:e.isNull()?1:this._minx<e._minx?-1:this._minx>e._minx?1:this._miny<e._miny?-1:this._miny>e._miny?1:this._maxx<e._maxx?-1:this._maxx>e._maxx?1:this._maxy<e._maxy?-1:this._maxy>e._maxy?1:0},gs.prototype.translate=function(t,e){if(this.isNull())return null;this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)},gs.prototype.toString=function(){return"Env["+this._minx+" : "+this._maxx+", "+this._miny+" : "+this._maxy+"]"},gs.prototype.setToNull=function(){this._minx=0,this._maxx=-1,this._miny=0,this._maxy=-1},gs.prototype.getHeight=function(){return this.isNull()?0:this._maxy-this._miny},gs.prototype.maxExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e},gs.prototype.expandBy=function(){if(1===arguments.length){var t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this.isNull())return null;this._minx-=e,this._maxx+=e,this._miny-=n,this._maxy+=n,(this._minx>this._maxx||this._miny>this._maxy)&&this.setToNull()}},gs.prototype.contains=function(){if(1===arguments.length){if(arguments[0]instanceof gs){var t=arguments[0];return this.covers(t)}if(arguments[0]instanceof Xa){var e=arguments[0];return this.covers(e)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return this.covers(n,l)}},gs.prototype.centre=function(){return this.isNull()?null:new Xa((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)},gs.prototype.init=function(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof gs){var e=arguments[0];this._minx=e._minx,this._maxx=e._maxx,this._miny=e._miny,this._maxy=e._maxy}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.init(n.x,l.x,n.y,l.y)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];i<r?(this._minx=i,this._maxx=r):(this._minx=r,this._maxx=i),o<a?(this._miny=o,this._maxy=a):(this._miny=a,this._maxy=o)}},gs.prototype.getMaxY=function(){return this._maxy},gs.prototype.distance=function(t){if(this.intersects(t))return 0;var e=0;this._maxx<t._minx?e=t._minx-this._maxx:this._minx>t._maxx&&(e=this._minx-t._maxx);var n=0;return this._maxy<t._miny?n=t._miny-this._maxy:this._miny>t._maxy&&(n=this._miny-t._maxy),0===e?n:0===n?e:Math.sqrt(e*e+n*n)},gs.prototype.hashCode=function(){var t=17;return 37*(t=37*(t=37*(t=37*t+Xa.hashCode(this._minx))+Xa.hashCode(this._maxx))+Xa.hashCode(this._miny))+Xa.hashCode(this._maxy)},gs.prototype.interfaces_=function(){return[qa,mi]},gs.prototype.getClass=function(){return gs},gs.intersects=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.x<e.x?t.x:e.x)&&n.x<=(t.x>e.x?t.x:e.x)&&n.y>=(t.y<e.y?t.y:e.y)&&n.y<=(t.y>e.y?t.y:e.y)}if(4===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2],o=arguments[3],a=Math.min(r.x,o.x),s=Math.max(r.x,o.x),u=Math.min(l.x,i.x),c=Math.max(l.x,i.x);return!(u>s||c<a||(a=Math.min(r.y,o.y),s=Math.max(r.y,o.y),u=Math.min(l.y,i.y),c=Math.max(l.y,i.y),u>s||c<a))}},_s.serialVersionUID.get=function(){return 0x51845cd552189800},Object.defineProperties(gs,_s);var ys={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,emptyTypeStr:/^\s*(\w+)\s*EMPTY\s*$/,spaces:/\s+/,parenComma:/\)\s*,\s*\(/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,trimParens:/^\s*\(?(.*?)\)?\s*$/},As=function(t){this.geometryFactory=t||new Gu};As.prototype.read=function(t){var e,n;t=t.replace(/[\n\r]/g," ");var l=ys.typeStr.exec(t);if(-1!==t.search("EMPTY")&&((l=ys.emptyTypeStr.exec(t))[2]=void 0),l&&(n=l[1].toLowerCase(),Cs[n]&&(e=Cs[n].apply(this,[l[2]]))),void 0===e)throw new Error("Could not parse WKT "+t);return e},As.prototype.write=function(t){return this.extractGeometry(t)},As.prototype.extractGeometry=function(t){var e=t.getGeometryType().toLowerCase();if(!vs[e])return null;var n=e.toUpperCase();return t.isEmpty()?n+" EMPTY":n+"("+vs[e].apply(this,[t])+")"};var vs={coordinate:function(t){return t.x+" "+t.y},point:function(t){return vs.coordinate.call(this,t._coordinates._coordinates[0])},multipoint:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.point.apply(this,[t._geometries[n]])+")");return e.join(",")},linestring:function(t){for(var e=[],n=0,l=t._points._coordinates.length;n<l;++n)e.push(vs.coordinate.apply(this,[t._points._coordinates[n]]));return e.join(",")},linearring:function(t){for(var e=[],n=0,l=t._points._coordinates.length;n<l;++n)e.push(vs.coordinate.apply(this,[t._points._coordinates[n]]));return e.join(",")},multilinestring:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.linestring.apply(this,[t._geometries[n]])+")");return e.join(",")},polygon:function(t){var e=[];e.push("("+vs.linestring.apply(this,[t._shell])+")");for(var n=0,l=t._holes.length;n<l;++n)e.push("("+vs.linestring.apply(this,[t._holes[n]])+")");return e.join(",")},multipolygon:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.polygon.apply(this,[t._geometries[n]])+")");return e.join(",")},geometrycollection:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push(this.extractGeometry(t._geometries[n]));return e.join(",")}},Cs={point:function(t){if(void 0===t)return this.geometryFactory.createPoint();var e=t.trim().split(ys.spaces);return this.geometryFactory.createPoint(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])))},multipoint:function(t){if(void 0===t)return this.geometryFactory.createMultiPoint();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.point.apply(this,[e]));return this.geometryFactory.createMultiPoint(l)},linestring:function(t){if(void 0===t)return this.geometryFactory.createLineString();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].trim().split(ys.spaces),l.push(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLineString(l)},linearring:function(t){if(void 0===t)return this.geometryFactory.createLinearRing();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].trim().split(ys.spaces),l.push(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLinearRing(l)},multilinestring:function(t){if(void 0===t)return this.geometryFactory.createMultiLineString();for(var e,n=t.trim().split(ys.parenComma),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.linestring.apply(this,[e]));return this.geometryFactory.createMultiLineString(l)},polygon:function(t){if(void 0===t)return this.geometryFactory.createPolygon();for(var e,n,l,i,r=t.trim().split(ys.parenComma),o=[],a=0,s=r.length;a<s;++a)e=r[a].replace(ys.trimParens,"$1"),n=Cs.linestring.apply(this,[e]),l=this.geometryFactory.createLinearRing(n._points),0===a?i=l:o.push(l);return this.geometryFactory.createPolygon(i,o)},multipolygon:function(t){if(void 0===t)return this.geometryFactory.createMultiPolygon();for(var e,n=t.trim().split(ys.doubleParenComma),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.polygon.apply(this,[e]));return this.geometryFactory.createMultiPolygon(l)},geometrycollection:function(t){if(void 0===t)return this.geometryFactory.createGeometryCollection();for(var e=(t=t.replace(/,\s*([A-Za-z])/g,"|$1")).trim().split("|"),n=[],l=0,i=e.length;l<i;++l)n.push(this.read(e[l]));return this.geometryFactory.createGeometryCollection(n)}},ws=function(t){this.parser=new As(t)};ws.prototype.write=function(t){return this.parser.write(t)},ws.toLineString=function(t,e){if(2!==arguments.length)throw new Error("Not implemented");return"LINESTRING ( "+t.x+" "+t.y+", "+e.x+" "+e.y+" )"};var Ps=function(t){function e(e){t.call(this,e),this.name="RuntimeException",this.message=e,this.stack=(new t).stack}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Error),xs=function(t){function e(){if(t.call(this),0===arguments.length)t.call(this);else if(1===arguments.length){var e=arguments[0];t.call(this,e)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Ps),Ss=function(){};Ss.prototype.interfaces_=function(){return[]},Ss.prototype.getClass=function(){return Ss},Ss.shouldNeverReachHere=function(){if(0===arguments.length)Ss.shouldNeverReachHere(null);else if(1===arguments.length){var t=arguments[0];throw new xs("Should never reach here"+(null!==t?": "+t:""))}},Ss.isTrue=function(){var t;if(1===arguments.length)Ss.isTrue(arguments[0],null);else if(2===arguments.length&&(t=arguments[1],!arguments[0]))throw null===t?new xs:new xs(t)},Ss.equals=function(){var t,e,n;if(2===arguments.length)Ss.equals(t=arguments[0],e=arguments[1],null);else if(3===arguments.length&&(n=arguments[2],!(e=arguments[1]).equals(t=arguments[0])))throw new xs("Expected "+t+" but encountered "+e+(null!==n?": "+n:""))};var ks=function(){this._result=null,this._inputLines=Array(2).fill().map((function(){return Array(2)})),this._intPt=new Array(2).fill(null),this._intLineIndex=null,this._isProper=null,this._pa=null,this._pb=null,this._precisionModel=null,this._intPt[0]=new Xa,this._intPt[1]=new Xa,this._pa=this._intPt[0],this._pb=this._intPt[1],this._result=0},Ms={DONT_INTERSECT:{configurable:!0},DO_INTERSECT:{configurable:!0},COLLINEAR:{configurable:!0},NO_INTERSECTION:{configurable:!0},POINT_INTERSECTION:{configurable:!0},COLLINEAR_INTERSECTION:{configurable:!0}};ks.prototype.getIndexAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intLineIndex[t][e]},ks.prototype.getTopologySummary=function(){var t=new is;return this.isEndPoint()&&t.append(" endpoint"),this._isProper&&t.append(" proper"),this.isCollinear()&&t.append(" collinear"),t.toString()},ks.prototype.computeIntersection=function(t,e,n,l){this._inputLines[0][0]=t,this._inputLines[0][1]=e,this._inputLines[1][0]=n,this._inputLines[1][1]=l,this._result=this.computeIntersect(t,e,n,l)},ks.prototype.getIntersectionNum=function(){return this._result},ks.prototype.computeIntLineIndex=function(){if(0===arguments.length)null===this._intLineIndex&&(this._intLineIndex=Array(2).fill().map((function(){return Array(2)})),this.computeIntLineIndex(0),this.computeIntLineIndex(1));else if(1===arguments.length){var t=arguments[0];this.getEdgeDistance(t,0)>this.getEdgeDistance(t,1)?(this._intLineIndex[t][0]=0,this._intLineIndex[t][1]=1):(this._intLineIndex[t][0]=1,this._intLineIndex[t][1]=0)}},ks.prototype.isProper=function(){return this.hasIntersection()&&this._isProper},ks.prototype.setPrecisionModel=function(t){this._precisionModel=t},ks.prototype.isInteriorIntersection=function(){if(0===arguments.length)return!!this.isInteriorIntersection(0)||!!this.isInteriorIntersection(1);if(1===arguments.length){for(var t=arguments[0],e=0;e<this._result;e++)if(!this._intPt[e].equals2D(this._inputLines[t][0])&&!this._intPt[e].equals2D(this._inputLines[t][1]))return!0;return!1}},ks.prototype.getIntersection=function(t){return this._intPt[t]},ks.prototype.isEndPoint=function(){return this.hasIntersection()&&!this._isProper},ks.prototype.hasIntersection=function(){return this._result!==ks.NO_INTERSECTION},ks.prototype.getEdgeDistance=function(t,e){return ks.computeEdgeDistance(this._intPt[e],this._inputLines[t][0],this._inputLines[t][1])},ks.prototype.isCollinear=function(){return this._result===ks.COLLINEAR_INTERSECTION},ks.prototype.toString=function(){return ws.toLineString(this._inputLines[0][0],this._inputLines[0][1])+" - "+ws.toLineString(this._inputLines[1][0],this._inputLines[1][1])+this.getTopologySummary()},ks.prototype.getEndpoint=function(t,e){return this._inputLines[t][e]},ks.prototype.isIntersection=function(t){for(var e=0;e<this._result;e++)if(this._intPt[e].equals2D(t))return!0;return!1},ks.prototype.getIntersectionAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intPt[this._intLineIndex[t][e]]},ks.prototype.interfaces_=function(){return[]},ks.prototype.getClass=function(){return ks},ks.computeEdgeDistance=function(t,e,n){var l=Math.abs(n.x-e.x),i=Math.abs(n.y-e.y),r=-1;if(t.equals(e))r=0;else if(t.equals(n))r=l>i?l:i;else{var o=Math.abs(t.x-e.x),a=Math.abs(t.y-e.y);0!==(r=l>i?o:a)||t.equals(e)||(r=Math.max(o,a))}return Ss.isTrue(!(0===r&&!t.equals(e)),"Bad distance calculation"),r},ks.nonRobustComputeEdgeDistance=function(t,e,n){var l=t.x-e.x,i=t.y-e.y,r=Math.sqrt(l*l+i*i);return Ss.isTrue(!(0===r&&!t.equals(e)),"Invalid distance calculation"),r},Ms.DONT_INTERSECT.get=function(){return 0},Ms.DO_INTERSECT.get=function(){return 1},Ms.COLLINEAR.get=function(){return 2},Ms.NO_INTERSECTION.get=function(){return 0},Ms.POINT_INTERSECTION.get=function(){return 1},Ms.COLLINEAR_INTERSECTION.get=function(){return 2},Object.defineProperties(ks,Ms);var Os=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isInSegmentEnvelopes=function(t){var e=new gs(this._inputLines[0][0],this._inputLines[0][1]),n=new gs(this._inputLines[1][0],this._inputLines[1][1]);return e.contains(t)&&n.contains(t)},e.prototype.computeIntersection=function(){if(3!==arguments.length)return t.prototype.computeIntersection.apply(this,arguments);var e=arguments[0],n=arguments[1],l=arguments[2];if(this._isProper=!1,gs.intersects(n,l,e)&&0===Es.orientationIndex(n,l,e)&&0===Es.orientationIndex(l,n,e))return this._isProper=!0,(e.equals(n)||e.equals(l))&&(this._isProper=!1),this._result=t.POINT_INTERSECTION,null;this._result=t.NO_INTERSECTION},e.prototype.normalizeToMinimum=function(t,e,n,l,i){i.x=this.smallestInAbsValue(t.x,e.x,n.x,l.x),i.y=this.smallestInAbsValue(t.y,e.y,n.y,l.y),t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,n.x-=i.x,n.y-=i.y,l.x-=i.x,l.y-=i.y},e.prototype.safeHCoordinateIntersection=function(t,n,l,i){var r=null;try{r=ms.intersection(t,n,l,i)}catch(o){if(!(o instanceof fs))throw o;r=e.nearestEndpoint(t,n,l,i)}return r},e.prototype.intersection=function(t,n,l,i){var r=this.intersectionWithNormalization(t,n,l,i);return this.isInSegmentEnvelopes(r)||(r=new Xa(e.nearestEndpoint(t,n,l,i))),null!==this._precisionModel&&this._precisionModel.makePrecise(r),r},e.prototype.smallestInAbsValue=function(t,e,n,l){var i=t,r=Math.abs(i);return Math.abs(e)<r&&(i=e,r=Math.abs(e)),Math.abs(n)<r&&(i=n,r=Math.abs(n)),Math.abs(l)<r&&(i=l),i},e.prototype.checkDD=function(t,e,n,l,i){var r=us.intersection(t,e,n,l),o=this.isInSegmentEnvelopes(r);bs.out.println("DD in env = "+o+" --------------------- "+r),i.distance(r)>1e-4&&bs.out.println("Distance = "+i.distance(r))},e.prototype.intersectionWithNormalization=function(t,e,n,l){var i=new Xa(t),r=new Xa(e),o=new Xa(n),a=new Xa(l),s=new Xa;this.normalizeToEnvCentre(i,r,o,a,s);var u=this.safeHCoordinateIntersection(i,r,o,a);return u.x+=s.x,u.y+=s.y,u},e.prototype.computeCollinearIntersection=function(e,n,l,i){var r=gs.intersects(e,n,l),o=gs.intersects(e,n,i),a=gs.intersects(l,i,e),s=gs.intersects(l,i,n);return r&&o?(this._intPt[0]=l,this._intPt[1]=i,t.COLLINEAR_INTERSECTION):a&&s?(this._intPt[0]=e,this._intPt[1]=n,t.COLLINEAR_INTERSECTION):r&&a?(this._intPt[0]=l,this._intPt[1]=e,!l.equals(e)||o||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):r&&s?(this._intPt[0]=l,this._intPt[1]=n,!l.equals(n)||o||a?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):o&&a?(this._intPt[0]=i,this._intPt[1]=e,!i.equals(e)||r||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):o&&s?(this._intPt[0]=i,this._intPt[1]=n,!i.equals(n)||r||a?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):t.NO_INTERSECTION},e.prototype.normalizeToEnvCentre=function(t,e,n,l,i){var r=t.x<e.x?t.x:e.x,o=t.y<e.y?t.y:e.y,a=t.x>e.x?t.x:e.x,s=t.y>e.y?t.y:e.y,u=n.x<l.x?n.x:l.x,c=n.y<l.y?n.y:l.y,d=n.x>l.x?n.x:l.x,h=n.y>l.y?n.y:l.y,p=((o>c?o:c)+(s<h?s:h))/2;i.x=((r>u?r:u)+(a<d?a:d))/2,i.y=p,t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,n.x-=i.x,n.y-=i.y,l.x-=i.x,l.y-=i.y},e.prototype.computeIntersect=function(e,n,l,i){if(this._isProper=!1,!gs.intersects(e,n,l,i))return t.NO_INTERSECTION;var r=Es.orientationIndex(e,n,l),o=Es.orientationIndex(e,n,i);if(r>0&&o>0||r<0&&o<0)return t.NO_INTERSECTION;var a=Es.orientationIndex(l,i,e),s=Es.orientationIndex(l,i,n);return a>0&&s>0||a<0&&s<0?t.NO_INTERSECTION:0===r&&0===o&&0===a&&0===s?this.computeCollinearIntersection(e,n,l,i):(0===r||0===o||0===a||0===s?(this._isProper=!1,e.equals2D(l)||e.equals2D(i)?this._intPt[0]=e:n.equals2D(l)||n.equals2D(i)?this._intPt[0]=n:0===r?this._intPt[0]=new Xa(l):0===o?this._intPt[0]=new Xa(i):0===a?this._intPt[0]=new Xa(e):0===s&&(this._intPt[0]=new Xa(n))):(this._isProper=!0,this._intPt[0]=this.intersection(e,n,l,i)),t.POINT_INTERSECTION)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.nearestEndpoint=function(t,e,n,l){var i=t,r=Es.distancePointLine(t,n,l),o=Es.distancePointLine(e,n,l);return o<r&&(r=o,i=e),(o=Es.distancePointLine(n,t,e))<r&&(r=o,i=n),(o=Es.distancePointLine(l,t,e))<r&&(r=o,i=l),i},e}(ks),Ds=function(){};Ds.prototype.interfaces_=function(){return[]},Ds.prototype.getClass=function(){return Ds},Ds.orientationIndex=function(t,e,n){return Ds.signOfDet2x2(e.x-t.x,e.y-t.y,n.x-e.x,n.y-e.y)},Ds.signOfDet2x2=function(t,e,n,l){var i=null,r=null,o=null;if(i=1,0===t||0===l)return 0===e||0===n?0:e>0?n>0?-i:i:n>0?i:-i;if(0===e||0===n)return l>0?t>0?i:-i:t>0?-i:i;if(e>0?l>0?e<=l||(i=-i,r=t,t=n,n=r,r=e,e=l,l=r):e<=-l?(i=-i,n=-n,l=-l):(r=t,t=-n,n=r,r=e,e=-l,l=r):l>0?-e<=l?(i=-i,t=-t,e=-e):(r=-t,t=n,n=r,r=-e,e=l,l=r):e>=l?(t=-t,e=-e,n=-n,l=-l):(i=-i,r=-t,t=-n,n=r,r=-e,e=-l,l=r),t>0){if(!(n>0))return i;if(!(t<=n))return i}else{if(n>0)return-i;if(!(t>=n))return-i;i=-i,t=-t,n=-n}for(;;){if((l-=(o=Math.floor(n/t))*e)<0)return-i;if(l>e)return i;if(t>(n-=o*t)+n){if(e<l+l)return i}else{if(e>l+l)return-i;n=t-n,l=e-l,i=-i}if(0===l)return 0===n?0:-i;if(0===n)return i;if((e-=(o=Math.floor(t/n))*l)<0)return i;if(e>l)return-i;if(n>(t-=o*n)+t){if(l<e+e)return-i}else{if(l>e+e)return i;t=n-t,e=l-e,i=-i}if(0===e)return 0===t?0:i;if(0===t)return-i}};var Ts=function(){this._p=null,this._crossingCount=0,this._isPointOnSegment=!1;var t=arguments[0];this._p=t};Ts.prototype.countSegment=function(t,e){if(t.x<this._p.x&&e.x<this._p.x)return null;if(this._p.x===e.x&&this._p.y===e.y)return this._isPointOnSegment=!0,null;if(t.y===this._p.y&&e.y===this._p.y){var n=t.x,l=e.x;return n>l&&(n=e.x,l=t.x),this._p.x>=n&&this._p.x<=l&&(this._isPointOnSegment=!0),null}if(t.y>this._p.y&&e.y<=this._p.y||e.y>this._p.y&&t.y<=this._p.y){var i=t.y-this._p.y,r=e.y-this._p.y,o=Ds.signOfDet2x2(t.x-this._p.x,i,e.x-this._p.x,r);if(0===o)return this._isPointOnSegment=!0,null;r<i&&(o=-o),o>0&&this._crossingCount++}},Ts.prototype.isPointInPolygon=function(){return this.getLocation()!==Za.EXTERIOR},Ts.prototype.getLocation=function(){return this._isPointOnSegment?Za.BOUNDARY:this._crossingCount%2==1?Za.INTERIOR:Za.EXTERIOR},Ts.prototype.isOnSegment=function(){return this._isPointOnSegment},Ts.prototype.interfaces_=function(){return[]},Ts.prototype.getClass=function(){return Ts},Ts.locatePointInRing=function(){if(arguments[0]instanceof Xa&&es(arguments[1],ds)){for(var t=arguments[0],e=arguments[1],n=new Ts(t),l=new Xa,i=new Xa,r=1;r<e.size();r++)if(e.getCoordinate(r,l),e.getCoordinate(r-1,i),n.countSegment(l,i),n.isOnSegment())return n.getLocation();return n.getLocation()}if(arguments[0]instanceof Xa&&arguments[1]instanceof Array){for(var o=arguments[0],a=arguments[1],s=new Ts(o),u=1;u<a.length;u++){var c=a[u],d=a[u-1];if(s.countSegment(c,d),s.isOnSegment())return s.getLocation()}return s.getLocation()}};var Es=function(){},Is={CLOCKWISE:{configurable:!0},RIGHT:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},LEFT:{configurable:!0},COLLINEAR:{configurable:!0},STRAIGHT:{configurable:!0}};Es.prototype.interfaces_=function(){return[]},Es.prototype.getClass=function(){return Es},Es.orientationIndex=function(t,e,n){return us.orientationIndex(t,e,n)},Es.signedArea=function(){if(arguments[0]instanceof Array){var t=arguments[0];if(t.length<3)return 0;for(var e=0,n=t[0].x,l=1;l<t.length-1;l++){var i=t[l].x-n,r=t[l+1].y;e+=i*(t[l-1].y-r)}return e/2}if(es(arguments[0],ds)){var o=arguments[0],a=o.size();if(a<3)return 0;var s=new Xa,u=new Xa,c=new Xa;o.getCoordinate(0,u),o.getCoordinate(1,c);var d=u.x;c.x-=d;for(var h=0,p=1;p<a-1;p++)s.y=u.y,u.x=c.x,u.y=c.y,o.getCoordinate(p+1,c),c.x-=d,h+=u.x*(s.y-c.y);return h/2}},Es.distanceLineLine=function(t,e,n,l){if(t.equals(e))return Es.distancePointLine(t,n,l);if(n.equals(l))return Es.distancePointLine(l,t,e);var i=!1;if(gs.intersects(t,e,n,l)){var r=(e.x-t.x)*(l.y-n.y)-(e.y-t.y)*(l.x-n.x);if(0===r)i=!0;else{var o=((t.y-n.y)*(e.x-t.x)-(t.x-n.x)*(e.y-t.y))/r,a=((t.y-n.y)*(l.x-n.x)-(t.x-n.x)*(l.y-n.y))/r;(a<0||a>1||o<0||o>1)&&(i=!0)}}else i=!0;return i?ns.min(Es.distancePointLine(t,n,l),Es.distancePointLine(e,n,l),Es.distancePointLine(n,t,e),Es.distancePointLine(l,t,e)):0},Es.isPointInRing=function(t,e){return Es.locatePointInRing(t,e)!==Za.EXTERIOR},Es.computeLength=function(t){var e=t.size();if(e<=1)return 0;var n=0,l=new Xa;t.getCoordinate(0,l);for(var i=l.x,r=l.y,o=1;o<e;o++){t.getCoordinate(o,l);var a=l.x,s=l.y,u=a-i,c=s-r;n+=Math.sqrt(u*u+c*c),i=a,r=s}return n},Es.isCCW=function(t){var e=t.length-1;if(e<3)throw new Ga("Ring has fewer than 4 points, so orientation cannot be determined");for(var n=t[0],l=0,i=1;i<=e;i++){var r=t[i];r.y>n.y&&(n=r,l=i)}var o=l;do{(o-=1)<0&&(o=e)}while(t[o].equals2D(n)&&o!==l);var a=l;do{a=(a+1)%e}while(t[a].equals2D(n)&&a!==l);var s=t[o],u=t[a];if(s.equals2D(n)||u.equals2D(n)||s.equals2D(u))return!1;var c=Es.computeOrientation(s,n,u);return 0===c?s.x>u.x:c>0},Es.locatePointInRing=function(t,e){return Ts.locatePointInRing(t,e)},Es.distancePointLinePerpendicular=function(t,e,n){var l=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y);return Math.abs(((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/l)*Math.sqrt(l)},Es.computeOrientation=function(t,e,n){return Es.orientationIndex(t,e,n)},Es.distancePointLine=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(0===e.length)throw new Ga("Line array must contain at least one vertex");for(var n=t.distance(e[0]),l=0;l<e.length-1;l++){var i=Es.distancePointLine(t,e[l],e[l+1]);i<n&&(n=i)}return n}if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];if(o.x===a.x&&o.y===a.y)return r.distance(o);var s=(a.x-o.x)*(a.x-o.x)+(a.y-o.y)*(a.y-o.y),u=((r.x-o.x)*(a.x-o.x)+(r.y-o.y)*(a.y-o.y))/s;if(u<=0)return r.distance(o);if(u>=1)return r.distance(a);var c=((o.y-r.y)*(a.x-o.x)-(o.x-r.x)*(a.y-o.y))/s;return Math.abs(c)*Math.sqrt(s)}},Es.isOnLine=function(t,e){for(var n=new Os,l=1;l<e.length;l++)if(n.computeIntersection(t,e[l-1],e[l]),n.hasIntersection())return!0;return!1},Is.CLOCKWISE.get=function(){return-1},Is.RIGHT.get=function(){return Es.CLOCKWISE},Is.COUNTERCLOCKWISE.get=function(){return 1},Is.LEFT.get=function(){return Es.COUNTERCLOCKWISE},Is.COLLINEAR.get=function(){return 0},Is.STRAIGHT.get=function(){return Es.COLLINEAR},Object.defineProperties(Es,Is);var Ls=function(){};Ls.prototype.filter=function(t){},Ls.prototype.interfaces_=function(){return[]},Ls.prototype.getClass=function(){return Ls};var js=function(){var t=arguments[0];this._envelope=null,this._factory=null,this._SRID=null,this._userData=null,this._factory=t,this._SRID=t.getSRID()},Rs={serialVersionUID:{configurable:!0},SORTINDEX_POINT:{configurable:!0},SORTINDEX_MULTIPOINT:{configurable:!0},SORTINDEX_LINESTRING:{configurable:!0},SORTINDEX_LINEARRING:{configurable:!0},SORTINDEX_MULTILINESTRING:{configurable:!0},SORTINDEX_POLYGON:{configurable:!0},SORTINDEX_MULTIPOLYGON:{configurable:!0},SORTINDEX_GEOMETRYCOLLECTION:{configurable:!0},geometryChangedFilter:{configurable:!0}};js.prototype.isGeometryCollection=function(){return this.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION},js.prototype.getFactory=function(){return this._factory},js.prototype.getGeometryN=function(t){return this},js.prototype.getArea=function(){return 0},js.prototype.isRectangle=function(){return!1},js.prototype.equals=function(){if(arguments[0]instanceof js){var t=arguments[0];return null!==t&&this.equalsTopo(t)}if(arguments[0]instanceof Object){var e=arguments[0];if(!(e instanceof js))return!1;var n=e;return this.equalsExact(n)}},js.prototype.equalsExact=function(t){return this===t||this.equalsExact(t,0)},js.prototype.geometryChanged=function(){this.apply(js.geometryChangedFilter)},js.prototype.geometryChangedAction=function(){this._envelope=null},js.prototype.equalsNorm=function(t){return null!==t&&this.norm().equalsExact(t.norm())},js.prototype.getLength=function(){return 0},js.prototype.getNumGeometries=function(){return 1},js.prototype.compareTo=function(){if(1===arguments.length){var t=arguments[0],e=t;return this.getSortIndex()!==e.getSortIndex()?this.getSortIndex()-e.getSortIndex():this.isEmpty()&&e.isEmpty()?0:this.isEmpty()?-1:e.isEmpty()?1:this.compareToSameClass(t)}if(2===arguments.length){var n=arguments[0],l=arguments[1];return this.getSortIndex()!==n.getSortIndex()?this.getSortIndex()-n.getSortIndex():this.isEmpty()&&n.isEmpty()?0:this.isEmpty()?-1:n.isEmpty()?1:this.compareToSameClass(n,l)}},js.prototype.getUserData=function(){return this._userData},js.prototype.getSRID=function(){return this._SRID},js.prototype.getEnvelope=function(){return this.getFactory().toGeometry(this.getEnvelopeInternal())},js.prototype.checkNotGeometryCollection=function(t){if(t.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION)throw new Ga("This method does not support GeometryCollection arguments")},js.prototype.equal=function(t,e,n){return 0===n?t.equals(e):t.distance(e)<=n},js.prototype.norm=function(){var t=this.copy();return t.normalize(),t},js.prototype.getPrecisionModel=function(){return this._factory.getPrecisionModel()},js.prototype.getEnvelopeInternal=function(){return null===this._envelope&&(this._envelope=this.computeEnvelopeInternal()),new gs(this._envelope)},js.prototype.setSRID=function(t){this._SRID=t},js.prototype.setUserData=function(t){this._userData=t},js.prototype.compare=function(t,e){for(var n=t.iterator(),l=e.iterator();n.hasNext()&&l.hasNext();){var i=n.next(),r=l.next(),o=i.compareTo(r);if(0!==o)return o}return n.hasNext()?1:l.hasNext()?-1:0},js.prototype.hashCode=function(){return this.getEnvelopeInternal().hashCode()},js.prototype.isGeometryCollectionOrDerived=function(){return this.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION||this.getSortIndex()===js.SORTINDEX_MULTIPOINT||this.getSortIndex()===js.SORTINDEX_MULTILINESTRING||this.getSortIndex()===js.SORTINDEX_MULTIPOLYGON},js.prototype.interfaces_=function(){return[Wa,qa,mi]},js.prototype.getClass=function(){return js},js.hasNonEmptyElements=function(t){for(var e=0;e<t.length;e++)if(!t[e].isEmpty())return!0;return!1},js.hasNullElements=function(t){for(var e=0;e<t.length;e++)if(null===t[e])return!0;return!1},Rs.serialVersionUID.get=function(){return 0x799ea46522854c00},Rs.SORTINDEX_POINT.get=function(){return 0},Rs.SORTINDEX_MULTIPOINT.get=function(){return 1},Rs.SORTINDEX_LINESTRING.get=function(){return 2},Rs.SORTINDEX_LINEARRING.get=function(){return 3},Rs.SORTINDEX_MULTILINESTRING.get=function(){return 4},Rs.SORTINDEX_POLYGON.get=function(){return 5},Rs.SORTINDEX_MULTIPOLYGON.get=function(){return 6},Rs.SORTINDEX_GEOMETRYCOLLECTION.get=function(){return 7},Rs.geometryChangedFilter.get=function(){return Fs},Object.defineProperties(js,Rs);var Fs=function(){};Fs.interfaces_=function(){return[Ls]},Fs.filter=function(t){t.geometryChangedAction()};var Ns=function(){};Ns.prototype.filter=function(t){},Ns.prototype.interfaces_=function(){return[]},Ns.prototype.getClass=function(){return Ns};var Ys=function(){},Us={Mod2BoundaryNodeRule:{configurable:!0},EndPointBoundaryNodeRule:{configurable:!0},MultiValentEndPointBoundaryNodeRule:{configurable:!0},MonoValentEndPointBoundaryNodeRule:{configurable:!0},MOD2_BOUNDARY_RULE:{configurable:!0},ENDPOINT_BOUNDARY_RULE:{configurable:!0},MULTIVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},MONOVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},OGC_SFS_BOUNDARY_RULE:{configurable:!0}};Ys.prototype.isInBoundary=function(t){},Ys.prototype.interfaces_=function(){return[]},Ys.prototype.getClass=function(){return Ys},Us.Mod2BoundaryNodeRule.get=function(){return Bs},Us.EndPointBoundaryNodeRule.get=function(){return zs},Us.MultiValentEndPointBoundaryNodeRule.get=function(){return Gs},Us.MonoValentEndPointBoundaryNodeRule.get=function(){return Hs},Us.MOD2_BOUNDARY_RULE.get=function(){return new Bs},Us.ENDPOINT_BOUNDARY_RULE.get=function(){return new zs},Us.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Gs},Us.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Hs},Us.OGC_SFS_BOUNDARY_RULE.get=function(){return Ys.MOD2_BOUNDARY_RULE},Object.defineProperties(Ys,Us);var Bs=function(){};Bs.prototype.isInBoundary=function(t){return t%2==1},Bs.prototype.interfaces_=function(){return[Ys]},Bs.prototype.getClass=function(){return Bs};var zs=function(){};zs.prototype.isInBoundary=function(t){return t>0},zs.prototype.interfaces_=function(){return[Ys]},zs.prototype.getClass=function(){return zs};var Gs=function(){};Gs.prototype.isInBoundary=function(t){return t>1},Gs.prototype.interfaces_=function(){return[Ys]},Gs.prototype.getClass=function(){return Gs};var Hs=function(){};Hs.prototype.isInBoundary=function(t){return 1===t},Hs.prototype.interfaces_=function(){return[Ys]},Hs.prototype.getClass=function(){return Hs};var Vs=function(){};Vs.prototype.add=function(){},Vs.prototype.addAll=function(){},Vs.prototype.isEmpty=function(){},Vs.prototype.iterator=function(){},Vs.prototype.size=function(){},Vs.prototype.toArray=function(){},Vs.prototype.remove=function(){};var qs=function(t){function e(e){t.call(this),this.message=e||""}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={name:{configurable:!0}};return n.name.get=function(){return"IndexOutOfBoundsException"},Object.defineProperties(e,n),e}(Error),Ws=function(){};Ws.prototype.hasNext=function(){},Ws.prototype.next=function(){},Ws.prototype.remove=function(){};var $s=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(){},e.prototype.set=function(){},e.prototype.isEmpty=function(){},e}(Vs);(gi.prototype=new Error).name="NoSuchElementException";var Xs=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.ensureCapacity=function(){},e.prototype.interfaces_=function(){return[t,Vs]},e.prototype.add=function(t){return 1===arguments.length?this.array_.push(t):this.array_.splice(arguments[0],arguments[1]),!0},e.prototype.clear=function(){this.array_=[]},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.set=function(t,e){var n=this.array_[t];return this.array_[t]=e,n},e.prototype.iterator=function(){return new Ks(this)},e.prototype.get=function(t){if(t<0||t>=this.size())throw new qs;return this.array_[t]},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.size=function(){return this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},e.prototype.remove=function(t){for(var e=!1,n=0,l=this.array_.length;n<l;n++)if(this.array_[n]===t){this.array_.splice(n,1),e=!0;break}return e},e}($s),Ks=function(t){function e(e){t.call(this),this.arrayList_=e,this.position_=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.next=function(){if(this.position_===this.arrayList_.size())throw new gi;return this.arrayList_.get(this.position_++)},e.prototype.hasNext=function(){return this.position_<this.arrayList_.size()},e.prototype.set=function(t){return this.arrayList_.set(this.position_-1,t)},e.prototype.remove=function(){this.arrayList_.remove(this.arrayList_.get(this.position_))},e}(Ws),Js=function(t){function e(){if(t.call(this),0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.ensureCapacity(e.length),this.add(e,!0)}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.ensureCapacity(n.length),this.add(n,l)}}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={coordArrayType:{configurable:!0}};return n.coordArrayType.get=function(){return new Array(0).fill(null)},e.prototype.getCoordinate=function(t){return this.get(t)},e.prototype.addAll=function(){if(2===arguments.length){for(var e=arguments[0],n=arguments[1],l=!1,i=e.iterator();i.hasNext();)this.add(i.next(),n),l=!0;return l}return t.prototype.addAll.apply(this,arguments)},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=0;n<this.size();n++)e.add(n,this.get(n).copy());return e},e.prototype.toCoordinateArray=function(){return this.toArray(e.coordArrayType)},e.prototype.add=function(){if(1===arguments.length){var e=arguments[0];t.prototype.add.call(this,e)}else if(2===arguments.length){if(arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var n=arguments[0],l=arguments[1];return this.add(n,l,!0),!0}if(arguments[0]instanceof Xa&&"boolean"==typeof arguments[1]){var i=arguments[0];if(!arguments[1]&&this.size()>=1&&this.get(this.size()-1).equals2D(i))return null;t.prototype.add.call(this,i)}else if(arguments[0]instanceof Object&&"boolean"==typeof arguments[1]){var r=arguments[0],o=arguments[1];return this.add(r,o),!0}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var a=arguments[0],s=arguments[1];if(arguments[2])for(var u=0;u<a.length;u++)this.add(a[u],s);else for(var c=a.length-1;c>=0;c--)this.add(a[c],s);return!0}if("boolean"==typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1];if(!arguments[2]){var p=this.size();if(p>0){if(d>0&&this.get(d-1).equals2D(h))return null;if(d<p&&this.get(d).equals2D(h))return null}}t.prototype.add.call(this,d,h)}}else if(4===arguments.length){var f=arguments[0],b=arguments[1],m=arguments[2],g=arguments[3],_=1;m>g&&(_=-1);for(var y=m;y!==g;y+=_)this.add(f[y],b);return!0}},e.prototype.closeRing=function(){this.size()>0&&this.add(new Xa(this.get(0)),!1)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},Object.defineProperties(e,n),e}(Xs),Qs=function(){},Zs={ForwardComparator:{configurable:!0},BidirectionalComparator:{configurable:!0},coordArrayType:{configurable:!0}};Zs.ForwardComparator.get=function(){return tu},Zs.BidirectionalComparator.get=function(){return eu},Zs.coordArrayType.get=function(){return new Array(0).fill(null)},Qs.prototype.interfaces_=function(){return[]},Qs.prototype.getClass=function(){return Qs},Qs.isRing=function(t){return!(t.length<4||!t[0].equals2D(t[t.length-1]))},Qs.ptNotInList=function(t,e){for(var n=0;n<t.length;n++){var l=t[n];if(Qs.indexOf(l,e)<0)return l}return null},Qs.scroll=function(t,e){var n=Qs.indexOf(e,t);if(n<0)return null;var l=new Array(t.length).fill(null);bs.arraycopy(t,n,l,0,t.length-n),bs.arraycopy(t,0,l,t.length-n,n),bs.arraycopy(l,0,t,0,t.length)},Qs.equals=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(t===e)return!0;if(null===t||null===e)return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!t[n].equals(e[n]))return!1;return!0}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];if(l===i)return!0;if(null===l||null===i)return!1;if(l.length!==i.length)return!1;for(var o=0;o<l.length;o++)if(0!==r.compare(l[o],i[o]))return!1;return!0}},Qs.intersection=function(t,e){for(var n=new Js,l=0;l<t.length;l++)e.intersects(t[l])&&n.add(t[l],!0);return n.toCoordinateArray()},Qs.hasRepeatedPoints=function(t){for(var e=1;e<t.length;e++)if(t[e-1].equals(t[e]))return!0;return!1},Qs.removeRepeatedPoints=function(t){return Qs.hasRepeatedPoints(t)?new Js(t,!1).toCoordinateArray():t},Qs.reverse=function(t){for(var e=t.length-1,n=Math.trunc(e/2),l=0;l<=n;l++){var i=t[l];t[l]=t[e-l],t[e-l]=i}},Qs.removeNull=function(t){for(var e=0,n=0;n<t.length;n++)null!==t[n]&&e++;var l=new Array(e).fill(null);if(0===e)return l;for(var i=0,r=0;r<t.length;r++)null!==t[r]&&(l[i++]=t[r]);return l},Qs.copyDeep=function(){if(1===arguments.length){for(var t=arguments[0],e=new Array(t.length).fill(null),n=0;n<t.length;n++)e[n]=new Xa(t[n]);return e}if(5===arguments.length)for(var l=arguments[0],i=arguments[1],r=arguments[2],o=arguments[3],a=arguments[4],s=0;s<a;s++)r[o+s]=new Xa(l[i+s])},Qs.isEqualReversed=function(t,e){for(var n=0;n<t.length;n++)if(0!==t[n].compareTo(e[t.length-n-1]))return!1;return!0},Qs.envelope=function(t){for(var e=new gs,n=0;n<t.length;n++)e.expandToInclude(t[n]);return e},Qs.toCoordinateArray=function(t){return t.toArray(Qs.coordArrayType)},Qs.atLeastNCoordinatesOrNothing=function(t,e){return e.length>=t?e:[]},Qs.indexOf=function(t,e){for(var n=0;n<e.length;n++)if(t.equals(e[n]))return n;return-1},Qs.increasingDirection=function(t){for(var e=0;e<Math.trunc(t.length/2);e++){var n=t[e].compareTo(t[t.length-1-e]);if(0!==n)return n}return 1},Qs.compare=function(t,e){for(var n=0;n<t.length&&n<e.length;){var l=t[n].compareTo(e[n]);if(0!==l)return l;n++}return n<e.length?-1:n<t.length?1:0},Qs.minCoordinate=function(t){for(var e=null,n=0;n<t.length;n++)(null===e||e.compareTo(t[n])>0)&&(e=t[n]);return e},Qs.extract=function(t,e,n){e=ns.clamp(e,0,t.length);var l=(n=ns.clamp(n,-1,t.length))-e+1;n<0&&(l=0),e>=t.length&&(l=0),n<e&&(l=0);var i=new Array(l).fill(null);if(0===l)return i;for(var r=0,o=e;o<=n;o++)i[r++]=t[o];return i},Object.defineProperties(Qs,Zs);var tu=function(){};tu.prototype.compare=function(t,e){return Qs.compare(t,e)},tu.prototype.interfaces_=function(){return[$a]},tu.prototype.getClass=function(){return tu};var eu=function(){};eu.prototype.compare=function(t,e){var n=t,l=e;if(n.length<l.length)return-1;if(n.length>l.length)return 1;if(0===n.length)return 0;var i=Qs.compare(n,l);return Qs.isEqualReversed(n,l)?0:i},eu.prototype.OLDcompare=function(t,e){var n=t,l=e;if(n.length<l.length)return-1;if(n.length>l.length)return 1;if(0===n.length)return 0;for(var i=Qs.increasingDirection(n),r=Qs.increasingDirection(l),o=i>0?0:n.length-1,a=r>0?0:n.length-1,s=0;s<n.length;s++){var u=n[o].compareTo(l[a]);if(0!==u)return u;o+=i,a+=r}return 0},eu.prototype.interfaces_=function(){return[$a]},eu.prototype.getClass=function(){return eu};var nu=function(){};nu.prototype.get=function(){},nu.prototype.put=function(){},nu.prototype.size=function(){},nu.prototype.values=function(){},nu.prototype.entrySet=function(){};var lu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(nu);(_i.prototype=new Error).name="OperationNotSupported",(yi.prototype=new Vs).contains=function(){};var iu=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.contains=function(t){for(var e=0,n=this.array_.length;e<n;e++)if(this.array_[e]===t)return!0;return!1},e.prototype.add=function(t){return!this.contains(t)&&(this.array_.push(t),!0)},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.remove=function(t){throw new Error},e.prototype.size=function(){return this.array_.length},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},e.prototype.iterator=function(){return new ru(this)},e}(yi),ru=function(t){function e(e){t.call(this),this.hashSet_=e,this.position_=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.next=function(){if(this.position_===this.hashSet_.size())throw new gi;return this.hashSet_.array_[this.position_++]},e.prototype.hasNext=function(){return this.position_<this.hashSet_.size()},e.prototype.remove=function(){throw new _i},e}(Ws),ou=0;(xi.prototype=new lu).get=function(t){for(var e=this.root_;null!==e;){var n=t.compareTo(e.key);if(n<0)e=e.left;else{if(!(n>0))return e.value;e=e.right}}return null},xi.prototype.put=function(t,e){if(null===this.root_)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:ou,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var n,l,i=this.root_;do{if(n=i,(l=t.compareTo(i.key))<0)i=i.left;else{if(!(l>0)){var r=i.value;return i.value=e,r}i=i.right}}while(null!==i);var o={key:t,left:null,right:null,value:e,parent:n,color:ou,getValue:function(){return this.value},getKey:function(){return this.key}};return l<0?n.left=o:n.right=o,this.fixAfterInsertion(o),this.size_++,null},xi.prototype.fixAfterInsertion=function(t){for(t.color=1;null!=t&&t!==this.root_&&1===t.parent.color;)if(vi(t)===wi(vi(vi(t)))){var e=Pi(vi(vi(t)));1===Ai(e)?(Ci(vi(t),ou),Ci(e,ou),Ci(vi(vi(t)),1),t=vi(vi(t))):(t===Pi(vi(t))&&(t=vi(t),this.rotateLeft(t)),Ci(vi(t),ou),Ci(vi(vi(t)),1),this.rotateRight(vi(vi(t))))}else{var n=wi(vi(vi(t)));1===Ai(n)?(Ci(vi(t),ou),Ci(n,ou),Ci(vi(vi(t)),1),t=vi(vi(t))):(t===wi(vi(t))&&(t=vi(t),this.rotateRight(t)),Ci(vi(t),ou),Ci(vi(vi(t)),1),this.rotateLeft(vi(vi(t))))}this.root_.color=ou},xi.prototype.values=function(){var t=new Xs,e=this.getFirstEntry();if(null!==e)for(t.add(e.value);null!==(e=xi.successor(e));)t.add(e.value);return t},xi.prototype.entrySet=function(){var t=new iu,e=this.getFirstEntry();if(null!==e)for(t.add(e);null!==(e=xi.successor(e));)t.add(e);return t},xi.prototype.rotateLeft=function(t){if(null!=t){var e=t.right;t.right=e.left,null!=e.left&&(e.left.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.left===t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}},xi.prototype.rotateRight=function(t){if(null!=t){var e=t.left;t.left=e.right,null!=e.right&&(e.right.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.right===t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}},xi.prototype.getFirstEntry=function(){var t=this.root_;if(null!=t)for(;null!=t.left;)t=t.left;return t},xi.successor=function(t){if(null===t)return null;if(null!==t.right){for(var e=t.right;null!==e.left;)e=e.left;return e}for(var n=t.parent,l=t;null!==n&&l===n.right;)l=n,n=n.parent;return n},xi.prototype.size=function(){return this.size_};var au=function(){};au.prototype.interfaces_=function(){return[]},au.prototype.getClass=function(){return au},Si.prototype=new yi,(ki.prototype=new Si).contains=function(t){for(var e=0,n=this.array_.length;e<n;e++)if(0===this.array_[e].compareTo(t))return!0;return!1},ki.prototype.add=function(t){if(this.contains(t))return!1;for(var e=0,n=this.array_.length;e<n;e++)if(1===this.array_[e].compareTo(t))return this.array_.splice(e,0,t),!0;return this.array_.push(t),!0},ki.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},ki.prototype.remove=function(t){throw new _i},ki.prototype.size=function(){return this.array_.length},ki.prototype.isEmpty=function(){return 0===this.array_.length},ki.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},ki.prototype.iterator=function(){return new su(this)};var su=function(t){this.treeSet_=t,this.position_=0};su.prototype.next=function(){if(this.position_===this.treeSet_.size())throw new gi;return this.treeSet_.array_[this.position_++]},su.prototype.hasNext=function(){return this.position_<this.treeSet_.size()},su.prototype.remove=function(){throw new _i};var uu=function(){};uu.sort=function(){var t,e,n,l=arguments[0];if(1===arguments.length)l.sort((function(t,e){return t.compareTo(e)}));else if(2===arguments.length)n=arguments[1],l.sort((function(t,e){return n.compare(t,e)}));else if(3===arguments.length){(e=l.slice(arguments[1],arguments[2])).sort();var i=l.slice(0,arguments[1]).concat(e,l.slice(arguments[2],l.length));for(l.splice(0,l.length),t=0;t<i.length;t++)l.push(i[t])}else if(4===arguments.length)for(e=l.slice(arguments[1],arguments[2]),n=arguments[3],e.sort((function(t,e){return n.compare(t,e)})),i=l.slice(0,arguments[1]).concat(e,l.slice(arguments[2],l.length)),l.splice(0,l.length),t=0;t<i.length;t++)l.push(i[t])},uu.asList=function(t){for(var e=new Xs,n=0,l=t.length;n<l;n++)e.add(t[n]);return e};var cu=function(){},du={P:{configurable:!0},L:{configurable:!0},A:{configurable:!0},FALSE:{configurable:!0},TRUE:{configurable:!0},DONTCARE:{configurable:!0},SYM_FALSE:{configurable:!0},SYM_TRUE:{configurable:!0},SYM_DONTCARE:{configurable:!0},SYM_P:{configurable:!0},SYM_L:{configurable:!0},SYM_A:{configurable:!0}};du.P.get=function(){return 0},du.L.get=function(){return 1},du.A.get=function(){return 2},du.FALSE.get=function(){return-1},du.TRUE.get=function(){return-2},du.DONTCARE.get=function(){return-3},du.SYM_FALSE.get=function(){return"F"},du.SYM_TRUE.get=function(){return"T"},du.SYM_DONTCARE.get=function(){return"*"},du.SYM_P.get=function(){return"0"},du.SYM_L.get=function(){return"1"},du.SYM_A.get=function(){return"2"},cu.prototype.interfaces_=function(){return[]},cu.prototype.getClass=function(){return cu},cu.toDimensionSymbol=function(t){switch(t){case cu.FALSE:return cu.SYM_FALSE;case cu.TRUE:return cu.SYM_TRUE;case cu.DONTCARE:return cu.SYM_DONTCARE;case cu.P:return cu.SYM_P;case cu.L:return cu.SYM_L;case cu.A:return cu.SYM_A}throw new Ga("Unknown dimension value: "+t)},cu.toDimensionValue=function(t){switch(os.toUpperCase(t)){case cu.SYM_FALSE:return cu.FALSE;case cu.SYM_TRUE:return cu.TRUE;case cu.SYM_DONTCARE:return cu.DONTCARE;case cu.SYM_P:return cu.P;case cu.SYM_L:return cu.L;case cu.SYM_A:return cu.A}throw new Ga("Unknown dimension symbol: "+t)},Object.defineProperties(cu,du);var hu=function(){};hu.prototype.filter=function(t){},hu.prototype.interfaces_=function(){return[]},hu.prototype.getClass=function(){return hu};var pu=function(){};pu.prototype.filter=function(t,e){},pu.prototype.isDone=function(){},pu.prototype.isGeometryChanged=function(){},pu.prototype.interfaces_=function(){return[]},pu.prototype.getClass=function(){return pu};var fu=function(t){function e(e,n){if(t.call(this,n),this._geometries=e||[],t.hasNullElements(this._geometries))throw new Ga("geometries must not contain null elements")}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){for(var t=new gs,e=0;e<this._geometries.length;e++)t.expandToInclude(this._geometries[e].getEnvelopeInternal());return t},e.prototype.getGeometryN=function(t){return this._geometries[t]},e.prototype.getSortIndex=function(){return t.SORTINDEX_GEOMETRYCOLLECTION},e.prototype.getCoordinates=function(){for(var t=new Array(this.getNumPoints()).fill(null),e=-1,n=0;n<this._geometries.length;n++)for(var l=this._geometries[n].getCoordinates(),i=0;i<l.length;i++)t[++e]=l[i];return t},e.prototype.getArea=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getArea();return t},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e;if(this._geometries.length!==l._geometries.length)return!1;for(var i=0;i<this._geometries.length;i++)if(!this._geometries[i].equalsExact(l._geometries[i],n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<this._geometries.length;t++)this._geometries[t].normalize();uu.sort(this._geometries)},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._geometries[0].getCoordinate()},e.prototype.getBoundaryDimension=function(){for(var t=cu.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getBoundaryDimension());return t},e.prototype.getDimension=function(){for(var t=cu.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getDimension());return t},e.prototype.getLength=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getNumPoints();return t},e.prototype.getNumGeometries=function(){return this._geometries.length},e.prototype.reverse=function(){for(var t=new Array(this._geometries.length).fill(null),e=0;e<this._geometries.length;e++)t[e]=this._geometries[e].reverse();return this.getFactory().createGeometryCollection(t)},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=new ki(uu.asList(this._geometries)),n=new ki(uu.asList(t._geometries));return this.compare(e,n)}if(2===arguments.length){for(var l=arguments[0],i=arguments[1],r=l,o=this.getNumGeometries(),a=r.getNumGeometries(),s=0;s<o&&s<a;){var u=this.getGeometryN(s),c=r.getGeometryN(s),d=u.compareToSameClass(c,i);if(0!==d)return d;s++}return s<o?1:s<a?-1:0}},e.prototype.apply=function(){if(es(arguments[0],Ns))for(var t=arguments[0],e=0;e<this._geometries.length;e++)this._geometries[e].apply(t);else if(es(arguments[0],pu)){var n=arguments[0];if(0===this._geometries.length)return null;for(var l=0;l<this._geometries.length&&(this._geometries[l].apply(n),!n.isDone());l++);n.isGeometryChanged()&&this.geometryChanged()}else if(es(arguments[0],hu)){var i=arguments[0];i.filter(this);for(var r=0;r<this._geometries.length;r++)this._geometries[r].apply(i)}else if(es(arguments[0],Ls)){var o=arguments[0];o.filter(this);for(var a=0;a<this._geometries.length;a++)this._geometries[a].apply(o)}},e.prototype.getBoundary=function(){return this.checkNotGeometryCollection(this),Ss.shouldNeverReachHere(),null},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._geometries=new Array(this._geometries.length).fill(null);for(var n=0;n<this._geometries.length;n++)e._geometries[n]=this._geometries[n].clone();return e},e.prototype.getGeometryType=function(){return"GeometryCollection"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.isEmpty=function(){for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isEmpty())return!1;return!0},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x4f07bcb1f857d800},Object.defineProperties(e,n),e}(js),bu=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTILINESTRING},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?cu.FALSE:0},e.prototype.isClosed=function(){if(this.isEmpty())return!1;for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isClosed())return!1;return!0},e.prototype.getDimension=function(){return 1},e.prototype.reverse=function(){for(var t=this._geometries.length,e=new Array(t).fill(null),n=0;n<this._geometries.length;n++)e[t-1-n]=this._geometries[n].reverse();return this.getFactory().createMultiLineString(e)},e.prototype.getBoundary=function(){return new mu(this).getBoundary()},e.prototype.getGeometryType=function(){return"MultiLineString"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[au]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x7155d2ab4afa8000},Object.defineProperties(e,n),e}(fu),mu=function(){if(this._geom=null,this._geomFact=null,this._bnRule=null,this._endpointMap=null,1===arguments.length){var t=arguments[0],e=Ys.MOD2_BOUNDARY_RULE;this._geom=t,this._geomFact=t.getFactory(),this._bnRule=e}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this._geom=n,this._geomFact=n.getFactory(),this._bnRule=l}};mu.prototype.boundaryMultiLineString=function(t){if(this._geom.isEmpty())return this.getEmptyMultiPoint();var e=this.computeBoundaryCoordinates(t);return 1===e.length?this._geomFact.createPoint(e[0]):this._geomFact.createMultiPointFromCoords(e)},mu.prototype.getBoundary=function(){return this._geom instanceof vu?this.boundaryLineString(this._geom):this._geom instanceof bu?this.boundaryMultiLineString(this._geom):this._geom.getBoundary()},mu.prototype.boundaryLineString=function(t){return this._geom.isEmpty()?this.getEmptyMultiPoint():t.isClosed()?this._bnRule.isInBoundary(2)?t.getStartPoint():this._geomFact.createMultiPoint():this._geomFact.createMultiPoint([t.getStartPoint(),t.getEndPoint()])},mu.prototype.getEmptyMultiPoint=function(){return this._geomFact.createMultiPoint()},mu.prototype.computeBoundaryCoordinates=function(t){var e=new Xs;this._endpointMap=new xi;for(var n=0;n<t.getNumGeometries();n++){var l=t.getGeometryN(n);0!==l.getNumPoints()&&(this.addEndpoint(l.getCoordinateN(0)),this.addEndpoint(l.getCoordinateN(l.getNumPoints()-1)))}for(var i=this._endpointMap.entrySet().iterator();i.hasNext();){var r=i.next(),o=r.getValue().count;this._bnRule.isInBoundary(o)&&e.add(r.getKey())}return Qs.toCoordinateArray(e)},mu.prototype.addEndpoint=function(t){var e=this._endpointMap.get(t);null===e&&(e=new gu,this._endpointMap.put(t,e)),e.count++},mu.prototype.interfaces_=function(){return[]},mu.prototype.getClass=function(){return mu},mu.getBoundary=function(){if(1===arguments.length){var t=arguments[0];return new mu(t).getBoundary()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return new mu(e,n).getBoundary()}};var gu=function(){this.count=null};gu.prototype.interfaces_=function(){return[]},gu.prototype.getClass=function(){return gu};var _u=function(){},yu={NEWLINE:{configurable:!0},SIMPLE_ORDINATE_FORMAT:{configurable:!0}};_u.prototype.interfaces_=function(){return[]},_u.prototype.getClass=function(){return _u},_u.chars=function(t,e){for(var n=new Array(e).fill(null),l=0;l<e;l++)n[l]=t;return String(n)},_u.getStackTrace=function(){if(1===arguments.length){var t=arguments[0],e=new function(){},n=new function(){}(e);return t.printStackTrace(n),e.toString()}if(2===arguments.length){for(var l=arguments[0],i=arguments[1],r="",o=new function(){}(new function(){}(_u.getStackTrace(l))),a=0;a<i;a++)try{r+=o.readLine()+_u.NEWLINE}catch(t){if(!(t instanceof Mi))throw t;Ss.shouldNeverReachHere()}return r}},_u.split=function(t,e){for(var n=e.length,l=new Xs,i=""+t,r=i.indexOf(e);r>=0;){var o=i.substring(0,r);l.add(o),r=(i=i.substring(r+n)).indexOf(e)}i.length>0&&l.add(i);for(var a=new Array(l.size()).fill(null),s=0;s<a.length;s++)a[s]=l.get(s);return a},_u.toString=function(){if(1===arguments.length){var t=arguments[0];return _u.SIMPLE_ORDINATE_FORMAT.format(t)}},_u.spaces=function(t){return _u.chars(" ",t)},yu.NEWLINE.get=function(){return bs.getProperty("line.separator")},yu.SIMPLE_ORDINATE_FORMAT.get=function(){return new function(){}("0.#")},Object.defineProperties(_u,yu);var Au=function(){};Au.prototype.interfaces_=function(){return[]},Au.prototype.getClass=function(){return Au},Au.copyCoord=function(t,e,n,l){for(var i=Math.min(t.getDimension(),n.getDimension()),r=0;r<i;r++)n.setOrdinate(l,r,t.getOrdinate(e,r))},Au.isRing=function(t){var e=t.size();return 0===e||!(e<=3)&&t.getOrdinate(0,ds.X)===t.getOrdinate(e-1,ds.X)&&t.getOrdinate(0,ds.Y)===t.getOrdinate(e-1,ds.Y)},Au.isEqual=function(t,e){var n=t.size();if(n!==e.size())return!1;for(var l=Math.min(t.getDimension(),e.getDimension()),i=0;i<n;i++)for(var r=0;r<l;r++){var o=t.getOrdinate(i,r),a=e.getOrdinate(i,r);if(!(t.getOrdinate(i,r)===e.getOrdinate(i,r)||Ha.isNaN(o)&&Ha.isNaN(a)))return!1}return!0},Au.extend=function(t,e,n){var l=t.create(n,e.getDimension()),i=e.size();if(Au.copy(e,0,l,0,i),i>0)for(var r=i;r<n;r++)Au.copy(e,i-1,l,r,1);return l},Au.reverse=function(t){for(var e=t.size()-1,n=Math.trunc(e/2),l=0;l<=n;l++)Au.swap(t,l,e-l)},Au.swap=function(t,e,n){if(e===n)return null;for(var l=0;l<t.getDimension();l++){var i=t.getOrdinate(e,l);t.setOrdinate(e,l,t.getOrdinate(n,l)),t.setOrdinate(n,l,i)}},Au.copy=function(t,e,n,l,i){for(var r=0;r<i;r++)Au.copyCoord(t,e+r,n,l+r)},Au.toString=function(){if(1===arguments.length){var t=arguments[0],e=t.size();if(0===e)return"()";var n=t.getDimension(),l=new is;l.append("(");for(var i=0;i<e;i++){i>0&&l.append(" ");for(var r=0;r<n;r++)r>0&&l.append(","),l.append(_u.toString(t.getOrdinate(i,r)))}return l.append(")"),l.toString()}},Au.ensureValidRing=function(t,e){var n=e.size();return 0===n?e:n<=3?Au.createClosedRing(t,e,4):e.getOrdinate(0,ds.X)===e.getOrdinate(n-1,ds.X)&&e.getOrdinate(0,ds.Y)===e.getOrdinate(n-1,ds.Y)?e:Au.createClosedRing(t,e,n+1)},Au.createClosedRing=function(t,e,n){var l=t.create(n,e.getDimension()),i=e.size();Au.copy(e,0,l,0,i);for(var r=i;r<n;r++)Au.copy(e,0,l,r,1);return l};var vu=function(t){function e(e,n){t.call(this,n),this._points=null,this.init(e)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this.isEmpty()?new gs:this._points.expandEnvelope(new gs)},e.prototype.isRing=function(){return this.isClosed()&&this.isSimple()},e.prototype.getSortIndex=function(){return t.SORTINDEX_LINESTRING},e.prototype.getCoordinates=function(){return this._points.toCoordinateArray()},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e;if(this._points.size()!==l._points.size())return!1;for(var i=0;i<this._points.size();i++)if(!this.equal(this._points.getCoordinate(i),l._points.getCoordinate(i),n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<Math.trunc(this._points.size()/2);t++){var e=this._points.size()-1-t;if(!this._points.getCoordinate(t).equals(this._points.getCoordinate(e)))return this._points.getCoordinate(t).compareTo(this._points.getCoordinate(e))>0&&Au.reverse(this._points),null}},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._points.getCoordinate(0)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?cu.FALSE:0},e.prototype.isClosed=function(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},e.prototype.getEndPoint=function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},e.prototype.getDimension=function(){return 1},e.prototype.getLength=function(){return Es.computeLength(this._points)},e.prototype.getNumPoints=function(){return this._points.size()},e.prototype.reverse=function(){var t=this._points.copy();return Au.reverse(t),this.getFactory().createLineString(t)},e.prototype.compareToSameClass=function(){if(1===arguments.length){for(var t=arguments[0],e=0,n=0;e<this._points.size()&&n<t._points.size();){var l=this._points.getCoordinate(e).compareTo(t._points.getCoordinate(n));if(0!==l)return l;e++,n++}return e<this._points.size()?1:n<t._points.size()?-1:0}if(2===arguments.length){var i=arguments[0];return arguments[1].compare(this._points,i._points)}},e.prototype.apply=function(){if(es(arguments[0],Ns))for(var t=arguments[0],e=0;e<this._points.size();e++)t.filter(this._points.getCoordinate(e));else if(es(arguments[0],pu)){var n=arguments[0];if(0===this._points.size())return null;for(var l=0;l<this._points.size()&&(n.filter(this._points,l),!n.isDone());l++);n.isGeometryChanged()&&this.geometryChanged()}else(es(arguments[0],hu)||es(arguments[0],Ls))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return new mu(this).getBoundary()},e.prototype.isEquivalentClass=function(t){return t instanceof e},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._points=this._points.clone(),e},e.prototype.getCoordinateN=function(t){return this._points.getCoordinate(t)},e.prototype.getGeometryType=function(){return"LineString"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._points},e.prototype.isEmpty=function(){return 0===this._points.size()},e.prototype.init=function(t){if(null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),1===t.size())throw new Ga("Invalid number of points in LineString (found "+t.size()+" - must be 0 or >= 2)");this._points=t},e.prototype.isCoordinate=function(t){for(var e=0;e<this._points.size();e++)if(this._points.getCoordinate(e).equals(t))return!0;return!1},e.prototype.getStartPoint=function(){return this.isEmpty()?null:this.getPointN(0)},e.prototype.getPointN=function(t){return this.getFactory().createPoint(this._points.getCoordinate(t))},e.prototype.interfaces_=function(){return[au]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x2b2b51ba435c8e00},Object.defineProperties(e,n),e}(js),Cu=function(){};Cu.prototype.interfaces_=function(){return[]},Cu.prototype.getClass=function(){return Cu};var wu=function(t){function e(e,n){t.call(this,n),this._coordinates=e||null,this.init(this._coordinates)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){if(this.isEmpty())return new gs;var t=new gs;return t.expandToInclude(this._coordinates.getX(0),this._coordinates.getY(0)),t},e.prototype.getSortIndex=function(){return t.SORTINDEX_POINT},e.prototype.getCoordinates=function(){return this.isEmpty()?[]:[this.getCoordinate()]},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&(!(!this.isEmpty()||!e.isEmpty())||this.isEmpty()===e.isEmpty()&&this.equal(e.getCoordinate(),this.getCoordinate(),n))}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){},e.prototype.getCoordinate=function(){return 0!==this._coordinates.size()?this._coordinates.getCoordinate(0):null},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getNumPoints=function(){return this.isEmpty()?0:1},e.prototype.reverse=function(){return this.copy()},e.prototype.getX=function(){if(null===this.getCoordinate())throw new Error("getX called on empty Point");return this.getCoordinate().x},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0];return this.getCoordinate().compareTo(t.getCoordinate())}if(2===arguments.length){var e=arguments[0];return arguments[1].compare(this._coordinates,e._coordinates)}},e.prototype.apply=function(){if(es(arguments[0],Ns)){var t=arguments[0];if(this.isEmpty())return null;t.filter(this.getCoordinate())}else if(es(arguments[0],pu)){var e=arguments[0];if(this.isEmpty())return null;e.filter(this._coordinates,0),e.isGeometryChanged()&&this.geometryChanged()}else(es(arguments[0],hu)||es(arguments[0],Ls))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._coordinates=this._coordinates.clone(),e},e.prototype.getGeometryType=function(){return"Point"},e.prototype.copy=function(){return new e(this._coordinates.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._coordinates},e.prototype.getY=function(){if(null===this.getCoordinate())throw new Error("getY called on empty Point");return this.getCoordinate().y},e.prototype.isEmpty=function(){return 0===this._coordinates.size()},e.prototype.init=function(t){null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),Ss.isTrue(t.size()<=1),this._coordinates=t},e.prototype.isSimple=function(){return!0},e.prototype.interfaces_=function(){return[Cu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x44077bad161cbc00},Object.defineProperties(e,n),e}(js),Pu=function(){};Pu.prototype.interfaces_=function(){return[]},Pu.prototype.getClass=function(){return Pu};var xu=function(t){function e(e,n,l){if(t.call(this,l),this._shell=null,this._holes=null,null===e&&(e=this.getFactory().createLinearRing()),null===n&&(n=[]),t.hasNullElements(n))throw new Ga("holes must not contain null elements");if(e.isEmpty()&&t.hasNonEmptyElements(n))throw new Ga("shell is empty but holes are not");this._shell=e,this._holes=n}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this._shell.getEnvelopeInternal()},e.prototype.getSortIndex=function(){return t.SORTINDEX_POLYGON},e.prototype.getCoordinates=function(){if(this.isEmpty())return[];for(var t=new Array(this.getNumPoints()).fill(null),e=-1,n=this._shell.getCoordinates(),l=0;l<n.length;l++)t[++e]=n[l];for(var i=0;i<this._holes.length;i++)for(var r=this._holes[i].getCoordinates(),o=0;o<r.length;o++)t[++e]=r[o];return t},e.prototype.getArea=function(){var t=0;t+=Math.abs(Es.signedArea(this._shell.getCoordinateSequence()));for(var e=0;e<this._holes.length;e++)t-=Math.abs(Es.signedArea(this._holes[e].getCoordinateSequence()));return t},e.prototype.isRectangle=function(){if(0!==this.getNumInteriorRing())return!1;if(null===this._shell)return!1;if(5!==this._shell.getNumPoints())return!1;for(var t=this._shell.getCoordinateSequence(),e=this.getEnvelopeInternal(),n=0;n<5;n++){var l=t.getX(n);if(l!==e.getMinX()&&l!==e.getMaxX())return!1;var i=t.getY(n);if(i!==e.getMinY()&&i!==e.getMaxY())return!1}for(var r=t.getX(0),o=t.getY(0),a=1;a<=4;a++){var s=t.getX(a),u=t.getY(a);if(s!==r==(u!==o))return!1;r=s,o=u}return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e,i=this._shell,r=l._shell;if(!i.equalsExact(r,n))return!1;if(this._holes.length!==l._holes.length)return!1;for(var o=0;o<this._holes.length;o++)if(!this._holes[o].equalsExact(l._holes[o],n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){if(0===arguments.length){this.normalize(this._shell,!0);for(var t=0;t<this._holes.length;t++)this.normalize(this._holes[t],!1);uu.sort(this._holes)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(e.isEmpty())return null;var l=new Array(e.getCoordinates().length-1).fill(null);bs.arraycopy(e.getCoordinates(),0,l,0,l.length);var i=Qs.minCoordinate(e.getCoordinates());Qs.scroll(l,i),bs.arraycopy(l,0,e.getCoordinates(),0,l.length),e.getCoordinates()[l.length]=l[0],Es.isCCW(e.getCoordinates())===n&&Qs.reverse(e.getCoordinates())}},e.prototype.getCoordinate=function(){return this._shell.getCoordinate()},e.prototype.getNumInteriorRing=function(){return this._holes.length},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.getLength=function(){var t=0;t+=this._shell.getLength();for(var e=0;e<this._holes.length;e++)t+=this._holes[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=this._shell.getNumPoints(),e=0;e<this._holes.length;e++)t+=this._holes[e].getNumPoints();return t},e.prototype.reverse=function(){var t=this.copy();t._shell=this._shell.copy().reverse(),t._holes=new Array(this._holes.length).fill(null);for(var e=0;e<this._holes.length;e++)t._holes[e]=this._holes[e].copy().reverse();return t},e.prototype.convexHull=function(){return this.getExteriorRing().convexHull()},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=this._shell,n=t._shell;return e.compareToSameClass(n)}if(2===arguments.length){var l=arguments[0],i=arguments[1],r=l,o=this._shell,a=r._shell,s=o.compareToSameClass(a,i);if(0!==s)return s;for(var u=this.getNumInteriorRing(),c=r.getNumInteriorRing(),d=0;d<u&&d<c;){var h=this.getInteriorRingN(d),p=r.getInteriorRingN(d),f=h.compareToSameClass(p,i);if(0!==f)return f;d++}return d<u?1:d<c?-1:0}},e.prototype.apply=function(t){if(es(t,Ns)){this._shell.apply(t);for(var e=0;e<this._holes.length;e++)this._holes[e].apply(t)}else if(es(t,pu)){if(this._shell.apply(t),!t.isDone())for(var n=0;n<this._holes.length&&(this._holes[n].apply(t),!t.isDone());n++);t.isGeometryChanged()&&this.geometryChanged()}else if(es(t,hu))t.filter(this);else if(es(t,Ls)){t.filter(this),this._shell.apply(t);for(var l=0;l<this._holes.length;l++)this._holes[l].apply(t)}},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();var t=new Array(this._holes.length+1).fill(null);t[0]=this._shell;for(var e=0;e<this._holes.length;e++)t[e+1]=this._holes[e];return t.length<=1?this.getFactory().createLinearRing(t[0].getCoordinateSequence()):this.getFactory().createMultiLineString(t)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._shell=this._shell.clone(),e._holes=new Array(this._holes.length).fill(null);for(var n=0;n<this._holes.length;n++)e._holes[n]=this._holes[n].clone();return e},e.prototype.getGeometryType=function(){return"Polygon"},e.prototype.copy=function(){for(var t=this._shell.copy(),n=new Array(this._holes.length).fill(null),l=0;l<n.length;l++)n[l]=this._holes[l].copy();return new e(t,n,this._factory)},e.prototype.getExteriorRing=function(){return this._shell},e.prototype.isEmpty=function(){return this._shell.isEmpty()},e.prototype.getInteriorRingN=function(t){return this._holes[t]},e.prototype.interfaces_=function(){return[Pu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x307ffefd8dc97200},Object.defineProperties(e,n),e}(js),Su=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTIPOINT},e.prototype.isValid=function(){return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getCoordinate=function(){if(1===arguments.length){var e=arguments[0];return this._geometries[e].getCoordinate()}return t.prototype.getCoordinate.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.getGeometryType=function(){return"MultiPoint"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Cu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x6fb1ed4162e0fc00},Object.defineProperties(e,n),e}(fu),ku=function(t){function e(e,n){e instanceof Xa&&n instanceof Gu&&(e=n.getCoordinateSequenceFactory().create(e)),t.call(this,e,n),this.validateConstruction()}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={MINIMUM_VALID_SIZE:{configurable:!0},serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_LINEARRING},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.isClosed=function(){return!!this.isEmpty()||t.prototype.isClosed.call(this)},e.prototype.reverse=function(){var t=this._points.copy();return Au.reverse(t),this.getFactory().createLinearRing(t)},e.prototype.validateConstruction=function(){if(!this.isEmpty()&&!t.prototype.isClosed.call(this))throw new Ga("Points of LinearRing do not form a closed linestring");if(this.getCoordinateSequence().size()>=1&&this.getCoordinateSequence().size()<e.MINIMUM_VALID_SIZE)throw new Ga("Invalid number of points in LinearRing (found "+this.getCoordinateSequence().size()+" - must be 0 or >= 4)")},e.prototype.getGeometryType=function(){return"LinearRing"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.MINIMUM_VALID_SIZE.get=function(){return 4},n.serialVersionUID.get=function(){return-0x3b229e262367a600},Object.defineProperties(e,n),e}(vu),Mu=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTIPOLYGON},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.reverse=function(){for(var t=new Array(this._geometries.length).fill(null),e=0;e<this._geometries.length;e++)t[e]=this._geometries[e].reverse();return this.getFactory().createMultiPolygon(t)},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();for(var t=new Xs,e=0;e<this._geometries.length;e++)for(var n=this._geometries[e].getBoundary(),l=0;l<n.getNumGeometries();l++)t.add(n.getGeometryN(l));var i=new Array(t.size()).fill(null);return this.getFactory().createMultiLineString(t.toArray(i))},e.prototype.getGeometryType=function(){return"MultiPolygon"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Pu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x7a5aa1369171980},Object.defineProperties(e,n),e}(fu),Ou=function(t){this._factory=t||null,this._isUserDataCopied=!1},Du={NoOpGeometryOperation:{configurable:!0},CoordinateOperation:{configurable:!0},CoordinateSequenceOperation:{configurable:!0}};Ou.prototype.setCopyUserData=function(t){this._isUserDataCopied=t},Ou.prototype.edit=function(t,e){if(null===t)return null;var n=this.editInternal(t,e);return this._isUserDataCopied&&n.setUserData(t.getUserData()),n},Ou.prototype.editInternal=function(t,e){return null===this._factory&&(this._factory=t.getFactory()),t instanceof fu?this.editGeometryCollection(t,e):t instanceof xu?this.editPolygon(t,e):t instanceof wu||t instanceof vu?e.edit(t,this._factory):(Ss.shouldNeverReachHere("Unsupported Geometry class: "+t.getClass().getName()),null)},Ou.prototype.editGeometryCollection=function(t,e){for(var n=e.edit(t,this._factory),l=new Xs,i=0;i<n.getNumGeometries();i++){var r=this.edit(n.getGeometryN(i),e);null===r||r.isEmpty()||l.add(r)}return n.getClass()===Su?this._factory.createMultiPoint(l.toArray([])):n.getClass()===bu?this._factory.createMultiLineString(l.toArray([])):n.getClass()===Mu?this._factory.createMultiPolygon(l.toArray([])):this._factory.createGeometryCollection(l.toArray([]))},Ou.prototype.editPolygon=function(t,e){var n=e.edit(t,this._factory);if(null===n&&(n=this._factory.createPolygon(null)),n.isEmpty())return n;var l=this.edit(n.getExteriorRing(),e);if(null===l||l.isEmpty())return this._factory.createPolygon();for(var i=new Xs,r=0;r<n.getNumInteriorRing();r++){var o=this.edit(n.getInteriorRingN(r),e);null===o||o.isEmpty()||i.add(o)}return this._factory.createPolygon(l,i.toArray([]))},Ou.prototype.interfaces_=function(){return[]},Ou.prototype.getClass=function(){return Ou},Ou.GeometryEditorOperation=function(){},Du.NoOpGeometryOperation.get=function(){return Tu},Du.CoordinateOperation.get=function(){return Eu},Du.CoordinateSequenceOperation.get=function(){return Iu},Object.defineProperties(Ou,Du);var Tu=function(){};Tu.prototype.edit=function(t,e){return t},Tu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Tu.prototype.getClass=function(){return Tu};var Eu=function(){};Eu.prototype.edit=function(t,e){var n=this.editCoordinates(t.getCoordinates(),t);return null===n?t:t instanceof ku?e.createLinearRing(n):t instanceof vu?e.createLineString(n):t instanceof wu?n.length>0?e.createPoint(n[0]):e.createPoint():t},Eu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Eu.prototype.getClass=function(){return Eu};var Iu=function(){};Iu.prototype.edit=function(t,e){return t instanceof ku?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof vu?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof wu?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t},Iu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Iu.prototype.getClass=function(){return Iu};var Lu=function(){if(this._dimension=3,this._coordinates=null,1===arguments.length){if(arguments[0]instanceof Array)this._coordinates=arguments[0],this._dimension=3;else if(Number.isInteger(arguments[0])){var t=arguments[0];this._coordinates=new Array(t).fill(null);for(var e=0;e<t;e++)this._coordinates[e]=new Xa}else if(es(arguments[0],ds)){var n=arguments[0];if(null===n)return this._coordinates=new Array(0).fill(null),null;this._dimension=n.getDimension(),this._coordinates=new Array(n.size()).fill(null);for(var l=0;l<this._coordinates.length;l++)this._coordinates[l]=n.getCoordinateCopy(l)}}else if(2===arguments.length)if(arguments[0]instanceof Array&&Number.isInteger(arguments[1])){var i=arguments[0],r=arguments[1];this._coordinates=i,this._dimension=r,null===i&&(this._coordinates=new Array(0).fill(null))}else if(Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var o=arguments[0],a=arguments[1];this._coordinates=new Array(o).fill(null),this._dimension=a;for(var s=0;s<o;s++)this._coordinates[s]=new Xa}},ju={serialVersionUID:{configurable:!0}};Lu.prototype.setOrdinate=function(t,e,n){switch(e){case ds.X:this._coordinates[t].x=n;break;case ds.Y:this._coordinates[t].y=n;break;case ds.Z:this._coordinates[t].z=n;break;default:throw new Ga("invalid ordinateIndex")}},Lu.prototype.size=function(){return this._coordinates.length},Lu.prototype.getOrdinate=function(t,e){switch(e){case ds.X:return this._coordinates[t].x;case ds.Y:return this._coordinates[t].y;case ds.Z:return this._coordinates[t].z}return Ha.NaN},Lu.prototype.getCoordinate=function(){if(1===arguments.length){var t=arguments[0];return this._coordinates[t]}if(2===arguments.length){var e=arguments[0],n=arguments[1];n.x=this._coordinates[e].x,n.y=this._coordinates[e].y,n.z=this._coordinates[e].z}},Lu.prototype.getCoordinateCopy=function(t){return new Xa(this._coordinates[t])},Lu.prototype.getDimension=function(){return this._dimension},Lu.prototype.getX=function(t){return this._coordinates[t].x},Lu.prototype.clone=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].clone();return new Lu(t,this._dimension)},Lu.prototype.expandEnvelope=function(t){for(var e=0;e<this._coordinates.length;e++)t.expandToInclude(this._coordinates[e]);return t},Lu.prototype.copy=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].copy();return new Lu(t,this._dimension)},Lu.prototype.toString=function(){if(this._coordinates.length>0){var t=new is(17*this._coordinates.length);t.append("("),t.append(this._coordinates[0]);for(var e=1;e<this._coordinates.length;e++)t.append(", "),t.append(this._coordinates[e]);return t.append(")"),t.toString()}return"()"},Lu.prototype.getY=function(t){return this._coordinates[t].y},Lu.prototype.toCoordinateArray=function(){return this._coordinates},Lu.prototype.interfaces_=function(){return[ds,mi]},Lu.prototype.getClass=function(){return Lu},ju.serialVersionUID.get=function(){return-0xcb44a778db18e00},Object.defineProperties(Lu,ju);var Ru=function(){},Fu={serialVersionUID:{configurable:!0},instanceObject:{configurable:!0}};Ru.prototype.readResolve=function(){return Ru.instance()},Ru.prototype.create=function(){if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Lu(t)}if(es(arguments[0],ds)){var e=arguments[0];return new Lu(e)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return l>3&&(l=3),l<2?new Lu(n):new Lu(n,l)}},Ru.prototype.interfaces_=function(){return[Qa,mi]},Ru.prototype.getClass=function(){return Ru},Ru.instance=function(){return Ru.instanceObject},Fu.serialVersionUID.get=function(){return-0x38e49fa6cf6f2e00},Fu.instanceObject.get=function(){return new Ru},Object.defineProperties(Ru,Fu);var Nu=function(t){function e(){t.call(this),this.map_=new Map}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(t){return this.map_.get(t)||null},e.prototype.put=function(t,e){return this.map_.set(t,e),e},e.prototype.values=function(){for(var t=new Xs,e=this.map_.values(),n=e.next();!n.done;)t.add(n.value),n=e.next();return t},e.prototype.entrySet=function(){var t=new iu;return this.map_.entries().forEach((function(e){return t.add(e)})),t},e.prototype.size=function(){return this.map_.size()},e}(nu),Yu=function t(){if(this._modelType=null,this._scale=null,0===arguments.length)this._modelType=t.FLOATING;else if(1===arguments.length)if(arguments[0]instanceof Bu){var e=arguments[0];this._modelType=e,e===t.FIXED&&this.setScale(1)}else if("number"==typeof arguments[0]){var n=arguments[0];this._modelType=t.FIXED,this.setScale(n)}else if(arguments[0]instanceof t){var l=arguments[0];this._modelType=l._modelType,this._scale=l._scale}},Uu={serialVersionUID:{configurable:!0},maximumPreciseValue:{configurable:!0}};Yu.prototype.equals=function(t){return t instanceof Yu&&this._modelType===t._modelType&&this._scale===t._scale},Yu.prototype.compareTo=function(t){var e=t,n=this.getMaximumSignificantDigits(),l=e.getMaximumSignificantDigits();return new rs(n).compareTo(new rs(l))},Yu.prototype.getScale=function(){return this._scale},Yu.prototype.isFloating=function(){return this._modelType===Yu.FLOATING||this._modelType===Yu.FLOATING_SINGLE},Yu.prototype.getType=function(){return this._modelType},Yu.prototype.toString=function(){var t="UNKNOWN";return this._modelType===Yu.FLOATING?t="Floating":this._modelType===Yu.FLOATING_SINGLE?t="Floating-Single":this._modelType===Yu.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t},Yu.prototype.makePrecise=function(){if("number"==typeof arguments[0]){var t=arguments[0];return Ha.isNaN(t)||this._modelType===Yu.FLOATING_SINGLE?t:this._modelType===Yu.FIXED?Math.round(t*this._scale)/this._scale:t}if(arguments[0]instanceof Xa){var e=arguments[0];if(this._modelType===Yu.FLOATING)return null;e.x=this.makePrecise(e.x),e.y=this.makePrecise(e.y)}},Yu.prototype.getMaximumSignificantDigits=function(){var t=16;return this._modelType===Yu.FLOATING?t=16:this._modelType===Yu.FLOATING_SINGLE?t=6:this._modelType===Yu.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t},Yu.prototype.setScale=function(t){this._scale=Math.abs(t)},Yu.prototype.interfaces_=function(){return[mi,qa]},Yu.prototype.getClass=function(){return Yu},Yu.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e},Uu.serialVersionUID.get=function(){return 0x6bee6404e9a25c00},Uu.maximumPreciseValue.get=function(){return 9007199254740992},Object.defineProperties(Yu,Uu);var Bu=function t(e){this._name=e||null,t.nameToTypeMap.put(e,this)},zu={serialVersionUID:{configurable:!0},nameToTypeMap:{configurable:!0}};Bu.prototype.readResolve=function(){return Bu.nameToTypeMap.get(this._name)},Bu.prototype.toString=function(){return this._name},Bu.prototype.interfaces_=function(){return[mi]},Bu.prototype.getClass=function(){return Bu},zu.serialVersionUID.get=function(){return-552860263173159e4},zu.nameToTypeMap.get=function(){return new Nu},Object.defineProperties(Bu,zu),Yu.Type=Bu,Yu.FIXED=new Bu("FIXED"),Yu.FLOATING=new Bu("FLOATING"),Yu.FLOATING_SINGLE=new Bu("FLOATING SINGLE");var Gu=function t(){this._precisionModel=new Yu,this._SRID=0,this._coordinateSequenceFactory=t.getDefaultCoordinateSequenceFactory(),0===arguments.length||(1===arguments.length?es(arguments[0],Qa)?this._coordinateSequenceFactory=arguments[0]:arguments[0]instanceof Yu&&(this._precisionModel=arguments[0]):2===arguments.length?(this._precisionModel=arguments[0],this._SRID=arguments[1]):3===arguments.length&&(this._precisionModel=arguments[0],this._SRID=arguments[1],this._coordinateSequenceFactory=arguments[2]))},Hu={serialVersionUID:{configurable:!0}};Gu.prototype.toGeometry=function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new Xa(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new Xa(t.getMinX(),t.getMinY()),new Xa(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new Xa(t.getMinX(),t.getMinY()),new Xa(t.getMinX(),t.getMaxY()),new Xa(t.getMaxX(),t.getMaxY()),new Xa(t.getMaxX(),t.getMinY()),new Xa(t.getMinX(),t.getMinY())]),null)},Gu.prototype.createLineString=function(t){return t?t instanceof Array?new vu(this.getCoordinateSequenceFactory().create(t),this):es(t,ds)?new vu(t,this):void 0:new vu(this.getCoordinateSequenceFactory().create([]),this)},Gu.prototype.createMultiLineString=function(){if(0===arguments.length)return new bu(null,this);if(1===arguments.length){var t=arguments[0];return new bu(t,this)}},Gu.prototype.buildGeometry=function(t){for(var e=null,n=!1,l=!1,i=t.iterator();i.hasNext();){var r=i.next(),o=r.getClass();null===e&&(e=o),o!==e&&(n=!0),r.isGeometryCollectionOrDerived()&&(l=!0)}if(null===e)return this.createGeometryCollection();if(n||l)return this.createGeometryCollection(Gu.toGeometryArray(t));var a=t.iterator().next();if(t.size()>1){if(a instanceof xu)return this.createMultiPolygon(Gu.toPolygonArray(t));if(a instanceof vu)return this.createMultiLineString(Gu.toLineStringArray(t));if(a instanceof wu)return this.createMultiPoint(Gu.toPointArray(t));Ss.shouldNeverReachHere("Unhandled class: "+a.getClass().getName())}return a},Gu.prototype.createMultiPointFromCoords=function(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)},Gu.prototype.createPoint=function(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(es(arguments[0],ds)){var e=arguments[0];return new wu(e,this)}}},Gu.prototype.getCoordinateSequenceFactory=function(){return this._coordinateSequenceFactory},Gu.prototype.createPolygon=function(){if(0===arguments.length)return new xu(null,null,this);if(1===arguments.length){if(es(arguments[0],ds)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}if(arguments[0]instanceof ku){var n=arguments[0];return this.createPolygon(n,null)}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];return new xu(l,i,this)}},Gu.prototype.getSRID=function(){return this._SRID},Gu.prototype.createGeometryCollection=function(){if(0===arguments.length)return new fu(null,this);if(1===arguments.length){var t=arguments[0];return new fu(t,this)}},Gu.prototype.createGeometry=function(t){return new Ou(this).edit(t,{edit:function(){if(2===arguments.length){var t=arguments[0];return this._coordinateSequenceFactory.create(t)}}})},Gu.prototype.getPrecisionModel=function(){return this._precisionModel},Gu.prototype.createLinearRing=function(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(es(arguments[0],ds)){var e=arguments[0];return new ku(e,this)}}},Gu.prototype.createMultiPolygon=function(){if(0===arguments.length)return new Mu(null,this);if(1===arguments.length){var t=arguments[0];return new Mu(t,this)}},Gu.prototype.createMultiPoint=function(){if(0===arguments.length)return new Su(null,this);if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Su(t,this)}if(arguments[0]instanceof Array){var e=arguments[0];return this.createMultiPoint(null!==e?this.getCoordinateSequenceFactory().create(e):null)}if(es(arguments[0],ds)){var n=arguments[0];if(null===n)return this.createMultiPoint(new Array(0).fill(null));for(var l=new Array(n.size()).fill(null),i=0;i<n.size();i++){var r=this.getCoordinateSequenceFactory().create(1,n.getDimension());Au.copy(n,i,r,0,1),l[i]=this.createPoint(r)}return this.createMultiPoint(l)}}},Gu.prototype.interfaces_=function(){return[mi]},Gu.prototype.getClass=function(){return Gu},Gu.toMultiPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toGeometryArray=function(t){if(null===t)return null;var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.getDefaultCoordinateSequenceFactory=function(){return Ru.instance()},Gu.toMultiLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toMultiPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toLinearRingArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.createPointFromInternalCoord=function(t,e){return e.getPrecisionModel().makePrecise(t),e.getFactory().createPoint(t)},Hu.serialVersionUID.get=function(){return-0x5ea75f2051eeb400},Object.defineProperties(Gu,Hu);var Vu=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],qu=function(t){this.geometryFactory=t||new Gu};qu.prototype.read=function(t){var e,n=(e="string"==typeof t?JSON.parse(t):t).type;if(!Wu[n])throw new Error("Unknown GeoJSON type: "+e.type);return-1!==Vu.indexOf(n)?Wu[n].apply(this,[e.coordinates]):Wu[n].apply(this,"GeometryCollection"===n?[e.geometries]:[e])},qu.prototype.write=function(t){var e=t.getGeometryType();if(!$u[e])throw new Error("Geometry is not supported");return $u[e].apply(this,[t])};var Wu={Feature:function(t){var e={};for(var n in t)e[n]=t[n];if(t.geometry){if(!Wu[t.geometry.type])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=Wu.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e={};if(t.features){e.features=[];for(var n=0;n<t.features.length;++n)e.features.push(this.read(t.features[n]))}return t.bbox&&(e.bbox=this.parse.bbox.apply(this,[t.bbox])),e},coordinates:function(t){for(var e=[],n=0;n<t.length;++n){var l=t[n];e.push(new Xa(l[0],l[1]))}return e},bbox:function(t){return this.geometryFactory.createLinearRing([new Xa(t[0],t[1]),new Xa(t[2],t[1]),new Xa(t[2],t[3]),new Xa(t[0],t[3]),new Xa(t[0],t[1])])},Point:function(t){var e=new Xa(t[0],t[1]);return this.geometryFactory.createPoint(e)},MultiPoint:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.Point.apply(this,[t[n]]));return this.geometryFactory.createMultiPoint(e)},LineString:function(t){var e=Wu.coordinates.apply(this,[t]);return this.geometryFactory.createLineString(e)},MultiLineString:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.LineString.apply(this,[t[n]]));return this.geometryFactory.createMultiLineString(e)},Polygon:function(t){for(var e=Wu.coordinates.apply(this,[t[0]]),n=this.geometryFactory.createLinearRing(e),l=[],i=1;i<t.length;++i){var r=Wu.coordinates.apply(this,[t[i]]),o=this.geometryFactory.createLinearRing(r);l.push(o)}return this.geometryFactory.createPolygon(n,l)},MultiPolygon:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.Polygon.apply(this,[t[n]]));return this.geometryFactory.createMultiPolygon(e)},GeometryCollection:function(t){for(var e=[],n=0;n<t.length;++n)e.push(this.read(t[n]));return this.geometryFactory.createGeometryCollection(e)}},$u={coordinate:function(t){return[t.x,t.y]},Point:function(t){return{type:"Point",coordinates:$u.coordinate.apply(this,[t.getCoordinate()])}},MultiPoint:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.Point.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiPoint",coordinates:e}},LineString:function(t){for(var e=[],n=t.getCoordinates(),l=0;l<n.length;++l)e.push($u.coordinate.apply(this,[n[l]]));return{type:"LineString",coordinates:e}},MultiLineString:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.LineString.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiLineString",coordinates:e}},Polygon:function(t){var e=[],n=$u.LineString.apply(this,[t._shell]);e.push(n.coordinates);for(var l=0;l<t._holes.length;++l){var i=$u.LineString.apply(this,[t._holes[l]]);e.push(i.coordinates)}return{type:"Polygon",coordinates:e}},MultiPolygon:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.Polygon.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiPolygon",coordinates:e}},GeometryCollection:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=t._geometries[n],i=l.getGeometryType();e.push($u[i].apply(this,[l]))}return{type:"GeometryCollection",geometries:e}}},Xu=function(t){this.geometryFactory=t||new Gu,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new qu(this.geometryFactory)};Xu.prototype.read=function(t){var e=this.parser.read(t);return this.precisionModel.getType()===Yu.FIXED&&this.reducePrecision(e),e},Xu.prototype.reducePrecision=function(t){var e,n;if(t.coordinate)this.precisionModel.makePrecise(t.coordinate);else if(t.points)for(e=0,n=t.points.length;e<n;e++)this.precisionModel.makePrecise(t.points[e]);else if(t.geometries)for(e=0,n=t.geometries.length;e<n;e++)this.reducePrecision(t.geometries[e])};var Ku=function(){this.parser=new qu(this.geometryFactory)};Ku.prototype.write=function(t){return this.parser.write(t)};var Ju=function(){},Qu={ON:{configurable:!0},LEFT:{configurable:!0},RIGHT:{configurable:!0}};Ju.prototype.interfaces_=function(){return[]},Ju.prototype.getClass=function(){return Ju},Ju.opposite=function(t){return t===Ju.LEFT?Ju.RIGHT:t===Ju.RIGHT?Ju.LEFT:t},Qu.ON.get=function(){return 0},Qu.LEFT.get=function(){return 1},Qu.RIGHT.get=function(){return 2},Object.defineProperties(Ju,Qu),(Oi.prototype=new Error).name="EmptyStackException",(Di.prototype=new $s).add=function(t){return this.array_.push(t),!0},Di.prototype.get=function(t){if(t<0||t>=this.size())throw new Error;return this.array_[t]},Di.prototype.push=function(t){return this.array_.push(t),t},Di.prototype.pop=function(t){if(0===this.array_.length)throw new Oi;return this.array_.pop()},Di.prototype.peek=function(){if(0===this.array_.length)throw new Oi;return this.array_[this.array_.length-1]},Di.prototype.empty=function(){return 0===this.array_.length},Di.prototype.isEmpty=function(){return this.empty()},Di.prototype.search=function(t){return this.array_.indexOf(t)},Di.prototype.size=function(){return this.array_.length},Di.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t};var Zu=function(){this._minIndex=-1,this._minCoord=null,this._minDe=null,this._orientedDe=null};Zu.prototype.getCoordinate=function(){return this._minCoord},Zu.prototype.getRightmostSide=function(t,e){var n=this.getRightmostSideOfSegment(t,e);return n<0&&(n=this.getRightmostSideOfSegment(t,e-1)),n<0&&(this._minCoord=null,this.checkForRightmostCoordinate(t)),n},Zu.prototype.findRightmostEdgeAtVertex=function(){var t=this._minDe.getEdge().getCoordinates();Ss.isTrue(this._minIndex>0&&this._minIndex<t.length,"rightmost point expected to be interior vertex of edge");var e=t[this._minIndex-1],n=t[this._minIndex+1],l=Es.computeOrientation(this._minCoord,n,e),i=!1;(e.y<this._minCoord.y&&n.y<this._minCoord.y&&l===Es.COUNTERCLOCKWISE||e.y>this._minCoord.y&&n.y>this._minCoord.y&&l===Es.CLOCKWISE)&&(i=!0),i&&(this._minIndex=this._minIndex-1)},Zu.prototype.getRightmostSideOfSegment=function(t,e){var n=t.getEdge().getCoordinates();if(e<0||e+1>=n.length)return-1;if(n[e].y===n[e+1].y)return-1;var l=Ju.LEFT;return n[e].y<n[e+1].y&&(l=Ju.RIGHT),l},Zu.prototype.getEdge=function(){return this._orientedDe},Zu.prototype.checkForRightmostCoordinate=function(t){for(var e=t.getEdge().getCoordinates(),n=0;n<e.length-1;n++)(null===this._minCoord||e[n].x>this._minCoord.x)&&(this._minDe=t,this._minIndex=n,this._minCoord=e[n])},Zu.prototype.findRightmostEdgeAtNode=function(){var t=this._minDe.getNode().getEdges();this._minDe=t.getRightmostEdge(),this._minDe.isForward()||(this._minDe=this._minDe.getSym(),this._minIndex=this._minDe.getEdge().getCoordinates().length-1)},Zu.prototype.findEdge=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();n.isForward()&&this.checkForRightmostCoordinate(n)}Ss.isTrue(0!==this._minIndex||this._minCoord.equals(this._minDe.getCoordinate()),"inconsistency in rightmost processing"),0===this._minIndex?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this._orientedDe=this._minDe,this.getRightmostSide(this._minDe,this._minIndex)===Ju.LEFT&&(this._orientedDe=this._minDe.getSym())},Zu.prototype.interfaces_=function(){return[]},Zu.prototype.getClass=function(){return Zu};var tc=function(t){function e(n,l){t.call(this,e.msgWithCoord(n,l)),this.pt=l?new Xa(l):null,this.name="TopologyException"}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getCoordinate=function(){return this.pt},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.msgWithCoord=function(t,e){return e?t:t+" [ "+e+" ]"},e}(Ps),ec=function(){this.array_=[]};ec.prototype.addLast=function(t){this.array_.push(t)},ec.prototype.removeFirst=function(){return this.array_.shift()},ec.prototype.isEmpty=function(){return 0===this.array_.length};var nc=function(){this._finder=null,this._dirEdgeList=new Xs,this._nodes=new Xs,this._rightMostCoord=null,this._env=null,this._finder=new Zu};nc.prototype.clearVisitedEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();)t.next().setVisited(!1)},nc.prototype.getRightmostCoordinate=function(){return this._rightMostCoord},nc.prototype.computeNodeDepth=function(t){for(var e=null,n=t.getEdges().iterator();n.hasNext();){var l=n.next();if(l.isVisited()||l.getSym().isVisited()){e=l;break}}if(null===e)throw new tc("unable to find edge to compute depths at "+t.getCoordinate());t.getEdges().computeDepths(e);for(var i=t.getEdges().iterator();i.hasNext();){var r=i.next();r.setVisited(!0),this.copySymDepths(r)}},nc.prototype.computeDepth=function(t){this.clearVisitedEdges();var e=this._finder.getEdge();e.setEdgeDepths(Ju.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)},nc.prototype.create=function(t){this.addReachable(t),this._finder.findEdge(this._dirEdgeList),this._rightMostCoord=this._finder.getCoordinate()},nc.prototype.findResultEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(Ju.RIGHT)>=1&&e.getDepth(Ju.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}},nc.prototype.computeDepths=function(t){var e=new iu,n=new ec,l=t.getNode();for(n.addLast(l),e.add(l),t.setVisited(!0);!n.isEmpty();){var i=n.removeFirst();e.add(i),this.computeNodeDepth(i);for(var r=i.getEdges().iterator();r.hasNext();){var o=r.next().getSym();if(!o.isVisited()){var a=o.getNode();e.contains(a)||(n.addLast(a),e.add(a))}}}},nc.prototype.compareTo=function(t){return this._rightMostCoord.x<t._rightMostCoord.x?-1:this._rightMostCoord.x>t._rightMostCoord.x?1:0},nc.prototype.getEnvelope=function(){if(null===this._env){for(var t=new gs,e=this._dirEdgeList.iterator();e.hasNext();)for(var n=e.next().getEdge().getCoordinates(),l=0;l<n.length-1;l++)t.expandToInclude(n[l]);this._env=t}return this._env},nc.prototype.addReachable=function(t){var e=new Di;for(e.add(t);!e.empty();){var n=e.pop();this.add(n,e)}},nc.prototype.copySymDepths=function(t){var e=t.getSym();e.setDepth(Ju.LEFT,t.getDepth(Ju.RIGHT)),e.setDepth(Ju.RIGHT,t.getDepth(Ju.LEFT))},nc.prototype.add=function(t,e){t.setVisited(!0),this._nodes.add(t);for(var n=t.getEdges().iterator();n.hasNext();){var l=n.next();this._dirEdgeList.add(l);var i=l.getSym().getNode();i.isVisited()||e.push(i)}},nc.prototype.getNodes=function(){return this._nodes},nc.prototype.getDirectedEdges=function(){return this._dirEdgeList},nc.prototype.interfaces_=function(){return[qa]},nc.prototype.getClass=function(){return nc};var lc=function t(){if(this.location=null,1===arguments.length){if(arguments[0]instanceof Array){var e=arguments[0];this.init(e.length)}else if(Number.isInteger(arguments[0])){var n=arguments[0];this.init(1),this.location[Ju.ON]=n}else if(arguments[0]instanceof t){var l=arguments[0];if(this.init(l.location.length),null!==l)for(var i=0;i<this.location.length;i++)this.location[i]=l.location[i]}}else if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];this.init(3),this.location[Ju.ON]=r,this.location[Ju.LEFT]=o,this.location[Ju.RIGHT]=a}};lc.prototype.setAllLocations=function(t){for(var e=0;e<this.location.length;e++)this.location[e]=t},lc.prototype.isNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]!==Za.NONE)return!1;return!0},lc.prototype.setAllLocationsIfNull=function(t){for(var e=0;e<this.location.length;e++)this.location[e]===Za.NONE&&(this.location[e]=t)},lc.prototype.isLine=function(){return 1===this.location.length},lc.prototype.merge=function(t){if(t.location.length>this.location.length){var e=new Array(3).fill(null);e[Ju.ON]=this.location[Ju.ON],e[Ju.LEFT]=Za.NONE,e[Ju.RIGHT]=Za.NONE,this.location=e}for(var n=0;n<this.location.length;n++)this.location[n]===Za.NONE&&n<t.location.length&&(this.location[n]=t.location[n])},lc.prototype.getLocations=function(){return this.location},lc.prototype.flip=function(){if(this.location.length<=1)return null;var t=this.location[Ju.LEFT];this.location[Ju.LEFT]=this.location[Ju.RIGHT],this.location[Ju.RIGHT]=t},lc.prototype.toString=function(){var t=new is;return this.location.length>1&&t.append(Za.toLocationSymbol(this.location[Ju.LEFT])),t.append(Za.toLocationSymbol(this.location[Ju.ON])),this.location.length>1&&t.append(Za.toLocationSymbol(this.location[Ju.RIGHT])),t.toString()},lc.prototype.setLocations=function(t,e,n){this.location[Ju.ON]=t,this.location[Ju.LEFT]=e,this.location[Ju.RIGHT]=n},lc.prototype.get=function(t){return t<this.location.length?this.location[t]:Za.NONE},lc.prototype.isArea=function(){return this.location.length>1},lc.prototype.isAnyNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]===Za.NONE)return!0;return!1},lc.prototype.setLocation=function(){if(1===arguments.length){var t=arguments[0];this.setLocation(Ju.ON,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.location[e]=n}},lc.prototype.init=function(t){this.location=new Array(t).fill(null),this.setAllLocations(Za.NONE)},lc.prototype.isEqualOnSide=function(t,e){return this.location[e]===t.location[e]},lc.prototype.allPositionsEqual=function(t){for(var e=0;e<this.location.length;e++)if(this.location[e]!==t)return!1;return!0},lc.prototype.interfaces_=function(){return[]},lc.prototype.getClass=function(){return lc};var ic=function t(){if(this.elt=new Array(2).fill(null),1===arguments.length){if(Number.isInteger(arguments[0])){var e=arguments[0];this.elt[0]=new lc(e),this.elt[1]=new lc(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.elt[0]=new lc(n.elt[0]),this.elt[1]=new lc(n.elt[1])}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.elt[0]=new lc(Za.NONE),this.elt[1]=new lc(Za.NONE),this.elt[l].setLocation(i)}else if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];this.elt[0]=new lc(r,o,a),this.elt[1]=new lc(r,o,a)}else if(4===arguments.length){var s=arguments[0],u=arguments[1],c=arguments[2],d=arguments[3];this.elt[0]=new lc(Za.NONE,Za.NONE,Za.NONE),this.elt[1]=new lc(Za.NONE,Za.NONE,Za.NONE),this.elt[s].setLocations(u,c,d)}};ic.prototype.getGeometryCount=function(){var t=0;return this.elt[0].isNull()||t++,this.elt[1].isNull()||t++,t},ic.prototype.setAllLocations=function(t,e){this.elt[t].setAllLocations(e)},ic.prototype.isNull=function(t){return this.elt[t].isNull()},ic.prototype.setAllLocationsIfNull=function(){if(1===arguments.length){var t=arguments[0];this.setAllLocationsIfNull(0,t),this.setAllLocationsIfNull(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.elt[e].setAllLocationsIfNull(n)}},ic.prototype.isLine=function(t){return this.elt[t].isLine()},ic.prototype.merge=function(t){for(var e=0;e<2;e++)null===this.elt[e]&&null!==t.elt[e]?this.elt[e]=new lc(t.elt[e]):this.elt[e].merge(t.elt[e])},ic.prototype.flip=function(){this.elt[0].flip(),this.elt[1].flip()},ic.prototype.getLocation=function(){if(1===arguments.length){var t=arguments[0];return this.elt[t].get(Ju.ON)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return this.elt[e].get(n)}},ic.prototype.toString=function(){var t=new is;return null!==this.elt[0]&&(t.append("A:"),t.append(this.elt[0].toString())),null!==this.elt[1]&&(t.append(" B:"),t.append(this.elt[1].toString())),t.toString()},ic.prototype.isArea=function(){if(0===arguments.length)return this.elt[0].isArea()||this.elt[1].isArea();if(1===arguments.length){var t=arguments[0];return this.elt[t].isArea()}},ic.prototype.isAnyNull=function(t){return this.elt[t].isAnyNull()},ic.prototype.setLocation=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.elt[t].setLocation(Ju.ON,e)}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this.elt[n].setLocation(l,i)}},ic.prototype.isEqualOnSide=function(t,e){return this.elt[0].isEqualOnSide(t.elt[0],e)&&this.elt[1].isEqualOnSide(t.elt[1],e)},ic.prototype.allPositionsEqual=function(t,e){return this.elt[t].allPositionsEqual(e)},ic.prototype.toLine=function(t){this.elt[t].isArea()&&(this.elt[t]=new lc(this.elt[t].location[0]))},ic.prototype.interfaces_=function(){return[]},ic.prototype.getClass=function(){return ic},ic.toLineLabel=function(t){for(var e=new ic(Za.NONE),n=0;n<2;n++)e.setLocation(n,t.getLocation(n));return e};var rc=function(){this._startDe=null,this._maxNodeDegree=-1,this._edges=new Xs,this._pts=new Xs,this._label=new ic(Za.NONE),this._ring=null,this._isHole=null,this._shell=null,this._holes=new Xs,this._geometryFactory=null;var t=arguments[0],e=arguments[1];this._geometryFactory=e,this.computePoints(t),this.computeRing()};rc.prototype.computeRing=function(){if(null!==this._ring)return null;for(var t=new Array(this._pts.size()).fill(null),e=0;e<this._pts.size();e++)t[e]=this._pts.get(e);this._ring=this._geometryFactory.createLinearRing(t),this._isHole=Es.isCCW(this._ring.getCoordinates())},rc.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},rc.prototype.computePoints=function(t){this._startDe=t;var e=t,n=!0;do{if(null===e)throw new tc("Found null DirectedEdge");if(e.getEdgeRing()===this)throw new tc("Directed Edge visited twice during ring-building at "+e.getCoordinate());this._edges.add(e);var l=e.getLabel();Ss.isTrue(l.isArea()),this.mergeLabel(l),this.addPoints(e.getEdge(),e.isForward(),n),n=!1,this.setEdgeRing(e,this),e=this.getNext(e)}while(e!==this._startDe)},rc.prototype.getLinearRing=function(){return this._ring},rc.prototype.getCoordinate=function(t){return this._pts.get(t)},rc.prototype.computeMaxNodeDegree=function(){this._maxNodeDegree=0;var t=this._startDe;do{var e=t.getNode().getEdges().getOutgoingDegree(this);e>this._maxNodeDegree&&(this._maxNodeDegree=e),t=this.getNext(t)}while(t!==this._startDe);this._maxNodeDegree*=2},rc.prototype.addPoints=function(t,e,n){var l=t.getCoordinates();if(e){var i=1;n&&(i=0);for(var r=i;r<l.length;r++)this._pts.add(l[r])}else{var o=l.length-2;n&&(o=l.length-1);for(var a=o;a>=0;a--)this._pts.add(l[a])}},rc.prototype.isHole=function(){return this._isHole},rc.prototype.setInResult=function(){var t=this._startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this._startDe)},rc.prototype.containsPoint=function(t){var e=this.getLinearRing();if(!e.getEnvelopeInternal().contains(t))return!1;if(!Es.isPointInRing(t,e.getCoordinates()))return!1;for(var n=this._holes.iterator();n.hasNext();)if(n.next().containsPoint(t))return!1;return!0},rc.prototype.addHole=function(t){this._holes.add(t)},rc.prototype.isShell=function(){return null===this._shell},rc.prototype.getLabel=function(){return this._label},rc.prototype.getEdges=function(){return this._edges},rc.prototype.getMaxNodeDegree=function(){return this._maxNodeDegree<0&&this.computeMaxNodeDegree(),this._maxNodeDegree},rc.prototype.getShell=function(){return this._shell},rc.prototype.mergeLabel=function(){if(1===arguments.length){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=e.getLocation(n,Ju.RIGHT);if(l===Za.NONE)return null;if(this._label.getLocation(n)===Za.NONE)return this._label.setLocation(n,l),null}},rc.prototype.setShell=function(t){this._shell=t,null!==t&&t.addHole(this)},rc.prototype.toPolygon=function(t){for(var e=new Array(this._holes.size()).fill(null),n=0;n<this._holes.size();n++)e[n]=this._holes.get(n).getLinearRing();return t.createPolygon(this.getLinearRing(),e)},rc.prototype.interfaces_=function(){return[]},rc.prototype.getClass=function(){return rc};var oc=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.setEdgeRing=function(t,e){t.setMinEdgeRing(e)},e.prototype.getNext=function(t){return t.getNextMin()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(rc),ac=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.buildMinimalRings=function(){var t=new Xs,e=this._startDe;do{if(null===e.getMinEdgeRing()){var n=new oc(e,this._geometryFactory);t.add(n)}e=e.getNext()}while(e!==this._startDe);return t},e.prototype.setEdgeRing=function(t,e){t.setEdgeRing(e)},e.prototype.linkDirectedEdgesForMinimalEdgeRings=function(){var t=this._startDe;do{t.getNode().getEdges().linkMinimalDirectedEdges(this),t=t.getNext()}while(t!==this._startDe)},e.prototype.getNext=function(t){return t.getNext()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(rc),sc=function(){if(this._label=null,this._isInResult=!1,this._isCovered=!1,this._isCoveredSet=!1,this._isVisited=!1,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._label=t}};sc.prototype.setVisited=function(t){this._isVisited=t},sc.prototype.setInResult=function(t){this._isInResult=t},sc.prototype.isCovered=function(){return this._isCovered},sc.prototype.isCoveredSet=function(){return this._isCoveredSet},sc.prototype.setLabel=function(t){this._label=t},sc.prototype.getLabel=function(){return this._label},sc.prototype.setCovered=function(t){this._isCovered=t,this._isCoveredSet=!0},sc.prototype.updateIM=function(t){Ss.isTrue(this._label.getGeometryCount()>=2,"found partial label"),this.computeIM(t)},sc.prototype.isInResult=function(){return this._isInResult},sc.prototype.isVisited=function(){return this._isVisited},sc.prototype.interfaces_=function(){return[]},sc.prototype.getClass=function(){return sc};var uc=function(t){function e(){t.call(this),this._coord=null,this._edges=null;var e=arguments[0],n=arguments[1];this._coord=e,this._edges=n,this._label=new ic(0,Za.NONE)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isIncidentEdgeInResult=function(){for(var t=this.getEdges().getEdges().iterator();t.hasNext();)if(t.next().getEdge().isInResult())return!0;return!1},e.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},e.prototype.getCoordinate=function(){return this._coord},e.prototype.print=function(t){t.println("node "+this._coord+" lbl: "+this._label)},e.prototype.computeIM=function(t){},e.prototype.computeMergedLocation=function(t,e){var n=Za.NONE;if(n=this._label.getLocation(e),!t.isNull(e)){var l=t.getLocation(e);n!==Za.BOUNDARY&&(n=l)}return n},e.prototype.setLabel=function(){if(2!==arguments.length)return t.prototype.setLabel.apply(this,arguments);var e=arguments[0],n=arguments[1];null===this._label?this._label=new ic(e,n):this._label.setLocation(e,n)},e.prototype.getEdges=function(){return this._edges},e.prototype.mergeLabel=function(){if(arguments[0]instanceof e){var t=arguments[0];this.mergeLabel(t._label)}else if(arguments[0]instanceof ic)for(var n=arguments[0],l=0;l<2;l++){var i=this.computeMergedLocation(n,l);this._label.getLocation(l)===Za.NONE&&this._label.setLocation(l,i)}},e.prototype.add=function(t){this._edges.insert(t),t.setNode(this)},e.prototype.setLabelBoundary=function(t){if(null===this._label)return null;var e=Za.NONE;null!==this._label&&(e=this._label.getLocation(t));var n=null;switch(e){case Za.BOUNDARY:n=Za.INTERIOR;break;case Za.INTERIOR:default:n=Za.BOUNDARY}this._label.setLocation(t,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(sc),cc=function(){this.nodeMap=new xi,this.nodeFact=null;var t=arguments[0];this.nodeFact=t};cc.prototype.find=function(t){return this.nodeMap.get(t)},cc.prototype.addNode=function(){if(arguments[0]instanceof Xa){var t=arguments[0],e=this.nodeMap.get(t);return null===e&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}if(arguments[0]instanceof uc){var n=arguments[0],l=this.nodeMap.get(n.getCoordinate());return null===l?(this.nodeMap.put(n.getCoordinate(),n),n):(l.mergeLabel(n),l)}},cc.prototype.print=function(t){for(var e=this.iterator();e.hasNext();)e.next().print(t)},cc.prototype.iterator=function(){return this.nodeMap.values().iterator()},cc.prototype.values=function(){return this.nodeMap.values()},cc.prototype.getBoundaryNodes=function(t){for(var e=new Xs,n=this.iterator();n.hasNext();){var l=n.next();l.getLabel().getLocation(t)===Za.BOUNDARY&&e.add(l)}return e},cc.prototype.add=function(t){var e=t.getCoordinate();this.addNode(e).add(t)},cc.prototype.interfaces_=function(){return[]},cc.prototype.getClass=function(){return cc};var dc=function(){},hc={NE:{configurable:!0},NW:{configurable:!0},SW:{configurable:!0},SE:{configurable:!0}};dc.prototype.interfaces_=function(){return[]},dc.prototype.getClass=function(){return dc},dc.isNorthern=function(t){return t===dc.NE||t===dc.NW},dc.isOpposite=function(t,e){return t!==e&&2==(t-e+4)%4},dc.commonHalfPlane=function(t,e){if(t===e)return t;if(2==(t-e+4)%4)return-1;var n=t<e?t:e;return 0===n&&3===(t>e?t:e)?3:n},dc.isInHalfPlane=function(t,e){return e===dc.SE?t===dc.SE||t===dc.SW:t===e||t===e+1},dc.quadrant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new Ga("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?dc.NE:dc.SE:e>=0?dc.NW:dc.SW}if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var n=arguments[0],l=arguments[1];if(l.x===n.x&&l.y===n.y)throw new Ga("Cannot compute the quadrant for two identical points "+n);return l.x>=n.x?l.y>=n.y?dc.NE:dc.SE:l.y>=n.y?dc.NW:dc.SW}},hc.NE.get=function(){return 0},hc.NW.get=function(){return 1},hc.SW.get=function(){return 2},hc.SE.get=function(){return 3},Object.defineProperties(dc,hc);var pc=function(){if(this._edge=null,this._label=null,this._node=null,this._p0=null,this._p1=null,this._dx=null,this._dy=null,this._quadrant=null,1===arguments.length){var t=arguments[0];this._edge=t}else if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2];this._edge=e,this.init(n,l),this._label=null}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];this._edge=i,this.init(r,o),this._label=a}};pc.prototype.compareDirection=function(t){return this._dx===t._dx&&this._dy===t._dy?0:this._quadrant>t._quadrant?1:this._quadrant<t._quadrant?-1:Es.computeOrientation(t._p0,t._p1,this._p1)},pc.prototype.getDy=function(){return this._dy},pc.prototype.getCoordinate=function(){return this._p0},pc.prototype.setNode=function(t){this._node=t},pc.prototype.print=function(t){var e=Math.atan2(this._dy,this._dx),n=this.getClass().getName(),l=n.lastIndexOf("."),i=n.substring(l+1);t.print(" "+i+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+e+" "+this._label)},pc.prototype.compareTo=function(t){return this.compareDirection(t)},pc.prototype.getDirectedCoordinate=function(){return this._p1},pc.prototype.getDx=function(){return this._dx},pc.prototype.getLabel=function(){return this._label},pc.prototype.getEdge=function(){return this._edge},pc.prototype.getQuadrant=function(){return this._quadrant},pc.prototype.getNode=function(){return this._node},pc.prototype.toString=function(){var t=Math.atan2(this._dy,this._dx),e=this.getClass().getName(),n=e.lastIndexOf(".");return" "+e.substring(n+1)+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+t+" "+this._label},pc.prototype.computeLabel=function(t){},pc.prototype.init=function(t,e){this._p0=t,this._p1=e,this._dx=e.x-t.x,this._dy=e.y-t.y,this._quadrant=dc.quadrant(this._dx,this._dy),Ss.isTrue(!(0===this._dx&&0===this._dy),"EdgeEnd with identical endpoints found")},pc.prototype.interfaces_=function(){return[qa]},pc.prototype.getClass=function(){return pc};var fc=function(t){function e(){var e=arguments[0],n=arguments[1];if(t.call(this,e),this._isForward=null,this._isInResult=!1,this._isVisited=!1,this._sym=null,this._next=null,this._nextMin=null,this._edgeRing=null,this._minEdgeRing=null,this._depth=[0,-999,-999],this._isForward=n,n)this.init(e.getCoordinate(0),e.getCoordinate(1));else{var l=e.getNumPoints()-1;this.init(e.getCoordinate(l),e.getCoordinate(l-1))}this.computeDirectedLabel()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getNextMin=function(){return this._nextMin},e.prototype.getDepth=function(t){return this._depth[t]},e.prototype.setVisited=function(t){this._isVisited=t},e.prototype.computeDirectedLabel=function(){this._label=new ic(this._edge.getLabel()),this._isForward||this._label.flip()},e.prototype.getNext=function(){return this._next},e.prototype.setDepth=function(t,e){if(-999!==this._depth[t]&&this._depth[t]!==e)throw new tc("assigned depths do not match",this.getCoordinate());this._depth[t]=e},e.prototype.isInteriorAreaEdge=function(){for(var t=!0,e=0;e<2;e++)this._label.isArea(e)&&this._label.getLocation(e,Ju.LEFT)===Za.INTERIOR&&this._label.getLocation(e,Ju.RIGHT)===Za.INTERIOR||(t=!1);return t},e.prototype.setNextMin=function(t){this._nextMin=t},e.prototype.print=function(e){t.prototype.print.call(this,e),e.print(" "+this._depth[Ju.LEFT]+"/"+this._depth[Ju.RIGHT]),e.print(" ("+this.getDepthDelta()+")"),this._isInResult&&e.print(" inResult")},e.prototype.setMinEdgeRing=function(t){this._minEdgeRing=t},e.prototype.isLineEdge=function(){var t=this._label.isLine(0)||this._label.isLine(1),e=!this._label.isArea(0)||this._label.allPositionsEqual(0,Za.EXTERIOR),n=!this._label.isArea(1)||this._label.allPositionsEqual(1,Za.EXTERIOR);return t&&e&&n},e.prototype.setEdgeRing=function(t){this._edgeRing=t},e.prototype.getMinEdgeRing=function(){return this._minEdgeRing},e.prototype.getDepthDelta=function(){var t=this._edge.getDepthDelta();return this._isForward||(t=-t),t},e.prototype.setInResult=function(t){this._isInResult=t},e.prototype.getSym=function(){return this._sym},e.prototype.isForward=function(){return this._isForward},e.prototype.getEdge=function(){return this._edge},e.prototype.printEdge=function(t){this.print(t),t.print(" "),this._isForward?this._edge.print(t):this._edge.printReverse(t)},e.prototype.setSym=function(t){this._sym=t},e.prototype.setVisitedEdge=function(t){this.setVisited(t),this._sym.setVisited(t)},e.prototype.setEdgeDepths=function(t,e){var n=this.getEdge().getDepthDelta();this._isForward||(n=-n);var l=1;t===Ju.LEFT&&(l=-1);var i=Ju.opposite(t),r=e+n*l;this.setDepth(t,e),this.setDepth(i,r)},e.prototype.getEdgeRing=function(){return this._edgeRing},e.prototype.isInResult=function(){return this._isInResult},e.prototype.setNext=function(t){this._next=t},e.prototype.isVisited=function(){return this._isVisited},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.depthFactor=function(t,e){return t===Za.EXTERIOR&&e===Za.INTERIOR?1:t===Za.INTERIOR&&e===Za.EXTERIOR?-1:0},e}(pc),bc=function(){};bc.prototype.createNode=function(t){return new uc(t,null)},bc.prototype.interfaces_=function(){return[]},bc.prototype.getClass=function(){return bc};var mc=function(){if(this._edges=new Xs,this._nodes=null,this._edgeEndList=new Xs,0===arguments.length)this._nodes=new cc(new bc);else if(1===arguments.length){var t=arguments[0];this._nodes=new cc(t)}};mc.prototype.printEdges=function(t){t.println("Edges:");for(var e=0;e<this._edges.size();e++){t.println("edge "+e+":");var n=this._edges.get(e);n.print(t),n.eiList.print(t)}},mc.prototype.find=function(t){return this._nodes.find(t)},mc.prototype.addNode=function(){if(arguments[0]instanceof uc){var t=arguments[0];return this._nodes.addNode(t)}if(arguments[0]instanceof Xa){var e=arguments[0];return this._nodes.addNode(e)}},mc.prototype.getNodeIterator=function(){return this._nodes.iterator()},mc.prototype.linkResultDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkResultDirectedEdges()},mc.prototype.debugPrintln=function(t){bs.out.println(t)},mc.prototype.isBoundaryNode=function(t,e){var n=this._nodes.find(e);if(null===n)return!1;var l=n.getLabel();return null!==l&&l.getLocation(t)===Za.BOUNDARY},mc.prototype.linkAllDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkAllDirectedEdges()},mc.prototype.matchInSameDirection=function(t,e,n,l){return!!t.equals(n)&&Es.computeOrientation(t,e,l)===Es.COLLINEAR&&dc.quadrant(t,e)===dc.quadrant(n,l)},mc.prototype.getEdgeEnds=function(){return this._edgeEndList},mc.prototype.debugPrint=function(t){bs.out.print(t)},mc.prototype.getEdgeIterator=function(){return this._edges.iterator()},mc.prototype.findEdgeInSameDirection=function(t,e){for(var n=0;n<this._edges.size();n++){var l=this._edges.get(n),i=l.getCoordinates();if(this.matchInSameDirection(t,e,i[0],i[1]))return l;if(this.matchInSameDirection(t,e,i[i.length-1],i[i.length-2]))return l}return null},mc.prototype.insertEdge=function(t){this._edges.add(t)},mc.prototype.findEdgeEnd=function(t){for(var e=this.getEdgeEnds().iterator();e.hasNext();){var n=e.next();if(n.getEdge()===t)return n}return null},mc.prototype.addEdges=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this._edges.add(n);var l=new fc(n,!0),i=new fc(n,!1);l.setSym(i),i.setSym(l),this.add(l),this.add(i)}},mc.prototype.add=function(t){this._nodes.add(t),this._edgeEndList.add(t)},mc.prototype.getNodes=function(){return this._nodes.values()},mc.prototype.findEdge=function(t,e){for(var n=0;n<this._edges.size();n++){var l=this._edges.get(n),i=l.getCoordinates();if(t.equals(i[0])&&e.equals(i[1]))return l}return null},mc.prototype.interfaces_=function(){return[]},mc.prototype.getClass=function(){return mc},mc.linkResultDirectedEdges=function(t){for(var e=t.iterator();e.hasNext();)e.next().getEdges().linkResultDirectedEdges()};var gc=function(){this._geometryFactory=null,this._shellList=new Xs;var t=arguments[0];this._geometryFactory=t};gc.prototype.sortShellsAndHoles=function(t,e,n){for(var l=t.iterator();l.hasNext();){var i=l.next();i.isHole()?n.add(i):e.add(i)}},gc.prototype.computePolygons=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next().toPolygon(this._geometryFactory);e.add(l)}return e},gc.prototype.placeFreeHoles=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();if(null===l.getShell()){var i=this.findEdgeRingContaining(l,t);if(null===i)throw new tc("unable to assign hole to a shell",l.getCoordinate(0));l.setShell(i)}}},gc.prototype.buildMinimalEdgeRings=function(t,e,n){for(var l=new Xs,i=t.iterator();i.hasNext();){var r=i.next();if(r.getMaxNodeDegree()>2){r.linkDirectedEdgesForMinimalEdgeRings();var o=r.buildMinimalRings(),a=this.findShell(o);null!==a?(this.placePolygonHoles(a,o),e.add(a)):n.addAll(o)}else l.add(r)}return l},gc.prototype.containsPoint=function(t){for(var e=this._shellList.iterator();e.hasNext();)if(e.next().containsPoint(t))return!0;return!1},gc.prototype.buildMaximalEdgeRings=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();if(l.isInResult()&&l.getLabel().isArea()&&null===l.getEdgeRing()){var i=new ac(l,this._geometryFactory);e.add(i),i.setInResult()}}return e},gc.prototype.placePolygonHoles=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();l.isHole()&&l.setShell(t)}},gc.prototype.getPolygons=function(){return this.computePolygons(this._shellList)},gc.prototype.findEdgeRingContaining=function(t,e){for(var n=t.getLinearRing(),l=n.getEnvelopeInternal(),i=n.getCoordinateN(0),r=null,o=null,a=e.iterator();a.hasNext();){var s=a.next(),u=s.getLinearRing(),c=u.getEnvelopeInternal();null!==r&&(o=r.getLinearRing().getEnvelopeInternal());var d=!1;c.contains(l)&&Es.isPointInRing(i,u.getCoordinates())&&(d=!0),d&&(null===r||o.contains(c))&&(r=s)}return r},gc.prototype.findShell=function(t){for(var e=0,n=null,l=t.iterator();l.hasNext();){var i=l.next();i.isHole()||(n=i,e++)}return Ss.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n},gc.prototype.add=function(){if(1===arguments.length){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){var e=arguments[0],n=arguments[1];mc.linkResultDirectedEdges(n);var l=this.buildMaximalEdgeRings(e),i=new Xs,r=this.buildMinimalEdgeRings(l,this._shellList,i);this.sortShellsAndHoles(r,this._shellList,i),this.placeFreeHoles(this._shellList,i)}},gc.prototype.interfaces_=function(){return[]},gc.prototype.getClass=function(){return gc};var _c=function(){};_c.prototype.getBounds=function(){},_c.prototype.interfaces_=function(){return[]},_c.prototype.getClass=function(){return _c};var yc=function(){this._bounds=null,this._item=null;var t=arguments[0],e=arguments[1];this._bounds=t,this._item=e};yc.prototype.getItem=function(){return this._item},yc.prototype.getBounds=function(){return this._bounds},yc.prototype.interfaces_=function(){return[_c,mi]},yc.prototype.getClass=function(){return yc};var Ac=function(){this._size=null,this._items=null,this._size=0,this._items=new Xs,this._items.add(null)};Ac.prototype.poll=function(){if(this.isEmpty())return null;var t=this._items.get(1);return this._items.set(1,this._items.get(this._size)),this._size-=1,this.reorder(1),t},Ac.prototype.size=function(){return this._size},Ac.prototype.reorder=function(t){for(var e=null,n=this._items.get(t);2*t<=this._size&&((e=2*t)!==this._size&&this._items.get(e+1).compareTo(this._items.get(e))<0&&e++,this._items.get(e).compareTo(n)<0);t=e)this._items.set(t,this._items.get(e));this._items.set(t,n)},Ac.prototype.clear=function(){this._size=0,this._items.clear()},Ac.prototype.isEmpty=function(){return 0===this._size},Ac.prototype.add=function(t){this._items.add(null),this._size+=1;var e=this._size;for(this._items.set(0,t);t.compareTo(this._items.get(Math.trunc(e/2)))<0;e/=2)this._items.set(e,this._items.get(Math.trunc(e/2)));this._items.set(e,t)},Ac.prototype.interfaces_=function(){return[]},Ac.prototype.getClass=function(){return Ac};var vc=function(){};vc.prototype.visitItem=function(t){},vc.prototype.interfaces_=function(){return[]},vc.prototype.getClass=function(){return vc};var Cc=function(){};Cc.prototype.insert=function(t,e){},Cc.prototype.remove=function(t,e){},Cc.prototype.query=function(){},Cc.prototype.interfaces_=function(){return[]},Cc.prototype.getClass=function(){return Cc};var wc=function(){if(this._childBoundables=new Xs,this._bounds=null,this._level=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._level=t}},Pc={serialVersionUID:{configurable:!0}};wc.prototype.getLevel=function(){return this._level},wc.prototype.size=function(){return this._childBoundables.size()},wc.prototype.getChildBoundables=function(){return this._childBoundables},wc.prototype.addChildBoundable=function(t){Ss.isTrue(null===this._bounds),this._childBoundables.add(t)},wc.prototype.isEmpty=function(){return this._childBoundables.isEmpty()},wc.prototype.getBounds=function(){return null===this._bounds&&(this._bounds=this.computeBounds()),this._bounds},wc.prototype.interfaces_=function(){return[_c,mi]},wc.prototype.getClass=function(){return wc},Pc.serialVersionUID.get=function(){return 0x5a1e55ec41369800},Object.defineProperties(wc,Pc);var xc=function(){};xc.reverseOrder=function(){return{compare:function(t,e){return e.compareTo(t)}}},xc.min=function(t){return xc.sort(t),t.get(0)},xc.sort=function(t,e){var n=t.toArray();e?uu.sort(n,e):uu.sort(n);for(var l=t.iterator(),i=0,r=n.length;i<r;i++)l.next(),l.set(n[i])},xc.singletonList=function(t){var e=new Xs;return e.add(t),e};var Sc=function(){this._boundable1=null,this._boundable2=null,this._distance=null,this._itemDistance=null;var t=arguments[0],e=arguments[1],n=arguments[2];this._boundable1=t,this._boundable2=e,this._itemDistance=n,this._distance=this.distance()};Sc.prototype.expandToQueue=function(t,e){var n=Sc.isComposite(this._boundable1),l=Sc.isComposite(this._boundable2);if(n&&l)return Sc.area(this._boundable1)>Sc.area(this._boundable2)?(this.expand(this._boundable1,this._boundable2,t,e),null):(this.expand(this._boundable2,this._boundable1,t,e),null);if(n)return this.expand(this._boundable1,this._boundable2,t,e),null;if(l)return this.expand(this._boundable2,this._boundable1,t,e),null;throw new Ga("neither boundable is composite")},Sc.prototype.isLeaves=function(){return!(Sc.isComposite(this._boundable1)||Sc.isComposite(this._boundable2))},Sc.prototype.compareTo=function(t){return this._distance<t._distance?-1:this._distance>t._distance?1:0},Sc.prototype.expand=function(t,e,n,l){for(var i=t.getChildBoundables().iterator();i.hasNext();){var r=i.next(),o=new Sc(r,e,this._itemDistance);o.getDistance()<l&&n.add(o)}},Sc.prototype.getBoundable=function(t){return 0===t?this._boundable1:this._boundable2},Sc.prototype.getDistance=function(){return this._distance},Sc.prototype.distance=function(){return this.isLeaves()?this._itemDistance.distance(this._boundable1,this._boundable2):this._boundable1.getBounds().distance(this._boundable2.getBounds())},Sc.prototype.interfaces_=function(){return[qa]},Sc.prototype.getClass=function(){return Sc},Sc.area=function(t){return t.getBounds().getArea()},Sc.isComposite=function(t){return t instanceof wc};var kc=function t(){if(this._root=null,this._built=!1,this._itemBoundables=new Xs,this._nodeCapacity=null,0===arguments.length){var e=t.DEFAULT_NODE_CAPACITY;this._nodeCapacity=e}else if(1===arguments.length){var n=arguments[0];Ss.isTrue(n>1,"Node capacity must be greater than 1"),this._nodeCapacity=n}},Mc={IntersectsOp:{configurable:!0},serialVersionUID:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};kc.prototype.getNodeCapacity=function(){return this._nodeCapacity},kc.prototype.lastNode=function(t){return t.get(t.size()-1)},kc.prototype.size=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.size(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var n=e.next();n instanceof wc?t+=this.size(n):n instanceof yc&&(t+=1)}return t}},kc.prototype.removeItem=function(t,e){for(var n=null,l=t.getChildBoundables().iterator();l.hasNext();){var i=l.next();i instanceof yc&&i.getItem()===e&&(n=i)}return null!==n&&(t.getChildBoundables().remove(n),!0)},kc.prototype.itemsTree=function(){if(0===arguments.length){this.build();var t=this.itemsTree(this._root);return null===t?new Xs:t}if(1===arguments.length){for(var e=arguments[0],n=new Xs,l=e.getChildBoundables().iterator();l.hasNext();){var i=l.next();if(i instanceof wc){var r=this.itemsTree(i);null!==r&&n.add(r)}else i instanceof yc?n.add(i.getItem()):Ss.shouldNeverReachHere()}return n.size()<=0?null:n}},kc.prototype.insert=function(t,e){Ss.isTrue(!this._built,"Cannot insert items into an STR packed R-tree after it has been built."),this._itemBoundables.add(new yc(t,e))},kc.prototype.boundablesAtLevel=function(){if(1===arguments.length){var t=arguments[0],e=new Xs;return this.boundablesAtLevel(t,this._root,e),e}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];if(Ss.isTrue(n>-2),l.getLevel()===n)return i.add(l),null;for(var r=l.getChildBoundables().iterator();r.hasNext();){var o=r.next();o instanceof wc?this.boundablesAtLevel(n,o,i):(Ss.isTrue(o instanceof yc),-1===n&&i.add(o))}return null}},kc.prototype.query=function(){if(1===arguments.length){var t=arguments[0];this.build();var e=new Xs;return this.isEmpty()||this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.query(t,this._root,e),e}if(2===arguments.length){var n=arguments[0],l=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this._root.getBounds(),n)&&this.query(n,this._root,l)}else if(3===arguments.length)if(es(arguments[2],vc)&&arguments[0]instanceof Object&&arguments[1]instanceof wc)for(var i=arguments[0],r=arguments[1],o=arguments[2],a=r.getChildBoundables(),s=0;s<a.size();s++){var u=a.get(s);this.getIntersectsOp().intersects(u.getBounds(),i)&&(u instanceof wc?this.query(i,u,o):u instanceof yc?o.visitItem(u.getItem()):Ss.shouldNeverReachHere())}else if(es(arguments[2],$s)&&arguments[0]instanceof Object&&arguments[1]instanceof wc)for(var c=arguments[0],d=arguments[1],h=arguments[2],p=d.getChildBoundables(),f=0;f<p.size();f++){var b=p.get(f);this.getIntersectsOp().intersects(b.getBounds(),c)&&(b instanceof wc?this.query(c,b,h):b instanceof yc?h.add(b.getItem()):Ss.shouldNeverReachHere())}},kc.prototype.build=function(){if(this._built)return null;this._root=this._itemBoundables.isEmpty()?this.createNode(0):this.createHigherLevels(this._itemBoundables,-1),this._itemBoundables=null,this._built=!0},kc.prototype.getRoot=function(){return this.build(),this._root},kc.prototype.remove=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.build(),!!this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.remove(t,this._root,e)}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=this.removeItem(l,i);if(r)return!0;for(var o=null,a=l.getChildBoundables().iterator();a.hasNext();){var s=a.next();if(this.getIntersectsOp().intersects(s.getBounds(),n)&&s instanceof wc&&(r=this.remove(n,s,i))){o=s;break}}return null!==o&&o.getChildBoundables().isEmpty()&&l.getChildBoundables().remove(o),r}},kc.prototype.createHigherLevels=function(t,e){Ss.isTrue(!t.isEmpty());var n=this.createParentBoundables(t,e+1);return 1===n.size()?n.get(0):this.createHigherLevels(n,e+1)},kc.prototype.depth=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.depth(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var n=e.next();if(n instanceof wc){var l=this.depth(n);l>t&&(t=l)}}return t+1}},kc.prototype.createParentBoundables=function(t,e){Ss.isTrue(!t.isEmpty());var n=new Xs;n.add(this.createNode(e));var l=new Xs(t);xc.sort(l,this.getComparator());for(var i=l.iterator();i.hasNext();){var r=i.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(r)}return n},kc.prototype.isEmpty=function(){return this._built?this._root.isEmpty():this._itemBoundables.isEmpty()},kc.prototype.interfaces_=function(){return[mi]},kc.prototype.getClass=function(){return kc},kc.compareDoubles=function(t,e){return t>e?1:t<e?-1:0},Mc.IntersectsOp.get=function(){return Oc},Mc.serialVersionUID.get=function(){return-0x35ef64c82d4c5400},Mc.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(kc,Mc);var Oc=function(){},Dc=function(){};Dc.prototype.distance=function(t,e){},Dc.prototype.interfaces_=function(){return[]},Dc.prototype.getClass=function(){return Dc};var Tc=function(t){function e(n){t.call(this,n=n||e.DEFAULT_NODE_CAPACITY)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={STRtreeNode:{configurable:!0},serialVersionUID:{configurable:!0},xComparator:{configurable:!0},yComparator:{configurable:!0},intersectsOp:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};return e.prototype.createParentBoundablesFromVerticalSlices=function(t,e){Ss.isTrue(t.length>0);for(var n=new Xs,l=0;l<t.length;l++)n.addAll(this.createParentBoundablesFromVerticalSlice(t[l],e));return n},e.prototype.createNode=function(t){return new Ec(t)},e.prototype.size=function(){return 0===arguments.length?t.prototype.size.call(this):t.prototype.size.apply(this,arguments)},e.prototype.insert=function(){if(2!==arguments.length)return t.prototype.insert.apply(this,arguments);var e=arguments[0],n=arguments[1];if(e.isNull())return null;t.prototype.insert.call(this,e,n)},e.prototype.getIntersectsOp=function(){return e.intersectsOp},e.prototype.verticalSlices=function(t,e){for(var n=Math.trunc(Math.ceil(t.size()/e)),l=new Array(e).fill(null),i=t.iterator(),r=0;r<e;r++){l[r]=new Xs;for(var o=0;i.hasNext()&&o<n;){var a=i.next();l[r].add(a),o++}}return l},e.prototype.query=function(){if(1===arguments.length){var e=arguments[0];return t.prototype.query.call(this,e)}if(2===arguments.length){var n=arguments[0],l=arguments[1];t.prototype.query.call(this,n,l)}else if(3===arguments.length)if(es(arguments[2],vc)&&arguments[0]instanceof Object&&arguments[1]instanceof wc){var i=arguments[0],r=arguments[1],o=arguments[2];t.prototype.query.call(this,i,r,o)}else if(es(arguments[2],$s)&&arguments[0]instanceof Object&&arguments[1]instanceof wc){var a=arguments[0],s=arguments[1],u=arguments[2];t.prototype.query.call(this,a,s,u)}},e.prototype.getComparator=function(){return e.yComparator},e.prototype.createParentBoundablesFromVerticalSlice=function(e,n){return t.prototype.createParentBoundables.call(this,e,n)},e.prototype.remove=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return t.prototype.remove.call(this,e,n)}return t.prototype.remove.apply(this,arguments)},e.prototype.depth=function(){return 0===arguments.length?t.prototype.depth.call(this):t.prototype.depth.apply(this,arguments)},e.prototype.createParentBoundables=function(t,n){Ss.isTrue(!t.isEmpty());var l=Math.trunc(Math.ceil(t.size()/this.getNodeCapacity())),i=new Xs(t);xc.sort(i,e.xComparator);var r=this.verticalSlices(i,Math.trunc(Math.ceil(Math.sqrt(l))));return this.createParentBoundablesFromVerticalSlices(r,n)},e.prototype.nearestNeighbour=function(){if(1===arguments.length){if(es(arguments[0],Dc)){var t=arguments[0],n=new Sc(this.getRoot(),this.getRoot(),t);return this.nearestNeighbour(n)}if(arguments[0]instanceof Sc){var l=arguments[0];return this.nearestNeighbour(l,Ha.POSITIVE_INFINITY)}}else if(2===arguments.length){if(arguments[0]instanceof e&&es(arguments[1],Dc)){var i=arguments[0],r=arguments[1],o=new Sc(this.getRoot(),i.getRoot(),r);return this.nearestNeighbour(o)}if(arguments[0]instanceof Sc&&"number"==typeof arguments[1]){var a=arguments[0],s=arguments[1],u=null,c=new Ac;for(c.add(a);!c.isEmpty()&&s>0;){var d=c.poll(),h=d.getDistance();if(h>=s)break;d.isLeaves()?(s=h,u=d):d.expandToQueue(c,s)}return[u.getBoundable(0).getItem(),u.getBoundable(1).getItem()]}}else if(3===arguments.length){var p=arguments[0],f=arguments[1],b=arguments[2],m=new yc(p,f),g=new Sc(this.getRoot(),m,b);return this.nearestNeighbour(g)[0]}},e.prototype.interfaces_=function(){return[Cc,mi]},e.prototype.getClass=function(){return e},e.centreX=function(t){return e.avg(t.getMinX(),t.getMaxX())},e.avg=function(t,e){return(t+e)/2},e.centreY=function(t){return e.avg(t.getMinY(),t.getMaxY())},n.STRtreeNode.get=function(){return Ec},n.serialVersionUID.get=function(){return 0x39920f7d5f261e0},n.xComparator.get=function(){return{interfaces_:function(){return[$a]},compare:function(n,l){return t.compareDoubles(e.centreX(n.getBounds()),e.centreX(l.getBounds()))}}},n.yComparator.get=function(){return{interfaces_:function(){return[$a]},compare:function(n,l){return t.compareDoubles(e.centreY(n.getBounds()),e.centreY(l.getBounds()))}}},n.intersectsOp.get=function(){return{interfaces_:function(){return[t.IntersectsOp]},intersects:function(t,e){return t.intersects(e)}}},n.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(e,n),e}(kc),Ec=function(t){function e(){var e=arguments[0];t.call(this,e)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.computeBounds=function(){for(var t=null,e=this.getChildBoundables().iterator();e.hasNext();){var n=e.next();null===t?t=new gs(n.getBounds()):t.expandToInclude(n.getBounds())}return t},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(wc),Ic=function(){};Ic.prototype.interfaces_=function(){return[]},Ic.prototype.getClass=function(){return Ic},Ic.relativeSign=function(t,e){return t<e?-1:t>e?1:0},Ic.compare=function(t,e,n){if(e.equals2D(n))return 0;var l=Ic.relativeSign(e.x,n.x),i=Ic.relativeSign(e.y,n.y);switch(t){case 0:return Ic.compareValue(l,i);case 1:return Ic.compareValue(i,l);case 2:return Ic.compareValue(i,-l);case 3:return Ic.compareValue(-l,i);case 4:return Ic.compareValue(-l,-i);case 5:return Ic.compareValue(-i,-l);case 6:return Ic.compareValue(-i,l);case 7:return Ic.compareValue(l,-i)}return Ss.shouldNeverReachHere("invalid octant value"),0},Ic.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0};var Lc=function(){this._segString=null,this.coord=null,this.segmentIndex=null,this._segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this._segString=t,this.coord=new Xa(e),this.segmentIndex=n,this._segmentOctant=l,this._isInterior=!e.equals2D(t.getCoordinate(n))};Lc.prototype.getCoordinate=function(){return this.coord},Lc.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)},Lc.prototype.compareTo=function(t){var e=t;return this.segmentIndex<e.segmentIndex?-1:this.segmentIndex>e.segmentIndex?1:this.coord.equals2D(e.coord)?0:Ic.compare(this._segmentOctant,this.coord,e.coord)},Lc.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t},Lc.prototype.isInterior=function(){return this._isInterior},Lc.prototype.interfaces_=function(){return[qa]},Lc.prototype.getClass=function(){return Lc};var jc=function(){this._nodeMap=new xi,this._edge=null;var t=arguments[0];this._edge=t};jc.prototype.getSplitCoordinates=function(){var t=new Js;this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next();this.addEdgeCoordinates(n,l,t),n=l}return t.toCoordinateArray()},jc.prototype.addCollapsedNodes=function(){var t=new Xs;this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(var e=t.iterator();e.hasNext();){var n=e.next().intValue();this.add(this._edge.getCoordinate(n),n)}},jc.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},jc.prototype.findCollapsesFromExistingVertices=function(t){for(var e=0;e<this._edge.size()-2;e++){var n=this._edge.getCoordinate(e),l=this._edge.getCoordinate(e+2);n.equals2D(l)&&t.add(new rs(e+1))}},jc.prototype.addEdgeCoordinates=function(t,e,n){var l=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(l);n.add(new Xa(t.coord),!1);for(var r=t.segmentIndex+1;r<=e.segmentIndex;r++)n.add(this._edge.getCoordinate(r));i&&n.add(new Xa(e.coord))},jc.prototype.iterator=function(){return this._nodeMap.values().iterator()},jc.prototype.addSplitEdges=function(t){this.addEndpoints(),this.addCollapsedNodes();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next(),i=this.createSplitEdge(n,l);t.add(i),n=l}},jc.prototype.findCollapseIndex=function(t,e,n){if(!t.coord.equals2D(e.coord))return!1;var l=e.segmentIndex-t.segmentIndex;return e.isInterior()||l--,1===l&&(n[0]=t.segmentIndex+1,!0)},jc.prototype.findCollapsesFromInsertedNodes=function(t){for(var e=new Array(1).fill(null),n=this.iterator(),l=n.next();n.hasNext();){var i=n.next();this.findCollapseIndex(l,i,e)&&t.add(new rs(e[0])),l=i}},jc.prototype.getEdge=function(){return this._edge},jc.prototype.addEndpoints=function(){var t=this._edge.size()-1;this.add(this._edge.getCoordinate(0),0),this.add(this._edge.getCoordinate(t),t)},jc.prototype.createSplitEdge=function(t,e){var n=e.segmentIndex-t.segmentIndex+2,l=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(l);i||n--;var r=new Array(n).fill(null),o=0;r[o++]=new Xa(t.coord);for(var a=t.segmentIndex+1;a<=e.segmentIndex;a++)r[o++]=this._edge.getCoordinate(a);return i&&(r[o]=new Xa(e.coord)),new Yc(r,this._edge.getData())},jc.prototype.add=function(t,e){var n=new Lc(this._edge,t,e,this._edge.getSegmentOctant(e)),l=this._nodeMap.get(n);return null!==l?(Ss.isTrue(l.coord.equals2D(t),"Found equal nodes with different coordinates"),l):(this._nodeMap.put(n,n),n)},jc.prototype.checkSplitEdgesCorrectness=function(t){var e=this._edge.getCoordinates(),n=t.get(0).getCoordinate(0);if(!n.equals2D(e[0]))throw new Ps("bad split edge start point at "+n);var l=t.get(t.size()-1).getCoordinates(),i=l[l.length-1];if(!i.equals2D(e[e.length-1]))throw new Ps("bad split edge end point at "+i)},jc.prototype.interfaces_=function(){return[]},jc.prototype.getClass=function(){return jc};var Rc=function(){};Rc.prototype.interfaces_=function(){return[]},Rc.prototype.getClass=function(){return Rc},Rc.octant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new Ga("Cannot compute the octant for point ( "+t+", "+e+" )");var n=Math.abs(t),l=Math.abs(e);return t>=0?e>=0?n>=l?0:1:n>=l?7:6:e>=0?n>=l?3:2:n>=l?4:5}if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var i=arguments[0],r=arguments[1],o=r.x-i.x,a=r.y-i.y;if(0===o&&0===a)throw new Ga("Cannot compute the octant for two identical points "+i);return Rc.octant(o,a)}};var Fc=function(){};Fc.prototype.getCoordinates=function(){},Fc.prototype.size=function(){},Fc.prototype.getCoordinate=function(t){},Fc.prototype.isClosed=function(){},Fc.prototype.setData=function(t){},Fc.prototype.getData=function(){},Fc.prototype.interfaces_=function(){return[]},Fc.prototype.getClass=function(){return Fc};var Nc=function(){};Nc.prototype.addIntersection=function(t,e){},Nc.prototype.interfaces_=function(){return[Fc]},Nc.prototype.getClass=function(){return Nc};var Yc=function(){this._nodeList=new jc(this),this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};Yc.prototype.getCoordinates=function(){return this._pts},Yc.prototype.size=function(){return this._pts.length},Yc.prototype.getCoordinate=function(t){return this._pts[t]},Yc.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},Yc.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:this.safeOctant(this.getCoordinate(t),this.getCoordinate(t+1))},Yc.prototype.setData=function(t){this._data=t},Yc.prototype.safeOctant=function(t,e){return t.equals2D(e)?0:Rc.octant(t,e)},Yc.prototype.getData=function(){return this._data},Yc.prototype.addIntersection=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.addIntersectionNode(t,e)}else if(4===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[3],r=new Xa(n.getIntersection(i));this.addIntersection(r,l)}},Yc.prototype.toString=function(){return ws.toLineString(new Lu(this._pts))},Yc.prototype.getNodeList=function(){return this._nodeList},Yc.prototype.addIntersectionNode=function(t,e){var n=e,l=n+1;return l<this._pts.length&&t.equals2D(this._pts[l])&&(n=l),this._nodeList.add(t,n)},Yc.prototype.addIntersections=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++)this.addIntersection(t,e,n,l)},Yc.prototype.interfaces_=function(){return[Nc]},Yc.prototype.getClass=function(){return Yc},Yc.getNodedSubstrings=function(){if(1===arguments.length){var t=arguments[0],e=new Xs;return Yc.getNodedSubstrings(t,e),e}if(2===arguments.length)for(var n=arguments[0],l=arguments[1],i=n.iterator();i.hasNext();)i.next().getNodeList().addSplitEdges(l)};var Uc=function(){if(this.p0=null,this.p1=null,0===arguments.length)this.p0=new Xa,this.p1=new Xa;else if(1===arguments.length){var t=arguments[0];this.p0=new Xa(t.p0),this.p1=new Xa(t.p1)}else if(2===arguments.length)this.p0=arguments[0],this.p1=arguments[1];else if(4===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2],i=arguments[3];this.p0=new Xa(e,n),this.p1=new Xa(l,i)}},Bc={serialVersionUID:{configurable:!0}};Uc.prototype.minX=function(){return Math.min(this.p0.x,this.p1.x)},Uc.prototype.orientationIndex=function(){if(arguments[0]instanceof Uc){var t=arguments[0],e=Es.orientationIndex(this.p0,this.p1,t.p0),n=Es.orientationIndex(this.p0,this.p1,t.p1);return e>=0&&n>=0||e<=0&&n<=0?Math.max(e,n):0}if(arguments[0]instanceof Xa){var l=arguments[0];return Es.orientationIndex(this.p0,this.p1,l)}},Uc.prototype.toGeometry=function(t){return t.createLineString([this.p0,this.p1])},Uc.prototype.isVertical=function(){return this.p0.x===this.p1.x},Uc.prototype.equals=function(t){if(!(t instanceof Uc))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)},Uc.prototype.intersection=function(t){var e=new Os;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null},Uc.prototype.project=function(){if(arguments[0]instanceof Xa){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new Xa(t);var e=this.projectionFactor(t),n=new Xa;return n.x=this.p0.x+e*(this.p1.x-this.p0.x),n.y=this.p0.y+e*(this.p1.y-this.p0.y),n}if(arguments[0]instanceof Uc){var l=arguments[0],i=this.projectionFactor(l.p0),r=this.projectionFactor(l.p1);if(i>=1&&r>=1)return null;if(i<=0&&r<=0)return null;var o=this.project(l.p0);i<0&&(o=this.p0),i>1&&(o=this.p1);var a=this.project(l.p1);return r<0&&(a=this.p0),r>1&&(a=this.p1),new Uc(o,a)}},Uc.prototype.normalize=function(){this.p1.compareTo(this.p0)<0&&this.reverse()},Uc.prototype.angle=function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)},Uc.prototype.getCoordinate=function(t){return 0===t?this.p0:this.p1},Uc.prototype.distancePerpendicular=function(t){return Es.distancePointLinePerpendicular(t,this.p0,this.p1)},Uc.prototype.minY=function(){return Math.min(this.p0.y,this.p1.y)},Uc.prototype.midPoint=function(){return Uc.midPoint(this.p0,this.p1)},Uc.prototype.projectionFactor=function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,n=this.p1.y-this.p0.y,l=e*e+n*n;return l<=0?Ha.NaN:((t.x-this.p0.x)*e+(t.y-this.p0.y)*n)/l},Uc.prototype.closestPoints=function(t){var e=this.intersection(t);if(null!==e)return[e,e];var n=new Array(2).fill(null),l=Ha.MAX_VALUE,i=null,r=this.closestPoint(t.p0);l=r.distance(t.p0),n[0]=r,n[1]=t.p0;var o=this.closestPoint(t.p1);(i=o.distance(t.p1))<l&&(l=i,n[0]=o,n[1]=t.p1);var a=t.closestPoint(this.p0);(i=a.distance(this.p0))<l&&(l=i,n[0]=this.p0,n[1]=a);var s=t.closestPoint(this.p1);return(i=s.distance(this.p1))<l&&(l=i,n[0]=this.p1,n[1]=s),n},Uc.prototype.closestPoint=function(t){var e=this.projectionFactor(t);return e>0&&e<1?this.project(t):this.p0.distance(t)<this.p1.distance(t)?this.p0:this.p1},Uc.prototype.maxX=function(){return Math.max(this.p0.x,this.p1.x)},Uc.prototype.getLength=function(){return this.p0.distance(this.p1)},Uc.prototype.compareTo=function(t){var e=t,n=this.p0.compareTo(e.p0);return 0!==n?n:this.p1.compareTo(e.p1)},Uc.prototype.reverse=function(){var t=this.p0;this.p0=this.p1,this.p1=t},Uc.prototype.equalsTopo=function(t){return this.p0.equals(t.p0)&&(this.p1.equals(t.p1)||this.p0.equals(t.p1))&&this.p1.equals(t.p0)},Uc.prototype.lineIntersection=function(t){try{return ms.intersection(this.p0,this.p1,t.p0,t.p1)}catch(t){if(!(t instanceof fs))throw t}return null},Uc.prototype.maxY=function(){return Math.max(this.p0.y,this.p1.y)},Uc.prototype.pointAlongOffset=function(t,e){var n=this.p0.x+t*(this.p1.x-this.p0.x),l=this.p0.y+t*(this.p1.y-this.p0.y),i=this.p1.x-this.p0.x,r=this.p1.y-this.p0.y,o=Math.sqrt(i*i+r*r),a=0,s=0;if(0!==e){if(o<=0)throw new Error("Cannot compute offset from zero-length line segment");a=e*i/o,s=e*r/o}return new Xa(n-s,l+a)},Uc.prototype.setCoordinates=function(){if(1===arguments.length){var t=arguments[0];this.setCoordinates(t.p0,t.p1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.p0.x=e.x,this.p0.y=e.y,this.p1.x=n.x,this.p1.y=n.y}},Uc.prototype.segmentFraction=function(t){var e=this.projectionFactor(t);return e<0?e=0:(e>1||Ha.isNaN(e))&&(e=1),e},Uc.prototype.toString=function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"},Uc.prototype.isHorizontal=function(){return this.p0.y===this.p1.y},Uc.prototype.distance=function(){if(arguments[0]instanceof Uc){var t=arguments[0];return Es.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}if(arguments[0]instanceof Xa){var e=arguments[0];return Es.distancePointLine(e,this.p0,this.p1)}},Uc.prototype.pointAlong=function(t){var e=new Xa;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e},Uc.prototype.hashCode=function(){var t=Ha.doubleToLongBits(this.p0.x);t^=31*Ha.doubleToLongBits(this.p0.y);var e=Math.trunc(t)^Math.trunc(t>>32),n=Ha.doubleToLongBits(this.p1.x);return n^=31*Ha.doubleToLongBits(this.p1.y),e^Math.trunc(n)^Math.trunc(n>>32)},Uc.prototype.interfaces_=function(){return[qa,mi]},Uc.prototype.getClass=function(){return Uc},Uc.midPoint=function(t,e){return new Xa((t.x+e.x)/2,(t.y+e.y)/2)},Bc.serialVersionUID.get=function(){return 0x2d2172135f411c00},Object.defineProperties(Uc,Bc);var zc=function(){this.tempEnv1=new gs,this.tempEnv2=new gs,this._overlapSeg1=new Uc,this._overlapSeg2=new Uc};zc.prototype.overlap=function(){if(2===arguments.length);else if(4===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];t.getLineSegment(e,this._overlapSeg1),n.getLineSegment(l,this._overlapSeg2),this.overlap(this._overlapSeg1,this._overlapSeg2)}},zc.prototype.interfaces_=function(){return[]},zc.prototype.getClass=function(){return zc};var Gc=function(){this._pts=null,this._start=null,this._end=null,this._env=null,this._context=null,this._id=null;var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this._pts=t,this._start=e,this._end=n,this._context=l};Gc.prototype.getLineSegment=function(t,e){e.p0=this._pts[t],e.p1=this._pts[t+1]},Gc.prototype.computeSelect=function(t,e,n,l){if(l.tempEnv1.init(this._pts[e],this._pts[n]),n-e==1)return l.select(this,e),null;if(!t.intersects(l.tempEnv1))return null;var i=Math.trunc((e+n)/2);e<i&&this.computeSelect(t,e,i,l),i<n&&this.computeSelect(t,i,n,l)},Gc.prototype.getCoordinates=function(){for(var t=new Array(this._end-this._start+1).fill(null),e=0,n=this._start;n<=this._end;n++)t[e++]=this._pts[n];return t},Gc.prototype.computeOverlaps=function(t,e){this.computeOverlapsInternal(this._start,this._end,t,t._start,t._end,e)},Gc.prototype.setId=function(t){this._id=t},Gc.prototype.select=function(t,e){this.computeSelect(t,this._start,this._end,e)},Gc.prototype.getEnvelope=function(){return null===this._env&&(this._env=new gs(this._pts[this._start],this._pts[this._end])),this._env},Gc.prototype.getEndIndex=function(){return this._end},Gc.prototype.getStartIndex=function(){return this._start},Gc.prototype.getContext=function(){return this._context},Gc.prototype.getId=function(){return this._id},Gc.prototype.computeOverlapsInternal=function(t,e,n,l,i,r){var o=this._pts[t],a=this._pts[e],s=n._pts[l],u=n._pts[i];if(e-t==1&&i-l==1)return r.overlap(this,t,n,l),null;if(r.tempEnv1.init(o,a),r.tempEnv2.init(s,u),!r.tempEnv1.intersects(r.tempEnv2))return null;var c=Math.trunc((t+e)/2),d=Math.trunc((l+i)/2);t<c&&(l<d&&this.computeOverlapsInternal(t,c,n,l,d,r),d<i&&this.computeOverlapsInternal(t,c,n,d,i,r)),c<e&&(l<d&&this.computeOverlapsInternal(c,e,n,l,d,r),d<i&&this.computeOverlapsInternal(c,e,n,d,i,r))},Gc.prototype.interfaces_=function(){return[]},Gc.prototype.getClass=function(){return Gc};var Hc=function(){};Hc.prototype.interfaces_=function(){return[]},Hc.prototype.getClass=function(){return Hc},Hc.getChainStartIndices=function(t){var e=0,n=new Xs;n.add(new rs(e));do{var l=Hc.findChainEnd(t,e);n.add(new rs(l)),e=l}while(e<t.length-1);return Hc.toIntArray(n)},Hc.findChainEnd=function(t,e){for(var n=e;n<t.length-1&&t[n].equals2D(t[n+1]);)n++;if(n>=t.length-1)return t.length-1;for(var l=dc.quadrant(t[n],t[n+1]),i=e+1;i<t.length&&(t[i-1].equals2D(t[i])||dc.quadrant(t[i-1],t[i])===l);)i++;return i-1},Hc.getChains=function(){if(1===arguments.length){var t=arguments[0];return Hc.getChains(t,null)}if(2===arguments.length){for(var e=arguments[0],n=arguments[1],l=new Xs,i=Hc.getChainStartIndices(e),r=0;r<i.length-1;r++){var o=new Gc(e,i[r],i[r+1],n);l.add(o)}return l}},Hc.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var Vc=function(){};Vc.prototype.computeNodes=function(t){},Vc.prototype.getNodedSubstrings=function(){},Vc.prototype.interfaces_=function(){return[]},Vc.prototype.getClass=function(){return Vc};var qc=function(){if(this._segInt=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setSegmentIntersector(t)}};qc.prototype.setSegmentIntersector=function(t){this._segInt=t},qc.prototype.interfaces_=function(){return[Vc]},qc.prototype.getClass=function(){return qc};var Wc=function(t){function e(e){e?t.call(this,e):t.call(this),this._monoChains=new Xs,this._index=new Tc,this._idCounter=0,this._nodedSegStrings=null,this._nOverlaps=0}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={SegmentOverlapAction:{configurable:!0}};return e.prototype.getMonotoneChains=function(){return this._monoChains},e.prototype.getNodedSubstrings=function(){return Yc.getNodedSubstrings(this._nodedSegStrings)},e.prototype.getIndex=function(){return this._index},e.prototype.add=function(t){for(var e=Hc.getChains(t.getCoordinates(),t).iterator();e.hasNext();){var n=e.next();n.setId(this._idCounter++),this._index.insert(n.getEnvelope(),n),this._monoChains.add(n)}},e.prototype.computeNodes=function(t){this._nodedSegStrings=t;for(var e=t.iterator();e.hasNext();)this.add(e.next());this.intersectChains()},e.prototype.intersectChains=function(){for(var t=new $c(this._segInt),e=this._monoChains.iterator();e.hasNext();)for(var n=e.next(),l=this._index.query(n.getEnvelope()).iterator();l.hasNext();){var i=l.next();if(i.getId()>n.getId()&&(n.computeOverlaps(i,t),this._nOverlaps++),this._segInt.isDone())return null}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.SegmentOverlapAction.get=function(){return $c},Object.defineProperties(e,n),e}(qc),$c=function(t){function e(){t.call(this),this._si=null;var e=arguments[0];this._si=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.overlap=function(){if(4!==arguments.length)return t.prototype.overlap.apply(this,arguments);var e=arguments[0],n=arguments[1],l=arguments[2],i=arguments[3],r=e.getContext(),o=l.getContext();this._si.processIntersections(r,n,o,i)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(zc),Xc=function t(){if(this._quadrantSegments=t.DEFAULT_QUADRANT_SEGMENTS,this._endCapStyle=t.CAP_ROUND,this._joinStyle=t.JOIN_ROUND,this._mitreLimit=t.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this._simplifyFactor=t.DEFAULT_SIMPLIFY_FACTOR,0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.setQuadrantSegments(e)}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.setQuadrantSegments(n),this.setEndCapStyle(l)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(r),this.setJoinStyle(o),this.setMitreLimit(a)}},Kc={CAP_ROUND:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},JOIN_ROUND:{configurable:!0},JOIN_MITRE:{configurable:!0},JOIN_BEVEL:{configurable:!0},DEFAULT_QUADRANT_SEGMENTS:{configurable:!0},DEFAULT_MITRE_LIMIT:{configurable:!0},DEFAULT_SIMPLIFY_FACTOR:{configurable:!0}};Xc.prototype.getEndCapStyle=function(){return this._endCapStyle},Xc.prototype.isSingleSided=function(){return this._isSingleSided},Xc.prototype.setQuadrantSegments=function(t){this._quadrantSegments=t,0===this._quadrantSegments&&(this._joinStyle=Xc.JOIN_BEVEL),this._quadrantSegments<0&&(this._joinStyle=Xc.JOIN_MITRE,this._mitreLimit=Math.abs(this._quadrantSegments)),t<=0&&(this._quadrantSegments=1),this._joinStyle!==Xc.JOIN_ROUND&&(this._quadrantSegments=Xc.DEFAULT_QUADRANT_SEGMENTS)},Xc.prototype.getJoinStyle=function(){return this._joinStyle},Xc.prototype.setJoinStyle=function(t){this._joinStyle=t},Xc.prototype.setSimplifyFactor=function(t){this._simplifyFactor=t<0?0:t},Xc.prototype.getSimplifyFactor=function(){return this._simplifyFactor},Xc.prototype.getQuadrantSegments=function(){return this._quadrantSegments},Xc.prototype.setEndCapStyle=function(t){this._endCapStyle=t},Xc.prototype.getMitreLimit=function(){return this._mitreLimit},Xc.prototype.setMitreLimit=function(t){this._mitreLimit=t},Xc.prototype.setSingleSided=function(t){this._isSingleSided=t},Xc.prototype.interfaces_=function(){return[]},Xc.prototype.getClass=function(){return Xc},Xc.bufferDistanceError=function(t){var e=Math.PI/2/t;return 1-Math.cos(e/2)},Kc.CAP_ROUND.get=function(){return 1},Kc.CAP_FLAT.get=function(){return 2},Kc.CAP_SQUARE.get=function(){return 3},Kc.JOIN_ROUND.get=function(){return 1},Kc.JOIN_MITRE.get=function(){return 2},Kc.JOIN_BEVEL.get=function(){return 3},Kc.DEFAULT_QUADRANT_SEGMENTS.get=function(){return 8},Kc.DEFAULT_MITRE_LIMIT.get=function(){return 5},Kc.DEFAULT_SIMPLIFY_FACTOR.get=function(){return.01},Object.defineProperties(Xc,Kc);var Jc=function(t){this._distanceTol=null,this._isDeleted=null,this._angleOrientation=Es.COUNTERCLOCKWISE,this._inputLine=t||null},Qc={INIT:{configurable:!0},DELETE:{configurable:!0},KEEP:{configurable:!0},NUM_PTS_TO_CHECK:{configurable:!0}};Jc.prototype.isDeletable=function(t,e,n,l){var i=this._inputLine[t],r=this._inputLine[e],o=this._inputLine[n];return!!this.isConcave(i,r,o)&&!!this.isShallow(i,r,o,l)&&this.isShallowSampled(i,r,t,n,l)},Jc.prototype.deleteShallowConcavities=function(){for(var t=1,e=this.findNextNonDeletedIndex(t),n=this.findNextNonDeletedIndex(e),l=!1;n<this._inputLine.length;){var i=!1;this.isDeletable(t,e,n,this._distanceTol)&&(this._isDeleted[e]=Jc.DELETE,i=!0,l=!0),e=this.findNextNonDeletedIndex(t=i?n:e),n=this.findNextNonDeletedIndex(e)}return l},Jc.prototype.isShallowConcavity=function(t,e,n,l){return Es.computeOrientation(t,e,n)===this._angleOrientation&&Es.distancePointLine(e,t,n)<l},Jc.prototype.isShallowSampled=function(t,e,n,l,i){var r=Math.trunc((l-n)/Jc.NUM_PTS_TO_CHECK);r<=0&&(r=1);for(var o=n;o<l;o+=r)if(!this.isShallow(t,e,this._inputLine[o],i))return!1;return!0},Jc.prototype.isConcave=function(t,e,n){return Es.computeOrientation(t,e,n)===this._angleOrientation},Jc.prototype.simplify=function(t){this._distanceTol=Math.abs(t),t<0&&(this._angleOrientation=Es.CLOCKWISE),this._isDeleted=new Array(this._inputLine.length).fill(null);var e=!1;do{e=this.deleteShallowConcavities()}while(e);return this.collapseLine()},Jc.prototype.findNextNonDeletedIndex=function(t){for(var e=t+1;e<this._inputLine.length&&this._isDeleted[e]===Jc.DELETE;)e++;return e},Jc.prototype.isShallow=function(t,e,n,l){return Es.distancePointLine(e,t,n)<l},Jc.prototype.collapseLine=function(){for(var t=new Js,e=0;e<this._inputLine.length;e++)this._isDeleted[e]!==Jc.DELETE&&t.add(this._inputLine[e]);return t.toCoordinateArray()},Jc.prototype.interfaces_=function(){return[]},Jc.prototype.getClass=function(){return Jc},Jc.simplify=function(t,e){return new Jc(t).simplify(e)},Qc.INIT.get=function(){return 0},Qc.DELETE.get=function(){return 1},Qc.KEEP.get=function(){return 1},Qc.NUM_PTS_TO_CHECK.get=function(){return 10},Object.defineProperties(Jc,Qc);var Zc=function(){this._ptList=null,this._precisionModel=null,this._minimimVertexDistance=0,this._ptList=new Xs},td={COORDINATE_ARRAY_TYPE:{configurable:!0}};Zc.prototype.getCoordinates=function(){return this._ptList.toArray(Zc.COORDINATE_ARRAY_TYPE)},Zc.prototype.setPrecisionModel=function(t){this._precisionModel=t},Zc.prototype.addPt=function(t){var e=new Xa(t);if(this._precisionModel.makePrecise(e),this.isRedundant(e))return null;this._ptList.add(e)},Zc.prototype.revere=function(){},Zc.prototype.addPts=function(t,e){if(e)for(var n=0;n<t.length;n++)this.addPt(t[n]);else for(var l=t.length-1;l>=0;l--)this.addPt(t[l])},Zc.prototype.isRedundant=function(t){if(this._ptList.size()<1)return!1;var e=this._ptList.get(this._ptList.size()-1);return t.distance(e)<this._minimimVertexDistance},Zc.prototype.toString=function(){return(new Gu).createLineString(this.getCoordinates()).toString()},Zc.prototype.closeRing=function(){if(this._ptList.size()<1)return null;var t=new Xa(this._ptList.get(0)),e=this._ptList.get(this._ptList.size()-1);if(t.equals(e))return null;this._ptList.add(t)},Zc.prototype.setMinimumVertexDistance=function(t){this._minimimVertexDistance=t},Zc.prototype.interfaces_=function(){return[]},Zc.prototype.getClass=function(){return Zc},td.COORDINATE_ARRAY_TYPE.get=function(){return new Array(0).fill(null)},Object.defineProperties(Zc,td);var ed=function(){},nd={PI_TIMES_2:{configurable:!0},PI_OVER_2:{configurable:!0},PI_OVER_4:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},CLOCKWISE:{configurable:!0},NONE:{configurable:!0}};ed.prototype.interfaces_=function(){return[]},ed.prototype.getClass=function(){return ed},ed.toDegrees=function(t){return 180*t/Math.PI},ed.normalize=function(t){for(;t>Math.PI;)t-=ed.PI_TIMES_2;for(;t<=-Math.PI;)t+=ed.PI_TIMES_2;return t},ed.angle=function(){if(1===arguments.length){var t=arguments[0];return Math.atan2(t.y,t.x)}if(2===arguments.length){var e=arguments[0],n=arguments[1],l=n.x-e.x,i=n.y-e.y;return Math.atan2(i,l)}},ed.isAcute=function(t,e,n){return(t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y)>0},ed.isObtuse=function(t,e,n){return(t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y)<0},ed.interiorAngle=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n);return Math.abs(i-l)},ed.normalizePositive=function(t){if(t<0){for(;t<0;)t+=ed.PI_TIMES_2;t>=ed.PI_TIMES_2&&(t=0)}else{for(;t>=ed.PI_TIMES_2;)t-=ed.PI_TIMES_2;t<0&&(t=0)}return t},ed.angleBetween=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n);return ed.diff(l,i)},ed.diff=function(t,e){var n=null;return(n=t<e?e-t:t-e)>Math.PI&&(n=2*Math.PI-n),n},ed.toRadians=function(t){return t*Math.PI/180},ed.getTurn=function(t,e){var n=Math.sin(e-t);return n>0?ed.COUNTERCLOCKWISE:n<0?ed.CLOCKWISE:ed.NONE},ed.angleBetweenOriented=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n)-l;return i<=-Math.PI?i+ed.PI_TIMES_2:i>Math.PI?i-ed.PI_TIMES_2:i},nd.PI_TIMES_2.get=function(){return 2*Math.PI},nd.PI_OVER_2.get=function(){return Math.PI/2},nd.PI_OVER_4.get=function(){return Math.PI/4},nd.COUNTERCLOCKWISE.get=function(){return Es.COUNTERCLOCKWISE},nd.CLOCKWISE.get=function(){return Es.CLOCKWISE},nd.NONE.get=function(){return Es.COLLINEAR},Object.defineProperties(ed,nd);var ld=function t(){this._maxCurveSegmentError=0,this._filletAngleQuantum=null,this._closingSegLengthFactor=1,this._segList=null,this._distance=0,this._precisionModel=null,this._bufParams=null,this._li=null,this._s0=null,this._s1=null,this._s2=null,this._seg0=new Uc,this._seg1=new Uc,this._offset0=new Uc,this._offset1=new Uc,this._side=0,this._hasNarrowConcaveAngle=!1;var e=arguments[0],n=arguments[1],l=arguments[2];this._precisionModel=e,this._bufParams=n,this._li=new Os,this._filletAngleQuantum=Math.PI/2/n.getQuadrantSegments(),n.getQuadrantSegments()>=8&&n.getJoinStyle()===Xc.JOIN_ROUND&&(this._closingSegLengthFactor=t.MAX_CLOSING_SEG_LEN_FACTOR),this.init(l)},id={OFFSET_SEGMENT_SEPARATION_FACTOR:{configurable:!0},INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},CURVE_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},MAX_CLOSING_SEG_LEN_FACTOR:{configurable:!0}};ld.prototype.addNextSegment=function(t,e){if(this._s0=this._s1,this._s1=this._s2,this._s2=t,this._seg0.setCoordinates(this._s0,this._s1),this.computeOffsetSegment(this._seg0,this._side,this._distance,this._offset0),this._seg1.setCoordinates(this._s1,this._s2),this.computeOffsetSegment(this._seg1,this._side,this._distance,this._offset1),this._s1.equals(this._s2))return null;var n=Es.computeOrientation(this._s0,this._s1,this._s2),l=n===Es.CLOCKWISE&&this._side===Ju.LEFT||n===Es.COUNTERCLOCKWISE&&this._side===Ju.RIGHT;0===n?this.addCollinear(e):l?this.addOutsideTurn(n,e):this.addInsideTurn(n,e)},ld.prototype.addLineEndCap=function(t,e){var n=new Uc(t,e),l=new Uc;this.computeOffsetSegment(n,Ju.LEFT,this._distance,l);var i=new Uc;this.computeOffsetSegment(n,Ju.RIGHT,this._distance,i);var r=Math.atan2(e.y-t.y,e.x-t.x);switch(this._bufParams.getEndCapStyle()){case Xc.CAP_ROUND:this._segList.addPt(l.p1),this.addFilletArc(e,r+Math.PI/2,r-Math.PI/2,Es.CLOCKWISE,this._distance),this._segList.addPt(i.p1);break;case Xc.CAP_FLAT:this._segList.addPt(l.p1),this._segList.addPt(i.p1);break;case Xc.CAP_SQUARE:var o=new Xa;o.x=Math.abs(this._distance)*Math.cos(r),o.y=Math.abs(this._distance)*Math.sin(r);var a=new Xa(l.p1.x+o.x,l.p1.y+o.y),s=new Xa(i.p1.x+o.x,i.p1.y+o.y);this._segList.addPt(a),this._segList.addPt(s)}},ld.prototype.getCoordinates=function(){return this._segList.getCoordinates()},ld.prototype.addMitreJoin=function(t,e,n,l){var i=!0,r=null;try{r=ms.intersection(e.p0,e.p1,n.p0,n.p1),(l<=0?1:r.distance(t)/Math.abs(l))>this._bufParams.getMitreLimit()&&(i=!1)}catch(t){if(!(t instanceof fs))throw t;r=new Xa(0,0),i=!1}i?this._segList.addPt(r):this.addLimitedMitreJoin(e,n,l,this._bufParams.getMitreLimit())},ld.prototype.addFilletCorner=function(t,e,n,l,i){var r=Math.atan2(e.y-t.y,e.x-t.x),o=Math.atan2(n.y-t.y,n.x-t.x);l===Es.CLOCKWISE?r<=o&&(r+=2*Math.PI):r>=o&&(r-=2*Math.PI),this._segList.addPt(e),this.addFilletArc(t,r,o,l,i),this._segList.addPt(n)},ld.prototype.addOutsideTurn=function(t,e){if(this._offset0.p1.distance(this._offset1.p0)<this._distance*ld.OFFSET_SEGMENT_SEPARATION_FACTOR)return this._segList.addPt(this._offset0.p1),null;this._bufParams.getJoinStyle()===Xc.JOIN_MITRE?this.addMitreJoin(this._s1,this._offset0,this._offset1,this._distance):this._bufParams.getJoinStyle()===Xc.JOIN_BEVEL?this.addBevelJoin(this._offset0,this._offset1):(e&&this._segList.addPt(this._offset0.p1),this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,t,this._distance),this._segList.addPt(this._offset1.p0))},ld.prototype.createSquare=function(t){this._segList.addPt(new Xa(t.x+this._distance,t.y+this._distance)),this._segList.addPt(new Xa(t.x+this._distance,t.y-this._distance)),this._segList.addPt(new Xa(t.x-this._distance,t.y-this._distance)),this._segList.addPt(new Xa(t.x-this._distance,t.y+this._distance)),this._segList.closeRing()},ld.prototype.addSegments=function(t,e){this._segList.addPts(t,e)},ld.prototype.addFirstSegment=function(){this._segList.addPt(this._offset1.p0)},ld.prototype.addLastSegment=function(){this._segList.addPt(this._offset1.p1)},ld.prototype.initSideSegments=function(t,e,n){this._s1=t,this._s2=e,this._side=n,this._seg1.setCoordinates(t,e),this.computeOffsetSegment(this._seg1,n,this._distance,this._offset1)},ld.prototype.addLimitedMitreJoin=function(t,e,n,l){var i=this._seg0.p1,r=ed.angle(i,this._seg0.p0),o=ed.angleBetweenOriented(this._seg0.p0,i,this._seg1.p1)/2,a=ed.normalize(r+o),s=ed.normalize(a+Math.PI),u=l*n,c=n-u*Math.abs(Math.sin(o)),d=i.x+u*Math.cos(s),h=i.y+u*Math.sin(s),p=new Xa(d,h),f=new Uc(i,p),b=f.pointAlongOffset(1,c),m=f.pointAlongOffset(1,-c);this._side===Ju.LEFT?(this._segList.addPt(b),this._segList.addPt(m)):(this._segList.addPt(m),this._segList.addPt(b))},ld.prototype.computeOffsetSegment=function(t,e,n,l){var i=e===Ju.LEFT?1:-1,r=t.p1.x-t.p0.x,o=t.p1.y-t.p0.y,a=Math.sqrt(r*r+o*o),s=i*n*r/a,u=i*n*o/a;l.p0.x=t.p0.x-u,l.p0.y=t.p0.y+s,l.p1.x=t.p1.x-u,l.p1.y=t.p1.y+s},ld.prototype.addFilletArc=function(t,e,n,l,i){var r=l===Es.CLOCKWISE?-1:1,o=Math.abs(e-n),a=Math.trunc(o/this._filletAngleQuantum+.5);if(a<1)return null;for(var s=o/a,u=0,c=new Xa;u<o;){var d=e+r*u;c.x=t.x+i*Math.cos(d),c.y=t.y+i*Math.sin(d),this._segList.addPt(c),u+=s}},ld.prototype.addInsideTurn=function(t,e){if(this._li.computeIntersection(this._offset0.p0,this._offset0.p1,this._offset1.p0,this._offset1.p1),this._li.hasIntersection())this._segList.addPt(this._li.getIntersection(0));else if(this._hasNarrowConcaveAngle=!0,this._offset0.p1.distance(this._offset1.p0)<this._distance*ld.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR)this._segList.addPt(this._offset0.p1);else{if(this._segList.addPt(this._offset0.p1),this._closingSegLengthFactor>0){var n=new Xa((this._closingSegLengthFactor*this._offset0.p1.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset0.p1.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(n);var l=new Xa((this._closingSegLengthFactor*this._offset1.p0.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset1.p0.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(l)}else this._segList.addPt(this._s1);this._segList.addPt(this._offset1.p0)}},ld.prototype.createCircle=function(t){var e=new Xa(t.x+this._distance,t.y);this._segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this._distance),this._segList.closeRing()},ld.prototype.addBevelJoin=function(t,e){this._segList.addPt(t.p1),this._segList.addPt(e.p0)},ld.prototype.init=function(t){this._distance=t,this._maxCurveSegmentError=t*(1-Math.cos(this._filletAngleQuantum/2)),this._segList=new Zc,this._segList.setPrecisionModel(this._precisionModel),this._segList.setMinimumVertexDistance(t*ld.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)},ld.prototype.addCollinear=function(t){this._li.computeIntersection(this._s0,this._s1,this._s1,this._s2),this._li.getIntersectionNum()>=2&&(this._bufParams.getJoinStyle()===Xc.JOIN_BEVEL||this._bufParams.getJoinStyle()===Xc.JOIN_MITRE?(t&&this._segList.addPt(this._offset0.p1),this._segList.addPt(this._offset1.p0)):this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,Es.CLOCKWISE,this._distance))},ld.prototype.closeRing=function(){this._segList.closeRing()},ld.prototype.hasNarrowConcaveAngle=function(){return this._hasNarrowConcaveAngle},ld.prototype.interfaces_=function(){return[]},ld.prototype.getClass=function(){return ld},id.OFFSET_SEGMENT_SEPARATION_FACTOR.get=function(){return.001},id.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return.001},id.CURVE_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return 1e-6},id.MAX_CLOSING_SEG_LEN_FACTOR.get=function(){return 80},Object.defineProperties(ld,id);var rd=function(){this._distance=0,this._precisionModel=null,this._bufParams=null;var t=arguments[0],e=arguments[1];this._precisionModel=t,this._bufParams=e};rd.prototype.getOffsetCurve=function(t,e){if(this._distance=e,0===e)return null;var n=e<0,l=Math.abs(e),i=this.getSegGen(l);t.length<=1?this.computePointCurve(t[0],i):this.computeOffsetCurve(t,n,i);var r=i.getCoordinates();return n&&Qs.reverse(r),r},rd.prototype.computeSingleSidedBufferCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);if(e){n.addSegments(t,!0);var i=Jc.simplify(t,-l),r=i.length-1;n.initSideSegments(i[r],i[r-1],Ju.LEFT),n.addFirstSegment();for(var o=r-2;o>=0;o--)n.addNextSegment(i[o],!0)}else{n.addSegments(t,!1);var a=Jc.simplify(t,l),s=a.length-1;n.initSideSegments(a[0],a[1],Ju.LEFT),n.addFirstSegment();for(var u=2;u<=s;u++)n.addNextSegment(a[u],!0)}n.addLastSegment(),n.closeRing()},rd.prototype.computeRingBufferCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);e===Ju.RIGHT&&(l=-l);var i=Jc.simplify(t,l),r=i.length-1;n.initSideSegments(i[r-1],i[0],e);for(var o=1;o<=r;o++)n.addNextSegment(i[o],1!==o);n.closeRing()},rd.prototype.computeLineBufferCurve=function(t,e){var n=this.simplifyTolerance(this._distance),l=Jc.simplify(t,n),i=l.length-1;e.initSideSegments(l[0],l[1],Ju.LEFT);for(var r=2;r<=i;r++)e.addNextSegment(l[r],!0);e.addLastSegment(),e.addLineEndCap(l[i-1],l[i]);var o=Jc.simplify(t,-n),a=o.length-1;e.initSideSegments(o[a],o[a-1],Ju.LEFT);for(var s=a-2;s>=0;s--)e.addNextSegment(o[s],!0);e.addLastSegment(),e.addLineEndCap(o[1],o[0]),e.closeRing()},rd.prototype.computePointCurve=function(t,e){switch(this._bufParams.getEndCapStyle()){case Xc.CAP_ROUND:e.createCircle(t);break;case Xc.CAP_SQUARE:e.createSquare(t)}},rd.prototype.getLineCurve=function(t,e){if(this._distance=e,e<0&&!this._bufParams.isSingleSided())return null;if(0===e)return null;var n=Math.abs(e),l=this.getSegGen(n);return t.length<=1?this.computePointCurve(t[0],l):this._bufParams.isSingleSided()?this.computeSingleSidedBufferCurve(t,e<0,l):this.computeLineBufferCurve(t,l),l.getCoordinates()},rd.prototype.getBufferParameters=function(){return this._bufParams},rd.prototype.simplifyTolerance=function(t){return t*this._bufParams.getSimplifyFactor()},rd.prototype.getRingCurve=function(t,e,n){if(this._distance=n,t.length<=2)return this.getLineCurve(t,n);if(0===n)return rd.copyCoordinates(t);var l=this.getSegGen(n);return this.computeRingBufferCurve(t,e,l),l.getCoordinates()},rd.prototype.computeOffsetCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);if(e){var i=Jc.simplify(t,-l),r=i.length-1;n.initSideSegments(i[r],i[r-1],Ju.LEFT),n.addFirstSegment();for(var o=r-2;o>=0;o--)n.addNextSegment(i[o],!0)}else{var a=Jc.simplify(t,l),s=a.length-1;n.initSideSegments(a[0],a[1],Ju.LEFT),n.addFirstSegment();for(var u=2;u<=s;u++)n.addNextSegment(a[u],!0)}n.addLastSegment()},rd.prototype.getSegGen=function(t){return new ld(this._precisionModel,this._bufParams,t)},rd.prototype.interfaces_=function(){return[]},rd.prototype.getClass=function(){return rd},rd.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),n=0;n<e.length;n++)e[n]=new Xa(t[n]);return e};var od=function(){this._subgraphs=null,this._seg=new Uc,this._cga=new Es;var t=arguments[0];this._subgraphs=t},ad={DepthSegment:{configurable:!0}};od.prototype.findStabbedSegments=function(){if(1===arguments.length){for(var t=arguments[0],e=new Xs,n=this._subgraphs.iterator();n.hasNext();){var l=n.next(),i=l.getEnvelope();t.y<i.getMinY()||t.y>i.getMaxY()||this.findStabbedSegments(t,l.getDirectedEdges(),e)}return e}if(3===arguments.length)if(es(arguments[2],$s)&&arguments[0]instanceof Xa&&arguments[1]instanceof fc){for(var r=arguments[0],o=arguments[1],a=arguments[2],s=o.getEdge().getCoordinates(),u=0;u<s.length-1;u++)if(this._seg.p0=s[u],this._seg.p1=s[u+1],this._seg.p0.y>this._seg.p1.y&&this._seg.reverse(),!(Math.max(this._seg.p0.x,this._seg.p1.x)<r.x||this._seg.isHorizontal()||r.y<this._seg.p0.y||r.y>this._seg.p1.y||Es.computeOrientation(this._seg.p0,this._seg.p1,r)===Es.RIGHT)){var c=o.getDepth(Ju.LEFT);this._seg.p0.equals(s[u])||(c=o.getDepth(Ju.RIGHT));var d=new sd(this._seg,c);a.add(d)}}else if(es(arguments[2],$s)&&arguments[0]instanceof Xa&&es(arguments[1],$s))for(var h=arguments[0],p=arguments[1],f=arguments[2],b=p.iterator();b.hasNext();){var m=b.next();m.isForward()&&this.findStabbedSegments(h,m,f)}},od.prototype.getDepth=function(t){var e=this.findStabbedSegments(t);return 0===e.size()?0:xc.min(e)._leftDepth},od.prototype.interfaces_=function(){return[]},od.prototype.getClass=function(){return od},ad.DepthSegment.get=function(){return sd},Object.defineProperties(od,ad);var sd=function(){this._upwardSeg=null,this._leftDepth=null;var t=arguments[0],e=arguments[1];this._upwardSeg=new Uc(t),this._leftDepth=e};sd.prototype.compareTo=function(t){var e=t;if(this._upwardSeg.minX()>=e._upwardSeg.maxX())return 1;if(this._upwardSeg.maxX()<=e._upwardSeg.minX())return-1;var n=this._upwardSeg.orientationIndex(e._upwardSeg);return 0!==n||0!=(n=-1*e._upwardSeg.orientationIndex(this._upwardSeg))?n:this._upwardSeg.compareTo(e._upwardSeg)},sd.prototype.compareX=function(t,e){var n=t.p0.compareTo(e.p0);return 0!==n?n:t.p1.compareTo(e.p1)},sd.prototype.toString=function(){return this._upwardSeg.toString()},sd.prototype.interfaces_=function(){return[qa]},sd.prototype.getClass=function(){return sd};var ud=function(t,e,n){this.p0=t||null,this.p1=e||null,this.p2=n||null};ud.prototype.area=function(){return ud.area(this.p0,this.p1,this.p2)},ud.prototype.signedArea=function(){return ud.signedArea(this.p0,this.p1,this.p2)},ud.prototype.interpolateZ=function(t){if(null===t)throw new Ga("Supplied point is null.");return ud.interpolateZ(t,this.p0,this.p1,this.p2)},ud.prototype.longestSideLength=function(){return ud.longestSideLength(this.p0,this.p1,this.p2)},ud.prototype.isAcute=function(){return ud.isAcute(this.p0,this.p1,this.p2)},ud.prototype.circumcentre=function(){return ud.circumcentre(this.p0,this.p1,this.p2)},ud.prototype.area3D=function(){return ud.area3D(this.p0,this.p1,this.p2)},ud.prototype.centroid=function(){return ud.centroid(this.p0,this.p1,this.p2)},ud.prototype.inCentre=function(){return ud.inCentre(this.p0,this.p1,this.p2)},ud.prototype.interfaces_=function(){return[]},ud.prototype.getClass=function(){return ud},ud.area=function(t,e,n){return Math.abs(((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2)},ud.signedArea=function(t,e,n){return((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2},ud.det=function(t,e,n,l){return t*l-e*n},ud.interpolateZ=function(t,e,n,l){var i=e.x,r=e.y,o=n.x-i,a=l.x-i,s=n.y-r,u=l.y-r,c=o*u-a*s,d=t.x-i,h=t.y-r;return e.z+(u*d-a*h)/c*(n.z-e.z)+(-s*d+o*h)/c*(l.z-e.z)},ud.longestSideLength=function(t,e,n){var l=t.distance(e),i=e.distance(n),r=n.distance(t),o=l;return i>o&&(o=i),r>o&&(o=r),o},ud.isAcute=function(t,e,n){return!!ed.isAcute(t,e,n)&&!!ed.isAcute(e,n,t)&&!!ed.isAcute(n,t,e)},ud.circumcentre=function(t,e,n){var l=n.x,i=n.y,r=t.x-l,o=t.y-i,a=e.x-l,s=e.y-i,u=2*ud.det(r,o,a,s),c=ud.det(o,r*r+o*o,s,a*a+s*s),d=ud.det(r,r*r+o*o,a,a*a+s*s);return new Xa(l-c/u,i+d/u)},ud.perpendicularBisector=function(t,e){var n=e.x-t.x,l=e.y-t.y,i=new ms(t.x+n/2,t.y+l/2,1),r=new ms(t.x-l+n/2,t.y+n+l/2,1);return new ms(i,r)},ud.angleBisector=function(t,e,n){var l=e.distance(t),i=l/(l+e.distance(n));return new Xa(t.x+i*(n.x-t.x),t.y+i*(n.y-t.y))},ud.area3D=function(t,e,n){var l=e.x-t.x,i=e.y-t.y,r=e.z-t.z,o=n.x-t.x,a=n.y-t.y,s=n.z-t.z,u=i*s-r*a,c=r*o-l*s,d=l*a-i*o;return Math.sqrt(u*u+c*c+d*d)/2},ud.centroid=function(t,e,n){return new Xa((t.x+e.x+n.x)/3,(t.y+e.y+n.y)/3)},ud.inCentre=function(t,e,n){var l=e.distance(n),i=t.distance(n),r=t.distance(e),o=l+i+r;return new Xa((l*t.x+i*e.x+r*n.x)/o,(l*t.y+i*e.y+r*n.y)/o)};var cd=function(){this._inputGeom=null,this._distance=null,this._curveBuilder=null,this._curveList=new Xs;var t=arguments[0],e=arguments[1],n=arguments[2];this._inputGeom=t,this._distance=e,this._curveBuilder=n};cd.prototype.addPoint=function(t){if(this._distance<=0)return null;var e=t.getCoordinates(),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,Za.EXTERIOR,Za.INTERIOR)},cd.prototype.addPolygon=function(t){var e=this._distance,n=Ju.LEFT;this._distance<0&&(e=-this._distance,n=Ju.RIGHT);var l=t.getExteriorRing(),i=Qs.removeRepeatedPoints(l.getCoordinates());if(this._distance<0&&this.isErodedCompletely(l,this._distance))return null;if(this._distance<=0&&i.length<3)return null;this.addPolygonRing(i,e,n,Za.EXTERIOR,Za.INTERIOR);for(var r=0;r<t.getNumInteriorRing();r++){var o=t.getInteriorRingN(r),a=Qs.removeRepeatedPoints(o.getCoordinates());this._distance>0&&this.isErodedCompletely(o,-this._distance)||this.addPolygonRing(a,e,Ju.opposite(n),Za.INTERIOR,Za.EXTERIOR)}},cd.prototype.isTriangleErodedCompletely=function(t,e){var n=new ud(t[0],t[1],t[2]),l=n.inCentre();return Es.distancePointLine(l,n.p0,n.p1)<Math.abs(e)},cd.prototype.addLineString=function(t){if(this._distance<=0&&!this._curveBuilder.getBufferParameters().isSingleSided())return null;var e=Qs.removeRepeatedPoints(t.getCoordinates()),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,Za.EXTERIOR,Za.INTERIOR)},cd.prototype.addCurve=function(t,e,n){if(null===t||t.length<2)return null;var l=new Yc(t,new ic(0,Za.BOUNDARY,e,n));this._curveList.add(l)},cd.prototype.getCurves=function(){return this.add(this._inputGeom),this._curveList},cd.prototype.addPolygonRing=function(t,e,n,l,i){if(0===e&&t.length<ku.MINIMUM_VALID_SIZE)return null;var r=l,o=i;t.length>=ku.MINIMUM_VALID_SIZE&&Es.isCCW(t)&&(r=i,o=l,n=Ju.opposite(n));var a=this._curveBuilder.getRingCurve(t,n,e);this.addCurve(a,r,o)},cd.prototype.add=function(t){if(t.isEmpty())return null;t instanceof xu?this.addPolygon(t):t instanceof vu?this.addLineString(t):t instanceof wu?this.addPoint(t):(t instanceof Su||t instanceof bu||t instanceof Mu||t instanceof fu)&&this.addCollection(t)},cd.prototype.isErodedCompletely=function(t,e){var n=t.getCoordinates();if(n.length<4)return e<0;if(4===n.length)return this.isTriangleErodedCompletely(n,e);var l=t.getEnvelopeInternal(),i=Math.min(l.getHeight(),l.getWidth());return e<0&&2*Math.abs(e)>i},cd.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var n=t.getGeometryN(e);this.add(n)}},cd.prototype.interfaces_=function(){return[]},cd.prototype.getClass=function(){return cd};var dd=function(){};dd.prototype.locate=function(t){},dd.prototype.interfaces_=function(){return[]},dd.prototype.getClass=function(){return dd};var hd=function(){this._parent=null,this._atStart=null,this._max=null,this._index=null,this._subcollectionIterator=null;var t=arguments[0];this._parent=t,this._atStart=!0,this._index=0,this._max=t.getNumGeometries()};hd.prototype.next=function(){if(this._atStart)return this._atStart=!1,hd.isAtomic(this._parent)&&this._index++,this._parent;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return this._subcollectionIterator.next();this._subcollectionIterator=null}if(this._index>=this._max)throw new gi;var t=this._parent.getGeometryN(this._index++);return t instanceof fu?(this._subcollectionIterator=new hd(t),this._subcollectionIterator.next()):t},hd.prototype.remove=function(){throw new Error(this.getClass().getName())},hd.prototype.hasNext=function(){if(this._atStart)return!0;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return!0;this._subcollectionIterator=null}return!(this._index>=this._max)},hd.prototype.interfaces_=function(){return[Ws]},hd.prototype.getClass=function(){return hd},hd.isAtomic=function(t){return!(t instanceof fu)};var pd=function(){this._geom=null;var t=arguments[0];this._geom=t};pd.prototype.locate=function(t){return pd.locate(t,this._geom)},pd.prototype.interfaces_=function(){return[dd]},pd.prototype.getClass=function(){return pd},pd.isPointInRing=function(t,e){return!!e.getEnvelopeInternal().intersects(t)&&Es.isPointInRing(t,e.getCoordinates())},pd.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var n=e.getExteriorRing();if(!pd.isPointInRing(t,n))return!1;for(var l=0;l<e.getNumInteriorRing();l++){var i=e.getInteriorRingN(l);if(pd.isPointInRing(t,i))return!1}return!0},pd.containsPoint=function(t,e){if(e instanceof xu)return pd.containsPointInPolygon(t,e);if(e instanceof fu)for(var n=new hd(e);n.hasNext();){var l=n.next();if(l!==e&&pd.containsPoint(t,l))return!0}return!1},pd.locate=function(t,e){return e.isEmpty()?Za.EXTERIOR:pd.containsPoint(t,e)?Za.INTERIOR:Za.EXTERIOR};var fd=function(){this._edgeMap=new xi,this._edgeList=null,this._ptInAreaLocation=[Za.NONE,Za.NONE]};fd.prototype.getNextCW=function(t){this.getEdges();var e=this._edgeList.indexOf(t),n=e-1;return 0===e&&(n=this._edgeList.size()-1),this._edgeList.get(n)},fd.prototype.propagateSideLabels=function(t){for(var e=Za.NONE,n=this.iterator();n.hasNext();){var l=n.next().getLabel();l.isArea(t)&&l.getLocation(t,Ju.LEFT)!==Za.NONE&&(e=l.getLocation(t,Ju.LEFT))}if(e===Za.NONE)return null;for(var i=e,r=this.iterator();r.hasNext();){var o=r.next(),a=o.getLabel();if(a.getLocation(t,Ju.ON)===Za.NONE&&a.setLocation(t,Ju.ON,i),a.isArea(t)){var s=a.getLocation(t,Ju.LEFT),u=a.getLocation(t,Ju.RIGHT);if(u!==Za.NONE){if(u!==i)throw new tc("side location conflict",o.getCoordinate());s===Za.NONE&&Ss.shouldNeverReachHere("found single null side (at "+o.getCoordinate()+")"),i=s}else Ss.isTrue(a.getLocation(t,Ju.LEFT)===Za.NONE,"found single null side"),a.setLocation(t,Ju.RIGHT,i),a.setLocation(t,Ju.LEFT,i)}}},fd.prototype.getCoordinate=function(){var t=this.iterator();return t.hasNext()?t.next().getCoordinate():null},fd.prototype.print=function(t){bs.out.println("EdgeEndStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();)e.next().print(t)},fd.prototype.isAreaLabelsConsistent=function(t){return this.computeEdgeEndLabels(t.getBoundaryNodeRule()),this.checkAreaLabelsConsistent(0)},fd.prototype.checkAreaLabelsConsistent=function(t){var e=this.getEdges();if(e.size()<=0)return!0;var n=e.size()-1,l=e.get(n).getLabel().getLocation(t,Ju.LEFT);Ss.isTrue(l!==Za.NONE,"Found unlabelled area edge");for(var i=l,r=this.iterator();r.hasNext();){var o=r.next().getLabel();Ss.isTrue(o.isArea(t),"Found non-area edge");var a=o.getLocation(t,Ju.LEFT),s=o.getLocation(t,Ju.RIGHT);if(a===s)return!1;if(s!==i)return!1;i=a}return!0},fd.prototype.findIndex=function(t){this.iterator();for(var e=0;e<this._edgeList.size();e++)if(this._edgeList.get(e)===t)return e;return-1},fd.prototype.iterator=function(){return this.getEdges().iterator()},fd.prototype.getEdges=function(){return null===this._edgeList&&(this._edgeList=new Xs(this._edgeMap.values())),this._edgeList},fd.prototype.getLocation=function(t,e,n){return this._ptInAreaLocation[t]===Za.NONE&&(this._ptInAreaLocation[t]=pd.locate(e,n[t].getGeometry())),this._ptInAreaLocation[t]},fd.prototype.toString=function(){var t=new is;t.append("EdgeEndStar: "+this.getCoordinate()),t.append("\n");for(var e=this.iterator();e.hasNext();){var n=e.next();t.append(n),t.append("\n")}return t.toString()},fd.prototype.computeEdgeEndLabels=function(t){for(var e=this.iterator();e.hasNext();)e.next().computeLabel(t)},fd.prototype.computeLabelling=function(t){this.computeEdgeEndLabels(t[0].getBoundaryNodeRule()),this.propagateSideLabels(0),this.propagateSideLabels(1);for(var e=[!1,!1],n=this.iterator();n.hasNext();)for(var l=n.next().getLabel(),i=0;i<2;i++)l.isLine(i)&&l.getLocation(i)===Za.BOUNDARY&&(e[i]=!0);for(var r=this.iterator();r.hasNext();)for(var o=r.next(),a=o.getLabel(),s=0;s<2;s++)if(a.isAnyNull(s)){var u=Za.NONE;if(e[s])u=Za.EXTERIOR;else{var c=o.getCoordinate();u=this.getLocation(s,c,t)}a.setAllLocationsIfNull(s,u)}},fd.prototype.getDegree=function(){return this._edgeMap.size()},fd.prototype.insertEdgeEnd=function(t,e){this._edgeMap.put(t,e),this._edgeList=null},fd.prototype.interfaces_=function(){return[]},fd.prototype.getClass=function(){return fd};var bd=function(t){function e(){t.call(this),this._resultAreaEdgeList=null,this._label=null,this._SCANNING_FOR_INCOMING=1,this._LINKING_TO_OUTGOING=2}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.linkResultDirectedEdges=function(){this.getResultAreaEdges();for(var t=null,e=null,n=this._SCANNING_FOR_INCOMING,l=0;l<this._resultAreaEdgeList.size();l++){var i=this._resultAreaEdgeList.get(l),r=i.getSym();if(i.getLabel().isArea())switch(null===t&&i.isInResult()&&(t=i),n){case this._SCANNING_FOR_INCOMING:if(!r.isInResult())continue;e=r,n=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(!i.isInResult())continue;e.setNext(i),n=this._SCANNING_FOR_INCOMING}}if(n===this._LINKING_TO_OUTGOING){if(null===t)throw new tc("no outgoing dirEdge found",this.getCoordinate());Ss.isTrue(t.isInResult(),"unable to link last incoming dirEdge"),e.setNext(t)}},e.prototype.insert=function(t){this.insertEdgeEnd(t,t)},e.prototype.getRightmostEdge=function(){var t=this.getEdges(),e=t.size();if(e<1)return null;var n=t.get(0);if(1===e)return n;var l=t.get(e-1),i=n.getQuadrant(),r=l.getQuadrant();return dc.isNorthern(i)&&dc.isNorthern(r)?n:dc.isNorthern(i)||dc.isNorthern(r)?0!==n.getDy()?n:0!==l.getDy()?l:(Ss.shouldNeverReachHere("found two horizontal edges incident on node"),null):l},e.prototype.print=function(t){bs.out.println("DirectedEdgeStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();){var n=e.next();t.print("out "),n.print(t),t.println(),t.print("in "),n.getSym().print(t),t.println()}},e.prototype.getResultAreaEdges=function(){if(null!==this._resultAreaEdgeList)return this._resultAreaEdgeList;this._resultAreaEdgeList=new Xs;for(var t=this.iterator();t.hasNext();){var e=t.next();(e.isInResult()||e.getSym().isInResult())&&this._resultAreaEdgeList.add(e)}return this._resultAreaEdgeList},e.prototype.updateLabelling=function(t){for(var e=this.iterator();e.hasNext();){var n=e.next().getLabel();n.setAllLocationsIfNull(0,t.getLocation(0)),n.setAllLocationsIfNull(1,t.getLocation(1))}},e.prototype.linkAllDirectedEdges=function(){this.getEdges();for(var t=null,e=null,n=this._edgeList.size()-1;n>=0;n--){var l=this._edgeList.get(n),i=l.getSym();null===e&&(e=i),null!==t&&i.setNext(t),t=l}e.setNext(t)},e.prototype.computeDepths=function(){if(1===arguments.length){var t=arguments[0],e=this.findIndex(t),n=t.getDepth(Ju.LEFT),l=t.getDepth(Ju.RIGHT),i=this.computeDepths(e+1,this._edgeList.size(),n);if(this.computeDepths(0,e,i)!==l)throw new tc("depth mismatch at "+t.getCoordinate())}else if(3===arguments.length){for(var r=arguments[0],o=arguments[1],a=arguments[2],s=r;s<o;s++){var u=this._edgeList.get(s);u.setEdgeDepths(Ju.RIGHT,a),a=u.getDepth(Ju.LEFT)}return a}},e.prototype.mergeSymLabels=function(){for(var t=this.iterator();t.hasNext();){var e=t.next();e.getLabel().merge(e.getSym().getLabel())}},e.prototype.linkMinimalDirectedEdges=function(t){for(var e=null,n=null,l=this._SCANNING_FOR_INCOMING,i=this._resultAreaEdgeList.size()-1;i>=0;i--){var r=this._resultAreaEdgeList.get(i),o=r.getSym();switch(null===e&&r.getEdgeRing()===t&&(e=r),l){case this._SCANNING_FOR_INCOMING:if(o.getEdgeRing()!==t)continue;n=o,l=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(r.getEdgeRing()!==t)continue;n.setNextMin(r),l=this._SCANNING_FOR_INCOMING}}l===this._LINKING_TO_OUTGOING&&(Ss.isTrue(null!==e,"found null for first outgoing dirEdge"),Ss.isTrue(e.getEdgeRing()===t,"unable to link last incoming dirEdge"),n.setNextMin(e))},e.prototype.getOutgoingDegree=function(){if(0===arguments.length){for(var t=0,e=this.iterator();e.hasNext();)e.next().isInResult()&&t++;return t}if(1===arguments.length){for(var n=arguments[0],l=0,i=this.iterator();i.hasNext();)i.next().getEdgeRing()===n&&l++;return l}},e.prototype.getLabel=function(){return this._label},e.prototype.findCoveredLineEdges=function(){for(var t=Za.NONE,e=this.iterator();e.hasNext();){var n=e.next(),l=n.getSym();if(!n.isLineEdge()){if(n.isInResult()){t=Za.INTERIOR;break}if(l.isInResult()){t=Za.EXTERIOR;break}}}if(t===Za.NONE)return null;for(var i=t,r=this.iterator();r.hasNext();){var o=r.next(),a=o.getSym();o.isLineEdge()?o.getEdge().setCovered(i===Za.INTERIOR):(o.isInResult()&&(i=Za.EXTERIOR),a.isInResult()&&(i=Za.INTERIOR))}},e.prototype.computeLabelling=function(e){t.prototype.computeLabelling.call(this,e),this._label=new ic(Za.NONE);for(var n=this.iterator();n.hasNext();)for(var l=n.next().getEdge().getLabel(),i=0;i<2;i++){var r=l.getLocation(i);r!==Za.INTERIOR&&r!==Za.BOUNDARY||this._label.setLocation(i,Za.INTERIOR)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(fd),md=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createNode=function(t){return new uc(t,new bd)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(bc),gd=function t(){this._pts=null,this._orientation=null;var e=arguments[0];this._pts=e,this._orientation=t.orientation(e)};gd.prototype.compareTo=function(t){return gd.compareOriented(this._pts,this._orientation,t._pts,t._orientation)},gd.prototype.interfaces_=function(){return[qa]},gd.prototype.getClass=function(){return gd},gd.orientation=function(t){return 1===Qs.increasingDirection(t)},gd.compareOriented=function(t,e,n,l){for(var i=e?1:-1,r=l?1:-1,o=e?t.length:-1,a=l?n.length:-1,s=e?0:t.length-1,u=l?0:n.length-1;;){var c=t[s].compareTo(n[u]);if(0!==c)return c;var d=(s+=i)===o,h=(u+=r)===a;if(d&&!h)return-1;if(!d&&h)return 1;if(d&&h)return 0}};var _d=function(){this._edges=new Xs,this._ocaMap=new xi};_d.prototype.print=function(t){t.print("MULTILINESTRING ( ");for(var e=0;e<this._edges.size();e++){var n=this._edges.get(e);e>0&&t.print(","),t.print("(");for(var l=n.getCoordinates(),i=0;i<l.length;i++)i>0&&t.print(","),t.print(l[i].x+" "+l[i].y);t.println(")")}t.print(") ")},_d.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next())},_d.prototype.findEdgeIndex=function(t){for(var e=0;e<this._edges.size();e++)if(this._edges.get(e).equals(t))return e;return-1},_d.prototype.iterator=function(){return this._edges.iterator()},_d.prototype.getEdges=function(){return this._edges},_d.prototype.get=function(t){return this._edges.get(t)},_d.prototype.findEqualEdge=function(t){var e=new gd(t.getCoordinates());return this._ocaMap.get(e)},_d.prototype.add=function(t){this._edges.add(t);var e=new gd(t.getCoordinates());this._ocaMap.put(e,t)},_d.prototype.interfaces_=function(){return[]},_d.prototype.getClass=function(){return _d};var yd=function(){};yd.prototype.processIntersections=function(t,e,n,l){},yd.prototype.isDone=function(){},yd.prototype.interfaces_=function(){return[]},yd.prototype.getClass=function(){return yd};var Ad=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._hasInterior=!1,this._properIntersectionPoint=null,this._li=null,this._isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this._li=t};Ad.prototype.isTrivialIntersection=function(t,e,n,l){if(t===n&&1===this._li.getIntersectionNum()){if(Ad.isAdjacentSegments(e,l))return!0;if(t.isClosed()){var i=t.size()-1;if(0===e&&l===i||0===l&&e===i)return!0}}return!1},Ad.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},Ad.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},Ad.prototype.getLineIntersector=function(){return this._li},Ad.prototype.hasProperIntersection=function(){return this._hasProper},Ad.prototype.processIntersections=function(t,e,n,l){if(t===n&&e===l)return null;this.numTests++;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&(this.numIntersections++,this._li.isInteriorIntersection()&&(this.numInteriorIntersections++,this._hasInterior=!0),this.isTrivialIntersection(t,e,n,l)||(this._hasIntersection=!0,t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1),this._li.isProper()&&(this.numProperIntersections++,this._hasProper=!0,this._hasProperInterior=!0)))},Ad.prototype.hasIntersection=function(){return this._hasIntersection},Ad.prototype.isDone=function(){return!1},Ad.prototype.hasInteriorIntersection=function(){return this._hasInterior},Ad.prototype.interfaces_=function(){return[yd]},Ad.prototype.getClass=function(){return Ad},Ad.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var vd=function(){this.coord=null,this.segmentIndex=null,this.dist=null;var t=arguments[0],e=arguments[1],n=arguments[2];this.coord=new Xa(t),this.segmentIndex=e,this.dist=n};vd.prototype.getSegmentIndex=function(){return this.segmentIndex},vd.prototype.getCoordinate=function(){return this.coord},vd.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex),t.println(" dist = "+this.dist)},vd.prototype.compareTo=function(t){return this.compare(t.segmentIndex,t.dist)},vd.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&0===this.dist||this.segmentIndex===t},vd.prototype.toString=function(){return this.coord+" seg # = "+this.segmentIndex+" dist = "+this.dist},vd.prototype.getDistance=function(){return this.dist},vd.prototype.compare=function(t,e){return this.segmentIndex<t?-1:this.segmentIndex>t?1:this.dist<e?-1:this.dist>e?1:0},vd.prototype.interfaces_=function(){return[qa]},vd.prototype.getClass=function(){return vd};var Cd=function(){this._nodeMap=new xi,this.edge=null;var t=arguments[0];this.edge=t};Cd.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},Cd.prototype.iterator=function(){return this._nodeMap.values().iterator()},Cd.prototype.addSplitEdges=function(t){this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next(),i=this.createSplitEdge(n,l);t.add(i),n=l}},Cd.prototype.addEndpoints=function(){var t=this.edge.pts.length-1;this.add(this.edge.pts[0],0,0),this.add(this.edge.pts[t],t,0)},Cd.prototype.createSplitEdge=function(t,e){var n=e.segmentIndex-t.segmentIndex+2,l=e.dist>0||!e.coord.equals2D(this.edge.pts[e.segmentIndex]);l||n--;var i=new Array(n).fill(null),r=0;i[r++]=new Xa(t.coord);for(var o=t.segmentIndex+1;o<=e.segmentIndex;o++)i[r++]=this.edge.pts[o];return l&&(i[r]=e.coord),new kd(i,new ic(this.edge._label))},Cd.prototype.add=function(t,e,n){var l=new vd(t,e,n),i=this._nodeMap.get(l);return null!==i?i:(this._nodeMap.put(l,l),l)},Cd.prototype.isIntersection=function(t){for(var e=this.iterator();e.hasNext();)if(e.next().coord.equals(t))return!0;return!1},Cd.prototype.interfaces_=function(){return[]},Cd.prototype.getClass=function(){return Cd};var wd=function(){};wd.prototype.getChainStartIndices=function(t){var e=0,n=new Xs;n.add(new rs(e));do{var l=this.findChainEnd(t,e);n.add(new rs(l)),e=l}while(e<t.length-1);return wd.toIntArray(n)},wd.prototype.findChainEnd=function(t,e){for(var n=dc.quadrant(t[e],t[e+1]),l=e+1;l<t.length&&dc.quadrant(t[l-1],t[l])===n;)l++;return l-1},wd.prototype.interfaces_=function(){return[]},wd.prototype.getClass=function(){return wd},wd.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var Pd=function(){this.e=null,this.pts=null,this.startIndex=null,this.env1=new gs,this.env2=new gs;var t=arguments[0];this.e=t,this.pts=t.getCoordinates();var e=new wd;this.startIndex=e.getChainStartIndices(this.pts)};Pd.prototype.getCoordinates=function(){return this.pts},Pd.prototype.getMaxX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e>n?e:n},Pd.prototype.getMinX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e<n?e:n},Pd.prototype.computeIntersectsForChain=function(){if(4===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this.computeIntersectsForChain(this.startIndex[t],this.startIndex[t+1],e,e.startIndex[n],e.startIndex[n+1],l)}else if(6===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],u=arguments[5],c=this.pts[i],d=this.pts[r],h=o.pts[a],p=o.pts[s];if(r-i==1&&s-a==1)return u.addIntersections(this.e,i,o.e,a),null;if(this.env1.init(c,d),this.env2.init(h,p),!this.env1.intersects(this.env2))return null;var f=Math.trunc((i+r)/2),b=Math.trunc((a+s)/2);i<f&&(a<b&&this.computeIntersectsForChain(i,f,o,a,b,u),b<s&&this.computeIntersectsForChain(i,f,o,b,s,u)),f<r&&(a<b&&this.computeIntersectsForChain(f,r,o,a,b,u),b<s&&this.computeIntersectsForChain(f,r,o,b,s,u))}},Pd.prototype.getStartIndexes=function(){return this.startIndex},Pd.prototype.computeIntersects=function(t,e){for(var n=0;n<this.startIndex.length-1;n++)for(var l=0;l<t.startIndex.length-1;l++)this.computeIntersectsForChain(n,t,l,e)},Pd.prototype.interfaces_=function(){return[]},Pd.prototype.getClass=function(){return Pd};var xd=function t(){this._depth=Array(2).fill().map((function(){return Array(3)}));for(var e=0;e<2;e++)for(var n=0;n<3;n++)this._depth[e][n]=t.NULL_VALUE},Sd={NULL_VALUE:{configurable:!0}};xd.prototype.getDepth=function(t,e){return this._depth[t][e]},xd.prototype.setDepth=function(t,e,n){this._depth[t][e]=n},xd.prototype.isNull=function(){if(0===arguments.length){for(var t=0;t<2;t++)for(var e=0;e<3;e++)if(this._depth[t][e]!==xd.NULL_VALUE)return!1;return!0}if(1===arguments.length){var n=arguments[0];return this._depth[n][1]===xd.NULL_VALUE}if(2===arguments.length){var l=arguments[0],i=arguments[1];return this._depth[l][i]===xd.NULL_VALUE}},xd.prototype.normalize=function(){for(var t=0;t<2;t++)if(!this.isNull(t)){var e=this._depth[t][1];this._depth[t][2]<e&&(e=this._depth[t][2]),e<0&&(e=0);for(var n=1;n<3;n++){var l=0;this._depth[t][n]>e&&(l=1),this._depth[t][n]=l}}},xd.prototype.getDelta=function(t){return this._depth[t][Ju.RIGHT]-this._depth[t][Ju.LEFT]},xd.prototype.getLocation=function(t,e){return this._depth[t][e]<=0?Za.EXTERIOR:Za.INTERIOR},xd.prototype.toString=function(){return"A: "+this._depth[0][1]+","+this._depth[0][2]+" B: "+this._depth[1][1]+","+this._depth[1][2]},xd.prototype.add=function(){if(1===arguments.length)for(var t=arguments[0],e=0;e<2;e++)for(var n=1;n<3;n++){var l=t.getLocation(e,n);l!==Za.EXTERIOR&&l!==Za.INTERIOR||(this.isNull(e,n)?this._depth[e][n]=xd.depthAtLocation(l):this._depth[e][n]+=xd.depthAtLocation(l))}else if(3===arguments.length){var i=arguments[0],r=arguments[1];arguments[2]===Za.INTERIOR&&this._depth[i][r]++}},xd.prototype.interfaces_=function(){return[]},xd.prototype.getClass=function(){return xd},xd.depthAtLocation=function(t){return t===Za.EXTERIOR?0:t===Za.INTERIOR?1:xd.NULL_VALUE},Sd.NULL_VALUE.get=function(){return-1},Object.defineProperties(xd,Sd);var kd=function(t){function e(){if(t.call(this),this.pts=null,this._env=null,this.eiList=new Cd(this),this._name=null,this._mce=null,this._isIsolated=!0,this._depth=new xd,this._depthDelta=0,1===arguments.length){var n=arguments[0];e.call(this,n,null)}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.pts=l,this._label=i}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDepth=function(){return this._depth},e.prototype.getCollapsedEdge=function(){var t=new Array(2).fill(null);return t[0]=this.pts[0],t[1]=this.pts[1],new e(t,ic.toLineLabel(this._label))},e.prototype.isIsolated=function(){return this._isIsolated},e.prototype.getCoordinates=function(){return this.pts},e.prototype.setIsolated=function(t){this._isIsolated=t},e.prototype.setName=function(t){this._name=t},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.pts.length!==n.pts.length)return!1;for(var l=!0,i=!0,r=this.pts.length,o=0;o<this.pts.length;o++)if(this.pts[o].equals2D(n.pts[o])||(l=!1),this.pts[o].equals2D(n.pts[--r])||(i=!1),!l&&!i)return!1;return!0},e.prototype.getCoordinate=function(){if(0===arguments.length)return this.pts.length>0?this.pts[0]:null;if(1===arguments.length){var t=arguments[0];return this.pts[t]}},e.prototype.print=function(t){t.print("edge "+this._name+": "),t.print("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.print(","),t.print(this.pts[e].x+" "+this.pts[e].y);t.print(") "+this._label+" "+this._depthDelta)},e.prototype.computeIM=function(t){e.updateIM(this._label,t)},e.prototype.isCollapsed=function(){return!!this._label.isArea()&&3===this.pts.length&&!!this.pts[0].equals(this.pts[2])},e.prototype.isClosed=function(){return this.pts[0].equals(this.pts[this.pts.length-1])},e.prototype.getMaximumSegmentIndex=function(){return this.pts.length-1},e.prototype.getDepthDelta=function(){return this._depthDelta},e.prototype.getNumPoints=function(){return this.pts.length},e.prototype.printReverse=function(t){t.print("edge "+this._name+": ");for(var e=this.pts.length-1;e>=0;e--)t.print(this.pts[e]+" ");t.println("")},e.prototype.getMonotoneChainEdge=function(){return null===this._mce&&(this._mce=new Pd(this)),this._mce},e.prototype.getEnvelope=function(){if(null===this._env){this._env=new gs;for(var t=0;t<this.pts.length;t++)this._env.expandToInclude(this.pts[t])}return this._env},e.prototype.addIntersection=function(t,e,n,l){var i=new Xa(t.getIntersection(l)),r=e,o=t.getEdgeDistance(n,l),a=r+1;a<this.pts.length&&i.equals2D(this.pts[a])&&(r=a,o=0),this.eiList.add(i,r,o)},e.prototype.toString=function(){var t=new is;t.append("edge "+this._name+": "),t.append("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.append(","),t.append(this.pts[e].x+" "+this.pts[e].y);return t.append(") "+this._label+" "+this._depthDelta),t.toString()},e.prototype.isPointwiseEqual=function(t){if(this.pts.length!==t.pts.length)return!1;for(var e=0;e<this.pts.length;e++)if(!this.pts[e].equals2D(t.pts[e]))return!1;return!0},e.prototype.setDepthDelta=function(t){this._depthDelta=t},e.prototype.getEdgeIntersectionList=function(){return this.eiList},e.prototype.addIntersections=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++)this.addIntersection(t,e,n,l)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.updateIM=function(){if(2!==arguments.length)return t.prototype.updateIM.apply(this,arguments);var e=arguments[0],n=arguments[1];n.setAtLeastIfValid(e.getLocation(0,Ju.ON),e.getLocation(1,Ju.ON),1),e.isArea()&&(n.setAtLeastIfValid(e.getLocation(0,Ju.LEFT),e.getLocation(1,Ju.LEFT),2),n.setAtLeastIfValid(e.getLocation(0,Ju.RIGHT),e.getLocation(1,Ju.RIGHT),2))},e}(sc),Md=function(t){this._workingPrecisionModel=null,this._workingNoder=null,this._geomFact=null,this._graph=null,this._edgeList=new _d,this._bufParams=t||null};Md.prototype.setWorkingPrecisionModel=function(t){this._workingPrecisionModel=t},Md.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var n=e.getLabel(),l=t.getLabel();e.isPointwiseEqual(t)||(l=new ic(t.getLabel())).flip(),n.merge(l);var i=Md.depthDelta(l),r=e.getDepthDelta()+i;e.setDepthDelta(r)}else this._edgeList.add(t),t.setDepthDelta(Md.depthDelta(t.getLabel()))},Md.prototype.buildSubgraphs=function(t,e){for(var n=new Xs,l=t.iterator();l.hasNext();){var i=l.next(),r=i.getRightmostCoordinate(),o=new od(n).getDepth(r);i.computeDepth(o),i.findResultEdges(),n.add(i),e.add(i.getDirectedEdges(),i.getNodes())}},Md.prototype.createSubgraphs=function(t){for(var e=new Xs,n=t.getNodes().iterator();n.hasNext();){var l=n.next();if(!l.isVisited()){var i=new nc;i.create(l),e.add(i)}}return xc.sort(e,xc.reverseOrder()),e},Md.prototype.createEmptyResultGeometry=function(){return this._geomFact.createPolygon()},Md.prototype.getNoder=function(t){if(null!==this._workingNoder)return this._workingNoder;var e=new Wc,n=new Os;return n.setPrecisionModel(t),e.setSegmentIntersector(new Ad(n)),e},Md.prototype.buffer=function(t,e){var n=this._workingPrecisionModel;null===n&&(n=t.getPrecisionModel()),this._geomFact=t.getFactory();var l=new rd(n,this._bufParams),i=new cd(t,e,l).getCurves();if(i.size()<=0)return this.createEmptyResultGeometry();this.computeNodedEdges(i,n),this._graph=new mc(new md),this._graph.addEdges(this._edgeList.getEdges());var r=this.createSubgraphs(this._graph),o=new gc(this._geomFact);this.buildSubgraphs(r,o);var a=o.getPolygons();return a.size()<=0?this.createEmptyResultGeometry():this._geomFact.buildGeometry(a)},Md.prototype.computeNodedEdges=function(t,e){var n=this.getNoder(e);n.computeNodes(t);for(var l=n.getNodedSubstrings().iterator();l.hasNext();){var i=l.next(),r=i.getCoordinates();if(2!==r.length||!r[0].equals2D(r[1])){var o=i.getData(),a=new kd(i.getCoordinates(),new ic(o));this.insertUniqueEdge(a)}}},Md.prototype.setNoder=function(t){this._workingNoder=t},Md.prototype.interfaces_=function(){return[]},Md.prototype.getClass=function(){return Md},Md.depthDelta=function(t){var e=t.getLocation(0,Ju.LEFT),n=t.getLocation(0,Ju.RIGHT);return e===Za.INTERIOR&&n===Za.EXTERIOR?1:e===Za.EXTERIOR&&n===Za.INTERIOR?-1:0},Md.convertSegStrings=function(t){for(var e=new Gu,n=new Xs;t.hasNext();){var l=t.next(),i=e.createLineString(l.getCoordinates());n.add(i)}return e.buildGeometry(n)};var Od=function(){if(this._noder=null,this._scaleFactor=null,this._offsetX=null,this._offsetY=null,this._isScaled=!1,2===arguments.length){var t=arguments[0],e=arguments[1];this._noder=t,this._scaleFactor=e,this._offsetX=0,this._offsetY=0,this._isScaled=!this.isIntegerPrecision()}else if(4===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=arguments[3];this._noder=n,this._scaleFactor=l,this._offsetX=i,this._offsetY=r,this._isScaled=!this.isIntegerPrecision()}};Od.prototype.rescale=function(){if(es(arguments[0],Vs))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.rescale(e.getCoordinates())}else if(arguments[0]instanceof Array){for(var n=arguments[0],l=0;l<n.length;l++)n[l].x=n[l].x/this._scaleFactor+this._offsetX,n[l].y=n[l].y/this._scaleFactor+this._offsetY;2===n.length&&n[0].equals2D(n[1])&&bs.out.println(n)}},Od.prototype.scale=function(){if(es(arguments[0],Vs)){for(var t=arguments[0],e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();e.add(new Yc(this.scale(l.getCoordinates()),l.getData()))}return e}if(arguments[0]instanceof Array){for(var i=arguments[0],r=new Array(i.length).fill(null),o=0;o<i.length;o++)r[o]=new Xa(Math.round((i[o].x-this._offsetX)*this._scaleFactor),Math.round((i[o].y-this._offsetY)*this._scaleFactor),i[o].z);return Qs.removeRepeatedPoints(r)}},Od.prototype.isIntegerPrecision=function(){return 1===this._scaleFactor},Od.prototype.getNodedSubstrings=function(){var t=this._noder.getNodedSubstrings();return this._isScaled&&this.rescale(t),t},Od.prototype.computeNodes=function(t){var e=t;this._isScaled&&(e=this.scale(t)),this._noder.computeNodes(e)},Od.prototype.interfaces_=function(){return[Vc]},Od.prototype.getClass=function(){return Od};var Dd=function(){this._li=new Os,this._segStrings=null;var t=arguments[0];this._segStrings=t},Td={fact:{configurable:!0}};Dd.prototype.checkEndPtVertexIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next().getCoordinates();this.checkEndPtVertexIntersections(e[0],this._segStrings),this.checkEndPtVertexIntersections(e[e.length-1],this._segStrings)}else if(2===arguments.length)for(var n=arguments[0],l=arguments[1].iterator();l.hasNext();)for(var i=l.next().getCoordinates(),r=1;r<i.length-1;r++)if(i[r].equals(n))throw new Ps("found endpt/interior pt intersection at index "+r+" :pt "+n)},Dd.prototype.checkInteriorIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();)for(var e=t.next(),n=this._segStrings.iterator();n.hasNext();){var l=n.next();this.checkInteriorIntersections(e,l)}else if(2===arguments.length)for(var i=arguments[0],r=arguments[1],o=i.getCoordinates(),a=r.getCoordinates(),s=0;s<o.length-1;s++)for(var u=0;u<a.length-1;u++)this.checkInteriorIntersections(i,s,r,u);else if(4===arguments.length){var c=arguments[0],d=arguments[1],h=arguments[2],p=arguments[3];if(c===h&&d===p)return null;var f=c.getCoordinates()[d],b=c.getCoordinates()[d+1],m=h.getCoordinates()[p],g=h.getCoordinates()[p+1];if(this._li.computeIntersection(f,b,m,g),this._li.hasIntersection()&&(this._li.isProper()||this.hasInteriorIntersection(this._li,f,b)||this.hasInteriorIntersection(this._li,m,g)))throw new Ps("found non-noded intersection at "+f+"-"+b+" and "+m+"-"+g)}},Dd.prototype.checkValid=function(){this.checkEndPtVertexIntersections(),this.checkInteriorIntersections(),this.checkCollapses()},Dd.prototype.checkCollapses=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next();this.checkCollapses(e)}else if(1===arguments.length)for(var n=arguments[0].getCoordinates(),l=0;l<n.length-2;l++)this.checkCollapse(n[l],n[l+1],n[l+2])},Dd.prototype.hasInteriorIntersection=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++){var i=t.getIntersection(l);if(!i.equals(e)&&!i.equals(n))return!0}return!1},Dd.prototype.checkCollapse=function(t,e,n){if(t.equals(n))throw new Ps("found non-noded collapse at "+Dd.fact.createLineString([t,e,n]))},Dd.prototype.interfaces_=function(){return[]},Dd.prototype.getClass=function(){return Dd},Td.fact.get=function(){return new Gu},Object.defineProperties(Dd,Td);var Ed=function(){this._li=null,this._pt=null,this._originalPt=null,this._ptScaled=null,this._p0Scaled=null,this._p1Scaled=null,this._scaleFactor=null,this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,this._corner=new Array(4).fill(null),this._safeEnv=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(this._originalPt=t,this._pt=t,this._scaleFactor=e,this._li=n,e<=0)throw new Ga("Scale factor must be non-zero");1!==e&&(this._pt=new Xa(this.scale(t.x),this.scale(t.y)),this._p0Scaled=new Xa,this._p1Scaled=new Xa),this.initCorners(this._pt)},Id={SAFE_ENV_EXPANSION_FACTOR:{configurable:!0}};Ed.prototype.intersectsScaled=function(t,e){var n=Math.min(t.x,e.x),l=Math.max(t.x,e.x),i=Math.min(t.y,e.y),r=Math.max(t.y,e.y),o=this._maxx<n||this._minx>l||this._maxy<i||this._miny>r;if(o)return!1;var a=this.intersectsToleranceSquare(t,e);return Ss.isTrue(!(o&&a),"Found bad envelope test"),a},Ed.prototype.initCorners=function(t){this._minx=t.x-.5,this._maxx=t.x+.5,this._miny=t.y-.5,this._maxy=t.y+.5,this._corner[0]=new Xa(this._maxx,this._maxy),this._corner[1]=new Xa(this._minx,this._maxy),this._corner[2]=new Xa(this._minx,this._miny),this._corner[3]=new Xa(this._maxx,this._miny)},Ed.prototype.intersects=function(t,e){return 1===this._scaleFactor?this.intersectsScaled(t,e):(this.copyScaled(t,this._p0Scaled),this.copyScaled(e,this._p1Scaled),this.intersectsScaled(this._p0Scaled,this._p1Scaled))},Ed.prototype.scale=function(t){return Math.round(t*this._scaleFactor)},Ed.prototype.getCoordinate=function(){return this._originalPt},Ed.prototype.copyScaled=function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)},Ed.prototype.getSafeEnvelope=function(){if(null===this._safeEnv){var t=Ed.SAFE_ENV_EXPANSION_FACTOR/this._scaleFactor;this._safeEnv=new gs(this._originalPt.x-t,this._originalPt.x+t,this._originalPt.y-t,this._originalPt.y+t)}return this._safeEnv},Ed.prototype.intersectsPixelClosure=function(t,e){return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.hasIntersection()))))},Ed.prototype.intersectsToleranceSquare=function(t,e){var n=!1,l=!1;return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.isProper()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.isProper()||(this._li.hasIntersection()&&(n=!0),this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.isProper()||(this._li.hasIntersection()&&(l=!0),this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.isProper()||n&&l||t.equals(this._pt)||e.equals(this._pt)))))},Ed.prototype.addSnappedNode=function(t,e){var n=t.getCoordinate(e),l=t.getCoordinate(e+1);return!!this.intersects(n,l)&&(t.addIntersection(this.getCoordinate(),e),!0)},Ed.prototype.interfaces_=function(){return[]},Ed.prototype.getClass=function(){return Ed},Id.SAFE_ENV_EXPANSION_FACTOR.get=function(){return.75},Object.defineProperties(Ed,Id);var Ld=function(){this.tempEnv1=new gs,this.selectedSegment=new Uc};Ld.prototype.select=function(){if(1===arguments.length);else if(2===arguments.length){var t=arguments[0],e=arguments[1];t.getLineSegment(e,this.selectedSegment),this.select(this.selectedSegment)}},Ld.prototype.interfaces_=function(){return[]},Ld.prototype.getClass=function(){return Ld};var jd=function(){this._index=null;var t=arguments[0];this._index=t},Rd={HotPixelSnapAction:{configurable:!0}};jd.prototype.snap=function(){if(1===arguments.length){var t=arguments[0];return this.snap(t,null,-1)}if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2],i=e.getSafeEnvelope(),r=new Fd(e,n,l);return this._index.query(i,{interfaces_:function(){return[vc]},visitItem:function(t){t.select(i,r)}}),r.isNodeAdded()}},jd.prototype.interfaces_=function(){return[]},jd.prototype.getClass=function(){return jd},Rd.HotPixelSnapAction.get=function(){return Fd},Object.defineProperties(jd,Rd);var Fd=function(t){function e(){t.call(this),this._hotPixel=null,this._parentEdge=null,this._hotPixelVertexIndex=null,this._isNodeAdded=!1;var e=arguments[0],n=arguments[1],l=arguments[2];this._hotPixel=e,this._parentEdge=n,this._hotPixelVertexIndex=l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isNodeAdded=function(){return this._isNodeAdded},e.prototype.select=function(){if(2!==arguments.length)return t.prototype.select.apply(this,arguments);var e=arguments[0],n=arguments[1],l=e.getContext();if(null!==this._parentEdge&&l===this._parentEdge&&n===this._hotPixelVertexIndex)return null;this._isNodeAdded=this._hotPixel.addSnappedNode(l,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Ld),Nd=function(){this._li=null,this._interiorIntersections=null;var t=arguments[0];this._li=t,this._interiorIntersections=new Xs};Nd.prototype.processIntersections=function(t,e,n,l){if(t===n&&e===l)return null;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];if(this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&this._li.isInteriorIntersection()){for(var s=0;s<this._li.getIntersectionNum();s++)this._interiorIntersections.add(this._li.getIntersection(s));t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1)}},Nd.prototype.isDone=function(){return!1},Nd.prototype.getInteriorIntersections=function(){return this._interiorIntersections},Nd.prototype.interfaces_=function(){return[yd]},Nd.prototype.getClass=function(){return Nd};var Yd=function(){this._pm=null,this._li=null,this._scaleFactor=null,this._noder=null,this._pointSnapper=null,this._nodedSegStrings=null;var t=arguments[0];this._pm=t,this._li=new Os,this._li.setPrecisionModel(t),this._scaleFactor=t.getScale()};Yd.prototype.checkCorrectness=function(t){var e=Yc.getNodedSubstrings(t),n=new Dd(e);try{n.checkValid()}catch(t){if(!(t instanceof ps))throw t;t.printStackTrace()}},Yd.prototype.getNodedSubstrings=function(){return Yc.getNodedSubstrings(this._nodedSegStrings)},Yd.prototype.snapRound=function(t,e){var n=this.findInteriorIntersections(t,e);this.computeIntersectionSnaps(n),this.computeVertexSnaps(t)},Yd.prototype.findInteriorIntersections=function(t,e){var n=new Nd(e);return this._noder.setSegmentIntersector(n),this._noder.computeNodes(t),n.getInteriorIntersections()},Yd.prototype.computeVertexSnaps=function(){if(es(arguments[0],Vs))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.computeVertexSnaps(e)}else if(arguments[0]instanceof Yc)for(var n=arguments[0],l=n.getCoordinates(),i=0;i<l.length;i++){var r=new Ed(l[i],this._scaleFactor,this._li);this._pointSnapper.snap(r,n,i)&&n.addIntersection(l[i],i)}},Yd.prototype.computeNodes=function(t){this._nodedSegStrings=t,this._noder=new Wc,this._pointSnapper=new jd(this._noder.getIndex()),this.snapRound(t,this._li)},Yd.prototype.computeIntersectionSnaps=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),l=new Ed(n,this._scaleFactor,this._li);this._pointSnapper.snap(l)}},Yd.prototype.interfaces_=function(){return[Vc]},Yd.prototype.getClass=function(){return Yd};var Ud=function(){if(this._argGeom=null,this._distance=null,this._bufParams=new Xc,this._resultGeometry=null,this._saveException=null,1===arguments.length){var t=arguments[0];this._argGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this._argGeom=e,this._bufParams=n}},Bd={CAP_ROUND:{configurable:!0},CAP_BUTT:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},MAX_PRECISION_DIGITS:{configurable:!0}};Ud.prototype.bufferFixedPrecision=function(t){var e=new Od(new Yd(new Yu(1)),t.getScale()),n=new Md(this._bufParams);n.setWorkingPrecisionModel(t),n.setNoder(e),this._resultGeometry=n.buffer(this._argGeom,this._distance)},Ud.prototype.bufferReducedPrecision=function(){var t=this;if(0===arguments.length){for(var e=Ud.MAX_PRECISION_DIGITS;e>=0;e--){try{t.bufferReducedPrecision(e)}catch(e){if(!(e instanceof tc))throw e;t._saveException=e}if(null!==t._resultGeometry)return null}throw this._saveException}if(1===arguments.length){var n=arguments[0],l=Ud.precisionScaleFactor(this._argGeom,this._distance,n),i=new Yu(l);this.bufferFixedPrecision(i)}},Ud.prototype.computeGeometry=function(){if(this.bufferOriginalPrecision(),null!==this._resultGeometry)return null;var t=this._argGeom.getFactory().getPrecisionModel();t.getType()===Yu.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()},Ud.prototype.setQuadrantSegments=function(t){this._bufParams.setQuadrantSegments(t)},Ud.prototype.bufferOriginalPrecision=function(){try{var t=new Md(this._bufParams);this._resultGeometry=t.buffer(this._argGeom,this._distance)}catch(t){if(!(t instanceof Ps))throw t;this._saveException=t}},Ud.prototype.getResultGeometry=function(t){return this._distance=t,this.computeGeometry(),this._resultGeometry},Ud.prototype.setEndCapStyle=function(t){this._bufParams.setEndCapStyle(t)},Ud.prototype.interfaces_=function(){return[]},Ud.prototype.getClass=function(){return Ud},Ud.bufferOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new Ud(t).getResultGeometry(e)}if(3===arguments.length){if(Number.isInteger(arguments[2])&&arguments[0]instanceof js&&"number"==typeof arguments[1]){var n=arguments[0],l=arguments[1],i=arguments[2],r=new Ud(n);return r.setQuadrantSegments(i),r.getResultGeometry(l)}if(arguments[2]instanceof Xc&&arguments[0]instanceof js&&"number"==typeof arguments[1]){var o=arguments[0],a=arguments[1],s=arguments[2];return new Ud(o,s).getResultGeometry(a)}}else if(4===arguments.length){var u=arguments[0],c=arguments[1],d=arguments[2],h=arguments[3],p=new Ud(u);return p.setQuadrantSegments(d),p.setEndCapStyle(h),p.getResultGeometry(c)}},Ud.precisionScaleFactor=function(t,e,n){var l=t.getEnvelopeInternal(),i=ns.max(Math.abs(l.getMaxX()),Math.abs(l.getMaxY()),Math.abs(l.getMinX()),Math.abs(l.getMinY()))+2*(e>0?e:0),r=n-Math.trunc(Math.log(i)/Math.log(10)+1);return Math.pow(10,r)},Bd.CAP_ROUND.get=function(){return Xc.CAP_ROUND},Bd.CAP_BUTT.get=function(){return Xc.CAP_FLAT},Bd.CAP_FLAT.get=function(){return Xc.CAP_FLAT},Bd.CAP_SQUARE.get=function(){return Xc.CAP_SQUARE},Bd.MAX_PRECISION_DIGITS.get=function(){return 12},Object.defineProperties(Ud,Bd);var zd=function(){this._pt=[new Xa,new Xa],this._distance=Ha.NaN,this._isNull=!0};zd.prototype.getCoordinates=function(){return this._pt},zd.prototype.getCoordinate=function(t){return this._pt[t]},zd.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l<this._distance&&this.initialize(e,n,l)}},zd.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(l),this._distance=i,this._isNull=!1}},zd.prototype.getDistance=function(){return this._distance},zd.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l>this._distance&&this.initialize(e,n,l)}},zd.prototype.interfaces_=function(){return[]},zd.prototype.getClass=function(){return zd};var Gd=function(){};Gd.prototype.interfaces_=function(){return[]},Gd.prototype.getClass=function(){return Gd},Gd.computeDistance=function(){if(arguments[2]instanceof zd&&arguments[0]instanceof vu&&arguments[1]instanceof Xa)for(var t=arguments[0],e=arguments[1],n=arguments[2],l=t.getCoordinates(),i=new Uc,r=0;r<l.length-1;r++){i.setCoordinates(l[r],l[r+1]);var o=i.closestPoint(e);n.setMinimum(o,e)}else if(arguments[2]instanceof zd&&arguments[0]instanceof xu&&arguments[1]instanceof Xa){var a=arguments[0],s=arguments[1],u=arguments[2];Gd.computeDistance(a.getExteriorRing(),s,u);for(var c=0;c<a.getNumInteriorRing();c++)Gd.computeDistance(a.getInteriorRingN(c),s,u)}else if(arguments[2]instanceof zd&&arguments[0]instanceof js&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1],p=arguments[2];if(d instanceof vu)Gd.computeDistance(d,h,p);else if(d instanceof xu)Gd.computeDistance(d,h,p);else if(d instanceof fu)for(var f=d,b=0;b<f.getNumGeometries();b++){var m=f.getGeometryN(b);Gd.computeDistance(m,h,p)}else p.setMinimum(d.getCoordinate(),h)}else if(arguments[2]instanceof zd&&arguments[0]instanceof Uc&&arguments[1]instanceof Xa){var g=arguments[0],_=arguments[1],y=arguments[2],A=g.closestPoint(_);y.setMinimum(A,_)}};var Hd=function(t){this._maxPtDist=new zd,this._inputGeom=t||null},Vd={MaxPointDistanceFilter:{configurable:!0},MaxMidpointDistanceFilter:{configurable:!0}};Hd.prototype.computeMaxMidpointDistance=function(t){var e=new Wd(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},Hd.prototype.computeMaxVertexDistance=function(t){var e=new qd(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},Hd.prototype.findDistance=function(t){return this.computeMaxVertexDistance(t),this.computeMaxMidpointDistance(t),this._maxPtDist.getDistance()},Hd.prototype.getDistancePoints=function(){return this._maxPtDist},Hd.prototype.interfaces_=function(){return[]},Hd.prototype.getClass=function(){return Hd},Vd.MaxPointDistanceFilter.get=function(){return qd},Vd.MaxMidpointDistanceFilter.get=function(){return Wd},Object.defineProperties(Hd,Vd);var qd=function(t){this._maxPtDist=new zd,this._minPtDist=new zd,this._geom=t||null};qd.prototype.filter=function(t){this._minPtDist.initialize(),Gd.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},qd.prototype.getMaxPointDistance=function(){return this._maxPtDist},qd.prototype.interfaces_=function(){return[Ns]},qd.prototype.getClass=function(){return qd};var Wd=function(t){this._maxPtDist=new zd,this._minPtDist=new zd,this._geom=t||null};Wd.prototype.filter=function(t,e){if(0===e)return null;var n=t.getCoordinate(e-1),l=t.getCoordinate(e),i=new Xa((n.x+l.x)/2,(n.y+l.y)/2);this._minPtDist.initialize(),Gd.computeDistance(this._geom,i,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},Wd.prototype.isDone=function(){return!1},Wd.prototype.isGeometryChanged=function(){return!1},Wd.prototype.getMaxPointDistance=function(){return this._maxPtDist},Wd.prototype.interfaces_=function(){return[pu]},Wd.prototype.getClass=function(){return Wd};var $d=function(t){this._comps=t||null};$d.prototype.filter=function(t){t instanceof xu&&this._comps.add(t)},$d.prototype.interfaces_=function(){return[hu]},$d.prototype.getClass=function(){return $d},$d.getPolygons=function(){if(1===arguments.length){var t=arguments[0];return $d.getPolygons(t,new Xs)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof xu?n.add(e):e instanceof fu&&e.apply(new $d(n)),n}};var Xd=function(){if(this._lines=null,this._isForcedToLineString=!1,1===arguments.length){var t=arguments[0];this._lines=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this._lines=e,this._isForcedToLineString=n}};Xd.prototype.filter=function(t){if(this._isForcedToLineString&&t instanceof ku){var e=t.getFactory().createLineString(t.getCoordinateSequence());return this._lines.add(e),null}t instanceof vu&&this._lines.add(t)},Xd.prototype.setForceToLineString=function(t){this._isForcedToLineString=t},Xd.prototype.interfaces_=function(){return[Ls]},Xd.prototype.getClass=function(){return Xd},Xd.getGeometry=function(){if(1===arguments.length){var t=arguments[0];return t.getFactory().buildGeometry(Xd.getLines(t))}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e.getFactory().buildGeometry(Xd.getLines(e,n))}},Xd.getLines=function(){if(1===arguments.length){var t=arguments[0];return Xd.getLines(t,!1)}if(2===arguments.length){if(es(arguments[0],Vs)&&es(arguments[1],Vs)){for(var e=arguments[0],n=arguments[1],l=e.iterator();l.hasNext();){var i=l.next();Xd.getLines(i,n)}return n}if(arguments[0]instanceof js&&"boolean"==typeof arguments[1]){var r=arguments[0],o=arguments[1],a=new Xs;return r.apply(new Xd(a,o)),a}if(arguments[0]instanceof js&&es(arguments[1],Vs)){var s=arguments[0],u=arguments[1];return s instanceof vu?u.add(s):s.apply(new Xd(u)),u}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&es(arguments[0],Vs)&&es(arguments[1],Vs)){for(var c=arguments[0],d=arguments[1],h=arguments[2],p=c.iterator();p.hasNext();){var f=p.next();Xd.getLines(f,d,h)}return d}if("boolean"==typeof arguments[2]&&arguments[0]instanceof js&&es(arguments[1],Vs)){var b=arguments[0],m=arguments[1],g=arguments[2];return b.apply(new Xd(m,g)),m}}};var Kd=function(){if(this._boundaryRule=Ys.OGC_SFS_BOUNDARY_RULE,this._isIn=null,this._numBoundaries=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];if(null===t)throw new Ga("Rule must be non-null");this._boundaryRule=t}};Kd.prototype.locateInternal=function(){if(arguments[0]instanceof Xa&&arguments[1]instanceof xu){var t=arguments[0],e=arguments[1];if(e.isEmpty())return Za.EXTERIOR;var n=e.getExteriorRing(),l=this.locateInPolygonRing(t,n);if(l===Za.EXTERIOR)return Za.EXTERIOR;if(l===Za.BOUNDARY)return Za.BOUNDARY;for(var i=0;i<e.getNumInteriorRing();i++){var r=e.getInteriorRingN(i),o=this.locateInPolygonRing(t,r);if(o===Za.INTERIOR)return Za.EXTERIOR;if(o===Za.BOUNDARY)return Za.BOUNDARY}return Za.INTERIOR}if(arguments[0]instanceof Xa&&arguments[1]instanceof vu){var a=arguments[0],s=arguments[1];if(!s.getEnvelopeInternal().intersects(a))return Za.EXTERIOR;var u=s.getCoordinates();return s.isClosed()||!a.equals(u[0])&&!a.equals(u[u.length-1])?Es.isOnLine(a,u)?Za.INTERIOR:Za.EXTERIOR:Za.BOUNDARY}if(arguments[0]instanceof Xa&&arguments[1]instanceof wu){var c=arguments[0];return arguments[1].getCoordinate().equals2D(c)?Za.INTERIOR:Za.EXTERIOR}},Kd.prototype.locateInPolygonRing=function(t,e){return e.getEnvelopeInternal().intersects(t)?Es.locatePointInRing(t,e.getCoordinates()):Za.EXTERIOR},Kd.prototype.intersects=function(t,e){return this.locate(t,e)!==Za.EXTERIOR},Kd.prototype.updateLocationInfo=function(t){t===Za.INTERIOR&&(this._isIn=!0),t===Za.BOUNDARY&&this._numBoundaries++},Kd.prototype.computeLocation=function(t,e){if(e instanceof wu&&this.updateLocationInfo(this.locateInternal(t,e)),e instanceof vu)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof xu)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof bu)for(var n=e,l=0;l<n.getNumGeometries();l++){var i=n.getGeometryN(l);this.updateLocationInfo(this.locateInternal(t,i))}else if(e instanceof Mu)for(var r=e,o=0;o<r.getNumGeometries();o++){var a=r.getGeometryN(o);this.updateLocationInfo(this.locateInternal(t,a))}else if(e instanceof fu)for(var s=new hd(e);s.hasNext();){var u=s.next();u!==e&&this.computeLocation(t,u)}},Kd.prototype.locate=function(t,e){return e.isEmpty()?Za.EXTERIOR:e instanceof vu||e instanceof xu?this.locateInternal(t,e):(this._isIn=!1,this._numBoundaries=0,this.computeLocation(t,e),this._boundaryRule.isInBoundary(this._numBoundaries)?Za.BOUNDARY:this._numBoundaries>0||this._isIn?Za.INTERIOR:Za.EXTERIOR)},Kd.prototype.interfaces_=function(){return[]},Kd.prototype.getClass=function(){return Kd};var Jd=function t(){if(this._component=null,this._segIndex=null,this._pt=null,2===arguments.length){var e=arguments[0],n=arguments[1];t.call(this,e,t.INSIDE_AREA,n)}else if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._component=l,this._segIndex=i,this._pt=r}},Qd={INSIDE_AREA:{configurable:!0}};Jd.prototype.isInsideArea=function(){return this._segIndex===Jd.INSIDE_AREA},Jd.prototype.getCoordinate=function(){return this._pt},Jd.prototype.getGeometryComponent=function(){return this._component},Jd.prototype.getSegmentIndex=function(){return this._segIndex},Jd.prototype.interfaces_=function(){return[]},Jd.prototype.getClass=function(){return Jd},Qd.INSIDE_AREA.get=function(){return-1},Object.defineProperties(Jd,Qd);var Zd=function(t){this._pts=t||null};Zd.prototype.filter=function(t){t instanceof wu&&this._pts.add(t)},Zd.prototype.interfaces_=function(){return[hu]},Zd.prototype.getClass=function(){return Zd},Zd.getPoints=function(){if(1===arguments.length){var t=arguments[0];return t instanceof wu?xc.singletonList(t):Zd.getPoints(t,new Xs)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof wu?n.add(e):e instanceof fu&&e.apply(new Zd(n)),n}};var th=function(){this._locations=null;var t=arguments[0];this._locations=t};th.prototype.filter=function(t){(t instanceof wu||t instanceof vu||t instanceof xu)&&this._locations.add(new Jd(t,0,t.getCoordinate()))},th.prototype.interfaces_=function(){return[hu]},th.prototype.getClass=function(){return th},th.getLocations=function(t){var e=new Xs;return t.apply(new th(e)),e};var eh=function(){if(this._geom=null,this._terminateDistance=0,this._ptLocator=new Kd,this._minDistanceLocation=null,this._minDistance=Ha.MAX_VALUE,2===arguments.length){var t=arguments[0],e=arguments[1];this._geom=[t,e],this._terminateDistance=0}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._geom=new Array(2).fill(null),this._geom[0]=n,this._geom[1]=l,this._terminateDistance=i}};eh.prototype.computeContainmentDistance=function(){if(0===arguments.length){var t=new Array(2).fill(null);if(this.computeContainmentDistance(0,t),this._minDistance<=this._terminateDistance)return null;this.computeContainmentDistance(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=1-e,i=$d.getPolygons(this._geom[e]);if(i.size()>0){var r=th.getLocations(this._geom[l]);if(this.computeContainmentDistance(r,i,n),this._minDistance<=this._terminateDistance)return this._minDistanceLocation[l]=n[0],this._minDistanceLocation[e]=n[1],null}}else if(3===arguments.length)if(arguments[2]instanceof Array&&es(arguments[0],$s)&&es(arguments[1],$s)){for(var o=arguments[0],a=arguments[1],s=arguments[2],u=0;u<o.size();u++)for(var c=o.get(u),d=0;d<a.size();d++)if(this.computeContainmentDistance(c,a.get(d),s),this._minDistance<=this._terminateDistance)return null}else if(arguments[2]instanceof Array&&arguments[0]instanceof Jd&&arguments[1]instanceof xu){var h=arguments[0],p=arguments[1],f=arguments[2],b=h.getCoordinate();if(Za.EXTERIOR!==this._ptLocator.locate(b,p))return this._minDistance=0,f[0]=h,f[1]=new Jd(p,b),null}},eh.prototype.computeMinDistanceLinesPoints=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r);if(this.computeMinDistance(i,o,n),this._minDistance<=this._terminateDistance)return null}},eh.prototype.computeFacetDistance=function(){var t=new Array(2).fill(null),e=Xd.getLines(this._geom[0]),n=Xd.getLines(this._geom[1]),l=Zd.getPoints(this._geom[0]),i=Zd.getPoints(this._geom[1]);return this.computeMinDistanceLines(e,n,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(e,i,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(n,l,t),this.updateMinDistance(t,!0),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistancePoints(l,i,t),void this.updateMinDistance(t,!1))))},eh.prototype.nearestLocations=function(){return this.computeMinDistance(),this._minDistanceLocation},eh.prototype.updateMinDistance=function(t,e){if(null===t[0])return null;e?(this._minDistanceLocation[0]=t[1],this._minDistanceLocation[1]=t[0]):(this._minDistanceLocation[0]=t[0],this._minDistanceLocation[1]=t[1])},eh.prototype.nearestPoints=function(){return this.computeMinDistance(),[this._minDistanceLocation[0].getCoordinate(),this._minDistanceLocation[1].getCoordinate()]},eh.prototype.computeMinDistance=function(){if(0===arguments.length){if(null!==this._minDistanceLocation)return null;if(this._minDistanceLocation=new Array(2).fill(null),this.computeContainmentDistance(),this._minDistance<=this._terminateDistance)return null;this.computeFacetDistance()}else if(3===arguments.length)if(arguments[2]instanceof Array&&arguments[0]instanceof vu&&arguments[1]instanceof wu){var t=arguments[0],e=arguments[1],n=arguments[2];if(t.getEnvelopeInternal().distance(e.getEnvelopeInternal())>this._minDistance)return null;for(var l=t.getCoordinates(),i=e.getCoordinate(),r=0;r<l.length-1;r++){var o=Es.distancePointLine(i,l[r],l[r+1]);if(o<this._minDistance){this._minDistance=o;var a=new Uc(l[r],l[r+1]).closestPoint(i);n[0]=new Jd(t,r,a),n[1]=new Jd(e,0,i)}if(this._minDistance<=this._terminateDistance)return null}}else if(arguments[2]instanceof Array&&arguments[0]instanceof vu&&arguments[1]instanceof vu){var s=arguments[0],u=arguments[1],c=arguments[2];if(s.getEnvelopeInternal().distance(u.getEnvelopeInternal())>this._minDistance)return null;for(var d=s.getCoordinates(),h=u.getCoordinates(),p=0;p<d.length-1;p++)for(var f=0;f<h.length-1;f++){var b=Es.distanceLineLine(d[p],d[p+1],h[f],h[f+1]);if(b<this._minDistance){this._minDistance=b;var m=new Uc(d[p],d[p+1]),g=new Uc(h[f],h[f+1]),_=m.closestPoints(g);c[0]=new Jd(s,p,_[0]),c[1]=new Jd(u,f,_[1])}if(this._minDistance<=this._terminateDistance)return null}}},eh.prototype.computeMinDistancePoints=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r),a=i.getCoordinate().distance(o.getCoordinate());if(a<this._minDistance&&(this._minDistance=a,n[0]=new Jd(i,0,i.getCoordinate()),n[1]=new Jd(o,0,o.getCoordinate())),this._minDistance<=this._terminateDistance)return null}},eh.prototype.distance=function(){if(null===this._geom[0]||null===this._geom[1])throw new Ga("null geometries are not supported");return this._geom[0].isEmpty()||this._geom[1].isEmpty()?0:(this.computeMinDistance(),this._minDistance)},eh.prototype.computeMinDistanceLines=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r);if(this.computeMinDistance(i,o,n),this._minDistance<=this._terminateDistance)return null}},eh.prototype.interfaces_=function(){return[]},eh.prototype.getClass=function(){return eh},eh.distance=function(t,e){return new eh(t,e).distance()},eh.isWithinDistance=function(t,e,n){return new eh(t,e,n).distance()<=n},eh.nearestPoints=function(t,e){return new eh(t,e).nearestPoints()};var nh=function(){this._pt=[new Xa,new Xa],this._distance=Ha.NaN,this._isNull=!0};nh.prototype.getCoordinates=function(){return this._pt},nh.prototype.getCoordinate=function(t){return this._pt[t]},nh.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l<this._distance&&this.initialize(e,n,l)}},nh.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(l),this._distance=i,this._isNull=!1}},nh.prototype.toString=function(){return ws.toLineString(this._pt[0],this._pt[1])},nh.prototype.getDistance=function(){return this._distance},nh.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l>this._distance&&this.initialize(e,n,l)}},nh.prototype.interfaces_=function(){return[]},nh.prototype.getClass=function(){return nh};var lh=function(){};lh.prototype.interfaces_=function(){return[]},lh.prototype.getClass=function(){return lh},lh.computeDistance=function(){if(arguments[2]instanceof nh&&arguments[0]instanceof vu&&arguments[1]instanceof Xa)for(var t=arguments[0],e=arguments[1],n=arguments[2],l=new Uc,i=t.getCoordinates(),r=0;r<i.length-1;r++){l.setCoordinates(i[r],i[r+1]);var o=l.closestPoint(e);n.setMinimum(o,e)}else if(arguments[2]instanceof nh&&arguments[0]instanceof xu&&arguments[1]instanceof Xa){var a=arguments[0],s=arguments[1],u=arguments[2];lh.computeDistance(a.getExteriorRing(),s,u);for(var c=0;c<a.getNumInteriorRing();c++)lh.computeDistance(a.getInteriorRingN(c),s,u)}else if(arguments[2]instanceof nh&&arguments[0]instanceof js&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1],p=arguments[2];if(d instanceof vu)lh.computeDistance(d,h,p);else if(d instanceof xu)lh.computeDistance(d,h,p);else if(d instanceof fu)for(var f=d,b=0;b<f.getNumGeometries();b++){var m=f.getGeometryN(b);lh.computeDistance(m,h,p)}else p.setMinimum(d.getCoordinate(),h)}else if(arguments[2]instanceof nh&&arguments[0]instanceof Uc&&arguments[1]instanceof Xa){var g=arguments[0],_=arguments[1],y=arguments[2],A=g.closestPoint(_);y.setMinimum(A,_)}};var ih=function(){this._g0=null,this._g1=null,this._ptDist=new nh,this._densifyFrac=0;var t=arguments[0],e=arguments[1];this._g0=t,this._g1=e},rh={MaxPointDistanceFilter:{configurable:!0},MaxDensifiedByFractionDistanceFilter:{configurable:!0}};ih.prototype.getCoordinates=function(){return this._ptDist.getCoordinates()},ih.prototype.setDensifyFraction=function(t){if(t>1||t<=0)throw new Ga("Fraction is not in range (0.0 - 1.0]");this._densifyFrac=t},ih.prototype.compute=function(t,e){this.computeOrientedDistance(t,e,this._ptDist),this.computeOrientedDistance(e,t,this._ptDist)},ih.prototype.distance=function(){return this.compute(this._g0,this._g1),this._ptDist.getDistance()},ih.prototype.computeOrientedDistance=function(t,e,n){var l=new oh(e);if(t.apply(l),n.setMaximum(l.getMaxPointDistance()),this._densifyFrac>0){var i=new ah(e,this._densifyFrac);t.apply(i),n.setMaximum(i.getMaxPointDistance())}},ih.prototype.orientedDistance=function(){return this.computeOrientedDistance(this._g0,this._g1,this._ptDist),this._ptDist.getDistance()},ih.prototype.interfaces_=function(){return[]},ih.prototype.getClass=function(){return ih},ih.distance=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new ih(t,e).distance()}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=new ih(n,l);return r.setDensifyFraction(i),r.distance()}},rh.MaxPointDistanceFilter.get=function(){return oh},rh.MaxDensifiedByFractionDistanceFilter.get=function(){return ah},Object.defineProperties(ih,rh);var oh=function(){this._maxPtDist=new nh,this._minPtDist=new nh,this._euclideanDist=new lh,this._geom=null;var t=arguments[0];this._geom=t};oh.prototype.filter=function(t){this._minPtDist.initialize(),lh.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},oh.prototype.getMaxPointDistance=function(){return this._maxPtDist},oh.prototype.interfaces_=function(){return[Ns]},oh.prototype.getClass=function(){return oh};var ah=function(){this._maxPtDist=new nh,this._minPtDist=new nh,this._geom=null,this._numSubSegs=0;var t=arguments[0],e=arguments[1];this._geom=t,this._numSubSegs=Math.trunc(Math.round(1/e))};ah.prototype.filter=function(t,e){if(0===e)return null;for(var n=t.getCoordinate(e-1),l=t.getCoordinate(e),i=(l.x-n.x)/this._numSubSegs,r=(l.y-n.y)/this._numSubSegs,o=0;o<this._numSubSegs;o++){var a=new Xa(n.x+o*i,n.y+o*r);this._minPtDist.initialize(),lh.computeDistance(this._geom,a,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)}},ah.prototype.isDone=function(){return!1},ah.prototype.isGeometryChanged=function(){return!1},ah.prototype.getMaxPointDistance=function(){return this._maxPtDist},ah.prototype.interfaces_=function(){return[pu]},ah.prototype.getClass=function(){return ah};var sh=function(t,e,n){this._minValidDistance=null,this._maxValidDistance=null,this._minDistanceFound=null,this._maxDistanceFound=null,this._isValid=!0,this._errMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._bufDistance=e||null,this._result=n||null},uh={VERBOSE:{configurable:!0},MAX_DISTANCE_DIFF_FRAC:{configurable:!0}};sh.prototype.checkMaximumDistance=function(t,e,n){var l=new ih(e,t);if(l.setDensifyFraction(.25),this._maxDistanceFound=l.orientedDistance(),this._maxDistanceFound>n){this._isValid=!1;var i=l.getCoordinates();this._errorLocation=i[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too large ("+this._maxDistanceFound+" at "+ws.toLineString(i[0],i[1])+")"}},sh.prototype.isValid=function(){var t=Math.abs(this._bufDistance),e=sh.MAX_DISTANCE_DIFF_FRAC*t;return this._minValidDistance=t-e,this._maxValidDistance=t+e,!(!this._input.isEmpty()&&!this._result.isEmpty())||(this._bufDistance>0?this.checkPositiveValid():this.checkNegativeValid(),sh.VERBOSE&&bs.out.println("Min Dist= "+this._minDistanceFound+" err= "+(1-this._minDistanceFound/this._bufDistance)+" Max Dist= "+this._maxDistanceFound+" err= "+(this._maxDistanceFound/this._bufDistance-1)),this._isValid)},sh.prototype.checkNegativeValid=function(){if(!(this._input instanceof xu||this._input instanceof Mu||this._input instanceof fu))return null;var t=this.getPolygonLines(this._input);if(this.checkMinimumDistance(t,this._result,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(t,this._result,this._maxValidDistance)},sh.prototype.getErrorIndicator=function(){return this._errorIndicator},sh.prototype.checkMinimumDistance=function(t,e,n){var l=new eh(t,e,n);if(this._minDistanceFound=l.distance(),this._minDistanceFound<n){this._isValid=!1;var i=l.nearestPoints();this._errorLocation=l.nearestPoints()[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too small ("+this._minDistanceFound+" at "+ws.toLineString(i[0],i[1])+" )"}},sh.prototype.checkPositiveValid=function(){var t=this._result.getBoundary();if(this.checkMinimumDistance(this._input,t,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(this._input,t,this._maxValidDistance)},sh.prototype.getErrorLocation=function(){return this._errorLocation},sh.prototype.getPolygonLines=function(t){for(var e=new Xs,n=new Xd(e),l=$d.getPolygons(t).iterator();l.hasNext();)l.next().apply(n);return t.getFactory().buildGeometry(e)},sh.prototype.getErrorMessage=function(){return this._errMsg},sh.prototype.interfaces_=function(){return[]},sh.prototype.getClass=function(){return sh},uh.VERBOSE.get=function(){return!1},uh.MAX_DISTANCE_DIFF_FRAC.get=function(){return.012},Object.defineProperties(sh,uh);var ch=function(t,e,n){this._isValid=!0,this._errorMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._distance=e||null,this._result=n||null},dh={VERBOSE:{configurable:!0},MAX_ENV_DIFF_FRAC:{configurable:!0}};ch.prototype.isValid=function(){return this.checkPolygonal(),this._isValid?(this.checkExpectedEmpty(),this._isValid?(this.checkEnvelope(),this._isValid?(this.checkArea(),this._isValid?(this.checkDistance(),this._isValid):this._isValid):this._isValid):this._isValid):this._isValid},ch.prototype.checkEnvelope=function(){if(this._distance<0)return null;var t=this._distance*ch.MAX_ENV_DIFF_FRAC;0===t&&(t=.001);var e=new gs(this._input.getEnvelopeInternal());e.expandBy(this._distance);var n=new gs(this._result.getEnvelopeInternal());n.expandBy(t),n.contains(e)||(this._isValid=!1,this._errorMsg="Buffer envelope is incorrect",this._errorIndicator=this._input.getFactory().toGeometry(n)),this.report("Envelope")},ch.prototype.checkDistance=function(){var t=new sh(this._input,this._distance,this._result);t.isValid()||(this._isValid=!1,this._errorMsg=t.getErrorMessage(),this._errorLocation=t.getErrorLocation(),this._errorIndicator=t.getErrorIndicator()),this.report("Distance")},ch.prototype.checkArea=function(){var t=this._input.getArea(),e=this._result.getArea();this._distance>0&&t>e&&(this._isValid=!1,this._errorMsg="Area of positive buffer is smaller than input",this._errorIndicator=this._result),this._distance<0&&t<e&&(this._isValid=!1,this._errorMsg="Area of negative buffer is larger than input",this._errorIndicator=this._result),this.report("Area")},ch.prototype.checkPolygonal=function(){this._result instanceof xu||this._result instanceof Mu||(this._isValid=!1),this._errorMsg="Result is not polygonal",this._errorIndicator=this._result,this.report("Polygonal")},ch.prototype.getErrorIndicator=function(){return this._errorIndicator},ch.prototype.getErrorLocation=function(){return this._errorLocation},ch.prototype.checkExpectedEmpty=function(){return this._input.getDimension()>=2||this._distance>0?null:(this._result.isEmpty()||(this._isValid=!1,this._errorMsg="Result is non-empty",this._errorIndicator=this._result),void this.report("ExpectedEmpty"))},ch.prototype.report=function(t){if(!ch.VERBOSE)return null;bs.out.println("Check "+t+": "+(this._isValid?"passed":"FAILED"))},ch.prototype.getErrorMessage=function(){return this._errorMsg},ch.prototype.interfaces_=function(){return[]},ch.prototype.getClass=function(){return ch},ch.isValidMsg=function(t,e,n){var l=new ch(t,e,n);return l.isValid()?null:l.getErrorMessage()},ch.isValid=function(t,e,n){return!!new ch(t,e,n).isValid()},dh.VERBOSE.get=function(){return!1},dh.MAX_ENV_DIFF_FRAC.get=function(){return.012},Object.defineProperties(ch,dh);var hh=function(){this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};hh.prototype.getCoordinates=function(){return this._pts},hh.prototype.size=function(){return this._pts.length},hh.prototype.getCoordinate=function(t){return this._pts[t]},hh.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},hh.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:Rc.octant(this.getCoordinate(t),this.getCoordinate(t+1))},hh.prototype.setData=function(t){this._data=t},hh.prototype.getData=function(){return this._data},hh.prototype.toString=function(){return ws.toLineString(new Lu(this._pts))},hh.prototype.interfaces_=function(){return[Fc]},hh.prototype.getClass=function(){return hh};var ph=function(){this._findAllIntersections=!1,this._isCheckEndSegmentsOnly=!1,this._li=null,this._interiorIntersection=null,this._intSegments=null,this._intersections=new Xs,this._intersectionCount=0,this._keepIntersections=!0;var t=arguments[0];this._li=t,this._interiorIntersection=null};ph.prototype.getInteriorIntersection=function(){return this._interiorIntersection},ph.prototype.setCheckEndSegmentsOnly=function(t){this._isCheckEndSegmentsOnly=t},ph.prototype.getIntersectionSegments=function(){return this._intSegments},ph.prototype.count=function(){return this._intersectionCount},ph.prototype.getIntersections=function(){return this._intersections},ph.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},ph.prototype.setKeepIntersections=function(t){this._keepIntersections=t},ph.prototype.processIntersections=function(t,e,n,l){if(!this._findAllIntersections&&this.hasIntersection())return null;if(t===n&&e===l)return null;if(this._isCheckEndSegmentsOnly&&!this.isEndSegment(t,e)&&!this.isEndSegment(n,l))return null;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&this._li.isInteriorIntersection()&&(this._intSegments=new Array(4).fill(null),this._intSegments[0]=i,this._intSegments[1]=r,this._intSegments[2]=o,this._intSegments[3]=a,this._interiorIntersection=this._li.getIntersection(0),this._keepIntersections&&this._intersections.add(this._interiorIntersection),this._intersectionCount++)},ph.prototype.isEndSegment=function(t,e){return 0===e||e>=t.size()-2},ph.prototype.hasIntersection=function(){return null!==this._interiorIntersection},ph.prototype.isDone=function(){return!this._findAllIntersections&&null!==this._interiorIntersection},ph.prototype.interfaces_=function(){return[yd]},ph.prototype.getClass=function(){return ph},ph.createAllIntersectionsFinder=function(t){var e=new ph(t);return e.setFindAllIntersections(!0),e},ph.createAnyIntersectionFinder=function(t){return new ph(t)},ph.createIntersectionCounter=function(t){var e=new ph(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e};var fh=function(){this._li=new Os,this._segStrings=null,this._findAllIntersections=!1,this._segInt=null,this._isValid=!0;var t=arguments[0];this._segStrings=t};fh.prototype.execute=function(){if(null!==this._segInt)return null;this.checkInteriorIntersections()},fh.prototype.getIntersections=function(){return this._segInt.getIntersections()},fh.prototype.isValid=function(){return this.execute(),this._isValid},fh.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},fh.prototype.checkInteriorIntersections=function(){this._isValid=!0,this._segInt=new ph(this._li),this._segInt.setFindAllIntersections(this._findAllIntersections);var t=new Wc;if(t.setSegmentIntersector(this._segInt),t.computeNodes(this._segStrings),this._segInt.hasIntersection())return this._isValid=!1,null},fh.prototype.checkValid=function(){if(this.execute(),!this._isValid)throw new tc(this.getErrorMessage(),this._segInt.getInteriorIntersection())},fh.prototype.getErrorMessage=function(){if(this._isValid)return"no intersections found";var t=this._segInt.getIntersectionSegments();return"found non-noded intersection between "+ws.toLineString(t[0],t[1])+" and "+ws.toLineString(t[2],t[3])},fh.prototype.interfaces_=function(){return[]},fh.prototype.getClass=function(){return fh},fh.computeIntersections=function(t){var e=new fh(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()};var bh=function t(){this._nv=null;var e=arguments[0];this._nv=new fh(t.toSegmentStrings(e))};bh.prototype.checkValid=function(){this._nv.checkValid()},bh.prototype.interfaces_=function(){return[]},bh.prototype.getClass=function(){return bh},bh.toSegmentStrings=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();e.add(new hh(l.getCoordinates(),l))}return e},bh.checkValid=function(t){new bh(t).checkValid()};var mh=function(t){this._mapOp=t};mh.prototype.map=function(t){for(var e=new Xs,n=0;n<t.getNumGeometries();n++){var l=this._mapOp.map(t.getGeometryN(n));l.isEmpty()||e.add(l)}return t.getFactory().createGeometryCollection(Gu.toGeometryArray(e))},mh.prototype.interfaces_=function(){return[]},mh.prototype.getClass=function(){return mh},mh.map=function(t,e){return new mh(e).map(t)};var gh=function(){this._op=null,this._geometryFactory=null,this._ptLocator=null,this._lineEdgesList=new Xs,this._resultLineList=new Xs;var t=arguments[0],e=arguments[1],n=arguments[2];this._op=t,this._geometryFactory=e,this._ptLocator=n};gh.prototype.collectLines=function(t){for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next();this.collectLineEdge(n,t,this._lineEdgesList),this.collectBoundaryTouchEdge(n,t,this._lineEdgesList)}},gh.prototype.labelIsolatedLine=function(t,e){var n=this._ptLocator.locate(t.getCoordinate(),this._op.getArgGeometry(e));t.getLabel().setLocation(e,n)},gh.prototype.build=function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this._resultLineList},gh.prototype.collectLineEdge=function(t,e,n){var l=t.getLabel(),i=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Jh.isResultOfOp(l,e)||i.isCovered()||(n.add(i),t.setVisitedEdge(!0)))},gh.prototype.findCoveredLineEdges=function(){for(var t=this._op.getGraph().getNodes().iterator();t.hasNext();)t.next().getEdges().findCoveredLineEdges();for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next(),l=n.getEdge();if(n.isLineEdge()&&!l.isCoveredSet()){var i=this._op.isCoveredByA(n.getCoordinate());l.setCovered(i)}}},gh.prototype.labelIsolatedLines=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),l=n.getLabel();n.isIsolated()&&(l.isNull(0)?this.labelIsolatedLine(n,0):this.labelIsolatedLine(n,1))}},gh.prototype.buildLines=function(t){for(var e=this._lineEdgesList.iterator();e.hasNext();){var n=e.next(),l=this._geometryFactory.createLineString(n.getCoordinates());this._resultLineList.add(l),n.setInResult(!0)}},gh.prototype.collectBoundaryTouchEdge=function(t,e,n){var l=t.getLabel();return t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult()?null:(Ss.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Jh.isResultOfOp(l,e)&&e===Jh.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))},gh.prototype.interfaces_=function(){return[]},gh.prototype.getClass=function(){return gh};var _h=function(){this._op=null,this._geometryFactory=null,this._resultPointList=new Xs;var t=arguments[0],e=arguments[1];this._op=t,this._geometryFactory=e};_h.prototype.filterCoveredNodeToPoint=function(t){var e=t.getCoordinate();if(!this._op.isCoveredByLA(e)){var n=this._geometryFactory.createPoint(e);this._resultPointList.add(n)}},_h.prototype.extractNonCoveredResultNodes=function(t){for(var e=this._op.getGraph().getNodes().iterator();e.hasNext();){var n=e.next();if(!(n.isInResult()||n.isIncidentEdgeInResult()||0!==n.getEdges().getDegree()&&t!==Jh.INTERSECTION)){var l=n.getLabel();Jh.isResultOfOp(l,t)&&this.filterCoveredNodeToPoint(n)}}},_h.prototype.build=function(t){return this.extractNonCoveredResultNodes(t),this._resultPointList},_h.prototype.interfaces_=function(){return[]},_h.prototype.getClass=function(){return _h};var yh=function(){this._inputGeom=null,this._factory=null,this._pruneEmptyGeometry=!0,this._preserveGeometryCollectionType=!0,this._preserveCollections=!1,this._preserveType=!1};yh.prototype.transformPoint=function(t,e){return this._factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))},yh.prototype.transformPolygon=function(t,e){var n=!0,l=this.transformLinearRing(t.getExteriorRing(),t);null!==l&&l instanceof ku&&!l.isEmpty()||(n=!1);for(var i=new Xs,r=0;r<t.getNumInteriorRing();r++){var o=this.transformLinearRing(t.getInteriorRingN(r),t);null===o||o.isEmpty()||(o instanceof ku||(n=!1),i.add(o))}if(n)return this._factory.createPolygon(l,i.toArray([]));var a=new Xs;return null!==l&&a.add(l),a.addAll(i),this._factory.buildGeometry(a)},yh.prototype.createCoordinateSequence=function(t){return this._factory.getCoordinateSequenceFactory().create(t)},yh.prototype.getInputGeometry=function(){return this._inputGeom},yh.prototype.transformMultiLineString=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformLineString(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.transformCoordinates=function(t,e){return this.copy(t)},yh.prototype.transformLineString=function(t,e){return this._factory.createLineString(this.transformCoordinates(t.getCoordinateSequence(),t))},yh.prototype.transformMultiPoint=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformPoint(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.transformMultiPolygon=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformPolygon(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.copy=function(t){return t.copy()},yh.prototype.transformGeometryCollection=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transform(t.getGeometryN(l));null!==i&&(this._pruneEmptyGeometry&&i.isEmpty()||n.add(i))}return this._preserveGeometryCollectionType?this._factory.createGeometryCollection(Gu.toGeometryArray(n)):this._factory.buildGeometry(n)},yh.prototype.transform=function(t){if(this._inputGeom=t,this._factory=t.getFactory(),t instanceof wu)return this.transformPoint(t,null);if(t instanceof Su)return this.transformMultiPoint(t,null);if(t instanceof ku)return this.transformLinearRing(t,null);if(t instanceof vu)return this.transformLineString(t,null);if(t instanceof bu)return this.transformMultiLineString(t,null);if(t instanceof xu)return this.transformPolygon(t,null);if(t instanceof Mu)return this.transformMultiPolygon(t,null);if(t instanceof fu)return this.transformGeometryCollection(t,null);throw new Ga("Unknown Geometry subtype: "+t.getClass().getName())},yh.prototype.transformLinearRing=function(t,e){var n=this.transformCoordinates(t.getCoordinateSequence(),t);if(null===n)return this._factory.createLinearRing(null);var l=n.size();return l>0&&l<4&&!this._preserveType?this._factory.createLineString(n):this._factory.createLinearRing(n)},yh.prototype.interfaces_=function(){return[]},yh.prototype.getClass=function(){return yh};var Ah=function t(){if(this._snapTolerance=0,this._srcPts=null,this._seg=new Uc,this._allowSnappingToSourceVertices=!1,this._isClosed=!1,arguments[0]instanceof vu&&"number"==typeof arguments[1]){var e=arguments[0],n=arguments[1];t.call(this,e.getCoordinates(),n)}else if(arguments[0]instanceof Array&&"number"==typeof arguments[1]){var l=arguments[0],i=arguments[1];this._srcPts=l,this._isClosed=t.isClosed(l),this._snapTolerance=i}};Ah.prototype.snapVertices=function(t,e){for(var n=this._isClosed?t.size()-1:t.size(),l=0;l<n;l++){var i=t.get(l),r=this.findSnapForVertex(i,e);null!==r&&(t.set(l,new Xa(r)),0===l&&this._isClosed&&t.set(t.size()-1,new Xa(r)))}},Ah.prototype.findSnapForVertex=function(t,e){for(var n=0;n<e.length;n++){if(t.equals2D(e[n]))return null;if(t.distance(e[n])<this._snapTolerance)return e[n]}return null},Ah.prototype.snapTo=function(t){var e=new Js(this._srcPts);return this.snapVertices(e,t),this.snapSegments(e,t),e.toCoordinateArray()},Ah.prototype.snapSegments=function(t,e){if(0===e.length)return null;var n=e.length;e[0].equals2D(e[e.length-1])&&(n=e.length-1);for(var l=0;l<n;l++){var i=e[l],r=this.findSegmentIndexToSnap(i,t);r>=0&&t.add(r+1,new Xa(i),!1)}},Ah.prototype.findSegmentIndexToSnap=function(t,e){for(var n=Ha.MAX_VALUE,l=-1,i=0;i<e.size()-1;i++){if(this._seg.p0=e.get(i),this._seg.p1=e.get(i+1),this._seg.p0.equals2D(t)||this._seg.p1.equals2D(t)){if(this._allowSnappingToSourceVertices)continue;return-1}var r=this._seg.distance(t);r<this._snapTolerance&&r<n&&(n=r,l=i)}return l},Ah.prototype.setAllowSnappingToSourceVertices=function(t){this._allowSnappingToSourceVertices=t},Ah.prototype.interfaces_=function(){return[]},Ah.prototype.getClass=function(){return Ah},Ah.isClosed=function(t){return!(t.length<=1)&&t[0].equals2D(t[t.length-1])};var vh=function(t){this._srcGeom=t||null},Ch={SNAP_PRECISION_FACTOR:{configurable:!0}};vh.prototype.snapTo=function(t,e){var n=this.extractTargetCoordinates(t);return new wh(e,n).transform(this._srcGeom)},vh.prototype.snapToSelf=function(t,e){var n=this.extractTargetCoordinates(this._srcGeom),l=new wh(t,n,!0).transform(this._srcGeom),i=l;return e&&es(i,Pu)&&(i=l.buffer(0)),i},vh.prototype.computeSnapTolerance=function(t){return this.computeMinimumSegmentLength(t)/10},vh.prototype.extractTargetCoordinates=function(t){for(var e=new ki,n=t.getCoordinates(),l=0;l<n.length;l++)e.add(n[l]);return e.toArray(new Array(0).fill(null))},vh.prototype.computeMinimumSegmentLength=function(t){for(var e=Ha.MAX_VALUE,n=0;n<t.length-1;n++){var l=t[n].distance(t[n+1]);l<e&&(e=l)}return e},vh.prototype.interfaces_=function(){return[]},vh.prototype.getClass=function(){return vh},vh.snap=function(t,e,n){var l=new Array(2).fill(null),i=new vh(t);l[0]=i.snapTo(e,n);var r=new vh(e);return l[1]=r.snapTo(l[0],n),l},vh.computeOverlaySnapTolerance=function(){if(1===arguments.length){var t=arguments[0],e=vh.computeSizeBasedSnapTolerance(t),n=t.getPrecisionModel();if(n.getType()===Yu.FIXED){var l=1/n.getScale()*2/1.415;l>e&&(e=l)}return e}if(2===arguments.length){var i=arguments[0],r=arguments[1];return Math.min(vh.computeOverlaySnapTolerance(i),vh.computeOverlaySnapTolerance(r))}},vh.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal();return Math.min(e.getHeight(),e.getWidth())*vh.SNAP_PRECISION_FACTOR},vh.snapToSelf=function(t,e,n){return new vh(t).snapToSelf(e,n)},Ch.SNAP_PRECISION_FACTOR.get=function(){return 1e-9},Object.defineProperties(vh,Ch);var wh=function(t){function e(e,n,l){t.call(this),this._snapTolerance=e||null,this._snapPts=n||null,this._isSelfSnap=void 0!==l&&l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.snapLine=function(t,e){var n=new Ah(t,this._snapTolerance);return n.setAllowSnappingToSourceVertices(this._isSelfSnap),n.snapTo(e)},e.prototype.transformCoordinates=function(t,e){var n=t.toCoordinateArray(),l=this.snapLine(n,this._snapPts);return this._factory.getCoordinateSequenceFactory().create(l)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(yh),Ph=function(){this._isFirst=!0,this._commonMantissaBitsCount=53,this._commonBits=0,this._commonSignExp=null};Ph.prototype.getCommon=function(){return Ha.longBitsToDouble(this._commonBits)},Ph.prototype.add=function(t){var e=Ha.doubleToLongBits(t);return this._isFirst?(this._commonBits=e,this._commonSignExp=Ph.signExpBits(this._commonBits),this._isFirst=!1,null):Ph.signExpBits(e)!==this._commonSignExp?(this._commonBits=0,null):(this._commonMantissaBitsCount=Ph.numCommonMostSigMantissaBits(this._commonBits,e),void(this._commonBits=Ph.zeroLowerBits(this._commonBits,64-(12+this._commonMantissaBitsCount))))},Ph.prototype.toString=function(){if(1===arguments.length){var t=arguments[0],e=Ha.longBitsToDouble(t),n="0000000000000000000000000000000000000000000000000000000000000000"+Ha.toBinaryString(t),l=n.substring(n.length-64);return l.substring(0,1)+" "+l.substring(1,12)+"(exp) "+l.substring(12)+" [ "+e+" ]"}},Ph.prototype.interfaces_=function(){return[]},Ph.prototype.getClass=function(){return Ph},Ph.getBit=function(t,e){return 0!=(t&1<<e)?1:0},Ph.signExpBits=function(t){return t>>52},Ph.zeroLowerBits=function(t,e){return t&~((1<<e)-1)},Ph.numCommonMostSigMantissaBits=function(t,e){for(var n=0,l=52;l>=0;l--){if(Ph.getBit(t,l)!==Ph.getBit(e,l))return n;n++}return 52};var xh=function(){this._commonCoord=null,this._ccFilter=new kh},Sh={CommonCoordinateFilter:{configurable:!0},Translater:{configurable:!0}};xh.prototype.addCommonBits=function(t){var e=new Mh(this._commonCoord);t.apply(e),t.geometryChanged()},xh.prototype.removeCommonBits=function(t){if(0===this._commonCoord.x&&0===this._commonCoord.y)return t;var e=new Xa(this._commonCoord);e.x=-e.x,e.y=-e.y;var n=new Mh(e);return t.apply(n),t.geometryChanged(),t},xh.prototype.getCommonCoordinate=function(){return this._commonCoord},xh.prototype.add=function(t){t.apply(this._ccFilter),this._commonCoord=this._ccFilter.getCommonCoordinate()},xh.prototype.interfaces_=function(){return[]},xh.prototype.getClass=function(){return xh},Sh.CommonCoordinateFilter.get=function(){return kh},Sh.Translater.get=function(){return Mh},Object.defineProperties(xh,Sh);var kh=function(){this._commonBitsX=new Ph,this._commonBitsY=new Ph};kh.prototype.filter=function(t){this._commonBitsX.add(t.x),this._commonBitsY.add(t.y)},kh.prototype.getCommonCoordinate=function(){return new Xa(this._commonBitsX.getCommon(),this._commonBitsY.getCommon())},kh.prototype.interfaces_=function(){return[Ns]},kh.prototype.getClass=function(){return kh};var Mh=function(){this.trans=null;var t=arguments[0];this.trans=t};Mh.prototype.filter=function(t,e){var n=t.getOrdinate(e,0)+this.trans.x,l=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,l)},Mh.prototype.isDone=function(){return!1},Mh.prototype.isGeometryChanged=function(){return!0},Mh.prototype.interfaces_=function(){return[pu]},Mh.prototype.getClass=function(){return Mh};var Oh=function(t,e){this._geom=new Array(2).fill(null),this._snapTolerance=null,this._cbr=null,this._geom[0]=t,this._geom[1]=e,this.computeSnapTolerance()};Oh.prototype.selfSnap=function(t){return new vh(t).snapTo(t,this._snapTolerance)},Oh.prototype.removeCommonBits=function(t){this._cbr=new xh,this._cbr.add(t[0]),this._cbr.add(t[1]);var e=new Array(2).fill(null);return e[0]=this._cbr.removeCommonBits(t[0].copy()),e[1]=this._cbr.removeCommonBits(t[1].copy()),e},Oh.prototype.prepareResult=function(t){return this._cbr.addCommonBits(t),t},Oh.prototype.getResultGeometry=function(t){var e=this.snap(this._geom),n=Jh.overlayOp(e[0],e[1],t);return this.prepareResult(n)},Oh.prototype.checkValid=function(t){t.isValid()||bs.out.println("Snapped geometry is invalid")},Oh.prototype.computeSnapTolerance=function(){this._snapTolerance=vh.computeOverlaySnapTolerance(this._geom[0],this._geom[1])},Oh.prototype.snap=function(t){var e=this.removeCommonBits(t);return vh.snap(e[0],e[1],this._snapTolerance)},Oh.prototype.interfaces_=function(){return[]},Oh.prototype.getClass=function(){return Oh},Oh.overlayOp=function(t,e,n){return new Oh(t,e).getResultGeometry(n)},Oh.union=function(t,e){return Oh.overlayOp(t,e,Jh.UNION)},Oh.intersection=function(t,e){return Oh.overlayOp(t,e,Jh.INTERSECTION)},Oh.symDifference=function(t,e){return Oh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Oh.difference=function(t,e){return Oh.overlayOp(t,e,Jh.DIFFERENCE)};var Dh=function(t,e){this._geom=new Array(2).fill(null),this._geom[0]=t,this._geom[1]=e};Dh.prototype.getResultGeometry=function(t){var e=null,n=!1,l=null;try{e=Jh.overlayOp(this._geom[0],this._geom[1],t),n=!0}catch(t){if(!(t instanceof Ps))throw t;l=t}if(!n)try{e=Oh.overlayOp(this._geom[0],this._geom[1],t)}catch(t){throw t instanceof Ps?l:t}return e},Dh.prototype.interfaces_=function(){return[]},Dh.prototype.getClass=function(){return Dh},Dh.overlayOp=function(t,e,n){return new Dh(t,e).getResultGeometry(n)},Dh.union=function(t,e){return Dh.overlayOp(t,e,Jh.UNION)},Dh.intersection=function(t,e){return Dh.overlayOp(t,e,Jh.INTERSECTION)},Dh.symDifference=function(t,e){return Dh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Dh.difference=function(t,e){return Dh.overlayOp(t,e,Jh.DIFFERENCE)};var Th=function(){this.mce=null,this.chainIndex=null;var t=arguments[0],e=arguments[1];this.mce=t,this.chainIndex=e};Th.prototype.computeIntersections=function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)},Th.prototype.interfaces_=function(){return[]},Th.prototype.getClass=function(){return Th};var Eh=function t(){if(this._label=null,this._xValue=null,this._eventType=null,this._insertEvent=null,this._deleteEventIndex=null,this._obj=null,2===arguments.length){var e=arguments[0],n=arguments[1];this._eventType=t.DELETE,this._xValue=e,this._insertEvent=n}else if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._eventType=t.INSERT,this._label=l,this._xValue=i,this._obj=r}},Ih={INSERT:{configurable:!0},DELETE:{configurable:!0}};Eh.prototype.isDelete=function(){return this._eventType===Eh.DELETE},Eh.prototype.setDeleteEventIndex=function(t){this._deleteEventIndex=t},Eh.prototype.getObject=function(){return this._obj},Eh.prototype.compareTo=function(t){return this._xValue<t._xValue?-1:this._xValue>t._xValue?1:this._eventType<t._eventType?-1:this._eventType>t._eventType?1:0},Eh.prototype.getInsertEvent=function(){return this._insertEvent},Eh.prototype.isInsert=function(){return this._eventType===Eh.INSERT},Eh.prototype.isSameLabel=function(t){return null!==this._label&&this._label===t._label},Eh.prototype.getDeleteEventIndex=function(){return this._deleteEventIndex},Eh.prototype.interfaces_=function(){return[qa]},Eh.prototype.getClass=function(){return Eh},Ih.INSERT.get=function(){return 1},Ih.DELETE.get=function(){return 2},Object.defineProperties(Eh,Ih);var Lh=function(){};Lh.prototype.interfaces_=function(){return[]},Lh.prototype.getClass=function(){return Lh};var jh=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._properIntersectionPoint=null,this._li=null,this._includeProper=null,this._recordIsolated=null,this._isSelfIntersection=null,this._numIntersections=0,this.numTests=0,this._bdyNodes=null,this._isDone=!1,this._isDoneWhenProperInt=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this._li=t,this._includeProper=e,this._recordIsolated=n};jh.prototype.isTrivialIntersection=function(t,e,n,l){if(t===n&&1===this._li.getIntersectionNum()){if(jh.isAdjacentSegments(e,l))return!0;if(t.isClosed()){var i=t.getNumPoints()-1;if(0===e&&l===i||0===l&&e===i)return!0}}return!1},jh.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},jh.prototype.setIsDoneIfProperInt=function(t){this._isDoneWhenProperInt=t},jh.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},jh.prototype.isBoundaryPointInternal=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next().getCoordinate();if(t.isIntersection(l))return!0}return!1},jh.prototype.hasProperIntersection=function(){return this._hasProper},jh.prototype.hasIntersection=function(){return this._hasIntersection},jh.prototype.isDone=function(){return this._isDone},jh.prototype.isBoundaryPoint=function(t,e){return!(null===e||!this.isBoundaryPointInternal(t,e[0])&&!this.isBoundaryPointInternal(t,e[1]))},jh.prototype.setBoundaryNodes=function(t,e){this._bdyNodes=new Array(2).fill(null),this._bdyNodes[0]=t,this._bdyNodes[1]=e},jh.prototype.addIntersections=function(t,e,n,l){if(t===n&&e===l)return null;this.numTests++;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&(this._recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this._numIntersections++,this.isTrivialIntersection(t,e,n,l)||(this._hasIntersection=!0,!this._includeProper&&this._li.isProper()||(t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1)),this._li.isProper()&&(this._properIntersectionPoint=this._li.getIntersection(0).copy(),this._hasProper=!0,this._isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this._li,this._bdyNodes)||(this._hasProperInterior=!0))))},jh.prototype.interfaces_=function(){return[]},jh.prototype.getClass=function(){return jh},jh.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var Rh=function(t){function e(){t.call(this),this.events=new Xs,this.nOverlaps=null}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.prepareEvents=function(){xc.sort(this.events);for(var t=0;t<this.events.size();t++){var e=this.events.get(t);e.isDelete()&&e.getInsertEvent().setDeleteEventIndex(t)}},e.prototype.computeIntersections=function(){if(1===arguments.length){var t=arguments[0];this.nOverlaps=0,this.prepareEvents();for(var e=0;e<this.events.size();e++){var n=this.events.get(e);if(n.isInsert()&&this.processOverlaps(e,n.getDeleteEventIndex(),n,t),t.isDone())break}}else if(3===arguments.length)if(arguments[2]instanceof jh&&es(arguments[0],$s)&&es(arguments[1],$s)){var l=arguments[0],i=arguments[1],r=arguments[2];this.addEdges(l,l),this.addEdges(i,i),this.computeIntersections(r)}else if("boolean"==typeof arguments[2]&&es(arguments[0],$s)&&arguments[1]instanceof jh){var o=arguments[0],a=arguments[1];arguments[2]?this.addEdges(o,null):this.addEdges(o),this.computeIntersections(a)}},e.prototype.addEdge=function(t,e){for(var n=t.getMonotoneChainEdge(),l=n.getStartIndexes(),i=0;i<l.length-1;i++){var r=new Th(n,i),o=new Eh(e,n.getMinX(i),r);this.events.add(o),this.events.add(new Eh(n.getMaxX(i),o))}},e.prototype.processOverlaps=function(t,e,n,l){for(var i=n.getObject(),r=t;r<e;r++){var o=this.events.get(r);if(o.isInsert()){var a=o.getObject();n.isSameLabel(o)||(i.computeIntersections(a,l),this.nOverlaps++)}}},e.prototype.addEdges=function(){if(1===arguments.length)for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.addEdge(e,e)}else if(2===arguments.length)for(var n=arguments[0],l=arguments[1],i=n.iterator();i.hasNext();){var r=i.next();this.addEdge(r,l)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Lh),Fh=function(){this._min=Ha.POSITIVE_INFINITY,this._max=Ha.NEGATIVE_INFINITY},Nh={NodeComparator:{configurable:!0}};Fh.prototype.getMin=function(){return this._min},Fh.prototype.intersects=function(t,e){return!(this._min>e||this._max<t)},Fh.prototype.getMax=function(){return this._max},Fh.prototype.toString=function(){return ws.toLineString(new Xa(this._min,0),new Xa(this._max,0))},Fh.prototype.interfaces_=function(){return[]},Fh.prototype.getClass=function(){return Fh},Nh.NodeComparator.get=function(){return Yh},Object.defineProperties(Fh,Nh);var Yh=function(){};Yh.prototype.compare=function(t,e){var n=(t._min+t._max)/2,l=(e._min+e._max)/2;return n<l?-1:n>l?1:0},Yh.prototype.interfaces_=function(){return[$a]},Yh.prototype.getClass=function(){return Yh};var Uh=function(t){function e(){t.call(this),this._item=null;var e=arguments[0],n=arguments[1],l=arguments[2];this._min=e,this._max=n,this._item=l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.query=function(t,e,n){if(!this.intersects(t,e))return null;n.visitItem(this._item)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Fh),Bh=function(t){function e(){t.call(this),this._node1=null,this._node2=null;var e=arguments[0],n=arguments[1];this._node1=e,this._node2=n,this.buildExtent(this._node1,this._node2)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.buildExtent=function(t,e){this._min=Math.min(t._min,e._min),this._max=Math.max(t._max,e._max)},e.prototype.query=function(t,e,n){if(!this.intersects(t,e))return null;null!==this._node1&&this._node1.query(t,e,n),null!==this._node2&&this._node2.query(t,e,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Fh),zh=function(){this._leaves=new Xs,this._root=null,this._level=0};zh.prototype.buildTree=function(){xc.sort(this._leaves,new Fh.NodeComparator);for(var t=this._leaves,e=null,n=new Xs;;){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}},zh.prototype.insert=function(t,e,n){if(null!==this._root)throw new Error("Index cannot be added to once it has been queried");this._leaves.add(new Uh(t,e,n))},zh.prototype.query=function(t,e,n){this.init(),this._root.query(t,e,n)},zh.prototype.buildRoot=function(){if(null!==this._root)return null;this._root=this.buildTree()},zh.prototype.printNode=function(t){bs.out.println(ws.toLineString(new Xa(t._min,this._level),new Xa(t._max,this._level)))},zh.prototype.init=function(){if(null!==this._root)return null;this.buildRoot()},zh.prototype.buildLevel=function(t,e){this._level++,e.clear();for(var n=0;n<t.size();n+=2){var l=t.get(n);if(null===(n+1<t.size()?t.get(n):null))e.add(l);else{var i=new Bh(t.get(n),t.get(n+1));e.add(i)}}},zh.prototype.interfaces_=function(){return[]},zh.prototype.getClass=function(){return zh};var Gh=function(){this._items=new Xs};Gh.prototype.visitItem=function(t){this._items.add(t)},Gh.prototype.getItems=function(){return this._items},Gh.prototype.interfaces_=function(){return[vc]},Gh.prototype.getClass=function(){return Gh};var Hh=function(){this._index=null;var t=arguments[0];if(!es(t,Pu))throw new Ga("Argument must be Polygonal");this._index=new Wh(t)},Vh={SegmentVisitor:{configurable:!0},IntervalIndexedGeometry:{configurable:!0}};Hh.prototype.locate=function(t){var e=new Ts(t),n=new qh(e);return this._index.query(t.y,t.y,n),e.getLocation()},Hh.prototype.interfaces_=function(){return[dd]},Hh.prototype.getClass=function(){return Hh},Vh.SegmentVisitor.get=function(){return qh},Vh.IntervalIndexedGeometry.get=function(){return Wh},Object.defineProperties(Hh,Vh);var qh=function(){this._counter=null;var t=arguments[0];this._counter=t};qh.prototype.visitItem=function(t){var e=t;this._counter.countSegment(e.getCoordinate(0),e.getCoordinate(1))},qh.prototype.interfaces_=function(){return[vc]},qh.prototype.getClass=function(){return qh};var Wh=function(){this._index=new zh;var t=arguments[0];this.init(t)};Wh.prototype.init=function(t){for(var e=Xd.getLines(t).iterator();e.hasNext();){var n=e.next().getCoordinates();this.addLine(n)}},Wh.prototype.addLine=function(t){for(var e=1;e<t.length;e++){var n=new Uc(t[e-1],t[e]),l=Math.min(n.p0.y,n.p1.y),i=Math.max(n.p0.y,n.p1.y);this._index.insert(l,i,n)}},Wh.prototype.query=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new Gh;return this._index.query(t,e,n),n.getItems()}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._index.query(l,i,r)}},Wh.prototype.interfaces_=function(){return[]},Wh.prototype.getClass=function(){return Wh};var $h=function(t){function e(){if(t.call(this),this._parentGeom=null,this._lineEdgeMap=new Nu,this._boundaryNodeRule=null,this._useBoundaryDeterminationRule=!0,this._argIndex=null,this._boundaryNodes=null,this._hasTooFewPoints=!1,this._invalidPoint=null,this._areaPtLocator=null,this._ptLocator=new Kd,2===arguments.length){var e=arguments[0],n=arguments[1],l=Ys.OGC_SFS_BOUNDARY_RULE;this._argIndex=e,this._parentGeom=n,this._boundaryNodeRule=l,null!==n&&this.add(n)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];this._argIndex=i,this._parentGeom=r,this._boundaryNodeRule=o,null!==r&&this.add(r)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.insertBoundaryPoint=function(t,n){var l=this._nodes.addNode(n).getLabel(),i=1;l.getLocation(t,Ju.ON)===Za.BOUNDARY&&i++;var r=e.determineBoundary(this._boundaryNodeRule,i);l.setLocation(t,r)},e.prototype.computeSelfNodes=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.computeSelfNodes(t,e,!1)}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=new jh(n,!0,!1);r.setIsDoneIfProperInt(i);var o=this.createEdgeSetIntersector(),a=this._parentGeom instanceof ku||this._parentGeom instanceof xu||this._parentGeom instanceof Mu,s=l||!a;return o.computeIntersections(this._edges,r,s),this.addSelfIntersectionNodes(this._argIndex),r}},e.prototype.computeSplitEdges=function(t){for(var e=this._edges.iterator();e.hasNext();)e.next().eiList.addSplitEdges(t)},e.prototype.computeEdgeIntersections=function(t,e,n){var l=new jh(e,n,!0);return l.setBoundaryNodes(this.getBoundaryNodes(),t.getBoundaryNodes()),this.createEdgeSetIntersector().computeIntersections(this._edges,t._edges,l),l},e.prototype.getGeometry=function(){return this._parentGeom},e.prototype.getBoundaryNodeRule=function(){return this._boundaryNodeRule},e.prototype.hasTooFewPoints=function(){return this._hasTooFewPoints},e.prototype.addPoint=function(){if(arguments[0]instanceof wu){var t=arguments[0].getCoordinate();this.insertPoint(this._argIndex,t,Za.INTERIOR)}else if(arguments[0]instanceof Xa){var e=arguments[0];this.insertPoint(this._argIndex,e,Za.INTERIOR)}},e.prototype.addPolygon=function(t){this.addPolygonRing(t.getExteriorRing(),Za.EXTERIOR,Za.INTERIOR);for(var e=0;e<t.getNumInteriorRing();e++){var n=t.getInteriorRingN(e);this.addPolygonRing(n,Za.INTERIOR,Za.EXTERIOR)}},e.prototype.addEdge=function(t){this.insertEdge(t);var e=t.getCoordinates();this.insertPoint(this._argIndex,e[0],Za.BOUNDARY),this.insertPoint(this._argIndex,e[e.length-1],Za.BOUNDARY)},e.prototype.addLineString=function(t){var e=Qs.removeRepeatedPoints(t.getCoordinates());if(e.length<2)return this._hasTooFewPoints=!0,this._invalidPoint=e[0],null;var n=new kd(e,new ic(this._argIndex,Za.INTERIOR));this._lineEdgeMap.put(t,n),this.insertEdge(n),Ss.isTrue(e.length>=2,"found LineString with single point"),this.insertBoundaryPoint(this._argIndex,e[0]),this.insertBoundaryPoint(this._argIndex,e[e.length-1])},e.prototype.getInvalidPoint=function(){return this._invalidPoint},e.prototype.getBoundaryPoints=function(){for(var t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null),n=0,l=t.iterator();l.hasNext();){var i=l.next();e[n++]=i.getCoordinate().copy()}return e},e.prototype.getBoundaryNodes=function(){return null===this._boundaryNodes&&(this._boundaryNodes=this._nodes.getBoundaryNodes(this._argIndex)),this._boundaryNodes},e.prototype.addSelfIntersectionNode=function(t,e,n){if(this.isBoundaryNode(t,e))return null;n===Za.BOUNDARY&&this._useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n)},e.prototype.addPolygonRing=function(t,e,n){if(t.isEmpty())return null;var l=Qs.removeRepeatedPoints(t.getCoordinates());if(l.length<4)return this._hasTooFewPoints=!0,this._invalidPoint=l[0],null;var i=e,r=n;Es.isCCW(l)&&(i=n,r=e);var o=new kd(l,new ic(this._argIndex,Za.BOUNDARY,i,r));this._lineEdgeMap.put(t,o),this.insertEdge(o),this.insertPoint(this._argIndex,l[0],Za.BOUNDARY)},e.prototype.insertPoint=function(t,e,n){var l=this._nodes.addNode(e),i=l.getLabel();null===i?l._label=new ic(t,n):i.setLocation(t,n)},e.prototype.createEdgeSetIntersector=function(){return new Rh},e.prototype.addSelfIntersectionNodes=function(t){for(var e=this._edges.iterator();e.hasNext();)for(var n=e.next(),l=n.getLabel().getLocation(t),i=n.eiList.iterator();i.hasNext();){var r=i.next();this.addSelfIntersectionNode(t,r.coord,l)}},e.prototype.add=function(){if(1!==arguments.length)return t.prototype.add.apply(this,arguments);var e=arguments[0];if(e.isEmpty())return null;if(e instanceof Mu&&(this._useBoundaryDeterminationRule=!1),e instanceof xu)this.addPolygon(e);else if(e instanceof vu)this.addLineString(e);else if(e instanceof wu)this.addPoint(e);else if(e instanceof Su)this.addCollection(e);else if(e instanceof bu)this.addCollection(e);else if(e instanceof Mu)this.addCollection(e);else{if(!(e instanceof fu))throw new Error(e.getClass().getName());this.addCollection(e)}},e.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var n=t.getGeometryN(e);this.add(n)}},e.prototype.locate=function(t){return es(this._parentGeom,Pu)&&this._parentGeom.getNumGeometries()>50?(null===this._areaPtLocator&&(this._areaPtLocator=new Hh(this._parentGeom)),this._areaPtLocator.locate(t)):this._ptLocator.locate(t,this._parentGeom)},e.prototype.findEdge=function(){if(1===arguments.length){var e=arguments[0];return this._lineEdgeMap.get(e)}return t.prototype.findEdge.apply(this,arguments)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.determineBoundary=function(t,e){return t.isInBoundary(e)?Za.BOUNDARY:Za.INTERIOR},e}(mc),Xh=function(){if(this._li=new Os,this._resultPrecisionModel=null,this._arg=null,1===arguments.length){var t=arguments[0];this.setComputationPrecision(t.getPrecisionModel()),this._arg=new Array(1).fill(null),this._arg[0]=new $h(0,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=Ys.OGC_SFS_BOUNDARY_RULE;e.getPrecisionModel().compareTo(n.getPrecisionModel())>=0?this.setComputationPrecision(e.getPrecisionModel()):this.setComputationPrecision(n.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new $h(0,e,l),this._arg[1]=new $h(1,n,l)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];i.getPrecisionModel().compareTo(r.getPrecisionModel())>=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(r.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new $h(0,i,o),this._arg[1]=new $h(1,r,o)}};Xh.prototype.getArgGeometry=function(t){return this._arg[t].getGeometry()},Xh.prototype.setComputationPrecision=function(t){this._resultPrecisionModel=t,this._li.setPrecisionModel(this._resultPrecisionModel)},Xh.prototype.interfaces_=function(){return[]},Xh.prototype.getClass=function(){return Xh};var Kh=function(){};Kh.prototype.interfaces_=function(){return[]},Kh.prototype.getClass=function(){return Kh},Kh.map=function(){if(arguments[0]instanceof js&&es(arguments[1],Kh.MapOp)){for(var t=arguments[0],e=arguments[1],n=new Xs,l=0;l<t.getNumGeometries();l++){var i=e.map(t.getGeometryN(l));null!==i&&n.add(i)}return t.getFactory().buildGeometry(n)}if(es(arguments[0],Vs)&&es(arguments[1],Kh.MapOp)){for(var r=arguments[0],o=arguments[1],a=new Xs,s=r.iterator();s.hasNext();){var u=s.next(),c=o.map(u);null!==c&&a.add(c)}return a}},Kh.MapOp=function(){};var Jh=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n),this._ptLocator=new Kd,this._geomFact=null,this._resultGeom=null,this._graph=null,this._edgeList=new _d,this._resultPolyList=new Xs,this._resultLineList=new Xs,this._resultPointList=new Xs,this._graph=new mc(new md),this._geomFact=e.getFactory()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var n=e.getLabel(),l=t.getLabel();e.isPointwiseEqual(t)||(l=new ic(t.getLabel())).flip();var i=e.getDepth();i.isNull()&&i.add(n),i.add(l),n.merge(l)}else this._edgeList.add(t)},e.prototype.getGraph=function(){return this._graph},e.prototype.cancelDuplicateResultEdges=function(){for(var t=this._graph.getEdgeEnds().iterator();t.hasNext();){var e=t.next(),n=e.getSym();e.isInResult()&&n.isInResult()&&(e.setInResult(!1),n.setInResult(!1))}},e.prototype.isCoveredByLA=function(t){return!!this.isCovered(t,this._resultLineList)||!!this.isCovered(t,this._resultPolyList)},e.prototype.computeGeometry=function(t,n,l,i){var r=new Xs;return r.addAll(t),r.addAll(n),r.addAll(l),r.isEmpty()?e.createEmptyResult(i,this._arg[0].getGeometry(),this._arg[1].getGeometry(),this._geomFact):this._geomFact.buildGeometry(r)},e.prototype.mergeSymLabels=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().mergeSymLabels()},e.prototype.isCovered=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();if(this._ptLocator.locate(t,l)!==Za.EXTERIOR)return!0}return!1},e.prototype.replaceCollapsedEdges=function(){for(var t=new Xs,e=this._edgeList.iterator();e.hasNext();){var n=e.next();n.isCollapsed()&&(e.remove(),t.add(n.getCollapsedEdge()))}this._edgeList.addAll(t)},e.prototype.updateNodeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),n=e.getEdges().getLabel();e.getLabel().merge(n)}},e.prototype.getResultGeometry=function(t){return this.computeOverlay(t),this._resultGeom},e.prototype.insertUniqueEdges=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.insertUniqueEdge(n)}},e.prototype.computeOverlay=function(t){this.copyPoints(0),this.copyPoints(1),this._arg[0].computeSelfNodes(this._li,!1),this._arg[1].computeSelfNodes(this._li,!1),this._arg[0].computeEdgeIntersections(this._arg[1],this._li,!0);var e=new Xs;this._arg[0].computeSplitEdges(e),this._arg[1].computeSplitEdges(e),this.insertUniqueEdges(e),this.computeLabelsFromDepths(),this.replaceCollapsedEdges(),bh.checkValid(this._edgeList.getEdges()),this._graph.addEdges(this._edgeList.getEdges()),this.computeLabelling(),this.labelIncompleteNodes(),this.findResultAreaEdges(t),this.cancelDuplicateResultEdges();var n=new gc(this._geomFact);n.add(this._graph),this._resultPolyList=n.getPolygons();var l=new gh(this,this._geomFact,this._ptLocator);this._resultLineList=l.build(t);var i=new _h(this,this._geomFact,this._ptLocator);this._resultPointList=i.build(t),this._resultGeom=this.computeGeometry(this._resultPointList,this._resultLineList,this._resultPolyList,t)},e.prototype.labelIncompleteNode=function(t,e){var n=this._ptLocator.locate(t.getCoordinate(),this._arg[e].getGeometry());t.getLabel().setLocation(e,n)},e.prototype.copyPoints=function(t){for(var e=this._arg[t].getNodeIterator();e.hasNext();){var n=e.next();this._graph.addNode(n.getCoordinate()).setLabel(t,n.getLabel().getLocation(t))}},e.prototype.findResultAreaEdges=function(t){for(var n=this._graph.getEdgeEnds().iterator();n.hasNext();){var l=n.next(),i=l.getLabel();i.isArea()&&!l.isInteriorAreaEdge()&&e.isResultOfOp(i.getLocation(0,Ju.RIGHT),i.getLocation(1,Ju.RIGHT),t)&&l.setInResult(!0)}},e.prototype.computeLabelsFromDepths=function(){for(var t=this._edgeList.iterator();t.hasNext();){var e=t.next(),n=e.getLabel(),l=e.getDepth();if(!l.isNull()){l.normalize();for(var i=0;i<2;i++)n.isNull(i)||!n.isArea()||l.isNull(i)||(0===l.getDelta(i)?n.toLine(i):(Ss.isTrue(!l.isNull(i,Ju.LEFT),"depth of LEFT side has not been initialized"),n.setLocation(i,Ju.LEFT,l.getLocation(i,Ju.LEFT)),Ss.isTrue(!l.isNull(i,Ju.RIGHT),"depth of RIGHT side has not been initialized"),n.setLocation(i,Ju.RIGHT,l.getLocation(i,Ju.RIGHT))))}}},e.prototype.computeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().computeLabelling(this._arg);this.mergeSymLabels(),this.updateNodeLabelling()},e.prototype.labelIncompleteNodes=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),n=e.getLabel();e.isIsolated()&&(n.isNull(0)?this.labelIncompleteNode(e,0):this.labelIncompleteNode(e,1)),e.getEdges().updateLabelling(n)}},e.prototype.isCoveredByA=function(t){return!!this.isCovered(t,this._resultPolyList)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Xh);Jh.overlayOp=function(t,e,n){return new Jh(t,e).getResultGeometry(n)},Jh.intersection=function(t,e){if(t.isEmpty()||e.isEmpty())return Jh.createEmptyResult(Jh.INTERSECTION,t,e,t.getFactory());if(t.isGeometryCollection()){var n=e;return mh.map(t,{interfaces_:function(){return[Kh.MapOp]},map:function(t){return t.intersection(n)}})}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.INTERSECTION)},Jh.symDifference=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Jh.createEmptyResult(Jh.SYMDIFFERENCE,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Jh.resultDimension=function(t,e,n){var l=e.getDimension(),i=n.getDimension(),r=-1;switch(t){case Jh.INTERSECTION:r=Math.min(l,i);break;case Jh.UNION:r=Math.max(l,i);break;case Jh.DIFFERENCE:r=l;break;case Jh.SYMDIFFERENCE:r=Math.max(l,i)}return r},Jh.createEmptyResult=function(t,e,n,l){var i=null;switch(Jh.resultDimension(t,e,n)){case-1:i=l.createGeometryCollection(new Array(0).fill(null));break;case 0:i=l.createPoint();break;case 1:i=l.createLineString();break;case 2:i=l.createPolygon()}return i},Jh.difference=function(t,e){return t.isEmpty()?Jh.createEmptyResult(Jh.DIFFERENCE,t,e,t.getFactory()):e.isEmpty()?t.copy():(t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.DIFFERENCE))},Jh.isResultOfOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=t.getLocation(0),l=t.getLocation(1);return Jh.isResultOfOp(n,l,e)}if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];switch(i===Za.BOUNDARY&&(i=Za.INTERIOR),r===Za.BOUNDARY&&(r=Za.INTERIOR),o){case Jh.INTERSECTION:return i===Za.INTERIOR&&r===Za.INTERIOR;case Jh.UNION:return i===Za.INTERIOR||r===Za.INTERIOR;case Jh.DIFFERENCE:return i===Za.INTERIOR&&r!==Za.INTERIOR;case Jh.SYMDIFFERENCE:return i===Za.INTERIOR&&r!==Za.INTERIOR||i!==Za.INTERIOR&&r===Za.INTERIOR}return!1}},Jh.INTERSECTION=1,Jh.UNION=2,Jh.DIFFERENCE=3,Jh.SYMDIFFERENCE=4;var Qh=function(){this._g=null,this._boundaryDistanceTolerance=null,this._linework=null,this._ptLocator=new Kd,this._seg=new Uc;var t=arguments[0],e=arguments[1];this._g=t,this._boundaryDistanceTolerance=e,this._linework=this.extractLinework(t)};Qh.prototype.isWithinToleranceOfBoundary=function(t){for(var e=0;e<this._linework.getNumGeometries();e++)for(var n=this._linework.getGeometryN(e).getCoordinateSequence(),l=0;l<n.size()-1;l++)if(n.getCoordinate(l,this._seg.p0),n.getCoordinate(l+1,this._seg.p1),this._seg.distance(t)<=this._boundaryDistanceTolerance)return!0;return!1},Qh.prototype.getLocation=function(t){return this.isWithinToleranceOfBoundary(t)?Za.BOUNDARY:this._ptLocator.locate(t,this._g)},Qh.prototype.extractLinework=function(t){var e=new Zh;t.apply(e);var n=e.getLinework(),l=Gu.toLineStringArray(n);return t.getFactory().createMultiLineString(l)},Qh.prototype.interfaces_=function(){return[]},Qh.prototype.getClass=function(){return Qh};var Zh=function(){this._linework=null,this._linework=new Xs};Zh.prototype.getLinework=function(){return this._linework},Zh.prototype.filter=function(t){if(t instanceof xu){var e=t;this._linework.add(e.getExteriorRing());for(var n=0;n<e.getNumInteriorRing();n++)this._linework.add(e.getInteriorRingN(n))}},Zh.prototype.interfaces_=function(){return[hu]},Zh.prototype.getClass=function(){return Zh};var tp=function(){this._g=null,this._doLeft=!0,this._doRight=!0;var t=arguments[0];this._g=t};tp.prototype.extractPoints=function(t,e,n){for(var l=t.getCoordinates(),i=0;i<l.length-1;i++)this.computeOffsetPoints(l[i],l[i+1],e,n)},tp.prototype.setSidesToGenerate=function(t,e){this._doLeft=t,this._doRight=e},tp.prototype.getPoints=function(t){for(var e=new Xs,n=Xd.getLines(this._g).iterator();n.hasNext();){var l=n.next();this.extractPoints(l,t,e)}return e},tp.prototype.computeOffsetPoints=function(t,e,n,l){var i=e.x-t.x,r=e.y-t.y,o=Math.sqrt(i*i+r*r),a=n*i/o,s=n*r/o,u=(e.x+t.x)/2,c=(e.y+t.y)/2;if(this._doLeft){var d=new Xa(u-s,c+a);l.add(d)}if(this._doRight){var h=new Xa(u+s,c-a);l.add(h)}},tp.prototype.interfaces_=function(){return[]},tp.prototype.getClass=function(){return tp};var ep=function t(){this._geom=null,this._locFinder=null,this._location=new Array(3).fill(null),this._invalidLocation=null,this._boundaryDistanceTolerance=t.TOLERANCE,this._testCoords=new Xs;var e=arguments[0],n=arguments[1],l=arguments[2];this._boundaryDistanceTolerance=t.computeBoundaryDistanceTolerance(e,n),this._geom=[e,n,l],this._locFinder=[new Qh(this._geom[0],this._boundaryDistanceTolerance),new Qh(this._geom[1],this._boundaryDistanceTolerance),new Qh(this._geom[2],this._boundaryDistanceTolerance)]},np={TOLERANCE:{configurable:!0}};ep.prototype.reportResult=function(t,e,n){bs.out.println("Overlay result invalid - A:"+Za.toLocationSymbol(e[0])+" B:"+Za.toLocationSymbol(e[1])+" expected:"+(n?"i":"e")+" actual:"+Za.toLocationSymbol(e[2]))},ep.prototype.isValid=function(t){return this.addTestPts(this._geom[0]),this.addTestPts(this._geom[1]),this.checkValid(t)},ep.prototype.checkValid=function(){if(1===arguments.length){for(var t=arguments[0],e=0;e<this._testCoords.size();e++){var n=this._testCoords.get(e);if(!this.checkValid(t,n))return this._invalidLocation=n,!1}return!0}if(2===arguments.length){var l=arguments[0],i=arguments[1];return this._location[0]=this._locFinder[0].getLocation(i),this._location[1]=this._locFinder[1].getLocation(i),this._location[2]=this._locFinder[2].getLocation(i),!!ep.hasLocation(this._location,Za.BOUNDARY)||this.isValidResult(l,this._location)}},ep.prototype.addTestPts=function(t){var e=new tp(t);this._testCoords.addAll(e.getPoints(5*this._boundaryDistanceTolerance))},ep.prototype.isValidResult=function(t,e){var n=Jh.isResultOfOp(e[0],e[1],t),l=!(n^e[2]===Za.INTERIOR);return l||this.reportResult(t,e,n),l},ep.prototype.getInvalidLocation=function(){return this._invalidLocation},ep.prototype.interfaces_=function(){return[]},ep.prototype.getClass=function(){return ep},ep.hasLocation=function(t,e){for(var n=0;n<3;n++)if(t[n]===e)return!0;return!1},ep.computeBoundaryDistanceTolerance=function(t,e){return Math.min(vh.computeSizeBasedSnapTolerance(t),vh.computeSizeBasedSnapTolerance(e))},ep.isValid=function(t,e,n,l){return new ep(t,e,l).isValid(n)},np.TOLERANCE.get=function(){return 1e-6},Object.defineProperties(ep,np);var lp=function t(e){this._geomFactory=null,this._skipEmpty=!1,this._inputGeoms=null,this._geomFactory=t.extractFactory(e),this._inputGeoms=e};lp.prototype.extractElements=function(t,e){if(null===t)return null;for(var n=0;n<t.getNumGeometries();n++){var l=t.getGeometryN(n);this._skipEmpty&&l.isEmpty()||e.add(l)}},lp.prototype.combine=function(){for(var t=new Xs,e=this._inputGeoms.iterator();e.hasNext();){var n=e.next();this.extractElements(n,t)}return 0===t.size()?null!==this._geomFactory?this._geomFactory.createGeometryCollection(null):null:this._geomFactory.buildGeometry(t)},lp.prototype.interfaces_=function(){return[]},lp.prototype.getClass=function(){return lp},lp.combine=function(){if(1===arguments.length){var t=arguments[0];return new lp(t).combine()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return new lp(lp.createList(e,n)).combine()}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];return new lp(lp.createList(l,i,r)).combine()}},lp.extractFactory=function(t){return t.isEmpty()?null:t.iterator().next().getFactory()},lp.createList=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new Xs;return n.add(t),n.add(e),n}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2],o=new Xs;return o.add(l),o.add(i),o.add(r),o}};var ip=function(){this._inputPolys=null,this._geomFactory=null;var t=arguments[0];this._inputPolys=t,null===this._inputPolys&&(this._inputPolys=new Xs)},rp={STRTREE_NODE_CAPACITY:{configurable:!0}};ip.prototype.reduceToGeometries=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next(),i=null;es(l,$s)?i=this.unionTree(l):l instanceof js&&(i=l),e.add(i)}return e},ip.prototype.extractByEnvelope=function(t,e,n){for(var l=new Xs,i=0;i<e.getNumGeometries();i++){var r=e.getGeometryN(i);r.getEnvelopeInternal().intersects(t)?l.add(r):n.add(r)}return this._geomFactory.buildGeometry(l)},ip.prototype.unionOptimized=function(t,e){var n=t.getEnvelopeInternal(),l=e.getEnvelopeInternal();if(!n.intersects(l))return lp.combine(t,e);if(t.getNumGeometries()<=1&&e.getNumGeometries()<=1)return this.unionActual(t,e);var i=n.intersection(l);return this.unionUsingEnvelopeIntersection(t,e,i)},ip.prototype.union=function(){if(null===this._inputPolys)throw new Error("union() method cannot be called twice");if(this._inputPolys.isEmpty())return null;this._geomFactory=this._inputPolys.iterator().next().getFactory();for(var t=new Tc(ip.STRTREE_NODE_CAPACITY),e=this._inputPolys.iterator();e.hasNext();){var n=e.next();t.insert(n.getEnvelopeInternal(),n)}this._inputPolys=null;var l=t.itemsTree();return this.unionTree(l)},ip.prototype.binaryUnion=function(){if(1===arguments.length){var t=arguments[0];return this.binaryUnion(t,0,t.size())}if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2];if(l-n<=1){var i=ip.getGeometry(e,n);return this.unionSafe(i,null)}if(l-n==2)return this.unionSafe(ip.getGeometry(e,n),ip.getGeometry(e,n+1));var r=Math.trunc((l+n)/2),o=this.binaryUnion(e,n,r),a=this.binaryUnion(e,r,l);return this.unionSafe(o,a)}},ip.prototype.repeatedUnion=function(t){for(var e=null,n=t.iterator();n.hasNext();){var l=n.next();e=null===e?l.copy():e.union(l)}return e},ip.prototype.unionSafe=function(t,e){return null===t&&null===e?null:null===t?e.copy():null===e?t.copy():this.unionOptimized(t,e)},ip.prototype.unionActual=function(t,e){return ip.restrictToPolygons(t.union(e))},ip.prototype.unionTree=function(t){var e=this.reduceToGeometries(t);return this.binaryUnion(e)},ip.prototype.unionUsingEnvelopeIntersection=function(t,e,n){var l=new Xs,i=this.extractByEnvelope(n,t,l),r=this.extractByEnvelope(n,e,l),o=this.unionActual(i,r);return l.add(o),lp.combine(l)},ip.prototype.bufferUnion=function(){if(1===arguments.length){var t=arguments[0];return t.get(0).getFactory().buildGeometry(t).buffer(0)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e.getFactory().createGeometryCollection([e,n]).buffer(0)}},ip.prototype.interfaces_=function(){return[]},ip.prototype.getClass=function(){return ip},ip.restrictToPolygons=function(t){if(es(t,Pu))return t;var e=$d.getPolygons(t);return 1===e.size()?e.get(0):t.getFactory().createMultiPolygon(Gu.toPolygonArray(e))},ip.getGeometry=function(t,e){return e>=t.size()?null:t.get(e)},ip.union=function(t){return new ip(t).union()},rp.STRTREE_NODE_CAPACITY.get=function(){return 4},Object.defineProperties(ip,rp);var op=function(){};op.prototype.interfaces_=function(){return[]},op.prototype.getClass=function(){return op},op.union=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Jh.createEmptyResult(Jh.UNION,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.UNION)};var ap=function(){return new Ei};Ei.prototype={constructor:Ei,reset:function(){this.s=this.t=0},add:function(t){Ii(sp,t,this.t),Ii(this,sp.s,this.s),this.s?this.t+=sp.t:this.s=sp.t},valueOf:function(){return this.s}};var sp=new Ei,up=1e-6,cp=Math.PI,dp=cp/2,hp=cp/4,pp=2*cp,fp=180/cp,bp=cp/180,mp=Math.abs,gp=Math.atan,_p=Math.atan2,yp=Math.cos,Ap=Math.exp,vp=Math.log,Cp=Math.sin,wp=Math.sqrt,Pp=Math.tan,xp={Feature:function(t,e){Ri(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,l=-1,i=n.length;++l<i;)Ri(n[l].geometry,e)}},Sp={Sphere:function(t,e){e.sphere()},Point:function(t,e){e.point((t=t.coordinates)[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)e.point((t=n[l])[0],t[1],t[2])},LineString:function(t,e){Fi(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)Fi(n[l],e,0)},Polygon:function(t,e){Ni(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)Ni(n[l],e)},GeometryCollection:function(t,e){for(var n=t.geometries,l=-1,i=n.length;++l<i;)Ri(n[l],e)}},kp=function(t,e){t&&xp.hasOwnProperty(t.type)?xp[t.type](t,e):Ri(t,e)},Mp=(ap(),ap(),ap(),function(t,e){function n(n,l){return n=t(n,l),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,l){return(n=e.invert(n,l))&&t.invert(n[0],n[1])}),n});qi.invert=qi;var Op=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:ji,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},Dp=function(t,e,n,l,i,r){var o,a=t[0],s=t[1],u=0,c=1,d=e[0]-a,h=e[1]-s;if(o=n-a,d||!(o>0)){if(o/=d,d<0){if(o<u)return;o<c&&(c=o)}else if(d>0){if(o>c)return;o>u&&(u=o)}if(o=i-a,d||!(o<0)){if(o/=d,d<0){if(o>c)return;o>u&&(u=o)}else if(d>0){if(o<u)return;o<c&&(c=o)}if(o=l-s,h||!(o>0)){if(o/=h,h<0){if(o<u)return;o<c&&(c=o)}else if(h>0){if(o>c)return;o>u&&(u=o)}if(o=r-s,h||!(o<0)){if(o/=h,h<0){if(o>c)return;o>u&&(u=o)}else if(h>0){if(o<u)return;o<c&&(c=o)}return u>0&&(t[0]=a+u*d,t[1]=s+u*h),c<1&&(e[0]=a+c*d,e[1]=s+c*h),!0}}}}},Tp=function(t,e){return mp(t[0]-e[0])<up&&mp(t[1]-e[1])<up},Ep=function(t,e,n,l,i){var r,o,a=[],s=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,l=t[0],o=t[e];if(Tp(l,o)){for(i.lineStart(),r=0;r<e;++r)i.point((l=t[r])[0],l[1]);i.lineEnd()}else a.push(n=new Qi(l,t,null,!0)),s.push(n.o=new Qi(l,null,n,!1)),a.push(n=new Qi(o,t,null,!1)),s.push(n.o=new Qi(o,null,n,!0))}})),a.length){for(s.sort(e),Zi(a),Zi(s),r=0,o=s.length;r<o;++r)s[r].e=n=!n;for(var u,c,d=a[0];;){for(var h=d,p=!0;h.v;)if((h=h.n)===d)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(r=0,o=u.length;r<o;++r)i.point((c=u[r])[0],c[1]);else l(h.x,h.n.x,1,i);h=h.n}else{if(p)for(r=(u=h.p.z).length-1;r>=0;--r)i.point((c=u[r])[0],c[1]);else l(h.x,h.p.x,-1,i);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}},Ip=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},Lp=(function(t){1===t.length&&(t=function(t){return function(e,n){return Ip(t(e),n)}}(t))}(Ip),function(t){for(var e,n,l,i=t.length,r=-1,o=0;++r<i;)o+=t[r].length;for(n=new Array(o);--i>=0;)for(e=(l=t[i]).length;--e>=0;)n[--o]=l[e];return n}),jp=1e9,Rp=-jp,Fp=ap(),Np=(ap(),function(t){return t}),Yp=(ap(),ap(),1/0),Up=Yp,Bp=-Yp,zp=Bp,Gp={point:function(t,e){t<Yp&&(Yp=t),t>Bp&&(Bp=t),e<Up&&(Up=e),e>zp&&(zp=e)},lineStart:ji,lineEnd:ji,polygonStart:ji,polygonEnd:ji,result:function(){var t=[[Yp,Up],[Bp,zp]];return Bp=zp=-(Up=Yp=1/0),t}},Hp=(ap(),function(t,e,n,l){return function(i,r){function o(e,n){var l=i(e,n);t(e=l[0],n=l[1])&&r.point(e,n)}function a(t,e){var n=i(t,e);m.point(n[0],n[1])}function s(){v.point=a,m.lineStart()}function u(){v.point=o,m.lineEnd()}function c(t,e){b.push([t,e]);var n=i(t,e);y.point(n[0],n[1])}function d(){y.lineStart(),b=[]}function h(){c(b[0][0],b[0][1]),y.lineEnd();var t,e,n,l,i=y.clean(),o=_.result(),a=o.length;if(b.pop(),p.push(b),b=null,a)if(1&i){if((e=(n=o[0]).length-1)>0){for(A||(r.polygonStart(),A=!0),r.lineStart(),t=0;t<e;++t)r.point((l=n[t])[0],l[1]);r.lineEnd()}}else a>1&&2&i&&o.push(o.pop().concat(o.shift())),f.push(o.filter(er))}var p,f,b,m=e(r),g=i.invert(l[0],l[1]),_=Op(),y=e(_),A=!1,v={point:o,lineStart:s,lineEnd:u,polygonStart:function(){v.point=c,v.lineStart=d,v.lineEnd=h,f=[],p=[]},polygonEnd:function(){v.point=o,v.lineStart=s,v.lineEnd=u,f=Lp(f);var t=function(t,e){var n=e[0],l=e[1],i=[Cp(n),-yp(n),0],r=0,o=0;Fp.reset();for(var a=0,s=t.length;a<s;++a)if(c=(u=t[a]).length)for(var u,c,d=u[c-1],h=d[0],p=d[1]/2+hp,f=Cp(p),b=yp(p),m=0;m<c;++m,h=_,f=A,b=v,d=g){var g=u[m],_=g[0],y=g[1]/2+hp,A=Cp(y),v=yp(y),C=_-h,w=C>=0?1:-1,P=w*C,x=P>cp,S=f*A;if(Fp.add(_p(S*w*Cp(P),b*v+S*yp(P))),r+=x?C+w*pp:C,x^h>=n^_>=n){var k=zi(Ui(d),Ui(g));Vi(k);var M=zi(i,k);Vi(M);var O=(x^C>=0?-1:1)*Li(M[2]);(l>O||l===O&&(k[0]||k[1]))&&(o+=x^C>=0?1:-1)}}return(r<-up||r<up&&Fp<-up)^1&o}(p,g);f.length?(A||(r.polygonStart(),A=!0),Ep(f,nr,t,n,r)):t&&(A||(r.polygonStart(),A=!0),r.lineStart(),n(null,null,1,r),r.lineEnd()),A&&(r.polygonEnd(),A=!1),f=p=null},sphere:function(){r.polygonStart(),r.lineStart(),n(null,null,1,r),r.lineEnd(),r.polygonEnd()}};return v}}),Vp=Hp((function(){return!0}),(function(t){var e,n=NaN,l=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(r,o){var a=r>0?cp:-cp,s=mp(r-n);mp(s-cp)<up?(t.point(n,l=(l+o)/2>0?dp:-dp),t.point(i,l),t.lineEnd(),t.lineStart(),t.point(a,l),t.point(r,l),e=0):i!==a&&s>=cp&&(mp(n-i)<up&&(n-=i*up),mp(r-a)<up&&(r-=a*up),l=function(t,e,n,l){var i,r,o=Cp(t-n);return mp(o)>up?gp((Cp(e)*(r=yp(l))*Cp(n)-Cp(l)*(i=yp(e))*Cp(t))/(i*r*o)):(e+l)/2}(n,l,r,o),t.point(i,l),t.lineEnd(),t.lineStart(),t.point(a,l),e=0),t.point(n=r,l=o),i=a},lineEnd:function(){t.lineEnd(),n=l=NaN},clean:function(){return 2-e}}}),(function(t,e,n,l){var i;if(null==t)l.point(-cp,i=n*dp),l.point(0,i),l.point(cp,i),l.point(cp,0),l.point(cp,-i),l.point(0,-i),l.point(-cp,-i),l.point(-cp,0),l.point(-cp,i);else if(mp(t[0]-e[0])>up){var r=t[0]<e[0]?cp:-cp;l.point(-r,i=n*r/2),l.point(0,i),l.point(r,i)}else l.point(e[0],e[1])}),[-cp,-dp]),qp=function(t,e){function n(t,e){return yp(t)*yp(e)>r}function l(t,e,n){var l=[1,0,0],i=zi(Ui(t),Ui(e)),o=Bi(i,i),a=i[0],s=o-a*a;if(!s)return!n&&t;var u=r*o/s,c=-r*a/s,d=zi(l,i),h=Hi(l,u);Gi(h,Hi(i,c));var p=d,f=Bi(h,p),b=Bi(p,p),m=f*f-b*(Bi(h,h)-1);if(!(m<0)){var g=wp(m),_=Hi(p,(-f-g)/b);if(Gi(_,h),_=Yi(_),!n)return _;var y,A=t[0],v=e[0],C=t[1],w=e[1];v<A&&(y=A,A=v,v=y);var P=v-A,x=mp(P-cp)<up;if(!x&&w<C&&(y=C,C=w,w=y),x||P<up?x?C+w>0^_[1]<(mp(_[0]-A)<up?C:w):C<=_[1]&&_[1]<=w:P>cp^(A<=_[0]&&_[0]<=v)){var S=Hi(p,(-f+g)/b);return Gi(S,h),[_,Yi(S)]}}}function i(e,n){var l=o?t:cp-t,i=0;return e<-l?i|=1:e>l&&(i|=2),n<-l?i|=4:n>l&&(i|=8),i}var r=yp(t),o=r>0,a=mp(r)>up;return Hp(n,(function(t){var e,r,s,u,c;return{lineStart:function(){u=s=!1,c=1},point:function(d,h){var p,f=[d,h],b=n(d,h),m=o?b?0:i(d,h):b?i(d+(d<0?cp:-cp),h):0;if(!e&&(u=s=b)&&t.lineStart(),b!==s&&(!(p=l(e,f))||Tp(e,p)||Tp(f,p))&&(f[0]+=up,f[1]+=up,b=n(f[0],f[1])),b!==s)c=0,b?(t.lineStart(),p=l(f,e),t.point(p[0],p[1])):(p=l(e,f),t.point(p[0],p[1]),t.lineEnd()),e=p;else if(a&&e&&o^b){var g;m&r||!(g=l(f,e,!0))||(c=0,o?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1])))}!b||e&&Tp(e,f)||t.point(f[0],f[1]),e=f,s=b,r=m},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return c|(u&&s)<<1}}}),(function(n,l,i,r){!function(t,e,n,l,i,r){if(n){var o=yp(e),a=Cp(e),s=l*n;null==i?(i=e+l*pp,r=e-s/2):(i=Ji(o,i),r=Ji(o,r),(l>0?i<r:i>r)&&(i+=l*pp));for(var u,c=i;l>0?c>r:c<r;c-=s)u=Yi([o,-a*yp(c),-a*Cp(c)]),t.point(u[0],u[1])}}(r,t,e,i,n,l)}),o?[0,-t]:[-cp,t-cp])};ir.prototype={constructor:ir,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Wp=yp(30*bp),$p=function(t,e){return+e?function(t,e){function n(l,i,r,o,a,s,u,c,d,h,p,f,b,m){var g=u-l,_=c-i,y=g*g+_*_;if(y>4*e&&b--){var A=o+h,v=a+p,C=s+f,w=wp(A*A+v*v+C*C),P=Li(C/=w),x=mp(mp(C)-1)<up||mp(r-d)<up?(r+d)/2:_p(v,A),S=t(x,P),k=S[0],M=S[1],O=k-l,D=M-i,T=_*O-g*D;(T*T/y>e||mp((g*O+_*D)/y-.5)>.3||o*h+a*p+s*f<Wp)&&(n(l,i,r,o,a,s,k,M,x,A/=w,v/=w,C,b,m),m.point(k,M),n(k,M,x,A,v,C,u,c,d,h,p,f,b,m))}}return function(e){function l(n,l){n=t(n,l),e.point(n[0],n[1])}function i(){g=NaN,C.point=r,e.lineStart()}function r(l,i){var r=Ui([l,i]),o=t(l,i);n(g,_,m,y,A,v,g=o[0],_=o[1],m=l,y=r[0],A=r[1],v=r[2],16,e),e.point(g,_)}function o(){C.point=l,e.lineEnd()}function a(){i(),C.point=s,C.lineEnd=u}function s(t,e){r(c=t,e),d=g,h=_,p=y,f=A,b=v,C.point=r}function u(){n(g,_,m,y,A,v,d,h,c,p,f,b,16,e),C.lineEnd=o,o()}var c,d,h,p,f,b,m,g,_,y,A,v,C={point:l,lineStart:i,lineEnd:o,polygonStart:function(){e.polygonStart(),C.lineStart=a},polygonEnd:function(){e.polygonEnd(),C.lineStart=i}};return C}}(t,e):function(t){return lr({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)},Xp=lr({point:function(t,e){this.stream.point(t*bp,e*bp)}});or.invert=function(t,e){return[t,2*gp(Ap(e))-dp]},ar.invert=function(t,e){return[-e,2*gp(Ap(t))-dp]};var Kp=function(){var t=function(t){function e(){var e=cp*a(),o=r(function(t){function e(e){return(e=t(e[0]*bp,e[1]*bp))[0]*=fp,e[1]*=fp,e}return t=Wi(t[0]*bp,t[1]*bp,t.length>2?t[2]*bp:0),e.invert=function(e){return(e=t.invert(e[0]*bp,e[1]*bp))[0]*=fp,e[1]*=fp,e},e}(r.rotate()).invert([0,0]));return u(null==c?[[o[0]-e,o[1]-e],[o[0]+e,o[1]+e]]:t===or?[[Math.max(o[0]-e,c),n],[Math.min(o[0]+e,l),i]]:[[c,Math.max(o[1]-e,n)],[l,Math.min(o[1]+e,i)]])}var n,l,i,r=function(t){return function(t){function e(t){return[(t=u(t[0]*bp,t[1]*bp))[0]*b+o,a-t[1]*b]}function n(t,e){return[(t=r(t,e))[0]*b+o,a-t[1]*b]}function l(){u=Mp(s=Wi(A,v,C),r);var t=r(_,y);return o=m-t[0]*b,a=g+t[1]*b,i()}function i(){return p=f=null,e}var r,o,a,s,u,c,d,h,p,f,b=150,m=480,g=250,_=0,y=0,A=0,v=0,C=0,w=null,P=Vp,x=null,S=Np,k=.5,M=$p(n,k);return e.stream=function(t){return p&&f===t?p:p=Xp(P(s,M(S(f=t))))},e.clipAngle=function(t){return arguments.length?(P=+t?qp(w=t*bp,6*bp):(w=null,Vp),i()):w*fp},e.clipExtent=function(t){return arguments.length?(S=null==t?(x=c=d=h=null,Np):tr(x=+t[0][0],c=+t[0][1],d=+t[1][0],h=+t[1][1]),i()):null==x?null:[[x,c],[d,h]]},e.scale=function(t){return arguments.length?(b=+t,l()):b},e.translate=function(t){return arguments.length?(m=+t[0],g=+t[1],l()):[m,g]},e.center=function(t){return arguments.length?(_=t[0]%360*bp,y=t[1]%360*bp,l()):[_*fp,y*fp]},e.rotate=function(t){return arguments.length?(A=t[0]%360*bp,v=t[1]%360*bp,C=t.length>2?t[2]%360*bp:0,l()):[A*fp,v*fp,C*fp]},e.precision=function(t){return arguments.length?(M=$p(n,k=t*t),i()):wp(k)},e.fitExtent=function(t,n){return rr(e,t,n)},e.fitSize=function(t,n){return function(t,e,n){return rr(t,[[0,0],e],n)}(e,t,n)},function(){return r=t.apply(this,arguments),e.invert=r.invert&&function(t){return(t=u.invert((t[0]-o)/b,(a-t[1])/b))&&[t[0]*fp,t[1]*fp]},l()}}((function(){return t}))()}(t),o=r.center,a=r.scale,s=r.translate,u=r.clipExtent,c=null;return r.scale=function(t){return arguments.length?(a(t),e()):a()},r.translate=function(t){return arguments.length?(s(t),e()):s()},r.center=function(t){return arguments.length?(o(t),e()):o()},r.clipExtent=function(t){return arguments.length?(null==t?c=n=l=i=null:(c=+t[0][0],n=+t[0][1],l=+t[1][0],i=+t[1][1]),e()):null==c?null:[[c,n],[l,i]]},e()}(ar),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};t.projection=io,t.random=Ua,t.clusters=Ba,t.helpers=Pr,t.invariant=Sr,t.meta=xr,t.isolines=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.zProperty||"elevation",i=n.commonProperties||{},r=n.breaksProperties||[];if($(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks must be an Array");if(!P(i))throw new Error("commonProperties must be an Object");if(!Array.isArray(r))throw new Error("breaksProperties must be an Array");var o=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.zProperty||"elevation",l=e.flip,i=e.flags;$(t,"Point","input must contain Points");for(var r=function(t,e){var n={};return T(t,(function(t){var e=H(t)[1];n[e]||(n[e]=[]),n[e].push(t)})),Object.keys(n).map((function(t){return n[t].sort((function(t,e){return H(t)[0]-H(e)[0]}))})).sort((function(t,n){return e?H(t[0])[1]-H(n[0])[1]:H(n[0])[1]-H(t[0])[1]}))}(t,l),o=[],a=0;a<r.length;a++){for(var s=r[a],u=[],c=0;c<s.length;c++){var d=s[c];u.push(d.properties[n]?d.properties[n]:0),!0===i&&(d.properties.matrixPosition=[a,c])}o.push(u)}return o}(t,{zProperty:l,flip:!0});return u(function(t,e,n){var l=z(n),i=l[0],r=l[1],o=(l[2]-l[0])/(e[0].length-1),a=(l[3]-l[1])/(e.length-1),s=function(t){t[0]=t[0]*o+i,t[1]=t[1]*a+r};return t.forEach((function(t){k(t,s)})),t}(function(t,e,n,l,i){for(var r=[],o=1;o<e.length;o++){var a=+e[o],s=Object.assign({},l,i[o]);s[n]=a;var u=c(Q(t,a),s);r.push(u)}return r}(o,e,l,i,r),o,t))},t.convex=kt,t.pointsWithinPolygon=Dt,t.concave=function(t,n){if(!P(n=n||{}))throw new Error("options is invalid");if(!t)throw new Error("points is required");var l=n.maxEdge||1/0;if(!w(l))throw new Error("maxEdge is invalid");var i=Tt(function(t){var e=[],n={};return T(t,(function(t){if(t.geometry){var l=t.geometry.coordinates.join("-");n.hasOwnProperty(l)||(e.push(t),n[l]=!0)}})),u(e)}(t));if(i.features=i.features.filter((function(t){var e=t.geometry.coordinates[0][0],i=t.geometry.coordinates[0][1],r=t.geometry.coordinates[0][2],o=jt(e,i,n),a=jt(i,r,n),s=jt(e,r,n);return o<=l&&a<=l&&s<=l})),i.features.length<1)return null;var r=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=function(t){var e={};R(t,(function(t){e[t.geometry.type]=!0}));var n=Object.keys(e);return 1===n.length?n[0]:null}(t);if(!l)throw new Error("geojson must be homogenous");switch(l){case"LineString":return function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=[],i=B(t,(function(t,e){return function(t,e){var n,l=t.geometry.coordinates,i=e.geometry.coordinates,r=Wt(l[0]),o=Wt(l[l.length-1]),s=Wt(i[0]),u=Wt(i[i.length-1]);if(r===u)n=i.concat(l.slice(1));else if(s===o)n=l.concat(i.slice(1));else if(r===s)n=l.slice(1).reverse().concat(i);else{if(o!==u)return null;n=l.concat(i.reverse().slice(1))}return a(n)}(t,e)||(l.push(t),e)}));return i&&l.push(i),l.length?1===l.length?l[0]:c(l.map((function(t){return t.coordinates}))):null}(t,e);case"Polygon":return function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=[];R(t,(function(t){l.push(t.geometry)}));var i=function(t,e){function n(t){t&&c.hasOwnProperty(t.type)&&c[t.type](t)}function l(t){var e=[];do{var n=u.get(t);e.push(t[0]<t[1]?n:~n)}while(t=t.next);return e}function i(t){return t.map(l)}var r=function(t){function e(t){null!=t&&u.hasOwnProperty(t.type)&&u[t.type](t)}function n(t){var e=t[0],n=t[1];e<r&&(r=e),e>a&&(a=e),n<o&&(o=n),n>s&&(s=n)}function l(t){t.forEach(n)}function i(t){t.forEach(l)}var r=1/0,o=1/0,a=-1/0,s=-1/0,u={GeometryCollection:function(t){t.geometries.forEach(e)},Point:function(t){n(t.coordinates)},MultiPoint:function(t){t.coordinates.forEach(n)},LineString:function(t){l(t.arcs)},MultiLineString:function(t){t.arcs.forEach(l)},Polygon:function(t){t.arcs.forEach(l)},MultiPolygon:function(t){t.arcs.forEach(i)}};for(var c in t)e(t[c]);return a>=r&&s>=o?[r,o,a,s]:void 0}(t=function(t){var e,n={};for(e in t)n[e]=zt(t[e]);return n}(t)),o=e>0&&r&&function(t,e,n){function l(t){return[Math.round((t[0]-u)*p),Math.round((t[1]-c)*f)]}function i(t,e){for(var n,l,i,r,o,a=-1,s=0,d=t.length,h=new Array(d);++a<d;)n=t[a],r=Math.round((n[0]-u)*p),o=Math.round((n[1]-c)*f),r===l&&o===i||(h[s++]=[l=r,i=o]);for(h.length=s;s<e;)s=h.push([h[0][0],h[0][1]]);return h}function r(t){return i(t,2)}function o(t){return i(t,4)}function a(t){return t.map(o)}function s(t){null!=t&&b.hasOwnProperty(t.type)&&b[t.type](t)}var u=e[0],c=e[1],d=e[2],h=e[3],p=d-u?(n-1)/(d-u):1,f=h-c?(n-1)/(h-c):1,b={GeometryCollection:function(t){t.geometries.forEach(s)},Point:function(t){t.coordinates=l(t.coordinates)},MultiPoint:function(t){t.coordinates=t.coordinates.map(l)},LineString:function(t){t.arcs=r(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(r)},Polygon:function(t){t.arcs=a(t.arcs)},MultiPolygon:function(t){t.arcs=t.arcs.map(a)}};for(var m in t)s(t[m]);return{scale:[1/p,1/f],translate:[u,c]}}(t,r,e),a=function(t){function e(t){var e,n,l,i,r,o,a,s;if(l=p.get(e=u[t[0]]))for(a=0,s=l.length;a<s;++a)if(function(t,e){var n=t[0],l=e[0],i=t[1];if(n-i!=l-e[1])return!1;for(;n<=i;++n,++l)if(!Kr(u[n],u[l]))return!1;return!0}(i=l[a],t))return t[0]=i[0],void(t[1]=i[1]);if(r=p.get(n=u[t[1]]))for(a=0,s=r.length;a<s;++a)if(function(t,e){var n=t[0],l=t[1],i=e[1];if(n-l!=e[0]-i)return!1;for(;n<=l;++n,--i)if(!Kr(u[n],u[i]))return!1;return!0}(o=r[a],t))return t[1]=o[0],void(t[0]=o[1]);l?l.push(t):p.set(e,[t]),r?r.push(t):p.set(n,[t]),f.push(t)}function n(t,e){var n=t[0],l=e[0],r=t[1]-n;if(r!==e[1]-l)return!1;for(var o=i(t),a=i(e),s=0;s<r;++s)if(!Kr(u[n+(s+o)%r],u[l+(s+a)%r]))return!1;return!0}function l(t,e){var n=t[0],l=e[1],r=t[1]-n;if(r!==l-e[0])return!1;for(var o=i(t),a=r-i(e),s=0;s<r;++s)if(!Kr(u[n+(s+o)%r],u[l-(s+a)%r]))return!1;return!0}function i(t){for(var e=t[0],n=t[1],l=e,i=l,r=u[l];++l<n;){var o=u[l];(o[0]<r[0]||o[0]===r[0]&&o[1]<r[1])&&(i=l,r=o)}return i-e}var r,o,a,s,u=t.coordinates,c=t.lines,d=t.rings,h=c.length+d.length;for(delete t.lines,delete t.rings,a=0,s=c.length;a<s;++a)for(r=c[a];r=r.next;)++h;for(a=0,s=d.length;a<s;++a)for(o=d[a];o=o.next;)++h;var p=Xr(2*h*1.4,to,Kr),f=t.arcs=[];for(a=0,s=c.length;a<s;++a){r=c[a];do{e(r)}while(r=r.next)}for(a=0,s=d.length;a<s;++a)if((o=d[a]).next)do{e(o)}while(o=o.next);else!function(t){var e,r,o,a,s;if(r=p.get(u[t[0]]))for(a=0,s=r.length;a<s;++a){if(n(o=r[a],t))return t[0]=o[0],void(t[1]=o[1]);if(l(o,t))return t[0]=o[1],void(t[1]=o[0])}if(r=p.get(e=u[t[0]+i(t)]))for(a=0,s=r.length;a<s;++a){if(n(o=r[a],t))return t[0]=o[0],void(t[1]=o[1]);if(l(o,t))return t[0]=o[1],void(t[1]=o[0])}r?r.push(t):p.set(e,[t]),f.push(t)}(o);return t}(function(t){var e,n,l,i=function(t){function e(t,e,n,l){if(h[n]!==t){h[n]=t;var i=p[n];if(i>=0){var r=f[n];i===e&&r===l||i===l&&r===e||(++m,b[n]=1)}else p[n]=e,f[n]=l}}function n(t){return to(s[t])}function l(t,e){return Kr(s[t],s[e])}var i,r,o,a,s=t.coordinates,u=t.lines,c=t.rings,d=function(){for(var t=Xr(1.4*s.length,n,l,Int32Array,-1,Int32Array),e=new Int32Array(s.length),i=0,r=s.length;i<r;++i)e[i]=t.maybeSet(i,i);return e}(),h=new Int32Array(s.length),p=new Int32Array(s.length),f=new Int32Array(s.length),b=new Int8Array(s.length),m=0;for(i=0,r=s.length;i<r;++i)h[i]=p[i]=f[i]=-1;for(i=0,r=u.length;i<r;++i){var g=u[i],_=g[0],y=g[1];for(o=d[_],a=d[++_],++m,b[o]=1;++_<=y;)e(i,o,o=a,a=d[_]);++m,b[a]=1}for(i=0,r=s.length;i<r;++i)h[i]=-1;for(i=0,r=c.length;i<r;++i){var A=c[i],v=A[0]+1,C=A[1];for(e(i,d[C-1],o=d[v-1],a=d[v]);++v<=C;)e(i,o,o=a,a=d[v])}h=p=f=null;var w,P=function(t,e,n,l,i){3===arguments.length&&(l=Array,i=null);for(var r=new l(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),o=t-1,a=0;a<t;++a)r[a]=i;return{add:function(l){for(var a=e(l)&o,s=r[a],u=0;s!=i;){if(n(s,l))return!0;if(++u>=t)throw new Error("full hashset");s=r[a=a+1&o]}return r[a]=l,!0},has:function(l){for(var a=e(l)&o,s=r[a],u=0;s!=i;){if(n(s,l))return!0;if(++u>=t)break;s=r[a=a+1&o]}return!1},values:function(){for(var t=[],e=0,n=r.length;e<n;++e){var l=r[e];l!=i&&t.push(l)}return t}}}(1.4*m,to,Kr);for(i=0,r=s.length;i<r;++i)b[w=d[i]]&&P.add(s[w]);return P}(t),r=t.coordinates,o=t.lines,a=t.rings;for(n=0,l=o.length;n<l;++n)for(var s=o[n],u=s[0],c=s[1];++u<c;)i.has(r[u])&&(e={0:u,1:s[1]},s[1]=u,s=s.next=e);for(n=0,l=a.length;n<l;++n)for(var d=a[n],h=d[0],p=h,f=d[1],b=i.has(r[h]);++p<f;)i.has(r[p])&&(b?(e={0:p,1:d[1]},d[1]=p,d=d.next=e):(function(t,e,n,l){Bt(t,e,n),Bt(t,e,e+l),Bt(t,e+l,n)}(r,h,f,f-p),r[f]=r[h],b=!0,p=h));return t}(function(t){function e(t){t&&u.hasOwnProperty(t.type)&&u[t.type](t)}function n(t){for(var e=0,n=t.length;e<n;++e)s[++r]=t[e];var l={0:r-n+1,1:r};return o.push(l),l}function l(t){for(var e=0,n=t.length;e<n;++e)s[++r]=t[e];var l={0:r-n+1,1:r};return a.push(l),l}function i(t){return t.map(l)}var r=-1,o=[],a=[],s=[],u={GeometryCollection:function(t){t.geometries.forEach(e)},LineString:function(t){t.arcs=n(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(n)},Polygon:function(t){t.arcs=t.arcs.map(l)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var c in t)e(t[c]);return{type:"Topology",coordinates:s,lines:o,rings:a,objects:t}}(t))),s=a.coordinates,u=Xr(1.4*a.arcs.length,Vt,qt);t=a.objects,a.bbox=r,a.arcs=a.arcs.map((function(t,e){return u.set(t,e),s.slice(t[0],t[1]+1)})),delete a.coordinates,s=null;var c={GeometryCollection:function(t){t.geometries.forEach(n)},LineString:function(t){t.arcs=l(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(l)},Polygon:function(t){t.arcs=t.arcs.map(l)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var d in t)n(t[d]);return o&&(a.transform=o,a.arcs=function(t){for(var e=-1,n=t.length;++e<n;){for(var l,i,r=t[e],o=0,a=1,s=r.length,u=r[0],c=u[0],d=u[1];++o<s;)l=(u=r[o])[0],i=u[1],l===c&&i===d||(r[a++]=[l-c,i-d],c=l,d=i);1===a&&(r[a++]=[0,0]),r.length=a}return t}(a.arcs)),a}({geoms:p(l).geometry});return function(t){return Yt(t,Ut.apply(this,arguments))}(i,i.objects.geoms.geometries)}(t,e);default:throw new Error(l+" is not supported")}}(i,n);return 1===r.coordinates.length&&(r.coordinates=r.coordinates[0],r.type="Polygon"),e(r)},t.collect=function(t,e,n,l){var i=Dr(6),r=e.features.map((function(t){return{minX:t.geometry.coordinates[0],minY:t.geometry.coordinates[1],maxX:t.geometry.coordinates[0],maxY:t.geometry.coordinates[1],property:t.properties[n]}}));return i.load(r),t.features.forEach((function(t){t.properties||(t.properties={});var e=z(t),n=[];i.search({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}).forEach((function(e){Mt([e.minX,e.minY],t)&&n.push(e.property)})),t.properties[l]=n})),t},t.flip=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if(!t)throw new Error("geojson is required");return!1!==n&&void 0!==n||(t=Rt(t)),k(t,(function(t){var e=t[0];t[0]=t[1],t[1]=e})),t},t.simplify=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=void 0!==e.tolerance?e.tolerance:1,l=e.highQuality||!1,i=e.mutate||!1;if(!t)throw new Error("geojson is required");if(n&&n<0)throw new Error("invalid tolerance");return!0!==i&&(t=Rt(t)),L(t,(function(t){!function(t,e,n){var l=t.type;if("Point"===l||"MultiPoint"===l)return t;$t(t,!0);var i=t.coordinates;switch(l){case"LineString":t.coordinates=Zt(i,e,n);break;case"MultiLineString":t.coordinates=i.map((function(t){return Zt(t,e,n)}));break;case"Polygon":t.coordinates=te(i,e,n);break;case"MultiPolygon":t.coordinates=i.map((function(t){return te(t,e,n)}))}}(t,n,l)})),t},t.bezierSpline=ee,t.tag=function(t,e,n,l){return t=Rt(t),e=Rt(e),T(t,(function(t){t.properties||(t.properties={}),T(e,(function(e){void 0===t.properties[l]&&Mt(t,e)&&(t.properties[l]=e.properties[n])}))})),t},t.sample=function(t,e){if(!t)throw new Error("featurecollection is required");if(null==e)throw new Error("num is required");if("number"!=typeof e)throw new Error("num must be a number");return u(function(t,e){for(var n,l,i=t.slice(0),r=t.length,o=r-e;r-- >o;)n=i[l=Math.floor((r+1)*Math.random())],i[l]=i[r],i[r]=n;return i.slice(o)}(t.features,e))},t.envelope=le,t.square=ie,t.circle=oe,t.midpoint=function(t,e){return re(t,jt(t,e)/2,ae(t,e))},t.center=se,t.centerOfMass=function t(e,n){switch(J(e)){case"Point":return e;case"Polygon":var i=[];k(e,(function(t){i.push(t)}));var r,o,a,s,u,c,d,h,p=ue(e,n),f=p.geometry.coordinates,b=0,m=0,g=0,_=i.map((function(t){return[t[0]-f[0],t[1]-f[1]]}));for(r=0;r<i.length-1;r++)s=(o=_[r])[0],u=(a=_[r+1])[0],g+=h=s*(d=a[1])-u*(c=o[1]),b+=(s+u)*h,m+=(c+d)*h;if(0===g)return p;var y=1/(.5*g*6);return l([f[0]+y*b,f[1]+y*m],n);default:var A=kt(e);return A?t(A,n):ue(e,n)}},t.centroid=ue,t.combine=function(t){function n(t,e,n){n?l[e].coordinates=l[e].coordinates.concat(t.geometry.coordinates):l[e].coordinates.push(t.geometry.coordinates),l[e].properties.push(t.properties)}var l={MultiPoint:{coordinates:[],properties:[]},MultiLineString:{coordinates:[],properties:[]},MultiPolygon:{coordinates:[],properties:[]}},i=Object.keys(l).reduce((function(t,e){return t[e.replace("Multi","")]=e,t}),{});return T(t,(function(t){t.geometry&&(l[t.geometry.type]?n(t,t.geometry.type,!0):i[t.geometry.type]&&n(t,i[t.geometry.type],!1))})),u(Object.keys(l).filter((function(t){return l[t].coordinates.length})).sort().map((function(t){return e({type:t,coordinates:l[t].coordinates},{collectedProperties:l[t].properties})})))},t.distance=jt,t.explode=ce,t.bbox=z,t.tesselate=function(t){if(!t.geometry||"Polygon"!==t.geometry.type&&"MultiPolygon"!==t.geometry.type)throw new Error("input must be a Polygon or MultiPolygon");var e={type:"FeatureCollection",features:[]};return"Polygon"===t.geometry.type?e.features=Se(t.geometry.coordinates):t.geometry.coordinates.forEach((function(t){e.features=e.features.concat(Se(t))})),e},t.bboxPolygon=ne,t.booleanPointInPolygon=Mt,t.nearestPoint=ke,t.nearestPointOnLine=$e,t.nearestPointToLine=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=n.properties||{};if(!t)throw new Error("points is required");if(!(t=function(t){var e=[];switch(t.geometry?t.geometry.type:t.type){case"GeometryCollection":return L(t,(function(t){"Point"===t.type&&e.push({type:"Feature",properties:{},geometry:t})})),{type:"FeatureCollection",features:e};case"FeatureCollection":return t.features=t.features.filter((function(t){return"Point"===t.geometry.type})),t;default:throw new Error("points must be a Point Collection")}}(t)).features.length)throw new Error("points must contain features");if(!e)throw new Error("line is required");if("LineString"!==J(e))throw new Error("line must be a LineString");var r=1/0,o=null;return T(t,(function(t){var n=ln(t,e,{units:l});n<r&&(r=n,o=t)})),o&&(o.properties=Object.assign({dist:r},o.properties,i)),o},t.planepoint=function(t,e){var n=G(t),l=X(e).coordinates[0];if(l.length<4)throw new Error("OuterRing of a Polygon must have 4 or more Positions.");var i=e.properties||{},r=i.a,o=i.b,a=i.c,s=n[0],u=n[1],c=l[0][0],d=l[0][1],h=void 0!==r?r:l[0][2],p=l[1][0],f=l[1][1],b=void 0!==o?o:l[1][2],m=l[2][0],g=l[2][1],_=void 0!==a?a:l[2][2];return(_*(s-c)*(u-f)+h*(s-p)*(u-g)+b*(s-m)*(u-d)-b*(s-c)*(u-g)-_*(s-p)*(u-d)-h*(s-m)*(u-f))/((s-c)*(u-f)+(s-p)*(u-g)+(s-m)*(u-d)-(s-c)*(u-g)-(s-p)*(u-d)-(s-m)*(u-f))},t.tin=Tt,t.bearing=ae,t.destination=re,t.kinks=function(t){var e,n,i={type:"FeatureCollection",features:[]};if("LineString"===(n="Feature"===t.type?t.geometry:t).type)e=[n.coordinates];else if("MultiLineString"===n.type)e=n.coordinates;else if("MultiPolygon"===n.type)e=[].concat.apply([],n.coordinates);else{if("Polygon"!==n.type)throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");e=n.coordinates}return e.forEach((function(t){e.forEach((function(e){for(var n=0;n<t.length-1;n++)for(var r=n;r<e.length-1;r++){if(t===e){if(1===Math.abs(n-r))continue;if(0===n&&r===t.length-2&&t[n][0]===t[t.length-1][0]&&t[n][1]===t[t.length-1][1])continue}var o=function(t,e,n,l,i,r,o,a){var s,u,c,d,h={x:null,y:null,onLine1:!1,onLine2:!1};return 0==(s=(a-r)*(n-t)-(o-i)*(l-e))?null!==h.x&&null!==h.y&&h:(d=(o-i)*(u=e-r)-(a-r)*(c=t-i),c=((n-t)*u-(l-e)*c)/s,h.x=t+(u=d/s)*(n-t),h.y=e+u*(l-e),u>=0&&u<=1&&(h.onLine1=!0),c>=0&&c<=1&&(h.onLine2=!0),!(!h.onLine1||!h.onLine2)&&[h.x,h.y])}(t[n][0],t[n][1],t[n+1][0],t[n+1][1],e[r][0],e[r][1],e[r+1][0],e[r+1][1]);o&&i.features.push(l([o[0],o[1]]))}}))})),i},t.pointOnFeature=on,t.area=sn,t.along=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i;if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}if(!w(e))throw new Error("distance must be a number");for(var r=0,o=0;o<i.length&&!(e>=r&&o===i.length-1);o++){if(r>=e){var a=e-r;if(a){var s=ae(i[o],i[o-1])-180;return re(i[o],a,s,n)}return l(i[o])}r+=jt(i[o],i[o+1],n)}return l(i[i.length-1])},t.length=hn,t.lineSlice=function(t,e,n){var l=H(n);if("LineString"!==J(n))throw new Error("line must be a LineString");for(var i,r=$e(n,t),o=$e(n,e),s=[(i=r.properties.index<=o.properties.index?[r,o]:[o,r])[0].geometry.coordinates],u=i[0].properties.index+1;u<i[1].properties.index+1;u++)s.push(l[u]);return s.push(i[1].geometry.coordinates),a(s,n.properties)},t.lineSliceAlong=pn,t.pointGrid=_n,t.truncate=yn,t.flatten=function(t){if(!t)throw new Error("geojson is required");var e=[];return R(t,(function(t){e.push(t)})),u(e)},t.lineIntersect=qe,t.lineChunk=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=n.reverse;if(!t)throw new Error("geojson is required");if(e<=0)throw new Error("segmentLength must be greater than 0");var r=[];return R(t,(function(t){i&&(t.geometry.coordinates=t.geometry.coordinates.reverse()),function(t,e,n,l){var i=hn(t,{units:n});if(i<=e)return l(t);var r=i/e;Number.isInteger(r)||(r=Math.floor(r)+1);for(var o=0;o<r;o++)l(pn(t,e*o,e*(o+1),{units:n}))}(t,e,l,(function(t){r.push(t)}))})),u(r)},t.unkinkPolygon=function(t){var e=[];return R(t,(function(t){"Polygon"===t.geometry.type&&T(function(t){function e(){for(var t=[],e=0;e<f.features.length;e++)-1==f.features[e].properties.parent&&t.push(e);if(t.length>1)for(e=0;e<t.length;e++){for(var n=-1,l=0;l<f.features.length;l++)t[e]!=l&&Mt(f.features[t[e]].geometry.coordinates[0][0],f.features[l],{ignoreBoundary:!0})&&sn(f.features[l])<1/0&&(n=l);f.features[t[e]].properties.parent=n}}function n(){for(var t=0;t<f.features.length;t++)if(-1==f.features[t].properties.parent){var e=f.features[t].properties.winding;f.features[t].properties.netWinding=e,l(t,e)}}function l(t,e){for(var n=0;n<f.features.length;n++)if(f.features[n].properties.parent==t){var i=e+f.features[n].properties.winding;f.features[n].properties.netWinding=i,l(n,i)}}if("Feature"!=t.type)throw new Error("The input must a geojson object of type Feature");if(void 0===t.geometry||null==t.geometry)throw new Error("The input must a geojson object with a non-empty geometry");if("Polygon"!=t.geometry.type)throw new Error("The input must be a geojson Polygon");for(var i=t.geometry.coordinates.length,o=[],a=0;a<i;a++){var s=t.geometry.coordinates[a];Cn(s[0],s[s.length-1])||s.push(s[0]),o.push.apply(o,s.slice(0,s.length-1))}if(!function(t){for(var e={},n=1,l=0,i=t.length;l<i;++l){if(e.hasOwnProperty(t[l])){n=0;break}e[t[l]]=1}return n}(o))throw new Error("The input polygon may not have duplicate vertices (except for the first and last vertex of each ring)");var c=o.length,d=function(t,e,n){function l(t,n,l,i){var s,u,c=r[t][n],d=r[t][n+1],h=r[l][i],p=r[l][i+1],f=function(t,e,n,l){if(An(t,n)||An(t,l)||An(e,n)||An(l,n))return null;var i=t[0],r=t[1],o=e[0],a=e[1],s=n[0],u=n[1],c=l[0],d=l[1],h=(i-o)*(u-d)-(r-a)*(s-c);return 0===h?null:[((i*a-r*o)*(s-c)-(i-o)*(s*d-u*c))/h,((i*a-r*o)*(u-d)-(r-a)*(s*d-u*c))/h]}(c,d,h,p);if(null!==f&&(u=p[0]!==h[0]?(f[0]-h[0])/(p[0]-h[0]):(f[1]-h[1])/(p[1]-h[1]),!((s=d[0]!==c[0]?(f[0]-c[0])/(d[0]-c[0]):(f[1]-c[1])/(d[1]-c[1]))>=1||s<=0||u>=1||u<=0))){var b=!a[f];b&&(a[f]=!0),o.push(e?e(f,t,n,c,d,s,l,i,h,p,u,b):f)}}function i(t,e){var n,l,i,o,a=r[t][e],s=r[t][e+1];return a[0]<s[0]?(n=a[0],l=s[0]):(n=s[0],l=a[0]),a[1]<s[1]?(i=a[1],o=s[1]):(i=s[1],o=a[1]),{minX:n,minY:i,maxX:l,maxY:o,ring:t,edge:e}}if("Polygon"!==t.geometry.type)throw new Error("The input feature must be a Polygon");void 0===n&&(n=1);var r=t.geometry.coordinates,o=[],a={};if(n){for(var s=[],u=0;u<r.length;u++)for(var c=0;c<r[u].length-1;c++)s.push(i(u,c));var d=Dr();d.load(s)}for(var h=0;h<r.length;h++)for(var p=0;p<r[h].length-1;p++)if(n)d.search(i(h,p)).forEach((function(t){l(h,p,t.ring,t.edge)}));else for(var f=0;f<r.length;f++)for(var b=0;b<r[f].length-1;b++)l(h,p,f,b);return e||(o={type:"Feature",geometry:{type:"MultiPoint",coordinates:o}}),o}(t,(function(t,e,n,l,i,r,o,a,s,u,c,d){return[t,e,n,l,i,r,o,a,s,u,c,d]})),h=d.length;if(0==h){var p=[];for(a=0;a<i;a++)p.push(r([t.geometry.coordinates[a]],{parent:-1,winding:function(t){for(var e=0,n=0;n<t.length-1;n++)t[n][0]<t[e][0]&&(e=n);if(vn([t[(e-1).modulo(t.length-1)],t[e],t[(e+1).modulo(t.length-1)]],!0))var l=1;else l=-1;return l}(t.geometry.coordinates[a])}));var f=u(p);return e(),n(),f}var b=[],m=[];for(a=0;a<i;a++){b.push([]);for(var g=0;g<t.geometry.coordinates[a].length-1;g++)b[a].push([new oo(t.geometry.coordinates[a][(g+1).modulo(t.geometry.coordinates[a].length-1)],1,[a,g],[a,(g+1).modulo(t.geometry.coordinates[a].length-1)],void 0)]),m.push(new ao(t.geometry.coordinates[a][g],[a,(g-1).modulo(t.geometry.coordinates[a].length-1)],[a,g],void 0,void 0,!1,!0))}for(a=0;a<h;a++)b[d[a][1]][d[a][2]].push(new oo(d[a][0],d[a][5],[d[a][1],d[a][2]],[d[a][6],d[a][7]],void 0)),d[a][11]&&m.push(new ao(d[a][0],[d[a][1],d[a][2]],[d[a][6],d[a][7]],void 0,void 0,!0,!0));var _=m.length;for(a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)b[a][g].sort((function(t,e){return t.param<e.param?-1:1}));var y=[];for(a=0;a<_;a++)y.push({minX:m[a].coord[0],minY:m[a].coord[1],maxX:m[a].coord[0],maxY:m[a].coord[1],index:a});var A=Dr();for(A.load(y),a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)for(var v=0;v<b[a][g].length;v++){w=v==b[a][g].length-1?b[a][(g+1).modulo(t.geometry.coordinates[a].length-1)][0].coord:b[a][g][v+1].coord;var C=A.search({minX:w[0],minY:w[1],maxX:w[0],maxY:w[1]})[0];b[a][g][v].nxtIsectAlongEdgeIn=C.index}for(a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)for(v=0;v<b[a][g].length;v++){var w=b[a][g][v].coord,P=(C=A.search({minX:w[0],minY:w[1],maxX:w[0],maxY:w[1]})[0]).index;P<c?m[P].nxtIsectAlongRingAndEdge2=b[a][g][v].nxtIsectAlongEdgeIn:Cn(m[P].ringAndEdge1,b[a][g][v].ringAndEdgeIn)?m[P].nxtIsectAlongRingAndEdge1=b[a][g][v].nxtIsectAlongEdgeIn:m[P].nxtIsectAlongRingAndEdge2=b[a][g][v].nxtIsectAlongEdgeIn}var x=[];for(a=0,g=0;g<i;g++){var S=a;for(v=0;v<t.geometry.coordinates[g].length-1;v++)m[a].coord[0]<m[S].coord[0]&&(S=a),a++;var k=m[S].nxtIsectAlongRingAndEdge2;for(v=0;v<m.length;v++)if(m[v].nxtIsectAlongRingAndEdge1==S||m[v].nxtIsectAlongRingAndEdge2==S){var M=v;break}var O=vn([m[M].coord,m[S].coord,m[k].coord],!0)?1:-1;x.push({isect:S,parent:-1,winding:O})}for(x.sort((function(t,e){return m[t.isect].coord>m[e.isect].coord?-1:1})),p=[];x.length>0;){var D=x.pop(),T=D.isect,E=D.parent,I=D.winding,L=p.length,j=[m[T].coord],R=T;if(m[T].ringAndEdge1Walkable)var F=m[T].ringAndEdge1,N=m[T].nxtIsectAlongRingAndEdge1;else F=m[T].ringAndEdge2,N=m[T].nxtIsectAlongRingAndEdge2;for(;!Cn(m[T].coord,m[N].coord);){j.push(m[N].coord);var Y=void 0;for(a=0;a<x.length;a++)if(x[a].isect==N){Y=a;break}if(null!=Y&&x.splice(Y,1),Cn(F,m[N].ringAndEdge1)){if(F=m[N].ringAndEdge2,m[N].ringAndEdge2Walkable=!1,m[N].ringAndEdge1Walkable){var U={isect:N};vn([m[R].coord,m[N].coord,m[m[N].nxtIsectAlongRingAndEdge2].coord],1==I)?(U.parent=E,U.winding=-I):(U.parent=L,U.winding=I),x.push(U)}R=N,N=m[N].nxtIsectAlongRingAndEdge2}else F=m[N].ringAndEdge1,m[N].ringAndEdge1Walkable=!1,m[N].ringAndEdge2Walkable&&(U={isect:N},vn([m[R].coord,m[N].coord,m[m[N].nxtIsectAlongRingAndEdge1].coord],1==I)?(U.parent=E,U.winding=-I):(U.parent=L,U.winding=I),x.push(U)),R=N,N=m[N].nxtIsectAlongRingAndEdge1}j.push(m[N].coord),p.push(r([j],{index:L,parent:E,winding:I,netWinding:void 0}))}return f=u(p),e(),n(),f}(t),(function(n){e.push(r(n.geometry.coordinates,t.properties))}))})),u(e)},t.greatCircle=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.npoints,r=n.offset;return t=G(t),e=G(e),i=i||100,r=r||10,new fo({x:t[0],y:t[1]},{x:e[0],y:e[1]},l=l||{}).Arc(i,{offset:r}).json()},t.lineSegment=Ve,t.lineSplit=function(t,e){if(!t)throw new Error("line is required");if(!e)throw new Error("splitter is required");var n=J(t),l=J(e);if("LineString"!==n)throw new Error("line must be LineString");if("FeatureCollection"===l)throw new Error("splitter cannot be a FeatureCollection");if("GeometryCollection"===l)throw new Error("splitter cannot be a GeometryCollection");var i=yn(e,{precision:7});switch(l){case"Point":return Pn(t,i);case"MultiPoint":return wn(t,i);case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":return wn(t,qe(t,i))}},t.lineArc=kn,t.polygonToLine=On,t.lineToPolygon=Tn,t.bboxClip=function(t,e){var n=function(t){return t.geometry?t.geometry.type:t.type}(t),l=H(t),i=t.properties;switch(n){case"LineString":case"MultiLineString":var o=[];return"LineString"===n&&(l=[l]),l.forEach((function(t){bo(t,e,o)})),1===o.length?a(o[0],i):c(o,i);case"Polygon":return r(Fn(l,e),i);case"MultiPolygon":return h(l.map((function(t){return Fn(t,e)})),i);default:throw new Error("geometry "+n+" not supported")}},t.lineOverlap=zn,t.sector=function(t,e,n,l,i){if(!P(i=i||{}))throw new Error("options is invalid");if(!t)throw new Error("center is required");if(null==n)throw new Error("bearing1 is required");if(null==l)throw new Error("bearing2 is required");if(!e)throw new Error("radius is required");if("object"!=typeof i)throw new Error("options must be an object");if(Hn(n)===Hn(l))return oe(t,e,i);var o=H(t),a=[[o]];return k(kn(t,e,n,l,i),(function(t){a[0].push(t)})),a[0].push(o),r(a)},t.rhumbBearing=Xe,t.rhumbDistance=Je,t.rhumbDestination=Vn,t.polygonTangents=function(t,e){var n,i,r,o=H(t),a=H(e);switch(J(e)){case"Polygon":n=a[0][0],i=a[0][0],r=Wn(a[0][0],a[0][a[0].length-1],o);var s=qn(a[0],o,r,void 0,n,i);n=s[0],i=s[1];break;case"MultiPolygon":n=a[0][0][0],i=a[0][0][0],r=Wn(a[0][0][0],a[0][0][a[0][0].length-1],o),a.forEach((function(t){var e=qn(t[0],o,r,void 0,n,i);n=e[0],i=e[1]}))}return u([l(n),l(i)])},t.rewind=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.reverse||!1,l=e.mutate||!1;if(!t)throw new Error("<geojson> is required");if("boolean"!=typeof n)throw new Error("<reverse> must be a boolean");if("boolean"!=typeof l)throw new Error("<mutate> must be a boolean");!1===l&&(t=Rt(t));var i=[];switch(t.type){case"GeometryCollection":return L(t,(function(t){Xn(t,n)})),t;case"FeatureCollection":return T(t,(function(t){T(Xn(t,n),(function(t){i.push(t)}))})),u(i)}return Xn(t,n)},t.isobands=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.zProperty||"elevation",i=n.commonProperties||{},o=n.breaksProperties||[];if($(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks is not an Array");if(!P(i))throw new Error("commonProperties is not an Object");if(!Array.isArray(o))throw new Error("breaksProperties is not an Array");var a=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.zProperty||"elevation",l=e.flip,i=e.flags;$(t,"Point","input must contain Points");for(var r=function(t,e){var n={};return T(t,(function(t){var e=H(t)[1];n[e]||(n[e]=[]),n[e].push(t)})),Object.keys(n).map((function(t){return n[t].sort((function(t,e){return H(t)[0]-H(e)[0]}))})).sort((function(t,n){return e?H(t[0])[1]-H(n[0])[1]:H(n[0])[1]-H(t[0])[1]}))}(t,l),o=[],a=0;a<r.length;a++){for(var s=r[a],u=[],c=0;c<s.length;c++){var d=s[c];u.push(d.properties[n]?d.properties[n]:0),!0===i&&(d.properties.matrixPosition=[a,c])}o.push(u)}return o}(t,{zProperty:l,flip:!0}),s=function(t,e,n){for(var l=[],i=1;i<e.length;i++){var o=+e[i-1],a=+e[i],s=function(t){for(var e=t.map((function(t){return{lrCoordinates:t,grouped:!1}})),n=[];!function(t){for(var e=0;e<t.length;e++)if(!1===t[e].grouped)return!1;return!0}(e);)for(var l=0;l<e.length;l++)if(!e[l].grouped){var i=[];i.push(e[l].lrCoordinates),e[l].grouped=!0;for(var o=r([e[l].lrCoordinates]),a=l+1;a<e.length;a++)e[a].grouped||function(t,e){for(var n=ce(t),l=0;l<n.features.length;l++)if(!Mt(n.features[l],e))return!1;return!0}(r([e[a].lrCoordinates]),o)&&(i.push(e[a].lrCoordinates),e[a].grouped=!0);n.push(i)}return n}(function(t){var e=[],n=[];t.forEach((function(t){var l=sn(r([t]));n.push(l),e.push({ring:t,area:l})})),n.sort((function(t,e){return e-t}));var l=[];return n.forEach((function(t){for(var n=0;n<e.length;n++)if(e[n].area===t){l.push(e[n].ring),e.splice(n,1);break}})),l}(Qn(t,o,a-o))),u={};u.groupedRings=s,u[n]=o+"-"+a,l.push(u)}return l}(a,e,l);return u((s=function(t,e,n){var l=z(n),i=l[0],r=l[1],o=(l[2]-l[0])/(e[0].length-1),a=(l[3]-l[1])/(e.length-1),s=function(t){t[0]=t[0]*o+i,t[1]=t[1]*a+r};return t.forEach((function(t){t.groupedRings.forEach((function(t){t.forEach((function(t){t.forEach(s)}))}))})),t}(s,a,t)).map((function(t,e){if(o[e]&&!P(o[e]))throw new Error("Each mappedProperty is required to be an Object");var n=Object.assign({},i,o[e]);return n[l]=t[l],h(t.groupedRings,n)})))},t.transformRotate=el,t.transformScale=nl,t.transformTranslate=function(t,e,n,l){if(!P(l=l||{}))throw new Error("options is invalid");var i=l.units,r=l.zTranslation,o=l.mutate;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("distance is required");if(r&&"number"!=typeof r&&isNaN(r))throw new Error("zTranslation is not a number");if(r=void 0!==r?r:0,0===e&&0===r)return t;if(null==n||isNaN(n))throw new Error("direction is required");return e<0&&(e=-e,n=-n),!1!==o&&void 0!==o||(t=Rt(t)),k(t,(function(t){var l=H(Vn(t,e,n,{units:i}));t[0]=l[0],t[1]=l[1],r&&3===t.length&&(t[2]+=r)})),t},t.lineOffset=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("distance is required");var i=J(t),r=t.properties;switch(i){case"LineString":return ol(t,e,l);case"MultiLineString":var o=[];return R(t,(function(t){o.push(ol(t,e,l).geometry.coordinates)})),c(o,r);default:throw new Error("geometry "+i+" is not supported")}},t.polygonize=function(t){var e=fa.fromGeoJson(t);e.deleteDangles(),e.deleteCutEdges();var n=[],l=[];return e.getEdgeRings().filter((function(t){return t.isValid()})).forEach((function(t){t.isHole()?n.push(t):l.push(t)})),n.forEach((function(t){ha.findEdgeRingContaining(t,l)&&l.push(t)})),u(l.map((function(t){return t.toPolygon()})))},t.booleanDisjoint=function(t,e){var n;return R(t,(function(t){R(e,(function(e){if(!1===n)return!1;n=function(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t.coordinates,e.coordinates);case"LineString":return!ul(e,t);case"Polygon":return!Mt(t,e)}break;case"LineString":switch(e.type){case"Point":return!ul(t,e);case"LineString":return!function(t,e){return qe(t,e).features.length>0}(t,e);case"Polygon":return!cl(e,t)}break;case"Polygon":switch(e.type){case"Point":return!Mt(e,t);case"LineString":return!cl(t,e);case"Polygon":return!function(t,e){for(var n=0;n<t.coordinates[0].length;n++)if(Mt(t.coordinates[0][n],e))return!0;for(var l=0;l<e.coordinates[0].length;l++)if(Mt(e.coordinates[0][l],t))return!0;return!1}(e,t)}}}(t.geometry,e.geometry)}))})),n},t.booleanContains=function(t,e){var n=J(t),l=J(e),i=X(t),r=X(e),o=H(t),a=H(e);switch(n){case"Point":switch(l){case"Point":return hl(o,a);default:throw new Error("feature2 "+l+" geometry not supported")}case"MultiPoint":switch(l){case"Point":return function(t,e){var n,l=!1;for(n=0;n<t.coordinates.length;n++)if(hl(t.coordinates[n],e.coordinates)){l=!0;break}return l}(i,r);case"MultiPoint":return function(t,e){for(var n=0;n<e.coordinates.length;n++){for(var l=!1,i=0;i<t.coordinates.length;i++)if(hl(e.coordinates[n],t.coordinates[i])){l=!0;break}if(!l)return!1}return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"Point":return fn(r,i,{ignoreEndVertices:!0});case"LineString":return function(t,e){for(var n=!1,l=0;l<e.coordinates.length;l++)if(fn({type:"Point",coordinates:e.coordinates[l]},t,{ignoreEndVertices:!0})&&(n=!0),!fn({type:"Point",coordinates:e.coordinates[l]},t,{ignoreEndVertices:!1}))return!1;return n}(i,r);case"MultiPoint":return function(t,e){for(var n=!1,l=0;l<e.coordinates.length;l++)if(fn(e.coordinates[l],t,{ignoreEndVertices:!0})&&(n=!0),!fn(e.coordinates[l],t))return!1;return!!n}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"Point":return Mt(r,i,{ignoreBoundary:!0});case"LineString":return function(t,e){var n=!1,l=0;if(!dl(z(t),z(e)))return!1;for(;l<e.coordinates.length-1;l++)if(Mt({type:"Point",coordinates:function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(e.coordinates[l],e.coordinates[l+1])},t,{ignoreBoundary:!0})){n=!0;break}return n}(i,r);case"Polygon":return function(t,e){if(!dl(z(t),z(e)))return!1;for(var n=0;n<e.coordinates[0].length;n++)if(!Mt(e.coordinates[0][n],t))return!1;return!0}(i,r);case"MultiPoint":return function(t,e){for(var n=0;n<e.coordinates.length;n++)if(!Mt(e.coordinates[n],t,{ignoreBoundary:!0}))return!1;return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}},t.booleanCrosses=function(t,e){var n=J(t),l=J(e),i=X(t),r=X(e);switch(n){case"MultiPoint":switch(l){case"LineString":return pl(i,r);case"Polygon":return bl(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"MultiPoint":return pl(r,i);case"LineString":return function(t,e){if(qe(t,e).features.length>0)for(var n=0;n<t.coordinates.length-1;n++)for(var l=0;l<e.coordinates.length-1;l++){var i=!0;if(0!==l&&l!==e.coordinates.length-2||(i=!1),ml(t.coordinates[n],t.coordinates[n+1],e.coordinates[l],i))return!0}return!1}(i,r);case"Polygon":return fl(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"MultiPoint":return bl(r,i);case"LineString":return fl(r,i);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}},t.booleanClockwise=$n,t.booleanOverlap=Al,t.booleanPointOnLine=fn,t.booleanEqual=function(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");return J(t)===J(e)&&new ya({precision:6}).compare($t(t),$t(e))},t.booleanWithin=bn,t.clone=Rt,t.cleanCoords=$t,t.clustersDbscan=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.minPoints,i=n.units;if($(t,"Point","Input must contain Points"),null==e)throw new Error("maxDistance is required");if(!(Math.sign(e)>0))throw new Error("Invalid maxDistance");if(!(null==l||Math.sign(l)>0))throw new Error("Invalid minPoints");t=Rt(t),l=l||3;var r=new Pa.DBSCAN,o=-1;return r.run(I(t),v(e,i),l,jt).forEach((function(e){o++,e.forEach((function(e){var n=t.features[e];n.properties||(n.properties={}),n.properties.cluster=o,n.properties.dbscan="core"}))})),r.noise.forEach((function(e){var n=t.features[e];n.properties||(n.properties={}),n.properties.dbscan=n.properties.cluster?"edge":"noise"})),t},t.clustersKmeans=function(t,e){if("object"!=typeof(e=e||{}))throw new Error("options is invalid");var n=e.numberOfClusters,l=e.mutate;$(t,"Point","Input must contain Points");var i=t.features.length;(n=n||Math.round(Math.sqrt(i/2)))>i&&(n=i),!1!==l&&void 0!==l||(t=Rt(t));var r=I(t),o=r.slice(0,n),a=function(t,e,n,l){var i=[],r=[],o=[],a=[],s=!1,u=1e4,c=t.length,d=t[0].length,h=d>0,p=[];if(n)i="kmrand"==n?function(t,e){for(var n={},l=[],i=e<<2,r=t.length,o=t[0].length>0;l.length<e&&i-- >0;){var a=t[Math.floor(Math.random()*r)],s=o?a.join("_"):""+a;n[s]||(n[s]=!0,l.push(a))}if(l.length<e)throw new Error("Error initializating clusters");return l}(t,e):"kmpp"==n?function(t,e){var n=t[0].length?Sa:ka,l=[],i=t.length,r=t[0].length>0,o=t[Math.floor(Math.random()*i)];for(r&&o.join("_"),l.push(o);l.length<e;){for(var a=[],s=l.length,u=0,c=[],d=0;d<i;d++){for(var h=1/0,p=0;p<s;p++){var f=n(t[d],l[p]);f<=h&&(h=f)}a[d]=h}for(var b=0;b<i;b++)u+=a[b];for(var m=0;m<i;m++)c[m]={i:m,v:t[m],pr:a[m]/u,cs:0};c.sort((function(t,e){return t.pr-e.pr})),c[0].cs=c[0].pr;for(var g=1;g<i;g++)c[g].cs=c[g-1].cs+c[g].pr;for(var _=Math.random(),y=0;y<i-1&&c[y++].cs<_;);l.push(c[y-1].v)}return l}(t,e):n;else for(var f={};i.length<e;){var b=Math.floor(Math.random()*c);f[b]||(f[b]=!0,i.push(t[b]))}do{vl(e,0,p);for(var m=0;m<c;m++){for(var g=1/0,_=0,y=0;y<e;y++)(a=h?Ma(t[m],i[y]):Math.abs(t[m]-i[y]))<=g&&(g=a,_=y);o[m]=_,p[_]++}for(var A=[],v=(r=[],0);v<e;v++)A[v]=h?vl(d,0,A[v]):0,r[v]=i[v];if(h){for(var C=0;C<e;C++)i[C]=[];for(var w=0;w<c;w++)for(var P=A[o[w]],x=t[w],S=0;S<d;S++)P[S]+=x[S];s=!0;for(var k=0;k<e;k++){for(var M=i[k],O=A[k],D=r[k],T=p[k],E=0;E<d;E++)M[E]=O[E]/T||0;if(s)for(var I=0;I<d;I++)if(D[I]!=M[I]){s=!1;break}}}else{for(var L=0;L<c;L++)A[o[L]]+=t[L];for(var j=0;j<e;j++)i[j]=A[j]/p[j]||0;s=!0;for(var R=0;R<e;R++)if(r[R]!=i[R]){s=!1;break}}s=s||--u<=0}while(!s);return{it:1e4-u,k:e,idxs:o,centroids:i}}(r,n,o),s={};return a.centroids.forEach((function(t,e){s[e]=t})),T(t,(function(t,e){var n=a.idxs[e];t.properties.cluster=n,t.properties.centroid=s[n]})),t},t.pointToLineDistance=ln,t.booleanParallel=function(t,e){if(!t)throw new Error("line1 is required");if(!e)throw new Error("line2 is required");if("LineString"!==Cl(t,"line1"))throw new Error("line1 must be a LineString");if("LineString"!==Cl(e,"line2"))throw new Error("line2 must be a LineString");for(var n=Ve($t(t)).features,l=Ve($t(e)).features,i=0;i<n.length;i++){var r=n[i].geometry.coordinates;if(!l[i])break;if(!function(t,e){return _(Xe(t[0],t[1]))===_(Xe(e[0],e[1]))}(r,l[i].geometry.coordinates))return!1}return!0},t.shortestPath=function(t,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.resolution,o=i.minDistance,s=i.obstacles||u([]);if(!t)throw new Error("start is required");if(!n)throw new Error("end is required");if(r&&!w(r)||r<=0)throw new Error("options.resolution must be a number, greater than 0");if(o)throw new Error("options.minDistance is not yet implemented");var c=G(t),d=G(n);switch(t=l(c),n=l(d),J(s)){case"FeatureCollection":if(0===s.features.length)return a([c,d]);break;case"Polygon":s=u([e(X(s))]);break;default:throw new Error("invalid obstacles")}var h=s;h.features.push(t),h.features.push(n);var p=z(nl(ne(z(h)),1.15));r||(r=jt([p[0],p[1]],[p[2],p[1]],i)/100),h.features.pop(),h.features.pop();for(var f=p[0],b=p[1],m=p[2],g=p[3],_=r/jt([f,b],[m,b],i)*(m-f),y=r/jt([f,b],[f,g],i)*(g-b),A=m-f,v=g-b,C=(A-Math.floor(A/_)*_)/2,x=[],S=[],k=[],M=[],O=1/0,D=1/0,T=g-(v-Math.floor(v/y)*y)/2,E=0;T>=b;){for(var I=[],L=[],j=f+C,R=0;j<=m;){var F=l([j,T]),N=function(t,e){for(var n=0;n<e.features.length;n++)if(Mt(t,e.features[n]))return!0;return!1}(F,s);I.push(N?0:1),L.push(j+"|"+T);var Y=jt(F,t);!N&&Y<O&&(O=Y,k={x:R,y:E});var U=jt(F,n);!N&&U<D&&(D=U,M={x:R,y:E}),j+=_,R++}S.push(I),x.push(L),T-=y,E++}var B=new Pl(S,{diagonal:!0}),H=[c];return Oa.search(B,B.grid[k.y][k.x],B.grid[M.y][M.x]).forEach((function(t){var e=x[t.x][t.y].split("|");H.push([+e[0],+e[1]])})),H.push(d),$t(a(H))},t.voronoi=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox||[-180,-85,180,85];if(!t)throw new Error("points is required");if(!Array.isArray(n))throw new Error("bbox is invalid");return $(t,"Point","points"),u(function(){function t(t){return new Jl(t.map((function(l,i){var r=[Math.round(e(l,i,t)/Na)*Na,Math.round(n(l,i,t)/Na)*Na];return r.index=i,r.data=l,r})),l)}var e=kl,n=Ml,l=null;return t.polygons=function(e){return t(e).polygons()},t.links=function(e){return t(e).links()},t.triangles=function(e){return t(e).triangles()},t.x=function(n){return arguments.length?(e="function"==typeof n?n:Da(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Da(+e),t):n},t.extent=function(e){return arguments.length?(l=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],t):l&&[[l[0][0],l[0][1]],[l[1][0],l[1][1]]]},t.size=function(e){return arguments.length?(l=null==e?null:[[0,0],[+e[0],+e[1]]],t):l&&[l[1][0]-l[0][0],l[1][1]-l[0][1]]},t}().x((function(t){return t.geometry.coordinates[0]})).y((function(t){return t.geometry.coordinates[1]})).extent([[n[0],n[1]],[n[2],n[3]]]).polygons(t.features).map(Ql))},t.ellipse=Zl,t.centerMean=ei,t.centerMedian=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.counter||10;if(!w(n))throw new Error("counter must be a number");var l=e.weight,i=ei(t,{weight:e.weight}),r=u([]);return T(t,(function(t){r.features.push(ue(t,{weight:t.properties[l]}))})),r.properties={tolerance:e.tolerance,medianCandidates:[]},ni(i.geometry.coordinates,[0,0],r,n)},t.standardDeviationalEllipse=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.steps||64,l=e.weight,i=e.properties||{};if(!w(n))throw new Error("steps must be a number");if(!P(i))throw new Error("properties must be a number");var r=I(t).length,o=ei(t,{weight:l}),a=0,s=0,c=0;T(t,(function(t){var e=t.properties[l]||1,n=li(H(t),H(o));a+=Math.pow(n.x,2)*e,s+=Math.pow(n.y,2)*e,c+=n.x*n.y*e}));var d=a-s,h=Math.sqrt(Math.pow(d,2)+4*Math.pow(c,2)),p=Math.atan((d+h)/(2*c)),f=180*p/Math.PI,b=0,m=0,g=0;T(t,(function(t){var e=t.properties[l]||1,n=li(H(t),H(o));b+=Math.pow(n.x*Math.cos(p)-n.y*Math.sin(p),2)*e,m+=Math.pow(n.x*Math.sin(p)+n.y*Math.cos(p),2)*e,g+=e}));var _=Math.sqrt(2*b/g),y=Math.sqrt(2*m/g),A=Zl(o,_,y,{units:"degrees",angle:f,steps:n,properties:i}),v=Dt(t,u([A])),C={meanCenterCoordinates:H(o),semiMajorAxis:_,semiMinorAxis:y,numberOfFeatures:r,angle:f,percentageWithinEllipse:100*I(v).length/r};return A.properties.standardDeviationalEllipse=C,A},t.difference=function(t,n){var l=X(t),i=X(n),r=t.properties||{};if(l=Ti(l),i=Ti(i),!l)return null;if(!i)return e(l,r);var o=new Xu,a=o.read(l),s=o.read(i),u=Jh.difference(a,s);return u.isEmpty()?null:e((new Ku).write(u),r)},t.buffer=function(t,e,n){var l=(n=n||{}).units,i=n.steps||64;if(!t)throw new Error("geojson is required");if("object"!=typeof n)throw new Error("options must be an object");if("number"!=typeof i)throw new Error("steps must be an number");if(void 0===e)throw new Error("radius is required");if(i<=0)throw new Error("steps must be greater than 0");i=i||64,l=l||"kilometers";var r=[];switch(t.type){case"GeometryCollection":return L(t,(function(t){var n=sr(t,e,l,i);n&&r.push(n)})),u(r);case"FeatureCollection":return T(t,(function(t){var n=sr(t,e,l,i);n&&T(n,(function(t){t&&r.push(t)}))})),u(r)}return sr(t,e,l,i)},t.union=hr,t.intersect=pr,t.dissolve=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.propertyName;$(t,"Polygon","dissolve");var l=Rt(t),i=l.features,r=[];i.forEach((function(t,e){t.properties.origIndexPosition=e}));var o=ze();for(var s in o.load(l),i){var u=i[s],c=!1;if(o.search(u).features.forEach((function(t){u=i[s];var e=t.properties.origIndexPosition;if(r.length>0&&0!==e)if(e>r[r.length-1])e-=r.length;else{var l=fr(e,r);0!==l&&(e-=l)}if(e!==+s){var d=i[e];d&&u&&(void 0!==n&&d.properties[n]!==u.properties[n]||Al(u,d)&&function(t,e){return qe(a(I(t)),a(I(e))).features.length>0}(u,d)&&(i[s]=hr(u,d),r.push(t.properties.origIndexPosition),r.sort((function(t,e){return t-e})),o.remove(t),i.splice(e,1),u.properties.origIndexPosition=s,o.remove(u,(function(t,e){return t.properties.origIndexPosition===e.properties.origIndexPosition})),c=!0))}})),c){if(!u)continue;u.properties.origIndexPosition=s,o.insert(u),s--}}return i.forEach((function(t){delete t.properties.origIndexPosition,delete t.bbox})),l},t.hexGrid=br,t.mask=function(t,e){var n=function(t){return r(t&&t.geometry.coordinates||[[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]])}(e),l=function(t){var e=[],n=[];return R(t,(function(t){var l=t.geometry.coordinates,i=l[0],o=l.slice(1);e.push(r([i])),o.forEach((function(t){n.push(r([t]))}))})),[u(e),u(n)]}(t),i=l[0],o=l[1];return function(t,e,n){var l=[];return l.push(t.geometry.coordinates[0]),R(e,(function(t){l.push(t.geometry.coordinates[0])})),R(n,(function(t){l.push(t.geometry.coordinates[0])})),r(l)}(n,i=mr(i),o=mr(o))},t.squareGrid=_r,t.triangleGrid=yr,t.interpolate=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.gridType,i=n.property,r=n.weight;if(!t)throw new Error("points is required");if($(t,"Point","input must contain Points"),!e)throw new Error("cellSize is required");if(void 0!==r&&"number"!=typeof r)throw new Error("weight must be a number");i=i||"elevation",l=l||"square",r=r||1;var o,a=z(t);switch(l){case"point":case"points":o=_n(a,e,n);break;case"square":case"squares":o=_r(a,e,n);break;case"hex":case"hexes":o=br(a,e,n);break;case"triangle":case"triangles":o=yr(a,e,n);break;default:throw new Error("invalid gridType")}var s=[];return T(o,(function(e){var o=0,a=0;T(t,(function(t){var s,u=jt("point"===l?e:ue(e),t,n);if(void 0!==i&&(s=t.properties[i]),void 0===s&&(s=t.geometry.coordinates[2]),void 0===s)throw new Error("zValue is missing");0===u&&(o=s);var c=1/Math.pow(u,r);a+=c,o+=c*s}));var u=Rt(e);u.properties[i]=o/a,s.push(u)})),u(s)},t.pointOnSurface=on,t.polygonToLineString=On,t.lineStringToPolygon=Tn,t.inside=Mt,t.within=Dt,t.bezier=ee,t.nearest=ke,t.pointOnLine=$e,t.lineDistance=hn,t.radians2degrees=y,t.degrees2radians=A,t.distanceToDegrees=g,t.distanceToRadians=m,t.radiansToDistance=b,t.bearingToAngle=_,t.convertDistance=v,t.toMercator=Qe,t.toWgs84=Ze,t.randomPosition=ii,t.randomPoint=ri,t.randomPolygon=oi,t.randomLineString=ai,t.getCluster=ui,t.clusterEach=ci,t.clusterReduce=di,t.createBins=hi,t.applyFilter=pi,t.propertiesContainsFilter=fi,t.filterProperties=bi,t.earthRadius=Ar,t.factors=vr,t.unitsFactors=Cr,t.areaFactors=wr,t.feature=e,t.geometry=n,t.point=l,t.points=i,t.polygon=r,t.polygons=o,t.lineString=a,t.lineStrings=s,t.featureCollection=u,t.multiLineString=c,t.multiPoint=d,t.multiPolygon=h,t.geometryCollection=p,t.round=f,t.radiansToLength=b,t.lengthToRadians=m,t.lengthToDegrees=g,t.bearingToAzimuth=_,t.radiansToDegrees=y,t.degreesToRadians=A,t.convertLength=v,t.convertArea=C,t.isNumber=w,t.isObject=P,t.validateBBox=x,t.validateId=S,t.getCoord=G,t.getCoords=H,t.containsNumber=V,t.geojsonType=q,t.featureOf=W,t.collectionOf=$,t.getGeom=X,t.getGeomType=K,t.getType=J,t.coordEach=k,t.coordReduce=M,t.propEach=O,t.propReduce=D,t.featureEach=T,t.featureReduce=E,t.coordAll=I,t.geomEach=L,t.geomReduce=j,t.flattenEach=R,t.flattenReduce=F,t.segmentEach=N,t.segmentReduce=Y,t.lineEach=U,t.lineReduce=B,Object.defineProperty(t,"__esModule",{value:!0})}(e)},WYrj:function(t,e,n){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},WiHW:function(t,e){var n=1e3,l=6e4,i=60*l,r=24*i;function o(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var a,s=typeof t;if("string"===s&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*r;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*l;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(t);if("number"===s&&!1===isNaN(t))return e.long?o(a=t,r,"day")||o(a,i,"hour")||o(a,l,"minute")||o(a,n,"second")||a+" ms":function(t){return t>=r?Math.round(t/r)+"d":t>=i?Math.round(t/i)+"h":t>=l?Math.round(t/l)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},Wm4p:function(t,e,n){var l,i=n("dkv/"),r=n("WLGk"),o=n("ypnn"),a=n("zMFY"),s=n("oIG/");"undefined"!=typeof ArrayBuffer&&(l=n("g5Dd"));var u="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),c="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=u||c;e.protocol=3;var h=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=i(h),f={type:"error",data:"parser error"},b=n("14A5");function m(t,e,n){for(var l=new Array(t.length),i=a(t.length,n),r=function(t,n,i){e(n,(function(e,n){l[t]=n,i(e,l)}))},o=0;o<t.length;o++)r(o,t[o],i)}e.encodePacket=function(t,n,l,i){"function"==typeof n&&(i=n,n=!1),"function"==typeof l&&(i=l,l=null);var r=void 0===t.data?void 0:t.data.buffer||t.data;if("undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);var i=t.data,r=new Uint8Array(i),o=new Uint8Array(1+i.byteLength);o[0]=h[t.type];for(var a=0;a<r.length;a++)o[a+1]=r[a];return l(o.buffer)}(t,n,i);if(void 0!==b&&r instanceof b)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);if(d)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);var i=new FileReader;return i.onload=function(){e.encodePacket({type:t.type,data:i.result},n,!0,l)},i.readAsArrayBuffer(t.data)}(t,n,l);var i=new Uint8Array(1);return i[0]=h[t.type],l(new b([i.buffer,t.data]))}(t,n,i);if(r&&r.base64)return function(t,n){return n("b"+e.packets[t.type]+t.data.data)}(t,i);var o=h[t.type];return void 0!==t.data&&(o+=l?s.encode(String(t.data),{strict:!1}):String(t.data)),i(""+o)},e.encodeBase64Packet=function(t,n){var l,i="b"+e.packets[t.type];if(void 0!==b&&t.data instanceof b){var r=new FileReader;return r.onload=function(){var t=r.result.split(",")[1];n(i+t)},r.readAsDataURL(t.data)}try{l=String.fromCharCode.apply(null,new Uint8Array(t.data))}catch(u){for(var o=new Uint8Array(t.data),a=new Array(o.length),s=0;s<o.length;s++)a[s]=o[s];l=String.fromCharCode.apply(null,a)}return i+=btoa(l),n(i)},e.decodePacket=function(t,n,l){if(void 0===t)return f;if("string"==typeof t){if("b"===t.charAt(0))return e.decodeBase64Packet(t.substr(1),n);if(l&&!1===(t=function(t){try{t=s.decode(t,{strict:!1})}catch(e){return!1}return t}(t)))return f;var i=t.charAt(0);return Number(i)==i&&p[i]?t.length>1?{type:p[i],data:t.substring(1)}:{type:p[i]}:f}i=new Uint8Array(t)[0];var r=o(t,1);return b&&"blob"===n&&(r=new b([r])),{type:p[i],data:r}},e.decodeBase64Packet=function(t,e){var n=p[t.charAt(0)];if(!l)return{type:n,data:{base64:!0,data:t.substr(1)}};var i=l.decode(t.substr(1));return"blob"===e&&b&&(i=new b([i])),{type:n,data:i}},e.encodePayload=function(t,n,l){"function"==typeof n&&(l=n,n=null);var i=r(t);return n&&i?b&&!d?e.encodePayloadAsBlob(t,l):e.encodePayloadAsArrayBuffer(t,l):t.length?void m(t,(function(t,l){e.encodePacket(t,!!i&&n,!1,(function(t){l(null,function(t){return t.length+":"+t}(t))}))}),(function(t,e){return l(e.join(""))})):l("0:")},e.decodePayload=function(t,n,l){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,l);var i;if("function"==typeof n&&(l=n,n=null),""===t)return l(f,0,1);for(var r,o,a="",s=0,u=t.length;s<u;s++){var c=t.charAt(s);if(":"===c){if(""===a||a!=(r=Number(a)))return l(f,0,1);if(a!=(o=t.substr(s+1,r)).length)return l(f,0,1);if(o.length){if(i=e.decodePacket(o,n,!1),f.type===i.type&&f.data===i.data)return l(f,0,1);if(!1===l(i,s+r,u))return}s+=r,a=""}else a+=c}return""!==a?l(f,0,1):void 0},e.encodePayloadAsArrayBuffer=function(t,n){if(!t.length)return n(new ArrayBuffer(0));m(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){return n(null,t)}))}),(function(t,e){var l=e.reduce((function(t,e){var n;return t+(n="string"==typeof e?e.length:e.byteLength).toString().length+n+2}),0),i=new Uint8Array(l),r=0;return e.forEach((function(t){var e="string"==typeof t,n=t;if(e){for(var l=new Uint8Array(t.length),o=0;o<t.length;o++)l[o]=t.charCodeAt(o);n=l.buffer}i[r++]=e?0:1;var a=n.byteLength.toString();for(o=0;o<a.length;o++)i[r++]=parseInt(a[o]);for(i[r++]=255,l=new Uint8Array(n),o=0;o<l.length;o++)i[r++]=l[o]})),n(i.buffer)}))},e.encodePayloadAsBlob=function(t,n){m(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){var e=new Uint8Array(1);if(e[0]=1,"string"==typeof t){for(var l=new Uint8Array(t.length),i=0;i<t.length;i++)l[i]=t.charCodeAt(i);t=l.buffer,e[0]=0}var r=(t instanceof ArrayBuffer?t.byteLength:t.size).toString(),o=new Uint8Array(r.length+1);for(i=0;i<r.length;i++)o[i]=parseInt(r[i]);if(o[r.length]=255,b){var a=new b([e.buffer,o.buffer,t]);n(null,a)}}))}),(function(t,e){return n(new b(e))}))},e.decodePayloadAsBinary=function(t,n,l){"function"==typeof n&&(l=n,n=null);for(var i=t,r=[];i.byteLength>0;){for(var a=new Uint8Array(i),s=0===a[0],u="",c=1;255!==a[c];c++){if(u.length>310)return l(f,0,1);u+=a[c]}i=o(i,2+u.length),u=parseInt(u);var d=o(i,0,u);if(s)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(b){var h=new Uint8Array(d);for(d="",c=0;c<h.length;c++)d+=String.fromCharCode(h[c])}r.push(d),i=o(i,u)}var p=r.length;r.forEach((function(t,i){l(e.decodePacket(t,n,!0),i,p)}))}},Wv91:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var l=t%10;return t+(e[l]||e[t%100-l]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,l){var i=t;switch(n){case"s":return l||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return i+(l||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(l||e?" perc":" perce");case"mm":return i+(l||e?" perc":" perce");case"h":return"egy"+(l||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(l||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(l||e?" nap":" napja");case"dd":return i+(l||e?" nap":" napja");case"M":return"egy"+(l||e?" h\xf3nap":" h\xf3napja");case"MM":return i+(l||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(l||e?" \xe9v":" \xe9ve");case"yy":return i+(l||e?" \xe9v":" \xe9ve")}return""}function l(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return l.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return l.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Wxz7:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},X0qu:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getManyBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseCollectionControllerCollectionPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseCollectionControllerCollection(t){return this.getManyBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseCollectionControllerCollectionPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseCollectionControllerCollection(t){return this.createOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseCollectionControllerCollectionPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseCollectionControllerCollection(t){return this.getOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseCollectionControllerCollectionPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseCollectionControllerCollection(t){return this.deleteOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseCollectionControllerCollectionPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseCollectionControllerCollection(t){return this.updateOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetManyBaseCollectionControllerCollectionPath="/collection",t.CreateOneBaseCollectionControllerCollectionPath="/collection",t.GetOneBaseCollectionControllerCollectionPath="/collection/{id}",t.DeleteOneBaseCollectionControllerCollectionPath="/collection/{id}",t.UpdateOneBaseCollectionControllerCollectionPath="/collection/{id}",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},X1gR:function(t,e,n){var l,i,r;i=[n("7drA")],void 0===(r="function"==typeof(l=function(t){"use strict";var e={};function n(n,l,i){var r,o,a,s,u,c;for("string"==typeof l&&(l=parseInt(l,10)),l=l||5,o=n.northing,"S"===n.hemisphere&&(o+=e.NORTHING_OFFSET),a=t.findGridLetters(n.zoneNumber,o,r=n.easting),s=Math.round(o)%e.BLOCK_SIZE,u=Math.round(r)%e.BLOCK_SIZE,s=Math.floor(s/Math.pow(10,5-l)),u=Math.floor(u/Math.pow(10,5-l)),c=String(u).length;c<l;c+=1)u="0"+u;for(c=String(s).length;c<l;c+=1)s="0"+s;return"string"==typeof i&&"object"===i?{zone:n.zoneNumber+n.zoneLetter,square:a,easting:u,northing:s}:n.zoneNumber+n.zoneLetter+" "+a+" "+u+" "+s}return function(l){return e=l,t=t(l),n}})?l.apply(e,i):l)||(t.exports=r)},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDhV:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return d})),n.d(e,"c",(function(){return p}));var l=n("kvpX"),i=n("f8l7"),r=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,o=/^([a-z]*)$|^hsla?\(.*\)$/i;function a(t){return"string"==typeof t?t:p(t)}var s,u,c=(s={},u=0,function(t){var e;if(s.hasOwnProperty(t))e=s[t];else{if(u>=1024){var n=0;for(var i in s)0==(3&n++)&&(delete s[i],--u)}e=function(t){var e,n,i,a,s;if(o.exec(t)&&(t=function(t){var e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}return""}(t)),r.exec(t)){var u,c=t.length-1;u=c<=4?1:2;var d=4===c||8===c;e=parseInt(t.substr(1+0*u,u),16),n=parseInt(t.substr(1+1*u,u),16),i=parseInt(t.substr(1+2*u,u),16),a=d?parseInt(t.substr(1+3*u,u),16):255,1==u&&(e=(e<<4)+e,n=(n<<4)+n,i=(i<<4)+i,d&&(a=(a<<4)+a)),s=[e,n,i,a/255]}else 0==t.indexOf("rgba(")?h(s=t.slice(5,-1).split(",").map(Number)):0==t.indexOf("rgb(")?((s=t.slice(4,-1).split(",").map(Number)).push(1),h(s)):Object(l.a)(!1,14);return s}(t),s[t]=e,++u}return e});function d(t){return Array.isArray(t)?t:c(t)}function h(t){return t[0]=Object(i.a)(t[0]+.5|0,0,255),t[1]=Object(i.a)(t[1]+.5|0,0,255),t[2]=Object(i.a)(t[2]+.5|0,0,255),t[3]=Object(i.a)(t[3],0,1),t}function p(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var n=t[1];n!=(0|n)&&(n=n+.5|0);var l=t[2];return l!=(0|l)&&(l=l+.5|0),"rgba("+e+","+n+","+l+","+(void 0===t[3]?1:t[3])+")"}},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XEuL:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var l=['.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-Index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:12px;z-Index:11;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-text{position:absolute;font-size:14px;text-align:center;bottom:25px;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-singlebar{position:relative;height:10px;z-Index:9;border:1px solid #000}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-overlaycontainer,.ol-overlaycontainer-stopevent{pointer-events:none}.ol-overlaycontainer-stopevent>*,.ol-overlaycontainer>*{pointer-events:auto}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:rgba(255,255,255,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:rgba(255,255,255,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-control button span{pointer-events:none}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}']},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var l=n("HDdC"),i=n("7o/Q"),r=n("quSY"),o=n("9ppp"),a=n("Ylt2"),s=n("2QA8");class u extends i.a{constructor(t){super(t),this.destination=t}}let c=(()=>{class t extends l.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[s.a](){return new u(this)}lift(t){const e=new d(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,l=e.slice();for(let i=0;i<n;i++)l[i].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,l=e.slice();for(let i=0;i<n;i++)l[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let l=0;l<e;l++)n[l].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.isStopped?(t.complete(),r.a.EMPTY):(this.observers.push(t),new a.a(this,t))}asObservable(){const t=new l.a;return t.source=this,t}}return t.create=(t,e)=>new d(t,e),t})();class d extends c{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.a.EMPTY}}},XYOC:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeControllerNotificationTypePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeControllerNotificationType(t){return this.getOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeControllerNotificationTypePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeControllerNotificationType(t){return this.replaceOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeControllerNotificationTypePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeControllerNotificationType(t){return this.deleteOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeControllerNotificationTypePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeControllerNotificationType(t){return this.updateOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeControllerNotificationTypePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeControllerNotificationType(t){return this.getManyBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeControllerNotificationTypePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeControllerNotificationType(t){return this.createOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeControllerNotificationTypePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeControllerNotificationType(t){return this.createManyBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.ReplaceOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.DeleteOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.UpdateOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.GetManyBaseNotificationTypeControllerNotificationTypePath="/notification_type",t.CreateOneBaseNotificationTypeControllerNotificationTypePath="/notification_type",t.CreateManyBaseNotificationTypeControllerNotificationTypePath="/notification_type/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Xd0L:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("cUpR");const r=new l.W("8.2.3");var o=n("KCVW"),a=n("XNiG"),s=n("HDdC"),u=n("/HVE"),c=n("JX91"),d=n("5GAg"),h=n("dvZr");n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f})),n.d(e,"n",(function(){return g})),n.d(e,"f",(function(){return m})),n.d(e,"G",(function(){return _})),n.d(e,"E",(function(){return y})),n.d(e,"F",(function(){return A})),n.d(e,"J",(function(){return v})),n.d(e,"H",(function(){return C})),n.d(e,"I",(function(){return w})),n.d(e,"A",(function(){return j})),n.d(e,"q",(function(){return R})),n.d(e,"h",(function(){return P})),n.d(e,"c",(function(){return x})),n.d(e,"g",(function(){return S})),n.d(e,"z",(function(){return I})),n.d(e,"k",(function(){return L})),n.d(e,"d",(function(){return F})),n.d(e,"i",(function(){return N})),n.d(e,"e",(function(){return B})),n.d(e,"K",(function(){return G})),n.d(e,"o",(function(){return z})),n.d(e,"p",(function(){return V})),n.d(e,"t",(function(){return ht})),n.d(e,"C",(function(){return ct})),n.d(e,"D",(function(){return dt})),n.d(e,"u",(function(){return at})),n.d(e,"l",(function(){return st})),n.d(e,"s",(function(){return ut})),n.d(e,"r",(function(){return rt})),n.d(e,"j",(function(){return pt})),n.d(e,"y",(function(){return Z})),n.d(e,"m",(function(){return J})),n.d(e,"x",(function(){return Q})),n.d(e,"B",(function(){return K})),n.d(e,"w",(function(){return et})),n.d(e,"v",(function(){return tt}));let p=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),f=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const b=new l.W("8.2.3"),m=new l.w("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});class g{constructor(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_areChecksEnabled(){return this._sanityChecksEnabled&&Object(l.hb)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._document||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){b.full!==r.full&&console.warn("The Angular Material version ("+b.full+") does not match the Angular CDK version ("+r.full+").\nPlease ensure the versions of these two packages exactly match.")}_checkHammerIsAvailable(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}function _(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}}}function y(t,e){return class extends t{get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}constructor(...t){super(...t),this.color=e}}}function A(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(o.c)(t)}}}function v(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function C(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new a.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function w(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new s.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const P=new l.w("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(l.gb)(l.A)}});class x{constructor(){this._localeChanges=new a.a}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),l=this.isValid(e);return n&&l?!this.compareDate(t,e):n==l}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const S=new l.w("mat-date-formats");let k;try{k="undefined"!=typeof Intl}catch(ft){k=!1}const M={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},O=E(31,t=>String(t+1)),D={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},T=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function E(t,e){const n=Array(t);for(let l=0;l<t;l++)n[l]=e(l);return n}class I extends x{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return E(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return M[t]}getDateNames(){if(k){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return E(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return O}getDayOfWeekNames(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return E(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return D[t]}getYearName(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);let l=this._createDateWithOverflow(t,e,n);if(l.getMonth()!=e)throw Error(`Invalid date "${n}" for month with index "${e}".`);return l}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(k){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign({},e,{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(T.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const l=new Date(t,e,n);return t>=0&&t<100&&l.setFullYear(this.getYear(l)-1900),l}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}const L={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};class j{}class R{}let F=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const N=new l.w("MAT_HAMMER_OPTIONS"),Y=["longpress","slide","slidestart","slideend","slideright","slideleft"],U={on:()=>{},off:()=>{}};class B extends i.g{constructor(t,e){super(),this._hammerOptions=t,this.events=Y,e&&e._checkHammerIsAvailable()}buildHammer(t){const e="undefined"!=typeof window?window.Hammer:null;if(!e)return U;const n=new e(t,this._hammerOptions||void 0),l=new e.Pan,i=new e.Swipe,r=new e.Press,o=this._createRecognizer(l,{event:"slide",threshold:0},i),a=this._createRecognizer(r,{event:"longpress",time:500});return l.recognizeWith(i),a.recognizeWith(o),n.add([i,r,l,o,a]),n}_createRecognizer(t,e,...n){let l=new t.constructor(e);return n.push(t),n.forEach(t=>l.recognizeWith(t)),l}}class z{}function G(t,e){t.changes.pipe(Object(c.a)(t)).subscribe(({length:t})=>{H(e,"mat-2-line",!1),H(e,"mat-3-line",!1),H(e,"mat-multi-line",!1),2===t||3===t?H(e,`mat-${t}-line`,!0):t>3&&H(e,"mat-multi-line",!0)})}function H(t,e,n){const l=t.nativeElement.classList;n?l.add(e):l.remove(e)}class V{}const q=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}();class W{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=q.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const $={enterDuration:450,exitDuration:400},X=Object(u.g)({passive:!0});class K{constructor(t,e,n,l){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(d.k)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(t.state===q.VISIBLE||t.config.terminateOnPointerUp&&t.state===q.FADING_IN)&&t.fadeOut()}))},l.isBrowser&&(this._containerElement=Object(o.e)(n),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,n={}){const l=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign({},$,n.animation);n.centered&&(t=l.left+l.width/2,e=l.top+l.height/2);const r=n.radius||function(t,e,n){const l=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(l*l+i*i)}(t,e,l),o=t-l.left,a=e-l.top,s=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=o-r+"px",u.style.top=a-r+"px",u.style.height=2*r+"px",u.style.width=2*r+"px",u.style.backgroundColor=n.color||null,u.style.transitionDuration=s+"ms",this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const c=new W(this,u,n);return c.state=q.FADING_IN,this._activeRipples.add(c),n.persistent||(this._mostRecentTransientRipple=c),this._runTimeoutOutsideZone(()=>{const t=c===this._mostRecentTransientRipple;c.state=q.VISIBLE,n.persistent||t&&this._isPointerDown||c.fadeOut()},s),c}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,l=Object.assign({},$,t.config.animation);n.style.transitionDuration=l.exitDuration+"ms",n.style.opacity="0",t.state=q.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=q.HIDDEN,n.parentNode.removeChild(n)},l.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(o.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,X)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,X)})}}const J=new l.w("mat-ripple-global-options");class Q{constructor(t,e,n,l,i){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new K(this,e,t,n),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign({},this.rippleConfig,t))}}class Z{}class tt{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}class et{}class nt{}const lt=_(nt);let it=0;class rt extends lt{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+it++}}let ot=0;class at{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const st=new l.w("MAT_OPTION_PARENT_COMPONENT");class ut{constructor(t,e,n,i){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ot++,this.onSelectionChange=new l.r,this._stateChanges=new a.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==h.g&&t.keyCode!==h.o||Object(h.t)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new at(this,t))}}function ct(t,e,n){if(n.length){let l=e.toArray(),i=n.toArray(),r=0;for(let e=0;e<t+1;e++)l[e].group&&l[e].group===i[r]&&r++;return r}return 0}function dt(t,e,n,l){const i=t*e;return i<n?i:i+e>n+l?Math.max(0,i-l+e):n}class ht{}const pt=new l.w("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function l(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return l}))},XrFG:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("TN97"),i=n("egkh"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=(n("w+w1"),n("SSvb"));class u{constructor(){this.traceFeature=void 0}ngOnInit(){this.updateTrace()}ngOnDestroy(){this.cleanTrace()}updateTrace(){if(this.cleanTrace(),this.aircraft.toAirport){const t=a.greatCircle([this.aircraft.longitude,this.aircraft.latitude],[this.aircraft.toAirport.longitude,this.aircraft.toAirport.latitude]),e=Object(s.a)(t.geometry.coordinates);this.traceFeature=new l.a({geometry:new i.a(e),id_:"PROSPECTIVE-TRACE"}),this.traceFeature.setStyle(new r.b({stroke:new o.a({color:"red",width:3,lineDash:[1,5]})})),this.source.addFeature(this.traceFeature)}}cleanTrace(){this.traceFeature&&this.source.removeFeature(this.traceFeature)}}},Xu5n:function(t,e,n){"use strict";var l,i=n("4wAk"),r=n("GDrd"),o=n("zvco"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.map=n,i.frameState=void 0!==l?l:null,i}return a(e,t),e}(o.a),u=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),c=function(t){function e(e,n,l,i,r){var o=t.call(this,e,n,r)||this;return o.originalEvent=l,o.pixel_=null,o.coordinate_=null,o.dragging=void 0!==i&&i,o}return u(e,t),Object.defineProperty(e.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(t){this.pixel_=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(t){this.coordinate_=t},enumerable:!0,configurable:!0}),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){t.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()},e}(s),d=(n("pg82"),n("YX0d")),h=n("Cy2j"),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e,n,l,i,r){var o=t.call(this,e,n,l,i,r)||this;return o.pointerEvent=l,o}return p(e,t),e}(c),b=n("Ho3V"),m=n("DsAt"),g=n("0Hnp"),_=n("AdTM"),y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),A=function(t){function e(e,n){var l=t.call(this,e)||this;l.map_=e,l.dragging_=!1,l.dragListenerKeys_=[],l.moveTolerance_=n?n*d.a:d.a,l.down_=null;var i=l.map_.getViewport();return l.activePointers_=0,l.trackedTouches_={},l.element_=i,l.pointerdownListenerKey_=Object(b.a)(i,g.a.POINTERDOWN,l.handlePointerDown_,l),l.relayedListenerKey_=Object(b.a)(i,g.a.POINTERMOVE,l.relayEvent_,l),l.boundHandleTouchMove_=l.handleTouchMove_.bind(l),l.element_.addEventListener(_.a.TOUCHMOVE,l.boundHandleTouchMove_,!!d.e&&{passive:!1}),l}return y(e,t),e.prototype.emulateClick_=function(t){var e=new f(h.a.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new f(h.a.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout((function(){this.clickTimeoutId_=void 0;var e=new f(h.a.SINGLECLICK,this.map_,t);this.dispatchEvent(e)}).bind(this),250)},e.prototype.updateActivePointers_=function(t){var e=t;e.type==h.a.POINTERUP||e.type==h.a.POINTERCANCEL?delete this.trackedTouches_[e.pointerId]:e.type==h.a.POINTERDOWN&&(this.trackedTouches_[e.pointerId]=!0),this.activePointers_=Object.keys(this.trackedTouches_).length},e.prototype.handlePointerUp_=function(t){this.updateActivePointers_(t);var e=new f(h.a.POINTERUP,this.map_,t);this.dispatchEvent(e),e.propagationStopped||this.dragging_||!this.isMouseActionButton_(t)||this.emulateClick_(this.down_),0===this.activePointers_&&(this.dragListenerKeys_.forEach(b.c),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)},e.prototype.isMouseActionButton_=function(t){return 0===t.button},e.prototype.handlePointerDown_=function(t){this.updateActivePointers_(t);var e=new f(h.a.POINTERDOWN,this.map_,t);this.dispatchEvent(e),this.down_=t,0===this.dragListenerKeys_.length&&this.dragListenerKeys_.push(Object(b.a)(document,h.a.POINTERMOVE,this.handlePointerMove_,this),Object(b.a)(document,h.a.POINTERUP,this.handlePointerUp_,this),Object(b.a)(this.element_,h.a.POINTERCANCEL,this.handlePointerUp_,this))},e.prototype.handlePointerMove_=function(t){if(this.isMoving_(t)){this.dragging_=!0;var e=new f(h.a.POINTERDRAG,this.map_,t,this.dragging_);this.dispatchEvent(e)}},e.prototype.relayEvent_=function(t){this.originalPointerMoveEvent_=t;var e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new f(t.type,this.map_,t,e))},e.prototype.handleTouchMove_=function(t){this.originalPointerMoveEvent_&&!this.originalPointerMoveEvent_.defaultPrevented||t.preventDefault()},e.prototype.isMoving_=function(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(b.c)(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(_.a.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Object(b.c)(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(b.c),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(m.a),v=n("WS2v"),C=n("Bw0W"),w=n("4mld"),P=n("e0/R"),x=n("rMEb"),S=n("kvpX"),k=n("OPOH"),M=function(){function t(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(k.b)(this.queuedElements_)},t.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var l=this.keyFunction_(n);return delete this.queuedElements_[l],n},t.prototype.enqueue=function(t){Object(S.a)(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);return e!=1/0&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(t){return 2*t+1},t.prototype.getRightChildIndex_=function(t){return 2*t+2},t.prototype.getParentIndex_=function(t){return t-1>>1},t.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},t.prototype.isEmpty=function(){return 0===this.elements_.length},t.prototype.isKeyQueued=function(t){return t in this.queuedElements_},t.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},t.prototype.siftUp_=function(t){for(var e=this.elements_,n=this.priorities_,l=e.length,i=e[t],r=n[t],o=t;t<l>>1;){var a=this.getLeftChildIndex_(t),s=this.getRightChildIndex_(t),u=s<l&&n[s]<n[a]?s:a;e[t]=e[u],n[t]=n[u],t=u}e[t]=i,n[t]=r,this.siftDown_(o,t)},t.prototype.siftDown_=function(t,e){for(var n=this.elements_,l=this.priorities_,i=n[e],r=l[e];e>t;){var o=this.getParentIndex_(e);if(!(l[o]>r))break;n[e]=n[o],l[e]=l[o],e=o}n[e]=i,l[e]=r},t.prototype.reprioritize=function(){var t,e,n,l=this.priorityFunction_,i=this.elements_,r=this.priorities_,o=0,a=i.length;for(e=0;e<a;++e)(n=l(t=i[e]))==1/0?delete this.queuedElements_[this.keyFunction_(t)]:(r[o]=n,i[o++]=t);i.length=o,r.length=o,this.heapify_()},t}(),O=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),D=function(t){function e(e,n){var l=t.call(this,(function(t){return e.apply(null,t)}),(function(t){return t[0].getKey()}))||this;return l.boundHandleTileChange_=l.handleTileChange.bind(l),l.tileChangeCallback_=n,l.tilesLoading_=0,l.tilesLoadingKeys_={},l}return O(e,t),e.prototype.enqueue=function(e){var n=t.prototype.enqueue.call(this,e);return n&&e[0].addEventListener(_.a.CHANGE,this.boundHandleTileChange_),n},e.prototype.getTilesLoading=function(){return this.tilesLoading_},e.prototype.handleTileChange=function(t){var e=t.target,n=e.getState();if(e.hifi&&n===x.a.LOADED||n===x.a.ERROR||n===x.a.EMPTY){e.removeEventListener(_.a.CHANGE,this.boundHandleTileChange_);var l=e.getKey();l in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[l],--this.tilesLoading_),this.tileChangeCallback_()}},e.prototype.loadMoreTiles=function(t,e){for(var n,l,i=0;this.tilesLoading_<t&&i<e&&this.getCount()>0;)l=(n=this.dequeue()[0]).getKey(),n.getState()!==x.a.IDLE||l in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[l]=!0,++this.tilesLoading_,++i,n.load())},e}(M),T=n("oscj"),E=n("SW/M"),I=n("CZmH"),L=n("CvXi"),j=n("V8uu"),R=n("nHi6"),F=n("NF0S"),N=n("qJZF"),Y=n("JW8z"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e){var n=t.call(this)||this,l=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var n,l,r,o={},a=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new R.a({layers:t.layers});return o.layergroup=a,o.target=t.target,o.view=void 0!==t.view?t.view:new T.a,void 0!==t.controls&&(Array.isArray(t.controls)?n=new i.a(t.controls.slice()):(Object(S.a)("function"==typeof t.controls.getArray,47),n=t.controls)),void 0!==t.interactions&&(Array.isArray(t.interactions)?l=new i.a(t.interactions.slice()):(Object(S.a)("function"==typeof t.interactions.getArray,48),l=t.interactions)),void 0!==t.overlays?Array.isArray(t.overlays)?r=new i.a(t.overlays.slice()):(Object(S.a)("function"==typeof t.overlays.getArray,49),r=t.overlays):r=new i.a,{controls:n,interactions:l,keyboardEventTarget:e,overlays:r,values:o}}(e);n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,n.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:d.a,n.animationDelay_=(function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}).bind(n),n.coordinateToPixelTransform_=Object(N.c)(),n.pixelToCoordinateTransform_=Object(N.c)(),n.frameIndex_=0,n.frameState_=null,n.previousExtent_=null,n.viewPropertyListenerKey_=null,n.viewChangeListenerKey_=null,n.layerGroupPropertyListenerKeys_=null,n.viewport_=document.createElement("div"),n.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),n.viewport_.style.position="relative",n.viewport_.style.overflow="hidden",n.viewport_.style.width="100%",n.viewport_.style.height="100%",n.overlayContainer_=document.createElement("div"),n.overlayContainer_.style.position="absolute",n.overlayContainer_.style.zIndex="0",n.overlayContainer_.style.width="100%",n.overlayContainer_.style.height="100%",n.overlayContainer_.className="ol-overlaycontainer",n.viewport_.appendChild(n.overlayContainer_),n.overlayContainerStopEvent_=document.createElement("div"),n.overlayContainerStopEvent_.style.position="absolute",n.overlayContainerStopEvent_.style.zIndex="0",n.overlayContainerStopEvent_.style.width="100%",n.overlayContainerStopEvent_.style.height="100%",n.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",n.viewport_.appendChild(n.overlayContainerStopEvent_),n.mapBrowserEventHandler_=new A(n,e.moveTolerance);var o=n.handleMapBrowserEvent.bind(n);for(var a in h.a)n.mapBrowserEventHandler_.addEventListener(h.a[a],o);n.keyboardEventTarget_=l.keyboardEventTarget,n.keyHandlerKeys_=null;var s=n.handleBrowserEvent.bind(n);return n.viewport_.addEventListener(_.a.CONTEXTMENU,s,!1),n.viewport_.addEventListener(_.a.WHEEL,s,!!d.e&&{passive:!1}),n.controls=l.controls||new i.a,n.interactions=l.interactions||new i.a,n.overlays_=l.overlays,n.overlayIdIndex_={},n.renderer_=null,n.postRenderFunctions_=[],n.tileQueue_=new D(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addEventListener(Object(w.b)("layergroup"),n.handleLayerGroupChanged_),n.addEventListener(Object(w.b)("view"),n.handleViewChanged_),n.addEventListener(Object(w.b)("size"),n.handleSizeChanged_),n.addEventListener(Object(w.b)("target"),n.handleTargetChanged_),n.setProperties(l.values),n.controls.forEach((function(t){t.setMap(this)}).bind(n)),n.controls.addEventListener(r.a.ADD,(function(t){t.element.setMap(this)}).bind(n)),n.controls.addEventListener(r.a.REMOVE,(function(t){t.element.setMap(null)}).bind(n)),n.interactions.forEach((function(t){t.setMap(this)}).bind(n)),n.interactions.addEventListener(r.a.ADD,(function(t){t.element.setMap(this)}).bind(n)),n.interactions.addEventListener(r.a.REMOVE,(function(t){t.element.setMap(null)}).bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n.overlays_.addEventListener(r.a.ADD,(function(t){this.addOverlayInternal_(t.element)}).bind(n)),n.overlays_.addEventListener(r.a.REMOVE,(function(t){var e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)}).bind(n)),n}return U(e,t),e.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},e.prototype.addControl=function(t){this.getControls().push(t)},e.prototype.addInteraction=function(t){this.getInteractions().push(t)},e.prototype.addLayer=function(t){this.getLayerGroup().getLayers().push(t)},e.prototype.addOverlay=function(t){this.getOverlays().push(t)},e.prototype.addOverlayInternal_=function(t){var e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)},e.prototype.disposeInternal=function(){this.mapBrowserEventHandler_.dispose(),this.viewport_.removeEventListener(_.a.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(_.a.WHEEL,this.boundHandleBrowserEvent_),void 0!==this.handleResize_&&(removeEventListener(_.a.RESIZE,this.handleResize_,!1),this.handleResize_=void 0),this.setTarget(null),t.prototype.disposeInternal.call(this)},e.prototype.forEachFeatureAtPixel=function(t,e,n){if(this.frameState_){var l=this.getCoordinateFromPixelInternal(t);return this.renderer_.forEachFeatureAtCoordinate(l,this.frameState_,void 0!==(n=void 0!==n?n:{}).hitTolerance?n.hitTolerance*this.frameState_.pixelRatio:0,!1!==n.checkWrapped,e,null,void 0!==n.layerFilter?n.layerFilter:j.b,null)}},e.prototype.getFeaturesAtPixel=function(t,e){var n=[];return this.forEachFeatureAtPixel(t,(function(t){n.push(t)}),e),n},e.prototype.forEachLayerAtPixel=function(t,e,n){if(this.frameState_){var l=n||{};return this.renderer_.forEachLayerAtPixel(t,this.frameState_,void 0!==l.hitTolerance?l.hitTolerance*this.frameState_.pixelRatio:0,e,l.layerFilter||j.b)}},e.prototype.hasFeatureAtPixel=function(t,e){if(!this.frameState_)return!1;var n=this.getCoordinateFromPixelInternal(t);return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,void 0!==(e=void 0!==e?e:{}).hitTolerance?e.hitTolerance*this.frameState_.pixelRatio:0,!1!==e.checkWrapped,void 0!==e.layerFilter?e.layerFilter:j.b,null)},e.prototype.getEventCoordinate=function(t){return this.getCoordinateFromPixel(this.getEventPixel(t))},e.prototype.getEventCoordinateInternal=function(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))},e.prototype.getEventPixel=function(t){var e=this.viewport_.getBoundingClientRect(),n="changedTouches"in t?t.changedTouches[0]:t;return[n.clientX-e.left,n.clientY-e.top]},e.prototype.getTarget=function(){return this.get("target")},e.prototype.getTargetElement=function(){var t=this.getTarget();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},e.prototype.getCoordinateFromPixel=function(t){return Object(Y.n)(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())},e.prototype.getCoordinateFromPixelInternal=function(t){var e=this.frameState_;return e?Object(N.a)(e.pixelToCoordinateTransform,t.slice()):null},e.prototype.getControls=function(){return this.controls},e.prototype.getOverlays=function(){return this.overlays_},e.prototype.getOverlayById=function(t){var e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getInteractions=function(){return this.interactions},e.prototype.getLayerGroup=function(){return this.get("layergroup")},e.prototype.getLayers=function(){return this.getLayerGroup().getLayers()},e.prototype.getLoading=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var l=t[e].layer.getSource();if(l&&l.loading)return!0}return!1},e.prototype.getPixelFromCoordinate=function(t){var e=Object(Y.e)(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)},e.prototype.getPixelFromCoordinateInternal=function(t){var e=this.frameState_;return e?Object(N.a)(e.coordinateToPixelTransform,t.slice(0,2)):null},e.prototype.getRenderer=function(){return this.renderer_},e.prototype.getSize=function(){return this.get("size")},e.prototype.getView=function(){return this.get("view")},e.prototype.getViewport=function(){return this.viewport_},e.prototype.getOverlayContainer=function(){return this.overlayContainer_},e.prototype.getOverlayContainerStopEvent=function(){return this.overlayContainerStopEvent_},e.prototype.getTilePriority=function(t,e,n,l){return function(t,e,n,l,i){if(!t||!(n in t.wantedTiles))return 1/0;if(!t.wantedTiles[n][e.getKey()])return 1/0;var r=t.viewState.center,o=l[0]-r[0],a=l[1]-r[1];return 65536*Math.log(i)+Math.sqrt(o*o+a*a)/i}(this.frameState_,t,e,n,l)},e.prototype.handleBrowserEvent=function(t,e){var n=new c(e||t.type,this,t);this.handleMapBrowserEvent(n)},e.prototype.handleMapBrowserEvent=function(t){if(this.frameState_){var e=t.originalEvent.target;if(t.dragging||!this.overlayContainerStopEvent_.contains(e)&&(document.body.contains(e)||this.viewport_.getRootNode&&this.viewport_.getRootNode().contains(e))){t.frameState=this.frameState_;var n=this.getInteractions().getArray();if(!1!==this.dispatchEvent(t))for(var l=n.length-1;l>=0;l--){var i=n[l];if(i.getActive()&&!i.handleEvent(t))break}}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,l=n;if(t){var i=t.viewHints;if(i[E.a.ANIMATING]||i[E.a.INTERACTING]){var r=!d.c&&Date.now()-t.time>8;n=r?0:8,l=r?0:2}}e.getTilesLoading()<n&&(e.reprioritize(),e.loadMoreTiles(n,l))}!t||!this.hasListener(C.a.RENDERCOMPLETE)||t.animate||this.tileQueue_.getTilesLoading()||this.getLoading()||this.renderer_.dispatchRenderEvent(C.a.RENDERCOMPLETE,t);for(var o=this.postRenderFunctions_,a=0,s=o.length;a<s;++a)o[a](this,t);o.length=0},e.prototype.handleSizeChanged_=function(){this.getView()&&this.getView().resolveConstraints(0),this.render()},e.prototype.handleTargetChanged_=function(){var t;if(this.getTarget()&&(t=this.getTargetElement()),this.keyHandlerKeys_){for(var e=0,n=this.keyHandlerKeys_.length;e<n;++e)Object(b.c)(this.keyHandlerKeys_[e]);this.keyHandlerKeys_=null}if(t){t.appendChild(this.viewport_),this.renderer_||(this.renderer_=this.createRenderer());var l=this.keyboardEventTarget_?this.keyboardEventTarget_:t;this.keyHandlerKeys_=[Object(b.a)(l,_.a.KEYDOWN,this.handleBrowserEvent,this),Object(b.a)(l,_.a.KEYPRESS,this.handleBrowserEvent,this)],this.handleResize_||(this.handleResize_=this.updateSize.bind(this),window.addEventListener(_.a.RESIZE,this.handleResize_,!1))}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0),Object(I.e)(this.viewport_),void 0!==this.handleResize_&&(removeEventListener(_.a.RESIZE,this.handleResize_,!1),this.handleResize_=void 0);this.updateSize()},e.prototype.handleTileChange_=function(){this.render()},e.prototype.handleViewPropertyChanged_=function(){this.render()},e.prototype.handleViewChanged_=function(){this.viewPropertyListenerKey_&&(Object(b.c)(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(Object(b.c)(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);var t=this.getView();t&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=Object(b.a)(t,P.a.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=Object(b.a)(t,_.a.CHANGE,this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()},e.prototype.handleLayerGroupChanged_=function(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(b.c),this.layerGroupPropertyListenerKeys_=null);var t=this.getLayerGroup();t&&(this.layerGroupPropertyListenerKeys_=[Object(b.a)(t,P.a.PROPERTYCHANGE,this.render,this),Object(b.a)(t,_.a.CHANGE,this.render,this)]),this.render()},e.prototype.isRendered=function(){return!!this.frameState_},e.prototype.renderSync=function(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()},e.prototype.redrawText=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var l=t[e].layer;l.hasRenderer()&&l.getRenderer().handleFontsChanged()}},e.prototype.render=function(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))},e.prototype.removeControl=function(t){return this.getControls().remove(t)},e.prototype.removeInteraction=function(t){return this.getInteractions().remove(t)},e.prototype.removeLayer=function(t){return this.getLayerGroup().getLayers().remove(t)},e.prototype.removeOverlay=function(t){return this.getOverlays().remove(t)},e.prototype.renderFrame_=function(t){var e=this.getSize(),n=this.getView(),l=this.frameState_,i=null;if(void 0!==e&&Object(F.a)(e)&&n&&n.isDef()){var r=n.getHints(this.frameState_?this.frameState_.viewHints:void 0),o=n.getState();i={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterItems:l?l.declutterItems:[],extent:Object(L.z)(o.center,o.resolution,o.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:o,viewHints:r,wantedTiles:{}}}this.frameState_=i,this.renderer_.renderFrame(i),i&&(i.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,i.postRenderFunctions),l&&(!this.previousExtent_||!Object(L.H)(this.previousExtent_)&&!Object(L.p)(i.extent,this.previousExtent_))&&(this.dispatchEvent(new s(v.a.MOVESTART,this,l)),this.previousExtent_=Object(L.l)(this.previousExtent_)),this.previousExtent_&&!i.viewHints[E.a.ANIMATING]&&!i.viewHints[E.a.INTERACTING]&&!Object(L.p)(i.extent,this.previousExtent_)&&(this.dispatchEvent(new s(v.a.MOVEEND,this,i)),Object(L.d)(i.extent,this.previousExtent_))),this.dispatchEvent(new s(v.a.POSTRENDER,this,i)),this.postRenderTimeoutHandle_=setTimeout(this.handlePostRender.bind(this),0)},e.prototype.setLayerGroup=function(t){this.set("layergroup",t)},e.prototype.setSize=function(t){this.set("size",t)},e.prototype.setTarget=function(t){this.set("target",t)},e.prototype.setView=function(t){this.set("view",t)},e.prototype.updateSize=function(){var t=this.getTargetElement();if(t){var e=getComputedStyle(t);this.setSize([t.offsetWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderRightWidth),t.offsetHeight-parseFloat(e.borderTopWidth)-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderBottomWidth)])}else this.setSize(void 0);this.updateViewportSize_()},e.prototype.updateViewportSize_=function(){var t=this.getView();if(t){var e=void 0,n=getComputedStyle(this.viewport_);n.width&&n.height&&(e=[parseInt(n.width,10),parseInt(n.height,10)]),t.setViewportSize(e)}},e}(w.a),z=n("IbxR"),G=function(){function t(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;for(var n=e-3;n>0&&this.points_[n+2]>t;)n-=3;var l=this.points_[e+2]-this.points_[n+2];if(l<1e3/60)return!1;var i=this.points_[e]-this.points_[n],r=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(r,i),this.initialVelocity_=Math.sqrt(i*i+r*r)/l,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),H=n("zfM5"),V=n("pWiS"),q=n("ykKD"),W=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},$=function(t){return t.target.getTargetElement()===document.activeElement},X=j.b,K=function(t){var e=t.originalEvent;return 0==e.button&&!(d.f&&d.d&&e.ctrlKey)},J=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},Q=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},Z=function(t){var e=t.originalEvent.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e},tt=function(t){var e=t.pointerEvent;return Object(S.a)(void 0!==e,56),"mouse"==e.pointerType},et=n("QzRn"),nt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function lt(t){for(var e=t.length,n=0,l=0,i=0;i<e;i++)n+=t[i].clientX,l+=t[i].clientY;return[n/e,l/e]}var it=function(t){function e(e){var n=this,l=e||{};return n=t.call(this,l)||this,l.handleDownEvent&&(n.handleDownEvent=l.handleDownEvent),l.handleDragEvent&&(n.handleDragEvent=l.handleDragEvent),l.handleMoveEvent&&(n.handleMoveEvent=l.handleMoveEvent),l.handleUpEvent&&(n.handleUpEvent=l.handleUpEvent),l.stopDown&&(n.stopDown=l.stopDown),n.handlingDownUpSequence=!1,n.trackedPointers_={},n.targetPointers=[],n}return nt(e,t),e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.pointerEvent)return!0;var e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==h.a.POINTERDRAG)this.handleDragEvent(t);else if(t.type==h.a.POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==h.a.POINTERDOWN){var l=this.handleDownEvent(t);this.handlingDownUpSequence=l,e=this.stopDown(l)}else t.type==h.a.POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(function(t){var e=t.type;return e===h.a.POINTERDOWN||e===h.a.POINTERDRAG||e===h.a.POINTERUP}(t)){var e=t.pointerEvent,n=e.pointerId.toString();t.type==h.a.POINTERUP?delete this.trackedPointers_[n]:(t.type==h.a.POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=e),this.targetPointers=Object(k.c)(this.trackedPointers_)}},e}(et.a),rt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function ot(t){return J(t)&&function(t){var e=t.pointerEvent;return Object(S.a)(void 0!==e,56),e.isPrimary&&0===e.button}(t)}var at=function(t){function e(e){var n=t.call(this,{stopDown:j.a})||this,l=e||{};return n.kinetic_=l.kinetic,n.lastCentroid=null,n.panning_=!1,n.condition_=l.condition?l.condition:ot,n.noKinetic_=!1,n}return rt(e,t),e.prototype.conditionInternal_=function(t){var e=!0;return t.map.getTargetElement().hasAttribute("tabindex")&&(e=$(t)),e&&this.condition_(t)},e.prototype.handleDragEvent=function(t){this.panning_||(this.panning_=!0,this.getMap().getView().beginInteraction());var e=this.targetPointers,n=lt(e);if(e.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var l=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],i=t.map.getView();Object(V.d)(l,i.getResolution()),Object(V.c)(l,i.getRotation()),i.adjustCenterInternal(l)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=e.length,t.originalEvent.preventDefault()},e.prototype.handleUpEvent=function(t){var e=t.map,n=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var l=this.kinetic_.getDistance(),i=this.kinetic_.getAngle(),r=n.getCenterInternal(),o=e.getPixelFromCoordinateInternal(r),a=e.getCoordinateFromPixelInternal([o[0]-l*Math.cos(i),o[1]-l*Math.sin(i)]);n.animateInternal({center:n.getConstrainedCenter(a),duration:500,easing:q.b})}return this.panning_&&(this.panning_=!1,n.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>0&&this.conditionInternal_(t)){var e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(it),st=n("jMVV"),ut=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ct=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{stopDown:j.a})||this).condition_=l.condition?l.condition:W,n.lastAngle_=void 0,n.duration_=void 0!==l.duration?l.duration:250,n}return ut(e,t),e.prototype.handleDragEvent=function(t){if(tt(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==st.c){var l=e.getSize(),i=t.pixel,r=Math.atan2(l[1]/2-i[1],i[0]-l[0]/2);void 0!==this.lastAngle_&&n.adjustRotationInternal(-(r-this.lastAngle_)),this.lastAngle_=r}}},e.prototype.handleUpEvent=function(t){return!tt(t)||(t.map.getView().endInteraction(this.duration_),!1)},e.prototype.handleDownEvent=function(t){return!(!tt(t)||!K(t)||!this.condition_(t)||(t.map.getView().beginInteraction(),this.lastAngle_=void 0,0))},e}(it),dt=n("2lwS"),ht=n("W8M7"),pt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ft=function(t){function e(e){var n=t.call(this)||this;return n.geometry_=null,n.element_=document.createElement("div"),n.element_.style.position="absolute",n.element_.className="ol-box "+e,n.map_=null,n.startPixel_=null,n.endPixel_=null,n}return pt(e,t),e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n=this.element_.style;n.left=Math.min(t[0],e[0])+"px",n.top=Math.min(t[1],e[1])+"px",n.width=Math.abs(e[0]-t[0])+"px",n.height=Math.abs(e[1]-t[1])+"px"},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new ht.a([n])},e.prototype.getGeometry=function(){return this.geometry_},e}(dt.a),bt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),mt=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.coordinate=n,i.mapBrowserEvent=l,i}return bt(e,t),e}(o.a),gt=function(t){function e(e){var n=t.call(this)||this,l=e||{};return n.box_=new ft(l.className||"ol-dragbox"),n.minArea_=void 0!==l.minArea?l.minArea:64,n.onBoxEnd_=l.onBoxEnd?l.onBoxEnd:j.c,n.startPixel_=null,n.condition_=l.condition?l.condition:K,n.boxEndCondition_=l.boxEndCondition?l.boxEndCondition:n.defaultBoxEndCondition,n}return bt(e,t),e.prototype.defaultBoxEndCondition=function(t,e,n){var l=n[0]-e[0],i=n[1]-e[1];return l*l+i*i>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new mt("boxdrag",t.coordinate,t))},e.prototype.handleUpEvent=function(t){return this.box_.setMap(null),this.boxEndCondition_(t,this.startPixel_,t.pixel)&&(this.onBoxEnd_(t),this.dispatchEvent(new mt("boxend",t.coordinate,t))),!1},e.prototype.handleDownEvent=function(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new mt("boxstart",t.coordinate,t)),!0)},e}(it),_t=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function yt(){var t=this.getMap(),e=t.getView(),n=t.getSize(),l=this.getGeometry().getExtent();if(this.out_){var i=e.calculateExtentInternal(n),r=Object(L.n)([t.getPixelFromCoordinateInternal(Object(L.v)(l)),t.getPixelFromCoordinateInternal(Object(L.D)(l))]),o=e.getResolutionForExtentInternal(r,n);Object(L.J)(i,1/o),l=i}var a=e.getConstrainedResolution(e.getResolutionForExtentInternal(l,n)),s=e.getConstrainedCenter(Object(L.x)(l),a);e.animateInternal({resolution:a,center:s,duration:this.duration_,easing:q.b})}var At=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{condition:l.condition?l.condition:Q,className:l.className||"ol-dragzoom",minArea:l.minArea,onBoxEnd:yt})||this).duration_=void 0!==l.duration?l.duration:200,n.out_=void 0!==l.out&&l.out,n}return _t(e,t),e}(gt),vt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function Ct(t){var e=!1;if(t.type==_.a.KEYDOWN){var n=t.originalEvent.keyCode;if(this.condition_(t)&&(40==n||37==n||39==n||38==n)){var l=t.map.getView(),i=l.getResolution()*this.pixelDelta_,r=0,o=0;40==n?o=-i:37==n?r=-i:39==n?r=i:o=i;var a=[r,o];Object(V.c)(a,l.getRotation()),Object(et.b)(l,a,this.duration_),t.preventDefault(),e=!0}}return!e}var wt=function(t){function e(e){var n=t.call(this,{handleEvent:Ct})||this,l=e||{};return n.defaultCondition_=function(t){return J(t)&&Z(t)},n.condition_=void 0!==l.condition?l.condition:n.defaultCondition_,n.duration_=void 0!==l.duration?l.duration:100,n.pixelDelta_=void 0!==l.pixelDelta?l.pixelDelta:128,n}return vt(e,t),e}(et.a),Pt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function xt(t){var e=!1;if(t.type==_.a.KEYDOWN||t.type==_.a.KEYPRESS){var n=t.originalEvent.charCode;if(this.condition_(t)&&(n=="+".charCodeAt(0)||n=="-".charCodeAt(0))){var l=t.map,i=n=="+".charCodeAt(0)?this.delta_:-this.delta_,r=l.getView();Object(et.c)(r,i,void 0,this.duration_),t.preventDefault(),e=!0}}return!e}var St=function(t){function e(e){var n=t.call(this,{handleEvent:xt})||this,l=e||{};return n.condition_=l.condition?l.condition:Z,n.delta_=l.delta?l.delta:1,n.duration_=void 0!==l.duration?l.duration:100,n}return Pt(e,t),e}(et.a),kt=n("f8l7"),Mt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Ot=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,l)||this).totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==l.maxDelta?l.maxDelta:1,n.duration_=void 0!==l.duration?l.duration:250,n.timeout_=void 0!==l.timeout?l.timeout:80,n.useAnchor_=void 0===l.useAnchor||l.useAnchor,n.condition_=l.condition?l.condition:X,n.lastAnchor_=null,n.startTime_=void 0,n.mode_=void 0,n.trackpadEventGap_=400,n.deltaPerZoom_=300,n}return Mt(e,t),e.prototype.conditionInternal_=function(t){var e=!0;return t.map.getTargetElement().hasAttribute("tabindex")&&(e=$(t)),e&&this.condition_(t)},e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0,this.getMap().getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},e.prototype.handleEvent=function(t){if(!this.conditionInternal_(t))return!0;if(t.type!==_.a.WHEEL)return!0;t.preventDefault();var e,n=t.map,l=t.originalEvent;if(this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==_.a.WHEEL&&(e=l.deltaY,d.b&&l.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(e/=d.a),l.deltaMode===WheelEvent.DOM_DELTA_LINE&&(e*=40)),0===e)return!1;this.lastDelta_=e;var i=Date.now();void 0===this.startTime_&&(this.startTime_=i),(!this.mode_||i-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(e)<4?"trackpad":"wheel");var r=n.getView();if("trackpad"===this.mode_&&!r.getConstrainResolution())return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(r.getAnimating()&&r.cancelAnimations(),r.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),r.adjustZoom(-e/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=i,!1;this.totalDelta_+=e;var o=Math.max(this.timeout_-(i-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),o),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=-Object(kt.a)(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;e.getConstrainResolution()&&(n=n?n>0?1:-1:0),Object(et.c)(e,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(et.a),Dt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Tt=function(t){function e(e){var n=this,l=e||{},i=l;return i.stopDown||(i.stopDown=j.a),(n=t.call(this,i)||this).anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==l.threshold?l.threshold:.3,n.duration_=void 0!==l.duration?l.duration:250,n}return Dt(e,t),e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],l=this.targetPointers[1],i=Math.atan2(l.clientY-n.clientY,l.clientX-n.clientX);if(void 0!==this.lastAngle_){var r=i-this.lastAngle_;this.rotationDelta_+=r,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=r}this.lastAngle_=i;var o=t.map,a=o.getView();if(a.getConstraints().rotation!==st.c){var s=o.getViewport().getBoundingClientRect(),u=lt(this.targetPointers);u[0]-=s.left,u[1]-=s.top,this.anchor_=o.getCoordinateFromPixelInternal(u),this.rotating_&&(o.render(),a.adjustRotationInternal(e,this.anchor_))}},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(it),Et=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),It=function(t){function e(e){var n=this,l=e||{},i=l;return i.stopDown||(i.stopDown=j.a),(n=t.call(this,i)||this).anchor_=null,n.duration_=void 0!==l.duration?l.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return Et(e,t),e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],l=this.targetPointers[1],i=n.clientX-l.clientX,r=n.clientY-l.clientY,o=Math.sqrt(i*i+r*r);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;var a=t.map,s=a.getView();1!=e&&(this.lastScaleDelta_=e);var u=a.getViewport().getBoundingClientRect(),c=lt(this.targetPointers);c[0]-=u.left,c[1]-=u.top,this.anchor_=a.getCoordinateFromPixelInternal(c),a.render(),s.adjustResolutionInternal(e,this.anchor_)},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_,this.lastScaleDelta_>1?1:-1),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(it),Lt=n("zX6e"),jt=n("GvmM"),Rt=n("MzMb"),Ft=n("EwAT"),Nt=n("PCLV");n("yUaI"),n("MNGd");var Yt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function Ut(t,e){Nt.a.expire()}var Bt=function(t){function e(e){var n=t.call(this)||this;return n.map_=e,n.declutterTree_=null,n}return Yt(e,t),e.prototype.dispatchRenderEvent=function(t,e){Object(Ft.b)()},e.prototype.calculateMatrices2D=function(t){var e=t.viewState,n=t.coordinateToPixelTransform,l=t.pixelToCoordinateTransform;Object(N.b)(n,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Object(N.d)(l,n)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i,r,o,a){var s,u=e.viewState;function c(t,e,n){return i.call(r,e,t?n:null)}var d=u.projection,h=Object(V.f)(t.slice(),d),p=[[0,0]];if(d.canWrapX()&&l){var f=d.getExtent(),b=Object(L.E)(f);p.push([-b,0],[b,0])}var m,g=e.layerStatesArray,_=g.length;this.declutterTree_&&(m=this.declutterTree_.all().map((function(t){return t.value})));for(var y=[],A=0;A<p.length;A++)for(var v=_-1;v>=0;--v){var C=g[v],w=C.layer;if(w.hasRenderer()&&Object(jt.b)(C,u)&&o.call(a,w)){var P=w.getRenderer(),x=w.getSource();if(P&&x){var S=x.getWrapX()?h:t,k=c.bind(null,C.managed);y[0]=S[0]+p[A][0],y[1]=S[1]+p[A][1],s=P.forEachFeatureAtCoordinate(y,e,n,k,m)}if(s)return s}}},e.prototype.forEachLayerAtPixel=function(t,e,n,l,i){return Object(Ft.b)()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,l,i,r){return void 0!==this.forEachFeatureAtCoordinate(t,e,n,l,j.b,this,i,r)},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(t){this.declutterTree_=function(t,e){e&&e.clear();for(var n=t.declutterItems,l=n.length-1;l>=0;--l)for(var i=n[l],r=i.items,o=0,a=r.length;o<a;o+=3)e=r[o].renderDeclutter(r[o+1],r[o+2],i.opacity,e);return n.length=0,e}(t,this.declutterTree_)},e.prototype.scheduleExpireIconCache=function(t){Nt.a.canExpireCache()&&t.postRenderFunctions.push(Ut)},e}(dt.a),zt=n("bYNo"),Gt=n("3er3"),Ht=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Vt=function(t){function e(e){var n=t.call(this,e)||this;n.fontChangeListenerKey_=Object(b.a)(Gt.a,P.a.PROPERTYCHANGE,e.redrawText.bind(e)),n.element_=document.createElement("div");var l=n.element_.style;l.position="absolute",l.width="100%",l.height="100%",l.zIndex="0",n.element_.className=Lt.e+" ol-layers";var i=e.getViewport();return i.insertBefore(n.element_,i.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return Ht(e,t),e.prototype.dispatchRenderEvent=function(t,e){var n=this.getMap();if(n.hasListener(t)){var l=new Rt.a(t,void 0,e);n.dispatchEvent(l)}},e.prototype.disposeInternal=function(){Object(b.c)(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(e){if(e){this.calculateMatrices2D(e),this.dispatchRenderEvent(C.a.PRECOMPOSE,e);var n=e.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex})),l=e.viewState;this.children_.length=0;for(var i=null,r=0,o=n.length;r<o;++r){var a=n[r];if(e.layerIndex=r,Object(jt.b)(a,l)&&(a.sourceState==zt.a.READY||a.sourceState==zt.a.UNDEFINED)){var s=a.layer.render(e,i);s&&s!==i&&(this.children_.push(s),i=s)}}t.prototype.renderFrame.call(this,e),Object(I.f)(this.element_,this.children_),this.dispatchRenderEvent(C.a.POSTCOMPOSE,e),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(e)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},e.prototype.forEachLayerAtPixel=function(t,e,n,l,i){for(var r=e.viewState,o=e.layerStatesArray,a=o.length-1;a>=0;--a){var s=o[a],u=s.layer;if(u.hasRenderer()&&Object(jt.b)(s,r)&&i(u)){var c=u.getRenderer().getDataAtPixel(t,e,n);if(c){var d=l(u,c);if(d)return d}}}},e}(Bt),qt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Wt=function(t){function e(e){return(e=Object(k.a)({},e)).controls||(e.controls=Object(z.a)()),e.interactions||(e.interactions=function(t){var e={},n=new i.a,l=new G(-.005,.05,100);return(void 0===e.altShiftDragRotate||e.altShiftDragRotate)&&n.push(new ct),(void 0===e.doubleClickZoom||e.doubleClickZoom)&&n.push(new H.a({delta:e.zoomDelta,duration:e.zoomDuration})),(void 0===e.dragPan||e.dragPan)&&n.push(new at({condition:e.onFocusOnly?$:void 0,kinetic:l})),(void 0===e.pinchRotate||e.pinchRotate)&&n.push(new Tt),(void 0===e.pinchZoom||e.pinchZoom)&&n.push(new It({duration:e.zoomDuration})),(void 0===e.keyboard||e.keyboard)&&(n.push(new wt),n.push(new St({delta:e.zoomDelta,duration:e.zoomDuration}))),(void 0===e.mouseWheelZoom||e.mouseWheelZoom)&&n.push(new Ot({condition:e.onFocusOnly?$:void 0,duration:e.zoomDuration})),(void 0===e.shiftDragZoom||e.shiftDragZoom)&&n.push(new At({duration:e.zoomDuration})),n}()),t.call(this,e)||this}return qt(e,t),e.prototype.createRenderer=function(){return new Vt(this)},e}(B);e.a=Wt},Y4ja:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J");const i={ALL_AIRCRAFT:"ALL",ONE_AIRCRAFT:"ONE"};let r=(()=>{class t{constructor(){this.modeMapChange=new l.r,this.modeMap=i.ALL_AIRCRAFT}getModeMapChangeEmitter(){return this.modeMapChange}getModeMap(){return this.modeMap}setModeMap(t){this.modeMap=t,this.modeMapChange.emit(this.modeMap)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("DH7j");function i(t){return!Object(l.a)(t)&&t-parseFloat(t)+1>=0}},YGmB:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("8Y7J"),i=n("JW8z"),r=n("wd/R"),o=n("w+w1"),a=n("qToJ"),s=n("wBRQ"),u=(n("G0WM"),n("ItNn"));let c=(()=>{class t{constructor(t,e,n){this.focusAircraftService=t,this.settingService=e,this.aircraftbboxService=n,this.lockRequest=!1,this.aircrafts={},this.trafficChange=new l.r}getAircrafts(){return this.aircrafts}getAircraftArray(){return Object.keys(this.aircrafts).map(t=>this.aircrafts[t])}getTrafficChangeEmitter(){return this.trafficChange}getNbAircrafts(){return Object.keys(this.aircrafts).length}deleteAllAircraft(){this.lockRequest=!0;for(const t in this.aircrafts)this.aircrafts.hasOwnProperty(t)&&delete this.aircrafts[t]}addAircraft(t){return this.aircrafts[t.icao]||(this.aircrafts[t.icao]=t,this.lockRequest=!0),this.aircrafts[t.icao]}getTraffic(t,e,n,l,o){const a=Object(i.m)([t[0],t[1]]),s=Object(i.m)([t[2],t[3]]),u=this.settingService.getFeeds();let c={minLon:a[0],minLat:a[1],maxLon:s[0],maxLat:s[1],providers:u.map(t=>t.id)};l&&(c.since=r(l).format()),e&&e.length>0&&(c.selected=e.map(t=>t.icao+"_"+r(t.createdAt).format())),o&&o.length>0&&(c.filterIcao=o.map(t=>t.icao)),this.aircraftbboxService.aircraftBboxControllerGetBbox(c).subscribe(t=>{!0===this.lockRequest?(this.lockRequest=!1,n([],[],[])):this.updateSource(t.data,n)},t=>{console.error("ERROR AIRCRAFT BBOX : ",t),this.lockRequest=!1,n([],[],[])})}updateSource(t,e){const n=this.getAircraftHash(t),l=this.getRemovedAircrafts(n),i=this.updateModifiedAndNewAircrafts(n);e(l,i.addedAircrafts,i.modifiedAircrafts),this.removeAircrafts(l),this.trafficChange.emit(this.aircrafts)}getAircraftHash(t){const e={};return t&&(this.focusAircraftService.focusIsActive()?t.forEach(t=>{this.focusAircraftService.aircraftMatch(t)&&(e[t.icao]=t)}):t.forEach(t=>{e[t.icao]=t})),e}getRemovedAircrafts(t){const e=[];for(const n in this.aircrafts)t[n]||e.push(this.aircrafts[n]);return e}updateModifiedAndNewAircrafts(t){const e=[],n=[];for(const l in t)this.aircrafts[l]?(this.aircrafts[l].updateBboxAircraft(t[l]),n.push(this.aircrafts[l])):(this.aircrafts[l]=new o.a(t[l]),e.push(this.aircrafts[l]));return{addedAircrafts:e,modifiedAircrafts:n}}removeAircrafts(t){t.forEach(t=>{delete this.aircrafts[t.icao]})}}return t.ngInjectableDef=l.cc({factory:function(){return new t(l.dc(s.a),l.dc(a.a),l.dc(u.a))},token:t,providedIn:"root"}),t})()},YRex:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":l<900?"\u0633\u06d5\u06be\u06d5\u0631":l<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":l<1230?"\u0686\u06c8\u0634":l<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YX0d:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"f",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"e",(function(){return c}));var l="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",i=-1!==l.indexOf("firefox"),r=(-1!==l.indexOf("safari")&&l.indexOf("chrom"),-1!==l.indexOf("webkit")&&-1==l.indexOf("edge")),o=-1!==l.indexOf("macintosh"),a="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,s="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,u="undefined"!=typeof Image&&Image.prototype.decode,c=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(n){}return t}()},Yeuo:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("s6ns"),r=n("bujt"),o=n("Fwaw"),a=n("5GAg"),s=n("omvX"),u=n("1f0G"),c=n("MlvX"),d=n("Xd0L"),h=n("dJrM"),p=n("HsOI"),f=n("IP0z"),b=n("/HVE"),m=n("Z/v2"),g=l.Bb({encapsulation:0,styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%]:not(.file-input-disabled){cursor:pointer}input[_ngcontent-%COMP%]{width:0;height:0;opacity:0;overflow:hidden;position:absolute;z-index:-1}.filename[_ngcontent-%COMP%]{display:inline-block}"],data:{}});function _(t){return l.Yb(0,[(t()(),l.Db(0,0,[["input",1]],null,0,"input",[["type","file"]],[[1,"multiple",0],[1,"accept",0]],null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"span",[["class","filename"]],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n.multiple?"":null,n.accept),t(e,2,0,n.fileNames)}))}var y=n("s7LF"),A=n("ZwOa"),v=n("oapL"),C=n("Azqq"),w=n("JjoW"),P=n("hOhj"),x=n("SVse"),S=n("oJZn"),k=n("pBi1");n("X0qu"),n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return E})),n.d(e,"c",(function(){return $}));var M=l.Bb({encapsulation:0,styles:[[".form-layer-helper-popup[_ngcontent-%COMP%]{margin:20px}hr[_ngcontent-%COMP%]{height:2px;border-width:0;box-sizing:content-box;background-color:#000;margin:25px 0 20px}"]],data:{}});function O(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,86,"div",[["class","form-layer-helper-popup"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["G\xe9n\xe9ral"])),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- L'import de layer de type GL ne fonctionne qu'avec certains type de fichier g\xe9ographiques : GeoJSON, KML, Shapefile, CSV"])),(t()(),l.Db(5,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- La configuration du style d'un layer de type GL repose sur la sp\xe9cification MapBox GL Style (voir exemples ci dessous) : "])),(t()(),l.Db(7,0,null,null,1,"a",[["href","https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["mapbox-gl-js/style-spec"])),(t()(),l.Db(9,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Des exemples de commandes "Tippecanoe" son disponibles i\xe7i : '])),(t()(),l.Db(11,0,null,null,1,"a",[["href","https://github.com/mapbox/tippecanoe"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["mapbox/tippecanoe"])),(t()(),l.Db(13,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- "])),(t()(),l.Db(15,0,null,null,1,"a",[["href","https://mapwithlove.github.io/geojson-circle"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["G\xe9n\xe9rateur de zones circulaires"])),(t()(),l.Db(17,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- "])),(t()(),l.Db(19,0,null,null,1,"a",[["href","https://mapwithlove.github.io/geojson-circle/converter"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Convertisseur des coordonn\xe9s en sortie www.pap08.eu/ZA/volume-aerien.php"])),(t()(),l.Db(21,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Exemple de GeoJSON valides : "])),(t()(),l.Db(23,0,null,null,1,"a",[["href","https://geojsonlint.com/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["geojsonlint.com/"])),(t()(),l.Db(25,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Visualiser un GeoJSON en ligne : "])),(t()(),l.Db(27,0,null,null,1,"a",[["href","http://geojson.io/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["geojson.io/"])),(t()(),l.Db(29,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Logiciel conseill\xe9 pour l'\xe9dition/visualisation de fichier g\xe9o : "])),(t()(),l.Db(31,0,null,null,1,"a",[["href","https://www.qgis.org/fr/site/forusers/download.html"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["QGIS"])),(t()(),l.Db(33,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(34,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GL layers"])),(t()(),l.Db(36,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Point" :'])),(t()(),l.Db(38,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "stops" est un tableau qui permet de g\xe9rer le taille des points en pixel en fonction du zoom : [[zoom, size], ...] '])),(t()(),l.Db(40,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Il est possible de d\xe9finir simplement l\'attribut "circle-radius": 2 (par exemple, pour 2 pixel peut importe le zoom)'])),(t()(),l.Db(42,0,null,null,1,"textarea",[["style","width: 100%; height: 312px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":"circle",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "circle-radius": {\n "stops":[ [4, 1], [6, 2], [8, 3], [10, 3], [12, 3] ]\n },\n "circle-color": "red",\n "circle-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(44,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "LineString" :'])),(t()(),l.Db(46,0,null,null,1,"textarea",[["style","width: 100%; height: 258px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":" line",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "line-color": "green",\n "line-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(48,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Polygon" :'])),(t()(),l.Db(50,0,null,null,1,"textarea",[["style","width: 100%; height: 258px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":"fill",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "fill-color": "blue",\n "fill-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(52,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Polygon" avec une bordure :'])),(t()(),l.Db(54,0,null,null,1,"textarea",[["style","width: 100%; height: 520px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type": "fill",\n "paint": {\n "fill-color": "red",\n "fill-opacity": 0.5\n },\n "layout": {\n "visibility": "visible"\n }\n },\n {\n "type": "line",\n "paint": {\n "line-color": "red",\n "line-opacity": 0.99,\n "line-width": 5\n },\n "layout": {\n "visibility": "visible"\n }\n }\n ]\n '])),(t()(),l.Db(56,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Exemple de mapping :"])),(t()(),l.Db(58,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Nom du champ dans le "properties" d\'une "feature" : nom du champ transform\xe9'])),(t()(),l.Db(60,0,null,null,1,"textarea",[["style","width: 100%; height: 96px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' {\n "Name": "name",\n "Cat": "type"\n }\n '])),(t()(),l.Db(62,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(63,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Raster layers"])),(t()(),l.Db(65,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- S\xe9lectionner le type de layer "RASTER"'])),(t()(),l.Db(67,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Taper le nom du groupe du layer"])),(t()(),l.Db(69,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Le seul autre champ \xe0 remplir est "parameters" avec un exemple ci dessous'])),(t()(),l.Db(71,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "baseLayer" est optionnel, seulement dans le cas d\'un layer "fond de carte" comme OSM par exemple'])),(t()(),l.Db(73,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "CacheSize" permet de configurer le nombres maximum de tuiles mises en cache'])),(t()(),l.Db(75,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- L'attribut \"transition\" permet de configurer le temps de transition/fondu au moment de l'affichage d'un layer"])),(t()(),l.Db(77,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "properties" :'])),(t()(),l.Db(80,0,null,null,1,"textarea",[["style","width: 100%; height: 168px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' {\n "url": "https://t.skyvector.com/836f40bc/vfr/{YYMM}/{z}/{x}/{y}.jpg",\n "baseLayer": true,\n "opacity": 1,\n "attribution": "\xa9 SkyVector.com",\n "cacheSize": 1024,\n "transition": 0\n }\n '])),(t()(),l.Db(82,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""],["style","height: 50px; bottom: 0px;"]],null,null,null,null,null)),l.Cb(83,16384,null,0,i.f,[],null,null),(t()(),l.Db(84,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onNoClick()&&l),l}),r.b,r.a)),l.Cb(85,180224,null,0,o.b,[l.p,a.h,[2,s.a]],null,null),(t()(),l.Wb(-1,0,["Fermer"]))],null,(function(t,e){t(e,84,0,l.Pb(e,85).disabled||null,"NoopAnimations"===l.Pb(e,85)._animationMode)}))}function D(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-layer-helper",[],null,null,null,O,M)),l.Cb(1,49152,null,0,u.b,[i.l,i.a],null,null)],null,null)}var T=l.zb("form-layer-helper",u.b,D,{},{},[]),E=l.Bb({encapsulation:0,styles:[[".form-layer[_ngcontent-%COMP%]{padding-top:10px}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%]{width:100%;display:inline-flex;align-content:center;align-items:center}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%;margin-left:auto;margin-right:auto;padding-left:3px;padding-right:3px}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;padding-left:3px;padding-right:3px}.form-layer[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin:2.5px}.form-layer[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-primary);color:var(--ion-color-primary-contrast);height:50px;margin-top:20px}.form-layer[_ngcontent-%COMP%] .helper-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-medium);color:var(--ion-color-medium-contrast);height:50px;margin-top:20px;margin-left:20px}"]],data:{}});function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),c.e,c.b)),l.Cb(1,8568832,[[10,4]],0,d.s,[l.p,l.j,[2,d.l],[2,d.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,13,{_controlNonStatic:0}),l.Ub(335544320,14,{_controlStatic:0}),l.Ub(603979776,15,{_labelChildNonStatic:0}),l.Ub(335544320,16,{_labelChildStatic:0}),l.Ub(603979776,17,{_placeholderChild:0}),l.Ub(603979776,18,{_errorChildren:1}),l.Ub(603979776,19,{_hintChildren:1}),l.Ub(603979776,20,{_prefixChildren:1}),l.Ub(603979776,21,{_suffixChildren:1}),(t()(),l.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(12,16384,[[15,4],[16,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Select : GeoJSON, KML, ShapeFile, CSV"])),(t()(),l.Db(14,0,null,1,5,"ngx-mat-file-input",[["formControlName","file"],["placeholder","??? - Fichiers accept\xe9s : GeoJSON, KML, ShapeFile, CSV - ???"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"aria-describedby",0],[2,"mat-form-field-should-float",null],[2,"file-input-disabled",null]],[[null,"change"],[null,"focusout"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==l.Pb(t,18).change(n)&&i),"focusout"===e&&(i=!1!==l.Pb(t,18).blur()&&i),i}),_,g)),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,245760,null,0,m.a,[[6,y.p],a.h,l.p,l.M],{accept:[0,"accept"],placeholder:[1,"placeholder"]},null),l.Tb(2048,[[13,4],[14,4]],p.d,null,[m.a])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,"file"),t(e,18,0,".json,.geojson,.kml,.shp,.shapefile,.csv","??? - Fichiers accept\xe9s : GeoJSON, KML, ShapeFile, CSV - ???")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,14,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18).id,l.Pb(e,18).describedBy,l.Pb(e,18).shouldLabelFloat,l.Pb(e,18).isDisabled])}))}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,58,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,22,{_controlNonStatic:0}),l.Ub(335544320,23,{_controlStatic:0}),l.Ub(603979776,24,{_labelChildNonStatic:0}),l.Ub(335544320,25,{_labelChildStatic:0}),l.Ub(603979776,26,{_placeholderChild:0}),l.Ub(603979776,27,{_errorChildren:1}),l.Ub(603979776,28,{_hintChildren:1}),l.Ub(603979776,29,{_prefixChildren:1}),l.Ub(603979776,30,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[22,4],[23,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,31,{_controlNonStatic:0}),l.Ub(335544320,32,{_controlStatic:0}),l.Ub(603979776,33,{_labelChildNonStatic:0}),l.Ub(335544320,34,{_labelChildStatic:0}),l.Ub(603979776,35,{_placeholderChild:0}),l.Ub(603979776,36,{_errorChildren:1}),l.Ub(603979776,37,{_hintChildren:1}),l.Ub(603979776,38,{_prefixChildren:1}),l.Ub(603979776,39,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","group"],["matInput",""],["placeholder","Group"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,37)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(34,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(36,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(37,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[31,4],[32,4]],p.d,null,[A.b]),(t()(),l.Db(39,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(40,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,40,{_controlNonStatic:0}),l.Ub(335544320,41,{_controlStatic:0}),l.Ub(603979776,42,{_labelChildNonStatic:0}),l.Ub(335544320,43,{_labelChildStatic:0}),l.Ub(603979776,44,{_placeholderChild:0}),l.Ub(603979776,45,{_errorChildren:1}),l.Ub(603979776,46,{_hintChildren:1}),l.Ub(603979776,47,{_prefixChildren:1}),l.Ub(603979776,48,{_suffixChildren:1}),(t()(),l.Db(50,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","order"],["matInput",""],["max","10000"],["min","0"],["placeholder","Order"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,51)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,51).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,51)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,51)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,52).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,52).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,52).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,57)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,57)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,57)._onInput()&&i),i}),null,null)),l.Cb(51,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(52,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(54,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(56,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(57,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[40,4],[41,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"name"),t(e,18,0,"Name","text"),t(e,21,0,"outline"),t(e,34,0,"group"),t(e,37,0,"Group","text"),t(e,40,0,"outline"),t(e,54,0,"order"),t(e,57,0,"Order","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,37)._isServer,l.Pb(e,37).id,l.Pb(e,37).placeholder,l.Pb(e,37).disabled,l.Pb(e,37).required,l.Pb(e,37).readonly&&!l.Pb(e,37)._isNativeSelect||null,l.Pb(e,37)._ariaDescribedby||null,l.Pb(e,37).errorState,l.Pb(e,37).required.toString()]),t(e,39,1,["standard"==l.Pb(e,40).appearance,"fill"==l.Pb(e,40).appearance,"outline"==l.Pb(e,40).appearance,"legacy"==l.Pb(e,40).appearance,l.Pb(e,40)._control.errorState,l.Pb(e,40)._canLabelFloat,l.Pb(e,40)._shouldLabelFloat(),l.Pb(e,40)._hasFloatingLabel(),l.Pb(e,40)._hideControlPlaceholder(),l.Pb(e,40)._control.disabled,l.Pb(e,40)._control.autofilled,l.Pb(e,40)._control.focused,"accent"==l.Pb(e,40).color,"warn"==l.Pb(e,40).color,l.Pb(e,40)._shouldForward("untouched"),l.Pb(e,40)._shouldForward("touched"),l.Pb(e,40)._shouldForward("pristine"),l.Pb(e,40)._shouldForward("dirty"),l.Pb(e,40)._shouldForward("valid"),l.Pb(e,40)._shouldForward("invalid"),l.Pb(e,40)._shouldForward("pending"),!l.Pb(e,40)._animationsEnabled]),t(e,50,1,[l.Pb(e,56).ngClassUntouched,l.Pb(e,56).ngClassTouched,l.Pb(e,56).ngClassPristine,l.Pb(e,56).ngClassDirty,l.Pb(e,56).ngClassValid,l.Pb(e,56).ngClassInvalid,l.Pb(e,56).ngClassPending,l.Pb(e,57)._isServer,l.Pb(e,57).id,l.Pb(e,57).placeholder,l.Pb(e,57).disabled,l.Pb(e,57).required,l.Pb(e,57).readonly&&!l.Pb(e,57)._isNativeSelect||null,l.Pb(e,57)._ariaDescribedby||null,l.Pb(e,57).errorState,l.Pb(e,57).required.toString()])}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),c.e,c.b)),l.Cb(1,8568832,[[58,4]],0,d.s,[l.p,l.j,[2,d.l],[2,d.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,65,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,49,{_controlNonStatic:0}),l.Ub(335544320,50,{_controlStatic:0}),l.Ub(603979776,51,{_labelChildNonStatic:0}),l.Ub(335544320,52,{_labelChildStatic:0}),l.Ub(603979776,53,{_placeholderChild:0}),l.Ub(603979776,54,{_errorChildren:1}),l.Ub(603979776,55,{_hintChildren:1}),l.Ub(603979776,56,{_prefixChildren:1}),l.Ub(603979776,57,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[51,4],[52,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Geometry type"])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","geometryType"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),"ngModelChange"===e&&(i=!1!==(r.geometryType=n)&&i),i}),C.b,C.a)),l.Tb(6144,null,d.l,null,[w.c]),l.Cb(17,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(19,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(20,2080768,null,3,w.c,[P.e,l.j,l.G,d.d,l.p,[2,f.b],[2,y.s],[2,y.k],[2,p.c],[6,y.p],[8,null],w.a,a.j],null,null),l.Ub(603979776,58,{options:1}),l.Ub(603979776,59,{optionGroups:1}),l.Ub(603979776,60,{customTrigger:0}),l.Tb(2048,[[49,4],[50,4]],p.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,R)),l.Cb(26,278528,null,0,x.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(28,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,61,{_controlNonStatic:0}),l.Ub(335544320,62,{_controlStatic:0}),l.Ub(603979776,63,{_labelChildNonStatic:0}),l.Ub(335544320,64,{_labelChildStatic:0}),l.Ub(603979776,65,{_placeholderChild:0}),l.Ub(603979776,66,{_errorChildren:1}),l.Ub(603979776,67,{_hintChildren:1}),l.Ub(603979776,68,{_prefixChildren:1}),l.Ub(603979776,69,{_suffixChildren:1}),(t()(),l.Db(38,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","geometryColor"],["matInput",""],["placeholder","Geometry color (black/#000000/rgba(0,0,0,0))"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,39)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,39).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,39)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,39)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,44)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,44)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,44)._onInput()&&i),i}),null,null)),l.Cb(39,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(41,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(43,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(44,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[61,4],[62,4]],p.d,null,[A.b]),(t()(),l.Db(46,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(47,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,70,{_controlNonStatic:0}),l.Ub(335544320,71,{_controlStatic:0}),l.Ub(603979776,72,{_labelChildNonStatic:0}),l.Ub(335544320,73,{_labelChildStatic:0}),l.Ub(603979776,74,{_placeholderChild:0}),l.Ub(603979776,75,{_errorChildren:1}),l.Ub(603979776,76,{_hintChildren:1}),l.Ub(603979776,77,{_prefixChildren:1}),l.Ub(603979776,78,{_suffixChildren:1}),(t()(),l.Db(57,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","geometryOpacity"],["matInput",""],["max","1"],["min","0"],["placeholder","Geometry opacity (0.5)"],["step","0.1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,58)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,58).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,58)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,58)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,59).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,59).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,59).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,64)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,64)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,64)._onInput()&&i),i}),null,null)),l.Cb(58,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(59,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(61,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(63,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(64,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[70,4],[71,4]],p.d,null,[A.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"geometryType",n.geometryType),t(e,20,0),t(e,26,0,n.geometryTypes),t(e,28,0,"outline"),t(e,41,0,"geometryColor"),t(e,44,0,"Geometry color (black/#000000/rgba(0,0,0,0))","text"),t(e,47,0,"outline"),t(e,61,0,"geometryOpacity"),t(e,64,0,"Geometry opacity (0.5)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,38,1,[l.Pb(e,43).ngClassUntouched,l.Pb(e,43).ngClassTouched,l.Pb(e,43).ngClassPristine,l.Pb(e,43).ngClassDirty,l.Pb(e,43).ngClassValid,l.Pb(e,43).ngClassInvalid,l.Pb(e,43).ngClassPending,l.Pb(e,44)._isServer,l.Pb(e,44).id,l.Pb(e,44).placeholder,l.Pb(e,44).disabled,l.Pb(e,44).required,l.Pb(e,44).readonly&&!l.Pb(e,44)._isNativeSelect||null,l.Pb(e,44)._ariaDescribedby||null,l.Pb(e,44).errorState,l.Pb(e,44).required.toString()]),t(e,46,1,["standard"==l.Pb(e,47).appearance,"fill"==l.Pb(e,47).appearance,"outline"==l.Pb(e,47).appearance,"legacy"==l.Pb(e,47).appearance,l.Pb(e,47)._control.errorState,l.Pb(e,47)._canLabelFloat,l.Pb(e,47)._shouldLabelFloat(),l.Pb(e,47)._hasFloatingLabel(),l.Pb(e,47)._hideControlPlaceholder(),l.Pb(e,47)._control.disabled,l.Pb(e,47)._control.autofilled,l.Pb(e,47)._control.focused,"accent"==l.Pb(e,47).color,"warn"==l.Pb(e,47).color,l.Pb(e,47)._shouldForward("untouched"),l.Pb(e,47)._shouldForward("touched"),l.Pb(e,47)._shouldForward("pristine"),l.Pb(e,47)._shouldForward("dirty"),l.Pb(e,47)._shouldForward("valid"),l.Pb(e,47)._shouldForward("invalid"),l.Pb(e,47)._shouldForward("pending"),!l.Pb(e,47)._animationsEnabled]),t(e,57,1,[l.Pb(e,63).ngClassUntouched,l.Pb(e,63).ngClassTouched,l.Pb(e,63).ngClassPristine,l.Pb(e,63).ngClassDirty,l.Pb(e,63).ngClassValid,l.Pb(e,63).ngClassInvalid,l.Pb(e,63).ngClassPending,l.Pb(e,64)._isServer,l.Pb(e,64).id,l.Pb(e,64).placeholder,l.Pb(e,64).disabled,l.Pb(e,64).required,l.Pb(e,64).readonly&&!l.Pb(e,64)._isNativeSelect||null,l.Pb(e,64)._ariaDescribedby||null,l.Pb(e,64).errorState,l.Pb(e,64).required.toString()])}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,59,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,79,{_controlNonStatic:0}),l.Ub(335544320,80,{_controlStatic:0}),l.Ub(603979776,81,{_labelChildNonStatic:0}),l.Ub(335544320,82,{_labelChildStatic:0}),l.Ub(603979776,83,{_placeholderChild:0}),l.Ub(603979776,84,{_errorChildren:1}),l.Ub(603979776,85,{_hintChildren:1}),l.Ub(603979776,86,{_prefixChildren:1}),l.Ub(603979776,87,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderColor"],["matInput",""],["placeholder","Border color (black/#000000/rgba(0,0,0,0))"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[79,4],[80,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,88,{_controlNonStatic:0}),l.Ub(335544320,89,{_controlStatic:0}),l.Ub(603979776,90,{_labelChildNonStatic:0}),l.Ub(335544320,91,{_labelChildStatic:0}),l.Ub(603979776,92,{_placeholderChild:0}),l.Ub(603979776,93,{_errorChildren:1}),l.Ub(603979776,94,{_hintChildren:1}),l.Ub(603979776,95,{_prefixChildren:1}),l.Ub(603979776,96,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderOpacity"],["matInput",""],["max","1"],["min","0"],["placeholder","Border opacity (0.5)"],["step","0.1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,33).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,33).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,33).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,38)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(33,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(35,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(37,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(38,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[88,4],[89,4]],p.d,null,[A.b]),(t()(),l.Db(40,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(41,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,97,{_controlNonStatic:0}),l.Ub(335544320,98,{_controlStatic:0}),l.Ub(603979776,99,{_labelChildNonStatic:0}),l.Ub(335544320,100,{_labelChildStatic:0}),l.Ub(603979776,101,{_placeholderChild:0}),l.Ub(603979776,102,{_errorChildren:1}),l.Ub(603979776,103,{_hintChildren:1}),l.Ub(603979776,104,{_prefixChildren:1}),l.Ub(603979776,105,{_suffixChildren:1}),(t()(),l.Db(51,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderWidth"],["matInput",""],["max","1000"],["min","0"],["placeholder","Border width (2)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,52)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,52).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,52)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,52)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,53).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,53).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,53).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,58)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,58)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,58)._onInput()&&i),i}),null,null)),l.Cb(52,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(53,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(55,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(57,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(58,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[97,4],[98,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"borderColor"),t(e,18,0,"Border color (black/#000000/rgba(0,0,0,0))","text"),t(e,21,0,"outline"),t(e,35,0,"borderOpacity"),t(e,38,0,"Border opacity (0.5)","number"),t(e,41,0,"outline"),t(e,55,0,"borderWidth"),t(e,58,0,"Border width (2)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,37).ngClassUntouched,l.Pb(e,37).ngClassTouched,l.Pb(e,37).ngClassPristine,l.Pb(e,37).ngClassDirty,l.Pb(e,37).ngClassValid,l.Pb(e,37).ngClassInvalid,l.Pb(e,37).ngClassPending,l.Pb(e,38)._isServer,l.Pb(e,38).id,l.Pb(e,38).placeholder,l.Pb(e,38).disabled,l.Pb(e,38).required,l.Pb(e,38).readonly&&!l.Pb(e,38)._isNativeSelect||null,l.Pb(e,38)._ariaDescribedby||null,l.Pb(e,38).errorState,l.Pb(e,38).required.toString()]),t(e,40,1,["standard"==l.Pb(e,41).appearance,"fill"==l.Pb(e,41).appearance,"outline"==l.Pb(e,41).appearance,"legacy"==l.Pb(e,41).appearance,l.Pb(e,41)._control.errorState,l.Pb(e,41)._canLabelFloat,l.Pb(e,41)._shouldLabelFloat(),l.Pb(e,41)._hasFloatingLabel(),l.Pb(e,41)._hideControlPlaceholder(),l.Pb(e,41)._control.disabled,l.Pb(e,41)._control.autofilled,l.Pb(e,41)._control.focused,"accent"==l.Pb(e,41).color,"warn"==l.Pb(e,41).color,l.Pb(e,41)._shouldForward("untouched"),l.Pb(e,41)._shouldForward("touched"),l.Pb(e,41)._shouldForward("pristine"),l.Pb(e,41)._shouldForward("dirty"),l.Pb(e,41)._shouldForward("valid"),l.Pb(e,41)._shouldForward("invalid"),l.Pb(e,41)._shouldForward("pending"),!l.Pb(e,41)._animationsEnabled]),t(e,51,1,[l.Pb(e,57).ngClassUntouched,l.Pb(e,57).ngClassTouched,l.Pb(e,57).ngClassPristine,l.Pb(e,57).ngClassDirty,l.Pb(e,57).ngClassValid,l.Pb(e,57).ngClassInvalid,l.Pb(e,57).ngClassPending,l.Pb(e,58)._isServer,l.Pb(e,58).id,l.Pb(e,58).placeholder,l.Pb(e,58).disabled,l.Pb(e,58).required,l.Pb(e,58).readonly&&!l.Pb(e,58)._isNativeSelect||null,l.Pb(e,58)._ariaDescribedby||null,l.Pb(e,58).errorState,l.Pb(e,58).required.toString()])}))}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,106,{_controlNonStatic:0}),l.Ub(335544320,107,{_controlStatic:0}),l.Ub(603979776,108,{_labelChildNonStatic:0}),l.Ub(335544320,109,{_labelChildStatic:0}),l.Ub(603979776,110,{_placeholderChild:0}),l.Ub(603979776,111,{_errorChildren:1}),l.Ub(603979776,112,{_hintChildren:1}),l.Ub(603979776,113,{_prefixChildren:1}),l.Ub(603979776,114,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","circleRadius"],["matInput",""],["max","100"],["min","0.1"],["placeholder","Radius of point (in pixel)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,19)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(14,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(16,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(18,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(19,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[106,4],[107,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,16,0,"circleRadius"),t(e,19,0,"Radius of point (in pixel)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,18).ngClassUntouched,l.Pb(e,18).ngClassTouched,l.Pb(e,18).ngClassPristine,l.Pb(e,18).ngClassDirty,l.Pb(e,18).ngClassValid,l.Pb(e,18).ngClassInvalid,l.Pb(e,18).ngClassPending,l.Pb(e,19)._isServer,l.Pb(e,19).id,l.Pb(e,19).placeholder,l.Pb(e,19).disabled,l.Pb(e,19).required,l.Pb(e,19).readonly&&!l.Pb(e,19)._isNativeSelect||null,l.Pb(e,19)._ariaDescribedby||null,l.Pb(e,19).errorState,l.Pb(e,19).required.toString()])}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,115,{_controlNonStatic:0}),l.Ub(335544320,116,{_controlStatic:0}),l.Ub(603979776,117,{_labelChildNonStatic:0}),l.Ub(335544320,118,{_labelChildStatic:0}),l.Ub(603979776,119,{_placeholderChild:0}),l.Ub(603979776,120,{_errorChildren:1}),l.Ub(603979776,121,{_hintChildren:1}),l.Ub(603979776,122,{_prefixChildren:1}),l.Ub(603979776,123,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lineWidth"],["matInput",""],["max","100"],["min","0.1"],["placeholder","Width of line (in pixel)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,19)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(14,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(16,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(18,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(19,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[115,4],[116,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,16,0,"lineWidth"),t(e,19,0,"Width of line (in pixel)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,18).ngClassUntouched,l.Pb(e,18).ngClassTouched,l.Pb(e,18).ngClassPristine,l.Pb(e,18).ngClassDirty,l.Pb(e,18).ngClassValid,l.Pb(e,18).ngClassInvalid,l.Pb(e,18).ngClassPending,l.Pb(e,19)._isServer,l.Pb(e,19).id,l.Pb(e,19).placeholder,l.Pb(e,19).disabled,l.Pb(e,19).required,l.Pb(e,19).readonly&&!l.Pb(e,19)._isNativeSelect||null,l.Pb(e,19)._ariaDescribedby||null,l.Pb(e,19).errorState,l.Pb(e,19).required.toString()])}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100%;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,124,{_controlNonStatic:0}),l.Ub(335544320,125,{_controlStatic:0}),l.Ub(603979776,126,{_labelChildNonStatic:0}),l.Ub(335544320,127,{_labelChildStatic:0}),l.Ub(603979776,128,{_placeholderChild:0}),l.Ub(603979776,129,{_errorChildren:1}),l.Ub(603979776,130,{_hintChildren:1}),l.Ub(603979776,131,{_prefixChildren:1}),l.Ub(603979776,132,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","style"],["matInput",""],["placeholder","Style"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(14,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(16,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(17,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[124,4],[125,4]],p.d,null,[A.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,"style"),t(e,17,0,"Style")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()])}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100%;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,133,{_controlNonStatic:0}),l.Ub(335544320,134,{_controlStatic:0}),l.Ub(603979776,135,{_labelChildNonStatic:0}),l.Ub(335544320,136,{_labelChildStatic:0}),l.Ub(603979776,137,{_placeholderChild:0}),l.Ub(603979776,138,{_errorChildren:1}),l.Ub(603979776,139,{_hintChildren:1}),l.Ub(603979776,140,{_prefixChildren:1}),l.Ub(603979776,141,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","properties"],["matInput",""],["placeholder","Properties"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(14,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(16,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(17,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[133,4],[134,4]],p.d,null,[A.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,"properties"),t(e,17,0,"Properties")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()])}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,38,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,142,{_controlNonStatic:0}),l.Ub(335544320,143,{_controlStatic:0}),l.Ub(603979776,144,{_labelChildNonStatic:0}),l.Ub(335544320,145,{_labelChildStatic:0}),l.Ub(603979776,146,{_placeholderChild:0}),l.Ub(603979776,147,{_errorChildren:1}),l.Ub(603979776,148,{_hintChildren:1}),l.Ub(603979776,149,{_prefixChildren:1}),l.Ub(603979776,150,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mapping"],["matInput",""],["placeholder","Mapping"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[142,4],[143,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,151,{_controlNonStatic:0}),l.Ub(335544320,152,{_controlStatic:0}),l.Ub(603979776,153,{_labelChildNonStatic:0}),l.Ub(335544320,154,{_labelChildStatic:0}),l.Ub(603979776,155,{_placeholderChild:0}),l.Ub(603979776,156,{_errorChildren:1}),l.Ub(603979776,157,{_hintChildren:1}),l.Ub(603979776,158,{_prefixChildren:1}),l.Ub(603979776,159,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tippecanoe"],["matInput",""],["placeholder","Tippecanoe"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,37)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(34,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(36,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(37,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[151,4],[152,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"mapping"),t(e,18,0,"Mapping"),t(e,21,0,"outline"),t(e,34,0,"tippecanoe"),t(e,37,0,"Tippecanoe")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,37)._isServer,l.Pb(e,37).id,l.Pb(e,37).placeholder,l.Pb(e,37).disabled,l.Pb(e,37).required,l.Pb(e,37).readonly&&!l.Pb(e,37)._isNativeSelect||null,l.Pb(e,37)._ariaDescribedby||null,l.Pb(e,37).errorState,l.Pb(e,37).required.toString()])}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Is clickable"]))],(function(t,e){t(e,2,0,e.component.clickable)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Is hoverable"]))],(function(t,e){t(e,2,0,e.component.hoverable)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["PIV"]))],(function(t,e){t(e,2,0,e.component.piv)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,10,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,3)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(3,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Show"])),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(6,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,V)),l.Cb(8,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,q)),l.Cb(10,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.show),t(e,6,0,"GL"===n.getLayerType()),t(e,8,0,"GL"===n.getLayerType()),t(e,10,0,"GL"===n.getLayerType())}),(function(t,e){t(e,1,0,l.Pb(e,3).id,l.Pb(e,3).disabled?null:-1,null,null,l.Pb(e,3).checked,l.Pb(e,3).disabled,"before"==l.Pb(e,3).labelPosition,"NoopAnimations"===l.Pb(e,3)._animationMode)}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,58,"form",[["class","form-layer"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitLayer()&&i),i}),null,null)),l.Cb(1,16384,null,0,y.A,[],null,null),l.Cb(2,540672,null,0,y.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,y.c,null,[y.k]),l.Cb(4,16384,null,0,y.r,[[4,y.c]],null,null),(t()(),l.Db(5,0,null,null,28,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(7,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(17,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(18,16384,[[3,4],[4,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Type"])),(t()(),l.Db(20,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","layerType"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,25)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._onBlur()&&i),"ngModelChange"===e&&(i=!1!==(r.layerType=n)&&i),i}),C.b,C.a)),l.Tb(6144,null,d.l,null,[w.c]),l.Cb(22,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(24,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(25,2080768,null,3,w.c,[P.e,l.j,l.G,d.d,l.p,[2,f.b],[2,y.s],[2,y.k],[2,p.c],[6,y.p],[8,null],w.a,a.j],null,null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],p.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,I)),l.Cb(31,278528,null,0,x.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(33,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,j)),l.Cb(35,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,F)),l.Cb(37,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(39,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(41,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(43,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(45,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(47,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,G)),l.Cb(49,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,W)),l.Cb(51,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(52,0,null,null,6,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(53,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,r.b,r.a)),l.Cb(54,180224,null,0,o.b,[l.p,a.h,[2,s.a]],{disabled:[0,"disabled"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(56,0,null,null,2,"button",[["class","btn btn-info helper-button"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.openHelper()&&l),l}),r.b,r.a)),l.Cb(57,180224,null,0,o.b,[l.p,a.h,[2,s.a]],null,null),(t()(),l.Wb(-1,0,["Help !"]))],(function(t,e){var n=e.component;t(e,2,0,n.layerForm),t(e,7,0,"outline"),t(e,22,0,"layerType",n.layerType),t(e,25,0),t(e,31,0,n.layerTypes),t(e,33,0,"GL"===n.getLayerType()),t(e,35,0,n.getLayerType()),t(e,37,0,"GL"===n.getLayerType()),t(e,39,0,"GL"===n.getLayerType()&&"POLYGON"===n.getGeometryType()),t(e,41,0,"GL"===n.getLayerType()&&"POINT"===n.getGeometryType()),t(e,43,0,"GL"===n.getLayerType()&&"LINE"===n.getGeometryType()),t(e,45,0,"GL"===n.getLayerType()),t(e,47,0,n.getLayerType()),t(e,49,0,"GL"===n.getLayerType()),t(e,51,0,n.getLayerType()),t(e,54,0,!n.layerForm.valid)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,6,1,["standard"==l.Pb(e,7).appearance,"fill"==l.Pb(e,7).appearance,"outline"==l.Pb(e,7).appearance,"legacy"==l.Pb(e,7).appearance,l.Pb(e,7)._control.errorState,l.Pb(e,7)._canLabelFloat,l.Pb(e,7)._shouldLabelFloat(),l.Pb(e,7)._hasFloatingLabel(),l.Pb(e,7)._hideControlPlaceholder(),l.Pb(e,7)._control.disabled,l.Pb(e,7)._control.autofilled,l.Pb(e,7)._control.focused,"accent"==l.Pb(e,7).color,"warn"==l.Pb(e,7).color,l.Pb(e,7)._shouldForward("untouched"),l.Pb(e,7)._shouldForward("touched"),l.Pb(e,7)._shouldForward("pristine"),l.Pb(e,7)._shouldForward("dirty"),l.Pb(e,7)._shouldForward("valid"),l.Pb(e,7)._shouldForward("invalid"),l.Pb(e,7)._shouldForward("pending"),!l.Pb(e,7)._animationsEnabled]),t(e,20,1,[l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25).id,l.Pb(e,25).tabIndex,l.Pb(e,25)._getAriaLabel(),l.Pb(e,25)._getAriaLabelledby(),l.Pb(e,25).required.toString(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).errorState,l.Pb(e,25).panelOpen?l.Pb(e,25)._optionIds:null,l.Pb(e,25).multiple,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25)._getAriaActiveDescendant(),l.Pb(e,25).disabled,l.Pb(e,25).errorState,l.Pb(e,25).required,l.Pb(e,25).empty]),t(e,53,0,l.Pb(e,54).disabled||null,"NoopAnimations"===l.Pb(e,54)._animationMode),t(e,56,0,l.Pb(e,57).disabled||null,"NoopAnimations"===l.Pb(e,57)._animationMode)}))}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("quSY");class i extends l.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Yvos:function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},"Z/v2":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return o})),n("8Y7J");var l=n("KCVW"),i=n("XNiG");class r{constructor(t,e=", "){this._files=t,this.delimiter=e,this._fileNames=(this._files||[]).map(t=>t.name).join(e)}get files(){return this._files||[]}get fileNames(){return this._fileNames}}let o=(()=>{class t{constructor(e,n,l,r){this.ngControl=e,this.fm=n,this._elementRef=l,this._renderer=r,this.stateChanges=new i.a,this.focused=!1,this.controlType="file-input",this.autofilled=!1,this._required=!1,this.accept=null,this.id="ngx-mat-file-input-"+t.nextId++,this.describedBy="",this._onChange=t=>{},this._onTouched=()=>{},null!=this.ngControl&&(this.ngControl.valueAccessor=this),n.monitor(l.nativeElement,!0).subscribe(t=>{this.focused=!!t,this.stateChanges.next()})}setDescribedByIds(t){this.describedBy=t.join(" ")}get value(){return this.empty?null:new r(this._elementRef.nativeElement.value||[])}set value(t){t&&(this.writeValue(t),this.stateChanges.next())}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get empty(){return!this._elementRef.nativeElement.value||0===this._elementRef.nativeElement.value.length}get shouldLabelFloat(){return this.focused||!this.empty||void 0!==this.valuePlaceholder}get required(){return this._required}set required(t){this._required=Object(l.c)(t),this.stateChanges.next()}get isDisabled(){return this.disabled}get disabled(){return this._elementRef.nativeElement.disabled}set disabled(t){this.setDisabledState(Object(l.c)(t)),this.stateChanges.next()}get errorState(){return null!==this.ngControl.errors&&!!this.ngControl.touched}onContainerClick(t){"input"===t.target.tagName.toLowerCase()||this.disabled||(this._elementRef.nativeElement.querySelector("input").focus(),this.focused=!0,this.open())}get fileNames(){return this.value?this.value.fileNames:this.valuePlaceholder}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t instanceof r?t.files:null)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}clear(t){t&&(t.preventDefault(),t.stopPropagation()),this.value=new r([]),this._elementRef.nativeElement.querySelector("input").value=null,this._onChange(this.value)}change(t){const e=t.target.files,n=[];if(e)for(let l=0;l<e.length;l++)n.push(e[l]);this.value=new r(n),this._onChange(this.value)}blur(){this.focused=!1,this._onTouched()}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}ngOnInit(){this.multiple=Object(l.c)(this.multiple)}open(){this.disabled||this._elementRef.nativeElement.querySelector("input").click()}ngOnDestroy(){this.stateChanges.complete(),this.fm.stopMonitoring(this._elementRef.nativeElement)}}return t.nextId=0,t})();class a{}var s;!function(t){t.maxContentSize=function(t){return e=>{const n=e&&e.value?e.value.files.map(t=>t.size).reduce((t,e)=>t+e,0):0;return t>=n?null:{maxContentSize:{actualSize:n,maxSize:t}}}}}(s||(s={}))},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Z5h4:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var l=n("8Y7J"),i=(n("r0V8"),n("SVse"),n("POq0")),r=(n("IP0z"),n("Xd0L")),o=(n("cUpR"),n("/HVE")),a=n("omvX"),s=(n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}}));function u(t){return l.Yb(2,[l.Ub(671088640,1,{_inputElement:0}),l.Ub(671088640,2,{ripple:0}),(t()(),l.Db(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),l.Db(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),l.Db(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"change"===e&&(l=!1!==i._onInteractionEvent(n)&&l),"click"===e&&(l=!1!==i._onInputClick(n)&&l),l}),null,null)),(t()(),l.Db(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(6,212992,[[2,4]],0,r.x,[l.p,l.G,o.a,[2,r.m],[2,a.a]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),l.Rb(7,{enterDuration:0}),(t()(),l.Db(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),l.Db(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onLabelTextChange()&&l),l}),null,null)),l.Cb(15,1196032,null,0,i.a,[i.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["\xa0"])),l.Ob(null,0)],(function(t,e){var n=e.component,i=t(e,7,0,150);t(e,6,0,!0,20,i,n._isRippleDisabled(),l.Pb(e,2))}),(function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!l.Pb(e,14).textContent||!l.Pb(e,14).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,l.Pb(e,6).unbounded)}))}},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZF9u:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("TN97"),i=n("egkh"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=n("SSvb"),u=n("ppab");n("svHU");class c extends u.a{constructor(t){super(),this.mapService=t,this.featureLineTrajectory=void 0}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayLine(t,e){const n=[t.longitude,t.latitude],l=a.point(n),i=a.destination(n,e.distance,t.track);this.upsertLineFeature(l,i)}removeLine(){this.featureLineTrajectory&&this.source.removeFeature(this.featureLineTrajectory),this.featureLineTrajectory=void 0}getTargetPoint(){return this.targetPoint.geometry.coordinates}upsertLineFeature(t,e){const n=a.greatCircle(t,e),u=Object(s.a)(n.geometry.coordinates);if(this.featureLineTrajectory){const t=new i.a(u);this.featureLineTrajectory.setGeometry(t)}else this.featureLineTrajectory=new l.a({geometry:new i.a(u),id_:"trajectory-line"}),this.featureLineTrajectory.setStyle(new r.b({stroke:new o.a({color:"orange",width:2})})),this.source.addFeature(this.featureLineTrajectory)}}},ZXPP:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},i=[l.FILL],r=[l.STROKE],o=[l.BEGIN_PATH],a=[l.CLOSE_PATH];e.c=l},"ZZ/e":function(t,e,n){"use strict";var l=n("mrSG"),i=n("8Y7J"),r=n("s7LF"),o=n("SVse"),a=n("iInd"),s=n("AfW+"),u=(n("aiEM"),n("+4pY"),n("mUkt"),n("kBU6")),c=n("930v"),d=n("pori"),h=n("XNiG"),p=n("xgIS"),f=n("2Vo4"),b=n("pLZG"),m=n("eIep"),g=n("/uUt"),_=n("c1op");n.d(e,"a",(function(){return ce})),n.d(e,"b",(function(){return oe})),n.d(e,"c",(function(){return Fe})),n.d(e,"d",(function(){return U})),n.d(e,"e",(function(){return B})),n.d(e,"f",(function(){return z})),n.d(e,"g",(function(){return G})),n.d(e,"h",(function(){return H})),n.d(e,"i",(function(){return V})),n.d(e,"j",(function(){return q})),n.d(e,"k",(function(){return W})),n.d(e,"l",(function(){return $})),n.d(e,"m",(function(){return X})),n.d(e,"n",(function(){return K})),n.d(e,"o",(function(){return J})),n.d(e,"p",(function(){return Q})),n.d(e,"q",(function(){return Z})),n.d(e,"r",(function(){return tt})),n.d(e,"s",(function(){return et})),n.d(e,"t",(function(){return nt})),n.d(e,"u",(function(){return lt})),n.d(e,"v",(function(){return it})),n.d(e,"w",(function(){return rt})),n.d(e,"x",(function(){return ot})),n.d(e,"y",(function(){return at})),n.d(e,"z",(function(){return st})),n.d(e,"A",(function(){return ut})),n.d(e,"B",(function(){return ct})),n.d(e,"C",(function(){return dt})),n.d(e,"D",(function(){return ht})),n.d(e,"E",(function(){return pt})),n.d(e,"F",(function(){return ft})),n.d(e,"G",(function(){return bt})),n.d(e,"H",(function(){return mt})),n.d(e,"I",(function(){return gt})),n.d(e,"J",(function(){return _t})),n.d(e,"K",(function(){return yt})),n.d(e,"L",(function(){return At})),n.d(e,"M",(function(){return vt})),n.d(e,"N",(function(){return Ct})),n.d(e,"O",(function(){return wt})),n.d(e,"P",(function(){return Pt})),n.d(e,"Q",(function(){return xt})),n.d(e,"R",(function(){return St})),n.d(e,"S",(function(){return kt})),n.d(e,"T",(function(){return Mt})),n.d(e,"U",(function(){return Ot})),n.d(e,"V",(function(){return Dt})),n.d(e,"W",(function(){return Tt})),n.d(e,"X",(function(){return Et})),n.d(e,"Y",(function(){return It})),n.d(e,"Z",(function(){return Lt})),n.d(e,"ab",(function(){return jt})),n.d(e,"bb",(function(){return Rt})),n.d(e,"cb",(function(){return Ft})),n.d(e,"db",(function(){return Nt})),n.d(e,"eb",(function(){return Yt})),n.d(e,"fb",(function(){return Ut})),n.d(e,"gb",(function(){return Se})),n.d(e,"hb",(function(){return Bt})),n.d(e,"ib",(function(){return zt})),n.d(e,"jb",(function(){return Gt})),n.d(e,"kb",(function(){return Ht})),n.d(e,"lb",(function(){return Vt})),n.d(e,"mb",(function(){return qt})),n.d(e,"nb",(function(){return Wt})),n.d(e,"ob",(function(){return $t})),n.d(e,"pb",(function(){return Xt})),n.d(e,"qb",(function(){return Kt})),n.d(e,"rb",(function(){return Jt})),n.d(e,"sb",(function(){return Qt})),n.d(e,"tb",(function(){return Zt})),n.d(e,"ub",(function(){return Me})),n.d(e,"vb",(function(){return te})),n.d(e,"wb",(function(){return ee})),n.d(e,"xb",(function(){return ne})),n.d(e,"yb",(function(){return le})),n.d(e,"zb",(function(){return ie})),n.d(e,"Ab",(function(){return re})),n.d(e,"Bb",(function(){return je})),n.d(e,"Cb",(function(){return $e})),n.d(e,"Db",(function(){return He})),n.d(e,"Eb",(function(){return Ue})),n.d(e,"Fb",(function(){return Be})),n.d(e,"Gb",(function(){return I})),n.d(e,"Hb",(function(){return D})),n.d(e,"Ib",(function(){return ze})),n.d(e,"Jb",(function(){return M})),n.d(e,"Kb",(function(){return ae})),n.d(e,"Lb",(function(){return qe}));var y=function(t){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t)},A=function(){function t(t){this.el=t,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this.el.nativeElement.value=this.lastValue=null==t?"":t,v(this.el)},t.prototype.handleChangeEvent=function(t,e){t===this.el.nativeElement&&(e!==this.lastValue&&(this.lastValue=e,this.onChange(e)),v(this.el))},t.prototype._handleBlurEvent=function(t){t===this.el.nativeElement&&(this.onTouched(),v(this.el))},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.el.nativeElement.disabled=t},t.propDecorators={_handleBlurEvent:[{type:i.s,args:["ionBlur",["$event.target"]]}]},t}(),v=function(t){y((function(){var e=t.nativeElement,n=C(e);w(e,n);var l=e.closest("ion-item");l&&w(l,n)}))},C=function(t){for(var e=t.classList,n=[],l=0;l<e.length;l++){var i=e.item(l);null!==i&&P(i,"ng-")&&n.push("ion-"+i.substr(3))}return n},w=function(t,e){var n=t.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach((function(t){return n.remove(t)})),e.forEach((function(t){return n.add(t)}))},P=function(t,e){return t.substr(0,e.length)===e},x=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype.writeValue=function(t){this.el.nativeElement.checked=this.lastValue=null!=t&&t,v(this.el)},e.prototype._handleIonChange=function(t){this.handleChangeEvent(t,t.checked)},e.decorators=[{type:i.o,args:[{selector:"ion-checkbox,ion-toggle",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),S=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleIonChange=function(t){this.handleChangeEvent(t,t.value)},e.prototype.registerOnChange=function(e){t.prototype.registerOnChange.call(this,(function(t){e(""===t?null:parseFloat(t))}))},e.decorators=[{type:i.o,args:[{selector:"ion-input[type=number]",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),k=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleIonSelect=function(t){this.handleChangeEvent(t,t.checked)},e.decorators=[{type:i.o,args:[{selector:"ion-radio",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonSelect:[{type:i.s,args:["ionSelect",["$event.target"]]}]},e}(A),M=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleChangeEvent=function(t){this.handleChangeEvent(t,t.value)},e.decorators=[{type:i.o,args:[{selector:"ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleChangeEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),O=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleInputEvent=function(t){this.handleChangeEvent(t,t.value)},e.decorators=[{type:i.o,args:[{selector:"ion-input:not([type=number]),ion-textarea,ion-searchbar",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleInputEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),D=function(){function t(t,e){var n=this;this.doc=t,this.backButton=new h.a,this.pause=new h.a,this.resume=new h.a,this.resize=new h.a,e.run((function(){var l;n.win=t.defaultView,n.backButton.subscribeWithPriority=function(t,n){return this.subscribe((function(l){return l.register(t,(function(){return e.run(n)}))}))},E(n.pause,t,"pause"),E(n.resume,t,"resume"),E(n.backButton,t,"ionBackButton"),E(n.resize,n.win,"resize"),n._readyPromise=new Promise((function(t){l=t})),n.win&&n.win.cordova?t.addEventListener("deviceready",(function(){l("cordova")}),{once:!0}):l("dom")}))}return t.prototype.is=function(t){return Object(s.f)(this.win,t)},t.prototype.platforms=function(){return Object(s.e)(this.win)},t.prototype.ready=function(){return this._readyPromise},Object.defineProperty(t.prototype,"isRTL",{get:function(){return"rtl"===this.doc.dir},enumerable:!0,configurable:!0}),t.prototype.getQueryParam=function(t){return T(this.win.location.href,t)},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype.isPortrait=function(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches},t.prototype.testUserAgent=function(t){var e=this.win.navigator;return!!(e&&e.userAgent&&e.userAgent.indexOf(t)>=0)},t.prototype.url=function(){return this.win.location.href},t.prototype.width=function(){return this.win.innerWidth},t.prototype.height=function(){return this.win.innerHeight},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.u,args:[o.d]}]},{type:i.G}]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t(Object(i.gb)(o.d),Object(i.gb)(i.G))},token:t,providedIn:"root"}),t}(),T=function(t,e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},E=function(t,e,n){e&&e.addEventListener(n,(function(e){t.next(null!=e?e.detail:void 0)}))},I=function(){function t(t,e,n,l){var i=this;this.location=e,this.serializer=n,this.router=l,this.direction=j,this.animated=R,this.guessDirection="forward",this.lastNavId=-1,l&&l.events.subscribe((function(t){if(t instanceof a.d){var e=t.restoredState?t.restoredState.navigationId:t.id;i.guessDirection=e<i.lastNavId?"back":"forward",i.guessAnimation=t.restoredState?void 0:i.guessDirection,i.lastNavId="forward"===i.guessDirection?t.id:e}})),t.backButton.subscribeWithPriority(0,(function(){return i.pop()}))}return t.prototype.navigateForward=function(t,e){return void 0===e&&(e={}),this.setDirection("forward",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.navigateBack=function(t,e){return void 0===e&&(e={}),this.setDirection("back",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.navigateRoot=function(t,e){return void 0===e&&(e={}),this.setDirection("root",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.back=function(t){return void 0===t&&(t={animated:!0,animationDirection:"back"}),this.setDirection("back",t.animated,t.animationDirection),this.location.back()},t.prototype.pop=function(){return Object(l.b)(this,void 0,void 0,(function(){var t;return Object(l.d)(this,(function(e){switch(e.label){case 0:t=this.topOutlet,e.label=1;case 1:return t?[4,t.pop()]:[3,3];case 2:return e.sent()?[3,3]:(t=t.parentOutlet,[3,1]);case 3:return[2]}}))}))},t.prototype.setDirection=function(t,e,n){this.direction=t,this.animated=L(t,e,n)},t.prototype.setTopOutlet=function(t){this.topOutlet=t},t.prototype.consumeTransition=function(){var t,e="root";return"auto"===this.direction?(e=this.guessDirection,t=this.guessAnimation):(t=this.animated,e=this.direction),this.direction=j,this.animated=R,{direction:e,animation:t}},t.prototype.navigate=function(t,e){if(Array.isArray(t))return this.router.navigate(t,e);var n=this.serializer.parse(t.toString());return void 0!==e.queryParams&&(n.queryParams=Object(l.a)({},e.queryParams)),void 0!==e.fragment&&(n.fragment=e.fragment),this.router.navigateByUrl(n,e)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:D},{type:o.j},{type:a.s},{type:a.m,decorators:[{type:i.H}]}]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t(Object(i.gb)(D),Object(i.gb)(o.j),Object(i.gb)(a.s),Object(i.gb)(a.m,8))},token:t,providedIn:"root"}),t}(),L=function(t,e,n){if(!1!==e)return void 0!==n?n:"forward"===t||"back"===t?t:"root"===t&&!0===e?"forward":void 0},j="auto",R=void 0,F=function(t,e){var n=t.prototype;e.forEach((function(t){Object.defineProperty(n,t,{get:function(){return this.el[t]},set:function(e){var n=this;this.z.runOutsideAngular((function(){return n.el[t]=e}))}})}))},N=function(t,e){var n=t.prototype;e.forEach((function(t){n[t]=function(){var e=this,n=arguments;return this.z.runOutsideAngular((function(){return e.el[t].apply(e.el,n)}))}}))},Y=function(t,e,n){n.forEach((function(n){return t[n]=Object(p.a)(e,n)}))},U=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-app",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),B=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-avatar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),z=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-back-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","defaultHref","disabled","icon","mode","text","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(z,["color","defaultHref","disabled","icon","mode","text","type"]);var G=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionBackdropTap"])}return t.decorators=[{type:i.l,args:[{selector:"ion-backdrop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["stopPropagation","tappable","visible"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(G,["stopPropagation","tappable","visible"]);var H=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-badge",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(H,["color","mode"]);var V=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(V,["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]);var q=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-buttons",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(q,["collapse"]);var W=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(W,["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]);var $=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F($,["mode"]);var X=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(X,["color","mode","translucent"]);var K=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-subtitle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(K,["color","mode"]);var J=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(J,["color","mode"]);var Q=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-checkbox",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","indeterminate","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Q,["checked","color","disabled","indeterminate","mode","name","value"]);var Z=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-chip",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","outline"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Z,["color","mode","outline"]);var tt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-col",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(tt,["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]);var et=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}return t.decorators=[{type:i.l,args:[{selector:"ion-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(et,["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]),F(et,["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]);var nt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-datetime",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(nt,["open"]),F(nt,["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]);var lt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-fab",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","edge","horizontal","vertical"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(lt,["close"]),F(lt,["activated","edge","horizontal","vertical"]);var it=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-fab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(it,["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]);var rt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-fab-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","side"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(rt,["activated","side"]);var ot=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-footer",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ot,["mode","translucent"]);var at=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-grid",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["fixed"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(at,["fixed"]);var st=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse","mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(st,["collapse","mode","translucent"]);var ut=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-icon",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ut,["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]);var ct=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}return t.decorators=[{type:i.l,args:[{selector:"ion-img",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["alt","src"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ct,["alt","src"]);var dt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInfinite"])}return t.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","position","threshold"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(dt,["complete"]),F(dt,["disabled","position","threshold"]);var ht=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["loadingSpinner","loadingText"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ht,["loadingSpinner","loadingText"]);var pt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-input",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(pt,["setFocus","getInputElement"]),F(pt,["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]);var ft=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ft,["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]);var bt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-divider",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","sticky"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(bt,["color","mode","sticky"]);var mt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),gt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(gt,["color","disabled","download","expandable","href","mode","rel","target","type"]);var _t=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSwipe"])}return t.decorators=[{type:i.l,args:[{selector:"ion-item-options",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["side"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(_t,["side"]);var yt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionDrag"])}return t.decorators=[{type:i.l,args:[{selector:"ion-item-sliding",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(yt,["getOpenAmount","getSlidingRatio","open","close","closeOpened"]),F(yt,["disabled"]);var At=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-label",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","position"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(At,["color","mode","position"]);var vt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["inset","lines","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(vt,["closeSlidingItems"]),F(vt,["inset","lines","mode"]);var Ct=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-list-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ct,["color","mode"]);var wt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}return t.decorators=[{type:i.l,args:[{selector:"ion-menu",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(wt,["isOpen","isActive","open","close","toggle","setOpen"]),F(wt,["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]);var Pt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-menu-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","color","disabled","menu","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Pt,["autoHide","color","disabled","menu","type"]);var xt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-menu-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","menu"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(xt,["autoHide","menu"]);var St=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionNavWillChange","ionNavDidChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-nav",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","animation","root","rootParams","swipeGesture"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(St,["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"]),F(St,["animated","animation","root","rootParams","swipeGesture"]);var kt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-link",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps","routerDirection"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(kt,["component","componentProps","routerDirection"]);var Mt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-pop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Ot=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-push",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ot,["component","componentProps"]);var Dt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-set-root",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Dt,["component","componentProps"]);var Tt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-note",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Tt,["color","mode"]);var Et=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-progress-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buffer","color","mode","reversed","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Et,["buffer","color","mode","reversed","type","value"]);var It=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSelect","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-radio",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(It,["checked","color","disabled","mode","name","value"]);var Lt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-radio-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["allowEmptySelection","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Lt,["allowEmptySelection","name","value"]);var jt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-range",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(jt,["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]);var Rt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionRefresh","ionPull","ionStart"])}return t.decorators=[{type:i.l,args:[{selector:"ion-refresher",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Rt,["complete","cancel","getProgress"]),F(Rt,["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]);var Ft=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-refresher-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ft,["pullingIcon","pullingText","refreshingSpinner","refreshingText"]);var Nt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-reorder",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Yt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionItemReorder"])}return t.decorators=[{type:i.l,args:[{selector:"ion-reorder-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Yt,["complete"]),F(Yt,["disabled"]);var Ut=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-ripple-effect",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Ut,["addRipple"]),F(Ut,["type"]);var Bt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-row",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),zt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-searchbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(zt,["setFocus","getInputElement"]),F(zt,["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]);var Gt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-segment",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","mode","scrollable","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Gt,["color","disabled","mode","scrollable","value"]);var Ht=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSelect"])}return t.decorators=[{type:i.l,args:[{selector:"ion-segment-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","disabled","layout","mode","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ht,["checked","disabled","layout","mode","type","value"]);var Vt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-select",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Vt,["open"]),F(Vt,["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]);var qt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-select-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","selected","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(qt,["disabled","selected","value"]);var Wt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-skeleton-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","width"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Wt,["animated","width"]);var $t=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-slide",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Xt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}return t.decorators=[{type:i.l,args:[{selector:"ion-slides",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","options","pager","scrollbar"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Xt,["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]),F(Xt,["mode","options","pager","scrollbar"]);var Kt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-spinner",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","duration","name","paused"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Kt,["color","duration","name","paused"]);var Jt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSplitPaneVisible"])}return t.decorators=[{type:i.l,args:[{selector:"ion-split-pane",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","when"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Jt,["contentId","disabled","when"]);var Qt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-tab-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","selectedTab","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Qt,["color","mode","selectedTab","translucent"]);var Zt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-tab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Zt,["disabled","download","href","layout","mode","rel","selected","tab","target"]);var te=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(te,["color","mode"]);var ee=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-textarea",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(ee,["setFocus","getInputElement"]),F(ee,["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]);var ne=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-thumbnail",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),le=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","size"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(le,["color","size"]);var ie=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ie,["checked","color","disabled","mode","name","value"]);var re=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-toolbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(re,["color","mode"]);var oe=function(){function t(){}return t.prototype.get=function(t,e){var n=se();return n?n.get(t,e):null},t.prototype.getBoolean=function(t,e){var n=se();return!!n&&n.getBoolean(t,e)},t.prototype.getNumber=function(t,e){var n=se();return n?n.getNumber(t,e):0},t.prototype.set=function(t,e){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");var n=se();n&&n.set(t,e)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ae=new i.w("USERCONFIG"),se=function(){if("undefined"!=typeof window){var t=window.Ionic;if(t&&t.config)return t.config}return null},ue=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}(),ce=function(){function t(t,e){this.zone=t,this.appRef=e}return t.prototype.create=function(t,e,n){return new de(t,e,n,this.appRef,this.zone)},t.decorators=[{type:i.v}],t.ctorParameters=function(){return[{type:i.G},{type:i.g}]},t}(),de=function(){function t(t,e,n,l,i){this.resolver=t,this.injector=e,this.location=n,this.appRef=l,this.zone=i,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}return t.prototype.attachViewToDom=function(t,e,n,l){var i=this;return this.zone.run((function(){return new Promise((function(r){r(he(i.zone,i.resolver,i.injector,i.location,i.appRef,i.elRefMap,i.elEventsMap,t,e,n,l))}))}))},t.prototype.removeViewFromDom=function(t,e){var n=this;return this.zone.run((function(){return new Promise((function(t){var l=n.elRefMap.get(e);if(l){l.destroy(),n.elRefMap.delete(e);var i=n.elEventsMap.get(e);i&&(i(),n.elEventsMap.delete(e))}t()}))}))},t}(),he=function(t,e,n,l,r,o,a,s,u,c,d){var h=e.resolveComponentFactory(u),p=i.x.create({providers:me(c),parent:n}),f=l?l.createComponent(h,l.length,p):h.create(p),b=f.instance,m=f.location.nativeElement;if(c&&Object.assign(b,c),d)for(var g=0,_=d;g<_.length;g++)m.classList.add(_[g]);var y=fe(t,b,m);return s.appendChild(m),l||r.attachView(f.hostView),f.changeDetectorRef.reattach(),o.set(m,f),a.set(m,y),m},pe=[u.a,u.b,u.c,u.d,u.e],fe=function(t,e,n){return t.run((function(){var t=pe.filter((function(t){return"function"==typeof e[t]})).map((function(t){var l=function(n){return e[t](n.detail)};return n.addEventListener(t,l),function(){return n.removeEventListener(t,l)}}));return function(){return t.forEach((function(t){return t()}))}}))},be=new i.w("NavParamsToken"),me=function(t){return[{provide:be,useValue:t},{provide:ue,useFactory:ge,deps:[be]}]},ge=function(t){return new ue(t)},_e=function(t,e){return(t=t.filter((function(t){return t.stackId!==e.stackId}))).push(e),t},ye=function(t,e){var n=t.createUrlTree(["."],{relativeTo:e});return t.serializeUrl(n)},Ae=function(t,e){if(t)for(var n=ve(e),l=0;l<n.length;l++){if(l>=t.length)return n[l];if(n[l]!==t[l])return}},ve=function(t){return t.split("/").map((function(t){return t.trim()})).filter((function(t){return""!==t}))},Ce=function(t){t&&(t.ref.destroy(),t.unlistenEvents())},we=function(){function t(t,e,n,l,i,r){this.containerEl=e,this.router=n,this.navCtrl=l,this.zone=i,this.location=r,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==t?ve(t):void 0}return t.prototype.createView=function(t,e){var n=ye(this.router,e),l=t&&t.location&&t.location.nativeElement,i=fe(this.zone,t.instance,l);return{id:this.nextId++,stackId:Ae(this.tabsPrefix,n),unlistenEvents:i,element:l,ref:t,url:n}},t.prototype.getExistingView=function(t){var e=ye(this.router,t),n=this.views.find((function(t){return t.url===e}));return n&&n.ref.changeDetectorRef.reattach(),n},t.prototype.setActive=function(t){var e=this,n=this.navCtrl.consumeTransition(),l=n.direction,i=n.animation,r=this.activeView,o=function(t,e){return!e||t.stackId!==e.stackId}(t,r);o&&(l="back",i=void 0);var a,s=this.views.slice(),u=this.router;u.getCurrentNavigation?a=u.getCurrentNavigation():u.navigations&&u.navigations.value&&(a=u.navigations.value),a&&a.extras&&a.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);var c=this.views.includes(t),d=this.insertView(t,l);return c||t.ref.changeDetectorRef.detectChanges(),this.zone.runOutsideAngular((function(){return e.wait((function(){return r&&r.ref.changeDetectorRef.detach(),t.ref.changeDetectorRef.reattach(),e.transition(t,r,i,e.canGoBack(1),!1).then((function(){return Pe(t,d,s,e.location)})).then((function(){return{enteringView:t,direction:l,animation:i,tabSwitch:o}}))}))}))},t.prototype.canGoBack=function(t,e){return void 0===e&&(e=this.getActiveStackId()),this.getStack(e).length>t},t.prototype.pop=function(t,e){var n=this;return void 0===e&&(e=this.getActiveStackId()),this.zone.run((function(){var l=n.getStack(e);if(l.length<=t)return Promise.resolve(!1);var i=l[l.length-t-1],r=i.url,o=i.savedData;if(o){var a=o.get("primary");a&&a.route&&a.route._routerState&&a.route._routerState.snapshot&&a.route._routerState.snapshot.url&&(r=a.route._routerState.snapshot.url)}return n.navCtrl.navigateBack(r,i.savedExtras).then((function(){return!0}))}))},t.prototype.startBackTransition=function(){var t=this,e=this.activeView;if(e){var n=this.getStack(e.stackId),l=n[n.length-2];return this.wait((function(){return t.transition(l,e,"back",t.canGoBack(2),!0)}))}return Promise.resolve()},t.prototype.endBackTransition=function(t){t?(this.skipTransition=!0,this.pop(1)):this.activeView&&xe(this.activeView,this.views,this.views,this.location)},t.prototype.getLastUrl=function(t){var e=this.getStack(t);return e.length>0?e[e.length-1]:void 0},t.prototype.getActiveStackId=function(){return this.activeView?this.activeView.stackId:void 0},t.prototype.destroy=function(){this.containerEl=void 0,this.views.forEach(Ce),this.activeView=void 0,this.views=[]},t.prototype.getStack=function(t){return this.views.filter((function(e){return e.stackId===t}))},t.prototype.insertView=function(t,e){return this.activeView=t,this.views=function(t,e,n){return"root"===n?_e(t,e):"forward"===n?function(t,e){return t.indexOf(e)>=0?t=t.filter((function(t){return t.stackId!==e.stackId||t.id<=e.id})):t.push(e),t}(t,e):function(t,e){return t.indexOf(e)>=0?t.filter((function(t){return t.stackId!==e.stackId||t.id<=e.id})):_e(t,e)}(t,e)}(this.views,t,e),this.views.slice()},t.prototype.transition=function(t,e,n,l,i){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(e===t)return Promise.resolve(!1);var r=t?t.element:void 0,o=e?e.element:void 0,a=this.containerEl;return r&&r!==o&&(r.classList.add("ion-page"),r.classList.add("ion-page-invisible"),r.parentElement!==a&&a.appendChild(r),a.commit)?a.commit(r,o,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:l,progressAnimation:i}):Promise.resolve(!1)},t.prototype.wait=function(t){return Object(l.b)(this,void 0,void 0,(function(){return Object(l.d)(this,(function(e){switch(e.label){case 0:return void 0===this.runningTask?[3,2]:[4,this.runningTask];case 1:e.sent(),this.runningTask=void 0,e.label=2;case 2:return[2,this.runningTask=t()]}}))}))},t}(),Pe=function(t,e,n,l){return"function"==typeof requestAnimationFrame?new Promise((function(i){requestAnimationFrame((function(){xe(t,e,n,l),i()}))})):Promise.resolve()},xe=function(t,e,n,l){n.filter((function(t){return!e.includes(t)})).forEach(Ce),e.forEach((function(e){var n=l.path().split("?")[0].split("#")[0];if(e!==t&&e.url!==n){var i=e.element;i.setAttribute("aria-hidden","true"),i.classList.add("ion-page-hidden"),e.ref.changeDetectorRef.detach()}}))},Se=function(){function t(t,e,n,l,r,o,s,u,c,d,h,p,b){this.parentContexts=t,this.location=e,this.resolver=n,this.config=o,this.navCtrl=s,this.parentOutlet=b,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new f.a(null),this.stackEvents=new i.r,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.nativeEl=c.nativeElement,this.name=l||a.f,this.tabsPrefix="true"===r?ye(d,p):void 0,this.stackCtrl=new we(this.tabsPrefix,this.nativeEl,d,s,h,u),t.onChildOutletCreated(this.name,this)}return Object.defineProperty(t.prototype,"animated",{set:function(t){this.nativeEl.animated=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swipeGesture",{set:function(t){var e=this;this._swipeGesture=t,this.nativeEl.swipeHandler=t?{canStart:function(){return e.stackCtrl.canGoBack(1)},onStart:function(){return e.stackCtrl.startBackTransition()},onEnd:function(t){return e.stackCtrl.endBackTransition(t)}}:void 0},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.stackCtrl.destroy()},t.prototype.getContext=function(){return this.parentContexts.getContext(this.name)},t.prototype.ngOnInit=function(){var t=this;if(!this.activated){var e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}this.nativeEl.componentOnReady&&this.nativeEl.componentOnReady().then((function(){void 0===t._swipeGesture&&(t.swipeGesture=t.config.getBoolean("swipeBackEnabled","ios"===t.nativeEl.mode))}))},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){throw new Error("incompatible reuse strategy")},t.prototype.attach=function(t,e){throw new Error("incompatible reuse strategy")},t.prototype.deactivate=function(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};var t=this.getContext();if(t.route){var e=t.route.snapshot;this.activatedView.savedExtras.queryParams=e.queryParams,this.activatedView.savedExtras.fragment=e.fragment}}var n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}},t.prototype.activateWith=function(t,e){var n,l=this;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var i=this.stackCtrl.getExistingView(t);if(i){n=this.activated=i.ref;var r=i.savedData;r&&(this.getContext().children.contexts=r),this.updateActivatedRouteProxy(n.instance,t)}else{var o=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,s=new f.a(null),u=this.createActivatedRouteProxy(s,t),c=new ke(u,a,this.location.injector);n=this.activated=this.location.createComponent(o,this.location.length,c),s.next(n.instance),i=this.stackCtrl.createView(this.activated,t),this.proxyMap.set(n.instance,u),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:t})}this.activatedView=i,this.stackCtrl.setActive(i).then((function(t){l.navCtrl.setTopOutlet(l),l.activateEvents.emit(n.instance),l.stackEvents.emit(t)}))},t.prototype.canGoBack=function(t,e){return void 0===t&&(t=1),this.stackCtrl.canGoBack(t,e)},t.prototype.pop=function(t,e){return void 0===t&&(t=1),this.stackCtrl.pop(t,e)},t.prototype.getLastUrl=function(t){var e=this.stackCtrl.getLastUrl(t);return e?e.url:void 0},t.prototype.getActiveStackId=function(){return this.stackCtrl.getActiveStackId()},t.prototype.createActivatedRouteProxy=function(t,e){var n=new a.a;return n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,n._paramMap=this.proxyObservable(t,"paramMap"),n._queryParamMap=this.proxyObservable(t,"queryParamMap"),n.url=this.proxyObservable(t,"url"),n.params=this.proxyObservable(t,"params"),n.queryParams=this.proxyObservable(t,"queryParams"),n.fragment=this.proxyObservable(t,"fragment"),n.data=this.proxyObservable(t,"data"),n},t.prototype.proxyObservable=function(t,e){var n=this;return t.pipe(Object(b.a)((function(t){return!!t})),Object(m.a)((function(t){return n.currentActivatedRoute$.pipe(Object(b.a)((function(e){return null!==e&&e.component===t})),Object(m.a)((function(t){return t&&t.activatedRoute[e]})),Object(g.a)())})))},t.prototype.updateActivatedRouteProxy=function(t,e){var n=this.proxyMap.get(t);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,this.currentActivatedRoute$.next({component:t,activatedRoute:e})},t.decorators=[{type:i.o,args:[{selector:"ion-router-outlet",exportAs:"outlet",inputs:["animated","swipeGesture"]}]}],t.ctorParameters=function(){return[{type:a.b},{type:i.Y},{type:i.m},{type:String,decorators:[{type:i.h,args:["name"]}]},{type:String,decorators:[{type:i.H},{type:i.h,args:["tabs"]}]},{type:oe},{type:I},{type:o.j},{type:i.p},{type:a.m},{type:i.G},{type:a.a},{type:t,decorators:[{type:i.R},{type:i.H}]}]},t.propDecorators={stackEvents:[{type:i.I}],activateEvents:[{type:i.I,args:["activate"]}],deactivateEvents:[{type:i.I,args:["deactivate"]}]},t}(),ke=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===a.a?this.route:t===a.b?this.childContexts:this.parent.get(t,e)},t}(),Me=function(){function t(t){this.navCtrl=t,this.ionTabsWillChange=new i.r,this.ionTabsDidChange=new i.r}return t.prototype.onPageSelected=function(t){var e=t.enteringView.stackId;t.tabSwitch&&void 0!==e&&(this.tabBar&&(this.tabBar.selectedTab=e),this.ionTabsWillChange.emit({tab:e}),this.ionTabsDidChange.emit({tab:e}))},t.prototype.select=function(t){var e=this.outlet.getActiveStackId()===t,n=this.outlet.tabsPrefix+"/"+t,l=e?n:this.outlet.getLastUrl(t)||n;return this.navCtrl.navigateRoot(l,{animated:!0,animationDirection:"back"})},t.prototype.getSelected=function(){return this.outlet.getActiveStackId()},t.decorators=[{type:i.l,args:[{selector:"ion-tabs",template:'\n <ng-content select="[slot=top]"></ng-content>\n <div class="tabs-inner">\n <ion-router-outlet #outlet tabs="true" (stackEvents)="onPageSelected($event)"></ion-router-outlet>\n </div>\n <ng-content></ng-content>',styles:["\n :host {\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n flex-direction: column;\n\n width: 100%;\n height: 100%;\n\n contain: layout size style;\n z-index: $z-index-page-container;\n }\n .tabs-inner {\n position: relative;\n\n flex: 1;\n\n contain: layout size style;\n }"]}]}],t.ctorParameters=function(){return[{type:I}]},t.propDecorators={outlet:[{type:i.X,args:["outlet",{read:Se}]}],tabBar:[{type:i.n,args:[Qt]}],ionTabsWillChange:[{type:i.I}],ionTabsDidChange:[{type:i.I}],select:[{type:i.s,args:["ionTabButtonClick",["$event.detail.tab"]]}]},t}(),Oe=function(){function t(t,e){this.routerOutlet=t,this.navCtrl=e}return t.prototype.onClick=function(t){this.routerOutlet&&this.routerOutlet.canGoBack()?(this.routerOutlet.pop(),t.preventDefault()):null!=this.defaultHref&&(this.navCtrl.navigateBack(this.defaultHref),t.preventDefault())},t.decorators=[{type:i.o,args:[{selector:"ion-back-button",inputs:["defaultHref"]}]}],t.ctorParameters=function(){return[{type:Se,decorators:[{type:i.H}]},{type:I}]},t.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},t}(),De=function(){function t(t,e,n,l,i){t.nativeElement.delegate=l.create(e,n,i)}return t.decorators=[{type:i.o,args:[{selector:"ion-nav"}]}],t.ctorParameters=function(){return[{type:i.p},{type:i.m},{type:i.x},{type:ce},{type:i.Y}]},t}(),Te=function(){function t(t,e,n,l,i){this.locationStrategy=t,this.navCtrl=e,this.elementRef=n,this.router=l,this.routerLink=i,this.routerDirection="forward"}return t.prototype.ngOnInit=function(){this.updateTargetUrlAndHref()},t.prototype.ngOnChanges=function(){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.updateTargetUrlAndHref=function(){if(this.routerLink){var t=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=t}},t.prototype.onClick=function(t){this.navCtrl.setDirection(this.routerDirection),t.preventDefault()},t.decorators=[{type:i.o,args:[{selector:"[routerLink]",inputs:["routerDirection"]}]}],t.ctorParameters=function(){return[{type:o.k},{type:I},{type:i.p},{type:a.m},{type:a.n,decorators:[{type:i.H}]}]},t.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},t}(),Ee=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.o,args:[{selector:"[virtualFooter]"}]}],t.ctorParameters=function(){return[{type:i.U}]},t}(),Ie=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.o,args:[{selector:"[virtualHeader]"}]}],t.ctorParameters=function(){return[{type:i.U}]},t}(),Le=function(){function t(t,e){this.templateRef=t,this.viewContainer=e}return t.decorators=[{type:i.o,args:[{selector:"[virtualItem]"}]}],t.ctorParameters=function(){return[{type:i.U},{type:i.Y}]},t}(),je=function(){function t(t,e,n){this.z=t,this.iterableDiffers=e,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}return t.prototype.ngOnChanges=function(t){if(this.trackBy&&"items"in t){var e=t.items.currentValue;if(void 0===this.differ&&null!=e)try{this.differ=this.iterableDiffers.find(e).create(this.trackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+e+"'. VirtualScroll only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)},t.prototype.nodeRender=function(t,e,n){var l=this;return this.z.run((function(){var i;if(t){var r=(i=l.refMap.get(t)).context;r.$implicit=e.value,r.index=e.index}else i=l.itmTmp.viewContainer.createEmbeddedView(l.getComponent(e.type),{$implicit:e.value,index:n},n),t=Re(i),l.refMap.set(t,i);return i.detectChanges(),t}))},t.prototype.getComponent=function(t){switch(t){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")},t.decorators=[{type:i.l,args:[{selector:"ion-virtual-scroll",template:"<ng-content></ng-content>",changeDetection:i.i.OnPush,inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight","trackBy"]}]}],t.ctorParameters=function(){return[{type:i.G},{type:i.y},{type:i.p}]},t.propDecorators={itmTmp:[{type:i.n,args:[Le]}],hdrTmp:[{type:i.n,args:[Ie]}],ftrTmp:[{type:i.n,args:[Ee]}]},t}(),Re=function(t){for(var e=t.rootNodes,n=0;n<e.length;n++)if(1===e[n].nodeType)return e[n];throw new Error("virtual element was not created")};F(je,["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"]),N(je,["checkEnd","checkRange","positionForItem"]);var Fe=function(){function t(t){var e=t.nativeElement,n=Array.from(e.attributes).map((function(t){return t.name})).filter((function(t){return Ne.includes(t)}));n.length>0&&console.warn("[DEPRECATED][CSS] Ionic CSS attributes are deprecated.\nReplace:\n'<"+e.tagName.toLowerCase()+" "+n.map((function(t){return""+t})).join(" ")+">'\n\nWith:\n'<"+e.tagName.toLowerCase()+' class="'+n.map((function(t){return"ion-"+t})).join(" ")+"\">'\n ")}return t.decorators=[{type:i.o,args:[{selector:"[align-self-start], [align-self-end], [align-self-center], [align-self-stretch], [align-self-baseline], [align-self-auto], [wrap-reverse], [justify-content-start], [justify-content-center], [justify-content-end], [justify-content-around], [justify-content-between], [justify-content-evenly], [align-items-start], [align-items-center], [align-items-end], [align-items-stretch], [align-items-baseline], [float-left], [float-right], [float-start], [float-end], [float-sm-left], [float-sm-right], [float-sm-start], [float-sm-end], [float-md-left], [float-md-right], [float-md-start], [float-md-end], [float-lg-left], [float-lg-right], [float-lg-start], [float-lg-end], [float-xl-left], [float-xl-right], [float-xl-start], [float-xl-end], [text-center], [text-justify], [text-start], [text-end], [text-left], [text-right], [text-nowrap], [text-wrap], [text-sm-center], [text-sm-justify], [text-sm-start], [text-sm-end], [text-sm-left], [text-sm-right], [text-sm-nowrap], [text-sm-wrap], [text-md-center], [text-md-justify], [text-md-start], [text-md-end], [text-md-left], [text-md-right], [text-md-nowrap], [text-md-wrap], [text-lg-center], [text-lg-justify], [text-lg-start], [text-lg-end], [text-lg-left], [text-lg-right], [text-lg-nowrap], [text-lg-wrap], [text-xl-center], [text-xl-justify], [text-xl-start], [text-xl-end], [text-xl-left], [text-xl-right], [text-xl-nowrap], [text-xl-wrap], [text-uppercase], [text-lowercase], [text-capitalize], [text-sm-uppercase], [text-sm-lowercase], [text-sm-capitalize], [text-md-uppercase], [text-md-lowercase], [text-md-capitalize], [text-lg-uppercase], [text-lg-lowercase], [text-lg-capitalize], [text-xl-uppercase], [text-xl-lowercase], [text-xl-capitalize], [no-padding], [padding], [padding-top], [padding-bottom], [padding-start], [padding-end], [padding-vertical], [padding-horizontal], [no-margin], [margin], [margin-top], [margin-bottom], [margin-start], [margin-end], [margin-vertical], [margin-horizontal]"}]}],t.ctorParameters=function(){return[{type:i.p}]},t}(),Ne=["align-self-start","align-self-end","align-self-center","align-self-stretch","align-self-baseline","align-self-auto","wrap-reverse","justify-content-start","justify-content-center","justify-content-end","justify-content-around","justify-content-between","justify-content-evenly","align-items-start","align-items-center","align-items-end","align-items-stretch","align-items-baseline","float-left","float-right","float-start","float-end","float-sm-left","float-sm-right","float-sm-start","float-sm-end","float-md-left","float-md-right","float-md-start","float-md-end","float-lg-left","float-lg-right","float-lg-start","float-lg-end","float-xl-left","float-xl-right","float-xl-start","float-xl-end","text-center","text-justify","text-start","text-end","text-left","text-right","text-nowrap","text-wrap","text-sm-center","text-sm-justify","text-sm-start","text-sm-end","text-sm-left","text-sm-right","text-sm-nowrap","text-sm-wrap","text-md-center","text-md-justify","text-md-start","text-md-end","text-md-left","text-md-right","text-md-nowrap","text-md-wrap","text-lg-center","text-lg-justify","text-lg-start","text-lg-end","text-lg-left","text-lg-right","text-lg-nowrap","text-lg-wrap","text-xl-center","text-xl-justify","text-xl-start","text-xl-end","text-xl-left","text-xl-right","text-xl-nowrap","text-xl-wrap","text-uppercase","text-lowercase","text-capitalize","text-sm-uppercase","text-sm-lowercase","text-sm-capitalize","text-md-uppercase","text-md-lowercase","text-md-capitalize","text-lg-uppercase","text-lg-lowercase","text-lg-capitalize","text-xl-uppercase","text-xl-lowercase","text-xl-capitalize","no-padding","padding","padding-top","padding-bottom","padding-start","padding-end","padding-vertical","padding-horizontal","no-margin","margin","margin-top","margin-bottom","margin-start","margin-end","margin-vertical","margin-horizontal"],Ye=function(){function t(t){this.ctrl=t}return t.prototype.create=function(t){return this.ctrl.create(t||{})},t.prototype.dismiss=function(t,e,n){return this.ctrl.dismiss(t,e,n)},t.prototype.getTop=function(){return this.ctrl.getTop()},t}(),Ue=(function(t){function e(){return t.call(this,d.c)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(t){function e(){return t.call(this,d.b)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(){function t(){this.c=new Map,console.warn('[DEPRECATION][Events]: The Events provider is deprecated and it will be removed in the next major release.\n - Use "Observables" for a similar pub/sub architecture: https://angular.io/guide/observables\n - Use "Redux" for advanced state management: https://ngrx.io')}t.prototype.subscribe=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var l=this.c.get(t);l||this.c.set(t,l=[]),l.push.apply(l,e)},t.prototype.unsubscribe=function(t,e){if(!e)return this.c.delete(t);var n=this.c.get(t);if(!n)return!1;var l=n.indexOf(e);return!(l<0||(n.splice(l,1),0===n.length&&this.c.delete(t),0))},t.prototype.publish=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var l=this.c.get(t);return l?l.map((function(t){try{return t.apply(void 0,e)}catch(n){return console.error(n),null}})):null},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(t){function e(){return t.call(this,d.m)||this}return Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"}),e}(Ye)),Be=(function(){function t(){}t.prototype.open=function(t){return c.a.open(t)},t.prototype.close=function(t){return c.a.close(t)},t.prototype.toggle=function(t){return c.a.toggle(t)},t.prototype.enable=function(t,e){return c.a.enable(t,e)},t.prototype.swipeEnable=function(t,e){return console.warn("[DEPRECATED][ion-menu-controller] swipeEnable() is deprecated. Use MenuController.swipeGesture() instead"),this.swipeGesture(t,e)},t.prototype.swipeGesture=function(t,e){return c.a.swipeGesture(t,e)},t.prototype.isOpen=function(t){return c.a.isOpen(t)},t.prototype.isEnabled=function(t){return c.a.isEnabled(t)},t.prototype.get=function(t){return c.a.get(t)},t.prototype.getOpen=function(){return c.a.getOpen()},t.prototype.getMenus=function(){return c.a.getMenus()},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(t){function e(){return t.call(this,d.o)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(t){function e(e,n,l){var i=t.call(this,d.n)||this;return i.angularDelegate=e,i.resolver=n,i.injector=l,i}return Object(l.c)(e,t),e.prototype.create=function(e){return t.prototype.create.call(this,Object(l.a)({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},e.decorators=[{type:i.v}],e.ctorParameters=function(){return[{type:ce},{type:i.m},{type:i.x}]},e}(Ye)),ze=function(t){function e(e,n,l){var i=t.call(this,d.d)||this;return i.angularDelegate=e,i.resolver=n,i.injector=l,i}return Object(l.c)(e,t),e.prototype.create=function(e){return t.prototype.create.call(this,Object(l.a)({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},e.decorators=[{type:i.v}],e.ctorParameters=function(){return[{type:ce},{type:i.m},{type:i.x}]},e}(Ye),Ge=(function(t){function e(){return t.call(this,d.q)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(){function t(){}t.prototype.read=function(t){Ge().read(t)},t.prototype.write=function(t){Ge().write(t)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(){var t="undefined"!=typeof window?window:null;if(null!=t){var e=t.Ionic;return e&&e.queue?e.queue:{read:function(e){return t.requestAnimationFrame(e)},write:function(e){return t.requestAnimationFrame(e)}}}return{read:function(t){return t()},write:function(t){return t()}}}),He=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.shouldAttach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){if(t.routeConfig!==e.routeConfig)return!1;var n=t.params,l=e.params,i=Object.keys(n),r=Object.keys(l);if(i.length!==r.length)return!1;for(var o=0,a=i;o<a.length;o++){var s=a[o];if(l[s]!==n[s])return!1}return!0},t}(),Ve=!1,qe=function(t,e,i){return function(){var r=e.defaultView;if(r){Ve&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),Ve=!0,(r.Ionic=r.Ionic||{}).config=Object(l.a)({},t,{_zoneGate:function(t){return i.run(t)}});var o="__zone_symbol__addEventListener"in e.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var t=window,e=[];return t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove)||e.push(n.e(100).then(n.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var t=new URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(99).then(n.t.bind(null,"t6o4",7))),Promise.all(e)}().then((function(){return t={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:y,jmp:function(t){return i.runOutsideAngular(t)},ael:function(t,e,n,l){t[o](e,n,l)},rel:function(t,e,n,l){t.removeEventListener(e,n,l)}},Object(_.b)().then(()=>{Object(_.h)(),Object(_.c)(JSON.parse('[[{"ios":"ion-select_3-ios","md":"ion-select_3-md"},[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionSelect","onSelect"]]],[1,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"selected":[4],"value":[8]}]]],[{"ios":"ion-menu_4-ios","md":"ion-menu_4-md"},[[1,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]],[1,"ion-menu",{"contentId":[1,"content-id"],"menuId":[1,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[32,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[0,"ion-menu-controller",{"open":[64],"close":[64],"toggle":[64],"enable":[64],"swipeGesture":[64],"isOpen":[64],"isEnabled":[64],"get":[64],"getOpen":[64],"getMenus":[64],"isAnimating":[64],"registerAnimation":[64]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]]]],[{"ios":"ion-action-sheet-ios","md":"ion-action-sheet-md"},[[2,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-fab_3-ios","md":"ion-fab_3-md"},[[1,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],[{"ios":"ion-refresher_2-ios","md":"ion-refresher_2-md"},[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[0,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],[{"ios":"ion-alert-ios","md":"ion-alert-md"},[[2,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-back-button-ios","md":"ion-back-button-md"},[[2,"ion-back-button",{"color":[1],"defaultHref":[1,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1]}]]],[{"ios":"ion-loading-ios","md":"ion-loading-md"},[[2,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-toast-ios","md":"ion-toast-md"},[[1,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"showCloseButton":[4,"show-close-button"],"closeButtonText":[1,"close-button-text"],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-card_5-ios","md":"ion-card_5-md"},[[6,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}],[0,"ion-card-content"],[1,"ion-card-header",{"color":[1],"translucent":[4]}],[1,"ion-card-subtitle",{"color":[1]}],[1,"ion-card-title",{"color":[1]}]]],[{"ios":"ion-item-option_3-ios","md":"ion-item-option_3-md"},[[1,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[0,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],[{"ios":"ion-infinite-scroll_2-ios","md":"ion-infinite-scroll_2-md"},[[0,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],[{"ios":"ion-reorder_2-ios","md":"ion-reorder_2-md"},[[1,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],[{"ios":"ion-segment_2-ios","md":"ion-segment_2-md"},[[1,"ion-segment-button",{"checked":[1028],"disabled":[4],"layout":[1],"type":[1],"value":[1]}],[2,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"value":[1025]},[[0,"ionSelect","segmentClick"]]]]],[{"ios":"ion-tab-bar_2-ios","md":"ion-tab-bar_2-md"},[[1,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[16,"ionTabBarChanged","onTabBarChanged"]]],[1,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},[[8,"keyboardWillHide","onKeyboardWillHide"],[8,"keyboardWillShow","onKeyboardWillShow"]]]]],[{"ios":"ion-chip-ios","md":"ion-chip-md"},[[1,"ion-chip",{"color":[1],"outline":[4]}]]],[{"ios":"ion-modal-ios","md":"ion-modal-md"},[[2,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-popover-ios","md":"ion-popover-md"},[[2,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-searchbar-ios","md":"ion-searchbar-md"},[[2,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[8,"show-cancel-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-action-sheet-controller_8",[[0,"ion-action-sheet-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-alert-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[1,"ion-anchor",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"]}],[0,"ion-loading-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-modal-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-picker-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-popover-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-toast-controller",{"create":[64],"dismiss":[64],"getTop":[64]}]]],[{"ios":"ion-app_8-ios","md":"ion-app_8-md"},[[0,"ion-app"],[2,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[2,"click","onClick"]]],[0,"ion-footer",{"translucent":[4]}],[0,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[1,"ion-title",{"color":[1],"size":[1]}],[1,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-nav_5",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"]}],[0,"ion-nav-pop"],[0,"ion-nav-push",{"component":[1],"componentProps":[16]}],[0,"ion-nav-set-root",{"component":[1],"componentProps":[16]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}]]],[{"ios":"ion-avatar_3-ios","md":"ion-avatar_3-md"},[[1,"ion-avatar"],[1,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],[{"ios":"ion-slide_2-ios","md":"ion-slide_2-md"},[[0,"ion-slide"],[4,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],[{"ios":"ion-checkbox-ios","md":"ion-checkbox-md"},[[1,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],[{"ios":"ion-input-ios","md":"ion-input-md"},[[2,"ion-input",{"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-progress-bar-ios","md":"ion-progress-bar-md"},[[1,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],[{"ios":"ion-range-ios","md":"ion-range-md"},[[1,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],[{"ios":"ion-split-pane-ios","md":"ion-split-pane-md"},[[0,"ion-split-pane",{"contentId":[1,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],[{"ios":"ion-textarea-ios","md":"ion-textarea-md"},[[2,"ion-textarea",{"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-toggle-ios","md":"ion-toggle-md"},[[1,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],[{"ios":"ion-datetime_3-ios","md":"ion-datetime_3-md"},[[2,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[1,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[0,"ion-picker-column",{"col":[16]}]]],[{"ios":"ion-radio_2-ios","md":"ion-radio_2-md"},[[1,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"checked":[1028],"value":[1032]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],[{"ios":"ion-backdrop-ios","md":"ion-backdrop-md"},[[1,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"touchstart","onTouchStart"],[2,"click","onMouseDown"],[2,"mousedown","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],[{"ios":"ion-button_2-ios","md":"ion-button_2-md"},[[1,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"svgContent":[32],"isVisible":[32]}]]],[{"ios":"ion-item_8-ios","md":"ion-item_8-md"},[[1,"ion-item-divider",{"color":[1],"sticky":[4]}],[0,"ion-item-group"],[1,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4],"width":[1]}],[1,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionStyle","itemStyle"]]],[2,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[0,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[1,"ion-list-header",{"color":[1]}]]]]'),t)});var t}))}}},We=[U,B,z,G,H,V,q,W,$,X,K,J,Q,Z,tt,et,nt,lt,it,rt,ot,at,st,ut,ct,dt,ht,pt,ft,bt,mt,gt,_t,yt,At,vt,Ct,wt,Pt,xt,St,kt,Mt,Ot,Dt,Tt,Et,It,Lt,jt,Rt,Ft,Nt,Yt,Ut,Bt,zt,Gt,Ht,Vt,qt,Wt,$t,Xt,Kt,Jt,Qt,Zt,te,ee,ne,ie,re,le,Me,x,S,k,M,O,Se,Oe,De,Te,Ee,Ie,Le,je,Fe],$e=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:ae,useValue:e},{provide:i.d,useFactory:qe,multi:!0,deps:[ae,o.d,i.G]}]}},t.decorators=[{type:i.B,args:[{declarations:We,exports:We,providers:[ce,Be,ze],imports:[o.c]}]}],t}()},ZcWs:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var l=n("8Y7J"),i=n("oBZk"),r=n("Mc5n"),o=n("ZZ/e"),a=n("SVse"),s=n("IP0z"),u=n("s6ns"),c=n("t+3E"),d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,7,"ion-item",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,i.z,i.h)),l.Tb(6144,null,r.l,null,[r.c]),l.Cb(2,49152,null,0,o.F,[l.j,l.p,l.G],null,null),l.Cb(3,4866048,[[1,4]],3,r.c,[l.p,[3,r.b],a.d,l.G,l.Y,r.a,[2,s.b],r.g,l.j],null,null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),(t()(),l.Wb(7,0,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging()),t(e,7,0,e.context.$implicit)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,7,"ion-item",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,i.z,i.h)),l.Tb(6144,null,r.l,null,[r.c]),l.Cb(2,49152,null,0,o.F,[l.j,l.p,l.G],null,null),l.Cb(3,4866048,[[5,4]],3,r.c,[l.p,[3,r.b],a.d,l.G,l.Y,r.a,[2,s.b],r.g,l.j],null,null),l.Ub(603979776,6,{_handles:1}),l.Ub(603979776,7,{_previewTemplate:0}),l.Ub(603979776,8,{_placeholderTemplate:0}),(t()(),l.Wb(7,0,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging()),t(e,7,0,e.context.$implicit)}))}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"ion-header",[["translucent",""]],null,null,null,i.x,i.f)),l.Cb(1,49152,null,0,o.z,[l.j,l.p,l.G],{translucent:[0,"translucent"]},null),(t()(),l.Db(2,0,null,0,9,"ion-toolbar",[],null,null,null,i.J,i.r)),l.Cb(3,49152,null,0,o.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,2,"ion-title",[],null,null,null,i.I,i.q)),l.Cb(5,49152,null,0,o.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Settings Fields"])),(t()(),l.Db(7,0,null,0,4,"ion-buttons",[["slot","end"]],null,null,null,i.v,i.d)),l.Cb(8,49152,null,0,o.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(9,0,null,0,2,"ion-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.dismissModal()&&l),l}),i.u,i.c)),l.Cb(10,49152,null,0,o.i,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Close"])),(t()(),l.Db(12,0,null,null,27,"ion-content",[["fullscreen",""]],null,null,null,i.w,i.e)),l.Cb(13,49152,null,0,o.s,[l.j,l.p,l.G],{fullscreen:[0,"fullscreen"]},null),(t()(),l.Db(14,0,null,0,25,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(15,16384,null,0,u.j,[],null,null),(t()(),l.Db(16,0,null,null,23,"div",[["cdkDropListGroup",""],["class","drag-container"]],null,null,null,null,null)),l.Cb(17,147456,null,0,r.f,[],null,null),(t()(),l.Db(18,0,null,null,10,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PANEL FIELDS"])),(t()(),l.Db(21,0,null,null,7,"ion-list",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),i.B,i.j)),l.Tb(6144,null,r.b,null,[r.e]),l.Cb(23,49152,null,0,o.M,[l.j,l.p,l.G],null,null),l.Cb(24,1196032,null,1,r.e,[l.p,r.g,l.j,[2,s.b],[3,r.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,1,{_draggables:1}),l.Tb(256,null,r.f,void 0,[]),(t()(),l.sb(16777216,null,0,1,null,h)),l.Cb(28,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(29,0,null,null,10,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(30,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OTHER FIELDS"])),(t()(),l.Db(32,0,null,null,7,"ion-list",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),i.B,i.j)),l.Tb(6144,null,r.b,null,[r.e]),l.Cb(34,49152,null,0,o.M,[l.j,l.p,l.G],null,null),l.Cb(35,1196032,null,1,r.e,[l.p,r.g,l.j,[2,s.b],[3,r.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,5,{_draggables:1}),l.Tb(256,null,r.f,void 0,[]),(t()(),l.sb(16777216,null,0,1,null,p)),l.Cb(39,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,""),t(e,13,0,""),t(e,24,0,n.panelFields),t(e,28,0,n.panelFields),t(e,35,0,n.otherFields),t(e,39,0,n.otherFields)}),(function(t,e){t(e,21,0,l.Pb(e,24).id,l.Pb(e,24).disabled,l.Pb(e,24)._dropListRef.isDragging(),l.Pb(e,24)._dropListRef.isReceiving()),t(e,32,0,l.Pb(e,35).id,l.Pb(e,35).disabled,l.Pb(e,35)._dropListRef.isDragging(),l.Pb(e,35)._dropListRef.isReceiving())}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-right-panel-params-modal",[],null,null,null,f,d)),l.Cb(1,245760,null,0,c.a,[o.Fb],null,null)],(function(t,e){t(e,1,0)}),null)}var m=l.zb("sepia-right-panel-params-modal",c.a,b,{data:"data"},{},[])},Zduo:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZhEo:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var l,i=n("h3hZ"),r=n("hp/u"),o=n("Ho3V"),a=n("AdTM"),s=n("CvXi"),u=n("YX0d"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function d(t,e,n){var l=t;if(l.src&&u.c){var i=l.decode(),r=!0;return i.then((function(){r&&e()})).catch((function(t){r&&("EncodingError"===t.name&&"Invalid image type."===t.message?e():n())})),function(){r=!1}}var s=[Object(o.b)(l,a.a.LOAD,e),Object(o.b)(l,a.a.ERROR,n)];return function(){s.forEach(o.c)}}!function(t){function e(e,n,l,i,o,a){var s=t.call(this,e,n,l,r.a.IDLE)||this;return s.src_=i,s.image_=new Image,null!==o&&(s.image_.crossOrigin=o),s.unlisten_=null,s.state=r.a.IDLE,s.imageLoadFunction_=a,s}c(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=r.a.ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Object(s.A)(this.extent)/this.image_.height),this.state=r.a.LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state!=r.a.IDLE&&this.state!=r.a.ERROR||(this.state=r.a.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=d(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(t){this.image_=t},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}(i.a)},Zime:function(t,e,n){"use strict";var l,i=n("WDFe"),r=n("4mld"),o=n("CZmH"),a=n("Pmt0"),s=n("f8l7"),u=n("OPOH"),c=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function d(t,e){for(var n=c.length,l=0;l<n;++l)try{var i=t.getContext(c[l],e);if(i)return i}catch(r){}return null}var h=n("kvpX");function p(t){switch(t){case 34962:return Float32Array;case 34963:return Uint32Array;default:return Float32Array}}var f=function(){function t(t,e){this.array=null,this.type=t,Object(h.a)(34962===t||34963===t,62),this.usage=void 0!==e?e:35044}return t.prototype.ofSize=function(t){this.array=new(p(this.type))(t)},t.prototype.fromArray=function(t){this.array=p(this.type).from(t)},t.prototype.fromArrayBuffer=function(t){this.array=new(p(this.type))(t)},t.prototype.getType=function(){return this.type},t.prototype.getArray=function(){return this.array},t.prototype.getUsage=function(){return this.usage},t.prototype.getSize=function(){return this.array?this.array.length:0},t}(),b=n("EwAT"),m=n("2lwS"),g=n("qJZF");function _(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}var y,A=function(){function t(t){this.gl_=t.webGlContext;var e=this.gl_;this.scaleRatio_=t.scaleRatio||1,this.renderTargetTexture_=e.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=e.createFramebuffer();var n=e.createShader(e.VERTEX_SHADER);e.shaderSource(n,t.vertexShader||"\n precision mediump float;\n \n attribute vec2 a_position;\n varying vec2 v_texCoord;\n varying vec2 v_screenCoord;\n \n uniform vec2 u_screenSize;\n \n void main() {\n v_texCoord = a_position * 0.5 + 0.5;\n v_screenCoord = v_texCoord * u_screenSize;\n gl_Position = vec4(a_position, 0.0, 1.0);\n }\n"),e.compileShader(n);var l=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(l,t.fragmentShader||"\n precision mediump float;\n \n uniform sampler2D u_image;\n \n varying vec2 v_texCoord;\n \n void main() {\n gl_FragColor = texture2D(u_image, v_texCoord);\n }\n"),e.compileShader(l),this.renderTargetProgram_=e.createProgram(),e.attachShader(this.renderTargetProgram_,n),e.attachShader(this.renderTargetProgram_,l),e.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=e.createBuffer(),e.bindBuffer(e.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,-1,1,1,-1,1]),e.STATIC_DRAW),this.renderTargetAttribLocation_=e.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetTextureLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],t.uniforms&&Object.keys(t.uniforms).forEach((function(n){this.uniforms_.push({value:t.uniforms[n],location:e.getUniformLocation(this.renderTargetProgram_,n)})}).bind(this))}return t.prototype.getGL=function(){return this.gl_},t.prototype.init=function(t){var e=this.getGL(),n=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.viewport(0,0,n[0],n[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==n[0]||this.renderTargetTextureSize_[1]!==n[1]){this.renderTargetTextureSize_=n;var l=e.RGBA,i=e.RGBA,r=e.UNSIGNED_BYTE;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,0,l,n[0],n[1],0,i,r,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0)}},t.prototype.apply=function(t,e){var n=this.getGL(),l=t.size;n.bindFramebuffer(n.FRAMEBUFFER,e?e.getFrameBuffer():null),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,this.renderTargetTexture_),n.clearColor(0,0,0,0),n.clear(n.COLOR_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,n.ONE_MINUS_SRC_ALPHA),n.viewport(0,0,n.drawingBufferWidth,n.drawingBufferHeight),n.bindBuffer(n.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),n.useProgram(this.renderTargetProgram_),n.enableVertexAttribArray(this.renderTargetAttribLocation_),n.vertexAttribPointer(this.renderTargetAttribLocation_,2,n.FLOAT,!1,0,0),n.uniform2f(this.renderTargetUniformLocation_,l[0],l[1]),n.uniform1i(this.renderTargetTextureLocation_,0),this.applyUniforms(t),n.drawArrays(n.TRIANGLES,0,6)},t.prototype.getFrameBuffer=function(){return this.frameBuffer_},t.prototype.applyUniforms=function(t){var e,n=this.getGL(),l=1;this.uniforms_.forEach((function(i){if((e="function"==typeof i.value?i.value(t):i.value)instanceof HTMLCanvasElement||e instanceof ImageData)i.texture||(i.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+l]),n.bindTexture(n.TEXTURE_2D,i.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),e instanceof ImageData?n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,e.width,e.height,0,n.UNSIGNED_BYTE,new Uint8Array(e.data)):n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e),n.uniform1i(i.location,l++);else if(Array.isArray(e))switch(e.length){case 2:return void n.uniform2f(i.location,e[0],e[1]);case 3:return void n.uniform3f(i.location,e[0],e[1],e[2]);case 4:return void n.uniform4f(i.location,e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(i.location,e)}))},t}(),v=n("n15R"),C=(y=function(t,e){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w={UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123,UNSIGNED_INT:5125,FLOAT:5126};function P(t){switch(t){case w.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case w.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case w.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case w.FLOAT:default:return Float32Array.BYTES_PER_ELEMENT}}var x=function(t){function e(e){var n=t.call(this)||this,i=e||{};n.boundHandleWebGLContextLost_=n.handleWebGLContextLost.bind(n),n.boundHandleWebGLContextRestored_=n.handleWebGLContextRestored.bind(n),n.canvas_=document.createElement("canvas"),n.canvas_.style.position="absolute",n.canvas_.style.left="0",n.gl_=d(n.canvas_);var r=n.getGL();if(n.bufferCache_={},n.currentProgram_=null,Object(h.a)(Object(v.d)(function(){if(!l){var t=d(document.createElement("canvas"));t&&(l=t.getSupportedExtensions())}return l}(),"OES_element_index_uint"),63),r.getExtension("OES_element_index_uint"),n.canvas_.addEventListener("webglcontextlost",n.boundHandleWebGLContextLost_),n.canvas_.addEventListener("webglcontextrestored",n.boundHandleWebGLContextRestored_),n.offsetRotateMatrix_=Object(g.c)(),n.offsetScaleMatrix_=Object(g.c)(),n.tmpMat4_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],n.uniformLocations_={},n.attribLocations_={},n.uniforms_=[],i.uniforms)for(var o in i.uniforms)n.uniforms_.push({name:o,value:i.uniforms[o]});return n.postProcessPasses_=i.postProcesses?i.postProcesses.map((function(t){return new A({webGlContext:r,scaleRatio:t.scaleRatio,vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms})})):[new A({webGlContext:r})],n.shaderCompileErrors_=null,n.startTime_=Date.now(),n}return C(e,t),e.prototype.bindBuffer=function(t){var e=this.getGL(),n=Object(b.c)(t),l=this.bufferCache_[n];if(!l){var i=e.createBuffer();this.bufferCache_[n]=l={buffer:t,webGlBuffer:i}}e.bindBuffer(t.getType(),l.webGlBuffer)},e.prototype.flushBufferData=function(t){var e=this.getGL();this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())},e.prototype.deleteBuffer=function(t){var e=this.getGL(),n=Object(b.c)(t),l=this.bufferCache_[n];e.isContextLost()||e.deleteBuffer(l.buffer),delete this.bufferCache_[n]},e.prototype.disposeInternal=function(){this.canvas_.removeEventListener("webglcontextlost",this.boundHandleWebGLContextLost_),this.canvas_.removeEventListener("webglcontextrestored",this.boundHandleWebGLContextRestored_)},e.prototype.prepareDraw=function(t){var e=this.getGL(),n=this.getCanvas(),l=t.size,i=t.pixelRatio;n.width=l[0]*i,n.height=l[1]*i,n.style.width=l[0]+"px",n.style.height=l[1]+"px",e.useProgram(this.currentProgram_);for(var r=this.postProcessPasses_.length-1;r>=0;r--)this.postProcessPasses_[r].init(t);e.bindTexture(e.TEXTURE_2D,null),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.enable(e.BLEND),e.blendFunc(e.ONE,e.ONE_MINUS_SRC_ALPHA),e.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.prepareDrawToRenderTarget=function(t,e,n){var l=this.getGL(),i=e.getSize();l.bindFramebuffer(l.FRAMEBUFFER,e.getFramebuffer()),l.viewport(0,0,i[0],i[1]),l.bindTexture(l.TEXTURE_2D,e.getTexture()),l.clearColor(0,0,0,0),l.clear(l.COLOR_BUFFER_BIT),l.enable(l.BLEND),l.blendFunc(l.ONE,n?l.ZERO:l.ONE_MINUS_SRC_ALPHA),l.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.drawElements=function(t,e){var n=this.getGL();n.drawElements(n.TRIANGLES,e-t,n.UNSIGNED_INT,4*t)},e.prototype.finalizeDraw=function(t){for(var e=0;e<this.postProcessPasses_.length;e++)this.postProcessPasses_[e].apply(t,this.postProcessPasses_[e+1]||null)},e.prototype.getCanvas=function(){return this.canvas_},e.prototype.getGL=function(){return this.gl_},e.prototype.applyFrameState=function(t){var e=t.size,n=t.viewState.rotation,l=Object(g.g)(this.offsetScaleMatrix_);Object(g.i)(l,2/e[0],2/e[1]);var i=Object(g.g)(this.offsetRotateMatrix_);0!==n&&Object(g.h)(i,-n),this.setUniformMatrixValue("u_offsetScaleMatrix",_(this.tmpMat4_,l)),this.setUniformMatrixValue("u_offsetRotateMatrix",_(this.tmpMat4_,i)),this.setUniformFloatValue("u_time",.001*(Date.now()-this.startTime_)),this.setUniformFloatValue("u_zoom",t.viewState.zoom),this.setUniformFloatValue("u_resolution",t.viewState.resolution)},e.prototype.applyUniforms=function(t){var e,n=this.getGL(),l=0;this.uniforms_.forEach((function(i){if((e="function"==typeof i.value?i.value(t):i.value)instanceof HTMLCanvasElement||e instanceof HTMLImageElement||e instanceof ImageData)i.texture||(i.prevValue=void 0,i.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+l]),n.bindTexture(n.TEXTURE_2D,i.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(!(e instanceof HTMLImageElement)||e.complete)&&i.prevValue!==e&&(i.prevValue=e,n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e)),n.uniform1i(this.getUniformLocation(i.name),l++);else if(Array.isArray(e)&&6===e.length)this.setUniformMatrixValue(i.name,_(this.tmpMat4_,e));else if(Array.isArray(e)&&e.length<=4)switch(e.length){case 2:return void n.uniform2f(this.getUniformLocation(i.name),e[0],e[1]);case 3:return void n.uniform3f(this.getUniformLocation(i.name),e[0],e[1],e[2]);case 4:return void n.uniform4f(this.getUniformLocation(i.name),e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(this.getUniformLocation(i.name),e)}).bind(this))},e.prototype.useProgram=function(t){return t!=this.currentProgram_&&(this.getGL().useProgram(t),this.currentProgram_=t,this.uniformLocations_={},this.attribLocations_={},!0)},e.prototype.compileShader=function(t,e){var n=this.getGL(),l=n.createShader(e);return n.shaderSource(l,t),n.compileShader(l),l},e.prototype.getProgram=function(t,e){var n=this.getGL(),l=this.compileShader(t,n.FRAGMENT_SHADER),i=this.compileShader(e,n.VERTEX_SHADER);this.shaderCompileErrors_=null,n.getShaderInfoLog(l)&&(this.shaderCompileErrors_="Fragment shader compilation failed:\n"+n.getShaderInfoLog(l)),n.getShaderInfoLog(i)&&(this.shaderCompileErrors_=(this.shaderCompileErrors_||"")+"Vertex shader compilation failed:\n"+n.getShaderInfoLog(i));var r=n.createProgram();return n.attachShader(r,l),n.attachShader(r,i),n.linkProgram(r),r},e.prototype.getShaderCompileErrors=function(){return this.shaderCompileErrors_},e.prototype.getUniformLocation=function(t){return void 0===this.uniformLocations_[t]&&(this.uniformLocations_[t]=this.getGL().getUniformLocation(this.currentProgram_,t)),this.uniformLocations_[t]},e.prototype.getAttributeLocation=function(t){return void 0===this.attribLocations_[t]&&(this.attribLocations_[t]=this.getGL().getAttribLocation(this.currentProgram_,t)),this.attribLocations_[t]},e.prototype.makeProjectionTransform=function(t,e){var n=t.size,l=t.viewState.rotation,i=t.viewState.resolution,r=t.viewState.center;return Object(g.g)(e),Object(g.b)(e,0,0,2/(i*n[0]),2/(i*n[1]),-l,-r[0],-r[1]),e},e.prototype.setUniformFloatValue=function(t,e){this.getGL().uniform1f(this.getUniformLocation(t),e)},e.prototype.setUniformMatrixValue=function(t,e){this.getGL().uniformMatrix4fv(this.getUniformLocation(t),!1,e)},e.prototype.enableAttributeArray_=function(t,e,n,l,i){var r=this.getAttributeLocation(t);r<0||(this.getGL().enableVertexAttribArray(r),this.getGL().vertexAttribPointer(r,e,n,!1,l,i))},e.prototype.enableAttributes=function(t){for(var e=function(t){for(var e=0,n=0;n<t.length;n++){var l=t[n];e+=l.size*P(l.type)}return e}(t),n=0,l=0;l<t.length;l++){var i=t[l];this.enableAttributeArray_(i.name,i.size,i.type||5126,e,n),n+=i.size*P(i.type)}},e.prototype.handleWebGLContextLost=function(){Object(u.b)(this.bufferCache_),this.currentProgram_=null},e.prototype.handleWebGLContextRestored=function(){},e.prototype.createTexture=function(t,e,n){var l=this.getGL(),i=n||l.createTexture(),r=l.RGBA,o=l.RGBA,a=l.UNSIGNED_BYTE;return l.bindTexture(l.TEXTURE_2D,i),e?l.texImage2D(l.TEXTURE_2D,0,r,o,a,e):l.texImage2D(l.TEXTURE_2D,0,r,t[0],t[1],0,o,a,null),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.CLAMP_TO_EDGE),i},e}(m.a),S=n("9iPr"),k=n("+vTz"),M=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function O(t,e){var n=e||[];return n[0]=Math.floor(t/256/256/256)/255,n[1]=Math.floor(t/256/256)%256/255,n[2]=Math.floor(t/256)%256/255,n[3]=t%256/255,n}var D=function(t){function e(e,n){var l=t.call(this,e)||this,i=n||{};return l.helper=new x({postProcesses:i.postProcesses,uniforms:i.uniforms}),l}return M(e,t),e.prototype.disposeInternal=function(){this.helper.dispose(),t.prototype.disposeInternal.call(this)},e.prototype.getShaderCompileErrors=function(){return this.helper.getShaderCompileErrors()},e}(k.a),T=n("SW/M"),E=n("CvXi"),I=new Blob(['var e="function"==typeof Object.assign?Object.assign:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(null!=i)for(var f in i)i.hasOwnProperty(f)&&(t[f]=i[f])}return t},n="GENERATE_BUFFERS",t=[],r={vertexPosition:0,indexPosition:0};function o(e,n,t,r,o){e[n+0]=t,e[n+1]=r,e[n+2]=o}function i(e,n,i,f,s,u){var a=3+s,l=e[n+0],v=e[n+1],c=t;c.length=s;for(var g=0;g<c.length;g++)c[g]=e[n+2+g];var b=u?u.vertexPosition:0,h=u?u.indexPosition:0,d=b/a;return o(i,b,l,v,0),c.length&&i.set(c,b+3),o(i,b+=a,l,v,1),c.length&&i.set(c,b+3),o(i,b+=a,l,v,2),c.length&&i.set(c,b+3),o(i,b+=a,l,v,3),c.length&&i.set(c,b+3),b+=a,f[h++]=d,f[h++]=d+1,f[h++]=d+3,f[h++]=d+1,f[h++]=d+2,f[h++]=d+3,r.vertexPosition=b,r.indexPosition=h,r}var f=self;f.onmessage=function(t){var r=t.data;if(r.type===n){for(var o=r.customAttributesCount,s=2+o,u=new Float32Array(r.renderInstructions),a=u.length/s,l=4*a*(o+3),v=new Uint32Array(6*a),c=new Float32Array(l),g=null,b=0;b<u.length;b+=s)g=i(u,b,c,v,o,g);var h=e({vertexBuffer:c.buffer,indexBuffer:v.buffer,renderInstructions:u.buffer},r);f.postMessage(h,[c.buffer,v.buffer,u.buffer])}};'],{type:"application/javascript"}),L=URL.createObjectURL(I),j=new Uint8Array(4),R=function(){function t(t,e){this.helper_=t;var n=t.getGL();this.texture_=n.createTexture(),this.framebuffer_=n.createFramebuffer(),this.size_=e||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}return t.prototype.setSize=function(t){Object(v.b)(t,this.size_)||(this.size_[0]=t[0],this.size_[1]=t[1],this.updateSize_())},t.prototype.getSize=function(){return this.size_},t.prototype.clearCachedData=function(){this.dataCacheDirty_=!0},t.prototype.readAll=function(){if(this.dataCacheDirty_){var t=this.size_,e=this.helper_.getGL();e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.readPixels(0,0,t[0],t[1],e.RGBA,e.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_},t.prototype.readPixel=function(t,e){if(t<0||e<0||t>this.size_[0]||e>=this.size_[1])return j[0]=0,j[1]=0,j[2]=0,j[3]=0,j;this.readAll();var n=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return j[0]=this.data_[4*n],j[1]=this.data_[4*n+1],j[2]=this.data_[4*n+2],j[3]=this.data_[4*n+3],j},t.prototype.getTexture=function(){return this.texture_},t.prototype.getFramebuffer=function(){return this.framebuffer_},t.prototype.updateSize_=function(){var t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(t[0]*t[1]*4)},t}(),F=n("rlDN"),N=n("Ho3V"),Y=n("pD/Q"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e,n){var l=this,i=n.uniforms||{},r=Object(g.c)();i.u_projectionMatrix=r,(l=t.call(this,e,{uniforms:i,postProcesses:n.postProcesses})||this).sourceRevision_=-1,l.verticesBuffer_=new f(34962,35048),l.hitVerticesBuffer_=new f(34962,35048),l.indicesBuffer_=new f(34963,35048),l.program_=l.helper.getProgram(n.fragmentShader,n.vertexShader),l.hitDetectionEnabled_=!(!n.hitFragmentShader||!n.hitVertexShader),l.hitProgram_=l.hitDetectionEnabled_&&l.helper.getProgram(n.hitFragmentShader,n.hitVertexShader);var o=n.attributes?n.attributes.map((function(t){return{name:"a_"+t.name,size:1,type:w.FLOAT}})):[];l.attributes=[{name:"a_position",size:2,type:w.FLOAT},{name:"a_index",size:1,type:w.FLOAT}].concat(o),l.hitDetectionAttributes=[{name:"a_position",size:2,type:w.FLOAT},{name:"a_index",size:1,type:w.FLOAT},{name:"a_hitColor",size:4,type:w.FLOAT},{name:"a_featureUid",size:1,type:w.FLOAT}].concat(o),l.customAttributes=n.attributes?n.attributes:[],l.previousExtent_=Object(E.j)(),l.currentTransform_=r,l.renderTransform_=Object(g.c)(),l.invertRenderTransform_=Object(g.c)(),l.renderInstructions_=new Float32Array(0),l.hitRenderInstructions_=new Float32Array(0),l.hitRenderTarget_=l.hitDetectionEnabled_&&new R(l.helper),l.worker_=new Worker(L),l.worker_.addEventListener("message",(function(t){var e=t.data;if("GENERATE_BUFFERS"===e.type){var n=e.projectionTransform;e.hitDetection?(this.hitVerticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.hitVerticesBuffer_)):(this.verticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_)),this.indicesBuffer_.fromArrayBuffer(e.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=n,Object(g.d)(this.invertRenderTransform_,this.renderTransform_),e.hitDetection?this.hitRenderInstructions_=new Float32Array(t.data.renderInstructions):this.renderInstructions_=new Float32Array(t.data.renderInstructions),this.getLayer().changed()}}).bind(l)),l.featureCache_={},l.featureCount_=0;var a=l.getLayer().getSource();return l.sourceListenKeys_=[Object(N.a)(a,Y.a.ADDFEATURE,l.handleSourceFeatureAdded_,l),Object(N.a)(a,Y.a.CHANGEFEATURE,l.handleSourceFeatureChanged_,l),Object(N.a)(a,Y.a.REMOVEFEATURE,l.handleSourceFeatureDelete_,l),Object(N.a)(a,Y.a.CLEAR,l.handleSourceFeatureClear_,l)],a.forEachFeature((function(t){this.featureCache_[Object(b.c)(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++}).bind(l)),l}return U(e,t),e.prototype.handleSourceFeatureAdded_=function(t){var e=t.feature;this.featureCache_[Object(b.c)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++},e.prototype.handleSourceFeatureChanged_=function(t){var e=t.feature;this.featureCache_[Object(b.c)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}},e.prototype.handleSourceFeatureDelete_=function(t){var e=t.feature;delete this.featureCache_[Object(b.c)(e)],this.featureCount_--},e.prototype.handleSourceFeatureClear_=function(){this.featureCache_={},this.featureCount_=0},e.prototype.renderFrame=function(t){var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e),this.helper.finalizeDraw(t);var n=this.helper.getCanvas(),l=t.layerStatesArray[t.layerIndex].opacity;return l!==parseFloat(n.style.opacity)&&(n.style.opacity=l),this.hitDetectionEnabled_&&(this.renderHitDetection(t),this.hitRenderTarget_.clearCachedData()),n},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource(),l=t.viewState,i=!t.viewHints[T.a.ANIMATING]&&!t.viewHints[T.a.INTERACTING],r=!Object(E.p)(this.previousExtent_,t.extent),o=this.sourceRevision_<n.getRevision();if(o&&(this.sourceRevision_=n.getRevision()),i&&(r||o)){var a=l.projection,s=l.resolution,u=e instanceof F.a?e.getRenderBuffer():0,c=Object(E.c)(t.extent,u*s);n.loadFeatures(c,s,a),this.rebuildBuffers_(t),this.previousExtent_=t.extent.slice()}return this.helper.makeProjectionTransform(t,this.currentTransform_),Object(g.f)(this.currentTransform_,this.invertRenderTransform_),this.helper.useProgram(this.program_),this.helper.prepareDraw(t),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0},e.prototype.rebuildBuffers_=function(t){var e=Object(g.c)();this.helper.makeProjectionTransform(t,e);var n,l,i=(2+this.customAttributes.length)*this.featureCount_;if(this.renderInstructions_&&this.renderInstructions_.length===i||(this.renderInstructions_=new Float32Array(i)),this.hitDetectionEnabled_){var r=(7+this.customAttributes.length)*this.featureCount_;this.hitRenderInstructions_&&this.hitRenderInstructions_.length===r||(this.hitRenderInstructions_=new Float32Array(r))}var o,a=[],s=[],u=0,c=0;for(var d in this.featureCache_)if((l=(n=this.featureCache_[d]).geometry)&&l.getType()===S.a.POINT){a[0]=l.getFlatCoordinates()[0],a[1]=l.getFlatCoordinates()[1],Object(g.a)(e,a),o=O(c+6,s),this.renderInstructions_[u++]=a[0],this.renderInstructions_[u++]=a[1],this.hitDetectionEnabled_&&(this.hitRenderInstructions_[c++]=a[0],this.hitRenderInstructions_[c++]=a[1],this.hitRenderInstructions_[c++]=o[0],this.hitRenderInstructions_[c++]=o[1],this.hitRenderInstructions_[c++]=o[2],this.hitRenderInstructions_[c++]=o[3],this.hitRenderInstructions_[c++]=Number(d));for(var h=void 0,p=0;p<this.customAttributes.length;p++)h=this.customAttributes[p].callback(n.feature,n.properties),this.renderInstructions_[u++]=h,this.hitDetectionEnabled_&&(this.hitRenderInstructions_[c++]=h)}var f={type:"GENERATE_BUFFERS",renderInstructions:this.renderInstructions_.buffer,customAttributesCount:this.customAttributes.length};if(f.projectionTransform=e,this.worker_.postMessage(f,[this.renderInstructions_.buffer]),this.renderInstructions_=null,this.hitDetectionEnabled_){var b={type:"GENERATE_BUFFERS",renderInstructions:this.hitRenderInstructions_.buffer,customAttributesCount:5+this.customAttributes.length};b.projectionTransform=e,b.hitDetection=!0,this.worker_.postMessage(b,[this.hitRenderInstructions_.buffer]),this.hitRenderInstructions_=null}},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){if(Object(h.a)(this.hitDetectionEnabled_,66),this.hitRenderInstructions_){var r=Object(g.a)(e.coordinateToPixelTransform,t.slice()),o=this.hitRenderTarget_.readPixel(r[0]/2,r[1]/2),a=(c=[o[0]/255,o[1]/255,o[2]/255,o[3]/255],d=0,d+=Math.round(256*c[0]*256*256*255),d+=Math.round(256*c[1]*256*255),(d+=Math.round(256*c[2]*255))+Math.round(255*c[3])),s=Math.floor(this.hitRenderInstructions_[a]).toString(),u=this.getLayer().getSource().getFeatureByUid(s);return u?l(u,this.getLayer()):void 0}var c,d},e.prototype.renderHitDetection=function(t){if(this.hitVerticesBuffer_.getSize()){this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.useProgram(this.hitProgram_),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0),this.helper.bindBuffer(this.hitVerticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.hitDetectionAttributes);var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e)}},e.prototype.disposeInternal=function(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach((function(t){Object(N.c)(t)})),this.sourceListenKeys_=null,t.prototype.disposeInternal.call(this)},e}(D),z=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),G=["#00f","#0ff","#0f0","#ff0","#f00"],H=function(t){function e(e){var n=this,l=e||{},i=Object(u.a)({},l);delete i.gradient,delete i.radius,delete i.blur,delete i.weight,(n=t.call(this,i)||this).gradient_=null,n.addEventListener(Object(r.b)("gradient"),n.handleGradientChanged_),n.setGradient(l.gradient?l.gradient:G),n.setBlur(void 0!==l.blur?l.blur:15),n.setRadius(void 0!==l.radius?l.radius:8);var o=l.weight?l.weight:"weight";return n.weightFunction_="string"==typeof o?function(t){return t.get(o)}:o,n.setRenderOrder(null),n}return z(e,t),e.prototype.getBlur=function(){return this.get("blur")},e.prototype.getGradient=function(){return this.get("gradient")},e.prototype.getRadius=function(){return this.get("radius")},e.prototype.handleGradientChanged_=function(){this.gradient_=function(t){for(var e=Object(o.a)(1,256),n=e.createLinearGradient(0,0,1,256),l=1/(t.length-1),i=0,r=t.length;i<r;++i)n.addColorStop(i*l,t[i]);return e.fillStyle=n,e.fillRect(0,0,1,256),e.canvas}(this.getGradient())},e.prototype.setBlur=function(t){this.set("blur",t)},e.prototype.setGradient=function(t){this.set("gradient",t)},e.prototype.setRadius=function(t){this.set("radius",t)},e.prototype.createRenderer=function(){return new B(this,{attributes:[{name:"weight",callback:(function(t){var e=this.weightFunction_(t);return void 0!==e?Object(s.a)(e,0,1):1}).bind(this)}],vertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_weight = a_weight;\n }",fragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n gl_FragColor = vec4(alpha, alpha, alpha, alpha);\n }",hitVertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n attribute vec4 a_hitColor;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_hitColor = a_hitColor;\n v_weight = a_weight;\n }",hitFragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n if (alpha < 0.05) {\n discard;\n }\n\n gl_FragColor = v_hitColor;\n }",uniforms:{u_size:(function(){return 2*(this.get("radius")+this.get("blur"))}).bind(this),u_blurSlope:(function(){return this.get("radius")/Math.max(1,this.get("blur"))}).bind(this)},postProcesses:[{fragmentShader:"\n precision mediump float;\n\n uniform sampler2D u_image;\n uniform sampler2D u_gradientTexture;\n\n varying vec2 v_texCoord;\n\n void main() {\n vec4 color = texture2D(u_image, v_texCoord);\n gl_FragColor.a = color.a;\n gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;\n gl_FragColor.rgb *= gl_FragColor.a;\n }",uniforms:{u_gradientTexture:(function(){return this.gradient_}).bind(this)}}]})},e}(a.a),V=n("JW8z"),q=n("9ANI"),W=n("TN97"),$=n("914O"),X=n("ppab");n("svHU"),n.d(e,"a",(function(){return K}));class K extends X.a{constructor(t){super(),this.mapService=t,this.popFeatures={},this.currentZoom=this.mapService.getView().getZoom(),this.detectZoomChange(),this.getLayer(!0)}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",this.layer)}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",this.layer),this.source.clear(),this.popFeatures={},this.moveendWatcher=void 0}getHeatmapProperties(t){0===t&&(t=1);const e=610/this.mapService.getView().getResolution(),n=Math.round(25*e)/2;return{blur:Math.round(e/2*10),radius:n}}detectZoomChange(){this.moveendWatcher=this.mapService.getMap().on("moveend",t=>{const e=this.mapService.getView().getZoom();if(this.currentZoom!==e&&this.layer){const t=this.getHeatmapProperties(e);this.currentZoom=e,this.layer.setBlur(t.blur),this.layer.setRadius(t.radius)}})}getSource(t=!1){return this.source&&!0!==t||(this.source=new i.a),this.source}getLayer(t=!1){if(this.source&&!0!==t||this.getSource(t),!this.layer||!0===t){const t=this.getHeatmapProperties(this.currentZoom);this.layer=new H({name:"Population",source:this.source,zIndex:10,opacity:.5,blur:t.blur,radius:t.radius})}return this.layer}displayPopulation(t){if(t.length>0){const e=this.getMaxAveragePop(t),n=[];this.setUpdatedFeatureToFalse(),t.forEach(t=>{const l=t.h3index,i=t.population/e,r=i>1?1:i;if(this.popFeatures[l])this.popFeatures[l].values_.isUpdated_=!0;else{const t=$.a(l).reverse(),e=Object(V.d)(t),i=new q.a(e),o=new W.a({geometry:i,id_:l,type_:"population",isUpdated_:!0,weight:r});this.popFeatures[l]=o,n.push(this.popFeatures[l])}}),this.removeOldFeature(),this.source.addFeatures(n)}else this.removeOldFeature()}removePop(){this.source.clear(),this.popFeatures={}}removeOldFeature(){for(let t in this.popFeatures)if(this.popFeatures.hasOwnProperty(t)){const e=this.popFeatures[t];0==e.values_.isUpdated_&&(this.source.removeFeature(e),delete this.popFeatures[t])}}setUpdatedFeatureToFalse(){for(let t in this.popFeatures)this.popFeatures.hasOwnProperty(t)&&(this.popFeatures[t].values_.isUpdated_=!1)}getMaxAveragePop(t){let e=0;return t.forEach(t=>{t.population>e&&(e=t.population)}),e}}},ZwOa:function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return s})),n("oapL");var l=n("8Y7J"),i=n("KCVW"),r=n("/HVE"),o=n("Xd0L"),a=n("XNiG");const s=new l.w("MAT_INPUT_VALUE_ACCESSOR"),u=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let c=0;class d{constructor(t,e,n,l){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=l}}const h=Object(o.H)(d);class p extends h{constructor(t,e,n,l,i,o,s,u,d){super(o,l,i,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=u,this._uid="mat-input-"+c++,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new a.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(r.f)().has(t));const h=this._elementRef.nativeElement;this._inputValueAccessor=s||h,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(r.f)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(i.c)(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(u.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}class f{}},Zy1z:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(){return t=>t.lift(new r)}class r{call(t,e){return e.subscribe(new o(t))}}class o extends l.a{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},a5kt:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("B2q1"),i=(n("svHU"),n("G0WM"),n("YGmB"),n("7/LY"),n("Amq3"));class r extends i.a{constructor(t,e,n,l,i,r){super(t,e,n,l,i,r),this.route=t,this.mapService=e,this.mapElement=n,this.aircraftService=l,this.trafficService=i,this.selectAircraftService=r}ngOnInit(){this.mapService.getMap().defaultBbox={zoom:null,lon:null,lat:null},this.mapService.getMap().setTarget(this.mapElement.nativeElement),this.setControl(),this.setCenterAndZoomMap(),this.readUrlQuery()}setControl(){this.mapService.getMap().addControl(new l.a({collapsible:!0}))}}},aECi:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("Mc5n");class i{constructor(t,e){this.dialogRef=t,this.data=e,this.allFields=["callsign","registration","icaoTypeCode","squawk","altitude","route","icao","userTags","providers","longitude","latitude","speed","country"],this.panelFields=[],this.otherFields=[]}ngOnInit(){this.panelFields=this.data,this.otherFields=this.allFields.filter(t=>!this.panelFields.includes(t))}ngOnDestroy(){}drop(t){t.previousContainer===t.container?Object(l.j)(t.container.data,t.previousIndex,t.currentIndex):Object(l.k)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}closeModal(){this.dialogRef.close(this.panelFields)}}},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}var n=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],l=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,i=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:i,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:i,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aK3z:function(t,e,n){window,t.exports=function(t,e){if("undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");var n=!1;function l(){n||(n=!0,console.warn("[KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead."))}function i(t){return t.__proto__=r.prototype,t}function r(t){return i(new Promise(t))}return(r.prototype=Object.create(Promise.prototype)).constructor=r,r.prototype.success=function(t){return l(),i(this.then((function(e){t(e)})))},r.prototype.error=function(t){return l(),i(this.catch((function(e){t(e)})))},function n(l){if(!(this instanceof n))return new n(l);for(var i,o,a=this,s=[],u={enable:!0,callbackList:[],interval:5},c=document.getElementsByTagName("script"),d=0;d<c.length;d++)-1===c[d].src.indexOf("keycloak.js")&&-1===c[d].src.indexOf("keycloak.min.js")||-1===c[d].src.indexOf("version=")||(a.iframeVersion=c[d].src.substring(c[d].src.indexOf("version=")+8).split("&")[0]);var h=!0,p=T(console.info),f=T(console.warn);function b(t,e){for(var n=function(t){var e=null,n=window.crypto||window.msCrypto;if(n&&n.getRandomValues&&window.Uint8Array)return e=new Uint8Array(t),n.getRandomValues(e),e;e=new Array(t);for(var l=0;l<e.length;l++)e[l]=Math.floor(256*Math.random());return e}(t),l=new Array(t),i=0;i<t;i++)l[i]=e.charCodeAt(n[i]%e.length);return String.fromCharCode.apply(null,l)}function m(){return void 0!==a.authServerUrl?"/"==a.authServerUrl.charAt(a.authServerUrl.length-1)?a.authServerUrl+"realms/"+encodeURIComponent(a.realm):a.authServerUrl+"/realms/"+encodeURIComponent(a.realm):void 0}function g(t,e){var n=t.code,l=t.error,i=t.prompt,r=(new Date).getTime();if(l)if("none"!=i){var o={error:l,error_description:t.error_description};a.onAuthError&&a.onAuthError(o),e&&e.setError(o)}else e&&e.setSuccess();else if("standard"!=a.flow&&(t.access_token||t.id_token)&&d(t.access_token,null,t.id_token,!0),"implicit"!=a.flow&&n){var s="code="+n+"&grant_type=authorization_code",u=a.endpoints.token(),c=new XMLHttpRequest;c.open("POST",u,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(a.clientId),s+="&redirect_uri="+t.redirectUri,t.pkceCodeVerifier&&(s+="&code_verifier="+t.pkceCodeVerifier),c.withCredentials=!0,c.onreadystatechange=function(){if(4==c.readyState)if(200==c.status){var t=JSON.parse(c.responseText);d(t.access_token,t.refresh_token,t.id_token,"standard"===a.flow),S()}else a.onAuthError&&a.onAuthError(),e&&e.setError()},c.send(s)}function d(n,l,i,o){y(n,l,i,r=(r+(new Date).getTime())/2),h&&(a.tokenParsed&&a.tokenParsed.nonce!=t.storedNonce||a.refreshTokenParsed&&a.refreshTokenParsed.nonce!=t.storedNonce||a.idTokenParsed&&a.idTokenParsed.nonce!=t.storedNonce)?(p("[KEYCLOAK] Invalid nonce, clearing token"),a.clearToken(),e&&e.setError()):o&&(a.onAuthSuccess&&a.onAuthSuccess(),e&&e.setSuccess())}}function _(t){return 0==t.status&&t.responseText&&t.responseURL.startsWith("file:")}function y(t,e,n,l){if(a.tokenTimeoutHandle&&(clearTimeout(a.tokenTimeoutHandle),a.tokenTimeoutHandle=null),e?(a.refreshToken=e,a.refreshTokenParsed=A(e)):(delete a.refreshToken,delete a.refreshTokenParsed),n?(a.idToken=n,a.idTokenParsed=A(n)):(delete a.idToken,delete a.idTokenParsed),t){if(a.token=t,a.tokenParsed=A(t),a.sessionId=a.tokenParsed.session_state,a.authenticated=!0,a.subject=a.tokenParsed.sub,a.realmAccess=a.tokenParsed.realm_access,a.resourceAccess=a.tokenParsed.resource_access,l&&(a.timeSkew=Math.floor(l/1e3)-a.tokenParsed.iat),null!=a.timeSkew&&(p("[KEYCLOAK] Estimated time difference between browser and server is "+a.timeSkew+" seconds"),a.onTokenExpired)){var i=1e3*(a.tokenParsed.exp-(new Date).getTime()/1e3+a.timeSkew);p("[KEYCLOAK] Token expires in "+Math.round(i/1e3)+" s"),i<=0?a.onTokenExpired():a.tokenTimeoutHandle=setTimeout(a.onTokenExpired,i)}}else delete a.token,delete a.tokenParsed,delete a.subject,delete a.realmAccess,delete a.resourceAccess,a.authenticated=!1}function A(t){switch((t=(t=(t=t.split(".")[1]).replace("/-/g","+")).replace("/_/g","/")).length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Invalid token"}return t=(t=(t+"===").slice(0,t.length+t.length%4)).replace(/-/g,"+").replace(/_/g,"/"),t=decodeURIComponent(escape(atob(t))),JSON.parse(t)}function v(){var t=b(36,"0123456789abcdef").split("");return t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}function C(t){var e=function(t){var e;switch(a.flow){case"standard":e=["code","state","session_state"];break;case"implicit":e=["access_token","token_type","id_token","state","session_state","expires_in"];break;case"hybrid":e=["access_token","id_token","code","state","session_state"]}e.push("error"),e.push("error_description"),e.push("error_uri");var n,l,i=t.indexOf("?"),r=t.indexOf("#");if("query"===a.responseMode&&-1!==i?(n=t.substring(0,i),""!==(l=w(t.substring(i+1,-1!==r?r:t.length),e)).paramsString&&(n+="?"+l.paramsString),-1!==r&&(n+=t.substring(r))):"fragment"===a.responseMode&&-1!==r&&(n=t.substring(0,r),""!==(l=w(t.substring(r+1),e)).paramsString&&(n+="#"+l.paramsString)),l&&l.oauthParams)if("standard"===a.flow||"hybrid"===a.flow){if((l.oauthParams.code||l.oauthParams.error)&&l.oauthParams.state)return l.oauthParams.newUrl=n,l.oauthParams}else if("implicit"===a.flow&&(l.oauthParams.access_token||l.oauthParams.error)&&l.oauthParams.state)return l.oauthParams.newUrl=n,l.oauthParams}(t);if(e){var n=o.get(e.state);return n&&(e.valid=!0,e.redirectUri=n.redirectUri,e.storedNonce=n.nonce,e.prompt=n.prompt,e.pkceCodeVerifier=n.pkceCodeVerifier),e}}function w(t,e){for(var n=t.split("&"),l={paramsString:"",oauthParams:{}},i=0;i<n.length;i++){var r=n[i].indexOf("="),o=n[i].slice(0,r);-1!==e.indexOf(o)?l.oauthParams[o]=n[i].slice(r+1):(""!==l.paramsString&&(l.paramsString+="&"),l.paramsString+=n[i])}return l}function P(){var t={setSuccess:function(e){t.resolve(e)},setError:function(e){t.reject(e)}};return t.promise=new r((function(e,n){t.resolve=e,t.reject=n})),t}function x(){var t=P();if(!u.enable)return t.setSuccess(),t.promise;if(u.iframe)return t.setSuccess(),t.promise;var e=document.createElement("iframe");u.iframe=e,e.onload=function(){var e=a.endpoints.authorize();u.iframeOrigin="/"===e.charAt(0)?window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):e.substring(0,e.indexOf("/",8)),t.setSuccess()};var n=a.endpoints.checkSessionIframe();return e.setAttribute("src",n),e.setAttribute("title","keycloak-session-iframe"),e.style.display="none",document.body.appendChild(e),window.addEventListener("message",(function(t){if(t.origin===u.iframeOrigin&&u.iframe.contentWindow===t.source&&("unchanged"==t.data||"changed"==t.data||"error"==t.data)){"unchanged"!=t.data&&a.clearToken();for(var e=u.callbackList.splice(0,u.callbackList.length),n=e.length-1;n>=0;--n){var l=e[n];"error"==t.data?l.setError():l.setSuccess("unchanged"==t.data)}}}),!1),t.promise}function S(){u.enable&&a.token&&setTimeout((function(){k().then((function(t){t&&S()}))}),1e3*u.interval)}function k(){var t=P();if(u.iframe&&u.iframeOrigin){var e=a.clientId+" "+(a.sessionId?a.sessionId:"");u.callbackList.push(t),1==u.callbackList.length&&u.iframe.contentWindow.postMessage(e,u.iframeOrigin)}else t.setSuccess();return t.promise}function M(t){if(!t||"default"==t)return{login:function(t){return window.location.replace(a.createLoginUrl(t)),P().promise},logout:function(t){return window.location.replace(a.createLogoutUrl(t)),P().promise},register:function(t){return window.location.replace(a.createRegisterUrl(t)),P().promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";return window.location.href=t,P().promise},redirectUri:function(t,e){return 1==arguments.length&&(e=!0),t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:location.href}};if("cordova"==t){u.enable=!1;var e=function(t,e,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(t,e,n):window.open(t,e,n)},n=function(t){var e=function(t){return t&&t.cordovaOptions?Object.keys(t.cordovaOptions).reduce((function(e,n){return e[n]=t.cordovaOptions[n],e}),{}):{}}(t);return e.location="no",t&&"none"==t.prompt&&(e.hidden="yes"),function(t){return Object.keys(t).reduce((function(e,n){return e.push(n+"="+t[n]),e}),[]).join(",")}(e)};return{login:function(t){var l=P(),i=n(t),r=a.createLoginUrl(t),o=e(r,"_blank",i),s=!1,u=!1,c=function(){u=!0,o.close()};return o.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&(g(C(t.url),l),c(),s=!0)})),o.addEventListener("loaderror",(function(t){s||(0==t.url.indexOf("http://localhost")?(g(C(t.url),l),c(),s=!0):(l.setError(),c()))})),o.addEventListener("exit",(function(t){u||l.setError({reason:"closed_by_user"})})),l.promise},logout:function(t){var n,l=P(),i=a.createLogoutUrl(t),r=e(i,"_blank","location=no,hidden=yes");return r.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&r.close()})),r.addEventListener("loaderror",(function(t){0==t.url.indexOf("http://localhost")||(n=!0),r.close()})),r.addEventListener("exit",(function(t){n?l.setError():(a.clearToken(),l.setSuccess())})),l.promise},register:function(t){var l=P(),i=a.createRegisterUrl(),r=n(t),o=e(i,"_blank",r);return o.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&(o.close(),g(C(t.url),l))})),l.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";var n=e(t,"_blank","location=no");n.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&n.close()}))},redirectUri:function(t){return"http://localhost"}}}if("cordova-native"==t)return u.enable=!1,{login:function(t){var e=P(),n=a.createLoginUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(C(t.url),e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},logout:function(t){var e=P(),n=a.createLogoutUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),a.clearToken(),e.setSuccess()})),window.cordova.plugins.browsertab.openUrl(n),e.promise},register:function(t){var e=P(),n=a.createRegisterUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(C(t.url),e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(t)},redirectUri:function(t){return t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:"http://localhost"}};throw"invalid adapter type: "+t}a.init=function(t){if(a.authenticated=!1,o=function(){try{return new O}catch(t){}return new D}(),i=t&&["default","cordova","cordova-native"].indexOf(t.adapter)>-1?M(t.adapter):t&&"object"==typeof t.adapter?t.adapter:window.Cordova||window.cordova?M("cordova"):M(),t){if(void 0!==t.useNonce&&(h=t.useNonce),void 0!==t.checkLoginIframe&&(u.enable=t.checkLoginIframe),t.checkLoginIframeInterval&&(u.interval=t.checkLoginIframeInterval),"login-required"===t.onLoad&&(a.loginRequired=!0),t.responseMode){if("query"!==t.responseMode&&"fragment"!==t.responseMode)throw"Invalid value for responseMode";a.responseMode=t.responseMode}if(t.flow){switch(t.flow){case"standard":a.responseType="code";break;case"implicit":a.responseType="id_token token";break;case"hybrid":a.responseType="code id_token token";break;default:throw"Invalid value for flow"}a.flow=t.flow}if(null!=t.timeSkew&&(a.timeSkew=t.timeSkew),t.redirectUri&&(a.redirectUri=t.redirectUri),t.silentCheckSsoRedirectUri&&(a.silentCheckSsoRedirectUri=t.silentCheckSsoRedirectUri),t.pkceMethod){if("S256"!==t.pkceMethod)throw"Invalid value for pkceMethod";a.pkceMethod=t.pkceMethod}a.enableLogging="boolean"==typeof t.enableLogging&&t.enableLogging}a.responseMode||(a.responseMode="fragment"),a.responseType||(a.responseType="code",a.flow="standard");var e=P(),n=P();n.promise.then((function(){a.onReady&&a.onReady(a.authenticated),e.setSuccess(a.authenticated)})).catch((function(t){e.setError(t)}));var r=function(t){var e,n=P();function i(t){a.endpoints=t?{authorize:function(){return t.authorization_endpoint},token:function(){return t.token_endpoint},logout:function(){if(!t.end_session_endpoint)throw"Not supported by the OIDC server";return t.end_session_endpoint},checkSessionIframe:function(){if(!t.check_session_iframe)throw"Not supported by the OIDC server";return t.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!t.userinfo_endpoint)throw"Not supported by the OIDC server";return t.userinfo_endpoint}}:{authorize:function(){return m()+"/protocol/openid-connect/auth"},token:function(){return m()+"/protocol/openid-connect/token"},logout:function(){return m()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var t=m()+"/protocol/openid-connect/login-status-iframe.html";return a.iframeVersion&&(t=t+"?version="+a.iframeVersion),t},register:function(){return m()+"/protocol/openid-connect/registrations"},userinfo:function(){return m()+"/protocol/openid-connect/userinfo"}}}if(l?"string"==typeof l&&(e=l):e="keycloak.json",e)(s=new XMLHttpRequest).open("GET",e,!0),s.setRequestHeader("Accept","application/json"),s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status||_(s)){var t=JSON.parse(s.responseText);a.authServerUrl=t["auth-server-url"],a.realm=t.realm,a.clientId=t.resource,i(null),n.setSuccess()}else n.setError()},s.send();else{if(!l.clientId)throw"clientId missing";a.clientId=l.clientId;var r=l.oidcProvider;if(r){var o,s;"string"==typeof r?(o="/"==r.charAt(r.length-1)?r+".well-known/openid-configuration":r+"/.well-known/openid-configuration",(s=new XMLHttpRequest).open("GET",o,!0),s.setRequestHeader("Accept","application/json"),s.onreadystatechange=function(){4==s.readyState&&(200==s.status||_(s)?(i(JSON.parse(s.responseText)),n.setSuccess()):n.setError())},s.send()):(i(r),n.setSuccess())}else{if(!l.url)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++)if(u[c].src.match(/.*keycloak\.js/)){l.url=u[c].src.substr(0,u[c].src.indexOf("/js/keycloak.js"));break}if(!l.realm)throw"realm missing";a.authServerUrl=l.url,a.realm=l.realm,i(null),n.setSuccess()}}return n.promise}();function s(){var e=function(t){t||(i.prompt="none"),a.login(i).then((function(){n.setSuccess()})).catch((function(){n.setError()}))},l=function(){var t=document.createElement("iframe"),e=a.createLoginUrl({prompt:"none",redirectUri:a.silentCheckSsoRedirectUri});t.setAttribute("src",e),t.setAttribute("title","keycloak-silent-check-sso"),t.style.display="none",document.body.appendChild(t);var l=function(e){e.origin===window.location.origin&&t.contentWindow===e.source&&(g(C(e.data),n),document.body.removeChild(t),window.removeEventListener("message",l))};window.addEventListener("message",l)},i={};switch(t.onLoad){case"check-sso":u.enable?x().then((function(){k().then((function(t){t?n.setSuccess():a.silentCheckSsoRedirectUri?l():e(!1)})).catch((function(){n.setError()}))})):a.silentCheckSsoRedirectUri?l():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}return r.then((function(){var e=C(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return x().then((function(){g(e,n)})).catch((function(t){n.setError()}));t?t.token&&t.refreshToken?(y(t.token,t.refreshToken,t.idToken),u.enable?x().then((function(){k().then((function(t){t?(a.onAuthSuccess&&a.onAuthSuccess(),n.setSuccess(),S()):n.setSuccess()})).catch((function(){n.setError()}))})):a.updateToken(-1).then((function(){a.onAuthSuccess&&a.onAuthSuccess(),n.setSuccess()})).catch((function(){a.onAuthError&&a.onAuthError(),t.onLoad?s():n.setError()}))):t.onLoad?s():n.setSuccess():n.setSuccess()})),r.catch((function(){e.setError()})),e.promise},a.login=function(t){return i.login(t)},a.createLoginUrl=function(n){var l,r,s=v(),u=v(),c=i.redirectUri(n),d={state:s,nonce:u,redirectUri:encodeURIComponent(c)};n&&n.prompt&&(d.prompt=n.prompt),l=n&&"register"==n.action?a.endpoints.register():a.endpoints.authorize(),r=n&&n.scope?-1!=n.scope.indexOf("openid")?n.scope:"openid "+n.scope:"openid";var p=l+"?client_id="+encodeURIComponent(a.clientId)+"&redirect_uri="+encodeURIComponent(c)+"&state="+encodeURIComponent(s)+"&response_mode="+encodeURIComponent(a.responseMode)+"&response_type="+encodeURIComponent(a.responseType)+"&scope="+encodeURIComponent(r);if(h&&(p=p+"&nonce="+encodeURIComponent(u)),n&&n.prompt&&(p+="&prompt="+encodeURIComponent(n.prompt)),n&&n.maxAge&&(p+="&max_age="+encodeURIComponent(n.maxAge)),n&&n.loginHint&&(p+="&login_hint="+encodeURIComponent(n.loginHint)),n&&n.idpHint&&(p+="&kc_idp_hint="+encodeURIComponent(n.idpHint)),n&&n.locale&&(p+="&ui_locales="+encodeURIComponent(n.locale)),a.pkceMethod){var f=b(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");d.pkceCodeVerifier=f,p+="&code_challenge="+function(n,l){switch(n){case"S256":var i=new Uint8Array(t.arrayBuffer(l));return e.fromByteArray(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"");default:throw"Invalid value for pkceMethod"}}(a.pkceMethod,f),p+="&code_challenge_method="+a.pkceMethod}return o.add(d),p},a.logout=function(t){return i.logout(t)},a.createLogoutUrl=function(t){return a.endpoints.logout()+"?redirect_uri="+encodeURIComponent(i.redirectUri(t,!1))},a.register=function(t){return i.register(t)},a.createRegisterUrl=function(t){return t||(t={}),t.action="register",a.createLoginUrl(t)},a.createAccountUrl=function(t){var e=m(),n=void 0;return void 0!==e&&(n=e+"/account?referrer="+encodeURIComponent(a.clientId)+"&referrer_uri="+encodeURIComponent(i.redirectUri(t))),n},a.accountManagement=function(){return i.accountManagement()},a.hasRealmRole=function(t){var e=a.realmAccess;return!!e&&e.roles.indexOf(t)>=0},a.hasResourceRole=function(t,e){if(!a.resourceAccess)return!1;var n=a.resourceAccess[e||a.clientId];return!!n&&n.roles.indexOf(t)>=0},a.loadUserProfile=function(){var t=m()+"/account",e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=P();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.profile=JSON.parse(e.responseText),n.setSuccess(a.profile)):n.setError())},e.send(),n.promise},a.loadUserInfo=function(){var t=a.endpoints.userinfo(),e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=P();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.userInfo=JSON.parse(e.responseText),n.setSuccess(a.userInfo)):n.setError())},e.send(),n.promise},a.isTokenExpired=function(t){if(!a.tokenParsed||!a.refreshToken&&"implicit"!=a.flow)throw"Not authenticated";if(null==a.timeSkew)return p("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var e=a.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+a.timeSkew;if(t){if(isNaN(t))throw"Invalid minValidity";e-=t}return e<0},a.updateToken=function(t){var e=P();if(!a.refreshToken)return e.setError(),e.promise;t=t||5;var n=function(){var n=!1;if(-1==t?(n=!0,p("[KEYCLOAK] Refreshing token: forced refresh")):a.tokenParsed&&!a.isTokenExpired(t)||(n=!0,p("[KEYCLOAK] Refreshing token: token expired")),n){var l="grant_type=refresh_token&refresh_token="+a.refreshToken,i=a.endpoints.token();if(s.push(e),1==s.length){var r=new XMLHttpRequest;r.open("POST",i,!0),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.withCredentials=!0,l+="&client_id="+encodeURIComponent(a.clientId);var o=(new Date).getTime();r.onreadystatechange=function(){if(4==r.readyState)if(200==r.status){p("[KEYCLOAK] Token refreshed"),o=(o+(new Date).getTime())/2;var t=JSON.parse(r.responseText);y(t.access_token,t.refresh_token,t.id_token,o),a.onAuthRefreshSuccess&&a.onAuthRefreshSuccess();for(var e=s.pop();null!=e;e=s.pop())e.setSuccess(!0)}else for(f("[KEYCLOAK] Failed to refresh token"),400==r.status&&a.clearToken(),a.onAuthRefreshError&&a.onAuthRefreshError(),e=s.pop();null!=e;e=s.pop())e.setError(!0)},r.send(l)}}else e.setSuccess(!1)};return u.enable?k().then((function(){n()})).catch((function(){e.setError()})):n(),e.promise},a.clearToken=function(){a.token&&(y(null,null,null),a.onAuthLogout&&a.onAuthLogout(),a.loginRequired&&a.login())};var O=function(){if(!(this instanceof O))return new O;function t(){for(var t=(new Date).getTime(),e=0;e<localStorage.length;e++){var n=localStorage.key(e);if(n&&0==n.indexOf("kc-callback-")){var l=localStorage.getItem(n);if(l)try{var i=JSON.parse(l).expires;(!i||i<t)&&localStorage.removeItem(n)}catch(r){localStorage.removeItem(n)}}}}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(e){if(e){var n="kc-callback-"+e,l=localStorage.getItem(n);return l&&(localStorage.removeItem(n),l=JSON.parse(l)),t(),l}},this.add=function(e){t();var n="kc-callback-"+e.state;e.expires=(new Date).getTime()+36e5,localStorage.setItem(n,JSON.stringify(e))}},D=function(){if(!(this instanceof D))return new D;this.get=function(l){if(l){var i=e("kc-callback-"+l);return n("kc-callback-"+l,"",t(-100)),i?JSON.parse(i):void 0}},this.add=function(e){n("kc-callback-"+e.state,JSON.stringify(e),t(60))},this.removeItem=function(e){n(e,"",t(-100))};var t=function(t){var e=new Date;return e.setTime(e.getTime()+60*t*1e3),e},e=function(t){for(var e=t+"=",n=document.cookie.split(";"),l=0;l<n.length;l++){for(var i=n[l];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(e))return i.substring(e.length,i.length)}return""},n=function(t,e,n){var l=t+"="+e+"; expires="+n.toUTCString()+"; ";document.cookie=l}};function T(t){return function(){a.enableLogging&&t.apply(console,Array.prototype.slice.call(arguments))}}}}(n("bCcq"),n("ohmy"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aWqo:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("ppab"),i=n("7/LY");n("svHU");class r extends l.a{constructor(t,e,n){super(),this.ref=t,this.mapService=e,this.selectAircraftService=n,this.subscription={},this.selectedAircrafts={}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",super.getVectorLayer()),this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)})}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}manageSelectedAircrafts(t){t.haveOneStatus([i.a.WATCH,i.a.SELECT])?this.selectedAircrafts[t.aircraft.icao]?(t.aircraft.trace&&this.traceAircrafts.forEach(e=>{e.aircraft.icao===t.aircraft.icao&&e.updateTrace()}),t.aircraft.toAirport&&this.toTraceAircrafts.forEach(e=>{e.aircraft.icao===t.aircraft.icao&&e.updateTrace()})):this.selectedAircrafts[t.aircraft.icao]=t.aircraft:delete this.selectedAircrafts[t.aircraft.icao],this.ref.detectChanges()}}},"aY/Z":function(t,e,n){"use strict";e.a={BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right",CENTER_LEFT:"center-left",CENTER_CENTER:"center-center",CENTER_RIGHT:"center-right",TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right"}},acye:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("XrFG"),l.Bb({encapsulation:2,styles:[],data:{}}));function r(t){return l.Yb(2,[],null,null)}},aiEM:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return i})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return u})),n.d(e,"j",(function(){return c})),n.d(e,"k",(function(){return l}));const l=t=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t),i=t=>!!t.shadowRoot&&!!t.attachShadow,r=t=>{const e=t.closest("ion-item");return e?e.querySelector("ion-label"):null},o=(t,e,n,l,r)=>{if(t||i(e)){let t=e.querySelector("input.aux-input");t||(t=e.ownerDocument.createElement("input"),t.type="hidden",t.classList.add("aux-input"),e.appendChild(t)),t.disabled=r,t.name=n,t.value=l||""}},a=(t,e,n)=>Math.max(t,Math.min(e,n)),s=(t,e)=>{if(!t){const t="ASSERT: "+e;throw console.error(t),new Error(t)}},u=t=>t.timeStamp||Date.now(),c=t=>{if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];return{x:t.clientX,y:t.clientY}}if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY}}return{x:0,y:0}},d=t=>{const e="rtl"===document.dir;switch(t){case"start":return e;case"end":return!e;default:throw new Error(`"${t}" is not a valid value for [side]. Use "start" or "end" instead.`)}},h=(t,e)=>{const n=t._original||t;return{_original:t,emit:p(n.emit.bind(n),e)}},p=(t,e=0)=>{let n;return(...l)=>{clearTimeout(n),n=setTimeout(t,e,...l)}}},akSB:function(t,e,n){var l=n("AdPF"),i=n("0z79"),r=n("Cl5A"),o=n("CIKq");e.polling=function(t){var e=!1,n=!1,o=!1!==t.jsonp;if("undefined"!=typeof location){var a="https:"===location.protocol,s=location.port;s||(s=a?443:80),e=t.hostname!==location.hostname||s!==t.port,n=t.secure!==a}if(t.xdomain=e,t.xscheme=n,"open"in new l(t)&&!t.forceJSONP)return new i(t);if(!o)throw new Error("JSONP disabled");return new r(t)},e.websocket=o},"b1+6":function(t,e,n){"use strict";n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return O}));var l=n("8Y7J"),i=(n("OIZN"),n("NcP4"),n("SVse")),r=n("QQfA"),o=n("IP0z"),a=(n("POq0"),n("JjoW")),s=n("Mz6y"),u=n("cUpR"),c=n("Xd0L"),d=n("/HVE"),h=n("Fwaw"),p=(n("zMNK"),n("hOhj")),f=n("HsOI"),b=n("5GAg"),m=n("MlvX"),g=n("dJrM"),_=n("omvX"),y=n("Azqq"),A=n("s7LF"),v=n("bujt"),C=l.Bb({encapsulation:2,styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}"],data:{}});function w(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),m.e,m.b)),l.Cb(1,8568832,[[10,4]],0,c.s,[l.p,l.j,[2,c.l],[2,c.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function P(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"mat-form-field",[["class","mat-paginator-page-size-select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,g.b,g.a)),l.Cb(1,7520256,null,9,f.c,[l.p,l.j,[2,c.j],[2,o.b],[2,f.a],d.a,l.G,[2,_.a]],{color:[0,"color"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,13)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,13)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,13)._onBlur()&&i),"selectionChange"===e&&(i=!1!==r._changePageSize(n.value)&&i),i}),y.b,y.a)),l.Tb(6144,null,c.l,null,[a.c]),l.Cb(13,2080768,null,3,a.c,[p.e,l.j,l.G,c.d,l.p,[2,o.b],[2,A.s],[2,A.k],[2,f.c],[8,null],[8,null],a.a,b.j],{disabled:[0,"disabled"],value:[1,"value"],ariaLabel:[2,"ariaLabel"]},{selectionChange:"selectionChange"}),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],f.d,null,[a.c]),(t()(),l.sb(16777216,null,1,1,null,w)),l.Cb(19,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.color),t(e,13,0,n.disabled,n.pageSize,n._intl.itemsPerPageLabel),t(e,19,0,n._displayedPageSizeOptions)}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,13).id,l.Pb(e,13).tabIndex,l.Pb(e,13)._getAriaLabel(),l.Pb(e,13)._getAriaLabelledby(),l.Pb(e,13).required.toString(),l.Pb(e,13).disabled.toString(),l.Pb(e,13).errorState,l.Pb(e,13).panelOpen?l.Pb(e,13)._optionIds:null,l.Pb(e,13).multiple,l.Pb(e,13)._ariaDescribedby||null,l.Pb(e,13)._getAriaActiveDescendant(),l.Pb(e,13).disabled,l.Pb(e,13).errorState,l.Pb(e,13).required,l.Pb(e,13).empty])}))}function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.pageSize)}))}function S(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","mat-paginator-page-size"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"div",[["class","mat-paginator-page-size-label"]],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,P)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,x)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,n._displayedPageSizeOptions.length>1),t(e,6,0,n._displayedPageSizeOptions.length<=1)}),(function(t,e){t(e,2,0,e.component._intl.itemsPerPageLabel)}))}function k(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-first"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,2).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.firstPage()&&i),i}),v.b,v.a)),l.Cb(1,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(2,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,":svg:path",[["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"]],null,null,null,null,null)),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n._previousButtonsDisabled()),t(e,2,0,"above",n._previousButtonsDisabled(),n._intl.firstPageLabel)}),(function(t,e){t(e,0,0,e.component._intl.firstPageLabel,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function M(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-last"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,2).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.lastPage()&&i),i}),v.b,v.a)),l.Cb(1,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(2,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,":svg:path",[["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],null,null,null,null,null)),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n._nextButtonsDisabled()),t(e,2,0,"above",n._nextButtonsDisabled(),n._intl.lastPageLabel)}),(function(t,e){t(e,0,0,e.component._intl.lastPageLabel,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function O(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,20,"div",[["class","mat-paginator-outer-container"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"div",[["class","mat-paginator-container"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,S)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(4,0,null,null,16,"div",[["class","mat-paginator-range-actions"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,1,"div",[["class","mat-paginator-range-label"]],null,null,null,null,null)),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,k)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(9,16777216,null,null,4,"button",[["class","mat-paginator-navigation-previous"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,11).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,11)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,11)._handleTouchend()&&i),"click"===e&&(i=!1!==r.previousPage()&&i),i}),v.b,v.a)),l.Cb(10,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(11,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(12,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,":svg:path",[["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"]],null,null,null,null,null)),(t()(),l.Db(14,16777216,null,null,4,"button",[["class","mat-paginator-navigation-next"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,16).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,16)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,16)._handleTouchend()&&i),"click"===e&&(i=!1!==r.nextPage()&&i),i}),v.b,v.a)),l.Cb(15,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(16,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(17,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,M)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,!n.hidePageSize),t(e,8,0,n.showFirstLastButtons),t(e,10,0,n._previousButtonsDisabled()),t(e,11,0,"above",n._previousButtonsDisabled(),n._intl.previousPageLabel),t(e,15,0,n._nextButtonsDisabled()),t(e,16,0,"above",n._nextButtonsDisabled(),n._intl.nextPageLabel),t(e,20,0,n.showFirstLastButtons)}),(function(t,e){var n=e.component;t(e,6,0,n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)),t(e,9,0,n._intl.previousPageLabel,l.Pb(e,10).disabled||null,"NoopAnimations"===l.Pb(e,10)._animationMode),t(e,14,0,n._intl.nextPageLabel,l.Pb(e,15).disabled||null,"NoopAnimations"===l.Pb(e,15)._animationMode)}))}},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},b2zq:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseIconControllerIconPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseIconControllerIcon(t){return this.getOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseIconControllerIconPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseIconControllerIcon(t){return this.replaceOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseIconControllerIconPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseIconControllerIcon(t){return this.deleteOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseIconControllerIconPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseIconControllerIcon(t){return this.updateOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseIconControllerIconPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseIconControllerIcon(t){return this.getManyBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseIconControllerIconPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseIconControllerIcon(t){return this.createOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseIconControllerIconPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseIconControllerIcon(t){return this.createManyBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseIconControllerIconPath="/icon/{id}",t.ReplaceOneBaseIconControllerIconPath="/icon/{id}",t.DeleteOneBaseIconControllerIconPath="/icon/{id}",t.UpdateOneBaseIconControllerIconPath="/icon/{id}",t.GetManyBaseIconControllerIconPath="/icon",t.CreateOneBaseIconControllerIconPath="/icon",t.CreateManyBaseIconControllerIconPath="/icon/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},b5bK:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var l=n("JW8z"),i=n("bHcU"),r=n("hoJM"),o=n("g6Z0"),a=n("W8M7"),s=n("TN97"),u=n("914O"),c=n("ppab");n("svHU");class d extends c.a{constructor(t){super(),this.mapService=t,this.topoFeatures={}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayTopography(t,e){if(t.length>0){const e=[];this.setUpdatedFeatureToFalse(),t.forEach(t=>{const n=t.h3index;if(this.topoFeatures[n])this.topoFeatures[n].values_.isUpdated_=!0;else{u.a(n).reverse();const t=u.b(n,!0),l=this.polygon4326To3857(t),i=new a.a([l]),r=new s.a({geometry:i,id_:n,h3index:n,type_:"topography",isUpdated_:!0});r.setStyle(this.getStyleHex()),this.topoFeatures[n]=r,e.push(this.topoFeatures[n])}}),this.removeOldFeature(),this.source.addFeatures(e)}else this.removeOldFeature()}removeTopography(){this.source.clear(),this.topoFeatures={}}removeOldFeature(){for(let t in this.topoFeatures)if(this.topoFeatures.hasOwnProperty(t)){const e=this.topoFeatures[t];!1===e.values_.isUpdated_&&(this.source.removeFeature(e),delete this.topoFeatures[t])}}setUpdatedFeatureToFalse(){for(let t in this.topoFeatures)this.topoFeatures.hasOwnProperty(t)&&(this.topoFeatures[t].values_.isUpdated_=!1)}polygon4326To3857(t){let e=[];for(let n in t)t.hasOwnProperty(n)&&(e[n]=Object(l.d)(t[n]));return e}getStyleHex(){return new i.b({fill:new o.a({color:"rgba( 222, 184, 135, .75 )"}),stroke:new r.a({color:"rgba( 210, 180, 140, 1 )",width:1})})}}},bCcq:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("PDX0"),ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(n){return new Sha256(e,!0).update(n)[t]()}},createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var n=0;n<OUTPUT_TYPES.length;++n){var l=OUTPUT_TYPES[n];e[l]=createOutputMethod(l,t)}return e},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(t){if("string"==typeof t)return crypto.createHash(algorithm).update(t,"utf8").digest("hex");if(null==t)throw new Error(ERROR);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod},createHmacOutputMethod=function(t,e){return function(n,l){return new HmacSha256(n,e,!0).update(l)[t]()}},createHmacMethod=function(t){var e=createHmacOutputMethod("hex",t);e.create=function(e){return new HmacSha256(e,t)},e.update=function(t,n){return e.create(t).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var l=OUTPUT_TYPES[n];e[l]=createHmacOutputMethod(l,t)}return e};function Sha256(t,e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=t}function HmacSha256(t,e,n){var l,i=typeof t;if("string"===i){var r,o=[],a=t.length,s=0;for(l=0;l<a;++l)(r=t.charCodeAt(l))<128?o[s++]=r:r<2048?(o[s++]=192|r>>6,o[s++]=128|63&r):r<55296||r>=57344?(o[s++]=224|r>>12,o[s++]=128|r>>6&63,o[s++]=128|63&r):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++l)),o[s++]=240|r>>18,o[s++]=128|r>>12&63,o[s++]=128|r>>6&63,o[s++]=128|63&r);t=o}else{if("object"!==i)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var u=[],c=[];for(l=0;l<64;++l){var d=t[l]||0;u[l]=92^d,c[l]=54^d}Sha256.call(this,e,n),this.update(c),this.oKeyPad=u,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(t){if(!this.finalized){var e,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}for(var l,i,r=0,o=t.length,a=this.blocks;r<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),e)for(i=this.start;r<o&&i<64;++r)a[i>>2]|=t[r]<<SHIFT[3&i++];else for(i=this.start;r<o&&i<64;++r)(l=t.charCodeAt(r))<128?a[i>>2]|=l<<SHIFT[3&i++]:l<2048?(a[i>>2]|=(192|l>>6)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]):l<55296||l>=57344?(a[i>>2]|=(224|l>>12)<<SHIFT[3&i++],a[i>>2]|=(128|l>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]):(l=65536+((1023&l)<<10|1023&t.charCodeAt(++r)),a[i>>2]|=(240|l>>18)<<SHIFT[3&i++],a[i>>2]|=(128|l>>12&63)<<SHIFT[3&i++],a[i>>2]|=(128|l>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=a[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,n,l,i,r,o=this.h0,a=this.h1,s=this.h2,u=this.h3,c=this.h4,d=this.h5,h=this.h6,p=this.h7,f=this.blocks;for(t=16;t<64;++t)f[t]=f[t-16]+(((e=f[t-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+f[t-7]+(((e=f[t-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)<<0;for(r=a&s,t=0;t<64;t+=4)this.first?(this.is224?(n=300032,p=(e=f[0]-1413257819)-150054599<<0,u=e+24177077<<0):(n=704751109,p=(e=f[0]-210244248)-1521486534<<0,u=e+143694565<<0),this.first=!1):(p=u+(e=p+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&h)+K[t]+f[t])<<0,u=e+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((n=o&a)^o&s^r))<<0),h=s+(e=h+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&c^~p&d)+K[t+1]+f[t+1])<<0,s=e+(((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((l=u&o)^u&a^n))<<0,d=a+(e=d+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&p^~h&c)+K[t+2]+f[t+2])<<0,a=e+(((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+((i=s&u)^s&o^l))<<0,c=o+(e=c+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&h^~d&p)+K[t+3]+f[t+3])<<0,o=e+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((r=a&s)^a&u^i))<<0;this.h0=this.h0+o<<0,this.h1=this.h1+a<<0,this.h2=this.h2+s<<0,this.h3=this.h3+u<<0,this.h4=this.h4+c<<0,this.h5=this.h5+d<<0,this.h6=this.h6+h<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,l=this.h3,i=this.h4,r=this.h5,o=this.h6,a=this.h7,s=HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(s+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),s},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,l=this.h3,i=this.h4,r=this.h5,o=this.h6,a=this.h7,s=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24&255,n>>16&255,n>>8&255,255&n,l>>24&255,l>>16&255,l>>8&255,255&l,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||s.push(a>>24&255,a>>16&255,a>>8&255,255&a),s},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()},bHcU:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return c}));var l=n("kvpX"),i=(n("9iPr"),n("zixo")),r=n("g6Z0"),o=n("hoJM"),a=function(){function t(t){var e=t||{};this.geometry_=null,this.geometryFunction_=d,void 0!==e.geometry&&this.setGeometry(e.geometry),this.fill_=void 0!==e.fill?e.fill:null,this.image_=void 0!==e.image?e.image:null,this.renderer_=void 0!==e.renderer?e.renderer:null,this.stroke_=void 0!==e.stroke?e.stroke:null,this.text_=void 0!==e.text?e.text:null,this.zIndex_=e.zIndex}return t.prototype.clone=function(){var e=this.getGeometry();return e&&"object"==typeof e&&(e=e.clone()),new t({geometry:e,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},t.prototype.getRenderer=function(){return this.renderer_},t.prototype.setRenderer=function(t){this.renderer_=t},t.prototype.getGeometry=function(){return this.geometry_},t.prototype.getGeometryFunction=function(){return this.geometryFunction_},t.prototype.getFill=function(){return this.fill_},t.prototype.setFill=function(t){this.fill_=t},t.prototype.getImage=function(){return this.image_},t.prototype.setImage=function(t){this.image_=t},t.prototype.getStroke=function(){return this.stroke_},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.getText=function(){return this.text_},t.prototype.setText=function(t){this.text_=t},t.prototype.getZIndex=function(){return this.zIndex_},t.prototype.setGeometry=function(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=d,this.geometry_=t},t.prototype.setZIndex=function(t){this.zIndex_=t},t}();function s(t){var e,n;return"function"==typeof t?e=t:(Array.isArray(t)?n=t:(Object(l.a)("function"==typeof t.getZIndex,41),n=[t]),e=function(){return n}),e}var u=null;function c(t,e){if(!u){var n=new r.a({color:"rgba(255,255,255,0.4)"}),l=new o.a({color:"#3399CC",width:1.25});u=[new a({image:new i.a({fill:n,stroke:l,radius:5}),fill:n,stroke:l})]}return u}function d(t){return t.getGeometry()}e.b=a},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("5+tZ"),i=n("SpAZ");function r(t=Number.POSITIVE_INFINITY){return Object(l.a)(i.a,t)}},"bL/2":function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("hp/u"),o=n("kvpX"),a=n("XDhV"),s=n("AdTM"),u=n("grDu"),c=n("CZmH"),d=n("DsAt"),h=n("PCLV"),p=n("ZhEo"),f=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),b=function(t){function e(e,n,l,i,r,o){var a=t.call(this)||this;return a.hitDetectionImage_=null,a.image_=e||new Image,null!==i&&(a.image_.crossOrigin=i),a.canvas_=o?document.createElement("canvas"):null,a.color_=o,a.unlisten_=null,a.imageState_=r,a.size_=l,a.src_=n,a}return f(e,t),e.prototype.isTainted_=function(t){if(void 0===this.tainted_&&this.imageState_===r.a.LOADED){t||(t=Object(c.a)(1,1)).drawImage(this.image_,0,0);try{t.getImageData(0,0,1,1),this.tainted_=!1}catch(e){this.tainted_=!0}}return!0===this.tainted_},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(s.a.CHANGE)},e.prototype.handleImageError_=function(){this.imageState_=r.a.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=r.a.LOADED,this.size_&&(this.image_.width=this.size_[0],this.image_.height=this.size_[1]),this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.replaceColor_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(t){return this.canvas_?this.canvas_:this.image_},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(t){if(!this.hitDetectionImage_)if(this.isTainted_()){var e=this.size_[0],n=this.size_[1],l=Object(c.a)(e,n);l.fillRect(0,0,e,n),this.hitDetectionImage_=l.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(this.imageState_==r.a.IDLE){this.imageState_=r.a.LOADING;try{this.image_.src=this.src_}catch(t){this.handleImageError_()}this.unlisten_=Object(p.a)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(){if(this.color_){this.canvas_.width=this.image_.width,this.canvas_.height=this.image_.height;var t=this.canvas_.getContext("2d");if(t.drawImage(this.image_,0,0),this.isTainted_(t)){var e=this.color_;return t.globalCompositeOperation="multiply",t.fillStyle="rgb("+e[0]+","+e[1]+","+e[2]+")",t.fillRect(0,0,this.image_.width,this.image_.height),t.globalCompositeOperation="destination-in",void t.drawImage(this.image_,0,0)}for(var n=t.getImageData(0,0,this.image_.width,this.image_.height),l=n.data,i=this.color_[0]/255,r=this.color_[1]/255,o=this.color_[2]/255,a=0,s=l.length;a<s;a+=4)l[a]*=i,l[a+1]*=r,l[a+2]*=o;t.putImageData(n,0,0)}},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(d.a),m=n("qzVC"),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),_=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{opacity:void 0!==l.opacity?l.opacity:1,rotation:void 0!==l.rotation?l.rotation:0,scale:void 0!==l.scale?l.scale:1,displacement:void 0!==l.displacement?l.displacement:[0,0],rotateWithView:void 0!==l.rotateWithView&&l.rotateWithView})||this).anchor_=void 0!==l.anchor?l.anchor:[.5,.5],n.normalizedAnchor_=null,n.anchorOrigin_=void 0!==l.anchorOrigin?l.anchorOrigin:"top-left",n.anchorXUnits_=void 0!==l.anchorXUnits?l.anchorXUnits:u.a.FRACTION,n.anchorYUnits_=void 0!==l.anchorYUnits?l.anchorYUnits:u.a.FRACTION,n.crossOrigin_=void 0!==l.crossOrigin?l.crossOrigin:null;var s=void 0!==l.img?l.img:null,c=void 0!==l.imgSize?l.imgSize:null,d=l.src;Object(o.a)(!(void 0!==d&&s),4),Object(o.a)(!s||s&&c,5),void 0!==d&&0!==d.length||!s||(d=s.src||Object(i.c)(s)),Object(o.a)(void 0!==d&&d.length>0,6);var p=void 0!==l.src?r.a.IDLE:r.a.LOADED;return n.color_=void 0!==l.color?Object(a.a)(l.color):null,n.iconImage_=function(t,e,n,l,i,r){var o=h.a.get(e,l,r);return o||(o=new b(t,e,n,l,i,r),h.a.set(e,l,r,o)),o}(s,d,c,n.crossOrigin_,p,n.color_),n.offset_=void 0!==l.offset?l.offset:[0,0],n.offsetOrigin_=void 0!==l.offsetOrigin?l.offsetOrigin:"top-left",n.origin_=null,n.size_=void 0!==l.size?l.size:null,n}return g(e,t),e.prototype.clone=function(){return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,crossOrigin:this.crossOrigin_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,src:this.getSrc(),offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,size:null!==this.size_?this.size_.slice():void 0,opacity:this.getOpacity(),scale:this.getScale(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},e.prototype.getAnchor=function(){if(this.normalizedAnchor_)return this.normalizedAnchor_;var t=this.anchor_,e=this.getSize();if(this.anchorXUnits_==u.a.FRACTION||this.anchorYUnits_==u.a.FRACTION){if(!e)return null;t=this.anchor_.slice(),this.anchorXUnits_==u.a.FRACTION&&(t[0]*=e[0]),this.anchorYUnits_==u.a.FRACTION&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),"top-right"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[0]=-t[0]+e[0]),"bottom-left"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[1]=-t[1]+e[1])}return this.normalizedAnchor_=t,this.normalizedAnchor_},e.prototype.setAnchor=function(t){this.anchor_=t,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(t){return this.iconImage_.getImage(t)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getHitDetectionImageSize=function(){return this.getImageSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(t){return this.iconImage_.getHitDetectionImage(t)},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var t=this.offset_,e=this.getDisplacement();if("top-left"!=this.offsetOrigin_){var n=this.getSize(),l=this.iconImage_.getSize();if(!n||!l)return null;t=t.slice(),"top-right"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[0]=l[0]-n[0]-t[0]),"bottom-left"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[1]=l[1]-n[1]-t[1])}return t[0]+=e[0],t[1]+=e[1],this.origin_=t,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(t){this.iconImage_.addEventListener(s.a.CHANGE,t)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(t){this.iconImage_.removeEventListener(s.a.CHANGE,t)},e}(m.a);e.a=_},bLKQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("5+tZ");function i(t,e){return Object(l.a)(t,e,1)}},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},"bY/R":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("V8uu"),i=n("Hsuu");function r(t,e,n,l){return function(r,o,a){var s=new XMLHttpRequest;s.open("GET","function"==typeof t?t(r,o,a):t,!0),e.getType()==i.a.ARRAY_BUFFER&&(s.responseType="arraybuffer"),s.withCredentials=!1,s.onload=(function(t){if(!s.status||s.status>=200&&s.status<300){var o=e.getType(),u=void 0;o==i.a.JSON||o==i.a.TEXT?u=s.responseText:o==i.a.XML?(u=s.responseXML)||(u=(new DOMParser).parseFromString(s.responseText,"application/xml")):o==i.a.ARRAY_BUFFER&&(u=s.response),u?n.call(this,e.readFeatures(u,{extent:r,featureProjection:a}),e.readProjection(u)):l.call(this)}else l.call(this)}).bind(this),s.onerror=(function(){l.call(this)}).bind(this),s.send()}}function o(t,e){return r(t,e,(function(t,e){"function"==typeof this.addFeatures&&this.addFeatures(t)}),l.c)}},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bYNo:function(t,e,n){"use strict";e.a={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},bdly:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("SVse"),s=n("4q72");n.d(e,"a",(function(){return f}));var u=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important}.mat-dialog-content[_ngcontent-%COMP%]{padding:10px!important;margin:0!important;cursor:pointer}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .pastil-color[_ngcontent-%COMP%]{height:25px;width:25px;border-radius:50%;margin-right:10px}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .notification-card-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .notification-card-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#666}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%]{display:flex}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:2px}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-color[_ngcontent-%COMP%]{height:5px;width:5px;border-radius:50%}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-green[_ngcontent-%COMP%]{background-color:green}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-red[_ngcontent-%COMP%]{background-color:red}.close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;margin-right:10px;font-size:25px;margin-top:5px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-green"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["En cours"]))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-red"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Fini"]))],null,null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,17,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToNotif()&&l),l}),null,null)),l.Cb(3,16384,null,0,o.j,[],null,null),(t()(),l.Db(4,0,null,null,15,"div",[["class","notification-card"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,9,"div",[["class","notification-card-main"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(8,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(9,{"background-color":0}),(t()(),l.Db(10,0,null,null,4,"div",[["class","notification-card-title"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(12,null,[" "," "])),(t()(),l.Db(13,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(14,null,[" "," "])),(t()(),l.Db(15,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(17,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(19,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close");var l=t(e,9,0,n.notification.type.color);t(e,8,0,l),t(e,17,0,!n.notification.endAt),t(e,19,0,n.notification.endAt)}),(function(t,e){var n=e.component;t(e,12,0,n.notification.type.name),t(e,14,0,n.notification.aircraftIcao)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"notification-alert-dialog",[],null,null,null,h,u)),l.Cb(1,114688,null,0,s.a,[o.l,o.a],null,null)],(function(t,e){t(e,1,0)}),null)}var f=l.zb("notification-alert-dialog",s.a,p,{},{},[])},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bujt:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var l=n("8Y7J"),i=(n("Fwaw"),n("SVse"),n("IP0z"),n("Xd0L")),r=(n("cUpR"),n("/HVE")),o=n("omvX"),a=(n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}}));function s(t){return l.Yb(2,[l.Ub(671088640,1,{ripple:0}),(t()(),l.Db(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(4,212992,[[1,4]],0,i.x,[l.p,l.G,r.a,[2,i.m],[2,o.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),l.Db(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,l.Pb(e,4).unbounded)}))}},bxKX:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c1op:function(t,e,n){"use strict";n.d(e,"a",(function(){return V})),n.d(e,"b",(function(){return F})),n.d(e,"c",(function(){return St})),n.d(e,"d",(function(){return Tt})),n.d(e,"e",(function(){return kt})),n.d(e,"f",(function(){return Ot})),n.d(e,"g",(function(){return I})),n.d(e,"h",(function(){return Et})),n.d(e,"i",(function(){return G})),n.d(e,"j",(function(){return Mt})),n.d(e,"k",(function(){return wt})),n.d(e,"l",(function(){return v})),n.d(e,"m",(function(){return L}));var l=n("AfW+");let i,r,o,a=0,s=!1,u=!1,c=!1,d=!1,h=!1;const p=window,f=document,b={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l)},m=(()=>!!f.documentElement.attachShadow)(),g=(()=>{let t=!1;try{f.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),_=(()=>{try{return new CSSStyleSheet,!0}catch(t){}return!1})(),y=new WeakMap,A=t=>y.get(t),v=(t,e)=>y.set(e.$lazyInstance$=t,e),C=(t,e)=>e in t,w=t=>console.error(t),P=new Map,x=new Map,S=[],k=[],M=[],O=(t,e)=>n=>{t.push(n),s||(s=!0,e&&4&b.$flags$?E(T):b.raf(T))},D=(t,e)=>{let n=0,l=0;for(;n<t.length&&(l=performance.now())<e;)try{t[n++](l)}catch(i){w(i)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},T=()=>{a++,(t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){w(e)}t.length=0})(S);const t=2==(6&b.$flags$)?performance.now()+10*Math.ceil(a*(1/22)):1/0;D(k,t),D(M,t),k.length>0&&(M.push(...k),k.length=0),(s=S.length+k.length+M.length>0)?b.raf(T):a=0},E=t=>Promise.resolve().then(t),I=O(S,!1),L=O(k,!0),j={},R=t=>"object"==(t=typeof t)||"function"===t,F=()=>p.CSS&&p.CSS.supports&&p.CSS.supports("color","var(--c)")?Promise.resolve():n.e(17).then(n.t.bind(null,"Pud/",7)).then(()=>{if(b.$cssShim$=p.__stencil_cssshim,b.$cssShim$)return b.$cssShim$.initShim()}),N="http://www.w3.org/1999/xlink",Y=new WeakMap,U=(t,e,n)=>{let l=x.get(t);_&&n?(l=l||new CSSStyleSheet,l.replace(e)):l=e,x.set(t,l)},B=(t,e,n,l)=>{let i=z(e.$tagName$,n),r=x.get(i);if(t=11===t.nodeType?t:f,r||(i=z(e.$tagName$),r=x.get(i)),r)if("string"==typeof r){let n,o=Y.get(t=t.head||t);if(o||Y.set(t,o=new Set),!o.has(i)){if(t.host&&(n=t.firstElementChild)&&"STYLE"===n.tagName)n.innerHTML=r;else{if(b.$cssShim$){n=b.$cssShim$.createHostStyle(l,i,r,!!(10&e.$flags$));const t=n["s-sc"];t&&(i=t,o=null)}else n=f.createElement("style"),n.setAttribute("data-styles",""),n.innerHTML=r;t.insertBefore(n,t.querySelector("link"))}o&&o.add(i)}}else t.adoptedStyleSheets.includes(r)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,r]);return i},z=(t,e)=>"sc-"+(e?t+"-"+e:t),G=(t,e,...n)=>{let l=null,i=null,r=null,o=!1,a=!1,s=[];const u=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof t&&!R(l))&&(l=String(l)),o&&a?s[s.length-1].$text$+=l:s.push(o?H(null,l):l),a=o)};if(u(n),e){e.key&&(i=e.key),e.name&&(r=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter(e=>t[e]).join(" "))}}if("function"==typeof t)return t(e,s,q);const c=H(t,null);return c.$attrs$=e,s.length>0&&(c.$children$=s),c.$key$=i,c.$name$=r,c},H=(t,e)=>({$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),V={},q={forEach:(t,e)=>t.map(W).forEach(e),map:(t,e)=>t.map(W).map(e).map($)},W=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),$=t=>{const e=H(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},X=(t,e,n,l,i,r)=>{if(n===l)return;let o=C(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,i=J(n),r=J(l);e.remove(...i.filter(t=>t&&!r.includes(t))),e.add(...r.filter(t=>t&&!i.includes(t)))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(o||"o"!==e[0]||"n"!==e[1]){const u=R(l);if((o||u&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]=l;else{let i=null==l?"":l;null!=n&&t[e]==i||(t[e]=i)}}catch(s){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,c=!0),null==l||!1===l?c?t.removeAttributeNS(N,e):t.removeAttribute(e):(!o||4&r||i)&&!u&&(l=!0===l?"":l,c?t.setAttributeNS(N,e,l):t.setAttribute(e,l))}else e="-"===e[2]?e.slice(3):C(p,a)?a.slice(2):a[2]+e.slice(3),n&&b.rel(t,e,n,!1),l&&b.ael(t,e,l,!1)},K=/\s/,J=t=>t?t.split(K):[],Q=(t,e,n,l)=>{const i=11===e.$elm$.nodeType&&e.$elm$.host?e.$elm$.host:e.$elm$,r=t&&t.$attrs$||j,o=e.$attrs$||j;for(l in r)l in o||X(i,l,r[l],void 0,n,e.$flags$);for(l in o)X(i,l,r[l],o[l],n,e.$flags$)},Z=(t,e,n,l)=>{let a,s,c,p=e.$children$[n],b=0;if(u||(d=!0,"slot"===p.$tag$&&(i&&l.classList.add(i+"-s"),p.$flags$|=p.$children$?2:1)),null!==p.$text$)a=p.$elm$=f.createTextNode(p.$text$);else if(1&p.$flags$)a=p.$elm$=f.createTextNode("");else{if(h||(h="svg"===p.$tag$),a=p.$elm$=f.createElementNS(h?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.$flags$?"slot-fb":p.$tag$),h&&"foreignObject"===p.$tag$&&(h=!1),Q(null,p,h),null!=i&&a["s-si"]!==i&&a.classList.add(a["s-si"]=i),p.$children$)for(b=0;b<p.$children$.length;++b)s=Z(t,p,b,a),s&&a.appendChild(s);"svg"===p.$tag$?h=!1:"foreignObject"===a.tagName&&(h=!0)}return a["s-hn"]=o,3&p.$flags$&&(a["s-sr"]=!0,a["s-cr"]=r,a["s-sn"]=p.$name$||"",c=t&&t.$children$&&t.$children$[n],c&&c.$tag$===p.$tag$&&t.$elm$&&tt(t.$elm$,!1)),a},tt=(t,e)=>{b.$flags$|=1;const n=t.childNodes;for(let l=n.length-1;l>=0;l--){const t=n[l];t["s-hn"]!==o&&t["s-ol"]&&(rt(t).insertBefore(t,it(t)),t["s-ol"].remove(),t["s-ol"]=void 0,d=!0),e&&tt(t,e)}b.$flags$&=-2},et=(t,e,n,l,i,r)=>{let a,s=t["s-cr"]&&t["s-cr"].parentNode||t;for(s.shadowRoot&&s.tagName===o&&(s=s.shadowRoot);i<=r;++i)l[i]&&(a=Z(null,n,i,t),a&&(l[i].$elm$=a,s.insertBefore(a,it(e))))},nt=(t,e,n,l,i)=>{for(;e<=n;++e)(l=t[e])&&(i=l.$elm$,ct(l),c=!0,i["s-ol"]?i["s-ol"].remove():tt(i,!0),i.remove())},lt=(t,e)=>t.$tag$===e.$tag$&&("slot"===t.$tag$?t.$name$===e.$name$:t.$key$===e.$key$),it=t=>t&&t["s-ol"]||t,rt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ot=(t,e)=>{const n=e.$elm$=t.$elm$,l=t.$children$,i=e.$children$;let r;h=n&&n.parentNode&&void 0!==n.ownerSVGElement,h="svg"===e.$tag$||"foreignObject"!==e.$tag$&&h,null===e.$text$?("slot"===e.$tag$||Q(t,e,h),null!==l&&null!==i?((t,e,n,l)=>{let i,r,o=0,a=0,s=0,u=0,c=e.length-1,d=e[0],h=e[c],p=l.length-1,f=l[0],b=l[p];for(;o<=c&&a<=p;)if(null==d)d=e[++o];else if(null==h)h=e[--c];else if(null==f)f=l[++a];else if(null==b)b=l[--p];else if(lt(d,f))ot(d,f),d=e[++o],f=l[++a];else if(lt(h,b))ot(h,b),h=e[--c],b=l[--p];else if(lt(d,b))"slot"!==d.$tag$&&"slot"!==b.$tag$||tt(d.$elm$.parentNode,!1),ot(d,b),t.insertBefore(d.$elm$,h.$elm$.nextSibling),d=e[++o],b=l[--p];else if(lt(h,f))"slot"!==d.$tag$&&"slot"!==b.$tag$||tt(h.$elm$.parentNode,!1),ot(h,f),t.insertBefore(h.$elm$,d.$elm$),h=e[--c],f=l[++a];else{for(s=-1,u=o;u<=c;++u)if(e[u]&&null!==e[u].$key$&&e[u].$key$===f.$key$){s=u;break}s>=0?(r=e[s],r.$tag$!==f.$tag$?i=Z(e&&e[a],n,s,t):(ot(r,f),e[s]=void 0,i=r.$elm$),f=l[++a]):(i=Z(e&&e[a],n,a,t),f=l[++a]),i&&rt(d.$elm$).insertBefore(i,it(d.$elm$))}o>c?et(t,null==l[p+1]?null:l[p+1].$elm$,n,l,a,p):a>p&&nt(e,o,c)})(n,l,e,i):null!==i?(null!==t.$text$&&(n.textContent=""),et(n,null,e,i,0,i.length-1)):null!==l&&nt(l,0,l.length-1)):(r=n["s-cr"])?r.parentNode.textContent=e.$text$:t.$text$!==e.$text$&&(n.data=e.$text$),h&&"svg"===e.$tag$&&(h=!1)},at=t=>{let e,n,l,i,r,o,a=t.childNodes;for(n=0,l=a.length;n<l;n++)if(e=a[n],1===e.nodeType){if(e["s-sr"])for(r=e["s-sn"],e.hidden=!1,i=0;i<l;i++)if(a[i]["s-hn"]!==e["s-hn"])if(o=a[i].nodeType,""!==r){if(1===o&&r===a[i].getAttribute("slot")){e.hidden=!0;break}}else if(1===o||3===o&&""!==a[i].textContent.trim()){e.hidden=!0;break}at(e)}},st=[],ut=t=>{let e,n,l,i,r=t.childNodes,o=r.length,a=0,s=0,u=0;for(o=r.length;a<o;a++){if(e=r[a],e["s-sr"]&&(n=e["s-cr"]))for(l=n.parentNode.childNodes,i=e["s-sn"],s=l.length-1;s>=0;s--)n=l[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(u=n.nodeType,((3===u||8===u)&&""===i||1===u&&null===n.getAttribute("slot")&&""===i||1===u&&n.getAttribute("slot")===i)&&(st.some(t=>t.$nodeToRelocate$===n)||(c=!0,n["s-sn"]=i,st.push({$slotRefNode$:e,$nodeToRelocate$:n}))));1===e.nodeType&&ut(e)}},ct=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.forEach(ct)},dt=(t,e)=>{e&&!t.$onRenderResolve$&&e["s-p"].push(new Promise(e=>t.$onRenderResolve$=e))},ht=(t,e,n,l)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);const i=e.$lazyInstance$,r=()=>pt(t,e,n,i,l),o=t["s-rc"];let a;return dt(e,e.$ancestorComponent$),l&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.forEach(([t,e])=>mt(i,t,e)),e.$queuedListeners$=null),a=mt(i,"componentWillLoad")),a=gt(a,()=>mt(i,"componentWillRender")),o&&(o.forEach(t=>t()),t["s-rc"]=void 0),gt(a,()=>L(r))},pt=(t,e,n,l,a)=>{a&&((t,e,n)=>{const l=B(m&&t.shadowRoot?t.shadowRoot:t.getRootNode(),e,n,t);10&e.$flags$&&(t["s-sc"]=l,t.classList.add(l+"-h"),2&e.$flags$&&t.classList.add(l+"-s"))})(t,n,e.$modeName$);try{((t,e,n,l)=>{o=t.tagName;const a=e.$vnode$||H(null,null),s=(h=l)&&h.$tag$===V?l:G(null,null,l);var h;if(n.$attrsToReflect$&&(s.$attrs$=s.$attrs$||{},n.$attrsToReflect$.forEach(([e,n])=>s.$attrs$[n]=t[e])),s.$tag$=null,s.$flags$|=4,e.$vnode$=s,s.$elm$=a.$elm$=t.shadowRoot||t,i=t["s-sc"],r=t["s-cr"],u=m&&0!=(1&n.$flags$),d=c=!1,ot(a,s),d){ut(s.$elm$);for(let t=0;t<st.length;t++){const e=st[t];if(!e.$nodeToRelocate$["s-ol"]){const t=f.createTextNode("");t["s-nr"]=e.$nodeToRelocate$,e.$nodeToRelocate$.parentNode.insertBefore(e.$nodeToRelocate$["s-ol"]=t,e.$nodeToRelocate$)}}b.$flags$|=1;for(let t=0;t<st.length;t++){const e=st[t],n=e.$slotRefNode$.parentNode;let l=e.$slotRefNode$.nextSibling,i=e.$nodeToRelocate$["s-ol"];for(;i=i.previousSibling;){let t=i["s-nr"];if(t&&t["s-sn"]===e.$nodeToRelocate$["s-sn"]&&n===t.parentNode&&(t=t.nextSibling,!t||!t["s-nr"])){l=t;break}}(!l&&n!==e.$nodeToRelocate$.parentNode||e.$nodeToRelocate$.nextSibling!==l)&&e.$nodeToRelocate$!==l&&n.insertBefore(e.$nodeToRelocate$,l)}b.$flags$&=-2}c&&at(s.$elm$),st.length=0})(t,e,n,l.render&&l.render())}catch(s){w(s)}b.$cssShim$&&b.$cssShim$.updateHost(t),e.$flags$&=-17,e.$flags$|=2;{const l=t["s-p"],i=()=>ft(t,e,n);0===l.length?i():(Promise.all(l).then(i),e.$flags$|=4,l.length=0)}},ft=(t,e,n)=>{const l=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?mt(l,"componentDidUpdate"):(e.$flags$|=64,t.classList.add("hydrated"),mt(l,"componentDidLoad"),e.$onReadyResolve$(t),i||bt()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&E(()=>ht(t,e,n,!1)),e.$flags$&=-517},bt=()=>{f.documentElement.classList.add("hydrated"),b.$flags$|=2},mt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(l){w(l)}},gt=(t,e)=>t&&t.then?t.then(e):e(),_t=(t,e,n)=>{if(e.$members$){t.watchers&&(e.$watchers$=t.watchers);const l=Object.entries(e.$members$),i=t.prototype;if(l.forEach(([t,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(i,t,{get(){return e=t,A(this).$instanceValues$.get(e);var e},set(n){((t,e,n,l)=>{const i=A(this),r=i.$hostElement$,o=i.$instanceValues$.get(e),a=i.$flags$,s=i.$lazyInstance$;var u,c;if(c=l.$members$[e][0],!((n=null==(u=n)||R(u)?u:4&c?"false"!==u&&(""===u||!!u):2&c?parseFloat(u):1&c?String(u):u)===o||8&a&&void 0!==o)&&(i.$instanceValues$.set(e,n),s)){if(l.$watchers$&&128&a){const t=l.$watchers$[e];t&&t.forEach(t=>{try{s[t](n,o,e)}catch(l){w(l)}})}2==(18&a)&&ht(r,i,l,!1)}})(0,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(i,t,{value(...e){const n=A(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[t](...e))}})}),1&n){const n=new Map;i.attributeChangedCallback=function(t,e,l){b.jmp(()=>{const e=n.get(t);this[e]=(null!==l||"boolean"!=typeof this[e])&&l})},t.observedAttributes=l.filter(([t,e])=>15&e[0]).map(([t,l])=>{const i=l[1]||t;return n.set(i,t),512&l[0]&&e.$attrsToReflect$.push([t,i]),i})}}return t},yt=(t,e,n,l,i,r,o)=>{let a,s,u,c;if(1===r.nodeType){for(a=r.getAttribute("c-id"),a&&(s=a.split("."),s[0]!==o&&"0"!==s[0]||(u={$flags$:0,$hostId$:s[0],$nodeId$:s[1],$depth$:s[2],$index$:s[3],$tag$:r.tagName.toLowerCase(),$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(u),r.removeAttribute("c-id"),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u,t=u,l&&"0"===u.$depth$&&(l[u.$index$]=u.$elm$))),c=r.childNodes.length-1;c>=0;c--)yt(t,e,n,l,i,r.childNodes[c],o);if(r.shadowRoot)for(c=r.shadowRoot.childNodes.length-1;c>=0;c--)yt(t,e,n,l,i,r.shadowRoot.childNodes[c],o)}else if(8===r.nodeType)s=r.nodeValue.split("."),s[1]!==o&&"0"!==s[1]||(a=s[0],u={$flags$:0,$hostId$:s[1],$nodeId$:s[2],$depth$:s[3],$index$:s[4],$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(u.$elm$=r.nextSibling,u.$elm$&&3===u.$elm$.nodeType&&(u.$text$=u.$elm$.textContent,e.push(u),r.remove(),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u,l&&"0"===u.$depth$&&(l[u.$index$]=u.$elm$))):u.$hostId$===o&&("s"===a?(u.$tag$="slot",r["s-sn"]=s[5]?u.$name$=s[5]:"",r["s-sr"]=!0,l&&(u.$elm$=f.createElement(u.$tag$),u.$name$&&u.$elm$.setAttribute("name",u.$name$),r.parentNode.insertBefore(u.$elm$,r),r.remove(),"0"===u.$depth$&&(l[u.$index$]=u.$elm$)),n.push(u),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u):"r"===a&&(l?r.remove():(i["s-cr"]=r,r["s-cn"]=!0))));else if(t&&"style"===t.$tag$){const e=H(null,r.textContent);e.$elm$=r,e.$index$="0",t.$children$=[e]}},At=(t,e)=>{if(1===t.nodeType){let n=0;for(;n<t.childNodes.length;n++)At(t.childNodes[n],e);if(t.shadowRoot)for(n=0;n<t.shadowRoot.childNodes.length;n++)At(t.shadowRoot.childNodes[n],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-sd"]=""===n[3])}},vt=[],Ct=t=>vt.push(t),wt=t=>A(t).$modeName$,Pt=t=>{mt(t,"connectedCallback")},xt=t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},St=(t,e={})=>{const l=[],i=e.exclude||[],r=f.head,o=p.customElements,a=r.querySelector("meta[charset]"),s=f.createElement("style");let u;Object.assign(b,e),b.$resourcesUrl$=new URL(e.resourcesUrl||"./",f.baseURI).href,e.syncQueue&&(b.$flags$|=4),b.$flags$|=2;{const t=f.querySelectorAll("style[s-id]");let e="",n=0;for(;n<t.length;n++)e+=t[n].innerHTML;for(n=0;n<t.length;n++){const l=t[n];U(l.getAttribute("s-id"),e+l.innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)}}t.forEach(t=>t[1].forEach(e=>{const r={$flags$:e[0],$tagName$:e[1],$members$:e[2],$listeners$:e[3]};r.$members$=e[2],r.$listeners$=e[3],r.$attrsToReflect$=[],r.$watchers$={},!m&&1&r.$flags$&&(r.$flags$|=8);const a=r.$tagName$,s=class extends HTMLElement{constructor(t){super(t),(t=>{const e={$flags$:0,$hostElement$:t,$instanceValues$:new Map};e.$onInstancePromise$=new Promise(t=>e.$onInstanceResolve$=t),e.$onReadyPromise$=new Promise(t=>e.$onReadyResolve$=t),t["s-p"]=[],t["s-rc"]=[],y.set(t,e)})(t=this),1&r.$flags$&&(m?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t))}connectedCallback(){u&&(clearTimeout(u),u=null),b.jmp(()=>((t,e)=>{if(0==(1&b.$flags$)){const l=A(t);if(e.$listeners$&&(l.$rmListeners$=((t,e,n)=>{e.$queuedListeners$=e.$queuedListeners$||[];const l=n.map(([n,l,i])=>{const r=((t,e)=>4&e?f:8&e?p:32&e?f.body:16&e?t.parentElement:t)(t,n),o=((t,e)=>n=>{256&t.$flags$?t.$lazyInstance$[e](n):t.$queuedListeners$.push([e,n])})(e,i),a=(t=>g?{passive:0!=(1&t),capture:0!=(2&t)}:0!=(2&t))(n);return b.ael(r,l,o,a),()=>b.rel(r,l,o,a)});return()=>l.forEach(t=>t())})(t,l,e.$listeners$)),!(1&l.$flags$)){let i;if(l.$flags$|=1,i=t.getAttribute("s-id"),i){if(m&&1&e.$flags$){const n=B(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h"),t.classList.remove(n+"-s")}((t,e,n,l)=>{const i=t.shadowRoot,r=[],o=i?[]:null,a=l.$vnode$=H(e,null);b.$orgLocNodes$||At(f.body,b.$orgLocNodes$=new Map),t["s-id"]=n,t.removeAttribute("s-id"),yt(a,r,[],o,t,t,n),r.forEach(t=>{const n=t.$hostId$+"."+t.$nodeId$,l=b.$orgLocNodes$.get(n),r=t.$elm$;l&&(l["s-sd"]||"0"===t.$hostId$)&&l.parentNode.insertBefore(r,l.nextSibling),i||(r["s-hn"]=e,l&&(r["s-ol"]=l,r["s-ol"]["s-nr"]=r)),b.$orgLocNodes$.delete(n)}),i&&o.forEach(t=>{t&&i.appendChild(t)})})(t,e.$tagName$,i,l)}i||(4&e.$flags$||8&e.$flags$)&&xt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")||e["s-p"]){dt(l,l.$ancestorComponent$=e);break}}e.$members$&&Object.entries(e.$members$).forEach(([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}}),E(()=>(async(t,e,l,i,r)=>{if(0==(32&e.$flags$)){e.$flags$|=32,null==e.$modeName$&&(e.$modeName$="string"!=typeof l.$lazyBundleIds$?(t=>vt.map(e=>e(t)).find(t=>!!t))(t):""),(r=((t,e,l)=>{const i=t.$tagName$.replace(/-/g,"_"),r="string"!=typeof t.$lazyBundleIds$?t.$lazyBundleIds$[e.$modeName$]:t.$lazyBundleIds$,o=P.get(r);return o?o[i]:n("kLfG")(`./${r}.entry.js`).then(t=>(P.set(r,t),t[i]),w)})(l,e)).then&&(r=await r),r.isProxied||(l.$watchers$=r.watchers,_t(r,l,2),r.isProxied=!0),e.$flags$|=8;try{new r(e)}catch(s){w(s)}e.$flags$&=-9,e.$flags$|=128,Pt(e.$lazyInstance$);const i=z(l.$tagName$,e.$modeName$);if(!x.has(i)&&r.style){let t=r.style;"string"!=typeof t&&(t=t[e.$modeName$]),8&l.$flags$&&(t=await n.e(101).then(n.bind(null,"94vs")).then(e=>e.scopeCss(t,i,!1))),U(i,t,!!(1&l.$flags$))}}const o=e.$ancestorComponent$,a=()=>ht(t,e,l,!0);o&&o["s-rc"]?o["s-rc"].push(a):a()})(t,l,e))}Pt(l.$lazyInstance$)}})(this,r))}disconnectedCallback(){b.jmp(()=>(t=>{if(0==(1&b.$flags$)){const e=A(t),n=e.$lazyInstance$;e.$rmListeners$&&(e.$rmListeners$(),e.$rmListeners$=void 0),b.$cssShim$&&b.$cssShim$.removeHost(t),mt(n,"disconnectedCallback"),mt(n,"componentDidUnload")}})(this))}"s-hmr"(t){}forceUpdate(){((t,e)=>{{const n=A(t);2==(18&n.$flags$)&&ht(t,n,e,!1)}})(this,r)}componentOnReady(){return A(this).$onReadyPromise$}};r.$lazyBundleIds$=t[0],i.includes(a)||o.get(a)||(l.push(a),o.define(a,_t(s,r,1)))})),s.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",s.setAttribute("data-styles",""),r.insertBefore(s,a?a.nextSibling:r.firstChild),b.jmp(()=>u=setTimeout(bt,30))},kt=(t,e,n)=>{const l=Ot(t);return{emit:t=>l.dispatchEvent(new CustomEvent(e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t}))}},Mt=t=>{const e=new URL(t,b.$resourcesUrl$);return e.origin!==p.location.origin?e.href:e.pathname},Ot=t=>A(t).$hostElement$;let Dt;const Tt=t=>t&&wt(t)||Dt,Et=()=>{(()=>{const t=document,e=window,n=e.Ionic=e.Ionic||{};Object(l.g)(e);const i=Object.assign(Object.assign(Object.assign(Object.assign({},Object(l.c)(e)),{persistConfig:!1}),n.config),Object(l.a)(e));l.b.reset(i),l.b.getBoolean("persistConfig")&&Object(l.d)(e,i),n.config=l.b,n.mode=Dt=l.b.get("mode",t.documentElement.getAttribute("mode")||(Object(l.f)(e,"ios")?"ios":"md")),l.b.set("mode",Dt),t.documentElement.setAttribute("mode",Dt),t.documentElement.classList.add(Dt),l.b.getBoolean("_testing")&&l.b.set("animated",!1),Ct(t=>t.mode=t.mode||t.getAttribute("mode")||Dt)})(),Ct(t=>"ION-ICON"===t.tagName?t.mode||t.getAttribute("mode"):null)}},c2HN:function(t,e,n){"use strict";function l(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return l}))},c9QO:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}tripControllerGetTrip$Response(e){const n=new o.a(this.rootUrl,t.TripControllerGetTripPath,"get");return e&&(n.query("since",e.since),n.query("createdAt",e.createdAt),n.query("icao",e.icao)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}tripControllerGetTrip(t){return this.tripControllerGetTrip$Response(t).pipe(Object(s.a)(t=>t.body))}tripControllerGetCsvPositions$Response(e){const n=new o.a(this.rootUrl,t.TripControllerGetCsvPositionsPath,"get");return e&&(n.query("createdAt",e.createdAt),n.query("icao",e.icao)),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}tripControllerGetCsvPositions(t){return this.tripControllerGetCsvPositions$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseTripControllerTrip$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseTripControllerTripPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseTripControllerTrip(t){return this.getManyBaseTripControllerTrip$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.TripControllerGetTripPath="/trip/info",t.TripControllerGetCsvPositionsPath="/trip/export_positions",t.GetManyBaseTripControllerTripPath="/trip",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},c9fC:function(t,e,n){"use strict";n.d(e,"d",(function(){return P})),n.d(e,"c",(function(){return w})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return y})),n.d(e,"e",(function(){return A})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return C}));var l=n("8Y7J"),i=(n("GS7A"),n("5Bek")),r=n("KCVW"),o=n("zMNK"),a=n("XNiG"),s=n("quSY"),u=n("EY2u"),c=n("VRyK"),d=n("/uUt"),h=n("JX91"),p=n("pLZG"),f=n("IzEk"),b=n("5GAg"),m=n("dvZr");const g=new l.w("MAT_ACCORDION");let _=0;const y=new l.w("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");class A extends i.b{constructor(t,e,n,i,r,o,s){super(t,e,n),this._viewContainerRef=i,this._animationMode=o,this._hideToggle=!1,this.afterExpand=new l.r,this.afterCollapse=new l.r,this._inputChanges=new a.a,this._headerId="mat-expansion-panel-header-"+_++,this._bodyAnimationDone=new a.a,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe(Object(d.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),s&&(this.hideToggle=s.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())}_getExpandedState(){return this.expanded?"expanded":"collapsed"}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(h.a)(null),Object(p.a)(()=>this.expanded&&!this._portal),Object(f.a)(1)).subscribe(()=>{this._portal=new o.h(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}class v{constructor(t,e,n,l,i){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=l,this._parentChangeSubscription=s.a.EMPTY,this._animationsDisabled=!0;const r=t.accordion?t.accordion._stateChanges.pipe(Object(p.a)(t=>!(!t.hideToggle&&!t.togglePosition))):u.a;this._parentChangeSubscription=Object(c.a)(t.opened,t.closed,r,t._inputChanges.pipe(Object(p.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(p.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case m.o:case m.g:Object(m.t)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}class C{}class w extends i.a{constructor(){super(...arguments),this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}ngAfterContentInit(){this._keyManager=new b.g(this._headers).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,n=this._keyManager;e===m.i?Object(m.t)(t)||(n.setFirstItemActive(),t.preventDefault()):e===m.f?Object(m.t)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}class P{}},c9tr:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},cEDd:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t,e,n,l){var i,r,o,a,s,u,c,d,h;if(void 0===l&&(l=n),"string"==typeof l?l=parseInt(l,10):"number"!=typeof l&&(l=2),h=Math.pow(10,l),t="string"==typeof t?parseFloat(t):t,e="string"==typeof e?parseFloat(e):e,t<-90||t>90)throw"Latitude out of range: "+t;if(e<-180||e>180)throw"Longitude out of range: "+e;return c=t>=0?"N":"S",d=e>=0?"E":"W",t=Math.abs(t),e=Math.abs(e),t-=i=Math.floor(t),t-=(r=Math.floor(60*t))/60,o=Math.round(3600*t*h)/h,e-=a=Math.floor(e),e-=(s=Math.floor(60*e))/60,u=Math.round(3600*e*h)/h,"object"===n?{latitude:{degrees:i,minutes:r,seconds:o,direction:c},longitude:{degrees:a,minutes:s,seconds:u,direction:d}}:{latitude:i+"\xb0"+r+"'"+o+'"'+c,longitude:a+"\xb0"+s+"'"+u+'"'+d}}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},cRix:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cUpR:function(t,e,n){"use strict";n.d(e,"p",(function(){return ct})),n.d(e,"q",(function(){return v})),n.d(e,"a",(function(){return dt})),n.d(e,"h",(function(){return ut})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return w})),n.d(e,"e",(function(){return W})),n.d(e,"f",(function(){return $})),n.d(e,"g",(function(){return X})),n.d(e,"b",(function(){return tt})),n.d(e,"r",(function(){return o})),n.d(e,"j",(function(){return T})),n.d(e,"i",(function(){return V})),n.d(e,"m",(function(){return K})),n.d(e,"n",(function(){return Z})),n.d(e,"l",(function(){return S})),n.d(e,"o",(function(){return x})),n.d(e,"k",(function(){return et}));var l=n("SVse"),i=n("8Y7J");let r=null;function o(){return r}const a={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},s={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},u={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c=(()=>{if(i.Gb.Node)return i.Gb.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class d extends class extends class{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(e).forEach(n=>{null!=this.getStyle(t,n)&&(this._transitionEnd=e[n])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(t){return t.getDistributedNodes()}resolveAndSetHref(t,e,n){t.href=null==n?e:e+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new d,r||(r=t)}hasProperty(t,e){return e in t}setProperty(t,e,n){t[e]=n}getProperty(t,e){return t[e]}invoke(t,e,n){t[e](...n)}logError(t){window.console&&(console.error?console.error(t):console.log(t))}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return a}contains(t,e){return c.call(t,e)}querySelector(t,e){return t.querySelector(e)}querySelectorAll(t,e){return t.querySelectorAll(e)}on(t,e,n){t.addEventListener(e,n,!1)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}createMouseEvent(t){const e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e}createEvent(t){const e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e}preventDefault(t){t.preventDefault(),t.returnValue=!1}isPrevented(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue}getInnerHTML(t){return t.innerHTML}getTemplateContent(t){return"content"in t&&this.isTemplateElement(t)?t.content:null}getOuterHTML(t){return t.outerHTML}nodeName(t){return t.nodeName}nodeValue(t){return t.nodeValue}type(t){return t.type}content(t){return this.hasProperty(t,"content")?t.content:t}firstChild(t){return t.firstChild}nextSibling(t){return t.nextSibling}parentElement(t){return t.parentNode}childNodes(t){return t.childNodes}childNodesAsList(t){const e=t.childNodes,n=new Array(e.length);for(let l=0;l<e.length;l++)n[l]=e[l];return n}clearNodes(t){for(;t.firstChild;)t.removeChild(t.firstChild)}appendChild(t,e){t.appendChild(e)}removeChild(t,e){t.removeChild(e)}replaceChild(t,e,n){t.replaceChild(e,n)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}insertBefore(t,e,n){t.insertBefore(n,e)}insertAllBefore(t,e,n){n.forEach(n=>t.insertBefore(n,e))}insertAfter(t,e,n){t.insertBefore(n,e.nextSibling)}setInnerHTML(t,e){t.innerHTML=e}getText(t){return t.textContent}setText(t,e){t.textContent=e}getValue(t){return t.value}setValue(t,e){t.value=e}getChecked(t){return t.checked}setChecked(t,e){t.checked=e}createComment(t){return this.getDefaultDocument().createComment(t)}createTemplate(t){const e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createElementNS(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)}createTextNode(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)}createScriptTag(t,e,n){const l=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return l.setAttribute(t,e),l}createStyleElement(t,e){const n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n}createShadowRoot(t){return t.createShadowRoot()}getShadowRoot(t){return t.shadowRoot}getHost(t){return t.host}clone(t){return t.cloneNode(!0)}getElementsByClassName(t,e){return t.getElementsByClassName(e)}getElementsByTagName(t,e){return t.getElementsByTagName(e)}classList(t){return Array.prototype.slice.call(t.classList,0)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}hasClass(t,e){return t.classList.contains(e)}setStyle(t,e,n){t.style[e]=n}removeStyle(t,e){t.style[e]=""}getStyle(t,e){return t.style[e]}hasStyle(t,e,n){const l=this.getStyle(t,e)||"";return n?l==n:l.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let l=0;l<n.length;l++){const t=n.item(l);e.set(t.name,t.value)}return e}hasAttribute(t,e){return t.hasAttribute(e)}hasAttributeNS(t,e,n){return t.hasAttributeNS(e,n)}getAttribute(t,e){return t.getAttribute(e)}getAttributeNS(t,e,n){return t.getAttributeNS(e,n)}setAttribute(t,e,n){t.setAttribute(e,n)}setAttributeNS(t,e,n,l){t.setAttributeNS(e,n,l)}removeAttribute(t,e){t.removeAttribute(e)}removeAttributeNS(t,e,n){t.removeAttributeNS(e,n)}templateAwareRoot(t){return this.isTemplateElement(t)?this.content(t):t}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(t){return t.title}setTitle(t,e){t.title=e||""}elementMatches(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))}isTemplateElement(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName}isTextNode(t){return t.nodeType===Node.TEXT_NODE}isCommentNode(t){return t.nodeType===Node.COMMENT_NODE}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}hasShadowRoot(t){return null!=t.shadowRoot&&t instanceof HTMLElement}isShadowRoot(t){return t instanceof DocumentFragment}importIntoDoc(t){return document.importNode(this.templateAwareRoot(t),!0)}adoptNode(t){return document.adoptNode(t)}getHref(t){return t.getAttribute("href")}getEventKey(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&u.hasOwnProperty(e)&&(e=u[e]))}return s[e]||e}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=p||(p=document.querySelector("base"),p)?p.getAttribute("href"):null;return null==e?null:(n=e,h||(h=document.createElement("a")),h.setAttribute("href",n),"/"===h.pathname.charAt(0)?h.pathname:"/"+h.pathname);var n}resetBaseElement(){p=null}getUserAgent(){return window.navigator.userAgent}setData(t,e,n){this.setAttribute(t,"data-"+e,n)}getData(t,e){return this.getAttribute(t,"data-"+e)}getComputedStyle(t){return getComputedStyle(t)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(l.G)(document.cookie,t)}setCookie(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)}}let h,p=null;function f(){return!!window.history.pushState}const b=new i.w("TRANSITION_ID"),m=[{provide:i.d,useFactory:function(t,e,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=o();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(e=>n.getAttribute(e,"ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[b,l.d,i.x],multi:!0}];class g{static init(){Object(i.jb)(new g)}addToWindow(t){i.Gb.getAngularTestability=(e,n=!0)=>{const l=t.findTestabilityInTree(e,n);if(null==l)throw new Error("Could not find testability for element.");return l},i.Gb.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.Gb.getAllAngularRootElements=()=>t.getAllRootElements(),i.Gb.frameworkStabilizers||(i.Gb.frameworkStabilizers=[]),i.Gb.frameworkStabilizers.push(t=>{const e=i.Gb.getAllAngularTestabilities();let n=e.length,l=!1;const r=function(e){l=l||e,n--,0==n&&t(l)};e.forEach((function(t){t.whenStable(r)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const l=t.getTestability(e);return null!=l?l:n?o().isShadowRoot(e)?this.findTestabilityInTree(t,o().getHost(e),!0):this.findTestabilityInTree(t,o().parentElement(e),!0):null}}function _(t,e){"undefined"!=typeof COMPILED&&COMPILED||((i.Gb.ng=i.Gb.ng||{})[t]=e)}const y=(()=>({ApplicationRef:i.g,NgZone:i.G}))();function A(t){return Object(i.fb)(t)}function v(t){return _("probe",A),_("coreTokens",Object.assign({},y,(t||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>A}const C=new i.w("EventManagerPlugins");class w{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let l=0;l<n.length;l++){const e=n[l];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}class P{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const l=o().getGlobalEventTarget(this._doc,t);if(!l)throw new Error(`Unsupported event target ${l} for event ${e}`);return this.addEventListener(l,e,n)}}class x{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}class S extends x{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>o().remove(t))}}const k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},M=/%COMP%/g;function O(t,e,n){for(let l=0;l<e.length;l++){let i=e[l];Array.isArray(i)?O(t,i,n):(i=i.replace(M,t),n.push(i))}return n}function D(t){return e=>{!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}class T{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.Z.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new j(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case i.Z.Native:case i.Z.ShadowDom:return new R(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=O(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(k[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,l){if(l){e=l+":"+e;const i=k[l];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const l=k[n];l?t.removeAttributeNS(l,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,l){l&i.O.DashCase?t.style.setProperty(e,n,l&i.O.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.O.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){L(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return L(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,D(n)):this.eventManager.addEventListener(t,e,D(n))}}const I=(()=>"@".charCodeAt(0))();function L(t,e){if(t.charCodeAt(0)===I)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class j extends E{constructor(t,e,n,l){super(t),this.component=n;const i=O(l+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(M,l+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(M,t)}(l+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class R extends E{constructor(t,e,n,l){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=l,this.shadowRoot=l.encapsulation===i.Z.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const r=O(l.id,l.styles,[]);for(let i=0;i<r.length;i++){const t=document.createElement("style");t.textContent=r[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}const F=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),N=F("addEventListener"),Y=F("removeEventListener"),U={},B="__zone_symbol__propagationStopped",z=(()=>{const t="undefined"!=typeof Zone&&Zone[F("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),G=function(t){return!!z&&z.hasOwnProperty(t)},H=function(t){const e=U[t.type];if(!e)return;const n=this[e];if(!n)return;const l=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,l):t.handler.apply(this,l)}{const e=n.slice();for(let n=0;n<e.length&&!0!==t[B];n++){const t=e[n];t.zone!==Zone.current?t.zone.run(t.handler,this,l):t.handler.apply(this,l)}}};class V extends P{constructor(t,e,n){super(t),this.ngZone=e,n&&Object(l.z)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[B]=!0),t&&t.apply(this,arguments)}}supports(t){return!0}addEventListener(t,e,n){let l=n;if(!t[N]||i.G.isInAngularZone()&&!G(e))t.addEventListener(e,l,!1);else{let n=U[e];n||(n=U[e]=F("ANGULAR"+e+"FALSE"));let i=t[n];const r=i&&i.length>0;i||(i=t[n]=[]);const o=G(e)?Zone.root:Zone.current;if(0===i.length)i.push({zone:o,handler:l});else{let t=!1;for(let e=0;e<i.length;e++)if(i[e].handler===l){t=!0;break}t||i.push({zone:o,handler:l})}r||t[N](e,H,!1)}return()=>this.removeEventListener(t,e,l)}removeEventListener(t,e,n){let l=t[Y];if(!l)return t.removeEventListener.apply(t,[e,n,!1]);let i=U[e],r=i&&t[i];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);let o=!1;for(let a=0;a<r.length;a++)if(r[a].handler===n){o=!0,r.splice(a,1);break}o?0===r.length&&l.apply(t,[e,H,!1]):t.removeEventListener.apply(t,[e,n,!1])}}const q={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},W=new i.w("HammerGestureConfig"),$=new i.w("HammerLoader");class X{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}class K extends P{constructor(t,e,n,l){super(t),this._config=e,this.console=n,this.loader=l}supports(t){return!(!q.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(t,e,n){const l=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let l=!1,i=()=>{l=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=()=>{});l||(i=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom Hammer.JS loader failed.`),i=()=>{}}),()=>{i()}}return l.runOutsideAngular(()=>{const i=this._config.buildHammer(t),r=function(t){l.runGuarded((function(){n(t)}))};return i.on(e,r),()=>{i.off(e,r),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}const J=["alt","control","meta","shift"],Q={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class Z extends P{constructor(t){super(t)}supports(t){return null!=Z.parseEventName(t)}addEventListener(t,e,n){const l=Z.parseEventName(e),i=Z.eventCallback(l.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>o().onAndCancel(t,l.domEventName,i))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const l=Z._normalizeKey(e.pop());let i="";if(J.forEach(t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=l,0!=e.length||0===l.length)return null;const r={};return r.domEventName=n,r.fullKey=i,r}static getEventFullKey(t){let e="",n=o().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),J.forEach(l=>{l!=n&&(0,Q[l])(t)&&(e+=l+".")}),e+=n,e}static eventCallback(t,e,n){return l=>{Z.getEventFullKey(l)===t&&n.runGuarded(()=>e(l))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}class tt{}class et extends tt{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.Q.NONE:return e;case i.Q.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i.pb)(this._doc,String(e)));case i.Q.STYLE:return e instanceof it?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i.qb)(e));case i.Q.SCRIPT:if(e instanceof rt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.Q.URL:return e instanceof at||e instanceof ot?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i.rb)(String(e)));case i.Q.RESOURCE_URL:if(e instanceof at)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(t,e){if(t instanceof nt)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} (see http://g.co/ng/security#xss)`)}bypassSecurityTrustHtml(t){return new lt(t)}bypassSecurityTrustStyle(t){return new it(t)}bypassSecurityTrustScript(t){return new rt(t)}bypassSecurityTrustUrl(t){return new ot(t)}bypassSecurityTrustResourceUrl(t){return new at(t)}}class nt{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class lt extends nt{getTypeName(){return"HTML"}}class it extends nt{getTypeName(){return"Style"}}class rt extends nt{getTypeName(){return"Script"}}class ot extends nt{getTypeName(){return"URL"}}class at extends nt{getTypeName(){return"ResourceURL"}}const st=[{provide:i.J,useValue:l.E},{provide:i.K,useValue:function(){d.makeCurrent(),g.init()},multi:!0},{provide:l.w,useClass:class extends l.w{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[l.d]},{provide:l.d,useFactory:function(){return document},deps:[]}],ut=Object(i.bb)(i.ib,"browser",st);function ct(){return new i.q}class dt{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:dt,providers:[{provide:i.c,useValue:t.appId},{provide:b,useExisting:i.c},m]}}}"undefined"!=typeof window&&window},cV7i:function(t,e,n){"use strict";function l(t,e){return[[-1/0,-1/0,1/0,1/0]]}n.d(e,"a",(function(){return l}))},cp0P:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("HDdC"),i=n("DH7j"),r=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function s(...t){if(1===t.length){const e=t[0];if(Object(i.a)(e))return u(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&Object(i.a)(t[0])?t[0]:t,null).pipe(Object(r.a)(t=>e(...t)))}return u(t,null)}function u(t,e){return new l.a(n=>{const l=t.length;if(0===l)return void n.complete();const i=new Array(l);let r=0,o=0;for(let s=0;s<l;s++){const u=Object(a.a)(t[s]);let c=!1;n.add(u.subscribe({next:t=>{c||(c=!0,o++),i[s]=t},error:t=>n.error(t),complete:()=>{r++,r!==l&&c||(o===l&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}},cpc2:function(t,e,n){function l(t){if(t)return function(t){for(var e in l.prototype)t[e]=l.prototype[e];return t}(t)}t.exports=l,l.prototype.on=l.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},l.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},l.prototype.off=l.prototype.removeListener=l.prototype.removeAllListeners=l.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,l=this._callbacks["$"+t];if(!l)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<l.length;i++)if((n=l[i])===e||n.fn===e){l.splice(i,1);break}return 0===l.length&&delete this._callbacks["$"+t],this},l.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],l=1;l<arguments.length;l++)e[l-1]=arguments[l];if(n){l=0;for(var i=(n=n.slice(0)).length;l<i;++l)n[l].apply(this,e)}return this},l.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},l.prototype.hasListeners=function(t){return!!this.listeners(t).length}},czMo:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},d5dl:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";return{DEG_2_RAD:Math.PI/180,RAD_2_DEG:180/Math.PI,EQUATORIAL_RADIUS:6378137,ECC_SQUARED:.006694380023,ECC_PRIME_SQUARED:.006739496775579513,EASTING_OFFSET:5e5,NORTHING_OFFSET:1e7,GRIDSQUARE_SET_COL_SIZE:8,GRIDSQUARE_SET_ROW_SIZE:20,BLOCK_SIZE:1e5,E1:(1-Math.sqrt(.993305619977))/(1+Math.sqrt(.993305619977)),k0:.9996}})?l.apply(e,[]):l)||(t.exports=i)},dFDH:function(t,e,n){"use strict";n.d(e,"e",(function(){return m})),n.d(e,"b",(function(){return _})),n.d(e,"d",(function(){return b})),n.d(e,"a",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f}));var l=n("XNiG"),i=n("8Y7J"),r=(n("GS7A"),n("zMNK")),o=n("IzEk"),a=n("1G5W"),s=n("QQfA"),u=n("5GAg"),c=n("7QIX");class d{constructor(t,e){this._overlayRef=e,this._afterDismissed=new l.a,this._afterOpened=new l.a,this._onAction=new l.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),t)}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const h=new i.w("MatSnackBarData");class p{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}class f{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}class b extends r.a{constructor(t,e,n,i){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this.snackBarConfig=i,this._destroyed=!1,this._onExit=new l.a,this._onEnter=new l.a,this._animationState="void",this._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(o.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}class m{}const g=new i.w("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new p}});let _=(()=>{class t{constructor(t,e,n,l,i,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=l,this._parentSnackBar=i,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const l=Object.assign({},this._defaultConfig,n);return l.data={message:t,action:e},l.announcementMessage||(l.announcementMessage=t),this.openFromComponent(f,l)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=new r.f(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[p,e]])),l=new r.d(b,e.viewContainerRef,n),i=t.attach(l);return i.instance.snackBarConfig=e,i.instance}_attach(t,e){const n=Object.assign({},new p,this._defaultConfig,e),l=this._createOverlay(n),o=this._attachSnackBarContainer(l,n),s=new d(o,l);if(t instanceof i.U){const e=new r.h(t,null,{$implicit:n.data,snackBarRef:s});s.instance=o.attachTemplatePortal(e)}else{const e=this._createInjector(n,s),l=new r.d(t,void 0,e),i=o.attachComponentPortal(l);s.instance=i.instance}return this._breakpointObserver.observe(c.b.HandsetPortrait).pipe(Object(a.a)(l.detachments())).subscribe(t=>{const e=l.overlayElement.classList;t.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}_createOverlay(t){const e=new s.d;e.direction=t.direction;let n=this._overlay.position().global();const l="rtl"===t.direction,i="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!l||"end"===t.horizontalPosition&&l,r=!i&&"center"!==t.horizontalPosition;return i?n.left("0"):r?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return new r.f(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[d,e],[h,t.data]]))}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(s.c),Object(i.dc)(u.j),Object(i.dc)(i.t),Object(i.dc)(c.a),Object(i.dc)(t,12),Object(i.dc)(g))},token:t,providedIn:m}),t})()},dJrM:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return _}));var l=n("8Y7J"),i=(n("HsOI"),n("SVse")),r=n("POq0"),o=(n("Xd0L"),n("IP0z"),n("/HVE"),n("omvX"),l.Bb({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}}));function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),l.Db(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),l.Ob(null,0)],null,null)}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,null,null,null,null,null,null,null)),l.Ob(null,2),(t()(),l.Db(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function c(t){return l.Yb(0,[l.Ob(null,3),(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" *"]))],null,null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component.updateOutlineGap()&&l),l}),null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),l.Cb(2,1196032,null,0,r.a,[r.b,l.p,l.G],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(4,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(6,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),l.Ob(null,4)],null,null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),l.Ob(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(2,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),l.Ob(null,6),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),l.Ob(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function _(t){return l.Yb(2,[l.Ub(671088640,1,{underlineRef:0}),l.Ub(402653184,2,{_connectionContainerRef:0}),l.Ub(671088640,3,{_inputContainerRef:0}),l.Ub(671088640,4,{_label:0}),(t()(),l.Db(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),l.Db(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&l),l}),null,null)),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),l.Ob(null,1),(t()(),l.Db(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,p)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,f)),l.Cb(18,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),l.Cb(20,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(22,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(24,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}},dNwA:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dk3J:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("8rEH"),i=(n("svHU"),n("YGmB"),n("7/LY"),n("w+w1")),r=(n("G0WM"),n("vDCU"));class o{constructor(t,e,n,i,o,a,s){this.mapService=t,this.aircraftService=e,this.ghostService=n,this.selectAircraftService=i,this.trafficService=o,this.dialogRef=a,this.data=s,this.onSelect=r.a,this.displayedColumns=["operation","TTL","icao","latitude","longitude","altitude","track","speed","vsi","airport_to","icao_type_code"],this.dataSource=new l.l,this.modePage="ArrayGhost",this.currentGhost=void 0}ngOnInit(){this.getGhosts(),this.subscribeInterval=setInterval(()=>{this.getGhosts()},5e3)}ngOnDestroy(){clearInterval(this.subscribeInterval)}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}closeModal(){this.dialogRef.close()}getGhosts(){this.ghostService.ghostControllerGetGhosts().subscribe(t=>{this.dataSource.data=t.data})}deleteGhost(t){this.ghostService.ghostControllerDeleteGhost({icao:t}).subscribe(e=>{this.dataSource.data.filter(e=>e.icao!==t)})}goFormGhost(t){this.currentGhost=t,this.modePage="FormGhost"}goArrayGhost(){this.currentGhost=void 0,this.modePage="ArrayGhost",this.getGhosts()}selectGhost(t){this.aircraftService.aircraftControllerGetAircrafts({icaos:[t]}).subscribe(t=>{const e=this.trafficService.addAircraft(new i.a(t.data[0]));this.selectAircraftService.selectAircraft(e),this.mapService.recenterMap([e.longitude,e.latitude])},t=>console.log(t))}}},"dkv/":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var l in t)n.call(t,l)&&e.push(l);return e}},drqP:function(t,e,n){"use strict";var l,i=n("kvpX"),r=n("TN97"),o=n("t98H"),a=n("EwAT"),s=n("Hsuu"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function c(t){return"string"==typeof t?JSON.parse(t)||null:null!==t?t:null}var d=function(t){function e(){return t.call(this)||this}return u(e,t),e.prototype.getType=function(){return s.a.JSON},e.prototype.readFeature=function(t,e){return this.readFeatureFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readFeatures=function(t,e){return this.readFeaturesFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readFeatureFromObject=function(t,e){return Object(a.b)()},e.prototype.readFeaturesFromObject=function(t,e){return Object(a.b)()},e.prototype.readGeometry=function(t,e){return this.readGeometryFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readGeometryFromObject=function(t,e){return Object(a.b)()},e.prototype.readProjection=function(t){return this.readProjectionFromObject(c(t))},e.prototype.readProjectionFromObject=function(t){return Object(a.b)()},e.prototype.writeFeature=function(t,e){return JSON.stringify(this.writeFeatureObject(t,e))},e.prototype.writeFeatureObject=function(t,e){return Object(a.b)()},e.prototype.writeFeatures=function(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))},e.prototype.writeFeaturesObject=function(t,e){return Object(a.b)()},e.prototype.writeGeometry=function(t,e){return JSON.stringify(this.writeGeometryObject(t,e))},e.prototype.writeGeometryObject=function(t,e){return Object(a.b)()},e}(o.a),h=n("Ho3V"),p=n("AdTM"),f=n("CvXi"),b=n("jzee"),m=n("9iPr"),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function _(t){for(var e=[],n=0,l=t.length;n<l;++n)e.push(t[n].clone());return e}var y=function(t){function e(e){var n=t.call(this)||this;return n.geometries_=e||null,n.changeEventsKeys_=[],n.listenGeometriesChange_(),n}return g(e,t),e.prototype.unlistenGeometriesChange_=function(){this.changeEventsKeys_.forEach(h.c),this.changeEventsKeys_.length=0},e.prototype.listenGeometriesChange_=function(){if(this.geometries_)for(var t=0,e=this.geometries_.length;t<e;++t)this.changeEventsKeys_.push(Object(h.a)(this.geometries_[t],p.a.CHANGE,this.changed,this))},e.prototype.clone=function(){var t=new e(null);return t.setGeometries(this.geometries_),t},e.prototype.closestPointXY=function(t,e,n,l){if(l<Object(f.e)(this.getExtent(),t,e))return l;for(var i=this.geometries_,r=0,o=i.length;r<o;++r)l=i[r].closestPointXY(t,e,n,l);return l},e.prototype.containsXY=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)if(n[l].containsXY(t,e))return!0;return!1},e.prototype.computeExtent=function(t){Object(f.l)(t);for(var e=this.geometries_,n=0,l=e.length;n<l;++n)Object(f.q)(t,e[n].getExtent());return t},e.prototype.getGeometries=function(){return _(this.geometries_)},e.prototype.getGeometriesArray=function(){return this.geometries_},e.prototype.getGeometriesArrayRecursive=function(){for(var t=[],e=this.geometries_,n=0,l=e.length;n<l;++n)e[n].getType()===this.getType()?t=t.concat(e[n].getGeometriesArrayRecursive()):t.push(e[n]);return t},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;for(var n=[],l=this.geometries_,i=!1,r=0,o=l.length;r<o;++r){var a=l[r],s=a.getSimplifiedGeometry(t);n.push(s),s!==a&&(i=!0)}if(i){var u=new e(null);return u.setGeometriesArray(n),u}return this.simplifiedGeometryMaxMinSquaredTolerance=t,this},e.prototype.getType=function(){return m.a.GEOMETRY_COLLECTION},e.prototype.intersectsExtent=function(t){for(var e=this.geometries_,n=0,l=e.length;n<l;++n)if(e[n].intersectsExtent(t))return!0;return!1},e.prototype.isEmpty=function(){return 0===this.geometries_.length},e.prototype.rotate=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)n[l].rotate(t,e);this.changed()},e.prototype.scale=function(t,e,n){var l=n;l||(l=Object(f.x)(this.getExtent()));for(var i=this.geometries_,r=0,o=i.length;r<o;++r)i[r].scale(t,e,l);this.changed()},e.prototype.setGeometries=function(t){this.setGeometriesArray(_(t))},e.prototype.setGeometriesArray=function(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()},e.prototype.applyTransform=function(t){for(var e=this.geometries_,n=0,l=e.length;n<l;++n)e[n].applyTransform(t);this.changed()},e.prototype.translate=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)n[l].translate(t,e);this.changed()},e.prototype.disposeInternal=function(){this.unlistenGeometriesChange_(),t.prototype.disposeInternal.call(this)},e}(b.a),A=n("egkh"),v=n("R+T3"),C=n("mkQN"),w=n("iNpl"),P=n("9ANI"),x=n("W8M7"),S=n("OPOH"),k=n("JW8z"),M=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function O(t,e){if(!t)return null;var n;switch(t.type){case m.a.POINT:n=function(t){return new P.a(t.coordinates)}(t);break;case m.a.LINE_STRING:n=function(t){return new A.a(t.coordinates)}(t);break;case m.a.POLYGON:n=function(t){return new x.a(t.coordinates)}(t);break;case m.a.MULTI_POINT:n=function(t){return new C.a(t.coordinates)}(t);break;case m.a.MULTI_LINE_STRING:n=function(t){return new v.a(t.coordinates)}(t);break;case m.a.MULTI_POLYGON:n=function(t){return new w.a(t.coordinates)}(t);break;case m.a.GEOMETRY_COLLECTION:n=function(t,e){var n=t.geometries.map((function(t){return O(t,void 0)}));return new y(n)}(t);break;default:throw new Error("Unsupported GeoJSON type: "+t.type)}return Object(o.b)(n,!1,e)}function D(t,e){var n,l=(t=Object(o.b)(t,!0,e)).getType();switch(l){case m.a.POINT:n=function(t,e){return{type:"Point",coordinates:t.getCoordinates()}}(t);break;case m.a.LINE_STRING:n=function(t,e){return{type:"LineString",coordinates:t.getCoordinates()}}(t);break;case m.a.POLYGON:n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"Polygon",coordinates:t.getCoordinates(n)}}(t,e);break;case m.a.MULTI_POINT:n=function(t,e){return{type:"MultiPoint",coordinates:t.getCoordinates()}}(t);break;case m.a.MULTI_LINE_STRING:n=function(t,e){return{type:"MultiLineString",coordinates:t.getCoordinates()}}(t);break;case m.a.MULTI_POLYGON:n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"MultiPolygon",coordinates:t.getCoordinates(n)}}(t,e);break;case m.a.GEOMETRY_COLLECTION:n=function(t,e){return{type:"GeometryCollection",geometries:t.getGeometriesArray().map((function(t){var n=Object(S.a)({},e);return delete n.featureProjection,D(t,n)}))}}(t,e);break;case m.a.CIRCLE:n={type:"GeometryCollection",geometries:[]};break;default:throw new Error("Unsupported geometry type: "+l)}return n}var T=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this)||this).dataProjection=Object(k.g)(l.dataProjection?l.dataProjection:"EPSG:4326"),l.featureProjection&&(n.defaultFeatureProjection=Object(k.g)(l.featureProjection)),n.geometryName_=l.geometryName,n.extractGeometryName_=l.extractGeometryName,n}return M(e,t),e.prototype.readFeatureFromObject=function(t,e){var n,l=O((n="Feature"===t.type?t:{type:"Feature",geometry:t,properties:null}).geometry,e),i=new r.a;return this.geometryName_?i.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in n!==void 0&&i.setGeometryName(n.geometry_name),i.setGeometry(l),"id"in n&&i.setId(n.id),n.properties&&i.setProperties(n.properties,!0),i},e.prototype.readFeaturesFromObject=function(t,e){var n=null;if("FeatureCollection"===t.type){n=[];for(var l=t.features,i=0,r=l.length;i<r;++i)n.push(this.readFeatureFromObject(l[i],e))}else n=[this.readFeatureFromObject(t,e)];return n},e.prototype.readGeometryFromObject=function(t,e){return O(t,e)},e.prototype.readProjectionFromObject=function(t){var e,n=t.crs;return n?"name"==n.type?e=Object(k.g)(n.properties.name):"EPSG"===n.type?e=Object(k.g)("EPSG:"+n.properties.code):Object(i.a)(!1,36):e=this.dataProjection,e},e.prototype.writeFeatureObject=function(t,e){e=this.adaptOptions(e);var n={type:"Feature",geometry:null,properties:null},l=t.getId();void 0!==l&&(n.id=l);var i=t.getGeometry();i&&(n.geometry=D(i,e));var r=t.getProperties();return delete r[t.getGeometryName()],Object(S.d)(r)||(n.properties=r),n},e.prototype.writeFeaturesObject=function(t,e){e=this.adaptOptions(e);for(var n=[],l=0,i=t.length;l<i;++l)n.push(this.writeFeatureObject(t[l],e));return{type:"FeatureCollection",features:n}},e.prototype.writeGeometryObject=function(t,e){return D(t,this.adaptOptions(e))},e}(d),E=n("Pmt0"),I=n("WVt+"),L=n("LvDl"),j=n("ppab"),R=n("I5KE"),F=(n("svHU"),n("zixo")),N=n("hoJM"),Y=n("bHcU"),U=n("g6Z0");const B=new F.a({radius:3,fill:null,stroke:new N.a({color:"white",width:3})}),z={Point:new Y.b({image:B}),LineString:new Y.b({stroke:new N.a({color:"white",width:3})}),MultiLineString:new Y.b({stroke:new N.a({color:"white",width:3})}),MultiPoint:new Y.b({image:B}),MultiPolygon:new Y.b({stroke:new N.a({color:"white",width:3})}),Polygon:new Y.b({stroke:new N.a({color:"white",lineDash:[4],width:3}),fill:new U.a({color:"rgba(0, 0, 255, 0.1)"})}),GeometryCollection:new Y.b({stroke:new N.a({color:"white",width:3}),fill:new U.a({color:"white"}),image:new F.a({radius:3,fill:null,stroke:new N.a({color:"white"})})}),Circle:new Y.b({stroke:new N.a({color:"white",width:3}),fill:new U.a({color:"rgba(255,0,0,0.2)"})})};n("G0WM"),n.d(e,"a",(function(){return G}));class G extends j.a{constructor(t,e){super(),this.mapService=t,this.queryGridService=e,this.pivs=[]}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",this.getLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",this.getLayer())}displayPiv(t){this.queryGridService.queryGridControllerGetGrid({body:{sectorPolygon:t,layers:["piv"]}}).subscribe(e=>{const n=[];e.data.piv.forEach(t=>{t.features.forEach(e=>{n.push({type:"Feature",geometry:e.geometry,properties:Object.assign({},e.properties,{layerName:t.name,clickable:t.clickable,hoverable:t.hoverable,layerMapping:t.mapping})})})});const l={type:"FeatureCollection",features:n},i=new T({dataProjection:"EPSG:4326",featureProjection:"EPSG:3857",geometryName:"geometry"}).readFeatures(l);this.pivs=[],this.source.clear();const r=[];for(const o in i)if(i.hasOwnProperty(o)){const e=new R.a(this.getLayer(),i[o]);e.distance=this.getDistance(t[0][0],e.feature.getGeometry()),e.distanceRounded=Math.round(10*e.distance)/10,r.push(e),this.pivs.push(e)}this.pivs=L.sortBy(r,["distance"]),this.source.addFeatures(i)})}getDistance(t,e){let n=e.getFlatMidpoint?e.getFlatMidpoint():e.getCoordinates();e.getType(),"Point"===e.getType()?n=e.getCoordinates():"LineString"===e.getType()?n=e.getFlatMidpoint():"Polygon"===e.getType()&&(n=e.getInteriorPoint().getCoordinates());const l=I.point(t),i=I.point(Object(k.m)(n));return I.distance(l,i,{units:"kilometers"})}removePiv(){this.source.clear(),this.pivs=[]}getLayer(){return this.layer||(this.layer=new E.a({name:"PIV",source:super.getVectorSource(),style:this.getStyle,visible:this.visibility,zIndex:this.zIndex}),this.layer.set("isPivIntersects",!0)),this.layer}getStyle(t){return z[t.getGeometry().getType()]}}},dvZr:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"p",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"h",(function(){return o})),n.d(e,"o",(function(){return a})),n.d(e,"m",(function(){return s})),n.d(e,"l",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return h})),n.d(e,"q",(function(){return p})),n.d(e,"n",(function(){return f})),n.d(e,"e",(function(){return b})),n.d(e,"d",(function(){return m})),n.d(e,"s",(function(){return g})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return y})),n.d(e,"r",(function(){return A})),n.d(e,"c",(function(){return v})),n.d(e,"t",(function(){return C}));const l=8,i=9,r=13,o=27,a=32,s=33,u=34,c=35,d=36,h=37,p=38,f=39,b=40,m=46,g=48,_=57,y=65,A=90,v=188;function C(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},"e+ae":function(t,e,n){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function l(t){return t>1&&t<5}function i(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||i?r+(l(t)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return e?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return e||i?r+(l(t)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(l(t)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return e||i?"de\u0148":"d\u0148om";case"dd":return e||i?r+(l(t)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?r+(l(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?r+(l(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"e0/R":function(t,e,n){"use strict";e.a={PROPERTYCHANGE:"propertychange"}},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("lJxs"),i=n("Cfvw"),r=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>Object(i.a)(t(n,r)).pipe(Object(l.a)((t,l)=>e(n,t,r,l))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new s(t,this.project))}}class s extends r.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(l){return void this.destination.error(l)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.a(this),l=this.destination;l.add(n),this.innerSubscription=Object(r.c)(t,n),this.innerSubscription!==n&&l.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eNwd:function(t,e,n){"use strict";var l=n("3N8a");class i extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var r=n("IjjT");class o extends r.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,l=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++l<i&&(t=e.shift()));if(this.active=!1,n){for(;++l<i&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,"a",(function(){return a}));const a=new o(i)},eOtv:function(t,e,n){var l=n("lKxJ"),i=n("KFGy"),r=n("cpc2"),o=n("Uwu7"),a=n("2Dig"),s=n("QN7Q"),u=n("x7D4")("socket.io-client:manager"),c=n("7jRU"),d=n("C2QD"),h=Object.prototype.hasOwnProperty;function p(t,e){if(!(this instanceof p))return new p(t,e);t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||o;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=p,p.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)h.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},p.prototype.updateSocketIds=function(){for(var t in this.nsps)h.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},p.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},r(p.prototype),p.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},p.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},p.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(t,e){if(u("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;u("opening %s",this.uri),this.engine=l(this.uri,this.opts);var n=this.engine,i=this;this.readyState="opening",this.skipReconnect=!1;var r=a(n,"open",(function(){i.onopen(),t&&t()})),o=a(n,"error",(function(e){if(u("connect_error"),i.cleanup(),i.readyState="closed",i.emitAll("connect_error",e),t){var n=new Error("Connection error");n.data=e,t(n)}else i.maybeReconnectOnOpen()}));if(!1!==this._timeout){var s=this._timeout;u("connect attempt will timeout after %d",s),0===s&&r.destroy();var c=setTimeout((function(){u("connect attempt timed out after %d",s),r.destroy(),n.close(),n.emit("error","timeout"),i.emitAll("connect_timeout",s)}),s);this.subs.push({destroy:function(){clearTimeout(c)}})}return this.subs.push(r),this.subs.push(o),this},p.prototype.onopen=function(){u("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(a(t,"data",s(this,"ondata"))),this.subs.push(a(t,"ping",s(this,"onping"))),this.subs.push(a(t,"pong",s(this,"onpong"))),this.subs.push(a(t,"error",s(this,"onerror"))),this.subs.push(a(t,"close",s(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",s(this,"ondecoded")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},p.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},p.prototype.ondata=function(t){this.decoder.add(t)},p.prototype.ondecoded=function(t){this.emit("packet",t)},p.prototype.onerror=function(t){u("error",t),this.emitAll("error",t)},p.prototype.socket=function(t,e){var n=this.nsps[t];if(!n){n=new i(this,t,e),this.nsps[t]=n;var l=this;n.on("connecting",r),n.on("connect",(function(){n.id=l.generateId(t)})),this.autoConnect&&r()}function r(){~c(l.connecting,n)||l.connecting.push(n)}return n},p.prototype.destroy=function(t){var e=c(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},p.prototype.packet=function(t){u("writing packet %j",t);var e=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,(function(n){for(var l=0;l<n.length;l++)e.engine.write(n[l],t.options);e.encoding=!1,e.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},p.prototype.cleanup=function(){u("cleanup");for(var t=this.subs.length,e=0;e<t;e++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},p.prototype.close=p.prototype.disconnect=function(){u("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},p.prototype.onclose=function(t){u("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();u("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(u("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(u("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(u("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},eQqr:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var l=n("f8l7"),i=n("9iPr");function r(t,e,n){var i=n||6371008.8,r=Object(l.i)(t[1]),o=Object(l.i)(e[1]),a=(o-r)/2,s=Object(l.i)(e[0]-t[0])/2,u=Math.sin(a)*Math.sin(a)+Math.sin(s)*Math.sin(s)*Math.cos(r)*Math.cos(o);return 2*i*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))}function o(t,e){for(var n=0,l=0,i=t.length;l<i-1;++l)n+=r(t[l],t[l+1],e);return n}function a(t,e){var n=e||{},l=n.radius||6371008.8,r=n.projection||"EPSG:3857",s=t.getType();s!==i.a.GEOMETRY_COLLECTION&&(t=t.clone().transform(r,"EPSG:4326"));var u,c,d,h,p,f,b=0;switch(s){case i.a.POINT:case i.a.MULTI_POINT:break;case i.a.LINE_STRING:case i.a.LINEAR_RING:b=o(u=t.getCoordinates(),l);break;case i.a.MULTI_LINE_STRING:case i.a.POLYGON:for(d=0,h=(u=t.getCoordinates()).length;d<h;++d)b+=o(u[d],l);break;case i.a.MULTI_POLYGON:for(d=0,h=(u=t.getCoordinates()).length;d<h;++d)for(p=0,f=(c=u[d]).length;p<f;++p)b+=o(c[p],l);break;case i.a.GEOMETRY_COLLECTION:var m=t.getGeometries();for(d=0,h=m.length;d<h;++d)b+=a(m[d],e);break;default:throw new Error("Unsupported geometry type: "+s)}return b}function s(t,e,n,i){var r=i||6371008.8,o=Object(l.i)(t[1]),a=Object(l.i)(t[0]),s=e/r,u=Math.asin(Math.sin(o)*Math.cos(s)+Math.cos(o)*Math.sin(s)*Math.cos(n)),c=a+Math.atan2(Math.sin(n)*Math.sin(s)*Math.cos(o),Math.cos(s)-Math.sin(o)*Math.sin(u));return[Object(l.h)(c),Object(l.h)(u)]}},eRUA:function(t,e,n){"use strict";t.exports=i;var l=n("kVK+");function i(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;var r="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function o(t){return t.type===i.Bytes?t.readVarint()+t.pos:t.pos+1}function a(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function s(t,e,n){var l=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(l);for(var i=n.pos-1;i>=t;i--)n.buf[i+l]=n.buf[i]}function u(t,e){for(var n=0;n<t.length;n++)e.writeVarint(t[n])}function c(t,e){for(var n=0;n<t.length;n++)e.writeSVarint(t[n])}function d(t,e){for(var n=0;n<t.length;n++)e.writeFloat(t[n])}function h(t,e){for(var n=0;n<t.length;n++)e.writeDouble(t[n])}function p(t,e){for(var n=0;n<t.length;n++)e.writeBoolean(t[n])}function f(t,e){for(var n=0;n<t.length;n++)e.writeFixed32(t[n])}function b(t,e){for(var n=0;n<t.length;n++)e.writeSFixed32(t[n])}function m(t,e){for(var n=0;n<t.length;n++)e.writeFixed64(t[n])}function g(t,e){for(var n=0;n<t.length;n++)e.writeSFixed64(t[n])}function _(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function y(t,e,n){t[n]=e,t[n+1]=e>>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function A(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){for(n=n||this.length;this.pos<n;){var l=this.readVarint(),i=l>>3,r=this.pos;this.type=7&l,t(i,e,this),this.pos===r&&this.skip(l)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=_(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=A(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=_(this.buf,this.pos)+4294967296*_(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=_(this.buf,this.pos)+4294967296*A(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=l.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=l.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,l=this.buf;return e=127&(n=l[this.pos++]),n<128?e:(e|=(127&(n=l[this.pos++]))<<7,n<128?e:(e|=(127&(n=l[this.pos++]))<<14,n<128?e:(e|=(127&(n=l[this.pos++]))<<21,n<128?e:function(t,e,n){var l,i,r=n.buf;if(l=(112&(i=r[n.pos++]))>>4,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<3,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<10,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<17,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<24,i<128)return a(t,l,e);if(l|=(1&(i=r[n.pos++]))<<31,i<128)return a(t,l,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(n=l[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&r?function(t,e,n){return r.decode(t.subarray(e,n))}(this.buf,e,t):function(t,e,n){for(var l="",i=e;i<n;){var r,o,a,s=t[i],u=null,c=s>239?4:s>223?3:s>191?2:1;if(i+c>n)break;1===c?s<128&&(u=s):2===c?128==(192&(r=t[i+1]))&&(u=(31&s)<<6|63&r)<=127&&(u=null):3===c?(o=t[i+2],128==(192&(r=t[i+1]))&&128==(192&o)&&((u=(15&s)<<12|(63&r)<<6|63&o)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=t[i+2],a=t[i+3],128==(192&(r=t[i+1]))&&128==(192&o)&&128==(192&a)&&((u=(15&s)<<18|(63&r)<<12|(63&o)<<6|63&a)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,l+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),l+=String.fromCharCode(u),i+=c}return l}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==i.Bytes)return t.push(this.readVarint(e));var n=o(this);for(t=t||[];this.pos<n;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==i.Bytes)return t.push(this.readSVarint());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==i.Bytes)return t.push(this.readBoolean());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==i.Bytes)return t.push(this.readFloat());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==i.Bytes)return t.push(this.readDouble());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed32());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed32());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed64());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed64());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===i.Varint)for(;this.buf[this.pos++]>127;);else if(e===i.Bytes)this.pos=this.readVarint()+this.pos;else if(e===i.Fixed32)this.pos+=4;else{if(e!==i.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var n=new Uint8Array(e);n.set(this.buf),this.buf=n,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),y(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),y(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),y(this.buf,-1&t,this.pos),y(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),y(this.buf,-1&t,this.pos),y(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var n,l;if(t>=0?(n=t%4294967296|0,l=t/4294967296|0):(l=~(-t/4294967296),4294967295^(n=~(-t%4294967296))?n=n+1|0:(n=0,l=l+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7)}(n,0,e),function(t,e){var n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(l,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,n){for(var l,i,r=0;r<e.length;r++){if((l=e.charCodeAt(r))>55295&&l<57344){if(!i){l>56319||r+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=l;continue}if(l<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=l;continue}l=i-55296<<10|l-56320|65536,i=null}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);l<128?t[n++]=l:(l<2048?t[n++]=l>>6|192:(l<65536?t[n++]=l>>12|224:(t[n++]=l>>18|240,t[n++]=l>>12&63|128),t[n++]=l>>6&63|128),t[n++]=63&l|128)}return n}(this.buf,t,this.pos);var n=this.pos-e;n>=128&&s(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),l.write(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),l.write(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var n=0;n<e;n++)this.buf[this.pos++]=t[n]},writeRawMessage:function(t,e){this.pos++;var n=this.pos;t(e,this);var l=this.pos-n;l>=128&&s(n,l,this),this.pos=n-1,this.writeVarint(l),this.pos+=l},writeMessage:function(t,e,n){this.writeTag(t,i.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,u,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,c,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,p,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,d,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,h,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,f,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,b,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,m,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,g,e)},writeBytesField:function(t,e){this.writeTag(t,i.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,i.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,i.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,i.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}}},egkh:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("mrzG"),u=n("l2lA"),c=n("q7cr"),d=n("u2yf"),h=n("saKC"),p=n("xWBw"),f=n("WTjQ"),b=n("/U2p"),m=n("HEh+"),g=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),_=function(t){function e(e,n){var l=t.call(this)||this;return l.flatMidpoint_=null,l.flatMidpointRevision_=-1,l.maxDelta_=-1,l.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?l.setCoordinates(e,n):l.setFlatCoordinates(n,e),l}return g(e,t),e.prototype.appendCoordinate=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t):this.flatCoordinates=t.slice(),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.e)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.d)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,n,l))},e.prototype.forEachSegment=function(t){return Object(b.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinateAtM=function(t,e){if(this.layout!=o.a.XYM&&this.layout!=o.a.XYZM)return null;var n=void 0!==e&&e;return Object(h.b)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n)},e.prototype.getCoordinates=function(){return Object(d.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinateAt=function(t,e){return Object(h.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e)},e.prototype.getLength=function(){return Object(f.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getFlatMidpoint=function(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=Object(m.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,o.a.XY)},e.prototype.getType=function(){return a.a.LINE_STRING},e.prototype.intersectsExtent=function(t){return Object(p.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(s.a);e.a=_},ek9U:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("vDCU");n("978D");class i{constructor(t,e,n){this.dialogRef=t,this.data=e,this.timeService=n,this.onSelect=l.a}ngOnInit(){setTimeout(()=>{this.startReplay(this.data.date)})}startReplay(t){this.timeService.getDateReplay()?(this.timeService.clearTimer(),this.timeService.startReplay(t.toDate())):this.timeService.startReplay(t.toDate())}closeModal(){this.timeService.stopReplay(),this.dialogRef.close()}}},elxJ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8Y7J"),n("s7LF"),n("Xd0L");class l{}},f8l7:function(t,e,n){"use strict";function l(t,e,n){return Math.min(Math.max(t,e),n)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return d}));var i="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2};function r(t,e,n,l,i,r){var a=i-n,s=r-l;if(0!==a||0!==s){var u=((t-n)*a+(e-l)*s)/(a*a+s*s);u>1?(n=i,l=r):u>0&&(n+=a*u,l+=s*u)}return o(t,e,n,l)}function o(t,e,n,l){var i=n-t,r=l-e;return i*i+r*r}function a(t){for(var e=t.length,n=0;n<e;n++){for(var l=n,i=Math.abs(t[n][n]),r=n+1;r<e;r++){var o=Math.abs(t[r][n]);o>i&&(i=o,l=r)}if(0===i)return null;var a=t[l];t[l]=t[n],t[n]=a;for(var s=n+1;s<e;s++)for(var u=-t[s][n]/t[n][n],c=n;c<e+1;c++)n==c?t[s][c]=0:t[s][c]+=u*t[n][c]}for(var d=new Array(e),h=e-1;h>=0;h--){d[h]=t[h][e]/t[h][h];for(var p=h-1;p>=0;p--)t[p][e]-=t[p][h]*d[h]}return d}function s(t){return 180*t/Math.PI}function u(t){return t*Math.PI/180}function c(t,e){var n=t%e;return n*e<0?n+e:n}function d(t,e,n){return t+n*(e-t)}},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return P})),n.d(e,"c",(function(){return pt})),n.d(e,"g",(function(){return ft})),n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return Ut})),n.d(e,"d",(function(){return te})),n.d(e,"f",(function(){return ne})),n.d(e,"h",(function(){return le}));var l=n("GS7A");function i(){return"undefined"!=typeof process}function r(t){switch(t.length){case 0:return new l.d;case 1:return t[0];default:return new l.o(t)}}function o(t,e,n,i,r={},o={}){const a=[],s=[];let u=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==u,d=i&&c||{};Object.keys(t).forEach(n=>{let i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case l.p:s=r[n];break;case l.a:s=o[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}d[i]=s}),i||s.push(d),c=d,u=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return s}function a(t,e,n,l){switch(e){case"start":t.onStart(()=>l(n&&s(n,"start",t)));break;case"done":t.onDone(()=>l(n&&s(n,"done",t)));break;case"destroy":t.onDestroy(()=>l(n&&s(n,"destroy",t)))}}function s(t,e,n){const l=n.totalTime,i=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==l?t.totalTime:l,!!n.disabled),r=t._data;return null!=r&&(i._data=r),i}function u(t,e,n,l,i="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:l,phaseName:i,totalTime:r,disabled:!!o}}function c(t,e,n){let l;return t instanceof Map?(l=t.get(e),l||t.set(e,l=n)):(l=t[e],l||(l=t[e]=n)),l}function d(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let h=(t,e)=>!1,p=(t,e)=>!1,f=(t,e,n)=>[];const b=i();(b||"undefined"!=typeof Element)&&(h=(t,e)=>t.contains(e),p=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):p}})(),f=(t,e,n)=>{let l=[];if(n)l.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&l.push(n)}return l});let m=null,g=!1;function _(t){m||(m=("undefined"!=typeof document?document.body:null)||{},g=!!m.style&&"WebkitAppearance"in m.style);let e=!0;return m.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in m.style,!e&&g)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in m.style),e}const y=p,A=h,v=f;function C(t){const e={};return Object.keys(t).forEach(n=>{const l=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[l]=t[n]}),e}class w{validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,o=[],a){return new l.d(n,i)}}let P=(()=>{class t{}return t.NOOP=new w,t})();function x(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:S(parseFloat(e[1]),e[2])}function S(t,e){switch(e){case"s":return 1e3*t;default:return t}}function k(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let l,i=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};l=S(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=S(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else l=t;if(!n){let n=!1,r=e.length;l<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:l,delay:i,easing:r}}(t,e,n)}function M(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function O(t,e,n={}){if(e)for(let l in t)n[l]=t[l];else M(t,n);return n}function D(t,e,n){return n?e+":"+n+";":""}function T(t){let e="";for(let n=0;n<t.style.length;n++){const l=t.style.item(n);e+=D(0,l,t.style.getPropertyValue(l))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=D(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function E(t,e,n){t.style&&(Object.keys(e).forEach(l=>{const i=U(l);n&&!n.hasOwnProperty(l)&&(n[l]=t.style[i]),t.style[i]=e[l]}),i()&&T(t))}function I(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=U(e);t.style[n]=""}),i()&&T(t))}function L(t){return Array.isArray(t)?1==t.length?t[0]:Object(l.j)(t):t}const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function R(t){let e=[];if("string"==typeof t){const n=t.toString();let l;for(;l=j.exec(n);)e.push(l[1]);j.lastIndex=0}return e}function F(t,e,n){const l=t.toString(),i=l.replace(j,(t,l)=>{let i=e[l];return e.hasOwnProperty(l)||(n.push("Please provide a value for the animation param "+l),i=""),i.toString()});return i==l?t:i}function N(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Y=/-+([a-z0-9])/g;function U(t){return t.replace(Y,(...t)=>t[1].toUpperCase())}function B(t,e){return 0===t||0===e}function z(t,e,n){const l=Object.keys(n);if(l.length&&e.length){let r=e[0],o=[];if(l.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach((function(e){n[e]=H(t,e)}))}}return e}function G(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function H(t,e){return window.getComputedStyle(t)[e]}function V(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const l=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof l)return void e.push(l);t=l}const l=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=l[1],r=l[2],o=l[3];e.push($(i,o)),"<"!=r[0]||"*"==i&&"*"==o||e.push($(o,i))}(t,n,e)):n.push(t),n}const q=new Set(["true","1"]),W=new Set(["false","0"]);function $(t,e){const n=q.has(t)||W.has(t),l=q.has(e)||W.has(e);return(i,r)=>{let o="*"==t||t==i,a="*"==e||e==r;return!o&&n&&"boolean"==typeof i&&(o=i?q.has(t):W.has(t)),!a&&l&&"boolean"==typeof r&&(a=r?q.has(e):W.has(e)),o&&a}}const X=new RegExp("s*:selfs*,?","g");function K(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new Q(e);return this._resetContextStyleTimingState(n),G(this,L(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,l=e.depCount=0;const i=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,l=n.name;l.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=l}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,l+=i.depCount,r.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:r,queryCount:n,depCount:l,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),l=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,r=l||{};if(n.styles.forEach(t=>{if(Z(t)){const e=t;Object.keys(e).forEach(t=>{R(e[t]).forEach(t=>{r.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=N(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:l?{params:l}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=G(this,L(t.animation),e);return{type:1,matchers:V(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:tt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>G(this,t,e)),options:tt(t.options)}}visitGroup(t,e){const n=e.currentTime;let l=0;const i=t.steps.map(t=>{e.currentTime=n;const i=G(this,t,e);return l=Math.max(l,e.currentTime),i});return e.currentTime=l,{type:3,steps:i,options:tt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return et(k(t,e).duration,0,"");const l=t;if(l.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=et(0,0,"");return t.dynamic=!0,t.strValue=l,t}return n=n||k(l,e),et(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(l.l)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(l.l)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==l.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(Z(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let l=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(i!=l&&i>=o.startTime&&l<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${l}ms"`),a=!1),i=o.startTime),a&&(r[n]={startTime:i,endTime:l}),e.options&&function(t,e,n){const l=e.params||{},i=R(t);i.length&&i.forEach(t=>{l.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let l=0;const i=[];let r=!1,o=!1,a=0;const s=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let s=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Z(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Z(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),u=0;return null!=s&&(l++,u=n.offset=s),o=o||u<0||u>1,r=r||u<a,a=u,i.push(u),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const u=t.steps.length;let c=0;l>0&&l<u?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==l&&(c=1/(u-1));const d=u-1,h=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return s.forEach((t,l)=>{const r=c>0?l==d?1:c*l:i[l],o=r*f;e.currentTime=h+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:G(this,L(t.animation),e),options:tt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:tt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:tt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,l=t.options||{};e.queryCount++,e.currentQuery=t;const[i,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,c(e.collectedStyles,e.currentQuerySelector,{});const o=G(this,L(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:l.limit||0,optional:!!l.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:tt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:k(t.timings,e.errors,!0);return{type:12,animation:G(this,L(t.animation),e),timings:n,options:null}}}class Q{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Z(t){return!Array.isArray(t)&&"object"==typeof t}function tt(t){var e;return t?(t=M(t)).params&&(t.params=(e=t.params)?M(e):null):t={},t}function et(t,e,n){return{duration:t,delay:e,easing:n}}function nt(t,e,n,l,i,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:l,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}class lt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const it=new RegExp(":enter","g"),rt=new RegExp(":leave","g");function ot(t,e,n,l,i,r={},o={},a,s,u=[]){return(new at).buildKeyframes(t,e,n,l,i,r,o,a,s,u)}class at{buildKeyframes(t,e,n,l,i,r,o,a,s,u=[]){s=s||new lt;const c=new ut(t,e,s,l,i,u,[]);c.options=a,c.currentTimeline.setStyles([r],null,c.errors,a),G(this,n,c);const d=c.timelines.filter(t=>t.containsAnimation());if(d.length&&Object.keys(o).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,c.errors,a)}return d.length?d.map(t=>t.buildKeyframes()):[nt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const l=e.createSubContext(t.options),i=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,l,l.options);i!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let l=e.currentTimeline.currentTime;const i=null!=n.duration?x(n.duration):null,r=null!=n.delay?x(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,r);l=Math.max(l,n.duration+n.delay)}),l}visitReference(t,e){e.updateOptions(t.options,!0),G(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let l=e;const i=t.options;if(i&&(i.params||i.delay)&&(l=e.createSubContext(i),l.transformIntoNewTimeline(),null!=i.delay)){6==l.previousNode.type&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=st);const t=x(i.delay);l.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>G(this,t,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>n&&l.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let l=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?x(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),G(this,r,o),l=Math.max(l,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(l),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return k(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),l=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),l.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),l.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,l=e.currentAnimateTimings;!l&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=l&&l.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,l=e.currentTimeline.duration,i=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*i),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(l+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,l=t.options||{},i=l.delay?x(l.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=st);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!l.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,l)=>{e.currentQueryIndex=l;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),G(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,l=e.currentTimeline,i=t.timings,r=Math.abs(i.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const s=e.currentTimeline;a&&s.delayNextStep(a);const u=s.currentTime;G(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=l.currentTime-u+(l.startTime-n.currentTimeline.startTime)}}const st={};class ut{constructor(t,e,n,l,i,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=l,this._leaveClassName=i,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=st,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ct(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let l=this.options;null!=n.duration&&(l.duration=x(n.duration)),null!=n.delay&&(l.delay=x(n.delay));const i=n.params;if(i){let t=l.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=F(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const l=e||this.element,i=new ut(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=st,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const l={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new dt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,l,t.stretchStartingKeyframe);return this.timelines.push(i),l}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,l,i,r){let o=[];if(l&&o.push(this.element),t.length>0){t=(t=t.replace(it,"."+this._enterClassName)).replace(rt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return i||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class ct{constructor(t,e,n,l){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ct(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||l.a,this._currentKeyframe[t]=l.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=l.a})):O(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=F(o[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:l.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],l=t._styleSummary[e];(!n||l.time>n.time)&&this._updateStyle(e,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const a=O(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==l.p?t.add(n):i==l.a&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const r=t.size?N(t.values()):[],o=e.size?N(e.values()):[];if(n){const t=i[0],e=M(t);t.offset=0,e.offset=1,i=[t,e]}return nt(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class dt extends ct{constructor(t,e,n,l,i,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=l,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:l}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],r=n+e,o=e/r,a=O(t[0],!1);a.offset=0,i.push(a);const s=O(t[0],!1);s.offset=ht(o),i.push(s);const u=t.length-1;for(let l=1;l<=u;l++){let o=O(t[l],!1);o.offset=ht((e+o.offset*n)/r),i.push(o)}n=r,e=0,l="",t=i}return nt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,l,!0)}}function ht(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class pt{}class ft extends pt{normalizePropertyName(t,e){return U(t)}normalizeStyleValue(t,e,n,l){let i="";const r=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&l.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+i}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function mt(t,e,n,l,i,r,o,a,s,u,c,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:r,toState:l,toStyles:o,timelines:a,queriedElements:s,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}const gt={};class _t{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,l){return function(t,e,n,l,i){return t.some(t=>t(e,n,l,i))}(this.ast.matchers,t,e,n,l)}buildStyles(t,e,n){const l=this._stateStyles["*"],i=this._stateStyles[t],r=l?l.buildStyles(e,n):{};return i?i.buildStyles(e,n):r}build(t,e,n,l,i,r,o,a,s,u){const d=[],h=this.ast.options&&this.ast.options.params||gt,p=this.buildStyles(n,o&&o.params||gt,d),f=a&&a.params||gt,b=this.buildStyles(l,f,d),m=new Set,g=new Map,_=new Map,y="void"===l,A={params:Object.assign({},h,f)},v=u?[]:ot(t,e,this.ast.animation,i,r,p,b,A,s,d);let C=0;if(v.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),d.length)return mt(e,this._triggerName,n,l,y,p,b,[],[],g,_,C,d);v.forEach(t=>{const n=t.element,l=c(g,n,{});t.preStyleProps.forEach(t=>l[t]=!0);const i=c(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&m.add(n)});const w=N(m.values());return mt(e,this._triggerName,n,l,y,p,b,v,w,g,_,C)}}class yt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},l=M(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(l[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let r=i[t];r.length>1&&(r=F(r,l,e)),n[t]=r})}}),n}}class At{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new yt(t.style,t.options&&t.options.params||{})}),vt(this.states,"true","1"),vt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new _t(t,e,this.states))}),this.fallbackTransition=new _t(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,l){return this.transitionFactories.find(i=>i.match(t,e,n,l))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function vt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ct=new lt;class wt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],l=K(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=l}_buildPlayer(t,e,n){const l=t.element,i=o(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(l,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],o=this._animations[t];let a;const s=new Map;if(o?(a=ot(this._driver,e,o,"ng-enter","ng-leave",{},{},n,Ct,i),a.forEach(t=>{const e=c(s,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),a=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,l.a)})});const u=r(a.map(t=>{const e=s.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,l){const i=u(e,"","","");return a(this._getPlayer(t),n,i,l),()=>{}}command(t,e,n,l){if("register"==n)return void this.register(t,l[0]);if("create"==n)return void this.create(t,e,l[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(t)}}}const Pt=[],xt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},St={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class kt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(l=n?t.value:t)?l:null,n){const e=M(t);delete e.value,this.options=e}else this.options={};var l;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Mt=new kt("void");class Ot{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Rt(e,this._hostClassName)}listen(t,e,n,l){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const r=c(this._elementListeners,t,[]),o={name:e,phase:n,callback:l};r.push(o);const a=c(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Rt(t,"ng-trigger"),Rt(t,"ng-trigger-"+e),a[e]=Mt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,l=!0){const i=this._getTrigger(e),r=new Tt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Rt(t,"ng-trigger"),Rt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const s=new kt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&s.absorbOptions(a.options),o[e]=s,a||(a=Mt),"void"!==s.value&&a.value===s.value){if(!function(t,e){const n=Object.keys(t),l=Object.keys(e);if(n.length!=l.length)return!1;for(let i=0;i<n.length;i++){const l=n[i];if(!e.hasOwnProperty(l)||t[l]!==e[l])return!1}return!0}(a.params,s.params)){const e=[],n=i.matchStyles(a.value,a.params,e),l=i.matchStyles(s.value,s.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{I(t,n),E(t,l)})}return}const u=c(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let d=i.matchTransition(a.value,s.value,t,s.params),h=!1;if(!d){if(!l)return;d=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:a,toState:s,player:r,isFallbackTransition:h}),h||(Rt(t,"ng-animate-queued"),r.onStart(()=>{Ft(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),u.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e,n=!1){this._engine.driver.query(t,".ng-trigger",!0).forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)})}triggerLeaveAnimation(t,e,n,l){const i=this._engine.statesByElement.get(t);if(i){const o=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",l);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&r(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const l=e.name;if(n.has(l))return;n.add(l);const i=this._triggers[l].fallbackTransition,r=this._engine.statesByElement.get(t)[l]||Mt,o=new kt("void"),a=new Tt(this.id,l,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:l,transition:i,fromState:r,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let l=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)l=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){l=!0;break}}}this.prepareLeaveAnimationListeners(t),l?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){Rt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const l=n.player;if(l.destroyed)return;const i=n.element,r=this._elementListeners.get(i);r&&r.forEach(e=>{if(e.name==n.triggerName){const l=u(i,n.triggerName,n.fromState.value,n.toState.value);l._data=t,a(n.player,e.phase,l,e.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,l=e.transition.ast.depCount;return 0==n||0==l?n-l:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Dt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ot(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let l=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),l=!0;break}l||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let l=this._namespaceLookup[t];l&&l.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let l=0;l<t.length;l++){const i=n[t[l]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,l){if(Et(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,l),!0}return!1}insertNode(t,e,n,l){if(!Et(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const l=this._fetchNamespace(t);l&&l.insertNode(e,n)}l&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Rt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ft(t,"ng-animate-disabled"))}removeNode(t,e,n,l){if(Et(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,l):this.markElementAsRemoved(t,e,!1,l),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,l)}}else this._onRemovalComplete(e,l)}markElementAsRemoved(t,e,n,l){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:l,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,l,i){return Et(e)?this._fetchNamespace(t).listen(e,n,l,i):()=>{}}_buildInstruction(t,e,n,l,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,l,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return r(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=xt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Rt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?r(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new lt,i=[],o=new Map,a=[],s=new Map,u=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const p=this.bodyNode,f=Array.from(this.statesByElement.keys()),b=jt(f,this.collectedEnterElements),m=new Map;let g=0;b.forEach((t,e)=>{const n="ng-enter"+g++;m.set(e,n),t.forEach(t=>Rt(t,n))});const _=[],y=new Set,A=new Set;for(let l=0;l<this.collectedLeaveElements.length;l++){const t=this.collectedLeaveElements[l],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),y.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>y.add(t)):A.add(t))}const v=new Map,C=jt(f,Array.from(y));C.forEach((t,e)=>{const n="ng-leave"+g++;v.set(e,n),t.forEach(t=>Rt(t,n))}),t.push(()=>{b.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Ft(t,n))}),C.forEach((t,e)=>{const n=v.get(e);t.forEach(t=>Ft(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const w=[],P=[];for(let l=this._namespaceList.length-1;l>=0;l--)this._namespaceList[l].drainQueuedTransitions(e).forEach(t=>{const e=t.player,l=t.element;if(w.push(e),this.collectedEnterElements.length){const t=l.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!p||!this.driver.containsElement(p,l),o=v.get(l),h=m.get(l),f=this._buildInstruction(t,n,h,o,r);if(f.errors&&f.errors.length)P.push(f);else{if(r)return e.onStart(()=>I(l,f.fromStyles)),e.onDestroy(()=>E(l,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>I(l,f.fromStyles)),e.onDestroy(()=>E(l,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(l,f.timelines),a.push({instruction:f,player:e,element:l}),f.queriedElements.forEach(t=>c(s,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=u.get(e);t||u.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let l=d.get(e);l||d.set(e,l=new Set),n.forEach(t=>l.add(t))})}});if(P.length){const t=[];P.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),w.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,S=new Map;a.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{c(x,e,[]).push(t),t.destroy()})});const k=_.filter(t=>Yt(t,u,d)),M=new Map;Lt(M,this.driver,A,d,l.a).forEach(t=>{Yt(t,u,d)&&k.push(t)});const O=new Map;b.forEach((t,e)=>{Lt(O,this.driver,new Set(t),u,l.p)}),k.forEach(t=>{const e=M.get(t),n=O.get(t);M.set(t,Object.assign({},e,n))});const D=[],T=[],L={};a.forEach(t=>{const{element:e,player:l,instruction:a}=t;if(n.has(e)){if(h.has(e))return l.onDestroy(()=>E(e,a.toStyles)),l.disabled=!0,l.overrideTotalTime(a.totalTime),void i.push(l);let t=L;if(S.size>1){let n=e;const l=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}l.push(n)}l.forEach(e=>S.set(e,t))}const n=this._buildAnimation(l.namespaceId,a,x,o,O,M);if(l.setRealPlayer(n),t===L)D.push(l);else{const e=this.playersByElement.get(t);e&&e.length&&(l.parentPlayer=r(e)),i.push(l)}}else I(e,a.fromStyles),l.onDestroy(()=>E(e,a.toStyles)),T.push(l),h.has(e)&&i.push(l)}),T.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=r(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let l=0;l<_.length;l++){const t=_[l],e=t.__ng_removed;if(Ft(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(s.size){let e=s.get(t);e&&e.length&&n.push(...e);let l=this.driver.query(t,".ng-animating",!0);for(let t=0;t<l.length;t++){let e=s.get(l[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Nt(this,t,i):this.processLeaveNode(t)}return _.length=0,D.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),D}elementContainsData(t,e){let n=!1;const l=e.__ng_removed;return l&&l.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,l,i){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||"void"==i;e.forEach(e=>{e.queued||(t||e.triggerName==l)&&r.push(e)})}}return(n||l)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||l&&l!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const l=e.element,i=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==l,s=c(n,t,[]);this._getPreviousPlayers(t,a,i,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),s.push(t)})}I(l,e.fromStyles)}_buildAnimation(t,e,n,i,a,s){const u=e.triggerName,d=e.element,h=[],p=new Set,f=new Set,b=e.timelines.map(e=>{const r=e.element;p.add(r);const c=r.__ng_removed;if(c&&c.removedBeforeQueried)return new l.d(e.duration,e.delay);const b=r!==d,m=function(t){const e=[];return function t(e,n){for(let i=0;i<e.length;i++){const r=e[i];r instanceof l.o?t(r.players,n):n.push(r)}}(t,e),e}((n.get(r)||Pt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===r),g=a.get(r),_=s.get(r),y=o(0,this._normalizer,0,e.keyframes,g,_),A=this._buildPlayer(e,y,m);if(e.subTimeline&&i&&f.add(r),b){const e=new Tt(t,u,r);e.setRealPlayer(A),h.push(e)}return A});h.forEach(t=>{c(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let l;if(t instanceof Map){if(l=t.get(e),l){if(l.length){const t=l.indexOf(n);l.splice(t,1)}0==l.length&&t.delete(e)}}else if(l=t[e],l){if(l.length){const t=l.indexOf(n);l.splice(t,1)}0==l.length&&delete t[e]}return l}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Rt(t,"ng-animating"));const m=r(b);return m.onDestroy(()=>{p.forEach(t=>Ft(t,"ng-animating")),E(d,e.toStyles)}),f.forEach(t=>{c(i,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new l.d(t.duration,t.delay)}}class Tt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new l.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>a(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){c(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Et(t){return t&&1===t.nodeType}function It(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Lt(t,e,n,l,i){const r=[];n.forEach(t=>r.push(It(t)));const o=[];l.forEach((n,l)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(l,t,i);n&&0!=n.length||(l.__ng_removed=St,o.push(l))}),t.set(l,r)});let a=0;return n.forEach(t=>It(t,r[a++])),o}function jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const l=new Set(e),i=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=i.get(e);if(r)return r;const o=e.parentNode;return r=n.has(o)?o:l.has(o)?1:t(o),i.set(e,r),r}(t);1!==e&&n.get(e).push(t)}),n}function Rt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ft(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Nt(t,e,n){r(n).onDone(()=>t.processLeaveNode(e))}function Yt(t,e,n){const l=n.get(t);if(!l)return!1;let i=e.get(t);return i?l.forEach(t=>i.add(t)):e.set(t,l),n.delete(t),!0}class Ut{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Dt(t,e,n),this._timelineEngine=new wt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,l,i){const r=t+"-"+l;let o=this._triggerCache[r];if(!o){const t=[],e=K(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${l}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new At(t,e)}(l,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,l,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,l){this._transitionEngine.insertNode(t,e,n,l)}onRemove(t,e,n,l){this._transitionEngine.removeNode(t,e,l||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,l){if("@"==n.charAt(0)){const[t,i]=d(n);this._timelineEngine.command(t,e,i,l)}else this._transitionEngine.trigger(t,e,n,l)}listen(t,e,n,l,i){if("@"==n.charAt(0)){const[t,l]=d(n);return this._timelineEngine.listen(t,e,l,i)}return this._transitionEngine.listen(t,e,n,l,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Bt(t,e){let n=null,l=null;return Array.isArray(e)&&e.length?(n=Gt(e[0]),e.length>1&&(l=Gt(e[e.length-1]))):e&&(n=Gt(e)),n||l?new zt(t,n,l):null}let zt=(()=>{class t{constructor(e,n,l){this._element=e,this._startStyles=n,this._endStyles=l,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&E(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(E(this._element,this._initialStyles),this._endStyles&&(E(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(I(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),E(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Gt(t){let e=null;const n=Object.keys(t);for(let l=0;l<n.length;l++){const i=n[l];Ht(i)&&(e=e||{},e[i]=t[i])}return e}function Ht(t){return"display"===t||"position"===t}class Vt{constructor(t,e,n,l,i,r,o){this._element=t,this._name=e,this._duration=n,this._delay=l,this._easing=i,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Jt(t,"").trim();n.length&&(function(t,e){let n=0;for(let l=0;l<t.length;l++)","===t.charAt(l)&&n++}(n),e=`${n}, ${e}`),Kt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Xt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){qt(this._element,this._name,"paused")}resume(){qt(this._element,this._name,"running")}setPosition(t){const e=Wt(this._element,this._name);this._position=t*this._duration,Kt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Jt(t,"").split(","),l=$t(n,e);l>=0&&(n.splice(l,1),Kt(t,"",n.join(",")))}(this._element,this._name))}}function qt(t,e,n){Kt(t,"PlayState",n,Wt(t,e))}function Wt(t,e){const n=Jt(t,"");return n.indexOf(",")>0?$t(n.split(","),e):$t([n],e)}function $t(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Xt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Kt(t,e,n,l){const i="animation"+e;if(null!=l){const e=t.style[i];if(e.length){const t=e.split(",");t[l]=n,n=t.join(",")}}t.style[i]=n}function Jt(t,e){return t.style["animation"+e]}class Qt{constructor(t,e,n,l,i,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=l,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=l+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Vt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:H(this.element,n))})}this.currentSnapshot=t}}class Zt extends l.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=C(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class te{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>C(t));let l=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);l+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(l+=`${i}animation-timing-function: ${n};\n`));default:return void(l+=`${i}${e}: ${n};\n`)}}),l+=i+"}\n"}),l+="}\n";const r=document.createElement("style");return r.innerHTML=l,r}animate(t,e,n,l,i,r=[],o){o&&this._notifyFaultyScrubber();const a=r.filter(t=>t instanceof Qt),s={};B(n,l)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>s[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=z(t,e,s));if(0==n)return new Zt(t,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);const h=Bt(t,e),p=new Qt(t,e,c,n,l,i,u,h);return p.onDestroy(()=>{var t;(t=d).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class ee{constructor(t,e,n,l){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:H(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ne{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ie().toString()),this._cssKeyframesDriver=new te}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,l,i,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,l,i,r);const a={duration:n,delay:l,fill:0==l?"both":"forwards"};i&&(a.easing=i);const s={},u=r.filter(t=>t instanceof ee);B(n,l)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>s[t]=e[t])});const c=Bt(t,e=z(t,e=e.map(t=>O(t,!1)),s));return new ee(t,e,a,c)}}function le(){return"function"==typeof ie()}function ie(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},fQr7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("vDCU");class i{constructor(t){this.dialogRef=t,this.onSelect=l.a}closeModal(){this.dialogRef.close()}}},fURe:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("w+w1");class l{constructor(){}ngOnInit(){this.updateTrace()}ngOnDestroy(){this.cleanTrace()}updateTrace(){this.cleanTrace(),this.aircraft.trace&&(this.features=this.aircraft.trace.getFeatures(),this.features&&this.source.addFeatures(this.features))}cleanTrace(){this.features&&this.source&&this.features.forEach(t=>{this.source.removeFeature(t)})}}},fzPg:function(t,e,n){!function(t){"use strict";t.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g1uh:function(t,e,n){"use strict";var l,i=n("EwAT"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e){var n=this,l="Assertion failed. See https://openlayers.org/en/"+("latest"===i.a?i.a:"v"+i.a.split("-")[0])+"/doc/errors/#"+e+" for details.";return(n=t.call(this,l)||this).code=e,n.name="AssertionError",n.message=l,n}return r(e,t),e}(Error);e.a=o},g5Dd:function(t,e){!function(t){"use strict";e.encode=function(e){var n,l=new Uint8Array(e),i=l.length,r="";for(n=0;n<i;n+=3)r+=t[l[n]>>2],r+=t[(3&l[n])<<4|l[n+1]>>4],r+=t[(15&l[n+1])<<2|l[n+2]>>6],r+=t[63&l[n+2]];return i%3==2?r=r.substring(0,r.length-1)+"=":i%3==1&&(r=r.substring(0,r.length-2)+"=="),r},e.decode=function(e){var n,l,i,r,o,a=.75*e.length,s=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),d=new Uint8Array(c);for(n=0;n<s;n+=4)l=t.indexOf(e[n]),i=t.indexOf(e[n+1]),r=t.indexOf(e[n+2]),o=t.indexOf(e[n+3]),d[u++]=l<<2|i>>4,d[u++]=(15&i)<<4|r>>2,d[u++]=(3&r)<<6|63&o;return c}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},g6Z0:function(t,e,n){"use strict";var l=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0})},t.prototype.getColor=function(){return this.color_},t.prototype.setColor=function(t){this.color_=t},t}();e.a=l},g6rY:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l,i){var r,o,a,s=6371;return e*=t.DEG_2_RAD,n*=t.DEG_2_RAD,i*=t.DEG_2_RAD,r=Math.asin(Math.sin(e)*Math.cos(l/s)+Math.cos(e)*Math.sin(l/s)*Math.cos(i)),o=((o=n+Math.atan2(Math.sin(i)*Math.sin(l/s)*Math.cos(e),Math.cos(l/s)-Math.sin(e)*Math.sin(r)))+3*Math.PI)%(2*Math.PI)-Math.PI,a={latitude:r*t.RAD_2_DEG,longitude:o*t.RAD_2_DEG},isNaN(a.latitude)||isNaN(a.longitude)?null:a}return function(n){return t=n,e}})?l.apply(e,[]):l)||(t.exports=i)},g7xG:function(t,e,n){"use strict";function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n("7gqw"),r=function t(e,n,r,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];l(this,t),this.name=e,this.demonym=n,this.flag=i[o],this.iso2=r,this.iso3=o,this.altSpellings=a};t.exports=[new r("Afghanistan","Afghan","AF","AFG"),new r("Aland Islands","Alandic","AX","ALA"),new r("Albania","Albanian","AL","ALB"),new r("Algeria","Algerian","DZ","DZA"),new r("American Samoa","American Samoan","AS","ASM"),new r("Andorra","Andorran","AD","AND"),new r("Angola","Angolan","AO","AGO"),new r("Anguilla","Anguillian","AI","AIA"),new r("Antigua and Barbuda","Antiguan Barbudan","AG","ATG"),new r("Argentina","Argentinian","AR","ARG"),new r("Armenia","Armenian","AM","ARM"),new r("Aruba","Arubian","AW","ABW"),new r("Australia","Australian","AU","AUS"),new r("Austria","Austrian","AT","AUT"),new r("Azerbaijan","Azerbaijani","AZ","AZE"),new r("Bahamas","Bahamian","BS","BHS"),new r("Bahrain","Bahraini","BH","BHR"),new r("Bangladesh","Bengali","BD","BGD"),new r("Barbados","Barbadian","BB","BRB"),new r("Belarus","Belarusian","BY","BLR"),new r("Belgium","Belgian","BE","BEL"),new r("Belize","Belizean","BZ","BLZ"),new r("Benin","Beninese","BJ","BEN"),new r("Bermuda","Bermudian","BM","BMU"),new r("Bhutan","Bhutanese","BT","BTN"),new r("Bolivia","Bolivian","BO","BOL"),new r("Bonaire, Sint Eustatius and Saba","Dutch","BQ","BES"),new r("Bosnia and Herzegovina","Bosnian","BA","BIH"),new r("Botswana","Batswana","BW","BWA"),new r("Brazil","Brazilian","BR","BRA"),new r("British Virgin Islands","Virgin Islander","VG","VGB"),new r("Brunei","Bruneian","BN","BRN"),new r("Bulgaria","Bulgarian","BG","BGR"),new r("Burkina Faso","Burkinab\xe9","BF","BFA"),new r("Burundi","Burundian","BI","BDI"),new r("Cambodia","Cambodian","KH","KHM"),new r("Cameroon","Cameroonian","CM","CMR"),new r("Canada","Canadian","CA","CAN"),new r("Cape Verde","Cape Verdean","CV","CPV"),new r("Cayman Islands","Caymanian","KY","CYM"),new r("Central African Republic","Central African","CF","CAF"),new r("Chad","Chadian","TD","TCD"),new r("Chile","Chilean","CL","CHL"),new r("China","Chinese","CN","CHN"),new r("Christmas Island","Christmas Islander","CX","CXR"),new r("Cocos Islands","Taiwanese","CC","CCK"),new r("Colombia","Colombian","CO","COL"),new r("Comoros","Comorian","KM","COM"),new r("Congo","Congolese","CG","COG"),new r("Cook Islands","Cook Islander","CK","COK"),new r("Costa Rica","Costa Rican","CR","CRI"),new r("C\xf4te d'Ivoire","Ivorian","CI","CIV"),new r("Croatia","Croatian","HR","HRV"),new r("Cuba","Cuban","CU","CUB"),new r("Cura\xe7ao","Dutch","CW","CUW"),new r("Cyprus","Cypriot","CY","CYP"),new r("Czech Republic","Czech","CZ","CZE"),new r("Democratic Republic of the Congo","Congolese","KP","COD"),new r("Denmark","Danish","DK","DNK"),new r("Djibouti","Djiboutian","DJ","DJI"),new r("Dominica","Dominican","DM","DMA"),new r("Dominican Republic","Dominican","DO","DOM"),new r("Ecuador","Ecuadorian","EC","ECU"),new r("Egypt","Egyptian","EG","EGY"),new r("El Salvador","Salvadoran","SV","SLV"),new r("Equatorial Guinea","Equatoguinean","GQ","GNQ"),new r("Eritrea","Eritrean","ER","ERI"),new r("Estonia","Estonian","EE","EST"),new r("Ethiopia","Ethiopian","ET","ETH"),new r("Falkland Islands","Falkland Islander","FK","FLK"),new r("Faroe Islands","Faroese","FO","FRO"),new r("Fiji","Fijian","FJ","FJI"),new r("Finland","Finnish","FI","FIN"),new r("France","French","FR","FRA"),new r("French Guiana","Guianan","GF","GUF"),new r("French Polynesia","French Polynesian","PF","PYF"),new r("Gabon","Gabonese","GA","GAB"),new r("Gambia","Gambian","GM","GMB"),new r("Georgia","Georgian","GE","GEO"),new r("Germany","German","DE","DEU"),new r("Ghana","Ghanaian","GH","GHA"),new r("Gibraltar","Gibraltarian","GI","GIB"),new r("Greece","Greek","GR","GRC"),new r("Greenland","Greenlander","GL","GRL"),new r("Grenada","Grenadian","GD","GRD"),new r("Guadeloupe","Guadeloupean","GP","GLP"),new r("Guam","Guamanian","GU","GUM"),new r("Guatemala","Guatemalan","GT","GTM"),new r("Guernsey","Guernseymen","GG","GGY"),new r("Guinea-Bissau","Bissau-Guinean","GW","GNB"),new r("Guinea","Guinean","GN","GIN"),new r("Guyana","Guyanese","GY","GUY"),new r("Haiti","Haitian","HT","HTI"),new r("Holy See","Papal","VA","VAT",["Vatican"]),new r("Honduras","Honduran","HN","HND"),new r("Hong Kong","Hong Kongese","HK","HKG"),new r("Hungary","Hungarian","HU","HUN"),new r("Iceland","Icelander","IS","ISL"),new r("India","Indian","IN","IND"),new r("Indonesia","Indonesian","ID","IDN"),new r("Iran","Iranian","IR","IRN"),new r("Iraq","Iraqi","IQ","IRQ"),new r("Ireland","Irish","IE","IRL"),new r("Isle of Man","Manx","IM","IMN"),new r("Israel","Israeli","IL","ISR"),new r("Italy","Italian","IT","ITA"),new r("Jamaica","Jamaican","JM","JAM"),new r("Japan","Japanese","JP","JPN"),new r("Jersey","Jerseyman","JE","JEY"),new r("Jordan","Jordanian","JO","JOR"),new r("Kazakhstan","Kazakhstani","KZ","KAZ"),new r("Kenya","Kenyan","KE","KEN"),new r("Kiribati","I-Kiribati","KI","KIR"),new r("Kosovo","Kosovar","XK","XXK"),new r("Kuwait","\tKuwaiti","KW","KWT"),new r("Kyrgyzstan","Kyrgyzstani","KG","KGZ"),new r("Laos","Lao","LA","LAO"),new r("Latvia","Latvian","LV","LVA"),new r("Lebanon","Lebanese","LB","LBN"),new r("Lesotho","Lesothonian","LS","LSO"),new r("Liberia","Liberian","LR","LBR"),new r("Libya","Libyan","LY","LBY"),new r("Liechtenstein","Liechtensteiner","LI","LIE"),new r("Lithuania","Lithuanian","LT","LTU"),new r("Luxembourg","Luxembourgish","LU","LUX"),new r("Macao","Macau","MO","MAC"),new r("Madagascar","Malagasy","MG","MDG"),new r("Malawi","Malawian","MW","MWI"),new r("Malaysia","Malaysian","MY","MYS"),new r("Maldives","Maldivian","MV","MDV"),new r("Mali","Malian","ML","MLI"),new r("Malta","Maltese","MT","MLT"),new r("Marshall Islands","Marshallese","MH","MHL"),new r("Martinique","Martinican","MQ","MTQ"),new r("Mauritania","Mauritanian","MR","MRT"),new r("Mauritius","Mauritian","MU","MUS"),new r("Mayotte","Mahoran","YT","MYT"),new r("Mexico","Mexican","MX","MEX"),new r("Micronesia","Micronesian","FM","FSM"),new r("Moldova","Moldovan","MD","MDA"),new r("Monaco","Monegasque","MC","MCO"),new r("Mongolia","Mongolian","MN","MNG"),new r("Montenegro","Montenegrin","ME","MNE"),new r("Montserrat","Montserratian","MS","MSR"),new r("Morocco","Moroccan","MA","MAR"),new r("Mozambique","Mozambican","MZ","MOZ"),new r("Myanmar","Myanma","MM","MMR"),new r("Namibia","Namibian","NA","NAM"),new r("Nauru","Nauruan","NR","NRU"),new r("Nepal","Nepalese","NP","NPL"),new r("Netherlands Antilles","Netherlands Antillean","AN","ANT"),new r("Netherlands","Dutch","NL","NLD"),new r("New Caledonia","New Caledonian","NC","NCL"),new r("New Zealand","New Zealander","NZ","NZL"),new r("Nicaragua","Nicaraguan","NI","NIC"),new r("Niger","Nigerien","NE","NER"),new r("Nigeria","Nigerian","NG","NGA"),new r("Niue","Niuean","NU","NIU"),new r("Norfolk Island","Norfolk Islander","NF","NFK"),new r("North Korea","North Korea","KP","PRK"),new r("North Macedonia","Macedonian","MK","MKD"),new r("Northern Mariana Islands","Northern Mariana Islander","MP","MNP"),new r("Norway","Norwegian","NO","NOR"),new r("Oman","Omani","OM","OMN"),new r("Pakistan","Pakistani","PK","PAK"),new r("Palau","Palauan","PW","PLW"),new r("Palestine","Palestinian","PS","PSE"),new r("Panama","Panamanian","PA","PAN"),new r("Papua New Guinea","Papua New Guinean","PG","PNG"),new r("Paraguay","Paraguayan","PY","PRY"),new r("Peru","Peruvian","PE","PER"),new r("Philippines","Filipino","PH","PHL"),new r("Pitcairn","Pitcairn Islander","PN","PCN"),new r("Poland","Polish","PL","POL"),new r("Portugal","Portuguese","PT","PRT"),new r("Puerto Rico","Puerto Rican","PR","PRI"),new r("Qatar","Qatari","QA","QAT"),new r("R\xe9union","R\xe9unionese","RE","REU"),new r("Romania","Romanian","RO","ROU"),new r("Russia","Russian","RU","RUS"),new r("Rwanda","Rwandan","RW","RWA"),new r("Saint Barth\xe9lemy","Barth\xe9lemois","BL","BLM"),new r("Saint Helena, Ascension and Tristan da Cunha","Ascensionian","SH","SHN",["Saint Helenian","Tristanian"]),new r("Saint Kitts and Nevis","Kittitian","KN","KNA",["Nevisian"]),new r("Saint Lucia","Saint Lucian","LC","LCA"),new r("Saint Martin","Saint-Martinois","MF","MAF"),new r("Saint Pierre and Miquelon","Saint-Pierrais","PM","SPM"),new r("Saint Vincent and the Grenadines","Saint Vincentian","VC","VCT"),new r("Samoa","Samoan","WS","WSM"),new r("San Marino","Sammarinese","SM","SMR"),new r("Sao Tome and Principe","S\xe3o Tom\xe9an","ST","STP"),new r("Saudi Arabia","Saudi","SA","SAU"),new r("Senegal","Senegalese","SN","SEN"),new r("Serbia","Serbian","RS","SRB"),new r("Seychelles","Seychellois","SC","SYC"),new r("Sierra Leone","Sierra Leonean","SL","SLE"),new r("Singapore","Singaporean","SG","SGP",["SG","Singapura","Republik Singapura"]),new r("Sint Maarten","St. Maartener","SX","SXM"),new r("Slovakia","Slovak","SK","SVK"),new r("Slovenia","Slovenian","SI","SVN"),new r("Solomon Islands","Solomon Islander","SB","SLB"),new r("Somalia","Somali","SO","SOM"),new r("South Africa","South African","ZA","ZAF"),new r("South Georgia and the South Sandwich Islands","South Georgian","GS","SGS"),new r("South Korea","South Korean","KR","KOR",["Republic of Korea"]),new r("South Sudan","South Sudanese","SS","SSD"),new r("Spain","Spanish","ES","ESP"),new r("Sri Lanka","Sri Lankan","LK","LKA"),new r("Sudan","Sudanese","SD","SDN"),new r("Suriname","Surinamese","SR","SUR"),new r("Svalbard and Jan Mayen","Svalbard","SJ","SJM"),new r("Swaziland","Swazi","SZ","SWZ"),new r("Sweden","Swedish","SE","SWE"),new r("Switzerland","Swiss","CH","CHE"),new r("Syria","Syrian","SY","SYR"),new r("Taiwan","Taiwanese","TW","TWN"),new r("Tajikistan","Tajik","TJ","TJK"),new r("Tanzania","Tanzanian","TZ","TZA"),new r("Thailand","Thai","TH","THA"),new r("Timor-Leste","Timorese","TL","TLS"),new r("Togo","Togolese","TG","TGO"),new r("Tokelau","Tokelauan","TK","TKL"),new r("Tonga","Tongan","TO","TON"),new r("Trinidad and Tobago","Trinidadian and Tobagonian","TT","TTO"),new r("Tunisia","Tunisian","TN","TUN"),new r("Turkey","Turkish","TR","TUR"),new r("Turkmenistan","Turkmenistani","TM","TKM"),new r("Turks and Caicos Islands","Turks and Caicos Islander","TC","TCA"),new r("Tuvalu","Tuvaluan","TV","TUV"),new r("Uganda","Ugandan","UG","UGA"),new r("Ukraine","Ukrainian","UA","UKR"),new r("United Arab Emirates","Emirati","AE","ARE",["AE","UAE"]),new r("United Kingdom","British","GB","GBR",["UK"]),new r("United States Minor Outlying Islands","American Islander","UM","UMI"),new r("United States","American","US","USA",["USA"]),new r("Uruguay","Uruguayan","UY","URY"),new r("Uzbekistan","Uzbek","UZ","UZB"),new r("Vanuatu","Vanuatuan","VU","VUT"),new r("Venezuela","Venezuelan","VE","VEN"),new r("Vietnam","Vietnamese","VN","VNM",["Viet Nam","Republic of Viet Nam","South Vietnam"]),new r("Virgin Islands of the United States","Virgin Islander","VI","VIR"),new r("Wallis and Futuna","Wallisian","WF","WLF",["Futunan"]),new r("Western Sahara","Western Saharan","EH","ESH"),new r("Yemen","Yemeni","YE","YEM"),new r("Zambia","Zambian","ZM","ZMB"),new r("Zimbabwe","Zimbabwean","ZW","ZWE")]},gDAU:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n("978D"),n("YGmB"),n("oeKZ");var l=n("Y4ja"),i=n("oQtH"),r=n("wd/R");class o{constructor(t,e,n,l){this.trafficService=t,this.timeService=e,this.keycloakService=n,this.modeService=l,this.modeAll=!0,this.userRoles=[],this.defaultLogoutRedirection=i.a.config.auth.logoutReturn,console.log("CURRENT ROLE(S) OF THIS SESSION:",this.keycloakService.client().resourceAccess["sepia.angular"].roles.join(",")),this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}ngOnInit(){setInterval(()=>{this.currentDate=r().utc().format("DD/MM/YYYY - HH:mm:ss - z")},1e3/3),this.modeAll=this.modeService.getModeMap()===l.a.ALL_AIRCRAFT,this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.modeAll=t===l.a.ALL_AIRCRAFT})}logout(t){return t||(t=this.defaultLogoutRedirection),this.keycloakService.logout(t)}}},gFX4:function(t,e,n){var l=n("zJ60"),i=n("Uwu7"),r=n("eOtv"),o=n("x7D4")("socket.io-client");t.exports=e=s;var a=e.managers={};function s(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i=l(t),s=i.source,u=i.id;return e.forceNew||e["force new connection"]||!1===e.multiplex||a[u]&&i.path in a[u].nsps?(o("ignoring socket cache for %s",s),n=r(s,e)):(a[u]||(o("new io instance for %s",s),a[u]=r(s,e)),n=a[u]),i.query&&!e.query&&(e.query=i.query),n.socket(i.path,e)}e.protocol=i.protocol,e.connect=s,e.Manager=n("eOtv"),e.Socket=n("KFGy")},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("2fFW"),i=n("NJ4a");const r={closed:!0,next(t){},error(t){if(l.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete(){}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i=t+" ";switch(n){case"s":return e||l?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===t?e?"sekundo":"sekundi":2===t?e||l?"sekundi":"sekundah":t<5?e||l?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return i+(1===t?e?"minuta":"minuto":2===t?e||l?"minuti":"minutama":t<5?e||l?"minute":"minutami":e||l?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return i+(1===t?e?"ura":"uro":2===t?e||l?"uri":"urama":t<5?e||l?"ure":"urami":e||l?"ur":"urami");case"d":return e||l?"en dan":"enim dnem";case"dd":return i+(1===t?e||l?"dan":"dnem":2===t?e||l?"dni":"dnevoma":e||l?"dni":"dnevi");case"M":return e||l?"en mesec":"enim mesecem";case"MM":return i+(1===t?e||l?"mesec":"mesecem":2===t?e||l?"meseca":"mesecema":t<5?e||l?"mesece":"meseci":e||l?"mesecev":"meseci");case"y":return e||l?"eno leto":"enim letom";case"yy":return i+(1===t?e||l?"leto":"letom":2===t?e||l?"leti":"letoma":t<5?e||l?"leta":"leti":e||l?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gavF:function(t,e,n){"use strict";n.d(e,"d",(function(){return k})),n.d(e,"a",(function(){return S})),n.d(e,"h",(function(){return M})),n.d(e,"e",(function(){return x})),n.d(e,"g",(function(){return E})),n.d(e,"c",(function(){return O})),n.d(e,"b",(function(){return C})),n.d(e,"i",(function(){return I})),n.d(e,"f",(function(){return L})),n.d(e,"j",(function(){return D})),n("GS7A");var l=n("zMNK"),i=n("8Y7J"),r=n("XNiG"),o=n("quSY"),a=n("VRyK"),s=n("LRne"),u=n("7Hc7"),c=n("5GAg"),d=n("Xd0L"),h=n("KCVW"),p=n("dvZr"),f=n("JX91"),b=n("eIep"),m=n("IzEk"),g=n("pLZG"),_=n("1G5W"),y=n("3E0/"),A=n("QQfA"),v=n("/HVE");const C=new i.w("MAT_MENU_PANEL");class w{}const P=Object(d.F)(Object(d.G)(w));class x extends P{constructor(t,e,n,l){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=l,this.role="menuitem",this._hovered=new r.a,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),l&&l.addItem&&l.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n="";if(t.childNodes){const l=t.childNodes.length;for(let i=0;i<l;i++)t.childNodes[i].nodeType===e&&(n+=t.childNodes[i].textContent)}return n.trim()}}const S=new i.w("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});class k extends class{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.L,this._tabSubscription=o.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.r,this.close=this.closed}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(h.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(h.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new c.g(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab"))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(f.a)(this._directDescendantItems),Object(b.a)(t=>Object(a.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case p.h:Object(p.t)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case p.j:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case p.n:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case p.i:case p.f:Object(p.t)(t)||(e===p.i?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==p.q&&e!==p.e||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){const e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>e.setFocusOrigin(t).setFirstItemActive()):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(f.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}{}class M extends k{constructor(t,e,n){super(t,e,n)}}const O=new i.w("mat-menu-scroll-strategy");function D(t){return()=>t.scrollStrategies.reposition()}const T=Object(v.g)({passive:!0});class E{constructor(t,e,n,l,r,a,s,u){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=a,this._dir=s,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=o.a.EMPTY,this._hoverSubscription=o.a.EMPTY,this._menuCloseSubscription=o.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.r,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.r,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,T),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=l}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,T),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof k&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof k?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(g.a)(t=>"void"===t.toState),Object(m.a)(1),Object(_.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new A.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[l,i],[a,s]=[e,n],u=0;this.triggersSubmenu()?(s=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",u="bottom"===l?8:-8):this.menu.overlapTrigger||(r="top"===l?"bottom":"top",o="top"===i?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:l,offsetY:u},{originX:n,originY:r,overlayX:s,overlayY:l,offsetY:u},{originX:e,originY:o,overlayX:a,overlayY:i,offsetY:-u},{originX:n,originY:o,overlayX:s,overlayY:i,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(s.a)(),l=this._parentMenu?this._parentMenu._hovered().pipe(Object(g.a)(t=>t!==this._menuItemInstance),Object(g.a)(()=>this._menuOpen)):Object(s.a)();return Object(a.a)(t,n,l,e)}_handleMousedown(t){Object(c.k)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===p.n&&"ltr"===this.dir||e===p.j&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(g.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(y.a)(0,u.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof k&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(m.a)(1),Object(y.a)(0,u.a),Object(_.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new l.h(this.menu.templateRef,this._viewContainerRef)),this._portal}}class I{}class L{}},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function l(t,l,i,r){var o="";switch(i){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(t,l){return t<10?l?n[t]:e[t]:t}(t,r)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},gpXz:function(t,e,n){"use strict";var l=n("g6Z0"),i=n("KfZV"),r=function(){function t(t){var e=t||{};this.font_=e.font,this.rotation_=e.rotation,this.rotateWithView_=e.rotateWithView,this.scale_=e.scale,this.text_=e.text,this.textAlign_=e.textAlign,this.textBaseline_=e.textBaseline,this.fill_=void 0!==e.fill?e.fill:new l.a({color:"#333"}),this.maxAngle_=void 0!==e.maxAngle?e.maxAngle:Math.PI/4,this.placement_=void 0!==e.placement?e.placement:i.a.POINT,this.overflow_=!!e.overflow,this.stroke_=void 0!==e.stroke?e.stroke:null,this.offsetX_=void 0!==e.offsetX?e.offsetX:0,this.offsetY_=void 0!==e.offsetY?e.offsetY:0,this.backgroundFill_=e.backgroundFill?e.backgroundFill:null,this.backgroundStroke_=e.backgroundStroke?e.backgroundStroke:null,this.padding_=void 0===e.padding?null:e.padding}return t.prototype.clone=function(){return new t({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:this.getScale(),text:this.getText(),textAlign:this.getTextAlign(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()})},t.prototype.getOverflow=function(){return this.overflow_},t.prototype.getFont=function(){return this.font_},t.prototype.getMaxAngle=function(){return this.maxAngle_},t.prototype.getPlacement=function(){return this.placement_},t.prototype.getOffsetX=function(){return this.offsetX_},t.prototype.getOffsetY=function(){return this.offsetY_},t.prototype.getFill=function(){return this.fill_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.getText=function(){return this.text_},t.prototype.getTextAlign=function(){return this.textAlign_},t.prototype.getTextBaseline=function(){return this.textBaseline_},t.prototype.getBackgroundFill=function(){return this.backgroundFill_},t.prototype.getBackgroundStroke=function(){return this.backgroundStroke_},t.prototype.getPadding=function(){return this.padding_},t.prototype.setOverflow=function(t){this.overflow_=t},t.prototype.setFont=function(t){this.font_=t},t.prototype.setMaxAngle=function(t){this.maxAngle_=t},t.prototype.setOffsetX=function(t){this.offsetX_=t},t.prototype.setOffsetY=function(t){this.offsetY_=t},t.prototype.setPlacement=function(t){this.placement_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setFill=function(t){this.fill_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.setText=function(t){this.text_=t},t.prototype.setTextAlign=function(t){this.textAlign_=t},t.prototype.setTextBaseline=function(t){this.textBaseline_=t},t.prototype.setBackgroundFill=function(t){this.backgroundFill_=t},t.prototype.setBackgroundStroke=function(t){this.backgroundStroke_=t},t.prototype.setPadding=function(t){this.padding_=t},t}();e.a=r},grDu:function(t,e,n){"use strict";e.a={FRACTION:"fraction",PIXELS:"pixels"}},h3hZ:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("DsAt"),o=n("AdTM"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l,i){var r=t.call(this)||this;return r.extent=e,r.pixelRatio_=l,r.resolution=n,r.state=i,r}return a(e,t),e.prototype.changed=function(){this.dispatchEvent(o.a.CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return Object(i.b)()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){Object(i.b)()},e}(r.a);e.a=s},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hOhj:function(t,e,n){"use strict";var l=n("8Y7J"),i=(n("KCVW"),n("XNiG")),r=n("LRne"),o=n("HDdC"),a=n("xgIS"),s=(n("eNwd"),n("7Hc7"),n("VRyK")),u=(n("/uUt"),n("3UWI")),c=n("pLZG"),d=n("1G5W");n("JX91"),n("Zy1z"),n("eIep"),n("3N8a"),n("IjjT"),n("quSY"),n("7o/Q"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return f})),n.d(e,"c",(function(){return b})),n.d(e,"e",(function(){return m})),n.d(e,"d",(function(){return g}));let p=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(u.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(r.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,l)=>{this._scrollableContainsElement(l,t)&&e.push(l)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,l=t.getElementRef().nativeElement;do{if(n==l)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(a.a)(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(l.G),Object(l.dc)(h.a))},token:t,providedIn:"root"}),t})();class f{constructor(t,e,n,l){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=l,this._destroyed=new i.a,this._elementScrolled=new o.a(t=>this.ngZone.runOutsideAngular(()=>Object(a.a)(this.elementRef.nativeElement,"scroll").pipe(Object(d.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;t.left=null==t.left?n?t.end:t.start:t.left,t.right=null==t.right?n?t.start:t.end:t.right,null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&Object(h.e)()!=h.c.NORMAL?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),Object(h.e)()==h.c.INVERTED?t.left=t.right:Object(h.e)()==h.c.NEGATED&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(h.h)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&Object(h.e)()==h.c.INVERTED?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&Object(h.e)()==h.c.NEGATED?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}class b{}let m=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(s.a)(Object(a.a)(window,"resize"),Object(a.a)(window,"orientationchange")):Object(r.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(u.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(h.a),Object(l.dc)(l.G))},token:t,providedIn:"root"}),t})();const g={provide:m,deps:[[new l.H,new l.R,m],h.a,l.G],useFactory:function(t,e,n){return t||new m(e,n)}}},hUP0:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("svHU"),i=n("8Y7J");let r=(()=>{class t{constructor(t){this.mapService=t,this.currentModeName="dark",this.lightDarksList={}}switchLightDarkMode(){this.currentModeName="dark"===this.currentModeName?"light":"dark",this.setLightDarkMode()}setLightDarkMode(){for(const t in this.lightDarksList)if(this.lightDarksList[t]){const e=this.mapService.getLayer(t);e&&e.setVisible(!0===this.lightDarksList[t][this.currentModeName])}}addLayerInLightDarkList(t,e){this.lightDarksList[e]||(this.lightDarksList[e]={light:!1,dark:!1}),this.lightDarksList[e][t]=!0}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(l.a))},token:t,providedIn:"root"}),t})()},hnpS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},hoJM:function(t,e,n){"use strict";var l=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=void 0!==e.lineDash?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})},t.prototype.getColor=function(){return this.color_},t.prototype.getLineCap=function(){return this.lineCap_},t.prototype.getLineDash=function(){return this.lineDash_},t.prototype.getLineDashOffset=function(){return this.lineDashOffset_},t.prototype.getLineJoin=function(){return this.lineJoin_},t.prototype.getMiterLimit=function(){return this.miterLimit_},t.prototype.getWidth=function(){return this.width_},t.prototype.setColor=function(t){this.color_=t},t.prototype.setLineCap=function(t){this.lineCap_=t},t.prototype.setLineDash=function(t){this.lineDash_=t},t.prototype.setLineDashOffset=function(t){this.lineDashOffset_=t},t.prototype.setLineJoin=function(t){this.lineJoin_=t},t.prototype.setMiterLimit=function(t){this.miterLimit_=t},t.prototype.setWidth=function(t){this.width_=t},t}();e.a=l},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"hp/u":function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},hrfs:function(t,e,n){"use strict";n.d(e,"b",(function(){return g})),n.d(e,"a",(function(){return m})),n.d(e,"c",(function(){return f}));var l=n("MO+k"),i=n("8Y7J"),r=n("2Vo4"),o=n("LvDl");const a=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]];function s(t,e){return"rgba("+t.concat(e).join(",")+")"}function u(t,e){return Math.floor(Math.random()*(e-t+1))+t}function c(t){return{backgroundColor:t.map(t=>s(t,.6)),borderColor:t.map(()=>"#fff"),pointBackgroundColor:t.map(t=>s(t,1)),pointBorderColor:t.map(()=>"#fff"),pointHoverBackgroundColor:t.map(t=>s(t,1)),pointHoverBorderColor:t.map(t=>s(t,1))}}function d(){return[u(0,255),u(0,255),u(0,255)]}function h(t){return a[t]||d()}function p(t){const e=new Array(t);for(let n=0;n<t;n++)e[n]=a[n]||d();return e}let f=(()=>{class t{constructor(){this.pColorschemesOptions={},this.colorschemesOptions=new r.a({})}setColorschemesOptions(t){this.pColorschemesOptions=t,this.colorschemesOptions.next(t)}getColorschemesOptions(){return this.pColorschemesOptions}}return t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const b=function(){var t={Default:0,Update:1,Refresh:2};return t[t.Default]="Default",t[t.Update]="Update",t[t.Refresh]="Refresh",t}();class m{constructor(t,e){this.element=t,this.themeService=e,this.options={},this.chartClick=new i.r,this.chartHover=new i.r,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}static registerPlugin(t){l.Chart.plugins.register(t)}static unregisterPlugin(t){l.Chart.plugins.unregister(t)}ngOnInit(){this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe(t=>this.themeChanged(t)))}themeChanged(t){this.refresh()}ngDoCheck(){if(!this.chart)return;let t=b.Default;const e=e=>{t=e>t?e:t};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,e(b.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,e(b.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,e(b.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,e(b.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data!==this.old.datasetsDataObjects[e]).length&&(this.old.datasetsDataObjects=this.datasets.map(t=>t.data),e(b.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data.length!==this.old.datasetsDataLengths[e]).length&&(this.old.datasetsDataLengths=this.datasets.map(t=>t.data.length),e(b.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),e(b.Update)),this.colors&&this.colors.filter((t,e)=>!this.colorsEqual(t,this.old.colors[e])).length&&(this.old.colors=this.colors.map(t=>this.copyColor(t)),this.updateColors(),e(b.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,e(b.Update)),this.labels&&this.labels.filter((t,e)=>!this.labelsEqual(t,this.old.labels[e])).length&&(this.old.labels=this.labels.map(t=>this.copyLabel(t)),e(b.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,e(b.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,e(b.Refresh)),t){case b.Default:break;case b.Update:this.update();break;case b.Refresh:this.refresh()}}copyLabel(t){return Array.isArray(t)?[...t]:t}labelsEqual(t,e){return Array.isArray(t)===Array.isArray(e)&&(Array.isArray(t)||t===e)&&(!Array.isArray(t)||t.length===e.length)&&(!Array.isArray(t)||0===t.filter((t,n)=>t!==e[n]).length)}copyColor(t){return{backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderColor:t.borderColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,pointBorderColor:t.pointBorderColor,pointBackgroundColor:t.pointBackgroundColor,pointBorderWidth:t.pointBorderWidth,pointRadius:t.pointRadius,pointHoverRadius:t.pointHoverRadius,pointHitRadius:t.pointHitRadius,pointHoverBackgroundColor:t.pointHoverBackgroundColor,pointHoverBorderColor:t.pointHoverBorderColor,pointHoverBorderWidth:t.pointHoverBorderWidth,pointStyle:t.pointStyle,hoverBackgroundColor:t.hoverBackgroundColor,hoverBorderColor:t.hoverBorderColor,hoverBorderWidth:t.hoverBorderWidth}}colorsEqual(t,e){return!t==!e&&(!t||t.backgroundColor===e.backgroundColor&&t.borderWidth===e.borderWidth&&t.borderColor===e.borderColor&&t.borderCapStyle===e.borderCapStyle&&t.borderDash===e.borderDash&&t.borderDashOffset===e.borderDashOffset&&t.borderJoinStyle===e.borderJoinStyle&&t.pointBorderColor===e.pointBorderColor&&t.pointBackgroundColor===e.pointBackgroundColor&&t.pointBorderWidth===e.pointBorderWidth&&t.pointRadius===e.pointRadius&&t.pointHoverRadius===e.pointHoverRadius&&t.pointHitRadius===e.pointHitRadius&&t.pointHoverBackgroundColor===e.pointHoverBackgroundColor&&t.pointHoverBorderColor===e.pointHoverBorderColor&&t.pointHoverBorderWidth===e.pointHoverBorderWidth&&t.pointStyle===e.pointStyle&&t.hoverBackgroundColor===e.hoverBackgroundColor&&t.hoverBorderColor===e.hoverBorderColor&&t.hoverBorderWidth===e.hoverBorderWidth)}updateColors(){this.datasets.forEach((t,e)=>{this.colors&&this.colors[e]?Object.assign(t,this.colors[e]):Object.assign(t,function(t,e,n){if("pie"===t||"doughnut"===t)return c(p(n));if("polarArea"===t)return{backgroundColor:(l=p(n)).map(t=>s(t,.6)),borderColor:l.map(t=>s(t,1)),hoverBackgroundColor:l.map(t=>s(t,.8)),hoverBorderColor:l.map(t=>s(t,1))};var l;if("line"===t||"radar"===t)return function(t){return{backgroundColor:s(t,.4),borderColor:s(t,1),pointBackgroundColor:s(t,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:s(t,.8)}}(h(e));if("bar"===t||"horizontalBar"===t)return function(t){return{backgroundColor:s(t,.6),borderColor:s(t,1),hoverBackgroundColor:s(t,.8),hoverBorderColor:s(t,1)}}(h(e));if("bubble"===t)return c(p(n));if("scatter"===t)return c(p(n));throw new Error("getColors - Unsupported chart type "+t)}(this.chartType,e,t.data.length),Object.assign({},t))})}ngOnChanges(t){let e=b.Default;const n=t=>{e=t>e?t:e};switch(t.hasOwnProperty("data")&&t.data.currentValue&&(this.propagateDataToDatasets(t.data.currentValue),n(b.Update)),t.hasOwnProperty("datasets")&&t.datasets.currentValue&&(this.propagateDatasetsToData(t.datasets.currentValue),n(b.Update)),t.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=t.labels.currentValue),n(b.Update)),t.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=t.legend.currentValue,this.chart.generateLegend()),n(b.Update)),t.hasOwnProperty("options")&&n(b.Refresh),e){case b.Update:this.update();break;case b.Refresh:case b.Default:this.refresh()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}update(t,e){if(this.chart)return this.chart.update(t,e)}hideDataset(t,e){this.chart.getDatasetMeta(t).hidden=e,this.chart.update()}isDatasetHidden(t){return this.chart.getDatasetMeta(t).hidden}toBase64Image(){return this.chart.toBase64Image()}getChartConfiguration(){const t=this.getDatasets(),e=Object.assign({},this.options);!1===this.legend&&(e.legend={display:!1}),e.hover=e.hover||{},e.hover.onHover||(e.hover.onHover=(t,e)=>{e&&!e.length||this.chartHover.emit({event:t,active:e})}),e.onClick||(e.onClick=(t,e)=>{this.chartClick.emit({event:t,active:e})});const n=this.smartMerge(e,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:t},plugins:this.plugins,options:n}}getChartBuilder(t){const e=this.getChartConfiguration();return new l.Chart(t,e)}smartMerge(t,e,n=0){if(0===n&&(t=Object(o.cloneDeep)(t)),Object.keys(e).forEach(l=>{if(Array.isArray(e[l])){const i=t[l];i&&i.forEach(t=>{this.smartMerge(t,e[l][0],n+1)})}else"object"==typeof e[l]?(l in t||(t[l]={}),this.smartMerge(t[l],e[l],n+1)):t[l]=e[l]}),0===n)return t}isMultiLineLabel(t){return Array.isArray(t)}joinLabel(t){return t?this.isMultiLineLabel(t)?t.join(" "):t:null}propagateDatasetsToData(t){this.data=this.datasets.map(t=>t.data),this.chart&&(this.chart.data.datasets=t),this.updateColors()}propagateDataToDatasets(t){this.isMultiDataSet(t)?this.datasets&&t.length===this.datasets.length?this.datasets.forEach((e,n)=>{e.data=t[n]}):(this.datasets=t.map((t,e)=>({data:t,label:this.joinLabel(this.labels[e])||"Label "+e})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0].data=t,this.datasets.splice(1)):(this.datasets=[{data:t}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}isMultiDataSet(t){return Array.isArray(t[0])}getDatasets(){if(!this.datasets&&!this.data)throw new Error("ng-charts configuration error, data or datasets field are required to render chart "+this.chartType);return this.datasets?(this.propagateDatasetsToData(this.datasets),this.datasets):this.data?(this.propagateDataToDatasets(this.data),this.datasets):void 0}refresh(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}class g{}},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iInd:function(t,e,n){"use strict";var l=n("SVse"),i=n("8Y7J"),r=n("LRne"),o=n("Cfvw"),a=n("2Vo4"),s=n("HDdC");const u=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var c=n("itXk"),d=n("NXyV"),h=n("XNiG"),p=n("EY2u"),f=n("lJxs"),b=n("0EUg"),m=n("pLZG"),g=n("7o/Q"),_=n("4I5i");function y(t){return function(e){return 0===t?Object(p.b)():e.lift(new A(t))}}class A{constructor(t){if(this.total=t,this.total<0)throw new _.a}call(t,e){return e.subscribe(new v(t,this.total))}}class v extends g.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,l=this.count++;e.length<n?e.push(t):e[l%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,l=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(l[i])}}t.complete()}}function C(t=x){return e=>e.lift(new w(t))}class w{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new P(t,this.errorFactory))}}class P extends g.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function x(){return new u}function S(t=null){return e=>e.lift(new k(t))}class k{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new M(t,this.defaultValue))}}class M extends g.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var O=n("SpAZ");function D(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(m.a)((e,n)=>t(e,n,l)):O.a,y(1),n?S(e):C(()=>new u))}var T=n("JIr8"),E=n("IzEk");function I(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(m.a)((e,n)=>t(e,n,l)):O.a,Object(E.a)(1),n?S(e):C(()=>new u))}var L=n("5+tZ");class j{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new R(t,this.predicate,this.thisArg,this.source))}}class R extends g.a{constructor(t,e,n,l){super(t),this.predicate=e,this.thisArg=n,this.source=l,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var F=n("eIep"),N=n("JX91");function Y(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(l){return l.lift(new U(t,e,n))}}class U{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new B(t,this.accumulator,this.seed,this.hasSeed))}}class B extends g.a{constructor(t,e,n,l){super(t),this.accumulator=e,this._seed=n,this.hasSeed=l,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(l){this.destination.error(l)}this.seed=n,this.destination.next(n)}}var z=n("bOdf"),G=n("mCNh"),H=n("vkgz"),V=n("nYR2"),q=n("bHdf"),W=n("cUpR");n.d(e,"D",(function(){return dt})),n.d(e,"t",(function(){return xn})),n.d(e,"A",(function(){return jn})),n.d(e,"v",(function(){return On})),n.d(e,"B",(function(){return Rn})),n.d(e,"C",(function(){return Fn})),n.d(e,"x",(function(){return Tn})),n.d(e,"w",(function(){return Dn})),n.d(e,"z",(function(){return Ln})),n.d(e,"u",(function(){return kn})),n.d(e,"y",(function(){return In})),n.d(e,"E",(function(){return wn})),n.d(e,"n",(function(){return pn})),n.d(e,"p",(function(){return gn})),n.d(e,"d",(function(){return X})),n.d(e,"l",(function(){return nn})),n.d(e,"m",(function(){return hn})),n.d(e,"k",(function(){return rn})),n.d(e,"i",(function(){return Pn})),n.d(e,"j",(function(){return Nn})),n.d(e,"o",(function(){return Mn})),n.d(e,"b",(function(){return mn})),n.d(e,"e",(function(){return vn})),n.d(e,"g",(function(){return An})),n.d(e,"h",(function(){return yn})),n.d(e,"q",(function(){return Cn})),n.d(e,"a",(function(){return ee})),n.d(e,"f",(function(){return ht})),n.d(e,"r",(function(){return an})),n.d(e,"c",(function(){return Lt})),n.d(e,"s",(function(){return It}));class ${constructor(t,e){this.id=t,this.url=e}}class X extends ${constructor(t,e,n="imperative",l=null){super(t,e),this.navigationTrigger=n,this.restoredState=l}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class K extends ${constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class J extends ${constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Q extends ${constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Z extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends ${constructor(t,e,n,l,i){super(t,e),this.urlAfterRedirects=n,this.state=l,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ot{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ut{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dt{}const ht="primary";class pt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ft(t){return new pt(t)}function bt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function mt(t,e,n){const l=n.path.split("/");if(l.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||l.length<t.length))return null;const i={};for(let r=0;r<l.length;r++){const e=l[r],n=t[r];if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,l.length),posParams:i}}class gt{constructor(t,e){this.routes=t,this.module=e}}function _t(t,e=""){for(let n=0;n<t.length;n++){const l=t[n];yt(l,At(e,l))}}function yt(t,e){if(!t)throw new Error(`\n Invalid configuration of route '${e}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==ht)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&_t(t.children,e)}function At(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function vt(t){const e=t.children&&t.children.map(vt),n=e?Object.assign({},t,{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==ht&&(n.component=dt),n}function Ct(t,e){const n=Object.keys(t),l=Object.keys(e);if(!n||!l||n.length!=l.length)return!1;let i;for(let r=0;r<n.length;r++)if(i=n[r],t[i]!==e[i])return!1;return!0}function wt(t){return Array.prototype.concat.apply([],t)}function Pt(t){return t.length>0?t[t.length-1]:null}function xt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function St(t){return Object(i.Jb)(t)?t:Object(i.Kb)(t)?Object(o.a)(Promise.resolve(t)):Object(r.a)(t)}function kt(t,e,n){return n?function(t,e){return Ct(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Tt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const l in n.children){if(!e.children[l])return!1;if(!t(e.children[l],n.children[l]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,l,i){if(n.segments.length>i.length)return!!Tt(n.segments.slice(0,i.length),i)&&!l.hasChildren();if(n.segments.length===i.length){if(!Tt(n.segments,i))return!1;for(const e in l.children){if(!n.children[e])return!1;if(!t(n.children[e],l.children[e]))return!1}return!0}{const t=i.slice(0,n.segments.length),r=i.slice(n.segments.length);return!!Tt(n.segments,t)&&!!n.children[ht]&&e(n.children[ht],l,r)}}(e,n,n.segments)}(t.root,e.root)}class Mt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return jt.serialize(this)}}class Ot{constructor(t,e){this.segments=t,this.children=e,this.parent=null,xt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rt(this)}}class Dt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ft(this.parameters)),this._parameterMap}toString(){return zt(this)}}function Tt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Et(t,e){let n=[];return xt(t.children,(t,l)=>{l===ht&&(n=n.concat(e(t,l)))}),xt(t.children,(t,l)=>{l!==ht&&(n=n.concat(e(t,l)))}),n}class It{}class Lt{parse(t){const e=new Wt(t);return new Mt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Rt(e);if(n){const n=e.children[ht]?t(e.children[ht],!1):"",l=[];return xt(e.children,(e,n)=>{n!==ht&&l.push(`${n}:${t(e,!1)}`)}),l.length>0?`${n}(${l.join("//")})`:n}{const n=Et(e,(n,l)=>l===ht?[t(e.children[ht],!1)]:[`${l}:${t(n,!1)}`]);return`${Rt(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Nt(e)}=${Nt(t)}`).join("&"):`${Nt(e)}=${Nt(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const jt=new Lt;function Rt(t){return t.segments.map(t=>zt(t)).join("/")}function Ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(t){return Ft(t).replace(/%3B/gi,";")}function Yt(t){return Ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ut(t){return decodeURIComponent(t)}function Bt(t){return Ut(t.replace(/\+/g,"%20"))}function zt(t){return`${Yt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Yt(t)}=${Yt(e[t])}`).join("")}`;var e}const Gt=/^[^\/()?;=#]+/;function Ht(t){const e=t.match(Gt);return e?e[0]:""}const Vt=/^[^=?&#]+/,qt=/^[^?&#]+/;class Wt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ot([],{}):new Ot([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ht]=new Ot(t,e)),n}parseSegment(){const t=Ht(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Dt(Ut(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ht(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ht(this.remaining);t&&(n=t,this.capture(n))}t[Ut(e)]=Ut(n)}parseQueryParam(t){const e=function(t){const e=t.match(Vt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(qt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const l=Bt(e),i=Bt(n);if(t.hasOwnProperty(l)){let e=t[l];Array.isArray(e)||(e=[e],t[l]=e),e.push(i)}else t[l]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ht(this.remaining),l=this.remaining[n.length];if("/"!==l&&")"!==l&&";"!==l)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=ht);const r=this.parseChildren();e[i]=1===Object.keys(r).length?r[ht]:new Ot([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class $t{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Xt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Xt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Kt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Kt(t,this._root).map(t=>t.value)}}function Xt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Xt(t,n);if(e)return e}return null}function Kt(t,e){if(t===e.value)return[e];for(const n of e.children){const l=Kt(t,n);if(l.length)return l.unshift(e),l}return[]}class Jt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Qt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Zt extends $t{constructor(t,e){super(t),this.snapshot=e,re(this,t)}toString(){return this.snapshot.toString()}}function te(t,e){const n=function(t,e){const n=new le([],{},{},"",{},ht,e,null,t.root,-1,{});return new ie("",new Jt(n,[]))}(t,e),l=new a.a([new Dt("",{})]),i=new a.a({}),r=new a.a({}),o=new a.a({}),s=new a.a(""),u=new ee(l,i,o,s,r,ht,e,n.root);return u.snapshot=n.root,new Zt(new Jt(u,[]),n)}class ee{constructor(t,e,n,l,i,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=l,this.data=i,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(t=>ft(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>ft(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ne(t,e="emptyOnly"){const n=t.pathFromRoot;let l=0;if("always"!==e)for(l=n.length-1;l>=1;){const t=n[l],e=n[l-1];if(t.routeConfig&&""===t.routeConfig.path)l--;else{if(e.component)break;l--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(l))}class le{constructor(t,e,n,l,i,r,o,a,s,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=l,this.data=i,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=s,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ie extends $t{constructor(t,e){super(e),this.url=t,re(this,e)}toString(){return oe(this._root)}}function re(t,e){e.value._routerState=t,e.children.forEach(e=>re(t,e))}function oe(t){const e=t.children.length>0?` { ${t.children.map(oe).join(", ")} } `:"";return`${t.value}${e}`}function ae(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ct(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Ct(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Ct(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Ct(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function se(t,e){var n,l;return Ct(t.params,e.params)&&Tt(n=t.url,l=e.url)&&n.every((t,e)=>Ct(t.parameters,l[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||se(t.parent,e.parent))}function ue(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ce(t,e,n,l,i){let r={};return l&&xt(l,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Mt(n.root===t?e:function t(e,n,l){const i={};return xt(e.children,(e,r)=>{i[r]=e===n?l:t(e,n,l)}),new Ot(e.segments,i)}(n.root,t,e),r,i)}class de{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ue(n[0]))throw new Error("Root segment cannot have matrix parameters");const l=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(l&&l!==Pt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class he{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function pe(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[ht]:""+t}function fe(t,e,n){if(t||(t=new Ot([],{})),0===t.segments.length&&t.hasChildren())return be(t,e,n);const l=function(t,e,n){let l=0,i=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(l>=n.length)return r;const e=t.segments[i],o=pe(n[l]),a=l<n.length-1?n[l+1]:null;if(i>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!ye(o,a,e))return r;l+=2}else{if(!ye(o,{},e))return r;l++}i++}return{match:!0,pathIndex:i,commandIndex:l}}(t,e,n),i=n.slice(l.commandIndex);if(l.match&&l.pathIndex<t.segments.length){const e=new Ot(t.segments.slice(0,l.pathIndex),{});return e.children[ht]=new Ot(t.segments.slice(l.pathIndex),t.children),be(e,0,i)}return l.match&&0===i.length?new Ot(t.segments,{}):l.match&&!t.hasChildren()?me(t,e,n):l.match?be(t,0,i):me(t,e,n)}function be(t,e,n){if(0===n.length)return new Ot(t.segments,{});{const l=function(t){return"object"!=typeof t[0]?{[ht]:t}:void 0===t[0].outlets?{[ht]:t}:t[0].outlets}(n),i={};return xt(l,(n,l)=>{null!==n&&(i[l]=fe(t.children[l],e,n))}),xt(t.children,(t,e)=>{void 0===l[e]&&(i[e]=t)}),new Ot(t.segments,i)}}function me(t,e,n){const l=t.segments.slice(0,e);let i=0;for(;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){const t=ge(n[i].outlets);return new Ot(l,t)}if(0===i&&ue(n[0])){l.push(new Dt(t.segments[e].path,n[0])),i++;continue}const r=pe(n[i]),o=i<n.length-1?n[i+1]:null;r&&o&&ue(o)?(l.push(new Dt(r,_e(o))),i+=2):(l.push(new Dt(r,{})),i++)}return new Ot(l,{})}function ge(t){const e={};return xt(t,(t,n)=>{null!==t&&(e[n]=me(new Ot([],{}),0,t))}),e}function _e(t){const e={};return xt(t,(t,n)=>e[n]=""+t),e}function ye(t,e,n){return t==n.path&&Ct(e,n.parameters)}class Ae{constructor(t,e,n,l){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=l}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ae(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const l=Qt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,l[e],n),delete l[e]}),xt(l,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const l=t.value,i=e?e.value:null;if(l===i)if(l.component){const i=n.getContext(l.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),l=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:l})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const l=Qt(t),i=t.value.component?n.children:e;xt(l,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const l=Qt(e);t.children.forEach(t=>{this.activateRoutes(t,l[t.value.outlet],n),this.forwardEvent(new ut(t.value.snapshot))}),t.children.length&&this.forwardEvent(new at(t.value.snapshot))}activateRoutes(t,e,n){const l=t.value,i=e?e.value:null;if(ae(l),l===i)if(l.component){const i=n.getOrCreateContext(l.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(l.component){const e=n.getOrCreateContext(l.outlet);if(this.routeReuseStrategy.shouldAttach(l.snapshot)){const t=this.routeReuseStrategy.retrieve(l.snapshot);this.routeReuseStrategy.store(l.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ve(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(l.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=l,e.resolver=i,e.outlet&&e.outlet.activateWith(l,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ve(t){ae(t.value),t.children.forEach(ve)}function Ce(t){return"function"==typeof t}function we(t){return t instanceof Mt}class Pe{constructor(t){this.segmentGroup=t||null}}class xe{constructor(t){this.urlTree=t}}function Se(t){return new s.a(e=>e.error(new Pe(t)))}function ke(t){return new s.a(e=>e.error(new xe(t)))}function Me(t){return new s.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Oe{constructor(t,e,n,l,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=l,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(i.E)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ht).pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(T.a)(t=>{if(t instanceof xe)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Pe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ht).pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(T.a)(t=>{if(t instanceof Pe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const l=t.segments.length>0?new Ot([],{[ht]:t}):t;return new Mt(l,e,n)}expandSegmentGroup(t,e,n,l){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new Ot([],t))):this.expandSegment(t,n,e,n.segments,l,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(r.a)({});const n=[],l=[],i={};return xt(t,(t,r)=>{const o=e(r,t).pipe(Object(f.a)(t=>i[r]=t));r===ht?n.push(o):l.push(o)}),r.a.apply(null,n.concat(l)).pipe(Object(b.a)(),D(),Object(f.a)(()=>i))}(n.children,(n,l)=>this.expandSegmentGroup(t,e,l,n))}expandSegment(t,e,n,l,i,o){return Object(r.a)(...n).pipe(Object(f.a)(a=>this.expandSegmentAgainstRoute(t,e,n,a,l,i,o).pipe(Object(T.a)(t=>{if(t instanceof Pe)return Object(r.a)(null);throw t}))),Object(b.a)(),I(t=>!!t),Object(T.a)((t,n)=>{if(t instanceof u||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,l,i))return Object(r.a)(new Ot([],{}));throw new Pe(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,l,i,r,o){return Ie(l)!==r?Se(e):void 0===l.redirectTo?this.matchSegmentAgainstRoute(t,e,l,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r):Se(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,l,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,l){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ke(i):this.lineralizeSegments(n,i).pipe(Object(L.a)(n=>{const i=new Ot(n,{});return this.expandSegment(t,i,e,n,l,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r){const{matched:o,consumedSegments:a,lastChild:s,positionalParamSegments:u}=De(e,l,i);if(!o)return Se(e);const c=this.applyRedirectCommands(a,l.redirectTo,u);return l.redirectTo.startsWith("/")?ke(c):this.lineralizeSegments(l,c).pipe(Object(L.a)(l=>this.expandSegment(t,e,n,l.concat(i.slice(s)),r,!1)))}matchSegmentAgainstRoute(t,e,n,l){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new Ot(l,{})))):Object(r.a)(new Ot(l,{}));const{matched:i,consumedSegments:o,lastChild:a}=De(e,n,l);if(!i)return Se(e);const s=l.slice(a);return this.getChildConfig(t,n,l).pipe(Object(L.a)(t=>{const n=t.module,l=t.routes,{segmentGroup:i,slicedSegments:a}=function(t,e,n,l){return n.length>0&&function(t,e,n){return n.some(n=>Ee(t,e,n)&&Ie(n)!==ht)}(t,n,l)?{segmentGroup:Te(new Ot(e,function(t,e){const n={};n[ht]=e;for(const l of t)""===l.path&&Ie(l)!==ht&&(n[Ie(l)]=new Ot([],{}));return n}(l,new Ot(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ee(t,e,n))}(t,n,l)?{segmentGroup:Te(new Ot(t.segments,function(t,e,n,l){const i={};for(const r of n)Ee(t,e,r)&&!l[Ie(r)]&&(i[Ie(r)]=new Ot([],{}));return Object.assign({},l,i)}(t,n,l,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,s,l);return 0===a.length&&i.hasChildren()?this.expandChildren(n,l,i).pipe(Object(f.a)(t=>new Ot(o,t))):0===l.length&&0===a.length?Object(r.a)(new Ot(o,{})):this.expandSegment(n,i,l,a,ht,!0).pipe(Object(f.a)(t=>new Ot(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(r.a)(new gt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(r.a)(e._loadedConfig):function(t,e,n){const l=e.canLoad;return l&&0!==l.length?Object(o.a)(l).pipe(Object(f.a)(l=>{const i=t.get(l);let r;if(function(t){return t&&Ce(t.canLoad)}(i))r=i.canLoad(e,n);else{if(!Ce(i))throw new Error("Invalid CanLoad guard");r=i(e,n)}return St(r)})).pipe(Object(b.a)(),(i=t=>!0===t,t=>t.lift(new j(i,void 0,t)))):Object(r.a)(!0);var i}(t.injector,e,n).pipe(Object(L.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new s.a(e=>e.error(bt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(r.a)(new gt([],t))}lineralizeSegments(t,e){let n=[],l=e.root;for(;;){if(n=n.concat(l.segments),0===l.numberOfChildren)return Object(r.a)(n);if(l.numberOfChildren>1||!l.children[ht])return Me(t.redirectTo);l=l.children[ht]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,l){const i=this.createSegmentGroup(t,e.root,n,l);return new Mt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return xt(t,(t,l)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[l]=e[i]}else n[l]=t}),n}createSegmentGroup(t,e,n,l){const i=this.createSegments(t,e.segments,n,l);let r={};return xt(e.children,(e,i)=>{r[i]=this.createSegmentGroup(t,e,n,l)}),new Ot(i,r)}createSegments(t,e,n,l){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,l):this.findOrReturn(e,n))}findPosParam(t,e,n){const l=n[e.path.substring(1)];if(!l)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return l}findOrReturn(t,e){let n=0;for(const l of e){if(l.path===t.path)return e.splice(n),l;n++}return t}}function De(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const l=(e.matcher||mt)(n,t,e);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Te(t){if(1===t.numberOfChildren&&t.children[ht]){const e=t.children[ht];return new Ot(t.segments.concat(e.segments),e.children)}return t}function Ee(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ie(t){return t.outlet||ht}class Le{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class je{constructor(t,e){this.component=t,this.route=e}}function Re(t,e,n){const l=t._root;return function t(e,n,l,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Qt(n);return e.children.forEach(e=>{!function(e,n,l,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,s=l?l.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Tt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Tt(t.url,e.url)||!Ct(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!se(t,e)||!Ct(t.queryParams,e.queryParams);case"paramsChange":default:return!se(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Le(i)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?s?s.children:null:l,i,r),u&&r.canDeactivateChecks.push(new je(s&&s.outlet&&s.outlet.component||null,a))}else a&&Ne(n,s,r),r.canActivateChecks.push(new Le(i)),t(e,null,o.component?s?s.children:null:l,i,r)}(e,o[e.value.outlet],l,i.concat([e.value]),r),delete o[e.value.outlet]}),xt(o,(t,e)=>Ne(t,l.getContext(e),r)),r}(l,e?e._root:null,n,[l.value])}function Fe(t,e,n){const l=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(l?l.module.injector:n).get(t)}function Ne(t,e,n){const l=Qt(t),i=t.value;xt(l,(t,l)=>{Ne(t,i.component?e?e.children.getContext(l):null:e,n)}),n.canDeactivateChecks.push(new je(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}const Ye=Symbol("INITIAL_VALUE");function Ue(){return Object(F.a)(t=>Object(c.a)(...t.map(t=>t.pipe(Object(E.a)(1),Object(N.a)(Ye)))).pipe(Y((t,e)=>{let n=!1;return e.reduce((t,l,i)=>{if(t!==Ye)return t;if(l===Ye&&(n=!0),!n){if(!1===l)return l;if(i===e.length-1||we(l))return l}return t},t)},Ye),Object(m.a)(t=>t!==Ye),Object(f.a)(t=>we(t)?t:!0===t),Object(E.a)(1)))}function Be(t,e){return null!==t&&e&&e(new st(t)),Object(r.a)(!0)}function ze(t,e){return null!==t&&e&&e(new ot(t)),Object(r.a)(!0)}function Ge(t,e,n){const l=e.routeConfig?e.routeConfig.canActivate:null;if(!l||0===l.length)return Object(r.a)(!0);const i=l.map(l=>Object(d.a)(()=>{const i=Fe(l,e,n);let r;if(function(t){return t&&Ce(t.canActivate)}(i))r=St(i.canActivate(e,t));else{if(!Ce(i))throw new Error("Invalid CanActivate guard");r=St(i(e,t))}return r.pipe(I())}));return Object(r.a)(i).pipe(Ue())}function He(t,e,n){const l=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(d.a)(()=>{const i=e.guards.map(i=>{const r=Fe(i,e.node,n);let o;if(function(t){return t&&Ce(t.canActivateChild)}(r))o=St(r.canActivateChild(l,t));else{if(!Ce(r))throw new Error("Invalid CanActivateChild guard");o=St(r(l,t))}return o.pipe(I())});return Object(r.a)(i).pipe(Ue())}));return Object(r.a)(i).pipe(Ue())}class Ve{}class qe{constructor(t,e,n,l,i,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=l,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=r}recognize(){try{const t=Xe(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ht),n=new le([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),l=new Jt(n,e),i=new ie(this.url,l);return this.inheritParamsAndData(i._root),Object(r.a)(i)}catch(t){return new s.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ne(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Et(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),l=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${l}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===ht?-1:e.value.outlet===ht?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,l){for(const r of t)try{return this.processSegmentAgainstRoute(r,e,n,l)}catch(i){if(!(i instanceof Ve))throw i}if(this.noLeftoversInUrl(e,n,l))return[];throw new Ve}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,l){if(t.redirectTo)throw new Ve;if((t.outlet||ht)!==l)throw new Ve;let i,r=[],o=[];if("**"===t.path){const r=n.length>0?Pt(n).parameters:{};i=new le(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),l,t.component,t,We(e),$e(e)+n.length,Ze(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Ve;return{consumedSegments:[],lastChild:0,parameters:{}}}const l=(e.matcher||mt)(n,t,e);if(!l)throw new Ve;const i={};xt(l.posParams,(t,e)=>{i[e]=t.path});const r=l.consumed.length>0?Object.assign({},i,l.consumed[l.consumed.length-1].parameters):i;return{consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:r}}(e,t,n);r=a.consumedSegments,o=n.slice(a.lastChild),i=new le(r,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),l,t.component,t,We(e),$e(e)+r.length,Ze(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:s,slicedSegments:u}=Xe(e,r,o,a,this.relativeLinkResolution);if(0===u.length&&s.hasChildren()){const t=this.processChildren(a,s);return[new Jt(i,t)]}if(0===a.length&&0===u.length)return[new Jt(i,[])];const c=this.processSegment(a,s,u,ht);return[new Jt(i,c)]}}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function $e(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Xe(t,e,n,l,i){if(n.length>0&&function(t,e,n){return n.some(n=>Ke(t,e,n)&&Je(n)!==ht)}(t,n,l)){const i=new Ot(e,function(t,e,n,l){const i={};i[ht]=l,l._sourceSegment=t,l._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Je(r)!==ht){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Je(r)]=n}return i}(t,e,l,new Ot(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ke(t,e,n))}(t,n,l)){const r=new Ot(t.segments,function(t,e,n,l,i,r){const o={};for(const a of l)if(Ke(t,n,a)&&!i[Je(a)]){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Je(a)]=n}return Object.assign({},i,o)}(t,e,n,l,t.children,i));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Ot(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ke(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Je(t){return t.outlet||ht}function Qe(t){return t.data||{}}function Ze(t){return t.resolve||{}}function tn(t,e,n,l){const i=Fe(t,e,l);return St(i.resolve?i.resolve(e,n):i(e,n))}function en(t){return function(e){return e.pipe(Object(F.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)([e])}))}}class nn{}class ln{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const rn=new i.w("ROUTES");class on{constructor(t,e,n,l){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=l}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const l=n.create(t);return new gt(wt(l.injector.get(rn)).map(vt),l)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):St(t()).pipe(Object(L.a)(t=>t instanceof i.C?Object(r.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class an{}class sn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function un(t){throw t}function cn(t,e,n){return e.parse("/")}function dn(t,e){return Object(r.a)(null)}class hn{constructor(t,e,n,l,r,o,s,u){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=l,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new h.a,this.errorHandler=un,this.malformedUriErrorHandler=cn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dn,afterPreactivation:dn},this.urlHandlingStrategy=new sn,this.routeReuseStrategy=new ln,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(i.E),this.console=r.get(i.mb);const c=r.get(i.G);this.isNgZoneEnabled=c instanceof i.G,this.resetConfig(u),this.currentUrlTree=new Mt(new Ot([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new on(o,s,t=>this.triggerEvent(new it(t)),t=>this.triggerEvent(new rt(t))),this.routerState=te(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(m.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(F.a)(t=>{let n=!1,l=!1;return Object(r.a)(t).pipe(Object(H.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(F.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(r.a)(t).pipe(Object(F.a)(t=>{const n=this.transitions.getValue();return e.next(new X(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.a:[t]}),Object(F.a)(t=>Promise.resolve(t)),(l=this.ngModule.injector,i=this.configLoader,o=this.urlSerializer,a=this.config,function(t){return t.pipe(Object(F.a)(t=>function(t,e,n,l,i){return new Oe(t,e,n,l,i).apply()}(l,i,o,t.extractedUrl,a).pipe(Object(f.a)(e=>Object.assign({},t,{urlAfterRedirects:e})))))}),Object(H.a)(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,l,i){return function(r){return r.pipe(Object(L.a)(r=>function(t,e,n,l,i="emptyOnly",r="legacy"){return new qe(t,e,n,l,i,r).recognize()}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),l,i).pipe(Object(f.a)(t=>Object.assign({},r,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(H.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(H.a)(t=>{const n=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var l,i,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:l,source:i,restoredState:o,extras:a}=t,s=new X(n,this.serializeUrl(l),i,o);e.next(s);const u=te(l,this.rootComponentType).snapshot;return Object(r.a)(Object.assign({},t,{targetSnapshot:u,urlAfterRedirects:l,extras:Object.assign({},a,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.a}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:l,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:l,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),Object(H.a)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign({},t,{guards:Re(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(L.a)(n=>{const{targetSnapshot:l,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:s}}=n;return 0===s.length&&0===a.length?Object(r.a)(Object.assign({},n,{guardsResult:!0})):function(t,e,n,l){return Object(o.a)(t).pipe(Object(L.a)(t=>function(t,e,n,l,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(r.a)(!0);const a=o.map(r=>{const o=Fe(r,e,i);let a;if(function(t){return t&&Ce(t.canDeactivate)}(o))a=St(o.canDeactivate(t,e,n,l));else{if(!Ce(o))throw new Error("Invalid CanDeactivate guard");a=St(o(t,e,n,l))}return a.pipe(I())});return Object(r.a)(a).pipe(Ue())}(t.component,t.route,n,e,l)),I(t=>!0!==t,!0))}(s,l,i,t).pipe(Object(L.a)(n=>n&&"boolean"==typeof n?function(t,e,n,l){return Object(o.a)(e).pipe(Object(z.a)(e=>Object(o.a)([ze(e.route.parent,l),Be(e.route,l),He(t,e.path,n),Ge(t,e.route,n)]).pipe(Object(b.a)(),I(t=>!0!==t,!0))),I(t=>!0!==t,!0))}(l,a,t,e):Object(r.a)(n)),Object(f.a)(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(H.a)(t=>{if(we(t.guardsResult)){const e=bt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(H.a)(t=>{const e=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(m.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new J(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),en(t=>{if(t.guards.canActivateChecks.length)return Object(r.a)(t).pipe(Object(H.a)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(Object(L.a)(t=>{const{targetSnapshot:l,guards:{canActivateChecks:i}}=t;return i.length?Object(o.a)(i).pipe(Object(z.a)(t=>function(t,e,n,l){return function(t,e,n,l){const i=Object.keys(t);if(0===i.length)return Object(r.a)({});if(1===i.length){const r=i[0];return tn(t[r],e,n,l).pipe(Object(f.a)(t=>({[r]:t})))}const a={};return Object(o.a)(i).pipe(Object(L.a)(i=>tn(t[i],e,n,l).pipe(Object(f.a)(t=>(a[i]=t,t))))).pipe(D(),Object(f.a)(()=>a))}(t._resolve,t,e,l).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,ne(t,n).resolve),null)))}(t.route,l,e,n)),function(t,e){return arguments.length>=2?function(n){return Object(G.a)(Y(t,e),y(1),S(e))(n)}:function(e){return Object(G.a)(Y((e,n,l)=>t(e,n,l+1)),y(1))(e)}}((t,e)=>t),Object(f.a)(e=>t)):Object(r.a)(t)}))}),Object(H.a)(t=>{const e=new lt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:l,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:l,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const l=function t(e,n,l){if(l&&e.shouldReuseRoute(n.value,l.value.snapshot)){const i=l.value;i._futureSnapshot=n.value;const r=function(e,n,l){return n.children.map(n=>{for(const i of l.children)if(e.shouldReuseRoute(i.value.snapshot,n.value))return t(e,n,i);return t(e,n)})}(e,n,l);return new Jt(i,r)}{const l=e.retrieve(n.value);if(l){const t=l.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let l=0;l<e.children.length;++l)t(e.children[l],n.children[l])}(n,t),t}{const l=new ee(new a.a((i=n.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),r=n.children.map(n=>t(e,n));return new Jt(l,r)}}var i}(t,e._root,n?n._root:void 0);return new Zt(l,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Object(H.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,s=this.routeReuseStrategy,u=t=>this.triggerEvent(t),Object(f.a)(t=>(new Ae(s,t.targetRouterState,t.currentRouterState,u).activate(i),t))),Object(H.a)({next(){n=!0},complete(){n=!0}}),Object(V.a)(()=>{if(!n&&!l){this.resetUrlToCurrentUrlTree();const n=new J(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(T.a)(n=>{if(l=!0,(i=n)&&i.ngNavigationCancelingError){const l=we(n.url);l||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new J(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),t.resolve(!1),l&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const l=new Q(t.id,this.serializeUrl(t.extractedUrl),n);e.next(l);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var i;return p.a}));var i,s,u}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign({},this.getTransition(),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",l=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,l,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){_t(t),this.config=t.map(vt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:l,fragment:r,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:s}=e;Object(i.hb)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=s?this.currentUrlTree.fragment:r;let d=null;if(a)switch(a){case"merge":d=Object.assign({},this.currentUrlTree.queryParams,l);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=l||null}else d=o?this.currentUrlTree.queryParams:l||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,l,i){if(0===n.length)return ce(e.root,e.root,e,l,i);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new de(!0,0,t);let e=0,n=!1;const l=t.reduce((t,l,i)=>{if("object"==typeof l&&null!=l){if(l.outlets){const e={};return xt(l.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(l.segmentPath)return[...t,l.segmentPath]}return"string"!=typeof l?[...t,l]:0===i?(l.split("/").forEach((l,i)=>{0==i&&"."===l||(0==i&&""===l?n=!0:".."===l?e++:""!=l&&t.push(l))}),t):[...t,l]},[]);return new de(n,e,l)}(n);if(r.toRoot())return ce(e.root,new Ot([],{}),e,l,i);const o=function(t,e,n){if(t.isAbsolute)return new he(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new he(n.snapshot._urlSegment,!0,0);const l=ue(t.commands[0])?0:1;return function(t,e,n){let l=t,i=e,r=n;for(;r>i;){if(r-=i,l=l.parent,!l)throw new Error("Invalid number of '../'");i=l.segments.length}return new he(l,!1,i-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+l,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?be(o.segmentGroup,o.index,r.commands):fe(o.segmentGroup,o.index,r.commands);return ce(o.segmentGroup,a,e,l,i)}(u,this.currentUrlTree,t,d,c)}navigateByUrl(t,e={skipLocationChange:!1}){Object(i.hb)()&&this.isNgZoneEnabled&&!i.G.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=we(t)?t:this.parseUrl(t),l=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(we(t))return kt(this.currentUrlTree,t,e);const n=this.parseUrl(t);return kt(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const l=t[n];return null!=l&&(e[n]=l),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,l){const i=this.getTransition();if(i&&"imperative"!==e&&"imperative"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"hashchange"==e&&"popstate"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"popstate"==e&&"hashchange"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);let r=null,o=null;const a=new Promise((t,e)=>{r=t,o=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:l,resolve:r,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,l){const i=this.urlSerializer.serialize(t);l=l||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign({},l,{navigationId:n})):this.location.go(i,"",Object.assign({},l,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class pn{constructor(t,e,n,l,i){this.router=t,this.route=e,this.commands=[],null==n&&l.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(i.hb)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:fn(this.skipLocationChange),replaceUrl:fn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fn(this.preserveFragment)})}}function fn(t){return""===t||!!t}class bn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new bn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class gn{constructor(t,e,n,l,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.name=l||ht,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),l=this.parentContexts.getOrCreateContext(this.name).children,i=new _n(t,l,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class _n{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ee?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}class yn{}class An{preload(t,e){return e().pipe(Object(T.a)(()=>Object(r.a)(null)))}}class vn{preload(t,e){return Object(r.a)(null)}}class Cn{constructor(t,e,n,l,i){this.router=t,this.injector=l,this.preloadingStrategy=i,this.loader=new on(e,n,e=>t.triggerEvent(new it(e)),e=>t.triggerEvent(new rt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(m.a)(t=>t instanceof K),Object(z.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.E);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const l of e)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const t=l._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else l.loadChildren&&!l.canLoad?n.push(this.preloadConfig(t,l)):l.children&&n.push(this.processRoutes(t,l.children));return Object(o.a)(n).pipe(Object(q.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(L.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}class wn{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof X?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof K&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ct&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ct(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Pn=new i.w("ROUTER_CONFIGURATION"),xn=new i.w("ROUTER_FORROOT_GUARD"),Sn=[l.j,{provide:It,useClass:Lt},{provide:hn,useFactory:In,deps:[i.g,It,mn,l.j,i.x,i.D,i.k,rn,Pn,[an,new i.H],[nn,new i.H]]},mn,{provide:ee,useFactory:Ln,deps:[hn]},{provide:i.D,useClass:i.S},Cn,vn,An,{provide:Pn,useValue:{enableTracing:!1}}];function kn(){return new i.F("Router",hn)}class Mn{constructor(t,e){}static forRoot(t,e){return{ngModule:Mn,providers:[Sn,En(t),{provide:xn,useFactory:Tn,deps:[[hn,new i.H,new i.R]]},{provide:Pn,useValue:e||{}},{provide:l.k,useFactory:Dn,deps:[l.w,[new i.u(l.a),new i.H],Pn]},{provide:wn,useFactory:On,deps:[hn,l.x,Pn]},{provide:yn,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:vn},{provide:i.F,multi:!0,useFactory:kn},[jn,{provide:i.d,multi:!0,useFactory:Rn,deps:[jn]},{provide:Nn,useFactory:Fn,deps:[jn]},{provide:i.b,multi:!0,useExisting:Nn}]]}}static forChild(t){return{ngModule:Mn,providers:[En(t)]}}}function On(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new wn(t,e,n)}function Dn(t,e,n={}){return n.useHash?new l.g(t,e):new l.v(t,e)}function Tn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function En(t){return[{provide:i.a,multi:!0,useValue:t},{provide:rn,multi:!0,useValue:t}]}function In(t,e,n,l,i,r,o,a,s={},u,c){const d=new hn(null,e,n,l,i,r,o,wt(a));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),s.errorHandler&&(d.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(d.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){const t=Object(W.r)();d.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return s.onSameUrlNavigation&&(d.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(d.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(d.relativeLinkResolution=s.relativeLinkResolution),d}function Ln(t){return t.routerState.root}class jn{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new h.a}appInitializer(){return this.injector.get(l.i,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(hn),l=this.injector.get(Pn);if(this.isLegacyDisabled(l)||this.isLegacyEnabled(l))t(!0);else if("disabled"===l.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==l.initialNavigation)throw new Error(`Invalid initialNavigation options: '${l.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(r.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Pn),n=this.injector.get(Cn),l=this.injector.get(wn),r=this.injector.get(hn),o=this.injector.get(i.g);t===o.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),l.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}function Rn(t){return t.appInitializer.bind(t)}function Fn(t){return t.bootstrapListener.bind(t)}const Nn=new i.w("Router Initializer")},iNpl:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("mkQN"),u=n("W8M7"),c=n("mrzG"),d=n("tYnX"),h=n("kVmM"),p=n("l2lA"),f=n("JfHk"),b=n("q7cr"),m=n("u2yf"),g=n("Cp04"),_=n("xWBw"),y=n("TZgD"),A=n("HEh+"),v=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),C=function(t){function e(e,n,l){var r=t.call(this)||this;if(r.endss_=[],r.flatInteriorPointsRevision_=-1,r.flatInteriorPoints_=null,r.maxDelta_=-1,r.maxDeltaRevision_=-1,r.orientedRevision_=-1,r.orientedFlatCoordinates_=null,!l&&!Array.isArray(e[0])){for(var o=r.getLayout(),a=e,s=[],u=[],c=0,d=a.length;c<d;++c){var h=a[c];0===c&&(o=h.getLayout());for(var p=s.length,f=h.getEnds(),b=0,m=f.length;b<m;++b)f[b]+=p;Object(i.c)(s,h.getFlatCoordinates()),u.push(f)}n=o,e=s,l=u}return void 0!==n&&l?(r.setFlatCoordinates(n,e),r.endss_=l):r.setCoordinates(e,n),r}return v(e,t),e.prototype.appendPolygon=function(t){var e;if(this.flatCoordinates){var n=this.flatCoordinates.length;Object(i.c)(this.flatCoordinates,t.getFlatCoordinates());for(var l=0,r=(e=t.getEnds().slice()).length;l<r;++l)e[l]+=n}else this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();this.endss_.push(e),this.changed()},e.prototype.clone=function(){for(var t=this.endss_.length,n=new Array(t),l=0;l<t;++l)n[l]=this.endss_[l].slice();return new e(this.flatCoordinates.slice(),this.layout,n)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(p.f)(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(p.c)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.containsXY=function(t,e){return Object(f.d)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)},e.prototype.getArea=function(){return Object(d.c)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(y.e)(e,0,this.endss_,this.stride,t)):e=this.flatCoordinates,Object(m.c)(e,0,this.endss_,this.stride)},e.prototype.getEndss=function(){return this.endss_},e.prototype.getFlatInteriorPoints=function(){if(this.flatInteriorPointsRevision_!=this.getRevision()){var t=Object(h.a)(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=Object(g.b)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_},e.prototype.getInteriorPoints=function(){return new s.a(this.getFlatInteriorPoints().slice(),o.a.XYM)},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(y.c)(t,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(y.e)(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(A.d)(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),n,0,l),new e(n,o.a.XY,l)},e.prototype.getPolygon=function(t){if(t<0||this.endss_.length<=t)return null;var e;if(0===t)e=0;else{var n=this.endss_[t-1];e=n[n.length-1]}var l=this.endss_[t].slice(),i=l[l.length-1];if(0!==e)for(var r=0,o=l.length;r<o;++r)l[r]-=e;return new u.a(this.flatCoordinates.slice(e,i),this.layout,l)},e.prototype.getPolygons=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.endss_,l=[],i=0,r=0,o=n.length;r<o;++r){var a=n[r].slice(),s=a[a.length-1];if(0!==i)for(var c=0,d=a.length;c<d;++c)a[c]-=i;var h=new u.a(e.slice(i,s),t,a);l.push(h),i=s}return l},e.prototype.getType=function(){return a.a.MULTI_POLYGON},e.prototype.intersectsExtent=function(t){return Object(_.d)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(b.d)(this.flatCoordinates,0,t,this.stride,this.endss_);if(0===n.length)this.flatCoordinates.length=0;else{var l=n[n.length-1];this.flatCoordinates.length=0===l.length?0:l[l.length-1]}this.changed()},e}(c.a);e.a=C},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},igqZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"c",(function(){return o}));class l{constructor(t){this._animationMode=t}}class i{}class r{}class o{}},itXk:function(t,e,n){"use strict";var l=n("z+Ro"),i=n("DH7j"),r=n("7o/Q");class o extends r.a{notifyNext(t,e,n,l,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var s=n("SeVD"),u=n("HDdC");function c(t,e,n,l,i=new a(t,n,l)){if(!i.closed)return e instanceof u.a?e.subscribe(i):Object(s.a)(e)(i)}var d=n("yCtX");n.d(e,"a",(function(){return p}));const h={};function p(...t){let e=void 0,n=void 0;return Object(l.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(d.a)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new b(t,this.resultSelector))}}class b extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(h),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(c(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const l=this.values,i=this.toRespond?l[n]===h?--this.toRespond:this.toRespond:0;l[n]=e,0===i&&(this.resultSelector?this._tryResultSelector(l):this.destination.next(l.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},"j+gv":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("7/LY"),n("svHU");class l{constructor(t,e,n,l,i){this.document=t,this.dialogRef=e,this.data=n,this.selectAircraftService=l,this.mapService=i,this.url=""}ngOnInit(){this.computeLink(),setInterval(()=>{this.computeLink()},500)}computeLink(){this.url=this.document.location.origin+this.document.location.pathname+"?";const t=this.mapService.getView().getCenter();this.url+="center="+JSON.stringify(t);const e=this.mapService.getView().getZoom();this.url+="&zoom="+String(e);const n=this.selectAircraftService.getAircraftsContext(),l={};for(const i in n)n.hasOwnProperty(i)&&(l[i]=n[i].getMiniContext());this.url+="&context="+JSON.stringify(l),this.url=encodeURI(this.url)}copyInputMessage(t){t.select(),document.execCommand("copy"),t.setSelectionRange(0,0)}closeModal(){this.dialogRef.close()}}},jMVV:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l=n("f8l7");function i(t){return void 0!==t?0:void 0}function r(t){return void 0!==t?t:void 0}function o(t){var e=2*Math.PI/t;return function(t,n){return n?t:void 0!==t?t=Math.floor(t/e+.5)*e:void 0}}function a(t){var e=t||Object(l.i)(5);return function(t,n){return n?t:void 0!==t?Math.abs(t)<=e?0:t:void 0}}},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,l=this._calendarEl[t],i=e&&e.hours();return n=l,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(l=l.apply(e)),l.replace("{}",i%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),l=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var l=t+" ";switch(n){case"ss":return l+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return l+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return l+(i(t)?"godziny":"godzin");case"ww":return l+(i(t)?"tygodnie":"tygodni");case"MM":return l+(i(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return l+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,l){return t?/D MMMM/.test(l)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:r,M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("HDdC"),i=n("quSY");function r(t,e){return new l.a(n=>{const l=new i.a;let r=0;return l.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||l.add(this.schedule())):n.complete()}))),l})}},jadY:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,n,r,o){var a=l(e),s=i[t][l(e)];return 2===a&&(s=s[n?0:1]),s.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jzee:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4mld"),o=n("CvXi"),a=n("vvg4"),s=n("JW8z"),u=n("/O31"),c=n("qJZF"),d=n("V8uu"),h=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=Object(c.c)(),f=function(t){function e(){var e=t.call(this)||this;return e.extent_=Object(o.j)(),e.extentRevision_=-1,e.simplifiedGeometryMaxMinSquaredTolerance=0,e.simplifiedGeometryRevision=0,e.simplifyTransformedInternal=Object(d.d)((function(t,e,n){if(!n)return this.getSimplifiedGeometry(e);var l=this.clone();return l.applyTransform(n),l.getSimplifiedGeometry(e)})),e}return h(e,t),e.prototype.simplifyTransformed=function(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)},e.prototype.clone=function(){return Object(i.b)()},e.prototype.closestPointXY=function(t,e,n,l){return Object(i.b)()},e.prototype.containsXY=function(t,e){var n=this.getClosestPoint([t,e]);return n[0]===t&&n[1]===e},e.prototype.getClosestPoint=function(t,e){var n=e||[NaN,NaN];return this.closestPointXY(t[0],t[1],n,1/0),n},e.prototype.intersectsCoordinate=function(t){return this.containsXY(t[0],t[1])},e.prototype.computeExtent=function(t){return Object(i.b)()},e.prototype.getExtent=function(t){return this.extentRevision_!=this.getRevision()&&(this.extent_=this.computeExtent(this.extent_),this.extentRevision_=this.getRevision()),Object(o.I)(this.extent_,t)},e.prototype.rotate=function(t,e){Object(i.b)()},e.prototype.scale=function(t,e,n){Object(i.b)()},e.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},e.prototype.getSimplifiedGeometry=function(t){return Object(i.b)()},e.prototype.getType=function(){return Object(i.b)()},e.prototype.applyTransform=function(t){Object(i.b)()},e.prototype.intersectsExtent=function(t){return Object(i.b)()},e.prototype.translate=function(t,e){Object(i.b)()},e.prototype.transform=function(t,e){var n=Object(s.g)(t),l=n.getUnits()==u.b.TILE_PIXELS?function(t,l,i){var r=n.getExtent(),u=n.getWorldExtent(),d=Object(o.A)(u)/Object(o.A)(r);return Object(c.b)(p,u[0],u[3],d,-d,0,0,0),Object(a.c)(t,0,t.length,i,p,l),Object(s.i)(n,e)(t,l,i)}:Object(s.i)(n,e);return this.applyTransform(l),this},e}(r.a);e.a=f},kBU6:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return a}));const l="ionViewWillEnter",i="ionViewDidEnter",r="ionViewWillLeave",o="ionViewDidLeave",a="ionViewWillUnload"},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kLfG:function(t,e,n){var l={"./ion-action-sheet-controller_8.entry.js":["0BR9",0,19],"./ion-action-sheet-ios.entry.js":["bnjm",0,20],"./ion-action-sheet-md.entry.js":["utt2",0,21],"./ion-alert-ios.entry.js":["yaSn",0,22],"./ion-alert-md.entry.js":["2/RY",0,23],"./ion-app_8-ios.entry.js":["iInF",0,24],"./ion-app_8-md.entry.js":["K9Nc",0,25],"./ion-avatar_3-ios.entry.js":["hH1s",0,26],"./ion-avatar_3-md.entry.js":["Jw9y",0,27],"./ion-back-button-ios.entry.js":["ouVF",0,28],"./ion-back-button-md.entry.js":["/joy",0,29],"./ion-backdrop-ios.entry.js":["uJLv",30],"./ion-backdrop-md.entry.js":["fSmE",31],"./ion-button_2-ios.entry.js":["s1jK",0,32],"./ion-button_2-md.entry.js":["Wou7",0,33],"./ion-card_5-ios.entry.js":["qshq",0,34],"./ion-card_5-md.entry.js":["Q1uX",0,35],"./ion-checkbox-ios.entry.js":["059i",0,36],"./ion-checkbox-md.entry.js":["eLfv",0,37],"./ion-chip-ios.entry.js":["+FzG",0,38],"./ion-chip-md.entry.js":["yRpg",0,39],"./ion-col_3.entry.js":["/CAe",40],"./ion-datetime_3-ios.entry.js":["Z1Jy",0,41],"./ion-datetime_3-md.entry.js":["X0Dk",0,42],"./ion-fab_3-ios.entry.js":["wvyA",0,43],"./ion-fab_3-md.entry.js":["NkKY",0,44],"./ion-img.entry.js":["wHD8",45],"./ion-infinite-scroll_2-ios.entry.js":["nf6t",0,46],"./ion-infinite-scroll_2-md.entry.js":["lg/V",0,47],"./ion-input-ios.entry.js":["sdJS",0,48],"./ion-input-md.entry.js":["uQUw",0,49],"./ion-item-option_3-ios.entry.js":["Pa1g",0,50],"./ion-item-option_3-md.entry.js":["KTnd",0,51],"./ion-item_8-ios.entry.js":["Z51p",0,52],"./ion-item_8-md.entry.js":["8bam",0,53],"./ion-loading-ios.entry.js":["J3Yu",0,54],"./ion-loading-md.entry.js":["N3W9",0,55],"./ion-menu_4-ios.entry.js":["GEuc",0,56],"./ion-menu_4-md.entry.js":["BHpw",0,57],"./ion-modal-ios.entry.js":["mgaC",0,58],"./ion-modal-md.entry.js":["EpFf",0,59],"./ion-nav_5.entry.js":["qF1+",0,60],"./ion-popover-ios.entry.js":["Gdks",0,61],"./ion-popover-md.entry.js":["VgKV",0,62],"./ion-progress-bar-ios.entry.js":["0PGG",0,63],"./ion-progress-bar-md.entry.js":["h/Bu",0,64],"./ion-radio_2-ios.entry.js":["5bK7",0,65],"./ion-radio_2-md.entry.js":["pOmE",0,66],"./ion-range-ios.entry.js":["5g9+",0,67],"./ion-range-md.entry.js":["fD4w",0,68],"./ion-refresher_2-ios.entry.js":["CXux",0,69],"./ion-refresher_2-md.entry.js":["RODS",0,70],"./ion-reorder_2-ios.entry.js":["IdzL",0,71],"./ion-reorder_2-md.entry.js":["Ftzj",0,72],"./ion-ripple-effect.entry.js":["STjf",73],"./ion-route_4.entry.js":["k5eQ",0,74],"./ion-searchbar-ios.entry.js":["l0q3",0,75],"./ion-searchbar-md.entry.js":["mLlG",0,76],"./ion-segment_2-ios.entry.js":["Iymp",0,77],"./ion-segment_2-md.entry.js":["3msy",0,78],"./ion-select_3-ios.entry.js":["rYLK",0,79],"./ion-select_3-md.entry.js":["WOXB",0,80],"./ion-slide_2-ios.entry.js":["F/Xn",81],"./ion-slide_2-md.entry.js":["k8us",82],"./ion-spinner.entry.js":["nI0H",0,83],"./ion-split-pane-ios.entry.js":["edcM",84],"./ion-split-pane-md.entry.js":["RyPD",85],"./ion-tab-bar_2-ios.entry.js":["DP4G",0,86],"./ion-tab-bar_2-md.entry.js":["gaXT",0,87],"./ion-tab_2.entry.js":["TpdJ",0,88],"./ion-text.entry.js":["ISmu",0,89],"./ion-textarea-ios.entry.js":["xNZy",0,90],"./ion-textarea-md.entry.js":["p1XJ",0,91],"./ion-toast-ios.entry.js":["XGfm",0,92],"./ion-toast-md.entry.js":["Y/uG",0,93],"./ion-toggle-ios.entry.js":["WbT0",0,94],"./ion-toggle-md.entry.js":["upP9",0,95],"./ion-virtual-scroll.entry.js":["8Mb5",96]};function i(t){if(!n.o(l,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=l[t],i=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(l)},i.id="kLfG",t.exports=i},kNGD:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i})),n("KCVW"),n("dvZr");var l=n("8Y7J");n("Xd0L"),n("XNiG"),n("VRyK"),n("IzEk"),n("1G5W"),n("JX91"),n("5GAg"),n("8bJo");const i=new l.w("mat-chips-default-options");class r{}},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kSER:function(t,e){t.exports=function(t,e){for(var n=[],l=(e=e||0)||0;l<t.length;l++)n[l-e]=t[l];return n}},"kVK+":function(t,e){e.read=function(t,e,n,l,i){var r,o,a=8*i-l-1,s=(1<<a)-1,u=s>>1,c=-7,d=n?i-1:0,h=n?-1:1,p=t[e+d];for(d+=h,r=p&(1<<-c)-1,p>>=-c,c+=a;c>0;r=256*r+t[e+d],d+=h,c-=8);for(o=r&(1<<-c)-1,r>>=-c,c+=l;c>0;o=256*o+t[e+d],d+=h,c-=8);if(0===r)r=1-u;else{if(r===s)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,l),r-=u}return(p?-1:1)*o*Math.pow(2,r-l)},e.write=function(t,e,n,l,i,r){var o,a,s,u=8*r-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=l?0:r-1,f=l?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-o))<1&&(o--,s*=2),(e+=o+d>=1?h/s:h*Math.pow(2,1-d))*s>=2&&(o++,s/=2),o+d>=c?(a=0,o=c):o+d>=1?(a=(e*s-1)*Math.pow(2,i),o+=d):(a=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;t[n+p]=255&a,p+=f,a/=256,i-=8);for(o=o<<i|a,u+=i;u>0;t[n+p]=255&o,p+=f,o/=256,u-=8);t[n+p-f]|=128*b}},kVmM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("CvXi");function i(t,e,n,i){for(var r=[],o=Object(l.j)(),a=0,s=n.length;a<s;++a){var u=n[a];o=Object(l.o)(t,e,u[0],i),r.push((o[0]+o[2])/2,(o[1]+o[3])/2),e=u[u.length-1]}return r}},kZ4T:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseGridControllerGridPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseGridControllerGrid(t){return this.getOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseGridControllerGridPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseGridControllerGrid(t){return this.replaceOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseGridControllerGridPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseGridControllerGrid(t){return this.deleteOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseGridControllerGridPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseGridControllerGrid(t){return this.updateOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseGridControllerGridPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseGridControllerGrid(t){return this.getManyBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseGridControllerGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseGridControllerGrid(t){return this.createOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseGridControllerGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseGridControllerGrid(t){return this.createManyBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseGridControllerGridPath="/grid/{id}",t.ReplaceOneBaseGridControllerGridPath="/grid/{id}",t.DeleteOneBaseGridControllerGridPath="/grid/{id}",t.UpdateOneBaseGridControllerGridPath="/grid/{id}",t.GetManyBaseGridControllerGridPath="/grid",t.CreateOneBaseGridControllerGridPath="/grid",t.CreateManyBaseGridControllerGridPath="/grid/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},krvq:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var l=n("8Y7J"),i=n("mnSs"),r=n("SVse"),o=l.Bb({encapsulation:0,styles:['[_nghost-%COMP%]{max-width:200px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 8px;position:absolute;pointer-events:none;z-index:1000;display:block;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s;top:0;left:0}.tooltip-show[_nghost-%COMP%]{opacity:1}.tooltip-shadow[_nghost-%COMP%]{box-shadow:0 7px 15px -5px rgba(0,0,0,.4)}.tooltip-light.tooltip-shadow[_nghost-%COMP%]{box-shadow:0 5px 15px -5px rgba(0,0,0,.4)}.tooltip[_nghost-%COMP%]::after{content:"";position:absolute;border-style:solid}.tooltip-top[_nghost-%COMP%]::after{top:100%;left:50%;margin-left:-5px;border-width:5px;border-color:#000 transparent transparent}.tooltip-bottom[_nghost-%COMP%]::after{bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-color:transparent transparent #000}.tooltip-left[_nghost-%COMP%]::after{top:50%;left:100%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #000}.tooltip-right[_nghost-%COMP%]::after{top:50%;right:100%;margin-top:-5px;border-width:5px;border-color:transparent #000 transparent transparent}.tooltip-light[_nghost-%COMP%]::after{display:none}.tooltip-light[_nghost-%COMP%]{border:1px solid rgba(0,0,0,.06);background-color:#fff;color:#000}.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;-webkit-transform:rotate(135deg);transform:rotate(135deg);background-color:rgba(0,0,0,.07)}.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{background-color:#fff;content:"";display:block;position:absolute;width:10px;height:10px}.tooltip-top.tooltip-light[_nghost-%COMP%]{margin-top:-2px}.tooltip-top.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:100%;left:50%;margin-top:-4px;margin-left:-5px;background:-webkit-gradient(linear,right top,left bottom,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to bottom left,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-top.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:1px;right:1px}.tooltip-bottom.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{bottom:100%;left:50%;margin-bottom:-4px;margin-left:-5px;background:-webkit-gradient(linear,left bottom,right top,color-stop(50%,rgba(0,0,0,.1)),color-stop(50%,transparent));background:linear-gradient(to top right,rgba(0,0,0,.1) 50%,transparent 50%)}.tooltip-bottom.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:-1px;right:-1px}.tooltip-left.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:50%;left:100%;margin-top:-5px;margin-left:-4px;background:-webkit-gradient(linear,left top,right bottom,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to bottom right,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-left.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:1px;right:-1px}.tooltip-right.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:50%;right:100%;margin-top:-5px;margin-right:-4px;background:-webkit-gradient(linear,right bottom,left top,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to top left,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-right.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:-1px;right:1px}'],data:{}});function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"div",[["class","tooltip-arrow"]],null,null,null,null,null))],null,null)}function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(2,540672,null,0,r.u,[l.Y],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){t(e,2,0,e.component.value)}),null)}function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component.value)}))}function d(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(1,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(3,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["htmlOrStringTemplate",2]],null,0,null,c))],(function(t,e){var n=e.component;t(e,1,0,n.isThemeLight),t(e,3,0,"template"===n.options.contentType,l.Pb(e,4))}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"tooltip",[["class","tooltip"]],[[4,"top",null],[4,"left",null],[4,"z-index",null],[4,"transition",null],[4,"width",null],[4,"max-width",null],[4,"pointer-events",null],[2,"tooltip-show",null],[2,"tooltip-shadow",null],[2,"tooltip-light",null]],[[null,"transitionend"]],(function(t,e,n){var i=!0;return"transitionend"===e&&(i=!1!==l.Pb(t,1).transitionEnd(n)&&i),i}),d,o)),l.Cb(1,114688,null,0,i.a,[l.p,l.M],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,l.Pb(e,1).hostStyleTop,l.Pb(e,1).hostStyleLeft,l.Pb(e,1).hostStyleZIndex,l.Pb(e,1).hostStyleTransition,l.Pb(e,1).hostStyleWidth,l.Pb(e,1).hostStyleMaxWidth,l.Pb(e,1).hostStylePointerEvents,l.Pb(e,1).hostClassShow,l.Pb(e,1).hostClassShadow,l.Pb(e,1).hostClassLight)}))}var p=l.zb("tooltip",i.a,h,{data:"data",show:"show"},{},[])},ktNq:function(t,e,n){"use strict";var l=n("g7xG");function i(t,e){return t.toUpperCase()===e.toUpperCase()}function r(t,e){var n=t.find(e);return n?n.flag:""}t.exports={findFlagUrlByCountryName:function(t){return r(l,(function(e){var n=e.altSpellings;return i(e.name,t)||n.some((function(e){return i(e,t)}))}))},findFlagUrlByNationality:function(t){return r(l,(function(e){return i(e.demonym,t)}))},findFlagUrlByIso2Code:function(t){return r(l,(function(e){return i(e.iso2,t)}))},findFlagUrlByIso3Code:function(t){return r(l,(function(e){return i(e.iso3,t)}))}}},kvpX:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("g1uh");function i(t,e){if(!t)throw new l.a(e)}},l2lA:function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var l=n("f8l7");function i(t,e,n,i,r,o,a){var s,u=t[e],c=t[e+1],d=t[n]-u,h=t[n+1]-c;if(0===d&&0===h)s=e;else{var p=((r-u)*d+(o-c)*h)/(d*d+h*h);if(p>1)s=n;else{if(p>0){for(var f=0;f<i;++f)a[f]=Object(l.c)(t[e+f],t[n+f],p);return void(a.length=i)}s=e}}for(f=0;f<i;++f)a[f]=t[s+f];a.length=i}function r(t,e,n,i,r){var o=t[e],a=t[e+1];for(e+=i;e<n;e+=i){var s=t[e],u=t[e+1],c=Object(l.f)(o,a,s,u);c>r&&(r=c),o=s,a=u}return r}function o(t,e,n,l,i){for(var o=0,a=n.length;o<a;++o){var s=n[o];i=r(t,e,s,l,i),e=s}return i}function a(t,e,n,l,i){for(var r=0,a=n.length;r<a;++r){var s=n[r];i=o(t,e,s,l,i),e=s[s.length-1]}return i}function s(t,e,n,r,o,a,s,u,c,d,h){if(e==n)return d;var p,f;if(0===o){if((f=Object(l.f)(s,u,t[e],t[e+1]))<d){for(p=0;p<r;++p)c[p]=t[e+p];return c.length=r,f}return d}for(var b=h||[NaN,NaN],m=e+r;m<n;)if(i(t,m-r,m,r,s,u,b),(f=Object(l.f)(s,u,b[0],b[1]))<d){for(d=f,p=0;p<r;++p)c[p]=b[p];c.length=r,m+=r}else m+=r*Math.max((Math.sqrt(f)-Math.sqrt(d))/o|0,1);if(a&&(i(t,n-r,e,r,s,u,b),(f=Object(l.f)(s,u,b[0],b[1]))<d)){for(d=f,p=0;p<r;++p)c[p]=b[p];c.length=r}return d}function u(t,e,n,l,i,r,o,a,u,c,d){for(var h=d||[NaN,NaN],p=0,f=n.length;p<f;++p){var b=n[p];c=s(t,e,b,l,i,r,o,a,u,c,h),e=b}return c}function c(t,e,n,l,i,r,o,a,s,c,d){for(var h=d||[NaN,NaN],p=0,f=n.length;p<f;++p){var b=n[p];c=u(t,e,b,l,i,r,o,a,s,c,h),e=b[b.length-1]}return c}},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},l5mm:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("D0XW"),r=n("Y7HM");function o(t=0,e=i.a){return(!Object(r.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=i.a),new l.a(n=>(n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n))}function a(t){const{subscriber:e,counter:n,period:l}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:l},l)}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends l.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lKxJ:function(t,e,n){t.exports=n("2pII"),t.exports.parser=n("Wm4p")},lT8R:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return d}));var l=n("KCVW"),i=n("dvZr"),r=n("8Y7J"),o=(n("s7LF"),n("Xd0L")),a=n("quSY");class s{}class u{constructor(t){this._elementRef=t}}const c=Object(o.J)(Object(o.E)(Object(o.G)(u),"accent"));class d extends c{constructor(t,e,n,l,i,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this._dir=l,this._animationMode=o,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new r.r,this.input=new r.r,this.valueChange=new r.r,this.onTouched=()=>{},this._percent=0,this._isSliding=!1,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=a.a.EMPTY,this.tabIndex=parseInt(i)||0}get invert(){return this._invert}set invert(t){this._invert=Object(l.c)(t)}get max(){return this._max}set max(t){this._max=Object(l.f)(t,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(t){this._min=Object(l.f)(t,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(t){this._step=Object(l.f)(t,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(t){this._thumbLabel=Object(l.c)(t)}get tickInterval(){return this._tickInterval}set tickInterval(t){this._tickInterval="auto"===t?"auto":"number"==typeof t||"string"==typeof t?Object(l.f)(t,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(t){if(t!==this._value){let e=Object(l.f)(t);this._roundToDecimal&&(e=parseFloat(e.toFixed(this._roundToDecimal))),this._value=e,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(l.c)(t)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(t){this._focusHostElement(t)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}get _invertAxis(){return this.vertical?!this.invert:this.invert}get _isMinValue(){return 0===this.percent}get _thumbGap(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0}get _trackBackgroundStyles(){const t=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._thumbGap}px) scale3d(${t})`}}get _trackFillStyles(){const t=this.vertical?`1, ${this.percent}, 1`:this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._thumbGap}px) scale3d(${t})`}}get _ticksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}get _ticksStyles(){let t=100*this._tickIntervalPercent,e={backgroundSize:this.vertical?`2px ${t}%`:t+"% 2px",transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${t/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};return this._isMinValue&&this._thumbGap&&(e["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px"),e}get _thumbContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngOnInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{this._isActive=!!t&&"keyboard"!==t,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onMousedown(t){if(this.disabled||0!==t.button)return;const e=this.value;this._isSliding=!1,this._focusHostElement(),this._updateValueFromPosition({x:t.clientX,y:t.clientY}),e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent())}_onSlide(t){if(this.disabled)return;this._isSliding||this._onSlideStart(null),t.preventDefault();let e=this.value;this._updateValueFromPosition({x:t.center.x,y:t.center.y}),e!=this.value&&this._emitInputEvent()}_onSlideStart(t){this.disabled||this._isSliding||(this._onMouseenter(),this._isSliding=!0,this._focusHostElement(),this._valueOnSlideStart=this.value,t&&(this._updateValueFromPosition({x:t.center.x,y:t.center.y}),t.preventDefault()))}_onSlideEnd(){this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||this._emitChangeEvent(),this._valueOnSlideStart=null}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(t){if(this.disabled||Object(i.t)(t))return;const e=this.value;switch(t.keyCode){case i.m:this._increment(10);break;case i.l:this._increment(-10);break;case i.f:this.value=this.max;break;case i.i:this.value=this.min;break;case i.j:this._increment("rtl"==this._getDirection()?1:-1);break;case i.q:this._increment(1);break;case i.n:this._increment("rtl"==this._getDirection()?-1:1);break;case i.e:this._increment(-1);break;default:return}e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,t.preventDefault()}_onKeyup(){this._isSliding=!1}_increment(t){this.value=this._clamp((this.value||0)+this.step*t,this.min,this.max)}_updateValueFromPosition(t){if(!this._sliderDimensions)return;let e=this._clamp(((this.vertical?t.y:t.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(e=1-e),0===e)this.value=this.min;else if(1===e)this.value=this.max;else{const t=this._calculateValue(e),n=Math.round((t-this.min)/this.step)*this.step+this.min;this.value=this._clamp(n,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){let t=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,e=Math.ceil(30/(t*this.step/(this.max-this.min)));this._tickIntervalPercent=e*this.step/t}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(t=this.value){let e=new s;return e.source=this,e.value=t,e}_calculatePercentage(t){return((t||0)-this.min)/(this.max-this.min)}_calculateValue(t){return this.min+t*(this.max-this.min)}_clamp(t,e=0,n=1){return Math.max(e,Math.min(t,n))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(t){this._elementRef.nativeElement.focus(t)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(t){this.value=t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}}class h{}},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lhf0:function(t,e,n){function l(t){var n;function l(){if(l.enabled){var t=l,i=+new Date,r=i-(n||i);t.diff=r,t.prev=n,t.curr=i,n=i;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=e.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(n,l){if("%%"===n)return n;s++;var i=e.formatters[l];return"function"==typeof i&&(n=i.call(t,o[s]),o.splice(s,1),s--),n})),e.formatArgs.call(t,o);var u=l.log||e.log||console.log.bind(console);u.apply(t,o)}}return l.namespace=t,l.enabled=e.enabled(t),l.useColors=e.useColors(),l.color=function(t){var n,l=0;for(n in t)l=(l<<5)-l+t.charCodeAt(n),l|=0;return e.colors[Math.abs(l)%e.colors.length]}(t),l.destroy=i,"function"==typeof e.init&&e.init(l),e.instances.push(l),l}function i(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=l.debug=l.default=l).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var l=("string"==typeof t?t:"").split(/[\s,]+/),i=l.length;for(n=0;n<i;n++)l[n]&&("-"===(t=l[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")));for(n=0;n<e.instances.length;n++){var r=e.instances[n];r.enabled=e.enabled(r.namespace)}},e.enabled=function(t){if("*"===t[t.length-1])return!0;var n,l;for(n=0,l=e.skips.length;n<l;n++)if(e.skips[n].test(t))return!1;for(n=0,l=e.names.length;n<l;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n("WiHW"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},loYQ:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},luTP:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},lwm9:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("GS7A"),n("Xd0L"),n("zMNK")),r=n("7QIX");n("SVse"),n("QQfA"),n("dvZr"),n("XNiG"),n("VRyK"),n("LRne"),n("pLZG"),n("IzEk"),n("IP0z");class o{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}class a extends i.a{constructor(t,e,n,i,o,a){super(),this._elementRef=t,this._changeDetectorRef=e,this._focusTrapFactory=n,this.bottomSheetConfig=a,this._animationState="void",this._animationStateChanged=new l.r,this._elementFocusedBeforeOpened=null,this._document=o,this._breakpointSubscription=i.observe([r.b.Medium,r.b.Large,r.b.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",i.isMatched(r.b.Medium)),this._toggleClass("mat-bottom-sheet-container-large",i.isMatched(r.b.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched(r.b.XLarge))})}attachComponentPortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){"hidden"===t.toState?this._restoreFocus():"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_toggleClass(t,e){const n=this._elementRef.nativeElement.classList;e?n.add(t):n.remove(t)}_validatePortalAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach bottom sheet content after content is already attached")}_setPanelClass(){const t=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach(e=>t.classList.add(e)):e&&t.classList.add(e)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeOpened;this.bottomSheetConfig.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._elementFocusedBeforeOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus())}}class s{}},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=" ";return(t%100>=20||t>=100&&t%100==0)&&(l=" de "),t+l+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},m46K:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("7kcP"),n("SVse")),r=l.Bb({encapsulation:2,styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media (-ms-high-contrast:active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media (-ms-high-contrast:active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],data:{animation:[{type:7,name:"indicator",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"translateY(10px)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"leftPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"rightPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowOpacity",definitions:[{type:0,name:"desc-to-active, asc-to-active, active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"desc-to-hint, asc-to-hint, hint",styles:{type:6,styles:{opacity:.54},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"* => asc, * => desc, * => active, * => hint, * => void",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"* <=> *",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowPosition",definitions:[{type:1,expr:"* => desc-to-hint, * => desc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(-25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-desc, * => active-to-desc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => asc-to-hint, * => asc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-asc, * => active-to-asc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(-25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:0,name:"desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",styles:{type:6,styles:{transform:"translateY(0)"},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc",styles:{type:6,styles:{transform:"translateY(-25%)"},offset:null},options:void 0},{type:0,name:"hint-to-asc, active-to-asc, asc",styles:{type:6,styles:{transform:"translateY(25%)"},offset:null},options:void 0}],options:{}},{type:7,name:"allowChildren",definitions:[{type:1,expr:"* <=> *",animation:[{type:11,selector:"@*",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:{}}]}});function o(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","mat-sort-header-arrow"]],[[24,"@arrowOpacity",0],[24,"@arrowPosition",0],[24,"@allowChildren",0]],[[null,"@arrowPosition.start"],[null,"@arrowPosition.done"]],(function(t,e,n){var l=!0,i=t.component;return"@arrowPosition.start"===e&&(l=0!=(i._disableViewStateAnimation=!0)&&l),"@arrowPosition.done"===e&&(l=0!=(i._disableViewStateAnimation=!1)&&l),l}),null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(t()(),l.Db(3,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(t()(),l.Db(5,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._getArrowViewState(),n._getArrowViewState(),n._getArrowDirectionState()),t(e,2,0,n._getArrowDirectionState()),t(e,3,0,n._getArrowDirectionState()),t(e,4,0,n._getArrowDirectionState())}))}function a(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"button",[["class","mat-sort-header-button"],["type","button"]],[[1,"disabled",0],[1,"aria-label",0]],[[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,i=t.component;return"focus"===e&&(l=!1!==i._setIndicatorHintVisible(!0)&&l),"blur"===e&&(l=!1!==i._setIndicatorHintVisible(!1)&&l),l}),null,null)),l.Ob(null,0),(t()(),l.sb(16777216,null,null,1,null,o)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,4,0,e.component._renderArrow())}),(function(t,e){var n=e.component;t(e,0,0,n._isSorted(),"before"==n.arrowPosition),t(e,1,0,n._isDisabled()||null,n._intl.sortButtonLabel(n.id))}))}},m6sc:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("QL49");class l{constructor(t,e){this.config=t,this.http=e,this._rootUrl=""}get rootUrl(){return this._rootUrl||this.config.rootUrl}set rootUrl(t){this._rootUrl=t}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("SpAZ");function i(...t){return r(t)}function r(t){return 0===t.length?l.a:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},mS5L:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("yotz"),o=n("m46K"),a=n("7kcP"),s=n("8rEH"),u=n("zQui"),c=n("pIm3"),d=n("F3fN"),h=n("oBZk"),p=n("ZZ/e"),f=n("dJrM"),b=n("HsOI"),m=n("Xd0L"),g=n("IP0z"),_=n("/HVE"),y=n("omvX"),A=n("ZwOa"),v=n("s7LF"),C=n("oapL"),w=n("oJZn"),P=n("pBi1"),x=n("5GAg"),S=n("b1+6"),k=n("OIZN"),M=n("sJgj"),O=n("s6ns"),D=n("svHU"),T=n("7/LY"),E=n("YGmB"),I=n("978D"),L=n("wBRQ"),j=n("qToJ"),R=l.Bb({encapsulation:0,styles:[["#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}#list-panel[_ngcontent-%COMP%] .mat-column-provider[_ngcontent-%COMP%], #list-panel[_ngcontent-%COMP%] .mat-column-route[_ngcontent-%COMP%]{min-width:100px}#list-panel[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding:10px}#list-panel[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto;cursor:pointer}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]{padding:5px;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0!important;font-size:12px!important;font-family:inherit!important;text-overflow:ellipsis;white-space:nowrap}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{max-height:19px;margin:-4px}#list-panel[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:5px}#list-panel[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#ccc}#list-panel[_ngcontent-%COMP%] .mat-paginator-range-label{margin:0}.customfilter[_ngcontent-%COMP%]{width:100px}"]],data:{animation:[{type:7,name:"showFromRight",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"200ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateX(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),o.b,o.a)),l.Cb(1,245760,null,0,a.c,[a.d,l.j,[2,a.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,s.e,[u.d,l.p],null,null),(t()(),l.Wb(3,0,[" "," "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){var n=e.component;t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled()),t(e,3,0,n.columnsName[e.parent.context.$implicit])}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent.parent,0),e.parent.context.$implicit[e.parent.parent.context.$implicit]));t(e,1,0,n)}))}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.settingService.getFeedNames(e.parent.context.$implicit[e.parent.parent.context.$implicit]))}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,l.Hb(1,"",e.parent.context.$implicit[e.parent.parent.context.$implicit],""))}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,s.a,[u.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,"altitude"==e.parent.context.$implicit),t(e,5,0,"speed"==e.parent.context.$implicit),t(e,7,0,"providers"==e.parent.context.$implicit),t(e,9,0,"country"==e.parent.context.$implicit&&e.context.$implicit[e.parent.context.$implicit]),t(e,11,0,"speed"!==e.parent.context.$implicit&&"altitude"!==e.parent.context.$implicit&&"providers"!==e.parent.context.$implicit&&"country"!==e.parent.context.$implicit)}),null)}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[s.c]),l.Cb(2,16384,null,3,s.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],u.d,null,[s.c]),(t()(),l.sb(0,null,null,2,null,F)),l.Cb(8,16384,null,0,s.f,[l.U],null,null),l.Tb(2048,[[17,4]],u.j,null,[s.f]),(t()(),l.sb(0,null,null,2,null,G)),l.Cb(11,16384,null,0,s.b,[l.U],null,null),l.Tb(2048,[[16,4]],u.b,null,[s.b])],(function(t,e){t(e,2,0,l.Hb(1,"",e.context.$implicit,""))}),null)}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,c.d,c.a)),l.Tb(6144,null,u.k,null,[s.g]),l.Cb(2,49152,null,0,s.g,[],null,null)],null,null)}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,[[null,"click"],[null,"dblclick"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.watchAircraft(t.context.$implicit.icao)&&l),"dblclick"===e&&(l=!1!==i.selectAircraft(t.context.$implicit.icao)&&l),l}),c.e,c.b)),l.Tb(6144,null,u.m,null,[s.i]),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,i.l,[i.A],{ngClass:[0,"ngClass"]},null),l.Rb(4,{active:0}),l.Cb(5,49152,null,0,s.i,[],null,null)],(function(t,e){var n=t(e,4,0,e.component.isSelectedAircraft(e.context.$implicit));t(e,3,0,n)}),null)}function W(t){return l.Yb(0,[l.Qb(0,d.a,[]),l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(3,0,null,null,41,"ion-content",[["id","list-panel"],["scrollX","true"]],null,null,null,h.w,h.e)),l.Cb(4,49152,null,0,p.s,[l.j,l.p,l.G],{scrollX:[0,"scrollX"]},null),(t()(),l.Db(5,0,null,0,13,"mat-form-field",[["class","customfilter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(6,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(16,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(17,999424,null,0,A.b,[l.p,_.a,[8,null],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],b.d,null,[A.b]),(t()(),l.Db(19,0,null,0,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==l.Pb(t,21)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.focusChange(n)&&i),i}),w.b,w.a)),l.Tb(5120,null,v.o,(function(t){return[t]}),[P.b]),l.Cb(21,1228800,null,0,P.b,[l.p,x.h,l.j,[8,null],l.G,P.a,[2,y.a],[2,g.b]],{checked:[0,"checked"]},{change:"change"}),(t()(),l.Wb(-1,0,["Focus"])),(t()(),l.Db(23,0,null,0,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(24,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(25,0,null,0,1,"ion-icon",[["name","settings"]],null,null,null,h.y,h.g)),l.Cb(26,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(27,0,null,0,15,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,c.f,c.c)),l.Tb(6144,null,u.o,null,[s.k]),l.Cb(29,737280,[[1,4]],0,a.b,[],null,null),l.Cb(30,2342912,null,4,s.k,[l.y,l.j,l.p,[8,null],[2,g.b],i.d,_.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(36,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(0,null,null,2,null,V)),l.Cb(38,540672,null,0,s.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],u.l,null,[s.h]),(t()(),l.sb(0,null,null,2,null,q)),l.Cb(41,540672,null,0,s.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],u.n,null,[s.j]),(t()(),l.Db(43,0,null,0,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,S.b,S.a)),l.Cb(44,245760,[[2,4]],0,k.b,[k.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,4,0,"true"),t(e,17,0,"Filter"),t(e,21,0,n.focusIsActive),t(e,24,0,"primary"),t(e,26,0,"settings"),t(e,29,0),t(e,30,0,n.dataSource),t(e,36,0,n.displayedColumns),t(e,38,0,n.displayedColumns),t(e,41,0,n.displayedColumns),t(e,44,0,50,"true","")}),(function(t,e){t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,0,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()),t(e,19,0,l.Pb(e,21).id,l.Pb(e,21).disabled?null:-1,null,null,l.Pb(e,21).checked,l.Pb(e,21).disabled,"before"==l.Pb(e,21).labelPosition,"NoopAnimations"===l.Pb(e,21)._animationMode)}))}var $=n("NvT6"),X=n("W5yJ"),K=n("8e4W");class J{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){this.dialogRef=this.dialog.open(K.a,{width:"500px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-500+"px"},hasBackdrop:!1});const t=this.dialogRef.afterClosed().subscribe(e=>{this.dialogRef=void 0,t.unsubscribe()})}}var Q=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Z(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","filing"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"filing")}),null)}var tt=n("dk3J");class et{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-700>0?String(t+50-700):String(5)+"px";this.dialogRef=this.dialog.open(tt.a,{width:"700px",position:{top:"60px",left:e},hasBackdrop:!1});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var nt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,0,"img",[["src","../../../../../../assets/images/GHOST.svg"],["style","max-width: unset;"]],null,null,null,null,null))],(function(t,e){t(e,1,0,"primary")}),null)}var it=n("Fi5g"),rt=n("ek9U");class ot{constructor(t,e){this.dialog=t,this.elementRef=e}toggleFormReplayDialog(){this.formReplayDialogRef?this.formReplayDialogRef.close():this.openFormReplayDialog()}openFormReplayDialog(){this.formReplayDialogRef=this.dialog.open(it.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},hasBackdrop:!1});const t=this.formReplayDialogRef.afterClosed().subscribe(e=>{e&&this.openControlReplayDialog(e),this.formReplayDialogRef=void 0,t.unsubscribe()})}openControlReplayDialog(t){this.controlReplayDialogRef=this.dialog.open(rt.a,{width:"400px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-400+"px"},hasBackdrop:!1,data:{date:t}});const e=this.formReplayDialogRef.afterClosed().subscribe(t=>{this.controlReplayDialogRef=void 0,e.unsubscribe()})}}var at=l.Bb({encapsulation:0,styles:[[""]],data:{}});function st(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleFormReplayDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","time"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"time")}),null)}var ut=n("F8Ro");class ct{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-700>0?String(t+50-700):String(5)+"px";this.dialogRef=this.dialog.open(ut.a,{width:"700px",position:{top:"60px",left:e},hasBackdrop:!1});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var dt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function ht(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","funnel"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"funnel")}),null)}var pt=n("MlvX"),ft=n("/Co4"),bt=n("QQfA"),mt=n("hOhj"),gt=n("Rn7m"),_t=n("LRne"),yt=n("JX91"),At=n("lJxs"),vt=n("Kj3r"),Ct=n("eIep"),wt=n("JIr8"),Pt=n("w+w1");n("G0WM");class xt{constructor(t,e,n,l,i,r){this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.searchService=l,this.aircraftService=i,this.stopPointService=r,this.searchBarIsActive=!1,this.aircraftAutoComplete$=null,this.autoCompleteControl=new v.g}ngOnInit(){this.initAucompleteAircraft()}initAucompleteAircraft(){this.aircraftAutoComplete$=this.autoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>t&&""!==t?this.lookup(t?t.toUpperCase():t):Object(_t.a)([])))}lookup(t){return this.searchService.searchControllerGetSearch({value:t,limit:5}).pipe(Object(At.a)(t=>[{type:"aircraft",entities:t.data.aircraft},{type:"stop_point",entities:t.data.stop_point},{type:"feature",entities:t.data.feature}]),Object(wt.a)(t=>Object(_t.a)(null)))}onSubmit(t,e){if("stop_point"===e)this.mapService.recenterMap([t.longitude,t.latitude],10);else if("feature"===e)console.log("entity:",t),this.mapService.recenterMap(t.geometry.coordinates,10);else if("aircraft"===e){const e=this.trafficService.addAircraft(new Pt.a(t));this.mapService.recenterMap([e.longitude,e.latitude]),this.selectAircraftService.selectAircraft(e)}this.autoCompleteControl.reset()}}var St=n("mWFr"),kt=n("xhS3"),Mt=n("rLOe"),Ot=l.Bb({encapsulation:0,styles:[[".search-bar[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-optgroup[_ngcontent-%COMP%] .mat-option[_ngcontent-%COMP%]{padding:5px 0 5px 32px}"]],data:{}});function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","search"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"search")}),null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","close"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" icao : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icao)}))}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" callsign : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" registration : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" iata : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.iata)}))}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" name : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.name)}))}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.onSubmit(t.context.$implicit,t.parent.context.$implicit.type)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[10,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.sb(16777216,null,0,1,null,Et)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,It)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Lt)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,jt)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Rt)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit),t(e,3,0,"feature"!==e.parent.context.$implicit.type),t(e,5,0,"aircraft"===e.parent.context.$implicit.type),t(e,7,0,"aircraft"===e.parent.context.$implicit.type),t(e,9,0,"stop_point"===e.parent.context.$implicit.type),t(e,11,0,"stop_point"===e.parent.context.$implicit.type||"feature"===e.parent.context.$implicit.type)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled)}))}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,pt.d,pt.a)),l.Cb(1,49152,[[11,4]],0,m.r,[],{label:[0,"label"]},null),(t()(),l.sb(16777216,null,1,1,null,Ft)),l.Cb(3,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.type),t(e,3,0,e.context.$implicit.entities)}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1).disabled.toString(),l.Pb(e,1)._labelId)}))}function Yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(1,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],null,null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(11,16777216,null,1,8,"input",[["aria-label","Number"],["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search icao, callsign, registration or featurer name"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,13)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,13)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,13)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(13,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(15,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(17,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],b.d,null,[A.b]),(t()(),l.Db(20,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(22,1097728,[["autoGroup",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Nt)),l.Cb(26,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j])],(function(t,e){var n=e.component;t(e,13,0,l.Pb(e,22)),t(e,15,0,n.autoCompleteControl),t(e,18,0,"Search icao, callsign, registration or featurer name","text"),t(e,22,0,""),t(e,26,0,l.Xb(e,26,0,l.Pb(e,27).transform(n.aircraftAutoComplete$)))}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,13).autocompleteAttribute,l.Pb(e,13).autocompleteDisabled?null:"combobox",l.Pb(e,13).autocompleteDisabled?null:"list",l.Pb(e,13).panelOpen&&l.Pb(e,13).activeOption?l.Pb(e,13).activeOption.id:null,l.Pb(e,13).autocompleteDisabled?null:l.Pb(e,13).panelOpen.toString(),l.Pb(e,13).autocompleteDisabled||!l.Pb(e,13).panelOpen||null==l.Pb(e,13).autocomplete?null:l.Pb(e,13).autocomplete.id,!l.Pb(e,13).autocompleteDisabled,l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()])}))}function Ut(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,8,"div",[["class","search-bar"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"ion-button",[["color","primary"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=0!=(i.searchBarIsActive=!i.searchBarIsActive)&&l),l}),h.u,h.c)),l.Cb(2,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.sb(16777216,null,0,1,null,Dt)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Tt)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Yt)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"primary"),t(e,4,0,0==n.searchBarIsActive),t(e,6,0,1==n.searchBarIsActive),t(e,8,0,1==n.searchBarIsActive)}),null)}var Bt=n("fQr7");class zt{constructor(t,e){this.dialog=t,this.elementRef=e,this.widthPopup=800}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-this.widthPopup>0?String(t+50-this.widthPopup):String(5)+"px";this.dialogRef=this.dialog.open(Bt.a,{width:this.widthPopup+"px",position:{top:"60px",left:e},hasBackdrop:!1,data:{map:this.map}});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var Gt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","md-cloud-upload"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"md-cloud-upload")}),null)}var Vt=n("j+gv");class qt{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){this.dialogRef=this.dialog.open(Vt.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},hasBackdrop:!1});const t=this.dialogRef.afterClosed().subscribe(e=>{this.dialogRef=void 0,t.unsubscribe()})}}var Wt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function $t(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","share"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"share")}),null)}var Xt=n("Hq+i"),Kt=n("4q72"),Jt=n("/MgC");class Qt{constructor(t,e,n,l){this.ref=t,this.dialog=e,this.elementRef=n,this.notificationSettingService=l,this.subscription={},this.nbNotifs=0}ngOnInit(){this.notificationSettingService.notificationsSocketSubject.subscribe(t=>{for(const e in this.subscription)this.subscription.hasOwnProperty(e)&&this.subscription[e].unsubscribe();for(const e in t)t.hasOwnProperty(e)&&(this.subscription[e]=t[e].subscribe(t=>{"INSERT"===t.type?(this.nbNotifs+=1,this.ref.detectChanges(),void 0===this.notificationsDialogRef&&this.displayNotificationAlert(t.value)):"DELETE"===t.type&&this.nbNotifs>0&&(this.nbNotifs-=1)}))})}displayNotificationAlert(t){this.notifAlertdialogRef&&this.notifAlertdialogRef.close(),this.notifAlertdialogRef=this.dialog.open(Kt.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},data:t,hasBackdrop:!1}),setTimeout(()=>{this.notifAlertdialogRef&&this.notifAlertdialogRef.close()},4e3);const e=this.notifAlertdialogRef.afterClosed().subscribe(t=>{this.notifAlertdialogRef=void 0,e.unsubscribe(),t&&this.showNotifs(t)})}toggleDialogNotif(){this.notificationsDialogRef?this.notificationsDialogRef.close():this.showNotifs()}showNotifs(t){this.nbNotifs=0,this.ref.detectChanges();const e={width:"400px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-400+"px"},hasBackdrop:!1};t&&(e.data=t),this.notificationsDialogRef=this.dialog.open(Xt.a,e);const n=this.notificationsDialogRef.componentInstance.viewedNotif.subscribe(()=>{this.nbNotifs-=1,this.ref.detectChanges()}),l=this.notificationsDialogRef.afterClosed().subscribe(()=>{this.notificationsDialogRef=void 0,l.unsubscribe(),n.unsubscribe()})}}var Zt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function te(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,6,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialogNotif()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","notifications-outline"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(4,0,null,0,2,"ion-badge",[["color","danger"],["id","notifications-badge"]],null,null,null,h.t,h.b)),l.Cb(5,49152,null,0,p.h,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Wb(6,0,[" "," "]))],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"notifications-outline"),t(e,5,0,"danger")}),(function(t,e){t(e,6,0,e.component.nbNotifs)}))}var ee=n("gDAU"),ne=n("oeKZ"),le=n("Y4ja"),ie=l.Bb({encapsulation:0,styles:[[".traffic-counter[_ngcontent-%COMP%]{display:flex;padding:4px;border-radius:5px;background-color:var(--ion-color-primary);color:#fff;width:60px;justify-content:space-around}.currentDate[_ngcontent-%COMP%]{text-align:center;padding-right:20%}#loader[_ngcontent-%COMP%]{min-width:30px}"]],data:{}});function re(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,$.d,$.b)),l.Cb(1,114688,null,0,X.d,[l.p,_.a,[2,i.d],[2,y.a],X.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,l.Pb(e,1)._noopAnimations,l.Pb(e,1).diameter,l.Pb(e,1).diameter)}))}function oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-search-aircraft-past",[],null,null,null,Z,Q)),l.Cb(1,114688,null,0,J,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ghost",[],null,null,null,lt,nt)),l.Cb(1,114688,null,0,et,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function se(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-replay",[],null,null,null,st,at)),l.Cb(1,49152,null,0,ot,[O.e,l.p],null,null)],null,null)}function ue(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-filter",[],null,null,null,ht,dt)),l.Cb(1,114688,null,0,ct,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function ce(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-search-bar",[],null,null,null,Ut,Ot)),l.Cb(1,114688,null,0,xt,[D.a,E.a,T.b,St.a,kt.a,Mt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function de(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-edition-db",[],null,null,null,Ht,Gt)),l.Cb(1,114688,null,0,zt,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function he(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-permalink",[],null,null,null,$t,Wt)),l.Cb(1,114688,null,0,qt,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification",[],null,null,null,te,Zt)),l.Cb(1,114688,null,0,Qt,[l.j,O.e,l.p,Jt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,38,"ion-header",[],null,null,null,h.x,h.f)),l.Cb(1,49152,null,0,p.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,36,"ion-toolbar",[],null,null,null,h.J,h.r)),l.Cb(3,49152,null,0,p.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,2,"ion-title",[["slot","start"]],null,null,null,h.I,h.q)),l.Cb(5,49152,null,0,p.yb,[l.j,l.p,l.G],null,null),(t()(),l.Db(6,0,null,0,0,"img",[["alt","logo"],["height","40"],["src","../../../../assets/logo.svg"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,0,2,"ion-title",[["class","currentDate"],["slot","secondary"]],null,null,null,h.I,h.q)),l.Cb(8,49152,null,0,p.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(9,0,[" "," "])),(t()(),l.Db(10,0,null,0,28,"ion-buttons",[["slot","end"]],null,null,null,h.v,h.d)),l.Cb(11,49152,null,0,p.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(12,0,null,0,2,"div",[["id","loader"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,re)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,oe)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ae)),l.Cb(18,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,se)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ue)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ce)),l.Cb(24,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,de)),l.Cb(26,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,he)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,pe)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,0,3,"div",[["class","traffic-counter"]],null,null,null,null,null)),(t()(),l.Wb(32,null,[" "," "])),(t()(),l.Db(33,0,null,null,1,"ion-icon",[["name","airplane"],["slot","end"]],null,null,null,h.y,h.g)),l.Cb(34,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(35,0,null,0,3,"ion-button",[["color","primary"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.logout()&&l),l}),h.u,h.c)),l.Cb(36,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(37,0,null,0,1,"ion-icon",[["color","danger"],["fill","solid"],["ios","md-log-out"],["md","md-log-out"],["name","log-out"],["shape","round"]],null,null,null,h.y,h.g)),l.Cb(38,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],ios:[1,"ios"],md:[2,"md"],name:[3,"name"]},null)],(function(t,e){var n=e.component;t(e,14,0,n.timeService&&n.timeService.isLock),t(e,16,0,n.modeAll),t(e,18,0,!n.timeService.getDateReplay()&&n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,20,0,n.modeAll),t(e,22,0,n.modeAll),t(e,24,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,26,0,!n.timeService.getDateReplay()&&n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,28,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,30,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,34,0,"airplane"),t(e,36,0,"primary"),t(e,38,0,"danger","md-log-out","md-log-out","log-out")}),(function(t,e){var n=e.component;t(e,9,0,n.currentDate),t(e,32,0,n.trafficService.getNbAircrafts())}))}var be=n("bujt"),me=n("Fwaw"),ge=n("wd/R"),_e=n("GXLG"),ye=n("AIJQ");class Ae{constructor(t,e,n,i,r){this.dialog=t,this.stopPointService=e,this.lineService=n,this.aircraftService=i,this.snackBarService=r,this.closeEditRoute=new l.r,this.aFromAutoComplete$=null,this.aFromAutoCompleteControl=new v.g,this.aToAutoComplete$=null,this.aToAutoCompleteControl=new v.g,this.airportFromTo=[]}ngAfterViewInit(){this.aFromAutoComplete$=this.aFromAutoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>""!==t?this.lookupStopPoint(t):Object(_t.a)(null))),this.aToAutoComplete$=this.aToAutoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>""!==t?this.lookupStopPoint(t):Object(_t.a)(null)))}lookupStopPoint(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(At.a)(t=>t.data),Object(wt.a)(t=>Object(_t.a)(null)))}submitRoute(t,e){this.airportFromTo[t]=e}changeRoute(){this.airportFromTo.length>=1?this.lineService.getManyBaseLineControllerLine({filter:["callsign||eq||"+this.aircraft.callsign]}).subscribe(t=>{if(t.data.length>0)this.openDialog(t.data[0]);else{const t=this.aircraft.callsign&&""!==this.aircraft.callsign?this.aircraft.callsign:this.aircraft.icao+"_"+ge().format("YYYY/MM/DD-h:mm");this.createLine(t,!this.aircraft.callsign||""===this.aircraft.callsign)}}):this.snackBarService.openSnackBar("No airport selected")}openDialog(t){this.dialog.open(ye.a,{width:"250px"}).afterClosed().subscribe(e=>{if(console.log("The dialog was closed",e),"UPDATE"===e)this.updateLine(t);else if("CREATE"===e){const e=t.callsign+"_"+ge().format("YYYY/MM/DD-h:mm");this.createLine(e,!0)}})}createLine(t,e){this.lineService.createOneBaseLineControllerLine({body:{callsign:t,fromIcao:this.airportFromTo[0]?this.airportFromTo[0].icao:null,toIcao:this.airportFromTo[1]?this.airportFromTo[1].icao:null,operatorIcao:this.aircraft.operatorIcao&&""!==this.aircraft.operatorIcao?this.aircraft.operatorIcao:null}}).subscribe(n=>{e?this.overrideCallsign(t):(this.updateAirportAircraft(),this.closeEditRoute.emit())},t=>console.log("ERROR: lineService.lineControllerCreateOneBase",t))}updateLine(t){this.lineService.updateOneBaseLineControllerLine({id:t.id,body:{fromIcao:this.airportFromTo[0]?this.airportFromTo[0].icao:null,toIcao:this.airportFromTo[1]?this.airportFromTo[1].icao:null}}).subscribe(t=>{this.updateAirportAircraft(),this.closeEditRoute.emit()},t=>console.log("ERROR: lineControllerUpdateOneBase",t))}overrideCallsign(t){this.aircraftService.aircraftControllerSetOverriders({icao:this.aircraft.icao,body:{callsign:t}}).subscribe(t=>{this.updateAirportAircraft(),this.closeEditRoute.emit()})}updateAirportAircraft(){this.aircraft.fromAirport=this.airportFromTo[0],this.aircraft.toAirport=this.airportFromTo[1]}}var ve=n("Nw85"),Ce=l.Bb({encapsulation:0,styles:[[".edit-routes[_ngcontent-%COMP%]{position:relative;padding:10px;display:flex;align-items:center;background-color:#fff;color:#666}.edit-routes[_ngcontent-%COMP%] .edit-route[_ngcontent-%COMP%]{width:40%}.edit-routes[_ngcontent-%COMP%] .button-edit-route[_ngcontent-%COMP%]{width:20%}.edit-routes[_ngcontent-%COMP%] .mat-form-field{width:100%;padding:0}.edit-routes[_ngcontent-%COMP%] .mat-form-field>*{padding:0}"]],data:{}});function we(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.submitRoute(0,t.context.$implicit)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[10,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.icao)}))}function Pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.submitRoute(1,t.context.$implicit)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[21,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.icao)}))}function xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,62,"div",[["class","edit-routes"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,28,"div",[["class","edit-route"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(3,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(13,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airport From"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,14)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,14)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,14)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,15)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,15)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,15)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,15)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,20)._onInput()&&i),i}),null,null)),l.Cb(14,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(15,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(17,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(19,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(20,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],b.d,null,[A.b]),(t()(),l.Db(22,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(24,1097728,[["autoAFrom",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,we)),l.Cb(28,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j]),(t()(),l.Db(30,0,null,null,28,"div",[["class","edit-route"]],null,null,null,null,null)),(t()(),l.Db(31,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(32,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,12,{_controlNonStatic:0}),l.Ub(335544320,13,{_controlStatic:0}),l.Ub(603979776,14,{_labelChildNonStatic:0}),l.Ub(335544320,15,{_labelChildStatic:0}),l.Ub(603979776,16,{_placeholderChild:0}),l.Ub(603979776,17,{_errorChildren:1}),l.Ub(603979776,18,{_hintChildren:1}),l.Ub(603979776,19,{_prefixChildren:1}),l.Ub(603979776,20,{_suffixChildren:1}),(t()(),l.Db(42,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airport To"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,43)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,43).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,43)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,43)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,44)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,44)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,44)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,44)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,49)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,49)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,49)._onInput()&&i),i}),null,null)),l.Cb(43,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(44,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(46,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(48,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(49,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[12,4],[13,4]],b.d,null,[A.b]),(t()(),l.Db(51,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(53,1097728,[["autoATo",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,21,{options:1}),l.Ub(603979776,22,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Pe)),l.Cb(57,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j]),(t()(),l.Db(59,0,null,null,3,"button",[["class","button-edit-route"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.changeRoute()&&l),l}),be.b,be.a)),l.Cb(60,180224,null,0,me.b,[l.p,x.h,[2,y.a]],null,null),(t()(),l.Db(61,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(62,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,3,0,"outline"),t(e,15,0,l.Pb(e,24)),t(e,17,0,n.aFromAutoCompleteControl),t(e,20,0,"Airport From","text"),t(e,24,0,""),t(e,28,0,l.Xb(e,28,0,l.Pb(e,29).transform(n.aFromAutoComplete$))),t(e,32,0,"outline"),t(e,44,0,l.Pb(e,53)),t(e,46,0,n.aToAutoCompleteControl),t(e,49,0,"Airport To","text"),t(e,53,0,""),t(e,57,0,l.Xb(e,57,0,l.Pb(e,58).transform(n.aToAutoComplete$))),t(e,62,0,"add")}),(function(t,e){t(e,2,1,["standard"==l.Pb(e,3).appearance,"fill"==l.Pb(e,3).appearance,"outline"==l.Pb(e,3).appearance,"legacy"==l.Pb(e,3).appearance,l.Pb(e,3)._control.errorState,l.Pb(e,3)._canLabelFloat,l.Pb(e,3)._shouldLabelFloat(),l.Pb(e,3)._hasFloatingLabel(),l.Pb(e,3)._hideControlPlaceholder(),l.Pb(e,3)._control.disabled,l.Pb(e,3)._control.autofilled,l.Pb(e,3)._control.focused,"accent"==l.Pb(e,3).color,"warn"==l.Pb(e,3).color,l.Pb(e,3)._shouldForward("untouched"),l.Pb(e,3)._shouldForward("touched"),l.Pb(e,3)._shouldForward("pristine"),l.Pb(e,3)._shouldForward("dirty"),l.Pb(e,3)._shouldForward("valid"),l.Pb(e,3)._shouldForward("invalid"),l.Pb(e,3)._shouldForward("pending"),!l.Pb(e,3)._animationsEnabled]),t(e,13,1,[l.Pb(e,15).autocompleteAttribute,l.Pb(e,15).autocompleteDisabled?null:"combobox",l.Pb(e,15).autocompleteDisabled?null:"list",l.Pb(e,15).panelOpen&&l.Pb(e,15).activeOption?l.Pb(e,15).activeOption.id:null,l.Pb(e,15).autocompleteDisabled?null:l.Pb(e,15).panelOpen.toString(),l.Pb(e,15).autocompleteDisabled||!l.Pb(e,15).panelOpen||null==l.Pb(e,15).autocomplete?null:l.Pb(e,15).autocomplete.id,!l.Pb(e,15).autocompleteDisabled,l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20)._isServer,l.Pb(e,20).id,l.Pb(e,20).placeholder,l.Pb(e,20).disabled,l.Pb(e,20).required,l.Pb(e,20).readonly&&!l.Pb(e,20)._isNativeSelect||null,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20).errorState,l.Pb(e,20).required.toString()]),t(e,31,1,["standard"==l.Pb(e,32).appearance,"fill"==l.Pb(e,32).appearance,"outline"==l.Pb(e,32).appearance,"legacy"==l.Pb(e,32).appearance,l.Pb(e,32)._control.errorState,l.Pb(e,32)._canLabelFloat,l.Pb(e,32)._shouldLabelFloat(),l.Pb(e,32)._hasFloatingLabel(),l.Pb(e,32)._hideControlPlaceholder(),l.Pb(e,32)._control.disabled,l.Pb(e,32)._control.autofilled,l.Pb(e,32)._control.focused,"accent"==l.Pb(e,32).color,"warn"==l.Pb(e,32).color,l.Pb(e,32)._shouldForward("untouched"),l.Pb(e,32)._shouldForward("touched"),l.Pb(e,32)._shouldForward("pristine"),l.Pb(e,32)._shouldForward("dirty"),l.Pb(e,32)._shouldForward("valid"),l.Pb(e,32)._shouldForward("invalid"),l.Pb(e,32)._shouldForward("pending"),!l.Pb(e,32)._animationsEnabled]),t(e,42,1,[l.Pb(e,44).autocompleteAttribute,l.Pb(e,44).autocompleteDisabled?null:"combobox",l.Pb(e,44).autocompleteDisabled?null:"list",l.Pb(e,44).panelOpen&&l.Pb(e,44).activeOption?l.Pb(e,44).activeOption.id:null,l.Pb(e,44).autocompleteDisabled?null:l.Pb(e,44).panelOpen.toString(),l.Pb(e,44).autocompleteDisabled||!l.Pb(e,44).panelOpen||null==l.Pb(e,44).autocomplete?null:l.Pb(e,44).autocomplete.id,!l.Pb(e,44).autocompleteDisabled,l.Pb(e,48).ngClassUntouched,l.Pb(e,48).ngClassTouched,l.Pb(e,48).ngClassPristine,l.Pb(e,48).ngClassDirty,l.Pb(e,48).ngClassValid,l.Pb(e,48).ngClassInvalid,l.Pb(e,48).ngClassPending,l.Pb(e,49)._isServer,l.Pb(e,49).id,l.Pb(e,49).placeholder,l.Pb(e,49).disabled,l.Pb(e,49).required,l.Pb(e,49).readonly&&!l.Pb(e,49)._isNativeSelect||null,l.Pb(e,49)._ariaDescribedby||null,l.Pb(e,49).errorState,l.Pb(e,49).required.toString()]),t(e,59,0,l.Pb(e,60).disabled||null,"NoopAnimations"===l.Pb(e,60)._animationMode)}))}var Se=n("mnSs"),ke=n("rBEc"),Me=n("JRYL"),Oe=n("E/wX"),De=n("F2y6"),Te=n("xfxu"),Ee=n("G+Jc"),Ie=n("Blz8"),Le=n("Io5N"),je=n("Al5c"),Re=n("cUpR"),Fe=n("c9fC"),Ne=n("AyJq"),Ye=n("8bJo"),Ue=n("Mz6y"),Be=n("uUEO"),ze=l.Bb({encapsulation:0,styles:[[".flex-50[_ngcontent-%COMP%]{display:flex}.flex-50[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%}.flex-33[_ngcontent-%COMP%]{display:flex}.flex-33[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:33%}.yellow[_ngcontent-%COMP%]{color:#f8c023}.warning[_ngcontent-%COMP%]{color:#b22222!important}.tooltip-flex-50[_ngcontent-%COMP%]{width:130px;display:flex}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px;flex-basis:50%}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#fff;font-size:10px;text-transform:uppercase}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.header[_ngcontent-%COMP%]{position:relative;width:100%;background-color:var(--ion-color-primary);color:#fff;position:-webkit-sticky;position:sticky;top:0}.header[_ngcontent-%COMP%] .edit-route-button[_ngcontent-%COMP%]{position:absolute;right:2px;color:var(--ion-color-primary);background-color:transparent;top:40px}.header[_ngcontent-%COMP%] edit-route[_ngcontent-%COMP%]{position:relative}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{position:relative;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-align:center;overflow:hidden;max-width:120px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;width:40px;height:40px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:0;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block}.header[_ngcontent-%COMP%] .separate-white[_ngcontent-%COMP%]{background-color:#fff;width:80%}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;display:flex;align-items:center;width:120px;max-width:120px}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .date-title[_ngcontent-%COMP%]{text-transform:uppercase;font-size:11px;color:rgba(255,255,255,.5)}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:16px;height:16px;margin:5px}.body[_ngcontent-%COMP%] .margin-bottom[_ngcontent-%COMP%]{margin-bottom:10px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%]{font-weight:900;font-family:Quicksand;font-size:14px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);display:flex;align-items:center}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{color:#fff;width:30px;height:30px;margin-right:10px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#666;font-size:10px;text-transform:uppercase}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#3880ff}.body[_ngcontent-%COMP%] .mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}.body[_ngcontent-%COMP%] .mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important}.body[_ngcontent-%COMP%] .mat-expansion-indicator::after{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] div.mat-expansion-panel-body{padding:5px;background-color:#f0f0f0}.aircraft-options[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:0;left:0;width:100%}.aircraft-options[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0!important}.aircraft-options[_ngcontent-%COMP%] .tab-selected[_ngcontent-%COMP%]{border-top:5px solid var(--ion-color-primary)}.sub-panel[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:57px;left:0;width:100%}"]],data:{}});function Ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","edit-route-button"],["mat-button",""],["name","md-create"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=0!=(i.editRoute=!i.editRoute)&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"md-create")}),null)}function He(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"edit-route",[],null,[[null,"closeEditRoute"]],(function(t,e,n){var l=!0,i=t.component;return"closeEditRoute"===e&&(l=0!=(i.editRoute=!i.editRoute)&&l),l}),xe,Ce)),l.Cb(1,4243456,null,0,Ae,[O.e,Mt.a,ve.a,kt.a,_e.a],{aircraft:[0,"aircraft"]},{closeEditRoute:"closeEditRoute"})],(function(t,e){t(e,1,0,e.component.selectedAircraft)}),null)}function Ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,16),"template"),t(e,3,0,"more")}),null)}function qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.stopsIcao)}))}function We(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,17,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","route flex-50"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.Db(5,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),(t()(),l.Db(7,0,null,null,4,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(9,null,[" "," "])),(t()(),l.Db(10,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(11,null,[" "," "])),(t()(),l.Db(12,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ve)),l.Cb(15,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,qe)),(t()(),l.Db(17,0,null,null,0,"hr",[["class","separate-white"]],null,null,null,null,null))],(function(t,e){t(e,15,0,e.component.selectedAircraft.stopsIcao)}),(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"",n.selectedAircraft.fromAirport.name,"")),t(e,4,0,n.selectedAircraft.fromAirport.icao),t(e,5,0,l.Hb(1,"",n.selectedAircraft.fromAirport.location,"")),t(e,6,0,n.selectedAircraft.fromAirport.location),t(e,8,0,l.Hb(1,"",n.selectedAircraft.toAirport.name,"")),t(e,9,0,n.selectedAircraft.toAirport.icao),t(e,10,0,l.Hb(1,"",n.selectedAircraft.toAirport.location,"")),t(e,11,0,n.selectedAircraft.toAirport.location),t(e,13,0,l.Hb(1,"../../../../assets/images/",n.selectedAircraft.getIconStatus(),""))}))}function $e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.model)}))}function Ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registered_owners)}))}function Qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ze(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.homeAerodromeDGAC)}))}function tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function en(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.addressOwnerDGAC)}))}function nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,21,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OWNER"])),(t()(),l.sb(16777216,null,null,1,null,Ke)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Je)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["HOME"])),(t()(),l.sb(16777216,null,null,1,null,Qe)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ze)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ADRESS"])),(t()(),l.sb(16777216,null,null,1,null,tn)),l.Cb(19,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,en)),l.Cb(21,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.registered_owners),t(e,7,0,null!=n.selectedAircraft.registered_owners),t(e,12,0,null==n.selectedAircraft.homeAerodromeDGAC),t(e,14,0,null!=n.selectedAircraft.homeAerodromeDGAC),t(e,19,0,null==n.selectedAircraft.addressOwnerDGAC),t(e,21,0,null!=n.selectedAircraft.addressOwnerDGAC)}),null)}function ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registration)}))}function on(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function an(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorName)}))}function sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorIcao)}))}function cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.country)}))}function hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.squawk)}))}function fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," hPa"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.inhg)}))}function mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.vsi)}))}function _n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ctlAgency)}))}function An(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacV)}))}function wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacP)}))}function xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.selectedAircraft.sil,n.selectedAircraft.silType)}))}function kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rc)}))}function On(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nicBaro)}))}function Tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACV"])),(t()(),l.sb(16777216,null,null,1,null,vn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACP"])),(t()(),l.sb(16777216,null,null,1,null,wn)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,7,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SIL"])),(t()(),l.sb(16777216,null,null,1,null,xn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Sn)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PC"])),(t()(),l.sb(16777216,null,null,1,null,kn)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Mn)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NIC BARO"])),(t()(),l.sb(16777216,null,null,1,null,On)),l.Cb(35,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Dn)),l.Cb(37,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.nacV),t(e,7,0,null!=n.selectedAircraft.nacV),t(e,12,0,null==n.selectedAircraft.nacP),t(e,14,0,null!=n.selectedAircraft.nacP),t(e,20,0,null===n.selectedAircraft.sil||null===n.selectedAircraft.silType),t(e,22,0,null!==n.selectedAircraft.sil&&null!==n.selectedAircraft.silType),t(e,28,0,null==n.selectedAircraft.rc),t(e,30,0,null!=n.selectedAircraft.rc),t(e,35,0,null==n.selectedAircraft.nicBaro),t(e,37,0,null!=n.selectedAircraft.nicBaro)}),null)}function En(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function In(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function Fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trueHeading)}))}function Yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0/s"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trackRate)}))}function Bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.roll)}))}function Gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GR TRACK"])),(t()(),l.sb(16777216,null,null,1,null,jn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Rn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["T HEADING"])),(t()(),l.sb(16777216,null,null,1,null,Fn)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK RATE"])),(t()(),l.sb(16777216,null,null,1,null,Yn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Un)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ROLL"])),(t()(),l.sb(16777216,null,null,1,null,Bn)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zn)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.track),t(e,7,0,null!=n.selectedAircraft.track),t(e,12,0,null==n.selectedAircraft.trueHeading),t(e,14,0,null!=n.selectedAircraft.trueHeading),t(e,20,0,null==n.selectedAircraft.trackRate),t(e,22,0,null!=n.selectedAircraft.trackRate),t(e,27,0,null==n.selectedAircraft.roll),t(e,29,0,null!=n.selectedAircraft.roll)}),null)}function Hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function $n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tas)}))}function Kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ias)}))}function Qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function el(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GROUND"])),(t()(),l.sb(16777216,null,null,1,null,qn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Wn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRUE"])),(t()(),l.sb(16777216,null,null,1,null,$n)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,16,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["INDICATED"])),(t()(),l.sb(16777216,null,null,1,null,Kn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Jn)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,Qn)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Zn)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,tl)),l.Cb(31,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.speed),t(e,7,0,null!=n.selectedAircraft.speed),t(e,12,0,null==n.selectedAircraft.tas),t(e,14,0,null!=n.selectedAircraft.tas),t(e,20,0,null==n.selectedAircraft.ias),t(e,22,0,null!=n.selectedAircraft.ias),t(e,27,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,29,0,null!==n.selectedAircraft.mach),t(e,31,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed())}),null)}function nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitudeGps));t(e,1,0,i)}))}function dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function hl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.gva)}))}function pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.baroRate)}))}function bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.geomRate)}))}function gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function _l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ws)}))}function yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.wd)}))}function vl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tat)}))}function wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.oat)}))}function xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SPEED"])),(t()(),l.sb(16777216,null,null,1,null,gl)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,_l)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["DIR"])),(t()(),l.sb(16777216,null,null,1,null,yl)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Al)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TAT"])),(t()(),l.sb(16777216,null,null,1,null,vl)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cl)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OAT"])),(t()(),l.sb(16777216,null,null,1,null,wl)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pl)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.ws),t(e,7,0,null!=n.selectedAircraft.ws),t(e,12,0,null==n.selectedAircraft.wd),t(e,14,0,null!=n.selectedAircraft.wd),t(e,20,0,null==n.selectedAircraft.tat),t(e,22,0,null!=n.selectedAircraft.tat),t(e,27,0,null==n.selectedAircraft.oat),t(e,29,0,null!=n.selectedAircraft.oat)}),null)}function Sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeFms)}))}function Ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeMcp)}))}function Dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navHeading)}))}function El(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navModes)}))}function Ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rssi)}))}function Rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.messages)}))}function Nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["RSSI"])),(t()(),l.sb(16777216,null,null,1,null,Ll)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,jl)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MESSAGES"])),(t()(),l.sb(16777216,null,null,1,null,Rl)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Fl)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.rssi),t(e,7,0,null!=n.selectedAircraft.rssi),t(e,12,0,null==n.selectedAircraft.messages),t(e,14,0,null!=n.selectedAircraft.messages)}),null)}function Yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.category)}))}function Bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"graph-altitude",[],null,null,null,ke.b,ke.a)),l.Cb(1,376832,null,0,Me.a,[l.j,I.b],{aircraft:[0,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.selectedAircraft)}),null)}function zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"trajectory",[],null,[[null,"toggleTrajectory"]],(function(t,e,n){var l=!0;return"toggleTrajectory"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),Oe.b,Oe.a)),l.Cb(1,4440064,null,0,De.a,[l.j,D.a,T.b],null,null)],(function(t,e){t(e,1,0)}),null)}function Gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"interception",[["groupLayer","Interception"],["name","interception"],["zIndex","200"]],null,null,null,Te.b,Te.a)),l.Cb(1,4702208,null,0,Ee.a,[l.j,D.a,Mt.a,T.b],{name:[0,"name"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"],aircraft:[3,"aircraft"]},null)],(function(t,e){t(e,1,0,"interception","200","Interception",e.component.selectedAircraft)}),null)}function Hl(t){return l.Yb(2,[l.Qb(0,Ie.a,[]),l.Qb(0,i.e,[l.A]),l.Qb(0,d.a,[]),(t()(),l.Db(3,0,null,null,27,"div",[["class","header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0,i=t.component;return"toClose"===e&&(l=!1!==i.selectAircraftService.unSelectAircrafts(i.selectedAircraft)&&l),l}),Le.b,Le.a)),l.Cb(5,245760,null,0,je.a,[j.a,I.b,Re.b,le.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Ge)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,He)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,We)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(12,0,null,null,18,"div",[["class","date"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,8,"div",[["class","from-date"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,0,"img",[["src","../../../../assets/images/departing-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["pickup time"])),(t()(),l.Db(18,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(19,null,["",""])),l.Sb(20,2),l.Sb(21,1),(t()(),l.Db(22,0,null,null,8,"div",[["class","to-date"]],null,null,null,null,null)),(t()(),l.Db(23,0,null,null,0,"img",[["src","../../../../assets/images/arriving-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["landing time"])),(t()(),l.Db(27,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(28,null,["\u2248 ",""])),l.Sb(29,2),l.Sb(30,1),(t()(),l.Db(31,0,null,null,292,"div",[["class","body"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,291,"mat-accordion",[["class","mat-accordion"],["multi","true"]],null,null,null,null,null)),l.Cb(33,1720320,null,1,Fe.c,[],{multi:[0,"multi"]},null),l.Ub(603979776,1,{_headers:1}),l.Tb(2048,null,Fe.a,null,[Fe.c]),(t()(),l.Db(36,16777216,null,null,60,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ne.d,Ne.a)),l.Cb(37,1753088,null,1,Fe.e,[[3,Fe.a],l.j,Ye.d,l.Y,i.d,[2,y.a],[2,Fe.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,2,{_lazyContent:0}),l.Tb(256,null,Fe.a,void 0,[]),(t()(),l.Db(40,0,null,0,7,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,41)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,41)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,41)._animationStarted()&&i),i}),Ne.c,Ne.b)),l.Cb(41,180224,[[1,4]],0,Fe.f,[Fe.e,l.p,x.h,l.j,[2,Fe.b]],null,null),l.Rb(42,{collapsedHeight:0,expandedHeight:1}),l.Rb(43,{value:0,params:1}),(t()(),l.Db(44,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(45,16384,null,0,Fe.g,[],null,null),(t()(),l.Db(46,0,null,null,0,"img",[["src","../../../../assets/images/info-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Wb(47,null,[" MORE "," INFORMATIONS "])),(t()(),l.Db(48,0,null,1,48,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(49,0,null,null,25,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(50,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(51,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.sb(16777216,null,null,1,null,$e)),l.Cb(54,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xe)),l.Cb(56,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(57,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(58,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG "])),(t()(),l.Db(60,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,61).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,61).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,61).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,61).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,61).onClick()&&i),i}),null,null)),l.Cb(61,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(62,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(63,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["regTooltip",2]],null,0,null,nn)),(t()(),l.sb(16777216,null,null,1,null,ln)),l.Cb(66,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rn)),l.Cb(68,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(69,0,null,null,5,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(70,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ICAO"])),(t()(),l.Db(72,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(73,null,["",""])),l.Sb(74,1),(t()(),l.Db(75,0,null,null,21,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(76,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(77,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE"])),(t()(),l.sb(16777216,null,null,1,null,on)),l.Cb(80,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,an)),l.Cb(82,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(83,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(84,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE ICAO"])),(t()(),l.sb(16777216,null,null,1,null,sn)),l.Cb(87,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,un)),l.Cb(89,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(90,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(91,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["COUNTRY"])),(t()(),l.sb(16777216,null,null,1,null,cn)),l.Cb(94,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,dn)),l.Cb(96,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(97,16777216,null,null,224,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ne.d,Ne.a)),l.Cb(98,1753088,null,1,Fe.e,[[3,Fe.a],l.j,Ye.d,l.Y,i.d,[2,y.a],[2,Fe.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,3,{_lazyContent:0}),l.Tb(256,null,Fe.a,void 0,[]),(t()(),l.Db(101,0,null,0,9,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,102)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,102)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,102)._animationStarted()&&i),i}),Ne.c,Ne.b)),l.Cb(102,180224,[[1,4]],0,Fe.f,[Fe.e,l.p,x.h,l.j,[2,Fe.b]],null,null),l.Rb(103,{collapsedHeight:0,expandedHeight:1}),l.Rb(104,{value:0,params:1}),(t()(),l.Db(105,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(106,16384,null,0,Fe.g,[],null,null),(t()(),l.Db(107,0,null,null,0,"img",[["src","../../../../assets/images/radar-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(108,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(109,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REAL TIME INFORMATIONS"])),(t()(),l.Db(111,0,null,1,210,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(112,0,null,null,23,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(113,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(114,16777216,null,null,2,"p",[["matTooltip","Squawk"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,115).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,115)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,115)._handleTouchend()&&i),i}),null,null)),l.Cb(115,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["IFF"])),(t()(),l.sb(16777216,null,null,1,null,hn)),l.Cb(118,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pn)),l.Cb(120,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(121,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(122,16777216,null,null,2,"p",[["matTooltip","Altimeter setting"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,123).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,123)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,123)._handleTouchend()&&i),i}),null,null)),l.Cb(123,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT SET"])),(t()(),l.sb(16777216,null,null,1,null,fn)),l.Cb(126,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bn)),l.Cb(128,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(129,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(130,0,null,null,1,"p",[["atTooltip","Vsi"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VERT RATE"])),(t()(),l.sb(16777216,null,null,1,null,mn)),l.Cb(133,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gn)),l.Cb(135,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(136,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(137,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(138,16777216,null,null,2,"p",[["matTooltip","Squawk legend"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,139).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,139)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,139)._handleTouchend()&&i),i}),null,null)),l.Cb(139,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CTL AGENCY"])),(t()(),l.sb(16777216,null,null,1,null,_n)),l.Cb(142,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yn)),l.Cb(144,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(145,0,null,null,29,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(146,0,null,null,12,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(147,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,An)),l.Cb(150,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(151,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,152).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,152).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,152).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,152).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,152).onClick()&&i),i}),null,null)),l.Cb(152,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(153,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(154,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["accuracyTooltip",2]],null,0,null,Tn)),(t()(),l.Db(156,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(157,null,["",""])),l.Sb(158,1),(t()(),l.Db(159,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(160,16777216,null,null,4,"p",[["matTooltip","Position in degre/minute/second"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,161).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,161)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,161)._handleTouchend()&&i),i}),null,null)),l.Cb(161,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,En)),l.Cb(164,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(165,0,null,null,2,"p",[["style","min-width: 95px;"]],null,null,null,null,null)),(t()(),l.Wb(166,null,["",""])),l.Sb(167,1),(t()(),l.Db(168,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(169,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,In)),l.Cb(172,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ln)),l.Cb(174,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(175,0,null,null,33,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(176,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(177,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK "])),(t()(),l.Db(179,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,180).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,180).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,180).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,180).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,180).onClick()&&i),i}),null,null)),l.Cb(180,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(181,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(182,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["trackTooltip",2]],null,0,null,Gn)),(t()(),l.sb(16777216,null,null,1,null,Hn)),l.Cb(185,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Vn)),l.Cb(187,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(188,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(189,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS "])),(t()(),l.Db(191,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,192).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,192).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,192).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,192).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,192).onClick()&&i),i}),null,null)),l.Cb(192,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(193,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(194,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["gsTooltip",2]],null,0,null,el)),(t()(),l.sb(16777216,null,null,1,null,nl)),l.Cb(197,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ll)),l.Cb(199,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(200,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(201,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,il)),l.Cb(204,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rl)),l.Cb(206,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ol)),l.Cb(208,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(209,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(210,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(211,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(212,16777216,null,null,2,"p",[["matTooltip","Barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,213).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,213)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,213)._handleTouchend()&&i),i}),null,null)),l.Cb(213,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,al)),l.Cb(216,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,sl)),l.Cb(218,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(219,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(220,16777216,null,null,2,"p",[["matTooltip","Gps altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,221).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,221)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,221)._handleTouchend()&&i),i}),null,null)),l.Cb(221,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GPS ALT"])),(t()(),l.sb(16777216,null,null,1,null,ul)),l.Cb(224,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,cl)),l.Cb(226,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(227,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(228,16777216,null,null,2,"p",[["matTooltip","Geometric Vertical Accuracy"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,229).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,229)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,229)._handleTouchend()&&i),i}),null,null)),l.Cb(229,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOMETRIC"])),(t()(),l.sb(16777216,null,null,1,null,dl)),l.Cb(232,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,hl)),l.Cb(234,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(235,0,null,null,25,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(236,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(237,16777216,null,null,2,"p",[["matTooltip","Rate of change of barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,238).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,238)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,238)._handleTouchend()&&i),i}),null,null)),l.Cb(238,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["BARO RATE"])),(t()(),l.sb(16777216,null,null,1,null,pl)),l.Cb(241,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,fl)),l.Cb(243,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(244,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(245,16777216,null,null,2,"p",[["matTooltip","Rate of change of geometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,246).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,246)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,246)._handleTouchend()&&i),i}),null,null)),l.Cb(246,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOM RATE"])),(t()(),l.sb(16777216,null,null,1,null,bl)),l.Cb(249,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ml)),l.Cb(251,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(252,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(253,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["WIND "])),(t()(),l.Db(255,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,256).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,256).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,256).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,256).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,256).onClick()&&i),i}),null,null)),l.Cb(256,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(257,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(258,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["windTooltip",2]],null,0,null,xl)),(t()(),l.Db(260,0,null,null,0,"p",[],null,null,null,null,null)),(t()(),l.Db(261,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(262,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(263,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(264,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Flight Manaagement System"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,265).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,265)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,265)._handleTouchend()&&i),i}),null,null)),l.Cb(265,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT FMS"])),(t()(),l.sb(16777216,null,null,1,null,Sl)),l.Cb(268,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kl)),l.Cb(270,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(271,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(272,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Mode Control Panel"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,273).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,273)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,273)._handleTouchend()&&i),i}),null,null)),l.Cb(273,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT MCP"])),(t()(),l.sb(16777216,null,null,1,null,Ml)),l.Cb(276,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ol)),l.Cb(278,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(279,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(280,16777216,null,null,2,"p",[["matTooltip","Selected heading"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,281).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,281)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,281)._handleTouchend()&&i),i}),null,null)),l.Cb(281,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL HEAD"])),(t()(),l.sb(16777216,null,null,1,null,Dl)),l.Cb(284,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Tl)),l.Cb(286,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(287,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(288,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(289,16777216,null,null,2,"p",[["matTooltip","Set of engaged automation modes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,290).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,290)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,290)._handleTouchend()&&i),i}),null,null)),l.Cb(290,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["NAV MODES"])),(t()(),l.sb(16777216,null,null,1,null,El)),l.Cb(293,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Il)),l.Cb(295,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(296,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(297,0,null,null,10,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(298,0,null,null,9,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(299,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SOURCE "])),(t()(),l.Db(301,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,302).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,302).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,302).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,302).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,302).onClick()&&i),i}),null,null)),l.Cb(302,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(303,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(304,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["sourceTooltip",2]],null,0,null,Nl)),(t()(),l.Db(306,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(307,null,["",""])),(t()(),l.Db(308,0,null,null,13,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(309,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(310,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.Db(312,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(313,null,["",""])),(t()(),l.Db(314,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(315,16777216,null,null,2,"p",[["matTooltip","Emitter category to identify particular aircraft or vehicle classes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,316).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,316)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,316)._handleTouchend()&&i),i}),null,null)),l.Cb(316,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CAT"])),(t()(),l.sb(16777216,null,null,1,null,Yl)),l.Cb(319,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ul)),l.Cb(321,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Bl)),l.Cb(323,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(324,0,null,null,4,"div",[["class","sub-panel"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,zl)),l.Cb(326,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gl)),l.Cb(328,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(329,0,null,null,36,"div",[["class","aircraft-options"]],null,null,null,null,null)),(t()(),l.Db(330,0,null,null,35,"ion-tab-bar",[["slot","bottom"]],null,null,null,h.F,h.n)),l.Cb(331,49152,null,0,p.sb,[l.j,l.p,l.G],null,null),(t()(),l.Db(332,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFollow()&&l),l}),h.G,h.o)),l.Cb(333,49152,null,0,p.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(334,0,null,0,1,"ion-icon",[["name","locate"]],null,null,null,h.y,h.g)),l.Cb(335,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(336,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(337,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Follow"])),(t()(),l.Db(339,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectoryLine()&&l),l}),h.G,h.o)),l.Cb(340,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(341,0,null,0,1,"ion-icon",[["name","compass"]],null,null,null,h.y,h.g)),l.Cb(342,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(343,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(344,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Ray"])),(t()(),l.Db(346,0,null,0,5,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),h.G,h.o)),l.Cb(347,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(348,0,null,0,0,"i",[["class","flaticon-chemical-composition"]],null,null,null,null,null)),(t()(),l.Db(349,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(350,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Areas"])),(t()(),l.Db(352,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleInterception()&&l),l}),h.G,h.o)),l.Cb(353,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(354,0,null,0,1,"ion-icon",[["name","jet"]],null,null,null,h.y,h.g)),l.Cb(355,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(356,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(357,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Inter"])),(t()(),l.Db(359,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFocus()&&l),l}),h.G,h.o)),l.Cb(360,49152,null,0,p.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(361,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,h.y,h.g)),l.Cb(362,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(363,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(364,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Focus"]))],(function(t,e){var n=e.component;t(e,5,0,n.selectedAircraft),t(e,7,0,n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,9,0,n.editRoute),t(e,11,0,!n.editRoute&&n.selectedAircraft.fromAirport&&n.selectedAircraft.toAirport),t(e,33,0,"true"),t(e,37,0,!0),t(e,54,0,null===!n.selectedAircraft.model||void 0===n.selectedAircraft.model),t(e,56,0,null!=n.selectedAircraft.model),t(e,61,0,l.Pb(e,64),"template"),t(e,63,0,"information-circle"),t(e,66,0,null==n.selectedAircraft.registration),t(e,68,0,null!=n.selectedAircraft.registration),t(e,80,0,null==n.selectedAircraft.operatorName),t(e,82,0,null!=n.selectedAircraft.operatorName),t(e,87,0,!n.selectedAircraft.operatorIcao),t(e,89,0,n.selectedAircraft.operatorIcao),t(e,94,0,null==n.selectedAircraft.country),t(e,96,0,null!=n.selectedAircraft.country),t(e,98,0,!0),t(e,115,0,"Squawk"),t(e,118,0,null==n.selectedAircraft.squawk),t(e,120,0,null!=n.selectedAircraft.squawk),t(e,123,0,"Altimeter setting"),t(e,126,0,null==n.selectedAircraft.inhg),t(e,128,0,null!=n.selectedAircraft.inhg),t(e,133,0,null==n.selectedAircraft.vsi),t(e,135,0,null!=n.selectedAircraft.vsi),t(e,139,0,"Squawk legend"),t(e,142,0,null==n.selectedAircraft.ctlAgency),t(e,144,0,null!=n.selectedAircraft.ctlAgency),t(e,150,0,n.selectedAircraft.mlat),t(e,152,0,l.Pb(e,155),"template"),t(e,154,0,"information-circle"),t(e,161,0,"Position in degre/minute/second"),t(e,164,0,n.selectedAircraft.mlat),t(e,172,0,null==n.selectedAircraft.altitude),t(e,174,0,null!=n.selectedAircraft.altitude),t(e,180,0,l.Pb(e,183),"template"),t(e,182,0,"information-circle"),t(e,185,0,null==n.selectedAircraft.track),t(e,187,0,null!=n.selectedAircraft.track),t(e,192,0,l.Pb(e,195),"template"),t(e,194,0,"information-circle"),t(e,197,0,null==n.selectedAircraft.speed),t(e,199,0,null!=n.selectedAircraft.speed),t(e,204,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,206,0,null!==n.selectedAircraft.mach),t(e,208,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed()),t(e,213,0,"Barometric altitude"),t(e,216,0,null==n.selectedAircraft.altitude),t(e,218,0,null!=n.selectedAircraft.altitude),t(e,221,0,"Gps altitude"),t(e,224,0,null==n.selectedAircraft.altitudeGps),t(e,226,0,null!=n.selectedAircraft.altitudeGps),t(e,229,0,"Geometric Vertical Accuracy"),t(e,232,0,null==n.selectedAircraft.gva),t(e,234,0,null!=n.selectedAircraft.gva),t(e,238,0,"Rate of change of barometric altitude"),t(e,241,0,null==n.selectedAircraft.baroRate),t(e,243,0,null!=n.selectedAircraft.baroRate),t(e,246,0,"Rate of change of geometric altitude"),t(e,249,0,null==n.selectedAircraft.geomRate),t(e,251,0,null!=n.selectedAircraft.geomRate),t(e,256,0,l.Pb(e,259),"template"),t(e,258,0,"information-circle"),t(e,265,0,"Selected altitude from the Flight Manaagement System"),t(e,268,0,null==n.selectedAircraft.navAltitudeFms),t(e,270,0,null!=n.selectedAircraft.navAltitudeFms),t(e,273,0,"Selected altitude from the Mode Control Panel"),t(e,276,0,null==n.selectedAircraft.navAltitudeMcp),t(e,278,0,null!=n.selectedAircraft.navAltitudeMcp),t(e,281,0,"Selected heading"),t(e,284,0,null==n.selectedAircraft.navHeading),t(e,286,0,null!=n.selectedAircraft.navHeading),t(e,290,0,"Set of engaged automation modes"),t(e,293,0,null==n.selectedAircraft.navModes),t(e,295,0,null!=n.selectedAircraft.navModes),t(e,302,0,l.Pb(e,305),"template"),t(e,304,0,"information-circle"),t(e,316,0,"Emitter category to identify particular aircraft or vehicle classes"),t(e,319,0,null===n.selectedAircraft.category),t(e,321,0,null!==n.selectedAircraft.category),t(e,323,0,n.modeAll),t(e,326,0,n.options.isTrajectoryLine||n.options.isTrajectory),t(e,328,0,n.options.isInterception),t(e,333,0,l.Hb(1,"",n.options.isFollow,"")),t(e,335,0,"locate"),t(e,340,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isTrajectoryLine,"")),t(e,342,0,"compass"),t(e,347,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed||n.selectedAircraft.altitude<=0,l.Hb(1,"",n.options.isTrajectory,"")),t(e,353,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isInterception,"")),t(e,355,0,"jet"),t(e,360,0,l.Hb(1,"",n.options.isFocus,"")),t(e,362,0,"eye")}),(function(t,e){var n=e.component,i=l.Xb(e,19,0,t(e,21,0,l.Pb(e,0),l.Xb(e,19,0,t(e,20,0,l.Pb(e,1),n.selectedAircraft.createdAt,"HH:mm"))));t(e,19,0,i);var r=l.Xb(e,28,0,t(e,30,0,l.Pb(e,0),l.Xb(e,28,0,t(e,29,0,l.Pb(e,1),n.selectedAircraft.eta,"HH:mm"))));t(e,28,0,r),t(e,36,0,l.Pb(e,37).expanded,"NoopAnimations"===l.Pb(e,37)._animationMode,l.Pb(e,37)._hasSpacing());var o=l.Pb(e,41).panel._headerId,a=l.Pb(e,41).disabled?-1:0,s=l.Pb(e,41)._getPanelId(),u=l.Pb(e,41)._isExpanded(),c=l.Pb(e,41).panel.disabled,d=l.Pb(e,41)._isExpanded(),h="after"===l.Pb(e,41)._getTogglePosition(),p="before"===l.Pb(e,41)._getTogglePosition(),f=l.Pb(e,41)._animationsDisabled,b=t(e,43,0,l.Pb(e,41)._getExpandedState(),t(e,42,0,l.Pb(e,41).collapsedHeight,l.Pb(e,41).expandedHeight));t(e,40,0,o,a,s,u,c,d,h,p,f,b),t(e,47,0,n.selectedAircraft.icao);var m=l.Xb(e,73,0,t(e,74,0,l.Pb(e,0),n.selectedAircraft.icao));t(e,73,0,m),t(e,97,0,l.Pb(e,98).expanded,"NoopAnimations"===l.Pb(e,98)._animationMode,l.Pb(e,98)._hasSpacing());var g=l.Pb(e,102).panel._headerId,_=l.Pb(e,102).disabled?-1:0,y=l.Pb(e,102)._getPanelId(),A=l.Pb(e,102)._isExpanded(),v=l.Pb(e,102).panel.disabled,C=l.Pb(e,102)._isExpanded(),w="after"===l.Pb(e,102)._getTogglePosition(),P="before"===l.Pb(e,102)._getTogglePosition(),x=l.Pb(e,102)._animationsDisabled,S=t(e,104,0,l.Pb(e,102)._getExpandedState(),t(e,103,0,l.Pb(e,102).collapsedHeight,l.Pb(e,102).expandedHeight));t(e,101,0,g,_,y,A,v,C,w,P,x,S);var k=l.Xb(e,157,0,t(e,158,0,l.Pb(e,0),n.selectedAircraft.getPositionDegre()));t(e,157,0,k);var M=l.Xb(e,166,0,t(e,167,0,l.Pb(e,0),n.selectedAircraft.getPosition()));t(e,166,0,M),t(e,307,0,n.settingService.getFeedNames(n.selectedAircraft.providers)),t(e,313,0,n.settingService.getFeedTypes(n.selectedAircraft.providers))}))}var Vl=n("6RrN"),ql=l.Bb({encapsulation:0,styles:[[".aircraft-list[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:block;width:300px;z-index:300;overflow-y:auto;max-height:100%}.aircraft-list[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%]{position:relative;background-color:#fff;margin:10px;width:280px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%]{display:flex}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-picture[_ngcontent-%COMP%]{width:30%}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%]{padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] .aircraft-pin-source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:20px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;background-color:var(--ion-color-primary);padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%]{width:40%;text-align:center}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{width:20%;text-align:center}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:5px;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block;color:#fff}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%]{padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%]{display:flex}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:10px;width:33%;margin:2px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-transform:uppercase;color:#999}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .warning[_ngcontent-%COMP%]{color:#b22222!important}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .ctl-agency[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:55px;display:inline-flex}.border-red[_ngcontent-%COMP%]{border:2px solid red}"]],data:{}});function Wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,12),"template"),t(e,3,0,"more")}),null)}function $l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.parent.context.$implicit.stopsIcao)}))}function Xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"div",[["class","aircraft-pin-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(3,null,[" "," "])),l.Sb(4,1),(t()(),l.Db(5,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,1),(t()(),l.Db(8,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Wl)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,$l)),(t()(),l.Db(13,0,null,null,6,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(15,null,[" "," "])),l.Sb(16,1),(t()(),l.Db(17,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(18,null,[" "," "])),l.Sb(19,1)],(function(t,e){t(e,11,0,e.parent.context.$implicit.stopsIcao)}),(function(t,e){t(e,2,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.name,""));var n=l.Xb(e,3,0,t(e,4,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.icao));t(e,3,0,n),t(e,5,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.location,""));var i=l.Xb(e,6,0,t(e,7,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.location));t(e,6,0,i);var r=l.Hb(1,"../../../assets/images/",e.parent.context.$implicit.getIconStatus(),"");t(e,9,0,r),t(e,14,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.name,""));var o=l.Xb(e,15,0,t(e,16,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.icao));t(e,15,0,o),t(e,17,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.location,""));var a=l.Xb(e,18,0,t(e,19,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.location));t(e,18,0,a)}))}function Kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function Ql(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icaoTypeCode)}))}function ti(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ei(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.operatorIcao)}))}function ni(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function li(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function ii(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ri(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.squawk)}))}function oi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ai(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value ctl-agency"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.ctlAgency)}))}function si(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ui(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.altitude));t(e,1,0,n)}))}function ci(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function di(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","ft/m"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.vsi)}))}function hi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OFF"]))],null,null)}function pi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ON"]))],null,null)}function fi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.track)}))}function mi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.speed)}))}function _i(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mach)}))}function Ai(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.parent.context.$implicit.getMachSpeed();t(e,1,0,n)}))}function vi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,98,"div",[["class","aircraft-pin"]],null,[[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var l=!0,i=t.component;return"mouseenter"===e&&(l=!1!==i.mouseEnter(t.context.$implicit)&&l),"mouseleave"===e&&(l=!1!==i.mouseLeave(t.context.$implicit)&&l),l}),null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Rb(3,{"border-red":0}),(t()(),l.Db(4,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0;return"toClose"===e&&(l=!1!==t.component.selectAircraftService.unWatchAircraft(t.context.$implicit)&&l),l}),Le.b,Le.a)),l.Cb(5,245760,null,0,je.a,[j.a,I.b,Re.b,le.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Xl)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,90,"div",[["class","aircraft-pin-desc"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["C.S : "])),(t()(),l.sb(16777216,null,null,1,null,Kl)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Jl)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(17,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MOD : "])),(t()(),l.sb(16777216,null,null,1,null,Ql)),l.Cb(21,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Zl)),l.Cb(23,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(24,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE : "])),(t()(),l.sb(16777216,null,null,1,null,ti)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ei)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(33,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG : "])),(t()(),l.sb(16777216,null,null,1,null,ni)),l.Cb(36,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,li)),l.Cb(38,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(39,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(40,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["IFF : "])),(t()(),l.sb(16777216,null,null,1,null,ii)),l.Cb(43,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ri)),l.Cb(45,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(46,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(47,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["CTL : "])),(t()(),l.sb(16777216,null,null,1,null,oi)),l.Cb(50,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ai)),l.Cb(52,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(53,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(54,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(55,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["FL : "])),(t()(),l.sb(16777216,null,null,1,null,si)),l.Cb(58,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ui)),l.Cb(60,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(61,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(62,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VS : "])),(t()(),l.sb(16777216,null,null,1,null,ci)),l.Cb(65,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,di)),l.Cb(67,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(68,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(69,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["A-PIL : "])),(t()(),l.sb(16777216,null,null,1,null,hi)),l.Cb(72,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pi)),l.Cb(74,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(75,0,null,null,23,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(76,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(77,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK : "])),(t()(),l.sb(16777216,null,null,1,null,fi)),l.Cb(80,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bi)),l.Cb(82,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(83,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(84,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS : "])),(t()(),l.sb(16777216,null,null,1,null,mi)),l.Cb(87,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gi)),l.Cb(89,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(90,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Db(91,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH : "])),(t()(),l.sb(16777216,null,null,1,null,_i)),l.Cb(94,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yi)),l.Cb(96,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ai)),l.Cb(98,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=t(e,3,0,e.component.highLightIcao===e.context.$implicit.icao);t(e,2,0,"aircraft-pin",n),t(e,5,0,e.context.$implicit),t(e,7,0,e.context.$implicit.fromAirport&&e.context.$implicit.toAirport),t(e,14,0,null==e.context.$implicit.callsign),t(e,16,0,null!=e.context.$implicit.callsign),t(e,21,0,null==e.context.$implicit.icaoTypeCode),t(e,23,0,null!=e.context.$implicit.icaoTypeCode),t(e,28,0,null==e.context.$implicit.operatorIcao),t(e,30,0,null!=e.context.$implicit.operatorIcao),t(e,36,0,null==e.context.$implicit.registration),t(e,38,0,null!=e.context.$implicit.registration),t(e,43,0,null==e.context.$implicit.squawk),t(e,45,0,null!=e.context.$implicit.squawk),t(e,50,0,null==e.context.$implicit.ctlAgency),t(e,52,0,null!=e.context.$implicit.ctlAgency),t(e,58,0,null==e.context.$implicit.altitude),t(e,60,0,null!=e.context.$implicit.altitude),t(e,65,0,null==e.context.$implicit.vsi),t(e,67,0,null!=e.context.$implicit.vsi),t(e,72,0,null==e.context.$implicit.navModes||e.context.$implicit.navModes.length<=0),t(e,74,0,null!=e.context.$implicit.navModes&&e.context.$implicit.navModes.length>0),t(e,80,0,null==e.context.$implicit.track),t(e,82,0,null!=e.context.$implicit.track),t(e,87,0,null==e.context.$implicit.speed),t(e,89,0,null!=e.context.$implicit.speed);var l=null==e.context.$implicit.mach&&null==e.context.$implicit.getMachSpeed();t(e,94,0,l),t(e,96,0,null!=e.context.$implicit.mach);var i=null==e.context.$implicit.mach&&null!=e.context.$implicit.getMachSpeed();t(e,98,0,i)}),null)}function Ci(t){return l.Yb(2,[l.Qb(0,Ie.a,[]),l.Qb(0,d.a,[]),(t()(),l.Db(2,0,null,null,5,"div",[["class","aircraft-list"]],null,null,null,null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(4,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(5,{left:0}),(t()(),l.sb(16777216,null,null,1,null,vi)),l.Cb(7,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component,l=t(e,5,0,null!==n.selectAircraft?"300px":"0px");t(e,4,0,l),t(e,7,0,n.watchAircrafts)}),null)}var wi=n("1HJ2"),Pi=l.Bb({encapsulation:0,styles:[["sepia-aircraft-card[_ngcontent-%COMP%]{position:absolute;resize:horizontal;min-width:300px;max-width:50%;width:300px;height:100%;max-height:100%;z-index:300;background-color:#fff;overflow-y:scroll;font-family:Quicksand}sepia-aircraft-card[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(-100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateX(-100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function xi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-card",[],[[24,"@slideInOut",0]],null,null,Hl,ze)),l.Cb(1,507904,null,0,Be.a,[j.a,l.j,T.b,Re.b,ne.a,le.b],{aircraftContext:[0,"aircraftContext"]},null)],(function(t,e){t(e,1,0,e.component.aircraftContext)}),(function(t,e){t(e,0,0,void 0)}))}function Si(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-list",[],null,null,null,Ci,ql)),l.Cb(1,245760,null,0,Vl.a,[l.j,T.b,E.a],null,null),(t()(),l.sb(16777216,null,null,1,null,xi)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,3,0,n.aircraftContext)}),null)}var ki=n("XEuL"),Mi=n("6g9s"),Oi=n("Amq3"),Di=n("iInd"),Ti=l.Bb({encapsulation:2,styles:[ki.a,Mi.a,['.ol-zoom{top:unset;left:unset;bottom:3.5em!important;right:.5em!important}.ol-permalink{display:none}.mouse-position{position:absolute;right:40px;bottom:0;z-index:100;text-shadow:0 0 2px #fff}.reset-bbox{z-index:1000;bottom:8em;right:.5em}.measure-switch{z-index:1000;bottom:11em;right:.5em}.measure-layer__tooltip{position:relative;background:rgba(0,0,0,.7);border-radius:4px;color:#fff;padding:4px 8px;opacity:.8;white-space:nowrap;font-size:16px}.measure-layer__tooltip--measure{display:flex;align-items:center}.measure-layer__tooltip::before{border-top:6px solid rgba(0,0,0,.7);border-right:6px solid transparent;border-left:6px solid transparent;content:"";position:absolute;bottom:-6px;margin-left:-7px;left:50%}.measure-layer__tooltip--hidden{display:none}.measure-layer__unselectable{pointer-events:none;touch-action:none}']],data:{}});function Ei(t){return l.Yb(0,[l.Ub(402653184,1,{positionEl:0}),(t()(),l.Db(1,0,[[1,0],["position",1]],null,0,"p",[["class","mouse-position"]],null,null,null,null,null))],null,null)}var Ii=n("5QaY"),Li=n("IheW"),ji=n("hUP0"),Ri=n("X0qu"),Fi=l.Bb({encapsulation:2,styles:[],data:{}});function Ni(t){return l.Yb(2,[],null,null)}var Yi=n("ppab"),Ui=n("Pmt0"),Bi=n("bHcU"),zi=n("g6Z0"),Gi=n("wtMG"),Hi=n("W8M7"),Vi=n("TN97"),qi=n("WDFe"),Wi=n("cV7i"),$i=function(t){(t=t||{}).loader=this._loader,t.strategy=Wi.a,qi.a.call(this,t),this.set("time",t.time||new Date),this.set("step",t.step||1)};Object(Gi.a)($i,qi.a),$i.prototype._loader=function(t,e,n){var l=this.getCoordinates(this.get("time")),i=new Hi.a([l]);i.transform("EPSG:4326",n),this.addFeature(new Vi.a(i))},$i.prototype.setTime=function(t){this.set("time",t),this.refresh()},$i.prototype.getCoordinates=function(t,e){for(var n=180/Math.PI,l=Math.PI/180,i=(t?new Date(t):new Date)/864e5+2440587.5,r=(18.697374558+24.06570982441908*(i-2451545))%24,o=[],a=function(t){var e=Math.PI/180,n=t-2451545,l=280.46+.9856474*n,i=357.528+.9856003*n;return i%=360,{lambda:(l%=360)+1.915*Math.sin(i*e)+.02*Math.sin(2*i*e),R:1.00014-.01671*Math.cos(i*e)-.0014*Math.cos(2*i*e)}}(i),s=function(t){var e=(t-2451545)/36525;return 23.43929111-e*(46.836769/3600-e*(1831e-7/3600+e*(5.565e-7-e*(1.6e-10-4.34e-8*e/3600))))}(i),u=function(t,e){var n=180/Math.PI,l=Math.PI/180,i=Math.atan(Math.cos(e*l)*Math.tan(t*l))*n,r=Math.asin(Math.sin(e*l)*Math.sin(t*l))*n;return{alpha:i+=90*Math.floor(t/90)-90*Math.floor(i/90),delta:r}}(a.lambda,s),c=this.get("step")||1,d=-180;d<=180;d+=c){var h=d,p=Math.atan(-Math.cos((15*r+h-u.alpha)*l)/Math.tan(u.delta*l))*n;o.push([h,p])}switch(e){case"line":break;case"day":u.delta*=-1;default:o.unshift([-180,p=u.delta<0?90:-90]),o.push([180,p]),o.push(o[0])}if("daynight"===e){var f=[];o.forEach((function(t){f.push(t.slice())})),f[0][1]=-f[0][1],f[f.length-1][1]=-f[0][1],f[f.length-1][1]=-f[0][1],o=[o,f]}return o};var Xi=$i;class Ki extends Yi.a{constructor(t){super(),this.mapService=t}ngOnInit(){switch(this.name){case"DayNight":this.layer=new Ui.a({source:new Xi,opacity:.5,style:new Bi.b({fill:new zi.a({color:[0,0,0]})})}),this.mapService.initDayNightLayerDaemon()}this.layer&&(this.layer.setOpacity(Number(this.opacity)),this.layer.set("name",this.name),this.layer.setVisible("true"===this.visibility),this.mapService.addLayerToGroup(this.groupLayer,this.layer))}}var Ji=l.Bb({encapsulation:2,styles:[],data:{}});function Qi(t){return l.Yb(2,[],null,null)}var Zi=n("ALyU"),tr=n("fURe"),er=n("acye"),nr=n("XrFG"),lr=n("aWqo"),ir=l.Bb({encapsulation:2,styles:[],data:{}});function rr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-trace",[],null,null,null,Zi.b,Zi.a)),l.Cb(1,245760,[[1,4],["traceAircrafts",4]],0,tr.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function or(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-prospective-trace",[],null,null,null,er.b,er.a)),l.Cb(1,245760,[[2,4],["toTraceAircrafts",4]],0,nr.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function ar(t){return l.Yb(2,[l.Ub(671088640,1,{traceAircrafts:1}),l.Ub(671088640,2,{toTraceAircrafts:1}),(t()(),l.sb(16777216,null,null,2,null,rr)),l.Cb(3,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z]),(t()(),l.sb(16777216,null,null,2,null,or)),l.Cb(6,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){var n=e.component;t(e,3,0,l.Xb(e,3,0,l.Pb(e,4).transform(n.selectedAircrafts))),t(e,6,0,l.Xb(e,6,0,l.Pb(e,7).transform(n.selectedAircrafts)))}),null)}var sr=n("UK0T"),ur=n("P151"),cr=n("sLNx"),dr=l.Bb({encapsulation:2,styles:[],data:{}});function hr(t){return l.Yb(2,[],null,null)}var pr=n("9ANI"),fr=n("gpXz"),br=n("hoJM"),mr=n("JW8z");class gr{constructor(){this.labelFeature=void 0}ngOnInit(){this.source.addFeature(this.createFeature())}ngOnDestroy(){this.labelFeature&&this.source.removeFeature(this.labelFeature)}updateFeature(){this.labelFeature.setGeometry(new pr.a(Object(mr.d)([this.aircraft.longitude,this.aircraft.latitude]))),this.labelFeature.setStyle(this.getStyleFeature())}createFeature(){return this.labelFeature||(this.labelFeature=new Vi.a({geometry:new pr.a(Object(mr.d)([this.aircraft.longitude,this.aircraft.latitude])),id_:"label-"+this.aircraft.icao,type_:"label"}),this.labelFeature.setStyle(this.getStyleFeature())),this.labelFeature}getStyleFeature(){let t="???";return this.aircraft.altitude&&this.aircraft.altitude<5e3?t=this.aircraft.altitude.toString()+"Ft":this.aircraft.altitude&&this.aircraft.altitude>5e3&&(t="FL"+(this.aircraft.altitude/100).toFixed(0).toString()),new Bi.b({text:new fr.a({text:(this.aircraft.callsign?this.aircraft.callsign:"???")+"\n"+t+"\n"+(this.aircraft.squawk?this.aircraft.squawk:"???"),fill:new zi.a({color:"white"}),textAlign:"left",offsetY:35,padding:[0,0,0,0],font:"11px/1.2 sans-serif",stroke:new br.a({color:"rgba(0, 0, 0, 0.3)",width:5})})})}}var _r=l.Bb({encapsulation:2,styles:[],data:{}});function yr(t){return l.Yb(2,[],null,null)}class Ar extends Yi.a{constructor(t,e,n,l){super(),this.ref=t,this.mapService=e,this.selectAircraftService=n,this.trafficService=l,this.subscriptions=[],this.trafficAircrafts={},this.hoverAircraft=void 0,this.zoom=0}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",super.getVectorLayer()),this.trafficAircrafts=this.trafficService.getAircrafts(),this.subscriptions.push(this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageHoverLabel(t)})),this.subscriptions.push(this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.trafficAircrafts=t,this.manageTrafficLabels()})),this.subscriptions.push(this.mapService.getViewChangeEmitter().subscribe(t=>{this.zoom=t.getZoom(),this.ref.detectChanges()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}manageTrafficLabels(){this.zoom>8&&this.trafficLabels.forEach(t=>{t.updateFeature()})}manageHoverLabel(t){t.haveStatus(T.a.HOVER)?void 0===this.hoverAircraft?(this.hoverAircraft=t.aircraft,this.ref.detectChanges()):(this.hoverAircraft=t.aircraft,this.hoverLabel.updateFeature()):(this.hoverAircraft=void 0,this.ref.detectChanges())}}var vr=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Cr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-label",[],null,null,null,yr,_r)),l.Cb(2,245760,[[2,4],["trafficLabel",4]],0,gr,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,2,0,e.component.source,e.context.$implicit.value)}),null)}function wr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,Cr)),l.Cb(2,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){var n=e.component;t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(n.trafficAircrafts)))}),null)}function Pr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-label",[],null,null,null,yr,_r)),l.Cb(1,245760,[[1,4],["hoverLabel",4]],0,gr,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.source,n.hoverAircraft)}),null)}function xr(t){return l.Yb(2,[l.Ub(671088640,1,{hoverLabel:0}),l.Ub(671088640,2,{trafficLabels:1}),(t()(),l.sb(16777216,null,null,1,null,wr)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pr)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.zoom>8),t(e,5,0,n.hoverAircraft)}),null)}var Sr=n("zfM5"),kr=n("3mbo"),Mr=n("qU9k"),Or=n("EDvw"),Dr=n("I5KE");class Tr{constructor(t,e,n,l,i,r,o){this.mapService=e,this.measuresService=n,this.selectAircraftService=l,this.landInteractionService=i,this.timeService=r,this.modeService=o}ngOnInit(){this.mapService.getMap().on("pointermove",t=>{this.onHover(t)}),this.mapService.getMap().on("singleclick",t=>{this.onClick(t)}),this.mapService.getMap().on("dblclick",t=>{this.onDblclick(t)}),this.mapService.getMap().getInteractions().forEach(t=>{t instanceof Sr.a&&this.mapService.getMap().removeInteraction(t)}),this.measuresService.initLayer()}ngOnChanges(t){document.getElementById("measure-switch-div").style["background-color"]=t.measureModeIsEnabled.currentValue?"rgba( 0, 0, 0, .4 )":"rgba( 255, 255, 255, .4 )"}isTrafficLayer(t){return!!t&&!!t.get("name")&&"aircraft"===t.get("name").split(":")[0]}onHover(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress&&this.measuresService.updateMeasure(t.coordinate);else{const e=[],n=[];this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof Or.a)n.push(t.getAircraft());else if(!0===l.get("hoverable")||!0===t.get("hoverable")){const n=new Dr.a(l,t);e.push(n)}},{hitTolerance:1}),this.selectAircraftService.hoverAircraft(n),this.landEntitiesAreNoSelected()&&(e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,Mr.b.HOVER):this.landInteractionService.status===Mr.b.HOVER&&this.landInteractionService.unsetLandEntities())}}onClick(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress?this.measuresService.addWaypoint(t.coordinate,t.pixel):this.measuresService.startMeasure(t.coordinate,t.pixel);else{const e=[];let n;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof Or.a)n=t.getAircraft();else if(!0===l.get("clickable")||!0===t.get("clickable")){const n=new Dr.a(l,t);e.push(n)}},{hitTolerance:1}),e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,Mr.b.SELECT):this.landInteractionService.unsetLandEntities(),n&&this.modeService.getModeMap()===le.a.ALL_AIRCRAFT){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleWatchAircraft(n,t)}}}onDblclick(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress&&this.measuresService.doneMeasure();else{let e;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,n)=>{this.isTrafficLayer(n)&&t instanceof Or.a&&(e=t.getAircraft())},{hitTolerance:1}),e&&this.modeService.getModeMap()===le.a.ALL_AIRCRAFT){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleSelectAircraft(e,t)}}}landEntitiesAreNoSelected(){return this.landInteractionService.status!==Mr.b.SELECT}}var Er=l.Bb({encapsulation:2,styles:[],data:{}});function Ir(t){return l.Yb(2,[],null,null)}var Lr=n("2VmZ"),jr=l.Bb({encapsulation:0,styles:[['.ol-popup[_ngcontent-%COMP%]{position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));padding:5px;border-radius:2px;bottom:20px;left:-50px;min-width:150px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]:last-child{border:0}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-type[_ngcontent-%COMP%]{margin:5px 0;font-size:10px;color:#000}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-title[_ngcontent-%COMP%]{margin:5px 0;font-size:14px;color:#3880ff}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%]{display:-webkit-box;justify-content:space-between}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-description-link[_ngcontent-%COMP%]{font-size:12px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin:2px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-value[_ngcontent-%COMP%]{width:-webkit-max-content;width:-moz-max-content;width:max-content}.ol-popup[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);font-size:14px}.ol-popup[_ngcontent-%COMP%]:after, .ol-popup[_ngcontent-%COMP%]:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup[_ngcontent-%COMP%]:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}.ol-popup[_ngcontent-%COMP%]:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}']],data:{}});function Rr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.landInteractionService.unsetLandEntities()&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Fr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude max: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_max/100:e.parent.context.$implicit.properties.altitude_max,e.parent.context.$implicit.properties.unit)}))}function Nr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude min: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_min/100:e.parent.context.$implicit.properties.altitude_min,e.parent.context.$implicit.properties.unit)}))}function Yr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"a",[["class","land-description-link"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Wb(-1,null,["lien"]))],null,(function(t,e){t(e,1,0,l.Hb(1,"",e.parent.context.$implicit.value,""))}))}function Ur(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","land-value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.value)}))}function Br(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","land-description-item"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["",":"])),(t()(),l.sb(16777216,null,null,1,null,Yr)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["textBlock",2]],null,0,null,Ur))],(function(t,e){t(e,4,0,e.component.validURL(e.context.$implicit.value),l.Pb(e,5))}),(function(t,e){t(e,2,0,e.context.$implicit.key)}))}function zr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","land-description"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,Br)),l.Cb(2,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(e.parent.context.$implicit.data)))}),null)}function Gr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,10,"div",[["class","land-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h5",[["class","land-type"]],null,null,null,null,null)),(t()(),l.Wb(2,null,[" "," "])),(t()(),l.Db(3,0,null,null,1,"h4",[["class","land-title"]],null,null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.sb(16777216,null,null,1,null,Fr)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nr)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zr)),l.Cb(10,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,l=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_max;t(e,6,0,l);var i=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_min;t(e,8,0,i),t(e,10,0,n.displayDescription)}),(function(t,e){t(e,2,0,e.context.$implicit.type),t(e,4,0,e.context.$implicit.name)}))}function Hr(t){return l.Yb(2,[l.Ub(402653184,1,{landPopup:0}),(t()(),l.Db(1,0,[[1,0],["landPopup",1]],null,4,"div",[["class","ol-popup"],["id","land-popup"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Rr)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gr)),l.Cb(5,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.displayDescription),t(e,5,0,n.displayLandEntities)}),null)}var Vr=n("nkhJ"),qr=n("yKYT");class Wr{constructor(t){this.modeService=t,this.displayBottomPanel=!1}ngOnInit(){this.displayBottomPanel=this.modeService.getModeMap()===le.a.ONE_AIRCRAFT,this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.displayBottomPanel=t===le.a.ONE_AIRCRAFT})}ngOnDestroy(){}}var $r=l.Bb({encapsulation:0,styles:[["sepia-aircraft-replay[_ngcontent-%COMP%]{position:absolute;resize:vertical;width:calc(100% - 300px);top:calc(100% - 220px);background-color:#fff;z-index:300}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function Xr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-replay",[],[[24,"@slideInOut",0]],null,null,Vr.c,Vr.b)),l.Cb(1,114688,null,0,qr.a,[cr.a,l.j],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,void 0)}))}function Kr(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,Xr)),l.Cb(1,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.displayBottomPanel)}),null)}var Jr=n("mzvH");n.d(e,"a",(function(){return no}));var Qr=l.Bb({encapsulation:2,styles:[[".loader{display:flex;justify-content:center;align-items:center;background:#fff;padding-top:20px;padding-bottom:20px}.welcome-card ion-img{max-height:35vh;overflow:hidden}.mat-dialog-content{padding:0!important;margin:0!important}ion-header .traffic-counter{display:flex;padding:10px;margin:5px;border:1px solid;border-radius:25px}.body-div{position:absolute;display:inline-flex;width:100%;height:100%}.body-div .map{display:inline-flex;width:80%;height:100%;min-width:50%}.body-div .map sepia-map{position:relative;width:100%;height:100%}.body-div .panel-list{width:20%;max-width:670px;min-width:100px;height:100%;border-left:5px solid var(--ion-color-primary)}.ctrl{position:fixed;right:0;background:#fff}.ctrl>>>.ol-bookmark div{display:block!important}sepia-bottom-panel{position:absolute;left:300px;bottom:0;width:100%}app-mouse-position{position:absolute;bottom:0;left:0;right:0;font-size:1.5em;text-align:center;font-family:sans-serif}app-mouse-position>>>div{bottom:0;top:auto;left:0}.ol-mouse-position{font-family:Quicksand;font-weight:900;position:relative!important;padding:0 10px;top:0!important;right:0!important;border-radius:15px;background:rgba(171,163,163,.64)}.ol-layerswitcher{top:.5em!important;margin-top:25px}mwlResizable{box-sizing:border-box}"]],data:{}});function Zr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","panel-list"],["mwlResizable",""]],null,[[null,"resizing"]],(function(t,e,n){var l=!0;return"resizing"===e&&(l=!1!==t.component.onResizeListPanel(n)&&l),l}),null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(2,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),l.Cb(3,737280,null,0,r.a,[l.J,l.M,l.p,l.G],{resizeEdges:[0,"resizeEdges"],enableGhostResize:[1,"enableGhostResize"]},{resizing:"resizing"}),l.Rb(4,{left:0}),(t()(),l.Db(5,0,null,null,1,"sepia-right-panel",[],null,null,null,W,R)),l.Cb(6,245760,null,0,M.a,[O.e,l.p,D.a,T.b,E.a,I.b,L.a,j.a],null,null)],(function(t,e){t(e,2,0,e.component.styleListPanel);var n=t(e,4,0,!0);t(e,3,0,n,!0),t(e,6,0)}),null)}function to(t){return l.Yb(0,[l.Ub(402653184,1,{child:0}),(t()(),l.Db(1,0,null,null,1,"sepia-header",[],null,null,null,fe,ie)),l.Cb(2,114688,null,0,ee.a,[E.a,I.b,ne.a,le.b],null,null),(t()(),l.Db(3,0,null,null,27,"ion-content",[["scroll","false"]],null,null,null,h.w,h.e)),l.Cb(4,49152,null,0,p.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(5,0,null,0,25,"div",[["class","body-div"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,1,"sepia-left-panel",[],null,null,null,Si,Pi)),l.Cb(7,245760,null,0,wi.a,[l.j,T.b],null,null),(t()(),l.Db(8,0,null,null,18,"div",[["class","map"]],null,null,null,null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(10,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(11,0,null,null,15,"sepia-map",[["lat","46.6"],["lon","2.3"],["zoom","6"]],null,null,null,Ei,Ti)),l.Cb(12,114688,[[1,4]],0,Oi.a,[Di.a,D.a,l.p,kt.a,E.a,T.b],{lon:[0,"lon"],lat:[1,"lat"],zoom:[2,"zoom"]},null),(t()(),l.Db(13,0,null,null,1,"sepia-remote-layer",[],null,null,null,Ni,Fi)),l.Cb(14,114688,null,0,Ii.a,[Li.c,D.a,ji.a,Ri.a],null,null),(t()(),l.Db(15,0,null,null,1,"sepia-layer",[["groupLayer","GENERAL"],["name","DayNight"],["opacity",".33"],["visibility","true"],["zIndex","1000"]],null,null,null,Qi,Ji)),l.Cb(16,114688,null,0,Ki,[D.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(17,0,null,null,1,"sepia-traces",[["groupLayer","Traffic"],["name","Traces"],["opacity","1"],["visibility","true"],["zIndex","1100"]],null,null,null,ar,ir)),l.Cb(18,245760,null,0,lr.a,[l.j,D.a,T.b],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(19,0,null,null,1,"sepia-traffic-layer",[["groupLayer","Traffic"],["name","aircraft"],["opacity","1"],["visibility","true"],["zIndex","1101"]],null,null,null,hr,dr)),l.Cb(20,245760,null,0,sr.a,[D.a,E.a,T.b,I.b,ur.a,j.a,le.b,cr.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(21,0,null,null,1,"sepia-labels",[["groupLayer","Traffic"],["name","Labels"],["opacity","1"],["visibility","true"],["zIndex","1200"]],null,null,null,xr,vr)),l.Cb(22,245760,null,0,Ar,[l.j,D.a,T.b,E.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(23,0,null,null,1,"sepia-touch",[],null,null,null,Ir,Er)),l.Cb(24,638976,null,0,Tr,[i.d,D.a,kr.a,T.b,Mr.a,I.b,le.b],{measureModeIsEnabled:[0,"measureModeIsEnabled"]},null),(t()(),l.Db(25,0,null,null,1,"sepia-land-popup",[],null,null,null,Hr,jr)),l.Cb(26,245760,null,0,Lr.a,[l.j,D.a,Mr.a],null,null),(t()(),l.sb(16777216,null,null,1,null,Zr)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(29,0,null,null,1,"sepia-bottom-panel",[],null,null,null,Kr,$r)),l.Cb(30,245760,null,0,Wr,[le.b],null,null)],(function(t,e){var n=e.component;t(e,2,0),t(e,7,0),t(e,10,0,n.styleMap),t(e,12,0,"2.3","46.6","6"),t(e,14,0),t(e,16,0,"DayNight",".33","true","1000","GENERAL"),t(e,18,0,"Traces","1","true","1100","Traffic"),t(e,20,0,"aircraft","1","true","1101","Traffic"),t(e,22,0,"Labels","1","true","1200","Traffic"),t(e,24,0,n.mapService.getMap().measureModeIsEnabled),t(e,26,0),t(e,28,0,n.displayListPanel),t(e,30,0)}),null)}function eo(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-desktop",[],null,null,null,to,Qr)),l.Cb(1,114688,null,0,Jr.a,[p.Hb,p.Eb,le.b,D.a],null,null)],(function(t,e){t(e,1,0)}),null)}var no=l.zb("app-desktop",Jr.a,eo,{},{},[])},mTEX:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFleetControllerFleetPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFleetControllerFleet(t){return this.getOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFleetControllerFleetPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFleetControllerFleet(t){return this.replaceOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFleetControllerFleetPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFleetControllerFleet(t){return this.deleteOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFleetControllerFleetPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFleetControllerFleet(t){return this.updateOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFleetControllerFleetPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFleetControllerFleet(t){return this.getManyBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFleetControllerFleetPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFleetControllerFleet(t){return this.createOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFleetControllerFleetPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFleetControllerFleet(t){return this.createManyBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFleetControllerFleetPath="/fleet/{id}",t.ReplaceOneBaseFleetControllerFleetPath="/fleet/{id}",t.DeleteOneBaseFleetControllerFleetPath="/fleet/{id}",t.UpdateOneBaseFleetControllerFleetPath="/fleet/{id}",t.GetManyBaseFleetControllerFleetPath="/fleet",t.CreateOneBaseFleetControllerFleetPath="/fleet",t.CreateManyBaseFleetControllerFleetPath="/fleet/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},mUkt:function(t,e,n){"use strict";n.r(e),n.d(e,"GESTURE_CONTROLLER",(function(){return r})),n.d(e,"createGesture",(function(){return c}));class l{constructor(t,e,n,l,i){this.id=e,this.name=n,this.disableScroll=i,this.priority=1e6*l+e,this.ctrl=t}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const t=this.ctrl.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.ctrl.disableScroll(this.id),t}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class i{constructor(t,e,n,l){this.id=e,this.disable=n,this.disableScroll=l,this.ctrl=t}block(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.disableGesture(t,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.enableGesture(t,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const r=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(t){return new l(this,this.newID(),t.name,t.priority||0,!!t.disableScroll)}createBlocker(t={}){return new i(this,this.newID(),t.disable,!!t.disableScroll)}start(t,e,n){return this.canStart(t)?(this.requestedStart.set(e,n),!0):(this.requestedStart.delete(e),!1)}capture(t,e,n){if(!this.start(t,e,n))return!1;const l=this.requestedStart;let i=-1e4;if(l.forEach(t=>{i=Math.max(i,t)}),i===n){this.capturedId=e,l.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:t}});return document.dispatchEvent(n),!0}return l.delete(e),!1}release(t){this.requestedStart.delete(t),this.capturedId===t&&(this.capturedId=void 0)}disableGesture(t,e){let n=this.disabledGestures.get(t);void 0===n&&(n=new Set,this.disabledGestures.set(t,n)),n.add(e)}enableGesture(t,e){const n=this.disabledGestures.get(t);void 0!==n&&n.delete(e)}disableScroll(t){this.disabledScroll.add(t),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}enableScroll(t){this.disabledScroll.delete(t),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}canStart(t){return void 0===this.capturedId&&!this.isDisabled(t)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(t){const e=this.disabledGestures.get(t);return!!(e&&e.size>0)}newID(){return this.gestureId++,this.gestureId}},o=(t,e,n,l)=>{const i=a(t)?{capture:!!l.capture,passive:!!l.passive}:!!l.capture;let r,o;return t.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",o="__zone_symbol__removeEventListener"):(r="addEventListener",o="removeEventListener"),t[r](e,n,i),()=>{t[o](e,n,i)}},a=t=>{if(void 0===s)try{const e=Object.defineProperty({},"passive",{get:()=>{s=!0}});t.addEventListener("optsTest",()=>{},e)}catch(e){s=!1}return!!s};let s;const u=t=>t instanceof Document?t:t.ownerDocument,c=t=>{let e=!1,n=!1,l=!0,i=!1;const a=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},t),s=a.canStart,c=a.onWillStart,f=a.onStart,b=a.onEnd,m=a.notCaptured,g=a.onMove,_=a.threshold,y={type:"pan",startX:0,startY:0,startTimeStamp:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,timeStamp:0,event:void 0,data:void 0},A=((t,e,n)=>{const l=n*(Math.PI/180),i="x"===t,r=Math.cos(l),o=e*e;let a=0,s=0,u=!1,c=0;return{start(t,e){a=t,s=e,c=0,u=!0},detect(t,e){if(!u)return!1;const n=t-a,l=e-s,d=n*n+l*l;if(d<o)return!1;const h=Math.sqrt(d),p=(i?n:l)/h;return c=p>r?1:p<-r?-1:0,u=!1,!0},isGesture:()=>0!==c,getDirection:()=>c}})(a.direction,a.threshold,a.maxAngle),v=r.createGesture({name:t.gestureName,priority:t.gesturePriority,disableScroll:t.disableScroll}),C=()=>{e&&(i=!1,g&&g(y))},w=()=>!(v&&!v.capture()||(e=!0,l=!1,y.startX=y.currentX,y.startY=y.currentY,y.startTimeStamp=y.timeStamp,c?c(y).then(P):P(),0)),P=()=>{f&&f(y),l=!0},x=()=>{e=!1,n=!1,i=!1,l=!0,v.release()},S=t=>{const n=e,i=l;x(),i&&(d(y,t),n?b&&b(y):m&&m(y))},k=((t,e,n,l,i)=>{let r,a,s,c,d,h,p,f=0;const b=l=>{f=Date.now()+2e3,e(l)&&(!a&&n&&(a=o(t,"touchmove",n,i)),s||(s=o(t,"touchend",g,i)),c||(c=o(t,"touchcancel",g,i)))},m=l=>{f>Date.now()||e(l)&&(!h&&n&&(h=o(u(t),"mousemove",n,i)),p||(p=o(u(t),"mouseup",_,i)))},g=t=>{y(),l&&l(t)},_=t=>{A(),l&&l(t)},y=()=>{a&&a(),s&&s(),c&&c(),a=s=c=void 0},A=()=>{h&&h(),p&&p(),h=p=void 0},v=()=>{y(),A()},C=e=>{e?(r&&r(),d&&d(),r=d=void 0,v()):(r||(r=o(t,"touchstart",b,i)),d||(d=o(t,"mousedown",m,i)))};return{setDisabled:C,stop:v,destroy:()=>{C(!0),l=n=e=void 0}}})(a.el,t=>{const e=p(t);return!(n||!l)&&(h(t,y),y.startX=y.currentX,y.startY=y.currentY,y.startTimeStamp=y.timeStamp=e,y.velocityX=y.velocityY=y.deltaX=y.deltaY=0,y.event=t,(!s||!1!==s(y))&&(v.release(),!!v.start()&&(n=!0,0===_?w():(A.start(y.startX,y.startY),!0))))},t=>{e?!i&&l&&(i=!0,d(y,t),requestAnimationFrame(C)):(d(y,t),A.detect(y.currentX,y.currentY)&&(A.isGesture()&&w()||M()))},S,{capture:!1}),M=()=>{x(),k.stop(),m&&m(y)};return{setDisabled(t){t&&e&&S(void 0),k.setDisabled(t)},destroy(){v.destroy(),k.destroy()}}},d=(t,e)=>{if(!e)return;const n=t.currentX,l=t.currentY,i=t.timeStamp;h(e,t);const r=t.currentX,o=t.currentY,a=(t.timeStamp=p(e))-i;if(a>0&&a<100){const e=(o-l)/a;t.velocityX=(r-n)/a*.7+.3*t.velocityX,t.velocityY=.7*e+.3*t.velocityY}t.deltaX=r-t.startX,t.deltaY=o-t.startY,t.event=e},h=(t,e)=>{let n=0,l=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];n=t.clientX,l=t.clientY}else void 0!==t.pageX&&(n=t.pageX,l=t.pageY)}e.currentX=n,e.currentY=l},p=t=>t.timeStamp||Date.now()},mWFr:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}searchControllerGetSearch$Response(e){const n=new o.a(this.rootUrl,t.SearchControllerGetSearchPath,"get");return e&&(n.query("limit",e.limit),n.query("value",e.value)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}searchControllerGetSearch(t){return this.searchControllerGetSearch$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.SearchControllerGetSearchPath="/search",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},mkQN:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("9iPr"),a=n("9ANI"),s=n("mrzG"),u=n("q7cr"),c=n("u2yf"),d=n("f8l7"),h=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){function e(e,n){var l=t.call(this)||this;return n&&!Array.isArray(e[0])?l.setFlatCoordinates(n,e):l.setCoordinates(e,n),l}return h(e,t),e.prototype.appendPoint=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){if(l<Object(r.e)(this.getExtent(),t,e))return l;for(var i=this.flatCoordinates,o=this.stride,a=0,s=i.length;a<s;a+=o){var u=Object(d.f)(t,e,i[a],i[a+1]);if(u<l){l=u;for(var c=0;c<o;++c)n[c]=i[a+c];n.length=o}}return l},e.prototype.getCoordinates=function(){return Object(c.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getPoint=function(t){return t<0||(this.flatCoordinates?this.flatCoordinates.length/this.stride:0)<=t?null:new a.a(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)},e.prototype.getPoints=function(){for(var t=this.flatCoordinates,e=this.layout,n=this.stride,l=[],i=0,r=t.length;i<r;i+=n){var o=new a.a(t.slice(i,i+n),e);l.push(o)}return l},e.prototype.getType=function(){return o.a.MULTI_POINT},e.prototype.intersectsExtent=function(t){for(var e=this.flatCoordinates,n=this.stride,l=0,i=e.length;l<i;l+=n){var o=e[l],a=e[l+1];if(Object(r.h)(t,o,a))return!0}return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(u.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(s.a);e.a=p},mkRZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8bJo"),n("8Y7J"),n("s7LF"),n("Xd0L");class l{}},mnSs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return r}));var l=n("8Y7J");class i{constructor(t,e){this.elementRef=t,this.renderer=e,this._show=!1,this.events=new l.r}transitionEnd(t){this.show&&this.events.emit({type:"shown"})}set show(t){t&&this.setPosition(),this._show=this.hostClassShow=t}get show(){return this._show}get placement(){return this.data.options.placement}get autoPlacement(){return this.data.options.autoPlacement}get element(){return this.data.element}get elementPosition(){return this.data.elementPosition}get options(){return this.data.options}get value(){return this.data.value}get tooltipOffset(){return Number(this.data.options.offset)}get isThemeLight(){return"light"===this.options.theme}ngOnInit(){this.setCustomClass(),this.setStyles()}setPosition(){if(this.setHostStyle(this.placement))this.setPlacementClass(this.placement);else{const t=["top","right","bottom","left"];let e;for(const n of t)if(this.setHostStyle(n))return this.setPlacementClass(n),void(e=!0);e||(this.setHostStyle(this.placement,!0),this.setPlacementClass(this.placement))}}setPlacementClass(t){this.renderer.addClass(this.elementRef.nativeElement,"tooltip-"+t)}setHostStyle(t,e=!1){const n=this.element instanceof SVGElement,l=this.elementRef.nativeElement,i=!this.elementPosition.right;let r=n?this.element.getBoundingClientRect().height:this.element.offsetHeight,o=n?this.element.getBoundingClientRect().width:this.element.offsetWidth;const a=l.clientHeight,s=l.clientWidth,u=window.pageYOffset;let c,d;if(i&&(r=0,o=0),"top"===t&&(c=this.elementPosition.top+u-(a+this.tooltipOffset)),"bottom"===t&&(c=this.elementPosition.top+u+r+this.tooltipOffset),"top"!==t&&"bottom"!==t||(d=this.elementPosition.left+o/2-s/2),"left"===t&&(d=this.elementPosition.left-s-this.tooltipOffset),"right"===t&&(d=this.elementPosition.left+o+this.tooltipOffset),"left"!==t&&"right"!==t||(c=this.elementPosition.top+u+r/2-l.clientHeight/2),this.autoPlacement&&!e){const t=c+a,e=d,n=d+s,l=window.innerHeight+u,i=document.body.clientWidth;if(c<0||t>l||e<0||n>i)return!1}return this.hostStyleTop=c+"px",this.hostStyleLeft=d+"px",!0}setZIndex(){0!==this.options.zIndex&&(this.hostStyleZIndex=this.options.zIndex)}setPointerEvents(){this.options.pointerEvents&&(this.hostStylePointerEvents=this.options.pointerEvents)}setCustomClass(){this.options.tooltipClass&&this.options.tooltipClass.split(" ").forEach(t=>{this.renderer.addClass(this.elementRef.nativeElement,t)})}setAnimationDuration(){Number(this.options.animationDuration)!=this.options.animationDurationDefault&&(this.hostStyleTransition="opacity "+this.options.animationDuration+"ms")}setStyles(){this.setZIndex(),this.setPointerEvents(),this.setAnimationDuration(),this.hostClassShadow=this.options.shadow,this.hostClassLight=this.isThemeLight,this.hostStyleMaxWidth=this.options.maxWidth+"px",this.hostStyleWidth=this.options.width?this.options.width+"px":""}}const r=new l.w("TooltipOptions"),o={placement:"top",autoPlacement:!0,contentType:"string",showDelay:0,hideDelay:300,hideDelayMobile:0,hideDelayTouchscreen:0,zIndex:0,animationDuration:300,animationDurationDefault:300,trigger:"hover",tooltipClass:"",display:!0,displayMobile:!0,displayTouchscreen:!0,shadow:!0,theme:"dark",offset:8,maxWidth:"",id:!1,hideDelayAfterClick:2e3},a={delay:"showDelay","show-delay":"showDelay","hide-delay":"hideDelay","hide-delay-mobile":"hideDelayTouchscreen",hideDelayMobile:"hideDelayTouchscreen","z-index":"zIndex","animation-duration":"animationDuration","animation-duration-default":"animationDurationDefault","tooltip-class":"tooltipClass","display-mobile":"displayTouchscreen",displayMobile:"displayTouchscreen","max-width":"maxWidth"};class s{constructor(t,e,n,i,r){this.initOptions=t,this.elementRef=e,this.componentFactoryResolver=n,this.appRef=i,this.injector=r,this._showDelay=0,this._hideDelay=300,this._options={},this.events=new l.r}set options(t){t&&o&&(this._options=t)}get options(){return this._options}get isTooltipDestroyed(){return this.componentRef&&this.componentRef.hostView.destroyed}get destroyDelay(){return this._destroyDelay?this._destroyDelay:Number(this.getHideDelay())+Number(this.options.animationDuration)}set destroyDelay(t){this._destroyDelay=t}get tooltipPosition(){return this.options.position?this.options.position:this.elementPosition}onMouseEnter(){0!=this.isDisplayOnHover&&this.show()}onMouseLeave(){"hover"===this.options.trigger&&this.destroyTooltip()}onClick(){0!=this.isDisplayOnClick&&(this.show(),this.hideAfterClickTimeoutId=window.setTimeout(()=>{this.destroyTooltip()},this.options.hideDelayAfterClick))}ngOnInit(){}ngOnChanges(t){this.initOptions=this.renameProperties(this.initOptions);let e=this.getProperties(t);e=this.renameProperties(e),this.applyOptionsDefault(o,e)}ngOnDestroy(){this.destroyTooltip({fast:!0}),this.componentSubscribe&&this.componentSubscribe.unsubscribe()}getShowDelay(){return this.options.showDelay}getHideDelay(){return this.isTouchScreen?this.options.hideDelayTouchscreen:this.options.hideDelay}getProperties(t){let e={};for(var n in t)"options"!==n&&"tooltipValue"!==n&&(e[n]=t[n].currentValue),"options"===n&&(e=t[n].currentValue);return e}renameProperties(t){for(var e in t)a[e]&&(t[a[e]]=t[e],delete t[e]);return t}getElementPosition(){this.elementPosition=this.elementRef.nativeElement.getBoundingClientRect()}createTooltip(){this.clearTimeouts(),this.getElementPosition(),this.createTimeoutId=window.setTimeout(()=>{this.appendComponentToBody(i)},this.getShowDelay()),this.showTimeoutId=window.setTimeout(()=>{this.showTooltipElem()},this.getShowDelay())}destroyTooltip(t={fast:!1}){this.clearTimeouts(),0==this.isTooltipDestroyed&&(this.hideTimeoutId=window.setTimeout(()=>{this.hideTooltip()},t.fast?0:this.getHideDelay()),this.destroyTimeoutId=window.setTimeout(()=>{this.componentRef&&!this.isTooltipDestroyed&&(this.appRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.events.emit({type:"hidden",position:this.tooltipPosition}))},t.fast?0:this.destroyDelay))}showTooltipElem(){this.clearTimeouts(),this.componentRef.instance.show=!0,this.events.emit({type:"show",position:this.tooltipPosition})}hideTooltip(){this.componentRef&&!this.isTooltipDestroyed&&(this.componentRef.instance.show=!1,this.events.emit({type:"hide",position:this.tooltipPosition}))}appendComponentToBody(t,e={}){this.componentRef=this.componentFactoryResolver.resolveComponentFactory(t).create(this.injector),this.componentRef.instance.data={value:this.tooltipValue,element:this.elementRef.nativeElement,elementPosition:this.tooltipPosition,options:this.options},this.appRef.attachView(this.componentRef.hostView),document.body.appendChild(this.componentRef.hostView.rootNodes[0]),this.componentSubscribe=this.componentRef.instance.events.subscribe(t=>{this.handleEvents(t)})}clearTimeouts(){this.createTimeoutId&&clearTimeout(this.createTimeoutId),this.showTimeoutId&&clearTimeout(this.showTimeoutId),this.hideTimeoutId&&clearTimeout(this.hideTimeoutId),this.destroyTimeoutId&&clearTimeout(this.destroyTimeoutId)}get isDisplayOnHover(){return 0!=this.options.display&&(0!=this.options.displayTouchscreen||!this.isTouchScreen)&&"hover"===this.options.trigger}get isDisplayOnClick(){return 0!=this.options.display&&(0!=this.options.displayTouchscreen||!this.isTouchScreen)&&"click"==this.options.trigger}get isTouchScreen(){var t,e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||(t=["(",e.join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia(t).matches)}applyOptionsDefault(t,e){this.options=Object.assign({},t,this.initOptions||{},e)}handleEvents(t){"shown"===t.type&&this.events.emit({type:"shown",position:this.tooltipPosition})}show(){!this.componentRef||this.isTooltipDestroyed?this.createTooltip():this.isTooltipDestroyed||this.showTooltipElem()}hide(){this.destroyTooltip()}}class u{static forRoot(t){return{ngModule:u,providers:[{provide:r,useValue:t}]}}}},mrSG:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return a}));var l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(){return(r=Object.assign||function(t){for(var e,n=1,l=arguments.length;n<l;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function o(t,e,n,l){return new(n||(n=Promise))((function(i,r){function o(t){try{s(l.next(t))}catch(e){r(e)}}function a(t){try{s(l.throw(t))}catch(e){r(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,a)}s((l=l.apply(t,e||[])).next())}))}function a(t,e){var n,l,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,l&&(i=2&r[0]?l.return:r[0]?l.throw||((i=l.return)&&i.call(l),0):l.next)&&!(i=i.call(l,r[1])).done)return i;switch(l=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,l=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(t,o)}catch(a){r=[6,a],l=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}},mrzG:function(t,e,n){"use strict";n.d(e,"b",(function(){return h}));var l,i=n("EwAT"),r=n("CvXi"),o=n("jzee"),a=n("Uhtb"),s=n("vvg4"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){var e=t.call(this)||this;return e.layout=a.a.XY,e.stride=2,e.flatCoordinates=null,e}return u(e,t),e.prototype.computeExtent=function(t){return Object(r.o)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(i.b)()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},e.prototype.getSimplifiedGeometryInternal=function(t){return this},e.prototype.getStride=function(){return this.stride},e.prototype.setFlatCoordinates=function(t,e){this.stride=d(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){Object(i.b)()},e.prototype.setLayout=function(t,e,n){var l;if(t)l=d(t);else{for(var i=0;i<n;++i){if(0===e.length)return this.layout=a.a.XY,void(this.stride=2);e=e[0]}t=function(t){var e;return 2==t?e=a.a.XY:3==t?e=a.a.XYZ:4==t&&(e=a.a.XYZM),e}(l=e.length)}this.layout=t,this.stride=l},e.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},e.prototype.rotate=function(t,e){var n=this.getFlatCoordinates();if(n){var l=this.getStride();Object(s.a)(n,0,n.length,l,t,e,n),this.changed()}},e.prototype.scale=function(t,e,n){var l=e;void 0===l&&(l=t);var i=n;i||(i=Object(r.x)(this.getExtent()));var o=this.getFlatCoordinates();if(o){var a=this.getStride();Object(s.b)(o,0,o.length,a,t,l,i,o),this.changed()}},e.prototype.translate=function(t,e){var n=this.getFlatCoordinates();if(n){var l=this.getStride();Object(s.d)(n,0,n.length,l,t,e,n),this.changed()}},e}(o.a);function d(t){var e;return t==a.a.XY?e=2:t==a.a.XYZ||t==a.a.XYM?e=3:t==a.a.XYZM&&(e=4),e}function h(t,e,n){var l=t.getFlatCoordinates();if(l){var i=t.getStride();return Object(s.c)(l,0,l.length,i,e,n)}return null}e.a=c},mzvH:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("mrSG"),i=(n("ZZ/e"),n("Amq3"),n("Y4ja"));n("svHU");class r{constructor(t,e,n,l){this.platform=t,this.loadingController=e,this.modeService=n,this.mapService=l,this.displayListPanel=!0}ngOnInit(){this.displayLoading(),this.platform.ready().then(t=>{setTimeout(()=>{this.child.resizeMap()},1e3)}),this.initModeMap()}displayLoading(){return l.b(this,void 0,void 0,(function*(){const t=yield this.loadingController.create({duration:2500,message:"Chargement en cours..."});return yield t.present()}))}initModeMap(){this.modeService.getModeMapChangeEmitter().subscribe(t=>{t===i.a.ONE_AIRCRAFT?(this.styleMap={width:"100%",height:"calc(100% - 220px)"},this.styleListPanel={width:"0px"},this.displayListPanel=!1):(this.styleMap={width:"80%",height:"100%"},this.styleListPanel={width:"20%"},this.displayListPanel=!0),setTimeout(()=>{this.child.resizeMap()})})}onResizeListPanel(t){this.styleMap={width:"calc(100% - "+t.rectangle.width+"px)"},this.styleListPanel={width:t.rectangle.width+"px"},this.child.resizeMap()}}},n15R:function(t,e,n){"use strict";function l(t,e,n){for(var l,r,o=n||i,a=0,s=t.length,u=!1;a<s;)(r=+o(t[l=a+(s-a>>1)],e))<0?a=l+1:(s=l,u=!r);return u?a:~a}function i(t,e){return t>e?1:t<e?-1:0}function r(t,e){return t.indexOf(e)>=0}function o(t,e,n){var l=t.length;if(t[0]<=e)return 0;if(e<=t[l-1])return l-1;var i=void 0;if(n>0){for(i=1;i<l;++i)if(t[i]<e)return i-1}else if(n<0){for(i=1;i<l;++i)if(t[i]<=e)return i}else for(i=1;i<l;++i){if(t[i]==e)return i;if(t[i]<e)return t[i-1]-e<e-t[i]?i-1:i}return l-1}function a(t,e,n){for(;e<n;){var l=t[e];t[e]=t[n],t[n]=l,++e,--n}}function s(t,e){for(var n=Array.isArray(e)?e:[e],l=n.length,i=0;i<l;i++)t[t.length]=n[i]}function u(t,e){var n=t.length;if(n!==e.length)return!1;for(var l=0;l<n;l++)if(t[l]!==e[l])return!1;return!0}function c(t,e,n){var l=e||i;return t.every((function(e,i){if(0===i)return!0;var r=l(t[i-1],e);return!(r>0||n&&0===r)}))}n.d(e,"a",(function(){return l})),n.d(e,"g",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return c}))},n6bG:function(t,e,n){"use strict";function l(t){return"function"==typeof t}n.d(e,"a",(function(){return l}))},nHi6:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4wAk"),o=n("GDrd"),a=n("4mld"),s=n("e0/R"),u=n("kvpX"),c=n("Ho3V"),d=n("AdTM"),h=n("CvXi"),p=n("VWR+"),f=n("OPOH"),b=n("bYNo"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e){var n=this,l=e||{},i=Object(f.a)({},l);delete i.layers;var o=l.layers;return(n=t.call(this,i)||this).layersListenerKeys_=[],n.listenerKeys_={},n.addEventListener(Object(a.b)("layers"),n.handleLayersChanged_),o?Array.isArray(o)?o=new r.a(o.slice(),{unique:!0}):Object(u.a)("function"==typeof o.getArray,43):o=new r.a(void 0,{unique:!0}),n.setLayers(o),n}return m(e,t),e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(c.c),this.layersListenerKeys_.length=0;var t=this.getLayers();for(var e in this.layersListenerKeys_.push(Object(c.a)(t,o.a.ADD,this.handleLayersAdd_,this),Object(c.a)(t,o.a.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(c.c);Object(f.b)(this.listenerKeys_);for(var n=t.getArray(),l=0,r=n.length;l<r;l++){var a=n[l];this.listenerKeys_[Object(i.c)(a)]=[Object(c.a)(a,s.a.PROPERTYCHANGE,this.handleLayerChange_,this),Object(c.a)(a,d.a.CHANGE,this.handleLayerChange_,this)]}this.changed()},e.prototype.handleLayersAdd_=function(t){var e=t.element;this.listenerKeys_[Object(i.c)(e)]=[Object(c.a)(e,s.a.PROPERTYCHANGE,this.handleLayerChange_,this),Object(c.a)(e,d.a.CHANGE,this.handleLayerChange_,this)],this.changed()},e.prototype.handleLayersRemove_=function(t){var e=t.element,n=Object(i.c)(e);this.listenerKeys_[n].forEach(c.c),delete this.listenerKeys_[n],this.changed()},e.prototype.getLayers=function(){return this.get("layers")},e.prototype.setLayers=function(t){this.set("layers",t)},e.prototype.getLayersArray=function(t){var e=void 0!==t?t:[];return this.getLayers().forEach((function(t){t.getLayersArray(e)})),e},e.prototype.getLayerStatesArray=function(t){var e=void 0!==t?t:[],n=e.length;this.getLayers().forEach((function(t){t.getLayerStatesArray(e)}));for(var l=this.getLayerState(),i=n,r=e.length;i<r;i++){var o=e[i];o.opacity*=l.opacity,o.visible=o.visible&&l.visible,o.maxResolution=Math.min(o.maxResolution,l.maxResolution),o.minResolution=Math.max(o.minResolution,l.minResolution),o.minZoom=Math.max(o.minZoom,l.minZoom),o.maxZoom=Math.min(o.maxZoom,l.maxZoom),void 0!==l.extent&&(o.extent=void 0!==o.extent?Object(h.B)(o.extent,l.extent):l.extent)}return e},e.prototype.getSourceState=function(){return b.a.READY},e}(p.a);e.a=g},nYR2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("7o/Q"),i=n("quSY");function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends l.a{constructor(t,e){super(t),this.add(new i.a(e))}}},nYU5:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("bujt"),s=n("Fwaw"),u=n("5GAg"),c=n("omvX"),d=n("AIJQ");n.d(e,"a",(function(){return b}));var h=l.Bb({encapsulation:0,styles:[[".dialog-edit-route[_ngcontent-%COMP%]{position:relative}.dialog-edit-route[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;color:var(--ion-color-primary);background-color:transparent;font-size:25px}.dialog-edit-route[_ngcontent-%COMP%] .mat-dialog-actions[_ngcontent-%COMP%]{justify-content:center}.dialog-edit-route[_ngcontent-%COMP%] .mat-dialog-actions[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%] + .mat-button-base[_ngcontent-%COMP%]{margin-left:0}"]],data:{}});function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,13,"div",[["class","dialog-edit-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"ion-icon",[["class","close-button"],["name","close"]],[[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,3).dialogRef.close(l.Pb(t,3).dialogResult)&&i),i}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),l.Cb(3,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Db(4,0,null,null,9,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),l.Cb(5,16384,null,0,o.f,[],null,null),(t()(),l.Db(6,0,null,null,3,"button",[["cdkFocusInitial",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,8).dialogRef.close(l.Pb(t,8).dialogResult)&&i),i}),a.b,a.a)),l.Cb(7,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(8,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Wb(-1,0,["Creer une nouvelle route"])),(t()(),l.Db(10,0,null,null,3,"button",[["cdkFocusInitial",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,12).dialogRef.close(l.Pb(t,12).dialogResult)&&i),i}),a.b,a.a)),l.Cb(11,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(12,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Wb(-1,0,["Ecraser l'ancienne route"]))],(function(t,e){t(e,2,0,"close"),t(e,3,0,"CLOSE"),t(e,8,0,"CREATE"),t(e,12,0,"UPDATE")}),(function(t,e){t(e,1,0,l.Pb(e,3).ariaLabel||null,l.Pb(e,3).type),t(e,6,0,l.Pb(e,7).disabled||null,"NoopAnimations"===l.Pb(e,7)._animationMode,l.Pb(e,8).ariaLabel||null,l.Pb(e,8).type),t(e,10,0,l.Pb(e,11).disabled||null,"NoopAnimations"===l.Pb(e,11)._animationMode,l.Pb(e,12).ariaLabel||null,l.Pb(e,12).type)}))}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"edit-route-dialog",[],null,null,null,p,h)),l.Cb(1,49152,null,0,d.a,[o.l],null,null)],null,null)}var b=l.zb("edit-route-dialog",d.a,f,{},{},[])},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>e=>{for(let n=0,l=t.length;n<l&&!e.closed;n++)e.next(t[n]);e.complete()}},nkhJ:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("oBZk"),o=n("ZZ/e"),a=n("s7LF"),s=n("hrfs"),u=n("yKYT"),c=n("sLNx");n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return f}));var d=l.Bb({encapsulation:0,styles:[[".aircraft-replay[_ngcontent-%COMP%]{position:relative;width:100%;height:220px}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 40px;background-color:var(--ion-color-primary);color:#fff;align-items:baseline}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{padding-right:20px}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:10px;color:#fff;background-color:transparent;font-size:30px}.aircraft-replay[_ngcontent-%COMP%] .range-aircraft[_ngcontent-%COMP%]{padding-left:35px}.aircraft-replay[_ngcontent-%COMP%] .chart-aircraft[_ngcontent-%COMP%]{position:relative;height:100px;width:calc(100% - 15px)}.aircraft-replay[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{height:100%!important;width:100%!important}.range[_ngcontent-%COMP%]{--knob-size:10px}.range-knob[_ngcontent-%COMP%]{position:absolute;height:160px;border-radius:0;top:0!important}"]],data:{}});function h(t){return l.Yb(2,[l.Qb(0,i.e,[l.A]),(t()(),l.Db(1,0,null,null,16,"div",[["class","aircraft-replay"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,7,"div",[["class","aircraft-replay-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeReplay()&&l),l}),r.y,r.g)),l.Cb(4,49152,null,0,o.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(5,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,3),(t()(),l.Db(8,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(9,null,[" "," / "," Positions "])),(t()(),l.Db(10,0,null,null,4,"div",[["class","range-aircraft"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,3,"ion-range",[["class","range"],["color","secondary"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,14)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,14)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changePosition(n)&&i),i}),r.E,r.m)),l.Tb(5120,null,a.o,(function(t){return[t]}),[o.Jb]),l.Cb(13,49152,null,0,o.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(14,16384,null,0,o.Jb,[l.p],null,null),(t()(),l.Db(15,0,null,null,2,"div",[["class","chart-aircraft"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"canvas",[["baseChart",""],["height","10"],["width","100"]],null,null,null,null,null)),l.Cb(17,999424,null,0,s.a,[l.p,s.c],{datasets:[0,"datasets"],labels:[1,"labels"],options:[2,"options"],chartType:[3,"chartType"],colors:[4,"colors"],legend:[5,"legend"]},null)],(function(t,e){var n=e.component;t(e,4,0,"close"),t(e,13,0,"secondary",l.Hb(1,"",n.rangeOption.max,""),l.Hb(1,"",n.rangeOption.min,""),l.Hb(1,"",n.rangeOption.step,""),l.Hb(1,"",n.rangeOption.value,"")),t(e,17,0,n.lineChartData,n.lineChartLabels,n.lineChartOptions,n.lineChartType,n.lineChartColors,n.lineChartLegend)}),(function(t,e){var n=e.component,i=l.Xb(e,6,0,t(e,7,0,l.Pb(e,0),n.replayTripService.positions[n.rangeOption.value].updatedAt,"dd/MM/yyyy, HH:mm:ss","utc"));t(e,6,0,i),t(e,9,0,n.rangeOption.value,n.rangeOption.max)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-replay",[],null,null,null,h,d)),l.Cb(1,114688,null,0,u.a,[c.a,l.j],null,null)],(function(t,e){t(e,1,0)}),null)}var f=l.zb("sepia-aircraft-replay",u.a,p,{},{},[])},nmM0:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.ReplaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.DeleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.UpdateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.GetManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk",t.CreateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk",t.CreateManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},nyYc:function(t,e,n){!function(t){"use strict";var e=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},l=function(t){return function(l,i,r,o){var a=e(l),s=n[t][e(l)];return 2===a&&(s=s[i?0:1]),s.replace(/%d/i,l)}},i=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:l("s"),ss:l("s"),m:l("m"),mm:l("m"),h:l("h"),hh:l("h"),d:l("d"),dd:l("d"),M:l("M"),MM:l("M"),y:l("y"),yy:l("y")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},oBZk:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"s",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"t",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"u",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"v",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"w",(function(){return p})),n.d(e,"f",(function(){return f})),n.d(e,"x",(function(){return b})),n.d(e,"g",(function(){return m})),n.d(e,"y",(function(){return g})),n.d(e,"h",(function(){return _})),n.d(e,"z",(function(){return y})),n.d(e,"i",(function(){return A})),n.d(e,"A",(function(){return v})),n.d(e,"j",(function(){return C})),n.d(e,"B",(function(){return w})),n.d(e,"k",(function(){return P})),n.d(e,"D",(function(){return x})),n.d(e,"l",(function(){return S})),n.d(e,"C",(function(){return k})),n.d(e,"m",(function(){return M})),n.d(e,"E",(function(){return O})),n.d(e,"n",(function(){return D})),n.d(e,"F",(function(){return T})),n.d(e,"o",(function(){return E})),n.d(e,"G",(function(){return I})),n.d(e,"p",(function(){return L})),n.d(e,"H",(function(){return j})),n.d(e,"q",(function(){return R})),n.d(e,"I",(function(){return F})),n.d(e,"r",(function(){return N})),n.d(e,"J",(function(){return Y}));var l=n("8Y7J");n("ZZ/e"),n("SVse"),n("iInd");var i=l.Bb({encapsulation:2,styles:[],data:{}});function r(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var o=l.Bb({encapsulation:2,styles:[],data:{}});function a(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var s=l.Bb({encapsulation:2,styles:[],data:{}});function u(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var c=l.Bb({encapsulation:2,styles:[],data:{}});function d(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var h=l.Bb({encapsulation:2,styles:[],data:{}});function p(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var m=l.Bb({encapsulation:2,styles:[],data:{}});function g(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var _=l.Bb({encapsulation:2,styles:[],data:{}});function y(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var A=l.Bb({encapsulation:2,styles:[],data:{}});function v(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var C=l.Bb({encapsulation:2,styles:[],data:{}});function w(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var P=l.Bb({encapsulation:2,styles:[],data:{}});function x(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var M=l.Bb({encapsulation:2,styles:[],data:{}});function O(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var D=l.Bb({encapsulation:2,styles:[],data:{}});function T(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var E=l.Bb({encapsulation:2,styles:[],data:{}});function I(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var L=l.Bb({encapsulation:2,styles:[],data:{}});function j(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var R=l.Bb({encapsulation:2,styles:[],data:{}});function F(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var N=l.Bb({encapsulation:2,styles:[],data:{}});function Y(t){return l.Yb(2,[l.Ob(null,0)],null,null)}},"oIG/":function(t,e){var n,l,i,r=String.fromCharCode;function o(t){for(var e,n,l=[],i=0,r=t.length;i<r;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<r?56320==(64512&(n=t.charCodeAt(i++)))?l.push(((1023&e)<<10)+(1023&n)+65536):(l.push(e),i--):l.push(e);return l}function a(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function s(t,e){return r(t>>e&63|128)}function u(t,e){if(0==(4294967168&t))return r(t);var n="";return 0==(4294965248&t)?n=r(t>>6&31|192):0==(4294901760&t)?(a(t,e)||(t=65533),n=r(t>>12&15|224),n+=s(t,6)):0==(4292870144&t)&&(n=r(t>>18&7|240),n+=s(t,12),n+=s(t,6)),n+r(63&t|128)}function c(){if(i>=l)throw Error("Invalid byte index");var t=255&n[i];if(i++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function d(t){var e,r;if(i>l)throw Error("Invalid byte index");if(i==l)return!1;if(e=255&n[i],i++,0==(128&e))return e;if(192==(224&e)){if((r=(31&e)<<6|c())>=128)return r;throw Error("Invalid continuation byte")}if(224==(240&e)){if((r=(15&e)<<12|c()<<6|c())>=2048)return a(r,t)?r:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(r=(7&e)<<18|c()<<12|c()<<6|c())>=65536&&r<=1114111)return r;throw Error("Invalid UTF-8 detected")}t.exports={version:"2.1.2",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,l=o(t),i=l.length,r=-1,a="";++r<i;)a+=u(l[r],n);return a},decode:function(t,e){var a=!1!==(e=e||{}).strict;n=o(t),l=n.length,i=0;for(var s,u=[];!1!==(s=d(a));)u.push(s);return function(t){for(var e,n=t.length,l=-1,i="";++l<n;)(e=t[l])>65535&&(i+=r((e-=65536)>>>10&1023|55296),e=56320|1023&e),i+=r(e);return i}(u)}}},oJZn:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var l=n("8Y7J"),i=(n("pBi1"),n("POq0")),r=(n("cUpR"),n("Xd0L")),o=(n("IP0z"),n("/HVE")),a=n("omvX"),s=(n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],data:{}}));function u(t){return l.Yb(2,[l.Ub(671088640,1,{_thumbEl:0}),l.Ub(671088640,2,{_thumbBarEl:0}),l.Ub(671088640,3,{_inputElement:0}),(t()(),l.Db(3,0,[["label",1]],null,13,"label",[["class","mat-slide-toggle-label"]],[[1,"for",0]],null,null,null,null)),(t()(),l.Db(4,0,[[2,0],["toggleBar",1]],null,7,"div",[["class","mat-slide-toggle-bar"]],[[2,"mat-slide-toggle-bar-no-side-margin",null]],null,null,null,null)),(t()(),l.Db(5,0,[[3,0],["input",1]],null,0,"input",[["class","mat-slide-toggle-input cdk-visually-hidden"],["role","switch"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"tabIndex",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[1,"aria-checked",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"change"===e&&(l=!1!==i._onChangeEvent(n)&&l),"click"===e&&(l=!1!==i._onInputClick(n)&&l),l}),null,null)),(t()(),l.Db(6,0,[[1,0],["thumbContainer",1]],null,5,"div",[["class","mat-slide-toggle-thumb-container"]],null,[[null,"slidestart"],[null,"slide"],[null,"slideend"]],(function(t,e,n){var l=!0,i=t.component;return"slidestart"===e&&(l=!1!==i._onDragStart()&&l),"slide"===e&&(l=!1!==i._onDrag(n)&&l),"slideend"===e&&(l=!1!==i._onDragEnd()&&l),l}),null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-slide-toggle-thumb"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,3,"div",[["class","mat-slide-toggle-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(9,212992,null,0,r.x,[l.p,l.G,o.a,[2,r.m],[2,a.a]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),l.Rb(10,{enterDuration:0}),(t()(),l.Db(11,0,null,null,0,"div",[["class","mat-ripple-element mat-slide-toggle-persistent-ripple"]],null,null,null,null,null)),(t()(),l.Db(12,0,[["labelContent",1]],null,4,"span",[["class","mat-slide-toggle-content"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onLabelTextChange()&&l),l}),null,null)),l.Cb(13,1196032,null,0,i.a,[i.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(14,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["\xa0"])),l.Ob(null,0)],(function(t,e){var n=e.component,i=t(e,10,0,150);t(e,9,0,!0,20,i,n.disableRipple||n.disabled,l.Pb(e,3))}),(function(t,e){var n=e.component;t(e,3,0,n.inputId),t(e,4,0,!l.Pb(e,12).textContent||!l.Pb(e,12).textContent.trim()),t(e,5,0,n.inputId,n.required,n.tabIndex,n.checked,n.disabled,n.name,n.checked.toString(),n.ariaLabel,n.ariaLabelledby),t(e,8,0,l.Pb(e,9).unbounded)}))}},oQtH:function(t,e,n){"use strict";const l="qk8AMdMq0YQjoFPFrkJbSbOTZO0tnbeTTEJ9jWgA";var i=n("wd/R");function r(){return i().format("YYMM")}const o={LocalStorage:{ColorAircraftList:"ColorAircraftList",FocusOnColorAircraftList:"FocusOnColorAircraftList"},land:{LandLayerClickable:["airports","hotspots","navaids","runways","base-helicoptere","communes","centres-penitentiaires","zit-zones-p","zipva","zit-lad","seveso-bas","seveso-haut","pipelines"],LandLayerHoverable:["airports","hotspots","navaids","runways","base-helicoptere","zit-zones-p","zipva","zit-lad","seveso-bas","seveso-haut"],LandEntityMapping:{airports:{name:["name"],displayData:["icao","type"]},hotspots:{name:["name"],displayData:["elev"]},navaids:{name:["type"],displayData:["type"]},runways:{name:["name"],displayData:["name","length","width","alt"]},communes:{name:["city"],displayData:["county","pop."]},"centres-penitentiaires":{name:["name"],displayData:[]},"zit-zones-p":{name:["name"],displayData:["name","alt"]},zipva:{name:["name"],displayData:["name"]},"zit-lad":{name:["name"],displayData:["name"]},"seveso-bas":{name:["city","name"],displayData:["city","county","name","details"]},"seveso-haut":{name:["city","name"],displayData:["city","county","name","details"]},pipelines:{name:["city"],displayData:["city","type"]},"base-helicoptere":{name:["city"],displayData:["city","county","type","contact"]}}},TableDisplayColumn:{engine:{name:"Aircraft type",columns:["operation","icao","wakeTurbulence","species","engineType","enginePlacement","engine","iconName"],columnsFilter:["icao"]},operator:{name:"Operator",columns:["operation","icao","iata","name"],columnsFilter:["icao","iata","name"]},squawk:{name:"Squawk",columns:["operation","squawk","military","mlat","legend"],columnsFilter:["squawk","legend"]},stop_point:{name:"Airport",columns:["operation","icao","iata","name","location","latitude","longitude","altitude","isPlot"],columnsFilter:["icao","iata","name"]},vehicle:{name:"Aircraft",columns:["operation","modeS","countryCodeIso3","registration","manufacturer","icaoTypeCode","type","serialNo","registeredOwners","operatorIcao","userTags"],columnsFilter:["modeS","countryCodeIso3","registration","manufacturer","icaoTypeCode","operatorIcao","type","serialNo","registeredOwners"]},feed:{name:"Feed",columns:["operation","name","host","port","type_feed","latitude","longitude","settingsString"],columnsFilter:["name","host","port"]},plot:{name:"Plot",columns:["operation","icao","startAt","endAt","airforceReady","airforceSpeed","airforceDuration","icaoTypeCode"],columnsFilter:["icao","icaoTypeCode"]},bbox:{name:"Bbox",columns:["operation","name","minLat","maxLat","minLon","maxLon"],columnsFilter:["name"]},collection:{name:"Collection",columns:["operation","name","groupLayer","typeLayer","pivLayer","tippecanoeLayer","styleLayer","mappingLayer","propertiesLayer","refreshLayer","defaultViewLayer","defaultOrderLayer","clickableLayer","hoverableLayer"],columnsFilter:["name"]},icon:{name:"Icon",columns:["operation","name","bufferInBase64"],columnsFilter:["name"]}},EmptyEntity:{engine:{icao:"",wakeTurbulence:"",species:"",engineType:"",enginePlacement:"",engine:""},operator:{icao:"",iata:"",name:""},squawk:{military:"",mlat:"",squawk:"",legend:""},stop_point:{icao:"",iata:"",name:"",location:"",latitude:"",longitude:"",altitude:"",category:"",isPlot:!1},vehicle:{modeS:"",registration:"",manufacturer:"",icaoTypeCode:"",type:"",serialNo:"",registeredOwners:"",countryCodeIso3:"",operatorIcao:"",userTag:[]},feed:{name:"",host:"",port:"",type_feed:"",latitude:"",longitude:"",settings:""},plot:{icao:"",startAtHours:0,startAtMinutes:0,endAtHours:0,endAtMinutes:0,airforceReady:0,airforceSpeed:0,airforceDuration:0,icaoTypeCode:""},bbox:{name:"",minLat:0,maxLat:0,minLon:0,maxLon:0},collection:{name:"",groupLayer:"",typeLayer:"",pivLayer:!1,tippecanoeLayer:"",styleLayer:"",mappingLayer:"",propertiesLayer:"",refreshLayer:0,defaultViewLayer:!1,defaultOrderLayer:0,clickableLayer:!1,hoverableLayer:!1},icon:{name:"",bufferInBase64:""}},glLayers:{version:8,name:"Sepia",metadata:{"mapbox:autocomposite":!1,"openmaptiles:version":"3.x"},center:[2.438,46.528],zoom:5,minzoom:0,maxzoom:20,bearing:0,pitch:0,sources:{airports:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/airports.json"},airspaces:{type:"vector",layerGroup:"General",url:"https://tiles.sepia.fabnum.fr/data/airspaces.json"},hotspots:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/hotspots.json"},navaids:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/navaids.json"},runways:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/runways.json"},"centres-penitentiaires":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/centres-penitentiaires.json"},"zit-zones-p":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zit-zones-p.json"},"zit-lad":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zit-lad.json"},zipva:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zipva.json"},icpe:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/icpe.json"},"seveso-bas":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/seveso-bas.json"},"seveso-haut":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/seveso-haut.json"},pipelines:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/pipelines.json"},"etablissements-scolaires":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/etablissements-scolaires.json"},"base-helicoptere":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/base-helicoptere.json"}},glyphs:"http://fonts.openmaptiles.org/{fontstack}/{range}.pbf",layers:[{id:"airports",type:"circle",source:"airports","source-layer":"airports",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"blue","circle-opacity":1},minzoom:0},{id:"hotspots",type:"circle",source:"hotspots","source-layer":"hotspots",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"purple","circle-opacity":1},minzoom:0},{id:"navaids",type:"circle",source:"navaids","source-layer":"navaids",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"black","circle-opacity":1},minzoom:0},{id:"runways",type:"circle",source:"runways","source-layer":"runways",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"green","circle-opacity":1},minzoom:0},{id:"centres-penitentiaires",type:"circle",source:"centres-penitentiaires","source-layer":"centres-penitentiaires",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"brown","circle-opacity":1},minzoom:0},{id:"etablissements-scolaires",type:"circle",source:"etablissements-scolaires","source-layer":"etablissements-scolaires",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"pink","circle-opacity":1},minzoom:10},{id:"zit-lad",type:"fill",source:"zit-lad","source-layer":"zit-lad",layout:{visibility:"visible"},paint:{"fill-color":"pink","fill-opacity":.3},minzoom:0},{id:"seveso-haut",type:"circle",source:"seveso-haut","source-layer":"seveso-haut",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"SaddleBrown","circle-opacity":1},minzoom:0},{id:"seveso-bas",type:"circle",source:"seveso-bas","source-layer":"seveso-bas",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"SaddleBrown","circle-opacity":1},minzoom:0},{id:"base-helicoptere",type:"circle",source:"base-helicoptere","source-layer":"base-helicoptere",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"yellow","circle-opacity":1},minzoom:0},{id:"zipva",type:"line",source:"zipva","source-layer":"zipva",layout:{visibility:"visible"},paint:{"line-color":"orange","line-opacity":1},minzoom:0},{id:"zit-zones-p",type:"line",source:"zit-zones-p","source-layer":"zit-zones-p",layout:{visibility:"visible"},paint:{"line-color":"red","line-opacity":1},minzoom:0},{id:"airspaces",type:"fill",source:"airspaces","source-layer":"airspaces",layout:{visibility:"visible"},paint:{"fill-color":"rgba(255, 0, 0, 0.000000000000001)","fill-opacity":1,"fill-outline-color":"red"},minzoom:0},{id:"pipelines",type:"fill",source:"pipelines","source-layer":"pipelines",layout:{visibility:"visible"},paint:{"fill-color":"gray","fill-opacity":.2,"fill-outline-color":"rgba(0, 0, 0, 1)"},minzoom:10},{id:"icpe",type:"circle",source:"icpe","source-layer":"icpe",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"aqua","circle-opacity":1},minzoom:0}],id:"sepia"},hiddenLayers:["airspaces","runways","airports","hotspots","navaids","seveso-haut","seveso-bas","base-helicoptere","centres-penitentiaires","etablissements-scolaires","pipelines","icpe"],layers:{aeris:{url:{aerisCloud:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/satellite/{z}/{x}/{y}/current.png",aerisInfraSat:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/satellite-infrared-color/{z}/{x}/{y}/current.png",aerisPressure:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/fpressure-msl-isobars/{z}/{x}/{y}/current.png",aerisWind:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/fwind-speeds/{z}/{x}/{y}/current.png"},attributions:"&copy; AerisWeather.com"},osmFr:{url:{osmFr:"https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png"},attributions:"&copy; Openstreetmap France"},cityLabel:{url:{cityLabel:"https://a.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}{r}.png"},attributions:"\xa9 <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors &copy; <a href='https://carto.com/attributions'>CARTO</a>"},osmLabel:{url:{osmLabel:"https://maps.heigit.org/openmapsurfer/tiles/hybrid/webmercator/{z}/{x}/{y}.png"},attributions:"'\xa9 Imagery from <a href='http://giscience.uni-hd.de/'>GIScience Research Group @ University of Heidelberg</a>"},skyVector:{url:{hiIfr:"https://t.skyvector.com/836f40bc/hi/"+r()+"/{z}/{x}/{y}.jpg",loIfr:"https://t.skyvector.com/836f40bc/lo/"+r()+"/{z}/{x}/{y}.jpg",vfr:"https://t.skyvector.com/836f40bc/vfr/"+r()+"/{z}/{x}/{y}.jpg"},attributions:"&copy; SkyVector.com"},openAIP:{url:{airport:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_approved_airports@EPSG:900913@png/{z}/{x}/{-y}.png",airspace_geo:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_approved_airspaces_geometries@EPSG:900913@png/{z}/{x}/{-y}.png",airspace_label:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_approved_airspaces_labels@EPSG:900913@png/{z}/{x}/{-y}.png",FIR:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_basemap@EPSG:900913@png/{z}/{x}/{y}.png"},attributions:"\xa9 openaip.net"},fr24Tiles:{url:{navaid:"https://tiles.flightradar24.com/navdata_ha/{z}/{x}/{y}/tile.png",FIR:"https://tiles.flightradar24.com/atc_boundaries/{z}/{x}/{y}/tile.png",ATC:"https://tiles.flightradar24.com/atc_boundaries_green/{z}/{x}/{y}/tile@2x.png"},attributions:"&copy; FlightRadar24.com"},darkCartoDB:{url:{darkCartoDB:"https://{a-c}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}{r}.png"},attributions:'&copy; <a href="https://carto.com/attributions">CARTO</a>'},satellite:{key:"AoCUlbdgOXex_nQ0Y2RWoqHF4sPtiMhbvY0Shy6E6aIEHYRhjIvbGEH5ZZFY2VWy",imagerySet:"AerialWithLabels"},traffic:{layer:{name:"traffic",visible:!0,renderMode:"image",hitTolerance:20},style:{image:{opacity:1,src:"assets/icon/vrs/Marker_Airplane.png",color:"rgba(0, 255, 0, 1)",colorOnClick:"red",scale:1}}},label:{layer:{name:"label",visible:!0},style:{}},land:{layer:{name:"land",visible:!0,renderMode:"image"},style:{stroke:{color:"rgba(255, 0, 0, 1)",width:2},fill:{color:"rgba(255, 0, 0, 0)"}}},grid:{bbox:[[[-10,58],[12,58],[12,38],[-10,38],[-10,58]]],resolution:5,source:{useSpatialIndex:!0},layer:{name:"res5",visible:!0,renderMode:"image",minResolution:4e3,maxResolution:2e4},style:{stroke:{color:"rgba(0, 0, 255, 0.5)",width:1},fill:{color:"rgba(255,255,255,0.0)"}}},trace:{source:{useSpatialIndex:!0},layer:{name:"traces",visible:!0}},plot:{source:{useSpatialIndex:!0},layer:{name:"plot",visible:!0}}},wgs84:"EPSG:4326",pseudoMercator:"EPSG:3857",auth:{url:"https://auth.sepia.fabnum.fr/auth",realm:"sepia",clientId:"sepia.angular",loginReturn:"https://sepia.fabnum.fr/home",logoutReturn:"https://sepia.fabnum.fr/login"},api:{"external.pictures":{url:"https://api.sepia.fabnum.fr/pictures/"},"sepia.api":{url:"https://api.sepia.fabnum.fr"}},ConfigFleetItem:{fields:[{value:"country",title:"Pays"},{value:"callsign",title:"Callsign"},{value:"icao",title:"Code Icao"},{value:"squawk",title:"IFF"},{value:"registration",title:"Registration"},{value:"operatorIcao",title:"Compagnie"},{value:"fromIcao",title:"From oaci"},{value:"toIcao",title:"To oaci"},{value:"icaoTypeCode",title:"Icao type"},{value:"mlat",title:"Is mlat"},{value:"military",title:"Is military"}],operators:[{value:"eq",title:"equal"},{value:"cont",title:"contains"}],logicalOperator:[{value:"||",title:"or"},{value:"&&",title:"and"}]}};n.d(e,"a",(function(){return a}));const a={production:!0,config:o}},oU5s:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}flightPlanControllerImportFlightPlan$Response(e){const n=new o.a(this.rootUrl,t.FlightPlanControllerImportFlightPlanPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}flightPlanControllerImportFlightPlan(t){return this.flightPlanControllerImportFlightPlan$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.FlightPlanControllerImportFlightPlanPath="/flightPlan/import",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},oapL:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return f}));var l=n("/HVE"),i=n("8Y7J"),r=n("KCVW"),o=n("EY2u"),a=n("XNiG"),s=n("xgIS"),u=n("3UWI"),c=n("1G5W");const d=Object(l.g)({passive:!0});let h=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.a;const e=Object(r.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject.asObservable();const l=new a.a,i="cdk-text-field-autofilled",s=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(i)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(i)&&(e.classList.remove(i),this._ngZone.run(()=>l.next({target:t.target,isAutofilled:!1}))):(e.classList.add(i),this._ngZone.run(()=>l.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",s,d),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:l,unlisten:()=>{e.removeEventListener("animationstart",s,d)}}),l.asObservable()}stopMonitoring(t){const e=Object(r.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(l.a),Object(i.dc)(i.G))},token:t,providedIn:"root"}),t})();class p{constructor(t,e,n){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new a.a,this._enabled=!0,this._previousMinRows=-1,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(t){this._minRows=t,this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=t,this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Object(r.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Object(s.a)(window,"resize").pipe(Object(u.a)(16),Object(c.a)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,n=e.value;if(!t&&this._minRows===this._previousMinRows&&n===this._previousValue)return;const l=e.placeholder;e.classList.add("cdk-textarea-autosize-measuring"),e.placeholder="",e.style.height=e.scrollHeight-4+"px",e.classList.remove("cdk-textarea-autosize-measuring"),e.placeholder=l,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(t){const{selectionStart:e,selectionEnd:n}=t;this._destroyed.isStopped||document.activeElement!==t||t.setSelectionRange(e,n)}}class f{}},oeKZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("aK3z");class i{constructor(){window.kcs={},window.kcs.client=()=>this.client(),window.kcs.token=()=>{this.getToken().then(t=>(console.log(t),t))}}static init(t,e){return i.keycloakAuth=l(t),new Promise((t,n)=>{i.keycloakAuth.init(e).success(()=>{t()}).error(t=>{n(t)})})}client(){return i.keycloakAuth}authenticated(){return i.keycloakAuth.authenticated}login(t){i.keycloakAuth.login(t)}logout(t){i.keycloakAuth.logout({redirectUri:t})}account(){i.keycloakAuth.accountManagement()}authServerUrl(){return i.keycloakAuth.authServerUrl}realm(){return i.keycloakAuth.realm}getToken(){return new Promise((t,e)=>{i.keycloakAuth.token?i.keycloakAuth.updateToken(5).success(()=>{t(i.keycloakAuth.token)}).error(()=>{e("Failed to refresh token")}):e("Not loggen in")})}}},ohmy:function(t,e,n){"use strict";e.byteLength=function(t){var e=u(t),n=e[1];return 3*(e[0]+n)/4-n},e.toByteArray=function(t){var e,n,l=u(t),o=l[0],a=l[1],s=new r(function(t,e,n){return 3*(e+n)/4-n}(0,o,a)),c=0,d=a>0?o-4:o;for(n=0;n<d;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,s[c++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,r=[],o=0,a=n-i;o<a;o+=16383)r.push(c(t,o,o+16383>a?a:o+16383));return 1===i?r.push(l[(e=t[n-1])>>2]+l[e<<4&63]+"=="):2===i&&r.push(l[(e=(t[n-2]<<8)+t[n-1])>>10]+l[e>>4&63]+l[e<<2&63]+"="),r.join("")};for(var l=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)l[a]=o[a],i[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,r=[],o=e;o<n;o+=3)r.push(l[(i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]))>>18&63]+l[i>>12&63]+l[i>>6&63]+l[63&i]);return r.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},omvX:function(t,e,n){"use strict";n.d(e,"f",(function(){return b})),n.d(e,"g",(function(){return m})),n.d(e,"e",(function(){return f})),n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return p}));var l=n("8Y7J"),i=(n("cUpR"),n("GS7A")),r=n("fDlF");class o extends i.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:l.Z.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(i.j)(t):t;return u(this._renderer,null,e,"register",[n]),new a(e,this._renderer)}}class a extends i.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new s(this._id,t,e||{},this._renderer)}}class s{constructor(t,e,n,l){this.id=t,this.element=e,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return u(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function u(t,e,n,l,i){return t.setProperty(e,`@@${n}:${l}`,i)}class c{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new d("",n,this.engine),this._rendererCache.set(n,t)),t}const l=e.id,i=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(i,t),e.data.animation.forEach(e=>this.engine.registerTrigger(l,i,t,e.name,e)),new h(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}class d{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,l){this.delegate.setAttribute(t,e,n,l)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,l){this.delegate.setStyle(t,e,n,l)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class h extends d{constructor(t,e,n,l){super(e,n,l),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const l=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),r="";return"@"!=i.charAt(0)&&([i,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,l,i,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}class p extends r.b{constructor(t,e,n){super(t.body,e,n)}}function f(){return Object(r.h)()?new r.f:new r.d}function b(){return new r.g}function m(t,e,n){return new c(t,e,n)}const g=new l.w("AnimationModuleType");class _{}},oscj:function(t,e,n){"use strict";var l=n("BBQo"),i=n("V8uu"),r=n("f8l7");function o(t,e,n){return function(l,i,o,a){if(l){var s=e?0:o[0]*i,u=e?0:o[1]*i,c=t[0]+s/2,d=t[2]-s/2,h=t[1]+u/2,p=t[3]-u/2;c>d&&(d=c=(d+c)/2),h>p&&(p=h=(p+h)/2);var f=Object(r.a)(l[0],c,d),b=Object(r.a)(l[1],h,p),m=30*i;return a&&n&&(f+=-m*Math.log(1+Math.max(0,c-l[0])/m)+m*Math.log(1+Math.max(0,l[0]-d)/m),b+=-m*Math.log(1+Math.max(0,h-l[1])/m)+m*Math.log(1+Math.max(0,l[1]-p)/m)),[f,b]}}}function a(t){return t}var s=n("4mld"),u=n("n15R"),c=n("CvXi");function d(t,e,n,l){var i=Object(c.E)(e)/n[0],r=Object(c.A)(e)/n[1];return l?Math.min(t,Math.max(i,r)):Math.min(t,Math.min(i,r))}function h(t,e,n){var l=Math.min(t,e);return l*=Math.log(1+50*Math.max(0,t/e-1))/50+1,n&&(l=Math.max(l,n),l/=Math.log(1+50*Math.max(0,n/t-1))/50+1),Object(r.a)(l,n/2,2*e)}function p(t,e,n,l,i){return function(o,a,s,u){if(void 0!==o){var c=l?d(t,l,s,i):t;return(void 0===n||n)&&u?h(o,c,e):Object(r.a)(o,e,c)}}}var f,b=n("jMVV"),m=n("SW/M"),g=n("kvpX"),_=n("pWiS"),y=n("ykKD"),A=n("9iPr"),v=n("W8M7"),C=n("OPOH"),w=n("JW8z"),P=n("/O31"),x=(f=function(t,e){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),S=function(t){function e(e){var n=t.call(this)||this,l=Object(C.a)({},e);return n.hints_=[0,0],n.animations_=[],n.projection_=Object(w.b)(l.projection,"EPSG:3857"),n.viewportSize_=[100,100],n.targetCenter_=null,n.cancelAnchor_=void 0,l.center&&(l.center=Object(w.e)(l.center,n.projection_)),l.extent&&(l.extent=Object(w.f)(l.extent,n.projection_)),n.applyOptions_(l),n}return x(e,t),e.prototype.applyOptions_=function(t){var e=function(t){var e,n,i,o=void 0!==t.minZoom?t.minZoom:0,a=void 0!==t.maxZoom?t.maxZoom:28,s=void 0!==t.zoomFactor?t.zoomFactor:2,f=void 0!==t.multiWorld&&t.multiWorld,b=void 0===t.smoothResolutionConstraint||t.smoothResolutionConstraint,m=void 0!==t.showFullExtent&&t.showFullExtent,g=Object(w.b)(t.projection,"EPSG:3857"),_=g.getExtent(),y=t.constrainOnlyCenter,A=t.extent;if(f||A||!g.isGlobal()||(y=!1,A=_),void 0!==t.resolutions){var v=t.resolutions;n=v[o],i=void 0!==v[a]?v[a]:v[v.length-1],e=t.constrainResolution?function(t,e,n,l){return function(i,o,a,s){if(void 0!==i){var c=t[0],p=t[t.length-1],f=n?d(c,n,a,l):c;if(s)return void 0===e||e?h(i,f,p):Object(r.a)(i,p,f);var b=Math.min(f,i),m=Math.floor(Object(u.f)(t,b,o));return t[m]>f&&m<t.length-1?t[m+1]:t[m]}}}(v,b,!y&&A,m):p(n,i,b,!y&&A,m)}else{var C=(_?Math.max(Object(c.E)(_),Object(c.A)(_)):360*w.a[P.b.DEGREES]/g.getMetersPerUnit())/l.b/Math.pow(2,0),x=C/Math.pow(2,28);void 0!==(n=t.maxResolution)?o=0:n=C/Math.pow(s,o),void 0===(i=t.minResolution)&&(i=void 0!==t.maxZoom?void 0!==t.maxResolution?n/Math.pow(s,a):C/Math.pow(s,a):x),a=o+Math.floor(Math.log(n/i)/Math.log(s)),i=n/Math.pow(s,a-o),e=t.constrainResolution?function(t,e,n,l,i,o){return function(a,s,u,c){if(void 0!==a){var p=i?d(e,i,u,o):e,f=void 0!==n?n:0;if(c)return void 0===l||l?h(a,p,f):Object(r.a)(a,f,p);var b=Math.ceil(Math.log(e/p)/Math.log(t)-1e-9),m=-s*(.5-1e-9)+.5,g=Math.min(p,a),_=Math.floor(Math.log(e/g)/Math.log(t)+m),y=Math.max(b,_),A=e/Math.pow(t,y);return Object(r.a)(A,f,p)}}}(s,n,i,b,!y&&A,m):p(n,i,b,!y&&A,m)}return{constraint:e,maxResolution:n,minResolution:i,minZoom:o,zoomFactor:s}}(t);this.maxResolution_=e.maxResolution,this.minResolution_=e.minResolution,this.zoomFactor_=e.zoomFactor,this.resolutions_=t.resolutions,this.minZoom_=e.minZoom;var n=function(t){if(void 0!==t.extent)return o(t.extent,t.constrainOnlyCenter,void 0===t.smoothExtentConstraint||t.smoothExtentConstraint);var e=Object(w.b)(t.projection,"EPSG:3857");if(!0!==t.multiWorld&&e.isGlobal()){var n=e.getExtent().slice();return n[0]=-1/0,n[2]=1/0,o(n,!1,!1)}return a}(t),i=e.constraint,s=function(t){if(void 0===t.enableRotation||t.enableRotation){var e=t.constrainRotation;return void 0===e||!0===e?Object(b.b)():!1===e?b.d:"number"==typeof e?Object(b.a)(e):b.d}return b.c}(t);this.constraints_={center:n,resolution:i,rotation:s},this.setRotation(void 0!==t.rotation?t.rotation:0),this.setCenterInternal(void 0!==t.center?t.center:null),void 0!==t.resolution?this.setResolution(t.resolution):void 0!==t.zoom&&this.setZoom(t.zoom),this.setProperties({}),this.options_=t},e.prototype.getUpdatedOptions_=function(t){var e=Object(C.a)({},this.options_);return void 0!==e.resolution?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object(C.a)({},e,t)},e.prototype.animate=function(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);for(var e=new Array(arguments.length),n=0;n<e.length;++n){var l=arguments[n];l.center&&((l=Object(C.a)({},l)).center=Object(w.e)(l.center,this.getProjection())),l.anchor&&((l=Object(C.a)({},l)).anchor=Object(w.e)(l.anchor,this.getProjection())),e[n]=l}this.animateInternal.apply(this,e)},e.prototype.animateInternal=function(t){var e,n=arguments.length;if(n>1&&"function"==typeof arguments[n-1]&&(e=arguments[n-1],--n),!this.isDef()){var l=arguments[n-1];return l.center&&this.setCenterInternal(l.center),void 0!==l.zoom&&this.setZoom(l.zoom),void 0!==l.rotation&&this.setRotation(l.rotation),void(e&&k(e,!0))}for(var i=Date.now(),o=this.targetCenter_.slice(),a=this.targetResolution_,s=this.targetRotation_,u=[],c=0;c<n;++c){var d=arguments[c],h={start:i,complete:!1,anchor:d.anchor,duration:void 0!==d.duration?d.duration:1e3,easing:d.easing||y.c,callback:e};if(d.center&&(h.sourceCenter=o,h.targetCenter=d.center.slice(),o=h.targetCenter),void 0!==d.zoom?(h.sourceResolution=a,h.targetResolution=this.getResolutionForZoom(d.zoom),a=h.targetResolution):d.resolution&&(h.sourceResolution=a,h.targetResolution=d.resolution,a=h.targetResolution),void 0!==d.rotation){h.sourceRotation=s;var p=Object(r.d)(d.rotation-s+Math.PI,2*Math.PI)-Math.PI;h.targetRotation=s+p,s=h.targetRotation}M(h)?h.complete=!0:i+=h.duration,u.push(h)}this.animations_.push(u),this.setHint(m.a.ANIMATING,1),this.updateAnimations_()},e.prototype.getAnimating=function(){return this.hints_[m.a.ANIMATING]>0},e.prototype.getInteracting=function(){return this.hints_[m.a.INTERACTING]>0},e.prototype.cancelAnimations=function(){var t;this.setHint(m.a.ANIMATING,-this.hints_[m.a.ANIMATING]);for(var e=0,n=this.animations_.length;e<n;++e){var l=this.animations_[e];if(l[0].callback&&k(l[0].callback,!1),!t)for(var i=0,r=l.length;i<r;++i){var o=l[i];if(!o.complete){t=o.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t},e.prototype.updateAnimations_=function(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),this.getAnimating()){for(var t=Date.now(),e=!1,n=this.animations_.length-1;n>=0;--n){for(var l=this.animations_[n],i=!0,o=0,a=l.length;o<a;++o){var s=l[o];if(!s.complete){var u=s.duration>0?(t-s.start)/s.duration:1;u>=1?(s.complete=!0,u=1):i=!1;var c=s.easing(u);if(s.sourceCenter){var d=s.sourceCenter[0],h=s.sourceCenter[1];this.targetCenter_=[d+c*(s.targetCenter[0]-d),h+c*(s.targetCenter[1]-h)]}if(s.sourceResolution&&s.targetResolution){var p=1===c?s.targetResolution:s.sourceResolution+c*(s.targetResolution-s.sourceResolution);if(s.anchor){var f=this.getViewportSize_(this.getRotation()),b=this.constraints_.resolution(p,0,f,!0);this.targetCenter_=this.calculateCenterZoom(b,s.anchor)}this.targetResolution_=p,this.applyTargetState_(!0)}if(void 0!==s.sourceRotation&&void 0!==s.targetRotation){var g=1===c?Object(r.d)(s.targetRotation+Math.PI,2*Math.PI)-Math.PI:s.sourceRotation+c*(s.targetRotation-s.sourceRotation);if(s.anchor){var _=this.constraints_.rotation(g,!0);this.targetCenter_=this.calculateCenterRotate(_,s.anchor)}this.targetRotation_=g}if(this.applyTargetState_(!0),e=!0,!s.complete)break}}if(i){this.animations_[n]=null,this.setHint(m.a.ANIMATING,-1);var y=l[0].callback;y&&k(y,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(t,e){var n,l=this.getCenterInternal();return void 0!==l&&(n=[l[0]-e[0],l[1]-e[1]],Object(_.c)(n,t-this.getRotation()),Object(_.a)(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,l=this.getCenterInternal(),i=this.getResolution();return void 0!==l&&void 0!==i&&(n=[e[0]-t*(e[0]-l[0])/i,e[1]-t*(e[1]-l[1])/i]),n},e.prototype.getViewportSize_=function(t){var e=this.viewportSize_;if(t){var n=e[0],l=e[1];return[Math.abs(n*Math.cos(t))+Math.abs(l*Math.sin(t)),Math.abs(n*Math.sin(t))+Math.abs(l*Math.cos(t))]}return e},e.prototype.setViewportSize=function(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.resolveConstraints(0)},e.prototype.getCenter=function(){var t=this.getCenterInternal();return t?Object(w.n)(t,this.getProjection()):t},e.prototype.getCenterInternal=function(){return this.get("center")},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.options_.constrainResolution},e.prototype.getHints=function(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()},e.prototype.calculateExtent=function(t){var e=this.calculateExtentInternal(t);return Object(w.o)(e,this.getProjection())},e.prototype.calculateExtentInternal=function(t){var e=t||this.getViewportSize_(),n=this.getCenterInternal();Object(g.a)(n,1);var l=this.getResolution();Object(g.a)(void 0!==l,2);var i=this.getRotation();return Object(g.a)(void 0!==i,3),Object(c.z)(n,l,i,e)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))},e.prototype.setConstrainResolution=function(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get("resolution")},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){return this.getResolutionForExtentInternal(Object(w.f)(t,this.getProjection()),e)},e.prototype.getResolutionForExtentInternal=function(t,e){var n=e||this.getViewportSize_(),l=Object(c.E)(t)/n[0],i=Object(c.A)(t)/n[1];return Math.max(l,i)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.getConstrainedResolution(this.maxResolution_),l=Math.log(n/this.minResolution_)/Math.log(e);return function(t){return n/Math.pow(e,t*l)}},e.prototype.getRotation=function(){return this.get("rotation")},e.prototype.getValueForResolutionFunction=function(t){var e=Math.log(t||2),n=this.getConstrainedResolution(this.maxResolution_),l=Math.log(n/this.minResolution_)/e;return function(t){return Math.log(n/t)/e/l}},e.prototype.getState=function(){var t=this.getCenterInternal(),e=this.getProjection(),n=this.getResolution(),l=this.getRotation();return{center:t.slice(0),projection:void 0!==e?e:null,resolution:n,rotation:l,zoom:this.getZoom()}},e.prototype.getZoom=function(){var t,e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t},e.prototype.getZoomForResolution=function(t){var e,n,l=this.minZoom_||0;if(this.resolutions_){var i=Object(u.f)(this.resolutions_,t,1);l=i,e=this.resolutions_[i],n=i==this.resolutions_.length-1?2:e/this.resolutions_[i+1]}else e=this.maxResolution_,n=this.zoomFactor_;return l+Math.log(e/t)/Math.log(n)},e.prototype.getResolutionForZoom=function(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var e=Object(r.a)(Math.floor(t),0,this.resolutions_.length-2);return this.resolutions_[e]/Math.pow(this.resolutions_[e]/this.resolutions_[e+1],Object(r.a)(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)},e.prototype.fit=function(t,e){var n,l=Object(C.a)({size:this.getViewportSize_()},e||{});if(Object(g.a)(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,24),Array.isArray(t)){Object(g.a)(!Object(c.H)(t),25);var i=Object(w.f)(t,this.getProjection());n=Object(v.b)(i)}else if(t.getType()===A.a.CIRCLE)i=Object(w.f)(t.getExtent(),this.getProjection()),(n=Object(v.b)(i)).rotate(this.getRotation(),Object(c.x)(i));else{var r=Object(w.k)();n=r?t.clone().transform(r,this.getProjection()):t}this.fitInternal(n,l)},e.prototype.fitInternal=function(t,e){var n=e||{},l=n.size;l||(l=this.getViewportSize_());var r,o=void 0!==n.padding?n.padding:[0,0,0,0],a=void 0!==n.nearest&&n.nearest;r=void 0!==n.minResolution?n.minResolution:void 0!==n.maxZoom?this.getResolutionForZoom(n.maxZoom):0;for(var s=t.getFlatCoordinates(),u=this.getRotation(),c=Math.cos(-u),d=Math.sin(-u),h=1/0,p=1/0,f=-1/0,b=-1/0,m=t.getStride(),g=0,_=s.length;g<_;g+=m){var y=s[g]*c-s[g+1]*d,A=s[g]*d+s[g+1]*c;h=Math.min(h,y),p=Math.min(p,A),f=Math.max(f,y),b=Math.max(b,A)}var v=this.getResolutionForExtentInternal([h,p,f,b],[l[0]-o[1]-o[3],l[1]-o[0]-o[2]]);v=isNaN(v)?r:Math.max(v,r),v=this.getConstrainedResolution(v,a?0:1);var C=(h+f)/2,w=(p+b)/2,P=[(C+=(o[1]-o[3])/2*v)*c-(w+=(o[0]-o[2])/2*v)*(d=-d),w*c+C*d],x=n.callback?n.callback:i.c;void 0!==n.duration?this.animateInternal({resolution:v,center:this.getConstrainedCenter(P,v),duration:n.duration,easing:n.easing},x):(this.targetResolution_=v,this.targetCenter_=P,this.applyTargetState_(!1,!0),k(x,!0))},e.prototype.centerOn=function(t,e,n){this.centerOnInternal(Object(w.e)(t,this.getProjection()),e,n)},e.prototype.centerOnInternal=function(t,e,n){var l=this.getRotation(),i=Math.cos(-l),r=Math.sin(-l),o=t[0]*i-t[1]*r,a=t[1]*i+t[0]*r,s=this.getResolution();this.setCenterInternal([(o+=(e[0]/2-n[0])*s)*i-(a+=(n[1]-e[1]/2)*s)*(r=-r),a*i+o*r])},e.prototype.isDef=function(){return!!this.getCenterInternal()&&void 0!==this.getResolution()},e.prototype.adjustCenter=function(t){var e=Object(w.n)(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustCenterInternal=function(t){var e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustResolution=function(t,e){var n=e&&Object(w.e)(e,this.getProjection());this.adjustResolutionInternal(t,n)},e.prototype.adjustResolutionInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),l=this.getViewportSize_(this.getRotation()),i=this.constraints_.resolution(this.targetResolution_*t,0,l,n);e&&(this.targetCenter_=this.calculateCenterZoom(i,e)),this.targetResolution_*=t,this.applyTargetState_()},e.prototype.adjustZoom=function(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)},e.prototype.adjustRotation=function(t,e){e&&(e=Object(w.e)(e,this.getProjection())),this.adjustRotationInternal(t,e)},e.prototype.adjustRotationInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),l=this.constraints_.rotation(this.targetRotation_+t,n);e&&(this.targetCenter_=this.calculateCenterRotate(l,e)),this.targetRotation_+=t,this.applyTargetState_()},e.prototype.setCenter=function(t){this.setCenterInternal(Object(w.e)(t,this.getProjection()))},e.prototype.setCenterInternal=function(t){this.targetCenter_=t,this.applyTargetState_()},e.prototype.setHint=function(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]},e.prototype.setResolution=function(t){this.targetResolution_=t,this.applyTargetState_()},e.prototype.setRotation=function(t){this.targetRotation_=t,this.applyTargetState_()},e.prototype.setZoom=function(t){this.setResolution(this.getResolutionForZoom(t))},e.prototype.applyTargetState_=function(t,e){var n=this.getAnimating()||this.getInteracting()||e,l=this.constraints_.rotation(this.targetRotation_,n),i=this.getViewportSize_(l),r=this.constraints_.resolution(this.targetResolution_,0,i,n),o=this.constraints_.center(this.targetCenter_,r,i,n);this.get("rotation")!==l&&this.set("rotation",l),this.get("resolution")!==r&&this.set("resolution",r),this.get("center")&&Object(_.b)(this.get("center"),o)||this.set("center",o),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0},e.prototype.resolveConstraints=function(t,e,n){var l=void 0!==t?t:200,i=e||0,r=this.constraints_.rotation(this.targetRotation_),o=this.getViewportSize_(r),a=this.constraints_.resolution(this.targetResolution_,i,o),s=this.constraints_.center(this.targetCenter_,a,o);if(0===l&&!this.cancelAnchor_)return this.targetResolution_=a,this.targetRotation_=r,this.targetCenter_=s,void this.applyTargetState_();var u=n||(0===l?this.cancelAnchor_:void 0);this.cancelAnchor_=void 0,this.getResolution()===a&&this.getRotation()===r&&this.getCenterInternal()&&Object(_.b)(this.getCenterInternal(),s)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:r,center:s,resolution:a,duration:l,easing:y.b,anchor:u}))},e.prototype.beginInteraction=function(){this.resolveConstraints(0),this.setHint(m.a.INTERACTING,1)},e.prototype.endInteraction=function(t,e,n){var l=n&&Object(w.e)(n,this.getProjection());this.endInteractionInternal(t,e,l)},e.prototype.endInteractionInternal=function(t,e,n){this.setHint(m.a.INTERACTING,-1),this.resolveConstraints(t,e,n)},e.prototype.getConstrainedCenter=function(t,e){var n=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),n)},e.prototype.getConstrainedZoom=function(t,e){var n=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(n,e))},e.prototype.getConstrainedResolution=function(t,e){var n=e||0,l=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,n,l)},e}(s.a);function k(t,e){setTimeout((function(){t(e)}),0)}function M(t){return!(t.sourceCenter&&t.targetCenter&&!Object(_.b)(t.sourceCenter,t.targetCenter))&&t.sourceResolution===t.targetResolution&&t.sourceRotation===t.targetRotation}e.a=S},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pBi1:function(t,e,n){"use strict";n.d(e,"d",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return o}));var l=n("8Y7J"),i=n("KCVW"),r=(n("s7LF"),n("Xd0L"));const o=new l.w("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,disableDragValue:!1})});let a=0;class s{constructor(t,e){this.source=t,this.checked=e}}class u{constructor(t){this._elementRef=t}}const c=Object(r.J)(Object(r.E)(Object(r.F)(Object(r.G)(u)),"accent"));class d extends c{constructor(t,e,n,i,r,o,s,u){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this._ngZone=r,this.defaults=o,this._animationMode=s,this._dir=u,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++a,this._required=!1,this._checked=!1,this._dragging=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new l.r,this.toggleChange=new l.r,this.dragChange=new l.r,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(i.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return(this.id||this._uniqueId)+"-input"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this._dragging||this.toggleChange.emit(),this._dragging||this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new s(this,this.checked))}_getDragPercentage(t){let e=t/this._thumbBarWidth*100;return this._previousChecked&&(e+=100),Math.max(0,Math.min(e,100))}_onDragStart(){if(!this.disabled&&!this._dragging){const t=this._thumbEl.nativeElement;this._thumbBarWidth=this._thumbBarEl.nativeElement.clientWidth-t.clientWidth,t.classList.add("mat-dragging"),this._previousChecked=this.checked,this._dragging=!0}}_onDrag(t){if(this._dragging){const e=this._dir&&"rtl"===this._dir.value?-1:1;this._dragPercentage=this._getDragPercentage(t.deltaX*e),this._thumbEl.nativeElement.style.transform=`translate3d(${this._dragPercentage/100*this._thumbBarWidth*e}px, 0, 0)`}}_onDragEnd(){if(this._dragging){const t=this._dragPercentage>50;t!==this.checked&&(this.dragChange.emit(),this.defaults.disableDragValue||(this.checked=t,this._emitChangeEvent())),this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._dragging&&(this._dragging=!1,this._thumbEl.nativeElement.classList.remove("mat-dragging"),this._thumbEl.nativeElement.style.transform="")}))}}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}class h{}class p{}},"pD/Q":function(t,e,n){"use strict";e.a={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature"}},pEI0:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t){if(!t)return"";const e=Math.floor(t/6e4),n=Math.floor(t%6e4/1e3);let l="";return l=e>0?e.toString()+":"+(n<10?"0"+n.toString():n.toString())+"min":n.toString()+"s",l}}},pIm3:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return c}));var l=n("8Y7J"),i=(n("8rEH"),n("SVse"),n("zQui")),r=(n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),l.Bb({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}}));function o(t){return l.Yb(0,[l.Ub(402653184,1,{_rowOutlet:0}),l.Ub(402653184,2,{_headerRowOutlet:0}),l.Ub(402653184,3,{_footerRowOutlet:0}),l.Ob(null,0),(t()(),l.Db(4,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(5,16384,[[2,4]],0,i.t,[l.Y,l.p],null,null),(t()(),l.Db(6,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(7,16384,[[1,4]],0,i.r,[l.Y,l.p],null,null),(t()(),l.Db(8,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(9,16384,[[3,4]],0,i.s,[l.Y,l.p],null,null)],null,null)}var a=l.Bb({encapsulation:2,styles:[],data:{}});function s(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(1,147456,null,0,i.c,[l.Y],null,null)],null,null)}var u=l.Bb({encapsulation:2,styles:[],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(1,147456,null,0,i.c,[l.Y],null,null)],null,null)}},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends l.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pMnS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("8Y7J"),i=n("iInd"),r=l.Bb({encapsulation:2,styles:[],data:{}});function o(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),l.Cb(1,212992,null,0,i.p,[i.b,l.Y,l.m,[8,null],l.j],null,null)],(function(t,e){t(e,1,0)}),null)}function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ng-component",[],null,null,null,o,r)),l.Cb(1,49152,null,0,i.D,[],null,null)],null,null)}var s=l.zb("ng-component",i.D,a,{},{},[])},pQSv:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return i}));var l=.5,i=!0},pWiS:function(t,e,n){"use strict";var l=n("f8l7");function i(t,e,n){var l=void 0!==n?t.toFixed(n):""+t,i=l.indexOf(".");return(i=-1===i?l.length:i)>e?l:new Array(1+e-i).join("0")+l}var r=n("CvXi");function o(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function a(t,e,n){var r=Object(l.d)(e+180,360)-180,o=Math.abs(3600*r),a=n||0,s=Math.pow(10,a),u=Math.floor(o/3600),c=Math.floor((o-3600*u)/60),d=o-3600*u-60*c;return(d=Math.ceil(d*s)/s)>=60&&(d=0,c+=1),c>=60&&(c=0,u+=1),u+"\xb0 "+i(c,2)+"\u2032 "+i(d,2,a)+"\u2033"+(0==r?"":" "+t.charAt(r<0?1:0))}function s(t,e){for(var n=!0,l=t.length-1;l>=0;--l)if(t[l]!=e[l]){n=!1;break}return n}function u(t,e){var n=Math.cos(e),l=Math.sin(e),i=t[1]*n+t[0]*l;return t[0]=t[0]*n-t[1]*l,t[1]=i,t}function c(t,e){return t[0]*=e,t[1]*=e,t}function d(t,e){return t?a("NS",t[1],e)+" "+a("EW",t[0],e):""}function h(t,e){var n=e.getExtent();if(e.canWrapX()&&(t[0]<n[0]||t[0]>=n[2])){var l=Object(r.E)(n),i=Math.floor((t[0]-n[0])/l);t[0]-=i*l}return t}n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return h}))},pg82:function(t,e){var n=null,l=null;function i(t,e,n){t.addEventListener(e,(function(t){var i=new MouseEvent(n,t);i.pointerId=1,i.isPrimary=!0,i.pointerType="mouse",i.width=1,i.height=1,i.tiltX=0,i.tiltY=0,i.pressure="buttons"in t&&0!==t.buttons?.5:0;var r=t.target;null!==l&&(r=l,"mouseup"===e&&(l=null)),r.dispatchEvent(i),i.defaultPrevented&&t.preventDefault()}))}function r(t,e,l){t.addEventListener(e,(function(t){for(var i=t.changedTouches,r=i.length,o=0;o<r;o++){var a=new CustomEvent(l,{bubbles:!0,cancelable:!0});a.ctrlKey=t.ctrlKey,a.shiftKey=t.shiftKey,a.altKey=t.altKey,a.metaKey=t.metaKey;var s=i.item(o);a.clientX=s.clientX,a.clientY=s.clientY,a.screenX=s.screenX,a.screenY=s.screenY,a.pageX=s.pageX,a.pageY=s.pageY;var u=s.target.getBoundingClientRect();a.offsetX=s.clientX-u.left,a.offsetY=s.clientY-u.top,a.pointerId=1+s.identifier,a.button=0,a.buttons=1,a.movementX=0,a.movementY=0,a.region=null,a.relatedTarget=null,a.x=a.clientX,a.y=a.clientY,a.pointerType="touch",a.width=1,a.height=1,a.tiltX=0,a.tiltY=0,a.pressure=1,"touchstart"===e&&null===n&&(n=s.identifier),a.isPrimary=s.identifier===n,"touchend"===e&&a.isPrimary&&(n=null),t.target.dispatchEvent(a),a.defaultPrevented&&t.preventDefault()}}))}"PointerEvent"in window||(Element.prototype.setPointerCapture=Element.prototype.setCapture,Element.prototype.releasePointerCapture=Element.prototype.releaseCapture,"TouchEvent"in window||(i(document,"mousedown","pointerdown"),i(document,"mousemove","pointermove"),i(document,"mouseup","pointerup")),r(document,"touchstart","pointerdown"),r(document,"touchmove","pointermove"),r(document,"touchend","pointerup"))},piYb:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},pori:function(t,e,n){"use strict";n.d(e,"a",(function(){return M})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return _})),n.d(e,"g",(function(){return y})),n.d(e,"h",(function(){return C})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return P})),n.d(e,"k",(function(){return m})),n.d(e,"l",(function(){return g})),n.d(e,"m",(function(){return s})),n.d(e,"n",(function(){return u})),n.d(e,"o",(function(){return c})),n.d(e,"p",(function(){return k})),n.d(e,"q",(function(){return h}));var l=n("AfW+");let i=0;const r=t=>({create:e=>f(t,e),dismiss:(e,n,l)=>m(document,e,n,t,l),getTop:async()=>g(document,t)}),o=r("ion-alert"),a=r("ion-action-sheet"),s=r("ion-loading"),u=r("ion-modal"),c=r("ion-picker"),d=r("ion-popover"),h=r("ion-toast"),p=t=>{const e=document;b(e);const n=i++;t.overlayIndex=n,t.hasAttribute("id")||(t.id="ion-overlay-"+n)},f=(t,e)=>customElements.whenDefined(t).then(()=>{const n=document,l=n.createElement(t);return l.classList.add("overlay-hidden"),Object.assign(l,e),A(n).appendChild(l),l.componentOnReady()}),b=t=>{0===i&&(i=1,t.addEventListener("focusin",e=>{const n=g(t);if(n&&n.backdropDismiss&&!x(n,e.target)){const t=n.querySelector("input,button");t&&t.focus()}}),t.addEventListener("ionBackButton",e=>{const n=g(t);n&&n.backdropDismiss&&e.detail.register(100,()=>n.dismiss(void 0,M))}),t.addEventListener("keyup",e=>{if("Escape"===e.key){const e=g(t);e&&e.backdropDismiss&&e.dismiss(void 0,M)}}))},m=(t,e,n,l,i)=>{const r=g(t,l,i);return r?r.dismiss(e,n):Promise.reject("overlay does not exist")},g=(t,e,n)=>{const l=((t,e)=>(void 0===e&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(t.querySelectorAll(e)).filter(t=>t.overlayIndex>0)))(t,e);return void 0===n?l[l.length-1]:l.find(t=>t.id===n)},_=async(t,e,n,i,r)=>{if(t.presented)return;t.presented=!0,t.willPresent.emit();const o=t.enterAnimation?t.enterAnimation:l.b.get(e,"ios"===t.mode?n:i);await v(t,o,t.el,r)&&t.didPresent.emit()},y=async(t,e,n,i,r,o,a)=>{if(!t.presented)return!1;t.presented=!1;try{t.willDismiss.emit({data:e,role:n});const s=t.leaveAnimation?t.leaveAnimation:l.b.get(i,"ios"===t.mode?r:o);await v(t,s,t.el,a),t.didDismiss.emit({data:e,role:n})}catch(s){console.error(s)}return t.el.remove(),!0},A=t=>t.querySelector("ion-app")||t.body,v=async(t,e,i,r)=>{if(t.animation)return t.animation.destroy(),t.animation=void 0,!1;i.classList.remove("overlay-hidden");const o=i.shadowRoot||t.el;let a,s=!0;try{const t=await n.e(5).then(n.bind(null,"gHMO"));a=await t.create(e,o,r)}catch(c){a=e(o,r),a.fill("both"),s=!1}t.animation=a,t.animated&&l.b.getBoolean("animated",!0)||a.duration(0),t.keyboardClose&&a.beforeAddWrite(()=>{const t=i.ownerDocument.activeElement;t&&t.matches("input, ion-input, ion-textarea")&&t.blur()});const u=void 0===await a.playAsync()||a.hasCompleted;return s&&a.destroy(),t.animation=void 0,u},C=(t,e)=>{let n;const l=new Promise(t=>n=t);return w(t,e,t=>{n(t.detail)}),l},w=(t,e,n)=>{const l=i=>{t.removeEventListener(e,l),n(i)};t.addEventListener(e,l)},P=t=>"cancel"===t||t===M,x=(t,e)=>{for(;e;){if(e===t)return!0;e=e.parentElement}return!1},S=t=>t(),k=(t,e)=>{if("function"==typeof t)return l.b.get("_zoneGate",S)(()=>{try{return t(e)}catch(n){console.error(n)}})},M="backdrop"},ppab:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("Pmt0"),i=n("WDFe");class r{constructor(){this.opacity=1,this.visibility="true",this.zIndex=0,this.groupLayer="All"}getVectorSource(){return this.source||(this.source=new i.a({features:[],useSpatialIndex:!1})),this.source}getVectorLayer(){return this.layer||(this.layer=new l.a({name:this.name,visible:"true"===this.visibility,zIndex:this.zIndex||0,source:this.getVectorSource()})),this.layer}}},q7cr:function(t,e,n){"use strict";function l(t,e,n,l){for(var i=0,r=n.length;i<r;++i)t[e++]=n[i];return e}function i(t,e,n,l){for(var i=0,r=n.length;i<r;++i)for(var o=n[i],a=0;a<l;++a)t[e++]=o[a];return e}function r(t,e,n,l,r){for(var o=r||[],a=0,s=0,u=n.length;s<u;++s){var c=i(t,e,n[s],l);o[a++]=c,e=c}return o.length=a,o}function o(t,e,n,l,i){for(var o=i||[],a=0,s=0,u=n.length;s<u;++s){var c=r(t,e,n[s],l,o[a]);o[a++]=c,e=c[c.length-1]}return o.length=a,o}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o}))},qGlh:function(t,e){t.exports=function(t){return n&&Buffer.isBuffer(t)||l&&(t instanceof ArrayBuffer||function(t){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}(t))};var n="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,l="function"==typeof ArrayBuffer},qJ50:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"d",(function(){return b})),n.d(e,"c",(function(){return h})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return g})),n.d(e,"e",(function(){return _})),n.d(e,"b",(function(){return d}));var l=n("8Y7J"),i=n("5GAg"),r=n("KCVW"),o=n("dvZr"),a=n("XNiG"),s=n("LRne"),u=n("JX91"),c=n("1G5W");class d{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}class h{constructor(t){this.template=t}}let p=0;class f{constructor(t,e){this._stepper=t,this.interacted=!1,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=Object(r.c)(t)}get optional(){return this._optional}set optional(t){this._optional=Object(r.c)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=Object(r.c)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=Object(r.c)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}}class b{constructor(t,e,n,i){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new a.a,this._linear=!1,this._selectedIndex=0,this.selectionChange=new l.r,this._orientation="horizontal",this._groupId=p++,this._document=i}get steps(){return this._steps}get linear(){return this._linear}set linear(t){this._linear=Object(r.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const e=Object(r.f)(t);if(this.steps){if(e<0||e>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(t)}else this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=this.steps?this.steps.toArray().indexOf(t):-1}ngAfterViewInit(){this._keyManager=new i.g(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(s.a)()).pipe(Object(u.a)(this._layoutDirection()),Object(c.a)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItemIndex(this._selectedIndex),this.steps.changes.pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const n=this.steps.toArray()[t],l=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,l):this._getGuidelineLogic(n,l,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?"error":!t.completed||e?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,e,n="number"){return t._showError&&t.hasError&&!e?"error":t.completed&&!e?"done":t.completed&&e?n:t.editable&&e?"edit":n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItemIndex(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=Object(o.t)(t),n=t.keyCode,l=this._keyManager;null==l.activeItemIndex||e||n!==o.o&&n!==o.g?n===o.i?(l.setFirstItemActive(),t.preventDefault()):n===o.f?(l.setLastItemActive(),t.preventDefault()):l.onKeydown(t):(this.selectedIndex=l.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){const e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&t>=0)&&e.slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){if(!this._document||!this._elementRef)return!1;const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}class m{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}class g{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}class _{}},qJ5m:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("qJ50"),n("XNiG"));n("GS7A"),n("1G5W"),n("/uUt");let r=(()=>{class t{constructor(){this.changes=new i.a,this.optionalLabel="Optional"}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function o(t){return t||new r}class a{}},qJZF:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"j",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"l",(function(){return f})),n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return m})),n.d(e,"k",(function(){return g}));var l=n("kvpX"),i=new Array(6);function r(){return[1,0,0,1,0,0]}function o(t){return s(t,1,0,0,1,0,0)}function a(t,e){var n=t[0],l=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=e[0],u=e[1],c=e[2],d=e[3],h=e[4],p=e[5];return t[0]=n*s+i*u,t[1]=l*s+r*u,t[2]=n*c+i*d,t[3]=l*c+r*d,t[4]=n*h+i*p+o,t[5]=l*h+r*p+a,t}function s(t,e,n,l,i,r,o){return t[0]=e,t[1]=n,t[2]=l,t[3]=i,t[4]=r,t[5]=o,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function c(t,e){var n=e[0],l=e[1];return e[0]=t[0]*n+t[2]*l+t[4],e[1]=t[1]*n+t[3]*l+t[5],e}function d(t,e){var n=Math.cos(e),l=Math.sin(e);return a(t,s(i,n,l,-l,n,0,0))}function h(t,e,n){return a(t,s(i,e,0,0,n,0,0))}function p(t,e,n){return s(t,e,0,0,n,0,0)}function f(t,e,n){return a(t,s(i,1,0,0,1,e,n))}function b(t,e,n,l,i,r,o,a){var s=Math.sin(r),u=Math.cos(r);return t[0]=l*u,t[1]=i*s,t[2]=-l*s,t[3]=i*u,t[4]=o*l*u-a*l*s+e,t[5]=o*i*s+a*i*u+n,t}function m(t,e){var n,i=(n=e)[0]*n[3]-n[1]*n[2];Object(l.a)(0!==i,32);var r=e[0],o=e[1],a=e[2],s=e[3],u=e[4],c=e[5];return t[0]=s/i,t[1]=-o/i,t[2]=-a/i,t[3]=r/i,t[4]=(a*c-s*u)/i,t[5]=-(r*c-o*u)/i,t}function g(t){return"matrix("+t.join(", ")+")"}},qJaP:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns");class a{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){}closeModal(){this.dialogRef.close()}}n.d(e,"a",(function(){return d}));var s=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important}.mat-dialog-content[_ngcontent-%COMP%]{padding:10px!important;margin:0!important}.close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;margin-right:10px;font-size:25px;margin-top:5px}"]],data:{}});function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,5,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(3,16384,null,0,o.j,[],null,null),(t()(),l.Db(4,0,null,null,1,"p",[["style","margin: 0;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Nous Contacter"])),(t()(),l.Db(6,0,null,null,1,"a",[["href","mailto:sepia@fabnum.fr"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["sepia@fabnum.fr"]))],(function(t,e){t(e,1,0,"close")}),null)}function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mail-dialog",[],null,null,null,u,s)),l.Cb(1,114688,null,0,a,[o.l,o.a],null,null)],(function(t,e){t(e,1,0)}),null)}var d=l.zb("mail-dialog",a,c,{},{},[])},qSBs:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getManyBasePositionControllerPosition$Response(e){const n=new o.a(this.rootUrl,t.GetManyBasePositionControllerPositionPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBasePositionControllerPosition(t){return this.getManyBasePositionControllerPosition$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetManyBasePositionControllerPositionPath="/position",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},qToJ:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("8Y7J"),i=(n("G0WM"),n("oeKZ")),r=n("5p+q"),o=n("Kurg");let a=(()=>{class t{constructor(t,e,n){this.keycloakService=t,this.feedService=e,this.colorFilterService=n,this.colorFilters=[],this.colorAircraftListsChange=new l.r,this.layerListRefresh=new l.r,this.feeds=[],this.loadSettings(),setInterval(()=>{this.loadColorAircraftLists(),this.layerListRefresh.emit()},2e4)}loadSettings(){this.loadColorAircraftLists(),this.loadFeeds()}getColorAircraftListsChangeEmitter(){return this.colorAircraftListsChange}getLayersListRefreshEmitter(){return this.layerListRefresh}getFeeds(t=!0){return t?this.feeds.filter(t=>t.activatedByIds.includes(this.keycloakService.client().subject)):this.feeds}loadFeeds(){this.feedService.getManyBaseFeedControllerFeed().subscribe(t=>{this.feeds=t.data})}getColorAircraftLists(){return this.colorFilters}addColorFilter(t){this.colorFilters.push(t),this.colorFilters.sort((t,e)=>t.rank-e.rank),this.colorAircraftListsChange.emit()}removeColorFilter(t){this.colorFilters=this.colorFilters.filter(e=>e.id!==t.id),this.colorAircraftListsChange.emit()}loadColorAircraftLists(){const t={join:["fleet","fleet.fleetItems","activatedBy||id"],sort:["rank,ASC"],filter:["activatedBy.id||eq||"+this.keycloakService.client().subject]};this.colorFilterService.getManyBaseColorFilterControllerColorFilter(t).subscribe(t=>{this.colorFilters=t.data,this.colorAircraftListsChange.emit()})}getFeedName(t){const e=this.feeds.find(e=>e.id===t);return e?e.name:null}getFeedNames(t){return t?t.map(t=>this.getFeedName(t)).filter(t=>null!==t).join(","):""}getFeedType(t){const e=this.feeds.find(e=>e.id===t);return e?e.type:null}getFeedTypes(t){if(!t)return"";const e=t.map(t=>this.getFeedType(t)).filter(t=>null!==t);return[...new Set([...e])].join(",")}}return t.ngInjectableDef=l.cc({factory:function(){return new t(l.dc(i.a),l.dc(r.a),l.dc(o.a))},token:t,providedIn:"root"}),t})()},qU9k:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var l=n("8Y7J");let i={UNSELECT:"unselect",HOVER:"hover",SELECT:"select"};class r{constructor(t,e,n,l){this.status=t,this.position=l,this.oldLandEntities=e,this.newLandEntities=n}}let o=(()=>{class t{constructor(){this.status=i.UNSELECT,this.landEntities=[],this.landEntitiesChange=new l.r}getLandEntitiesEmitter(){return this.landEntitiesChange}setLandEntities(t,e,n){if((t=t.filter(t=>!0===t.show)).length>0){this.status=n;const l=new r(this.status,this.landEntities,t,e);this.landEntitiesChange.emit(l),this.landEntities=t}}unsetLandEntities(){this.status=i.UNSELECT;const t=new r(this.status,this.landEntities,null);this.landEntitiesChange.emit(t),this.landEntities=null}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},quSY:function(t,e,n){"use strict";var l=n("DH7j"),i=n("XoHu"),r=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,"a",(function(){return a}));let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:u,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(r.a)(u)){a&&(this._unsubscribe=void 0);try{u.call(this)}catch(d){e=d instanceof o?s(d.errors):[d]}}if(Object(l.a)(c)){let t=-1,n=c.length;for(;++t<n;){const n=c[t];if(Object(i.a)(n))try{n.unsubscribe()}catch(d){e=e||[],d instanceof o?e=e.concat(s(d.errors)):e.push(d)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:l}=n;if(null===l)n._parentOrParents=this;else if(l instanceof t){if(l===this)return n;n._parentOrParents=[l,this]}else{if(-1!==l.indexOf(this))return n;l.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function s(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},qvJo:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[t+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",t+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[t+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",t+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[t+" \u0935\u0930\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[t+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",t+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[t+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",t+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[t+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return l?i[n][0]:i[n][1]}t.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(t,e){switch(e){case"D":return t+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?t:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?t>12?t:t+12:"\u0938\u093e\u0902\u091c\u0947"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u0940":t<12?"\u0938\u0915\u093e\u0933\u0940\u0902":t<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":t<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},qzVC:function(t,e,n){"use strict";var l=n("EwAT"),i=function(){function t(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.displacement_=t.displacement}return t.prototype.clone=function(){return new t({opacity:this.getOpacity(),scale:this.getScale(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()})},t.prototype.getOpacity=function(){return this.opacity_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getDisplacement=function(){return this.displacement_},t.prototype.getAnchor=function(){return Object(l.b)()},t.prototype.getImage=function(t){return Object(l.b)()},t.prototype.getHitDetectionImage=function(t){return Object(l.b)()},t.prototype.getImageState=function(){return Object(l.b)()},t.prototype.getImageSize=function(){return Object(l.b)()},t.prototype.getHitDetectionImageSize=function(){return Object(l.b)()},t.prototype.getOrigin=function(){return Object(l.b)()},t.prototype.getSize=function(){return Object(l.b)()},t.prototype.setOpacity=function(t){this.opacity_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t},t.prototype.listenImageChange=function(t){Object(l.b)()},t.prototype.load=function(){Object(l.b)()},t.prototype.unlistenImageChange=function(t){Object(l.b)()},t}();e.a=i},r0V8:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return f}));var l=n("8Y7J"),i=n("KCVW"),r=(n("s7LF"),n("Xd0L"));const o=new l.w("mat-checkbox-click-action");let a=0;const s=function(){var t={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return t[t.Init]="Init",t[t.Checked]="Checked",t[t.Unchecked]="Unchecked",t[t.Indeterminate]="Indeterminate",t}();class u{}class c{constructor(t){this._elementRef=t}}const d=Object(r.J)(Object(r.E)(Object(r.F)(Object(r.G)(c)),"accent"));class h extends d{constructor(t,e,n,i,r,o,u){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._clickAction=o,this._animationMode=u,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++a,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new l.r,this.indeterminateChange=new l.r,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=s.Init,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this.tabIndex=parseInt(r)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})})}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?s.Indeterminate:this.checked?s.Checked:s.Unchecked),this.indeterminateChange.emit(this._indeterminate))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new u;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?s.Checked:s.Unchecked),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case s.Init:if(e===s.Checked)n="unchecked-checked";else{if(e!=s.Indeterminate)return"";n="unchecked-indeterminate"}break;case s.Unchecked:n=e===s.Checked?"unchecked-checked":"unchecked-indeterminate";break;case s.Checked:n=e===s.Unchecked?"checked-unchecked":"checked-indeterminate";break;case s.Indeterminate:n=e===s.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}}class p{}class f{}},r6U7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("mzvH");n("ZZ/e"),n("svHU"),n("a5kt"),n("Y4ja");class i extends l.a{constructor(t,e,n,l){super(t,e,n,l),this.platform=t,this.loadingController=e,this.modeService=n,this.mapService=l}ngOnInit(){this.displayLoading(),this.platform.ready().then(t=>{setTimeout(()=>{this.child.resizeMap()},1e3)})}}},rAnw:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}promControllerIndex$Response(e){const n=new o.a(this.rootUrl,t.PromControllerIndexPath,"get");return this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}promControllerIndex(t){return this.promControllerIndex$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.PromControllerIndexPath="/metrics",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},rBEc:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("AyJq"),o=n("c9fC"),a=n("8bJo"),s=n("omvX"),u=n("5GAg"),c=n("hrfs");n("JRYL"),n("978D"),n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var d=l.Bb({encapsulation:0,styles:[[".expansion-header[_ngcontent-%COMP%], .expansion-header[_ngcontent-%COMP%]:hover{font-weight:900;font-family:Quicksand;font-size:14px}.expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .expansion-header[_ngcontent-%COMP%]:hover mat-panel-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);display:flex;align-items:center}.expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .expansion-header[_ngcontent-%COMP%]:hover mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px;height:30px;margin-right:10px}.mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0!important}.mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important} div.mat-expansion-panel-body{padding:10px}"]],data:{}});function h(t){return l.Yb(2,[l.Qb(0,i.f,[l.A]),(t()(),l.Db(1,16777216,null,null,15,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,r.d,r.a)),l.Cb(2,1753088,null,1,o.e,[[3,o.a],l.j,a.d,l.Y,i.d,[2,s.a],[2,o.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,1,{_lazyContent:0}),l.Tb(256,null,o.a,void 0,[]),(t()(),l.Db(5,0,null,0,8,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,6)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,6)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,6)._animationStarted()&&i),i}),r.c,r.b)),l.Cb(6,180224,null,0,o.f,[o.e,l.p,u.h,l.j,[2,o.b]],null,null),l.Rb(7,{collapsedHeight:0,expandedHeight:1}),l.Rb(8,{value:0,params:1}),(t()(),l.Db(9,0,null,0,4,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(10,16384,null,0,o.g,[],null,null),(t()(),l.Db(11,0,null,null,0,"img",[["src","../../../../assets/images/altitude-graph-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Wb(12,null,[" Altitude graph "," min "])),l.Sb(13,2),(t()(),l.Db(14,0,null,1,2,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"canvas",[["baseChart",""],["height","400"],["width","400"]],null,null,null,null,null)),l.Cb(16,999424,null,0,c.a,[l.p,c.c],{datasets:[0,"datasets"],labels:[1,"labels"],options:[2,"options"],chartType:[3,"chartType"],colors:[4,"colors"],legend:[5,"legend"]},null)],(function(t,e){var n=e.component;t(e,2,0,!0),t(e,16,0,n.lineChartData,n.lineChartLabels,n.lineChartOptions,n.lineChartType,n.lineChartColors,n.lineChartLegend)}),(function(t,e){var n=e.component;t(e,1,0,l.Pb(e,2).expanded,"NoopAnimations"===l.Pb(e,2)._animationMode,l.Pb(e,2)._hasSpacing());var i=l.Pb(e,6).panel._headerId,r=l.Pb(e,6).disabled?-1:0,o=l.Pb(e,6)._getPanelId(),a=l.Pb(e,6)._isExpanded(),s=l.Pb(e,6).panel.disabled,u=l.Pb(e,6)._isExpanded(),c="after"===l.Pb(e,6)._getTogglePosition(),d="before"===l.Pb(e,6)._getTogglePosition(),h=l.Pb(e,6)._animationsDisabled,p=t(e,8,0,l.Pb(e,6)._getExpandedState(),t(e,7,0,l.Pb(e,6).collapsedHeight,l.Pb(e,6).expandedHeight));t(e,5,0,i,r,o,a,s,u,c,d,h,p);var f=l.Xb(e,12,0,t(e,13,0,l.Pb(e,0),n.maxTimeLine,"1.0-0"));t(e,12,0,f)}))}},rCNt:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("mnSs"),a=n("SVse"),s=n("Io5N"),u=n("Al5c"),c=n("qToJ"),d=n("978D"),h=n("cUpR"),p=n("Y4ja"),f=n("Blz8"),b=n("F3fN"),m=n("7/LY"),g=n("6RrN"),_=n("YGmB");class y extends g.a{constructor(t,e,n){super(t,e,n),this.ref=t,this.selectAircraftService=e,this.trafficService=n}}var A=l.Bb({encapsulation:0,styles:[[".aircraft-pin[_ngcontent-%COMP%]{position:relative;background-color:#fff;border-top:2px solid #aaa}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%]{display:flex}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-picture[_ngcontent-%COMP%]{width:30%}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%]{padding:5px}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] .aircraft-pin-source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:20px}.aircraft-pin-route[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;background-color:var(--ion-color-primary);padding:5px}.aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%]{width:40%;text-align:center}.aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{width:20%;text-align:center}.aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.aircraft-pin-route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:5px;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block;color:#fff}.aircraft-pin-desc[_ngcontent-%COMP%]{padding:5px}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%]{display:flex}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:10px;width:33%;margin:2px}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-transform:uppercase;color:#999}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .warning[_ngcontent-%COMP%]{color:#b22222!important}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .ctl-agency[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:55px;display:inline-flex}"]],data:{}});function v(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,i.y,i.g)),l.Cb(3,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,12),"template"),t(e,3,0,"more")}),null)}function C(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.parent.context.$implicit.stopsIcao)}))}function w(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"div",[["class","aircraft-pin-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(3,null,[" "," "])),l.Sb(4,1),(t()(),l.Db(5,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,1),(t()(),l.Db(8,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,v)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,C)),(t()(),l.Db(13,0,null,null,6,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(15,null,[" "," "])),l.Sb(16,1),(t()(),l.Db(17,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(18,null,[" "," "])),l.Sb(19,1)],(function(t,e){t(e,11,0,e.parent.context.$implicit.stopsIcao)}),(function(t,e){t(e,2,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.name,""));var n=l.Xb(e,3,0,t(e,4,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.icao));t(e,3,0,n),t(e,5,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.location,""));var i=l.Xb(e,6,0,t(e,7,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.location));t(e,6,0,i);var r=l.Hb(1,"../../../assets/images/",e.parent.context.$implicit.getIconStatus(),"");t(e,9,0,r),t(e,14,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.name,""));var o=l.Xb(e,15,0,t(e,16,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.icao));t(e,15,0,o),t(e,17,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.location,""));var a=l.Xb(e,18,0,t(e,19,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.location));t(e,18,0,a)}))}function P(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function S(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function k(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icaoTypeCode)}))}function M(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function O(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.operatorIcao)}))}function D(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function T(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.squawk)}))}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value ctl-agency"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.ctlAgency)}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.altitude));t(e,1,0,n)}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","ft/m"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.vsi)}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OFF"]))],null,null)}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ON"]))],null,null)}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.track)}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.speed)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mach)}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.parent.context.$implicit.getMachSpeed();t(e,1,0,n)}))}function X(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,95,"div",[["class","aircraft-pin"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0;return"toClose"===e&&(l=!1!==t.component.selectAircraftService.unWatchAircraft(t.context.$implicit)&&l),l}),s.b,s.a)),l.Cb(2,245760,null,0,u.a,[c.a,d.b,h.b,p.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,w)),l.Cb(4,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(5,0,null,null,90,"div",[["class","aircraft-pin-desc"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["C.S : "])),(t()(),l.sb(16777216,null,null,1,null,P)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,x)),l.Cb(13,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(14,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MOD : "])),(t()(),l.sb(16777216,null,null,1,null,S)),l.Cb(18,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,k)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(21,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE : "])),(t()(),l.sb(16777216,null,null,1,null,M)),l.Cb(25,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,O)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(28,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(29,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(30,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG : "])),(t()(),l.sb(16777216,null,null,1,null,D)),l.Cb(33,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,T)),l.Cb(35,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(36,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(37,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["IFF : "])),(t()(),l.sb(16777216,null,null,1,null,E)),l.Cb(40,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,I)),l.Cb(42,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(43,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(44,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["CTL : "])),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(47,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,j)),l.Cb(49,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(50,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(51,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(52,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["FL : "])),(t()(),l.sb(16777216,null,null,1,null,R)),l.Cb(55,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,F)),l.Cb(57,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(58,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(59,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VS : "])),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(62,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(64,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(65,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(66,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["A-PIL : "])),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(69,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(71,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(72,0,null,null,23,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(73,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(74,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK : "])),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(77,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,G)),l.Cb(79,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(80,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(81,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS : "])),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(84,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,V)),l.Cb(86,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(87,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Db(88,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH : "])),(t()(),l.sb(16777216,null,null,1,null,q)),l.Cb(91,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,W)),l.Cb(93,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,$)),l.Cb(95,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,e.context.$implicit),t(e,4,0,e.context.$implicit.fromAirport&&e.context.$implicit.toAirport),t(e,11,0,null==e.context.$implicit.callsign),t(e,13,0,null!=e.context.$implicit.callsign),t(e,18,0,null==e.context.$implicit.icaoTypeCode),t(e,20,0,null!=e.context.$implicit.icaoTypeCode),t(e,25,0,null==e.context.$implicit.operatorIcao),t(e,27,0,null!=e.context.$implicit.operatorIcao),t(e,33,0,null==e.context.$implicit.registration),t(e,35,0,null!=e.context.$implicit.registration),t(e,40,0,null==e.context.$implicit.squawk),t(e,42,0,null!=e.context.$implicit.squawk),t(e,47,0,null==e.context.$implicit.ctlAgency),t(e,49,0,null!=e.context.$implicit.ctlAgency),t(e,55,0,null==e.context.$implicit.altitude),t(e,57,0,null!=e.context.$implicit.altitude),t(e,62,0,null==e.context.$implicit.vsi),t(e,64,0,null!=e.context.$implicit.vsi),t(e,69,0,null==e.context.$implicit.navModes||e.context.$implicit.navModes.length<=0),t(e,71,0,null!=e.context.$implicit.navModes&&e.context.$implicit.navModes.length>0),t(e,77,0,null==e.context.$implicit.track),t(e,79,0,null!=e.context.$implicit.track),t(e,84,0,null==e.context.$implicit.speed),t(e,86,0,null!=e.context.$implicit.speed);var n=null==e.context.$implicit.mach&&null==e.context.$implicit.getMachSpeed();t(e,91,0,n),t(e,93,0,null!=e.context.$implicit.mach);var l=null==e.context.$implicit.mach&&null!=e.context.$implicit.getMachSpeed();t(e,95,0,l)}),null)}function K(t){return l.Yb(2,[l.Qb(0,f.a,[]),l.Qb(0,b.a,[]),(t()(),l.sb(16777216,null,null,1,null,X)),l.Cb(3,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,3,0,e.component.watchAircrafts)}),null)}var J=n("m46K"),Q=n("7kcP"),Z=n("8rEH"),tt=n("zQui"),et=n("pIm3"),nt=n("dJrM"),lt=n("HsOI"),it=n("Xd0L"),rt=n("IP0z"),ot=n("/HVE"),at=n("omvX"),st=n("ZwOa"),ut=n("s7LF"),ct=n("oapL"),dt=n("oJZn"),ht=n("pBi1"),pt=n("5GAg"),ft=n("b1+6"),bt=n("OIZN"),mt=n("mrSG"),gt=n("t+3E"),_t=n("svHU"),yt=n("wBRQ"),At=n("sJgj");class vt extends At.a{constructor(t,e,n,l,i,r,o,a,s){super(t,e,n,l,i,r,o,a),this.dialog=t,this.elementRef=e,this.mapService=n,this.selectAircraftService=l,this.trafficService=i,this.timeService=r,this.focusAircraftService=o,this.settingService=a,this.modalController=s}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.subscription.trafficAircraft=this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.refreshTrafficAircraft(t)}),this.subscription.selectAircraft=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.initFields()}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}openDialog(){return mt.b(this,void 0,void 0,(function*(){const t=yield this.modalController.create({component:gt.a,componentProps:{data:this.displayedColumns}});yield t.present();const{data:e}=yield t.onWillDismiss();console.log(e),e&&(this.displayedColumns=e,localStorage.setItem("panelRightFields",JSON.stringify(this.displayedColumns)))}))}}var Ct=n("s6ns"),wt=l.Bb({encapsulation:0,styles:[["#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}#list-panel[_ngcontent-%COMP%] .mat-column-provider[_ngcontent-%COMP%], #list-panel[_ngcontent-%COMP%] .mat-column-route[_ngcontent-%COMP%]{min-width:100px}#list-panel[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding:10px}#list-panel[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto;cursor:pointer}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]{padding:5px;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0!important;font-size:12px!important;font-family:inherit!important;text-overflow:ellipsis;white-space:nowrap}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{max-height:19px;margin:-4px}#list-panel[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:5px}#list-panel[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#ccc}#list-panel[_ngcontent-%COMP%] .mat-paginator-range-label{margin:0}.customfilter[_ngcontent-%COMP%]{width:100px}"]],data:{}});function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),J.b,J.a)),l.Cb(1,245760,null,0,Q.c,[Q.d,l.j,[2,Q.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,Z.e,[tt.d,l.p],null,null),(t()(),l.Wb(3,0,[" "," "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){var n=e.component;t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled()),t(e,3,0,n.columnsName[e.parent.context.$implicit])}))}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent.parent,0),e.parent.context.$implicit[e.parent.parent.context.$implicit]));t(e,1,0,n)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.settingService.getFeedNames(e.parent.context.$implicit[e.parent.parent.context.$implicit]))}))}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,l.Hb(1,"",e.parent.context.$implicit[e.parent.parent.context.$implicit],""))}))}function Ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,Z.a,[tt.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,xt)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,St)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kt)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Mt)),l.Cb(9,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ot)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,"altitude"==e.parent.context.$implicit),t(e,5,0,"speed"==e.parent.context.$implicit),t(e,7,0,"providers"==e.parent.context.$implicit),t(e,9,0,"country"==e.parent.context.$implicit&&e.context.$implicit[e.parent.context.$implicit]),t(e,11,0,"speed"!==e.parent.context.$implicit&&"altitude"!==e.parent.context.$implicit&&"providers"!==e.parent.context.$implicit&&"country"!==e.parent.context.$implicit)}),null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Z.c]),l.Cb(2,16384,null,3,Z.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],tt.d,null,[Z.c]),(t()(),l.sb(0,null,null,2,null,Pt)),l.Cb(8,16384,null,0,Z.f,[l.U],null,null),l.Tb(2048,[[17,4]],tt.j,null,[Z.f]),(t()(),l.sb(0,null,null,2,null,Dt)),l.Cb(11,16384,null,0,Z.b,[l.U],null,null),l.Tb(2048,[[16,4]],tt.b,null,[Z.b])],(function(t,e){t(e,2,0,l.Hb(1,"",e.context.$implicit,""))}),null)}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,et.d,et.a)),l.Tb(6144,null,tt.k,null,[Z.g]),l.Cb(2,49152,null,0,Z.g,[],null,null)],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,[[null,"click"],[null,"dblclick"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.watchAircraft(t.context.$implicit.icao)&&l),"dblclick"===e&&(l=!1!==i.selectAircraft(t.context.$implicit.icao)&&l),l}),et.e,et.b)),l.Tb(6144,null,tt.m,null,[Z.i]),l.Tb(512,null,a.A,a.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,a.l,[a.A],{ngClass:[0,"ngClass"]},null),l.Rb(4,{active:0}),l.Cb(5,49152,null,0,Z.i,[],null,null)],(function(t,e){var n=t(e,4,0,e.component.isSelectedAircraft(e.context.$implicit));t(e,3,0,n)}),null)}function Lt(t){return l.Yb(0,[l.Qb(0,b.a,[]),l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(3,0,null,null,41,"ion-content",[["id","list-panel"],["scrollX","true"]],null,null,null,i.w,i.e)),l.Cb(4,49152,null,0,r.s,[l.j,l.p,l.G],{scrollX:[0,"scrollX"]},null),(t()(),l.Db(5,0,null,0,13,"mat-form-field",[["class","customfilter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,nt.b,nt.a)),l.Cb(6,7520256,null,9,lt.c,[l.p,l.j,[2,it.j],[2,rt.b],[2,lt.a],ot.a,l.G,[2,at.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(16,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(17,999424,null,0,st.b,[l.p,ot.a,[8,null],[2,ut.s],[2,ut.k],it.d,[8,null],ct.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],lt.d,null,[st.b]),(t()(),l.Db(19,0,null,0,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==l.Pb(t,21)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.focusChange(n)&&i),i}),dt.b,dt.a)),l.Tb(5120,null,ut.o,(function(t){return[t]}),[ht.b]),l.Cb(21,1228800,null,0,ht.b,[l.p,pt.h,l.j,[8,null],l.G,ht.a,[2,at.a],[2,rt.b]],{checked:[0,"checked"]},{change:"change"}),(t()(),l.Wb(-1,0,["Focus"])),(t()(),l.Db(23,0,null,0,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),i.u,i.c)),l.Cb(24,49152,null,0,r.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(25,0,null,0,1,"ion-icon",[["name","settings"]],null,null,null,i.y,i.g)),l.Cb(26,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(27,0,null,0,15,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,et.f,et.c)),l.Tb(6144,null,tt.o,null,[Z.k]),l.Cb(29,737280,[[1,4]],0,Q.b,[],null,null),l.Cb(30,2342912,null,4,Z.k,[l.y,l.j,l.p,[8,null],[2,rt.b],a.d,ot.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.sb(16777216,null,null,1,null,Tt)),l.Cb(36,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(38,540672,null,0,Z.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],tt.l,null,[Z.h]),(t()(),l.sb(0,null,null,2,null,It)),l.Cb(41,540672,null,0,Z.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],tt.n,null,[Z.j]),(t()(),l.Db(43,0,null,0,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,ft.b,ft.a)),l.Cb(44,245760,[[2,4]],0,bt.b,[bt.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,4,0,"true"),t(e,17,0,"Filter"),t(e,21,0,n.focusIsActive),t(e,24,0,"primary"),t(e,26,0,"settings"),t(e,29,0),t(e,30,0,n.dataSource),t(e,36,0,n.displayedColumns),t(e,38,0,n.displayedColumns),t(e,41,0,n.displayedColumns),t(e,44,0,50,"true","")}),(function(t,e){t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,0,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()),t(e,19,0,l.Pb(e,21).id,l.Pb(e,21).disabled?null:-1,null,null,l.Pb(e,21).checked,l.Pb(e,21).disabled,"before"==l.Pb(e,21).labelPosition,"NoopAnimations"===l.Pb(e,21)._animationMode)}))}var jt=n("XEuL"),Rt=n("6g9s"),Ft=n("a5kt"),Nt=n("iInd"),Yt=n("xhS3"),Ut=l.Bb({encapsulation:2,styles:[jt.a,Rt.a,[".ol-zoom{top:unset;left:unset;bottom:3.5em!important;right:.5em!important}.ol-permalink{display:none}.reset-bbox{z-index:1000;bottom:8em;right:.5em}"]],data:{}});function Bt(t){return l.Yb(0,[l.Ub(402653184,1,{positionEl:0})],null,null)}var zt=n("hUP0"),Gt=(n("G0WM"),n("5QaY"));class Ht extends Gt.a{constructor(t,e,n,l){super(t,e,n,l),this.httpClient=t,this.mapService=e,this.lightDarkModeService=n,this.collectionService=l}ngOnInit(){this.updateLocalCollection(),setInterval(()=>{this.updateLocalCollection()},this.intervalForDaemonOfCollectionFetcher)}}var Vt=n("IheW"),qt=n("X0qu"),Wt=l.Bb({encapsulation:2,styles:[],data:{}});function $t(t){return l.Yb(2,[],null,null)}var Xt=n("P151"),Kt=n("UK0T"),Jt=n("sLNx");class Qt extends Kt.a{constructor(t,e,n,l,i,r,o,a){super(t,e,n,l,i,r,o,a),this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.timeService=l,this.iconsService=i,this.settingService=r,this.modeService=o,this.replayTripService=a}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",this.getLayer()),this.extent=this.mapService.getView().calculateExtent(this.mapService.getMap().getSize()),this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.subscription.colorListChange=this.settingService.getColorAircraftListsChangeEmitter().subscribe(()=>{this.source.getFeatures().forEach(t=>{t.setColor(),t.setOlStyleAircraft()})}),this.subscription.daemonChangeEvent=this.timeService.getDaemonChangeEmitter().subscribe(t=>{t!==d.a.REALTIME&&t!==d.a.REPLAY||(this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),this.getTraffic())}),this.subscription.viewChangeEvent=this.mapService.getViewChangeEmitter().subscribe(t=>{this.extent=t.calculateExtent(this.mapService.getMap().getSize()),this.getTraffic()}),setInterval(()=>{this.getTraffic()},2e3)}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}}var Zt=l.Bb({encapsulation:2,styles:[],data:{}});function te(t){return l.Yb(2,[],null,null)}var ee=n("zfM5"),ne=n("3mbo"),le=n("qU9k"),ie=n("EDvw"),re=n("I5KE");class oe{constructor(t,e,n,l,i){this.mapService=t,this.measuresService=e,this.selectAircraftService=n,this.landInteractionService=l,this.timeService=i}ngOnInit(){this.mapService.getMap().on("singleclick",t=>{this.onClick(t)}),this.mapService.getMap().on("dblclick",t=>{this.onDblclick(t)}),this.mapService.getMap().getInteractions().forEach(t=>{t instanceof ee.a&&this.mapService.getMap().removeInteraction(t)}),this.measuresService.initLayer()}isTrafficLayer(t){return!!t&&!!t.get("name")&&"aircraft"===t.get("name").split(":")[0]}onClick(t){const e=[];let n;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof ie.a)n=t.getAircraft();else if(!0===l.get("clickable")||!0===t.get("clickable")){const n=new re.a(l,t);e.push(n)}},{hitTolerance:1}),e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,le.b.SELECT):this.landInteractionService.unsetLandEntities(),n){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleWatchAircraft(n,t)}}onDblclick(t){let e;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,n)=>{this.isTrafficLayer(n)&&t instanceof ie.a&&(e=t.getAircraft())},{hitTolerance:1}),e){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleSelectAircraft(e,t)}}landEntitiesAreNoSelected(){return this.landInteractionService.status!==le.b.SELECT}}var ae=l.Bb({encapsulation:2,styles:[],data:{}});function se(t){return l.Yb(2,[],null,null)}var ue=n("ALyU"),ce=n("fURe"),de=n("acye"),he=n("XrFG"),pe=n("aWqo");class fe extends pe.a{constructor(t,e,n){super(t,e,n),this.ref=t,this.mapService=e,this.selectAircraftService=n}ngOnInit(){this.mapService.addLayerToGroup(super.groupLayer||"Traffic",super.getVectorLayer()),this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)})}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}}var be=l.Bb({encapsulation:2,styles:[],data:{}});function me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-trace",[],null,null,null,ue.b,ue.a)),l.Cb(1,245760,[[1,4],["traceAircrafts",4]],0,ce.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-prospective-trace",[],null,null,null,de.b,de.a)),l.Cb(1,245760,[[2,4],["toTraceAircrafts",4]],0,he.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function _e(t){return l.Yb(2,[l.Ub(671088640,1,{traceAircrafts:1}),l.Ub(671088640,2,{toTraceAircrafts:1}),(t()(),l.sb(16777216,null,null,2,null,me)),l.Cb(3,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,a.h,[l.z]),(t()(),l.sb(16777216,null,null,2,null,ge)),l.Cb(6,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,a.h,[l.z])],(function(t,e){var n=e.component;t(e,3,0,l.Xb(e,3,0,l.Pb(e,4).transform(n.selectedAircrafts))),t(e,6,0,l.Xb(e,6,0,l.Pb(e,7).transform(n.selectedAircrafts)))}),null)}var ye=n("BxA5"),Ae=n("2VmZ");class ve extends Ae.a{constructor(t,e,n){super(t,e,n),this.ref=t,this.mapService=e,this.landInteractionService=n}ngOnInit(){this.subscription.landEntityEvent=this.landInteractionService.getLandEntitiesEmitter().subscribe(t=>this.displayPopupLand(t)),this.popup=new ye.a({element:this.landPopup.nativeElement}),this.mapService.getMap().addOverlay(this.popup)}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}}var Ce=l.Bb({encapsulation:0,styles:[['.ol-popup[_ngcontent-%COMP%]{position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));padding:5px;border-radius:2px;bottom:20px;left:-50px;min-width:150px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]:last-child{border:0}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-type[_ngcontent-%COMP%]{margin:5px 0;font-size:10px;color:#000}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-title[_ngcontent-%COMP%]{margin:5px 0;font-size:14px;color:#3880ff}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%]{display:-webkit-box;justify-content:space-between}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-description-link[_ngcontent-%COMP%]{font-size:12px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin:2px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-value[_ngcontent-%COMP%]{width:-webkit-max-content;width:-moz-max-content;width:max-content}.ol-popup[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);font-size:14px}.ol-popup[_ngcontent-%COMP%]:after, .ol-popup[_ngcontent-%COMP%]:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup[_ngcontent-%COMP%]:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}.ol-popup[_ngcontent-%COMP%]:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}']],data:{}});function we(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.landInteractionService.unsetLandEntities()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_max/100:e.parent.context.$implicit.properties.altitude_max,e.parent.context.$implicit.properties.unit)}))}function xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"a",[["class","land-description-link"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Wb(-1,null,["lien"]))],null,(function(t,e){t(e,1,0,l.Hb(1,"",e.parent.context.$implicit.value,""))}))}function Se(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","land-value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.value)}))}function ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","land-description-item"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["",":"])),(t()(),l.sb(16777216,null,null,1,null,xe)),l.Cb(4,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["textBlock",2]],null,0,null,Se))],(function(t,e){t(e,4,0,e.component.validURL(e.context.$implicit.value),l.Pb(e,5))}),(function(t,e){t(e,2,0,e.context.$implicit.key)}))}function Me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","land-description"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,ke)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,a.h,[l.z])],(function(t,e){t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(e.parent.context.$implicit.data)))}),null)}function Oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,"div",[["class","land-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h5",[["class","land-type"]],null,null,null,null,null)),(t()(),l.Wb(2,null,[" "," "])),(t()(),l.Db(3,0,null,null,1,"h4",[["class","land-title"]],null,null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.sb(16777216,null,null,1,null,Pe)),l.Cb(6,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Me)),l.Cb(8,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,l=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_max;t(e,6,0,l),t(e,8,0,n.displayDescription)}),(function(t,e){t(e,2,0,e.context.$implicit.type),t(e,4,0,e.context.$implicit.name)}))}function De(t){return l.Yb(2,[l.Ub(402653184,1,{landPopup:0}),(t()(),l.Db(1,0,[[1,0],["landPopup",1]],null,4,"div",[["class","ol-popup"],["id","land-popup"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,we)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Oe)),l.Cb(5,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.displayDescription),t(e,5,0,n.displayLandEntities)}),null)}var Te=n("E/wX"),Ee=n("F2y6"),Ie=n("xfxu"),Le=n("G+Jc"),je=n("rLOe"),Re=n("c9fC"),Fe=n("AyJq"),Ne=n("8bJo"),Ye=n("Mz6y"),Ue=n("QQfA"),Be=n("hOhj"),ze=n("rBEc"),Ge=n("JRYL"),He=n("oeKZ"),Ve=n("uUEO");class qe extends Ve.a{constructor(t,e,n,l,i,r){super(t,e,n,l,i,r),this.settingService=t,this.ref=e,this.selectAircraftService=n,this.domSanitizer=l,this.keycloakService=i,this.modeService=r}ngOnInit(){this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles,this.selectedAircraft=this.aircraftContext.aircraft,this.options.isFollow=this.aircraftContext.haveStatus(m.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(m.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(m.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(m.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(m.a.FOCUS),this.ref.detectChanges()}ngOnDestroy(){this.selectedAircraft=void 0,this.aircraftContext=void 0}ngDoCheck(){this.options.isFollow=this.aircraftContext.haveStatus(m.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(m.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(m.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(m.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(m.a.FOCUS),this.ref.detectChanges()}}var We=l.Bb({encapsulation:0,styles:[[".flex-50[_ngcontent-%COMP%]{display:flex}.flex-50[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%}.flex-33[_ngcontent-%COMP%]{display:flex}.flex-33[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:33%}.yellow[_ngcontent-%COMP%]{color:#f8c023}.warning[_ngcontent-%COMP%]{color:#b22222!important}.tooltip-flex-50[_ngcontent-%COMP%]{width:130px;display:flex}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px;flex-basis:50%}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#fff;font-size:10px;text-transform:uppercase}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.header[_ngcontent-%COMP%]{position:relative;width:100%;background-color:var(--ion-color-primary);color:#fff;position:-webkit-sticky;position:sticky;top:0}.header[_ngcontent-%COMP%] .edit-route-button[_ngcontent-%COMP%]{position:absolute;right:2px;color:var(--ion-color-primary);background-color:transparent;top:40px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{position:relative;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-align:center;overflow:hidden;max-width:120px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;width:40px;height:40px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:0;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block}.header[_ngcontent-%COMP%] .separate-white[_ngcontent-%COMP%]{background-color:#fff;width:80%}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;display:flex;align-items:center;width:120px;max-width:120px}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .date-title[_ngcontent-%COMP%]{text-transform:uppercase;font-size:11px;color:rgba(255,255,255,.5)}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:16px;height:16px;margin:5px}.body[_ngcontent-%COMP%] .margin-bottom[_ngcontent-%COMP%]{margin-bottom:10px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%]{font-weight:900;font-family:Quicksand;font-size:14px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);display:flex;align-items:center}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{color:#fff;width:30px;height:30px;margin-right:10px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#666;font-size:10px;text-transform:uppercase}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#3880ff}.body[_ngcontent-%COMP%] .mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}.body[_ngcontent-%COMP%] .mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important}.body[_ngcontent-%COMP%] .mat-expansion-indicator::after{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] div.mat-expansion-panel-body{padding:5px;background-color:#f0f0f0}.aircraft-options[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:0;left:0;width:100%}.aircraft-options[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0!important}.aircraft-options[_ngcontent-%COMP%] .tab-selected[_ngcontent-%COMP%]{border-top:5px solid var(--ion-color-primary)}"]],data:{}});function $e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"trajectory",[],null,null,null,Te.b,Te.a)),l.Cb(1,4440064,null,0,Ee.a,[l.j,_t.a,m.b],null,null)],(function(t,e){t(e,1,0)}),null)}function Xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"interception",[["groupLayer","Interception"],["name","interception"],["zIndex","200"]],null,null,null,Ie.b,Ie.a)),l.Cb(1,4702208,null,0,Le.a,[l.j,_t.a,je.a,m.b],{name:[0,"name"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"],aircraft:[3,"aircraft"]},null)],(function(t,e){t(e,1,0,"interception","200","Interception",e.component.selectedAircraft)}),null)}function Ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,i.y,i.g)),l.Cb(3,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,16),"template"),t(e,3,0,"more")}),null)}function Je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.stopsIcao)}))}function Qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,17,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","route flex-50"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.Db(5,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),(t()(),l.Db(7,0,null,null,4,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(9,null,[" "," "])),(t()(),l.Db(10,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(11,null,[" "," "])),(t()(),l.Db(12,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ke)),l.Cb(15,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,Je)),(t()(),l.Db(17,0,null,null,0,"hr",[["class","separate-white"]],null,null,null,null,null))],(function(t,e){t(e,15,0,e.component.selectedAircraft.stopsIcao)}),(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"",n.selectedAircraft.fromAirport.name,"")),t(e,4,0,n.selectedAircraft.fromAirport.icao),t(e,5,0,l.Hb(1,"",n.selectedAircraft.fromAirport.location,"")),t(e,6,0,n.selectedAircraft.fromAirport.location),t(e,8,0,l.Hb(1,"",n.selectedAircraft.toAirport.name,"")),t(e,9,0,n.selectedAircraft.toAirport.icao),t(e,10,0,l.Hb(1,"",n.selectedAircraft.toAirport.location,"")),t(e,11,0,n.selectedAircraft.toAirport.location),t(e,13,0,l.Hb(1,"../../../../assets/images/",n.selectedAircraft.getIconStatus(),""))}))}function Ze(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.model)}))}function en(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registered_owners)}))}function ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.homeAerodromeDGAC)}))}function on(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function an(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.addressOwnerDGAC)}))}function sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,21,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OWNER"])),(t()(),l.sb(16777216,null,null,1,null,en)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,nn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["HOME"])),(t()(),l.sb(16777216,null,null,1,null,ln)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rn)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ADRESS"])),(t()(),l.sb(16777216,null,null,1,null,on)),l.Cb(19,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,an)),l.Cb(21,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.registered_owners),t(e,7,0,null!=n.selectedAircraft.registered_owners),t(e,12,0,null==n.selectedAircraft.homeAerodromeDGAC),t(e,14,0,null!=n.selectedAircraft.homeAerodromeDGAC),t(e,19,0,null==n.selectedAircraft.addressOwnerDGAC),t(e,21,0,null!=n.selectedAircraft.addressOwnerDGAC)}),null)}function un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registration)}))}function dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorName)}))}function pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorIcao)}))}function bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.country)}))}function gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function _n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.squawk)}))}function yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function An(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," hPa"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.inhg)}))}function vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.vsi)}))}function wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ctlAgency)}))}function xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function Sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacV)}))}function Mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function On(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacP)}))}function Dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.selectedAircraft.sil,n.selectedAircraft.silType)}))}function En(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function In(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rc)}))}function Ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nicBaro)}))}function Rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACV"])),(t()(),l.sb(16777216,null,null,1,null,Sn)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACP"])),(t()(),l.sb(16777216,null,null,1,null,Mn)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,On)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,7,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SIL"])),(t()(),l.sb(16777216,null,null,1,null,Dn)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Tn)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PC"])),(t()(),l.sb(16777216,null,null,1,null,En)),l.Cb(28,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,In)),l.Cb(30,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NIC BARO"])),(t()(),l.sb(16777216,null,null,1,null,Ln)),l.Cb(35,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,jn)),l.Cb(37,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.nacV),t(e,7,0,null!=n.selectedAircraft.nacV),t(e,12,0,null==n.selectedAircraft.nacP),t(e,14,0,null!=n.selectedAircraft.nacP),t(e,20,0,null===n.selectedAircraft.sil||null===n.selectedAircraft.silType),t(e,22,0,null!==n.selectedAircraft.sil&&null!==n.selectedAircraft.silType),t(e,28,0,null==n.selectedAircraft.rc),t(e,30,0,null!=n.selectedAircraft.rc),t(e,35,0,null==n.selectedAircraft.nicBaro),t(e,37,0,null!=n.selectedAircraft.nicBaro)}),null)}function Fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function Nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function Un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trueHeading)}))}function Hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0/s"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trackRate)}))}function qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.roll)}))}function $n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GR TRACK"])),(t()(),l.sb(16777216,null,null,1,null,Un)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Bn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["T HEADING"])),(t()(),l.sb(16777216,null,null,1,null,zn)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gn)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK RATE"])),(t()(),l.sb(16777216,null,null,1,null,Hn)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Vn)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ROLL"])),(t()(),l.sb(16777216,null,null,1,null,qn)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Wn)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.track),t(e,7,0,null!=n.selectedAircraft.track),t(e,12,0,null==n.selectedAircraft.trueHeading),t(e,14,0,null!=n.selectedAircraft.trueHeading),t(e,20,0,null==n.selectedAircraft.trackRate),t(e,22,0,null!=n.selectedAircraft.trackRate),t(e,27,0,null==n.selectedAircraft.roll),t(e,29,0,null!=n.selectedAircraft.roll)}),null)}function Xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function Jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function Zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tas)}))}function el(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ias)}))}function ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GROUND"])),(t()(),l.sb(16777216,null,null,1,null,Jn)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Qn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRUE"])),(t()(),l.sb(16777216,null,null,1,null,Zn)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,tl)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,16,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["INDICATED"])),(t()(),l.sb(16777216,null,null,1,null,el)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,nl)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,ll)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,il)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rl)),l.Cb(31,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.speed),t(e,7,0,null!=n.selectedAircraft.speed),t(e,12,0,null==n.selectedAircraft.tas),t(e,14,0,null!=n.selectedAircraft.tas),t(e,20,0,null==n.selectedAircraft.ias),t(e,22,0,null!=n.selectedAircraft.ias),t(e,27,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,29,0,null!==n.selectedAircraft.mach),t(e,31,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed())}),null)}function al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function hl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,2),n.selectedAircraft.altitudeGps));t(e,1,0,i)}))}function ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.gva)}))}function _l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.baroRate)}))}function Al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function vl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.geomRate)}))}function Cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ws)}))}function Pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.wd)}))}function Sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tat)}))}function Ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.oat)}))}function Dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SPEED"])),(t()(),l.sb(16777216,null,null,1,null,Cl)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,wl)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["DIR"])),(t()(),l.sb(16777216,null,null,1,null,Pl)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,xl)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TAT"])),(t()(),l.sb(16777216,null,null,1,null,Sl)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kl)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OAT"])),(t()(),l.sb(16777216,null,null,1,null,Ml)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ol)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.ws),t(e,7,0,null!=n.selectedAircraft.ws),t(e,12,0,null==n.selectedAircraft.wd),t(e,14,0,null!=n.selectedAircraft.wd),t(e,20,0,null==n.selectedAircraft.tat),t(e,22,0,null!=n.selectedAircraft.tat),t(e,27,0,null==n.selectedAircraft.oat),t(e,29,0,null!=n.selectedAircraft.oat)}),null)}function Tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function El(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeFms)}))}function Il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeMcp)}))}function jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navHeading)}))}function Fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navModes)}))}function Yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rssi)}))}function Bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.messages)}))}function Gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["RSSI"])),(t()(),l.sb(16777216,null,null,1,null,Yl)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ul)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MESSAGES"])),(t()(),l.sb(16777216,null,null,1,null,Bl)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zl)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.rssi),t(e,7,0,null!=n.selectedAircraft.rssi),t(e,12,0,null==n.selectedAircraft.messages),t(e,14,0,null!=n.selectedAircraft.messages)}),null)}function Hl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Vl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.category)}))}function ql(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,317,"div",[["id","aircraft-card"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,23,"div",[["class","header"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0,i=t.component;return"toClose"===e&&(l=!1!==i.selectAircraftService.unSelectAircrafts(i.selectedAircraft)&&l),l}),s.b,s.a)),l.Cb(3,245760,null,0,u.a,[c.a,d.b,h.b,p.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Qe)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(6,0,null,null,18,"div",[["class","date"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,8,"div",[["class","from-date"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,0,"img",[["src","../../../../assets/images/departing-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["pickup time"])),(t()(),l.Db(12,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(13,null,["",""])),l.Sb(14,2),l.Sb(15,1),(t()(),l.Db(16,0,null,null,8,"div",[["class","to-date"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,0,"img",[["src","../../../../assets/images/arriving-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["landing time"])),(t()(),l.Db(21,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(22,null,["\u2248 ",""])),l.Sb(23,2),l.Sb(24,1),(t()(),l.Db(25,0,null,null,292,"div",[["class","body"]],null,null,null,null,null)),(t()(),l.Db(26,0,null,null,291,"mat-accordion",[["class","mat-accordion"],["multi","true"]],null,null,null,null,null)),l.Cb(27,1720320,null,1,Re.c,[],{multi:[0,"multi"]},null),l.Ub(603979776,1,{_headers:1}),l.Tb(2048,null,Re.a,null,[Re.c]),(t()(),l.Db(30,16777216,null,null,60,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Fe.d,Fe.a)),l.Cb(31,1753088,null,1,Re.e,[[3,Re.a],l.j,Ne.d,l.Y,a.d,[2,at.a],[2,Re.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,2,{_lazyContent:0}),l.Tb(256,null,Re.a,void 0,[]),(t()(),l.Db(34,0,null,0,7,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,35)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,35)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,35)._animationStarted()&&i),i}),Fe.c,Fe.b)),l.Cb(35,180224,[[1,4]],0,Re.f,[Re.e,l.p,pt.h,l.j,[2,Re.b]],null,null),l.Rb(36,{collapsedHeight:0,expandedHeight:1}),l.Rb(37,{value:0,params:1}),(t()(),l.Db(38,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(39,16384,null,0,Re.g,[],null,null),(t()(),l.Db(40,0,null,null,0,"img",[["src","../../../../assets/images/info-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Wb(41,null,[" MORE "," INFORMATIONS "])),(t()(),l.Db(42,0,null,1,48,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(43,0,null,null,25,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(44,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(45,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.sb(16777216,null,null,1,null,Ze)),l.Cb(48,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,tn)),l.Cb(50,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(51,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(52,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG "])),(t()(),l.Db(54,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,55).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,55).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,55).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,55).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,55).onClick()&&i),i}),null,null)),l.Cb(55,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(56,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(57,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["regTooltip",2]],null,0,null,sn)),(t()(),l.sb(16777216,null,null,1,null,un)),l.Cb(60,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,cn)),l.Cb(62,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(63,0,null,null,5,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(64,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ICAO"])),(t()(),l.Db(66,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(67,null,["",""])),l.Sb(68,1),(t()(),l.Db(69,0,null,null,21,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(70,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(71,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE"])),(t()(),l.sb(16777216,null,null,1,null,dn)),l.Cb(74,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,hn)),l.Cb(76,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(77,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE ICAO"])),(t()(),l.sb(16777216,null,null,1,null,pn)),l.Cb(81,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,fn)),l.Cb(83,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(84,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(85,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["COUNTRY"])),(t()(),l.sb(16777216,null,null,1,null,bn)),l.Cb(88,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,mn)),l.Cb(90,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(91,16777216,null,null,224,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Fe.d,Fe.a)),l.Cb(92,1753088,null,1,Re.e,[[3,Re.a],l.j,Ne.d,l.Y,a.d,[2,at.a],[2,Re.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,3,{_lazyContent:0}),l.Tb(256,null,Re.a,void 0,[]),(t()(),l.Db(95,0,null,0,9,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,96)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,96)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,96)._animationStarted()&&i),i}),Fe.c,Fe.b)),l.Cb(96,180224,[[1,4]],0,Re.f,[Re.e,l.p,pt.h,l.j,[2,Re.b]],null,null),l.Rb(97,{collapsedHeight:0,expandedHeight:1}),l.Rb(98,{value:0,params:1}),(t()(),l.Db(99,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(100,16384,null,0,Re.g,[],null,null),(t()(),l.Db(101,0,null,null,0,"img",[["src","../../../../assets/images/radar-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(102,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(103,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REAL TIME INFORMATIONS"])),(t()(),l.Db(105,0,null,1,210,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(106,0,null,null,23,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(107,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(108,16777216,null,null,2,"p",[["matTooltip","Squawk"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,109).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,109)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,109)._handleTouchend()&&i),i}),null,null)),l.Cb(109,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["IFF"])),(t()(),l.sb(16777216,null,null,1,null,gn)),l.Cb(112,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,_n)),l.Cb(114,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(115,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(116,16777216,null,null,2,"p",[["matTooltip","Altimeter setting"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,117).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,117)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,117)._handleTouchend()&&i),i}),null,null)),l.Cb(117,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT SET"])),(t()(),l.sb(16777216,null,null,1,null,yn)),l.Cb(120,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,An)),l.Cb(122,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(123,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(124,0,null,null,1,"p",[["atTooltip","Vsi"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VERT RATE"])),(t()(),l.sb(16777216,null,null,1,null,vn)),l.Cb(127,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cn)),l.Cb(129,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(130,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(131,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(132,16777216,null,null,2,"p",[["matTooltip","Squawk legend"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,133).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,133)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,133)._handleTouchend()&&i),i}),null,null)),l.Cb(133,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CTL AGENCY"])),(t()(),l.sb(16777216,null,null,1,null,wn)),l.Cb(136,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pn)),l.Cb(138,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(139,0,null,null,29,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(140,0,null,null,12,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(141,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,xn)),l.Cb(144,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(145,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,146).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,146).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,146).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,146).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,146).onClick()&&i),i}),null,null)),l.Cb(146,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(147,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(148,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["accuracyTooltip",2]],null,0,null,Rn)),(t()(),l.Db(150,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(151,null,["",""])),l.Sb(152,1),(t()(),l.Db(153,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(154,16777216,null,null,4,"p",[["matTooltip","Position in degre/minute/second"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,155).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,155)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,155)._handleTouchend()&&i),i}),null,null)),l.Cb(155,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,Fn)),l.Cb(158,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(159,0,null,null,2,"p",[["style","min-width: 95px;"]],null,null,null,null,null)),(t()(),l.Wb(160,null,["",""])),l.Sb(161,1),(t()(),l.Db(162,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(163,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,Nn)),l.Cb(166,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Yn)),l.Cb(168,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(169,0,null,null,33,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(170,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(171,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK "])),(t()(),l.Db(173,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,174).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,174).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,174).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,174).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,174).onClick()&&i),i}),null,null)),l.Cb(174,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(175,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(176,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["trackTooltip",2]],null,0,null,$n)),(t()(),l.sb(16777216,null,null,1,null,Xn)),l.Cb(179,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Kn)),l.Cb(181,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(182,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(183,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS "])),(t()(),l.Db(185,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,186).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,186).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,186).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,186).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,186).onClick()&&i),i}),null,null)),l.Cb(186,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(187,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(188,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["gsTooltip",2]],null,0,null,ol)),(t()(),l.sb(16777216,null,null,1,null,al)),l.Cb(191,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,sl)),l.Cb(193,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(194,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(195,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,ul)),l.Cb(198,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,cl)),l.Cb(200,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,dl)),l.Cb(202,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(203,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(204,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(205,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(206,16777216,null,null,2,"p",[["matTooltip","Barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,207).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,207)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,207)._handleTouchend()&&i),i}),null,null)),l.Cb(207,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,hl)),l.Cb(210,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pl)),l.Cb(212,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(213,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(214,16777216,null,null,2,"p",[["matTooltip","Gps altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,215).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,215)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,215)._handleTouchend()&&i),i}),null,null)),l.Cb(215,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GPS ALT"])),(t()(),l.sb(16777216,null,null,1,null,fl)),l.Cb(218,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bl)),l.Cb(220,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(221,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(222,16777216,null,null,2,"p",[["matTooltip","Geometric Vertical Accuracy"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,223).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,223)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,223)._handleTouchend()&&i),i}),null,null)),l.Cb(223,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOMETRIC"])),(t()(),l.sb(16777216,null,null,1,null,ml)),l.Cb(226,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gl)),l.Cb(228,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(229,0,null,null,25,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(230,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(231,16777216,null,null,2,"p",[["matTooltip","Rate of change of barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,232).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,232)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,232)._handleTouchend()&&i),i}),null,null)),l.Cb(232,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["BARO RATE"])),(t()(),l.sb(16777216,null,null,1,null,_l)),l.Cb(235,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yl)),l.Cb(237,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(238,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(239,16777216,null,null,2,"p",[["matTooltip","Rate of change of geometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,240).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,240)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,240)._handleTouchend()&&i),i}),null,null)),l.Cb(240,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOM RATE"])),(t()(),l.sb(16777216,null,null,1,null,Al)),l.Cb(243,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,vl)),l.Cb(245,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(246,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(247,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["WIND "])),(t()(),l.Db(249,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,250).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,250).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,250).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,250).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,250).onClick()&&i),i}),null,null)),l.Cb(250,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(251,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(252,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["windTooltip",2]],null,0,null,Dl)),(t()(),l.Db(254,0,null,null,0,"p",[],null,null,null,null,null)),(t()(),l.Db(255,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(256,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(257,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(258,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Flight Manaagement System"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,259).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,259)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,259)._handleTouchend()&&i),i}),null,null)),l.Cb(259,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT FMS"])),(t()(),l.sb(16777216,null,null,1,null,Tl)),l.Cb(262,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,El)),l.Cb(264,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(265,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(266,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Mode Control Panel"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,267).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,267)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,267)._handleTouchend()&&i),i}),null,null)),l.Cb(267,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT MCP"])),(t()(),l.sb(16777216,null,null,1,null,Il)),l.Cb(270,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ll)),l.Cb(272,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(273,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(274,16777216,null,null,2,"p",[["matTooltip","Selected heading"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,275).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,275)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,275)._handleTouchend()&&i),i}),null,null)),l.Cb(275,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL HEAD"])),(t()(),l.sb(16777216,null,null,1,null,jl)),l.Cb(278,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Rl)),l.Cb(280,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(281,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(282,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(283,16777216,null,null,2,"p",[["matTooltip","Set of engaged automation modes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,284).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,284)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,284)._handleTouchend()&&i),i}),null,null)),l.Cb(284,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["NAV MODES"])),(t()(),l.sb(16777216,null,null,1,null,Fl)),l.Cb(287,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nl)),l.Cb(289,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(290,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(291,0,null,null,10,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(292,0,null,null,9,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(293,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SOURCE "])),(t()(),l.Db(295,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,296).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,296).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,296).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,296).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,296).onClick()&&i),i}),null,null)),l.Cb(296,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(297,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(298,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["sourceTooltip",2]],null,0,null,Gl)),(t()(),l.Db(300,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(301,null,["",""])),(t()(),l.Db(302,0,null,null,13,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(303,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(304,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.Db(306,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(307,null,["",""])),(t()(),l.Db(308,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(309,16777216,null,null,2,"p",[["matTooltip","Emitter category to identify particular aircraft or vehicle classes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,310).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,310)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,310)._handleTouchend()&&i),i}),null,null)),l.Cb(310,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CAT"])),(t()(),l.sb(16777216,null,null,1,null,Hl)),l.Cb(313,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Vl)),l.Cb(315,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(316,0,null,null,1,"graph-altitude",[],null,null,null,ze.b,ze.a)),l.Cb(317,376832,null,0,Ge.a,[l.j,d.b],{aircraft:[0,"aircraft"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.selectedAircraft),t(e,5,0,!n.editRoute&&n.selectedAircraft.fromAirport&&n.selectedAircraft.toAirport),t(e,27,0,"true"),t(e,31,0,!0),t(e,48,0,null==n.selectedAircraft.model),t(e,50,0,null!=n.selectedAircraft.model),t(e,55,0,l.Pb(e,58),"template"),t(e,57,0,"information-circle"),t(e,60,0,null==n.selectedAircraft.registration),t(e,62,0,null!=n.selectedAircraft.registration),t(e,74,0,null==n.selectedAircraft.operatorName),t(e,76,0,null!=n.selectedAircraft.operatorName),t(e,81,0,null==n.selectedAircraft.operatorIcao),t(e,83,0,null!=n.selectedAircraft.operatorIcao),t(e,88,0,null==n.selectedAircraft.country),t(e,90,0,null!=n.selectedAircraft.country),t(e,92,0,!0),t(e,109,0,"Squawk"),t(e,112,0,null==n.selectedAircraft.squawk),t(e,114,0,null!=n.selectedAircraft.squawk),t(e,117,0,"Altimeter setting"),t(e,120,0,null==n.selectedAircraft.inhg),t(e,122,0,null!=n.selectedAircraft.inhg),t(e,127,0,null==n.selectedAircraft.vsi),t(e,129,0,null!=n.selectedAircraft.vsi),t(e,133,0,"Squawk legend"),t(e,136,0,null==n.selectedAircraft.ctlAgency),t(e,138,0,null!=n.selectedAircraft.ctlAgency),t(e,144,0,n.selectedAircraft.mlat),t(e,146,0,l.Pb(e,149),"template"),t(e,148,0,"information-circle"),t(e,155,0,"Position in degre/minute/second"),t(e,158,0,n.selectedAircraft.mlat),t(e,166,0,null==n.selectedAircraft.altitude),t(e,168,0,null!=n.selectedAircraft.altitude),t(e,174,0,l.Pb(e,177),"template"),t(e,176,0,"information-circle"),t(e,179,0,null==n.selectedAircraft.track),t(e,181,0,null!=n.selectedAircraft.track),t(e,186,0,l.Pb(e,189),"template"),t(e,188,0,"information-circle"),t(e,191,0,null==n.selectedAircraft.speed),t(e,193,0,null!=n.selectedAircraft.speed),t(e,198,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,200,0,null!==n.selectedAircraft.mach),t(e,202,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed()),t(e,207,0,"Barometric altitude"),t(e,210,0,null==n.selectedAircraft.altitude),t(e,212,0,null!=n.selectedAircraft.altitude),t(e,215,0,"Gps altitude"),t(e,218,0,null==n.selectedAircraft.altitudeGps),t(e,220,0,null!=n.selectedAircraft.altitudeGps),t(e,223,0,"Geometric Vertical Accuracy"),t(e,226,0,null==n.selectedAircraft.gva),t(e,228,0,null!=n.selectedAircraft.gva),t(e,232,0,"Rate of change of barometric altitude"),t(e,235,0,null==n.selectedAircraft.baroRate),t(e,237,0,null!=n.selectedAircraft.baroRate),t(e,240,0,"Rate of change of geometric altitude"),t(e,243,0,null==n.selectedAircraft.geomRate),t(e,245,0,null!=n.selectedAircraft.geomRate),t(e,250,0,l.Pb(e,253),"template"),t(e,252,0,"information-circle"),t(e,259,0,"Selected altitude from the Flight Manaagement System"),t(e,262,0,null==n.selectedAircraft.navAltitudeFms),t(e,264,0,null!=n.selectedAircraft.navAltitudeFms),t(e,267,0,"Selected altitude from the Mode Control Panel"),t(e,270,0,null==n.selectedAircraft.navAltitudeMcp),t(e,272,0,null!=n.selectedAircraft.navAltitudeMcp),t(e,275,0,"Selected heading"),t(e,278,0,null==n.selectedAircraft.navHeading),t(e,280,0,null!=n.selectedAircraft.navHeading),t(e,284,0,"Set of engaged automation modes"),t(e,287,0,null==n.selectedAircraft.navModes),t(e,289,0,null!=n.selectedAircraft.navModes),t(e,296,0,l.Pb(e,299),"template"),t(e,298,0,"information-circle"),t(e,310,0,"Emitter category to identify particular aircraft or vehicle classes"),t(e,313,0,null===n.selectedAircraft.category),t(e,315,0,null!==n.selectedAircraft.category),t(e,317,0,n.selectedAircraft)}),(function(t,e){var n=e.component,i=l.Xb(e,13,0,t(e,15,0,l.Pb(e.parent,0),l.Xb(e,13,0,t(e,14,0,l.Pb(e.parent,1),n.selectedAircraft.createdAt,"HH:mm"))));t(e,13,0,i);var r=l.Xb(e,22,0,t(e,24,0,l.Pb(e.parent,0),l.Xb(e,22,0,t(e,23,0,l.Pb(e.parent,1),n.selectedAircraft.eta,"HH:mm"))));t(e,22,0,r),t(e,30,0,l.Pb(e,31).expanded,"NoopAnimations"===l.Pb(e,31)._animationMode,l.Pb(e,31)._hasSpacing());var o=l.Pb(e,35).panel._headerId,a=l.Pb(e,35).disabled?-1:0,s=l.Pb(e,35)._getPanelId(),u=l.Pb(e,35)._isExpanded(),c=l.Pb(e,35).panel.disabled,d=l.Pb(e,35)._isExpanded(),h="after"===l.Pb(e,35)._getTogglePosition(),p="before"===l.Pb(e,35)._getTogglePosition(),f=l.Pb(e,35)._animationsDisabled,b=t(e,37,0,l.Pb(e,35)._getExpandedState(),t(e,36,0,l.Pb(e,35).collapsedHeight,l.Pb(e,35).expandedHeight));t(e,34,0,o,a,s,u,c,d,h,p,f,b),t(e,41,0,n.selectedAircraft.icao);var m=l.Xb(e,67,0,t(e,68,0,l.Pb(e.parent,0),n.selectedAircraft.icao));t(e,67,0,m),t(e,91,0,l.Pb(e,92).expanded,"NoopAnimations"===l.Pb(e,92)._animationMode,l.Pb(e,92)._hasSpacing());var g=l.Pb(e,96).panel._headerId,_=l.Pb(e,96).disabled?-1:0,y=l.Pb(e,96)._getPanelId(),A=l.Pb(e,96)._isExpanded(),v=l.Pb(e,96).panel.disabled,C=l.Pb(e,96)._isExpanded(),w="after"===l.Pb(e,96)._getTogglePosition(),P="before"===l.Pb(e,96)._getTogglePosition(),x=l.Pb(e,96)._animationsDisabled,S=t(e,98,0,l.Pb(e,96)._getExpandedState(),t(e,97,0,l.Pb(e,96).collapsedHeight,l.Pb(e,96).expandedHeight));t(e,95,0,g,_,y,A,v,C,w,P,x,S);var k=l.Xb(e,151,0,t(e,152,0,l.Pb(e.parent,0),n.selectedAircraft.getPositionDegre()));t(e,151,0,k);var M=l.Xb(e,160,0,t(e,161,0,l.Pb(e.parent,0),n.selectedAircraft.getPosition()));t(e,160,0,M),t(e,301,0,n.settingService.getFeedNames(n.selectedAircraft.providers)),t(e,307,0,n.settingService.getFeedTypes(n.selectedAircraft.providers))}))}function Wl(t){return l.Yb(2,[l.Qb(0,f.a,[]),l.Qb(0,a.e,[l.A]),l.Qb(0,b.a,[]),(t()(),l.Db(3,0,null,null,36,"div",[["class","aircraft-options"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,35,"ion-tab-bar",[["slot","bottom"]],null,null,null,i.F,i.n)),l.Cb(5,49152,null,0,r.sb,[l.j,l.p,l.G],null,null),(t()(),l.Db(6,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFollow()&&l),l}),i.G,i.o)),l.Cb(7,49152,null,0,r.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(8,0,null,0,1,"ion-icon",[["name","locate"]],null,null,null,i.y,i.g)),l.Cb(9,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(10,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(11,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Follow"])),(t()(),l.Db(13,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectoryLine()&&l),l}),i.G,i.o)),l.Cb(14,49152,null,0,r.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(15,0,null,0,1,"ion-icon",[["name","compass"]],null,null,null,i.y,i.g)),l.Cb(16,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(17,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(18,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Ray"])),(t()(),l.Db(20,0,null,0,5,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),i.G,i.o)),l.Cb(21,49152,null,0,r.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(22,0,null,0,0,"i",[["class","flaticon-chemical-composition"]],null,null,null,null,null)),(t()(),l.Db(23,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(24,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Areas"])),(t()(),l.Db(26,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleInterception()&&l),l}),i.G,i.o)),l.Cb(27,49152,null,0,r.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(28,0,null,0,1,"ion-icon",[["name","jet"]],null,null,null,i.y,i.g)),l.Cb(29,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(30,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(31,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Inter"])),(t()(),l.Db(33,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFocus()&&l),l}),i.G,i.o)),l.Cb(34,49152,null,0,r.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(35,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,i.y,i.g)),l.Cb(36,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(37,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(38,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Focus"])),(t()(),l.sb(16777216,null,null,1,null,$e)),l.Cb(41,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xe)),l.Cb(43,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ql)),l.Cb(45,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,7,0,l.Hb(1,"",n.options.isFollow,"")),t(e,9,0,"locate"),t(e,14,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isTrajectoryLine,"")),t(e,16,0,"compass"),t(e,21,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed||n.selectedAircraft.altitude<=0,l.Hb(1,"",n.options.isTrajectory,"")),t(e,27,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isInterception,"")),t(e,29,0,"jet"),t(e,34,0,l.Hb(1,"",n.options.isFocus,"")),t(e,36,0,"eye"),t(e,41,0,n.options.isTrajectoryLine||n.options.isTrajectory),t(e,43,0,n.options.isInterception),t(e,45,0,!n.options.isInterception&&!n.options.isTrajectory)}),null)}var $l=n("1HJ2");class Xl extends $l.a{constructor(t,e){super(t,e),this.ref=t,this.selectAircraftService=e}}var Kl=l.Bb({encapsulation:0,styles:[["sepia-aircraft-card-mobile[_ngcontent-%COMP%]{position:absolute;resize:vertical;width:100%;z-index:300;top:calc(100% - 127px);background-color:#fff}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function Jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-card-mobile",[],[[24,"@slideInOut",0]],null,null,Wl,We)),l.Cb(1,507904,null,0,qe,[c.a,l.j,m.b,h.b,He.a,p.b],{aircraftContext:[0,"aircraftContext"]},null)],(function(t,e){t(e,1,0,e.component.aircraftContext)}),(function(t,e){t(e,0,0,void 0)}))}function Ql(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,Jl)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.aircraftContext)}),null)}var Zl=n("r6U7");n.d(e,"a",(function(){return li}));var ti=l.Bb({encapsulation:2,styles:[[".loader{display:flex;justify-content:center;align-items:center;background:#fff;padding-top:20px;padding-bottom:20px}sepia-map{position:absolute;display:inline-flex;width:100%;height:100%}#logo{padding:5px}"]],data:{}});function ei(t){return l.Yb(0,[l.Ub(402653184,1,{child:0}),(t()(),l.Db(1,0,null,null,64,"ion-app",[],null,null,null,i.s,i.a)),l.Cb(2,49152,null,0,r.d,[l.j,l.p,l.G],null,null),(t()(),l.Db(3,0,null,0,12,"ion-menu",[["content-id","main-content"],["menuId","aircraft-selected-menu"],["side","start"],["swipe-gesture","false"]],null,null,null,i.D,i.k)),l.Cb(4,49152,null,0,r.O,[l.j,l.p,l.G],{menuId:[0,"menuId"],side:[1,"side"]},null),(t()(),l.Db(5,0,null,0,6,"ion-header",[],null,null,null,i.x,i.f)),l.Cb(6,49152,null,0,r.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(7,0,null,0,4,"ion-toolbar",[["translucent",""]],null,null,null,i.J,i.r)),l.Cb(8,49152,null,0,r.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(9,0,null,0,2,"ion-title",[],null,null,null,i.I,i.q)),l.Cb(10,49152,null,0,r.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Aircraft Selected"])),(t()(),l.Db(12,0,null,0,3,"ion-content",[],null,null,null,i.w,i.e)),l.Cb(13,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(14,0,null,0,1,"sepia-left-panel",[],null,null,null,K,A)),l.Cb(15,245760,null,0,y,[l.j,m.b,_.a],null,null),(t()(),l.Db(16,0,null,0,12,"ion-menu",[["content-id","main-content"],["menuId","aircraft-list-menu"],["side","end"],["swipe-gesture","false"]],null,null,null,i.D,i.k)),l.Cb(17,49152,null,0,r.O,[l.j,l.p,l.G],{menuId:[0,"menuId"],side:[1,"side"]},null),(t()(),l.Db(18,0,null,0,6,"ion-header",[],null,null,null,i.x,i.f)),l.Cb(19,49152,null,0,r.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(20,0,null,0,4,"ion-toolbar",[["translucent",""]],null,null,null,i.J,i.r)),l.Cb(21,49152,null,0,r.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(22,0,null,0,2,"ion-title",[],null,null,null,i.I,i.q)),l.Cb(23,49152,null,0,r.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["List of Aircraft"])),(t()(),l.Db(25,0,null,0,3,"ion-content",[],null,null,null,i.w,i.e)),l.Cb(26,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(27,0,null,0,1,"sepia-right-panel",[],null,null,null,Lt,wt)),l.Cb(28,245760,null,0,vt,[Ct.e,l.p,_t.a,m.b,_.a,d.b,yt.a,c.a,r.Fb],null,null),(t()(),l.Db(29,0,null,0,36,"div",[["class","ion-page"],["id","main-content"]],null,null,null,null,null)),(t()(),l.Db(30,0,null,null,19,"ion-header",[],null,null,null,i.x,i.f)),l.Cb(31,49152,null,0,r.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(32,0,null,0,17,"ion-toolbar",[],null,null,null,i.J,i.r)),l.Cb(33,49152,null,0,r.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(34,0,null,0,5,"ion-buttons",[["slot","start"]],null,null,null,i.v,i.d)),l.Cb(35,49152,null,0,r.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(36,0,null,0,3,"ion-menu-button",[["menu","aircraft-selected-menu"]],null,null,null,i.C,i.l)),l.Cb(37,49152,null,0,r.P,[l.j,l.p,l.G],{menu:[0,"menu"]},null),(t()(),l.Db(38,0,null,0,1,"ion-icon",[["name","airplane"]],null,null,null,i.y,i.g)),l.Cb(39,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(40,0,null,0,5,"ion-buttons",[["slot","end"]],null,null,null,i.v,i.d)),l.Cb(41,49152,null,0,r.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(42,0,null,0,3,"ion-menu-button",[["menu","aircraft-list-menu"]],null,null,null,i.C,i.l)),l.Cb(43,49152,null,0,r.P,[l.j,l.p,l.G],{menu:[0,"menu"]},null),(t()(),l.Db(44,0,null,0,1,"ion-icon",[["name","list"]],null,null,null,i.y,i.g)),l.Cb(45,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(46,0,null,0,3,"ion-title",[["text-center",""]],null,null,null,i.I,i.q)),l.Cb(47,49152,null,0,r.yb,[l.j,l.p,l.G],null,null),l.Cb(48,16384,null,0,r.c,[l.p],null,null),(t()(),l.Db(49,0,null,0,0,"img",[["alt","logo"],["height","45"],["id","logo"],["src","../../../../assets/logo.svg"]],null,null,null,null,null)),(t()(),l.Db(50,0,null,null,15,"ion-content",[],null,null,null,i.w,i.e)),l.Cb(51,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(52,0,null,0,11,"sepia-map",[["lat","46.6"],["lon","2.3"],["zoom","6"]],null,null,null,Bt,Ut)),l.Cb(53,114688,[[1,4]],0,Ft.a,[Nt.a,_t.a,l.p,Yt.a,_.a,m.b],{lon:[0,"lon"],lat:[1,"lat"],zoom:[2,"zoom"]},null),(t()(),l.Db(54,0,null,null,1,"sepia-remote-layer",[],null,null,null,$t,Wt)),l.Cb(55,114688,null,0,Ht,[Vt.c,_t.a,zt.a,qt.a],null,null),(t()(),l.Db(56,0,null,null,1,"sepia-traffic-layer",[["groupLayer","Traffic"],["name","aircraft"],["opacity","1"],["visibility","true"],["zIndex","1101"]],null,null,null,te,Zt)),l.Cb(57,245760,null,0,Qt,[_t.a,_.a,m.b,d.b,Xt.a,c.a,p.b,Jt.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(58,0,null,null,1,"sepia-touch",[],null,null,null,se,ae)),l.Cb(59,114688,null,0,oe,[_t.a,ne.a,m.b,le.a,d.b],null,null),(t()(),l.Db(60,0,null,null,1,"sepia-traces",[["groupLayer","Traffic"],["name","Traces"],["opacity","1"],["visibility","true"],["zIndex","1100"]],null,null,null,_e,be)),l.Cb(61,245760,null,0,fe,[l.j,_t.a,m.b],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(62,0,null,null,1,"sepia-land-popup",[],null,null,null,De,Ce)),l.Cb(63,245760,null,0,ve,[l.j,_t.a,le.a],null,null),(t()(),l.Db(64,0,null,0,1,"sepia-bottom-panel",[],null,null,null,Ql,Kl)),l.Cb(65,245760,null,0,Xl,[l.j,m.b],null,null)],(function(t,e){t(e,4,0,"aircraft-selected-menu","start"),t(e,15,0),t(e,17,0,"aircraft-list-menu","end"),t(e,28,0),t(e,37,0,"aircraft-selected-menu"),t(e,39,0,"airplane"),t(e,43,0,"aircraft-list-menu"),t(e,45,0,"list"),t(e,53,0,"2.3","46.6","6"),t(e,55,0),t(e,57,0,"aircraft","1","true","1101","Traffic"),t(e,59,0),t(e,61,0,"Traces","1","true","1100","Traffic"),t(e,63,0),t(e,65,0)}),null)}function ni(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-mobile",[],null,null,null,ei,ti)),l.Cb(1,114688,null,0,Zl.a,[r.Hb,r.Eb,p.b,_t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var li=l.zb("app-mobile",Zl.a,ni,{},{},[])},rLOe:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}stopPointControllerExportCsv$Response(e){const n=new o.a(this.rootUrl,t.StopPointControllerExportCsvPath,"get");return this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}stopPointControllerExportCsv(t){return this.stopPointControllerExportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}stopPointControllerImportCsv$Response(e){const n=new o.a(this.rootUrl,t.StopPointControllerImportCsvPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}stopPointControllerImportCsv(t){return this.stopPointControllerImportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseStopPointControllerStopPointPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseStopPointControllerStopPoint(t){return this.getOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseStopPointControllerStopPointPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseStopPointControllerStopPoint(t){return this.replaceOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseStopPointControllerStopPointPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseStopPointControllerStopPoint(t){return this.deleteOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseStopPointControllerStopPointPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseStopPointControllerStopPoint(t){return this.updateOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseStopPointControllerStopPointPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseStopPointControllerStopPoint(t){return this.getManyBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseStopPointControllerStopPointPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseStopPointControllerStopPoint(t){return this.createOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseStopPointControllerStopPointPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseStopPointControllerStopPoint(t){return this.createManyBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.StopPointControllerExportCsvPath="/stop_point/export",t.StopPointControllerImportCsvPath="/stop_point/import",t.GetOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.ReplaceOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.DeleteOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.UpdateOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.GetManyBaseStopPointControllerStopPointPath="/stop_point",t.CreateOneBaseStopPointControllerStopPointPath="/stop_point",t.CreateManyBaseStopPointControllerStopPointPath="/stop_point/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},rMEb:function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},rO16:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("dJrM"),s=n("HsOI"),u=n("Xd0L"),c=n("IP0z"),d=n("/HVE"),h=n("omvX"),p=n("ZwOa"),f=n("s7LF"),b=n("oapL"),m=n("bujt"),g=n("Fwaw"),_=n("5GAg"),y=n("j+gv"),A=n("SVse"),v=n("7/LY"),C=n("svHU");n.d(e,"a",(function(){return S}));var w=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important}.mat-dialog-content[_ngcontent-%COMP%]{padding:10px!important;margin:0!important;display:flex;justify-content:space-between;align-items:center}.close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;margin-right:10px;font-size:25px;margin-top:5px} .mat-form-field-wrapper{padding:0}"]],data:{}});function P(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,19,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(3,16384,null,0,o.j,[],null,null),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,a.b,a.a)),l.Cb(5,7520256,null,9,s.c,[l.p,l.j,[2,u.j],[2,c.b],[2,s.a],d.a,l.G,[2,h.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(15,0,[["urlinput",1]],1,2,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly","readonly"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),i}),null,null)),l.Cb(16,999424,null,0,p.b,[l.p,d.a,[8,null],[2,f.s],[2,f.k],u.d,[8,null],b.a,l.G],{type:[0,"type"],value:[1,"value"],readonly:[2,"readonly"]},null),l.Tb(2048,[[1,4],[2,4]],s.d,null,[p.b]),(t()(),l.Db(18,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""],["value","click to copy"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.copyInputMessage(l.Pb(t,15))&&i),i}),m.b,m.a)),l.Cb(19,180224,null,0,g.b,[l.p,_.h,[2,h.a]],{color:[0,"color"]},null),(t()(),l.Db(20,0,null,0,1,"ion-icon",[["name","copy"]],null,null,null,i.y,i.g)),l.Cb(21,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,5,0,"outline"),t(e,16,0,"text",l.Hb(1,"",n.url,""),"readonly"),t(e,19,0,"primary"),t(e,21,0,"copy")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString()),t(e,18,0,l.Pb(e,19).disabled||null,"NoopAnimations"===l.Pb(e,19)._animationMode)}))}function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"permalink-dialog",[],null,null,null,P,w)),l.Cb(1,114688,null,0,y.a,[A.d,o.l,o.a,v.b,C.a],null,null)],(function(t,e){t(e,1,0)}),null)}var S=l.zb("permalink-dialog",y.a,x,{},{},[])},rWV4:function(t,e,n){"use strict";n.d(e,"k",(function(){return G})),n.d(e,"b",(function(){return A})),n.d(e,"l",(function(){return y})),n.d(e,"d",(function(){return S})),n.d(e,"e",(function(){return x})),n.d(e,"h",(function(){return U})),n.d(e,"i",(function(){return R})),n.d(e,"c",(function(){return P})),n.d(e,"j",(function(){return z})),n.d(e,"f",(function(){return v})),n.d(e,"a",(function(){return O})),n.d(e,"g",(function(){return I}));var l=n("8Y7J"),i=n("zMNK"),r=n("Xd0L"),o=n("XNiG"),a=n("quSY"),s=n("VRyK"),u=n("xgIS"),c=n("LRne"),d=n("PqYM"),h=(n("GS7A"),n("JX91")),p=n("/uUt"),f=n("1G5W"),b=n("KCVW"),m=n("5GAg"),g=n("dvZr"),_=n("/HVE");const y=new l.w("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});class A{constructor(t,e,n,l){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=l}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}class v{constructor(t){this.template=t}}class C{}const w=Object(r.G)(C);class P extends w{constructor(t){super(),this._viewContainerRef=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new o.a,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new i.h(this._explicitContent||this._implicitContent,this._viewContainerRef)}}class x extends i.c{constructor(t,e,n){super(t,e),this._host=n,this._centeringSub=a.a.EMPTY,this._leavingSub=a.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Object(h.a)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}class S extends class{constructor(t,e,n){this._elementRef=t,this._dir=e,this._dirChangeSubscription=a.a.EMPTY,this._translateTabComplete=new o.a,this._onCentering=new l.r,this._beforeCentering=new l.r,this._afterLeavingCenter=new l.r,this._onCentered=new l.r(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(Object(p.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(){const t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"}}{constructor(t,e,n){super(t,e,n)}}let k=0;class M{}const O=new l.w("MAT_TABS_CONFIG");class D{constructor(t){this._elementRef=t}}const T=Object(r.E)(Object(r.F)(D),"primary");class E extends T{constructor(t,e,n,i){super(t),this._changeDetectorRef=e,this._animationMode=i,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=a.a.EMPTY,this._tabLabelSubscription=a.a.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new l.r,this.focusChange=new l.r,this.animationDone=new l.r,this.selectedTabChange=new l.r(!0),this._groupId=k++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms"}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Object(b.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Object(b.f)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,n)=>e.isActive=n===t),e||this.selectedIndexChange.emit(t)})}this._tabs.forEach((e,n)=>{e.position=n-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e<t.length;e++)if(t[e].isActive){this._indexToSelect=this._selectedIndex=e;break}}this._subscribeToTabLabels(),this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new M;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(s.a)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}}class I extends E{constructor(t,e,n,l){super(t,e,n,l)}}class L{}const j=Object(r.G)(L);class R extends j{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}const F=Object(_.g)({passive:!0});class N{constructor(t,e,n,i,r,a,s){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=r,this._platform=a,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new o.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new o.a,this._selectedIndex=0,this.selectFocusedIndex=new l.r,this.indexFocused=new l.r,r.runOutsideAngular(()=>{Object(u.a)(t.nativeElement,"mouseleave").pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Object(b.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t))}ngAfterViewInit(){Object(u.a)(this._previousPaginator.nativeElement,"touchstart",F).pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Object(u.a)(this._nextPaginator.nativeElement,"touchstart",F).pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Object(c.a)(null),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new m.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),Object(s.a)(t,e,this._items.changes).pipe(Object(f.a)(this._destroyed)).subscribe(()=>{n(),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Object(f.a)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Object(g.t)(t))switch(t.keyCode){case g.i:this._keyManager.setFirstItemActive(),t.preventDefault();break;case g.f:this._keyManager.setLastItemActive(),t.preventDefault();break;case g.g:case g.o:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t);break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){const t=this.scrollDistance,e=this._platform,n="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:i}=e.elementRef.nativeElement;let r,o;"ltr"==this._getLayoutDirection()?(r=l,o=r+i):(o=this._tabList.nativeElement.offsetWidth-l,r=o-i);const a=this.scrollDistance,s=this.scrollDistance+n;r<a?this.scrollDistance-=a-r+60:o>s&&(this.scrollDistance+=o-s+60)}_checkPaginationEnabled(){const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}_checkScrollingControls(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t){this._stopInterval(),Object(d.a)(650,100).pipe(Object(f.a)(Object(s.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()})}_scrollTo(t){const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}class Y extends N{constructor(t,e,n,l,i,r,o){super(t,e,n,l,i,r,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(b.c)(t)}_itemSelected(t){t.preventDefault()}}class U extends Y{constructor(t,e,n,l,i,r,o){super(t,e,n,l,i,r,o)}}class B extends N{constructor(t,e,n,l,i,r,o){super(t,l,i,e,n,r,o),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(b.c)(t)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Object(h.a)(null),Object(f.a)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(t){if(!this._items)return;const e=this._items.toArray();for(let n=0;n<e.length;n++)if(e[n].active)return this.selectedIndex=n,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}}class z extends B{constructor(t,e,n,l,i,r,o){super(t,e,n,l,i,r,o)}}class G{}},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},rlDN:function(t,e,n){"use strict";var l,i=n("GvmM"),r=n("OPOH"),o=n("bHcU"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e){var n=this,l=e||{},i=Object(r.a)({},l);return delete i.style,delete i.renderBuffer,delete i.updateWhileAnimating,delete i.updateWhileInteracting,(n=t.call(this,i)||this).declutter_=void 0!==l.declutter&&l.declutter,n.renderBuffer_=void 0!==l.renderBuffer?l.renderBuffer:100,n.style_=null,n.styleFunction_=void 0,n.setStyle(l.style),n.updateWhileAnimating_=void 0!==l.updateWhileAnimating&&l.updateWhileAnimating,n.updateWhileInteracting_=void 0!==l.updateWhileInteracting&&l.updateWhileInteracting,n}return a(e,t),e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.getFeatures=function(e){return t.prototype.getFeatures.call(this,e)},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get("renderOrder")},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.setRenderOrder=function(t){this.set("renderOrder",t)},e.prototype.setStyle=function(t){this.style_=void 0!==t?t:o.a,this.styleFunction_=null===t?void 0:Object(o.c)(this.style_),this.changed()},e}(i.a);e.a=s},rvMw:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e,n,l,i,r,o,a={};return e=[1.1,2,2.8,3.7,4.6,5.5,6.4,7.3,8.2,9.1,0,.8,1.7,2.6,3.5,4.4,5.3,6.2,7,7.9],n=[0,2,2,2,4,4,6,6,8,8,0,0,0,2,2,4,4,6,6,6],l=1+"ABCDEFGHJKLMNPQRSTUVWXYZ".indexOf(t.sq1)%8,r="CDEFGHJKLMNPQRSTUVWX".indexOf(t.zoneLetter),o=t.zoneNumber%2?"ABCDEFGHJKLMNPQRSTUV".indexOf(t.sq2):"FGHJKLMNPQRSTUVABCDE".indexOf(t.sq2),(i=n[r]+o/10)<e[r]&&(i+=2),a.northing=1e6*i+t.north*Math.pow(10,5-String(t.north).length),a.easting=1e5*l+t.east*Math.pow(10,5-String(t.east).length),a.zoneNumber=t.zoneNumber,a.zoneLetter=t.zoneLetter,a}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},s6ns:function(t,e,n){"use strict";n.d(e,"k",(function(){return D})),n.d(e,"d",(function(){return C})),n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return v})),n.d(e,"e",(function(){return w})),n.d(e,"i",(function(){return m})),n.d(e,"g",(function(){return x})),n.d(e,"m",(function(){return S})),n.d(e,"j",(function(){return k})),n.d(e,"f",(function(){return M})),n.d(e,"h",(function(){return f})),n.d(e,"l",(function(){return _})),n("GS7A");var l=n("8Y7J"),i=n("zMNK"),r=n("dvZr"),o=n("XNiG"),a=n("NXyV"),s=n("LRne"),u=n("pLZG"),c=n("IzEk"),d=n("JX91"),h=n("IP0z"),p=n("QQfA");class f{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}function b(){throw Error("Attempting to attach dialog content after content is already attached")}class m extends i.a{constructor(t,e,n,i,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._document=i,this._config=r,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new l.r,this._ariaLabelledBy=r.ariaLabelledBy||null}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&b(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&b(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}let g=0;class _{constructor(t,e,n,l="mat-dialog-"+g++){this._overlayRef=t,this._containerInstance=e,this.id=l,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new o.a,this._afterClosed=new o.a,this._beforeClosed=new o.a,this._state=0,e._id=l,e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"enter"===t.toState),Object(c.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"exit"===t.toState),Object(c.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===r.h&&!this.disableClose&&!Object(r.t)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(u.a)(t=>"start"===t.phaseName),Object(c.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}afterOpen(){return this.afterOpened()}beforeClose(){return this.beforeClosed()}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const y=new l.w("MatDialogData"),A=new l.w("mat-dialog-default-options"),v=new l.w("mat-dialog-scroll-strategy");function C(t){return()=>t.scrollStrategies.block()}class w{constructor(t,e,n,l,i,r,s){this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=l,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new o.a,this._afterOpenedAtThisLevel=new o.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(a.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(d.a)(void 0))),this._scrollStrategy=i}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get afterOpen(){return this.afterOpened}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign({},e,t)}(e,this._defaultOptions||new f)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),l=this._attachDialogContainer(n,e),i=this._attachDialogContent(t,l,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new p.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new i.f(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[f,e]])),l=new i.d(m,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(l).instance}_attachDialogContent(t,e,n,r){const o=new _(n,e,this._location,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe(()=>{o.disableClose||o.close()}),t instanceof l.U)e.attachTemplatePortal(new i.h(t,null,{$implicit:r.data,dialogRef:o}));else{const n=this._createInjector(r,o,e),l=e.attachComponentPortal(new i.d(t,void 0,n));o.componentInstance=l.instance}return o.updateSize(r.width,r.height).updatePosition(r.position),o}_createInjector(t,e,n){const l=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new WeakMap([[m,n],[y,t.data],[_,e]]);return!t.direction||l&&l.get(h.b,null)||r.set(h.b,{value:t.direction,change:Object(s.a)()}),new i.f(l||this._injector,r)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let l=e[n];l===t||"SCRIPT"===l.nodeName||"STYLE"===l.nodeName||l.hasAttribute("aria-live")||(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}let P=0;class x{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=O(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}class S{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+P++}ngOnInit(){this._dialogRef||(this._dialogRef=O(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}class k{}class M{}function O(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}class D{}},s7LF:function(t,e,n){"use strict";n.d(e,"x",(function(){return gt})),n.d(e,"A",(function(){return st})),n.d(e,"y",(function(){return M})),n.d(e,"z",(function(){return ut})),n.d(e,"c",(function(){return h})),n.d(e,"o",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"p",(function(){return f})),n.d(e,"q",(function(){return m})),n.d(e,"r",(function(){return g})),n.d(e,"s",(function(){return et})),n.d(e,"t",(function(){return at})),n.d(e,"u",(function(){return k})),n.d(e,"h",(function(){return ct})),n.d(e,"i",(function(){return bt})),n.d(e,"k",(function(){return dt})),n.d(e,"e",(function(){return pt})),n.d(e,"l",(function(){return ht})),n.d(e,"b",(function(){return mt})),n.d(e,"f",(function(){return _t})),n.d(e,"g",(function(){return J})),n.d(e,"j",(function(){return Q})),n.d(e,"n",(function(){return y})),n.d(e,"w",(function(){return v})),n.d(e,"m",(function(){return yt})),n.d(e,"v",(function(){return At}));var l=n("8Y7J"),i=n("cUpR"),r=n("cp0P"),o=n("Cfvw"),a=n("lJxs");const s=new l.w("NgValueAccessor"),u=new l.w("CompositionEventMode");class c{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(i.r)()?Object(i.r)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}class d{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class h extends d{get formDirective(){return null}get path(){return null}}function p(){throw new Error("unimplemented")}class f extends d{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return p()}get asyncValidator(){return p()}}class b{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}class m extends b{constructor(t){super(t)}}class g extends b{constructor(t){super(t)}}function _(t){return null==t||0===t.length}const y=new l.w("NgValidators"),A=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class v{static min(t){return e=>{if(_(e.value)||_(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(_(e.value)||_(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return _(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return _(t.value)||A.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(_(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return v.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(_(t.value))return null;const l=t.value;return e.test(l)?null:{pattern:{requiredPattern:n,actualValue:l}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return P(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const n=function(t,e){return e.map(e=>e(t))}(t,e).map(w);return Object(r.a)(n).pipe(Object(a.a)(P))}}}function C(t){return null!=t}function w(t){const e=Object(l.Kb)(t)?Object(o.a)(t):t;if(!Object(l.Jb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function P(t){const e=t.reduce((t,e)=>null!=e?Object.assign({},t,e):t,{});return 0===Object.keys(e).length?null:e}function x(t){return t.validate?e=>t.validate(e):t}function S(t){return t.validate?e=>t.validate(e):t}class k{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}class M{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}const O='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',D='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',T='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>';class E{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+O)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${D}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${T}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+O)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+D)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(t){console.warn(`\n It looks like you're using ngModel on the same form field as ${t}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}function I(t,e){return[...e.path,t]}function L(t,e){t||N(e,"Cannot find control with"),e.valueAccessor||N(e,"No value accessor for form control with"),t.validator=v.compose([t.validator,e.validator]),t.asyncValidator=v.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&j(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&j(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function j(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function R(t,e){null==t&&N(e,"Cannot find control with"),t.validator=v.compose([t.validator,e.validator]),t.asyncValidator=v.composeAsync([t.asyncValidator,e.asyncValidator])}function F(t){return N(t,"There is no FormControl instance attached to form control element with")}function N(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function Y(t){return null!=t?v.compose(t.map(x)):null}function U(t){return null!=t?v.composeAsync(t.map(S)):null}function B(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object(l.Lb)(e,n.currentValue)}const z=[class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},k,class{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=l.Lb}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}},class{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=l.Lb}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const l=t.item(e),i=this._getOptionValue(l.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const l=t.item(e);if(l.selected){const t=this._getOptionValue(l.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}},class{constructor(t,e,n,l){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=l,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(f),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}];function G(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function H(t,e){if(!e)return null;Array.isArray(e)||N(t,"Value accessor was not provided as an array for form control with");let n=void 0,l=void 0,i=void 0;return e.forEach(e=>{var r;e.constructor===c?n=e:(r=e,z.some(t=>r.constructor===t)?(l&&N(t,"More than one built-in value accessor matches form control with"),l=e):(i&&N(t,"More than one custom value accessor matches form control with"),i=e))}),i||l||n||(N(t,"No valid value accessor for form control with"),null)}function V(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function q(t,e,n,i){Object(l.hb)()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(E.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function W(t){const e=X(t)?t.validators:t;return Array.isArray(e)?Y(e):e||null}function $(t,e){const n=X(e)?e.asyncValidators:t;return Array.isArray(n)?U(n):n||null}function X(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class K{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=W(t)}setAsyncValidators(t){this.asyncValidator=$(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING";const e=w(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((t,e)=>t instanceof Q?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Z&&t.at(e)||null,t))}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new l.r,this.statusChanges=new l.r}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){X(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class J extends K{constructor(t=null,e,n){super(W(e),$(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class Q extends K{constructor(t,e,n){super(W(e),$(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,l)=>{n.reset(t[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof J?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,l)=>{e=e||this.contains(l)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,l)=>{n=e(n,t,l)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Z extends K{constructor(t,e,n){super(W(e),$(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,l)=>{n.reset(t[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof J?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const tt=(()=>Promise.resolve(null))();class et extends h{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new l.r,this.form=new Q({},Y(t),U(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){tt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),L(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){tt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),V(this._directives,t)})}addFormGroup(t){tt.then(()=>{const e=this._findContainer(t.path),n=new Q({});R(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){tt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){tt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,G(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}class nt{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${O}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n `)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${D}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${T}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${D}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${T}`)}static ngFormWarning(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")}}const lt=new l.w("NgFormSelectorWarning");class it extends h{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return I(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._validators)}get asyncValidator(){return U(this._asyncValidators)}_checkParentType(){}}class rt extends it{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof rt||this._parent instanceof et||nt.modelGroupParentException()}}const ot=(()=>Promise.resolve(null))();class at extends f{constructor(t,e,n,i){super(),this.control=new J,this._registered=!1,this.update=new l.r,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=H(this,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),B(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?I(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._rawValidators)}get asyncValidator(){return U(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){L(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof rt)&&this._parent instanceof it?nt.formGroupNameException():this._parent instanceof rt||this._parent instanceof et||nt.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||nt.missingNameException()}_updateValue(t){ot.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;ot.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}class st{}const ut=new l.w("NgModelWithFormControlWarning");let ct=(()=>{class t extends f{constructor(t,e,n,i){super(),this._ngModelWarningConfig=i,this.update=new l.r,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=H(this,n)}set isDisabled(t){E.disabledAttrWarning()}ngOnChanges(e){this._isControlChanged(e)&&(L(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),B(e,this.viewModel)&&(q("formControl",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return Y(this._rawValidators)}get asyncValidator(){return U(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t._ngModelWarningSentOnce=!1,t})();class dt extends h{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new l.r}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return L(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){V(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);R(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);R(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,G(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>F(e)),e.valueAccessor.registerOnTouched(()=>F(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&L(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=Y(this._validators);this.form.validator=v.compose([this.form.validator,t]);const e=U(this._asyncValidators);this.form.asyncValidator=v.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||E.missingFormException()}}class ht extends it{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){ft(this._parent)&&E.groupParentException()}}class pt extends h{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return I(this.name,this._parent)}get validator(){return Y(this._validators)}get asyncValidator(){return U(this._asyncValidators)}_checkParentType(){ft(this._parent)&&E.arrayParentException()}}function ft(t){return!(t instanceof ht||t instanceof dt||t instanceof pt)}let bt=(()=>{class t extends f{constructor(t,e,n,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new l.r,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=H(this,i)}set isDisabled(t){E.disabledAttrWarning()}ngOnChanges(e){this._added||this._setUpControl(),B(e,this.viewModel)&&(q("formControlName",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return I(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._rawValidators)}get asyncValidator(){return U(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof ht)&&this._parent instanceof it?E.ngModelGroupException():this._parent instanceof ht||this._parent instanceof dt||this._parent instanceof pt||E.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t._ngModelWarningSentOnce=!1,t})();class mt extends class{get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?v.required(t):null}registerOnValidatorChange(t){this._onChange=t}}{validate(t){return this.required?v.requiredTrue(t):null}}class gt{}class _t{group(t,e=null){const n=this._reduceControls(t);let l=null,i=null,r=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(l=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(l=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new Q(n,{asyncValidators:i,updateOn:r,validators:l})}control(t,e,n){return new J(t,e,n)}array(t,e,n){const l=t.map(t=>this._createControl(t));return new Z(l,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof J||t instanceof Q||t instanceof Z?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}class yt{static withConfig(t){return{ngModule:yt,providers:[{provide:lt,useValue:t.warnOnDeprecatedNgFormSelector}]}}}class At{static withConfig(t){return{ngModule:At,providers:[{provide:ut,useValue:t.warnOnNgModelWithFormControl}]}}}},sJgj:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("8rEH"),i=(n("qToJ"),n("978D"),n("svHU"),n("7/LY")),r=(n("YGmB"),n("wBRQ"),n("aECi"));class o{constructor(t,e,n,i,r,o,a,s){this.dialog=t,this.elementRef=e,this.mapService=n,this.selectAircraftService=i,this.trafficService=r,this.timeService=o,this.focusAircraftService=a,this.settingService=s,this.widthPopup=500,this.focusIsActive=!1,this.subscription={},this.aircrafts={},this.selectedAircrafts={},this.columnsName={callsign:"CS",registration:"REG/M",icaoTypeCode:"Model",squawk:"IFF",altitude:"ALT",route:"Route",icao:"Icao",userTags:"Tag",providers:"Feed",longitude:"LON",latitudfe:"LAT",speed:"GS",country:"Pays"},this.displayedColumns=["callsign","registration","icaoTypeCode","squawk","altitude","route","icao"],this.dataSource=new l.l}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.subscription.trafficAircraft=this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.refreshTrafficAircraft(t)}),this.subscription.selectAircraft=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.initFields()}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}initFields(){const t=JSON.parse(localStorage.getItem("panelRightFields"));t?this.displayedColumns=t:localStorage.setItem("panelRightFields",JSON.stringify(this.displayedColumns)),this.displayedColumns.includes("callsign")&&(this.sort.active="callsign",this.sort.direction="asc")}focusChange(t){this.focusIsActive=t.checked,this.focusAircraftService.setSearchStr(this.focusIsActive?this.dataSource.filter:void 0)}manageSelectedAircrafts(t){t.haveOneStatus([i.a.WATCH,i.a.SELECT,i.a.TRAJECTORY])?this.selectedAircrafts[t.aircraft.icao]=t.aircraft:delete this.selectedAircrafts[t.aircraft.icao]}refreshTrafficAircraft(t){this.aircrafts=t;const e=Object.values(t).map(t=>t.getTableObject(this.displayedColumns)),n=Object.values(e);this.dataSource.data=n}isSelectedAircraft(t){return!!this.selectedAircrafts[t.icao]}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase(),this.focusIsActive&&this.focusAircraftService.setSearchStr(this.dataSource.filter)}watchAircraft(t){const e=this.aircrafts[t];this.mapService.recenterMap([e.longitude,e.latitude]);const n=this.timeService.getDateReplay();this.selectAircraftService.watchAircraft(e,n)}selectAircraft(t){const e=this.aircrafts[t];this.mapService.recenterMap([e.longitude,e.latitude]);const n=this.timeService.getDateReplay();this.selectAircraftService.selectAircraft(e,n)}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft,e=String(t-this.widthPopup-20>0?t-this.widthPopup-20:5)+"px";this.dialogRef=this.dialog.open(r.a,{width:this.widthPopup+"px",position:{top:"60px",left:e},hasBackdrop:!1,data:this.displayedColumns});const n=this.dialogRef.afterClosed().subscribe(t=>{t&&(this.displayedColumns=t,localStorage.setItem("panelRightFields",JSON.stringify(this.displayedColumns))),this.dialogRef=void 0,n.unsubscribe()})}}},sLNx:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var l=n("mrSG"),i=n("8Y7J"),r=n("Y4ja"),o=n("ZZ/e"),a=n("w+w1"),s=(n("G0WM"),n("GXLG")),u=n("qSBs"),c=n("Nw85"),d=n("3y7P");let h=(()=>{class t{constructor(t,e,n,l,r,o){this.modeService=t,this.loadingController=e,this.positionService=n,this.lineService=l,this.vehicleService=r,this.snackBarService=o,this.positions=[],this.aircraft=null,this.aircraftChange=new i.r}getAircraftChange(){return this.aircraftChange}startReplayTrip(t){return l.b(this,void 0,void 0,(function*(){const e=yield this.loadingController.create({message:"Chargement en cours..."});e.present();const n={filter:["updatedAt||gte||"+String(t.createdAt),"updatedAt||lte||"+String(t.updatedAt),"icao||eq||"+t.icao,"createdAt||eq||"+String(t.createdAt)],sort:"updatedAt,ASC"};this.positionService.getManyBasePositionControllerPosition(n).subscribe(n=>l.b(this,void 0,void 0,(function*(){console.log("DATA : ",n),this.positions=n.data,this.positions.length>0?(this.modeService.setModeMap(r.a.ONE_AIRCRAFT),yield this.createAircraft(t)):this.snackBarService.openSnackBar("There are no positions"),e.dismiss()})))}))}createAircraft(t){return l.b(this,void 0,void 0,(function*(){this.aircraft=new a.a(t),this.aircraft.updateWithPosition(this.positions[0]),this.aircraft.createTraceWithPositions(t,this.positions),yield this.getMetaVehicle(t),yield this.getMetaLine(t),this.aircraftChange.emit(this.aircraft)}))}getMetaVehicle(t){return l.b(this,void 0,void 0,(function*(){const e=yield this.vehicleService.vehicleControllerGetFull({matchKey:t.icao}).toPromise();if(e&&e.data){const n=e.data;this.aircraft.registration=n.registration,this.aircraft.country=n.countryCodeIso3,this.aircraft.userTags=n.userTags,this.aircraft.registeredOwners=n.registeredOwners,this.aircraft.homeAerodromeDGAC=n.homeAerodromeDGAC,this.aircraft.addressOwnerDGAC=n.addressOwnerDGAC,this.aircraft.model=n.type,this.aircraft.icaoTypeCode=t.icaoTypeCode,n.engine&&(this.aircraft.iconName=n.engine.iconName),n.operator&&(this.aircraft.operatorName=n.operator.name,this.aircraft.operatorIata=n.operator.iata,this.aircraft.operatorIcao=n.operator.icao)}}))}getMetaLine(t){return l.b(this,void 0,void 0,(function*(){if(t.callsigns&&t.callsigns.length>0){const e=yield this.lineService.lineControllerGetFull({callsign:t.callsigns[0]}).toPromise();if(e&&e.data){const t=e.data;this.aircraft.fromAirport=t.fromAirport,this.aircraft.toAirport=t.toAirport,this.aircraft.stopsIcao=t.stopsIcao,this.aircraft.fromIcao=t.fromIcao,this.aircraft.toIcao=t.toIcao}}}))}updatePositions(t){this.aircraft.updateWithPosition(this.positions[t]),this.aircraftChange.emit(this.aircraft)}stopReplayTrip(){this.modeService.setModeMap(r.a.ALL_AIRCRAFT),this.positions=[],this.aircraft=null}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(r.b),i.dc(o.Eb),i.dc(u.a),i.dc(c.a),i.dc(d.a),i.dc(s.a))},token:t,providedIn:"root"}),t})()},sRx5:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},sUFW:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.GetOneBasePlotControllerPlotPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBasePlotControllerPlot(t){return this.getOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBasePlotControllerPlotPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBasePlotControllerPlot(t){return this.replaceOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBasePlotControllerPlotPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBasePlotControllerPlot(t){return this.deleteOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBasePlotControllerPlotPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBasePlotControllerPlot(t){return this.updateOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.GetManyBasePlotControllerPlotPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBasePlotControllerPlot(t){return this.getManyBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBasePlotControllerPlotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBasePlotControllerPlot(t){return this.createOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBasePlotControllerPlotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBasePlotControllerPlot(t){return this.createManyBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBasePlotControllerPlotPath="/plot/{id}",t.ReplaceOneBasePlotControllerPlotPath="/plot/{id}",t.DeleteOneBasePlotControllerPlotPath="/plot/{id}",t.UpdateOneBasePlotControllerPlotPath="/plot/{id}",t.GetManyBasePlotControllerPlotPath="/plot",t.CreateOneBasePlotControllerPlotPath="/plot",t.CreateManyBasePlotControllerPlotPath="/plot/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},saKC:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var l=n("n15R"),i=n("f8l7");function r(t,e,n,r,o,a){var s=NaN,u=NaN,c=(n-e)/r;if(1===c)s=t[e],u=t[e+1];else if(2==c)s=(1-o)*t[e]+o*t[e+r],u=(1-o)*t[e+1]+o*t[e+r+1];else if(0!==c){for(var d=t[e],h=t[e+1],p=0,f=[0],b=e+r;b<n;b+=r){var m=t[b],g=t[b+1];p+=Math.sqrt((m-d)*(m-d)+(g-h)*(g-h)),f.push(p),d=m,h=g}var _=o*p,y=Object(l.a)(f,_);if(y<0){var A=(_-f[-y-2])/(f[-y-1]-f[-y-2]),v=e+(-y-2)*r;s=Object(i.c)(t[v],t[v+r],A),u=Object(i.c)(t[v+1],t[v+r+1],A)}else s=t[e+y*r],u=t[e+y*r+1]}return a?(a[0]=s,a[1]=u,a):[s,u]}function o(t,e,n,l,r,o){if(n==e)return null;var a;if(r<t[e+l-1])return o?((a=t.slice(e,e+l))[l-1]=r,a):null;if(t[n-1]<r)return o?((a=t.slice(n-l,n))[l-1]=r,a):null;if(r==t[e+l-1])return t.slice(e,e+l);for(var s=e/l,u=n/l;s<u;){var c=s+u>>1;r<t[(c+1)*l-1]?u=c:s=c+1}var d=t[s*l-1];if(r==d)return t.slice((s-1)*l,(s-1)*l+l);var h=(r-d)/(t[(s+1)*l-1]-d);a=[];for(var p=0;p<l-1;++p)a.push(Object(i.c)(t[(s-1)*l+p],t[s*l+p],h));return a.push(r),a}function a(t,e,n,l,i,r,a){if(a)return o(t,e,n[n.length-1],l,i,r);var s;if(i<t[l-1])return r?((s=t.slice(0,l))[l-1]=i,s):null;if(t[t.length-1]<i)return r?((s=t.slice(t.length-l))[l-1]=i,s):null;for(var u=0,c=n.length;u<c;++u){var d=n[u];if(e!=d){if(i<t[e+l-1])return null;if(i<=t[d-1])return o(t,e,d,l,i,!1);e=d}}return null}},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},svHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("8Y7J"),i=n("JW8z"),r=n("Xu5n"),o=n("oscj"),a=n("nHi6");let s=(()=>{class t{constructor(){this.map=void 0,this.view=void 0,this.group={},this.layer={},this.source={},this.viewChange=new l.r,this.dayNightDaemonInterval=3e5}initDayNightLayerDaemon(){this.dayNightDaemon=setInterval(()=>{this.getLayer("DayNight").getSource().setTime(new Date)},this.dayNightDaemonInterval)}onMapMoveEnd(){this.map.on("moveend",t=>{this.view=this.map.getView(),this.viewChange.emit(this.view)})}getViewChangeEmitter(){return this.viewChange}createMap(){const t=new r.a({target:"sepia",view:this.getView()});return window.ol=t,t}getMap(){return this.map||(this.map=this.createMap(),this.onMapMoveEnd()),this.map}recenterMap(t,e){console.log();let n={center:Object(i.d)(t),duration:500};e&&(n.zoom=e),this.view.animate(n)}getView(){return this.view||(this.view=new o.a({extent:[-20026376.39,-20048966.1,20026376.39,20048966.1],center:[0,0],zoom:1,projection:"EPSG:3857",maxZoom:18,minZoom:3})),this.view}addLayerToGroup(t,e){if(t){if(this.group[t]){const n=this.group[t].getLayers();n.push(e),this.group[t].setLayers(n)}else this.group[t]=new a.a({name:t,layers:[e]}),this.map.addLayer(this.group[t]);return this.setLayer(e),this.group[t]}}removeLayerToGroup(t,e){if(t&&this.group[t]){const n=this.group[t].getLayers().getArray().slice();for(let l=0;l<n.length;l++)n[l].get("name")==e.get("name")&&(this.map.removeLayer(e),this.group[t].getLayers().getArray().splice(l,1))}this.removeLayer(e)}removeGroup(t){t&&this.group[t]&&(this.map.removeLayer(this.group[t]),delete this.group[t])}setLayer(t){return this.layer[t.get("name")]=t}getLayer(t){return this.layer[t]}removeLayer(t){delete this.layer[t]}setSource(t,e){return this.source[t]=e}getSource(t){return this.source[t]}removeSource(t){delete this.source[t]}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"t+3E":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("Mc5n");n("ZZ/e");class i{constructor(t){this.modalCtrl=t,this.allFields=["callsign","registration","icaoTypeCode","squawk","altitude","route","icao","userTags","providers","longitude","latitude","speed","country"],this.panelFields=[],this.otherFields=[]}ngOnInit(){this.panelFields=this.data,this.otherFields=this.allFields.filter(t=>!this.panelFields.includes(t)),console.log(this.panelFields,this.otherFields)}ngOnDestroy(){}drop(t){t.previousContainer===t.container?Object(l.j)(t.container.data,t.previousIndex,t.currentIndex):Object(l.k)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}dismissModal(){this.modalCtrl.dismiss(this.panelFields)}}},"t+mt":function(t,e,n){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},t68o:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var l=n("8Y7J"),i=n("s6ns"),r=n("SVse"),o=(n("QQfA"),n("IP0z"),n("zMNK")),a=(n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("5GAg")),s=l.Bb({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function u(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function c(t){return l.Yb(0,[l.Ub(402653184,1,{_portalOutlet:0}),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(2,212992,[[1,4]],0,o.c,[l.m,l.Y],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==l.Pb(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==l.Pb(t,1)._onAnimationDone(n)&&i),i}),c,s)),l.Cb(1,49152,null,0,i.i,[l.p,a.i,l.j,[2,r.d],i.h],null,null)],null,(function(t,e){t(e,0,0,l.Pb(e,1)._id,l.Pb(e,1)._config.role,l.Pb(e,1)._config.ariaLabel?null:l.Pb(e,1)._ariaLabelledBy,l.Pb(e,1)._config.ariaLabel,l.Pb(e,1)._config.ariaDescribedBy||null,l.Pb(e,1)._state)}))}var h=l.zb("mat-dialog-container",i.i,d,{},{},[])},t98H:function(t,e,n){"use strict";n.d(e,"b",(function(){return s}));var l=n("OPOH"),i=n("EwAT"),r=n("JW8z"),o=n("/O31"),a=function(){function t(){this.dataProjection=null,this.defaultFeatureProjection=null}return t.prototype.getReadOptions=function(t,e){var n;if(e){var l=e.dataProjection?Object(r.g)(e.dataProjection):this.readProjection(t);e.extent&&l&&l.getUnits()===o.b.TILE_PIXELS&&(l=Object(r.g)(l)).setWorldExtent(e.extent),n={dataProjection:l,featureProjection:e.featureProjection}}return this.adaptOptions(n)},t.prototype.adaptOptions=function(t){return Object(l.a)({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)},t.prototype.getType=function(){return Object(i.b)()},t.prototype.readFeature=function(t,e){return Object(i.b)()},t.prototype.readFeatures=function(t,e){return Object(i.b)()},t.prototype.readGeometry=function(t,e){return Object(i.b)()},t.prototype.readProjection=function(t){return Object(i.b)()},t.prototype.writeFeature=function(t,e){return Object(i.b)()},t.prototype.writeFeatures=function(t,e){return Object(i.b)()},t.prototype.writeGeometry=function(t,e){return Object(i.b)()},t}();function s(t,e,n){var l,i=n?Object(r.g)(n.featureProjection):null,o=n?Object(r.g)(n.dataProjection):null;if(l=i&&o&&!Object(r.c)(i,o)?(e?t.clone():t).transform(e?i:o,e?o:i):t,e&&n&&void 0!==n.decimals){var a=Math.pow(10,n.decimals);l===t&&(l=t.clone()),l.applyTransform((function(t){for(var e=0,n=t.length;e<n;++e)t[e]=Math.round(t[e]*a)/a;return t}))}return l}e.a=a},t9RB:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseCountryControllerCountryPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseCountryControllerCountry(t){return this.getOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseCountryControllerCountryPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseCountryControllerCountry(t){return this.replaceOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseCountryControllerCountryPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseCountryControllerCountry(t){return this.deleteOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseCountryControllerCountryPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseCountryControllerCountry(t){return this.updateOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseCountryControllerCountryPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseCountryControllerCountry(t){return this.getManyBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseCountryControllerCountryPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseCountryControllerCountry(t){return this.createOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseCountryControllerCountryPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseCountryControllerCountry(t){return this.createManyBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseCountryControllerCountryPath="/country/{id}",t.ReplaceOneBaseCountryControllerCountryPath="/country/{id}",t.DeleteOneBaseCountryControllerCountryPath="/country/{id}",t.UpdateOneBaseCountryControllerCountryPath="/country/{id}",t.GetManyBaseCountryControllerCountryPath="/country",t.CreateOneBaseCountryControllerCountryPath="/country",t.CreateManyBaseCountryControllerCountryPath="/country/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tV43:function(t,e,n){t.exports=function(){"use strict";function t(t,l,i,r,o){!function t(n,l,i,r,o){for(;r>i;){if(r-i>600){var a=r-i+1,s=l-i+1,u=Math.log(a),c=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*c*(a-c)/a)*(s-a/2<0?-1:1);t(n,l,Math.max(i,Math.floor(l-s*c/a+d)),Math.min(r,Math.floor(l+(a-s)*c/a+d)),o)}var h=n[l],p=i,f=r;for(e(n,i,l),o(n[r],h)>0&&e(n,i,r);p<f;){for(e(n,p,f),p++,f--;o(n[p],h)<0;)p++;for(;o(n[f],h)>0;)f--}0===o(n[i],h)?e(n,i,f):e(n,++f,r),f<=l&&(i=f+1),l<=f&&(r=f-1)}}(t,l,i||0,r||t.length-1,o||n)}function e(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function n(t,e){return t<e?-1:t>e?1:0}var l=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function i(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}function r(t,e){o(t,0,t.children.length,e,t)}function o(t,e,n,l,i){i||(i=f(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r=e;r<n;r++){var o=t.children[r];a(i,t.leaf?l(o):o)}return i}function a(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function s(t,e){return t.minX-e.minX}function u(t,e){return t.minY-e.minY}function c(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function d(t){return t.maxX-t.minX+(t.maxY-t.minY)}function h(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function p(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function f(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function b(e,n,l,i,r){for(var o=[n,l];o.length;)if(!((l=o.pop())-(n=o.pop())<=i)){var a=n+Math.ceil((l-n)/i/2)*i;t(e,a,n,l,r),o.push(n,a,a,l)}}return l.prototype.all=function(){return this._all(this.data,[])},l.prototype.search=function(t){var e=this.data,n=[];if(!p(t,e))return n;for(var l=this.toBBox,i=[];e;){for(var r=0;r<e.children.length;r++){var o=e.children[r],a=e.leaf?l(o):o;p(t,a)&&(e.leaf?n.push(o):h(t,a)?this._all(o,n):i.push(o))}e=i.pop()}return n},l.prototype.collides=function(t){var e=this.data;if(!p(t,e))return!1;for(var n=[];e;){for(var l=0;l<e.children.length;l++){var i=e.children[l],r=e.leaf?this.toBBox(i):i;if(p(t,r)){if(e.leaf||h(t,r))return!0;n.push(i)}}e=n.pop()}return!1},l.prototype.load=function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0;e<t.length;e++)this.insert(t[e]);return this}var n=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var l=this.data;this.data=n,n=l}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},l.prototype.insert=function(t){return t&&this._insert(t,this.data.height-1),this},l.prototype.clear=function(){return this.data=f([]),this},l.prototype.remove=function(t,e){if(!t)return this;for(var n,l,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf){var c=i(t,o.children,e);if(-1!==c)return o.children.splice(c,1),s.push(o),this._condense(s),this}r||o.leaf||!h(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},l.prototype.toBBox=function(t){return t},l.prototype.compareMinX=function(t,e){return t.minX-e.minX},l.prototype.compareMinY=function(t,e){return t.minY-e.minY},l.prototype.toJSON=function(){return this.data},l.prototype.fromJSON=function(t){return this.data=t,this},l.prototype._all=function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},l.prototype._build=function(t,e,n,l){var i,o=n-e+1,a=this._maxEntries;if(o<=a)return r(i=f(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,l-1))),(i=f([])).leaf=!1,i.height=l;var s=Math.ceil(o/a),u=s*Math.ceil(Math.sqrt(a));b(t,e,n,u,this.compareMinX);for(var c=e;c<=n;c+=u){var d=Math.min(c+u-1,n);b(t,c,d,s,this.compareMinY);for(var h=c;h<=d;h+=s){var p=Math.min(h+s-1,d);i.children.push(this._build(t,h,p,l-1))}}return r(i,this.toBBox),i},l.prototype._chooseSubtree=function(t,e,n,l){for(;l.push(e),!e.leaf&&l.length-1!==n;){for(var i=1/0,r=1/0,o=void 0,a=0;a<e.children.length;a++){var s=e.children[a],u=c(s),d=(h=t,p=s,(Math.max(p.maxX,h.maxX)-Math.min(p.minX,h.minX))*(Math.max(p.maxY,h.maxY)-Math.min(p.minY,h.minY))-u);d<r?(r=d,i=u<i?u:i,o=s):d===r&&u<i&&(i=u,o=s)}e=o||e.children[0]}var h,p;return e},l.prototype._insert=function(t,e,n){var l=n?t:this.toBBox(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),a(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},l.prototype._split=function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var o=this._chooseSplitIndex(n,i,l),a=f(n.children.splice(o,n.children.length-o));a.height=n.height,a.leaf=n.leaf,r(n,this.toBBox),r(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(n,a)},l.prototype._splitRoot=function(t,e){this.data=f([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},l.prototype._chooseSplitIndex=function(t,e,n){for(var l,i,r,a,s,u,d,h=1/0,p=1/0,f=e;f<=n-e;f++){var b=o(t,0,f,this.toBBox),m=o(t,f,n,this.toBBox),g=(i=b,r=m,a=Math.max(i.minX,r.minX),s=Math.max(i.minY,r.minY),u=Math.min(i.maxX,r.maxX),d=Math.min(i.maxY,r.maxY),Math.max(0,u-a)*Math.max(0,d-s)),_=c(b)+c(m);g<h?(h=g,l=f,p=_<p?_:p):g===h&&_<p&&(p=_,l=f)}return l||n-e},l.prototype._chooseSplitAxis=function(t,e,n){var l=t.leaf?this.compareMinX:s,i=t.leaf?this.compareMinY:u;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},l.prototype._allDistMargin=function(t,e,n,l){t.children.sort(l);for(var i=this.toBBox,r=o(t,0,e,i),s=o(t,n-e,n,i),u=d(r)+d(s),c=e;c<n-e;c++){var h=t.children[c];a(r,t.leaf?i(h):h),u+=d(r)}for(var p=n-e-1;p>=e;p--){var f=t.children[p];a(s,t.leaf?i(f):f),u+=d(s)}return u},l.prototype._adjustParentBBoxes=function(t,e,n){for(var l=n;l>=0;l--)a(e[l],t)},l.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},l}()},tYnX:function(t,e,n){"use strict";function l(t,e,n,l){for(var i=0,r=t[n-l],o=t[n-l+1];e<n;e+=l){var a=t[e],s=t[e+1];i+=o*a-r*s,r=a,o=s}return i/2}function i(t,e,n,i){for(var r=0,o=0,a=n.length;o<a;++o){var s=n[o];r+=l(t,e,s,i),e=s}return r}function r(t,e,n,l){for(var r=0,o=0,a=n.length;o<a;++o){var s=n[o];r+=i(t,e,s,l),e=s[s.length-1]}return r}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}))},tbfe:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},tyRR:function(t,e,n){var l={"./modules/login/login.module.ngfactory":["uV+8",15]};function i(t){if(!n.o(l,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=l[t],i=e[0];return n.e(e[1]).then((function(){return n(i)}))}i.keys=function(){return Object.keys(l)},i.id="tyRR",t.exports=i},"tzl+":function(t,e,n){"use strict";var l=n("CvXi"),i=n("f8l7"),r=n("JW8z"),o=function(){function t(t,e,n,i,o,a){this.sourceProj_=t,this.targetProj_=e;var s={},u=Object(r.i)(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){var e=t[0]+"/"+t[1];return s[e]||(s[e]=u(t)),s[e]},this.maxSourceExtent_=i,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!i&&!!this.sourceProj_.getExtent()&&Object(l.E)(i)==Object(l.E)(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Object(l.E)(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Object(l.E)(this.targetProj_.getExtent()):null;var c=Object(l.C)(n),d=Object(l.D)(n),h=Object(l.w)(n),p=Object(l.v)(n),f=this.transformInv_(c),b=this.transformInv_(d),m=this.transformInv_(h),g=this.transformInv_(p),_=10+(a?Math.max(0,Math.ceil(Math.log2(Object(l.u)(n)/(a*a*256*256)))):0);if(this.addQuad_(c,d,h,p,f,b,m,g,_),this.wrapsXInSource_){var y=1/0;this.triangles_.forEach((function(t,e,n){y=Math.min(y,t.source[0][0],t.source[1][0],t.source[2][0])})),this.triangles_.forEach((function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-y>this.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-y>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-y>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-y>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]);Math.max(e[0][0],e[1][0],e[2][0])-n<this.sourceWorldWidth_/2&&(t.source=e)}}).bind(this))}s={}}return t.prototype.addTriangle_=function(t,e,n,l,i,r){this.triangles_.push({source:[l,i,r],target:[t,e,n]})},t.prototype.addQuad_=function(t,e,n,r,o,a,s,u,c){var d=Object(l.b)([o,a,s,u]),h=this.sourceWorldWidth_?Object(l.E)(d)/this.sourceWorldWidth_:null,p=this.sourceWorldWidth_,f=this.sourceProj_.canWrapX()&&h>.5&&h<1,b=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var m=Object(l.b)([t,e,n,r]);b=Object(l.E)(m)/this.targetWorldWidth_>.25||b}!f&&this.sourceProj_.isGlobal()&&h&&(b=h>.25||b)}if(b||!this.maxSourceExtent_||Object(l.F)(d,this.maxSourceExtent_)){if(!(b||isFinite(o[0])&&isFinite(o[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(u[0])&&isFinite(u[1]))){if(!(c>0))return;b=!0}if(c>0){if(!b){var g,_=this.transformInv_([(t[0]+n[0])/2,(t[1]+n[1])/2]);g=f?(Object(i.d)(o[0],p)+Object(i.d)(s[0],p))/2-Object(i.d)(_[0],p):(o[0]+s[0])/2-_[0];var y=(o[1]+s[1])/2-_[1];b=g*g+y*y>this.errorThresholdSquared_}if(b){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){var A=[(e[0]+n[0])/2,(e[1]+n[1])/2],v=this.transformInv_(A),C=[(r[0]+t[0])/2,(r[1]+t[1])/2],w=this.transformInv_(C);this.addQuad_(t,e,A,C,o,a,v,w,c-1),this.addQuad_(C,A,n,r,w,v,s,u,c-1)}else{var P=[(t[0]+e[0])/2,(t[1]+e[1])/2],x=this.transformInv_(P),S=[(n[0]+r[0])/2,(n[1]+r[1])/2],k=this.transformInv_(S);this.addQuad_(t,P,S,r,o,x,k,u,c-1),this.addQuad_(P,e,n,S,x,a,s,k,c-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}this.addTriangle_(t,n,r,o,s,u),this.addTriangle_(t,e,n,o,a,s)}},t.prototype.calculateSourceExtent=function(){var t=Object(l.j)();return this.triangles_.forEach((function(e,n,i){var r=e.source;Object(l.r)(t,r[0]),Object(l.r)(t,r[1]),Object(l.r)(t,r[2])})),t},t.prototype.getTriangles=function(){return this.triangles_},t}();e.a=o},u2yf:function(t,e,n){"use strict";function l(t,e,n,l,i){for(var r=void 0!==i?i:[],o=0,a=e;a<n;a+=l)r[o++]=t.slice(a,a+l);return r.length=o,r}function i(t,e,n,i,r){for(var o=void 0!==r?r:[],a=0,s=0,u=n.length;s<u;++s){var c=n[s];o[a++]=l(t,e,c,i,o[a]),e=c}return o.length=a,o}function r(t,e,n,l,r){for(var o=void 0!==r?r:[],a=0,s=0,u=n.length;s<u;++s){var c=n[s];o[a++]=i(t,e,c,l,o[a]),e=c[c.length-1]}return o.length=a,o}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}))},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uUEO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n("oeKZ");var l=n("7/LY"),i=(n("qToJ"),n("Y4ja"));class r{constructor(t,e,n,l,i,r){this.settingService=t,this.ref=e,this.selectAircraftService=n,this.domSanitizer=l,this.keycloakService=i,this.modeService=r,this.editRoute=!1,this.selectedAircraft=void 0,this.options={isFollow:!1,isTrajectoryLine:!1,isTrajectory:!1,isInterception:!1,isFocus:!1},this.userRoles=[],this.modeAll=!0}ngOnInit(){this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles,this.selectedAircraft=this.aircraftContext.aircraft,this.options.isFollow=this.aircraftContext.haveStatus(l.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(l.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(l.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(l.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(l.a.FOCUS),this.modeAll=this.modeService.getModeMap()===i.a.ALL_AIRCRAFT,this.ref.detectChanges()}ngOnDestroy(){this.selectedAircraft=void 0,this.aircraftContext=void 0}ngDoCheck(){this.options.isFollow=this.aircraftContext.haveStatus(l.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(l.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(l.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(l.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(l.a.FOCUS),this.ref.detectChanges()}cleanURL(t){return this.domSanitizer.bypassSecurityTrustUrl(t)}onToggleFollow(){this.options.isFollow=!this.options.isFollow,this.options.isFollow?this.selectAircraftService.followAircraft():this.selectAircraftService.unFollowAircraft()}onToggleTrajectoryLine(){this.options.isTrajectoryLine=!this.options.isTrajectoryLine,this.options.isTrajectoryLine?this.selectAircraftService.trajectoryLineAircraft():this.selectAircraftService.unTrajectoryLineAircraft()}onToggleTrajectory(){this.options.isTrajectory=!this.options.isTrajectory,this.options.isTrajectory?this.selectAircraftService.trajectoryAircraft():this.selectAircraftService.unTrajectoryAircraft()}onToggleInterception(){this.options.isInterception=!this.options.isInterception,this.options.isInterception?this.selectAircraftService.interceptionAircraft():this.selectAircraftService.unInterceptionAircraft()}onToggleFocus(){this.options.isFocus=!this.options.isFocus,this.options.isFocus?this.selectAircraftService.focusAircraft():this.selectAircraftService.unFocusAircraft()}}},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function l(t,l,i){return t+" "+n(e[i],t,l)}function i(t,l,i){return n(e[i],t,l)}t.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:l,m:i,mm:l,h:i,hh:l,d:i,dd:l,M:i,MM:l,y:i,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},v2sB:function(t,e,n){"use strict";var l=n("g7xG"),i=n("7gqw"),r=n("ktNq");t.exports={countries:l,flagUrls:i,findFlagUrlByCountryName:r.findFlagUrlByCountryName,findFlagUrlByNationality:r.findFlagUrlByNationality,findFlagUrlByIso2Code:r.findFlagUrlByIso2Code,findFlagUrlByIso3Code:r.findFlagUrlByIso3Code}},v6R6:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("bujt"),r=n("Fwaw"),o=n("5GAg"),a=n("omvX"),s=n("oBZk"),u=n("ZZ/e"),c=n("s7LF");n("0XyG"),n("Py6u"),n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var d=l.Bb({encapsulation:0,styles:[[".fleet-item-csv[_ngcontent-%COMP%]{display:flex;justify-content:space-between}hr[_ngcontent-%COMP%]{border-top:1px solid #aaa}.fleet-item-csv-export[_ngcontent-%COMP%], .fleet-item-csv-import[_ngcontent-%COMP%]{padding:5px}.fleet-item-csv-import[_ngcontent-%COMP%]{border-left:1px solid #aaa}"]],data:{}});function h(t){return l.Yb(2,[l.Ub(671088640,1,{fileInput:0}),(t()(),l.Db(1,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,24,"div",[["class","fleet-item-csv"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,5,"div",[["class","fleet-item-csv-export"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.exportCsv()&&l),l}),i.b,i.a)),l.Cb(5,180224,null,0,r.b,[l.p,o.h,[2,a.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Export "])),(t()(),l.Db(7,0,null,0,1,"ion-icon",[["name","document"]],null,null,null,s.y,s.g)),l.Cb(8,49152,null,0,u.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(9,0,null,null,17,"div",[["class","fleet-item-csv-import"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"a",[["href","../../../../../../../../assets/fleet_item.exemple.csv"],["style","display: block;"],["target","_blank"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Example file"])),(t()(),l.Db(12,0,null,null,14,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,14).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,14).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.importCsv()&&i),i}),null,null)),l.Cb(13,16384,null,0,c.A,[],null,null),l.Cb(14,540672,null,0,c.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,c.c,null,[c.k]),l.Cb(16,16384,null,0,c.r,[[4,c.c]],null,null),(t()(),l.Db(17,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,5,"input",[["class","form-control"],["formControlName","file"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==l.Pb(t,19)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,19).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,19)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,19)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==r.onFileChange(n)&&i),i}),null,null)),l.Cb(19,16384,null,0,c.d,[l.M,l.p,[2,c.a]],null,null),l.Tb(1024,null,c.o,(function(t){return[t]}),[c.d]),l.Cb(21,671744,null,0,c.i,[[3,c.c],[8,null],[8,null],[6,c.o],[2,c.z]],{name:[0,"name"]},null),l.Tb(2048,null,c.p,null,[c.i]),l.Cb(23,16384,null,0,c.q,[[4,c.p]],null,null),(t()(),l.Db(24,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,i.b,i.a)),l.Cb(25,180224,null,0,r.b,[l.p,o.h,[2,a.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Import"])),(t()(),l.Db(27,0,null,null,0,"hr",[],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,5,0,"warn"),t(e,8,0,"document"),t(e,14,0,n.uploadForm),t(e,21,0,"file"),t(e,25,0,"warn")}),(function(t,e){t(e,4,0,l.Pb(e,5).disabled||null,"NoopAnimations"===l.Pb(e,5)._animationMode),t(e,12,0,l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending),t(e,18,0,l.Pb(e,23).ngClassUntouched,l.Pb(e,23).ngClassTouched,l.Pb(e,23).ngClassPristine,l.Pb(e,23).ngClassDirty,l.Pb(e,23).ngClassValid,l.Pb(e,23).ngClassInvalid,l.Pb(e,23).ngClassPending),t(e,24,0,l.Pb(e,25).disabled||null,"NoopAnimations"===l.Pb(e,25)._animationMode)}))}},vDCU:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>{const e=t.srcElement.id,n=t.srcElement.parentElement.parentElement.parentElement.parentElement.parentElement.children;for(let l of n)l.setAttribute("style",l.children[0].children[1].children[0].children[1].id!==e?"z-index: 0 !important;":"z-index: 1000 !important;")}},vkgz:function(t,e,n){"use strict";var l=n("7o/Q");function i(){}var r=n("n6bG");function o(t,e,n){return function(l){return l.lift(new a(t,e,n))}}n.d(e,"a",(function(){return o}));class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))}}class s extends l.a{constructor(t,e,n,l){super(t),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=l||i,Object(r.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||i,this._tapError=e.error||i,this._tapComplete=e.complete||i)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vvg4:function(t,e,n){"use strict";function l(t,e,n,l,i,r){for(var o=r||[],a=0,s=e;s<n;s+=l){var u=t[s],c=t[s+1];o[a++]=i[0]*u+i[2]*c+i[4],o[a++]=i[1]*u+i[3]*c+i[5]}return r&&o.length!=a&&(o.length=a),o}function i(t,e,n,l,i,r,o){for(var a=o||[],s=Math.cos(i),u=Math.sin(i),c=r[0],d=r[1],h=0,p=e;p<n;p+=l){var f=t[p]-c,b=t[p+1]-d;a[h++]=c+f*s-b*u,a[h++]=d+f*u+b*s;for(var m=p+2;m<p+l;++m)a[h++]=t[m]}return o&&a.length!=h&&(a.length=h),a}function r(t,e,n,l,i,r,o,a){for(var s=a||[],u=o[0],c=o[1],d=0,h=e;h<n;h+=l){var p=t[h+1]-c;s[d++]=u+i*(t[h]-u),s[d++]=c+r*p;for(var f=h+2;f<h+l;++f)s[d++]=t[f]}return a&&s.length!=d&&(s.length=d),s}function o(t,e,n,l,i,r,o){for(var a=o||[],s=0,u=e;u<n;u+=l){a[s++]=t[u]+i,a[s++]=t[u+1]+r;for(var c=u+2;c<u+l;++c)a[s++]=t[c]}return o&&a.length!=s&&(a.length=s),a}n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o}))},"w+w1":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("wd/R"),i=n("0Ba5"),r=n("pWiS"),o=n("XNiG"),a=n("2BCK"),s=n("v2sB");class u{constructor(t,e=!0){this.military=!1,this.iconName="default",this.iconNameSubject=new o.a,this.trace=void 0,this.isUpdated=!0,this.pictureUrl="",this.icao=t.icao,this.createdAt=t.createdAt?l(t.createdAt).valueOf():0,e&&this.updateBboxAircraft(t)}updateBboxAircraft(t){const e=t.updatedAt?l(t.updatedAt).valueOf():0;(!this.updatedAt||this.updatedAt<e)&&(this.updatedAt=e,this.longitude=t.longitude,this.latitude=t.latitude,this.altitude=t.altitude,this.altitudeGps=t.altitudeGps,this.inhg=t.inhg,this.track=t.track,this.speed=t.speed,this.vsi=t.vsi,this.callsign=t.callsign,this.ground=t.ground,this.squawk=t.squawk,this.etd=t.etd?l(t.etd).valueOf():null,this.eta=t.eta?l(t.eta).valueOf():null,this.military=t.military,this.mlat=t.mlat,this.providers=t.providers,this.fromIcao=t.fromIcao,this.toIcao=t.toIcao,this.operatorIcao=t.operatorIcao,this.registration=t.registration,this.country=t.country,this.userTags=t.userTags,this.icaoTypeCode=t.icaoTypeCode,t.iconName&&this.iconName!==t.iconName&&this.iconNameSubject.next(t.iconName),this.iconName=t.iconName?t.iconName:"default",this.updateMetaAircraft(t))}updateTripAircraft(t){this.isUpdated=!0,this.operatorName=t.operatorName,this.operatorIata=t.operatorIata,this.model=t.type,this.registeredOwners=t.registered_owners,this.homeAerodromeDGAC=t.homeAerodromeDGAC,this.addressOwnerDGAC=t.addressOwnerDGAC,this.stopsIcao=t.stopsIcao,t.fromAirport&&(this.fromAirport=t.fromAirport),t.toAirport&&(this.toAirport=t.toAirport),t.trace&&(this.trace=new a.b(this.icao,t.trace)),this.ctlAgency=t.ctlAgency,this.updateMetaAircraft(t)}updateWithPosition(t){this.longitude=t.longitude,this.latitude=t.latitude,this.altitude=t.altitude,this.altitudeGps=t.altitudeGps,this.inhg=t.inhg,this.track=t.track,this.speed=t.speed,this.vsi=t.vsi,this.callsign=t.callsign,this.ground=t.ground,this.squawk=t.squawk,this.etd=t.etd?l(t.etd).valueOf():null,this.eta=t.eta?l(t.eta).valueOf():null,this.military=t.military,this.mlat=t.mlat,this.providers=t.providers,this.iconName="default",this.updatedAt=l(t.updatedAt).valueOf(),this.updateMetaAircraft(t)}createTraceWithPositions(t,e){this.trace=new a.b(t.icao,e)}updateMetaAircraft(t){this.ias=t.ias,this.tas=t.tas,this.mach=t.mach,this.trackRate=t.trackRate,this.roll=t.roll,this.magHeading=t.magHeading,this.trueHeading=t.trueHeading,this.baroRate=t.baroRate,this.geomRate=t.geomRate,this.category=t.category,this.navAltitudeMcp=t.navAltitudeMcp,this.navAltitudeFms=t.navAltitudeFms,this.navHeading=t.navHeading,this.navModes=t.navModes,this.nic=t.nic,this.rc=t.rc,this.version=t.version,this.nicBaro=t.nicBaro,this.nacP=t.nacP,this.nacV=t.nacV,this.sil=t.sil,this.silType=t.silType,this.gva=t.gva,this.sda=t.sda,this.mlat=t.mlat,this.tisb=t.tisb,this.rssi=t.rssi,this.emergency=t.emergency,this.alert=t.alert,this.spi=t.spi,this.wd=t.wd,this.ws=t.ws,this.oat=t.oat,this.tat=t.tat,this.messages=t.messages}getTableObject(t){const e={icao:this.icao};for(const n of t)e[n]="route"===n?(this.fromIcao?this.fromIcao:"????")+" - "+(this.toIcao?this.toIcao:"????"):"country"===n&&this[n]?Object(s.findFlagUrlByCountryName)(this[n]):this[n];return e}getMachSpeed(){return(this.speed/666.739).toFixed(3)}getMinutesToGround(t){return this.vsi<(t||0)?this.altitude/-this.vsi:null}getProvidersString(){return!this.providers||this.providers.length<=0?"????":this.providers.join(", ")}getPositionDegre(){return i(this.latitude,this.longitude).format("-dd")}getProvidersType(){return null}getPosition(){return Object(r.e)([this.longitude,this.latitude],0)}getIconStatus(){return this.ground?"on-ground-aircraft.svg":this.vsi>=100?"departing-aircraft.svg":this.vsi<=-100?"arriving-aircraft.svg":"airborne-aircraft.svg"}}},w1tV:function(t,e,n){"use strict";var l=n("XNiG"),i=n("HDdC"),r=n("7o/Q"),o=n("quSY");function a(){return function(t){return t.lift(new s(t))}}class s{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const l=new u(t,n),i=e.subscribe(l);return l.closed||(l.connection=n.connect()),i}}class u extends r.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,l=t._connection;this.connection=null,!l||n&&l!==n||l.unsubscribe()}}class c extends i.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.a,t.add(this.source.subscribe(new h(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}refCount(){return a()(this)}}const d=(()=>{const t=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class h extends l.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new l.a}function f(){return t=>{return a()((e=p,function(t){let n;n="function"==typeof e?e:function(){return e};const l=Object.create(t,d);return l.source=t,l.subjectFactory=n,l})(t));var e}}n.d(e,"a",(function(){return f}))},wBRQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("/Mhs");var l=n("8Y7J");let i=(()=>{class t{constructor(){this.fleetFilter=[],this.searchStr=void 0}getSearchStr(){return this.searchStr}setSearchStr(t){this.searchStr=t}getFleetFilter(){return this.fleetFilter}toggleFleetFilter(t){this.fleetFilter.some(e=>e.id===t.id)?this.fleetFilter=this.fleetFilter.filter(e=>e.id!==t.id):this.fleetFilter.push(t)}setFleetFilter(t,e){e&&!this.fleetFilter.some(e=>e.id===t.id)?this.fleetFilter.push(t):e||(this.fleetFilter=this.fleetFilter.filter(e=>e.id!==t.id))}focusIsActive(){return this.fleetFilter.length>0||void 0!==this.searchStr}aircraftMatch(t){if(this.fleetFilter.length<=0&&void 0===this.searchStr)return!0;if(this.fleetFilter.length>0)for(const e of this.fleetFilter)if(this.matchWithFleet(e,t))return!0;return!(void 0===this.searchStr||![t.callsign,t.registration,t.icaoTypeCode,t.squawk,String(t.altitude),t.fromIcao,t.toIcao,t.icao].some(t=>t&&t.toLowerCase().includes(this.searchStr.toLowerCase())))}matchWithFleet(t,e){if(t&&t.fleetItems&&Array.isArray(t.fleetItems)){if("||"===t.logicalOperator)return t.fleetItems.some(t=>this.matchWithFleetItem(t,e));if("&&"===t.logicalOperator)return t.fleetItems.every(t=>this.matchWithFleetItem(t,e))}return!1}matchWithFleetItem(t,e){if("mlat"===t.field){const n=Array.isArray(e.mlat)&&e.mlat.length>0;return"true"===t.value?n:!n}return"military"===t.field?"true"===t.value?!0===e.military:!0!==e.military:"eq"===t.operator&&e[t.field]?e[t.field]===t.value:!("cont"!==t.operator||!e[t.field])&&String(e[t.field]).includes(t.value)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},wQk9:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},"wd/R":function(t,e,n){(function(t){t.exports=function(){"use strict";var e,l;function i(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function u(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function h(t,e){var n,l=[];for(n=0;n<t.length;++n)l.push(e(t[n],n));return l}function p(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,l){return Pe(t,e,n,l,!0).utc()}function b(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=b(t),n=l.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function g(t){var e=f(NaN);return null!=t?p(b(e),t):b(e).userInvalidated=!0,e}l=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),l=n.length>>>0;for(e=0;e<l;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var _=i.momentProperties=[],y=!1;function A(t,e){var n,l,i;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=b(e)),u(e._locale)||(t._locale=e._locale),_.length>0)for(n=0;n<_.length;n++)u(i=e[l=_[n]])||(t[l]=i);return t}function v(t){A(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,i.updateOffset(this),y=!1)}function C(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function w(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function P(t,e){var n=!0;return p((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){var l,r,o,s=[];for(r=0;r<arguments.length;r++){if(l="","object"==typeof arguments[r]){for(o in l+="\n["+r+"] ",arguments[0])a(arguments[0],o)&&(l+=o+": "+arguments[0][o]+", ");l=l.slice(0,-2)}else l=arguments[r];s.push(l)}w(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var x,S={};function k(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),S[t]||(w(e),S[t]=!0)}function M(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function O(t,e){var n,l=p({},t);for(n in e)a(e,n)&&(o(t[n])&&o(e[n])?(l[n]={},p(l[n],t[n]),p(l[n],e[n])):null!=e[n]?l[n]=e[n]:delete l[n]);for(n in t)a(t,n)&&!a(e,n)&&o(t[n])&&(l[n]=p({},l[n]));return l}function D(t){null!=t&&this.set(t)}function T(t,e,n){var l=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-l.length)).toString().substr(1)+l}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,x=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)a(t,e)&&n.push(e);return n};var E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},j={};function R(t,e,n,l){var i=l;"string"==typeof l&&(i=function(){return this[l]()}),t&&(j[t]=i),e&&(j[e[0]]=function(){return T(i.apply(this,arguments),e[1],e[2])}),n&&(j[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function F(t,e){return t.isValid()?(e=N(e,t.localeData()),L[e]=L[e]||function(t){var e,n,l,i=t.match(E);for(e=0,n=i.length;e<n;e++)i[e]=j[i[e]]?j[i[e]]:(l=i[e]).match(/\[[\s\S]/)?l.replace(/^\[|\]$/g,""):l.replace(/\\/g,"");return function(e){var l,r="";for(l=0;l<n;l++)r+=M(i[l])?i[l].call(e,t):i[l];return r}}(e),L[e](t)):t.localeData().invalidDate()}function N(t,e){var n=5;function l(t){return e.longDateFormat(t)||t}for(I.lastIndex=0;n>=0&&I.test(t);)t=t.replace(I,l),I.lastIndex=0,n-=1;return t}var Y={};function U(t,e){var n=t.toLowerCase();Y[n]=Y[n+"s"]=Y[e]=t}function B(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function z(t){var e,n,l={};for(n in t)a(t,n)&&(e=B(n))&&(l[e]=t[n]);return l}var G={};function H(t,e){G[t]=e}function V(t){return t%4==0&&t%100!=0||t%400==0}function q(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function W(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=q(e)),n}function $(t,e){return function(n){return null!=n?(K(this,t,n),i.updateOffset(this,e),this):X(this,t)}}function X(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function K(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&V(t.year())&&1===t.month()&&29===t.date()?(n=W(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ct(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var J,Q=/\d/,Z=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,lt=/\d\d?/,it=/\d\d\d\d?/,rt=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,at=/\d{1,4}/,st=/[+-]?\d{1,6}/,ut=/\d+/,ct=/[+-]?\d+/,dt=/Z|[+-]\d\d:?\d\d/gi,ht=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ft(t,e,n){J[t]=M(e)?e:function(t,l){return t&&n?n:e}}function bt(t,e){return a(J,t)?J[t](e._strict,e._locale):new RegExp(mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,l,i){return e||n||l||i}))))}function mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var gt,_t={};function yt(t,e){var n,l=e;for("string"==typeof t&&(t=[t]),c(e)&&(l=function(t,n){n[e]=W(t)}),n=0;n<t.length;n++)_t[t[n]]=l}function At(t,e){yt(t,(function(t,n,l,i){l._w=l._w||{},e(t,l._w,l,i)}))}function vt(t,e,n){null!=e&&a(_t,t)&&_t[t](e,n._a,n,t)}function Ct(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?V(t)?29:28:31-n%7%2}gt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},R("M",["MM",2],"Mo",(function(){return this.month()+1})),R("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),R("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),U("month","M"),H("month",8),ft("M",lt),ft("MM",lt,Z),ft("MMM",(function(t,e){return e.monthsShortRegex(t)})),ft("MMMM",(function(t,e){return e.monthsRegex(t)})),yt(["M","MM"],(function(t,e){e[1]=W(t)-1})),yt(["MMM","MMMM"],(function(t,e,n,l){var i=n._locale.monthsParse(t,l,n._strict);null!=i?e[1]=i:b(n).invalidMonth=t}));var wt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Pt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),xt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,St=pt,kt=pt;function Mt(t,e,n){var l,i,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],l=0;l<12;++l)r=f([2e3,l]),this._shortMonthsParse[l]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[l]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=gt.call(this._shortMonthsParse,o))?i:null:-1!==(i=gt.call(this._longMonthsParse,o))?i:null:"MMM"===e?-1!==(i=gt.call(this._shortMonthsParse,o))||-1!==(i=gt.call(this._longMonthsParse,o))?i:null:-1!==(i=gt.call(this._longMonthsParse,o))||-1!==(i=gt.call(this._shortMonthsParse,o))?i:null}function Ot(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=W(e);else if(!c(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ct(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Dt(t){return null!=t?(Ot(this,t),i.updateOffset(this,!0),this):X(this,"Month")}function Tt(){function t(t,e){return e.length-t.length}var e,n,l=[],i=[],r=[];for(e=0;e<12;e++)n=f([2e3,e]),l.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(l.sort(t),i.sort(t),r.sort(t),e=0;e<12;e++)l[e]=mt(l[e]),i[e]=mt(i[e]);for(e=0;e<24;e++)r[e]=mt(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+l.join("|")+")","i")}function Et(t){return V(t)?366:365}R("Y",0,0,(function(){var t=this.year();return t<=9999?T(t,4):"+"+t})),R(0,["YY",2],0,(function(){return this.year()%100})),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),U("year","y"),H("year",1),ft("Y",ct),ft("YY",lt,Z),ft("YYYY",at,et),ft("YYYYY",st,nt),ft("YYYYYY",st,nt),yt(["YYYYY","YYYYYY"],0),yt("YYYY",(function(t,e){e[0]=2===t.length?i.parseTwoDigitYear(t):W(t)})),yt("YY",(function(t,e){e[0]=i.parseTwoDigitYear(t)})),yt("Y",(function(t,e){e[0]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return W(t)+(W(t)>68?1900:2e3)};var It=$("FullYear",!0);function Lt(t,e,n,l,i,r,o){var a;return t<100&&t>=0?(a=new Date(t+400,e,n,l,i,r,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,l,i,r,o),a}function jt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Rt(t,e,n){var l=7+e-n;return-(7+jt(t,0,l).getUTCDay()-e)%7+l-1}function Ft(t,e,n,l,i){var r,o,a=1+7*(e-1)+(7+n-l)%7+Rt(t,l,i);return a<=0?o=Et(r=t-1)+a:a>Et(t)?(r=t+1,o=a-Et(t)):(r=t,o=a),{year:r,dayOfYear:o}}function Nt(t,e,n){var l,i,r=Rt(t.year(),e,n),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?l=o+Yt(i=t.year()-1,e,n):o>Yt(t.year(),e,n)?(l=o-Yt(t.year(),e,n),i=t.year()+1):(i=t.year(),l=o),{week:l,year:i}}function Yt(t,e,n){var l=Rt(t,e,n),i=Rt(t+1,e,n);return(Et(t)-l+i)/7}function Ut(t,e){return t.slice(e,7).concat(t.slice(0,e))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),H("week",5),H("isoWeek",5),ft("w",lt),ft("ww",lt,Z),ft("W",lt),ft("WW",lt,Z),At(["w","ww","W","WW"],(function(t,e,n,l){e[l.substr(0,1)]=W(t)})),R("d",0,"do","day"),R("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),R("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),R("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),ft("d",lt),ft("e",lt),ft("E",lt),ft("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ft("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ft("dddd",(function(t,e){return e.weekdaysRegex(t)})),At(["dd","ddd","dddd"],(function(t,e,n,l){var i=n._locale.weekdaysParse(t,l,n._strict);null!=i?e.d=i:b(n).invalidWeekday=t})),At(["d","e","E"],(function(t,e,n,l){e[l]=W(t)}));var Bt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ht=pt,Vt=pt,qt=pt;function Wt(t,e,n){var l,i,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],l=0;l<7;++l)r=f([2e3,1]).day(l),this._minWeekdaysParse[l]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[l]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[l]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=gt.call(this._weekdaysParse,o))?i:null:"ddd"===e?-1!==(i=gt.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:"dddd"===e?-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._shortWeekdaysParse,o))||-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:"ddd"===e?-1!==(i=gt.call(this._shortWeekdaysParse,o))||-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:-1!==(i=gt.call(this._minWeekdaysParse,o))||-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._shortWeekdaysParse,o))?i:null}function $t(){function t(t,e){return e.length-t.length}var e,n,l,i,r,o=[],a=[],s=[],u=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),l=mt(this.weekdaysMin(n,"")),i=mt(this.weekdaysShort(n,"")),r=mt(this.weekdays(n,"")),o.push(l),a.push(i),s.push(r),u.push(l),u.push(i),u.push(r);o.sort(t),a.sort(t),s.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Kt(t,e){R(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Jt(t,e){return e._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Xt),R("k",["kk",2],0,(function(){return this.hours()||24})),R("hmm",0,0,(function(){return""+Xt.apply(this)+T(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+Xt.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Kt("a",!0),Kt("A",!1),U("hour","h"),H("hour",13),ft("a",Jt),ft("A",Jt),ft("H",lt),ft("h",lt),ft("k",lt),ft("HH",lt,Z),ft("hh",lt,Z),ft("kk",lt,Z),ft("hmm",it),ft("hmmss",rt),ft("Hmm",it),ft("Hmmss",rt),yt(["H","HH"],3),yt(["k","kk"],(function(t,e,n){var l=W(t);e[3]=24===l?0:l})),yt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),yt(["h","hh"],(function(t,e,n){e[3]=W(t),b(n).bigHour=!0})),yt("hmm",(function(t,e,n){var l=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l)),b(n).bigHour=!0})),yt("hmmss",(function(t,e,n){var l=t.length-4,i=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l,2)),e[5]=W(t.substr(i)),b(n).bigHour=!0})),yt("Hmm",(function(t,e,n){var l=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l))})),yt("Hmmss",(function(t,e,n){var l=t.length-4,i=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l,2)),e[5]=W(t.substr(i))}));var Qt,Zt=$("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:wt,monthsShort:Pt,week:{dow:0,doy:6},weekdays:Bt,weekdaysMin:Gt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function le(t,e){var n,l=Math.min(t.length,e.length);for(n=0;n<l;n+=1)if(t[n]!==e[n])return n;return l}function ie(t){return t?t.toLowerCase().replace("_","-"):t}function re(e){var l=null;if(void 0===ee[e]&&void 0!==t&&t&&t.exports)try{l=Qt._abbr,n("RnhZ")("./"+e),oe(l)}catch(i){ee[e]=null}return ee[e]}function oe(t,e){var n;return t&&((n=u(e)?se(t):ae(t,e))?Qt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function ae(t,e){if(null!==e){var n,l=te;if(e.abbr=t,null!=ee[t])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),l=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])l=ee[e.parentLocale]._config;else{if(null==(n=re(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;l=n._config}return ee[t]=new D(O(l,e)),ne[t]&&ne[t].forEach((function(t){ae(t.name,t.config)})),oe(t),ee[t]}return delete ee[t],null}function se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!r(t)){if(e=re(t))return e;t=[t]}return function(t){for(var e,n,l,i,r=0;r<t.length;){for(e=(i=ie(t[r]).split("-")).length,n=(n=ie(t[r+1]))?n.split("-"):null;e>0;){if(l=re(i.slice(0,e).join("-")))return l;if(n&&n.length>=e&&le(i,n)>=e-1)break;e--}r++}return Qt}(t)}function ue(t){var e,n=t._a;return n&&-2===b(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ct(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,b(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),b(t)._overflowWeeks&&-1===e&&(e=7),b(t)._overflowWeekday&&-1===e&&(e=8),b(t).overflow=e),t}var ce=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,de=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],fe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],be=/^\/?Date\((-?\d+)/i,me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ge={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,n,l,i,r,o,a=t._i,s=ce.exec(a)||de.exec(a);if(s){for(b(t).iso=!0,e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(s[1])){i=pe[e][0],l=!1!==pe[e][2];break}if(null==i)return void(t._isValid=!1);if(s[3]){for(e=0,n=fe.length;e<n;e++)if(fe[e][1].exec(s[3])){r=(s[2]||" ")+fe[e][0];break}if(null==r)return void(t._isValid=!1)}if(!l&&null!=r)return void(t._isValid=!1);if(s[4]){if(!he.exec(s[4]))return void(t._isValid=!1);o="Z"}t._f=i+(r||"")+(o||""),Ce(t)}else t._isValid=!1}function ye(t){var e,n,l,i,r,o,a,s,u,c=me.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[3],l=c[2],i=c[5],r=c[6],o=c[7],a=[(s=c[4],u=parseInt(s,10),u<=49?2e3+u:u<=999?1900+u:u),Pt.indexOf(n),parseInt(l,10),parseInt(i,10),parseInt(r,10)],o&&a.push(parseInt(o,10)),!function(t,e,n){return!t||zt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(b(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],e=a,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return ge[t];if(e)return 0;var l=parseInt(n,10),i=l%100;return(l-i)/100*60+i}(c[8],c[9],c[10]),t._d=jt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),b(t).rfc2822=!0}else t._isValid=!1}function Ae(t,e,n){return null!=t?t:null!=e?e:n}function ve(t){var e,n,l,r,o,a=[];if(!t._d){for(l=function(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,l,i,r,o,a,s,u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(r=1,o=4,n=Ae(e.GG,t._a[0],Nt(xe(),1,4).year),l=Ae(e.W,1),((i=Ae(e.E,1))<1||i>7)&&(s=!0)):(r=t._locale._week.dow,o=t._locale._week.doy,u=Nt(xe(),r,o),n=Ae(e.gg,t._a[0],u.year),l=Ae(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(s=!0):null!=e.e?(i=e.e+r,(e.e<0||e.e>6)&&(s=!0)):i=r),l<1||l>Yt(n,r,o)?b(t)._overflowWeeks=!0:null!=s?b(t)._overflowWeekday=!0:(a=Ft(n,l,i,r,o),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=Ae(t._a[0],l[0]),(t._dayOfYear>Et(o)||0===t._dayOfYear)&&(b(t)._overflowDayOfYear=!0),n=jt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=l[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?jt:Lt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(b(t).weekdayMismatch=!0)}}function Ce(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],b(t).empty=!0;var e,n,l,r,o,a,s=""+t._i,u=s.length,c=0;for(l=N(t._f,t._locale).match(E)||[],e=0;e<l.length;e++)(n=(s.match(bt(r=l[e],t))||[])[0])&&((o=s.substr(0,s.indexOf(n))).length>0&&b(t).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),c+=n.length),j[r]?(n?b(t).empty=!1:b(t).unusedTokens.push(r),vt(r,n,t)):t._strict&&!n&&b(t).unusedTokens.push(r);b(t).charsLeftOver=u-c,s.length>0&&b(t).unusedInput.push(s),t._a[3]<=12&&!0===b(t).bigHour&&t._a[3]>0&&(b(t).bigHour=void 0),b(t).parsedDateParts=t._a.slice(0),b(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var l;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((l=t.isPM(n))&&e<12&&(e+=12),l||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(a=b(t).era)&&(t._a[0]=t._locale.erasConvertYear(a,t._a[0])),ve(t),ue(t)}else ye(t);else _e(t)}function we(t){var e=t._i,n=t._f;return t._locale=t._locale||se(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),C(e)?new v(ue(e)):(d(e)?t._d=e:r(n)?function(t){var e,n,l,i,r,o,a=!1;if(0===t._f.length)return b(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)r=0,o=!1,e=A({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Ce(e),m(e)&&(o=!0),r+=b(e).charsLeftOver,r+=10*b(e).unusedTokens.length,b(e).score=r,a?r<l&&(l=r,n=e):(null==l||r<l||o)&&(l=r,n=e,o&&(a=!0));p(t,n||e)}(t):n?Ce(t):function(t){var e=t._i;u(e)?t._d=new Date(i.now()):d(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=be.exec(t._i);null===e?(_e(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):r(e)?(t._a=h(e.slice(0),(function(t){return parseInt(t,10)})),ve(t)):o(e)?function(t){if(!t._d){var e=z(t._i);t._a=h([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),ve(t)}}(t):c(e)?t._d=new Date(e):i.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function Pe(t,e,n,l,i){var a,u={};return!0!==e&&!1!==e||(l=e,e=void 0),!0!==n&&!1!==n||(l=n,n=void 0),(o(t)&&s(t)||r(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=t,u._f=e,u._strict=l,(a=new v(ue(we(u))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function xe(t,e,n,l){return Pe(t,e,n,l,!1)}i.createFromInputFallback=P("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Se=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()})),ke=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}));function Me(t,e){var n,l;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return xe();for(n=e[0],l=1;l<e.length;++l)e[l].isValid()&&!e[l][t](n)||(n=e[l]);return n}var Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function De(t){var e=z(t),n=e.year||0,l=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._isValid=function(t){var e,n,l=!1;for(e in t)if(a(t,e)&&(-1===gt.call(Oe,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Oe.length;++n)if(t[Oe[n]]){if(l)return!1;parseFloat(t[Oe[n]])!==W(t[Oe[n]])&&(l=!0)}return!0}(e),this._milliseconds=+d+1e3*c+6e4*u+1e3*s*60*60,this._days=+o+7*r,this._months=+i+3*l+12*n,this._data={},this._locale=se(),this._bubble()}function Te(t){return t instanceof De}function Ee(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ie(t,e){R(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+T(~~(t/60),2)+e+T(~~t%60,2)}))}Ie("Z",":"),Ie("ZZ",""),ft("Z",ht),ft("ZZ",ht),yt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=je(ht,t)}));var Le=/([\+\-]|\d\d)/gi;function je(t,e){var n,l,i=(e||"").match(t);return null===i?null:0===(l=60*(n=((i[i.length-1]||[])+"").match(Le)||["-",0,0])[1]+W(n[2]))?0:"+"===n[0]?l:-l}function Re(t,e){var n,l;return e._isUTC?(n=e.clone(),l=(C(t)||d(t)?t.valueOf():xe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+l),i.updateOffset(n,!1),n):xe(t).local()}function Fe(t){return-Math.round(t._d.getTimezoneOffset())}function Ne(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Ye=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ue=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Be(t,e){var n,l,i,r,o,s,u=t,d=null;return Te(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:c(t)||!isNaN(+t)?(u={},e?u[e]=+t:u.milliseconds=+t):(d=Ye.exec(t))?(n="-"===d[1]?-1:1,u={y:0,d:W(d[2])*n,h:W(d[3])*n,m:W(d[4])*n,s:W(d[5])*n,ms:W(Ee(1e3*d[6]))*n}):(d=Ue.exec(t))?u={y:ze(d[2],n="-"===d[1]?-1:1),M:ze(d[3],n),w:ze(d[4],n),d:ze(d[5],n),h:ze(d[6],n),m:ze(d[7],n),s:ze(d[8],n)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(r=xe(u.from),o=xe(u.to),i=r.isValid()&&o.isValid()?(o=Re(o,r),r.isBefore(o)?s=Ge(r,o):((s=Ge(o,r)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),l=new De(u),Te(t)&&a(t,"_locale")&&(l._locale=t._locale),Te(t)&&a(t,"_isValid")&&(l._isValid=t._isValid),l}function ze(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ge(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function He(t,e){return function(n,l){var i;return null===l||isNaN(+l)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=l,l=i),Ve(this,Be(n,l),t),this}}function Ve(t,e,n,l){var r=e._milliseconds,o=Ee(e._days),a=Ee(e._months);t.isValid()&&(l=null==l||l,a&&Ot(t,X(t,"Month")+a*n),o&&K(t,"Date",X(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),l&&i.updateOffset(t,o||a))}Be.fn=De.prototype,Be.invalid=function(){return Be(NaN)};var qe=He(1,"add"),We=He(-1,"subtract");function $e(t){return"string"==typeof t||t instanceof String}function Xe(t){return C(t)||d(t)||$e(t)||c(t)||function(t){var e=r(t),n=!1;return e&&(n=0===t.filter((function(e){return!c(e)&&$e(t)})).length),e&&n}(t)||function(t){var e,n=o(t)&&!s(t),l=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<i.length;e+=1)l=l||a(t,i[e]);return n&&l}(t)||null==t}function Ke(t){var e,n=o(t)&&!s(t),l=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<i.length;e+=1)l=l||a(t,i[e]);return n&&l}function Je(t,e){if(t.date()<e.date())return-Je(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),l=t.clone().add(n,"months");return-(n+(e-l<0?(e-l)/(l-t.clone().add(n-1,"months")):(e-l)/(t.clone().add(n+1,"months")-l)))||0}function Qe(t){var e;return void 0===t?this._locale._abbr:(null!=(e=se(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ze=P("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function tn(){return this._locale}function en(t,e){return(t%e+e)%e}function nn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function ln(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function rn(t,e){return e.erasAbbrRegex(t)}function on(){var t,e,n=[],l=[],i=[],r=[],o=this.eras();for(t=0,e=o.length;t<e;++t)l.push(mt(o[t].name)),n.push(mt(o[t].abbr)),i.push(mt(o[t].narrow)),r.push(mt(o[t].name)),r.push(mt(o[t].abbr)),r.push(mt(o[t].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+l.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function an(t,e){R(0,[t,t.length],0,e)}function sn(t,e,n,l,i){var r;return null==t?Nt(this,l,i).year:(e>(r=Yt(t,l,i))&&(e=r),un.call(this,t,e,n,l,i))}function un(t,e,n,l,i){var r=Ft(t,e,n,l,i),o=jt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),ft("N",rn),ft("NN",rn),ft("NNN",rn),ft("NNNN",(function(t,e){return e.erasNameRegex(t)})),ft("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),yt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,l){var i=n._locale.erasParse(t,l,n._strict);i?b(n).era=i:b(n).invalidEra=t})),ft("y",ut),ft("yy",ut),ft("yyy",ut),ft("yyyy",ut),ft("yo",(function(t,e){return e._eraYearOrdinalRegex||ut})),yt(["y","yy","yyy","yyyy"],0),yt(["yo"],(function(t,e,n,l){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),e[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,i):parseInt(t,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),ft("G",ct),ft("g",ct),ft("GG",lt,Z),ft("gg",lt,Z),ft("GGGG",at,et),ft("gggg",at,et),ft("GGGGG",st,nt),ft("ggggg",st,nt),At(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,l){e[l.substr(0,2)]=W(t)})),At(["gg","GG"],(function(t,e,n,l){e[l]=i.parseTwoDigitYear(t)})),R("Q",0,"Qo","quarter"),U("quarter","Q"),H("quarter",7),ft("Q",Q),yt("Q",(function(t,e){e[1]=3*(W(t)-1)})),R("D",["DD",2],"Do","date"),U("date","D"),H("date",9),ft("D",lt),ft("DD",lt,Z),ft("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),yt(["D","DD"],2),yt("Do",(function(t,e){e[2]=W(t.match(lt)[0])}));var cn=$("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),H("dayOfYear",4),ft("DDD",ot),ft("DDDD",tt),yt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=W(t)})),R("m",["mm",2],0,"minute"),U("minute","m"),H("minute",14),ft("m",lt),ft("mm",lt,Z),yt(["m","mm"],4);var dn=$("Minutes",!1);R("s",["ss",2],0,"second"),U("second","s"),H("second",15),ft("s",lt),ft("ss",lt,Z),yt(["s","ss"],5);var hn,pn,fn=$("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),U("millisecond","ms"),H("millisecond",16),ft("S",ot,Q),ft("SS",ot,Z),ft("SSS",ot,tt),hn="SSSS";hn.length<=9;hn+="S")ft(hn,ut);function bn(t,e){e[6]=W(1e3*("0."+t))}for(hn="S";hn.length<=9;hn+="S")yt(hn,bn);pn=$("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var mn=v.prototype;function gn(t){return t}mn.add=qe,mn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Xe(arguments[0])?(t=arguments[0],e=void 0):Ke(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||xe(),l=Re(n,this).startOf("day"),r=i.calendarFormat(this,l)||"sameElse",o=e&&(M(e[r])?e[r].call(this,n):e[r]);return this.format(o||this.localeData().calendar(r,this,xe(n)))},mn.clone=function(){return new v(this)},mn.diff=function(t,e,n){var l,i,r;if(!this.isValid())return NaN;if(!(l=Re(t,this)).isValid())return NaN;switch(i=6e4*(l.utcOffset()-this.utcOffset()),e=B(e)){case"year":r=Je(this,l)/12;break;case"month":r=Je(this,l);break;case"quarter":r=Je(this,l)/3;break;case"second":r=(this-l)/1e3;break;case"minute":r=(this-l)/6e4;break;case"hour":r=(this-l)/36e5;break;case"day":r=(this-l-i)/864e5;break;case"week":r=(this-l-i)/6048e5;break;default:r=this-l}return n?r:q(r)},mn.endOf=function(t){var e,n;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?ln:nn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-en(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-en(e,1e3)-1}return this._d.setTime(e),i.updateOffset(this,!0),this},mn.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=F(this,t);return this.localeData().postformat(e)},mn.from=function(t,e){return this.isValid()&&(C(t)&&t.isValid()||xe(t).isValid())?Be({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.fromNow=function(t){return this.from(xe(),t)},mn.to=function(t,e){return this.isValid()&&(C(t)&&t.isValid()||xe(t).isValid())?Be({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.toNow=function(t){return this.to(xe(),t)},mn.get=function(t){return M(this[t=B(t)])?this[t]():this},mn.invalidAt=function(){return b(this).overflow},mn.isAfter=function(t,e){var n=C(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},mn.isBefore=function(t,e){var n=C(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},mn.isBetween=function(t,e,n,l){var i=C(t)?t:xe(t),r=C(e)?e:xe(e);return!!(this.isValid()&&i.isValid()&&r.isValid())&&("("===(l=l||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===l[1]?this.isBefore(r,n):!this.isAfter(r,n))},mn.isSame=function(t,e){var n,l=C(t)?t:xe(t);return!(!this.isValid()||!l.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()===l.valueOf():(n=l.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},mn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},mn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},mn.isValid=function(){return m(this)},mn.lang=Ze,mn.locale=Qe,mn.localeData=tn,mn.max=ke,mn.min=Se,mn.parsingFlags=function(){return p({},b(this))},mn.set=function(t,e){if("object"==typeof t){var n,l=function(t){var e,n=[];for(e in t)a(t,e)&&n.push({unit:e,priority:G[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=z(t));for(n=0;n<l.length;n++)this[l[n].unit](t[l[n].unit])}else if(M(this[t=B(t)]))return this[t](e);return this},mn.startOf=function(t){var e,n;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?ln:nn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=en(e,6e4);break;case"second":e=this._d.valueOf(),e-=en(e,1e3)}return this._d.setTime(e),i.updateOffset(this,!0),this},mn.subtract=We,mn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},mn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},mn.toDate=function(){return new Date(this.valueOf())},mn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?F(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",l="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",l="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+l+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(mn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),mn.toJSON=function(){return this.isValid()?this.toISOString():null},mn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mn.unix=function(){return Math.floor(this.valueOf()/1e3)},mn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mn.eraName=function(){var t,e,n,l=this.localeData().eras();for(t=0,e=l.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),l[t].since<=n&&n<=l[t].until)return l[t].name;if(l[t].until<=n&&n<=l[t].since)return l[t].name}return""},mn.eraNarrow=function(){var t,e,n,l=this.localeData().eras();for(t=0,e=l.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),l[t].since<=n&&n<=l[t].until)return l[t].narrow;if(l[t].until<=n&&n<=l[t].since)return l[t].narrow}return""},mn.eraAbbr=function(){var t,e,n,l=this.localeData().eras();for(t=0,e=l.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),l[t].since<=n&&n<=l[t].until)return l[t].abbr;if(l[t].until<=n&&n<=l[t].since)return l[t].abbr}return""},mn.eraYear=function(){var t,e,n,l,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,l=this.clone().startOf("day").valueOf(),r[t].since<=l&&l<=r[t].until||r[t].until<=l&&l<=r[t].since)return(this.year()-i(r[t].since).year())*n+r[t].offset;return this.year()},mn.year=It,mn.isLeapYear=function(){return V(this.year())},mn.weekYear=function(t){return sn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mn.isoWeekYear=function(t){return sn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mn.quarter=mn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mn.month=Dt,mn.daysInMonth=function(){return Ct(this.year(),this.month())},mn.week=mn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mn.isoWeek=mn.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mn.weeksInYear=function(){var t=this.localeData()._week;return Yt(this.year(),t.dow,t.doy)},mn.weeksInWeekYear=function(){var t=this.localeData()._week;return Yt(this.weekYear(),t.dow,t.doy)},mn.isoWeeksInYear=function(){return Yt(this.year(),1,4)},mn.isoWeeksInISOWeekYear=function(){return Yt(this.isoWeekYear(),1,4)},mn.date=cn,mn.day=mn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mn.hour=mn.hours=Zt,mn.minute=mn.minutes=dn,mn.second=mn.seconds=fn,mn.millisecond=mn.milliseconds=pn,mn.utcOffset=function(t,e,n){var l,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=je(ht,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(l=Fe(this)),this._offset=t,this._isUTC=!0,null!=l&&this.add(l,"m"),r!==t&&(!e||this._changeInProgress?Ve(this,Be(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Fe(this)},mn.utc=function(t){return this.utcOffset(0,t)},mn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this},mn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=je(dt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?xe(t).utcOffset():0,(this.utcOffset()-t)%60==0)},mn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mn.isUtc=Ne,mn.isUTC=Ne,mn.zoneAbbr=function(){return this._isUTC?"UTC":""},mn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mn.dates=P("dates accessor is deprecated. Use date instead.",cn),mn.months=P("months accessor is deprecated. Use month instead",Dt),mn.years=P("years accessor is deprecated. Use year instead",It),mn.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),mn.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return A(e,this),(e=we(e))._a?(t=e._isUTC?f(e._a):xe(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var l,i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(l=0;l<i;l++)W(t[l])!==W(e[l])&&o++;return o+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var _n=D.prototype;function yn(t,e,n,l){var i=se(),r=f().set(l,e);return i[n](r,t)}function An(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return yn(t,e,n,"month");var l,i=[];for(l=0;l<12;l++)i[l]=yn(t,l,n,"month");return i}function vn(t,e,n,l){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var i,r=se(),o=t?r._week.dow:0,a=[];if(null!=n)return yn(e,(n+o)%7,l,"day");for(i=0;i<7;i++)a[i]=yn(e,(i+o)%7,l,"day");return a}_n.calendar=function(t,e,n){var l=this._calendar[t]||this._calendar.sameElse;return M(l)?l.call(e,n):l},_n.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(E).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(t){return this._ordinal.replace("%d",t)},_n.preparse=gn,_n.postformat=gn,_n.relativeTime=function(t,e,n,l){var i=this._relativeTime[n];return M(i)?i(t,e,n,l):i.replace(/%d/i,t)},_n.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)},_n.set=function(t){var e,n;for(n in t)a(t,n)&&(M(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.eras=function(t,e){var n,l,r,o=this._eras||se("en")._eras;for(n=0,l=o.length;n<l;++n){switch(typeof o[n].since){case"string":r=i(o[n].since).startOf("day"),o[n].since=r.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=i(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}}return o},_n.erasParse=function(t,e,n){var l,i,r,o,a,s=this.eras();for(t=t.toUpperCase(),l=0,i=s.length;l<i;++l)if(r=s[l].name.toUpperCase(),o=s[l].abbr.toUpperCase(),a=s[l].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(o===t)return s[l];break;case"NNNN":if(r===t)return s[l];break;case"NNNNN":if(a===t)return s[l]}else if([r,o,a].indexOf(t)>=0)return s[l]},_n.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n},_n.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||on.call(this),t?this._erasAbbrRegex:this._erasRegex},_n.erasNameRegex=function(t){return a(this,"_erasNameRegex")||on.call(this),t?this._erasNameRegex:this._erasRegex},_n.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||on.call(this),t?this._erasNarrowRegex:this._erasRegex},_n.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||xt).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},_n.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[xt.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(t,e,n){var l,i,r;if(this._monthsParseExact)return Mt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),l=0;l<12;l++){if(i=f([2e3,l]),n&&!this._longMonthsParse[l]&&(this._longMonthsParse[l]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[l]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[l]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[l]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[l].test(t))return l;if(n&&"MMM"===e&&this._shortMonthsParse[l].test(t))return l;if(!n&&this._monthsParse[l].test(t))return l}},_n.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Tt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=kt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Tt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=St),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(t,e){var n=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ut(n,this._week.dow):t?n[t.day()]:n},_n.weekdaysMin=function(t){return!0===t?Ut(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},_n.weekdaysShort=function(t){return!0===t?Ut(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},_n.weekdaysParse=function(t,e,n){var l,i,r;if(this._weekdaysParseExact)return Wt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),l=0;l<7;l++){if(i=f([2e3,1]).day(l),n&&!this._fullWeekdaysParse[l]&&(this._fullWeekdaysParse[l]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[l]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[l]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[l]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[l]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[l].test(t))return l;if(n&&"ddd"===e&&this._shortWeekdaysParse[l].test(t))return l;if(n&&"dd"===e&&this._minWeekdaysParse[l].test(t))return l;if(!n&&this._weekdaysParse[l].test(t))return l}},_n.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ht),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Vt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},_n.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===W(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=P("moment.lang is deprecated. Use moment.locale instead.",oe),i.langData=P("moment.langData is deprecated. Use moment.localeData instead.",se);var Cn=Math.abs;function wn(t,e,n,l){var i=Be(e,n);return t._milliseconds+=l*i._milliseconds,t._days+=l*i._days,t._months+=l*i._months,t._bubble()}function Pn(t){return t<0?Math.floor(t):Math.ceil(t)}function xn(t){return 4800*t/146097}function Sn(t){return 146097*t/4800}function kn(t){return function(){return this.as(t)}}var Mn=kn("ms"),On=kn("s"),Dn=kn("m"),Tn=kn("h"),En=kn("d"),In=kn("w"),Ln=kn("M"),jn=kn("Q"),Rn=kn("y");function Fn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Nn=Fn("milliseconds"),Yn=Fn("seconds"),Un=Fn("minutes"),Bn=Fn("hours"),zn=Fn("days"),Gn=Fn("months"),Hn=Fn("years"),Vn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wn(t,e,n,l,i){return i.relativeTime(e||1,!!n,t,l)}var $n=Math.abs;function Xn(t){return(t>0)-(t<0)||+t}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,l,i,r,o,a,s=$n(this._milliseconds)/1e3,u=$n(this._days),c=$n(this._months),d=this.asSeconds();return d?(t=q(s/60),e=q(t/60),s%=60,t%=60,n=q(c/12),c%=12,l=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=Xn(this._months)!==Xn(d)?"-":"",o=Xn(this._days)!==Xn(d)?"-":"",a=Xn(this._milliseconds)!==Xn(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(u?o+u+"D":"")+(e||t||s?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(s?a+l+"S":"")):"P0D"}var Jn=De.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=Cn(this._milliseconds),this._days=Cn(this._days),this._months=Cn(this._months),t.milliseconds=Cn(t.milliseconds),t.seconds=Cn(t.seconds),t.minutes=Cn(t.minutes),t.hours=Cn(t.hours),t.months=Cn(t.months),t.years=Cn(t.years),this},Jn.add=function(t,e){return wn(this,t,e,1)},Jn.subtract=function(t,e){return wn(this,t,e,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var e,n,l=this._milliseconds;if("month"===(t=B(t))||"quarter"===t||"year"===t)switch(n=this._months+xn(e=this._days+l/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Sn(this._months)),t){case"week":return e/7+l/6048e5;case"day":return e+l/864e5;case"hour":return 24*e+l/36e5;case"minute":return 1440*e+l/6e4;case"second":return 86400*e+l/1e3;case"millisecond":return Math.floor(864e5*e)+l;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=Mn,Jn.asSeconds=On,Jn.asMinutes=Dn,Jn.asHours=Tn,Jn.asDays=En,Jn.asWeeks=In,Jn.asMonths=Ln,Jn.asQuarters=jn,Jn.asYears=Rn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*W(this._months/12):NaN},Jn._bubble=function(){var t,e,n,l,i,r=this._milliseconds,o=this._days,a=this._months,s=this._data;return r>=0&&o>=0&&a>=0||r<=0&&o<=0&&a<=0||(r+=864e5*Pn(Sn(a)+o),o=0,a=0),s.milliseconds=r%1e3,t=q(r/1e3),s.seconds=t%60,e=q(t/60),s.minutes=e%60,n=q(e/60),s.hours=n%24,o+=q(n/24),a+=i=q(xn(o)),o-=Pn(Sn(i)),l=q(a/12),a%=12,s.days=o,s.months=a,s.years=l,this},Jn.clone=function(){return Be(this)},Jn.get=function(t){return t=B(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Nn,Jn.seconds=Yn,Jn.minutes=Un,Jn.hours=Bn,Jn.days=zn,Jn.weeks=function(){return q(this.days()/7)},Jn.months=Gn,Jn.years=Hn,Jn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,l,i=!1,r=qn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(r=Object.assign({},qn,e),null!=e.s&&null==e.ss&&(r.ss=e.s-1)),l=function(t,e,n,l){var i=Be(t).abs(),r=Vn(i.as("s")),o=Vn(i.as("m")),a=Vn(i.as("h")),s=Vn(i.as("d")),u=Vn(i.as("M")),c=Vn(i.as("w")),d=Vn(i.as("y")),h=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=e,h[3]=+t>0,h[4]=l,Wn.apply(null,h)}(this,!i,r,n=this.localeData()),i&&(l=n.pastFuture(+this,l)),n.postformat(l)},Jn.toISOString=Kn,Jn.toString=Kn,Jn.toJSON=Kn,Jn.locale=Qe,Jn.localeData=tn,Jn.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Jn.lang=Ze,R("X",0,0,"unix"),R("x",0,0,"valueOf"),ft("x",ct),ft("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),yt("x",(function(t,e,n){n._d=new Date(W(t))})),i.version="2.29.1",e=xe,i.fn=mn,i.min=function(){var t=[].slice.call(arguments,0);return Me("isBefore",t)},i.max=function(){var t=[].slice.call(arguments,0);return Me("isAfter",t)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(t){return xe(1e3*t)},i.months=function(t,e){return An(t,e,"months")},i.isDate=d,i.locale=oe,i.invalid=g,i.duration=Be,i.isMoment=C,i.weekdays=function(t,e,n){return vn(t,e,n,"weekdays")},i.parseZone=function(){return xe.apply(null,arguments).parseZone()},i.localeData=se,i.isDuration=Te,i.monthsShort=function(t,e){return An(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return vn(t,e,n,"weekdaysMin")},i.defineLocale=ae,i.updateLocale=function(t,e){if(null!=e){var n,l,i=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(O(ee[t]._config,e)):(null!=(l=re(t))&&(i=l._config),e=O(i,e),null==l&&(e.abbr=t),(n=new D(e)).parentLocale=ee[t],ee[t]=n),oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===oe()&&oe(t)):null!=ee[t]&&delete ee[t]);return ee[t]},i.locales=function(){return x(ee)},i.weekdaysShort=function(t,e,n){return vn(t,e,n,"weekdaysShort")},i.normalizeUnits=B,i.relativeTimeRounding=function(t){return void 0===t?Vn:"function"==typeof t&&(Vn=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},i.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=mn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n("YuTi")(t))},wtMG:function(t,e,n){"use strict";window.ol&&!ol.ext&&(ol.ext={});var l=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t};window.ol&&(ol.inherits||(ol.inherits=l)),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.Element&&!Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),e.a=l},x34R:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},x7D4:function(t,e,n){function l(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("Q80o")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var l="color: "+this.color;t.splice(1,0,l,"color: inherit");var i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(r=i))})),t.splice(r,0,l)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=l,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(l())},xWBw:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return u}));var l=n("CvXi"),i=n("JfHk"),r=n("/U2p");function o(t,e,n,i,o){var a=Object(l.s)(Object(l.j)(),t,e,n,i);return!!Object(l.F)(o,a)&&(!!Object(l.g)(o,a)||a[0]>=o[0]&&a[2]<=o[2]||a[1]>=o[1]&&a[3]<=o[3]||Object(r.a)(t,e,n,i,(function(t,e){return Object(l.G)(o,t,e)})))}function a(t,e,n,l,i){for(var r=0,a=n.length;r<a;++r){if(o(t,e,n[r],l,i))return!0;e=n[r]}return!1}function s(t,e,n,l,r){if(!function(t,e,n,l,r){return!!(o(t,e,n,l,r)||Object(i.b)(t,e,n,l,r[0],r[1])||Object(i.b)(t,e,n,l,r[0],r[3])||Object(i.b)(t,e,n,l,r[2],r[1])||Object(i.b)(t,e,n,l,r[2],r[3]))}(t,e,n[0],l,r))return!1;if(1===n.length)return!0;for(var a=1,s=n.length;a<s;++a)if(Object(i.a)(t,n[a-1],n[a],l,r)&&!o(t,n[a-1],n[a],l,r))return!1;return!0}function u(t,e,n,l,i){for(var r=0,o=n.length;r<o;++r){var a=n[r];if(s(t,e,a,l,i))return!0;e=a[a.length-1]}return!1}},xYTU:function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return A}));var l=n("8Y7J"),i=n("dFDH"),r=(n("QQfA"),n("SVse")),o=(n("IP0z"),n("zMNK")),a=(n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("Fwaw")),s=n("bujt"),u=n("5GAg"),c=n("omvX"),d=l.Bb({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function h(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function p(t){return l.Yb(0,[l.Ub(402653184,1,{_portalOutlet:0}),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(2,212992,[[1,4]],0,o.c,[l.m,l.Y],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(t,e,n){var i=!0;return"component:@state.done"===e&&(i=!1!==l.Pb(t,1).onAnimationEnd(n)&&i),i}),p,d)),l.Cb(1,180224,null,0,i.d,[l.G,l.p,l.j,i.c],null,null)],null,(function(t,e){t(e,0,0,l.Pb(e,1)._role,l.Pb(e,1)._animationState)}))}var b=l.zb("snack-bar-container",i.d,f,{},{},[]),m=l.Bb({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.action()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,a.b,[l.p,u.h,[2,c.a]],null,null),(t()(),l.Wb(3,0,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode),t(e,3,0,n.data.action)}))}function _(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(3,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,e.component.hasAction)}),(function(t,e){t(e,1,0,e.component.data.message)}))}function y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,_,m)),l.Cb(1,49152,null,0,i.g,[i.f,i.a],null,null)],null,null)}var A=l.zb("simple-snack-bar",i.g,y,{},{},[])},xfxu:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("AyJq"),a=n("c9fC"),s=n("8bJo"),u=n("SVse"),c=n("omvX"),d=n("5GAg");class h{transform(t){return t?Math.floor(t)+":"+Math.floor(60*t%60)+" min":""}}class p{transform(t){return t?Math.floor(.5399*t)+" nm":""}}n("G+Jc"),n("svHU"),n("rLOe"),n("7/LY"),n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return y}));var f=l.Bb({encapsulation:0,styles:[["#interception[_ngcontent-%COMP%]{left:0;width:100%;background-color:#fff;border-top:1px solid #ddd}#interception[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%]{height:auto!important;padding-top:5px;padding-bottom:5px}#interception[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{justify-content:space-between;align-items:center;color:#000;font-weight:500}#interception[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%] .interception-info[_ngcontent-%COMP%]{color:#666;font-size:12px}#interception[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;text-align:left}#interception[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:30px;border-bottom:1px solid #3880ff}#interception[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#666;font-size:12px}#interception[_ngcontent-%COMP%] .mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}#interception[_ngcontent-%COMP%] .mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important}#interception[_ngcontent-%COMP%] .mat-expansion-indicator::after{color:var(--ion-color-primary)}#interception[_ngcontent-%COMP%] div.mat-expansion-panel-body{padding:10px;background-color:#f0f0f0}"]],data:{}});function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["name","return-left"]],null,null,null,i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(3,null,[" "," "])),l.Sb(4,1)],(function(t,e){t(e,2,0,"return-left")}),(function(t,e){var n=l.Xb(e,3,0,t(e,4,0,l.Pb(e.parent.parent.parent,0),e.parent.parent.context.$implicit.ownPlaytime.playTime));t(e,3,0,n)}))}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""])),(t()(),l.Db(3,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),l.Wb(4,null,["",""])),l.Sb(5,1)],null,(function(t,e){t(e,2,0,e.context.$implicit.icao);var n=l.Xb(e,4,0,t(e,5,0,l.Pb(e.parent.parent.parent,0),e.context.$implicit.playTime));t(e,4,0,n)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,40,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"],[null,"closed"]],(function(t,e,n){var l=!0,i=t.component;return"opened"===e&&(l=!1!==i.openPlot(t.parent.context.$implicit)&&l),"closed"===e&&(l=!1!==i.closePlot(t.parent.context.$implicit)&&l),l}),o.d,o.a)),l.Cb(1,1753088,null,1,a.e,[[3,a.a],l.j,s.d,l.Y,u.d,[2,c.a],[2,a.b]],{expanded:[0,"expanded"]},{closed:"closed",opened:"opened"}),l.Ub(603979776,2,{_lazyContent:0}),l.Tb(256,null,a.a,void 0,[]),(t()(),l.Db(4,0,null,0,25,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,5)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,5)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,5)._animationStarted()&&i),i}),o.c,o.b)),l.Cb(5,180224,[[1,4]],0,a.f,[a.e,l.p,d.h,l.j,[2,a.b]],null,null),l.Rb(6,{collapsedHeight:0,expandedHeight:1}),l.Rb(7,{value:0,params:1}),(t()(),l.Db(8,0,null,0,21,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(9,16384,null,0,a.g,[],null,null),(t()(),l.Wb(10,null,[" "," "])),(t()(),l.Db(11,0,null,null,18,"div",[["class","interception-info"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,1,"ion-icon",[["name","timer"]],null,null,null,i.y,i.g)),l.Cb(14,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(15,null,[" "," "])),l.Sb(16,1),(t()(),l.Db(17,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,1,"ion-icon",[["name","locate"]],null,null,null,i.y,i.g)),l.Cb(19,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(20,null,[" ","/"," "])),l.Sb(21,2),l.Sb(22,2),(t()(),l.Db(23,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"ion-icon",[["name","resize"]],null,null,null,i.y,i.g)),l.Cb(25,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(26,null,[" "," "])),l.Sb(27,1),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(29,16384,null,0,u.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(30,0,null,1,10,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(31,0,null,null,9,"table",[],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,5,"thead",[],null,null,null,null,null)),(t()(),l.Db(33,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),l.Db(34,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Return Base"])),(t()(),l.Db(36,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PlayTime"])),(t()(),l.Db(38,0,null,null,2,"tbody",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(40,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,e.parent.context.$implicit.stopPoint.icao===e.component.icaoOfSelectedPlot),t(e,14,0,"timer"),t(e,19,0,"locate"),t(e,25,0,"resize"),t(e,29,0,e.parent.context.$implicit.ownPlaytime),t(e,40,0,e.parent.context.$implicit.playTimes)}),(function(t,e){t(e,0,0,l.Pb(e,1).expanded,"NoopAnimations"===l.Pb(e,1)._animationMode,l.Pb(e,1)._hasSpacing());var n=l.Pb(e,5).panel._headerId,i=l.Pb(e,5).disabled?-1:0,r=l.Pb(e,5)._getPanelId(),o=l.Pb(e,5)._isExpanded(),a=l.Pb(e,5).panel.disabled,s=l.Pb(e,5)._isExpanded(),u="after"===l.Pb(e,5)._getTogglePosition(),c="before"===l.Pb(e,5)._getTogglePosition(),d=l.Pb(e,5)._animationsDisabled,h=t(e,7,0,l.Pb(e,5)._getExpandedState(),t(e,6,0,l.Pb(e,5).collapsedHeight,l.Pb(e,5).expandedHeight));t(e,4,0,n,i,r,o,a,s,u,c,d,h),t(e,10,0,e.parent.context.$implicit.stopPoint.icao);var p=l.Xb(e,15,0,t(e,16,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.airforceReady+e.parent.context.$implicit.interceptionTime));t(e,15,0,p);var f=l.Xb(e,20,0,t(e,21,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.intercepPoint[1],"1.2-2")),b=l.Xb(e,20,1,t(e,22,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.intercepPoint[0],"1.2-2"));t(e,20,0,f,b);var m=l.Xb(e,26,0,t(e,27,0,l.Pb(e.parent.parent,2),e.parent.context.$implicit.interceptionDistance));t(e,26,0,m)}))}function _(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(2,16384,null,0,u.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,e.context.$implicit.playTimes.length>0)}),null)}function y(t){return l.Yb(0,[l.Qb(0,h,[]),l.Qb(0,u.f,[l.A]),l.Qb(0,p,[]),(t()(),l.Db(3,0,null,null,6,"div",[["id","interception"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),l.Tb(6144,null,a.a,null,[a.c]),l.Cb(6,1720320,null,1,a.c,[],null,null),l.Ub(603979776,1,{_headers:1}),(t()(),l.sb(16777216,null,null,1,null,_)),l.Cb(9,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,9,0,e.component.plots)}),null)}},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("DH7j"),r=n("n6bG"),o=n("lJxs");function a(t,e,n,s){return Object(r.a)(n)&&(s=n,n=void 0),s?a(t,e,n).pipe(Object(o.a)(t=>Object(i.a)(t)?s(...t):s(t))):new l.a(l=>{!function t(e,n,l,i,r){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,l,r),o=()=>t.removeEventListener(n,l,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,l),o=()=>t.off(n,l)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,l),o=()=>t.removeListener(n,l)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,l,i,r)}i.add(o)}(t,e,(function(t){l.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),l,n)})}},xhS3:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}aircraftControllerGetAircrafts$Response(e){const n=new o.a(this.rootUrl,t.AircraftControllerGetAircraftsPath,"get");return e&&n.query("icaos",e.icaos),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}aircraftControllerGetAircrafts(t){return this.aircraftControllerGetAircrafts$Response(t).pipe(Object(s.a)(t=>t.body))}aircraftControllerSetOverriders$Response(e){const n=new o.a(this.rootUrl,t.AircraftControllerSetOverridersPath,"post");return e&&(n.query("icao",e.icao),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}aircraftControllerSetOverriders(t){return this.aircraftControllerSetOverriders$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.AircraftControllerGetAircraftsPath="/aircrafts",t.AircraftControllerSetOverridersPath="/overriders",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("ngJS"),r=n("jZKg");function o(t,e){return e?Object(r.a)(t,e):new l.a(Object(i.a)(t))}},yKYT:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("sLNx");var l=n("wd/R");class i{constructor(t,e){this.replayTripService=t,this.ref=e,this.maxTimeLine=0,this.lineChartData=[{data:[],label:"Altitude"}],this.lineChartLabels=[],this.lineChartOptions={responsive:!0,elements:{point:{radius:0}},scales:{xAxes:[{display:!1}]}},this.lineChartColors=[{borderColor:"#f04141",backgroundColor:"rgba(244, 245, 248, 0.5)"}],this.lineChartLegend=!1,this.lineChartType="line",this.rangeOption={min:0,max:0,step:1,value:0}}ngOnInit(){this.rangeOption.max=this.replayTripService.positions.length-1,this.displayGraphAircraft(this.replayTripService.positions)}changePosition(t){this.replayTripService.updatePositions(t.detail.value),this.rangeOption.value=t.detail.value,this.ref.detectChanges()}closeReplay(){this.ref.detectChanges(),this.replayTripService.stopReplayTrip()}displayGraphAircraft(t){if(this.lineChartData[0].data=[],this.lineChartLabels=[],t){let e=[],n=[];t.forEach(t=>{e.push(t.altitude),n.push(l(t.updatedAt).utc().format("HH:mm:ss"))}),this.lineChartData[0].data=e,this.lineChartLabels=n}}}},yPMs:function(t,e,n){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},yRz6:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.getOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.replaceOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.deleteOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.updateOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypePresenceControllerNotificationTypePresencePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.getManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.createOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypePresenceControllerNotificationTypePresencePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.createManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.ReplaceOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.DeleteOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.UpdateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.GetManyBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence",t.CreateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence",t.CreateManyBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},yUaI:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("6Y3p"),o=n("CvXi"),a=n("9iPr"),s=n("mrzG"),u=n("vvg4"),c=n("94wz"),d=n("3er3"),h=n("qJZF"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n,l,i,r,o,a){var s=t.call(this)||this;return s.context_=e,s.pixelRatio_=n,s.extent_=l,s.transform_=i,s.viewRotation_=r,s.squaredTolerance_=o,s.userTransform_=a,s.contextFillState_=null,s.contextStrokeState_=null,s.contextTextState_=null,s.fillState_=null,s.strokeState_=null,s.image_=null,s.imageAnchorX_=0,s.imageAnchorY_=0,s.imageHeight_=0,s.imageOpacity_=0,s.imageOriginX_=0,s.imageOriginY_=0,s.imageRotateWithView_=!1,s.imageRotation_=0,s.imageScale_=0,s.imageWidth_=0,s.text_="",s.textOffsetX_=0,s.textOffsetY_=0,s.textRotateWithView_=!1,s.textRotation_=0,s.textScale_=0,s.textFillState_=null,s.textStrokeState_=null,s.textState_=null,s.pixelCoordinates_=[],s.tmpLocalTransform_=Object(h.c)(),s}return p(e,t),e.prototype.drawImages_=function(t,e,n,l){if(this.image_){var i=Object(u.c)(t,e,n,2,this.transform_,this.pixelCoordinates_),r=this.context_,o=this.tmpLocalTransform_,a=r.globalAlpha;1!=this.imageOpacity_&&(r.globalAlpha=a*this.imageOpacity_);var s=this.imageRotation_;this.imageRotateWithView_&&(s+=this.viewRotation_);for(var c=0,d=i.length;c<d;c+=2){var p=i[c]-this.imageAnchorX_,f=i[c+1]-this.imageAnchorY_;if(0!==s||1!=this.imageScale_){var b=p+this.imageAnchorX_,m=f+this.imageAnchorY_;Object(h.b)(o,b,m,this.imageScale_,this.imageScale_,s,-b,-m),r.setTransform.apply(r,o)}r.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,p,f,this.imageWidth_,this.imageHeight_)}0===s&&1==this.imageScale_||r.setTransform(1,0,0,1,0,0),1!=this.imageOpacity_&&(r.globalAlpha=a)}},e.prototype.drawText_=function(t,e,n,l){if(this.textState_&&""!==this.text_){this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);var i=Object(u.c)(t,e,n,l,this.transform_,this.pixelCoordinates_),r=this.context_,o=this.textRotation_;for(this.textRotateWithView_&&(o+=this.viewRotation_);e<n;e+=l){var a=i[e]+this.textOffsetX_,s=i[e+1]+this.textOffsetY_;if(0!==o||1!=this.textScale_){var c=Object(h.b)(this.tmpLocalTransform_,a,s,this.textScale_,this.textScale_,o,-a,-s);r.setTransform.apply(r,c)}this.textStrokeState_&&r.strokeText(this.text_,a,s),this.textFillState_&&r.fillText(this.text_,a,s)}0===o&&1==this.textScale_||r.setTransform(1,0,0,1,0,0)}},e.prototype.moveToLineTo_=function(t,e,n,l,i){var r=this.context_,o=Object(u.c)(t,e,n,l,this.transform_,this.pixelCoordinates_);r.moveTo(o[0],o[1]);var a=o.length;i&&(a-=2);for(var s=2;s<a;s+=2)r.lineTo(o[s],o[s+1]);return i&&r.closePath(),n},e.prototype.drawRings_=function(t,e,n,l){for(var i=0,r=n.length;i<r;++i)e=this.moveToLineTo_(t,e,n[i],l,!0);return e},e.prototype.drawCircle=function(t){if(Object(o.F)(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=Object(s.b)(t,this.transform_,this.pixelCoordinates_),n=e[2]-e[0],l=e[3]-e[1],i=Math.sqrt(n*n+l*l),r=this.context_;r.beginPath(),r.arc(e[0],e[1],i,0,2*Math.PI),this.fillState_&&r.fill(),this.strokeState_&&r.stroke()}""!==this.text_&&this.drawText_(t.getCenter(),0,2,2)}},e.prototype.setStyle=function(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())},e.prototype.setTransform=function(t){this.transform_=t},e.prototype.drawGeometry=function(t){switch(t.getType()){case a.a.POINT:this.drawPoint(t);break;case a.a.LINE_STRING:this.drawLineString(t);break;case a.a.POLYGON:this.drawPolygon(t);break;case a.a.MULTI_POINT:this.drawMultiPoint(t);break;case a.a.MULTI_LINE_STRING:this.drawMultiLineString(t);break;case a.a.MULTI_POLYGON:this.drawMultiPolygon(t);break;case a.a.GEOMETRY_COLLECTION:this.drawGeometryCollection(t);break;case a.a.CIRCLE:this.drawCircle(t)}},e.prototype.drawFeature=function(t,e){var n=e.getGeometryFunction()(t);n&&Object(o.F)(this.extent_,n.getExtent())&&(this.setStyle(e),this.drawGeometry(n))},e.prototype.drawGeometryCollection=function(t){for(var e=t.getGeometriesArray(),n=0,l=e.length;n<l;++n)this.drawGeometry(e[n])},e.prototype.drawPoint=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getFlatCoordinates(),n=t.getStride();this.image_&&this.drawImages_(e,0,e.length,n),""!==this.text_&&this.drawText_(e,0,e.length,n)},e.prototype.drawMultiPoint=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getFlatCoordinates(),n=t.getStride();this.image_&&this.drawImages_(e,0,e.length,n),""!==this.text_&&this.drawText_(e,0,e.length,n)},e.prototype.drawLineString=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(o.F)(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var e=this.context_,n=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(n,0,n.length,t.getStride(),!1),e.stroke()}if(""!==this.text_){var l=t.getFlatMidpoint();this.drawText_(l,0,2,2)}}},e.prototype.drawMultiLineString=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getExtent();if(Object(o.F)(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var n=this.context_,l=t.getFlatCoordinates(),i=0,r=t.getEnds(),a=t.getStride();n.beginPath();for(var s=0,u=r.length;s<u;++s)i=this.moveToLineTo_(l,i,r[s],a,!1);n.stroke()}if(""!==this.text_){var c=t.getFlatMidpoints();this.drawText_(c,0,c.length,2)}}},e.prototype.drawPolygon=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(o.F)(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){var n=t.getFlatInteriorPoint();this.drawText_(n,0,2,2)}}},e.prototype.drawMultiPolygon=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(o.F)(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=this.context_,n=t.getOrientedFlatCoordinates(),l=0,i=t.getEndss(),r=t.getStride();e.beginPath();for(var a=0,s=i.length;a<s;++a)l=this.drawRings_(n,l,i[a],r);this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){var u=t.getFlatInteriorPoints();this.drawText_(u,0,u.length,2)}}},e.prototype.setContextFillState_=function(t){var e=this.context_,n=this.contextFillState_;n?n.fillStyle!=t.fillStyle&&(n.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})},e.prototype.setContextStrokeState_=function(t){var e=this.context_,n=this.contextStrokeState_;n?(n.lineCap!=t.lineCap&&(n.lineCap=t.lineCap,e.lineCap=t.lineCap),e.setLineDash&&(Object(i.b)(n.lineDash,t.lineDash)||e.setLineDash(n.lineDash=t.lineDash),n.lineDashOffset!=t.lineDashOffset&&(n.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset)),n.lineJoin!=t.lineJoin&&(n.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),n.lineWidth!=t.lineWidth&&(n.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),n.miterLimit!=t.miterLimit&&(n.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),n.strokeStyle!=t.strokeStyle&&(n.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})},e.prototype.setContextTextState_=function(t){var e=this.context_,n=this.contextTextState_,l=t.textAlign?t.textAlign:d.m;n?(n.font!=t.font&&(n.font=t.font,e.font=t.font),n.textAlign!=l&&(n.textAlign=l,e.textAlign=l),n.textBaseline!=t.textBaseline&&(n.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=l,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:l,textBaseline:t.textBaseline})},e.prototype.setFillStrokeStyle=function(t,e){if(t){var n=t.getColor();this.fillState_={fillStyle:Object(r.a)(n||d.c)}}else this.fillState_=null;if(e){var l=e.getColor(),i=e.getLineCap(),o=e.getLineDash(),a=e.getLineDashOffset(),s=e.getLineJoin(),u=e.getWidth(),c=e.getMiterLimit();this.strokeState_={lineCap:void 0!==i?i:d.e,lineDash:o||d.f,lineDashOffset:a||d.g,lineJoin:void 0!==s?s:d.h,lineWidth:this.pixelRatio_*(void 0!==u?u:d.i),miterLimit:void 0!==c?c:d.j,strokeStyle:Object(r.a)(l||d.l)}}else this.strokeState_=null},e.prototype.setImageStyle=function(t){if(t){var e=t.getAnchor(),n=t.getImage(1),l=t.getOrigin(),i=t.getSize();this.imageAnchorX_=e[0],this.imageAnchorY_=e[1],this.imageHeight_=i[1],this.image_=n,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=l[0],this.imageOriginY_=l[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation(),this.imageScale_=t.getScale()*this.pixelRatio_,this.imageWidth_=i[0]}else this.image_=null},e.prototype.setTextStyle=function(t){if(t){var e=t.getFill();if(e){var n=e.getColor();this.textFillState_={fillStyle:Object(r.a)(n||d.c)}}else this.textFillState_=null;var l=t.getStroke();if(l){var i=l.getColor(),o=l.getLineCap(),a=l.getLineDash(),s=l.getLineDashOffset(),u=l.getLineJoin(),c=l.getWidth(),h=l.getMiterLimit();this.textStrokeState_={lineCap:void 0!==o?o:d.e,lineDash:a||d.f,lineDashOffset:s||d.g,lineJoin:void 0!==u?u:d.h,lineWidth:void 0!==c?c:d.i,miterLimit:void 0!==h?h:d.j,strokeStyle:Object(r.a)(i||d.l)}}else this.textStrokeState_=null;var p=t.getFont(),f=t.getOffsetX(),b=t.getOffsetY(),m=t.getRotateWithView(),g=t.getRotation(),_=t.getScale(),y=t.getText(),A=t.getTextAlign(),v=t.getTextBaseline();this.textState_={font:void 0!==p?p:d.d,textAlign:void 0!==A?A:d.m,textBaseline:void 0!==v?v:d.n},this.text_=void 0!==y?y:"",this.textOffsetX_=void 0!==f?this.pixelRatio_*f:0,this.textOffsetY_=void 0!==b?this.pixelRatio_*b:0,this.textRotateWithView_=void 0!==m&&m,this.textRotation_=void 0!==g?g:0,this.textScale_=this.pixelRatio_*(void 0!==_?_:1)}else this.text_=""},e}(c.a);e.a=f},yWMr:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var l=n("8Y7J"),i=n("lwm9"),r=n("SVse"),o=(n("QQfA"),n("IP0z"),n("zMNK")),a=(n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("5GAg")),s=n("7QIX"),u=l.Bb({encapsulation:2,styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}@media (-ms-high-contrast:active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium,.mat-bottom-sheet-container-xlarge{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"visible => void, visible => hidden",animation:{type:4,styles:null,timings:"375ms cubic-bezier(0.4,0.0,1,1)"},options:null},{type:1,expr:"void => visible",animation:{type:4,styles:null,timings:"195ms cubic-bezier(0.0,0.0,0.2,1)"},options:null}],options:{}}]}});function c(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(2,[l.Ub(402653184,1,{_portalOutlet:0}),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(2,212992,[[1,4]],0,o.c,[l.m,l.Y],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-bottom-sheet-container",[["aria-modal","true"],["class","mat-bottom-sheet-container"],["role","dialog"],["tabindex","-1"]],[[1,"aria-label",0],[40,"@state",0]],[["component","@state.start"],["component","@state.done"]],(function(t,e,n){var i=!0;return"component:@state.start"===e&&(i=!1!==l.Pb(t,1)._onAnimationStart(n)&&i),"component:@state.done"===e&&(i=!1!==l.Pb(t,1)._onAnimationDone(n)&&i),i}),d,u)),l.Cb(1,180224,null,0,i.b,[l.p,l.j,a.i,s.a,[2,r.d],i.a],null,null)],null,(function(t,e){t(e,0,0,null==l.Pb(e,1).bottomSheetConfig?null:l.Pb(e,1).bottomSheetConfig.ariaLabel,l.Pb(e,1)._animationState)}))}var p=l.zb("mat-bottom-sheet-container",i.b,h,{},{},[])},yWvm:function(t,e,n){var l,i,r;i=[n("Rj0l")],void 0===(r="function"==typeof(l=function(t){"use strict";function e(e,n){var l,i,r,o=/[NSEW\-]/,a={};if(l=t.dmsToDecimal(e),i=t.dmsToDecimal(n),l<-90||l>90)throw"Latitude out of bounds: "+l;if(i<-180||i>180)throw"Longitude out of bounds: "+i;return"S"!==(r=e.match(o))[0]&&"-"!==r[0]||(l*=-1),a.latitude=l,"W"!==(r=n.match(o))[0]&&"-"!==r[0]||(i*=-1),a.longitude=i,a}return function(n){return t=t(n),e}})?l.apply(e,i):l)||(t.exports=r)},yeub:function(t,e){try{t.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(n){t.exports=!1}},ykKD:function(t,e,n){"use strict";function l(t){return Math.pow(t,3)}function i(t){return 1-l(1-t)}function r(t){return 3*t*t-2*t*t*t}function o(t){return t}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o}))},yotz:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return T}));var l=n("SVse"),i=n("8Y7J"),r=n("XNiG"),o=n("VRyK"),a=n("EY2u"),s=n("HDdC"),u=(n("xgIS"),n("vkgz")),c=n("w1tV"),d=n("JX91"),h=n("lJxs"),p=n("eIep"),f=n("3UWI"),b=n("1G5W"),m=n("5+tZ"),g=n("IzEk"),_=n("Zy1z"),y=n("pLZG");const A=(()=>"undefined"!=typeof window&&("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0))();function v(t,e,n=3){return Math.abs(t-e)<n}function C(t,e,n,l){const i={top:t.top,bottom:t.bottom,left:t.left,right:t.right};return e.top&&(i.top+=l),e.bottom&&(i.bottom+=l),e.left&&(i.left+=n),e.right&&(i.right+=n),i.height=i.bottom-i.top,i.width=i.right-i.left,i}function w({clientY:t,rect:e}){return t>=e.top&&t<=e.bottom}function P({clientX:t,rect:e}){return t>=e.left&&t<=e.right}function x({clientX:t,clientY:e,elm:n,allowedEdges:l,cursorPrecision:i}){const r=n.nativeElement.getBoundingClientRect(),o={};return l.left&&v(t,r.left,i)&&w({clientY:e,rect:r})&&(o.left=!0),l.right&&v(t,r.right,i)&&w({clientY:e,rect:r})&&(o.right=!0),l.top&&v(e,r.top,i)&&P({clientX:t,rect:r})&&(o.top=!0),l.bottom&&v(e,r.bottom,i)&&P({clientX:t,rect:r})&&(o.bottom=!0),o}const S=Object.freeze({topLeft:"nw-resize",topRight:"ne-resize",bottomLeft:"sw-resize",bottomRight:"se-resize",leftOrRight:"col-resize",topOrBottom:"row-resize"});function k(t,e){return t.left&&t.top?e.topLeft:t.right&&t.top?e.topRight:t.left&&t.bottom?e.bottomLeft:t.right&&t.bottom?e.bottomRight:t.left||t.right?e.leftOrRight:t.top||t.bottom?e.topOrBottom:""}function M({edges:t,initialRectangle:e,newRectangle:n}){const l={};return Object.keys(t).forEach(t=>{l[t]=(n[t]||0)-(e[t]||0)}),l}class O{constructor(t,e,n,l){this.platformId=t,this.renderer=e,this.elm=n,this.zone=l,this.resizeEdges={},this.enableGhostResize=!1,this.resizeSnapGrid={},this.resizeCursors=S,this.resizeCursorPrecision=3,this.ghostElementPositioning="fixed",this.allowNegativeResizes=!1,this.mouseMoveThrottleMS=50,this.resizeStart=new i.r,this.resizing=new i.r,this.resizeEnd=new i.r,this.mouseup=new r.a,this.mousedown=new r.a,this.mousemove=new r.a,this.destroy$=new r.a,this.resizeEdges$=new r.a,this.pointerEventListeners=D.getInstance(e,l)}ngOnInit(){const t=Object(o.a)(this.pointerEventListeners.pointerDown,this.mousedown),e=Object(o.a)(this.pointerEventListeners.pointerMove,this.mousemove).pipe(Object(u.a)(({event:t})=>{l&&t.preventDefault()}),Object(c.a)()),n=Object(o.a)(this.pointerEventListeners.pointerUp,this.mouseup);let l;const i=()=>{l&&l.clonedNode&&(this.elm.nativeElement.parentElement.removeChild(l.clonedNode),this.renderer.setStyle(this.elm.nativeElement,"visibility","inherit"))},r=()=>Object.assign({},S,this.resizeCursors);this.resizeEdges$.pipe(Object(d.a)(this.resizeEdges),Object(h.a)(()=>this.resizeEdges&&Object.keys(this.resizeEdges).some(t=>!!this.resizeEdges[t])),Object(p.a)(t=>t?e:a.a),Object(f.a)(this.mouseMoveThrottleMS),Object(b.a)(this.destroy$)).subscribe(({clientX:t,clientY:e})=>{const n=x({clientX:t,clientY:e,elm:this.elm,allowedEdges:this.resizeEdges,cursorPrecision:this.resizeCursorPrecision}),i=r();if(!l){const t=k(n,i);this.renderer.setStyle(this.elm.nativeElement,"cursor",t)}this.setElementClass(this.elm,"resize-left-hover",!0===n.left),this.setElementClass(this.elm,"resize-right-hover",!0===n.right),this.setElementClass(this.elm,"resize-top-hover",!0===n.top),this.setElementClass(this.elm,"resize-bottom-hover",!0===n.bottom)}),t.pipe(Object(m.a)(i=>{function r(t){return{clientX:t.clientX-i.clientX,clientY:t.clientY-i.clientY}}const a=()=>{const t={x:1,y:1};return l&&(this.resizeSnapGrid.left&&l.edges.left?t.x=+this.resizeSnapGrid.left:this.resizeSnapGrid.right&&l.edges.right&&(t.x=+this.resizeSnapGrid.right),this.resizeSnapGrid.top&&l.edges.top?t.y=+this.resizeSnapGrid.top:this.resizeSnapGrid.bottom&&l.edges.bottom&&(t.y=+this.resizeSnapGrid.bottom)),t};function s(t,e){return{x:Math.ceil(t.clientX/e.x),y:Math.ceil(t.clientY/e.y)}}return Object(o.a)(e.pipe(Object(g.a)(1)).pipe(Object(h.a)(t=>[,t])),e.pipe(Object(_.a)())).pipe(Object(h.a)(([t,e])=>[t?r(t):t,r(e)])).pipe(Object(y.a)(([t,e])=>{if(!t)return!0;const n=a(),l=s(t,n),i=s(e,n);return l.x!==i.x||l.y!==i.y})).pipe(Object(h.a)(([,t])=>{const e=a();return{clientX:Math.round(t.clientX/e.x)*e.x,clientY:Math.round(t.clientY/e.y)*e.y}})).pipe(Object(b.a)(Object(o.a)(n,t)))})).pipe(Object(y.a)(()=>!!l)).pipe(Object(h.a)(({clientX:t,clientY:e})=>C(l.startingRect,l.edges,t,e))).pipe(Object(y.a)(t=>this.allowNegativeResizes||!!(t.height&&t.width&&t.height>0&&t.width>0))).pipe(Object(y.a)(t=>!this.validateResize||this.validateResize({rectangle:t,edges:M({edges:l.edges,initialRectangle:l.startingRect,newRectangle:t})})),Object(b.a)(this.destroy$)).subscribe(t=>{l&&l.clonedNode&&(this.renderer.setStyle(l.clonedNode,"height",t.height+"px"),this.renderer.setStyle(l.clonedNode,"width",t.width+"px"),this.renderer.setStyle(l.clonedNode,"top",t.top+"px"),this.renderer.setStyle(l.clonedNode,"left",t.left+"px")),this.resizing.observers.length>0&&this.zone.run(()=>{this.resizing.emit({edges:M({edges:l.edges,initialRectangle:l.startingRect,newRectangle:t}),rectangle:t})}),l.currentRect=t}),t.pipe(Object(h.a)(({clientX:t,clientY:e,edges:n})=>n||x({clientX:t,clientY:e,elm:this.elm,allowedEdges:this.resizeEdges,cursorPrecision:this.resizeCursorPrecision}))).pipe(Object(y.a)(t=>Object.keys(t).length>0),Object(b.a)(this.destroy$)).subscribe(t=>{l&&i();const e=function(t,e){let n=0,l=0;const i=t.nativeElement.style,r=["transform","-ms-transform","-moz-transform","-o-transform"].map(t=>i[t]).find(t=>!!t);if(r&&r.includes("translate")&&(n=r.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$1"),l=r.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$2")),"absolute"===e)return{height:t.nativeElement.offsetHeight,width:t.nativeElement.offsetWidth,top:t.nativeElement.offsetTop-l,bottom:t.nativeElement.offsetHeight+t.nativeElement.offsetTop-l,left:t.nativeElement.offsetLeft-n,right:t.nativeElement.offsetWidth+t.nativeElement.offsetLeft-n};{const e=t.nativeElement.getBoundingClientRect();return{height:e.height,width:e.width,top:e.top-l,bottom:e.bottom-l,left:e.left-n,right:e.right-n,scrollTop:t.nativeElement.scrollTop,scrollLeft:t.nativeElement.scrollLeft}}}(this.elm,this.ghostElementPositioning);l={edges:t,startingRect:e,currentRect:e};const n=r(),o=k(l.edges,n);this.renderer.setStyle(document.body,"cursor",o),this.setElementClass(this.elm,"resize-active",!0),this.enableGhostResize&&(l.clonedNode=this.elm.nativeElement.cloneNode(!0),this.elm.nativeElement.parentElement.appendChild(l.clonedNode),this.renderer.setStyle(this.elm.nativeElement,"visibility","hidden"),this.renderer.setStyle(l.clonedNode,"position",this.ghostElementPositioning),this.renderer.setStyle(l.clonedNode,"left",l.startingRect.left+"px"),this.renderer.setStyle(l.clonedNode,"top",l.startingRect.top+"px"),this.renderer.setStyle(l.clonedNode,"height",l.startingRect.height+"px"),this.renderer.setStyle(l.clonedNode,"width",l.startingRect.width+"px"),this.renderer.setStyle(l.clonedNode,"cursor",k(l.edges,n)),this.renderer.addClass(l.clonedNode,"resize-ghost-element"),l.clonedNode.scrollTop=l.startingRect.scrollTop,l.clonedNode.scrollLeft=l.startingRect.scrollLeft),this.resizeStart.observers.length>0&&this.zone.run(()=>{this.resizeStart.emit({edges:M({edges:t,initialRectangle:e,newRectangle:e}),rectangle:C(e,{},0,0)})})}),n.pipe(Object(b.a)(this.destroy$)).subscribe(()=>{l&&(this.renderer.removeClass(this.elm.nativeElement,"resize-active"),this.renderer.setStyle(document.body,"cursor",""),this.renderer.setStyle(this.elm.nativeElement,"cursor",""),this.resizeEnd.observers.length>0&&this.zone.run(()=>{this.resizeEnd.emit({edges:M({edges:l.edges,initialRectangle:l.startingRect,newRectangle:l.currentRect}),rectangle:l.currentRect})}),i(),l=null)})}ngOnChanges(t){t.resizeEdges&&this.resizeEdges$.next(this.resizeEdges)}ngOnDestroy(){Object(l.y)(this.platformId)&&this.renderer.setStyle(document.body,"cursor",""),this.mousedown.complete(),this.mouseup.complete(),this.mousemove.complete(),this.resizeEdges$.complete(),this.destroy$.next()}setElementClass(t,e,n){n?this.renderer.addClass(t.nativeElement,e):this.renderer.removeClass(t.nativeElement,e)}}class D{static getInstance(t,e){return D.instance||(D.instance=new D(t,e)),D.instance}constructor(t,e){this.pointerDown=new s.a(n=>{let l,i;return e.runOutsideAngular(()=>{l=t.listen("document","mousedown",t=>{n.next({clientX:t.clientX,clientY:t.clientY,event:t})}),A&&(i=t.listen("document","touchstart",t=>{n.next({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY,event:t})}))}),()=>{l(),A&&i()}}).pipe(Object(c.a)()),this.pointerMove=new s.a(n=>{let l,i;return e.runOutsideAngular(()=>{l=t.listen("document","mousemove",t=>{n.next({clientX:t.clientX,clientY:t.clientY,event:t})}),A&&(i=t.listen("document","touchmove",t=>{n.next({clientX:t.targetTouches[0].clientX,clientY:t.targetTouches[0].clientY,event:t})}))}),()=>{l(),A&&i()}}).pipe(Object(c.a)()),this.pointerUp=new s.a(n=>{let l,i,r;return e.runOutsideAngular(()=>{l=t.listen("document","mouseup",t=>{n.next({clientX:t.clientX,clientY:t.clientY,event:t})}),A&&(i=t.listen("document","touchend",t=>{n.next({clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,event:t})}),r=t.listen("document","touchcancel",t=>{n.next({clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,event:t})}))}),()=>{l(),A&&(i(),r())}}).pipe(Object(c.a)())}}class T{}},ypnn:function(t,e){t.exports=function(t,e,n){var l=t.byteLength;if(e=e||0,n=n||l,t.slice)return t.slice(e,n);if(e<0&&(e+=l),n<0&&(n+=l),n>l&&(n=l),e>=l||e>=n||0===l)return new ArrayBuffer(0);for(var i=new Uint8Array(t),r=new Uint8Array(n-e),o=e,a=0;o<n;o++,a++)r[a]=i[o];return r.buffer}},"z+Ro":function(t,e,n){"use strict";function l(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return l}))},z1FC:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return l||e?i[n][0]:i[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,l,i){var r=function(t){var n=Math.floor(t%1e3/100),l=Math.floor(t%100/10),i=t%10,r="";return n>0&&(r+=e[n]+"vatlh"),l>0&&(r+=(""!==r?" ":"")+e[l]+"maH"),i>0&&(r+=(""!==r?" ":"")+e[i]),""===r?"pagh":r}(t);switch(l){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("HDdC");function i(t,e){return new l.a(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},zJ60:function(t,e,n){var l=n("Uxeu"),i=n("x7D4")("socket.io-client:url");t.exports=function(t,e){var n=t;e=e||"undefined"!=typeof location&&location,null==t&&(t=e.protocol+"//"+e.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?e.protocol+t:e.host+t),/^(https?|wss?):\/\//.test(t)||(i("protocol-less url %s",t),t=void 0!==e?e.protocol+"//"+t:"https://"+t),i("parse %s",t),n=l(t)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";var r=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+r+":"+n.port,n.href=n.protocol+"://"+r+(e&&e.port===n.port?"":":"+n.port),n}},zMFY:function(t,e){function n(){}t.exports=function(t,e,l){var i=!1;return l=l||n,r.count=t,0===t?e():r;function r(t,n){if(r.count<=0)throw new Error("after called too many times");--r.count,t?(i=!0,e(t),e=l):0!==r.count||i||e(null,n)}}},zMNK:function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return d})),n.d(e,"g",(function(){return h})),n.d(e,"f",(function(){return p}));var l=n("8Y7J");function i(){throw Error("Host already has a portal attached")}class r{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&i(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,l){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=l}}class a extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class s{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends s{constructor(t,e,n,l){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=l}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class c extends a{constructor(t,e){super(t,e)}}class d extends s{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new l.r}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),l=e.createComponent(n,e.length,t.injector||e.injector);return super.setDisposeFn(()=>l.destroy()),this._attachedPortal=t,this._attachedRef=l,this.attached.emit(l),l}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}}class h{}class p{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}},zQui:function(t,e,n){"use strict";n.d(e,"r",(function(){return F})),n.d(e,"t",(function(){return N})),n.d(e,"s",(function(){return Y})),n.d(e,"o",(function(){return U})),n.d(e,"b",(function(){return h})),n.d(e,"j",(function(){return p})),n.d(e,"f",(function(){return f})),n.d(e,"d",(function(){return g})),n.d(e,"i",(function(){return y})),n.d(e,"e",(function(){return A})),n.d(e,"a",(function(){return v})),n.d(e,"l",(function(){return x})),n.d(e,"h",(function(){return M})),n.d(e,"n",(function(){return O})),n.d(e,"c",(function(){return D})),n.d(e,"k",(function(){return T})),n.d(e,"g",(function(){return E})),n.d(e,"m",(function(){return I})),n.d(e,"p",(function(){return H})),n.d(e,"u",(function(){return z})),n.d(e,"q",(function(){return G}));var l=n("KCVW"),i=n("8Y7J"),r=n("8bJo"),o=n("XNiG"),a=n("2Vo4"),s=n("HDdC"),u=n("LRne"),c=n("1G5W");function d(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(l.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}class h{constructor(t){this.template=t}}class p{constructor(t){this.template=t}}class f{constructor(t){this.template=t}}class b{}const m=d(b);class g extends m{constructor(){super(...arguments),this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(l.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}class _{constructor(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}}class y extends _{constructor(t,e){super(t,e)}}class A extends _{constructor(t,e){super(t,e)}}class v extends _{constructor(t,e){super(t,e)}}class C{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof x?t.headerCell.template:this instanceof M?t.footerCell.template:t.cell.template}}class w extends C{}const P=d(w);class x extends P{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}class S extends C{}const k=d(S);class M extends k{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}class O extends C{constructor(t,e){super(t,e)}}let D=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.mostRecentCellOutlet=null,t})();class T{}class E{}class I{}const L=["top","bottom","left","right"];class j{constructor(t,e,n,l=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._isBrowser=l}clearStickyPositioning(t,e){for(const n of t)if(n.nodeType===n.ELEMENT_NODE){this._removeStickyStyle(n,e);for(let t=0;t<n.children.length;t++)this._removeStickyStyle(n.children[t],e)}}updateStickyColumns(t,e,n){const l=e.some(t=>t)||n.some(t=>t);if(!t.length||!l||!this._isBrowser)return;const i=t[0],r=i.children.length,o=this._getCellWidths(i),a=this._getStickyStartColumnPositions(o,e),s=this._getStickyEndColumnPositions(o,n),u="rtl"===this.direction;for(const c of t)for(let t=0;t<r;t++){const l=c.children[t];e[t]&&this._addStickyStyle(l,u?"right":"left",a[t]),n[t]&&this._addStickyStyle(l,u?"left":"right",s[t])}}stickRows(t,e,n){if(!this._isBrowser)return;const l="bottom"===n?t.reverse():t;let i=0;for(let r=0;r<l.length;r++){if(!e[r])continue;const t=l[r];if(this._isNativeHtmlTable)for(let e=0;e<t.children.length;e++)this._addStickyStyle(t.children[e],n,i);else this._addStickyStyle(t,n,i);if(r===l.length-1)return;i+=t.getBoundingClientRect().height}}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector("tfoot");e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}_removeStickyStyle(t,e){for(const n of e)t.style[n]="";t.style.zIndex=this._getCalculatedZIndex(t),L.some(e=>!!t.style[e])||(t.style.position="",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const l of L)t.style[l]&&(n+=e[l]);return n?""+n:""}_getCellWidths(t){const e=[],n=t.children;for(let l=0;l<n.length;l++)e.push(n[l].getBoundingClientRect().width);return e}_getStickyStartColumnPositions(t,e){const n=[];let l=0;for(let i=0;i<t.length;i++)e[i]&&(n[i]=l,l+=t[i]);return n}_getStickyEndColumnPositions(t,e){const n=[];let l=0;for(let i=t.length;i>0;i--)e[i]&&(n[i]=l,l+=t[i]);return n}}function R(t){return Error(`Could not find column with id "${t}".`)}class F{constructor(t,e){this.viewContainer=t,this.elementRef=e}}class N{constructor(t,e){this.viewContainer=t,this.elementRef=e}}class Y{constructor(t,e){this.viewContainer=t,this.elementRef=e}}class U{constructor(t,e,n,l,i,r,s){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=i,this._platform=s,this._onDestroy=new o.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new a.a({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){Object(i.hb)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(l.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,n,l)=>{if(null==t.previousIndex)this._insertRow(t.item,l);else if(null==l)e.remove(n);else{const t=e.get(n);e.move(t,l)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let l=0;l<e.length;l++)this._renderRows[l].rowDef===t&&n.push(e[l]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let l=this._data[n];const i=this._getRenderRowsForData(l,n,e.get(l));this._cachedRenderRowsMap.has(l)||this._cachedRenderRowsMap.set(l,new WeakMap);for(let e=0;e<i.length;e++){let n=i[e];const l=this._cachedRenderRowsMap.get(n.data);l.has(n.rowDef)?l.get(n.rowDef).push(n):l.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(l=>{const i=n&&n.has(l)?n.get(l):[];if(i.length){const t=i.shift();return t.dataIndex=e,t}return{data:t,rowDef:l,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),B(this._contentColumnDefs,this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: "${t.name}".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=B(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=B(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=B(this._contentRowDefs,this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;if(Object(r.e)(this.dataSource)?t=this.dataSource.connect(this):this.dataSource instanceof s.a?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(u.a)(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(c.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw R(t);return e}),l=n.map(t=>t.sticky),i=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,l,i)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const l=t.viewContainer.get(n);e.push(l.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let l=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;l&&n.push(l)}if(!n.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return n}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,n,l={}){t.viewContainer.createEmbeddedView(e.template,l,n);for(let i of this._getCellTemplates(e))D.mostRecentCellOutlet&&D.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,l);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const l=t.get(e).context;l.count=n,l.first=0===e,l.last=e===n-1,l.even=e%2==0,l.odd=!l.even,this.multiTemplateDataRows?(l.dataIndex=this._renderRows[e].dataIndex,l.renderIndex=e):l.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);if(!n)throw R(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup"),e.appendChild(n.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new j(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(u.a)()).pipe(Object(c.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}}function B(t,e){return t.toArray().concat(Array.from(e))}const z=new i.w("text-column-options");class G{constructor(t,e){this._table=t,this._options=e,this.justify="start",this._options=e||{}}get name(){return this._name}set name(t){this._name=t,this._syncColumnDefName()}ngOnInit(){if(this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((t,e)=>t[e])),!this._table)throw Error("Text column could not find a parent table for registration.");this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef)}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const t=this.name;if(Object(i.hb)()&&!t)throw Error("Table text column must have a name.");return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}class H{}},zX6e:function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"f",(function(){return c}));var l="ol-hidden",i="ol-selectable",r="ol-unselectable",o="ol-control",a="ol-collapsed",s=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),u=["style","variant","weight","size","lineHeight","family"],c=function(t){var e=t.match(s);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},l=0,i=u.length;l<i;++l){var r=e[l+1];void 0!==r&&(n[u[l]]=r)}return n.families=n.family.split(/,\s?/),n}},zbXB:function(t,e,n){"use strict";n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return I})),n.d(e,"c",(function(){return L})),n.d(e,"f",(function(){return j})),n.d(e,"d",(function(){return R})),n.d(e,"e",(function(){return N}));var l=n("8Y7J"),i=n("821u"),r=(n("t68o"),n("SVse")),o=(n("QQfA"),n("IP0z")),a=(n("s6ns"),n("POq0")),s=n("Xd0L"),u=(n("cUpR"),n("/HVE"),n("Fwaw")),c=n("zMNK"),d=(n("hOhj"),n("5GAg")),h=n("bujt"),p=n("omvX"),f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,12,"div",[["class","mat-calendar-header"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,11,"div",[["class","mat-calendar-controls"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"button",[["cdkAriaLive","polite"],["class","mat-calendar-period-button"],["mat-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.currentPeriodClicked()&&l),l}),h.b,h.a)),l.Cb(3,180224,null,0,u.b,[l.p,d.h,[2,p.a]],null,null),l.Cb(4,147456,null,0,d.d,[l.p,d.j,a.b,l.G],{politeness:[0,"politeness"]},null),(t()(),l.Wb(5,0,["",""])),(t()(),l.Db(6,0,null,0,0,"div",[["class","mat-calendar-arrow"]],[[2,"mat-calendar-invert",null]],null,null,null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-calendar-spacer"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(9,0,null,null,1,"button",[["class","mat-calendar-previous-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.previousClicked()&&l),l}),h.b,h.a)),l.Cb(10,180224,null,0,u.b,[l.p,d.h,[2,p.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(11,0,null,null,1,"button",[["class","mat-calendar-next-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.nextClicked()&&l),l}),h.b,h.a)),l.Cb(12,180224,null,0,u.b,[l.p,d.h,[2,p.a]],{disabled:[0,"disabled"]},null)],(function(t,e){var n=e.component;t(e,4,0,"polite"),t(e,10,0,!n.previousEnabled()),t(e,12,0,!n.nextEnabled())}),(function(t,e){var n=e.component;t(e,2,0,n.periodButtonLabel,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode),t(e,5,0,n.periodButtonText),t(e,6,0,"month"!=n.calendar.currentView),t(e,9,0,n.prevButtonLabel,l.Pb(e,10).disabled||null,"NoopAnimations"===l.Pb(e,10)._animationMode),t(e,11,0,n.nextButtonLabel,l.Pb(e,12).disabled||null,"NoopAnimations"===l.Pb(e,12)._animationMode)}))}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-calendar-header",[],null,null,null,b,f)),l.Cb(1,49152,null,0,i.e,[i.i,i.c,[2,s.c],[2,s.g],l.j],null,null)],null,null)}var g=l.zb("mat-calendar-header",i.e,m,{},{},["*"]),_=l.Bb({encapsulation:2,styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],data:{}});function y(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function A(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-month-view",[],null,[[null,"activeDateChange"],[null,"selectedChange"],[null,"_userSelection"]],(function(t,e,n){var l=!0,i=t.component;return"activeDateChange"===e&&(l=!1!==(i.activeDate=n)&&l),"selectedChange"===e&&(l=!1!==i._dateSelected(n)&&l),"_userSelection"===e&&(l=!1!==i._userSelected()&&l),l}),B,Y)),l.Cb(1,1097728,[[1,4]],0,i.l,[l.j,[2,s.g],[2,s.c],[2,o.b]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"],dateClass:[5,"dateClass"]},{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"})],(function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter,n.dateClass)}),null)}function v(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-year-view",[],null,[[null,"activeDateChange"],[null,"monthSelected"],[null,"selectedChange"]],(function(t,e,n){var l=!0,i=t.component;return"activeDateChange"===e&&(l=!1!==(i.activeDate=n)&&l),"monthSelected"===e&&(l=!1!==i._monthSelectedInYearView(n)&&l),"selectedChange"===e&&(l=!1!==i._goToDateInView(n,"month")&&l),l}),G,z)),l.Cb(1,1097728,[[2,4]],0,i.n,[l.j,[2,s.g],[2,s.c],[2,o.b]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"})],(function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)}),null)}function C(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-multi-year-view",[],null,[[null,"activeDateChange"],[null,"yearSelected"],[null,"selectedChange"]],(function(t,e,n){var l=!0,i=t.component;return"activeDateChange"===e&&(l=!1!==(i.activeDate=n)&&l),"yearSelected"===e&&(l=!1!==i._yearSelectedInMultiYearView(n)&&l),"selectedChange"===e&&(l=!1!==i._goToDateInView(n,"year")&&l),l}),V,H)),l.Cb(1,1097728,[[3,4]],0,i.m,[l.j,[2,s.c],[2,o.b]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"})],(function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)}),null)}function w(t){return l.Yb(2,[l.Ub(671088640,1,{monthView:0}),l.Ub(671088640,2,{yearView:0}),l.Ub(671088640,3,{multiYearView:0}),(t()(),l.sb(16777216,null,null,1,null,y)),l.Cb(4,212992,null,0,c.c,[l.m,l.Y],{portal:[0,"portal"]},null),(t()(),l.Db(5,0,null,null,8,"div",[["cdkMonitorSubtreeFocus",""],["class","mat-calendar-content"],["tabindex","-1"]],null,null,null,null,null)),l.Cb(6,16384,null,0,r.r,[],{ngSwitch:[0,"ngSwitch"]},null),l.Cb(7,147456,null,0,d.e,[l.p,d.h],null,null),(t()(),l.sb(16777216,null,null,1,null,A)),l.Cb(9,278528,null,0,r.s,[l.Y,l.U,r.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,v)),l.Cb(11,278528,null,0,r.s,[l.Y,l.U,r.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,C)),l.Cb(13,278528,null,0,r.s,[l.Y,l.U,r.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,4,0,n._calendarHeaderPortal),t(e,6,0,n.currentView),t(e,9,0,"month"),t(e,11,0,"year"),t(e,13,0,"multi-year")}),null)}var P=l.Bb({encapsulation:2,styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media (-ms-high-contrast:active){.mat-calendar-body-cell-content{border:none}}@media (-ms-high-contrast:active){.mat-calendar-body-selected,.mat-datepicker-popup:not(:empty){outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}}[dir=rtl] .mat-calendar-body-label{text-align:right}"],data:{}});function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"td",[["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(t()(),l.Wb(2,null,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.numCols,n._cellPadding,n._cellPadding),t(e,2,0,n.label)}))}function S(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"td",[["aria-hidden","true"],["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._firstRowOffset,n._cellPadding,n._cellPadding),t(e,1,0,n._firstRowOffset>=n.labelMinRequiredCells?n.label:"")}))}function k(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-calendar-body-cell"],["role","button"]],[[8,"tabIndex",0],[2,"mat-calendar-body-disabled",null],[2,"mat-calendar-body-active",null],[1,"aria-label",0],[1,"aria-disabled",0],[1,"aria-selected",0],[4,"width",null],[4,"paddingTop",null],[4,"paddingBottom",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component._cellClicked(t.context.$implicit)&&l),l}),null,null)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,r.l,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),l.Db(3,0,null,null,1,"div",[["class","mat-calendar-body-cell-content"]],[[2,"mat-calendar-body-selected",null],[2,"mat-calendar-body-today",null]],null,null,null,null)),(t()(),l.Wb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-calendar-body-cell",e.context.$implicit.cssClasses)}),(function(t,e){var n=e.component;t(e,0,0,n._isActiveCell(e.parent.context.index,e.context.index)?0:-1,!e.context.$implicit.enabled,n._isActiveCell(e.parent.context.index,e.context.index),e.context.$implicit.ariaLabel,!e.context.$implicit.enabled||null,n.selectedValue===e.context.$implicit.value,n._cellWidth,n._cellPadding,n._cellPadding),t(e,3,0,n.selectedValue===e.context.$implicit.value,n.todayValue===e.context.$implicit.value),t(e,4,0,e.context.$implicit.displayValue)}))}function M(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"tr",[["role","row"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,S)),l.Cb(2,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,k)),l.Cb(4,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,0===e.context.index&&e.component._firstRowOffset),t(e,4,0,e.context.$implicit)}),null)}function O(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,x)),l.Cb(1,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,M)),l.Cb(3,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._firstRowOffset<n.labelMinRequiredCells),t(e,3,0,n.rows)}),null)}var D=l.Bb({encapsulation:2,styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation:landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation:portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(1, 0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms linear"},options:null}],options:{}},{type:7,name:"fadeInCalendar",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null}],options:{}}]}});function T(t){return l.Yb(2,[l.Ub(671088640,1,{_calendar:0}),(t()(),l.Db(1,0,null,null,4,"mat-calendar",[["cdkTrapFocus",""],["class","mat-calendar"]],[[8,"id",0],[24,"@fadeInCalendar",0]],[[null,"selectedChange"],[null,"yearSelected"],[null,"monthSelected"],[null,"_userSelection"]],(function(t,e,n){var l=!0,i=t.component;return"selectedChange"===e&&(l=!1!==i.datepicker.select(n)&&l),"yearSelected"===e&&(l=!1!==i.datepicker._selectYear(n)&&l),"monthSelected"===e&&(l=!1!==i.datepicker._selectMonth(n)&&l),"_userSelection"===e&&(l=!1!==i.datepicker.close()&&l),l}),w,_)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,r.l,[r.A],{ngClass:[0,"ngClass"]},null),l.Cb(4,1458176,null,0,d.f,[l.p,d.i,r.d],{enabled:[0,"enabled"]},null),l.Cb(5,10141696,[[1,4]],0,i.c,[i.i,[2,s.c],[2,s.g],l.j],{headerComponent:[0,"headerComponent"],startAt:[1,"startAt"],startView:[2,"startView"],selected:[3,"selected"],minDate:[4,"minDate"],maxDate:[5,"maxDate"],dateFilter:[6,"dateFilter"],dateClass:[7,"dateClass"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"})],(function(t,e){var n=e.component;t(e,3,0,n.datepicker.panelClass),t(e,4,0,""),t(e,5,0,n.datepicker.calendarHeaderComponent,n.datepicker.startAt,n.datepicker.startView,n.datepicker._selected,n.datepicker._minDate,n.datepicker._maxDate,n.datepicker._dateFilter,n.datepicker.dateClass)}),(function(t,e){t(e,1,0,e.component.datepicker.id,"enter")}))}function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-datepicker-content",[["class","mat-datepicker-content"]],[[40,"@transformPanel",0],[2,"mat-datepicker-content-touch",null]],null,null,T,D)),l.Cb(1,4243456,null,0,i.g,[l.p],null,null)],null,(function(t,e){t(e,0,0,"enter",l.Pb(e,1).datepicker.touchUi)}))}var I=l.zb("mat-datepicker-content",i.g,E,{color:"color"},{},[]),L=l.Bb({encapsulation:2,styles:[],data:{}});function j(t){return l.Yb(2,[],null,null)}var R=l.Bb({encapsulation:2,styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}"],data:{}});function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,":svg:svg",[["class","mat-datepicker-toggle-default-icon"],["fill","currentColor"],["focusable","false"],["height","24px"],["viewBox","0 0 24 24"],["width","24px"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,":svg:path",[["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],null,null,null,null,null))],null,null)}function N(t){return l.Yb(2,[l.Ub(671088640,1,{_button:0}),(t()(),l.Db(1,0,null,null,4,"button",[["mat-icon-button",""],["type","button"]],[[1,"aria-haspopup",0],[1,"aria-label",0],[1,"tabindex",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component._open(n)&&l),l}),h.b,h.a)),l.Cb(2,180224,[[1,4],["button",4]],0,u.b,[l.p,d.h,[2,p.a]],{disabled:[0,"disabled"],disableRipple:[1,"disableRipple"]},null),(t()(),l.sb(16777216,null,0,1,null,F)),l.Cb(4,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),l.Ob(0,0)],(function(t,e){var n=e.component;t(e,2,0,n.disabled,n.disableRipple),t(e,4,0,!n._customIcon)}),(function(t,e){var n=e.component;t(e,1,0,n.datepicker?"dialog":null,n._intl.openCalendarLabel,n.disabled?-1:n.tabIndex,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}var Y=l.Bb({encapsulation:2,styles:[],data:{}});function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["scope","col"]],[[1,"aria-label",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,0,0,e.context.$implicit.long),t(e,1,0,e.context.$implicit.narrow)}))}function B(t){return l.Yb(2,[l.Ub(671088640,1,{_matCalendarBody:0}),(t()(),l.Db(1,0,null,null,8,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,5,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"tr",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(5,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(6,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,0,"th",[["aria-hidden","true"],["class","mat-calendar-table-header-divider"],["colspan","7"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"selectedValueChange"===e&&(l=!1!==i._dateSelected(n)&&l),"keydown"===e&&(l=!1!==i._handleCalendarBodyKeydown(n)&&l),l}),O,P)),l.Cb(9,573440,[[1,4]],0,i.d,[l.p,l.G],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],activeCell:[5,"activeCell"]},{selectedValueChange:"selectedValueChange"})],(function(t,e){var n=e.component;t(e,5,0,n._weekdays),t(e,9,0,n._monthLabel,n._weeks,n._todayDate,n._selectedDate,3,n._dateAdapter.getDate(n.activeDate)-1)}),null)}var z=l.Bb({encapsulation:2,styles:[],data:{}});function G(t){return l.Yb(2,[l.Ub(671088640,1,{_matCalendarBody:0}),(t()(),l.Db(1,0,null,null,5,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"selectedValueChange"===e&&(l=!1!==i._monthSelected(n)&&l),"keydown"===e&&(l=!1!==i._handleCalendarBodyKeydown(n)&&l),l}),O,P)),l.Cb(6,573440,[[1,4]],0,i.d,[l.p,l.G],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],numCols:[5,"numCols"],activeCell:[6,"activeCell"],cellAspectRatio:[7,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],(function(t,e){var n=e.component;t(e,6,0,n._yearLabel,n._months,n._todayMonth,n._selectedMonth,2,4,n._dateAdapter.getMonth(n.activeDate),4/7)}),null)}var H=l.Bb({encapsulation:2,styles:[],data:{}});function V(t){return l.Yb(2,[l.Ub(671088640,1,{_matCalendarBody:0}),(t()(),l.Db(1,0,null,null,5,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"selectedValueChange"===e&&(l=!1!==i._yearSelected(n)&&l),"keydown"===e&&(l=!1!==i._handleCalendarBodyKeydown(n)&&l),l}),O,P)),l.Cb(6,573440,[[1,4]],0,i.d,[l.p,l.G],{rows:[0,"rows"],todayValue:[1,"todayValue"],selectedValue:[2,"selectedValue"],numCols:[3,"numCols"],activeCell:[4,"activeCell"],cellAspectRatio:[5,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],(function(t,e){var n=e.component;t(e,6,0,n._years,n._todayYear,n._selectedYear,4,n._getActiveCell(),4/7)}),null)}},zeP7:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={C:{min_northing:11e5,north:-72,south:-80.5},D:{min_northing:2e6,north:-64,south:-72},E:{min_northing:28e5,north:-56,south:-64},F:{min_northing:37e5,north:-48,south:-56},G:{min_northing:46e5,north:-40,south:-48},H:{min_northing:55e5,north:-32,south:-40},J:{min_northing:64e5,north:-24,south:-32},K:{min_northing:73e5,north:-16,south:-24},L:{min_northing:82e5,north:-8,south:-16},M:{min_northing:91e5,north:0,south:-8},N:{min_northing:0,north:8,south:0},P:{min_northing:8e5,north:16,south:8},Q:{min_northing:17e5,north:24,south:16},R:{min_northing:26e5,north:32,south:24},S:{min_northing:35e5,north:40,south:32},T:{min_northing:44e5,north:48,south:40},U:{min_northing:53e5,north:56,south:48},V:{min_northing:62e5,north:64,south:56},W:{min_northing:7e6,north:72,south:64},X:{min_northing:79e5,north:84.5,south:72}};function e(e){var n,l,i,r,o,a,s,u,c,d,h,p,f=[];if("object"!=typeof(u=function(t){var e,n,l,i,r={};if(r.Zone=parseInt(t.match(/(\d+)/g)[0],10),r.Zone<1||r.Zone>60)throw"MGRS formatting wrong";if(!(e=t.match(/[a-zA-Z]{3}/)[0]))throw"MGRS formatting error";if(r.Letters=e,r.Letters.indexOf("I")>=0||r.Letters.indexOf("O")>=0)throw"MGRS formatting wrong";if(!((e=t.match(/\d+$/)[0]).length<=10&&e.length%2==0))throw"MGRS formatting wrong";return r.Precision=e.length/2,r.Precision>0?(n=parseInt(e.substring(0,e.length/2),10),l=parseInt(e.substring(e.length/2),10),i=Math.pow(10,5-r.Precision),r.Easting=n*i,r.Northing=l*i):(r.Easting=0,r.Northing=0),r}(e)))throw"MGRS not formatted correctly";if(h=u.Easting,p=u.Northing,!(d=u.Zone))throw"Zone not readable";if("string"!=typeof(f=u.Letters))throw"Invalid MGRS string: no letters";if("X"===f.charAt(0)&&(32===d||34===d||36===d))throw"Malformed MGRS";if(c=f.charAt(0)<"N"?"S":"N",u=function(t){var e,n,l;return 1===(e=t%6||6)||4===e?(n="A",l="H"):2===e||5===e?(n="J",l="R"):3!==e&&6!==e||(n="S",l="Z"),{ltr2_low_value:n,ltr2_high_value:l,false_northing:e%2==0?15e5:0}}(d),i=u.ltr2_low_value,r=u.ltr2_high_value,o=u.false_northing,f.charAt(1)<i||f.charAt(1)>r||f.charAt(2)>"V")throw"Malformed";for(s=1e5*parseFloat(f.charCodeAt(2)-"A".charCodeAt(0))+o,a=1e5*parseFloat(f.charCodeAt(1)-i.charCodeAt(0)+1),"J"===i&&f.charAt(1)>"O"&&(a-=1e5),f.charAt(2)>"O"&&(s-=1e5),f.charAt(2)>"I"&&(s-=1e5),s>=2e6&&(s-=2e6),n=l=function(e){var n;if(e>="C"&&e<="H")n=t[e].min_northing;else if(e>="J"&&e<="N")n=t[e].min_northing;else{if(!(e>="P"&&e<="X"))throw"MGRS not formatted correctly";n=t[e].min_northing}return n}(f[0]);n>=2e6;)n-=2e6;return(s-=n)<0&&(s+=2e6),{Zone:d,Hemisphere:c,Easting:h=a+h,Northing:p=(s=l+s)+p}}return function(){return e}})?l.apply(e,[]):l)||(t.exports=i)},zfM5:function(t,e,n){"use strict";var l,i=n("Cy2j"),r=n("QzRn"),o=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n=t.call(this,{handleEvent:s})||this,l=e||{};return n.delta_=l.delta?l.delta:1,n.duration_=void 0!==l.duration?l.duration:250,n}return o(e,t),e}(r.a);function s(t){var e=!1;if(t.type==i.a.DBLCLICK){var n=t.coordinate,l=t.originalEvent.shiftKey?-this.delta_:this.delta_,o=t.map.getView();Object(r.c)(o,l,n,this.duration_),t.preventDefault(),e=!0}return!e}e.a=a},zixo:function(t,e,n){"use strict";var l,i=n("XDhV"),r=n("6Y3p"),o=n("CZmH"),a=n("hp/u"),s=n("3er3"),u=n("qzVC"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=this;return(n=t.call(this,{opacity:1,rotateWithView:void 0!==e.rotateWithView&&e.rotateWithView,rotation:void 0!==e.rotation?e.rotation:0,scale:1,displacement:void 0!==e.displacement?e.displacement:[0,0]})||this).canvas_=null,n.hitDetectionCanvas_=null,n.fill_=void 0!==e.fill?e.fill:null,n.origin_=[0,0],n.points_=e.points,n.radius_=void 0!==e.radius?e.radius:e.radius1,n.radius2_=e.radius2,n.angle_=void 0!==e.angle?e.angle:0,n.stroke_=void 0!==e.stroke?e.stroke:null,n.anchor_=null,n.size_=null,n.imageSize_=null,n.hitDetectionImageSize_=null,n.render(),n}return c(e,t),e.prototype.clone=function(){var t=new e({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()});return t.setOpacity(this.getOpacity()),t.setScale(this.getScale()),t},e.prototype.getAnchor=function(){return this.anchor_},e.prototype.getAngle=function(){return this.angle_},e.prototype.getFill=function(){return this.fill_},e.prototype.getHitDetectionImage=function(t){return this.hitDetectionCanvas_},e.prototype.getImage=function(t){return this.canvas_},e.prototype.getImageSize=function(){return this.imageSize_},e.prototype.getHitDetectionImageSize=function(){return this.hitDetectionImageSize_},e.prototype.getImageState=function(){return a.a.LOADED},e.prototype.getOrigin=function(){return this.origin_},e.prototype.getPoints=function(){return this.points_},e.prototype.getRadius=function(){return this.radius_},e.prototype.getRadius2=function(){return this.radius2_},e.prototype.getSize=function(){return this.size_},e.prototype.getStroke=function(){return this.stroke_},e.prototype.listenImageChange=function(t){},e.prototype.load=function(){},e.prototype.unlistenImageChange=function(t){},e.prototype.render=function(){var t,e=s.e,n=s.h,l=0,i=null,a=0,u=0;this.stroke_&&(null===(t=this.stroke_.getColor())&&(t=s.l),t=Object(r.a)(t),void 0===(u=this.stroke_.getWidth())&&(u=s.i),i=this.stroke_.getLineDash(),a=this.stroke_.getLineDashOffset(),void 0===(n=this.stroke_.getLineJoin())&&(n=s.h),void 0===(e=this.stroke_.getLineCap())&&(e=s.e),void 0===(l=this.stroke_.getMiterLimit())&&(l=s.j));var c=2*(this.radius_+u)+1,d={strokeStyle:t,strokeWidth:u,size:c,lineCap:e,lineDash:i,lineDashOffset:a,lineJoin:n,miterLimit:l},h=Object(o.a)(c,c);this.canvas_=h.canvas;var p=c=this.canvas_.width,f=this.getDisplacement();this.draw_(d,h,0,0),this.createHitDetectionCanvas_(d),this.anchor_=[c/2-f[0],c/2+f[1]],this.size_=[c,c],this.imageSize_=[p,p]},e.prototype.draw_=function(t,e,n,l){var i,o,a;e.setTransform(1,0,0,1,0,0),e.translate(n,l),e.beginPath();var u=this.points_;if(u===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var c=void 0!==this.radius2_?this.radius2_:this.radius_;for(c!==this.radius_&&(u*=2),i=0;i<=u;i++)o=2*i*Math.PI/u-Math.PI/2+this.angle_,e.lineTo(t.size/2+(a=i%2==0?this.radius_:c)*Math.cos(o),t.size/2+a*Math.sin(o))}if(this.fill_){var d=this.fill_.getColor();null===d&&(d=s.c),e.fillStyle=Object(r.a)(d),e.fill()}this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,e.setLineDash&&t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},e.prototype.createHitDetectionCanvas_=function(t){if(this.hitDetectionImageSize_=[t.size,t.size],this.hitDetectionCanvas_=this.canvas_,this.fill_){var e=this.fill_.getColor(),n=0;if("string"==typeof e&&(e=Object(i.a)(e)),null===e?n=1:Array.isArray(e)&&(n=4===e.length?e[3]:1),0===n){var l=Object(o.a)(t.size,t.size);this.hitDetectionCanvas_=l.canvas,this.drawHitDetectionCanvas_(t,l,0,0)}}},e.prototype.drawHitDetectionCanvas_=function(t,e,n,l){e.setTransform(1,0,0,1,0,0),e.translate(n,l),e.beginPath();var i=this.points_;if(i===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var r=void 0!==this.radius2_?this.radius2_:this.radius_;r!==this.radius_&&(i*=2);var o=void 0,a=void 0,u=void 0;for(o=0;o<=i;o++)u=2*o*Math.PI/i-Math.PI/2+this.angle_,e.lineTo(t.size/2+(a=o%2==0?this.radius_:r)*Math.cos(u),t.size/2+a*Math.sin(u))}e.fillStyle=s.c,e.fill(),this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.stroke()),e.closePath()},e}(u.a),h=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),p=function(t){function e(e){var n=e||{};return t.call(this,{points:1/0,fill:n.fill,radius:n.radius,stroke:n.stroke,displacement:void 0!==n.displacement?n.displacement:[0,0]})||this}return h(e,t),e.prototype.clone=function(){var t=new e({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),displacement:this.getDisplacement().slice()});return t.setOpacity(this.getOpacity()),t.setScale(this.getScale()),t},e.prototype.setRadius=function(t){this.radius_=t,this.render()},e}(d);e.a=p},zvco:function(t,e,n){"use strict";var l=function(){function t(t){this.type=t,this.target=null}return t.prototype.preventDefault=function(){this.propagationStopped=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();e.a=l},zx2A:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var l=n("7o/Q"),i=n("HDdC"),r=n("SeVD");class o extends l.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends l.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function s(t,e){if(!e.closed)return t instanceof i.a?t.subscribe(e):Object(r.a)(t)(e)}},zx31:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}}

URLhttps://sepia.fabnum.fr/polyfills-es2015.b43d4dcd8c503294cc94.js
MethodGET
Evidenceclass s{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new a(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return O.zone}static get currentTask(){return P}static __load_patch(t,i){if(D.hasOwnProperty(t)){if(r)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const r="Zone:"+t;n(r),D[t]=i(e,s,z),o(r,r)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{O=O.parent}}runGuarded(e,t=null,n,o){O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{O=O.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");if(e.state===k&&(e.type===S||e.type===Z))return;const o=e.state!=v;o&&e._transitionTo(v,b),e.runCount++;const r=P;P=e,O={parent:O,zone:this};try{e.type==Z&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==k&&e.state!==w&&(e.type==S||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,v):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(k,v,k))),O=O.parent,P=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(y,k);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(w,y,k),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==y&&e._transitionTo(b,y),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new c(E,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new c(Z,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new c(S,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");e._transitionTo(T,b,v);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,T),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(k,T),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(e.type,t)}}s.__symbol__=I;const i={name:"",onHasTask:(e,t,n,o)=>e.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class a{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:i,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=E)throw new Error("Task is missing scheduleFn.");g(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class c{constructor(t,n,o,r,s,i){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=i,this.callback=o;const a=this;this.invoke=t===S&&r&&r.useG?c.invokeTask:function(){return c.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),j++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==j&&_(),j--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(k,y)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==k&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const l=I("setTimeout"),u=I("Promise"),h=I("then");let p,f=[],d=!1;function g(t){if(0===j&&0===f.length)if(p||e[u]&&(p=e[u].resolve(0)),p){let e=p[h];e||(e=p.then),e.call(p,_)}else e[l](_,0);t&&f.push(t)}function _(){if(!d){for(d=!0;f.length;){const t=f;f=[];for(let n=0;n<t.length;n++){const o=t[n];try{o.zone.runTask(o,null,null)}catch(e){z.onUnhandledError(e)}}}z.microtaskDrainDone(),d=!1}}const m={name:"NO ZONE"},k="notScheduled",y="scheduling",b="scheduled",v="running",T="canceling",w="unknown",E="microTask",Z="macroTask",S="eventTask",D={},z={symbol:I,currentZoneFrame:()=>O,onUnhandledError:C,microtaskDrainDone:C,scheduleMicroTask:g,showUncaughtError:()=>!s[I("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:C,patchMethod:()=>C,bindArguments:()=>[],patchThen:()=>C,patchMacroTask:()=>C,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(p=e.resolve(0))},patchEventPrototype:()=>C,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>C,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>C,wrapWithCurrentZone:()=>C,filterProperties:()=>[],attachOriginToPatched:()=>C,_redefineProperty:()=>C,patchCallbacks:()=>C};let O={parent:null,zone:new s(null,null)},P=null,j=0;function C(){}function I(e){return"__zone_symbol__"+e}o("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,i=[],a=s("Promise"),c=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;)for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){u(e)}}};const l=s("unhandledPromiseRejectionHandler");function u(e){n.onUnhandledError(e);try{const n=t[l];n&&"function"==typeof n&&n.call(this,e)}catch(o){}}function h(e){return e&&e.then}function p(e){return e}function f(e){return Z.reject(e)}const d=s("state"),g=s("value"),_=s("finally"),m=s("parentPromiseValue"),k=s("parentPromiseState");function y(e,t){return n=>{try{v(e,t,n)}catch(o){v(e,!1,o)}}}const b=s("currentTaskTrace");function v(e,o,s){const a=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(null===e[d]){let u=null;try{"object"!=typeof s&&"function"!=typeof s||(u=s&&s.then)}catch(l){return a(()=>{v(e,!1,l)})(),e}if(!1!==o&&s instanceof Z&&s.hasOwnProperty(d)&&s.hasOwnProperty(g)&&null!==s[d])w(s),v(e,s[d],s[g]);else if(!1!==o&&"function"==typeof u)try{u.call(s,a(y(e,o)),a(y(e,!1)))}catch(l){a(()=>{v(e,!1,l)})()}else{e[d]=o;const a=e[g];if(e[g]=s,e[_]===_&&!0===o&&(e[d]=e[k],e[g]=e[m]),!1===o&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,b,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<a.length;)E(e,a[t++],a[t++],a[t++],a[t++]);if(0==a.length&&0==o){e[d]=0;try{throw new Error("Uncaught (in promise): "+((c=s)&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c))+(s&&s.stack?"\n"+s.stack:""))}catch(l){const o=l;o.rejection=s,o.promise=e,o.zone=t.current,o.task=t.currentTask,i.push(o),n.scheduleMicroTask()}}}}var c;return e}const T=s("rejectionHandledHandler");function w(e){if(0===e[d]){try{const n=t[T];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(n){}e[d]=!1;for(let t=0;t<i.length;t++)e===i[t].promise&&i.splice(t,1)}}function E(e,t,n,o,r){w(e);const s=e[d],i=s?"function"==typeof o?o:p:"function"==typeof r?r:f;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[g],r=n&&_===n[_];r&&(n[m]=o,n[k]=s);const a=t.run(i,void 0,r&&i!==f&&i!==p?[]:[o]);v(n,!0,a)}catch(o){v(n,!1,o)}},n)}class Z{constructor(e){const t=this;if(!(t instanceof Z))throw new Error("Must be an instanceof Promise.");t[d]=null,t[g]=[];try{e&&e(y(t,!0),y(t,!1))}catch(n){v(t,!1,n)}}static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return v(new this(null),!0,e)}static reject(e){return v(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let i of e)h(i)||(i=this.resolve(i)),i.then(r,s);return o}static all(e){let t,n,o=new this((e,o)=>{t=e,n=o}),r=2,s=0;const i=[];for(let a of e){h(a)||(a=this.resolve(a));const e=s;a.then(n=>{i[e]=n,r--,0===r&&t(i)},n),r++,s++}return r-=2,0===r&&t(i),o}get[Symbol.toStringTag](){return"Promise"}then(e,n){const o=new this.constructor(null),r=t.current;return null==this[d]?this[g].push(r,o,e,n):E(this,r,o,e,n),o}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[_]=_;const o=t.current;return null==this[d]?this[g].push(o,n,e,e):E(this,o,n,e,e),n}}Z.resolve=Z.resolve,Z.reject=Z.reject,Z.race=Z.race,Z.all=Z.all;const S=e[a]=e.Promise,D=t.__symbol__("ZoneAwarePromise");let z=o(e,"Promise");z&&!z.configurable||(z&&delete z.writable,z&&delete z.value,z||(z={configurable:!0,enumerable:!0}),z.get=function(){return e[D]?e[D]:e[a]},z.set=function(t){t===Z?e[D]=t:(e[a]=t,t.prototype[c]||P(t),n.setNativePromise(t))},r(e,"Promise",z)),e.Promise=Z;const O=s("thenPatched");function P(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new Z((e,t)=>{r.call(this,e,t)}).then(e,t)},e[O]=!0}if(n.patchThen=P,S){P(S);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(j=t,function(){let e=j.apply(this,arguments);if(e instanceof Z)return e;let t=e.constructor;return t[O]||P(t),e}))}var j;return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,Z});const n=Object.getOwnPropertyDescriptor,o=Object.defineProperty,r=Object.getPrototypeOf,s=Object.create,i=Array.prototype.slice,a=Zone.__symbol__("addEventListener"),c=Zone.__symbol__("removeEventListener");function l(e,t){return Zone.current.wrap(e,t)}function u(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const h=Zone.__symbol__,p="undefined"!=typeof window,f=p?window:void 0,d=p&&f||"object"==typeof self&&self||global,g=[null];function _(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function m(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,y=!("nw"in d)&&void 0!==d.process&&"[object process]"==={}.toString.call(d.process),b=!y&&!k&&!(!p||!f.HTMLElement),v=void 0!==d.process&&"[object process]"==={}.toString.call(d.process)&&!k&&!(!p||!f.HTMLElement),T={},w=function(e){if(!(e=e||d.event))return;let t=T[e.type];t||(t=T[e.type]=h("ON_PROPERTY"+e.type));const n=this||e.target||d,o=n[t];let r;if(b&&n===f&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function E(e,t,r){let s=n(e,t);if(!s&&r&&n(r,t)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const i=h("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete s.writable,delete s.value;const a=s.get,c=s.set,l=t.substr(2);let u=T[l];u||(u=T[l]=h("ON_PROPERTY"+l)),s.set=function(t){let n=this;n||e!==d||(n=d),n&&(n[u]&&n.removeEventListener(l,w),c&&c.apply(n,g),"function"==typeof t?(n[u]=t,n.addEventListener(l,w,!1)):n[u]=null)},s.get=function(){let n=this;if(n||e!==d||(n=d),!n)return null;const o=n[u];if(o)return o;if(a){let e=a&&a.call(this);if(e)return s.set.call(this,e),"function"==typeof n.removeAttribute&&n.removeAttribute(t),e}return null},o(e,t,s),e[i]=!0}function Z(e,t,n){if(t)for(let o=0;o<t.length;o++)E(e,"on"+t[o],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let o=0;o<t.length;o++)E(e,t[o],n)}}const S=h("originalInstance");function D(e){const t=d[e];if(!t)return;d[h(e)]=t,d[e]=function(){const n=_(arguments,e);switch(n.length){case 0:this[S]=new t;break;case 1:this[S]=new t(n[0]);break;case 2:this[S]=new t(n[0],n[1]);break;case 3:this[S]=new t(n[0],n[1],n[2]);break;case 4:this[S]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},P(d[e],t);const n=new t((function(){}));let r;for(r in n)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof n[t]?d[e].prototype[t]=function(){return this[S][t].apply(this[S],arguments)}:o(d[e].prototype,t,{set:function(n){"function"==typeof n?(this[S][t]=l(n,e+"."+t),P(this[S][t],n)):this[S][t]=n},get:function(){return this[S][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(d[e][r]=t[r])}function z(e,t,o){let s=e;for(;s&&!s.hasOwnProperty(t);)s=r(s);!s&&e[t]&&(s=e);const i=h(t);let a=null;if(s&&!(a=s[i])&&(a=s[i]=s[t],m(s&&n(s,t)))){const e=o(a,i,t);s[t]=function(){return e(this,arguments)},P(s[t],a)}return a}function O(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=z(e,t,e=>function(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?u(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function P(e,t){e[h("OriginalDelegate")]=t}let j=!1,C=!1;function I(){try{const e=f.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function L(){if(j)return C;j=!0;try{const e=f.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(C=!0)}catch(e){}return C}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=h("OriginalDelegate"),o=h("Promise"),r=h("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let R=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ge){R=!1}const x={useG:!0},M={},N={},A=/^__zone_symbol__(\w+)(true|false)$/;function F(e,t,n){const o=n&&n.add||"addEventListener",s=n&&n.rm||"removeEventListener",i=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",c=h(o),l="."+o+":",u=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},p=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[M[t.type].false];if(o)if(1===o.length)u(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t.__zone_symbol__propagationStopped);o++)u(e[o],n,t)}},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[M[t.type].true];if(o)if(1===o.length)u(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t.__zone_symbol__propagationStopped);o++)u(e[o],n,t)}};function d(t,n){if(!t)return!1;let u=!0;n&&void 0!==n.useG&&(u=n.useG);const d=n&&n.vh;let g=!0;n&&void 0!==n.chkDup&&(g=n.chkDup);let _=!1;n&&void 0!==n.rt&&(_=n.rt);let m=t;for(;m&&!m.hasOwnProperty(o);)m=r(m);if(!m&&t[o]&&(m=t),!m)return!1;if(m[c])return!1;const k=n&&n.eventNameToString,b={},v=m[c]=m[o],T=m[h(s)]=m[s],w=m[h(i)]=m[i],E=m[h(a)]=m[a];let Z;function S(e){R||"boolean"==typeof b.options||null==b.options||(e.options=!!b.options.capture,b.options=e.options)}n&&n.prepend&&(Z=m[h(n.prepend)]=m[n.prepend]);const D=u?function(e){if(!b.isExisting)return S(e),v.call(b.target,b.eventName,b.capture?f:p,b.options)}:function(e){return S(e),v.call(b.target,b.eventName,e.invoke,b.options)},z=u?function(e){if(!e.isRemoved){const t=M[e.eventName];let n;t&&(n=t[e.capture?"true":"false"]);const o=n&&e.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===e){o.splice(r,1),e.isRemoved=!0,0===o.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return T.call(e.target,e.eventName,e.capture?f:p,e.options)}:function(e){return T.call(e.target,e.eventName,e.invoke,e.options)},O=n&&n.diff?n.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},j=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],C=function(t,n,o,r,s=!1,i=!1){return function(){const a=this||e,c=arguments[0];let l=arguments[1];if(!l)return t.apply(this,arguments);if(y&&"uncaughtException"===c)return t.apply(this,arguments);let h=!1;if("function"!=typeof l){if(!l.handleEvent)return t.apply(this,arguments);h=!0}if(d&&!d(t,l,a,arguments))return;const p=arguments[2];if(j)for(let e=0;e<j.length;e++)if(c===j[e])return t.apply(this,arguments);let f,_=!1;void 0===p?f=!1:!0===p?f=!0:!1===p?f=!1:(f=!!p&&!!p.capture,_=!!p&&!!p.once);const m=Zone.current,v=M[c];let T;if(v)T=v[f?"true":"false"];else{const e="__zone_symbol__"+(k?k(c):c)+"false",t="__zone_symbol__"+(k?k(c):c)+"true";M[c]={},M[c].false=e,M[c].true=t,T=f?t:e}let w,E=a[T],Z=!1;if(E){if(Z=!0,g)for(let e=0;e<E.length;e++)if(O(E[e],l))return}else E=a[T]=[];const S=a.constructor.name,D=N[S];D&&(w=D[c]),w||(w=S+n+(k?k(c):c)),b.options=p,_&&(b.options.once=!1),b.target=a,b.capture=f,b.eventName=c,b.isExisting=Z;const z=u?x:void 0;z&&(z.taskData=b);const P=m.scheduleEventTask(w,l,z,o,r);return b.target=null,z&&(z.taskData=null),_&&(p.once=!0),(R||"boolean"!=typeof P.options)&&(P.options=p),P.target=a,P.capture=f,P.eventName=c,h&&(P.originalDelegate=l),i?E.unshift(P):E.push(P),s?a:void 0}};return m[o]=C(v,l,D,z,_),Z&&(m.prependListener=C(Z,".prependListener:",(function(e){return Z.call(b.target,b.eventName,e.invoke,b.options)}),z,_,!0)),m[s]=function(){const t=this||e,n=arguments[0],o=arguments[2];let r;r=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);const s=arguments[1];if(!s)return T.apply(this,arguments);if(d&&!d(T,s,t,arguments))return;const i=M[n];let a;i&&(a=i[r?"true":"false"]);const c=a&&t[a];if(c)for(let e=0;e<c.length;e++){const n=c[e];if(O(n,s))return c.splice(e,1),n.isRemoved=!0,0===c.length&&(n.allRemoved=!0,t[a]=null),n.zone.cancelTask(n),_?t:void 0}return T.apply(this,arguments)},m[i]=function(){const t=this||e,n=arguments[0],o=[],r=H(t,k?k(n):n);for(let e=0;e<r.length;e++){const t=r[e];o.push(t.originalDelegate?t.originalDelegate:t.callback)}return o},m[a]=function(){const t=this||e,n=arguments[0];if(n){const e=M[n];if(e){const o=t[e.false],r=t[e.true];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const o=e[t];this[s].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}if(r){const e=r.slice();for(let t=0;t<e.length;t++){const o=e[t];this[s].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=A.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[a].call(this,o)}this[a].call(this,"removeListener")}if(_)return this},P(m[o],v),P(m[s],T),E&&P(m[a],E),w&&P(m[i],w),!0}let g=[];for(let r=0;r<t.length;r++)g[r]=d(t[r],n);return g}function H(e,t){const n=[];for(let o in e){const r=A.exec(o);let s=r&&r[1];if(s&&(!t||s===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}function B(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t.__zone_symbol__propagationStopped=!0,e&&e.apply(t,n)})}function G(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const i=t[s]=t[o];t[o]=function(s,a,c){return a&&a.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,s=a.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))})),i.call(t,s,a,c)},e.attachOriginToPatched(t[o],i)}const q=Zone.__symbol__,$=Object[q("defineProperty")]=Object.defineProperty,U=Object[q("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,W=Object.create,V=q("unconfigurables");function X(e,t,n){const o=n.configurable;return K(e,t,n=Y(e,t,n),o)}function J(e,t){return e&&e[V]&&e[V][t]}function Y(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[V]||Object.isFrozen(e)||$(e,V,{writable:!0,value:{}}),e[V]&&(e[V][t]=!0)),n}function K(e,t,n,o){try{return $(e,t,n)}catch(r){if(!n.configurable)throw r;void 0===o?delete n.configurable:n.configurable=o;try{return $(e,t,n)}catch(r){let o=null;try{o=JSON.stringify(n)}catch(r){o=n.toString()}console.log(`Attempting to configure '${t}' with descriptor '${o}' on object '${e}' and got error, giving up: ${r}`)}}}const Q=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],ee=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],te=["load"],ne=["blur","error","focus","load","resize","scroll","messageerror"],oe=["bounce","finish","start"],re=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],se=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ie=["close","error","open","message"],ae=["error","message"],ce=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Q,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function le(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ue(e,t,n,o){e&&Z(e,le(e,t,n),o)}function he(e,t){if(y&&!v)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(b){const e=window,t=I?[{target:e,ignoreProperties:["error"]}]:[];ue(e,ce.concat(["messageerror"]),o?o.concat(t):o,r(e)),ue(Document.prototype,ce,o),void 0!==e.SVGElement&&ue(e.SVGElement.prototype,ce,o),ue(Element.prototype,ce,o),ue(HTMLElement.prototype,ce,o),ue(HTMLMediaElement.prototype,ee,o),ue(HTMLFrameSetElement.prototype,Q.concat(ne),o),ue(HTMLBodyElement.prototype,Q.concat(ne),o),ue(HTMLFrameElement.prototype,te,o),ue(HTMLIFrameElement.prototype,te,o);const n=e.HTMLMarqueeElement;n&&ue(n.prototype,oe,o);const s=e.Worker;s&&ue(s.prototype,ae,o)}const s=t.XMLHttpRequest;s&&ue(s.prototype,re,o);const i=t.XMLHttpRequestEventTarget;i&&ue(i&&i.prototype,re,o),"undefined"!=typeof IDBIndex&&(ue(IDBIndex.prototype,se,o),ue(IDBRequest.prototype,se,o),ue(IDBOpenDBRequest.prototype,se,o),ue(IDBDatabase.prototype,se,o),ue(IDBTransaction.prototype,se,o),ue(IDBCursor.prototype,se,o)),n&&ue(WebSocket.prototype,ie,o)}Zone.__load_patch("util",(e,t,r)=>{r.patchOnProperties=Z,r.patchMethod=z,r.bindArguments=_,r.patchMacroTask=O;const a=t.__symbol__("BLACK_LISTED_EVENTS"),c=t.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[a]=e[c]),e[a]&&(t[a]=t[c]=e[a]),r.patchEventPrototype=B,r.patchEventTarget=F,r.isIEOrEdge=L,r.ObjectDefineProperty=o,r.ObjectGetOwnPropertyDescriptor=n,r.ObjectCreate=s,r.ArraySlice=i,r.patchClass=D,r.wrapWithCurrentZone=l,r.filterProperties=le,r.attachOriginToPatched=P,r._redefineProperty=X,r.patchCallbacks=G,r.getGlobalObjects=()=>({globalSources:N,zoneSymbolEventNames:M,eventNames:ce,isBrowser:b,isMix:v,isNode:y,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:"__zone_symbol__",ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const pe=h("zoneTask");function fe(e,t,n,o){let r=null,s=null;n+=o;const i={};function a(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[pe]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=z(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e=u(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[pe]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)}),s=z(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=i[r]:(s=r&&r[pe],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete i[r]:r&&(r[pe]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function de(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=i+(e+s),a=i+(e+r);o[e]={},o[e][s]=t,o[e][r]=a}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,[a&&a.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{fe(e,"set","clear","Timeout"),fe(e,"set","clear","Interval"),fe(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{fe(e,"request","cancel","AnimationFrame"),fe(e,"mozRequest","mozCancel","AnimationFrame"),fe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)z(e,n[o],(n,o,r)=>function(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),de(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),D("MutationObserver"),D("WebKitMutationObserver"),D("IntersectionObserver"),D("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{he(n,e),Object.defineProperty=function(e,t,n){if(J(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);const o=n.configurable;return"prototype"!==t&&(n=Y(e,t,n)),K(e,t,n,o)},Object.defineProperties=function(e,t){return Object.keys(t).forEach((function(n){Object.defineProperty(e,n,t[n])})),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach((function(n){t[n]=Y(e,n,t[n])})),W(e,t)},Object.getOwnPropertyDescriptor=function(e,t){const n=U(e,t);return n&&J(e,t)&&(n.configurable=!1),n}}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[a],g=f[c];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[a],g=e[c]}}function _(e){const t=e.data,o=t.target;o[s]=!1,o[l]=!1;const i=o[r];d||(d=o[a],g=o[c]),i&&g.call(o,"readystatechange",i);const u=o[r]=()=>{if(o.readyState===o.DONE)if(!t.aborted&&o[s]&&"scheduled"===e.state){const n=o.__zone_symbol__loadfalse;if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=o.__zone_symbol__loadfalse;for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);t.aborted||"scheduled"!==e.state||r.call(e)},n.push(e)}else e.invoke()}else t.aborted||!1!==o[s]||(o[l]=!0)};return d.call(o,"readystatechange",u),o[n]||(o[n]=e),T.apply(o,t.args),o[s]=!0,e}function m(){}function k(e){const t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}const y=z(f,"open",()=>function(e,t){return e[o]=0==t[2],e[i]=t[1],y.apply(e,t)}),b=h("fetchTaskAborting"),v=h("fetchTaskScheduling"),T=z(f,"send",()=>function(e,n){if(!0===t.current[v])return T.apply(e,n);if(e[o])return T.apply(e,n);{const t={target:e,url:e[i],isPeriodic:!1,args:n,aborted:!1},o=u("XMLHttpRequest.send",m,t,_,k);e&&!0===e[l]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),w=z(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[b])return w.apply(e,o)})}(e);const n=h("xhrTask"),o=h("xhrSync"),r=h("xhrListener"),s=h("xhrScheduled"),i=h("xhrURL"),l=h("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const o=e.constructor.name;for(let r=0;r<t.length;r++){const s=t[r],i=e[s];if(i){if(!m(n(e,s)))continue;e[s]=(e=>{const t=function(){return e.apply(this,_(arguments,o+"."+s))};return P(t,e),t})(i)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){H(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[h("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[h("rejectionHandledHandler")]=n("rejectionhandled"))})}}
Instances2
Solution

Ensure that application Source Code is not available with alternative extensions, and ensure that source code is not present within other files or data deployed to the web server, or served by the web server.

Other information

class x{}const S=Object(o.F)(x),k=new r.w("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});class M extends S{constructor(t,e,n){super(),this._changeDetectorRef=t,this._elementRef=e,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new r.r,this.opened=new r.r,this.closed=new r.r,this._classList={},this.id="mat-autocomplete-"+w++,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(i.c)(t)}set classList(t){this._classList=t&&t.length?t.split(" ").reduce((t,e)=>(t[e.trim()]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new l.b(this.options).withWrap(),this._setVisibility()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new P(this,t);this.optionSelected.emit(e)}_setVisibilityClasses(t){t["mat-autocomplete-visible"]=this.showPanel,t["mat-autocomplete-hidden"]=!this.showPanel}}const O=new r.w("mat-autocomplete-scroll-strategy");function D(t){return()=>t.scrollStrategies.reposition()}class T{constructor(t,e,n,l,i,r,o,a,s,u){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=l,this._changeDetectorRef=i,this._dir=o,this._formField=a,this._document=s,this._viewportRuler=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=d.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new h.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(p.a)(()=>this.autocomplete&&this.autocomplete.options?Object(f.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.asObservable().pipe(Object(g.a)(1),Object(_.a)(()=>this.optionSelections))),this._scrollStrategy=r}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(i.c)(t)}ngAfterViewInit(){if("undefined"!=typeof window&&(this._zone.runOutsideAngular(()=>{window.addEventListener("blur",this._windowBlurHandler)}),Object(u.d)())){const t=this._element.nativeElement,e=t.getRootNode?t.getRootNode():null;this._isInsideShadowRoot=e instanceof window.ShadowRoot}}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){"undefined"!=typeof window&&window.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(f.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(y.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(y.a)(()=>this._overlayAttached)):Object(b.a)()).pipe(Object(A.a)(t=>t instanceof o.u?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(f.a)(Object(m.a)(this._document,"click"),Object(m.a)(this._document,"touchend")).pipe(Object(y.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e===a.h&&t.preventDefault(),this.activeOption&&e===a.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,l=e===a.q||e===a.e;this.panelOpen||e===a.p?this.autocomplete._keyManager.onKeydown(t):l&&this._canOpen()&&this.openPanel(),(l||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}}_handleInput(t){let e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_scrollToOption(){const t=this.autocomplete._keyManager.activeItemIndex||0,e=Object(o.C)(t,this.autocomplete.options,this.autocomplete.optionGroups);if(0===t&&1===e)this.autocomplete._setScrollTop(0);else{const n=Object(o.D)(t+e,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(n)}}_subscribeToClosingActions(){const t=this._zone.onStable.asObservable().pipe(Object(g.a)(1)),e=this.autocomplete.options.changes.pipe(Object(v.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(C.a)(0));return Object(f.a)(t,e).pipe(Object(_.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(g.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!=t&&e.selected&&e.deselect()})}_attachOverlay(){if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new c.h(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(t=>{(t.keyCode===a.h||t.keyCode===a.q&&t.altKey)&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}))),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const e=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&e!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new s.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e={originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},n={originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"};let l;l="above"===this.position?[n]:"below"===this.position?[e]:[e,n],t.withPositions(l)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}}class E{}},"/HVE":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return m})),n.d(e,"e",(function(){return g})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return _}));var l=n("8Y7J"),i=n("SVse");let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(y){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(i.y)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(l.J,8))},token:t,providedIn:"root"}),t})();class s{}const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function c(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(u),o;let t=document.createElement("input");return o=new Set(u.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let d;function h(t){return function(){if(null==d&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?t:!!t.capture}const p=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let f,b;function m(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function g(){if("object"!=typeof document||!document)return p.NORMAL;if(!f){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),l=n.style;l.width="2px",l.height="1px",t.appendChild(n),document.body.appendChild(t),f=p.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,f=0===t.scrollLeft?p.NEGATED:p.INVERTED),t.parentNode.removeChild(t)}return f}function _(){if(null==b){const t="undefined"!=typeof document?document.head:null;b=!(!t||!t.createShadowRoot&&!t.attachShadow)}return b}},"/MgC":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("RH9n"),i=n("2Vo4"),r=n("lJxs"),o=n("oeKZ"),a=(n("G0WM"),n("oQtH")),s=n("8Y7J"),u=n("XYOC");let c=(()=>{class t{constructor(t,e){this.keycloakService=t,this.notificationTypeService=e,this.notificationsSocketSubject=new i.a({}),this.notificationsSocket={},this.keycloakService.getToken().then(t=>{this.socketConfiguration={url:a.a.config.api["sepia.api"].url,options:{transports:["websocket"],query:{jwt:t}}},this.socket=new l.a(this.socketConfiguration);const e={join:["userListening||id"],filter:["userListening.id||eq||"+this.keycloakService.client().subject]};this.notificationTypeService.getManyBaseNotificationTypeControllerNotificationType(e).pipe(Object(r.a)(t=>t.data)).subscribe(t=>{this.updateSubscribeNotifications(t)})})}updateSubscribeNotifications(t){this.notificationsSocket={};for(const e of t)this.subscribeNotification(e);this.notificationsSocketSubject.next(this.notificationsSocket)}subscribeNotification(t){this.notificationsSocket[t.type]=this.socket.fromEvent("notif:"+t.name)}unsubscribeNotification(t){delete this.notificationsSocket[t.type]}}return t.ngInjectableDef=s.cc({factory:function(){return new t(s.dc(o.a),s.dc(u.a))},token:t,providedIn:"root"}),t})()},"/Mhs":function(t,e){},"/O31":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l={DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"},i={};i[l.DEGREES]=2*Math.PI*6370997/360,i[l.FEET]=.3048,i[l.METERS]=1,i[l.USFEET]=1200/3937,e.b=l},"/U2p":function(t,e,n){"use strict";function l(t,e,n,l,i){for(var r,o=[t[e],t[e+1]],a=[];e+l<n;e+=l){if(a[0]=t[e+l],a[1]=t[e+l+1],r=i(o,a))return r;o[0]=a[0],o[1]=a[1]}return!1}n.d(e,"a",(function(){return l}))},"/X5v":function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends l.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(l){return this.destination.error(l)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(l){return this.destination.error(l)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("KAq4")},"02hT":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW");class l{}},"0Ba5":function(t,e){function n(){}n.prototype.init=function(){if(!arguments.length)throw new Error("no arguments");if(arguments[0].lat&&arguments[0].lng)this.lat=arguments[0].lat,this.lon=arguments[0].lng;else if("string"==typeof arguments[0]){var t=arguments[0].split(",");this.lat=parseFloat(t[0].trim()),this.lon=parseFloat(t[1].trim())}else if("[object Array]"===Object.prototype.toString.call(arguments[0])){var e=arguments[0];!0===arguments[1]?(this.lat=e[1],this.lon=e[0]):(this.lat=e[0],this.lon=e[1])}else!0===arguments[2]?(this.lat=arguments[1],this.lon=arguments[0]):(this.lat=arguments[0],this.lon=arguments[1]);this.compute()},n.prototype.compute=function(){function t(t){var e={};return e.initValue=t,e.degrees=Math.abs(t),e.degreesInt=Math.floor(e.degrees),e.degreesFrac=e.degrees-e.degreesInt,e.secondsTotal=3600*e.degreesFrac,e.minutes=e.secondsTotal/60,e.minutesInt=Math.floor(e.minutes),e.seconds=e.secondsTotal-60*e.minutesInt,e}this.north=this.lat>0,this.east=this.lon>0,this.latValues=t(this.lat),this.lonValues=t(this.lon)};var l={FFf:"DD MM ss X",Ff:"DD mm X",f:"dd X"};n.prototype.format=function(t,e){"object"==typeof t&&(e=t,t="FFf"),void 0===t&&(t="FFf"),void 0===e&&(e={}),"string"==typeof e&&(e={latLonSeparator:e}),void 0===e.latLonSeparator&&(e.latLonSeparator=" "),e.decimalPlaces=void 0===e.decimalPlaces?5:parseInt(e.decimalPlaces),Object.keys(l).indexOf(t)>-1&&(t=l[t]);var n=r(this.latValues,this.north?"N":"S"),i=r(this.lonValues,this.east?"E":"W");function r(n,l){return t.replace(/DD/g,n.degreesInt+"\xb0").replace(/dd/g,n.degrees.toFixed(e.decimalPlaces)+"\xb0").replace(/D/g,n.degreesInt).replace(/d/g,n.degrees.toFixed(e.decimalPlaces)).replace(/MM/g,n.minutesInt+"\u2032").replace(/mm/g,n.minutes.toFixed(e.decimalPlaces)+"\u2032").replace(/M/g,n.minutesInt).replace(/m/g,n.minutes.toFixed(e.decimalPlaces)).replace(/ss/g,n.seconds.toFixed(e.decimalPlaces)+"\u2033").replace(/s/g,n.seconds.toFixed(e.decimalPlaces)).replace(/-/g,n.initValue<0?"-":"").replace(/X/g,l)}return n+e.latLonSeparator+i},t.exports=function(){var t=new n;return t.init.apply(t,arguments),t}},"0Ceg":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.getOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.replaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.deleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.getManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t){return this.createManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.ReplaceOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.DeleteOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.UpdateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/{id}",t.GetManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area",t.CreateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area",t.CreateManyBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedAreaPath="/notification_type_prohibited_area/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("bHdf");function i(){return Object(l.a)(1)}},"0Hnp":function(t,e,n){"use strict";e.a={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"0XyG":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("8Y7J"),i=n("s7LF");n("G0WM");class r{constructor(t){this.fleetItemService=t,this.hasImport=new l.r}ngOnInit(){this.uploadForm=new i.j({file:new i.g(null,[i.w.required]),override:new i.g(!0,[i.w.required]),fileSource:new i.g(null,[i.w.required])})}onFileChange(t){t.target.files.length>0&&this.uploadForm.patchValue({fileSource:t.target.files[0]})}exportCsv(){this.fleetItemService.fleetItemControllerExportCsv({fleetId:this.fleetId}).subscribe(t=>{this.downLoadFile(t,"application/csv")})}downLoadFile(t,e){const n=new Blob([t],{type:e}),l=window.URL.createObjectURL(n),i=document.createElement("a");i.download="fleet_item.csv",i.href=l,i.click()}importCsv(){this.fleetItemService.fleetItemControllerImportCsv({body:{override:this.uploadForm.value.override,fleetId:this.fleetId,file:this.uploadForm.value.fileSource}}).subscribe(t=>{this.hasImport.emit()})}}},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"0z79":function(t,e,n){var l=n("AdPF"),i=n("CUme"),r=n("cpc2"),o=n("Yvos"),a=n("HjK1")("engine.io-client:polling-xhr"),s=n("2UHX");function u(){}function c(t){if(i.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,"undefined"!=typeof location){var e="https:"===location.protocol,n=location.port;n||(n=e?443:80),this.xd="undefined"!=typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}}function d(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}function h(){for(var t in d.requests)d.requests.hasOwnProperty(t)&&d.requests[t].abort()}t.exports=c,t.exports.Request=d,o(c,i),c.prototype.supportsBinary=!0,c.prototype.request=function(t){return(t=t||{}).uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new d(t)},c.prototype.doWrite=function(t,e){var n=this.request({method:"POST",data:t,isBinary:"string"!=typeof t&&void 0!==t}),l=this;n.on("success",e),n.on("error",(function(t){l.onError("xhr post error",t)})),this.sendXhr=n},c.prototype.doPoll=function(){a("xhr poll");var t=this.request(),e=this;t.on("data",(function(t){e.onData(t)})),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t},r(d.prototype),d.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new l(t),n=this;try{a("xhr open %s: %s",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var i in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(i)&&e.setRequestHeader(i,this.extraHeaders[i])}catch(r){}if("POST"===this.method)try{e.setRequestHeader("Content-type",this.isBinary?"application/octet-stream":"text/plain;charset=UTF-8")}catch(r){}try{e.setRequestHeader("Accept","*/*")}catch(r){}"withCredentials"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){n.onLoad()},e.onerror=function(){n.onError(e.responseText)}):e.onreadystatechange=function(){if(2===e.readyState)try{var t=e.getResponseHeader("Content-Type");(n.supportsBinary&&"application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&(e.responseType="arraybuffer")}catch(r){}4===e.readyState&&(200===e.status||1223===e.status?n.onLoad():setTimeout((function(){n.onError("number"==typeof e.status?e.status:0)}),0))},a("xhr data %s",this.data),e.send(this.data)}catch(r){return void setTimeout((function(){n.onError(r)}),0)}"undefined"!=typeof document&&(this.index=d.requestsCount++,d.requests[this.index]=this)},d.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},d.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},d.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},d.prototype.cleanup=function(t){if(null!=this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=u:this.xhr.onreadystatechange=u,t)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete d.requests[this.index],this.xhr=null}},d.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader("Content-Type")}catch(n){}t=("application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=t&&this.onData(t)},d.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},d.prototype.abort=function(){this.cleanup()},d.requestsCount=0,d.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",h):"function"==typeof addEventListener&&addEventListener("onpagehide"in s?"pagehide":"unload",h,!1))},1:function(t,e){},"14A5":function(t,e){var n=void 0!==n?n:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,l=function(){try{return 2===new Blob(["hi"]).size}catch(t){return!1}}(),i=l&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),r=n&&n.prototype.append&&n.prototype.getBlob;function o(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function a(t,e){e=e||{};var l=new n;return o(t).forEach((function(t){l.append(t)})),e.type?l.getBlob(e.type):l.getBlob()}function s(t,e){return new Blob(o(t),e||{})}"undefined"!=typeof Blob&&(a.prototype=Blob.prototype,s.prototype=Blob.prototype),t.exports=l?i?Blob:s:r?a:void 0},"17Ym":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("MlvX"),r=n("Xd0L"),o=n("oBZk"),a=n("ZZ/e"),s=n("Mc5n"),u=n("SVse"),c=n("IP0z"),d=n("s6ns"),h=n("s7LF"),p=n("dJrM"),f=n("HsOI"),b=n("/HVE"),m=n("omvX"),g=n("821u"),_=n("ZwOa"),y=n("oapL"),A=n("zbXB"),v=n("QQfA"),C=n("Azqq"),w=n("JjoW"),P=n("hOhj"),x=n("5GAg"),S=n("Fi5g"),k=n("GXLG");n.d(e,"a",(function(){return I}));var M=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}form[_ngcontent-%COMP%]{padding:10px}"]],data:{}});function O(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[23,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function D(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[35,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function T(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),o.y,o.g)),l.Cb(1,49152,null,0,a.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","replay"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(3,4866048,null,3,s.c,[l.p,[3,s.b],u.d,l.G,l.Y,s.a,[2,c.b],s.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,s.l,null,[s.c]),l.Cb(8,147456,[[1,4]],0,s.d,[l.p,[2,s.l]],null,null),l.Cb(9,81920,null,0,d.m,[[2,d.l],l.p,d.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["REPLAY (in UTC)"])),(t()(),l.Db(11,0,null,null,90,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(12,16384,null,0,d.j,[],null,null),(t()(),l.Db(13,0,null,null,88,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,15).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,15).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.startReplay()&&i),i}),null,null)),l.Cb(14,16384,null,0,h.A,[],null,null),l.Cb(15,540672,null,0,h.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,h.c,null,[h.k]),l.Cb(17,16384,null,0,h.r,[[4,h.c]],null,null),(t()(),l.Db(18,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 200px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,p.b,p.a)),l.Cb(19,7520256,null,9,f.c,[l.p,l.j,[2,r.j],[2,c.b],[2,f.a],b.a,l.G,[2,m.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,4,{_controlNonStatic:0}),l.Ub(335544320,5,{_controlStatic:0}),l.Ub(603979776,6,{_labelChildNonStatic:0}),l.Ub(335544320,7,{_labelChildStatic:0}),l.Ub(603979776,8,{_placeholderChild:0}),l.Ub(603979776,9,{_errorChildren:1}),l.Ub(603979776,10,{_hintChildren:1}),l.Ub(603979776,11,{_prefixChildren:1}),l.Ub(603979776,12,{_suffixChildren:1}),(t()(),l.Db(29,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","date"],["matInput",""],["placeholder","Choose a date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,30)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,30).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,30)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,30)._compositionEnd(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,31)._onInput(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,31)._onChange()&&i),"blur"===e&&(i=!1!==l.Pb(t,31)._onBlur()&&i),"keydown"===e&&(i=!1!==l.Pb(t,31)._onKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,38)._onInput()&&i),i}),null,null)),l.Cb(30,16384,null,0,h.d,[l.M,l.p,[2,h.a]],null,null),l.Cb(31,147456,null,0,g.h,[l.p,[2,r.c],[2,r.g],[2,f.c]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},null),l.Tb(1024,null,h.n,(function(t){return[t]}),[g.h]),l.Tb(1024,null,h.o,(function(t,e){return[t,e]}),[h.d,g.h]),l.Cb(34,671744,null,0,h.i,[[3,h.c],[6,h.n],[8,null],[6,h.o],[2,h.z]],{name:[0,"name"]},null),l.Tb(2048,null,h.p,null,[h.i]),l.Cb(36,16384,null,0,h.q,[[4,h.p]],null,null),l.Tb(2048,null,_.a,null,[g.h]),l.Cb(38,999424,null,0,_.b,[l.p,b.a,[6,h.p],[2,h.s],[2,h.k],r.d,[6,_.a],y.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[4,4],[5,4]],f.d,null,[_.b]),(t()(),l.Db(40,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,41)._button.focus()&&i),i}),A.e,A.d)),l.Cb(41,1753088,null,1,g.k,[g.i,l.j,[8,null]],{datepicker:[0,"datepicker"]},null),l.Ub(603979776,13,{_customIcon:0}),l.Cb(43,16384,[[12,4]],0,f.g,[],null,null),(t()(),l.Db(44,16777216,null,1,1,"mat-datepicker",[],null,null,null,A.f,A.c)),l.Cb(45,180224,[["picker",4]],0,g.f,[d.e,v.c,l.G,l.Y,g.a,[2,r.c],[2,c.b],[2,u.d]],null,null),(t()(),l.Db(46,0,null,null,52,"div",[],null,null,null,null,null)),(t()(),l.Db(47,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,p.b,p.a)),l.Cb(48,7520256,null,9,f.c,[l.p,l.j,[2,r.j],[2,c.b],[2,f.a],b.a,l.G,[2,m.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,14,{_controlNonStatic:0}),l.Ub(335544320,15,{_controlStatic:0}),l.Ub(603979776,16,{_labelChildNonStatic:0}),l.Ub(335544320,17,{_labelChildStatic:0}),l.Ub(603979776,18,{_placeholderChild:0}),l.Ub(603979776,19,{_errorChildren:1}),l.Ub(603979776,20,{_hintChildren:1}),l.Ub(603979776,21,{_prefixChildren:1}),l.Ub(603979776,22,{_suffixChildren:1}),(t()(),l.Db(58,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(59,16384,[[16,4],[17,4]],0,f.f,[],null,null),(t()(),l.Wb(-1,null,["Hours"])),(t()(),l.Db(61,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","hours"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,66)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,66)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,66)._onBlur()&&i),i}),C.b,C.a)),l.Tb(6144,null,r.l,null,[w.c]),l.Cb(63,671744,null,0,h.i,[[3,h.c],[8,null],[8,null],[8,null],[2,h.z]],{name:[0,"name"]},null),l.Tb(2048,null,h.p,null,[h.i]),l.Cb(65,16384,null,0,h.q,[[4,h.p]],null,null),l.Cb(66,2080768,null,3,w.c,[P.e,l.j,l.G,r.d,l.p,[2,c.b],[2,h.s],[2,h.k],[2,f.c],[6,h.p],[8,null],w.a,x.j],null,null),l.Ub(603979776,23,{options:1}),l.Ub(603979776,24,{optionGroups:1}),l.Ub(603979776,25,{customTrigger:0}),l.Tb(2048,[[14,4],[15,4]],f.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,O)),l.Cb(72,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(73,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,p.b,p.a)),l.Cb(74,7520256,null,9,f.c,[l.p,l.j,[2,r.j],[2,c.b],[2,f.a],b.a,l.G,[2,m.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,26,{_controlNonStatic:0}),l.Ub(335544320,27,{_controlStatic:0}),l.Ub(603979776,28,{_labelChildNonStatic:0}),l.Ub(335544320,29,{_labelChildStatic:0}),l.Ub(603979776,30,{_placeholderChild:0}),l.Ub(603979776,31,{_errorChildren:1}),l.Ub(603979776,32,{_hintChildren:1}),l.Ub(603979776,33,{_prefixChildren:1}),l.Ub(603979776,34,{_suffixChildren:1}),(t()(),l.Db(84,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(85,16384,[[28,4],[29,4]],0,f.f,[],null,null),(t()(),l.Wb(-1,null,["Minutes"])),(t()(),l.Db(87,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","minutes"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,92)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,92)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,92)._onBlur()&&i),i}),C.b,C.a)),l.Tb(6144,null,r.l,null,[w.c]),l.Cb(89,671744,null,0,h.i,[[3,h.c],[8,null],[8,null],[8,null],[2,h.z]],{name:[0,"name"]},null),l.Tb(2048,null,h.p,null,[h.i]),l.Cb(91,16384,null,0,h.q,[[4,h.p]],null,null),l.Cb(92,2080768,null,3,w.c,[P.e,l.j,l.G,r.d,l.p,[2,c.b],[2,h.s],[2,h.k],[2,f.c],[6,h.p],[8,null],w.a,x.j],null,null),l.Ub(603979776,35,{options:1}),l.Ub(603979776,36,{optionGroups:1}),l.Ub(603979776,37,{customTrigger:0}),l.Tb(2048,[[26,4],[27,4]],f.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,D)),l.Cb(98,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(99,0,null,null,2,"ion-button",[["color","danger"],["type","submit"]],null,null,null,o.u,o.c)),l.Cb(100,49152,null,0,a.i,[l.j,l.p,l.G],{color:[0,"color"],type:[1,"type"]},null),(t()(),l.Wb(-1,0,[" Start replay "]))],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0,".cdk-overlay-pane"),t(e,9,0,"replay"),t(e,15,0,n.replayForm),t(e,19,0,"outline"),t(e,31,0,l.Pb(e,45),n.maxDate),t(e,34,0,"date"),t(e,38,0,"Choose a date"),t(e,41,0,l.Pb(e,45)),t(e,48,0,"outline"),t(e,63,0,"hours"),t(e,66,0),t(e,72,0,n.hours),t(e,74,0,"outline"),t(e,89,0,"minutes"),t(e,92,0),t(e,98,0,n.minutes),t(e,100,0,"danger","submit")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging(),l.Pb(e,9).id),t(e,13,0,l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending),t(e,18,1,["standard"==l.Pb(e,19).appearance,"fill"==l.Pb(e,19).appearance,"outline"==l.Pb(e,19).appearance,"legacy"==l.Pb(e,19).appearance,l.Pb(e,19)._control.errorState,l.Pb(e,19)._canLabelFloat,l.Pb(e,19)._shouldLabelFloat(),l.Pb(e,19)._hasFloatingLabel(),l.Pb(e,19)._hideControlPlaceholder(),l.Pb(e,19)._control.disabled,l.Pb(e,19)._control.autofilled,l.Pb(e,19)._control.focused,"accent"==l.Pb(e,19).color,"warn"==l.Pb(e,19).color,l.Pb(e,19)._shouldForward("untouched"),l.Pb(e,19)._shouldForward("touched"),l.Pb(e,19)._shouldForward("pristine"),l.Pb(e,19)._shouldForward("dirty"),l.Pb(e,19)._shouldForward("valid"),l.Pb(e,19)._shouldForward("invalid"),l.Pb(e,19)._shouldForward("pending"),!l.Pb(e,19)._animationsEnabled]),t(e,29,1,[l.Pb(e,31)._datepicker?"dialog":null,(null==l.Pb(e,31)._datepicker?null:l.Pb(e,31)._datepicker.opened)&&l.Pb(e,31)._datepicker.id||null,l.Pb(e,31).min?l.Pb(e,31)._dateAdapter.toIso8601(l.Pb(e,31).min):null,l.Pb(e,31).max?l.Pb(e,31)._dateAdapter.toIso8601(l.Pb(e,31).max):null,l.Pb(e,31).disabled,l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,38)._isServer,l.Pb(e,38).id,l.Pb(e,38).placeholder,l.Pb(e,38).disabled,l.Pb(e,38).required,l.Pb(e,38).readonly&&!l.Pb(e,38)._isNativeSelect||null,l.Pb(e,38)._ariaDescribedby||null,l.Pb(e,38).errorState,l.Pb(e,38).required.toString()]),t(e,40,0,-1,l.Pb(e,41).datepicker&&l.Pb(e,41).datepicker.opened,l.Pb(e,41).datepicker&&"accent"===l.Pb(e,41).datepicker.color,l.Pb(e,41).datepicker&&"warn"===l.Pb(e,41).datepicker.color),t(e,47,1,["standard"==l.Pb(e,48).appearance,"fill"==l.Pb(e,48).appearance,"outline"==l.Pb(e,48).appearance,"legacy"==l.Pb(e,48).appearance,l.Pb(e,48)._control.errorState,l.Pb(e,48)._canLabelFloat,l.Pb(e,48)._shouldLabelFloat(),l.Pb(e,48)._hasFloatingLabel(),l.Pb(e,48)._hideControlPlaceholder(),l.Pb(e,48)._control.disabled,l.Pb(e,48)._control.autofilled,l.Pb(e,48)._control.focused,"accent"==l.Pb(e,48).color,"warn"==l.Pb(e,48).color,l.Pb(e,48)._shouldForward("untouched"),l.Pb(e,48)._shouldForward("touched"),l.Pb(e,48)._shouldForward("pristine"),l.Pb(e,48)._shouldForward("dirty"),l.Pb(e,48)._shouldForward("valid"),l.Pb(e,48)._shouldForward("invalid"),l.Pb(e,48)._shouldForward("pending"),!l.Pb(e,48)._animationsEnabled]),t(e,61,1,[l.Pb(e,65).ngClassUntouched,l.Pb(e,65).ngClassTouched,l.Pb(e,65).ngClassPristine,l.Pb(e,65).ngClassDirty,l.Pb(e,65).ngClassValid,l.Pb(e,65).ngClassInvalid,l.Pb(e,65).ngClassPending,l.Pb(e,66).id,l.Pb(e,66).tabIndex,l.Pb(e,66)._getAriaLabel(),l.Pb(e,66)._getAriaLabelledby(),l.Pb(e,66).required.toString(),l.Pb(e,66).disabled.toString(),l.Pb(e,66).errorState,l.Pb(e,66).panelOpen?l.Pb(e,66)._optionIds:null,l.Pb(e,66).multiple,l.Pb(e,66)._ariaDescribedby||null,l.Pb(e,66)._getAriaActiveDescendant(),l.Pb(e,66).disabled,l.Pb(e,66).errorState,l.Pb(e,66).required,l.Pb(e,66).empty]),t(e,73,1,["standard"==l.Pb(e,74).appearance,"fill"==l.Pb(e,74).appearance,"outline"==l.Pb(e,74).appearance,"legacy"==l.Pb(e,74).appearance,l.Pb(e,74)._control.errorState,l.Pb(e,74)._canLabelFloat,l.Pb(e,74)._shouldLabelFloat(),l.Pb(e,74)._hasFloatingLabel(),l.Pb(e,74)._hideControlPlaceholder(),l.Pb(e,74)._control.disabled,l.Pb(e,74)._control.autofilled,l.Pb(e,74)._control.focused,"accent"==l.Pb(e,74).color,"warn"==l.Pb(e,74).color,l.Pb(e,74)._shouldForward("untouched"),l.Pb(e,74)._shouldForward("touched"),l.Pb(e,74)._shouldForward("pristine"),l.Pb(e,74)._shouldForward("dirty"),l.Pb(e,74)._shouldForward("valid"),l.Pb(e,74)._shouldForward("invalid"),l.Pb(e,74)._shouldForward("pending"),!l.Pb(e,74)._animationsEnabled]),t(e,87,1,[l.Pb(e,91).ngClassUntouched,l.Pb(e,91).ngClassTouched,l.Pb(e,91).ngClassPristine,l.Pb(e,91).ngClassDirty,l.Pb(e,91).ngClassValid,l.Pb(e,91).ngClassInvalid,l.Pb(e,91).ngClassPending,l.Pb(e,92).id,l.Pb(e,92).tabIndex,l.Pb(e,92)._getAriaLabel(),l.Pb(e,92)._getAriaLabelledby(),l.Pb(e,92).required.toString(),l.Pb(e,92).disabled.toString(),l.Pb(e,92).errorState,l.Pb(e,92).panelOpen?l.Pb(e,92)._optionIds:null,l.Pb(e,92).multiple,l.Pb(e,92)._ariaDescribedby||null,l.Pb(e,92)._getAriaActiveDescendant(),l.Pb(e,92).disabled,l.Pb(e,92).errorState,l.Pb(e,92).required,l.Pb(e,92).empty])}))}function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-replay-dialog",[],null,null,null,T,M)),l.Cb(1,114688,null,0,S.a,[k.a,d.l,d.a],null,null)],(function(t,e){t(e,1,0)}),null)}var I=l.zb("form-replay-dialog",S.a,E,{},{},[])},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("zx2A");function i(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),i=Object(l.c)(this.notifier,new l.a(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class o extends l.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1HJ2":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7/LY");class i{constructor(t,e){this.ref=t,this.selectAircraftService=e,this.subscription={},this.aircraftContext=void 0}ngOnInit(){this.subscription=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)})}ngOnDestroy(){this.subscription.unsubscribe()}manageSelectedAircrafts(t){t.haveStatus(l.a.SELECT)?(this.aircraftContext=t,this.ref.detectChanges()):this.aircraftContext&&this.aircraftContext.aircraft&&this.aircraftContext.aircraft.icao==t.aircraft.icao&&!t.haveOneStatus([l.a.SELECT])&&(this.aircraftContext=void 0,this.ref.detectChanges())}}},"1SYQ":function(t,e,n){var l,i,r;i=[n("F8UA"),n("33Yk"),n("UJLV"),n("4/Mb")],void 0===(r="function"==typeof(l=function(t,e,n,l){"use strict";var i={latlong:t,usng:e,utm:n,mgrs:l};function r(t,e){if("string"!=typeof t)throw new Error("Parameter not a string: "+t);if("string"!=typeof e)throw new Error("Parameter not a string: "+e);if(!i[t])throw"Converter doesn't exist. Complain on GitHub.";return i[t].getConverter(e)}return r.converters=i,r})?l.apply(e,i):l)||(t.exports=r)},"1f0G":function(t,e,n){"use strict";n("G0WM");var l=n("s7LF");const i=t=>t.value&&t.value._files&&t.value._files[0]&&t.value._files[0].name&&null===t.value._files[0].name.match(/^[\w,\s-]+\.[A-Za-z]{3,}$/gm)?{validFilename:{reason:"bad filename",value:t.value}}:null,r=t=>t.value&&t.value.match(!1)?{validLayer:{reason:"bad layername",value:t.value}}:null,o=t=>t.value&&"number"!=typeof t.value?{validLayer:{reason:"bad value (not a number)",value:t.value}}:null,a=t=>t.value&&"number"!=typeof t.value&&t.value>=0&&t.value<=1?{validLayer:{reason:"bad value (not a number >= 0 and <= 1)",value:t.value}}:null;n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return d}));var s=function(t){return t.GL="GL",t.RASTER="RASTER",t}({}),u=function(t){return t.POLYGON="POLYGON",t.POINT="POINT",t.LINE="LINE",t}({});class c{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.dialogRef.close()}}class d{constructor(t,e,n){this.dialog=t,this.collectionService=e,this.formBuilder=n,this.show=!0,this.clickable=!1,this.hoverable=!1,this.piv=!1,this.geometryColor=null,this.geometryOpacity=null,this.borderColor=null,this.borderOpacity=null,this.borderWidth=null,this.circleRadius=null,this.lineWidth=null,this.layerTypes=Object.values(s),this.layerType=null,this.geometryTypes=Object.values(u),this.geometryType=u.POLYGON,this.updatedStyleValues=!1,this.watchersOfStylesValues={}}openHelper(){this.dialog.open(c,{width:"75%",height:"75%",data:{collection:this.collection}}).afterClosed().subscribe(t=>{console.log("The dialog was closed")})}onFileChange(t,e){console.log("onFileChange |","event:",t,"iList:",e)}ngOnInit(){this.initForm()}initForm(){this.layerForm=this.formBuilder.group({file:[this.collection?this.collection.file:null,[i]],name:[this.collection?this.collection.name:null,[l.w.required,r]],group:[this.collection?this.collection.layerGroup:null,[l.w.required]],piv:[this.collection?this.collection.piv:this.piv,[l.w.required]],layerType:[this.collection?this.collection.type:this.layerType,[l.w.required]],tippecanoe:[this.collection?this.collection.tippecanoe:null],style:[this.collection?this.collection.style:null],mapping:[this.collection?this.collection.mapping:null],properties:[this.collection?this.collection.properties:null],refresh:[this.collection?this.collection.refresh:null],show:[this.collection?this.collection.defaultView:this.show,[l.w.required]],order:[this.collection?this.collection.defaultOrder:null,[l.w.required]],clickable:[this.collection?this.collection.clickable:this.clickable,[l.w.required]],hoverable:[this.collection?this.collection.hoverable:this.hoverable,[l.w.required]],geometryType:[this.collection?this.collection.geometryType:this.geometryType,[l.w.required]],geometryColor:[this.collection?this.collection.geometryColor:this.geometryColor,[l.w.required]],geometryOpacity:[this.collection?this.collection.geometryOpacity:this.geometryOpacity,[l.w.required,a]],borderColor:[this.collection?this.collection.borderColor:this.borderColor],borderOpacity:[this.collection?this.collection.borderOpacity:this.borderOpacity,[a]],borderWidth:[this.collection?this.collection.borderWidth:this.borderWidth,[o]],circleRadius:[this.collection?this.collection.circleRadius:this.circleRadius,[o]],lineWidth:[this.collection?this.collection.lineWidth:this.lineWidth,[o]]}),this.watchStylesValues()}watchStylesValues(){["geometryType","geometryColor","geometryOpacity","borderColor","borderOpacity","borderWidth","circleRadius"].forEach(t=>{this.watchersOfStylesValues[t]=this.layerForm.get(t).valueChanges.subscribe(t=>{this.updatedStyleValues=!0,this.generateStyle()})})}generateStyle(t=!0){let e=null;const n=this.layerForm.get("geometryType").value;n&&(e=[this.generateGeometryStyle(n)],"POLYGON"===n&&e.push(this.generateGeometryBorderStyle()));const l=e?JSON.stringify(e,null,2):null;return t&&this.layerForm.controls.style.setValue(l),l}generateGeometryStyle(t){let e=null;"POLYGON"===t&&(e="fill"),"POINT"===t&&(e="circle"),"LINE"===t&&(e="line");let n={type:e,layout:{visibility:"visible"},paint:{},minzoom:0};return n.paint[e+"-color"]=this.layerForm.get("geometryColor").value,n.paint[e+"-opacity"]=this.layerForm.get("geometryOpacity").value,"POINT"===t&&(n.paint[e+"-radius"]=this.layerForm.get("circleRadius").value),"LINE"===t&&(n.paint[e+"-width"]=this.layerForm.get("lineWidth").value),n}generateGeometryBorderStyle(){return{type:"line",paint:{"line-color":this.layerForm.get("borderColor").value,"line-opacity":this.layerForm.get("borderOpacity").value,"line-width":this.layerForm.get("borderWidth").value},layout:{visibility:"visible"}}}getLayerType(){return this.layerForm.get("layerType").value}getGeometryType(){return this.layerForm.get("geometryType").value}submitLayer(){this.collection={},this.collection.file=this.layerForm.get("file").value&&this.layerForm.get("file").value._files[0]?this.layerForm.get("file").value._files[0]:null,this.collection.name=this.layerForm.get("name").value,this.collection.layerGroup=this.layerForm.get("group").value,this.collection.piv=this.layerForm.get("piv").value,this.collection.type=this.layerForm.get("layerType").value,this.collection.tippecanoe=this.layerForm.get("tippecanoe").value,this.collection.style=this.layerForm.get("style").value,this.collection.mapping=this.layerForm.get("mapping").value,this.collection.properties=this.layerForm.get("properties").value,this.collection.refresh=this.layerForm.get("refresh").value,this.collection.defaultView=this.layerForm.get("show").value,this.collection.defaultOrder=isNaN(Number(this.layerForm.get("order").value))?null:Number(this.layerForm.get("order").value),this.collection.clickable=this.layerForm.get("clickable").value,this.collection.hoverable=this.layerForm.get("hoverable").value,console.log("PIV:",!1===this.layerForm.get("piv").value,"false"===this.layerForm.get("piv").value),this.createCollection()}createCollection(){console.log("POST PAYLOAD:",{body:this.collection}),this.collectionService.createOneBaseCollectionControllerCollection({body:this.collection}).subscribe(t=>{})}}},"1ppg":function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1vG3":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("8rpt"),a=n("iInd"),s=n("oeKZ");n.d(e,"a",(function(){return h}));var u=l.Bb({encapsulation:0,styles:[["ion-content[_ngcontent-%COMP%]{position:relative;--background:url(/assets/images/background.jpg) no-repeat center/cover fixed}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;text-align:center;-webkit-backdrop-filter:brightness(50%);backdrop-filter:brightness(50%)}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-logo[_ngcontent-%COMP%]{position:absolute;width:100%;top:15%}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-auth[_ngcontent-%COMP%]{position:absolute;width:100%;top:50%}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-auth[_ngcontent-%COMP%] .auth-button[_ngcontent-%COMP%]{font-family:Quicksand;height:60px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:2px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#d3d3d3;width:600px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:15px}ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] .logo-aid[_ngcontent-%COMP%], ion-content[_ngcontent-%COMP%] .component-login[_ngcontent-%COMP%] .component-login-credits[_ngcontent-%COMP%] .logo-fabnum[_ngcontent-%COMP%]{position:relative;bottom:5px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,21,"ion-content",[["scroll","false"]],null,null,null,i.w,i.e)),l.Cb(1,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,19,"div",[["class","component-login"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"div",[["class","component-login-logo"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"img",[["alt","logo"],["height","80"],["src","../../assets/logo.svg"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,5,"div",[["class","component-login-auth"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,4,"ion-button",[["class","auth-button"],["color","danger"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.login()&&l),l}),i.u,i.c)),l.Cb(7,49152,null,0,r.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["S'IDENTIFIER"])),(t()(),l.Db(9,0,null,0,0,"br",[],null,null,null,null,null)),(t()(),l.Wb(-1,0,["AVEC SEPIA CONNECT"])),(t()(),l.Db(11,0,null,null,2,"div",[["class","component-login-dbg"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(13,null,["",""])),(t()(),l.Db(14,0,null,null,7,"div",[["class","component-login-credits"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"a",[["href","https://www.defense.gouv.fr/air"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,0,"img",[["alt","logo"],["src","../../assets/logo_armee_air.svg"],["width","120"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,1,"a",[["href","https://beta.gouv.fr/approche/incubateurs/fabnumdef.html"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,0,"img",[["alt","logo"],["class","logo-fabnum"],["src","../../assets/logo_fabnum.png"],["width","120"]],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,1,"a",[["href","https://www.defense.gouv.fr/aid"]],null,null,null,null,null)),(t()(),l.Db(21,0,null,null,0,"img",[["alt","logo"],["class","logo-aid"],["src","../../assets/logo_innovation_defense_lab.jpg"],["width","120"]],null,null,null,null,null))],(function(t,e){t(e,7,0,"danger")}),(function(t,e){t(e,13,0,e.component.prettyProfile)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-login",[],null,null,null,c,u)),l.Cb(1,114688,null,0,o.a,[a.m,s.a,r.Eb],null,null)],(function(t,e){t(e,1,0)}),null)}var h=l.zb("app-login",o.a,d,{},{},[])},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"27p8":function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("3TKY"),o=n("ZXPP"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l,i){var r=t.call(this,e,n,l,i)||this;return r.declutterGroups_=null,r.hitDetectionImage_=null,r.image_=null,r.anchorX_=void 0,r.anchorY_=void 0,r.height_=void 0,r.opacity_=void 0,r.originX_=void 0,r.originY_=void 0,r.rotateWithView_=void 0,r.rotation_=void 0,r.scale_=void 0,r.width_=void 0,r}return a(e,t),e.prototype.drawCoordinates_=function(t,e,n,l){return this.appendFlatCoordinates(t,e,n,l,!1,!1)},e.prototype.drawPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),l=t.getStride(),i=this.coordinates.length,r=this.drawCoordinates_(n,0,n.length,l);this.instructions.push([o.c.DRAW_IMAGE,i,r,this.image_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([o.c.DRAW_IMAGE,i,r,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(e)}},e.prototype.drawMultiPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),l=t.getStride(),i=this.coordinates.length,r=this.drawCoordinates_(n,0,n.length,l);this.instructions.push([o.c.DRAW_IMAGE,i,r,this.image_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([o.c.DRAW_IMAGE,i,r,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroups_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(e)}},e.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,t.prototype.finish.call(this)},e.prototype.setImageStyle=function(t,e){var n=t.getAnchor(),l=t.getSize(),i=t.getHitDetectionImage(1),r=t.getImage(1),o=t.getOrigin();this.anchorX_=n[0],this.anchorY_=n[1],this.declutterGroups_=e,this.hitDetectionImage_=i,this.image_=r,this.height_=l[1],this.opacity_=t.getOpacity(),this.originX_=o[0],this.originY_=o[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScale(),this.width_=l[0]},e}(r.a),u=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),c=function(t){function e(e,n,l,i){return t.call(this,e,n,l,i)||this}return u(e,t),e.prototype.drawFlatCoordinates_=function(t,e,n,l){var i=this.coordinates.length,r=this.appendFlatCoordinates(t,e,n,l,!1,!1),a=[o.c.MOVE_TO_LINE_TO,i,r];return this.instructions.push(a),this.hitDetectionInstructions.push(a),n},e.prototype.drawLineString=function(t,e){var n=this.state;if(void 0!==n.strokeStyle&&void 0!==n.lineWidth){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],o.a);var l=t.getFlatCoordinates(),i=t.getStride();this.drawFlatCoordinates_(l,0,l.length,i),this.hitDetectionInstructions.push(o.e),this.endGeometry(e)}},e.prototype.drawMultiLineString=function(t,e){var n=this.state;if(void 0!==n.strokeStyle&&void 0!==n.lineWidth){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],o.a);for(var l=t.getEnds(),i=t.getFlatCoordinates(),r=t.getStride(),a=0,s=0,u=l.length;s<u;++s)a=this.drawFlatCoordinates_(i,a,l[s],r);this.hitDetectionInstructions.push(o.e),this.endGeometry(e)}},e.prototype.finish=function(){var e=this.state;return null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&this.instructions.push(o.e),this.reverseHitDetectionInstructions(),this.state=null,t.prototype.finish.call(this)},e.prototype.applyStroke=function(e){null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&(this.instructions.push(o.e),e.lastStroke=this.coordinates.length),e.lastStroke=0,t.prototype.applyStroke.call(this,e),this.instructions.push(o.a)},e}(r.a),d=n("HEh+"),h=n("3er3"),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e,n,l,i){return t.call(this,e,n,l,i)||this}return p(e,t),e.prototype.drawFlatCoordinatess_=function(t,e,n,l){var i=this.state,r=void 0!==i.fillStyle,a=void 0!==i.strokeStyle,s=n.length;this.instructions.push(o.a),this.hitDetectionInstructions.push(o.a);for(var u=0;u<s;++u){var c=n[u],d=this.coordinates.length,h=this.appendFlatCoordinates(t,e,c,l,!0,!a),p=[o.c.MOVE_TO_LINE_TO,d,h];this.instructions.push(p),this.hitDetectionInstructions.push(p),a&&(this.instructions.push(o.b),this.hitDetectionInstructions.push(o.b)),e=c}return r&&(this.instructions.push(o.d),this.hitDetectionInstructions.push(o.d)),a&&(this.instructions.push(o.e),this.hitDetectionInstructions.push(o.e)),e},e.prototype.drawCircle=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.c.SET_FILL_STYLE,h.c]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var l=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length;this.appendFlatCoordinates(l,0,l.length,i,!1,!1);var a=[o.c.CIRCLE,r];this.instructions.push(o.a,a),this.hitDetectionInstructions.push(o.a,a),void 0!==n.fillStyle&&(this.instructions.push(o.d),this.hitDetectionInstructions.push(o.d)),void 0!==n.strokeStyle&&(this.instructions.push(o.e),this.hitDetectionInstructions.push(o.e)),this.endGeometry(e)}},e.prototype.drawPolygon=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.c.SET_FILL_STYLE,h.c]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var l=t.getEnds(),i=t.getOrientedFlatCoordinates(),r=t.getStride();this.drawFlatCoordinatess_(i,0,l,r),this.endGeometry(e)}},e.prototype.drawMultiPolygon=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([o.c.SET_FILL_STYLE,h.c]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([o.c.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);for(var l=t.getEndss(),i=t.getOrientedFlatCoordinates(),r=t.getStride(),a=0,s=0,u=l.length;s<u;++s)a=this.drawFlatCoordinatess_(i,a,l[s],r);this.endGeometry(e)}},e.prototype.finish=function(){this.reverseHitDetectionInstructions(),this.state=null;var e=this.tolerance;if(0!==e)for(var n=this.coordinates,l=0,i=n.length;l<i;++l)n[l]=Object(d.e)(n[l],e);return t.prototype.finish.call(this)},e.prototype.setFillStrokeStyles_=function(){var t=this.state;void 0!==t.fillStyle&&this.updateFillStyle(t,this.createFill),void 0!==t.strokeStyle&&this.updateStrokeStyle(t,this.applyStroke)},e}(r.a),b=n("Dmnv"),m={Circle:f,Default:r.a,Image:s,LineString:c,Polygon:f,Text:b.b},g=function(){function t(t,e,n,l,i){this.declutter_=i,this.declutterGroups_=null,this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=l,this.resolution_=n,this.buildersByZIndex_={}}return t.prototype.addDeclutter=function(t){var e=null;return this.declutter_&&(t?(e=this.declutterGroups_)[0][4]++:(e=[Object(i.j)()],this.declutterGroups_=e,e[0].push(1))),e},t.prototype.finish=function(){var t={};for(var e in this.buildersByZIndex_){t[e]=t[e]||{};var n=this.buildersByZIndex_[e];for(var l in n){var i=n[l].finish();t[e][l]=i}}return t},t.prototype.getBuilder=function(t,e){var n=void 0!==t?t.toString():"0",l=this.buildersByZIndex_[n];void 0===l&&(this.buildersByZIndex_[n]=l={});var i=l[e];return void 0===i&&(i=new(0,m[e])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),l[e]=i),i},t}();e.a=g},"2BCK":function(t,e,n){"use strict";var l=n("TN97"),i=n("egkh"),r=n("wtMG"),o=n("bHcU"),a=n("XDhV"),s=(n("CvXi"),n("BJ1j"),n("R+T3"),n("mkQN"),n("iNpl"),n("9ANI"),n("W8M7"),function(t,e){var n=t[0]-e[0],l=t[1]-e[1];return Math.sqrt(n*n+l*l)}),u=function(t){t||(t={}),o.b.call(this,{renderer:this._render.bind(this),geometry:t.geometry}),this._visible=!1!==t.visible,"function"==typeof t.width?this._widthFn=t.width:this.setWidth(t.width),this.setWidth2(t.width2),"function"==typeof t.color?this._colorFn=t.color:this.setColor(t.color),this.setColor2(t.color2),this.setLineCap(t.lineCap)};Object(r.a)(u,o.b),u.prototype.setWidth=function(t){this._width=t||0},u.prototype.setWidth2=function(t){this._width2=t},u.prototype.setLineCap=function(t){this._lineCap="round"===t?"round":"butt"},u.prototype.getWidth=function(t,e){return this._widthFn?this._widthFn(t,e):this._width+(("number"==typeof this._width2?this._width2:this._width)-this._width)*e},u.prototype.setColor=function(t){try{this._color=Object(a.a)(t)}catch(e){this._color=[0,0,0,1]}},u.prototype.setColor2=function(t){try{this._color2=Object(a.a)(t)}catch(e){this._color2=null}},u.prototype.getColor=function(t,e){if(this._colorFn)return Object(a.b)(this._colorFn(t,e));var n=this._color,l=this._color2||this._color;return"rgba("+ +Math.round(n[0]+(l[0]-n[0])*e)+","+Math.round(n[1]+(l[1]-n[1])*e)+","+Math.round(n[2]+(l[2]-n[2])*e)+","+(n[3]+(l[3]-n[3])*e)+")"},u.prototype._render=function(t,e){if("LineString"===e.geometry.getType()){var n,l,i=e.context;if(!this._visible){var r=e.pixelRatio/e.resolution,o=e.geometry.getCoordinates(),a=t[0][0]-o[0][0]*r,s=t[0][1]+o[0][1]*r;for(t=[],n=0;l=o[n];n++)t[n]=[a+l[0]*r,s-l[1]*r]}var u=this._splitInto(t,255,2),c=0,d=u.length;i.save(),i.lineJoin="round",i.lineCap=this._lineCap||"butt",u.forEach((function(t){var r=c++/d;for(i.lineWidth=this.getWidth(e.feature,r)*e.pixelRatio,i.strokeStyle=this.getColor(e.feature,r),i.beginPath(),i.moveTo(t[0][0],t[0][1]),n=1;l=t[n];n++)i.lineTo(l[0],l[1]),i.stroke()}).bind(this)),i.restore()}},u.prototype._splitInto=function(t,e,n){var l,i,r,o=[],a=0;for(l=1;i=t[l];l++)a+=s(t[l-1],i);var u=Math.max(n||2,a/(e||255)),c=t[0];a=0;var d=[c];for(l=1,i=t[1];l<t.length;){var h=i[0]-c[0],p=i[1]-c[1];if(a+(r=Math.sqrt(h*h+p*p))>u){var f=(u-a)/r;d.push([c[0]+h*f,c[1]+p*f]),o.push(d),d=[c=[c[0]+h*f*.9,c[1]+p*f*.9]],a=0}else a+=r,d.push(c=i),i=t[++l]}return o.push(d),o};var c=u,d=n("JW8z");class h{static getWhite(){return{r:255,g:255,b:255}}static getRed(){return{r:255,g:0,b:0}}static getGreen(){return{r:0,g:255,b:0}}static getBlue(){return{r:255,g:0,b:255}}static getBlack(){return{r:0,g:0,b:0}}static getColourWheelScale(t,e,n,l=!0,i=!0){let r=null;if(void 0===t||isNaN(t))l&&(r=h.getWhite());else if(t<=e)r=h.getWhite();else if(t>=n)r=h.getRed();else{t-=e;let l=n-e+1,o=l/5;if(o){if(i)if(t<o)t*=2;else{let e=2*o;t=Math.round((t-o)/(l-o)*(l-e)+e)}let e,n,a,s=Math.floor(t/o),u=(t-s*o)/o;switch(s){case 0:a=0,n=255,e=h.fallingComponent(u);break;case 1:e=0,n=255,a=h.risingComponent(u);break;case 2:e=0,a=255,n=h.fallingComponent(u);break;case 3:n=0,a=255,e=h.risingComponent(u);break;case 4:n=0,e=255,a=h.fallingComponent(u)}r={r:e,g:n,b:a}}else r=h.getWhite()}return r}static risingComponent(t){return Math.floor(255*t)}static fallingComponent(t){return 255-Math.floor(255*t)}static colourToCssString(t){var e=null;if(t){var n=function(t){var e=t.toString(16);return 1===e.length?"0"+e:e};e="#"+n(t.r)+n(t.g)+n(t.b)}return e}}var p=n("wd/R");n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return b}));class f{constructor(t){this.longitude=t.longitude,this.latitude=t.latitude,this.altitude=t.altitude,this.updatedAt=p(t.updatedAt).valueOf()}}class b{constructor(t,e){this.positions=[],this.icao=t,e.forEach(t=>{t.longitude&&t.latitude&&t.altitude&&t.updatedAt&&this.positions.unshift(new f(t))})}getFeatures(){const t=[],e=this.getFlowlines(),n=[];for(let l=0;l<this.positions.length;l++){const t=[this.positions[l].longitude,this.positions[l].latitude],e=Object(d.d)(t);n.unshift(e)}for(let r=0;r<n.length-1;r++){const o=new l.a({geometry:new i.a([n[r],n[r+1]]),id_:"TRACE_"+this.icao+"_"+r});o.setStyle(e[r]),t.unshift(o)}return t}getFlowlines(){const t=this.getColours(),e=[];for(let n=0;n<t.length-1;n++)e.unshift(this.getFlowLine(t[n],t[n+1]));return e.unshift(this.getFlowLine(t[t.length-1],t[t.length-1])),e}getFlowLine(t,e){return new c({color:t,color2:e,width:4,width2:4,visible:!1})}getColoursFromAltitude(t){return h.colourToCssString(h.getColourWheelScale(t,100,5e4,!0,!0))}getColours(){const t=[];for(let e=0;e<this.positions.length;e++){const n=this.getColoursFromAltitude(this.positions[e].altitude||0);t.unshift(n)}return t}}},"2Dig":function(t,e){t.exports=function(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}},"2Q+G":function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return d})),n.d(e,"c",(function(){return h}));var l=n("8Y7J"),i=(n("gavF"),n("QQfA"),n("IP0z"),n("Xd0L")),r=(n("cUpR"),n("SVse")),o=n("/HVE"),a=(n("zMNK"),n("hOhj"),n("omvX")),s=(n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}}));function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var l=!0,i=t.component;return"keydown"===e&&(l=!1!==i._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.closed.emit("click")&&l),"@transformMenu.start"===e&&(l=!1!==i._onAnimationStart(n)&&l),"@transformMenu.done"===e&&(l=!1!==i._onAnimationDone(n)&&l),l}),null,null)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,r.l,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),l.Db(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),l.Ob(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function c(t){return l.Yb(2,[l.Ub(671088640,1,{templateRef:0}),(t()(),l.sb(0,[[1,2]],null,0,null,u))],null,null)}var d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(2,[l.Ob(null,0),(t()(),l.Db(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(2,212992,null,0,i.x,[l.p,l.G,o.a,[2,i.m],[2,a.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,l.Pb(e,2).unbounded)}))}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2UHX":function(t,e){t.exports="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},"2VmZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("BxA5"),i=(n("svHU"),n("qU9k"));class r{constructor(t,e,n){this.ref=t,this.mapService=e,this.landInteractionService=n,this.subscription={},this.displayLandEntities=[],this.displayDescription=!1}ngOnInit(){this.subscription.landEntityEvent=this.landInteractionService.getLandEntitiesEmitter().subscribe(t=>this.displayPopupLand(t)),this.popup=new l.a({element:this.landPopup.nativeElement}),this.mapService.getMap().addOverlay(this.popup)}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}displayPopupLand(t){let e;this.displayLandEntities=t.newLandEntities,this.displayDescription=!1,this.popup.autoPan=!1,this.popup.autoPanAnimation={},t.status!==i.b.UNSELECT&&t.position&&(e=this.mapService.getMap().getCoordinateFromPixel(t.position),t.status===i.b.SELECT&&(this.popup.autoPan=!0,this.popup.autoPanAnimation={duration:250},this.displayDescription=!0)),this.popup.setPosition(e),this.ref.detectChanges()}validURL(t){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}}},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("XNiG"),i=n("9ppp");class r extends l.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}next(t){super.next(this._value=t)}}},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));let l=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else l&&console.log("RxJS: Back to a better error behavior. Thank you. <3");l=t},get useDeprecatedSynchronousErrorHandling(){return l}}},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2lwS":function(t,e,n){"use strict";var l=function(){function t(){this.disposed_=!1}return t.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();e.a=l},"2pII":function(t,e,n){var l=n("akSB"),i=n("cpc2"),r=n("HjK1")("engine.io-client:socket"),o=n("7jRU"),a=n("Wm4p"),s=n("Uxeu"),u=n("TypT");function c(t,e){if(!(this instanceof c))return new c(t,e);e=e||{},t&&"object"==typeof t&&(e=t,t=null),t?(t=s(t),e.hostname=t.host,e.secure="https"===t.protocol||"wss"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=s(e.host).host),this.secure=null!=e.secure?e.secure:"undefined"!=typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=e.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},"string"==typeof this.query&&(this.query=u.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=!1!==e.withCredentials,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||void 0,this.key=e.key||void 0,this.passphrase=e.passphrase||void 0,this.cert=e.cert||void 0,this.ca=e.ca||void 0,this.ciphers=e.ciphers||void 0,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=c,c.priorWebsocketSuccess=!1,i(c.prototype),c.protocol=a.protocol,c.Socket=c,c.Transport=n("Gbct"),c.transports=n("akSB"),c.parser=n("Wm4p"),c.prototype.createTransport=function(t){r('creating transport "%s"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=a.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new l[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},c.prototype.open=function(){var t;if(this.rememberUpgrade&&c.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},c.prototype.setTransport=function(t){r("setting transport %s",t.name);var e=this;this.transport&&(r("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))},c.prototype.probe=function(t){r('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),n=!1,l=this;function i(){l.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&l.transport.supportsBinary),n||(r('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(i){if(!n)if("pong"===i.type&&"probe"===i.data){if(r('probe transport "%s" pong',t),l.upgrading=!0,l.emit("upgrading",e),!e)return;c.priorWebsocketSuccess="websocket"===e.name,r('pausing current transport "%s"',l.transport.name),l.transport.pause((function(){n||"closed"!==l.readyState&&(r("changing transport and sending upgrade packet"),h(),l.setTransport(e),e.send([{type:"upgrade"}]),l.emit("upgrade",e),e=null,l.upgrading=!1,l.flush())}))}else{r('probe transport "%s" failed',t);var o=new Error("probe error");o.transport=e.name,l.emit("upgradeError",o)}})))}function o(){n||(n=!0,h(),e.close(),e=null)}function a(n){var i=new Error("probe error: "+n);i.transport=e.name,o(),r('probe transport "%s" failed because of error: %s',t,n),l.emit("upgradeError",i)}function s(){a("transport closed")}function u(){a("socket closed")}function d(t){e&&t.name!==e.name&&(r('"%s" works - aborting "%s"',t.name,e.name),o())}function h(){e.removeListener("open",i),e.removeListener("error",a),e.removeListener("close",s),l.removeListener("close",u),l.removeListener("upgrading",d)}c.priorWebsocketSuccess=!1,e.once("open",i),e.once("error",a),e.once("close",s),this.once("close",u),this.once("upgrading",d),e.open()},c.prototype.onOpen=function(){if(r("socket open"),this.readyState="open",c.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){r("starting upgrade probes");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},c.prototype.onPacket=function(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(r('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emit("data",t.data),this.emit("message",t.data)}else r('packet received with socket readyState "%s"',this.readyState)},c.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},c.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout((function(){"closed"!==e.readyState&&e.onClose("ping timeout")}),t||e.pingInterval+e.pingTimeout)},c.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout((function(){r("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)}),t.pingInterval)},c.prototype.ping=function(){var t=this;this.sendPacket("ping",(function(){t.emit("ping")}))},c.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},c.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(r("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},c.prototype.write=c.prototype.send=function(t,e,n){return this.sendPacket("message",t,e,n),this},c.prototype.sendPacket=function(t,e,n,l){if("function"==typeof e&&(l=e,e=void 0),"function"==typeof n&&(l=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var i={type:t,data:e,options:n};this.emit("packetCreate",i),this.writeBuffer.push(i),l&&this.once("flush",l),this.flush()}},c.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var t=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?l():e()})):this.upgrading?l():e()}function e(){t.onClose("forced close"),r("socket closing - telling transport to close"),t.transport.close()}function n(){t.removeListener("upgrade",n),t.removeListener("upgradeError",n),e()}function l(){t.once("upgrade",n),t.once("upgradeError",n)}return this},c.prototype.onError=function(t){r("socket error %j",t),c.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},c.prototype.onClose=function(t,e){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(r('socket close with reason: "%s"',t),clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,e),this.writeBuffer=[],this.prevBufferLen=0)},c.prototype.filterUpgrades=function(t){for(var e=[],n=0,l=t.length;n<l;n++)~o(this.transports,t[n])&&e.push(t[n]);return e}},"2yFf":function(t,e,n){"use strict";var l,i=n("8Y7J"),r=n("MlvX"),o=n("Xd0L"),a=n("8rEH"),s=n("zQui"),u=n("bujt"),c=n("Fwaw"),d=n("5GAg"),h=n("omvX"),p=n("oBZk"),f=n("ZZ/e"),b=n("gavF"),m=n("QQfA"),g=n("IP0z"),_=n("2Q+G"),y=n("SVse"),A=n("dJrM"),v=n("HsOI"),C=n("/HVE"),w=n("s7LF"),P=n("ZwOa"),x=n("oapL"),S=n("Azqq"),k=n("JjoW"),M=n("hOhj"),O=n("Z5h4"),D=n("r0V8"),T=n("pIm3"),E=n("NvT6"),I=n("W5yJ"),L=n("s6ns"),j=n("b1+6"),R=n("OIZN"),F=n("xgIS"),N=n("lJxs"),Y=n("Kj3r"),U=n("/uUt"),B=n("vkgz"),z=new Uint8Array(16);function G(){if(!l&&!(l="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return l(z)}for(var H=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,V=function(t){return"string"==typeof t&&H.test(t)},q=[],W=0;W<256;++W)q.push((W+256).toString(16).substr(1));var $=function(t,e,n){var l=(t=t||{}).random||(t.rng||G)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=l[i];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(q[t[e+0]]+q[t[e+1]]+q[t[e+2]]+q[t[e+3]]+"-"+q[t[e+4]]+q[t[e+5]]+"-"+q[t[e+6]]+q[t[e+7]]+"-"+q[t[e+8]]+q[t[e+9]]+"-"+q[t[e+10]]+q[t[e+11]]+q[t[e+12]]+q[t[e+13]]+q[t[e+14]]+q[t[e+15]]).toLowerCase();if(!V(n))throw TypeError("Stringified UUID is invalid");return n}(l)},X=n("oeKZ");function K(t){let e={};return e.id=t.id,e.icao=t.icao,e.startAt=60*t.startAtHours+t.startAtMinutes,e.endAt=60*t.endAtHours+t.endAtMinutes,e.airforceReady=t.airforceReady,e.airforceSpeed=t.airforceSpeed,e.airforceDuration=t.airforceDuration,e.icaoTypeCode=t.icaoTypeCode,e}n("G0WM");var J=n("oQtH"),Q=n("qToJ"),Z=n("GXLG"),tt=n("dvZr");class et{constructor(t,e,n,l,i,r,o,s,u,c,d,h,p){this.stopPointService=t,this.engineService=e,this.squawkService=n,this.operatorService=l,this.vehicleService=i,this.feedService=r,this.plotService=o,this.iconService=s,this.bboxService=u,this.collectionService=c,this.settingService=d,this.snackBarService=h,this.keycloakService=p,this.isLoading=!0,this.allTables=J.a.config.TableDisplayColumn,this.tableName=Object.keys(this.allTables)[0],this.filterColumn=this.allTables[this.tableName].columnsFilter[0],this.hours=Array.from(Array(24),(t,e)=>e),this.minutes=Array.from(Array(60),(t,e)=>e),this.dataSource=new a.l,this.idEntityEdit="",this.separatorKeysCodes=[tt.g,tt.c,tt.o],this.pager={pageSize:25,pageIndex:0,lenght:0},this.pngInBase64=null}ngOnInit(){this.iconService.getManyBaseIconControllerIcon().subscribe(t=>{this.iconSelect=t.data}),this.keycloakService.client().resourceAccess["sepia.angular"].roles.indexOf("admin")<0&&delete this.allTables.feed,this.getEntities()}ngOnDestroy(){this.allTables={},this.tableName="",this.filterColumn="",this.dataSource.data=[],this.idEntityEdit=""}ngAfterViewInit(){Object(F.a)(this.filter.nativeElement,"keyup").pipe(Object(Y.a)(300),Object(U.a)(),Object(B.a)(t=>{this.getEntities()})).subscribe()}changeTable(t){J.a.config.TableDisplayColumn[this.tableName]&&(this.filterColumn=this.allTables[this.tableName].columnsFilter[0],this.getEntities())}changeFilterColumn(t){this.allTables[this.tableName].columnsFilter.indexOf(this.filterColumn)>=0&&this.getEntities()}changePage(t){this.pager.pageIndex=t.pageIndex,this.getEntities()}getEntities(){this.isLoading=!0;const t={page:this.pager.pageIndex+1,limit:this.pager.pageSize};(this.filter.nativeElement.value||""!==this.filter.nativeElement.value)&&(t.filter=[this.filterColumn+"||cont||"+this.filter.nativeElement.value]),this.dataSource.data=[],"engine"===this.tableName?this.getEngines(t):"operator"===this.tableName?this.getOperators(t):"squawk"===this.tableName?this.getSquawk(t):"stop_point"===this.tableName?this.getStopPoint(t):"vehicle"===this.tableName?this.getVehicle(t):"feed"===this.tableName?this.getFeed(t):"plot"===this.tableName?this.getPlot(t):"bbox"===this.tableName?this.getBbox(t):"collection"===this.tableName?this.getCollection(t):"icon"===this.tableName&&this.getIcon(t)}afterGetEntities(t){this.isLoading=!1,this.pager.lenght=t.total,this.dataSource.data=t.data}addRowEntity(){const t=Object.assign({},J.a.config.EmptyEntity[this.tableName]);this.dataSource.data=[t,...this.dataSource.data]}removeRowEntity(t){this.dataSource.data.splice(t,1),this.dataSource.data=this.dataSource.data}addEntity(t){t.id=$(),this.clearEntity(t),"engine"===this.tableName?this.addEngine(t):"operator"===this.tableName?this.addOperator(t):"squawk"===this.tableName?this.addSquawk(t):"stop_point"===this.tableName?this.addStopPoint(t):"vehicle"===this.tableName?this.addVehicle(t):"feed"===this.tableName?this.addFeed(t):"plot"===this.tableName?this.addPlot(t):"bbox"===this.tableName?this.addBbox(t):"icon"===this.tableName&&this.addIcon(t)}afterAddEntity(){this.getEntities()}afterAddEntityError(t,e){t.id=void 0}editEntity(t){this.clearEntity(t),"engine"===this.tableName?this.editEngine(t):"operator"===this.tableName?this.editOperator(t):"squawk"===this.tableName?this.editSquawk(t):"stop_point"===this.tableName?this.editStopPoint(t):"vehicle"===this.tableName?this.editVehicle(t):"feed"===this.tableName?this.editFeed(t):"plot"===this.tableName?this.editPlot(t):"bbox"===this.tableName?this.editBbox(t):"collection"===this.tableName?this.editCollection(t):"icon"===this.tableName&&this.editIcon(t)}afterEditEntity(t,e){this.idEntityEdit=""}closeEditEntity(){this.idEntityEdit="",this.getEntities()}deleteEntity(t){"engine"===this.tableName?this.deleteEngine(t):"operator"===this.tableName?this.deleteOperator(t):"squawk"===this.tableName?this.deleteSquawk(t):"stop_point"===this.tableName?this.deleteStopPoint(t):"vehicle"===this.tableName?this.deleteVehicle(t):"feed"===this.tableName?this.deleteFeed(t):"plot"===this.tableName?this.deletePlot(t):"bbox"===this.tableName?this.deleteBbox(t):"collection"===this.tableName?this.deleteCollection(t):"icon"===this.tableName&&this.deleteIcon(t)}clearEntity(t){for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&""===t[e]&&(t[e]=null)}getEngines(t){this.engineService.getManyBaseEngineControllerEngine(t).subscribe(t=>this.afterGetEntities(t))}addEngine(t){this.engineService.createOneBaseEngineControllerEngine({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editEngine(t){this.engineService.updateOneBaseEngineControllerEngine({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteEngine(t){this.engineService.deleteOneBaseEngineControllerEngine({id:t.id}).subscribe(t=>this.getEntities())}getOperators(t){this.operatorService.getManyBaseOperatorControllerOperator(t).subscribe(t=>this.afterGetEntities(t))}addOperator(t){this.operatorService.createOneBaseOperatorControllerOperator({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editOperator(t){this.operatorService.updateOneBaseOperatorControllerOperator({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteOperator(t){this.operatorService.deleteOneBaseOperatorControllerOperator({id:t.id}).subscribe(t=>this.getEntities())}getSquawk(t){this.squawkService.getManyBaseSquawkControllerSquawk(t).subscribe(t=>this.afterGetEntities(t))}addSquawk(t){this.squawkService.createOneBaseSquawkControllerSquawk({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editSquawk(t){this.squawkService.updateOneBaseSquawkControllerSquawk({id:String(t.id),body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteSquawk(t){this.squawkService.deleteOneBaseSquawkControllerSquawk({id:String(t.id)}).subscribe(t=>this.getEntities())}getStopPoint(t){this.stopPointService.getManyBaseStopPointControllerStopPoint(t).subscribe(t=>this.afterGetEntities(t))}addStopPoint(t){this.stopPointService.createOneBaseStopPointControllerStopPoint({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editStopPoint(t){this.stopPointService.updateOneBaseStopPointControllerStopPoint({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteStopPoint(t){this.stopPointService.deleteOneBaseStopPointControllerStopPoint({id:t.id}).subscribe(t=>this.getEntities())}getVehicle(t){this.vehicleService.getManyBaseVehicleControllerVehicle(t).subscribe(t=>{this.deleteNullTag(t.data,"tags"),this.afterGetEntities(t)})}deleteNullTag(t,e){return t.forEach(t=>{t[e]=t[e]?t[e].filter(t=>null!==t):[]}),t}addVehicle(t){this.vehicleService.createOneBaseVehicleControllerVehicle({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editVehicle(t){this.vehicleService.updateOneBaseVehicleControllerVehicle({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteVehicle(t){this.vehicleService.deleteOneBaseVehicleControllerVehicle({id:t.id}).subscribe(t=>this.getEntities())}getFeed(t){this.feedService.getManyBaseFeedControllerFeed(t).subscribe(t=>{t.data=t.data.map(t=>{let e=t;return e.settingsString=JSON.stringify(e.settings,null,2),e.type_feed=e.type,e}),this.afterGetEntities(t)})}addFeed(t){try{t.settings=JSON.parse(t.settingsString),t.type=t.type_feed}catch(e){return void this.afterAddEntityError(t,e.message)}this.feedService.createOneBaseFeedControllerFeed({body:t}).subscribe(t=>{this.settingService.loadSettings(),this.afterAddEntity()},e=>t.id=void 0)}editFeed(t){try{t.settings=JSON.parse(t.settingsString),t.type=t.type_feed}catch(e){return void this.snackBarService.openSnackBar(e.message)}this.feedService.updateOneBaseFeedControllerFeed({id:t.id,body:t}).subscribe(e=>{this.settingService.loadSettings(),this.afterEditEntity(t,e)})}deleteFeed(t){this.feedService.deleteOneBaseFeedControllerFeed({id:t.id}).subscribe(t=>{this.settingService.loadSettings(),this.getEntities()})}getPlot(t){this.plotService.getManyBasePlotControllerPlot(t).subscribe(t=>{t.data=t.data.map(t=>function(t){let e={};return e.id=t.id,e.icao=t.icao,e.startAtHours=Number(Math.floor(t.startAt/60)),e.startAtMinutes=t.startAt%60,e.endAtHours=Number(Math.floor(t.endAt/60)),e.endAtMinutes=t.endAt%60,e.airforceReady=t.airforceReady,e.airforceSpeed=t.airforceSpeed,e.airforceDuration=t.airforceDuration,e.icaoTypeCode=t.icaoTypeCode,e}(t)),this.afterGetEntities(t)})}addPlot(t){const e=K(t);this.plotService.createOneBasePlotControllerPlot({body:e}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editPlot(t){const e=K(t);this.plotService.updateOneBasePlotControllerPlot({id:e.id,body:e}).subscribe(e=>this.afterEditEntity(t,e))}deletePlot(t){this.plotService.deleteOneBasePlotControllerPlot({id:t.id}).subscribe(t=>this.getEntities())}addUserTag(t,e){if(e){const n=t.input,l=t.value;(l||"").trim()&&e.push(l.trim()),n&&(n.value="")}}removeUserTag(t,e){if(e){const n=e.indexOf(t);n>=0&&e.splice(n,1)}}getBbox(t){this.bboxService.getManyBaseBboxControllerBbox(t).subscribe(t=>this.afterGetEntities(t))}addBbox(t){this.bboxService.createOneBaseBboxControllerBbox({body:t}).subscribe(t=>this.afterAddEntity(),e=>t.id=void 0)}editBbox(t){this.bboxService.updateOneBaseBboxControllerBbox({id:t.id,body:t}).subscribe(e=>this.afterEditEntity(t,e))}deleteBbox(t){this.bboxService.deleteOneBaseBboxControllerBbox({id:t.id}).subscribe(t=>this.getEntities())}getCollection(t){this.collectionService.getManyBaseCollectionControllerCollection(t).subscribe(t=>{t.data=t.data.map(t=>{let e=t;return e.styleString=JSON.stringify(e.style,null,2),e.mappingString=JSON.stringify(e.mapping,null,2),e.propertiesString=JSON.stringify(e.properties,null,2),e}),this.afterGetEntities(t)})}editCollection(t){console.log("edit collection:",t);try{t.style=JSON.parse(t.styleString),t.mapping=JSON.parse(t.mappingString),t.properties=JSON.parse(t.propertiesString)}catch(e){return void this.snackBarService.openSnackBar(e.message)}this.collectionService.updateOneBaseCollectionControllerCollection({id:t.id,body:t}).subscribe(e=>(console.log("edited collection:",e),this.afterEditEntity(t,e)))}deleteCollection(t){this.collectionService.deleteOneBaseCollectionControllerCollection({id:t.id}).subscribe(t=>this.getEntities())}getIcon(t){this.iconService.getManyBaseIconControllerIcon(t).subscribe(t=>(this.iconSelect=t.data,this.afterGetEntities(t)))}addIcon(t){this.pngInBase64&&(t.bufferInBase64=this.pngInBase64),this.iconService.createOneBaseIconControllerIcon({body:t}).subscribe(e=>(this.iconSelect.push(t),this.afterAddEntity()),e=>t.id=void 0)}editIcon(t){this.pngInBase64&&(t.bufferInBase64=this.pngInBase64),this.iconService.updateOneBaseIconControllerIcon({id:t.id,body:t}).subscribe(e=>(this.iconSelect=this.iconSelect.map(e=>e.name===t.name?t:e),this.afterEditEntity(t,e)))}deleteIcon(t){this.iconService.deleteOneBaseIconControllerIcon({id:t.id}).subscribe(e=>(this.iconSelect=this.iconSelect.filter(e=>e.name===t.name?null:e),this.getEntities()))}onUploadImage(t){if(t.target.files.length>0){const e=new FileReader;let n=t.target.files.item(0);this.imageToBase64(e,n).subscribe(t=>{this.pngInBase64=t.split(",")[1]})}else this.pngInBase64=null}imageToBase64(t,e){return t.readAsDataURL(e),Object(F.a)(t,"load").pipe(function(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>Object(N.a)(function(t,e){return n=>{let l=n;for(let i=0;i<e;i++){const e=null!=l?l[t[i]]:void 0;if(void 0===e)return;l=e}return l}}(t,e))(n)}("currentTarget","result"))}}var nt=n("rLOe"),lt=n("EFbT"),it=n("AjEG"),rt=n("UN5i"),ot=n("3y7P"),at=n("5p+q"),st=n("sUFW"),ut=n("b2zq"),ct=n("Qykp"),dt=n("X0qu"),ht=i.Bb({encapsulation:0,styles:[[".mat-dialog-content{margin:0;padding:0}#edition-db-interaction[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between;align-items:center}table[_ngcontent-%COMP%]{width:100%;border-spacing:0}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}td[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%], th[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%]{display:flex} #content-database-dialog .mat-form-field{width:120px} #content-database-dialog .mat-form-field-appearance-outline .mat-form-field-wrapper{padding:0}.png-field[_ngcontent-%COMP%]{width:280px!important}"]],data:{}});function pt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[11,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.key)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.value.name)}))}function ft(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[32,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function bt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,5,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Db(2,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.addRowEntity()&&l),l}),u.b,u.a)),i.Cb(3,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),(t()(),i.Db(4,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,p.y,p.g)),i.Cb(5,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null)],(function(t,e){t(e,5,0,"add")}),(function(t,e){t(e,2,0,i.Pb(e,3).disabled||null,"NoopAnimations"===i.Pb(e,3)._animationMode)}))}function mt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,22,"div",[],null,null,null,null,null)),(t()(),i.Db(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var l=!0;return"mousedown"===e&&(l=!1!==i.Pb(t,3)._handleMousedown(n)&&l),"keydown"===e&&(l=!1!==i.Pb(t,3)._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.Pb(t,3)._handleClick(n)&&l),l}),u.b,u.a)),i.Cb(2,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),i.Cb(3,1196032,null,0,b.g,[m.c,i.p,i.Y,b.c,[2,b.d],[8,null],[2,g.b],d.h],{menu:[0,"menu"]},null),(t()(),i.Db(4,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,p.y,p.g)),i.Cb(5,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(6,0,null,null,16,"mat-menu",[],null,null,null,_.d,_.b)),i.Cb(7,1294336,[["createMenu",4]],3,b.h,[i.p,i.G,b.a],null,null),i.Ub(603979776,42,{_allItems:1}),i.Ub(603979776,43,{items:1}),i.Ub(603979776,44,{lazyContent:0}),i.Tb(2048,null,b.d,null,[b.h]),i.Tb(2048,null,b.b,null,[b.d]),(t()(),i.Db(13,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,14)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,14)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.addEntity(t.parent.context.$implicit)&&l),l}),_.c,_.a)),i.Cb(14,180224,[[42,4],[43,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(15,0,null,0,1,"ion-icon",[["name","checkmark"]],null,null,null,p.y,p.g)),i.Cb(16,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Save "])),(t()(),i.Db(18,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,19)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,19)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.removeRowEntity(t.parent.context.index)&&l),l}),_.c,_.a)),i.Cb(19,180224,[[42,4],[43,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(20,0,null,0,1,"ion-icon",[["name","close"]],null,null,null,p.y,p.g)),i.Cb(21,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,3,0,i.Pb(e,7)),t(e,5,0,"more"),t(e,7,0),t(e,16,0,"checkmark"),t(e,21,0,"close")}),(function(t,e){t(e,1,0,i.Pb(e,2).disabled||null,"NoopAnimations"===i.Pb(e,2)._animationMode,i.Pb(e,3).menuOpen||null),t(e,13,0,i.Pb(e,14).role,i.Pb(e,14)._highlighted,i.Pb(e,14)._triggersSubmenu,i.Pb(e,14)._getTabIndex(),i.Pb(e,14).disabled.toString(),i.Pb(e,14).disabled||null),t(e,18,0,i.Pb(e,19).role,i.Pb(e,19)._highlighted,i.Pb(e,19)._triggersSubmenu,i.Pb(e,19)._getTabIndex(),i.Pb(e,19).disabled.toString(),i.Pb(e,19).disabled||null)}))}function gt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,22,"div",[],null,null,null,null,null)),(t()(),i.Db(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var l=!0;return"mousedown"===e&&(l=!1!==i.Pb(t,3)._handleMousedown(n)&&l),"keydown"===e&&(l=!1!==i.Pb(t,3)._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.Pb(t,3)._handleClick(n)&&l),l}),u.b,u.a)),i.Cb(2,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),i.Cb(3,1196032,null,0,b.g,[m.c,i.p,i.Y,b.c,[2,b.d],[8,null],[2,g.b],d.h],{menu:[0,"menu"]},null),(t()(),i.Db(4,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,p.y,p.g)),i.Cb(5,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(6,0,null,null,16,"mat-menu",[],null,null,null,_.d,_.b)),i.Cb(7,1294336,[["editMenu",4]],3,b.h,[i.p,i.G,b.a],null,null),i.Ub(603979776,45,{_allItems:1}),i.Ub(603979776,46,{items:1}),i.Ub(603979776,47,{lazyContent:0}),i.Tb(2048,null,b.d,null,[b.h]),i.Tb(2048,null,b.b,null,[b.d]),(t()(),i.Db(13,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,14)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,14)._handleMouseEnter()&&l),"click"===e&&(l=!1!==(r.idEntityEdit=t.parent.parent.context.$implicit.id)&&l),l}),_.c,_.a)),i.Cb(14,180224,[[45,4],[46,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(15,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,p.y,p.g)),i.Cb(16,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Edit "])),(t()(),i.Db(18,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,19)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,19)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteEntity(t.parent.parent.context.$implicit)&&l),l}),_.c,_.a)),i.Cb(19,180224,[[45,4],[46,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(20,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,p.y,p.g)),i.Cb(21,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,3,0,i.Pb(e,7)),t(e,5,0,"more"),t(e,7,0),t(e,16,0,"create"),t(e,21,0,"trash")}),(function(t,e){t(e,1,0,i.Pb(e,2).disabled||null,"NoopAnimations"===i.Pb(e,2)._animationMode,i.Pb(e,3).menuOpen||null),t(e,13,0,i.Pb(e,14).role,i.Pb(e,14)._highlighted,i.Pb(e,14)._triggersSubmenu,i.Pb(e,14)._getTabIndex(),i.Pb(e,14).disabled.toString(),i.Pb(e,14).disabled||null),t(e,18,0,i.Pb(e,19).role,i.Pb(e,19)._highlighted,i.Pb(e,19)._triggersSubmenu,i.Pb(e,19)._getTabIndex(),i.Pb(e,19).disabled.toString(),i.Pb(e,19).disabled||null)}))}function _t(t){return i.Yb(0,[(t()(),i.Db(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var l=!0;return"mousedown"===e&&(l=!1!==i.Pb(t,2)._handleMousedown(n)&&l),"keydown"===e&&(l=!1!==i.Pb(t,2)._handleKeydown(n)&&l),"click"===e&&(l=!1!==i.Pb(t,2)._handleClick(n)&&l),l}),u.b,u.a)),i.Cb(1,180224,null,0,c.b,[i.p,d.h,[2,h.a]],null,null),i.Cb(2,1196032,null,0,b.g,[m.c,i.p,i.Y,b.c,[2,b.d],[8,null],[2,g.b],d.h],{menu:[0,"menu"]},null),(t()(),i.Db(3,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,p.y,p.g)),i.Cb(4,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(5,0,null,null,16,"mat-menu",[],null,null,null,_.d,_.b)),i.Cb(6,1294336,[["afterEditMenu",4]],3,b.h,[i.p,i.G,b.a],null,null),i.Ub(603979776,48,{_allItems:1}),i.Ub(603979776,49,{items:1}),i.Ub(603979776,50,{lazyContent:0}),i.Tb(2048,null,b.d,null,[b.h]),i.Tb(2048,null,b.b,null,[b.d]),(t()(),i.Db(12,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,13)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,13)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.editEntity(t.parent.parent.context.$implicit)&&l),l}),_.c,_.a)),i.Cb(13,180224,[[48,4],[49,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(14,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,p.y,p.g)),i.Cb(15,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Save "])),(t()(),i.Db(17,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var l=!0,r=t.component;return"click"===e&&(l=!1!==i.Pb(t,18)._checkDisabled(n)&&l),"mouseenter"===e&&(l=!1!==i.Pb(t,18)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.closeEditEntity()&&l),l}),_.c,_.a)),i.Cb(18,180224,[[48,4],[49,4]],0,b.e,[i.p,y.d,d.h,[2,b.b]],null,null),(t()(),i.Db(19,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,p.y,p.g)),i.Cb(20,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Wb(-1,0,[" Return "]))],(function(t,e){t(e,2,0,i.Pb(e,6)),t(e,4,0,"more"),t(e,6,0),t(e,15,0,"create"),t(e,20,0,"trash")}),(function(t,e){t(e,0,0,i.Pb(e,1).disabled||null,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,2).menuOpen||null),t(e,12,0,i.Pb(e,13).role,i.Pb(e,13)._highlighted,i.Pb(e,13)._triggersSubmenu,i.Pb(e,13)._getTabIndex(),i.Pb(e,13).disabled.toString(),i.Pb(e,13).disabled||null),t(e,17,0,i.Pb(e,18).role,i.Pb(e,18)._highlighted,i.Pb(e,18)._triggersSubmenu,i.Pb(e,18)._getTabIndex(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).disabled||null)}))}function yt(t){return i.Yb(0,[(t()(),i.sb(16777216,null,null,1,null,gt)),i.Cb(1,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["afterEditBlock",2]],null,0,null,_t))],(function(t,e){t(e,1,0,e.component.idEntityEdit!=e.parent.context.$implicit.id,i.Pb(e,2))}),null)}function At(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,mt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editBlock",2]],null,0,null,yt))],(function(t,e){t(e,3,0,!e.context.$implicit.id,i.Pb(e,4))}),null)}function vt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" icao "]))],null,null)}function Ct(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icao)}))}function wt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,54,{_controlNonStatic:0}),i.Ub(335544320,55,{_controlStatic:0}),i.Ub(603979776,56,{_labelChildNonStatic:0}),i.Ub(335544320,57,{_labelChildStatic:0}),i.Ub(603979776,58,{_placeholderChild:0}),i.Ub(603979776,59,{_errorChildren:1}),i.Ub(603979776,60,{_hintChildren:1}),i.Ub(603979776,61,{_prefixChildren:1}),i.Ub(603979776,62,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Icao"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icao=n)&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icao=n.toUpperCase())&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[54,4],[55,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.icao),t(e,17,0,"Icao","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Pt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ct)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,wt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function xt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Name "]))],null,null)}function St(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.name)}))}function kt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,66,{_controlNonStatic:0}),i.Ub(335544320,67,{_controlStatic:0}),i.Ub(603979776,68,{_labelChildNonStatic:0}),i.Ub(335544320,69,{_labelChildStatic:0}),i.Ub(603979776,70,{_placeholderChild:0}),i.Ub(603979776,71,{_errorChildren:1}),i.Ub(603979776,72,{_hintChildren:1}),i.Ub(603979776,73,{_prefixChildren:1}),i.Ub(603979776,74,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.name=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[66,4],[67,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.name),t(e,17,0,"Name","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Mt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,St)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,kt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ot(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Iata "]))],null,null)}function Dt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.iata)}))}function Tt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,78,{_controlNonStatic:0}),i.Ub(335544320,79,{_controlStatic:0}),i.Ub(603979776,80,{_labelChildNonStatic:0}),i.Ub(335544320,81,{_labelChildStatic:0}),i.Ub(603979776,82,{_placeholderChild:0}),i.Ub(603979776,83,{_errorChildren:1}),i.Ub(603979776,84,{_hintChildren:1}),i.Ub(603979776,85,{_prefixChildren:1}),i.Ub(603979776,86,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Iata"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.iata=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[78,4],[79,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.iata),t(e,17,0,"Iata","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Et(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Dt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Tt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function It(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Wake turbulence "]))],null,null)}function Lt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.wakeTurbulence)}))}function jt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,35,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,90,{_controlNonStatic:0}),i.Ub(335544320,91,{_controlStatic:0}),i.Ub(603979776,92,{_labelChildNonStatic:0}),i.Ub(335544320,93,{_labelChildStatic:0}),i.Ub(603979776,94,{_placeholderChild:0}),i.Ub(603979776,95,{_errorChildren:1}),i.Ub(603979776,96,{_hintChildren:1}),i.Ub(603979776,97,{_prefixChildren:1}),i.Ub(603979776,98,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[92,4],[93,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Wake turbulence"])),(t()(),i.Db(14,0,null,1,21,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.wakeTurbulence=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,99,{options:1}),i.Ub(603979776,100,{optionGroups:1}),i.Ub(603979776,101,{customTrigger:0}),i.Tb(2048,[[90,4],[91,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","none"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["None"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","light"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["light"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","medium"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["medium"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","heavy"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[99,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["heavy"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.wakeTurbulence),t(e,18,0),t(e,25,0,"none"),t(e,28,0,"light"),t(e,31,0,"medium"),t(e,34,0,"heavy")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled)}))}function Rt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Lt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,jt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ft(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,["Icon "]))],null,null)}function Nt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.iconName)}))}function Yt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[114,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit.name)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function Ut(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,105,{_controlNonStatic:0}),i.Ub(335544320,106,{_controlStatic:0}),i.Ub(603979776,107,{_labelChildNonStatic:0}),i.Ub(335544320,108,{_labelChildStatic:0}),i.Ub(603979776,109,{_placeholderChild:0}),i.Ub(603979776,110,{_errorChildren:1}),i.Ub(603979776,111,{_hintChildren:1}),i.Ub(603979776,112,{_prefixChildren:1}),i.Ub(603979776,113,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[107,4],[108,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Icon"])),(t()(),i.Db(14,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,19)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,19)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,19)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.iconName=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(16,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(18,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(19,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,114,{options:1}),i.Ub(603979776,115,{optionGroups:1}),i.Ub(603979776,116,{customTrigger:0}),i.Tb(2048,[[105,4],[106,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Yt)),i.Cb(25,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"outline"),t(e,16,0,e.parent.context.$implicit.iconName),t(e,19,0),t(e,25,0,n.iconSelect)}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,18).ngClassUntouched,i.Pb(e,18).ngClassTouched,i.Pb(e,18).ngClassPristine,i.Pb(e,18).ngClassDirty,i.Pb(e,18).ngClassValid,i.Pb(e,18).ngClassInvalid,i.Pb(e,18).ngClassPending,i.Pb(e,19).id,i.Pb(e,19).tabIndex,i.Pb(e,19)._getAriaLabel(),i.Pb(e,19)._getAriaLabelledby(),i.Pb(e,19).required.toString(),i.Pb(e,19).disabled.toString(),i.Pb(e,19).errorState,i.Pb(e,19).panelOpen?i.Pb(e,19)._optionIds:null,i.Pb(e,19).multiple,i.Pb(e,19)._ariaDescribedby||null,i.Pb(e,19)._getAriaActiveDescendant(),i.Pb(e,19).disabled,i.Pb(e,19).errorState,i.Pb(e,19).required,i.Pb(e,19).empty])}))}function Bt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Nt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ut))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function zt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Species "]))],null,null)}function Gt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.species)}))}function Ht(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,44,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,120,{_controlNonStatic:0}),i.Ub(335544320,121,{_controlStatic:0}),i.Ub(603979776,122,{_labelChildNonStatic:0}),i.Ub(335544320,123,{_labelChildStatic:0}),i.Ub(603979776,124,{_placeholderChild:0}),i.Ub(603979776,125,{_errorChildren:1}),i.Ub(603979776,126,{_hintChildren:1}),i.Ub(603979776,127,{_prefixChildren:1}),i.Ub(603979776,128,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[122,4],[123,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Species"])),(t()(),i.Db(14,0,null,1,30,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.species=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,129,{options:1}),i.Ub(603979776,130,{optionGroups:1}),i.Ub(603979776,131,{customTrigger:0}),i.Tb(2048,[[120,4],[121,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","none"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["None"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","landplane"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["landplane"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","seaplane"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["seaplane"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","amphibian"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["amphibian"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","helicopter"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["helicopter"])),(t()(),i.Db(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","gyrocopter"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,40)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,40)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(40,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["gyrocopter"])),(t()(),i.Db(42,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","tilt-wing"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,43)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,43)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(43,8568832,[[129,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["tilt-wing"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.species),t(e,18,0),t(e,25,0,"none"),t(e,28,0,"landplane"),t(e,31,0,"seaplane"),t(e,34,0,"amphibian"),t(e,37,0,"helicopter"),t(e,40,0,"gyrocopter"),t(e,43,0,"tilt-wing")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled),t(e,39,0,i.Pb(e,40)._getTabIndex(),i.Pb(e,40).selected,i.Pb(e,40).multiple,i.Pb(e,40).active,i.Pb(e,40).id,i.Pb(e,40)._getAriaSelected(),i.Pb(e,40).disabled.toString(),i.Pb(e,40).disabled),t(e,42,0,i.Pb(e,43)._getTabIndex(),i.Pb(e,43).selected,i.Pb(e,43).multiple,i.Pb(e,43).active,i.Pb(e,43).id,i.Pb(e,43)._getAriaSelected(),i.Pb(e,43).disabled.toString(),i.Pb(e,43).disabled)}))}function Vt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Gt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ht))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function qt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Engine type "]))],null,null)}function Wt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.engineType)}))}function $t(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,41,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,135,{_controlNonStatic:0}),i.Ub(335544320,136,{_controlStatic:0}),i.Ub(603979776,137,{_labelChildNonStatic:0}),i.Ub(335544320,138,{_labelChildStatic:0}),i.Ub(603979776,139,{_placeholderChild:0}),i.Ub(603979776,140,{_errorChildren:1}),i.Ub(603979776,141,{_hintChildren:1}),i.Ub(603979776,142,{_prefixChildren:1}),i.Ub(603979776,143,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[137,4],[138,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Engine type"])),(t()(),i.Db(14,0,null,1,27,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.engineType=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,144,{options:1}),i.Ub(603979776,145,{optionGroups:1}),i.Ub(603979776,146,{customTrigger:0}),i.Tb(2048,[[135,4],[136,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","none"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["None"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","piston"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["piston"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","turboprop"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["turboprop"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","jet"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["jet"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","electric"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["electric"])),(t()(),i.Db(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rocket"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,40)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,40)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(40,8568832,[[144,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["rocket"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.engineType),t(e,18,0),t(e,25,0,"none"),t(e,28,0,"piston"),t(e,31,0,"turboprop"),t(e,34,0,"jet"),t(e,37,0,"electric"),t(e,40,0,"rocket")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled),t(e,39,0,i.Pb(e,40)._getTabIndex(),i.Pb(e,40).selected,i.Pb(e,40).multiple,i.Pb(e,40).active,i.Pb(e,40).id,i.Pb(e,40)._getAriaSelected(),i.Pb(e,40).disabled.toString(),i.Pb(e,40).disabled)}))}function Xt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Wt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,$t))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Kt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Engine placement "]))],null,null)}function Jt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.enginePlacement)}))}function Qt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,41,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,150,{_controlNonStatic:0}),i.Ub(335544320,151,{_controlStatic:0}),i.Ub(603979776,152,{_labelChildNonStatic:0}),i.Ub(335544320,153,{_labelChildStatic:0}),i.Ub(603979776,154,{_placeholderChild:0}),i.Ub(603979776,155,{_errorChildren:1}),i.Ub(603979776,156,{_hintChildren:1}),i.Ub(603979776,157,{_prefixChildren:1}),i.Ub(603979776,158,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[152,4],[153,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Engine placement"])),(t()(),i.Db(14,0,null,1,27,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.enginePlacement=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,159,{options:1}),i.Ub(603979776,160,{optionGroups:1}),i.Ub(603979776,161,{customTrigger:0}),i.Tb(2048,[[150,4],[151,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","unknown"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["unknown"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","alf-mounted"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["alf-mounted"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","wing-buried"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["wing-buried"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fuselage-buried"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["fuselage-buried"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","nose-mounted"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["nose-mounted"])),(t()(),i.Db(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","wing-mounted"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,40)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,40)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(40,8568832,[[159,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["wing-mounted"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.enginePlacement),t(e,18,0),t(e,25,0,"unknown"),t(e,28,0,"alf-mounted"),t(e,31,0,"wing-buried"),t(e,34,0,"fuselage-buried"),t(e,37,0,"nose-mounted"),t(e,40,0,"wing-mounted")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled),t(e,39,0,i.Pb(e,40)._getTabIndex(),i.Pb(e,40).selected,i.Pb(e,40).multiple,i.Pb(e,40).active,i.Pb(e,40).id,i.Pb(e,40)._getAriaSelected(),i.Pb(e,40).disabled.toString(),i.Pb(e,40).disabled)}))}function Zt(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Jt)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Qt))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function te(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Engine "]))],null,null)}function ee(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.engine)}))}function ne(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,165,{_controlNonStatic:0}),i.Ub(335544320,166,{_controlStatic:0}),i.Ub(603979776,167,{_labelChildNonStatic:0}),i.Ub(335544320,168,{_labelChildStatic:0}),i.Ub(603979776,169,{_placeholderChild:0}),i.Ub(603979776,170,{_errorChildren:1}),i.Ub(603979776,171,{_hintChildren:1}),i.Ub(603979776,172,{_prefixChildren:1}),i.Ub(603979776,173,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Engine"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.engine=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[165,4],[166,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.engine),t(e,18,0,"Engine","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function le(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ee)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ne))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ie(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Squawk "]))],null,null)}function re(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.squawk)}))}function oe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,177,{_controlNonStatic:0}),i.Ub(335544320,178,{_controlStatic:0}),i.Ub(603979776,179,{_labelChildNonStatic:0}),i.Ub(335544320,180,{_labelChildStatic:0}),i.Ub(603979776,181,{_placeholderChild:0}),i.Ub(603979776,182,{_errorChildren:1}),i.Ub(603979776,183,{_hintChildren:1}),i.Ub(603979776,184,{_prefixChildren:1}),i.Ub(603979776,185,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Squawk"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.squawk=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[177,4],[178,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.squawk),t(e,17,0,"Squawk","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ae(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,re)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,oe))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function se(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Military "]))],null,null)}function ue(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.military)}))}function ce(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.military=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Is military"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.military)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function de(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ue)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ce))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function he(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Mlat "]))],null,null)}function pe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mlat)}))}function fe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.mlat=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Is mlat"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.mlat)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function be(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,pe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,fe))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function me(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Legend "]))],null,null)}function ge(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.legend)}))}function _e(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,195,{_controlNonStatic:0}),i.Ub(335544320,196,{_controlStatic:0}),i.Ub(603979776,197,{_labelChildNonStatic:0}),i.Ub(335544320,198,{_labelChildStatic:0}),i.Ub(603979776,199,{_placeholderChild:0}),i.Ub(603979776,200,{_errorChildren:1}),i.Ub(603979776,201,{_hintChildren:1}),i.Ub(603979776,202,{_prefixChildren:1}),i.Ub(603979776,203,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Legend"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.legend=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[195,4],[196,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.legend),t(e,17,0,"Legend","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ye(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ge)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,_e))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ae(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Location "]))],null,null)}function ve(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.location)}))}function Ce(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,207,{_controlNonStatic:0}),i.Ub(335544320,208,{_controlStatic:0}),i.Ub(603979776,209,{_labelChildNonStatic:0}),i.Ub(335544320,210,{_labelChildStatic:0}),i.Ub(603979776,211,{_placeholderChild:0}),i.Ub(603979776,212,{_errorChildren:1}),i.Ub(603979776,213,{_hintChildren:1}),i.Ub(603979776,214,{_prefixChildren:1}),i.Ub(603979776,215,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Location"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.location=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[207,4],[208,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.location),t(e,17,0,"Location","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function we(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ve)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ce))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Pe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Altitude "]))],null,null)}function xe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.altitude)}))}function Se(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,219,{_controlNonStatic:0}),i.Ub(335544320,220,{_controlStatic:0}),i.Ub(603979776,221,{_labelChildNonStatic:0}),i.Ub(335544320,222,{_labelChildStatic:0}),i.Ub(603979776,223,{_placeholderChild:0}),i.Ub(603979776,224,{_errorChildren:1}),i.Ub(603979776,225,{_hintChildren:1}),i.Ub(603979776,226,{_prefixChildren:1}),i.Ub(603979776,227,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Altitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.altitude=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[219,4],[220,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.altitude),t(e,18,0,"Altitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function ke(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,xe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Se))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Me(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Plot "]))],null,null)}function Oe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.isPlot)}))}function De(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.isPlot=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Plot"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.isPlot)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function Te(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Oe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,De))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ee(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Mode s "]))],null,null)}function Ie(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.modeS)}))}function Le(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,234,{_controlNonStatic:0}),i.Ub(335544320,235,{_controlStatic:0}),i.Ub(603979776,236,{_labelChildNonStatic:0}),i.Ub(335544320,237,{_labelChildStatic:0}),i.Ub(603979776,238,{_placeholderChild:0}),i.Ub(603979776,239,{_errorChildren:1}),i.Ub(603979776,240,{_hintChildren:1}),i.Ub(603979776,241,{_prefixChildren:1}),i.Ub(603979776,242,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Mode s"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.modeS=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[234,4],[235,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.modeS),t(e,17,0,"Mode s","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function je(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ie)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Le))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Re(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" mode s country "]))],null,null)}function Fe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.modeSCountry)}))}function Ne(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,246,{_controlNonStatic:0}),i.Ub(335544320,247,{_controlStatic:0}),i.Ub(603979776,248,{_labelChildNonStatic:0}),i.Ub(335544320,249,{_labelChildStatic:0}),i.Ub(603979776,250,{_placeholderChild:0}),i.Ub(603979776,251,{_errorChildren:1}),i.Ub(603979776,252,{_hintChildren:1}),i.Ub(603979776,253,{_prefixChildren:1}),i.Ub(603979776,254,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Mode s country"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.modeSCountry=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[246,4],[247,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.modeSCountry),t(e,17,0,"Mode s country","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ye(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Fe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ne))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ue(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Country "]))],null,null)}function Be(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.country)}))}function ze(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,258,{_controlNonStatic:0}),i.Ub(335544320,259,{_controlStatic:0}),i.Ub(603979776,260,{_labelChildNonStatic:0}),i.Ub(335544320,261,{_labelChildStatic:0}),i.Ub(603979776,262,{_placeholderChild:0}),i.Ub(603979776,263,{_errorChildren:1}),i.Ub(603979776,264,{_hintChildren:1}),i.Ub(603979776,265,{_prefixChildren:1}),i.Ub(603979776,266,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Country"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.country=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[258,4],[259,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.country),t(e,17,0,"Country","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ge(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Be)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ze))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function He(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Registration "]))],null,null)}function Ve(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function qe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,270,{_controlNonStatic:0}),i.Ub(335544320,271,{_controlStatic:0}),i.Ub(603979776,272,{_labelChildNonStatic:0}),i.Ub(335544320,273,{_labelChildStatic:0}),i.Ub(603979776,274,{_placeholderChild:0}),i.Ub(603979776,275,{_errorChildren:1}),i.Ub(603979776,276,{_hintChildren:1}),i.Ub(603979776,277,{_prefixChildren:1}),i.Ub(603979776,278,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Registration"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.registration=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[270,4],[271,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.registration),t(e,17,0,"Registration","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function We(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ve)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,qe))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function $e(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Country code "]))],null,null)}function Xe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.countryCodeIso3)}))}function Ke(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,282,{_controlNonStatic:0}),i.Ub(335544320,283,{_controlStatic:0}),i.Ub(603979776,284,{_labelChildNonStatic:0}),i.Ub(335544320,285,{_labelChildStatic:0}),i.Ub(603979776,286,{_placeholderChild:0}),i.Ub(603979776,287,{_errorChildren:1}),i.Ub(603979776,288,{_hintChildren:1}),i.Ub(603979776,289,{_prefixChildren:1}),i.Ub(603979776,290,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Country code"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.countryCodeIso3=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[282,4],[283,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.countryCodeIso3),t(e,17,0,"Country code","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Je(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Xe)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ke))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Qe(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Manufacturer "]))],null,null)}function Ze(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.manufacturer)}))}function tn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,294,{_controlNonStatic:0}),i.Ub(335544320,295,{_controlStatic:0}),i.Ub(603979776,296,{_labelChildNonStatic:0}),i.Ub(335544320,297,{_labelChildStatic:0}),i.Ub(603979776,298,{_placeholderChild:0}),i.Ub(603979776,299,{_errorChildren:1}),i.Ub(603979776,300,{_hintChildren:1}),i.Ub(603979776,301,{_prefixChildren:1}),i.Ub(603979776,302,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Manufacturer"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.manufacturer=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[294,4],[295,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.manufacturer),t(e,17,0,"Manufacturer","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function en(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ze)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,tn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function nn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Icao type code "]))],null,null)}function ln(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icaoTypeCode)}))}function rn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,306,{_controlNonStatic:0}),i.Ub(335544320,307,{_controlStatic:0}),i.Ub(603979776,308,{_labelChildNonStatic:0}),i.Ub(335544320,309,{_labelChildStatic:0}),i.Ub(603979776,310,{_placeholderChild:0}),i.Ub(603979776,311,{_errorChildren:1}),i.Ub(603979776,312,{_hintChildren:1}),i.Ub(603979776,313,{_prefixChildren:1}),i.Ub(603979776,314,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Icao type code"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icaoTypeCode=n)&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.icaoTypeCode=n.toUpperCase())&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[306,4],[307,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.icaoTypeCode),t(e,17,0,"Icao type code","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function on(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ln)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,rn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function an(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Type "]))],null,null)}function sn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.type)}))}function un(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,318,{_controlNonStatic:0}),i.Ub(335544320,319,{_controlStatic:0}),i.Ub(603979776,320,{_labelChildNonStatic:0}),i.Ub(335544320,321,{_labelChildStatic:0}),i.Ub(603979776,322,{_placeholderChild:0}),i.Ub(603979776,323,{_errorChildren:1}),i.Ub(603979776,324,{_hintChildren:1}),i.Ub(603979776,325,{_prefixChildren:1}),i.Ub(603979776,326,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Type"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.type=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[318,4],[319,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.type),t(e,17,0,"Type","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function cn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,sn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,un))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function dn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Serial no "]))],null,null)}function hn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.serialNo)}))}function pn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,330,{_controlNonStatic:0}),i.Ub(335544320,331,{_controlStatic:0}),i.Ub(603979776,332,{_labelChildNonStatic:0}),i.Ub(335544320,333,{_labelChildStatic:0}),i.Ub(603979776,334,{_placeholderChild:0}),i.Ub(603979776,335,{_errorChildren:1}),i.Ub(603979776,336,{_hintChildren:1}),i.Ub(603979776,337,{_prefixChildren:1}),i.Ub(603979776,338,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Serial no"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.serialNo=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[330,4],[331,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.serialNo),t(e,17,0,"Serial no","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function fn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,hn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,pn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function bn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Registered owners "]))],null,null)}function mn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registeredOwners)}))}function gn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,342,{_controlNonStatic:0}),i.Ub(335544320,343,{_controlStatic:0}),i.Ub(603979776,344,{_labelChildNonStatic:0}),i.Ub(335544320,345,{_labelChildStatic:0}),i.Ub(603979776,346,{_placeholderChild:0}),i.Ub(603979776,347,{_errorChildren:1}),i.Ub(603979776,348,{_hintChildren:1}),i.Ub(603979776,349,{_prefixChildren:1}),i.Ub(603979776,350,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Registered owners"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.registeredOwners=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[342,4],[343,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.registeredOwners),t(e,17,0,"Registered owners","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function _n(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,mn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,gn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function yn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Operator Code "]))],null,null)}function An(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.operatorIcao)}))}function vn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,354,{_controlNonStatic:0}),i.Ub(335544320,355,{_controlStatic:0}),i.Ub(603979776,356,{_labelChildNonStatic:0}),i.Ub(335544320,357,{_labelChildStatic:0}),i.Ub(603979776,358,{_placeholderChild:0}),i.Ub(603979776,359,{_errorChildren:1}),i.Ub(603979776,360,{_hintChildren:1}),i.Ub(603979776,361,{_prefixChildren:1}),i.Ub(603979776,362,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Operator Code"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.operatorIcao=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[354,4],[355,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.operatorIcao),t(e,17,0,"Operator Code","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Cn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,An)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,vn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function wn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Tags "]))],null,null)}function Pn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.userTags)}))}function xn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,366,{_controlNonStatic:0}),i.Ub(335544320,367,{_controlStatic:0}),i.Ub(603979776,368,{_labelChildNonStatic:0}),i.Ub(335544320,369,{_labelChildStatic:0}),i.Ub(603979776,370,{_placeholderChild:0}),i.Ub(603979776,371,{_errorChildren:1}),i.Ub(603979776,372,{_hintChildren:1}),i.Ub(603979776,373,{_prefixChildren:1}),i.Ub(603979776,374,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Tags"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.userTags=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[366,4],[367,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.userTags),t(e,17,0,"Tags","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Sn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Pn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,xn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function kn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Host "]))],null,null)}function Mn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.host)}))}function On(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,378,{_controlNonStatic:0}),i.Ub(335544320,379,{_controlStatic:0}),i.Ub(603979776,380,{_labelChildNonStatic:0}),i.Ub(335544320,381,{_labelChildStatic:0}),i.Ub(603979776,382,{_placeholderChild:0}),i.Ub(603979776,383,{_errorChildren:1}),i.Ub(603979776,384,{_hintChildren:1}),i.Ub(603979776,385,{_prefixChildren:1}),i.Ub(603979776,386,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Host"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.host=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[378,4],[379,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.host),t(e,17,0,"Host","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Dn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Mn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,On))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Tn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Port "]))],null,null)}function En(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.port)}))}function In(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,390,{_controlNonStatic:0}),i.Ub(335544320,391,{_controlStatic:0}),i.Ub(603979776,392,{_labelChildNonStatic:0}),i.Ub(335544320,393,{_labelChildStatic:0}),i.Ub(603979776,394,{_placeholderChild:0}),i.Ub(603979776,395,{_errorChildren:1}),i.Ub(603979776,396,{_hintChildren:1}),i.Ub(603979776,397,{_prefixChildren:1}),i.Ub(603979776,398,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Port"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.port=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[390,4],[391,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.port),t(e,17,0,"Port","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ln(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,En)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,In))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function jn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Type "]))],null,null)}function Rn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.type_feed)}))}function Fn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,38,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,402,{_controlNonStatic:0}),i.Ub(335544320,403,{_controlStatic:0}),i.Ub(603979776,404,{_labelChildNonStatic:0}),i.Ub(335544320,405,{_labelChildStatic:0}),i.Ub(603979776,406,{_placeholderChild:0}),i.Ub(603979776,407,{_errorChildren:1}),i.Ub(603979776,408,{_hintChildren:1}),i.Ub(603979776,409,{_prefixChildren:1}),i.Ub(603979776,410,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[404,4],[405,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Type Feed"])),(t()(),i.Db(14,0,null,1,24,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.type_feed=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,411,{options:1}),i.Ub(603979776,412,{optionGroups:1}),i.Ub(603979776,413,{customTrigger:0}),i.Tb(2048,[[402,4],[403,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","SBS"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["SBS"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","VRS-JSON"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["VRS-JSON"])),(t()(),i.Db(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","FR24"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,31)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,31)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(31,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["FR24"])),(t()(),i.Db(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","TAR1090"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,34)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,34)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(34,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["TAR1090"])),(t()(),i.Db(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","GHOST"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,37)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,37)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(37,8568832,[[411,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["GHOST"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.type_feed),t(e,18,0),t(e,25,0,"SBS"),t(e,28,0,"VRS-JSON"),t(e,31,0,"FR24"),t(e,34,0,"TAR1090"),t(e,37,0,"GHOST")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled),t(e,30,0,i.Pb(e,31)._getTabIndex(),i.Pb(e,31).selected,i.Pb(e,31).multiple,i.Pb(e,31).active,i.Pb(e,31).id,i.Pb(e,31)._getAriaSelected(),i.Pb(e,31).disabled.toString(),i.Pb(e,31).disabled),t(e,33,0,i.Pb(e,34)._getTabIndex(),i.Pb(e,34).selected,i.Pb(e,34).multiple,i.Pb(e,34).active,i.Pb(e,34).id,i.Pb(e,34)._getAriaSelected(),i.Pb(e,34).disabled.toString(),i.Pb(e,34).disabled),t(e,36,0,i.Pb(e,37)._getTabIndex(),i.Pb(e,37).selected,i.Pb(e,37).multiple,i.Pb(e,37).active,i.Pb(e,37).id,i.Pb(e,37)._getAriaSelected(),i.Pb(e,37).disabled.toString(),i.Pb(e,37).disabled)}))}function Nn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Rn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Fn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Yn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Longitude "]))],null,null)}function Un(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.longitude)}))}function Bn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,417,{_controlNonStatic:0}),i.Ub(335544320,418,{_controlStatic:0}),i.Ub(603979776,419,{_labelChildNonStatic:0}),i.Ub(335544320,420,{_labelChildStatic:0}),i.Ub(603979776,421,{_placeholderChild:0}),i.Ub(603979776,422,{_errorChildren:1}),i.Ub(603979776,423,{_hintChildren:1}),i.Ub(603979776,424,{_prefixChildren:1}),i.Ub(603979776,425,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Longitude"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.longitude=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[417,4],[418,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.longitude),t(e,17,0,"Longitude","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function zn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Un)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Bn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Gn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Latitude "]))],null,null)}function Hn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.latitude)}))}function Vn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,429,{_controlNonStatic:0}),i.Ub(335544320,430,{_controlStatic:0}),i.Ub(603979776,431,{_labelChildNonStatic:0}),i.Ub(335544320,432,{_labelChildStatic:0}),i.Ub(603979776,433,{_placeholderChild:0}),i.Ub(603979776,434,{_errorChildren:1}),i.Ub(603979776,435,{_hintChildren:1}),i.Ub(603979776,436,{_prefixChildren:1}),i.Ub(603979776,437,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Latitude"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.latitude=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[429,4],[430,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.latitude),t(e,17,0,"Latitude","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function qn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Hn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Vn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Wn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Settings "]))],null,null)}function $n(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.settingsString)}))}function Xn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,441,{_controlNonStatic:0}),i.Ub(335544320,442,{_controlStatic:0}),i.Ub(603979776,443,{_labelChildNonStatic:0}),i.Ub(335544320,444,{_labelChildStatic:0}),i.Ub(603979776,445,{_placeholderChild:0}),i.Ub(603979776,446,{_errorChildren:1}),i.Ub(603979776,447,{_hintChildren:1}),i.Ub(603979776,448,{_prefixChildren:1}),i.Ub(603979776,449,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Settings"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.settingsString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[441,4],[442,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.settingsString),t(e,17,0,"Settings","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Kn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,$n)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Xn))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Jn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Start at "]))],null,null)}function Qn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" ","h"," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.startAtHours,e.parent.context.$implicit.startAtMinutes)}))}function Zn(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[462,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function tl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[474,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function el(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,52,"div",[["class","edit-cell-clock"]],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(2,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,453,{_controlNonStatic:0}),i.Ub(335544320,454,{_controlStatic:0}),i.Ub(603979776,455,{_labelChildNonStatic:0}),i.Ub(335544320,456,{_labelChildStatic:0}),i.Ub(603979776,457,{_placeholderChild:0}),i.Ub(603979776,458,{_errorChildren:1}),i.Ub(603979776,459,{_hintChildren:1}),i.Ub(603979776,460,{_prefixChildren:1}),i.Ub(603979776,461,{_suffixChildren:1}),(t()(),i.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(13,16384,[[455,4],[456,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Hours"])),(t()(),i.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,20)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,20)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,20)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.startAtHours=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(17,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(19,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(20,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,462,{options:1}),i.Ub(603979776,463,{optionGroups:1}),i.Ub(603979776,464,{customTrigger:0}),i.Tb(2048,[[453,4],[454,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Zn)),i.Cb(26,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(27,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(28,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,465,{_controlNonStatic:0}),i.Ub(335544320,466,{_controlStatic:0}),i.Ub(603979776,467,{_labelChildNonStatic:0}),i.Ub(335544320,468,{_labelChildStatic:0}),i.Ub(603979776,469,{_placeholderChild:0}),i.Ub(603979776,470,{_errorChildren:1}),i.Ub(603979776,471,{_hintChildren:1}),i.Ub(603979776,472,{_prefixChildren:1}),i.Ub(603979776,473,{_suffixChildren:1}),(t()(),i.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(39,16384,[[467,4],[468,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Minutes"])),(t()(),i.Db(41,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,46)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,46)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,46)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.startAtMinutes=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(43,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(45,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(46,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,474,{options:1}),i.Ub(603979776,475,{optionGroups:1}),i.Ub(603979776,476,{customTrigger:0}),i.Tb(2048,[[465,4],[466,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,tl)),i.Cb(52,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,e.parent.context.$implicit.startAtHours),t(e,20,0),t(e,26,0,n.hours),t(e,28,0,"outline"),t(e,43,0,e.parent.context.$implicit.startAtMinutes),t(e,46,0),t(e,52,0,n.minutes)}),(function(t,e){t(e,1,1,["standard"==i.Pb(e,2).appearance,"fill"==i.Pb(e,2).appearance,"outline"==i.Pb(e,2).appearance,"legacy"==i.Pb(e,2).appearance,i.Pb(e,2)._control.errorState,i.Pb(e,2)._canLabelFloat,i.Pb(e,2)._shouldLabelFloat(),i.Pb(e,2)._hasFloatingLabel(),i.Pb(e,2)._hideControlPlaceholder(),i.Pb(e,2)._control.disabled,i.Pb(e,2)._control.autofilled,i.Pb(e,2)._control.focused,"accent"==i.Pb(e,2).color,"warn"==i.Pb(e,2).color,i.Pb(e,2)._shouldForward("untouched"),i.Pb(e,2)._shouldForward("touched"),i.Pb(e,2)._shouldForward("pristine"),i.Pb(e,2)._shouldForward("dirty"),i.Pb(e,2)._shouldForward("valid"),i.Pb(e,2)._shouldForward("invalid"),i.Pb(e,2)._shouldForward("pending"),!i.Pb(e,2)._animationsEnabled]),t(e,15,1,[i.Pb(e,19).ngClassUntouched,i.Pb(e,19).ngClassTouched,i.Pb(e,19).ngClassPristine,i.Pb(e,19).ngClassDirty,i.Pb(e,19).ngClassValid,i.Pb(e,19).ngClassInvalid,i.Pb(e,19).ngClassPending,i.Pb(e,20).id,i.Pb(e,20).tabIndex,i.Pb(e,20)._getAriaLabel(),i.Pb(e,20)._getAriaLabelledby(),i.Pb(e,20).required.toString(),i.Pb(e,20).disabled.toString(),i.Pb(e,20).errorState,i.Pb(e,20).panelOpen?i.Pb(e,20)._optionIds:null,i.Pb(e,20).multiple,i.Pb(e,20)._ariaDescribedby||null,i.Pb(e,20)._getAriaActiveDescendant(),i.Pb(e,20).disabled,i.Pb(e,20).errorState,i.Pb(e,20).required,i.Pb(e,20).empty]),t(e,27,1,["standard"==i.Pb(e,28).appearance,"fill"==i.Pb(e,28).appearance,"outline"==i.Pb(e,28).appearance,"legacy"==i.Pb(e,28).appearance,i.Pb(e,28)._control.errorState,i.Pb(e,28)._canLabelFloat,i.Pb(e,28)._shouldLabelFloat(),i.Pb(e,28)._hasFloatingLabel(),i.Pb(e,28)._hideControlPlaceholder(),i.Pb(e,28)._control.disabled,i.Pb(e,28)._control.autofilled,i.Pb(e,28)._control.focused,"accent"==i.Pb(e,28).color,"warn"==i.Pb(e,28).color,i.Pb(e,28)._shouldForward("untouched"),i.Pb(e,28)._shouldForward("touched"),i.Pb(e,28)._shouldForward("pristine"),i.Pb(e,28)._shouldForward("dirty"),i.Pb(e,28)._shouldForward("valid"),i.Pb(e,28)._shouldForward("invalid"),i.Pb(e,28)._shouldForward("pending"),!i.Pb(e,28)._animationsEnabled]),t(e,41,1,[i.Pb(e,45).ngClassUntouched,i.Pb(e,45).ngClassTouched,i.Pb(e,45).ngClassPristine,i.Pb(e,45).ngClassDirty,i.Pb(e,45).ngClassValid,i.Pb(e,45).ngClassInvalid,i.Pb(e,45).ngClassPending,i.Pb(e,46).id,i.Pb(e,46).tabIndex,i.Pb(e,46)._getAriaLabel(),i.Pb(e,46)._getAriaLabelledby(),i.Pb(e,46).required.toString(),i.Pb(e,46).disabled.toString(),i.Pb(e,46).errorState,i.Pb(e,46).panelOpen?i.Pb(e,46)._optionIds:null,i.Pb(e,46).multiple,i.Pb(e,46)._ariaDescribedby||null,i.Pb(e,46)._getAriaActiveDescendant(),i.Pb(e,46).disabled,i.Pb(e,46).errorState,i.Pb(e,46).required,i.Pb(e,46).empty])}))}function nl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Qn)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,el))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ll(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" End at "]))],null,null)}function il(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" ","h"," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.endAtHours,e.parent.context.$implicit.endAtMinutes)}))}function rl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[489,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function ol(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[501,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function al(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,52,"div",[["class","edit-cell-clock"]],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(2,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,480,{_controlNonStatic:0}),i.Ub(335544320,481,{_controlStatic:0}),i.Ub(603979776,482,{_labelChildNonStatic:0}),i.Ub(335544320,483,{_labelChildStatic:0}),i.Ub(603979776,484,{_placeholderChild:0}),i.Ub(603979776,485,{_errorChildren:1}),i.Ub(603979776,486,{_hintChildren:1}),i.Ub(603979776,487,{_prefixChildren:1}),i.Ub(603979776,488,{_suffixChildren:1}),(t()(),i.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(13,16384,[[482,4],[483,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Hours"])),(t()(),i.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,20)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,20)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,20)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.endAtHours=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(17,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(19,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(20,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,489,{options:1}),i.Ub(603979776,490,{optionGroups:1}),i.Ub(603979776,491,{customTrigger:0}),i.Tb(2048,[[480,4],[481,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,rl)),i.Cb(26,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(27,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(28,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,492,{_controlNonStatic:0}),i.Ub(335544320,493,{_controlStatic:0}),i.Ub(603979776,494,{_labelChildNonStatic:0}),i.Ub(335544320,495,{_labelChildStatic:0}),i.Ub(603979776,496,{_placeholderChild:0}),i.Ub(603979776,497,{_errorChildren:1}),i.Ub(603979776,498,{_hintChildren:1}),i.Ub(603979776,499,{_prefixChildren:1}),i.Ub(603979776,500,{_suffixChildren:1}),(t()(),i.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(39,16384,[[494,4],[495,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Minutes"])),(t()(),i.Db(41,0,null,1,11,"mat-select",[["class","mat-select"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,46)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,46)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,46)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.endAtMinutes=n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(43,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(45,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(46,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,501,{options:1}),i.Ub(603979776,502,{optionGroups:1}),i.Ub(603979776,503,{customTrigger:0}),i.Tb(2048,[[492,4],[493,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,ol)),i.Cb(52,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,e.parent.context.$implicit.endAtHours),t(e,20,0),t(e,26,0,n.hours),t(e,28,0,"outline"),t(e,43,0,e.parent.context.$implicit.endAtMinutes),t(e,46,0),t(e,52,0,n.minutes)}),(function(t,e){t(e,1,1,["standard"==i.Pb(e,2).appearance,"fill"==i.Pb(e,2).appearance,"outline"==i.Pb(e,2).appearance,"legacy"==i.Pb(e,2).appearance,i.Pb(e,2)._control.errorState,i.Pb(e,2)._canLabelFloat,i.Pb(e,2)._shouldLabelFloat(),i.Pb(e,2)._hasFloatingLabel(),i.Pb(e,2)._hideControlPlaceholder(),i.Pb(e,2)._control.disabled,i.Pb(e,2)._control.autofilled,i.Pb(e,2)._control.focused,"accent"==i.Pb(e,2).color,"warn"==i.Pb(e,2).color,i.Pb(e,2)._shouldForward("untouched"),i.Pb(e,2)._shouldForward("touched"),i.Pb(e,2)._shouldForward("pristine"),i.Pb(e,2)._shouldForward("dirty"),i.Pb(e,2)._shouldForward("valid"),i.Pb(e,2)._shouldForward("invalid"),i.Pb(e,2)._shouldForward("pending"),!i.Pb(e,2)._animationsEnabled]),t(e,15,1,[i.Pb(e,19).ngClassUntouched,i.Pb(e,19).ngClassTouched,i.Pb(e,19).ngClassPristine,i.Pb(e,19).ngClassDirty,i.Pb(e,19).ngClassValid,i.Pb(e,19).ngClassInvalid,i.Pb(e,19).ngClassPending,i.Pb(e,20).id,i.Pb(e,20).tabIndex,i.Pb(e,20)._getAriaLabel(),i.Pb(e,20)._getAriaLabelledby(),i.Pb(e,20).required.toString(),i.Pb(e,20).disabled.toString(),i.Pb(e,20).errorState,i.Pb(e,20).panelOpen?i.Pb(e,20)._optionIds:null,i.Pb(e,20).multiple,i.Pb(e,20)._ariaDescribedby||null,i.Pb(e,20)._getAriaActiveDescendant(),i.Pb(e,20).disabled,i.Pb(e,20).errorState,i.Pb(e,20).required,i.Pb(e,20).empty]),t(e,27,1,["standard"==i.Pb(e,28).appearance,"fill"==i.Pb(e,28).appearance,"outline"==i.Pb(e,28).appearance,"legacy"==i.Pb(e,28).appearance,i.Pb(e,28)._control.errorState,i.Pb(e,28)._canLabelFloat,i.Pb(e,28)._shouldLabelFloat(),i.Pb(e,28)._hasFloatingLabel(),i.Pb(e,28)._hideControlPlaceholder(),i.Pb(e,28)._control.disabled,i.Pb(e,28)._control.autofilled,i.Pb(e,28)._control.focused,"accent"==i.Pb(e,28).color,"warn"==i.Pb(e,28).color,i.Pb(e,28)._shouldForward("untouched"),i.Pb(e,28)._shouldForward("touched"),i.Pb(e,28)._shouldForward("pristine"),i.Pb(e,28)._shouldForward("dirty"),i.Pb(e,28)._shouldForward("valid"),i.Pb(e,28)._shouldForward("invalid"),i.Pb(e,28)._shouldForward("pending"),!i.Pb(e,28)._animationsEnabled]),t(e,41,1,[i.Pb(e,45).ngClassUntouched,i.Pb(e,45).ngClassTouched,i.Pb(e,45).ngClassPristine,i.Pb(e,45).ngClassDirty,i.Pb(e,45).ngClassValid,i.Pb(e,45).ngClassInvalid,i.Pb(e,45).ngClassPending,i.Pb(e,46).id,i.Pb(e,46).tabIndex,i.Pb(e,46)._getAriaLabel(),i.Pb(e,46)._getAriaLabelledby(),i.Pb(e,46).required.toString(),i.Pb(e,46).disabled.toString(),i.Pb(e,46).errorState,i.Pb(e,46).panelOpen?i.Pb(e,46)._optionIds:null,i.Pb(e,46).multiple,i.Pb(e,46)._ariaDescribedby||null,i.Pb(e,46)._getAriaActiveDescendant(),i.Pb(e,46).disabled,i.Pb(e,46).errorState,i.Pb(e,46).required,i.Pb(e,46).empty])}))}function sl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,il)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,al))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ul(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Airforce ready (min) "]))],null,null)}function cl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.airforceReady)}))}function dl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,507,{_controlNonStatic:0}),i.Ub(335544320,508,{_controlStatic:0}),i.Ub(603979776,509,{_labelChildNonStatic:0}),i.Ub(335544320,510,{_labelChildStatic:0}),i.Ub(603979776,511,{_placeholderChild:0}),i.Ub(603979776,512,{_errorChildren:1}),i.Ub(603979776,513,{_hintChildren:1}),i.Ub(603979776,514,{_prefixChildren:1}),i.Ub(603979776,515,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airforce ready"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.airforceReady=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[507,4],[508,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.airforceReady),t(e,18,0,"Airforce ready","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function hl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,cl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,dl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function pl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Airforce speed "]))],null,null)}function fl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.airforceSpeed)}))}function bl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,519,{_controlNonStatic:0}),i.Ub(335544320,520,{_controlStatic:0}),i.Ub(603979776,521,{_labelChildNonStatic:0}),i.Ub(335544320,522,{_labelChildStatic:0}),i.Ub(603979776,523,{_placeholderChild:0}),i.Ub(603979776,524,{_errorChildren:1}),i.Ub(603979776,525,{_hintChildren:1}),i.Ub(603979776,526,{_prefixChildren:1}),i.Ub(603979776,527,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airforce speed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.airforceSpeed=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[519,4],[520,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.airforceSpeed),t(e,18,0,"Airforce speed","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function ml(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,fl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,bl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function gl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Airforce duration (min) "]))],null,null)}function _l(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.airforceDuration)}))}function yl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,531,{_controlNonStatic:0}),i.Ub(335544320,532,{_controlStatic:0}),i.Ub(603979776,533,{_labelChildNonStatic:0}),i.Ub(335544320,534,{_labelChildStatic:0}),i.Ub(603979776,535,{_placeholderChild:0}),i.Ub(603979776,536,{_errorChildren:1}),i.Ub(603979776,537,{_hintChildren:1}),i.Ub(603979776,538,{_prefixChildren:1}),i.Ub(603979776,539,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airforce duration"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.airforceDuration=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[531,4],[532,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.airforceDuration),t(e,18,0,"Airforce duration","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Al(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,_l)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,yl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function vl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Min Latitude "]))],null,null)}function Cl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.minLat)}))}function wl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,543,{_controlNonStatic:0}),i.Ub(335544320,544,{_controlStatic:0}),i.Ub(603979776,545,{_labelChildNonStatic:0}),i.Ub(335544320,546,{_labelChildStatic:0}),i.Ub(603979776,547,{_placeholderChild:0}),i.Ub(603979776,548,{_errorChildren:1}),i.Ub(603979776,549,{_hintChildren:1}),i.Ub(603979776,550,{_prefixChildren:1}),i.Ub(603979776,551,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","85.05112878"],["min","-85.05112878"],["placeholder","Min Latitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.minLat=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[543,4],[544,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.minLat),t(e,18,0,"Min Latitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Pl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Cl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,wl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function xl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Max Latitude "]))],null,null)}function Sl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.maxLat)}))}function kl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,555,{_controlNonStatic:0}),i.Ub(335544320,556,{_controlStatic:0}),i.Ub(603979776,557,{_labelChildNonStatic:0}),i.Ub(335544320,558,{_labelChildStatic:0}),i.Ub(603979776,559,{_placeholderChild:0}),i.Ub(603979776,560,{_errorChildren:1}),i.Ub(603979776,561,{_hintChildren:1}),i.Ub(603979776,562,{_prefixChildren:1}),i.Ub(603979776,563,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","85.05112878"],["min","-85.05112878"],["placeholder","Max Latitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.maxLat=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[555,4],[556,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.maxLat),t(e,18,0,"Max Latitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Ml(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Sl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,kl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ol(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Min Longitude "]))],null,null)}function Dl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.minLon)}))}function Tl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,567,{_controlNonStatic:0}),i.Ub(335544320,568,{_controlStatic:0}),i.Ub(603979776,569,{_labelChildNonStatic:0}),i.Ub(335544320,570,{_labelChildStatic:0}),i.Ub(603979776,571,{_placeholderChild:0}),i.Ub(603979776,572,{_errorChildren:1}),i.Ub(603979776,573,{_hintChildren:1}),i.Ub(603979776,574,{_prefixChildren:1}),i.Ub(603979776,575,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","180"],["min","-180"],["placeholder","Min Longitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.minLon=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[567,4],[568,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.minLon),t(e,18,0,"Min Longitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function El(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Dl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Tl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Il(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Max Longitude "]))],null,null)}function Ll(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.maxLon)}))}function jl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,579,{_controlNonStatic:0}),i.Ub(335544320,580,{_controlStatic:0}),i.Ub(603979776,581,{_labelChildNonStatic:0}),i.Ub(335544320,582,{_labelChildStatic:0}),i.Ub(603979776,583,{_placeholderChild:0}),i.Ub(603979776,584,{_errorChildren:1}),i.Ub(603979776,585,{_hintChildren:1}),i.Ub(603979776,586,{_prefixChildren:1}),i.Ub(603979776,587,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","180"],["min","-180"],["placeholder","Max Longitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.maxLon=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[579,4],[580,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.maxLon),t(e,18,0,"Max Longitude","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Rl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ll)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,jl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Fl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Group "]))],null,null)}function Nl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.layerGroup)}))}function Yl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,591,{_controlNonStatic:0}),i.Ub(335544320,592,{_controlStatic:0}),i.Ub(603979776,593,{_labelChildNonStatic:0}),i.Ub(335544320,594,{_labelChildStatic:0}),i.Ub(603979776,595,{_placeholderChild:0}),i.Ub(603979776,596,{_errorChildren:1}),i.Ub(603979776,597,{_hintChildren:1}),i.Ub(603979776,598,{_prefixChildren:1}),i.Ub(603979776,599,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name of layer group"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.layerGroup=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[591,4],[592,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.layerGroup),t(e,17,0,"Name of layer group","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ul(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Nl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Yl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Bl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Type "]))],null,null)}function zl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.type)}))}function Gl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,29,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,603,{_controlNonStatic:0}),i.Ub(335544320,604,{_controlStatic:0}),i.Ub(603979776,605,{_labelChildNonStatic:0}),i.Ub(335544320,606,{_labelChildStatic:0}),i.Ub(603979776,607,{_placeholderChild:0}),i.Ub(603979776,608,{_errorChildren:1}),i.Ub(603979776,609,{_hintChildren:1}),i.Ub(603979776,610,{_prefixChildren:1}),i.Ub(603979776,611,{_suffixChildren:1}),(t()(),i.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(12,16384,[[605,4],[606,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Type Feed"])),(t()(),i.Db(14,0,null,1,15,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.type=n)&&l),l}),S.b,S.a)),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],null,null),i.Ub(603979776,612,{options:1}),i.Ub(603979776,613,{optionGroups:1}),i.Ub(603979776,614,{customTrigger:0}),i.Tb(2048,[[603,4],[604,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","GL"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,25)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,25)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(25,8568832,[[612,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["GL"])),(t()(),i.Db(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","RASTER"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,28)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,28)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(28,8568832,[[612,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["RASTER"]))],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.type),t(e,18,0),t(e,25,0,"GL"),t(e,28,0,"RASTER")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,14,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,24,0,i.Pb(e,25)._getTabIndex(),i.Pb(e,25).selected,i.Pb(e,25).multiple,i.Pb(e,25).active,i.Pb(e,25).id,i.Pb(e,25)._getAriaSelected(),i.Pb(e,25).disabled.toString(),i.Pb(e,25).disabled),t(e,27,0,i.Pb(e,28)._getTabIndex(),i.Pb(e,28).selected,i.Pb(e,28).multiple,i.Pb(e,28).active,i.Pb(e,28).id,i.Pb(e,28)._getAriaSelected(),i.Pb(e,28).disabled.toString(),i.Pb(e,28).disabled)}))}function Hl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,zl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Gl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Vl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" PIV "]))],null,null)}function ql(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.piv)}))}function Wl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.piv=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["PIV"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.piv)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function $l(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ql)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Wl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Xl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Tippecanoe "]))],null,null)}function Kl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.tippecanoe)}))}function Jl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,621,{_controlNonStatic:0}),i.Ub(335544320,622,{_controlStatic:0}),i.Ub(603979776,623,{_labelChildNonStatic:0}),i.Ub(335544320,624,{_labelChildStatic:0}),i.Ub(603979776,625,{_placeholderChild:0}),i.Ub(603979776,626,{_errorChildren:1}),i.Ub(603979776,627,{_hintChildren:1}),i.Ub(603979776,628,{_prefixChildren:1}),i.Ub(603979776,629,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Override commandline of Tippecanoe"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.tippecanoe=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[621,4],[622,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.tippecanoe),t(e,17,0,"Override commandline of Tippecanoe","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function Ql(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Kl)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Jl))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Zl(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Style "]))],null,null)}function ti(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.styleString)}))}function ei(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,633,{_controlNonStatic:0}),i.Ub(335544320,634,{_controlStatic:0}),i.Ub(603979776,635,{_labelChildNonStatic:0}),i.Ub(335544320,636,{_labelChildStatic:0}),i.Ub(603979776,637,{_placeholderChild:0}),i.Ub(603979776,638,{_errorChildren:1}),i.Ub(603979776,639,{_hintChildren:1}),i.Ub(603979776,640,{_prefixChildren:1}),i.Ub(603979776,641,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","JSON parameters of GL Style"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.styleString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[633,4],[634,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.styleString),t(e,17,0,"JSON parameters of GL Style","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ni(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ti)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ei))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function li(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Mapping "]))],null,null)}function ii(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mappingString)}))}function ri(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,645,{_controlNonStatic:0}),i.Ub(335544320,646,{_controlStatic:0}),i.Ub(603979776,647,{_labelChildNonStatic:0}),i.Ub(335544320,648,{_labelChildStatic:0}),i.Ub(603979776,649,{_placeholderChild:0}),i.Ub(603979776,650,{_errorChildren:1}),i.Ub(603979776,651,{_hintChildren:1}),i.Ub(603979776,652,{_prefixChildren:1}),i.Ub(603979776,653,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","JSON parameters of Mapping"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.mappingString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[645,4],[646,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.mappingString),t(e,17,0,"JSON parameters of Mapping","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function oi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,ii)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ri))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ai(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Properties "]))],null,null)}function si(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.propertiesString)}))}function ui(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width:400px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,657,{_controlNonStatic:0}),i.Ub(335544320,658,{_controlStatic:0}),i.Ub(603979776,659,{_labelChildNonStatic:0}),i.Ub(335544320,660,{_labelChildStatic:0}),i.Ub(603979776,661,{_placeholderChild:0}),i.Ub(603979776,662,{_errorChildren:1}),i.Ub(603979776,663,{_hintChildren:1}),i.Ub(603979776,664,{_prefixChildren:1}),i.Ub(603979776,665,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","JSON parameters of Properties"],["rows","2"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,17)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.propertiesString=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(14,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(16,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(17,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[657,4],[658,4]],v.d,null,[P.b]),(t()(),i.Wb(-1,null,[" "]))],(function(t,e){t(e,1,0,"outline"),t(e,14,0,e.parent.context.$implicit.propertiesString),t(e,17,0,"JSON parameters of Properties","text")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,16).ngClassUntouched,i.Pb(e,16).ngClassTouched,i.Pb(e,16).ngClassPristine,i.Pb(e,16).ngClassDirty,i.Pb(e,16).ngClassValid,i.Pb(e,16).ngClassInvalid,i.Pb(e,16).ngClassPending,i.Pb(e,17)._isServer,i.Pb(e,17).id,i.Pb(e,17).placeholder,i.Pb(e,17).disabled,i.Pb(e,17).required,i.Pb(e,17).readonly&&!i.Pb(e,17)._isNativeSelect||null,i.Pb(e,17)._ariaDescribedby||null,i.Pb(e,17).errorState,i.Pb(e,17).required.toString()])}))}function ci(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,si)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,ui))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function di(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Refresh "]))],null,null)}function hi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.refresh)}))}function pi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,669,{_controlNonStatic:0}),i.Ub(335544320,670,{_controlStatic:0}),i.Ub(603979776,671,{_labelChildNonStatic:0}),i.Ub(335544320,672,{_labelChildStatic:0}),i.Ub(603979776,673,{_placeholderChild:0}),i.Ub(603979776,674,{_errorChildren:1}),i.Ub(603979776,675,{_hintChildren:1}),i.Ub(603979776,676,{_prefixChildren:1}),i.Ub(603979776,677,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","86400"],["min","0"],["placeholder","Interval of refresh (in seconds)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.refresh=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[669,4],[670,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.refresh),t(e,18,0,"Interval of refresh (in seconds)","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function fi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,hi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,pi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function bi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" View by default "]))],null,null)}function mi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.defaultView)}))}function gi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.defaultView=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["View by default"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.defaultView)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function _i(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,mi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,gi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function yi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Order "]))],null,null)}function Ai(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.defaultOrder)}))}function vi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(1,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,684,{_controlNonStatic:0}),i.Ub(335544320,685,{_controlStatic:0}),i.Ub(603979776,686,{_labelChildNonStatic:0}),i.Ub(335544320,687,{_labelChildStatic:0}),i.Ub(603979776,688,{_placeholderChild:0}),i.Ub(603979776,689,{_errorChildren:1}),i.Ub(603979776,690,{_hintChildren:1}),i.Ub(603979776,691,{_prefixChildren:1}),i.Ub(603979776,692,{_suffixChildren:1}),(t()(),i.Db(11,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","999"],["min","0"],["placeholder","Order of layer"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,12)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,12)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,13).onChange(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,13).onTouched()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.defaultOrder=n)&&l),l}),null,null)),i.Cb(12,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(13,16384,null,0,w.u,[i.M,i.p],null,null),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,w.u]),i.Cb(15,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(17,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(18,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[684,4],[685,4]],v.d,null,[P.b])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,e.parent.context.$implicit.defaultOrder),t(e,18,0,"Order of layer","number")}),(function(t,e){t(e,0,1,["standard"==i.Pb(e,1).appearance,"fill"==i.Pb(e,1).appearance,"outline"==i.Pb(e,1).appearance,"legacy"==i.Pb(e,1).appearance,i.Pb(e,1)._control.errorState,i.Pb(e,1)._canLabelFloat,i.Pb(e,1)._shouldLabelFloat(),i.Pb(e,1)._hasFloatingLabel(),i.Pb(e,1)._hideControlPlaceholder(),i.Pb(e,1)._control.disabled,i.Pb(e,1)._control.autofilled,i.Pb(e,1)._control.focused,"accent"==i.Pb(e,1).color,"warn"==i.Pb(e,1).color,i.Pb(e,1)._shouldForward("untouched"),i.Pb(e,1)._shouldForward("touched"),i.Pb(e,1)._shouldForward("pristine"),i.Pb(e,1)._shouldForward("dirty"),i.Pb(e,1)._shouldForward("valid"),i.Pb(e,1)._shouldForward("invalid"),i.Pb(e,1)._shouldForward("pending"),!i.Pb(e,1)._animationsEnabled]),t(e,11,1,[i.Pb(e,17).ngClassUntouched,i.Pb(e,17).ngClassTouched,i.Pb(e,17).ngClassPristine,i.Pb(e,17).ngClassDirty,i.Pb(e,17).ngClassValid,i.Pb(e,17).ngClassInvalid,i.Pb(e,17).ngClassPending,i.Pb(e,18)._isServer,i.Pb(e,18).id,i.Pb(e,18).placeholder,i.Pb(e,18).disabled,i.Pb(e,18).required,i.Pb(e,18).readonly&&!i.Pb(e,18)._isNativeSelect||null,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18).errorState,i.Pb(e,18).required.toString()])}))}function Ci(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ai)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,vi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function wi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Clickable "]))],null,null)}function Pi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.clickable)}))}function xi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.clickable=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Popup is displayed on feature click"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.clickable)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function Si(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Pi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,xi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ki(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Hoverable "]))],null,null)}function Mi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Wb(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.hoverable)}))}function Oi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(t,e,n){var l=!0;return"ngModelChange"===e&&(l=!1!==(t.parent.context.$implicit.hoverable=n)&&l),l}),O.b,O.a)),i.Cb(1,8568832,null,0,D.b,[i.p,i.j,d.h,i.G,[8,null],[2,D.a],[2,h.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[D.b]),i.Cb(3,671744,null,0,w.t,[[8,null],[8,null],[8,null],[6,w.o]],{model:[0,"model"]},{update:"ngModelChange"}),i.Tb(2048,null,w.p,null,[w.t]),i.Cb(5,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Wb(-1,0,["Popup is displayed on feature hover"]))],(function(t,e){t(e,3,0,e.parent.context.$implicit.hoverable)}),(function(t,e){t(e,0,1,[i.Pb(e,1).id,null,i.Pb(e,1).indeterminate,i.Pb(e,1).checked,i.Pb(e,1).disabled,"before"==i.Pb(e,1).labelPosition,"NoopAnimations"===i.Pb(e,1)._animationMode,i.Pb(e,5).ngClassUntouched,i.Pb(e,5).ngClassTouched,i.Pb(e,5).ngClassPristine,i.Pb(e,5).ngClassDirty,i.Pb(e,5).ngClassValid,i.Pb(e,5).ngClassInvalid,i.Pb(e,5).ngClassPending])}))}function Di(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Mi)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Oi))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function Ti(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" bufferInBase64 "]))],null,null)}function Ei(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,0,"img",[["height","96"],["width","96"]],[[8,"src",4],[8,"alt",0]],null,null,null,null))],null,(function(t,e){t(e,1,0,i.Hb(1,"data:image/png;base64,",e.parent.context.$implicit.bufferInBase64,""),i.Hb(1,"",e.parent.context.$implicit.name,""))}))}function Ii(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"p",[["style","margin-left: 10px;"]],null,null,null,null,null)),(t()(),i.Wb(-1,null,["Important : l'ic\xf4ne doit \xeatre au format PNG et mesurer 96x96 pixels"])),(t()(),i.Db(2,0,null,null,1,"div",[["class","inline-block"],["style","margin-left: 10px; margin-bottom: 20px;"]],null,null,null,null,null)),(t()(),i.Db(3,0,null,null,0,"input",[["accept","image/png"],["type","file"]],null,[[null,"change"]],(function(t,e,n){var l=!0;return"change"===e&&(l=!1!==t.component.onUploadImage(n)&&l),l}),null,null))],null,null)}function Li(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.sb(16777216,null,null,1,null,Ei)),i.Cb(3,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i.sb(0,[["editCell",2]],null,0,null,Ii))],(function(t,e){t(e,3,0,e.context.$implicit.id&&e.component.idEntityEdit!=e.context.$implicit.id,i.Pb(e,4))}),null)}function ji(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,T.d,T.a)),i.Tb(6144,null,s.k,null,[a.g]),i.Cb(2,49152,null,0,a.g,[],null,null)],null,null)}function Ri(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,T.e,T.b)),i.Tb(6144,null,s.m,null,[a.i]),i.Cb(2,49152,null,0,a.i,[],null,null)],null,null)}function Fi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),i.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,E.c,E.a)),i.Cb(2,114688,null,0,I.b,[i.p,C.a,[2,y.d],[2,h.a],I.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,i.Pb(e,2)._noopAnimations,i.Pb(e,2).diameter,i.Pb(e,2).diameter,"determinate"===i.Pb(e,2).mode?0:null,"determinate"===i.Pb(e,2).mode?100:null,"determinate"===i.Pb(e,2).mode?i.Pb(e,2).value:null,i.Pb(e,2).mode)}))}function Ni(t){return i.Yb(0,[i.Ub(402653184,1,{filter:0}),(t()(),i.Db(1,0,null,null,822,"div",[["class","mat-dialog-content"],["id","content-database-dialog"],["mat-dialog-content",""]],null,null,null,null,null)),i.Cb(2,16384,null,0,L.j,[],null,null),(t()(),i.Db(3,0,null,null,63,"div",[["id","edition-db-interaction"]],null,null,null,null,null)),(t()(),i.Db(4,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(5,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,2,{_controlNonStatic:0}),i.Ub(335544320,3,{_controlStatic:0}),i.Ub(603979776,4,{_labelChildNonStatic:0}),i.Ub(335544320,5,{_labelChildStatic:0}),i.Ub(603979776,6,{_placeholderChild:0}),i.Ub(603979776,7,{_errorChildren:1}),i.Ub(603979776,8,{_hintChildren:1}),i.Ub(603979776,9,{_prefixChildren:1}),i.Ub(603979776,10,{_suffixChildren:1}),(t()(),i.Db(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(16,16384,[[4,4],[5,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Table"])),(t()(),i.Db(18,0,null,1,9,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,r=t.component;return"keydown"===e&&(l=!1!==i.Pb(t,20)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,20)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,20)._onBlur()&&l),"valueChange"===e&&(l=!1!==(r.tableName=n)&&l),"selectionChange"===e&&(l=!1!==r.changeTable(n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(20,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[8,null],[8,null],k.a,d.j],{value:[0,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),i.Ub(603979776,11,{options:1}),i.Ub(603979776,12,{optionGroups:1}),i.Ub(603979776,13,{customTrigger:0}),i.Tb(2048,[[2,4],[3,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,2,null,pt)),i.Cb(26,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),i.Qb(0,y.h,[i.z]),(t()(),i.Db(28,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(29,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,14,{_controlNonStatic:0}),i.Ub(335544320,15,{_controlStatic:0}),i.Ub(603979776,16,{_labelChildNonStatic:0}),i.Ub(335544320,17,{_labelChildStatic:0}),i.Ub(603979776,18,{_placeholderChild:0}),i.Ub(603979776,19,{_errorChildren:1}),i.Ub(603979776,20,{_hintChildren:1}),i.Ub(603979776,21,{_prefixChildren:1}),i.Ub(603979776,22,{_suffixChildren:1}),(t()(),i.Db(39,0,[[1,0],["filter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var l=!0;return"blur"===e&&(l=!1!==i.Pb(t,40)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,40)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,40)._onInput()&&l),l}),null,null)),i.Cb(40,999424,null,0,P.b,[i.p,C.a,[8,null],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"]},null),i.Tb(2048,[[14,4],[15,4]],v.d,null,[P.b]),(t()(),i.Db(42,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(43,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,23,{_controlNonStatic:0}),i.Ub(335544320,24,{_controlStatic:0}),i.Ub(603979776,25,{_labelChildNonStatic:0}),i.Ub(335544320,26,{_labelChildStatic:0}),i.Ub(603979776,27,{_placeholderChild:0}),i.Ub(603979776,28,{_errorChildren:1}),i.Ub(603979776,29,{_hintChildren:1}),i.Ub(603979776,30,{_prefixChildren:1}),i.Ub(603979776,31,{_suffixChildren:1}),(t()(),i.Db(53,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(54,16384,[[25,4],[26,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Column"])),(t()(),i.Db(56,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,r=t.component;return"keydown"===e&&(l=!1!==i.Pb(t,58)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,58)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,58)._onBlur()&&l),"valueChange"===e&&(l=!1!==(r.filterColumn=n)&&l),"selectionChange"===e&&(l=!1!==r.changeFilterColumn(n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(58,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[8,null],[8,null],k.a,d.j],{value:[0,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),i.Ub(603979776,32,{options:1}),i.Ub(603979776,33,{optionGroups:1}),i.Ub(603979776,34,{customTrigger:0}),i.Tb(2048,[[23,4],[24,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,ft)),i.Cb(64,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(65,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),j.b,j.a)),i.Cb(66,245760,null,0,R.b,[R.c,i.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"}),(t()(),i.Db(67,0,null,null,756,"div",[["id","edition-db-table"]],null,null,null,null,null)),(t()(),i.Db(68,0,null,null,753,"table",[["class","mat-table"],["mat-table",""]],null,null,null,T.f,T.c)),i.Tb(6144,null,s.o,null,[a.k]),i.Cb(70,2342912,null,4,a.k,[i.y,i.j,i.p,[8,null],[2,g.b],y.d,C.a],{dataSource:[0,"dataSource"]},null),i.Ub(603979776,35,{_contentColumnDefs:1}),i.Ub(603979776,36,{_contentRowDefs:1}),i.Ub(603979776,37,{_contentHeaderRowDefs:1}),i.Ub(603979776,38,{_contentFooterRowDefs:1}),(t()(),i.Db(75,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(77,16384,null,3,a.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),i.Ub(603979776,39,{cell:0}),i.Ub(603979776,40,{headerCell:0}),i.Ub(603979776,41,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,bt)),i.Cb(83,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[40,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,At)),i.Cb(86,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[39,4]],s.b,null,[a.b]),(t()(),i.Db(88,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(90,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,51,{cell:0}),i.Ub(603979776,52,{headerCell:0}),i.Ub(603979776,53,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,vt)),i.Cb(96,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[52,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Pt)),i.Cb(99,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[51,4]],s.b,null,[a.b]),(t()(),i.Db(101,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(103,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,63,{cell:0}),i.Ub(603979776,64,{headerCell:0}),i.Ub(603979776,65,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,xt)),i.Cb(109,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[64,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Mt)),i.Cb(112,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[63,4]],s.b,null,[a.b]),(t()(),i.Db(114,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(116,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,75,{cell:0}),i.Ub(603979776,76,{headerCell:0}),i.Ub(603979776,77,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ot)),i.Cb(122,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[76,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Et)),i.Cb(125,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[75,4]],s.b,null,[a.b]),(t()(),i.Db(127,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(129,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,87,{cell:0}),i.Ub(603979776,88,{headerCell:0}),i.Ub(603979776,89,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,It)),i.Cb(135,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[88,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Rt)),i.Cb(138,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[87,4]],s.b,null,[a.b]),(t()(),i.Db(140,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(142,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,102,{cell:0}),i.Ub(603979776,103,{headerCell:0}),i.Ub(603979776,104,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ft)),i.Cb(148,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[103,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Bt)),i.Cb(151,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[102,4]],s.b,null,[a.b]),(t()(),i.Db(153,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(155,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,117,{cell:0}),i.Ub(603979776,118,{headerCell:0}),i.Ub(603979776,119,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,zt)),i.Cb(161,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[118,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Vt)),i.Cb(164,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[117,4]],s.b,null,[a.b]),(t()(),i.Db(166,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(168,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,132,{cell:0}),i.Ub(603979776,133,{headerCell:0}),i.Ub(603979776,134,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,qt)),i.Cb(174,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[133,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Xt)),i.Cb(177,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[132,4]],s.b,null,[a.b]),(t()(),i.Db(179,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(181,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,147,{cell:0}),i.Ub(603979776,148,{headerCell:0}),i.Ub(603979776,149,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Kt)),i.Cb(187,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[148,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Zt)),i.Cb(190,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[147,4]],s.b,null,[a.b]),(t()(),i.Db(192,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(194,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,162,{cell:0}),i.Ub(603979776,163,{headerCell:0}),i.Ub(603979776,164,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,te)),i.Cb(200,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[163,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,le)),i.Cb(203,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[162,4]],s.b,null,[a.b]),(t()(),i.Db(205,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(207,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,174,{cell:0}),i.Ub(603979776,175,{headerCell:0}),i.Ub(603979776,176,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ie)),i.Cb(213,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[175,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ae)),i.Cb(216,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[174,4]],s.b,null,[a.b]),(t()(),i.Db(218,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(220,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,186,{cell:0}),i.Ub(603979776,187,{headerCell:0}),i.Ub(603979776,188,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,se)),i.Cb(226,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[187,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,de)),i.Cb(229,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[186,4]],s.b,null,[a.b]),(t()(),i.Db(231,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(233,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,189,{cell:0}),i.Ub(603979776,190,{headerCell:0}),i.Ub(603979776,191,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,he)),i.Cb(239,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[190,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,be)),i.Cb(242,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[189,4]],s.b,null,[a.b]),(t()(),i.Db(244,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(246,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,192,{cell:0}),i.Ub(603979776,193,{headerCell:0}),i.Ub(603979776,194,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,me)),i.Cb(252,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[193,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ye)),i.Cb(255,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[192,4]],s.b,null,[a.b]),(t()(),i.Db(257,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(259,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,204,{cell:0}),i.Ub(603979776,205,{headerCell:0}),i.Ub(603979776,206,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ae)),i.Cb(265,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[205,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,we)),i.Cb(268,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[204,4]],s.b,null,[a.b]),(t()(),i.Db(270,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(272,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,216,{cell:0}),i.Ub(603979776,217,{headerCell:0}),i.Ub(603979776,218,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Pe)),i.Cb(278,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[217,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ke)),i.Cb(281,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[216,4]],s.b,null,[a.b]),(t()(),i.Db(283,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(285,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,228,{cell:0}),i.Ub(603979776,229,{headerCell:0}),i.Ub(603979776,230,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Me)),i.Cb(291,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[229,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Te)),i.Cb(294,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[228,4]],s.b,null,[a.b]),(t()(),i.Db(296,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(298,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,231,{cell:0}),i.Ub(603979776,232,{headerCell:0}),i.Ub(603979776,233,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ee)),i.Cb(304,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[232,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,je)),i.Cb(307,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[231,4]],s.b,null,[a.b]),(t()(),i.Db(309,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(311,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,243,{cell:0}),i.Ub(603979776,244,{headerCell:0}),i.Ub(603979776,245,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Re)),i.Cb(317,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[244,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ye)),i.Cb(320,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[243,4]],s.b,null,[a.b]),(t()(),i.Db(322,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(324,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,255,{cell:0}),i.Ub(603979776,256,{headerCell:0}),i.Ub(603979776,257,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ue)),i.Cb(330,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[256,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ge)),i.Cb(333,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[255,4]],s.b,null,[a.b]),(t()(),i.Db(335,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(337,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,267,{cell:0}),i.Ub(603979776,268,{headerCell:0}),i.Ub(603979776,269,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,He)),i.Cb(343,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[268,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,We)),i.Cb(346,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[267,4]],s.b,null,[a.b]),(t()(),i.Db(348,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(350,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,279,{cell:0}),i.Ub(603979776,280,{headerCell:0}),i.Ub(603979776,281,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,$e)),i.Cb(356,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[280,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Je)),i.Cb(359,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[279,4]],s.b,null,[a.b]),(t()(),i.Db(361,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(363,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,291,{cell:0}),i.Ub(603979776,292,{headerCell:0}),i.Ub(603979776,293,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Qe)),i.Cb(369,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[292,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,en)),i.Cb(372,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[291,4]],s.b,null,[a.b]),(t()(),i.Db(374,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(376,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,303,{cell:0}),i.Ub(603979776,304,{headerCell:0}),i.Ub(603979776,305,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,nn)),i.Cb(382,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[304,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,on)),i.Cb(385,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[303,4]],s.b,null,[a.b]),(t()(),i.Db(387,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(389,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,315,{cell:0}),i.Ub(603979776,316,{headerCell:0}),i.Ub(603979776,317,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,an)),i.Cb(395,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[316,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,cn)),i.Cb(398,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[315,4]],s.b,null,[a.b]),(t()(),i.Db(400,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(402,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,327,{cell:0}),i.Ub(603979776,328,{headerCell:0}),i.Ub(603979776,329,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,dn)),i.Cb(408,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[328,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,fn)),i.Cb(411,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[327,4]],s.b,null,[a.b]),(t()(),i.Db(413,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(415,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,339,{cell:0}),i.Ub(603979776,340,{headerCell:0}),i.Ub(603979776,341,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,bn)),i.Cb(421,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[340,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,_n)),i.Cb(424,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[339,4]],s.b,null,[a.b]),(t()(),i.Db(426,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(428,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,351,{cell:0}),i.Ub(603979776,352,{headerCell:0}),i.Ub(603979776,353,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,yn)),i.Cb(434,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[352,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Cn)),i.Cb(437,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[351,4]],s.b,null,[a.b]),(t()(),i.Db(439,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(441,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,363,{cell:0}),i.Ub(603979776,364,{headerCell:0}),i.Ub(603979776,365,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,wn)),i.Cb(447,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[364,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Sn)),i.Cb(450,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[363,4]],s.b,null,[a.b]),(t()(),i.Db(452,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(454,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,375,{cell:0}),i.Ub(603979776,376,{headerCell:0}),i.Ub(603979776,377,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,kn)),i.Cb(460,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[376,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Dn)),i.Cb(463,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[375,4]],s.b,null,[a.b]),(t()(),i.Db(465,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(467,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,387,{cell:0}),i.Ub(603979776,388,{headerCell:0}),i.Ub(603979776,389,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Tn)),i.Cb(473,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[388,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ln)),i.Cb(476,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[387,4]],s.b,null,[a.b]),(t()(),i.Db(478,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(480,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,399,{cell:0}),i.Ub(603979776,400,{headerCell:0}),i.Ub(603979776,401,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,jn)),i.Cb(486,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[400,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Nn)),i.Cb(489,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[399,4]],s.b,null,[a.b]),(t()(),i.Db(491,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(493,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,414,{cell:0}),i.Ub(603979776,415,{headerCell:0}),i.Ub(603979776,416,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Yn)),i.Cb(499,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[415,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,zn)),i.Cb(502,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[414,4]],s.b,null,[a.b]),(t()(),i.Db(504,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(506,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,426,{cell:0}),i.Ub(603979776,427,{headerCell:0}),i.Ub(603979776,428,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Gn)),i.Cb(512,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[427,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,qn)),i.Cb(515,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[426,4]],s.b,null,[a.b]),(t()(),i.Db(517,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(519,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,438,{cell:0}),i.Ub(603979776,439,{headerCell:0}),i.Ub(603979776,440,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Wn)),i.Cb(525,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[439,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Kn)),i.Cb(528,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[438,4]],s.b,null,[a.b]),(t()(),i.Db(530,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(532,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,450,{cell:0}),i.Ub(603979776,451,{headerCell:0}),i.Ub(603979776,452,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Jn)),i.Cb(538,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[451,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,nl)),i.Cb(541,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[450,4]],s.b,null,[a.b]),(t()(),i.Db(543,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(545,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,477,{cell:0}),i.Ub(603979776,478,{headerCell:0}),i.Ub(603979776,479,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ll)),i.Cb(551,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[478,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,sl)),i.Cb(554,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[477,4]],s.b,null,[a.b]),(t()(),i.Db(556,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(558,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,504,{cell:0}),i.Ub(603979776,505,{headerCell:0}),i.Ub(603979776,506,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ul)),i.Cb(564,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[505,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,hl)),i.Cb(567,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[504,4]],s.b,null,[a.b]),(t()(),i.Db(569,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(571,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,516,{cell:0}),i.Ub(603979776,517,{headerCell:0}),i.Ub(603979776,518,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,pl)),i.Cb(577,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[517,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ml)),i.Cb(580,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[516,4]],s.b,null,[a.b]),(t()(),i.Db(582,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(584,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,528,{cell:0}),i.Ub(603979776,529,{headerCell:0}),i.Ub(603979776,530,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,gl)),i.Cb(590,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[529,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Al)),i.Cb(593,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[528,4]],s.b,null,[a.b]),(t()(),i.Db(595,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(597,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,540,{cell:0}),i.Ub(603979776,541,{headerCell:0}),i.Ub(603979776,542,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,vl)),i.Cb(603,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[541,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Pl)),i.Cb(606,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[540,4]],s.b,null,[a.b]),(t()(),i.Db(608,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(610,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,552,{cell:0}),i.Ub(603979776,553,{headerCell:0}),i.Ub(603979776,554,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,xl)),i.Cb(616,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[553,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ml)),i.Cb(619,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[552,4]],s.b,null,[a.b]),(t()(),i.Db(621,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(623,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,564,{cell:0}),i.Ub(603979776,565,{headerCell:0}),i.Ub(603979776,566,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ol)),i.Cb(629,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[565,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,El)),i.Cb(632,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[564,4]],s.b,null,[a.b]),(t()(),i.Db(634,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(636,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,576,{cell:0}),i.Ub(603979776,577,{headerCell:0}),i.Ub(603979776,578,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Il)),i.Cb(642,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[577,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Rl)),i.Cb(645,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[576,4]],s.b,null,[a.b]),(t()(),i.Db(647,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(649,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,588,{cell:0}),i.Ub(603979776,589,{headerCell:0}),i.Ub(603979776,590,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Fl)),i.Cb(655,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[589,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ul)),i.Cb(658,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[588,4]],s.b,null,[a.b]),(t()(),i.Db(660,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(662,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,600,{cell:0}),i.Ub(603979776,601,{headerCell:0}),i.Ub(603979776,602,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Bl)),i.Cb(668,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[601,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Hl)),i.Cb(671,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[600,4]],s.b,null,[a.b]),(t()(),i.Db(673,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(675,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,615,{cell:0}),i.Ub(603979776,616,{headerCell:0}),i.Ub(603979776,617,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Vl)),i.Cb(681,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[616,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,$l)),i.Cb(684,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[615,4]],s.b,null,[a.b]),(t()(),i.Db(686,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(688,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,618,{cell:0}),i.Ub(603979776,619,{headerCell:0}),i.Ub(603979776,620,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Xl)),i.Cb(694,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[619,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ql)),i.Cb(697,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[618,4]],s.b,null,[a.b]),(t()(),i.Db(699,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(701,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,630,{cell:0}),i.Ub(603979776,631,{headerCell:0}),i.Ub(603979776,632,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Zl)),i.Cb(707,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[631,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ni)),i.Cb(710,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[630,4]],s.b,null,[a.b]),(t()(),i.Db(712,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(714,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,642,{cell:0}),i.Ub(603979776,643,{headerCell:0}),i.Ub(603979776,644,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,li)),i.Cb(720,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[643,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,oi)),i.Cb(723,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[642,4]],s.b,null,[a.b]),(t()(),i.Db(725,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(727,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,654,{cell:0}),i.Ub(603979776,655,{headerCell:0}),i.Ub(603979776,656,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ai)),i.Cb(733,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[655,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ci)),i.Cb(736,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[654,4]],s.b,null,[a.b]),(t()(),i.Db(738,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(740,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,666,{cell:0}),i.Ub(603979776,667,{headerCell:0}),i.Ub(603979776,668,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,di)),i.Cb(746,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[667,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,fi)),i.Cb(749,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[666,4]],s.b,null,[a.b]),(t()(),i.Db(751,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(753,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,678,{cell:0}),i.Ub(603979776,679,{headerCell:0}),i.Ub(603979776,680,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,bi)),i.Cb(759,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[679,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,_i)),i.Cb(762,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[678,4]],s.b,null,[a.b]),(t()(),i.Db(764,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(766,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,681,{cell:0}),i.Ub(603979776,682,{headerCell:0}),i.Ub(603979776,683,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,yi)),i.Cb(772,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[682,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ci)),i.Cb(775,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[681,4]],s.b,null,[a.b]),(t()(),i.Db(777,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(779,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,693,{cell:0}),i.Ub(603979776,694,{headerCell:0}),i.Ub(603979776,695,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,wi)),i.Cb(785,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[694,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Si)),i.Cb(788,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[693,4]],s.b,null,[a.b]),(t()(),i.Db(790,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(792,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,696,{cell:0}),i.Ub(603979776,697,{headerCell:0}),i.Ub(603979776,698,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,ki)),i.Cb(798,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[697,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Di)),i.Cb(801,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[696,4]],s.b,null,[a.b]),(t()(),i.Db(803,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(805,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,699,{cell:0}),i.Ub(603979776,700,{headerCell:0}),i.Ub(603979776,701,{footerCell:0}),i.Tb(2048,[[35,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ti)),i.Cb(811,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[700,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Li)),i.Cb(814,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[699,4]],s.b,null,[a.b]),(t()(),i.sb(0,null,null,2,null,ji)),i.Cb(817,540672,null,0,a.h,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[37,4]],s.l,null,[a.h]),(t()(),i.sb(0,null,null,2,null,Ri)),i.Cb(820,540672,null,0,a.j,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[36,4]],s.n,null,[a.j]),(t()(),i.sb(16777216,null,null,1,null,Fi)),i.Cb(823,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,20,0,n.tableName),t(e,26,0,i.Xb(e,26,0,i.Pb(e,27).transform(n.allTables))),t(e,40,0,"Search"),t(e,58,0,n.filterColumn),t(e,64,0,n.allTables[n.tableName].columnsFilter),t(e,66,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0),t(e,70,0,n.dataSource),t(e,77,0,"operation",""),t(e,90,0,"icao"),t(e,103,0,"name"),t(e,116,0,"iata"),t(e,129,0,"wakeTurbulence"),t(e,142,0,"iconName"),t(e,155,0,"species"),t(e,168,0,"engineType"),t(e,181,0,"enginePlacement"),t(e,194,0,"engine"),t(e,207,0,"squawk"),t(e,220,0,"military"),t(e,233,0,"mlat"),t(e,246,0,"legend"),t(e,259,0,"location"),t(e,272,0,"altitude"),t(e,285,0,"isPlot"),t(e,298,0,"modeS"),t(e,311,0,"modeSCountry"),t(e,324,0,"country"),t(e,337,0,"registration"),t(e,350,0,"countryCodeIso3"),t(e,363,0,"manufacturer"),t(e,376,0,"icaoTypeCode"),t(e,389,0,"type"),t(e,402,0,"serialNo"),t(e,415,0,"registeredOwners"),t(e,428,0,"operatorIcao"),t(e,441,0,"userTags"),t(e,454,0,"host"),t(e,467,0,"port"),t(e,480,0,"type_feed"),t(e,493,0,"longitude"),t(e,506,0,"latitude"),t(e,519,0,"settingsString"),t(e,532,0,"startAt"),t(e,545,0,"endAt"),t(e,558,0,"airforceReady"),t(e,571,0,"airforceSpeed"),t(e,584,0,"airforceDuration"),t(e,597,0,"minLat"),t(e,610,0,"maxLat"),t(e,623,0,"minLon"),t(e,636,0,"maxLon"),t(e,649,0,"groupLayer"),t(e,662,0,"typeLayer"),t(e,675,0,"pivLayer"),t(e,688,0,"tippecanoeLayer"),t(e,701,0,"styleLayer"),t(e,714,0,"mappingLayer"),t(e,727,0,"propertiesLayer"),t(e,740,0,"refreshLayer"),t(e,753,0,"defaultViewLayer"),t(e,766,0,"defaultOrderLayer"),t(e,779,0,"clickableLayer"),t(e,792,0,"hoverableLayer"),t(e,805,0,"bufferInBase64"),t(e,817,0,n.allTables[n.tableName].columns),t(e,820,0,n.allTables[n.tableName].columns),t(e,823,0,n.isLoading)}),(function(t,e){t(e,4,1,["standard"==i.Pb(e,5).appearance,"fill"==i.Pb(e,5).appearance,"outline"==i.Pb(e,5).appearance,"legacy"==i.Pb(e,5).appearance,i.Pb(e,5)._control.errorState,i.Pb(e,5)._canLabelFloat,i.Pb(e,5)._shouldLabelFloat(),i.Pb(e,5)._hasFloatingLabel(),i.Pb(e,5)._hideControlPlaceholder(),i.Pb(e,5)._control.disabled,i.Pb(e,5)._control.autofilled,i.Pb(e,5)._control.focused,"accent"==i.Pb(e,5).color,"warn"==i.Pb(e,5).color,i.Pb(e,5)._shouldForward("untouched"),i.Pb(e,5)._shouldForward("touched"),i.Pb(e,5)._shouldForward("pristine"),i.Pb(e,5)._shouldForward("dirty"),i.Pb(e,5)._shouldForward("valid"),i.Pb(e,5)._shouldForward("invalid"),i.Pb(e,5)._shouldForward("pending"),!i.Pb(e,5)._animationsEnabled]),t(e,18,1,[i.Pb(e,20).id,i.Pb(e,20).tabIndex,i.Pb(e,20)._getAriaLabel(),i.Pb(e,20)._getAriaLabelledby(),i.Pb(e,20).required.toString(),i.Pb(e,20).disabled.toString(),i.Pb(e,20).errorState,i.Pb(e,20).panelOpen?i.Pb(e,20)._optionIds:null,i.Pb(e,20).multiple,i.Pb(e,20)._ariaDescribedby||null,i.Pb(e,20)._getAriaActiveDescendant(),i.Pb(e,20).disabled,i.Pb(e,20).errorState,i.Pb(e,20).required,i.Pb(e,20).empty]),t(e,28,1,["standard"==i.Pb(e,29).appearance,"fill"==i.Pb(e,29).appearance,"outline"==i.Pb(e,29).appearance,"legacy"==i.Pb(e,29).appearance,i.Pb(e,29)._control.errorState,i.Pb(e,29)._canLabelFloat,i.Pb(e,29)._shouldLabelFloat(),i.Pb(e,29)._hasFloatingLabel(),i.Pb(e,29)._hideControlPlaceholder(),i.Pb(e,29)._control.disabled,i.Pb(e,29)._control.autofilled,i.Pb(e,29)._control.focused,"accent"==i.Pb(e,29).color,"warn"==i.Pb(e,29).color,i.Pb(e,29)._shouldForward("untouched"),i.Pb(e,29)._shouldForward("touched"),i.Pb(e,29)._shouldForward("pristine"),i.Pb(e,29)._shouldForward("dirty"),i.Pb(e,29)._shouldForward("valid"),i.Pb(e,29)._shouldForward("invalid"),i.Pb(e,29)._shouldForward("pending"),!i.Pb(e,29)._animationsEnabled]),t(e,39,0,i.Pb(e,40)._isServer,i.Pb(e,40).id,i.Pb(e,40).placeholder,i.Pb(e,40).disabled,i.Pb(e,40).required,i.Pb(e,40).readonly&&!i.Pb(e,40)._isNativeSelect||null,i.Pb(e,40)._ariaDescribedby||null,i.Pb(e,40).errorState,i.Pb(e,40).required.toString()),t(e,42,1,["standard"==i.Pb(e,43).appearance,"fill"==i.Pb(e,43).appearance,"outline"==i.Pb(e,43).appearance,"legacy"==i.Pb(e,43).appearance,i.Pb(e,43)._control.errorState,i.Pb(e,43)._canLabelFloat,i.Pb(e,43)._shouldLabelFloat(),i.Pb(e,43)._hasFloatingLabel(),i.Pb(e,43)._hideControlPlaceholder(),i.Pb(e,43)._control.disabled,i.Pb(e,43)._control.autofilled,i.Pb(e,43)._control.focused,"accent"==i.Pb(e,43).color,"warn"==i.Pb(e,43).color,i.Pb(e,43)._shouldForward("untouched"),i.Pb(e,43)._shouldForward("touched"),i.Pb(e,43)._shouldForward("pristine"),i.Pb(e,43)._shouldForward("dirty"),i.Pb(e,43)._shouldForward("valid"),i.Pb(e,43)._shouldForward("invalid"),i.Pb(e,43)._shouldForward("pending"),!i.Pb(e,43)._animationsEnabled]),t(e,56,1,[i.Pb(e,58).id,i.Pb(e,58).tabIndex,i.Pb(e,58)._getAriaLabel(),i.Pb(e,58)._getAriaLabelledby(),i.Pb(e,58).required.toString(),i.Pb(e,58).disabled.toString(),i.Pb(e,58).errorState,i.Pb(e,58).panelOpen?i.Pb(e,58)._optionIds:null,i.Pb(e,58).multiple,i.Pb(e,58)._ariaDescribedby||null,i.Pb(e,58)._getAriaActiveDescendant(),i.Pb(e,58).disabled,i.Pb(e,58).errorState,i.Pb(e,58).required,i.Pb(e,58).empty])}))}var Yi=n("igqZ"),Ui=(n("cUpR"),i.Bb({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}}));function Bi(t){return i.Yb(2,[i.Ob(null,0),i.Ob(null,1)],null,null)}var zi=n("wd/R");class Gi{constructor(t,e,n){this.formBuilder=t,this.flightPlanService=e,this.fileUploadService=n,this.progressRequest="",this.importReponse=void 0,this.displayedColumns=["createdAt","name","date","provider","format"],this.dataSource=new a.l,this.pager={pageSize:25,pageIndex:0,lenght:0}}ngOnInit(){this.uploadForm=this.formBuilder.group({file:null,filename:null}),this.dataSource.data=[],this.getFileUpload()}onSelectFile(t){t.target.files&&t.target.files.length>0&&(this.file=t.target.files[0],this.uploadForm.get("filename").setValue(this.file.name),this.importReponse=void 0)}onSubmit(){if(!this.isFileExist())return;const t=new FileReader;t.onload=()=>{const e=t.result.toString(),n=e.match(/IOBD.*,(.*),.*,.*,.*,/)[1],l=e.match(/.*,.*,.*,.*,.*,.*,.*,.*,.*,.*/gm).filter((t,e)=>e>0).map(t=>{const e=t.split(",");return{callsign:e[2],registration:e[7],icaoTypeCode:e[3],icaoFrom:e[4],icaoTo:e[5],oclockFrom:e[13],oclockTo:e[24]}});this.requestFlightPlan(n,l)},t.readAsText(this.file)}requestFlightPlan(t,e){const n=zi(t,"ddd DD MMM YYYY").format("YYYY-MM-DD");this.progressRequest="import",this.flightPlanService.flightPlanControllerImportFlightPlan({body:{date:n,filename:this.file.name,provider:"Eurocontrol",format:"PLN",flightplans:e}}).subscribe(t=>{console.log(t),this.progressRequest="",this.importReponse={success:!0,msg:"Import success"},this.file=void 0,this.getFileUpload()},t=>{console.error(t),this.progressRequest="",this.importReponse={success:!1,msg:t.error.error},this.file=void 0})}isFileExist(){return void 0!==this.file}changePage(t){this.pager.pageIndex=t.pageIndex,this.getFileUpload()}getFileUpload(){this.fileUploadService.getManyBaseFileUploadControllerFileUpload({page:this.pager.pageIndex+1,limit:this.pager.pageSize,filter:"type||$eq||flight_plan"}).subscribe(t=>{this.pager.lenght=t.total,this.dataSource.data=t.data})}}var Hi=n("oU5s"),Vi=n("Kth1"),qi=i.Bb({encapsulation:0,styles:[[".edition-db-plan-vol[_ngcontent-%COMP%]{padding:5px} .edition-db-plan-vol input, button[_ngcontent-%COMP%]{margin:5px}hr[_ngcontent-%COMP%]{border-top:1px solid #aaa}.alert[_ngcontent-%COMP%]{padding:5px;margin:5px;border-radius:3px}.error[_ngcontent-%COMP%]{background:#fae6e6;border:3px solid #c00}.success[_ngcontent-%COMP%]{background:#dfd;border:3px solid #4caf50}.input-operator[_ngcontent-%COMP%]{width:50px}table[_ngcontent-%COMP%]{border-spacing:0;width:100%}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}td[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%], th[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%]{display:flex}"]],data:{}});function Wi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,E.d,E.b)),i.Cb(1,114688,null,0,I.d,[i.p,C.a,[2,y.d],[2,h.a],I.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,i.Pb(e,1)._noopAnimations,i.Pb(e,1).diameter,i.Pb(e,1).diameter)}))}function $i(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-card",[["class","alert mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,Bi,Ui)),i.Tb(512,null,y.A,y.B,[i.y,i.z,i.p,i.M]),i.Cb(2,278528,null,0,y.l,[y.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Rb(3,{success:0,error:1}),i.Cb(4,49152,null,0,Yi.a,[[2,h.a]],null,null),(t()(),i.Db(5,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),i.Wb(6,null,["",""]))],(function(t,e){var n=e.component,l=t(e,3,0,n.importReponse.success,!n.importReponse.success);t(e,2,0,"alert",l)}),(function(t,e){var n=e.component;t(e,0,0,"NoopAnimations"===i.Pb(e,4)._animationMode),t(e,6,0,n.importReponse.msg)}))}function Xi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Import date "]))],null,null)}function Ki(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,3)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.createdAt,"dd/MM/yyyy HH:mm","UTC"));t(e,2,0,n)}))}function Ji(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Filename "]))],null,null)}function Qi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Zi(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Date "]))],null,null)}function tr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.data.date)}))}function er(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Provider "]))],null,null)}function nr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.data.provider)}))}function lr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Format "]))],null,null)}function ir(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.data.format)}))}function rr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,T.d,T.a)),i.Tb(6144,null,s.k,null,[a.g]),i.Cb(2,49152,null,0,a.g,[],null,null)],null,null)}function or(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,T.e,T.b)),i.Tb(6144,null,s.m,null,[a.i]),i.Cb(2,49152,null,0,a.i,[],null,null)],null,null)}function ar(t){return i.Yb(0,[i.Qb(0,y.e,[i.A]),i.Ub(671088640,1,{fileInput:0}),(t()(),i.Db(2,0,null,null,101,"div",[["class","edition-db-plan-vol"]],null,null,null,null,null)),(t()(),i.Db(3,0,null,null,18,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var l=!0,r=t.component;return"submit"===e&&(l=!1!==i.Pb(t,5).onSubmit(n)&&l),"reset"===e&&(l=!1!==i.Pb(t,5).onReset()&&l),"ngSubmit"===e&&(l=!1!==r.onSubmit()&&l),l}),null,null)),i.Cb(4,16384,null,0,w.A,[],null,null),i.Cb(5,540672,null,0,w.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),i.Tb(2048,null,w.c,null,[w.k]),i.Cb(7,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(8,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),i.Db(9,0,[[1,0],["fileInput",1]],null,5,"input",[["class","form-control"],["formControlName","file"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var l=!0,r=t.component;return"input"===e&&(l=!1!==i.Pb(t,10)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,10)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==r.onSelectFile(n)&&l),l}),null,null)),i.Cb(10,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(12,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(14,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.sb(16777216,null,null,1,null,Wi)),i.Cb(16,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.sb(16777216,null,null,1,null,$i)),i.Cb(18,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.Db(19,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,u.b,u.a)),i.Cb(20,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,["Import"])),(t()(),i.Db(22,0,null,null,81,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),i.Cb(23,16384,null,0,L.j,[],null,null),(t()(),i.Db(24,0,null,null,77,"table",[["class","mat-table"],["mat-table",""]],null,null,null,T.f,T.c)),i.Tb(6144,null,s.o,null,[a.k]),i.Cb(26,2342912,null,4,a.k,[i.y,i.j,i.p,[8,null],[2,g.b],y.d,C.a],{dataSource:[0,"dataSource"]},null),i.Ub(603979776,2,{_contentColumnDefs:1}),i.Ub(603979776,3,{_contentRowDefs:1}),i.Ub(603979776,4,{_contentHeaderRowDefs:1}),i.Ub(603979776,5,{_contentFooterRowDefs:1}),(t()(),i.Db(31,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(33,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,6,{cell:0}),i.Ub(603979776,7,{headerCell:0}),i.Ub(603979776,8,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Xi)),i.Cb(39,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[7,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Ki)),i.Cb(42,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[6,4]],s.b,null,[a.b]),(t()(),i.Db(44,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(46,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,9,{cell:0}),i.Ub(603979776,10,{headerCell:0}),i.Ub(603979776,11,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ji)),i.Cb(52,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[10,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Qi)),i.Cb(55,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[9,4]],s.b,null,[a.b]),(t()(),i.Db(57,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(59,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,12,{cell:0}),i.Ub(603979776,13,{headerCell:0}),i.Ub(603979776,14,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Zi)),i.Cb(65,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[13,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,tr)),i.Cb(68,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[12,4]],s.b,null,[a.b]),(t()(),i.Db(70,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(72,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,15,{cell:0}),i.Ub(603979776,16,{headerCell:0}),i.Ub(603979776,17,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,er)),i.Cb(78,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[16,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,nr)),i.Cb(81,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[15,4]],s.b,null,[a.b]),(t()(),i.Db(83,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(85,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,18,{cell:0}),i.Ub(603979776,19,{headerCell:0}),i.Ub(603979776,20,{footerCell:0}),i.Tb(2048,[[2,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,lr)),i.Cb(91,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[19,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,ir)),i.Cb(94,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[18,4]],s.b,null,[a.b]),(t()(),i.sb(0,null,null,2,null,rr)),i.Cb(97,540672,null,0,a.h,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[4,4]],s.l,null,[a.h]),(t()(),i.sb(0,null,null,2,null,or)),i.Cb(100,540672,null,0,a.j,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[3,4]],s.n,null,[a.j]),(t()(),i.Db(102,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),j.b,j.a)),i.Cb(103,245760,null,0,R.b,[R.c,i.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"})],(function(t,e){var n=e.component;t(e,5,0,n.uploadForm),t(e,12,0,"file"),t(e,16,0,"import"==n.progressRequest),t(e,18,0,n.importReponse),t(e,20,0,"warn"),t(e,26,0,n.dataSource),t(e,33,0,"createdAt"),t(e,46,0,"name"),t(e,59,0,"date"),t(e,72,0,"provider"),t(e,85,0,"format"),t(e,97,0,n.displayedColumns),t(e,100,0,n.displayedColumns),t(e,103,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0)}),(function(t,e){t(e,3,0,i.Pb(e,7).ngClassUntouched,i.Pb(e,7).ngClassTouched,i.Pb(e,7).ngClassPristine,i.Pb(e,7).ngClassDirty,i.Pb(e,7).ngClassValid,i.Pb(e,7).ngClassInvalid,i.Pb(e,7).ngClassPending),t(e,9,0,i.Pb(e,14).ngClassUntouched,i.Pb(e,14).ngClassTouched,i.Pb(e,14).ngClassPristine,i.Pb(e,14).ngClassDirty,i.Pb(e,14).ngClassValid,i.Pb(e,14).ngClassInvalid,i.Pb(e,14).ngClassPending),t(e,19,0,i.Pb(e,20).disabled||null,"NoopAnimations"===i.Pb(e,20)._animationMode)}))}var sr=n("Blz8"),ur=n("821u"),cr=n("zbXB");class dr{constructor(t){this.vehicleLogService=t,this.displayedColumns=["aircraftIcao","aircraftCallsign","origin","state","oldIcaoTypeCode","newIcaoTypeCode","oldRegistration","newRegistration"],this.dataSource=new a.l,this.pager={pageSize:25,pageIndex:0,lenght:0}}ngOnInit(){this.vehicleLogForm=new w.j({fromDate:new w.g(zi().format(),[w.w.required]),toDate:new w.g(zi().add(1,"day").format(),[w.w.required])}),this.dataSource.data=[],this.getVehicleLogs()}changePage(t){this.pager.pageIndex=t.pageIndex,this.getVehicleLogs()}getVehicleLogs(){const t=zi(this.vehicleLogForm.value.fromDate).set({hour:0,minute:0,second:0,millisecond:0}).format(),e=zi(this.vehicleLogForm.value.toDate).set({hour:0,minute:0,second:0,millisecond:0}).format();this.vehicleLogService.getManyBaseVehicleLogControllerVehicleLog({page:this.pager.pageIndex+1,limit:this.pager.pageSize,filter:["createdAt||gte||"+t,"createdAt||lte||"+e]}).subscribe(t=>{this.pager.lenght=t.total,this.dataSource.data=t.data})}exportCsv(){const t=zi(this.vehicleLogForm.value.fromDate).set({hour:0,minute:0,second:0,millisecond:0}).format(),e=zi(this.vehicleLogForm.value.toDate).set({hour:0,minute:0,second:0,millisecond:0}).format();this.vehicleLogService.vehicleLogControllerGetCsv({fromDate:t,toDate:e}).subscribe(t=>{this.downLoadFile(t,"application/csv")})}downLoadFile(t,e){const n=new Blob([t],{type:e}),l=window.URL.createObjectURL(n),i=document.createElement("a");i.download="vehicle_log.csv",i.href=l,i.click()}}var hr=n("GLSd"),pr=i.Bb({encapsulation:0,styles:[[".vehicle-log-action[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:0 10px}table[_ngcontent-%COMP%]{border-spacing:0;width:100%}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}td[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%], th[_ngcontent-%COMP%] .edit-cell-clock[_ngcontent-%COMP%]{display:flex} #content-database-dialog .mat-form-field{width:120px} #content-database-dialog .mat-form-field-appearance-outline .mat-form-field-wrapper{padding:0}"]],data:{}});function fr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Icao "]))],null,null)}function br(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.aircraftIcao)}))}function mr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Callsign "]))],null,null)}function gr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.aircraftCallsign)}))}function _r(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Origin "]))],null,null)}function yr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.origin)}))}function Ar(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" State "]))],null,null)}function vr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.state)}))}function Cr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Old IcaoTypeCode "]))],null,null)}function wr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.oldIcaoTypeCode));t(e,2,0,n)}))}function Pr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" New IcaoTypeCode "]))],null,null)}function xr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.newIcaoTypeCode));t(e,2,0,n)}))}function Sr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" Old Registration "]))],null,null)}function kr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.oldRegistration));t(e,2,0,n)}))}function Mr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.e,[s.d,i.p],null,null),(t()(),i.Wb(-1,null,[" New Registration "]))],null,null)}function Or(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),i.Cb(1,16384,null,0,a.a,[s.d,i.p],null,null),(t()(),i.Wb(2,null,[" "," "])),i.Sb(3,1)],null,(function(t,e){var n=i.Xb(e,2,0,t(e,3,0,i.Pb(e.parent,0),e.context.$implicit.newRegistration));t(e,2,0,n)}))}function Dr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,T.d,T.a)),i.Tb(6144,null,s.k,null,[a.g]),i.Cb(2,49152,null,0,a.g,[],null,null)],null,null)}function Tr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,T.e,T.b)),i.Tb(6144,null,s.m,null,[a.i]),i.Cb(2,49152,null,0,a.i,[],null,null)],null,null)}function Er(t){return i.Yb(0,[i.Qb(0,sr.a,[]),(t()(),i.Db(1,0,null,null,190,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),i.Cb(2,16384,null,0,L.j,[],null,null),(t()(),i.Db(3,0,null,null,69,"div",[["class","vehicle-log-action"]],null,null,null,null,null)),(t()(),i.Db(4,0,null,null,63,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var l=!0,r=t.component;return"submit"===e&&(l=!1!==i.Pb(t,6).onSubmit(n)&&l),"reset"===e&&(l=!1!==i.Pb(t,6).onReset()&&l),"ngSubmit"===e&&(l=!1!==r.getVehicleLogs()&&l),l}),null,null)),i.Cb(5,16384,null,0,w.A,[],null,null),i.Cb(6,540672,null,0,w.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),i.Tb(2048,null,w.c,null,[w.k]),i.Cb(8,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(9,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 200px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(10,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,1,{_controlNonStatic:0}),i.Ub(335544320,2,{_controlStatic:0}),i.Ub(603979776,3,{_labelChildNonStatic:0}),i.Ub(335544320,4,{_labelChildStatic:0}),i.Ub(603979776,5,{_placeholderChild:0}),i.Ub(603979776,6,{_errorChildren:1}),i.Ub(603979776,7,{_hintChildren:1}),i.Ub(603979776,8,{_prefixChildren:1}),i.Ub(603979776,9,{_suffixChildren:1}),(t()(),i.Db(20,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","fromDate"],["matInput",""],["placeholder","Choose from date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,21)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,21).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,21)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,21)._compositionEnd(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,22)._onInput(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,22)._onChange()&&l),"blur"===e&&(l=!1!==i.Pb(t,22)._onBlur()&&l),"keydown"===e&&(l=!1!==i.Pb(t,22)._onKeydown(n)&&l),"blur"===e&&(l=!1!==i.Pb(t,29)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,29)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,29)._onInput()&&l),l}),null,null)),i.Cb(21,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(22,147456,null,0,ur.h,[i.p,[2,o.c],[2,o.g],[2,v.c]],{matDatepicker:[0,"matDatepicker"]},null),i.Tb(1024,null,w.n,(function(t){return[t]}),[ur.h]),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,ur.h]),i.Cb(25,671744,null,0,w.i,[[3,w.c],[6,w.n],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(27,16384,null,0,w.q,[[4,w.p]],null,null),i.Tb(2048,null,P.a,null,[ur.h]),i.Cb(29,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[6,P.a],x.a,i.G],{placeholder:[0,"placeholder"]},null),i.Tb(2048,[[1,4],[2,4]],v.d,null,[P.b]),(t()(),i.Db(31,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(t,e,n){var l=!0;return"focus"===e&&(l=!1!==i.Pb(t,32)._button.focus()&&l),l}),cr.e,cr.d)),i.Cb(32,1753088,null,1,ur.k,[ur.i,i.j,[8,null]],{datepicker:[0,"datepicker"]},null),i.Ub(603979776,10,{_customIcon:0}),i.Cb(34,16384,[[9,4]],0,v.g,[],null,null),(t()(),i.Db(35,16777216,null,1,1,"mat-datepicker",[],null,null,null,cr.f,cr.c)),i.Cb(36,180224,[["fromPicker",4]],0,ur.f,[L.e,m.c,i.G,i.Y,ur.a,[2,o.c],[2,g.b],[2,y.d]],null,null),(t()(),i.Db(37,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 200px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(38,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,11,{_controlNonStatic:0}),i.Ub(335544320,12,{_controlStatic:0}),i.Ub(603979776,13,{_labelChildNonStatic:0}),i.Ub(335544320,14,{_labelChildStatic:0}),i.Ub(603979776,15,{_placeholderChild:0}),i.Ub(603979776,16,{_errorChildren:1}),i.Ub(603979776,17,{_hintChildren:1}),i.Ub(603979776,18,{_prefixChildren:1}),i.Ub(603979776,19,{_suffixChildren:1}),(t()(),i.Db(48,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","toDate"],["matInput",""],["placeholder","Choose to date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,49)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,49).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,49)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,49)._compositionEnd(n.target.value)&&l),"input"===e&&(l=!1!==i.Pb(t,50)._onInput(n.target.value)&&l),"change"===e&&(l=!1!==i.Pb(t,50)._onChange()&&l),"blur"===e&&(l=!1!==i.Pb(t,50)._onBlur()&&l),"keydown"===e&&(l=!1!==i.Pb(t,50)._onKeydown(n)&&l),"blur"===e&&(l=!1!==i.Pb(t,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,57)._onInput()&&l),l}),null,null)),i.Cb(49,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Cb(50,147456,null,0,ur.h,[i.p,[2,o.c],[2,o.g],[2,v.c]],{matDatepicker:[0,"matDatepicker"]},null),i.Tb(1024,null,w.n,(function(t){return[t]}),[ur.h]),i.Tb(1024,null,w.o,(function(t,e){return[t,e]}),[w.d,ur.h]),i.Cb(53,671744,null,0,w.i,[[3,w.c],[6,w.n],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(55,16384,null,0,w.q,[[4,w.p]],null,null),i.Tb(2048,null,P.a,null,[ur.h]),i.Cb(57,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[6,P.a],x.a,i.G],{placeholder:[0,"placeholder"]},null),i.Tb(2048,[[11,4],[12,4]],v.d,null,[P.b]),(t()(),i.Db(59,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(t,e,n){var l=!0;return"focus"===e&&(l=!1!==i.Pb(t,60)._button.focus()&&l),l}),cr.e,cr.d)),i.Cb(60,1753088,null,1,ur.k,[ur.i,i.j,[8,null]],{datepicker:[0,"datepicker"]},null),i.Ub(603979776,20,{_customIcon:0}),i.Cb(62,16384,[[19,4]],0,v.g,[],null,null),(t()(),i.Db(63,16777216,null,1,1,"mat-datepicker",[],null,null,null,cr.f,cr.c)),i.Cb(64,180224,[["toPicker",4]],0,ur.f,[L.e,m.c,i.G,i.Y,ur.a,[2,o.c],[2,g.b],[2,y.d]],null,null),(t()(),i.Db(65,0,null,null,2,"ion-button",[["color","danger"],["type","submit"]],null,null,null,p.u,p.c)),i.Cb(66,49152,null,0,f.i,[i.j,i.p,i.G],{color:[0,"color"],type:[1,"type"]},null),(t()(),i.Wb(-1,0,["Ok"])),(t()(),i.Db(68,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.exportCsv()&&l),l}),u.b,u.a)),i.Cb(69,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,[" Export "])),(t()(),i.Db(71,0,null,0,1,"ion-icon",[["name","document"]],null,null,null,p.y,p.g)),i.Cb(72,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(73,0,null,null,116,"table",[["class","mat-table"],["mat-table",""]],null,null,null,T.f,T.c)),i.Tb(6144,null,s.o,null,[a.k]),i.Cb(75,2342912,null,4,a.k,[i.y,i.j,i.p,[8,null],[2,g.b],y.d,C.a],{dataSource:[0,"dataSource"]},null),i.Ub(603979776,21,{_contentColumnDefs:1}),i.Ub(603979776,22,{_contentRowDefs:1}),i.Ub(603979776,23,{_contentHeaderRowDefs:1}),i.Ub(603979776,24,{_contentFooterRowDefs:1}),(t()(),i.Db(80,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(82,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,25,{cell:0}),i.Ub(603979776,26,{headerCell:0}),i.Ub(603979776,27,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,fr)),i.Cb(88,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[26,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,br)),i.Cb(91,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[25,4]],s.b,null,[a.b]),(t()(),i.Db(93,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(95,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,28,{cell:0}),i.Ub(603979776,29,{headerCell:0}),i.Ub(603979776,30,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,mr)),i.Cb(101,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[29,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,gr)),i.Cb(104,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[28,4]],s.b,null,[a.b]),(t()(),i.Db(106,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(108,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,31,{cell:0}),i.Ub(603979776,32,{headerCell:0}),i.Ub(603979776,33,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,_r)),i.Cb(114,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[32,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,yr)),i.Cb(117,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[31,4]],s.b,null,[a.b]),(t()(),i.Db(119,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(121,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,34,{cell:0}),i.Ub(603979776,35,{headerCell:0}),i.Ub(603979776,36,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Ar)),i.Cb(127,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[35,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,vr)),i.Cb(130,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[34,4]],s.b,null,[a.b]),(t()(),i.Db(132,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(134,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,37,{cell:0}),i.Ub(603979776,38,{headerCell:0}),i.Ub(603979776,39,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Cr)),i.Cb(140,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[38,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,wr)),i.Cb(143,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[37,4]],s.b,null,[a.b]),(t()(),i.Db(145,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(147,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,40,{cell:0}),i.Ub(603979776,41,{headerCell:0}),i.Ub(603979776,42,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Pr)),i.Cb(153,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[41,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,xr)),i.Cb(156,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[40,4]],s.b,null,[a.b]),(t()(),i.Db(158,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(160,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,43,{cell:0}),i.Ub(603979776,44,{headerCell:0}),i.Ub(603979776,45,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Sr)),i.Cb(166,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[44,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,kr)),i.Cb(169,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[43,4]],s.b,null,[a.b]),(t()(),i.Db(171,0,null,null,12,null,null,null,null,null,null,null)),i.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[a.c]),i.Cb(173,16384,null,3,a.c,[],{name:[0,"name"]},null),i.Ub(603979776,46,{cell:0}),i.Ub(603979776,47,{headerCell:0}),i.Ub(603979776,48,{footerCell:0}),i.Tb(2048,[[21,4]],s.d,null,[a.c]),(t()(),i.sb(0,null,null,2,null,Mr)),i.Cb(179,16384,null,0,a.f,[i.U],null,null),i.Tb(2048,[[47,4]],s.j,null,[a.f]),(t()(),i.sb(0,null,null,2,null,Or)),i.Cb(182,16384,null,0,a.b,[i.U],null,null),i.Tb(2048,[[46,4]],s.b,null,[a.b]),(t()(),i.sb(0,null,null,2,null,Dr)),i.Cb(185,540672,null,0,a.h,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[23,4]],s.l,null,[a.h]),(t()(),i.sb(0,null,null,2,null,Tr)),i.Cb(188,540672,null,0,a.j,[i.U,i.y],{columns:[0,"columns"]},null),i.Tb(2048,[[22,4]],s.n,null,[a.j]),(t()(),i.Db(190,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),j.b,j.a)),i.Cb(191,245760,null,0,R.b,[R.c,i.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"})],(function(t,e){var n=e.component;t(e,6,0,n.vehicleLogForm),t(e,10,0,"outline"),t(e,22,0,i.Pb(e,36)),t(e,25,0,"fromDate"),t(e,29,0,"Choose from date"),t(e,32,0,i.Pb(e,36)),t(e,38,0,"outline"),t(e,50,0,i.Pb(e,64)),t(e,53,0,"toDate"),t(e,57,0,"Choose to date"),t(e,60,0,i.Pb(e,64)),t(e,66,0,"danger","submit"),t(e,69,0,"warn"),t(e,72,0,"document"),t(e,75,0,n.dataSource),t(e,82,0,"aircraftIcao"),t(e,95,0,"aircraftCallsign"),t(e,108,0,"origin"),t(e,121,0,"state"),t(e,134,0,"oldIcaoTypeCode"),t(e,147,0,"newIcaoTypeCode"),t(e,160,0,"oldRegistration"),t(e,173,0,"newRegistration"),t(e,185,0,n.displayedColumns),t(e,188,0,n.displayedColumns),t(e,191,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0)}),(function(t,e){t(e,4,0,i.Pb(e,8).ngClassUntouched,i.Pb(e,8).ngClassTouched,i.Pb(e,8).ngClassPristine,i.Pb(e,8).ngClassDirty,i.Pb(e,8).ngClassValid,i.Pb(e,8).ngClassInvalid,i.Pb(e,8).ngClassPending),t(e,9,1,["standard"==i.Pb(e,10).appearance,"fill"==i.Pb(e,10).appearance,"outline"==i.Pb(e,10).appearance,"legacy"==i.Pb(e,10).appearance,i.Pb(e,10)._control.errorState,i.Pb(e,10)._canLabelFloat,i.Pb(e,10)._shouldLabelFloat(),i.Pb(e,10)._hasFloatingLabel(),i.Pb(e,10)._hideControlPlaceholder(),i.Pb(e,10)._control.disabled,i.Pb(e,10)._control.autofilled,i.Pb(e,10)._control.focused,"accent"==i.Pb(e,10).color,"warn"==i.Pb(e,10).color,i.Pb(e,10)._shouldForward("untouched"),i.Pb(e,10)._shouldForward("touched"),i.Pb(e,10)._shouldForward("pristine"),i.Pb(e,10)._shouldForward("dirty"),i.Pb(e,10)._shouldForward("valid"),i.Pb(e,10)._shouldForward("invalid"),i.Pb(e,10)._shouldForward("pending"),!i.Pb(e,10)._animationsEnabled]),t(e,20,1,[i.Pb(e,22)._datepicker?"dialog":null,(null==i.Pb(e,22)._datepicker?null:i.Pb(e,22)._datepicker.opened)&&i.Pb(e,22)._datepicker.id||null,i.Pb(e,22).min?i.Pb(e,22)._dateAdapter.toIso8601(i.Pb(e,22).min):null,i.Pb(e,22).max?i.Pb(e,22)._dateAdapter.toIso8601(i.Pb(e,22).max):null,i.Pb(e,22).disabled,i.Pb(e,27).ngClassUntouched,i.Pb(e,27).ngClassTouched,i.Pb(e,27).ngClassPristine,i.Pb(e,27).ngClassDirty,i.Pb(e,27).ngClassValid,i.Pb(e,27).ngClassInvalid,i.Pb(e,27).ngClassPending,i.Pb(e,29)._isServer,i.Pb(e,29).id,i.Pb(e,29).placeholder,i.Pb(e,29).disabled,i.Pb(e,29).required,i.Pb(e,29).readonly&&!i.Pb(e,29)._isNativeSelect||null,i.Pb(e,29)._ariaDescribedby||null,i.Pb(e,29).errorState,i.Pb(e,29).required.toString()]),t(e,31,0,-1,i.Pb(e,32).datepicker&&i.Pb(e,32).datepicker.opened,i.Pb(e,32).datepicker&&"accent"===i.Pb(e,32).datepicker.color,i.Pb(e,32).datepicker&&"warn"===i.Pb(e,32).datepicker.color),t(e,37,1,["standard"==i.Pb(e,38).appearance,"fill"==i.Pb(e,38).appearance,"outline"==i.Pb(e,38).appearance,"legacy"==i.Pb(e,38).appearance,i.Pb(e,38)._control.errorState,i.Pb(e,38)._canLabelFloat,i.Pb(e,38)._shouldLabelFloat(),i.Pb(e,38)._hasFloatingLabel(),i.Pb(e,38)._hideControlPlaceholder(),i.Pb(e,38)._control.disabled,i.Pb(e,38)._control.autofilled,i.Pb(e,38)._control.focused,"accent"==i.Pb(e,38).color,"warn"==i.Pb(e,38).color,i.Pb(e,38)._shouldForward("untouched"),i.Pb(e,38)._shouldForward("touched"),i.Pb(e,38)._shouldForward("pristine"),i.Pb(e,38)._shouldForward("dirty"),i.Pb(e,38)._shouldForward("valid"),i.Pb(e,38)._shouldForward("invalid"),i.Pb(e,38)._shouldForward("pending"),!i.Pb(e,38)._animationsEnabled]),t(e,48,1,[i.Pb(e,50)._datepicker?"dialog":null,(null==i.Pb(e,50)._datepicker?null:i.Pb(e,50)._datepicker.opened)&&i.Pb(e,50)._datepicker.id||null,i.Pb(e,50).min?i.Pb(e,50)._dateAdapter.toIso8601(i.Pb(e,50).min):null,i.Pb(e,50).max?i.Pb(e,50)._dateAdapter.toIso8601(i.Pb(e,50).max):null,i.Pb(e,50).disabled,i.Pb(e,55).ngClassUntouched,i.Pb(e,55).ngClassTouched,i.Pb(e,55).ngClassPristine,i.Pb(e,55).ngClassDirty,i.Pb(e,55).ngClassValid,i.Pb(e,55).ngClassInvalid,i.Pb(e,55).ngClassPending,i.Pb(e,57)._isServer,i.Pb(e,57).id,i.Pb(e,57).placeholder,i.Pb(e,57).disabled,i.Pb(e,57).required,i.Pb(e,57).readonly&&!i.Pb(e,57)._isNativeSelect||null,i.Pb(e,57)._ariaDescribedby||null,i.Pb(e,57).errorState,i.Pb(e,57).required.toString()]),t(e,59,0,-1,i.Pb(e,60).datepicker&&i.Pb(e,60).datepicker.opened,i.Pb(e,60).datepicker&&"accent"===i.Pb(e,60).datepicker.color,i.Pb(e,60).datepicker&&"warn"===i.Pb(e,60).datepicker.color),t(e,68,0,i.Pb(e,69).disabled||null,"NoopAnimations"===i.Pb(e,69)._animationMode)}))}n("/Mhs");const Ir=["matchKey","modeS","icaoTypeCode","registration","manufacturer","type","serialNo","engines","registeredOwners","totalHours","yearBuilt","userTags","operatorIcao","modeSDec","material","oiseauMarque","countryCodeIso3","homeAerodromeDGAC","addressOwnerDGAC"],Lr=["icao","iata","name","location","country","longitude","latitude","altitude","isPlot","type"];class jr{constructor(t,e,n){this.fb=t,this.vehicleService=e,this.stopPointService=n,this.allTables=["vehicle","stop_point"],this.tableName=this.allTables[0],this.csvFieldsArray=["un","deux"],this.progressRequest="",this.importReponse=void 0}ngOnInit(){this.uploadForm=new w.j({file:new w.g(null,[w.w.required]),override:new w.g(!0,[w.w.required]),delimiter:new w.g(",",[w.w.required]),fields:this.fb.array([]),fileSource:new w.g(null,[w.w.required])})}changeTable(t){this.fileInput.nativeElement.value="",this.uploadForm.patchValue({fileSource:null,file:null}),this.uploadForm.controls.fields.clear(),this.csvFieldsArray=[],this.importReponse=void 0}getFieldsForm(){return this.uploadForm.get("fields")}onFileChange(t){t.target.files.length>0&&this.uploadForm.patchValue({fileSource:t.target.files[0]}),this.uploadForm.controls.fields.clear(),this.csvFieldsArray=[];const e="vehicle"===this.tableName?Ir:Lr;for(const l of e)this.addFieldsForm(l);const n=new FileReader;n.onload=()=>{const t=n.result.toString();this.csvFieldsArray=t.split("\n").shift().split(this.uploadForm.value.delimiter)},n.readAsText(this.uploadForm.value.fileSource,"UTF-8")}addFieldsForm(t){this.uploadForm.controls.fields.push(this.fb.group({field:t,value:""}))}importCsv(){const t={file:this.uploadForm.value.fileSource,fields:this.uploadForm.value.fields.filter(t=>""!==t.value).map(t=>t.value+":"+t.field),delimiter:this.uploadForm.value.delimiter,override:this.uploadForm.value.override};this.progressRequest="import",this.selectEntityRouteImport(t).subscribe(t=>{this.progressRequest="",this.importReponse={success:!!t.success,msg:t.success?"Import success":t.error}})}selectEntityRouteImport(t){return"vehicle"===this.tableName?this.vehicleService.vehicleControllerImportCsv({body:t}):"stop_point"===this.tableName?this.stopPointService.stopPointControllerImportCsv({body:t}):void 0}exportCsv(){this.progressRequest="export",this.selectEntityRouteExport().subscribe(t=>{this.progressRequest="",this.downLoadFile(t,"application/csv")})}selectEntityRouteExport(){return"vehicle"===this.tableName?this.vehicleService.vehicleControllerExportCsv():"stop_point"===this.tableName?this.stopPointService.stopPointControllerExportCsv():void 0}downLoadFile(t,e){const n=new Blob([t],{type:e}),l=window.URL.createObjectURL(n),i=document.createElement("a");i.download=this.tableName+"_export.csv",i.href=l,i.click()}}var Rr=i.Bb({encapsulation:0,styles:[[".import-export-csv[_ngcontent-%COMP%]{padding:5px}hr[_ngcontent-%COMP%]{border-top:1px solid #aaa}.import-csv-fields[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.alert[_ngcontent-%COMP%]{padding:5px;margin:5px;border-radius:3px}.error[_ngcontent-%COMP%]{background:#fae6e6;border:3px solid #c00}.success[_ngcontent-%COMP%]{background:#dfd;border:3px solid #4caf50}.input-operator[_ngcontent-%COMP%]{width:50px}"]],data:{}});function Fr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[11,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function Nr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,E.d,E.b)),i.Cb(1,114688,null,0,I.d,[i.p,C.a,[2,y.d],[2,h.a],I.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,i.Pb(e,1)._noopAnimations,i.Pb(e,1).diameter,i.Pb(e,1).diameter)}))}function Yr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,1)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(1,8568832,[[44,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,i.Pb(e,1)._getTabIndex(),i.Pb(e,1).selected,i.Pb(e,1).multiple,i.Pb(e,1).active,i.Pb(e,1).id,i.Pb(e,1)._getAriaSelected(),i.Pb(e,1).disabled.toString(),i.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function Ur(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,33,"div",[["class","form-inline"],["formArrayName","fields"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),i.Cb(1,212992,null,0,w.e,[[3,w.c],[8,null],[8,null]],{name:[0,"name"]},null),i.Tb(2048,null,w.c,null,[w.e]),i.Cb(3,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(4,0,null,null,29,null,null,null,null,null,null,null)),i.Cb(5,212992,null,0,w.l,[[3,w.c],[8,null],[8,null]],{name:[0,"name"]},null),i.Tb(2048,null,w.c,null,[w.l]),i.Cb(7,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(8,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(9,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,35,{_controlNonStatic:0}),i.Ub(335544320,36,{_controlStatic:0}),i.Ub(603979776,37,{_labelChildNonStatic:0}),i.Ub(335544320,38,{_labelChildStatic:0}),i.Ub(603979776,39,{_placeholderChild:0}),i.Ub(603979776,40,{_errorChildren:1}),i.Ub(603979776,41,{_hintChildren:1}),i.Ub(603979776,42,{_prefixChildren:1}),i.Ub(603979776,43,{_suffixChildren:1}),(t()(),i.Db(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(20,16384,[[37,4],[38,4]],0,v.f,[],null,null),(t()(),i.Wb(21,null,[" "," "])),(t()(),i.Db(22,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","value"],["matInput",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,27)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,27)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,27)._onBlur()&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(24,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[8,null],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(26,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(27,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],{placeholder:[0,"placeholder"]},null),i.Ub(603979776,44,{options:1}),i.Ub(603979776,45,{optionGroups:1}),i.Ub(603979776,46,{customTrigger:0}),i.Tb(2048,[[35,4],[36,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Yr)),i.Cb(33,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"fields"),t(e,5,0,e.context.index),t(e,9,0,"outline"),t(e,24,0,"value"),t(e,27,0,i.Hb(1,"",e.context.$implicit.value.field,"")),t(e,33,0,n.csvFieldsArray)}),(function(t,e){t(e,0,0,i.Pb(e,3).ngClassUntouched,i.Pb(e,3).ngClassTouched,i.Pb(e,3).ngClassPristine,i.Pb(e,3).ngClassDirty,i.Pb(e,3).ngClassValid,i.Pb(e,3).ngClassInvalid,i.Pb(e,3).ngClassPending),t(e,8,1,["standard"==i.Pb(e,9).appearance,"fill"==i.Pb(e,9).appearance,"outline"==i.Pb(e,9).appearance,"legacy"==i.Pb(e,9).appearance,i.Pb(e,9)._control.errorState,i.Pb(e,9)._canLabelFloat,i.Pb(e,9)._shouldLabelFloat(),i.Pb(e,9)._hasFloatingLabel(),i.Pb(e,9)._hideControlPlaceholder(),i.Pb(e,9)._control.disabled,i.Pb(e,9)._control.autofilled,i.Pb(e,9)._control.focused,"accent"==i.Pb(e,9).color,"warn"==i.Pb(e,9).color,i.Pb(e,9)._shouldForward("untouched"),i.Pb(e,9)._shouldForward("touched"),i.Pb(e,9)._shouldForward("pristine"),i.Pb(e,9)._shouldForward("dirty"),i.Pb(e,9)._shouldForward("valid"),i.Pb(e,9)._shouldForward("invalid"),i.Pb(e,9)._shouldForward("pending"),!i.Pb(e,9)._animationsEnabled]),t(e,21,0,e.context.$implicit.value.field),t(e,22,1,[i.Pb(e,26).ngClassUntouched,i.Pb(e,26).ngClassTouched,i.Pb(e,26).ngClassPristine,i.Pb(e,26).ngClassDirty,i.Pb(e,26).ngClassValid,i.Pb(e,26).ngClassInvalid,i.Pb(e,26).ngClassPending,i.Pb(e,27).id,i.Pb(e,27).tabIndex,i.Pb(e,27)._getAriaLabel(),i.Pb(e,27)._getAriaLabelledby(),i.Pb(e,27).required.toString(),i.Pb(e,27).disabled.toString(),i.Pb(e,27).errorState,i.Pb(e,27).panelOpen?i.Pb(e,27)._optionIds:null,i.Pb(e,27).multiple,i.Pb(e,27)._ariaDescribedby||null,i.Pb(e,27)._getAriaActiveDescendant(),i.Pb(e,27).disabled,i.Pb(e,27).errorState,i.Pb(e,27).required,i.Pb(e,27).empty])}))}function Br(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,E.d,E.b)),i.Cb(1,114688,null,0,I.d,[i.p,C.a,[2,y.d],[2,h.a],I.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,i.Pb(e,1)._noopAnimations,i.Pb(e,1).diameter,i.Pb(e,1).diameter)}))}function zr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,6,"mat-card",[["class","alert mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,Bi,Ui)),i.Tb(512,null,y.A,y.B,[i.y,i.z,i.p,i.M]),i.Cb(2,278528,null,0,y.l,[y.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i.Rb(3,{success:0,error:1}),i.Cb(4,49152,null,0,Yi.a,[[2,h.a]],null,null),(t()(),i.Db(5,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),i.Wb(6,null,["",""]))],(function(t,e){var n=e.component,l=t(e,3,0,n.importReponse.success,!n.importReponse.success);t(e,2,0,"alert",l)}),(function(t,e){var n=e.component;t(e,0,0,"NoopAnimations"===i.Pb(e,4)._animationMode),t(e,6,0,n.importReponse.msg)}))}function Gr(t){return i.Yb(0,[i.Ub(671088640,1,{fileInput:0}),(t()(),i.Db(1,0,null,null,107,"div",[["class","import-export-csv"]],null,null,null,null,null)),(t()(),i.Db(2,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(3,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],null,null),i.Ub(603979776,2,{_controlNonStatic:0}),i.Ub(335544320,3,{_controlStatic:0}),i.Ub(603979776,4,{_labelChildNonStatic:0}),i.Ub(335544320,5,{_labelChildStatic:0}),i.Ub(603979776,6,{_placeholderChild:0}),i.Ub(603979776,7,{_errorChildren:1}),i.Ub(603979776,8,{_hintChildren:1}),i.Ub(603979776,9,{_prefixChildren:1}),i.Ub(603979776,10,{_suffixChildren:1}),(t()(),i.Db(13,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(14,16384,[[4,4],[5,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Table"])),(t()(),i.Db(16,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,r=t.component;return"keydown"===e&&(l=!1!==i.Pb(t,18)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,18)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,18)._onBlur()&&l),"valueChange"===e&&(l=!1!==(r.tableName=n)&&l),"selectionChange"===e&&(l=!1!==r.changeTable(n)&&l),l}),S.b,S.a)),i.Tb(6144,null,o.l,null,[k.c]),i.Cb(18,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[8,null],[8,null],k.a,d.j],{disabled:[0,"disabled"],value:[1,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),i.Ub(603979776,11,{options:1}),i.Ub(603979776,12,{optionGroups:1}),i.Ub(603979776,13,{customTrigger:0}),i.Tb(2048,[[2,4],[3,4]],v.d,null,[k.c]),(t()(),i.sb(16777216,null,1,1,null,Fr)),i.Cb(24,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.Db(25,0,null,null,7,"div",[["class","export-csv"]],null,null,null,null,null)),(t()(),i.sb(16777216,null,null,1,null,Nr)),i.Cb(27,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.Db(28,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.exportCsv()&&l),l}),u.b,u.a)),i.Cb(29,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,[" Export "])),(t()(),i.Db(31,0,null,0,1,"ion-icon",[["name","document"]],null,null,null,p.y,p.g)),i.Cb(32,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(33,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),i.Db(34,0,null,null,74,"div",[["class","import-csv"]],null,null,null,null,null)),(t()(),i.Db(35,0,null,null,73,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var l=!0,r=t.component;return"submit"===e&&(l=!1!==i.Pb(t,37).onSubmit(n)&&l),"reset"===e&&(l=!1!==i.Pb(t,37).onReset()&&l),"ngSubmit"===e&&(l=!1!==r.importCsv()&&l),l}),null,null)),i.Cb(36,16384,null,0,w.A,[],null,null),i.Cb(37,540672,null,0,w.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),i.Tb(2048,null,w.c,null,[w.k]),i.Cb(39,16384,null,0,w.r,[[4,w.c]],null,null),(t()(),i.Db(40,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),i.Db(41,0,[[1,0],["fileInput",1]],null,5,"input",[["accept",".csv"],["class","form-control"],["formControlName","file"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var l=!0,r=t.component;return"input"===e&&(l=!1!==i.Pb(t,42)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,42).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,42)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,42)._compositionEnd(n.target.value)&&l),"change"===e&&(l=!1!==r.onFileChange(n)&&l),l}),null,null)),i.Cb(42,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(44,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(46,16384,null,0,w.q,[[4,w.p]],null,null),(t()(),i.Db(47,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","input-delimiter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(48,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,14,{_controlNonStatic:0}),i.Ub(335544320,15,{_controlStatic:0}),i.Ub(603979776,16,{_labelChildNonStatic:0}),i.Ub(335544320,17,{_labelChildStatic:0}),i.Ub(603979776,18,{_placeholderChild:0}),i.Ub(603979776,19,{_errorChildren:1}),i.Ub(603979776,20,{_hintChildren:1}),i.Ub(603979776,21,{_prefixChildren:1}),i.Ub(603979776,22,{_suffixChildren:1}),(t()(),i.Db(58,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(59,16384,[[16,4],[17,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,["Del"])),(t()(),i.Db(61,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","delimiter"],["matInput",""],["placeholder","Del"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var l=!0;return"input"===e&&(l=!1!==i.Pb(t,62)._handleInput(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,62).onTouched()&&l),"compositionstart"===e&&(l=!1!==i.Pb(t,62)._compositionStart()&&l),"compositionend"===e&&(l=!1!==i.Pb(t,62)._compositionEnd(n.target.value)&&l),"blur"===e&&(l=!1!==i.Pb(t,67)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==i.Pb(t,67)._focusChanged(!0)&&l),"input"===e&&(l=!1!==i.Pb(t,67)._onInput()&&l),l}),null,null)),i.Cb(62,16384,null,0,w.d,[i.M,i.p,[2,w.a]],null,null),i.Tb(1024,null,w.o,(function(t){return[t]}),[w.d]),i.Cb(64,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[6,w.o],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(66,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(67,999424,null,0,P.b,[i.p,C.a,[6,w.p],[2,w.s],[2,w.k],o.d,[8,null],x.a,i.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),i.Tb(2048,[[14,4],[15,4]],v.d,null,[P.b]),(t()(),i.Db(69,0,null,null,29,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,A.b,A.a)),i.Cb(70,7520256,null,9,v.c,[i.p,i.j,[2,o.j],[2,g.b],[2,v.a],C.a,i.G,[2,h.a]],{appearance:[0,"appearance"]},null),i.Ub(603979776,23,{_controlNonStatic:0}),i.Ub(335544320,24,{_controlStatic:0}),i.Ub(603979776,25,{_labelChildNonStatic:0}),i.Ub(335544320,26,{_labelChildStatic:0}),i.Ub(603979776,27,{_placeholderChild:0}),i.Ub(603979776,28,{_errorChildren:1}),i.Ub(603979776,29,{_hintChildren:1}),i.Ub(603979776,30,{_prefixChildren:1}),i.Ub(603979776,31,{_suffixChildren:1}),(t()(),i.Db(80,0,null,3,2,"mat-label",[],null,null,null,null,null)),i.Cb(81,16384,[[25,4],[26,4]],0,v.f,[],null,null),(t()(),i.Wb(-1,null,[" Override "])),(t()(),i.Db(83,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","override"],["matInput",""],["placeholder","Override"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==i.Pb(t,87)._handleKeydown(n)&&l),"focus"===e&&(l=!1!==i.Pb(t,87)._onFocus()&&l),"blur"===e&&(l=!1!==i.Pb(t,87)._onBlur()&&l),l}),S.b,S.a)),i.Cb(84,671744,null,0,w.i,[[3,w.c],[8,null],[8,null],[8,null],[2,w.z]],{name:[0,"name"]},null),i.Tb(2048,null,w.p,null,[w.i]),i.Cb(86,16384,null,0,w.q,[[4,w.p]],null,null),i.Cb(87,2080768,null,3,k.c,[M.e,i.j,i.G,o.d,i.p,[2,g.b],[2,w.s],[2,w.k],[2,v.c],[6,w.p],[8,null],k.a,d.j],{placeholder:[0,"placeholder"]},null),i.Ub(603979776,32,{options:1}),i.Ub(603979776,33,{optionGroups:1}),i.Ub(603979776,34,{customTrigger:0}),i.Tb(2048,[[23,4],[24,4]],v.d,null,[k.c]),i.Tb(2048,null,o.l,null,[k.c]),(t()(),i.Db(93,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,94)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,94)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(94,8568832,[[32,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["Overwrite"])),(t()(),i.Db(96,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==i.Pb(t,97)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==i.Pb(t,97)._handleKeydown(n)&&l),l}),r.e,r.b)),i.Cb(97,8568832,[[32,4]],0,o.s,[i.p,i.j,[2,o.l],[2,o.r]],{value:[0,"value"]},null),(t()(),i.Wb(-1,0,["If empty"])),(t()(),i.Db(99,0,null,null,2,"div",[["class","import-csv-fields"]],null,null,null,null,null)),(t()(),i.sb(16777216,null,null,1,null,Ur)),i.Cb(101,278528,null,0,y.m,[i.Y,i.U,i.y],{ngForOf:[0,"ngForOf"]},null),(t()(),i.sb(16777216,null,null,1,null,Br)),i.Cb(103,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.sb(16777216,null,null,1,null,zr)),i.Cb(105,16384,null,0,y.n,[i.Y,i.U],{ngIf:[0,"ngIf"]},null),(t()(),i.Db(106,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,u.b,u.a)),i.Cb(107,180224,null,0,c.b,[i.p,d.h,[2,h.a]],{color:[0,"color"]},null),(t()(),i.Wb(-1,0,["Import"]))],(function(t,e){var n=e.component;t(e,18,0,""!=n.progressRequest,n.tableName),t(e,24,0,n.allTables),t(e,27,0,"export"==n.progressRequest),t(e,29,0,"warn"),t(e,32,0,"document"),t(e,37,0,n.uploadForm),t(e,44,0,"file"),t(e,48,0,"outline"),t(e,64,0,"delimiter"),t(e,67,0,"Del","text"),t(e,70,0,"outline"),t(e,84,0,"override"),t(e,87,0,"Override"),t(e,94,0,!0),t(e,97,0,!1),t(e,101,0,n.getFieldsForm().controls),t(e,103,0,"import"==n.progressRequest),t(e,105,0,n.importReponse),t(e,107,0,"warn")}),(function(t,e){t(e,2,1,["standard"==i.Pb(e,3).appearance,"fill"==i.Pb(e,3).appearance,"outline"==i.Pb(e,3).appearance,"legacy"==i.Pb(e,3).appearance,i.Pb(e,3)._control.errorState,i.Pb(e,3)._canLabelFloat,i.Pb(e,3)._shouldLabelFloat(),i.Pb(e,3)._hasFloatingLabel(),i.Pb(e,3)._hideControlPlaceholder(),i.Pb(e,3)._control.disabled,i.Pb(e,3)._control.autofilled,i.Pb(e,3)._control.focused,"accent"==i.Pb(e,3).color,"warn"==i.Pb(e,3).color,i.Pb(e,3)._shouldForward("untouched"),i.Pb(e,3)._shouldForward("touched"),i.Pb(e,3)._shouldForward("pristine"),i.Pb(e,3)._shouldForward("dirty"),i.Pb(e,3)._shouldForward("valid"),i.Pb(e,3)._shouldForward("invalid"),i.Pb(e,3)._shouldForward("pending"),!i.Pb(e,3)._animationsEnabled]),t(e,16,1,[i.Pb(e,18).id,i.Pb(e,18).tabIndex,i.Pb(e,18)._getAriaLabel(),i.Pb(e,18)._getAriaLabelledby(),i.Pb(e,18).required.toString(),i.Pb(e,18).disabled.toString(),i.Pb(e,18).errorState,i.Pb(e,18).panelOpen?i.Pb(e,18)._optionIds:null,i.Pb(e,18).multiple,i.Pb(e,18)._ariaDescribedby||null,i.Pb(e,18)._getAriaActiveDescendant(),i.Pb(e,18).disabled,i.Pb(e,18).errorState,i.Pb(e,18).required,i.Pb(e,18).empty]),t(e,28,0,i.Pb(e,29).disabled||null,"NoopAnimations"===i.Pb(e,29)._animationMode),t(e,35,0,i.Pb(e,39).ngClassUntouched,i.Pb(e,39).ngClassTouched,i.Pb(e,39).ngClassPristine,i.Pb(e,39).ngClassDirty,i.Pb(e,39).ngClassValid,i.Pb(e,39).ngClassInvalid,i.Pb(e,39).ngClassPending),t(e,41,0,i.Pb(e,46).ngClassUntouched,i.Pb(e,46).ngClassTouched,i.Pb(e,46).ngClassPristine,i.Pb(e,46).ngClassDirty,i.Pb(e,46).ngClassValid,i.Pb(e,46).ngClassInvalid,i.Pb(e,46).ngClassPending),t(e,47,1,["standard"==i.Pb(e,48).appearance,"fill"==i.Pb(e,48).appearance,"outline"==i.Pb(e,48).appearance,"legacy"==i.Pb(e,48).appearance,i.Pb(e,48)._control.errorState,i.Pb(e,48)._canLabelFloat,i.Pb(e,48)._shouldLabelFloat(),i.Pb(e,48)._hasFloatingLabel(),i.Pb(e,48)._hideControlPlaceholder(),i.Pb(e,48)._control.disabled,i.Pb(e,48)._control.autofilled,i.Pb(e,48)._control.focused,"accent"==i.Pb(e,48).color,"warn"==i.Pb(e,48).color,i.Pb(e,48)._shouldForward("untouched"),i.Pb(e,48)._shouldForward("touched"),i.Pb(e,48)._shouldForward("pristine"),i.Pb(e,48)._shouldForward("dirty"),i.Pb(e,48)._shouldForward("valid"),i.Pb(e,48)._shouldForward("invalid"),i.Pb(e,48)._shouldForward("pending"),!i.Pb(e,48)._animationsEnabled]),t(e,61,1,[i.Pb(e,66).ngClassUntouched,i.Pb(e,66).ngClassTouched,i.Pb(e,66).ngClassPristine,i.Pb(e,66).ngClassDirty,i.Pb(e,66).ngClassValid,i.Pb(e,66).ngClassInvalid,i.Pb(e,66).ngClassPending,i.Pb(e,67)._isServer,i.Pb(e,67).id,i.Pb(e,67).placeholder,i.Pb(e,67).disabled,i.Pb(e,67).required,i.Pb(e,67).readonly&&!i.Pb(e,67)._isNativeSelect||null,i.Pb(e,67)._ariaDescribedby||null,i.Pb(e,67).errorState,i.Pb(e,67).required.toString()]),t(e,69,1,["standard"==i.Pb(e,70).appearance,"fill"==i.Pb(e,70).appearance,"outline"==i.Pb(e,70).appearance,"legacy"==i.Pb(e,70).appearance,i.Pb(e,70)._control.errorState,i.Pb(e,70)._canLabelFloat,i.Pb(e,70)._shouldLabelFloat(),i.Pb(e,70)._hasFloatingLabel(),i.Pb(e,70)._hideControlPlaceholder(),i.Pb(e,70)._control.disabled,i.Pb(e,70)._control.autofilled,i.Pb(e,70)._control.focused,"accent"==i.Pb(e,70).color,"warn"==i.Pb(e,70).color,i.Pb(e,70)._shouldForward("untouched"),i.Pb(e,70)._shouldForward("touched"),i.Pb(e,70)._shouldForward("pristine"),i.Pb(e,70)._shouldForward("dirty"),i.Pb(e,70)._shouldForward("valid"),i.Pb(e,70)._shouldForward("invalid"),i.Pb(e,70)._shouldForward("pending"),!i.Pb(e,70)._animationsEnabled]),t(e,83,1,[i.Pb(e,86).ngClassUntouched,i.Pb(e,86).ngClassTouched,i.Pb(e,86).ngClassPristine,i.Pb(e,86).ngClassDirty,i.Pb(e,86).ngClassValid,i.Pb(e,86).ngClassInvalid,i.Pb(e,86).ngClassPending,i.Pb(e,87).id,i.Pb(e,87).tabIndex,i.Pb(e,87)._getAriaLabel(),i.Pb(e,87)._getAriaLabelledby(),i.Pb(e,87).required.toString(),i.Pb(e,87).disabled.toString(),i.Pb(e,87).errorState,i.Pb(e,87).panelOpen?i.Pb(e,87)._optionIds:null,i.Pb(e,87).multiple,i.Pb(e,87)._ariaDescribedby||null,i.Pb(e,87)._getAriaActiveDescendant(),i.Pb(e,87).disabled,i.Pb(e,87).errorState,i.Pb(e,87).required,i.Pb(e,87).empty]),t(e,93,0,i.Pb(e,94)._getTabIndex(),i.Pb(e,94).selected,i.Pb(e,94).multiple,i.Pb(e,94).active,i.Pb(e,94).id,i.Pb(e,94)._getAriaSelected(),i.Pb(e,94).disabled.toString(),i.Pb(e,94).disabled),t(e,96,0,i.Pb(e,97)._getTabIndex(),i.Pb(e,97).selected,i.Pb(e,97).multiple,i.Pb(e,97).active,i.Pb(e,97).id,i.Pb(e,97)._getAriaSelected(),i.Pb(e,97).disabled.toString(),i.Pb(e,97).disabled),t(e,106,0,i.Pb(e,107).disabled||null,"NoopAnimations"===i.Pb(e,107)._animationMode)}))}var Hr=n("Mc5n"),Vr=n("Rlre"),qr=n("rWV4"),Wr=n("fQr7");n.d(e,"a",(function(){return eo}));var $r=i.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}#close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}"]],data:{}});function Xr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"edition-db-dialog-database",[],null,null,null,Ni,ht)),i.Cb(1,4440064,null,0,et,[nt.a,lt.a,it.a,rt.a,ot.a,at.a,st.a,ut.a,ct.a,dt.a,Q.a,Z.a,X.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Kr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"edition-db-dialog-plan-vol",[],null,null,null,ar,qi)),i.Cb(1,114688,null,0,Gi,[w.f,Hi.a,Vi.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Jr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"vehicle-log",[],null,null,null,Er,pr)),i.Cb(1,114688,null,0,dr,[hr.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Qr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"import-export-csv",[],null,null,null,Gr,Rr)),i.Cb(1,114688,null,0,jr,[w.f,ot.a,nt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function Zr(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"ion-icon",[["id","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),p.y,p.g)),i.Cb(1,49152,null,0,f.A,[i.j,i.p,i.G],{name:[0,"name"]},null),(t()(),i.Db(2,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","db-edit"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),i.Cb(3,4866048,null,3,Hr.c,[i.p,[3,Hr.b],y.d,i.G,i.Y,Hr.a,[2,g.b],Hr.g,i.j],{rootElementSelector:[0,"rootElementSelector"]},null),i.Ub(603979776,1,{_handles:1}),i.Ub(603979776,2,{_previewTemplate:0}),i.Ub(603979776,3,{_placeholderTemplate:0}),i.Tb(2048,null,Hr.l,null,[Hr.c]),i.Cb(8,147456,[[1,4]],0,Hr.d,[i.p,[2,Hr.l]],null,null),i.Cb(9,81920,null,0,L.m,[[2,L.l],i.p,L.e],{id:[0,"id"]},null),(t()(),i.Wb(-1,null,["DATABASE EDITION"])),(t()(),i.Db(11,0,null,null,26,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,Vr.c,Vr.b)),i.Cb(12,3325952,null,1,qr.g,[i.p,i.j,[2,qr.a],[2,h.a]],null,null),i.Ub(603979776,4,{_tabs:1}),(t()(),i.Db(14,16777216,null,null,5,"mat-tab",[["label","Edit database"]],null,null,null,Vr.d,Vr.a)),i.Cb(15,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,5,{templateLabel:0}),i.Ub(335544320,6,{_explicitContent:0}),(t()(),i.sb(0,[[6,2]],0,1,null,Xr)),i.Cb(19,16384,null,0,qr.f,[i.U],null,null),(t()(),i.Db(20,16777216,null,null,5,"mat-tab",[["label","Upload flight plans"]],null,null,null,Vr.d,Vr.a)),i.Cb(21,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,7,{templateLabel:0}),i.Ub(335544320,8,{_explicitContent:0}),(t()(),i.sb(0,[[8,2]],0,1,null,Kr)),i.Cb(25,16384,null,0,qr.f,[i.U],null,null),(t()(),i.Db(26,16777216,null,null,5,"mat-tab",[["label","Vehicle logs"]],null,null,null,Vr.d,Vr.a)),i.Cb(27,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,9,{templateLabel:0}),i.Ub(335544320,10,{_explicitContent:0}),(t()(),i.sb(0,[[10,2]],0,1,null,Jr)),i.Cb(31,16384,null,0,qr.f,[i.U],null,null),(t()(),i.Db(32,16777216,null,null,5,"mat-tab",[["label","Import / Export"]],null,null,null,Vr.d,Vr.a)),i.Cb(33,770048,[[4,4]],2,qr.c,[i.Y],{textLabel:[0,"textLabel"]},null),i.Ub(603979776,11,{templateLabel:0}),i.Ub(335544320,12,{_explicitContent:0}),(t()(),i.sb(0,[[12,2]],0,1,null,Qr)),i.Cb(37,16384,null,0,qr.f,[i.U],null,null)],(function(t,e){t(e,1,0,"close"),t(e,3,0,".cdk-overlay-pane"),t(e,9,0,"db-edit"),t(e,15,0,"Edit database"),t(e,21,0,"Upload flight plans"),t(e,27,0,"Vehicle logs"),t(e,33,0,"Import / Export")}),(function(t,e){t(e,2,0,i.Pb(e,3).disabled,i.Pb(e,3)._dragRef.isDragging(),i.Pb(e,9).id),t(e,11,0,i.Pb(e,12).dynamicHeight,"below"===i.Pb(e,12).headerPosition)}))}function to(t){return i.Yb(0,[(t()(),i.Db(0,0,null,null,1,"edition-db-dialog",[],null,null,null,Zr,$r)),i.Cb(1,49152,null,0,Wr.a,[L.l],null,null)],null,null)}var eo=i.zb("edition-db-dialog",Wr.a,to,{},{},[])},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),l=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"30zj":function(t,e,n){"use strict";e.a={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source"}},"33Yk":function(t,e,n){var l,i,r;i=[n("d5dl"),n("rvMw"),n("Vq53"),n("N14p"),n("UJLV")],void 0===(r="function"==typeof(l=function(t,e,n,l,i){"use strict";function r(t){var l=n(t);return e(l)}function o(e){var l,o;return l=n(e),o=r(e),l.zoneLetter<"N"&&(o.northing-=t.NORTHING_OFFSET),i.toLatLong(o.northing,o.easting,l.zoneNumber)}return e=e(t),n=n(t),{toUtm:r,toLatLong:o,isUsng:l=l(t),getConverter:function(t){var e;switch(t.toLowerCase()){case"utm":e=r;break;case"latlong":e=o}return e},parseUsng:n}})?l.apply(e,i):l)||(t.exports=r)},"3Cew":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("Mc5n"),a=n("SVse"),s=n("IP0z"),u=n("s6ns"),c=n("NvT6"),d=n("W5yJ"),h=n("/HVE"),p=n("omvX"),f=n("6UMx"),b=n("Q+lL"),m=n("dJrM"),g=n("HsOI"),_=n("Xd0L"),y=n("ZwOa"),A=n("s7LF"),v=n("oapL"),C=n("b1+6"),w=n("OIZN"),P=n("xgIS"),x=n("Kj3r"),S=n("/uUt"),k=n("vkgz"),M=(n("G0WM"),n("oeKZ"));class O{constructor(t,e){this.keycloakService=t,this.notificationService=e,this.selectNotif=new l.r,this.pager={pageSize:25,pageIndex:0,lenght:0}}ngOnInit(){this.getNotifications()}ngAfterViewInit(){Object(P.a)(this.filter.nativeElement,"keyup").pipe(Object(x.a)(300),Object(S.a)(),Object(k.a)(t=>{this.getNotifications()})).subscribe()}changePage(t){this.pager.pageIndex=t.pageIndex,this.getNotifications()}getNotifications(){const t={page:this.pager.pageIndex+1,limit:this.pager.pageSize,sort:["createdAt,DESC"],join:["type","type.userListening||id"],filter:["type.userListening.id||eq||"+this.keycloakService.client().subject]};this.filter.nativeElement.value&&(t.or=["type.name||cont||"+this.filter.nativeElement.value,"aircraftIcao||cont||"+this.filter.nativeElement.value]),this.notificationService.getManyBaseNotificationControllerNotification(t).subscribe(t=>{this.notifications=t.data,this.pager.lenght=t.total})}goToNotif(t){this.selectNotif.emit(t)}}var D=n("Vgg8"),T=l.Bb({encapsulation:0,styles:[[".notifications-filter[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between} .mat-list-item.red{background-color:#ffd0c6} .mat-list-item-content{border-bottom:1px solid #ddd} .mat-list-item-content .notification-card{display:flex;justify-content:space-between;align-items:center;width:100%} .mat-list-item-content .notification-card .notification-card-main{display:flex;align-items:center} .mat-list-item-content .notification-card .notification-card-main .pastil-color{height:25px;width:25px;border-radius:50%;margin-right:10px} .mat-list-item-content .notification-card .notification-card-main .notification-card-title h5{margin:0;color:var(--ion-color-primary)} .mat-list-item-content .notification-card .notification-card-main .notification-card-title p{margin:0;color:#666} .mat-list-item-content .notification-card .notification-card-status{display:flex} .mat-list-item-content .notification-card .notification-card-status p{margin:2px} .mat-list-item-content .notification-card .notification-card-status .point-color{height:5px;width:5px;border-radius:50%} .mat-list-item-content .notification-card .notification-card-status .point-green{background-color:green} .mat-list-item-content .notification-card .notification-card-status .point-red{background-color:red}"]],data:{}});function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,c.c,c.a)),l.Cb(2,114688,null,0,d.b,[l.p,h.a,[2,a.d],[2,p.a],d.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-green"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["En cours"]))],null,null)}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-red"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Fini"]))],null,null)}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToNotif(t.context.$implicit)&&l),l}),f.d,f.b)),l.Cb(1,1228800,null,3,b.b,[l.p,l.j,[2,b.e],[2,b.a]],null,null),l.Ub(603979776,12,{_lines:1}),l.Ub(603979776,13,{_avatar:0}),l.Ub(603979776,14,{_icon:0}),(t()(),l.Db(5,0,null,2,15,"div",[["class","notification-card"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,9,"div",[["class","notification-card-main"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(9,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(10,{"background-color":0}),(t()(),l.Db(11,0,null,null,4,"div",[["class","notification-card-title"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(13,null,[" "," "])),(t()(),l.Db(14,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(15,null,[" "," "])),(t()(),l.Db(16,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,I)),l.Cb(18,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=t(e,10,0,e.context.$implicit.type.color);t(e,9,0,n),t(e,18,0,!e.context.$implicit.endAt),t(e,20,0,e.context.$implicit.endAt)}),(function(t,e){t(e,0,0,l.Pb(e,1)._avatar||l.Pb(e,1)._icon,l.Pb(e,1)._avatar||l.Pb(e,1)._icon),t(e,13,0,e.context.$implicit.type.name),t(e,15,0,e.context.$implicit.aircraftIcao)}))}function R(t){return l.Yb(0,[l.Ub(402653184,1,{filter:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,18,"div",[["class","notifications-filter"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(4,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(14,0,[[1,0],["filter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==l.Pb(t,15)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,15)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,15)._onInput()&&i),i}),null,null)),l.Cb(15,999424,null,0,y.b,[l.p,h.a,[8,null],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],g.d,null,[y.b]),(t()(),l.Db(17,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.getNotifications()&&l),l}),i.u,i.c)),l.Cb(18,49152,null,0,r.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(19,0,null,0,1,"ion-icon",[["name","refresh"]],null,null,null,i.y,i.g)),l.Cb(20,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(21,0,null,null,5,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,f.f,f.c)),l.Cb(22,704512,null,0,b.e,[],null,null),(t()(),l.sb(16777216,null,0,1,null,E)),l.Cb(24,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,j)),l.Cb(26,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,[[null,"page"]],(function(t,e,n){var l=!0;return"page"===e&&(l=!1!==t.component.changePage(n)&&l),l}),C.b,C.a)),l.Cb(28,245760,[[2,4]],0,w.b,[w.c,l.j],{pageIndex:[0,"pageIndex"],length:[1,"length"],pageSize:[2,"pageSize"],hidePageSize:[3,"hidePageSize"]},{page:"page"})],(function(t,e){var n=e.component;t(e,4,0,"outline"),t(e,15,0,"Search"),t(e,18,0,"primary"),t(e,20,0,"refresh"),t(e,24,0,!n.notifications),t(e,26,0,n.notifications),t(e,28,0,n.pager.pageIndex,n.pager.lenght,n.pager.pageSize,!0)}),(function(t,e){t(e,3,1,["standard"==l.Pb(e,4).appearance,"fill"==l.Pb(e,4).appearance,"outline"==l.Pb(e,4).appearance,"legacy"==l.Pb(e,4).appearance,l.Pb(e,4)._control.errorState,l.Pb(e,4)._canLabelFloat,l.Pb(e,4)._shouldLabelFloat(),l.Pb(e,4)._hasFloatingLabel(),l.Pb(e,4)._hideControlPlaceholder(),l.Pb(e,4)._control.disabled,l.Pb(e,4)._control.autofilled,l.Pb(e,4)._control.focused,"accent"==l.Pb(e,4).color,"warn"==l.Pb(e,4).color,l.Pb(e,4)._shouldForward("untouched"),l.Pb(e,4)._shouldForward("touched"),l.Pb(e,4)._shouldForward("pristine"),l.Pb(e,4)._shouldForward("dirty"),l.Pb(e,4)._shouldForward("valid"),l.Pb(e,4)._shouldForward("invalid"),l.Pb(e,4)._shouldForward("pending"),!l.Pb(e,4)._animationsEnabled]),t(e,14,0,l.Pb(e,15)._isServer,l.Pb(e,15).id,l.Pb(e,15).placeholder,l.Pb(e,15).disabled,l.Pb(e,15).required,l.Pb(e,15).readonly&&!l.Pb(e,15)._isNativeSelect||null,l.Pb(e,15)._ariaDescribedby||null,l.Pb(e,15).errorState,l.Pb(e,15).required.toString())}))}var F=n("8rEH"),N=n("zQui"),Y=n("Z5h4"),U=n("r0V8"),B=n("5GAg"),z=n("bujt"),G=n("Fwaw"),H=n("gavF"),V=n("QQfA"),q=n("2Q+G"),W=n("pIm3"),$=n("Azqq"),X=n("JjoW"),K=n("hOhj"),J=n("MlvX"),Q=n("/Co4"),Z=n("Rn7m"),tt=n("JX91"),et=n("eIep"),nt=n("lJxs"),lt=n("JIr8"),it=n("LRne");class rt{constructor(t,e){this.squawkService=t,this.notificationTypeSquawkService=e,this.refreshNotificationType=new l.r,this.squawkAutoComplete$=null,this.squawkAutoCompleteControl=new A.g,this.displayedColumns=["squawk","operation"],this.dataSource=new F.l}ngOnInit(){if(this.notificationTypeSquawk.squawkIds.length){const t={filter:["id||in||"+this.notificationTypeSquawk.squawkIds.join(",")]};this.squawkService.getManyBaseSquawkControllerSquawk(t).subscribe(t=>{console.log(t),this.dataSource.data=t.data})}this.squawkForm=new A.j({squawk:this.squawkAutoCompleteControl})}ngAfterViewInit(){this.squawkAutoComplete$=this.squawkAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupSquawk(t):Object(it.a)(null)))}lookupSquawk(t){return this.squawkService.getManyBaseSquawkControllerSquawk({filter:["squawk||cont||"+t],limit:10}).pipe(Object(nt.a)(t=>t.data),Object(lt.a)(t=>Object(it.a)(null)))}displaySquawk(t){return t?t.squawk:""}submitSquawk(){const t=this.squawkForm.value.squawk;if(t.id&&!this.notificationTypeSquawk.squawkIds.includes(t.id)){const e={id:this.notificationTypeSquawk.id,body:{squawks:this.notificationTypeSquawk.squawkIds.concat([t.id]).map(t=>({id:t}))}};this.notificationTypeSquawkService.updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(e).subscribe(e=>{this.notificationTypeSquawk=e,this.refreshNotificationType.emit(this.notificationTypeSquawk),this.dataSource.data=this.dataSource.data.concat([t])})}}deleteSquawk(t){const e={id:this.notificationTypeSquawk.id,body:{squawks:this.notificationTypeSquawk.squawkIds.filter(e=>e!==t.id).map(t=>({id:t}))}};this.notificationTypeSquawkService.updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(e).subscribe(e=>{this.notificationTypeSquawk=e,this.refreshNotificationType.emit(this.notificationTypeSquawk),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}}var ot=n("AjEG"),at=n("nmM0"),st=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.squawk)}))}function ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Squawk "]))],null,null)}function dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.squawk)}))}function ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteSquawk(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function mt(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitSquawk()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Squawk"],["title","Squawk"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,17)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,18)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,18)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,18)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,23)._onInput()&&i),i}),null,null)),l.Cb(17,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(18,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(20,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(25,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(27,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,ut)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(33,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(34,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(36,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(38,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(43,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(45,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,ct)),l.Cb(51,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,dt)),l.Cb(54,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(56,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(58,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,ht)),l.Cb(64,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,pt)),l.Cb(67,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,ft)),l.Cb(70,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,bt)),l.Cb(73,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,2,0,n.squawkForm),t(e,6,0,"outline"),t(e,18,0,l.Pb(e,27)),t(e,20,0,n.squawkAutoCompleteControl),t(e,23,0,"Squawk","text"),t(e,27,0,n.displaySquawk,""),t(e,31,0,l.Xb(e,31,0,l.Pb(e,32).transform(n.squawkAutoComplete$))),t(e,34,0,"primary"),t(e,38,0,n.dataSource),t(e,45,0,"squawk"),t(e,58,0,"operation"),t(e,70,0,n.displayedColumns),t(e,73,0,n.displayedColumns)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,1,[l.Pb(e,18).autocompleteAttribute,l.Pb(e,18).autocompleteDisabled?null:"combobox",l.Pb(e,18).autocompleteDisabled?null:"list",l.Pb(e,18).panelOpen&&l.Pb(e,18).activeOption?l.Pb(e,18).activeOption.id:null,l.Pb(e,18).autocompleteDisabled?null:l.Pb(e,18).panelOpen.toString(),l.Pb(e,18).autocompleteDisabled||!l.Pb(e,18).panelOpen||null==l.Pb(e,18).autocomplete?null:l.Pb(e,18).autocomplete.id,!l.Pb(e,18).autocompleteDisabled,l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23)._isServer,l.Pb(e,23).id,l.Pb(e,23).placeholder,l.Pb(e,23).disabled,l.Pb(e,23).required,l.Pb(e,23).readonly&&!l.Pb(e,23)._isNativeSelect||null,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23).errorState,l.Pb(e,23).required.toString()]),t(e,33,0,l.Pb(e,34).disabled||null,"NoopAnimations"===l.Pb(e,34)._animationMode)}))}var gt=n("lT8R"),_t=(n("cUpR"),l.Bb({encapsulation:2,styles:[".mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:0;vertical-align:middle}.mat-slider.mat-slider-sliding:not(.mat-slider-disabled),.mat-slider:not(.mat-slider-disabled):active{cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(.7);transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),border-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform .4s cubic-bezier(.25,.8,.25,1),border-radius .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}@media (-ms-high-contrast:active){.mat-slider-thumb-label{outline:solid 1px}}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-sliding .mat-slider-thumb-container,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-track-fill{transition-duration:0s}.mat-slider-has-ticks .mat-slider-wrapper::after{content:'';position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}@media (-ms-high-contrast:active){.mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}@media (-ms-high-contrast:active){.mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-track-fill{transition:none}"],data:{}}));function yt(t){return l.Yb(2,[l.Ub(671088640,1,{_sliderWrapper:0}),(t()(),l.Db(1,0,[[1,0],["sliderWrapper",1]],null,21,"div",[["class","mat-slider-wrapper"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,6,"div",[["class","mat-slider-track-wrapper"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"div",[["class","mat-slider-track-background"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(5,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(6,0,null,null,2,"div",[["class","mat-slider-track-fill"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(8,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(9,0,null,null,5,"div",[["class","mat-slider-ticks-container"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(11,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(12,0,null,null,2,"div",[["class","mat-slider-ticks"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(14,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(15,0,null,null,7,"div",[["class","mat-slider-thumb-container"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(17,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(18,0,null,null,0,"div",[["class","mat-slider-focus-ring"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,0,"div",[["class","mat-slider-thumb"]],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,2,"div",[["class","mat-slider-thumb-label"]],null,null,null,null,null)),(t()(),l.Db(21,0,null,null,1,"span",[["class","mat-slider-thumb-label-text"]],null,null,null,null,null)),(t()(),l.Wb(22,null,["",""]))],(function(t,e){var n=e.component;t(e,5,0,n._trackBackgroundStyles),t(e,8,0,n._trackFillStyles),t(e,11,0,n._ticksContainerStyles),t(e,14,0,n._ticksStyles),t(e,17,0,n._thumbContainerStyles)}),(function(t,e){t(e,22,0,e.component.displayValue)}))}class At{constructor(t,e,n){this.collectionService=t,this.notificationTypeProhibitedAreaService=e,this.notificationTypePredictionProhibitedAreaService=n,this.refreshNotificationType=new l.r,this.collectionAutoComplete$=null,this.collectionAutoCompleteControl=new A.g,this.displayedColumns=["name","operation"],this.dataSource=new F.l}ngOnInit(){if("prediction_prohibited_area"===this.notificationTypeProhibitedArea.type&&(this.pourcentForm=new A.j({pourcentage:new A.g(this.notificationTypeProhibitedArea?this.notificationTypeProhibitedArea.pourcentage:.8)})),this.notificationTypeProhibitedArea.collectionIds.length){const t={filter:["id||in||"+this.notificationTypeProhibitedArea.collectionIds.join(",")]};this.collectionService.getManyBaseCollectionControllerCollection(t).subscribe(t=>{console.log("COLLECTION",t),this.dataSource.data=t})}this.collectionForm=new A.j({collection:this.collectionAutoCompleteControl})}ngAfterViewInit(){this.collectionAutoComplete$=this.collectionAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupCollection(t):Object(it.a)(null)))}lookupCollection(t){return this.collectionService.getManyBaseCollectionControllerCollection({filter:["name||cont||"+t],limit:10}).pipe(Object(lt.a)(t=>Object(it.a)(null)))}displayCollection(t){return console.log(t),t?t.name:""}submitCollection(){const t=this.collectionForm.value.collection;if(t.id&&!this.notificationTypeProhibitedArea.collectionIds.includes(t.id)){const e={id:this.notificationTypeProhibitedArea.id,body:{collections:this.notificationTypeProhibitedArea.collectionIds.concat([t.id]).map(t=>({id:t}))}};"prohibited_area"===this.notificationTypeProhibitedArea.type?this.notificationTypeProhibitedAreaService.updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.concat([t])}):"prediction_prohibited_area"===this.notificationTypeProhibitedArea.type&&this.notificationTypePredictionProhibitedAreaService.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.concat([t])})}}deleteCollection(t){const e={id:this.notificationTypeProhibitedArea.id,body:{collections:this.notificationTypeProhibitedArea.collectionIds.filter(e=>e!==t.id).map(t=>({id:t}))}};"prohibited_area"===this.notificationTypeProhibitedArea.type?this.notificationTypeProhibitedAreaService.updateOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)}):"prediction_prohibited_area"===this.notificationTypeProhibitedArea.type&&this.notificationTypePredictionProhibitedAreaService.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(e).subscribe(e=>{this.notificationTypeProhibitedArea=e,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}submitPourcentage(){const t={id:this.notificationTypeProhibitedArea.id,body:{pourcentage:this.pourcentForm.value.pourcentage}};console.log(t),this.notificationTypePredictionProhibitedAreaService.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t).subscribe(t=>{console.log("COUCOU",t),this.notificationTypeProhibitedArea=t,this.refreshNotificationType.emit(this.notificationTypeProhibitedArea)})}}var vt=n("X0qu"),Ct=n("0Ceg"),wt=n("CJuc"),Pt=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}.slider-container[_ngcontent-%COMP%]{width:200px}.slider-container[_ngcontent-%COMP%] .mat-slider-horizontal[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitPourcentage()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,10,"div",[["class","slider-container"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,2,"mat-label",[],null,null,null,null,null)),l.Cb(7,16384,null,0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Pourcentage"])),(t()(),l.Db(9,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,5,"mat-slider",[["class","mat-slider"],["formControlName","pourcentage"],["max","1"],["min","0"],["role","slider"],["step","0.05"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-invert-mouse-coords",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"],[null,"selectstart"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,11)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,11)._onBlur()&&i),"mousedown"===e&&(i=!1!==l.Pb(t,11)._onMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,11)._onKeydown(n)&&i),"keyup"===e&&(i=!1!==l.Pb(t,11)._onKeyup()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,11)._onMouseenter()&&i),"slide"===e&&(i=!1!==l.Pb(t,11)._onSlide(n)&&i),"slideend"===e&&(i=!1!==l.Pb(t,11)._onSlideEnd()&&i),"slidestart"===e&&(i=!1!==l.Pb(t,11)._onSlideStart(n)&&i),"selectstart"===e&&(i=!1!==n.preventDefault()&&i),i}),yt,_t)),l.Cb(11,245760,null,0,gt.a,[l.p,B.h,l.j,[2,s.b],[8,null],[2,p.a]],{max:[0,"max"],min:[1,"min"],step:[2,"step"]},null),l.Tb(1024,null,A.o,(function(t){return[t]}),[gt.a]),l.Cb(13,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(15,16384,null,0,A.q,[[4,A.p]],null,null),(t()(),l.Db(16,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(17,180224,null,0,G.b,[l.p,B.h,[2,p.a]],null,null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){t(e,2,0,e.component.pourcentForm),t(e,11,0,"1","0","0.05"),t(e,13,0,"pourcentage")}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,10,1,[l.Pb(e,11).tabIndex,l.Pb(e,11).disabled,l.Pb(e,11).max,l.Pb(e,11).min,l.Pb(e,11).value,l.Pb(e,11).vertical?"vertical":"horizontal",l.Pb(e,11).disabled,l.Pb(e,11).tickInterval,!l.Pb(e,11).vertical,l.Pb(e,11)._invertAxis,l.Pb(e,11)._shouldInvertMouseCoords(),l.Pb(e,11)._isSliding,l.Pb(e,11).thumbLabel,l.Pb(e,11).vertical,l.Pb(e,11)._isMinValue,l.Pb(e,11).disabled||l.Pb(e,11)._isMinValue&&l.Pb(e,11)._thumbGap&&l.Pb(e,11)._invertAxis,"NoopAnimations"===l.Pb(e,11)._animationMode,l.Pb(e,15).ngClassUntouched,l.Pb(e,15).ngClassTouched,l.Pb(e,15).ngClassPristine,l.Pb(e,15).ngClassDirty,l.Pb(e,15).ngClassValid,l.Pb(e,15).ngClassInvalid,l.Pb(e,15).ngClassPending]),t(e,16,0,l.Pb(e,17).disabled||null,"NoopAnimations"===l.Pb(e,17)._animationMode)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Name "]))],null,null)}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteCollection(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function It(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,xt)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(2,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,4).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,4).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitCollection()&&i),i}),null,null)),l.Cb(3,16384,null,0,A.A,[],null,null),l.Cb(4,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(6,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(7,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(8,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(18,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Collection"],["title","collection"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,19)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,19).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,19)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,19)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,20)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,20)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,25)._onInput()&&i),i}),null,null)),l.Cb(19,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(20,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(22,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(24,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(25,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(27,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(29,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,St)),l.Cb(33,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(35,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(36,180224,null,0,G.b,[l.p,B.h,[2,p.a]],null,null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(38,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(40,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(45,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(47,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,kt)),l.Cb(53,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Mt)),l.Cb(56,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(58,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(60,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Ot)),l.Cb(66,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Dt)),l.Cb(69,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,Tt)),l.Cb(72,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(75,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,1,0,"prediction_prohibited_area"==n.notificationTypeProhibitedArea.type),t(e,4,0,n.collectionForm),t(e,8,0,"outline"),t(e,20,0,l.Pb(e,29)),t(e,22,0,n.collectionAutoCompleteControl),t(e,25,0,"Collection","text"),t(e,29,0,n.displayCollection,""),t(e,33,0,l.Xb(e,33,0,l.Pb(e,34).transform(n.collectionAutoComplete$))),t(e,40,0,n.dataSource),t(e,47,0,"name"),t(e,60,0,"operation"),t(e,72,0,n.displayedColumns),t(e,75,0,n.displayedColumns)}),(function(t,e){t(e,2,0,l.Pb(e,6).ngClassUntouched,l.Pb(e,6).ngClassTouched,l.Pb(e,6).ngClassPristine,l.Pb(e,6).ngClassDirty,l.Pb(e,6).ngClassValid,l.Pb(e,6).ngClassInvalid,l.Pb(e,6).ngClassPending),t(e,7,1,["standard"==l.Pb(e,8).appearance,"fill"==l.Pb(e,8).appearance,"outline"==l.Pb(e,8).appearance,"legacy"==l.Pb(e,8).appearance,l.Pb(e,8)._control.errorState,l.Pb(e,8)._canLabelFloat,l.Pb(e,8)._shouldLabelFloat(),l.Pb(e,8)._hasFloatingLabel(),l.Pb(e,8)._hideControlPlaceholder(),l.Pb(e,8)._control.disabled,l.Pb(e,8)._control.autofilled,l.Pb(e,8)._control.focused,"accent"==l.Pb(e,8).color,"warn"==l.Pb(e,8).color,l.Pb(e,8)._shouldForward("untouched"),l.Pb(e,8)._shouldForward("touched"),l.Pb(e,8)._shouldForward("pristine"),l.Pb(e,8)._shouldForward("dirty"),l.Pb(e,8)._shouldForward("valid"),l.Pb(e,8)._shouldForward("invalid"),l.Pb(e,8)._shouldForward("pending"),!l.Pb(e,8)._animationsEnabled]),t(e,18,1,[l.Pb(e,20).autocompleteAttribute,l.Pb(e,20).autocompleteDisabled?null:"combobox",l.Pb(e,20).autocompleteDisabled?null:"list",l.Pb(e,20).panelOpen&&l.Pb(e,20).activeOption?l.Pb(e,20).activeOption.id:null,l.Pb(e,20).autocompleteDisabled?null:l.Pb(e,20).panelOpen.toString(),l.Pb(e,20).autocompleteDisabled||!l.Pb(e,20).panelOpen||null==l.Pb(e,20).autocomplete?null:l.Pb(e,20).autocomplete.id,!l.Pb(e,20).autocompleteDisabled,l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25)._isServer,l.Pb(e,25).id,l.Pb(e,25).placeholder,l.Pb(e,25).disabled,l.Pb(e,25).required,l.Pb(e,25).readonly&&!l.Pb(e,25)._isNativeSelect||null,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25).errorState,l.Pb(e,25).required.toString()]),t(e,35,0,l.Pb(e,36).disabled||null,"NoopAnimations"===l.Pb(e,36)._animationMode)}))}class Lt{constructor(t){this.notificationTypeAltitudeVariationService=t,this.refreshNotificationType=new l.r}ngOnInit(){this.altitudeVariationForm=new A.j({operator:new A.g(this.notificationTypeAltitudeVariation?this.notificationTypeAltitudeVariation.operator:"<="),vsi:new A.g(this.notificationTypeAltitudeVariation?this.notificationTypeAltitudeVariation.vsi:-1e4)})}submitForm(){this.notificationTypeAltitudeVariationService.updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation({id:this.notificationTypeAltitudeVariation.id,body:{operator:this.altitudeVariationForm.value.operator,vsi:this.altitudeVariationForm.value.vsi}}).subscribe(t=>{this.notificationTypeAltitudeVariation=t,this.refreshNotificationType.emit(this.notificationTypeAltitudeVariation)})}}var jt=n("UrOv"),Rt=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function Ft(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,52,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitForm()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,32,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(17,16384,[[3,4],[4,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Operator"])),(t()(),l.Db(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,23)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._onBlur()&&i),i}),$.b,$.a)),l.Cb(20,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],null,null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],g.d,null,[X.c]),l.Tb(2048,null,_.l,null,[X.c]),(t()(),l.Db(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","=="]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,30)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,30)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(30,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Egale"])),(t()(),l.Db(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","<="]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,33)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,33)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(33,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Inferieur"])),(t()(),l.Db(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",">="]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,36)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,36)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(36,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Superieur"])),(t()(),l.Db(38,0,null,null,11,"div",[["class","slider-field"]],null,null,null,null,null)),(t()(),l.Db(39,0,null,null,1,"p",[["class","label"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VSI"])),(t()(),l.Db(41,0,null,null,8,"div",[["class","slider-input"]],null,null,null,null,null)),(t()(),l.Db(42,0,null,null,5,"mat-slider",[["class","mat-slider"],["formControlName","vsi"],["max","25000"],["min","-25000"],["role","slider"],["step","100"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-invert-mouse-coords",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"],[null,"selectstart"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,43)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,43)._onBlur()&&i),"mousedown"===e&&(i=!1!==l.Pb(t,43)._onMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,43)._onKeydown(n)&&i),"keyup"===e&&(i=!1!==l.Pb(t,43)._onKeyup()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,43)._onMouseenter()&&i),"slide"===e&&(i=!1!==l.Pb(t,43)._onSlide(n)&&i),"slideend"===e&&(i=!1!==l.Pb(t,43)._onSlideEnd()&&i),"slidestart"===e&&(i=!1!==l.Pb(t,43)._onSlideStart(n)&&i),"selectstart"===e&&(i=!1!==n.preventDefault()&&i),i}),yt,_t)),l.Cb(43,245760,null,0,gt.a,[l.p,B.h,l.j,[2,s.b],[8,null],[2,p.a]],{max:[0,"max"],min:[1,"min"],step:[2,"step"]},null),l.Tb(1024,null,A.o,(function(t){return[t]}),[gt.a]),l.Cb(45,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(47,16384,null,0,A.q,[[4,A.p]],null,null),(t()(),l.Db(48,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(49,null,[" "," Feets/min"])),(t()(),l.Db(50,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(51,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){t(e,2,0,e.component.altitudeVariationForm),t(e,6,0,"outline"),t(e,20,0,"operator"),t(e,23,0),t(e,30,0,"=="),t(e,33,0,"<="),t(e,36,0,">="),t(e,43,0,"25000","-25000","100"),t(e,45,0,"vsi"),t(e,51,0,"primary")}),(function(t,e){var n=e.component;t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,19,1,[l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23).id,l.Pb(e,23).tabIndex,l.Pb(e,23)._getAriaLabel(),l.Pb(e,23)._getAriaLabelledby(),l.Pb(e,23).required.toString(),l.Pb(e,23).disabled.toString(),l.Pb(e,23).errorState,l.Pb(e,23).panelOpen?l.Pb(e,23)._optionIds:null,l.Pb(e,23).multiple,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23)._getAriaActiveDescendant(),l.Pb(e,23).disabled,l.Pb(e,23).errorState,l.Pb(e,23).required,l.Pb(e,23).empty]),t(e,29,0,l.Pb(e,30)._getTabIndex(),l.Pb(e,30).selected,l.Pb(e,30).multiple,l.Pb(e,30).active,l.Pb(e,30).id,l.Pb(e,30)._getAriaSelected(),l.Pb(e,30).disabled.toString(),l.Pb(e,30).disabled),t(e,32,0,l.Pb(e,33)._getTabIndex(),l.Pb(e,33).selected,l.Pb(e,33).multiple,l.Pb(e,33).active,l.Pb(e,33).id,l.Pb(e,33)._getAriaSelected(),l.Pb(e,33).disabled.toString(),l.Pb(e,33).disabled),t(e,35,0,l.Pb(e,36)._getTabIndex(),l.Pb(e,36).selected,l.Pb(e,36).multiple,l.Pb(e,36).active,l.Pb(e,36).id,l.Pb(e,36)._getAriaSelected(),l.Pb(e,36).disabled.toString(),l.Pb(e,36).disabled),t(e,42,1,[l.Pb(e,43).tabIndex,l.Pb(e,43).disabled,l.Pb(e,43).max,l.Pb(e,43).min,l.Pb(e,43).value,l.Pb(e,43).vertical?"vertical":"horizontal",l.Pb(e,43).disabled,l.Pb(e,43).tickInterval,!l.Pb(e,43).vertical,l.Pb(e,43)._invertAxis,l.Pb(e,43)._shouldInvertMouseCoords(),l.Pb(e,43)._isSliding,l.Pb(e,43).thumbLabel,l.Pb(e,43).vertical,l.Pb(e,43)._isMinValue,l.Pb(e,43).disabled||l.Pb(e,43)._isMinValue&&l.Pb(e,43)._thumbGap&&l.Pb(e,43)._invertAxis,"NoopAnimations"===l.Pb(e,43)._animationMode,l.Pb(e,47).ngClassUntouched,l.Pb(e,47).ngClassTouched,l.Pb(e,47).ngClassPristine,l.Pb(e,47).ngClassDirty,l.Pb(e,47).ngClassValid,l.Pb(e,47).ngClassInvalid,l.Pb(e,47).ngClassPending]),t(e,49,0,n.altitudeVariationForm.value.vsi),t(e,50,0,l.Pb(e,51).disabled||null,"NoopAnimations"===l.Pb(e,51)._animationMode)}))}var Nt=n("Rlre"),Yt=n("rWV4"),Ut=n("v6R6"),Bt=n("0XyG"),zt=n("Py6u"),Gt=n("oQtH");class Ht{constructor(t,e,n){this.fb=t,this.fleetItemService=e,this.fleetService=n,this.ConfigForm=Gt.a.config.ConfigFleetItem,this.fleetItemForm=this.fb.group({fleetLogicalOperator:"",fleetItems:this.fb.array([])})}ngOnInit(){this.initComponent()}initComponent(){this.fleetItemService.getManyBaseFleetItemControllerFleetItem({filter:["fleetId||eq||"+this.fleetId]}).subscribe(t=>{t.data.map(t=>this.addFleetItemForm(t)),this.addFleetItemForm()}),this.fleetService.getOneBaseFleetControllerFleet({id:this.fleetId}).subscribe(t=>{this.fleet=t,this.fleetItemForm.controls.fleetLogicalOperator.setValue(t.logicalOperator)})}addFleetItemForm(t){const e=this.fleetItemForm.controls.fleetItems,n={id:t?t.id:"",field:t?t.field:"",operator:t?t.operator:"",value:t?t.value:""};!t||"mlat"!==t.field&&"military"!==t.field||(n.value="true"===t.value),e.insert(0,this.fb.group(n))}deleteFleetItemFrom(t){const e=this.fleetItemForm.controls.fleetItems,n=this.fleetItemForm.value.fleetItems[t];n.id&&this.fleetItemService.deleteOneBaseFleetItemControllerFleetItem({id:n.id}).subscribe(),e.removeAt(t)}submitFleetItem(){this.submitFleet(),this.fleetItemForm.value.fleetItems.forEach((t,e)=>{"mlat"!==t.field&&"military"!==t.field||(t.operator="eq",t.value=t.value?"true":"false"),t.field&&t.operator&&t.value&&(""===t.id?this.createFleetItem(t,e):this.updateFleetItem(t))})}submitFleet(){this.fleet.logicalOperator!==this.fleetItemForm.value.fleetLogicalOperator&&this.fleetService.updateOneBaseFleetControllerFleet({id:this.fleetId,body:{logicalOperator:this.fleetItemForm.value.fleetLogicalOperator}}).subscribe(t=>{})}createFleetItem(t,e){const n={body:{field:t.field,operator:t.operator,value:String(t.value),fleetId:this.fleetId}};this.fleetItemService.createOneBaseFleetItemControllerFleetItem(n).subscribe(t=>{this.fleetItemForm.value.fleetItems[e]=t})}updateFleetItem(t){const e={id:t.id,body:{field:t.field,operator:t.operator,value:String(t.value)}};this.fleetItemService.updateOneBaseFleetItemControllerFleetItem(e).subscribe(t=>{})}formFleetItems(){return this.fleetItemForm.get("fleetItems")}}var Vt=n("mTEX"),qt=l.Bb({encapsulation:0,styles:[[".form[_ngcontent-%COMP%]{padding:10px}.form[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .form[_ngcontent-%COMP%] .mat-form-field{width:25%}.form[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%]{width:50%;display:flex}.form[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:50%}.form[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .form[_ngcontent-%COMP%] .fleet-item-field[_ngcontent-%COMP%]{width:25%}.form[_ngcontent-%COMP%] .form-filter-logical-operator[_ngcontent-%COMP%]{padding:10px 0}.form[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:10px}.form[_ngcontent-%COMP%] .fleet-item-checkbox[_ngcontent-%COMP%]{display:flex;padding-right:40%}.form[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}"]],data:{}});function Wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function $t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function Xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[34,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function Kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,48,"div",[["class","fleet-item-value"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(2,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,25,{_controlNonStatic:0}),l.Ub(335544320,26,{_controlStatic:0}),l.Ub(603979776,27,{_labelChildNonStatic:0}),l.Ub(335544320,28,{_labelChildStatic:0}),l.Ub(603979776,29,{_placeholderChild:0}),l.Ub(603979776,30,{_errorChildren:1}),l.Ub(603979776,31,{_hintChildren:1}),l.Ub(603979776,32,{_prefixChildren:1}),l.Ub(603979776,33,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[27,4],[28,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,[" Operator "])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","operator"],["matInput",""],["placeholder","Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),i}),$.b,$.a)),l.Tb(6144,null,_.l,null,[X.c]),l.Cb(17,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(19,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(20,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,34,{options:1}),l.Ub(603979776,35,{optionGroups:1}),l.Ub(603979776,36,{customTrigger:0}),l.Tb(2048,[[25,4],[26,4]],g.d,null,[X.c]),(t()(),l.sb(16777216,null,1,1,null,Xt)),l.Cb(26,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(28,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,37,{_controlNonStatic:0}),l.Ub(335544320,38,{_controlStatic:0}),l.Ub(603979776,39,{_labelChildNonStatic:0}),l.Ub(335544320,40,{_labelChildStatic:0}),l.Ub(603979776,41,{_placeholderChild:0}),l.Ub(603979776,42,{_errorChildren:1}),l.Ub(603979776,43,{_hintChildren:1}),l.Ub(603979776,44,{_prefixChildren:1}),l.Ub(603979776,45,{_suffixChildren:1}),(t()(),l.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(39,16384,[[39,4],[40,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Value"])),(t()(),l.Db(41,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","value"],["matInput",""],["placeholder","Value"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,42)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,42).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,42)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,42)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,47)._onInput()&&i),i}),null,null)),l.Cb(42,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[A.d]),l.Cb(44,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(46,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(47,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[37,4],[38,4]],g.d,null,[y.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"operator"),t(e,20,0,"Operator"),t(e,26,0,n.ConfigForm.operators),t(e,28,0,"outline"),t(e,44,0,"value"),t(e,47,0,"Value","text")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,41,1,[l.Pb(e,46).ngClassUntouched,l.Pb(e,46).ngClassTouched,l.Pb(e,46).ngClassPristine,l.Pb(e,46).ngClassDirty,l.Pb(e,46).ngClassValid,l.Pb(e,46).ngClassInvalid,l.Pb(e,46).ngClassPending,l.Pb(e,47)._isServer,l.Pb(e,47).id,l.Pb(e,47).placeholder,l.Pb(e,47).disabled,l.Pb(e,47).required,l.Pb(e,47).readonly&&!l.Pb(e,47)._isNativeSelect||null,l.Pb(e,47)._ariaDescribedby||null,l.Pb(e,47).errorState,l.Pb(e,47).required.toString()])}))}function Jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-checkbox",[["class","fleet-item-checkbox mat-checkbox"],["formControlName","value"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Y.b,Y.a)),l.Cb(1,8568832,null,0,U.b,[l.p,l.j,B.h,l.G,[8,null],[2,U.a],[2,p.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[U.b]),l.Cb(3,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(5,16384,null,0,A.q,[[4,A.p]],null,null)],(function(t,e){t(e,3,0,"value")}),(function(t,e){t(e,0,1,[l.Pb(e,1).id,null,l.Pb(e,1).indeterminate,l.Pb(e,1).checked,l.Pb(e,1).disabled,"before"==l.Pb(e,1).labelPosition,"NoopAnimations"===l.Pb(e,1)._animationMode,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending])}))}function Qt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,40,"div",[["class","form-inline"],["formArrayName","fleetItems"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),l.Cb(1,212992,null,0,A.e,[[3,A.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,A.c,null,[A.e]),l.Cb(3,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(4,0,null,null,36,null,null,null,null,null,null,null)),l.Cb(5,212992,null,0,A.l,[[3,A.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,A.c,null,[A.l]),l.Cb(7,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(8,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","fleet-item-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(9,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,13,{_controlNonStatic:0}),l.Ub(335544320,14,{_controlStatic:0}),l.Ub(603979776,15,{_labelChildNonStatic:0}),l.Ub(335544320,16,{_labelChildStatic:0}),l.Ub(603979776,17,{_placeholderChild:0}),l.Ub(603979776,18,{_errorChildren:1}),l.Ub(603979776,19,{_hintChildren:1}),l.Ub(603979776,20,{_prefixChildren:1}),l.Ub(603979776,21,{_suffixChildren:1}),(t()(),l.Db(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(20,16384,[[15,4],[16,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Field"])),(t()(),l.Db(22,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","field"],["matInput",""],["placeholder","Field"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,27)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,27)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,27)._onBlur()&&i),i}),$.b,$.a)),l.Tb(6144,null,_.l,null,[X.c]),l.Cb(24,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(26,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(27,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,22,{options:1}),l.Ub(603979776,23,{optionGroups:1}),l.Ub(603979776,24,{customTrigger:0}),l.Tb(2048,[[13,4],[14,4]],g.d,null,[X.c]),(t()(),l.sb(16777216,null,1,1,null,$t)),l.Cb(33,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,Kt)),l.Cb(35,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["editBoolean",2]],null,0,null,Jt)),(t()(),l.Db(37,0,null,null,3,"button",[["class","delete-button mat-menu-item"],["mat-menu-item",""],["type","button"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,38)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,38)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteFleetItemFrom(t.context.index)&&i),i}),q.c,q.a)),l.Cb(38,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(39,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(40,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,1,0,"fleetItems"),t(e,5,0,e.context.index),t(e,9,0,"outline"),t(e,24,0,"field"),t(e,27,0,"Field"),t(e,33,0,n.ConfigForm.fields),t(e,35,0,"mlat"!=n.formFleetItems().controls[e.context.index].value.field&&"military"!=n.formFleetItems().controls[e.context.index].value.field,l.Pb(e,36)),t(e,40,0,"trash")}),(function(t,e){t(e,0,0,l.Pb(e,3).ngClassUntouched,l.Pb(e,3).ngClassTouched,l.Pb(e,3).ngClassPristine,l.Pb(e,3).ngClassDirty,l.Pb(e,3).ngClassValid,l.Pb(e,3).ngClassInvalid,l.Pb(e,3).ngClassPending),t(e,8,1,["standard"==l.Pb(e,9).appearance,"fill"==l.Pb(e,9).appearance,"outline"==l.Pb(e,9).appearance,"legacy"==l.Pb(e,9).appearance,l.Pb(e,9)._control.errorState,l.Pb(e,9)._canLabelFloat,l.Pb(e,9)._shouldLabelFloat(),l.Pb(e,9)._hasFloatingLabel(),l.Pb(e,9)._hideControlPlaceholder(),l.Pb(e,9)._control.disabled,l.Pb(e,9)._control.autofilled,l.Pb(e,9)._control.focused,"accent"==l.Pb(e,9).color,"warn"==l.Pb(e,9).color,l.Pb(e,9)._shouldForward("untouched"),l.Pb(e,9)._shouldForward("touched"),l.Pb(e,9)._shouldForward("pristine"),l.Pb(e,9)._shouldForward("dirty"),l.Pb(e,9)._shouldForward("valid"),l.Pb(e,9)._shouldForward("invalid"),l.Pb(e,9)._shouldForward("pending"),!l.Pb(e,9)._animationsEnabled]),t(e,22,1,[l.Pb(e,26).ngClassUntouched,l.Pb(e,26).ngClassTouched,l.Pb(e,26).ngClassPristine,l.Pb(e,26).ngClassDirty,l.Pb(e,26).ngClassValid,l.Pb(e,26).ngClassInvalid,l.Pb(e,26).ngClassPending,l.Pb(e,27).id,l.Pb(e,27).tabIndex,l.Pb(e,27)._getAriaLabel(),l.Pb(e,27)._getAriaLabelledby(),l.Pb(e,27).required.toString(),l.Pb(e,27).disabled.toString(),l.Pb(e,27).errorState,l.Pb(e,27).panelOpen?l.Pb(e,27)._optionIds:null,l.Pb(e,27).multiple,l.Pb(e,27)._ariaDescribedby||null,l.Pb(e,27)._getAriaActiveDescendant(),l.Pb(e,27).disabled,l.Pb(e,27).errorState,l.Pb(e,27).required,l.Pb(e,27).empty]),t(e,37,0,l.Pb(e,38).role,l.Pb(e,38)._highlighted,l.Pb(e,38)._triggersSubmenu,l.Pb(e,38)._getTabIndex(),l.Pb(e,38).disabled.toString(),l.Pb(e,38).disabled||null)}))}function Zt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,42,"form",[["class","form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitFleetItem()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,26,"div",[["class","form-filter-logical-operator"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(7,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(17,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(18,16384,[[3,4],[4,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Logical operator"])),(t()(),l.Db(20,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","fleetLogicalOperator"],["matInput",""],["placeholder","Logical Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,25)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._onBlur()&&i),i}),$.b,$.a)),l.Tb(6144,null,_.l,null,[X.c]),l.Cb(22,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(24,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(25,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],g.d,null,[X.c]),(t()(),l.sb(16777216,null,1,1,null,Wt)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(32,0,null,null,1,"sepia-fleet-item-csv",[],null,[[null,"hasImport"]],(function(t,e,n){var l=!0;return"hasImport"===e&&(l=!1!==t.component.initComponent()&&l),l}),Ut.b,Ut.a)),l.Cb(33,114688,null,0,Bt.a,[zt.a],{fleetId:[0,"fleetId"]},{hasImport:"hasImport"}),(t()(),l.Db(34,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.addFleetItemForm()&&l),l}),z.b,z.a)),l.Cb(35,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Add"])),(t()(),l.sb(16777216,null,null,1,null,Qt)),l.Cb(38,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(39,0,null,null,3,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),l.Db(40,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(41,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,2,0,n.fleetItemForm),t(e,7,0,"outline"),t(e,22,0,"fleetLogicalOperator"),t(e,25,0,"Logical Operator"),t(e,31,0,n.ConfigForm.logicalOperator),t(e,33,0,n.fleetId),t(e,35,0,"warn"),t(e,38,0,n.formFleetItems().controls),t(e,41,0,"primary")}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,6,1,["standard"==l.Pb(e,7).appearance,"fill"==l.Pb(e,7).appearance,"outline"==l.Pb(e,7).appearance,"legacy"==l.Pb(e,7).appearance,l.Pb(e,7)._control.errorState,l.Pb(e,7)._canLabelFloat,l.Pb(e,7)._shouldLabelFloat(),l.Pb(e,7)._hasFloatingLabel(),l.Pb(e,7)._hideControlPlaceholder(),l.Pb(e,7)._control.disabled,l.Pb(e,7)._control.autofilled,l.Pb(e,7)._control.focused,"accent"==l.Pb(e,7).color,"warn"==l.Pb(e,7).color,l.Pb(e,7)._shouldForward("untouched"),l.Pb(e,7)._shouldForward("touched"),l.Pb(e,7)._shouldForward("pristine"),l.Pb(e,7)._shouldForward("dirty"),l.Pb(e,7)._shouldForward("valid"),l.Pb(e,7)._shouldForward("invalid"),l.Pb(e,7)._shouldForward("pending"),!l.Pb(e,7)._animationsEnabled]),t(e,20,1,[l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25).id,l.Pb(e,25).tabIndex,l.Pb(e,25)._getAriaLabel(),l.Pb(e,25)._getAriaLabelledby(),l.Pb(e,25).required.toString(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).errorState,l.Pb(e,25).panelOpen?l.Pb(e,25)._optionIds:null,l.Pb(e,25).multiple,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25)._getAriaActiveDescendant(),l.Pb(e,25).disabled,l.Pb(e,25).errorState,l.Pb(e,25).required,l.Pb(e,25).empty]),t(e,34,0,l.Pb(e,35).disabled||null,"NoopAnimations"===l.Pb(e,35)._animationMode),t(e,40,0,l.Pb(e,41).disabled||null,"NoopAnimations"===l.Pb(e,41)._animationMode)}))}class te{constructor(t,e){this.bboxService=t,this.notificationTypeService=e,this.refreshNotificationType=new l.r,this.bboxAutoComplete$=null,this.bboxAutoCompleteControl=new A.g,this.displayedColumns=["name","operation"],this.dataSource=new F.l}ngOnInit(){this.notificationTypeService.getOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,join:["bboxs"]}).subscribe(t=>{this.dataSource.data=t.bboxs}),this.bboxForm=new A.j({bbox:this.bboxAutoCompleteControl})}ngAfterViewInit(){this.bboxAutoComplete$=this.bboxAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupSquawk(t):Object(it.a)(null)))}lookupSquawk(t){return this.bboxService.getManyBaseBboxControllerBbox({filter:["name||cont||"+t],limit:10}).pipe(Object(nt.a)(t=>t.data),Object(lt.a)(t=>Object(it.a)(null)))}displayNameBbox(t){return t?t.name:""}submitBbox(){const t=this.bboxForm.value.bbox;if(t.id&&!this.dataSource.data.some(e=>e.id===t.id)){const e={id:this.notificationType.id,body:{bboxs:this.dataSource.data.concat([t])}};this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType(e).subscribe(e=>{this.notificationType=e,this.refreshNotificationType.emit(this.notificationType),this.dataSource.data=this.dataSource.data.concat([t])})}}deleteBbox(t){const e={id:this.notificationType.id,body:{bboxs:this.dataSource.data.filter(e=>e.id!==t.id)}};this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType(e).subscribe(e=>{this.notificationType=e,this.refreshNotificationType.emit(this.notificationType),this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}}var ee=n("Qykp"),ne=n("XYOC"),le=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function ie(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function re(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Bbox Name "]))],null,null)}function oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function se(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteBbox(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function ue(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function ce(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function de(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitBbox()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Bbox name"],["title","bbox"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,17)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,18)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,18)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,18)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,23)._onInput()&&i),i}),null,null)),l.Cb(17,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(18,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(20,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(25,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(27,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,ie)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(33,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(34,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(36,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(38,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(43,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(45,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,re)),l.Cb(51,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,oe)),l.Cb(54,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(56,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(58,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,ae)),l.Cb(64,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,se)),l.Cb(67,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,ue)),l.Cb(70,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,ce)),l.Cb(73,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,2,0,n.bboxForm),t(e,6,0,"outline"),t(e,18,0,l.Pb(e,27)),t(e,20,0,n.bboxAutoCompleteControl),t(e,23,0,"Bbox name","text"),t(e,27,0,n.displayNameBbox,""),t(e,31,0,l.Xb(e,31,0,l.Pb(e,32).transform(n.bboxAutoComplete$))),t(e,34,0,"primary"),t(e,38,0,n.dataSource),t(e,45,0,"name"),t(e,58,0,"operation"),t(e,70,0,n.displayedColumns),t(e,73,0,n.displayedColumns)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,1,[l.Pb(e,18).autocompleteAttribute,l.Pb(e,18).autocompleteDisabled?null:"combobox",l.Pb(e,18).autocompleteDisabled?null:"list",l.Pb(e,18).panelOpen&&l.Pb(e,18).activeOption?l.Pb(e,18).activeOption.id:null,l.Pb(e,18).autocompleteDisabled?null:l.Pb(e,18).panelOpen.toString(),l.Pb(e,18).autocompleteDisabled||!l.Pb(e,18).panelOpen||null==l.Pb(e,18).autocomplete?null:l.Pb(e,18).autocomplete.id,!l.Pb(e,18).autocompleteDisabled,l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23)._isServer,l.Pb(e,23).id,l.Pb(e,23).placeholder,l.Pb(e,23).disabled,l.Pb(e,23).required,l.Pb(e,23).readonly&&!l.Pb(e,23)._isNativeSelect||null,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23).errorState,l.Pb(e,23).required.toString()]),t(e,33,0,l.Pb(e,34).disabled||null,"NoopAnimations"===l.Pb(e,34)._animationMode)}))}n("/Mhs");class he{constructor(t,e){this.feedService=t,this.notificationTypeService=e,this.feedAutoComplete$=null,this.feedAutoCompleteControl=new A.g,this.displayedColumns=["name","operation"],this.dataSource=new F.l}ngOnInit(){this.notificationTypeService.getOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,join:["excludeFeeds"]}).subscribe(t=>{this.dataSource.data=t.excludeFeeds}),this.feedForm=new A.j({feed:this.feedAutoCompleteControl})}ngAfterViewInit(){this.feedAutoComplete$=this.feedAutoCompleteControl.valueChanges.pipe(Object(tt.a)(""),Object(x.a)(300),Object(et.a)(t=>""!==t?this.lookupFeed(t):Object(it.a)(null)))}lookupFeed(t){return this.feedService.getManyBaseFeedControllerFeed({filter:["name||cont||"+t],limit:10}).pipe(Object(nt.a)(t=>t.data),Object(lt.a)(t=>Object(it.a)(null)))}displayFeed(t){return t?t.name:""}submitFeed(){const t=this.feedForm.value.feed;if(t.id&&void 0===this.dataSource.data.find(e=>e.id===t.id)){const e=this.dataSource.data.concat([t]).map(t=>({id:t.id}));this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,body:{excludeFeeds:e}}).subscribe(e=>{this.dataSource.data=this.dataSource.data.concat([t])})}}deleteFeed(t){if(t.id&&void 0!==this.dataSource.data.find(e=>e.id===t.id)){const e={id:this.notificationType.id,body:{excludeFeeds:this.dataSource.data.filter(e=>e.id!==t.id).map(t=>({id:t.id}))}};this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType(e).subscribe(e=>{this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}}}var pe=n("5p+q"),fe=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px;display:flex}.form-container[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:0}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function be(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(1,8568832,[[10,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Name "]))],null,null)}function ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function _e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function ye(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,3)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,3)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteFeed(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(3,180224,null,0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(5,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,5,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).role,l.Pb(e,3)._highlighted,l.Pb(e,3)._triggersSubmenu,l.Pb(e,3)._getTabIndex(),l.Pb(e,3).disabled.toString(),l.Pb(e,3).disabled||null)}))}function Ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function Ce(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,35,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitFeed()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(16,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Feed"],["title","feed"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,17)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,18)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,18)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,18)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,23)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,23)._onInput()&&i),i}),null,null)),l.Cb(17,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Cb(18,4866048,null,0,Q.f,[l.p,V.c,l.Y,l.G,l.j,Q.b,[2,s.b],[2,g.c],[2,a.d],K.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,A.o,(function(t,e){return[t,e]}),[A.d,Q.f]),l.Cb(20,540672,null,0,A.h,[[8,null],[8,null],[6,A.o],[2,A.z]],{form:[0,"form"]},null),l.Tb(2048,null,A.p,null,[A.h]),l.Cb(22,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(23,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],g.d,null,[y.b]),(t()(),l.Db(25,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,Z.b,Z.a)),l.Tb(6144,null,_.l,null,[Q.d]),l.Cb(27,1097728,[["auto",4]],2,Q.d,[l.j,l.p,Q.a],{displayWith:[0,"displayWith"],autoActiveFirstOption:[1,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,be)),l.Cb(31,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,a.b,[l.j]),(t()(),l.Db(33,0,null,null,2,"button",[["class","btn"],["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(34,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(36,0,null,null,38,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(38,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(43,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(45,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,me)),l.Cb(51,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[17,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,ge)),l.Cb(54,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[16,4]],N.b,null,[F.b]),(t()(),l.Db(56,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(58,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,_e)),l.Cb(64,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[20,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,ye)),l.Cb(67,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[19,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,Ae)),l.Cb(70,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,ve)),l.Cb(73,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,2,0,n.feedForm),t(e,6,0,"outline"),t(e,18,0,l.Pb(e,27)),t(e,20,0,n.feedAutoCompleteControl),t(e,23,0,"Feed","text"),t(e,27,0,n.displayFeed,""),t(e,31,0,l.Xb(e,31,0,l.Pb(e,32).transform(n.feedAutoComplete$))),t(e,34,0,"primary"),t(e,38,0,n.dataSource),t(e,45,0,"name"),t(e,58,0,"operation"),t(e,70,0,n.displayedColumns),t(e,73,0,n.displayedColumns)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,1,[l.Pb(e,18).autocompleteAttribute,l.Pb(e,18).autocompleteDisabled?null:"combobox",l.Pb(e,18).autocompleteDisabled?null:"list",l.Pb(e,18).panelOpen&&l.Pb(e,18).activeOption?l.Pb(e,18).activeOption.id:null,l.Pb(e,18).autocompleteDisabled?null:l.Pb(e,18).panelOpen.toString(),l.Pb(e,18).autocompleteDisabled||!l.Pb(e,18).panelOpen||null==l.Pb(e,18).autocomplete?null:l.Pb(e,18).autocomplete.id,!l.Pb(e,18).autocompleteDisabled,l.Pb(e,22).ngClassUntouched,l.Pb(e,22).ngClassTouched,l.Pb(e,22).ngClassPristine,l.Pb(e,22).ngClassDirty,l.Pb(e,22).ngClassValid,l.Pb(e,22).ngClassInvalid,l.Pb(e,22).ngClassPending,l.Pb(e,23)._isServer,l.Pb(e,23).id,l.Pb(e,23).placeholder,l.Pb(e,23).disabled,l.Pb(e,23).required,l.Pb(e,23).readonly&&!l.Pb(e,23)._isNativeSelect||null,l.Pb(e,23)._ariaDescribedby||null,l.Pb(e,23).errorState,l.Pb(e,23).required.toString()]),t(e,33,0,l.Pb(e,34).disabled||null,"NoopAnimations"===l.Pb(e,34)._animationMode)}))}class we{constructor(t,e,n,l,i,r,o,a){this.ref=t,this.notificationTypeSquawkService=e,this.notificationTypeService=n,this.notificationTypeProhibitedAreaService=l,this.notificationTypePredictionProhibitedAreaService=i,this.notificationTypeAltitudeVariationService=r,this.notificationTypeAutopilotService=o,this.notificationTypePresenceService=a}ngOnInit(){this.notificationTypeForm=new A.j({name:new A.g(this.notificationType?this.notificationType.name:""),type:new A.g(this.notificationType?this.notificationType.type:""),color:new A.g(this.notificationType?this.notificationType.color:"#000000")})}submitNotificationType(){this.notificationType?this.updateNotificationType():this.createNotificationType()}updateNotificationType(){this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType({id:this.notificationType.id,body:{name:this.notificationTypeForm.value.name,color:this.notificationTypeForm.value.color}}).subscribe(t=>{this.notificationType=t})}createNotificationType(){const t={body:{type:this.notificationTypeForm.value.type,name:this.notificationTypeForm.value.name,color:this.notificationTypeForm.value.color}};"squawk"===this.notificationTypeForm.value.type?this.notificationTypeSquawkService.createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"prohibited_area"===this.notificationTypeForm.value.type?this.notificationTypeProhibitedAreaService.createOneBaseNotificationTypeProhibitedAreaControllerNotificationTypeProhibitedArea(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"prediction_prohibited_area"===this.notificationTypeForm.value.type?this.notificationTypePredictionProhibitedAreaService.createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"altitude_variation"===this.notificationTypeForm.value.type?this.notificationTypeAltitudeVariationService.createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"presence"===this.notificationTypeForm.value.type?this.notificationTypePresenceService.createOneBaseNotificationTypePresenceControllerNotificationTypePresence(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()}):"autopilot"===this.notificationTypeForm.value.type&&this.notificationTypeAutopilotService.createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t).subscribe(t=>{this.notificationType=t,this.ref.detectChanges()})}refreshNotificationType(t){this.notificationType=t}}var Pe=n("D7iV"),xe=n("yRz6"),Se=l.Bb({encapsulation:0,styles:[[".form-container[_ngcontent-%COMP%]{margin:10px}.form-container[_ngcontent-%COMP%] .width50[_ngcontent-%COMP%]{width:50%}.form-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}"]],data:{}});function ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,94,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitNotificationType()&&i),i}),null,null)),l.Cb(1,16384,null,0,A.A,[],null,null),l.Cb(2,540672,null,0,A.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,A.c,null,[A.k]),l.Cb(4,16384,null,0,A.r,[[4,A.c]],null,null),(t()(),l.Db(5,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","width50 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(6,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,4,{_controlNonStatic:0}),l.Ub(335544320,5,{_controlStatic:0}),l.Ub(603979776,6,{_labelChildNonStatic:0}),l.Ub(335544320,7,{_labelChildStatic:0}),l.Ub(603979776,8,{_placeholderChild:0}),l.Ub(603979776,9,{_errorChildren:1}),l.Ub(603979776,10,{_hintChildren:1}),l.Ub(603979776,11,{_prefixChildren:1}),l.Ub(603979776,12,{_suffixChildren:1}),(t()(),l.Db(16,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(17,16384,[[6,4],[7,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Name"])),(t()(),l.Db(19,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["title","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,20)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,20).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,20)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,20)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,25)._onInput()&&i),i}),null,null)),l.Cb(20,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[A.d]),l.Cb(22,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(24,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(25,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[4,4],[5,4]],g.d,null,[y.b]),(t()(),l.Db(27,0,null,null,41,"mat-form-field",[["appearance","outline"],["class","width50 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(28,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,13,{_controlNonStatic:0}),l.Ub(335544320,14,{_controlStatic:0}),l.Ub(603979776,15,{_labelChildNonStatic:0}),l.Ub(335544320,16,{_labelChildStatic:0}),l.Ub(603979776,17,{_placeholderChild:0}),l.Ub(603979776,18,{_errorChildren:1}),l.Ub(603979776,19,{_hintChildren:1}),l.Ub(603979776,20,{_prefixChildren:1}),l.Ub(603979776,21,{_suffixChildren:1}),(t()(),l.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(39,16384,[[15,4],[16,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Type"])),(t()(),l.Db(41,0,null,1,27,"mat-select",[["class","mat-select"],["formControlName","type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,45)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,45)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,45)._onBlur()&&i),i}),$.b,$.a)),l.Cb(42,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[8,null],[2,A.z]],{name:[0,"name"],isDisabled:[1,"isDisabled"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(44,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(45,2080768,null,3,X.c,[K.e,l.j,l.G,_.d,l.p,[2,s.b],[2,A.s],[2,A.k],[2,g.c],[6,A.p],[8,null],X.a,B.j],{disabled:[0,"disabled"]},null),l.Ub(603979776,22,{options:1}),l.Ub(603979776,23,{optionGroups:1}),l.Ub(603979776,24,{customTrigger:0}),l.Tb(2048,[[13,4],[14,4]],g.d,null,[X.c]),l.Tb(2048,null,_.l,null,[X.c]),(t()(),l.Db(51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","squawk"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,52)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,52)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(52,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Squawk"])),(t()(),l.Db(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","prohibited_area"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,55)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,55)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(55,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Zone interdite"])),(t()(),l.Db(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","prediction_prohibited_area"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,58)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,58)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(58,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Prediction zone interdite"])),(t()(),l.Db(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","altitude_variation"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,61)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,61)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(61,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Variation d'altitude"])),(t()(),l.Db(63,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","presence"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,64)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,64)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(64,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Presence"])),(t()(),l.Db(66,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","autopilot"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,67)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,67)._handleKeydown(n)&&i),i}),J.e,J.b)),l.Cb(67,8568832,[[22,4]],0,_.s,[l.p,l.j,[2,_.l],[2,_.r]],{value:[0,"value"]},null),(t()(),l.Wb(-1,0,["Autopilot"])),(t()(),l.Db(69,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","width50 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,m.b,m.a)),l.Cb(70,7520256,null,9,g.c,[l.p,l.j,[2,_.j],[2,s.b],[2,g.a],h.a,l.G,[2,p.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,25,{_controlNonStatic:0}),l.Ub(335544320,26,{_controlStatic:0}),l.Ub(603979776,27,{_labelChildNonStatic:0}),l.Ub(335544320,28,{_labelChildStatic:0}),l.Ub(603979776,29,{_placeholderChild:0}),l.Ub(603979776,30,{_errorChildren:1}),l.Ub(603979776,31,{_hintChildren:1}),l.Ub(603979776,32,{_prefixChildren:1}),l.Ub(603979776,33,{_suffixChildren:1}),(t()(),l.Db(80,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(81,16384,[[27,4],[28,4]],0,g.f,[],null,null),(t()(),l.Wb(-1,null,["Color"])),(t()(),l.Db(83,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","color"],["matInput",""],["placeholder","Color hex"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,84)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,84).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,84)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,84)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,89)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,89)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,89)._onInput()&&i),i}),null,null)),l.Cb(84,16384,null,0,A.d,[l.M,l.p,[2,A.a]],null,null),l.Tb(1024,null,A.o,(function(t){return[t]}),[A.d]),l.Cb(86,671744,null,0,A.i,[[3,A.c],[8,null],[8,null],[6,A.o],[2,A.z]],{name:[0,"name"]},null),l.Tb(2048,null,A.p,null,[A.i]),l.Cb(88,16384,null,0,A.q,[[4,A.p]],null,null),l.Cb(89,999424,null,0,y.b,[l.p,h.a,[6,A.p],[2,A.s],[2,A.k],_.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[25,4],[26,4]],g.d,null,[y.b]),(t()(),l.Db(91,0,null,null,3,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),l.Db(92,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,z.b,z.a)),l.Cb(93,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,2,0,n.notificationTypeForm),t(e,6,0,"outline"),t(e,22,0,"name"),t(e,25,0,"Name","text"),t(e,28,0,"outline"),t(e,42,0,"type",n.notificationType),t(e,45,0,n.notificationType),t(e,52,0,"squawk"),t(e,55,0,"prohibited_area"),t(e,58,0,"prediction_prohibited_area"),t(e,61,0,"altitude_variation"),t(e,64,0,"presence"),t(e,67,0,"autopilot"),t(e,70,0,"outline"),t(e,86,0,"color"),t(e,89,0,"Color hex","color"),t(e,93,0,"primary")}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,19,1,[l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25)._isServer,l.Pb(e,25).id,l.Pb(e,25).placeholder,l.Pb(e,25).disabled,l.Pb(e,25).required,l.Pb(e,25).readonly&&!l.Pb(e,25)._isNativeSelect||null,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25).errorState,l.Pb(e,25).required.toString()]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,41,1,[l.Pb(e,44).ngClassUntouched,l.Pb(e,44).ngClassTouched,l.Pb(e,44).ngClassPristine,l.Pb(e,44).ngClassDirty,l.Pb(e,44).ngClassValid,l.Pb(e,44).ngClassInvalid,l.Pb(e,44).ngClassPending,l.Pb(e,45).id,l.Pb(e,45).tabIndex,l.Pb(e,45)._getAriaLabel(),l.Pb(e,45)._getAriaLabelledby(),l.Pb(e,45).required.toString(),l.Pb(e,45).disabled.toString(),l.Pb(e,45).errorState,l.Pb(e,45).panelOpen?l.Pb(e,45)._optionIds:null,l.Pb(e,45).multiple,l.Pb(e,45)._ariaDescribedby||null,l.Pb(e,45)._getAriaActiveDescendant(),l.Pb(e,45).disabled,l.Pb(e,45).errorState,l.Pb(e,45).required,l.Pb(e,45).empty]),t(e,51,0,l.Pb(e,52)._getTabIndex(),l.Pb(e,52).selected,l.Pb(e,52).multiple,l.Pb(e,52).active,l.Pb(e,52).id,l.Pb(e,52)._getAriaSelected(),l.Pb(e,52).disabled.toString(),l.Pb(e,52).disabled),t(e,54,0,l.Pb(e,55)._getTabIndex(),l.Pb(e,55).selected,l.Pb(e,55).multiple,l.Pb(e,55).active,l.Pb(e,55).id,l.Pb(e,55)._getAriaSelected(),l.Pb(e,55).disabled.toString(),l.Pb(e,55).disabled),t(e,57,0,l.Pb(e,58)._getTabIndex(),l.Pb(e,58).selected,l.Pb(e,58).multiple,l.Pb(e,58).active,l.Pb(e,58).id,l.Pb(e,58)._getAriaSelected(),l.Pb(e,58).disabled.toString(),l.Pb(e,58).disabled),t(e,60,0,l.Pb(e,61)._getTabIndex(),l.Pb(e,61).selected,l.Pb(e,61).multiple,l.Pb(e,61).active,l.Pb(e,61).id,l.Pb(e,61)._getAriaSelected(),l.Pb(e,61).disabled.toString(),l.Pb(e,61).disabled),t(e,63,0,l.Pb(e,64)._getTabIndex(),l.Pb(e,64).selected,l.Pb(e,64).multiple,l.Pb(e,64).active,l.Pb(e,64).id,l.Pb(e,64)._getAriaSelected(),l.Pb(e,64).disabled.toString(),l.Pb(e,64).disabled),t(e,66,0,l.Pb(e,67)._getTabIndex(),l.Pb(e,67).selected,l.Pb(e,67).multiple,l.Pb(e,67).active,l.Pb(e,67).id,l.Pb(e,67)._getAriaSelected(),l.Pb(e,67).disabled.toString(),l.Pb(e,67).disabled),t(e,69,1,["standard"==l.Pb(e,70).appearance,"fill"==l.Pb(e,70).appearance,"outline"==l.Pb(e,70).appearance,"legacy"==l.Pb(e,70).appearance,l.Pb(e,70)._control.errorState,l.Pb(e,70)._canLabelFloat,l.Pb(e,70)._shouldLabelFloat(),l.Pb(e,70)._hasFloatingLabel(),l.Pb(e,70)._hideControlPlaceholder(),l.Pb(e,70)._control.disabled,l.Pb(e,70)._control.autofilled,l.Pb(e,70)._control.focused,"accent"==l.Pb(e,70).color,"warn"==l.Pb(e,70).color,l.Pb(e,70)._shouldForward("untouched"),l.Pb(e,70)._shouldForward("touched"),l.Pb(e,70)._shouldForward("pristine"),l.Pb(e,70)._shouldForward("dirty"),l.Pb(e,70)._shouldForward("valid"),l.Pb(e,70)._shouldForward("invalid"),l.Pb(e,70)._shouldForward("pending"),!l.Pb(e,70)._animationsEnabled]),t(e,83,1,[l.Pb(e,88).ngClassUntouched,l.Pb(e,88).ngClassTouched,l.Pb(e,88).ngClassPristine,l.Pb(e,88).ngClassDirty,l.Pb(e,88).ngClassValid,l.Pb(e,88).ngClassInvalid,l.Pb(e,88).ngClassPending,l.Pb(e,89)._isServer,l.Pb(e,89).id,l.Pb(e,89).placeholder,l.Pb(e,89).disabled,l.Pb(e,89).required,l.Pb(e,89).readonly&&!l.Pb(e,89)._isNativeSelect||null,l.Pb(e,89)._ariaDescribedby||null,l.Pb(e,89).errorState,l.Pb(e,89).required.toString()]),t(e,92,0,l.Pb(e,93).disabled||null,"NoopAnimations"===l.Pb(e,93)._animationMode)}))}function Me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param-squawk",[],null,[[null,"refreshNotificationType"]],(function(t,e,n){var l=!0;return"refreshNotificationType"===e&&(l=!1!==t.component.refreshNotificationType(n)&&l),l}),mt,st)),l.Cb(2,4308992,null,0,rt,[ot.a,at.a],{notificationTypeSquawk:[0,"notificationTypeSquawk"]},{refreshNotificationType:"refreshNotificationType"})],(function(t,e){t(e,2,0,e.component.notificationType)}),null)}function Oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param-prohibited-area",[],null,[[null,"refreshNotificationType"]],(function(t,e,n){var l=!0;return"refreshNotificationType"===e&&(l=!1!==t.component.refreshNotificationType(n)&&l),l}),It,Pt)),l.Cb(2,4308992,null,0,At,[vt.a,Ct.a,wt.a],{notificationTypeProhibitedArea:[0,"notificationTypeProhibitedArea"]},{refreshNotificationType:"refreshNotificationType"})],(function(t,e){t(e,2,0,e.component.notificationType)}),null)}function De(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param-altitude-variation",[],null,[[null,"refreshNotificationType"]],(function(t,e,n){var l=!0;return"refreshNotificationType"===e&&(l=!1!==t.component.refreshNotificationType(n)&&l),l}),Ft,Rt)),l.Cb(2,114688,null,0,Lt,[jt.a],{notificationTypeAltitudeVariation:[0,"notificationTypeAltitudeVariation"]},{refreshNotificationType:"refreshNotificationType"})],(function(t,e){t(e,2,0,e.component.notificationType)}),null)}function Te(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,Me)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Oe)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,De)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,"squawk"==n.notificationType.type),t(e,3,0,"prohibited_area"==n.notificationType.type||"prediction_prohibited_area"==n.notificationType.type),t(e,5,0,"altitude_variation"==n.notificationType.type)}),null)}function Ee(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Setting"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,34,{templateLabel:0}),l.Ub(335544320,35,{_explicitContent:0}),(t()(),l.sb(0,[[35,2]],0,1,null,Te)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Setting")}),null)}function Ie(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-fleet",[],null,null,null,Zt,qt)),l.Cb(1,114688,null,0,Ht,[A.f,zt.a,Vt.a],{fleetId:[0,"fleetId"]},null)],(function(t,e){t(e,1,0,e.component.notificationType.includeFleetId)}),null)}function Le(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","include"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,36,{templateLabel:0}),l.Ub(335544320,37,{_explicitContent:0}),(t()(),l.sb(0,[[37,2]],0,1,null,Ie)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"include")}),null)}function je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-fleet",[],null,null,null,Zt,qt)),l.Cb(1,114688,null,0,Ht,[A.f,zt.a,Vt.a],{fleetId:[0,"fleetId"]},null)],(function(t,e){t(e,1,0,e.component.notificationType.excludeFleetId)}),null)}function Re(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","exclude"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,38,{templateLabel:0}),l.Ub(335544320,39,{_explicitContent:0}),(t()(),l.sb(0,[[39,2]],0,1,null,je)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"exclude")}),null)}function Fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-bbox",[],null,null,null,de,le)),l.Cb(1,4308992,null,0,te,[ee.a,ne.a],{notificationType:[0,"notificationType"]},null)],(function(t,e){t(e,1,0,e.component.notificationType)}),null)}function Ne(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Bbox"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,40,{templateLabel:0}),l.Ub(335544320,41,{_explicitContent:0}),(t()(),l.sb(0,[[41,2]],0,1,null,Fe)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Bbox")}),null)}function Ye(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification-param-feed",[],null,null,null,Ce,fe)),l.Cb(1,4308992,null,0,he,[pe.a,ne.a],{notificationType:[0,"notificationType"]},null)],(function(t,e){t(e,1,0,e.component.notificationType)}),null)}function Ue(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Feed"]],null,null,null,Nt.d,Nt.a)),l.Cb(1,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,42,{templateLabel:0}),l.Ub(335544320,43,{_explicitContent:0}),(t()(),l.sb(0,[[43,2]],0,1,null,Ye)),l.Cb(5,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Feed")}),null)}function Be(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,18,"mat-tab-group",[["class","mat-tab-group"],["disablePagination","true"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,Nt.c,Nt.b)),l.Cb(1,3325952,null,1,Yt.g,[l.p,l.j,[2,Yt.a],[2,p.a]],null,null),l.Ub(603979776,1,{_tabs:1}),(t()(),l.Db(3,16777216,null,null,5,"mat-tab",[["label","Base"]],null,null,null,Nt.d,Nt.a)),l.Cb(4,770048,[[1,4]],2,Yt.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,2,{templateLabel:0}),l.Ub(335544320,3,{_explicitContent:0}),(t()(),l.sb(0,[[3,2]],0,1,null,ke)),l.Cb(8,16384,null,0,Yt.f,[l.U],null,null),(t()(),l.sb(16777216,null,null,1,null,Ee)),l.Cb(10,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Le)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Re)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ne)),l.Cb(16,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ue)),l.Cb(18,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,"Base"),t(e,10,0,n.notificationType&&"flight_plan"!=n.notificationType.type&&"presence"!=n.notificationType.type&&"autopilot"!=n.notificationType.type),t(e,12,0,n.notificationType&&"flight_plan"!=n.notificationType.type),t(e,14,0,n.notificationType&&"flight_plan"!=n.notificationType.type),t(e,16,0,n.notificationType&&"flight_plan"!=n.notificationType.type),t(e,18,0,n.notificationType&&"flight_plan"!=n.notificationType.type)}),(function(t,e){t(e,0,0,l.Pb(e,1).dynamicHeight,"below"===l.Pb(e,1).headerPosition)}))}var ze=n("/MgC");class Ge{constructor(t,e,n,l){this.keycloakService=t,this.notificationTypeService=e,this.notificationSettingService=n,this.cdRefs=l,this.currentPage="listTypeNotification",this.notificationTypeSelected=void 0,this.displayedColumns=["userListening","name","type","operation"],this.dataSource=new F.l}ngOnInit(){this.getNotificationType()}getNotificationType(){this.notificationTypeService.getManyBaseNotificationTypeControllerNotificationType().subscribe(t=>{this.dataSource.data=t.data})}toggleActiveNotification(t){let e=t.userListeningIds.map(t=>({id:t}));t.userListeningIds.includes(this.keycloakService.client().subject)?e=e.filter(t=>t.id!==this.keycloakService.client().subject):e.push({id:this.keycloakService.client().subject}),this.notificationTypeService.updateOneBaseNotificationTypeControllerNotificationType({id:t.id,body:{userListening:e}}).subscribe(e=>{t=e;const n=this.dataSource.data.findIndex(t=>t.id===e.id);n>=0&&(this.dataSource.data[n]=e,this.dataSource.data=this.dataSource.data.slice(0)),this.cdRefs.detectChanges();const l=this.dataSource.data.filter(t=>this.notificationTypeIsActive(t));this.notificationSettingService.updateSubscribeNotifications(l)})}notificationTypeIsActive(t){return t.userListeningIds.includes(this.keycloakService.client().subject)}editNotificationType(t){this.notificationTypeSelected=t,this.currentPage="formNotification"}deleteNotificationType(t){this.notificationTypeService.deleteOneBaseNotificationTypeControllerNotificationType({id:t.id}).subscribe(e=>{this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id)})}createNotificationType(){this.notificationTypeSelected=void 0,this.currentPage="formNotification"}}var He=l.Bb({encapsulation:0,styles:[[".notification-param-action[_ngcontent-%COMP%]{padding:10px}table[_ngcontent-%COMP%]{min-width:100%}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}"]],data:{}});function Ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Is active "]))],null,null)}function qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var l=!0;return"change"===e&&(l=!1!==t.component.toggleActiveNotification(t.context.$implicit)&&l),l}),Y.b,Y.a)),l.Tb(5120,null,A.o,(function(t){return[t]}),[U.b]),l.Cb(4,8568832,null,0,U.b,[l.p,l.j,B.h,l.G,[8,null],[2,U.a],[2,p.a]],{checked:[0,"checked"]},{change:"change"})],(function(t,e){t(e,4,0,e.component.notificationTypeIsActive(e.context.$implicit))}),(function(t,e){t(e,2,0,l.Pb(e,4).id,null,l.Pb(e,4).indeterminate,l.Pb(e,4).checked,l.Pb(e,4).disabled,"before"==l.Pb(e,4).labelPosition,"NoopAnimations"===l.Pb(e,4)._animationMode)}))}function We(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Name "]))],null,null)}function $e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Type "]))],null,null)}function Ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.type)}))}function Je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.e,[N.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Action "]))],null,null)}function Qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,F.a,[N.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),z.b,z.a)),l.Cb(3,180224,null,0,G.b,[l.p,B.h,[2,p.a]],null,null),l.Cb(4,1196032,null,0,H.g,[V.c,l.p,l.Y,H.c,[2,H.d],[8,null],[2,s.b],B.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,i.y,i.g)),l.Cb(6,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,q.d,q.b)),l.Cb(8,1294336,[["menu",4]],3,H.h,[l.p,l.G,H.a],null,null),l.Ub(603979776,17,{_allItems:1}),l.Ub(603979776,18,{items:1}),l.Ub(603979776,19,{lazyContent:0}),l.Tb(2048,null,H.d,null,[H.h]),l.Tb(2048,null,H.b,null,[H.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.editNotificationType(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(15,180224,[[17,4],[18,4]],0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,i.y,i.g)),l.Cb(17,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteNotificationType(t.context.$implicit)&&i),i}),q.c,q.a)),l.Cb(20,180224,[[17,4],[18,4]],0,H.e,[l.p,a.d,B.h,[2,H.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,i.y,i.g)),l.Cb(22,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function Ze(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,W.d,W.a)),l.Tb(6144,null,N.k,null,[F.g]),l.Cb(2,49152,null,0,F.g,[],null,null)],null,null)}function tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,W.e,W.b)),l.Tb(6144,null,N.m,null,[F.i]),l.Cb(2,49152,null,0,F.i,[],null,null)],null,null)}function en(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,71,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"div",[["class","notification-param-action"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"button",[["class","btn"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.createNotificationType()&&l),l}),z.b,z.a)),l.Cb(3,180224,null,0,G.b,[l.p,B.h,[2,p.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,i.y,i.g)),l.Cb(6,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,64,"table",[["class","mat-table"],["mat-table",""]],null,null,null,W.f,W.c)),l.Tb(6144,null,N.o,null,[F.k]),l.Cb(9,2342912,null,4,F.k,[l.y,l.j,l.p,[8,null],[2,s.b],a.d,h.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,1,{_contentColumnDefs:1}),l.Ub(603979776,2,{_contentRowDefs:1}),l.Ub(603979776,3,{_contentHeaderRowDefs:1}),l.Ub(603979776,4,{_contentFooterRowDefs:1}),(t()(),l.Db(14,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(16,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,5,{cell:0}),l.Ub(603979776,6,{headerCell:0}),l.Ub(603979776,7,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Ve)),l.Cb(22,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[6,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,qe)),l.Cb(25,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[5,4]],N.b,null,[F.b]),(t()(),l.Db(27,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(29,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,8,{cell:0}),l.Ub(603979776,9,{headerCell:0}),l.Ub(603979776,10,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,We)),l.Cb(35,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[9,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,$e)),l.Cb(38,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[8,4]],N.b,null,[F.b]),(t()(),l.Db(40,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(42,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,11,{cell:0}),l.Ub(603979776,12,{headerCell:0}),l.Ub(603979776,13,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Xe)),l.Cb(48,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[12,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Ke)),l.Cb(51,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[11,4]],N.b,null,[F.b]),(t()(),l.Db(53,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[F.c]),l.Cb(55,16384,null,3,F.c,[],{name:[0,"name"]},null),l.Ub(603979776,14,{cell:0}),l.Ub(603979776,15,{headerCell:0}),l.Ub(603979776,16,{footerCell:0}),l.Tb(2048,[[1,4]],N.d,null,[F.c]),(t()(),l.sb(0,null,null,2,null,Je)),l.Cb(61,16384,null,0,F.f,[l.U],null,null),l.Tb(2048,[[15,4]],N.j,null,[F.f]),(t()(),l.sb(0,null,null,2,null,Qe)),l.Cb(64,16384,null,0,F.b,[l.U],null,null),l.Tb(2048,[[14,4]],N.b,null,[F.b]),(t()(),l.sb(0,null,null,2,null,Ze)),l.Cb(67,540672,null,0,F.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[3,4]],N.l,null,[F.h]),(t()(),l.sb(0,null,null,2,null,tn)),l.Cb(70,540672,null,0,F.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[2,4]],N.n,null,[F.j])],(function(t,e){var n=e.component;t(e,3,0,"warn"),t(e,6,0,"add"),t(e,9,0,n.dataSource),t(e,16,0,"userListening"),t(e,29,0,"name"),t(e,42,0,"type"),t(e,55,0,"operation"),t(e,67,0,n.displayedColumns),t(e,70,0,n.displayedColumns)}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode)}))}function nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-form",[],null,null,null,Be,Se)),l.Cb(2,114688,null,0,we,[l.j,at.a,ne.a,Ct.a,wt.a,jt.a,Pe.a,xe.a],{notificationType:[0,"notificationType"]},null)],(function(t,e){t(e,2,0,e.component.notificationTypeSelected)}),null)}function ln(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,en)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,nn)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"listTypeNotification"==n.currentPage),t(e,3,0,"formNotification"==n.currentPage)}),null)}var rn=n("svHU"),on=n("YGmB"),an=n("7/LY"),sn=n("w+w1");class un{constructor(t,e,n,l){this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.aircraftEndpointService=l}ngOnInit(){console.log(this.notification)}focusOnAircraft(t){this.aircraftEndpointService.aircraftControllerGetAircrafts({icaos:[t]}).subscribe(t=>{if(t&&t.data&&t.data[0]){const e=this.trafficService.addAircraft(new sn.a(t.data[0]));this.mapService.recenterMap([e.longitude,e.latitude]),this.selectAircraftService.selectAircraft(e)}})}}var cn=n("xhS3"),dn=l.Bb({encapsulation:0,styles:[["hr[_ngcontent-%COMP%]{background-color:#3880ff}.notification-view[_ngcontent-%COMP%]{padding:10px}.notification-view[_ngcontent-%COMP%] .notification-desc[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-aircraft[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-autopilot[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-time[_ngcontent-%COMP%], .notification-view[_ngcontent-%COMP%] .notification-view-title[_ngcontent-%COMP%]{display:flex}.notification-view[_ngcontent-%COMP%] .aircraftIcaoRow[_ngcontent-%COMP%]{display:inline-flex}.notification-view[_ngcontent-%COMP%] .aircraftIcaoRow[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{margin-left:10px}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{width:50%}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:14px}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#666;font-size:11px;text-transform:uppercase}.notification-view[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(1n+2){color:var(--ion-color-primary)}"]],data:{}});function hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["End at"])),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(4,null,["",""]))],null,(function(t,e){t(e,4,0,e.component.notification.endAt)}))}function pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","notification-desc"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Squawk"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,["",""]))],null,(function(t,e){t(e,5,0,e.component.notification.data.squawk)}))}function fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","notification-desc"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Area"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,["",""]))],null,(function(t,e){t(e,5,0,e.context.$implicit.name)}))}function bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,fn)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.notification.data)}),null)}function mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,15,"div",[["class","notification-desc"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Estimate time"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,[""," s"])),(t()(),l.Db(6,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Area"])),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(10,null,["",""])),(t()(),l.Db(11,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Prop"])),(t()(),l.Db(14,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(15,null,[""," %"]))],null,(function(t,e){t(e,5,0,e.context.$implicit.second),t(e,10,0,e.context.$implicit.name),t(e,15,0,e.context.$implicit.probability)}))}function gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,mn)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.notification.data)}),null)}function _n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VSI"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,[""," ft/min "]))],null,(function(t,e){t(e,5,0,e.component.notification.data.vsi)}))}function yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit)}))}function An(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["CALLSIGN"])),(t()(),l.Db(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(5,null,[""," "])),(t()(),l.sb(16777216,null,null,1,null,yn)),l.Cb(7,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,7,0,e.component.notification.data.error)}),(function(t,e){t(e,5,0,e.component.notification.data.callsign)}))}function vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,44,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Last notification update"])),(t()(),l.Db(5,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(6,null,["",""])),(t()(),l.Db(7,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,10,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current altitude"])),(t()(),l.Db(12,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(13,null,["",""])),(t()(),l.Db(14,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current altitude MCP (target)"])),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(18,null,["",""])),(t()(),l.Db(19,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,12,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(21,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current position"])),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(25,null,["longitude : ",""])),(t()(),l.Db(26,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(27,null,["latitude : ",""])),(t()(),l.Db(28,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(29,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current VSI"])),(t()(),l.Db(31,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(32,null,["",""])),(t()(),l.Db(33,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(34,0,null,null,10,"div",[["class","notification-view-autopilot"]],null,null,null,null,null)),(t()(),l.Db(35,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(36,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Previous engaged modes"])),(t()(),l.Db(38,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(39,null,[""," "])),(t()(),l.Db(40,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(41,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Current engaged modes"])),(t()(),l.Db(43,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(44,null,[""," "]))],null,(function(t,e){var n=e.component;t(e,6,0,n.notification.updatedAt),t(e,13,0,n.notification.data.currentAltitude),t(e,18,0,n.notification.data.currentNavAltitudeMcp),t(e,25,0,n.notification.data.currentLongitude),t(e,27,0,n.notification.data.currentLatitude),t(e,32,0,n.notification.data.currentVSI),t(e,39,0,n.notification.data.previousNavModes.join("+")),t(e,44,0,n.notification.data.currentNavModes.join("+"))}))}function Cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit)}))}function wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Cn)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.notification.data.conditions)}),null)}function Pn(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,44,"div",[["class","notification-view"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,10,"div",[["class","notification-view-title"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Name"])),(t()(),l.Db(5,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(6,null,["",""])),(t()(),l.Db(7,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Type"])),(t()(),l.Db(10,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(11,null,["",""])),(t()(),l.Db(12,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,7,"div",[["class","notification-view-aircraft"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Aircraft"])),(t()(),l.Db(17,0,null,null,3,"p",[["class","aircraftIcaoRow"]],null,null,null,null,null)),(t()(),l.Wb(18,null,[" "," "])),(t()(),l.Db(19,0,null,null,1,"ion-icon",[["md","md-locate"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.focusOnAircraft(i.notification.aircraftIcao)&&l),l}),i.y,i.g)),l.Cb(20,49152,null,0,r.A,[l.j,l.p,l.G],{md:[0,"md"]},null),(t()(),l.Db(21,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,7,"div",[["class","notification-view-time"]],null,null,null,null,null)),(t()(),l.Db(23,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Start at"])),(t()(),l.Db(26,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(27,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,hn)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(30,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,pn)),l.Cb(32,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bn)),l.Cb(34,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gn)),l.Cb(36,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,_n)),l.Cb(38,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,An)),l.Cb(40,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,vn)),l.Cb(42,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,wn)),l.Cb(44,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,20,0,"md-locate"),t(e,29,0,"prediction_prohibited_area"!=n.notification.type.type),t(e,32,0,"squawk"==n.notification.type.type),t(e,34,0,"prohibited_area"==n.notification.type.type),t(e,36,0,"prediction_prohibited_area"==n.notification.type.type),t(e,38,0,"altitude_variation"==n.notification.type.type),t(e,40,0,"flight_plan"==n.notification.type.type),t(e,42,0,"autopilot"==n.notification.type.type),t(e,44,0,"presence"==n.notification.type.type)}),(function(t,e){var n=e.component;t(e,6,0,n.notification.type.name),t(e,11,0,n.notification.type.type),t(e,18,0,n.notification.aircraftIcao),t(e,27,0,n.notification.startAt)}))}var xn=n("Hq+i");n.d(e,"a",(function(){return Nn}));var Sn=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content} .mat-dialog-content{margin:0;padding:0}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}.back-button[_ngcontent-%COMP%]{float:left;color:#fff;background-color:transparent;margin-left:10px;font-size:25px;margin-top:14px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.settings-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:30px;font-size:25px;margin-top:14px}"]],data:{}});function kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","back-button"],["name","arrow-round-back"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToList()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"arrow-round-back")}),null)}function Mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","settings-button"],["name","trash"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.deleteNotification()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"trash")}),null)}function On(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","settings-button"],["name","settings"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToParam()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"settings")}),null)}function Dn(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","notification-list"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(1,4866048,null,3,o.c,[l.p,[3,o.b],a.d,l.G,l.Y,o.a,[2,s.b],o.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,o.l,null,[o.c]),l.Cb(6,147456,[[1,4]],0,o.d,[l.p,[2,o.l]],null,null),l.Cb(7,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["LIST NOTIFICATIONS"])),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,".cdk-overlay-pane"),t(e,7,0,"notification-list")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1)._dragRef.isDragging(),l.Pb(e,7).id)}))}function Tn(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","notification-param"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(1,4866048,null,3,o.c,[l.p,[3,o.b],a.d,l.G,l.Y,o.a,[2,s.b],o.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,4,{_handles:1}),l.Ub(603979776,5,{_previewTemplate:0}),l.Ub(603979776,6,{_placeholderTemplate:0}),l.Tb(2048,null,o.l,null,[o.c]),l.Cb(6,147456,[[4,4]],0,o.d,[l.p,[2,o.l]],null,null),l.Cb(7,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["PARAM NOTIFICATIONS"])),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,".cdk-overlay-pane"),t(e,7,0,"notification-param")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1)._dragRef.isDragging(),l.Pb(e,7).id)}))}function En(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","notification-views"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(1,4866048,null,3,o.c,[l.p,[3,o.b],a.d,l.G,l.Y,o.a,[2,s.b],o.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,7,{_handles:1}),l.Ub(603979776,8,{_previewTemplate:0}),l.Ub(603979776,9,{_placeholderTemplate:0}),l.Tb(2048,null,o.l,null,[o.c]),l.Cb(6,147456,[[7,4]],0,o.d,[l.p,[2,o.l]],null,null),l.Cb(7,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["NOTIFICATION"])),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,".cdk-overlay-pane"),t(e,7,0,"notification-views")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1)._dragRef.isDragging(),l.Pb(e,7).id)}))}function In(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-list",[],null,[[null,"selectNotif"]],(function(t,e,n){var l=!0;return"selectNotif"===e&&(l=!1!==t.component.goToNotif(n)&&l),l}),R,T)),l.Cb(2,4308992,null,0,O,[M.a,D.a],null,{selectNotif:"selectNotif"})],(function(t,e){t(e,2,0)}),null)}function Ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-param",[],null,null,null,ln,He)),l.Cb(2,114688,null,0,Ge,[M.a,ne.a,ze.a,l.j],null,null)],(function(t,e){t(e,2,0)}),null)}function jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-notification-view",[],null,null,null,Pn,dn)),l.Cb(2,114688,null,0,un,[rn.a,on.a,an.b,cn.a],{notification:[0,"notification"]},null)],(function(t,e){t(e,2,0,e.component.selectNotif)}),null)}function Rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(16777216,null,null,1,null,kn)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Mn)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,On)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Dn)),l.Cb(9,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Tn)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,En)),l.Cb(13,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(14,0,null,null,7,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(15,16384,null,0,u.j,[],null,null),(t()(),l.sb(16777216,null,null,1,null,In)),l.Cb(17,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ln)),l.Cb(19,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,jn)),l.Cb(21,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0,"viewNotification"==n.currentPage||"paramNotification"==n.currentPage),t(e,5,0,"viewNotification"==n.currentPage),t(e,7,0,"listNotification"==n.currentPage),t(e,9,0,"listNotification"==n.currentPage),t(e,11,0,"paramNotification"==n.currentPage),t(e,13,0,"viewNotification"==n.currentPage),t(e,17,0,"listNotification"==n.currentPage),t(e,19,0,"paramNotification"==n.currentPage),t(e,21,0,"viewNotification"==n.currentPage)}),null)}function Fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"notifications-dialog",[],null,null,null,Rn,Sn)),l.Cb(1,114688,null,0,xn.a,[u.l,u.a,D.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Nn=l.zb("notifications-dialog",xn.a,Fn,{},{},[])},"3E0/":function(t,e,n){"use strict";var l=n("D0XW"),i=n("7o/Q"),r=n("WMd4");function o(t,e=l.a){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new a(i,e))}n.d(e,"a",(function(){return o}));class a{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new s(t,this.delay,this.scheduler))}}class s extends i.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,l=t.scheduler,i=t.destination;for(;n.length>0&&n[0].time-l.now()<=0;)n.shift().notification.observe(i);if(n.length>0){const e=Math.max(0,n[0].time-l.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(s.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new u(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(r.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(r.a.createComplete()),this.unsubscribe()}}class u{constructor(t,e){this.time=t,this.notification=e}}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},l=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];t.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:l,longMonthsParse:l,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(t,e,n){"use strict";var l=n("quSY");class i extends l.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,"a",(function(){return r}));class r extends i{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,l=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(l,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(l,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,l=void 0;try{this.work(t)}catch(i){n=!0,l=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),l}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,l=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&n.splice(l,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3TKY":function(t,e,n){"use strict";var l,i=n("n15R"),r=n("6Y3p"),o=n("CvXi"),a=n("BF0p"),s=n("9iPr"),u=n("u2yf"),c=n("94wz"),d=n("3er3"),h=n("ZXPP"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n,l,i){var r=t.call(this)||this;return r.tolerance=e,r.maxExtent=n,r.pixelRatio=i,r.maxLineWidth=0,r.resolution=l,r.beginGeometryInstruction1_=null,r.beginGeometryInstruction2_=null,r.bufferedMaxExtent_=null,r.instructions=[],r.coordinates=[],r.tmpCoordinate_=[],r.hitDetectionInstructions=[],r.state={},r}return p(e,t),e.prototype.applyPixelRatio=function(t){var e=this.pixelRatio;return 1==e?t:t.map((function(t){return t*e}))},e.prototype.appendFlatCoordinates=function(t,e,n,l,i,r){var s=this.coordinates.length,u=this.getBufferedMaxExtent();r&&(e+=l);var c,d,h,p=t[e],f=t[e+1],b=this.tmpCoordinate_,m=!0;for(c=e+l;c<n;c+=l)b[0]=t[c],b[1]=t[c+1],(h=Object(o.i)(u,b))!==d?(m&&(this.coordinates[s++]=p,this.coordinates[s++]=f),this.coordinates[s++]=b[0],this.coordinates[s++]=b[1],m=!1):h===a.a.INTERSECTING?(this.coordinates[s++]=b[0],this.coordinates[s++]=b[1],m=!1):m=!0,p=b[0],f=b[1],d=h;return(i&&m||c===e+l)&&(this.coordinates[s++]=p,this.coordinates[s++]=f),s},e.prototype.drawCustomCoordinates_=function(t,e,n,l,i){for(var r=0,o=n.length;r<o;++r){var a=n[r],s=this.appendFlatCoordinates(t,e,a,l,!1,!1);i.push(s),e=a}return e},e.prototype.drawCustom=function(t,e,n){this.beginGeometry(t,e);var l,i,r,o,a,c=t.getType(),d=t.getStride(),p=this.coordinates.length;if(c==s.a.MULTI_POLYGON){l=(t=t).getOrientedFlatCoordinates(),o=[];var f=t.getEndss();a=0;for(var b=0,m=f.length;b<m;++b){var g=[];a=this.drawCustomCoordinates_(l,a,f[b],d,g),o.push(g)}this.instructions.push([h.c.CUSTOM,p,o,t,n,u.c])}else c==s.a.POLYGON||c==s.a.MULTI_LINE_STRING?(r=[],l=c==s.a.POLYGON?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),a=this.drawCustomCoordinates_(l,0,t.getEnds(),d,r),this.instructions.push([h.c.CUSTOM,p,r,t,n,u.b])):c==s.a.LINE_STRING||c==s.a.MULTI_POINT?(l=t.getFlatCoordinates(),i=this.appendFlatCoordinates(l,0,l.length,d,!1,!1),this.instructions.push([h.c.CUSTOM,p,i,t,n,u.a])):c==s.a.POINT&&(l=t.getFlatCoordinates(),this.coordinates.push(l[0],l[1]),this.instructions.push([h.c.CUSTOM,p,i=this.coordinates.length,t,n]));this.endGeometry(e)},e.prototype.beginGeometry=function(t,e){var n=t.getExtent();this.beginGeometryInstruction1_=[h.c.BEGIN_GEOMETRY,e,0,n],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[h.c.BEGIN_GEOMETRY,e,0,n],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},e.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},e.prototype.reverseHitDetectionInstructions=function(){var t,e=this.hitDetectionInstructions;e.reverse();var n,l,r=e.length,o=-1;for(t=0;t<r;++t)(l=(n=e[t])[0])==h.c.END_GEOMETRY?o=t:l==h.c.BEGIN_GEOMETRY&&(n[2]=t,Object(i.h)(this.hitDetectionInstructions,o,t),o=-1)},e.prototype.setFillStrokeStyle=function(t,e){var n=this.state;if(t){var l=t.getColor();n.fillStyle=Object(r.a)(l||d.c)}else n.fillStyle=void 0;if(e){var i=e.getColor();n.strokeStyle=Object(r.a)(i||d.l);var o=e.getLineCap();n.lineCap=void 0!==o?o:d.e;var a=e.getLineDash();n.lineDash=a?a.slice():d.f;var s=e.getLineDashOffset();n.lineDashOffset=s||d.g;var u=e.getLineJoin();n.lineJoin=void 0!==u?u:d.h;var c=e.getWidth();n.lineWidth=void 0!==c?c:d.i;var h=e.getMiterLimit();n.miterLimit=void 0!==h?h:d.j,n.lineWidth>this.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0},e.prototype.createFill=function(t){var e=t.fillStyle,n=[h.c.SET_FILL_STYLE,e];return"string"!=typeof e&&n.push(!0),n},e.prototype.applyStroke=function(t){this.instructions.push(this.createStroke(t))},e.prototype.createStroke=function(t){return[h.c.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(t,e){var n=t.fillStyle;"string"==typeof n&&t.currentFillStyle==n||(void 0!==n&&this.instructions.push(e.call(this,t)),t.currentFillStyle=n)},e.prototype.updateStrokeStyle=function(t,e){var n=t.strokeStyle,l=t.lineCap,r=t.lineDash,o=t.lineDashOffset,a=t.lineJoin,s=t.lineWidth,u=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=l||r!=t.currentLineDash&&!Object(i.b)(t.currentLineDash,r)||t.currentLineDashOffset!=o||t.currentLineJoin!=a||t.currentLineWidth!=s||t.currentMiterLimit!=u)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=l,t.currentLineDash=r,t.currentLineDashOffset=o,t.currentLineJoin=a,t.currentLineWidth=s,t.currentMiterLimit=u)},e.prototype.endGeometry=function(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var e=[h.c.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Object(o.d)(this.maxExtent),this.maxLineWidth>0)){var t=this.resolution*(this.maxLineWidth+1)/2;Object(o.c)(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(c.a);e.a=f},"3UWI":function(t,e,n){"use strict";var l=n("D0XW"),i=n("zx2A");class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends i.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const l=Object(i.c)(n,new i.a(this));!l||l.closed?this.clearThrottle():this.add(this.throttled=l)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function s(t,e=l.a){return n=()=>Object(a.a)(t,e),function(t){return t.lift(new r(n))};var n}n.d(e,"a",(function(){return s}))},"3er3":function(t,e,n){"use strict";n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return b})),n.d(e,"j",(function(){return m})),n.d(e,"l",(function(){return g})),n.d(e,"m",(function(){return _})),n.d(e,"n",(function(){return y})),n.d(e,"k",(function(){return A})),n.d(e,"i",(function(){return v})),n.d(e,"a",(function(){return C})),n.d(e,"p",(function(){return w})),n.d(e,"t",(function(){return O})),n.d(e,"r",(function(){return D})),n.d(e,"q",(function(){return I})),n.d(e,"s",(function(){return L})),n.d(e,"u",(function(){return j})),n.d(e,"o",(function(){return R})),n.d(e,"b",(function(){return N}));var l=n("zX6e"),i=n("CZmH"),r=n("OPOH"),o=n("4mld"),a=n("DsAt"),s=n("YX0d"),u=n("qJZF"),c="10px sans-serif",d="#000",h="round",p=[],f=0,b="round",m=10,g="#000",_="center",y="middle",A=[0,0,0,0],v=1,C=new o.a,w=new a.a;w.setSize=function(){console.warn("labelCache is deprecated.")};var P,x,S,k=null,M={},O=function(){var t,e,n=["monospace","serif"],i=n.length,o="wmytzilWMYTZIL@#/&?$%10\uf013";function a(t,l,r){for(var a=!0,s=0;s<i;++s){var u=n[s];if(e=E(t+" "+l+" 32px "+u,o),r!=u){var c=E(t+" "+l+" 32px "+r+","+u,o);a=a&&c!=e}}return!!a}function s(){for(var e=!0,n=C.getKeys(),l=0,i=n.length;l<i;++l){var o=n[l];C.get(o)<100&&(a.apply(this,o.split("\n"))?(Object(r.b)(M),k=null,P=void 0,C.set(o,100)):(C.set(o,C.get(o)+1,!0),e=!1))}e&&(clearInterval(t),t=void 0)}return function(e){var n=Object(l.f)(e);if(n)for(var i=n.families,r=0,o=i.length;r<o;++r){var u=i[r],c=n.style+"\n"+n.weight+"\n"+u;void 0===C.get(c)&&(C.set(c,100,!0),a(n.style,n.weight,u)||(C.set(c,0,!0),void 0===t&&(t=setInterval(s,32))))}}}(),D=(S=M,function(t){var e=S[t];if(null==e)if(s.g){var n=Object(l.f)(t),i=T(t,"\u017dg"),r=isNaN(Number(n.lineHeight))?1.2:Number(n.lineHeight);M[t]=r*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else x||((x=document.createElement("div")).innerHTML="M",x.style.margin="0 !important",x.style.padding="0 !important",x.style.position="absolute !important",x.style.left="-99999px !important"),x.style.font=t,document.body.appendChild(x),S[t]=e=x.offsetHeight,document.body.removeChild(x);return e});function T(t,e){return k||(k=Object(i.a)(1,1)),t!=P&&(k.font=t,P=k.font),k.measureText(e)}function E(t,e){return T(t,e).width}function I(t,e,n){if(e in n)return n[e];var l=E(t,e);return n[e]=l,l}function L(t,e,n){for(var l=e.length,i=0,r=0;r<l;++r){var o=E(t,e[r]);i=Math.max(i,o),n.push(o)}return i}function j(t,e,n,l){0!==e&&(t.translate(n,l),t.rotate(e),t.translate(-n,-l))}function R(t,e,n,l,i,r,o,a,s,u,c){t.save(),1!==n&&(t.globalAlpha*=n),e&&t.setTransform.apply(t,e),l.contextInstructions?(t.translate(s,u),t.scale(c,c),function(t,e){for(var n=t.contextInstructions,l=0,i=n.length;l<i;l+=2)Array.isArray(n[l+1])?e[n[l]].apply(e,n[l+1]):e[n[l]]=n[l+1]}(l,t)):t.drawImage(l,i,r,o,a,s,u,o*c,a*c),t.restore()}var F=null;function N(t){return s.g?Object(u.k)(t):(F||(F=Object(i.a)(1,1).canvas),F.style.transform=Object(u.k)(t),F.style.transform)}},"3mbo":function(t,e,n){"use strict";var l=n("Pmt0"),i=n("WDFe"),r=n("TN97"),o=n("JW8z"),a=n("egkh"),s=n("R+T3"),u=n("BxA5"),c=n("aY/Z"),d=n("bHcU"),h=n("g6Z0"),p=n("hoJM"),f=n("gpXz"),b=n("WVt+"),m=n("wd/R"),g=n("eQqr");function _(t,e=!1){const n=Object(g.b)(t);let l;return l=!1===e?Math.round(n/1852*10)/10+" NM | "+Math.round(n/1e3*10)/10+" Km":n/1e3,l}function y(t,e){const n=t.getFirstCoordinate(),l=t.getLastCoordinate(),i=Math.round((450-180*Math.atan2(l[1]-n[1],l[0]-n[0])/Math.PI)%360),r=i<180?i+180:i-180,a=r>0&&r<=180?"\u21fe":"\u21fd";let s=`${i>0&&i<=180?"\u21fe":"\u21fd"} ${i}\xb0 | ${_(t)}`;if(e&&(e.aircraftA||e.aircraftB)){const t=e.aircraftA?null:Object(o.m)(n),i=e.aircraftB?null:Object(o.m)(l),r=function(t,e){if("number"!=typeof t.longitude||"number"!=typeof t.latitude||"number"!=typeof e.longitude||"number"!=typeof e.latitude||"number"!=typeof t.speed||"number"!=typeof e.speed||"number"!=typeof t.track||"number"!=typeof e.track)return null;const n="number"==typeof t.track?t.track:e.track,l=b.point([t.longitude,t.latitude]),i=b.point([e.longitude,e.latitude]),r=A(t.speed),o=A(e.speed),a=b.distance(i,l),s=n-(b.bearing(i,l)+180),u=s>=0?s:-s,c=(u>180?360-u:u)*Math.PI/180,d=r>=o?o:r,h=r<=o?o:r;return a/(Math.cos(c)*d+Math.sqrt(Math.pow(h,2)-Math.pow(Math.sin(c),2)*Math.pow(d,2)))}(e.aircraftA||{longitude:t[0],latitude:t[1],speed:0,track:0},e.aircraftB||{longitude:i[0],latitude:i[1],speed:0,track:0}),a=60*r*1e3;s+=" | "+("number"==typeof r?m.utc(a).format("m['] ss[\"]"):"Unknown ("+r+")")}return s+=` | ${a} ${r}\xb0`,s}function A(t){return 1.852*t/60}function v(t,e){const n=_(e,!0),l=t[0].speed||t[1].speed;return l>0?Math.round(n/(1.852*l)*60*100)/100:null}function C(t,e=0,n=0,l){let i={isStatic:!0,position:e,distanceInMeters:n,coordinates:t};return l&&(i.isStatic=!1,i.icao=l),i}class w extends r.a{constructor(t,e,n,l){super(),this.maxDurationConsiderationInMinutesForReachedWaypoints=.5,this.waypoints=[],this.isStatic=!0,this.released=!1,super.setId(m().valueOf()),this.waypoints[0]=C(n,0,0,l),!1===this.waypoints[0].isStatic&&!0===this.isStatic&&(this.isStatic=this.waypoints[0].isStatic),this.updateGeometryAndStyle(n),this.createPopup(),this.createPopupCloseElement(t,e)}updateGeometryAndStyle(t,e){const n=this.waypointsToSphericalLineString(t);super.setGeometry(n);const l=this.getMeasureFeatureStyle(e);super.setStyle(l)}updateMouseCoordinates(t){this.updateGeometryAndStyle(t),this.updatePopup()}addWaypoint(t,e){const n=C(t,this.waypoints.length,0,e);!1===n.isStatic&&!0===this.isStatic&&(this.isStatic=n.isStatic),this.waypoints[this.waypoints.length]=n,this.updateGeometryAndStyle()}updateWaypoint(t,e,n,l,i){const r=Object(o.d)(e);r[0]===this.waypoints[t].coordinates[0]&&r[1]===this.waypoints[t].coordinates[1]||(this.waypoints[t].coordinates=r,n&&this.removeReachedWaypoints(n,l,i),this.updateGeometryAndStyle(void 0,n),this.updatePopup(!0))}removeReachedWaypoints(t,e,n){const l=[];for(let i=0;i<this.waypoints.length;i++)if(this.waypoints[i+1]&&!1===this.waypoints[i].isStatic){const e=[],n=t.aircrafts[this.waypoints[i].icao]||null,r=!1===this.waypoints[i+1].isStatic?t.aircrafts[this.waypoints[i+1].icao]:null;n&&e.push(n),r&&e.push(r);const s=b.point(Object(o.m)(this.waypoints[i].coordinates)),u=b.point(Object(o.m)(this.waypoints[i+1].coordinates)),c=b.greatCircle(s,u).geometry.coordinates.map(t=>Object(o.d)(t));v(e,new a.a(c))<this.maxDurationConsiderationInMinutesForReachedWaypoints&&l.push(i+1)}l.forEach(t=>this.removeWaypoint(t,e,n))}removeWaypoint(t,e,n){this.waypoints.splice(t,1),this.waypoints.length>=2?this.updateGeometryAndStyle():this.removeFeature(e,n)}removeFeature(t,e){return t.removeOverlay(this.popupOverlay),e.removeFeature(this)}releaseMeasure(t,e){if(1===this.waypoints.length)return this.removeFeature(t,e);this.updateGeometryAndStyle(),this.updatePopup(!0),this.released=!0}waypointsToSphericalLineString(t){const e=[];for(let n=0;n<this.waypoints.length;n++)if(this.waypoints[n+1]){const t=b.point(Object(o.m)(this.waypoints[n].coordinates)),l=b.point(Object(o.m)(this.waypoints[n+1].coordinates)),i=b.greatCircle(t,l);e.push([...i.geometry.coordinates.map(t=>Object(o.d)(t))])}else if(t){const l=b.point(Object(o.m)(this.waypoints[n].coordinates)),i=b.point(Object(o.m)(t)),r=b.greatCircle(l,i);e.push([...r.geometry.coordinates.map(t=>Object(o.d)(t))])}return new s.a(e)}getMeasureFeatureStyle(t){const e=super.getGeometry(),n=[new d.b({stroke:new p.a({color:"rgba( 0, 0, 0, 0.8 )",lineDash:[10,10],width:4})})];let l=0;return e.getCoordinates().forEach(e=>{const i=new a.a(e);let r;r=String(this.waypoints[l+1]&&t&&(!1===this.waypoints[l].isStatic||!1===this.waypoints[l+1].isStatic)?y(i,{aircraftA:(!1===this.waypoints[l].isStatic?t.aircrafts[this.waypoints[l].icao]:null)||null,aircraftB:(!1===this.waypoints[l+1].isStatic?t.aircrafts[this.waypoints[l+1].icao]:null)||null}):y(i)),n.push(new d.b({geometry:i,text:new f.a({text:r,font:"16px sans-serif",placement:"line",textBaseline:"bottom",overflow:!0,fill:new h.a({color:"#000000"})})})),l+=1}),n}updatePopup(t=!1){this.popupElement.innerHTML=String(_(super.getGeometry())),this.popupOverlay.setPosition(super.getGeometry().getLastCoordinate()),!0===t&&this.popupElement.appendChild(this.popupCloseElement)}createPopup(){this.popupElement=document.createElement("div"),this.popupElement.className="measure-layer__tooltip measure-layer__tooltip--measure",this.popupOverlay=new u.a({id:super.getId(),element:this.popupElement,offset:[0,-15],positioning:c.a.BOTTOM_CENTER,stopEvent:!0}),this.popupElement.innerHTML=String(_(super.getGeometry())),this.popupOverlay.setPosition(super.getGeometry().getLastCoordinate())}createPopupCloseElement(t,e){const n=function(){const t=document.createElement("ion-icon");return t.name="md-close",t.style.padding="0",t.style.marginRight="-8px",t.style.marginTop="-4px",t.style.marginBottom="-4px",t.style.borderTopRightRadius="4px",t.style.borderBottomRightRadius="4px",t.style.fontSize="16px",t.style.marginLeft="4px",t.style.color="inherit",t.style.backgroundColor="rgba( 0, 0, 0, 0 )",t.addEventListener("mouseover",()=>{t.style.backgroundColor="rgba( 0, 0, 0, 0.3 )"}),t.addEventListener("mouseout",()=>{t.style.backgroundColor="rgba( 0, 0, 0, 0 )"}),t}(),l=this.popupOverlay,i=this;n.addEventListener("click",()=>{t.removeOverlay(l),e.removeFeature(i)}),this.popupCloseElement=n}getGeometry(){return super.getGeometry()}}var P=n("svHU"),x=n("YGmB"),S=n("EDvw"),k=n("8Y7J");n.d(e,"a",(function(){return M}));let M=(()=>{class t{constructor(t,e){this.mapService=t,this.trafficService=e,this.updateAircraftCoordinates()}initLayer(){this.source=new i.a({features:[]}),this.layer=new l.a({name:"Measures",source:this.source,updateWhileAnimating:!0,updateWhileInteracting:!0,zIndex:9999}),this.mapService.addLayerToGroup("GENERAL",this.layer)}startMeasure(t,e){const n=this.checkIfWaypointIsAnAircraft(e);this.measureInProgress=new w(this.mapService.getMap(),this.source,t,n),this.source.addFeature(this.measureInProgress),this.mapService.getMap().addOverlay(this.measureInProgress.popupOverlay)}updateMeasure(t){this.measureInProgress.updateMouseCoordinates(t)}doneMeasure(){this.measureInProgress.releaseMeasure(this.mapService.getMap(),this.source),this.measureInProgress=void 0}addWaypoint(t,e){const n=this.checkIfWaypointIsAnAircraft(e);this.measureInProgress.addWaypoint(t,n)}checkIfWaypointIsAnAircraft(t){let e=null;return this.mapService.getMap().forEachFeatureAtPixel(t,(t,n)=>{!e&&this.isTrafficLayer(n)&&t instanceof S.a&&(e=t.getAircraft())},{hitTolerance:10}),e?e.icao:null}isTrafficLayer(t){return!!t&&!!t.get("name")&&"aircraft"===t.get("name").split(":")[0]}updateAircraftCoordinates(){setInterval(()=>{this.source&&!this.measureInProgress&&this.source.forEachFeature(t=>{this.trafficService&&!1===t.isStatic&&!0===t.released&&t.waypoints.forEach(e=>{if(!1===e.isStatic){const n=this.trafficService.aircrafts[e.icao];n&&t.updateWaypoint(e.position,[n.longitude,n.latitude],this.trafficService,this.mapService.getMap(),this.source)}})})},333)}}return t.ngInjectableDef=k.cc({factory:function(){return new t(k.dc(P.a),k.dc(x.a))},token:t,providedIn:"root"}),t})()},"3y7P":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}vehicleControllerGetFull$Response(e){const n=new o.a(this.rootUrl,t.VehicleControllerGetFullPath,"get");return e&&n.query("matchKey",e.matchKey),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}vehicleControllerGetFull(t){return this.vehicleControllerGetFull$Response(t).pipe(Object(s.a)(t=>t.body))}vehicleControllerExportCsv$Response(e){const n=new o.a(this.rootUrl,t.VehicleControllerExportCsvPath,"get");return this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}vehicleControllerExportCsv(t){return this.vehicleControllerExportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}vehicleControllerImportCsv$Response(e){const n=new o.a(this.rootUrl,t.VehicleControllerImportCsvPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}vehicleControllerImportCsv(t){return this.vehicleControllerImportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseVehicleControllerVehiclePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseVehicleControllerVehicle(t){return this.getOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseVehicleControllerVehiclePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseVehicleControllerVehicle(t){return this.replaceOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseVehicleControllerVehiclePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseVehicleControllerVehicle(t){return this.deleteOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseVehicleControllerVehiclePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseVehicleControllerVehicle(t){return this.updateOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseVehicleControllerVehiclePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseVehicleControllerVehicle(t){return this.getManyBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseVehicleControllerVehiclePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseVehicleControllerVehicle(t){return this.createOneBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseVehicleControllerVehicle$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseVehicleControllerVehiclePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseVehicleControllerVehicle(t){return this.createManyBaseVehicleControllerVehicle$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.VehicleControllerGetFullPath="/vehicle/full",t.VehicleControllerExportCsvPath="/vehicle/export",t.VehicleControllerImportCsvPath="/vehicle/import",t.GetOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.ReplaceOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.DeleteOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.UpdateOneBaseVehicleControllerVehiclePath="/vehicle/{id}",t.GetManyBaseVehicleControllerVehiclePath="/vehicle",t.CreateOneBaseVehicleControllerVehiclePath="/vehicle",t.CreateManyBaseVehicleControllerVehiclePath="/vehicle/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"4/Mb":function(t,e,n){var l,i,r;i=[n("d5dl"),n("zeP7"),n("33Yk")],void 0===(r="function"==typeof(l=function(t,e,n){"use strict";return e=e(t),{getConverter:function(t){var e;switch(t.toLowerCase()){case"latlong":e=n.toLatLong;break;case"utm":e=n.toUtm}return e},toLatLong:n.toLatLong,toUtm:e}})?l.apply(e,i):l)||(t.exports=r)},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};t.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"4mld":function(t,e,n){"use strict";n.d(e,"b",(function(){return p}));var l,i=n("EwAT"),r=n("e0/R"),o=n("Nafy"),a=n("zvco"),s=n("OPOH"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.key=n,i.oldValue=l,i}return u(e,t),e}(a.a),d=function(t){function e(e){var n=t.call(this)||this;return Object(i.c)(n),n.values_={},void 0!==e&&n.setProperties(e),n}return u(e,t),e.prototype.get=function(t){var e;return this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e},e.prototype.getKeys=function(){return Object.keys(this.values_)},e.prototype.getProperties=function(){return Object(s.a)({},this.values_)},e.prototype.notify=function(t,e){var n;n=p(t),this.dispatchEvent(new c(n,t,e)),this.dispatchEvent(new c(n=r.a.PROPERTYCHANGE,t,e))},e.prototype.set=function(t,e,n){if(n)this.values_[t]=e;else{var l=this.values_[t];this.values_[t]=e,l!==e&&this.notify(t,l)}},e.prototype.setProperties=function(t,e){for(var n in t)this.set(n,t[n],e)},e.prototype.unset=function(t,e){if(t in this.values_){var n=this.values_[t];delete this.values_[t],e||this.notify(t,n)}},e}(o.a),h={};function p(t){return h.hasOwnProperty(t)?h[t]:h[t]="change:"+t}e.a=d},"4q72":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t,e){this.dialogRef=t,this.notification=e}ngOnInit(){}goToNotif(){this.dialogRef.close(this.notification)}closeModal(){this.dialogRef.close()}}},"4wAk":function(t,e,n){"use strict";var l,i=n("g1uh"),r=n("GDrd"),o=n("4mld"),a=n("zvco"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.element=n,i.index=l,i}return s(e,t),e}(a.a),c=function(t){function e(e,n){var l=t.call(this)||this;if(l.unique_=!!(n||{}).unique,l.array_=e||[],l.unique_)for(var i=0,r=l.array_.length;i<r;++i)l.assertUnique_(l.array_[i],i);return l.updateLength_(),l}return s(e,t),e.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},e.prototype.extend=function(t){for(var e=0,n=t.length;e<n;++e)this.push(t[e]);return this},e.prototype.forEach=function(t){for(var e=this.array_,n=0,l=e.length;n<l;++n)t(e[n],n,e)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get("length")},e.prototype.insertAt=function(t,e){this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new u(r.a.ADD,e,t))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var e=this.getLength();return this.insertAt(e,t),this.getLength()},e.prototype.remove=function(t){for(var e=this.array_,n=0,l=e.length;n<l;++n)if(e[n]===t)return this.removeAt(n)},e.prototype.removeAt=function(t){var e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new u(r.a.REMOVE,e,t)),e},e.prototype.setAt=function(t,e){var n=this.getLength();if(t<n){this.unique_&&this.assertUnique_(e,t);var l=this.array_[t];this.array_[t]=e,this.dispatchEvent(new u(r.a.REMOVE,l,t)),this.dispatchEvent(new u(r.a.ADD,e,t))}else{for(var i=n;i<t;++i)this.insertAt(i,void 0);this.insertAt(t,e)}},e.prototype.updateLength_=function(){this.set("length",this.array_.length)},e.prototype.assertUnique_=function(t,e){for(var n=0,l=this.array_.length;n<l;++n)if(this.array_[n]===t&&n!==e)throw new i.a(58)},e}(o.a);e.a=c},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("lJxs"),i=n("Cfvw"),r=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>Object(i.a)(t(n,r)).pipe(Object(l.a)((t,l)=>e(n,t,r,l))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new s(t,this.project,this.concurrent))}}class s extends r.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(l){return void this.destination.error(l)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.a(this),n=this.destination;n.add(e);const l=Object(r.c)(t,e);l!==e&&n.add(l)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5Bek":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("XNiG"),o=n("quSY");let a=0;class s{constructor(){this._stateChanges=new r.a,this._openCloseAllActions=new r.a,this.id="cdk-accordion-"+a++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(l.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}let u=0;class c{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=o.a.EMPTY,this.closed=new i.r,this.opened=new i.r,this.destroyed=new i.r,this.expandedChange=new i.r,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(l.c)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}class d{}},"5GAg":function(t,e,n){"use strict";n.d(e,"c",(function(){return A})),n.d(e,"b",(function(){return C})),n.d(e,"g",(function(){return w})),n.d(e,"i",(function(){return M})),n.d(e,"f",(function(){return O})),n.d(e,"j",(function(){return E})),n.d(e,"d",(function(){return I})),n.d(e,"h",(function(){return j})),n.d(e,"e",(function(){return R})),n.d(e,"k",(function(){return F})),n.d(e,"a",(function(){return N}));var l=n("SVse"),i=n("8Y7J"),r=n("XNiG"),o=n("quSY"),a=n("LRne"),s=n("dvZr"),u=n("vkgz"),c=n("Kj3r"),d=n("pLZG"),h=n("lJxs"),p=n("IzEk"),f=n("/HVE"),b=n("KCVW");function m(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let g=0;const _=new Map;let y=null,A=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),_.set(e,{messageElement:e,referenceCount:0})):_.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=_.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}y&&0===y.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");y&&this._deleteMessagesContainer(),_.clear()}_createMessageElement(t){const e=this._document.createElement("div");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),y.appendChild(e),_.set(t,{messageElement:e,referenceCount:0})}_setMessageId(t){t.id||(t.id="cdk-describedby-message-"+g++)}_deleteMessageElement(t){const e=_.get(t),n=e&&e.messageElement;y&&n&&y.removeChild(n),_.delete(t)}_createMessagesContainer(){if(!y){const t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode.removeChild(t),y=this._document.createElement("div"),y.id="cdk-describedby-message-container",y.setAttribute("aria-hidden","true"),y.style.display="none",this._document.body.appendChild(y)}}_deleteMessagesContainer(){y&&y.parentNode&&(y.parentNode.removeChild(y),y=null)}_removeCdkDescribedByReferenceIds(t){const e=m(t,"aria-describedby").filter(t=>0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=_.get(e);!function(t,e,n){const l=m(t,e);l.some(t=>t.trim()==n.trim())||(l.push(n.trim()),t.setAttribute(e,l.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=_.get(e);n.referenceCount--,function(t,e,n){const l=m(t,e).filter(t=>t!=n.trim());l.length?t.setAttribute(e,l.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=m(t,"aria-describedby"),l=_.get(e),i=l&&l.messageElement.id;return!!i&&-1!=n.indexOf(i)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":(""+e).trim(),l=t.getAttribute("aria-label");return!(!n||l&&l.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(l.d))},token:t,providedIn:"root"}),t})();class v{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.a,this.change=new r.a,t instanceof i.L&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(u.a)(t=>this._pressedLetters.push(t)),Object(c.a)(t),Object(d.a)(()=>this._pressedLetters.length>0),Object(h.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const l=(this._activeItemIndex+n)%e.length,i=e[l];if(!this._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(l);break}}this._pressedLetters=[]}),this}setActiveItem(t){const e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case s.p:return void this.tabOut.next();case s.e:if(this._vertical&&n){this.setNextItemActive();break}return;case s.q:if(this._vertical&&n){this.setPreviousItemActive();break}return;case s.n:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case s.j:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(s.t)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=s.a&&e<=s.r||e>=s.s&&e<=s.k)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),l=e[n];this._activeItem=null==l?null:l,this._activeItemIndex=n}updateActiveItemIndex(t){this.updateActiveItem(t)}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const l=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[l]))return void this.setActiveItem(l)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof i.L?this._items.toArray():this._items}}class C extends v{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class w extends v{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let P=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===S(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let l=t.nodeName.toLowerCase(),i=S(t);if(t.hasAttribute("contenteditable"))return-1!==i;if("iframe"===l)return!1;if("audio"===l){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===l){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==l||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||x(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(f.a))},token:t,providedIn:"root"}),t})();function x(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function S(t){if(!x(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class k{constructor(t,e,n,l,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=l,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Object(i.hb)()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let M=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new k(t,this._checker,this._ngZone,this._document,e)}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(P),Object(i.dc)(i.G),Object(i.dc)(l.d))},token:t,providedIn:"root"}),t})();class O{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(b.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(b.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}const D=new i.w("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),T=new i.w("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let E=(()=>{class t{constructor(t,e,n,l){this._ngZone=e,this._defaultOptions=l,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let l,i;return 1===e.length&&"number"==typeof e[0]?i=e[0]:[l,i]=e,this.clear(),clearTimeout(this._previousTimeout),l||(l=n&&n.politeness?n.politeness:"polite"),null==i&&n&&(i=n.duration),this._liveElement.setAttribute("aria-live",l),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof i&&(this._previousTimeout=setTimeout(()=>this.clear(),i))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(D,8),Object(i.dc)(i.G),Object(i.dc)(l.d),Object(i.dc)(T,8))},token:t,providedIn:"root"}),t})();class I{constructor(t,e,n,l){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=l,this._politeness="off"}get politeness(){return this._politeness}set politeness(t){this._politeness="polite"===t||"assertive"===t?t:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}const L=Object(f.g)({passive:!0,capture:!0});let j=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(a.a)(null);const n=Object(b.e)(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let l={unlisten:()=>{},checkChildren:e,subject:new r.a};this._elementInfo.set(n,l),this._incrementMonitoredElementCount();let i=t=>this._onFocus(t,n),o=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",i,!0),n.addEventListener("blur",o,!0)}),l.unlisten=()=>{n.removeEventListener("focus",i,!0),n.removeEventListener("blur",o,!0)},l.subject.asObservable()}stopMonitoring(t){const e=Object(b.e)(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const l=Object(b.e)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof l.focus&&l.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let l=this._origin;l||(l=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,l),this._emitOrigin(n.subject,l),this._lastFocusOrigin=l}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,L),document.addEventListener("mousedown",this._documentMousedownListener,L),document.addEventListener("touchstart",this._documentTouchstartListener,L),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,L),document.removeEventListener("mousedown",this._documentMousedownListener,L),document.removeEventListener("touchstart",this._documentTouchstartListener,L),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(i.G),Object(i.dc)(f.a))},token:t,providedIn:"root"}),t})();class R{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new i.r,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}function F(t){return 0===t.buttons}class N{}},"5LH7":function(t,e){var n=1e3,l=6e4,i=60*l,r=24*i;function o(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var a,s=typeof t;if("string"===s&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*r;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*l;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(t);if("number"===s&&!1===isNaN(t))return e.long?o(a=t,r,"day")||o(a,i,"hour")||o(a,l,"minute")||o(a,n,"second")||a+" ms":function(t){return t>=r?Math.round(t/r)+"d":t>=i?Math.round(t/i)+"h":t>=l?Math.round(t/l)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"5QaY":function(t,e,n){"use strict";var l=n("oQtH"),i=(n("svHU"),n("hUP0"),n("G0WM"),n("kvpX")),r=n("eRUA"),o=n.n(r),a=n("t98H"),s=n("Hsuu"),u=n("Uhtb"),c=n("9iPr"),d=n("egkh"),h=n("R+T3"),p=n("mkQN"),f=n("iNpl"),b=n("9ANI"),m=n("W8M7"),g=n("TZgD"),_=n("9d2U"),y=n("/O31"),A=n("n15R"),v=n("CvXi"),C=n("kVmM"),w=n("Cp04"),P=n("saKC"),x=n("JW8z"),S=n("vvg4"),k=n("qJZF"),M=Object(k.c)(),O=function(){function t(t,e,n,l,i){this.id_=i,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=n,this.properties_=l}return t.prototype.get=function(t){return this.properties_[t]},t.prototype.getExtent=function(){return this.extent_||(this.extent_=this.type_===c.a.POINT?Object(v.m)(this.flatCoordinates_):Object(v.o)(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_},t.prototype.getFlatInteriorPoint=function(){if(!this.flatInteriorPoints_){var t=Object(v.x)(this.getExtent());this.flatInteriorPoints_=Object(w.a)(this.flatCoordinates_,0,this.ends_,2,t,0)}return this.flatInteriorPoints_},t.prototype.getFlatInteriorPoints=function(){if(!this.flatInteriorPoints_){var t=Object(C.a)(this.flatCoordinates_,0,this.ends_,2);this.flatInteriorPoints_=Object(w.b)(this.flatCoordinates_,0,this.ends_,2,t)}return this.flatInteriorPoints_},t.prototype.getFlatMidpoint=function(){return this.flatMidpoints_||(this.flatMidpoints_=Object(P.a)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_},t.prototype.getFlatMidpoints=function(){if(!this.flatMidpoints_){this.flatMidpoints_=[];for(var t=this.flatCoordinates_,e=0,n=this.ends_,l=0,i=n.length;l<i;++l){var r=n[l],o=Object(P.a)(t,e,r,2,.5);Object(A.c)(this.flatMidpoints_,o),e=r}}return this.flatMidpoints_},t.prototype.getId=function(){return this.id_},t.prototype.getOrientedFlatCoordinates=function(){return this.flatCoordinates_},t.prototype.getGeometry=function(){return this},t.prototype.getSimplifiedGeometry=function(t){return this},t.prototype.simplifyTransformed=function(t,e){return this},t.prototype.getProperties=function(){return this.properties_},t.prototype.getStride=function(){return 2},t.prototype.getStyleFunction=function(){},t.prototype.getType=function(){return this.type_},t.prototype.transform=function(t,e){var n=(t=Object(x.g)(t)).getExtent(),l=t.getWorldExtent(),i=Object(v.A)(l)/Object(v.A)(n);Object(k.b)(M,l[0],l[3],i,-i,0,0,0),Object(S.c)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,M,this.flatCoordinates_)},t}();O.prototype.getEnds=function(){return this.ends_},O.prototype.getEndss=O.prototype.getEnds,O.prototype.getFlatCoordinates=O.prototype.getOrientedFlatCoordinates;var D,T=O,E=(D=function(t,e){return(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function I(t,e,n){if(3===t){var l={keys:[],values:[],features:[]},i=n.readVarint()+n.pos;n.readFields(L,l,i),l.length=l.features.length,l.length&&(e[l.name]=l)}}function L(t,e,n){if(15===t)e.version=n.readVarint();else if(1===t)e.name=n.readString();else if(5===t)e.extent=n.readVarint();else if(2===t)e.features.push(n.pos);else if(3===t)e.keys.push(n.readString());else if(4===t){for(var l=null,i=n.readVarint()+n.pos;n.pos<i;)l=1==(t=n.readVarint()>>3)?n.readString():2===t?n.readFloat():3===t?n.readDouble():4===t?n.readVarint64():5===t?n.readVarint():6===t?n.readSVarint():7===t?n.readBoolean():null;e.values.push(l)}}function j(t,e,n){if(1==t)e.id=n.readVarint();else if(2==t)for(var l=n.readVarint()+n.pos;n.pos<l;){var i=e.layer.keys[n.readVarint()],r=e.layer.values[n.readVarint()];e.properties[i]=r}else 3==t?e.type=n.readVarint():4==t&&(e.geometry=n.pos)}function R(t,e,n){t.pos=e.features[n];var l=t.readVarint()+t.pos,i={layer:e,type:0,properties:{}};return t.readFields(j,i,l),i}var F=function(t){function e(e){var n=t.call(this)||this,l=e||{};return n.dataProjection=new _.a({code:"",units:y.b.TILE_PIXELS}),n.featureClass_=l.featureClass?l.featureClass:T,n.geometryName_=l.geometryName,n.layerName_=l.layerName?l.layerName:"layer",n.layers_=l.layers?l.layers:null,n.idProperty_=l.idProperty,n}return E(e,t),e.prototype.readRawGeometry_=function(t,e,n,l){t.pos=e.geometry;for(var r=t.readVarint()+t.pos,o=1,a=0,s=0,u=0,c=0,d=0;t.pos<r;){if(!a){var h=t.readVarint();o=7&h,a=h>>3}a--,1===o||2===o?(s+=t.readSVarint(),u+=t.readSVarint(),1===o&&c>d&&(l.push(c),d=c),n.push(s,u),c+=2):7===o?c>d&&(n.push(n[d],n[d+1]),c+=2):Object(i.a)(!1,59)}c>d&&(l.push(c),d=c)},e.prototype.createFeature_=function(t,e,n){var l,i=e.type;if(0===i)return null;var r,o=e.properties;this.idProperty_?(r=o[this.idProperty_],delete o[this.idProperty_]):r=e.id,o[this.layerName_]=e.layer.name;var s=[],_=[];this.readRawGeometry_(t,e,s,_);var y=function(t,e){var n;return 1===t?n=1===e?c.a.POINT:c.a.MULTI_POINT:2===t?n=1===e?c.a.LINE_STRING:c.a.MULTI_LINE_STRING:3===t&&(n=c.a.POLYGON),n}(i,_.length);if(this.featureClass_===T)(l=new this.featureClass_(y,s,_,o,r)).transform(n.dataProjection,n.featureProjection);else{var A=void 0;if(y==c.a.POLYGON){for(var v=[],C=0,w=0,P=0,x=_.length;P<x;++P){var S=_[P];Object(g.a)(s,C,S,2)||(v.push(_.slice(w,P)),w=P),C=S}A=v.length>1?new f.a(s,u.a.XY,v):new m.a(s,u.a.XY,_)}else A=y===c.a.POINT?new b.a(s,u.a.XY):y===c.a.LINE_STRING?new d.a(s,u.a.XY):y===c.a.POLYGON?new m.a(s,u.a.XY,_):y===c.a.MULTI_POINT?new p.a(s,u.a.XY):y===c.a.MULTI_LINE_STRING?new h.a(s,u.a.XY,_):null;l=new(0,this.featureClass_),this.geometryName_&&l.setGeometryName(this.geometryName_);var k=Object(a.b)(A,!1,n);l.setGeometry(k),l.setId(r),l.setProperties(o,!0)}return l},e.prototype.getType=function(){return s.a.ARRAY_BUFFER},e.prototype.readFeatures=function(t,e){var n=this.layers_,l=this.adaptOptions(e),i=Object(x.g)(l.dataProjection);i.setWorldExtent(l.extent),l.dataProjection=i;var r=new o.a(t),a=r.readFields(I,{}),s=[];for(var u in a)if(!n||-1!=n.indexOf(u)){var c=a[u];i.setExtent(c?[0,0,c.extent,c.extent]:null);for(var d=0,h=c.length;d<h;++d){var p=R(r,c,d);s.push(this.createFeature_(r,p,l))}}return s},e.prototype.readProjection=function(t){return this.dataProjection},e.prototype.setLayers=function(t){this.layers_=t},e}(a.a),N=n("GvmM"),Y=n("OPOH"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e){var n=this,l=e||{},i=Object(Y.a)({},l);return delete i.preload,delete i.useInterimTilesOnError,(n=t.call(this,i)||this).setPreload(void 0!==l.preload?l.preload:0),n.setUseInterimTilesOnError(void 0===l.useInterimTilesOnError||l.useInterimTilesOnError),n}return U(e,t),e.prototype.getPreload=function(){return this.get("preload")},e.prototype.setPreload=function(t){this.set("preload",t)},e.prototype.getUseInterimTilesOnError=function(){return this.get("useInterimTilesOnError")},e.prototype.setUseInterimTilesOnError=function(t){this.set("useInterimTilesOnError",t)},e}(N.a),z=n("EwAT"),G=function(){function t(t,e,n,l){this.minX=t,this.maxX=e,this.minY=n,this.maxY=l}return t.prototype.contains=function(t){return this.containsXY(t[1],t[2])},t.prototype.containsTileRange=function(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY},t.prototype.containsXY=function(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY},t.prototype.equals=function(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY},t.prototype.extend=function(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY},t}();function H(t,e,n,l,i){return void 0!==i?(i.minX=t,i.maxX=e,i.minY=n,i.maxY=l,i):new G(t,e,n,l)}var V=G,q=n("rMEb"),W=n("E35u"),$=n("3er3"),X=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),K=function(t){function e(e){var n=t.call(this,e)||this;return n.extentChanged=!0,n.renderedExtent_=null,n.renderedProjection=null,n.renderedTiles=[],n.newTiles_=!1,n.tmpExtent=Object(v.j)(),n.tmpTileRange_=new V(0,0,0,0),n}return X(e,t),e.prototype.isDrawableTile=function(t){var e=this.getLayer(),n=t.getState(),l=e.getUseInterimTilesOnError();return n==q.a.LOADED||n==q.a.EMPTY||n==q.a.ERROR&&!l},e.prototype.getTile=function(t,e,n,l){var i=l.pixelRatio,r=l.viewState.projection,o=this.getLayer(),a=o.getSource().getTile(t,e,n,i,r);return a.getState()==q.a.ERROR&&(o.getUseInterimTilesOnError()?o.getPreload()>0&&(this.newTiles_=!0):a.setState(q.a.LOADED)),this.isDrawableTile(a)||(a=a.getInterimTile()),a},e.prototype.loadedTileCallback=function(e,n,l){return!!this.isDrawableTile(l)&&t.prototype.loadedTileCallback.call(this,e,n,l)},e.prototype.prepareFrame=function(t){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(t,e){var n=t.layerStatesArray[t.layerIndex],l=t.viewState,i=l.projection,r=l.resolution,o=l.center,a=l.rotation,s=t.pixelRatio,u=this.getLayer(),c=u.getSource(),d=c.getRevision(),h=c.getTileGridForProjection(i),p=h.getZForResolution(r,c.zDirection),f=h.getResolution(p),b=t.extent,m=n.extent&&Object(x.f)(n.extent,i);m&&(b=Object(v.B)(b,Object(x.f)(n.extent,i)));var g=c.getTilePixelRatio(s),_=Math.round(t.size[0]*g),y=Math.round(t.size[1]*g);if(a){var C=Math.round(Math.sqrt(_*_+y*y));_=C,y=C}var w=f*_/2/g,P=f*y/2/g,S=[o[0]-w,o[1]-P,o[0]+w,o[1]+P],M=h.getTileRangeForExtentAndZ(b,p),O={};O[p]={};var D=this.createLoadedTileFinder(c,i,O),T=this.tmpExtent,E=this.tmpTileRange_;this.newTiles_=!1;for(var I=M.minX;I<=M.maxX;++I)for(var L=M.minY;L<=M.maxY;++L){var j=this.getTile(p,I,L,t);if(this.isDrawableTile(j)){var R=Object(z.c)(this);if(j.getState()==q.a.LOADED){O[p][j.tileCoord.toString()]=j;var F=j.inTransition(R);this.newTiles_||!F&&-1!==this.renderedTiles.indexOf(j)||(this.newTiles_=!0)}if(1===j.getAlpha(R,t.time))continue}var N=h.getTileCoordChildTileRange(j.tileCoord,E,T),Y=!1;N&&(Y=D(p+1,N)),Y||h.forEachTileCoordParentTileRange(j.tileCoord,D,E,T)}var U=f/r;Object(k.b)(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/g,1/g,a,-_/2,-y/2);var B=Object($.b)(this.pixelTransform);this.useContainer(e,B,n.opacity);var G=this.context,H=G.canvas;Object(k.d)(this.inversePixelTransform,this.pixelTransform),Object(k.b)(this.tempTransform_,_/2,y/2,U,U,0,-_/2,-y/2),H.width!=_||H.height!=y?(H.width=_,H.height=y):this.containerReused||G.clearRect(0,0,_,y),m&&this.clipUnrotated(G,t,m),this.preRender(G,t),this.renderedTiles.length=0;var V,W,X,K=Object.keys(O).map(Number);K.sort(A.g),1!==n.opacity||this.containerReused&&!c.getOpaque(t.viewState.projection)?(V=[],W=[]):K=K.reverse();for(var J=K.length-1;J>=0;--J){var Q=K[J],Z=c.getTilePixelSize(Q,s,i),tt=h.getResolution(Q)/f,et=Z[0]*tt*U,nt=Z[1]*tt*U,lt=h.getTileCoordForCoordAndZ(Object(v.C)(S),Q),it=h.getTileCoordExtent(lt),rt=Object(k.a)(this.tempTransform_,[g*(it[0]-S[0])/f,g*(S[3]-it[3])/f]),ot=g*c.getGutterForProjection(i),at=O[Q];for(var st in at){var ut=(j=at[st]).tileCoord,ct=rt[0]-(lt[1]-ut[1])*et,dt=Math.round(ct+et),ht=rt[1]-(lt[2]-ut[2])*nt,pt=Math.round(ht+nt),ft=dt-(I=Math.round(ct)),bt=pt-(L=Math.round(ht)),mt=p===Q;if(!(F=mt&&1!==j.getAlpha(Object(z.c)(this),t.time)))if(V){G.save(),X=[I,L,I+ft,L,I+ft,L+bt,I,L+bt];for(var gt=0,_t=V.length;gt<_t;++gt)if(p!==Q&&Q<W[gt]){var yt=V[gt];G.beginPath(),G.moveTo(X[0],X[1]),G.lineTo(X[2],X[3]),G.lineTo(X[4],X[5]),G.lineTo(X[6],X[7]),G.moveTo(yt[6],yt[7]),G.lineTo(yt[4],yt[5]),G.lineTo(yt[2],yt[3]),G.lineTo(yt[0],yt[1]),G.clip()}V.push(X),W.push(Q)}else G.clearRect(I,L,ft,bt);this.drawTileImage(j,t,I,L,ft,bt,ot,mt,n.opacity),V&&!F&&G.restore(),this.renderedTiles.push(j),this.updateUsedTiles(t.usedTiles,c,j)}}return this.renderedRevision=d,this.renderedResolution=f,this.extentChanged=!this.renderedExtent_||!Object(v.p)(this.renderedExtent_,S),this.renderedExtent_=S,this.renderedPixelRatio=s,this.renderedProjection=i,this.manageTilePyramid(t,c,h,s,i,b,p,u.getPreload()),this.scheduleExpireCache(t,c),this.postRender(G,t),n.extent&&G.restore(),B!==H.style.transform&&(H.style.transform=B),this.container},e.prototype.drawTileImage=function(t,e,n,l,i,r,o,a,s){var u=this.getTileImage(t);if(u){var c=Object(z.c)(this),d=a?t.getAlpha(c,e.time):1,h=s*d,p=h!==this.context.globalAlpha;p&&(this.context.save(),this.context.globalAlpha=h),this.context.drawImage(u,o,o,u.width-2*o,u.height-2*o,n,l,i,r),p&&this.context.restore(),1!==d?e.animate=!0:a&&t.endTransition(c)}},e.prototype.getImage=function(){var t=this.context;return t?t.canvas:null},e.prototype.getTileImage=function(t){return t.getImage()},e.prototype.scheduleExpireCache=function(t,e){if(e.canExpireCache()){var n=(function(t,e,n){var l=Object(z.c)(t);l in n.usedTiles&&t.expireCache(n.viewState.projection,n.usedTiles[l])}).bind(null,e);t.postRenderFunctions.push(n)}},e.prototype.updateUsedTiles=function(t,e,n){var l=Object(z.c)(e);l in t||(t[l]={}),t[l][n.getKey()]=!0},e.prototype.manageTilePyramid=function(t,e,n,l,i,r,o,a,s){var u=Object(z.c)(e);u in t.wantedTiles||(t.wantedTiles[u]={});var c,d,h,p,f,b,m=t.wantedTiles[u],g=t.tileQueue;for(b=n.getMinZoom();b<=o;++b)for(d=n.getTileRangeForExtentAndZ(r,b,d),h=n.getResolution(b),p=d.minX;p<=d.maxX;++p)for(f=d.minY;f<=d.maxY;++f)o-b<=a?((c=e.getTile(b,p,f,l,i)).getState()==q.a.IDLE&&(m[c.getKey()]=!0,g.isKeyQueued(c.getKey())||g.enqueue([c,u,n.getTileCoordCenter(c.tileCoord),h])),void 0!==s&&s(c)):e.useTile(b,p,f,i)},e}(W.a),J=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Q=function(t){function e(e){return t.call(this,e)||this}return J(e,t),e.prototype.createRenderer=function(){return new K(this)},e}(B),Z=n("rlDN"),tt=n("SW/M"),et=n("Ho3V"),nt=n("AdTM"),lt=n("N0mK"),it=n("27p8"),rt=n("NF0S"),ot=n("MNGd"),at=n("6Lir"),st=n("OZx2"),ut=n("pWiS"),ct=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),dt={image:[lt.a.POLYGON,lt.a.CIRCLE,lt.a.LINE_STRING,lt.a.IMAGE,lt.a.TEXT],hybrid:[lt.a.POLYGON,lt.a.LINE_STRING],vector:[]},ht={image:[lt.a.DEFAULT],hybrid:[lt.a.IMAGE,lt.a.TEXT,lt.a.DEFAULT],vector:[lt.a.POLYGON,lt.a.CIRCLE,lt.a.LINE_STRING,lt.a.IMAGE,lt.a.TEXT,lt.a.DEFAULT]},pt=function(t){function e(e){var n=t.call(this,e)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.dirty_=!1,n.renderedPixelToCoordinateTransform_=null,n.renderTileImageQueue_={},n.tileListenerKeys_={},n.tmpTransform_=Object(k.c)(),n}return ct(e,t),e.prototype.prepareTile=function(t,e,n,l){var i,r=Object(z.c)(t),o=t.getState();return(o===q.a.LOADED&&t.hifi||o===q.a.ERROR)&&r in this.tileListenerKeys_&&(Object(et.c)(this.tileListenerKeys_[r]),delete this.tileListenerKeys_[r]),o!==q.a.LOADED&&o!==q.a.ERROR||(this.updateExecutorGroup_(t,e,n),this.tileImageNeedsRender_(t,e,n)&&(i=!0,l&&(this.renderTileImageQueue_[r]=t))),i},e.prototype.getTile=function(e,n,l,i){var r=i.pixelRatio,o=i.viewState,a=o.resolution,s=o.projection,u=this.getLayer(),c=u.getSource().getTile(e,n,l,r,s);if(c.getState()<q.a.LOADED){c.wantedResolution=a;var d=Object(z.c)(c);if(!(d in this.tileListenerKeys_)){var h=Object(et.a)(c,nt.a.CHANGE,this.prepareTile.bind(this,c,r,s,!0));this.tileListenerKeys_[d]=h}}else{var p=i.viewHints;!(!p[tt.a.ANIMATING]&&!p[tt.a.INTERACTING])&&c.wantedResolution||(c.wantedResolution=a),this.prepareTile(c,r,s,!1)&&"vector"!==u.getRenderMode()&&this.renderTileImage_(c,i)}return t.prototype.getTile.call(this,e,n,l,i)},e.prototype.isDrawableTile=function(e){var n=this.getLayer();return t.prototype.isDrawableTile.call(this,e)&&"vector"===n.getRenderMode()||e.hasContext(n)},e.prototype.getTileImage=function(t){return t.getImage(this.getLayer())},e.prototype.prepareFrame=function(e){var n=this.getLayer().getRevision();return this.renderedLayerRevision_!=n&&(this.renderedTiles.length=0),this.renderedLayerRevision_=n,t.prototype.prepareFrame.call(this,e)},e.prototype.updateExecutorGroup_=function(t,e,n){var l=this.getLayer(),i=l.getRevision(),r=l.getRenderOrder()||null,o=t.wantedResolution,a=t.getReplayState(l);if(a.dirty||a.renderedResolution!==o||a.renderedRevision!=i||a.renderedRenderOrder!=r||a.renderedZ!==t.sourceZ){var s=l.getSource(),u=s.getTileGrid(),c=s.getTileGridForProjection(n).getTileCoordExtent(t.wrappedTileCoord),d=s.getSourceTiles(e,n,t),h=Object(z.c)(l);delete t.hitDetectionImageData[h],t.executorGroups[h]=[];for(var p=function(n,i){var p=d[n];if(p.getState()!=q.a.LOADED)return"continue";var b=u.getTileCoordExtent(p.tileCoord),m=Object(v.B)(c,b),g=Object(v.p)(b,m)?null:Object(v.c)(m,l.getRenderBuffer()*o,f.tmpExtent);a.dirty=!1;var _=new it.a(0,m,o,e,l.getDeclutter()),y=Object(ot.b)(o,e),A=function(t){var e,n=t.getStyleFunction()||l.getStyleFunction();if(n&&(e=n(t,o)),e){var i=this.renderFeature(t,y,e,_);this.dirty_=this.dirty_||i,a.dirty=a.dirty||i}},C=p.getFeatures();r&&r!==a.renderedRenderOrder&&C.sort(r);for(var w=0,P=C.length;w<P;++w){var x=C[w];g&&!Object(v.F)(g,x.getGeometry().getExtent())||A.call(f,x)}var S=_.finish(),k="vector"!==l.getRenderMode()&&l.getDeclutter()&&1===d.length?null:m,M=new at.a(k,o,e,s.getOverlaps(),S,l.getRenderBuffer());t.executorGroups[h].push(M)},f=this,b=0,m=d.length;b<m;++b)p(b);a.renderedRevision=i,a.renderedZ=t.sourceZ,a.renderedRenderOrder=r,a.renderedResolution=o}},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){var r=e.viewState.resolution,o=e.viewState.rotation;n=null==n?0:n;var a,s,u,c=this.getLayer(),d=c.getDeclutter(),h=c.getSource().getTileGridForProjection(e.viewState.projection),p={},f=this.renderedTiles,b=function(){var e=f[s],u=h.getTileCoordExtent(e.wrappedTileCoord),b=Object(v.f)(u,t);if(!d&&!b)return"continue";for(var m=e.executorGroups[Object(z.c)(c)],g=0,_=m.length;g<_;++g)a=a||m[g].forEachFeatureAtCoordinate(t,r,o,n,(function(t){if(b||i&&-1!==i.indexOf(t)){var e=t.getId();if(void 0===e&&(e=Object(z.c)(t)),!(e in p))return p[e]=!0,l(t,c)}}),c.getDeclutter()?i:null)};for(s=0,u=f.length;s<u;++s)b();return a},e.prototype.getFeatures=function(t){return new Promise((function(e,n){for(var l,i=this.getLayer(),r=Object(z.c)(i),o=i.getSource(),a=this.renderedProjection,s=a.getExtent(),u=this.renderedResolution,c=o.getTileGridForProjection(a),d=Object(k.a)(this.renderedPixelToCoordinateTransform_,t.slice()),h=c.getTileCoordForCoordAndResolution(d,u),p=0,f=this.renderedTiles.length;p<f;++p)if(h.toString()===this.renderedTiles[p].tileCoord.toString()){if((l=this.renderedTiles[p]).getState()===q.a.LOADED&&l.hifi){var b=c.getTileCoordExtent(l.tileCoord);o.getWrapX()&&a.canWrapX()&&!Object(v.g)(s,b)&&Object(ut.f)(d,a);break}l=void 0}if(!l||l.loadingSourceTiles>0)e([]);else{var m=c.getTileCoordExtent(l.wrappedTileCoord),g=Object(v.C)(m),_=[(d[0]-g[0])/u,(g[1]-d[1])/u],y=l.getSourceTiles().reduce((function(t,e){return t.concat(e.getFeatures())}),[]),A=l.hitDetectionImageData[r];if(!A&&!this.animatingOrInteracting_){var C=Object(rt.c)(c.getTileSize(c.getZForResolution(u))),w=[C[0]/2,C[1]/2],P=this.renderedRotation_,x=[this.getRenderTransform(c.getTileCoordCenter(l.wrappedTileCoord),u,0,.5,w[0],w[1],0)];A=Object(st.a)(C,x,y,i.getStyleFunction(),c.getTileCoordExtent(l.wrappedTileCoord),l.getReplayState(i).renderedResolution,P),l.hitDetectionImageData[r]=A}e(Object(st.b)(_,y,A))}}).bind(this))},e.prototype.handleFontsChanged=function(){Object(Y.b)(this.renderTileImageQueue_);var t=this.getLayer();t.getVisible()&&void 0!==this.renderedLayerRevision_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.renderFrame=function(e,n){var l=e.viewHints,i=!(l[tt.a.ANIMATING]||l[tt.a.INTERACTING]);this.renderQueuedTileImages_(i,e),t.prototype.renderFrame.call(this,e,n),this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice(),this.renderedRotation_=e.viewState.rotation;var r=this.getLayer(),o=r.getRenderMode();if("image"===o)return this.container;var a=r.getSource(),s=e.usedTiles[Object(z.c)(a)];for(var u in this.renderTileImageQueue_)s&&u in s||delete this.renderTileImageQueue_[u];for(var c=this.context,d=r.getDeclutter()?{}:null,h=ht[o],p=e.pixelRatio,f=e.viewState,b=f.center,m=f.resolution,g=f.rotation,_=e.size,y=Math.round(_[0]*p),A=Math.round(_[1]*p),v=this.renderedTiles,C=a.getTileGridForProjection(e.viewState.projection),w=[],P=[],x=v.length-1;x>=0;--x)for(var S=v[x],M=S.tileCoord,O=C.getTileCoordExtent(S.wrappedTileCoord),D=C.getTileCoordExtent(M,this.tmpExtent)[0]-O[0],T=Object(k.f)(Object(k.i)(this.inversePixelTransform.slice(),1/p,1/p),this.getRenderTransform(b,m,g,p,y,A,D)),E=S.executorGroups[Object(z.c)(r)],I=!1,L=0,j=E.length;L<j;++L){var R=E[L];if(R.hasExecutors(h)){var F=S.tileCoord[0],N=void 0;if(!d&&!I){N=R.getClipCoords(T),c.save();for(var Y=0,U=w.length;Y<U;++Y){var B=w[Y];F<P[Y]&&(c.beginPath(),c.moveTo(N[0],N[1]),c.lineTo(N[2],N[3]),c.lineTo(N[4],N[5]),c.lineTo(N[6],N[7]),c.moveTo(B[6],B[7]),c.lineTo(B[4],B[5]),c.lineTo(B[2],B[3]),c.lineTo(B[0],B[1]),c.clip())}}R.execute(c,T,g,i,h,d),d||I||(c.restore(),w.push(N),P.push(F),I=!0)}}if(d){var G=e.layerStatesArray[e.layerIndex];Object(at.b)(d,c,g,G.opacity,i,e.declutterItems)}return this.container},e.prototype.renderQueuedTileImages_=function(t,e){for(var n in this.renderTileImageQueue_){if(!t&&Date.now()-e.time>8){e.animate=!0;break}var l=this.renderTileImageQueue_[n];delete this.renderTileImageQueue_[n],this.renderTileImage_(l,e)}},e.prototype.renderFeature=function(t,e,n,l){if(!n)return!1;var i=!1;if(Array.isArray(n))for(var r=0,o=n.length;r<o;++r)i=Object(ot.d)(l,t,n[r],e,this.boundHandleStyleImageChange_)||i;else i=Object(ot.d)(l,t,n,e,this.boundHandleStyleImageChange_);return i},e.prototype.tileImageNeedsRender_=function(t,e,n){var l=this.getLayer(),i=t.getReplayState(l),r=l.getRevision();return i.renderedTileResolution!==t.wantedResolution||i.renderedTileRevision!==r||i.renderedTileZ!==t.sourceZ},e.prototype.renderTileImage_=function(t,e){var n=this.getLayer(),l=t.getReplayState(n),i=n.getRevision(),r=t.executorGroups[Object(z.c)(n)];l.renderedTileRevision=i,l.renderedTileZ=t.sourceZ;var o=t.wrappedTileCoord,a=o[0],s=n.getSource(),u=e.pixelRatio,c=e.viewState.projection,d=s.getTileGridForProjection(c),h=d.getResolution(t.tileCoord[0]),p=e.pixelRatio/t.wantedResolution*h,f=d.getResolution(a),b=t.getContext(n);u=Math.max(u,p/u);var m=s.getTilePixelSize(a,u,c);b.canvas.width=m[0],b.canvas.height=m[1];var g=u/p;if(1!==g){var _=Object(k.g)(this.tmpTransform_);Object(k.i)(_,g,g),b.setTransform.apply(b,_)}var y=d.getTileCoordExtent(o,this.tmpExtent),A=p/f,v=Object(k.g)(this.tmpTransform_);Object(k.i)(v,A,-A),Object(k.l)(v,-y[0],-y[3]);for(var C=0,w=r.length;C<w;++C)r[C].execute(b,v,0,!0,dt[n.getRenderMode()]);l.renderedTileResolution=t.wantedResolution},e}(K),ft=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),bt=function(t){function e(e){var n=this,l=e||{},r=Object(Y.a)({},l);delete r.preload,delete r.useInterimTilesOnError,n=t.call(this,r)||this;var o=l.renderMode||"hybrid";return Object(i.a)(null==o||"image"==o||"hybrid"==o||"vector"==o,28),n.renderMode_=o,n.setPreload(l.preload?l.preload:0),n.setUseInterimTilesOnError(void 0===l.useInterimTilesOnError||l.useInterimTilesOnError),n}return ft(e,t),e.prototype.createRenderer=function(){return new pt(this)},e.prototype.getFeatures=function(e){return t.prototype.getFeatures.call(this,e)},e.prototype.getRenderMode=function(){return this.renderMode_},e.prototype.getPreload=function(){return this.get("preload")},e.prototype.getUseInterimTilesOnError=function(){return this.get("useInterimTilesOnError")},e.prototype.setPreload=function(t){this.set("preload",t)},e.prototype.setUseInterimTilesOnError=function(t){this.set("useInterimTilesOnError",t)},e}(Z.a),mt=n("f8l7");function gt(t,e,n,l){return void 0!==l?(l[0]=t,l[1]=e,l[2]=n,l):[t,e,n]}function _t(t,e,n){return t+"/"+e+"/"+n}function yt(t){return _t(t[0],t[1],t[2])}function At(t){return t.split("/").map(Number)}function vt(t,e){var n=/\{z\}/g,l=/\{x\}/g,r=/\{y\}/g,o=/\{-y\}/g;return function(a,s,u){return a?t.replace(n,a[0].toString()).replace(l,a[1].toString()).replace(r,a[2].toString()).replace(o,(function(){var t=e.getFullTileRange(a[0]);return Object(i.a)(t,55),(t.getHeight()-a[2]-1).toString()})):void 0}}function Ct(t){return 1===t.length?t[0]:function(e,n,l){if(e){var i=function(t){return(t[1]<<t[0])+t[2]}(e),r=Object(mt.d)(i,t.length);return t[r](e,n,l)}}}function wt(t,e,n){}var Pt=n("bYNo"),xt=n("pQSv"),St=n("ykKD"),kt=n("DsAt"),Mt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Ot=function(t){function e(e,n,l){var i=t.call(this)||this,r=l||{};return i.tileCoord=e,i.state=n,i.interimTile=null,i.hifi=!0,i.key="",i.transition_=void 0===r.transition?250:r.transition,i.transitionStarts_={},i}return Mt(e,t),e.prototype.changed=function(){this.dispatchEvent(nt.a.CHANGE)},e.prototype.release=function(){},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var t=this.interimTile;do{if(t.getState()==q.a.LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var t=this.interimTile,e=this;do{if(t.getState()==q.a.LOADED){t.interimTile=null;break}t.getState()==q.a.LOADING?e=t:t.getState()==q.a.IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(t){if(this.state!==q.a.ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()},e.prototype.load=function(){Object(z.b)()},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else this.transitionStarts_[t]=n=e;var l=e-n+1e3/60;return l>=this.transition_?1:Object(St.a)(l/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(kt.a),Dt=n("CZmH"),Tt=n("ZhEo"),Et=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),It=function(t){function e(e,n,l,i,r,o){var a=t.call(this,e,n,o)||this;return a.crossOrigin_=i,a.src_=l,a.image_=new Image,null!==i&&(a.image_.crossOrigin=i),a.unlisten_=null,a.tileLoadFunction_=r,a}return Et(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.getKey=function(){return this.src_},e.prototype.handleImageError_=function(){var t;this.state=q.a.ERROR,this.unlistenImage_(),this.image_=((t=Object(Dt.a)(1,1)).fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;this.state=t.naturalWidth&&t.naturalHeight?q.a.LOADED:q.a.EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==q.a.ERROR&&(this.state=q.a.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==q.a.IDLE&&(this.state=q.a.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=Object(Tt.a)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(Ot),Lt=function(){function t(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return t.prototype.canExpireCache=function(){return this.getCount()>this.highWaterMark},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(t){return this.entries_.hasOwnProperty(t)},t.prototype.forEach=function(t){for(var e=this.oldest_;e;)t(e.value_,e.key_,this),e=e.newer},t.prototype.get=function(t,e){var n=this.entries_[t];return Object(i.a)(void 0!==n,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_},t.prototype.remove=function(t){var e=this.entries_[t];return Object(i.a)(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.key_;return e},t.prototype.getValues=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.pop=function(){var t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_},t.prototype.replace=function(t,e){this.get(t),this.entries_[t].value_=e},t.prototype.set=function(t,e){Object(i.a)(!(t in this.entries_),16);var n={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[t]=n,++this.count_},t.prototype.setSize=function(t){this.highWaterMark=t},t}(),jt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return jt(e,t),e.prototype.expireCache=function(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=At(this.peekFirstKey())[0];this.forEach((function(e){e.tileCoord[0]!==t&&(this.remove(yt(e.tileCoord)),e.release())}).bind(this))}},e}(Lt),Ft=n("PIFQ"),Nt=n("tzl+"),Yt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Ut=function(t){function e(e,n,l,i,r,o,a,s,u,c,d){var h=t.call(this,r,q.a.IDLE)||this;h.renderEdges_=void 0!==d&&d,h.pixelRatio_=a,h.gutter_=s,h.canvas_=null,h.sourceTileGrid_=n,h.targetTileGrid_=i,h.wrappedTileCoord_=o||r,h.sourceTiles_=[],h.sourcesListenerKeys_=null,h.sourceZ_=0;var p=i.getTileCoordExtent(h.wrappedTileCoord_),f=h.targetTileGrid_.getExtent(),b=h.sourceTileGrid_.getExtent(),m=f?Object(v.B)(p,f):p;if(0===Object(v.u)(m))return h.state=q.a.EMPTY,h;var g=e.getExtent();g&&(b=b?Object(v.B)(b,g):g);var _=i.getResolution(h.wrappedTileCoord_[0]),y=Object(v.x)(m),A=Object(Ft.a)(e,l,y,_);if(!isFinite(A)||A<=0)return h.state=q.a.EMPTY,h;if(h.triangulation_=new Nt.a(e,l,m,b,A*(void 0!==c?c:xt.b),_),0===h.triangulation_.getTriangles().length)return h.state=q.a.EMPTY,h;h.sourceZ_=n.getZForResolution(A);var C=h.triangulation_.calculateSourceExtent();if(b&&(e.canWrapX()?(C[1]=Object(mt.a)(C[1],b[1],b[3]),C[3]=Object(mt.a)(C[3],b[1],b[3])):C=Object(v.B)(C,b)),Object(v.u)(C)){for(var w=n.getTileRangeForExtentAndZ(C,h.sourceZ_),P=w.minX;P<=w.maxX;P++)for(var x=w.minY;x<=w.maxY;x++){var S=u(h.sourceZ_,P,x,a);S&&h.sourceTiles_.push(S)}0===h.sourceTiles_.length&&(h.state=q.a.EMPTY)}else h.state=q.a.EMPTY;return h}return Yt(e,t),e.prototype.getImage=function(){return this.canvas_},e.prototype.reproject_=function(){var t=[];if(this.sourceTiles_.forEach((function(e,n,l){e&&e.getState()==q.a.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}).bind(this)),this.sourceTiles_.length=0,0===t.length)this.state=q.a.ERROR;else{var e=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(e),l="number"==typeof n?n:n[0],i="number"==typeof n?n:n[1],r=this.targetTileGrid_.getResolution(e),o=this.sourceTileGrid_.getResolution(this.sourceZ_),a=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Object(Ft.b)(l,i,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),r,a,this.triangulation_,t,this.gutter_,this.renderEdges_),this.state=q.a.LOADED}this.changed()},e.prototype.load=function(){if(this.state==q.a.IDLE){this.state=q.a.LOADING,this.changed();var t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach((function(e,n,l){var i=e.getState();if(i==q.a.IDLE||i==q.a.LOADING){t++;var r=Object(et.a)(e,nt.a.CHANGE,(function(n){var l=e.getState();l!=q.a.LOADED&&l!=q.a.ERROR&&l!=q.a.EMPTY||(Object(et.c)(r),0==--t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(r)}}).bind(this)),this.sourceTiles_.forEach((function(t,e,n){t.getState()==q.a.IDLE&&t.load()})),0===t&&setTimeout(this.reproject_.bind(this),0)}},e.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(et.c),this.sourcesListenerKeys_=null},e}(Ot),Bt=n("zvco"),zt=n("/4Cu"),Gt=n("BBQo"),Ht=n("OCB2"),Vt=[0,0,0],qt=function(){function t(t){var e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Object(i.a)(Object(A.e)(this.resolutions_,(function(t,e){return e-t}),!0),17),!t.origins)for(var n=0,l=this.resolutions_.length-1;n<l;++n)if(e){if(this.resolutions_[n]/this.resolutions_[n+1]!==e){e=void 0;break}}else e=this.resolutions_[n]/this.resolutions_[n+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,Object(i.a)(this.origins_.length==this.resolutions_.length,20));var r=t.extent;void 0===r||this.origin_||this.origins_||(this.origin_=Object(v.C)(r)),Object(i.a)(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,Object(i.a)(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:Gt.b,Object(i.a)(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=void 0!==r?r:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map((function(t,e){return new V(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))}),this):r&&this.calculateTileRanges_(r)}return t.prototype.forEachTileCoord=function(t,e,n){for(var l=this.getTileRangeForExtentAndZ(t,e),i=l.minX,r=l.maxX;i<=r;++i)for(var o=l.minY,a=l.maxY;o<=a;++o)n([e,i,o])},t.prototype.forEachTileCoordParentTileRange=function(t,e,n,l){var i,r,o=null,a=t[0]-1;for(2===this.zoomFactor_?(i=t[1],r=t[2]):o=this.getTileCoordExtent(t,l);a>=this.minZoom;){if(e(a,2===this.zoomFactor_?H(i=Math.floor(i/2),i,r=Math.floor(r/2),r,n):this.getTileRangeForExtentAndZ(o,a,n)))return!0;--a}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(t){return this.origin_?this.origin_:this.origins_[t]},t.prototype.getResolution=function(t){return this.resolutions_[t]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(t,e,n){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){var l=2*t[1],i=2*t[2];return H(l,l+1,i,i+1,e)}var r=this.getTileCoordExtent(t,n);return this.getTileRangeForExtentAndZ(r,t[0]+1,e)}return null},t.prototype.getTileRangeExtent=function(t,e,n){var l=this.getOrigin(t),i=this.getResolution(t),r=Object(rt.c)(this.getTileSize(t),this.tmpSize_),o=l[0]+e.minX*r[0]*i,a=l[0]+(e.maxX+1)*r[0]*i,s=l[1]+e.minY*r[1]*i,u=l[1]+(e.maxY+1)*r[1]*i;return Object(v.k)(o,s,a,u,n)},t.prototype.getTileRangeForExtentAndZ=function(t,e,n){var l=Vt;this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,l);var i=l[1],r=l[2];return this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,l),H(i,l[1],r,l[2],n)},t.prototype.getTileCoordCenter=function(t){var e=this.getOrigin(t[0]),n=this.getResolution(t[0]),l=Object(rt.c)(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*l[0]*n,e[1]-(t[2]+.5)*l[1]*n]},t.prototype.getTileCoordExtent=function(t,e){var n=this.getOrigin(t[0]),l=this.getResolution(t[0]),i=Object(rt.c)(this.getTileSize(t[0]),this.tmpSize_),r=n[0]+t[1]*i[0]*l,o=n[1]-(t[2]+1)*i[1]*l,a=r+i[0]*l,s=o+i[1]*l;return Object(v.k)(r,o,a,s,e)},t.prototype.getTileCoordForCoordAndResolution=function(t,e,n){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordForXYAndResolution_=function(t,e,n,l,i){var r=this.getZForResolution(n),o=n/this.getResolution(r),a=this.getOrigin(r),s=Object(rt.c)(this.getTileSize(r),this.tmpSize_),u=l?.5:0,c=Math.floor((t-a[0])/n+(l?.5:0)),d=Math.floor((a[1]-e)/n+u),h=o*c/s[0],p=o*d/s[1];return l?(h=Math.ceil(h)-1,p=Math.ceil(p)-1):(h=Math.floor(h),p=Math.floor(p)),gt(r,h,p,i)},t.prototype.getTileCoordForXYAndZ_=function(t,e,n,l,i){var r=this.getOrigin(n),o=this.getResolution(n),a=Object(rt.c)(this.getTileSize(n),this.tmpSize_),s=l?.5:0,u=Math.floor((t-r[0])/o+(l?.5:0)),c=Math.floor((r[1]-e)/o+s),d=u/a[0],h=c/a[1];return l?(d=Math.ceil(d)-1,h=Math.ceil(h)-1):(d=Math.floor(d),h=Math.floor(h)),gt(n,d,h,i)},t.prototype.getTileCoordForCoordAndZ=function(t,e,n){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordResolution=function(t){return this.resolutions_[t[0]]},t.prototype.getTileSize=function(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]},t.prototype.getFullTileRange=function(t){return this.fullTileRanges_?this.fullTileRanges_[t]:null},t.prototype.getZForResolution=function(t,e){var n=Object(A.f)(this.resolutions_,t,e||0);return Object(mt.a)(n,this.minZoom,this.maxZoom)},t.prototype.calculateTileRanges_=function(t){for(var e=this.resolutions_.length,n=new Array(e),l=this.minZoom;l<e;++l)n[l]=this.getTileRangeForExtentAndZ(t,l);this.fullTileRanges_=n},t}();function Wt(t){var e=t.getDefaultTileGrid();return e||(e=Kt(t),t.setDefaultTileGrid(e)),e}function $t(t){var e=t||{},n=e.extent||Object(x.g)("EPSG:3857").getExtent(),l={extent:n,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:Xt(n,e.maxZoom,e.tileSize,e.maxResolution)};return new qt(l)}function Xt(t,e,n,l){for(var i=void 0!==e?e:Gt.a,r=Object(v.A)(t),o=Object(v.E)(t),a=Object(rt.c)(void 0!==n?n:Gt.b),s=l>0?l:Math.max(o/a[0],r/a[1]),u=i+1,c=new Array(u),d=0;d<u;++d)c[d]=s/Math.pow(2,d);return c}function Kt(t,e,n,l){return function(t,e,n,l){var i=void 0!==l?l:Ht.a.TOP_LEFT,r=Xt(t,e,n);return new qt({extent:t,origin:Object(v.y)(t,i),resolutions:r,tileSize:n})}(Jt(t),e,n,l)}function Jt(t){var e=(t=Object(x.g)(t)).getExtent();if(!e){var n=180*x.a[y.b.DEGREES]/t.getMetersPerUnit();e=Object(v.k)(-n,-n,n,n)}return e}var Qt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Zt=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX})||this;n.opaque_=void 0!==e.opaque&&e.opaque,n.tilePixelRatio_=void 0!==e.tilePixelRatio?e.tilePixelRatio:1,n.tileGrid=void 0!==e.tileGrid?e.tileGrid:null;var l=[256,256],i=e.tileGrid;i&&Object(rt.c)(i.getTileSize(i.getMinZoom()),l);var r="undefined"!=typeof screen,o=r?screen.availWidth||screen.width:1920,a=r?screen.availHeight||screen.height:1080,s=4*Math.ceil(o/l[0])*Math.ceil(a/l[1]);return n.tileCache=new Rt(Math.max(s,e.cacheSize||0)),n.tmpSize=[0,0],n.key_=e.key||"",n.tileOptions={transition:e.transition},n.zDirection=e.zDirection?e.zDirection:0,n}return Qt(e,t),e.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},e.prototype.expireCache=function(t,e){var n=this.getTileCacheForProjection(t);n&&n.expireCache(e)},e.prototype.forEachLoadedTile=function(t,e,n,l){var i=this.getTileCacheForProjection(t);if(!i)return!1;for(var r,o,a,s=!0,u=n.minX;u<=n.maxX;++u)for(var c=n.minY;c<=n.maxY;++c)o=_t(e,u,c),a=!1,i.containsKey(o)&&(a=(r=i.get(o)).getState()===q.a.LOADED)&&(a=!1!==l(r)),a||(s=!1);return s},e.prototype.getGutterForProjection=function(t){return 0},e.prototype.getKey=function(){return this.key_},e.prototype.setKey=function(t){this.key_!==t&&(this.key_=t,this.changed())},e.prototype.getOpaque=function(t){return this.opaque_},e.prototype.getResolutions=function(){return this.tileGrid.getResolutions()},e.prototype.getTile=function(t,e,n,l,i){return Object(z.b)()},e.prototype.getTileGrid=function(){return this.tileGrid},e.prototype.getTileGridForProjection=function(t){return this.tileGrid?this.tileGrid:Wt(t)},e.prototype.getTileCacheForProjection=function(t){var e=this.getProjection();return e&&!Object(x.c)(e,t)?null:this.tileCache},e.prototype.getTilePixelRatio=function(t){return this.tilePixelRatio_},e.prototype.getTilePixelSize=function(t,e,n){var l=this.getTileGridForProjection(n),i=this.getTilePixelRatio(e),r=Object(rt.c)(l.getTileSize(t),this.tmpSize);return 1==i?r:Object(rt.b)(r,i,this.tmpSize)},e.prototype.getTileCoordForTileUrlFunction=function(t,e){var n=void 0!==e?e:this.getProjection(),l=this.getTileGridForProjection(n);return this.getWrapX()&&n.isGlobal()&&(t=function(t,e,n){var l=e[0],i=t.getTileCoordCenter(e),r=Jt(n);if(Object(v.f)(r,i))return e;var o=Object(v.E)(r),a=Math.ceil((r[0]-i[0])/o);return i[0]+=o*a,t.getTileCoordForCoordAndZ(i,l)}(l,t,n)),function(t,e){var n=t[0],l=t[1],i=t[2];if(e.getMinZoom()>n||n>e.getMaxZoom())return!1;var r,o=e.getExtent();return!(r=o?e.getTileRangeForExtentAndZ(o,n):e.getFullTileRange(n))||r.containsXY(l,i)}(t,l)?t:null},e.prototype.clear=function(){this.tileCache.clear()},e.prototype.refresh=function(){this.clear(),t.prototype.refresh.call(this)},e.prototype.useTile=function(t,e,n,l){},e}(zt.a),te=function(t){function e(e,n){var l=t.call(this,e)||this;return l.tile=n,l}return Qt(e,t),e}(Bt.a),ee=Zt,ne=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),le=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,wrapX:e.wrapX,transition:e.transition,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection})||this;return n.generateTileUrlFunction_=!e.tileUrlFunction,n.tileLoadFunction=e.tileLoadFunction,n.tileUrlFunction=e.tileUrlFunction?e.tileUrlFunction.bind(n):wt,n.urls=null,e.urls?n.setUrls(e.urls):e.url&&n.setUrl(e.url),n.tileLoadingKeys_={},n}return ne(e,t),e.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},e.prototype.getTileUrlFunction=function(){return this.tileUrlFunction},e.prototype.getUrls=function(){return this.urls},e.prototype.handleTileChange=function(t){var e,n=t.target,l=Object(z.c)(n),i=n.getState();i==q.a.LOADING?(this.tileLoadingKeys_[l]=!0,e="tileloadstart"):l in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[l],e=i==q.a.ERROR?"tileloaderror":i==q.a.LOADED?"tileloadend":void 0),null!=e&&this.dispatchEvent(new te(e,n))},e.prototype.setTileLoadFunction=function(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()},e.prototype.setTileUrlFunction=function(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),void 0!==e?this.setKey(e):this.changed()},e.prototype.setUrl=function(t){var e=function(t){var e=[],n=/\{([a-z])-([a-z])\}/.exec(t);if(n){var l=n[1].charCodeAt(0),i=n[2].charCodeAt(0),r=void 0;for(r=l;r<=i;++r)e.push(t.replace(n[0],String.fromCharCode(r)));return e}if(n=/\{(\d+)-(\d+)\}/.exec(t)){for(var o=parseInt(n[2],10),a=parseInt(n[1],10);a<=o;a++)e.push(t.replace(n[0],a.toString()));return e}return e.push(t),e}(t);this.urls=e,this.setUrls(e)},e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(function(t,e){for(var n=t.length,l=new Array(n),i=0;i<n;++i)l[i]=vt(t[i],e);return Ct(l)}(t,this.tileGrid),e):this.setKey(e)},e.prototype.useTile=function(t,e,n){var l=_t(t,e,n);this.tileCache.containsKey(l)&&this.tileCache.get(l)},e}(ee),ie=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function re(t,e){t.getImage().src=e}var oe=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:re,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection})||this;return n.crossOrigin=void 0!==e.crossOrigin?e.crossOrigin:null,n.tileClass=void 0!==e.tileClass?e.tileClass:It,n.tileCacheForProjection={},n.tileGridForProjection={},n.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,n.renderReprojectionEdges_=!1,n}return ie(e,t),e.prototype.canExpireCache=function(){if(!xt.a)return t.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var e in this.tileCacheForProjection)if(this.tileCacheForProjection[e].canExpireCache())return!0;return!1},e.prototype.expireCache=function(e,n){if(xt.a){var l=this.getTileCacheForProjection(e);for(var i in this.tileCache.expireCache(this.tileCache==l?n:{}),this.tileCacheForProjection){var r=this.tileCacheForProjection[i];r.expireCache(r==l?n:{})}}else t.prototype.expireCache.call(this,e,n)},e.prototype.getGutterForProjection=function(t){return xt.a&&this.getProjection()&&t&&!Object(x.c)(this.getProjection(),t)?0:this.getGutter()},e.prototype.getGutter=function(){return 0},e.prototype.getOpaque=function(e){return!(xt.a&&this.getProjection()&&e&&!Object(x.c)(this.getProjection(),e))&&t.prototype.getOpaque.call(this,e)},e.prototype.getTileGridForProjection=function(e){if(!xt.a)return t.prototype.getTileGridForProjection.call(this,e);var n=this.getProjection();if(!this.tileGrid||n&&!Object(x.c)(n,e)){var l=Object(z.c)(e);return l in this.tileGridForProjection||(this.tileGridForProjection[l]=Wt(e)),this.tileGridForProjection[l]}return this.tileGrid},e.prototype.getTileCacheForProjection=function(e){if(!xt.a)return t.prototype.getTileCacheForProjection.call(this,e);var n=this.getProjection();if(!n||Object(x.c)(n,e))return this.tileCache;var l=Object(z.c)(e);return l in this.tileCacheForProjection||(this.tileCacheForProjection[l]=new Rt(this.tileCache.highWaterMark)),this.tileCacheForProjection[l]},e.prototype.createTile_=function(t,e,n,l,i,r){var o=[t,e,n],a=this.getTileCoordForTileUrlFunction(o,i),s=a?this.tileUrlFunction(a,l,i):void 0,u=new this.tileClass(o,void 0!==s?q.a.IDLE:q.a.EMPTY,void 0!==s?s:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return u.key=r,u.addEventListener(nt.a.CHANGE,this.handleTileChange.bind(this)),u},e.prototype.getTile=function(t,e,n,l,i){var r=this.getProjection();if(xt.a&&r&&i&&!Object(x.c)(r,i)){var o=this.getTileCacheForProjection(i),a=[t,e,n],s=void 0,u=yt(a);o.containsKey(u)&&(s=o.get(u));var c=this.getKey();if(s&&s.key==c)return s;var d=this.getTileGridForProjection(r),h=this.getTileGridForProjection(i),p=this.getTileCoordForTileUrlFunction(a,i),f=new Ut(r,d,i,h,a,p,this.getTilePixelRatio(l),this.getGutter(),(function(t,e,n,l){return this.getTileInternal(t,e,n,l,r)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_);return f.key=c,s?(f.interimTile=s,f.refreshInterimChain(),o.replace(u,f)):o.set(u,f),f}return this.getTileInternal(t,e,n,l,r||i)},e.prototype.getTileInternal=function(t,e,n,l,i){var r=null,o=_t(t,e,n),a=this.getKey();if(this.tileCache.containsKey(o)){if((r=this.tileCache.get(o)).key!=a){var s=r;(r=this.createTile_(t,e,n,l,i,a)).interimTile=s.getState()==q.a.IDLE?s.interimTile:s,r.refreshInterimChain(),this.tileCache.replace(o,r)}}else r=this.createTile_(t,e,n,l,i,a),this.tileCache.set(o,r);return r},e.prototype.setRenderReprojectionEdges=function(t){if(xt.a&&this.renderReprojectionEdges_!=t){for(var e in this.renderReprojectionEdges_=t,this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}},e.prototype.setTileGridForProjection=function(t,e){if(xt.a){var n=Object(x.g)(t);if(n){var l=Object(z.c)(n);l in this.tileGridForProjection||(this.tileGridForProjection[l]=e)}}},e}(le),ae=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),se=function(t){function e(e){var n=this,l=void 0!==e.hidpi&&e.hidpi;return(n=t.call(this,{cacheSize:e.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Object(x.g)("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:Pt.a.LOADING,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:l?2:1,wrapX:void 0===e.wrapX||e.wrapX,transition:e.transition})||this).hidpi_=l,n.culture_=void 0!==e.culture?e.culture:"en-us",n.maxZoom_=void 0!==e.maxZoom?e.maxZoom:-1,n.apiKey_=e.key,n.imagerySet_=e.imagerySet,function(t,e,n,l){var i=document.createElement("script"),r="olc_"+Object(z.c)(e);function o(){delete window[r],i.parentNode.removeChild(i)}i.async=!0,i.src=t+(-1==t.indexOf("?")?"?":"&")+"jsonp="+r;var a=setTimeout((function(){o()}),1e4);window[r]=function(t){clearTimeout(a),o(),e(t)},document.getElementsByTagName("head")[0].appendChild(i)}("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+n.imagerySet_+"?uriScheme=https&include=ImageryProviders&key="+n.apiKey_+"&c="+n.culture_,n.handleImageryMetadataResponse.bind(n)),n}return ae(e,t),e.prototype.getApiKey=function(){return this.apiKey_},e.prototype.getImagerySet=function(){return this.imagerySet_},e.prototype.handleImageryMetadataResponse=function(t){if(200==t.statusCode&&"OK"==t.statusDescription&&"ValidCredentials"==t.authenticationResultCode&&1==t.resourceSets.length&&1==t.resourceSets[0].resources.length){var e=t.resourceSets[0].resources[0],n=-1==this.maxZoom_?e.zoomMax:this.maxZoom_,l=Jt(this.getProjection()),i=this.hidpi_?2:1,r=$t({extent:l,minZoom:e.zoomMin,maxZoom:n,tileSize:e.imageWidth==e.imageHeight?e.imageWidth/i:[e.imageWidth/i,e.imageHeight/i]});this.tileGrid=r;var o=this.culture_,a=this.hidpi_;if(this.tileUrlFunction=Ct(e.imageUrlSubdomains.map((function(t){var n=[0,0,0],l=e.imageUrl.replace("{subdomain}",t).replace("{culture}",o);return function(t,e,i){if(t){gt(t[0],t[1],t[2],n);var r=l;return a&&(r+="&dpi=d1&device=mobile"),r.replace("{quadkey}",function(t){var e,n,l=t[0],i=new Array(l),r=1<<l-1;for(e=0;e<l;++e)n=48,t[1]&r&&(n+=1),t[2]&r&&(n+=2),i[e]=String.fromCharCode(n),r>>=1;return i.join("")}(n))}}}))),e.imageryProviders){var s=Object(x.j)(Object(x.g)("EPSG:4326"),this.getProjection());this.setAttributions((function(t){var n=[],l=t.viewState,i=this.getTileGrid(),r=i.getZForResolution(l.resolution,this.zDirection),o=i.getTileCoordForCoordAndZ(l.center,r)[0];return e.imageryProviders.map((function(e){for(var l=!1,i=e.coverageAreas,r=0,a=i.length;r<a;++r){var u=i[r];if(o>=u.zoomMin&&o<=u.zoomMax){var c=u.bbox,d=[c[1],c[0],c[3],c[2]],h=Object(v.a)(d,s);if(Object(v.F)(h,t.extent)){l=!0;break}}}l&&n.push(e.attribution)})),n.push('<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html" target="_blank">Terms of Use</a>'),n}).bind(this))}this.setState(Pt.a.READY)}else this.setState(Pt.a.ERROR)},e}(oe),ue=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ce=function(t){function e(e){var n=e||{},l=void 0!==n.projection?n.projection:"EPSG:3857",i=void 0!==n.tileGrid?n.tileGrid:$t({extent:Jt(l),maxResolution:n.maxResolution,maxZoom:n.maxZoom,minZoom:n.minZoom,tileSize:n.tileSize});return t.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,opaque:n.opaque,projection:l,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:void 0===n.wrapX||n.wrapX,transition:n.transition,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this}return ue(e,t),e}(oe),de=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),he=[],pe=function(t){function e(e,n,l,i){var r=t.call(this,e,n,{transition:0})||this;return r.context_={},r.executorGroups={},r.loadingSourceTiles=0,r.errorSourceTileKeys={},r.hitDetectionImageData={},r.replayState_={},r.sourceTiles=null,r.getSourceTiles=i.bind(void 0,r),r.sourceZ=-1,r.hifi=!1,r.wrappedTileCoord=l,r}return de(e,t),e.prototype.getContext=function(t){var e=Object(z.c)(t);return e in this.context_||(this.context_[e]=Object(Dt.a)(1,1,he)),this.context_[e]},e.prototype.hasContext=function(t){return Object(z.c)(t)in this.context_},e.prototype.getImage=function(t){return this.hasContext(t)?this.getContext(t).canvas:null},e.prototype.getReplayState=function(t){var e=Object(z.c)(t);return e in this.replayState_||(this.replayState_[e]={dirty:!1,renderedRenderOrder:null,renderedResolution:NaN,renderedRevision:-1,renderedTileResolution:NaN,renderedTileRevision:-1,renderedZ:-1,renderedTileZ:-1}),this.replayState_[e]},e.prototype.load=function(){this.getSourceTiles()},e.prototype.release=function(){for(var e in this.context_)he.push(this.context_[e].canvas);t.prototype.release.call(this)},e}(Ot),fe=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),be=function(t){function e(e,n,l,i,r,o){var a=t.call(this,e,n,o)||this;return a.extent=null,a.format_=i,a.features_=null,a.projection=null,a.tileLoadFunction_=r,a.url_=l,a}return fe(e,t),e.prototype.getFormat=function(){return this.format_},e.prototype.getFeatures=function(){return this.features_},e.prototype.getKey=function(){return this.url_},e.prototype.load=function(){this.state==q.a.IDLE&&(this.setState(q.a.LOADING),this.tileLoadFunction_(this,this.url_),this.loader_&&this.loader_(this.extent,this.resolution,this.projection))},e.prototype.onLoad=function(t,e){this.setFeatures(t)},e.prototype.onError=function(){this.setState(q.a.ERROR)},e.prototype.setFeatures=function(t){this.features_=t,this.setState(q.a.LOADED)},e.prototype.setLoader=function(t){this.loader_=t},e}(Ot),me=n("bY/R"),ge=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),_e=function(t){function e(e){var n=this,l=e.projection||"EPSG:3857",i=e.extent||Jt(l),r=e.tileGrid||$t({extent:i,maxResolution:e.maxResolution,maxZoom:void 0!==e.maxZoom?e.maxZoom:22,minZoom:e.minZoom,tileSize:e.tileSize||512});return(n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,opaque:!1,projection:l,state:e.state,tileGrid:r,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:ye,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:void 0===e.wrapX||e.wrapX,transition:e.transition,zDirection:void 0===e.zDirection?1:e.zDirection})||this).format_=e.format?e.format:null,n.loadingTiles_={},n.sourceTileCache=new Rt(n.tileCache.highWaterMark),n.overlaps_=null==e.overlaps||e.overlaps,n.tileClass=e.tileClass?e.tileClass:be,n.tileGrids_={},n}return ge(e,t),e.prototype.getFeaturesInExtent=function(t){var e=[],n=this.tileCache;if(0===n.getCount())return e;var l=At(n.peekFirstKey())[0],i=this.tileGrid;return n.forEach((function(n){if(n.tileCoord[0]===l&&n.getState()===q.a.LOADED)for(var r=n.getSourceTiles(),o=0,a=r.length;o<a;++o){var s=r[o],u=s.tileCoord;if(Object(v.F)(t,i.getTileCoordExtent(u))){var c=s.getFeatures();if(c)for(var d=0,h=c.length;d<h;++d){var p=c[d],f=p.getGeometry();Object(v.F)(t,f.getExtent())&&e.push(p)}}}})),e},e.prototype.getOverlaps=function(){return this.overlaps_},e.prototype.clear=function(){this.tileCache.clear(),this.sourceTileCache.clear()},e.prototype.expireCache=function(e,n){t.prototype.expireCache.call(this,e,n),this.sourceTileCache.expireCache({})},e.prototype.getSourceTiles=function(t,e,n){var l=n.wrappedTileCoord,i=this.getTileGridForProjection(e),r=i.getTileCoordExtent(l),o=i.getResolution(l[0]);Object(v.c)(r,-o,r);var a=this.tileGrid,s=a.getExtent();s&&Object(v.B)(r,s,r);var u,c,d,h=a.getZForResolution(o,1),p=a.getMinZoom(),f=n.sourceTiles;if(f&&f.length>0&&f[0].tileCoord[0]===h)u=f,c=!0,d=h;else{u=[],d=h+1;do{--d,c=!0,a.forEachTileCoord(r,d,(function(l){var i,r=this.tileUrlFunction(l,t,e);if(void 0!==r)if(this.sourceTileCache.containsKey(r)){var o=(i=this.sourceTileCache.get(r)).getState();if(o===q.a.LOADED||o===q.a.ERROR||o===q.a.EMPTY)return void u.push(i)}else d===h&&((i=new this.tileClass(l,q.a.IDLE,r,this.format_,this.tileLoadFunction)).extent=a.getTileCoordExtent(l),i.projection=e,i.resolution=a.getResolution(l[0]),this.sourceTileCache.set(r,i),i.addEventListener(nt.a.CHANGE,this.handleTileChange.bind(this)),i.load());c=c&&i&&i.getState()===q.a.LOADED,i&&i.getState()!==q.a.EMPTY&&n.getState()===q.a.IDLE&&(n.loadingSourceTiles++,i.addEventListener(nt.a.CHANGE,(function t(){var e=i.getState(),l=i.getKey();if(e===q.a.LOADED||e===q.a.ERROR){e===q.a.LOADED?(i.removeEventListener(nt.a.CHANGE,t),n.loadingSourceTiles--,delete n.errorSourceTileKeys[l]):e===q.a.ERROR&&(n.errorSourceTileKeys[l]=!0);var r=Object.keys(n.errorSourceTileKeys).length;n.loadingSourceTiles-r==0&&(n.hifi=0===r,n.sourceZ=h,n.setState(q.a.LOADED))}})))}).bind(this)),c||(u.length=0)}while(!c&&d>p)}return n.getState()===q.a.IDLE&&n.setState(q.a.LOADING),c&&(n.hifi=h===d,n.sourceZ=d,n.getState()<q.a.LOADED?n.setState(q.a.LOADED):f&&Object(A.b)(u,f)||(n.sourceTiles=u)),u},e.prototype.getTile=function(t,e,n,l,i){var r,o=_t(t,e,n),a=this.getKey();if(this.tileCache.containsKey(o)&&(r=this.tileCache.get(o)).key===a)return r;var s=[t,e,n],u=this.getTileCoordForTileUrlFunction(s,i),c=this.getTileGrid().getExtent(),d=this.getTileGridForProjection(i);if(u&&c){var h=d.getTileCoordExtent(u);Object(v.c)(h,-d.getResolution(t),h),Object(v.F)(c,h)||(u=null)}var p=!0;if(null!==u){var f=this.tileGrid,b=d.getResolution(t),m=f.getZForResolution(b,1),g=d.getTileCoordExtent(u);Object(v.c)(g,-b,g),f.forEachTileCoord(g,m,(function(t){p=p&&!this.tileUrlFunction(t,l,i)}).bind(this))}var _=new pe(s,p?q.a.EMPTY:q.a.IDLE,u,this.getSourceTiles.bind(this,l,i));return _.key=a,r?(_.interimTile=r,_.refreshInterimChain(),this.tileCache.replace(o,_)):this.tileCache.set(o,_),_},e.prototype.getTileGridForProjection=function(t){var e=t.getCode(),n=this.tileGrids_[e];if(!n){var l=this.tileGrid;n=Kt(t,void 0,l?l.getTileSize(l.getMinZoom()):void 0),this.tileGrids_[e]=n}return n},e.prototype.getTilePixelRatio=function(t){return t},e.prototype.getTilePixelSize=function(t,e,n){var l=this.getTileGridForProjection(n),i=Object(rt.c)(l.getTileSize(t),this.tmpSize);return[Math.round(i[0]*e),Math.round(i[1]*e)]},e}(le);function ye(t,e){var n=Object(me.a)(e,t.getFormat(),t.onLoad.bind(t),t.onError.bind(t));t.setLoader(n)}var Ae=n("bHcU"),ve=n("g6Z0"),Ce=n("hoJM"),we=n("bL/2"),Pe=n("gpXz"),xe=n("zixo"),Se={$version:8,$root:{version:{required:!0,type:"enum",values:[8],doc:"Style specification version number. Must be 8.",example:8},name:{type:"string",doc:"A human-readable name for the style.",example:"Bright"},metadata:{type:"*",doc:"Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},center:{type:"array",value:"number",doc:"Default map center in longitude and latitude. The style center will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:[-73.9749,40.7736]},zoom:{type:"number",doc:"Default zoom level. The style zoom will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:12.5},bearing:{type:"number",default:0,period:360,units:"degrees",doc:'Default bearing, in degrees. The bearing is the compass direction that is "up"; for example, a bearing of 90\xb0 orients the map so that east is up. This value will be used only if the map has not been positioned by other means (e.g. map options or user interaction).',example:29},pitch:{type:"number",default:0,units:"degrees",doc:"Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:50},light:{type:"light",doc:"The global light source.",example:{anchor:"viewport",color:"white",intensity:.4}},sources:{required:!0,type:"sources",doc:"Data source specifications.",example:{"mapbox-streets":{type:"vector",url:"mapbox://mapbox.mapbox-streets-v6"}}},sprite:{type:"string",doc:"A base URL for retrieving the sprite image and metadata. The extensions `.png`, `.json` and scale factor `@2x.png` will be automatically appended. This property is required if any layer uses the `background-pattern`, `fill-pattern`, `line-pattern`, `fill-extrusion-pattern`, or `icon-image` properties. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://sprites/mapbox/bright-v8"},glyphs:{type:"string",doc:"A URL template for loading signed-distance-field glyph sets in PBF format. The URL must include `{fontstack}` and `{range}` tokens. This property is required if any layer uses the `text-field` layout property. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},transition:{type:"transition",doc:"A global transition definition to use as a default across properties, to be used for timing transitions between one value and the next when no property-specific transition is set. Collision-based symbol fading is controlled independently of the style's `transition` property.",example:{duration:300,delay:0}},layers:{required:!0,type:"array",value:"layer",doc:"Layers will be drawn in the order of this array.",example:[{id:"water",source:"mapbox-streets","source-layer":"water",type:"fill",paint:{"fill-color":"#00ffff"}}]}},sources:{"*":{type:"source",doc:"Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided."}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{doc:"A vector tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`. If specified as a string for a vector tile source, the same property is used across all its source layers."},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster:{type:{required:!0,type:"enum",values:{raster:{doc:"A raster tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{doc:"A RGB-encoded raster DEM source"}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},encoding:{type:"enum",values:{terrarium:{doc:"Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info."},mapbox:{doc:"Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info."}},default:"mapbox",doc:"The encoding used by this source. Mapbox Terrain RGB is used by default"},"*":{type:"*",doc:"Other keys to configure the data source."}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{doc:"A GeoJSON data source."}},doc:"The data type of the GeoJSON source."},data:{type:"*",doc:"A URL to a GeoJSON file, or inline GeoJSON."},maxzoom:{type:"number",default:18,doc:"Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},buffer:{type:"number",default:128,maximum:512,minimum:0,doc:"Size of the tile buffer on each side. A value of 0 produces no buffer. A value of 512 produces a buffer as wide as the tile itself. Larger values produce fewer rendering artifacts near tile edges and slower performance."},tolerance:{type:"number",default:.375,doc:"Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)."},cluster:{type:"boolean",default:!1,doc:"If the data is a collection of point features, setting this to true clusters the points by radius into groups. Cluster groups become new `Point` features in the source with additional properties:\n * `cluster` Is `true` if the point is a cluster \n * `cluster_id` A unqiue id for the cluster to be used in conjunction with the [cluster inspection methods](https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterexpansionzoom)\n * `point_count` Number of original points grouped into this cluster\n * `point_count_abbreviated` An abbreviated point count"},clusterRadius:{type:"number",default:50,minimum:0,doc:"Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile."},clusterMaxZoom:{type:"number",doc:"Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered)."},clusterProperties:{type:"*",doc:'An object defining custom properties on the generated clusters if clustering is enabled, aggregating values from clustered points. Has the form `{"property_name": [operator, map_expression]}`. `operator` is any expression function that accepts at least 2 operands (e.g. `"+"` or `"max"`) \u2014 it accumulates the property value from clusters/points the cluster contains; `map_expression` produces the value of a single point.\n\nExample: `{"sum": ["+", ["get", "scalerank"]]}`.\n\nFor more advanced use cases, in place of `operator`, you can use a custom reduce expression that references a special `["accumulated"]` value, e.g.:\n`{"sum": [["+", ["accumulated"], ["get", "sum"]], ["get", "scalerank"]]}`'},lineMetrics:{type:"boolean",default:!1,doc:"Whether to calculate line distance metrics. This is required for line layers that specify `line-gradient` values."},generateId:{type:"boolean",default:!1,doc:"Whether to generate ids for the geojson features. When enabled, the `feature.id` property will be auto assigned based on its index in the `features` array, over-writing any previous values."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`."}},source_video:{type:{required:!0,type:"enum",values:{video:{doc:"A video data source."}},doc:"The data type of the video source."},urls:{required:!0,type:"array",value:"string",doc:"URLs to video content in order of preferred format."},coordinates:{required:!0,doc:"Corners of video specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},source_image:{type:{required:!0,type:"enum",values:{image:{doc:"An image data source."}},doc:"The data type of the image source."},url:{required:!0,type:"string",doc:"URL that points to an image."},coordinates:{required:!0,doc:"Corners of image specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},layer:{id:{type:"string",doc:"Unique layer name.",required:!0},type:{type:"enum",values:{fill:{doc:"A filled polygon with an optional stroked border.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},line:{doc:"A stroked line.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},symbol:{doc:"An icon or a text label.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},circle:{doc:"A filled circle.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},heatmap:{doc:"A heatmap.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"fill-extrusion":{doc:"An extruded (3D) polygon.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},raster:{doc:"Raster map textures such as satellite imagery.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},hillshade:{doc:"Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},background:{doc:"The background color or pattern of the map.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}}},doc:"Rendering type of this layer.",required:!0},metadata:{type:"*",doc:"Arbitrary properties useful to track with the layer, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},source:{type:"string",doc:"Name of a source description to be used for this layer. Required for all layer types except `background`."},"source-layer":{type:"string",doc:"Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources."},minzoom:{type:"number",minimum:0,maximum:24,doc:"The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden."},maxzoom:{type:"number",minimum:0,maximum:24,doc:"The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden."},filter:{type:"filter",doc:"A expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The `feature-state` expression is not supported in filter expressions."},layout:{type:"layout",doc:"Layout properties for the layer."},paint:{type:"paint",doc:"Default paint properties for this layer."}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0"},"data-driven styling":{js:"1.2.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0"},"data-driven styling":{js:"1.2.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},"property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{doc:"A cap with a squared-off end which is drawn to the exact endpoint of the line."},round:{doc:"A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},square:{doc:"A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."}},default:"butt",doc:"The display of line endings.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{doc:"A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."},round:{doc:"A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},miter:{doc:"A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet."}},default:"miter",doc:"The display of lines when joining.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,doc:"Used to automatically convert miter joins to bevel joins for sharp angles.",requires:[{"line-join":"miter"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,doc:"Used to automatically convert round joins to miter joins for shallow angles.",requires:[{"line-join":"round"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0"},"data-driven styling":{js:"1.2.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{doc:"The label is placed at the point where the geometry is located."},line:{doc:"The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries."},"line-center":{doc:"The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries."}},default:"point",doc:"Label placement relative to its geometry.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`line-center` value":{js:"0.47.0",android:"6.4.0",ios:"4.3.0",macos:"0.10.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",doc:"Distance between two symbol anchors.",requires:[{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,doc:"If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When `icon-allow-overlap` or `text-allow-overlap` is `false`, features with a lower sort key will have priority during placement. When `icon-allow-overlap` or `text-allow-overlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.","sdk-support":{"basic functionality":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"},"data-driven styling":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{doc:"If `symbol-sort-key` is set, sort based on that. Otherwise sort symbols by their y-position relative to the viewport."},"viewport-y":{doc:"Symbols will be sorted by their y-position relative to the viewport."},source:{doc:"Symbols will be rendered in the same order as the source data with no sorting applied."}},default:"auto",doc:"Controls the order in which overlapping symbols in the same layer are rendered","sdk-support":{"basic functionality":{js:"0.49.0",android:"6.6.0",ios:"4.5.0",macos:"0.12.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,doc:"If true, the icon will be visible even if it collides with other previously drawn symbols.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the icon.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,doc:"If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, aligns icon x-axes with the line."},viewport:{doc:"Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",doc:"Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `icon-size`. 1 is the original size; 3 triples the size of the image.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{doc:"The icon is displayed at its intrinsic aspect ratio."},width:{doc:"The icon is scaled in the x-dimension to fit the width of the text."},height:{doc:"The icon is scaled in the y-dimension to fit the height of the text."},both:{doc:"The icon is scaled in both x- and y-dimensions."}},default:"none",doc:"Scales the icon to fit around the associated text.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",doc:"Size of the additional area added to dimensions determined by `icon-text-fit`, in clockwise order: top, right, bottom, left.",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",doc:"Name of image in sprite to use for drawing an image background.",tokens:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the icon clockwise.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the icon bounding box used for detecting symbol collisions.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,doc:"If true, the icon may be flipped to prevent it from being rendered upside-down.",requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],doc:"Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `icon-size` to obtain the final offset in pixels. When combined with `icon-rotate` the offset will be as if the rotated direction was up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{doc:"The center of the icon is placed closest to the anchor."},left:{doc:"The left side of the icon is placed closest to the anchor."},right:{doc:"The right side of the icon is placed closest to the anchor."},top:{doc:"The top of the icon is placed closest to the anchor."},bottom:{doc:"The bottom of the icon is placed closest to the anchor."},"top-left":{doc:"The top left corner of the icon is placed closest to the anchor."},"top-right":{doc:"The top right corner of the icon is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the icon is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the icon is placed closest to the anchor."}},default:"center",doc:"Part of the icon placed closest to the anchor.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{doc:"The icon is aligned to the plane of the map."},viewport:{doc:"The icon is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `icon-rotation-alignment`."}},default:"auto",doc:"Orientation of icon when map is pitched.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{doc:"The text is aligned to the plane of the map."},viewport:{doc:"The text is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `text-rotation-alignment`."}},default:"auto",doc:"Orientation of text when map is pitched.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, aligns text x-axes with the line."},viewport:{doc:"Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,doc:"Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],doc:"Font stack to use for displaying text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",doc:"Font size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",doc:"The maximum line width for text wrapping.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",doc:"Text leading value for multi-line text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",doc:"Text tracking amount.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{doc:"The text is aligned towards the anchor position."},left:{doc:"The text is aligned to the left."},center:{doc:"The text is centered."},right:{doc:"The text is aligned to the right."}},default:"center",doc:"Text justification options.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},auto:{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,doc:"Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `text-variable-anchor`, which defaults to using the two-dimensional `text-offset` if present.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"},"data-driven styling":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},requires:["text-field",{"symbol-placement":["point"]}],doc:"To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` or the two-dimensional `text-offset`.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},default:"center",doc:"Part of the text placed closest to the anchor.",requires:["text-field",{"!":"text-variable-anchor"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",doc:"Maximum angle change between adjacent characters.",requires:["text-field",{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{doc:"If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally."},vertical:{doc:"If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically."}},doc:"The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn\u2019t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.",requires:["text-field",{"symbol-placement":["point"]}],"sdk-support":{"basic functionality":{js:"1.3.0",android:"8.3.0",ios:"5.3.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the text clockwise.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the text bounding box used for detecting symbol collisions.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,doc:"If true, the text may be flipped vertically to prevent it from being rendered upside-down.",requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{doc:"The text is not altered."},uppercase:{doc:"Forces all letters to be displayed in uppercase."},lowercase:{doc:"Forces all letters to be displayed in lowercase."}},default:"none",doc:"Specifies how to capitalize text, similar to the CSS `text-transform` property.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",doc:"Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,doc:"If true, the text will be visible even if it collides with other previously drawn symbols.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,doc:"If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.",requires:["text-field","icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},filter:{type:"array",value:"*",doc:"A filter selects specific features from a layer."},filter_operator:{type:"enum",values:{"==":{doc:'`["==", key, value]` equality: `feature[key] = value`'},"!=":{doc:'`["!=", key, value]` inequality: `feature[key] \u2260 value`'},">":{doc:'`[">", key, value]` greater than: `feature[key] > value`'},">=":{doc:'`[">=", key, value]` greater than or equal: `feature[key] \u2265 value`'},"<":{doc:'`["<", key, value]` less than: `feature[key] < value`'},"<=":{doc:'`["<=", key, value]` less than or equal: `feature[key] \u2264 value`'},in:{doc:'`["in", key, v0, ..., vn]` set inclusion: `feature[key] \u2208 {v0, ..., vn}`'},"!in":{doc:'`["!in", key, v0, ..., vn]` set exclusion: `feature[key] \u2209 {v0, ..., vn}`'},all:{doc:'`["all", f0, ..., fn]` logical `AND`: `f0 \u2227 ... \u2227 fn`'},any:{doc:'`["any", f0, ..., fn]` logical `OR`: `f0 \u2228 ... \u2228 fn`'},none:{doc:'`["none", f0, ..., fn]` logical `NOR`: `\xacf0 \u2227 ... \u2227 \xacfn`'},has:{doc:'`["has", key]` `feature[key]` exists'},"!has":{doc:'`["!has", key]` `feature[key]` does not exist'}},doc:"The filter operator."},geometry_type:{type:"enum",values:{Point:{doc:"Filter to point geometries."},LineString:{doc:"Filter to line geometries."},Polygon:{doc:"Filter to polygon geometries."}},doc:"The geometry type for the filter to select."},function:{expression:{type:"expression",doc:"An expression."},stops:{type:"array",doc:"An array of stops.",value:"function_stop"},base:{type:"number",default:1,minimum:0,doc:"The exponential base of the interpolation curve. It controls the rate at which the result increases. Higher values make the result increase more towards the high end of the range. With `1` the stops are interpolated linearly."},property:{type:"string",doc:"The name of a feature property to use as the function input.",default:"$zoom"},type:{type:"enum",values:{identity:{doc:"Return the input value as the output value."},exponential:{doc:"Generate an output by interpolating between stops just less than and just greater than the function input."},interval:{doc:"Return the output value of the stop just less than the function input."},categorical:{doc:"Return the output value of the stop equal to the function input."}},doc:"The interpolation strategy to use in function evaluation.",default:"exponential"},colorSpace:{type:"enum",values:{rgb:{doc:"Use the RGB color space to interpolate color values"},lab:{doc:"Use the LAB color space to interpolate color values."},hcl:{doc:"Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually."}},doc:"The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.",default:"rgb"},default:{type:"*",required:!1,doc:"A value to serve as a fallback function result when a value isn't otherwise available. It is used in the following circumstances:\n* In categorical functions, when the feature value does not match any of the stop domain values.\n* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.\n* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a `circle-color` property but the feature property value is not a string or not a valid color).\n* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.\nIf no default is provided, the style property's default is used in these circumstances."}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2,doc:"Zoom level and value pair."},expression:{type:"array",value:"*",minimum:1,doc:"An expression defines a function that can be used for data-driven style properties or feature filters."},expression_name:{doc:"",type:"enum",values:{let:{doc:'Binds expressions to named variables, which can then be referenced in the result expression using ["var", "variable_name"].',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},var:{doc:'References variable bound using "let".',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},literal:{doc:"Provides a literal array or object value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},array:{doc:"Asserts that the input is an array (optionally with a specific item type and length). If, when the input expression is evaluated, it is not of the asserted type, then this assertion will cause the whole expression to be aborted.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},at:{doc:"Retrieves an item from an array.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},in:{doc:"Determines whether an item exists in an array or a substring exists in a string.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.6.0"}}},case:{doc:"Selects the first output whose corresponding test condition evaluates to true, or the fallback value otherwise.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},match:{doc:'Selects the output whose label value matches the input value, or the fallback value if no match is found. The input can be any expression (e.g. `["get", "building_type"]`). Each label must be either:\n * a single literal value; or\n * an array of literal values, whose values must be all strings or all numbers (e.g. `[100, 101]` or `["c", "b"]`). The input matches if any of the values in the array matches, similar to the `"in"` operator.\n\nEach label must be unique. If the input type does not match the type of the labels, the result will be the fallback value.',group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},coalesce:{doc:"Evaluates each expression in turn until the first non-null value is obtained, and returns that value.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},step:{doc:'Produces discrete, stepped results by evaluating a piecewise-constant function defined by pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. Returns the output value of the stop just less than the input, or the first output if the input is less than the first stop.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},interpolate:{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. The output type must be `number`, `array<number>`, or `color`.\n\nInterpolation types:\n- `["linear"]`: interpolates linearly between the pair of stops just less than and just greater than the input.\n- `["exponential", base]`: interpolates exponentially between the stops just less than and just greater than the input. `base` controls the rate at which the output increases: higher values make the output increase more towards the high end of the range. With values close to 1 the output increases linearly.\n- `["cubic-bezier", x1, y1, x2, y2]`: interpolates using the cubic bezier curve defined by the given control points.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"interpolate-hcl":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the Hue-Chroma-Luminance color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},"interpolate-lab":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the CIELAB color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},ln2:{doc:"Returns mathematical constant ln(2).",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},pi:{doc:"Returns the mathematical constant pi.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},e:{doc:"Returns the mathematical constant e.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},typeof:{doc:"Returns a string describing the type of the given value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},string:{doc:"Asserts that the input value is a string. If multiple values are provided, each one is evaluated in order until a string is obtained. If none of the inputs are strings, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},number:{doc:"Asserts that the input value is a number. If multiple values are provided, each one is evaluated in order until a number is obtained. If none of the inputs are numbers, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},boolean:{doc:"Asserts that the input value is a boolean. If multiple values are provided, each one is evaluated in order until a boolean is obtained. If none of the inputs are booleans, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},object:{doc:"Asserts that the input value is an object. If multiple values are provided, each one is evaluated in order until an object is obtained. If none of the inputs are objects, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},collator:{doc:"Returns a `collator` for use in locale-dependent comparison operations. The `case-sensitive` and `diacritic-sensitive` options default to `false`. The `locale` argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the `collator` will use a system-defined fallback locale. Use `resolved-locale` to test the results of locale fallback behavior.",group:"Types","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},format:{doc:"Returns `formatted` text containing annotations for use in mixed-format `text-field` entries. For a `text-field` entries of a string type, following option object's properties are supported: If set, the `text-font` value overrides the font specified by the root layout properties. If set, the `font-scale` value specifies a scaling factor relative to the `text-size` specified in the root layout properties. If set, the `text-color` value overrides the color specified by the root paint properties for this layer.",group:"Types","sdk-support":{"basic functionality":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-font":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"font-scale":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-color":{js:"1.3.0",android:"7.3.0",ios:"4.10.0",macos:"0.14.0"},image:{js:"1.6.0"}}},image:{doc:"Returns an `image` type for use in `icon-image`, `*-pattern` entries and as a section in the `format` expression. If set, the `image` argument will check that the requested image exists in the style and will return either the resolved image name or `null`, depending on whether or not the image is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `image` argument.",group:"Types","sdk-support":{"basic functionality":{js:"1.4.0",android:"8.6.0",ios:"5.6.0"}}},"number-format":{doc:"Converts the input number into a string representation using the providing formatting rules. If set, the `locale` argument specifies the locale to use, as a BCP 47 language tag. If set, the `currency` argument specifies an ISO 4217 code to use for currency-style formatting. If set, the `min-fraction-digits` and `max-fraction-digits` arguments specify the minimum and maximum number of fractional digits to include.",group:"Types","sdk-support":{"basic functionality":{js:"0.54.0"}}},"to-string":{doc:'Converts the input value to a string. If the input is `null`, the result is `""`. If the input is a boolean, the result is `"true"` or `"false"`. If the input is a number, it is converted to a string as specified by the ["NumberToString" algorithm](https://tc39.github.io/ecma262/#sec-tostring-applied-to-the-number-type) of the ECMAScript Language Specification. If the input is a color, it is converted to a string of the form `"rgba(r,g,b,a)"`, where `r`, `g`, and `b` are numerals ranging from 0 to 255, and `a` ranges from 0 to 1. Otherwise, the input is converted to a string in the format specified by the [`JSON.stringify`](https://tc39.github.io/ecma262/#sec-json.stringify) function of the ECMAScript Language Specification.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-number":{doc:'Converts the input value to a number, if possible. If the input is `null` or `false`, the result is 0. If the input is `true`, the result is 1. If the input is a string, it is converted to a number as specified by the ["ToNumber Applied to the String Type" algorithm](https://tc39.github.io/ecma262/#sec-tonumber-applied-to-the-string-type) of the ECMAScript Language Specification. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-boolean":{doc:"Converts the input value to a boolean. The result is `false` when then input is an empty string, 0, `false`, `null`, or `NaN`; otherwise it is `true`.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-rgba":{doc:"Returns a four-element array containing the input color's red, green, blue, and alpha components, in that order.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-color":{doc:"Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgb:{doc:"Creates a color value from red, green, and blue components, which must range between 0 and 255, and an alpha component of 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgba:{doc:"Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between 0 and 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},get:{doc:"Retrieves a property value from the current feature's properties, or from another object if a second argument is provided. Returns null if the requested property is missing.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},has:{doc:"Tests for the presence of an property value in the current feature's properties, or from another object if a second argument is provided.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},length:{doc:"Gets the length of an array or string.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},properties:{doc:'Gets the feature properties object. Note that in some cases, it may be more efficient to use ["get", "property_name"] directly.',group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"feature-state":{doc:"Retrieves a property value from the current feature's state. Returns null if the requested property is not present on the feature's state. A feature's state is not part of the GeoJSON or vector tile data, and must be set programmatically on each feature. Features are identified by their `id` attribute, which must be an integer or a string that can be cast to an integer. Note that [\"feature-state\"] can only be used with paint properties that support data-driven styling.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.46.0"}}},"geometry-type":{doc:"Gets the feature's geometry type: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},id:{doc:"Gets the feature's id, if it has one.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},zoom:{doc:'Gets the current zoom level. Note that in style layout and paint properties, ["zoom"] may only appear as the input to a top-level "step" or "interpolate" expression.',group:"Zoom","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"heatmap-density":{doc:"Gets the kernel density estimation of a pixel in a heatmap layer, which is a relative measure of how many data points are crowded around a particular pixel. Can only be used in the `heatmap-color` property.",group:"Heatmap","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"line-progress":{doc:"Gets the progress along a gradient line. Can only be used in the `line-gradient` property.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.6.0",macos:"0.12.0"}}},accumulated:{doc:"Gets the value of a cluster property accumulated so far. Can only be used in the `clusterProperties` option of a clustered GeoJSON source.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.53.0"}}},"+":{doc:"Returns the sum of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"*":{doc:"Returns the product of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"-":{doc:"For two inputs, returns the result of subtracting the second input from the first. For a single input, returns the result of subtracting it from 0.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"/":{doc:"Returns the result of floating point division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"%":{doc:"Returns the remainder after integer division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"^":{doc:"Returns the result of raising the first input to the power specified by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sqrt:{doc:"Returns the square root of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log10:{doc:"Returns the base-ten logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ln:{doc:"Returns the natural logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log2:{doc:"Returns the base-two logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sin:{doc:"Returns the sine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},cos:{doc:"Returns the cosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},tan:{doc:"Returns the tangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},asin:{doc:"Returns the arcsine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},acos:{doc:"Returns the arccosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},atan:{doc:"Returns the arctangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},min:{doc:"Returns the minimum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},max:{doc:"Returns the maximum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},round:{doc:'Rounds the input to the nearest integer. Halfway values are rounded away from zero. For example, `["round", -1.5]` evaluates to -2.',group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},abs:{doc:"Returns the absolute value of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ceil:{doc:"Returns the smallest integer that is greater than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},floor:{doc:"Returns the largest integer that is less than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"==":{doc:"Returns `true` if the input values are equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"!=":{doc:"Returns `true` if the input values are not equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">":{doc:"Returns `true` if the first input is strictly greater than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<":{doc:"Returns `true` if the first input is strictly less than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">=":{doc:"Returns `true` if the first input is greater than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<=":{doc:"Returns `true` if the first input is less than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},all:{doc:"Returns `true` if all the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `false`, the result is `false` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},any:{doc:"Returns `true` if any of the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `true`, the result is `true` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"!":{doc:"Logical negation. Returns `true` if the input is `false`, and `false` if the input is `true`.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},within:{doc:"Returns `true` if the feature being evaluated is inside the pre-defined geometry boundary, `false` otherwise. The expression has one argument which must be a valid GeoJSON Polygon/Multi-Polygon object. The expression only evaluates on `Point` or `LineString` feature. For `Point` feature, The expression will return false if any point of the feature is on the boundary or outside the boundary. For `LineString` feature, the expression will return false if the line is fully outside the boundary, or the line is partially intersecting the boundary, which means either part of the line is outside of the boundary, or end point of the line lies on the boundary.",group:"Decision","sdk-support":{"basic functionality":{js:"1.9.0"}}},"is-supported-script":{doc:"Returns `true` if the input string is expected to render legibly. Returns `false` if the input string contains sections that cannot be rendered without potential loss of meaning (e.g. Indic scripts that require complex text shaping, or right-to-left scripts if the the `mapbox-gl-rtl-text` plugin is not in use in Mapbox GL JS).",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.6.0"}}},upcase:{doc:"Returns the input string converted to uppercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},downcase:{doc:"Returns the input string converted to lowercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},concat:{doc:"Returns a `string` consisting of the concatenation of the inputs. Each input is converted to a string as if by `to-string`.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"resolved-locale":{doc:"Returns the IETF language tag of the locale being used by the provided `collator`. This can be used to determine the default system locale, or to determine if a requested locale was successfully loaded.",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{doc:"The position of the light source is aligned to the rotation of the map."},viewport:{doc:"The position of the light source is aligned to the rotation of the viewport."}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]},doc:"Whether extruded geometries are lit relative to the map or viewport.",example:"map","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},doc:"Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0\xb0 (0\xb0 when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0\xb0 when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0\xb0, directly above, to 180\xb0, directly below).",example:[1.5,90,80],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Color tint for lighting extruded geometries.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,doc:"Whether or not the fill should be antialiased.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill layer. In contrast to the `fill-color`, this value will also affect the 1px stroke around the fill, if the stroke is used.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",doc:"The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.",transition:!0,requires:[{"!":"fill-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",doc:"The outline color of the fill. Matches the value of `fill-color` if unspecified.",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{doc:"The fill is translated relative to the map."},viewport:{doc:"The fill is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-translate`.",default:"map",requires:["fill-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",doc:"The opacity at which the line will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",doc:"The color with which the line will be drawn.",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.23.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{doc:"The line is translated relative to the map."},viewport:{doc:"The line is translated relative to the viewport."}},doc:"Controls the frame of reference for `line-translate`.",default:"map",requires:["line-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",doc:"Stroke thickness.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,doc:"Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,doc:"The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.12.1",android:"3.0.0",ios:"3.1.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Blur applied to the line, in pixels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",doc:"Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",doc:'Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.',transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],"sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.4.0",macos:"0.11.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",doc:"Circle radius.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",doc:"The fill color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,doc:"Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",doc:"The opacity at which the circle will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{doc:"The circle is translated relative to the map."},viewport:{doc:"The circle is translated relative to the viewport."}},doc:"Controls the frame of reference for `circle-translate`.",default:"map",requires:["circle-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{doc:"Circles are scaled according to their apparent distance to the camera."},viewport:{doc:"Circles are not scaled."}},default:"map",doc:"Controls the scaling behavior of the circle when the map is pitched.","sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{doc:"The circle is aligned to the plane of the map."},viewport:{doc:"The circle is aligned to the plane of the viewport."}},default:"viewport",doc:"Orientation of circle when map is pitched.","sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The width of the circle's stroke. Strokes are placed outside of the `circle-radius`.","sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",doc:"The stroke color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",doc:"The opacity of the circle's stroke.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",doc:"Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,doc:"A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,doc:"Similar to `heatmap-weight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],doc:'Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmap-density"]` as input.',transition:!1,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",doc:"The global opacity at which the heatmap layer will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{doc:"The opacity at which the icon will be drawn.",type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,doc:"The color of the icon. This can only be used with sdf icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the icon's halo. Icon halos can only be used with SDF icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the icon outline.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Fade out the halo towards the outside.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{doc:"Icons are translated relative to the map."},viewport:{doc:"Icons are translated relative to the viewport."}},doc:"Controls the frame of reference for `icon-translate`.",default:"map",requires:["icon-image","icon-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",doc:"The opacity at which the text will be drawn.",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",doc:"The color with which the text will be drawn.",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the text's halo, which helps it stand out from backgrounds.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The halo's fadeout distance towards the outside.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{doc:"The text is translated relative to the map."},viewport:{doc:"The text is translated relative to the viewport."}},doc:"Controls the frame of reference for `text-translate`.",default:"map",requires:["text-field","text-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",doc:"The opacity at which the image will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",doc:"Rotates hues around the color wheel.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the minimum brightness.",default:0,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the maximum brightness.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",doc:"Increase or reduce the saturation of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",doc:"Increase or reduce the contrast of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",doc:"The resampling/interpolation method to use for overscaling, also known as texture magnification filter",values:{linear:{doc:"(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled"},nearest:{doc:"Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled"}},default:"linear","sdk-support":{"basic functionality":{js:"0.47.0",android:"6.3.0",ios:"4.2.0",macos:"0.9.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",doc:"Fade duration when a new tile is added.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,doc:"The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshade-illumination-anchor` is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`.",transition:!1,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{doc:"The hillshade illumination is relative to the north direction."},viewport:{doc:"The hillshade illumination is relative to the top of the viewport."}},default:"viewport",doc:"Direction of light source when map is rotated.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",doc:"Intensity of the hillshade",default:.5,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",doc:"The shading color of areas that face away from the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",doc:"The shading color of areas that faces towards the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",doc:"The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",doc:"The color with which the background will be drawn.",transition:!0,requires:[{"!":"background-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity at which the background will be drawn.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds",doc:"Time allotted for transitions to complete."},delay:{type:"number",default:0,minimum:0,units:"milliseconds",doc:"Length of time before a transition begins."}},"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doc:"Property is interpolable but cannot be represented using a property expression."},constant:{type:"property-type",doc:"Property is constant across all zoom levels and property values."}},promoteId:{"*":{type:"string",doc:"A name of a feature property to use as ID for feature state."}}},ke="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Me(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function Oe(t,e){return t(e={exports:{}},e.exports),e.exports}var De=Oe((function(t,e){!function(n){var l=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,r="object"==typeof ke&&ke;r.global!==r&&r.window!==r&&r.self!==r||(n=r);var o,a,s=2147483647,u=/^xn--/,c=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,f=String.fromCharCode;function b(t){throw RangeError(h[t])}function m(t,e){for(var n=t.length,l=[];n--;)l[n]=e(t[n]);return l}function g(t,e){var n=t.split("@"),l="";return n.length>1&&(l=n[0]+"@",t=n[1]),l+m((t=t.replace(d,".")).split("."),e).join(".")}function _(t){for(var e,n,l=[],i=0,r=t.length;i<r;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<r?56320==(64512&(n=t.charCodeAt(i++)))?l.push(((1023&e)<<10)+(1023&n)+65536):(l.push(e),i--):l.push(e);return l}function y(t){return m(t,(function(t){var e="";return t>65535&&(e+=f((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+f(t)})).join("")}function A(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function v(t,e,n){var l=0;for(t=n?p(t/700):t>>1,t+=p(t/e);t>455;l+=36)t=p(t/35);return p(l+36*t/(t+38))}function C(t){var e,n,l,i,r,o,a,u,c,d,h,f=[],m=t.length,g=0,_=128,A=72;for((n=t.lastIndexOf("-"))<0&&(n=0),l=0;l<n;++l)t.charCodeAt(l)>=128&&b("not-basic"),f.push(t.charCodeAt(l));for(i=n>0?n+1:0;i<m;){for(r=g,o=1,a=36;i>=m&&b("invalid-input"),((u=(h=t.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||u>p((s-g)/o))&&b("overflow"),g+=u*o,!(u<(c=a<=A?1:a>=A+26?26:a-A));a+=36)o>p(s/(d=36-c))&&b("overflow"),o*=d;A=v(g-r,e=f.length+1,0==r),p(g/e)>s-_&&b("overflow"),_+=p(g/e),g%=e,f.splice(g++,0,_)}return y(f)}function w(t){var e,n,l,i,r,o,a,u,c,d,h,m,g,y,C,w=[];for(m=(t=_(t)).length,e=128,n=0,r=72,o=0;o<m;++o)(h=t[o])<128&&w.push(f(h));for(l=i=w.length,i&&w.push("-");l<m;){for(a=s,o=0;o<m;++o)(h=t[o])>=e&&h<a&&(a=h);for(a-e>p((s-n)/(g=l+1))&&b("overflow"),n+=(a-e)*g,e=a,o=0;o<m;++o)if((h=t[o])<e&&++n>s&&b("overflow"),h==e){for(u=n,c=36;!(u<(d=c<=r?1:c>=r+26?26:c-r));c+=36)w.push(f(A(d+(C=u-d)%(y=36-d),0))),u=p(C/y);w.push(f(A(u,0))),r=v(n,g,l==i),n=0,++l}++n,++e}return w.join("")}if(o={version:"1.3.2",ucs2:{decode:_,encode:y},decode:C,encode:w,toASCII:function(t){return g(t,(function(t){return c.test(t)?"xn--"+w(t):t}))},toUnicode:function(t){return g(t,(function(t){return u.test(t)?C(t.slice(4).toLowerCase()):t}))}},l&&i)if(t.exports==l)i.exports=o;else for(a in o)o.hasOwnProperty(a)&&(l[a]=o[a]);else n.punycode=o}(ke)})),Te=function(t){return"string"==typeof t},Ee=function(t){return"object"==typeof t&&null!==t},Ie=function(t){return null===t};function Le(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var je=function(t,e,n,l){n=n||"=";var i={};if("string"!=typeof t||0===t.length)return i;var r=/\+/g;t=t.split(e=e||"&");var o=1e3;l&&"number"==typeof l.maxKeys&&(o=l.maxKeys);var a=t.length;o>0&&a>o&&(a=o);for(var s=0;s<a;++s){var u,c,d,h,p=t[s].replace(r,"%20"),f=p.indexOf(n);f>=0?(u=p.substr(0,f),c=p.substr(f+1)):(u=p,c=""),d=decodeURIComponent(u),h=decodeURIComponent(c),Le(i,d)?Array.isArray(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i},Re=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},Fe=function(t,e,n,l){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(l){var i=encodeURIComponent(Re(l))+n;return Array.isArray(t[l])?t[l].map((function(t){return i+encodeURIComponent(Re(t))})).join(e):i+encodeURIComponent(Re(t[l]))})).join(e):l?encodeURIComponent(Re(l))+n+encodeURIComponent(Re(t)):""},Ne=Oe((function(t,e){e.decode=e.parse=je,e.encode=e.stringify=Fe}));function Ye(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Ue=/^([a-z0-9.+-]+:)/i,Be=/:[0-9]*$/,ze=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ge=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),He=["'"].concat(Ge),Ve=["%","/","?",";","#"].concat(He),qe=["/","?","#"],We=/^[+a-z0-9A-Z_-]{0,63}$/,$e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xe={javascript:!0,"javascript:":!0},Ke={javascript:!0,"javascript:":!0},Je={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Qe(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];for(var l=0,i=e;l<i.length;l+=1){var r=i[l];for(var o in r)t[o]=r[o]}return t}Ye.prototype.parse=function(t,e,n){if(!Te(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var l=t.indexOf("?"),i=-1!==l&&l<t.indexOf("#")?"?":"#",r=t.split(i);r[0]=r[0].replace(/\\/g,"/");var o=t=r.join(i);if(o=o.trim(),!n&&1===t.split("#").length){var a=ze.exec(o);if(a)return this.path=o,this.href=o,this.pathname=a[1],a[2]?(this.search=a[2],this.query=e?Ne.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var s=Ue.exec(o);if(s){var u=(s=s[0]).toLowerCase();this.protocol=u,o=o.substr(s.length)}if(n||s||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var c="//"===o.substr(0,2);!c||s&&Ke[s]||(o=o.substr(2),this.slashes=!0)}if(!Ke[s]&&(c||s&&!Je[s])){for(var d,h,p=-1,f=0;f<qe.length;f++)-1!==(b=o.indexOf(qe[f]))&&(-1===p||b<p)&&(p=b);for(-1!==(h=-1===p?o.lastIndexOf("@"):o.lastIndexOf("@",p))&&(d=o.slice(0,h),o=o.slice(h+1),this.auth=decodeURIComponent(d)),p=-1,f=0;f<Ve.length;f++){var b;-1!==(b=o.indexOf(Ve[f]))&&(-1===p||b<p)&&(p=b)}-1===p&&(p=o.length),this.host=o.slice(0,p),o=o.slice(p),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var g=this.hostname.split(/\./),_=(f=0,g.length);f<_;f++){var y=g[f];if(y&&!y.match(We)){for(var A="",v=0,C=y.length;v<C;v++)y.charCodeAt(v)>127?A+="x":A+=y[v];if(!A.match(We)){var w=g.slice(0,f),P=g.slice(f+1),x=y.match($e);x&&(w.push(x[1]),P.unshift(x[2])),P.length&&(o="/"+P.join(".")+o),this.hostname=w.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),m||(this.hostname=De.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==o[0]&&(o="/"+o))}if(!Xe[u])for(f=0,_=He.length;f<_;f++){var S=He[f];if(-1!==o.indexOf(S)){var k=encodeURIComponent(S);k===S&&(k=escape(S)),o=o.split(S).join(k)}}var M=o.indexOf("#");-1!==M&&(this.hash=o.substr(M),o=o.slice(0,M));var O=o.indexOf("?");return-1!==O?(this.search=o.substr(O),this.query=o.substr(O+1),e&&(this.query=Ne.parse(this.query)),o=o.slice(0,O)):e&&(this.search="",this.query={}),o&&(this.pathname=o),Je[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},Ye.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",l=this.hash||"",i=!1,r="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&Ee(this.query)&&Object.keys(this.query).length&&(r=Ne.stringify(this.query));var o=this.search||r&&"?"+r||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||Je[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),l&&"#"!==l.charAt(0)&&(l="#"+l),o&&"?"!==o.charAt(0)&&(o="?"+o),e+i+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(o=o.replace("#","%23"))+l},Ye.prototype.resolve=function(t){return this.resolveObject(function(t,e,n){if(t&&Ee(t)&&t instanceof Ye)return t;var l=new Ye;return l.parse(t,!1,!0),l}(t)).format()},Ye.prototype.resolveObject=function(t){if(Te(t)){var e=new Ye;e.parse(t,!1,!0),t=e}for(var n=new Ye,l=Object.keys(this),i=0;i<l.length;i++){var r=l[i];n[r]=this[r]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),a=0;a<o.length;a++){var s=o[a];"protocol"!==s&&(n[s]=t[s])}return Je[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!Je[t.protocol]){for(var u=Object.keys(t),c=0;c<u.length;c++){var d=u[c];n[d]=t[d]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||Ke[t.protocol])n.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}return n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,(n.pathname||n.search)&&(n.path=(n.pathname||"")+(n.search||"")),n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var p=n.pathname&&"/"===n.pathname.charAt(0),f=t.host||t.pathname&&"/"===t.pathname.charAt(0),b=f||p||n.host&&t.pathname,m=b,g=n.pathname&&n.pathname.split("/")||[],_=(h=t.pathname&&t.pathname.split("/")||[],n.protocol&&!Je[n.protocol]);if(_&&(n.hostname="",n.port=null,n.host&&(""===g[0]?g[0]=n.host:g.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===h[0]?h[0]=t.host:h.unshift(t.host)),t.host=null),b=b&&(""===h[0]||""===g[0])),f)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,g=h;else if(h.length)g||(g=[]),g.pop(),g=g.concat(h),n.search=t.search,n.query=t.query;else if(null!=t.search)return _&&(n.hostname=n.host=g.shift(),(w=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=w.shift(),n.host=n.hostname=w.shift())),n.search=t.search,n.query=t.query,Ie(n.pathname)&&Ie(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!g.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var y=g.slice(-1)[0],A=(n.host||t.host||g.length>1)&&("."===y||".."===y)||""===y,v=0,C=g.length;C>=0;C--)"."===(y=g[C])?g.splice(C,1):".."===y?(g.splice(C,1),v++):v&&(g.splice(C,1),v--);if(!b&&!m)for(;v--;v)g.unshift("..");!b||""===g[0]||g[0]&&"/"===g[0].charAt(0)||g.unshift(""),A&&"/"!==g.join("/").substr(-1)&&g.push("");var w,P=""===g[0]||g[0]&&"/"===g[0].charAt(0);return _&&(n.hostname=n.host=P?"":g.length?g.shift():"",(w=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=w.shift(),n.host=n.hostname=w.shift())),(b=b||n.host&&g.length)&&!P&&g.unshift(""),g.length?n.pathname=g.join("/"):(n.pathname=null,n.path=null),Ie(n.pathname)&&Ie(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},Ye.prototype.parseHost=function(){var t=this.host,e=Be.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var Ze=function(t){function e(e,n){t.call(this,n),this.message=n,this.key=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Error),tn=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var n=0,l=e;n<l.length;n+=1){var i=l[n];this.bindings[i[0]]=i[1]}};tn.prototype.concat=function(t){return new tn(this,t)},tn.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},tn.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var en={kind:"null"},nn={kind:"number"},ln={kind:"string"},rn={kind:"boolean"},on={kind:"color"},an={kind:"object"},sn={kind:"value"},un={kind:"collator"},cn={kind:"formatted"},dn={kind:"resolvedImage"};function hn(t,e){return{kind:"array",itemType:t,N:e}}function pn(t){if("array"===t.kind){var e=pn(t.itemType);return"number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var fn=[en,nn,ln,rn,on,cn,an,hn(sn),dn];function bn(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!bn(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var n=0,l=fn;n<l.length;n+=1)if(!bn(l[n],e))return null}return"Expected "+pn(t)+" but found "+pn(e)+" instead."}var mn=Oe((function(t,e){var n={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function l(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return l("%"===t[t.length-1]?parseFloat(t)/100*255:parseInt(t))}function r(t){return(e="%"===t[t.length-1]?parseFloat(t)/100:parseFloat(t))<0?0:e>1?1:e;var e}function o(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}try{e.parseCSSColor=function(t){var e,a=t.replace(/ /g,"").toLowerCase();if(a in n)return n[a].slice();if("#"===a[0])return 4===a.length?(e=parseInt(a.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===a.length&&(e=parseInt(a.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var s=a.indexOf("("),u=a.indexOf(")");if(-1!==s&&u+1===a.length){var c=a.substr(0,s),d=a.substr(s+1,u-(s+1)).split(","),h=1;switch(c){case"rgba":if(4!==d.length)return null;h=r(d.pop());case"rgb":return 3!==d.length?null:[i(d[0]),i(d[1]),i(d[2]),h];case"hsla":if(4!==d.length)return null;h=r(d.pop());case"hsl":if(3!==d.length)return null;var p=(parseFloat(d[0])%360+360)%360/360,f=r(d[1]),b=r(d[2]),m=b<=.5?b*(f+1):b+f-b*f,g=2*b-m;return[l(255*o(g,m,p+1/3)),l(255*o(g,m,p)),l(255*o(g,m,p-1/3)),h];default:return null}}return null}}catch(a){}})).parseCSSColor,gn=function(t,e,n,l){void 0===l&&(l=1),this.r=t,this.g=e,this.b=n,this.a=l};gn.parse=function(t){if(t){if(t instanceof gn)return t;if("string"==typeof t){var e=mn(t);if(e)return new gn(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},gn.prototype.toString=function(){var t=this.toArray(),e=t[1],n=t[2],l=t[3];return"rgba("+Math.round(t[0])+","+Math.round(e)+","+Math.round(n)+","+l+")"},gn.prototype.toArray=function(){var t=this.a;return 0===t?[0,0,0,0]:[255*this.r/t,255*this.g/t,255*this.b/t,t]},gn.black=new gn(0,0,0,1),gn.white=new gn(1,1,1,1),gn.transparent=new gn(0,0,0,0),gn.red=new gn(1,0,0,1);var _n=function(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};_n.prototype.compare=function(t,e){return this.collator.compare(t,e)},_n.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var yn=function(t,e,n,l,i){this.text=t,this.image=e,this.scale=n,this.fontStack=l,this.textColor=i},An=function(t){this.sections=t};An.fromString=function(t){return new An([new yn(t,null,null,null,null)])},An.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(t){return 0!==t.text.length||t.image&&0!==t.image.name.length}))},An.factory=function(t){return t instanceof An?t:An.fromString(t)},An.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(t){return t.text})).join("")},An.prototype.serialize=function(){for(var t=["format"],e=0,n=this.sections;e<n.length;e+=1){var l=n[e];if(l.image)t.push(["image",l.image.name]);else{t.push(l.text);var i={};l.fontStack&&(i["text-font"]=["literal",l.fontStack.split(",")]),l.scale&&(i["font-scale"]=l.scale),l.textColor&&(i["text-color"]=["rgba"].concat(l.textColor.toArray())),t.push(i)}}return t};var vn=function(t){this.name=t.name,this.available=t.available};function Cn(t,e,n,l){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===l||"number"==typeof l&&l>=0&&l<=1?null:"Invalid rgba value ["+[t,e,n,l].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof l?[t,e,n,l]:[t,e,n]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function wn(t){if(null===t)return!0;if("string"==typeof t)return!0;if("boolean"==typeof t)return!0;if("number"==typeof t)return!0;if(t instanceof gn)return!0;if(t instanceof _n)return!0;if(t instanceof An)return!0;if(t instanceof vn)return!0;if(Array.isArray(t)){for(var e=0,n=t;e<n.length;e+=1)if(!wn(n[e]))return!1;return!0}if("object"==typeof t){for(var l in t)if(!wn(t[l]))return!1;return!0}return!1}function Pn(t){if(null===t)return en;if("string"==typeof t)return ln;if("boolean"==typeof t)return rn;if("number"==typeof t)return nn;if(t instanceof gn)return on;if(t instanceof _n)return un;if(t instanceof An)return cn;if(t instanceof vn)return dn;if(Array.isArray(t)){for(var e,n=t.length,l=0,i=t;l<i.length;l+=1){var r=Pn(i[l]);if(e){if(e===r)continue;e=sn;break}e=r}return hn(e||sn,n)}return an}function xn(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof gn||t instanceof An||t instanceof vn?t.toString():JSON.stringify(t)}vn.prototype.toString=function(){return this.name},vn.fromString=function(t){return t?new vn({name:t,available:!1}):null},vn.prototype.serialize=function(){return["image",this.name]};var Sn=function(t,e){this.type=t,this.value=e};Sn.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!wn(t[1]))return e.error("invalid value");var n=t[1],l=Pn(n),i=e.expectedType;return"array"!==l.kind||0!==l.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(l=i),new Sn(l,n)},Sn.prototype.evaluate=function(){return this.value},Sn.prototype.eachChild=function(){},Sn.prototype.outputDefined=function(){return!0},Sn.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof gn?["rgba"].concat(this.value.toArray()):this.value instanceof An?this.value.serialize():this.value};var kn=function(t){this.name="ExpressionEvaluationError",this.message=t};kn.prototype.toJSON=function(){return this.message};var Mn={string:ln,number:nn,boolean:rn,object:an},On=function(t,e){this.type=t,this.args=e};On.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n,l=1,i=t[0];if("array"===i){var r,o;if(t.length>2){var a=t[1];if("string"!=typeof a||!(a in Mn)||"object"===a)return e.error('The item type argument of "array" must be one of string, number, boolean',1);r=Mn[a],l++}else r=sn;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);o=t[2],l++}n=hn(r,o)}else n=Mn[i];for(var s=[];l<t.length;l++){var u=e.parse(t[l],l,sn);if(!u)return null;s.push(u)}return new On(n,s)},On.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var n=this.args[e].evaluate(t);if(!bn(this.type,Pn(n)))return n;if(e===this.args.length-1)throw new kn("Expected value to be of type "+pn(this.type)+", but found "+pn(Pn(n))+" instead.")}return null},On.prototype.eachChild=function(t){this.args.forEach(t)},On.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},On.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var n=t.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){e.push(n.kind);var l=t.N;("number"==typeof l||this.args.length>1)&&e.push(l)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var Dn=function(t){this.type=cn,this.sections=t};Dn.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n=t[1];if(!Array.isArray(n)&&"object"==typeof n)return e.error("First argument must be an image or text section.");for(var l=[],i=!1,r=1;r<=t.length-1;++r){var o=t[r];if(i&&"object"==typeof o&&!Array.isArray(o)){i=!1;var a=null;if(o["font-scale"]&&!(a=e.parse(o["font-scale"],1,nn)))return null;var s=null;if(o["text-font"]&&!(s=e.parse(o["text-font"],1,hn(ln))))return null;var u=null;if(o["text-color"]&&!(u=e.parse(o["text-color"],1,on)))return null;var c=l[l.length-1];c.scale=a,c.font=s,c.textColor=u}else{var d=e.parse(t[r],1,sn);if(!d)return null;var h=d.type.kind;if("string"!==h&&"value"!==h&&"null"!==h&&"resolvedImage"!==h)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,l.push({content:d,scale:null,font:null,textColor:null})}}return new Dn(l)},Dn.prototype.evaluate=function(t){return new An(this.sections.map((function(e){var n=e.content.evaluate(t);return Pn(n)===dn?new yn("",n,null,null,null):new yn(xn(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))},Dn.prototype.eachChild=function(t){for(var e=0,n=this.sections;e<n.length;e+=1){var l=n[e];t(l.content),l.scale&&t(l.scale),l.font&&t(l.font),l.textColor&&t(l.textColor)}},Dn.prototype.outputDefined=function(){return!1},Dn.prototype.serialize=function(){for(var t=["format"],e=0,n=this.sections;e<n.length;e+=1){var l=n[e];t.push(l.content.serialize());var i={};l.scale&&(i["font-scale"]=l.scale.serialize()),l.font&&(i["text-font"]=l.font.serialize()),l.textColor&&(i["text-color"]=l.textColor.serialize()),t.push(i)}return t};var Tn=function(t){this.type=dn,this.input=t};Tn.parse=function(t,e){if(2!==t.length)return e.error("Expected two arguments.");var n=e.parse(t[1],1,ln);return n?new Tn(n):e.error("No image name provided.")},Tn.prototype.evaluate=function(t){var e=this.input.evaluate(t),n=vn.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n},Tn.prototype.eachChild=function(t){t(this.input)},Tn.prototype.outputDefined=function(){return!1},Tn.prototype.serialize=function(){return["image",this.input.serialize()]};var En={"to-boolean":rn,"to-color":on,"to-number":nn,"to-string":ln},In=function(t,e){this.type=t,this.args=e};In.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n=t[0];if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");for(var l=En[n],i=[],r=1;r<t.length;r++){var o=e.parse(t[r],r,sn);if(!o)return null;i.push(o)}return new In(l,i)},In.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,n,l=0,i=this.args;l<i.length;l+=1){if(n=null,(e=i[l].evaluate(t))instanceof gn)return e;if("string"==typeof e){var r=t.parseColor(e);if(r)return r}else if(Array.isArray(e)&&!(n=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":Cn(e[0],e[1],e[2],e[3])))return new gn(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new kn(n||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var o=null,a=0,s=this.args;a<s.length;a+=1){if(null===(o=s[a].evaluate(t)))return 0;var u=Number(o);if(!isNaN(u))return u}throw new kn("Could not convert "+JSON.stringify(o)+" to number.")}return"formatted"===this.type.kind?An.fromString(xn(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?vn.fromString(xn(this.args[0].evaluate(t))):xn(this.args[0].evaluate(t))},In.prototype.eachChild=function(t){this.args.forEach(t)},In.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},In.prototype.serialize=function(){if("formatted"===this.type.kind)return new Dn([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Tn(this.args[0]).serialize();var t=["to-"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize())})),t};var Ln=["Unknown","Point","LineString","Polygon"],jn=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};jn.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},jn.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?Ln[this.feature.type]:this.feature.type:null},jn.prototype.geometry=function(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null},jn.prototype.canonicalID=function(){return this.canonical},jn.prototype.properties=function(){return this.feature&&this.feature.properties||{}},jn.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=gn.parse(t)),e};var Rn=function(t,e,n,l){this.name=t,this.type=e,this._evaluate=n,this.args=l};Rn.prototype.evaluate=function(t){return this._evaluate(t,this.args)},Rn.prototype.eachChild=function(t){this.args.forEach(t)},Rn.prototype.outputDefined=function(){return!1},Rn.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},Rn.parse=function(t,e){var n,l=t[0],i=Rn.definitions[l];if(!i)return e.error('Unknown expression "'+l+'". If you wanted a literal array, use ["literal", [...]].',0);for(var r=Array.isArray(i)?i[0]:i.type,o=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,a=o.filter((function(e){var n=e[0];return!Array.isArray(n)||n.length===t.length-1})),s=null,u=0,c=a;u<c.length;u+=1){var d=c[u],h=d[0],p=d[1];s=new ul(e.registry,e.path,null,e.scope);for(var f=[],b=!1,m=1;m<t.length;m++){var g=t[m],_=Array.isArray(h)?h[m-1]:h.type,y=s.parse(g,1+f.length,_);if(!y){b=!0;break}f.push(y)}if(!b)if(Array.isArray(h)&&h.length!==f.length)s.error("Expected "+h.length+" arguments, but found "+f.length+" instead.");else{for(var A=0;A<f.length;A++){var v=Array.isArray(h)?h[A]:h.type,C=f[A];s.concat(A+1).checkSubtype(v,C.type)}if(0===s.errors.length)return new Rn(l,r,p,f)}}if(1===a.length)(n=e.errors).push.apply(n,s.errors);else{for(var w=(a.length?a:o).map((function(t){var e;return e=t[0],Array.isArray(e)?"("+e.map(pn).join(", ")+")":"("+pn(e.type)+"...)"})).join(" | "),P=[],x=1;x<t.length;x++){var S=e.parse(t[x],1+P.length);if(!S)return null;P.push(pn(S.type))}e.error("Expected arguments of type "+w+", but found ("+P.join(", ")+") instead.")}return null},Rn.register=function(t,e){for(var n in Rn.definitions=e,e)t[n]=Rn};var Fn=function(t,e,n){this.type=un,this.locale=n,this.caseSensitive=t,this.diacriticSensitive=e};Fn.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var n=t[1];if("object"!=typeof n||Array.isArray(n))return e.error("Collator options argument must be an object.");var l=e.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,rn);if(!l)return null;var i=e.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,rn);if(!i)return null;var r=null;return n.locale&&!(r=e.parse(n.locale,1,ln))?null:new Fn(l,i,r)},Fn.prototype.evaluate=function(t){return new _n(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},Fn.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},Fn.prototype.outputDefined=function(){return!1},Fn.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};var Nn=Yn;function Yn(t,e,n,l){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(l-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=l,this.p2x=n,this.p2y=l}Yn.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},Yn.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},Yn.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},Yn.prototype.solveCurveX=function(t,e){var n,l,i,r,o;for(void 0===e&&(e=1e-6),i=t,o=0;o<8;o++){if(r=this.sampleCurveX(i)-t,Math.abs(r)<e)return i;var a=this.sampleCurveDerivativeX(i);if(Math.abs(a)<1e-6)break;i-=r/a}if((i=t)<(n=0))return n;if(i>(l=1))return l;for(;n<l;){if(r=this.sampleCurveX(i),Math.abs(r-t)<e)return i;t>r?n=i:l=i,i=.5*(l-n)+n}return i},Yn.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var Un=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};Un.prototype.setNorthEast=function(t){return this._ne=t instanceof Bn?new Bn(t.lng,t.lat):Bn.convert(t),this},Un.prototype.setSouthWest=function(t){return this._sw=t instanceof Bn?new Bn(t.lng,t.lat):Bn.convert(t),this},Un.prototype.extend=function(t){var e,n,l=this._sw,i=this._ne;if(t instanceof Bn)e=t,n=t;else{if(!(t instanceof Un))return Array.isArray(t)?4===t.length||t.every(Array.isArray)?this.extend(Un.convert(t)):this.extend(Bn.convert(t)):this;if(n=t._ne,!(e=t._sw)||!n)return this}return l||i?(l.lng=Math.min(e.lng,l.lng),l.lat=Math.min(e.lat,l.lat),i.lng=Math.max(n.lng,i.lng),i.lat=Math.max(n.lat,i.lat)):(this._sw=new Bn(e.lng,e.lat),this._ne=new Bn(n.lng,n.lat)),this},Un.prototype.getCenter=function(){return new Bn((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Un.prototype.getSouthWest=function(){return this._sw},Un.prototype.getNorthEast=function(){return this._ne},Un.prototype.getNorthWest=function(){return new Bn(this.getWest(),this.getNorth())},Un.prototype.getSouthEast=function(){return new Bn(this.getEast(),this.getSouth())},Un.prototype.getWest=function(){return this._sw.lng},Un.prototype.getSouth=function(){return this._sw.lat},Un.prototype.getEast=function(){return this._ne.lng},Un.prototype.getNorth=function(){return this._ne.lat},Un.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Un.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Un.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Un.prototype.contains=function(t){var e=Bn.convert(t),n=e.lng,l=e.lat,i=this._sw.lng<=n&&n<=this._ne.lng;return this._sw.lng>this._ne.lng&&(i=this._sw.lng>=n&&n>=this._ne.lng),this._sw.lat<=l&&l<=this._ne.lat&&i},Un.convert=function(t){return!t||t instanceof Un?t:new Un(t)};var Bn=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Bn.prototype.wrap=function(){return new Bn(-180==(t=((this.lng- -180)%360+360)%360-180)?180:t,this.lat);var t},Bn.prototype.toArray=function(){return[this.lng,this.lat]},Bn.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Bn.prototype.distanceTo=function(t){var e=Math.PI/180,n=this.lat*e,l=t.lat*e,i=Math.sin(n)*Math.sin(l)+Math.cos(n)*Math.cos(l)*Math.cos((t.lng-this.lng)*e);return 6371008.8*Math.acos(Math.min(i,1))},Bn.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return new Un(new Bn(this.lng-n,this.lat-e),new Bn(this.lng+n,this.lat+e))},Bn.convert=function(t){if(t instanceof Bn)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Bn(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new Bn(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var zn=2*Math.PI*6371008.8;function Gn(t){return zn*Math.cos(t*Math.PI/180)}function Hn(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}var Vn=function(t,e,n){void 0===n&&(n=0),this.x=+t,this.y=+e,this.z=+n};function qn(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1])}function Wn(t,e){return!(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function $n(t,e){var n=Vn.fromLngLat({lng:t[0],lat:t[1]},0),l=Math.pow(2,e.z);return[Math.round(n.x*l*8192),Math.round(n.y*l*8192)]}function Xn(t,e,n){return e[1]>t[1]!=n[1]>t[1]&&t[0]<(n[0]-e[0])*(t[1]-e[1])/(n[1]-e[1])+e[0]}function Kn(t,e){for(var n,l,i,r,o,a,s,u=!1,c=0,d=e.length;c<d;c++)for(var h=e[c],p=0,f=h.length;p<f-1;p++){if((r=(n=t)[0]-(l=h[p])[0])*(s=n[1]-(i=h[p+1])[1])-(a=n[0]-i[0])*(o=n[1]-l[1])==0&&r*a<=0&&o*s<=0)return!1;Xn(t,h[p],h[p+1])&&(u=!u)}return u}function Jn(t,e){for(var n=0;n<e.length;n++)if(Kn(t,e[n]))return!0;return!1}function Qn(t,e,n,l){var i=l[0]-n[0],r=l[1]-n[1];return((t[0]-n[0])*r-i*(t[1]-n[1]))*((e[0]-n[0])*r-i*(e[1]-n[1]))<0}function Zn(t,e,n){for(var l=0,i=n;l<i.length;l+=1)for(var r=i[l],o=0;o<r.length-1;++o)if(0!=(d=[(c=r[o+1])[0]-(u=r[o])[0],c[1]-u[1]])[0]*(h=[(s=e)[0]-(a=t)[0],s[1]-a[1]])[1]-d[1]*h[0]&&Qn(a,s,u,c)&&Qn(u,c,a,s))return!0;var a,s,u,c,d,h;return!1}function tl(t,e){for(var n=0;n<t.length;++n)if(!Kn(t[n],e))return!1;for(var l=0;l<t.length-1;++l)if(Zn(t[l],t[l+1],e))return!1;return!0}function el(t,e){for(var n=0;n<e.length;n++)if(tl(t,e[n]))return!0;return!1}function nl(t,e,n){for(var l=[],i=0;i<t.length;i++){for(var r=[],o=0;o<t[i].length;o++){var a=$n(t[i][o],n);qn(e,a),r.push(a)}l.push(r)}return l}function ll(t,e,n){for(var l=[],i=0;i<t.length;i++){var r=nl(t[i],e,n);l.push(r)}return l}Vn.fromLngLat=function(t,e){void 0===e&&(e=0);var n=Bn.convert(t);return new Vn((180+n.lng)/360,(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+n.lat*Math.PI/360)))/360,function(t,e){return t/Gn(e)}(e,n.lat))},Vn.prototype.toLngLat=function(){return new Bn(360*this.x-180,Hn(this.y))},Vn.prototype.toAltitude=function(){return this.z*Gn(Hn(this.y))},Vn.prototype.meterInMercatorCoordinateUnits=function(){return 1/zn*(t=Hn(this.y),1/Math.cos(t*Math.PI/180));var t};var il=function(t,e){this.type=rn,this.geojson=t,this.geometries=e};function rl(t){if(t instanceof Rn){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}if(t instanceof il)return!1;var e=!0;return t.eachChild((function(t){e&&!rl(t)&&(e=!1)})),e}function ol(t){if(t instanceof Rn&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!ol(t)&&(e=!1)})),e}function al(t,e){if(t instanceof Rn&&e.indexOf(t.name)>=0)return!1;var n=!0;return t.eachChild((function(t){n&&!al(t,e)&&(n=!1)})),n}il.parse=function(t,e){if(2!==t.length)return e.error("'within' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(wn(t[1])){var n=t[1];if("FeatureCollection"===n.type)for(var l=0;l<n.features.length;++l){var i=n.features[l].geometry.type;if("Polygon"===i||"MultiPolygon"===i)return new il(n,n.features[l].geometry)}else if("Feature"===n.type){var r=n.geometry.type;if("Polygon"===r||"MultiPolygon"===r)return new il(n,n.geometry)}else if("Polygon"===n.type||"MultiPolygon"===n.type)return new il(n,n)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")},il.prototype.evaluate=function(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){for(var n=[1/0,1/0,-1/0,-1/0],l=[1/0,1/0,-1/0,-1/0],i=t.canonicalID(),r=[8192*i.x,8192*i.y],o=[],a=0,s=t.geometry();a<s.length;a+=1)for(var u=0,c=s[a];u<c.length;u+=1){var d=c[u],h=[d.x+r[0],d.y+r[1]];qn(n,h),o.push(h)}if("Polygon"===e.type){var p=nl(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var f=0,b=o;f<b.length;f+=1)if(!Kn(b[f],p))return!1}if("MultiPolygon"===e.type){var m=ll(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var g=0,_=o;g<_.length;g+=1)if(!Jn(_[g],m))return!1}return!0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){for(var n=[1/0,1/0,-1/0,-1/0],l=[1/0,1/0,-1/0,-1/0],i=t.canonicalID(),r=[8192*i.x,8192*i.y],o=[],a=0,s=t.geometry();a<s.length;a+=1){for(var u=[],c=0,d=s[a];c<d.length;c+=1){var h=d[c],p=[h.x+r[0],h.y+r[1]];qn(n,p),u.push(p)}o.push(u)}if("Polygon"===e.type){var f=nl(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var b=0,m=o;b<m.length;b+=1)if(!tl(m[b],f))return!1}if("MultiPolygon"===e.type){var g=ll(e.coordinates,l,i);if(!Wn(n,l))return!1;for(var _=0,y=o;_<y.length;_+=1)if(!el(y[_],g))return!1}return!0}(t,this.geometries)}return!1},il.prototype.eachChild=function(){},il.prototype.outputDefined=function(){return!0},il.prototype.serialize=function(){return["within",this.geojson]};var sl=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};sl.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var n=t[1];return e.scope.has(n)?new sl(n,e.scope.get(n)):e.error('Unknown variable "'+n+'". Make sure "'+n+'" has been bound in an enclosing "let" expression before using it.',1)},sl.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},sl.prototype.eachChild=function(){},sl.prototype.outputDefined=function(){return!1},sl.prototype.serialize=function(){return["var",this.name]};var ul=function(t,e,n,l,i){void 0===e&&(e=[]),void 0===l&&(l=new tn),void 0===i&&(i=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return"["+t+"]"})).join(""),this.scope=l,this.errors=i,this.expectedType=n};function cl(t,e){for(var n,l=t.length-1,i=0,r=l,o=0;i<=r;)if((n=t[o=Math.floor((i+r)/2)])<=e){if(o===l||e<t[o+1])return o;i=o+1}else{if(!(n>e))throw new kn("Input is not a number.");r=o-1}return 0}ul.prototype.parse=function(t,e,n,l,i){return void 0===i&&(i={}),e?this.concat(e,n,l)._parse(t,i):this._parse(t,i)},ul.prototype._parse=function(t,e){function n(t,e,n){return"assert"===n?new On(e,[t]):"coerce"===n?new In(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var l=t[0];if("string"!=typeof l)return this.error("Expression name must be a string, but found "+typeof l+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var i=this.registry[l];if(i){var r=i.parse(t,this);if(!r)return null;if(this.expectedType){var o=this.expectedType,a=r.type;if("string"!==o.kind&&"number"!==o.kind&&"boolean"!==o.kind&&"object"!==o.kind&&"array"!==o.kind||"value"!==a.kind)if("color"!==o.kind&&"formatted"!==o.kind&&"resolvedImage"!==o.kind||"value"!==a.kind&&"string"!==a.kind){if(this.checkSubtype(o,a))return null}else r=n(r,o,e.typeAnnotation||"coerce");else r=n(r,o,e.typeAnnotation||"assert")}if(!(r instanceof Sn)&&"resolvedImage"!==r.type.kind&&function t(e){if(e instanceof sl)return t(e.boundExpression);if(e instanceof Rn&&"error"===e.name)return!1;if(e instanceof Fn)return!1;if(e instanceof il)return!1;var n=e instanceof In||e instanceof On,l=!0;return e.eachChild((function(e){l=n?l&&t(e):l&&e instanceof Sn})),!!l&&rl(e)&&al(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(r)){var s=new jn;try{r=new Sn(r.type,r.evaluate(s))}catch(u){return this.error(u.message),null}}return r}return this.error('Unknown expression "'+l+'". If you wanted a literal array, use ["literal", [...]].',0)}return this.error(void 0===t?"'undefined' value invalid. Use null instead.":"object"==typeof t?'Bare objects invalid. Use ["literal", {...}] instead.':"Expected an array, but found "+typeof t+" instead.")},ul.prototype.concat=function(t,e,n){var l="number"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new ul(this.registry,l,e||null,i,this.errors)},ul.prototype.error=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var l=""+this.key+e.map((function(t){return"["+t+"]"})).join("");this.errors.push(new Ze(l,t))},ul.prototype.checkSubtype=function(t,e){var n=bn(t,e);return n&&this.error(n),n};var dl=function(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var l=0,i=n;l<i.length;l+=1){var r=i[l],o=r[1];this.labels.push(r[0]),this.outputs.push(o)}};function hl(t,e,n){return t*(1-n)+e*n}dl.parse=function(t,e){if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");var n=e.parse(t[1],1,nn);if(!n)return null;var l=[],i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var r=1;r<t.length;r+=2){var o=1===r?-1/0:t[r],a=t[r+1],s=r,u=r+1;if("number"!=typeof o)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',s);if(l.length&&l[l.length-1][0]>=o)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);var c=e.parse(a,u,i);if(!c)return null;i=i||c.type,l.push([o,c])}return new dl(i,n,l)},dl.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var l=this.input.evaluate(t);if(l<=e[0])return n[0].evaluate(t);var i=e.length;return l>=e[i-1]?n[i-1].evaluate(t):n[cl(e,l)].evaluate(t)},dl.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e<n.length;e+=1)t(n[e])},dl.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},dl.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var pl=Object.freeze({__proto__:null,number:hl,color:function(t,e,n){return new gn(hl(t.r,e.r,n),hl(t.g,e.g,n),hl(t.b,e.b,n),hl(t.a,e.a,n))},array:function(t,e,n){return t.map((function(t,l){return hl(t,e[l],n)}))}}),fl=6/29*3*(6/29),bl=Math.PI/180,ml=180/Math.PI;function gl(t){return t>.008856451679035631?Math.pow(t,1/3):t/fl+4/29}function _l(t){return t>6/29?t*t*t:fl*(t-4/29)}function yl(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Al(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function vl(t){var e=Al(t.r),n=Al(t.g),l=Al(t.b),i=gl((.4124564*e+.3575761*n+.1804375*l)/.95047),r=gl((.2126729*e+.7151522*n+.072175*l)/1);return{l:116*r-16,a:500*(i-r),b:200*(r-gl((.0193339*e+.119192*n+.9503041*l)/1.08883)),alpha:t.a}}function Cl(t){var e=(t.l+16)/116,n=isNaN(t.a)?e:e+t.a/500,l=isNaN(t.b)?e:e-t.b/200;return e=1*_l(e),n=.95047*_l(n),l=1.08883*_l(l),new gn(yl(3.2404542*n-1.5371385*e-.4985314*l),yl(-.969266*n+1.8760108*e+.041556*l),yl(.0556434*n-.2040259*e+1.0572252*l),t.alpha)}function wl(t,e,n){var l=e-t;return t+n*(l>180||l<-180?l-360*Math.round(l/360):l)}var Pl={forward:vl,reverse:Cl,interpolate:function(t,e,n){return{l:hl(t.l,e.l,n),a:hl(t.a,e.a,n),b:hl(t.b,e.b,n),alpha:hl(t.alpha,e.alpha,n)}}},xl={forward:function(t){var e=vl(t),n=e.l,l=e.a,i=e.b,r=Math.atan2(i,l)*ml;return{h:r<0?r+360:r,c:Math.sqrt(l*l+i*i),l:n,alpha:t.a}},reverse:function(t){var e=t.h*bl,n=t.c;return Cl({l:t.l,a:Math.cos(e)*n,b:Math.sin(e)*n,alpha:t.alpha})},interpolate:function(t,e,n){return{h:wl(t.h,e.h,n),c:hl(t.c,e.c,n),l:hl(t.l,e.l,n),alpha:hl(t.alpha,e.alpha,n)}}},Sl=Object.freeze({__proto__:null,lab:Pl,hcl:xl}),kl=function(t,e,n,l,i){this.type=t,this.operator=e,this.interpolation=n,this.input=l,this.labels=[],this.outputs=[];for(var r=0,o=i;r<o.length;r+=1){var a=o[r],s=a[1];this.labels.push(a[0]),this.outputs.push(s)}};function Ml(t,e,n,l){var i=l-n,r=t-n;return 0===i?0:1===e?r/i:(Math.pow(e,r)-1)/(Math.pow(e,i)-1)}kl.interpolationFactor=function(t,e,n,l){var i=0;if("exponential"===t.name)i=Ml(e,t.base,n,l);else if("linear"===t.name)i=Ml(e,1,n,l);else if("cubic-bezier"===t.name){var r=t.controlPoints;i=new Nn(r[0],r[1],r[2],r[3]).solve(Ml(e,1,n,l))}return i},kl.parse=function(t,e){var n=t[0],l=t[1],i=t[2],r=t.slice(3);if(!Array.isArray(l)||0===l.length)return e.error("Expected an interpolation type expression.",1);if("linear"===l[0])l={name:"linear"};else if("exponential"===l[0]){var o=l[1];if("number"!=typeof o)return e.error("Exponential interpolation requires a numeric base.",1,1);l={name:"exponential",base:o}}else{if("cubic-bezier"!==l[0])return e.error("Unknown interpolation type "+String(l[0]),1,0);var a=l.slice(1);if(4!==a.length||a.some((function(t){return"number"!=typeof t||t<0||t>1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);l={name:"cubic-bezier",controlPoints:a}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(i=e.parse(i,2,nn)))return null;var s=[],u=null;"interpolate-hcl"===n||"interpolate-lab"===n?u=on:e.expectedType&&"value"!==e.expectedType.kind&&(u=e.expectedType);for(var c=0;c<r.length;c+=2){var d=r[c],h=r[c+1],p=c+3,f=c+4;if("number"!=typeof d)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',p);if(s.length&&s[s.length-1][0]>=d)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',p);var b=e.parse(h,f,u);if(!b)return null;u=u||b.type,s.push([d,b])}return"number"===u.kind||"color"===u.kind||"array"===u.kind&&"number"===u.itemType.kind&&"number"==typeof u.N?new kl(u,n,l,i,s):e.error("Type "+pn(u)+" is not interpolatable.")},kl.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var l=this.input.evaluate(t);if(l<=e[0])return n[0].evaluate(t);var i=e.length;if(l>=e[i-1])return n[i-1].evaluate(t);var r=cl(e,l),o=kl.interpolationFactor(this.interpolation,l,e[r],e[r+1]),a=n[r].evaluate(t),s=n[r+1].evaluate(t);return"interpolate"===this.operator?pl[this.type.kind.toLowerCase()](a,s,o):"interpolate-hcl"===this.operator?xl.reverse(xl.interpolate(xl.forward(a),xl.forward(s),o)):Pl.reverse(Pl.interpolate(Pl.forward(a),Pl.forward(s),o))},kl.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e<n.length;e+=1)t(n[e])},kl.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},kl.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],n=0;n<this.labels.length;n++)e.push(this.labels[n],this.outputs[n].serialize());return e};var Ol=function(t,e){this.type=t,this.args=e};Ol.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var n=null,l=e.expectedType;l&&"value"!==l.kind&&(n=l);for(var i=[],r=0,o=t.slice(1);r<o.length;r+=1){var a=e.parse(o[r],1+i.length,n,void 0,{typeAnnotation:"omit"});if(!a)return null;n=n||a.type,i.push(a)}var s=l&&i.some((function(t){return bn(l,t.type)}));return new Ol(s?sn:n,i)},Ol.prototype.evaluate=function(t){for(var e,n=null,l=0,i=0,r=this.args;i<r.length&&(l++,(n=r[i].evaluate(t))&&n instanceof vn&&!n.available&&(e||(e=n.name),n=null,l===this.args.length&&(n=e)),null===n);i+=1);return n},Ol.prototype.eachChild=function(t){this.args.forEach(t)},Ol.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},Ol.prototype.serialize=function(){var t=["coalesce"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Dl=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};Dl.prototype.evaluate=function(t){return this.result.evaluate(t)},Dl.prototype.eachChild=function(t){for(var e=0,n=this.bindings;e<n.length;e+=1)t(n[e][1]);t(this.result)},Dl.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var n=[],l=1;l<t.length-1;l+=2){var i=t[l];if("string"!=typeof i)return e.error("Expected string, but found "+typeof i+" instead.",l);if(/[^a-zA-Z0-9_]/.test(i))return e.error("Variable names must contain only alphanumeric characters or '_'.",l);var r=e.parse(t[l+1],l+1);if(!r)return null;n.push([i,r])}var o=e.parse(t[t.length-1],t.length-1,e.expectedType,n);return o?new Dl(n,o):null},Dl.prototype.outputDefined=function(){return this.result.outputDefined()},Dl.prototype.serialize=function(){for(var t=["let"],e=0,n=this.bindings;e<n.length;e+=1){var l=n[e];t.push(l[0],l[1].serialize())}return t.push(this.result.serialize()),t};var Tl=function(t,e,n){this.type=t,this.index=e,this.input=n};Tl.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1,nn),l=e.parse(t[2],2,hn(e.expectedType||sn));return n&&l?new Tl(l.type.itemType,n,l):null},Tl.prototype.evaluate=function(t){var e=this.index.evaluate(t),n=this.input.evaluate(t);if(e<0)throw new kn("Array index out of bounds: "+e+" < 0.");if(e>=n.length)throw new kn("Array index out of bounds: "+e+" > "+(n.length-1)+".");if(e!==Math.floor(e))throw new kn("Array index must be an integer, but found "+e+" instead.");return n[e]},Tl.prototype.eachChild=function(t){t(this.index),t(this.input)},Tl.prototype.outputDefined=function(){return!1},Tl.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var El=function(t,e){this.type=rn,this.needle=t,this.haystack=e};El.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var n,l=e.parse(t[1],1,sn),i=e.parse(t[2],2,sn);return l&&i?"boolean"!==(n=l.type).kind&&"string"!==n.kind&&"number"!==n.kind&&"null"!==n.kind&&"value"!==n.kind?e.error("Expected first argument to be of type boolean, string, number or null, but found "+pn(l.type)+" instead"):new El(l,i):null},El.prototype.evaluate=function(t){var e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(null==e||!n)return!1;if(!function(t){return"boolean"==typeof t||"string"==typeof t||"number"==typeof t}(e))throw new kn("Expected first argument to be of type boolean, string or number, but found "+pn(Pn(e))+" instead.");if(!function(t){return Array.isArray(t)||"string"==typeof t}(n))throw new kn("Expected second argument to be of type array or string, but found "+pn(Pn(n))+" instead.");return n.indexOf(e)>=0},El.prototype.eachChild=function(t){t(this.needle),t(this.haystack)},El.prototype.outputDefined=function(){return!0},El.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Il=function(t,e,n,l,i,r){this.inputType=t,this.type=e,this.input=n,this.cases=l,this.outputs=i,this.otherwise=r};Il.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var n,l;e.expectedType&&"value"!==e.expectedType.kind&&(l=e.expectedType);for(var i={},r=[],o=2;o<t.length-1;o+=2){var a=t[o],s=t[o+1];Array.isArray(a)||(a=[a]);var u=e.concat(o);if(0===a.length)return u.error("Expected at least one branch label.");for(var c=0,d=a;c<d.length;c+=1){var h=d[c];if("number"!=typeof h&&"string"!=typeof h)return u.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return u.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return u.error("Numeric branch labels must be integer values.");if(n){if(u.checkSubtype(n,Pn(h)))return null}else n=Pn(h);if(void 0!==i[String(h)])return u.error("Branch labels must be unique.");i[String(h)]=r.length}var p=e.parse(s,o,l);if(!p)return null;l=l||p.type,r.push(p)}var f=e.parse(t[1],1,sn);if(!f)return null;var b=e.parse(t[t.length-1],t.length-1,l);return b?"value"!==f.type.kind&&e.concat(1).checkSubtype(n,f.type)?null:new Il(n,l,f,i,r,b):null},Il.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(Pn(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},Il.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},Il.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))&&this.otherwise.outputDefined()},Il.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],n=[],l={},i=0,r=Object.keys(this.cases).sort();i<r.length;i+=1){var o=r[i];void 0===(d=l[this.cases[o]])?(l[this.cases[o]]=n.length,n.push([this.cases[o],[o]])):n[d][1].push(o)}for(var a=function(e){return"number"===t.inputType.kind?Number(e):e},s=0,u=n;s<u.length;s+=1){var c=u[s],d=c[0],h=c[1];e.push(1===h.length?a(h[0]):h.map(a)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var Ll=function(t,e,n){this.type=t,this.branches=e,this.otherwise=n};function jl(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function Rl(t,e,n,l){return 0===l.compare(e,n)}function Fl(t,e,n){var l="=="!==t&&"!="!==t;return function(){function i(t,e,n){this.type=rn,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}return i.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var n=t[0],r=e.parse(t[1],1,sn);if(!r)return null;if(!jl(n,r.type))return e.concat(1).error('"'+n+"\" comparisons are not supported for type '"+pn(r.type)+"'.");var o=e.parse(t[2],2,sn);if(!o)return null;if(!jl(n,o.type))return e.concat(2).error('"'+n+"\" comparisons are not supported for type '"+pn(o.type)+"'.");if(r.type.kind!==o.type.kind&&"value"!==r.type.kind&&"value"!==o.type.kind)return e.error("Cannot compare types '"+pn(r.type)+"' and '"+pn(o.type)+"'.");l&&("value"===r.type.kind&&"value"!==o.type.kind?r=new On(o.type,[r]):"value"!==r.type.kind&&"value"===o.type.kind&&(o=new On(r.type,[o])));var a=null;if(4===t.length){if("string"!==r.type.kind&&"string"!==o.type.kind&&"value"!==r.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(a=e.parse(t[3],3,un)))return null}return new i(r,o,a)},i.prototype.evaluate=function(i){var r=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(l&&this.hasUntypedArgument){var a=Pn(r),s=Pn(o);if(a.kind!==s.kind||"string"!==a.kind&&"number"!==a.kind)throw new kn('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+a.kind+", "+s.kind+") instead.")}if(this.collator&&!l&&this.hasUntypedArgument){var u=Pn(r),c=Pn(o);if("string"!==u.kind||"string"!==c.kind)return e(i,r,o)}return this.collator?n(i,r,o,this.collator.evaluate(i)):e(i,r,o)},i.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},i.prototype.outputDefined=function(){return!0},i.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize())})),e},i}()}Ll.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);for(var l=[],i=1;i<t.length-1;i+=2){var r=e.parse(t[i],i,rn);if(!r)return null;var o=e.parse(t[i+1],i+1,n);if(!o)return null;l.push([r,o]),n=n||o.type}var a=e.parse(t[t.length-1],t.length-1,n);return a?new Ll(n,l,a):null},Ll.prototype.evaluate=function(t){for(var e=0,n=this.branches;e<n.length;e+=1){var l=n[e],i=l[1];if(l[0].evaluate(t))return i.evaluate(t)}return this.otherwise.evaluate(t)},Ll.prototype.eachChild=function(t){for(var e=0,n=this.branches;e<n.length;e+=1){var l=n[e],i=l[1];t(l[0]),t(i)}t(this.otherwise)},Ll.prototype.outputDefined=function(){return this.branches.every((function(t){return t[1].outputDefined()}))&&this.otherwise.outputDefined()},Ll.prototype.serialize=function(){var t=["case"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Nl=Fl("==",(function(t,e,n){return e===n}),Rl),Yl=Fl("!=",(function(t,e,n){return e!==n}),(function(t,e,n,l){return!Rl(0,e,n,l)})),Ul=Fl("<",(function(t,e,n){return e<n}),(function(t,e,n,l){return l.compare(e,n)<0})),Bl=Fl(">",(function(t,e,n){return e>n}),(function(t,e,n,l){return l.compare(e,n)>0})),zl=Fl("<=",(function(t,e,n){return e<=n}),(function(t,e,n,l){return l.compare(e,n)<=0})),Gl=Fl(">=",(function(t,e,n){return e>=n}),(function(t,e,n,l){return l.compare(e,n)>=0})),Hl=function(t,e,n,l,i){this.type=ln,this.number=t,this.locale=e,this.currency=n,this.minFractionDigits=l,this.maxFractionDigits=i};Hl.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var n=e.parse(t[1],1,nn);if(!n)return null;var l=t[2];if("object"!=typeof l||Array.isArray(l))return e.error("NumberFormat options argument must be an object.");var i=null;if(l.locale&&!(i=e.parse(l.locale,1,ln)))return null;var r=null;if(l.currency&&!(r=e.parse(l.currency,1,ln)))return null;var o=null;if(l["min-fraction-digits"]&&!(o=e.parse(l["min-fraction-digits"],1,nn)))return null;var a=null;return l["max-fraction-digits"]&&!(a=e.parse(l["max-fraction-digits"],1,nn))?null:new Hl(n,i,r,o,a)},Hl.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},Hl.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},Hl.prototype.outputDefined=function(){return!1},Hl.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var Vl=function(t){this.type=nn,this.input=t};Vl.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error("Expected argument of type string or array, but found "+pn(n.type)+" instead."):new Vl(n):null},Vl.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new kn("Expected value to be of type string or array, but found "+pn(Pn(e))+" instead.")},Vl.prototype.eachChild=function(t){t(this.input)},Vl.prototype.outputDefined=function(){return!1},Vl.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize())})),t};var ql={"==":Nl,"!=":Yl,">":Bl,"<":Ul,">=":Gl,"<=":zl,array:On,at:Tl,boolean:On,case:Ll,coalesce:Ol,collator:Fn,format:Dn,image:Tn,in:El,interpolate:kl,"interpolate-hcl":kl,"interpolate-lab":kl,length:Vl,let:Dl,literal:Sn,match:Il,number:On,"number-format":Hl,object:On,step:dl,string:On,"to-boolean":In,"to-color":In,"to-number":In,"to-string":In,var:sl,within:il};function Wl(t,e){var n=e[0],l=e[1],i=e[2],r=e[3];n=n.evaluate(t),l=l.evaluate(t),i=i.evaluate(t);var o=r?r.evaluate(t):1,a=Cn(n,l,i,o);if(a)throw new kn(a);return new gn(n/255*o,l/255*o,i/255*o,o)}function $l(t,e){return t in e}function Xl(t,e){var n=e[t];return void 0===n?null:n}function Kl(t){return{type:t}}function Jl(t){return{result:"success",value:t}}function Ql(t){return{result:"error",value:t}}function Zl(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function ti(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function ei(t){return!!t.expression&&t.expression.interpolated}function ni(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function li(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function ii(t){return t}function ri(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function oi(t,e,n,l,i){return ri(typeof n===i?l[n]:void 0,t.default,e.default)}function ai(t,e,n){if("number"!==ni(n))return ri(t.default,e.default);var l=t.stops.length;if(1===l)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[l-1][0])return t.stops[l-1][1];var i=cl(t.stops.map((function(t){return t[0]})),n);return t.stops[i][1]}function si(t,e,n){var l=void 0!==t.base?t.base:1;if("number"!==ni(n))return ri(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];var r=cl(t.stops.map((function(t){return t[0]})),n),o=function(t,e,n,l){var i=l-n,r=t-n;return 0===i?0:1===e?r/i:(Math.pow(e,r)-1)/(Math.pow(e,i)-1)}(n,l,t.stops[r][0],t.stops[r+1][0]),a=t.stops[r][1],s=t.stops[r+1][1],u=pl[e.type]||ii;if(t.colorSpace&&"rgb"!==t.colorSpace){var c=Sl[t.colorSpace];u=function(t,e){return c.reverse(c.interpolate(c.forward(t),c.forward(e),o))}}return"function"==typeof a.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=a.evaluate.apply(void 0,t),l=s.evaluate.apply(void 0,t);if(void 0!==n&&void 0!==l)return u(n,l,o)}}:u(a,s,o)}function ui(t,e,n){return"color"===e.type?n=gn.parse(n):"formatted"===e.type?n=An.fromString(n.toString()):"resolvedImage"===e.type?n=vn.fromString(n.toString()):ni(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0),ri(n,t.default,e.default)}Rn.register(ql,{error:[{kind:"error"},[ln],function(t,e){throw new kn(e[0].evaluate(t))}],typeof:[ln,[sn],function(t,e){return pn(Pn(e[0].evaluate(t)))}],"to-rgba":[hn(nn,4),[on],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[on,[nn,nn,nn],Wl],rgba:[on,[nn,nn,nn,nn],Wl],has:{type:rn,overloads:[[[ln],function(t,e){return $l(e[0].evaluate(t),t.properties())}],[[ln,an],function(t,e){var n=e[1];return $l(e[0].evaluate(t),n.evaluate(t))}]]},get:{type:sn,overloads:[[[ln],function(t,e){return Xl(e[0].evaluate(t),t.properties())}],[[ln,an],function(t,e){var n=e[1];return Xl(e[0].evaluate(t),n.evaluate(t))}]]},"feature-state":[sn,[ln],function(t,e){return Xl(e[0].evaluate(t),t.featureState||{})}],properties:[an,[],function(t){return t.properties()}],"geometry-type":[ln,[],function(t){return t.geometryType()}],id:[sn,[],function(t){return t.id()}],zoom:[nn,[],function(t){return t.globals.zoom}],"heatmap-density":[nn,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[nn,[],function(t){return t.globals.lineProgress||0}],accumulated:[sn,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[nn,Kl(nn),function(t,e){for(var n=0,l=0,i=e;l<i.length;l+=1)n+=i[l].evaluate(t);return n}],"*":[nn,Kl(nn),function(t,e){for(var n=1,l=0,i=e;l<i.length;l+=1)n*=i[l].evaluate(t);return n}],"-":{type:nn,overloads:[[[nn,nn],function(t,e){var n=e[1];return e[0].evaluate(t)-n.evaluate(t)}],[[nn],function(t,e){return-e[0].evaluate(t)}]]},"/":[nn,[nn,nn],function(t,e){var n=e[1];return e[0].evaluate(t)/n.evaluate(t)}],"%":[nn,[nn,nn],function(t,e){var n=e[1];return e[0].evaluate(t)%n.evaluate(t)}],ln2:[nn,[],function(){return Math.LN2}],pi:[nn,[],function(){return Math.PI}],e:[nn,[],function(){return Math.E}],"^":[nn,[nn,nn],function(t,e){var n=e[1];return Math.pow(e[0].evaluate(t),n.evaluate(t))}],sqrt:[nn,[nn],function(t,e){return Math.sqrt(e[0].evaluate(t))}],log10:[nn,[nn],function(t,e){return Math.log(e[0].evaluate(t))/Math.LN10}],ln:[nn,[nn],function(t,e){return Math.log(e[0].evaluate(t))}],log2:[nn,[nn],function(t,e){return Math.log(e[0].evaluate(t))/Math.LN2}],sin:[nn,[nn],function(t,e){return Math.sin(e[0].evaluate(t))}],cos:[nn,[nn],function(t,e){return Math.cos(e[0].evaluate(t))}],tan:[nn,[nn],function(t,e){return Math.tan(e[0].evaluate(t))}],asin:[nn,[nn],function(t,e){return Math.asin(e[0].evaluate(t))}],acos:[nn,[nn],function(t,e){return Math.acos(e[0].evaluate(t))}],atan:[nn,[nn],function(t,e){return Math.atan(e[0].evaluate(t))}],min:[nn,Kl(nn),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[nn,Kl(nn),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[nn,[nn],function(t,e){return Math.abs(e[0].evaluate(t))}],round:[nn,[nn],function(t,e){var n=e[0].evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[nn,[nn],function(t,e){return Math.floor(e[0].evaluate(t))}],ceil:[nn,[nn],function(t,e){return Math.ceil(e[0].evaluate(t))}],"filter-==":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1];return t.properties()[n.value]===l.value}],"filter-id-==":[rn,[sn],function(t,e){var n=e[0];return t.id()===n.value}],"filter-type-==":[rn,[ln],function(t,e){var n=e[0];return t.geometryType()===n.value}],"filter-<":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i<r}],"filter-id-<":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l<i}],"filter->":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i>r}],"filter-id->":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l>i}],"filter-<=":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i<=r}],"filter-id-<=":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l<=i}],"filter->=":[rn,[ln,sn],function(t,e){var n=e[0],l=e[1],i=t.properties()[n.value],r=l.value;return typeof i==typeof r&&i>=r}],"filter-id->=":[rn,[sn],function(t,e){var n=e[0],l=t.id(),i=n.value;return typeof l==typeof i&&l>=i}],"filter-has":[rn,[sn],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[rn,[],function(t){return null!==t.id()&&void 0!==t.id()}],"filter-type-in":[rn,[hn(ln)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[rn,[hn(sn)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[rn,[ln,hn(sn)],function(t,e){var n=e[0];return e[1].value.indexOf(t.properties()[n.value])>=0}],"filter-in-large":[rn,[ln,hn(sn)],function(t,e){var n=e[0],l=e[1];return function(t,e,n,l){for(;n<=l;){var i=n+l>>1;if(e[i]===t)return!0;e[i]>t?l=i-1:n=i+1}return!1}(t.properties()[n.value],l.value,0,l.value.length-1)}],all:{type:rn,overloads:[[[rn,rn],function(t,e){var n=e[1];return e[0].evaluate(t)&&n.evaluate(t)}],[Kl(rn),function(t,e){for(var n=0,l=e;n<l.length;n+=1)if(!l[n].evaluate(t))return!1;return!0}]]},any:{type:rn,overloads:[[[rn,rn],function(t,e){var n=e[1];return e[0].evaluate(t)||n.evaluate(t)}],[Kl(rn),function(t,e){for(var n=0,l=e;n<l.length;n+=1)if(l[n].evaluate(t))return!0;return!1}]]},"!":[rn,[rn],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[rn,[ln],function(t,e){var n=t.globals&&t.globals.isSupportedScript;return!n||n(e[0].evaluate(t))}],upcase:[ln,[ln],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[ln,[ln],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[ln,Kl(sn),function(t,e){return e.map((function(e){return xn(e.evaluate(t))})).join("")}],"resolved-locale":[ln,[un],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var ci=function(t,e){var n;this.expression=t,this._warningHistory={},this._evaluator=new jn,this._defaultValue=e?"color"===(n=e).type&&li(n.default)?new gn(0,0,0,0):"color"===n.type?gn.parse(n.default)||null:void 0===n.default?null:n.default:null,this._enumValues=e&&"enum"===e.type?e.values:null};function di(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in ql}function hi(t,e){var n=new ul(ql,[],e?function(t){var e={color:on,string:ln,number:nn,enum:ln,boolean:rn,formatted:cn,resolvedImage:dn};return"array"===t.type?hn(e[t.value]||sn,t.length):e[t.type]}(e):void 0),l=n.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return l?Jl(new ci(l,e)):Ql(n.errors)}ci.prototype.evaluateWithoutErrorHandling=function(t,e,n,l,i,r){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=l,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=r,this.expression.evaluate(this._evaluator)},ci.prototype.evaluate=function(t,e,n,l,i,r){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=l,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=r||null;try{var o=this.expression.evaluate(this._evaluator);if(null==o||"number"==typeof o&&o!=o)return this._defaultValue;if(this._enumValues&&!(o in this._enumValues))throw new kn("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(o)+" instead.");return o}catch(a){return this._warningHistory[a.message]||(this._warningHistory[a.message]=!0,"undefined"!=typeof console&&console.warn(a.message)),this._defaultValue}};var pi=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!ol(e.expression)};pi.prototype.evaluateWithoutErrorHandling=function(t,e,n,l,i,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,l,i,r)},pi.prototype.evaluate=function(t,e,n,l,i,r){return this._styleExpression.evaluate(t,e,n,l,i,r)};var fi=function(t,e,n,l){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!ol(e.expression),this.interpolationType=l};function bi(t,e){if("error"===(t=hi(t,e)).result)return t;var n=t.value.expression,l=rl(n);if(!l&&!Zl(e))return Ql([new Ze("","data expressions not supported")]);var i=al(n,["zoom"]);if(!i&&!ti(e))return Ql([new Ze("","zoom expressions not supported")]);var r=function t(e){var n=null;if(e instanceof Dl)n=t(e.result);else if(e instanceof Ol)for(var l=0,i=e.args;l<i.length&&!(n=t(i[l]));l+=1);else(e instanceof dl||e instanceof kl)&&e.input instanceof Rn&&"zoom"===e.input.name&&(n=e);return n instanceof Ze||e.eachChild((function(e){var l=t(e);l instanceof Ze?n=l:!n&&l?n=new Ze("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):n&&l&&n!==l&&(n=new Ze("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),n}(n);return r||i?r instanceof Ze?Ql([r]):r instanceof kl&&!ei(e)?Ql([new Ze("",'"interpolate" expressions cannot be used with this property')]):Jl(r?new fi(l?"camera":"composite",t.value,r.labels,r instanceof kl?r.interpolation:void 0):new pi(l?"constant":"source",t.value)):Ql([new Ze("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}fi.prototype.evaluateWithoutErrorHandling=function(t,e,n,l,i,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,l,i,r)},fi.prototype.evaluate=function(t,e,n,l,i,r){return this._styleExpression.evaluate(t,e,n,l,i,r)},fi.prototype.interpolationFactor=function(t,e,n){return this.interpolationType?kl.interpolationFactor(this.interpolationType,t,e,n):0};var mi=function(t,e){this._parameters=t,this._specification=e,Qe(this,function t(e,n){var l,i,r,o="color"===n.type,a=e.stops&&"object"==typeof e.stops[0][0],s=a||!(a||void 0!==e.property),u=e.type||(ei(n)?"exponential":"interval");if(o&&((e=Qe({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],gn.parse(t[1])]}))),e.default=gn.parse(e.default?e.default:n.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Sl[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===u)l=si;else if("interval"===u)l=ai;else if("categorical"===u){l=oi,i=Object.create(null);for(var c=0,d=e.stops;c<d.length;c+=1){var h=d[c];i[h[0]]=h[1]}r=typeof e.stops[0][0]}else{if("identity"!==u)throw new Error('Unknown function type "'+u+'"');l=ui}if(a){for(var p={},f=[],b=0;b<e.stops.length;b++){var m=e.stops[b],g=m[0].zoom;void 0===p[g]&&(p[g]={zoom:g,type:e.type,property:e.property,default:e.default,stops:[]},f.push(g)),p[g].stops.push([m[0].value,m[1]])}for(var _=[],y=0,A=f;y<A.length;y+=1){var v=A[y];_.push([p[v].zoom,t(p[v],n)])}var C={name:"linear"};return{kind:"composite",interpolationType:C,interpolationFactor:kl.interpolationFactor.bind(void 0,C),zoomStops:_.map((function(t){return t[0]})),evaluate:function(t,l){var i=t.zoom;return si({stops:_,base:e.base},n,i).evaluate(i,l)}}}if(s){var w="exponential"===u?{name:"exponential",base:void 0!==e.base?e.base:1}:null;return{kind:"camera",interpolationType:w,interpolationFactor:kl.interpolationFactor.bind(void 0,w),zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){return l(e,n,t.zoom,i,r)}}}return{kind:"source",evaluate:function(t,o){var a=o&&o.properties?o.properties[e.property]:void 0;return void 0===a?ri(e.default,n.default):l(e,n,a,i,r)}}}(this._parameters,this._specification))};function gi(t){return"object"==typeof t?["literal",t]:t}function _i(t){switch(t.colorSpace){case"hcl":return"interpolate-hcl";case"lab":return"interpolate-lab";default:return"interpolate"}}function yi(t,e){return void 0!==t?t:void 0!==e?e:void 0}function Ai(t,e,n){var l=wi(t,e),i=["get",t.property];if("categorical"===l&&"boolean"==typeof n[0][0]){for(var r=["case"],o=0,a=n;o<a.length;o+=1){var s=a[o];r.push(["==",i,s[0]],s[1])}return r.push(gi(yi(t.default,e.default))),r}if("categorical"===l){for(var u=["match",i],c=0,d=n;c<d.length;c+=1){var h=d[c];Ci(u,h[0],h[1],!1)}return u.push(gi(yi(t.default,e.default))),u}if("interval"===l){for(var p=["step",["number",i]],f=0,b=n;f<b.length;f+=1){var m=b[f];Ci(p,m[0],m[1],!0)}return vi(p),void 0===t.default?p:["case",["==",["typeof",i],"number"],p,gi(t.default)]}if("exponential"===l){for(var g=void 0!==t.base?t.base:1,_=[_i(t),1===g?["linear"]:["exponential",g],["number",i]],y=0,A=n;y<A.length;y+=1){var v=A[y];Ci(_,v[0],v[1],!1)}return void 0===t.default?_:["case",["==",["typeof",i],"number"],_,gi(t.default)]}throw new Error("Unknown property function type "+l)}function vi(t){"step"===t[0]&&3===t.length&&(t.push(0),t.push(t[3]))}function Ci(t,e,n,l){t.length>3&&e===t[t.length-2]||(l&&2===t.length||t.push(e),t.push(n))}function wi(t,e){return t.type?t.type:e.expression.interpolated?"exponential":"interval"}function Pi(t){for(var e=["concat"],n=/{([^{}]+)}/g,l=0,i=n.exec(t);null!==i;i=n.exec(t)){var r=t.slice(l,n.lastIndex-i[0].length);l=n.lastIndex,r.length>0&&e.push(r),e.push(["get",i[1]])}if(1===e.length)return t;if(l<t.length)e.push(t.slice(l));else if(2===e.length)return["to-string",e[1]];return e}function xi(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,n=t.slice(1);e<n.length;e+=1){var l=n[e];if(!xi(l)&&"boolean"!=typeof l)return!1}return!0;default:return!0}}mi.deserialize=function(t){return new mi(t._parameters,t._specification)},mi.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var Si={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function ki(t,e){return t<e?-1:t>e?1:0}function Mi(t){if(!t)return!0;var e,n=t[0];return t.length<=1?"any"!==n:"=="===n?Oi(t[1],t[2],"=="):"!="===n?Ei(Oi(t[1],t[2],"==")):"<"===n||">"===n||"<="===n||">="===n?Oi(t[1],t[2],n):"any"===n?(e=t.slice(1),["any"].concat(e.map(Mi))):"all"===n?["all"].concat(t.slice(1).map(Mi)):"none"===n?["all"].concat(t.slice(1).map(Mi).map(Ei)):"in"===n?Di(t[1],t.slice(2)):"!in"===n?Ei(Di(t[1],t.slice(2))):"has"===n?Ti(t[1]):"!has"!==n||Ei(Ti(t[1]))}function Oi(t,e,n){switch(t){case"$type":return["filter-type-"+n,e];case"$id":return["filter-id-"+n,e];default:return["filter-"+n,t,e]}}function Di(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(ki)]]:["filter-in-small",t,["literal",e]]}}function Ti(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function Ei(t){return["!",t]}var Ii=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Li(t,e){var n={};for(var l in t)"ref"!==l&&(n[l]=t[l]);return Ii.forEach((function(t){t in e&&(n[t]=e[t])})),n}var ji=function(t,e,n,l){this.message=(t?t+": ":"")+n,l&&(this.identifier=l),null!=e&&e.__line__&&(this.line=e.__line__)},Ri=function(t){this.error=t,this.message=t.message;var e=t.message.match(/line (\d+)/);this.line=e?parseInt(e[1],10):0};function Fi(t){var e=t.value;return e?[new ji(t.key,e,"constants have been deprecated as of v8")]:[]}function Ni(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function Yi(t){if(Array.isArray(t))return t.map(Yi);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){var e={};for(var n in t)e[n]=Yi(t[n]);return e}return Ni(t)}function Ui(t){var e=t.key,n=t.value,l=t.valueSpec||{},i=t.objectElementValidators||{},r=t.style,o=t.styleSpec,a=[],s=ni(n);if("object"!==s)return[new ji(e,n,"object expected, "+s+" found")];for(var u in n){var c=u.split(".")[0],d=l[c]||l["*"],h=void 0;if(i[c])h=i[c];else if(l[c])h=nr;else if(i["*"])h=i["*"];else{if(!l["*"]){a.push(new ji(e,n[u],'unknown property "'+u+'"'));continue}h=nr}a=a.concat(h({key:(e?e+".":e)+u,value:n[u],valueSpec:d,style:r,styleSpec:o,object:n,objectKey:u},n))}for(var p in l)i[p]||l[p].required&&void 0===l[p].default&&void 0===n[p]&&a.push(new ji(e,n,'missing required property "'+p+'"'));return a}function Bi(t){var e=t.value,n=t.valueSpec,l=t.style,i=t.styleSpec,r=t.key,o=t.arrayElementValidator||nr;if("array"!==ni(e))return[new ji(r,e,"array expected, "+ni(e)+" found")];if(n.length&&e.length!==n.length)return[new ji(r,e,"array length "+n.length+" expected, length "+e.length+" found")];if(n["min-length"]&&e.length<n["min-length"])return[new ji(r,e,"array length at least "+n["min-length"]+" expected, length "+e.length+" found")];var a={type:n.value,values:n.values};i.$version<7&&(a.function=n.function),"object"===ni(n.value)&&(a=n.value);for(var s=[],u=0;u<e.length;u++)s=s.concat(o({array:e,arrayIndex:u,value:e[u],valueSpec:a,style:l,styleSpec:i,key:r+"["+u+"]"}));return s}function zi(t){var e=t.key,n=t.value,l=t.valueSpec,i=ni(n);return"number"===i&&n!=n&&(i="NaN"),"number"!==i?[new ji(e,n,"number expected, "+i+" found")]:"minimum"in l&&n<l.minimum?[new ji(e,n,n+" is less than the minimum value "+l.minimum)]:"maximum"in l&&n>l.maximum?[new ji(e,n,n+" is greater than the maximum value "+l.maximum)]:[]}function Gi(t){var e,n,l,i=t.valueSpec,r=Ni(t.value.type),o={},a="categorical"!==r&&void 0===t.value.property,s=!a,u="array"===ni(t.value.stops)&&"array"===ni(t.value.stops[0])&&"object"===ni(t.value.stops[0][0]),c=Ui({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===r)return[new ji(t.key,t.value,'identity function may not have a "stops" property')];var e=[],n=t.value;return e=e.concat(Bi({key:t.key,value:n,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:d})),"array"===ni(n)&&0===n.length&&e.push(new ji(t.key,n,"array must have at least one stop")),e},default:function(t){return nr({key:t.key,value:t.value,valueSpec:i,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===r&&a&&c.push(new ji(t.key,t.value,'missing required property "property"')),"identity"===r||t.value.stops||c.push(new ji(t.key,t.value,'missing required property "stops"')),"exponential"===r&&t.valueSpec.expression&&!ei(t.valueSpec)&&c.push(new ji(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(s&&!Zl(t.valueSpec)?c.push(new ji(t.key,t.value,"property functions not supported")):a&&!ti(t.valueSpec)&&c.push(new ji(t.key,t.value,"zoom functions not supported"))),"categorical"!==r&&!u||void 0!==t.value.property||c.push(new ji(t.key,t.value,'"property" property is required')),c;function d(t){var e=[],r=t.value,a=t.key;if("array"!==ni(r))return[new ji(a,r,"array expected, "+ni(r)+" found")];if(2!==r.length)return[new ji(a,r,"array length 2 expected, length "+r.length+" found")];if(u){if("object"!==ni(r[0]))return[new ji(a,r,"object expected, "+ni(r[0])+" found")];if(void 0===r[0].zoom)return[new ji(a,r,"object stop key must have zoom")];if(void 0===r[0].value)return[new ji(a,r,"object stop key must have value")];if(l&&l>Ni(r[0].zoom))return[new ji(a,r[0].zoom,"stop zoom values must appear in ascending order")];Ni(r[0].zoom)!==l&&(l=Ni(r[0].zoom),n=void 0,o={}),e=e.concat(Ui({key:a+"[0]",value:r[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:zi,value:h}}))}else e=e.concat(h({key:a+"[0]",value:r[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},r));return di(Yi(r[1]))?e.concat([new ji(a+"[1]",r[1],"expressions are not allowed in function stops.")]):e.concat(nr({key:a+"[1]",value:r[1],valueSpec:i,style:t.style,styleSpec:t.styleSpec}))}function h(t,l){var a=ni(t.value),s=Ni(t.value),u=null!==t.value?t.value:l;if(e){if(a!==e)return[new ji(t.key,u,a+" stop domain type must match previous stop domain type "+e)]}else e=a;if("number"!==a&&"string"!==a&&"boolean"!==a)return[new ji(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==a&&"categorical"!==r){var c="number expected, "+a+" found";return Zl(i)&&void 0===r&&(c+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new ji(t.key,u,c)]}return"categorical"!==r||"number"!==a||isFinite(s)&&Math.floor(s)===s?"categorical"!==r&&"number"===a&&void 0!==n&&s<n?[new ji(t.key,u,"stop domain values must appear in ascending order")]:(n=s,"categorical"===r&&s in o?[new ji(t.key,u,"stop domain values must be unique")]:(o[s]=!0,[])):[new ji(t.key,u,"integer expected, found "+s)]}}function Hi(t){var e=("property"===t.expressionContext?bi:hi)(Yi(t.value),t.valueSpec);if("error"===e.result)return e.value.map((function(e){return new ji(""+t.key+e.key,t.value,e.message)}));var n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return[new ji(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!ol(n))return[new ji(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!ol(n))return[new ji(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!al(n,["zoom","feature-state"]))return[new ji(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!rl(n))return[new ji(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Vi(t){var e=t.key,n=t.value,l=t.valueSpec,i=[];return Array.isArray(l.values)?-1===l.values.indexOf(Ni(n))&&i.push(new ji(e,n,"expected one of ["+l.values.join(", ")+"], "+JSON.stringify(n)+" found")):-1===Object.keys(l.values).indexOf(Ni(n))&&i.push(new ji(e,n,"expected one of ["+Object.keys(l.values).join(", ")+"], "+JSON.stringify(n)+" found")),i}function qi(t){return xi(Yi(t.value))?Hi(Qe({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var n=e.value,l=e.key;if("array"!==ni(n))return[new ji(l,n,"array expected, "+ni(n)+" found")];var i,r=e.styleSpec,o=[];if(n.length<1)return[new ji(l,n,"filter array must have at least 1 element")];switch(o=o.concat(Vi({key:l+"[0]",value:n[0],valueSpec:r.filter_operator,style:e.style,styleSpec:e.styleSpec})),Ni(n[0])){case"<":case"<=":case">":case">=":n.length>=2&&"$type"===Ni(n[1])&&o.push(new ji(l,n,'"$type" cannot be use with operator "'+n[0]+'"'));case"==":case"!=":3!==n.length&&o.push(new ji(l,n,'filter array for operator "'+n[0]+'" must have 3 elements'));case"in":case"!in":n.length>=2&&"string"!==(i=ni(n[1]))&&o.push(new ji(l+"[1]",n[1],"string expected, "+i+" found"));for(var a=2;a<n.length;a++)i=ni(n[a]),"$type"===Ni(n[1])?o=o.concat(Vi({key:l+"["+a+"]",value:n[a],valueSpec:r.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&o.push(new ji(l+"["+a+"]",n[a],"string, number, or boolean expected, "+i+" found"));break;case"any":case"all":case"none":for(var s=1;s<n.length;s++)o=o.concat(t({key:l+"["+s+"]",value:n[s],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":i=ni(n[1]),2!==n.length?o.push(new ji(l,n,'filter array for "'+n[0]+'" operator must have 2 elements')):"string"!==i&&o.push(new ji(l+"[1]",n[1],"string expected, "+i+" found"))}return o}(t)}function Wi(t,e){var n=t.key,l=t.style,i=t.styleSpec,r=t.value,o=t.objectKey,a=i[e+"_"+t.layerType];if(!a)return[];var s=o.match(/^(.*)-transition$/);if("paint"===e&&s&&a[s[1]]&&a[s[1]].transition)return nr({key:n,value:r,valueSpec:i.transition,style:l,styleSpec:i});var u,c=t.valueSpec||a[o];if(!c)return[new ji(n,r,'unknown property "'+o+'"')];if("string"===ni(r)&&Zl(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(r)))return[new ji(n,r,'"'+o+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(u[1])+" }`.")];var d=[];return"symbol"===t.layerType&&("text-field"===o&&l&&!l.glyphs&&d.push(new ji(n,r,'use of "text-field" requires a style "glyphs" property')),"text-font"===o&&li(Yi(r))&&"identity"===Ni(r.type)&&d.push(new ji(n,r,'"text-font" does not support identity functions'))),d.concat(nr({key:t.key,value:r,valueSpec:c,style:l,styleSpec:i,expressionContext:"property",propertyType:e,propertyKey:o}))}function $i(t){return Wi(t,"paint")}function Xi(t){return Wi(t,"layout")}function Ki(t){var e=[],n=t.value,l=t.key,i=t.style,r=t.styleSpec;n.type||n.ref||e.push(new ji(l,n,'either "type" or "ref" is required'));var o,a=Ni(n.type),s=Ni(n.ref);if(n.id)for(var u=Ni(n.id),c=0;c<t.arrayIndex;c++){var d=i.layers[c];Ni(d.id)===u&&e.push(new ji(l,n.id,'duplicate layer id "'+n.id+'", previously used at line '+d.id.__line__))}if("ref"in n)["type","source","source-layer","filter","layout"].forEach((function(t){t in n&&e.push(new ji(l,n[t],'"'+t+'" is prohibited for ref layers'))})),i.layers.forEach((function(t){Ni(t.id)===s&&(o=t)})),o?o.ref?e.push(new ji(l,n.ref,"ref cannot reference another ref layer")):a=Ni(o.type):e.push(new ji(l,n.ref,'ref layer "'+s+'" not found'));else if("background"!==a)if(n.source){var h=i.sources&&i.sources[n.source],p=h&&Ni(h.type);h?"vector"===p&&"raster"===a?e.push(new ji(l,n.source,'layer "'+n.id+'" requires a raster source')):"raster"===p&&"raster"!==a?e.push(new ji(l,n.source,'layer "'+n.id+'" requires a vector source')):"vector"!==p||n["source-layer"]?"raster-dem"===p&&"hillshade"!==a?e.push(new ji(l,n.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==a||!n.paint||!n.paint["line-gradient"]||"geojson"===p&&h.lineMetrics||e.push(new ji(l,n,'layer "'+n.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new ji(l,n,'layer "'+n.id+'" must specify a "source-layer"')):e.push(new ji(l,n.source,'source "'+n.source+'" not found'))}else e.push(new ji(l,n,'missing required property "source"'));return e=e.concat(Ui({key:l,value:n,valueSpec:r.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return nr({key:l+".type",value:n.type,valueSpec:r.layer.type,style:t.style,styleSpec:t.styleSpec,object:n,objectKey:"type"})},filter:qi,layout:function(t){return Ui({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Xi(Qe({layerType:a},t))}}})},paint:function(t){return Ui({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return $i(Qe({layerType:a},t))}}})}}}))}function Ji(t){var e=t.value,n=t.key,l=ni(e);return"string"!==l?[new ji(n,e,"string expected, "+l+" found")]:[]}var Qi={promoteId:function(t){var e=t.key,n=t.value;if("string"===ni(n))return Ji({key:e,value:n});var l=[];for(var i in n)l.push.apply(l,Ji({key:e+"."+i,value:n[i]}));return l}};function Zi(t){var e=t.value,n=t.key,l=t.styleSpec,i=t.style;if(!e.type)return[new ji(n,e,'"type" is required')];var r,o=Ni(e.type);switch(o){case"vector":case"raster":case"raster-dem":return Ui({key:n,value:e,valueSpec:l["source_"+o.replace("-","_")],style:t.style,styleSpec:l,objectElementValidators:Qi});case"geojson":if(r=Ui({key:n,value:e,valueSpec:l.source_geojson,style:i,styleSpec:l,objectElementValidators:Qi}),e.cluster)for(var a in e.clusterProperties){var s=e.clusterProperties[a],u=s[0],c="string"==typeof u?[u,["accumulated"],["get",a]]:u;r.push.apply(r,Hi({key:n+"."+a+".map",value:s[1],expressionContext:"cluster-map"})),r.push.apply(r,Hi({key:n+"."+a+".reduce",value:c,expressionContext:"cluster-reduce"}))}return r;case"video":return Ui({key:n,value:e,valueSpec:l.source_video,style:i,styleSpec:l});case"image":return Ui({key:n,value:e,valueSpec:l.source_image,style:i,styleSpec:l});case"canvas":return[new ji(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Vi({key:n+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:l})}}function tr(t){var e=t.value,n=t.styleSpec,l=n.light,i=t.style,r=[],o=ni(e);if(void 0===e)return r;if("object"!==o)return r.concat([new ji("light",e,"object expected, "+o+" found")]);for(var a in e){var s=a.match(/^(.*)-transition$/);r=r.concat(s&&l[s[1]]&&l[s[1]].transition?nr({key:a,value:e[a],valueSpec:n.transition,style:i,styleSpec:n}):l[a]?nr({key:a,value:e[a],valueSpec:l[a],style:i,styleSpec:n}):[new ji(a,e[a],'unknown property "'+a+'"')])}return r}var er={"*":function(){return[]},array:Bi,boolean:function(t){var e=t.value,n=t.key,l=ni(e);return"boolean"!==l?[new ji(n,e,"boolean expected, "+l+" found")]:[]},number:zi,color:function(t){var e=t.key,n=t.value,l=ni(n);return"string"!==l?[new ji(e,n,"color expected, "+l+" found")]:null===mn(n)?[new ji(e,n,'color expected, "'+n+'" found')]:[]},constants:Fi,enum:Vi,filter:qi,function:Gi,layer:Ki,object:Ui,source:Zi,light:tr,string:Ji,formatted:function(t){return 0===Ji(t).length?[]:Hi(t)},resolvedImage:function(t){return 0===Ji(t).length?[]:Hi(t)}};function nr(t){var e=t.value,n=t.valueSpec,l=t.styleSpec;return n.expression&&li(Ni(e))?Gi(t):n.expression&&di(Yi(e))?Hi(t):n.type&&er[n.type]?er[n.type](t):Ui(Qe({},t,{valueSpec:n.type?l[n.type]:n}))}function lr(t){var e=t.value,n=t.key,l=Ji(t);return l.length||(-1===e.indexOf("{fontstack}")&&l.push(new ji(n,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&l.push(new ji(n,e,'"glyphs" url must include a "{range}" token'))),l}function ir(t,e){void 0===e&&(e=Se);var n=[];return n=n.concat(nr({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:lr,"*":function(){return[]}}})),t.constants&&(n=n.concat(Fi({key:"constants",value:t.constants,style:t,styleSpec:e}))),rr(n)}function rr(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function or(t){return function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return rr(t.apply(this,e))}}ir.source=or(Zi),ir.light=or(tr),ir.layer=or(Ki),ir.filter=or(qi),ir.paintProperty=or($i),ir.layoutProperty=or(Xi);var ar=Oe((function(t,e){var n=function(){var t=function(t,e,n,l){for(n=n||{},l=t.length;l--;n[t[l]]=e);return n},e=[1,12],n=[1,13],l=[1,9],i=[1,10],r=[1,11],o=[1,14],a=[1,15],s=[14,18,22,24],u=[18,22],c=[22,24],d={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(t,e,n,l,i,r,o){var a=r.length-1;switch(i){case 1:this.$=new String(t.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b")),this.$.__line__=this._$.first_line;break;case 2:this.$=new Number(t),this.$.__line__=this._$.first_line;break;case 3:this.$=null;break;case 4:this.$=new Boolean(!0),this.$.__line__=this._$.first_line;break;case 5:this.$=new Boolean(!1),this.$.__line__=this._$.first_line;break;case 6:return this.$=r[a-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=r[a-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[r[a-2],r[a]];break;case 16:this.$={},this.$[r[a][0]]=r[a][1];break;case 17:this.$=r[a-2],r[a-2][r[a][0]]=r[a][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[r[a]];break;case 21:this.$=r[a-2],r[a-2].push(r[a])}},table:[{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,12:1,13:2,15:7,16:8,17:o,23:a},{1:[3]},{14:[1,16]},t(s,[2,7]),t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,3]),t(s,[2,4]),t(s,[2,5]),t([14,18,21,22,24],[2,1]),t(s,[2,2]),{3:20,4:e,18:[1,17],19:18,20:19},{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,13:23,15:7,16:8,17:o,23:a,24:[1,21],25:22},{1:[2,6]},t(s,[2,13]),{18:[1,24],22:[1,25]},t(u,[2,16]),{21:[1,26]},t(s,[2,18]),{22:[1,28],24:[1,27]},t(c,[2,20]),t(s,[2,14]),{3:20,4:e,20:29},{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,13:30,15:7,16:8,17:o,23:a},t(s,[2,19]),{3:5,4:e,5:6,6:n,7:3,8:l,9:4,10:i,11:r,13:31,15:7,16:8,17:o,23:a},t(u,[2,17]),t(u,[2,15]),t(c,[2,21])],defaultActions:{16:[2,6]},parseError:function(t,e){if(!e.recoverable)throw new Error(t);this.trace(t)},parse:function(t){var e=this,n=[0],l=[null],i=[],r=this.table,o="",a=0,s=0,u=2,c=1,d=i.slice.call(arguments,1),h=Object.create(this.lexer),p={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(p.yy[f]=this.yy[f]);h.setInput(t,p.yy),p.yy.lexer=h,p.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var b=h.yylloc;i.push(b);var m=h.options&&h.options.ranges;function g(){var t;return"number"!=typeof(t=h.lex()||c)&&(t=e.symbols_[t]||t),t}this.parseError="function"==typeof p.yy.parseError?p.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,y,A,v,C,w,P,x,S={};;){if(this.defaultActions[A=n[n.length-1]]?v=this.defaultActions[A]:(null==_&&(_=g()),v=r[A]&&r[A][_]),void 0===v||!v.length||!v[0]){var k="";for(w in x=[],r[A])this.terminals_[w]&&w>u&&x.push("'"+this.terminals_[w]+"'");k=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(a+1)+": Unexpected "+(_==c?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(k,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:b,expected:x})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+_);switch(v[0]){case 1:n.push(_),l.push(h.yytext),i.push(h.yylloc),n.push(v[1]),_=null,y?(_=y,y=null):(s=h.yyleng,o=h.yytext,a=h.yylineno,b=h.yylloc);break;case 2:if(S.$=l[l.length-(P=this.productions_[v[1]][1])],S._$={first_line:i[i.length-(P||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(P||1)].first_column,last_column:i[i.length-1].last_column},m&&(S._$.range=[i[i.length-(P||1)].range[0],i[i.length-1].range[1]]),void 0!==(C=this.performAction.apply(S,[o,s,a,p.yy,v[1],l,i].concat(d))))return C;P&&(n=n.slice(0,-1*P*2),l=l.slice(0,-1*P),i=i.slice(0,-1*P)),n.push(this.productions_[v[1]][0]),l.push(S.$),i.push(S._$),n.push(r[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function h(){this.yy={}}return d.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===l.length?this.yylloc.first_column:0)+l[l.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,l,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(l=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in i)this[r]=i[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,l;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),r=0;r<i.length;r++)if((n=this._input.match(this.rules[i[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,l=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[l]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,l){switch(n){case 0:break;case 1:return 6;case 2:return e.yytext=e.yytext.substr(1,e.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}},h.prototype=d,d.Parser=h,new h}();void 0!==Me&&(e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)})}));function sr(t,e){void 0===e&&(e=Se);var n=t;try{n=function(t){if(t instanceof String||"string"==typeof t||t instanceof Buffer)try{return ar.parse(t.toString())}catch(e){throw new Ri(e)}return t}(n)}catch(l){return[l]}return ir(n,e)}var ur=di,cr=bi,dr=li;sr.parsed=sr,sr.latest=sr;var hr=n("LMWA"),pr=n.n(hr);function fr(t){return t*Math.PI/180}var br=function(){for(var t=[],e=78271.51696402048;t.length<=24;e/=2)t.push(e);return t}();function mr(t,e){if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(t,e);var n=document.createElement("canvas");return n.width=t,n.height=e,n}var gr,_r=Array(256).join("\u200a");function yr(t,e){if(e>=.05){for(var n="",l=t.split("\n"),i=_r.slice(0,Math.round(e/.1)),r=0,o=l.length;r<o;++r)r>0&&(n+="\n"),n+=l[r].split("").join(i);return n}return t}function Ar(){return gr||(gr=mr(1,1).getContext("2d")),gr}function vr(t,e){return Ar().measureText(t).width+(t.length-1)*e}var Cr={};$.p&&Object(et.a)($.p,nt.a.CLEAR,(function(){Cr={}}));var wr,Pr,xr=dr,Sr=function(t,e){var n=t.stops;if(!n)return function(t,e){var n=["get",t.property];if(void 0===t.default)return"string"===e.type?["string",n]:n;if("enum"===e.type)return["match",n,Object.keys(e.values),n,t.default];var l=["color"===e.type?"to-color":e.type,n,gi(t.default)];return"array"===e.type&&l.splice(1,0,e.value,e.length||null),l}(t,e);var l=n&&"object"==typeof n[0][0],i=l||void 0!==t.property,r=l||!i;return n=n.map((function(t){return!i&&e.tokens&&"string"==typeof t[1]?[t[0],Pi(t[1])]:[t[0],gi(t[1])]})),l?function(t,e,n){for(var l={},i={},r=[],o=0;o<n.length;o++){var a=n[o],s=a[0].zoom;void 0===l[s]&&(l[s]={zoom:s,type:t.type,property:t.property,default:t.default},i[s]=[],r.push(s)),i[s].push([a[0].value,a[1]])}if("exponential"===wi({},e)){for(var u=[_i(t),["linear"],["zoom"]],c=0,d=r;c<d.length;c+=1){var h=d[c];Ci(u,h,Ai(l[h],e,i[h]),!1)}return u}for(var p=["step",["zoom"]],f=0,b=r;f<b.length;f+=1){var m=b[f];Ci(p,m,Ai(l[m],e,i[m]),!0)}return vi(p),p}(t,e,n):r?function(t,e,n,l){void 0===l&&(l=["zoom"]);var i,r=wi(t,e),o=!1;if("interval"===r)i=["step",l],o=!0;else{if("exponential"!==r)throw new Error('Unknown zoom function type "'+r+'"');var a=void 0!==t.base?t.base:1;i=[_i(t),1===a?["linear"]:["exponential",a],l]}for(var s=0,u=n;s<u.length;s+=1){var c=u[s];Ci(i,c[0],c[1],o)}return vi(i),i}(t,e,n):Ai(t,e,n)},kr=ur,Mr=cr,Or={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Dr={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},Tr={},Er={zoom:0},Ir={};function Lr(t,e,n,l,i){var r=t.id;Ir[r]||(Ir[r]={});var o=Ir[r];if(!o[n]){var a=(t[e]||Tr)[n],s=Se[e+"_"+t.type][n];void 0===a&&(a=s.default);var u=kr(a);if(!u&&xr(a)&&(a=Sr(a,s),u=!0),u){var c=function(t,e){var n=Mr(t,e);if("error"===n.result)throw new Error(n.value.map((function(t){return t.key+": "+t.message})).join(", "));return n.value}(a,s);o[n]=c.evaluate.bind(c)}else"color"==s.type&&(a=gn.parse(a)),o[n]=function(){return a}}return Er.zoom=l,o[n](Er,i)}var jr={};function Rr(t,e){if(t){if(0===t.a||0===e)return;var n=t.a;return e=void 0===e?1:e,"rgba("+Math.round(255*t.r/n)+","+Math.round(255*t.g/n)+","+Math.round(255*t.b/n)+","+n*e+")"}return t}var Fr=/^([^]*)\{(.*)\}([^]*)$/;function Nr(t,e){var n;do{(n=t.match(Fr))&&(t=n[1]+(e[n[2]]||"")+n[3])}while(n);return t}var Yr=function(t,e,n,l,i,r,o){if(void 0===l&&(l=br),"string"==typeof e&&(e=JSON.parse(e)),8!=e.version)throw new Error("glStyle version 8 required.");var a,s;if(r)if("undefined"!=typeof Image){var u=new Image;u.crossOrigin="anonymous",u.onload=function(){a=u,s=[u.width,u.height],t.changed(),u.onload=null},u.src=r}else if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){var c=self;c.postMessage({action:"loadImage",src:r}),c.addEventListener("message",(function(t){"imageLoaded"===t.data.action&&t.data.src===r&&(s=[(a=t.data.image).width,a.height])}))}for(var d,h=function(t){t=t.slice();for(var e=Object.create(null),n=0;n<t.length;n++)e[t[n].id]=t[n];for(var l=0;l<t.length;l++)"ref"in t[l]&&(t[l]=Li(t[l],e[t[l].ref]));return t}(e.layers),p={},f=[],b=0,m=h.length;b<m;++b){var g=h[b],_=g.id;if("string"==typeof n&&g.source==n||-1!==n.indexOf(_)){var y=g["source-layer"];if(!d){var A=e.sources[d=g.source];if(!A)throw new Error('Source "'+d+'" is not defined');var v=A.type;if("vector"!==v&&"geojson"!==v)throw new Error('Source "'+d+'" is not of type "vector" or "geojson", but "'+v+'"')}var C=p[y];C||(C=p[y]=[]),C.push({layer:g,index:b}),f.push(_)}delete Ir[_],delete jr[_]}var w=new Ce.a,P=new ve.a,x={},S={},k=[],M=function(t,e){var n=t.getProperties(),r=p[n.layer];if(r){var u=l.indexOf(e);-1==u&&(u=function(t,e){for(var n=0,l=e.length;n<l;++n)if(e[n]<t&&n+1<l){var i=e[n]/e[n+1];return n+Math.log(e[n]/t)/Math.log(i)}return l-1}(e,l));for(var c=Or[t.getGeometry().getType()],d={properties:n,type:c},h=-1,f=function(l,p){var f=r[l],b=f.layer,m=b.layout||Tr,g=b.paint||Tr;if("none"===m.visibility||"minzoom"in b&&u<b.minzoom||"maxzoom"in b&&u>=b.maxzoom)return"continue";var _=b.filter;if(!_||function(t,e,n,l){return t in jr||(jr[t]=function(t){if(null==t)return{filter:function(){return!0},needGeometry:!1};xi(t)||(t=Mi(t));var e=hi(t,Si);if("error"===e.result)throw new Error(e.value.map((function(t){return t.key+": "+t.message})).join(", "));return{filter:function(t,n,l){return e.value.evaluate(t,n,{},l)},needGeometry:Array.isArray(t)&&0!==t.length&&"within"===t[0]}}(e).filter),Er.zoom=l,jr[t](Er,n)}(b.id,_,d,u)){var y=void 0,A=void 0,v=void 0,C=void 0,M=void 0,O=void 0,D=f.index;if(3==c&&"fill"==b.type)if(A=Lr(b,"paint","fill-opacity",u,d),"fill-pattern"in g){var E=Lr(b,"paint","fill-pattern",u,d);if(E){var I="string"==typeof E?Nr(E,n):E.toString();if(a&&i&&i[I]){++h,(O=k[h])&&O.getFill()&&!O.getStroke()&&!O.getText()||(O=k[h]=new Ae.b({fill:new ve.a})),v=O.getFill(),O.setZIndex(D);var L=S[st=I+"."+A];L||((dt=(ct=mr((ut=i[I]).width,ut.height)).getContext("2d")).globalAlpha=A,dt.drawImage(a,ut.x,ut.y,ut.width,ut.height,0,0,ut.width,ut.height),L=dt.createPattern(ct,"repeat"),S[st]=L),v.setColor(L)}}}else(y=Rr(Lr(b,"paint","fill-color",u,d),A))&&("fill-outline-color"in g&&(M=Rr(Lr(b,"paint","fill-outline-color",u,d),A)),M||(M=y),++h,(O=k[h])&&O.getFill()&&O.getStroke()&&!O.getText()||(O=k[h]=new Ae.b({fill:new ve.a,stroke:new Ce.a})),(v=O.getFill()).setColor(y),(C=O.getStroke()).setColor(M),C.setWidth(1),O.setZIndex(D));if(1!=c&&"line"==b.type){y=!("line-pattern"in g)&&"line-color"in g?Rr(Lr(b,"paint","line-color",u,d),Lr(b,"paint","line-opacity",u,d)):void 0;var j=Lr(b,"paint","line-width",u,d);y&&j>0&&(++h,(O=k[h])&&O.getStroke()&&!O.getFill()&&!O.getText()||(O=k[h]=new Ae.b({stroke:new Ce.a})),(C=O.getStroke()).setLineCap(Lr(b,"layout","line-cap",u,d)),C.setLineJoin(Lr(b,"layout","line-join",u,d)),C.setMiterLimit(Lr(b,"layout","line-miter-limit",u,d)),C.setColor(y),C.setWidth(j),C.setLineDash(g["line-dasharray"]?Lr(b,"paint","line-dasharray",u,d).map((function(t){return t*j})):null),O.setZIndex(D))}var R=!1,F=null,N=0,Y=void 0,U=void 0,B=void 0;if((1==c||2==c)&&"icon-image"in m){var z=Lr(b,"layout","icon-image",u,d);if(z){Y="string"==typeof z?Nr(z,n):z.toString();var G=void 0;if(a&&i&&i[Y]){var H=Lr(b,"layout","icon-rotation-alignment",u,d);if(2==c){var V=t.getGeometry();if(V.getFlatMidpoint){var q=V.getExtent();if(Math.sqrt(Math.max(Math.pow((q[2]-q[0])/e,2),Math.pow((q[3]-q[1])/e,2)))>150){var W=V.getFlatMidpoint();if(Pr||(Pr=new T("Point",wr=[NaN,NaN],[],{},null)),G=Pr,wr[0]=W[0],wr[1]=W[1],"line"===(Tt=Lr(b,"layout","symbol-placement",u,d))&&"map"===H)for(var $=V.getStride(),X=V.getFlatCoordinates(),K=0,J=X.length-$;K<J;K+=$){var Q=X[K],Z=X[K+1],tt=X[K+$],et=X[K+$+1],nt=Math.min(Q,tt),lt=Math.min(Z,et),it=Math.max(Q,tt),rt=Math.max(Z,et);if(W[0]>=nt&&W[0]<=it&&W[1]>=lt&&W[1]<=rt){N=Math.atan2(Z-et,tt-Q);break}}}}}if(2!==c||G){++h,(O=k[h])&&O.getImage()&&!O.getFill()&&!O.getStroke()||(O=k[h]=new Ae.b),O.setGeometry(G);var ot=Lr(b,"layout","icon-size",u,d),at=void 0!==g["icon-color"]?Lr(b,"paint","icon-color",u,d):null,st=Y+"."+ot;if(null!==at&&(st+="."+at),!(U=x[st])){var ut=i[Y];if(null!==at){var ct,dt;(dt=(ct=mr(ut.width,ut.height)).getContext("2d")).drawImage(a,ut.x,ut.y,ut.width,ut.height,0,0,ut.width,ut.height);for(var ht=dt.getImageData(0,0,ct.width,ct.height),pt=0,ft=ht.data.length;pt<ft;pt+=4){var bt=at.a;0!==bt&&(ht.data[pt]=255*at.r/bt,ht.data[pt+1]=255*at.g/bt,ht.data[pt+2]=255*at.b/bt),ht.data[pt+3]=bt}dt.putImageData(ht,0,0),U=x[st]=new we.a({img:ct,imgSize:[ct.width,ct.height],scale:ot/ut.pixelRatio})}else U=x[st]=new we.a({img:a,imgSize:s,size:[ut.width,ut.height],offset:[ut.x,ut.y],rotateWithView:"map"===H,scale:ot/ut.pixelRatio})}U.setRotation(N+fr(Lr(b,"layout","icon-rotate",u,d))),U.setOpacity(Lr(b,"paint","icon-opacity",u,d)),U.setAnchor(Dr[Lr(b,"layout","icon-anchor",u,d)]),O.setImage(U),F=O.getText(),O.setText(void 0),O.setZIndex(D),R=!0,B=!1}else B=!0}}}if(1==c&&"circle-radius"in g){++h,(O=k[h])&&O.getImage()&&!O.getFill()&&!O.getStroke()||(O=k[h]=new Ae.b);var mt=Lr(b,"paint","circle-radius",u,d),gt=Rr(Lr(b,"paint","circle-stroke-color",u,d),Lr(b,"paint","circle-stroke-opacity",u,d)),_t=Rr(Lr(b,"paint","circle-color",u,d),Lr(b,"paint","circle-opacity",u,d)),yt=Lr(b,"paint","circle-stroke-width",u,d),At=mt+"."+gt+"."+_t+"."+yt;(U=x[At])||(U=x[At]=new xe.a({radius:mt,stroke:gt&&yt>0?new Ce.a({width:yt,color:gt}):void 0,fill:_t?new ve.a({color:_t}):void 0})),O.setImage(U),F=O.getText(),O.setText(void 0),O.setGeometry(void 0),O.setZIndex(D),R=!0}var vt=void 0;if("text-field"in m&&(vt=Nr(Lr(b,"layout","text-field",u,d).toString(),n).trim(),A=Lr(b,"paint","text-opacity",u,d)),vt&&A&&!B){R||(++h,(O=k[h])&&O.getText()&&!O.getFill()&&!O.getStroke()||(O=k[h]=new Ae.b),O.setImage(void 0),O.setGeometry(void 0)),O.getText()||O.setText(F||new Pe.a({padding:[2,2,2,2]})),F=O.getText();var Ct=Math.round(Lr(b,"layout","text-size",u,d)),wt=Lr(b,"layout","text-font",u,d),Pt=Lr(b,"layout","text-line-height",u,d),xt=pr()(o?o(wt):wt,Ct,Pt),St=m["text-transform"];"uppercase"==St?vt=vt.toUpperCase():"lowercase"==St&&(vt=vt.toLowerCase());var kt=Lr(b,"layout","text-max-width",u,d),Mt=Lr(b,"layout","text-letter-spacing",u,d),Ot=2==c?yr(vt,Mt):function t(e,n,l,i){if(-1!==e.indexOf("\n")){for(var r=e.split("\n"),o=[],a=0,s=r.length;a<s;++a)o.push(t(r[a],n,l,i));return o.join("\n")}var u=l+","+n+","+e+","+i,c=Cr[u];if(!c){var d=e.split(" ");if(d.length>1){var h=Ar();h.font=n;var p=h.measureText("M").width*l,f="";for(o=[],a=0,s=d.length;a<s;++a){var b=d[a],m=f+(f?" ":"")+b;vr(m,i)<=p?f=m:(f&&o.push(f),f=b)}for(f&&o.push(f),a=0;a<o.length;++a){var g=o[a];if(vr(g,i)<.35*p){var _=a>0?vr(o[a-1],i):1/0,y=a<o.length-1?vr(o[a+1],i):1/0;o.splice(a,1),_<y?(o[a-1]+=" "+g,a-=1):o[a]=g+" "+o[a],o.length-=1}}for(a=0,s=o.length-1;a<s;++a){var A=o[a],v=o[a+1];if(vr(A,i)>.7*p&&vr(v,i)<.6*p){var C=A.split(" "),w=C.pop();vr(w,i)<.2*p&&(o[a]=C.join(" "),o[a+1]=w+" "+v),s-=1}}c=o.join("\n")}else c=e;c=yr(c,i),Cr[u]=c}return c}(vt,xt,kt,Mt);F.setText(Ot),F.setFont(xt),F.setRotation(fr(Lr(b,"layout","text-rotate",u,d)));var Dt=Lr(b,"layout","text-anchor",u,d),Tt=R||1==c?"point":Lr(b,"layout","symbol-placement",u,d);F.setPlacement(Tt);var Et=Lr(b,"paint","text-halo-width",u,d),It=Lr(b,"layout","text-offset",u,d),Lt=Lr(b,"paint","text-translate",u,d),jt=0,Rt=0;if("point"==Tt){var Ft="center";-1!==Dt.indexOf("left")?(Ft="left",Rt=Et):-1!==Dt.indexOf("right")&&(Ft="right",Rt=-Et),F.setTextAlign(Ft);var Nt=Lr(b,"layout","text-rotation-alignment",u,d);F.setRotateWithView("map"==Nt)}else F.setMaxAngle(fr(Lr(b,"layout","text-max-angle",u,d))*vt.length/Ot.length),F.setTextAlign(),F.setRotateWithView(!1);var Yt="middle";0==Dt.indexOf("bottom")?(Yt="bottom",jt=-Et-.5*(Pt-1)*Ct):0==Dt.indexOf("top")&&(Yt="top",jt=Et+.5*(Pt-1)*Ct),F.setTextBaseline(Yt),F.setOffsetX(It[0]*Ct+Rt+Lt[0]),F.setOffsetY(It[1]*Ct+jt+Lt[1]),P.setColor(Rr(Lr(b,"paint","text-color",u,d),A)),F.setFill(P);var Ut=Rr(Lr(b,"paint","text-halo-color",u,d),A);if(Ut){w.setColor(Ut);var Bt=.5*Ct;w.setWidth((Et*=2)<=Bt?Et:Bt),F.setStroke(w)}else F.setStroke(void 0);var zt=Lr(b,"layout","text-padding",u,d),Gt=F.getPadding();zt!==Gt[0]&&(Gt[0]=Gt[1]=Gt[2]=Gt[3]=zt),O.setZIndex(D)}}},b=0,m=r.length;b<m;++b)f(b);return h>-1?(k.length=h+1,k):void 0}};return t.setStyle(M),t.set("mapbox-source",d),t.set("mapbox-layers",f),M},Ur=n("wd/R");n.d(e,"a",(function(){return zr}));const Br="\xa9 "+Ur().utc().format("YYYY")+' <a href="https://beta.gouv.fr/startups/sepia.html">SEPIA</a>';class zr{constructor(t,e,n,i){this.httpClient=t,this.mapService=e,this.lightDarkModeService=n,this.collectionService=i,this.urlOfTilesServer=l.a.config.api["sepia.api"].url+"/tile/{collectionId}/{z}/{x}/{y}.pbf",this.localCollections={},this.intervalForDaemonOfCollectionFetcher=6e4,this.tileLoader=(t,e)=>{t.setLoader((n,l,i)=>{this.httpClient.get(e,{responseType:"arraybuffer"}).subscribe(e=>{const l=t.getFormat().readFeatures(e,{extent:n,featureProjection:i});t.setFeatures(l)},e=>{const l=t.getFormat().readFeatures(null,{extent:n,featureProjection:i});t.setFeatures(l)})})}}ngOnInit(){this.updateLocalCollection(),setInterval(()=>{this.updateLocalCollection()},this.intervalForDaemonOfCollectionFetcher)}updateLocalCollection(){return this.collectionService.getManyBaseCollectionControllerCollection({}).subscribe(t=>{const e=this.getReportOfCollections(t);e.addCollections.forEach(t=>this.addLayer(t)),e.updateCollections.forEach(t=>this.updateLayer(t)),e.deleteCollections.forEach(t=>this.deleteLayer(t)),e.addCollections.length>0&&this.lightDarkModeService.setLightDarkMode()},t=>console.error("Error : getCollections"))}getReportOfCollections(t){const e=[],n=[],l=[],i=Object.values(this.localCollections),r=i.map(t=>t.id),o=t.map(t=>t.id);return t.forEach(t=>{r.includes(t.id)||e.push(t),!r.includes(t.id)||this.localCollections[t.id].updatedAt===t.updatedAt&&this.localCollections[t.id].name===t.name&&this.localCollections[t.id].layerGroup===t.layerGroup&&this.localCollections[t.id].refresh===t.refresh&&this.localCollections[t.id].defaultView===t.defaultView&&this.localCollections[t.id].defaultOrder===t.defaultOrder&&this.localCollections[t.id].clickable===t.clickable&&this.localCollections[t.id].hoverable===t.hoverable&&JSON.stringify(this.localCollections[t.id].style)===JSON.stringify(t.style)&&JSON.stringify(this.localCollections[t.id].mapping)===JSON.stringify(t.mapping)&&JSON.stringify(this.localCollections[t.id].properties)===JSON.stringify(t.properties)&&JSON.stringify(this.localCollections[t.id].style)===JSON.stringify(t.style)||n.push(t)}),i.forEach(t=>{o.includes(t.id)||l.push(t)}),{addCollections:e,updateCollections:n,deleteCollections:l}}addLayer(t){let e,n=null;const l={attributions:[Br],cacheSize:isNaN(t.properties.cacheSize)?null:t.properties.cacheSize,transition:isNaN(t.properties.transition)?null:t.properties.transition};if("GL"===t.type)n=this.generateGlStyle(t),l.urls=n.sources[t.id].tiles,l.tileLoadFunction=this.tileLoader,l.format=new F,e=new _e(l);else switch(t.properties.source){case"BingMaps":l.key=t.properties.key?t.properties.key:void 0,l.imagerySet=t.properties.imagerySet?t.properties.imagerySet:void 0,e=new se(l);break;default:t.properties.url=t.properties.url.replace("{YYMM}",Ur().utc().format("YYMM")),l.url=t.properties.url,e=new ce(l)}const i={source:e,visible:!0===t.defaultView&&t.defaultView,zIndex:isNaN(t.defaultOrder)?0:t.defaultOrder,preload:isNaN(t.properties.preload)?void 0:t.properties.preload,minZoom:isNaN(t.properties.minZoom)?void 0:t.properties.minZoom,maxZoom:isNaN(t.properties.maxZoom)?void 0:t.properties.maxZoom,opacity:isNaN(t.properties.opacity)?void 0:t.properties.opacity},r="GL"===t.type?new bt(i):new Q(i);t.id&&r.set("id",t.id),t.name&&r.set("name",t.name),t.clickable&&r.set("clickable",t.clickable),t.hoverable&&r.set("hoverable",t.hoverable),t.mapping&&r.set("mapping",t.mapping),"GL"===t.type&&Yr(r,n,t.id),!0===t.properties.lightMode&&this.lightDarkModeService.addLayerInLightDarkList("light",t.name),!0===t.properties.darkMode&&this.lightDarkModeService.addLayerInLightDarkList("dark",t.name),this.mapService.addLayerToGroup(t.layerGroup||"DEFAULTS",r),this.localCollections[t.id]=t}updateLayer(t){const e=this.mapService.getLayer(t.name),n=e.getSource();if(isNaN(t.properties.cacheSize)||n.cacheSize===t.properties.cacheSize||(n.cacheSize=t.properties.cacheSize),isNaN(t.properties.transition)||n.transition===t.properties.transition||(n.transition=t.properties.transition),"RASTER"===t.type)switch(isNaN(t.properties.tilePixelRatio)||n.tilePixelRatio===t.properties.tilePixelRatio||(n.cacheSize=t.properties.tilePixelRatio),t.properties.source){case"BingMaps":n.key!==t.properties.key&&(n.key=t.properties.key||null),n.imagerySet!==t.properties.imagerySet&&(n.imagerySet=t.properties.imagerySet||null);break;default:n.url!==t.properties.url&&(t.properties.url=t.properties.url.replace("{YYMM}",Ur().utc().format("YYMM")),n.setUrl(t.properties.url))}if(isNaN(t.defaultOrder)||e.getZIndex()===t.defaultOrder||e.setZIndex(t.defaultOrder),isNaN(t.properties.preload)||e.getPreload()===t.properties.preload||e.setPreload(t.properties.preload),isNaN(t.properties.minZoom)||e.getMinZoom()===t.properties.minZoom||e.setMinZoom(t.properties.minZoom),isNaN(t.properties.maxZoom)||e.getMaxZoom()===t.properties.maxZoom||e.setMaxZoom(t.properties.maxZoom),isNaN(t.properties.opacity)||e.getOpacity()===t.properties.opacity||e.setOpacity(t.properties.opacity),t.id&&e.get("id")!==t.id&&e.set("id",t.id),t.name&&e.get("name")!==t.name&&e.set("name",t.name),"GL"===t.type){const n=this.generateGlStyle(t);Yr(e,n,t.id)}this.localCollections[t.id]=t}deleteLayer(t){this.mapService.removeLayerToGroup(t.layerGroup||"DEFAULTS",this.mapService.getLayer(t.name)),this.localCollections[t.id]&&delete this.localCollections[t.id]}generateGlStyle(t){const e={version:8,name:t.id,glyphs:"{fontstack}/{range}",sources:{},layers:[]};return e.sources[t.id]={type:"vector",tiles:[this.urlOfTilesServer.replace("{collectionId}",t.id)],maxzoom:13},e.layers=t.style,e}upsertDaemon(t){}deletetDaemon(t){}}},"5p+q":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFeedControllerFeedPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFeedControllerFeed(t){return this.getOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFeedControllerFeedPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFeedControllerFeed(t){return this.replaceOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFeedControllerFeedPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFeedControllerFeed(t){return this.deleteOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFeedControllerFeedPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFeedControllerFeed(t){return this.updateOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFeedControllerFeedPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFeedControllerFeed(t){return this.getManyBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFeedControllerFeedPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFeedControllerFeed(t){return this.createOneBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFeedControllerFeed$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFeedControllerFeedPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFeedControllerFeed(t){return this.createManyBaseFeedControllerFeed$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFeedControllerFeedPath="/feed/{id}",t.ReplaceOneBaseFeedControllerFeedPath="/feed/{id}",t.DeleteOneBaseFeedControllerFeedPath="/feed/{id}",t.UpdateOneBaseFeedControllerFeedPath="/feed/{id}",t.GetManyBaseFeedControllerFeedPath="/feed",t.CreateOneBaseFeedControllerFeedPath="/feed",t.CreateManyBaseFeedControllerFeedPath="/feed/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};t.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6C75":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},"6Lir":function(t,e,n){"use strict";var l=n("n15R"),i=n("CZmH"),r=n("CvXi"),o=n("vvg4"),a=n("OPOH"),s=n("N0mK"),u=n("qJZF"),c=n("WTjQ"),d=n("f8l7");function h(t,e,n,l,i,r,o,a,s,u,c){for(var h,p,f=[],b=t[e]>t[n-l],m=i.length,g=t[e],_=t[e+1],y=t[e+=l],A=t[e+1],v=0,C=Math.sqrt(Math.pow(y-g,2)+Math.pow(A-_,2)),w=!1,P=0;P<m;++P){for(var x=i[h=b?m-P-1:P],S=a*s(u,x,c),k=r+S/2;e<n-l&&v+C<k;)g=y,_=A,y=t[e+=l],A=t[e+1],v+=C,C=Math.sqrt(Math.pow(y-g,2)+Math.pow(A-_,2));var M=k-v,O=Math.atan2(A-_,y-g);if(b&&(O+=O>0?-Math.PI:Math.PI),void 0!==p){var D=O-p;if(w=w||0!==D,D+=D>Math.PI?-2*Math.PI:D<-Math.PI?2*Math.PI:0,Math.abs(D)>o)return null}p=O;var T=M/C,E=Object(d.c)(g,y,T),I=Object(d.c)(_,A,T);f[h]=[E,I,S/2,O,x],r+=S}return w?f:[[f[0][0],f[0][1],f[0][2],f[0][3],i]]}var p=n("3er3"),f=n("ZXPP"),b=n("Dmnv"),m=n("tV43"),g=n.n(m),_=n("YX0d"),y=Object(r.j)(),A=Object(u.c)(),v=[],C=[],w=[],P=[],x=function(){function t(t,e,n,l){this.overlaps=n,this.pixelRatio=e,this.resolution=t,this.declutterItems=[],this.instructions=l.instructions,this.coordinates=l.coordinates,this.coordinateCache_={},this.renderedTransform_=Object(u.c)(),this.hitDetectionInstructions=l.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=l.fillStates||{},this.strokeStates=l.strokeStates||{},this.textStates=l.textStates||{},this.widths_={},this.labels_={}}return t.prototype.createLabel=function(t,e,n,l){var i=t+e+n+l;if(this.labels_[i])return this.labels_[i];var r=l?this.strokeStates[l]:null,o=n?this.fillStates[n]:null,a=this.textStates[e],s=a.scale*this.pixelRatio,u=b.a[a.textAlign||p.m],c=l&&r.lineWidth?r.lineWidth:0,d=t.split("\n"),h=d.length,f=[],m=Object(p.s)(a.font,d,f),g=Object(p.r)(a.font),y=g*h,A=m+c,v=[],C={width:Math.ceil((A+2)*s),height:Math.ceil((y+c)*s),contextInstructions:v};1!=s&&v.push("scale",[s,s]),v.push("font",a.font),l&&(v.push("strokeStyle",r.strokeStyle),v.push("lineWidth",c),v.push("lineCap",r.lineCap),v.push("lineJoin",r.lineJoin),v.push("miterLimit",r.miterLimit),(_.g?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D).prototype.setLineDash&&(v.push("setLineDash",[r.lineDash]),v.push("lineDashOffset",r.lineDashOffset))),n&&v.push("fillStyle",o.fillStyle),v.push("textBaseline","middle"),v.push("textAlign","center");var w,P=.5-u,x=u*A+P*c;if(l)for(w=0;w<h;++w)v.push("strokeText",[d[w],x+P*f[w],.5*(c+g)+w*g]);if(n)for(w=0;w<h;++w)v.push("fillText",[d[w],x+P*f[w],.5*(c+g)+w*g]);return this.labels_[i]=C,C},t.prototype.replayTextBackground_=function(t,e,n,l,i,r,o){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,n),t.lineTo.apply(t,l),t.lineTo.apply(t,i),t.lineTo.apply(t,e),r&&(this.alignFill_=r[2],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())},t.prototype.replayImageOrLabel_=function(t,e,n,l,i,o,a,s,c,d,h,f,b,m,g,_,x,S){var k=x||S,M=g+d>l.width?l.width-d:g,O=s+h>l.height?l.height-h:s,D=_[3]+M*b+_[1],T=_[0]+O*b+_[2],E=(e-=i*=b)-_[3],I=(n-=o*=b)-_[0];(k||0!==f)&&(v[0]=E,P[0]=E,v[1]=I,C[1]=I,C[0]=E+D,w[0]=C[0],w[1]=I+T,P[1]=w[1]);var L=null;if(0!==f){var j=e+i,R=n+o;L=Object(u.b)(A,j,R,1,1,f,-j,-R),Object(u.a)(A,v),Object(u.a)(A,C),Object(u.a)(A,w),Object(u.a)(A,P),Object(r.k)(Math.min(v[0],C[0],w[0],P[0]),Math.min(v[1],C[1],w[1],P[1]),Math.max(v[0],C[0],w[0],P[0]),Math.max(v[1],C[1],w[1],P[1]),y)}else Object(r.k)(E,I,E+D,I+T,y);var F=t.canvas,N=S?S[2]*b/2:0,Y=y[0]-N<=F.width&&y[2]+N>=0&&y[1]-N<=F.height&&y[3]+N>=0;if(m&&(e=Math.round(e),n=Math.round(n)),a){if(!Y&&1==a[4])return;Object(r.q)(a,y);var U=Y?[t,L?L.slice(0):null,c,l,d,h,M,O,e,n,b]:null;U&&(k&&U.push(x,S,v.slice(0),C.slice(0),w.slice(0),P.slice(0)),a.push(U))}else Y&&(k&&this.replayTextBackground_(t,v,C,w,P,x,S),Object(p.o)(t,L,c,l,d,h,M,O,e,n,b))},t.prototype.fill_=function(t){if(this.alignFill_){var e=Object(u.a)(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;t.save(),t.translate(e[0]%n,e[1]%n),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()},t.prototype.setStrokeStyle_=function(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.setLineDash&&(t.lineDashOffset=e[7],t.setLineDash(e[6]))},t.prototype.renderDeclutter=function(t,e,n,l){if(t&&t.length>5){var i=t[4];if(1==i||i==t.length-5){var o={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};if(l||(l=new g.a(9)),!l.collides(o)){l.insert(o);for(var a=5,s=t.length;a<s;++a){var u=t[a],c=u[0],d=c.globalAlpha;d!==n&&(c.globalAlpha=n),u.length>11&&this.replayTextBackground_(u[0],u[13],u[14],u[15],u[16],u[11],u[12]),p.o.apply(void 0,u),d!==n&&(c.globalAlpha=d)}}t.length=5,Object(r.l)(t)}}return l},t.prototype.drawLabelWithPointPlacement_=function(t,e,n,l){var i=this.textStates[e],r=this.createLabel(t,e,l,n),o=this.strokeStates[n],a=this.pixelRatio,s=b.a[i.textAlign||p.m],u=b.a[i.textBaseline||p.n],c=o&&o.lineWidth?o.lineWidth:0;return{label:r,anchorX:s*(r.width/a-2*i.scale)+2*(.5-s)*c,anchorY:u*r.height/a+2*(.5-u)*c}},t.prototype.execute_=function(t,e,n,i,a,s){var d;this.declutterItems.length=0,this.pixelCoordinates_&&Object(l.b)(e,this.renderedTransform_)?d=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),d=Object(o.c)(this.coordinates,0,this.coordinates.length,2,e,this.pixelCoordinates_),Object(u.j)(this.renderedTransform_,e));for(var m,g,_,y,A,v,C,w,P,x,S,k,M,O,D,T,E,I=0,L=n.length,j=0,R=0,F=0,N=null,Y=null,U=this.coordinateCache_,B=this.viewRotation_,z=Math.round(1e12*Math.atan2(-e[1],e[0]))/1e12,G={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:B},H=this.instructions!=n||this.overlaps?0:200;I<L;){var V=n[I];switch(V[0]){case f.c.BEGIN_GEOMETRY:(D=V[1]).getGeometry()?void 0===s||Object(r.F)(s,V[3])?++I:I=V[2]+1:I=V[2];break;case f.c.BEGIN_PATH:R>H&&(this.fill_(t),R=0),F>H&&(t.stroke(),F=0),R||F||(t.beginPath(),y=NaN,A=NaN),++I;break;case f.c.CIRCLE:var q=d[j=V[1]],W=d[j+1],$=d[j+2]-q,X=d[j+3]-W,K=Math.sqrt($*$+X*X);t.moveTo(q+K,W),t.arc(q,W,K,0,2*Math.PI,!0),++I;break;case f.c.CLOSE_PATH:t.closePath(),++I;break;case f.c.CUSTOM:j=V[1],m=V[2];var J=V[4],Q=6==V.length?V[5]:void 0;G.geometry=V[3],G.feature=D,I in U||(U[I]=[]);var Z=U[I];Q?Q(d,j,m,2,Z):(Z[0]=d[j],Z[1]=d[j+1],Z.length=2),J(Z,G),++I;break;case f.c.DRAW_IMAGE:j=V[1],m=V[2],g=V[4],_=V[5],P=a?null:V[6];var tt=V[7],et=V[8],nt=V[9],lt=V[10],it=V[11],rt=V[12],ot=V[13],at=V[14];if(!(x=V[3])&&V.length>=19){var st=this.drawLabelWithPointPlacement_(S=V[18],k=V[19],M=V[20],O=V[21]);V[3]=x=st.label,V[4]=g=(st.anchorX-V[22])*this.pixelRatio,V[5]=_=(st.anchorY-V[23])*this.pixelRatio,V[7]=tt=x.height,V[14]=at=x.width}var ut=void 0;V.length>24&&(ut=V[24]);var ct=void 0,dt=void 0,ht=void 0;V.length>16?(ct=V[15],dt=V[16],ht=V[17]):(ct=p.k,dt=!1,ht=!1),it&&z?rt+=B:it||z||(rt-=B);for(var pt=0,ft=0;j<m;j+=2)if(!(ut&&ut[pt++]<at/this.pixelRatio)){if(P){var bt=Math.floor(ft);P.length<bt+1&&((w=Object(r.j)()).push(P[0][4]),P.push(w)),w=P[bt]}this.replayImageOrLabel_(t,d[j],d[j+1],x,g,_,w,tt,et,nt,lt,rt,ot,i,at,ct,dt?N:null,ht?Y:null),w&&(ft===Math.floor(ft)&&this.declutterItems.push(this,w,D),ft+=1/w[4])}++I;break;case f.c.DRAW_CHARS:var mt=V[1],gt=V[2],_t=V[3];w=a?null:V[4];var yt=V[5];O=V[6];var At=V[7],vt=V[9];M=V[10];var Ct=V[11];S=V[12];var wt=V[14],Pt=this.textStates[k=V[13]],xt=Pt.font,St=Pt.scale*V[8],kt=void 0;xt in this.widths_?kt=this.widths_[xt]:this.widths_[xt]=kt={};var Mt=Object(c.a)(d,mt,gt,2),Ot=St*Object(p.q)(xt,S,kt);if(yt||Ot<=Mt){var Dt=h(d,mt,gt,2,S,(Mt-Ot)*b.a[this.textStates[k].textAlign],At,St,p.q,xt,kt);if(Dt){var Tt=void 0,Et=void 0,It=void 0,Lt=void 0;if(M)for(Tt=0,Et=Dt.length;Tt<Et;++Tt)It=this.createLabel((Lt=Dt[Tt])[4],k,"",M),this.replayImageOrLabel_(t,Lt[0],Lt[1],It,g=Lt[2]+Ct,_=_t*It.height+2*(.5-_t)*Ct-vt,w,It.height,1,0,0,Lt[3],wt,!1,It.width,p.k,null,null);if(O)for(Tt=0,Et=Dt.length;Tt<Et;++Tt)It=this.createLabel((Lt=Dt[Tt])[4],k,O,""),this.replayImageOrLabel_(t,Lt[0],Lt[1],It,g=Lt[2],_=_t*It.height-vt,w,It.height,1,0,0,Lt[3],wt,!1,It.width,p.k,null,null)}}this.declutterItems.push(this,w,D),++I;break;case f.c.END_GEOMETRY:if(void 0!==a){var jt=a(D=V[1]);if(jt)return jt}++I;break;case f.c.FILL:H?R++:this.fill_(t),++I;break;case f.c.MOVE_TO_LINE_TO:for(m=V[2],C=(E=d[(j=V[1])+1])+.5|0,(v=(T=d[j])+.5|0)===y&&C===A||(t.moveTo(T,E),y=v,A=C),j+=2;j<m;j+=2)v=(T=d[j])+.5|0,C=(E=d[j+1])+.5|0,j!=m-2&&v===y&&C===A||(t.lineTo(T,E),y=v,A=C);++I;break;case f.c.SET_FILL_STYLE:N=V,this.alignFill_=V[2],R&&(this.fill_(t),R=0,F&&(t.stroke(),F=0)),t.fillStyle=V[1],++I;break;case f.c.SET_STROKE_STYLE:Y=V,F&&(t.stroke(),F=0),this.setStrokeStyle_(t,V),++I;break;case f.c.STROKE:H?F++:t.stroke(),++I;break;default:++I}}R&&this.fill_(t),F&&t.stroke()},t.prototype.execute=function(t,e,n,l){this.viewRotation_=n,this.execute_(t,e,this.instructions,l,void 0,void 0)},t.prototype.executeHitDetection=function(t,e,n,l,i){return this.viewRotation_=n,this.execute_(t,e,this.hitDetectionInstructions,!0,l,i)},t}();n.d(e,"b",(function(){return D}));var S=[s.a.POLYGON,s.a.CIRCLE,s.a.LINE_STRING,s.a.IMAGE,s.a.TEXT,s.a.DEFAULT],k=function(){function t(t,e,n,l,i,r){this.maxExtent_=t,this.overlaps_=l,this.pixelRatio_=n,this.resolution_=e,this.renderBuffer_=r,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Object(u.c)(),this.createExecutors_(i)}return t.prototype.clip=function(t,e){var n=this.getClipCoords(e);t.beginPath(),t.moveTo(n[0],n[1]),t.lineTo(n[2],n[3]),t.lineTo(n[4],n[5]),t.lineTo(n[6],n[7]),t.clip()},t.prototype.createExecutors_=function(t){for(var e in t){var n=this.executorsByZIndex_[e];void 0===n&&(this.executorsByZIndex_[e]=n={});var l=t[e];for(var i in l)n[i]=new x(this.resolution_,this.pixelRatio_,this.overlaps_,l[i])}},t.prototype.hasExecutors=function(t){for(var e in this.executorsByZIndex_)for(var n=this.executorsByZIndex_[e],l=0,i=t.length;l<i;++l)if(t[l]in n)return!0;return!1},t.prototype.forEachFeatureAtCoordinate=function(t,e,n,o,a,c){var d=2*(o=Math.round(o))+1,h=Object(u.b)(this.hitDetectionTransform_,o+.5,o+.5,1/e,-1/e,-n,-t[0],-t[1]);this.hitDetectionContext_||(this.hitDetectionContext_=Object(i.a)(d,d));var p,f=this.hitDetectionContext_;f.canvas.width!==d||f.canvas.height!==d?(f.canvas.width=d,f.canvas.height=d):f.clearRect(0,0,d,d),void 0!==this.renderBuffer_&&(p=Object(r.j)(),Object(r.r)(p,t),Object(r.c)(p,e*(this.renderBuffer_+o),p));var b,m=function(t){if(void 0!==M[t])return M[t];for(var e=2*t+1,n=new Array(e),l=0;l<e;l++)n[l]=new Array(e);for(var i=t,r=0,o=0;i>=r;)O(n,t+i,t+r),O(n,t+r,t+i),O(n,t-r,t+i),O(n,t-i,t+r),O(n,t-i,t-r),O(n,t-r,t-i),O(n,t+r,t-i),O(n,t+i,t-r),2*((o+=1+2*++r)-i)+1>0&&(o+=1-2*(i-=1));return M[t]=n,n}(o);function g(t){for(var e=f.getImageData(0,0,d,d).data,n=0;n<d;n++)for(var l=0;l<d;l++)if(m[n][l]&&e[4*(l*d+n)+3]>0){var i=void 0;return(!c||b!=s.a.IMAGE&&b!=s.a.TEXT||-1!==c.indexOf(t))&&(i=a(t)),i||void f.clearRect(0,0,d,d)}}var _,y,A,v,C,w=Object.keys(this.executorsByZIndex_).map(Number);for(w.sort(l.g),_=w.length-1;_>=0;--_){var P=w[_].toString();for(A=this.executorsByZIndex_[P],y=S.length-1;y>=0;--y)if(void 0!==(v=A[b=S[y]])&&(C=v.executeHitDetection(f,h,n,g,p)))return C}},t.prototype.getClipCoords=function(t){var e=this.maxExtent_;if(!e)return null;var n=e[0],l=e[1],i=e[2],r=e[3],a=[n,l,n,r,i,r,i,l];return Object(o.c)(a,0,8,2,t,a),a},t.prototype.isEmpty=function(){return Object(a.d)(this.executorsByZIndex_)},t.prototype.execute=function(t,e,n,i,r,o){var a=Object.keys(this.executorsByZIndex_).map(Number);a.sort(l.g),this.maxExtent_&&(t.save(),this.clip(t,e));var u,c,d,h,p,f,b=r||S;for(u=0,c=a.length;u<c;++u){var m=a[u].toString();for(p=this.executorsByZIndex_[m],d=0,h=b.length;d<h;++d){var g=b[d];if(void 0!==(f=p[g]))if(!o||g!=s.a.IMAGE&&g!=s.a.TEXT)f.execute(t,e,n,i);else{var _=o[m];_?_.push(f,e.slice(0)):o[m]=[f,e.slice(0)]}}}this.maxExtent_&&t.restore()},t}(),M={0:[[!0]]};function O(t,e,n){var l,i=Math.floor(t.length/2);if(e>=i)for(l=i;l<e;l++)t[l][n]=!0;else if(e<i)for(l=e+1;l<i;l++)t[l][n]=!0}function D(t,e,n,i,r,o){for(var a=Object.keys(t).map(Number).sort(l.g),s=0,u=a.length;s<u;++s)for(var c=t[a[s].toString()],d=void 0,h=0,p=c.length;h<p;){var f=c[h++];f!==d&&(d=f,o.push({items:f.declutterItems,opacity:i}));var b=c[h++];f.execute(e,b,n,r)}}e.a=k},"6RrN":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7/LY");n("YGmB");class i{constructor(t,e,n){this.ref=t,this.selectAircraftService=e,this.trafficService=n,this.subscriptions=[],this.watchAircrafts=[],this.selectAircraft=null,this.highLightIcao=null}ngOnInit(){this.subscriptions.push(this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageWatchAircrafts(t)})),this.subscriptions.push(this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.orderedWatchAircrafts()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}orderedWatchAircrafts(){this.watchAircrafts.sort((t,e)=>e.latitude-t.latitude)}manageWatchAircrafts(t){if(t.haveStatus(l.a.SELECT)?this.selectAircraft=t.aircraft:this.selectAircraft&&this.selectAircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.SELECT)&&(this.selectAircraft=null),t.haveStatus(l.a.WATCH)){const e=this.watchAircrafts.findIndex(e=>e.icao===t.aircraft.icao);e>=0?this.watchAircrafts[e]=t.aircraft:(this.watchAircrafts.push(t.aircraft),this.orderedWatchAircrafts()),t.haveStatus(l.a.HOVER)?this.highLightIcao=t.aircraft.icao:t.haveStatus(l.a.HOVER)||t.aircraft.icao!==this.highLightIcao||(this.highLightIcao=void 0)}else this.watchAircrafts=this.watchAircrafts.filter(e=>e.icao!=t.aircraft.icao);this.ref.detectChanges()}mouseEnter(t){this.selectAircraftService.hoverAircraft([t])}mouseLeave(t){this.selectAircraftService.unhoverAircraft([t])}}},"6UMx":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return d})),n.d(e,"d",(function(){return h}));var l=n("8Y7J"),i=(n("Q+lL"),n("SVse"),n("IP0z"),n("Xd0L")),r=(n("cUpR"),n("/HVE")),o=(n("02hT"),n("omvX")),a=(n("MlvX"),n("s7LF"),l.Bb({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}}));function s(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var u=l.Bb({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function c(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(2,212992,null,0,i.x,[l.p,l.G,r.a,[2,i.m],[2,o.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),l.Ob(null,0),(t()(),l.Db(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),l.Ob(null,1),l.Ob(null,2)],(function(t,e){var n=e.component;t(e,2,0,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){t(e,1,0,l.Pb(e,2).unbounded)}))}},"6Y3p":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("XDhV");function i(t){return Array.isArray(t)?Object(l.c)(t):t}},"6g9s":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var l=['.ol-control i{cursor:default}.ol-control.ol-bar{left:50%;min-height:1em;min-width:1em;position:absolute;top:.5em;transform:translate(-50%,0);-webkit-transform:translate(-50%,0);white-space:nowrap}.ol-control.ol-toggle .ol-option-bar{display:none}.ol-control.ol-bar .ol-control{position:relative;top:auto;left:auto;right:auto;bottom:auto;display:inline-block;vertical-align:middle;background:0 0;padding:0;margin:0;transform:none;-webkit-transform:none}.ol-control.ol-bar .ol-bar{position:static}.ol-control.ol-bar .ol-control button{margin:2px 1px}.ol-control.ol-bar.ol-left{left:.5em;top:50%;transform:translate(0,-50%)}.ol-control.ol-bar.ol-left .ol-control{display:block}.ol-control.ol-bar.ol-right{left:auto;right:.5em;top:50%;transform:translate(0,-50%)}.ol-control.ol-bar.ol-right .ol-control{display:block}.ol-control.ol-bar.ol-bottom{top:auto;bottom:.5em}.ol-control.ol-bar.ol-top.ol-left,.ol-control.ol-bar.ol-top.ol-right{top:4.5em;transform:none}.ol-touch .ol-control.ol-bar.ol-top.ol-left,.ol-touch .ol-control.ol-bar.ol-top.ol-right{top:5.5em}.ol-control.ol-bar.ol-bottom.ol-left,.ol-control.ol-bar.ol-bottom.ol-right{top:auto;bottom:.5em;transform:none}.ol-control.ol-bar.ol-group{margin:1px 1px 1px 0}.ol-control.ol-bar.ol-left .ol-group,.ol-control.ol-bar.ol-right .ol-group{margin:1px 1px 0}.ol-control.ol-bar.ol-group button{border-radius:0;margin:0 0 0 1px}.ol-control.ol-bar.ol-left .ol-group button,.ol-control.ol-bar.ol-left.ol-group button,.ol-control.ol-bar.ol-right .ol-group button,.ol-control.ol-bar.ol-right.ol-group button{margin:0 0 1px}.ol-control.ol-bar.ol-group .ol-control:first-child>button{border-radius:5px 0 0 5px}.ol-control.ol-bar.ol-group .ol-control:last-child>button{border-radius:0 5px 5px 0}.ol-control.ol-bar.ol-left .ol-group .ol-control:first-child>button,.ol-control.ol-bar.ol-left.ol-group .ol-control:first-child>button,.ol-control.ol-bar.ol-right .ol-group .ol-control:first-child>button,.ol-control.ol-bar.ol-right.ol-group .ol-control:first-child>button{border-radius:5px 5px 0 0}.ol-control.ol-bar.ol-left .ol-group .ol-control:last-child>button,.ol-control.ol-bar.ol-left.ol-group .ol-control:last-child>button,.ol-control.ol-bar.ol-right .ol-group .ol-control:last-child>button,.ol-control.ol-bar.ol-right.ol-group .ol-control:last-child>button{border-radius:0 0 5px 5px}.ol-control.ol-bar .ol-rotate{opacity:1;visibility:visible}.ol-control.ol-bar .ol-rotate button{display:block}.ol-control.ol-bar .ol-toggle.ol-active button:hover,.ol-control.ol-bar .ol-toggle.ol-active>button{background:rgba(60,136,0,.7)}.ol-control.ol-toggle button:disabled{background:rgba(0,60,136,.3)}.ol-control.ol-bar .ol-control.ol-option-bar{display:none;position:absolute;top:100%;left:0;margin:5px 0;border-radius:0;background:rgba(255,255,255,.8);box-shadow:0 0 0 1px rgba(0,60,136,.5),1px 1px 2px rgba(0,0,0,.5)}.ol-control.ol-bar .ol-option-bar:before{content:"";border:.5em solid transparent;border-color:transparent transparent rgba(0,60,136,.5);position:absolute;bottom:100%;left:.3em}.ol-control.ol-bar .ol-option-bar .ol-control{display:table-cell}.ol-control.ol-bar .ol-control .ol-bar{display:none}.ol-control.ol-bar .ol-control.ol-active>.ol-option-bar{display:block}.ol-control.ol-bar .ol-control.ol-collapsed ul{display:none}.ol-control.ol-bar .ol-control.ol-text-button>div,.ol-control.ol-bar .ol-control.ol-text-button>div:hover{background:0 0;color:rgba(0,60,136,.5);width:auto;min-width:1.375em;margin:0}.ol-control.ol-bar .ol-control.ol-text-button{font-size:.9em;border-left:1px solid rgba(0,60,136,.8);border-radius:0}.ol-control.ol-bar .ol-control.ol-text-button:first-child{border-left:0}.ol-control.ol-bar .ol-control.ol-text-button>div{padding:.11em .3em;font-weight:400;font-size:1.14em;font-family:Arial,Helvetica,sans-serif}.ol-control.ol-bar .ol-control.ol-text-button div:hover{color:rgba(0,60,136,1)}.ol-control.ol-bar.ol-bottom .ol-option-bar{top:auto;bottom:100%}.ol-control.ol-bar.ol-bottom .ol-option-bar:before{border-color:rgba(0,60,136,.5) transparent transparent;bottom:auto;top:100%}.ol-control.ol-bar.ol-left .ol-option-bar{left:100%;top:0;bottom:auto;margin:0 5px}.ol-control.ol-bar.ol-left .ol-option-bar:before{border-color:transparent rgba(0,60,136,.5) transparent transparent;bottom:auto;right:100%;left:auto;top:.3em}.ol-control.ol-bar.ol-right .ol-option-bar{right:100%;left:auto;top:0;bottom:auto;margin:0 5px}.ol-control.ol-bar.ol-right .ol-option-bar:before{border-color:transparent transparent transparent rgba(0,60,136,.5);bottom:auto;left:100%;top:.3em}.ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar,.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar{top:100%;bottom:auto;left:.3em;right:auto;margin:5px 0}.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar{right:.3em;left:auto}.ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar:before,.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before{border-color:transparent transparent rgba(0,60,136,.5);bottom:100%;top:auto;left:.3em;right:auto}.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before{right:.3em;left:auto}.ol-control-title{position:absolute;top:0;left:0;right:0}.ol-center-position{position:absolute;bottom:0;left:50%;transform:translateX(-50%);background-color:rgba(255,255,255,.8);padding:.1em 1em}.ol-ext-dialog{position:fixed;top:-100%;left:0;width:150%;height:100%;opacity:0;background-color:rgba(0,0,0,.5);z-index:1000;pointer-events:none;transition:opacity .2s,top 0s .2s}.ol-ext-dialog.ol-visible{opacity:1;top:0;pointer-events:auto;transition:opacity .2s,top 0s}.ol-viewport .ol-ext-dialog{position:absolute}.ol-ext-dialog h2{margin:0 .5em .5em 0;display:none}.ol-ext-dialog>form.ol-title h2{display:block}.ol-ext-dialog>form{position:absolute;top:0;left:33.33%;min-width:5em;max-width:60%;min-height:3em;max-height:100%;background-color:#fff;border:1px solid #333;box-shadow:3px 3px 4px rgba(0,0,0,.5);transform:translate(-50%,-30%);transition:top .2s,transform .2s;padding:1em;box-sizing:border-box}.ol-ext-dialog>form.ol-closebox{padding-top:1.5em}.ol-ext-dialog>form.ol-title{padding-top:1em}.ol-ext-dialog>form.ol-button{padding-bottom:.5em}.ol-ext-dialog.ol-zoom>form{top:30%;transform:translate(-30%,-50%) scale(0)}.ol-ext-dialog.ol-visible>form{top:30%}.ol-ext-dialog.ol-zoom.ol-visible>form{transform:translate(-30%,-50%) scale(1)}.ol-ext-dialog>form .ol-content{overflow-x:hidden}.ol-ext-dialog>form .ol-closebox{position:absolute;top:.5em;right:.5em;width:1em;height:1em;cursor:pointer;display:none}.ol-ext-dialog>form.ol-closebox .ol-closebox{display:block}.ol-ext-dialog>form .ol-closebox:after,.ol-ext-dialog>form .ol-closebox:before{content:"";position:absolute;background-color:currentColor;top:50%;left:50%;width:1em;height:.1em;border-radius:.1em;transform:translate(-50%,-50%) rotate(45deg)}.ol-ext-dialog>form .ol-closebox:before{transform:translate(-50%,-50%) rotate(-45deg)}.ol-ext-dialog>form .ol-buttons{text-align:right}.ol-ext-dialog>form .ol-buttons input{margin-top:.5em;padding:.5em;background:0 0;border:0;font-size:1em;color:rgba(0,60,136,1);cursor:pointer}.ol-ext-dialog>form .ol-buttons input:hover{background-color:rgba(0,60,136,.1)}.ol-ext-dialog>form .ol-buttons input[type=submit]{font-weight:700}.ol-editbar .ol-button button{position:relative;display:inline-block;font-style:normal;box-sizing:border-box;vertical-align:middle}.ol-editbar .ol-button button:after,.ol-editbar .ol-button button:before{content:"";border-width:0;position:absolute;box-sizing:border-box;background-color:currentColor}.ol-editbar .ol-button button:focus{outline:0}.ol-editbar .ol-selection>button:before{width:.6em;height:1em;background-color:transparent;border:.5em solid currentColor;border-width:0 .25em .65em;border-color:currentColor transparent;box-shadow:0 .6em 0 -.23em;top:.35em;left:.5em;transform:translate(-50%,-50%) rotate(-30deg)}.ol-editbar .ol-selection0>button:after{width:.28em;height:.6em;background-color:transparent;border:.5em solid currentColor;border-width:0 .05em .7em;border-color:currentColor transparent;top:.5em;left:.7em;transform:rotate(-45deg)}.ol-editbar .ol-delete button:after,.ol-editbar .ol-delete button:before{width:1em;height:.2em;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg)}.ol-editbar .ol-delete button:after{transform:translate(-50%,-50%) rotate(-45deg)}.ol-editbar .ol-info button:before{width:.25em;height:.6em;border-radius:.03em;top:.47em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-info button:after{width:.25em;height:.2em;border-radius:.03em;box-shadow:-.1em .35em,-.1em .82em,.1em .82em;top:.12em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawpoint button:before{width:.7em;height:.7em;border-radius:50%;border:.15em solid currentColor;background-color:transparent;top:.2em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawpoint button:after{width:.4em;height:.4em;border:.15em solid currentColor;border-color:currentColor transparent;border-width:.4em .2em 0;background-color:transparent;top:.8em;left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawhole>button:before,.ol-editbar .ol-drawline>button:before,.ol-editbar .ol-drawpolygon>button:before{width:.8em;height:.8em;border:.13em solid currentColor;background-color:transparent;border-width:.2em .13em .09em;top:.2em;left:.25em;transform:rotate(10deg) perspective(1em) rotateX(40deg)}.ol-editbar .ol-drawline>button:before{border-bottom:0}.ol-editbar .ol-drawhole>button:after,.ol-editbar .ol-drawline>button:after,.ol-editbar .ol-drawpolygon>button:after{width:.3em;height:.3em;top:.2em;left:.25em;box-shadow:-.2em .55em,.6em .1em,.65em .7em}.ol-editbar .ol-drawhole>button:after{box-shadow:-.2em .55em,.6em .1em,.65em .7em,.25em .35em}.ol-editbar .ol-offset>button i,.ol-editbar .ol-transform>button i{position:absolute;width:.9em;height:.9em;overflow:hidden;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-editbar .ol-offset>button i{width:.8em;height:.8em}.ol-editbar .ol-offset>button i:before,.ol-editbar .ol-transform>button i:after,.ol-editbar .ol-transform>button i:before{content:"";height:1em;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg);box-shadow:.5em 0 0 .1em,-.5em 0 0 .1em;width:.1em;position:absolute;background-color:currentColor}.ol-editbar .ol-offset>button i:before{box-shadow:.45em 0 0 .1em,-.45em 0 0 .1em}.ol-editbar .ol-transform>button i:after{transform:translate(-50%,-50%) rotate(-45deg)}.ol-editbar .ol-split>button:before{width:.3em;height:.3em;top:.81em;left:.75em;border-radius:50%;box-shadow:.1em -.4em,-.15em -.25em}.ol-editbar .ol-split>button:after{width:.8em;height:.8em;top:.15em;left:-.1em;border:.1em solid currentColor;border-width:0 .2em .2em 0;background-color:transparent;border-radius:.1em;transform:rotate(20deg) scaleY(.6) rotate(-45deg)}.ol-editbar .ol-drawregular>button:before{width:.9em;height:.9em;top:50%;left:50%;border:.1em solid currentColor;background-color:transparent;transform:translate(-50%,-50%)}.ol-editbar .ol-drawregular .ol-bar .ol-text-button>div>div>div{border:.5em solid currentColor;border-color:transparent currentColor;display:inline-block;cursor:pointer;vertical-align:text-bottom}.ol-control.ol-bar.ol-editbar .ol-drawregular .ol-bar,.ol-editbar .ol-drawregular .ol-bar:before{left:50%;transform:translateX(-50%)}.ol-editbar .ol-drawregular .ol-bar .ol-text-button{min-width:6em;text-align:center}.ol-editbar .ol-drawregular .ol-bar .ol-text-button>div>div>div:first-child{border-width:.5em .5em .5em 0;margin:0 .5em 0 0}.ol-editbar .ol-drawregular .ol-bar .ol-text-button>div>div>div:last-child{border-width:.5em 0 .5em .5em;margin:0 0 0 .5em}.ol-gauge{top:.5em;left:50%;transform:translateX(-50%)}.ol-gauge>*{display:inline-block;vertical-align:middle}.ol-gauge>span{margin:0 .5em}.ol-gauge>div{display:inline-block;width:200px;border:1px solid rgba(0,60,136,.5);border-radius:3px;padding:1px}.ol-gauge button{height:.8em;margin:0;max-width:100%}.ol-control.ol-bookmark{top:.5em;left:3em}.ol-control.ol-bookmark button{position:relative}.ol-control.ol-bookmark>button::before{content:"";position:absolute;border-width:10px 5px 4px;border-style:solid;border-color:#fff #fff transparent;top:50%;left:50%;transform:translate(-50%,-50%);height:0}.ol-control.ol-bookmark>div{display:none;min-width:5em}.ol-control.ol-bookmark input{font-size:.9em;margin:.1em 0;padding:0 .5em}.ol-control.ol-bookmark ul{margin:0;padding:0;list-style:none;min-width:10em}.ol-control.ol-bookmark li{color:rgba(0,60,136,.8);font-size:.9em;padding:0 .2em 0 .5em;cursor:default;clear:both}.ol-control.ol-bookmark li:hover{background-color:rgba(0,60,136,.5);color:#fff}.ol-control.ol-bookmark>div button{width:1em;height:.8em;float:right;background-color:transparent;cursor:pointer;border-radius:0}.ol-control.ol-bookmark>div button:before{content:"\\2A2F";color:#936;font-size:1.2em;line-height:1em;border-radius:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-bookmark input,.ol-bookmark ul li button{display:none}.ol-bookmark.ol-editable input,.ol-bookmark.ol-editable ul li button{display:block}.ol-control.ol-bar.ol-geobar .ol-control{display:inline-block;vertical-align:middle}.ol-control.ol-bar.ol-geobar .ol-bar{display:none}.ol-bar.ol-geobar.ol-active .ol-bar{display:inline-block}.ol-bar.ol-geobar .geolocBt button:after,.ol-bar.ol-geobar .geolocBt button:before{content:"";display:block;position:absolute;border:1px solid transparent;border-width:.3em .8em 0 .2em;border-color:#fff transparent transparent;transform:rotate(-30deg);top:.45em;left:.15em;font-size:1.2em}.ol-bar.ol-geobar .geolocBt button:after{border-width:0 .8em .3em .2em;border-color:transparent transparent #fff;transform:rotate(-61deg)}.ol-bar.ol-geobar .startBt button:before{content:"";display:block;position:absolute;width:1em;height:1em;background-color:#800;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-bar.ol-geobar .pauseBt button:after,.ol-bar.ol-geobar .pauseBt button:before{content:"";display:block;position:absolute;width:.25em;height:1em;background-color:#fff;top:50%;left:35%;transform:translate(-50%,-50%)}.ol-bar.ol-geobar .pauseBt button:after{left:65%}.ol-bar.ol-geobar.centerTrack .pauseBt,.ol-bar.ol-geobar.centerTrack .startBt,.ol-bar.ol-geobar.centerTrack.pauseTrack .pauseBt,.ol-bar.ol-geobar.pauseTrack .startBt,.ol-control.ol-bar.ol-geobar .centerBt,.ol-control.ol-bar.ol-geobar .pauseBt{display:none}.ol-bar.ol-geobar.centerTrack .centerBt,.ol-bar.ol-geobar.pauseTrack .pauseBt{display:inline-block}.ol-control.ol-globe{position:absolute;left:.5em;bottom:.5em;border-radius:50%;opacity:.7;transform:scale(.5);transform-origin:0 100%;-webkit-transform:scale(.5);-webkit-transform-origin:0 100%}.ol-control.ol-globe:hover{opacity:.9}.ol-control.ol-globe .panel{display:block;width:170px;height:170px;background-color:#fff;cursor:pointer;border-radius:50%;overflow:hidden;box-shadow:0 0 10px 5px rgba(255,255,255,.5)}.ol-control.ol-globe .panel .ol-viewport{border-radius:50%}.ol-control.ol-globe .ol-pointer{display:block;background-color:#fff;width:10px;height:10px;border:10px solid red;position:absolute;top:50%;left:50%;transform:translate(-15px,-40px);-webkit-transform:translate(-15px,-40px);border-radius:50%;z-index:1;transition:opacity .15s,top 0s,left 0s;-webkit-transition:opacity .15s,top,left}.ol-control.ol-globe .ol-pointer.hidden{opacity:0;transition:opacity .15s,top 3s,left 5s;-webkit-transition:opacity .15s,top 3s,left 5s}.ol-control.ol-globe .ol-pointer::before{border-radius:50%;box-shadow:6px 6px 10px 5px #000;content:"";display:block;height:0;left:0;position:absolute;top:23px;width:0}.ol-control.ol-globe .ol-pointer::after{content:"";width:0;height:0;display:block;position:absolute;border-width:20px 10px 0;border-color:red transparent;border-style:solid;left:-50%;top:100%}.ol-control.ol-globe .panel::before{border-radius:50%;box-shadow:-20px -20px 80px 2px rgba(0,0,0,.7) inset;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ol-control.ol-globe .panel::after{border-radius:50%;box-shadow:0 0 20px 7px rgba(255,255,255,1);content:"";display:block;height:0;left:23%;position:absolute;top:20%;transform:rotate(-40deg);width:20%;z-index:1}.ol-control.ol-globe.ol-collapsed .panel{display:none}.ol-control-top.ol-globe{bottom:auto;top:5em;transform-origin:0 0;-webkit-transform-origin:0 0}.ol-control-right.ol-globe{left:auto;right:.5em;transform-origin:100% 100%;-webkit-transform-origin:100% 100%}.ol-control-right.ol-control-top.ol-globe{left:auto;right:.5em;transform-origin:100% 0;-webkit-transform-origin:100% 0}.ol-gridreference{background:#fff;border:1px solid #000;overflow:auto;max-height:100%;top:0;right:0}.ol-gridreference input{width:100%}.ol-gridreference ul{margin:0;padding:0;list-style:none}.ol-gridreference li{padding:0 .5em;cursor:pointer}.ol-gridreference ul li:hover{background-color:#ccc}.ol-gridreference li.ol-title,.ol-gridreference li.ol-title:hover{background:rgba(0,60,136,.5);color:#fff;cursor:default}.ol-gridreference ul li .ol-ref{margin-left:.5em}.ol-gridreference ul li .ol-ref:before{content:"("}.ol-gridreference ul li .ol-ref:after{content:")"}.ol-control.ol-imageline{bottom:0;left:0;right:0;padding:0;overflow:visible;transition:.3s}.ol-control.ol-imageline.ol-collapsed{transform:translateY(100%)}.ol-imageline>div{height:4em;position:relative;white-space:nowrap;scroll-behavior:smooth;overflow:hidden;width:100%}.ol-imageline.ol-touch>div{overflow-x:auto}.ol-imageline>div.ol-move{scroll-behavior:unset}.ol-control.ol-imageline button{position:absolute;top:-1em;transform:translateY(-100%);margin:.65em;box-shadow:0 0 0 .15em rgba(255,255,255,.4)}.ol-control.ol-imageline button:before{content:\'\';position:absolute;transform:translate(-50%,-50%) rotate(135deg);top:40%;left:50%;width:.4em;height:.4em;border:.1em solid currentColor;border-width:.15em .15em 0 0}.ol-control.ol-imageline.ol-collapsed button:before{top:60%;transform:translate(-50%,-50%) rotate(-45deg)}.ol-imageline,.ol-imageline:hover{background-color:rgba(0,0,0,.75)}.ol-imageline.ol-arrow:after,.ol-imageline.ol-arrow:before{content:"";position:absolute;top:50%;left:.2em;border-color:#fff #000;border-width:1em .6em 1em 0;border-style:solid;transform:translateY(-50%);z-index:1;opacity:.8;pointer-events:none;box-shadow:-.6em 0 0 1em #fff}.ol-imageline.ol-arrow:after{border-width:1em 0 1em .6em;left:auto;right:.2em;box-shadow:.6em 0 0 1em #fff}.ol-imageline .ol-image{position:relative;height:100%;display:inline-block;cursor:pointer}.ol-imageline img{max-height:100%;border:.25em solid transparent;box-sizing:border-box;opacity:0;transition:1s}.ol-imageline img.ol-loaded{opacity:1}.ol-imageline .ol-image.select{background-color:#fff}.ol-imageline .ol-image span{position:absolute;width:125%;max-height:2.4em;left:50%;bottom:0;display:none;color:#fff;background-color:rgba(0,0,0,.5);font-size:.8em;overflow:hidden;white-space:normal;text-align:center;line-height:1.2em;transform:translateX(-50%) scaleX(.8)}.ol-imageline .ol-image:hover span{display:block}.ol-control.ol-routing.ol-isochrone .ol-method-distance,.ol-control.ol-routing.ol-isochrone .ol-method-time,.ol-control.ol-routing.ol-isochrone>button{position:relative}.ol-control.ol-routing.ol-isochrone .ol-method-time:before,.ol-control.ol-routing.ol-isochrone>button:before{content:\'\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:.1em solid currentColor;width:.8em;height:.8em;border-radius:50%;box-shadow:0 -.5em 0 -.35em,.4em -.35em 0 -.35em;clip:unset}.ol-control.ol-routing.ol-isochrone .ol-method-time:after,.ol-control.ol-routing.ol-isochrone>button:after{content:\'\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-60deg);border-radius:50%;border:.3em solid transparent;border-right-color:currentColor;box-shadow:none;box-sizing:border-box;clip:unset}.ol-control.ol-routing.ol-isochrone .ol-method-distance:before{content:\'\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-30deg);width:1em;height:.5em;border:.1em solid currentColor;box-sizing:border-box}.ol-control.ol-routing.ol-isochrone .ol-method-distance:after{content:\'\';position:absolute;width:.1em;height:.15em;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-30deg);box-shadow:inset 0 -.15em,0 .1em,.25em .1em,-.25em .1em}.ol-control.ol-routing.ol-isochrone .ol-direction-direct:before,.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:before{content:\'\';position:absolute;top:50%;left:30%;transform:translate(-50%,-50%);width:.3em;height:.3em;border-radius:50%;border:.1em solid currentColor;box-sizing:border-box;box-shadow:.25em 0 0 -.05em}.ol-control.ol-routing.ol-isochrone .ol-direction-direct:after,.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after{content:\'\';position:absolute;top:50%;left:70%;transform:translate(-50%,-50%);border:.4em solid transparent;border-width:.4em 0 .4em .4em;border-color:transparent currentColor}.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after{border-width:.4em .4em .4em 0}.ol-control.ol-isochrone.ol-collapsed .content{display:none}.ol-control.ol-isochrone input[type=number]{width:3em;text-align:right;margin:0 .1em}.ol-control.ol-isochrone .ol-distance input[type=number]{width:5em}.ol-isochrone .ol-distance,.ol-isochrone .ol-time{display:none}.ol-isochrone .ol-distance.selected,.ol-isochrone .ol-time.selected{display:block}.ol-control.ol-layerswitcher-popup{position:absolute;right:.5em;text-align:left;top:3em}.ol-control.ol-layerswitcher-popup .panel{clear:both;background:#fff}.ol-layerswitcher-popup .panel{list-style:none;padding:.25em;margin:0;overflow:hidden}.ol-layerswitcher-popup .panel ul{list-style:none;padding:0 0 0 20px;overflow:hidden}.ol-layerswitcher-popup.ol-collapsed .panel{display:none}.ol-layerswitcher-popup.ol-forceopen .panel{display:block}.ol-layerswitcher-popup button{background-color:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==);background-position:center;background-repeat:no-repeat;float:right;height:38px;width:38px}.ol-layerswitcher-popup li{color:#369;padding:.25em 1em;font-family:"Trebuchet MS",Helvetica,sans-serif;cursor:pointer}.ol-layerswitcher-popup li.ol-header{display:none}.ol-layerswitcher-popup li.select{background:rgba(0,60,136,.7);color:#fff}.ol-layerswitcher-popup li:hover{background:rgba(0,60,136,.9);color:#fff}.ol-control.ol-layerswitcher{position:absolute;right:.5em;text-align:left;top:3em;max-height:calc(100% - 6em);box-sizing:border-box;overflow:hidden}.ol-control.ol-layerswitcher .ol-switcherbottomdiv,.ol-control.ol-layerswitcher .ol-switchertopdiv{display:block;position:absolute;top:0;left:0;right:0;height:45px;background:#fff;z-index:2;opacity:1;cursor:pointer;border-top:2px solid transparent;border-bottom:2px solid #369;margin:0 2px;box-sizing:border-box}.ol-control.ol-layerswitcher.ol-collapsed .ol-switcherbottomdiv,.ol-control.ol-layerswitcher.ol-collapsed .ol-switchertopdiv{display:none}.ol-layerswitcher.ol-forceopen.ol-collapsed .ol-switcherbottomdiv,.ol-layerswitcher.ol-forceopen.ol-collapsed .ol-switchertopdiv{display:block}.ol-control.ol-layerswitcher .ol-switcherbottomdiv{top:auto;bottom:0;height:2em;border-top:2px solid #369;border-bottom:2px solid transparent}.ol-control.ol-layerswitcher .ol-switcherbottomdiv:before,.ol-control.ol-layerswitcher .ol-switchertopdiv:before{content:"";position:absolute;left:50%;top:50%;border:10px solid transparent;width:0;height:0;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);opacity:.8}.ol-control.ol-layerswitcher .ol-switcherbottomdiv:hover:before,.ol-control.ol-layerswitcher .ol-switchertopdiv:hover:before{opacity:1}.ol-control.ol-layerswitcher .ol-switchertopdiv:before{border-bottom-color:#369;border-top:0}.ol-control.ol-layerswitcher .ol-switcherbottomdiv:before{border-top-color:#369;border-bottom:0}.ol-control.ol-layerswitcher .panel{background-color:#fff;border-radius:0 0 2px 2px;clear:both;display:block}.ol-layerswitcher .panel{list-style:none;padding:.5em .5em 0;margin:0;overflow:hidden;font-family:Tahoma,Geneva,sans-serif;font-size:.9em;transition:top .3s;position:relative;top:0}.ol-layerswitcher .panel ul{list-style:none;padding:0 0 0 20px;overflow:hidden;clear:both}.ol-layerswitcher input[type=checkbox],.ol-layerswitcher input[type=radio]{display:none}.ol-layerswitcher .panel li{-weblit-transition:-webkit-transform .2s linear;transition:transform .2s linear;clear:both;display:block;border:1px solid transparent;box-sizing:border-box}.ol-layerswitcher .panel li.drag{opacity:.5;transform:scale(.8);-webkit-transform:scale(.8)}.ol-dragover{background:rgba(51,102,153,.5);opacity:.8}.forbidden .layerswitcher-opacity div,.forbidden .ol-layerswitcher-buttons div,.ol-layerswitcher .panel li.forbidden{background:rgba(255,0,0,.5);color:red!important}.ol-layerswitcher.drag,.ol-layerswitcher.drag *{cursor:no-drop!important}.ol-layerswitcher.drag .panel li.dropover,.ol-layerswitcher.drag .panel li.dropover *{cursor:n-resize!important;cursor:ns-resize!important;cursor:-webkit-grab!important;cursor:grab!important;cursor:-webkit-grabbing!important;cursor:grabbing!important}.ol-layerswitcher .panel li.dropover{background:rgba(51,102,153,.5)}.ol-layerswitcher .panel li label{display:inline-block;height:1.4em;max-width:12em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 .2em 0 1.7em;position:relative}.ol-layerswitcher [type=checkbox]+label:before,.ol-layerswitcher [type=checkbox]:checked+label:after,.ol-layerswitcher [type=radio]+label:before,.ol-layerswitcher [type=radio]:checked+label:after{content:\'\';position:absolute;left:.1em;top:.1em;width:1.2em;height:1.2em;border:2px solid #369;background:#fff;box-sizing:border-box}.ol-layerswitcher [type=radio]+label:after,.ol-layerswitcher [type=radio]+label:before{border-radius:50%}.ol-layerswitcher [type=radio]:checked+label:after{background:#369;margin:.3em;width:.6em;height:.6em}.ol-layerswitcher [type=checkbox]:checked+label:after{background:0 0;border-width:0 3px 3px 0;border-style:solid;border-color:#369;width:.7em;height:1em;transform:rotate(45deg);left:.55em;top:-.05em;box-shadow:1px 0 1px 1px #fff}.ol-layerswitcher .panel li.ol-layer-hidden{opacity:.6}.ol-layerswitcher.ol-collapsed .panel{display:none}.ol-layerswitcher.ol-forceopen .panel{display:block}.ol-layerswitcher>button{background-color:#fff;float:right;z-index:10;position:relative;font-size:1.7em}.ol-touch .ol-layerswitcher>button{font-size:2.5em}.ol-layerswitcher>button:after,.ol-layerswitcher>button:before{content:"";position:absolute;width:.75em;height:.75em;border-radius:.15em;transform:scaleY(.8) rotate(45deg)}.ol-layerswitcher>button:before{background:#e2e4e1;top:.32em;left:.34em;box-shadow:.1em .1em #325158}.ol-layerswitcher>button:after{top:.22em;left:.34em;background:#83bcc5;background-image:radial-gradient(circle at .85em .6em,#70b3be 0,#70b3be .65em,#83bcc5 .65em)}.ol-layerswitcher-buttons{display:block;float:right;text-align:right}.ol-layerswitcher-buttons>div{display:inline-block;position:relative;cursor:pointer;height:1em;width:1em;margin:2px;line-height:1em;text-align:center;background:#369;vertical-align:middle;color:#fff}.ol-layerswitcher .panel li>div{display:inline-block;position:relative}.ol-layerswitcher .ol-separator{display:block;width:0;height:0;padding:0;margin:0}.ol-layerswitcher .layerup{float:right;height:2.5em;background-color:#369;opacity:.5;cursor:move;cursor:ns-resize}.ol-layerswitcher .layerup:after,.ol-layerswitcher .layerup:before{border-color:#fff transparent;border-style:solid;border-width:.4em .4em 0;content:"";height:0;position:absolute;bottom:3px;left:.1em;width:0}.ol-layerswitcher .layerup:after{border-width:0 .4em .4em;top:3px;bottom:auto}.ol-layerswitcher .layerInfo{background:#369;border-radius:100%}.ol-layerswitcher .layerInfo:before{color:#fff;content:"i";display:block;font-size:.8em;font-weight:700;text-align:center;width:1.25em;position:absolute;left:0;top:0}.ol-layerswitcher .layerTrash{background:#369}.ol-layerswitcher .layerTrash:before{color:#fff;content:"\\00d7";font-size:1em;top:50%;left:0;right:0;text-align:center;line-height:1em;margin:-.5em 0;position:absolute}.ol-layerswitcher .layerExtent{background:#369}.ol-layerswitcher .layerExtent:before{border-right:1px solid #fff;border-bottom:1px solid #fff;content:"";display:block;position:absolute;left:6px;right:2px;top:6px;bottom:3px}.ol-layerswitcher .layerExtent:after{border-left:1px solid #fff;border-top:1px solid #fff;content:"";display:block;position:absolute;bottom:6px;left:2px;right:6px;top:3px}.ol-layerswitcher .collapse-layers,.ol-layerswitcher .expend-layers{margin:0 2px;background-color:transparent}.ol-layerswitcher .collapse-layers:before,.ol-layerswitcher .expend-layers:before{content:"";position:absolute;top:50%;left:0;margin-top:-2px;height:4px;width:100%;background:#369}.ol-layerswitcher .expend-layers:after{content:"";position:absolute;left:50%;top:0;margin-left:-2px;width:4px;height:100%;background:#369}.ol-layerswitcher .layerswitcher-opacity{position:relative;border:1px solid #369;height:3px;width:120px;margin:5px 1em 10px 7px;box-sizing:border-box;border-radius:3px;background:#69c;background:linear-gradient(to right,rgba(0,60,136,0),rgba(0,60,136,.6));cursor:pointer;box-shadow:1px 1px 1px rgba(0,0,0,.5)}.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor,.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before{position:absolute;width:20px;height:20px;top:50%;left:50%;background:rgba(0,60,136,.5);border-radius:50%;transform:translate(-50%,-50%);z-index:1}.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before{content:"";position:absolute;width:50%;height:50%}.ol-touch .ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor{width:26px;height:26px}.ol-layerswitcher .layerswitcher-opacity-label{display:none;position:absolute;right:-2.5em;bottom:5px;font-size:.8em}.ol-layerswitcher .layerswitcher-opacity-label::after{content:"%"}.ol-layerswitcher .layerswitcher-progress{display:block;margin:-4px 1em 2px 7px;width:120px}.ol-layerswitcher .layerswitcher-progress div{background-color:#369;height:2px;display:block;width:0}.ol-control.ol-layerswitcher-image{position:absolute;right:.5em;text-align:left;top:1em;transition:all .2s ease 0s;-webkit-transition:.2s}.ol-control.ol-layerswitcher-image.ol-collapsed{top:3em;transition:none;-webkit-transition:none}.ol-layerswitcher-image .panel{list-style:none;padding:.25em;margin:0;overflow:hidden}.ol-layerswitcher-image .panel ul{list-style:none;padding:0 0 0 20px;overflow:hidden}.ol-layerswitcher-image.ol-collapsed .panel{display:none}.ol-layerswitcher-image.ol-forceopen .panel{display:block;clear:both}.ol-layerswitcher-image button{background-color:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==);background-position:center;background-repeat:no-repeat;float:right;height:38px;width:38px;display:none}.ol-layerswitcher-image.ol-collapsed button{display:block;position:relative}.ol-layerswitcher-image li{border-radius:4px;border:3px solid transparent;box-shadow:1px 1px 4px rgba(0,0,0,.5);display:inline-block;width:64px;height:64px;margin:2px;position:relative;background-color:#fff;overflow:hidden;vertical-align:middle;cursor:pointer}.ol-layerswitcher-image li.ol-layer-hidden{opacity:.5;border-color:#555}.ol-layerswitcher-image li.ol-header{display:none}.ol-layerswitcher-image li img{position:absolute;max-width:100%}.ol-layerswitcher-image li.select{border:3px solid red}.ol-layerswitcher-image li p{display:none}.ol-layerswitcher-image li:hover p{background-color:rgba(0,0,0,.5);color:#fff;bottom:0;display:block;left:0;margin:0;overflow:hidden;position:absolute;right:0;text-align:center;height:1.2em;font-family:Verdana,Geneva,sans-serif;font-size:.8em}.ol-control.ol-legend{bottom:.5em;left:.5em;z-index:1;max-height:90%;max-width:90%;overflow-x:hidden;overflow-y:auto}.ol-control.ol-legend button{position:relative;display:none}.ol-control.ol-legend.ol-collapsed button{display:block}.ol-control.ol-legend.ol-uncollapsible button{display:none}.ol-control.ol-legend button.ol-closebox{display:block;position:absolute;top:0;right:0;background:0 0;cursor:pointer;z-index:1}.ol-control.ol-legend.ol-collapsed button.ol-closebox,.ol-control.ol-legend.ol-uncollapsible button.ol-closebox{display:none}.ol-control.ol-legend button.ol-closebox:before{content:"\\D7";background:0 0;color:rgba(0,60,136,.5);font-size:1.3em}.ol-control.ol-legend button.ol-closebox:hover:before{color:rgba(0,60,136,1)}.ol-control.ol-legend .ol-legendImg,.ol-control.ol-legend.ol-uncollapsible .ol-legendImg{position:absolute;z-index:-1}.ol-control.ol-legend.ol-collapsed .ol-legendImg{display:none}.ol-control.ol-legend.ol-uncollapsible .ol-legendImg{display:block}.ol-control.ol-legend .ol-legendImg canvas{height:100%}.ol-control.ol-legend>button:first-child:after,.ol-control.ol-legend>button:first-child:before{content:"";position:absolute;top:.25em;left:.2em;width:.2em;height:.2em;background-color:currentColor;box-shadow:0 .35em,0 .7em}.ol-control.ol-legend button:first-child:after{top:.27em;left:.55em;height:.15em;width:.6em}.ol-legend ul{min-width:1.5em;min-height:1.5em;margin:0 0 2px;padding:0;list-style:none;display:inline-block}.ol-control.ol-legend.ol-collapsed ul{display:none}.ol-control.ol-legend.ol-uncollapsible ul{display:block}.ol-legend ul li.ol-title{text-align:center;font-weight:700}.ol-legend ul li{overflow:hidden;padding:0 .5em}.ol-legend ul li div{display:inline-block;vertical-align:middle}.ol-control.ol-legend .ol-legend{display:inline-block}.ol-control.ol-legend.ol-collapsed .ol-legend{display:none}.ol-control.ol-mapzone{position:absolute;right:.5em;text-align:left;top:.5em;max-height:calc(100% - 6em);box-sizing:border-box;overflow:hidden}.ol-control.ol-mapzone.ol-collapsed{top:3em}.ol-control.ol-mapzone button{position:relative;float:right;margin-top:2.2em}.ol-touch .ol-control.ol-mapzone button{margin-top:1.67em}.ol-control.ol-mapzone.ol-collapsed button{margin-top:0}.ol-control.ol-mapzone button i{border:.1em solid currentColor;border-radius:50%;width:.9em;height:.9em;overflow:hidden;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-control.ol-mapzone button i:before{content:"";background-color:currentColor;width:.4em;height:.4em;position:absolute;left:.5em;top:.3em;border-radius:50%;box-shadow:.05em .3em 0 -.051em currentColor,-.05em -.35em 0 -.1em currentColor,-.5em -.35em 0 0 currentColor,-.65em .1em 0 -.03em currentColor,-.65em -.05em 0 -.05em currentColor}.ol-mapzone>div{position:relative;display:inline-block;width:5em;height:5em;margin:0 .2em 0 0}.ol-control.ol-mapzone.ol-collapsed>div{display:none}.ol-mapzone>div p{margin:0;position:absolute;bottom:0;color:#fff;font-weight:700;text-align:center;width:160%;overflow:hidden;font-family:\'Lucida Grande\',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;transform:scaleX(.625);transform-origin:0 0;cursor:default}.ol-notification{width:150%;bottom:0;border:0;background:0 0;margin:0;padding:0}.ol-notification>div,.ol-notification>div:hover{position:absolute;background-color:rgba(0,0,0,.8);color:#fff;bottom:0;left:33.33%;max-width:calc(66% - 4em);min-width:5em;max-height:5em;min-height:1em;border-radius:4px 4px 0 0;padding:.2em .5em;text-align:center;box-sizing:border-box;transform:translateX(-50%);transition:.3s;opacity:1}.ol-notification.ol-collapsed>div{bottom:-5em;opacity:0}.ol-notification a{color:#9cf;cursor:pointer}.ol-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.4);padding:1em;color:#fff;box-sizing:border-box;z-index:1;opacity:0;display:none;cursor:default;overflow:hidden;transition:all .5s;pointer-events:none}.ol-overlay.slide-up{transform:translateY(100%);-webkit-transform:translateY(100%)}.ol-overlay.slide-down{transform:translateY(-100%)}.ol-overlay.slide-left{transform:translateX(-100%)}.ol-overlay.slide-right{transform:translateX(100%)}.ol-overlay.zoom{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scale(0)}.ol-overlay.zoomout{transform:scale(3)}.ol-overlay.zoomrotate{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scale(0) rotate(360deg)}.ol-overlay.stretch{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scaleX(0)}.ol-overlay.stretchy{top:50%;left:50%;opacity:.5;transform:translate(-50%,-50%) scaleY(0)}.ol-overlay.wipe{opacity:1}.ol-overlay.flip{transform:perspective(600px) rotateY(180deg)}.ol-overlay.card{opacity:.5;transform:translate(-80%,100%) rotate(-.5turn)}.ol-overlay.book{transform:perspective(600px) rotateY(-180deg) scaleX(.6);transform-origin:10% 50%}.ol-overlay.book.visible{transform-origin:10% 50%}.ol-overlay.ol-visible{opacity:1;top:0;left:0;right:0;bottom:0;transform:none;pointer-events:all}.ol-overlay .ol-closebox{position:absolute;top:1em;right:1em;width:1em;height:1em;cursor:pointer;z-index:1}.ol-overlay .ol-closebox:before{content:"\\274c";display:block;text-align:center;vertical-align:middle}.ol-overlay .ol-fullscreen-image{position:absolute;top:0;left:0;bottom:0;right:0}.ol-overlay .ol-fullscreen-image img{position:absolute;max-width:100%;max-height:100%;box-sizing:border-box;padding:1em;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-overlay .ol-fullscreen-image.ol-has-title img{padding-bottom:3em}.ol-overlay .ol-fullscreen-image p{background-color:rgba(0,0,0,.5);padding:.5em;position:absolute;left:0;right:0;bottom:0;margin:0;text-align:center}.ol-control.ol-overview{position:absolute;left:.5em;text-align:left;bottom:.5em}.ol-control.ol-overview .panel{display:block;width:150px;height:150px;margin:2px;background-color:#fff;border:1px solid #369;cursor:pointer}.ol-overview:not(.ol-collapsed) button{position:absolute;bottom:2px;left:2px;z-index:2}.ol-control.ol-overview.ol-collapsed .panel{display:none}.ol-overview.ol-collapsed button:before{content:\'\\00bb\'}.ol-overview button:before{content:\'\\00ab\'}.ol-control-right.ol-overview{left:auto;right:.5em}.ol-control-right.ol-overview:not(.ol-collapsed) button{left:auto;right:2px}.ol-control-right.ol-overview.ol-collapsed button:before{content:\'\\00ab\'}.ol-control-right.ol-overview button:before{content:\'\\00bb\'}.ol-control-top.ol-overview{bottom:auto;top:5em}.ol-control-top.ol-overview:not(.ol-collapsed) button{bottom:auto;top:2px}.ol-permalink{position:absolute;top:.5em;right:2.5em}.ol-touch .ol-permalink{right:3em}.ol-permalink button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcFBjYE1ZK03gAAAUlJREFUOMuVk71KA1EQhc/NaiP+gCRpFHwGBSFlCrFVfAsbwSJCBMv06QIGJOBziI3EYAgkjU8gIloIAasIn4WzMqx34zrN7J6de+6ZmbNSgQDSfADcATPgHbgCyvonSYv8KEzWdofegH3gwmG9Ikq67sAESFzNueHThTyiEIKAmr2OJCUhhO30Aou+5aUQU2Ik65K2JC1KegohPGfUBkmvksqShnntHEcGOs60NXHfjmKz6czZTsNqbhzW+muwY2ATWAWawCOwBgxcTfvnvCPxKx4Cy5bPgBWgauRpdL2ImNlGhp3MabETm8mh94nDk4yCNE5/KTGg7xxbyhYAG0AN2AEqURIDZ0a0Fxn+LXAPXDpzRqMk6cOedz1ubdYl1b6NHgZRJe72nuu/CdSBl+yKi/zZlTnbaeXOJIesClwDU+ATeEhtX5TkCwAWUyAsHH1QAAAAAElFTkSuQmCC);background-position:center;background-repeat:no-repeat}.ol-control.ol-print{top:.5em;left:3em}.ol-control.ol-print button:before{content:"";width:.9em;height:.35em;position:absolute;left:50%;top:50%;transform:translateX(-50%);box-shadow:inset 0 0 0 .1em,inset .55em 0,0 .2em 0 -.1em}.ol-control.ol-print button:after{content:"";width:.7em;height:.6em;position:absolute;left:50%;top:25%;transform:translateX(-50%);box-shadow:inset 0 0 0 .15em}.ol-control.ol-profil{position:absolute;top:.5em;right:3em;text-align:right;overflow:hidden}.ol-profil .ol-inner{position:relative;padding:.5em;font-size:.8em}.ol-control.ol-profil .ol-inner{display:block;background-color:rgba(255,255,255,.7);margin:2.3em 2px 2px}.ol-control.ol-profil.ol-collapsed .ol-inner{display:none}.ol-profil canvas{display:block}.ol-profil button{display:block;position:absolute;right:2px;background-position:center;background-repeat:no-repeat;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAPCAYAAAALWoRrAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AgXCR4dn7j9TAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAz0lEQVQ4y7WTMU4CURRFz0xIpLUBEhdAY2tJYW1jaWlsXYVxDWyBhWCFCYugYgnDFPMOhTMJGf3AwHiqn/uTk5v/3gfAH6b0RH7sMiIe1Ts162z+q2lVVbd1XqijLuJk0zzP1/VxCGyApLgsy+HJphGx8DeFOm6L1bn6eVQaEW+m2amTRqx+1fkqKY2Ie0+zUx/U7WGYfNMsy57PmMMN8A1MWsWeUoPyivV8PWtPOzL7D+lYHfUtBXgHGLTCJfBxodD6k9Dsm8BLE17LobQ39nJC61aLVoVsAAAAAElFTkSuQmCC)}.ol-profil.ol-collapsed button{position:static}.ol-profil .ol-profilbar,.ol-profil .ol-profilcursor{position:absolute;pointer-events:none;width:1px;display:none}.ol-profil .ol-profilcursor{width:0;height:0}.ol-profil .ol-profilcursor:before{content:"";pointer-events:none;display:block;margin:-2px;width:5px;height:5px}.ol-profil .ol-profilbar,.ol-profil .ol-profilcursor:before{background:red}.ol-profil table{text-align:center;width:100%}.ol-profil table span{display:block}.ol-profilpopup{background-color:rgba(255,255,255,.5);margin:.5em;padding:0 .5em;position:absolute;top:-1em;white-space:nowrap}.ol-profilpopup.ol-left{right:0}.ol-profil table td{padding:0 2px}.ol-profil table .track-info{display:table-row}.ol-profil .over table .track-info,.ol-profil table .point-info{display:none}.ol-profil .over table .point-info{display:table-row}.ol-profil p{text-align:center;margin:0}.ol-control.ol-routing{top:.5em;left:3em;max-height:90%;overflow-y:auto}.ol-touch .ol-control.ol-routing{left:3.5em}.ol-control.ol-routing.ol-searching{opacity:.5}.ol-control.ol-routing .ol-car,.ol-control.ol-routing>button{position:relative}.ol-control.ol-routing .ol-car:after,.ol-control.ol-routing>button:after{content:"";position:absolute;width:.78em;height:.6em;border-radius:40% 50% 0 0/50% 70% 0 0;box-shadow:inset 0 0 0 .065em,-.35em .14em 0 -.09em,inset 0 -.37em,inset -.14em .005em;clip:rect(0 1em .5em -1em);top:.35em;left:.4em}.ol-control.ol-routing .ol-car:before,.ol-control.ol-routing>button:before{content:"";position:absolute;width:.28em;height:.28em;border-radius:50%;box-shadow:inset 0 0 0 1em,.65em 0;top:.73em;left:.2em}.ol-control.ol-routing .ol-pedestrian:after{content:"";position:absolute;width:.3em;height:.4em;top:.25em;left:50%;transform:translateX(-50%);box-shadow:inset .3em 0,.1em .5em 0 -.1em,-.1em .5em 0 -.1em,.25em .1em 0 -.1em,-.25em .1em 0 -.1em;border-top:.2em solid transparent}.ol-control.ol-routing .ol-pedestrian:before{content:"";position:absolute;width:.3em;height:.3em;top:.1em;left:50%;transform:translateX(-50%);border-radius:50%;background-color:currentColor}.ol-control.ol-routing.ol-collapsed .content,.ol-routing .ol-search ul .copy,.ol-routing .ol-search.ol-collapsed ul{display:none}.ol-routing .content .search-input>div>*{display:inline-block;vertical-align:top}.ol-routing .ol-result ul{list-style:none;display:block}.ol-routing .ol-result li{position:relative;min-height:1.65em}.ol-routing .ol-result li i{display:block;font-size:.8em;font-weight:700}.ol-routing .ol-result li:before{content:"";border:5px solid transparent;position:absolute;left:-1.75em;border-bottom-color:#369;border-width:.6em .4em;transform-origin:50% 125%;box-shadow:0 .65em 0 -.25em #369;top:-.8em}.ol-routing .ol-result li:after{content:"";position:absolute;width:.3em;height:.6em;left:-1.5em;background:#369;top:.6em}.ol-routing .ol-result li.R:before{transform:rotate(90deg)}.ol-routing .ol-result li.FR:before{transform:rotate(45deg)}.ol-routing .ol-result li.L:before{transform:rotate(-90deg)}.ol-routing .ol-result li.FL:before{transform:rotate(-45deg)}.ol-routing .content>i{vertical-align:middle;margin:0 .3em 0 .1em;font-style:normal}.ol-routing .ol-button,.ol-routing .ol-button:focus,.ol-routing .ol-car,.ol-routing .ol-pedestrian{font-size:1.1em;position:relative;display:inline-block;width:1.4em;height:1.4em;color:rgba(0,60,136,1);background-color:transparent;margin:0 .1em;opacity:.5;vertical-align:middle;outline:0;cursor:pointer}.ol-routing .ol-button.selected,.ol-routing .ol-button:hover,.ol-routing i.selected{opacity:1;background:0 0}.ol-control.ol-routing:hover{background-color:rgba(255,255,255,.85)}.search-input>div>button:before{content:\'\\00b1\'}.ol-viewport .ol-scale{left:.5em;bottom:2.5em;text-align:center;-webkit-transform:scaleX(.8);-webkit-transform-origin:0 0;transform:scaleX(.8);transform-origin:0 0}.ol-viewport .ol-scale input{background:0 0;border:0;width:8em;text-align:center}.ol-search{top:.5em;left:3em}.ol-touch .ol-search{left:3.5em}.ol-search button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAABPUlEQVQoU41SwXHCQAzUHh58eoUOIBWEDkI6oAToIKkg7iAuwakgpAIowXRACcnrzp6BzchjMx4wE/S6kW5XK60gvQghzJIkmVoqSZI9gJ9+/fINS5Cc1HX9QXIlIr/tpwcRyb33b7cIGnAIYQdg4pxbjcfj0nJ1Xc+Px+PGObdN03Q9RIAQwgpAnqbp7FKmjQGgJLlU1d2V7BjjRkQO3vvXIXarkyxVNbsCm2QR2Q0V7XOMMReRmfd+OQQubN6hYgs22ZtbnRcAtiRfLueqqmpJ8ovko6oeBq0KIWQA3gFkzrlmMafTaUEyI/mpqmbhVTRWWbRdbClPbeobQNES5KPRqOxs7DBn8K1DsAOKMZYApiTXqlrcDe4d0XN7jWeCfzt351tVle2iGalTcBd4gGDvvZ/fDe4RmCOFLe8Pr7mvEP2N9PQAAAAASUVORK5CYII=);background-repeat:no-repeat;background-position:center center;background-size:1em;top:2px;left:2px;float:left}.ol-search button.ol-revers{float:none;background-image:none;display:inline-block;vertical-align:bottom;position:relative;top:0;left:0}.ol-search.ol-revers button.ol-revers{background-color:rgba(0,136,60,.5)}.ol-control.ol-search.ol-collapsed button.ol-revers{display:none}.ol-search button.ol-revers:before{content:"";border:.1em solid currentColor;position:absolute;left:50%;right:50%;transform:translate(-50%,-50%);border-radius:50%;width:.55em;height:.55em}.ol-search button.ol-revers:after{content:"";position:absolute;left:50%;right:50%;transform:translate(-50%,-50%);width:.2em;height:.2em;background-color:transparent;box-shadow:.4em 0 currentColor,0 .4em currentColor,-.4em 0 currentColor,0 -.4em currentColor}.ol-search input{display:inline-block;border:0;margin:1px 1px 1px 2px;font-size:1.14em;padding-left:.3em;height:1.375em;box-sizing:border-box;transition:all .1s}.ol-touch .ol-search input,.ol-touch .ol-search ul{font-size:1.5em}.ol-control.ol-search.ol-collapsed>*,.ol-search.ol-revers>ul{display:none}.ol-control.ol-search.ol-collapsed>button{display:block}.ol-search ul{list-style:none;padding:0;margin:0;display:block;clear:both;cursor:pointer;max-width:17em;overflow-x:hidden;z-index:1;background:#fff}.ol-search ul li{padding:.1em .5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ol-search ul li.select,.ol-search ul li:hover{background-color:rgba(0,60,136,.5);color:#fff}.ol-search ul li img{float:left;max-height:2em}.ol-search li.copy{background:rgba(0,0,0,.5);color:#fff}.ol-search li.copy a{color:#fff;text-decoration:none}.ol-search.searching:before{content:\'\';position:absolute;height:3px;left:0;top:1.6em;-webkit-animation:.5s linear infinite alternate pulse;animation:.5s linear infinite alternate pulse;background:red;z-index:2}@-webkit-keyframes pulse{0%{left:0;right:95%}50%{left:30%;right:30%}100%{left:95%;right:0}}@keyframes pulse{0%{left:0;right:95%}50%{left:30%;right:30%}100%{left:95%;right:0}}.ol-search.IGNF-parcelle input{width:13.5em}.ol-search.IGNF-parcelle input:-moz-read-only{background:#ccc;opacity:.8}.ol-search.IGNF-parcelle input:read-only{background:#ccc;opacity:.8}.ol-search.IGNF-parcelle.ol-collapsed-list>ul.autocomplete{display:none}.ol-search.IGNF-parcelle label{display:block;clear:both}.ol-search.IGNF-parcelle>div input,.ol-search.IGNF-parcelle>div label{width:5em;box-sizing:border-box;display:inline-block;margin:.1em;font-size:1em}.ol-search.IGNF-parcelle ul.autocomplete-page{margin-top:.5em;width:100%;text-align:center;display:none}.ol-search.IGNF-parcelle.ol-collapsed-list ul.autocomplete-page,.ol-search.IGNF-parcelle.ol-collapsed-list ul.autocomplete-parcelle{display:block}.ol-search.IGNF-parcelle ul.autocomplete-parcelle,.ol-search.IGNF-parcelle.ol-collapsed ul.autocomplete-page,.ol-search.IGNF-parcelle.ol-collapsed ul.autocomplete-parcelle{display:none}.ol-search.IGNF-parcelle ul.autocomplete-page li{display:inline-block;color:#fff;background:rgba(0,60,136,.5);border-radius:50%;width:1.3em;height:1.3em;padding:.1em;margin:0 .1em}.ol-search.IGNF-parcelle ul.autocomplete-page li.selected{background:rgba(0,60,136,1)}.ol-searchgps input.search{display:none}.ol-control.ol-searchgps>button:first-child{background-image:none}.ol-control.ol-searchgps>button:first-child:before{content:"x/y";display:block;transform:scaleX(.8)}.ol-control.ol-searchgps .ol-latitude,.ol-control.ol-searchgps .ol-longitude{clear:both}.ol-control.ol-searchgps .ol-latitude label,.ol-control.ol-searchgps .ol-longitude label{width:5.5em;display:inline-block;text-align:right;transform:scaleX(.8);margin:0 -.8em 0 0;transform-origin:0 0}.ol-control.ol-searchgps .ol-latitude input,.ol-control.ol-searchgps .ol-longitude input{max-width:10em}.ol-control.ol-searchgps .ol-switch{cursor:pointer;float:right;margin:.5em;font-size:.9em}.ol-control.ol-searchgps .ol-switch input{display:none}.ol-control.ol-searchgps .ol-switch span{color:rgba(0,60,136,.5);position:relative;cursor:pointer;background-color:#ccc;transition:.4s;width:1.6em;height:1em;display:inline-block;border-radius:1em;font-size:1.3em;vertical-align:middle;margin:0 .2em}.ol-control.ol-searchgps .ol-switch span:before{position:absolute;content:"";height:1em;width:1em;left:0;top:50%;background-color:#fff;transition:.4s;border-radius:1em;display:block;transform:translateY(-50%);border:2px solid #ccc;box-sizing:border-box}.ol-control.ol-searchgps .ol-switch input:checked+span{background-color:currentColor}.ol-control.ol-searchgps .ol-switch input:checked+span:before{transform:translate(.6em,-50%);border-color:currentColor}.ol-searchgps .ol-decimal{display:inline-block}.ol-searchgps .ol-dms,.ol-searchgps.ol-dms .ol-decimal{display:none;width:3em;text-align:right}.ol-searchgps.ol-dms .ol-dms{display:inline-block}.ol-searchgps span.ol-dms{width:auto}.ol-searchgps.ol-control.ol-collapsed button.ol-geoloc{display:none}.ol-searchgps button.ol-geoloc{top:0;float:right;margin-right:3px;background-image:none;position:relative}.ol-searchgps button.ol-geoloc:before{content:"";position:absolute;left:50%;top:50%;width:.6em;height:.6em;border:.1em solid currentColor;border-radius:50%;transform:translate(-50%,-50%)}.ol-searchgps button.ol-geoloc:after{content:"";position:absolute;left:50%;top:50%;width:.2em;height:.2em;background-color:transparent;transform:translate(-50%,-50%);box-shadow:.45em 0 currentColor,-.45em 0 currentColor,0 -.45em currentColor,0 .45em currentColor,.25em 0 currentColor,-.25em 0 currentColor,0 -.25em currentColor,0 .25em currentColor}.ol-control.ol-select{top:.5em;left:3em}.ol-control.ol-select>button:before{content:"";position:absolute;box-sizing:border-box;width:.73em;height:.73em;background-color:transparent;border:.12em solid currentColor;border-radius:100%;top:.35em;left:.35em}.ol-control.ol-select>button:after{content:"";position:absolute;box-sizing:border-box;top:1.1em;left:1em;border-width:.08em .23em;border-style:solid;border-radius:.03em;transform:rotate(45deg);box-shadow:-.18em 0 0 -.03em}.ol-select>div button{width:auto;padding:0 .5em;float:right;font-weight:400}.ol-select .ol-delete{width:1.5em;height:1em;vertical-align:middle;display:inline-block;position:relative;cursor:pointer}.ol-select .ol-delete:before{content:\'\\00d7\';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;text-align:center;font-weight:700}.ol-control.ol-select input{font-size:1em}.ol-control.ol-select select{font-size:1em;max-width:10em}.ol-control.ol-select select option.ol-default{color:#999;font-style:italic}.ol-control.ol-select>div{display:block}.ol-control.ol-select.ol-collapsed>div{display:none}.ol-control.ol-select.ol-select-check{max-width:20em}.ol-control.ol-select-check div,.ol-control.ol-select.ol-select-check label{position:relative;display:inline-block}.ol-control.ol-select.ol-select-check input,.ol-control.ol-select.ol-select-condition input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.ol-control.ol-select.ol-select-condition label div{position:relative;padding:0 1em 0 2em}.ol-control.ol-select.ol-select-condition label div:before{content:"";position:absolute;left:0;height:1.1em;width:1.8em;background-color:rgba(192,192,192,.7);box-sizing:border-box;border-radius:1em}.ol-control.ol-select.ol-select-condition label div:after{content:"";position:absolute;left:.1em;top:.1em;height:.9em;width:.9em;background-color:#fff;box-sizing:border-box;border-radius:1em;transition:.3s}.ol-control.ol-select.ol-select-condition input:checked~div:after{left:.7em}.ol-control.ol-select.ol-select-check label>div{padding:0 1em 0 1.5em}.ol-control.ol-select.ol-select-check label>div:before{content:"";position:absolute;width:1.1em;height:1.1em;left:.2em;background-color:rgba(192,192,192,.7);box-sizing:border-box}.ol-control.ol-select.ol-select-check label.ol-radio>div:before{border-radius:50%}.ol-control.ol-select.ol-select-check label>div:hover:before,.ol-control.ol-select.ol-select-condition label>div:hover:before{background-color:rgba(128,128,128,.7)}.ol-control.ol-select.ol-select-check input:checked~div:before,.ol-control.ol-select.ol-select-condition input:checked~div:before{background-color:rgba(0,60,136,.7)}.ol-control.ol-select.ol-select-check label.ol-checkbox input:checked~div:after{content:"";position:absolute;width:.5em;height:.8em;top:.05em;left:.5em;border:2px solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg);box-sizing:border-box}.ol-control.ol-select.ol-select-check label.ol-radio input:checked~div:before{border:.3em solid rgba(0,60,136,.7);background-color:#fff}.ol-select ul{list-style:none;margin:0;padding:0}.ol-control.ol-select input[type=text]{width:8em}.ol-select .ol-autocomplete{display:inline}.ol-select .ol-autocomplete ul{position:absolute;display:block;background:#fff;border:1px solid #999;min-width:10em;font-size:.85em}.ol-select .ol-autocomplete ul li{padding:0 .5em}.ol-select .ol-autocomplete ul li:hover{color:#fff;background:rgba(0,60,136,.5)}.ol-select ul.ol-hidden{display:none}.ol-select-multi li>div.ol-control.ol-select,.ol-select-multi li>div:hover{position:relative;top:unset;left:unset;background:0 0}.ol-select-multi li>div .ol-ok,.ol-select-multi li>div>button{display:none}.ol-select-multi li .ol-control.ol-select.ol-collapsed>div,.ol-select-multi li>div>div{display:block}.ol-control.ol-status{top:0;left:0;background:rgba(0,0,0,.2);color:#fff;font-size:.9em;padding:.3em 3em;border-radius:0;width:100%;box-sizing:border-box;pointer-events:none}.ol-control.ol-status.ol-bottom{top:auto;bottom:0}.ol-control.ol-status.ol-left{top:0;bottom:0;padding:.3em .5em .3em 3em;width:auto}.ol-control.ol-status.ol-right{top:0;bottom:0;left:auto;right:0;padding:.3em 3em .3em .5em;width:auto}.ol-control.ol-status.ol-center{top:50%;transform:translateY(-50%)}.ol-control.ol-storymap{top:.5em;left:.5em;bottom:.5em;max-width:35%;border-radius:.5em;position:absolute;height:auto}.ol-storymap{overflow:hidden;padding:0;height:100%;position:relative;scroll-behavior:smooth;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ol-storymap.ol-move{scroll-behavior:unset}.ol-storymap.ol-touch{overflow-y:auto}.ol-control.ol-storymap .chapter{padding:.5em}.ol-storymap .chapter{cursor:pointer;opacity:.4}.ol-storymap .chapter.ol-select{cursor:default;opacity:1}.ol-storymap .ol-scroll-next,.ol-storymap .ol-scroll-top{position:relative;min-height:1.7em;color:rgba(0,60,136,.5);text-align:center;cursor:pointer}.ol-storymap .ol-scroll-next span{padding-bottom:1.4em;display:block}.ol-storymap .ol-scroll-top span{padding-top:1.4em;display:block}.ol-storymap .ol-scroll-next:before,.ol-storymap .ol-scroll-top:before{content:"";border:.3em solid currentColor;border-radius:.3em;border-color:transparent currentColor currentColor transparent;width:.8em;height:.8em;display:block;position:absolute;left:50%;transform:translateX(-50%) rotate(45deg);-webkit-animation:.35s linear infinite alternate ol-bounce-bottom;animation:.35s linear infinite alternate ol-bounce-bottom;pointer-events:none}.ol-storymap .ol-scroll-top:before{border-color:currentColor transparent transparent currentColor;-webkit-animation:.35s linear infinite alternate ol-bounce-top;animation:.35s linear infinite alternate ol-bounce-top}@-webkit-keyframes ol-bounce-top{from{top:-.2em}to{top:.5em}}@keyframes ol-bounce-top{from{top:-.2em}to{top:.5em}}@-webkit-keyframes ol-bounce-bottom{from{bottom:-.2em}to{bottom:.5em}}@keyframes ol-bounce-bottom{from{bottom:-.2em}to{bottom:.5em}}.ol-storymap img[data-title]{cursor:pointer}.ol-swipe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%)}.ol-swipe:before{content:"";position:absolute;top:-5000px;bottom:-5000px;left:50%;width:4px;background:#fff;z-index:-1;transform:translate(-2px,0);-webkit-transform:translate(-2px,0)}.ol-swipe.horizontal:before{left:-5000px;right:-5000px;top:50%;bottom:auto;width:auto;height:4px}.ol-swipe,.ol-swipe button{cursor:ew-resize}.ol-swipe.horizontal,.ol-swipe.horizontal button{cursor:ns-resize}.ol-swipe button:after,.ol-swipe button:before,.ol-swipe:after{content:"";position:absolute;top:25%;bottom:25%;left:50%;width:2px;background:rgba(255,255,255,.8);transform:translate(-1px,0);-webkit-transform:translate(-1px,0)}.ol-swipe button:after{transform:translateX(5px);-webkit-transform:translateX(5px)}.ol-swipe button:before{transform:translateX(-7px);-webkit-transform:translateX(-7px)}.ol-control.ol-timeline{bottom:0;left:0;right:0;transition:.3s}.ol-control.ol-timeline.ol-collapsed{transform:translateY(100%)}.ol-timeline{overflow:hidden;padding:2px 0 0}.ol-timeline .ol-scroll{overflow:hidden;padding:0 50%;scroll-behavior:smooth;line-height:1em;height:6em}.ol-timeline .ol-scroll.ol-move{scroll-behavior:unset}.ol-timeline.ol-touch .ol-scroll{overflow-x:auto}.ol-timeline.ol-hasbutton .ol-scroll{margin-left:1.5em;padding:0 calc(50% - .75em)}.ol-timeline .ol-buttons{display:none;position:absolute;top:0;background:rgba(255,255,255,.5);width:1.5em;bottom:0;left:0;z-index:10}.ol-timeline.ol-hasbutton .ol-buttons{display:block}.ol-timeline .ol-buttons button{font-size:1em;margin:1px;position:relative}.ol-timeline .ol-buttons .ol-zoom-in:before,.ol-timeline .ol-buttons .ol-zoom-out:before{content:"+";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-timeline .ol-buttons .ol-zoom-out:before{content:\'\u2212\'}.ol-timeline .ol-scroll>div{height:100%;position:relative}.ol-timeline .ol-scroll .ol-times{background:rgba(255,255,255,.5);height:1em;bottom:0;position:absolute;left:-1000px;right:-1000px}.ol-timeline .ol-scroll .ol-time{position:absolute;font-size:.7em;color:#999;bottom:0;transform:translateX(-50%)}.ol-timeline .ol-scroll .ol-time.ol-year{color:#666;z-index:1}.ol-timeline .ol-scroll .ol-time:before{content:"";position:absolute;bottom:1.2em;left:50%;height:500px;border-left:1px solid currentColor}.ol-timeline .ol-scroll .ol-features{position:absolute;top:0;bottom:1em;left:-200px;right:-1000px;margin:0 0 0 200px;overflow:hidden}.ol-timeline .ol-scroll .ol-feature{position:absolute;font-size:.7em;color:#999;top:0;background:#fff;max-width:3em;max-height:2.4em;min-height:1em;line-height:1.2em;border:1px solid #ccc;overflow:hidden;padding:0 .5em 0 0;transition:all .3s;cursor:pointer;box-sizing:border-box}.ol-timeline.ol-zoomhover .ol-scroll .ol-feature.ol-select,.ol-timeline.ol-zoomhover .ol-scroll .ol-feature:hover{z-index:1;transform:scale(1.2);background:#eee}.ol-timeline .ol-center-date{display:none;position:absolute;left:50%;height:100%;width:2px;bottom:0;z-index:2;pointer-events:none;transform:translateX(-50%);background-color:red;opacity:.4}.ol-timeline.ol-hasbutton .ol-center-date{left:calc(50% + .75em)}.ol-timeline.ol-pointer .ol-center-date{display:block}.ol-timeline.ol-pointer .ol-center-date:after,.ol-timeline.ol-pointer .ol-center-date:before{content:\'\';border:.3em solid transparent;border-width:.3em .25em;position:absolute;left:50%;transform:translateX(-50%)}.ol-timeline.ol-pointer .ol-center-date:before{border-top-color:red;top:0}.ol-timeline.ol-pointer .ol-center-date:after{border-bottom-color:red;bottom:0}.ol-timeline.ol-interval .ol-center-date{display:block;background-color:transparent;border:0 solid #000;border-width:0 10000px;box-sizing:content-box;opacity:.2}.ol-target-overlay .ol-target{border:1px solid transparent;box-shadow:0 0 1px 1px #fff;display:block;height:20px;width:0}.ol-target-overlay .ol-target:after,.ol-target-overlay .ol-target:before{content:"";border:1px solid #369;box-shadow:0 0 1px 1px #fff;display:block;width:20px;height:0;position:absolute;top:10px;left:-10px}.ol-target-overlay .ol-target:after{box-shadow:none;height:20px;width:0;top:0;left:0}.ol-perspective-map{position:absolute;left:50%;top:50%;width:200%;height:200%;transform:translate(-50%,-50%)}.ol-perspective-map .ol-layer{z-index:-1!important}.ol-perspective-map .ol-layers{transform:translateY(0) perspective(200px) rotateX(0) scaleY(1)}.ol-perspective-map .ol-overlaycontainer-stopevent{width:50%!important;height:50%!important;top:50%;left:50%;transform:translate(-50%,-50%)}.ol-overlay-container .ol-magnify{background:rgba(0,0,0,.5);border:3px solid #369;border-radius:50%;height:150px;width:150px;overflow:hidden;box-shadow:5px 5px 5px rgba(0,0,0,.5);position:relative;z-index:0}.ol-overlay-container .ol-magnify:before{border-radius:50%;box-shadow:0 0 40px 2px rgba(0,0,0,.25) inset;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ol-overlay-container .ol-magnify:after{border-radius:50%;box-shadow:0 0 20px 7px rgba(255,255,255,1);content:"";display:block;height:0;left:23%;position:absolute;top:20%;width:20%;z-index:1;transform:rotate(-40deg);-webkit-transform:rotate(-40deg)}.ol-popup.anim{visibility:hidden}.ol-popup.anim.visible{visibility:visible}.ol-popup.anim.visible>div{visibility:visible;transform:none;-webkit-animation:.4s ol-popup_bounce;animation:.4s ol-popup_bounce}@-webkit-keyframes ol-popup_bounce{from{transform:scale(0)}50%{transform:scale(1.1)}80%{transform:scale(.95)}to{transform:scale(1)}}@keyframes ol-popup_bounce{from{transform:scale(0)}50%{transform:scale(1.1)}80%{transform:scale(.95)}to{transform:scale(1)}}.ol-popup.anim.ol-popup-bottom.ol-popup-left>div{transform-origin:0 100%}.ol-popup.anim.ol-popup-bottom.ol-popup-right>div{transform-origin:100% 100%}.ol-popup.anim.ol-popup-bottom.ol-popup-center>div{transform-origin:50% 100%}.ol-popup.anim.ol-popup-top.ol-popup-left>div{transform-origin:0 0}.ol-popup.anim.ol-popup-top.ol-popup-right>div{transform-origin:100% 0}.ol-popup.anim.ol-popup-top.ol-popup-center>div{transform-origin:50% 0}.ol-popup.anim.ol-popup-middle.ol-popup-left>div{transform-origin:0 50%}.ol-popup.anim.ol-popup-middle.ol-popup-right>div{transform-origin:100% 50%}.ol-popup{font-size:.9em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ol-popup .ol-popup-content{overflow:hidden;cursor:default;padding:.25em .5em}.ol-popup.hasclosebox .ol-popup-content{margin-right:1.7em}.ol-popup .ol-popup-content:after{clear:both;content:"";display:block;font-size:0;height:0}.ol-popup .anchor{display:block;width:0;height:0;background:red;position:absolute;margin:-11px 22px;pointer-events:none}.ol-popup .anchor:after,.ol-popup .anchor:before{position:absolute}.ol-popup-right .anchor:after,.ol-popup-right .anchor:before{right:0}.ol-popup-top .anchor{top:0}.ol-popup-bottom .anchor{bottom:0}.ol-popup-right .anchor{right:0}.ol-popup-left .anchor{left:0}.ol-popup-center .anchor{left:50%;margin-left:0!important}.ol-popup-middle .anchor{top:50%;margin-top:0!important}.ol-popup-center.ol-popup-middle .anchor{display:none}.ol-popup.ol-fixed{margin:0!important;top:.5em!important;right:.5em!important;left:auto!important;bottom:auto!important;transform:none!important}.ol-popup.ol-fixed .anchor{display:none}.ol-popup.ol-fixed.anim>div{-webkit-animation:none;animation:none}.ol-popup .ol-fix{width:1em;height:.9em;background:#fff;position:relative;float:right;margin:.2em;cursor:pointer}.ol-popup .ol-fix:before{content:"";width:.8em;height:.7em;display:block;border:.1em solid #666;border-right-width:.3em;box-sizing:border-box;margin:.1em}.ol-popup.shadow{box-shadow:2px 2px 2px 2px rgba(0,0,0,.5)}.ol-popup .closeBox{background-color:rgba(0,60,136,.5);color:#fff;border:0;border-radius:2px;cursor:pointer;float:right;font-size:.9em;font-weight:700;width:1.4em;height:1.4em;margin:5px 5px 0 0;padding:0;position:relative;display:none}.ol-popup.hasclosebox .closeBox{display:block}.ol-popup .closeBox:hover{background-color:rgba(0,60,136,.7)}.ol-popup .closeBox:after{content:"\\00d7";font-size:1.5em;top:50%;left:0;right:0;width:100%;text-align:center;line-height:1em;margin:-.5em 0;position:absolute}.ol-popup.modifytouch{background-color:#eee}.ol-popup.modifytouch .ol-popup-content{padding:0 .25em;font-size:.85em;white-space:nowrap}.ol-popup.modifytouch .ol-popup-content a{text-decoration:none}.ol-popup.tooltips{background-color:#ffa}.ol-popup.tooltips .ol-popup-content{padding:0 .25em;font-size:.85em;white-space:nowrap}.ol-popup.default>div{background-color:#fff;border:1px solid #69f;border-radius:5px}.ol-popup.default{margin:-11px 0;transform:translate(0,-22px)}.ol-popup-top.ol-popup.default{margin:11px 0;transform:none}.ol-popup-left.default{margin:-11px -22px;transform:translate(0,-22px)}.ol-popup-top.ol-popup-left.default{margin:11px -22px;transform:none}.ol-popup-right.default{margin:-11px 22px;transform:translate(44px,-22px)}.ol-popup-top.ol-popup-right.default{margin:11px 22px;transform:translate(44px,0)}.ol-popup-middle.default{margin:0 10px;transform:none}.ol-popup-middle.ol-popup-right.default{margin:0 -10px;transform:translate(-20,0)}.ol-popup.default .anchor{color:#69f}.ol-popup.default .anchor:after,.ol-popup.default .anchor:before{content:"";border-color:currentColor transparent;border-style:solid;border-width:11px;margin:0 -11px}.ol-popup.default .anchor:after{border-color:#fff transparent;border-width:11px;margin:2px -11px}.ol-popup-top.default .anchor:after,.ol-popup-top.default .anchor:before{border-top:0;top:0}.ol-popup-bottom.default .anchor:after,.ol-popup-bottom.default .anchor:before{border-bottom:0;bottom:0}.ol-popup-middle.default .anchor:before{margin:-11px -33px;border-color:transparent currentColor}.ol-popup-middle.default .anchor:after{margin:-11px -31px;border-color:transparent #fff}.ol-popup-middle.ol-popup-left.default .anchor:after,.ol-popup-middle.ol-popup-left.default .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.default .anchor:after,.ol-popup-middle.ol-popup-right.default .anchor:before{border-right:0}.ol-popup.placemark{color:#c00;margin:-.65em 0;transform:translate(0,-1.3em)}.ol-popup.placemark>div{position:relative;font-size:15px;background-color:#fff;border:0;box-shadow:inset 0 0 0 .45em;width:2em;height:2em;border-radius:50%;min-width:unset;box-sizing:border-box}.ol-popup.placemark .ol-popup-content{overflow:hidden;cursor:default;text-align:center;padding:.25em 0;width:1em;height:1em;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);line-height:1em}.ol-popup.placemark .anchor{margin:0}.ol-popup.placemark .anchor:before{content:"";margin:-.5em;background:0 0;width:1em;height:.5em;border-radius:50%;box-shadow:0 1em .5em rgba(0,0,0,.5)}.ol-popup.placemark .anchor:after{content:"";border-color:currentColor transparent;border-style:solid;border-width:1em .7em 0;margin:-.75em -.7em;bottom:0}.ol-popup.placemark.shield>div{border-radius:.2em}.ol-popup.placemark.shield .anchor:after{border-width:.8em 1em 0;margin:-.7em -1em}.ol-popup.placemark.blazon>div{border-radius:.2em}.ol-popup.placemark.pushpin{margin:-2.2em 0;transform:translate(0,-4em)}.ol-popup.placemark.pushpin>div{border-radius:0;background:0 0!important;box-shadow:inset 2em 0 currentColor;width:1.1em}.ol-popup.placemark.pushpin>div:before{content:"";width:1.3em;height:1.5em;border-style:solid;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-color:currentColor transparent;border-width:.3em .5em .5em;pointer-events:none}.ol-popup.placemark.needle{margin:-2em 0;transform:translate(0,-4em)}.ol-popup.placemark.needle .anchor,.ol-popup.placemark.pushpin .anchor{margin:-1.2em}.ol-popup.placemark.needle .anchor:after,.ol-popup.placemark.pushpin .anchor:after{border-style:solid;border-width:2em .15em 0;margin:-.55em -.2em;width:.1em}.ol-popup.placemark.needle .anchor:before,.ol-popup.placemark.pushpin .anchor:before{margin:-.75em -.5em}.ol-popup.placemark.flagv{margin:-2em 1em;transform:translate(0,-4em)}.ol-popup.placemark.flagv>div{border-radius:0;box-shadow:none;background-color:transparent}.ol-popup.placemark.flagv>div:before{content:"";border:1em solid transparent;position:absolute;border-left:2em solid currentColor;pointer-events:none}.ol-popup.placemark.flagv .anchor{margin:-1.4em}.ol-popup.placemark.flag{margin:-2em 1em;transform:translate(0,-4em)}.ol-popup.placemark.flag>div{border-radius:0;transform-origin:0 150%!important}.ol-popup.placemark.flag .anchor{margin:-1.4em}.ol-popup.placemark.flag .anchor:after,.ol-popup.placemark.flagv .anchor:after{border-style:solid;border-width:2em .15em 0;margin:-.55em -1em;width:.1em}.ol-popup.placemark.flag .anchor:before,.ol-popup.placemark.flagv .anchor:before{margin:-.75em -1.25em}.ol-popup.placemark.flag.finish{margin:-2em 1em}.ol-popup.placemark.flag.finish>div{background-image:linear-gradient(45deg,currentColor 25%,transparent 25%,transparent 75%,currentColor 75%,currentColor),linear-gradient(45deg,currentColor 25%,transparent 25%,transparent 75%,currentColor 75%,currentColor);background-size:1em 1em;background-position:.5em 0,0 .5em;box-shadow:inset 0 0 0 .25em}.ol-popup.black .closeBox{background-color:rgba(0,0,0,.5);border-radius:5px;color:#f80}.ol-popup.black .closeBox:hover{background-color:rgba(0,0,0,.7);color:#da2}.ol-popup.black{margin:-20px 0;transform:translate(0,-40px)}.ol-popup.black>div{background-color:rgba(0,0,0,.6);border-radius:5px;color:#fff}.ol-popup-top.ol-popup.black{margin:20px 0;transform:none}.ol-popup-left.black{margin:-20px -22px;transform:translate(0,-40px)}.ol-popup-top.ol-popup-left.black{margin:20px -22px;transform:none}.ol-popup-right.black{margin:-20px 22px;transform:translate(44px,-40px)}.ol-popup-top.ol-popup-right.black{margin:20px 22px;transform:translate(44px,0)}.ol-popup-middle.black{margin:0 11px;transform:none}.ol-popup-left.ol-popup-middle.black{transform:none}.ol-popup-right.ol-popup-middle.black{margin:0 -11px;transform:translate(-22px,0)}.ol-popup.black .anchor{margin:-20px 11px;color:rgba(0,0,0,.6)}.ol-popup.black .anchor:before{content:"";border-color:currentColor transparent;border-style:solid;border-width:20px 11px}.ol-popup-top.black .anchor:before{border-top:0;top:0}.ol-popup-bottom.black .anchor:before{border-bottom:0;bottom:0}.ol-popup-middle.black .anchor:before{margin:-20px -22px;border-color:transparent currentColor}.ol-popup-middle.ol-popup-left.black .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.black .anchor:before{border-right:0}.ol-popup-center.black .anchor:before{margin:0 -10px}.ol-popup.tips .closeBox{background-color:red;border-radius:50%;color:#fff;width:1.2em;height:1.2em}.ol-popup.tips .closeBox:hover{background-color:#f40}.ol-popup.tips{margin:-20px 0;transform:translate(0,-40px)}.ol-popup.tips>div{background-color:#cea;border:5px solid #ad7;border-radius:5px;color:#333}.ol-popup-top.ol-popup.tips{margin:20px 0;transform:none}.ol-popup-left.tips{margin:-20px -22px;transform:translate(0,-40px)}.ol-popup-top.ol-popup-left.tips{margin:20px -22px;transform:none}.ol-popup-right.tips{margin:-20px 22px;transform:translate(44px,-40px)}.ol-popup-top.ol-popup-right.tips{margin:20px 22px;transform:translate(44px,0)}.ol-popup-middle.tips{margin:0;transform:none}.ol-popup-left.ol-popup-middle.tips{margin:0 22px;transform:none}.ol-popup-right.ol-popup-middle.tips{margin:0 -22px;transform:translate(-44px,0)}.ol-popup.tips .anchor{margin:-18px 22px;color:#ad7}.ol-popup.tips .anchor:before{content:"";border-color:currentColor transparent;border-style:solid;border-width:20px 11px}.ol-popup-top.tips .anchor:before{border-top:0;top:0}.ol-popup-bottom.tips .anchor:before{border-bottom:0;bottom:0}.ol-popup-center.tips .anchor:before{border-width:20px 6px;margin:0 -6px}.ol-popup-left.tips .anchor:before{border-left:0;margin-left:0}.ol-popup-right.tips .anchor:before{border-right:0;margin-right:0}.ol-popup-middle.tips .anchor:before{margin:-6px -41px;border-color:transparent currentColor;border-width:6px 20px}.ol-popup-middle.ol-popup-left.tips .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.tips .anchor:before{border-right:0}.ol-popup.warning .closeBox{background-color:red;border-radius:50%;color:#fff;font-size:.83em}.ol-popup.warning .closeBox:hover{background-color:#f40}.ol-popup.warning{background-color:#fd0;border-radius:3px;border:4px dashed red;margin:-28px 10px;color:#900;transform:translate(0,-56px)}.ol-popup-top.ol-popup.warning{margin:28px 10px;transform:none}.ol-popup-left.warning{margin:-28px -22px;transform:translate(0,-56px)}.ol-popup-top.ol-popup-left.warning{margin:28px -22px;transform:none}.ol-popup-right.warning{margin:-28px 22px;transform:translate(44px,-56px)}.ol-popup-top.ol-popup-right.warning{margin:28px 22px;transform:translate(44px,0)}.ol-popup-middle.warning{margin:0;transform:none}.ol-popup-left.ol-popup-middle.warning{margin:0 22px;transform:none}.ol-popup-right.ol-popup-middle.warning{margin:0 -22px;transform:translate(-44px,0)}.ol-popup.warning .anchor{margin:-33px 7px}.ol-popup.warning .anchor:before{content:"";border-color:red transparent;border-style:solid;border-width:30px 11px}.ol-popup-top.warning .anchor:before{border-top:0;top:0}.ol-popup-bottom.warning .anchor:before{border-bottom:0;bottom:0}.ol-popup-center.warning .anchor:before{margin:0 -21px}.ol-popup-middle.warning .anchor:before{margin:-10px -33px;border-color:transparent red;border-width:10px 22px}.ol-popup-middle.ol-popup-left.warning .anchor:before{border-left:0}.ol-popup-middle.ol-popup-right.warning .anchor:before{border-right:0}.ol-popup .ol-popupfeature table{width:100%}.ol-popup .ol-popupfeature table td{max-width:25em;overflow:hidden;text-overflow:ellipsis}.ol-popup .ol-popupfeature table td img{max-width:100px;max-height:100px}.ol-popup .ol-popupfeature tr:nth-child(2n+1){background-color:#eee}.ol-popup .ol-popupfeature .ol-zoombt{border:0;width:2em;height:2em;display:inline-block;color:rgba(0,60,136,.5);position:relative;background:0 0;outline:0}.ol-popup .ol-popupfeature .ol-zoombt:before{content:"";position:absolute;box-sizing:border-box;width:1em;height:1em;background-color:transparent;border:.17em solid currentColor;border-radius:100%;top:.3em;left:.3em}.ol-popup .ol-popupfeature .ol-zoombt:after{content:"";position:absolute;box-sizing:border-box;top:1.35em;left:1.15em;border-width:.1em .3em;border-style:solid;border-radius:.03em;transform:rotate(45deg);box-shadow:-.2em 0 0 -.04em}.ol-popup .ol-popupfeature .ol-count{float:right;margin:.25em 0}.ol-popup .ol-popupfeature .ol-next,.ol-popup .ol-popupfeature .ol-prev{border-style:solid;border-color:transparent rgba(0,60,136,.5);border-width:.5em 0 .5em .5em;display:inline-block;vertical-align:bottom;margin:0 .5em;cursor:pointer}.ol-popup .ol-popupfeature .ol-prev{border-width:.5em .5em .5em 0}.ol-popup.tooltips.black{transform:scaleY(1.3);padding:.2em .5em;background-color:rgba(0,0,0,.5)}.ol-popup-middle.tooltips.black .anchor:before{border-width:5px 10px;margin:-5px -21px}.ol-fixedoverlay{position:absolute;top:0;left:0;width:100%;height:100%}']},"7/LY":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return d}));var l=n("8Y7J"),i=n("wd/R"),r=n("2BCK"),o=n("oQtH"),a=(n("G0WM"),n("IheW")),s=n("c9QO");const u={UNSELECT:"unselect",HOVER:"hover",WATCH:"watch",SELECT:"select",FOLLOW:"follow",TRAJECTORY_LINE:"trajectory-line",TRAJECTORY:"trajectory",INTERCEPTION:"interception",FOCUS:"focus"};class c{constructor(t,e,n){this.status=[u.UNSELECT],this.metas={},this.aircraft=t,this.status=e,n&&(this.follow=n)}getMiniContext(){return{status:this.status,follow:this.follow,metas:this.metas}}dontHaveStatus(){return!(this.status.length>0)}haveOneStatus(t){for(const e in t)if(this.status.indexOf(t[e])>=0)return!0;return!1}haveMultiStatus(t){let e=!0;for(const n in t)this.status.indexOf(t[n])<0&&(e=!1);return e}haveStatus(t){return this.status.indexOf(t)>=0}addStatus(t){this.status.push(t)}addMultiStatus(t){for(const e in t)t.hasOwnProperty(e)&&this.status.push(t[e])}deleteStatus(t){this.status.indexOf(t)>=0&&this.status.splice(this.status.indexOf(t),1)}deleteMultiStatus(t){for(const e in t)this.status.indexOf(t[e])>=0&&this.status.splice(this.status.indexOf(t[e]),1)}addMeta(t,e){this.metas[t]=e}deleteMeta(t){this.metas[t]&&delete this.metas[t]}}let d=(()=>{class t{constructor(t,e){this.httpClient=t,this.tripService=e,this.selectedAircrafts={},this.selectedAircraftsChange=new l.r}getSelectedAircraftChangeEmitter(){return this.selectedAircraftsChange}getAircraftsContext(){return this.selectedAircrafts}getAircraftsSelected(){const t=[];for(const e in this.selectedAircrafts)this.selectedAircrafts.hasOwnProperty(e)&&t.push(this.selectedAircrafts[e].aircraft);return t}getAircraftsFocus(){const t=[];for(const e in this.selectedAircrafts)this.selectedAircrafts[e].haveStatus(u.FOCUS)&&t.push(this.selectedAircrafts[e].aircraft);return t}aircraftIsSelected(t){for(const e in this.selectedAircrafts)if(this.selectedAircrafts[e].haveStatus(u.SELECT)&&this.selectedAircrafts[e].aircraft.icao==t.icao)return!0;return!1}updateAircraft(t,e=!0){const n=t.icao;if(this.selectedAircrafts[n]){if(e&&this.selectedAircrafts[n].haveOneStatus([u.WATCH,u.SELECT])){const t=this.selectedAircrafts[n].aircraft;if(t.trace){const e={longitude:t.longitude,latitude:t.latitude,altitude:t.altitude,updatedAt:i(t.updatedAt).valueOf()},n=new r.a(e);t.trace.positions.push(n)}}this.selectedAircraftsChange.emit(this.selectedAircrafts[n])}}deleteAircraft(t){if(this.selectedAircrafts[t.icao]){const e=new c(t,[u.UNSELECT]);this.selectedAircraftsChange.emit(e),delete this.selectedAircrafts[t.icao]}}hoverAircraft(t){for(const e in this.selectedAircrafts)if(this.selectedAircrafts.hasOwnProperty(e)){const t=this.selectedAircrafts[e];t.haveStatus(u.HOVER)&&(t.deleteStatus(u.HOVER),this.checkAircraftHaveStatus(t))}for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];if(this.selectedAircrafts[n.icao]){const t=!this.selectedAircrafts[n.icao].haveStatus(u.HOVER);this.selectedAircrafts[n.icao].addStatus(u.HOVER),t&&this.selectedAircraftsChange.emit(this.selectedAircrafts[n.icao])}else this.selectedAircrafts[n.icao]=new c(n,[u.HOVER]),this.selectedAircraftsChange.emit(this.selectedAircrafts[n.icao])}}unhoverAircraft(t){for(const e of t)this.selectAircraft[e.icao]&&this.selectAircraft[e.icao].haveStatus(u.HOVER)&&(this.selectAircraft[e.icao].deleteStatus(u.HOVER),this.checkAircraftHaveStatus(this.selectAircraft[e.icao]))}toggleWatchAircraft(t,e){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.WATCH)?this.unWatchAircraft(t):this.watchAircraft(t,e)}watchAircraft(t,e){let n;this.selectedAircrafts[t.icao]?(this.selectedAircrafts[t.icao].haveStatus(u.WATCH)||this.selectedAircrafts[t.icao].addStatus(u.WATCH),n=this.selectedAircrafts[t.icao]):(n=new c(t,[u.WATCH]),this.selectedAircrafts[t.icao]=n),this.getCompleteAircraft(n,e)}unWatchAircraft(t){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.WATCH)&&(this.selectedAircrafts[t.icao].deleteStatus(u.WATCH),this.checkAircraftHaveStatus(this.selectedAircrafts[t.icao]))}toggleSelectAircraft(t,e){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.SELECT)?this.unSelectAircrafts(t):this.selectAircraft(t,e)}selectAircraft(t,e,n=!0){for(const i in this.selectedAircrafts)this.selectedAircrafts[i].haveStatus(u.SELECT)&&(this.selectedAircrafts[i].deleteMultiStatus([u.SELECT,u.TRAJECTORY,u.TRAJECTORY_LINE,u.FOLLOW]),this.checkAircraftHaveStatus(this.selectedAircrafts[i]));let l;if(this.selectedAircrafts[t.icao]?(this.selectedAircrafts[t.icao].addStatus(u.SELECT),l=this.selectedAircrafts[t.icao]):(l=new c(t,[u.SELECT]),this.selectedAircrafts[t.icao]=l),n)return this.getCompleteAircraft(l,e);this.selectedAircraftsChange.emit(l)}unSelectAircrafts(t){this.selectedAircrafts[t.icao]&&this.selectedAircrafts[t.icao].haveStatus(u.SELECT)&&(this.selectedAircrafts[t.icao].deleteMultiStatus([u.SELECT,u.TRAJECTORY,u.TRAJECTORY_LINE,u.FOLLOW,u.FOCUS,u.INTERCEPTION]),this.checkAircraftHaveStatus(this.selectedAircrafts[t.icao]))}addStatus(t){const e=this.getAircraftSelected();e.addStatus(t),this.selectedAircraftsChange.emit(e)}deleteStatus(t){const e=this.getAircraftSelected();e.deleteStatus(t),this.selectedAircraftsChange.emit(e)}followAircraft(){this.addStatus(u.FOLLOW)}unFollowAircraft(){this.deleteStatus(u.FOLLOW)}trajectoryLineAircraft(){this.addStatus(u.TRAJECTORY_LINE)}unTrajectoryLineAircraft(){this.deleteStatus(u.TRAJECTORY_LINE)}trajectoryAircraft(){const t=this.getAircraftSelected();t.addStatus(u.TRAJECTORY),t.haveStatus(u.TRAJECTORY_LINE)||t.addStatus(u.TRAJECTORY_LINE),this.selectedAircraftsChange.emit(t)}unTrajectoryAircraft(){const t=this.getAircraftSelected();t.deleteMultiStatus([u.TRAJECTORY,u.TRAJECTORY_LINE]),this.selectedAircraftsChange.emit(t)}interceptionAircraft(){this.addStatus(u.INTERCEPTION)}unInterceptionAircraft(){this.deleteStatus(u.INTERCEPTION)}focusAircraft(){this.addStatus(u.FOCUS)}unFocusAircraft(){this.deleteStatus(u.FOCUS)}getAircraftSelected(){for(const t in this.selectedAircrafts)if(this.selectedAircrafts[t].haveStatus(u.SELECT))return this.selectedAircrafts[t]}checkAircraftHaveStatus(t){if(t.aircraft&&this.selectedAircrafts[t.aircraft.icao]&&this.selectedAircrafts[t.aircraft.icao].dontHaveStatus()){delete this.selectedAircrafts[t.aircraft.icao];const e=new c(t.aircraft,[u.UNSELECT]);this.selectedAircraftsChange.emit(e)}else this.selectedAircraftsChange.emit(t)}getCompleteAircraft(t,e){let n={icao:t.aircraft.icao};return e&&(n.createdAt=i(t.aircraft.createdAt).format(),n.since=i(e).format()),new Promise((e,l)=>{this.tripService.tripControllerGetTrip(n).subscribe(n=>{n.data&&t&&t.haveOneStatus([u.WATCH,u.SELECT])&&n.data&&(t.aircraft.updateTripAircraft(n.data),this.selectedAircraftsChange.emit(t),this.getImageAircraft(t),e())})})}getImageAircraft(t){this.httpClient.get(o.a.config.api["external.pictures"].url+"?m="+t.aircraft.icao).subscribe(e=>{e&&e&&e.data&&e.data[0]&&e.data[0].image&&(t.aircraft.pictureUrl=e.data[0].image.replace("/thumbnails",""))})}}return t.ngInjectableDef=l.cc({factory:function(){return new t(l.dc(a.c),l.dc(s.a))},token:t,providedIn:"root"}),t})()},"76lH":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[n][2]?i[n][2]:i[n][1]:l?i[n][0]:i[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(t,e,n){"use strict";let l=1;const i=(()=>Promise.resolve())(),r={};function o(t){return t in r&&(delete r[t],!0)}const a={setImmediate(t){const e=l++;return r[e]=!0,i.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var s=n("3N8a");class u extends s.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var c=n("IjjT");class d extends c.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,l=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++l<i&&(t=e.shift()));if(this.active=!1,n){for(;++l<i&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,"a",(function(){return h}));const h=new d(u)},"7QIX":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("/HVE"),r=n("XNiG"),o=n("itXk"),a=n("GyhO"),s=n("HDdC"),u=n("IzEk"),c=n("7o/Q");class d{constructor(t){this.total=t}call(t,e){return e.subscribe(new h(t,this.total))}}class h extends c.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var p=n("Kj3r"),f=n("lJxs"),b=n("JX91"),m=n("1G5W"),g=n("KCVW");n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return P}));const _=new Set;let y,A=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):v}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!_.has(t))try{y||(y=document.createElement("style"),y.setAttribute("type","text/css"),document.head.appendChild(y)),y.sheet&&(y.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),_.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(i.a))},token:t,providedIn:"root"}),t})();function v(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new r.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return w(Object(g.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=w(Object(g.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(o.a)(e);return n=Object(a.a)(n.pipe(Object(u.a)(1)),n.pipe(t=>t.lift(new d(1)),Object(p.a)(0))),n.pipe(Object(f.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new s.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(b.a)(e),Object(f.a)(e=>({query:t,matches:e.matches})),Object(m.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(A),Object(l.dc)(l.G))},token:t,providedIn:"root"}),t})();function w(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const P={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"7aV9":function(t,e,n){!function(t){"use strict";t.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,n){return t>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7drA":function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a;for(e=parseInt(e,10),n=parseFloat(n),l=parseFloat(l),o=1,i=Math.round(n);i>=t.BLOCK_SIZE;)i-=t.BLOCK_SIZE,o+=1;for(o%=t.GRIDSQUARE_SET_ROW_SIZE,a=0,r=Math.round(l);r>=t.BLOCK_SIZE;)r-=t.BLOCK_SIZE,a+=1;return a%=t.GRIDSQUARE_SET_COL_SIZE,function(e,n,l){var i,r;switch(0===n?n=t.GRIDSQUARE_SET_ROW_SIZE-1:n-=1,0===l?l=t.GRIDSQUARE_SET_COL_SIZE-1:l-=1,e){case 1:i="ABCDEFGH",r="ABCDEFGHJKLMNPQRSTUV";break;case 2:i="JKLMNPQR",r="FGHJKLMNPQRSTUVABCDE";break;case 3:i="STUVWXYZ",r="ABCDEFGHJKLMNPQRSTUV";break;case 4:i="ABCDEFGH",r="FGHJKLMNPQRSTUVABCDE";break;case 5:i="JKLMNPQR",r="ABCDEFGHJKLMNPQRSTUV";break;case 6:i="STUVWXYZ",r="FGHJKLMNPQRSTUVABCDE";break;default:throw"Invalid set passed to lettersHelper"}return i.charAt(l)+r.charAt(n)}(function(t){var e;switch(t=parseInt(t,10),t%=6){case 0:e=6;break;case 1:e=1;break;case 2:e=2;break;case 3:e=3;break;case 4:e=4;break;case 5:e=5;break;default:e=-1}return e}(e),o,a)}return function(n){return t=n,{findGridLetters:e}}})?l.apply(e,[]):l)||(t.exports=i)},"7gqw":function(t,e,n){"use strict";function l(t){return"https://upload.wikimedia.org/wikipedia/".concat(t)}t.exports={ABW:l("commons/f/f6/Flag_of_Aruba.svg"),AFG:l("commons/9/9a/Flag_of_Afghanistan.svg"),AGO:l("commons/9/9d/Flag_of_Angola.svg"),AIA:l("commons/b/b4/Flag_of_Anguilla.svg"),ALA:l("commons/5/52/Flag_of_%C3%85land.svg"),ALB:l("commons/3/36/Flag_of_Albania.svg"),AND:l("commons/1/19/Flag_of_Andorra.svg"),ANT:l("commons/e/eb/Flag_of_the_Netherlands_Antilles_(1959%E2%80%931986).svg"),ARE:l("commons/c/cb/Flag_of_the_United_Arab_Emirates.svg"),ARG:l("commons/1/1a/Flag_of_Argentina.svg"),ARM:l("commons/2/2f/Flag_of_Armenia.svg"),ASM:l("commons/8/87/Flag_of_American_Samoa.svg"),ATG:l("commons/8/89/Flag_of_Antigua_and_Barbuda.svg"),AUS:l("commons/8/88/Flag_of_Australia_(converted).svg"),AUT:l("commons/4/41/Flag_of_Austria.svg"),AZE:l("commons/d/dd/Flag_of_Azerbaijan.svg"),BDI:l("commons/5/50/Flag_of_Burundi.svg"),BEL:l("commons/6/65/Flag_of_Belgium.svg"),BEN:l("commons/0/0a/Flag_of_Benin.svg"),BES:l("commons/2/20/Flag_of_the_Netherlands.svg"),BFA:l("commons/3/31/Flag_of_Burkina_Faso.svg"),BGD:l("commons/f/f9/Flag_of_Bangladesh.svg"),BGR:l("commons/9/9a/Flag_of_Bulgaria.svg"),BHR:l("commons/2/2c/Flag_of_Bahrain.svg"),BHS:l("commons/9/93/Flag_of_the_Bahamas.svg"),BIH:l("commons/b/bf/Flag_of_Bosnia_and_Herzegovina.svg"),BLM:l("commons/0/03/Saint-Barthel\xe9my_Ic\xf4ne.svg"),BLR:l("commons/8/85/Flag_of_Belarus.svg"),BLZ:l("commons/e/e7/Flag_of_Belize.svg"),BMU:l("commons/b/bf/Flag_of_Bermuda.svg"),BOL:l("commons/5/5b/Bolivia_Flag.svg"),BRA:l("commons/0/05/Flag_of_Brazil.svg"),BRB:l("commons/e/ef/Flag_of_Barbados.svg"),BRN:l("commons/9/9c/Flag_of_Brunei.svg"),BTN:l("commons/9/91/Flag_of_Bhutan.svg"),BWA:l("commons/f/fa/Flag_of_Botswana.svg"),CAF:l("commons/6/6f/Flag_of_the_Central_African_Republic.svg"),CAN:l("commons/d/d9/Flag_of_Canada_(Pantone).svg"),CCK:l("commons/7/74/Flag_of_the_Cocos_(Keeling)_Islands.svg"),CHE:l("commons/f/f3/Flag_of_Switzerland.svg"),CHL:l("commons/7/78/Flag_of_Chile.svg"),CHN:l("commons/f/fa/Flag_of_the_People%27s_Republic_of_China.svg"),CIV:l("commons/f/fe/Flag_of_C\xf4te_d%27Ivoire.svg"),CMR:l("commons/4/4f/Flag_of_Cameroon.svg"),COD:l("commons/1/11/Flag_of_the_Democratic_Republic_of_the_Congo_(3-2).svg"),COG:l("commons/9/92/Flag_of_the_Republic_of_the_Congo.svg"),COK:l("commons/3/35/Flag_of_the_Cook_Islands.svg"),COL:l("commons/2/21/Flag_of_Colombia.svg"),COM:l("commons/d/df/Flag_of_the_Comoros_(3-2).svg"),CPV:l("commons/3/38/Flag_of_Cape_Verde.svg"),CRI:l("commons/b/bc/Flag_of_Costa_Rica_(state).svg"),CUB:l("commons/b/bd/Flag_of_Cuba.svg"),CUW:l("commons/b/b1/Flag_of_Cura\xe7ao.svg"),CXR:l("commons/6/67/Flag_of_Christmas_Island.svg"),CYM:l("commons/0/0f/Flag_of_the_Cayman_Islands.svg"),CYP:l("commons/d/d4/Flag_of_Cyprus.svg"),CZE:l("commons/c/cb/Flag_of_the_Czech_Republic.svg"),DEU:l("commons/b/ba/Flag_of_Germany.svg"),DJI:l("commons/3/34/Flag_of_Djibouti.svg"),DMA:l("commons/c/c4/Flag_of_Dominica.svg"),DNK:l("commons/9/9c/Flag_of_Denmark.svg"),DOM:l("commons/9/9f/Flag_of_the_Dominican_Republic.svg"),DZA:l("commons/7/77/Flag_of_Algeria.svg"),ECU:l("commons/e/e8/Flag_of_Ecuador.svg"),EGY:l("commons/f/fe/Flag_of_Egypt.svg"),ERI:l("commons/2/29/Flag_of_Eritrea.svg"),ESH:l("commons/2/26/Flag_of_the_Sahrawi_Arab_Democratic_Republic.svg"),ESP:l("commons/9/9a/Flag_of_Spain.svg"),EST:l("commons/8/8f/Flag_of_Estonia.svg"),ETH:l("commons/7/71/Flag_of_Ethiopia.svg"),FIN:l("commons/b/bc/Flag_of_Finland.svg"),FJI:l("commons/b/ba/Flag_of_Fiji.svg"),FLK:l("commons/8/83/Flag_of_the_Falkland_Islands.svg"),FRA:l("commons/c/c3/Flag_of_France.svg"),FRO:l("commons/3/3c/Flag_of_the_Faroe_Islands.svg"),FSM:l("commons/e/e4/Flag_of_the_Federated_States_of_Micronesia.svg"),GAB:l("commons/0/04/Flag_of_Gabon.svg"),GBR:l("commons/a/ae/Flag_of_the_United_Kingdom.svg"),GEO:l("commons/0/0f/Flag_of_Georgia.svg"),GGY:l("commons/f/fa/Flag_of_Guernsey.svg"),GHA:l("commons/1/19/Flag_of_Ghana.svg"),GIB:l("commons/0/02/Flag_of_Gibraltar.svg"),GIN:l("commons/e/ed/Flag_of_Guinea.svg"),GLP:l("commons/9/9f/Flag_of_France_%287x10%29.svg"),GMB:l("commons/7/77/Flag_of_The_Gambia.svg"),GNB:l("commons/0/01/Flag_of_Guinea-Bissau.svg"),GNQ:l("commons/3/31/Flag_of_Equatorial_Guinea.svg"),GRC:l("commons/5/5c/Flag_of_Greece.svg"),GRD:l("commons/b/bc/Flag_of_Grenada.svg"),GRL:l("commons/0/09/Flag_of_Greenland.svg"),GTM:l("commons/e/ec/Flag_of_Guatemala.svg"),GUF:l("commons/e/ed/Flag_of_France_%28Pantone%29.svg"),GUM:l("commons/0/07/Flag_of_Guam.svg"),GUY:l("commons/9/99/Flag_of_Guyana.svg"),HKG:l("commons/5/5b/Flag_of_Hong_Kong.svg"),HND:l("commons/8/8c/Flag_of_Honduras_(darker_variant).svg"),HRV:l("commons/1/1b/Flag_of_Croatia.svg"),HTI:l("commons/5/56/Flag_of_Haiti.svg"),HUN:l("commons/c/c1/Flag_of_Hungary.svg"),IDN:l("commons/9/9f/Flag_of_Indonesia.svg"),IMN:l("commons/b/bc/Flag_of_the_Isle_of_Man.svg"),IND:l("commons/4/41/Flag_of_India.svg"),IRL:l("commons/c/c0/Republic_of_Ireland_Flag.svg"),IRN:l("commons/c/ca/Flag_of_Iran.svg"),IRQ:l("commons/f/f6/Flag_of_Iraq.svg"),ISL:l("commons/c/ce/Flag_of_Iceland.svg"),ISR:l("commons/d/d4/Flag_of_Israel.svg"),ITA:l("commons/0/03/Flag_of_Italy.svg"),JAM:l("commons/0/0a/Flag_of_Jamaica.svg"),JEY:l("commons/1/1c/Flag_of_Jersey.svg"),JOR:l("commons/c/c0/Flag_of_Jordan.svg"),JPN:l("commons/b/bc/Flag_of_Japan%28bordered%29.svg"),KAZ:l("commons/d/d3/Flag_of_Kazakhstan.svg"),KEN:l("commons/4/49/Flag_of_Kenya.svg"),KGZ:l("commons/c/c7/Flag_of_Kyrgyzstan.svg"),KHM:l("commons/8/83/Flag_of_Cambodia.svg"),KIR:l("commons/d/d3/Flag_of_Kiribati.svg"),KNA:l("commons/f/fe/Flag_of_Saint_Kitts_and_Nevis.svg"),KOR:l("commons/0/09/Flag_of_South_Korea.svg"),KWT:l("commons/a/aa/Flag_of_Kuwait.svg"),LAO:l("commons/5/56/Flag_of_Laos.svg"),LBN:l("commons/5/59/Flag_of_Lebanon.svg"),LBR:l("commons/b/b8/Flag_of_Liberia.svg"),LBY:l("commons/0/05/Flag_of_Libya.svg"),LCA:l("commons/9/9f/Flag_of_Saint_Lucia.svg"),LIE:l("commons/4/47/Flag_of_Liechtenstein.svg"),LKA:l("commons/1/11/Flag_of_Sri_Lanka.svg"),LSO:l("commons/4/4a/Flag_of_Lesotho.svg"),LTU:l("commons/1/11/Flag_of_Lithuania.svg"),LUX:l("commons/d/da/Flag_of_Luxembourg.svg"),LVA:l("commons/8/84/Flag_of_Latvia.svg"),MAC:l("commons/6/63/Flag_of_Macau.svg"),MAF:l("commons/d/dd/Flag_of_Saint-Martin_%28fictional%29.svg"),MAR:l("commons/2/2c/Flag_of_Morocco.svg"),MCO:l("commons/e/ea/Flag_of_Monaco.svg"),MDA:l("commons/2/27/Flag_of_Moldova.svg"),MDG:l("commons/b/bc/Flag_of_Madagascar.svg"),MDV:l("commons/0/0f/Flag_of_Maldives.svg"),MEX:l("commons/f/fc/Flag_of_Mexico.svg"),MHL:l("commons/2/2e/Flag_of_the_Marshall_Islands.svg"),MKD:l("commons/7/79/Flag_of_North_Macedonia.svg"),MLI:l("commons/9/92/Flag_of_Mali.svg"),MLT:l("commons/7/73/Flag_of_Malta.svg"),MMR:l("commons/8/8c/Flag_of_Myanmar.svg"),MNE:l("commons/6/64/Flag_of_Montenegro.svg"),MNG:l("commons/4/4c/Flag_of_Mongolia.svg"),MNP:l("commons/e/e0/Flag_of_the_Northern_Mariana_Islands.svg"),MOZ:l("commons/d/d0/Flag_of_Mozambique.svg"),MRT:l("commons/4/43/Flag_of_Mauritania.svg"),MSR:l("commons/d/d0/Flag_of_Montserrat.svg"),MTQ:l("commons/2/21/Flag_of_the_Territorial_Collectivity_of_Martinique.svg"),MUS:l("commons/7/77/Flag_of_Mauritius.svg"),MWI:l("commons/d/d1/Flag_of_Malawi.svg"),MYS:l("commons/6/66/Flag_of_Malaysia.svg"),MYT:l("commons/c/c3/Flag_of_France.svg"),NAM:l("commons/0/00/Flag_of_Namibia.svg"),NCL:l("commons/6/66/Flag_of_FLNKS.svg"),NER:l("commons/f/f4/Flag_of_Niger.svg"),NFK:l("commons/4/48/Flag_of_Norfolk_Island.svg"),NGA:l("commons/7/79/Flag_of_Nigeria.svg"),NIC:l("commons/1/19/Flag_of_Nicaragua.svg"),NIU:l("commons/0/01/Flag_of_Niue.svg"),NLD:l("commons/2/20/Flag_of_the_Netherlands.svg"),NOR:l("commons/d/d9/Flag_of_Norway.svg"),NPL:l("commons/9/9b/Flag_of_Nepal.svg"),NRU:l("commons/3/30/Flag_of_Nauru.svg"),NZL:l("commons/3/3e/Flag_of_New_Zealand.svg"),OMN:l("commons/d/dd/Flag_of_Oman.svg"),PAK:l("commons/3/32/Flag_of_Pakistan.svg"),PAN:l("commons/a/ab/Flag_of_Panama.svg"),PCN:l("commons/8/88/Flag_of_the_Pitcairn_Islands.svg"),PER:l("commons/c/cf/Flag_of_Peru.svg"),PHL:l("commons/9/99/Flag_of_the_Philippines.svg"),PLW:l("commons/4/48/Flag_of_Palau.svg"),PNG:l("commons/e/e3/Flag_of_Papua_New_Guinea.svg"),POL:l("commons/1/12/Flag_of_Poland.svg"),PRI:l("commons/2/28/Flag_of_Puerto_Rico.svg"),PRK:l("commons/5/51/Flag_of_North_Korea.svg"),PRT:l("commons/5/5c/Flag_of_Portugal.svg"),PRY:l("commons/2/27/Flag_of_Paraguay.svg"),PSE:l("commons/f/f4/Palestine_Flag.svg"),PYF:l("commons/d/db/Flag_of_French_Polynesia.svg"),QAT:l("commons/6/65/Flag_of_Qatar.svg"),REU:l("commons/5/5a/Flag_of_R\xe9union.svg"),ROU:l("commons/7/73/Flag_of_Romania.svg"),RUS:l("commons/f/f3/Flag_of_Russia.svg"),RWA:l("commons/1/17/Flag_of_Rwanda.svg"),SAU:l("commons/0/0d/Flag_of_Saudi_Arabia.svg"),SDN:l("commons/0/01/Flag_of_Sudan.svg"),SEN:l("commons/f/fd/Flag_of_Senegal.svg"),SGP:l("commons/4/48/Flag_of_Singapore.svg"),SGS:l("commons/e/ed/Flag_of_South_Georgia_and_the_South_Sandwich_Islands.svg"),SHN:l("commons/0/00/Flag_of_Saint_Helena.svg"),SJM:l("commons/d/d9/Flag_of_Norway.svg"),SLB:l("commons/7/74/Flag_of_the_Solomon_Islands.svg"),SLE:l("commons/1/17/Flag_of_Sierra_Leone.svg"),SLV:l("commons/3/34/Flag_of_El_Salvador.svg"),SMR:l("commons/b/b1/Flag_of_San_Marino.svg"),SOM:l("commons/a/a0/Flag_of_Somalia.svg"),SPM:l("commons/7/74/Flag_of_Saint-Pierre_and_Miquelon.svg"),SRB:l("commons/f/ff/Flag_of_Serbia.svg"),SSD:l("commons/7/7a/Flag_of_South_Sudan.svg"),STP:l("commons/4/4f/Flag_of_Sao_Tome_and_Principe.svg"),SUR:l("commons/6/60/Flag_of_Suriname.svg"),SVK:l("commons/e/e6/Flag_of_Slovakia.svg"),SVN:l("commons/f/f0/Flag_of_Slovenia.svg"),SWE:l("commons/4/4c/Flag_of_Sweden.svg"),SWZ:l("commons/f/fb/Flag_of_Eswatini.svg"),SXM:l("commons/d/d3/Flag_of_Sint_Maarten.svg"),SYC:l("commons/f/fc/Flag_of_Seychelles.svg"),SYR:l("commons/5/53/Flag_of_Syria.svg"),TCA:l("commons/a/a0/Flag_of_the_Turks_and_Caicos_Islands.svg"),TCD:l("commons/4/4b/Flag_of_Chad.svg"),TGO:l("commons/6/68/Flag_of_Togo.svg"),THA:l("commons/a/a9/Flag_of_Thailand.svg"),TJK:l("commons/d/d0/Flag_of_Tajikistan.svg"),TKL:l("commons/8/8e/Flag_of_Tokelau.svg"),TKM:l("commons/1/1b/Flag_of_Turkmenistan.svg"),TLS:l("commons/2/26/Flag_of_East_Timor.svg"),TON:l("commons/9/9a/Flag_of_Tonga.svg"),TTO:l("commons/6/64/Flag_of_Trinidad_and_Tobago.svg"),TUN:l("commons/c/ce/Flag_of_Tunisia.svg"),TUR:l("commons/b/b4/Flag_of_Turkey.svg"),TUV:l("commons/3/38/Flag_of_Tuvalu.svg"),TWN:l("commons/7/72/Flag_of_the_Republic_of_China.svg"),TZA:l("commons/3/38/Flag_of_Tanzania.svg"),UGA:l("commons/4/4e/Flag_of_Uganda.svg"),UKR:l("commons/4/49/Flag_of_Ukraine.svg"),UMI:l("commons/0/05/Flag_of_the_U.S..svg"),URY:l("commons/f/fe/Flag_of_Uruguay.svg"),USA:l("commons/a/a4/Flag_of_the_United_States.svg"),UZB:l("commons/8/84/Flag_of_Uzbekistan.svg"),VAT:l("commons/0/00/Flag_of_the_Vatican_City.svg"),VCT:l("commons/6/6d/Flag_of_Saint_Vincent_and_the_Grenadines.svg"),VEN:l("commons/7/7b/Flag_of_Venezuela_(state).svg"),VGB:l("commons/4/42/Flag_of_the_British_Virgin_Islands.svg"),VIR:l("commons/f/f8/Flag_of_the_United_States_Virgin_Islands.svg"),VNM:l("commons/2/21/Flag_of_Vietnam.svg"),VUT:l("commons/6/6e/Flag_of_Vanuatu_(official).svg"),WLF:l("commons/d/d2/Flag_of_Wallis_and_Futuna.svg"),WSM:l("commons/3/31/Flag_of_Samoa.svg"),XXK:l("commons/1/1f/Flag_of_Kosovo.svg"),YEM:l("commons/8/89/Flag_of_Yemen.svg"),ZAF:l("commons/a/af/Flag_of_South_Africa.svg"),ZMB:l("commons/0/06/Flag_of_Zambia.svg"),ZWE:l("commons/6/6a/Flag_of_Zimbabwe.svg")}},"7jRU":function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var l=0;l<t.length;++l)if(t[l]===e)return l;return-1}},"7k00":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},"7kcP":function(t,e,n){"use strict";n.d(e,"e",(function(){return m})),n.d(e,"c",(function(){return b})),n.d(e,"a",(function(){return h})),n.d(e,"d",(function(){return d})),n.d(e,"b",(function(){return c}));var l=n("KCVW"),i=n("8Y7J"),r=n("Xd0L"),o=n("XNiG"),a=n("VRyK");n("GS7A");class s{}const u=Object(r.I)(Object(r.G)(s));class c extends u{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new o.a,this.start="asc",this._direction="",this.sortChange=new i.r}get direction(){return this._direction}set direction(t){if(Object(i.hb)()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(l.c)(t)}register(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error(`Cannot have two MatSortables with the same id (${t.id}).`);this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let e=function(t,e){let n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),n=e.indexOf(this.direction)+1;return n>=e.length&&(n=0),e[n]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}let d=(()=>{class t{constructor(){this.changes=new o.a,this.sortButtonLabel=t=>"Change sorting for "+t}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function h(t){return t||new d}class p{}const f=Object(r.G)(p);class b extends f{constructor(t,e,n,l){if(super(),this._intl=t,this._sort=n,this._columnDef=l,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",!n)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");this._rerenderSubscription=Object(a.a)(n.sortChange,n._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(l.c)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngOnDestroy(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_handleClick(){if(this._isDisabled())return;this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null}_renderArrow(){return!this._isDisabled()||this._isSorted()}}class m{}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("n6bG"),i=n("gRHU"),r=n("quSY"),o=n("2QA8"),a=n("2fFW"),s=n("NJ4a");class u extends r.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!t){this.destination=i.a;break}if("object"==typeof t){t instanceof u?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const l=new u(t,e,n);return l.syncErrorThrowable=!1,l}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class c extends u{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let a=this;Object(l.a)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==i.a&&(a=Object.create(e),Object(l.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(s.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(s.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(s.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(l){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=l,t.syncErrorThrown=!0,!0):(Object(s.a)(l),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};t.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"81KE":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("IheW");const i=new class{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};class r{constructor(t,e,n,l,i){this.name=t,this.value=e,this.options=n,this.options=n||{},null==this.options.style&&(this.options.style=l),null==this.options.explode&&(this.options.explode=i)}serializeValue(t,e=","){if(null==t)return"";if(t instanceof Array)return t.map(t=>this.serializeValue(t).split(e).join(encodeURIComponent(e))).join(e);if("object"==typeof t){const n=[];for(const l of Object.keys(t)){let i=t[l];null!=i&&(i=this.serializeValue(i).split(e).join(encodeURIComponent(e)),this.options.explode?n.push(`${l}=${i}`):(n.push(l),n.push(i)))}return n.join(e)}return String(t)}}class o extends r{constructor(t,e,n){super(t,e,n,"simple",!1)}append(t){let e=this.value;null==e&&(e="");let n="label"===this.options.style?".":"",l=this.options.explode?""===n?",":n:",";return"matrix"===this.options.style&&(n=`;${this.name}=`,this.options.explode&&"object"==typeof e&&(n=";",e instanceof Array?(e=e.map(t=>`${this.name}=${this.serializeValue(t,";")}`),l=";"):e=this.serializeValue(e,";"))),e=n+this.serializeValue(e,l),(t=t.replace(`{${this.name}}`,e)).replace(`{${n}${this.name}${this.options.explode?"*":""}}`,e)}}class a extends r{constructor(t,e,n){super(t,e,n,"form",!0)}append(t){if(this.value instanceof Array){if(!this.options.explode)return t.append(this.name,this.serializeValue(this.value,"spaceDelimited"===this.options.style?" ":"pipeDelimited"===this.options.style?"|":","));for(const e of this.value)t=t.append(this.name,this.serializeValue(e))}else if(null!==this.value&&"object"==typeof this.value)if("deepObject"===this.options.style)for(const e of Object.keys(this.value)){const n=this.value[e];null!=n&&(t=t.append(`${this.name}[${e}]`,this.serializeValue(n)))}else if(this.options.explode)for(const e of Object.keys(this.value)){const n=this.value[e];null!=n&&(t=t.append(e,this.serializeValue(n)))}else{const e=[];for(const t of Object.keys(this.value)){const n=this.value[t];null!=n&&(e.push(t),e.push(n))}t=t.append(this.name,this.serializeValue(e))}else null!=this.value&&(t=t.append(this.name,this.serializeValue(this.value)));return t}}class s extends r{constructor(t,e,n){super(t,e,n,"simple",!1)}append(t){if(null!=this.value)if(this.value instanceof Array)for(const e of this.value)t=t.append(this.name,this.serializeValue(e));else t=t.append(this.name,this.serializeValue(this.value));return t}}class u{constructor(t,e,n){this.rootUrl=t,this.operationPath=e,this.method=n,this._path=new Map,this._query=new Map,this._header=new Map}path(t,e,n){this._path.set(t,new o(t,e,n||{}))}query(t,e,n){this._query.set(t,new a(t,e,n||{}))}header(t,e,n){this._header.set(t,new s(t,e,n||{}))}body(t,e="application/json"){if(this._bodyContentType=t instanceof Blob?t.type:e,"application/x-www-form-urlencoded"===this._bodyContentType&&null!==t&&"object"==typeof t){const e=[];for(const n of Object.keys(t)){let l=t[n];l instanceof Array||(l=[l]);for(const t of l){const l=this.formDataValue(t);null!==l&&e.push([n,l])}}this._bodyContent=e.map(t=>`${encodeURIComponent(t[0])}=${encodeURIComponent(t[1])}`).join("&")}else if("multipart/form-data"===this._bodyContentType){const e=new FormData;if(null!=t)for(const n of Object.keys(t)){const l=t[n];if(l instanceof Array)for(const t of l){const l=this.formDataValue(t);null!==l&&e.append(n,l)}else{const t=this.formDataValue(l);null!==t&&e.set(n,t)}}this._bodyContent=e}else this._bodyContent=t}formDataValue(t){return null==t?null:t instanceof Blob?t:"object"==typeof t?JSON.stringify(t):String(t)}build(t){t=t||{};let e=this.operationPath;for(const l of this._path.values())e=l.append(e);const n=this.rootUrl+e;let r=new l.h({encoder:i});for(const l of this._query.values())r=l.append(r);let o=new l.g;t.accept&&(o=o.append("Accept",t.accept));for(const l of this._header.values())o=l.append(o);return!this._bodyContentType||this._bodyContent instanceof FormData||(o=o.set("Content-Type",this._bodyContentType)),new l.i(this.method.toUpperCase(),n,this._bodyContent,{params:r,headers:o,responseType:t.responseType,reportProgress:t.reportProgress})}}},"821u":function(t,e,n){"use strict";n.d(e,"m",(function(){return v})),n.d(e,"j",(function(){return N})),n.d(e,"e",(function(){return S})),n.d(e,"c",(function(){return k})),n.d(e,"d",(function(){return y})),n.d(e,"b",(function(){return D})),n.d(e,"a",(function(){return O})),n.d(e,"g",(function(){return I})),n.d(e,"f",(function(){return L})),n.d(e,"h",(function(){return R})),n.d(e,"i",(function(){return g})),n.d(e,"k",(function(){return F})),n.d(e,"l",(function(){return A})),n.d(e,"n",(function(){return x}));var l=n("8Y7J"),i=n("XNiG"),r=n("quSY"),o=n("VRyK"),a=n("LRne"),s=n("IzEk"),u=n("pLZG"),c=n("dvZr"),d=n("Xd0L"),h=n("zMNK"),p=(n("GS7A"),n("KCVW")),f=n("QQfA"),b=n("s7LF");function m(t){return Error(`MatDatepicker: No provider found for ${t}. You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}let g=(()=>{class t{constructor(){this.changes=new i.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class _{constructor(t,e,n,l,i){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=l,this.cssClasses=i}}class y{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new l.r}_cellClicked(t){t.enabled&&this.selectedValueChange.emit(t.value)}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:l}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?l-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),!e&&this._cellWidth||(this._cellWidth=100/l+"%")}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(s.a)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()})})}}class A{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this.selectedChange=new l.r,this._userSelection=new l.r,this.activeDateChange=new l.r,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._init()}_dateSelected(t){if(this._selectedDate!=t){const e=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),l=this._dateAdapter.createDate(e,n,t);this.selectedChange.emit(l)}this._userSelection.emit()}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case c.j:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case c.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case c.q:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case c.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case c.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case c.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case c.m:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case c.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case c.g:case c.o:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,l=this._firstWeekOffset;n<t;n++,l++){7==l&&(this._weeks.push([]),l=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),i=this._shouldEnableDate(t),r=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),o=this.dateClass?this.dateClass(t):void 0;this._weeks[this._weeks.length-1].push(new _(n+1,e[n],r,i,o))}}_shouldEnableDate(t){return!!t&&(!this.dateFilter||this.dateFilter(t))&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}class v{constructor(t,e,n){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this.selectedChange=new l.r,this.yearSelected=new l.r,this.activeDateChange=new l.r,!this._dateAdapter)throw m("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),C(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._init()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case c.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case c.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case c.q:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case c.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case c.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case c.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case c.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case c.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case c.g:case c.o:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return w(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){let e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new _(t,e,e,this._shouldEnableYear(t))}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}function C(t,e,n,l,i){const r=t.getYear(e),o=t.getYear(n),a=P(t,l,i);return Math.floor((r-a)/24)===Math.floor((o-a)/24)}function w(t,e,n,l){return((t.getYear(e)-P(t,n,l))%24+24)%24}function P(t,e,n){let l=0;return n?l=t.getYear(n)-24+1:e&&(l=t.getYear(e)),l}class x{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this.selectedChange=new l.r,this.monthSelected=new l.r,this.activeDateChange=new l.r,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._init()}_monthSelected(t){const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(e);const n=this._dateAdapter.getNumDaysInMonth(e);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case c.j:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case c.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case c.q:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case c.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case c.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case c.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case c.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case c.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case c.g:case c.o:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){let n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new _(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>l}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<l}return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}class S{constructor(t,e,n,l,i){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=l,this.calendar.stateChanges.subscribe(()=>i.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-w(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),l=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,l)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):C(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}class k{constructor(t,e,n,r){if(this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.r,this.yearSelected=new l.r,this.monthSelected=new l.r,this._userSelection=new l.r,this.stateChanges=new i.a,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe(()=>{r.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new h.d(this.headerComponent||S),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}_dateSelected(t){this._dateAdapter.sameDate(t,this.selected)||this.selectedChange.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_userSelected(){this._userSelection.emit()}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}let M=0;const O=new l.w("mat-datepicker-scroll-strategy");function D(t){return()=>t.scrollStrategies.reposition()}class T{constructor(t){this._elementRef=t}}const E=Object(d.E)(T);class I extends E{constructor(t){super(t)}ngAfterViewInit(){this._calendar.focusActiveCell()}}class L{constructor(t,e,n,o,a,s,u,c){if(this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=o,this._dateAdapter=s,this._dir=u,this._document=c,this.startView="month",this._touchUi=!1,this.yearSelected=new l.r,this.monthSelected=new l.r,this.openedStream=new l.r,this.closedStream=new l.r,this._opened=!1,this.id="mat-datepicker-"+M++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=r.a.EMPTY,this._disabledChange=new i.a,this._selectedChanged=new i.a,!this._dateAdapter)throw m("DateAdapter");this._scrollStrategy=a}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(p.c)(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(p.c)(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))}get opened(){return this._opened}set opened(t){t?this.open():this.close()}get _selected(){return this._validSelected}set _selected(t){this._validSelected=t}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null)}select(t){let e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this._selectedChanged.next(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_registerInput(t){if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe(t=>this._selected=t)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(I,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._setColor()}_openAsPopup(){this._calendarPortal||(this._calendarPortal=new h.d(I,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe(Object(s.a)(1)).subscribe(()=>{this._popupRef.updatePosition()}))}_createPopup(){const t=new f.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(o.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===c.h||this._datepickerInput&&t.altKey&&t.keyCode===c.q))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_setColor(){const t=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=t),this._dialogRef&&(this._dialogRef.componentInstance.color=t)}}class j{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}class R{constructor(t,e,n,i){if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this._formField=i,this.dateChange=new l.r,this.dateInput=new l.r,this._valueChange=new l.r,this._disabledChange=new l.r,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=r.a.EMPTY,this._localeSubscription=r.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.min||!e||this._dateAdapter.compareDate(this.min,e)<=0?null:{matDatepickerMin:{min:this.min,actual:e}}},this._maxValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.max||!e||this._dateAdapter.compareDate(this.max,e)>=0?null:{matDatepickerMax:{max:this.max,actual:e}}},this._filterValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return this._dateFilter&&e&&!this._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=b.w.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw m("DateAdapter");if(!this._dateFormats)throw m("MAT_DATE_FORMATS");this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(t=>{this.value=t,this._cvaOnChange(t),this._onTouched(),this.dateInput.emit(new j(this,this._elementRef.nativeElement)),this.dateChange.emit(new j(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const e=Object(p.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&n.blur&&n.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===c.e&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){let e=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e),this._dateAdapter.sameDate(e,this._value)?this._validatorOnChange():(this._value=e,this._cvaOnChange(e),this._valueChange.emit(e),this.dateInput.emit(new j(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new j(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}class F{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=r.a.EMPTY;const l=Number(n);this.tabIndex=l||0===l?l:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(p.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker._disabledChange:Object(a.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Object(a.a)(),n=this.datepicker?Object(o.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(a.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(o.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}class N{}},"8P0U":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("quSY"),n("xgIS"),n("pLZG"),n("Xd0L"),n("SVse");class l{}},"8Y7J":function(t,e,n){"use strict";n.d(e,"vb",(function(){return Eo})),n.d(e,"wb",(function(){return Io})),n.d(e,"xb",(function(){return Lo})),n.d(e,"yb",(function(){return jo})),n.d(e,"ub",(function(){return Or})),n.d(e,"tb",(function(){return sr})),n.d(e,"g",(function(){return _o})),n.d(e,"bb",(function(){return fo})),n.d(e,"F",(function(){return po})),n.d(e,"db",(function(){return Xt})),n.d(e,"hb",(function(){return $t})),n.d(e,"c",(function(){return Mr})),n.d(e,"K",(function(){return Tr})),n.d(e,"J",(function(){return Er})),n.d(e,"b",(function(){return Ir})),n.d(e,"d",(function(){return Sr})),n.d(e,"e",(function(){return kr})),n.d(e,"fb",(function(){return Oo})),n.d(e,"V",(function(){return ro})),n.d(e,"jb",(function(){return so})),n.d(e,"A",(function(){return jr})),n.d(e,"f",(function(){return Ro})),n.d(e,"r",(function(){return br})),n.d(e,"q",(function(){return Vt})),n.d(e,"P",(function(){return ye})),n.d(e,"Q",(function(){return _e})),n.d(e,"h",(function(){return y})),n.d(e,"a",(function(){return fn})),n.d(e,"n",(function(){return mn})),n.d(e,"X",(function(){return gn})),n.d(e,"l",(function(){return yr})),n.d(e,"o",(function(){return _r})),n.d(e,"s",(function(){return vr})),n.d(e,"I",(function(){return Ar})),n.d(e,"B",(function(){return Pr})),n.d(e,"Z",(function(){return Q})),n.d(e,"W",(function(){return Qn})),n.d(e,"cc",(function(){return C})),n.d(e,"cb",(function(){return w})),n.d(e,"eb",(function(){return M})),n.d(e,"v",(function(){return en})),n.d(e,"x",(function(){return on})),n.d(e,"dc",(function(){return z})),n.d(e,"gb",(function(){return G})),n.d(e,"t",(function(){return R})),n.d(e,"w",(function(){return j})),n.d(e,"u",(function(){return b})),n.d(e,"H",(function(){return m})),n.d(e,"R",(function(){return _})),n.d(e,"G",(function(){return Qr})),n.d(e,"M",(function(){return Kn})),n.d(e,"N",(function(){return $n})),n.d(e,"O",(function(){return Xn})),n.d(e,"k",(function(){return Br})),n.d(e,"m",(function(){return Bn})),n.d(e,"p",(function(){return Vn})),n.d(e,"C",(function(){return $})),n.d(e,"E",(function(){return W})),n.d(e,"D",(function(){return Ao})),n.d(e,"L",(function(){return gr})),n.d(e,"S",(function(){return wo})),n.d(e,"T",(function(){return vo})),n.d(e,"U",(function(){return bl})),n.d(e,"Y",(function(){return gl})),n.d(e,"i",(function(){return J})),n.d(e,"j",(function(){return Be})),n.d(e,"y",(function(){return cl})),n.d(e,"z",(function(){return dl})),n.d(e,"ab",(function(){return wn})),n.d(e,"ib",(function(){return To})),n.d(e,"Ib",(function(){return Pn})),n.d(e,"mb",(function(){return Lr})),n.d(e,"kb",(function(){return ln})),n.d(e,"lb",(function(){return zn})),n.d(e,"pb",(function(){return me})),n.d(e,"qb",(function(){return Ce})),n.d(e,"rb",(function(){return Zt})),n.d(e,"Gb",(function(){return L})),n.d(e,"Lb",(function(){return vn})),n.d(e,"Vb",(function(){return S})),n.d(e,"Jb",(function(){return jn})),n.d(e,"Kb",(function(){return Ln})),n.d(e,"Fb",(function(){return pr})),n.d(e,"Eb",(function(){return fr})),n.d(e,"nb",(function(){return ur})),n.d(e,"ob",(function(){return cr})),n.d(e,"bc",(function(){return st})),n.d(e,"Zb",(function(){return _n})),n.d(e,"fc",(function(){return Sn})),n.d(e,"ec",(function(){return kn})),n.d(e,"ac",(function(){return Mn})),n.d(e,"gc",(function(){return Dn})),n.d(e,"sb",(function(){return Fo})),n.d(e,"zb",(function(){return vi})),n.d(e,"Ab",(function(){return as})),n.d(e,"Bb",(function(){return Ll})),n.d(e,"Cb",(function(){return Vi})),n.d(e,"Db",(function(){return No})),n.d(e,"Hb",(function(){return ai})),n.d(e,"Mb",(function(){return fi})),n.d(e,"Nb",(function(){return pi})),n.d(e,"Ob",(function(){return $o})),n.d(e,"Pb",(function(){return Ei})),n.d(e,"Qb",(function(){return qi})),n.d(e,"Tb",(function(){return Wi})),n.d(e,"Rb",(function(){return Jo})),n.d(e,"Sb",(function(){return Ko})),n.d(e,"Ub",(function(){return Go})),n.d(e,"Wb",(function(){return Zo})),n.d(e,"Xb",(function(){return Il})),n.d(e,"Yb",(function(){return na}));var l=n("XNiG"),i=n("quSY"),r=n("HDdC"),o=n("VRyK"),a=n("w1tV");const s="__annotations__",u="__parameters__",c="__prop__metadata__";function d(t,e,n,l,i){const r=h(e);function o(...t){if(this instanceof o)return r.call(this,...t),this;const e=new o(...t);return function(n){return i&&i(n,...t),(n.hasOwnProperty(s)?n[s]:Object.defineProperty(n,s,{value:[]})[s]).push(e),l&&l(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function h(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function p(t,e,n){const l=h(e);function i(...t){if(this instanceof i)return l.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,l){const i=t.hasOwnProperty(u)?t[u]:Object.defineProperty(t,u,{value:[]})[u];for(;i.length<=l;)i.push(null);return(i[l]=i[l]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function f(t,e,n,l){const i=h(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return function(n,i){const r=n.constructor,o=r.hasOwnProperty(c)?r[c]:Object.defineProperty(r,c,{value:{}})[c];o[i]=o.hasOwnProperty(i)&&o[i]||[],o[i].unshift(e),l&&l(n,i,...t)}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}const b=p("Inject",t=>({token:t})),m=p("Optional"),g=p("Self"),_=p("SkipSelf"),y=p("Attribute",t=>({attributeName:t}));var A=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function v(t){for(let e in t)if(t[e]===v)return e;throw Error("Could not find renamed property on target object.")}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const w=C;function P(t){const e=t[x];return e&&e.token===t?e:null}const x=v({ngInjectableDef:v});function S(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(S).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}const k=v({__forward_ref__:v});function M(t){return t.__forward_ref__=M,t.toString=function(){return S(this())},t}function O(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(k)&&e.__forward_ref__===M?e():t}const D="undefined"!=typeof globalThis&&globalThis,T="undefined"!=typeof window&&window,E="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,I="undefined"!=typeof global&&global,L=D||I||T||E;class j{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const R=new j("INJECTOR",-1),F=new Object,N=/\n/gm,Y=v({provide:String,useValue:v});let U=void 0;function B(t){const e=U;return U=t,e}function z(t,e=A.Default){return function(t,e=A.Default){if(void 0===U)throw new Error("inject() must be called from an injection context");return null===U?function(t,e,n){const l=P(t);if(l&&"root"==l.providedIn)return void 0===l.value?l.value=l.factory():l.value;if(n&A.Optional)return null;throw new Error(`Injector: NOT_FOUND [${S(t)}]`)}(t,0,e):U.get(t,e&A.Optional?null:void 0,e)}(t,e)}const G=z;function H(t){const e=[];for(let n=0;n<t.length;n++){const l=O(t[n]);if(Array.isArray(l)){if(0===l.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=A.Default;for(let e=0;e<l.length;e++){const i=l[e];i instanceof m||"Optional"===i.ngMetadataName||i===m?n|=A.Optional:i instanceof _||"SkipSelf"===i.ngMetadataName||i===_?n|=A.SkipSelf:i instanceof g||"Self"===i.ngMetadataName||i===g?n|=A.Self:t=i instanceof b||i===b?i.token:i}e.push(z(t,n))}else e.push(z(l))}return e}class V{get(t,e=F){if(e===F){const e=new Error(`NullInjectorError: No provider for ${S(t)}!`);throw e.name="NullInjectorError",e}return e}}function q(t,e,n,l=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=S(e);if(e instanceof Array)i=e.map(S).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let l=e[n];t.push(n+":"+("string"==typeof l?JSON.stringify(l):S(l)))}i=`{${t.join(", ")}}`}return`${n}${l?"("+l+")":""}[${i}]: ${t.replace(N,"\n ")}`}class W{}class ${}function X(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function K(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const J=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Q=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),Z={},tt=[],et=v({ngComponentDef:v}),nt=v({ngDirectiveDef:v}),lt=v({ngPipeDef:v});let it=0;function rt(t){return function(t){return t[et]||null}(t)||function(t){return t[nt]||null}(t)}function ot(t){return function(t){return t[lt]||null}(t)}function at(t,e){if(null==t)return Z;const n={};for(const l in t)if(t.hasOwnProperty(l)){let i=t[l],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=l,e&&(e[i]=r)}return n}const st=function(t){const e=t.type,n=e.prototype,l={},i={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:l,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===J.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Q.Emulated,id:"c",styles:t.styles||tt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return i._=""+{toString:()=>{const n=t.directives,r=t.features,o=t.pipes;i.id+=it++,i.inputs=at(t.inputs,l),i.outputs=at(t.outputs),r&&r.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(rt):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(ot):null,e.hasOwnProperty(x)||(e[x]=C({token:e,factory:t.factory}))}},i};let ut=null;const ct=new Map;let dt,ht=null;function pt(t,e){return ht&&t===ht||(ht=t,e&&(ut=ct.get(t)||null),ut=ut||{classesBitMask:0,classesIndex:1,stylesBitMask:0,stylesIndex:1}),ut}function ft(t,e){return function(t){for(;Array.isArray(t);)t=t[0];return t}(e[t.index])}function bt(t,e){return e[1].data[t+19]}function mt(){return dt}const gt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(L))();function _t(t,e){0===e?t[2]>0&&function(t){At(t,2|yt(t))}(t):t[2]=e}function yt(t){return t[1]}function At(t,e){t[1]=e}function vt(t,e){return t[e+2]}function Ct(t,e){return 1&t[e+0]}function wt(t,e){return(1&Ct(t,e))>0}function Pt(t,e){return t[e+0]>>1}function xt(t,e,n){const l=Ct(t,e);t[e+0]=l|n<<1}function St(t,e){return t[e+1]}function kt(t,e,n){return t[e+3+n]}function Mt(t,e){return!(!t||e!==t[2])}function Ot(t){return(1&yt(t))>0}function Dt(t){return(2&yt(t))>0}function Tt(t){return 6+t[4]}function Et(t,e){let n=Array.isArray(t)?t[0]:t,l=Array.isArray(e)?e[0]:e;return n instanceof String&&(n=n.toString()),l instanceof String&&(l=l.toString()),function(t,e){return!(t!=t&&e!=e)&&t!==e}(n,l)}function It(t){return null!=t&&""!==t}function Lt(t){return t.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}function jt(t){return Rt(t)?t[0]:t}function Rt(t){return Array.isArray(t)&&t.length>=6&&"string"!=typeof t[1]}function Ft(t,e){return t[e+0]}function Nt(t,e,n){t[e+1]=n}function Yt(t,e){return t[e+1]}const Ut=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function Bt(t){return!!t.listen}function zt(t){return t.ngDebugContext}function Gt(t){return t.ngOriginalError}function Ht(t,...e){t.error(...e)}class Vt{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),l=function(t){return t.ngErrorLogger||Ht}(t);l(this._console,"ERROR",t),e&&l(this._console,"ORIGINAL ERROR",e),n&&l(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?zt(t)?zt(t):this._findContext(Gt(t)):null}_findOriginalError(t){let e=Gt(t);for(;e&&Gt(e);)e=Gt(e);return e}}let qt=!0,Wt=!1;function $t(){return Wt=!0,qt}function Xt(){if(Wt)throw new Error("Cannot enable prod mode after platform setup.");qt=!1}class Kt{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg>

<style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(l){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(t){const e=t.attributes;for(let l=e.length-1;0<l;l--){const n=e.item(l).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Jt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Qt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Zt(t){return(t=String(t)).match(Jt)||t.match(Qt)?t:($t()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function te(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ee(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ne=te("area,br,col,hr,img,wbr"),le=te("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ie=te("rp,rt"),re=ee(ie,le),oe=ee(ne,ee(le,te("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ee(ie,te("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),re),ae=te("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),se=te("srcset"),ue=ee(ae,se,te("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),te("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ce=te("script,style,template");class de{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!oe.hasOwnProperty(e))return this.sanitizedSomething=!0,!ce.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,r=e.toLowerCase();if(!ue.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;ae[r]&&(o=Zt(o)),se[r]&&(l=o,o=(l=String(l)).split(",").map(t=>Zt(t.trim())).join(", ")),this.buf.push(" ",e,'="',fe(o),'"')}var l;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();oe.hasOwnProperty(e)&&!ne.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(fe(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const he=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pe=/([^\#-~ |!])/g;function fe(t){return t.replace(/&/g,"&amp;").replace(he,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(pe,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let be;function me(t,e){let n=null;try{be=be||new Kt(t);let l=e?String(e):"";n=be.getInertBodyElement(l);let i=5,r=l;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,l=r,r=n.innerHTML,n=be.getInertBodyElement(l)}while(l!==r);const o=new de,a=o.sanitizeChildren(ge(n)||n);return $t()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=ge(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function ge(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const _e=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();class ye{}const Ae=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ve=/^url\(([^)]+)\)$/;function Ce(t){if(!(t=String(t).trim()))return"";const e=t.match(ve);return e&&Zt(e[1])===e[1]||t.match(Ae)&&function(t){let e=!0,n=!0;for(let l=0;l<t.length;l++){const i=t.charAt(l);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:($t()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}const we=/([A-Z])/g;function Pe(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}let xe=[];function Se(t,e,n,l,i,r,o,a,s){Ot(t)||(o?function(t,e,n,l,i){xe.unshift(t,e,n,l,i)}(t,n,l,i,s):(xe.length&&ke(),Me(t,n,l,i,s)));const u=a||Et(e[i],r);return u&&(e[i]=r),u}function ke(){let t=0;for(;t<xe.length;)Me(xe[t++],xe[t++],xe[t++],xe[t++],xe[t++]);xe.length=0}function Me(t,e,n,l,i){let r=!1;if(n){let o=!1,a=Tt(t);for(;a<t.length;){const r=St(t,a),s=vt(t,a);if(o=n<=s,o){n<s&&Oe(t,a,n,i),De(t,!1,a,l,e);break}a+=3+r}o||(Oe(t,t.length,n,i),De(t,!1,a,l,e),r=!0)}else De(t,!0,3,l,e),r=!0;return r}function Oe(t,e,n,l){t.splice(e,0,l?1:0,1,n,null),xt(t,e,1)}function De(t,e,n,l,i){const r=n+3;let o=r+St(t,n);if(e||o--,"number"==typeof l){for(let e=r;e<=o;e++)if(t[e]===l)return;t.splice(o,0,l),t[n+1]++,xt(t,n,Pt(t,n)|1<<i)}else null!==l&&null==t[o]&&(t[o]=l)}function Te(t,e,n,l,i,r,o,a){return i&&l&&(function(t){if(!Ot(t)){const e=jt(t);e&&function(t,e){for(let n=1;n<e.length;n+=2){const l=Yt(e,n);l&&Me(t,-1,Ft(e,n),l,!1)}}(t,e),function(t){At(t,1|yt(t))}(t)}}(l),function(t,e){return t&&e>0}(l,r))?(function(t,e,n,l,i,r,o){const a=!0===(s=i)?-1:!1===s?0:s;var s;const u=Ee,c=(a&Pt(t,3))>0?1:0;let d=Tt(t);for(;d<t.length;){const i=St(t,d);if(a&Pt(t,d)){let a=!1;const s=vt(t,d),h=i-1,p=kt(t,d,h);for(let i=0;i<h;i++){const u=kt(t,d,i),c=l[u];if(It(c)){r(e,n,s,o&&wt(t,d)?o(s,c,2):c,u),a=!0;break}}if(u){const i=u(t,e,n,l,r,o,c|(a?4:2),s,p);a=a||i}a||r(e,n,s,p)}d+=3+i}u&&u(t,e,n,l,r,o,c)}(l,t,e,n,r,o,a),!0):i}let Ee=null;const Ie=(t,e,n,l)=>{const i=e.style;l?(l=l.toString(),t&&Bt(t)?t.setStyle(e,n,l,Ut.DashCase):i&&i.setProperty(n,l)):t&&Bt(t)?t.removeStyle(e,n,Ut.DashCase):i&&i.removeProperty(n)},Le=(t,e,n,l)=>{if(""!==n){const i=e.classList;l?t&&Bt(t)?t.addClass(e,n):i&&i.add(n):t&&Bt(t)?t.removeClass(e,n):i&&i.remove(n)}},je={},Re=(t,e,n,l,i,r,o,a,s)=>{let u=!1;if(St(t,3)){let c=!0;const d=!a;d&&-2&o&&(c=!1,u=!0),c&&(u=function t(e,n,l,i,r,o,a,s,u,c){let d=!1;if(u<St(e,3)){const h=kt(e,3,u),p=i[h];let f=function(t){return t>=Ye.length&&Ye.push(1),Ye[t]}(u);for(;f<p.length;){const b=Ft(p,f),m=s&&b>s,g=!m&&b===s,_=Yt(p,f),y=It(_);let A=t(e,n,l,i,r,o,m?a:Fe(a,y,g),m?s:b,u+1,c);if(m){d||(d=A);break}if(!A&&Ne(a,g)){const t=g&&!y,e=t?c:_,i=t?h:null;r(n,l,b,o?o(b,e,3):e,i),A=!0}d=A&&g,f+=2}if(Ye[u]=f,1===p.length||!s)return t(e,n,l,i,r,o,a,s,u+1,c)}return d}(t,e,n,l,i,r,o,a||null,0,s||null)),d&&function(){for(let t=0;t<Ye.length;t++)Ye[t]=1}()}return u};function Fe(t,e,n){let l=t;return e||4&t||!(n||1&t)?(l|=4,l&=-3):(l|=2,l&=-5),l}function Ne(t,e){let n=(1&t)>0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}const Ye=[];function Ue(t,e,n,l){for(let i=1;i<t.length;i+=2){const r=Ft(t,i);if(e<=r){let o=!1;if(r===e){const e=t[i];!l&&It(e)||(o=!0,Nt(t,i,n))}else o=!0,t.splice(i,0,e,n);return o}}return t.push(e,n),!0}let Be=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ze(),t})();const ze=(...t)=>{},Ge=Function;function He(t){return"function"==typeof t}const Ve=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,qe=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,We=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,$e=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/;class Xe{constructor(t){this._reflect=t||L.Reflect}isReflectionEnabled(){return!0}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=new Array(void 0===t?e.length:t.length);for(let l=0;l<n.length;l++)n[l]=void 0===t?[]:t[l]&&t[l]!=Object?[t[l]]:[],e&&null!=e[l]&&(n[l]=n[l].concat(e[l]));return n}_ownParameters(t,e){if(n=t.toString(),Ve.test(n)||$e.test(n)||qe.test(n)&&!We.test(n))return null;var n;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const l=t.ctorParameters;if(l&&l!==e.ctorParameters){const t="function"==typeof l?l():l,e=t.map(t=>t&&t.type),n=t.map(t=>t&&Ke(t.decorators));return this._zipTypesAndAnnotations(e,n)}const i=t.hasOwnProperty(u)&&t[u],r=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return r||i?this._zipTypesAndAnnotations(r,i):new Array(t.length).fill(void 0)}parameters(t){if(!He(t))return[];const e=Je(t);let n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?Ke(t.decorators):t.hasOwnProperty(s)?t[s]:null}annotations(t){if(!He(t))return[];const e=Je(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach(t=>{n[t]=Ke(e[t])}),n}return t.hasOwnProperty(c)?t[c]:null}propMetadata(t){if(!He(t))return{};const e=Je(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach(e=>{n[e]=t[e]})}const l=this._ownPropMetadata(t,e);return l&&Object.keys(l).forEach(t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...l[t]),n[t]=e}),n}ownPropMetadata(t){return He(t)&&this._ownPropMetadata(t,Je(t))||{}}hasLifecycleHook(t,e){return t instanceof Ge&&e in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+S(t)}resourceUri(t){return"./"+S(t)}resolveIdentifier(t,e,n,l){return l}resolveEnum(t,e){return t[e]}}function Ke(t){return t?t.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Je(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}const Qe=v({provide:String,useValue:v}),Ze=[];function tn(t,e){if(!e){const e=(new Xe).parameters(t);return()=>new t(...H(e))}if(Qe in e){const t=e;return()=>t.useValue}if(e.useExisting){const t=e;return()=>z(t.useExisting)}if(e.useFactory){const t=e;return()=>t.useFactory(...H(t.deps||Ze))}if(e.useClass){const n=e;let l=e.deps;if(!l){const e=new Xe;l=e.parameters(t)}return()=>new n.useClass(...H(l))}{let n=e.deps;if(!n){const e=new Xe;n=e.parameters(t)}return()=>new t(...H(n))}}const en=d("Injectable",void 0,void 0,void 0,(t,e)=>nn(t,e)),nn=function(t,e){e&&void 0!==e.providedIn&&!P(t)&&(t.ngInjectableDef=C({token:t,providedIn:e.providedIn,factory:tn(t,e)}))},ln=new j("The presence of this token marks an injector as being the root injector."),rn=function(t,e,n){return new dn(t,e,n)};let on=(()=>{class t{static create(t,e){return Array.isArray(t)?rn(t,e,""):rn(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=F,t.NULL=new V,t.ngInjectableDef=C({token:t,providedIn:"any",factory:()=>z(R)}),t.__NG_ELEMENT_ID__=-1,t})();const an=function(t){return t},sn=[],un=an,cn=function(){return Array.prototype.slice.call(arguments)};class dn{constructor(t,e=on.NULL,n=null){this.parent=e,this.source=n;const l=this._records=new Map;l.set(on,{token:on,fn:an,deps:sn,value:this,useNew:!1}),l.set(R,{token:R,fn:an,deps:sn,value:this,useNew:!1}),function t(e,n){if(n)if((n=O(n))instanceof Array)for(let l=0;l<n.length;l++)t(e,n[l]);else{if("function"==typeof n)throw pn("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw pn("Unexpected provider",n);{let t=O(n.provide);const l=function(t){const e=function(t){let e=sn;const n=t.deps;if(n&&n.length){e=[];for(let t=0;t<n.length;t++){let l=6,i=O(n[t]);if(i instanceof Array)for(let t=0,e=i;t<e.length;t++){const n=e[t];n instanceof m||n==m?l|=1:n instanceof _||n==_?l&=-3:n instanceof g||n==g?l&=-5:i=n instanceof b?n.token:O(n)}e.push({token:i,options:l})}}else if(t.useExisting)e=[{token:O(t.useExisting),options:6}];else if(!n&&!(Y in t))throw pn("'deps' required",t);return e}(t);let n=an,l=sn,i=!1,r=O(t.provide);if(Y in t)l=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)i=!0,n=O(t.useClass);else{if("function"!=typeof r)throw pn("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);i=!0,n=r}return{deps:e,fn:n,useNew:i,value:l}}(n);if(!0===n.multi){let l=e.get(t);if(l){if(l.fn!==cn)throw hn(t)}else e.set(t,l={token:n.provide,deps:[],useNew:!1,fn:cn,value:sn});t=n,l.deps.push({token:t,options:6})}const i=e.get(t);if(i&&i.fn==cn)throw hn(t);e.set(t,l)}}}(l,t)}get(t,e,n=A.Default){const l=this._records.get(t);try{return function t(e,n,l,i,r,o){try{return function(e,n,l,i,r,o){let a;if(!n||o&A.SkipSelf)o&A.Self||(a=i.get(e,r,A.Default));else{if(a=n.value,a==un)throw Error("\u0275Circular dependency");if(a===sn){n.value=un;let e=void 0,r=n.useNew,o=n.fn,s=n.deps,u=sn;if(s.length){u=[];for(let e=0;e<s.length;e++){const n=s[e],r=n.options,o=2&r?l.get(n.token):void 0;u.push(t(n.token,o,l,o||4&r?i:on.NULL,1&r?null:on.THROW_IF_NOT_FOUND,A.Default))}}n.value=a=r?new o(...u):o.apply(e,u)}}return a}(e,n,l,i,r,o)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(e),n&&n.value==un&&(n.value=sn),a}}(t,l,this._records,this.parent,e,n)}catch(i){return function(t,e,n,l){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=q("\n"+t.message,i,"StaticInjectorError",l),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(i,t,0,this.source)}}toString(){const t=[];return this._records.forEach((e,n)=>t.push(S(n))),`StaticInjector[${t.join(", ")}]`}}function hn(t){return pn("Cannot mix multi providers and regular providers",t)}function pn(t,e){return new Error(q(t,e,"StaticInjectorError"))}const fn=new j("AnalyzeForEntryComponents");class bn{}const mn=f("ContentChild",(t,e={})=>Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e),bn),gn=f("ViewChild",(t,e)=>Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e),bn);function _n(t){const e=(void 0)[1];e.firstTemplatePass&&(function(t,e,n){const l=t.expandoInstructions,i=l.length;i>=2&&l[i-2]===null.hostBindings?l[i-1]=l[i-1]+n:l.push(null.hostBindings,n)}(e,0,t),function(t,e,n){for(let l=0;l<n;l++)(void 0).push(je),t.blueprint.push(je),t.data.push(null)}(e,0,t))}let yn=null;function An(){if(!yn){const t=L.Symbol;if(t&&t.iterator)yn=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(yn=n)}}}return yn}function vn(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Cn(t,e){const n=Pn(t),l=Pn(e);if(n&&l)return function(t,e,n){const l=t[An()](),i=e[An()]();for(;;){const t=l.next(),e=i.next();if(t.done&&e.done)return!0;if(t.done||e.done)return!1;if(!n(t.value,e.value))return!1}}(t,e,Cn);{const i=t&&("object"==typeof t||"function"==typeof t),r=e&&("object"==typeof e||"function"==typeof e);return!(n||!i||l||!r)||vn(t,e)}}class wn{constructor(t){this.wrapped=t}static wrap(t){return new wn(t)}static unwrap(t){return wn.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof wn}}function Pn(t){return!!xn(t)&&(Array.isArray(t)||!(t instanceof Map)&&An()in t)}function xn(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Sn(){(void 0)[1].firstTemplatePass&&(1,_t(En(void 0),1),_t(Tn(void 0),1))}function kn(t){const e=bt(-1,void 0),n=Tn(e),l=(void 0)[7]++;On(-1,n,l,t,!1,!1)}function Mn(t){!function(t,e){const n=bt(-1,void 0),l=En(n),i=(void 0)[7]++;On(-1,l,i,e,!0,!1)}(0,t)}function On(t,e,n,l,i,r){Ee=Re;let o=!1;if(l!==je){const a=ft(bt(t,void 0),void 0),s=(void 0)[n];o=Et(s,l);const u=function(t,e,n){const l=Array.isArray(t)?t:[null];l[0]=e||null;for(let a=1;a<l.length;a+=2)Nt(l,a,null);let i,r=null,o=!1;if("string"==typeof e?e.length&&(r=e.split(/\s+/),o=!0):(r=e?Object.keys(e):null,i=e),r)for(let a=0;a<r.length;a++){const t=r[a];Ue(l,n?Lt(t):t,!!o||i[t],!0)}return l}(s,l,!i);i?function(t,e,n,l,i,r,o,a){const s=pt(n,Dt(t));!Se(t,void 0,0,null,i,r,o,a,!1)&&!a||(s.classesBitMask|=1)}(e,0,a,0,n,u,r,o):function(t,e,n,l,i,r,o,a,s){const u=pt(n,Dt(t));!Se(t,void 0,0,null,i,r,a,s,!0)&&!s||(u.stylesBitMask|=1)}(e,0,a,0,n,u,mt(),r,o)}return o}function Dn(){const t=bt(-1,void 0),e=function(t,e){return 3===t.type?(void 0)[12]:null}(t),n=ft(t,void 0),l=mt();(function(t,e,n,l,i,r,o){const a=n?Dt(n):!!l&&Dt(l),s=Mt(n,r),u=Mt(l,r);xe.length&&(s||u)&&ke();const c=pt(i,a),d=Te(t,i,e,n,s,c.classesBitMask,Le,null),h=Te(t,i,e,l,u,c.stylesBitMask,Ie,o);d&&h?(ut=null,ht=null,a&&function(t){ct.delete(t)}(i)):a&&function(t,e){ct.set(t,e)}(i,c)})(e,void 0,En(t),Tn(t),n,1,l),dt=null}function Tn(t){return In(t,!1)}function En(t){return In(t,!0)}function In(t,e){let n=e?t.classes:t.styles;return Rt(n)||(n=[n||[""],0,0,1,0,"--MAP--"],e?t.classes=n:t.styles=n),n}function Ln(t){return!!t&&"function"==typeof t.then}function jn(t){return!!t&&"function"==typeof t.subscribe}class Rn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}class Fn{}function Nn(t){const e=Error(`No component factory found for ${S(t)}. Did you add it to @NgModule.entryComponents?`);return e[Yn]=t,e}const Yn="ngComponent";class Un{resolveComponentFactory(t){throw Nn(t)}}let Bn=(()=>{class t{}return t.NULL=new Un,t})();class zn{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let l=0;l<t.length;l++){const e=t[l];this._factories.set(e.componentType,e)}}resolveComponentFactory(t){let e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Nn(t);return new Gn(e,this._ngModule)}}class Gn extends Fn{constructor(t,e){super(),this.factory=t,this.ngModule=e,this.selector=t.selector,this.componentType=t.componentType,this.ngContentSelectors=t.ngContentSelectors,this.inputs=t.inputs,this.outputs=t.outputs}create(t,e,n,l){return this.factory.create(t,e,n,l||this.ngModule)}}function Hn(...t){}let Vn=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>qn(t),t})();const qn=Hn;class Wn{}class $n{}const Xn=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let Kn=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Jn(),t})();const Jn=Hn;class Qn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Zn=new Qn("8.2.14");class tl{constructor(){}supports(t){return Pn(t)}create(t){return new nl(t)}}const el=(t,e)=>e;class nl{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||el}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,l=0,i=null;for(;e||n;){const r=!n||e&&e.currentIndex<ol(n,l,i)?e:n,o=ol(r,l,i),a=r.currentIndex;if(r===n)l--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)l++;else{i||(i=[]);const t=o-l,e=a-l;if(t!=e){for(let n=0;n<t;n++){const l=n<i.length?i[n]:i[n]=0,r=l+n;e<=r&&r<t&&(i[n]=l+1)}i[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Pn(t))throw new Error(`Error trying to diff '${S(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,l,i=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],l=this._trackByFn(e,n),null!==i&&vn(i.trackById,l)?(r&&(i=this._verifyReinsertion(i,n,l,e)),vn(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,l,e),r=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[An()]();let l;for(;!(l=n.next()).done;)e(l.value)}}(t,t=>{l=this._trackByFn(e,t),null!==i&&vn(i.trackById,l)?(r&&(i=this._verifyReinsertion(i,t,l,e)),vn(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,l,e),r=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,l){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,l))?(vn(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,l)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(vn(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,l)):t=this._addAfter(new ll(e,n),i,l),t}_verifyReinsertion(t,e,n,l){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,i=t._nextRemoved;return null===l?this._removalsHead=i:l._nextRemoved=i,null===i?this._removalsTail=l:i._prevRemoved=l,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const l=null===e?this._itHead:e._next;return t._next=l,t._prev=e,null===l?this._itTail=t:l._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new rl),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rl),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ll{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class il{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&vn(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class rl{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new il,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ol(t,e,n){const l=t.previousIndex;if(null===l)return l;let i=0;return n&&l<n.length&&(i=n[l]),l+e+i}class al{constructor(){}supports(t){return t instanceof Map||xn(t)}create(){return new sl}}class sl{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||xn(t)))throw new Error(`Error trying to diff '${S(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const l=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,l)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const l=n._prev,i=n._next;return l&&(l._next=i),i&&(i._prev=l),n._next=null,n._prev=null,n}const n=new ul(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){vn(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class ul{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let cl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _,new m]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.ngInjectableDef=C({token:t,providedIn:"root",factory:()=>new t([new tl])}),t})(),dl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _,new m]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.ngInjectableDef=C({token:t,providedIn:"root",factory:()=>new t([new al])}),t})();const hl=[new al],pl=new cl([new tl]),fl=new dl(hl);let bl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ml(t,Vn),t})();const ml=Hn;let gl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>_l(t,Vn),t})();const _l=Hn;function yl(t,e,n,l){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return l&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){const n=new Error(t);return Al(n,e),n}(i,t)}function Al(t,e){t.ngDebugContext=e,t.ngErrorLogger=e.logError.bind(e)}function vl(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function Cl(t,e,n){const l=t.state,i=1792&l;return i===e?(t.state=-1793&l|n,t.initIndex=-1,!0):i===n}function wl(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Pl(t,e){return t.nodes[e]}function xl(t,e){return t.nodes[e]}function Sl(t,e){return t.nodes[e]}function kl(t,e){return t.nodes[e]}function Ml(t,e){return t.nodes[e]}const Ol={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Dl=()=>{},Tl=new Map;function El(t){let e=Tl.get(t);return e||(e=S(t)+"_"+Tl.size,Tl.set(t,e)),e}function Il(t,e,n,l){if(wn.isWrapped(l)){l=wn.unwrap(l);const i=t.def.nodes[e].bindingIndex+n,r=wn.unwrap(t.oldValues[i]);t.oldValues[i]=new wn(r)}return l}function Ll(t){return{id:"$$undefined",styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let jl=0;function Rl(t,e,n,l){return!(!(2&t.state)&&vn(t.oldValues[e.bindingIndex+n],l))}function Fl(t,e,n,l){return!!Rl(t,e,n,l)&&(t.oldValues[e.bindingIndex+n]=l,!0)}function Nl(t,e,n,l){const i=t.oldValues[e.bindingIndex+n];if(1&t.state||!Cn(i,l)){const r=e.bindings[n].name;throw yl(Ol.createDebugContext(t,e.nodeIndex),`${r}: ${i}`,`${r}: ${l}`,0!=(1&t.state))}}function Yl(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Ul(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Bl(t,e,n,l){try{return Yl(33554432&t.def.nodes[e].flags?xl(t,e).componentView:t),Ol.handleEvent(t,e,n,l)}catch(i){t.root.errorHandler.handleError(i)}}function zl(t){return t.parent?xl(t.parent,t.parentNodeDef.nodeIndex):null}function Gl(t){return t.parent?t.parentNodeDef.parent:null}function Hl(t,e){switch(201347067&e.flags){case 1:return xl(t,e.nodeIndex).renderElement;case 2:return Pl(t,e.nodeIndex).renderText}}function Vl(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function ql(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function Wl(t){return 1<<t%32}function $l(t){const e={};let n=0;const l={};return t&&t.forEach(([t,i])=>{"number"==typeof t?(e[t]=i,n|=Wl(t)):l[t]=i}),{matchedQueries:e,references:l,matchedQueryIds:n}}function Xl(t,e){return t.map(t=>{let n,l;return Array.isArray(t)?[l,n]=t:(l=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,"__source",{value:e,configurable:!0}),{flags:l,token:n,tokenKey:El(n)}})}function Kl(t,e,n){let l=n.renderParent;return l?0==(1&l.flags)||0==(33554432&l.flags)||l.element.componentRendererType&&l.element.componentRendererType.encapsulation===Q.Native?xl(t,n.renderParent.nodeIndex).renderElement:void 0:e}const Jl=new WeakMap;function Ql(t){let e=Jl.get(t);return e||(e=t(()=>Dl),e.factory=t,Jl.set(t,e)),e}function Zl(t,e,n,l,i){3===e&&(n=t.renderer.parentNode(Hl(t,t.def.lastRenderRootNode))),ti(t,e,0,t.def.nodes.length-1,n,l,i)}function ti(t,e,n,l,i,r,o){for(let a=n;a<=l;a++){const n=t.def.nodes[a];11&n.flags&&ni(t,n,e,i,r,o),a+=n.childCount}}function ei(t,e,n,l,i,r){let o=t;for(;o&&!Vl(o);)o=o.parent;const a=o.parent,s=Gl(o),u=s.nodeIndex+s.childCount;for(let c=s.nodeIndex+1;c<=u;c++){const t=a.def.nodes[c];t.ngContentIndex===e&&ni(a,t,n,l,i,r),c+=t.childCount}if(!a.parent){const o=t.root.projectableNodes[e];if(o)for(let e=0;e<o.length;e++)li(t,o[e],n,l,i,r)}}function ni(t,e,n,l,i,r){if(8&e.flags)ei(t,e.ngContent.index,n,l,i,r);else{const o=Hl(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&li(t,o,n,l,i,r),32&e.bindingFlags&&li(xl(t,e.nodeIndex).componentView,o,n,l,i,r)):li(t,o,n,l,i,r),16777216&e.flags){const o=xl(t,e.nodeIndex).viewContainer._embeddedViews;for(let t=0;t<o.length;t++)Zl(o[t],n,l,i,r)}1&e.flags&&!e.element.name&&ti(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,l,i,r)}}function li(t,e,n,l,i,r){const o=t.renderer;switch(n){case 1:o.appendChild(l,e);break;case 2:o.insertBefore(l,e,i);break;case 3:o.removeChild(l,e);break;case 0:r.push(e)}}const ii=/^:([^:]+):(.+)$/;function ri(t){if(":"===t[0]){const e=t.match(ii);return[e[1],e[2]]}return["",t]}function oi(t){let e=0;for(let n=0;n<t.length;n++)e|=t[n].flags;return e}function ai(t,e,n,l,i,r,o,a,s,u,c,d,h,p,f,b,m,g,_,y){switch(t){case 1:return e+si(n)+l;case 2:return e+si(n)+l+si(i)+r;case 3:return e+si(n)+l+si(i)+r+si(o)+a;case 4:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u;case 5:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d;case 6:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p;case 7:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p+si(f)+b;case 8:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p+si(f)+b+si(m)+g;case 9:return e+si(n)+l+si(i)+r+si(o)+a+si(s)+u+si(c)+d+si(h)+p+si(f)+b+si(m)+g+si(_)+y;default:throw new Error("Does not support more than 9 expressions")}}function si(t){return null!=t?t.toString():""}const ui=new Object,ci=El(on),di=El(R),hi=El(W);function pi(t,e,n,l){return n=O(n),{index:-1,deps:Xl(l,S(e)),flags:t,token:e,value:n}}function fi(t){const e={},n=[];let l=!1;for(let i=0;i<t.length;i++){const r=t[i];r.token===ln&&!0===r.value&&(l=!0),1073741824&r.flags&&n.push(r.token),r.index=i,e[El(r.token)]=r}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:l}}function bi(t,e,n=on.THROW_IF_NOT_FOUND){const l=B(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);const o=e.tokenKey;switch(o){case ci:case di:case hi:return t}const a=t._def.providersByKey[o];let s;if(a){let e=t._providers[a.index];return void 0===e&&(e=t._providers[a.index]=mi(t,a)),e===ui?void 0:e}if((s=P(e.token))&&(i=t,null!=(r=s).providedIn&&(function(t,e){return t._def.modules.indexOf(e)>-1}(i,r.providedIn)||"root"===r.providedIn&&i._def.isRoot))){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:n,token:e.token},t._providers[n]=ui,t._providers[n]=mi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{B(l)}var i,r}function mi(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const l=n.length;switch(l){case 0:return new e;case 1:return new e(bi(t,n[0]));case 2:return new e(bi(t,n[0]),bi(t,n[1]));case 3:return new e(bi(t,n[0]),bi(t,n[1]),bi(t,n[2]));default:const i=new Array(l);for(let e=0;e<l;e++)i[e]=bi(t,n[e]);return new e(...i)}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){const l=n.length;switch(l){case 0:return e();case 1:return e(bi(t,n[0]));case 2:return e(bi(t,n[0]),bi(t,n[1]));case 3:return e(bi(t,n[0]),bi(t,n[1]),bi(t,n[2]));default:const i=Array(l);for(let e=0;e<l;e++)i[e]=bi(t,n[e]);return e(...i)}}(t,e.value,e.deps);break;case 2048:n=bi(t,e.deps[0]);break;case 256:n=e.value}return n===ui||null===n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?ui:n}function gi(t,e){const n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;const l=n[e];return l.viewContainerParent=null,K(n,e),Ol.dirtyParentQueries(l),yi(l),l}function _i(t,e,n){const l=e?Hl(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(l),r=n.renderer.nextSibling(l);Zl(n,2,i,r,void 0)}function yi(t){Zl(t,3,null,null,void 0)}const Ai=new Object;function vi(t,e,n,l,i,r){return new Ci(t,e,n,l,i,r)}class Ci extends Fn{constructor(t,e,n,l,i,r){super(),this.selector=t,this.componentType=e,this._inputs=l,this._outputs=i,this.ngContentSelectors=r,this.viewDefFactory=n}get inputs(){const t=[],e=this._inputs;for(let n in e)t.push({propName:n,templateName:e[n]});return t}get outputs(){const t=[];for(let e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t}create(t,e,n,l){if(!l)throw new Error("ngModule should be provided");const i=Ql(this.viewDefFactory),r=i.nodes[0].element.componentProvider.nodeIndex,o=Ol.createRootView(t,e||[],n,i,l,Ai),a=Sl(o,r).instance;return n&&o.renderer.setAttribute(xl(o,0).renderElement,"ng-version",Zn.full),new wi(o,new ki(o),a)}}class wi extends class{}{constructor(t,e,n){super(),this._view=t,this._viewRef=e,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=e,this.changeDetectorRef=e,this.instance=n}get location(){return new Vn(xl(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Ti(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function Pi(t,e,n){return new xi(t,e,n)}class xi{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new Vn(this._data.renderElement)}get injector(){return new Ti(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=Gl(t),t=t.parent;return t?new Ti(t,e):new Ti(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=gi(this._data,t);Ol.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new ki(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const l=t.createEmbeddedView(e||{});return this.insert(l,n),l}createComponent(t,e,n,l,i){const r=n||this.parentInjector;i||t instanceof Gn||(i=r.get(W));const o=t.create(r,l,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t;return function(t,e,n,l){let i=e.viewContainer._embeddedViews;null==n&&(n=i.length),l.viewContainerParent=t,X(i,n,l),function(t,e){const n=zl(e);if(!n||n===t||16&e.state)return;e.state|=16;let l=n.template._projectedViews;l||(l=n.template._projectedViews=[]),l.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;let n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,l),Ol.dirtyParentQueries(l),_i(e,n>0?i[n-1]:null,l)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(t._view);return function(t,e,n){const l=t.viewContainer._embeddedViews,i=l[e];K(l,e),null==n&&(n=l.length),X(l,n,i),Ol.dirtyParentQueries(i),yi(i),_i(t,n>0?l[n-1]:null,i)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=gi(this._data,t);e&&Ol.destroyView(e)}detach(t){const e=gi(this._data,t);return e?new ki(e):null}}function Si(t){return new ki(t)}class ki{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return Zl(t,0,void 0,void 0,e),e}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Yl(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{Ol.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){Ol.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ol.destroyView(this._view)}detachFromAppRef(){this._appRef=null,yi(this._view),Ol.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function Mi(t,e){return new Oi(t,e)}class Oi extends bl{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new ki(Ol.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new Vn(xl(this._parentView,this._def.nodeIndex).renderElement)}}function Di(t,e){return new Ti(t,e)}class Ti{constructor(t,e){this.view=t,this.elDef=e}get(t,e=on.THROW_IF_NOT_FOUND){return Ol.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:El(t)},e)}}function Ei(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=xl(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return Pl(t,n.nodeIndex).renderText;if(20240&n.flags)return Sl(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ii(t){return new Li(t.renderer)}class Li{constructor(t){this.delegate=t}selectRootElement(t){return this.delegate.selectRootElement(t)}createElement(t,e){const[n,l]=ri(e),i=this.delegate.createElement(l,n);return t&&this.delegate.appendChild(t,i),i}createViewRoot(t){return t}createTemplateAnchor(t){const e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e}createText(t,e){const n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n}projectNodes(t,e){for(let n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])}attachViewAfter(t,e){const n=this.delegate.parentNode(t),l=this.delegate.nextSibling(t);for(let i=0;i<e.length;i++)this.delegate.insertBefore(n,e[i],l)}detachView(t){for(let e=0;e<t.length;e++){const n=t[e],l=this.delegate.parentNode(n);this.delegate.removeChild(l,n)}}destroyView(t,e){for(let n=0;n<e.length;n++)this.delegate.destroyNode(e[n])}listen(t,e,n){return this.delegate.listen(t,e,n)}listenGlobal(t,e,n){return this.delegate.listen(t,e,n)}setElementProperty(t,e,n){this.delegate.setProperty(t,e,n)}setElementAttribute(t,e,n){const[l,i]=ri(e);null!=n?this.delegate.setAttribute(t,i,n,l):this.delegate.removeAttribute(t,i,l)}setBindingDebugInfo(t,e,n){}setElementClass(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)}setElementStyle(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)}invokeElementMethod(t,e,n){t[e].apply(t,n)}setText(t,e){this.delegate.setValue(t,e)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function ji(t,e,n,l){return new Ri(t,e,n,l)}class Ri{constructor(t,e,n,l){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=l,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){const e=t._def,n=t._providers=new Array(e.providers.length);for(let l=0;l<e.providers.length;l++){const i=e.providers[l];4096&i.flags||void 0===n[l]&&(n[l]=mi(t,i))}}(this)}get(t,e=on.THROW_IF_NOT_FOUND,n=A.Default){let l=0;return n&A.SkipSelf?l|=1:n&A.Self&&(l|=4),bi(this,{token:t,tokenKey:El(t),flags:l},e)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Bn)}destroy(){if(this._destroyed)throw new Error(`The ng module ${S(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(t,e){const n=t._def,l=new Set;for(let i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){const e=t._providers[i];if(e&&e!==ui){const t=e.ngOnDestroy;"function"!=typeof t||l.has(e)||(t.apply(e),l.add(e))}}}(this),this._destroyListeners.forEach(t=>t())}onDestroy(t){this._destroyListeners.push(t)}}const Fi=El(Wn),Ni=El(Kn),Yi=El(Vn),Ui=El(gl),Bi=El(bl),zi=El(Be),Gi=El(on),Hi=El(R);function Vi(t,e,n,l,i,r,o,a){const s=[];if(o)for(let c in o){const[t,e]=o[c];s[t]={flags:8,name:c,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const u=[];if(a)for(let c in a)u.push({type:1,propName:c,target:null,eventName:a[c]});return $i(t,e|=16384,n,l,i,i,r,s,u)}function qi(t,e,n){return $i(-1,t|=16,null,0,e,e,n)}function Wi(t,e,n,l,i){return $i(-1,t,e,0,n,l,i)}function $i(t,e,n,l,i,r,o,a,s){const{matchedQueries:u,references:c,matchedQueryIds:d}=$l(n);s||(s=[]),a||(a=[]),r=O(r);const h=Xl(o,S(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:l,bindings:a,bindingFlags:oi(a),outputs:s,element:null,provider:{token:i,value:r,deps:h},text:null,query:null,ngContent:null}}function Xi(t,e){return Zi(t,e)}function Ki(t,e){let n=t;for(;n.parent&&!Vl(n);)n=n.parent;return tr(n.parent,Gl(n),!0,e.provider.value,e.provider.deps)}function Ji(t,e){const n=tr(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let l=0;l<e.outputs.length;l++){const i=e.outputs[l],r=n[i.propName];if(!jn(r))throw new Error(`@Output ${i.propName} not initialized in '${n.constructor.name}'.`);{const n=r.subscribe(Qi(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+l]=n.unsubscribe.bind(n)}}return n}function Qi(t,e,n){return l=>Bl(t,e,n,l)}function Zi(t,e){const n=(8192&e.flags)>0,l=e.provider;switch(201347067&e.flags){case 512:return tr(t,e.parent,n,l.value,l.deps);case 1024:return function(t,e,n,l,i){const r=i.length;switch(r){case 0:return l();case 1:return l(nr(t,e,n,i[0]));case 2:return l(nr(t,e,n,i[0]),nr(t,e,n,i[1]));case 3:return l(nr(t,e,n,i[0]),nr(t,e,n,i[1]),nr(t,e,n,i[2]));default:const o=Array(r);for(let l=0;l<r;l++)o[l]=nr(t,e,n,i[l]);return l(...o)}}(t,e.parent,n,l.value,l.deps);case 2048:return nr(t,e.parent,n,l.deps[0]);case 256:return l.value}}function tr(t,e,n,l,i){const r=i.length;switch(r){case 0:return new l;case 1:return new l(nr(t,e,n,i[0]));case 2:return new l(nr(t,e,n,i[0]),nr(t,e,n,i[1]));case 3:return new l(nr(t,e,n,i[0]),nr(t,e,n,i[1]),nr(t,e,n,i[2]));default:const o=new Array(r);for(let l=0;l<r;l++)o[l]=nr(t,e,n,i[l]);return new l(...o)}}const er={};function nr(t,e,n,l,i=on.THROW_IF_NOT_FOUND){if(8&l.flags)return l.token;const r=t;2&l.flags&&(i=null);const o=l.tokenKey;o===zi&&(n=!(!e||!e.element.componentView)),e&&1&l.flags&&(n=!1,e=e.parent);let a=t;for(;a;){if(e)switch(o){case Fi:return Ii(lr(a,e,n));case Ni:return lr(a,e,n).renderer;case Yi:return new Vn(xl(a,e.nodeIndex).renderElement);case Ui:return xl(a,e.nodeIndex).viewContainer;case Bi:if(e.element.template)return xl(a,e.nodeIndex).template;break;case zi:return Si(lr(a,e,n));case Gi:case Hi:return Di(a,e);default:const t=(n?e.element.allProviders:e.element.publicProviders)[o];if(t){let e=Sl(a,t.nodeIndex);return e||(e={instance:Zi(a,t)},a.nodes[t.nodeIndex]=e),e.instance}}n=Vl(a),e=Gl(a),a=a.parent,4&l.flags&&(a=null)}const s=r.root.injector.get(l.token,er);return s!==er||i===er?s:r.root.ngModule.injector.get(l.token,i)}function lr(t,e,n){let l;if(n)l=xl(t,e.nodeIndex).componentView;else for(l=t;l.parent&&!Vl(l);)l=l.parent;return l}function ir(t,e,n,l,i,r){if(32768&n.flags){const e=xl(t,n.parent.nodeIndex).componentView;2&e.def.flags&&(e.state|=8)}if(e.instance[n.bindings[l].name]=i,524288&n.flags){r=r||{};const e=wn.unwrap(t.oldValues[n.bindingIndex+l]);r[n.bindings[l].nonMinifiedName]=new Rn(e,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+l]=i,r}function rr(t,e){if(!(t.def.nodeFlags&e))return;const n=t.def.nodes;let l=0;for(let i=0;i<n.length;i++){const r=n[i];let o=r.parent;for(!o&&r.flags&e&&ar(t,i,r.flags&e,l++),0==(r.childFlags&e)&&(i+=r.childCount);o&&1&o.flags&&i===o.nodeIndex+o.childCount;)o.directChildFlags&e&&(l=or(t,o,e,l)),o=o.parent}}function or(t,e,n,l){for(let i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){const e=t.def.nodes[i];e.flags&n&&ar(t,i,e.flags&n,l++),i+=e.childCount}return l}function ar(t,e,n,l){const i=Sl(t,e);if(!i)return;const r=i.instance;r&&(Ol.setCurrentNode(t,e),1048576&n&&wl(t,512,l)&&r.ngAfterContentInit(),2097152&n&&r.ngAfterContentChecked(),4194304&n&&wl(t,768,l)&&r.ngAfterViewInit(),8388608&n&&r.ngAfterViewChecked(),131072&n&&r.ngOnDestroy())}const sr=new j("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>gt}),ur={},cr=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),dr=void 0;var hr=["en",[["a","p"],["AM","PM"],dr],[["AM","PM"],dr,dr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],dr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],dr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",dr,"{1} 'at' {0}",dr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];function pr(t){return fr(t)[cr.PluralCase]}function fr(t){const e=t.toLowerCase().replace(/_/g,"-");let n=ur[e];if(n)return n;const l=e.split("-")[0];if(n=ur[l],n)return n;if("en"===l)return hr;throw new Error(`Missing locale data for the locale "${t}".`)}class br extends l.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let l,r=t=>null,o=()=>null;t&&"object"==typeof t?(l=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(r=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(l=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(l,r,o);return t instanceof i.a&&t.add(a),a}}function mr(){return this._results[An()]()}class gr{constructor(){this.dirty=!0,this._results=[],this.changes=new br,this.length=0;const t=An(),e=gr.prototype;e[t]||(e[t]=mr)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let l=0;l<e.length;l++){let i=e[l];Array.isArray(i)?(n===e&&(n=e.slice(0,l)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const _r=d("Directive",(t={})=>t,void 0,void 0,(t,e)=>wr(t,e)),yr=d("Component",(t={})=>Object.assign({changeDetection:J.Default},t),_r,void 0,(t,e)=>Cr(t,e)),Ar=f("Output",t=>({bindingPropertyName:t})),vr=f("HostListener",(t,e)=>({eventName:t,args:e})),Cr=Hn,wr=Hn,Pr=d("NgModule",t=>t,void 0,void 0,(t,e)=>xr(t,e)),xr=function(t,e){let n=e&&e.imports||[];var l;e&&e.exports&&(n=[...n,e.exports]),t.ngInjectorDef={factory:(l={factory:tn(t,{useClass:t}),providers:e&&e.providers,imports:n}).factory,providers:l.providers||[],imports:l.imports||[]}},Sr=new j("Application Initializer");class kr{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Ln(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}const Mr=new j("AppId");function Or(){return`${Dr()}${Dr()}${Dr()}`}function Dr(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Tr=new j("Platform Initializer"),Er=new j("Platform ID"),Ir=new j("appBootstrapListener");class Lr{log(t){console.log(t)}warn(t){console.warn(t)}}const jr=new j("LocaleId");function Rr(){throw new Error("Runtime compiler is not loaded")}const Fr=Rr,Nr=Rr,Yr=Rr,Ur=Rr;class Br{constructor(){this.compileModuleSync=Fr,this.compileModuleAsync=Nr,this.compileModuleAndAllComponentsSync=Yr,this.compileModuleAndAllComponentsAsync=Ur}clearCache(){}clearCacheFor(t){}getModuleId(t){}}class zr{}let Gr,Hr;function Vr(){const t=L.wtf;return!(!t||(Gr=t.trace,!Gr)||(Hr=Gr.events,0))}const qr=Vr();function Wr(t,e){return null}const $r=qr?function(t,e=null){return Hr.createScope(t,e)}:(t,e)=>Wr,Xr=qr?function(t,e){return Gr.leaveScope(t,e),e}:(t,e)=>e,Kr=(()=>Promise.resolve(0))();function Jr(t){"undefined"==typeof Zone?Kr.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Qr{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new br(!1),this.onMicrotaskEmpty=new br(!1),this.onStable=new br(!1),this.onError=new br(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var e;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,n,l,i,r,o)=>{try{return no(e),t.invokeTask(l,i,r,o)}finally{lo(e)}},onInvoke:(t,n,l,i,r,o,a)=>{try{return no(e),t.invoke(l,i,r,o,a)}finally{lo(e)}},onHasTask:(t,n,l,i)=>{t.hasTask(l,i),n===l&&("microTask"==i.change?(e.hasPendingMicrotasks=i.microTask,eo(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,l,i)=>(t.handleError(l,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Qr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,l){const i=this._inner,r=i.scheduleEventTask("NgZoneEvent: "+l,t,to,Zr,Zr);try{return i.runTask(r,e,n)}finally{i.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Zr(){}const to={};function eo(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function no(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function lo(t){t._nesting--,eo(t)}class io{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new br,this.onMicrotaskEmpty=new br,this.onStable=new br,this.onError=new br}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}class ro{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qr.assertNotInAngularZone(),Jr(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Jr(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let l=-1;e&&e>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==l),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:l,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}class oo{constructor(){this._applications=new Map,co.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return co.findTestabilityInTree(this,t,e)}}class ao{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function so(t){co=t}let uo,co=new ao;const ho=new j("AllowMultipleToken");class po{constructor(t,e){this.name=t,this.token=e}}function fo(t,e,n=[]){const l="Platform: "+e,i=new j(l);return(e=[])=>{let r=bo();if(!r||r.injector.get(ho,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(uo&&!uo.destroyed&&!uo.injector.get(ho,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");uo=t.get(mo);const e=t.get(Tr,null);e&&e.forEach(t=>t())}(on.create({providers:t,name:l}))}return function(t){const e=bo();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function bo(){return uo&&!uo.destroyed?uo:null}class mo{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t){let e;return e="noop"===t?new io:("zone.js"===t?void 0:t)||new Qr({enableLongStackTrace:$t()}),e}(e?e.ngZone:void 0),l=[{provide:Qr,useValue:n}];return n.run(()=>{const e=on.create({providers:l,parent:this.injector,name:t.moduleType.name}),i=t.create(e),r=i.injector.get(Vt,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>yo(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{r.handleError(t)}})),function(t,e,n){try{const l=n();return Ln(l)?l.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):l}catch(l){throw e.runOutsideAngular(()=>t.handleError(l)),l}}(r,n,()=>{const t=i.injector.get(kr);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=go({},e);return function(t,e,n){return t.get(zr).createCompiler([e]).compileModuleAsync(n)}(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(_o);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${S(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}function go(t,e){return Array.isArray(e)?e.reduce(go,t):Object.assign({},t,e)}let _o=(()=>{class t{constructor(t,e,n,l,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=$t(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new r.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new r.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Qr.assertNotInAngularZone(),Jr(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Qr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(u,c.pipe(Object(a.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Fn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const l=n instanceof Gn?null:this._injector.get(W),i=n.create(on.NULL,[],e||n.selector,l);i.onDestroy(()=>{this._unloadComponent(i)});const r=i.injector.get(ro,null);return r&&i.injector.get(oo).registerApplication(i.location.nativeElement,r),this._loadComponent(i),$t()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const e=t._tickScope();try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Xr(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;yo(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ir,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),yo(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t._tickScope=$r("ApplicationRef#tick()"),t})();function yo(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Ao{}class vo{}const Co={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class wo{constructor(t,e){this._compiler=t,this._config=e||Co}load(t){return this._compiler instanceof Br?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,l]=t.split("#");return void 0===l&&(l="default"),n("tyRR")(e).then(t=>t[l]).then(t=>Po(t,e,l)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,l]=t.split("#"),i="NgFactory";return void 0===l&&(l="default",i=""),n("tyRR")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[l+i]).then(t=>Po(t,e,l))}}function Po(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class xo{constructor(t,e){this.name=t,this.callback=e}}class So{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof ko&&e.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class ko extends So{constructor(t,e,n){super(t,e,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))}insertChildrenAfter(t,e){const n=this.childNodes.indexOf(t);-1!==n&&(this.childNodes.splice(n+1,0,...e),e.forEach(e=>{e.parent&&e.parent.removeChild(e),t.parent=this}))}insertBefore(t,e){const n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return function t(e,n,l){e.childNodes.forEach(e=>{e instanceof ko&&(n(e)&&l.push(e),t(e,n,l))})}(this,t,e),e}queryAllNodes(t){const e=[];return function t(e,n,l){e instanceof ko&&e.childNodes.forEach(e=>{n(e)&&l.push(e),e instanceof ko&&t(e,n,l)})}(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof ko)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}const Mo=new Map,Oo=function(t){return Mo.get(t)||null};function Do(t){Mo.set(t.nativeNode,t)}const To=fo(null,"core",[{provide:Er,useValue:"unknown"},{provide:mo,deps:[on]},{provide:oo,deps:[]},{provide:Lr,deps:[]}]);function Eo(){return pl}function Io(){return fl}function Lo(t){return t||"en-US"}function jo(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}class Ro{constructor(t){}}function Fo(t,e,n,l,i,r){t|=1;const{matchedQueries:o,references:a,matchedQueryIds:s}=$l(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:s,references:a,ngContentIndex:n,childCount:l,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:r?Ql(r):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Dl},provider:null,text:null,query:null,ngContent:null}}function No(t,e,n,l,i,r,o=[],a,s,u,c,d){u||(u=Dl);const{matchedQueries:h,references:p,matchedQueryIds:f}=$l(n);let b=null,m=null;r&&([b,m]=ri(r)),a=a||[];const g=new Array(a.length);for(let A=0;A<a.length;A++){const[t,e,n]=a[A],[l,i]=ri(e);let r=void 0,o=void 0;switch(15&t){case 4:o=n;break;case 1:case 8:r=n}g[A]={flags:t,ns:l,name:i,nonMinifiedName:i,securityContext:r,suffix:o}}s=s||[];const _=new Array(s.length);for(let A=0;A<s.length;A++){const[t,e]=s[A];_[A]={type:0,target:t,eventName:e,propName:null}}const y=(o=o||[]).map(([t,e])=>{const[n,l]=ri(t);return[n,l,e]});return d=function(t){if(t&&"$$undefined"===t.id){const e=null!=t.encapsulation&&t.encapsulation!==Q.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+jl++:"$$empty"}return t&&"$$empty"===t.id&&(t=null),t||null}(d),c&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:l,childCount:i,bindings:g,bindingFlags:oi(g),outputs:_,element:{ns:b,name:m,attrs:y,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||Dl},provider:null,text:null,query:null,ngContent:null}}function Yo(t,e,n){const l=n.element,i=t.root.selectorOrNode,r=t.renderer;let o;if(t.parent||!i){o=l.name?r.createElement(l.name,l.ns):r.createComment("");const i=Kl(t,e,n);i&&r.appendChild(i,o)}else o=r.selectRootElement(i,!!l.componentRendererType&&l.componentRendererType.encapsulation===Q.ShadowDom);if(l.attrs)for(let a=0;a<l.attrs.length;a++){const[t,e,n]=l.attrs[a];r.setAttribute(o,e,n,t)}return o}function Uo(t,e,n,l){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],s=Bo(t,n.nodeIndex,(r=a.eventName,(i=a.target)?`${i}:${r}`:r));let u=a.target,c=t;"component"===a.target&&(u=null,c=e);const d=c.renderer.listen(u||l,a.eventName,s);t.disposables[n.outputIndex+o]=d}var i,r}function Bo(t,e,n){return l=>Bl(t,e,n,l)}function zo(t,e,n,l){if(!Fl(t,e,n,l))return!1;const i=e.bindings[n],r=xl(t,e.nodeIndex),o=r.renderElement,a=i.name;switch(15&i.flags){case 1:!function(t,e,n,l,i,r){const o=e.securityContext;let a=o?t.root.sanitizer.sanitize(o,r):r;a=null!=a?a.toString():null;const s=t.renderer;null!=r?s.setAttribute(n,i,a,l):s.removeAttribute(n,i,l)}(t,i,o,i.ns,a,l);break;case 2:!function(t,e,n,l){const i=t.renderer;l?i.addClass(e,n):i.removeClass(e,n)}(t,o,a,l);break;case 4:!function(t,e,n,l,i){let r=t.root.sanitizer.sanitize(_e.STYLE,i);if(null!=r){r=r.toString();const t=e.suffix;null!=t&&(r+=t)}else r=null;const o=t.renderer;null!=r?o.setStyle(n,l,r):o.removeStyle(n,l)}(t,i,o,a,l);break;case 8:!function(t,e,n,l,i){const r=e.securityContext;let o=r?t.root.sanitizer.sanitize(r,i):i;t.renderer.setProperty(n,l,o)}(33554432&e.flags&&32&i.flags?r.componentView:t,i,o,a,l)}return!0}function Go(t,e,n){let l=[];for(let i in n)l.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Wl(e),bindings:l},ngContent:null}}function Ho(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&ql(t);){let n=t.parentNodeDef;t=t.parent;const l=n.nodeIndex+n.childCount;for(let i=0;i<=l;i++){const l=t.def.nodes[i];67108864&l.flags&&536870912&l.flags&&(l.query.filterId&e)===l.query.filterId&&Ml(t,i).setDirty(),!(1&l.flags&&i+l.childCount<n.nodeIndex)&&67108864&l.childFlags&&536870912&l.childFlags||(i+=l.childCount)}}if(134217728&t.def.nodeFlags)for(let n=0;n<t.def.nodes.length;n++){const e=t.def.nodes[n];134217728&e.flags&&536870912&e.flags&&Ml(t,n).setDirty(),n+=e.childCount}}function Vo(t,e){const n=Ml(t,e.nodeIndex);if(!n.dirty)return;let l,i=void 0;if(67108864&e.flags){const n=e.parent.parent;i=qo(t,n.nodeIndex,n.nodeIndex+n.childCount,e.query,[]),l=Sl(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=qo(t,0,t.def.nodes.length-1,e.query,[]),l=t.component);n.reset(i);const r=e.query.bindings;let o=!1;for(let a=0;a<r.length;a++){const t=r[a];let e;switch(t.bindingType){case 0:e=n.first;break;case 1:e=n,o=!0}l[t.propName]=e}o&&n.notifyOnChanges()}function qo(t,e,n,l,i){for(let r=e;r<=n;r++){const e=t.def.nodes[r],n=e.matchedQueries[l.id];if(null!=n&&i.push(Wo(t,e,n)),1&e.flags&&e.element.template&&(e.element.template.nodeMatchedQueries&l.filterId)===l.filterId){const n=xl(t,r);if((e.childMatchedQueries&l.filterId)===l.filterId&&(qo(t,r+1,r+e.childCount,l,i),r+=e.childCount),16777216&e.flags){const t=n.viewContainer._embeddedViews;for(let e=0;e<t.length;e++){const r=t[e],o=zl(r);o&&o===n&&qo(r,0,r.def.nodes.length-1,l,i)}}const o=n.template._projectedViews;if(o)for(let t=0;t<o.length;t++){const e=o[t];qo(e,0,e.def.nodes.length-1,l,i)}}(e.childMatchedQueries&l.filterId)!==l.filterId&&(r+=e.childCount)}return i}function Wo(t,e,n){if(null!=n)switch(n){case 1:return xl(t,e.nodeIndex).renderElement;case 0:return new Vn(xl(t,e.nodeIndex).renderElement);case 2:return xl(t,e.nodeIndex).template;case 3:return xl(t,e.nodeIndex).viewContainer;case 4:return Sl(t,e.nodeIndex).instance}}function $o(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Xo(t,e,n){const l=Kl(t,e,n);l&&ei(t,n.ngContent.index,1,l,null,void 0)}function Ko(t,e){return Qo(128,t,new Array(e+1))}function Jo(t,e){const n=Object.keys(e),l=n.length,i=new Array(l);for(let r=0;r<l;r++){const t=n[r];i[e[t]]=t}return Qo(64,t,i)}function Qo(t,e,n){const l=new Array(n.length);for(let i=0;i<n.length;i++){const t=n[i];l[i]={flags:8,name:t,ns:null,nonMinifiedName:t,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:l,bindingFlags:oi(l),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Zo(t,e,n){const l=new Array(n.length-1);for(let i=1;i<n.length;i++)l[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:l,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ta(t,e,n){let l;const i=t.renderer;l=i.createText(n.text.prefix);const r=Kl(t,e,n);return r&&i.appendChild(r,l),{renderText:l}}function ea(t,e){return(null!=t?t.toString():"")+e.suffix}function na(t,e,n,l){let i=0,r=0,o=0,a=0,s=0,u=null,c=null,d=!1,h=!1,p=null;for(let f=0;f<e.length;f++){const t=e[f];if(t.nodeIndex=f,t.parent=u,t.bindingIndex=i,t.outputIndex=r,t.renderParent=c,o|=t.flags,s|=t.matchedQueryIds,t.element){const e=t.element;e.publicProviders=u?u.element.publicProviders:Object.create(null),e.allProviders=e.publicProviders,d=!1,h=!1,t.element.template&&(s|=t.element.template.nodeMatchedQueries)}if(ia(u,t,e.length),i+=t.bindings.length,r+=t.outputs.length,!c&&3&t.flags&&(p=t),20224&t.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);const e=0!=(32768&t.flags);0==(8192&t.flags)||e?u.element.publicProviders[El(t.provider.token)]=t:(h||(h=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[El(t.provider.token)]=t),e&&(u.element.componentProvider=t)}if(u?(u.childFlags|=t.flags,u.directChildFlags|=t.flags,u.childMatchedQueries|=t.matchedQueryIds,t.element&&t.element.template&&(u.childMatchedQueries|=t.element.template.nodeMatchedQueries)):a|=t.flags,t.childCount>0)u=t,la(t)||(c=t);else for(;u&&f===u.nodeIndex+u.childCount;){const t=u.parent;t&&(t.childFlags|=u.childFlags,t.childMatchedQueries|=u.childMatchedQueries),u=t,c=u&&la(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||Dl,updateRenderer:l||Dl,handleEvent:(t,n,l,i)=>e[n].element.handleEvent(t,l,i),bindingCount:i,outputCount:r,lastRenderRootNode:p}}function la(t){return 0!=(1&t.flags)&&null===t.element.name}function ia(t,e,n){const l=e.element&&e.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!`)}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!`);if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!`);if(134217728&e.flags&&t)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!`)}if(e.childCount){const l=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=l&&e.nodeIndex+e.childCount>l)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function ra(t,e,n,l){const i=sa(t.root,t.renderer,t,e,n);return ua(i,t.component,l),ca(i),i}function oa(t,e,n){const l=sa(t,t.renderer,null,null,e);return ua(l,n,n),ca(l),l}function aa(t,e,n,l){const i=e.element.componentRendererType;let r;return r=i?t.root.rendererFactory.createRenderer(l,i):t.root.renderer,sa(t.root,r,t,e.element.componentProvider,n)}function sa(t,e,n,l,i){const r=new Array(i.nodes.length),o=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:r,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:o,initIndex:-1}}function ua(t,e,n){t.component=e,t.context=n}function ca(t){let e;Vl(t)&&(e=xl(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,l=t.nodes;for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];let o;switch(Ol.setCurrentNode(t,i),201347067&r.flags){case 1:const n=Yo(t,e,r);let a=void 0;if(33554432&r.flags){const e=Ql(r.element.componentView);a=Ol.createComponentView(t,r,e,n)}Uo(t,a,r,n),o={renderElement:n,componentView:a,viewContainer:null,template:r.element.template?Mi(t,r):void 0},16777216&r.flags&&(o.viewContainer=Pi(t,r,o));break;case 2:o=ta(t,e,r);break;case 512:case 1024:case 2048:case 256:o=l[i],o||4096&r.flags||(o={instance:Xi(t,r)});break;case 16:o={instance:Ki(t,r)};break;case 16384:o=l[i],o||(o={instance:Ji(t,r)}),32768&r.flags&&ua(xl(t,r.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new gr;break;case 8:Xo(t,e,r),o=void 0}l[i]=o}ya(t,_a.CreateViewNodes),wa(t,201326592,268435456,0)}function da(t){fa(t),Ol.updateDirectives(t,1),Aa(t,_a.CheckNoChanges),Ol.updateRenderer(t,1),ya(t,_a.CheckNoChanges),t.state&=-97}function ha(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Cl(t,0,256),fa(t),Ol.updateDirectives(t,0),Aa(t,_a.CheckAndUpdate),wa(t,67108864,536870912,0);let e=Cl(t,256,512);rr(t,2097152|(e?1048576:0)),Ol.updateRenderer(t,0),ya(t,_a.CheckAndUpdate),wa(t,134217728,536870912,0),e=Cl(t,512,768),rr(t,8388608|(e?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Cl(t,768,1024)}function pa(t,e,n,l,i,r,o,a,s,u,c,d,h){return 0===n?function(t,e,n,l,i,r,o,a,s,u,c,d){switch(201347067&e.flags){case 1:return function(t,e,n,l,i,r,o,a,s,u,c,d){const h=e.bindings.length;let p=!1;return h>0&&zo(t,e,0,n)&&(p=!0),h>1&&zo(t,e,1,l)&&(p=!0),h>2&&zo(t,e,2,i)&&(p=!0),h>3&&zo(t,e,3,r)&&(p=!0),h>4&&zo(t,e,4,o)&&(p=!0),h>5&&zo(t,e,5,a)&&(p=!0),h>6&&zo(t,e,6,s)&&(p=!0),h>7&&zo(t,e,7,u)&&(p=!0),h>8&&zo(t,e,8,c)&&(p=!0),h>9&&zo(t,e,9,d)&&(p=!0),p}(t,e,n,l,i,r,o,a,s,u,c,d);case 2:return function(t,e,n,l,i,r,o,a,s,u,c,d){let h=!1;const p=e.bindings,f=p.length;if(f>0&&Fl(t,e,0,n)&&(h=!0),f>1&&Fl(t,e,1,l)&&(h=!0),f>2&&Fl(t,e,2,i)&&(h=!0),f>3&&Fl(t,e,3,r)&&(h=!0),f>4&&Fl(t,e,4,o)&&(h=!0),f>5&&Fl(t,e,5,a)&&(h=!0),f>6&&Fl(t,e,6,s)&&(h=!0),f>7&&Fl(t,e,7,u)&&(h=!0),f>8&&Fl(t,e,8,c)&&(h=!0),f>9&&Fl(t,e,9,d)&&(h=!0),h){let h=e.text.prefix;f>0&&(h+=ea(n,p[0])),f>1&&(h+=ea(l,p[1])),f>2&&(h+=ea(i,p[2])),f>3&&(h+=ea(r,p[3])),f>4&&(h+=ea(o,p[4])),f>5&&(h+=ea(a,p[5])),f>6&&(h+=ea(s,p[6])),f>7&&(h+=ea(u,p[7])),f>8&&(h+=ea(c,p[8])),f>9&&(h+=ea(d,p[9]));const b=Pl(t,e.nodeIndex).renderText;t.renderer.setValue(b,h)}return h}(t,e,n,l,i,r,o,a,s,u,c,d);case 16384:return function(t,e,n,l,i,r,o,a,s,u,c,d){const h=Sl(t,e.nodeIndex),p=h.instance;let f=!1,b=void 0;const m=e.bindings.length;return m>0&&Rl(t,e,0,n)&&(f=!0,b=ir(t,h,e,0,n,b)),m>1&&Rl(t,e,1,l)&&(f=!0,b=ir(t,h,e,1,l,b)),m>2&&Rl(t,e,2,i)&&(f=!0,b=ir(t,h,e,2,i,b)),m>3&&Rl(t,e,3,r)&&(f=!0,b=ir(t,h,e,3,r,b)),m>4&&Rl(t,e,4,o)&&(f=!0,b=ir(t,h,e,4,o,b)),m>5&&Rl(t,e,5,a)&&(f=!0,b=ir(t,h,e,5,a,b)),m>6&&Rl(t,e,6,s)&&(f=!0,b=ir(t,h,e,6,s,b)),m>7&&Rl(t,e,7,u)&&(f=!0,b=ir(t,h,e,7,u,b)),m>8&&Rl(t,e,8,c)&&(f=!0,b=ir(t,h,e,8,c,b)),m>9&&Rl(t,e,9,d)&&(f=!0,b=ir(t,h,e,9,d,b)),b&&p.ngOnChanges(b),65536&e.flags&&wl(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),f}(t,e,n,l,i,r,o,a,s,u,c,d);case 32:case 64:case 128:return function(t,e,n,l,i,r,o,a,s,u,c,d){const h=e.bindings;let p=!1;const f=h.length;if(f>0&&Fl(t,e,0,n)&&(p=!0),f>1&&Fl(t,e,1,l)&&(p=!0),f>2&&Fl(t,e,2,i)&&(p=!0),f>3&&Fl(t,e,3,r)&&(p=!0),f>4&&Fl(t,e,4,o)&&(p=!0),f>5&&Fl(t,e,5,a)&&(p=!0),f>6&&Fl(t,e,6,s)&&(p=!0),f>7&&Fl(t,e,7,u)&&(p=!0),f>8&&Fl(t,e,8,c)&&(p=!0),f>9&&Fl(t,e,9,d)&&(p=!0),p){const p=kl(t,e.nodeIndex);let b;switch(201347067&e.flags){case 32:b=new Array(h.length),f>0&&(b[0]=n),f>1&&(b[1]=l),f>2&&(b[2]=i),f>3&&(b[3]=r),f>4&&(b[4]=o),f>5&&(b[5]=a),f>6&&(b[6]=s),f>7&&(b[7]=u),f>8&&(b[8]=c),f>9&&(b[9]=d);break;case 64:b={},f>0&&(b[h[0].name]=n),f>1&&(b[h[1].name]=l),f>2&&(b[h[2].name]=i),f>3&&(b[h[3].name]=r),f>4&&(b[h[4].name]=o),f>5&&(b[h[5].name]=a),f>6&&(b[h[6].name]=s),f>7&&(b[h[7].name]=u),f>8&&(b[h[8].name]=c),f>9&&(b[h[9].name]=d);break;case 128:const t=n;switch(f){case 1:b=t.transform(n);break;case 2:b=t.transform(l);break;case 3:b=t.transform(l,i);break;case 4:b=t.transform(l,i,r);break;case 5:b=t.transform(l,i,r,o);break;case 6:b=t.transform(l,i,r,o,a);break;case 7:b=t.transform(l,i,r,o,a,s);break;case 8:b=t.transform(l,i,r,o,a,s,u);break;case 9:b=t.transform(l,i,r,o,a,s,u,c);break;case 10:b=t.transform(l,i,r,o,a,s,u,c,d)}}p.value=b}return p}(t,e,n,l,i,r,o,a,s,u,c,d);default:throw"unreachable"}}(t,e,l,i,r,o,a,s,u,c,d,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let l=!1;for(let i=0;i<n.length;i++)zo(t,e,i,n[i])&&(l=!0);return l}(t,e,n);case 2:return function(t,e,n){const l=e.bindings;let i=!1;for(let r=0;r<n.length;r++)Fl(t,e,r,n[r])&&(i=!0);if(i){let i="";for(let t=0;t<n.length;t++)i+=ea(n[t],l[t]);i=e.text.prefix+i;const r=Pl(t,e.nodeIndex).renderText;t.renderer.setValue(r,i)}return i}(t,e,n);case 16384:return function(t,e,n){const l=Sl(t,e.nodeIndex),i=l.instance;let r=!1,o=void 0;for(let a=0;a<n.length;a++)Rl(t,e,a,n[a])&&(r=!0,o=ir(t,l,e,a,n[a],o));return o&&i.ngOnChanges(o),65536&e.flags&&wl(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),r}(t,e,n);case 32:case 64:case 128:return function(t,e,n){const l=e.bindings;let i=!1;for(let r=0;r<n.length;r++)Fl(t,e,r,n[r])&&(i=!0);if(i){const i=kl(t,e.nodeIndex);let r;switch(201347067&e.flags){case 32:r=n;break;case 64:r={};for(let i=0;i<n.length;i++)r[l[i].name]=n[i];break;case 128:const t=n[0],e=n.slice(1);r=t.transform(...e)}i.value=r}return i}(t,e,n);default:throw"unreachable"}}(t,e,l)}function fa(t){const e=t.def;if(4&e.nodeFlags)for(let n=0;n<e.nodes.length;n++){const l=e.nodes[n];if(4&l.flags){const e=xl(t,n).template._projectedViews;if(e)for(let n=0;n<e.length;n++){const l=e[n];l.state|=32,Ul(l,t)}}else 0==(4&l.childFlags)&&(n+=l.childCount)}}function ba(t,e,n,l,i,r,o,a,s,u,c,d,h){return 0===n?function(t,e,n,l,i,r,o,a,s,u,c,d){const h=e.bindings.length;h>0&&Nl(t,e,0,n),h>1&&Nl(t,e,1,l),h>2&&Nl(t,e,2,i),h>3&&Nl(t,e,3,r),h>4&&Nl(t,e,4,o),h>5&&Nl(t,e,5,a),h>6&&Nl(t,e,6,s),h>7&&Nl(t,e,7,u),h>8&&Nl(t,e,8,c),h>9&&Nl(t,e,9,d)}(t,e,l,i,r,o,a,s,u,c,d,h):function(t,e,n){for(let l=0;l<n.length;l++)Nl(t,e,l,n[l])}(t,e,l),!1}function ma(t,e){if(Ml(t,e.nodeIndex).dirty)throw yl(Ol.createDebugContext(t,e.nodeIndex),`Query ${e.query.id} not dirty`,`Query ${e.query.id} dirty`,0!=(1&t.state))}function ga(t){if(!(128&t.state)){if(Aa(t,_a.Destroy),ya(t,_a.Destroy),rr(t,131072),t.disposables)for(let e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(!(16&t.state))return;const e=zl(t);if(e){const n=e.template._projectedViews;n&&(K(n,n.indexOf(t)),Ol.dirtyParentQueries(t))}}(t),t.renderer.destroyNode&&function(t){const e=t.def.nodes.length;for(let n=0;n<e;n++){const e=t.def.nodes[n];1&e.flags?t.renderer.destroyNode(xl(t,n).renderElement):2&e.flags?t.renderer.destroyNode(Pl(t,n).renderText):(67108864&e.flags||134217728&e.flags)&&Ml(t,n).destroy()}}(t),Vl(t)&&t.renderer.destroy(),t.state|=128}}const _a=function(){var t={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return t[t.CreateViewNodes]="CreateViewNodes",t[t.CheckNoChanges]="CheckNoChanges",t[t.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",t[t.Destroy]="Destroy",t}();function ya(t,e){const n=t.def;if(33554432&n.nodeFlags)for(let l=0;l<n.nodes.length;l++){const i=n.nodes[l];33554432&i.flags?va(xl(t,l).componentView,e):0==(33554432&i.childFlags)&&(l+=i.childCount)}}function Aa(t,e){const n=t.def;if(16777216&n.nodeFlags)for(let l=0;l<n.nodes.length;l++){const i=n.nodes[l];if(16777216&i.flags){const n=xl(t,l).viewContainer._embeddedViews;for(let t=0;t<n.length;t++)va(n[t],e)}else 0==(16777216&i.childFlags)&&(l+=i.childCount)}}function va(t,e){const n=t.state;switch(e){case _a.CheckNoChanges:0==(128&n)&&(12==(12&n)?da(t):64&n&&Ca(t,_a.CheckNoChangesProjectedViews));break;case _a.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?da(t):64&n&&Ca(t,e));break;case _a.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ha(t):64&n&&Ca(t,_a.CheckAndUpdateProjectedViews));break;case _a.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ha(t):64&n&&Ca(t,e));break;case _a.Destroy:ga(t);break;case _a.CreateViewNodes:ca(t)}}function Ca(t,e){Aa(t,e),ya(t,e)}function wa(t,e,n,l){if(!(t.def.nodeFlags&e&&t.def.nodeFlags&n))return;const i=t.def.nodes.length;for(let r=0;r<i;r++){const i=t.def.nodes[r];if(i.flags&e&&i.flags&n)switch(Ol.setCurrentNode(t,i.nodeIndex),l){case 0:Vo(t,i);break;case 1:ma(t,i)}i.childFlags&e&&i.childFlags&n||(r+=i.childCount)}}let Pa=!1;function xa(t,e,n,l,i,r){const o=i.injector.get($n);return oa(ka(t,i,o,e,n),l,r)}function Sa(t,e,n,l,i,r){const o=i.injector.get($n),a=ka(t,i,new rs(o),e,n),s=Fa(l);return ls(Ga.create,oa,null,[a,s,r])}function ka(t,e,n,l,i){const r=e.injector.get(ye),o=e.injector.get(Vt),a=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:l,selectorOrNode:i,sanitizer:r,rendererFactory:n,renderer:a,errorHandler:o}}function Ma(t,e,n,l){const i=Fa(n);return ls(Ga.create,ra,null,[t,e,i,l])}function Oa(t,e,n,l){return n=Ia.get(e.element.componentProvider.provider.token)||Fa(n),ls(Ga.create,aa,null,[t,e,n,l])}function Da(t,e,n,l){return ji(t,e,n,function(t){const{hasOverrides:e,hasDeprecatedOverrides:n}=function(t){let e=!1,n=!1;return 0===Ta.size||(t.providers.forEach(t=>{const l=Ta.get(t.token);3840&t.flags&&l&&(e=!0,n=n||l.deprecatedBehavior)}),t.modules.forEach(t=>{Ea.forEach((l,i)=>{P(i).providedIn===t&&(e=!0,n=n||l.deprecatedBehavior)})})),{hasOverrides:e,hasDeprecatedOverrides:n}}(t);return e?(function(t){for(let e=0;e<t.providers.length;e++){const l=t.providers[e];n&&(l.flags|=4096);const i=Ta.get(l.token);i&&(l.flags=-3841&l.flags|i.flags,l.deps=Xl(i.deps),l.value=i.value)}if(Ea.size>0){let e=new Set(t.modules);Ea.forEach((l,i)=>{if(e.has(P(i).providedIn)){let e={token:i,flags:l.flags|(n?4096:0),deps:Xl(l.deps),value:l.value,index:t.providers.length};t.providers.push(e),t.providersByKey[El(i)]=e}})}}(t=t.factory(()=>Dl)),t):t}(l))}const Ta=new Map,Ea=new Map,Ia=new Map;function La(t){let e;Ta.set(t.token,t),"function"==typeof t.token&&(e=P(t.token))&&"function"==typeof e.providedIn&&Ea.set(t.token,t)}function ja(t,e){const n=Ql(e.viewDefFactory),l=Ql(n.nodes[0].element.componentView);Ia.set(t,l)}function Ra(){Ta.clear(),Ea.clear(),Ia.clear()}function Fa(t){if(0===Ta.size)return t;const e=function(t){const e=[];let n=null;for(let l=0;l<t.nodes.length;l++){const i=t.nodes[l];1&i.flags&&(n=i),n&&3840&i.flags&&Ta.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(()=>Dl);for(let l=0;l<e.length;l++)n(t,e[l]);return t;function n(t,e){for(let n=e+1;n<t.nodes.length;n++){const e=t.nodes[n];if(1&e.flags)return;if(3840&e.flags){const t=e.provider,n=Ta.get(t.token);n&&(e.flags=-3841&e.flags|n.flags,t.deps=Xl(n.deps),t.value=n.value)}}}}function Na(t,e,n,l,i,r,o,a,s,u,c,d,h){const p=t.def.nodes[e];return pa(t,p,n,l,i,r,o,a,s,u,c,d,h),224&p.flags?kl(t,e).value:void 0}function Ya(t,e,n,l,i,r,o,a,s,u,c,d,h){const p=t.def.nodes[e];return ba(t,p,n,l,i,r,o,a,s,u,c,d,h),224&p.flags?kl(t,e).value:void 0}function Ua(t){return ls(Ga.detectChanges,ha,null,[t])}function Ba(t){return ls(Ga.checkNoChanges,da,null,[t])}function za(t){return ls(Ga.destroy,ga,null,[t])}const Ga=function(){var t={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return t[t.create]="create",t[t.detectChanges]="detectChanges",t[t.checkNoChanges]="checkNoChanges",t[t.destroy]="destroy",t[t.handleEvent]="handleEvent",t}();let Ha,Va,qa;function Wa(t,e){Va=t,qa=e}function $a(t,e,n,l){return Wa(t,e),ls(Ga.handleEvent,t.def.handleEvent,null,[t,e,n,l])}function Xa(t,e){if(128&t.state)throw vl(Ga[Ha]);return Wa(t,Za(t,0)),t.def.updateDirectives((function(t,n,l,...i){const r=t.def.nodes[n];return 0===e?Ja(t,r,l,i):Qa(t,r,l,i),16384&r.flags&&Wa(t,Za(t,n)),224&r.flags?kl(t,r.nodeIndex).value:void 0}),t)}function Ka(t,e){if(128&t.state)throw vl(Ga[Ha]);return Wa(t,ts(t,0)),t.def.updateRenderer((function(t,n,l,...i){const r=t.def.nodes[n];return 0===e?Ja(t,r,l,i):Qa(t,r,l,i),3&r.flags&&Wa(t,ts(t,n)),224&r.flags?kl(t,r.nodeIndex).value:void 0}),t)}function Ja(t,e,n,l){if(pa(t,e,n,...l)){const r=1===n?l[0]:l;if(16384&e.flags){const n={};for(let t=0;t<e.bindings.length;t++){const l=e.bindings[t],o=r[t];8&l.flags&&(n[(i=l.nonMinifiedName,"ng-reflect-"+i.replace(/[$@]/g,"_").replace(we,(...t)=>"-"+t[1].toLowerCase()))]=Pe(o))}const l=e.parent,o=xl(t,l.nodeIndex).renderElement;if(l.element.name)for(let e in n){const l=n[e];null!=l?t.renderer.setAttribute(o,e,l):t.renderer.removeAttribute(o,e)}else t.renderer.setValue(o,"bindings="+JSON.stringify(n,null,2))}}var i}function Qa(t,e,n,l){ba(t,e,n,...l)}function Za(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(16384&e.flags&&e.bindings&&e.bindings.length)return n}return null}function ts(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(3&e.flags&&e.bindings&&e.bindings.length)return n}return null}class es{constructor(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];let n=this.nodeDef,l=t;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&l;)n=Gl(l),l=l.parent;this.elDef=n,this.elView=l}get elOrCompView(){return xl(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Di(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const t=[];if(this.elDef)for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t}get references(){const t={};if(this.elDef){ns(this.elView,this.elDef,t);for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&ns(this.elView,n,t),e+=n.childCount}}return t}get componentRenderElement(){const t=function(t){for(;t&&!Vl(t);)t=t.parent;return t.parent?xl(t.parent,Gl(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Hl(this.view,this.nodeDef):Hl(this.elView,this.elDef)}logError(t,...e){let n,l;2&this.nodeDef.flags?(n=this.view.def,l=this.nodeDef.nodeIndex):(n=this.elView.def,l=this.elDef.nodeIndex);const i=function(t,e){let n=-1;for(let l=0;l<=e;l++)3&t.nodes[l].flags&&n++;return n}(n,l);let r=-1;n.factory(()=>(r++,r===i?t.error.bind(t,...e):Dl)),r<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error(...e))}}function ns(t,e,n){for(let l in e.references)n[l]=Wo(t,e,e.references[l])}function ls(t,e,n,l){const i=Ha,r=Va,o=qa;try{Ha=t;const a=e.apply(n,l);return Va=r,qa=o,Ha=i,a}catch(a){if(zt(a)||!Va)throw a;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Al(t,e),t}(a,is())}}function is(){return Va?new es(Va,qa):null}class rs{constructor(t){this.delegate=t}createRenderer(t,e){return new os(this.delegate.createRenderer(t,e))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class os{constructor(t){this.delegate=t,this.debugContextFactory=is,this.data=this.delegate.data}createDebugContext(t){return this.debugContextFactory(t)}destroyNode(t){const e=Oo(t);!function(t){Mo.delete(t.nativeNode)}(e),e instanceof So&&(e.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(t)}destroy(){this.delegate.destroy()}createElement(t,e){const n=this.delegate.createElement(t,e),l=this.createDebugContext(n);if(l){const e=new ko(n,null,l);e.name=t,Do(e)}return n}createComment(t){const e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&Do(new So(e,null,n)),e}createText(t){const e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&Do(new So(e,null,n)),e}appendChild(t,e){const n=Oo(t),l=Oo(e);n&&l&&n instanceof ko&&n.addChild(l),this.delegate.appendChild(t,e)}insertBefore(t,e,n){const l=Oo(t),i=Oo(e),r=Oo(n);l&&i&&l instanceof ko&&l.insertBefore(r,i),this.delegate.insertBefore(t,e,n)}removeChild(t,e){const n=Oo(t),l=Oo(e);n&&l&&n instanceof ko&&n.removeChild(l),this.delegate.removeChild(t,e)}selectRootElement(t,e){const n=this.delegate.selectRootElement(t,e),l=is();return l&&Do(new ko(n,null,l)),n}setAttribute(t,e,n,l){const i=Oo(t);i&&i instanceof ko&&(i.attributes[l?l+":"+e:e]=n),this.delegate.setAttribute(t,e,n,l)}removeAttribute(t,e,n){const l=Oo(t);l&&l instanceof ko&&(l.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)}addClass(t,e){const n=Oo(t);n&&n instanceof ko&&(n.classes[e]=!0),this.delegate.addClass(t,e)}removeClass(t,e){const n=Oo(t);n&&n instanceof ko&&(n.classes[e]=!1),this.delegate.removeClass(t,e)}setStyle(t,e,n,l){const i=Oo(t);i&&i instanceof ko&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,l)}removeStyle(t,e,n){const l=Oo(t);l&&l instanceof ko&&(l.styles[e]=null),this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){const l=Oo(t);l&&l instanceof ko&&(l.properties[e]=n),this.delegate.setProperty(t,e,n)}listen(t,e,n){if("string"!=typeof t){const l=Oo(t);l&&l.listeners.push(new xo(e,n))}return this.delegate.listen(t,e,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setValue(t,e){return this.delegate.setValue(t,e)}}function as(t,e,n){return new ss(t,e,n)}class ss extends ${constructor(t,e,n){super(),this.moduleType=t,this._bootstrapComponents=e,this._ngModuleDefFactory=n}create(t){!function(){if(Pa)return;Pa=!0;const t=$t()?{setCurrentNode:Wa,createRootView:Sa,createEmbeddedView:Ma,createComponentView:Oa,createNgModuleRef:Da,overrideProvider:La,overrideComponentView:ja,clearOverrides:Ra,checkAndUpdateView:Ua,checkNoChangesView:Ba,destroyView:za,createDebugContext:(t,e)=>new es(t,e),handleEvent:$a,updateDirectives:Xa,updateRenderer:Ka}:{setCurrentNode:()=>{},createRootView:xa,createEmbeddedView:ra,createComponentView:aa,createNgModuleRef:ji,overrideProvider:Dl,overrideComponentView:Dl,clearOverrides:Dl,checkAndUpdateView:ha,checkNoChangesView:da,destroyView:ga,createDebugContext:(t,e)=>new es(t,e),handleEvent:(t,e,n,l)=>t.def.handleEvent(t,e,n,l),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?Na:Ya,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?Na:Ya,t)};Ol.setCurrentNode=t.setCurrentNode,Ol.createRootView=t.createRootView,Ol.createEmbeddedView=t.createEmbeddedView,Ol.createComponentView=t.createComponentView,Ol.createNgModuleRef=t.createNgModuleRef,Ol.overrideProvider=t.overrideProvider,Ol.overrideComponentView=t.overrideComponentView,Ol.clearOverrides=t.clearOverrides,Ol.checkAndUpdateView=t.checkAndUpdateView,Ol.checkNoChangesView=t.checkNoChangesView,Ol.destroyView=t.destroyView,Ol.resolveDep=nr,Ol.createDebugContext=t.createDebugContext,Ol.handleEvent=t.handleEvent,Ol.updateDirectives=t.updateDirectives,Ol.updateRenderer=t.updateRenderer,Ol.dirtyParentQueries=Ho}();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),l={};for(const i in t.providersByKey)l[i]=t.providersByKey[i];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:l}}(Ql(this._ngModuleDefFactory));return Ol.createNgModuleRef(this.moduleType,t||on.NULL,this._bootstrapComponents,e)}}},"8bJo":function(t,e,n){"use strict";n.d(e,"d",(function(){return d})),n.d(e,"a",(function(){return u})),n.d(e,"e",(function(){return s})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c}));var l=n("HDdC"),i=n("LRne"),r=n("XNiG"),o=n("8Y7J");class a{}function s(t){return t&&"function"==typeof t.connect}class u extends a{constructor(t){super(),this._data=t}connect(){return this._data instanceof l.a?this._data:Object(i.a)(this._data)}disconnect(){}}class c{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new r.a,this.onChange=this.changed,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let d=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"8e4W":function(t,e,n){"use strict";var l=n("8rEH"),i=n("s7LF"),r=n("wd/R"),o=n("LRne"),a=n("JX91"),s=n("Kj3r"),u=n("eIep"),c=n("lJxs"),d=n("JIr8"),h=(n("G0WM"),n("vDCU"));n("sLNx"),n.d(e,"a",(function(){return p}));class p{constructor(t,e,n,i,r,o,a,s,u){this.document=t,this.dialogRef=e,this.data=n,this.tripService=i,this.stopPointService=r,this.engineService=o,this.operatorService=a,this.countryService=s,this.replayTripService=u,this.onSelect=h.a,this.searchActived=!0,this.fromIcaoAutoComplete$=null,this.toIcaoAutoComplete$=null,this.icaoTypeCodeAutoComplete$=null,this.operatorIcaoAutoComplete$=null,this.countryAutoComplete$=null,this.displayedColumns=["icao","registration","time","route","info","operation"],this.dataSource=new l.l,this.isLoading=!1}ngOnInit(){this.searchForm=new i.j({icao:new i.g(""),registration:new i.g(""),squawks:new i.g(""),callsigns:new i.g(""),fromIcao:new i.g(""),toIcao:new i.g(""),icaoTypeCode:new i.g(""),operatorIcao:new i.g(""),countryCodeIso3:new i.g(""),military:new i.g(!1),fromDate:new i.g(r().subtract(1,"month").format(),[i.w.required]),toDate:new i.g(r().format(),[i.w.required])})}ngAfterViewInit(){this.fromIcaoAutoComplete$=this.searchForm.controls.fromIcao.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupStopPoint(t):Object(o.a)(null))),this.toIcaoAutoComplete$=this.searchForm.controls.toIcao.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupStopPoint(t):Object(o.a)(null))),this.icaoTypeCodeAutoComplete$=this.searchForm.controls.icaoTypeCode.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupEngine(t):Object(o.a)(null))),this.operatorIcaoAutoComplete$=this.searchForm.controls.operatorIcao.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupOperator(t):Object(o.a)(null))),this.countryAutoComplete$=this.searchForm.controls.countryCodeIso3.valueChanges.pipe(Object(a.a)(""),Object(s.a)(300),Object(u.a)(t=>""!==t?this.lookupCountry(t):Object(o.a)(null)))}lookupStopPoint(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}lookupEngine(t){return this.engineService.getManyBaseEngineControllerEngine({filter:["icao||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}lookupOperator(t){return this.operatorService.getManyBaseOperatorControllerOperator({filter:["icao||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}lookupCountry(t){return this.countryService.getManyBaseCountryControllerCountry({filter:["name||cont||"+t],limit:10}).pipe(Object(c.a)(t=>t.data),Object(d.a)(t=>Object(o.a)(null)))}submitForm(){const t={filter:[],limit:10};this.searchForm.value.icao&&""!==this.searchForm.value.icao&&t.filter.push("icao||eq||"+this.searchForm.value.icao),this.searchForm.value.registration&&""!==this.searchForm.value.registration&&t.filter.push("registration||eq||"+this.searchForm.value.registration),this.searchForm.value.squawks&&""!==this.searchForm.value.squawks&&t.filter.push("squawks||any||"+this.searchForm.value.squawks),this.searchForm.value.callsigns&&""!==this.searchForm.value.callsigns&&t.filter.push("callsigns||any||"+this.searchForm.value.callsigns),this.searchForm.value.fromIcao&&""!==this.searchForm.value.fromIcao&&t.filter.push("fromIcao||eq||"+this.searchForm.value.fromIcao),this.searchForm.value.toIcao&&""!==this.searchForm.value.toIcao&&t.filter.push("toIcao||eq||"+this.searchForm.value.toIcao),this.searchForm.value.icaoTypeCode&&""!==this.searchForm.value.icaoTypeCode&&t.filter.push("icaoTypeCode||eq||"+this.searchForm.value.icaoTypeCode),this.searchForm.value.operatorIcao&&""!==this.searchForm.value.operatorIcao&&t.filter.push("operatorIcao||eq||"+this.searchForm.value.operatorIcao),this.searchForm.value.military&&""!==this.searchForm.value.military&&t.filter.push("military||eq||"+this.searchForm.value.military),this.searchForm.value.countryCodeIso3&&""!==this.searchForm.value.countryCodeIso3&&t.filter.push("countryCodeIso3||eq||"+this.searchForm.value.countryCodeIso3);let e=r().subtract(1,"month").set({hour:0,minute:0,second:0,millisecond:0}).format();this.searchForm.value.fromDate&&""!==this.searchForm.value.fromDate&&(e=r(this.searchForm.value.fromDate).set({hour:0,minute:0,second:0,millisecond:0}).format()),t.filter.push("createdAt||gte||"+e);let n=r().format();this.searchForm.value.toDate&&""!==this.searchForm.value.toDate&&(n=r(this.searchForm.value.toDate).format()),t.filter.push("createdAt||lte||"+n),this.isLoading=!0,this.searchActived=!1,this.tripService.getManyBaseTripControllerTrip(t).subscribe(t=>{this.isLoading=!1,this.dataSource.data=t.data},t=>{})}downloadCsvTrip(t){this.tripService.tripControllerGetCsvPositions({icao:t.icao,createdAt:String(t.createdAt)}).subscribe(e=>{!function(t,e,n){const l=new Blob([t],{type:"application/csv"}),i=window.URL.createObjectURL(l),r=document.createElement("a");r.download=n,r.href=i,r.click()}(e,0,t.icao+"_"+t.createdAt+"_"+t.updatedAt+".csv")})}playTrip(t){this.replayTripService.startReplayTrip(t),this.closeModal()}closeModal(){this.dialogRef.close()}}},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8rEH":function(t,e,n){"use strict";n.d(e,"m",(function(){return x})),n.d(e,"b",(function(){return f})),n.d(e,"f",(function(){return b})),n.d(e,"c",(function(){return m})),n.d(e,"e",(function(){return g})),n.d(e,"a",(function(){return _})),n.d(e,"k",(function(){return p})),n.d(e,"h",(function(){return y})),n.d(e,"j",(function(){return A})),n.d(e,"g",(function(){return v})),n.d(e,"d",(function(){return C})),n.d(e,"i",(function(){return w})),n.d(e,"l",(function(){return S})),n.d(e,"n",(function(){return P}));var l=n("zQui"),i=n("8bJo"),r=n("KCVW"),o=n("2Vo4"),a=n("XNiG"),s=n("quSY"),u=n("VRyK"),c=n("LRne"),d=n("itXk"),h=n("lJxs");class p extends l.o{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}class f extends l.b{}class b extends l.j{}class m extends l.d{}class g extends l.i{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}class _ extends l.a{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}class y extends l.l{}class A extends l.n{}class v extends l.k{}class C extends l.g{}class w extends l.m{}class P extends l.q{}class x{}class S extends i.b{constructor(t=[]){super(),this._renderData=new o.a([]),this._filter=new o.a(""),this._internalPageChanges=new a.a,this._renderChangesSubscription=s.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(r.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,l=e.direction;return n&&""!=l?t.sort((t,e)=>{let i=this.sortingDataAccessor(t,n),r=this.sortingDataAccessor(e,n),o=0;return null!=i&&null!=r?i>r?o=1:i<r&&(o=-1):null!=i?o=1:null!=r&&(o=-1),o*("asc"==l?1:-1)}):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce((e,n)=>e+t[n]+"\u25ec","").toLowerCase(),l=e.trim().toLowerCase();return-1!=n.indexOf(l)},this._data=new o.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(u.a)(this._sort.sortChange,this._sort.initialized):Object(c.a)(null),e=this._paginator?Object(u.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(c.a)(null),n=this._data,l=Object(d.a)([n,this._filter]).pipe(Object(h.a)(([t])=>this._filterData(t))),i=Object(d.a)([l,t]).pipe(Object(h.a)(([t])=>this._orderData(t))),r=Object(d.a)([i,e]).pipe(Object(h.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=r.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=this.filter?t.filter(t=>this.filterPredicate(t,this.filter)):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}},"8rpt":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("mrSG"),i=(n("ZZ/e"),n("oQtH"));n("oeKZ");class r{constructor(t,e,n){this.router=t,this.keycloakService=e,this.loadingController=n,this.defaultLoginRedirection=i.a.config.auth.loginReturn}ngOnInit(){this.keycloakService.authenticated()&&this.router.navigateByUrl("/home")}displayLoading(){return l.b(this,void 0,void 0,(function*(){return console.log("connection..."),this.loading=yield this.loadingController.create({spinner:null,duration:2e3,message:"Connexion en cours..."}),yield this.loading.present()}))}hideLoading(){return l.b(this,void 0,void 0,(function*(){return yield this.loading.dismiss()}))}login(t){t||(t=this.defaultLoginRedirection),this.keycloakService.login({redirectUri:t})}}},"914O":function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f}));var l=function(t){var e,n=void 0!==(t=t||{})?t:{},l={};for(e in n)n.hasOwnProperty(e)&&(l[e]=n[e]);var i,r=[],o="";document.currentScript&&(o=document.currentScript.src),o=0!==o.indexOf("blob:")?o.substr(0,o.lastIndexOf("/")+1):"",i=function(t,e,n){var l=new XMLHttpRequest;l.open("GET",t,!0),l.responseType="arraybuffer",l.onload=function(){if(200==l.status||0==l.status&&l.response)e(l.response);else{var i=$(t);i?e(i.buffer):n()}},l.onerror=n,l.send(null)};var a=n.print||console.log.bind(console),s=n.printErr||console.warn.bind(console);for(e in l)l.hasOwnProperty(e)&&(n[e]=l[e]);l=null,n.arguments&&(r=n.arguments);var u=0,c=function(){return u},d=!1;function h(t){var e=n["_"+t];return e||at("Assertion failed: Cannot call unknown function "+t+", make sure it is exported"),e}function p(t,e,n,l,i){var r={string:function(t){var e=0;if(null!=t&&0!==t){var n=1+(t.length<<2);!function(t,e,n){!function(t,e,n,l){if(!(l>0))return 0;for(var i=n+l-1,r=0;r<t.length;++r){var o=t.charCodeAt(r);if(o>=55296&&o<=57343&&(o=65536+((1023&o)<<10)|1023&t.charCodeAt(++r)),o<=127){if(n>=i)break;e[n++]=o}else if(o<=2047){if(n+1>=i)break;e[n++]=192|o>>6,e[n++]=128|63&o}else if(o<=65535){if(n+2>=i)break;e[n++]=224|o>>12,e[n++]=128|o>>6&63,e[n++]=128|63&o}else{if(n+3>=i)break;e[n++]=240|o>>18,e[n++]=128|o>>12&63,e[n++]=128|o>>6&63,e[n++]=128|63&o}}e[n]=0}(t,m,e,n)}(t,e=Z(n),n)}return e},array:function(t){var e=Z(t.length);return function(t,e){b.set(t,e)}(t,e),e}},o=h(t),a=[],s=0;if(l)for(var u=0;u<l.length;u++){var c=r[n[u]];c?(0===s&&(s=et()),a[u]=c(l[u])):a[u]=l[u]}var d=o.apply(null,a);return d=function(t){return"string"===e?C(t):"boolean"===e?Boolean(t):t}(d),0!==s&&tt(s),d}var f,b,m,g,_,y,A,v="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function C(t,e){return t?function(t,e,n){for(var l=e+n,i=e;t[i]&&!(i>=l);)++i;if(i-e>16&&t.subarray&&v)return v.decode(t.subarray(e,i));for(var r="";e<i;){var o=t[e++];if(128&o){var a=63&t[e++];if(192!=(224&o)){var s=63&t[e++];if((o=224==(240&o)?(15&o)<<12|a<<6|s:(7&o)<<18|a<<12|s<<6|63&t[e++])<65536)r+=String.fromCharCode(o);else{var u=o-65536;r+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else r+=String.fromCharCode((31&o)<<6|a)}else r+=String.fromCharCode(o)}return r}(m,t,e):""}function w(t,e){return t%e>0&&(t+=e-t%e),t}function P(t){f=t,n.HEAP8=b=new Int8Array(t),n.HEAP16=g=new Int16Array(t),n.HEAP32=_=new Int32Array(t),n.HEAPU8=m=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=y=new Float32Array(t),n.HEAPF64=A=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var x=n.TOTAL_MEMORY||33554432;function S(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var l=e.func;"number"==typeof l?void 0===e.arg?n.dynCall_v(l):n.dynCall_vi(l,e.arg):l(void 0===e.arg?null:e.arg)}else e()}}x=(f=n.buffer?n.buffer:new ArrayBuffer(x)).byteLength,P(f),_[6004]=5266928;var k=[],M=[],O=[],D=[],T=Math.abs,E=Math.ceil,I=Math.floor,L=Math.min,j=0,R=null,F=null;n.preloadedImages={},n.preloadedAudios={};var N,Y,U=null,B="data:application/octet-stream;base64,";function z(t){return String.prototype.startsWith?t.startsWith(B):0===t.indexOf(B)}function G(t){return t.replace(/\b__Z[\w\d_]+/g,(function(t){return t==t?t:t+" ["+t+"]"}))}function H(){var t=new Error;if(!t.stack){try{throw new Error(0)}catch(e){t=e}if(!t.stack)return"(no stack trace available)"}return t.stack.toString()}function V(){return b.length}function q(t){try{var e=new ArrayBuffer(t);if(e.byteLength!=t)return;return new Int8Array(e).set(b),Q(e),P(e),1}catch(n){}}U="data:application/octet-stream;base64,AAAAAAAAAAACAAAAAwAAAAEAAAAFAAAABAAAAAYAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAABAAAABAAAAAMAAAAGAAAABQAAAAIAAAAAAAAAAgAAAAMAAAABAAAABAAAAAYAAAAAAAAABQAAAAMAAAAGAAAABAAAAAUAAAAAAAAAAQAAAAIAAAAEAAAABQAAAAYAAAAAAAAAAgAAAAMAAAABAAAABQAAAAIAAAAAAAAAAQAAAAMAAAAGAAAABAAAAAYAAAAAAAAABQAAAAIAAAABAAAABAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAgAAAAMAAAAAAAAAAAAAAAIAAAAAAAAAAQAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAABgAAAAAAAAAFAAAAAAAAAAAAAAAEAAAABQAAAAAAAAAAAAAAAAAAAAIAAAAAAAAABgAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAAAAAACAAAAAwAAAAQAAAAFAAAABgAAAAAAAAABAAAAAwAAAAQAAAAFAAAABgAAAAAAAAABAAAAAgAAAAQAAAAFAAAABgAAAAAAAAABAAAAAgAAAAMAAAAFAAAABgAAAAAAAAABAAAAAgAAAAMAAAAEAAAABgAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAADAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAACAAAAAgAAAAAAAAAAAAAABgAAAAAAAAADAAAAAgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAUAAAAEAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAEAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAUAAAACAAAABAAAAAMAAAAIAAAAAQAAAAcAAAAGAAAACQAAAAAAAAADAAAAAgAAAAIAAAAGAAAACgAAAAsAAAAAAAAAAQAAAAUAAAADAAAADQAAAAEAAAAHAAAABAAAAAwAAAAAAAAABAAAAH8AAAAPAAAACAAAAAMAAAAAAAAADAAAAAUAAAACAAAAEgAAAAoAAAAIAAAAAAAAABAAAAAGAAAADgAAAAsAAAARAAAAAQAAAAkAAAACAAAABwAAABUAAAAJAAAAEwAAAAMAAAANAAAAAQAAAAgAAAAFAAAAFgAAABAAAAAEAAAAAAAAAA8AAAAJAAAAEwAAAA4AAAAUAAAAAQAAAAcAAAAGAAAACgAAAAsAAAAYAAAAFwAAAAUAAAACAAAAEgAAAAsAAAARAAAAFwAAABkAAAACAAAABgAAAAoAAAAMAAAAHAAAAA0AAAAaAAAABAAAAA8AAAADAAAADQAAABoAAAAVAAAAHQAAAAMAAAAMAAAABwAAAA4AAAB/AAAAEQAAABsAAAAJAAAAFAAAAAYAAAAPAAAAFgAAABwAAAAfAAAABAAAAAgAAAAMAAAAEAAAABIAAAAhAAAAHgAAAAgAAAAFAAAAFgAAABEAAAALAAAADgAAAAYAAAAjAAAAGQAAABsAAAASAAAAGAAAAB4AAAAgAAAABQAAAAoAAAAQAAAAEwAAACIAAAAUAAAAJAAAAAcAAAAVAAAACQAAABQAAAAOAAAAEwAAAAkAAAAoAAAAGwAAACQAAAAVAAAAJgAAABMAAAAiAAAADQAAAB0AAAAHAAAAFgAAABAAAAApAAAAIQAAAA8AAAAIAAAAHwAAABcAAAAYAAAACwAAAAoAAAAnAAAAJQAAABkAAAAYAAAAfwAAACAAAAAlAAAACgAAABcAAAASAAAAGQAAABcAAAARAAAACwAAAC0AAAAnAAAAIwAAABoAAAAqAAAAHQAAACsAAAAMAAAAHAAAAA0AAAAbAAAAKAAAACMAAAAuAAAADgAAABQAAAARAAAAHAAAAB8AAAAqAAAALAAAAAwAAAAPAAAAGgAAAB0AAAArAAAAJgAAAC8AAAANAAAAGgAAABUAAAAeAAAAIAAAADAAAAAyAAAAEAAAABIAAAAhAAAAHwAAACkAAAAsAAAANQAAAA8AAAAWAAAAHAAAACAAAAAeAAAAGAAAABIAAAA0AAAAMgAAACUAAAAhAAAAHgAAADEAAAAwAAAAFgAAABAAAAApAAAAIgAAABMAAAAmAAAAFQAAADYAAAAkAAAAMwAAACMAAAAuAAAALQAAADgAAAARAAAAGwAAABkAAAAkAAAAFAAAACIAAAATAAAANwAAACgAAAA2AAAAJQAAACcAAAA0AAAAOQAAABgAAAAXAAAAIAAAACYAAAB/AAAAIgAAADMAAAAdAAAALwAAABUAAAAnAAAAJQAAABkAAAAXAAAAOwAAADkAAAAtAAAAKAAAABsAAAAkAAAAFAAAADwAAAAuAAAANwAAACkAAAAxAAAANQAAAD0AAAAWAAAAIQAAAB8AAAAqAAAAOgAAACsAAAA+AAAAHAAAACwAAAAaAAAAKwAAAD4AAAAvAAAAQAAAABoAAAAqAAAAHQAAACwAAAA1AAAAOgAAAEEAAAAcAAAAHwAAACoAAAAtAAAAJwAAACMAAAAZAAAAPwAAADsAAAA4AAAALgAAADwAAAA4AAAARAAAABsAAAAoAAAAIwAAAC8AAAAmAAAAKwAAAB0AAABFAAAAMwAAAEAAAAAwAAAAMQAAAB4AAAAhAAAAQwAAAEIAAAAyAAAAMQAAAH8AAAA9AAAAQgAAACEAAAAwAAAAKQAAADIAAAAwAAAAIAAAAB4AAABGAAAAQwAAADQAAAAzAAAARQAAADYAAABHAAAAJgAAAC8AAAAiAAAANAAAADkAAABGAAAASgAAACAAAAAlAAAAMgAAADUAAAA9AAAAQQAAAEsAAAAfAAAAKQAAACwAAAA2AAAARwAAADcAAABJAAAAIgAAADMAAAAkAAAANwAAACgAAAA2AAAAJAAAAEgAAAA8AAAASQAAADgAAABEAAAAPwAAAE0AAAAjAAAALgAAAC0AAAA5AAAAOwAAAEoAAABOAAAAJQAAACcAAAA0AAAAOgAAAH8AAAA+AAAATAAAACwAAABBAAAAKgAAADsAAAA/AAAATgAAAE8AAAAnAAAALQAAADkAAAA8AAAASAAAAEQAAABQAAAAKAAAADcAAAAuAAAAPQAAADUAAAAxAAAAKQAAAFEAAABLAAAAQgAAAD4AAAArAAAAOgAAACoAAABSAAAAQAAAAEwAAAA/AAAAfwAAADgAAAAtAAAATwAAADsAAABNAAAAQAAAAC8AAAA+AAAAKwAAAFQAAABFAAAAUgAAAEEAAAA6AAAANQAAACwAAABWAAAATAAAAEsAAABCAAAAQwAAAFEAAABVAAAAMQAAADAAAAA9AAAAQwAAAEIAAAAyAAAAMAAAAFcAAABVAAAARgAAAEQAAAA4AAAAPAAAAC4AAABaAAAATQAAAFAAAABFAAAAMwAAAEAAAAAvAAAAWQAAAEcAAABUAAAARgAAAEMAAAA0AAAAMgAAAFMAAABXAAAASgAAAEcAAABZAAAASQAAAFsAAAAzAAAARQAAADYAAABIAAAAfwAAAEkAAAA3AAAAUAAAADwAAABYAAAASQAAAFsAAABIAAAAWAAAADYAAABHAAAANwAAAEoAAABOAAAAUwAAAFwAAAA0AAAAOQAAAEYAAABLAAAAQQAAAD0AAAA1AAAAXgAAAFYAAABRAAAATAAAAFYAAABSAAAAYAAAADoAAABBAAAAPgAAAE0AAAA/AAAARAAAADgAAABdAAAATwAAAFoAAABOAAAASgAAADsAAAA5AAAAXwAAAFwAAABPAAAATwAAAE4AAAA/AAAAOwAAAF0AAABfAAAATQAAAFAAAABEAAAASAAAADwAAABjAAAAWgAAAFgAAABRAAAAVQAAAF4AAABlAAAAPQAAAEIAAABLAAAAUgAAAGAAAABUAAAAYgAAAD4AAABMAAAAQAAAAFMAAAB/AAAASgAAAEYAAABkAAAAVwAAAFwAAABUAAAARQAAAFIAAABAAAAAYQAAAFkAAABiAAAAVQAAAFcAAABlAAAAZgAAAEIAAABDAAAAUQAAAFYAAABMAAAASwAAAEEAAABoAAAAYAAAAF4AAABXAAAAUwAAAGYAAABkAAAAQwAAAEYAAABVAAAAWAAAAEgAAABbAAAASQAAAGMAAABQAAAAaQAAAFkAAABhAAAAWwAAAGcAAABFAAAAVAAAAEcAAABaAAAATQAAAFAAAABEAAAAagAAAF0AAABjAAAAWwAAAEkAAABZAAAARwAAAGkAAABYAAAAZwAAAFwAAABTAAAATgAAAEoAAABsAAAAZAAAAF8AAABdAAAATwAAAFoAAABNAAAAbQAAAF8AAABqAAAAXgAAAFYAAABRAAAASwAAAGsAAABoAAAAZQAAAF8AAABcAAAATwAAAE4AAABtAAAAbAAAAF0AAABgAAAAaAAAAGIAAABuAAAATAAAAFYAAABSAAAAYQAAAH8AAABiAAAAVAAAAGcAAABZAAAAbwAAAGIAAABuAAAAYQAAAG8AAABSAAAAYAAAAFQAAABjAAAAUAAAAGkAAABYAAAAagAAAFoAAABxAAAAZAAAAGYAAABTAAAAVwAAAGwAAAByAAAAXAAAAGUAAABmAAAAawAAAHAAAABRAAAAVQAAAF4AAABmAAAAZQAAAFcAAABVAAAAcgAAAHAAAABkAAAAZwAAAFsAAABhAAAAWQAAAHQAAABpAAAAbwAAAGgAAABrAAAAbgAAAHMAAABWAAAAXgAAAGAAAABpAAAAWAAAAGcAAABbAAAAcQAAAGMAAAB0AAAAagAAAF0AAABjAAAAWgAAAHUAAABtAAAAcQAAAGsAAAB/AAAAZQAAAF4AAABzAAAAaAAAAHAAAABsAAAAZAAAAF8AAABcAAAAdgAAAHIAAABtAAAAbQAAAGwAAABdAAAAXwAAAHUAAAB2AAAAagAAAG4AAABiAAAAaAAAAGAAAAB3AAAAbwAAAHMAAABvAAAAYQAAAG4AAABiAAAAdAAAAGcAAAB3AAAAcAAAAGsAAABmAAAAZQAAAHgAAABzAAAAcgAAAHEAAABjAAAAdAAAAGkAAAB1AAAAagAAAHkAAAByAAAAcAAAAGQAAABmAAAAdgAAAHgAAABsAAAAcwAAAG4AAABrAAAAaAAAAHgAAAB3AAAAcAAAAHQAAABnAAAAdwAAAG8AAABxAAAAaQAAAHkAAAB1AAAAfwAAAG0AAAB2AAAAcQAAAHkAAABqAAAAdgAAAHgAAABsAAAAcgAAAHUAAAB5AAAAbQAAAHcAAABvAAAAcwAAAG4AAAB5AAAAdAAAAHgAAAB4AAAAcwAAAHIAAABwAAAAeQAAAHcAAAB2AAAAeQAAAHQAAAB4AAAAdwAAAHUAAABxAAAAdgAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAEAAAAFAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAIAAAAFAAAAAQAAAAAAAAD/////AQAAAAAAAAADAAAABAAAAAIAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAUAAAABAAAAAAAAAAAAAAABAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAMAAAAAAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAMAAAAFAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAQAAAAFAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAP////8DAAAAAAAAAAUAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAEAAAADAAAAAAAAAAAAAAABAAAAAAAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAABAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAADAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAMAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAADAAAABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAADAAAAAAAAAAAAAAABAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAD/////AwAAAAAAAAAFAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAD/////AwAAAAAAAAAFAAAAAgAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAAAAAADAAAAAAAAAP////8DAAAAAAAAAAUAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAwAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAAAAAP////8DAAAAAAAAAAUAAAACAAAAAAAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAUAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAEAAAADAAAAAQAAAAAAAAABAAAAAAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAMAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAMAAAADAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAADAAAAAAAAAAAAAAD/////AwAAAAAAAAAFAAAAAgAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAADAAAAAAAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAADAAAABQAAAAEAAAAAAAAA/////wMAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAEAAAABQAAAAEAAAAAAAAAAwAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAgAAAAUAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAMAAAABAAAAAAAAAAEAAAAAAAAABQAAAAAAAAAAAAAABQAAAAUAAAAAAAAAAAAAAP////8BAAAAAAAAAAMAAAAEAAAAAgAAAAAAAAAAAAAAAQAAAAAAAAAAAAAABQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAUAAAAAAAAAAAAAAAUAAAAFAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAABQAAAAEAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAQAAAP//////////AQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAMAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAIAAAAAAAAAAAAAAAEAAAACAAAABgAAAAQAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAoAAAACAAAAAAAAAAAAAAABAAAAAQAAAAUAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAIAAAAAAAAAAAAAAAEAAAADAAAABwAAAAYAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAHAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAABAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAOAAAAAgAAAAAAAAAAAAAAAQAAAAAAAAAJAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAwAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAgAAAAAAAAAAAAAAAQAAAAQAAAAIAAAACgAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAACAAAAAAAAAAAAAAABAAAACwAAAA8AAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA4AAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAgAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAFAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAACAAAAAAAAAAAAAAABAAAADAAAABAAAAAMAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAIAAAAAAAAAAAAAAAEAAAAKAAAAEwAAAAgAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABAAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAJAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAgAAAAAAAAAAAAAAAQAAAA0AAAARAAAADQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABEAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAATAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABMAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAADQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAIAAAAAAAAAAAAAAAEAAAAOAAAAEgAAAA8AAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAPAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAABIAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAATAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAEQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAABMAAAACAAAAAAAAAAAAAAABAAAA//////////8TAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAASAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABIAAAAAAAAAGAAAAAAAAAAhAAAAAAAAAB4AAAAAAAAAIAAAAAMAAAAxAAAAAQAAADAAAAADAAAAMgAAAAMAAAAIAAAAAAAAAAUAAAAFAAAACgAAAAUAAAAWAAAAAAAAABAAAAAAAAAAEgAAAAAAAAApAAAAAQAAACEAAAAAAAAAHgAAAAAAAAAEAAAAAAAAAAAAAAAFAAAAAgAAAAUAAAAPAAAAAQAAAAgAAAAAAAAABQAAAAUAAAAfAAAAAQAAABYAAAAAAAAAEAAAAAAAAAACAAAAAAAAAAYAAAAAAAAADgAAAAAAAAAKAAAAAAAAAAsAAAAAAAAAEQAAAAMAAAAYAAAAAQAAABcAAAADAAAAGQAAAAMAAAAAAAAAAAAAAAEAAAAFAAAACQAAAAUAAAAFAAAAAAAAAAIAAAAAAAAABgAAAAAAAAASAAAAAQAAAAoAAAAAAAAACwAAAAAAAAAEAAAAAQAAAAMAAAAFAAAABwAAAAUAAAAIAAAAAQAAAAAAAAAAAAAAAQAAAAUAAAAQAAAAAQAAAAUAAAAAAAAAAgAAAAAAAAAHAAAAAAAAABUAAAAAAAAAJgAAAAAAAAAJAAAAAAAAABMAAAAAAAAAIgAAAAMAAAAOAAAAAQAAABQAAAADAAAAJAAAAAMAAAADAAAAAAAAAA0AAAAFAAAAHQAAAAUAAAABAAAAAAAAAAcAAAAAAAAAFQAAAAAAAAAGAAAAAQAAAAkAAAAAAAAAEwAAAAAAAAAEAAAAAgAAAAwAAAAFAAAAGgAAAAUAAAAAAAAAAQAAAAMAAAAAAAAADQAAAAUAAAACAAAAAQAAAAEAAAAAAAAABwAAAAAAAAAaAAAAAAAAACoAAAAAAAAAOgAAAAAAAAAdAAAAAAAAACsAAAAAAAAAPgAAAAMAAAAmAAAAAQAAAC8AAAADAAAAQAAAAAMAAAAMAAAAAAAAABwAAAAFAAAALAAAAAUAAAANAAAAAAAAABoAAAAAAAAAKgAAAAAAAAAVAAAAAQAAAB0AAAAAAAAAKwAAAAAAAAAEAAAAAwAAAA8AAAAFAAAAHwAAAAUAAAADAAAAAQAAAAwAAAAAAAAAHAAAAAUAAAAHAAAAAQAAAA0AAAAAAAAAGgAAAAAAAAAfAAAAAAAAACkAAAAAAAAAMQAAAAAAAAAsAAAAAAAAADUAAAAAAAAAPQAAAAMAAAA6AAAAAQAAAEEAAAADAAAASwAAAAMAAAAPAAAAAAAAABYAAAAFAAAAIQAAAAUAAAAcAAAAAAAAAB8AAAAAAAAAKQAAAAAAAAAqAAAAAQAAACwAAAAAAAAANQAAAAAAAAAEAAAABAAAAAgAAAAFAAAAEAAAAAUAAAAMAAAAAQAAAA8AAAAAAAAAFgAAAAUAAAAaAAAAAQAAABwAAAAAAAAAHwAAAAAAAAAyAAAAAAAAADAAAAAAAAAAMQAAAAMAAAAgAAAAAAAAAB4AAAADAAAAIQAAAAMAAAAYAAAAAwAAABIAAAADAAAAEAAAAAMAAABGAAAAAAAAAEMAAAAAAAAAQgAAAAMAAAA0AAAAAwAAADIAAAAAAAAAMAAAAAAAAAAlAAAAAwAAACAAAAAAAAAAHgAAAAMAAABTAAAAAAAAAFcAAAADAAAAVQAAAAMAAABKAAAAAwAAAEYAAAAAAAAAQwAAAAAAAAA5AAAAAQAAADQAAAADAAAAMgAAAAAAAAAZAAAAAAAAABcAAAAAAAAAGAAAAAMAAAARAAAAAAAAAAsAAAADAAAACgAAAAMAAAAOAAAAAwAAAAYAAAADAAAAAgAAAAMAAAAtAAAAAAAAACcAAAAAAAAAJQAAAAMAAAAjAAAAAwAAABkAAAAAAAAAFwAAAAAAAAAbAAAAAwAAABEAAAAAAAAACwAAAAMAAAA/AAAAAAAAADsAAAADAAAAOQAAAAMAAAA4AAAAAwAAAC0AAAAAAAAAJwAAAAAAAAAuAAAAAwAAACMAAAADAAAAGQAAAAAAAAAkAAAAAAAAABQAAAAAAAAADgAAAAMAAAAiAAAAAAAAABMAAAADAAAACQAAAAMAAAAmAAAAAwAAABUAAAADAAAABwAAAAMAAAA3AAAAAAAAACgAAAAAAAAAGwAAAAMAAAA2AAAAAwAAACQAAAAAAAAAFAAAAAAAAAAzAAAAAwAAACIAAAAAAAAAEwAAAAMAAABIAAAAAAAAADwAAAADAAAALgAAAAMAAABJAAAAAwAAADcAAAAAAAAAKAAAAAAAAABHAAAAAwAAADYAAAADAAAAJAAAAAAAAABAAAAAAAAAAC8AAAAAAAAAJgAAAAMAAAA+AAAAAAAAACsAAAADAAAAHQAAAAMAAAA6AAAAAwAAACoAAAADAAAAGgAAAAMAAABUAAAAAAAAAEUAAAAAAAAAMwAAAAMAAABSAAAAAwAAAEAAAAAAAAAALwAAAAAAAABMAAAAAwAAAD4AAAAAAAAAKwAAAAMAAABhAAAAAAAAAFkAAAADAAAARwAAAAMAAABiAAAAAwAAAFQAAAAAAAAARQAAAAAAAABgAAAAAwAAAFIAAAADAAAAQAAAAAAAAABLAAAAAAAAAEEAAAAAAAAAOgAAAAMAAAA9AAAAAAAAADUAAAADAAAALAAAAAMAAAAxAAAAAwAAACkAAAADAAAAHwAAAAMAAABeAAAAAAAAAFYAAAAAAAAATAAAAAMAAABRAAAAAwAAAEsAAAAAAAAAQQAAAAAAAABCAAAAAwAAAD0AAAAAAAAANQAAAAMAAABrAAAAAAAAAGgAAAADAAAAYAAAAAMAAABlAAAAAwAAAF4AAAAAAAAAVgAAAAAAAABVAAAAAwAAAFEAAAADAAAASwAAAAAAAAA5AAAAAAAAADsAAAAAAAAAPwAAAAMAAABKAAAAAAAAAE4AAAADAAAATwAAAAMAAABTAAAAAwAAAFwAAAADAAAAXwAAAAMAAAAlAAAAAAAAACcAAAADAAAALQAAAAMAAAA0AAAAAAAAADkAAAAAAAAAOwAAAAAAAABGAAAAAwAAAEoAAAAAAAAATgAAAAMAAAAYAAAAAAAAABcAAAADAAAAGQAAAAMAAAAgAAAAAwAAACUAAAAAAAAAJwAAAAMAAAAyAAAAAwAAADQAAAAAAAAAOQAAAAAAAAAuAAAAAAAAADwAAAAAAAAASAAAAAMAAAA4AAAAAAAAAEQAAAADAAAAUAAAAAMAAAA/AAAAAwAAAE0AAAADAAAAWgAAAAMAAAAbAAAAAAAAACgAAAADAAAANwAAAAMAAAAjAAAAAAAAAC4AAAAAAAAAPAAAAAAAAAAtAAAAAwAAADgAAAAAAAAARAAAAAMAAAAOAAAAAAAAABQAAAADAAAAJAAAAAMAAAARAAAAAwAAABsAAAAAAAAAKAAAAAMAAAAZAAAAAwAAACMAAAAAAAAALgAAAAAAAABHAAAAAAAAAFkAAAAAAAAAYQAAAAMAAABJAAAAAAAAAFsAAAADAAAAZwAAAAMAAABIAAAAAwAAAFgAAAADAAAAaQAAAAMAAAAzAAAAAAAAAEUAAAADAAAAVAAAAAMAAAA2AAAAAAAAAEcAAAAAAAAAWQAAAAAAAAA3AAAAAwAAAEkAAAAAAAAAWwAAAAMAAAAmAAAAAAAAAC8AAAADAAAAQAAAAAMAAAAiAAAAAwAAADMAAAAAAAAARQAAAAMAAAAkAAAAAwAAADYAAAAAAAAARwAAAAAAAABgAAAAAAAAAGgAAAAAAAAAawAAAAMAAABiAAAAAAAAAG4AAAADAAAAcwAAAAMAAABhAAAAAwAAAG8AAAADAAAAdwAAAAMAAABMAAAAAAAAAFYAAAADAAAAXgAAAAMAAABSAAAAAAAAAGAAAAAAAAAAaAAAAAAAAABUAAAAAwAAAGIAAAAAAAAAbgAAAAMAAAA6AAAAAAAAAEEAAAADAAAASwAAAAMAAAA+AAAAAwAAAEwAAAAAAAAAVgAAAAMAAABAAAAAAwAAAFIAAAAAAAAAYAAAAAAAAABVAAAAAAAAAFcAAAAAAAAAUwAAAAMAAABlAAAAAAAAAGYAAAADAAAAZAAAAAMAAABrAAAAAwAAAHAAAAADAAAAcgAAAAMAAABCAAAAAAAAAEMAAAADAAAARgAAAAMAAABRAAAAAAAAAFUAAAAAAAAAVwAAAAAAAABeAAAAAwAAAGUAAAAAAAAAZgAAAAMAAAAxAAAAAAAAADAAAAADAAAAMgAAAAMAAAA9AAAAAwAAAEIAAAAAAAAAQwAAAAMAAABLAAAAAwAAAFEAAAAAAAAAVQAAAAAAAABfAAAAAAAAAFwAAAAAAAAAUwAAAAAAAABPAAAAAAAAAE4AAAAAAAAASgAAAAMAAAA/AAAAAQAAADsAAAADAAAAOQAAAAMAAABtAAAAAAAAAGwAAAAAAAAAZAAAAAUAAABdAAAAAQAAAF8AAAAAAAAAXAAAAAAAAABNAAAAAQAAAE8AAAAAAAAATgAAAAAAAAB1AAAABAAAAHYAAAAFAAAAcgAAAAUAAABqAAAAAQAAAG0AAAAAAAAAbAAAAAAAAABaAAAAAQAAAF0AAAABAAAAXwAAAAAAAABaAAAAAAAAAE0AAAAAAAAAPwAAAAAAAABQAAAAAAAAAEQAAAAAAAAAOAAAAAMAAABIAAAAAQAAADwAAAADAAAALgAAAAMAAABqAAAAAAAAAF0AAAAAAAAATwAAAAUAAABjAAAAAQAAAFoAAAAAAAAATQAAAAAAAABYAAAAAQAAAFAAAAAAAAAARAAAAAAAAAB1AAAAAwAAAG0AAAAFAAAAXwAAAAUAAABxAAAAAQAAAGoAAAAAAAAAXQAAAAAAAABpAAAAAQAAAGMAAAABAAAAWgAAAAAAAABpAAAAAAAAAFgAAAAAAAAASAAAAAAAAABnAAAAAAAAAFsAAAAAAAAASQAAAAMAAABhAAAAAQAAAFkAAAADAAAARwAAAAMAAABxAAAAAAAAAGMAAAAAAAAAUAAAAAUAAAB0AAAAAQAAAGkAAAAAAAAAWAAAAAAAAABvAAAAAQAAAGcAAAAAAAAAWwAAAAAAAAB1AAAAAgAAAGoAAAAFAAAAWgAAAAUAAAB5AAAAAQAAAHEAAAAAAAAAYwAAAAAAAAB3AAAAAQAAAHQAAAABAAAAaQAAAAAAAAB3AAAAAAAAAG8AAAAAAAAAYQAAAAAAAABzAAAAAAAAAG4AAAAAAAAAYgAAAAMAAABrAAAAAQAAAGgAAAADAAAAYAAAAAMAAAB5AAAAAAAAAHQAAAAAAAAAZwAAAAUAAAB4AAAAAQAAAHcAAAAAAAAAbwAAAAAAAABwAAAAAQAAAHMAAAAAAAAAbgAAAAAAAAB1AAAAAQAAAHEAAAAFAAAAaQAAAAUAAAB2AAAAAQAAAHkAAAAAAAAAdAAAAAAAAAByAAAAAQAAAHgAAAABAAAAdwAAAAAAAAByAAAAAAAAAHAAAAAAAAAAawAAAAAAAABkAAAAAAAAAGYAAAAAAAAAZQAAAAMAAABTAAAAAQAAAFcAAAADAAAAVQAAAAMAAAB2AAAAAAAAAHgAAAAAAAAAcwAAAAUAAABsAAAAAQAAAHIAAAAAAAAAcAAAAAAAAABcAAAAAQAAAGQAAAAAAAAAZgAAAAAAAAB1AAAAAAAAAHkAAAAFAAAAdwAAAAUAAABtAAAAAQAAAHYAAAAAAAAAeAAAAAAAAABfAAAAAQAAAGwAAAABAAAAcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAEAAAABAAAAAAAAAAAAAAABAAAAAAAAAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAB+ogX28rbpPxqumpJv+fM/165tC4ns9D+XaEnTqUsEQFrOtNlC4PA/3U+0XG6P9b9TdUUBxTTjP4PUp8ex1ty/B1rD/EN43z+lcDi6LLrZP/a45NWEHMY/oJ5ijLDZ+j/xw3rjxWPjP2B8A46ioQdAotff3wla2z+FMSpA1jj+v6b5Y1mtPbS/cIu8K0F457/2esiyJpDNv98k5Ts2NeA/pvljWa09tD88ClUJ60MDQPZ6yLImkM0/4ONKxa0UBcD2uOTVhBzGv5G7JRxGave/8cN648Vj47+HCwtkjAXIv6LX398JWtu/qyheaCAL9D9TdUUBxTTjv4gyTxslhwVAB1rD/EN4378EH/28teoFwH6iBfbytum/F6ztFYdK/r/Xrm0Liez0vwcS6wNGWeO/Ws602ULg8L9TCtRLiLT8P8pi5RexJsw/BlIKPVwR5T95Wyu0/QjnP5PjoT7YYcu/mBhKZ6zrwj8wRYS7NebuP3qW6geh+Ls/SLrixebL3r+pcyymN9XrPwmkNHp7xec/GWNMZVAA17+82s+x2BLiPwn2ytbJ9ek/LgEH1sMS1j8yp/2LhTfeP+SnWwtQBbu/d38gkp5X7z8ytsuHaADGPzUYObdf1+m/7IauECWhwz+cjSACjzniP76Z+wUhN9K/1+GEKzup67+/GYr/04baPw6idWOvsuc/ZedTWsRa5b/EJQOuRzi0v/OncYhHPes/h49PixY53j+i8wWfC03Nvw2idWOvsue/ZedTWsRa5T/EJQOuRzi0P/KncYhHPeu/iY9PixY53r+i8wWfC03NP9anWwtQBbs/d38gkp5X778ytsuHaADGvzUYObdf1+k/74auECWhw7+cjSACjzniv8CZ+wUhN9I/1uGEKzup6z+/GYr/04bavwmkNHp7xee/F2NMZVAA1z+82s+x2BLivwr2ytbJ9em/KwEH1sMS1r8yp/2LhTfev81i5RexJsy/BlIKPVwR5b95Wyu0/Qjnv5DjoT7YYcs/nBhKZ6zrwr8wRYS7Nebuv3OW6geh+Lu/SLrixebL3j+pcyymN9Xrv8rHIFfWehZAMBwUdlo0DECTUc17EOb2PxpVB1SWChdAzjbhb9pTDUDQhmdvECX5P9FlMKCC9+g/IIAzjELgE0DajDngMv8GQFhWDmDPjNs/y1guLh96EkAxPi8k7DIEQJCc4URlhRhA3eLKKLwkEECqpNAyTBD/P6xpjXcDiwVAFtl//cQm4z+Ibt3XKiYTQM7mCLUb3QdAoM1t8yVv7D8aLZv2Nk8UQEAJPV5nQwxAtSsfTCoE9z9TPjXLXIIWQBVanC5W9AtAYM3d7Adm9j++5mQz1FoWQBUThyaVBghAwH5muQsV7T89Q1qv82MUQJoWGOfNuBdAzrkClkmwDkDQjKq77t37Py+g0dtitsE/ZwAMTwVPEUBojepluNwBQGYbtuW+t9w/HNWIJs6MEkDTNuQUSlgEQKxktPP5TcQ/ixbLB8JjEUCwuWjXMQYCQAS/R09FkRdAowpiZjhhDkB7LmlczD/7P01iQmhhsAVAnrtTwDy84z/Z6jfQ2TgTQChOCXMnWwpAhrW3daoz8z/HYJvVPI4VQLT3ik5FcA5Angi7LOZd+z+NNVzDy5gXQBXdvVTFUA1AYNMgOeYe+T8+qHXGCwkXQKQTOKwa5AJA8gFVoEMW0T+FwzJyttIRQAEAAAD/////BwAAAP////8xAAAA/////1cBAAD/////YQkAAP////+nQQAA/////5HLAQD/////95AMAP/////B9lcAAAAAAAAAAAAAAAAAAgAAAP////8OAAAA/////2IAAAD/////rgIAAP/////CEgAA/////06DAAD/////IpcDAP/////uIRkA/////4LtrwAAAAAAAAAAAAAAAAAAAAAAAgAAAP//////////AQAAAAMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////wIAAAD//////////wEAAAAAAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA/////////////////////wEAAAD///////////////8CAAAA////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD///////////////////////////////8CAAAA////////////////AQAAAP////////////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAAAQAAAP//////////AgAAAP//////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAAEAAAD//////////wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAgAAAAAAAAACAAAAAQAAAAEAAAACAAAAAgAAAAAAAAAFAAAABQAAAAAAAAACAAAAAgAAAAMAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAABAAAAAgAAAAIAAAACAAAAAAAAAAUAAAAGAAAAAAAAAAIAAAACAAAAAwAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAAAAAAAAgAAAAEAAAADAAAAAgAAAAIAAAAAAAAABQAAAAcAAAAAAAAAAgAAAAIAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAgAAAAAAAAACAAAAAQAAAAQAAAACAAAAAgAAAAAAAAAFAAAACAAAAAAAAAACAAAAAgAAAAMAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAACAAAAAAAAAAIAAAABAAAAAAAAAAIAAAACAAAAAAAAAAUAAAAJAAAAAAAAAAIAAAACAAAAAwAAAAUAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAIAAAACAAAAAAAAAAMAAAAOAAAAAgAAAAAAAAACAAAAAwAAAAAAAAAAAAAAAgAAAAIAAAADAAAABgAAAAAAAAAAAAAAAAAAAAAAAAALAAAAAgAAAAIAAAAAAAAAAwAAAAoAAAACAAAAAAAAAAIAAAADAAAAAQAAAAAAAAACAAAAAgAAAAMAAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAACAAAAAgAAAAAAAAADAAAACwAAAAIAAAAAAAAAAgAAAAMAAAACAAAAAAAAAAIAAAACAAAAAwAAAAgAAAAAAAAAAAAAAAAAAAAAAAAADQAAAAIAAAACAAAAAAAAAAMAAAAMAAAAAgAAAAAAAAACAAAAAwAAAAMAAAAAAAAAAgAAAAIAAAADAAAACQAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAgAAAAIAAAAAAAAAAwAAAA0AAAACAAAAAAAAAAIAAAADAAAABAAAAAAAAAACAAAAAgAAAAMAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAACAAAAAgAAAAAAAAADAAAABgAAAAIAAAAAAAAAAgAAAAMAAAAPAAAAAAAAAAIAAAACAAAAAwAAAAsAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAIAAAACAAAAAAAAAAMAAAAHAAAAAgAAAAAAAAACAAAAAwAAABAAAAAAAAAAAgAAAAIAAAADAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAgAAAAIAAAAAAAAAAwAAAAgAAAACAAAAAAAAAAIAAAADAAAAEQAAAAAAAAACAAAAAgAAAAMAAAANAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAACAAAAAgAAAAAAAAADAAAACQAAAAIAAAAAAAAAAgAAAAMAAAASAAAAAAAAAAIAAAACAAAAAwAAAA4AAAAAAAAAAAAAAAAAAAAAAAAACQAAAAIAAAACAAAAAAAAAAMAAAAFAAAAAgAAAAAAAAACAAAAAwAAABMAAAAAAAAAAgAAAAIAAAADAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAgAAAAAAAAACAAAAAQAAABMAAAACAAAAAgAAAAAAAAAFAAAACgAAAAAAAAACAAAAAgAAAAMAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABEAAAACAAAAAAAAAAIAAAABAAAADwAAAAIAAAACAAAAAAAAAAUAAAALAAAAAAAAAAIAAAACAAAAAwAAABEAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAIAAAAAAAAAAgAAAAEAAAAQAAAAAgAAAAIAAAAAAAAABQAAAAwAAAAAAAAAAgAAAAIAAAADAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAATAAAAAgAAAAAAAAACAAAAAQAAABEAAAACAAAAAgAAAAAAAAAFAAAADQAAAAAAAAACAAAAAgAAAAMAAAATAAAAAAAAAAAAAAAAAAAAAAAAAA8AAAACAAAAAAAAAAIAAAABAAAAEgAAAAIAAAACAAAAAAAAAAUAAAAOAAAAAAAAAAIAAAACAAAAAwAAAAIAAAABAAAAAAAAAAEAAAACAAAAAAAAAAAAAAACAAAAAQAAAAAAAAABAAAAAgAAAAEAAAAAAAAAAgAAAAAAAAAFAAAABAAAAAAAAAABAAAABQAAAAAAAAAAAAAABQAAAAQAAAAAAAAAAQAAAAUAAAAEAAAAAAAAAAUAAAAAAAAAAgAAAAEAAAAAAAAAAQAAAAIAAAAAAAAAAAAAAAIAAAABAAAAAAAAAAEAAAACAAAAAQAAAAAAAAACAAAAAgAAAAAAAAABAAAAAAAAAAAAAAAFAAAABAAAAAAAAAABAAAABQAAAAAAAAAAAAAABQAAAAQAAAAAAAAAAQAAAAUAAAAEAAAAAAAAAAUAAAAFAAAAAAAAAAEAAAAAAAAAAAAAAMuhRbbsNlBBYqHW9OmHIkF9XBuqnS31QAK37uYhNMhAOSo3UUupm0DC+6pc6JxvQHV9eseEEEJAzURsCyqlFEB8BQ4NMJjnPyy3tBoS97o/xawXQznRjj89J2K2CZxhP6vX43RIIDQ/S8isgygEBz+LvFHQkmzaPjFFFO7wMq4+AADMLkTtjkIAAOgkJqxhQgAAU7B0MjRCAADwpBcVB0IAAACYP2HaQQAAAIn/Ja5BzczM4Eg6gUHNzMxMU7BTQTMzMzNfgCZBAAAAAEi3+UAAAAAAwGPNQDMzMzMzy6BAmpmZmZkxc0AzMzMzM/NFQDMzMzMzMxlAzczMzMzM7D+ygXSx2U6RQKimJOvQKnpA23hmONTHY0A/AGcxyudNQNb3K647mzZA+S56rrwWIUAm4kUQ+9UJQKre9hGzh/M/BLvoy9WG3T+LmqMf8VHGP2m3nYNV37A/gbFHcyeCmT+cBPWBckiDP61tZACjKW0/q2RbYVUYVj8uDypVyLNAP6jGS5cA5zBBwcqhBdCNGUEGEhQ/JVEDQT6WPnRbNO1AB/AWSJgT1kDfUWNCNLDAQNk+5C33OqlAchWL34QSk0DKvtDIrNV8QNF0G3kFzGVASSeWhBl6UED+/0mNGuk4QGjA/dm/1CJALPLPMql6DEDSHoDrwpP1P2jouzWST+A/egAAAAAAAABKAwAAAAAAAPoWAAAAAAAAyqAAAAAAAAB6ZQQAAAAAAErGHgAAAAAA+mvXAAAAAADK8+MFAAAAAHqqOykAAAAASqmhIAEAAAD6oGvkBwAAAMpm8T43AAAAes+ZuIIBAABKrDQMkwoAAPq1cFUFSgAAyvkUViUGAgAAAAAAAwAAAAYAAAACAAAABQAAAAEAAAAEAAAAAAAAAAAAAAAFAAAAAwAAAAEAAAAGAAAABAAAAAIAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAA/////wAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAP////8AAAAAAAAAAAEAAAABAAAAAAAAAAAAAAD/////AAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAA/////wUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////AAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////wAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAUAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAQAAAAAAAAAFAAAAAQAAAAEAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAAAAAABAAEAAAEBAAAAAAABAAAAAQAAAAEAAQAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAACAAAAAQAAAAMAAAAOAAAABgAAAAsAAAACAAAABwAAAAEAAAAYAAAABQAAAAoAAAABAAAABgAAAAAAAAAmAAAABwAAAAwAAAADAAAACAAAAAIAAAAxAAAACQAAAA4AAAAAAAAABQAAAAQAAAA6AAAACAAAAA0AAAAEAAAACQAAAAMAAAA/AAAACwAAAAYAAAAPAAAACgAAABAAAABIAAAADAAAAAcAAAAQAAAACwAAABEAAABTAAAACgAAAAUAAAATAAAADgAAAA8AAABhAAAADQAAAAgAAAARAAAADAAAABIAAABrAAAADgAAAAkAAAASAAAADQAAABMAAAB1AAAADwAAABMAAAARAAAAEgAAABAAAAAHAAAABwAAAAEAAAACAAAABAAAAAMAAAAAAAAAAAAAAAcAAAADAAAAAQAAAAIAAAAFAAAABAAAAAAAAAAAAAAAYWxnb3MuYwBfcG9seWZpbGxJbnRlcm5hbABhZGphY2VudEZhY2VEaXJbdG1wRmlqay5mYWNlXVtmaWprLmZhY2VdID09IEtJAGZhY2VpamsuYwBfZmFjZUlqa1BlbnRUb0dlb0JvdW5kYXJ5AGFkamFjZW50RmFjZURpcltjZW50ZXJJSksuZmFjZV1bZmFjZTJdID09IEtJAF9mYWNlSWprVG9HZW9Cb3VuZGFyeQBwb2x5Z29uLT5uZXh0ID09IE5VTEwAbGlua2VkR2VvLmMAYWRkTmV3TGlua2VkUG9seWdvbgBuZXh0ICE9IE5VTEwAbG9vcCAhPSBOVUxMAGFkZE5ld0xpbmtlZExvb3AAcG9seWdvbi0+Zmlyc3QgPT0gTlVMTABhZGRMaW5rZWRMb29wAGNvb3JkICE9IE5VTEwAYWRkTGlua2VkQ29vcmQAbG9vcC0+Zmlyc3QgPT0gTlVMTABpbm5lckxvb3BzICE9IE5VTEwAbm9ybWFsaXplTXVsdGlQb2x5Z29uAGJib3hlcyAhPSBOVUxMAGNhbmRpZGF0ZXMgIT0gTlVMTABmaW5kUG9seWdvbkZvckhvbGUAY2FuZGlkYXRlQkJveGVzICE9IE5VTEwAcmV2RGlyICE9IElOVkFMSURfRElHSVQAbG9jYWxpai5jAGgzVG9Mb2NhbElqawBiYXNlQ2VsbCAhPSBvcmlnaW5CYXNlQ2VsbAAhKG9yaWdpbk9uUGVudCAmJiBpbmRleE9uUGVudCkAcGVudGFnb25Sb3RhdGlvbnMgPj0gMABkaXJlY3Rpb25Sb3RhdGlvbnMgPj0gMABiYXNlQ2VsbCA9PSBvcmlnaW5CYXNlQ2VsbABiYXNlQ2VsbCAhPSBJTlZBTElEX0JBU0VfQ0VMTABsb2NhbElqa1RvSDMAIV9pc0Jhc2VDZWxsUGVudGFnb24oYmFzZUNlbGwpAGJhc2VDZWxsUm90YXRpb25zID49IDAAd2l0aGluUGVudGFnb25Sb3RhdGlvbnMgPj0gMABncmFwaC0+YnVja2V0cyAhPSBOVUxMAHZlcnRleEdyYXBoLmMAaW5pdFZlcnRleEdyYXBoAG5vZGUgIT0gTlVMTABhZGRWZXJ0ZXhOb2Rl";var W="function"==typeof atob?atob:function(t){var e,n,l,i,r,o,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="",u=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{l=a.indexOf(t.charAt(u++)),e=(15&(i=a.indexOf(t.charAt(u++))))<<4|(r=a.indexOf(t.charAt(u++)))>>2,n=(3&r)<<6|(o=a.indexOf(t.charAt(u++))),s+=String.fromCharCode(l<<2|i>>4),64!==r&&(s+=String.fromCharCode(e)),64!==o&&(s+=String.fromCharCode(n))}while(u<t.length);return s};function $(t){if(z(t))return function(t){try{for(var e=W(t),n=new Uint8Array(e.length),l=0;l<e.length;++l)n[l]=e.charCodeAt(l);return n}catch(i){throw new Error("Converting base64 string to bytes failed.")}}(t.slice(B.length))}var X,K,J=function(t,e,n){var l=new t.Int8Array(n),i=new t.Int32Array(n),r=(new t.Uint8Array(n),new t.Float32Array(n),new t.Float64Array(n)),o=0|e.p,a=t.Math.floor,s=t.Math.abs,u=t.Math.sqrt,c=t.Math.pow,d=t.Math.cos,h=t.Math.sin,p=t.Math.tan,f=t.Math.acos,b=t.Math.asin,m=t.Math.atan,g=t.Math.atan2,_=t.Math.ceil,y=t.Math.imul,A=t.Math.min,v=t.Math.clz32,C=e.b,w=e.c,P=e.d,x=e.e,S=e.f,k=e.g,M=e.h,O=e.i,D=24048;function T(t,e,n,l){var i,r;0|E(t|=0,e|=0,n|=0,l|=0,0)&&(Me(0|l,0,(r=1+(0|y(3*n|0,n+1|0))|0)<<3|0),(i=0|ye(r,4))&&(I(t,e,n,l,i,r,0),_e(i)))}function E(t,e,n,l,r){e|=0,n|=0,r|=0;var o,a,s=0,u=0,c=0,d=0,h=0,p=0,f=0;if(o=D,D=D+16|0,a=o,i[(s=l|=0)>>2]=t|=0,i[s+4>>2]=e,(s=0!=(0|r))&&(i[r>>2]=0),0|Lt(t,e))return D=o,1;i[a>>2]=0;t:do{if((0|n)>=1)if(s)for(h=0,p=1,f=1,u=0,s=t;;){if(!(u|h)){if(0==(0|(s=0|L(s,e,4,a)))&0==(0|(e=0|w()))){s=2;break t}if(0|Lt(s,e)){s=1;break t}}if(0==(0|(s=0|L(s,e,0|i[16+(h<<2)>>2],a)))&0==(0|(e=0|w()))){s=2;break t}if(i[(t=l+(f<<3)|0)>>2]=s,i[t+4>>2]=e,i[r+(f<<2)>>2]=p,t=(0|(u=u+1|0))==(0|p),d=6==(0|(c=h+1|0)),0|Lt(s,e)){s=1;break t}if((0|(p=p+(d&t&1)|0))>(0|n)){s=0;break}h=t?d?0:c:h,f=f+1|0,u=t?0:u}else for(h=0,p=1,f=1,u=0,s=t;;){if(!(u|h)){if(0==(0|(s=0|L(s,e,4,a)))&0==(0|(e=0|w()))){s=2;break t}if(0|Lt(s,e)){s=1;break t}}if(0==(0|(s=0|L(s,e,0|i[16+(h<<2)>>2],a)))&0==(0|(e=0|w()))){s=2;break t}if(i[(t=l+(f<<3)|0)>>2]=s,i[t+4>>2]=e,t=(0|(u=u+1|0))==(0|p),d=6==(0|(c=h+1|0)),0|Lt(s,e)){s=1;break t}if((0|(p=p+(d&t&1)|0))>(0|n)){s=0;break}h=t?d?0:c:h,f=f+1|0,u=t?0:u}else s=0}while(0);return D=o,0|s}function I(t,e,n,l,r,o,a){n|=0,l|=0,r|=0,o|=0,a|=0;var s,u,c=0,d=0,h=0,p=0,f=0;if(u=D,D=D+16|0,s=u,0==(0|(t|=0))&0==(0|(e|=0)))D=u;else{if(c=0|Ce(0|t,0|e,0|o,((0|o)<0)<<31>>31|0),w(),!(0==(0|(f=0|i[(p=d=l+(c<<3)|0)>>2]))&0==(0|(p=0|i[p+4>>2]))|(h=(0|f)==(0|t)&(0|p)==(0|e))))do{h=(0|(p=0|i[(f=d=l+((c=(c+1|0)%(0|o)|0)<<3)|0)>>2]))==(0|t)&(0|(f=0|i[f+4>>2]))==(0|e)}while(!(0==(0|p)&0==(0|f)|h));c=r+(c<<2)|0,h&&(0|i[c>>2])<=(0|a)||(i[(f=d)>>2]=t,i[f+4>>2]=e,i[c>>2]=a,(0|a)>=(0|n)||(f=a+1|0,i[s>>2]=0,I(p=0|L(t,e,2,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,3,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,1,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,5,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,4,s),0|w(),n,l,r,o,f),i[s>>2]=0,I(p=0|L(t,e,6,s),0|w(),n,l,r,o,f))),D=u}}function L(t,e,n,l){t|=0,e|=0,n|=0;var r,o,a=0,s=0,u=0,c=0,d=0,h=0,p=0;if((0|i[(l|=0)>>2])>0){a=0;do{n=0|st(n),a=a+1|0}while((0|a)<(0|i[l>>2]))}r=0|we(0|t,0|e,45),w(),o=127&r,s=0|jt(t,e),a=0|we(0|t,0|e,52),w(),a&=15;t:do{if(a)for(;;){if(h=0|we(0|t,0|e,0|(d=3*(15-a|0)|0)),w(),h&=7,p=0==(0|Ut(a)),a=a+-1|0,c=0|Pe(7,0,0|d),e&=~(0|w()),t=(d=0|Pe(0|i[(p?464:48)+(28*h|0)+(n<<2)>>2],0,0|d))|t&~c,e|=0|w(),!(n=0|i[(p?672:256)+(28*h|0)+(n<<2)>>2])){n=0;break t}if(!a){u=6;break}}else u=6}while(0);6==(0|u)&&(t|=h=0|Pe(0|(p=0|i[880+(28*o|0)+(n<<2)>>2]),0,45),e=0|w()|-1040385&e,n=0|i[4304+(28*o|0)+(n<<2)>>2],127==(127&p|0)&&(p=0|Pe(0|i[880+(28*o|0)+20>>2],0,45),e=0|w()|-1040385&e,n=0|i[4304+(28*o|0)+20>>2],t=0|Ft(p|t,e),e=0|w(),i[l>>2]=1+(0|i[l>>2]))),u=0|we(0|t,0|e,45),w(),u&=127;t:do{if(0|R(u)){e:do{if(1==(0|jt(t,e))){if((0|o)!=(0|u)){if(0|U(u,0|i[7728+(28*o|0)>>2])){t=0|Yt(t,e),s=1,e=0|w();break}t=0|Ft(t,e),s=1,e=0|w();break}switch(0|s){case 5:t=0|Yt(t,e),e=0|w(),i[l>>2]=5+(0|i[l>>2]),s=0;break e;case 3:t=0|Ft(t,e),e=0|w(),i[l>>2]=1+(0|i[l>>2]),s=0;break e;default:return p=0,C(0|(h=0)),0|p}}else s=0}while(0);if((0|n)>0){a=0;do{t=0|Rt(t,e),e=0|w(),a=a+1|0}while((0|a)!=(0|n))}if((0|o)!=(0|u)){if(!(0|F(u))){if(0!=(0|s)|5!=(0|jt(t,e)))break;i[l>>2]=1+(0|i[l>>2]);break}switch(127&r){case 8:case 118:break t}3!=(0|jt(t,e))&&(i[l>>2]=1+(0|i[l>>2]))}}else if((0|n)>0){a=0;do{t=0|Ft(t,e),e=0|w(),a=a+1|0}while((0|a)!=(0|n))}}while(0);return i[l>>2]=((0|i[l>>2])+n|0)%6|0,p=t,C(0|(h=e)),0|p}function j(t,e,n,l,o,a){n|=0,l|=0,o|=0,a|=0;var s,u,c,d,h,p,f,b,m,g=0,_=0,y=0,A=0,v=0,C=0,P=0,x=0,S=0,k=0,M=0,O=0,T=0,E=0;if(m=D,D=D+48|0,(0|(g=0|i[(t|=0)>>2]))<=0)return D=m,0;s=t+4|0,u=8+(p=m+32|0)|0,c=8+(f=m+16|0)|0,d=(b=m)+8|0,h=((0|(e|=0))<0)<<31>>31,M=0;t:for(;;){i[p>>2]=i[(S=(_=0|i[s>>2])+(M<<4)|0)>>2],i[p+4>>2]=i[S+4>>2],i[p+8>>2]=i[S+8>>2],i[p+12>>2]=i[S+12>>2],(0|M)==(g+-1|0)?(i[f>>2]=i[_>>2],i[f+4>>2]=i[_+4>>2],i[f+8>>2]=i[_+8>>2],i[f+12>>2]=i[_+12>>2]):(i[f>>2]=i[(S=_+(M+1<<4)|0)>>2],i[f+4>>2]=i[S+4>>2],i[f+8>>2]=i[S+8>>2],i[f+12>>2]=i[S+12>>2]),S=0|q(p,f,n);e:do{if((0|S)>0){k=+(0|S),x=0;n:for(;;){r[b>>3]=+r[p>>3]*(E=+(S-x|0))/k+ +r[f>>3]*(T=+(0|x))/k,r[d>>3]=+r[u>>3]*E/k+ +r[c>>3]*T/k,_=0|Ce(0|(C=0|Bt(b,n)),0|(P=0|w()),0|e,0|h),w(),A=0|i[(y=g=a+(_<<3)|0)>>2],y=0|i[y+4>>2];l:do{if(0==(0|A)&0==(0|y))O=14;else for(v=0;;){if((0|v)>(0|e)){g=1;break l}if((0|A)==(0|C)&(0|y)==(0|P)){g=7;break l}if(0==(0|(A=0|i[(y=g=a+((_=(_+1|0)%(0|e)|0)<<3)|0)>>2]))&0==(0|(y=0|i[y+4>>2]))){O=14;break}v=v+1|0}}while(0);switch(14==(0|O)&&(O=0,0==(0|C)&0==(0|P)?g=7:(i[g>>2]=C,i[g+4>>2]=P,i[(v=o+((g=0|i[l>>2])<<3)|0)>>2]=C,i[v+4>>2]=P,i[l>>2]=g+1,g=0)),7&g){case 7:case 0:break;default:break n}if((0|S)<=(0|(x=x+1|0))){O=8;break e}}if(0|g){g=-1,O=20;break t}}else O=8}while(0);if(8==(0|O)&&(O=0),(0|(M=M+1|0))>=(0|(g=0|i[t>>2]))){g=0,O=20;break}}return 20==(0|O)?(D=m,0|g):0}function R(t){return 0|i[7728+(28*(t|=0)|0)+16>>2]}function F(t){return 4==(0|(t|=0))|117==(0|t)|0}function N(t){return 0|i[11152+(216*(0|i[(t|=0)>>2])|0)+(72*(0|i[t+4>>2])|0)+(24*(0|i[t+8>>2])|0)+(i[t+12>>2]<<3)>>2]}function Y(t){return 0|i[11152+(216*(0|i[(t|=0)>>2])|0)+(72*(0|i[t+4>>2])|0)+(24*(0|i[t+8>>2])|0)+(i[t+12>>2]<<3)+4>>2]}function U(t,e){return(0|i[7728+(28*(t|=0)|0)+20>>2])==(0|(e|=0))?0|(e=1):0|(e=(0|i[7728+(28*t|0)+24>>2])==(0|e))}function B(t,e){return 0|i[880+(28*(t|=0)|0)+((e|=0)<<2)>>2]}function z(t,e){return(0|i[880+(28*(t|=0)|0)>>2])==(0|(e|=0))?0|(e=0):(0|i[880+(28*t|0)+4>>2])==(0|e)?0|(e=1):(0|i[880+(28*t|0)+8>>2])==(0|e)?0|(e=2):(0|i[880+(28*t|0)+12>>2])==(0|e)?0|(e=3):(0|i[880+(28*t|0)+16>>2])==(0|e)?0|(e=4):(0|i[880+(28*t|0)+20>>2])==(0|e)?0|(e=5):0|((0|i[880+(28*t|0)+24>>2])==(0|e)?6:7)}function G(t){return+r[16+(t|=0)>>3]<+r[t+24>>3]|0}function H(t,e){var n,l,i=0;return(i=+r[(e|=0)>>3])>=+r[8+(t|=0)>>3]&&i<=+r[t>>3]?(e=(l=+r[e+8>>3])>=(i=+r[t+24>>3]),t=l<=(n=+r[t+16>>3])&1,n<i?e&&(t=1):e||(t=0),0|(e=0!=(0|t))):0|(e=0)}function V(t,e){t|=0,e|=0;var n,l,o,a,u,c,d=0,h=0;a=D,D=D+288|0,n=a+264|0,l=a+96|0,h=(d=o=a)+96|0;do{i[d>>2]=0,d=d+4|0}while((0|d)<(0|h));return qt(e,o),Ht(h=0|i[(d=o)>>2],d=0|i[d+4>>2],n),Vt(h,d,l),u=+Mt(n,l+8|0),r[n>>3]=+r[t>>3],r[(d=n+8|0)>>3]=+r[t+16>>3],r[l>>3]=+r[t+8>>3],r[(h=l+8|0)>>3]=+r[t+24>>3],c=+Mt(n,l),h=~~+_(+c*c/+xe(+ +s(+(+r[d>>3]-+r[h>>3])/(+r[n>>3]-+r[l>>3])),3)/(u*(2.59807621135*u)*.8)),D=a,0|(0==(0|h)?1:h)}function q(t,e,n){t|=0,e|=0,n|=0;var l,r,o,a,s,u=0,c=0;a=D,D=D+288|0,l=a+264|0,r=a+96|0,c=(u=o=a)+96|0;do{i[u>>2]=0,u=u+4|0}while((0|u)<(0|c));return qt(n,o),Ht(u=0|i[(c=o)>>2],c=0|i[c+4>>2],l),Vt(u,c,r),s=+Mt(l,r+8|0),c=~~+_(+ +Mt(t,e)/(2*s)),D=a,0|(0==(0|c)?1:c)}function W(t,e,n,l){n|=0,l|=0,i[(t|=0)>>2]=e|=0,i[t+4>>2]=n,i[t+8>>2]=l}function $(t,e){t|=0;var n,l,o,a,u=0,c=0,d=0,h=0,p=0,f=0,b=0;i[(a=8+(e|=0)|0)>>2]=0,h=+s(+(l=+r[t>>3])),h+=.5*(p=+s(+(o=+r[t+8>>3]))/.8660254037844386),h-=+(0|(u=~~h)),p-=+(0|(t=~~p));do{if(h<.5){if(h<.3333333333333333){if(i[e>>2]=u,p<.5*(h+1)){i[e+4>>2]=t;break}i[e+4>>2]=t=t+1|0;break}if(i[e+4>>2]=t=(1&!(p<(b=1-h)))+t|0,b<=p&p<2*h){i[e>>2]=u=u+1|0;break}i[e>>2]=u;break}if(!(h<.6666666666666666)){if(i[e>>2]=u=u+1|0,p<.5*h){i[e+4>>2]=t;break}i[e+4>>2]=t=t+1|0;break}if(p<1-h){if(i[e+4>>2]=t,2*h-1<p){i[e>>2]=u;break}}else i[e+4>>2]=t=t+1|0;i[e>>2]=u=u+1|0}while(0);do{if(l<0){if(1&t){u=~~(+(0|u)-(2*(+((f=0|Ae(0|u,((0|u)<0)<<31>>31|0,0|(f=(t+1|0)/2|0),((0|f)<0)<<31>>31|0))>>>0)+4294967296*+(0|w()))+1)),i[e>>2]=u;break}u=~~(+(0|u)-2*(+((f=0|Ae(0|u,((0|u)<0)<<31>>31|0,0|(f=(0|t)/2|0),((0|f)<0)<<31>>31|0))>>>0)+4294967296*+(0|w()))),i[e>>2]=u;break}}while(0);f=e+4|0,o<0&&(i[e>>2]=u=u-((1|t<<1)/2|0)|0,i[f>>2]=t=0-t|0),c=t-u|0,(0|u)<0?(d=0-u|0,i[f>>2]=c,i[a>>2]=d,i[e>>2]=0,t=c,u=0):d=0,(0|t)<0&&(i[e>>2]=u=u-t|0,i[a>>2]=d=d-t|0,i[f>>2]=0,t=0),n=u-d|0,c=t-d|0,(0|d)<0&&(i[e>>2]=n,i[f>>2]=c,i[a>>2]=0,t=c,u=n,d=0),(0|(c=(0|d)<(0|(c=(0|t)<(0|u)?t:u))?d:c))<=0||(i[e>>2]=u-c,i[f>>2]=t-c,i[a>>2]=d-c)}function X(t){var e,n=0,l=0,r=0,o=0,a=0;l=0|i[(e=4+(t|=0)|0)>>2],(0|(n=0|i[t>>2]))<0&&(i[e>>2]=l=l-n|0,i[(a=t+8|0)>>2]=(0|i[a>>2])-n,i[t>>2]=0,n=0),(0|l)<0?(i[t>>2]=n=n-l|0,i[(a=t+8|0)>>2]=o=(0|i[a>>2])-l|0,i[e>>2]=0,l=0):(a=o=t+8|0,o=0|i[o>>2]),(0|o)<0&&(i[t>>2]=n=n-o|0,i[e>>2]=l=l-o|0,i[a>>2]=0,o=0),(0|(r=(0|o)<(0|(r=(0|l)<(0|n)?l:n))?o:r))<=0||(i[t>>2]=n-r,i[e>>2]=l-r,i[a>>2]=o-r)}function K(t,e){var n,l;r[(e|=0)>>3]=+((0|i[(t|=0)>>2])-(l=0|i[t+8>>2])|0)-.5*(n=+((0|i[t+4>>2])-l|0)),r[e+8>>3]=.8660254037844386*n}function J(t,e,n){i[(n|=0)>>2]=(0|i[(e|=0)>>2])+(0|i[(t|=0)>>2]),i[n+4>>2]=(0|i[e+4>>2])+(0|i[t+4>>2]),i[n+8>>2]=(0|i[e+8>>2])+(0|i[t+8>>2])}function Q(t,e,n){i[(n|=0)>>2]=(0|i[(t|=0)>>2])-(0|i[(e|=0)>>2]),i[n+4>>2]=(0|i[t+4>>2])-(0|i[e+4>>2]),i[n+8>>2]=(0|i[t+8>>2])-(0|i[e+8>>2])}function Z(t,e){var n,l=0;l=0|y(0|i[(t|=0)>>2],e|=0),i[t>>2]=l,n=0|y(0|i[(l=t+4|0)>>2],e),i[l>>2]=n,e=0|y(0|i[(t=t+8|0)>>2],e),i[t>>2]=e}function tt(t){var e,n,l,r=0,o=0,a=0,s=0;t=(t=(o=(0|(s=(0|i[8+(t|=0)>>2])-((l=(0|(n=0|i[t>>2]))<0)?n:0)+((e=(0|(a=(0|i[t+4>>2])-(l?n:0)|0))<0)?0-a|0:0)|0))<0)?0:s)-((a=(0|(o=(0|t)<(0|(o=(0|(r=(e?0:a)-(o?s:0)|0))<(0|(s=(l?0:n)-(e?a:0)-(o?s:0)|0))?r:s))?t:o))>0)?o:0)|0,r=r-(a?o:0)|0;t:do{switch(s-(a?o:0)|0){case 0:switch(0|r){case 0:return 0|(0==(0|t)?0:1==(0|t)?1:7);case 1:return 0|(0==(0|t)?2:1==(0|t)?3:7);default:break t}case 1:switch(0|r){case 0:return 0|(0==(0|t)?4:1==(0|t)?5:7);case 1:if(t)break t;return 6;default:break t}}}while(0);return 7}function et(t){var e,n,l=0,r=0,o=0,a=0,s=0;o=0|me(+((3*(l=(0|i[(t|=0)>>2])-(r=0|i[(e=t+8|0)>>2])|0)|0)-(r=(0|i[(n=t+4|0)>>2])-r|0)|0)/7),i[t>>2]=o,l=0|me(+((r<<1)+l|0)/7),i[n>>2]=l,i[e>>2]=0,r=l-o|0,(0|o)<0?(s=0-o|0,i[n>>2]=r,i[e>>2]=s,i[t>>2]=0,l=r,o=0,r=s):r=0,(0|l)<0&&(i[t>>2]=o=o-l|0,i[e>>2]=r=r-l|0,i[n>>2]=0,l=0),s=o-r|0,a=l-r|0,(0|r)<0?(i[t>>2]=s,i[n>>2]=a,i[e>>2]=0,l=a,a=s,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|l)<(0|a)?l:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=l-o,i[e>>2]=r-o)}function nt(t){var e,n,l=0,r=0,o=0,a=0,s=0;o=0|me(+(((l=(0|i[(t|=0)>>2])-(r=0|i[(e=t+8|0)>>2])|0)<<1)+(r=(0|i[(n=t+4|0)>>2])-r|0)|0)/7),i[t>>2]=o,l=0|me(+((3*r|0)-l|0)/7),i[n>>2]=l,i[e>>2]=0,r=l-o|0,(0|o)<0?(s=0-o|0,i[n>>2]=r,i[e>>2]=s,i[t>>2]=0,l=r,o=0,r=s):r=0,(0|l)<0&&(i[t>>2]=o=o-l|0,i[e>>2]=r=r-l|0,i[n>>2]=0,l=0),s=o-r|0,a=l-r|0,(0|r)<0?(i[t>>2]=s,i[n>>2]=a,i[e>>2]=0,l=a,a=s,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|l)<(0|a)?l:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=l-o,i[e>>2]=r-o)}function lt(t){var e,n,l,r=0,o=0,a=0,s=0;a=0|i[(l=8+(t|=0)|0)>>2],i[t>>2]=s=(o=0|i[(n=t+4|0)>>2])+(3*(r=0|i[t>>2])|0)|0,i[n>>2]=o=a+(3*o|0)|0,i[l>>2]=r=(3*a|0)+r|0,a=o-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=a,i[l>>2]=r,i[t>>2]=0,o=a,a=0):a=s,(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function it(t){var e,n,l,r=0,o=0,a=0,s=0;a=(3*(r=0|i[(n=4+(t|=0)|0)>>2])|0)+(s=0|i[t>>2])|0,i[t>>2]=s=(o=0|i[(l=t+8|0)>>2])+(3*s|0)|0,i[n>>2]=a,i[l>>2]=r=(3*o|0)+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,s=0):o=a,(0|o)<0&&(i[t>>2]=s=s-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=s-r|0,a=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=a,i[l>>2]=0,s=e,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|a)<(0|s)?a:s))?r:o))<=0||(i[t>>2]=s-o,i[n>>2]=a-o,i[l>>2]=r-o)}function rt(t,e){t|=0;var n,l,r,o=0,a=0,s=0;((e|=0)-1|0)>>>0>=6||(i[t>>2]=s=(0|i[15472+(12*e|0)>>2])+(0|i[t>>2])|0,i[(r=t+4|0)>>2]=a=(0|i[15472+(12*e|0)+4>>2])+(0|i[r>>2])|0,i[(l=t+8|0)>>2]=e=(0|i[15472+(12*e|0)+8>>2])+(0|i[l>>2])|0,o=a-s|0,(0|s)<0?(e=e-s|0,i[r>>2]=o,i[l>>2]=e,i[t>>2]=0,a=0):(o=a,a=s),(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=e=e-o|0,i[r>>2]=0,o=0),n=a-e|0,s=o-e|0,(0|e)<0?(i[t>>2]=n,i[r>>2]=s,i[l>>2]=0,a=n,e=0):s=o,(0|(o=(0|e)<(0|(o=(0|s)<(0|a)?s:a))?e:o))<=0||(i[t>>2]=a-o,i[r>>2]=s-o,i[l>>2]=e-o))}function ot(t){var e,n,l,r=0,o=0,a=0,s=0;a=(r=0|i[(n=4+(t|=0)|0)>>2])+(s=0|i[t>>2])|0,i[t>>2]=s=(o=0|i[(l=t+8|0)>>2])+s|0,i[n>>2]=a,i[l>>2]=r=o+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,a=0):(o=a,a=s),(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function at(t){var e,n,l,r=0,o=0,a=0,s=0;o=0|i[(l=8+(t|=0)|0)>>2],i[t>>2]=s=(a=0|i[(n=t+4|0)>>2])+(r=0|i[t>>2])|0,i[n>>2]=a=o+a|0,i[l>>2]=r=o+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,a=0):(o=a,a=s),(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function st(t){switch(0|(t|=0)){case 1:t=5;break;case 5:t=4;break;case 4:t=6;break;case 6:t=2;break;case 2:t=3;break;case 3:t=1}return 0|t}function ut(t){switch(0|(t|=0)){case 1:t=3;break;case 3:t=2;break;case 2:t=6;break;case 6:t=4;break;case 4:t=5;break;case 5:t=1}return 0|t}function ct(t){var e,n,l,r=0,o=0,a=0,s=0;a=0|i[(l=8+(t|=0)|0)>>2],i[t>>2]=s=(o=0|i[(n=t+4|0)>>2])+((r=0|i[t>>2])<<1)|0,i[n>>2]=o=a+(o<<1)|0,i[l>>2]=r=(a<<1)+r|0,a=o-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=a,i[l>>2]=r,i[t>>2]=0,o=a,a=0):a=s,(0|o)<0&&(i[t>>2]=a=a-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=a-r|0,s=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=s,i[l>>2]=0,a=e,r=0):s=o,(0|(o=(0|r)<(0|(o=(0|s)<(0|a)?s:a))?r:o))<=0||(i[t>>2]=a-o,i[n>>2]=s-o,i[l>>2]=r-o)}function dt(t){var e,n,l,r=0,o=0,a=0,s=0;a=((r=0|i[(n=4+(t|=0)|0)>>2])<<1)+(s=0|i[t>>2])|0,i[t>>2]=s=(o=0|i[(l=t+8|0)>>2])+(s<<1)|0,i[n>>2]=a,i[l>>2]=r=(o<<1)+r|0,o=a-s|0,(0|s)<0?(r=r-s|0,i[n>>2]=o,i[l>>2]=r,i[t>>2]=0,s=0):o=a,(0|o)<0&&(i[t>>2]=s=s-o|0,i[l>>2]=r=r-o|0,i[n>>2]=0,o=0),e=s-r|0,a=o-r|0,(0|r)<0?(i[t>>2]=e,i[n>>2]=a,i[l>>2]=0,s=e,r=0):a=o,(0|(o=(0|r)<(0|(o=(0|a)<(0|s)?a:s))?r:o))<=0||(i[t>>2]=s-o,i[n>>2]=a-o,i[l>>2]=r-o)}function ht(t,e){var n,l,r,o=0,a=0,s=0;return e=(e=(t=(0|(s=((r=(0|(l=(0|i[(t|=0)>>2])-(0|i[(e|=0)>>2])|0))<0)?0-l|0:0)+(0|i[t+8>>2])-(0|i[e+8>>2])+((n=(0|(a=(0|i[t+4>>2])-(0|i[e+4>>2])-(r?l:0)|0))<0)?0-a|0:0)|0))<0)?0:s)-((a=(0|(t=(0|e)<(0|(t=(0|(o=(n?0:a)-(t?s:0)|0))<(0|(s=(r?0:l)-(n?a:0)-(t?s:0)|0))?o:s))?e:t))>0)?t:0)|0,o=o-(a?t:0)|0,0|((0|(t=(0|(t=s-(a?t:0)|0))>-1?t:0-t|0))>(0|(e=(0|(o=(0|o)>-1?o:0-o|0))>(0|(e=(0|e)>-1?e:0-e|0))?o:e))?t:e)}function pt(t,e){var n;i[(e|=0)>>2]=(0|i[(t|=0)>>2])-(n=0|i[t+8>>2]),i[e+4>>2]=(0|i[t+4>>2])-n}function ft(t,e){var n,l,r,o=0,a=0,s=0;i[(e|=0)>>2]=a=0|i[(t|=0)>>2],i[(l=e+4|0)>>2]=t=0|i[t+4>>2],i[(r=e+8|0)>>2]=0,o=t-a|0,(0|a)<0?(t=0-a|0,i[l>>2]=o,i[r>>2]=t,i[e>>2]=0,a=0):(o=t,t=0),(0|o)<0&&(i[e>>2]=a=a-o|0,i[r>>2]=t=t-o|0,i[l>>2]=0,o=0),n=a-t|0,s=o-t|0,(0|t)<0?(i[e>>2]=n,i[l>>2]=s,i[r>>2]=0,o=s,s=n,t=0):s=a,(0|(a=(0|t)<(0|(a=(0|o)<(0|s)?o:s))?t:a))<=0||(i[e>>2]=s-a,i[l>>2]=o-a,i[r>>2]=t-a)}function bt(t){var e,n,l,r;i[(t|=0)>>2]=n=(r=0|i[(e=t+8|0)>>2])-(0|i[t>>2])|0,i[(l=t+4|0)>>2]=t=(0|i[l>>2])-r|0,i[e>>2]=0-(t+n)}function mt(t){var e,n,l=0,r=0,o=0,a=0,s=0;i[(t|=0)>>2]=l=0-(r=0|i[t>>2])|0,i[(e=t+8|0)>>2]=0,a=(o=0|i[(n=t+4|0)>>2])+r|0,(0|r)>0?(i[n>>2]=a,i[e>>2]=r,i[t>>2]=0,l=0,o=a):r=0,(0|o)<0?(i[t>>2]=s=l-o|0,i[e>>2]=r=r-o|0,i[n>>2]=0,a=s-r|0,l=0-r|0,(0|r)<0?(i[t>>2]=a,i[n>>2]=l,i[e>>2]=0,o=l,r=0):(o=0,a=s)):a=l,(0|(l=(0|r)<(0|(l=(0|o)<(0|a)?o:a))?r:l))<=0||(i[t>>2]=a-l,i[n>>2]=o-l,i[e>>2]=r-l)}function gt(t,e,n,l){e|=0,n|=0,l|=0;var o,a=0,s=0,u=0,c=0;if(o=D,D=D+32|0,function(t,e){e|=0;var n,l,i=0;n=+d(+(i=+r[(t|=0)>>3])),i=+h(+i),r[e+16>>3]=i,l=n*+d(+(i=+r[t+8>>3])),r[e>>3]=l,i=n*+h(+i),r[e+8>>3]=i}(t|=0,s=o),i[n>>2]=0,a=+se(15888,s),(u=+se(15912,s))<a&&(i[n>>2]=1,a=u),(u=+se(15936,s))<a&&(i[n>>2]=2,a=u),(u=+se(15960,s))<a&&(i[n>>2]=3,a=u),(u=+se(15984,s))<a&&(i[n>>2]=4,a=u),(u=+se(16008,s))<a&&(i[n>>2]=5,a=u),(u=+se(16032,s))<a&&(i[n>>2]=6,a=u),(u=+se(16056,s))<a&&(i[n>>2]=7,a=u),(u=+se(16080,s))<a&&(i[n>>2]=8,a=u),(u=+se(16104,s))<a&&(i[n>>2]=9,a=u),(u=+se(16128,s))<a&&(i[n>>2]=10,a=u),(u=+se(16152,s))<a&&(i[n>>2]=11,a=u),(u=+se(16176,s))<a&&(i[n>>2]=12,a=u),(u=+se(16200,s))<a&&(i[n>>2]=13,a=u),(u=+se(16224,s))<a&&(i[n>>2]=14,a=u),(u=+se(16248,s))<a&&(i[n>>2]=15,a=u),(u=+se(16272,s))<a&&(i[n>>2]=16,a=u),(u=+se(16296,s))<a&&(i[n>>2]=17,a=u),(u=+se(16320,s))<a&&(i[n>>2]=18,a=u),(u=+se(16344,s))<a&&(i[n>>2]=19,a=u),(u=+f(+(1-.5*a)))<1e-16)return i[l>>2]=0,i[l+4>>2]=0,i[l+8>>2]=0,i[l+12>>2]=0,void(D=o);if(a=+St((a=+r[16368+(24*(n=0|i[n>>2])|0)>>3])-+St(+function(t,e){var n,l,i,o,a;return t|=0,a=(l=+d(+(o=+r[(e|=0)>>3])))*+h(+(i=+r[e+8>>3]-+r[t+8>>3])),n=+r[t>>3],+ +g(+a,+(+h(+o)*+d(+n)-+d(+i)*(l*+h(+n))))}(15568+(n<<4)|0,t))),c=0|Ut(e)?+St(a+-.3334731722518321):a,a=+p(+u)/.381966011250105,(0|e)>0){s=0;do{a*=2.6457513110645907,s=s+1|0}while((0|s)!=(0|e))}u=+d(+c)*a,r[l>>3]=u,c=+h(+c)*a,r[l+8>>3]=c,D=o}function _t(t,e,n,l,o){e|=0,n|=0,l|=0,o|=0;var a=0,c=0;if((a=+function(t){var e,n;return+ +u(+((n=+r[(t|=0)>>3])*n+(e=+r[t+8>>3])*e))}(t|=0))<1e-16)return i[o>>2]=i[(e=15568+(e<<4)|0)>>2],i[o+4>>2]=i[e+4>>2],i[o+8>>2]=i[e+8>>2],void(i[o+12>>2]=i[e+12>>2]);if(c=+g(+ +r[t+8>>3],+ +r[t>>3]),(0|n)>0){t=0;do{a/=2.6457513110645907,t=t+1|0}while((0|t)!=(0|n))}l?(a/=3,n=0==(0|Ut(n)),a=+m(.381966011250105*(n?a:a/2.6457513110645907))):(a=+m(.381966011250105*a),0|Ut(n)&&(c=+St(c+.3334731722518321))),function(t,e,n,l){t|=0,e=+e,l|=0;var o=0,a=0,u=0,c=0;if((n=+n)<1e-16)return i[l>>2]=i[t>>2],i[l+4>>2]=i[t+4>>2],i[l+8>>2]=i[t+8>>2],void(i[l+12>>2]=i[t+12>>2]);a=e<0?e+6.283185307179586:e,a=e>=6.283185307179586?a+-6.283185307179586:a;do{if(!(a<1e-16)){if(o=+s(+(a+-3.141592653589793))<1e-16,e=+r[t>>3],o){r[l>>3]=e-=n,o=l;break}if(u=+d(+n),n=+h(+n),e=u*+h(+e)+ +d(+a)*(n*+d(+e)),e=+b(+((e=e>1?1:e)<-1?-1:e)),r[l>>3]=e,+s(+(e+-1.5707963267948966))<1e-16)return r[l>>3]=1.5707963267948966,void(r[l+8>>3]=0);if(+s(+(e+1.5707963267948966))<1e-16)return r[l>>3]=-1.5707963267948966,void(r[l+8>>3]=0);if(c=+d(+e),a=n*+h(+a)/c,n=+r[t>>3],e=(u-+h(+e)*+h(+n))/+d(+n)/c,(e=+r[t+8>>3]+ +g(+((u=a>1?1:a)<-1?-1:u),+((e=e>1?1:e)<-1?-1:e)))>3.141592653589793)do{e+=-6.283185307179586}while(e>3.141592653589793);if(e<-3.141592653589793)do{e+=6.283185307179586}while(e<-3.141592653589793);return void(r[l+8>>3]=e)}r[l>>3]=e=+r[t>>3]+n,o=l}while(0);if(+s(+(e+-1.5707963267948966))<1e-16)return r[o>>3]=1.5707963267948966,void(r[l+8>>3]=0);if(+s(+(e+1.5707963267948966))<1e-16)return r[o>>3]=-1.5707963267948966,void(r[l+8>>3]=0);if((e=+r[t+8>>3])>3.141592653589793)do{e+=-6.283185307179586}while(e>3.141592653589793);if(e<-3.141592653589793)do{e+=6.283185307179586}while(e<-3.141592653589793);r[l+8>>3]=e}(15568+(e<<4)|0,+St(+r[16368+(24*e|0)>>3]-c),a,o)}function yt(t,e,n){var l,r;e|=0,n|=0,l=D,D=D+16|0,K(4+(t|=0)|0,r=l),_t(r,0|i[t>>2],e,0,n),D=l}function At(t,e,n,l,o){t|=0,n|=0,l|=0,o|=0;var a,s,u,c,d,h,p,f,b,m,g,_,y,A,v,C,w,x,S,k,M,O,T=0,E=0,I=0,L=0,j=0,R=0;if(O=D,D=D+272|0,L=O+240|0,S=O,k=O+224|0,M=O+208|0,g=O+176|0,_=O+160|0,y=O+192|0,A=O+144|0,v=O+128|0,C=O+112|0,w=O+96|0,x=O+80|0,i[(T=O+256|0)>>2]=e|=0,i[L>>2]=i[t>>2],i[L+4>>2]=i[t+4>>2],i[L+8>>2]=i[t+8>>2],i[L+12>>2]=i[t+12>>2],vt(L,T,S),i[o>>2]=0,(0|(L=l+n+(5==(0|l)&1)|0))<=(0|n))D=O;else{s=k+4|0,u=g+4|0,c=n+5|0,d=16848+((a=0|i[T>>2])<<2)|0,h=16928+(a<<2)|0,p=v+8|0,f=C+8|0,b=w+8|0,m=M+4|0,I=n;t:for(;;){i[M>>2]=i[(E=S+(((0|I)%5|0)<<4)|0)>>2],i[M+4>>2]=i[E+4>>2],i[M+8>>2]=i[E+8>>2],i[M+12>>2]=i[E+12>>2];do{}while(2==(0|Ct(M,a,0,1)));if((0|I)>(0|n)&0!=(0|Ut(e))){if(i[g>>2]=i[M>>2],i[g+4>>2]=i[M+4>>2],i[g+8>>2]=i[M+8>>2],i[g+12>>2]=i[M+12>>2],K(s,_),i[g>>2]=i[18608+(80*(l=0|i[g>>2])|0)+(20*(T=0|i[17008+(80*l|0)+(i[k>>2]<<2)>>2])|0)>>2],(0|(E=0|i[18608+(80*l|0)+(20*T|0)+16>>2]))>0){t=0;do{ot(u),t=t+1|0}while((0|t)<(0|E))}switch(i[y>>2]=i[(E=18608+(80*l|0)+(20*T|0)+4|0)>>2],i[y+4>>2]=i[E+4>>2],i[y+8>>2]=i[E+8>>2],Z(y,3*(0|i[d>>2])|0),J(u,y,u),X(u),K(u,A),r[v>>3]=3*(j=+(0|i[h>>2])),r[p>>3]=0,r[C>>3]=R=-1.5*j,r[f>>3]=2.598076211353316*j,r[w>>3]=R,r[b>>3]=-2.598076211353316*j,0|i[17008+(80*(0|i[g>>2])|0)+(i[M>>2]<<2)>>2]){case 1:t=C,l=v;break;case 3:t=w,l=C;break;case 2:t=v,l=w;break;default:t=12;break t}oe(_,A,l,t,x),_t(x,0|i[g>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2])}if((0|I)<(0|c)&&(K(m,g),_t(g,0|i[M>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2])),i[k>>2]=i[M>>2],i[k+4>>2]=i[M+4>>2],i[k+8>>2]=i[M+8>>2],i[k+12>>2]=i[M+12>>2],(0|(I=I+1|0))>=(0|L)){t=3;break}}3!=(0|t)?12==(0|t)&&P(22474,22521,581,22531):D=O}}function vt(t,e,n){t|=0,e|=0,n|=0;var l,r=0,o=0,a=0,s=0,u=0;l=D,D=D+128|0,o=l,s=20208,u=60+(a=r=l+64|0)|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));s=20272,u=(a=o)+60|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));r=(u=0==(0|Ut(0|i[e>>2])))?r:o,ct(o=t+4|0),dt(o),0|Ut(0|i[e>>2])&&(it(o),i[e>>2]=1+(0|i[e>>2])),i[n>>2]=i[t>>2],J(o,r,e=n+4|0),X(e),i[n+16>>2]=i[t>>2],J(o,r+12|0,e=n+20|0),X(e),i[n+32>>2]=i[t>>2],J(o,r+24|0,e=n+36|0),X(e),i[n+48>>2]=i[t>>2],J(o,r+36|0,e=n+52|0),X(e),i[n+64>>2]=i[t>>2],J(o,r+48|0,n=n+68|0),X(n),D=l}function Ct(t,e,n,l){n|=0;var r,o,a,s,u,c,d,h=0,p=0,f=0,b=0;if(c=D,D=D+32|0,u=c+12|0,o=c,b=0|i[16928+((e|=0)<<2)>>2],b=(s=0!=(0|(l|=0)))?3*b|0:b,h=0|i[(d=4+(t|=0)|0)>>2],r=0|i[(a=t+8|0)>>2],s){if((0|(h=r+h+(l=0|i[(p=t+12|0)>>2])|0))==(0|b))return D=c,1;f=p}else h=r+h+(l=0|i[(f=t+12|0)>>2])|0;if((0|h)<=(0|b))return D=c,0;do{if((0|l)>0){if(l=0|i[t>>2],(0|r)>0){p=18608+(80*l|0)+60|0,l=t;break}l=18608+(80*l|0)+40|0,n?(W(u,b,0,0),Q(d,u,o),at(o),J(o,u,d),p=l,l=t):(p=l,l=t)}else p=18608+(80*(0|i[t>>2])|0)+20|0,l=t}while(0);if(i[l>>2]=i[p>>2],(0|i[(h=p+16|0)>>2])>0){l=0;do{ot(d),l=l+1|0}while((0|l)<(0|i[h>>2]))}return i[u>>2]=i[(t=p+4|0)>>2],i[u+4>>2]=i[t+4>>2],i[u+8>>2]=i[t+8>>2],e=0|i[16848+(e<<2)>>2],Z(u,s?3*e|0:e),J(d,u,d),X(d),D=c,0|(s&&((0|i[a>>2])+(0|i[d>>2])+(0|i[f>>2])|0)==(0|b)?1:2)}function wt(t,e){t|=0,e|=0;var n=0;do{n=0|Ct(t,e,0,1)}while(2==(0|n));return 0|n}function Pt(t,e,n,l,o){t|=0,n|=0,l|=0,o|=0;var a,s,u,c,d,h,p,f,b,m,g,_,y,A,v,C,w,x,S=0,k=0,M=0,O=0,T=0;if(x=D,D=D+240|0,A=x+208|0,v=x,C=x+192|0,w=x+176|0,b=x+160|0,m=x+144|0,g=x+128|0,_=x+112|0,y=x+96|0,i[(S=x+224|0)>>2]=e|=0,i[A>>2]=i[t>>2],i[A+4>>2]=i[t+4>>2],i[A+8>>2]=i[t+8>>2],i[A+12>>2]=i[t+12>>2],xt(A,S,v),i[o>>2]=0,(0|(f=l+n+(6==(0|l)&1)|0))<=(0|n))D=x;else{s=n+6|0,u=16928+((a=0|i[S>>2])<<2)|0,c=m+8|0,d=g+8|0,h=_+8|0,p=C+4|0,k=0,M=n,l=-1;t:for(;;){if(i[C>>2]=i[(t=v+((S=(0|M)%6|0)<<4)|0)>>2],i[C+4>>2]=i[t+4>>2],i[C+8>>2]=i[t+8>>2],i[C+12>>2]=i[t+12>>2],t=k,k=0|Ct(C,a,0,1),(0|M)>(0|n)&0!=(0|Ut(e))&&1!=(0|t)&&(0|i[C>>2])!=(0|l)){switch(K(v+(((S+5|0)%6|0)<<4)+4|0,w),K(v+(S<<4)+4|0,b),r[m>>3]=3*(O=+(0|i[u>>2])),r[c>>3]=0,r[g>>3]=T=-1.5*O,r[d>>3]=2.598076211353316*O,r[_>>3]=T,r[h>>3]=-2.598076211353316*O,0|i[17008+(80*(S=0|i[A>>2])|0)+(((0|l)==(0|S)?0|i[C>>2]:l)<<2)>>2]){case 1:t=g,l=m;break;case 3:t=_,l=g;break;case 2:t=m,l=_;break;default:t=8;break t}oe(w,b,l,t,y),0|ae(w,y)||0|ae(b,y)||(_t(y,0|i[A>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2]))}if((0|M)<(0|s)&&(K(p,w),_t(w,0|i[C>>2],a,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=1+(0|i[o>>2])),(0|(M=M+1|0))>=(0|f)){t=3;break}l=0|i[C>>2]}3!=(0|t)?8==(0|t)&&P(22557,22521,746,22602):D=x}}function xt(t,e,n){t|=0,e|=0,n|=0;var l,r=0,o=0,a=0,s=0,u=0;l=D,D=D+160|0,o=l,s=20336,u=72+(a=r=l+80|0)|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));s=20416,u=(a=o)+72|0;do{i[a>>2]=i[s>>2],a=a+4|0,s=s+4|0}while((0|a)<(0|u));r=(u=0==(0|Ut(0|i[e>>2])))?r:o,ct(o=t+4|0),dt(o),0|Ut(0|i[e>>2])&&(it(o),i[e>>2]=1+(0|i[e>>2])),i[n>>2]=i[t>>2],J(o,r,e=n+4|0),X(e),i[n+16>>2]=i[t>>2],J(o,r+12|0,e=n+20|0),X(e),i[n+32>>2]=i[t>>2],J(o,r+24|0,e=n+36|0),X(e),i[n+48>>2]=i[t>>2],J(o,r+36|0,e=n+52|0),X(e),i[n+64>>2]=i[t>>2],J(o,r+48|0,e=n+68|0),X(e),i[n+80>>2]=i[t>>2],J(o,r+60|0,n=n+84|0),X(n),D=l}function St(t){var e;return e=(t=+t)<0?t+6.283185307179586:t,+(t>=6.283185307179586?e+-6.283185307179586:e)}function kt(t,e){return+s(+(+r[(t|=0)>>3]-+r[(e|=0)>>3]))<17453292519943298e-27?0|(e=+s(+(+r[t+8>>3]-+r[e+8>>3]))<17453292519943298e-27):0|(e=0)}function Mt(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))*6371.007180918475}function Ot(t,e,n){n|=0;var l,i,o,a,s=0,c=0,f=0,b=0,_=0,y=0;return _=+h(.5*((y=+r[(e|=0)>>3])-(o=+r[(t|=0)>>3]))),b=+h(.5*((f=+r[e+8>>3])-(i=+r[t+8>>3]))),l=+d(+o),a=+d(+y),b=2*+g(+ +u(+(b=_*_+b*(a*l*b))),+ +u(+(1-b))),y=+h(.5*((_=+r[n>>3])-y)),f=+h(.5*((s=+r[n+8>>3])-f)),c=+d(+_),f=2*+g(+ +u(+(f=y*y+f*(a*c*f))),+ +u(+(1-f))),_=+h(.5*(o-_)),s=+h(.5*(i-s)),s=2*+g(+ +u(+(s=_*_+s*(l*c*s))),+ +u(+(1-s))),4*+m(+ +u(+ +p(.5*(c=.5*(b+f+s)))*+p(.5*(c-b))*+p(.5*(c-f))*+p(.5*(c-s))))}function Dt(t,e){return e=0|we(0|(t|=0),0|(e|=0),45),w(),127&e|0}function Tt(t,e){var n=0,l=0,i=0,r=0,o=0,a=0;if(!(!0&134217728==(-16777216&(e|=0)|0)))return 0;if(o=0|we(0|(t|=0),0|e,45),w(),(o&=127)>>>0>121)return 0;n=0|we(0|t,0|e,52),w(),n&=15;do{if(0|n){for(i=1,l=0;;){if(r=0|we(0|t,0|e,3*(15-i|0)|0),w(),0!=(0|(r&=7))&(1^l)){if(1==(0|r)&0!=(0|R(o))){a=0,l=13;break}l=1}if(7==(0|r)){a=0,l=13;break}if(!(i>>>0<n>>>0)){l=9;break}i=i+1|0}if(9==(0|l)){if(15!=(0|n))break;return 1}if(13==(0|l))return 0|a}}while(0);for(;;){if(a=0|we(0|t,0|e,3*(14-n|0)|0),w(),!(7==(7&a|0)&!0)){a=0,l=13;break}if(!(n>>>0<14)){a=1,l=13;break}n=n+1|0}return 13==(0|l)?0|a:0}function Et(t,e,n){n|=0;var l=0,i=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),(0|(l&=15))>=(0|n)){if((0|l)!=(0|n))if(n>>>0<=15){if(t|=i=0|Pe(0|n,0,52),e=0|w()|-15728641&e,(0|l)>(0|n))do{i=0|Pe(7,0,3*(14-n|0)|0),n=n+1|0,t|=i,e=0|w()|e}while((0|n)<(0|l))}else e=0,t=0}else e=0,t=0;return C(0|e),0|t}function It(t,e,n,l){n|=0,l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0;if(s=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(s&=15))<=(0|n)){if((0|s)==(0|n))return i[(n=l)>>2]=t,void(i[n+4>>2]=e);if(r=(0|(c=0|ee(7,n-s|0)))/7|0,u=0|we(0|t,0|e,45),w(),0|R(127&u)){t:do{if(s)for(a=1;;){if(o=0|we(0|t,0|e,3*(15-a|0)|0),w(),0|(o&=7))break t;if(!(a>>>0<s>>>0)){o=0;break}a=a+1|0}else o=0}while(0);a=0==(0|o)}else a=0;if(d=0|Pe(s+1|0,0,52),o=0|w()|-15728641&e,It(e=(d|t)&~(e=0|Pe(7,0,0|(u=3*(14-s|0)|0))),s=o&~(0|w()),n,l),o=l+(r<<3)|0,!a)return It((d=0|Pe(1,0,0|u))|e,0|w()|s,n,o),d=o+(r<<3)|0,It((c=0|Pe(2,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(3,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(4,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(5,0,0|u))|e,0|w()|s,n,d),void It((c=0|Pe(6,0,0|u))|e,0|w()|s,n,d+(r<<3)|0);a=o+(r<<3)|0,(0|c)>6&&(Me(0|o,0,8+(d=(a>>>0>(c=o+8|0)>>>0?a:c)+-1+(0-o)|0)&-8|0),o=c+(d>>>3<<3)|0),It((d=0|Pe(2,0,0|u))|e,0|w()|s,n,o),d=o+(r<<3)|0,It((c=0|Pe(3,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(4,0,0|u))|e,0|w()|s,n,d),d=d+(r<<3)|0,It((c=0|Pe(5,0,0|u))|e,0|w()|s,n,d),It((c=0|Pe(6,0,0|u))|e,0|w()|s,n,d+(r<<3)|0)}}function Lt(t,e){var n=0,l=0,i=0;if(i=0|we(0|(t|=0),0|(e|=0),45),w(),!(0|R(127&i)))return 0;i=0|we(0|t,0|e,52),w(),i&=15;t:do{if(i)for(l=1;;){if(n=0|we(0|t,0|e,3*(15-l|0)|0),w(),0|(n&=7))break t;if(!(l>>>0<i>>>0)){n=0;break}l=l+1|0}else n=0}while(0);return 0|0==(0|n)&1}function jt(t,e){var n=0,l=0,i=0;if(i=0|we(0|(t|=0),0|(e|=0),52),w(),!(i&=15))return 0;for(l=1;;){if(n=0|we(0|t,0|e,3*(15-l|0)|0),w(),0|(n&=7)){l=5;break}if(!(l>>>0<i>>>0)){n=0,l=5;break}l=l+1|0}return 5==(0|l)?0|n:0}function Rt(t,e){var n=0,l=0,i=0,r=0,o=0,a=0,s=0;if(s=0|we(0|(t|=0),0|(e|=0),52),w(),!(s&=15))return s=t,C(0|(a=e)),0|s;for(a=1,n=0;;){l=0|Pe(7,0,0|(r=3*(15-a|0)|0)),i=0|w(),o=0|we(0|t,0|e,0|r),w(),t=(r=0|Pe(0|st(7&o),0,0|r))|t&~l,e=(o=0|w())|e&~i;t:do{if(!n)if(0==(r&l|0)&0==(o&i|0))n=0;else if(l=0|we(0|t,0|e,52),w(),l&=15){n=1;e:for(;;){switch(o=0|we(0|t,0|e,3*(15-n|0)|0),w(),7&o){case 1:break e;case 0:break;default:n=1;break t}if(!(n>>>0<l>>>0)){n=1;break t}n=n+1|0}for(n=1;;){if(i=0|we(0|t,0|e,0|(o=3*(15-n|0)|0)),w(),r=0|Pe(7,0,0|o),e&=~(0|w()),t=t&~r|(o=0|Pe(0|st(7&i),0,0|o)),e=0|e|w(),!(n>>>0<l>>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(a>>>0<s>>>0))break;a=a+1|0}return C(0|e),0|t}function Ft(t,e){var n=0,l=0,i=0,r=0,o=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),!(l&=15))return l=t,C(0|(n=e)),0|l;for(n=1;o=0|we(0|t,0|e,0|(r=3*(15-n|0)|0)),w(),i=0|Pe(7,0,0|r),e&=~(0|w()),t=(r=0|Pe(0|st(7&o),0,0|r))|t&~i,e=0|w()|e,n>>>0<l>>>0;)n=n+1|0;return C(0|e),0|t}function Nt(t,e){var n=0,l=0,i=0,r=0,o=0,a=0,s=0;if(s=0|we(0|(t|=0),0|(e|=0),52),w(),!(s&=15))return s=t,C(0|(a=e)),0|s;for(a=1,n=0;;){l=0|Pe(7,0,0|(r=3*(15-a|0)|0)),i=0|w(),o=0|we(0|t,0|e,0|r),w(),t=(r=0|Pe(0|ut(7&o),0,0|r))|t&~l,e=(o=0|w())|e&~i;t:do{if(!n)if(0==(r&l|0)&0==(o&i|0))n=0;else if(l=0|we(0|t,0|e,52),w(),l&=15){n=1;e:for(;;){switch(o=0|we(0|t,0|e,3*(15-n|0)|0),w(),7&o){case 1:break e;case 0:break;default:n=1;break t}if(!(n>>>0<l>>>0)){n=1;break t}n=n+1|0}for(n=1;;){if(r=0|Pe(7,0,0|(i=3*(15-n|0)|0)),o=e&~(0|w()),e=0|we(0|t,0|e,0|i),w(),t=t&~r|(e=0|Pe(0|ut(7&e),0,0|i)),e=0|o|w(),!(n>>>0<l>>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(a>>>0<s>>>0))break;a=a+1|0}return C(0|e),0|t}function Yt(t,e){var n=0,l=0,i=0,r=0,o=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),!(l&=15))return l=t,C(0|(n=e)),0|l;for(n=1;r=0|Pe(7,0,0|(o=3*(15-n|0)|0)),i=e&~(0|w()),e=0|we(0|t,0|e,0|o),w(),t=(e=0|Pe(0|ut(7&e),0,0|o))|t&~r,e=0|w()|i,n>>>0<l>>>0;)n=n+1|0;return C(0|e),0|t}function Ut(t){return 0|(0|(t|=0))%2}function Bt(t,e){var n,l;return t|=0,l=D,D=D+16|0,n=l,(e|=0)>>>0<=15&&2146435072!=(2146435072&i[t+4>>2]|0)&&2146435072!=(2146435072&i[t+8+4>>2]|0)?(function(t,e,n){var l,i;l=D,D=D+16|0,gt(t|=0,e|=0,n|=0,i=l),$(i,n+4|0),D=l}(t,e,n),e=0|function(t,e){t|=0;var n,l=0,r=0,o=0,a=0,s=0,u=0,c=0,d=0;if(n=D,D=D+64|0,u=n+40|0,r=n+24|0,o=n+12|0,a=n,Pe(0|(e|=0),0,52),l=134225919|w(),!e)return(0|i[t+4>>2])>2||(0|i[t+8>>2])>2||(0|i[t+12>>2])>2?(u=0,C(0|(s=0)),D=n,0|u):(Pe(0|N(t),0,45),s=0|w()|l,u=-1,C(0|s),D=n,0|u);if(i[u>>2]=i[t>>2],i[u+4>>2]=i[t+4>>2],i[u+8>>2]=i[t+8>>2],i[u+12>>2]=i[t+12>>2],s=u+4|0,(0|e)>0)for(t=-1;i[r>>2]=i[s>>2],i[r+4>>2]=i[s+4>>2],i[r+8>>2]=i[s+8>>2],1&e?(et(s),i[o>>2]=i[s>>2],i[o+4>>2]=i[s+4>>2],i[o+8>>2]=i[s+8>>2],lt(o)):(nt(s),i[o>>2]=i[s>>2],i[o+4>>2]=i[s+4>>2],i[o+8>>2]=i[s+8>>2],it(o)),Q(r,o,a),X(a),c=0|Pe(7,0,0|(d=3*(15-e|0)|0)),l&=~(0|w()),t=(d=0|Pe(0|tt(a),0,0|d))|t&~c,l=0|w()|l,(0|e)>1;)e=e+-1|0;else t=-1;t:do{if((0|i[s>>2])<=2&&(0|i[u+8>>2])<=2&&(0|i[u+12>>2])<=2){if(e=0|Pe(0|(r=0|N(u)),0,45),e|=t,t=0|w()|-1040385&l,a=0|Y(u),!(0|R(r))){if((0|a)<=0)break;for(o=0;;){if(r=0|we(0|e,0|t,52),w(),r&=15)for(l=1;u=0|we(0|e,0|t,0|(d=3*(15-l|0)|0)),w(),c=0|Pe(7,0,0|d),t&=~(0|w()),e=e&~c|(d=0|Pe(0|st(7&u),0,0|d)),t=0|t|w(),l>>>0<r>>>0;)l=l+1|0;if((0|(o=o+1|0))==(0|a))break t}}o=0|we(0|e,0|t,52),w(),o&=15;e:do{if(o){l=1;n:for(;;){switch(d=0|we(0|e,0|t,3*(15-l|0)|0),w(),7&d){case 1:break n;case 0:break;default:break e}if(!(l>>>0<o>>>0))break e;l=l+1|0}if(0|U(r,0|i[u>>2]))for(l=1;c=0|Pe(7,0,0|(u=3*(15-l|0)|0)),d=t&~(0|w()),t=0|we(0|e,0|t,0|u),w(),e=e&~c|(t=0|Pe(0|ut(7&t),0,0|u)),t=0|d|w(),l>>>0<o>>>0;)l=l+1|0;else for(l=1;u=0|we(0|e,0|t,0|(d=3*(15-l|0)|0)),w(),c=0|Pe(7,0,0|d),t&=~(0|w()),e=e&~c|(d=0|Pe(0|st(7&u),0,0|d)),t=0|t|w(),l>>>0<o>>>0;)l=l+1|0}}while(0);if((0|a)>0){l=0;do{e=0|Rt(e,t),t=0|w(),l=l+1|0}while((0|l)!=(0|a))}}else e=0,t=0}while(0);return d=e,C(0|(c=t)),D=n,0|d}(n,e),t=0|w()):(t=0,e=0),C(0|t),D=l,0|e}function zt(t,e,n){var l,r=0,o=0,a=0;if(l=4+(n|=0)|0,o=0|we(0|(t|=0),0|(e|=0),52),w(),o&=15,a=0|we(0|t,0|e,45),w(),r=0==(0|o),0|R(127&a)){if(r)return 1;r=1}else{if(r)return 0;r=0==(0|i[l>>2])&&0==(0|i[n+8>>2])?0!=(0|i[n+12>>2])&1:1}for(n=1;1&n?lt(l):it(l),a=0|we(0|t,0|e,3*(15-n|0)|0),w(),rt(l,7&a),n>>>0<o>>>0;)n=n+1|0;return 0|r}function Gt(t,e,n){n|=0;var l,r,o=0,a=0,s=0,u=0,c=0,d=0;r=D,D=D+16|0,l=r,d=0|we(0|(t|=0),0|(e|=0),45),w(),d&=127;t:do{if(0!=(0|R(d))&&(s=0|we(0|t,0|e,52),w(),0!=(0|(s&=15)))){o=1;e:for(;;){switch(c=0|we(0|t,0|e,3*(15-o|0)|0),w(),7&c){case 5:break e;case 0:break;default:o=e;break t}if(!(o>>>0<s>>>0)){o=e;break t}o=o+1|0}for(a=1,o=e;u=0|Pe(7,0,0|(e=3*(15-a|0)|0)),c=o&~(0|w()),o=0|we(0|t,0|o,0|e),w(),t=t&~u|(o=0|Pe(0|ut(7&o),0,0|e)),o=0|c|w(),a>>>0<s>>>0;)a=a+1|0}else o=e}while(0);if(i[n>>2]=i[(c=7728+(28*d|0)|0)>>2],i[n+4>>2]=i[c+4>>2],i[n+8>>2]=i[c+8>>2],i[n+12>>2]=i[c+12>>2],0|zt(t,o,n)){if(i[l>>2]=i[(u=n+4|0)>>2],i[l+4>>2]=i[u+4>>2],i[l+8>>2]=i[u+8>>2],s=0|we(0|t,0|o,52),w(),c=15&s,1&s?(it(u),s=c+1|0):s=c,0|R(d)){t:do{if(c)for(e=1;;){if(a=0|we(0|t,0|o,3*(15-e|0)|0),w(),0|(a&=7)){o=a;break t}if(!(e>>>0<c>>>0)){o=0;break}e=e+1|0}else o=0}while(0);o=4==(0|o)&1}else o=0;if(0|Ct(n,s,o,0)){if(0|R(d))do{}while(0!=(0|Ct(n,s,0,0)));(0|s)!=(0|c)&&nt(u)}else(0|s)!=(0|c)&&(i[u>>2]=i[l>>2],i[u+4>>2]=i[l+4>>2],i[u+8>>2]=i[l+8>>2]);D=r}else D=r}function Ht(t,e,n){var l,i;n|=0,l=D,D=D+16|0,Gt(t|=0,e|=0,i=l),e=0|we(0|t,0|e,52),w(),yt(i,15&e,n),D=l}function Vt(t,e,n){n|=0;var l,i,r=0,o=0;i=D,D=D+16|0,Gt(t|=0,e|=0,l=i),r=0|we(0|t,0|e,45),w(),r=0==(0|R(127&r)),o=0|we(0|t,0|e,52),w(),o&=15;t:do{if(!r){if(0|o)for(r=1;;){if(!(0==((0|Pe(7,0,3*(15-r|0)|0))&t|0)&0==((0|w())&e|0)))break t;if(!(r>>>0<o>>>0))break;r=r+1|0}return At(l,o,0,5,n),void(D=i)}}while(0);Pt(l,o,0,6,n),D=i}function qt(t,e){e|=0;var n,l=0,r=0,o=0,a=0,s=0,u=0;if(Pe(0|(t|=0),0,52),n=134225919|w(),(0|t)<1){r=0,l=0;do{0|R(r)&&(Pe(0|r,0,45),s=0|n|w(),i[(t=e+(l<<3)|0)>>2]=-1,i[t+4>>2]=s,l=l+1|0),r=r+1|0}while(122!=(0|r))}else{s=0,l=0;do{if(0|R(s)){for(Pe(0|s,0,45),r=1,o=-1,a=0|n|w();o&=~(u=0|Pe(7,0,3*(15-r|0)|0)),a&=~(0|w()),(0|r)!=(0|t);)r=r+1|0;i[(u=e+(l<<3)|0)>>2]=o,i[u+4>>2]=a,l=l+1|0}s=s+1|0}while(122!=(0|s))}}function Wt(t,e,n,l){var r,o,a=0,s=0,u=0,c=0;if(r=D,D=D+64|0,o=r,(0|(t|=0))==(0|(n|=0))&(0|(e|=0))==(0|(l|=0))|!1|134217728!=(2013265920&e|0)|!1|134217728!=(2013265920&l|0))return D=r,0;if(a=0|we(0|t,0|e,52),w(),a&=15,s=0|we(0|n,0|l,52),w(),(0|a)!=(15&s|0))return D=r,0;if(s=a+-1|0,a>>>0>1&&(c=0|Et(t,e,s),u=0|w(),(0|c)==(0|(s=0|Et(n,l,s)))&(0|u)==(0|w()))){if(a=0|we(0|t,0|e,0|(s=3*(15^a)|0)),w(),a&=7,s=0|we(0|n,0|l,0|s),w(),0==(0|a)|0==(0|(s&=7)))return D=r,1;if((0|i[21136+(a<<2)>>2])==(0|s))return D=r,1;if((0|i[21168+(a<<2)>>2])==(0|s))return D=r,1}s=(a=o)+56|0;do{i[a>>2]=0,a=a+4|0}while((0|a)<(0|s));return T(t,e,1,o),a=(0|i[(c=o)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+8|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+16|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+24|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+32|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)||(0|i[(c=o+40|0)>>2])==(0|n)&&(0|i[c+4>>2])==(0|l)?1:1&((0|i[(a=o+48|0)>>2])==(0|n)?(0|i[a+4>>2])==(0|l):0),D=r,0|a}function $t(t,e,n){n|=0;var l,r,o,a,s=0;if(o=D,D=D+16|0,r=o,s=0|we(0|(t|=0),0|(e|=0),56),w(),-1==(0|(e=0|function(t,e,n){n|=0;var l,r=0;return r=0|Lt(t|=0,e|=0),(n+-1|0)>>>0>5||1==(0|n)&(l=0!=(0|r))?-1:(r=0|function(t,e){var n,l,r,o,a=0,s=0,u=0,c=0;if(r=D,D=D+32|0,l=r,Gt(t|=0,e|=0,n=r+16|0),u=0|Dt(t,e),o=0|jt(t,e),function(t,e){i[(e|=0)>>2]=i[(t=7728+(28*(t|=0)|0)|0)>>2],i[e+4>>2]=i[t+4>>2],i[e+8>>2]=i[t+8>>2],i[e+12>>2]=i[t+12>>2]}(u,l),e=0|function(t,e){t|=0;var n=0,l=0;if((e|=0)>>>0>20)return-1;do{if((0|i[11152+(216*e|0)>>2])!=(0|t))if((0|i[11152+(216*e|0)+8>>2])!=(0|t))if((0|i[11152+(216*e|0)+16>>2])!=(0|t))if((0|i[11152+(216*e|0)+24>>2])!=(0|t))if((0|i[11152+(216*e|0)+32>>2])!=(0|t))if((0|i[11152+(216*e|0)+40>>2])!=(0|t))if((0|i[11152+(216*e|0)+48>>2])!=(0|t))if((0|i[11152+(216*e|0)+56>>2])!=(0|t))if((0|i[11152+(216*e|0)+64>>2])!=(0|t))if((0|i[11152+(216*e|0)+72>>2])!=(0|t))if((0|i[11152+(216*e|0)+80>>2])!=(0|t))if((0|i[11152+(216*e|0)+88>>2])!=(0|t))if((0|i[11152+(216*e|0)+96>>2])!=(0|t))if((0|i[11152+(216*e|0)+104>>2])!=(0|t))if((0|i[11152+(216*e|0)+112>>2])!=(0|t))if((0|i[11152+(216*e|0)+120>>2])!=(0|t))if((0|i[11152+(216*e|0)+128>>2])!=(0|t)){if((0|i[11152+(216*e|0)+136>>2])!=(0|t)){if((0|i[11152+(216*e|0)+144>>2])==(0|t)){t=0,n=2,l=0;break}if((0|i[11152+(216*e|0)+152>>2])==(0|t)){t=0,n=2,l=1;break}if((0|i[11152+(216*e|0)+160>>2])==(0|t)){t=0,n=2,l=2;break}if((0|i[11152+(216*e|0)+168>>2])==(0|t)){t=1,n=2,l=0;break}if((0|i[11152+(216*e|0)+176>>2])==(0|t)){t=1,n=2,l=1;break}if((0|i[11152+(216*e|0)+184>>2])==(0|t)){t=1,n=2,l=2;break}if((0|i[11152+(216*e|0)+192>>2])==(0|t)){t=2,n=2,l=0;break}if((0|i[11152+(216*e|0)+200>>2])==(0|t)){t=2,n=2,l=1;break}if((0|i[11152+(216*e|0)+208>>2])==(0|t)){t=2,n=2,l=2;break}return-1}t=2,n=1,l=2}else t=2,n=1,l=1;else t=2,n=1,l=0;else t=1,n=1,l=2;else t=1,n=1,l=1;else t=1,n=1,l=0;else t=0,n=1,l=2;else t=0,n=1,l=1;else t=0,n=1,l=0;else t=2,n=0,l=2;else t=2,n=0,l=1;else t=2,n=0,l=0;else t=1,n=0,l=2;else t=1,n=0,l=1;else t=1,n=0,l=0;else t=0,n=0,l=2;else t=0,n=0,l=1;else t=0,n=0,l=0}while(0);return 0|i[11152+(216*e|0)+(72*n|0)+(24*t|0)+(l<<3)+4>>2]}(u,0|i[n>>2]),!(0|R(u)))return D=r,0|e;switch(0|u){case 4:t=0,a=14;break;case 14:t=1,a=14;break;case 24:t=2,a=14;break;case 38:t=3,a=14;break;case 49:t=4,a=14;break;case 58:t=5,a=14;break;case 63:t=6,a=14;break;case 72:t=7,a=14;break;case 83:t=8,a=14;break;case 97:t=9,a=14;break;case 107:t=10,a=14;break;case 117:t=11,a=14;break;default:c=0,s=0}return 14==(0|a)&&(c=0|i[22096+(24*t|0)+8>>2],s=0|i[22096+(24*t|0)+16>>2]),(0|(t=0|i[n>>2]))!=(0|i[l>>2])&&(u=0|F(u))|(0|(t=0|i[n>>2]))==(0|s)&&(e=(e+1|0)%6|0),3==(0|o)&(0|t)==(0|s)?(D=r,0|(e+5|0)%6):5==(0|o)&(0|t)==(0|c)?(D=r,0|(e+1|0)%6):(D=r,0|e)}(t,e),l?0|(n=(5-r+(0|i[22384+(n<<2)>>2])|0)%5|0):0|(n=(6-r+(0|i[22416+(n<<2)>>2])|0)%6|0))}(l=(a=!0&268435456==(2013265920&e|0))?t:0,t=a?-2130706433&e|134217728:0,7&s))))return i[n>>2]=0,void(D=o);Gt(l,t,r),s=0|we(0|l,0|t,52),w(),s&=15,0|Lt(l,t)?At(r,s,e,2,n):Pt(r,s,e,2,n),D=o}function Xt(t){t|=0;var e,n,l=0;return(e=0|ye(1,12))||P(22691,22646,49,22704),0|(l=0|i[(n=t+4|0)>>2])?(i[(l=l+8|0)>>2]=e,i[n>>2]=e,0|e):(0|i[t>>2]&&P(22721,22646,61,22744),i[(l=t)>>2]=e,i[n>>2]=e,0|e)}function Kt(t,e){var n,l;return t|=0,e|=0,(l=0|ge(24))||P(22758,22646,78,22772),i[l>>2]=i[e>>2],i[l+4>>2]=i[e+4>>2],i[l+8>>2]=i[e+8>>2],i[l+12>>2]=i[e+12>>2],i[l+16>>2]=0,0|(n=0|i[(e=t+4|0)>>2])?(i[n+16>>2]=l,i[e>>2]=l,0|l):(0|i[t>>2]&&P(22787,22646,82,22772),i[t>>2]=l,i[e>>2]=l,0|l)}function Jt(t){var e,n,l=0,o=0,a=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,w=0,x=0,S=0,k=0,M=0,O=0,D=0,T=0,E=0,I=0,L=0,j=0,R=0;if(0|i[(u=8+(t|=0)|0)>>2])return 1;if(!(a=0|i[t>>2]))return 0;l=a,o=0;do{o=o+1|0,l=0|i[l+8>>2]}while(0!=(0|l));if(o>>>0<2)return 0;(n=0|ge(o<<2))||P(22807,22646,317,22826),(e=0|ge(o<<5))||P(22848,22646,321,22826),i[t>>2]=0,i[(M=t+4|0)>>2]=0,i[u>>2]=0,o=0,L=0,k=0,m=0;t:for(;;){if(b=0|i[a>>2]){c=0,d=b;do{if(l=d,+s(+((p=+r[d+8>>3])-(h=+r[(u=(f=0==(0|(d=0|i[d+16>>2])))?b:d)+8>>3])))>3.141592653589793){R=14;break}c+=(h-p)*(+r[l>>3]+ +r[u>>3])}while(!f);if(14==(0|R)){R=0,c=0,l=b;do{c+=(+r[l>>3]+ +r[(E=0==(0|(E=0|i[(I=l+16|0)>>2]))?b:E)>>3])*(((x=+r[E+8>>3])<0?x+6.283185307179586:x)-((S=+r[l+8>>3])<0?S+6.283185307179586:S)),l=0|i[(0==(0|l)?a:I)>>2]}while(0!=(0|l))}c>0?(i[n+(L<<2)>>2]=a,L=L+1|0,u=k,l=m):R=19}else R=19;if(19==(0|R)){R=0;do{if(!o){if(m){u=M,d=m+8|0,l=a,o=t;break}if(0|i[t>>2]){R=27;break t}u=M,d=t,l=a,o=t;break}if(0|i[(l=o+8|0)>>2]){R=21;break t}if(!(o=0|ye(1,12))){R=23;break t}i[l>>2]=o,u=o+4|0,d=o,l=m}while(0);if(i[d>>2]=a,i[u>>2]=a,d=e+(k<<5)|0,f=0|i[a>>2]){for(r[(b=e+(k<<5)+8|0)>>3]=17976931348623157e292,r[(m=e+(k<<5)+24|0)>>3]=17976931348623157e292,r[d>>3]=-17976931348623157e292,r[(g=e+(k<<5)+16|0)>>3]=-17976931348623157e292,C=17976931348623157e292,w=-17976931348623157e292,u=0,_=f,p=17976931348623157e292,A=17976931348623157e292,v=-17976931348623157e292,h=-17976931348623157e292;c=+r[_>>3],S=+r[_+8>>3],x=+r[((y=0==(0|(_=0|i[_+16>>2])))?f:_)+8>>3],c<p&&(r[b>>3]=c,p=c),S<A&&(r[m>>3]=S,A=S),c>v?r[d>>3]=c:c=v,S>h&&(r[g>>3]=S,h=S),C=S>0&S<C?S:C,w=S<0&S>w?S:w,u|=+s(+(S-x))>3.141592653589793,!y;)v=c;u&&(r[g>>3]=w,r[m>>3]=C)}else i[d>>2]=0,i[d+4>>2]=0,i[d+8>>2]=0,i[d+12>>2]=0,i[d+16>>2]=0,i[d+20>>2]=0,i[d+24>>2]=0,i[d+28>>2]=0;u=k+1|0}if(a=0|i[(I=a+8|0)>>2],i[I>>2]=0,!a){R=45;break}k=u,m=l}if(21==(0|R))P(22624,22646,35,22658);else if(23==(0|R))P(22678,22646,37,22658);else if(27==(0|R))P(22721,22646,61,22744);else if(45==(0|R)){t:do{if((0|L)>0){for(I=0==(0|u),T=u<<2,E=0==(0|t),D=0,l=0;;){if(O=0|i[n+(D<<2)>>2],I)R=73;else{if(!(k=0|ge(T))){R=50;break}if(!(M=0|ge(T))){R=52;break}e:do{if(E)o=0;else{for(u=0,o=0,d=t;0|Qt(0|i[d>>2],a=e+(u<<5)|0,0|i[O>>2])?(i[k+(o<<2)>>2]=d,i[M+(o<<2)>>2]=a,y=o+1|0):y=o,d=0|i[d+8>>2];)u=u+1|0,o=y;if((0|y)>0)if(a=0|i[k>>2],1==(0|y))o=a;else for(g=0,_=-1,o=a,m=a;;){for(f=0|i[m>>2],a=0,d=0;b=(0|(u=0|i[i[k+(d<<2)>>2]>>2]))==(0|f)?a:a+(1&(0|Qt(u,0|i[M+(d<<2)>>2],0|i[f>>2])))|0,(0|(d=d+1|0))!=(0|y);)a=b;if(o=(u=(0|b)>(0|_))?m:o,(0|(a=g+1|0))==(0|y))break e;g=a,_=u?b:_,m=0|i[k+(a<<2)>>2]}else o=0}}while(0);if(_e(k),_e(M),o){if(a=0|i[(u=o+4|0)>>2])o=a+8|0;else if(0|i[o>>2]){R=70;break}i[o>>2]=O,i[u>>2]=O}else R=73}if(73==(0|R)){if(R=0,0|(l=0|i[O>>2]))do{M=l,l=0|i[l+16>>2],_e(M)}while(0!=(0|l));_e(O),l=2}if((0|(D=D+1|0))>=(0|L)){j=l;break t}}50==(0|R)?P(22863,22646,249,22882):52==(0|R)?P(22901,22646,252,22882):70==(0|R)&&P(22721,22646,61,22744)}else j=0}while(0);return _e(n),_e(e),0|j}return 0}function Qt(t,e,n){t|=0;var l,o=0,a=0,s=0,u=0,c=0,d=0,h=0;if(!(0|H(e|=0,n|=0)))return 0;if(e=0|G(e),l=+r[n>>3],o=e&(o=+r[n+8>>3])<0?o+6.283185307179586:o,!(t=0|i[t>>2]))return 0;if(e){e=0,n=t;t:for(;;){for(;u=+r[n>>3],d=+r[n+8>>3],a=+r[(h=0==(0|(h=0|i[(n=n+16|0)>>2]))?t:h)+8>>3],u>(s=+r[h>>3])?(c=u,u=d):(c=s,s=u,u=a,a=d),l<s|l>c;)if(!(n=0|i[n>>2])){n=22;break t}if(o=(u=u<0?u+6.283185307179586:u)==o|(d=a<0?a+6.283185307179586:a)==o?o+-2220446049250313e-31:o,((d+=(l-s)/(c-s)*(u-d))<0?d+6.283185307179586:d)>o&&(e^=1),!(n=0|i[n>>2])){n=22;break}}if(22==(0|n))return 0|e}else{e=0,n=t;t:for(;;){for(;u=+r[n>>3],d=+r[n+8>>3],a=+r[(h=0==(0|(h=0|i[(n=n+16|0)>>2]))?t:h)+8>>3],u>(s=+r[h>>3])?(c=u,u=d):(c=s,s=u,u=a,a=d),l<s|l>c;)if(!(n=0|i[n>>2])){n=22;break t}if(a+(l-s)/(c-s)*(u-a)>(o=u==o|a==o?o+-2220446049250313e-31:o)&&(e^=1),!(n=0|i[n>>2])){n=22;break}}if(22==(0|n))return 0|e}return 0}function Zt(t,e,n,r,o){n|=0,r|=0,o|=0;var a,s,u,c,d,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0;if(c=D,D=D+32|0,d=c+16|0,u=c,h=0|we(0|(t|=0),0|(e|=0),52),w(),h&=15,_=0|we(0|n,0|r,52),w(),(0|h)!=(15&_|0))return D=c,1;if(m=0|we(0|t,0|e,45),w(),m&=127,g=0|we(0|n,0|r,45),w(),_=(0|m)!=(0|(g&=127))){if(7==(0|(f=0|z(m,g))))return D=c,2;7==(0|(b=0|z(g,m)))?P(22925,22949,151,22959):(y=f,p=b)}else y=0,p=0;a=0|R(m),s=0|R(g),i[d>>2]=0,i[d+4>>2]=0,i[d+8>>2]=0,i[d+12>>2]=0;do{if(y){if(f=(0|(g=0|i[4304+(28*m|0)+(y<<2)>>2]))>0,s)if(f){m=0,b=n,f=r;do{b=0|Nt(b,f),f=0|w(),1==(0|(p=0|ut(p)))&&(p=0|ut(1)),m=m+1|0}while((0|m)!=(0|g));g=p,m=b,b=f}else g=p,m=n,b=r;else if(f){m=0,b=n,f=r;do{b=0|Yt(b,f),f=0|w(),p=0|ut(p),m=m+1|0}while((0|m)!=(0|g));g=p,m=b,b=f}else g=p,m=n,b=r;if(zt(m,b,d),_||P(22972,22949,181,22959),(f=0!=(0|a))&(p=0!=(0|s))&&P(22999,22949,182,22959),f){if(p=0|jt(t,e),0|l[22032+(7*p|0)+y>>0]){h=3;break}m=b=0|i[21200+(28*p|0)+(y<<2)>>2],A=26}else if(p){if(p=0|jt(m,b),0|l[22032+(7*p|0)+g>>0]){h=4;break}m=0,b=0|i[21200+(28*g|0)+(p<<2)>>2],A=26}else p=0;if(26==(0|A))if((0|b)<=-1&&P(23030,22949,212,22959),(0|m)<=-1&&P(23053,22949,213,22959),(0|b)>0){f=d+4|0,p=0;do{at(f),p=p+1|0}while((0|p)!=(0|b));p=m}else p=m;if(i[u>>2]=0,i[u+4>>2]=0,i[u+8>>2]=0,rt(u,y),0|h)for(;0|Ut(h)?lt(u):it(u),(0|h)>1;)h=h+-1|0;if((0|p)>0){h=0;do{at(u),h=h+1|0}while((0|h)!=(0|p))}J(A=d+4|0,u,A),X(A),A=50}else if(zt(n,r,d),0!=(0|a)&0!=(0|s))if((0|g)!=(0|m)&&P(23077,22949,243,22959),p=0|jt(t,e),h=0|jt(n,r),0|l[22032+(7*p|0)+h>>0])h=5;else if((0|(p=0|i[21200+(28*p|0)+(h<<2)>>2]))>0){f=d+4|0,h=0;do{at(f),h=h+1|0}while((0|h)!=(0|p));A=50}else A=50;else A=50}while(0);return 50==(0|A)&&(i[o>>2]=i[(h=d+4|0)>>2],i[o+4>>2]=i[h+4>>2],i[o+8>>2]=i[h+8>>2],h=0),D=c,0|h}function te(t,e,n,l){n|=0,l|=0;var r,o,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0;if(o=D,D=D+48|0,u=o+36|0,c=o+24|0,d=o+12|0,h=o,s=0|we(0|(t|=0),0|(e|=0),52),w(),s&=15,f=0|we(0|t,0|e,45),w(),r=0|R(f&=127),Pe(0|s,0,52),g=134225919|w(),i[(m=l)>>2]=-1,i[m+4>>2]=g,!s)return(0|i[n>>2])>1||(0|i[n+4>>2])>1||(0|i[n+8>>2])>1||127==(0|(a=0|B(f,0|tt(n))))?(D=o,0|(g=1)):(b=0|Pe(0|a,0,45),m=0|w(),m|=-1040385&i[(f=l)+4>>2],i[(g=l)>>2]=i[f>>2]|b,i[g+4>>2]=m,D=o,0|(g=0));for(i[u>>2]=i[n>>2],i[u+4>>2]=i[n+4>>2],i[u+8>>2]=i[n+8>>2];i[c>>2]=i[u>>2],i[c+4>>2]=i[u+4>>2],i[c+8>>2]=i[u+8>>2],0|Ut(s)?(et(u),i[d>>2]=i[u>>2],i[d+4>>2]=i[u+4>>2],i[d+8>>2]=i[u+8>>2],lt(d)):(nt(u),i[d>>2]=i[u>>2],i[d+4>>2]=i[u+4>>2],i[d+8>>2]=i[u+8>>2],it(d)),Q(c,d,h),X(h),_=0|i[(m=l)>>2],m=0|i[m+4>>2],n=0|Pe(7,0,0|(y=3*(15-s|0)|0)),m&=~(0|w()),y=0|Pe(0|tt(h),0,0|y),m=0|w()|m,i[(g=l)>>2]=y|_&~n,i[g+4>>2]=m,(0|s)>1;)s=s+-1|0;t:do{if((0|i[u>>2])<=1&&(0|i[u+4>>2])<=1&&(0|i[u+8>>2])<=1){h=127==(0|(c=0|B(f,s=0|tt(u))))?0:0|R(c);e:do{if(s){if(r){if(u=21408+(28*(0|jt(t,e))|0)+(s<<2)|0,(0|(u=0|i[u>>2]))>0){n=0;do{s=0|st(s),n=n+1|0}while((0|n)!=(0|u))}if(1==(0|s)){a=3;break t}127==(0|(n=0|B(f,s)))&&P(23104,22949,376,23134),0|R(n)?P(23147,22949,377,23134):(b=u,p=s,a=n)}else b=0,p=s,a=c;if((0|(d=0|i[4304+(28*f|0)+(p<<2)>>2]))<=-1&&P(23178,22949,384,23134),!h){if((0|b)<=-1&&P(23030,22949,417,23134),0|b){s=0,n=0|i[(u=l)>>2],u=0|i[u+4>>2];do{n=0|Ft(n,u),u=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=u,s=s+1|0}while((0|s)<(0|b))}if((0|d)<=0){s=54;break}for(s=0,n=0|i[(u=l)>>2],u=0|i[u+4>>2];;)if(n=0|Ft(n,u),u=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=u,(0|(s=s+1|0))==(0|d)){s=54;break e}}if(7==(0|(c=0|z(a,f)))&&P(22925,22949,393,23134),n=0|i[(s=l)>>2],s=0|i[s+4>>2],(0|d)>0){u=0;do{n=0|Ft(n,s),s=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=s,u=u+1|0}while((0|u)!=(0|d))}if(n=0|jt(n,s),y=0|F(a),(0|(n=0|i[(y?21824:21616)+(28*c|0)+(n<<2)>>2]))<=-1&&P(23030,22949,412,23134),n){s=0,u=0|i[(c=l)>>2],c=0|i[c+4>>2];do{u=0|Rt(u,c),c=0|w(),i[(y=l)>>2]=u,i[y+4>>2]=c,s=s+1|0}while((0|s)<(0|n));s=54}else s=54}else if(0!=(0|r)&0!=(0|h))if(s=21408+(28*(y=0|jt(t,e))|0)+((0|jt(0|i[(s=l)>>2],0|i[s+4>>2]))<<2)|0,(0|(s=0|i[s>>2]))<=-1&&P(23201,22949,433,23134),s){a=0,n=0|i[(u=l)>>2],u=0|i[u+4>>2];do{n=0|Ft(n,u),u=0|w(),i[(y=l)>>2]=n,i[y+4>>2]=u,a=a+1|0}while((0|a)<(0|s));a=c,s=54}else a=c,s=55;else a=c,s=54}while(0);if(54==(0|s)&&h&&(s=55),55==(0|s)&&1==(0|jt(0|i[(y=l)>>2],0|i[y+4>>2]))){a=4;break}g=0|i[(y=l)>>2],y=-1040385&i[y+4>>2],_=0|Pe(0|a,0,45),y=0|y|w(),i[(a=l)>>2]=g|_,i[a+4>>2]=y,a=0}else a=2}while(0);return D=o,0|a}function ee(t,e){var n=0;if(!(e|=0))return 1;n=t|=0,t=1;do{t=0|y(0==(1&e|0)?1:n,t),e>>=1,n=0|y(n,n)}while(0!=(0|e));return 0|t}function ne(t,e,n){t|=0;var l,o,a,s=0,u=0,c=0,d=0,h=0,p=0,f=0;if(!(0|H(e|=0,n|=0)))return 0;if(e=0|G(e),o=+r[n>>3],s=e&(s=+r[n+8>>3])<0?s+6.283185307179586:s,(0|(a=0|i[t>>2]))<=0)return 0;if(l=0|i[t+4>>2],e){e=0,n=-1,t=0;t:for(;;){for(f=t;p=+r[l+(f<<4)+8>>3],u=+r[l+((t=(n+2|0)%(0|a)|0)<<4)+8>>3],(d=+r[l+(f<<4)>>3])>(c=+r[l+(t<<4)>>3])?(h=d,d=p):(h=c,c=d,d=u,u=p),o<c|o>h;){if(!((0|(n=f+1|0))<(0|a))){n=22;break t}t=f,f=n,n=t}if(s=(d=d<0?d+6.283185307179586:d)==s|(p=u<0?u+6.283185307179586:u)==s?s+-2220446049250313e-31:s,((p+=(o-c)/(h-c)*(d-p))<0?p+6.283185307179586:p)>s&&(e^=1),(0|(t=f+1|0))>=(0|a)){n=22;break}n=f}if(22==(0|n))return 0|e}else{e=0,n=-1,t=0;t:for(;;){for(f=t;p=+r[l+(f<<4)+8>>3],u=+r[l+((t=(n+2|0)%(0|a)|0)<<4)+8>>3],(d=+r[l+(f<<4)>>3])>(c=+r[l+(t<<4)>>3])?(h=d,d=p):(h=c,c=d,d=u,u=p),o<c|o>h;){if(!((0|(n=f+1|0))<(0|a))){n=22;break t}t=f,f=n,n=t}if(u+(o-c)/(h-c)*(d-u)>(s=d==s|u==s?s+-2220446049250313e-31:s)&&(e^=1),(0|(t=f+1|0))>=(0|a)){n=22;break}n=f}if(22==(0|n))return 0|e}return 0}function le(t,e){e|=0;var n,l,o,a,u,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0;if(!(l=0|i[(t|=0)>>2]))return i[e>>2]=0,i[e+4>>2]=0,i[e+8>>2]=0,i[e+12>>2]=0,i[e+16>>2]=0,i[e+20>>2]=0,i[e+24>>2]=0,void(i[e+28>>2]=0);if(r[(o=e+8|0)>>3]=17976931348623157e292,r[(a=e+24|0)>>3]=17976931348623157e292,r[e>>3]=-17976931348623157e292,r[(u=e+16|0)>>3]=-17976931348623157e292,!((0|l)<=0)){for(n=0|i[t+4>>2],g=17976931348623157e292,_=-17976931348623157e292,y=0,t=-1,p=17976931348623157e292,f=17976931348623157e292,m=-17976931348623157e292,d=-17976931348623157e292,A=0;b=+r[n+(A<<4)+8>>3],h=+r[n+(((0|(t=t+2|0))==(0|l)?0:t)<<4)+8>>3],(c=+r[n+(A<<4)>>3])<p&&(r[o>>3]=c,p=c),b<f&&(r[a>>3]=b,f=b),c>m?r[e>>3]=c:c=m,b>d&&(r[u>>3]=b,d=b),g=b>0&b<g?b:g,_=b<0&b>_?b:_,y|=+s(+(b-h))>3.141592653589793,(0|(t=A+1|0))!=(0|l);)v=A,m=c,A=t,t=v;y&&(r[u>>3]=_,r[a>>3]=g)}}function ie(t,e){e|=0;var n,l=0,o=0,a=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,w=0,P=0,x=0,S=0;if(_=0|i[(t|=0)>>2]){if(r[(y=e+8|0)>>3]=17976931348623157e292,r[(A=e+24|0)>>3]=17976931348623157e292,r[e>>3]=-17976931348623157e292,r[(v=e+16|0)>>3]=-17976931348623157e292,(0|_)>0){for(a=0|i[t+4>>2],m=17976931348623157e292,g=-17976931348623157e292,o=0,l=-1,h=17976931348623157e292,p=17976931348623157e292,b=-17976931348623157e292,c=-17976931348623157e292,C=0;f=+r[a+(C<<4)+8>>3],d=+r[a+(((0|(x=l+2|0))==(0|_)?0:x)<<4)+8>>3],(u=+r[a+(C<<4)>>3])<h&&(r[y>>3]=u,h=u),f<p&&(r[A>>3]=f,p=f),u>b?r[e>>3]=u:u=b,f>c&&(r[v>>3]=f,c=f),m=f>0&f<m?f:m,g=f<0&f>g?f:g,o|=+s(+(f-d))>3.141592653589793,(0|(l=C+1|0))!=(0|_);)x=C,b=u,C=l,l=x;o&&(r[v>>3]=g,r[A>>3]=m)}}else i[e>>2]=0,i[e+4>>2]=0,i[e+8>>2]=0,i[e+12>>2]=0,i[e+16>>2]=0,i[e+20>>2]=0,i[e+24>>2]=0,i[e+28>>2]=0;if(!((0|(l=0|i[(x=t+8|0)>>2]))<=0)){n=t+12|0,P=0;do{if(o=P,A=e+((P=P+1|0)<<5)|0,v=0|i[(a=0|i[n>>2])+(o<<3)>>2]){if(r[(C=e+(P<<5)+8|0)>>3]=17976931348623157e292,r[(t=e+(P<<5)+24|0)>>3]=17976931348623157e292,r[A>>3]=-17976931348623157e292,r[(w=e+(P<<5)+16|0)>>3]=-17976931348623157e292,(0|v)>0){for(_=0|i[a+(o<<3)+4>>2],m=17976931348623157e292,g=-17976931348623157e292,a=0,o=-1,y=0,h=17976931348623157e292,p=17976931348623157e292,f=-17976931348623157e292,c=-17976931348623157e292;b=+r[_+(y<<4)+8>>3],d=+r[_+(((0|(o=o+2|0))==(0|v)?0:o)<<4)+8>>3],(u=+r[_+(y<<4)>>3])<h&&(r[C>>3]=u,h=u),b<p&&(r[t>>3]=b,p=b),u>f?r[A>>3]=u:u=f,b>c&&(r[w>>3]=b,c=b),m=b>0&b<m?b:m,g=b<0&b>g?b:g,a|=+s(+(b-d))>3.141592653589793,(0|(o=y+1|0))!=(0|v);)S=y,y=o,f=u,o=S;a&&(r[w>>3]=g,r[t>>3]=m)}}else i[A>>2]=0,i[A+4>>2]=0,i[A+8>>2]=0,i[A+12>>2]=0,i[A+16>>2]=0,i[A+20>>2]=0,i[A+24>>2]=0,i[A+28>>2]=0,l=0|i[x>>2]}while((0|P)<(0|l))}}function re(t,e,n){var l,r=0;if(!(0|ne(t|=0,e|=0,n|=0)))return 0;if((0|i[(l=t+8|0)>>2])<=0)return 1;for(r=t+12|0,t=0;;){if(0|ne((0|i[r>>2])+(t<<3)|0,e+((t=t+1|0)<<5)|0,n)){t=0,r=6;break}if((0|t)>=(0|i[l>>2])){t=1,r=6;break}}return 6==(0|r)?0|t:0}function oe(t,e,n,l,i){var o,a,s,u,c,d,h,p=0;r[(i|=0)>>3]=(u=+r[(t|=0)>>3])+(s=+r[(e|=0)>>3]-u)*(p=((p=+r[(l|=0)>>3]-(d=+r[(n|=0)>>3]))*((a=+r[t+8>>3])-(h=+r[n+8>>3]))-(u-d)*(c=+r[l+8>>3]-h))/(s*c-(o=+r[e+8>>3]-a)*p)),r[i+8>>3]=a+o*p}function ae(t,e){return+r[(t|=0)>>3]!=+r[(e|=0)>>3]?0|(e=0):0|(e=+r[t+8>>3]==+r[e+8>>3])}function se(t,e){var n,l,i;return+((i=+r[(t|=0)>>3]-+r[(e|=0)>>3])*i+(l=+r[t+8>>3]-+r[e+8>>3])*l+(n=+r[t+16>>3]-+r[e+16>>3])*n)}function ue(t,e,n){t|=0,n|=0;var l=0;(0|(e|=0))>0?(l=0|ye(e,4),i[t>>2]=l,l||P(23230,23253,40,23267)):i[t>>2]=0,i[t+4>>2]=e,i[t+8>>2]=0,i[t+12>>2]=n}function ce(t){var e,n,l,o=0,a=0,u=0,d=0;e=4+(t|=0)|0,n=t+12|0,l=t+8|0;t:for(;;){for(a=0|i[e>>2],o=0;;){if((0|o)>=(0|a))break t;if(d=0|i[(u=0|i[t>>2])+(o<<2)>>2])break;o=o+1|0}o=u+(~~(+s(+ +c(10,+ +(15-(0|i[n>>2])|0))*(+r[d>>3]+ +r[d+8>>3]))%+(0|a))>>>0<<2)|0,a=0|i[o>>2];e:do{if(0|a){if(u=d+32|0,(0|a)==(0|d))i[o>>2]=i[u>>2];else{if(!(o=0|i[(a=a+32|0)>>2]))break;for(;(0|o)!=(0|d);)if(!(o=0|i[(a=o+32|0)>>2]))break e;i[a>>2]=i[u>>2]}_e(d),i[l>>2]=(0|i[l>>2])-1}}while(0)}_e(0|i[t>>2])}function de(t){var e,n=0,l=0;for(e=0|i[4+(t|=0)>>2],l=0;;){if((0|l)>=(0|e)){n=0,l=4;break}if(n=0|i[(0|i[t>>2])+(l<<2)>>2]){l=4;break}l=l+1|0}return 4==(0|l)?0|n:0}function he(t,e){e|=0;var n=0,l=0,o=0,a=0;if(n=~~(+s(+ +c(10,+ +(15-(0|i[12+(t|=0)>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,!(l=0|i[(n=(0|i[t>>2])+(n<<2)|0)>>2]))return 1;a=e+32|0;do{if((0|l)!=(0|e)){if(!(n=0|i[l+32>>2]))return 1;for(o=n;;){if((0|o)==(0|e)){o=8;break}if(!(n=0|i[o+32>>2])){n=1,o=10;break}l=o,o=n}if(8==(0|o)){i[l+32>>2]=i[a>>2];break}if(10==(0|o))return 0|n}else i[n>>2]=i[a>>2]}while(0);return _e(e),i[(a=t+8|0)>>2]=(0|i[a>>2])-1,0}function pe(t,e,n){t|=0,e|=0,n|=0;var l,o=0,a=0,u=0;(l=0|ge(40))||P(23283,23253,98,23296),i[l>>2]=i[e>>2],i[l+4>>2]=i[e+4>>2],i[l+8>>2]=i[e+8>>2],i[l+12>>2]=i[e+12>>2],i[(a=l+16|0)>>2]=i[n>>2],i[a+4>>2]=i[n+4>>2],i[a+8>>2]=i[n+8>>2],i[a+12>>2]=i[n+12>>2],i[l+32>>2]=0,a=~~(+s(+ +c(10,+ +(15-(0|i[t+12>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,o=0|i[(a=(0|i[t>>2])+(a<<2)|0)>>2];do{if(o){for(;!(0|kt(o,e)&&0|kt(o+16|0,n));)if(!(0|i[(o=0==(0|(a=0|i[o+32>>2]))?o:a)+32>>2])){u=10;break}if(10==(0|u)){i[o+32>>2]=l;break}return _e(l),0|o}i[a>>2]=l}while(0);return i[(u=t+8|0)>>2]=1+(0|i[u>>2]),0|l}function fe(t,e,n){e|=0,n|=0;var l=0,o=0;if(o=~~(+s(+ +c(10,+ +(15-(0|i[12+(t|=0)>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,!(o=0|i[(0|i[t>>2])+(o<<2)>>2]))return 0;if(!n){for(t=o;;){if(0|kt(t,e)){l=10;break}if(!(t=0|i[t+32>>2])){t=0,l=10;break}}if(10==(0|l))return 0|t}for(t=o;;){if(0|kt(t,e)&&0|kt(t+16|0,n)){l=10;break}if(!(t=0|i[t+32>>2])){t=0,l=10;break}}return 10==(0|l)?0|t:0}function be(t,e){e|=0;var n;if(n=~~(+s(+ +c(10,+ +(15-(0|i[12+(t|=0)>>2])|0))*(+r[e>>3]+ +r[e+8>>3]))%+(0|i[t+4>>2]))>>>0,!(t=0|i[(0|i[t>>2])+(n<<2)>>2]))return 0;for(;;){if(0|kt(t,e)){e=5;break}if(!(t=0|i[t+32>>2])){t=0,e=5;break}}return 5==(0|e)?0|t:0}function me(t){return 0|~~+function(t){return+ +Oe(+(t=+t))}(t=+t)}function ge(t){t|=0;var e,n=0,l=0,r=0,o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0;e=D,D=D+16|0,f=e;do{if(t>>>0<245){if(3&(l=(p=0|i[5829])>>>(t=(d=t>>>0<11?16:t+11&-8)>>>3))|0)return(0|(a=0|i[(o=8+(r=0|i[(l=8+(t=23356+((n=(1&l^1)+t|0)<<1<<2)|0)|0)>>2])|0)>>2]))==(0|t)?i[5829]=p&~(1<<n):(i[a+12>>2]=t,i[l>>2]=a),i[r+4>>2]=3|(C=n<<3),i[(C=r+C+4|0)>>2]=1|i[C>>2],D=e,0|o;if(d>>>0>(h=0|i[5831])>>>0){if(0|l)return n=((n=l<<t&((n=2<<t)|0-n))&0-n)-1|0,(0|(l=0|i[(u=8+(a=0|i[(t=8+(n=23356+((r=((l=(n>>>=u=n>>>12&16)>>>5&8)|u|(a=(n>>>=l)>>>2&4)|(t=(n>>>=a)>>>1&2)|(r=(n>>>=t)>>>1&1))+(n>>>r)|0)<<1<<2)|0)|0)>>2])|0)>>2]))==(0|n)?i[5829]=t=p&~(1<<r):(i[l+12>>2]=n,i[t>>2]=l,t=p),s=(C=r<<3)-d|0,i[a+4>>2]=3|d,i[4+(o=a+d|0)>>2]=1|s,i[a+C>>2]=s,0|h&&(r=0|i[5834],l=23356+((n=h>>>3)<<1<<2)|0,t&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=r,i[n+12>>2]=r,i[r+8>>2]=n,i[r+12>>2]=l),i[5831]=s,i[5834]=o,D=e,0|u;if(a=0|i[5830]){for(l=(a&0-a)-1|0,l=c=0|i[23620+(((r=(l>>>=o=l>>>12&16)>>>5&8)|o|(s=(l>>>=r)>>>2&4)|(u=(l>>>=s)>>>1&2)|(c=(l>>>=u)>>>1&1))+(l>>>c)<<2)>>2],u=c,c=(-8&i[c+4>>2])-d|0;(t=0|i[l+16>>2])||(t=0|i[l+20>>2]);)l=t,u=(o=(s=(-8&i[t+4>>2])-d|0)>>>0<c>>>0)?t:u,c=o?s:c;if((s=u+d|0)>>>0>u>>>0){o=0|i[u+24>>2],n=0|i[u+12>>2];do{if((0|n)==(0|u)){if(!(n=0|i[(t=u+20|0)>>2])&&!(n=0|i[(t=u+16|0)>>2])){l=0;break}for(;;)if(l=0|i[(r=n+20|0)>>2])n=l,t=r;else{if(!(l=0|i[(r=n+16|0)>>2]))break;n=l,t=r}i[t>>2]=0,l=n}else i[12+(l=0|i[u+8>>2])>>2]=n,i[n+8>>2]=l,l=n}while(0);do{if(0|o){if((0|u)==(0|i[(t=23620+((n=0|i[u+28>>2])<<2)|0)>>2])){if(i[t>>2]=l,!l){i[5830]=a&~(1<<n);break}}else if(i[((0|i[(C=o+16|0)>>2])==(0|u)?C:o+20|0)>>2]=l,!l)break;i[l+24>>2]=o,0|(n=0|i[u+16>>2])&&(i[l+16>>2]=n,i[n+24>>2]=l),0|(n=0|i[u+20>>2])&&(i[l+20>>2]=n,i[n+24>>2]=l)}}while(0);return c>>>0<16?(i[u+4>>2]=3|(C=c+d|0),i[(C=u+C+4|0)>>2]=1|i[C>>2]):(i[u+4>>2]=3|d,i[s+4>>2]=1|c,i[s+c>>2]=c,0|h&&(r=0|i[5834],l=23356+((n=h>>>3)<<1<<2)|0,(n=1<<n)&p?n=0|i[(t=l+8|0)>>2]:(i[5829]=n|p,n=l,t=l+8|0),i[t>>2]=r,i[n+12>>2]=r,i[r+8>>2]=n,i[r+12>>2]=l),i[5831]=c,i[5834]=s),D=e,0|u+8}p=d}else p=d}else p=d}else if(t>>>0<=4294967231)if(d=-8&(t=t+11|0),r=0|i[5830]){o=0-d|0,c=(t>>>=8)?d>>>0>16777215?31:d>>>(7+(c=14-((u=(520192+(g=t<<(p=(t+1048320|0)>>>16&8))|0)>>>16&4)|p|(c=(245760+(g<<=u)|0)>>>16&2))+(g<<c>>>15)|0)|0)&1|c<<1:0,l=0|i[23620+(c<<2)>>2];t:do{if(l)for(t=0,u=d<<(31==(0|c)?0:25-(c>>>1)|0),a=0;;){if((s=(-8&i[l+4>>2])-d|0)>>>0<o>>>0){if(!s){t=l,o=0,g=65;break t}t=l,o=s}if(a=0==(0|(g=0|i[l+20>>2]))|(0|g)==(0|(l=0|i[l+16+(u>>>31<<2)>>2]))?a:g,!l){l=a,g=61;break}u<<=1}else l=0,t=0,g=61}while(0);if(61==(0|g)){if(0==(0|l)&0==(0|t)){if(!(t=((t=2<<c)|0-t)&r)){p=d;break}p=(t&0-t)-1|0,t=0,l=0|i[23620+(((a=(p>>>=s=p>>>12&16)>>>5&8)|s|(u=(p>>>=a)>>>2&4)|(c=(p>>>=u)>>>1&2)|(l=(p>>>=c)>>>1&1))+(p>>>l)<<2)>>2]}l?g=65:(u=t,s=o)}if(65==(0|g))for(a=l;;){if(o=(l=(p=(-8&i[a+4>>2])-d|0)>>>0<o>>>0)?p:o,t=l?a:t,(l=0|i[a+16>>2])||(l=0|i[a+20>>2]),!l){u=t,s=o;break}a=l}if(0!=(0|u)&&s>>>0<((0|i[5831])-d|0)>>>0&&(h=u+d|0)>>>0>u>>>0){a=0|i[u+24>>2],n=0|i[u+12>>2];do{if((0|n)==(0|u)){if(!(n=0|i[(t=u+20|0)>>2])&&!(n=0|i[(t=u+16|0)>>2])){n=0;break}for(;;)if(l=0|i[(o=n+20|0)>>2])n=l,t=o;else{if(!(l=0|i[(o=n+16|0)>>2]))break;n=l,t=o}i[t>>2]=0}else i[12+(C=0|i[u+8>>2])>>2]=n,i[n+8>>2]=C}while(0);do{if(a){if((0|u)==(0|i[(l=23620+((t=0|i[u+28>>2])<<2)|0)>>2])){if(i[l>>2]=n,!n){i[5830]=r&=~(1<<t);break}}else if(i[((0|i[(C=a+16|0)>>2])==(0|u)?C:a+20|0)>>2]=n,!n)break;i[n+24>>2]=a,0|(t=0|i[u+16>>2])&&(i[n+16>>2]=t,i[t+24>>2]=n),(t=0|i[u+20>>2])&&(i[n+20>>2]=t,i[t+24>>2]=n)}}while(0);t:do{if(s>>>0<16)i[u+4>>2]=3|(C=s+d|0),i[(C=u+C+4|0)>>2]=1|i[C>>2];else{if(i[u+4>>2]=3|d,i[h+4>>2]=1|s,i[h+s>>2]=s,n=s>>>3,s>>>0<256){l=23356+(n<<1<<2)|0,(t=0|i[5829])&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=h,i[n+12>>2]=h,i[h+8>>2]=n,i[h+12>>2]=l;break}if(n=23620+((l=(n=s>>>8)?s>>>0>16777215?31:s>>>(7+(l=14-((A=(520192+(C=n<<(v=(n+1048320|0)>>>16&8))|0)>>>16&4)|v|(l=(245760+(C<<=A)|0)>>>16&2))+(C<<l>>>15)|0)|0)&1|l<<1:0)<<2)|0,i[h+28>>2]=l,i[4+(t=h+16|0)>>2]=0,i[t>>2]=0,!(r&(t=1<<l))){i[5830]=r|t,i[n>>2]=h,i[h+24>>2]=n,i[h+12>>2]=h,i[h+8>>2]=h;break}n=0|i[n>>2];e:do{if((-8&i[n+4>>2]|0)!=(0|s)){for(r=s<<(31==(0|l)?0:25-(l>>>1)|0);t=0|i[(l=n+16+(r>>>31<<2)|0)>>2];){if((-8&i[t+4>>2]|0)==(0|s)){n=t;break e}r<<=1,n=t}i[l>>2]=h,i[h+24>>2]=n,i[h+12>>2]=h,i[h+8>>2]=h;break t}}while(0);i[12+(C=0|i[(v=n+8|0)>>2])>>2]=h,i[v>>2]=h,i[h+8>>2]=C,i[h+12>>2]=n,i[h+24>>2]=0}}while(0);return D=e,0|u+8}p=d}else p=d;else p=-1}while(0);if((l=0|i[5831])>>>0>=p>>>0)return t=0|i[5834],(n=l-p|0)>>>0>15?(i[5834]=C=t+p|0,i[5831]=n,i[C+4>>2]=1|n,i[t+l>>2]=n,i[t+4>>2]=3|p):(i[5831]=0,i[5834]=0,i[t+4>>2]=3|l,i[(C=t+l+4|0)>>2]=1|i[C>>2]),D=e,0|t+8;if((s=0|i[5832])>>>0>p>>>0)return i[5832]=A=s-p|0,i[5835]=v=(C=0|i[5835])+p|0,i[v+4>>2]=1|A,i[C+4>>2]=3|p,D=e,0|C+8;if(0|i[5947]?t=0|i[5949]:(i[5949]=4096,i[5948]=4096,i[5950]=-1,i[5951]=-1,i[5952]=0,i[5940]=0,i[5947]=-16&f^1431655768,t=4096),u=p+48|0,(d=(a=t+(c=p+47|0)|0)&(o=0-t|0))>>>0<=p>>>0)return D=e,0;if(0|(t=0|i[5939])&&(f=(h=0|i[5937])+d|0)>>>0<=h>>>0|f>>>0>t>>>0)return D=e,0;t:do{if(4&i[5940])n=0,g=143;else{l=0|i[5835];e:do{if(l){for(r=23764;!((f=0|i[r>>2])>>>0<=l>>>0&&(f+(0|i[r+4>>2])|0)>>>0>l>>>0);){if(!(t=0|i[r+8>>2])){g=128;break e}r=t}if((n=a-s&o)>>>0<2147483647)if((0|(t=0|De(0|n)))==((0|i[r>>2])+(0|i[r+4>>2])|0)){if(-1!=(0|t)){s=n,a=t,g=145;break t}}else r=t,g=136;else n=0}else g=128}while(0);do{if(128==(0|g))if(-1!=(0|(l=0|De(0)))&&(m=(n=(0==((m=(b=0|i[5948])-1|0)&(n=l)|0)?0:(m+n&0-b)-n|0)+d|0)+(b=0|i[5937])|0,n>>>0>p>>>0&n>>>0<2147483647)){if(0|(f=0|i[5939])&&m>>>0<=b>>>0|m>>>0>f>>>0){n=0;break}if((0|(t=0|De(0|n)))==(0|l)){s=n,a=l,g=145;break t}r=t,g=136}else n=0}while(0);do{if(136==(0|g)){if(l=0-n|0,!(u>>>0>n>>>0&n>>>0<2147483647&-1!=(0|r))){if(-1==(0|r)){n=0;break}s=n,a=r,g=145;break t}if((t=c-n+(t=0|i[5949])&0-t)>>>0>=2147483647){s=n,a=r,g=145;break t}if(-1==(0|De(0|t))){De(0|l),n=0;break}s=t+n|0,a=r,g=145;break t}}while(0);i[5940]=4|i[5940],g=143}}while(0);if(143==(0|g)&&d>>>0<2147483647&&!(-1==(0|(A=0|De(0|d)))|1^(y=(_=(m=0|De(0))-A|0)>>>0>(p+40|0)>>>0)|A>>>0<m>>>0&-1!=(0|A)&-1!=(0|m)^1)&&(s=y?_:n,a=A,g=145),145==(0|g)){i[5937]=n=(0|i[5937])+s|0,n>>>0>(0|i[5938])>>>0&&(i[5938]=n),c=0|i[5835];t:do{if(c){for(n=23764;;){if((0|a)==((t=0|i[n>>2])+(l=0|i[n+4>>2])|0)){g=154;break}if(!(r=0|i[n+8>>2]))break;n=r}if(154==(0|g)&&(v=n+4|0,0==(8&i[n+12>>2]|0))&&a>>>0>c>>>0&t>>>0<=c>>>0){i[v>>2]=l+s,v=c+(A=0==(7&(A=c+8|0)|0)?0:0-A&7)|0,A=(C=(0|i[5832])+s|0)-A|0,i[5835]=v,i[5832]=A,i[v+4>>2]=1|A,i[c+C+4>>2]=40,i[5836]=i[5951];break}for(a>>>0<(0|i[5833])>>>0&&(i[5833]=a),l=a+s|0,n=23764;;){if((0|i[n>>2])==(0|l)){g=162;break}if(!(t=0|i[n+8>>2]))break;n=t}if(162==(0|g)&&0==(8&i[n+12>>2]|0)){i[n>>2]=a,i[(h=n+4|0)>>2]=(0|i[h>>2])+s,d=(h=a+(0==(7&(h=a+8|0)|0)?0:0-h&7)|0)+p|0,u=(n=l+(0==(7&(n=l+8|0)|0)?0:0-n&7)|0)-h-p|0,i[h+4>>2]=3|p;e:do{if((0|c)==(0|n))i[5832]=C=(0|i[5832])+u|0,i[5835]=d,i[d+4>>2]=1|C;else{if((0|i[5834])==(0|n)){i[5831]=C=(0|i[5831])+u|0,i[5834]=d,i[d+4>>2]=1|C,i[d+C>>2]=C;break}if(1==(3&(t=0|i[n+4>>2])|0)){s=-8&t,r=t>>>3;n:do{if(t>>>0<256){if((0|(l=0|i[n+12>>2]))==(0|(t=0|i[n+8>>2]))){i[5829]=i[5829]&~(1<<r);break}i[t+12>>2]=l,i[l+8>>2]=t;break}a=0|i[n+24>>2],t=0|i[n+12>>2];do{if((0|t)==(0|n)){if(t=0|i[(r=4+(l=n+16|0)|0)>>2])l=r;else if(!(t=0|i[l>>2])){t=0;break}for(;;)if(r=0|i[(o=t+20|0)>>2])t=r,l=o;else{if(!(r=0|i[(o=t+16|0)>>2]))break;t=r,l=o}i[l>>2]=0}else i[12+(C=0|i[n+8>>2])>>2]=t,i[t+8>>2]=C}while(0);if(!a)break;r=23620+((l=0|i[n+28>>2])<<2)|0;do{if((0|i[r>>2])==(0|n)){if(i[r>>2]=t,0|t)break;i[5830]=i[5830]&~(1<<l);break n}if(i[((0|i[(C=a+16|0)>>2])==(0|n)?C:a+20|0)>>2]=t,!t)break n}while(0);if(i[t+24>>2]=a,0|(r=0|i[(l=n+16|0)>>2])&&(i[t+16>>2]=r,i[r+24>>2]=t),!(l=0|i[l+4>>2]))break;i[t+20>>2]=l,i[l+24>>2]=t}while(0);n=n+s|0,o=s+u|0}else o=u;if(i[(n=n+4|0)>>2]=-2&i[n>>2],i[d+4>>2]=1|o,i[d+o>>2]=o,n=o>>>3,o>>>0<256){l=23356+(n<<1<<2)|0,(t=0|i[5829])&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=d,i[n+12>>2]=d,i[d+8>>2]=n,i[d+12>>2]=l;break}n=o>>>8;do{if(n){if(o>>>0>16777215){r=31;break}r=o>>>(7+(r=14-((A=(520192+(C=n<<(v=(n+1048320|0)>>>16&8))|0)>>>16&4)|v|(r=(245760+(C<<=A)|0)>>>16&2))+(C<<r>>>15)|0)|0)&1|r<<1}else r=0}while(0);if(n=23620+(r<<2)|0,i[d+28>>2]=r,i[4+(t=d+16|0)>>2]=0,i[t>>2]=0,!((t=0|i[5830])&(l=1<<r))){i[5830]=t|l,i[n>>2]=d,i[d+24>>2]=n,i[d+12>>2]=d,i[d+8>>2]=d;break}n=0|i[n>>2];n:do{if((-8&i[n+4>>2]|0)!=(0|o)){for(r=o<<(31==(0|r)?0:25-(r>>>1)|0);t=0|i[(l=n+16+(r>>>31<<2)|0)>>2];){if((-8&i[t+4>>2]|0)==(0|o)){n=t;break n}r<<=1,n=t}i[l>>2]=d,i[d+24>>2]=n,i[d+12>>2]=d,i[d+8>>2]=d;break e}}while(0);i[12+(C=0|i[(v=n+8|0)>>2])>>2]=d,i[v>>2]=d,i[d+8>>2]=C,i[d+12>>2]=n,i[d+24>>2]=0}}while(0);return D=e,0|h+8}for(n=23764;!((t=0|i[n>>2])>>>0<=c>>>0&&(C=t+(0|i[n+4>>2])|0)>>>0>c>>>0);)n=0|i[n+8>>2];n=(t=(t=(o=C+-47|0)+(0==(7&(t=o+8|0)|0)?0:0-t&7)|0)>>>0<(o=c+16|0)>>>0?c:t)+8|0,v=a+(A=0==(7&(A=a+8|0)|0)?0:0-A&7)|0,A=(l=s+-40|0)-A|0,i[5835]=v,i[5832]=A,i[v+4>>2]=1|A,i[a+l+4>>2]=40,i[5836]=i[5951],i[(l=t+4|0)>>2]=27,i[n>>2]=i[5941],i[n+4>>2]=i[5942],i[n+8>>2]=i[5943],i[n+12>>2]=i[5944],i[5941]=a,i[5942]=s,i[5944]=0,i[5943]=n,n=t+24|0;do{v=n,i[(n=n+4|0)>>2]=7}while((v+8|0)>>>0<C>>>0);if((0|t)!=(0|c)){if(a=t-c|0,i[l>>2]=-2&i[l>>2],i[c+4>>2]=1|a,i[t>>2]=a,n=a>>>3,a>>>0<256){l=23356+(n<<1<<2)|0,(t=0|i[5829])&(n=1<<n)?n=0|i[(t=l+8|0)>>2]:(i[5829]=t|n,n=l,t=l+8|0),i[t>>2]=c,i[n+12>>2]=c,i[c+8>>2]=n,i[c+12>>2]=l;break}if(l=23620+((r=(n=a>>>8)?a>>>0>16777215?31:a>>>(7+(r=14-((A=(520192+(C=n<<(v=(n+1048320|0)>>>16&8))|0)>>>16&4)|v|(r=(245760+(C<<=A)|0)>>>16&2))+(C<<r>>>15)|0)|0)&1|r<<1:0)<<2)|0,i[c+28>>2]=r,i[c+20>>2]=0,i[o>>2]=0,!((n=0|i[5830])&(t=1<<r))){i[5830]=n|t,i[l>>2]=c,i[c+24>>2]=l,i[c+12>>2]=c,i[c+8>>2]=c;break}n=0|i[l>>2];e:do{if((-8&i[n+4>>2]|0)!=(0|a)){for(r=a<<(31==(0|r)?0:25-(r>>>1)|0);t=0|i[(l=n+16+(r>>>31<<2)|0)>>2];){if((-8&i[t+4>>2]|0)==(0|a)){n=t;break e}r<<=1,n=t}i[l>>2]=c,i[c+24>>2]=n,i[c+12>>2]=c,i[c+8>>2]=c;break t}}while(0);i[12+(C=0|i[(v=n+8|0)>>2])>>2]=c,i[v>>2]=c,i[c+8>>2]=C,i[c+12>>2]=n,i[c+24>>2]=0}}else 0==(0|(C=0|i[5833]))|a>>>0<C>>>0&&(i[5833]=a),i[5941]=a,i[5942]=s,i[5944]=0,i[5838]=i[5947],i[5837]=-1,i[5842]=23356,i[5841]=23356,i[5844]=23364,i[5843]=23364,i[5846]=23372,i[5845]=23372,i[5848]=23380,i[5847]=23380,i[5850]=23388,i[5849]=23388,i[5852]=23396,i[5851]=23396,i[5854]=23404,i[5853]=23404,i[5856]=23412,i[5855]=23412,i[5858]=23420,i[5857]=23420,i[5860]=23428,i[5859]=23428,i[5862]=23436,i[5861]=23436,i[5864]=23444,i[5863]=23444,i[5866]=23452,i[5865]=23452,i[5868]=23460,i[5867]=23460,i[5870]=23468,i[5869]=23468,i[5872]=23476,i[5871]=23476,i[5874]=23484,i[5873]=23484,i[5876]=23492,i[5875]=23492,i[5878]=23500,i[5877]=23500,i[5880]=23508,i[5879]=23508,i[5882]=23516,i[5881]=23516,i[5884]=23524,i[5883]=23524,i[5886]=23532,i[5885]=23532,i[5888]=23540,i[5887]=23540,i[5890]=23548,i[5889]=23548,i[5892]=23556,i[5891]=23556,i[5894]=23564,i[5893]=23564,i[5896]=23572,i[5895]=23572,i[5898]=23580,i[5897]=23580,i[5900]=23588,i[5899]=23588,i[5902]=23596,i[5901]=23596,i[5904]=23604,i[5903]=23604,v=a+(A=0==(7&(A=a+8|0)|0)?0:0-A&7)|0,A=(C=s+-40|0)-A|0,i[5835]=v,i[5832]=A,i[v+4>>2]=1|A,i[a+C+4>>2]=40,i[5836]=i[5951]}while(0);if((n=0|i[5832])>>>0>p>>>0)return i[5832]=A=n-p|0,i[5835]=v=(C=0|i[5835])+p|0,i[v+4>>2]=1|A,i[C+4>>2]=3|p,D=e,0|C+8}return i[(C=23312)>>2]=12,D=e,0}function _e(t){var e=0,n=0,l=0,r=0,o=0,a=0,s=0,u=0;if(t|=0){r=0|i[5833],u=(n=t+-8|0)+(e=-8&(t=0|i[t+-4>>2]))|0;do{if(1&t)s=n,a=n;else{if(!(3&t))return;if(o=(l=0|i[n>>2])+e|0,(a=n+(0-l)|0)>>>0<r>>>0)return;if((0|i[5834])==(0|a)){if(3!=(3&(e=0|i[(t=u+4|0)>>2])|0)){s=a,e=o;break}return i[5831]=o,i[t>>2]=-2&e,i[a+4>>2]=1|o,void(i[a+o>>2]=o)}if(n=l>>>3,l>>>0<256){if((0|(e=0|i[a+12>>2]))==(0|(t=0|i[a+8>>2]))){i[5829]=i[5829]&~(1<<n),s=a,e=o;break}i[t+12>>2]=e,i[e+8>>2]=t,s=a,e=o;break}r=0|i[a+24>>2],t=0|i[a+12>>2];do{if((0|t)==(0|a)){if(t=0|i[(n=4+(e=a+16|0)|0)>>2])e=n;else if(!(t=0|i[e>>2])){t=0;break}for(;;)if(n=0|i[(l=t+20|0)>>2])t=n,e=l;else{if(!(n=0|i[(l=t+16|0)>>2]))break;t=n,e=l}i[e>>2]=0}else i[12+(s=0|i[a+8>>2])>>2]=t,i[t+8>>2]=s}while(0);if(r){if((0|i[(n=23620+((e=0|i[a+28>>2])<<2)|0)>>2])==(0|a)){if(i[n>>2]=t,!t){i[5830]=i[5830]&~(1<<e),s=a,e=o;break}}else if(i[((0|i[(s=r+16|0)>>2])==(0|a)?s:r+20|0)>>2]=t,!t){s=a,e=o;break}i[t+24>>2]=r,0|(n=0|i[(e=a+16|0)>>2])&&(i[t+16>>2]=n,i[n+24>>2]=t),(e=0|i[e+4>>2])?(i[t+20>>2]=e,i[e+24>>2]=t,s=a,e=o):(s=a,e=o)}else s=a,e=o}}while(0);if(!(a>>>0>=u>>>0)&&1&(l=0|i[(t=u+4|0)>>2])){if(2&l)i[t>>2]=-2&l,i[s+4>>2]=1|e,i[a+e>>2]=e,r=e;else{if((0|i[5835])==(0|u)){if(i[5832]=u=(0|i[5832])+e|0,i[5835]=s,i[s+4>>2]=1|u,(0|s)!=(0|i[5834]))return;return i[5834]=0,void(i[5831]=0)}if((0|i[5834])==(0|u))return i[5831]=u=(0|i[5831])+e|0,i[5834]=a,i[s+4>>2]=1|u,void(i[a+u>>2]=u);r=(-8&l)+e|0,n=l>>>3;do{if(l>>>0<256){if((0|(t=0|i[u+12>>2]))==(0|(e=0|i[u+8>>2]))){i[5829]=i[5829]&~(1<<n);break}i[e+12>>2]=t,i[t+8>>2]=e;break}o=0|i[u+24>>2],t=0|i[u+12>>2];do{if((0|t)==(0|u)){if(t=0|i[(n=4+(e=u+16|0)|0)>>2])e=n;else if(!(t=0|i[e>>2])){n=0;break}for(;;)if(n=0|i[(l=t+20|0)>>2])t=n,e=l;else{if(!(n=0|i[(l=t+16|0)>>2]))break;t=n,e=l}i[e>>2]=0,n=t}else i[12+(n=0|i[u+8>>2])>>2]=t,i[t+8>>2]=n,n=t}while(0);if(0|o){if((0|i[(e=23620+((t=0|i[u+28>>2])<<2)|0)>>2])==(0|u)){if(i[e>>2]=n,!n){i[5830]=i[5830]&~(1<<t);break}}else if(i[((0|i[(l=o+16|0)>>2])==(0|u)?l:o+20|0)>>2]=n,!n)break;i[n+24>>2]=o,0|(e=0|i[(t=u+16|0)>>2])&&(i[n+16>>2]=e,i[e+24>>2]=n),0|(t=0|i[t+4>>2])&&(i[n+20>>2]=t,i[t+24>>2]=n)}}while(0);if(i[s+4>>2]=1|r,i[a+r>>2]=r,(0|s)==(0|i[5834]))return void(i[5831]=r)}if(t=r>>>3,r>>>0<256)return n=23356+(t<<1<<2)|0,(e=0|i[5829])&(t=1<<t)?t=0|i[(e=n+8|0)>>2]:(i[5829]=e|t,t=n,e=n+8|0),i[e>>2]=s,i[t+12>>2]=s,i[s+8>>2]=t,void(i[s+12>>2]=n);t=23620+((l=(t=r>>>8)?r>>>0>16777215?31:r>>>(7+(l=14-((o=(520192+(u=t<<(a=(t+1048320|0)>>>16&8))|0)>>>16&4)|a|(l=(245760+(u<<=o)|0)>>>16&2))+(u<<l>>>15)|0)|0)&1|l<<1:0)<<2)|0,i[s+28>>2]=l,i[s+20>>2]=0,i[s+16>>2]=0,e=0|i[5830],n=1<<l;t:do{if(e&n){t=0|i[t>>2];e:do{if((-8&i[t+4>>2]|0)!=(0|r)){for(l=r<<(31==(0|l)?0:25-(l>>>1)|0);e=0|i[(n=t+16+(l>>>31<<2)|0)>>2];){if((-8&i[e+4>>2]|0)==(0|r)){t=e;break e}l<<=1,t=e}i[n>>2]=s,i[s+24>>2]=t,i[s+12>>2]=s,i[s+8>>2]=s;break t}}while(0);i[12+(u=0|i[(a=t+8|0)>>2])>>2]=s,i[a>>2]=s,i[s+8>>2]=u,i[s+12>>2]=t,i[s+24>>2]=0}else i[5830]=e|n,i[t>>2]=s,i[s+24>>2]=t,i[s+12>>2]=s,i[s+8>>2]=s}while(0);if(i[5837]=u=(0|i[5837])-1|0,!(0|u)){for(t=23772;t=0|i[t>>2];)t=t+8|0;i[5837]=-1}}}}function ye(t,e){e|=0;var n=0;return(t|=0)?(n=0|y(e,t),(e|t)>>>0>65535&&(n=(0|(n>>>0)/(t>>>0))==(0|e)?n:-1)):n=0,(t=0|ge(n))&&3&i[t+-4>>2]?(Me(0|t,0,0|n),0|t):0|t}function Ae(t,e,n,l){return 0|(C(0|(l=(e|=0)-(l|=0)-((n|=0)>>>0>(t|=0)>>>0|0)>>>0)),t-n>>>0|0)}function ve(t){return 0|((t|=0)?31-(0|v(t^t-1))|0:32)}function Ce(t,e,n,l){var r,o;return o=D,D=D+16|0,function(t,e,n,l,r){r|=0;var o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0;if(d=t|=0,a=n|=0,s=p=l|=0,!(c=u=e|=0))return o=0!=(0|r),s?o?(i[r>>2]=0|t,i[r+4>>2]=0&e,r=0,0|(C(0|(p=0)),r)):(r=0,0|(C(0|(p=0)),r)):(o&&(i[r>>2]=(d>>>0)%(a>>>0),i[r+4>>2]=0),r=(d>>>0)/(a>>>0)>>>0,0|(C(0|(p=0)),r));o=0==(0|s);do{if(a){if(!o){if((o=(0|v(0|s))-(0|v(0|c))|0)>>>0<=31){a=h=o+1|0,t=d>>>(h>>>0)&(e=o-31>>31)|c<<(s=31-o|0),e&=c>>>(h>>>0),o=0,s=d<<s;break}return r?(i[r>>2]=0|t,i[r+4>>2]=u|0&e,r=0,0|(C(0|(p=0)),r)):(r=0,0|(C(0|(p=0)),r))}if((o=a-1|0)&a|0){a=s=33+(0|v(0|a))-(0|v(0|c))|0,t=(h=32-s|0)-1>>31&c>>>((f=s-32|0)>>>0)|(c<<h|d>>>(s>>>0))&(e=f>>31),e&=c>>>(s>>>0),o=d<<(b=64-s|0)&(u=h>>31),s=(c<<b|d>>>(f>>>0))&u|d<<h&s-33>>31;break}return 0|r&&(i[r>>2]=o&d,i[r+4>>2]=0),1==(0|a)?(b=0|t,0|(C(0|(f=u|0&e)),b)):(f=c>>>((b=0|ve(0|a))>>>0)|0,b=c<<32-b|d>>>(b>>>0)|0,0|(C(0|f),b))}if(o)return 0|r&&(i[r>>2]=(c>>>0)%(a>>>0),i[r+4>>2]=0),b=(c>>>0)/(a>>>0)>>>0,0|(C(0|(f=0)),b);if(!d)return 0|r&&(i[r>>2]=0,i[r+4>>2]=(c>>>0)%(s>>>0)),b=(c>>>0)/(s>>>0)>>>0,0|(C(0|(f=0)),b);if(!((o=s-1|0)&s))return 0|r&&(i[r>>2]=0|t,i[r+4>>2]=o&c|0&e),f=0,b=c>>>((0|ve(0|s))>>>0),0|(C(0|f),b);if((o=(0|v(0|s))-(0|v(0|c))|0)>>>0<=30){a=e=o+1|0,t=c<<(s=31-o|0)|d>>>(e>>>0),e=c>>>(e>>>0),o=0,s=d<<s;break}return r?(i[r>>2]=0|t,i[r+4>>2]=u|0&e,b=0,0|(C(0|(f=0)),b)):(b=0,0|(C(0|(f=0)),b))}while(0);if(a){c=0|function(t,e,n,l){return 0|(C((e|=0)+(l|=0)+((n=(t|=0)+(n|=0)>>>0)>>>0<t>>>0|0)>>>0|0),0|n)}(0|(h=0|n),0|(d=p|0&l),-1,-1),n=0|w(),u=s,s=0;do{l=u,u=o>>>31|u<<1,o=s|o<<1,Ae(0|c,0|n,0|(l=t<<1|l>>>31|0),0|(p=t>>>31|e<<1|0)),s=1&(f=(b=0|w())>>31|((0|b)<0?-1:0)<<1),t=0|Ae(0|l,0|p,f&h|0,(((0|b)<0?-1:0)>>31|((0|b)<0?-1:0)<<1)&d|0),e=0|w(),a=a-1|0}while(0!=(0|a));c=u,u=0}else c=s,u=0,s=0;a=0,0|r&&(i[r>>2]=t,i[r+4>>2]=e),b=-2&(o<<1|0)|s,C(0|(f=(0|o)>>>31|(c|a)<<1|0&(a<<1|o>>>31)|u))}(t|=0,e|=0,n|=0,l|=0,r=0|o),D=o,0|(C(0|i[r+4>>2]),0|i[r>>2])}function we(t,e,n){return t|=0,e|=0,(0|(n|=0))<32?(C(e>>>n|0),t>>>n|(e&(1<<n)-1)<<32-n):(C(0),e>>>n-32|0)}function Pe(t,e,n){return t|=0,(0|(n|=0))<32?(C((e|=0)<<n|(t&(1<<n)-1<<32-n)>>>32-n|0),t<<n):(C(t<<n-32|0),0)}function xe(t,e){return e=+e,(t=+t)!=t?+e:e!=e?+t:+A(+t,+e)}function Se(t){return(t=+t)>=0?+a(t+.5):+_(t-.5)}function ke(t,e,n){t|=0,e|=0;var r,o,a=0;if((0|(n|=0))>=8192)return k(0|t,0|e,0|n),0|t;if(o=0|t,r=t+n|0,(3&t)==(3&e)){for(;3&t;){if(!n)return 0|o;l[t>>0]=0|l[e>>0],t=t+1|0,e=e+1|0,n=n-1|0}for(a=(n=-4&r|0)-64|0;(0|t)<=(0|a);)i[t>>2]=i[e>>2],i[t+4>>2]=i[e+4>>2],i[t+8>>2]=i[e+8>>2],i[t+12>>2]=i[e+12>>2],i[t+16>>2]=i[e+16>>2],i[t+20>>2]=i[e+20>>2],i[t+24>>2]=i[e+24>>2],i[t+28>>2]=i[e+28>>2],i[t+32>>2]=i[e+32>>2],i[t+36>>2]=i[e+36>>2],i[t+40>>2]=i[e+40>>2],i[t+44>>2]=i[e+44>>2],i[t+48>>2]=i[e+48>>2],i[t+52>>2]=i[e+52>>2],i[t+56>>2]=i[e+56>>2],i[t+60>>2]=i[e+60>>2],t=t+64|0,e=e+64|0;for(;(0|t)<(0|n);)i[t>>2]=i[e>>2],t=t+4|0,e=e+4|0}else for(n=r-4|0;(0|t)<(0|n);)l[t>>0]=0|l[e>>0],l[t+1>>0]=0|l[e+1>>0],l[t+2>>0]=0|l[e+2>>0],l[t+3>>0]=0|l[e+3>>0],t=t+4|0,e=e+4|0;for(;(0|t)<(0|r);)l[t>>0]=0|l[e>>0],t=t+1|0,e=e+1|0;return 0|o}function Me(t,e,n){e|=0;var r,o=0,a=0,s=0;if(r=(t|=0)+(n|=0)|0,e&=255,(0|n)>=67){for(;3&t;)l[t>>0]=e,t=t+1|0;for(s=e|e<<8|e<<16|e<<24,a=(o=-4&r|0)-64|0;(0|t)<=(0|a);)i[t>>2]=s,i[t+4>>2]=s,i[t+8>>2]=s,i[t+12>>2]=s,i[t+16>>2]=s,i[t+20>>2]=s,i[t+24>>2]=s,i[t+28>>2]=s,i[t+32>>2]=s,i[t+36>>2]=s,i[t+40>>2]=s,i[t+44>>2]=s,i[t+48>>2]=s,i[t+52>>2]=s,i[t+56>>2]=s,i[t+60>>2]=s,t=t+64|0;for(;(0|t)<(0|o);)i[t>>2]=s,t=t+4|0}for(;(0|t)<(0|r);)l[t>>0]=e,t=t+1|0;return r-n|0}function Oe(t){return(t=+t)>=0?+a(t+.5):+_(t-.5)}function De(t){var e,n,l;return t|=0,l=0|S(),(0|t)>0&(0|(e=(n=0|i[o>>2])+t|0))<(0|n)|(0|e)<0?(O(0|e),x(12),-1):(0|e)>(0|l)&&!(0|M(0|e))?(x(12),-1):(i[o>>2]=e,0|n)}return{___uremdi3:Ce,_bitshift64Lshr:we,_bitshift64Shl:Pe,_calloc:ye,_cellAreaKm2:function(t,e){var n,l,r,o=0;if(r=D,D=D+192|0,l=r,Ht(t|=0,e|=0,n=r+168|0),Vt(t,e,l),(0|(e=0|i[l>>2]))>0){if(o=+Ot(l+8|0,l+8+((1!=(0|e)&1)<<4)|0,n)+0,1!=(0|e)){t=1;do{o+=+Ot(l+8+(t<<4)|0,l+8+(((0|(t=t+1|0))%(0|e)|0)<<4)|0,n)}while((0|t)<(0|e))}}else o=0;return D=r,6371.007180918475*o*6371.007180918475},_cellAreaM2:function(t,e){var n,l,r,o=0;if(r=D,D=D+192|0,l=r,Ht(t|=0,e|=0,n=r+168|0),Vt(t,e,l),(0|(e=0|i[l>>2]))>0){if(o=+Ot(l+8|0,l+8+((1!=(0|e)&1)<<4)|0,n)+0,1!=(0|e)){t=1;do{o+=+Ot(l+8+(t<<4)|0,l+8+(((0|(t=t+1|0))%(0|e)|0)<<4)|0,n)}while((0|t)<(0|e))}}else o=0;return D=r,6371.007180918475*o*6371.007180918475*1e3*1e3},_cellAreaRads2:function(t,e){var n,l,r,o=0;if(r=D,D=D+192|0,l=r,Ht(t|=0,e|=0,n=r+168|0),Vt(t,e,l),(0|(e=0|i[l>>2]))<=0)return D=r,+(o=0);if(o=+Ot(l+8|0,l+8+((1!=(0|e)&1)<<4)|0,n)+0,1==(0|e))return D=r,+o;t=1;do{o+=+Ot(l+8+(t<<4)|0,l+8+(((0|(t=t+1|0))%(0|e)|0)<<4)|0,n)}while((0|t)<(0|e));return D=r,+o},_compact:function(t,e,n){e|=0;var l,r=0,o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,P=0,x=0,S=0;if(!(n|=0))return 0;if(r=0|i[(o=t|=0)>>2],!0&0==(15728640&(o=0|i[o+4>>2])|0)){if((0|n)<=0)return 0;if(i[(x=e)>>2]=r,i[x+4>>2]=o,1==(0|n))return 0;r=1;do{P=0|i[4+(C=t+(r<<3)|0)>>2],i[(x=e+(r<<3)|0)>>2]=i[C>>2],i[x+4>>2]=P,r=r+1|0}while((0|r)!=(0|n));return 0}if(!(P=0|ge(C=n<<3)))return-3;if(ke(0|P,0|t,0|C),!(l=0|ye(n,8)))return _e(P),-3;r=n;t:for(;;){A=0|we(0|(h=0|i[(s=P)>>2]),0|(s=0|i[s+4>>2]),52),w(),v=(A&=15)-1|0,y=(0|r)>0;e:do{if(y){if(_=((0|r)<0)<<31>>31,m=0|Pe(0|v,0,52),g=0|w(),v>>>0>15)for(o=0,t=h,n=s;;){if(!(0==(0|t)&0==(0|n))){if(a=0|we(0|t,0|n,52),w(),u=(0|(a&=15))<(0|v),a=(0|a)==(0|v),n=0|Ce(0|(d=u?0:a?t:0),0|(t=u?0:a?n:0),0|r,0|_),w(),0==(0|(c=0|i[(u=a=l+(n<<3)|0)>>2]))&0==(0|(u=0|i[u+4>>2])))n=d;else for(m=0,b=n,f=u,n=d;;){if((0|m)>(0|r)){x=41;break t}if((0|c)==(0|n)&(-117440513&f|0)==(0|t)){d=0|we(0|c,0|f,56),w(),p=1+(d&=7)|0,g=0|we(0|c,0|f,45),w();n:do{if(0|R(127&g)){if(c=0|we(0|c,0|f,52),w(),!(c&=15)){u=6;break}for(u=1;;){if(!(0==((g=0|Pe(7,0,3*(15-u|0)|0))&n|0)&0==((0|w())&t|0))){u=7;break n}if(!(u>>>0<c>>>0)){u=6;break}u=u+1|0}}else u=7}while(0);if((d+2|0)>>>0>u>>>0){x=51;break t}g=0|Pe(0|p,0,56),t=0|w()|-117440513&t,i[(u=a)>>2]=0,i[u+4>>2]=0,u=b,n|=g}else u=(b+1|0)%(0|r)|0;if(0==(0|(c=0|i[(f=a=l+(u<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2])))break;m=m+1|0,b=u}i[(g=a)>>2]=n,i[g+4>>2]=t}if((0|(o=o+1|0))>=(0|r))break e;t=0|i[(n=P+(o<<3)|0)>>2],n=0|i[n+4>>2]}for(o=0,t=h,n=s;;){if(!(0==(0|t)&0==(0|n))){if(u=0|we(0|t,0|n,52),w(),(0|(u&=15))>=(0|v)){if((0|u)!=(0|v)&&(t|=m,n=-15728641&n|g,u>>>0>=A>>>0)){a=v;do{b=0|Pe(7,0,3*(14-a|0)|0),a=a+1|0,t|=b,n=0|w()|n}while(a>>>0<u>>>0)}}else t=0,n=0;if(u=0|Ce(0|t,0|n,0|r,0|_),w(),!(0==(0|(d=0|i[(c=a=l+(u<<3)|0)>>2]))&0==(0|(c=0|i[c+4>>2]))))for(b=0;;){if((0|b)>(0|r)){x=41;break t}if((0|d)==(0|t)&(-117440513&c|0)==(0|n)){p=0|we(0|d,0|c,56),w(),f=1+(p&=7)|0,S=0|we(0|d,0|c,45),w();n:do{if(0|R(127&S)){if(d=0|we(0|d,0|c,52),w(),!(d&=15)){c=6;break}for(c=1;;){if(!(0==((S=0|Pe(7,0,3*(15-c|0)|0))&t|0)&0==((0|w())&n|0))){c=7;break n}if(!(c>>>0<d>>>0)){c=6;break}c=c+1|0}}else c=7}while(0);if((p+2|0)>>>0>c>>>0){x=51;break t}S=0|Pe(0|f,0,56),n=0|w()|-117440513&n,i[(f=a)>>2]=0,i[f+4>>2]=0,t|=S}else u=(u+1|0)%(0|r)|0;if(0==(0|(d=0|i[(c=a=l+(u<<3)|0)>>2]))&0==(0|(c=0|i[c+4>>2])))break;b=b+1|0}i[(S=a)>>2]=t,i[S+4>>2]=n}if((0|(o=o+1|0))>=(0|r))break e;t=0|i[(n=P+(o<<3)|0)>>2],n=0|i[n+4>>2]}}}while(0);if((r+5|0)>>>0<11){x=99;break}if(!(g=0|ye((0|r)/6|0,8))){x=58;break}e:do{if(y){b=0,f=0;do{if(!(0==(0|(o=0|i[(t=u=l+(b<<3)|0)>>2]))&0==(0|(t=0|i[t+4>>2])))){c=0|we(0|o,0|t,56),w(),n=1+(c&=7)|0,d=-117440513&t,S=0|we(0|o,0|t,45),w();n:do{if(0|R(127&S)){if(p=0|we(0|o,0|t,52),w(),0|(p&=15))for(a=1;;){if(!(0==(o&(S=0|Pe(7,0,3*(15-a|0)|0))|0)&0==(d&(0|w())|0)))break n;if(!(a>>>0

>>0))break;a=a+1|0}o|=t=0|Pe(0|n,0,56),t=0|w()|d,i[(n=u)>>2]=o,i[n+4>>2]=t,n=c+2|0}}while(0);7==(0|n)&&(i[(S=g+(f<<3)|0)>>2]=o,i[S+4>>2]=-117440513&t,f=f+1|0)}b=b+1|0}while((0|b)!=(0|r));if(y){if(m=((0|r)<0)<<31>>31,p=0|Pe(0|v,0,52),b=0|w(),v>>>0>15)for(t=0,o=0;;){do{if(!(0==(0|h)&0==(0|s))){for(c=0|we(0|h,0|s,52),w(),a=(0|(c&=15))<(0|v),c=(0|c)==(0|v),a=0|Ce(0|(u=a?0:c?h:0),0|(c=a?0:c?s:0),0|r,0|m),w(),n=0;;){if((0|n)>(0|r)){x=98;break t}if((-117440513&(d=0|i[4+(S=l+(a<<3)|0)>>2])|0)==(0|c)&&(0|i[S>>2])==(0|u)){x=70;break}if((0|i[(S=l+((a=(a+1|0)%(0|r)|0)<<3)|0)>>2])==(0|u)&&(0|i[S+4>>2])==(0|c))break;n=n+1|0}if(70==(0|x)&&(x=0,!0&100663296==(117440512&d|0)))break;i[(S=e+(o<<3)|0)>>2]=h,i[S+4>>2]=s,o=o+1|0}}while(0);if((0|(t=t+1|0))>=(0|r)){r=f;break e}h=0|i[(s=P+(t<<3)|0)>>2],s=0|i[s+4>>2]}for(t=0,o=0;;){do{if(!(0==(0|h)&0==(0|s))){if(c=0|we(0|h,0|s,52),w(),(0|(c&=15))>=(0|v))if((0|c)!=(0|v))if(n=h|p,a=-15728641&s|b,c>>>0<A>>>0)c=a;else{u=v;do{S=0|Pe(7,0,3*(14-u|0)|0),u=u+1|0,n|=S,a=0|w()|a}while(u>>>0<c>>>0);c=a}else n=h,c=s;else n=0,c=0;for(u=0|Ce(0|n,0|c,0|r,0|m),w(),a=0;;){if((0|a)>(0|r)){x=98;break t}if((-117440513&(d=0|i[4+(S=l+(u<<3)|0)>>2])|0)==(0|c)&&(0|i[S>>2])==(0|n)){x=93;break}if((0|i[(S=l+((u=(u+1|0)%(0|r)|0)<<3)|0)>>2])==(0|n)&&(0|i[S+4>>2])==(0|c))break;a=a+1|0}if(93==(0|x)&&(x=0,!0&100663296==(117440512&d|0)))break;i[(S=e+(o<<3)|0)>>2]=h,i[S+4>>2]=s,o=o+1|0}}while(0);if((0|(t=t+1|0))>=(0|r)){r=f;break e}h=0|i[(s=P+(t<<3)|0)>>2],s=0|i[s+4>>2]}}else o=0,r=f}else o=0,r=0}while(0);if(Me(0|l,0,0|C),ke(0|P,0|g,r<<3|0),_e(g),!r)break;e=e+(o<<3)|0}return 41==(0|x)?(_e(P),_e(l),0|(S=-1)):51==(0|x)?(_e(P),_e(l),0|(S=-2)):58==(0|x)?(_e(P),_e(l),0|(S=-3)):98==(0|x)?(_e(g),_e(P),_e(l),0|(S=-1)):(99==(0|x)&&ke(0|e,0|P,r<<3|0),_e(P),_e(l),0|(S=0))},_destroyLinkedPolygon:function(t){var e=0,n=0,l=0,r=0;if(t|=0)for(l=1;;){if(0|(e=0|i[t>>2]))do{if(0|(n=0|i[e>>2]))do{r=n,n=0|i[n+16>>2],_e(r)}while(0!=(0|n));r=e,e=0|i[e+8>>2],_e(r)}while(0!=(0|e));if(e=t,t=0|i[t+8>>2],l||_e(e),!t)break;l=0}},_edgeLengthKm:function(t){return+ +r[20752+((t|=0)<<3)>>3]},_edgeLengthM:function(t){return+ +r[20880+((t|=0)<<3)>>3]},_emscripten_replace_memory:function(t){return l=new Int8Array(t),new Uint8Array(t),i=new Int32Array(t),new Float32Array(t),r=new Float64Array(t),n=t,!0},_exactEdgeLengthKm:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+p)*+d(+a)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)!=(0|e));return D=l,+(f=6371.007180918475*o)},_exactEdgeLengthM:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+p)*+d(+a)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)!=(0|e));return D=l,+(f=6371.007180918475*o*1e3)},_exactEdgeLengthRads:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+a)*+d(+p)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)<(0|e));return D=l,+o},_experimentalH3ToLocalIj:function(t,e,n,l,i){var r,o;return i|=0,o=D,D=D+16|0,(t=0|Zt(t|=0,e|=0,n|=0,l|=0,r=o))||(pt(r,i),t=0),D=o,0|t},_experimentalLocalIjToH3:function(t,e,n,l){var i,r;return t|=0,e|=0,l|=0,i=D,D=D+16|0,ft(n|=0,r=i),l=0|te(t,e,r,l),D=i,0|l},_free:_e,_geoToH3:Bt,_getDestinationH3IndexFromUnidirectionalEdge:function(t,e){t|=0;var n,l,r=0;return n=D,D=D+16|0,r=n,!0&268435456==(2013265920&(e|=0)|0)?(l=0|we(0|t,0|e,56),w(),i[r>>2]=0,r=0|L(t,-2130706433&e|134217728,7&l,r),e=0|w(),C(0|e),D=n,0|r):(r=0,C(0|(e=0)),D=n,0|r)},_getH3IndexesFromUnidirectionalEdge:function(t,e,n){t|=0;var l,r,o,a,s=0;o=D,D=D+16|0,l=o,r=-2130706433&(e|=0)|134217728,i[(s=n|=0)>>2]=(a=!0&268435456==(2013265920&e|0))?t:0,i[s+4>>2]=a?r:0,a?(e=0|we(0|t,0|e,56),w(),i[l>>2]=0,t=0|L(t,r,7&e,l),e=0|w()):(t=0,e=0),i[(s=n+8|0)>>2]=t,i[s+4>>2]=e,D=o},_getH3UnidirectionalEdge:function(t,e,n,l){var r,o,a=0,s=0,u=0,c=0,d=0;if(o=D,D=D+16|0,r=o,!(0|Wt(t|=0,e|=0,n|=0,l|=0)))return c=0,C(0|(u=0)),D=o,0|c;for(u=-2130706433&e,a=(a=0==(0|Lt(t,e)))?1:2;i[r>>2]=0,s=a+1|0,!((0|(d=0|L(t,e,a,r)))==(0|n)&(0|w())==(0|l));){if(!(s>>>0<7)){a=0,t=0,c=6;break}a=s}return 6==(0|c)?(C(0|a),D=o,0|t):(d=0|Pe(0|a,0,56),c=0|u|w()|268435456,d|=t,C(0|c),D=o,0|d)},_getH3UnidirectionalEdgeBoundary:$t,_getH3UnidirectionalEdgesFromHexagon:function(t,e,n){n|=0;var l,r=0;l=0==(0|Lt(t|=0,e|=0)),e&=-2130706433,i[(r=n)>>2]=l?t:0,i[r+4>>2]=l?285212672|e:0,i[(r=n+8|0)>>2]=t,i[r+4>>2]=301989888|e,i[(r=n+16|0)>>2]=t,i[r+4>>2]=318767104|e,i[(r=n+24|0)>>2]=t,i[r+4>>2]=335544320|e,i[(r=n+32|0)>>2]=t,i[r+4>>2]=352321536|e,i[(n=n+40|0)>>2]=t,i[n+4>>2]=369098752|e},_getOriginH3IndexFromUnidirectionalEdge:function(t,e){var n;return t|=0,C(0|((n=!0&268435456==(2013265920&(e|=0)|0))?-2130706433&e|134217728:0)),0|(n?t:0)},_getPentagonIndexes:qt,_getRes0Indexes:function(t){t|=0;var e=0,n=0,l=0;e=0;do{Pe(0|e,0,45),l=134225919|w(),i[(n=t+(e<<3)|0)>>2]=-1,i[n+4>>2]=l,e=e+1|0}while(122!=(0|e))},_h3Distance:function(t,e,n,l){var i,r,o;return n|=0,l|=0,o=D,D=D+32|0,r=o,t=0==(0|Zt(t|=0,e|=0,t,e,i=o+12|0))&&0==(0|Zt(t,e,n,l,r))?0|ht(i,r):-1,D=o,0|t},_h3GetBaseCell:Dt,_h3GetFaces:function t(e,n,l){l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0;r=D,D=D+128|0,h=r+112|0,s=r+96|0,p=r,a=0|we(0|(e|=0),0|(n|=0),52),w(),i[h>>2]=c=15&a,u=0|we(0|e,0|n,45),w(),u&=127;t:do{if(0|R(u)){if(0|c)for(o=1;;){if(!(0==((d=0|Pe(7,0,3*(15-o|0)|0))&e|0)&0==((0|w())&n|0))){a=0;break t}if(!(o>>>0<c>>>0))break;o=o+1|0}if(!(1&a))return d=0|Pe(c+1|0,0,52),p=0|w()|-15728641&n,t((d|e)&~(h=0|Pe(7,0,3*(14-c|0)|0)),p&~(0|w()),l),void(D=r);a=1}else a=0}while(0);Gt(e,n,s),a?(vt(s,h,p),d=5):(xt(s,h,p),d=6);t:do{if(0|R(u))if(c)for(o=1;;){if(!(0==((u=0|Pe(7,0,3*(15-o|0)|0))&e|0)&0==((0|w())&n|0))){o=8;break t}if(!(o>>>0<c>>>0)){o=20;break}o=o+1|0}else o=20;else o=8}while(0);if(Me(0|l,-1,0|o),a){a=0;do{for(wt(s=p+(a<<4)|0,0|i[h>>2]),s=0|i[s>>2],o=0;!(-1==(0|(c=0|i[(u=l+(o<<2)|0)>>2]))|(0|c)==(0|s));)o=o+1|0;i[u>>2]=s,a=a+1|0}while((0|a)!=(0|d))}else{a=0;do{for(Ct(s=p+(a<<4)|0,0|i[h>>2],0,1),s=0|i[s>>2],o=0;!(-1==(0|(c=0|i[(u=l+(o<<2)|0)>>2]))|(0|c)==(0|s));)o=o+1|0;i[u>>2]=s,a=a+1|0}while((0|a)!=(0|d))}D=r},_h3IndexesAreNeighbors:Wt,_h3IsPentagon:Lt,_h3IsResClassIII:function(t,e){return e=0|we(0|(t|=0),0|(e|=0),52),w(),1&e|0},_h3IsValid:Tt,_h3Line:function(t,e,n,l,r){n|=0,l|=0,r|=0;var o,a,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,w=0,P=0;if(o=D,D=D+48|0,c=o+12|0,a=o,0==(0|Zt(t|=0,e|=0,t,e,u=o+24|0))&&0==(0|Zt(t,e,n,l,c))){if((0|(w=0|ht(u,c)))<0)return D=o,0|w;for(i[u>>2]=0,i[u+4>>2]=0,i[u+8>>2]=0,i[c>>2]=0,i[c+4>>2]=0,i[c+8>>2]=0,Zt(t,e,t,e,u),Zt(t,e,n,l,c),bt(u),bt(c),w?(C=u,n=f=0|i[u>>2],l=b=0|i[(A=u+4|0)>>2],u=m=0|i[(v=u+8|0)>>2],_=+((0|i[c>>2])-f|0)/(g=+(0|w)),y=+((0|i[c+4>>2])-b|0)/g,g=+((0|i[c+8>>2])-m|0)/g):(A=l=u+4|0,v=m=u+8|0,C=u,n=0|i[u>>2],l=0|i[l>>2],u=0|i[m>>2],_=0,y=0,g=0),i[a>>2]=n,i[(m=a+4|0)>>2]=l,i[(b=a+8|0)>>2]=u,f=0;;){P=_*(h=+(0|f))+ +(0|n),d=y*h+ +(0|i[A>>2]),h=g*h+ +(0|i[v>>2]),l=~~+Se(+P),c=~~+Se(+d),n=~~+Se(+h),P=+s(+(+(0|l)-P)),d=+s(+(+(0|c)-d)),h=+s(+(+(0|n)-h));do{if(!(P>d&P>h)){if(p=0-l|0,d>h){u=p-n|0;break}u=c,n=p-c|0;break}l=0-(c+n)|0,u=c}while(0);if(i[a>>2]=l,i[m>>2]=u,i[b>>2]=n,mt(a),te(t,e,a,r+(f<<3)|0),(0|f)==(0|w))break;f=f+1|0,n=0|i[C>>2]}return D=o,0}return D=o,-1},_h3LineSize:function(t,e,n,l){var i,r,o;return n|=0,l|=0,o=D,D=D+32|0,r=o,t=0==(0|Zt(t|=0,e|=0,t,e,i=o+12|0))&&0==(0|Zt(t,e,n,l,r))?0|ht(i,r):-1,D=o,(t>>>31^1)+t|0},_h3SetToLinkedGeo:function(t,e,n){n|=0;var l,r,o,a=0;if(o=D,D=D+32|0,l=o,function(t,e,n){t|=0,n|=0;var l,r,o=0,a=0,s=0,u=0,c=0;if(r=D,D=D+176|0,l=r,(0|(e|=0))<1)return ue(n,0,0),void(D=r);u=0|we(0|i[(u=t)>>2],0|i[u+4>>2],52),w(),ue(n,(0|e)>6?e:6,15&u),u=0;do{if(Vt(0|i[(o=t+(u<<3)|0)>>2],0|i[o+4>>2],l),(0|(o=0|i[l>>2]))>0){c=0;do{s=l+8+(c<<4)|0,(a=0|fe(n,o=l+8+(((0|(c=c+1|0))%(0|o)|0)<<4)|0,s))?he(n,a):pe(n,s,o),o=0|i[l>>2]}while((0|c)<(0|o))}u=u+1|0}while((0|u)!=(0|e));D=r}(t|=0,e|=0,r=o+16|0),i[n>>2]=0,i[n+4>>2]=0,i[n+8>>2]=0,!(t=0|de(r)))return Jt(n),ce(r),void(D=o);do{e=0|Xt(n);do{Kt(e,t),i[l>>2]=i[(a=t+16|0)>>2],i[l+4>>2]=i[a+4>>2],i[l+8>>2]=i[a+8>>2],i[l+12>>2]=i[a+12>>2],he(r,t),t=0|be(r,l)}while(0!=(0|t));t=0|de(r)}while(0!=(0|t));Jt(n),ce(r),D=o},_h3ToCenterChild:function(t,e,n){n|=0;var l=0,i=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(l&=15))<=(0|n)){if((0|l)!=(0|n)&&(t|=i=0|Pe(0|n,0,52),e=0|w()|-15728641&e,(0|l)<(0|n)))do{i=0|Pe(7,0,3*(14-l|0)|0),l=l+1|0,t&=~i,e&=~(0|w())}while((0|l)<(0|n))}else e=0,t=0;return C(0|e),0|t},_h3ToChildren:It,_h3ToGeo:Ht,_h3ToGeoBoundary:Vt,_h3ToParent:Et,_h3UnidirectionalEdgeIsValid:function(t,e){var n=0;if(!(!0&268435456==(2013265920&(e|=0)|0)))return 0;switch(n=0|we(0|(t|=0),0|e,56),w(),7&n){case 0:case 7:return 0}return!0&16777216==(117440512&e|0)&0!=(0|Lt(t,n=-2130706433&e|134217728))?0|(n=0):0|(n=0|Tt(t,n))},_hexAreaKm2:function(t){return+ +r[20496+((t|=0)<<3)>>3]},_hexAreaM2:function(t){return+ +r[20624+((t|=0)<<3)>>3]},_hexRing:function(t,e,n,l){t|=0,e|=0,l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0,h=0;if(r=D,D=D+16|0,h=r,!(n|=0))return i[(h=l)>>2]=t,i[h+4>>2]=e,D=r,0;i[h>>2]=0;t:do{if(0|Lt(t,e))t=1;else{if(a=(0|n)>0){o=0,d=t;do{if(0==(0|(d=0|L(d,e,4,h)))&0==(0|(e=0|w()))){t=2;break t}if(o=o+1|0,0|Lt(d,e)){t=1;break t}}while((0|o)<(0|n));if(i[(c=l)>>2]=d,i[c+4>>2]=e,c=n+-1|0,a){a=0,s=1,o=d,t=e;do{if(0==(0|(o=0|L(o,t,2,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(s<<3)|0)>>2]=o,i[u+4>>2]=t,s=s+1|0,0|Lt(o,t)){t=1;break t}a=a+1|0}while((0|a)<(0|n));u=0,a=s;do{if(0==(0|(o=0|L(o,t,3,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(s=l+(a<<3)|0)>>2]=o,i[s+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}u=u+1|0}while((0|u)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,1,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,5,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,4,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));for(s=0;;){if(0==(0|(o=0|L(o,t,6,h)))&0==(0|(t=0|w()))){t=2;break t}if((0|s)!=(0|c)){if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,0|Lt(o,t)){t=1;break t}a=a+1|0}if((0|(s=s+1|0))>=(0|n)){s=d,a=e;break}}}else s=d,o=d,a=e,t=e}else i[(s=l)>>2]=t,i[s+4>>2]=e,s=t,o=t,a=e,t=e;t=1&((0|s)!=(0|o)|(0|a)!=(0|t))}}while(0);return D=r,0|t},_i64Subtract:Ae,_kRing:T,_kRingDistances:function(t,e,n,l,i){var r;if(0|E(t|=0,e|=0,n|=0,l|=0,i|=0)){if(Me(0|l,0,(r=1+(0|y(3*n|0,n+1|0))|0)<<3|0),0|i)return Me(0|i,0,r<<2|0),void I(t,e,n,l,i,r,0);(i=0|ye(r,4))&&(I(t,e,n,l,i,r,0),_e(i))}},_llvm_minnum_f64:xe,_llvm_round_f64:Se,_malloc:ge,_maxFaceCount:function(t,e){var n=0,l=0;if(l=0|we(0|(t|=0),0|(e|=0),45),w(),!(0|R(127&l)))return 2;if(l=0|we(0|t,0|e,52),w(),!(l&=15))return 5;for(n=1;;){if(!(0==((0|Pe(7,0,3*(15-n|0)|0))&t|0)&0==((0|w())&e|0))){n=2,t=6;break}if(!(n>>>0<l>>>0)){n=5,t=6;break}n=n+1|0}return 6==(0|t)?0|n:0},_maxH3ToChildrenSize:function(t,e,n){return n|=0,t=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(t&=15))<=(0|n)?0|(n=0|ee(7,n-t|0)):0|(n=0)},_maxKringSize:function(t){return 1+(0|y(3*(t|=0)|0,t+1|0))|0},_maxPolyfillSize:function(t,e){e|=0;var n,l=0,r=0,o=0,a=0,s=0;if(n=D,D=D+48|0,o=n+8|0,a=0|i[4+(s=t|=0)>>2],i[(l=r=n)>>2]=i[s>>2],i[l+4>>2]=a,le(r,o),o=0|V(o,e),e=0|i[r>>2],(0|(r=0|i[t+8>>2]))<=0)return D=n,0|(s=(a=(0|o)<(0|(s=e)))?s:o)+12;l=0|i[t+12>>2],t=0;do{e=(0|i[l+(t<<3)>>2])+e|0,t=t+1|0}while((0|t)<(0|r));return D=n,0|(s=(s=(0|o)<(0|e))?e:o)+12},_maxUncompactSize:function(t,e,n){t|=0;var l=0,r=0,o=0,a=0;if((0|(e|=0))<=0)return 0;if((0|(n|=0))>=16){for(l=0;;){if(!(0==(0|i[(a=t+(l<<3)|0)>>2])&0==(0|i[a+4>>2]))){l=-1,r=13;break}if((0|(l=l+1|0))>=(0|e)){l=0,r=13;break}}if(13==(0|r))return 0|l}l=0,a=0;t:for(;;){o=0|i[(r=t+(a<<3)|0)>>2],r=0|i[r+4>>2];do{if(!(0==(0|o)&0==(0|r))){if(r=0|we(0|o,0|r,52),w(),(0|(r&=15))>(0|n)){l=-1,r=13;break t}if((0|r)==(0|n)){l=l+1|0;break}l=(0|ee(7,n-r|0))+l|0;break}}while(0);if((0|(a=a+1|0))>=(0|e)){r=13;break}}return 13==(0|r)?0|l:0},_memcpy:ke,_memset:Me,_numHexagons:function(t){var e;return t=0|i[(e=21008+((t|=0)<<3)|0)>>2],C(0|i[e+4>>2]),0|t},_pentagonIndexCount:function(){return 12},_pointDistKm:Mt,_pointDistM:function(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))*6371.007180918475*1e3},_pointDistRads:function(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))},_polyfill:function(t,e,n){var l,r=0,o=0,a=0,s=0,u=0;if(l=D,D=D+48|0,r=l+8|0,o=l,0|function(t,e,n){e|=0,n|=0;var l,r,o,a,s,u,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,x=0,S=0,k=0,M=0,O=0,T=0,L=0,R=0,F=0,N=0,Y=0;if(s=D,D=D+112|0,r=s+80|0,b=s+72|0,o=s,a=s+56|0,(u=0|ge(32+(i[(m=8+(t|=0)|0)>>2]<<5)|0))||P(22848,22448,800,22456),ie(t,u),c=0|i[(h=t)+4>>2],i[(f=b)>>2]=i[h>>2],i[f+4>>2]=c,le(b,r),f=0|V(r,e),c=0|i[b>>2],(0|(h=0|i[m>>2]))>0){p=0|i[t+12>>2],d=0;do{c=(0|i[p+(d<<3)>>2])+c|0,d=d+1|0}while((0|d)!=(0|h))}if(d=0|ye(l=(f=(0|f)<(0|c)?c:f)+12|0,8),g=0|ye(l,8),i[r>>2]=0,Y=0|i[(N=t)+4>>2],i[(c=b)>>2]=i[N>>2],i[c+4>>2]=Y,0|(c=0|j(b,l,e,r,d,g)))return _e(d),_e(g),_e(u),D=s,0|c;t:do{if((0|i[m>>2])>0){for(h=t+12|0,c=0;p=0|j((0|i[h>>2])+(c<<3)|0,l,e,r,d,g),c=c+1|0,!(0|p);)if((0|c)>=(0|i[m>>2]))break t;return _e(d),_e(g),_e(u),D=s,0|p}}while(0);(0|f)>-12&&Me(0|g,0,((0|l)>1?l:1)<<3|0);t:do{if((0|i[r>>2])>0){Y=((0|l)<0)<<31>>31,O=d,T=g,L=d,R=d,F=g,N=d,c=d,x=d,S=g,k=g,M=g,d=g;e:for(;;){for(C=0|i[r>>2],A=0,v=0,h=0;;){f=(p=o)+56|0;do{i[p>>2]=0,p=p+4|0}while((0|p)<(0|f));if(0|E(b=0|i[(e=O+(A<<3)|0)>>2],e=0|i[e+4>>2],1,o,0)){f=(p=o)+56|0;do{i[p>>2]=0,p=p+4|0}while((0|p)<(0|f));0|(p=0|ye(7,4))&&(I(b,e,1,o,p,7,0),_e(p))}y=0;do{g=0|i[(_=o+(y<<3)|0)>>2],_=0|i[_+4>>2];n:do{if(!(0==(0|g)&0==(0|_))){if(b=0|Ce(0|g,0|_,0|l,0|Y),w(),!(0==(0|(e=0|i[(f=p=n+(b<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2]))))for(m=0;;){if((0|m)>(0|l))break e;if((0|e)==(0|g)&(0|f)==(0|_))break n;if(0==(0|(e=0|i[(f=p=n+((b=(b+1|0)%(0|l)|0)<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2])))break;m=m+1|0}0==(0|g)&0==(0|_)||(Ht(g,_,a),0|re(t,u,a)&&(i[(m=p)>>2]=g,i[m+4>>2]=_,i[(m=T+(h<<3)|0)>>2]=g,i[m+4>>2]=_,h=h+1|0))}}while(0);y=y+1|0}while(y>>>0<7);if((0|(v=v+1|0))>=(0|C))break;A=A+1|0}if((0|C)>0&&Me(0|L,0,C<<3|0),i[r>>2]=h,!((0|h)>0))break t;g=d,_=M,y=N,A=k,v=S,C=T,d=x,M=c,k=R,S=L,x=g,c=_,N=F,F=y,R=A,L=v,T=O,O=C}return _e(R),_e(F),_e(u),D=s,-1}c=g}while(0);return _e(u),_e(d),_e(c),D=s,0}(t|=0,e|=0,n|=0)){if(a=0|i[(u=t)+4>>2],i[(s=o)>>2]=i[u>>2],i[s+4>>2]=a,le(o,r),s=0|V(r,e),e=0|i[o>>2],(0|(a=0|i[t+8>>2]))>0){o=0|i[t+12>>2],r=0;do{e=(0|i[o+(r<<3)>>2])+e|0,r=r+1|0}while((0|r)!=(0|a))}(0|(e=(0|s)<(0|e)?e:s))<=-12||Me(0|n,0,8+(((0|(u=e+11|0))>0?u:0)<<3)|0),D=l}else D=l},_res0IndexCount:function(){return 122},_round:Oe,_sbrk:De,_sizeOfCoordIJ:function(){return 8},_sizeOfGeoBoundary:function(){return 168},_sizeOfGeoCoord:function(){return 16},_sizeOfGeoPolygon:function(){return 16},_sizeOfGeofence:function(){return 8},_sizeOfH3Index:function(){return 8},_sizeOfLinkedGeoPolygon:function(){return 12},_uncompact:function(t,e,n,l,r){t|=0,n|=0,l|=0;var o=0,a=0,s=0,u=0,c=0,d=0;if((0|(e|=0))<=0)return 0;if((0|(r|=0))>=16){for(o=0;;){if(!(0==(0|i[(d=t+(o<<3)|0)>>2])&0==(0|i[d+4>>2]))){o=14;break}if((0|(o=o+1|0))>=(0|e)){a=0,o=16;break}}if(14==(0|o))return 0|((0|l)>0?-2:-1);if(16==(0|o))return 0|a}o=0,d=0;t:for(;;){a=0|i[(s=c=t+(d<<3)|0)>>2],s=0|i[s+4>>2];do{if(!(0==(0|a)&0==(0|s))){if((0|o)>=(0|l)){a=-1,o=16;break t}if(u=0|we(0|a,0|s,52),w(),(0|(u&=15))>(0|r)){a=-2,o=16;break t}if((0|u)==(0|r)){i[(c=n+(o<<3)|0)>>2]=a,i[c+4>>2]=s,o=o+1|0;break}if((0|(a=(0|ee(7,r-u|0))+o|0))>(0|l)){a=-1,o=16;break t}It(0|i[c>>2],0|i[c+4>>2],r,n+(o<<3)|0),o=a}}while(0);if((0|(d=d+1|0))>=(0|e)){a=0,o=16;break}}return 16==(0|o)?0|a:0},establishStackSpace:function(t,e){D=t|=0},stackAlloc:function(t){var e;return e=D,D=15+(D=D+(t|=0)|0)&-16,0|e},stackRestore:function(t){D=t|=0},stackSave:function(){return 0|D}}}({Math,Int8Array,Int32Array,Uint8Array,Float32Array,Float64Array},{a:at,b:function(t){u=t},c,d:function(t,e,n,l){at("Assertion failed: "+C(t)+", at: "+[e?C(e):"unknown filename",n,l?C(l):"unknown function"])},e:function(t){return n.___errno_location&&(_[n.___errno_location()>>2]=t),t},f:V,g:function(t,e,n){m.set(m.subarray(e,e+n),t)},h:function(t){var e=V();if(t>2130706432)return!1;for(var n=Math.max(e,16777216);n<t;)n=n<=536870912?w(2*n,16777216):Math.min(w((3*n+2147483648)/4,16777216),2130706432);return!!q(n)},i:function(t){at("OOM")},j:function(t){return t},k:G,l:q,m:H,n:function(){var t=H();return n.extraStackTrace&&(t+="\n"+n.extraStackTrace()),G(t)},o:24032,p:24016},f),Q=(n.___uremdi3=J.___uremdi3,n._bitshift64Lshr=J._bitshift64Lshr,n._bitshift64Shl=J._bitshift64Shl,n._calloc=J._calloc,n._cellAreaKm2=J._cellAreaKm2,n._cellAreaM2=J._cellAreaM2,n._cellAreaRads2=J._cellAreaRads2,n._compact=J._compact,n._destroyLinkedPolygon=J._destroyLinkedPolygon,n._edgeLengthKm=J._edgeLengthKm,n._edgeLengthM=J._edgeLengthM,n._emscripten_replace_memory=J._emscripten_replace_memory),Z=(n._exactEdgeLengthKm=J._exactEdgeLengthKm,n._exactEdgeLengthM=J._exactEdgeLengthM,n._exactEdgeLengthRads=J._exactEdgeLengthRads,n._experimentalH3ToLocalIj=J._experimentalH3ToLocalIj,n._experimentalLocalIjToH3=J._experimentalLocalIjToH3,n._free=J._free,n._geoToH3=J._geoToH3,n._getDestinationH3IndexFromUnidirectionalEdge=J._getDestinationH3IndexFromUnidirectionalEdge,n._getH3IndexesFromUnidirectionalEdge=J._getH3IndexesFromUnidirectionalEdge,n._getH3UnidirectionalEdge=J._getH3UnidirectionalEdge,n._getH3UnidirectionalEdgeBoundary=J._getH3UnidirectionalEdgeBoundary,n._getH3UnidirectionalEdgesFromHexagon=J._getH3UnidirectionalEdgesFromHexagon,n._getOriginH3IndexFromUnidirectionalEdge=J._getOriginH3IndexFromUnidirectionalEdge,n._getPentagonIndexes=J._getPentagonIndexes,n._getRes0Indexes=J._getRes0Indexes,n._h3Distance=J._h3Distance,n._h3GetBaseCell=J._h3GetBaseCell,n._h3GetFaces=J._h3GetFaces,n._h3IndexesAreNeighbors=J._h3IndexesAreNeighbors,n._h3IsPentagon=J._h3IsPentagon,n._h3IsResClassIII=J._h3IsResClassIII,n._h3IsValid=J._h3IsValid,n._h3Line=J._h3Line,n._h3LineSize=J._h3LineSize,n._h3SetToLinkedGeo=J._h3SetToLinkedGeo,n._h3ToCenterChild=J._h3ToCenterChild,n._h3ToChildren=J._h3ToChildren,n._h3ToGeo=J._h3ToGeo,n._h3ToGeoBoundary=J._h3ToGeoBoundary,n._h3ToParent=J._h3ToParent,n._h3UnidirectionalEdgeIsValid=J._h3UnidirectionalEdgeIsValid,n._hexAreaKm2=J._hexAreaKm2,n._hexAreaM2=J._hexAreaM2,n._hexRing=J._hexRing,n._i64Subtract=J._i64Subtract,n._kRing=J._kRing,n._kRingDistances=J._kRingDistances,n._llvm_minnum_f64=J._llvm_minnum_f64,n._llvm_round_f64=J._llvm_round_f64,n._malloc=J._malloc,n._maxFaceCount=J._maxFaceCount,n._maxH3ToChildrenSize=J._maxH3ToChildrenSize,n._maxKringSize=J._maxKringSize,n._maxPolyfillSize=J._maxPolyfillSize,n._maxUncompactSize=J._maxUncompactSize,n._memcpy=J._memcpy,n._memset=J._memset,n._numHexagons=J._numHexagons,n._pentagonIndexCount=J._pentagonIndexCount,n._pointDistKm=J._pointDistKm,n._pointDistM=J._pointDistM,n._pointDistRads=J._pointDistRads,n._polyfill=J._polyfill,n._res0IndexCount=J._res0IndexCount,n._round=J._round,n._sbrk=J._sbrk,n._sizeOfCoordIJ=J._sizeOfCoordIJ,n._sizeOfGeoBoundary=J._sizeOfGeoBoundary,n._sizeOfGeoCoord=J._sizeOfGeoCoord,n._sizeOfGeoPolygon=J._sizeOfGeoPolygon,n._sizeOfGeofence=J._sizeOfGeofence,n._sizeOfH3Index=J._sizeOfH3Index,n._sizeOfLinkedGeoPolygon=J._sizeOfLinkedGeoPolygon,n._uncompact=J._uncompact,n.establishStackSpace=J.establishStackSpace,n.stackAlloc=J.stackAlloc),tt=n.stackRestore=J.stackRestore,et=n.stackSave=J.stackSave;if(n.asm=J,n.cwrap=function(t,e,n,l){var i=(n=n||[]).every((function(t){return"number"===t}));return"string"!==e&&i&&!l?h(t):function(){return p(t,e,n,arguments)}},n.setValue=function(t,e,n,l){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":b[t>>0]=e;break;case"i16":g[t>>1]=e;break;case"i32":_[t>>2]=e;break;case"i64":Y=[e>>>0,(N=e,+T(N)>=1?N>0?(0|L(+I(N/4294967296),4294967295))>>>0:~~+E((N-+(~~N>>>0))/4294967296)>>>0:0)],_[t>>2]=Y[0],_[t+4>>2]=Y[1];break;case"float":y[t>>2]=e;break;case"double":A[t>>3]=e;break;default:at("invalid type for setValue: "+n)}},n.getValue=function(t,e,n){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return b[t>>0];case"i16":return g[t>>1];case"i32":case"i64":return _[t>>2];case"float":return y[t>>2];case"double":return A[t>>3];default:at("invalid type for getValue: "+e)}return null},n.getTempRet0=c,U){z(U)||(X=U,U=n.locateFile?n.locateFile(X,o):o+X),j++,n.monitorRunDependencies&&n.monitorRunDependencies(j);var nt=function(t){t.byteLength&&(t=new Uint8Array(t)),m.set(t,8),n.memoryInitializerRequest&&delete n.memoryInitializerRequest.response,function(t){if(j--,n.monitorRunDependencies&&n.monitorRunDependencies(j),0==j&&(null!==R&&(clearInterval(R),R=null),F)){var e=F;F=null,e()}}()},lt=function(){i(U,nt,(function(){throw"could not load memory initializer "+U}))},it=$(U);if(it)nt(it.buffer);else if(n.memoryInitializerRequest){var rt=function(){var t=n.memoryInitializerRequest,e=t.response;if(200!==t.status&&0!==t.status){var l=$(n.memoryInitializerRequestURL);if(!l)return console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+t.status+", retrying "+U),void lt();e=l.buffer}nt(e)};n.memoryInitializerRequest.response?setTimeout(rt,0):n.memoryInitializerRequest.addEventListener("load",rt)}else lt()}function ot(t){function e(){K||(K=!0,d||(S(M),S(O),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),D.unshift(t);var t;S(D)}()))}t=t||r,j>0||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),k.unshift(t);var t;S(k)}(),j>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function at(t){throw n.onAbort&&n.onAbort(t),a(t+=""),s(t),d=!0,"abort("+t+"). Build with -s ASSERTIONS=1 for more info."}if(F=function t(){K||ot(),K||(F=t)},n.run=ot,n.abort=at,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();return ot(),t}("object"==typeof l?l:{}),i="number",r={};[["sizeOfH3Index",i],["sizeOfGeoCoord",i],["sizeOfGeoBoundary",i],["sizeOfGeoPolygon",i],["sizeOfGeofence",i],["sizeOfLinkedGeoPolygon",i],["sizeOfCoordIJ",i],["h3IsValid","number",["number","number"]],["geoToH3","number",[i,i,"number"]],["h3ToGeo",null,["number","number",i]],["h3ToGeoBoundary",null,["number","number",i]],["maxKringSize",i,[i]],["kRing",null,["number","number",i,i]],["kRingDistances",null,["number","number",i,i,i]],["hexRing",null,["number","number",i,i]],["maxPolyfillSize",i,[i,"number"]],["polyfill",null,[i,"number",i]],["h3SetToLinkedGeo",null,[i,i,i]],["destroyLinkedPolygon",null,[i]],["compact",i,[i,i,i]],["uncompact",i,[i,i,i,i,"number"]],["maxUncompactSize",i,[i,i,"number"]],["h3IsPentagon","number",["number","number"]],["h3IsResClassIII","number",["number","number"]],["h3GetBaseCell",i,["number","number"]],["maxFaceCount",i,["number","number"]],["h3GetFaces",null,["number","number",i]],["h3ToParent","number",["number","number","number"]],["h3ToChildren",null,["number","number","number",i]],["h3ToCenterChild","number",["number","number","number"]],["maxH3ToChildrenSize",i,["number","number","number"]],["h3IndexesAreNeighbors","number",["number","number","number","number"]],["getH3UnidirectionalEdge","number",["number","number","number","number"]],["getOriginH3IndexFromUnidirectionalEdge","number",["number","number"]],["getDestinationH3IndexFromUnidirectionalEdge","number",["number","number"]],["h3UnidirectionalEdgeIsValid","number",["number","number"]],["getH3IndexesFromUnidirectionalEdge",null,["number","number",i]],["getH3UnidirectionalEdgesFromHexagon",null,["number","number",i]],["getH3UnidirectionalEdgeBoundary",null,["number","number",i]],["h3Distance",i,["number","number","number","number"]],["h3Line",i,["number","number","number","number",i]],["h3LineSize",i,["number","number","number","number"]],["experimentalH3ToLocalIj",i,["number","number","number","number",i]],["experimentalLocalIjToH3",i,["number","number",i,i]],["hexAreaM2",i,["number"]],["hexAreaKm2",i,["number"]],["edgeLengthM",i,["number"]],["edgeLengthKm",i,["number"]],["pointDistM",i,[i,i]],["pointDistKm",i,[i,i]],["pointDistRads",i,[i,i]],["cellAreaM2",i,["number","number"]],["cellAreaKm2",i,["number","number"]],["cellAreaRads2",i,["number","number"]],["exactEdgeLengthM",i,["number","number"]],["exactEdgeLengthKm",i,["number","number"]],["exactEdgeLengthRads",i,["number","number"]],["numHexagons",i,["number"]],["getRes0Indexes",null,[i]],["res0IndexCount",i],["getPentagonIndexes",null,[i,i]],["pentagonIndexCount",i]].forEach((function(t){r[t[0]]=l.cwrap.apply(l,t)})),r.sizeOfH3Index();var o=r.sizeOfGeoCoord(),a=r.sizeOfGeoBoundary();r.sizeOfGeoPolygon(),r.sizeOfGeofence(),r.sizeOfLinkedGeoPolygon(),r.sizeOfCoordIJ();var s=/[^0-9a-fA-F]/;function u(t){if(Array.isArray(t)&&2===t.length&&Number.isInteger(t[0])&&Number.isInteger(t[1]))return t;if("string"!=typeof t||s.test(t))return[0,0];var e=parseInt(t.substring(0,t.length-8),16);return[parseInt(t.substring(t.length-8),16),e]}function c(t){return 180*l.getValue(t,"double")/Math.PI}function d(t){return[c(t),c(t+8)]}function h(t){return[c(t+8),c(t)]}function p(t){var e=l._malloc(o),n=u(t);r.h3ToGeo(n[0],n[1],e);var i=d(e);return l._free(e),i}function f(t,e){var n=l._malloc(a),i=u(t);r.h3ToGeoBoundary(i[0],i[1],n);var o=function(t,e,n){for(var i=l.getValue(t,"i32"),r=t+8,o=[],a=e?h:d,s=0;s<2*i;s+=2)o.push(a(r+8*s));return n&&o.push(o[0]),o}(n,e,e);return l._free(n),o}},"930v":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("+4pY");const i=()=>Object(l.a)().easing("cubic-bezier(0.0, 0.0, 0.2, 1)").duration(300),r=t=>{let e,n;const r=t.width+8,o=Object(l.a)(),a=Object(l.a)();return t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),o.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`),a.addElement(t.backdropEl).fromTo("opacity",.01,.32),i().addAnimation([o,a])},o=t=>{let e,n;const r=t.width;t.isEndSide?(e=-r+"px",n=r+"px"):(e=r+"px",n=-r+"px");const o=Object(l.a)().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),a=Object(l.a)().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),s=Object(l.a)().addElement(t.backdropEl).fromTo("opacity",.01,.32);return i().addAnimation([o,s,a])},a=t=>{const e=t.width*(t.isEndSide?-1:1)+"px",n=Object(l.a)().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`);return i().addAnimation(n)},s=(()=>{const t=new Map,e=[],n=async t=>(await h(),"start"===t||"end"===t?d(e=>e.side===t&&!e.disabled)||d(e=>e.side===t):null!=t?d(e=>e.menuId===t):d(t=>!t.disabled)||(e.length>0?e[0].el:void 0)),l=async()=>(await h(),u()),i=(e,n)=>{t.set(e,n)},s=t=>{const n=t.side;e.filter(e=>e.side===n&&e!==t).forEach(t=>t.disabled=!0)},u=()=>d(t=>t._isOpen),c=()=>e.some(t=>t.isAnimating),d=t=>{const n=e.find(t);if(void 0!==n)return n.el},h=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(t=>t.componentOnReady()));return i("reveal",a),i("push",o),i("overlay",r),{registerAnimation:i,get:n,getMenus:async()=>(await h(),e.map(t=>t.el)),getOpen:l,isEnabled:async t=>{const e=await n(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const l=await n(e);return l&&(l.swipeGesture=t),l},isAnimating:async()=>(await h(),c()),isOpen:async t=>{if(null!=t){const e=await n(t);return void 0!==e&&e.isOpen()}return void 0!==await l()},enable:async(t,e)=>{const l=await n(e);return l&&(l.disabled=!t),l},toggle:async t=>{const e=await n(t);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?n(t):l());return void 0!==e&&e.close()},open:async t=>{const e=await n(t);return!!e&&e.open()},_getOpenSync:u,_createAnimation:(e,n)=>{const l=t.get(e);if(!l)throw new Error("animation not registered");return l(n)},_register:t=>{e.indexOf(t)<0&&(t.disabled||s(t),e.push(t))},_unregister:t=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_setOpen:async(t,e,n)=>{if(c())return!1;if(e){const e=await l();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n)},_setActiveMenu:s}})()},"94wz":function(t,e,n){"use strict";var l=function(){function t(){}return t.prototype.drawCustom=function(t,e,n){},t.prototype.drawGeometry=function(t){},t.prototype.setStyle=function(t){},t.prototype.drawCircle=function(t,e){},t.prototype.drawFeature=function(t,e){},t.prototype.drawGeometryCollection=function(t,e){},t.prototype.drawLineString=function(t,e){},t.prototype.drawMultiLineString=function(t,e){},t.prototype.drawMultiPoint=function(t,e){},t.prototype.drawMultiPolygon=function(t,e){},t.prototype.drawPoint=function(t,e){},t.prototype.drawPolygon=function(t,e){},t.prototype.drawText=function(t,e){},t.prototype.setFillStrokeStyle=function(t,e){},t.prototype.setImageStyle=function(t,e){},t.prototype.setTextStyle=function(t,e){},t}();e.a=l},"978D":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("8Y7J"),i=n("wd/R");const r={REALTIME:"realtime",REPLAY:"replay",STOP:"stop"};let o=(()=>{class t{constructor(){this.haveStarted=!1,this.speed=1,this.date=void 0,this.daemonChange=new l.r,this.daemonStatus=r.REALTIME,this.isLock=!1,this.running=!1}getDaemonChangeEmitter(){return this.daemonChange}getDeamonStatus(){return this.daemonStatus}getDateReplay(){return this.date}isPlayingReplay(){return this.running}setSpeed(t){this.speed=t}startReplay(t){this.date=t,this.haveStarted=!0,this.startTimer()}stopReplay(){this.date=void 0,this.clearTimer(),this.daemonStatus=r.REALTIME,this.daemonChange.emit(this.daemonStatus)}previousReplay(){const t=i(this.date).subtract(1,"minutes").toDate();this.clearTimer(),this.startReplay(t)}nextReplay(){const t=i(this.date).add(1,"minutes").toDate();this.clearTimer(),this.startReplay(t)}togglePlaying(){this.running?this.stopTimer():this.startTimer()}startTimer(){this.running=!0;const t=Date.now()-(this.counter||0);this.timerRef=setInterval(()=>{const e=Date.now()-t-this.counter;this.haveStarted||(this.date=i(this.date).add(e*this.speed,"milliseconds").toDate(),i(this.date).valueOf()>=i().valueOf()&&this.stopTimer()),this.counter=Date.now()-t}),this.daemonStatus=r.REPLAY,this.daemonChange.emit(this.daemonStatus)}stopTimer(){this.running=!1,clearInterval(this.timerRef),this.daemonStatus=r.STOP,this.daemonChange.emit(this.daemonStatus)}clearTimer(){this.running=!1,this.counter=void 0,clearInterval(this.timerRef)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"9ANI":function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("9iPr"),o=n("mrzG"),a=n("q7cr"),s=n("f8l7"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n){var l=t.call(this)||this;return l.setCoordinates(e,n),l}return u(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){var i=this.flatCoordinates,r=Object(s.f)(t,e,i[0],i[1]);if(r<l){for(var o=this.stride,a=0;a<o;++a)n[a]=i[a];return n.length=o,r}return l},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return Object(i.m)(this.flatCoordinates,t)},e.prototype.getType=function(){return r.a.POINT},e.prototype.intersectsExtent=function(t){return Object(i.h)(t,this.flatCoordinates[0],this.flatCoordinates[1])},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(a.a)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(o.a);e.a=c},"9d2U":function(t,e,n){"use strict";var l=n("/O31"),i=function(){function t(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||l.a[this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(t){this.defaultTileGrid_=t},t.prototype.setExtent=function(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)},t.prototype.setWorldExtent=function(t){this.worldExtent_=t},t.prototype.setGetPointResolution=function(t){this.getPointResolutionFunc_=t},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}();e.a=i},"9iPr":function(t,e,n){"use strict";e.a={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AIJQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t){this.dialogRef=t}onNoClick(){this.dialogRef.close()}}},ALyU:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("fURe"),l.Bb({encapsulation:2,styles:[],data:{}}));function r(t){return l.Yb(2,[],null,null)}},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AaDx:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("DkaU"),n("Xd0L"),n("KCVW"),n("8bJo"),n("2Vo4"),n("VRyK"),n("IzEk"),n("lJxs");class l{}},AdPF:function(t,e,n){var l=n("yeub"),i=n("2UHX");t.exports=function(t){var e=t.xdomain,n=t.xscheme,r=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!e||l))return new XMLHttpRequest}catch(o){}try{if("undefined"!=typeof XDomainRequest&&!n&&r)return new XDomainRequest}catch(o){}if(!e)try{return new(i[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(o){}}},AdTM:function(t,e,n){"use strict";e.a={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},"AfW+":function(t,e,n){"use strict";n.d(e,"a",(function(){return A})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return i})),n.d(e,"g",(function(){return r}));const l=t=>r(t),i=(t,e)=>("string"==typeof t&&(e=t,t=void 0),l(t).includes(e)),r=(t=window)=>{t.Ionic=t.Ionic||{};let e=t.Ionic.platforms;return null==e&&(e=t.Ionic.platforms=o(t),e.forEach(e=>t.document.documentElement.classList.add("plt-"+e))),e},o=t=>Object.keys(b).filter(e=>b[e](t)),a=t=>!!p(t,/iPad/i)||!(!p(t,/Macintosh/i)||!u(t)),s=t=>p(t,/android|sink/i),u=t=>f(t,"(any-pointer:coarse)"),c=t=>d(t)||h(t),d=t=>!!(t.cordova||t.phonegap||t.PhoneGap),h=t=>{const e=t.Capacitor;return!(!e||!e.isNative)},p=(t,e)=>e.test(t.navigator.userAgent),f=(t,e)=>t.matchMedia(e).matches,b={ipad:a,iphone:t=>p(t,/iPhone/i),ios:t=>p(t,/iPhone|iPod/i)||a(t),android:s,phablet:t=>{const e=t.innerWidth,n=t.innerHeight,l=Math.min(e,n),i=Math.max(e,n);return l>390&&l<520&&i>620&&i<800},tablet:t=>{const e=t.innerWidth,n=t.innerHeight,l=Math.min(e,n),i=Math.max(e,n);return a(t)||(t=>s(t)&&!p(t,/mobile/i))(t)||l>460&&l<820&&i>780&&i<1400},cordova:d,capacitor:h,electron:t=>p(t,/electron/i),pwa:t=>!(!t.matchMedia("(display-mode: standalone)").matches&&!t.navigator.standalone),mobile:u,mobileweb:t=>u(t)&&!c(t),desktop:t=>!u(t),hybrid:c};class m{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,e){const n=this.m.get(t);return void 0!==n?n:e}getBoolean(t,e=!1){const n=this.m.get(t);return void 0===n?e:"string"==typeof n?"true"===n:!!n}getNumber(t,e){const n=parseFloat(this.m.get(t));return isNaN(n)?void 0!==e?e:NaN:n}set(t,e){this.m.set(t,e)}}const g=new m,_=t=>{try{const e=t.sessionStorage.getItem(w);return null!==e?JSON.parse(e):{}}catch(e){return{}}},y=(t,e)=>{try{t.sessionStorage.setItem(w,JSON.stringify(e))}catch(n){return}},A=t=>{const e={};return t.location.search.slice(1).split("&").map(t=>t.split("=")).map(([t,e])=>[decodeURIComponent(t),decodeURIComponent(e)]).filter(([t])=>v(t,C)).map(([t,e])=>[t.slice(C.length),e]).forEach(([t,n])=>{e[t]=n}),e},v=(t,e)=>t.substr(0,e.length)===e,C="ionic:",w="ionic-persist-config"},Ag9w:function(t,e,n){"use strict";n("pg82");var l,i=n("Ho3V"),r=n("0Hnp"),o=n("4mld"),a=n("OQAH"),s=n("JW8z"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=this,l=e||{},i=document.createElement("div");return i.className=void 0!==l.className?l.className:"ol-mouse-position",(n=t.call(this,{element:i,render:l.render||d,target:l.target})||this).addEventListener(Object(o.b)("projection"),n.handleProjectionChanged_),l.coordinateFormat&&n.setCoordinateFormat(l.coordinateFormat),l.projection&&n.setProjection(l.projection),n.undefinedHTML_=void 0!==l.undefinedHTML?l.undefinedHTML:"&#160;",n.renderOnMouseOut_=!!n.undefinedHTML_,n.renderedHTML_=i.innerHTML,n.mapProjection_=null,n.transform_=null,n}return u(e,t),e.prototype.handleProjectionChanged_=function(){this.transform_=null},e.prototype.getCoordinateFormat=function(){return this.get("coordinateFormat")},e.prototype.getProjection=function(){return this.get("projection")},e.prototype.handleMouseMove=function(t){var e=this.getMap();this.updateHTML_(e.getEventPixel(t))},e.prototype.handleMouseOut=function(t){this.updateHTML_(null)},e.prototype.setMap=function(e){if(t.prototype.setMap.call(this,e),e){var n=e.getViewport();this.listenerKeys.push(Object(i.a)(n,r.a.POINTERMOVE,this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push(Object(i.a)(n,r.a.POINTEROUT,this.handleMouseOut,this))}},e.prototype.setCoordinateFormat=function(t){this.set("coordinateFormat",t)},e.prototype.setProjection=function(t){this.set("projection",Object(s.g)(t))},e.prototype.updateHTML_=function(t){var e=this.undefinedHTML_;if(t&&this.mapProjection_){if(!this.transform_){var n=this.getProjection();this.transform_=n?Object(s.j)(this.mapProjection_,n):s.l}var l=this.getMap().getCoordinateFromPixelInternal(t);if(l){var i=Object(s.k)();i&&(this.transform_=Object(s.j)(this.mapProjection_,i)),this.transform_(l,l);var r=this.getCoordinateFormat();e=r?r(l):l.toString()}}this.renderedHTML_&&e===this.renderedHTML_||(this.element.innerHTML=e,this.renderedHTML_=e)},e}(a.a);function d(t){var e=t.frameState;e?this.mapProjection_!=e.viewState.projection&&(this.mapProjection_=e.viewState.projection,this.transform_=null):this.mapProjection_=null}e.a=c},AjEG:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseSquawkControllerSquawkPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseSquawkControllerSquawk(t){return this.getOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseSquawkControllerSquawkPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseSquawkControllerSquawk(t){return this.replaceOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseSquawkControllerSquawkPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseSquawkControllerSquawk(t){return this.deleteOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseSquawkControllerSquawkPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseSquawkControllerSquawk(t){return this.updateOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseSquawkControllerSquawkPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseSquawkControllerSquawk(t){return this.getManyBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseSquawkControllerSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseSquawkControllerSquawk(t){return this.createOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseSquawkControllerSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseSquawkControllerSquawk(t){return this.createManyBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.ReplaceOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.DeleteOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.UpdateOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.GetManyBaseSquawkControllerSquawkPath="/squawk",t.CreateOneBaseSquawkControllerSquawkPath="/squawk",t.CreateManyBaseSquawkControllerSquawkPath="/squawk/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Al5c:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("8Y7J"),i=n("l5mm"),r=n("wd/R"),o=(n("w+w1"),n("978D"),n("qToJ"),n("Y4ja"));class a{constructor(t,e,n,i,r){this.settingService=t,this.timeService=e,this.domSanitizer=n,this.modeService=i,this.ref=r,this.toClose=new l.r,this.allAircraft=!0,this.subscriptions=[]}ngOnInit(){this.subscriptions.push(Object(i.a)(1e3).subscribe(t=>{const e=this.timeService.getDateReplay();this.timeNow=e?r(e).valueOf():r().valueOf(),this.ref.detectChanges()})),this.allAircraft=this.modeService.getModeMap()===o.a.ALL_AIRCRAFT,this.subscriptions.push(this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.allAircraft=t===o.a.ALL_AIRCRAFT,this.ref.detectChanges()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}close(){this.toClose.emit()}cleanURL(t){return this.domSanitizer.bypassSecurityTrustUrl(t)}}},Amq3:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var l=n("JW8z"),i=n("B2q1"),r=n("Ag9w"),o=n("pWiS"),a=n("OQAH"),s=(n("svHU"),n("G0WM"),n("w+w1")),u=(n("YGmB"),n("7/LY")),c=n("SYdj"),d=n("0Ba5");class h{constructor(t,e,n,i,r,o){this.route=t,this.mapService=e,this.mapElement=n,this.aircraftService=i,this.trafficService=r,this.selectAircraftService=o,this.measureControl=function(t){function e(e){var n=e||{},l=document.createElement("button");l.innerHTML='<ion-icon name="md-code-working"></ion-icon>';var i=document.createElement("div");i.id="measure-switch-div",i.className="measure-switch ol-unselectable ol-control",i.style["background-color"]="rgba( 255, 255, 255, .4 )",i.appendChild(l),t.call(this,{element:i,target:n.target}),l.addEventListener("click",this.handleMeasureTool.bind(this),!1)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.handleMeasureTool=function(){this.getMap().measureModeIsEnabled=!this.getMap().measureModeIsEnabled},e}(a.a),this.recenterBboxControl=function(t){function e(e){var n=e||{},l=document.createElement("button");l.innerHTML='<ion-icon name="md-qr-scanner"></ion-icon>';var i=document.createElement("div");i.className="reset-bbox ol-unselectable ol-control",i.appendChild(l),t.call(this,{element:i,target:n.target}),l.addEventListener("click",this.handleRecenterBbox.bind(this),!1)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.handleRecenterBbox=function(){const t=this.getMap();if(t.defaultBbox.zoom&&t.getView().setZoom(t.defaultBbox.zoom),t.defaultBbox.lon&&t.defaultBbox.lat){const e=Object(l.d)([parseFloat(t.defaultBbox.lon)||0,parseFloat(t.defaultBbox.lat)||0]);t.getView().setCenter(e)}},e}(a.a)}ngOnInit(){this.mapService.getMap().measureModeIsEnabled=!1,this.mapService.getMap().defaultBbox={zoom:null,lon:null,lat:null},this.mapService.getMap().setTarget(this.mapElement.nativeElement),this.setControl(),this.setMousePosition(),this.setCenterAndZoomMap(),this.readUrlQuery()}setCenterAndZoomMap(){if(this.lon&&this.lat){const t=Object(l.d)([parseFloat(this.lon)||0,parseFloat(this.lat)||0]);this.mapService.getView().setCenter(t),this.mapService.getMap().defaultBbox.lon=this.lon,this.mapService.getMap().defaultBbox.lat=this.lat}this.zoom&&(this.mapService.getView().setZoom(this.zoom),this.mapService.getMap().defaultBbox.zoom=this.zoom)}readUrlQuery(){this.route.queryParams.subscribe(t=>{if(t.center){const e=JSON.parse(t.center);this.mapService.getView().setCenter(e)}if(t.zoom){const e=JSON.parse(t.zoom);this.mapService.getView().setZoom(e)}if(t.context)try{const e=JSON.parse(t.context);this.setPermalinkContext(e)}catch(e){console.error(e)}})}setPermalinkContext(t){const e=Object.keys(t);this.aircraftService.aircraftControllerGetAircrafts({icaos:e}).subscribe(e=>{e.data.forEach(e=>{const n=new s.a(e);this.trafficService.addAircraft(n);const l=t[n.icao];l.status.indexOf(u.a.WATCH)>=0&&this.selectAircraftService.watchAircraft(n),l.status.indexOf(u.a.SELECT)>=0&&this.selectAircraftService.selectAircraft(n).then(()=>{l.status.indexOf(u.a.FOLLOW)>=0&&this.selectAircraftService.followAircraft(),l.status.indexOf(u.a.TRAJECTORY_LINE)>=0&&this.selectAircraftService.trajectoryLineAircraft(),l.status.indexOf(u.a.TRAJECTORY)>=0&&this.selectAircraftService.trajectoryAircraft(),l.status.indexOf(u.a.INTERCEPTION)>=0&&(this.selectAircraftService.interceptionAircraft(),l.metas.selectedPlot)&&this.selectAircraftService.getAircraftSelected().addMeta("selectedPlot",l.metas.selectedPlot)})})})}setControl(){this.mapService.getMap().addControl(new this.measureControl({})),this.mapService.getMap().addControl(new this.recenterBboxControl({})),this.mapService.getMap().addControl(new i.a({collapsible:!0}))}setMousePosition(){this.mapService.getMap().addControl(new r.a({coordinateFormat:t=>this.getCoordinates(t),projection:"EPSG:4326",undefinedHTML:"&nbsp;",target:this.positionEl.nativeElement}))}resizeMap(){this.mapService.getMap().updateSize()}getCoordinates(t){let e="";const n=c("latlong","mgrs",5);e+=d(t[1],t[0]).format("-dd"),e+="</br>",e+=d(t[1],t[0]).format("DD mmX ",{latLonSeparator:"",decimalPlaces:2}),e+="</br>",e+=Object(o.e)(t,0),e+="</br>";try{let l=n(t[1],t[0],5);l=l.slice(0,3)+" "+l.slice(3,5)+" "+l.slice(5,10)+" "+l.slice(10),e+=l}catch(l){e+="No MGRS 84\xb0N ,-80\xb0S"}return e}}},Aplp:function(t,e,n){"use strict";var l,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r={},o=0,a=0;function s(t){var e="";do{e=i[t%64]+e,t=Math.floor(t/64)}while(t>0);return e}function u(){var t=s(+new Date);return t!==l?(o=0,l=t):t+"."+s(o++)}for(;a<64;a++)r[i[a]]=a;u.encode=s,u.decode=function(t){var e=0;for(a=0;a<t.length;a++)e=64*e+r[t.charAt(a)];return e},t.exports=u},AvvY:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},AyJq:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return d}));var l=n("8Y7J"),i=(n("c9fC"),n("SVse")),r=(n("5Bek"),n("zMNK")),o=(n("8bJo"),n("omvX"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}}));function a(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function s(t){return l.Yb(2,[l.Ub(671088640,1,{_body:0}),l.Ob(null,0),(t()(),l.Db(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(t,e,n){var l=!0;return"@bodyExpansion.done"===e&&(l=!1!==t.component._bodyAnimationDone.next(n)&&l),l}),null,null)),(t()(),l.Db(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),l.Ob(null,1),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(6,212992,null,0,r.c,[l.m,l.Y],{portal:[0,"portal"]},null),l.Ob(null,2)],(function(t,e){t(e,6,0,e.component._portal)}),(function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)}))}var u=l.Bb({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component._getExpandedState())}))}function d(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),l.Ob(null,0),l.Ob(null,1),l.Ob(null,2),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,5,0,e.component._showToggle())}),null)}},Azqq:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return p}));var l=n("8Y7J"),i=(n("JjoW"),n("SVse")),r=n("QQfA"),o=n("IP0z"),a=(n("POq0"),n("zMNK"),n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("HsOI"),n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}}));function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function c(t){return l.Yb(0,[l.Ob(null,0),(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(3,16384,null,0,i.t,[l.Y,l.U,i.r],null,null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),l.Db(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"@transformPanel.done"===e&&(l=!1!==i._panelDoneAnimatingStream.next(n.toState)&&l),"keydown"===e&&(l=!1!==i._handleKeydown(n)&&l),l}),null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Ob(null,1)],(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function p(t){return l.Yb(2,[l.Ub(671088640,1,{trigger:0}),l.Ub(671088640,2,{panel:0}),l.Ub(671088640,3,{overlayDir:0}),(t()(),l.Db(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggle()&&l),l}),null,null)),l.Cb(4,16384,[["origin",4]],0,r.b,[l.p],null,null),(t()(),l.Db(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),l.Cb(6,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(8,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(10,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.Db(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,(function(t,e,n){var l=!0,i=t.component;return"backdropClick"===e&&(l=!1!==i.close()&&l),"attach"===e&&(l=!1!==i._onAttached()&&l),"detach"===e&&(l=!1!==i.close()&&l),l}),h)),l.Cb(14,671744,[[3,4]],0,r.a,[r.c,l.U,l.Y,r.j,[2,o.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,l.Pb(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}},B2q1:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("OQAH"),o=n("zX6e"),a=n("CZmH"),s=n("AdTM"),u=n("GvmM"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{element:document.createElement("div"),render:l.render||h,target:l.target})||this).ulElement_=document.createElement("ul"),n.collapsed_=void 0===l.collapsed||l.collapsed,n.overrideCollapsible_=void 0!==l.collapsible,n.collapsible_=void 0===l.collapsible||l.collapsible,n.collapsible_||(n.collapsed_=!1);var i=void 0!==l.className?l.className:"ol-attribution",r=void 0!==l.tipLabel?l.tipLabel:"Attributions",a=void 0!==l.collapseLabel?l.collapseLabel:"\xbb";"string"==typeof a?(n.collapseLabel_=document.createElement("span"),n.collapseLabel_.textContent=a):n.collapseLabel_=a;var u=void 0!==l.label?l.label:"i";"string"==typeof u?(n.label_=document.createElement("span"),n.label_.textContent=u):n.label_=u;var c=n.collapsible_&&!n.collapsed_?n.collapseLabel_:n.label_,d=document.createElement("button");d.setAttribute("type","button"),d.title=r,d.appendChild(c),d.addEventListener(s.a.CLICK,n.handleClick_.bind(n),!1);var p=n.element;return p.className=i+" "+o.e+" "+o.b+(n.collapsed_&&n.collapsible_?" "+o.a:"")+(n.collapsible_?"":" ol-uncollapsible"),p.appendChild(n.ulElement_),p.appendChild(d),n.renderedAttributions_=[],n.renderedVisible_=!0,n}return c(e,t),e.prototype.collectSourceAttributions_=function(t){for(var e={},n=[],l=t.layerStatesArray,i=0,r=l.length;i<r;++i){var o=l[i];if(Object(u.b)(o,t.viewState)){var a=o.layer.getSource();if(a){var s=a.getAttributions();if(s){var c=s(t);if(c)if(this.overrideCollapsible_||!1!==a.getAttributionsCollapsible()||this.setCollapsible(!1),Array.isArray(c))for(var d=0,h=c.length;d<h;++d)c[d]in e||(n.push(c[d]),e[c[d]]=!0);else c in e||(n.push(c),e[c]=!0)}}}}return n},e.prototype.updateElement_=function(t){if(t){var e=this.collectSourceAttributions_(t),n=e.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!Object(i.b)(e,this.renderedAttributions_)){Object(a.d)(this.ulElement_);for(var l=0,r=e.length;l<r;++l){var o=document.createElement("li");o.innerHTML=e[l],this.ulElement_.appendChild(o)}this.renderedAttributions_=e}}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},e.prototype.handleClick_=function(t){t.preventDefault(),this.handleToggle_()},e.prototype.handleToggle_=function(){this.element.classList.toggle(o.a),this.collapsed_?Object(a.g)(this.collapseLabel_,this.label_):Object(a.g)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_},e.prototype.getCollapsible=function(){return this.collapsible_},e.prototype.setCollapsible=function(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.collapsed_&&this.handleToggle_())},e.prototype.setCollapsed=function(t){this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()},e.prototype.getCollapsed=function(){return this.collapsed_},e}(r.a);function h(t){this.updateElement_(t.frameState)}e.a=d},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BBQo:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i}));var l=42,i=256},BF0p:function(t,e,n){"use strict";e.a={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},BJ1j:function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("Uhtb"),o=n("9iPr"),a=n("mrzG"),s=n("tYnX"),u=n("l2lA"),c=n("q7cr"),d=n("u2yf"),h=n("HEh+"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n){var l=t.call(this)||this;return l.maxDelta_=-1,l.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?l.setCoordinates(e,n):l.setFlatCoordinates(n,e),l}return p(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(i.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.e)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.d)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.getArea=function(){return Object(s.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinates=function(){return Object(d.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=Object(h.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,r.a.XY)},e.prototype.getType=function(){return o.a.LINEAR_RING},e.prototype.intersectsExtent=function(t){return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(a.a);e.a=f},BV1i:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("GS7A"),n("KCVW"),n("dvZr"),n("hOhj"),n("8Y7J"),n("XNiG"),n("xgIS"),n("VRyK"),n("pLZG"),n("1G5W"),n("/uUt"),n("lJxs"),n("IzEk"),n("JX91"),n("Kj3r");class l{}},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,l,i){var r=t+" ";switch(l){case"s":return n||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?r+(n||i?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?r+(n||i?"m\xedn\xfatur":"m\xedn\xfatum"):n?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return e(t)?r+(n||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?r+"dagar":r+(i?"daga":"d\xf6gum"):n?r+"dagur":r+(i?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?r+"m\xe1nu\xf0ir":r+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?r+"m\xe1nu\xf0ur":r+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||i?"\xe1r":"\xe1ri";case"yy":return e(t)?r+(n||i?"\xe1r":"\xe1rum"):r+(n||i?"\xe1r":"\xe1ri")}}t.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Blz8:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t,e){return null==t?"???":t}}},Bw0W:function(t,e,n){"use strict";e.a={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}},BxA5:function(t,e,n){"use strict";var l,i=n("WS2v"),r=n("4mld"),o=n("aY/Z"),a=n("zX6e"),s=n("CZmH"),u=n("Ho3V"),c=n("CvXi"),d=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e){var n=t.call(this)||this;n.options=e,n.id=e.id,n.insertFirst=void 0===e.insertFirst||e.insertFirst,n.stopEvent=void 0===e.stopEvent||e.stopEvent,n.element=document.createElement("div"),n.element.className=void 0!==e.className?e.className:"ol-overlay-container "+a.d,n.element.style.position="absolute";var l=e.autoPan;return l&&"object"!=typeof l&&(l={animation:e.autoPanAnimation,margin:e.autoPanMargin}),n.autoPan=l||!1,n.rendered={transform_:"",visible:!0},n.mapPostrenderListenerKey=null,n.addEventListener(Object(r.b)("element"),n.handleElementChanged),n.addEventListener(Object(r.b)("map"),n.handleMapChanged),n.addEventListener(Object(r.b)("offset"),n.handleOffsetChanged),n.addEventListener(Object(r.b)("position"),n.handlePositionChanged),n.addEventListener(Object(r.b)("positioning"),n.handlePositioningChanged),void 0!==e.element&&n.setElement(e.element),n.setOffset(void 0!==e.offset?e.offset:[0,0]),n.setPositioning(void 0!==e.positioning?e.positioning:o.a.TOP_LEFT),void 0!==e.position&&n.setPosition(e.position),n}return d(e,t),e.prototype.getElement=function(){return this.get("element")},e.prototype.getId=function(){return this.id},e.prototype.getMap=function(){return this.get("map")},e.prototype.getOffset=function(){return this.get("offset")},e.prototype.getPosition=function(){return this.get("position")},e.prototype.getPositioning=function(){return this.get("positioning")},e.prototype.handleElementChanged=function(){Object(s.d)(this.element);var t=this.getElement();t&&this.element.appendChild(t)},e.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&(Object(s.e)(this.element),Object(u.c)(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var t=this.getMap();if(t){this.mapPostrenderListenerKey=Object(u.a)(t,i.a.POSTRENDER,this.render,this),this.updatePixelPosition();var e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}},e.prototype.render=function(){this.updatePixelPosition()},e.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},e.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.performAutoPan()},e.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},e.prototype.setElement=function(t){this.set("element",t)},e.prototype.setMap=function(t){this.set("map",t)},e.prototype.setOffset=function(t){this.set("offset",t)},e.prototype.setPosition=function(t){this.set("position",t)},e.prototype.performAutoPan=function(){this.autoPan&&this.panIntoView(this.autoPan)},e.prototype.panIntoView=function(t){var e=this.getMap();if(e&&e.getTargetElement()&&this.get("position")){var n=this.getRect(e.getTargetElement(),e.getSize()),l=this.getElement(),i=this.getRect(l,[Object(s.c)(l),Object(s.b)(l)]),r=void 0===t.margin?20:t.margin;if(!Object(c.g)(n,i)){var o=i[0]-n[0],a=n[2]-i[2],u=i[1]-n[1],d=n[3]-i[3],h=[0,0];if(o<0?h[0]=o-r:a<0&&(h[0]=Math.abs(a)+r),u<0?h[1]=u-r:d<0&&(h[1]=Math.abs(d)+r),0!==h[0]||0!==h[1]){var p=e.getView().getCenterInternal(),f=e.getPixelFromCoordinateInternal(p),b=[f[0]+h[0],f[1]+h[1]],m=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(b),duration:m.duration,easing:m.easing})}}}},e.prototype.getRect=function(t,e){var n=t.getBoundingClientRect(),l=n.left+window.pageXOffset,i=n.top+window.pageYOffset;return[l,i,l+e[0],i+e[1]]},e.prototype.setPositioning=function(t){this.set("positioning",t)},e.prototype.setVisible=function(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)},e.prototype.updatePixelPosition=function(){var t=this.getMap(),e=this.getPosition();if(t&&t.isRendered()&&e){var n=t.getPixelFromCoordinate(e),l=t.getSize();this.updateRenderedPosition(n,l)}else this.setVisible(!1)},e.prototype.updateRenderedPosition=function(t,e){var n=this.element.style,l=this.getOffset(),i=this.getPositioning();this.setVisible(!0);var r=Math.round(t[0]+l[0])+"px",a=Math.round(t[1]+l[1])+"px",s="0%",u="0%";i==o.a.BOTTOM_RIGHT||i==o.a.CENTER_RIGHT||i==o.a.TOP_RIGHT?s="-100%":i!=o.a.BOTTOM_CENTER&&i!=o.a.CENTER_CENTER&&i!=o.a.TOP_CENTER||(s="-50%"),i==o.a.BOTTOM_LEFT||i==o.a.BOTTOM_CENTER||i==o.a.BOTTOM_RIGHT?u="-100%":i!=o.a.CENTER_LEFT&&i!=o.a.CENTER_CENTER&&i!=o.a.CENTER_RIGHT||(u="-50%");var c="translate("+s+", "+u+") translate("+r+", "+a+")";this.rendered.transform_!=c&&(this.rendered.transform_=c,n.transform=c,n.msTransform=c)},e.prototype.getOptions=function(){return this.options},e}(r.a);e.a=h},ByF4:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BzsH:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("Xd0L");class l{}},C2QD:function(t,e){function n(t){this.ms=(t=t||{}).min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},CIKq:function(t,e,n){var l,i,r=n("Gbct"),o=n("Wm4p"),a=n("TypT"),s=n("Yvos"),u=n("Aplp"),c=n("HjK1")("engine.io-client:websocket");if("undefined"!=typeof WebSocket?l=WebSocket:"undefined"!=typeof self&&(l=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{i=n(1)}catch(p){}var d=l||i;function h(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=l&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(d=i),r.call(this,t)}t.exports=h,s(h,r),h.prototype.name="websocket",h.prototype.supportsBinary=!0,h.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={};this.isReactNative||(n.agent=this.agent,n.perMessageDeflate=this.perMessageDeflate,n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new d(t,e):new d(t):new d(t,e,n)}catch(l){return this.emit("error",l)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},h.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},h.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,l=0,i=n;l<i;l++)!function(t){o.encodePacket(t,e.supportsBinary,(function(l){if(!e.usingBrowserWebSocket){var i={};t.options&&(i.compress=t.options.compress),e.perMessageDeflate&&("string"==typeof l?Buffer.byteLength(l):l.length)<e.perMessageDeflate.threshold&&(i.compress=!1)}try{e.usingBrowserWebSocket?e.ws.send(l):e.ws.send(l,i)}catch(p){c("websocket closed before onclose event")}--n||(e.emit("flush"),setTimeout((function(){e.writable=!0,e.emit("drain")}),0))}))}(t[l])},h.prototype.onClose=function(){r.prototype.onClose.call(this)},h.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},h.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",n="";return this.port&&("wss"===e&&443!==Number(this.port)||"ws"===e&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=u()),this.supportsBinary||(t.b64=1),(t=a.encode(t)).length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t},h.prototype.check=function(){return!(!d||"__initialize"in d&&this.name===h.prototype.name)}},CJuc:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.ReplaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.DeleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.UpdateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.GetManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area",t.CreateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area",t.CreateManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},CUme:function(t,e,n){var l=n("Gbct"),i=n("TypT"),r=n("Wm4p"),o=n("Yvos"),a=n("Aplp"),s=n("HjK1")("engine.io-client:polling");t.exports=c;var u=null!=new(n("AdPF"))({xdomain:!1}).responseType;function c(t){u&&!(t&&t.forceBase64)||(this.supportsBinary=!1),l.call(this,t)}o(c,l),c.prototype.name="polling",c.prototype.doOpen=function(){this.poll()},c.prototype.pause=function(t){var e=this;function n(){s("paused"),e.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var l=0;this.polling&&(s("we are currently polling - waiting to pause"),l++,this.once("pollComplete",(function(){s("pre-pause polling complete"),--l||n()}))),this.writable||(s("we are currently writing - waiting to pause"),l++,this.once("drain",(function(){s("pre-pause writing complete"),--l||n()})))}else n()},c.prototype.poll=function(){s("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},c.prototype.onData=function(t){var e=this;s("polling got data %s",t),r.decodePayload(t,this.socket.binaryType,(function(t,n,l){if("opening"===e.readyState&&"open"===t.type&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():s('ignoring poll - transport state "%s"',this.readyState))},c.prototype.doClose=function(){var t=this;function e(){s("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(s("transport open - closing"),e()):(s("transport not open - deferring close"),this.once("open",e))},c.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit("drain")};r.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},c.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(t[this.timestampParam]=a()),this.supportsBinary||t.sid||(t.b64=1),t=i.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(n=":"+this.port),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t}},CZmH:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"g",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"f",(function(){return c}));var l=n("YX0d");function i(t,e,n){var i=n&&n.length?n.shift():l.g?new OffscreenCanvas(t||300,e||300):document.createElement("canvas");return t&&(i.width=t),e&&(i.height=e),i.getContext("2d")}function r(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+(parseInt(n.marginLeft,10)+parseInt(n.marginRight,10))}function o(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+(parseInt(n.marginTop,10)+parseInt(n.marginBottom,10))}function a(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function s(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function u(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function c(t,e){for(var n=t.childNodes,l=0;;++l){var i=n[l],r=e[l];if(!i&&!r)break;i!==r&&(i?r?t.insertBefore(r,i):(t.removeChild(i),--l):t.appendChild(r))}}},Ca9r:function(t,e,n){"use strict";var l,i=n("GvmM"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e){return t.call(this,e||{})||this}return r(e,t),e}(i.a),a=n("pQSv"),s=n("SW/M"),u=n("CvXi"),c=n("JW8z"),d=n("E35u"),h=n("qJZF"),p=n("3er3"),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),b=function(t){function e(e){var n=t.call(this,e)||this;return n.image_=null,n}return f(e,t),e.prototype.getImage=function(){return this.image_?this.image_.getImage():null},e.prototype.prepareFrame=function(t){var e=t.layerStatesArray[t.layerIndex],n=t.pixelRatio,l=t.viewState,i=l.resolution,r=this.getLayer().getSource(),o=t.viewHints,d=t.extent;if(void 0!==e.extent&&(d=Object(u.B)(d,Object(c.f)(e.extent,l.projection))),!o[s.a.ANIMATING]&&!o[s.a.INTERACTING]&&!Object(u.H)(d))if(r){var h=l.projection;if(!a.a){var p=r.getProjection();p&&(h=p)}var f=r.getImage(d,i,n,h);f&&this.loadImage(f)&&(this.image_=f)}else this.image_=null;return!!this.image_},e.prototype.renderFrame=function(t,e){var n=this.image_,l=n.getExtent(),i=n.getResolution(),r=n.getPixelRatio(),o=t.layerStatesArray[t.layerIndex],a=t.pixelRatio,s=t.viewState,d=s.center,f=t.size,b=a*i/(s.resolution*r),m=Math.round(f[0]*a),g=Math.round(f[1]*a),_=s.rotation;if(_){var y=Math.round(Math.sqrt(m*m+g*g));m=y,g=y}Object(h.b)(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/a,1/a,_,-m/2,-g/2),Object(h.d)(this.inversePixelTransform,this.pixelTransform);var A=Object(p.b)(this.pixelTransform);this.useContainer(e,A,o.opacity);var v=this.context,C=v.canvas;C.width!=m||C.height!=g?(C.width=m,C.height=g):this.containerReused||v.clearRect(0,0,m,g);var w=!1;if(o.extent){var P=Object(c.f)(o.extent,s.projection);(w=!Object(u.g)(P,t.extent)&&Object(u.F)(P,t.extent))&&this.clipUnrotated(v,t,P)}var x=n.getImage(),S=Object(h.b)(this.tempTransform_,m/2,g/2,b,b,0,r*(l[0]-d[0])/i,r*(d[1]-l[3])/i);this.renderedResolution=i*a/r;var k=S[4],M=S[5],O=x.width*S[0],D=x.height*S[3];if(this.preRender(v,t),O>=.5&&D>=.5){var T=o.opacity,E=void 0;1!==T&&(E=this.context.globalAlpha,this.context.globalAlpha=T),this.context.drawImage(x,0,0,+x.width,+x.height,Math.round(k),Math.round(M),Math.round(O),Math.round(D)),1!==T&&(this.context.globalAlpha=E)}return this.postRender(v,t),w&&v.restore(),A!==C.style.transform&&(C.style.transform=A),this.container},e}(d.a),m=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),g=function(t){function e(e){return t.call(this,e)||this}return m(e,t),e.prototype.createRenderer=function(){return new b(this)},e}(o),_=n("wtMG"),y=n("4mld"),A=function(t){y.a.call(this,t=t||{}),this.size_=t.size||8e4,this.origin_=t.origin||[0,0],this.layout_=this.layout[t.layout]||this.layout.pointy};Object(_.a)(A,y.a),A.prototype.layout={pointy:[Math.sqrt(3),Math.sqrt(3)/2,0,1.5,Math.sqrt(3)/3,-1/3,0,2/3,Math.cos(Math.PI/180*30),Math.sin(Math.PI/180*30),Math.cos(Math.PI/180*90),Math.sin(Math.PI/180*90),Math.cos(Math.PI/180*150),Math.sin(Math.PI/180*150),Math.cos(Math.PI/180*210),Math.sin(Math.PI/180*210),Math.cos(Math.PI/180*270),Math.sin(Math.PI/180*270),Math.cos(Math.PI/180*330),Math.sin(Math.PI/180*330)],flat:[1.5,0,Math.sqrt(3)/2,Math.sqrt(3),2/3,0,-1/3,Math.sqrt(3)/3,Math.cos(Math.PI/180*0),Math.sin(Math.PI/180*0),Math.cos(Math.PI/180*60),Math.sin(Math.PI/180*60),Math.cos(Math.PI/180*120),Math.sin(Math.PI/180*120),Math.cos(Math.PI/180*180),Math.sin(Math.PI/180*180),Math.cos(Math.PI/180*240),Math.sin(Math.PI/180*240),Math.cos(Math.PI/180*300),Math.sin(Math.PI/180*300)]},A.prototype.setLayout=function(t){this.layout_=this.layout[t]||this.layout.pointy,this.changed()},A.prototype.getLayout=function(){return 0!=this.layout_[9]?"pointy":"flat"},A.prototype.setOrigin=function(t){this.origin_=t,this.changed()},A.prototype.getOrigin=function(){return this.origin_},A.prototype.setSize=function(t){this.size_=t||8e4,this.changed()},A.prototype.getSize=function(){return this.size_},A.prototype.cube2hex=function(t){return[t[0],t[2]]},A.prototype.hex2cube=function(t){return[t[0],-t[0]-t[1],t[1]]},A.prototype.hex2offset=function(t){return this.layout_[9]?[t[0]+(t[1]-(1&t[1]))/2,t[1]]:[t[0],t[1]+(t[0]+(1&t[0]))/2]},A.prototype.offset2hex=function(t){return this.layout_[9]?[t[0]-(t[1]-(1&t[1]))/2,t[1]]:[t[0],t[1]-(t[0]+(1&t[0]))/2]},A.prototype.cube_round=function(t){var e=Math.round(t[0]),n=Math.round(t[1]),l=Math.round(t[2]),i=Math.abs(e-t[0]),r=Math.abs(n-t[1]),o=Math.abs(l-t[2]);return i>r&&i>o?e=-n-l:r>o?n=-e-l:l=-e-n,[e,n,l]},A.prototype.hex_round=function(t){return this.cube2hex(this.cube_round(this.hex2cube(t)))},A.prototype.hex_corner=function(t,e,n){return[t[0]+e*this.layout_[8+n%6*2],t[1]+e*this.layout_[9+n%6*2]]},A.prototype.getHexagonAtCoord=function(t){return this.getHexagon(this.coord2hex(t))},A.prototype.getHexagon=function(t){for(var e=[],n=this.hex2coord(t),l=0;l<=7;l++)e.push(this.hex_corner(n,this.size_,l,this.layout_[8]));return e},A.prototype.hex2coord=function(t){return[this.origin_[0]+this.size_*(this.layout_[0]*t[0]+this.layout_[1]*t[1]),this.origin_[1]+this.size_*(this.layout_[2]*t[0]+this.layout_[3]*t[1])]},A.prototype.coord2hex=function(t){var e=[(t[0]-this.origin_[0])/this.size_,(t[1]-this.origin_[1])/this.size_];return this.hex_round([this.layout_[4]*e[0]+this.layout_[5]*e[1],this.layout_[6]*e[0]+this.layout_[7]*e[1]])},A.prototype.cube_distance=function(t,e){return Math.max(Math.abs(t[0]-e[0]),Math.abs(t[1]-e[1]),Math.abs(t[2]-e[2]))},function(){function t(t,e,n){return t+(e-t)*n}function e(e,n,l){return[t(e[0]+1e-6,n[0],l),t(e[1]+1e-6,n[1],l),t(e[2]+1e-6,n[2],l)]}A.prototype.cube_line=function(t,n){var l=this.cube_distance(t,n);if(!l)return[t];for(var i=[],r=0;r<=l;r++)i.push(this.cube_round(e(t,n,r/l)));return i}}(),A.prototype.neighbors={cube:[[1,-1,0],[1,0,-1],[0,1,-1],[-1,1,0],[-1,0,1],[0,-1,1]],hex:[[1,0],[1,-1],[0,-1],[-1,0],[-1,1],[0,1]]},A.prototype.hex_neighbors=function(t,e){if(void 0!==e)return[t[0]+this.neighbors.hex[e%6][0],t[1]+this.neighbors.hex[e%6][1]];var n=[];for(e=0;e<6;e++)n.push([t[0]+this.neighbors.hex[e][0],t[1]+this.neighbors.hex[e][1]]);return n},A.prototype.cube_neighbors=function(t,e){if(void 0!==e)return[t[0]+this.neighbors.cube[e%6][0],t[1]+this.neighbors.cube[e%6][1],t[2]+this.neighbors.cube[e%6][2]];var n=[];for(e=0;e<6;e++)n.push([t[0]+this.neighbors.cube[e][0],t[1]+this.neighbors.cube[e][1],t[2]+this.neighbors.cube[e][2]]);for(e=0;e<6;e++)n[e]=this.cube2hex(n[e]);return n};var v=A,C=n("h3hZ"),w=n("hp/u"),P=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),x=function(t){function e(e,n,l,i,r){var o=this;return(o=t.call(this,e,n,l,void 0!==r?w.a.IDLE:w.a.LOADED)||this).loader_=void 0!==r?r:null,o.canvas_=i,o.error_=null,o}return P(e,t),e.prototype.getError=function(){return this.error_},e.prototype.handleLoad_=function(t){t?(this.error_=t,this.state=w.a.ERROR):this.state=w.a.LOADED,this.changed()},e.prototype.load=function(){this.state==w.a.IDLE&&(this.state=w.a.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))},e.prototype.getImage=function(){return this.canvas_},e}(C.a),S=n("EwAT"),k=n("n15R"),M=n("zvco"),O=n("Ho3V"),D=n("AdTM"),T=n("PIFQ"),E=n("tzl+"),I=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),L=function(t){function e(e,n,l,i,r,o){var s=this,c=e.getExtent(),d=n.getExtent(),h=d?Object(u.B)(l,d):l,p=Object(u.x)(h),f=Object(T.a)(e,n,p,i),b=new E.a(e,n,h,c,f*a.b,i),m=o(b.calculateSourceExtent(),f,r),g=m?w.a.IDLE:w.a.EMPTY,_=m?m.getPixelRatio():1;return(s=t.call(this,l,i,_,g)||this).targetProj_=n,s.maxSourceExtent_=c,s.triangulation_=b,s.targetResolution_=i,s.targetExtent_=l,s.sourceImage_=m,s.sourcePixelRatio_=_,s.canvas_=null,s.sourceListenerKey_=null,s}return I(e,t),e.prototype.disposeInternal=function(){this.state==w.a.LOADING&&this.unlistenSource_(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.canvas_},e.prototype.getProjection=function(){return this.targetProj_},e.prototype.reproject_=function(){var t=this.sourceImage_.getState();if(t==w.a.LOADED){var e=Object(u.E)(this.targetExtent_)/this.targetResolution_,n=Object(u.A)(this.targetExtent_)/this.targetResolution_;this.canvas_=Object(T.b)(e,n,this.sourcePixelRatio_,this.sourceImage_.getResolution(),this.maxSourceExtent_,this.targetResolution_,this.targetExtent_,this.triangulation_,[{extent:this.sourceImage_.getExtent(),image:this.sourceImage_.getImage()}],0)}this.state=t,this.changed()},e.prototype.load=function(){if(this.state==w.a.IDLE){this.state=w.a.LOADING,this.changed();var t=this.sourceImage_.getState();t==w.a.LOADED||t==w.a.ERROR?this.reproject_():(this.sourceListenerKey_=Object(O.a)(this.sourceImage_,D.a.CHANGE,(function(t){var e=this.sourceImage_.getState();e!=w.a.LOADED&&e!=w.a.ERROR||(this.unlistenSource_(),this.reproject_())}),this),this.sourceImage_.load())}},e.prototype.unlistenSource_=function(){Object(O.c)(this.sourceListenerKey_),this.sourceListenerKey_=null},e}(C.a),j=n("/4Cu"),R=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),F=function(t){function e(e,n){var l=t.call(this,e)||this;return l.image=n,l}return R(e,t),e}(M.a),N=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,projection:e.projection,state:e.state})||this;return n.resolutions_=void 0!==e.resolutions?e.resolutions:null,n.reprojectedImage_=null,n.reprojectedRevision_=0,n}return R(e,t),e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.findNearestResolution=function(t){if(this.resolutions_){var e=Object(k.f)(this.resolutions_,t,0);t=this.resolutions_[e]}return t},e.prototype.getImage=function(t,e,n,l){var i=this.getProjection();if(a.a&&i&&l&&!Object(c.c)(i,l)){if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&Object(c.c)(this.reprojectedImage_.getProjection(),l)&&this.reprojectedImage_.getResolution()==e&&Object(u.p)(this.reprojectedImage_.getExtent(),t))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new L(i,l,t,e,n,(function(t,e,n){return this.getImageInternal(t,e,n,i)}).bind(this)),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}return i&&(l=i),this.getImageInternal(t,e,n,l)},e.prototype.getImageInternal=function(t,e,n,l){return Object(S.b)()},e.prototype.handleImageChange=function(t){var e=t.target;switch(e.getState()){case w.a.LOADING:this.loading=!0,this.dispatchEvent(new F("imageloadstart",e));break;case w.a.LOADED:this.loading=!1,this.dispatchEvent(new F("imageloadend",e));break;case w.a.ERROR:this.loading=!1,this.dispatchEvent(new F("imageloaderror",e))}},e}(j.a),Y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),U=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{attributions:l.attributions,projection:l.projection,resolutions:l.resolutions,state:l.state})||this).canvasFunction_=l.canvasFunction,n.canvas_=null,n.renderedRevision_=0,n.ratio_=void 0!==l.ratio?l.ratio:1.5,n}return Y(e,t),e.prototype.getImageInternal=function(t,e,n,l){e=this.findNearestResolution(e);var i=this.canvas_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==e&&i.getPixelRatio()==n&&Object(u.g)(i.getExtent(),t))return i;t=t.slice(),Object(u.J)(t,this.ratio_);var r=Object(u.E)(t)/e,o=Object(u.A)(t)/e,a=this.canvasFunction_.call(this,t,e,n,[r*n,o*n],l);return a&&(i=new x(t,e,n,a)),this.canvas_=i,this.renderedRevision_=this.getRevision(),i},e}(N),B=function(t){t=t||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.grid=t.hexGrid,this.grid.on("change",this.changed.bind(this)),U.call(this,{canvasFunction:this.drawHex})};Object(_.a)(B,U),B.prototype.drawHexagon=function(t,e,n,l,i,r,o){var a;t.beginPath(),r=r||6,o=o||0;for(var s=i=i||0;s<=r;s++)a=this.grid.hex_corner(e,n-o,s),s!=i?t.lineTo(a[0],a[1]):t.moveTo(a[0],a[1]);t.stroke(),l&&t.fill()},B.prototype.showCoordiantes=function(t){this.coordinates_=t,this.changed()},B.prototype.drawHex=function(t,e,n,l){var i,r,o,a,s,u=this.canvas.width=l[0],c=this.canvas.height=l[1];this.extent=t;var d=this.grid.getSize()/e;if(d<8){var h=document.createElement("canvas");i=h.getContext("2d");var p=2*Math.sqrt(3)*d*n*10,f=3*d*n*10;h.width=Math.round(p),h.height=Math.round(f),i.scale(n,n),i.lineWidth=1.5,i.fillStyle="transparent";var b=this.grid.coord2hex([t[0],t[3]]);for(r=-10;r<22;r++)for(o=-3;o<22;o++)(a=this.grid.hex2coord([b[0]+r,b[1]+o]))[0]=(a[0]-t[0])/e,a[1]=h.height-(a[1]-t[3])/e,i.strokeStyle="rgba(0,0,0,0.5)",this.drawHexagon(i,a,d,0,3),i.strokeStyle="rgba(255,255,255,0.8)",this.drawHexagon(i,a,d,!1,2,5,2),i.strokeStyle="rgba(0,0,0,0.3)",this.drawHexagon(i,a,d,!1,5,8,2);var m=document.createElement("canvas");i=m.getContext("2d"),m.width=Math.round(u+(p-h.width)*Math.floor(u/h.width)),m.height=Math.round(c+(f-h.height)*Math.floor(c/h.height)),i.fillStyle=i.createPattern(h,"repeat"),i.fillRect(0,0,m.width,m.height),this.context.drawImage(m,0,0,u,c,0,0,m.width,m.height)}else{(i=this.context).save();var g=this.grid.hex2offset(this.grid.coord2hex([t[0],t[1]])),_=this.grid.hex2offset(this.grid.coord2hex([t[2],t[3]]));for(i.scale(n,n),i.lineWidth=1.5,i.textAlign="center",i.textBaseline="middle",i.font="bold 12px Arial",r=g[0]-1;r<=_[0]+1;r++)for(o=g[1]-1;o<=_[1]+1;o++){var y=this.grid.offset2hex([r,o],this.layout_);if((a=this.grid.hex2coord(y))[0]=(a[0]-t[0])/e,a[1]=c/n-(a[1]-t[1])/e,i.strokeStyle="rgba(0,0,0,0.25)",this.drawHexagon(i,a,d),i.strokeStyle="rgba(255,255,255,0.8)",this.drawHexagon(i,a,d,!1,2,5,2),i.strokeStyle="rgba(0,0,0,0.3)",this.drawHexagon(i,a,d,!1,5,8,2),d>20)switch(this.coordinates_){case"axial":i.fillText(y[0]+","+y[1],a[0],a[1]);break;case"cube":s=this.grid.hex2cube(y);for(var A=0;A<3;A++){var v=-Math.PI/180*(120*A+30);i.fillText(s[A],a[0]+Math.cos(v)*d*.5,a[1]+Math.sin(v)*d*.5)}break;case"offset":s=this.grid.hex2offset(y),i.fillText(s[0]+","+s[1],a[0],a[1])}}i.restore()}return this.canvas};var z=B,G=n("TN97"),H=n("9ANI"),V=n("W8M7"),q=n("bHcU"),W=n("hoJM"),$=n("g6Z0"),X=n("gpXz"),K=n("wd/R"),J=n("WVt+"),Q=n("ppab");n("svHU"),n.d(e,"a",(function(){return Z}));class Z extends Q.a{constructor(t){super(),this.mapService=t,this.greatLineCirclesOfSector=[],this.extentFactor=1.3,this.previous={coords:null,speed:null,altitude:null,vsi:null},this.hexGrid=new v,this.hexGrid.setLayout("flat"),console.log("hexGrid:",this.hexGrid)}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayHexMap(t,e,n,l){const i=Object(c.d)([t.longitude,t.latitude]),r=this.kilometersPerHourToMetersPerMinute(this.knotsTokilometersPerHour(t.speed));1==(!this.previous.coords||this.previous.coords.join("|")!==[t.longitude,t.latitude].join("|")||this.previous.speed!==t.speed||this.previous.altitude!==t.altitude||this.previous.vsi!==t.vsi)&&(this.removeHexMap(),i!==this.hexGrid.getOrigin()&&this.hexGrid.setOrigin(i),r!==this.hexGrid.getSize()&&this.hexGrid.setSize(r),this.getContext(e,t,n,l),this.previous.coords=[t.longitude,t.latitude],this.previous.speed=t.speed,this.previous.altitude=t.altitude,this.previous.vsi=t.vsi)}getContext(t,e,n,l){const i=K().valueOf(),r=e.track||0,o=[e.longitude||0,e.latitude||0],a=J.point(o),s=Object(c.m)(t),u=J.point(s),d=this.getGrid(a,o,u,n,r),h=this.getCells(d,a,u,t,l);return console.log("- Total duration :",(K().valueOf()-i)/1e3,"sec"),h}getGrid(t,e,n,l,i){const r=this.buildExtent(e,t,n,this.extentFactor),o=J.bboxPolygon(r),a=this.getCubeLine(o.geometry.coordinates[0][0],o.geometry.coordinates[0][1]),s=this.getCubeLine(o.geometry.coordinates[0][3],o.geometry.coordinates[0][2]),u=this.getCursors(a,s),c=this.getRotatedFeatures(u,a,s,e,i);return this.getSectorContext(c,t,l)}getCells(t,e,n,l,i){const r=new H.a(l),o=t.map(t=>{const l=[t.geometry.coordinates[0].map(t=>Object(c.d)(t))],o=new V.a(l),a=new G.a({geometry:o});a.set("distance:",J.distance(e,n)),a.set("minute:",t.properties.minute);const s=!!a.getGeometry().intersectsExtent(r.getExtent());return a.setStyle(this.getSectorStyle(t.properties.minute,s,i)),a});return o.length&&this.source.addFeatures(o),o}getCubeLine(t,e){return this.hexGrid.cube_line(this.hexGrid.hex2cube(this.hexGrid.coord2hex(Object(c.d)(t))),this.hexGrid.hex2cube(this.hexGrid.coord2hex(Object(c.d)(e))))}getCursors(t,e){let n=t.length;return n!==e.length&&e.length<t.length&&(n=e.length),{start:Math.round(n/10*3),stop:Math.round(n-n/10*3)}}getSectorContext(t,e,n){let l={};const i=J.lineString(n);return t.forEach(t=>{J.booleanCrosses(i,t)&&(l[JSON.stringify(t.geometry.coordinates)]=t,this.greatLineCirclesOfSector.push(J.greatCircle(e,J.centroid(t))))}),t.forEach(t=>{l[JSON.stringify(t.geometry.coordinates)]||this.greatLineCirclesOfSector.some(e=>J.booleanCrosses(e,t))&&(l[JSON.stringify(t.geometry.coordinates)]=t)}),Object.values(l)}getRotatedFeatures(t,e,n,l,i){const r=[],o=this.hexGrid.hex2cube(this.hexGrid.coord2hex(this.hexGrid.getOrigin())),a=i>=0&&i<=180?i:-(360-i);for(let s=t.start;s<t.stop;s++){const t=this.hexGrid.cube_line(n[s],e[s]);let i=0;t.forEach(e=>{if(i+=1,i<=t.length/(2/this.extentFactor)){const t=this.hexGrid.cube_distance(e,o),n=this.hexGrid.getHexagon(this.hexGrid.cube2hex(e)),i=this.polygonTransform([n.slice(0,n.length-1)],"EPSG:3857","EPSG:4326"),s=J.polygon(i,{minute:t}),u=J.transformRotate(s,a,{pivot:l});r.push(u)}})}return r}buildExtent(t,e,n,l){l||(l=1);const i=J.distance(e,n),r=J.circle(t,i*l,{steps:256});return J.bbox(r)}removeHexMap(){super.getVectorSource().clear(),this.gridLayer&&(this.getGridLayer().clear(),this.gridLayer=void 0),this.gridSource=void 0,this.greatLineCirclesOfSector=[]}getSectorStyle(t,e,n){let l={stroke:new W.a(!0===e&&!0===n?{color:"white",width:2.5}:{color:"black",width:1})};return null!=t&&(l.text=new X.a({text:String(t),fill:new $.a({color:"white",opacity:.8})})),new q.b(l)}getGridLayer(){return this.gridLayer||(this.gridLayer=new g({source:this.getGridSource(),projection:"EPSG:3857",render:"image"}),this.gridLayer.setVisible(!1)),this.gridLayer}getGridSource(){return this.gridSource||(this.gridSource=new z({hexGrid:this.hexGrid})),this.gridSource}polygonTransform(t,e,n){for(let l in t)for(let i in t[l])t[l][i]=Object(c.p)(t[l][i],e,n);return t}knotsTokilometersPerHour(t){return 1.852*t}kilometersPerHourToMetersPerMinute(t){return t/.06}}},Cfvw:function(t,e,n){"use strict";var l=n("HDdC"),i=n("SeVD"),r=n("quSY"),o=n("kJWO"),a=n("jZKg"),s=n("Lhse"),u=n("c2HN"),c=n("I55L");function d(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new l.a(n=>{const l=new r.a;return l.add(e.schedule(()=>{const i=t[o.a]();l.add(i.subscribe({next(t){l.add(e.schedule(()=>n.next(t)))},error(t){l.add(e.schedule(()=>n.error(t)))},complete(){l.add(e.schedule(()=>n.complete()))}}))})),l})}(t,e);if(Object(u.a)(t))return function(t,e){return new l.a(n=>{const l=new r.a;return l.add(e.schedule(()=>t.then(t=>{l.add(e.schedule(()=>{n.next(t),l.add(e.schedule(()=>n.complete()))}))},t=>{l.add(e.schedule(()=>n.error(t)))}))),l})}(t,e);if(Object(c.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new l.a(n=>{const l=new r.a;let i;return l.add(()=>{i&&"function"==typeof i.return&&i.return()}),l.add(e.schedule(()=>{i=t[s.a](),l.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(l){return void n.error(l)}e?n.complete():(n.next(t),this.schedule())})))})),l})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof l.a?t:new l.a(Object(i.a)(t))}n.d(e,"a",(function(){return d}))},CgXW:function(t,e,n){var l,i,r;i=[n("Rj0l")],void 0===(r="function"==typeof(l=function(t){"use strict";var e={};function n(n,l,i){var r,o,a,s,u,c,d,h,p,f,b,m={};if(n=parseFloat(n),l=parseFloat(l),n>84||n<-80)return"undefined";if(l>180||l<-180||n>90||n<-90)throw"Bad input. lat: "+n+" lon: "+l;return o=n*e.DEG_2_RAD,a=l*e.DEG_2_RAD,s=(6*((r=i||t.getZoneNumber(n,l))-1)-180+3)*e.DEG_2_RAD,d=e.EQUATORIAL_RADIUS/Math.sqrt(1-e.ECC_SQUARED*Math.pow(Math.sin(o),2)),h=Math.pow(Math.tan(o),2),p=e.ECC_PRIME_SQUARED*Math.pow(Math.cos(o),2),f=Math.cos(o)*(a-s),b=e.EQUATORIAL_RADIUS*((1-e.ECC_SQUARED/4-e.ECC_SQUARED*e.ECC_SQUARED*3/64-e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED*5/256)*o-(3*e.ECC_SQUARED/8+3*e.ECC_SQUARED*e.ECC_SQUARED/32+45*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/1024)*Math.sin(2*o)+(15*e.ECC_SQUARED*e.ECC_SQUARED/256+45*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/1024)*Math.sin(4*o)-35*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/3072*Math.sin(6*o)),u=e.k0*d*(f+(1-h+p)*(f*f*f)/6+f*f*f*f*f*(5-18*h+h*h+72*p-58*e.ECC_PRIME_SQUARED)/120)+e.EASTING_OFFSET,(c=e.k0*(b+d*Math.tan(o)*(f*f/2+f*f*f*f*(5-h+9*p+4*p*p)/2+f*f*f*f*f*f*(61-58*h+h*h+600*p-330*e.ECC_PRIME_SQUARED)/720)))<0&&(c+=1e7),m.easting=Math.round(u),m.northing=Math.round(c),m.zoneNumber=r,m.zoneLetter=t.utmLetterDesignator(n),m.hemisphere=n<0?"S":"N",m}return function(l){return e=l,t=t(l),n}})?l.apply(e,i):l)||(t.exports=r)},CjzT:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},Cl5A:function(t,e,n){var l=n("CUme"),i=n("Yvos"),r=n("2UHX");t.exports=c;var o,a=/\n/g,s=/\\n/g;function u(){}function c(t){l.call(this,t),this.query=this.query||{},o||(o=r.___eio=r.___eio||[]),this.index=o.length;var e=this;o.push((function(t){e.onData(t)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){e.script&&(e.script.onerror=u)}),!1)}i(c,l),c.prototype.supportsBinary=!1,c.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),l.prototype.doClose.call(this)},c.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},c.prototype.doWrite=function(t,e){var n=this;if(!this.form){var l,i=document.createElement("form"),r=document.createElement("textarea"),o=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=o,i.method="POST",i.setAttribute("accept-charset","utf-8"),r.name="d",i.appendChild(r),document.body.appendChild(i),this.form=i,this.area=r}function u(){c(),e()}function c(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(t){n.onError("jsonp polling iframe removal error",t)}try{l=document.createElement('<iframe src="javascript:0" name="'+n.iframeId+'">')}catch(t){(l=document.createElement("iframe")).name=n.iframeId,l.src="javascript:0"}l.id=n.iframeId,n.form.appendChild(l),n.iframe=l}this.form.action=this.uri(),c(),t=t.replace(s,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(d){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&u()}:this.iframe.onload=u}},CoRJ:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},Cp04:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("n15R"),i=n("JfHk");function r(t,e,n,r,o,a,s){for(var u,c,d,h,p,f,b,m=o[a+1],g=[],_=0,y=n.length;_<y;++_){var A=n[_];for(h=t[A-r],f=t[A-r+1],u=e;u<A;u+=r)p=t[u],b=t[u+1],(m<=f&&b<=m||f<=m&&m<=b)&&g.push(d=(m-f)/(b-f)*(p-h)+h),h=p,f=b}var v=NaN,C=-1/0;for(g.sort(l.g),h=g[0],u=1,c=g.length;u<c;++u){p=g[u];var w=Math.abs(p-h);w>C&&(d=(h+p)/2,Object(i.c)(t,e,n,r,d,m)&&(v=d,C=w)),h=p}return isNaN(v)&&(v=o[a]),s?(s.push(v,m,C),s):[v,m,C]}function o(t,e,n,l,i){for(var o=[],a=0,s=n.length;a<s;++a){var u=n[a];o=r(t,e,u,l,i,2*a,o),e=u[u.length-1]}return o}},CvXi:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return d})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return p})),n.d(e,"j",(function(){return f})),n.d(e,"k",(function(){return b})),n.d(e,"l",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"n",(function(){return _})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return A})),n.d(e,"q",(function(){return v})),n.d(e,"r",(function(){return C})),n.d(e,"s",(function(){return w})),n.d(e,"t",(function(){return x})),n.d(e,"u",(function(){return S})),n.d(e,"v",(function(){return k})),n.d(e,"w",(function(){return M})),n.d(e,"x",(function(){return O})),n.d(e,"y",(function(){return D})),n.d(e,"z",(function(){return T})),n.d(e,"A",(function(){return E})),n.d(e,"B",(function(){return I})),n.d(e,"C",(function(){return L})),n.d(e,"D",(function(){return j})),n.d(e,"E",(function(){return R})),n.d(e,"F",(function(){return F})),n.d(e,"H",(function(){return N})),n.d(e,"I",(function(){return Y})),n.d(e,"J",(function(){return U})),n.d(e,"G",(function(){return B})),n.d(e,"a",(function(){return z})),n.d(e,"K",(function(){return G}));var l=n("kvpX"),i=n("OCB2"),r=n("BF0p");function o(t){for(var e=[1/0,1/0,-1/0,-1/0],n=0,l=t.length;n<l;++n)C(e,t[n]);return e}function a(t,e,n){return n?(n[0]=t[0]-e,n[1]=t[1]-e,n[2]=t[2]+e,n[3]=t[3]+e,n):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function s(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function u(t,e,n){var l,i;return(l=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*l+(i=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0)*i}function c(t,e){return h(t,e[0],e[1])}function d(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function h(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function p(t,e){var n=e[0],l=e[1],i=r.a.UNKNOWN;return n<t[0]?i|=r.a.LEFT:n>t[2]&&(i|=r.a.RIGHT),l<t[1]?i|=r.a.BELOW:l>t[3]&&(i|=r.a.ABOVE),i===r.a.UNKNOWN&&(i=r.a.INTERSECTING),i}function f(){return[1/0,1/0,-1/0,-1/0]}function b(t,e,n,l,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=l,i):[t,e,n,l]}function m(t){return b(1/0,1/0,-1/0,-1/0,t)}function g(t,e){var n=t[0],l=t[1];return b(n,l,n,l,e)}function _(t,e){return function(t,e){for(var n=0,l=e.length;n<l;++n)C(t,e[n]);return t}(m(e),t)}function y(t,e,n,l,i){return w(m(i),t,e,n,l)}function A(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function v(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function C(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function w(t,e,n,l,i){for(;n<l;n+=i)P(t,e[n],e[n+1]);return t}function P(t,e,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],n),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],n)}function x(t,e){var n;return(n=e(k(t)))||(n=e(M(t)))||(n=e(j(t)))?n:(n=e(L(t)))||!1}function S(t){var e=0;return N(t)||(e=R(t)*E(t)),e}function k(t){return[t[0],t[1]]}function M(t){return[t[2],t[1]]}function O(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function D(t,e){var n;return e===i.a.BOTTOM_LEFT?n=k(t):e===i.a.BOTTOM_RIGHT?n=M(t):e===i.a.TOP_LEFT?n=L(t):e===i.a.TOP_RIGHT?n=j(t):Object(l.a)(!1,13),n}function T(t,e,n,l,i){var r=e*l[0]/2,o=e*l[1]/2,a=Math.cos(n),s=Math.sin(n),u=r*a,c=r*s,d=o*a,h=o*s,p=t[0],f=t[1],m=p-u+h,g=p-u-h,_=p+u-h,y=p+u+h,A=f-c-d,v=f-c+d,C=f+c+d,w=f+c-d;return b(Math.min(m,g,_,y),Math.min(A,v,C,w),Math.max(m,g,_,y),Math.max(A,v,C,w),i)}function E(t){return t[3]-t[1]}function I(t,e,n){var l=n||[1/0,1/0,-1/0,-1/0];return F(t,e)?(l[0]=t[0]>e[0]?t[0]:e[0],l[1]=t[1]>e[1]?t[1]:e[1],l[2]=t[2]<e[2]?t[2]:e[2],l[3]=t[3]<e[3]?t[3]:e[3]):m(l),l}function L(t){return[t[0],t[3]]}function j(t){return[t[2],t[3]]}function R(t){return t[2]-t[0]}function F(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function N(t){return t[2]<t[0]||t[3]<t[1]}function Y(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function U(t,e){var n=(t[2]-t[0])/2*(e-1),l=(t[3]-t[1])/2*(e-1);t[0]-=n,t[2]+=n,t[1]-=l,t[3]+=l}function B(t,e,n){var l=!1,i=p(t,e),o=p(t,n);if(i===r.a.INTERSECTING||o===r.a.INTERSECTING)l=!0;else{var a=t[0],s=t[1],u=t[2],c=t[3],d=n[0],h=n[1],f=(h-e[1])/(d-e[0]),b=void 0,m=void 0;o&r.a.ABOVE&&!(i&r.a.ABOVE)&&(l=(b=d-(h-c)/f)>=a&&b<=u),l||!(o&r.a.RIGHT)||i&r.a.RIGHT||(l=(m=h-(d-u)*f)>=s&&m<=c),l||!(o&r.a.BELOW)||i&r.a.BELOW||(l=(b=d-(h-s)/f)>=a&&b<=u),l||!(o&r.a.LEFT)||i&r.a.LEFT||(l=(m=h-(d-a)*f)>=s&&m<=c)}return l}function z(t,e,n,l){var i=[];if(l>1)for(var r=t[2]-t[0],o=t[3]-t[1],a=0;a<l;++a)i.push(t[0]+r*a/l,t[1],t[2],t[1]+o*a/l,t[2]-r*a/l,t[3],t[0],t[3]-o*a/l);else i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(i,i,2);for(var s=[],u=[],c=(a=0,i.length);a<c;a+=2)s.push(i[a]),u.push(i[a+1]);return function(t,e,n){return b(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(s,u,n)}function G(t,e){var n=e.getExtent(),l=O(t);if(e.canWrapX()&&(l[0]<n[0]||l[0]>=n[2])){var i=R(n),r=Math.floor((l[0]-n[0])/i)*i;t[0]-=r,t[2]-=r}return t}},Cy2j:function(t,e,n){"use strict";var l=n("AdTM");e.a={SINGLECLICK:"singleclick",CLICK:l.a.CLICK,DBLCLICK:l.a.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"D/JM":function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("3N8a");const i=new(n("IjjT").a)(l.a)},D7iV:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.ReplaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.DeleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.UpdateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.GetManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot",t.CreateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot",t.CreateManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return l?i[n][0]:i[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},DRqq:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}queryGridControllerGetGrid$Response(e){const n=new o.a(this.rootUrl,t.QueryGridControllerGetGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}queryGridControllerGetGrid(t){return this.queryGridControllerGetGrid$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.QueryGridControllerGetGridPath="/query-grid",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},DkaU:function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return g})),n.d(e,"b",(function(){return p})),n.d(e,"d",(function(){return f})),n.d(e,"c",(function(){return y})),n.d(e,"g",(function(){return _}));var l=n("8bJo"),i=n("HDdC"),r=n("XNiG"),o=n("2Vo4"),a=n("LRne"),s=(n("IzEk"),n("pLZG"),n("1G5W")),u=(n("8Y7J"),n("KCVW"));class c{constructor(t){this.$implicit=t}}class d{constructor(t){this.template=t}}function h(){return Error("Could not find functions for nested/flat tree in tree control.")}class p{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new r.a,this._levels=new Map,this.viewChange=new o.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){if(this._dataDiffer=this._differs.find([]).create(this.trackBy),!this.treeControl)throw Error("Could not find a tree control for the tree.")}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(t=>!t.when);if(t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;if(Object(l.e)(this._dataSource)?t=this._dataSource.connect(this):this._dataSource instanceof i.a?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(a.a)(this._dataSource)),!t)throw Error("A valid data source must be provided.");this._dataSubscription=t.pipe(Object(s.a)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,l){const i=e.diff(t);i&&(i.forEachOperation((e,i,r)=>{if(null==e.previousIndex)this.insertNode(t[r],r,n,l);else if(null==r)n.remove(i),this._levels.delete(e.item);else{const t=n.get(i);n.move(t,r)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){if(1===this._nodeDefs.length)return this._nodeDefs.first;const n=this._nodeDefs.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef;if(!n)throw Error("Could not find a matching node definition for the provided node data.");return n}insertNode(t,e,n,l){const i=this._getNodeDef(t,e),r=new c(t);r.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==l&&this._levels.has(l)?this._levels.get(l)+1:0,this._levels.set(t,r.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(i.template,r,e),f.mostRecentTreeNode&&(f.mostRecentTreeNode.data=t)}}let f=(()=>{class t{constructor(e,n){this._elementRef=e,this._tree=n,this._destroyed=new r.a,this._dataChanges=new r.a,this.role="treeitem",t.mostRecentTreeNode=this}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw h();const t=this._tree.treeControl.getChildren(this._data);Array.isArray(t)?this._setRoleFromChildren(t):t instanceof i.a&&t.pipe(Object(s.a)(this._destroyed)).subscribe(t=>this._setRoleFromChildren(t))}}_setRoleFromChildren(t){this.role=t&&t.length?"group":"treeitem"}}return t.mostRecentTreeNode=null,t})();class b extends f{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this._differs=n}ngAfterContentInit(){if(this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),!this._tree.treeControl.getChildren)throw h();const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):t instanceof i.a&&t.pipe(Object(s.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(s.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}const m=/([A-Za-z%]+)$/;class g{constructor(t,e,n,l,i){this._treeNode=t,this._tree=e,this._renderer=n,this._element=l,this._dir=i,this._destroyed=new r.a,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Object(s.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._level=Object(u.f)(t,null),this._setPadding()}get indent(){return this._indent}set indent(t){let e=t,n="px";if("string"==typeof t){const l=t.split(m);e=l[0],n=l[1]||n}this.indentUnits=n,this._indent=Object(u.f)(e),this._setPadding()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",l="paddingLeft"===n?"paddingRight":"paddingLeft";this._renderer.setStyle(t,n,e),this._renderer.setStyle(t,l,null),this._currentPadding=e}}}class _{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=Object(u.c)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}class y{}},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmnv:function(t,e,n){"use strict";var l=n("EwAT"),i=n("6Y3p"),r=n("CvXi");function o(t,e,n,l,i){var r,o,a,s,u,c,d,h,p,f=n,b=n,m=0,g=0,_=n;for(r=n;r<l;r+=i){var y=e[r],A=e[r+1];void 0!==s&&(h=y-s,p=A-u,a=Math.sqrt(h*h+p*p),void 0!==c&&(g+=o,Math.acos((c*h+d*p)/(o*a))>t&&(g>m&&(m=g,f=_,b=r),g=0,_=r-i)),o=a,c=h,d=p),s=y,u=A}return(g+=a)>m?[_,r]:[f,b]}var a=n("9iPr"),s=n("3er3"),u=n("ZXPP"),c=n("3TKY"),d=n("KfZV");n.d(e,"a",(function(){return f}));var h,p=(h=function(t,e){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},b=function(t){function e(e,n,l,i){var r=t.call(this,e,n,l,i)||this;return r.labels_=null,r.text_="",r.textOffsetX_=0,r.textOffsetY_=0,r.textRotateWithView_=void 0,r.textRotation_=0,r.textFillState_=null,r.fillStates={},r.textStrokeState_=null,r.strokeStates={},r.textState_={},r.textStates={},r.textKey_="",r.fillKey_="",r.strokeKey_="",r}return p(e,t),e.prototype.finish=function(){var e=t.prototype.finish.call(this);return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e},e.prototype.drawText=function(t,e){var n=this.textState_;if(""!==this.text_&&n&&(this.textFillState_||this.textStrokeState_)){var l,i,c=this.coordinates.length,h=t.getType(),p=null,f=2,b=2;if(n.placement===d.a.LINE){if(!Object(r.F)(this.getBufferedMaxExtent(),t.getExtent()))return;var m=void 0;if(p=t.getFlatCoordinates(),b=t.getStride(),h==a.a.LINE_STRING)m=[p.length];else if(h==a.a.MULTI_LINE_STRING)m=t.getEnds();else if(h==a.a.POLYGON)m=t.getEnds().slice(0,1);else if(h==a.a.MULTI_POLYGON){var g=t.getEndss();for(m=[],l=0,i=g.length;l<i;++l)m.push(g[l][0])}this.beginGeometry(t,e);for(var _=n.textAlign,y=0,A=void 0,v=0,C=m.length;v<C;++v){if(null==_){var w=o(n.maxAngle,p,y,m[v],b);y=w[0],A=w[1]}else A=m[v];for(l=y;l<A;l+=b)this.coordinates.push(p[l],p[l+1]);f=this.coordinates.length,y=m[v];var P=this.declutterGroups_?0===v?this.declutterGroups_[0]:[].concat(this.declutterGroups_[0]):null;this.drawChars_(c,f,P),c=f}this.endGeometry(e)}else{var x=null;switch(n.overflow||(x=[]),h){case a.a.POINT:case a.a.MULTI_POINT:f=(p=t.getFlatCoordinates()).length;break;case a.a.LINE_STRING:p=t.getFlatMidpoint();break;case a.a.CIRCLE:p=t.getCenter();break;case a.a.MULTI_LINE_STRING:f=(p=t.getFlatMidpoints()).length;break;case a.a.POLYGON:p=t.getFlatInteriorPoint(),n.overflow||x.push(p[2]/this.resolution),b=3;break;case a.a.MULTI_POLYGON:var S=t.getFlatInteriorPoints();for(p=[],l=0,i=S.length;l<i;l+=3)n.overflow||x.push(S[l+2]/this.resolution),p.push(S[l],S[l+1]);if(0==(f=p.length))return}f=this.appendFlatCoordinates(p,0,f,b,!1,!1),this.saveTextStates_(),(n.backgroundFill||n.backgroundStroke)&&(this.setFillStrokeStyle(n.backgroundFill,n.backgroundStroke),n.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),n.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);var k=this.pixelRatio;this.instructions.push([u.c.DRAW_IMAGE,c,f,null,NaN,NaN,this.declutterGroups_,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,1,NaN,n.padding==s.k?s.k:n.padding.map((function(t){return t*k})),!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,x]),this.hitDetectionInstructions.push([u.c.DRAW_IMAGE,c,f,null,NaN,NaN,this.declutterGroups_,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,1/this.pixelRatio,NaN,n.padding,!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,x]),this.endGeometry(e)}}},e.prototype.saveTextStates_=function(){var t=this.textStrokeState_,e=this.textState_,n=this.textFillState_,l=this.strokeKey_;t&&(l in this.strokeStates||(this.strokeStates[l]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));var i=this.textKey_;i in this.textStates||(this.textStates[i]={font:e.font,textAlign:e.textAlign||s.m,textBaseline:e.textBaseline||s.n,scale:e.scale});var r=this.fillKey_;n&&(r in this.fillStates||(this.fillStates[r]={fillStyle:n.fillStyle}))},e.prototype.drawChars_=function(t,e,n){var l=this.textStrokeState_,i=this.textState_,r=this.strokeKey_,o=this.textKey_,a=this.fillKey_;this.saveTextStates_();var s=this.pixelRatio,c=f[i.textBaseline],d=this.textOffsetY_*s,h=this.text_,p=l?l.lineWidth*i.scale/2:0;this.instructions.push([u.c.DRAW_CHARS,t,e,c,n,i.overflow,a,i.maxAngle,s,d,r,p*s,h,o,1]),this.hitDetectionInstructions.push([u.c.DRAW_CHARS,t,e,c,n,i.overflow,a,i.maxAngle,1,d,r,p,h,o,1/s])},e.prototype.setTextStyle=function(t,e){var n,r,o;if(t){this.declutterGroups_=e;var a=t.getFill();a?((r=this.textFillState_)||(this.textFillState_=r={}),r.fillStyle=Object(i.a)(a.getColor()||s.c)):this.textFillState_=r=null;var u=t.getStroke();if(u){(o=this.textStrokeState_)||(this.textStrokeState_=o={});var c=u.getLineDash(),d=u.getLineDashOffset(),h=u.getWidth(),p=u.getMiterLimit();o.lineCap=u.getLineCap()||s.e,o.lineDash=c?c.slice():s.f,o.lineDashOffset=void 0===d?s.g:d,o.lineJoin=u.getLineJoin()||s.h,o.lineWidth=void 0===h?s.i:h,o.miterLimit=void 0===p?s.j:p,o.strokeStyle=Object(i.a)(u.getColor()||s.l)}else this.textStrokeState_=o=null;n=this.textState_;var f=t.getFont()||s.d;Object(s.t)(f);var b=t.getScale();n.overflow=t.getOverflow(),n.font=f,n.maxAngle=t.getMaxAngle(),n.placement=t.getPlacement(),n.textAlign=t.getTextAlign(),n.textBaseline=t.getTextBaseline()||s.n,n.backgroundFill=t.getBackgroundFill(),n.backgroundStroke=t.getBackgroundStroke(),n.padding=t.getPadding()||s.k,n.scale=void 0===b?1:b;var m=t.getOffsetX(),g=t.getOffsetY(),_=t.getRotateWithView(),y=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===m?0:m,this.textOffsetY_=void 0===g?0:g,this.textRotateWithView_=void 0!==_&&_,this.textRotation_=void 0===y?0:y,this.strokeKey_=o?("string"==typeof o.strokeStyle?o.strokeStyle:Object(l.c)(o.strokeStyle))+o.lineCap+o.lineDashOffset+"|"+o.lineWidth+o.lineJoin+o.miterLimit+"["+o.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?")+(n.textBaseline||"?"),this.fillKey_=r?"string"==typeof r.fillStyle?r.fillStyle:"|"+Object(l.c)(r.fillStyle):""}else this.text_=""},e}(c.a);e.b=b},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};t.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(t){return"\xf6s"===t||"\xd6S"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var l=t%10;return t+(e[l]||e[t%100-l]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DsAt:function(t,e,n){"use strict";var l,i=n("2lwS"),r=n("V8uu"),o=n("zvco"),a=n("OPOH"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this;return n.eventTarget_=e,n.pendingRemovals_={},n.dispatching_={},n.listeners_={},n}return s(e,t),e.prototype.addEventListener=function(t,e){if(t&&e){var n=this.listeners_[t];n||(this.listeners_[t]=n=[]),-1===n.indexOf(e)&&n.push(e)}},e.prototype.dispatchEvent=function(t){var e="string"==typeof t?new o.a(t):t,n=e.type;e.target||(e.target=this.eventTarget_||this);var l,i=this.listeners_[n];if(i){n in this.dispatching_||(this.dispatching_[n]=0,this.pendingRemovals_[n]=0),++this.dispatching_[n];for(var a=0,s=i.length;a<s;++a)if(!1===(l="handleEvent"in i[a]?i[a].handleEvent(e):i[a].call(this,e))||e.propagationStopped){l=!1;break}if(--this.dispatching_[n],0===this.dispatching_[n]){var u=this.pendingRemovals_[n];for(delete this.pendingRemovals_[n];u--;)this.removeEventListener(n,r.c);delete this.dispatching_[n]}return l}},e.prototype.disposeInternal=function(){Object(a.b)(this.listeners_)},e.prototype.getListeners=function(t){return this.listeners_[t]},e.prototype.hasListener=function(t){return t?t in this.listeners_:Object.keys(this.listeners_).length>0},e.prototype.removeEventListener=function(t,e){var n=this.listeners_[t];if(n){var l=n.indexOf(e);-1!==l&&(t in this.pendingRemovals_?(n[l]=r.c,++this.pendingRemovals_[t]):(n.splice(l,1),0===n.length&&delete this.listeners_[t]))}},e}(i.a);e.a=u},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},"E/wX":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("SVse"),a=n("Xd0L"),s=n("drqP"),u=n("svHU"),c=n("DRqq"),d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(2,[],null,null)}var p=n("Ca9r"),f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[],null,null)}var m=n("Zime"),g=l.Bb({encapsulation:2,styles:[],data:{}});function _(t){return l.Yb(2,[],null,null)}var y=n("b5bK"),A=l.Bb({encapsulation:2,styles:[],data:{}});function v(t){return l.Yb(2,[],null,null)}var C=n("Fi3X"),w=l.Bb({encapsulation:2,styles:[],data:{}});function P(t){return l.Yb(2,[l.Ub(402653184,1,{populationComponent:0}),l.Ub(402653184,2,{topographyComponent:0}),(t()(),l.Db(2,0,null,null,1,"trajectory-population",[["groupLayer","Trajectory"],["visibility","true"],["zIndex","300"]],null,null,null,_,g)),l.Cb(3,245760,[[1,4]],0,m.a,[u.a],{visibility:[0,"visibility"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"]},null),(t()(),l.Db(4,0,null,null,1,"trajectory-topography",[["groupLayer","Trajectory"],["visibility","true"],["zIndex","300"]],null,null,null,v,A)),l.Cb(5,245760,[[2,4]],0,y.a,[u.a],{visibility:[0,"visibility"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"]},null)],(function(t,e){t(e,3,0,"true","300","Trajectory"),t(e,5,0,"true","300","Trajectory")}),null)}var x=n("Hqo4"),S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(2,[l.Ub(402653184,1,{pivComponent:0}),l.Ub(402653184,2,{gridComponent:0}),l.Ub(402653184,3,{hexMapComponent:0}),(t()(),l.Db(3,0,null,null,1,"trajectory-piv",[["groupLayer","Trajectory"],["name","trajectory-intersect-piv"],["visibility","true"],["zIndex","300"]],null,null,null,h,d)),l.Cb(4,245760,[[1,4]],0,s.a,[u.a,c.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(5,0,null,null,1,"trajectory-hex-map",[["groupLayer","Trajectory"],["name","trajectory-space-time-grid"],["visibility","true"],["zIndex","300"]],null,null,null,b,f)),l.Cb(6,245760,[[3,4]],0,p.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(7,0,null,null,1,"trajectory-grid",[["groupLayer","Trajectory"],["name","trajectory-cells"],["visibility","true"],["zIndex","300"]],null,null,null,P,w)),l.Cb(8,4440064,[[2,4]],0,C.a,[l.j,c.a],null,null)],(function(t,e){t(e,4,0,"trajectory-intersect-piv","true","300","Trajectory"),t(e,6,0,"trajectory-space-time-grid","true","300","Trajectory"),t(e,8,0)}),null)}var M=n("ZF9u"),O=l.Bb({encapsulation:2,styles:[],data:{}});function D(t){return l.Yb(2,[],null,null)}n("F2y6"),n("7/LY"),n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return U}));var T=l.Bb({encapsulation:0,styles:[[".trajectory-conponent[_ngcontent-%COMP%]{left:0;width:100%;background-color:#fff;border-top:1px solid #ddd;padding:10px 0;max-height:500px;overflow:auto}.trajectory-conponent[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;font-size:25px}.trajectory-conponent[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%]{width:100%;padding:0 10px;display:flex;align-items:center}.trajectory-conponent[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding-left:5px;cursor:pointer}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .piv-title[_ngcontent-%COMP%]{display:inline-flex}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .piv-title[_ngcontent-%COMP%] .piv-title-separator[_ngcontent-%COMP%]{padding-left:2px;padding-right:2px}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%]{float:left;color:var(--ion-color-primary);background-color:transparent;font-size:25px}"]],data:{}});function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","eye"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"eye")}),null)}function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","eye-off"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"eye-off")}),null)}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"a",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=0!=(t.component.viewPiv=!0)&&l),l}),null,null)),(t()(),l.Wb(-1,null,["view more"]))],null,null)}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.sectorComponent.toggleComponent(t.context.$implicit.key,i.aircraft)&&l),l}),i.u,i.c)),l.Cb(2,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,E)),l.Cb(4,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,I)),l.Cb(6,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(7,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(8,16384,null,0,a.o,[],null,null),(t()(),l.Wb(9,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(11,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"outline"),t(e,4,0,e.context.$implicit.value),t(e,6,0,!e.context.$implicit.value),t(e,11,0,"piv"==e.context.$implicit.key&&1==e.context.$implicit.value)}),(function(t,e){t(e,9,0,e.context.$implicit.key)}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,j)),l.Cb(2,278528,null,0,o.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,o.h,[l.z])],(function(t,e){var n=e.component;t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(n.sectorComponent.activeComponents)))}),null)}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"ion-item",[["style","padding:0px !important;"]],null,null,null,i.z,i.h)),l.Cb(1,49152,null,0,r.F,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,18,"ion-label",[["class","ion-text-wrap"],["style","margin:0px !important;"]],null,null,null,i.A,i.i)),l.Cb(3,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,12,"div",[["class","piv-title"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,3,"ion-text",[["color","primary"]],null,null,null,i.H,i.p)),l.Cb(6,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(7,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(8,null,[""," km"])),(t()(),l.Db(9,0,null,null,3,"ion-text",[["class","piv-title-separator"],["color","primary"]],null,null,null,i.H,i.p)),l.Cb(10,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(11,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["|"])),(t()(),l.Db(13,0,null,null,3,"ion-text",[["color","primary"]],null,null,null,i.H,i.p)),l.Cb(14,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(15,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(16,null,["",""])),(t()(),l.Db(17,0,null,0,3,"ion-text",[],null,null,null,i.H,i.p)),l.Cb(18,49152,null,0,r.vb,[l.j,l.p,l.G],null,null),(t()(),l.Db(19,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(20,null,["",""]))],(function(t,e){t(e,6,0,"primary"),t(e,10,0,"primary"),t(e,14,0,"primary")}),(function(t,e){t(e,8,0,e.context.$implicit.distanceRounded),t(e,16,0,e.context.$implicit.type),t(e,20,0,e.context.$implicit.name)}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","pivList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["class","back-button"],["name","arrow-back"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=0!=(t.component.viewPiv=!1)&&l),l}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(3,0,null,null,3,"ion-list",[["class","expansion-body"]],null,null,null,i.B,i.j)),l.Cb(4,49152,null,0,r.M,[l.j,l.p,l.G],null,null),(t()(),l.sb(16777216,null,0,1,null,F)),l.Cb(6,278528,null,0,o.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"arrow-back"),t(e,6,0,n.getPivs())}),null)}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","trajectory-conponent"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,R)),l.Cb(2,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(4,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,!n.viewPiv),t(e,4,0,n.viewPiv)}),null)}function U(t){return l.Yb(2,[l.Ub(402653184,1,{sectorComponent:0}),l.Ub(402653184,2,{lineComponent:0}),(t()(),l.Db(2,0,null,null,1,"trajectory-sector",[["groupLayer","Trajectory"],["name","trajectory-sector"],["visibility","true"],["zIndex","300"]],null,null,null,k,S)),l.Cb(3,4440064,[[1,4]],0,x.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(4,0,null,null,1,"trajectory-line",[["groupLayer","Trajectory"],["name","trajectory-line"],["visibility","true"],["zIndex","300"]],null,null,null,D,O)),l.Cb(5,245760,[[2,4]],0,M.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(7,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,"trajectory-sector","true","300","Trajectory"),t(e,5,0,"trajectory-line","true","300","Trajectory"),t(e,7,0,n.sectorIsRunning)}),null)}},E35u:function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("CZmH"),o=n("MzMb"),a=n("Bw0W"),s=n("3er3"),u=n("+vTz"),c=n("qJZF"),d=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e){var n=t.call(this,e)||this;return n.container=null,n.tempTransform_=Object(c.c)(),n.pixelTransform=Object(c.c)(),n.inversePixelTransform=Object(c.c)(),n.context=null,n.containerReused=!1,n}return d(e,t),e.prototype.useContainer=function(t,e,n){var l,i,o=this.getLayer().getClassName();if(t&&""===t.style.opacity&&t.className===o&&(a=t.firstElementChild)instanceof HTMLCanvasElement&&(i=a.getContext("2d")),i&&i.canvas.style.transform===e?(this.container=t,this.context=i,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){(l=document.createElement("div")).className=o;var a,s=l.style;s.position="absolute",s.width="100%",s.height="100%",i=Object(r.a)(),l.appendChild(a=i.canvas),(s=a.style).position="absolute",s.left="0",s.transformOrigin="top left",this.container=l,this.context=i}},e.prototype.clip=function(t,e,n){var l=e.pixelRatio,r=e.size[0]*l/2,o=e.size[1]*l/2,a=e.viewState.rotation,u=Object(i.C)(n),d=Object(i.D)(n),h=Object(i.w)(n),p=Object(i.v)(n);Object(c.a)(e.coordinateToPixelTransform,u),Object(c.a)(e.coordinateToPixelTransform,d),Object(c.a)(e.coordinateToPixelTransform,h),Object(c.a)(e.coordinateToPixelTransform,p),t.save(),Object(s.u)(t,-a,r,o),t.beginPath(),t.moveTo(u[0]*l,u[1]*l),t.lineTo(d[0]*l,d[1]*l),t.lineTo(h[0]*l,h[1]*l),t.lineTo(p[0]*l,p[1]*l),t.clip(),Object(s.u)(t,a,r,o)},e.prototype.clipUnrotated=function(t,e,n){var l=Object(i.C)(n),r=Object(i.D)(n),o=Object(i.w)(n),a=Object(i.v)(n);Object(c.a)(e.coordinateToPixelTransform,l),Object(c.a)(e.coordinateToPixelTransform,r),Object(c.a)(e.coordinateToPixelTransform,o),Object(c.a)(e.coordinateToPixelTransform,a);var s=this.inversePixelTransform;Object(c.a)(s,l),Object(c.a)(s,r),Object(c.a)(s,o),Object(c.a)(s,a),t.save(),t.beginPath(),t.moveTo(Math.round(l[0]),Math.round(l[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()},e.prototype.dispatchRenderEvent_=function(t,e,n){var l=this.getLayer();if(l.hasListener(t)){var i=new o.a(t,this.inversePixelTransform,n,e);l.dispatchEvent(i)}},e.prototype.preRender=function(t,e){this.dispatchRenderEvent_(a.a.PRERENDER,t,e)},e.prototype.postRender=function(t,e){this.dispatchRenderEvent_(a.a.POSTRENDER,t,e)},e.prototype.getRenderTransform=function(t,e,n,l,i,r,o){var a=i/2,s=r/2,u=l/e,d=-u,h=-t[0]+o,p=-t[1];return Object(c.b)(this.tempTransform_,a,s,u,d,-n,h,p)},e.prototype.getDataAtPixel=function(t,e,n){var l,i=Object(c.a)(this.inversePixelTransform,t.slice()),r=this.context;try{l=r.getImageData(Math.round(i[0]),Math.round(i[1]),1,1).data}catch(o){return"SecurityError"===o.name?new Uint8Array:l}return 0===l[3]?null:l},e}(u.a);e.a=h},EDvw:function(t,e,n){"use strict";var l=n("TN97"),i=n("9ANI"),r=n("JW8z"),o=n("7/LY"),a=n("bHcU"),s=n("bL/2");function u(t){var e={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};let n;if(void 0!==e[t.toLowerCase()]&&(t=e[t.toLowerCase()]),/^#([A-Fa-f0-9]{3}){1,2}$/.test(t))return n=t.substring(1).split(""),3==n.length&&(n=[n[0],n[0],n[1],n[1],n[2],n[2]]),n="0x"+n.join(""),[n>>16&255,n>>8&255,255&n,1];throw new Error("Bad hexColor:"+t)}n.d(e,"a",(function(){return d}));const c={White:u("#ffffff"),GreyLight:u("#a9a9a9"),DarkGreen:u("#6b8e23"),LightGreen:u("#9acd32"),DarkRed:u("#8b0000"),LightRed:u("#ff6347"),Blue:u("#0000ff"),Yellow:u("#ffff00"),Orange:u("#ffa500")};class d extends l.a{constructor(t,e,n){super({geometry:new i.a(Object(r.d)([t.longitude,t.latitude]))}),this.status=[],super.setId(t.icao),this.aircraft=t,this.settingService=e,this.setColor(),this.setIconEntity(n.getIconEntity(t.iconName)),this.setOlStyleAircraft(),this.aircraft.iconNameSubject.subscribe(t=>{this.setIconEntity(n.getIconEntity(t)),this.setOlStyleAircraft()})}setIconEntity(t){super.set("icon",t)}setOlStyleAircraft(){const t="balloon"===this.aircraft.iconName?0:this.aircraft.track*Math.PI/180,e=super.get("icon");let n;n=(this.status.indexOf(o.a.WATCH)>=0||this.status.indexOf(o.a.SELECT)>=0)&&this.status.indexOf(o.a.HOVER)>=0?this.getOlStyleAircraftHighLight(t,e.bufferInBase64):this.getOlStyleAircraft(t,e.bufferInBase64),super.setStyle(n)}getOlStyleAircraft(t,e){return new a.b({image:new s.a({color:super.get("color"),rotation:t,anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",src:"data:image/png;base64,"+e,scale:.4})})}getOlStyleAircraftHighLight(t,e){const n=new Image;n.src="data:image/png;base64,"+e;const l=document.createElement("canvas"),i=l.getContext("2d");i.drawImage(n,0,0,n.width,n.height);const r=[-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1];l.width=n.width+2+2,l.height=n.height+2+2;let o=0;for(o=0;o<r.length;o+=2)i.drawImage(n,2+2*r[o],2+2*r[o+1]);i.globalCompositeOperation="source-in",i.fillStyle="red",i.fillRect(0,0,l.width,l.height),i.globalCompositeOperation="source-over",i.drawImage(n,2,2,n.width,n.height),i.globalCompositeOperation="multiply";const u=i.getImageData(0,0,l.width,l.height),c=u.data,d=super.get("color"),h=[d[0]/255,d[1]/255,d[2]/255,d[3]];for(let a=0,s=c.length;a<s;a+=4)c[a]*=h[0],c[a+1]*=h[1],c[a+2]*=h[2],c[a+3]*=h[3];return i.putImageData(u,0,0),new a.b({image:new s.a({rotation:t,crossOrigin:"anonymous",src:void 0,img:l,imgSize:l?[l.width,l.height]:void 0,anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",scale:.4})})}setGeo(){super.setGeometry(new i.a(Object(r.d)([this.aircraft.longitude,this.aircraft.latitude]))),super.getStyle().getImage().setRotation(this.aircraft.track*Math.PI/180)}getStatus(){return this.status}setStatus(t){this.status=t}getAircraft(){return this.aircraft}setAircraft(t){this.aircraft=t}getColor(){return super.get("color")}setColor(){super.set("color",c.White);const t=this.settingService.getColorAircraftLists();this.setColorByList(t),(this.status.indexOf(o.a.WATCH)>=0||this.status.indexOf(o.a.SELECT)>=0)&&super.set("color",c.Yellow)}setColorByList(t){if(t&&Array.isArray(t))for(const e of t)if(this.matchWithFleet(e.fleet)){const t=u(e.color);return void super.set("color",t)}}matchWithFleet(t){if(t&&t.fleetItems&&Array.isArray(t.fleetItems)){if("||"===t.logicalOperator)return t.fleetItems.some(t=>this.matchWithFleetItem(t));if("&&"===t.logicalOperator)return t.fleetItems.every(t=>this.matchWithFleetItem(t))}return!1}matchWithFleetItem(t){if("mlat"===t.field){const e=Array.isArray(this.aircraft.mlat)&&this.aircraft.mlat.length>0;return"true"===t.value?e:!e}return"military"===t.field?"true"===t.value?!0===this.aircraft.military:!0!==this.aircraft.military:"eq"===t.operator&&this.aircraft[t.field]?this.aircraft[t.field]===t.value:!("cont"!==t.operator||!this.aircraft[t.field])&&String(this.aircraft[t.field]).includes(t.value)}}},EFbT:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseEngineControllerEnginePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseEngineControllerEngine(t){return this.getOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseEngineControllerEnginePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseEngineControllerEngine(t){return this.replaceOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseEngineControllerEnginePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseEngineControllerEngine(t){return this.deleteOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseEngineControllerEnginePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseEngineControllerEngine(t){return this.updateOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseEngineControllerEnginePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseEngineControllerEngine(t){return this.getManyBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseEngineControllerEnginePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseEngineControllerEngine(t){return this.createOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseEngineControllerEnginePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseEngineControllerEngine(t){return this.createManyBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseEngineControllerEnginePath="/engine/{id}",t.ReplaceOneBaseEngineControllerEnginePath="/engine/{id}",t.DeleteOneBaseEngineControllerEnginePath="/engine/{id}",t.UpdateOneBaseEngineControllerEnginePath="/engine/{id}",t.GetManyBaseEngineControllerEnginePath="/engine",t.CreateOneBaseEngineControllerEnginePath="/engine",t.CreateManyBaseEngineControllerEnginePath="/engine/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("HDdC");const i=new l.a(t=>t.complete());function r(t){return t?function(t){return new l.a(e=>t.schedule(()=>e.complete()))}(t):i}},Eef3:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("SVse"),a=n("Mc5n"),s=n("IP0z"),u=n("s6ns"),c=n("ek9U"),d=n("978D");n.d(e,"a",(function(){return _}));var h=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}#control-replay[_ngcontent-%COMP%]{width:100%;padding:10px;margin-top:-14px;text-align:center}#control-replay[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--ion-color-primary);background-color:transparent;font-size:25px;align-self:baseline}#control-replay[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--ion-color-primary);margin:0}#control-replay[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}#control-replay[_ngcontent-%COMP%] .center[_ngcontent-%COMP%]{text-align:center}"]],data:{}});function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","play"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"play")}),null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","pause"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"pause")}),null)}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,29,"div",[["id","control-replay"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,28,"div",[["class","center"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,12,"div",[],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(1)&&l),l}),i.u,i.c)),l.Cb(4,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x1"])),(t()(),l.Db(6,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(4)&&l),l}),i.u,i.c)),l.Cb(7,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x4"])),(t()(),l.Db(9,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(8)&&l),l}),i.u,i.c)),l.Cb(10,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x8"])),(t()(),l.Db(12,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(16)&&l),l}),i.u,i.c)),l.Cb(13,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x16"])),(t()(),l.Db(15,0,null,null,14,"div",[["class","center"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,3,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.previousReplay()&&l),l}),i.u,i.c)),l.Cb(17,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.Db(18,0,null,0,1,"ion-icon",[["name","rewind"]],null,null,null,i.y,i.g)),l.Cb(19,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(20,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.togglePlaying()&&l),l}),i.u,i.c)),l.Cb(21,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,p)),l.Cb(23,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,f)),l.Cb(25,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(26,0,null,null,3,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.nextReplay()&&l),l}),i.u,i.c)),l.Cb(27,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.Db(28,0,null,0,1,"ion-icon",[["name","fastforward"]],null,null,null,i.y,i.g)),l.Cb(29,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,4,0,l.Hb(1,"",1==n.timeService.speed?"solid":"outline",""),"small"),t(e,7,0,l.Hb(1,"",4==n.timeService.speed?"solid":"outline",""),"small"),t(e,10,0,l.Hb(1,"",8==n.timeService.speed?"solid":"outline",""),"small"),t(e,13,0,l.Hb(1,"",16==n.timeService.speed?"solid":"outline",""),"small"),t(e,17,0,"outline"),t(e,19,0,"rewind"),t(e,21,0,"outline"),t(e,23,0,!n.timeService.isPlayingReplay()),t(e,25,0,n.timeService.isPlayingReplay()),t(e,27,0,"outline"),t(e,29,0,"fastforward")}),null)}function m(t){return l.Yb(0,[l.Qb(0,o.e,[l.A]),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(3,16777216,null,null,9,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","replay-controllers"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(4,4866048,null,3,a.c,[l.p,[3,a.b],o.d,l.G,l.Y,a.a,[2,s.b],a.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,a.l,null,[a.c]),l.Cb(9,147456,[[1,4]],0,a.d,[l.p,[2,a.l]],null,null),l.Cb(10,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(11,null,["",""])),l.Sb(12,3),(t()(),l.Db(13,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(14,16384,null,0,u.j,[],null,null),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(16,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"close"),t(e,4,0,".cdk-overlay-pane"),t(e,10,0,"replay-controllers"),t(e,16,0,n.timeService.getDateReplay())}),(function(t,e){var n=e.component;t(e,3,0,l.Pb(e,4).disabled,l.Pb(e,4)._dragRef.isDragging(),l.Pb(e,10).id);var i=l.Xb(e,11,0,t(e,12,0,l.Pb(e,0),n.timeService.getDateReplay(),"EEE d, LLL M, yyyy, HH:mm:ss","utc"));t(e,11,0,i)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"control-replay-dialog",[],null,null,null,m,h)),l.Cb(1,114688,null,0,c.a,[u.l,u.a,d.b],null,null)],(function(t,e){t(e,1,0)}),null)}var _=l.zb("control-replay-dialog",c.a,g,{},{},[])},EwAT:function(t,e,n){"use strict";function l(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var i=0;function r(t){return t.ol_uid||(t.ol_uid=String(++i))}var o="6.3.1"},F2y6:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("svHU");var l=n("7/LY");n("Hqo4"),n("ZF9u");class i{constructor(t,e,n){this.ref=t,this.mapService=e,this.selectAircraftService=n,this.seuilDeltaVsi=-100,this.minuteToExtrapole=30,this.extrapolate=void 0,this.subscription={},this.aircraft=void 0,this.lineIsRunning=!1,this.sectorIsRunning=!1,this.viewPiv=!1}ngOnInit(){}ngAfterViewInit(){this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.aircraftSelectRefresh(t)});const t=this.selectAircraftService.getAircraftSelected();this.aircraftSelectRefresh(t),this.ref.detectChanges()}ngOnDestroy(){this.mapService.removeGroup("Trajectory");for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe();this.sectorComponent.removeSector(),this.lineComponent.removeLine()}getPivs(){return this.sectorComponent.pivComponent.pivs}aircraftSelectRefresh(t){this.selectAircraftService.aircraftIsSelected(t.aircraft)&&(t.haveStatus(l.a.TRAJECTORY_LINE)||t.haveStatus(l.a.TRAJECTORY))&&(this.aircraft=t.aircraft,this.extrapolate=this.getExtrapolate()),this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(l.a.TRAJECTORY_LINE)?(this.extrapolate.distance>0&&this.lineComponent.displayLine(this.aircraft,this.extrapolate),this.lineIsRunning=!0):!0===this.lineIsRunning&&this.aircraft&&this.aircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.TRAJECTORY_LINE)&&(this.lineIsRunning=!1,this.lineComponent.removeLine(),this.removeAircraftIfSectorLineIsNotSelected()),this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(l.a.TRAJECTORY)?(this.extrapolate.distance>0&&this.sectorComponent.displaySector(this.aircraft,this.extrapolate),this.sectorIsRunning=!0):this.aircraft&&this.aircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.TRAJECTORY)&&1==this.sectorIsRunning&&(this.sectorIsRunning=!1,this.sectorComponent.removeSector(),this.removeAircraftIfSectorLineIsNotSelected())}removeAircraftIfSectorLineIsNotSelected(){this.lineIsRunning||this.sectorIsRunning||(this.aircraft=void 0)}getExtrapolate(){const t=this.kilometersPerHourToMetersPerMinute(this.knotsTokilometersPerHour(this.aircraft.speed||300))/1e3,e={distance:t*(1.085*this.minuteToExtrapole),isDescent:!1},n=this.getAvgVsi();if(n<this.seuilDeltaVsi){const l=this.aircraft.altitude/-n;null!==l&&l<this.minuteToExtrapole&&(e.isDescent=!0,e.distance=t*l)}return e}getAvgVsi(t=5){let e=0;if(this.aircraft.trace.positions.length>t){const n=this.aircraft.trace.positions[this.aircraft.trace.positions.length-1],l=this.aircraft.trace.positions[this.aircraft.trace.positions.length-t];e=(n.altitude-l.altitude)/((n.updatedAt-l.updatedAt)/1e3/60)}return e}knotsTokilometersPerHour(t){return 1.852*t}kilometersPerHourToMetersPerMinute(t){return t/.06}}},F3fN:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t){return t?t<5e3?t.toString()+"Ft":"FL"+(t/=100).toFixed(0).toString():""}}},F8Ro:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("oeKZ"),n("qToJ");var l=n("vDCU");class i{constructor(t,e,n,i){this.dialogRef=t,this.data=e,this.settingService=n,this.keycloakService=i,this.onSelect=l.a,this.userRoles=[],this.currentPage="menuFilter",this.currentColorFilter=void 0,this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}ngOnInit(){}closeModal(){this.settingService.loadSettings(),this.dialogRef.close()}openColorFilterForm(t){this.currentColorFilter=t,this.currentPage="formColorFilter"}openFormLayer(){this.currentPage="formLayer"}closeColorFilterForm(){this.currentColorFilter=void 0,this.currentPage="menuFilter"}}},F8UA:function(t,e,n){var l,i,r;i=[n("d5dl"),n("cEDd"),n("yWvm"),n("CgXW"),n("g6rY"),n("UJLV")],void 0===(r="function"==typeof(l=function(t,e,n,l,i,r){"use strict";function o(t,e,n,i){var o;return"string"==typeof n&&(n=parseInt(n,10)),n=n||5,t=parseFloat(t),e=parseFloat(e),o=l(t,e),r.toUsng(o,n,i)}function a(t,e,n,l){var i=o(t,e,n,l);return"string"==typeof i?i.replace(/ /g,""):i}return e=e(t),n=n(t),l=l(t),i=i(t),{toDecimal:n,toDegMinSec:e,toUsng:o,toUtm:l,toMgrs:a,getConverter:function(t){var e;switch(t.toLowerCase()){case"utm":e=l;break;case"usng":e=o;break;case"mgrs":e=a}return e},translate:i}})?l.apply(e,i):l)||(t.exports=r)},FQkX:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},FVPZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("Xd0L"),n("KCVW");class l{}},Fi3X:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("G0WM"),n("Zime"),n("b5bK");class l{constructor(t,e){this.ref=t,this.queryGridService=e}ngOnInit(){}ngAfterViewInit(){}ngOnDestroy(){this.populationComponent.removePop(),this.topographyComponent.removeTopography()}displayGrid(t,e,n,l){let i={sectorPolygon:e};const r=[];!0===l.population&&r.push("population"),!0===l.topography&&(r.push("topography"),i.horizonLine=n,i.aircraftPosition=[t.longitude,t.latitude],i.aircraftSpeed=t.speed,i.aircraftAltitude=t.altitude,i.aircraftVerticalSpeed=t.vsi),i.layers=r,this.queryGridService.queryGridControllerGetGrid({body:i}).subscribe(e=>{!0===l.population?this.populationComponent.displayPopulation(e.data.population):this.populationComponent.removePop(),!0===l.topography?this.topographyComponent.displayTopography(e.data.topography,t):this.topographyComponent.removeTopography()})}getGrid(){}removeGrid(){this.populationComponent.removePop(),this.topographyComponent.removeTopography()}}},Fi5g:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("s7LF"),i=(n("GXLG"),n("wd/R")),r=n("vDCU");class o{constructor(t,e,n){this.snackBarService=t,this.dialogRef=e,this.data=n,this.onSelect=r.a}ngOnInit(){this.initFrom()}initFrom(){this.maxDate=new Date,this.hours=Array.from(Array(24),(t,e)=>e<10?"0"+e.toString():e.toString()),this.minutes=Array.from(Array(60),(t,e)=>e<10?"0"+e.toString():e.toString()),this.replayForm=new l.j({date:new l.g(""),hours:new l.g(""),minutes:new l.g("")})}startReplay(){const t=i(this.replayForm.value.date);t.add(this.replayForm.value.hours,"hours"),t.add(this.replayForm.value.minutes,"minutes");const e=t.format("YYYY-MM-DDTHH:mm:ss"),n=i(e+"+00:00","YYYY-MM-DDTHH:mm:ssZ").utc();n.isValid()&&i().utc().diff(n)>0?this.dialogRef.close(n):this.snackBarService.openSnackBar("Date replay is invalid")}closeModal(){this.dialogRef.close()}}},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},Fwaw:function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var l=n("Xd0L");const i=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class r{constructor(t){this._elementRef=t}}const o=Object(l.E)(Object(l.G)(Object(l.F)(r)));class a extends o{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const l of i)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}class s extends a{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}class u{}},"G+Jc":function(t,e,n){"use strict";var l=n("ppab"),i=n("wd/R"),r=n("WVt+"),o=n("TN97"),a=n("bHcU"),s=n("zixo"),u=n("hoJM"),c=n("9ANI"),d=n("g6Z0"),h=n("gpXz"),p=n("egkh"),f=n("SSvb"),b=n("JW8z");class m{constructor(t){this.stopPoint=void 0,this.airforceReady=7,this.airforceSpeed=570,this.airforceDuration=90,this.interceptionTime=0,this.interceptionDistance=0,this.intercepPoint=[],this.ownPlaytime=void 0,this.playTimes=[],this.featurePlot=void 0,this.featureInterception=[],this.stopPoint=t;for(const e of t.plots){const t=60*i().hours()+i().minutes();e.startAt<=t&&t<=e.endAt&&(this.airforceReady=e.airforceReady,this.airforceSpeed=e.airforceSpeed,this.airforceDuration=e.airforceDuration)}}computeInterception(t,e){return this.computeTimeInterception(t),this.computeInterceptionPoint(t),this.intercepPoint.length>=2?(this.playTimes=[],e.forEach(e=>{this.computePlayTime(t,e)}),this.playTimes.sort((t,e)=>e.playTime-t.playTime),this.getPlotFeature(t)):null}getPlotFeature(t){return this.featurePlot=new o.a({geometry:new c.a(Object(b.d)([this.stopPoint.longitude,this.stopPoint.latitude])),id_:"plot-"+this.stopPoint.icao,categorie_:"plot",icao_:this.stopPoint.icao}),this.featurePlot.setStyle(new a.b({image:new s.a({radius:5,fill:null,stroke:new u.a({color:"yellow",width:5})}),text:new h.a({text:this.stopPoint.icao,fill:new d.a({color:"yellow",opacity:.8}),offsetY:14,overflow:1})})),this.featurePlot}computePlayTime(t,e){const n=r.point([e.stopPoint.longitude,e.stopPoint.latitude]),l=r.point(this.intercepPoint),i=r.distance(n,l);let o=t.track-(r.bearing(n,l)+180);o=o>=0?o:-o,o=o>180?360-o:o;const a=o*Math.PI/180,s=this.knotsToKilometersPerMinute(t.speed),u=this.knotsToKilometersPerMinute(this.airforceSpeed),c=this.airforceDuration-this.interceptionTime,d=Math.pow(s,2)-Math.pow(u,2),h=2*Math.pow(u,2)*c-2*i*s*Math.cos(a),p=Math.pow(i,2)-Math.pow(u,2)*Math.pow(c,2),f=Math.pow(h,2)-4*d*p,b=(-h+Math.sqrt(f))/(2*d);if(b>0){const t={icao:e.stopPoint.icao,playTime:b};this.playTimes.push(t),e.stopPoint.icao==this.stopPoint.icao&&(this.ownPlaytime=t)}}computeInterceptionPoint(t){const e=[t.longitude,t.latitude],n=this.knotsToKilometersPerMinute(t.speed);if(this.interceptionDistance=(this.interceptionTime+this.airforceReady)*n,this.interceptionDistance>0){const n=r.destination(e,this.interceptionDistance,t.track);this.intercepPoint=n.geometry.coordinates}}computeTimeInterception(t){const e=r.point([this.stopPoint.longitude,this.stopPoint.latitude]),n=r.point([t.longitude,t.latitude]),l=this.knotsToKilometersPerMinute(t.speed),i=r.destination(n,this.airforceReady*l,t.track),o=r.distance(e,i);let a=t.track-(r.bearing(e,i)+180);a=a>=0?a:-a,a=a>180?360-a:a;const s=a*Math.PI/180,u=this.knotsToKilometersPerMinute(this.airforceSpeed);this.interceptionTime=o/(Math.cos(s)*l+Math.sqrt(Math.pow(u,2)-Math.pow(Math.sin(s),2)*Math.pow(l,2)))}knotsToKilometersPerMinute(t){return 1.852*t/60}getInterceptionFeature(t){this.featureInterception=[];const e=[this.stopPoint.longitude,this.stopPoint.latitude];return this.featureInterception.push(this.getLineFeature("aircraft-"+this.stopPoint.icao,[t.longitude,t.latitude],this.intercepPoint)),this.featureInterception.push(this.getLineFeature("airforce-"+this.stopPoint.icao,e,this.intercepPoint)),this.featureInterception.push(this.getPointInterceptionFeature("interception-"+this.stopPoint.icao,this.intercepPoint)),this.featureInterception}getPointInterceptionFeature(t,e){const n=new o.a({geometry:new c.a(Object(b.d)(e)),id_:t});return n.setStyle(new a.b({image:new s.a({radius:10,fill:null,stroke:new u.a({color:"yellow",width:5})})})),n}getLineFeature(t,e,n){let l=r.greatCircle(e,n);const i=Object(f.a)(l.geometry.coordinates),s=new o.a({geometry:new p.a(i),id_:t});return s.setStyle(new a.b({stroke:new u.a({color:"yellow",width:3,lineDash:[1,5]})})),s}}n("w+w1"),n("svHU"),n("G0WM");var g=n("7/LY");n.d(e,"a",(function(){return _}));class _ extends l.a{constructor(t,e,n,l){super(),this.ref=t,this.mapService=e,this.stopPointService=n,this.selectAircraftService=l,this.plots=[],this.selectedPlot=void 0,this.isInit=!0,this.tasks=[]}ngOnInit(){setInterval(()=>{const t=this.selectAircraftService.getAircraftSelected();this.aircraftSelectRefresh(t)},333),this.mapService.addLayerToGroup(this.groupLayer||"Interception",super.getVectorLayer()),this.mapService.recenterMap([-1.690085,46.294445],6),this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["isPlot||eq||true"],join:["plots"]}).subscribe(t=>{this.plots=t.data.map(t=>new m(t)),this.displayplots()}),this.ref.detectChanges()}ngAfterViewInit(){}aircraftSelectRefresh(t){if(t&&this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(g.a.INTERCEPTION))if(this.tasks.length>0){if(2===this.tasks.length&&"open"===this.tasks[0].status&&"close"===this.tasks[1].status){let e;this.selectedPlot=this.tasks[0].icao,t.addMeta("selectedPlot",this.selectedPlot),this.manageDisplayedPlot(this.selectedPlot);for(const t of this.plots)if(t.stopPoint.icao===this.tasks[1].icao){e=t;break}this.cleanInterceptionPlot(e)}if(1===this.tasks.length&&"open"===this.tasks[0].status&&(this.selectedPlot=this.tasks[0].icao,t.addMeta("selectedPlot",this.selectedPlot),this.manageDisplayedPlot(this.selectedPlot)),1===this.tasks.length&&"close"===this.tasks[0].status){let e;this.selectedPlot=void 0,t.deleteMeta("selectedPlot"),this.manageDisplayedPlot();for(const t of this.plots)if(t.stopPoint.icao===this.tasks[0].icao){e=t;break}this.cleanInterceptionPlot(e)}this.tasks=[]}else!0===this.isInit&&(t.metas.selectedPlot&&!this.selectedPlot&&this.tasks.push({status:"open",icao:t.metas.selectedPlot}),this.isInit=!1);if(!t){this.selectedPlot=void 0,this.manageDisplayedPlot();for(const t of this.plots)this.cleanInterceptionPlot(t)}}ngDoCheck(){this.updateInterceptionPlot(),this.ref.detectChanges()}ngOnDestroy(){this.source.clear(),this.mapService.removeGroup("Interception")}displayplots(){this.plots.forEach(t=>{const e=t.computeInterception(this.aircraft,this.plots);e&&this.source.addFeature(e)}),this.plots.sort((t,e)=>t.interceptionTime-e.interceptionTime)}openPlot(t){this.displayInterceptionPlot(t),this.tasks.push({status:"open",icao:t.stopPoint.icao})}closePlot(t){this.cleanInterceptionPlot(t),this.tasks.push({status:"close",icao:t.stopPoint.icao})}updateInterceptionPlot(){this.plots.forEach(t=>{t.computeInterception(this.aircraft,this.plots),t.stopPoint.icao===this.icaoOfSelectedPlot&&t.featureInterception.length>0&&(this.cleanInterceptionPlot(t),this.displayInterceptionPlot(t))}),this.plots.sort((t,e)=>t.interceptionTime-e.interceptionTime)}manageDisplayedPlot(t){let e=!1;for(const n of this.plots)t&&t===n.stopPoint.icao&&(e=!0,this.icaoOfSelectedPlot=n.stopPoint.icao);!1===e&&(this.icaoOfSelectedPlot=null)}displayInterceptionPlot(t){const e=t.getInterceptionFeature(this.aircraft);this.source.addFeatures(e)}cleanInterceptionPlot(t){void 0!==t.featureInterception&&t.featureInterception.length>0&&(t.featureInterception.forEach(t=>{this.source.removeFeature(t)}),t.featureInterception=[])}}},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G0WM:function(t,e,n){"use strict";n("Kurg"),n("EFbT"),n("UN5i"),n("AjEG"),n("rLOe"),n("3y7P"),n("sUFW"),n("Qykp"),n("ItNn"),n("5p+q"),n("kZ4T"),n("DRqq"),n("mWFr"),n("+qtt"),n("c9QO"),n("TYbz"),n("xhS3"),n("Nw85"),n("X0qu"),n("Q2ZK"),n("Vgg8"),n("XYOC"),n("nmM0"),n("0Ceg"),n("CJuc"),n("UrOv"),n("D7iV"),n("yRz6"),n("mTEX"),n("Py6u"),n("b2zq"),n("oU5s"),n("GLSd"),n("Kth1"),n("t9RB"),n("qSBs"),n("rAnw")},GDrd:function(t,e,n){"use strict";e.a={ADD:"add",REMOVE:"remove"}},GKYg:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m={};return i=parseFloat(n)-t.EASTING_OFFSET,r=parseFloat(e),o=6*(parseInt(l,10)-1)-180+3,s=(a=r/t.k0/(t.EQUATORIAL_RADIUS*(1-t.ECC_SQUARED/4-3*t.ECC_SQUARED*t.ECC_SQUARED/64-5*t.ECC_SQUARED*t.ECC_SQUARED*t.ECC_SQUARED/256)))+(3*t.E1/2-27*t.E1*t.E1*t.E1/32)*Math.sin(2*a)+(21*t.E1*t.E1/16-55*t.E1*t.E1*t.E1*t.E1/32)*Math.sin(4*a)+151*t.E1*t.E1*t.E1/96*Math.sin(6*a),u=t.EQUATORIAL_RADIUS/Math.sqrt(1-t.ECC_SQUARED*Math.sin(s)*Math.sin(s)),c=Math.tan(s)*Math.tan(s),d=t.ECC_PRIME_SQUARED*Math.cos(s)*Math.cos(s),h=t.EQUATORIAL_RADIUS*(1-t.ECC_SQUARED)/Math.pow(1-t.ECC_SQUARED*Math.sin(s)*Math.sin(s),1.5),p=i/(u*t.k0),f=s-u*Math.tan(s)/h*(p*p/2-(5+3*c+10*d-4*d*d-9*t.ECC_PRIME_SQUARED)*p*p*p*p/24+(61+90*c+298*d+45*c*c-252*t.ECC_PRIME_SQUARED-3*d*d)*p*p*p*p*p*p/720),f*=t.RAD_2_DEG,b=o+(b=(p-(1+2*c+d)*p*p*p/6+(5-2*d+28*c-3*d*d+8*t.ECC_PRIME_SQUARED+24*c*c)*p*p*p*p*p/120)/Math.cos(s))*t.RAD_2_DEG,m.latitude=f,m.longitude=b,m}return function(n){return t=n,e}})?l.apply(e,[]):l)||(t.exports=i)},GLSd:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}vehicleLogControllerGetCsv$Response(e){const n=new o.a(this.rootUrl,t.VehicleLogControllerGetCsvPath,"get");return e&&(n.query("toDate",e.toDate),n.query("fromDate",e.fromDate)),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}vehicleLogControllerGetCsv(t){return this.vehicleLogControllerGetCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseVehicleLogControllerVehicleLogPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseVehicleLogControllerVehicleLog(t){return this.getOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseVehicleLogControllerVehicleLogPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseVehicleLogControllerVehicleLog(t){return this.replaceOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseVehicleLogControllerVehicleLogPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseVehicleLogControllerVehicleLog(t){return this.deleteOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseVehicleLogControllerVehicleLogPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseVehicleLogControllerVehicleLog(t){return this.updateOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseVehicleLogControllerVehicleLogPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseVehicleLogControllerVehicleLog(t){return this.getManyBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseVehicleLogControllerVehicleLogPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseVehicleLogControllerVehicleLog(t){return this.createOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseVehicleLogControllerVehicleLogPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseVehicleLogControllerVehicleLog(t){return this.createManyBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.VehicleLogControllerGetCsvPath="/Vehicle_log/csv",t.GetOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.ReplaceOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.DeleteOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.UpdateOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.GetManyBaseVehicleLogControllerVehicleLogPath="/Vehicle_log",t.CreateOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log",t.CreateManyBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return s})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return b})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return d})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return p})),n.d(e,"n",(function(){return o})),n.d(e,"d",(function(){return g})),n.d(e,"o",(function(){return _})),n.d(e,"p",(function(){return y}));class l{}class i{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function s(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function d(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function f(t=null){return{type:9,options:t}}function b(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,l=0;const i=this.players.length;0==i?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++l==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},GXLG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("8Y7J");let i=(()=>{class t{constructor(){this.eventSnackBar=new l.r}openSnackBar(t){this.eventSnackBar.emit(t)}getEventSnackBar(){return this.eventSnackBar}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},Gbct:function(t,e,n){var l=n("Wm4p"),i=n("cpc2");function r(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=r,i(r.prototype),r.prototype.onError=function(t,e){var n=new Error(t);return n.type="TransportError",n.description=e,this.emit("error",n),this},r.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(t){var e=l.decodePacket(t,this.socket.binaryType);this.onPacket(e)},r.prototype.onPacket=function(t){this.emit("packet",t)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},Gi4r:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("SVse"),n("IheW"),n("8Y7J"),n("cUpR"),n("LRne"),n("z6cu"),n("cp0P"),n("vkgz"),n("lJxs"),n("JIr8"),n("nYR2"),n("w1tV"),n("IzEk"),n("KCVW"),n("Xd0L");class l{}},GvmM:function(t,e,n){"use strict";n.d(e,"b",(function(){return b}));var l,i=n("Ho3V"),r=n("AdTM"),o=n("4mld"),a=n("VWR+"),s=n("30zj"),u=n("OPOH"),c=n("Bw0W"),d=n("bYNo"),h=n("kvpX"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e){var n=this,l=Object(u.a)({},e);return delete l.source,(n=t.call(this,l)||this).mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,e.render&&(n.render=e.render),e.map&&n.setMap(e.map),n.addEventListener(Object(o.b)(s.a.SOURCE),n.handleSourcePropertyChange_),n.setSource(e.source?e.source:null),n}return p(e,t),e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){return this.get(s.a.SOURCE)||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():d.a.UNDEFINED},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(i.c)(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(i.a)(t,r.a.CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.getFeatures=function(t){return this.renderer_.getFeatures(t)},e.prototype.render=function(t,e){var n=this.getRenderer();if(n.prepareFrame(t))return n.renderFrame(t,e)},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(i.c)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(i.c)(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(i.a)(t,c.a.PRECOMPOSE,(function(t){var e=t.frameState.layerStatesArray,n=this.getLayerState(!1);Object(h.a)(!e.some((function(t){return t.layer===n.layer})),67),e.push(n)}),this),this.mapRenderKey_=Object(i.a)(this,r.a.CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(s.a.SOURCE,t)},e.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},e.prototype.hasRenderer=function(){return!!this.renderer_},e.prototype.createRenderer=function(){return null},e.prototype.disposeInternal=function(){this.setSource(null),t.prototype.disposeInternal.call(this)},e}(a.a);function b(t,e){if(!t.visible)return!1;var n=e.resolution;if(n<t.minResolution||n>=t.maxResolution)return!1;var l=e.zoom;return l>t.minZoom&&l<=t.maxZoom}e.a=f},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("LRne"),i=n("0EUg");function r(...t){return Object(i.a)()(Object(l.a)(...t))}},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";var l=n("7o/Q"),i=n("2QA8"),r=n("gRHU"),o=n("kJWO"),a=n("mCNh"),s=n("2fFW");n.d(e,"a",(function(){return u}));let u=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof l.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new l.a(t,e,n):new l.a(r.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),s.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof l.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=c(e))((e,n)=>{let l;l=this.subscribe(e=>{try{t(e)}catch(i){n(i),l&&l.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=c(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function c(t){if(t||(t=s.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},"HEh+":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return u}));var l=n("f8l7");function i(t,e,n,i,r,o,a){var s=(n-e)/i;if(s<3){for(;e<n;e+=i)o[a++]=t[e],o[a++]=t[e+1];return a}var u=new Array(s);u[0]=1,u[s-1]=1;for(var c=[e,n-i],d=0;c.length>0;){for(var h=c.pop(),p=c.pop(),f=0,b=t[p],m=t[p+1],g=t[h],_=t[h+1],y=p+i;y<h;y+=i){var A=t[y],v=t[y+1],C=Object(l.g)(A,v,b,m,g,_);C>f&&(d=y,f=C)}f>r&&(u[(d-e)/i]=1,p+i<d&&c.push(p,d),d+i<h&&c.push(d,h))}for(y=0;y<s;++y)u[y]&&(o[a++]=t[e+y*i],o[a++]=t[e+y*i+1]);return a}function r(t,e,n,l,r,o,a,s){for(var u=0,c=n.length;u<c;++u){var d=n[u];a=i(t,e,d,l,r,o,a),s.push(a),e=d}return a}function o(t,e){return e*Math.round(t/e)}function a(t,e,n,l,i,r,a){if(e==n)return a;var s,u,c=o(t[e],i),d=o(t[e+1],i);e+=l,r[a++]=c,r[a++]=d;do{if(s=o(t[e],i),u=o(t[e+1],i),(e+=l)==n)return r[a++]=s,r[a++]=u,a}while(s==c&&u==d);for(;e<n;){var h=o(t[e],i),p=o(t[e+1],i);if(e+=l,h!=s||p!=u){var f=s-c,b=u-d,m=h-c,g=p-d;f*g==b*m&&(f<0&&m<f||f==m||f>0&&m>f)&&(b<0&&g<b||b==g||b>0&&g>b)?(s=h,u=p):(r[a++]=s,r[a++]=u,c=s,d=u,s=h,u=p)}}return r[a++]=s,r[a++]=u,a}function s(t,e,n,l,i,r,o,s){for(var u=0,c=n.length;u<c;++u){var d=n[u];o=a(t,e,d,l,i,r,o),s.push(o),e=d}return o}function u(t,e,n,l,i,r,o,a){for(var u=0,c=n.length;u<c;++u){var d=n[u],h=[];o=s(t,e,d,l,i,r,o,h),a.push(h),e=d[d.length-1]}return o}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},l={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(t){return function(e,i,r,o){var a=n(e),s=l[t][n(e)];return 2===a&&(s=s[i?0:1]),s.replace(/%d/i,e)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HjK1:function(t,e,n){function l(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("lhf0")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var l="color: "+this.color;t.splice(1,0,l,"color: inherit");var i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(r=i))})),t.splice(r,0,l)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=l,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(l())},Ho3V:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));var l=n("OPOH");function i(t,e,n,l,i){if(l&&l!==t&&(n=n.bind(l)),i){var r=n;n=function(){t.removeEventListener(e,n),r.apply(this,arguments)}}var o={target:t,type:e,listener:n};return t.addEventListener(e,n),o}function r(t,e,n,l){return i(t,e,n,l,!0)}function o(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Object(l.b)(t))}},"Hq+i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("8Y7J"),i=(n("G0WM"),n("vDCU"));class r{constructor(t,e,n){this.dialogRef=t,this.notif=e,this.notificationService=n,this.onSelect=i.a,this.viewedNotif=new l.r,this.currentPage="listNotification",this.selectNotif=void 0}ngOnInit(){this.notif&&this.goToNotif(this.notif)}goToNotif(t){this.selectNotif=t,this.currentPage="viewNotification"}goToList(){this.currentPage="listNotification"}goToParam(){this.currentPage="paramNotification"}closeModal(){this.dialogRef.close()}deleteNotification(){const t={id:this.selectNotif.id};console.log(t),this.notificationService.deleteOneBaseNotificationControllerNotification(t).subscribe(t=>{console.log(t),this.currentPage="listNotification"})}}},Hqo4:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("TN97"),i=n("W8M7"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=n("ppab"),u=(n("svHU"),n("drqP"),n("Fi3X"),n("Ca9r"),n("SSvb"));class c extends s.a{constructor(t){super(),this.mapService=t,this.horizonLine=[],this.sectorPolygon=[],this.sectorFeature=void 0,this.activeComponents={sector:!0,population:!1,topography:!1,hexMap:!0,piv:!0}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngAfterViewInit(){}ngOnDestroy(){this.removeSector(),this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displaySector(t,e){this.isDescent=e.isDescent,this.horizonLine=this.getHorizonLine(t,e),this.sectorPolygon=this.createSectorPolygon(t,this.horizonLine),this.manageSector(),this.managePiv(),this.manageHexMap(t,this.isDescent),this.manageGrid(t)}toggleComponent(t,e){this.activeComponents[t]=!this.activeComponents[t],"sector"===t?this.manageSector():"piv"===t?this.managePiv():"population"===t||"topography"===t?this.manageGrid(e):"hexMap"===t&&this.manageHexMap(e,this.isDescent)}getTrajectoryTarget(){const t=this.mapService.getMap().getLayers().getArray().filter(t=>"Trajectory"===t.get("name"))[0].getLayers().getArray().filter(t=>"trajectory-line"===t.get("name"))[0].getSource().getFeatures()[0].getGeometry().getCoordinates();return t[t.length-1]}manageSector(){!0===this.activeComponents.sector?this.upsertSectorFeature(this.sectorPolygon):this.removeSector()}managePiv(){!0===this.activeComponents.piv?this.pivComponent.displayPiv(this.sectorPolygon):this.pivComponent.removePiv()}manageHexMap(t,e){if(!0===this.activeComponents.hexMap){const n=this.getTrajectoryTarget();this.hexMapComponent.displayHexMap(t,n,this.horizonLine,e)}else this.hexMapComponent.removeHexMap()}manageGrid(t){!0===this.activeComponents.population||!0===this.activeComponents.topography?this.gridComponent.displayGrid(t,this.sectorPolygon,this.horizonLine,this.activeComponents):this.gridComponent.removeGrid()}removeSector(){this.source.clear(),this.sectorFeature=void 0,this.pivComponent.removePiv(),this.gridComponent.removeGrid()}getHorizonLine(t,e){let n=this.degreesToAbsolute(t.track-5),l=this.degreesToAbsolute(t.track+5);e.isDescent&&(n=this.degreesToAbsolute(t.track-15),l=this.degreesToAbsolute(t.track+15));const i=a.point([t.longitude,t.latitude]);return a.lineArc(i,e.distance,n,l).geometry.coordinates}createSectorPolygon(t,e){const n=a.point([t.longitude,t.latitude]),l=a.point(e[0]),i=a.greatCircle(n,l),r=a.point(e[e.length-1]),o=a.greatCircle(r,n);return[[...i.geometry.coordinates,...e,...o.geometry.coordinates]]}degreesToAbsolute(t){return t>360?t-360:t<0?t+360:t}upsertSectorFeature(t){const e=Object(u.b)(t),n=new i.a(e);this.sectorFeature?this.sectorFeature.setGeometry(n):(this.sectorFeature=new l.a({geometry:n,id_:"TRAJECTORY-CONE"}),this.sectorFeature.setStyle(new r.b({stroke:new o.a({color:"red",width:2})})),this.source.addFeature(this.sectorFeature))}}},HsOI:function(t,e,n){"use strict";n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return v})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return f})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return m}));var l=n("8Y7J"),i=(n("GS7A"),n("KCVW")),r=n("Xd0L"),o=n("XNiG"),a=n("VRyK"),s=n("xgIS"),u=n("JX91"),c=n("1G5W"),d=n("IzEk");let h=0;class p{constructor(){this.id="mat-error-"+h++}}class f{}function b(t){return Error(`A hint was already declared for 'align="${t}"'.`)}class m{}class g{}let _=0;class y{constructor(t){this._elementRef=t}}const A=Object(r.E)(y,"primary"),v=new l.w("MAT_FORM_FIELD_DEFAULT_OPTIONS");class C extends A{constructor(t,e,n,l,i,r,a,s){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=l,this._defaults=i,this._platform=r,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new o.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+_++,this._labelId="mat-form-field-label-"+_++,this._previousDirection="ltr",this._labelOptions=n||{},this.floatLabel=this._labelOptions.float||"auto",this._animationsEnabled="NoopAnimations"!==s,this.appearance=i&&i.appearance?i.appearance:"legacy",this._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(i.c)(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(u.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(c.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(a.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this.updateOutlineGap(),this._previousDirection=this._dir.value})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(s.a)(this._label.nativeElement,"transitionend").pipe(Object(d.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if("start"===n.align){if(t||this.hintLabel)throw b("start");t=n}else if("end"===n.align){if(e)throw b("end");e=n}})}}_syncDescribedByIds(){if(this._control){let t=[];if("hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!document.documentElement.contains(this._elementRef.nativeElement))return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const l=this._connectionContainerRef.nativeElement,i=l.querySelectorAll(".mat-form-field-outline-start"),r=l.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const i=l.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(i),o=this._getStartEnd(t.children[0].getBoundingClientRect());let a=0;for(const e of t.children)a+=e.offsetWidth;e=o-r-5,n=a>0?.75*a+10:0}for(let o=0;o<i.length;o++)i.item(o).style.width=e+"px";for(let o=0;o<r.length;o++)r.item(o).style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return"rtl"===this._previousDirection?t.right:t.left}}class w{}},Hsuu:function(t,e,n){"use strict";e.a={ARRAY_BUFFER:"arraybuffer",JSON:"json",TEXT:"text",XML:"xml"}},HyV0:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>t&&"number"==typeof t.length&&"function"!=typeof t},I5KE:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t,e){this.show=!1,this.name="",this.type="",this.mapping={},this.properties={},this.data={},this.feature=e;const n=!0===t.get("isPivIntersects")?e:t,l=n.get("clickable"),i=n.get("hoverable");this.show=l||i,this.type=n.get(!0===t.get("isPivIntersects")?"layerName":"name"),this.mapping=n.get(!0===t.get("isPivIntersects")?"layerMapping":"mapping"),this.properties=e.getProperties();for(const r in this.mapping)this.mapping.hasOwnProperty(r)&&this.properties.hasOwnProperty(r)&&(this.data[this.mapping[r]]=this.properties[r],"name"===this.mapping[r]&&(this.name=this.properties[r]))}}},I9pN:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("MlvX"),r=n("Xd0L"),o=n("HsOI"),a=n("bujt"),s=n("Fwaw"),u=n("5GAg"),c=n("omvX"),d=n("s7LF"),h=n("dJrM"),p=n("IP0z"),f=n("/HVE"),b=n("ZwOa"),m=n("oapL"),g=n("/Co4"),_=n("QQfA"),y=n("SVse"),A=n("hOhj"),v=n("Rn7m"),C=n("JX91"),w=n("Kj3r"),P=n("eIep"),x=n("lJxs"),S=n("JIr8"),k=n("LRne");n("G0WM");const M=t=>t.value<=-180||t.value>=180?{validLongitude:{reason:"outOfBound",value:t.value}}:null,O=t=>t.value<=-90||t.value>=90?{validLatitude:{reason:"outOfBound",value:t.value}}:null,D=t=>t.value<0||t.value>25e3?{validSpeed:{reason:"outOfBound",value:t.value}}:null,T=t=>t.value<0?{notNegative:{reason:"negative",value:t.value}}:null;class E{isErrorState(t,e){const n=!(!t||!t.dirty&&!t.touched),l=!(!t||!t.hasError("track")),i=!(!t||!(t.parent.hasError("track")||t.parent.hasError("trackSup")||t.parent.hasError("trackInf")));return n&&(l||i)}}class I{isErrorState(t,e){const n=!(!t||!t.dirty&&!t.touched),l=!(!t||!t.hasError("ttl")),i=!(!t||!(t.parent.hasError("ttl")||t.parent.hasError("ttlNegative")||t.parent.hasError("trackSup")||t.parent.hasError("trackInf")));return n&&(l||i)}}class L{constructor(t,e,n,i){this.formBuilder=t,this.ghostService=e,this.stopPointService=n,this.engineService=i,this.changePage=new l.r,this.airportAutoComplete$=null,this.airportAutoCompleteControl=new d.g,this.modelIcaoAutoComplete$=null,this.modelIcaoAutoCompleteControl=new d.g(d.w.required),this.matcher=new E,this.matcherTtlTrack=new I,this.defaultSpeed=300,this.defaultAtl=25e3}ngOnInit(){this.initForm(),this.airportAutoComplete$=this.airportAutoCompleteControl.valueChanges.pipe(Object(C.a)(""),Object(w.a)(300),Object(P.a)(t=>""!==t?this.lookupAirport(t.toUpperCase()):Object(k.a)(null))),this.modelIcaoAutoComplete$=this.modelIcaoAutoCompleteControl.valueChanges.pipe(Object(C.a)(""),Object(w.a)(300),Object(P.a)(t=>""!==t?this.lookupModelIcao(t.toUpperCase()):Object(k.a)(null)))}initForm(){this.modelIcaoAutoCompleteControl.setValue(this.ghost?this.ghost.icaoTypeCode:""),this.airportAutoCompleteControl.setValue(this.ghost?this.ghost.toIcao:""),this.ghostForm=this.formBuilder.group({icao:[this.ghost?{value:this.ghost.icao,disabled:!0}:null,[d.w.required]],latitude:[this.ghost?this.ghost.latitude:null,[d.w.required,O]],longitude:[this.ghost?this.ghost.longitude:null,[d.w.required,M]],speed:[this.ghost?this.ghost.speed:this.defaultSpeed,[d.w.required,D,T]],altitude:[this.ghost?this.ghost.altitude:this.defaultAtl,[d.w.required,T]],vsi:[this.ghost?this.ghost.vsi:null,[d.w.required]],icaoTypeCode:this.modelIcaoAutoCompleteControl,ttl:[this.ghost?this.ghost.ttl/6e4:null],track:[this.ghost?this.ghost.track:null],toIcao:this.airportAutoCompleteControl},{validator:this.testAirportTrackAndTTl}),this.verif_update=this.ghost?{latitude:this.ghost.latitude,longitude:this.ghost.longitude}:null}testAirportTrackAndTTl(t){const e={};if(t){const n=t.controls;if(n.toIcao.value&&n.toIcao.value.length>1)return null;if(null!==n.track.value&&null!==n.ttl.value&&Number(n.ttl.value)>0&&Number(n.track.value)<=360&&Number(n.track.value)>=0)return null;null===n.track.value?e.track="track":(n.track.value>360?e.trackSup="trackSup":n.track.value<0&&(e.trackInf="trackInf"),null===n.ttl.value?e.ttl="ttl":Number(n.ttl.value)<=0&&(e.ttlNegative="ttlNegative"))}return e}lookupAirport(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(x.a)(t=>t.data),Object(S.a)(t=>Object(k.a)(null)))}lookupModelIcao(t){return this.engineService.getManyBaseEngineControllerEngine({filter:["icao||cont||"+t],limit:10}).pipe(Object(x.a)(t=>t.data),Object(S.a)(t=>Object(k.a)(null)))}onSubmitGhost(){this.ghost?(this.verif_update.latitude!=this.ghostForm.get("latitude").value||this.verif_update.longitude!=this.ghostForm.get("longitude").value?(this.ghost.latitude=this.ghostForm.get("latitude").value,this.ghost.longitude=this.ghostForm.get("longitude").value):(delete this.ghost.latitude,delete this.ghost.longitude),this.ghost.track=this.ghostForm.get("track").value,this.ghost.speed=this.ghostForm.get("speed").value,this.ghost.altitude=this.ghostForm.get("altitude").value,this.ghost.vsi=this.ghostForm.get("vsi").value,this.ghost.icaoTypeCode=this.ghostForm.get("icaoTypeCode").value,this.ghost.toIcao=this.ghostForm.get("toIcao").value,this.ghost.ttl=6e4*this.ghostForm.get("ttl").value,this.updateGhost()):this.createGhost()}updateGhost(){this.ghostService.ghostControllerUpdateGhost({icao:this.ghost.icao,body:this.ghost}).subscribe(t=>{this.changePage.emit("UPDATED")})}createGhost(){const t={ghost:{icao:this.ghostForm.get("icao").value,ttl:6e4*this.ghostForm.get("ttl").value},position:{icao:this.ghostForm.get("icao").value,latitude:this.ghostForm.get("latitude").value,longitude:this.ghostForm.get("longitude").value,track:this.ghostForm.get("track").value,speed:this.ghostForm.get("speed").value,altitude:this.ghostForm.get("altitude").value,vsi:this.ghostForm.get("vsi").value,icaoTypeCode:this.ghostForm.get("icaoTypeCode").value,toIcao:this.ghostForm.get("toIcao").value}};this.ghostService.ghostControllerAddGhost({body:t}).subscribe(t=>{this.changePage.emit("CREATED")})}closePage(){this.changePage.emit("")}}var j=n("TYbz"),R=n("rLOe"),F=n("EFbT"),N=l.Bb({encapsulation:0,styles:[[".ghost-form[_ngcontent-%COMP%]{padding:0 10px 10px}.ghost-form[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%]{position:relative}.ghost-form[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;height:50px;margin-top:10px;margin-bottom:10px}.ghost-form[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.ghost-form[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:.25em}.btn-success[_ngcontent-%COMP%]{display:block;margin-left:45%}"]],data:{}});function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[64,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Db(2,0,null,0,1,"p",[["style","margin: 0;line-height: 15px;font-size: 13px;"]],null,null,null,null,null)),(t()(),l.Wb(3,null,[" ",""]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,3,0,e.context.$implicit.icao)}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[75,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Db(2,0,null,0,1,"p",[["style","margin: 0;line-height: 15px;font-size: 13px;"]],null,null,null,null,null)),(t()(),l.Wb(3,null,[" ",""]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,3,0,e.context.$implicit.icao)}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[71,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["An airport or a track is required"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[82,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["Track must be less than 360"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[82,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["Track must be a positive number"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[91,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["TTL is required if track is set"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[91,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["TTL must be a positive number"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,252,"div",[["class","ghost-form"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["class","btn return-button"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closePage()&&l),l}),a.b,a.a)),l.Cb(2,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Return"])),(t()(),l.Db(4,0,null,null,248,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,6).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,6).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.onSubmitGhost()&&i),i}),null,null)),l.Cb(5,16384,null,0,d.A,[],null,null),l.Cb(6,540672,null,0,d.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,d.c,null,[d.k]),l.Cb(8,16384,null,0,d.r,[[4,d.c]],null,null),(t()(),l.Db(9,0,null,null,21,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Identification"])),(t()(),l.Db(12,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(13,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(23,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","icao"],["matInput",""],["placeholder","Icao"],["title","Icao"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,24)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,24).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,24)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,24)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,29)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,29)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,29)._onInput()&&i),i}),null,null)),l.Cb(24,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Tb(1024,null,d.o,(function(t){return[t]}),[d.d]),l.Cb(26,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(28,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(29,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],o.d,null,[b.b]),(t()(),l.Db(31,0,null,null,42,"div",[],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Coordinate"])),(t()(),l.Db(34,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(35,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,10,{_controlNonStatic:0}),l.Ub(335544320,11,{_controlStatic:0}),l.Ub(603979776,12,{_labelChildNonStatic:0}),l.Ub(335544320,13,{_labelChildStatic:0}),l.Ub(603979776,14,{_placeholderChild:0}),l.Ub(603979776,15,{_errorChildren:1}),l.Ub(603979776,16,{_hintChildren:1}),l.Ub(603979776,17,{_prefixChildren:1}),l.Ub(603979776,18,{_suffixChildren:1}),(t()(),l.Db(45,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","latitude"],["matInput",""],["max","90"],["min","-90"],["placeholder","Latitude"],["step","0.1"],["title","Latitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,46)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,46).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,46)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,46)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,47).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,47).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,52)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,52)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,52)._onInput()&&i),i}),null,null)),l.Cb(46,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(47,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(49,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(51,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(52,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[10,4],[11,4]],o.d,null,[b.b]),(t()(),l.Db(54,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(55,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,19,{_controlNonStatic:0}),l.Ub(335544320,20,{_controlStatic:0}),l.Ub(603979776,21,{_labelChildNonStatic:0}),l.Ub(335544320,22,{_labelChildStatic:0}),l.Ub(603979776,23,{_placeholderChild:0}),l.Ub(603979776,24,{_errorChildren:1}),l.Ub(603979776,25,{_hintChildren:1}),l.Ub(603979776,26,{_prefixChildren:1}),l.Ub(603979776,27,{_suffixChildren:1}),(t()(),l.Db(65,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","longitude"],["matInput",""],["max","180"],["min","-180"],["placeholder","Longitude"],["step","0.1"],["title","Longitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,66)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,66).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,66)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,66)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,67).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,67).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,67).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,72)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,72)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,72)._onInput()&&i),i}),null,null)),l.Cb(66,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(67,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(69,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(71,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(72,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[19,4],[20,4]],o.d,null,[b.b]),(t()(),l.Db(74,0,null,null,92,"div",[],null,null,null,null,null)),(t()(),l.Db(75,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Velocity"])),(t()(),l.Db(77,0,null,null,40,"div",[],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(79,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,28,{_controlNonStatic:0}),l.Ub(335544320,29,{_controlStatic:0}),l.Ub(603979776,30,{_labelChildNonStatic:0}),l.Ub(335544320,31,{_labelChildStatic:0}),l.Ub(603979776,32,{_placeholderChild:0}),l.Ub(603979776,33,{_errorChildren:1}),l.Ub(603979776,34,{_hintChildren:1}),l.Ub(603979776,35,{_prefixChildren:1}),l.Ub(603979776,36,{_suffixChildren:1}),(t()(),l.Db(89,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","speed"],["matInput",""],["min","0"],["placeholder","Ground speed"],["step","30"],["title","Ground speed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,90)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,90).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,90)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,90)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,91).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,91).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,91).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,96)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,96)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,96)._onInput()&&i),i}),null,null)),l.Cb(90,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(91,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(93,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(95,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(96,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[28,4],[29,4]],o.d,null,[b.b]),(t()(),l.Db(98,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(99,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,37,{_controlNonStatic:0}),l.Ub(335544320,38,{_controlStatic:0}),l.Ub(603979776,39,{_labelChildNonStatic:0}),l.Ub(335544320,40,{_labelChildStatic:0}),l.Ub(603979776,41,{_placeholderChild:0}),l.Ub(603979776,42,{_errorChildren:1}),l.Ub(603979776,43,{_hintChildren:1}),l.Ub(603979776,44,{_prefixChildren:1}),l.Ub(603979776,45,{_suffixChildren:1}),(t()(),l.Db(109,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","altitude"],["matInput",""],["min","0"],["placeholder","Altitude"],["step","1000"],["title","Altitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,110)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,110).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,110)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,110)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,111).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,111).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,111).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,116)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,116)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,116)._onInput()&&i),i}),null,null)),l.Cb(110,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(111,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(113,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(115,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(116,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[37,4],[38,4]],o.d,null,[b.b]),(t()(),l.Db(118,0,null,null,48,"div",[],null,null,null,null,null)),(t()(),l.Db(119,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(120,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,46,{_controlNonStatic:0}),l.Ub(335544320,47,{_controlStatic:0}),l.Ub(603979776,48,{_labelChildNonStatic:0}),l.Ub(335544320,49,{_labelChildStatic:0}),l.Ub(603979776,50,{_placeholderChild:0}),l.Ub(603979776,51,{_errorChildren:1}),l.Ub(603979776,52,{_hintChildren:1}),l.Ub(603979776,53,{_prefixChildren:1}),l.Ub(603979776,54,{_suffixChildren:1}),(t()(),l.Db(130,0,null,1,8,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vsi"],["matInput",""],["placeholder","VSI"],["title","VSI"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,131)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,131).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,131)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,131)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,132).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,132).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,132).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,137)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,137)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,137)._onInput()&&i),i}),null,null)),l.Cb(131,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(132,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(134,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(136,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(137,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[46,4],[47,4]],o.d,null,[b.b]),(t()(),l.Db(139,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(140,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,55,{_controlNonStatic:0}),l.Ub(335544320,56,{_controlStatic:0}),l.Ub(603979776,57,{_labelChildNonStatic:0}),l.Ub(335544320,58,{_labelChildStatic:0}),l.Ub(603979776,59,{_placeholderChild:0}),l.Ub(603979776,60,{_errorChildren:1}),l.Ub(603979776,61,{_hintChildren:1}),l.Ub(603979776,62,{_prefixChildren:1}),l.Ub(603979776,63,{_suffixChildren:1}),(t()(),l.Db(150,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Model"],["title","Model"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,151)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,151).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,151)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,151)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,152)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,152)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,152)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,152)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,157)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,157)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,157)._onInput()&&i),i}),null,null)),l.Cb(151,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(152,4866048,null,0,g.f,[l.p,_.c,l.Y,l.G,l.j,g.b,[2,p.b],[2,o.c],[2,y.d],A.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,g.f]),l.Cb(154,540672,null,0,d.h,[[8,null],[8,null],[6,d.o],[2,d.z]],{form:[0,"form"]},null),l.Tb(2048,null,d.p,null,[d.h]),l.Cb(156,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(157,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[55,4],[56,4]],o.d,null,[b.b]),(t()(),l.Db(159,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,v.b,v.a)),l.Tb(6144,null,r.l,null,[g.d]),l.Cb(161,1097728,[["autoModel",4]],2,g.d,[l.j,l.p,g.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,64,{options:1}),l.Ub(603979776,65,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Y)),l.Cb(165,278528,null,0,y.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,y.b,[l.j]),(t()(),l.Db(167,0,null,null,82,"div",[],null,null,null,null,null)),(t()(),l.Db(168,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Direction"])),(t()(),l.Db(170,0,null,null,29,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(171,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,66,{_controlNonStatic:0}),l.Ub(335544320,67,{_controlStatic:0}),l.Ub(603979776,68,{_labelChildNonStatic:0}),l.Ub(335544320,69,{_labelChildStatic:0}),l.Ub(603979776,70,{_placeholderChild:0}),l.Ub(603979776,71,{_errorChildren:1}),l.Ub(603979776,72,{_hintChildren:1}),l.Ub(603979776,73,{_prefixChildren:1}),l.Ub(603979776,74,{_suffixChildren:1}),(t()(),l.Db(181,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","to Icao"],["title","to Icao"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,182)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,182).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,182)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,182)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,183)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,183)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,183)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,183)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,188)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,188)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,188)._onInput()&&i),i}),null,null)),l.Cb(182,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(183,4866048,null,0,g.f,[l.p,_.c,l.Y,l.G,l.j,g.b,[2,p.b],[2,o.c],[2,y.d],A.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,g.f]),l.Cb(185,540672,null,0,d.h,[[8,null],[8,null],[6,d.o],[2,d.z]],{form:[0,"form"]},null),l.Tb(2048,null,d.p,null,[d.h]),l.Cb(187,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(188,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[66,4],[67,4]],o.d,null,[b.b]),(t()(),l.Db(190,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,v.b,v.a)),l.Tb(6144,null,r.l,null,[g.d]),l.Cb(192,1097728,[["auto",4]],2,g.d,[l.j,l.p,g.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,75,{options:1}),l.Ub(603979776,76,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,U)),l.Cb(196,278528,null,0,y.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,y.b,[l.j]),(t()(),l.sb(16777216,null,5,1,null,B)),l.Cb(199,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(200,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" or "])),(t()(),l.Db(202,0,null,null,23,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(203,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,77,{_controlNonStatic:0}),l.Ub(335544320,78,{_controlStatic:0}),l.Ub(603979776,79,{_labelChildNonStatic:0}),l.Ub(335544320,80,{_labelChildStatic:0}),l.Ub(603979776,81,{_placeholderChild:0}),l.Ub(603979776,82,{_errorChildren:1}),l.Ub(603979776,83,{_hintChildren:1}),l.Ub(603979776,84,{_prefixChildren:1}),l.Ub(603979776,85,{_suffixChildren:1}),(t()(),l.Db(213,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","track"],["matInput",""],["max","360"],["min","0"],["placeholder","Track"],["step","30"],["title","Track"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,214)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,214).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,214)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,214)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,215).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,215).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,215).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,220)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,220)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,220)._onInput()&&i),i}),null,null)),l.Cb(214,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(215,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(217,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(219,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(220,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[77,4],[78,4]],o.d,null,[b.b]),(t()(),l.sb(16777216,null,5,1,null,z)),l.Cb(223,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,5,1,null,G)),l.Cb(225,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(226,0,null,null,23,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(227,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,86,{_controlNonStatic:0}),l.Ub(335544320,87,{_controlStatic:0}),l.Ub(603979776,88,{_labelChildNonStatic:0}),l.Ub(335544320,89,{_labelChildStatic:0}),l.Ub(603979776,90,{_placeholderChild:0}),l.Ub(603979776,91,{_errorChildren:1}),l.Ub(603979776,92,{_hintChildren:1}),l.Ub(603979776,93,{_prefixChildren:1}),l.Ub(603979776,94,{_suffixChildren:1}),(t()(),l.Db(237,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ttl"],["matInput",""],["min","0"],["placeholder","Time to live (min)"],["title","Time to live"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,238)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,238).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,238)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,238)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,239).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,239).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,239).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,244)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,244)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,244)._onInput()&&i),i}),null,null)),l.Cb(238,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(239,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(241,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(243,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(244,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[86,4],[87,4]],o.d,null,[b.b]),(t()(),l.sb(16777216,null,5,1,null,H)),l.Cb(247,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,5,1,null,V)),l.Cb(249,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(250,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["style","margin-top: 5%;"],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,a.b,a.a)),l.Cb(251,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{disabled:[0,"disabled"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,6,0,n.ghostForm),t(e,13,0,"outline"),t(e,26,0,"icao"),t(e,29,0,"Icao","text"),t(e,35,0,"outline"),t(e,49,0,"latitude"),t(e,52,0,"Latitude","number"),t(e,55,0,"outline"),t(e,69,0,"longitude"),t(e,72,0,"Longitude","number"),t(e,79,0,"outline"),t(e,93,0,"speed"),t(e,96,0,"Ground speed","number"),t(e,99,0,"outline"),t(e,113,0,"altitude"),t(e,116,0,"Altitude","number"),t(e,120,0,"outline"),t(e,134,0,"vsi"),t(e,137,0,"VSI","number"),t(e,140,0,"outline"),t(e,152,0,l.Pb(e,161)),t(e,154,0,n.modelIcaoAutoCompleteControl),t(e,157,0,"Model","text"),t(e,161,0,""),t(e,165,0,l.Xb(e,165,0,l.Pb(e,166).transform(n.modelIcaoAutoComplete$))),t(e,171,0,"outline"),t(e,183,0,l.Pb(e,192)),t(e,185,0,n.airportAutoCompleteControl),t(e,188,0,"to Icao","text",n.matcher),t(e,192,0,""),t(e,196,0,l.Xb(e,196,0,l.Pb(e,197).transform(n.airportAutoComplete$))),t(e,199,0,n.ghostForm.hasError("track")),t(e,203,0,"outline"),t(e,217,0,"track"),t(e,220,0,"Track","number",n.matcher),t(e,223,0,n.ghostForm.hasError("trackSup")),t(e,225,0,n.ghostForm.hasError("trackInf")),t(e,227,0,"outline"),t(e,241,0,"ttl"),t(e,244,0,"Time to live (min)","number",n.matcherTtlTrack),t(e,247,0,n.ghostForm.hasError("ttl")),t(e,249,0,n.ghostForm.hasError("ttlNegative")),t(e,251,0,!n.ghostForm.valid)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode),t(e,4,0,l.Pb(e,8).ngClassUntouched,l.Pb(e,8).ngClassTouched,l.Pb(e,8).ngClassPristine,l.Pb(e,8).ngClassDirty,l.Pb(e,8).ngClassValid,l.Pb(e,8).ngClassInvalid,l.Pb(e,8).ngClassPending),t(e,12,1,["standard"==l.Pb(e,13).appearance,"fill"==l.Pb(e,13).appearance,"outline"==l.Pb(e,13).appearance,"legacy"==l.Pb(e,13).appearance,l.Pb(e,13)._control.errorState,l.Pb(e,13)._canLabelFloat,l.Pb(e,13)._shouldLabelFloat(),l.Pb(e,13)._hasFloatingLabel(),l.Pb(e,13)._hideControlPlaceholder(),l.Pb(e,13)._control.disabled,l.Pb(e,13)._control.autofilled,l.Pb(e,13)._control.focused,"accent"==l.Pb(e,13).color,"warn"==l.Pb(e,13).color,l.Pb(e,13)._shouldForward("untouched"),l.Pb(e,13)._shouldForward("touched"),l.Pb(e,13)._shouldForward("pristine"),l.Pb(e,13)._shouldForward("dirty"),l.Pb(e,13)._shouldForward("valid"),l.Pb(e,13)._shouldForward("invalid"),l.Pb(e,13)._shouldForward("pending"),!l.Pb(e,13)._animationsEnabled]),t(e,23,1,[l.Pb(e,28).ngClassUntouched,l.Pb(e,28).ngClassTouched,l.Pb(e,28).ngClassPristine,l.Pb(e,28).ngClassDirty,l.Pb(e,28).ngClassValid,l.Pb(e,28).ngClassInvalid,l.Pb(e,28).ngClassPending,l.Pb(e,29)._isServer,l.Pb(e,29).id,l.Pb(e,29).placeholder,l.Pb(e,29).disabled,l.Pb(e,29).required,l.Pb(e,29).readonly&&!l.Pb(e,29)._isNativeSelect||null,l.Pb(e,29)._ariaDescribedby||null,l.Pb(e,29).errorState,l.Pb(e,29).required.toString()]),t(e,34,1,["standard"==l.Pb(e,35).appearance,"fill"==l.Pb(e,35).appearance,"outline"==l.Pb(e,35).appearance,"legacy"==l.Pb(e,35).appearance,l.Pb(e,35)._control.errorState,l.Pb(e,35)._canLabelFloat,l.Pb(e,35)._shouldLabelFloat(),l.Pb(e,35)._hasFloatingLabel(),l.Pb(e,35)._hideControlPlaceholder(),l.Pb(e,35)._control.disabled,l.Pb(e,35)._control.autofilled,l.Pb(e,35)._control.focused,"accent"==l.Pb(e,35).color,"warn"==l.Pb(e,35).color,l.Pb(e,35)._shouldForward("untouched"),l.Pb(e,35)._shouldForward("touched"),l.Pb(e,35)._shouldForward("pristine"),l.Pb(e,35)._shouldForward("dirty"),l.Pb(e,35)._shouldForward("valid"),l.Pb(e,35)._shouldForward("invalid"),l.Pb(e,35)._shouldForward("pending"),!l.Pb(e,35)._animationsEnabled]),t(e,45,1,[l.Pb(e,51).ngClassUntouched,l.Pb(e,51).ngClassTouched,l.Pb(e,51).ngClassPristine,l.Pb(e,51).ngClassDirty,l.Pb(e,51).ngClassValid,l.Pb(e,51).ngClassInvalid,l.Pb(e,51).ngClassPending,l.Pb(e,52)._isServer,l.Pb(e,52).id,l.Pb(e,52).placeholder,l.Pb(e,52).disabled,l.Pb(e,52).required,l.Pb(e,52).readonly&&!l.Pb(e,52)._isNativeSelect||null,l.Pb(e,52)._ariaDescribedby||null,l.Pb(e,52).errorState,l.Pb(e,52).required.toString()]),t(e,54,1,["standard"==l.Pb(e,55).appearance,"fill"==l.Pb(e,55).appearance,"outline"==l.Pb(e,55).appearance,"legacy"==l.Pb(e,55).appearance,l.Pb(e,55)._control.errorState,l.Pb(e,55)._canLabelFloat,l.Pb(e,55)._shouldLabelFloat(),l.Pb(e,55)._hasFloatingLabel(),l.Pb(e,55)._hideControlPlaceholder(),l.Pb(e,55)._control.disabled,l.Pb(e,55)._control.autofilled,l.Pb(e,55)._control.focused,"accent"==l.Pb(e,55).color,"warn"==l.Pb(e,55).color,l.Pb(e,55)._shouldForward("untouched"),l.Pb(e,55)._shouldForward("touched"),l.Pb(e,55)._shouldForward("pristine"),l.Pb(e,55)._shouldForward("dirty"),l.Pb(e,55)._shouldForward("valid"),l.Pb(e,55)._shouldForward("invalid"),l.Pb(e,55)._shouldForward("pending"),!l.Pb(e,55)._animationsEnabled]),t(e,65,1,[l.Pb(e,71).ngClassUntouched,l.Pb(e,71).ngClassTouched,l.Pb(e,71).ngClassPristine,l.Pb(e,71).ngClassDirty,l.Pb(e,71).ngClassValid,l.Pb(e,71).ngClassInvalid,l.Pb(e,71).ngClassPending,l.Pb(e,72)._isServer,l.Pb(e,72).id,l.Pb(e,72).placeholder,l.Pb(e,72).disabled,l.Pb(e,72).required,l.Pb(e,72).readonly&&!l.Pb(e,72)._isNativeSelect||null,l.Pb(e,72)._ariaDescribedby||null,l.Pb(e,72).errorState,l.Pb(e,72).required.toString()]),t(e,78,1,["standard"==l.Pb(e,79).appearance,"fill"==l.Pb(e,79).appearance,"outline"==l.Pb(e,79).appearance,"legacy"==l.Pb(e,79).appearance,l.Pb(e,79)._control.errorState,l.Pb(e,79)._canLabelFloat,l.Pb(e,79)._shouldLabelFloat(),l.Pb(e,79)._hasFloatingLabel(),l.Pb(e,79)._hideControlPlaceholder(),l.Pb(e,79)._control.disabled,l.Pb(e,79)._control.autofilled,l.Pb(e,79)._control.focused,"accent"==l.Pb(e,79).color,"warn"==l.Pb(e,79).color,l.Pb(e,79)._shouldForward("untouched"),l.Pb(e,79)._shouldForward("touched"),l.Pb(e,79)._shouldForward("pristine"),l.Pb(e,79)._shouldForward("dirty"),l.Pb(e,79)._shouldForward("valid"),l.Pb(e,79)._shouldForward("invalid"),l.Pb(e,79)._shouldForward("pending"),!l.Pb(e,79)._animationsEnabled]),t(e,89,1,[l.Pb(e,95).ngClassUntouched,l.Pb(e,95).ngClassTouched,l.Pb(e,95).ngClassPristine,l.Pb(e,95).ngClassDirty,l.Pb(e,95).ngClassValid,l.Pb(e,95).ngClassInvalid,l.Pb(e,95).ngClassPending,l.Pb(e,96)._isServer,l.Pb(e,96).id,l.Pb(e,96).placeholder,l.Pb(e,96).disabled,l.Pb(e,96).required,l.Pb(e,96).readonly&&!l.Pb(e,96)._isNativeSelect||null,l.Pb(e,96)._ariaDescribedby||null,l.Pb(e,96).errorState,l.Pb(e,96).required.toString()]),t(e,98,1,["standard"==l.Pb(e,99).appearance,"fill"==l.Pb(e,99).appearance,"outline"==l.Pb(e,99).appearance,"legacy"==l.Pb(e,99).appearance,l.Pb(e,99)._control.errorState,l.Pb(e,99)._canLabelFloat,l.Pb(e,99)._shouldLabelFloat(),l.Pb(e,99)._hasFloatingLabel(),l.Pb(e,99)._hideControlPlaceholder(),l.Pb(e,99)._control.disabled,l.Pb(e,99)._control.autofilled,l.Pb(e,99)._control.focused,"accent"==l.Pb(e,99).color,"warn"==l.Pb(e,99).color,l.Pb(e,99)._shouldForward("untouched"),l.Pb(e,99)._shouldForward("touched"),l.Pb(e,99)._shouldForward("pristine"),l.Pb(e,99)._shouldForward("dirty"),l.Pb(e,99)._shouldForward("valid"),l.Pb(e,99)._shouldForward("invalid"),l.Pb(e,99)._shouldForward("pending"),!l.Pb(e,99)._animationsEnabled]),t(e,109,1,[l.Pb(e,115).ngClassUntouched,l.Pb(e,115).ngClassTouched,l.Pb(e,115).ngClassPristine,l.Pb(e,115).ngClassDirty,l.Pb(e,115).ngClassValid,l.Pb(e,115).ngClassInvalid,l.Pb(e,115).ngClassPending,l.Pb(e,116)._isServer,l.Pb(e,116).id,l.Pb(e,116).placeholder,l.Pb(e,116).disabled,l.Pb(e,116).required,l.Pb(e,116).readonly&&!l.Pb(e,116)._isNativeSelect||null,l.Pb(e,116)._ariaDescribedby||null,l.Pb(e,116).errorState,l.Pb(e,116).required.toString()]),t(e,119,1,["standard"==l.Pb(e,120).appearance,"fill"==l.Pb(e,120).appearance,"outline"==l.Pb(e,120).appearance,"legacy"==l.Pb(e,120).appearance,l.Pb(e,120)._control.errorState,l.Pb(e,120)._canLabelFloat,l.Pb(e,120)._shouldLabelFloat(),l.Pb(e,120)._hasFloatingLabel(),l.Pb(e,120)._hideControlPlaceholder(),l.Pb(e,120)._control.disabled,l.Pb(e,120)._control.autofilled,l.Pb(e,120)._control.focused,"accent"==l.Pb(e,120).color,"warn"==l.Pb(e,120).color,l.Pb(e,120)._shouldForward("untouched"),l.Pb(e,120)._shouldForward("touched"),l.Pb(e,120)._shouldForward("pristine"),l.Pb(e,120)._shouldForward("dirty"),l.Pb(e,120)._shouldForward("valid"),l.Pb(e,120)._shouldForward("invalid"),l.Pb(e,120)._shouldForward("pending"),!l.Pb(e,120)._animationsEnabled]),t(e,130,1,[l.Pb(e,136).ngClassUntouched,l.Pb(e,136).ngClassTouched,l.Pb(e,136).ngClassPristine,l.Pb(e,136).ngClassDirty,l.Pb(e,136).ngClassValid,l.Pb(e,136).ngClassInvalid,l.Pb(e,136).ngClassPending,l.Pb(e,137)._isServer,l.Pb(e,137).id,l.Pb(e,137).placeholder,l.Pb(e,137).disabled,l.Pb(e,137).required,l.Pb(e,137).readonly&&!l.Pb(e,137)._isNativeSelect||null,l.Pb(e,137)._ariaDescribedby||null,l.Pb(e,137).errorState,l.Pb(e,137).required.toString()]),t(e,139,1,["standard"==l.Pb(e,140).appearance,"fill"==l.Pb(e,140).appearance,"outline"==l.Pb(e,140).appearance,"legacy"==l.Pb(e,140).appearance,l.Pb(e,140)._control.errorState,l.Pb(e,140)._canLabelFloat,l.Pb(e,140)._shouldLabelFloat(),l.Pb(e,140)._hasFloatingLabel(),l.Pb(e,140)._hideControlPlaceholder(),l.Pb(e,140)._control.disabled,l.Pb(e,140)._control.autofilled,l.Pb(e,140)._control.focused,"accent"==l.Pb(e,140).color,"warn"==l.Pb(e,140).color,l.Pb(e,140)._shouldForward("untouched"),l.Pb(e,140)._shouldForward("touched"),l.Pb(e,140)._shouldForward("pristine"),l.Pb(e,140)._shouldForward("dirty"),l.Pb(e,140)._shouldForward("valid"),l.Pb(e,140)._shouldForward("invalid"),l.Pb(e,140)._shouldForward("pending"),!l.Pb(e,140)._animationsEnabled]),t(e,150,1,[l.Pb(e,152).autocompleteAttribute,l.Pb(e,152).autocompleteDisabled?null:"combobox",l.Pb(e,152).autocompleteDisabled?null:"list",l.Pb(e,152).panelOpen&&l.Pb(e,152).activeOption?l.Pb(e,152).activeOption.id:null,l.Pb(e,152).autocompleteDisabled?null:l.Pb(e,152).panelOpen.toString(),l.Pb(e,152).autocompleteDisabled||!l.Pb(e,152).panelOpen||null==l.Pb(e,152).autocomplete?null:l.Pb(e,152).autocomplete.id,!l.Pb(e,152).autocompleteDisabled,l.Pb(e,156).ngClassUntouched,l.Pb(e,156).ngClassTouched,l.Pb(e,156).ngClassPristine,l.Pb(e,156).ngClassDirty,l.Pb(e,156).ngClassValid,l.Pb(e,156).ngClassInvalid,l.Pb(e,156).ngClassPending,l.Pb(e,157)._isServer,l.Pb(e,157).id,l.Pb(e,157).placeholder,l.Pb(e,157).disabled,l.Pb(e,157).required,l.Pb(e,157).readonly&&!l.Pb(e,157)._isNativeSelect||null,l.Pb(e,157)._ariaDescribedby||null,l.Pb(e,157).errorState,l.Pb(e,157).required.toString()]),t(e,170,1,["standard"==l.Pb(e,171).appearance,"fill"==l.Pb(e,171).appearance,"outline"==l.Pb(e,171).appearance,"legacy"==l.Pb(e,171).appearance,l.Pb(e,171)._control.errorState,l.Pb(e,171)._canLabelFloat,l.Pb(e,171)._shouldLabelFloat(),l.Pb(e,171)._hasFloatingLabel(),l.Pb(e,171)._hideControlPlaceholder(),l.Pb(e,171)._control.disabled,l.Pb(e,171)._control.autofilled,l.Pb(e,171)._control.focused,"accent"==l.Pb(e,171).color,"warn"==l.Pb(e,171).color,l.Pb(e,171)._shouldForward("untouched"),l.Pb(e,171)._shouldForward("touched"),l.Pb(e,171)._shouldForward("pristine"),l.Pb(e,171)._shouldForward("dirty"),l.Pb(e,171)._shouldForward("valid"),l.Pb(e,171)._shouldForward("invalid"),l.Pb(e,171)._shouldForward("pending"),!l.Pb(e,171)._animationsEnabled]),t(e,181,1,[l.Pb(e,183).autocompleteAttribute,l.Pb(e,183).autocompleteDisabled?null:"combobox",l.Pb(e,183).autocompleteDisabled?null:"list",l.Pb(e,183).panelOpen&&l.Pb(e,183).activeOption?l.Pb(e,183).activeOption.id:null,l.Pb(e,183).autocompleteDisabled?null:l.Pb(e,183).panelOpen.toString(),l.Pb(e,183).autocompleteDisabled||!l.Pb(e,183).panelOpen||null==l.Pb(e,183).autocomplete?null:l.Pb(e,183).autocomplete.id,!l.Pb(e,183).autocompleteDisabled,l.Pb(e,187).ngClassUntouched,l.Pb(e,187).ngClassTouched,l.Pb(e,187).ngClassPristine,l.Pb(e,187).ngClassDirty,l.Pb(e,187).ngClassValid,l.Pb(e,187).ngClassInvalid,l.Pb(e,187).ngClassPending,l.Pb(e,188)._isServer,l.Pb(e,188).id,l.Pb(e,188).placeholder,l.Pb(e,188).disabled,l.Pb(e,188).required,l.Pb(e,188).readonly&&!l.Pb(e,188)._isNativeSelect||null,l.Pb(e,188)._ariaDescribedby||null,l.Pb(e,188).errorState,l.Pb(e,188).required.toString()]),t(e,202,1,["standard"==l.Pb(e,203).appearance,"fill"==l.Pb(e,203).appearance,"outline"==l.Pb(e,203).appearance,"legacy"==l.Pb(e,203).appearance,l.Pb(e,203)._control.errorState,l.Pb(e,203)._canLabelFloat,l.Pb(e,203)._shouldLabelFloat(),l.Pb(e,203)._hasFloatingLabel(),l.Pb(e,203)._hideControlPlaceholder(),l.Pb(e,203)._control.disabled,l.Pb(e,203)._control.autofilled,l.Pb(e,203)._control.focused,"accent"==l.Pb(e,203).color,"warn"==l.Pb(e,203).color,l.Pb(e,203)._shouldForward("untouched"),l.Pb(e,203)._shouldForward("touched"),l.Pb(e,203)._shouldForward("pristine"),l.Pb(e,203)._shouldForward("dirty"),l.Pb(e,203)._shouldForward("valid"),l.Pb(e,203)._shouldForward("invalid"),l.Pb(e,203)._shouldForward("pending"),!l.Pb(e,203)._animationsEnabled]),t(e,213,1,[l.Pb(e,219).ngClassUntouched,l.Pb(e,219).ngClassTouched,l.Pb(e,219).ngClassPristine,l.Pb(e,219).ngClassDirty,l.Pb(e,219).ngClassValid,l.Pb(e,219).ngClassInvalid,l.Pb(e,219).ngClassPending,l.Pb(e,220)._isServer,l.Pb(e,220).id,l.Pb(e,220).placeholder,l.Pb(e,220).disabled,l.Pb(e,220).required,l.Pb(e,220).readonly&&!l.Pb(e,220)._isNativeSelect||null,l.Pb(e,220)._ariaDescribedby||null,l.Pb(e,220).errorState,l.Pb(e,220).required.toString()]),t(e,226,1,["standard"==l.Pb(e,227).appearance,"fill"==l.Pb(e,227).appearance,"outline"==l.Pb(e,227).appearance,"legacy"==l.Pb(e,227).appearance,l.Pb(e,227)._control.errorState,l.Pb(e,227)._canLabelFloat,l.Pb(e,227)._shouldLabelFloat(),l.Pb(e,227)._hasFloatingLabel(),l.Pb(e,227)._hideControlPlaceholder(),l.Pb(e,227)._control.disabled,l.Pb(e,227)._control.autofilled,l.Pb(e,227)._control.focused,"accent"==l.Pb(e,227).color,"warn"==l.Pb(e,227).color,l.Pb(e,227)._shouldForward("untouched"),l.Pb(e,227)._shouldForward("touched"),l.Pb(e,227)._shouldForward("pristine"),l.Pb(e,227)._shouldForward("dirty"),l.Pb(e,227)._shouldForward("valid"),l.Pb(e,227)._shouldForward("invalid"),l.Pb(e,227)._shouldForward("pending"),!l.Pb(e,227)._animationsEnabled]),t(e,237,1,[l.Pb(e,243).ngClassUntouched,l.Pb(e,243).ngClassTouched,l.Pb(e,243).ngClassPristine,l.Pb(e,243).ngClassDirty,l.Pb(e,243).ngClassValid,l.Pb(e,243).ngClassInvalid,l.Pb(e,243).ngClassPending,l.Pb(e,244)._isServer,l.Pb(e,244).id,l.Pb(e,244).placeholder,l.Pb(e,244).disabled,l.Pb(e,244).required,l.Pb(e,244).readonly&&!l.Pb(e,244)._isNativeSelect||null,l.Pb(e,244)._ariaDescribedby||null,l.Pb(e,244).errorState,l.Pb(e,244).required.toString()]),t(e,250,0,l.Pb(e,251).disabled||null,"NoopAnimations"===l.Pb(e,251)._animationMode)}))}var W=n("8rEH"),$=n("zQui"),X=n("gavF"),K=n("oBZk"),J=n("ZZ/e"),Q=n("2Q+G"),Z=n("pIm3"),tt=n("pEI0"),et=n("Mc5n"),nt=n("s6ns"),lt=n("dk3J"),it=n("svHU"),rt=n("xhS3"),ot=n("7/LY"),at=n("YGmB");n.d(e,"a",(function(){return Bt}));var st=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content} .mat-dialog-content{margin:0;padding:0}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.ghost-operations[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between}.ghost-table[_ngcontent-%COMP%]{overflow:auto}table[_ngcontent-%COMP%]{border-spacing:0}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}"]],data:{}});function ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-ghost-form",[],null,[[null,"changePage"]],(function(t,e,n){var l=!0;return"changePage"===e&&(l=!1!==t.component.goArrayGhost()&&l),l}),q,N)),l.Cb(2,114688,null,0,L,[d.f,j.a,R.a,F.a],{ghost:[0,"ghost"]},{changePage:"changePage"})],(function(t,e){t(e,2,0,e.component.currentGhost)}),null)}function ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null)],null,null)}function dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,28,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),a.b,a.a)),l.Cb(3,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(4,1196032,null,0,X.g,[_.c,l.p,l.Y,X.c,[2,X.d],[8,null],[2,p.b],u.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,K.y,K.g)),l.Cb(6,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,21,"mat-menu",[],null,null,null,Q.d,Q.b)),l.Cb(8,1294336,[["menu",4]],3,X.h,[l.p,l.G,X.a],null,null),l.Ub(603979776,21,{_allItems:1}),l.Ub(603979776,22,{items:1}),l.Ub(603979776,23,{lazyContent:0}),l.Tb(2048,null,X.d,null,[X.h]),l.Tb(2048,null,X.b,null,[X.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.selectGhost(t.context.$implicit.icao)&&i),i}),Q.c,Q.a)),l.Cb(15,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,K.y,K.g)),l.Cb(17,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Select "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.goFormGhost(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(20,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,K.y,K.g)),l.Cb(22,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(24,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,25)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,25)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteGhost(t.context.$implicit.icao)&&i),i}),Q.c,Q.a)),l.Cb(25,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(26,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,K.y,K.g)),l.Cb(27,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"eye"),t(e,22,0,"create"),t(e,27,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null),t(e,24,0,l.Pb(e,25).role,l.Pb(e,25)._highlighted,l.Pb(e,25)._triggersSubmenu,l.Pb(e,25)._getTabIndex(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).disabled||null)}))}function ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" TTL (min) "]))],null,null)}function pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "])),l.Sb(3,1)],null,(function(t,e){var n=l.Xb(e,2,0,t(e,3,0,l.Pb(e.parent.parent,0),e.context.$implicit.ttl));t(e,2,0,n)}))}function ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" icao "]))],null,null)}function bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.icao)}))}function mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" latitude "]))],null,null)}function gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){var n=e.context.$implicit.latitude.toFixed(4);t(e,2,0,n)}))}function _t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" longitude "]))],null,null)}function yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){var n=e.context.$implicit.longitude.toFixed(4);t(e,2,0,n)}))}function At(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" altitude "]))],null,null)}function vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.altitude)}))}function Ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" track "]))],null,null)}function wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.track)}))}function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" vitesse "]))],null,null)}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.speed)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" vsi "]))],null,null)}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.vsi)}))}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" callsign "]))],null,null)}function Ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.callsign)}))}function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" airport to "]))],null,null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.toIcao)}))}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Type d'a\xe9ronef "]))],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.icaoTypeCode)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null)],null,null)}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),a.b,a.a)),l.Cb(3,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(4,1196032,null,0,X.g,[_.c,l.p,l.Y,X.c,[2,X.d],[8,null],[2,p.b],u.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,K.y,K.g)),l.Cb(6,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,Q.d,Q.b)),l.Cb(8,1294336,[["menu",4]],3,X.h,[l.p,l.G,X.a],null,null),l.Ub(603979776,60,{_allItems:1}),l.Ub(603979776,61,{items:1}),l.Ub(603979776,62,{lazyContent:0}),l.Tb(2048,null,X.d,null,[X.h]),l.Tb(2048,null,X.b,null,[X.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openDialogGhostItem(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(15,180224,[[60,4],[61,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,K.y,K.g)),l.Cb(17,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openDialog(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(20,180224,[[60,4],[61,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,K.y,K.g)),l.Cb(22,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,Z.d,Z.a)),l.Tb(6144,null,$.k,null,[W.g]),l.Cb(2,49152,null,0,W.g,[],null,null)],null,null)}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,Z.e,Z.b)),l.Tb(6144,null,$.m,null,[W.i]),l.Cb(2,49152,null,0,W.i,[],null,null)],null,null)}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,203,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"div",[["class","ghost-operations"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(3,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],null,null),l.Ub(603979776,5,{_controlNonStatic:0}),l.Ub(335544320,6,{_controlStatic:0}),l.Ub(603979776,7,{_labelChildNonStatic:0}),l.Ub(335544320,8,{_labelChildStatic:0}),l.Ub(603979776,9,{_placeholderChild:0}),l.Ub(603979776,10,{_errorChildren:1}),l.Ub(603979776,11,{_hintChildren:1}),l.Ub(603979776,12,{_prefixChildren:1}),l.Ub(603979776,13,{_suffixChildren:1}),(t()(),l.Db(13,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,14)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,14)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,14)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(14,999424,null,0,b.b,[l.p,f.a,[8,null],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[5,4],[6,4]],o.d,null,[b.b]),(t()(),l.Db(16,0,null,null,4,"button",[["class","btn"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goFormGhost()&&l),l}),a.b,a.a)),l.Cb(17,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(19,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,K.y,K.g)),l.Cb(20,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(21,0,null,null,182,"div",[["class","ghost-table"]],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,181,"table",[["class","mat-table"],["mat-table",""]],null,null,null,Z.f,Z.c)),l.Tb(6144,null,$.o,null,[W.k]),l.Cb(24,2342912,[[1,4]],4,W.k,[l.y,l.j,l.p,[8,null],[2,p.b],y.d,f.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,14,{_contentColumnDefs:1}),l.Ub(603979776,15,{_contentRowDefs:1}),l.Ub(603979776,16,{_contentHeaderRowDefs:1}),l.Ub(603979776,17,{_contentFooterRowDefs:1}),(t()(),l.Db(29,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(31,16384,null,3,W.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,18,{cell:0}),l.Ub(603979776,19,{headerCell:0}),l.Ub(603979776,20,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ct)),l.Cb(37,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[19,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,dt)),l.Cb(40,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[18,4]],$.b,null,[W.b]),(t()(),l.Db(42,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(44,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,24,{cell:0}),l.Ub(603979776,25,{headerCell:0}),l.Ub(603979776,26,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ht)),l.Cb(50,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[25,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,pt)),l.Cb(53,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[24,4]],$.b,null,[W.b]),(t()(),l.Db(55,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(57,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,27,{cell:0}),l.Ub(603979776,28,{headerCell:0}),l.Ub(603979776,29,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ft)),l.Cb(63,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[28,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,bt)),l.Cb(66,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[27,4]],$.b,null,[W.b]),(t()(),l.Db(68,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(70,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,30,{cell:0}),l.Ub(603979776,31,{headerCell:0}),l.Ub(603979776,32,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,mt)),l.Cb(76,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[31,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,gt)),l.Cb(79,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[30,4]],$.b,null,[W.b]),(t()(),l.Db(81,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(83,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,33,{cell:0}),l.Ub(603979776,34,{headerCell:0}),l.Ub(603979776,35,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,_t)),l.Cb(89,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[34,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,yt)),l.Cb(92,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[33,4]],$.b,null,[W.b]),(t()(),l.Db(94,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(96,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,36,{cell:0}),l.Ub(603979776,37,{headerCell:0}),l.Ub(603979776,38,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,At)),l.Cb(102,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[37,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,vt)),l.Cb(105,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[36,4]],$.b,null,[W.b]),(t()(),l.Db(107,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(109,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,39,{cell:0}),l.Ub(603979776,40,{headerCell:0}),l.Ub(603979776,41,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Ct)),l.Cb(115,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[40,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,wt)),l.Cb(118,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[39,4]],$.b,null,[W.b]),(t()(),l.Db(120,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(122,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,42,{cell:0}),l.Ub(603979776,43,{headerCell:0}),l.Ub(603979776,44,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Pt)),l.Cb(128,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[43,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,xt)),l.Cb(131,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[42,4]],$.b,null,[W.b]),(t()(),l.Db(133,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(135,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,45,{cell:0}),l.Ub(603979776,46,{headerCell:0}),l.Ub(603979776,47,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,St)),l.Cb(141,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[46,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,kt)),l.Cb(144,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[45,4]],$.b,null,[W.b]),(t()(),l.Db(146,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(148,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,48,{cell:0}),l.Ub(603979776,49,{headerCell:0}),l.Ub(603979776,50,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Mt)),l.Cb(154,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[49,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,Ot)),l.Cb(157,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[48,4]],$.b,null,[W.b]),(t()(),l.Db(159,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(161,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,51,{cell:0}),l.Ub(603979776,52,{headerCell:0}),l.Ub(603979776,53,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Dt)),l.Cb(167,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[52,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,Tt)),l.Cb(170,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[51,4]],$.b,null,[W.b]),(t()(),l.Db(172,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(174,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,54,{cell:0}),l.Ub(603979776,55,{headerCell:0}),l.Ub(603979776,56,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(180,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[55,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,It)),l.Cb(183,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[54,4]],$.b,null,[W.b]),(t()(),l.Db(185,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(187,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,57,{cell:0}),l.Ub(603979776,58,{headerCell:0}),l.Ub(603979776,59,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Lt)),l.Cb(193,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[58,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,jt)),l.Cb(196,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[57,4]],$.b,null,[W.b]),(t()(),l.sb(0,null,null,2,null,Rt)),l.Cb(199,540672,null,0,W.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[16,4]],$.l,null,[W.h]),(t()(),l.sb(0,null,null,2,null,Ft)),l.Cb(202,540672,null,0,W.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[15,4]],$.n,null,[W.j])],(function(t,e){var n=e.component;t(e,14,0,"Filter"),t(e,17,0,"warn"),t(e,20,0,"add"),t(e,24,0,n.dataSource),t(e,31,0,"operation",""),t(e,44,0,"TTL"),t(e,57,0,"icao"),t(e,70,0,"latitude"),t(e,83,0,"longitude"),t(e,96,0,"altitude"),t(e,109,0,"track"),t(e,122,0,"speed"),t(e,135,0,"vsi"),t(e,148,0,"callsign"),t(e,161,0,"airport_to"),t(e,174,0,"icao_type_code"),t(e,187,0,"options"),t(e,199,0,n.displayedColumns),t(e,202,0,n.displayedColumns)}),(function(t,e){t(e,2,1,["standard"==l.Pb(e,3).appearance,"fill"==l.Pb(e,3).appearance,"outline"==l.Pb(e,3).appearance,"legacy"==l.Pb(e,3).appearance,l.Pb(e,3)._control.errorState,l.Pb(e,3)._canLabelFloat,l.Pb(e,3)._shouldLabelFloat(),l.Pb(e,3)._hasFloatingLabel(),l.Pb(e,3)._hideControlPlaceholder(),l.Pb(e,3)._control.disabled,l.Pb(e,3)._control.autofilled,l.Pb(e,3)._control.focused,"accent"==l.Pb(e,3).color,"warn"==l.Pb(e,3).color,l.Pb(e,3)._shouldForward("untouched"),l.Pb(e,3)._shouldForward("touched"),l.Pb(e,3)._shouldForward("pristine"),l.Pb(e,3)._shouldForward("dirty"),l.Pb(e,3)._shouldForward("valid"),l.Pb(e,3)._shouldForward("invalid"),l.Pb(e,3)._shouldForward("pending"),!l.Pb(e,3)._animationsEnabled]),t(e,13,0,l.Pb(e,14)._isServer,l.Pb(e,14).id,l.Pb(e,14).placeholder,l.Pb(e,14).disabled,l.Pb(e,14).required,l.Pb(e,14).readonly&&!l.Pb(e,14)._isNativeSelect||null,l.Pb(e,14)._ariaDescribedby||null,l.Pb(e,14).errorState,l.Pb(e,14).required.toString()),t(e,16,0,l.Pb(e,17).disabled||null,"NoopAnimations"===l.Pb(e,17)._animationMode)}))}function Yt(t){return l.Yb(0,[l.Qb(0,tt.a,[]),l.Ub(671088640,1,{table:0}),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),K.y,K.g)),l.Cb(3,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(4,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","ghost"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(5,4866048,null,3,et.c,[l.p,[3,et.b],y.d,l.G,l.Y,et.a,[2,p.b],et.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),l.Tb(2048,null,et.l,null,[et.c]),l.Cb(10,147456,[[2,4]],0,et.d,[l.p,[2,et.l]],null,null),l.Cb(11,81920,null,0,nt.m,[[2,nt.l],l.p,nt.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["GHOST"])),(t()(),l.sb(16777216,null,null,1,null,ut)),l.Cb(14,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nt)),l.Cb(16,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,"close"),t(e,5,0,".cdk-overlay-pane"),t(e,11,0,"ghost"),t(e,14,0,"FormGhost"==n.modePage),t(e,16,0,"ArrayGhost"==n.modePage)}),(function(t,e){t(e,4,0,l.Pb(e,5).disabled,l.Pb(e,5)._dragRef.isDragging(),l.Pb(e,11).id)}))}function Ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-ghostdialog",[],null,null,null,Yt,st)),l.Cb(1,245760,null,0,lt.a,[it.a,rt.a,j.a,ot.b,at.a,nt.l,nt.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Bt=l.zb("sepia-ghostdialog",lt.a,Ut,{},{},[])},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"}))},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IP0z:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var l=n("SVse"),i=n("8Y7J");const r=new i.w("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.gb)(l.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.r,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(r,8))},token:t,providedIn:"root"}),t})();class a{}},IbxR:function(t,e,n){"use strict";var l,i=n("4wAk"),r=n("B2q1"),o=n("OQAH"),a=n("zX6e"),s=n("ykKD"),u=n("AdTM"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function d(t){var e=t.frameState;if(e){var n=e.viewState.rotation;if(n!=this.rotation_){var l="rotate("+n+"rad)";if(this.autoHide_){var i=this.element.classList.contains(a.c);i||0!==n?i&&0!==n&&this.element.classList.remove(a.c):this.element.classList.add(a.c)}this.label_.style.transform=l}this.rotation_=n}}var h=function(t){function e(e){var n=this,l=e||{};n=t.call(this,{element:document.createElement("div"),render:l.render||d,target:l.target})||this;var i=void 0!==l.className?l.className:"ol-rotate",r=void 0!==l.label?l.label:"\u21e7";n.label_=null,"string"==typeof r?(n.label_=document.createElement("span"),n.label_.className="ol-compass",n.label_.textContent=r):(n.label_=r,n.label_.classList.add("ol-compass"));var o=l.tipLabel?l.tipLabel:"Reset rotation",s=document.createElement("button");s.className=i+"-reset",s.setAttribute("type","button"),s.title=o,s.appendChild(n.label_),s.addEventListener(u.a.CLICK,n.handleClick_.bind(n),!1);var c=n.element;return c.className=i+" "+a.e+" "+a.b,c.appendChild(s),n.callResetNorth_=l.resetNorth?l.resetNorth:void 0,n.duration_=void 0!==l.duration?l.duration:250,n.autoHide_=void 0===l.autoHide||l.autoHide,n.rotation_=void 0,n.autoHide_&&n.element.classList.add(a.c),n}return c(e,t),e.prototype.handleClick_=function(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()},e.prototype.resetNorth_=function(){var t=this.getMap().getView();if(t){var e=t.getRotation();void 0!==e&&(this.duration_>0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:s.b}):t.setRotation(0))}},e}(o.a),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e){var n=this,l=e||{};n=t.call(this,{element:document.createElement("div"),target:l.target})||this;var i=void 0!==l.className?l.className:"ol-zoom",r=void 0!==l.delta?l.delta:1,o=void 0!==l.zoomInLabel?l.zoomInLabel:"+",s=void 0!==l.zoomOutLabel?l.zoomOutLabel:"\u2212",c=void 0!==l.zoomInTipLabel?l.zoomInTipLabel:"Zoom in",d=void 0!==l.zoomOutTipLabel?l.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=i+"-in",h.setAttribute("type","button"),h.title=c,h.appendChild("string"==typeof o?document.createTextNode(o):o),h.addEventListener(u.a.CLICK,n.handleClick_.bind(n,r),!1);var p=document.createElement("button");p.className=i+"-out",p.setAttribute("type","button"),p.title=d,p.appendChild("string"==typeof s?document.createTextNode(s):s),p.addEventListener(u.a.CLICK,n.handleClick_.bind(n,-r),!1);var f=n.element;return f.className=i+" "+a.e+" "+a.b,f.appendChild(h),f.appendChild(p),n.duration_=void 0!==l.duration?l.duration:250,n}return p(e,t),e.prototype.handleClick_=function(t,e){e.preventDefault(),this.zoomByDelta_(t)},e.prototype.zoomByDelta_=function(t){var e=this.getMap().getView();if(e){var n=e.getZoom();if(void 0!==n){var l=e.getConstrainedZoom(n+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:l,duration:this.duration_,easing:s.b})):e.setZoom(l)}}},e}(o.a);function b(t){var e=t||{},n=new i.a;return(void 0===e.zoom||e.zoom)&&n.push(new f(e.zoomOptions)),(void 0===e.rotate||e.rotate)&&n.push(new h(e.rotateOptions)),(void 0===e.attribution||e.attribution)&&n.push(new r.a(e.attributionOptions)),n}n.d(e,"a",(function(){return b}))},IheW:function(t,e,n){"use strict";n.d(e,"o",(function(){return E})),n.d(e,"r",(function(){return F})),n.d(e,"s",(function(){return N})),n.d(e,"p",(function(){return L})),n.d(e,"q",(function(){return j})),n.d(e,"b",(function(){return d})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return S})),n.d(e,"g",(function(){return h})),n.d(e,"a",(function(){return M})),n.d(e,"d",(function(){return B})),n.d(e,"e",(function(){return U})),n.d(e,"n",(function(){return Y})),n.d(e,"h",(function(){return b})),n.d(e,"i",(function(){return y})),n.d(e,"j",(function(){return w})),n.d(e,"k",(function(){return I})),n.d(e,"m",(function(){return T})),n.d(e,"l",(function(){return R}));var l=n("8Y7J"),i=n("LRne"),r=n("HDdC"),o=n("bOdf"),a=n("pLZG"),s=n("lJxs"),u=n("SVse");class c{}class d{}class h{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),l=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,l),this.headers.has(l)?this.headers.get(l).push(i):this.headers.set(l,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const l=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(l,n),this.maybeSetNormalizedName(e,l))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new h;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const l=("a"===t.op?this.headers.get(e):void 0)||[];l.push(...n),this.headers.set(e,l);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class b{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const l=t.indexOf("="),[i,r]=-1==l?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,l)),e.decodeValue(t.slice(l+1))],o=n.get(i)||[];o.push(r),n.set(i,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).join("&")}clone(t){const e=new b({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function m(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function g(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,l){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==n?n:null,i=l):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new h),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new b,this.urlWithParams=e}serializeBody(){return null===this.body?null:m(this.body)||g(this.body)||_(this.body)||"string"==typeof this.body?this.body:this.body instanceof b?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_(this.body)?null:g(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof b?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,l=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,s=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(s=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),s)),new y(e,n,i,{params:s,headers:a,reportProgress:o,responseType:l,withCredentials:r})}}const A=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class v{constructor(t,e=200,n="OK"){this.headers=t.headers||new h,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class C extends v{constructor(t={}){super(t),this.type=A.ResponseHeader}clone(t={}){return new C({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class w extends v{constructor(t={}){super(t),this.type=A.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new w({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class P extends v{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function x(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}class S{constructor(t){this.handler=t}request(t,e,n={}){let l;if(t instanceof y)l=t;else{let i=void 0;i=n.headers instanceof h?n.headers:new h(n.headers);let r=void 0;n.params&&(r=n.params instanceof b?n.params:new b({fromObject:n.params})),l=new y(t,e,void 0!==n.body?n.body:null,{headers:i,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Object(i.a)(l).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return r;const u=r.pipe(Object(a.a)(t=>t instanceof w));switch(n.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return u.pipe(Object(s.a)(t=>t.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new b).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,x(n,e))}post(t,e,n={}){return this.request("POST",t,x(n,e))}put(t,e,n={}){return this.request("PUT",t,x(n,e))}}class k{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const M=new l.w("HTTP_INTERCEPTORS");class O{intercept(t,e){return e.handle(t)}}const D=/^\)\]\}',?\n/;class T{}class E{constructor(){}build(){return new XMLHttpRequest}}class I{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new r.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const l=t.serializeBody();let i=null;const r=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,l=n.statusText||"OK",r=new h(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new C({headers:r,status:e,statusText:l,url:o}),i},o=()=>{let{headers:l,status:i,statusText:o,url:a}=r(),s=null;204!==i&&(s=void 0===n.response?n.responseText:n.response),0===i&&(i=s?200:0);let u=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof s){const t=s;s=s.replace(D,"");try{s=""!==s?JSON.parse(s):null}catch(c){s=t,u&&(u=!1,s={error:c,text:s})}}u?(e.next(new w({body:s,headers:l,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new P({error:s,headers:l,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:l}=r(),i=new P({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:l||void 0});e.error(i)};let s=!1;const u=l=>{s||(e.next(r()),s=!0);let i={type:A.DownloadProgress,loaded:l.loaded};l.lengthComputable&&(i.total=l.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},c=t=>{let n={type:A.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",u),null!==l&&n.upload&&n.upload.addEventListener("progress",c)),n.send(l),e.next({type:A.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",u),null!==l&&n.upload&&n.upload.removeEventListener("progress",c)),n.abort()}})}}const L=new l.w("XSRF_COOKIE_NAME"),j=new l.w("XSRF_HEADER_NAME");class R{}class F{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.G)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}class N{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const l=this.tokenService.getToken();return null===l||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,l)})),e.handle(t)}}class Y{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(M,[]);this.chain=t.reduceRight((t,e)=>new k(t,e),this.backend)}return this.chain.handle(t)}}class U{static disable(){return{ngModule:U,providers:[{provide:N,useClass:O}]}}static withOptions(t={}){return{ngModule:U,providers:[t.cookieName?{provide:L,useValue:t.cookieName}:[],t.headerName?{provide:j,useValue:t.headerName}:[]]}}}class B{}},IjjT:function(t,e,n){"use strict";let l=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,"a",(function(){return i}));class i extends l{constructor(t,e=l.now){super(t,()=>i.delegate&&i.delegate!==this?i.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},Io5N:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("oBZk"),o=n("ZZ/e"),a=n("Blz8"),s=n("pEI0");n("Al5c"),n("qToJ"),n("978D"),n("cUpR"),n("Y4ja"),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h}));var u=l.Bb({encapsulation:0,styles:[[".aircraft-header[_ngcontent-%COMP%]{display:flex;background-color:#fff;height:70px}.aircraft-header[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%]{width:30%}.aircraft-header[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;min-height:100%;height:100%}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding:5px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:180px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .last-msg-recent[_ngcontent-%COMP%]{color:#999;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .last-msg-old[_ngcontent-%COMP%]{color:red;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:30px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"p",[],null,null,null,null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{ngClass:[0,"ngClass"]},null),l.Rb(3,{"last-msg-recent":0,"last-msg-old":1}),(t()(),l.Wb(4,null,[" Last message: "," "])),l.Sb(5,1)],(function(t,e){var n=e.component,l=t(e,3,0,n.timeNow-n.aircraft.updatedAt<=12e4,n.timeNow-n.aircraft.updatedAt>12e4);t(e,2,0,l)}),(function(t,e){var n=e.component,i=l.Xb(e,4,0,t(e,5,0,l.Pb(e.parent,1),n.timeNow-n.aircraft.updatedAt));t(e,4,0,i)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.close()&&l),l}),r.y,r.g)),l.Cb(1,49152,null,0,o.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function h(t){return l.Yb(2,[l.Qb(0,a.a,[]),l.Qb(0,s.a,[]),(t()(),l.Db(2,0,null,null,12,"div",[["class","aircraft-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"a",[["class","picture"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"img",[["alt","Aircraft picture"]],[[8,"src",4]],null,null,null,null)),(t()(),l.Db(5,0,null,null,7,"div",[["class","title"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,2,"h5",[],null,null,null,null,null)),(t()(),l.Wb(7,null,["","/",""])),l.Sb(8,1),(t()(),l.Db(9,0,null,null,1,"p",[["class","source"]],null,null,null,null,null)),(t()(),l.Wb(10,null,["Source: ",""])),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,12,0,n.allAircraft),t(e,14,0,n.allAircraft)}),(function(t,e){var n=e.component;t(e,3,0,n.cleanURL(n.aircraft.pictureUrl?n.aircraft.pictureUrl:"../../../../assets/images/default-aircraft.jpg")),t(e,4,0,l.Hb(1,"",n.aircraft.pictureUrl?n.aircraft.pictureUrl:"../../../../assets/images/default-aircraft.jpg",""));var i=n.aircraft.icao,r=l.Xb(e,7,1,t(e,8,0,l.Pb(e,0),n.aircraft.callsign));t(e,7,0,i,r),t(e,10,0,n.settingService.getFeedNames(n.aircraft.providers))}))}},It4K:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("Rlre"),r=n("rWV4"),o=n("8rEH"),a=n("zQui"),s=n("bujt"),u=n("Fwaw"),c=n("5GAg"),d=n("omvX"),h=n("oBZk"),p=n("ZZ/e"),f=n("SVse"),b=n("m46K"),m=n("7kcP"),g=n("gavF"),_=n("QQfA"),y=n("IP0z"),A=n("2Q+G"),v=n("pIm3"),C=n("NvT6"),w=n("W5yJ"),P=n("/HVE"),x=n("dJrM"),S=n("HsOI"),k=n("Xd0L"),M=n("ZwOa"),O=n("s7LF"),D=n("oapL"),T=n("b1+6"),E=n("OIZN"),I=n("oeKZ"),L=(n("G0WM"),n("wBRQ")),j=n("qToJ");class R{constructor(t,e,n,i){this.colorFilterService=t,this.keycloakService=e,this.focusAircraftService=n,this.settingService=i,this.openColorFilterForm=new l.r,this.displayedColumns=["show","focus","name","rank","color","isForAll","operation"],this.dataSource=new o.l,this.isLoading=!0}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.getColorFilter()}goToForm(t){this.openColorFilterForm.emit(t)}deleteColorFilter(t){this.colorFilterService.deleteOneBaseColorFilterControllerColorFilter({id:t.id}).subscribe(e=>{this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id),this.focusAircraftService.setFleetFilter(t.fleet,!1)},t=>console.log("Error : get feeds",t))}toggleActivateColorFilter(t){if(t.activatedByIds){const e=t.activatedByIds.indexOf(this.keycloakService.client().subject);e>=0?(delete t.activatedByIds[e],this.focusAircraftService.setFleetFilter(t.fleet,!1)):t.activatedByIds.push(this.keycloakService.client().subject)}else t.activatedByIds=[this.keycloakService.client().subject];const e={id:t.id,body:{activatedBy:t.activatedByIds.map(t=>({id:t}))}};this.colorFilterService.updateOneBaseColorFilterControllerColorFilter(e).subscribe(e=>{t.activatedByIds.includes(this.keycloakService.client().subject)?this.settingService.addColorFilter(t):this.settingService.removeColorFilter(t)})}toggleFocusStatusOfColorFilter(t){this.focusAircraftService.toggleFleetFilter(t.fleet)}getColorFilter(){this.isLoading=!0;const t={or:["isForAll||eq||true","createdById||eq||"+this.keycloakService.client().subject],sort:["rank,ASC"],join:["fleet","fleet.fleetItems","activatedBy||id"]};this.colorFilterService.getManyBaseColorFilterControllerColorFilter(t).subscribe(t=>{this.dataSource.data=t.data,this.isLoading=!1})}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}isActivateColorFilter(t){return!!t.activatedByIds&&t.activatedByIds.indexOf(this.keycloakService.client().subject)>=0}isFocusedColorFilter(t){return this.focusAircraftService.getFleetFilter().some(e=>e.id===t.fleet.id)}}var F=n("Kurg"),N=l.Bb({encapsulation:0,styles:[[".control-color-aircrafts[_ngcontent-%COMP%] .control-color-aircrafts-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.control-color-aircrafts[_ngcontent-%COMP%] .control-color-aircrafts-table[_ngcontent-%COMP%]{overflow:auto}.control-color-aircrafts[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}.control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:first-child, .control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:nth-child(2){padding:0;border-right:1px solid #e0e0e0;width:65px;text-align:center}.control-color-aircrafts[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]:nth-child(3){padding-left:15px}.control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:last-child{border-left:1px solid #e0e0e0;width:50px;padding:0}.control-color-aircrafts[_ngcontent-%COMP%] .pastil-color[_ngcontent-%COMP%]{height:25px;width:25px;border-radius:50%}"]],data:{}});function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Show "]))],null,null)}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"primary","eye")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","eye-off")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleActivateColorFilter(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateColorFilter",2]],null,0,null,B))],(function(t,e){t(e,3,0,e.component.isActivateColorFilter(e.context.$implicit),l.Pb(e,4))}),null)}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Focus "]))],null,null)}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","crop"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"primary","crop")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","crop"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","crop")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleFocusStatusOfColorFilter(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateColorFilter",2]],null,0,null,V))],(function(t,e){t(e,3,0,!0===e.component.isFocusedColorFilter(e.context.$implicit),l.Pb(e,4))}),null)}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Name "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function X(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Color "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function K(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Db(2,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,f.C,f.D,[l.p,l.z,l.M]),l.Cb(4,278528,null,0,f.q,[f.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(5,{"background-color":0})],(function(t,e){var n=t(e,5,0,e.context.$implicit.color);t(e,4,0,n)}),null)}function J(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Rank "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.rank)}))}function Z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Visibility "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["name","planet"]],null,null,null,h.y,h.g)),l.Cb(2,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,null,[" All "]))],(function(t,e){t(e,2,0,"planet")}),null)}function et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","person"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,null,[" Just me "]))],(function(t,e){t(e,1,0,"person")}),null)}function nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,tt)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["justMe",2]],null,0,null,et))],(function(t,e){t(e,3,0,e.context.$implicit.isForAll,l.Pb(e,4))}),null)}function lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null)],null,null)}function it(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),s.b,s.a)),l.Cb(3,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),l.Cb(4,1196032,null,0,g.g,[_.c,l.p,l.Y,g.c,[2,g.d],[8,null],[2,y.b],c.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(6,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,A.d,A.b)),l.Cb(8,1294336,[["menu",4]],3,g.h,[l.p,l.G,g.a],null,null),l.Ub(603979776,37,{_allItems:1}),l.Ub(603979776,38,{items:1}),l.Ub(603979776,39,{lazyContent:0}),l.Tb(2048,null,g.d,null,[g.h]),l.Tb(2048,null,g.b,null,[g.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.goToForm(t.context.$implicit)&&i),i}),A.c,A.a)),l.Cb(15,180224,[[37,4],[38,4]],0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,h.y,h.g)),l.Cb(17,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteColorFilter(t.context.$implicit)&&i),i}),A.c,A.a)),l.Cb(20,180224,[[37,4],[38,4]],0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,h.y,h.g)),l.Cb(22,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,v.d,v.a)),l.Tb(6144,null,a.k,null,[o.g]),l.Cb(2,49152,null,0,o.g,[],null,null)],null,null)}function ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,v.e,v.b)),l.Tb(6144,null,a.m,null,[o.i]),l.Cb(2,49152,null,0,o.i,[],null,null)],null,null)}function at(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,C.c,C.a)),l.Cb(2,114688,null,0,w.b,[l.p,P.a,[2,f.d],[2,d.a],w.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function st(t){return l.Yb(0,[l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,130,"div",[["class","control-color-aircrafts"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,19,"div",[["class","control-color-aircrafts-header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(5,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(16,999424,null,0,M.b,[l.p,P.a,[8,null],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],S.d,null,[M.b]),(t()(),l.Db(18,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToForm()&&l),l}),s.b,s.a)),l.Cb(19,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(22,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(23,0,null,null,107,"div",[["class","control-color-aircrafts-table"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,104,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,v.f,v.c)),l.Tb(6144,null,a.o,null,[o.k]),l.Cb(26,737280,[[1,4]],0,m.b,[],null,null),l.Cb(27,2342912,null,4,o.k,[l.y,l.j,l.p,[8,null],[2,y.b],f.d,P.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(32,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(34,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Y)),l.Cb(40,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[17,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,z)),l.Cb(43,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[16,4]],a.b,null,[o.b]),(t()(),l.Db(45,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(47,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,G)),l.Cb(53,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[20,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,q)),l.Cb(56,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[19,4]],a.b,null,[o.b]),(t()(),l.Db(58,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(60,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,22,{cell:0}),l.Ub(603979776,23,{headerCell:0}),l.Ub(603979776,24,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,W)),l.Cb(66,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[23,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,$)),l.Cb(69,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[22,4]],a.b,null,[o.b]),(t()(),l.Db(71,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(73,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,25,{cell:0}),l.Ub(603979776,26,{headerCell:0}),l.Ub(603979776,27,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,X)),l.Cb(79,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[26,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,K)),l.Cb(82,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[25,4]],a.b,null,[o.b]),(t()(),l.Db(84,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(86,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,28,{cell:0}),l.Ub(603979776,29,{headerCell:0}),l.Ub(603979776,30,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,J)),l.Cb(92,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[29,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Q)),l.Cb(95,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[28,4]],a.b,null,[o.b]),(t()(),l.Db(97,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(99,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,31,{cell:0}),l.Ub(603979776,32,{headerCell:0}),l.Ub(603979776,33,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Z)),l.Cb(105,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[32,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,nt)),l.Cb(108,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[31,4]],a.b,null,[o.b]),(t()(),l.Db(110,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(112,16384,null,3,o.c,[],{name:[0,"name"],stickyEnd:[1,"stickyEnd"]},null),l.Ub(603979776,34,{cell:0}),l.Ub(603979776,35,{headerCell:0}),l.Ub(603979776,36,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,lt)),l.Cb(118,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[35,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,it)),l.Cb(121,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[34,4]],a.b,null,[o.b]),(t()(),l.sb(0,null,null,2,null,rt)),l.Cb(124,540672,null,0,o.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],a.l,null,[o.h]),(t()(),l.sb(0,null,null,2,null,ot)),l.Cb(127,540672,null,0,o.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],a.n,null,[o.j]),(t()(),l.sb(16777216,null,null,1,null,at)),l.Cb(130,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(131,0,null,null,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,T.b,T.a)),l.Cb(132,245760,[[2,4]],0,E.b,[E.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,16,0,"Filter"),t(e,19,0,"warn"),t(e,22,0,"add"),t(e,26,0),t(e,27,0,n.dataSource),t(e,34,0,"show",""),t(e,47,0,"focus",""),t(e,60,0,"name"),t(e,73,0,"color"),t(e,86,0,"rank"),t(e,99,0,"isForAll"),t(e,112,0,"operation",""),t(e,124,0,n.displayedColumns),t(e,127,0,n.displayedColumns),t(e,130,0,n.isLoading),t(e,132,0,50,"true","")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString()),t(e,18,0,l.Pb(e,19).disabled||null,"NoopAnimations"===l.Pb(e,19)._animationMode)}))}var ut=n("s6ns"),ct=n("6UMx"),dt=n("Q+lL"),ht=n("svHU"),pt=n("hUP0");class ft{constructor(t,e,n){this.mapService=t,this.keycloakService=e,this.lightDarkModeService=n,this.openFormLayer=new l.r,this.userRoles=[],this.layerGroupSelect=this.mapService.getMap().getLayerGroup().getLayers().getArray()[0],this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}changeOpacity(t,e){t.setOpacity(e.detail.value/100)}toggleVisibility(t){t.setVisible(!t.getVisible())}goToFormLayer(){this.openFormLayer.emit()}getLayerGroupSelect(t){const e=t.getLayers().getArray();return e.sort((t,e)=>t.values_.name?t.values_.name.toUpperCase():"null">e.values_.name.toUpperCase()?1:-1),e}}var bt=l.Bb({encapsulation:0,styles:[[".control-layer[_ngcontent-%COMP%]{padding-bottom:10px}.control-layer[_ngcontent-%COMP%] .import-layer[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%]{display:flex}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%;width:50%}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-child(1){border-right:1px solid grey}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%]{padding:10px}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{padding:0;cursor:pointer;color:var(--ion-color-primary);border-bottom:1px solid var(--ion-color-primary);font-weight:700;text-transform:uppercase}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:last-child{border:none}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%]{width:100%;padding:0 10px;display:flex;align-items:flex-end}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{flex-basis:70%;width:70%}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child p[_ngcontent-%COMP%]{margin:5px 0 0}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child ion-range[_ngcontent-%COMP%]{--height:20px}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex-basis:30%;width:30%}"]],data:{}});function mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","sunny"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"sunny")}),null)}function gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","moon"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"moon")}),null)}function _t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"div",[["class","import-layer"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToFormLayer()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(5,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(6,0,null,null,5,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.lightDarkModeService.switchLightDarkMode()&&l),l}),h.u,h.c)),l.Cb(7,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.sb(16777216,null,0,1,null,mt)),l.Cb(9,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,gt)),l.Cb(11,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,5,0,"add"),t(e,7,0,"primary"),t(e,9,0,"dark"===n.lightDarkModeService.currentModeName),t(e,11,0,"light"===n.lightDarkModeService.currentModeName)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==(t.component.layerGroupSelect=t.context.$implicit)&&l),l}),ct.d,ct.b)),l.Cb(1,1228800,null,3,dt.b,[l.p,l.j,[2,dt.e],[2,dt.a]],null,null),l.Ub(603979776,1,{_lines:1}),l.Ub(603979776,2,{_avatar:0}),l.Ub(603979776,3,{_icon:0}),(t()(),l.Wb(5,2,[" "," "]))],null,(function(t,e){t(e,0,0,l.Pb(e,1)._avatar||l.Pb(e,1)._icon,l.Pb(e,1)._avatar||l.Pb(e,1)._icon);var n=e.context.$implicit.get("name");t(e,5,0,n)}))}function At(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary","eye")}),null)}function vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"danger","eye-off")}),null)}function Ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,16,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(4,16384,null,0,k.o,[],null,null),(t()(),l.Wb(5,null,["",""])),(t()(),l.Db(6,0,null,null,3,"ion-range",[["color","secondary"],["max","100"],["min","0"],["step","1"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,9)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,9)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changeOpacity(r.layerGroupSelect,n)&&i),i}),h.E,h.m)),l.Tb(5120,null,O.o,(function(t){return[t]}),[p.Jb]),l.Cb(8,49152,null,0,p.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(9,16384,null,0,p.Jb,[l.p],null,null),(t()(),l.Db(10,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.toggleVisibility(i.layerGroupSelect)&&l),l}),h.u,h.c)),l.Cb(12,49152,null,0,p.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,At)),l.Cb(14,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,vt)),l.Cb(16,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,8,0,"secondary","100","0","1",l.Hb(1,"",100*n.layerGroupSelect.getOpacity(),"")),t(e,12,0,"outline"),t(e,14,0,n.layerGroupSelect.getVisible()),t(e,16,0,!n.layerGroupSelect.getVisible())}),(function(t,e){t(e,5,0,e.component.layerGroupSelect.get("name"))}))}function wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary","eye")}),null)}function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"danger","eye-off")}),null)}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,15,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(3,16384,null,0,k.o,[],null,null),(t()(),l.Wb(4,null,["",""])),(t()(),l.Db(5,0,null,null,3,"ion-range",[["color","secondary"],["max","100"],["min","0"],["step","1"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,8)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,8)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changeOpacity(t.context.$implicit,n)&&i),i}),h.E,h.m)),l.Tb(5120,null,O.o,(function(t){return[t]}),[p.Jb]),l.Cb(7,49152,null,0,p.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(8,16384,null,0,p.Jb,[l.p],null,null),(t()(),l.Db(9,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleVisibility(t.context.$implicit)&&l),l}),h.u,h.c)),l.Cb(11,49152,null,0,p.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,wt)),l.Cb(13,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Pt)),l.Cb(15,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=l.Hb(1,"",100*e.context.$implicit.getOpacity(),"");t(e,7,0,"secondary","100","0","1",n),t(e,11,0,"outline");var i=e.context.$implicit.getVisible();t(e,13,0,i);var r=!e.context.$implicit.getVisible();t(e,15,0,r)}),(function(t,e){var n=e.context.$implicit.get("name");t(e,4,0,n)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,xt)),l.Cb(2,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.getLayerGroupSelect(n.layerGroupSelect))}),null)}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ct)),l.Cb(2,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,St)),l.Cb(4,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,null==n.layerGroupSelect.getLayers),t(e,4,0,null!=n.layerGroupSelect.getLayers)}),null)}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,9,"div",[["class","control-layer"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,_t)),l.Cb(2,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(3,0,null,null,6,"div",[["class","manage-layer"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,ct.e,ct.a)),l.Cb(5,704512,null,0,dt.a,[l.p],null,null),(t()(),l.sb(16777216,null,0,1,null,yt)),l.Cb(7,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,kt)),l.Cb(9,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0),t(e,7,0,n.mapService.getMap().getLayerGroup().getLayers().getArray()),t(e,9,0,null!=n.layerGroupSelect)}),null)}class Ot{constructor(t,e){this.feedService=t,this.keycloakService=e,this.displayedColumns=["show","name","host","port","latitude","longitude","rank"],this.dataSource=new o.l,this.isLoading=!0}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.getFeeds()}getFeeds(){this.isLoading=!0,this.feedService.getManyBaseFeedControllerFeed().subscribe(t=>{this.dataSource.data=t.data,this.isLoading=!1},t=>console.log("Error : get feeds ",t))}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}toggleActivateFeed(t){if(t.activatedByIds){const e=t.activatedByIds.indexOf(this.keycloakService.client().subject);e>=0?delete t.activatedByIds[e]:t.activatedByIds.push(this.keycloakService.client().subject)}else t.activatedByIds=[this.keycloakService.client().subject];const e={id:t.id,body:{activatedBy:t.activatedByIds.map(t=>({id:t}))}};this.feedService.updateOneBaseFeedControllerFeed(e).subscribe()}isActivateFeed(t){return!!t.activatedByIds&&t.activatedByIds.indexOf(this.keycloakService.client().subject)>=0}}var Dt=n("5p+q"),Tt=l.Bb({encapsulation:0,styles:[[".control-feeds[_ngcontent-%COMP%] .control-feeds-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.control-feeds[_ngcontent-%COMP%] .control-feeds-table[_ngcontent-%COMP%]{overflow:auto}.control-feeds[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:800px}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}.control-feeds[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:first-child{padding:0;border-right:1px solid #e0e0e0;width:65px;text-align:center}.control-feeds[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:last-child{border-left:1px solid #e0e0e0}.control-feeds[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]:nth-child(2){padding-left:15px}"]],data:{}});function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Show "]))],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"primary","eye")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","eye-off")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleActivateFeed(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,It)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateFeed",2]],null,0,null,Lt))],(function(t,e){t(e,3,0,e.component.isActivateFeed(e.context.$implicit),l.Pb(e,4))}),null)}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Name "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Host "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.host)}))}function Ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Port "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.port)}))}function zt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Latitude "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.latitude)}))}function Ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Longitude "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.longitude)}))}function qt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Rank "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.rank)}))}function $t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,v.d,v.a)),l.Tb(6144,null,a.k,null,[o.g]),l.Cb(2,49152,null,0,o.g,[],null,null)],null,null)}function Xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,v.e,v.b)),l.Tb(6144,null,a.m,null,[o.i]),l.Cb(2,49152,null,0,o.i,[],null,null)],null,null)}function Kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,C.c,C.a)),l.Cb(2,114688,null,0,w.b,[l.p,P.a,[2,f.d],[2,d.a],w.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function Jt(t){return l.Yb(0,[l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,125,"div",[["class","control-feeds"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,14,"div",[["class","control-feeds-header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(5,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(16,999424,null,0,M.b,[l.p,P.a,[8,null],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],S.d,null,[M.b]),(t()(),l.Db(18,0,null,null,107,"div",[["class","control-feeds-table"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,104,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,v.f,v.c)),l.Tb(6144,null,a.o,null,[o.k]),l.Cb(21,737280,[[1,4]],0,m.b,[],null,null),l.Cb(22,2342912,null,4,o.k,[l.y,l.j,l.p,[8,null],[2,y.b],f.d,P.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(27,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(29,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(35,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[17,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,jt)),l.Cb(38,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[16,4]],a.b,null,[o.b]),(t()(),l.Db(40,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(42,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Rt)),l.Cb(48,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[20,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Ft)),l.Cb(51,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[19,4]],a.b,null,[o.b]),(t()(),l.Db(53,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(55,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,22,{cell:0}),l.Ub(603979776,23,{headerCell:0}),l.Ub(603979776,24,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Nt)),l.Cb(61,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[23,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Yt)),l.Cb(64,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[22,4]],a.b,null,[o.b]),(t()(),l.Db(66,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(68,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,25,{cell:0}),l.Ub(603979776,26,{headerCell:0}),l.Ub(603979776,27,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Ut)),l.Cb(74,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[26,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Bt)),l.Cb(77,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[25,4]],a.b,null,[o.b]),(t()(),l.Db(79,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(81,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,28,{cell:0}),l.Ub(603979776,29,{headerCell:0}),l.Ub(603979776,30,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,zt)),l.Cb(87,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[29,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Gt)),l.Cb(90,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[28,4]],a.b,null,[o.b]),(t()(),l.Db(92,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(94,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,31,{cell:0}),l.Ub(603979776,32,{headerCell:0}),l.Ub(603979776,33,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Ht)),l.Cb(100,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[32,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Vt)),l.Cb(103,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[31,4]],a.b,null,[o.b]),(t()(),l.Db(105,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(107,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,34,{cell:0}),l.Ub(603979776,35,{headerCell:0}),l.Ub(603979776,36,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,qt)),l.Cb(113,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[35,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Wt)),l.Cb(116,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[34,4]],a.b,null,[o.b]),(t()(),l.sb(0,null,null,2,null,$t)),l.Cb(119,540672,null,0,o.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],a.l,null,[o.h]),(t()(),l.sb(0,null,null,2,null,Xt)),l.Cb(122,540672,null,0,o.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],a.n,null,[o.j]),(t()(),l.sb(16777216,null,null,1,null,Kt)),l.Cb(125,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(126,0,null,null,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,T.b,T.a)),l.Cb(127,245760,[[2,4]],0,E.b,[E.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,16,0,"Filter"),t(e,21,0),t(e,22,0,n.dataSource),t(e,29,0,"show",""),t(e,42,0,"name"),t(e,55,0,"host"),t(e,68,0,"port"),t(e,81,0,"latitude"),t(e,94,0,"longitude"),t(e,107,0,"rank"),t(e,119,0,n.displayedColumns),t(e,122,0,n.displayedColumns),t(e,125,0,n.isLoading),t(e,127,0,50,"true","")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString())}))}var Qt=n("MlvX"),Zt=n("v6R6"),te=n("0XyG"),ee=n("Py6u"),ne=n("Azqq"),le=n("JjoW"),ie=n("hOhj"),re=n("Z5h4"),oe=n("r0V8"),ae=(n("/Mhs"),n("oQtH"));const se={forAllValues:[{title:"For All",value:!0},{title:"Just Me",value:!1}],rankValues:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]};class ue{constructor(t,e,n,l,i){this.fb=t,this.keycloakService=e,this.colorFilterService=n,this.fleetItemService=l,this.fleetService=i,this.ConfigFilterColorForm=se,this.ConfigFleetItemForm=ae.a.config.ConfigFleetItem}ngOnInit(){this.initComponent()}initComponent(){this.initForm(),this.colorFilter?this.getColorFilter().subscribe(t=>{t&&t.fleet&&(this.colorFilter=t,this.colorFilterForm.controls.fleetLogicalOperator.setValue(this.colorFilter.fleet.logicalOperator),this.colorFilter.fleet.fleetItems.map(t=>this.addFleetItemForm(t)),this.addFleetItemForm())}):this.addFleetItemForm()}getColorFilter(){return this.colorFilterService.getOneBaseColorFilterControllerColorFilter({id:this.colorFilter.id,join:["fleet","fleet.fleetItems"]})}initForm(){this.colorFilterForm=this.fb.group({name:this.colorFilter?this.colorFilter.name:"",rank:this.colorFilter?this.colorFilter.rank:0,isForAll:!!this.colorFilter&&this.colorFilter.isForAll,color:this.colorFilter?this.colorFilter.color:"#FF0000",createdById:this.colorFilter?this.colorFilter.createdById:this.keycloakService.client().subject,fleetLogicalOperator:"",fleetItems:this.fb.array([])})}addFleetItemForm(t){const e=this.colorFilterForm.controls.fleetItems,n={id:t?t.id:"",field:t?t.field:null,operator:t?t.operator:null,value:t?t.value:null};!t||"mlat"!==t.field&&"military"!==t.field||(n.value="true"===t.value),e.insert(0,this.fb.group(n))}deleteFleetItemFrom(t){const e=this.colorFilterForm.controls.fleetItems,n=this.colorFilterForm.value.fleetItems[t];n.id&&this.fleetItemService.deleteOneBaseFleetItemControllerFleetItem({id:n.id}).subscribe(),e.removeAt(t)}submitColorFilter(){this.colorFilter?(this.updateColorFilter(),this.submitFleet(),this.submitFleetItem()):this.createColorFilter().subscribe(t=>{this.colorFilter=t,this.getColorFilter().subscribe(t=>{t&&t.fleet&&(this.colorFilter=t,this.submitFleet(),this.submitFleetItem())})})}createColorFilter(){return this.colorFilterService.createOneBaseColorFilterControllerColorFilter({body:{name:this.colorFilterForm.value.name,rank:this.colorFilterForm.value.rank,isForAll:this.colorFilterForm.value.isForAll,color:this.colorFilterForm.value.color,createdById:this.colorFilterForm.value.createdById}})}updateColorFilter(){this.colorFilterService.updateOneBaseColorFilterControllerColorFilter({id:this.colorFilter.id,body:{name:this.colorFilterForm.value.name,rank:this.colorFilterForm.value.rank,isForAll:this.colorFilterForm.value.isForAll,color:this.colorFilterForm.value.color}}).subscribe(t=>{this.colorFilter=t})}submitFleet(){this.colorFilterForm.value.fleetLogicalOperator!==this.colorFilter.fleet.logicalOperator&&this.fleetService.updateOneBaseFleetControllerFleet({id:this.colorFilter.fleet.id,body:{logicalOperator:this.colorFilterForm.value.fleetLogicalOperator}}).subscribe(t=>{})}submitFleetItem(){this.colorFilterForm.value.fleetItems.forEach((t,e)=>{"mlat"!==t.field&&"military"!==t.field||(t.operator="eq",t.value=t.value?"true":"false"),t.field&&t.operator&&t.value&&(""===t.id?this.createFleetItem(t,e):this.updateFleetItem(t))})}createFleetItem(t,e){this.fleetItemService.createOneBaseFleetItemControllerFleetItem({body:{field:t.field,operator:t.operator,value:t.value,fleetId:this.colorFilter.fleetId}}).subscribe(t=>{this.colorFilterForm.value.fleetItems[e]=t})}updateFleetItem(t){this.fleetItemService.updateOneBaseFleetItemControllerFleetItem({id:t.id,body:{field:t.field,operator:t.operator,value:t.value}}).subscribe()}formFleetItems(){return this.colorFilterForm.get("fleetItems")}}var ce=n("mTEX"),de=l.Bb({encapsulation:0,styles:[[".container-form-filter-color[_ngcontent-%COMP%]{padding-top:10px;max-height:600px}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-color[_ngcontent-%COMP%]{display:flex}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-color[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 5px;width:20%}.container-form-filter-color[_ngcontent-%COMP%] .mat-form-field-wrapper{margin:0;padding:0}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%]{width:50%;display:flex}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:50%}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-logical-operator[_ngcontent-%COMP%]{padding:10px 0}.container-form-filter-color[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .container-form-filter-color[_ngcontent-%COMP%] .fleet-item-field[_ngcontent-%COMP%]{width:25%}.container-form-filter-color[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:10px}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-checkbox[_ngcontent-%COMP%]{display:flex;padding-right:40%}.container-form-filter-color[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}.container-form-filter-color[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-primary);color:#fff;height:50px}"]],data:{}});function he(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[28,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[40,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[52,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function be(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-fleet-item-csv",[],null,[[null,"hasImport"]],(function(t,e,n){var l=!0;return"hasImport"===e&&(l=!1!==t.component.initComponent()&&l),l}),Zt.b,Zt.a)),l.Cb(1,114688,null,0,te.a,[ee.a],{fleetId:[0,"fleetId"]},{hasImport:"hasImport"})],(function(t,e){t(e,1,0,e.component.colorFilter.fleetId)}),null)}function me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[64,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[76,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function _e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,48,"div",[["class","fleet-item-value"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(2,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,67,{_controlNonStatic:0}),l.Ub(335544320,68,{_controlStatic:0}),l.Ub(603979776,69,{_labelChildNonStatic:0}),l.Ub(335544320,70,{_labelChildStatic:0}),l.Ub(603979776,71,{_placeholderChild:0}),l.Ub(603979776,72,{_errorChildren:1}),l.Ub(603979776,73,{_hintChildren:1}),l.Ub(603979776,74,{_prefixChildren:1}),l.Ub(603979776,75,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[69,4],[70,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,[" Operator "])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","operator"],["matInput",""],["placeholder","Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(17,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(19,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(20,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,76,{options:1}),l.Ub(603979776,77,{optionGroups:1}),l.Ub(603979776,78,{customTrigger:0}),l.Tb(2048,[[67,4],[68,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,ge)),l.Cb(26,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(28,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,79,{_controlNonStatic:0}),l.Ub(335544320,80,{_controlStatic:0}),l.Ub(603979776,81,{_labelChildNonStatic:0}),l.Ub(335544320,82,{_labelChildStatic:0}),l.Ub(603979776,83,{_placeholderChild:0}),l.Ub(603979776,84,{_errorChildren:1}),l.Ub(603979776,85,{_hintChildren:1}),l.Ub(603979776,86,{_prefixChildren:1}),l.Ub(603979776,87,{_suffixChildren:1}),(t()(),l.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(39,16384,[[81,4],[82,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Value"])),(t()(),l.Db(41,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","value"],["matInput",""],["placeholder","Value"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,42)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,42).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,42)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,42)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,47)._onInput()&&i),i}),null,null)),l.Cb(42,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(44,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(46,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(47,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[79,4],[80,4]],S.d,null,[M.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"operator"),t(e,20,0,"Operator"),t(e,26,0,n.ConfigFleetItemForm.operators),t(e,28,0,"outline"),t(e,44,0,"value"),t(e,47,0,"Value","text")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,41,1,[l.Pb(e,46).ngClassUntouched,l.Pb(e,46).ngClassTouched,l.Pb(e,46).ngClassPristine,l.Pb(e,46).ngClassDirty,l.Pb(e,46).ngClassValid,l.Pb(e,46).ngClassInvalid,l.Pb(e,46).ngClassPending,l.Pb(e,47)._isServer,l.Pb(e,47).id,l.Pb(e,47).placeholder,l.Pb(e,47).disabled,l.Pb(e,47).required,l.Pb(e,47).readonly&&!l.Pb(e,47)._isNativeSelect||null,l.Pb(e,47)._ariaDescribedby||null,l.Pb(e,47).errorState,l.Pb(e,47).required.toString()])}))}function ye(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-checkbox",[["class","fleet-item-checkbox mat-checkbox"],["formControlName","value"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,re.b,re.a)),l.Cb(1,8568832,null,0,oe.b,[l.p,l.j,c.h,l.G,[8,null],[2,oe.a],[2,d.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[oe.b]),l.Cb(3,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(5,16384,null,0,O.q,[[4,O.p]],null,null)],(function(t,e){t(e,3,0,"value")}),(function(t,e){t(e,0,1,[l.Pb(e,1).id,null,l.Pb(e,1).indeterminate,l.Pb(e,1).checked,l.Pb(e,1).disabled,"before"==l.Pb(e,1).labelPosition,"NoopAnimations"===l.Pb(e,1)._animationMode,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending])}))}function Ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,40,"div",[["class","form-inline"],["formArrayName","fleetItems"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),l.Cb(1,212992,null,0,O.e,[[3,O.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,O.c,null,[O.e]),l.Cb(3,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(4,0,null,null,36,null,null,null,null,null,null,null)),l.Cb(5,212992,null,0,O.l,[[3,O.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,O.c,null,[O.l]),l.Cb(7,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(8,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","fleet-item-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(9,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,55,{_controlNonStatic:0}),l.Ub(335544320,56,{_controlStatic:0}),l.Ub(603979776,57,{_labelChildNonStatic:0}),l.Ub(335544320,58,{_labelChildStatic:0}),l.Ub(603979776,59,{_placeholderChild:0}),l.Ub(603979776,60,{_errorChildren:1}),l.Ub(603979776,61,{_hintChildren:1}),l.Ub(603979776,62,{_prefixChildren:1}),l.Ub(603979776,63,{_suffixChildren:1}),(t()(),l.Db(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(20,16384,[[57,4],[58,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Field"])),(t()(),l.Db(22,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","field"],["matInput",""],["placeholder","Field"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,27)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,27)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,27)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(24,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(26,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(27,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,64,{options:1}),l.Ub(603979776,65,{optionGroups:1}),l.Ub(603979776,66,{customTrigger:0}),l.Tb(2048,[[55,4],[56,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,me)),l.Cb(33,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,_e)),l.Cb(35,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["editBoolean",2]],null,0,null,ye)),(t()(),l.Db(37,0,null,null,3,"button",[["class","delete-button mat-menu-item"],["mat-menu-item",""],["type","button"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,38)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,38)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteFleetItemFrom(t.context.index)&&i),i}),A.c,A.a)),l.Cb(38,180224,null,0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(39,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,h.y,h.g)),l.Cb(40,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,1,0,"fleetItems"),t(e,5,0,e.context.index),t(e,9,0,"outline"),t(e,24,0,"field"),t(e,27,0,"Field"),t(e,33,0,n.ConfigFleetItemForm.fields),t(e,35,0,"mlat"!=n.formFleetItems().controls[e.context.index].value.field&&"military"!=n.formFleetItems().controls[e.context.index].value.field,l.Pb(e,36)),t(e,40,0,"trash")}),(function(t,e){t(e,0,0,l.Pb(e,3).ngClassUntouched,l.Pb(e,3).ngClassTouched,l.Pb(e,3).ngClassPristine,l.Pb(e,3).ngClassDirty,l.Pb(e,3).ngClassValid,l.Pb(e,3).ngClassInvalid,l.Pb(e,3).ngClassPending),t(e,8,1,["standard"==l.Pb(e,9).appearance,"fill"==l.Pb(e,9).appearance,"outline"==l.Pb(e,9).appearance,"legacy"==l.Pb(e,9).appearance,l.Pb(e,9)._control.errorState,l.Pb(e,9)._canLabelFloat,l.Pb(e,9)._shouldLabelFloat(),l.Pb(e,9)._hasFloatingLabel(),l.Pb(e,9)._hideControlPlaceholder(),l.Pb(e,9)._control.disabled,l.Pb(e,9)._control.autofilled,l.Pb(e,9)._control.focused,"accent"==l.Pb(e,9).color,"warn"==l.Pb(e,9).color,l.Pb(e,9)._shouldForward("untouched"),l.Pb(e,9)._shouldForward("touched"),l.Pb(e,9)._shouldForward("pristine"),l.Pb(e,9)._shouldForward("dirty"),l.Pb(e,9)._shouldForward("valid"),l.Pb(e,9)._shouldForward("invalid"),l.Pb(e,9)._shouldForward("pending"),!l.Pb(e,9)._animationsEnabled]),t(e,22,1,[l.Pb(e,26).ngClassUntouched,l.Pb(e,26).ngClassTouched,l.Pb(e,26).ngClassPristine,l.Pb(e,26).ngClassDirty,l.Pb(e,26).ngClassValid,l.Pb(e,26).ngClassInvalid,l.Pb(e,26).ngClassPending,l.Pb(e,27).id,l.Pb(e,27).tabIndex,l.Pb(e,27)._getAriaLabel(),l.Pb(e,27)._getAriaLabelledby(),l.Pb(e,27).required.toString(),l.Pb(e,27).disabled.toString(),l.Pb(e,27).errorState,l.Pb(e,27).panelOpen?l.Pb(e,27)._optionIds:null,l.Pb(e,27).multiple,l.Pb(e,27)._ariaDescribedby||null,l.Pb(e,27)._getAriaActiveDescendant(),l.Pb(e,27).disabled,l.Pb(e,27).errorState,l.Pb(e,27).required,l.Pb(e,27).empty]),t(e,37,0,l.Pb(e,38).role,l.Pb(e,38)._highlighted,l.Pb(e,38)._triggersSubmenu,l.Pb(e,38)._getTabIndex(),l.Pb(e,38).disabled.toString(),l.Pb(e,38).disabled||null)}))}function ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,133,"div",[["class","container-form-filter-color"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,132,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,3).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,3).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitColorFilter()&&i),i}),null,null)),l.Cb(2,16384,null,0,O.A,[],null,null),l.Cb(3,540672,null,0,O.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,O.c,null,[O.k]),l.Cb(5,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(6,0,null,null,90,"div",[["class","form-filter-color"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(8,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(18,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,19)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,19).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,19)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,19)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,24)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,24)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,24)._onInput()&&i),i}),null,null)),l.Cb(19,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(21,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(23,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(24,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],S.d,null,[M.b]),(t()(),l.Db(26,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(27,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,10,{_controlNonStatic:0}),l.Ub(335544320,11,{_controlStatic:0}),l.Ub(603979776,12,{_labelChildNonStatic:0}),l.Ub(335544320,13,{_labelChildStatic:0}),l.Ub(603979776,14,{_placeholderChild:0}),l.Ub(603979776,15,{_errorChildren:1}),l.Ub(603979776,16,{_hintChildren:1}),l.Ub(603979776,17,{_prefixChildren:1}),l.Ub(603979776,18,{_suffixChildren:1}),(t()(),l.Db(37,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","color"],["matInput",""],["placeholder","Color hex"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,38)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,38).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,38)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,38)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,43)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,43)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,43)._onInput()&&i),i}),null,null)),l.Cb(38,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(40,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(42,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(43,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[10,4],[11,4]],S.d,null,[M.b]),(t()(),l.Db(45,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(46,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,19,{_controlNonStatic:0}),l.Ub(335544320,20,{_controlStatic:0}),l.Ub(603979776,21,{_labelChildNonStatic:0}),l.Ub(335544320,22,{_labelChildStatic:0}),l.Ub(603979776,23,{_placeholderChild:0}),l.Ub(603979776,24,{_errorChildren:1}),l.Ub(603979776,25,{_hintChildren:1}),l.Ub(603979776,26,{_prefixChildren:1}),l.Ub(603979776,27,{_suffixChildren:1}),(t()(),l.Db(56,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(57,16384,[[21,4],[22,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Visibility"])),(t()(),l.Db(59,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","isForAll"],["matInput",""],["placeholder","Visibility"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,64)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,64)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,64)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(61,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(63,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(64,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,28,{options:1}),l.Ub(603979776,29,{optionGroups:1}),l.Ub(603979776,30,{customTrigger:0}),l.Tb(2048,[[19,4],[20,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,he)),l.Cb(70,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(71,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(72,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,31,{_controlNonStatic:0}),l.Ub(335544320,32,{_controlStatic:0}),l.Ub(603979776,33,{_labelChildNonStatic:0}),l.Ub(335544320,34,{_labelChildStatic:0}),l.Ub(603979776,35,{_placeholderChild:0}),l.Ub(603979776,36,{_errorChildren:1}),l.Ub(603979776,37,{_hintChildren:1}),l.Ub(603979776,38,{_prefixChildren:1}),l.Ub(603979776,39,{_suffixChildren:1}),(t()(),l.Db(82,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(83,16384,[[33,4],[34,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Rank"])),(t()(),l.Db(85,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","rank"],["matInput",""],["placeholder","Rank"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,90)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,90)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,90)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(87,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(89,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(90,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,40,{options:1}),l.Ub(603979776,41,{optionGroups:1}),l.Ub(603979776,42,{customTrigger:0}),l.Tb(2048,[[31,4],[32,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,pe)),l.Cb(96,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(97,0,null,null,26,"div",[["class","form-filter-logical-operator"]],null,null,null,null,null)),(t()(),l.Db(98,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(99,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,43,{_controlNonStatic:0}),l.Ub(335544320,44,{_controlStatic:0}),l.Ub(603979776,45,{_labelChildNonStatic:0}),l.Ub(335544320,46,{_labelChildStatic:0}),l.Ub(603979776,47,{_placeholderChild:0}),l.Ub(603979776,48,{_errorChildren:1}),l.Ub(603979776,49,{_hintChildren:1}),l.Ub(603979776,50,{_prefixChildren:1}),l.Ub(603979776,51,{_suffixChildren:1}),(t()(),l.Db(109,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(110,16384,[[45,4],[46,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Logical operator"])),(t()(),l.Db(112,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","fleetLogicalOperator"],["matInput",""],["placeholder","Logical Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,117)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,117)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,117)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(114,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(116,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(117,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,52,{options:1}),l.Ub(603979776,53,{optionGroups:1}),l.Ub(603979776,54,{customTrigger:0}),l.Tb(2048,[[43,4],[44,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,fe)),l.Cb(123,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,be)),l.Cb(125,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(126,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.addFleetItemForm()&&l),l}),s.b,s.a)),l.Cb(127,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Add"])),(t()(),l.sb(16777216,null,null,1,null,Ae)),l.Cb(130,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(131,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(132,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,3,0,n.colorFilterForm),t(e,8,0,"outline"),t(e,21,0,"name"),t(e,24,0,"Name","text"),t(e,27,0,"outline"),t(e,40,0,"color"),t(e,43,0,"Color hex","color"),t(e,46,0,"outline"),t(e,61,0,"isForAll"),t(e,64,0,"Visibility"),t(e,70,0,n.ConfigFilterColorForm.forAllValues),t(e,72,0,"outline"),t(e,87,0,"rank"),t(e,90,0,"Rank"),t(e,96,0,n.ConfigFilterColorForm.rankValues),t(e,99,0,"outline"),t(e,114,0,"fleetLogicalOperator"),t(e,117,0,"Logical Operator"),t(e,123,0,n.ConfigFleetItemForm.logicalOperator),t(e,125,0,n.colorFilter),t(e,127,0,"warn"),t(e,130,0,n.formFleetItems().controls)}),(function(t,e){t(e,1,0,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending),t(e,7,1,["standard"==l.Pb(e,8).appearance,"fill"==l.Pb(e,8).appearance,"outline"==l.Pb(e,8).appearance,"legacy"==l.Pb(e,8).appearance,l.Pb(e,8)._control.errorState,l.Pb(e,8)._canLabelFloat,l.Pb(e,8)._shouldLabelFloat(),l.Pb(e,8)._hasFloatingLabel(),l.Pb(e,8)._hideControlPlaceholder(),l.Pb(e,8)._control.disabled,l.Pb(e,8)._control.autofilled,l.Pb(e,8)._control.focused,"accent"==l.Pb(e,8).color,"warn"==l.Pb(e,8).color,l.Pb(e,8)._shouldForward("untouched"),l.Pb(e,8)._shouldForward("touched"),l.Pb(e,8)._shouldForward("pristine"),l.Pb(e,8)._shouldForward("dirty"),l.Pb(e,8)._shouldForward("valid"),l.Pb(e,8)._shouldForward("invalid"),l.Pb(e,8)._shouldForward("pending"),!l.Pb(e,8)._animationsEnabled]),t(e,18,1,[l.Pb(e,23).ngClassUntouched,l.Pb(e,23).ngClassTouched,l.Pb(e,23).ngClassPristine,l.Pb(e,23).ngClassDirty,l.Pb(e,23).ngClassValid,l.Pb(e,23).ngClassInvalid,l.Pb(e,23).ngClassPending,l.Pb(e,24)._isServer,l.Pb(e,24).id,l.Pb(e,24).placeholder,l.Pb(e,24).disabled,l.Pb(e,24).required,l.Pb(e,24).readonly&&!l.Pb(e,24)._isNativeSelect||null,l.Pb(e,24)._ariaDescribedby||null,l.Pb(e,24).errorState,l.Pb(e,24).required.toString()]),t(e,26,1,["standard"==l.Pb(e,27).appearance,"fill"==l.Pb(e,27).appearance,"outline"==l.Pb(e,27).appearance,"legacy"==l.Pb(e,27).appearance,l.Pb(e,27)._control.errorState,l.Pb(e,27)._canLabelFloat,l.Pb(e,27)._shouldLabelFloat(),l.Pb(e,27)._hasFloatingLabel(),l.Pb(e,27)._hideControlPlaceholder(),l.Pb(e,27)._control.disabled,l.Pb(e,27)._control.autofilled,l.Pb(e,27)._control.focused,"accent"==l.Pb(e,27).color,"warn"==l.Pb(e,27).color,l.Pb(e,27)._shouldForward("untouched"),l.Pb(e,27)._shouldForward("touched"),l.Pb(e,27)._shouldForward("pristine"),l.Pb(e,27)._shouldForward("dirty"),l.Pb(e,27)._shouldForward("valid"),l.Pb(e,27)._shouldForward("invalid"),l.Pb(e,27)._shouldForward("pending"),!l.Pb(e,27)._animationsEnabled]),t(e,37,1,[l.Pb(e,42).ngClassUntouched,l.Pb(e,42).ngClassTouched,l.Pb(e,42).ngClassPristine,l.Pb(e,42).ngClassDirty,l.Pb(e,42).ngClassValid,l.Pb(e,42).ngClassInvalid,l.Pb(e,42).ngClassPending,l.Pb(e,43)._isServer,l.Pb(e,43).id,l.Pb(e,43).placeholder,l.Pb(e,43).disabled,l.Pb(e,43).required,l.Pb(e,43).readonly&&!l.Pb(e,43)._isNativeSelect||null,l.Pb(e,43)._ariaDescribedby||null,l.Pb(e,43).errorState,l.Pb(e,43).required.toString()]),t(e,45,1,["standard"==l.Pb(e,46).appearance,"fill"==l.Pb(e,46).appearance,"outline"==l.Pb(e,46).appearance,"legacy"==l.Pb(e,46).appearance,l.Pb(e,46)._control.errorState,l.Pb(e,46)._canLabelFloat,l.Pb(e,46)._shouldLabelFloat(),l.Pb(e,46)._hasFloatingLabel(),l.Pb(e,46)._hideControlPlaceholder(),l.Pb(e,46)._control.disabled,l.Pb(e,46)._control.autofilled,l.Pb(e,46)._control.focused,"accent"==l.Pb(e,46).color,"warn"==l.Pb(e,46).color,l.Pb(e,46)._shouldForward("untouched"),l.Pb(e,46)._shouldForward("touched"),l.Pb(e,46)._shouldForward("pristine"),l.Pb(e,46)._shouldForward("dirty"),l.Pb(e,46)._shouldForward("valid"),l.Pb(e,46)._shouldForward("invalid"),l.Pb(e,46)._shouldForward("pending"),!l.Pb(e,46)._animationsEnabled]),t(e,59,1,[l.Pb(e,63).ngClassUntouched,l.Pb(e,63).ngClassTouched,l.Pb(e,63).ngClassPristine,l.Pb(e,63).ngClassDirty,l.Pb(e,63).ngClassValid,l.Pb(e,63).ngClassInvalid,l.Pb(e,63).ngClassPending,l.Pb(e,64).id,l.Pb(e,64).tabIndex,l.Pb(e,64)._getAriaLabel(),l.Pb(e,64)._getAriaLabelledby(),l.Pb(e,64).required.toString(),l.Pb(e,64).disabled.toString(),l.Pb(e,64).errorState,l.Pb(e,64).panelOpen?l.Pb(e,64)._optionIds:null,l.Pb(e,64).multiple,l.Pb(e,64)._ariaDescribedby||null,l.Pb(e,64)._getAriaActiveDescendant(),l.Pb(e,64).disabled,l.Pb(e,64).errorState,l.Pb(e,64).required,l.Pb(e,64).empty]),t(e,71,1,["standard"==l.Pb(e,72).appearance,"fill"==l.Pb(e,72).appearance,"outline"==l.Pb(e,72).appearance,"legacy"==l.Pb(e,72).appearance,l.Pb(e,72)._control.errorState,l.Pb(e,72)._canLabelFloat,l.Pb(e,72)._shouldLabelFloat(),l.Pb(e,72)._hasFloatingLabel(),l.Pb(e,72)._hideControlPlaceholder(),l.Pb(e,72)._control.disabled,l.Pb(e,72)._control.autofilled,l.Pb(e,72)._control.focused,"accent"==l.Pb(e,72).color,"warn"==l.Pb(e,72).color,l.Pb(e,72)._shouldForward("untouched"),l.Pb(e,72)._shouldForward("touched"),l.Pb(e,72)._shouldForward("pristine"),l.Pb(e,72)._shouldForward("dirty"),l.Pb(e,72)._shouldForward("valid"),l.Pb(e,72)._shouldForward("invalid"),l.Pb(e,72)._shouldForward("pending"),!l.Pb(e,72)._animationsEnabled]),t(e,85,1,[l.Pb(e,89).ngClassUntouched,l.Pb(e,89).ngClassTouched,l.Pb(e,89).ngClassPristine,l.Pb(e,89).ngClassDirty,l.Pb(e,89).ngClassValid,l.Pb(e,89).ngClassInvalid,l.Pb(e,89).ngClassPending,l.Pb(e,90).id,l.Pb(e,90).tabIndex,l.Pb(e,90)._getAriaLabel(),l.Pb(e,90)._getAriaLabelledby(),l.Pb(e,90).required.toString(),l.Pb(e,90).disabled.toString(),l.Pb(e,90).errorState,l.Pb(e,90).panelOpen?l.Pb(e,90)._optionIds:null,l.Pb(e,90).multiple,l.Pb(e,90)._ariaDescribedby||null,l.Pb(e,90)._getAriaActiveDescendant(),l.Pb(e,90).disabled,l.Pb(e,90).errorState,l.Pb(e,90).required,l.Pb(e,90).empty]),t(e,98,1,["standard"==l.Pb(e,99).appearance,"fill"==l.Pb(e,99).appearance,"outline"==l.Pb(e,99).appearance,"legacy"==l.Pb(e,99).appearance,l.Pb(e,99)._control.errorState,l.Pb(e,99)._canLabelFloat,l.Pb(e,99)._shouldLabelFloat(),l.Pb(e,99)._hasFloatingLabel(),l.Pb(e,99)._hideControlPlaceholder(),l.Pb(e,99)._control.disabled,l.Pb(e,99)._control.autofilled,l.Pb(e,99)._control.focused,"accent"==l.Pb(e,99).color,"warn"==l.Pb(e,99).color,l.Pb(e,99)._shouldForward("untouched"),l.Pb(e,99)._shouldForward("touched"),l.Pb(e,99)._shouldForward("pristine"),l.Pb(e,99)._shouldForward("dirty"),l.Pb(e,99)._shouldForward("valid"),l.Pb(e,99)._shouldForward("invalid"),l.Pb(e,99)._shouldForward("pending"),!l.Pb(e,99)._animationsEnabled]),t(e,112,1,[l.Pb(e,116).ngClassUntouched,l.Pb(e,116).ngClassTouched,l.Pb(e,116).ngClassPristine,l.Pb(e,116).ngClassDirty,l.Pb(e,116).ngClassValid,l.Pb(e,116).ngClassInvalid,l.Pb(e,116).ngClassPending,l.Pb(e,117).id,l.Pb(e,117).tabIndex,l.Pb(e,117)._getAriaLabel(),l.Pb(e,117)._getAriaLabelledby(),l.Pb(e,117).required.toString(),l.Pb(e,117).disabled.toString(),l.Pb(e,117).errorState,l.Pb(e,117).panelOpen?l.Pb(e,117)._optionIds:null,l.Pb(e,117).multiple,l.Pb(e,117)._ariaDescribedby||null,l.Pb(e,117)._getAriaActiveDescendant(),l.Pb(e,117).disabled,l.Pb(e,117).errorState,l.Pb(e,117).required,l.Pb(e,117).empty]),t(e,126,0,l.Pb(e,127).disabled||null,"NoopAnimations"===l.Pb(e,127)._animationMode),t(e,131,0,l.Pb(e,132).disabled||null,"NoopAnimations"===l.Pb(e,132)._animationMode)}))}var Ce=n("Yeuo"),we=n("1f0G"),Pe=n("X0qu"),xe=n("Mc5n"),Se=n("F8Ro");n.d(e,"a",(function(){return je}));var ke=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.form-page[_ngcontent-%COMP%]{padding:10px}"]],data:{}});function Me(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Color aircraft"]],null,null,null,i.d,i.a)),l.Cb(1,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,5,{templateLabel:0}),l.Ub(335544320,6,{_explicitContent:0}),(t()(),l.Db(4,0,null,0,1,"control-color-filter",[],null,[[null,"openColorFilterForm"]],(function(t,e,n){var l=!0;return"openColorFilterForm"===e&&(l=!1!==t.component.openColorFilterForm(n)&&l),l}),st,N)),l.Cb(5,114688,null,0,R,[F.a,I.a,L.a,j.a],null,{openColorFilterForm:"openColorFilterForm"}),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Color aircraft"),t(e,5,0)}),null)}function Oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(1,16384,null,0,ut.j,[],null,null),(t()(),l.Db(2,0,null,null,16,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,i.c,i.b)),l.Cb(3,3325952,null,1,r.g,[l.p,l.j,[2,r.a],[2,d.a]],null,null),l.Ub(603979776,4,{_tabs:1}),(t()(),l.sb(16777216,null,null,1,null,Me)),l.Cb(6,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(7,16777216,null,null,5,"mat-tab",[["label","Layers"]],null,null,null,i.d,i.a)),l.Cb(8,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,7,{templateLabel:0}),l.Ub(335544320,8,{_explicitContent:0}),(t()(),l.Db(11,0,null,0,1,"control-layers",[],null,[[null,"openFormLayer"]],(function(t,e,n){var l=!0;return"openFormLayer"===e&&(l=!1!==t.component.openFormLayer()&&l),l}),Mt,bt)),l.Cb(12,49152,null,0,ft,[ht.a,I.a,pt.a],null,{openFormLayer:"openFormLayer"}),(t()(),l.Db(13,16777216,null,null,5,"mat-tab",[["label","Feed"]],null,null,null,i.d,i.a)),l.Cb(14,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,9,{templateLabel:0}),l.Ub(335544320,10,{_explicitContent:0}),(t()(),l.Db(17,0,null,0,1,"control-feeds",[],null,null,null,Jt,Tt)),l.Cb(18,114688,null,0,Ot,[Dt.a,I.a],null,null)],(function(t,e){var n=e.component;t(e,6,0,n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0),t(e,8,0,"Layers"),t(e,14,0,"Feed"),t(e,18,0)}),(function(t,e){t(e,2,0,l.Pb(e,3).dynamicHeight,"below"===l.Pb(e,3).headerPosition)}))}function De(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-color-filter",[],null,null,null,ve,de)),l.Cb(1,114688,null,0,ue,[O.f,I.a,F.a,ee.a,ce.a],{colorFilter:[0,"colorFilter"]},null)],(function(t,e){t(e,1,0,e.component.currentColorFilter)}),null)}function Te(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-layer",[],null,null,null,Ce.c,Ce.b)),l.Cb(1,114688,null,0,we.a,[ut.e,Pe.a,O.f],null,null)],(function(t,e){t(e,1,0)}),null)}function Ee(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,7,"div",[["class","form-page"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeColorFilterForm()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Return "])),(t()(),l.sb(16777216,null,null,1,null,De)),l.Cb(5,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Te)),l.Cb(7,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,5,0,"formColorFilter"==n.currentPage),t(e,7,0,"formLayer"==n.currentPage)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function Ie(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","filters"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(3,4866048,null,3,xe.c,[l.p,[3,xe.b],f.d,l.G,l.Y,xe.a,[2,y.b],xe.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,xe.l,null,[xe.c]),l.Cb(8,147456,[[1,4]],0,xe.d,[l.p,[2,xe.l]],null,null),l.Cb(9,81920,null,0,ut.m,[[2,ut.l],l.p,ut.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["FILTER"])),(t()(),l.sb(16777216,null,null,1,null,Oe)),l.Cb(12,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ee)),l.Cb(14,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0,".cdk-overlay-pane"),t(e,9,0,"filters"),t(e,12,0,"menuFilter"==n.currentPage),t(e,14,0,"formColorFilter"==n.currentPage||"formLayer"==n.currentPage)}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging(),l.Pb(e,9).id)}))}function Le(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"filter-dialog",[],null,null,null,Ie,ke)),l.Cb(1,114688,null,0,Se.a,[ut.l,ut.a,j.a,I.a],null,null)],(function(t,e){t(e,1,0)}),null)}var je=l.zb("filter-dialog",Se.a,Le,{},{},[])},ItNn:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}aircraftBboxControllerGetBbox$Response(e){const n=new o.a(this.rootUrl,t.AircraftBboxControllerGetBboxPath,"get");return e&&(n.query("providers",e.providers),n.query("filterICAO",e.filterIcao),n.query("since",e.since),n.query("selected",e.selected),n.query("maxLat",e.maxLat),n.query("minLat",e.minLat),n.query("maxLon",e.maxLon),n.query("minLon",e.minLon)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}aircraftBboxControllerGetBbox(t){return this.aircraftBboxControllerGetBbox$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.AircraftBboxControllerGetBboxPath="/aircraft_bbox",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},"IwX+":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("7o/Q"),i=n("4I5i"),r=n("EY2u");function o(t){return e=>0===t?Object(r.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new i.a}call(t,e){return e.subscribe(new s(t,this.total))}}class s extends l.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];t.defineLocale("ku",{months:l,monthsShort:l,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("zx2A");function i(t){return function(e){const n=new r(t),l=e.lift(n);return n.caught=l}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends l.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new l.a(this);this.add(i);const r=Object(l.c)(n,i);r!==i&&this.add(r)}}}},JRYL:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("wd/R");n("w+w1"),n("978D");class i{constructor(t,e){this.ref=t,this.timeService=e,this.maxTimeLine=0,this.lineChartData=[{data:[],label:"Altitude"}],this.lineChartLabels=[],this.lineChartOptions={responsive:!0,elements:{point:{radius:0}},scales:{xAxes:[{display:!1}]}},this.lineChartColors=[{borderColor:"#f04141",backgroundColor:"rgba(244, 245, 248, 0.5)"}],this.lineChartLegend=!1,this.lineChartType="line"}ngOnInit(){this.displayGraphAircraft()}ngDoCheck(){this.displayGraphAircraft(),this.ref.detectChanges()}displayGraphAircraft(){if(this.lineChartData[0].data=[],this.lineChartLabels=[],this.aircraft.trace&&this.aircraft.trace.positions){const t=this.timeService.getDateReplay()?l(this.timeService.getDateReplay()).valueOf():l.now(),e=t-18e5;let n=[],i=[];this.aircraft.trace.positions.forEach(r=>{if(r.updatedAt&&r.updatedAt<=t&&r.updatedAt>=e){const e=(t-r.updatedAt)/6e4;this.maxTimeLine<e&&(this.maxTimeLine=e),n.push(r.altitude),i.push(l(r.updatedAt).utc().format("HH:mm:ss"))}}),this.lineChartData[0].data=n,this.lineChartLabels=i}}}},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=t+" ";switch(n){case"ss":return l+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return l+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return l+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return l+(1===t?"dan":"dana");case"MM":return l+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return l+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JW8z:function(t,e,n){"use strict";var l,i=n("eQqr"),r=n("CvXi"),o=n("f8l7"),a=n("9d2U"),s=n("/O31"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=6378137*Math.PI,d=[-c,-c,c,c],h=[-180,-85,180,85],p=function(t){function e(e){return t.call(this,{code:e,units:s.b.METERS,extent:d,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(o.b)(e[1]/6378137)}})||this}return u(e,t),e}(a.a),f=[new p("EPSG:3857"),new p("EPSG:102100"),new p("EPSG:102113"),new p("EPSG:900913"),new p("urn:ogc:def:crs:EPSG:6.18:3:3857"),new p("urn:ogc:def:crs:EPSG::3857"),new p("http://www.opengis.net/gml/srs/epsg.xml#3857")],b=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),m=[-180,-90,180,90],g=6378137*Math.PI/180,_=function(t){function e(e,n){return t.call(this,{code:e,units:s.b.DEGREES,extent:m,axisOrientation:n,global:!0,metersPerUnit:g,worldExtent:m})||this}return b(e,t),e}(a.a),y=[new _("CRS:84"),new _("EPSG:4326","neu"),new _("urn:ogc:def:crs:EPSG::4326","neu"),new _("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new _("urn:ogc:def:crs:OGC:1.3:CRS84"),new _("urn:ogc:def:crs:OGC:2:84"),new _("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new _("urn:x-ogc:def:crs:EPSG:4326","neu")],A=(n("OPOH"),{});function v(t,e,n){var l=t.getCode(),i=e.getCode();l in A||(A[l]={}),A[l][i]=n}var C,w,P,x={};function S(t,e,n){var l;if(void 0!==e){for(var i=0,r=t.length;i<r;++i)e[i]=t[i];l=e}else l=t.slice();return l}function k(t,e,n){if(void 0!==e&&t!==e){for(var l=0,i=t.length;l<i;++l)e[l]=t[l];t=e}return t}function M(t){!function(t,e){x[t]=e}(t.getCode(),t),v(t,t,S)}function O(t){return"string"==typeof t?x[t]||null:t||null}function D(t,e,n,l){var r,o=(t=O(t)).getPointResolutionFunc();if(o)r=o(e,n),l&&l!==t.getUnits()&&(a=t.getMetersPerUnit())&&(r=r*a/s.a[l]);else if(t.getUnits()==s.b.DEGREES&&!l||l==s.b.DEGREES)r=e;else{var a,u=R(t,O("EPSG:4326")),c=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];c=u(c,c,2),r=(Object(i.a)(c.slice(0,2),c.slice(2,4))+Object(i.a)(c.slice(4,6),c.slice(6,8)))/2,void 0!==(a=l?s.a[l]:t.getMetersPerUnit())&&(r/=a)}return r}function T(t){!function(t){t.forEach(M)}(t),t.forEach((function(e){t.forEach((function(t){e!==t&&v(e,t,S)}))}))}function E(t,e){return t?"string"==typeof t?O(t):t:O(e)}function I(t,e){return N(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function L(t,e){var n=N(t,void 0!==e?e:"EPSG:3857","EPSG:4326"),l=n[0];return(l<-180||l>180)&&(n[0]=Object(o.d)(l+180,360)-180),n}function j(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||R(t,e)===S)&&n}function R(t,e){var n,l,i,r=(n=t.getCode(),l=e.getCode(),n in A&&l in A[n]&&(i=A[n][l]),i);return r||(r=k),r}function F(t,e){return R(O(t),O(e))}function N(t,e,n){return F(e,n)(t,void 0,t.length)}function Y(t,e,n,l){var i=F(e,n);return Object(r.a)(t,i,void 0,l)}function U(){return null}function B(t,e){return t}function z(t,e){return t}function G(t,e){return t}function H(t,e){return t}n.d(e,"l",(function(){return k})),n.d(e,"g",(function(){return O})),n.d(e,"h",(function(){return D})),n.d(e,"b",(function(){return E})),n.d(e,"d",(function(){return I})),n.d(e,"m",(function(){return L})),n.d(e,"c",(function(){return j})),n.d(e,"j",(function(){return R})),n.d(e,"i",(function(){return F})),n.d(e,"p",(function(){return N})),n.d(e,"q",(function(){return Y})),n.d(e,"k",(function(){return U})),n.d(e,"n",(function(){return B})),n.d(e,"e",(function(){return z})),n.d(e,"o",(function(){return G})),n.d(e,"f",(function(){return H})),n.d(e,"a",(function(){return s.a})),T(f),T(y),C=f,w=function(t,e,n){var l=t.length,i=n>1?n:2,r=e;void 0===r&&(r=i>2?t.slice():new Array(l));for(var o=c,a=0;a<l;a+=i){r[a]=o*t[a]/180;var s=6378137*Math.log(Math.tan(Math.PI*(+t[a+1]+90)/360));s>o?s=o:s<-o&&(s=-o),r[a+1]=s}return r},P=function(t,e,n){var l=t.length,i=n>1?n:2,r=e;void 0===r&&(r=i>2?t.slice():new Array(l));for(var o=0;o<l;o+=i)r[o]=180*t[o]/c,r[o+1]=360*Math.atan(Math.exp(t[o+1]/6378137))/Math.PI-90;return r},y.forEach((function(t){C.forEach((function(e){v(t,e,w),v(e,t,P)}))}))},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("GyhO"),i=n("z+Ro");function r(...t){const e=t[t.length-1];return Object(i.a)(e)?(t.pop(),n=>Object(l.a)(t,n,e)):e=>Object(l.a)(t,e)}},JfHk:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var l=n("CvXi");function i(t,e,n,i,o){return!Object(l.t)(o,(function(l){return!r(t,e,n,i,l[0],l[1])}))}function r(t,e,n,l,i,r){for(var o=0,a=t[n-l],s=t[n-l+1];e<n;e+=l){var u=t[e],c=t[e+1];s<=r?c>r&&(u-a)*(r-s)-(i-a)*(c-s)>0&&o++:c<=r&&(u-a)*(r-s)-(i-a)*(c-s)<0&&o--,a=u,s=c}return 0!==o}function o(t,e,n,l,i,o){if(0===n.length)return!1;if(!r(t,e,n[0],l,i,o))return!1;for(var a=1,s=n.length;a<s;++a)if(r(t,n[a-1],n[a],l,i,o))return!1;return!0}function a(t,e,n,l,i,r){if(0===n.length)return!1;for(var a=0,s=n.length;a<s;++a){var u=n[a];if(o(t,e,u,l,i,r))return!0;e=u[u.length-1]}return!1}},JjoW:function(t,e,n){"use strict";n.d(e,"d",(function(){return S})),n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return A})),n.d(e,"c",(function(){return x})),n("GS7A");var l=n("5GAg"),i=n("KCVW"),r=n("8bJo"),o=n("dvZr"),a=(n("QQfA"),n("8Y7J")),s=n("Xd0L"),u=n("XNiG"),c=n("NXyV"),d=n("VRyK"),h=n("JX91"),p=n("eIep"),f=n("IzEk"),b=n("pLZG"),m=n("lJxs"),g=n("/uUt"),_=n("1G5W");let y=0;const A=new a.w("mat-select-scroll-strategy");function v(t){return()=>t.scrollStrategies.reposition()}class C{constructor(t,e){this.source=t,this.value=e}}class w{constructor(t,e,n,l,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=l,this.ngControl=i}}const P=Object(s.F)(Object(s.J)(Object(s.G)(Object(s.H)(w))));class x extends P{constructor(t,e,n,l,i,r,o,s,g,_,A,v,C){super(i,l,o,s,_),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=r,this._parentFormField=g,this.ngControl=_,this._liveAnnouncer=C,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+y++,this._destroy=new u.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new u.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(c.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(h.a)(t),Object(p.a)(()=>Object(d.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(f.a)(1),Object(p.a)(()=>this.optionSelectionChanges))}),this.openedChange=new a.r,this._openedStream=this.openedChange.pipe(Object(b.a)(t=>t),Object(m.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(b.a)(t=>!t),Object(m.a)(()=>{})),this.selectionChange=new a.r,this.valueChange=new a.r,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=v,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(A)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}set focused(t){this._focused=t}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(i.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(i.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(i.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new r.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(g.a)(),Object(_.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.onChange.pipe(Object(_.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(h.a)(null),Object(_.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(f.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===o.e||e===o.q||e===o.j||e===o.n,l=this._keyManager;if((e===o.g||e===o.o)&&!Object(o.t)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;e===o.i||e===o.f?(e===o.i?l.setFirstItemActive():l.setLastItemActive(),t.preventDefault()):l.onKeydown(t);const i=this.selected;this._liveAnnouncer&&i&&n!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=t.keyCode,n=e===o.e||e===o.q,l=this._keyManager;if(e===o.i||e===o.f)t.preventDefault(),e===o.i?l.setFirstItemActive():l.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==o.g&&e!==o.o||!l.activeItem||Object(o.t)(t))if(this._multiple&&e===o.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const e=l.activeItemIndex;l.onKeydown(t),this._multiple&&n&&t.shiftKey&&l.activeItem&&l.activeItemIndex!==e&&l.activeItem._selectViaInteraction()}else t.preventDefault(),l.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(f.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return Object(a.hb)()&&console.warn(n),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this.focus(),this.close()}),this._keyManager.change.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(d.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(_.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(d.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(_.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new C(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(s.C)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(s.D)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,n,l)=>void 0===e?t===n?l:void 0:e,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),l=e*t-n;let i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(s.C)(i,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(i,r,l),this._offsetY=this._calculateOverlayOffsetY(i,r,l),this._checkOverlayWithinViewport(l)}_calculateOverlayScroll(t,e,n){const l=this._getItemHeight();return Math.min(Math.max(0,l*t-e+l/2),n)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),l=this.multiple?56:32;let i;if(this.multiple)i=40;else{let t=this._selectionModel.selected[0]||this.options.first;i=t&&t.group?32:16}n||(i*=-1);const r=0-(t.left+i-(n?l:0)),o=t.right+i-e.width+(n?0:l);r>0?i+=r+8:o>0&&(i-=o+8),this.overlayDir.offsetX=Math.round(i),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const l=this._getItemHeight(),i=(l-this._triggerRect.height)/2,r=Math.floor(256/l);let o;return this._disableOptionCentering?0:(o=0===this._scrollTop?t*l:this._scrollTop===n?(t-(this._getItemCount()-r))*l+(l-(this._getItemCount()*l-256)%l):e-l/2,Math.round(-1*o-i))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>i?this._adjustPanelUp(o,i):r>l?this._adjustPanelDown(r,l,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const l=Math.round(t-e);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}class S{}},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,l){return e?i(n)[0]:l?i(n)[1]:i(n)[2]}function l(t){return t%10==0||t>10&&t<20}function i(t){return e[t].split("_")}function r(t,e,r,o){var a=t+" ";return 1===t?a+n(0,e,r[0],o):e?a+(l(t)?i(r)[1]:i(r)[0]):o?a+i(r)[1]:a+(l(t)?i(r)[1]:i(r)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,l){return e?"kelios sekund\u0117s":l?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KAq4:function(t,e,n){"use strict";n.r(e);var l=n("8Y7J"),i=n("oeKZ"),r=n("oQtH"),o=n("IheW"),a=n("vkgz"),s=n("GXLG");class u{constructor(t,e){this.keycloakService=t,this.snackBarService=e}intercept(t,e){if(t.url.indexOf(r.a.config.api["sepia.api"].url)>=0){const e=this.keycloakService.client().token;t=t.clone({setHeaders:{Authorization:"Bearer "+e}})}return e.handle(t).pipe(Object(a.a)(t=>t,e=>{t.url.match("/tile/")||(console.error(e),this.snackBarService.openSnackBar(e.error&&e.error.error?e.error.error:e.message))}))}}Object(l.eb)(()=>u);class c{}class d{constructor(){console.log("START APP")}}var h=n("pMnS");class p{constructor(){}}var f=l.Bb({encapsulation:0,styles:[[".container[_ngcontent-%COMP%]{margin:0 auto;text-align:center;position:absolute;width:100%;bottom:50%;font-size:2em}"]],data:{}});function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["404 error"])),(t()(),l.Db(3,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["This page does not exist."]))],null,null)}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-error",[],null,null,null,b,f)),l.Cb(1,49152,null,0,p,[],null,null)],null,null)}var g=l.zb("app-error",p,m,{},{},[]),_=n("yWMr"),y=n("t68o"),A=n("zbXB"),v=n("NcP4"),C=n("xYTU"),w=n("krvq"),P=n("17Ym"),x=n("Eef3"),S=n("qJaP"),k=n("I9pN"),M=n("2yFf"),O=n("It4K"),D=n("rO16"),T=n("bdly"),E=n("3Cew"),I=n("Yeuo"),L=n("+0CP"),j=n("nYU5"),R=n("SzCE"),F=n("nkhJ"),N=n("mS5L"),Y=n("ZcWs"),U=n("rCNt"),B=n("1vG3"),z=n("oBZk"),G=n("ZZ/e"),H=n("iInd"),V=n("SVse");class q{constructor(t,e){this.snackBar=t,this.snackBarService=e}ngOnInit(){this.waitingSnackBarEvent()}waitingSnackBarEvent(){this.snackBarService.getEventSnackBar().subscribe(t=>{this.snackBar.open(t,"",{duration:2e3})})}}var W=n("dFDH"),$=l.Bb({encapsulation:0,styles:[[""]],data:{}});function X(t){return l.Yb(0,[],null,null)}var K=l.Bb({encapsulation:2,styles:[],data:{}});function J(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"ion-app",[],null,null,null,z.s,z.a)),l.Cb(1,49152,null,0,G.d,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,16777216,null,0,1,"ion-router-outlet",[],null,null,null,null,null)),l.Cb(3,212992,null,0,G.gb,[H.b,l.Y,l.m,[8,null],[8,null],G.b,G.Gb,V.j,l.p,H.m,l.G,H.a,[3,G.gb]],null,null),(t()(),l.Db(4,0,null,0,1,"snack-bar",[],null,null,null,X,$)),l.Cb(5,114688,null,0,q,[W.b,s.a],null,null)],(function(t,e){t(e,3,0),t(e,5,0)}),null)}function Q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-root",[],null,null,null,J,K)),l.Cb(1,49152,null,0,d,[],null,null)],null,null)}var Z=l.zb("app-root",d,Q,{},{},[]),tt=n("cUpR"),et=n("Xd0L"),nt=n("fDlF"),lt=n("omvX"),it=n("LRne");class rt{preload(t,e){return t.data&&t.data.preload?e():Object(it.a)(null)}}class ot{constructor(t,e){this.keycloakService=t,this.router=e}canActivate(t,e){return!!this.keycloakService.authenticated()||(this.keycloakService.login(),!1)}}var at=n("GS7A"),st=n("QL49"),ut=n("Kurg"),ct=n("EFbT"),dt=n("UN5i"),ht=n("AjEG"),pt=n("rLOe"),ft=n("3y7P"),bt=n("sUFW"),mt=n("Qykp"),gt=n("ItNn"),_t=n("5p+q"),yt=n("kZ4T"),At=n("DRqq"),vt=n("mWFr"),Ct=n("+qtt"),wt=n("c9QO"),Pt=n("TYbz"),xt=n("xhS3"),St=n("Nw85"),kt=n("X0qu"),Mt=n("Q2ZK"),Ot=n("Vgg8"),Dt=n("XYOC"),Tt=n("nmM0"),Et=n("0Ceg"),It=n("CJuc"),Lt=n("UrOv"),jt=n("D7iV"),Rt=n("yRz6"),Ft=n("mTEX"),Nt=n("Py6u"),Yt=n("b2zq"),Ut=n("oU5s"),Bt=n("GLSd"),zt=n("Kth1"),Gt=n("t9RB"),Ht=n("qSBs"),Vt=n("rAnw"),qt=n("s7LF"),Wt=n("POq0"),$t=n("5GAg"),Xt=n("/HVE"),Kt=n("DkaU"),Jt=n("Mc5n"),Qt=n("hOhj"),Zt=n("QQfA"),te=n("IP0z"),ee=n("/Co4"),ne=n("qJ5m"),le=n("s6ns"),ie=n("821u"),re=n("gavF"),oe=n("JjoW"),ae=n("Mz6y"),se=n("OIZN"),ue=n("7kcP"),ce=n("qU9k"),de=n("svHU"),he=n("hUP0"),pe=n("7/LY"),fe=n("978D"),be=n("wBRQ"),me=n("qToJ"),ge=n("YGmB"),_e=n("/MgC"),ye=n("P151"),Ae=n("3mbo"),ve=n("gDAU"),Ce=n("Y4ja"),we=n("mrSG"),Pe=n("HDdC"),xe=n("xgIS"),Se={error:"cordova_not_available"},ke={error:"plugin_not_installed"};function Me(t){if("undefined"!=typeof window&&window.angular){var e=window.document,n=window.angular.element(e.querySelector("[ng-app]")||e.body).injector();if(n)return n.get("$q")((function(e,n){t(e,n)}));console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise((function(e,n){t(e,n)}));console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function Oe(t,e,n,l){var i,r;void 0===l&&(l={});var o=Me((function(o,a){i=l.destruct?Le(t,e,n,l,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return a(t)})):Le(t,e,n,l,o,a),r=a}));return i&&i.error&&(o.catch((function(){})),"function"==typeof r&&r(i.error)),o}function De(t,e,n,l){return void 0===l&&(l={}),Me((function(i,r){var o=Le(t,e,n,l);o?o.error?r(o.error):o.then&&o.then(i).catch(r):r({error:"unexpected_error"})}))}function Te(t,e,n,l){return void 0===l&&(l={}),new Pe.a((function(i){var r;return(r=l.destruct?Le(t,e,n,l,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.next(t)}),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.error(t)})):Le(t,e,n,l,i.next.bind(i),i.error.bind(i)))&&r.error&&(i.error(r.error),i.complete()),function(){try{if(l.clearFunction)return l.clearWithArgs?Le(t,l.clearFunction,n,l,i.next.bind(i),i.error.bind(i)):Le(t,l.clearFunction,[])}catch(r){console.warn("Unable to clear the previous observable watch for",t.constructor.getPluginName(),e),console.warn(r)}}}))}function Ee(t,e){return e="undefined"!=typeof window&&e?Re(window,e):e||("undefined"!=typeof window?window:{}),Object(xe.a)(e,t)}function Ie(t,e,n){var l,i,r;return"string"==typeof t?l=t:(l=t.constructor.getPluginRef(),n=t.constructor.getPluginName(),r=t.constructor.getPluginInstallName()),!(!(i=je(l))||e&&void 0===i[e])||("undefined"!=typeof window&&window.cordova?(function(t,e,n){n?console.warn("Native: tried calling "+t+"."+n+", but the "+t+" plugin is not installed."):console.warn("Native: tried accessing the "+t+" plugin but it's not installed."),e&&console.warn("Install the "+t+" plugin: 'ionic cordova plugin add "+e+"'")}(n,r,e),ke):(function(t,e){"undefined"==typeof process&&(e?console.warn("Native: tried calling "+t+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+t+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"))}(n,e),Se))}function Le(t,e,n,l,i,r){void 0===l&&(l={}),n=function(t,e,n,l){if(void 0===e&&(e={}),e.sync)return t;if("reverse"===e.callbackOrder)t.unshift(l),t.unshift(n);else if("node"===e.callbackStyle)t.push((function(t,e){t?l(t):n(e)}));else if("object"===e.callbackStyle&&e.successName&&e.errorName){var i={};i[e.successName]=n,i[e.errorName]=l,t.push(i)}else if(void 0!==e.successIndex||void 0!==e.errorIndex){var r=function(){e.successIndex>t.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n)},o=function(){e.errorIndex>t.length?t[e.errorIndex]=l:t.splice(e.errorIndex,0,l)};e.successIndex>e.errorIndex?(o(),r()):(r(),o())}else t.push(n),t.push(l);return t}(n,l,i,r);var o=Ie(t,e);if(!0===o){var a=je(t.constructor.getPluginRef());return a[e].apply(a,n)}return o}function je(t){return"undefined"!=typeof window?Re(window,t):null}function Re(t,e){for(var n=e.split("."),l=t,i=0;i<n.length;i++){if(!l)return null;l=l[n[i]]}return l}var Fe=function(){function t(){}return t.installed=function(){return!0===Ie(this.pluginRef)},t.getPlugin=function(){return"undefined"!=typeof window?function(t,e){for(var n=e.split("."),l=t,i=0;i<n.length;i++){if(!l)return null;l=l[n[i]]}return l}(window,this.pluginRef):null},t.getPluginName=function(){return this.pluginName},t.getPluginRef=function(){return this.pluginRef},t.getPluginInstallName=function(){return this.plugin},t.getSupportedPlatforms=function(){return this.platforms},t.pluginName="",t.pluginRef="",t.plugin="",t.repo="",t.platforms=[],t.install="",t}();function Ne(t,e,n,l){return function(t,e,n){return void 0===n&&(n={}),function(){for(var l=[],i=0;i<arguments.length;i++)l[i]=arguments[i];return n.sync?Le(t,e,l,n):n.observable?Te(t,e,l,n):n.eventObservable&&n.event?Ee(n.event,n.element):n.otherPromise?De(t,e,l,n):Oe(t,e,l,n)}}(t,e,n).apply(this,l)}!function(){if("undefined"==typeof process){var t="undefined"!=typeof window?window:{},e=Date.now(),n=!1;t.document.addEventListener("deviceready",(function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-e)+" ms"),n=!0})),setTimeout((function(){!n&&t.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")}),5e3)}}();var Ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(we.c)(e,t),e.prototype.overlaysWebView=function(t){return Ne(this,"overlaysWebView",{sync:!0},arguments)},e.prototype.styleDefault=function(){return Ne(this,"styleDefault",{sync:!0},arguments)},e.prototype.styleLightContent=function(){return Ne(this,"styleLightContent",{sync:!0},arguments)},e.prototype.styleBlackTranslucent=function(){return Ne(this,"styleBlackTranslucent",{sync:!0},arguments)},e.prototype.styleBlackOpaque=function(){return Ne(this,"styleBlackOpaque",{sync:!0},arguments)},e.prototype.backgroundColorByName=function(t){return Ne(this,"backgroundColorByName",{sync:!0},arguments)},e.prototype.backgroundColorByHexString=function(t){return Ne(this,"backgroundColorByHexString",{sync:!0},arguments)},e.prototype.hide=function(){return Ne(this,"hide",{sync:!0},arguments)},e.prototype.show=function(){return Ne(this,"show",{sync:!0},arguments)},Object.defineProperty(e.prototype,"isVisible",{get:function(){return!0===Ie(this,"isVisible")?je(this.constructor.getPluginRef()).isVisible:null},set:function(t){!function(t,e,n){!0===Ie(t,"isVisible")&&(je(t.constructor.getPluginRef()).isVisible=n)}(this,0,t)},enumerable:!1,configurable:!0}),e.pluginName="StatusBar",e.plugin="cordova-plugin-statusbar",e.pluginRef="StatusBar",e.repo="https://github.com/apache/cordova-plugin-statusbar",e.platforms=["Android","iOS","Windows"],e}(Fe),Ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(we.c)(e,t),e.prototype.show=function(){return Ne(this,"show",{sync:!0},arguments)},e.prototype.hide=function(){return Ne(this,"hide",{sync:!0},arguments)},e.pluginName="SplashScreen",e.plugin="cordova-plugin-splashscreen",e.pluginRef="navigator.splashscreen",e.repo="https://github.com/apache/cordova-plugin-splashscreen",e.platforms=["Amazon Fire OS","Android","iOS","Windows"],e}(Fe),Be=n("mzvH"),ze=n("r6U7");const Ge=()=>n.e(14).then(n.bind(null,"8bLr")).then(t=>t.DesktopModuleNgFactory),He=[{path:"",loadChildren:Ge}],Ve=()=>n.e(16).then(n.bind(null,"FI2C")).then(t=>t.MobileModuleNgFactory),qe=[{path:"",loadChildren:Ve}],We={preload:!0},$e={preload:!1},Xe=[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",loadChildren:"./modules/login/login.module#LoginPageModule",data:We},{path:"home",canActivate:[ot],data:$e,children:[...He,...qe]},{path:"**",component:p}];class Ke{constructor(t,e){this.router=t,this.route=e,this.setRouterAndComponentsBasedOnWindowSize(!0)}isMobileView(){return window.innerWidth<1024}setRouterAndComponentsBasedOnWindowSize(t=!1){const e=this.buildRoutes();this.router.resetConfig(e),!1===t&&this.router.navigate([],{relativeTo:this.route})}buildRoutes(){const t=Xe,e=t.findIndex(t=>"home"===t.path);return e<-1?(console.error("Cannot find the Main route in app routing."),null):(this.isMobileView()?(t[e].component=ze.a,t[e].children=qe):(t[e].component=Be.a,t[e].children=He),t)}}var Je=n("8rpt");class Qe{static forRoot(t){return{ngModule:Qe,providers:[{provide:st.a,useValue:t}]}}constructor(t,e){if(t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!e)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}}var Ze=n("76lH"),tn=n("yotz"),en=n("qJ50"),nn=n("zQui"),ln=n("zMNK"),rn=n("KPQW"),on=n("lwm9"),an=n("Fwaw"),sn=n("mkRZ"),un=n("igqZ"),cn=n("r0V8"),dn=n("kNGD"),hn=n("Gi4r"),pn=n("02hT"),fn=n("5Bek"),bn=n("c9fC"),mn=n("FVPZ"),gn=n("oapL"),_n=n("HsOI"),yn=n("ZwOa"),An=n("Q+lL"),vn=n("8P0U"),Cn=n("W5yJ"),wn=n("elxJ"),Pn=n("BV1i"),xn=n("lT8R"),Sn=n("pBi1"),kn=n("8rEH"),Mn=n("rWV4"),On=n("BzsH"),Dn=n("AaDx"),Tn=n("sRx5"),En=n("hrfs"),In=n("Tosz"),Ln=n("Z/v2"),jn=n("mnSs"),Rn=n("7k00"),Fn=n("HyV0"),Nn=n("x34R"),Yn=n("Wxz7"),Un=n("zx31"),Bn=n("hnpS"),zn=n("IwX+"),Gn=n("FQkX"),Hn=n("c9tr"),Vn=n("bLKQ"),qn=n("piYb"),Wn=n("jadY");class $n{}var Xn=n("RH9n"),Kn=n("dvZr"),Jn=l.Ab(c,[d],(function(t){return l.Mb([l.Nb(512,l.m,l.lb,[[8,[h.a,g,_.a,y.a,A.b,A.a,v.a,C.a,C.b,w.a,P.a,x.a,S.a,k.a,M.a,O.a,D.a,T.a,E.a,I.a,L.a,j.a,R.a,F.a,N.a,Y.a,U.a,B.a,Z]],[3,l.m],l.E]),l.Nb(5120,l.A,l.xb,[[3,l.A]]),l.Nb(4608,V.p,V.o,[l.A,[2,V.F]]),l.Nb(5120,l.tb,l.yb,[l.G]),l.Nb(5120,l.c,l.ub,[]),l.Nb(5120,l.y,l.vb,[]),l.Nb(5120,l.z,l.wb,[]),l.Nb(4608,tt.b,tt.k,[V.d]),l.Nb(6144,l.P,null,[tt.b]),l.Nb(4608,tt.e,et.e,[[2,et.i],[2,et.n]]),l.Nb(5120,tt.c,(function(t,e,n,l,i,r,o,a){return[new tt.i(t,e,n),new tt.n(l),new tt.m(i,r,o,a)]}),[V.d,l.G,l.J,V.d,V.d,tt.e,l.mb,[2,tt.f]]),l.Nb(4608,tt.d,tt.d,[tt.c,l.G]),l.Nb(135680,tt.l,tt.l,[V.d]),l.Nb(4608,tt.j,tt.j,[tt.d,tt.l,l.c]),l.Nb(5120,nt.a,lt.e,[]),l.Nb(5120,nt.c,lt.f,[]),l.Nb(4608,nt.b,lt.d,[V.d,nt.a,nt.c]),l.Nb(5120,l.N,lt.g,[tt.j,nt.b,l.G]),l.Nb(6144,tt.o,null,[tt.l]),l.Nb(4608,l.V,l.V,[l.G]),l.Nb(4608,G.a,G.a,[l.G,l.g]),l.Nb(4608,G.Fb,G.Fb,[G.a,l.m,l.x]),l.Nb(4608,G.Ib,G.Ib,[G.a,l.m,l.x]),l.Nb(4608,H.g,H.g,[]),l.Nb(6144,H.h,null,[H.g]),l.Nb(135680,H.q,H.q,[H.m,l.D,l.k,l.x,H.h]),l.Nb(4608,H.e,H.e,[]),l.Nb(5120,H.E,H.v,[H.m,V.x,H.i]),l.Nb(5120,H.j,H.C,[H.A]),l.Nb(5120,l.b,(function(t){return[t]}),[H.j]),l.Nb(4608,rt,rt,[]),l.Nb(4608,i.a,i.a,[]),l.Nb(4608,ot,ot,[i.a,H.m]),l.Nb(4608,o.l,o.r,[V.d,l.J,o.p]),l.Nb(4608,o.s,o.s,[o.l,o.q]),l.Nb(4608,s.a,s.a,[]),l.Nb(4608,u,u,[i.a,s.a]),l.Nb(5120,o.a,(function(t,e){return[t,e]}),[o.s,u]),l.Nb(4608,at.b,lt.c,[l.N,V.d]),l.Nb(4352,st.a,{rootUrl:"https://api.sepia.fabnum.fr"},[]),l.Nb(4608,ut.a,ut.a,[st.a,o.c]),l.Nb(4608,ct.a,ct.a,[st.a,o.c]),l.Nb(4608,dt.a,dt.a,[st.a,o.c]),l.Nb(4608,ht.a,ht.a,[st.a,o.c]),l.Nb(4608,pt.a,pt.a,[st.a,o.c]),l.Nb(4608,ft.a,ft.a,[st.a,o.c]),l.Nb(4608,bt.a,bt.a,[st.a,o.c]),l.Nb(4608,mt.a,mt.a,[st.a,o.c]),l.Nb(4608,gt.a,gt.a,[st.a,o.c]),l.Nb(4608,_t.a,_t.a,[st.a,o.c]),l.Nb(4608,yt.a,yt.a,[st.a,o.c]),l.Nb(4608,At.a,At.a,[st.a,o.c]),l.Nb(4608,vt.a,vt.a,[st.a,o.c]),l.Nb(4608,Ct.a,Ct.a,[st.a,o.c]),l.Nb(4608,wt.a,wt.a,[st.a,o.c]),l.Nb(4608,Pt.a,Pt.a,[st.a,o.c]),l.Nb(4608,xt.a,xt.a,[st.a,o.c]),l.Nb(4608,St.a,St.a,[st.a,o.c]),l.Nb(4608,kt.a,kt.a,[st.a,o.c]),l.Nb(4608,Mt.a,Mt.a,[st.a,o.c]),l.Nb(4608,Ot.a,Ot.a,[st.a,o.c]),l.Nb(4608,Dt.a,Dt.a,[st.a,o.c]),l.Nb(4608,Tt.a,Tt.a,[st.a,o.c]),l.Nb(4608,Et.a,Et.a,[st.a,o.c]),l.Nb(4608,It.a,It.a,[st.a,o.c]),l.Nb(4608,Lt.a,Lt.a,[st.a,o.c]),l.Nb(4608,jt.a,jt.a,[st.a,o.c]),l.Nb(4608,Rt.a,Rt.a,[st.a,o.c]),l.Nb(4608,Ft.a,Ft.a,[st.a,o.c]),l.Nb(4608,Nt.a,Nt.a,[st.a,o.c]),l.Nb(4608,Yt.a,Yt.a,[st.a,o.c]),l.Nb(4608,Ut.a,Ut.a,[st.a,o.c]),l.Nb(4608,Bt.a,Bt.a,[st.a,o.c]),l.Nb(4608,zt.a,zt.a,[st.a,o.c]),l.Nb(4608,Gt.a,Gt.a,[st.a,o.c]),l.Nb(4608,Ht.a,Ht.a,[st.a,o.c]),l.Nb(4608,Vt.a,Vt.a,[st.a,o.c]),l.Nb(4608,qt.y,qt.y,[]),l.Nb(4608,qt.f,qt.f,[]),l.Nb(4608,Wt.c,Wt.c,[]),l.Nb(135680,$t.h,$t.h,[l.G,Xt.a]),l.Nb(4608,Kt.e,Kt.e,[l.U]),l.Nb(4608,Jt.g,Jt.g,[V.d,l.G,Qt.e,Jt.i]),l.Nb(4608,Zt.c,Zt.c,[Zt.i,Zt.e,l.m,Zt.h,Zt.f,l.x,l.G,V.d,te.b,[2,V.j]]),l.Nb(5120,Zt.j,Zt.k,[Zt.c]),l.Nb(5120,ee.b,ee.c,[Zt.c]),l.Nb(4608,et.d,et.d,[]),l.Nb(5120,ne.b,ne.a,[[3,ne.b]]),l.Nb(5120,le.c,le.d,[Zt.c]),l.Nb(135680,le.e,le.e,[Zt.c,l.x,[2,V.j],[2,le.b],le.c,[3,le.e],Zt.e]),l.Nb(4608,ie.i,ie.i,[]),l.Nb(5120,ie.a,ie.b,[Zt.c]),l.Nb(5120,re.c,re.j,[Zt.c]),l.Nb(4608,et.c,et.z,[[2,et.h],Xt.a]),l.Nb(5120,oe.a,oe.b,[Zt.c]),l.Nb(5120,ae.b,ae.c,[Zt.c]),l.Nb(5120,se.c,se.a,[[3,se.c]]),l.Nb(5120,ue.d,ue.a,[[3,ue.d]]),l.Nb(4608,ce.a,ce.a,[]),l.Nb(4608,de.a,de.a,[]),l.Nb(4608,he.a,he.a,[de.a]),l.Nb(4608,pe.b,pe.b,[o.c,wt.a]),l.Nb(4608,fe.b,fe.b,[]),l.Nb(4608,be.a,be.a,[]),l.Nb(4608,me.a,me.a,[i.a,_t.a,ut.a]),l.Nb(4608,ge.a,ge.a,[be.a,me.a,gt.a]),l.Nb(4608,_e.a,_e.a,[i.a,Dt.a]),l.Nb(4608,ye.a,ye.a,[Yt.a,de.a]),l.Nb(4608,Ae.a,Ae.a,[de.a,ge.a]),l.Nb(4608,ve.a,ve.a,[ge.a,fe.b,i.a,Ce.b]),l.Nb(4608,Ye,Ye,[]),l.Nb(4608,Ue,Ue,[]),l.Nb(1073742336,V.c,V.c,[]),l.Nb(1024,l.q,tt.p,[]),l.Nb(1024,l.F,(function(){return[H.u()]}),[]),l.Nb(512,H.A,H.A,[l.x]),l.Nb(256,G.Kb,void 0,[]),l.Nb(1024,l.d,(function(t,e,n,l,i){return[tt.q(t),H.B(e),G.Lb(n,l,i)]}),[[2,l.F],H.A,G.Kb,V.d,l.G]),l.Nb(512,l.e,l.e,[[2,l.d]]),l.Nb(131584,l.g,l.g,[l.G,l.mb,l.x,l.q,l.m,l.e]),l.Nb(1073742336,l.f,l.f,[l.g]),l.Nb(1073742336,tt.a,tt.a,[[3,tt.a]]),l.Nb(1073742336,G.Cb,G.Cb,[]),l.Nb(1024,H.t,H.x,[[3,H.m]]),l.Nb(512,H.s,H.c,[]),l.Nb(512,H.b,H.b,[]),l.Nb(256,H.i,{preloadingStrategy:H.g},[]),l.Nb(1024,V.k,H.w,[V.w,[2,V.a],H.i]),l.Nb(512,V.j,V.j,[V.k,V.w]),l.Nb(512,l.k,l.k,[]),l.Nb(512,l.D,l.S,[l.k,[2,l.T]]),l.Nb(1024,H.k,(function(){return[[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",loadChildren:"./modules/login/login.module#LoginPageModule",data:We},{path:"home",canActivate:[ot],data:$e,children:[{path:"",loadChildren:Ge},{path:"",loadChildren:Ve}]},{path:"**",component:p}],[{path:"",component:Be.a}],[{path:"",component:ze.a}],[{path:"",component:Je.a}]]}),[]),l.Nb(512,H.l,G.Db,[]),l.Nb(1024,H.m,H.y,[l.g,H.s,H.b,V.j,l.x,l.D,l.k,H.k,H.i,[2,H.r],[2,H.l]]),l.Nb(1073742336,H.o,H.o,[[2,H.t],[2,H.m]]),l.Nb(1024,H.a,H.z,[H.m]),l.Nb(1073742336,Ke,Ke,[H.m,H.a]),l.Nb(1073742336,o.e,o.e,[]),l.Nb(1073742336,o.d,o.d,[]),l.Nb(1073742336,lt.b,lt.b,[]),l.Nb(512,o.o,o.o,[]),l.Nb(2048,o.m,null,[o.o]),l.Nb(512,o.k,o.k,[o.m]),l.Nb(2048,o.b,null,[o.k]),l.Nb(512,o.f,o.n,[o.b,l.x]),l.Nb(512,o.c,o.c,[o.f]),l.Nb(1073742336,Qe,Qe,[[3,Qe],[2,o.c]]),l.Nb(1073742336,qt.x,qt.x,[]),l.Nb(1073742336,qt.m,qt.m,[]),l.Nb(1073742336,Ze.a,Ze.a,[]),l.Nb(1073742336,tn.b,tn.b,[]),l.Nb(1073742336,qt.v,qt.v,[]),l.Nb(1073742336,Xt.b,Xt.b,[]),l.Nb(1073742336,Wt.d,Wt.d,[]),l.Nb(1073742336,$t.a,$t.a,[]),l.Nb(1073742336,te.a,te.a,[]),l.Nb(1073742336,en.e,en.e,[]),l.Nb(1073742336,nn.p,nn.p,[]),l.Nb(1073742336,Kt.c,Kt.c,[]),l.Nb(1073742336,Jt.h,Jt.h,[]),l.Nb(1073742336,et.n,et.n,[[2,et.f],[2,tt.f]]),l.Nb(1073742336,et.y,et.y,[]),l.Nb(1073742336,et.w,et.w,[]),l.Nb(1073742336,et.t,et.t,[]),l.Nb(1073742336,ln.g,ln.g,[]),l.Nb(1073742336,Qt.c,Qt.c,[]),l.Nb(1073742336,Zt.g,Zt.g,[]),l.Nb(1073742336,ee.e,ee.e,[]),l.Nb(1073742336,rn.a,rn.a,[]),l.Nb(1073742336,on.c,on.c,[]),l.Nb(1073742336,an.c,an.c,[]),l.Nb(1073742336,sn.a,sn.a,[]),l.Nb(1073742336,un.c,un.c,[]),l.Nb(1073742336,cn.d,cn.d,[]),l.Nb(1073742336,cn.c,cn.c,[]),l.Nb(1073742336,dn.b,dn.b,[]),l.Nb(1073742336,hn.a,hn.a,[]),l.Nb(1073742336,ne.c,ne.c,[]),l.Nb(1073742336,le.k,le.k,[]),l.Nb(1073742336,ie.j,ie.j,[]),l.Nb(1073742336,pn.a,pn.a,[]),l.Nb(1073742336,fn.c,fn.c,[]),l.Nb(1073742336,bn.d,bn.d,[]),l.Nb(1073742336,et.p,et.p,[]),l.Nb(1073742336,mn.a,mn.a,[]),l.Nb(1073742336,gn.c,gn.c,[]),l.Nb(1073742336,_n.e,_n.e,[]),l.Nb(1073742336,yn.c,yn.c,[]),l.Nb(1073742336,An.c,An.c,[]),l.Nb(1073742336,re.i,re.i,[]),l.Nb(1073742336,re.f,re.f,[]),l.Nb(1073742336,et.A,et.A,[]),l.Nb(1073742336,et.q,et.q,[]),l.Nb(1073742336,oe.d,oe.d,[]),l.Nb(1073742336,ae.e,ae.e,[]),l.Nb(1073742336,se.d,se.d,[]),l.Nb(1073742336,vn.a,vn.a,[]),l.Nb(1073742336,Cn.c,Cn.c,[]),l.Nb(1073742336,wn.a,wn.a,[]),l.Nb(1073742336,Pn.a,Pn.a,[]),l.Nb(1073742336,xn.b,xn.b,[]),l.Nb(1073742336,Sn.d,Sn.d,[]),l.Nb(1073742336,Sn.c,Sn.c,[]),l.Nb(1073742336,W.e,W.e,[]),l.Nb(1073742336,ue.e,ue.e,[]),l.Nb(1073742336,kn.m,kn.m,[]),l.Nb(1073742336,Mn.k,Mn.k,[]),l.Nb(1073742336,On.a,On.a,[]),l.Nb(1073742336,Dn.a,Dn.a,[]),l.Nb(1073742336,Tn.a,Tn.a,[]),l.Nb(1073742336,En.b,En.b,[]),l.Nb(1073742336,In.a,In.a,[]),l.Nb(1073742336,Ln.b,Ln.b,[]),l.Nb(1073742336,jn.c,jn.c,[]),l.Nb(1073742336,Rn.a,Rn.a,[]),l.Nb(1073742336,Fn.a,Fn.a,[]),l.Nb(1073742336,Nn.a,Nn.a,[]),l.Nb(1073742336,Yn.a,Yn.a,[]),l.Nb(1073742336,Un.a,Un.a,[]),l.Nb(1073742336,Bn.a,Bn.a,[]),l.Nb(1073742336,zn.a,zn.a,[]),l.Nb(1073742336,Gn.a,Gn.a,[]),l.Nb(1073742336,Hn.a,Hn.a,[]),l.Nb(1073742336,Vn.a,Vn.a,[]),l.Nb(1073742336,qn.a,qn.a,[]),l.Nb(1073742336,Wn.a,Wn.a,[]),l.Nb(1073742336,$n,$n,[]),l.Nb(1073742336,Xn.b,Xn.b,[]),l.Nb(1073742336,c,c,[]),l.Nb(256,l.kb,!0,[]),l.Nb(256,o.p,"XSRF-TOKEN",[]),l.Nb(256,o.q,"X-XSRF-TOKEN",[]),l.Nb(256,lt.a,"BrowserAnimations",[]),l.Nb(256,dn.a,{separatorKeyCodes:[Kn.g]},[]),l.Nb(256,et.h,"fr-FR",[]),l.Nb(256,et.g,et.k,[])])}));r.a.production&&Object(l.db)(),i.a.init({url:r.a.config.auth.url,realm:r.a.config.auth.realm,clientId:r.a.config.auth.clientId},{checkLoginIframe:!1,onLoad:"check-sso"}).then(()=>{tt.h().bootstrapModuleFactory(Jn).catch(t=>{console.error("Error in bootstrap:",t)})}).catch(t=>{console.error("Error in KC bootstrap:",t)})},KCVW:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"f",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u}));var l=n("8Y7J");function i(t){return null!=t&&""+t!="false"}function r(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function s(t){return null==t?"":"string"==typeof t?t:t+"px"}function u(t){return t instanceof l.p?t.nativeElement:t}},KFGy:function(t,e,n){var l=n("Uwu7"),i=n("cpc2"),r=n("kSER"),o=n("2Dig"),a=n("QN7Q"),s=n("x7D4")("socket.io-client:socket"),u=n("TypT"),c=n("WLGk");t.exports=p;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},h=i.prototype.emit;function p(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}i(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[o(t,"open",a(this,"onopen")),o(t,"packet",a(this,"onpacket")),o(t,"close",a(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},p.prototype.send=function(){var t=r(arguments);return t.unshift("message"),this.emit.apply(this,t),this},p.prototype.emit=function(t){if(d.hasOwnProperty(t))return h.apply(this,arguments),this;var e=r(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:c(e))?l.BINARY_EVENT:l.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof e[e.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},p.prototype.onopen=function(){if(s("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"==typeof this.query?u.encode(this.query):this.query;s("sending connect packet with query %s",t),this.packet({type:l.CONNECT,query:t})}else this.packet({type:l.CONNECT})},p.prototype.onclose=function(t){s("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},p.prototype.onpacket=function(t){if(t.nsp===this.nsp||t.type===l.ERROR&&"/"===t.nsp)switch(t.type){case l.CONNECT:this.onconnect();break;case l.EVENT:case l.BINARY_EVENT:this.onevent(t);break;case l.ACK:case l.BINARY_ACK:this.onack(t);break;case l.DISCONNECT:this.ondisconnect();break;case l.ERROR:this.emit("error",t.data)}},p.prototype.onevent=function(t){var e=t.data||[];s("emitting event %j",e),null!=t.id&&(s("attaching ack callback to event"),e.push(this.ack(t.id))),this.connected?h.apply(this,e):this.receiveBuffer.push(e)},p.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var i=r(arguments);s("sending ack %j",i),e.packet({type:c(i)?l.BINARY_ACK:l.ACK,id:t,data:i})}}},p.prototype.onack=function(t){var e=this.acks[t.id];"function"==typeof e?(s("calling ack %s with %j",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):s("bad ack %s",t.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},p.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)h.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:l.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(t){return this.flags.compress=t,this},p.prototype.binary=function(t){return this.flags.binary=t,this}},KPQW:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8Y7J"),n("Xd0L");class l{}},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KfZV:function(t,e,n){"use strict";e.a={POINT:"point",LINE:"line"}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("7o/Q"),i=n("D0XW");function r(t,e=i.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends l.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(s,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function s(t){t.debouncedNext()}},Kth1:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFileUploadControllerFileUploadPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFileUploadControllerFileUpload(t){return this.getOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFileUploadControllerFileUploadPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFileUploadControllerFileUpload(t){return this.replaceOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFileUploadControllerFileUploadPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFileUploadControllerFileUpload(t){return this.deleteOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFileUploadControllerFileUploadPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFileUploadControllerFileUpload(t){return this.updateOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFileUploadControllerFileUploadPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFileUploadControllerFileUpload(t){return this.getManyBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFileUploadControllerFileUploadPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFileUploadControllerFileUpload(t){return this.createOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFileUploadControllerFileUploadPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFileUploadControllerFileUpload(t){return this.createManyBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.ReplaceOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.DeleteOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.UpdateOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.GetManyBaseFileUploadControllerFileUploadPath="/file_upload",t.CreateOneBaseFileUploadControllerFileUploadPath="/file_upload",t.CreateManyBaseFileUploadControllerFileUploadPath="/file_upload/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Kurg:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseColorFilterControllerColorFilterPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseColorFilterControllerColorFilter(t){return this.getOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseColorFilterControllerColorFilterPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseColorFilterControllerColorFilter(t){return this.replaceOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseColorFilterControllerColorFilterPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseColorFilterControllerColorFilter(t){return this.deleteOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseColorFilterControllerColorFilterPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseColorFilterControllerColorFilter(t){return this.updateOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseColorFilterControllerColorFilterPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseColorFilterControllerColorFilter(t){return this.getManyBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseColorFilterControllerColorFilterPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseColorFilterControllerColorFilter(t){return this.createOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseColorFilterControllerColorFilterPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseColorFilterControllerColorFilter(t){return this.createManyBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.ReplaceOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.DeleteOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.UpdateOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.GetManyBaseColorFilterControllerColorFilterPath="/color-filter",t.CreateOneBaseColorFilterControllerColorFilterPath="/color-filter",t.CreateManyBaseColorFilterControllerColorFilterPath="/color-filter/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},LMWA:function(t,e){var n={thin:100,hairline:100,"ultra-light":100,"extra-light":100,light:200,book:300,regular:400,normal:400,plain:400,roman:400,standard:400,medium:500,"semi-bold":600,"demi-bold":600,bold:700,heavy:800,black:800,"extra-bold":800,"ultra-black":900,"extra-black":900,"ultra-bold":900,"heavy-black":900,fat:900,poster:900},l=/(italic|oblique)$/i,i={};t.exports=function(t,e,r){var o=i[t];if(!o){Array.isArray(t)||(t=[t]);for(var a=400,s="normal",u=[],c=0,d=t.length;c<d;++c){var h=t[c].split(" "),p=h[h.length-1].toLowerCase();for(var f in"normal"==p||"italic"==p||"oblique"==p?(s=p,h.pop(),p=h[h.length-1].toLowerCase()):l.test(p)&&(p=p.replace(l,""),s=h[h.length-1].replace(p,"")),n)if(p==f||p==f.replace("-","")||p==f.replace("-"," ")){a=n[f],h.pop();break}"number"==typeof p&&(a=p);var b=h.join(" ").replace("Klokantech Noto Sans","Noto Sans");-1!==b.indexOf(" ")&&(b='"'+b+'"'),u.push(b)}o=i[t]=[s,a,u]}return o[0]+" "+o[1]+" "+e+"px"+(r?"/"+r:"")+" "+o[2]}},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("z+Ro"),i=n("yCtX"),r=n("jZKg");function o(...t){let e=t[t.length-1];return Object(l.a)(e)?(t.pop(),Object(r.a)(t,e)):Object(i.a)(t)}},Lhse:function(t,e,n){"use strict";function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return i}));const i=l()},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},LvDl:function(t,e,n){(function(t){var l;(function(){var i="Expected a function",r="__lodash_placeholder__",o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",p="[object GeneratorFunction]",f="[object Map]",b="[object Number]",m="[object Object]",g="[object RegExp]",_="[object Set]",y="[object String]",A="[object Symbol]",v="[object WeakMap]",C="[object ArrayBuffer]",w="[object DataView]",P="[object Float32Array]",x="[object Float64Array]",S="[object Int8Array]",k="[object Int16Array]",M="[object Int32Array]",O="[object Uint8Array]",D="[object Uint16Array]",T="[object Uint32Array]",E=/\b__p \+= '';/g,I=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,F=RegExp(j.source),N=RegExp(R.source),Y=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,B=/<%=([\s\S]+?)%>/g,z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,V=/[\\^$.*+?()[\]{}|]/g,q=RegExp(V.source),W=/^\s+/,$=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Z=/[()=,{}\[\]\/\s]/,tt=/\\(\\)?/g,et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,lt=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,rt=/^\[object .+?Constructor\]$/,ot=/^0o[0-7]+$/i,at=/^(?:0|[1-9]\d*)$/,st=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ut=/($^)/,ct=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="["+ht+"]",ft="["+dt+"]",bt="\\d+",mt="[a-z\\xdf-\\xf6\\xf8-\\xff]",gt="[^\\ud800-\\udfff"+ht+bt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",yt="[^\\ud800-\\udfff]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",vt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",wt="(?:"+mt+"|"+gt+")",Pt="(?:"+Ct+"|"+gt+")",xt="(?:"+ft+"|"+_t+")?",St="[\\ufe0e\\ufe0f]?"+xt+"(?:\\u200d(?:"+[yt,At,vt].join("|")+")[\\ufe0e\\ufe0f]?"+xt+")*",kt="(?:"+["[\\u2700-\\u27bf]",At,vt].join("|")+")"+St,Mt="(?:"+[yt+ft+"?",ft,At,vt,"[\\ud800-\\udfff]"].join("|")+")",Ot=RegExp("['\u2019]","g"),Dt=RegExp(ft,"g"),Tt=RegExp(_t+"(?="+_t+")|"+Mt+St,"g"),Et=RegExp([Ct+"?"+mt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[pt,Ct,"$"].join("|")+")",Pt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[pt,Ct+wt,"$"].join("|")+")",Ct+"?"+wt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bt,kt].join("|"),"g"),It=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),Lt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rt=-1,Ft={};Ft[P]=Ft[x]=Ft[S]=Ft[k]=Ft[M]=Ft[O]=Ft["[object Uint8ClampedArray]"]=Ft[D]=Ft[T]=!0,Ft[a]=Ft[s]=Ft[C]=Ft[u]=Ft[w]=Ft[c]=Ft[d]=Ft[h]=Ft[f]=Ft[b]=Ft[m]=Ft[g]=Ft[_]=Ft[y]=Ft[v]=!1;var Nt={};Nt[a]=Nt[s]=Nt[C]=Nt[w]=Nt[u]=Nt[c]=Nt[P]=Nt[x]=Nt[S]=Nt[k]=Nt[M]=Nt[f]=Nt[b]=Nt[m]=Nt[g]=Nt[_]=Nt[y]=Nt[A]=Nt[O]=Nt["[object Uint8ClampedArray]"]=Nt[D]=Nt[T]=!0,Nt[d]=Nt[h]=Nt[v]=!1;var Yt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ut=parseFloat,Bt=parseInt,zt="object"==typeof global&&global&&global.Object===Object&&global,Gt="object"==typeof self&&self&&self.Object===Object&&self,Ht=zt||Gt||Function("return this")(),Vt=e&&!e.nodeType&&e,qt=Vt&&"object"==typeof t&&t&&!t.nodeType&&t,Wt=qt&&qt.exports===Vt,$t=Wt&&zt.process,Xt=function(){try{return qt&&qt.require&&qt.require("util").types||$t&&$t.binding&&$t.binding("util")}catch(t){}}(),Kt=Xt&&Xt.isArrayBuffer,Jt=Xt&&Xt.isDate,Qt=Xt&&Xt.isMap,Zt=Xt&&Xt.isRegExp,te=Xt&&Xt.isSet,ee=Xt&&Xt.isTypedArray;function ne(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function le(t,e,n,l){for(var i=-1,r=null==t?0:t.length;++i<r;){var o=t[i];e(l,o,n(o),t)}return l}function ie(t,e){for(var n=-1,l=null==t?0:t.length;++n<l&&!1!==e(t[n],n,t););return t}function re(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function oe(t,e){for(var n=-1,l=null==t?0:t.length;++n<l;)if(!e(t[n],n,t))return!1;return!0}function ae(t,e){for(var n=-1,l=null==t?0:t.length,i=0,r=[];++n<l;){var o=t[n];e(o,n,t)&&(r[i++]=o)}return r}function se(t,e){return!(null==t||!t.length)&&_e(t,e,0)>-1}function ue(t,e,n){for(var l=-1,i=null==t?0:t.length;++l<i;)if(n(e,t[l]))return!0;return!1}function ce(t,e){for(var n=-1,l=null==t?0:t.length,i=Array(l);++n<l;)i[n]=e(t[n],n,t);return i}function de(t,e){for(var n=-1,l=e.length,i=t.length;++n<l;)t[i+n]=e[n];return t}function he(t,e,n,l){var i=-1,r=null==t?0:t.length;for(l&&r&&(n=t[++i]);++i<r;)n=e(n,t[i],i,t);return n}function pe(t,e,n,l){var i=null==t?0:t.length;for(l&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function fe(t,e){for(var n=-1,l=null==t?0:t.length;++n<l;)if(e(t[n],n,t))return!0;return!1}var be=Ce("length");function me(t,e,n){var l;return n(t,(function(t,n,i){if(e(t,n,i))return l=n,!1})),l}function ge(t,e,n,l){for(var i=t.length,r=n+(l?1:-1);l?r--:++r<i;)if(e(t[r],r,t))return r;return-1}function _e(t,e,n){return e==e?function(t,e,n){for(var l=n-1,i=t.length;++l<i;)if(t[l]===e)return l;return-1}(t,e,n):ge(t,Ae,n)}function ye(t,e,n,l){for(var i=n-1,r=t.length;++i<r;)if(l(t[i],e))return i;return-1}function Ae(t){return t!=t}function ve(t,e){var n=null==t?0:t.length;return n?xe(t,e)/n:NaN}function Ce(t){return function(e){return null==e?void 0:e[t]}}function we(t){return function(e){return null==t?void 0:t[e]}}function Pe(t,e,n,l,i){return i(t,(function(t,i,r){n=l?(l=!1,t):e(n,t,i,r)})),n}function xe(t,e){for(var n,l=-1,i=t.length;++l<i;){var r=e(t[l]);void 0!==r&&(n=void 0===n?r:n+r)}return n}function Se(t,e){for(var n=-1,l=Array(t);++n<t;)l[n]=e(n);return l}function ke(t){return t?t.slice(0,Ve(t)+1).replace(W,""):t}function Me(t){return function(e){return t(e)}}function Oe(t,e){return ce(e,(function(e){return t[e]}))}function De(t,e){return t.has(e)}function Te(t,e){for(var n=-1,l=t.length;++n<l&&_e(e,t[n],0)>-1;);return n}function Ee(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Ie(t,e){for(var n=t.length,l=0;n--;)t[n]===e&&++l;return l}var Le=we({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),je=we({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Re(t){return"\\"+Yt[t]}function Fe(t){return It.test(t)}function Ne(t){var e=-1,n=Array(t.size);return t.forEach((function(t,l){n[++e]=[l,t]})),n}function Ye(t,e){return function(n){return t(e(n))}}function Ue(t,e){for(var n=-1,l=t.length,i=0,o=[];++n<l;){var a=t[n];a!==e&&a!==r||(t[n]=r,o[i++]=n)}return o}function Be(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Ge(t){return Fe(t)?function(t){for(var e=Tt.lastIndex=0;Tt.test(t);)++e;return e}(t):be(t)}function He(t){return Fe(t)?function(t){return t.match(Tt)||[]}(t):function(t){return t.split("")}(t)}function Ve(t){for(var e=t.length;e--&&$.test(t.charAt(e)););return e}var qe=we({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),We=function t(e){var n,l=(e=null==e?Ht:We.defaults(Ht.Object(),e,We.pick(Ht,jt))).Array,$=e.Date,dt=e.Error,ht=e.Function,pt=e.Math,ft=e.Object,bt=e.RegExp,mt=e.String,gt=e.TypeError,_t=l.prototype,yt=ft.prototype,At=e["__core-js_shared__"],vt=ht.prototype.toString,Ct=yt.hasOwnProperty,wt=0,Pt=(n=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",xt=yt.toString,St=vt.call(ft),kt=Ht._,Mt=bt("^"+vt.call(Ct).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=Wt?e.Buffer:void 0,It=e.Symbol,Yt=e.Uint8Array,zt=Tt?Tt.allocUnsafe:void 0,Gt=Ye(ft.getPrototypeOf,ft),Vt=ft.create,qt=yt.propertyIsEnumerable,$t=_t.splice,Xt=It?It.isConcatSpreadable:void 0,be=It?It.iterator:void 0,we=It?It.toStringTag:void 0,$e=function(){try{var t=Qi(ft,"defineProperty");return t({},"",{}),t}catch(e){}}(),Xe=e.clearTimeout!==Ht.clearTimeout&&e.clearTimeout,Ke=$&&$.now!==Ht.Date.now&&$.now,Je=e.setTimeout!==Ht.setTimeout&&e.setTimeout,Qe=pt.ceil,Ze=pt.floor,tn=ft.getOwnPropertySymbols,en=Tt?Tt.isBuffer:void 0,nn=e.isFinite,ln=_t.join,rn=Ye(ft.keys,ft),on=pt.max,an=pt.min,sn=$.now,un=e.parseInt,cn=pt.random,dn=_t.reverse,hn=Qi(e,"DataView"),pn=Qi(e,"Map"),fn=Qi(e,"Promise"),bn=Qi(e,"Set"),mn=Qi(e,"WeakMap"),gn=Qi(ft,"create"),_n=mn&&new mn,yn={},An=kr(hn),vn=kr(pn),Cn=kr(fn),wn=kr(bn),Pn=kr(mn),xn=It?It.prototype:void 0,Sn=xn?xn.valueOf:void 0,kn=xn?xn.toString:void 0;function Mn(t){if(Vo(t)&&!Lo(t)&&!(t instanceof En)){if(t instanceof Tn)return t;if(Ct.call(t,"__wrapped__"))return Mr(t)}return new Tn(t)}var On=function(){function t(){}return function(e){if(!Ho(e))return{};if(Vt)return Vt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Dn(){}function Tn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function En(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function In(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function Ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function jn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function Rn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new jn;++e<n;)this.add(t[e])}function Fn(t){var e=this.__data__=new Ln(t);this.size=e.size}function Nn(t,e){var n=Lo(t),l=!n&&Io(t),i=!n&&!l&&No(t),r=!n&&!l&&!i&&Zo(t),o=n||l||i||r,a=o?Se(t.length,mt):[],s=a.length;for(var u in t)!e&&!Ct.call(t,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||r&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||rr(u,s))||a.push(u);return a}function Yn(t){var e=t.length;return e?t[jl(0,e-1)]:void 0}function Un(t,e){return Cr(mi(t),Xn(e,0,t.length))}function Bn(t){return Cr(mi(t))}function zn(t,e,n){(void 0!==n&&!Do(t[e],n)||void 0===n&&!(e in t))&&Wn(t,e,n)}function Gn(t,e,n){var l=t[e];Ct.call(t,e)&&Do(l,n)&&(void 0!==n||e in t)||Wn(t,e,n)}function Hn(t,e){for(var n=t.length;n--;)if(Do(t[n][0],e))return n;return-1}function Vn(t,e,n,l){return tl(t,(function(t,i,r){e(l,t,n(t),r)})),l}function qn(t,e){return t&&gi(e,va(e),t)}function Wn(t,e,n){"__proto__"==e&&$e?$e(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function $n(t,e){for(var n=-1,i=e.length,r=l(i),o=null==t;++n<i;)r[n]=o?void 0:ma(t,e[n]);return r}function Xn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Kn(t,e,n,l,i,r){var o,s=1&e,d=2&e,v=4&e;if(n&&(o=i?n(t,l,i,r):n(t)),void 0!==o)return o;if(!Ho(t))return t;var E=Lo(t);if(E){if(o=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Ct.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return mi(t,o)}else{var I=er(t),L=I==h||I==p;if(No(t))return ci(t,s);if(I==m||I==a||L&&!i){if(o=d||L?{}:lr(t),!s)return d?function(t,e){return gi(t,tr(t),e)}(t,function(t,e){return t&&gi(e,Ca(e),t)}(o,t)):function(t,e){return gi(t,Zi(t),e)}(t,qn(o,t))}else{if(!Nt[I])return i?t:{};o=function(t,e,n){var l=t.constructor;switch(e){case C:return di(t);case u:case c:return new l(+t);case w:return function(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case x:case S:case k:case M:case O:case"[object Uint8ClampedArray]":case D:case T:return hi(t,n);case f:return new l;case b:case y:return new l(t);case g:return function(t){var e=new t.constructor(t.source,nt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _:return new l;case A:return Sn?ft(Sn.call(t)):{}}}(t,I,s)}}r||(r=new Fn);var j=r.get(t);if(j)return j;r.set(t,o),Ko(t)?t.forEach((function(l){o.add(Kn(l,e,n,l,t,r))})):qo(t)&&t.forEach((function(l,i){o.set(i,Kn(l,e,n,i,t,r))}));var R=E?void 0:(v?d?Vi:Hi:d?Ca:va)(t);return ie(R||t,(function(l,i){R&&(l=t[i=l]),Gn(o,i,Kn(l,e,n,i,t,r))})),o}function Jn(t,e,n){var l=n.length;if(null==t)return!l;for(t=ft(t);l--;){var i=n[l],r=t[i];if(void 0===r&&!(i in t)||!(0,e[i])(r))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new gt(i);return _r((function(){t.apply(void 0,n)}),e)}function Zn(t,e,n,l){var i=-1,r=se,o=!0,a=t.length,s=[],u=e.length;if(!a)return s;n&&(e=ce(e,Me(n))),l?(r=ue,o=!1):e.length>=200&&(r=De,o=!1,e=new Rn(e));t:for(;++i<a;){var c=t[i],d=null==n?c:n(c);if(c=l||0!==c?c:0,o&&d==d){for(var h=u;h--;)if(e[h]===d)continue t;s.push(c)}else r(e,d,l)||s.push(c)}return s}Mn.templateSettings={escape:Y,evaluate:U,interpolate:B,variable:"",imports:{_:Mn}},(Mn.prototype=Dn.prototype).constructor=Mn,(Tn.prototype=On(Dn.prototype)).constructor=Tn,(En.prototype=On(Dn.prototype)).constructor=En,In.prototype.clear=function(){this.__data__=gn?gn(null):{},this.size=0},In.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},In.prototype.get=function(t){var e=this.__data__;if(gn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ct.call(e,t)?e[t]:void 0},In.prototype.has=function(t){var e=this.__data__;return gn?void 0!==e[t]:Ct.call(e,t)},In.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=gn&&void 0===e?"__lodash_hash_undefined__":e,this},Ln.prototype.clear=function(){this.__data__=[],this.size=0},Ln.prototype.delete=function(t){var e=this.__data__,n=Hn(e,t);return!(n<0||(n==e.length-1?e.pop():$t.call(e,n,1),--this.size,0))},Ln.prototype.get=function(t){var e=this.__data__,n=Hn(e,t);return n<0?void 0:e[n][1]},Ln.prototype.has=function(t){return Hn(this.__data__,t)>-1},Ln.prototype.set=function(t,e){var n=this.__data__,l=Hn(n,t);return l<0?(++this.size,n.push([t,e])):n[l][1]=e,this},jn.prototype.clear=function(){this.size=0,this.__data__={hash:new In,map:new(pn||Ln),string:new In}},jn.prototype.delete=function(t){var e=Ki(this,t).delete(t);return this.size-=e?1:0,e},jn.prototype.get=function(t){return Ki(this,t).get(t)},jn.prototype.has=function(t){return Ki(this,t).has(t)},jn.prototype.set=function(t,e){var n=Ki(this,t),l=n.size;return n.set(t,e),this.size+=n.size==l?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},Fn.prototype.clear=function(){this.__data__=new Ln,this.size=0},Fn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Fn.prototype.get=function(t){return this.__data__.get(t)},Fn.prototype.has=function(t){return this.__data__.has(t)},Fn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ln){var l=n.__data__;if(!pn||l.length<199)return l.push([t,e]),this.size=++n.size,this;n=this.__data__=new jn(l)}return n.set(t,e),this.size=n.size,this};var tl=Ai(sl),el=Ai(ul,!0);function nl(t,e){var n=!0;return tl(t,(function(t,l,i){return n=!!e(t,l,i)})),n}function ll(t,e,n){for(var l=-1,i=t.length;++l<i;){var r=t[l],o=e(r);if(null!=o&&(void 0===a?o==o&&!Qo(o):n(o,a)))var a=o,s=r}return s}function il(t,e){var n=[];return tl(t,(function(t,l,i){e(t,l,i)&&n.push(t)})),n}function rl(t,e,n,l,i){var r=-1,o=t.length;for(n||(n=ir),i||(i=[]);++r<o;){var a=t[r];e>0&&n(a)?e>1?rl(a,e-1,n,l,i):de(i,a):l||(i[i.length]=a)}return i}var ol=vi(),al=vi(!0);function sl(t,e){return t&&ol(t,e,va)}function ul(t,e){return t&&al(t,e,va)}function cl(t,e){return ae(e,(function(e){return Bo(t[e])}))}function dl(t,e){for(var n=0,l=(e=oi(e,t)).length;null!=t&&n<l;)t=t[Sr(e[n++])];return n&&n==l?t:void 0}function hl(t,e,n){var l=e(t);return Lo(t)?l:de(l,n(t))}function pl(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":we&&we in ft(t)?function(t){var e=Ct.call(t,we),n=t[we];try{t[we]=void 0;var l=!0}catch(r){}var i=xt.call(t);return l&&(e?t[we]=n:delete t[we]),i}(t):function(t){return xt.call(t)}(t)}function fl(t,e){return t>e}function bl(t,e){return null!=t&&Ct.call(t,e)}function ml(t,e){return null!=t&&e in ft(t)}function gl(t,e,n){for(var i=n?ue:se,r=t[0].length,o=t.length,a=o,s=l(o),u=1/0,c=[];a--;){var d=t[a];a&&e&&(d=ce(d,Me(e))),u=an(d.length,u),s[a]=!n&&(e||r>=120&&d.length>=120)?new Rn(a&&d):void 0}d=t[0];var h=-1,p=s[0];t:for(;++h<r&&c.length<u;){var f=d[h],b=e?e(f):f;if(f=n||0!==f?f:0,!(p?De(p,b):i(c,b,n))){for(a=o;--a;){var m=s[a];if(!(m?De(m,b):i(t[a],b,n)))continue t}p&&p.push(b),c.push(f)}}return c}function _l(t,e,n){var l=null==(t=fr(t,e=oi(e,t)))?t:t[Sr(Yr(e))];return null==l?void 0:ne(l,t,n)}function yl(t){return Vo(t)&&pl(t)==a}function Al(t,e,n,l,i){return t===e||(null==t||null==e||!Vo(t)&&!Vo(e)?t!=t&&e!=e:function(t,e,n,l,i,r){var o=Lo(t),h=Lo(e),p=o?s:er(t),v=h?s:er(e),P=(p=p==a?m:p)==m,x=(v=v==a?m:v)==m,S=p==v;if(S&&No(t)){if(!No(e))return!1;o=!0,P=!1}if(S&&!P)return r||(r=new Fn),o||Zo(t)?zi(t,e,n,l,i,r):function(t,e,n,l,i,r,o){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new Yt(t),new Yt(e)));case u:case c:case b:return Do(+t,+e);case d:return t.name==e.name&&t.message==e.message;case g:case y:return t==e+"";case f:var a=Ne;case _:if(a||(a=Be),t.size!=e.size&&!(1&l))return!1;var s=o.get(t);if(s)return s==e;l|=2,o.set(t,e);var h=zi(a(t),a(e),l,i,r,o);return o.delete(t),h;case A:if(Sn)return Sn.call(t)==Sn.call(e)}return!1}(t,e,p,n,l,i,r);if(!(1&n)){var k=P&&Ct.call(t,"__wrapped__"),M=x&&Ct.call(e,"__wrapped__");if(k||M){var O=k?t.value():t,D=M?e.value():e;return r||(r=new Fn),i(O,D,n,l,r)}}return!!S&&(r||(r=new Fn),function(t,e,n,l,i,r){var o=1&n,a=Hi(t),s=a.length;if(s!=Hi(e).length&&!o)return!1;for(var u=s;u--;){var c=a[u];if(!(o?c in e:Ct.call(e,c)))return!1}var d=r.get(t),h=r.get(e);if(d&&h)return d==e&&h==t;var p=!0;r.set(t,e),r.set(e,t);for(var f=o;++u<s;){var b=t[c=a[u]],m=e[c];if(l)var g=o?l(m,b,c,e,t,r):l(b,m,c,t,e,r);if(!(void 0===g?b===m||i(b,m,n,l,r):g)){p=!1;break}f||(f="constructor"==c)}if(p&&!f){var _=t.constructor,y=e.constructor;_==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(p=!1)}return r.delete(t),r.delete(e),p}(t,e,n,l,i,r))}(t,e,n,l,Al,i))}function vl(t,e,n,l){var i=n.length,r=i,o=!l;if(null==t)return!r;for(t=ft(t);i--;){var a=n[i];if(o&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<r;){var s=(a=n[i])[0],u=t[s],c=a[1];if(o&&a[2]){if(void 0===u&&!(s in t))return!1}else{var d=new Fn;if(l)var h=l(u,c,s,t,e,d);if(!(void 0===h?Al(c,u,3,l,d):h))return!1}}return!0}function Cl(t){return!(!Ho(t)||(e=t,Pt&&Pt in e))&&(Bo(t)?Mt:rt).test(kr(t));var e}function wl(t){return"function"==typeof t?t:null==t?Wa:"object"==typeof t?Lo(t)?Ml(t[0],t[1]):kl(t):ns(t)}function Pl(t){if(!cr(t))return rn(t);var e=[];for(var n in ft(t))Ct.call(t,n)&&"constructor"!=n&&e.push(n);return e}function xl(t,e){return t<e}function Sl(t,e){var n=-1,i=Ro(t)?l(t.length):[];return tl(t,(function(t,l,r){i[++n]=e(t,l,r)})),i}function kl(t){var e=Ji(t);return 1==e.length&&e[0][2]?hr(e[0][0],e[0][1]):function(n){return n===t||vl(n,t,e)}}function Ml(t,e){return ar(t)&&dr(e)?hr(Sr(t),e):function(n){var l=ma(n,t);return void 0===l&&l===e?ga(n,t):Al(e,l,3)}}function Ol(t,e,n,l,i){t!==e&&ol(e,(function(r,o){if(i||(i=new Fn),Ho(r))!function(t,e,n,l,i,r,o){var a=mr(t,n),s=mr(e,n),u=o.get(s);if(u)zn(t,n,u);else{var c=r?r(a,s,n+"",t,e,o):void 0,d=void 0===c;if(d){var h=Lo(s),p=!h&&No(s),f=!h&&!p&&Zo(s);c=s,h||p||f?Lo(a)?c=a:Fo(a)?c=mi(a):p?(d=!1,c=ci(s,!0)):f?(d=!1,c=hi(s,!0)):c=[]:$o(s)||Io(s)?(c=a,Io(a)?c=aa(a):Ho(a)&&!Bo(a)||(c=lr(s))):d=!1}d&&(o.set(s,c),i(c,s,l,r,o),o.delete(s)),zn(t,n,c)}}(t,e,o,n,Ol,l,i);else{var a=l?l(mr(t,o),r,o+"",t,e,i):void 0;void 0===a&&(a=r),zn(t,o,a)}}),Ca)}function Dl(t,e){var n=t.length;if(n)return rr(e+=e<0?n:0,n)?t[e]:void 0}function Tl(t,e,n){e=e.length?ce(e,(function(t){return Lo(t)?function(e){return dl(e,1===t.length?t[0]:t)}:t})):[Wa];var l=-1;return e=ce(e,Me(Xi())),function(t,e){var l=t.length;for(t.sort((function(t,e){return function(t,e,n){for(var l=-1,i=t.criteria,r=e.criteria,o=i.length,a=n.length;++l<o;){var s=pi(i[l],r[l]);if(s)return l>=a?s:s*("desc"==n[l]?-1:1)}return t.index-e.index}(t,e,n)}));l--;)t[l]=t[l].value;return t}(Sl(t,(function(t,n,i){return{criteria:ce(e,(function(e){return e(t)})),index:++l,value:t}})))}function El(t,e,n){for(var l=-1,i=e.length,r={};++l<i;){var o=e[l],a=dl(t,o);n(a,o)&&Ul(r,oi(o,t),a)}return r}function Il(t,e,n,l){var i=l?ye:_e,r=-1,o=e.length,a=t;for(t===e&&(e=mi(e)),n&&(a=ce(t,Me(n)));++r<o;)for(var s=0,u=e[r],c=n?n(u):u;(s=i(a,c,s,l))>-1;)a!==t&&$t.call(a,s,1),$t.call(t,s,1);return t}function Ll(t,e){for(var n=t?e.length:0,l=n-1;n--;){var i=e[n];if(n==l||i!==r){var r=i;rr(i)?$t.call(t,i,1):Ql(t,i)}}return t}function jl(t,e){return t+Ze(cn()*(e-t+1))}function Rl(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Ze(e/2))&&(t+=t)}while(e);return n}function Fl(t,e){return yr(pr(t,e,Wa),t+"")}function Nl(t){return Yn(Da(t))}function Yl(t,e){var n=Da(t);return Cr(n,Xn(e,0,n.length))}function Ul(t,e,n,l){if(!Ho(t))return t;for(var i=-1,r=(e=oi(e,t)).length,o=r-1,a=t;null!=a&&++i<r;){var s=Sr(e[i]),u=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return t;if(i!=o){var c=a[s];void 0===(u=l?l(c,s,a):void 0)&&(u=Ho(c)?c:rr(e[i+1])?[]:{})}Gn(a,s,u),a=a[s]}return t}var Bl=_n?function(t,e){return _n.set(t,e),t}:Wa,zl=$e?function(t,e){return $e(t,"toString",{configurable:!0,enumerable:!1,value:Ha(e),writable:!0})}:Wa;function Gl(t){return Cr(Da(t))}function Hl(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=l(r);++i<r;)o[i]=t[i+e];return o}function Vl(t,e){var n;return tl(t,(function(t,l,i){return!(n=e(t,l,i))})),!!n}function ql(t,e,n){var l=0,i=null==t?l:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;l<i;){var r=l+i>>>1,o=t[r];null!==o&&!Qo(o)&&(n?o<=e:o<e)?l=r+1:i=r}return i}return Wl(t,e,Wa,n)}function Wl(t,e,n,l){var i=0,r=null==t?0:t.length;if(0===r)return 0;for(var o=(e=n(e))!=e,a=null===e,s=Qo(e),u=void 0===e;i<r;){var c=Ze((i+r)/2),d=n(t[c]),h=void 0!==d,p=null===d,f=d==d,b=Qo(d);if(o)var m=l||f;else m=u?f&&(l||h):a?f&&h&&(l||!p):s?f&&h&&!p&&(l||!b):!p&&!b&&(l?d<=e:d<e);m?i=c+1:r=c}return an(r,4294967294)}function $l(t,e){for(var n=-1,l=t.length,i=0,r=[];++n<l;){var o=t[n],a=e?e(o):o;if(!n||!Do(a,s)){var s=a;r[i++]=0===o?0:o}}return r}function Xl(t){return"number"==typeof t?t:Qo(t)?NaN:+t}function Kl(t){if("string"==typeof t)return t;if(Lo(t))return ce(t,Kl)+"";if(Qo(t))return kn?kn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Jl(t,e,n){var l=-1,i=se,r=t.length,o=!0,a=[],s=a;if(n)o=!1,i=ue;else if(r>=200){var u=e?null:Ri(t);if(u)return Be(u);o=!1,i=De,s=new Rn}else s=e?[]:a;t:for(;++l<r;){var c=t[l],d=e?e(c):c;if(c=n||0!==c?c:0,o&&d==d){for(var h=s.length;h--;)if(s[h]===d)continue t;e&&s.push(d),a.push(c)}else i(s,d,n)||(s!==a&&s.push(d),a.push(c))}return a}function Ql(t,e){return null==(t=fr(t,e=oi(e,t)))||delete t[Sr(Yr(e))]}function Zl(t,e,n,l){return Ul(t,e,n(dl(t,e)),l)}function ti(t,e,n,l){for(var i=t.length,r=l?i:-1;(l?r--:++r<i)&&e(t[r],r,t););return n?Hl(t,l?0:r,l?r+1:i):Hl(t,l?r+1:0,l?i:r)}function ei(t,e){var n=t;return n instanceof En&&(n=n.value()),he(e,(function(t,e){return e.func.apply(e.thisArg,de([t],e.args))}),n)}function ni(t,e,n){var i=t.length;if(i<2)return i?Jl(t[0]):[];for(var r=-1,o=l(i);++r<i;)for(var a=t[r],s=-1;++s<i;)s!=r&&(o[r]=Zn(o[r]||a,t[s],e,n));return Jl(rl(o,1),e,n)}function li(t,e,n){for(var l=-1,i=t.length,r=e.length,o={};++l<i;)n(o,t[l],l<r?e[l]:void 0);return o}function ii(t){return Fo(t)?t:[]}function ri(t){return"function"==typeof t?t:Wa}function oi(t,e){return Lo(t)?t:ar(t,e)?[t]:xr(sa(t))}var ai=Fl;function si(t,e,n){var l=t.length;return n=void 0===n?l:n,!e&&n>=l?t:Hl(t,e,n)}var ui=Xe||function(t){return Ht.clearTimeout(t)};function ci(t,e){if(e)return t.slice();var n=t.length,l=zt?zt(n):new t.constructor(n);return t.copy(l),l}function di(t){var e=new t.constructor(t.byteLength);return new Yt(e).set(new Yt(t)),e}function hi(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function pi(t,e){if(t!==e){var n=void 0!==t,l=null===t,i=t==t,r=Qo(t),o=void 0!==e,a=null===e,s=e==e,u=Qo(e);if(!a&&!u&&!r&&t>e||r&&o&&s&&!a&&!u||l&&o&&s||!n&&s||!i)return 1;if(!l&&!r&&!u&&t<e||u&&n&&i&&!l&&!r||a&&n&&i||!o&&i||!s)return-1}return 0}function fi(t,e,n,i){for(var r=-1,o=t.length,a=n.length,s=-1,u=e.length,c=on(o-a,0),d=l(u+c),h=!i;++s<u;)d[s]=e[s];for(;++r<a;)(h||r<o)&&(d[n[r]]=t[r]);for(;c--;)d[s++]=t[r++];return d}function bi(t,e,n,i){for(var r=-1,o=t.length,a=-1,s=n.length,u=-1,c=e.length,d=on(o-s,0),h=l(d+c),p=!i;++r<d;)h[r]=t[r];for(var f=r;++u<c;)h[f+u]=e[u];for(;++a<s;)(p||r<o)&&(h[f+n[a]]=t[r++]);return h}function mi(t,e){var n=-1,i=t.length;for(e||(e=l(i));++n<i;)e[n]=t[n];return e}function gi(t,e,n,l){var i=!n;n||(n={});for(var r=-1,o=e.length;++r<o;){var a=e[r],s=l?l(n[a],t[a],a,n,t):void 0;void 0===s&&(s=t[a]),i?Wn(n,a,s):Gn(n,a,s)}return n}function _i(t,e){return function(n,l){var i=Lo(n)?le:Vn,r=e?e():{};return i(n,t,Xi(l,2),r)}}function yi(t){return Fl((function(e,n){var l=-1,i=n.length,r=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(r=t.length>3&&"function"==typeof r?(i--,r):void 0,o&&or(n[0],n[1],o)&&(r=i<3?void 0:r,i=1),e=ft(e);++l<i;){var a=n[l];a&&t(e,a,l,r)}return e}))}function Ai(t,e){return function(n,l){if(null==n)return n;if(!Ro(n))return t(n,l);for(var i=n.length,r=e?i:-1,o=ft(n);(e?r--:++r<i)&&!1!==l(o[r],r,o););return n}}function vi(t){return function(e,n,l){for(var i=-1,r=ft(e),o=l(e),a=o.length;a--;){var s=o[t?a:++i];if(!1===n(r[s],s,r))break}return e}}function Ci(t){return function(e){var n=Fe(e=sa(e))?He(e):void 0,l=n?n[0]:e.charAt(0),i=n?si(n,1).join(""):e.slice(1);return l[t]()+i}}function wi(t){return function(e){return he(Ba(Ia(e).replace(Ot,"")),t,"")}}function Pi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=On(t.prototype),l=t.apply(n,e);return Ho(l)?l:n}}function xi(t){return function(e,n,l){var i=ft(e);if(!Ro(e)){var r=Xi(n,3);e=va(e),n=function(t){return r(i[t],t,i)}}var o=t(e,n,l);return o>-1?i[r?e[o]:o]:void 0}}function Si(t){return Gi((function(e){var n=e.length,l=n,r=Tn.prototype.thru;for(t&&e.reverse();l--;){var o=e[l];if("function"!=typeof o)throw new gt(i);if(r&&!a&&"wrapper"==Wi(o))var a=new Tn([],!0)}for(l=a?l:n;++l<n;){var s=Wi(o=e[l]),u="wrapper"==s?qi(o):void 0;a=u&&sr(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?a[Wi(u[0])].apply(a,u[3]):1==o.length&&sr(o)?a[s]():a.thru(o)}return function(){var t=arguments,l=t[0];if(a&&1==t.length&&Lo(l))return a.plant(l).value();for(var i=0,r=n?e[i].apply(this,t):l;++i<n;)r=e[i].call(this,r);return r}}))}function ki(t,e,n,i,r,o,a,s,u,c){var d=128&e,h=1&e,p=2&e,f=24&e,b=512&e,m=p?void 0:Pi(t);return function g(){for(var _=arguments.length,y=l(_),A=_;A--;)y[A]=arguments[A];if(f)var v=$i(g),C=Ie(y,v);if(i&&(y=fi(y,i,r,f)),o&&(y=bi(y,o,a,f)),_-=C,f&&_<c){var w=Ue(y,v);return Li(t,e,ki,g.placeholder,n,y,w,s,u,c-_)}var P=h?n:this,x=p?P[t]:t;return _=y.length,s?y=br(y,s):b&&_>1&&y.reverse(),d&&u<_&&(y.length=u),this&&this!==Ht&&this instanceof g&&(x=m||Pi(x)),x.apply(P,y)}}function Mi(t,e){return function(n,l){return function(t,e,n,l){return sl(t,(function(t,i,r){e(l,n(t),i,r)})),l}(n,t,e(l),{})}}function Oi(t,e){return function(n,l){var i;if(void 0===n&&void 0===l)return e;if(void 0!==n&&(i=n),void 0!==l){if(void 0===i)return l;"string"==typeof n||"string"==typeof l?(n=Kl(n),l=Kl(l)):(n=Xl(n),l=Xl(l)),i=t(n,l)}return i}}function Di(t){return Gi((function(e){return e=ce(e,Me(Xi())),Fl((function(n){var l=this;return t(e,(function(t){return ne(t,l,n)}))}))}))}function Ti(t,e){var n=(e=void 0===e?" ":Kl(e)).length;if(n<2)return n?Rl(e,t):e;var l=Rl(e,Qe(t/Ge(e)));return Fe(e)?si(He(l),0,t).join(""):l.slice(0,t)}function Ei(t){return function(e,n,i){return i&&"number"!=typeof i&&or(e,n,i)&&(n=i=void 0),e=la(e),void 0===n?(n=e,e=0):n=la(n),function(t,e,n,i){for(var r=-1,o=on(Qe((e-t)/(n||1)),0),a=l(o);o--;)a[i?o:++r]=t,t+=n;return a}(e,n,i=void 0===i?e<n?1:-1:la(i),t)}}function Ii(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=oa(e),n=oa(n)),t(e,n)}}function Li(t,e,n,l,i,r,o,a,s,u){var c=8&e;e|=c?32:64,4&(e&=~(c?64:32))||(e&=-4);var d=[t,e,i,c?r:void 0,c?o:void 0,c?void 0:r,c?void 0:o,a,s,u],h=n.apply(void 0,d);return sr(t)&&gr(h,d),h.placeholder=l,Ar(h,t,e)}function ji(t){var e=pt[t];return function(t,n){if(t=oa(t),(n=null==n?0:an(ia(n),292))&&nn(t)){var l=(sa(t)+"e").split("e");return+((l=(sa(e(l[0]+"e"+(+l[1]+n)))+"e").split("e"))[0]+"e"+(+l[1]-n))}return e(t)}}var Ri=bn&&1/Be(new bn([,-0]))[1]==1/0?function(t){return new bn(t)}:Qa;function Fi(t){return function(e){var n=er(e);return n==f?Ne(e):n==_?ze(e):function(t,e){return ce(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Ni(t,e,n,o,a,s,u,c){var d=2&e;if(!d&&"function"!=typeof t)throw new gt(i);var h=o?o.length:0;if(h||(e&=-97,o=a=void 0),u=void 0===u?u:on(ia(u),0),c=void 0===c?c:ia(c),h-=a?a.length:0,64&e){var p=o,f=a;o=a=void 0}var b=d?void 0:qi(t),m=[t,e,n,o,a,p,f,s,u,c];if(b&&function(t,e){var n=t[1],l=e[1],i=n|l;if(!(i<131||128==l&&8==n||128==l&&256==n&&t[7].length<=e[8]||384==l&&e[7].length<=e[8]&&8==n))return t;1&l&&(t[2]=e[2],i|=1&n?0:4);var o=e[3];if(o){var a=t[3];t[3]=a?fi(a,o,e[4]):o,t[4]=a?Ue(t[3],r):e[4]}(o=e[5])&&(t[5]=(a=t[5])?bi(a,o,e[6]):o,t[6]=a?Ue(t[5],r):e[6]),(o=e[7])&&(t[7]=o),128&l&&(t[8]=null==t[8]?e[8]:an(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(m,b),t=m[0],e=m[1],n=m[2],o=m[3],a=m[4],!(c=m[9]=void 0===m[9]?d?0:t.length:on(m[9]-h,0))&&24&e&&(e&=-25),e&&1!=e)g=8==e||16==e?function(t,e,n){var i=Pi(t);return function r(){for(var o=arguments.length,a=l(o),s=o,u=$i(r);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==u&&a[o-1]!==u?[]:Ue(a,u);if((o-=c.length)<n)return Li(t,e,ki,r.placeholder,void 0,a,c,void 0,void 0,n-o);var d=this&&this!==Ht&&this instanceof r?i:t;return ne(d,this,a)}}(t,e,c):32!=e&&33!=e||a.length?ki.apply(void 0,m):function(t,e,n,i){var r=1&e,o=Pi(t);return function e(){for(var a=-1,s=arguments.length,u=-1,c=i.length,d=l(c+s),h=this&&this!==Ht&&this instanceof e?o:t;++u<c;)d[u]=i[u];for(;s--;)d[u++]=arguments[++a];return ne(h,r?n:this,d)}}(t,e,n,o);else var g=function(t,e,n){var l=1&e,i=Pi(t);return function e(){var r=this&&this!==Ht&&this instanceof e?i:t;return r.apply(l?n:this,arguments)}}(t,e,n);return Ar((b?Bl:gr)(g,m),t,e)}function Yi(t,e,n,l){return void 0===t||Do(t,yt[n])&&!Ct.call(l,n)?e:t}function Ui(t,e,n,l,i,r){return Ho(t)&&Ho(e)&&(r.set(e,t),Ol(t,e,void 0,Ui,r),r.delete(e)),t}function Bi(t){return $o(t)?void 0:t}function zi(t,e,n,l,i,r){var o=1&n,a=t.length,s=e.length;if(a!=s&&!(o&&s>a))return!1;var u=r.get(t),c=r.get(e);if(u&&c)return u==e&&c==t;var d=-1,h=!0,p=2&n?new Rn:void 0;for(r.set(t,e),r.set(e,t);++d<a;){var f=t[d],b=e[d];if(l)var m=o?l(b,f,d,e,t,r):l(f,b,d,t,e,r);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!fe(e,(function(t,e){if(!De(p,e)&&(f===t||i(f,t,n,l,r)))return p.push(e)}))){h=!1;break}}else if(f!==b&&!i(f,b,n,l,r)){h=!1;break}}return r.delete(t),r.delete(e),h}function Gi(t){return yr(pr(t,void 0,Lr),t+"")}function Hi(t){return hl(t,va,Zi)}function Vi(t){return hl(t,Ca,tr)}var qi=_n?function(t){return _n.get(t)}:Qa;function Wi(t){for(var e=t.name+"",n=yn[e],l=Ct.call(yn,e)?n.length:0;l--;){var i=n[l],r=i.func;if(null==r||r==t)return i.name}return e}function $i(t){return(Ct.call(Mn,"placeholder")?Mn:t).placeholder}function Xi(){var t=Mn.iteratee||$a;return t=t===$a?wl:t,arguments.length?t(arguments[0],arguments[1]):t}function Ki(t,e){var n,l,i=t.__data__;return("string"==(l=typeof(n=e))||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ji(t){for(var e=va(t),n=e.length;n--;){var l=e[n],i=t[l];e[n]=[l,i,dr(i)]}return e}function Qi(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Cl(n)?n:void 0}var Zi=tn?function(t){return null==t?[]:(t=ft(t),ae(tn(t),(function(e){return qt.call(t,e)})))}:rs,tr=tn?function(t){for(var e=[];t;)de(e,Zi(t)),t=Gt(t);return e}:rs,er=pl;function nr(t,e,n){for(var l=-1,i=(e=oi(e,t)).length,r=!1;++l<i;){var o=Sr(e[l]);if(!(r=null!=t&&n(t,o)))break;t=t[o]}return r||++l!=i?r:!!(i=null==t?0:t.length)&&Go(i)&&rr(o,i)&&(Lo(t)||Io(t))}function lr(t){return"function"!=typeof t.constructor||cr(t)?{}:On(Gt(t))}function ir(t){return Lo(t)||Io(t)||!!(Xt&&t&&t[Xt])}function rr(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&at.test(t))&&t>-1&&t%1==0&&t<e}function or(t,e,n){if(!Ho(n))return!1;var l=typeof e;return!!("number"==l?Ro(n)&&rr(e,n.length):"string"==l&&e in n)&&Do(n[e],t)}function ar(t,e){if(Lo(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Qo(t))||G.test(t)||!z.test(t)||null!=e&&t in ft(e)}function sr(t){var e=Wi(t),n=Mn[e];if("function"!=typeof n||!(e in En.prototype))return!1;if(t===n)return!0;var l=qi(n);return!!l&&t===l[0]}(hn&&er(new hn(new ArrayBuffer(1)))!=w||pn&&er(new pn)!=f||fn&&"[object Promise]"!=er(fn.resolve())||bn&&er(new bn)!=_||mn&&er(new mn)!=v)&&(er=function(t){var e=pl(t),n=e==m?t.constructor:void 0,l=n?kr(n):"";if(l)switch(l){case An:return w;case vn:return f;case Cn:return"[object Promise]";case wn:return _;case Pn:return v}return e});var ur=At?Bo:os;function cr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||yt)}function dr(t){return t==t&&!Ho(t)}function hr(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in ft(n))}}function pr(t,e,n){return e=on(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=on(i.length-e,0),a=l(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=l(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),ne(t,this,s)}}function fr(t,e){return e.length<2?t:dl(t,Hl(e,0,-1))}function br(t,e){for(var n=t.length,l=an(e.length,n),i=mi(t);l--;){var r=e[l];t[l]=rr(r,n)?i[r]:void 0}return t}function mr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var gr=vr(Bl),_r=Je||function(t,e){return Ht.setTimeout(t,e)},yr=vr(zl);function Ar(t,e,n){var l=e+"";return yr(t,function(t,e){var n=e.length;if(!n)return t;var l=n-1;return e[l]=(n>1?"& ":"")+e[l],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(l,function(t,e){return ie(o,(function(n){var l="_."+n[0];e&n[1]&&!se(t,l)&&t.push(l)})),t.sort()}(function(t){var e=t.match(K);return e?e[1].split(J):[]}(l),n)))}function vr(t){var e=0,n=0;return function(){var l=sn(),i=16-(l-n);if(n=l,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Cr(t,e){var n=-1,l=t.length,i=l-1;for(e=void 0===e?l:e;++n<e;){var r=jl(n,i),o=t[r];t[r]=t[n],t[n]=o}return t.length=e,t}var wr,Pr,xr=(wr=Po((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(H,(function(t,n,l,i){e.push(l?i.replace(tt,"$1"):n||t)})),e}),(function(t){return 500===Pr.size&&Pr.clear(),t})),Pr=wr.cache,wr);function Sr(t){if("string"==typeof t||Qo(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function kr(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Mr(t){if(t instanceof En)return t.clone();var e=new Tn(t.__wrapped__,t.__chain__);return e.__actions__=mi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Or=Fl((function(t,e){return Fo(t)?Zn(t,rl(e,1,Fo,!0)):[]})),Dr=Fl((function(t,e){var n=Yr(e);return Fo(n)&&(n=void 0),Fo(t)?Zn(t,rl(e,1,Fo,!0),Xi(n,2)):[]})),Tr=Fl((function(t,e){var n=Yr(e);return Fo(n)&&(n=void 0),Fo(t)?Zn(t,rl(e,1,Fo,!0),void 0,n):[]}));function Er(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=null==n?0:ia(n);return i<0&&(i=on(l+i,0)),ge(t,Xi(e,3),i)}function Ir(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=l-1;return void 0!==n&&(i=ia(n),i=n<0?on(l+i,0):an(i,l-1)),ge(t,Xi(e,3),i,!0)}function Lr(t){return null!=t&&t.length?rl(t,1):[]}function jr(t){return t&&t.length?t[0]:void 0}var Rr=Fl((function(t){var e=ce(t,ii);return e.length&&e[0]===t[0]?gl(e):[]})),Fr=Fl((function(t){var e=Yr(t),n=ce(t,ii);return e===Yr(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?gl(n,Xi(e,2)):[]})),Nr=Fl((function(t){var e=Yr(t),n=ce(t,ii);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?gl(n,void 0,e):[]}));function Yr(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Ur=Fl(Br);function Br(t,e){return t&&t.length&&e&&e.length?Il(t,e):t}var zr=Gi((function(t,e){var n=null==t?0:t.length,l=$n(t,e);return Ll(t,ce(e,(function(t){return rr(t,n)?+t:t})).sort(pi)),l}));function Gr(t){return null==t?t:dn.call(t)}var Hr=Fl((function(t){return Jl(rl(t,1,Fo,!0))})),Vr=Fl((function(t){var e=Yr(t);return Fo(e)&&(e=void 0),Jl(rl(t,1,Fo,!0),Xi(e,2))})),qr=Fl((function(t){var e=Yr(t);return e="function"==typeof e?e:void 0,Jl(rl(t,1,Fo,!0),void 0,e)}));function Wr(t){if(!t||!t.length)return[];var e=0;return t=ae(t,(function(t){if(Fo(t))return e=on(t.length,e),!0})),Se(e,(function(e){return ce(t,Ce(e))}))}function $r(t,e){if(!t||!t.length)return[];var n=Wr(t);return null==e?n:ce(n,(function(t){return ne(e,void 0,t)}))}var Xr=Fl((function(t,e){return Fo(t)?Zn(t,e):[]})),Kr=Fl((function(t){return ni(ae(t,Fo))})),Jr=Fl((function(t){var e=Yr(t);return Fo(e)&&(e=void 0),ni(ae(t,Fo),Xi(e,2))})),Qr=Fl((function(t){var e=Yr(t);return e="function"==typeof e?e:void 0,ni(ae(t,Fo),void 0,e)})),Zr=Fl(Wr),to=Fl((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,$r(t,n)}));function eo(t){var e=Mn(t);return e.__chain__=!0,e}function no(t,e){return e(t)}var lo=Gi((function(t){var e=t.length,n=e?t[0]:0,l=this.__wrapped__,i=function(e){return $n(e,t)};return!(e>1||this.__actions__.length)&&l instanceof En&&rr(n)?((l=l.slice(n,+n+(e?1:0))).__actions__.push({func:no,args:[i],thisArg:void 0}),new Tn(l,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)})),io=_i((function(t,e,n){Ct.call(t,n)?++t[n]:Wn(t,n,1)})),ro=xi(Er),oo=xi(Ir);function ao(t,e){return(Lo(t)?ie:tl)(t,Xi(e,3))}function so(t,e){return(Lo(t)?re:el)(t,Xi(e,3))}var uo=_i((function(t,e,n){Ct.call(t,n)?t[n].push(e):Wn(t,n,[e])})),co=Fl((function(t,e,n){var i=-1,r="function"==typeof e,o=Ro(t)?l(t.length):[];return tl(t,(function(t){o[++i]=r?ne(e,t,n):_l(t,e,n)})),o})),ho=_i((function(t,e,n){Wn(t,n,e)}));function po(t,e){return(Lo(t)?ce:Sl)(t,Xi(e,3))}var fo=_i((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),bo=Fl((function(t,e){if(null==t)return[];var n=e.length;return n>1&&or(t,e[0],e[1])?e=[]:n>2&&or(e[0],e[1],e[2])&&(e=[e[0]]),Tl(t,rl(e,1),[])})),mo=Ke||function(){return Ht.Date.now()};function go(t,e,n){return e=n?void 0:e,Ni(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function _o(t,e){var n;if("function"!=typeof e)throw new gt(i);return t=ia(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var yo=Fl((function(t,e,n){var l=1;if(n.length){var i=Ue(n,$i(yo));l|=32}return Ni(t,l,e,n,i)})),Ao=Fl((function(t,e,n){var l=3;if(n.length){var i=Ue(n,$i(Ao));l|=32}return Ni(e,l,t,n,i)}));function vo(t,e,n){var l,r,o,a,s,u,c=0,d=!1,h=!1,p=!0;if("function"!=typeof t)throw new gt(i);function f(e){var n=l,i=r;return l=r=void 0,c=e,a=t.apply(i,n)}function b(t){return c=t,s=_r(g,e),d?f(t):a}function m(t){var n=t-u;return void 0===u||n>=e||n<0||h&&t-c>=o}function g(){var t=mo();if(m(t))return _(t);s=_r(g,function(t){var n=e-(t-u);return h?an(n,o-(t-c)):n}(t))}function _(t){return s=void 0,p&&l?f(t):(l=r=void 0,a)}function y(){var t=mo(),n=m(t);if(l=arguments,r=this,u=t,n){if(void 0===s)return b(u);if(h)return ui(s),s=_r(g,e),f(u)}return void 0===s&&(s=_r(g,e)),a}return e=oa(e)||0,Ho(n)&&(d=!!n.leading,o=(h="maxWait"in n)?on(oa(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&ui(s),c=0,l=u=r=s=void 0},y.flush=function(){return void 0===s?a:_(mo())},y}var Co=Fl((function(t,e){return Qn(t,1,e)})),wo=Fl((function(t,e,n){return Qn(t,oa(e)||0,n)}));function Po(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new gt(i);var n=function(){var l=arguments,i=e?e.apply(this,l):l[0],r=n.cache;if(r.has(i))return r.get(i);var o=t.apply(this,l);return n.cache=r.set(i,o)||r,o};return n.cache=new(Po.Cache||jn),n}function xo(t){if("function"!=typeof t)throw new gt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Po.Cache=jn;var So=ai((function(t,e){var n=(e=1==e.length&&Lo(e[0])?ce(e[0],Me(Xi())):ce(rl(e,1),Me(Xi()))).length;return Fl((function(l){for(var i=-1,r=an(l.length,n);++i<r;)l[i]=e[i].call(this,l[i]);return ne(t,this,l)}))})),ko=Fl((function(t,e){return Ni(t,32,void 0,e,Ue(e,$i(ko)))})),Mo=Fl((function(t,e){return Ni(t,64,void 0,e,Ue(e,$i(Mo)))})),Oo=Gi((function(t,e){return Ni(t,256,void 0,void 0,void 0,e)}));function Do(t,e){return t===e||t!=t&&e!=e}var To=Ii(fl),Eo=Ii((function(t,e){return t>=e})),Io=yl(function(){return arguments}())?yl:function(t){return Vo(t)&&Ct.call(t,"callee")&&!qt.call(t,"callee")},Lo=l.isArray,jo=Kt?Me(Kt):function(t){return Vo(t)&&pl(t)==C};function Ro(t){return null!=t&&Go(t.length)&&!Bo(t)}function Fo(t){return Vo(t)&&Ro(t)}var No=en||os,Yo=Jt?Me(Jt):function(t){return Vo(t)&&pl(t)==c};function Uo(t){if(!Vo(t))return!1;var e=pl(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!$o(t)}function Bo(t){if(!Ho(t))return!1;var e=pl(t);return e==h||e==p||"[object AsyncFunction]"==e||"[object Proxy]"==e}function zo(t){return"number"==typeof t&&t==ia(t)}function Go(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ho(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Vo(t){return null!=t&&"object"==typeof t}var qo=Qt?Me(Qt):function(t){return Vo(t)&&er(t)==f};function Wo(t){return"number"==typeof t||Vo(t)&&pl(t)==b}function $o(t){if(!Vo(t)||pl(t)!=m)return!1;var e=Gt(t);if(null===e)return!0;var n=Ct.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&vt.call(n)==St}var Xo=Zt?Me(Zt):function(t){return Vo(t)&&pl(t)==g},Ko=te?Me(te):function(t){return Vo(t)&&er(t)==_};function Jo(t){return"string"==typeof t||!Lo(t)&&Vo(t)&&pl(t)==y}function Qo(t){return"symbol"==typeof t||Vo(t)&&pl(t)==A}var Zo=ee?Me(ee):function(t){return Vo(t)&&Go(t.length)&&!!Ft[pl(t)]},ta=Ii(xl),ea=Ii((function(t,e){return t<=e}));function na(t){if(!t)return[];if(Ro(t))return Jo(t)?He(t):mi(t);if(be&&t[be])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[be]());var e=er(t);return(e==f?Ne:e==_?Be:Da)(t)}function la(t){return t?(t=oa(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var e=la(t),n=e%1;return e==e?n?e-n:e:0}function ra(t){return t?Xn(ia(t),0,4294967295):0}function oa(t){if("number"==typeof t)return t;if(Qo(t))return NaN;if(Ho(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ho(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=ke(t);var n=it.test(t);return n||ot.test(t)?Bt(t.slice(2),n?2:8):lt.test(t)?NaN:+t}function aa(t){return gi(t,Ca(t))}function sa(t){return null==t?"":Kl(t)}var ua=yi((function(t,e){if(cr(e)||Ro(e))gi(e,va(e),t);else for(var n in e)Ct.call(e,n)&&Gn(t,n,e[n])})),ca=yi((function(t,e){gi(e,Ca(e),t)})),da=yi((function(t,e,n,l){gi(e,Ca(e),t,l)})),ha=yi((function(t,e,n,l){gi(e,va(e),t,l)})),pa=Gi($n),fa=Fl((function(t,e){t=ft(t);var n=-1,l=e.length,i=l>2?e[2]:void 0;for(i&&or(e[0],e[1],i)&&(l=1);++n<l;)for(var r=e[n],o=Ca(r),a=-1,s=o.length;++a<s;){var u=o[a],c=t[u];(void 0===c||Do(c,yt[u])&&!Ct.call(t,u))&&(t[u]=r[u])}return t})),ba=Fl((function(t){return t.push(void 0,Ui),ne(Pa,void 0,t)}));function ma(t,e,n){var l=null==t?void 0:dl(t,e);return void 0===l?n:l}function ga(t,e){return null!=t&&nr(t,e,ml)}var _a=Mi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=xt.call(e)),t[e]=n}),Ha(Wa)),ya=Mi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=xt.call(e)),Ct.call(t,e)?t[e].push(n):t[e]=[n]}),Xi),Aa=Fl(_l);function va(t){return Ro(t)?Nn(t):Pl(t)}function Ca(t){return Ro(t)?Nn(t,!0):function(t){if(!Ho(t))return function(t){var e=[];if(null!=t)for(var n in ft(t))e.push(n);return e}(t);var e=cr(t),n=[];for(var l in t)("constructor"!=l||!e&&Ct.call(t,l))&&n.push(l);return n}(t)}var wa=yi((function(t,e,n){Ol(t,e,n)})),Pa=yi((function(t,e,n,l){Ol(t,e,n,l)})),xa=Gi((function(t,e){var n={};if(null==t)return n;var l=!1;e=ce(e,(function(e){return e=oi(e,t),l||(l=e.length>1),e})),gi(t,Vi(t),n),l&&(n=Kn(n,7,Bi));for(var i=e.length;i--;)Ql(n,e[i]);return n})),Sa=Gi((function(t,e){return null==t?{}:function(t,e){return El(t,e,(function(e,n){return ga(t,n)}))}(t,e)}));function ka(t,e){if(null==t)return{};var n=ce(Vi(t),(function(t){return[t]}));return e=Xi(e),El(t,n,(function(t,n){return e(t,n[0])}))}var Ma=Fi(va),Oa=Fi(Ca);function Da(t){return null==t?[]:Oe(t,va(t))}var Ta=wi((function(t,e,n){return e=e.toLowerCase(),t+(n?Ea(e):e)}));function Ea(t){return Ua(sa(t).toLowerCase())}function Ia(t){return(t=sa(t))&&t.replace(st,Le).replace(Dt,"")}var La=wi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),ja=wi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ra=Ci("toLowerCase"),Fa=wi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Na=wi((function(t,e,n){return t+(n?" ":"")+Ua(e)})),Ya=wi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ua=Ci("toUpperCase");function Ba(t,e,n){return t=sa(t),void 0===(e=n?void 0:e)?function(t){return Lt.test(t)}(t)?function(t){return t.match(Et)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var za=Fl((function(t,e){try{return ne(t,void 0,e)}catch(n){return Uo(n)?n:new dt(n)}})),Ga=Gi((function(t,e){return ie(e,(function(e){e=Sr(e),Wn(t,e,yo(t[e],t))})),t}));function Ha(t){return function(){return t}}var Va=Si(),qa=Si(!0);function Wa(t){return t}function $a(t){return wl("function"==typeof t?t:Kn(t,1))}var Xa=Fl((function(t,e){return function(n){return _l(n,t,e)}})),Ka=Fl((function(t,e){return function(n){return _l(t,n,e)}}));function Ja(t,e,n){var l=va(e),i=cl(e,l);null!=n||Ho(e)&&(i.length||!l.length)||(n=e,e=t,t=this,i=cl(e,va(e)));var r=!(Ho(n)&&"chain"in n&&!n.chain),o=Bo(t);return ie(i,(function(n){var l=e[n];t[n]=l,o&&(t.prototype[n]=function(){var e=this.__chain__;if(r||e){var n=t(this.__wrapped__),i=n.__actions__=mi(this.__actions__);return i.push({func:l,args:arguments,thisArg:t}),n.__chain__=e,n}return l.apply(t,de([this.value()],arguments))})})),t}function Qa(){}var Za=Di(ce),ts=Di(oe),es=Di(fe);function ns(t){return ar(t)?Ce(Sr(t)):function(t){return function(e){return dl(e,t)}}(t)}var ls=Ei(),is=Ei(!0);function rs(){return[]}function os(){return!1}var as,ss=Oi((function(t,e){return t+e}),0),us=ji("ceil"),cs=Oi((function(t,e){return t/e}),1),ds=ji("floor"),hs=Oi((function(t,e){return t*e}),1),ps=ji("round"),fs=Oi((function(t,e){return t-e}),0);return Mn.after=function(t,e){if("function"!=typeof e)throw new gt(i);return t=ia(t),function(){if(--t<1)return e.apply(this,arguments)}},Mn.ary=go,Mn.assign=ua,Mn.assignIn=ca,Mn.assignInWith=da,Mn.assignWith=ha,Mn.at=pa,Mn.before=_o,Mn.bind=yo,Mn.bindAll=Ga,Mn.bindKey=Ao,Mn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Lo(t)?t:[t]},Mn.chain=eo,Mn.chunk=function(t,e,n){e=(n?or(t,e,n):void 0===e)?1:on(ia(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var r=0,o=0,a=l(Qe(i/e));r<i;)a[o++]=Hl(t,r,r+=e);return a},Mn.compact=function(t){for(var e=-1,n=null==t?0:t.length,l=0,i=[];++e<n;){var r=t[e];r&&(i[l++]=r)}return i},Mn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=l(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return de(Lo(n)?mi(n):[n],rl(e,1))},Mn.cond=function(t){var e=null==t?0:t.length,n=Xi();return t=e?ce(t,(function(t){if("function"!=typeof t[1])throw new gt(i);return[n(t[0]),t[1]]})):[],Fl((function(n){for(var l=-1;++l<e;){var i=t[l];if(ne(i[0],this,n))return ne(i[1],this,n)}}))},Mn.conforms=function(t){return function(t){var e=va(t);return function(n){return Jn(n,t,e)}}(Kn(t,1))},Mn.constant=Ha,Mn.countBy=io,Mn.create=function(t,e){var n=On(t);return null==e?n:qn(n,e)},Mn.curry=function t(e,n,l){var i=Ni(e,8,void 0,void 0,void 0,void 0,void 0,n=l?void 0:n);return i.placeholder=t.placeholder,i},Mn.curryRight=function t(e,n,l){var i=Ni(e,16,void 0,void 0,void 0,void 0,void 0,n=l?void 0:n);return i.placeholder=t.placeholder,i},Mn.debounce=vo,Mn.defaults=fa,Mn.defaultsDeep=ba,Mn.defer=Co,Mn.delay=wo,Mn.difference=Or,Mn.differenceBy=Dr,Mn.differenceWith=Tr,Mn.drop=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,(e=n||void 0===e?1:ia(e))<0?0:e,l):[]},Mn.dropRight=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,0,(e=l-(e=n||void 0===e?1:ia(e)))<0?0:e):[]},Mn.dropRightWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!0,!0):[]},Mn.dropWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!0):[]},Mn.fill=function(t,e,n,l){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&or(t,e,n)&&(n=0,l=i),function(t,e,n,l){var i=t.length;for((n=ia(n))<0&&(n=-n>i?0:i+n),(l=void 0===l||l>i?i:ia(l))<0&&(l+=i),l=n>l?0:ra(l);n<l;)t[n++]=e;return t}(t,e,n,l)):[]},Mn.filter=function(t,e){return(Lo(t)?ae:il)(t,Xi(e,3))},Mn.flatMap=function(t,e){return rl(po(t,e),1)},Mn.flatMapDeep=function(t,e){return rl(po(t,e),1/0)},Mn.flatMapDepth=function(t,e,n){return n=void 0===n?1:ia(n),rl(po(t,e),n)},Mn.flatten=Lr,Mn.flattenDeep=function(t){return null!=t&&t.length?rl(t,1/0):[]},Mn.flattenDepth=function(t,e){return null!=t&&t.length?rl(t,e=void 0===e?1:ia(e)):[]},Mn.flip=function(t){return Ni(t,512)},Mn.flow=Va,Mn.flowRight=qa,Mn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,l={};++e<n;){var i=t[e];l[i[0]]=i[1]}return l},Mn.functions=function(t){return null==t?[]:cl(t,va(t))},Mn.functionsIn=function(t){return null==t?[]:cl(t,Ca(t))},Mn.groupBy=uo,Mn.initial=function(t){return null!=t&&t.length?Hl(t,0,-1):[]},Mn.intersection=Rr,Mn.intersectionBy=Fr,Mn.intersectionWith=Nr,Mn.invert=_a,Mn.invertBy=ya,Mn.invokeMap=co,Mn.iteratee=$a,Mn.keyBy=ho,Mn.keys=va,Mn.keysIn=Ca,Mn.map=po,Mn.mapKeys=function(t,e){var n={};return e=Xi(e,3),sl(t,(function(t,l,i){Wn(n,e(t,l,i),t)})),n},Mn.mapValues=function(t,e){var n={};return e=Xi(e,3),sl(t,(function(t,l,i){Wn(n,l,e(t,l,i))})),n},Mn.matches=function(t){return kl(Kn(t,1))},Mn.matchesProperty=function(t,e){return Ml(t,Kn(e,1))},Mn.memoize=Po,Mn.merge=wa,Mn.mergeWith=Pa,Mn.method=Xa,Mn.methodOf=Ka,Mn.mixin=Ja,Mn.negate=xo,Mn.nthArg=function(t){return t=ia(t),Fl((function(e){return Dl(e,t)}))},Mn.omit=xa,Mn.omitBy=function(t,e){return ka(t,xo(Xi(e)))},Mn.once=function(t){return _o(2,t)},Mn.orderBy=function(t,e,n,l){return null==t?[]:(Lo(e)||(e=null==e?[]:[e]),Lo(n=l?void 0:n)||(n=null==n?[]:[n]),Tl(t,e,n))},Mn.over=Za,Mn.overArgs=So,Mn.overEvery=ts,Mn.overSome=es,Mn.partial=ko,Mn.partialRight=Mo,Mn.partition=fo,Mn.pick=Sa,Mn.pickBy=ka,Mn.property=ns,Mn.propertyOf=function(t){return function(e){return null==t?void 0:dl(t,e)}},Mn.pull=Ur,Mn.pullAll=Br,Mn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Il(t,e,Xi(n,2)):t},Mn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Il(t,e,void 0,n):t},Mn.pullAt=zr,Mn.range=ls,Mn.rangeRight=is,Mn.rearg=Oo,Mn.reject=function(t,e){return(Lo(t)?ae:il)(t,xo(Xi(e,3)))},Mn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var l=-1,i=[],r=t.length;for(e=Xi(e,3);++l<r;){var o=t[l];e(o,l,t)&&(n.push(o),i.push(l))}return Ll(t,i),n},Mn.rest=function(t,e){if("function"!=typeof t)throw new gt(i);return Fl(t,e=void 0===e?e:ia(e))},Mn.reverse=Gr,Mn.sampleSize=function(t,e,n){return e=(n?or(t,e,n):void 0===e)?1:ia(e),(Lo(t)?Un:Yl)(t,e)},Mn.set=function(t,e,n){return null==t?t:Ul(t,e,n)},Mn.setWith=function(t,e,n,l){return l="function"==typeof l?l:void 0,null==t?t:Ul(t,e,n,l)},Mn.shuffle=function(t){return(Lo(t)?Bn:Gl)(t)},Mn.slice=function(t,e,n){var l=null==t?0:t.length;return l?(n&&"number"!=typeof n&&or(t,e,n)?(e=0,n=l):(e=null==e?0:ia(e),n=void 0===n?l:ia(n)),Hl(t,e,n)):[]},Mn.sortBy=bo,Mn.sortedUniq=function(t){return t&&t.length?$l(t):[]},Mn.sortedUniqBy=function(t,e){return t&&t.length?$l(t,Xi(e,2)):[]},Mn.split=function(t,e,n){return n&&"number"!=typeof n&&or(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=sa(t))&&("string"==typeof e||null!=e&&!Xo(e))&&!(e=Kl(e))&&Fe(t)?si(He(t),0,n):t.split(e,n):[]},Mn.spread=function(t,e){if("function"!=typeof t)throw new gt(i);return e=null==e?0:on(ia(e),0),Fl((function(n){var l=n[e],i=si(n,0,e);return l&&de(i,l),ne(t,this,i)}))},Mn.tail=function(t){var e=null==t?0:t.length;return e?Hl(t,1,e):[]},Mn.take=function(t,e,n){return t&&t.length?Hl(t,0,(e=n||void 0===e?1:ia(e))<0?0:e):[]},Mn.takeRight=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,(e=l-(e=n||void 0===e?1:ia(e)))<0?0:e,l):[]},Mn.takeRightWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!1,!0):[]},Mn.takeWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3)):[]},Mn.tap=function(t,e){return e(t),t},Mn.throttle=function(t,e,n){var l=!0,r=!0;if("function"!=typeof t)throw new gt(i);return Ho(n)&&(l="leading"in n?!!n.leading:l,r="trailing"in n?!!n.trailing:r),vo(t,e,{leading:l,maxWait:e,trailing:r})},Mn.thru=no,Mn.toArray=na,Mn.toPairs=Ma,Mn.toPairsIn=Oa,Mn.toPath=function(t){return Lo(t)?ce(t,Sr):Qo(t)?[t]:mi(xr(sa(t)))},Mn.toPlainObject=aa,Mn.transform=function(t,e,n){var l=Lo(t),i=l||No(t)||Zo(t);if(e=Xi(e,4),null==n){var r=t&&t.constructor;n=i?l?new r:[]:Ho(t)&&Bo(r)?On(Gt(t)):{}}return(i?ie:sl)(t,(function(t,l,i){return e(n,t,l,i)})),n},Mn.unary=function(t){return go(t,1)},Mn.union=Hr,Mn.unionBy=Vr,Mn.unionWith=qr,Mn.uniq=function(t){return t&&t.length?Jl(t):[]},Mn.uniqBy=function(t,e){return t&&t.length?Jl(t,Xi(e,2)):[]},Mn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Jl(t,void 0,e):[]},Mn.unset=function(t,e){return null==t||Ql(t,e)},Mn.unzip=Wr,Mn.unzipWith=$r,Mn.update=function(t,e,n){return null==t?t:Zl(t,e,ri(n))},Mn.updateWith=function(t,e,n,l){return l="function"==typeof l?l:void 0,null==t?t:Zl(t,e,ri(n),l)},Mn.values=Da,Mn.valuesIn=function(t){return null==t?[]:Oe(t,Ca(t))},Mn.without=Xr,Mn.words=Ba,Mn.wrap=function(t,e){return ko(ri(e),t)},Mn.xor=Kr,Mn.xorBy=Jr,Mn.xorWith=Qr,Mn.zip=Zr,Mn.zipObject=function(t,e){return li(t||[],e||[],Gn)},Mn.zipObjectDeep=function(t,e){return li(t||[],e||[],Ul)},Mn.zipWith=to,Mn.entries=Ma,Mn.entriesIn=Oa,Mn.extend=ca,Mn.extendWith=da,Ja(Mn,Mn),Mn.add=ss,Mn.attempt=za,Mn.camelCase=Ta,Mn.capitalize=Ea,Mn.ceil=us,Mn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=oa(n))==n?n:0),void 0!==e&&(e=(e=oa(e))==e?e:0),Xn(oa(t),e,n)},Mn.clone=function(t){return Kn(t,4)},Mn.cloneDeep=function(t){return Kn(t,5)},Mn.cloneDeepWith=function(t,e){return Kn(t,5,e="function"==typeof e?e:void 0)},Mn.cloneWith=function(t,e){return Kn(t,4,e="function"==typeof e?e:void 0)},Mn.conformsTo=function(t,e){return null==e||Jn(t,e,va(e))},Mn.deburr=Ia,Mn.defaultTo=function(t,e){return null==t||t!=t?e:t},Mn.divide=cs,Mn.endsWith=function(t,e,n){t=sa(t),e=Kl(e);var l=t.length,i=n=void 0===n?l:Xn(ia(n),0,l);return(n-=e.length)>=0&&t.slice(n,i)==e},Mn.eq=Do,Mn.escape=function(t){return(t=sa(t))&&N.test(t)?t.replace(R,je):t},Mn.escapeRegExp=function(t){return(t=sa(t))&&q.test(t)?t.replace(V,"\\$&"):t},Mn.every=function(t,e,n){var l=Lo(t)?oe:nl;return n&&or(t,e,n)&&(e=void 0),l(t,Xi(e,3))},Mn.find=ro,Mn.findIndex=Er,Mn.findKey=function(t,e){return me(t,Xi(e,3),sl)},Mn.findLast=oo,Mn.findLastIndex=Ir,Mn.findLastKey=function(t,e){return me(t,Xi(e,3),ul)},Mn.floor=ds,Mn.forEach=ao,Mn.forEachRight=so,Mn.forIn=function(t,e){return null==t?t:ol(t,Xi(e,3),Ca)},Mn.forInRight=function(t,e){return null==t?t:al(t,Xi(e,3),Ca)},Mn.forOwn=function(t,e){return t&&sl(t,Xi(e,3))},Mn.forOwnRight=function(t,e){return t&&ul(t,Xi(e,3))},Mn.get=ma,Mn.gt=To,Mn.gte=Eo,Mn.has=function(t,e){return null!=t&&nr(t,e,bl)},Mn.hasIn=ga,Mn.head=jr,Mn.identity=Wa,Mn.includes=function(t,e,n,l){t=Ro(t)?t:Da(t),n=n&&!l?ia(n):0;var i=t.length;return n<0&&(n=on(i+n,0)),Jo(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&_e(t,e,n)>-1},Mn.indexOf=function(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=null==n?0:ia(n);return i<0&&(i=on(l+i,0)),_e(t,e,i)},Mn.inRange=function(t,e,n){return e=la(e),void 0===n?(n=e,e=0):n=la(n),function(t,e,n){return t>=an(e,n)&&t<on(e,n)}(t=oa(t),e,n)},Mn.invoke=Aa,Mn.isArguments=Io,Mn.isArray=Lo,Mn.isArrayBuffer=jo,Mn.isArrayLike=Ro,Mn.isArrayLikeObject=Fo,Mn.isBoolean=function(t){return!0===t||!1===t||Vo(t)&&pl(t)==u},Mn.isBuffer=No,Mn.isDate=Yo,Mn.isElement=function(t){return Vo(t)&&1===t.nodeType&&!$o(t)},Mn.isEmpty=function(t){if(null==t)return!0;if(Ro(t)&&(Lo(t)||"string"==typeof t||"function"==typeof t.splice||No(t)||Zo(t)||Io(t)))return!t.length;var e=er(t);if(e==f||e==_)return!t.size;if(cr(t))return!Pl(t).length;for(var n in t)if(Ct.call(t,n))return!1;return!0},Mn.isEqual=function(t,e){return Al(t,e)},Mn.isEqualWith=function(t,e,n){var l=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===l?Al(t,e,void 0,n):!!l},Mn.isError=Uo,Mn.isFinite=function(t){return"number"==typeof t&&nn(t)},Mn.isFunction=Bo,Mn.isInteger=zo,Mn.isLength=Go,Mn.isMap=qo,Mn.isMatch=function(t,e){return t===e||vl(t,e,Ji(e))},Mn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,vl(t,e,Ji(e),n)},Mn.isNaN=function(t){return Wo(t)&&t!=+t},Mn.isNative=function(t){if(ur(t))throw new dt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cl(t)},Mn.isNil=function(t){return null==t},Mn.isNull=function(t){return null===t},Mn.isNumber=Wo,Mn.isObject=Ho,Mn.isObjectLike=Vo,Mn.isPlainObject=$o,Mn.isRegExp=Xo,Mn.isSafeInteger=function(t){return zo(t)&&t>=-9007199254740991&&t<=9007199254740991},Mn.isSet=Ko,Mn.isString=Jo,Mn.isSymbol=Qo,Mn.isTypedArray=Zo,Mn.isUndefined=function(t){return void 0===t},Mn.isWeakMap=function(t){return Vo(t)&&er(t)==v},Mn.isWeakSet=function(t){return Vo(t)&&"[object WeakSet]"==pl(t)},Mn.join=function(t,e){return null==t?"":ln.call(t,e)},Mn.kebabCase=La,Mn.last=Yr,Mn.lastIndexOf=function(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=l;return void 0!==n&&(i=(i=ia(n))<0?on(l+i,0):an(i,l-1)),e==e?function(t,e,n){for(var l=n+1;l--;)if(t[l]===e)return l;return l}(t,e,i):ge(t,Ae,i,!0)},Mn.lowerCase=ja,Mn.lowerFirst=Ra,Mn.lt=ta,Mn.lte=ea,Mn.max=function(t){return t&&t.length?ll(t,Wa,fl):void 0},Mn.maxBy=function(t,e){return t&&t.length?ll(t,Xi(e,2),fl):void 0},Mn.mean=function(t){return ve(t,Wa)},Mn.meanBy=function(t,e){return ve(t,Xi(e,2))},Mn.min=function(t){return t&&t.length?ll(t,Wa,xl):void 0},Mn.minBy=function(t,e){return t&&t.length?ll(t,Xi(e,2),xl):void 0},Mn.stubArray=rs,Mn.stubFalse=os,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=hs,Mn.nth=function(t,e){return t&&t.length?Dl(t,ia(e)):void 0},Mn.noConflict=function(){return Ht._===this&&(Ht._=kt),this},Mn.noop=Qa,Mn.now=mo,Mn.pad=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;if(!e||l>=e)return t;var i=(e-l)/2;return Ti(Ze(i),n)+t+Ti(Qe(i),n)},Mn.padEnd=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;return e&&l<e?t+Ti(e-l,n):t},Mn.padStart=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;return e&&l<e?Ti(e-l,n)+t:t},Mn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),un(sa(t).replace(W,""),e||0)},Mn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&or(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=la(t),void 0===e?(e=t,t=0):e=la(e)),t>e){var l=t;t=e,e=l}if(n||t%1||e%1){var i=cn();return an(t+i*(e-t+Ut("1e-"+((i+"").length-1))),e)}return jl(t,e)},Mn.reduce=function(t,e,n){var l=Lo(t)?he:Pe,i=arguments.length<3;return l(t,Xi(e,4),n,i,tl)},Mn.reduceRight=function(t,e,n){var l=Lo(t)?pe:Pe,i=arguments.length<3;return l(t,Xi(e,4),n,i,el)},Mn.repeat=function(t,e,n){return e=(n?or(t,e,n):void 0===e)?1:ia(e),Rl(sa(t),e)},Mn.replace=function(){var t=arguments,e=sa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Mn.result=function(t,e,n){var l=-1,i=(e=oi(e,t)).length;for(i||(i=1,t=void 0);++l<i;){var r=null==t?void 0:t[Sr(e[l])];void 0===r&&(l=i,r=n),t=Bo(r)?r.call(t):r}return t},Mn.round=ps,Mn.runInContext=t,Mn.sample=function(t){return(Lo(t)?Yn:Nl)(t)},Mn.size=function(t){if(null==t)return 0;if(Ro(t))return Jo(t)?Ge(t):t.length;var e=er(t);return e==f||e==_?t.size:Pl(t).length},Mn.snakeCase=Fa,Mn.some=function(t,e,n){var l=Lo(t)?fe:Vl;return n&&or(t,e,n)&&(e=void 0),l(t,Xi(e,3))},Mn.sortedIndex=function(t,e){return ql(t,e)},Mn.sortedIndexBy=function(t,e,n){return Wl(t,e,Xi(n,2))},Mn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var l=ql(t,e);if(l<n&&Do(t[l],e))return l}return-1},Mn.sortedLastIndex=function(t,e){return ql(t,e,!0)},Mn.sortedLastIndexBy=function(t,e,n){return Wl(t,e,Xi(n,2),!0)},Mn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ql(t,e,!0)-1;if(Do(t[n],e))return n}return-1},Mn.startCase=Na,Mn.startsWith=function(t,e,n){return t=sa(t),n=null==n?0:Xn(ia(n),0,t.length),e=Kl(e),t.slice(n,n+e.length)==e},Mn.subtract=fs,Mn.sum=function(t){return t&&t.length?xe(t,Wa):0},Mn.sumBy=function(t,e){return t&&t.length?xe(t,Xi(e,2)):0},Mn.template=function(t,e,n){var l=Mn.templateSettings;n&&or(t,e,n)&&(e=void 0),t=sa(t),e=da({},e,l,Yi);var i,r,o=da({},e.imports,l.imports,Yi),a=va(o),s=Oe(o,a),u=0,c=e.interpolate||ut,d="__p += '",h=bt((e.escape||ut).source+"|"+c.source+"|"+(c===B?et:ut).source+"|"+(e.evaluate||ut).source+"|$","g"),p="//# sourceURL="+(Ct.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rt+"]")+"\n";t.replace(h,(function(e,n,l,o,a,s){return l||(l=o),d+=t.slice(u,s).replace(ct,Re),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(r=!0,d+="';\n"+a+";\n__p += '"),l&&(d+="' +\n((__t = ("+l+")) == null ? '' : __t) +\n'"),u=s+e.length,e})),d+="';\n";var f=Ct.call(e,"variable")&&e.variable;if(f){if(Z.test(f))throw new dt("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(r?d.replace(E,""):d).replace(I,"$1").replace(L,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var b=za((function(){return ht(a,p+"return "+d).apply(void 0,s)}));if(b.source=d,Uo(b))throw b;return b},Mn.times=function(t,e){if((t=ia(t))<1||t>9007199254740991)return[];var n=4294967295,l=an(t,4294967295);t-=4294967295;for(var i=Se(l,e=Xi(e));++n<t;)e(n);return i},Mn.toFinite=la,Mn.toInteger=ia,Mn.toLength=ra,Mn.toLower=function(t){return sa(t).toLowerCase()},Mn.toNumber=oa,Mn.toSafeInteger=function(t){return t?Xn(ia(t),-9007199254740991,9007199254740991):0===t?t:0},Mn.toString=sa,Mn.toUpper=function(t){return sa(t).toUpperCase()},Mn.trim=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return ke(t);if(!t||!(e=Kl(e)))return t;var l=He(t),i=He(e);return si(l,Te(l,i),Ee(l,i)+1).join("")},Mn.trimEnd=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return t.slice(0,Ve(t)+1);if(!t||!(e=Kl(e)))return t;var l=He(t);return si(l,0,Ee(l,He(e))+1).join("")},Mn.trimStart=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return t.replace(W,"");if(!t||!(e=Kl(e)))return t;var l=He(t);return si(l,Te(l,He(e))).join("")},Mn.truncate=function(t,e){var n=30,l="...";if(Ho(e)){var i="separator"in e?e.separator:i;n="length"in e?ia(e.length):n,l="omission"in e?Kl(e.omission):l}var r=(t=sa(t)).length;if(Fe(t)){var o=He(t);r=o.length}if(n>=r)return t;var a=n-Ge(l);if(a<1)return l;var s=o?si(o,0,a).join(""):t.slice(0,a);if(void 0===i)return s+l;if(o&&(a+=s.length-a),Xo(i)){if(t.slice(a).search(i)){var u,c=s;for(i.global||(i=bt(i.source,sa(nt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var d=u.index;s=s.slice(0,void 0===d?a:d)}}else if(t.indexOf(Kl(i),a)!=a){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+l},Mn.unescape=function(t){return(t=sa(t))&&F.test(t)?t.replace(j,qe):t},Mn.uniqueId=function(t){var e=++wt;return sa(t)+e},Mn.upperCase=Ya,Mn.upperFirst=Ua,Mn.each=ao,Mn.eachRight=so,Mn.first=jr,Ja(Mn,(as={},sl(Mn,(function(t,e){Ct.call(Mn.prototype,e)||(as[e]=t)})),as),{chain:!1}),Mn.VERSION="4.17.21",ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Mn[t].placeholder=Mn})),ie(["drop","take"],(function(t,e){En.prototype[t]=function(n){n=void 0===n?1:on(ia(n),0);var l=this.__filtered__&&!e?new En(this):this.clone();return l.__filtered__?l.__takeCount__=an(n,l.__takeCount__):l.__views__.push({size:an(n,4294967295),type:t+(l.__dir__<0?"Right":"")}),l},En.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,l=1==n||3==n;En.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Xi(t,3),type:n}),e.__filtered__=e.__filtered__||l,e}})),ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");En.prototype[t]=function(){return this[n](1).value()[0]}})),ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");En.prototype[t]=function(){return this.__filtered__?new En(this):this[n](1)}})),En.prototype.compact=function(){return this.filter(Wa)},En.prototype.find=function(t){return this.filter(t).head()},En.prototype.findLast=function(t){return this.reverse().find(t)},En.prototype.invokeMap=Fl((function(t,e){return"function"==typeof t?new En(this):this.map((function(n){return _l(n,t,e)}))})),En.prototype.reject=function(t){return this.filter(xo(Xi(t)))},En.prototype.slice=function(t,e){t=ia(t);var n=this;return n.__filtered__&&(t>0||e<0)?new En(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=ia(e))<0?n.dropRight(-e):n.take(e-t)),n)},En.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},En.prototype.toArray=function(){return this.take(4294967295)},sl(En.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),l=/^(?:head|last)$/.test(e),i=Mn[l?"take"+("last"==e?"Right":""):e],r=l||/^find/.test(e);i&&(Mn.prototype[e]=function(){var e=this.__wrapped__,o=l?[1]:arguments,a=e instanceof En,s=o[0],u=a||Lo(e),c=function(t){var e=i.apply(Mn,de([t],o));return l&&d?e[0]:e};u&&n&&"function"==typeof s&&1!=s.length&&(a=u=!1);var d=this.__chain__,h=!!this.__actions__.length,p=r&&!d,f=a&&!h;if(!r&&u){e=f?e:new En(this);var b=t.apply(e,o);return b.__actions__.push({func:no,args:[c],thisArg:void 0}),new Tn(b,d)}return p&&f?t.apply(this,o):(b=this.thru(c),p?l?b.value()[0]:b.value():b)})})),ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=_t[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",l=/^(?:pop|shift)$/.test(t);Mn.prototype[t]=function(){var t=arguments;if(l&&!this.__chain__){var i=this.value();return e.apply(Lo(i)?i:[],t)}return this[n]((function(n){return e.apply(Lo(n)?n:[],t)}))}})),sl(En.prototype,(function(t,e){var n=Mn[e];if(n){var l=n.name+"";Ct.call(yn,l)||(yn[l]=[]),yn[l].push({name:e,func:n})}})),yn[ki(void 0,2).name]=[{name:"wrapper",func:void 0}],En.prototype.clone=function(){var t=new En(this.__wrapped__);return t.__actions__=mi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=mi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=mi(this.__views__),t},En.prototype.reverse=function(){if(this.__filtered__){var t=new En(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},En.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Lo(t),l=e<0,i=n?t.length:0,r=function(t,e,n){for(var l=-1,i=n.length;++l<i;){var r=n[l],o=r.size;switch(r.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=an(e,t+o);break;case"takeRight":t=on(t,e-o)}}return{start:t,end:e}}(0,i,this.__views__),o=r.start,a=r.end,s=a-o,u=l?a:o-1,c=this.__iteratees__,d=c.length,h=0,p=an(s,this.__takeCount__);if(!n||!l&&i==s&&p==s)return ei(t,this.__actions__);var f=[];t:for(;s--&&h<p;){for(var b=-1,m=t[u+=e];++b<d;){var g=c[b],_=g.type,y=(0,g.iteratee)(m);if(2==_)m=y;else if(!y){if(1==_)continue t;break t}}f[h++]=m}return f},Mn.prototype.at=lo,Mn.prototype.chain=function(){return eo(this)},Mn.prototype.commit=function(){return new Tn(this.value(),this.__chain__)},Mn.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Mn.prototype.plant=function(t){for(var e,n=this;n instanceof Dn;){var l=Mr(n);l.__index__=0,l.__values__=void 0,e?i.__wrapped__=l:e=l;var i=l;n=n.__wrapped__}return i.__wrapped__=t,e},Mn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof En){var e=t;return this.__actions__.length&&(e=new En(this)),(e=e.reverse()).__actions__.push({func:no,args:[Gr],thisArg:void 0}),new Tn(e,this.__chain__)}return this.thru(Gr)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,be&&(Mn.prototype[be]=function(){return this}),Mn}();Ht._=We,void 0===(l=(function(){return We}).call(e,n,e,t))||(t.exports=l)}).call(this)}).call(this,n("YuTi")(t))},MNGd:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return d}));var l=n("EwAT"),i=n("hp/u"),r=n("9iPr"),o=n("N0mK"),a={Point:function(t,e,n,l){var r=n.getImage();if(r){if(r.getImageState()!=i.a.LOADED)return;var a=t.getBuilder(n.getZIndex(),o.a.IMAGE);a.setImageStyle(r,t.addDeclutter(!1)),a.drawPoint(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!!r)),u.drawText(e,l)}},LineString:function(t,e,n,l){var i=n.getStroke();if(i){var r=t.getBuilder(n.getZIndex(),o.a.LINE_STRING);r.setFillStrokeStyle(null,i),r.drawLineString(e,l)}var a=n.getText();if(a){var s=t.getBuilder(n.getZIndex(),o.a.TEXT);s.setTextStyle(a,t.addDeclutter(!1)),s.drawText(e,l)}},Polygon:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(i||r){var a=t.getBuilder(n.getZIndex(),o.a.POLYGON);a.setFillStrokeStyle(i,r),a.drawPolygon(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}},MultiPoint:function(t,e,n,l){var r=n.getImage();if(r){if(r.getImageState()!=i.a.LOADED)return;var a=t.getBuilder(n.getZIndex(),o.a.IMAGE);a.setImageStyle(r,t.addDeclutter(!1)),a.drawMultiPoint(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!!r)),u.drawText(e,l)}},MultiLineString:function(t,e,n,l){var i=n.getStroke();if(i){var r=t.getBuilder(n.getZIndex(),o.a.LINE_STRING);r.setFillStrokeStyle(null,i),r.drawMultiLineString(e,l)}var a=n.getText();if(a){var s=t.getBuilder(n.getZIndex(),o.a.TEXT);s.setTextStyle(a,t.addDeclutter(!1)),s.drawText(e,l)}},MultiPolygon:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(r||i){var a=t.getBuilder(n.getZIndex(),o.a.POLYGON);a.setFillStrokeStyle(i,r),a.drawMultiPolygon(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}},GeometryCollection:function(t,e,n,l){var i,r,o=e.getGeometriesArray();for(i=0,r=o.length;i<r;++i)(0,a[o[i].getType()])(t,o[i],n,l)},Circle:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(i||r){var a=t.getBuilder(n.getZIndex(),o.a.CIRCLE);a.setFillStrokeStyle(i,r),a.drawCircle(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}}};function s(t,e){return parseInt(Object(l.c)(t),10)-parseInt(Object(l.c)(e),10)}function u(t,e){var n=c(t,e);return n*n}function c(t,e){return.5*t/e}function d(t,e,n,l,s,u){var c=!1,d=n.getImage();if(d){var h=d.getImageState();h==i.a.LOADED||h==i.a.ERROR?d.unlistenImageChange(s):(h==i.a.IDLE&&d.load(),h=d.getImageState(),d.listenImageChange(s),c=!0)}return function(t,e,n,l,i){var s=n.getGeometryFunction()(e);if(s){var u=s.simplifyTransformed(l,i);n.getRenderer()?function t(e,n,l,i){if(n.getType()!=r.a.GEOMETRY_COLLECTION)e.getBuilder(l.getZIndex(),o.a.DEFAULT).drawCustom(n,i,l.getRenderer());else for(var a=n.getGeometries(),s=0,u=a.length;s<u;++s)t(e,a[s],l,i)}(t,u,n,e):(0,a[u.getType()])(t,u,n,e)}}(t,e,n,l,u),c}},"MO+k":function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,n){return function(t){var n={};for(var l in e)e.hasOwnProperty(l)&&(n[e[l]]=l);var i=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in i)if(i.hasOwnProperty(r)){if(!("channels"in i[r]))throw new Error("missing channels property: "+r);if(!("labels"in i[r]))throw new Error("missing channel labels property: "+r);if(i[r].labels.length!==i[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=i[r].channels,a=i[r].labels;delete i[r].channels,delete i[r].labels,Object.defineProperty(i[r],"channels",{value:o}),Object.defineProperty(i[r],"labels",{value:a})}i.rgb.hsl=function(t){var e,n,l=t[0]/255,i=t[1]/255,r=t[2]/255,o=Math.min(l,i,r),a=Math.max(l,i,r),s=a-o;return a===o?e=0:l===a?e=(i-r)/s:i===a?e=2+(r-l)/s:r===a&&(e=4+(l-i)/s),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+a)/2,[e,100*(a===o?0:n<=.5?s/(a+o):s/(2-a-o)),100*n]},i.rgb.hsv=function(t){var e,n,l,i,r,o=t[0]/255,a=t[1]/255,s=t[2]/255,u=Math.max(o,a,s),c=u-Math.min(o,a,s),d=function(t){return(u-t)/6/c+.5};return 0===c?i=r=0:(r=c/u,e=d(o),n=d(a),l=d(s),o===u?i=l-n:a===u?i=1/3+e-l:s===u&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*u]},i.rgb.hwb=function(t){var e=t[0],n=t[1],l=t[2];return[i.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,l))*100,100*(l=1-1/255*Math.max(e,Math.max(n,l)))]},i.rgb.cmyk=function(t){var e,n=t[0]/255,l=t[1]/255,i=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-l,1-i)))/(1-e)||0),100*((1-l-e)/(1-e)||0),100*((1-i-e)/(1-e)||0),100*e]},i.rgb.keyword=function(t){var l=n[t];if(l)return l;var i,r,o,a=1/0;for(var s in e)if(e.hasOwnProperty(s)){var u=(r=t,o=e[s],Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));u<a&&(a=u,i=s)}return i},i.keyword.rgb=function(t){return e[t]},i.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,l=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*e+.7152*n+.0722*l),100*(.0193*e+.1192*n+.9505*l)]},i.rgb.lab=function(t){var e=i.rgb.xyz(t),n=e[0],l=e[1],r=e[2];return l/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(n-l),200*(l-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.hsl.rgb=function(t){var e,n,l,i,r,o=t[0]/360,a=t[1]/100,s=t[2]/100;if(0===a)return[r=255*s,r,r];e=2*s-(n=s<.5?s*(1+a):s+a-s*a),i=[0,0,0];for(var u=0;u<3;u++)(l=o+1/3*-(u-1))<0&&l++,l>1&&l--,i[u]=255*(r=6*l<1?e+6*(n-e)*l:2*l<1?n:3*l<2?e+(n-e)*(2/3-l)*6:e);return i},i.hsl.hsv=function(t){var e=t[0],n=t[1]/100,l=t[2]/100,i=n,r=Math.max(l,.01);return n*=(l*=2)<=1?l:2-l,i*=r<=1?r:2-r,[e,100*(0===l?2*i/(r+i):2*n/(l+n)),(l+n)/2*100]},i.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,l=t[2]/100,i=Math.floor(e)%6,r=e-Math.floor(e),o=255*l*(1-n),a=255*l*(1-n*r),s=255*l*(1-n*(1-r));switch(l*=255,i){case 0:return[l,s,o];case 1:return[a,l,o];case 2:return[o,l,s];case 3:return[o,a,l];case 4:return[s,o,l];case 5:return[l,o,a]}},i.hsv.hsl=function(t){var e,n,l,i=t[0],r=t[1]/100,o=t[2]/100,a=Math.max(o,.01);return l=(2-r)*o,n=r*a,[i,100*(n=(n/=(e=(2-r)*a)<=1?e:2-e)||0),100*(l/=2)]},i.hwb.rgb=function(t){var e,n,l,i,r,o,a,s=t[0]/360,u=t[1]/100,c=t[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),l=6*s-(e=Math.floor(6*s)),0!=(1&e)&&(l=1-l),i=u+l*((n=1-c)-u),e){default:case 6:case 0:r=n,o=i,a=u;break;case 1:r=i,o=n,a=u;break;case 2:r=u,o=n,a=i;break;case 3:r=u,o=i,a=n;break;case 4:r=i,o=u,a=n;break;case 5:r=n,o=u,a=i}return[255*r,255*o,255*a]},i.cmyk.rgb=function(t){var e=t[1]/100,n=t[2]/100,l=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-l)+l)),255*(1-Math.min(1,e*(1-l)+l)),255*(1-Math.min(1,n*(1-l)+l))]},i.xyz.rgb=function(t){var e,n,l,i=t[0]/100,r=t[1]/100,o=t[2]/100;return n=-.9689*i+1.8758*r+.0415*o,l=.0557*i+-.204*r+1.057*o,e=(e=3.2406*i+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(l=Math.min(Math.max(0,l),1))]},i.xyz.lab=function(t){var e=t[0],n=t[1],l=t[2];return n/=100,l/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},i.lab.xyz=function(t){var e,n,l;e=t[1]/500+(n=(t[0]+16)/116),l=n-t[2]/200;var i=Math.pow(n,3),r=Math.pow(e,3),o=Math.pow(l,3);return n=i>.008856?i:(n-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,l=o>.008856?o:(l-16/116)/7.787,[e*=95.047,n*=100,l*=108.883]},i.lab.lch=function(t){var e,n=t[0],l=t[1],i=t[2];return(e=360*Math.atan2(i,l)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(l*l+i*i),e]},i.lch.lab=function(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]},i.rgb.ansi16=function(t){var e=t[0],n=t[1],l=t[2],r=1 in arguments?arguments[1]:i.rgb.hsv(t)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(l/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===r&&(o+=60),o},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){var e=t[0],n=t[1],l=t[2];return e===n&&n===l?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(l/255*5)},i.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},i.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var l=parseInt(n,16);return[l>>16&255,l>>8&255,255&l]},i.rgb.hcg=function(t){var e,n=t[0]/255,l=t[1]/255,i=t[2]/255,r=Math.max(Math.max(n,l),i),o=Math.min(Math.min(n,l),i),a=r-o;return e=a<=0?0:r===n?(l-i)/a%6:r===l?2+(i-n)/a:4+(n-l)/a+4,e/=6,[360*(e%=1),100*a,100*(a<1?o/(1-a):0)]},i.hsl.hcg=function(t){var e,n=t[1]/100,l=t[2]/100,i=0;return(e=l<.5?2*n*l:2*n*(1-l))<1&&(i=(l-.5*e)/(1-e)),[t[0],100*e,100*i]},i.hsv.hcg=function(t){var e=t[2]/100,n=t[1]/100*e,l=0;return n<1&&(l=(e-n)/(1-n)),[t[0],100*n,100*l]},i.hcg.rgb=function(t){var e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];var l,i=[0,0,0],r=t[0]/360%1*6,o=r%1,a=1-o;switch(Math.floor(r)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return[255*(e*i[0]+(l=(1-e)*n)),255*(e*i[1]+l),255*(e*i[2]+l)]},i.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),l=0;return n>0&&(l=e/n),[t[0],100*l,100*n]},i.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,l=0;return n>0&&n<.5?l=e/(2*n):n>=.5&&n<1&&(l=e/(2*(1-n))),[t[0],100*l,100*n]},i.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},i.hwb.hcg=function(t){var e=1-t[2]/100,n=e-t[1]/100,l=0;return n<1&&(l=(e-n)/(1-n)),[t[0],100*n,100*l]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=i.gray.hsv=function(t){return[0,0,t[0]]},i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}(n={exports:{}}),n.exports}();function l(t,e){return function(n){return e(t(n))}}function i(t,e){for(var i=[e[t].parent,t],r=n[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),r=l(n[e[o].parent][o],r),o=e[o].parent;return r.conversion=i,r}var r={};Object.keys(n).forEach((function(t){r[t]={},Object.defineProperty(r[t],"channels",{value:n[t].channels}),Object.defineProperty(r[t],"labels",{value:n[t].labels});var e=function(t){for(var e=function(t){var e=function(){for(var t={},e=Object.keys(n),l=e.length,i=0;i<l;i++)t[e[i]]={distance:-1,parent:null};return t}(),l=[t];for(e[t].distance=0;l.length;)for(var i=l.pop(),r=Object.keys(n[i]),o=r.length,a=0;a<o;a++){var s=r[a],u=e[s];-1===u.distance&&(u.distance=e[i].distance+1,u.parent=i,l.unshift(s))}return e}(t),l={},r=Object.keys(e),o=r.length,a=0;a<o;a++){var s=r[a];null!==e[s].parent&&(l[s]=i(s,e))}return l}(t);Object.keys(e).forEach((function(n){var l=e[n];r[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var l=n.length,i=0;i<l;i++)n[i]=Math.round(n[i]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(l),r[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(l)}))}));var o=r,a={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},s={getRgba:u,getHsla:c,getRgb:function(t){var e=u(t);return e&&e.slice(0,3)},getHsl:function(t){var e=c(t);return e&&e.slice(0,3)},getHwb:d,getAlpha:function(t){var e=u(t);return e||(e=c(t))||(e=d(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+m(t[0])+m(t[1])+m(t[2])+(e>=0&&e<1?m(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?h(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:h,percentString:function(t,e){return e<1||t[3]&&t[3]<1?p(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:p,hslString:function(t,e){return e<1||t[3]&&t[3]<1?f(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:f,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return g[t.slice(0,3)]}};function u(t){if(t){var e=[0,0,0],n=1,l=t.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(l){i=(l=l[1])[3];for(var r=0;r<e.length;r++)e[r]=parseInt(l[r]+l[r],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(l=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(i=l[2],l=l[1],r=0;r<e.length;r++)e[r]=parseInt(l.slice(2*r,2*r+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(l=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(l[r+1]);n=parseFloat(l[4])}else if(l=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(l[r+1]));n=parseFloat(l[4])}else if(l=t.match(/(\w+)/)){if("transparent"==l[1])return[0,0,0,0];if(!(e=a[l[1]]))return}for(r=0;r<e.length;r++)e[r]=b(e[r],0,255);return n=n||0==n?b(n,0,1):1,e[3]=n,e}}function c(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[b(parseInt(e[1]),0,360),b(parseFloat(e[2]),0,100),b(parseFloat(e[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function d(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[b(parseInt(e[1]),0,360),b(parseFloat(e[2]),0,100),b(parseFloat(e[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function h(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function p(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function f(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function b(t,e,n){return Math.min(Math.max(e,t),n)}function m(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var g={};for(var _ in a)g[a[_]]=_;var y=function(t){return t instanceof y?t:this instanceof y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=s.getRgba(t))?this.setValues("rgb",e):(e=s.getHsla(t))?this.setValues("hsl",e):(e=s.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new y(t);var e};y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return s.hexString(this.values.rgb)},rgbString:function(){return s.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return s.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return s.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return s.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return s.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return s.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return s.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var l=t[n]/255;e[n]=l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,l=void 0===e?.5:e,i=2*l-1,r=this.alpha()-n.alpha(),o=((i*r==-1?i:(i+r)/(1+i*r))+1)/2,a=1-o;return this.rgb(o*this.red()+a*n.red(),o*this.green()+a*n.green(),o*this.blue()+a*n.blue()).alpha(this.alpha()*l+n.alpha()*(1-l))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new y,l=this.values,i=n.values;for(var r in l)l.hasOwnProperty(r)&&("[object Array]"===(e={}.toString.call(t=l[r]))?i[r]=t.slice(0):"[object Number]"===e?i[r]=t:console.error("unexpected color value:",t));return n}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(t){for(var e=this.values,n={},l=0;l<t.length;l++)n[t.charAt(l)]=e[t][l];return 1!==e.alpha&&(n.a=e.alpha),n},y.prototype.setValues=function(t,e){var n,l,i=this.values,r=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)i[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)i[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[r[t][0]]){var u=r[t];for(n=0;n<t.length;n++)i[t][n]=e[u[n]];s=e.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===t)return!1;for(n=0;n<t.length;n++)l=Math.max(0,Math.min(a[t][n],i[t][n])),i[t][n]=Math.round(l);for(var c in r)c!==t&&(i[c]=o[t][c](i[t]));return!0},y.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},y.prototype.setChannel=function(t,e,n){var l=this.values[t];return void 0===n?l[e]:(n===l[e]||(l[e]=n,this.setValues(t,l)),this)},"undefined"!=typeof window&&(window.Color=y);var A=y;function v(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}var C,w={noop:function(){},uid:(C=0,function(){return C++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return w.valueOrDefault(w.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,l){var i,r,o;if(w.isArray(t))if(r=t.length,l)for(i=r-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<r;i++)e.call(n,t[i],i);else if(w.isObject(t))for(r=(o=Object.keys(t)).length,i=0;i<r;i++)e.call(n,t[o[i]],o[i])},arrayEquals:function(t,e){var n,l,i,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,l=t.length;n<l;++n)if(r=e[n],(i=t[n])instanceof Array&&r instanceof Array){if(!w.arrayEquals(i,r))return!1}else if(i!==r)return!1;return!0},clone:function(t){if(w.isArray(t))return t.map(w.clone);if(w.isObject(t)){for(var e=Object.create(t),n=Object.keys(t),l=n.length,i=0;i<l;++i)e[n[i]]=w.clone(t[n[i]]);return e}return t},_merger:function(t,e,n,l){if(v(t)){var i=e[t],r=n[t];w.isObject(i)&&w.isObject(r)?w.merge(i,r,l):e[t]=w.clone(r)}},_mergerIf:function(t,e,n){if(v(t)){var l=e[t],i=n[t];w.isObject(l)&&w.isObject(i)?w.mergeIf(l,i):e.hasOwnProperty(t)||(e[t]=w.clone(i))}},merge:function(t,e,n){var l,i,r,o,a,s=w.isArray(e)?e:[e],u=s.length;if(!w.isObject(t))return t;for(l=(n=n||{}).merger||w._merger,i=0;i<u;++i)if(w.isObject(e=s[i]))for(a=0,o=(r=Object.keys(e)).length;a<o;++a)l(r[a],t,e,n);return t},mergeIf:function(t,e){return w.merge(t,e,{merger:w._mergerIf})},extend:Object.assign||function(t){return w.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},l=function(){this.constructor=n};return l.prototype=e.prototype,n.prototype=new l,n.extend=w.inherits,t&&w.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,l){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+l+'" instead')}},P=w;w.callCallback=w.callback,w.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},w.getValueOrDefault=w.valueOrDefault,w.getValueAtIndexOrDefault=w.valueAtIndexOrDefault;var x={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:1===t?1:(n||(n=.3),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),-l*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:1===t?1:(n||(n=.3),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),l*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),t<1?l*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:l*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-x.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*x.easeInBounce(2*t):.5*x.easeOutBounce(2*t-1)+.5}},S={effects:x};P.easingEffects=x;var k=Math.PI,M=k/180,O=2*k,D=k/2,T=k/4,E=2*k/3,I={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,l,i,r){if(r){var o=Math.min(r,i/2,l/2),a=e+o,s=n+o,u=e+l-o,c=n+i-o;t.moveTo(e,s),a<u&&s<c?(t.arc(a,s,o,-k,-D),t.arc(u,s,o,-D,0),t.arc(u,c,o,0,D),t.arc(a,c,o,D,k)):a<u?(t.moveTo(a,n),t.arc(u,s,o,-D,D),t.arc(a,s,o,D,k+D)):s<c?(t.arc(a,s,o,-k,0),t.arc(a,c,o,0,k)):t.arc(a,s,o,-k,k),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,l,i)},drawPoint:function(t,e,n,l,i,r){var o,a,s,u,c,d=(r||0)*M;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(o=e.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(l,i),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(l,i,n,0,O),t.closePath();break;case"triangle":t.moveTo(l+Math.sin(d)*n,i-Math.cos(d)*n),d+=E,t.lineTo(l+Math.sin(d)*n,i-Math.cos(d)*n),d+=E,t.lineTo(l+Math.sin(d)*n,i-Math.cos(d)*n),t.closePath();break;case"rectRounded":u=n-(c=.516*n),a=Math.cos(d+T)*u,s=Math.sin(d+T)*u,t.arc(l-a,i-s,c,d-k,d-D),t.arc(l+s,i-a,c,d-D,d),t.arc(l+a,i+s,c,d,d+D),t.arc(l-s,i+a,c,d+D,d+k),t.closePath();break;case"rect":if(!r){u=Math.SQRT1_2*n,t.rect(l-u,i-u,2*u,2*u);break}d+=T;case"rectRot":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+s,i-a),t.lineTo(l+a,i+s),t.lineTo(l-s,i+a),t.closePath();break;case"crossRot":d+=T;case"cross":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a);break;case"star":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a),d+=T,a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a);break;case"line":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s);break;case"dash":t.moveTo(l,i),t.lineTo(l+Math.cos(d)*n,i+Math.sin(d)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,l){var i=n.steppedLine;if(i){if("middle"===i){var r=(e.x+n.x)/2;t.lineTo(r,l?n.y:e.y),t.lineTo(r,l?e.y:n.y)}else"after"===i&&!l||"after"!==i&&l?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(l?e.controlPointPreviousX:e.controlPointNextX,l?e.controlPointPreviousY:e.controlPointNextY,l?n.controlPointNextX:n.controlPointPreviousX,l?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},L=I;P.clear=I.clear,P.drawRoundedRectangle=function(t){t.beginPath(),I.roundedRect.apply(I,arguments)};var j={_set:function(t,e){return P.merge(this[t]||(this[t]={}),e)}};j._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var R=j,F=P.valueOrDefault,N={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,l,i;return P.isObject(t)?(e=+t.top||0,n=+t.right||0,l=+t.bottom||0,i=+t.left||0):e=n=l=i=+t||0,{top:e,right:n,bottom:l,left:i,height:e+l,width:i+n}},_parseFont:function(t){var e=R.global,n=F(t.fontSize,e.defaultFontSize),l={family:F(t.fontFamily,e.defaultFontFamily),lineHeight:P.options.toLineHeight(F(t.lineHeight,e.defaultLineHeight),n),size:n,style:F(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return l.string=function(t){return!t||P.isNullOrUndef(t.size)||P.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(l),l},resolve:function(t,e,n,l){var i,r,o,a=!0;for(i=0,r=t.length;i<r;++i)if(void 0!==(o=t[i])&&(void 0!==e&&"function"==typeof o&&(o=o(e),a=!1),void 0!==n&&P.isArray(o)&&(o=o[n],a=!1),void 0!==o))return l&&!a&&(l.cacheable=!1),o}},Y={_factorize:function(t){var e,n=[],l=Math.sqrt(t);for(e=1;e<l;e++)t%e==0&&(n.push(e),n.push(t/e));return l===(0|l)&&n.push(l),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},U=Y;P.log10=Y.log10;var B=P,z=L,G=N,H=U;B.easing=S,B.canvas=z,B.options=G,B.math=H,B.rtl={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,l;"ltr"!==e&&"rtl"!==e||(l=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=l)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};var V=function(t){B.extend(this,t),this.initialize.apply(this,arguments)};B.extend(V.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=B.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,l=e._start,i=e._view;return n&&1!==t?(i||(i=e._view={}),l||(l=e._start={}),function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p=Object.keys(n);for(i=0,r=p.length;i<r;++i)if(u=n[o=p[i]],e.hasOwnProperty(o)||(e[o]=u),(a=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=a),(c=typeof u)==typeof(s=t[o]))if("string"===c){if((d=A(s)).valid&&(h=A(u)).valid){e[o]=h.mix(d,l).rgbString();continue}}else if(B.isFinite(s)&&B.isFinite(u)){e[o]=s+(u-s)*l;continue}e[o]=u}}(l,i,n,t),e):(e._view=B.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return B.isNumber(this._model.x)&&B.isNumber(this._model.y)}}),V.extend=B.inherits;var q=V,W=q.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),$=W;Object.defineProperty(W.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(W.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),R._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:B.noop,onComplete:B.noop}});var X={animations:[],request:null,addAnimation:function(t,e,n,l){var i,r,o=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,l||(t.animating=!0),i=0,r=o.length;i<r;++i)if(o[i].chart===t)return void(o[i]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=B.findIndex(this.animations,(function(e){return e.chart===t}));-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=B.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,l,i=this.animations,r=0;r<i.length;)e=(t=i[r]).chart,n=t.numSteps,l=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(l,n),B.callback(t.render,[e,t],e),B.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(B.callback(t.onAnimationComplete,[t],e),e.animating=!1,i.splice(r,1)):++r}},K=B.options.resolve,J=["push","pop","shift","splice","unshift"];function Q(t,e){var n=t._chartjs;if(n){var l=n.listeners,i=l.indexOf(e);-1!==i&&l.splice(i,1),l.length>0||(J.forEach((function(e){delete t[e]})),delete t._chartjs)}}var Z=function(t,e){this.initialize(t,e)};B.extend(Z.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,l=this.getDataset(),i=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!l.xAxisID||(t.xAxisID=l.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!l.yAxisID||(t.yAxisID=l.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Q(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),l=this.getDataset().data||[],i=n.data;for(t=0,e=l.length;t<e;++t)i[t]=i[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,n=this,l=n.getDataset(),i=l.data||(l.data=[]);n._data!==i&&(n._data&&Q(n._data,n),i&&Object.isExtensible(i)&&(e=n,(t=i)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),J.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),l=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),i=l.apply(this,e);return B.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),i}})})))),n._data=i),n.resyncElements()},_configure:function(){this._config=B.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&B._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:B.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],l=n.length,i=0;i<l;++i)n[i].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,l=0;for(t.dataset&&t.dataset.draw();l<n;++l)e[l].draw()},getStyle:function(t){var e,n=this.getMeta(),l=n.dataset;return this._configure(),!1!==(e=l&&void 0===t?this._resolveDatasetElementOptions(l||{}):this._resolveDataElementOptions(n.data[t=t||0]||{},t)).fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,l,i,r,o=this,a=o.chart,s=o._config,u=t.custom||{},c=a.options.elements[o.datasetElementType.prototype._type]||{},d=o._datasetElementOptions,h={},p={chart:a,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n=0,l=d.length;n<l;++n)i=d[n],r=e?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,h[i]=K([u[r],s[r],c[r]],p);return h},_resolveDataElementOptions:function(t,e){var n=this,l=t&&t.custom,i=n._cachedDataOpts;if(i&&!l)return i;var r,o,a,s,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,p={},f={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},b={cacheable:!l};if(l=l||{},B.isArray(h))for(o=0,a=h.length;o<a;++o)p[s=h[o]]=K([l[s],c[s],d[s]],f,e,b);else for(o=0,a=(r=Object.keys(h)).length;o<a;++o)p[s=r[o]]=K([l[s],c[h[s]],c[s],d[s]],f,e,b);return b.cacheable&&(n._cachedDataOpts=Object.freeze(p)),p},removeHoverStyle:function(t){B.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,l=t.custom||{},i=t._model,r=B.getHoverColor;t.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=K([l.hoverBackgroundColor,e.hoverBackgroundColor,r(i.backgroundColor)],void 0,n),i.borderColor=K([l.hoverBorderColor,e.hoverBorderColor,r(i.borderColor)],void 0,n),i.borderWidth=K([l.hoverBorderWidth,e.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,l,i,r,o=this.getMeta().dataset,a={};if(o){for(r=o._model,i=this._resolveDatasetElementOptions(o,!0),t=0,e=(l=Object.keys(i)).length;t<e;++t)a[n=l[t]]=r[n],r[n]=i[n];o.$previousStyle=a}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,l=e.length;l<n?t.data.splice(l,n-l):l>n&&this.insertElements(n,l-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Z.extend=B.inherits;var tt=Z,et=2*Math.PI;function nt(t,e){var n=e.startAngle,l=e.endAngle,i=e.pixelMargin,r=i/e.outerRadius,o=e.x,a=e.y;t.beginPath(),t.arc(o,a,e.outerRadius,n-r,l+r),e.innerRadius>i?t.arc(o,a,e.innerRadius-i,l+(r=i/e.innerRadius),n-r,!0):t.arc(o,a,i,l+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}R._set("global",{elements:{arc:{backgroundColor:R.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var lt=q.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var l=B.getAngleFromPoint(n,{x:t,y:e}),i=l.angle,r=l.distance,o=n.startAngle,a=n.endAngle;a<o;)a+=et;for(;i>a;)i-=et;for(;i<o;)i+=et;return i>=o&&i<=a&&r>=n.innerRadius&&r<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,l="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-l,0),pixelMargin:l,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/et)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+et,e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),t=0;t<i.fullCircles;++t)e.fill();i.endAngle=i.startAngle+n.circumference%et}e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&function(t,e,n){var l="inner"===e.borderAlign;l?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,l){var i,r=n.endAngle;for(l&&(n.endAngle=n.startAngle+et,nt(t,n),n.endAngle=r,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=et,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+et,n.startAngle,!0),i=0;i<n.fullCircles;++i)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+et),i=0;i<n.fullCircles;++i)t.stroke()}(t,e,n,l),l&&nt(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}(e,n,i),e.restore()}}),it=B.valueOrDefault,rt=R.global.defaultColor;R._set("global",{elements:{line:{tension:.4,backgroundColor:rt,borderWidth:3,borderColor:rt,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ot=q.extend({_type:"line",draw:function(){var t,e,n,l=this,i=l._view,r=l._chart.ctx,o=i.spanGaps,a=l._children.slice(),s=R.global,u=s.elements.line,c=-1,d=l._loop;if(a.length){if(l._loop){for(t=0;t<a.length;++t)if(e=B.previousItem(a,t),!a[t]._view.skip&&e._view.skip){a=a.slice(t).concat(a.slice(0,t)),d=o;break}d&&a.push(a[0])}for(r.save(),r.lineCap=i.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(i.borderDash||u.borderDash),r.lineDashOffset=it(i.borderDashOffset,u.borderDashOffset),r.lineJoin=i.borderJoinStyle||u.borderJoinStyle,r.lineWidth=it(i.borderWidth,u.borderWidth),r.strokeStyle=i.borderColor||s.defaultColor,r.beginPath(),(n=a[0]._view).skip||(r.moveTo(n.x,n.y),c=0),t=1;t<a.length;++t)n=a[t]._view,e=-1===c?B.previousItem(a,t):a[c],n.skip||(c!==t-1&&!o||-1===c?r.moveTo(n.x,n.y):B.canvas.lineTo(r,e._view,n),c=t);d&&r.closePath(),r.stroke(),r.restore()}}}),at=B.valueOrDefault,st=R.global.defaultColor;function ut(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}R._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:st,borderColor:st,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ct=q.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ut,inXRange:ut,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,l=e.pointStyle,i=e.rotation,r=e.radius,o=e.x,a=e.y,s=R.global,u=s.defaultColor;e.skip||(void 0===t||B.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=at(e.borderWidth,s.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,B.canvas.drawPoint(n,l,r,o,a,i))}}),dt=R.global.defaultColor;function ht(t){return t&&void 0!==t.width}function pt(t){var e,n,l,i,r;return ht(t)?(e=t.x-(r=t.width/2),n=t.x+r,l=Math.min(t.y,t.base),i=Math.max(t.y,t.base)):(r=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),l=t.y-r,i=t.y+r),{left:e,top:l,right:n,bottom:i}}function ft(t,e,n){return t===e?n:t===n?e:t}function bt(t,e,n){var l=null===e,i=null===n,r=!(!t||l&&i)&&pt(t);return r&&(l||e>=r.left&&e<=r.right)&&(i||n>=r.top&&n<=r.bottom)}R._set("global",{elements:{rectangle:{backgroundColor:dt,borderColor:dt,borderSkipped:"bottom",borderWidth:0}}});var mt=q.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=pt(t),n=e.right-e.left,l=e.bottom-e.top,i=function(t,e,n){var l,i,r,o,a=t.borderWidth,s=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=ft(e,"left","right")):t.base<t.y&&(e=ft(e,"bottom","top")),n[e]=!0,n):n}(t);return B.isObject(a)?(l=+a.top||0,i=+a.right||0,r=+a.bottom||0,o=+a.left||0):l=i=r=o=+a||0,{t:s.top||l<0?0:l>n?n:l,r:s.right||i<0?0:i>e?e:i,b:s.bottom||r<0?0:r>n?n:r,l:s.left||o<0?0:o>e?e:o}}(t,n/2,l/2);return{outer:{x:e.left,y:e.top,w:n,h:l},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:l-i.t-i.b}}}(e),l=n.outer,i=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(l.x,l.y,l.w,l.h),l.w===i.w&&l.h===i.h||(t.save(),t.beginPath(),t.rect(l.x,l.y,l.w,l.h),t.clip(),t.fillStyle=e.borderColor,t.rect(i.x,i.y,i.w,i.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return bt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return ht(n)?bt(n,t,null):bt(n,null,e)},inXRange:function(t){return bt(this._view,t,null)},inYRange:function(t){return bt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return ht(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return ht(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),gt={},_t=ot,yt=ct,At=mt;gt.Arc=lt,gt.Line=_t,gt.Point=yt,gt.Rectangle=At;var vt=B._deprecated,Ct=B.valueOrDefault;R._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),R._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var wt=tt.extend({dataElementType:gt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;tt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,vt("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),vt("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),vt("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),vt("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),vt("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,l=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=l.length;e<n;++e)this.updateElement(l[e],e,t)},updateElement:function(t,e,n){var l=this,i=l.getMeta(),r=l.getDataset(),o=l._resolveDataElementOptions(t,e);t._xScale=l.getScaleForId(i.xAxisID),t._yScale=l.getScaleForId(i.yAxisID),t._datasetIndex=l.index,t._index=e,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:l.chart.data.labels[e]},B.isArray(r.data[e])&&(t._model.borderSkipped=null),l._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,l){var i=this,r=t._model,o=i._getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),u=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,e,l),d=i.calculateBarIndexPixels(i.index,e,u,l);r.horizontal=s,r.base=n?a:c.base,r.x=s?n?a:c.head:d.center,r.y=s?d.center:n?a:c.head,r.height=s?d.size:void 0,r.width=s?void 0:d.size},_getStacks:function(t){var e,n,l=this._getIndexScale(),i=l._getMatchingVisibleMetas(this._type),r=l.options.stacked,o=i.length,a=[];for(e=0;e<o&&(n=i[e],(!1===r||-1===a.indexOf(n.stack)||void 0===r&&void 0===n.stack)&&a.push(n.stack),n.index!==t);++e);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),l=void 0!==e?n.indexOf(e):-1;return-1===l?n.length-1:l},getRuler:function(){var t,e,n=this._getIndexScale(),l=[];for(t=0,e=this.getMeta().data.length;t<e;++t)l.push(n.getPixelForValue(null,t,this.index));return{pixels:l,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var l,i,r,o,a,s,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),p=c.data.datasets,f=d._getMatchingVisibleMetas(this._type),b=d._parseValue(p[t].data[e]),m=n.minBarLength,g=d.options.stacked,_=this.getMeta().stack,y=void 0===b.start?0:b.max>=0&&b.min>=0?b.min:b.max,A=void 0===b.start?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,v=f.length;if(g||void 0===g&&void 0!==_)for(l=0;l<v&&(i=f[l]).index!==t;++l)i.stack===_&&(r=void 0===(u=d._parseValue(p[i.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(b.min<0&&r<0||b.max>=0&&r>0)&&(y+=r));return o=d.getPixelForValue(y),s=(a=d.getPixelForValue(y+A))-o,void 0!==m&&Math.abs(s)<m&&(s=m,a=A>=0&&!h||A<0&&h?o-m:o+m),{size:s,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(t,e,n,l){var i="flex"===l.barThickness?function(t,e,n){var l,i=e.pixels,r=i[t],o=t>0?i[t-1]:null,a=t<i.length-1?i[t+1]:null,s=n.categoryPercentage;return null===o&&(o=r-(null===a?e.end-e.start:a-r)),null===a&&(a=r+r-o),l=r-(r-Math.min(o,a))/2*s,{chunk:Math.abs(a-o)/2*s/e.stackCount,ratio:n.barPercentage,start:l}}(e,n,l):function(t,e,n){var l,i,r=n.barThickness,o=e.stackCount,a=e.pixels[t],s=B.isNullOrUndef(r)?function(t,e){var n,l,i,r,o=t._length;for(i=1,r=e.length;i<r;++i)o=Math.min(o,Math.abs(e[i]-e[i-1]));for(i=0,r=t.getTicks().length;i<r;++i)l=t.getPixelForTick(i),o=i>0?Math.min(o,Math.abs(l-n)):o,n=l;return o}(e.scale,e.pixels):-1;return B.isNullOrUndef(r)?(l=s*n.categoryPercentage,i=n.barPercentage):(l=r*o,i=1),{chunk:l/o,ratio:i,start:a-l/2}}(e,n,l),r=this.getStackIndex(t,this.getMeta().stack),o=i.start+i.chunk*r+i.chunk/2,a=Math.min(Ct(l.maxBarThickness,1/0),i.chunk*i.ratio);return{base:o-a/2,head:o+a/2,center:o,size:a}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,l=this.getDataset(),i=n.length,r=0;for(B.canvas.clipArea(t.ctx,t.chartArea);r<i;++r){var o=e._parseValue(l.data[r]);isNaN(o.min)||isNaN(o.max)||n[r].draw()}B.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=this,e=B.extend({},tt.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,l=t._getValueScale().options;return e.barPercentage=Ct(n.barPercentage,e.barPercentage),e.barThickness=Ct(n.barThickness,e.barThickness),e.categoryPercentage=Ct(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=Ct(n.maxBarThickness,e.maxBarThickness),e.minBarLength=Ct(l.minBarLength,e.minBarLength),e}}),Pt=B.valueOrDefault,xt=B.options.resolve;R._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}});var St=tt.extend({dataElementType:gt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta();B.each(n.data,(function(n,l){e.updateElement(n,l,t)}))},updateElement:function(t,e,n){var l=this,i=l.getMeta(),r=t.custom||{},o=l.getScaleForId(i.xAxisID),a=l.getScaleForId(i.yAxisID),s=l._resolveDataElementOptions(t,e),u=l.getDataset().data[e],c=l.index,d=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?a.getBasePixel():a.getPixelForValue(u,e,c);t._xScale=o,t._yScale=a,t._options=s,t._datasetIndex=c,t._index=e,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,rotation:s.rotation,radius:n?0:s.radius,skip:r.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Pt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=Pt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=Pt(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,l=n.chart,i=n.getDataset(),r=t.custom||{},o=i.data[e]||{},a=tt.prototype._resolveDataElementOptions.apply(n,arguments),s={chart:l,dataIndex:e,dataset:i,datasetIndex:n.index};return n._cachedDataOpts===a&&(a=B.extend({},a)),a.radius=xt([r.radius,o.r,n._config.radius,l.options.elements.point.radius],s,e),a}}),kt=B.valueOrDefault,Mt=Math.PI,Ot=2*Mt,Dt=Mt/2;R._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data,o=r.datasets,a=r.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],a[e]&&l.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,l){var i=t.getDatasetMeta(0),r=i.controller.getStyle(l);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[l])||i.data[l].hidden,index:l}})):[]}},onClick:function(t,e){var n,l,i,r=e.index,o=this.chart;for(n=0,l=(o.data.datasets||[]).length;n<l;++n)(i=o.getDatasetMeta(n)).data[r]&&(i.data[r].hidden=!i.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-Dt,circumference:Ot,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],l=": "+e.datasets[t.datasetIndex].data[t.index];return B.isArray(n)?(n=n.slice())[0]+=l:n+=l,n}}}});var Tt=tt.extend({dataElementType:gt.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,l=this,i=l.chart,r=i.chartArea,o=i.options,a=1,s=1,u=0,c=0,d=l.getMeta(),h=d.data,p=o.cutoutPercentage/100||0,f=o.circumference,b=l._getRingWeight(l.index);if(f<Ot){var m=o.rotation%Ot,g=(m+=m>=Mt?-Ot:m<-Mt?Ot:0)+f,_=Math.cos(m),y=Math.sin(m),A=Math.cos(g),v=Math.sin(g),C=m<=0&&g>=0||g>=Ot,w=m<=Dt&&g>=Dt||g>=Ot+Dt,P=m<=-Dt&&g>=-Dt||g>=Mt+Dt,x=m===-Mt||g>=Mt?-1:Math.min(_,_*p,A,A*p),S=P?-1:Math.min(y,y*p,v,v*p),k=C?1:Math.max(_,_*p,A,A*p),M=w?1:Math.max(y,y*p,v,v*p);a=(k-x)/2,s=(M-S)/2,u=-(k+x)/2,c=-(M+S)/2}for(e=0,n=h.length;e<n;++e)h[e]._options=l._resolveDataElementOptions(h[e],e);for(i.borderWidth=l.getMaxBorderWidth(),i.outerRadius=Math.max(Math.min((r.right-r.left-i.borderWidth)/a,(r.bottom-r.top-i.borderWidth)/s)/2,0),i.innerRadius=Math.max(i.outerRadius*p,0),i.radiusLength=(i.outerRadius-i.innerRadius)/(l._getVisibleDatasetWeightTotal()||1),i.offsetX=u*i.outerRadius,i.offsetY=c*i.outerRadius,d.total=l.calculateTotal(),l.outerRadius=i.outerRadius-i.radiusLength*l._getRingWeightOffset(l.index),l.innerRadius=Math.max(l.outerRadius-i.radiusLength*b,0),e=0,n=h.length;e<n;++e)l.updateElement(h[e],e,t)},updateElement:function(t,e,n){var l=this,i=l.chart,r=i.chartArea,o=i.options,a=o.animation,s=(r.left+r.right)/2,u=(r.top+r.bottom)/2,c=o.rotation,d=o.rotation,h=l.getDataset(),p=n&&a.animateRotate||t.hidden?0:l.calculateCircumference(h.data[e])*(o.circumference/Ot),f=t._options||{};B.extend(t,{_datasetIndex:l.index,_index:e,_model:{backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,borderAlign:f.borderAlign,x:s+i.offsetX,y:u+i.offsetY,startAngle:c,endAngle:d,circumference:p,outerRadius:n&&a.animateScale?0:l.outerRadius,innerRadius:n&&a.animateScale?0:l.innerRadius,label:B.valueAtIndexOrDefault(h.label,e,i.data.labels[e])}});var b=t._model;n&&a.animateRotate||(b.startAngle=0===e?o.rotation:l.getMeta().data[e-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),l=0;return B.each(n.data,(function(n,i){t=e.data[i],isNaN(t)||n.hidden||(l+=Math.abs(t))})),l},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?Ot*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,l,i,r,o,a,s,u=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e<n;++e)if(c.isDatasetVisible(e)){t=(l=c.getDatasetMeta(e)).data,e!==this.index&&(r=l.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)i=t[e],r?(r._configure(),o=r._resolveDataElementOptions(i,e)):o=i._options,"inner"!==o.borderAlign&&(u=(s=o.hoverBorderWidth)>(u=(a=o.borderWidth)>u?a:u)?s:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=kt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=kt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=kt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(kt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});R._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),R._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Et=wt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),It=B.valueOrDefault,Lt=B.options.resolve,jt=B.canvas._isPointInArea;function Rt(t,e){var n=t&&t.options.ticks||{},l=n.reverse,i=void 0===n.min?e:0,r=void 0===n.max?e:0;return{start:l?r:i,end:l?i:r}}function Ft(t,e,n){var l=n/2,i=Rt(t,l),r=Rt(e,l);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function Nt(t){var e,n,l,i;return B.isObject(t)?(e=t.top,n=t.right,l=t.bottom,i=t.left):e=n=l=i=t,{top:e,right:n,bottom:l,left:i}}R._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Yt=tt.extend({datasetElementType:gt.Line,dataElementType:gt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,l=this,i=l.getMeta(),r=i.dataset,o=i.data||[],a=l._config,s=l._showLine=It(a.showLine,l.chart.options.showLines);for(l._xScale=l.getScaleForId(i.xAxisID),l._yScale=l.getScaleForId(i.yAxisID),s&&(void 0!==a.tension&&void 0===a.lineTension&&(a.lineTension=a.tension),r._scale=l._yScale,r._datasetIndex=l.index,r._children=o,r._model=l._resolveDatasetElementOptions(r),r.pivot()),e=0,n=o.length;e<n;++e)l.updateElement(o[e],e,t);for(s&&0!==r._model.tension&&l.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var l,i,r=this,o=r.getMeta(),a=t.custom||{},s=r.getDataset(),u=r.index,c=s.data[e],d=r._xScale,h=r._yScale,p=o.dataset._model,f=r._resolveDataElementOptions(t,e);l=d.getPixelForValue("object"==typeof c?c:NaN,e,u),i=n?h.getBasePixel():r.calculatePointY(c,e,u),t._xScale=d,t._yScale=h,t._options=f,t._datasetIndex=u,t._index=e,t._model={x:l,y:i,skip:a.skip||isNaN(l)||isNaN(i),radius:f.radius,pointStyle:f.pointStyle,rotation:f.rotation,backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,tension:It(a.tension,p?p.tension:0),steppedLine:!!p&&p.steppedLine,hitRadius:f.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,l=t.custom||{},i=e.chart.options,r=i.elements.line,o=tt.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGaps=It(n.spanGaps,i.spanGaps),o.tension=It(n.lineTension,r.tension),o.steppedLine=Lt([l.steppedLine,n.steppedLine,r.stepped]),o.clip=Nt(It(n.clip,Ft(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var l,i,r,o,a,s,u=this.chart,c=this._yScale,d=0,h=0;if(c.options.stacked){for(o=+c.getRightValue(t),s=(a=u._getSortedVisibleDatasetMetas()).length,l=0;l<s&&(i=a[l]).index!==n;++l)"line"===i.type&&i.yAxisID===c.id&&((r=+c.getRightValue(u.data.datasets[i.index].data[e]))<0?h+=r||0:d+=r||0);return c.getPixelForValue(o<0?h+o:d+o)}return c.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,l,i=this.chart,r=this.getMeta(),o=r.dataset._model,a=i.chartArea,s=r.data||[];function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(s=s.filter((function(t){return!t._model.skip}))),"monotone"===o.cubicInterpolationMode)B.splineCurveMonotone(s);else for(t=0,e=s.length;t<e;++t)n=s[t]._model,l=B.splineCurve(B.previousItem(s,t)._model,n,B.nextItem(s,t)._model,o.tension),n.controlPointPreviousX=l.previous.x,n.controlPointPreviousY=l.previous.y,n.controlPointNextX=l.next.x,n.controlPointNextY=l.next.y;if(i.options.elements.line.capBezierPoints)for(t=0,e=s.length;t<e;++t)jt(n=s[t]._model,a)&&(t>0&&jt(s[t-1]._model,a)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,a.left,a.right),n.controlPointPreviousY=u(n.controlPointPreviousY,a.top,a.bottom)),t<s.length-1&&jt(s[t+1]._model,a)&&(n.controlPointNextX=u(n.controlPointNextX,a.left,a.right),n.controlPointNextY=u(n.controlPointNextY,a.top,a.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),l=n.data||[],i=e.chartArea,r=e.canvas,o=0,a=l.length;for(this._showLine&&(B.canvas.clipArea(e.ctx,{left:!1===(t=n.dataset._model.clip).left?0:i.left-t.left,right:!1===t.right?r.width:i.right+t.right,top:!1===t.top?0:i.top-t.top,bottom:!1===t.bottom?r.height:i.bottom+t.bottom}),n.dataset.draw(),B.canvas.unclipArea(e.ctx));o<a;++o)l[o].draw(i)},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=It(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=It(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=It(n.hoverBorderWidth,n.borderWidth),e.radius=It(n.hoverRadius,n.radius)}}),Ut=B.options.resolve;R._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data,o=r.datasets,a=r.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],a[e]&&l.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,l){var i=t.getDatasetMeta(0),r=i.controller.getStyle(l);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[l])||i.data[l].hidden,index:l}})):[]}},onClick:function(t,e){var n,l,i,r=e.index,o=this.chart;for(n=0,l=(o.data.datasets||[]).length;n<l;++n)(i=o.getDatasetMeta(n)).data[r].hidden=!i.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Bt=tt.extend({dataElementType:gt.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,l,i=this,r=i.getDataset(),o=i.getMeta(),a=i.chart.options.startAngle||0,s=i._starts=[],u=i._angles=[],c=o.data;for(i._updateRadius(),o.count=i.countVisibleElements(),e=0,n=r.data.length;e<n;e++)s[e]=a,l=i._computeAngle(e),u[e]=l,a+=l;for(e=0,n=c.length;e<n;++e)c[e]._options=i._resolveDataElementOptions(c[e],e),i.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,l=e.options,i=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(i/2,0),e.innerRadius=Math.max(l.cutoutPercentage?e.outerRadius/100*l.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,n){var l=this,i=l.chart,r=l.getDataset(),o=i.options,a=o.animation,s=i.scale,u=i.data.labels,c=s.xCenter,d=s.yCenter,h=o.startAngle,p=t.hidden?0:s.getDistanceFromCenterForValue(r.data[e]),f=l._starts[e],b=f+(t.hidden?0:l._angles[e]),m=a.animateScale?0:s.getDistanceFromCenterForValue(r.data[e]),g=t._options||{};B.extend(t,{_datasetIndex:l.index,_index:e,_scale:s,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?m:p,startAngle:n&&a.animateRotate?h:f,endAngle:n&&a.animateRotate?h:b,label:B.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return B.each(e.data,(function(e,l){isNaN(t.data[l])||e.hidden||n++})),n},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor,i=B.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=i(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=i(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,l=e.getDataset(),i=e.getMeta();return isNaN(l.data[t])||i.data[t].hidden?0:Ut([e.chart.options.elements.arc.angle,2*Math.PI/n],{chart:e.chart,dataIndex:t,dataset:l,datasetIndex:e.index},t)}});R._set("pie",B.clone(R.doughnut)),R._set("pie",{cutoutPercentage:0});var zt=Tt,Gt=B.valueOrDefault;R._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ht=tt.extend({datasetElementType:gt.Line,dataElementType:gt.Point,linkScales:B.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,l=this,i=l.getMeta(),r=i.dataset,o=i.data||[],a=l.chart.scale,s=l._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r._scale=a,r._datasetIndex=l.index,r._children=o,r._loop=!0,r._model=l._resolveDatasetElementOptions(r),r.pivot(),e=0,n=o.length;e<n;++e)l.updateElement(o[e],e,t);for(l.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var l=this,i=t.custom||{},r=l.getDataset(),o=l.chart.scale,a=o.getPointPositionForValue(e,r.data[e]),s=l._resolveDataElementOptions(t,e),u=l.getMeta().dataset._model,c=n?o.xCenter:a.x,d=n?o.yCenter:a.y;t._scale=o,t._options=s,t._datasetIndex=l.index,t._index=e,t._model={x:c,y:d,skip:i.skip||isNaN(c)||isNaN(d),radius:s.radius,pointStyle:s.pointStyle,rotation:s.rotation,backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,tension:Gt(i.tension,u?u.tension:0),hitRadius:s.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,l=tt.prototype._resolveDatasetElementOptions.apply(t,arguments);return l.spanGaps=Gt(e.spanGaps,n.spanGaps),l.tension=Gt(e.lineTension,n.elements.line.tension),l},updateBezierControlPoints:function(){var t,e,n,l,i=this.getMeta(),r=this.chart.chartArea,o=i.data||[];function a(t,e,n){return Math.max(Math.min(t,n),e)}for(i.dataset._model.spanGaps&&(o=o.filter((function(t){return!t._model.skip}))),t=0,e=o.length;t<e;++t)n=o[t]._model,l=B.splineCurve(B.previousItem(o,t,!0)._model,n,B.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousX=a(l.previous.x,r.left,r.right),n.controlPointPreviousY=a(l.previous.y,r.top,r.bottom),n.controlPointNextX=a(l.next.x,r.left,r.right),n.controlPointNextY=a(l.next.y,r.top,r.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Gt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=Gt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=Gt(n.hoverBorderWidth,n.borderWidth),e.radius=Gt(n.hoverRadius,n.radius)}});R._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),R._set("global",{datasets:{scatter:{showLine:!1}}});var Vt={bar:wt,bubble:St,doughnut:Tt,horizontalBar:Et,line:Yt,polarArea:Bt,pie:zt,radar:Ht,scatter:Yt};function qt(t,e){return t.native?{x:t.x,y:t.y}:B.getRelativePosition(t,e)}function Wt(t,e){var n,l,i,r,o,a,s=t._getSortedVisibleDatasetMetas();for(l=0,r=s.length;l<r;++l)for(i=0,o=(n=s[l].data).length;i<o;++i)(a=n[i])._view.skip||e(a)}function $t(t,e){var n=[];return Wt(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function Xt(t,e,n,l){var i=Number.POSITIVE_INFINITY,r=[];return Wt(t,(function(t){if(!n||t.inRange(e.x,e.y)){var o=t.getCenterPoint(),a=l(e,o);a<i?(r=[t],i=a):a===i&&r.push(t)}})),r}function Kt(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,l){var i=e?Math.abs(t.x-l.x):0,r=n?Math.abs(t.y-l.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(r,2))}}function Jt(t,e,n){var l=qt(e,t);n.axis=n.axis||"x";var i=Kt(n.axis),r=n.intersect?$t(t,l):Xt(t,l,!1,i),o=[];return r.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[r[0]._index];e&&!e._view.skip&&o.push(e)})),o):[]}var Qt={modes:{single:function(t,e){var n=qt(e,t),l=[];return Wt(t,(function(t){if(t.inRange(n.x,n.y))return l.push(t),l})),l.slice(0,1)},label:Jt,index:Jt,dataset:function(t,e,n){var l=qt(e,t);n.axis=n.axis||"xy";var i=Kt(n.axis),r=n.intersect?$t(t,l):Xt(t,l,!1,i);return r.length>0&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return Jt(t,e,{intersect:!1})},point:function(t,e){return $t(t,qt(e,t))},nearest:function(t,e,n){var l=qt(e,t);n.axis=n.axis||"xy";var i=Kt(n.axis);return Xt(t,l,n.intersect,i)},x:function(t,e,n){var l=qt(e,t),i=[],r=!1;return Wt(t,(function(t){t.inXRange(l.x)&&i.push(t),t.inRange(l.x,l.y)&&(r=!0)})),n.intersect&&!r&&(i=[]),i},y:function(t,e,n){var l=qt(e,t),i=[],r=!1;return Wt(t,(function(t){t.inYRange(l.y)&&i.push(t),t.inRange(l.x,l.y)&&(r=!0)})),n.intersect&&!r&&(i=[]),i}}},Zt=B.extend;function te(t,e){return B.where(t,(function(t){return t.pos===e}))}function ee(t,e){return t.sort((function(t,n){var l=e?n:t,i=e?t:n;return l.weight===i.weight?l.index-i.index:l.weight-i.weight}))}function ne(t,e,n,l){return Math.max(t[n],e[n])+Math.max(t[l],e[l])}function le(t,e,n){var l,i,r=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,t[n.pos]+=n.size,r.getPadding){var a=r.getPadding();o.top=Math.max(o.top,a.top),o.left=Math.max(o.left,a.left),o.bottom=Math.max(o.bottom,a.bottom),o.right=Math.max(o.right,a.right)}if(l=e.outerWidth-ne(o,t,"left","right"),i=e.outerHeight-ne(o,t,"top","bottom"),l!==t.w||i!==t.h){t.w=l,t.h=i;var s=n.horizontal?[l,t.w]:[i,t.h];return!(s[0]===s[1]||isNaN(s[0])&&isNaN(s[1]))}}function ie(t,e){var n,l=e.maxPadding;return n={left:0,top:0,right:0,bottom:0},(t?["left","right"]:["top","bottom"]).forEach((function(t){n[t]=Math.max(e[t],l[t])})),n}function re(t,e,n){var l,i,r,o,a,s,u=[];for(l=0,i=t.length;l<i;++l)(o=(r=t[l]).box).update(r.width||e.w,r.height||e.h,ie(r.horizontal,e)),le(e,n,r)&&(s=!0,u.length&&(a=!0)),o.fullWidth||u.push(r);return a&&re(u,e,n)||s}function oe(t,e,n){var l,i,r,o,a=n.padding,s=e.x,u=e.y;for(l=0,i=t.length;l<i;++l)o=(r=t[l]).box,r.horizontal?(o.left=o.fullWidth?a.left:e.left,o.right=o.fullWidth?n.outerWidth-a.right:e.left+e.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=s,o.right=s+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,s=o.right);e.x=s,e.y=u}R._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ae,se={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var l,i=["fullWidth","position","weight"],r=i.length,o=0;o<r;++o)n.hasOwnProperty(l=i[o])&&(e[l]=n[l])},update:function(t,e,n){if(t){var l=B.options.toPadding((t.options.layout||{}).padding),i=e-l.width,r=n-l.height,o=function(t){var e=function(t){var e,n,l,i=[];for(e=0,n=(t||[]).length;e<n;++e)i.push({index:e,box:l=t[e],pos:l.position,horizontal:l.isHorizontal(),weight:l.weight});return i}(t),n=ee(te(e,"left"),!0),l=ee(te(e,"right")),i=ee(te(e,"top"),!0),r=ee(te(e,"bottom"));return{leftAndTop:n.concat(i),rightAndBottom:l.concat(r),chartArea:te(e,"chartArea"),vertical:n.concat(l),horizontal:i.concat(r)}}(t.boxes),a=o.vertical,s=o.horizontal,u=Object.freeze({outerWidth:e,outerHeight:n,padding:l,availableWidth:i,vBoxMaxWidth:i/2/a.length,hBoxMaxHeight:r/2}),c=Zt({maxPadding:Zt({},l),w:i,h:r,x:l.left,y:l.top},l);!function(t,e){var n,l,i;for(n=0,l=t.length;n<l;++n)(i=t[n]).width=i.horizontal?i.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,i.height=i.horizontal&&e.hBoxMaxHeight}(a.concat(s),u),re(a,c,u),re(s,c,u)&&re(a,c,u),function(t){var e=t.maxPadding;function n(n){var l=Math.max(e[n]-t[n],0);return t[n]+=l,l}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(c),oe(o.leftAndTop,c,u),c.x+=c.w,c.y+=c.h,oe(o.rightAndBottom,c,u),t.chartArea={left:c.left,top:c.top,right:c.left+c.w,bottom:c.top+c.h},B.each(o.chartArea,(function(e){var n=e.box;Zt(n,t.chartArea),n.update(c.w,c.h)}))}}},ue=(ae=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&ae.default||ae,ce=["animationstart","webkitAnimationStart"],de={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function he(t,e){var n=B.getStyle(t,e),l=n&&n.match(/^(\d+)(\.\d+)?px$/);return l?Number(l[1]):void 0}var pe=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(n){}return t}()&&{passive:!0};function fe(t,e,n){t.addEventListener(e,n,pe)}function be(t,e,n){t.removeEventListener(e,n,pe)}function me(t,e,n,l,i){return{type:t,chart:e,native:i||null,x:void 0!==n?n:null,y:void 0!==l?l:null}}function ge(t){var e=document.createElement("div");return e.className=t||"",e}var _e={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t.$chartjs||(t.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var l=document.createElement("style");l.setAttribute("type","text/css"),l.appendChild(document.createTextNode(e)),t.appendChild(l)}}(e.host?e:document.head,ue)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,l=t.getAttribute("height"),i=t.getAttribute("width");if(t.$chartjs={initial:{height:l,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var r=he(t,"width");void 0!==r&&(t.width=r)}if(null===l||""===l)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=he(t,"height");void 0!==r&&(t.height=o)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e.$chartjs){var n=e.$chartjs.initial;["height","width"].forEach((function(t){var l=n[t];B.isNullOrUndef(l)?e.removeAttribute(t):e.setAttribute(t,l)})),B.each(n.style||{},(function(t,n){e.style[n]=t})),e.width=e.width,delete e.$chartjs}},addEventListener:function(t,e,n){var l=t.canvas;if("resize"!==e){var i=n.$chartjs||(n.$chartjs={});fe(l,e,(i.proxies||(i.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=de[t.type]||t.type,l=B.getRelativePosition(t,e);return me(n,e,l.x,l.y,t)}(e,t))})}else!function(t,e,n){var l,i,r,o,a=t.$chartjs||(t.$chartjs={}),s=a.resizer=function(t){var e=ge("chartjs-size-monitor"),n=ge("chartjs-size-monitor-expand"),l=ge("chartjs-size-monitor-shrink");n.appendChild(ge()),l.appendChild(ge()),e.appendChild(n),e.appendChild(l),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,l.scrollLeft=1e6,l.scrollTop=1e6};var i=function(){e._reset(),t()};return fe(n,"scroll",i.bind(n,"expand")),fe(l,"scroll",i.bind(l,"shrink")),e}((l=function(){if(a.resizer){var l=n.options.maintainAspectRatio&&t.parentNode,i=l?l.clientWidth:0;e(me("resize",n)),l&&l.clientWidth<i&&n.canvas&&e(me("resize",n))}},r=!1,o=[],function(){o=Array.prototype.slice.call(arguments),i=i||this,r||(r=!0,B.requestAnimFrame.call(window,(function(){r=!1,l.apply(i,o)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),l=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};B.each(ce,(function(e){fe(t,e,l)})),n.reflow=!!t.offsetParent,t.classList.add("chartjs-render-monitor")}(t,(function(){if(a.resizer){var e=t.parentNode;e&&e!==s.parentNode&&e.insertBefore(s,e.firstChild),s._reset()}}))}(l,n,t)},removeEventListener:function(t,e,n){var l,i,r,o=t.canvas;if("resize"!==e){var a=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];a&&be(o,e,a)}else r=(i=(l=o).$chartjs||{}).resizer,delete i.resizer,function(t){var e=t.$chartjs||{},n=e.renderProxy;n&&(B.each(ce,(function(e){be(t,e,n)})),delete e.renderProxy),t.classList.remove("chartjs-render-monitor")}(l),r&&r.parentNode&&r.parentNode.removeChild(r)}};B.addEvent=fe,B.removeEvent=be;var ye=B.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},_e._enabled?_e:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}});R._set("global",{plugins:{}});var Ae={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var l,i,r,o,a,s=this.descriptors(t),u=s.length;for(l=0;l<u;++l)if("function"==typeof(a=(r=(i=s[l]).plugin)[e])&&((o=[t].concat(n||[])).push(i.options),!1===a.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],l=[],i=t&&t.config||{},r=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach((function(t){if(-1===n.indexOf(t)){var e=t.id,i=r[e];!1!==i&&(!0===i&&(i=B.clone(R.global.plugins[e])),n.push(t),l.push({plugin:t,options:i||{}}))}})),e.descriptors=l,e.id=this._cacheId,l},_invalidate:function(t){delete t.$plugins}},ve={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=B.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?B.merge(Object.create(null),[R.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=B.extend(this.defaults[t],e))},addScalesToLayout:function(t){B.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,se.addBox(t,e)}))}},Ce=B.valueOrDefault,we=B.rtl.getRtlAdapter;R._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:B.noop,title:function(t,e){var n="",l=e.labels,i=l?l.length:0;if(t.length>0){var r=t[0];r.label?n=r.label:r.xLabel?n=r.xLabel:i>0&&r.index<i&&(n=l[r.index])}return n},afterTitle:B.noop,beforeBody:B.noop,beforeLabel:B.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),B.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:B.noop,afterBody:B.noop,beforeFooter:B.noop,footer:B.noop,afterFooter:B.noop}}});var Pe={average:function(t){if(!t.length)return!1;var e,n,l=0,i=0,r=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var a=o.tooltipPosition();l+=a.x,i+=a.y,++r}}return{x:l/r,y:i/r}},nearest:function(t,e){var n,l,i,r=e.x,o=e.y,a=Number.POSITIVE_INFINITY;for(n=0,l=t.length;n<l;++n){var s=t[n];if(s&&s.hasValue()){var u=s.getCenterPoint(),c=B.distanceBetweenPoints(e,u);c<a&&(a=c,i=s)}}if(i){var d=i.tooltipPosition();r=d.x,o=d.y}return{x:r,y:o}}};function xe(t,e){return e&&(B.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Se(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function ke(t){var e=R.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Ce(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Ce(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Ce(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Ce(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Ce(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Ce(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Ce(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Ce(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Ce(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Me(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Oe(t){return xe([],Se(t))}var De=q.extend({initialize:function(){this._model=ke(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,l=n.beforeTitle.apply(t,arguments),i=n.title.apply(t,arguments),r=n.afterTitle.apply(t,arguments),o=[];return o=xe(o,Se(l)),o=xe(o,Se(i)),xe(o,Se(r))},getBeforeBody:function(){return Oe(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,l=n._options.callbacks,i=[];return B.each(t,(function(t){var r={before:[],lines:[],after:[]};xe(r.before,Se(l.beforeLabel.call(n,t,e))),xe(r.lines,l.label.call(n,t,e)),xe(r.after,Se(l.afterLabel.call(n,t,e))),i.push(r)})),i},getAfterBody:function(){return Oe(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),l=e.footer.apply(t,arguments),i=e.afterFooter.apply(t,arguments),r=[];return r=xe(r,Se(n)),r=xe(r,Se(l)),xe(r,Se(i))},update:function(t){var e,n,l,i,r,o,a,s,u,c,d=this,h=d._options,p=d._model,f=d._model=ke(h),b=d._active,m=d._data,g={xAlign:p.xAlign,yAlign:p.yAlign},_={x:p.x,y:p.y},y={width:p.width,height:p.height},A={x:p.caretX,y:p.caretY};if(b.length){f.opacity=1;var v=[],C=[];A=Pe[h.position].call(d,b,d._eventPosition);var w=[];for(e=0,n=b.length;e<n;++e)w.push((i=void 0,r=void 0,s=void 0,u=void 0,c=void 0,i=(l=b[e])._xScale,r=l._yScale||l._scale,o=l._index,u=(s=l._chart.getDatasetMeta(a=l._datasetIndex).controller)._getIndexScale(),c=s._getValueScale(),{xLabel:i?i.getLabelForIndex(o,a):"",yLabel:r?r.getLabelForIndex(o,a):"",label:u?""+u.getLabelForIndex(o,a):"",value:c?""+c.getLabelForIndex(o,a):"",index:o,datasetIndex:a,x:l._model.x,y:l._model.y}));h.filter&&(w=w.filter((function(t){return h.filter(t,m)}))),h.itemSort&&(w=w.sort((function(t,e){return h.itemSort(t,e,m)}))),B.each(w,(function(t){v.push(h.callbacks.labelColor.call(d,t,d._chart)),C.push(h.callbacks.labelTextColor.call(d,t,d._chart))})),f.title=d.getTitle(w,m),f.beforeBody=d.getBeforeBody(w,m),f.body=d.getBody(w,m),f.afterBody=d.getAfterBody(w,m),f.footer=d.getFooter(w,m),f.x=A.x,f.y=A.y,f.caretPadding=h.caretPadding,f.labelColors=v,f.labelTextColors=C,f.dataPoints=w,y=function(t,e){var n=t._chart.ctx,l=2*e.yPadding,i=0,r=e.body,o=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0),a=e.title.length,s=e.footer.length,u=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;l+=a*u,l+=a?(a-1)*e.titleSpacing:0,l+=a?e.titleMarginBottom:0,l+=(o+=e.beforeBody.length+e.afterBody.length)*c,l+=o?(o-1)*e.bodySpacing:0,l+=s?e.footerMarginTop:0,l+=s*d,l+=s?(s-1)*e.footerSpacing:0;var h=0,p=function(t){i=Math.max(i,n.measureText(t).width+h)};return n.font=B.fontString(u,e._titleFontStyle,e._titleFontFamily),B.each(e.title,p),n.font=B.fontString(c,e._bodyFontStyle,e._bodyFontFamily),B.each(e.beforeBody.concat(e.afterBody),p),h=e.displayColors?c+2:0,B.each(r,(function(t){B.each(t.before,p),B.each(t.lines,p),B.each(t.after,p)})),h=0,n.font=B.fontString(d,e._footerFontStyle,e._footerFontFamily),B.each(e.footer,p),{width:i+=2*e.xPadding,height:l}}(this,f),_=function(t,e,n,l){var i=t.x,r=t.y,o=t.caretPadding,a=n.xAlign,s=n.yAlign,u=t.caretSize+o,c=t.cornerRadius+o;return"right"===a?i-=e.width:"center"===a&&((i-=e.width/2)+e.width>l.width&&(i=l.width-e.width),i<0&&(i=0)),"top"===s?r+=u:r-="bottom"===s?e.height+u:e.height/2,"center"===s?"left"===a?i+=u:"right"===a&&(i-=u):"left"===a?i-=c:"right"===a&&(i+=c),{x:i,y:r}}(f,y,g=function(t,e){var n,l,i,r,o,a=t._model,s=t._chart,u=t._chart.chartArea,c="center",d="center";a.y<e.height?d="top":a.y>s.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,p=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=h},l=function(t){return t>h}):(n=function(t){return t<=e.width/2},l=function(t){return t>=s.width-e.width/2}),i=function(t){return t+e.width+a.caretSize+a.caretPadding>s.width},r=function(t){return t-e.width-a.caretSize-a.caretPadding<0},o=function(t){return t<=p?"top":"bottom"},n(a.x)?(c="left",i(a.x)&&(c="center",d=o(a.y))):l(a.x)&&(c="right",r(a.x)&&(c="center",d=o(a.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:c,yAlign:f.yAlign?f.yAlign:d}}(this,y),d._chart)}else f.opacity=0;return f.xAlign=g.xAlign,f.yAlign=g.yAlign,f.x=_.x,f.y=_.y,f.width=y.width,f.height=y.height,f.caretX=A.x,f.caretY=A.y,d._model=f,t&&h.custom&&h.custom.call(d,f),d},drawCaret:function(t,e){var n=this._chart.ctx,l=this.getCaretPosition(t,e,this._view);n.lineTo(l.x1,l.y1),n.lineTo(l.x2,l.y2),n.lineTo(l.x3,l.y3)},getCaretPosition:function(t,e,n){var l,i,r,o,a,s,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,p=t.x,f=t.y,b=e.width,m=e.height;if("center"===h)a=f+m/2,"left"===d?(i=(l=p)-u,r=l,o=a+u,s=a-u):(i=(l=p+b)+u,r=l,o=a-u,s=a+u);else if("left"===d?(l=(i=p+c+u)-u,r=i+u):"right"===d?(l=(i=p+b-c-u)-u,r=i+u):(l=(i=n.caretX)-u,r=i+u),"top"===h)a=(o=f)-u,s=o;else{a=(o=f+m)+u,s=o;var g=r;r=l,l=g}return{x1:l,x2:i,x3:r,y1:o,y2:a,y3:s}},drawTitle:function(t,e,n){var l,i,r,o=e.title,a=o.length;if(a){var s=we(e.rtl,e.x,e.width);for(t.x=Me(e,e._titleAlign),n.textAlign=s.textAlign(e._titleAlign),n.textBaseline="middle",l=e.titleFontSize,i=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=B.fontString(l,e._titleFontStyle,e._titleFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(t.x),t.y+l/2),t.y+=l+i,r+1===a&&(t.y+=e.titleMarginBottom-i)}},drawBody:function(t,e,n){var l,i,r,o,a,s,u,c,d=e.bodyFontSize,h=e.bodySpacing,p=e._bodyAlign,f=e.body,b=e.displayColors,m=0,g=b?Me(e,"left"):0,_=we(e.rtl,e.x,e.width),y=function(e){n.fillText(e,_.x(t.x+m),t.y+d/2),t.y+=d+h},A=_.textAlign(p);for(n.textAlign=p,n.textBaseline="middle",n.font=B.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Me(e,A),n.fillStyle=e.bodyFontColor,B.each(e.beforeBody,y),m=b&&"right"!==A?"center"===p?d/2+1:d+2:0,a=0,u=f.length;a<u;++a){for(l=f[a],r=e.labelColors[a],n.fillStyle=i=e.labelTextColors[a],B.each(l.before,y),s=0,c=(o=l.lines).length;s<c;++s){if(b){var v=_.x(g);n.fillStyle=e.legendColorBackground,n.fillRect(_.leftForLtr(v,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=r.borderColor,n.strokeRect(_.leftForLtr(v,d),t.y,d,d),n.fillStyle=r.backgroundColor,n.fillRect(_.leftForLtr(_.xPlus(v,1),d-2),t.y+1,d-2,d-2),n.fillStyle=i}y(o[s])}B.each(l.after,y)}m=0,B.each(e.afterBody,y),t.y-=h},drawFooter:function(t,e,n){var l,i,r=e.footer,o=r.length;if(o){var a=we(e.rtl,e.x,e.width);for(t.x=Me(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=a.textAlign(e._footerAlign),n.textBaseline="middle",l=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=B.fontString(l,e._footerFontStyle,e._footerFontFamily),i=0;i<o;++i)n.fillText(r[i],a.x(t.x),t.y+l/2),t.y+=l+e.footerSpacing}},drawBackground:function(t,e,n,l){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var i=e.xAlign,r=e.yAlign,o=t.x,a=t.y,s=l.width,u=l.height,c=e.cornerRadius;n.beginPath(),n.moveTo(o+c,a),"top"===r&&this.drawCaret(t,l),n.lineTo(o+s-c,a),n.quadraticCurveTo(o+s,a,o+s,a+c),"center"===r&&"right"===i&&this.drawCaret(t,l),n.lineTo(o+s,a+u-c),n.quadraticCurveTo(o+s,a+u,o+s-c,a+u),"bottom"===r&&this.drawCaret(t,l),n.lineTo(o+c,a+u),n.quadraticCurveTo(o,a+u,o,a+u-c),"center"===r&&"left"===i&&this.drawCaret(t,l),n.lineTo(o,a+c),n.quadraticCurveTo(o,a,o+c,a),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},l={x:e.x,y:e.y},i=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(t.save(),t.globalAlpha=i,this.drawBackground(l,e,t,n),l.y+=e.yPadding,B.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(l,e,t),this.drawBody(l,e,t),this.drawFooter(l,e,t),B.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,l=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,l.mode,l),l.reverse&&n._active.reverse()),(e=!B.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(l.enabled||l.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}});De.positioners=Pe;var Te=B.valueOrDefault;function Ee(){return B.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,l){if("xAxes"===t||"yAxes"===t){var i,r,o,a=n[t].length;for(e[t]||(e[t]=[]),i=0;i<a;++i)r=Te((o=n[t][i]).type,"xAxes"===t?"category":"linear"),i>=e[t].length&&e[t].push({}),B.merge(e[t][i],!e[t][i].type||o.type&&o.type!==e[t][i].type?[ve.getScaleDefaults(r),o]:o)}else B._merger(t,e,n,l)}})}function Ie(){return B.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,l){var i=e[t]||Object.create(null),r=n[t];"scales"===t?e[t]=Ee(i,r):"scale"===t?e[t]=B.merge(i,[ve.getScaleDefaults(r.type),r]):B._merger(t,e,n,l)}})}function Le(t){var e=t.options;B.each(t.scales,(function(e){se.removeBox(t,e)})),e=Ie(R.global,R[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function je(t,e,n){var l,i=function(t){return t.id===l};do{l=e+n++}while(B.findIndex(t,i)>=0);return l}function Re(t){return"top"===t||"bottom"===t}function Fe(t,e){return function(n,l){return n[t]===l[t]?n[e]-l[e]:n[t]-l[t]}}R._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Ne=function(t,e){return this.construct(t,e),this};B.extend(Ne.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ie(R.global,R[t.type],t.options||{}),t}(e);var l=ye.acquireContext(t,e),i=l&&l.canvas,r=i&&i.height,o=i&&i.width;n.id=B.uid(),n.ctx=l,n.canvas=i,n.config=e,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Ne.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),l&&i?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Ae.notify(t,"beforeInit"),B.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Ae.notify(t,"afterInit"),t},clear:function(){return B.canvas.clear(this),this},stop:function(){return X.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,l=e.canvas,i=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(B.getMaximumWidth(l))),o=Math.max(0,Math.floor(i?r/i:B.getMaximumHeight(l)));if((e.width!==r||e.height!==o)&&(l.width=e.width=r,l.height=e.height=o,l.style.width=r+"px",l.style.height=o+"px",B.retinaScale(e,n.devicePixelRatio),!t)){var a={width:r,height:o};Ae.notify(e,"resize",[a]),n.onResize&&n.onResize(e,a),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;B.each(e.xAxes,(function(t,n){t.id||(t.id=je(e.xAxes,"x-axis-",n))})),B.each(e.yAxes,(function(t,n){t.id||(t.id=je(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},l=[],i=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(l=l.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&l.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),B.each(l,(function(e){var l=e.options,r=l.id,o=Te(l.type,e.dtype);Re(l.position)!==Re(e.dposition)&&(l.position=e.dposition),i[r]=!0;var a=null;if(r in n&&n[r].type===o)(a=n[r]).options=l,a.ctx=t.ctx,a.chart=t;else{var s=ve.getScaleConstructor(o);if(!s)return;a=new s({id:r,type:o,options:l,ctx:t.ctx,chart:t}),n[a.id]=a}a.mergeTicksOptions(),e.isDefault&&(t.scale=a)})),B.each(i,(function(t,e){t||delete n[e]})),t.scales=n,ve.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,l=[],i=n.data.datasets;for(t=0,e=i.length;t<e;t++){var r=i[t],o=n.getDatasetMeta(t),a=r.type||n.config.type;if(o.type&&o.type!==a&&(n.destroyDatasetMeta(t),o=n.getDatasetMeta(t)),o.type=a,o.order=r.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var s=Vt[o.type];if(void 0===s)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new s(n,t),l.push(o.controller)}}return l},resetElements:function(){var t=this;B.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,l=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Le(l),Ae._invalidate(l),!1!==Ae.notify(l,"beforeUpdate")){l.tooltip._data=l.data;var i=l.buildOrUpdateControllers();for(e=0,n=l.data.datasets.length;e<n;e++)l.getDatasetMeta(e).controller.buildOrUpdateElements();l.updateLayout(),l.options.animation&&l.options.animation.duration&&B.each(i,(function(t){t.reset()})),l.updateDatasets(),l.tooltip.initialize(),l.lastActive=[],Ae.notify(l,"afterUpdate"),l._layers.sort(Fe("z","_idx")),l._bufferedRender?l._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:l.render(t)}},updateLayout:function(){var t=this;!1!==Ae.notify(t,"beforeLayout")&&(se.update(this,this.width,this.height),t._layers=[],B.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idx=e})),Ae.notify(t,"afterScaleUpdate"),Ae.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Ae.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Ae.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==Ae.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),Ae.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,l=Te(t.duration,n&&n.duration),i=t.lazy;if(!1!==Ae.notify(e,"beforeRender")){var r=function(t){Ae.notify(e,"afterRender"),B.callback(n&&n.onComplete,[t],e)};if(n&&l){var o=new $({numSteps:l/16.66,easing:t.easing||n.easing,render:function(t,e){var n=e.currentStep,l=n/e.numSteps;t.draw((0,B.easing.effects[e.easing])(l),l,n)},onAnimationProgress:n.onProgress,onAnimationComplete:r});X.addAnimation(e,o,l,i)}else e.draw(),r(new $({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,l=this;if(l.clear(),B.isNullOrUndef(t)&&(t=1),l.transition(t),!(l.width<=0||l.height<=0)&&!1!==Ae.notify(l,"beforeDraw",[t])){for(n=l._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(l.chartArea);for(l.drawDatasets(t);e<n.length;++e)n[e].draw(l.chartArea);l._drawTooltip(t),Ae.notify(l,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,l=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||l.push(this.getDatasetMeta(e));return l.sort(Fe("order","index")),l},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==Ae.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);Ae.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Ae.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Ae.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Ae.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Ae.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return Qt.modes.single(this,t)},getElementsAtEvent:function(t){return Qt.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Qt.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var l=Qt.modes[e];return"function"==typeof l?l(this,t,n):[]},getDatasetAtEvent:function(t){return Qt.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],l=n._meta&&n._meta[e];l&&(l.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,l=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);l&&(n.unbindEvents(),B.canvas.clear(n),ye.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Ae.notify(n,"destroy"),delete Ne.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new De({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};B.each(t.options.events,(function(l){ye.addEventListener(t,l,n),e[l]=n})),t.options.responsive&&(n=function(){t.resize()},ye.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,B.each(e,(function(e,n){ye.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var l,i,r,o=n?"set":"remove";for(i=0,r=t.length;i<r;++i)(l=t[i])&&this.getDatasetMeta(l._datasetIndex).controller[o+"HoverStyle"](l);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Ae.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var l=e.handleEvent(t);n&&(l=n._start?n.handleEvent(t):l|n.handleEvent(t)),Ae.notify(e,"afterEvent",[t]);var i=e._bufferedRequest;return i?e.render(i):l&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,l=n.options||{},i=l.hover;return n.lastActive=n.lastActive||[],n.active="mouseout"===t.type?[]:n.getElementsAtEventForMode(t,i.mode,i),B.callback(l.onHover||l.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||l.onClick&&l.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),e=!B.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),Ne.instances={};var Ye=Ne;function Ue(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Be(t){this.options=t||{}}Ne.Controller=Ne,Ne.types={},B.configMerge=Ie,B.scaleMerge=Ee,B.extend(Be.prototype,{formats:Ue,parse:Ue,format:Ue,add:Ue,diff:Ue,startOf:Ue,endOf:Ue,_create:function(t){return t}}),Be.override=function(t){B.extend(Be.prototype,t)};var ze={_date:Be},Ge={formatters:{values:function(t){return B.isArray(t)?t:""+t},linear:function(t,e,n){var l=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(l)>1&&t!==Math.floor(t)&&(l=t-Math.floor(t));var i=B.log10(Math.abs(l)),r="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=B.log10(Math.abs(t)),a=Math.floor(o)-Math.floor(i);a=Math.max(Math.min(a,20),0),r=t.toExponential(a)}else{var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),r=t.toFixed(s)}else r="0";return r},logarithmic:function(t,e,n){var l=t/Math.pow(10,Math.floor(B.log10(t)));return 0===t?"0":1===l||2===l||5===l||0===e||e===n.length-1?t.toExponential():""}}},He=B.isArray,Ve=B.isNullOrUndef,qe=B.valueOrDefault,We=B.valueAtIndexOrDefault;function $e(t,e,n){var l,i=t.getTicks().length,r=Math.min(e,i-1),o=t.getPixelForTick(r),a=t._startPixel,s=t._endPixel;if(!(n&&(l=1===i?Math.max(o-a,s-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+=r<e?l:-l)<a-1e-6||o>s+1e-6)))return o}function Xe(t){return t.drawTicks?t.tickMarkLength:0}function Ke(t){var e,n;return t.display?(e=B.options._parseFont(t),n=B.options.toPadding(t.padding),e.lineHeight+n.height):0}function Je(t,e){return B.extend(B.options._parseFont({fontFamily:qe(e.fontFamily,t.fontFamily),fontSize:qe(e.fontSize,t.fontSize),fontStyle:qe(e.fontStyle,t.fontStyle),lineHeight:qe(e.lineHeight,t.lineHeight)}),{color:B.options.resolve([e.fontColor,t.fontColor,R.global.defaultFontColor])})}function Qe(t){var e=Je(t,t.minor);return{minor:e,major:t.major.enabled?Je(t,t.major):e}}function Ze(t){var e,n,l,i=[];for(n=0,l=t.length;n<l;++n)void 0!==(e=t[n])._index&&i.push(e);return i}function tn(t,e,n,l){var i,r,o,a,s=qe(n,0),u=Math.min(qe(l,t.length),t.length),c=0;for(e=Math.ceil(e),l&&(e=(i=l-n)/Math.floor(i/e)),a=s;a<0;)c++,a=Math.round(s+c*e);for(r=Math.max(s,0);r<u;r++)o=t[r],r===a?(o._index=r,c++,a=Math.round(s+c*e)):delete o.label}R._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Ge.formatters.values,minor:{},major:{}}});var en=q.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var l,i,r,o,a,s=this,u=s.options.ticks,c=u.sampleSize;if(s.beforeUpdate(),s.maxWidth=t,s.maxHeight=e,s.margins=B.extend({left:0,right:0,top:0,bottom:0},n),s._ticks=null,s.ticks=null,s._labelSizes=null,s._maxLabelLines=0,s.longestLabelWidth=0,s.longestTextCache=s.longestTextCache||{},s._gridLineItems=null,s._labelItems=null,s.beforeSetDimensions(),s.setDimensions(),s.afterSetDimensions(),s.beforeDataLimits(),s.determineDataLimits(),s.afterDataLimits(),s.beforeBuildTicks(),o=s.buildTicks()||[],(!(o=s.afterBuildTicks(o)||o)||!o.length)&&s.ticks)for(o=[],l=0,i=s.ticks.length;l<i;++l)o.push({value:s.ticks[l],major:!1});return s._ticks=o,r=s._convertTicksToLabels((a=c<o.length)?function(t,e){for(var n=[],l=t.length/e,i=0,r=t.length;i<r;i+=l)n.push(t[Math.floor(i)]);return n}(o,c):o),s._configure(),s.beforeCalculateTickRotation(),s.calculateTickRotation(),s.afterCalculateTickRotation(),s.beforeFit(),s.fit(),s.afterFit(),s._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?s._autoSkip(o):o,a&&(r=s._convertTicksToLabels(s._ticksToDraw)),s.ticks=r,s.afterUpdate(),s.minSize},_configure:function(){var t,e,n=this,l=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,l=!l),n._startPixel=t,n._endPixel=e,n._reversePixels=l,n._length=e-t},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(t){var e=this;return He(t)&&t.length?B.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=B.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,l,i,r,o,a=this,s=a.options,u=s.ticks,c=a.getTicks().length,d=u.minRotation||0,h=u.maxRotation,p=d;!a._isVisible()||!u.display||d>=h||c<=1||!a.isHorizontal()?a.labelRotation=d:(e=(t=a._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,l=Math.min(a.maxWidth,a.chart.width-e),e+6>(i=s.offset?a.maxWidth/c:l/(c-1))&&(i=l/(c-(s.offset?.5:1)),r=a.maxHeight-Xe(s.gridLines)-u.padding-Ke(s.scaleLabel),o=Math.sqrt(e*e+n*n),p=B.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/i,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),p=Math.max(d,Math.min(h,p))),a.labelRotation=p)},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,l=t.options,i=l.ticks,r=l.scaleLabel,o=l.gridLines,a=t._isVisible(),s="bottom"===l.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:a&&(e.width=Xe(o)+Ke(r)),u?a&&(e.height=Xe(o)+Ke(r)):e.height=t.maxHeight,i.display&&a){var c=Qe(i),d=t._getLabelSizes(),h=d.first,p=d.last,f=d.widest,b=d.highest,m=.4*c.minor.lineHeight,g=i.padding;if(u){var _=0!==t.labelRotation,y=B.toRadians(t.labelRotation),A=Math.cos(y),v=Math.sin(y);e.height=Math.min(t.maxHeight,e.height+(v*f.width+A*(b.height-(_?b.offset:0))+(_?0:m))+g);var C,w,P=t.getPixelForTick(0)-t.left,x=t.right-t.getPixelForTick(t.getTicks().length-1);_?(C=s?A*h.width+v*h.offset:v*(h.height-h.offset),w=s?v*(p.height-p.offset):A*p.width+v*p.offset):(C=h.width/2,w=p.width/2),t.paddingLeft=Math.max((C-P)*t.width/(t.width-P),0)+3,t.paddingRight=Math.max((w-x)*t.width/(t.width-x),0)+3}else e.width=Math.min(t.maxWidth,e.width+(i.mirror?0:f.width+g+m)),t.paddingTop=h.height/2,t.paddingBottom=p.height/2}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(Ve(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,l,i=this;for(i.ticks=t.map((function(t){return t.value})),i.beforeTickToLabelConversion(),e=i.convertTicksToLabels(t)||i.ticks,i.afterTickToLabelConversion(),n=0,l=t.length;n<l;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m,g=n.length,_=[],y=[],A=[],v=0,C=0;for(i=0;i<g;++i){if(a=n[i].label,t.font=u=(s=n[i].major?e.major:e.minor).string,c=l[u]=l[u]||{data:{},gc:[]},d=s.lineHeight,h=p=0,Ve(a)||He(a)){if(He(a))for(r=0,o=a.length;r<o;++r)Ve(f=a[r])||He(f)||(h=B.measureText(t,c.data,c.gc,h,f),p+=d)}else h=B.measureText(t,c.data,c.gc,h,a),p=d;_.push(h),y.push(p),A.push(d/2),v=Math.max(h,v),C=Math.max(p,C)}function w(t){return{width:_[t]||0,height:y[t]||0,offset:A[t]||0}}return function(t,e){B.each(t,(function(t){var n,l=t.gc,i=l.length/2;if(i>e){for(n=0;n<i;++n)delete t.data[l[n]];l.splice(0,i)}}))}(l,g),b=_.indexOf(v),m=y.indexOf(C),{first:w(0),last:w(g-1),widest:w(b),highest:w(m)}}(t.ctx,Qe(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,l,i;return He(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),l=Math.min(e,n),i=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),l=t,i=t),{min:l,max:i,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,l=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*l+(e?l/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,l,i,r=this.options.ticks,o=r.maxTicksLimit||this._length/this._tickSize()+1,a=r.major.enabled?function(t){var e,n,l=[];for(e=0,n=t.length;e<n;e++)t[e].major&&l.push(e);return l}(t):[],s=a.length,u=a[0],c=a[s-1];if(s>o)return function(t,e,n){var l,i,r=0,o=e[0];for(n=Math.ceil(n),l=0;l<t.length;l++)i=t[l],l===o?(i._index=l,o=e[++r*n]):delete i.label}(t,a,s/o),Ze(t);if(l=function(t,e,n,l){var i,r,o,a,s=function(t){var e,n,l=t.length;if(l<2)return!1;for(n=t[0],e=1;e<l;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),u=(e.length-1)/l;if(!s)return Math.max(u,1);for(o=0,a=(i=B.math._factorize(s)).length-1;o<a;o++)if((r=i[o])>u)return r;return Math.max(u,1)}(a,t,0,o),s>0){for(e=0,n=s-1;e<n;e++)tn(t,l,a[e],a[e+1]);return tn(t,l,B.isNullOrUndef(i=s>1?(c-u)/(s-1):null)?0:u-i,u),tn(t,l,c,B.isNullOrUndef(i)?t.length:c+i),Ze(t)}return tn(t,l),Ze(t)},_tickSize:function(){var t=this.options.ticks,e=B.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),l=Math.abs(Math.sin(e)),i=this._getLabelSizes(),r=t.autoSkipPadding||0,o=i?i.widest.width+r:0,a=i?i.highest.height+r:0;return this.isHorizontal()?a*n>o*l?o/n:a/l:a*l<o*n?a/n:o/l},_isVisible:function(){var t,e,n,l=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(t=0,e=l.data.datasets.length;t<e;++t)if(l.isDatasetVisible(t)&&((n=l.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,l,i,r,o,a,s,u,c,d,h,p,f,b,m,g,_=this,y=_.chart,A=_.options,v=A.gridLines,C=A.position,w=v.offsetGridLines,P=_.isHorizontal(),x=_._ticksToDraw,S=x.length+(w?1:0),k=Xe(v),M=[],O=v.drawBorder?We(v.lineWidth,0,0):0,D=O/2,T=B._alignPixel,E=function(t){return T(y,t,O)};for("top"===C?(e=E(_.bottom),a=_.bottom-k,u=e-D,d=E(t.top)+D,p=t.bottom):"bottom"===C?(e=E(_.top),d=t.top,p=E(t.bottom)-D,a=e+D,u=_.top+k):"left"===C?(e=E(_.right),o=_.right-k,s=e-D,c=E(t.left)+D,h=t.right):(e=E(_.left),c=t.left,h=E(t.right)-D,o=e+D,s=_.left+k),n=0;n<S;++n)Ve((l=x[n]||{}).label)&&n<x.length||(n===_.zeroLineIndex&&A.offset===w?(f=v.zeroLineWidth,b=v.zeroLineColor,m=v.zeroLineBorderDash||[],g=v.zeroLineBorderDashOffset||0):(f=We(v.lineWidth,n,1),b=We(v.color,n,"rgba(0,0,0,0.1)"),m=v.borderDash||[],g=v.borderDashOffset||0),void 0!==(i=$e(_,l._index||n,w))&&(r=T(y,i,f),P?o=s=c=h=r:a=u=d=p=r,M.push({tx1:o,ty1:a,tx2:s,ty2:u,x1:c,y1:d,x2:h,y2:p,width:f,color:b,borderDash:m,borderDashOffset:g})));return M.ticksLength=S,M.borderValue=e,M},_computeLabelItems:function(){var t,e,n,l,i,r,o,a,s,u,c,d,h=this,p=h.options,f=p.ticks,b=p.position,m=f.mirror,g=h.isHorizontal(),_=h._ticksToDraw,y=Qe(f),A=f.padding,v=Xe(p.gridLines),C=-B.toRadians(h.labelRotation),w=[];for("top"===b?(r=h.bottom-v-A,o=C?"left":"center"):"bottom"===b?(r=h.top+v+A,o=C?"right":"center"):"left"===b?(i=h.right-(m?0:v)-A,o=m?"left":"right"):(i=h.left+(m?0:v)+A,o=m?"right":"left"),t=0,e=_.length;t<e;++t)Ve(l=(n=_[t]).label)||(a=h.getPixelForTick(n._index||t)+f.labelOffset,u=(s=n.major?y.major:y.minor).lineHeight,c=He(l)?l.length:1,g?(i=a,d="top"===b?((C?1:.5)-c)*u:(C?0:.5)*u):(r=a,d=(1-c)*u/2),w.push({x:i,y:r,rotation:C,label:l,font:s,textOffset:d,textAlign:o}));return w},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var l,i,r,o,a,s=e.ctx,u=e.chart,c=B._alignPixel,d=n.drawBorder?We(n.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(r=0,o=h.length;r<o;++r)i=(a=h[r]).color,(l=a.width)&&i&&(s.save(),s.lineWidth=l,s.strokeStyle=i,s.setLineDash&&(s.setLineDash(a.borderDash),s.lineDashOffset=a.borderDashOffset),s.beginPath(),n.drawTicks&&(s.moveTo(a.tx1,a.ty1),s.lineTo(a.tx2,a.ty2)),n.drawOnChartArea&&(s.moveTo(a.x1,a.y1),s.lineTo(a.x2,a.y2)),s.stroke(),s.restore());if(d){var p,f,b,m,g=d,_=We(n.lineWidth,h.ticksLength-1,1),y=h.borderValue;e.isHorizontal()?(p=c(u,e.left,g)-g/2,f=c(u,e.right,_)+_/2,b=m=y):(b=c(u,e.top,g)-g/2,m=c(u,e.bottom,_)+_/2,p=f=y),s.lineWidth=d,s.strokeStyle=We(n.color,0),s.beginPath(),s.moveTo(p,b),s.lineTo(f,m),s.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,l,i,r,o,a,s,u=t.ctx,c=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,l=c.length;e<l;++e){if(o=(r=c[e]).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=r.textAlign,s=r.textOffset,He(a=r.label))for(n=0,i=a.length;n<i;++n)u.fillText(""+a[n],0,s),s+=o.lineHeight;else u.fillText(a,0,s);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,l=n.scaleLabel;if(l.display){var i,r,o=qe(l.fontColor,R.global.defaultFontColor),a=B.options._parseFont(l),s=B.options.toPadding(l.padding),u=a.lineHeight/2,c=n.position,d=0;if(t.isHorizontal())i=t.left+t.width/2,r="bottom"===c?t.bottom-u-s.bottom:t.top+u+s.top;else{var h="left"===c;i=h?t.left+u+s.top:t.right-u-s.top,r=t.top+t.height/2,d=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(i,r),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=o,e.font=a.string,e.fillText(l.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,l=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==l&&t.draw===t._draw?[{z:l,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(l){return(!t||l.type===t)&&(n?l.xAxisID===e.id:l.yAxisID===e.id)}))}});en.prototype._draw=en.prototype.draw;var nn=en,ln=B.isNullOrUndef,rn=nn.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),l=e.options.ticks,i=l.min,r=l.max,o=0,a=n.length-1;void 0!==i&&(t=n.indexOf(i))>=0&&(o=t),void 0!==r&&(t=n.indexOf(r))>=0&&(a=t),e.minIndex=o,e.maxIndex=a,e.min=n[o],e.max=n[a]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;nn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var l,i,r,o=this;return ln(e)||ln(n)||(t=o.chart.data.datasets[n].data[e]),ln(t)||(l=o.isHorizontal()?t.x:t.y),(void 0!==l||void 0!==t&&isNaN(e))&&(i=o._getLabels(),t=B.valueOrDefault(l,t),e=-1!==(r=i.indexOf(t))?r:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});rn._defaults={position:"bottom"};var on=B.isNullOrUndef,an=nn.extend({getRightValue:function(t){return"string"==typeof t?+t:nn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=B.sign(t.min),l=B.sign(t.max);n<0&&l<0?t.max=0:n>0&&l>0&&(t.min=0)}var i=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),i!==r&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,l=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),l=l||11),l&&(t=Math.min(l,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:B.noop,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),l={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:B.valueOrDefault(e.fixedStepSize,e.stepSize)},i=t.ticks=function(t,e){var n,l,i,r,o=[],a=t.stepSize,s=a||1,u=t.maxTicks-1,c=t.min,d=t.max,h=t.precision,p=e.min,f=e.max,b=B.niceNum((f-p)/u/s)*s;if(b<1e-14&&on(c)&&on(d))return[p,f];(r=Math.ceil(f/b)-Math.floor(p/b))>u&&(b=B.niceNum(r*b/u/s)*s),a||on(h)?n=Math.pow(10,B._decimalPlaces(b)):(n=Math.pow(10,h),b=Math.ceil(b*n)/n),l=Math.floor(p/b)*b,i=Math.ceil(f/b)*b,a&&(!on(c)&&B.almostWhole(c/b,b/1e3)&&(l=c),!on(d)&&B.almostWhole(d/b,b/1e3)&&(i=d)),r=B.almostEquals(r=(i-l)/b,Math.round(r),b/1e3)?Math.round(r):Math.ceil(r),l=Math.round(l*n)/n,i=Math.round(i*n)/n,o.push(on(c)?l:c);for(var m=1;m<r;++m)o.push(Math.round((l+m*b)*n)/n);return o.push(on(d)?i:d),o}(l,t);t.handleDirectionalChanges(),t.max=B.max(i),t.min=B.min(i),e.reverse?(i.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),nn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),l=e.min,i=e.max;nn.prototype._configure.call(e),e.options.offset&&n.length&&(l-=t=(i-l)/Math.max(n.length-1,1)/2,i+=t),e._startValue=l,e._endValue=i,e._valueRange=i-l}}),sn={position:"left",ticks:{callback:Ge.formatters.linear}};function un(t,e,n,l){var i,r,o=t.options,a=function(t,e,n){var l=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[l]&&(t[l]={pos:[],neg:[]}),t[l]}(e,o.stacked,n),s=a.pos,u=a.neg,c=l.length;for(i=0;i<c;++i)r=t._parseValue(l[i]),isNaN(r.min)||isNaN(r.max)||n.data[i].hidden||(s[i]=s[i]||0,u[i]=u[i]||0,o.relativePoints?s[i]=100:r.min<0||r.max<0?u[i]+=r.min:s[i]+=r.max)}function cn(t,e,n){var l,i,r=n.length;for(l=0;l<r;++l)i=t._parseValue(n[l]),isNaN(i.min)||isNaN(i.max)||e.data[l].hidden||(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}var dn=an.extend({determineDataLimits:function(){var t,e,n,l,i=this,r=i.options,o=i.chart.data.datasets,a=i._getMatchingVisibleMetas(),s=r.stacked,u={},c=a.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===s)for(t=0;!s&&t<c;++t)s=void 0!==(e=a[t]).stack;for(t=0;t<c;++t)n=o[(e=a[t]).index].data,s?un(i,u,e,n):cn(i,e,n);B.each(u,(function(t){l=t.pos.concat(t.neg),i.min=Math.min(i.min,B.min(l)),i.max=Math.max(i.max,B.max(l))})),i.min=B.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=B.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=B.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}});dn._defaults=sn;var hn=B.valueOrDefault,pn=B.math.log10,fn={position:"left",ticks:{callback:Ge.formatters.logarithmic}};function bn(t,e){return B.isFinite(t)&&t>=0?t:e}var mn=nn.extend({determineDataLimits:function(){var t,e,n,l,i,r,o=this,a=o.options,s=o.chart,u=s.data.datasets,c=o.isHorizontal();function d(t){return c?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=a.stacked;if(void 0===h)for(t=0;t<u.length;t++)if(e=s.getDatasetMeta(t),s.isDatasetVisible(t)&&d(e)&&void 0!==e.stack){h=!0;break}if(a.stacked||h){var p={};for(t=0;t<u.length;t++){var f=[(e=s.getDatasetMeta(t)).type,void 0===a.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(s.isDatasetVisible(t)&&d(e))for(void 0===p[f]&&(p[f]=[]),i=0,r=(l=u[t].data).length;i<r;i++){var b=p[f];n=o._parseValue(l[i]),isNaN(n.min)||isNaN(n.max)||e.data[i].hidden||n.min<0||n.max<0||(b[i]=b[i]||0,b[i]+=n.max)}}B.each(p,(function(t){if(t.length>0){var e=B.min(t),n=B.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t<u.length;t++)if(e=s.getDatasetMeta(t),s.isDatasetVisible(t)&&d(e))for(i=0,r=(l=u[t].data).length;i<r;i++)n=o._parseValue(l[i]),isNaN(n.min)||isNaN(n.max)||e.data[i].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=B.isFinite(o.min)?o.min:null,o.max=B.isFinite(o.max)?o.max:null,o.minNotZero=B.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=bn(e.min,t.min),t.max=bn(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(pn(t.min))-1),t.max=Math.pow(10,Math.floor(pn(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(pn(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(pn(t.min))+1):10),null===t.minNotZero&&(t.minNotZero=t.min>0?t.min:t.max<1?Math.pow(10,Math.floor(pn(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),l={min:bn(e.min),max:bn(e.max)},i=t.ticks=function(t,e){var n,l,i=[],r=hn(t.min,Math.pow(10,Math.floor(pn(e.min)))),o=Math.floor(pn(e.max)),a=Math.ceil(e.max/Math.pow(10,o));0===r?(n=Math.floor(pn(e.minNotZero)),l=Math.floor(e.minNotZero/Math.pow(10,n)),i.push(r),r=l*Math.pow(10,n)):(n=Math.floor(pn(r)),l=Math.floor(r/Math.pow(10,n)));var s=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(r),10==++l&&(l=1,s=++n>=0?1:s),r=Math.round(l*Math.pow(10,n)*s)/s}while(n<o||n===o&&l<a);var u=hn(t.max,r);return i.push(u),i}(l,t);t.max=B.max(i),t.min=B.min(i),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),nn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(pn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;nn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=hn(t.options.ticks.fontSize,R.global.defaultFontSize)/t._length),t._startValue=pn(e),t._valueOffset=n,t._valueRange=(pn(t.max)-pn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(pn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}});mn._defaults=fn;var gn=B.valueOrDefault,_n=B.valueAtIndexOrDefault,yn=B.options.resolve,An={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Ge.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function vn(t){var e=t.ticks;return e.display&&t.display?gn(e.fontSize,R.global.defaultFontSize)+2*e.backdropPaddingY:0}function Cn(t,e,n,l,i){return t===l||t===i?{start:e-n/2,end:e+n/2}:t<l||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function wn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Pn(t,e,n,l){var i,r,o=n.y+l/2;if(B.isArray(e))for(i=0,r=e.length;i<r;++i)t.fillText(e[i],n.x,o),o+=l;else t.fillText(e,n.x,o)}function xn(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function Sn(t){return B.isNumber(t)?t:0}var kn=an.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=vn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;B.each(e.data.datasets,(function(i,r){if(e.isDatasetVisible(r)){var o=e.getDatasetMeta(r);B.each(i.data,(function(e,i){var r=+t.getRightValue(e);isNaN(r)||o.data[i].hidden||(n=Math.min(r,n),l=Math.max(r,l))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=l===Number.NEGATIVE_INFINITY?0:l,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/vn(this.options))},convertTicksToLabels:function(){var t=this;an.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=B.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,l,i=B.options._parseFont(t.options.pointLabels),r={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=i.string,t._pointLabelSizes=[];var a,s,u,c=t.chart.data.labels.length;for(e=0;e<c;e++){l=t.getPointPosition(e,t.drawingArea+5),a=t.ctx,s=i.lineHeight,n=B.isArray(u=t.pointLabels[e])?{w:B.longestText(a,a.font,u),h:u.length*s}:{w:a.measureText(u).width,h:s},t._pointLabelSizes[e]=n;var d=t.getIndexAngle(e),h=B.toDegrees(d)%360,p=Cn(h,l.x,n.w,0,180),f=Cn(h,l.y,n.h,90,270);p.start<r.l&&(r.l=p.start,o.l=d),p.end>r.r&&(r.r=p.end,o.r=d),f.start<r.t&&(r.t=f.start,o.t=d),f.end>r.b&&(r.b=f.end,o.b=d)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var l=this,i=e.l/Math.sin(n.l),r=Math.max(e.r-l.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),a=-Math.max(e.b-(l.height-l.paddingTop),0)/Math.cos(n.b);i=Sn(i),r=Sn(r),o=Sn(o),a=Sn(a),l.drawingArea=Math.min(Math.floor(t-(i+r)/2),Math.floor(t-(o+a)/2)),l.setCenterPoint(i,r,o,a)},setCenterPoint:function(t,e,n,l){var i=this,r=n+i.drawingArea,o=i.height-i.paddingTop-l-i.drawingArea;i.xCenter=Math.floor((t+i.drawingArea+(i.width-e-i.drawingArea))/2+i.left),i.yCenter=Math.floor((r+o)/2+i.top+i.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(B.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,l=this,i=l.ctx,r=l.options,o=r.gridLines,a=r.angleLines,s=gn(a.lineWidth,o.lineWidth),u=gn(a.color,o.color);if(r.pointLabels.display&&function(t){var e=t.ctx,n=t.options,l=n.pointLabels,i=vn(n),r=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=B.options._parseFont(l);e.save(),e.font=o.string,e.textBaseline="middle";for(var a=t.chart.data.labels.length-1;a>=0;a--){var s=t.getPointPosition(a,r+(0===a?i/2:0)+5),u=_n(l.fontColor,a,R.global.defaultFontColor);e.fillStyle=u;var c=t.getIndexAngle(a),d=B.toDegrees(c);e.textAlign=wn(d),xn(d,t._pointLabelSizes[a],s),Pn(e,t.pointLabels[a],s,o.lineHeight)}e.restore()}(l),o.display&&B.each(l.ticks,(function(t,n){0!==n&&(e=l.getDistanceFromCenterForValue(l.ticksAsNumbers[n]),function(t,e,n,l){var i,r=t.ctx,o=e.circular,a=t.chart.data.labels.length,s=_n(e.color,l-1),u=_n(e.lineWidth,l-1);if((o||a)&&s&&u){if(r.save(),r.strokeStyle=s,r.lineWidth=u,r.setLineDash&&(r.setLineDash(e.borderDash||[]),r.lineDashOffset=e.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{i=t.getPointPosition(0,n),r.moveTo(i.x,i.y);for(var c=1;c<a;c++)i=t.getPointPosition(c,n),r.lineTo(i.x,i.y)}r.closePath(),r.stroke(),r.restore()}}(l,o,e,n))})),a.display&&s&&u){for(i.save(),i.lineWidth=s,i.strokeStyle=u,i.setLineDash&&(i.setLineDash(yn([a.borderDash,o.borderDash,[]])),i.lineDashOffset=yn([a.borderDashOffset,o.borderDashOffset,0])),t=l.chart.data.labels.length-1;t>=0;t--)e=l.getDistanceFromCenterForValue(r.ticks.reverse?l.min:l.max),n=l.getPointPosition(t,e),i.beginPath(),i.moveTo(l.xCenter,l.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var l,i,r=t.getIndexAngle(0),o=B.options._parseFont(n),a=gn(n.fontColor,R.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",B.each(t.ticks,(function(r,s){(0!==s||n.reverse)&&(l=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]),n.showLabelBackdrop&&(i=e.measureText(r).width,e.fillStyle=n.backdropColor,e.fillRect(-i/2-n.backdropPaddingX,-l-o.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=a,e.fillText(r,0,-l))})),e.restore()}},_drawTitle:B.noop});kn._defaults=An;var Mn=B._deprecated,On=B.options.resolve,Dn=B.valueOrDefault,Tn=Number.MIN_SAFE_INTEGER||-9007199254740991,En=Number.MAX_SAFE_INTEGER||9007199254740991,In={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ln=Object.keys(In);function jn(t,e){return t-e}function Rn(t){return B.valueOrDefault(t.time.min,t.ticks.min)}function Fn(t){return B.valueOrDefault(t.time.max,t.ticks.max)}function Nn(t,e,n,l){var i=function(t,e,n){for(var l,i,r,o=0,a=t.length-1;o>=0&&o<=a;){if(r=t[l=o+a>>1],!(i=t[l-1]||null))return{lo:null,hi:r};if(r[e]<n)o=l+1;else{if(!(i[e]>n))return{lo:i,hi:r};a=l-1}}return{lo:r,hi:null}}(t,e,n),r=i.lo?i.hi?i.lo:t[t.length-2]:t[0],o=i.lo?i.hi?i.hi:t[t.length-1]:t[1],a=o[e]-r[e];return r[l]+(o[l]-r[l])*(a?(n-r[e])/a:0)}function Yn(t,e){var n=t._adapter,l=t.options.time,i=l.parser,r=i||l.format,o=e;return"function"==typeof i&&(o=i(o)),B.isFinite(o)||(o="string"==typeof r?n.parse(o,r):n.parse(o)),null!==o?+o:(i||"function"!=typeof r||(o=r(e),B.isFinite(o)||(o=n.parse(o))),o)}function Un(t,e){if(B.isNullOrUndef(e))return null;var n=t.options.time,l=Yn(t,t.getRightValue(e));return null===l||n.round&&(l=+t._adapter.startOf(l,n.round)),l}function Bn(t,e,n,l){var i,r,o=Ln.length;for(i=Ln.indexOf(t);i<o-1;++i)if((r=In[Ln[i]]).common&&Math.ceil((n-e)/((r.steps?r.steps:En)*r.size))<=l)return Ln[i];return Ln[o-1]}function zn(t,e,n){var l,i,r=[],o={},a=e.length;for(l=0;l<a;++l)o[i=e[l]]=l,r.push({value:i,major:!1});return 0!==a&&n?function(t,e,n,l){var i,r,o=t._adapter,a=+o.startOf(e[0].value,l),s=e[e.length-1].value;for(i=a;i<=s;i=+o.add(i,1,l))(r=n[i])>=0&&(e[r].major=!0);return e}(t,r,o,n):r}var Gn=nn.extend({initialize:function(){this.mergeTicksOptions(),nn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),l=t._adapter=new ze._date(e.adapters.date);return Mn("time scale",n.format,"time.format","time.parser"),Mn("time scale",n.min,"time.min","ticks.min"),Mn("time scale",n.max,"time.max","ticks.max"),B.mergeIf(n.displayFormats,l.formats()),nn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),nn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,l,i,r,o,a=this,s=a.chart,u=a._adapter,c=a.options,d=c.time.unit||"day",h=En,p=Tn,f=[],b=[],m=[],g=a._getLabels();for(t=0,n=g.length;t<n;++t)m.push(Un(a,g[t]));for(t=0,n=(s.data.datasets||[]).length;t<n;++t)if(s.isDatasetVisible(t))if(B.isObject((i=s.data.datasets[t].data)[0]))for(b[t]=[],e=0,l=i.length;e<l;++e)r=Un(a,i[e]),f.push(r),b[t][e]=r;else b[t]=m.slice(0),o||(f=f.concat(m),o=!0);else b[t]=[];m.length&&(h=Math.min(h,m[0]),p=Math.max(p,m[m.length-1])),f.length&&(f=n>1?function(t){var e,n,l,i={},r=[];for(e=0,n=t.length;e<n;++e)i[l=t[e]]||(i[l]=!0,r.push(l));return r}(f).sort(jn):f.sort(jn),h=Math.min(h,f[0]),p=Math.max(p,f[f.length-1])),h=Un(a,Rn(c))||h,p=Un(a,Fn(c))||p,h=h===En?+u.startOf(Date.now(),d):h,p=p===Tn?+u.endOf(Date.now(),d)+1:p,a.min=Math.min(h,p),a.max=Math.max(h+1,p),a._table=[],a._timestamps={data:f,datasets:b,labels:m}},buildTicks:function(){var t,e,n,l=this,i=l.min,r=l.max,o=l.options,a=o.ticks,s=o.time,u=l._timestamps,c=[],d=l.getLabelCapacity(i),h=a.source,p=o.distribution;for(u="data"===h||"auto"===h&&"series"===p?u.data:"labels"===h?u.labels:function(t,e,n,l){var i,r=t._adapter,o=t.options,a=o.time,s=a.unit||Bn(a.minUnit,e,n,l),u=On([a.stepSize,a.unitStepSize,1]),c="week"===s&&a.isoWeekday,d=e,h=[];if(c&&(d=+r.startOf(d,"isoWeek",c)),d=+r.startOf(d,c?"day":s),r.diff(n,e,s)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+s;for(i=d;i<n;i=+r.add(i,u,s))h.push(i);return i!==n&&"ticks"!==o.bounds||h.push(i),h}(l,i,r,d),"ticks"===o.bounds&&u.length&&(i=u[0],r=u[u.length-1]),i=Un(l,Rn(o))||i,r=Un(l,Fn(o))||r,t=0,e=u.length;t<e;++t)(n=u[t])>=i&&n<=r&&c.push(n);return l.min=i,l.max=r,l._unit=s.unit||(a.autoSkip?Bn(s.minUnit,l.min,l.max,d):function(t,e,n,l,i){var r,o;for(r=Ln.length-1;r>=Ln.indexOf(n);r--)if(In[o=Ln[r]].common&&t._adapter.diff(i,l,o)>=e-1)return o;return Ln[n?Ln.indexOf(n):0]}(l,c.length,s.minUnit,l.min,l.max)),l._majorUnit=a.major.enabled&&"year"!==l._unit?function(t){for(var e=Ln.indexOf(t)+1,n=Ln.length;e<n;++e)if(In[Ln[e]].common)return Ln[e]}(l._unit):void 0,l._table=function(t,e,n,l){if("linear"===l||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var i,r,o,a,s,u=[],c=[e];for(i=0,r=t.length;i<r;++i)(a=t[i])>e&&a<n&&c.push(a);for(c.push(n),i=0,r=c.length;i<r;++i)s=c[i+1],a=c[i],void 0!==(o=c[i-1])&&void 0!==s&&Math.round((s+o)/2)===a||u.push({time:a,pos:i/(r-1)});return u}(l._timestamps.data,i,r,p),l._offsets=function(t,e,n,l,i){var r,o,a=0,s=0;return i.offset&&e.length&&(r=Nn(t,"time",e[0],"pos"),a=1===e.length?1-r:(Nn(t,"time",e[1],"pos")-r)/2,o=Nn(t,"time",e[e.length-1],"pos"),s=1===e.length?o:(o-Nn(t,"time",e[e.length-2],"pos"))/2),{start:a,end:s,factor:1/(a+1+s)}}(l._table,c,0,0,o),a.reverse&&c.reverse(),zn(l,c,l._majorUnit)},getLabelForIndex:function(t,e){var n=this,l=n._adapter,i=n.chart.data,r=n.options.time,o=i.labels&&t<i.labels.length?i.labels[t]:"",a=i.datasets[e].data[t];return B.isObject(a)&&(o=n.getRightValue(a)),r.tooltipFormat?l.format(Yn(n,o),r.tooltipFormat):"string"==typeof o?o:l.format(Yn(n,o),r.displayFormats.datetime)},tickFormatFunction:function(t,e,n,l){var i=this.options,r=i.time.displayFormats,o=this._majorUnit,a=r[o],s=n[e],u=i.ticks,c=o&&a&&s&&s.major,d=this._adapter.format(t,l||(c?a:r[this._unit])),h=c?u.major:u.minor,p=On([h.callback,h.userCallback,u.callback,u.userCallback]);return p?p(d,e,n):d},convertTicksToLabels:function(t){var e,n,l=[];for(e=0,n=t.length;e<n;++e)l.push(this.tickFormatFunction(t[e].value,e,t));return l},getPixelForOffset:function(t){var e=this._offsets,n=Nn(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var l=null;if(void 0!==e&&void 0!==n&&(l=this._timestamps.datasets[n][e]),null===l&&(l=Un(this,t)),null!==l)return this.getPixelForOffset(l)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,l=Nn(this._table,"pos",n,"time");return this._adapter._create(l)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,l=B.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),i=Math.cos(l),r=Math.sin(l),o=Dn(e.fontSize,R.global.defaultFontSize);return{w:n*i+o*r,h:n*r+o*i}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,l=n.displayFormats,i=l[n.unit]||l.millisecond,r=e.tickFormatFunction(t,0,zn(e,[t],e._majorUnit),i),o=e._getLabelSize(r),a=Math.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&a--,a>0?a:1}});Gn._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Hn={category:rn,linear:dn,logarithmic:mn,radialLinear:kn,time:Gn},Vn={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ze._date.override("function"==typeof t?{_id:"moment",formats:function(){return Vn},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,l){return t(e).add(n,l).valueOf()},diff:function(e,n,l){return t(e).diff(t(n),l)},startOf:function(e,n,l){return e=t(e),"isoWeek"===n?e.isoWeekday(l).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),R._set("global",{plugins:{filler:{propagate:!0}}});var qn={dataset:function(t){var e=t.fill,n=t.chart,l=n.getDatasetMeta(e),i=l&&n.isDatasetVisible(e)&&l.dataset._children||[],r=i.length||0;return r?function(t,e){return e<r&&i[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,l=e?e.y:null;return B.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===l?t.y:l}}}};function Wn(t,e,n){var l,i=t._model||{},r=i.fill;if(void 0===r&&(r=!!i.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(l=parseFloat(r,10),isFinite(l)&&Math.floor(l)===l)return"-"!==r[0]&&"+"!==r[0]||(l=e+l),!(l===e||l<0||l>=n)&&l;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function $n(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,l,i,r,o=t.el._scale,a=o.options,s=o.chart.data.labels.length,u=t.fill,c=[];if(!s)return null;for(n=a.ticks.reverse?o.min:o.max,l=o.getPointPositionForValue(0,e=a.ticks.reverse?o.max:o.min),i=0;i<s;++i)r="start"===u||"end"===u?o.getPointPositionForValue(i,"start"===u?e:n):o.getBasePosition(i),a.gridLines.circular&&(r.cx=l.x,r.cy=l.y,r.angle=o.getIndexAngle(i)-Math.PI/2),c.push(r);return c}(t):function(t){var e,n=t.el._model||{},l=t.el._scale||{},i=t.fill,r=null;if(isFinite(i))return null;if("start"===i?r=void 0===n.scaleBottom?l.bottom:n.scaleBottom:"end"===i?r=void 0===n.scaleTop?l.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:l.getBasePixel&&(r=l.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if(B.isFinite(r))return{x:(e=l.isHorizontal())?r:null,y:e?null:r}}return null}(t)}function Xn(t,e,n){var l,i=t[e].fill,r=[e];if(!n)return i;for(;!1!==i&&-1===r.indexOf(i);){if(!isFinite(i))return i;if(!(l=t[i]))return!1;if(l.visible)return i;r.push(i),i=l.fill}return!1}function Kn(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),qn[n](t))}function Jn(t){return t&&!t.skip}function Qn(t,e,n,l,i){var r,o,a,s;if(l&&i){for(t.moveTo(e[0].x,e[0].y),r=1;r<l;++r)B.canvas.lineTo(t,e[r-1],e[r]);if(void 0===n[0].angle)for(t.lineTo(n[i-1].x,n[i-1].y),r=i-1;r>0;--r)B.canvas.lineTo(t,n[r],n[r-1],!0);else for(o=n[0].cx,a=n[0].cy,s=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-a,2)),r=i-1;r>0;--r)t.arc(o,a,s,n[r].angle,n[r-1].angle,!0)}}function Zn(t,e,n,l,i,r){var o,a,s,u,c,d,h,p,f=e.length,b=l.spanGaps,m=[],g=[],_=0,y=0;for(t.beginPath(),o=0,a=f;o<a;++o)c=n(u=e[s=o%f]._view,s,l),d=Jn(u),h=Jn(c),r&&void 0===p&&d&&(a=f+(p=o+1)),d&&h?(_=m.push(u),y=g.push(c)):_&&y&&(b?(d&&m.push(u),h&&g.push(c)):(Qn(t,m,g,_,y),_=y=0,m=[],g=[]));Qn(t,m,g,_,y),t.closePath(),t.fillStyle=i,t.fill()}var tl={id:"filler",afterDatasetsUpdate:function(t,e){var n,l,i,r,o=(t.data.datasets||[]).length,a=e.propagate,s=[];for(l=0;l<o;++l)r=null,(i=(n=t.getDatasetMeta(l)).dataset)&&i._model&&i instanceof gt.Line&&(r={visible:t.isDatasetVisible(l),fill:Wn(i,l,o),chart:t,el:i}),n.$filler=r,s.push(r);for(l=0;l<o;++l)(r=s[l])&&(r.fill=Xn(s,l,a),r.boundary=$n(r),r.mapper=Kn(r))},beforeDatasetsDraw:function(t){var e,n,l,i,r,o,a,s=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=s.length-1;n>=0;--n)(e=s[n].$filler)&&e.visible&&(r=(l=e.el)._children||[],a=(i=l._view).backgroundColor||R.global.defaultColor,(o=e.mapper)&&a&&r.length&&(B.canvas.clipArea(u,t.chartArea),Zn(u,r,o,i,a,l._loop),B.canvas.unclipArea(u)))}},el=B.rtl.getRtlAdapter,nl=B.noop,ll=B.valueOrDefault;function il(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}R._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,l=this.chart,i=l.getDatasetMeta(n);i.hidden=null===i.hidden?!l.data.datasets[n].hidden:null,l.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},l=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var i=n.controller.getStyle(l?0:void 0);return{text:e[n.index].label,fillStyle:i.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data.datasets;for(i.setAttribute("class",t.id+"-legend"),e=0,n=r.length;e<n;e++)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[e].backgroundColor,r[e].label&&l.appendChild(document.createTextNode(r[e].label));return i.outerHTML}});var rl=q.extend({initialize:function(t){B.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:nl,update:function(t,e,n){var l=this;return l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=n,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeBuildLabels(),l.buildLabels(),l.afterBuildLabels(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.minSize},afterUpdate:nl,beforeSetDimensions:nl,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:nl,beforeBuildLabels:nl,buildLabels:function(){var t=this,e=t.options.labels||{},n=B.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:nl,beforeFit:nl,fit:function(){var t=this,e=t.options,n=e.labels,l=e.display,i=t.ctx,r=B.options._parseFont(n),o=r.size,a=t.legendHitBoxes=[],s=t.minSize,u=t.isHorizontal();if(u?(s.width=t.maxWidth,s.height=l?10:0):(s.width=l?10:0,s.height=t.maxHeight),l){if(i.font=r.string,u){var c=t.lineWidths=[0],d=0;i.textAlign="left",i.textBaseline="middle",B.each(t.legendItems,(function(t,e){var l=il(n,o)+o/2+i.measureText(t.text).width;(0===e||c[c.length-1]+l+2*n.padding>s.width)&&(d+=o+n.padding,c[c.length-(e>0?0:1)]=0),a[e]={left:0,top:0,width:l,height:o},c[c.length-1]+=l+n.padding})),s.height+=d}else{var h=n.padding,p=t.columnWidths=[],f=t.columnHeights=[],b=n.padding,m=0,g=0;B.each(t.legendItems,(function(t,e){var l=il(n,o)+o/2+i.measureText(t.text).width;e>0&&g+o+2*h>s.height&&(b+=m+n.padding,p.push(m),f.push(g),m=0,g=0),m=Math.max(m,l),g+=o+h,a[e]={left:0,top:0,width:l,height:o}})),b+=m,p.push(m),f.push(g),s.width+=b}t.width=s.width,t.height=s.height}else t.width=s.width=t.height=s.height=0},afterFit:nl,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,l=R.global,i=l.defaultColor,r=l.elements.line,o=t.height,a=t.columnHeights,s=t.width,u=t.lineWidths;if(e.display){var c,d=el(e.rtl,t.left,t.minSize.width),h=t.ctx,p=ll(n.fontColor,l.defaultFontColor),f=B.options._parseFont(n),b=f.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=p,h.fillStyle=p,h.font=f.string;var m=il(n,b),g=t.legendHitBoxes,_=function(t,l){switch(e.align){case"start":return n.padding;case"end":return t-l;default:return(t-l+n.padding)/2}},y=t.isHorizontal();c=y?{x:t.left+_(s,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+_(o,a[0]),line:0},B.rtl.overrideTextDirection(t.ctx,e.textDirection);var A=b+n.padding;B.each(t.legendItems,(function(e,l){var p=h.measureText(e.text).width,f=m+b/2+p,v=c.x,C=c.y;d.setWidth(t.minSize.width),y?l>0&&v+f+n.padding>t.left+t.minSize.width&&(C=c.y+=A,c.line++,v=c.x=t.left+_(s,u[c.line])):l>0&&C+A>t.top+t.minSize.height&&(v=c.x=v+t.columnWidths[c.line]+n.padding,c.line++,C=c.y=t.top+_(o,a[c.line]));var w=d.x(v);!function(t,e,l){if(!(isNaN(m)||m<=0)){h.save();var o=ll(l.lineWidth,r.borderWidth);if(h.fillStyle=ll(l.fillStyle,i),h.lineCap=ll(l.lineCap,r.borderCapStyle),h.lineDashOffset=ll(l.lineDashOffset,r.borderDashOffset),h.lineJoin=ll(l.lineJoin,r.borderJoinStyle),h.lineWidth=o,h.strokeStyle=ll(l.strokeStyle,i),h.setLineDash&&h.setLineDash(ll(l.lineDash,r.borderDash)),n&&n.usePointStyle){var a=m*Math.SQRT2/2,s=d.xPlus(t,m/2);B.canvas.drawPoint(h,l.pointStyle,a,s,e+b/2,l.rotation)}else h.fillRect(d.leftForLtr(t,m),e,m,b),0!==o&&h.strokeRect(d.leftForLtr(t,m),e,m,b);h.restore()}}(w,C,e),g[l].left=d.leftForLtr(w,g[l].width),g[l].top=C,function(t,e,n,l){var i=b/2,r=d.xPlus(t,m+i),o=e+i;h.fillText(n.text,r,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(r,o),h.lineTo(d.xPlus(r,l),o),h.stroke())}(w,C,e,p),y?c.x+=f+n.padding:c.y+=A})),B.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,l,i,r=this;if(t>=r.left&&t<=r.right&&e>=r.top&&e<=r.bottom)for(i=r.legendHitBoxes,n=0;n<i.length;++n)if(t>=(l=i[n]).left&&t<=l.left+l.width&&e>=l.top&&e<=l.top+l.height)return r.legendItems[n];return null},handleEvent:function(t){var e,n=this,l=n.options,i="mouseup"===t.type?"click":t.type;if("mousemove"===i){if(!l.onHover&&!l.onLeave)return}else{if("click"!==i)return;if(!l.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===i?e&&l.onClick&&l.onClick.call(n,t.native,e):(l.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&l.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),l.onHover&&e&&l.onHover.call(n,t.native,e))}});function ol(t,e){var n=new rl({ctx:t.ctx,options:e,chart:t});se.configure(t,n,e),se.addBox(t,n),t.legend=n}var al={id:"legend",_element:rl,beforeInit:function(t){var e=t.options.legend;e&&ol(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(B.mergeIf(e,R.global.legend),n?(se.configure(t,n,e),n.options=e):ol(t,e)):n&&(se.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},sl=B.noop;R._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ul=q.extend({initialize:function(t){B.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:sl,update:function(t,e,n){var l=this;return l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=n,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeBuildLabels(),l.buildLabels(),l.afterBuildLabels(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.minSize},afterUpdate:sl,beforeSetDimensions:sl,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:sl,beforeBuildLabels:sl,buildLabels:sl,afterBuildLabels:sl,beforeFit:sl,fit:function(){var t,e=this,n=e.options,l=e.minSize={},i=e.isHorizontal();n.display?(t=(B.isArray(n.text)?n.text.length:1)*B.options._parseFont(n).lineHeight+2*n.padding,e.width=l.width=i?e.maxWidth:t,e.height=l.height=i?t:e.maxHeight):e.width=l.width=e.height=l.height=0},afterFit:sl,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var l,i,r,o=B.options._parseFont(n),a=o.lineHeight,s=a/2+n.padding,u=0,c=t.top,d=t.left,h=t.bottom,p=t.right;e.fillStyle=B.valueOrDefault(n.fontColor,R.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(i=d+(p-d)/2,r=c+s,l=p-d):(i="left"===n.position?d+s:p-s,r=c+(h-c)/2,l=h-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(i,r),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var f=n.text;if(B.isArray(f))for(var b=0,m=0;m<f.length;++m)e.fillText(f[m],0,b,l),b+=a;else e.fillText(f,0,0,l);e.restore()}}});function cl(t,e){var n=new ul({ctx:t.ctx,options:e,chart:t});se.configure(t,n,e),se.addBox(t,n),t.titleBlock=n}var dl={},hl=tl,pl=al,fl={id:"title",_element:ul,beforeInit:function(t){var e=t.options.title;e&&cl(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(B.mergeIf(e,R.global.title),n?(se.configure(t,n,e),n.options=e):cl(t,e)):n&&(se.removeBox(t,n),delete t.titleBlock)}};for(var bl in dl.filler=hl,dl.legend=pl,dl.title=fl,Ye.helpers=B,function(){function t(t,e,n){var l;return"string"==typeof t?(l=parseInt(t,10),-1!==t.indexOf("%")&&(l=l/100*e.parentNode[n])):l=t,l}function e(t){return null!=t&&"none"!==t}function n(n,l,i){var r=document.defaultView,o=B._getParentNode(n),a=r.getComputedStyle(n)[l],s=r.getComputedStyle(o)[l],u=e(a),c=e(s),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?t(a,n,i):d,c?t(s,o,i):d):"none"}B.where=function(t,e){if(B.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return B.each(t,(function(t){e(t)&&n.push(t)})),n},B.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var l=0,i=t.length;l<i;++l)if(e.call(n,t[l],l,t))return l;return-1},B.findNextWhere=function(t,e,n){B.isNullOrUndef(n)&&(n=-1);for(var l=n+1;l<t.length;l++){var i=t[l];if(e(i))return i}},B.findPreviousWhere=function(t,e,n){B.isNullOrUndef(n)&&(n=t.length);for(var l=n-1;l>=0;l--){var i=t[l];if(e(i))return i}},B.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},B.almostEquals=function(t,e,n){return Math.abs(t-e)<n},B.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},B.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},B.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},B.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},B.toRadians=function(t){return t*(Math.PI/180)},B.toDegrees=function(t){return t*(180/Math.PI)},B._decimalPlaces=function(t){if(B.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},B.getAngleFromPoint=function(t,e){var n=e.x-t.x,l=e.y-t.y,i=Math.sqrt(n*n+l*l),r=Math.atan2(l,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:i}},B.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},B.aliasPixel=function(t){return t%2==0?0:.5},B._alignPixel=function(t,e,n){var l=t.currentDevicePixelRatio,i=n/2;return Math.round((e-i)*l)/l+i},B.splineCurve=function(t,e,n,l){var i=t.skip?e:t,r=e,o=n.skip?e:n,a=Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2)),s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=a/(a+s),c=s/(a+s),d=l*(u=isNaN(u)?0:u),h=l*(c=isNaN(c)?0:c);return{previous:{x:r.x-d*(o.x-i.x),y:r.y-d*(o.y-i.y)},next:{x:r.x+h*(o.x-i.x),y:r.y+h*(o.y-i.y)}}},B.EPSILON=Number.EPSILON||1e-14,B.splineCurveMonotone=function(t){var e,n,l,i,r,o,a,s,u,c=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),d=c.length;for(e=0;e<d;++e)if(!(l=c[e]).model.skip){if(n=e>0?c[e-1]:null,(i=e<d-1?c[e+1]:null)&&!i.model.skip){var h=i.model.x-l.model.x;l.deltaK=0!==h?(i.model.y-l.model.y)/h:0}l.mK=!n||n.model.skip?l.deltaK:!i||i.model.skip?n.deltaK:this.sign(n.deltaK)!==this.sign(l.deltaK)?0:(n.deltaK+l.deltaK)/2}for(e=0;e<d-1;++e)i=c[e+1],(l=c[e]).model.skip||i.model.skip||(B.almostEquals(l.deltaK,0,this.EPSILON)?l.mK=i.mK=0:(r=l.mK/l.deltaK,o=i.mK/l.deltaK,(s=Math.pow(r,2)+Math.pow(o,2))<=9||(a=3/Math.sqrt(s),l.mK=r*a*l.deltaK,i.mK=o*a*l.deltaK)));for(e=0;e<d;++e)(l=c[e]).model.skip||(i=e<d-1?c[e+1]:null,(n=e>0?c[e-1]:null)&&!n.model.skip&&(l.model.controlPointPreviousX=l.model.x-(u=(l.model.x-n.model.x)/3),l.model.controlPointPreviousY=l.model.y-u*l.mK),i&&!i.model.skip&&(l.model.controlPointNextX=l.model.x+(u=(i.model.x-l.model.x)/3),l.model.controlPointNextY=l.model.y+u*l.mK))},B.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},B.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},B.niceNum=function(t,e){var n=Math.floor(B.log10(t)),l=t/Math.pow(10,n);return(e?l<1.5?1:l<3?2:l<7?5:10:l<=1?1:l<=2?2:l<=5?5:10)*Math.pow(10,n)},B.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},B.getRelativePosition=function(t,e){var n,l,i=t.originalEvent||t,r=t.target||t.srcElement,o=r.getBoundingClientRect(),a=i.touches;a&&a.length>0?(n=a[0].clientX,l=a[0].clientY):(n=i.clientX,l=i.clientY);var s=parseFloat(B.getStyle(r,"padding-left")),u=parseFloat(B.getStyle(r,"padding-top")),c=parseFloat(B.getStyle(r,"padding-right")),d=parseFloat(B.getStyle(r,"padding-bottom")),h=o.bottom-o.top-u-d;return{x:n=Math.round((n-o.left-s)/(o.right-o.left-s-c)*r.width/e.currentDevicePixelRatio),y:l=Math.round((l-o.top-u)/h*r.height/e.currentDevicePixelRatio)}},B.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},B.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},B._calculatePadding=function(t,e,n){return(e=B.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},B._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},B.getMaximumWidth=function(t){var e=B._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,l=n-B._calculatePadding(e,"padding-left",n)-B._calculatePadding(e,"padding-right",n),i=B.getConstraintWidth(t);return isNaN(i)?l:Math.min(l,i)},B.getMaximumHeight=function(t){var e=B._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,l=n-B._calculatePadding(e,"padding-top",n)-B._calculatePadding(e,"padding-bottom",n),i=B.getConstraintHeight(t);return isNaN(i)?l:Math.min(l,i)},B.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},B.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var l=t.canvas,i=t.height,r=t.width;l.height=i*n,l.width=r*n,t.ctx.scale(n,n),l.style.height||l.style.width||(l.style.height=i+"px",l.style.width=r+"px")}},B.fontString=function(t,e,n){return e+" "+t+"px "+n},B.longestText=function(t,e,n,l){var i=(l=l||{}).data=l.data||{},r=l.garbageCollect=l.garbageCollect||[];l.font!==e&&(i=l.data={},r=l.garbageCollect=[],l.font=e),t.font=e;var o,a,s,u,c,d=0,h=n.length;for(o=0;o<h;o++)if(null!=(u=n[o])&&!0!==B.isArray(u))d=B.measureText(t,i,r,d,u);else if(B.isArray(u))for(a=0,s=u.length;a<s;a++)null==(c=u[a])||B.isArray(c)||(d=B.measureText(t,i,r,d,c));var p=r.length/2;if(p>n.length){for(o=0;o<p;o++)delete i[r[o]];r.splice(0,p)}return d},B.measureText=function(t,e,n,l,i){var r=e[i];return r||(r=e[i]=t.measureText(i).width,n.push(i)),r>l&&(l=r),l},B.numberOfLabelLines=function(t){var e=1;return B.each(t,(function(t){B.isArray(t)&&t.length>e&&(e=t.length)})),e},B.color=A?function(t){return t instanceof CanvasGradient&&(t=R.global.defaultColor),A(t)}:function(t){return console.error("Color.js not found!"),t},B.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:B.color(t).saturate(.5).darken(.1).rgbString()}}(),Ye._adapters=ze,Ye.Animation=$,Ye.animationService=X,Ye.controllers=Vt,Ye.DatasetController=tt,Ye.defaults=R,Ye.Element=q,Ye.elements=gt,Ye.Interaction=Qt,Ye.layouts=se,Ye.platform=ye,Ye.plugins=Ae,Ye.Scale=nn,Ye.scaleService=ve,Ye.Ticks=Ge,Ye.Tooltip=De,Ye.helpers.each(Hn,(function(t,e){Ye.scaleService.registerScaleType(e,t,t._defaults)})),dl)dl.hasOwnProperty(bl)&&Ye.plugins.register(dl[bl]);Ye.platform.initialize();var ml=Ye;return"undefined"!=typeof window&&(window.Chart=Ye),Ye.Chart=Ye,Ye.Legend=dl.legend._element,Ye.Title=dl.title._element,Ye.pluginService=Ye.plugins,Ye.PluginBase=Ye.Element.extend({}),Ye.canvasHelpers=Ye.helpers.canvas,Ye.layoutService=Ye.layouts,Ye.LinearScaleBase=an,Ye.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Ye[t]=function(e,n){return new Ye(e,Ye.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),ml}(function(){try{return n("wd/R")}catch(t){}}())},Mc5n:function(t,e,n){"use strict";n.d(e,"g",(function(){return X})),n.d(e,"e",(function(){return it})),n.d(e,"b",(function(){return K})),n.d(e,"j",(function(){return I})),n.d(e,"k",(function(){return L})),n.d(e,"h",(function(){return rt})),n.d(e,"i",(function(){return W})),n.d(e,"f",(function(){return nt})),n.d(e,"a",(function(){return Z})),n.d(e,"c",(function(){return tt})),n.d(e,"d",(function(){return Q})),n.d(e,"l",(function(){return J}));var l=n("/HVE"),i=n("KCVW"),r=n("XNiG"),o=n("quSY"),a=n("l5mm"),s=n("eNwd"),u=n("HDdC"),c=n("VRyK"),d=n("JX91"),h=n("1G5W"),p=n("lJxs"),f=n("IzEk"),b=n("vkgz"),m=n("eIep"),g=n("8Y7J"),_=n("SVse"),y=n("hOhj");function A(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function v(t,e){const n=e?"":"none";A(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function C(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function w(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}const P=Object(l.g)({passive:!0}),x=Object(l.g)({passive:!1});class S{constructor(t,e,n,l,i,a){this._config=e,this._document=n,this._ngZone=l,this._viewportRuler=i,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new r.a,this._pointerMoveSubscription=o.a.EMPTY,this._pointerUpSubscription=o.a.EMPTY,this._scrollSubscription=o.a.EMPTY,this._resizeSubscription=o.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new r.a,this.started=new r.a,this.released=new r.a,this.ended=new r.a,this.entered=new r.a,this.exited=new r.a,this.dropped=new r.a,this.moved=this._moveEvents.asObservable(),this._pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const n=t.target;return!!n&&(n===e||e.contains(n))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{if(!this._hasStartedDragging){const e=this._getPointerPositionOnPage(t);if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){if(!(Date.now()>=this._dragStartTime+(this.dragStartDelay||0)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const e=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,t.preventDefault(),this._updatePointerDirectionDelta(e),this._dropContainer)this._updateActiveDropContainer(e);else{const t=this._activeTransform;t.x=e.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=e.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:e,event:t,distance:this._getDragDistance(e),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t),a.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Object(i.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}withHandles(t){return this._handles=t.map(t=>Object(i.e)(t)),this._handles.forEach(t=>v(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Object(i.e)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),e.addEventListener("mousedown",this._pointerDown,x),e.addEventListener("touchstart",this._pointerDown,P),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?Object(i.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&D(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_sortFromLastPointerPosition(){const t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&D(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&D(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){if(this.started.next({source:this}),T(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions(),this._dropContainer){const t=this._rootElement;this._nextSibling=t.nextSibling;const n=this._preview=this._createPreviewElement(),l=this._placeholder=this._createPlaceholderElement();t.style.display="none",this._document.body.appendChild(t.parentNode.replaceChild(l,t)),(e=this._document,e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body).appendChild(n),this._dropContainer.start()}var e}_initializeDragSequence(t,e){e.stopPropagation();const n=this.isDragging(),l=T(e),i=!l&&0!==e.button,r=this._rootElement,o=!l&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),n||i||o)return;this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor,r.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.pipe(Object(d.a)(null)).subscribe(()=>{this._scrollPosition=this._viewportRuler.getViewportScrollPosition()}),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(t,e);const a=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):Object(i.e)(this._initialContainer.element).appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,n=e.getItemIndex(this),l=this._getPointerPositionOnPage(t),i=this._getDragDistance(this._getPointerPositionOnPage(t)),r=e._isOverContainer(l.x,l.y);this.ended.next({source:this,distance:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialContainer.getItemIndex(this),container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:i}),e.drop(this,n,this._initialContainer,r,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let n=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,t,e),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=k(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=t?t.template:null;let n;if(e){const l=t.viewContainer.createEmbeddedView(e,t.context);n=E(l,this._document),this._previewRef=l,n.style.transform=k(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement,e=t.getBoundingClientRect();n=M(t),n.style.width=e.width+"px",n.style.height=e.height+"px",n.style.transform=k(e.left,e.top)}return A(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"1000"}),v(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=k(t.left,t.top);const e=function(t){const e=getComputedStyle(t),n=w(e,"transition-property"),l=n.find(t=>"transform"===t||"all"===t);if(!l)return 0;const i=n.indexOf(l),r=w(e,"transition-duration"),o=w(e,"transition-delay");return C(r[i])+C(o[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const n=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",n),t(),clearTimeout(l))},l=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let n;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),n=E(this._placeholderRef,this._document)):n=M(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(t,e){const n=this._rootElement.getBoundingClientRect(),l=t===this._rootElement?null:t,i=l?l.getBoundingClientRect():n,r=T(e)?e.targetTouches[0]:e;return{x:i.left-n.left+(r.pageX-i.left-this._scrollPosition.left),y:i.top-n.top+(r.pageY-i.top-this._scrollPosition.top)}}_getPointerPositionOnPage(t){const e=T(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.pageX-this._scrollPosition.left,y:e.pageY-this._scrollPosition.top}}_getConstrainedPointerPosition(t){const e=this._getPointerPositionOnPage(t),n=this.constrainPosition?this.constrainPosition(e,this):e,l=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===l?n.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==l||(n.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,l=this._boundaryRect,i=this._previewRect,r=l.top+e,o=l.bottom-(i.height-e);n.x=O(n.x,l.left+t,l.right-(i.width-t)),n.y=O(n.y,r,o)}return n}_updatePointerDirectionDelta(t){const{x:e,y:n}=t,l=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-i.x),o=Math.abs(n-i.y);return r>this._config.pointerDirectionChangeThreshold&&(l.x=e>i.x?1:-1,i.x=e),o>this._config.pointerDirectionChangeThreshold&&(l.y=n>i.y?1:-1,i.y=n),l}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,v(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,x),t.removeEventListener("touchstart",this._pointerDown,P)}_applyRootElementTransform(t,e){const n=k(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),l=this._rootElement.getBoundingClientRect(),i=n.left-l.left,r=l.right-n.right,o=n.top-l.top,a=l.bottom-n.bottom;n.width>l.width?(i>0&&(t+=i),r>0&&(t-=r)):t=0,n.height>l.height?(o>0&&(e+=o),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}}function k(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function M(t){const e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),l=t.querySelectorAll("canvas");e.removeAttribute("id");for(let i=0;i<n.length;i++)n[i].removeAttribute("id");if(l.length){const t=e.querySelectorAll("canvas");for(let e=0;e<l.length;e++){const n=t[e].getContext("2d");n&&n.drawImage(l[e],0,0)}}return e}function O(t,e,n){return Math.max(e,Math.min(n,t))}function D(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function T(t){return"t"===t.type[0]}function E(t,e){const n=t.rootNodes[0];if(n.nodeType!==e.ELEMENT_NODE){const t=e.createElement("div");return t.appendChild(n),t}return n}function I(t,e,n){const l=j(e,t.length-1),i=j(n,t.length-1);if(l===i)return;const r=t[l],o=i<l?-1:1;for(let a=l;a!==i;a+=o)t[a]=t[a+o];t[i]=r}function L(t,e,n,l){const i=j(n,t.length-1),r=j(l,e.length);t.length&&e.splice(r,0,t.splice(i,1)[0])}function j(t,e){return Math.max(0,Math.min(e,t))}let R=0;class F{constructor(t,e,n,u,c){this._dragDropRegistry=e,this._ngZone=u,this._viewportRuler=c,this.id="cdk-drop-list-ref-"+R++,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=()=>!0,this.beforeStarted=new r.a,this.entered=new r.a,this.exited=new r.a,this.dropped=new r.a,this.sorted=new r.a,this._isDragging=!1,this._itemPositions=[],this._scrollPosition={top:0,left:0},this._viewportScrollPosition={top:0,left:0},this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=o.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new r.a,this._handleScroll=()=>{if(!this.isDragging())return;const t=Object(i.e)(this.element);this._updateAfterScroll(this._scrollPosition,t.scrollTop,t.scrollLeft)},this._startScrollInterval=()=>{this._stopScrolling(),Object(a.a)(0,s.a).pipe(Object(h.a)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?z(t,-2):2===this._verticalScrollDirection&&z(t,2),1===this._horizontalScrollDirection?G(t,-2):2===this._horizontalScrollDirection&&G(t,2)})};const d=this.element=Object(i.e)(t);this._shadowRoot=function(t){if(Object(l.d)()){const e=t.getRootNode?t.getRootNode():null;if(e instanceof ShadowRoot)return e}return null}(d)||n,e.registerDropContainer(this)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._removeListeners(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const t=Object(i.e)(this.element);this.beforeStarted.next(),this._isDragging=!0,this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._removeListeners(),this._ngZone?this._ngZone.runOutsideAngular(()=>t.addEventListener("scroll",this._handleScroll)):t.addEventListener("scroll",this._handleScroll),this._viewportRuler&&this._listenToScrollEvents()}enter(t,e,n){this.start();let l=this.sortingDisabled?this._draggables.indexOf(t):-1;-1===l&&(l=this._getItemIndexFromPointerPosition(t,e,n));const r=this._activeDraggables,o=r.indexOf(t),a=t.getPlaceholderElement();let s=r[l];if(s===t&&(s=r[l+1]),o>-1&&r.splice(o,1),s&&!this._dragDropRegistry.isDragging(s)){const e=s.getRootElement();e.parentElement.insertBefore(a,e),r.splice(l,0,t)}else Object(i.e)(this.element).appendChild(a),r.push(t);a.style.transform="",this._cacheItemPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,n,l,i={x:0,y:0}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n.getItemIndex(t),container:this,previousContainer:n,isPointerOverContainer:l,distance:i})}withItems(t){return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&this._cacheItems(),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}getItemIndex(t){return this._isDragging?Y("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,n,l){if(this.sortingDisabled||!this._isPointerNearDropContainer(e,n))return;const i=this._itemPositions,r=this._getItemIndexFromPointerPosition(t,e,n,l);if(-1===r&&i.length>0)return;const o="horizontal"===this._orientation,a=Y(i,e=>e.drag===t),s=i[r],u=i[a].clientRect,c=s.clientRect,d=a>r?1:-1;this._previousSwap.drag=s.drag,this._previousSwap.delta=o?l.x:l.y;const h=this._getItemOffsetPx(u,c,d),p=this._getSiblingOffsetPx(a,i,d),f=i.slice();I(i,a,r),this.sorted.next({previousIndex:a,currentIndex:r,container:this,item:t}),i.forEach((e,n)=>{if(f[n]===e)return;const l=e.drag===t,i=l?h:p,r=l?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=i,o?(r.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,N(e.clientRect,0,i)):(r.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,N(e.clientRect,i,0))})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let n,l=0,r=0;if(this._isPointerNearDropContainer(t,e)){const o=Object(i.e)(this.element);[l,r]=function(t,e,n,l){const i=H(e,l),r=V(e,n);let o=0,a=0;if(i){const e=t.scrollTop;1===i?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(r){const e=t.scrollLeft;1===r?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[o,a]}(o,this._clientRect,t,e),(l||r)&&(n=o)}if(this._viewportRuler&&!l&&!r){const{width:i,height:o}=this._viewportRuler.getViewportSize(),a={width:i,height:o,top:0,right:i,bottom:o,left:0};l=H(a,e),r=V(a,t),n=window}!n||l===this._verticalScrollDirection&&r===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=l,this._horizontalScrollDirection=r,this._scrollNode=n,(l||r)&&n?this._ngZone?this._ngZone.runOutsideAngular(this._startScrollInterval):this._startScrollInterval():this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheOwnPosition(){const t=Object(i.e)(this.element);this._clientRect=B(t),this._scrollPosition={top:t.scrollTop,left:t.scrollLeft}}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=this._dragDropRegistry.isDragging(t)?t.getPlaceholderElement():t.getRootElement();return{drag:t,offset:0,clientRect:B(e)}}).sort((e,n)=>t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1,this._activeDraggables.forEach(t=>t.getRootElement().style.transform=""),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._removeListeners()}_getSiblingOffsetPx(t,e,n){const l="horizontal"===this._orientation,i=e[t].clientRect,r=e[t+-1*n];let o=i[l?"width":"height"]*n;if(r){const t=l?"left":"top",e=l?"right":"bottom";-1===n?o-=r.clientRect[t]-i[e]:o+=i[t]-r.clientRect[e]}return o}_isPointerNearDropContainer(t,e){const{top:n,right:l,bottom:i,left:r,width:o,height:a}=this._clientRect,s=.05*o,u=.05*a;return e>n-u&&e<i+u&&t>r-s&&t<l+s}_getItemOffsetPx(t,e,n){const l="horizontal"===this._orientation;let i=l?e.left-t.left:e.top-t.top;return-1===n&&(i+=l?e.width-t.width:e.height-t.height),i}_getItemIndexFromPointerPosition(t,e,n,l){const i="horizontal"===this._orientation;return Y(this._itemPositions,({drag:r,clientRect:o},a,s)=>{if(r===t)return s.length<2;if(l){const t=i?l.x:l.y;if(r===this._previousSwap.drag&&t===this._previousSwap.delta)return!1}return i?e>=Math.floor(o.left)&&e<=Math.floor(o.right):n>=Math.floor(o.top)&&n<=Math.floor(o.bottom)})}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheOwnPosition()}_updateAfterScroll(t,e,n,l){const i=t.top-e,r=t.left-n;l&&N(l,i,r),this._itemPositions.forEach(({clientRect:t})=>{N(t,i,r)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}),t.top=e,t.left=n}_removeListeners(){Object(i.e)(this.element).removeEventListener("scroll",this._handleScroll),this._viewportScrollSubscription.unsubscribe()}_isOverContainer(t,e){return U(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,n){return this._siblings.find(l=>l._canReceive(t,e,n))}_canReceive(t,e,n){if(!this.enterPredicate(t,this)||!U(this._clientRect,e,n))return!1;const l=this._shadowRoot.elementFromPoint(e,n);if(!l)return!1;const r=Object(i.e)(this.element);return l===r||r.contains(l)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheOwnPosition(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(()=>{if(this.isDragging()){const t=this._viewportRuler.getViewportScrollPosition();this._updateAfterScroll(this._viewportScrollPosition,t.top,t.left,this._clientRect)}else this.isReceiving()&&this._cacheOwnPosition()})}}function N(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function Y(t,e){for(let n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1}function U(t,e,n){const{top:l,bottom:i,left:r,right:o}=t;return n>=l&&n<=i&&e>=r&&e<=o}function B(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function z(t,e){t===window?t.scrollBy(0,e):t.scrollTop+=e}function G(t,e){t===window?t.scrollBy(e,0):t.scrollLeft+=e}function H(t,e){const{top:n,bottom:l,height:i}=t,r=.05*i;return e>=n-r&&e<=n+r?1:e>=l-r&&e<=l+r?2:0}function V(t,e){const{left:n,right:l,width:i}=t,r=.05*i;return e>=n-r&&e<=n+r?1:e>=l-r&&e<=l+r?2:0}const q=Object(l.g)({passive:!1,capture:!0});let W=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new r.a,this.pointerUp=new r.a,this.scroll=new r.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},this._document=e}registerDropContainer(t){if(!this._dropInstances.has(t)){if(this.getDropContainer(t.id))throw Error(`Drop instance with id "${t.id}" has already been registered.`);this._dropInstances.add(t)}}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._preventDefaultWhileDragging,q)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,q)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),n=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:q}).set(n,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:q}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}getDropContainer(t){return Array.from(this._dropInstances).find(e=>e.id===t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.ngInjectableDef=Object(g.cc)({factory:function(){return new t(Object(g.dc)(g.G),Object(g.dc)(_.d))},token:t,providedIn:"root"}),t})();const $={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let X=(()=>{class t{constructor(t,e,n,l){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=l}createDrag(t,e=$){return new S(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new F(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.ngInjectableDef=Object(g.cc)({factory:function(){return new t(Object(g.dc)(_.d),Object(g.dc)(g.G),Object(g.dc)(y.e),Object(g.dc)(W))},token:t,providedIn:"root"}),t})();const K=new g.w("CDK_DROP_LIST"),J=new g.w("CDK_DRAG_PARENT");class Q{constructor(t,e){this.element=t,this._stateChanges=new r.a,this._disabled=!1,this._parentDrag=e,v(t.nativeElement,!1)}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}const Z=new g.w("CDK_DRAG_CONFIG",{providedIn:"root",factory:function(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}}});class tt{constructor(t,e,n,l,i,o,a,s,c){this.element=t,this.dropContainer=e,this._document=n,this._ngZone=l,this._viewContainerRef=i,this._dir=a,this._changeDetectorRef=c,this._destroyed=new r.a,this.dragStartDelay=0,this._disabled=!1,this.started=new g.r,this.released=new g.r,this.ended=new g.r,this.entered=new g.r,this.exited=new g.r,this.dropped=new g.r,this.moved=new u.a(t=>{const e=this._dragRef.moved.pipe(Object(p.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=s.createDrag(t,o),this._dragRef.data=this,this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get boundaryElementSelector(){return"string"==typeof this.boundaryElement?this.boundaryElement:void 0}set boundaryElementSelector(t){this.boundaryElement=t}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Object(i.c)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.asObservable().pipe(Object(f.a)(1),Object(h.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(d.a)(this._handles),Object(b.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._dragRef.withHandles(e)}),Object(m.a)(t=>Object(c.a)(...t.map(t=>t._stateChanges))),Object(h.a)(this._destroyed)).subscribe(t=>{const e=this._dragRef,n=t.element.nativeElement;t.disabled?e.disableHandle(n):e.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?et(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return et(this.element.nativeElement,t);const e=Object(i.e)(t);if(Object(g.hb)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,l=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay=Object(i.f)(this.dragStartDelay),t.constrainPosition=this.constrainPosition,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(l),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}}function et(t,e){let n=t.parentElement;for(;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}class nt{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t)}ngOnDestroy(){this._items.clear()}}let lt=0,it=(()=>{class t{constructor(e,n,l,i,o){this.element=e,this._changeDetectorRef=l,this._dir=i,this._group=o,this._destroyed=new r.a,this.connectedTo=[],this.orientation="vertical",this.id="cdk-drop-list-"+lt++,this._disabled=!1,this._sortingDisabled=!1,this.enterPredicate=()=>!0,this.autoScrollDisabled=!1,this.dropped=new g.r,this.entered=new g.r,this.exited=new g.r,this.sorted=new g.r,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._syncInputs(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._disabled=Object(i.c)(t)}get sortingDisabled(){return this._sortingDisabled}set sortingDisabled(t){this._sortingDisabled=Object(i.c)(t)}ngAfterContentInit(){this._draggables.changes.pipe(Object(d.a)(this._draggables),Object(h.a)(this._destroyed)).subscribe(t=>{this._dropListRef.withItems(t.map(t=>t._dragRef))})}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}start(){this._dropListRef.start()}drop(t,e,n,l){this._dropListRef.drop(t._dragRef,e,n._dropListRef,l)}enter(t,e,n){this._dropListRef.enter(t._dragRef,e,n)}exit(t){this._dropListRef.exit(t._dragRef)}getItemIndex(t){return this._dropListRef.getItemIndex(t._dragRef)}_sortItem(t,e,n,l){return this._dropListRef._sortItem(t._dragRef,e,n,l)}_getSiblingContainerFromPosition(t,e,n){const l=this._dropListRef._getSiblingContainerFromPosition(t._dragRef,e,n);return l?l.data:null}_isOverContainer(t,e){return this._dropListRef._isOverContainer(t,e)}_syncInputs(e){this._dir&&this._dir.change.pipe(Object(d.a)(this._dir.value),Object(h.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const n=Object(i.b)(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);this._group&&this._group._items.forEach(t=>{-1===n.indexOf(t)&&n.push(t)}),e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.connectedTo(n.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}}return t._dropLists=[],t})();class rt{}},MlvX:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return c})),n.d(e,"a",(function(){return d})),n.d(e,"d",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return f}));var l=n("8Y7J"),i=n("Xd0L"),r=(n("IP0z"),n("cUpR"),n("/HVE")),o=n("SVse"),a=n("omvX"),s=l.Bb({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,f,p)),l.Cb(1,49152,null,0,i.v,[[2,a.a]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)}),(function(t,e){t(e,0,0,"indeterminate"===l.Pb(e,1).state,"checked"===l.Pb(e,1).state,l.Pb(e,1).disabled,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function c(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(1,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(5,212992,null,0,i.x,[l.p,l.G,r.a,[2,i.m],[2,a.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(t,e){t(e,4,0,l.Pb(e,5).unbounded)}))}var d=l.Bb({encapsulation:2,styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],data:{}});function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,2,"label",[["class","mat-optgroup-label"]],[[8,"id",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Ob(null,0),l.Ob(null,1)],null,(function(t,e){var n=e.component;t(e,0,0,n._labelId),t(e,1,0,n.label)}))}var p=l.Bb({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function f(t){return l.Yb(2,[],null,null)}},Mz6y:function(t,e,n){"use strict";n.d(e,"e",(function(){return g})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return f})),n.d(e,"d",(function(){return b})),n.d(e,"f",(function(){return m})),n("GS7A");var l=n("KCVW"),i=n("dvZr"),r=n("7QIX"),o=(n("QQfA"),n("zMNK")),a=n("8Y7J"),s=n("XNiG"),u=n("1G5W"),c=n("IzEk");function d(t){return Error(`Tooltip position "${t}" is invalid.`)}const h=new a.w("mat-tooltip-scroll-strategy");function p(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}const f=new a.w("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});class b{constructor(t,e,n,l,i,r,o,a,c,d,h,p){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=l,this._ngZone=i,this._ariaDescriber=o,this._focusMonitor=a,this._dir=d,this._defaultOptions=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new s.a,this._scrollStrategy=c;const f=e.nativeElement,b="undefined"==typeof window||window.Hammer||p;r.IOS||r.ANDROID?b||this._manualListeners.set("touchstart",()=>this.show()):this._manualListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide()),this._manualListeners.forEach((t,e)=>f.addEventListener(e,t)),a.monitor(e).pipe(Object(u.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&i.run(()=>this.show()):i.run(()=>this.hide(0))}),h&&h.position&&(this.position=h.position)}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){const t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((t,e)=>{this._elementRef.nativeElement.removeEventListener(e,t)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new o.d(m,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_handleKeydown(t){this._isTooltipVisible()&&t.keyCode===i.h&&!Object(i.t)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))}_handleTouchend(){this.hide(this._defaultOptions.touchendHideDelay)}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(u.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e||"below"==e)n={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw d(e);n={originX:"end",originY:"center"}}const{x:l,y:i}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:l,originY:i}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e)n={overlayX:"center",overlayY:"bottom"};else if("below"==e)n={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw d(e);n={overlayX:"start",overlayY:"center"}}const{x:l,y:i}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:l,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(c.a)(1),Object(u.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}}class m{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new s.a,this._isHandset=this._breakpointObserver.observe(r.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}class g{}},MzMb:function(t,e,n){"use strict";var l,i=n("zvco"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e,n,l,i){var r=t.call(this,e)||this;return r.inversePixelTransform=n,r.frameState=l,r.context=i,r}return r(e,t),e}(i.a);e.a=o},N0mK:function(t,e,n){"use strict";e.a={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"}},N14p:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e=[];if((e=(e=(e=t.toUpperCase()).replace(/%20/g,"")).replace(/ /g,"")).length>15)return!1;if(e.match(/^[0-9]{2}[CDEFGHJKLMNPQRSTUVWX]$/))throw"Input appears to be a UTM zone, but more precision is required to display an accurate result: "+e;if(!e.match(/^[0-9]{2}[CDEFGHJKLMNPQRSTUVWX][ABCDEFGHJKLMNPQRSTUVWXYZ][ABCDEFGHJKLMNPQRSTUV]([0-9][0-9]){0,5}/))return!1;if(e.length<7)throw"Format looks right, but precision should be to least 10,000 meters: "+e;return e}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},NF0S:function(t,e,n){"use strict";function l(t){return t[0]>0&&t[1]>0}function i(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function r(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}))},NJ4a:function(t,e,n){"use strict";function l(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return l}))},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("Cfvw"),r=n("EY2u");function o(t){return new l.a(e=>{let n;try{n=t()}catch(l){return void e.error(l)}return(n?Object(i.a)(n):Object(r.b)()).subscribe(e)})}},Nafy:function(t,e,n){"use strict";var l,i=n("Ho3V"),r=n("DsAt"),o=n("AdTM"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(){var e=t.call(this)||this;return e.revision_=0,e}return a(e,t),e.prototype.changed=function(){++this.revision_,this.dispatchEvent(o.a.CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.on=function(t,e){if(Array.isArray(t)){for(var n=t.length,l=new Array(n),r=0;r<n;++r)l[r]=Object(i.a)(this,t[r],e);return l}return Object(i.a)(this,t,e)},e.prototype.once=function(t,e){if(Array.isArray(t)){for(var n=t.length,l=new Array(n),r=0;r<n;++r)l[r]=Object(i.b)(this,t[r],e);return l}return Object(i.b)(this,t,e)},e.prototype.un=function(t,e){if(Array.isArray(t))for(var n=0,l=t.length;n<l;++n)this.removeEventListener(t[n],e);else this.removeEventListener(t,e)},e}(r.a);e.a=s},NcP4:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("8Y7J"),i=n("Mz6y"),r=n("SVse"),o=(n("POq0"),n("QQfA"),n("IP0z"),n("cUpR"),n("Xd0L"),n("/HVE"),n("5GAg"),n("zMNK"),n("hOhj"),n("7QIX")),a=l.Bb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function s(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var l=!0,i=t.component;return"@state.start"===e&&(l=!1!==i._animationStart()&&l),"@state.done"===e&&(l=!1!==i._animationDone(n)&&l),l}),null,null)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,r.l,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Qb(131072,r.b,[l.j]),(t()(),l.Wb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=l.Xb(e,0,0,l.Pb(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==l.Pb(t,1)._handleBodyInteraction()&&i),i}),s,a)),l.Cb(1,180224,null,0,i.f,[l.j,o.a],null,null)],null,(function(t,e){t(e,0,0,"visible"===l.Pb(e,1)._visibility?1:null)}))}var c=l.zb("mat-tooltip-component",i.f,u,{},{},[])},Njrz:function(t,e,n){var l=n("luTP"),i=n("qGlh"),r=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===r.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===r.call(File);e.deconstructPacket=function(t){var e=[],n=t;return n.data=function t(e,n){if(!e)return e;if(i(e)){var r={_placeholder:!0,num:n.length};return n.push(e),r}if(l(e)){for(var o=new Array(e.length),a=0;a<e.length;a++)o[a]=t(e[a],n);return o}if("object"==typeof e&&!(e instanceof Date)){for(var s in o={},e)o[s]=t(e[s],n);return o}return e}(t.data,e),n.attachments=e.length,{packet:n,buffers:e}},e.reconstructPacket=function(t,e){return t.data=function t(e,n){if(!e)return e;if(e&&e._placeholder)return n[e.num];if(l(e))for(var i=0;i<e.length;i++)e[i]=t(e[i],n);else if("object"==typeof e)for(var r in e)e[r]=t(e[r],n);return e}(t.data,e),t.attachments=void 0,t},e.removeBlobs=function(t,e){var n=0,r=t;!function t(s,u,c){if(!s)return s;if(o&&s instanceof Blob||a&&s instanceof File){n++;var d=new FileReader;d.onload=function(){c?c[u]=this.result:r=this.result,--n||e(r)},d.readAsArrayBuffer(s)}else if(l(s))for(var h=0;h<s.length;h++)t(s[h],h,s);else if("object"==typeof s&&!i(s))for(var p in s)t(s[p],p,s)}(r),n||e(r)}},NvT6:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return h}));var l=n("8Y7J"),i=(n("W5yJ"),n("SVse")),r=(n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),n("omvX"),l.Bb({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}}));function o(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function s(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,o)),l.Cb(3,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}var u=l.Bb({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(3,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}},Nw85:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}lineControllerGetFull$Response(e){const n=new o.a(this.rootUrl,t.LineControllerGetFullPath,"get");return e&&n.query("callsign",e.callsign),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}lineControllerGetFull(t){return this.lineControllerGetFull$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseLineControllerLinePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseLineControllerLine(t){return this.getOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseLineControllerLinePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseLineControllerLine(t){return this.replaceOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseLineControllerLinePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseLineControllerLine(t){return this.deleteOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseLineControllerLinePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseLineControllerLine(t){return this.updateOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseLineControllerLinePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseLineControllerLine(t){return this.getManyBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseLineControllerLinePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseLineControllerLine(t){return this.createOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseLineControllerLinePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseLineControllerLine(t){return this.createManyBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.LineControllerGetFullPath="/line/full",t.GetOneBaseLineControllerLinePath="/line/{id}",t.ReplaceOneBaseLineControllerLinePath="/line/{id}",t.DeleteOneBaseLineControllerLinePath="/line/{id}",t.UpdateOneBaseLineControllerLinePath="/line/{id}",t.GetManyBaseLineControllerLinePath="/line",t.CreateOneBaseLineControllerLinePath="/line",t.CreateManyBaseLineControllerLinePath="/line/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},OCB2:function(t,e,n){"use strict";e.a={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OIZN:function(t,e,n){"use strict";n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return a}));var l=n("8Y7J"),i=n("XNiG"),r=n("KCVW"),o=n("Xd0L");let a=(()=>{class t{constructor(){this.changes=new i.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return"0 of "+n;const l=t*e;return`${l+1} \u2013 ${l<(n=Math.max(n,0))?Math.min(l+e,n):l+e} of ${n}`}}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function s(t){return t||new a}class u{}const c=Object(o.G)(Object(o.I)(u));class d extends c{constructor(t,e){super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new l.r,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck())}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(r.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(r.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(r.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(r.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(r.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(r.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}class h{}},OPOH:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o}));var l="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),l=1,i=arguments.length;l<i;++l){var r=arguments[l];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])}return n};function i(t){for(var e in t)delete t[e]}var r="function"==typeof Object.values?Object.values:function(t){var e=[];for(var n in t)e.push(t[n]);return e};function o(t){var e;for(e in t)return!1;return!e}},OQAH:function(t,e,n){"use strict";var l,i=n("V8uu"),r=n("WS2v"),o=n("4mld"),a=n("CZmH"),s=n("Ho3V"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=t.call(this)||this;return n.element=e.element?e.element:null,n.target_=null,n.map_=null,n.listenerKeys=[],n.render_=e.render?e.render:i.c,e.target&&n.setTarget(e.target),n}return u(e,t),e.prototype.disposeInternal=function(){Object(a.e)(this.element),t.prototype.disposeInternal.call(this)},e.prototype.getMap=function(){return this.map_},e.prototype.setMap=function(t){this.map_&&Object(a.e)(this.element);for(var e=0,n=this.listenerKeys.length;e<n;++e)Object(s.c)(this.listenerKeys[e]);this.listenerKeys.length=0,this.map_=t,this.map_&&((this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==i.c&&this.listenerKeys.push(Object(s.a)(t,r.a.POSTRENDER,this.render,this)),t.render())},e.prototype.render=function(t){this.render_.call(this,t)},e.prototype.setTarget=function(t){this.target_="string"==typeof t?document.getElementById(t):t},e}(o.a);e.a=c},OZx2:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return d}));var l=n("yUaI"),i=n("CZmH"),r=n("bL/2"),o=n("grDu"),a=n("9iPr"),s=n("CvXi"),u=n("n15R");function c(t,e,n,c,d,h,p){var f=t[0]/2,b=t[1]/2,m=Object(i.a)(f,b);m.imageSmoothingEnabled=!1;for(var g=m.canvas,_=new l.a(m,.5,d,null,p),y=n.length,A=Math.floor(16777215/y),v={},C=1;C<=y;++C){var w=n[C-1],P=w.getStyleFunction()||c;if(c){var x=P(w,h);if(x){Array.isArray(x)||(x=[x]);for(var S="#"+("000000"+(C*A).toString(16)).slice(-6),k=0,M=x.length;k<M;++k){var O=x[k],D=O.clone(),T=D.getFill();T&&T.setColor(S);var E=D.getStroke();E&&E.setColor(S),D.setText(void 0);var I=O.getImage();if(I){var L=I.getImageSize();if(!L)continue;var j=document.createElement("canvas");j.width=L[0],j.height=L[1];var R=j.getContext("2d",{alpha:!1});R.fillStyle=S;var F=R.canvas;R.fillRect(0,0,F.width,F.height);var N=L?L[0]:F.width,Y=L?L[1]:F.height;Object(i.a)(N,Y).drawImage(F,0,0),D.setImage(new r.a({img:F,imgSize:L,anchor:I.getAnchor(),anchorXUnits:o.a.PIXELS,anchorYUnits:o.a.PIXELS,offset:I.getOrigin(),size:I.getSize(),opacity:I.getOpacity(),scale:I.getScale(),rotation:I.getRotation(),rotateWithView:I.getRotateWithView()}))}var U=Number(D.getZIndex());(H=v[U])||(v[U]=H={},H[a.a.POLYGON]=[],H[a.a.CIRCLE]=[],H[a.a.LINE_STRING]=[],H[a.a.POINT]=[]);var B=D.getGeometryFunction()(w);B&&Object(s.F)(d,B.getExtent())&&H[B.getType().replace("Multi","")].push(B,D)}}}}for(var z=Object.keys(v).map(Number).sort(u.g),G=(C=0,z.length);C<G;++C){var H=v[z[C]];for(var V in H){var q=H[V];for(k=0,M=q.length;k<M;k+=2){_.setStyle(q[k+1]);for(var W=0,$=e.length;W<$;++W)_.setTransform(e[W]),_.drawGeometry(q[k])}}}return document.body.appendChild(m.canvas),m.getImageData(0,0,g.width,g.height)}function d(t,e,n){var l=[];if(n){var i=4*(Math.round(t[0]/2)+Math.round(t[1]/2)*n.width),r=n.data[i+2]+256*(n.data[i+1]+256*n.data[i]),o=Math.floor(16777215/e.length);r&&r%o==0&&l.push(e[r/o-1])}return l}},Oaa7:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function l(t,e,n,l){var i="";if(e)switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.replace(/%d/i,t)}t.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},P151:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n("G0WM");var l=n("svHU"),i=n("8Y7J"),r=n("b2zq");let o=(()=>{class t{constructor(t,e){this.iconService=t,this.mapService=e,this.isInit=!0,this.iconEntities={},setInterval(()=>{this.getIconsFromDB()},2e4),this.getIconsFromDB()}getIconEntity(t){return this.iconEntities[t=this.iconEntities[t]?t:"default"]}getIconsFromDB(){this.iconService.getManyBaseIconControllerIcon().subscribe(t=>{const e=[];e.push(...this.deleteIcons(t)),e.push(...this.upsertIcons(t)),!0===this.isInit&&(this.isInit=!1),e.length>0&&(console.log("updated icons:",e),this.updateFeatureStyles())})}deleteIcons(t){const e=[];let n={};for(const l of t.data)n[l.name]=!0;return Object.keys(this.iconEntities).forEach(t=>{n[t]||(e.push({state:"delete",icon:this.iconEntities[t]}),delete this.iconEntities[t])}),e}upsertIcons(t){const e=[];for(const n of t.data)(!this.iconEntities[n.name]||this.iconEntities[n.name]&&JSON.stringify(this.iconEntities[n.name])!==JSON.stringify(n))&&(this.iconEntities[n.name]=n,!1===this.isInit&&e.push({state:"upsert",icon:this.iconEntities[n.name]}));return e}updateFeatureStyles(){this.mapService.getLayer("aircraft").getSource().getFeatures().forEach(t=>t.applyStyle(!0))}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(r.a),i.dc(l.a))},token:t,providedIn:"root"}),t})()},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),l=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],i=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,n,l){var i=t+" ";switch(n){case"s":return e||l?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||l?i+(r(t)?"sekundy":"sekund"):i+"sekundami";case"m":return e?"minuta":l?"minutu":"minutou";case"mm":return e||l?i+(r(t)?"minuty":"minut"):i+"minutami";case"h":return e?"hodina":l?"hodinu":"hodinou";case"hh":return e||l?i+(r(t)?"hodiny":"hodin"):i+"hodinami";case"d":return e||l?"den":"dnem";case"dd":return e||l?i+(r(t)?"dny":"dn\xed"):i+"dny";case"M":return e||l?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||l?i+(r(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return e||l?"rok":"rokem";case"yy":return e||l?i+(r(t)?"roky":"let"):i+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PCLV:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("XDhV");function i(t,e,n){return e+":"+t+":"+(n?Object(l.b)(n):"null")}var r=new(function(){function t(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return t.prototype.clear=function(){this.cache_={},this.cacheSize_=0},t.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var t=0;for(var e in this.cache_)0!=(3&t++)||this.cache_[e].hasListener()||(delete this.cache_[e],--this.cacheSize_)}},t.prototype.get=function(t,e,n){var l=i(t,e,n);return l in this.cache_?this.cache_[l]:null},t.prototype.set=function(t,e,n,l){var r=i(t,e,n);this.cache_[r]=l,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}())},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},PIFQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u}));var l=n("CZmH"),i=n("CvXi"),r=n("f8l7"),o=n("JW8z");function a(t,e,n,l){var r=Object(o.p)(n,e,t),a=Object(o.h)(e,l,n),s=e.getMetersPerUnit();void 0!==s&&(a*=s);var u=t.getMetersPerUnit();void 0!==u&&(a/=u);var c=t.getExtent();if(!c||Object(i.f)(c,r)){var d=Object(o.h)(t,a,r)/a;isFinite(d)&&d>0&&(a/=d)}return a}function s(t,e,n,l){var i=n-t,r=l-e,o=Math.sqrt(i*i+r*r);return[Math.round(n+i/o),Math.round(l+r/o)]}function u(t,e,n,o,a,u,c,d,h,p,f){var b=Object(l.a)(Math.round(n*t),Math.round(n*e));if(0===h.length)return b.canvas;b.scale(n,n);var m=Object(i.j)();h.forEach((function(t,e,n){Object(i.q)(m,t.extent)}));var g=Object(i.E)(m),_=Object(i.A)(m),y=Object(l.a)(Math.round(n*g/o),Math.round(n*_/o)),A=n/o;h.forEach((function(t,e,n){var l=t.extent[0]-m[0],r=-(t.extent[3]-m[3]),o=Object(i.E)(t.extent),a=Object(i.A)(t.extent);y.drawImage(t.image,p,p,t.image.width-2*p,t.image.height-2*p,l*A,r*A,o*A,a*A)}));var v=Object(i.C)(c);return d.getTriangles().forEach((function(t,e,l){var i=t.source,a=t.target,c=i[0][0],d=i[0][1],h=i[1][0],p=i[1][1],f=i[2][0],g=i[2][1],_=(a[0][0]-v[0])/u,A=-(a[0][1]-v[1])/u,C=(a[1][0]-v[0])/u,w=-(a[1][1]-v[1])/u,P=(a[2][0]-v[0])/u,x=-(a[2][1]-v[1])/u,S=c,k=d;c=0,d=0;var M=[[h-=S,p-=k,0,0,C-_],[f-=S,g-=k,0,0,P-_],[0,0,h,p,w-A],[0,0,f,g,x-A]],O=Object(r.e)(M);if(O){b.save(),b.beginPath();var D=(_+C+P)/3,T=(A+w+x)/3,E=s(D,T,_,A),I=s(D,T,C,w),L=s(D,T,P,x);b.moveTo(I[0],I[1]),b.lineTo(E[0],E[1]),b.lineTo(L[0],L[1]),b.clip(),b.transform(O[0],O[2],O[1],O[3],_,A),b.translate(m[0]-S,m[3]-k),b.scale(o/n,-o/n),b.drawImage(y.canvas,0,0),b.restore()}})),f&&(b.save(),b.strokeStyle="black",b.lineWidth=1,d.getTriangles().forEach((function(t,e,n){var l=t.target,i=(l[0][0]-v[0])/u,r=-(l[0][1]-v[1])/u,o=(l[1][0]-v[0])/u,a=-(l[1][1]-v[1])/u,s=(l[2][0]-v[0])/u,c=-(l[2][1]-v[1])/u;b.beginPath(),b.moveTo(o,a),b.lineTo(i,r),b.lineTo(s,c),b.closePath(),b.stroke()})),b.restore()),b.canvas}},POq0:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("HDdC"),o=n("XNiG"),a=n("Kj3r");let s=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(l.e)(t);return new r.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(s))},token:t,providedIn:"root"}),t})();class c{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new i.r,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(l.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}class d{}},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},Pmt0:function(t,e,n){"use strict";var l,i=n("rlDN"),r=n("EwAT"),o=n("SW/M"),a=n("CvXi"),s=n("pWiS"),u=n("JW8z"),c=n("27p8"),d=n("6Lir"),h=n("E35u"),p=n("MNGd"),f=n("qJZF"),b=n("OZx2"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e){var n=t.call(this,e)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.dirty_=!1,n.hitDetectionImageData_=null,n.renderedFeatures_=null,n.renderedRevision_=-1,n.renderedResolution_=NaN,n.renderedExtent_=Object(a.j)(),n.renderedCenter_=null,n.renderedProjection_=null,n.renderedRenderOrder_=null,n.replayGroup_=null,n.replayGroupChanged=!0,n}return m(e,t),e.prototype.useContainer=function(e,n,l){l<1&&(e=null),t.prototype.useContainer.call(this,e,n,l)},e.prototype.renderFrame=function(t,e){var n=t.pixelRatio,l=t.layerStatesArray[t.layerIndex];Object(f.e)(this.pixelTransform,1/n,1/n),Object(f.d)(this.inversePixelTransform,this.pixelTransform);var i=Object(f.k)(this.pixelTransform);this.useContainer(e,i,l.opacity);var r=this.context,s=r.canvas,c=this.replayGroup_;if(!c||c.isEmpty())return!this.containerReused&&s.width>0&&(s.width=0),this.container;var h=Math.round(t.size[0]*n),p=Math.round(t.size[1]*n);s.width!=h||s.height!=p?(s.width=h,s.height=p,s.style.transform!==i&&(s.style.transform=i)):this.containerReused||r.clearRect(0,0,h,p),this.preRender(r,t);var b=t.extent,m=t.viewState,g=m.center,_=m.resolution,y=m.projection,A=m.rotation,v=y.getExtent(),C=this.getLayer().getSource(),w=!1;if(l.extent){var P=Object(u.f)(l.extent,y);(w=!Object(a.g)(P,t.extent)&&Object(a.F)(P,t.extent))&&this.clip(r,t,P)}var x=t.viewHints,S=!(x[o.a.ANIMATING]||x[o.a.INTERACTING]),k=this.getRenderTransform(g,_,A,n,h,p,0),M=this.getLayer().getDeclutter()?{}:null;if(c.execute(r,k,A,S,void 0,M),C.getWrapX()&&y.canWrapX()&&!Object(a.g)(v,b)){for(var O=b[0],D=Object(a.E)(v),T=0;O<v[0];){--T;var E=this.getRenderTransform(g,_,A,n,h,p,D*T);c.execute(r,E,A,S,void 0,M),O+=D}for(T=0,O=b[2];O>v[2];){++T;var I=this.getRenderTransform(g,_,A,n,h,p,D*T);c.execute(r,I,A,S,void 0,M),O-=D}}if(M){var L=t.viewHints,j=!(L[o.a.ANIMATING]||L[o.a.INTERACTING]);Object(d.b)(M,r,A,1,j,t.declutterItems)}w&&r.restore(),this.postRender(r,t);var R=l.opacity,F=this.container;return R!==parseFloat(F.style.opacity)&&(F.style.opacity=1===R?"":R),this.container},e.prototype.getFeatures=function(t){return new Promise((function(e,n){if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){var l=[this.context.canvas.width,this.context.canvas.height];Object(f.a)(this.pixelTransform,l);var i=this.renderedCenter_,r=this.renderedResolution_,o=this.renderedRotation_,s=this.renderedProjection_,u=this.renderedExtent_,c=this.getLayer(),d=[],h=l[0]/2,p=l[1]/2;d.push(this.getRenderTransform(i,r,o,.5,h,p,0).slice());var m=c.getSource(),g=s.getExtent();if(m.getWrapX()&&s.canWrapX()&&!Object(a.g)(g,u)){for(var _=u[0],y=Object(a.E)(g),A=0;_<g[0];)--A,d.push(this.getRenderTransform(i,r,o,.5,h,p,y*A).slice()),_+=y;for(A=0,_=u[2];_>g[2];)++A,d.push(this.getRenderTransform(i,r,o,.5,h,p,y*A).slice()),_-=y}this.hitDetectionImageData_=Object(b.a)(l,d,this.renderedFeatures_,c.getStyleFunction(),u,r,o)}e(Object(b.b)(t,this.renderedFeatures_,this.hitDetectionImageData_))}).bind(this))},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){if(this.replayGroup_){var o=e.viewState.resolution,a=e.viewState.rotation,s=this.getLayer(),u={};return this.replayGroup_.forEachFeatureAtCoordinate(t,o,a,n,(function(t){var e=Object(r.c)(t);if(!(e in u))return u[e]=!0,l(t,s)}),s.getDeclutter()?i:null)}},e.prototype.handleFontsChanged=function(){var t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource();if(!n)return!1;var l=t.viewHints[o.a.ANIMATING],i=t.viewHints[o.a.INTERACTING],r=e.getUpdateWhileAnimating(),h=e.getUpdateWhileInteracting();if(!this.dirty_&&!r&&l||!h&&i)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;var f=t.extent,b=t.viewState,m=b.projection,g=b.resolution,_=t.pixelRatio,y=e.getRevision(),A=e.getRenderBuffer(),v=e.getRenderOrder();void 0===v&&(v=p.a);var C=b.center.slice(),w=Object(a.c)(f,A*g),P=[w.slice()],x=m.getExtent();if(n.getWrapX()&&m.canWrapX()&&!Object(a.g)(x,t.extent)){var S=Object(a.E)(x),k=Math.max(Object(a.E)(w)/2,S);w[0]=x[0]-k,w[2]=x[2]+k,Object(s.f)(C,m);var M=Object(a.K)(P[0],m);M[0]<x[0]&&M[2]<x[2]?P.push([M[0]+S,M[1],M[2]+S,M[3]]):M[0]>x[0]&&M[2]>x[2]&&P.push([M[0]-S,M[1],M[2]-S,M[3]])}if(!this.dirty_&&this.renderedResolution_==g&&this.renderedRevision_==y&&this.renderedRenderOrder_==v&&Object(a.g)(this.renderedExtent_,w))return this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var O,D=new c.a(Object(p.c)(g,_),w,g,_,e.getDeclutter()),T=Object(u.k)();if(T){for(var E=0,I=P.length;E<I;++E)n.loadFeatures(Object(u.o)(P[E],m),g,T);O=Object(u.j)(T,m)}else for(E=0,I=P.length;E<I;++E)n.loadFeatures(P[E],g,m);var L=Object(p.b)(g,_),j=(function(t){var n,l=t.getStyleFunction()||e.getStyleFunction();if(l&&(n=l(t,g)),n){var i=this.renderFeature(t,L,n,D,O);this.dirty_=this.dirty_||i}}).bind(this),R=Object(u.o)(w,m),F=n.getFeaturesInExtent(R);for(v&&F.sort(v),E=0,I=F.length;E<I;++E)j(F[E]);this.renderedFeatures_=F;var N=D.finish(),Y=new d.a(w,g,_,n.getOverlaps(),N,e.getRenderBuffer());return this.renderedResolution_=g,this.renderedRevision_=y,this.renderedRenderOrder_=v,this.renderedExtent_=w,this.renderedRotation_=b.rotation,this.renderedCenter_=C,this.renderedProjection_=m,this.replayGroup_=Y,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0},e.prototype.renderFeature=function(t,e,n,l,i){if(!n)return!1;var r=!1;if(Array.isArray(n))for(var o=0,a=n.length;o<a;++o)r=Object(p.d)(l,t,n[o],e,this.boundHandleStyleImageChange_,i)||r;else r=Object(p.d)(l,t,n,e,this.boundHandleStyleImageChange_,i);return r},e}(h.a),_=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),y=function(t){function e(e){return t.call(this,e)||this}return _(e,t),e.prototype.createRenderer=function(){return new g(this)},e}(i.a);e.a=y},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("D0XW"),r=n("Y7HM"),o=n("z+Ro");function a(t=0,e,n){let a=-1;return Object(r.a)(e)?a=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=i.a),new l.a(e=>{const l=Object(r.a)(t)?t:+t-n.now();return n.schedule(s,l,{index:0,period:a,subscriber:e})})}function s(t){const{index:e,period:n,subscriber:l}=t;if(l.next(e),!l.closed){if(-1===n)return l.complete();t.index=e+1,this.schedule(t,n)}}},Py6u:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}fleetItemControllerExportCsv$Response(e){const n=new o.a(this.rootUrl,t.FleetItemControllerExportCsvPath,"get");return e&&n.query("fleetId",e.fleetId),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}fleetItemControllerExportCsv(t){return this.fleetItemControllerExportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}fleetItemControllerImportCsv$Response(e){const n=new o.a(this.rootUrl,t.FleetItemControllerImportCsvPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}fleetItemControllerImportCsv(t){return this.fleetItemControllerImportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFleetItemControllerFleetItemPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFleetItemControllerFleetItem(t){return this.getOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFleetItemControllerFleetItemPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFleetItemControllerFleetItem(t){return this.replaceOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFleetItemControllerFleetItemPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFleetItemControllerFleetItem(t){return this.deleteOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFleetItemControllerFleetItemPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFleetItemControllerFleetItem(t){return this.updateOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFleetItemControllerFleetItemPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFleetItemControllerFleetItem(t){return this.getManyBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFleetItemControllerFleetItemPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFleetItemControllerFleetItem(t){return this.createOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFleetItemControllerFleetItemPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFleetItemControllerFleetItem(t){return this.createManyBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.FleetItemControllerExportCsvPath="/fleet_item/csv/export",t.FleetItemControllerImportCsvPath="/fleet_item/csv/import",t.GetOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.ReplaceOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.DeleteOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.UpdateOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.GetManyBaseFleetItemControllerFleetItemPath="/fleet_item",t.CreateOneBaseFleetItemControllerFleetItemPath="/fleet_item",t.CreateManyBaseFleetItemControllerFleetItemPath="/fleet_item/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"Q+lL":function(t,e,n){"use strict";n.d(e,"c",(function(){return x})),n.d(e,"e",(function(){return b})),n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return g})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return P}));var l=n("8Y7J"),i=n("Xd0L"),r=n("XNiG"),o=n("1G5W"),a=n("5GAg"),s=n("KCVW"),u=n("8bJo"),c=n("dvZr");n("s7LF");class d{}const h=Object(i.F)(d);class p{}const f=Object(i.F)(p);class b extends h{constructor(){super(...arguments),this._stateChanges=new r.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}class m extends h{constructor(t){super(),this._elementRef=t,this._stateChanges=new r.a,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}class g extends f{constructor(t,e,n,l){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new r.a,this._isInteractiveList=!!(n||l&&"action-list"===l._getListType()),this._list=n||l;const i=this._getHostElement();"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Object(o.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}ngAfterContentInit(){Object(i.K)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}class _{}const y=Object(i.F)(_);class A{}const v=Object(i.F)(A);class C{constructor(t,e){this.source=t,this.option=e}}class w extends v{constructor(t,e,n){super(),this._element=t,this._changeDetector=e,this.selectionList=n,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.checkboxPosition="after"}get color(){return this._color||this.selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&t!==this.value&&(this.selected=!1),this._value=t}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(t){const e=Object(s.c)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(t){const e=Object(s.c)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())}ngOnInit(){const t=this.selectionList;t._value&&t._value.some(e=>t.compareWith(e,this._value))&&this._setSelected(!0);const e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetector.markForCheck())})}ngAfterContentInit(){Object(i.K)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const t=this._hasFocus,e=this.selectionList._removeOptionFromList(this);t&&e&&e.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){this.disabled||(this.toggle(),this.selectionList._emitChangeEvent(this))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}class P extends y{constructor(t,e){super(),this._element=t,this.selectionChange=new l.r,this.tabIndex=0,this.color="accent",this.compareWith=(t,e)=>t===e,this._disabled=!1,this.selectedOptions=new u.c(!0),this._onChange=t=>{},this._destroyed=new r.a,this._onTouched=()=>{},this.tabIndex=parseInt(e)||0}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this._markOptionsForCheck()}ngAfterContentInit(){this._keyManager=new a.g(this.options).withWrap().withTypeAhead().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this.selectedOptions.onChange.pipe(Object(o.a)(this._destroyed)).subscribe(t=>{if(t.added)for(let e of t.added)e.selected=!0;if(t.removed)for(let e of t.removed)e.selected=!1})}ngOnChanges(t){const e=t.disableRipple,n=t.color;(e&&!e.firstChange||n&&!n.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){this._setAllOptionsSelected(!0)}deselectAll(){this._setAllOptionsSelected(!1)}_setFocusedOption(t){this._keyManager.updateActiveItem(t)}_removeOptionFromList(t){const e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}_keydown(t){const e=t.keyCode,n=this._keyManager,l=n.activeItemIndex,i=Object(c.t)(t);switch(e){case c.o:case c.g:i||(this._toggleFocusedOption(),t.preventDefault());break;case c.i:case c.f:i||(e===c.i?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;case c.a:Object(c.t)(t,"ctrlKey")&&(this.options.find(t=>!t.selected)?this.selectAll():this.deselectAll(),t.preventDefault());break;default:n.onKeydown(t)}e!==c.q&&e!==c.e||!t.shiftKey||n.activeItemIndex===l||this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new C(this,t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_setOptionsFromValues(t){this.options.forEach(t=>t._setSelected(!1)),t.forEach(t=>{const e=this.options.find(e=>!e.selected&&this.compareWith(e.value,t));e&&e._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_toggleFocusedOption(){let t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){let e=this.options.toArray()[t];e&&!e.disabled&&(e.toggle(),this._emitChangeEvent(e))}}_setAllOptionsSelected(t){let e=!1;this.options.forEach(n=>{n._setSelected(t)&&(e=!0)}),e&&this._reportValueChange()}_isValidIndex(t){return t>=0&&t<this.options.length}_getOptionIndex(t){return this.options.toArray().indexOf(t)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}}class x{}},Q2ZK:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFeatureControllerFeaturePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFeatureControllerFeature(t){return this.getOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFeatureControllerFeaturePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFeatureControllerFeature(t){return this.replaceOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFeatureControllerFeaturePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFeatureControllerFeature(t){return this.deleteOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFeatureControllerFeaturePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFeatureControllerFeature(t){return this.updateOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFeatureControllerFeaturePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFeatureControllerFeature(t){return this.getManyBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFeatureControllerFeaturePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFeatureControllerFeature(t){return this.createOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFeatureControllerFeaturePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFeatureControllerFeature(t){return this.createManyBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFeatureControllerFeaturePath="/feature/{id}",t.ReplaceOneBaseFeatureControllerFeaturePath="/feature/{id}",t.DeleteOneBaseFeatureControllerFeaturePath="/feature/{id}",t.UpdateOneBaseFeatureControllerFeaturePath="/feature/{id}",t.GetManyBaseFeatureControllerFeaturePath="/feature",t.CreateOneBaseFeatureControllerFeaturePath="/feature",t.CreateManyBaseFeatureControllerFeaturePath="/feature/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Q80o:function(t,e,n){function l(t){var n;function l(){if(l.enabled){var t=l,i=+new Date,r=i-(n||i);t.diff=r,t.prev=n,t.curr=i,n=i;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=e.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(n,l){if("%%"===n)return n;s++;var i=e.formatters[l];return"function"==typeof i&&(n=i.call(t,o[s]),o.splice(s,1),s--),n})),e.formatArgs.call(t,o);var u=l.log||e.log||console.log.bind(console);u.apply(t,o)}}return l.namespace=t,l.enabled=e.enabled(t),l.useColors=e.useColors(),l.color=function(t){var n,l=0;for(n in t)l=(l<<5)-l+t.charCodeAt(n),l|=0;return e.colors[Math.abs(l)%e.colors.length]}(t),l.destroy=i,"function"==typeof e.init&&e.init(l),e.instances.push(l),l}function i(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=l.debug=l.default=l).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var l=("string"==typeof t?t:"").split(/[\s,]+/),i=l.length;for(n=0;n<i;n++)l[n]&&("-"===(t=l[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")));for(n=0;n<e.instances.length;n++){var r=e.instances[n];r.enabled=e.enabled(r.namespace)}},e.enabled=function(t){if("*"===t[t.length-1])return!0;var n,l;for(n=0,l=e.skips.length;n<l;n++)if(e.skips[n].test(t))return!1;for(n=0,l=e.names.length;n<l;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n("5LH7"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},QL49:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("8Y7J");let i=(()=>{class t{constructor(){this.rootUrl=""}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},QN7Q:function(t,e){var n=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var l=n.call(arguments,2);return function(){return e.apply(t,l.concat(n.call(arguments)))}}},QQfA:function(t,e,n){"use strict";n.d(e,"c",(function(){return N})),n.d(e,"e",(function(){return D})),n.d(e,"b",(function(){return B})),n.d(e,"a",(function(){return z})),n.d(e,"f",(function(){return O})),n.d(e,"h",(function(){return R})),n.d(e,"d",(function(){return P})),n.d(e,"i",(function(){return w})),n.d(e,"g",(function(){return H})),n.d(e,"j",(function(){return U})),n.d(e,"k",(function(){return G}));var l=n("KCVW"),i=n("hOhj"),r=n("SVse"),o=n("8Y7J"),a=n("XNiG"),s=n("quSY"),u=n("HDdC"),c=n("VRyK"),d=n("IzEk"),h=n("1G5W"),p=n("/HVE"),f=n("zMNK"),b=n("dvZr");class m{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,l=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=l,n.scrollBehavior=i}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function g(){return Error("Scroll strategy has already been attached.")}class _{constructor(t,e,n,l){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=l,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class y{enable(){}disable(){}attach(){}}function A(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function v(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class C{constructor(t,e,n,l){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=l,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();A(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let w=(()=>{class t{constructor(t,e,n,l){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new y,this.close=t=>new _(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new m(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=l}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(i.b),Object(o.dc)(i.e),Object(o.dc)(o.G),Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})();class P{constructor(t){if(this.scrollStrategy=new y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class x{constructor(t,e,n,l,i){this.offsetX=n,this.offsetY=l,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class S{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function k(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function M(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let O=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})(),D=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.getElementsByClassName("cdk-overlay-container");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})();class T{constructor(t,e,n,l,i,r,o,c){this._portalOutlet=t,this._host=e,this._pane=n,this._config=l,this._ngZone=i,this._keyboardDispatcher=r,this._document=o,this._location=c,this._backdropElement=null,this._backdropClick=new a.a,this._attachments=new a.a,this._detachments=new a.a,this._locationChanges=s.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEventsObservable=new u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new a.a,this._keydownEventSubscriptions=0,l.scrollStrategy&&(this._scrollStrategy=l.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=l.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(d.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign({},this._config,t),this._updateElementSize()}setDirection(t){this._config=Object.assign({},this._config,{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(h.a)(Object(c.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}class E{constructor(t,e,n,l,i){this._viewportRuler=e,this._document=n,this._platform=l,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new a.a,this._resizeSubscription=s.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,l=[];let i;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),s=this._getOverlayFit(a,e,n,r);if(s.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(s,a,n)?l.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!i||i.overlayFit.visibleArea<s.visibleArea)&&(i={overlayFit:s,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(l.length){let t=null,e=-1;for(const n of l){const l=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);l>e&&(e=l,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&I(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,l;if("center"==e.originX)n=t.left+t.width/2;else{const l=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?l:i}return l="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:l}}_getOverlayPoint(t,e,n){let l,i;return l="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+l,y:t.y+i}}_getOverlayFit(t,e,n,l){let{x:i,y:r}=t,o=this._getOffset(l,"x"),a=this._getOffset(l,"y");o&&(i+=o),a&&(r+=a);let s=0-r,u=r+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),d=this._subtractOverflows(e.height,s,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const l=n.bottom-e.y,i=n.right-e.x,r=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth,a=t.fitsInViewportHorizontally||null!=o&&o<=i;return(t.fitsInViewportVertically||null!=r&&r<=l)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const l=this._viewportRect,i=Math.max(t.x+e.width-l.right,0),r=Math.max(t.y+e.height-l.bottom,0),o=Math.max(l.top-n.top-t.y,0),a=Math.max(l.left-n.left-t.x,0);let s=0,u=0;return s=e.width<=l.width?a||-i:t.x<this._viewportMargin?l.left-n.left-t.x:0,u=e.height<=l.height?o||-r:t.y<this._viewportMargin?l.top-n.top-t.y:0,this._previousPushAmount={x:s,y:u},{x:t.x+s,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new S(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,l=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${n} ${l}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,l=this._isRtl();let i,r,o,a,s,u;if("top"===e.overlayY)r=t.y,i=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,i=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),l=this._lastBoundingBoxSize.height;i=2*e,r=t.y-e,i>l&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-l/2)}if("end"===e.overlayX&&!l||"start"===e.overlayX&&l)u=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!l||"end"===e.overlayX&&l)s=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),l=this._lastBoundingBoxSize.width;a=2*e,s=t.x-e,a>l&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.x-l/2)}return{top:r,left:s,bottom:o,right:u,width:a,height:i}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Object(l.d)(t)),r&&(i.maxWidth=Object(l.d)(r))}this._lastBoundingBoxSize=n,I(this._boundingBox.style,i)}_resetBoundingBoxStyles(){I(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){I(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={};if(this._hasExactPosition()){const l=this._viewportRuler.getViewportScrollPosition();I(n,this._getExactOverlayY(e,t,l)),I(n,this._getExactOverlayX(e,t,l))}else n.position="static";let l="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(l+=`translateX(${i}px) `),r&&(l+=`translateY(${r}px)`),n.transform=l.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),I(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(l.d)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Object(l.d)(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:v(t,n),isOriginOutsideView:A(t,n),isOverlayClipped:v(e,n),isOverlayOutsideView:A(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{M("originX",t.originX),k("originY",t.originY),M("overlayX",t.overlayX),k("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof o.p)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function I(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}class L{constructor(t,e,n,l,i,r,o){this._preferredPositions=[],this._positionStrategy=new E(n,l,i,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,l){const i=new x(t,e,n,l);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class j{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let R=(()=>{class t{constructor(t,e,n,l){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=l}global(){return new j}connectedTo(t,e,n){return new L(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new E(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(i.e),Object(o.dc)(r.d),Object(o.dc)(p.a),Object(o.dc)(D))},token:t,providedIn:"root"}),t})(),F=0;class N{constructor(t,e,n,l,i,r,o,a,s,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=l,this._keyboardDispatcher=i,this._injector=r,this._ngZone=o,this._document=a,this._directionality=s,this._location=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),l=this._createPortalOutlet(n),i=new P(t);return i.direction=i.direction||this._directionality.value,new T(l,e,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+F++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(o.g)),new f.e(t,this._componentFactoryResolver,this._appRef,this._injector)}}const Y=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],U=new o.w("cdk-connected-overlay-scroll-strategy");class B{constructor(t){this.elementRef=t}}class z{constructor(t,e,n,l,i){this._overlay=t,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=s.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.r,this.positionChange=new o.r,this.attach=new o.r,this.detach=new o.r,this.overlayKeydown=new o.r,this._templatePortal=new f.h(e,n),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==b.h||Object(b.t)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this._createPositionStrategy(),e=new P({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}function G(t){return()=>t.scrollStrategies.reposition()}class H{}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},Qykp:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseBboxControllerBboxPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseBboxControllerBbox(t){return this.getOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseBboxControllerBboxPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseBboxControllerBbox(t){return this.replaceOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseBboxControllerBboxPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseBboxControllerBbox(t){return this.deleteOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseBboxControllerBboxPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseBboxControllerBbox(t){return this.updateOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseBboxControllerBboxPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseBboxControllerBbox(t){return this.getManyBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseBboxControllerBboxPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseBboxControllerBbox(t){return this.createOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseBboxControllerBboxPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseBboxControllerBbox(t){return this.createManyBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseBboxControllerBboxPath="/bbox/{id}",t.ReplaceOneBaseBboxControllerBboxPath="/bbox/{id}",t.DeleteOneBaseBboxControllerBboxPath="/bbox/{id}",t.UpdateOneBaseBboxControllerBboxPath="/bbox/{id}",t.GetManyBaseBboxControllerBboxPath="/bbox",t.CreateOneBaseBboxControllerBboxPath="/bbox",t.CreateManyBaseBboxControllerBboxPath="/bbox/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},QzRn:function(t,e,n){"use strict";var l=n("4mld"),i=n("ykKD");n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u}));var r,o=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n=t.call(this)||this;return e.handleEvent&&(n.handleEvent=e.handleEvent),n.map_=null,n.setActive(!0),n}return o(e,t),e.prototype.getActive=function(){return this.get("active")},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(t){return!0},e.prototype.setActive=function(t){this.set("active",t)},e.prototype.setMap=function(t){this.map_=t},e}(l.a);function s(t,e,n){var l=t.getCenterInternal();l&&t.animateInternal({duration:void 0!==n?n:250,easing:i.d,center:t.getConstrainedCenter([l[0]+e[0],l[1]+e[1]])})}function u(t,e,n,l){var r=t.getZoom();if(void 0!==r){var o=t.getConstrainedZoom(r+e),a=t.getResolutionForZoom(o);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:void 0!==l?l:250,easing:i.b})}}e.a=a},"R+T3":function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("egkh"),u=n("mrzG"),c=n("l2lA"),d=n("q7cr"),h=n("u2yf"),p=n("saKC"),f=n("xWBw"),b=n("HEh+"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e,n,l){var r=t.call(this)||this;if(r.ends_=[],r.maxDelta_=-1,r.maxDeltaRevision_=-1,Array.isArray(e[0]))r.setCoordinates(e,n);else if(void 0!==n&&l)r.setFlatCoordinates(n,e),r.ends_=l;else{for(var o=r.getLayout(),a=e,s=[],u=[],c=0,d=a.length;c<d;++c){var h=a[c];0===c&&(o=h.getLayout()),Object(i.c)(s,h.getFlatCoordinates()),u.push(s.length)}r.setFlatCoordinates(o,s),r.ends_=u}return r}return m(e,t),e.prototype.appendLineString=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates().slice()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice())},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(c.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(c.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,n,l))},e.prototype.getCoordinateAtM=function(t,e,n){if(this.layout!=o.a.XYM&&this.layout!=o.a.XYZM||0===this.flatCoordinates.length)return null;var l=void 0!==e&&e,i=void 0!==n&&n;return Object(p.c)(this.flatCoordinates,0,this.ends_,this.stride,t,l,i)},e.prototype.getCoordinates=function(){return Object(h.b)(this.flatCoordinates,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getLineString=function(t){return t<0||this.ends_.length<=t?null:new s.a(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLineStrings=function(){for(var t=this.flatCoordinates,e=this.ends_,n=this.layout,l=[],i=0,r=0,o=e.length;r<o;++r){var a=e[r],u=new s.a(t.slice(i,a),n);l.push(u),i=a}return l},e.prototype.getFlatMidpoints=function(){for(var t=[],e=this.flatCoordinates,n=0,l=this.ends_,r=this.stride,o=0,a=l.length;o<a;++o){var s=l[o],u=Object(p.a)(e,n,s,r,.5);Object(i.c)(t,u),n=s}return t},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(b.b)(this.flatCoordinates,0,this.ends_,this.stride,t,n,0,l),new e(n,o.a.XY,l)},e.prototype.getType=function(){return a.a.MULTI_LINE_STRING},e.prototype.intersectsExtent=function(t){return Object(f.b)(this.flatCoordinates,0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(d.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(u.a);e.a=g},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[n][0]:i[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RH9n:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h}));var l,i=n("8Y7J"),r=n("HDdC"),o=n("w1tV"),a=n("gFX4"),s=n.n(a);class u{constructor(t){this.config=t,this.subscribersCounter={},this.eventObservables$={},this.emptyConfig={url:"",options:{}},void 0===t&&(t=this.emptyConfig),this.ioSocket=(s.a?s.a:a)(t.url,t.options)}of(t){this.ioSocket.of(t)}on(t,e){this.ioSocket.on(t,e)}once(t,e){this.ioSocket.once(t,e)}connect(){return this.ioSocket.connect()}disconnect(t){return this.ioSocket.disconnect.apply(this.ioSocket,arguments)}emit(t,...e){return this.ioSocket.emit.apply(this.ioSocket,arguments)}removeListener(t,e){return this.ioSocket.removeListener.apply(this.ioSocket,arguments)}removeAllListeners(t){return this.ioSocket.removeAllListeners.apply(this.ioSocket,arguments)}fromEvent(t){return this.subscribersCounter[t]||(this.subscribersCounter[t]=0),this.subscribersCounter[t]++,this.eventObservables$[t]||(this.eventObservables$[t]=new r.a(e=>{const n=t=>{e.next(t)};return this.ioSocket.on(t,n),()=>{this.subscribersCounter[t]--,0===this.subscribersCounter[t]&&(this.ioSocket.removeListener(t,n),delete this.eventObservables$[t])}}).pipe(Object(o.a)())),this.eventObservables$[t]}fromOneTimeEvent(t){return new Promise(e=>this.once(t,e))}}function c(t){return new u(t)}const d=new i.w("__SOCKET_IO_CONFIG__");let h=l=class{static forRoot(t){return{ngModule:l,providers:[{provide:d,useValue:t},{provide:u,useFactory:c,deps:[d]}]}}}},Rj0l:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a;for(e=parseInt(e,10),n=parseFloat(n),l=parseFloat(l),o=1,i=Math.round(n);i>=t.BLOCK_SIZE;)i-=t.BLOCK_SIZE,o+=1;for(o%=t.GRIDSQUARE_SET_ROW_SIZE,a=0,r=Math.round(l);r>=t.BLOCK_SIZE;)r-=t.BLOCK_SIZE,a+=1;return a%=t.GRIDSQUARE_SET_COL_SIZE,function(e,n,l){var i,r;switch(0===n?n=t.GRIDSQUARE_SET_ROW_SIZE-1:n-=1,0===l?l=t.GRIDSQUARE_SET_COL_SIZE-1:l-=1,e){case 1:i="ABCDEFGH",r="ABCDEFGHJKLMNPQRSTUV";break;case 2:i="JKLMNPQR",r="FGHJKLMNPQRSTUVABCDE";break;case 3:i="STUVWXYZ",r="ABCDEFGHJKLMNPQRSTUV";break;case 4:i="ABCDEFGH",r="FGHJKLMNPQRSTUVABCDE";break;case 5:i="JKLMNPQR",r="ABCDEFGHJKLMNPQRSTUV";break;case 6:i="STUVWXYZ",r="FGHJKLMNPQRSTUVABCDE";break;default:throw"Unrecognized set passed to lettersHelper"}return i.charAt(l)+r.charAt(n)}(function(t){var e;switch(t=parseInt(t,10),t%=6){case 0:e=6;break;case 1:e=1;break;case 2:e=2;break;case 3:e=3;break;case 4:e=4;break;case 5:e=5;break;default:e=-1}return e}(e),o,a)}function n(t){return 84>=(t=parseFloat(t))&&t>=72?"X":72>t&&t>=64?"W":64>t&&t>=56?"V":56>t&&t>=48?"U":48>t&&t>=40?"T":40>t&&t>=32?"S":32>t&&t>=24?"R":24>t&&t>=16?"Q":16>t&&t>=8?"P":8>t&&t>=0?"N":0>t&&t>=-8?"M":-8>t&&t>=-16?"L":-16>t&&t>=-24?"K":-24>t&&t>=-32?"J":-32>t&&t>=-40?"H":-40>t&&t>=-48?"G":-48>t&&t>=-56?"F":-56>t&&t>=-64?"E":-64>t&&t>=-72?"D":-72>t&&t>=-80?"C":"Z"}function l(t){var e={};if("object"!=typeof t||!t.degrees||!t.minutes||!t.seconds)return!1;e.degrees="string"==typeof t.degrees?parseInt(t.degrees,10):t.degrees,t.direction&&(e.degrees*="S"===t.direction||"W"===t.direction?-Math.abs(e.degrees):Math.abs(e.degrees)),e.minutes="string"==typeof t.minutes?Math.abs(parseInt(t.minutes,10)):Math.abs(t.minutes),e.seconds="string"==typeof t.seconds?Math.abs(parseInt(t.seconds,10)):Math.abs(t.seconds)}function i(t){var e,n,i={};if("object"==typeof t)i=l(t);else{if(!/^[NSEW\-]?\d{1,3}[\xb0 ]\d{1,2}[' ]\d{1,2}(\.\d{1,3})?[" ][NSEW]?$/.test(t))throw"Angle not formatted correctly: "+t;e=t.match(/-?\d+(\.\d+)?/g),i.degrees=parseInt(e[0],10),i.minutes=parseInt(e[1],10),i.seconds=parseFloat(e[2])}return e=String(i.minutes/60+i.seconds/3600),n=i.degrees+"."+e.substring(e.indexOf(".")+1),parseFloat(n)}function r(t,e){var n;if(t=parseFloat(t),(e=parseFloat(e))>360||e<-180||t>90||t<-90)throw"Bad input. lat: "+t+" lon: "+e;return n=parseInt((e+180)/6,10)+1,t>=56&&t<64&&e>=3&&e<12&&(n=32),t>=72&&t<84&&(e>=0&&e<9?n=31:e>=9&&e<21?n=33:e>=21&&e<33?n=35:e>=33&&e<42&&(n=37)),n}return function(o){return t=o,{dmsVerify:l,dmsToDecimal:i,getZoneNumber:r,utmLetterDesignator:n,findGridLetters:e}}})?l.apply(e,[]):l)||(t.exports=i)},Rlre:function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return A})),n.d(e,"a",(function(){return S})),n.d(e,"d",(function(){return M}));var l=n("8Y7J"),i=n("rWV4"),r=n("SVse"),o=n("POq0"),a=n("IP0z"),s=n("Xd0L"),u=(n("cUpR"),n("zMNK")),c=n("/HVE"),d=n("5GAg"),h=n("omvX"),p=n("hOhj"),f=l.Bb({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function b(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function m(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(1,212992,null,0,u.c,[l.m,l.Y],{portal:[0,"portal"]},null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)}),null)}function g(t){return l.Yb(0,[(t()(),l.Wb(0,null,["",""]))],null,(function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)}))}function _(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._handleClick(t.context.$implicit,l.Pb(t.parent,3),t.context.index)&&i),i}),null,null)),l.Cb(1,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),l.Cb(2,147456,null,0,d.e,[l.p,d.h],null,null),l.Cb(3,16384,[[3,4]],0,i.i,[l.p],{disabled:[0,"disabled"]},null),(t()(),l.Db(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(6,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(8,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)}),(function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,l.Pb(e,1).unbounded,l.Pb(e,3).disabled,!!l.Pb(e,3).disabled])}))}function y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],(function(t,e,n){var l=!0,i=t.component;return"_onCentered"===e&&(l=!1!==i._removeTabBodyWrapperHeight()&&l),"_onCentering"===e&&(l=!1!==i._setTabBodyWrapperHeight(n)&&l),l}),w,v)),l.Cb(1,245760,null,0,i.d,[l.p,[2,a.b],l.j],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],(function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)}),(function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)}))}function A(t){return l.Yb(2,[l.Ub(671088640,1,{_tabBodyWrapper:0}),l.Ub(671088640,2,{_tabHeader:0}),(t()(),l.Db(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],(function(t,e,n){var l=!0,i=t.component;return"indexFocused"===e&&(l=!1!==i._focusChanged(n)&&l),"selectFocusedIndex"===e&&(l=!1!==(i.selectedIndex=n)&&l),l}),x,P)),l.Cb(3,7520256,[[2,4],["tabHeader",4]],1,i.h,[l.p,l.j,p.e,[2,a.b],l.G,c.a,[2,h.a]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),l.Ub(603979776,3,{_items:1}),(t()(),l.sb(16777216,null,0,1,null,_)),l.Cb(6,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,y)),l.Cb(9,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.selectedIndex,n.disableRipple),t(e,6,0,n._tabs),t(e,9,0,n._tabs)}),(function(t,e){var n=e.component;t(e,2,0,l.Pb(e,3)._showPaginationControls,"rtl"==l.Pb(e,3)._getLayoutDirection()),t(e,7,0,"NoopAnimations"===n._animationMode)}))}var v=l.Bb({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function C(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function w(t){return l.Yb(2,[l.Ub(671088640,1,{_portalHost:0}),(t()(),l.Db(1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],(function(t,e,n){var l=!0,i=t.component;return"@translateTab.start"===e&&(l=!1!==i._onTranslateTabStarted(n)&&l),"@translateTab.done"===e&&(l=!1!==i._translateTabComplete.next(n)&&l),l}),null,null)),l.Rb(2,{animationDuration:0}),l.Rb(3,{value:0,params:1}),(t()(),l.sb(16777216,null,null,1,null,C)),l.Cb(5,212992,null,0,i.e,[l.m,l.Y,i.d],null,null)],(function(t,e){t(e,5,0)}),(function(t,e){var n=e.component,l=t(e,3,0,n._position,t(e,2,0,n.animationDuration));t(e,1,0,l)}))}var P=l.Bb({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function x(t){return l.Yb(2,[l.Ub(402653184,1,{_inkBar:0}),l.Ub(402653184,2,{_tabListContainer:0}),l.Ub(402653184,3,{_tabList:0}),l.Ub(671088640,4,{_nextPaginator:0}),l.Ub(671088640,5,{_previousPaginator:0}),(t()(),l.Db(5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i._handlePaginatorClick("before")&&l),"mousedown"===e&&(l=!1!==i._handlePaginatorPress("before")&&l),"touchend"===e&&(l=!1!==i._stopInterval()&&l),l}),null,null)),l.Cb(6,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),l.Db(8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==t.component._handleKeydown(n)&&l),l}),null,null)),(t()(),l.Db(9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onContentChanges()&&l),l}),null,null)),l.Cb(10,1196032,null,0,o.a,[o.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),l.Cb(14,16384,[[1,4]],0,i.b,[l.p,l.G,i.l,[2,h.a]],null,null),(t()(),l.Db(15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],(function(t,e,n){var l=!0,i=t.component;return"mousedown"===e&&(l=!1!==i._handlePaginatorPress("after")&&l),"click"===e&&(l=!1!==i._handlePaginatorClick("after")&&l),"touchend"===e&&(l=!1!==i._stopInterval()&&l),l}),null,null)),l.Cb(16,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,6,0,n._disableScrollBefore||n.disableRipple),t(e,16,0,n._disableScrollAfter||n.disableRipple)}),(function(t,e){var n=e.component;t(e,5,0,n._disableScrollBefore,l.Pb(e,6).unbounded),t(e,9,0,"NoopAnimations"===n._animationMode),t(e,13,0,"NoopAnimations"===l.Pb(e,14)._animationMode),t(e,15,0,n._disableScrollAfter,l.Pb(e,16).unbounded)}))}var S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(0,[l.Ob(null,0),(t()(),l.sb(0,null,null,0))],null,null)}function M(t){return l.Yb(2,[l.Ub(402653184,1,{_implicitContent:0}),(t()(),l.sb(0,[[1,2]],null,0,null,k))],null,null)}},Rn7m:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("/Co4"),n("SVse")),r=(n("QQfA"),n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),n("zMNK"),n("hOhj"),l.Bb({encapsulation:2,styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}@media (-ms-high-contrast:active){.mat-autocomplete-panel{outline:solid 1px}}"],data:{}}));function o(t){return l.Yb(0,[(t()(),l.Db(0,0,[[2,0],["panel",1]],null,3,"div",[["class","mat-autocomplete-panel"],["role","listbox"]],[[8,"id",0]],null,null,null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Ob(null,0)],(function(t,e){t(e,2,0,"mat-autocomplete-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component.id)}))}function a(t){return l.Yb(2,[l.Ub(402653184,1,{template:0}),l.Ub(671088640,2,{panel:0}),(t()(),l.sb(0,[[1,2]],null,0,null,o))],null,null)}},RnhZ:function(t,e,n){var l={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function i(t){var e=r(t);return n(e)}function r(t){if(!n.o(l,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return l[t]}i.keys=function(){return Object.keys(l)},i.resolve=r,t.exports=i,i.id="RnhZ"},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=t+" ";switch(n){case"ss":return l+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return l+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return l+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return l+(1===t?"dan":"dana");case"MM":return l+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return l+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SSvb:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("JW8z");function i(t){const e=[];for(const n in t)t.hasOwnProperty(n)&&(e[n]=Object(l.d)(t[n]));return e}function r(t){const e=[];let n=0;for(const i of t){e[n]=[];for(const t of i)e[n].push(Object(l.d)(t));n++}return e}},SVse:function(t,e,n){"use strict";n.d(e,"F",(function(){return G})),n.d(e,"o",(function(){return V})),n.d(e,"p",(function(){return H})),n.d(e,"G",(function(){return q})),n.d(e,"c",(function(){return Ct})),n.d(e,"l",(function(){return K})),n.d(e,"m",(function(){return Q})),n.d(e,"n",(function(){return tt})),n.d(e,"q",(function(){return ct})),n.d(e,"r",(function(){return it})),n.d(e,"s",(function(){return rt})),n.d(e,"t",(function(){return ot})),n.d(e,"u",(function(){return dt})),n.d(e,"d",(function(){return wt})),n.d(e,"b",(function(){return gt})),n.d(e,"e",(function(){return _t})),n.d(e,"f",(function(){return vt})),n.d(e,"h",(function(){return yt})),n.d(e,"E",(function(){return Pt})),n.d(e,"y",(function(){return xt})),n.d(e,"z",(function(){return St})),n.d(e,"x",(function(){return kt})),n.d(e,"B",(function(){return $})),n.d(e,"A",(function(){return W})),n.d(e,"D",(function(){return st})),n.d(e,"C",(function(){return at})),n.d(e,"w",(function(){return i})),n.d(e,"i",(function(){return r})),n.d(e,"k",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return c})),n.d(e,"v",(function(){return d})),n.d(e,"j",(function(){return s}));var l=n("8Y7J");class i{}const r=new l.w("Location Initialized");class o{}const a=new l.w("appBaseHref");class s{constructor(t,e){this._subject=new l.r,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=s.stripTrailingSlash(u(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+s.normalizeQueryParams(e))}normalize(t){return s.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,u(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+s.normalizeQueryParams(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+s.normalizeQueryParams(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}static normalizeQueryParams(t){return t&&"?"!==t[0]?"?"+t:t}static joinWithSlash(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}}function u(t){return t.replace(/\/index.html$/,"")}class c extends o{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=s.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,l){let i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,l){let i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class d extends o{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return s.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+s.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,l){const i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,l){const i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const h=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),p=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),f=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),b=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),m=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),g=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function _(t,e){return P(Object(l.Eb)(t)[l.ob.DateFormat],e)}function y(t,e){return P(Object(l.Eb)(t)[l.ob.TimeFormat],e)}function A(t,e){return P(Object(l.Eb)(t)[l.ob.DateTimeFormat],e)}function v(t,e){const n=Object(l.Eb)(t),i=n[l.ob.NumberSymbols][e];if(void 0===i){if(e===g.CurrencyDecimal)return n[l.ob.NumberSymbols][g.Decimal];if(e===g.CurrencyGroup)return n[l.ob.NumberSymbols][g.Group]}return i}const C=l.Fb;function w(t){if(!t[l.ob.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[l.ob.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function P(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function x(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const S=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,k={},M=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,O=function(){var t={Short:0,ShortGMT:1,Long:2,Extended:3};return t[t.Short]="Short",t[t.ShortGMT]="ShortGMT",t[t.Long]="Long",t[t.Extended]="Extended",t}(),D=function(){var t={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return t[t.FullYear]="FullYear",t[t.Month]="Month",t[t.Date]="Date",t[t.Hours]="Hours",t[t.Minutes]="Minutes",t[t.Seconds]="Seconds",t[t.FractionalSeconds]="FractionalSeconds",t[t.Day]="Day",t}(),T=function(){var t={DayPeriods:0,Days:1,Months:2,Eras:3};return t[t.DayPeriods]="DayPeriods",t[t.Days]="Days",t[t.Months]="Months",t[t.Eras]="Eras",t}();function E(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function I(t,e,n="-",l,i){let r="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return l&&(o=o.substr(o.length-e)),r+o}function L(t,e,n=0,l=!1,i=!1){return function(r,o){let a=function(t,e){switch(t){case D.FullYear:return e.getFullYear();case D.Month:return e.getMonth();case D.Date:return e.getDate();case D.Hours:return e.getHours();case D.Minutes:return e.getMinutes();case D.Seconds:return e.getSeconds();case D.FractionalSeconds:return e.getMilliseconds();case D.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||a>-n)&&(a+=n),t===D.Hours)0===a&&-12===n&&(a=12);else if(t===D.FractionalSeconds)return s=e,I(a,3).substr(0,s);var s;const u=v(o,g.MinusSign);return I(a,e,u,l,i)}}function j(t,e,n=f.Format,i=!1){return function(r,o){return function(t,e,n,i,r,o){switch(n){case T.Months:return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.MonthsFormat],i[l.ob.MonthsStandalone]],e);return P(r,n)}(e,r,i)[t.getMonth()];case T.Days:return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.DaysFormat],i[l.ob.DaysStandalone]],e);return P(r,n)}(e,r,i)[t.getDay()];case T.DayPeriods:const a=t.getHours(),s=t.getMinutes();if(o){const t=function(t){const e=Object(l.Eb)(t);return w(e),(e[l.ob.ExtraData][2]||[]).map(t=>"string"==typeof t?x(t):[x(t[0]),x(t[1])])}(e),n=function(t,e,n){const i=Object(l.Eb)(t);w(i);const r=P([i[l.ob.ExtraData][0],i[l.ob.ExtraData][1]],e)||[];return P(r,n)||[]}(e,r,i);let o;if(t.forEach((t,e)=>{if(Array.isArray(t)){const{hours:l,minutes:i}=t[0],{hours:r,minutes:u}=t[1];a>=l&&s>=i&&(a<r||a===r&&s<u)&&(o=n[e])}else{const{hours:l,minutes:i}=t;l===a&&i===s&&(o=n[e])}}),o)return o}return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.DayPeriodsFormat],i[l.ob.DayPeriodsStandalone]],e);return P(r,n)}(e,r,i)[a<12?0:1];case T.Eras:return function(t,e){return P(Object(l.Eb)(t)[l.ob.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,t,e,n,i)}}function R(t){return function(e,n,l){const i=-1*l,r=v(n,g.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case O.Short:return(i>=0?"+":"")+I(o,2,r)+I(Math.abs(i%60),2,r);case O.ShortGMT:return"GMT"+(i>=0?"+":"")+I(o,1,r);case O.Long:return"GMT"+(i>=0?"+":"")+I(o,2,r)+":"+I(Math.abs(i%60),2,r);case O.Extended:return 0===l?"Z":(i>=0?"+":"")+I(o,2,r)+":"+I(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function F(t,e=!1){return function(n,l){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(n.getFullYear()),e=(r=n,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(4-r.getDay()))).getTime()-t.getTime();i=1+Math.round(e/6048e5)}var r;return I(i,t,v(l,g.MinusSign))}}const N={};function Y(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function U(t){return t instanceof Date&&!isNaN(t.valueOf())}const B=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function z(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}const G=new l.w("UseV4Plurals");class H{}class V extends H{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):C(e||this.locale)(t)){case p.Zero:return"zero";case p.One:return"one";case p.Two:return"two";case p.Few:return"few";case p.Many:return"many";default:return"other"}}}function q(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[l,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(l.trim()===e)return decodeURIComponent(i)}return null}class W{}class ${constructor(t,e,n,l){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=l,this._initialClasses=[]}getValue(){return null}setClass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(l.Ib)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(l.Vb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}let X=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class K extends X{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}class J{constructor(t,e,n,l){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=l}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Q{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(l.hb)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,l)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new J(null,this._ngForOf,-1,-1),null===l?void 0:l),i=new Z(t,n);e.push(i)}else if(null==l)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,l);const r=new Z(t,i);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,l=this._viewContainer.length;n<l;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=l,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}class Z{constructor(t,e){this.record=t,this.view=e}}class tt{constructor(t,e){this._viewContainer=t,this._context=new et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){nt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){nt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}class et{constructor(){this.$implicit=null,this.ngIf=null}}function nt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(l.Vb)(e)}'.`)}class lt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}class it{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}class rt{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new lt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}class ot{constructor(t,e,n){n._addDefault(new lt(t,e))}}class at{}class st{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}getValue(){return null}setNgStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}applyChanges(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}_setStyle(t,e){const[n,l]=t.split(".");null!=(e=null!=e&&l?`${e}${l}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}}let ut=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class ct extends ut{constructor(t){super(t)}set ngStyle(t){this._delegate.setNgStyle(t)}ngDoCheck(){this._delegate.applyChanges()}}class dt{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){this._shouldRecreateView(t)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}function ht(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(l.Vb)(t)}'`)}class pt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class ft{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const bt=new ft,mt=new pt;class gt{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(l.Lb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.ab.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(t){if(Object(l.Kb)(t))return bt;if(Object(l.Jb)(t))return mt;throw ht(gt,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}class _t{constructor(t){this.locale=t}transform(t,e="mediumDate",n,i){if(null==t||""===t||t!=t)return null;try{return function(t,e,n,i){let r=function(t){if(U(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,l]=t.split("-").map(t=>+t);return new Date(e,n-1,l)}let n;if(n=t.match(S))return function(t){const e=new Date(0);let n=0,l=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),l=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-l,s=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,s,u),e}(n)}const e=new Date(t);if(!U(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,n){const i=function(t){return Object(l.Eb)(t)[l.ob.LocaleId]}(e);if(k[i]=k[i]||{},k[i][n])return k[i][n];let r="";switch(n){case"shortDate":r=_(e,m.Short);break;case"mediumDate":r=_(e,m.Medium);break;case"longDate":r=_(e,m.Long);break;case"fullDate":r=_(e,m.Full);break;case"shortTime":r=y(e,m.Short);break;case"mediumTime":r=y(e,m.Medium);break;case"longTime":r=y(e,m.Long);break;case"fullTime":r=y(e,m.Full);break;case"short":const n=t(e,"shortTime"),l=t(e,"shortDate");r=E(A(e,m.Short),[n,l]);break;case"medium":const i=t(e,"mediumTime"),o=t(e,"mediumDate");r=E(A(e,m.Medium),[i,o]);break;case"long":const a=t(e,"longTime"),s=t(e,"longDate");r=E(A(e,m.Long),[a,s]);break;case"full":const u=t(e,"fullTime"),c=t(e,"fullDate");r=E(A(e,m.Full),[u,c])}return r&&(k[i][n]=r),r}(n,e)||e;let o,a=[];for(;e;){if(o=M.exec(e),!o){a.push(e);break}{a=a.concat(o.slice(1));const t=a.pop();if(!t)break;e=t}}let s=r.getTimezoneOffset();i&&(s=Y(i,s),r=function(t,e,n){const l=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Y(e,l)-l))}(r,i));let u="";return a.forEach(t=>{const e=function(t){if(N[t])return N[t];let e;switch(t){case"G":case"GG":case"GGG":e=j(T.Eras,b.Abbreviated);break;case"GGGG":e=j(T.Eras,b.Wide);break;case"GGGGG":e=j(T.Eras,b.Narrow);break;case"y":e=L(D.FullYear,1,0,!1,!0);break;case"yy":e=L(D.FullYear,2,0,!0,!0);break;case"yyy":e=L(D.FullYear,3,0,!1,!0);break;case"yyyy":e=L(D.FullYear,4,0,!1,!0);break;case"M":case"L":e=L(D.Month,1,1);break;case"MM":case"LL":e=L(D.Month,2,1);break;case"MMM":e=j(T.Months,b.Abbreviated);break;case"MMMM":e=j(T.Months,b.Wide);break;case"MMMMM":e=j(T.Months,b.Narrow);break;case"LLL":e=j(T.Months,b.Abbreviated,f.Standalone);break;case"LLLL":e=j(T.Months,b.Wide,f.Standalone);break;case"LLLLL":e=j(T.Months,b.Narrow,f.Standalone);break;case"w":e=F(1);break;case"ww":e=F(2);break;case"W":e=F(1,!0);break;case"d":e=L(D.Date,1);break;case"dd":e=L(D.Date,2);break;case"E":case"EE":case"EEE":e=j(T.Days,b.Abbreviated);break;case"EEEE":e=j(T.Days,b.Wide);break;case"EEEEE":e=j(T.Days,b.Narrow);break;case"EEEEEE":e=j(T.Days,b.Short);break;case"a":case"aa":case"aaa":e=j(T.DayPeriods,b.Abbreviated);break;case"aaaa":e=j(T.DayPeriods,b.Wide);break;case"aaaaa":e=j(T.DayPeriods,b.Narrow);break;case"b":case"bb":case"bbb":e=j(T.DayPeriods,b.Abbreviated,f.Standalone,!0);break;case"bbbb":e=j(T.DayPeriods,b.Wide,f.Standalone,!0);break;case"bbbbb":e=j(T.DayPeriods,b.Narrow,f.Standalone,!0);break;case"B":case"BB":case"BBB":e=j(T.DayPeriods,b.Abbreviated,f.Format,!0);break;case"BBBB":e=j(T.DayPeriods,b.Wide,f.Format,!0);break;case"BBBBB":e=j(T.DayPeriods,b.Narrow,f.Format,!0);break;case"h":e=L(D.Hours,1,-12);break;case"hh":e=L(D.Hours,2,-12);break;case"H":e=L(D.Hours,1);break;case"HH":e=L(D.Hours,2);break;case"m":e=L(D.Minutes,1);break;case"mm":e=L(D.Minutes,2);break;case"s":e=L(D.Seconds,1);break;case"ss":e=L(D.Seconds,2);break;case"S":e=L(D.FractionalSeconds,1);break;case"SS":e=L(D.FractionalSeconds,2);break;case"SSS":e=L(D.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=R(O.Short);break;case"ZZZZZ":e=R(O.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=R(O.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=R(O.Long);break;default:return null}return N[t]=e,e}(t);u+=e?e(r,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}(t,e,i||this.locale,n)}catch(r){throw ht(_t,r.message)}}}class yt{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=At){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}function At(t,e){const n=t.key,l=e.key;if(n===l)return 0;if(void 0===n)return 1;if(void 0===l)return-1;if(null===n)return 1;if(null===l)return-1;if("string"==typeof n&&"string"==typeof l)return n<l?-1:1;if("number"==typeof n&&"number"==typeof l)return n-l;if("boolean"==typeof n&&"boolean"==typeof l)return n<l?-1:1;const i=String(n),r=String(l);return i==r?0:i<r?-1:1}class vt{constructor(t){this._locale=t}transform(t,e,n){if(function(t){return null==t||""===t||t!=t}(t))return null;n=n||this._locale;try{return function(t,e,n){return function(t,e,n,l,i,r,o=!1){let a="",s=!1;if(isFinite(t)){let u=function(t){let e,n,l,i,r,o=Math.abs(t)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(l=o.search(/e/i))>0?(n<0&&(n=l),n+=+o.slice(l+1),o=o.substring(0,l)):n<0&&(n=o.length),l=0;"0"===o.charAt(l);l++);if(l===(r=o.length))e=[0],n=1;else{for(r--;"0"===o.charAt(r);)r--;for(n-=l,e=[],i=0;l<=r;l++,i++)e[i]=Number(o.charAt(l))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(u=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(u));let c=e.minInt,d=e.minFrac,h=e.maxFrac;if(r){const t=r.match(B);if(null===t)throw new Error(r+" is not a valid digit info");const e=t[1],n=t[3],l=t[5];null!=e&&(c=z(e)),null!=n&&(d=z(n)),null!=l?h=z(l):null!=n&&d>h&&(h=d)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let l=t.digits,i=l.length-t.integerLen;const r=Math.min(Math.max(e,i),n);let o=r+t.integerLen,a=l[o];if(o>0){l.splice(Math.max(t.integerLen,o));for(let t=o;t<l.length;t++)l[t]=0}else{i=Math.max(0,i),t.integerLen=1,l.length=Math.max(1,o=r+1),l[0]=0;for(let t=1;t<o;t++)l[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)l.unshift(0),t.integerLen++;l.unshift(1),t.integerLen++}else l[o-1]++;for(;i<Math.max(0,r);i++)l.push(0);let s=0!==r;const u=e+t.integerLen,c=l.reduceRight((function(t,e,n,l){return l[n]=(e+=t)<10?e:e-10,s&&(0===l[n]&&n>=u?l.pop():s=!1),e>=10?1:0}),0);c&&(l.unshift(c),t.integerLen++)}(u,d,h);let p=u.digits,f=u.integerLen;const b=u.exponent;let m=[];for(s=p.every(t=>!t);f<c;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const _=[];for(p.length>=e.lgSize&&_.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)_.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join(v(n,l)),m.length&&(a+=v(n,i)+m.join("")),b&&(a+=v(n,g.Exponential)+"+"+b)}else a=v(n,g.Infinity);return a=t<0&&!s?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},l=t.split(";"),i=l[0],r=l[1],o=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=o[0],s=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let c=0;c<s.length;c++){const t=s.charAt(c);"0"===t?n.minFrac=n.maxFrac=c+1:"#"===t?n.maxFrac=c+1:n.posSuf+=t}const u=a.split(",");if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,r){const t=i.length-n.posPre.length-n.posSuf.length,e=r.indexOf("#");n.negPre=r.substr(0,e).replace(/'/g,""),n.negSuf=r.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(function(t,e){return Object(l.Eb)(t)[l.ob.NumberFormats][e]}(e,h.Decimal),v(e,g.MinusSign)),e,g.Group,g.Decimal,n)}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(t),n,e)}catch(i){throw ht(vt,i.message)}}}class Ct{}const wt=new l.w("DocumentToken"),Pt="browser";function xt(t){return t===Pt}function St(t){return"server"===t}let kt=(()=>{class t{}return t.ngInjectableDef=Object(l.cc)({token:t,providedIn:"root",factory:()=>new Mt(Object(l.dc)(wt),window,Object(l.dc)(l.q))}),t})();class Mt{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,l=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],l-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},"SW/M":function(t,e,n){"use strict";e.a={ANIMATING:0,INTERACTING:1}},SYdj:function(t,e,n){var l,i,r;i=[n("1SYQ")],void 0===(r="function"==typeof(l=function(t){"use strict";return t})?l.apply(e,i):l)||(t.exports=r)},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1200?"\u4e0a\u5348":1200===l?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(t,e,n){"use strict";var l=n("ngJS"),i=n("NJ4a"),r=n("Lhse"),o=n("kJWO"),a=n("I55L"),s=n("c2HN"),u=n("XoHu");n.d(e,"a",(function(){return c}));const c=t=>{if(t&&"function"==typeof t[o.a])return c=t,t=>{const e=c[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(l.a)(t);if(Object(s.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i.a),t);if(t&&"function"==typeof t[r.a])return e=t,t=>{const n=e[r.a]();for(;;){let e;try{e=n.next()}catch(l){return t.error(l),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(u.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,c}},SpAZ:function(t,e,n){"use strict";function l(t){return t}n.d(e,"a",(function(){return l}))},SzCE:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("Mc5n"),r=n("SVse"),o=n("IP0z"),a=n("oBZk"),s=n("ZZ/e"),u=n("s6ns"),c=n("aECi");n.d(e,"a",(function(){return m}));var d=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}#close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.drag-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.field-container[_ngcontent-%COMP%]{width:200px;max-width:100%;margin:0 25px 25px 0;display:inline-block;vertical-align:top}.field-list[_ngcontent-%COMP%]{border:1px solid #ccc;min-height:60px;background:#fff;border-radius:4px;overflow:hidden;display:block}.field-box[_ngcontent-%COMP%]{padding:5px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0,0,.2,1)}.field-box[_ngcontent-%COMP%]:last-child{border:none}.field-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .field-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1)}"]],data:{}});function h(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,6,"div",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),l.Tb(6144,null,i.l,null,[i.c]),l.Cb(2,4866048,[[1,4]],3,i.c,[l.p,[3,i.b],r.d,l.G,l.Y,i.a,[2,o.b],i.g,l.j],null,null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,2).disabled,l.Pb(e,2)._dragRef.isDragging()),t(e,6,0,e.context.$implicit)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,6,"div",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),l.Tb(6144,null,i.l,null,[i.c]),l.Cb(2,4866048,[[5,4]],3,i.c,[l.p,[3,i.b],r.d,l.G,l.Y,i.a,[2,o.b],i.g,l.j],null,null),l.Ub(603979776,6,{_handles:1}),l.Ub(603979776,7,{_previewTemplate:0}),l.Ub(603979776,8,{_placeholderTemplate:0}),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,2).disabled,l.Pb(e,2)._dragRef.isDragging()),t(e,6,0,e.context.$implicit)}))}function f(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["id","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),a.y,a.g)),l.Cb(1,49152,null,0,s.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,2,"h1",[["class","dialog-header mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),l.Cb(3,81920,null,0,u.m,[[2,u.l],l.p,u.e],null,null),(t()(),l.Wb(-1,null,["RIGHT PANEL EDITION"])),(t()(),l.Db(5,0,null,null,23,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(6,16384,null,0,u.j,[],null,null),(t()(),l.Db(7,0,null,null,21,"div",[["cdkDropListGroup",""],["class","drag-container"]],null,null,null,null,null)),l.Cb(8,147456,null,0,i.f,[],null,null),(t()(),l.Db(9,0,null,null,9,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PANEL FIELDS"])),(t()(),l.Db(12,0,null,null,6,"div",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),null,null)),l.Tb(6144,null,i.b,null,[i.e]),l.Cb(14,1196032,null,1,i.e,[l.p,i.g,l.j,[2,o.b],[3,i.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,1,{_draggables:1}),l.Tb(256,null,i.f,void 0,[]),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(18,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(19,0,null,null,9,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OTHER FIELDS"])),(t()(),l.Db(22,0,null,null,6,"div",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),null,null)),l.Tb(6144,null,i.b,null,[i.e]),l.Cb(24,1196032,null,1,i.e,[l.p,i.g,l.j,[2,o.b],[3,i.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,5,{_draggables:1}),l.Tb(256,null,i.f,void 0,[]),(t()(),l.sb(16777216,null,null,1,null,p)),l.Cb(28,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0),t(e,14,0,n.panelFields),t(e,18,0,n.panelFields),t(e,24,0,n.otherFields),t(e,28,0,n.otherFields)}),(function(t,e){t(e,2,0,l.Pb(e,3).id),t(e,12,0,l.Pb(e,14).id,l.Pb(e,14).disabled,l.Pb(e,14)._dropListRef.isDragging(),l.Pb(e,14)._dropListRef.isReceiving()),t(e,22,0,l.Pb(e,24).id,l.Pb(e,24).disabled,l.Pb(e,24)._dropListRef.isDragging(),l.Pb(e,24)._dropListRef.isReceiving())}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-right-panel-params-dialog",[],null,null,null,f,d)),l.Cb(1,245760,null,0,c.a,[u.l,u.a],null,null)],(function(t,e){t(e,1,0)}),null)}var m=l.zb("sepia-right-panel-params-dialog",c.a,b,{},{},[])},TN97:function(t,e,n){"use strict";var l,i=n("kvpX"),r=n("Ho3V"),o=n("AdTM"),a=n("4mld"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this;return n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addEventListener(Object(a.b)(n.geometryName_),n.handleGeometryChanged_),e&&("function"==typeof e.getSimplifiedGeometry?n.setGeometry(e):n.setProperties(e)),n}return s(e,t),e.prototype.clone=function(){var t=new e(this.getProperties());t.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&t.setGeometry(n.clone());var l=this.getStyle();return l&&t.setStyle(l),t},e.prototype.getGeometry=function(){return this.get(this.geometryName_)},e.prototype.getId=function(){return this.id_},e.prototype.getGeometryName=function(){return this.geometryName_},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.handleGeometryChange_=function(){this.changed()},e.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(Object(r.c)(this.geometryChangeKey_),this.geometryChangeKey_=null);var t=this.getGeometry();t&&(this.geometryChangeKey_=Object(r.a)(t,o.a.CHANGE,this.handleGeometryChange_,this)),this.changed()},e.prototype.setGeometry=function(t){this.set(this.geometryName_,t)},e.prototype.setStyle=function(t){var e,n;this.style_=t,this.styleFunction_=t?"function"==typeof(e=t)?e:(Array.isArray(e)?n=e:(Object(i.a)("function"==typeof e.getZIndex,41),n=[e]),function(){return n}):void 0,this.changed()},e.prototype.setId=function(t){this.id_=t,this.changed()},e.prototype.setGeometryName=function(t){this.removeEventListener(Object(a.b)(this.geometryName_),this.handleGeometryChanged_),this.geometryName_=t,this.addEventListener(Object(a.b)(this.geometryName_),this.handleGeometryChanged_),this.handleGeometryChanged_()},e}(a.a);e.a=u},TYbz:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}ghostControllerGetGhosts$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerGetGhostsPath,"get");return this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerGetGhosts(t){return this.ghostControllerGetGhosts$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerUpdateGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerUpdateGhostPath,"put");return e&&(n.query("icao",e.icao),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerUpdateGhost(t){return this.ghostControllerUpdateGhost$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerAddGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerAddGhostPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerAddGhost(t){return this.ghostControllerAddGhost$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerDeleteGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerDeleteGhostPath,"delete");return e&&n.query("icao",e.icao),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerDeleteGhost(t){return this.ghostControllerDeleteGhost$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GhostControllerGetGhostsPath="/ghost",t.GhostControllerUpdateGhostPath="/ghost",t.GhostControllerAddGhostPath="/ghost",t.GhostControllerDeleteGhostPath="/ghost",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},TZgD:function(t,e,n){"use strict";function l(t,e,n,l){for(;e<n-l;){for(var i=0;i<l;++i){var r=t[e+i];t[e+i]=t[n-l+i],t[n-l+i]=r}e+=l,n-=l}}function i(t,e,n,l){for(var i=0,r=t[n-l],o=t[n-l+1];e<n;e+=l){var a=t[e],s=t[e+1];i+=(a-r)*(s+o),r=a,o=s}return i>0}function r(t,e,n,l,r){for(var o=void 0!==r&&r,a=0,s=n.length;a<s;++a){var u=n[a],c=i(t,e,u,l);if(0===a){if(o&&c||!o&&!c)return!1}else if(o&&!c||!o&&c)return!1;e=u}return!0}function o(t,e,n,l,i){for(var o=0,a=n.length;o<a;++o){var s=n[o];if(!r(t,e,s,l,i))return!1;s.length&&(e=s[s.length-1])}return!0}function a(t,e,n,r,o){for(var a=void 0!==o&&o,s=0,u=n.length;s<u;++s){var c=n[s],d=i(t,e,c,r);(0===s?a&&d||!a&&!d:a&&!d||!a&&d)&&l(t,e,c,r),e=c}return e}function s(t,e,n,l,i){for(var r=0,o=n.length;r<o;++r)e=a(t,e,n[r],l,i);return e}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s}))},Tosz:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},TypT:function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),l=0,i=n.length;l<i;l++){var r=n[l].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}},UDhR:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UJLV:function(t,e,n){var l,i,r;i=[n("d5dl"),n("GKYg"),n("X1gR")],void 0===(r="function"==typeof(l=function(t,e,n){"use strict";return e=e(t),n=n(t),{toLatLong:e,toUsng:n,getConverter:function(t){var l;switch(t.toLowerCase()){case"latlong":l=e;break;case"usng":l=n}return l}}})?l.apply(e,i):l)||(t.exports=r)},UK0T:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("ppab"),i=n("Pmt0"),r=n("978D"),o=(n("svHU"),n("YGmB"),n("7/LY")),a=n("EDvw"),s=(n("qToJ"),n("P151"),n("Y4ja"));n("sLNx");class u extends l.a{constructor(t,e,n,l,i,r,o,a){super(),this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.timeService=l,this.iconsService=i,this.settingService=r,this.modeService=o,this.replayTripService=a,this.subscription={},this.daemonInterval=null,this.extent=[]}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",this.getLayer()),this.extent=this.mapService.getView().calculateExtent(this.mapService.getMap().getSize()),this.initTraffic(),this.modeService.getModeMapChangeEmitter().subscribe(t=>{t===s.a.ALL_AIRCRAFT&&null===this.daemonInterval?(this.destroyReplayTrip(),this.initTraffic()):t===s.a.ONE_AIRCRAFT&&(this.destroyTraffic(),this.initReplayTrip())})}initReplayTrip(){this.subscription.aircraftChange=this.replayTripService.getAircraftChange().subscribe(t=>{this.updateReplayTrip(t)})}initTraffic(){this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.subscription.colorListChange=this.settingService.getColorAircraftListsChangeEmitter().subscribe(()=>{this.source.getFeatures().forEach(t=>{t.setColor(),t.setOlStyleAircraft()})}),this.subscription.daemonChangeEvent=this.timeService.getDaemonChangeEmitter().subscribe(t=>{t!==r.a.REALTIME&&t!==r.a.REPLAY||(this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),this.getTraffic())}),this.subscription.viewChangeEvent=this.mapService.getViewChangeEmitter().subscribe(t=>{this.extent=t.calculateExtent(this.mapService.getMap().getSize()),this.getTraffic()}),this.daemonInterval=setInterval(()=>{this.getTraffic()},2e3)}ngOnDestroy(){this.destroyTraffic()}destroyReplayTrip(){this.selectAircraftService.deleteAircraft(this.replayTripService.aircraft),this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft();for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}destroyTraffic(){this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),clearInterval(this.daemonInterval),this.daemonInterval=null;for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}manageSelectedAircrafts(t){if(t.haveOneStatus([o.a.SELECT,o.a.WATCH,o.a.UNSELECT,o.a.HOVER])){const e=this.source.getFeatureById(t.aircraft.icao);t.haveStatus(o.a.HOVER),e&&(e.setStatus(t.status),e.setColor(),e.setOlStyleAircraft()),t.haveStatus(o.a.FOLLOW)&&this.mapService.recenterMap([t.aircraft.longitude,t.aircraft.latitude])}}getTraffic(){if(!this.timeService.isLock){const t=this.timeService.getDateReplay();if(t&&!this.timeService.isPlayingReplay())return;this.timeService.isLock=!0;const e=this.selectAircraftService.getAircraftsSelected(),n=this.selectAircraftService.getAircraftsFocus();this.trafficService.getTraffic(this.extent,e,(t,e,n)=>{this.refreshAircrafts(t,e,n)},t,n)}}refreshAircrafts(t,e,n){this.timeService.isLock=!1,this.timeService.haveStarted=!1,this.removeFeatures(t),this.addFeatures(e),this.updateFeatures(n)}removeFeatures(t){t.forEach(t=>{this.selectAircraftService.deleteAircraft(t);const e=this.source.getFeatureById(t.icao);e&&this.source.removeFeature(e)})}addFeatures(t){const e=[];t.forEach(t=>{const n=new a.a(t,this.settingService,this.iconsService);e.push(n)}),this.source.addFeatures(e)}updateFeatures(t){t.forEach(t=>{const e=this.source.getFeatureById(t.icao);if(e)e.setGeo(),this.selectAircraftService.updateAircraft(t);else{const e=new a.a(t,this.settingService,this.iconsService);this.source.addFeature(e)}})}updateReplayTrip(t){if(this.trafficService.aircrafts[t.icao]){const e=this.source.getFeatureById(t.icao);this.selectAircraftService.updateAircraft(t,!1),e.setGeo()}else{const e=new a.a(t,this.settingService,this.iconsService);this.source.addFeature(e),this.trafficService.addAircraft(t),this.selectAircraftService.selectAircraft(t,null,!1),this.mapService.recenterMap([t.longitude,t.latitude])}}getLayer(){return this.layer||(this.layer=new i.a({name:this.name,visible:this.visibility,zIndex:this.zIndex,source:super.getVectorSource()})),this.layer}}},UN5i:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseOperatorControllerOperatorPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseOperatorControllerOperator(t){return this.getOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseOperatorControllerOperatorPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseOperatorControllerOperator(t){return this.replaceOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseOperatorControllerOperatorPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseOperatorControllerOperator(t){return this.deleteOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseOperatorControllerOperatorPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseOperatorControllerOperator(t){return this.updateOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseOperatorControllerOperatorPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseOperatorControllerOperator(t){return this.getManyBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseOperatorControllerOperatorPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseOperatorControllerOperator(t){return this.createOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseOperatorControllerOperatorPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseOperatorControllerOperator(t){return this.createManyBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseOperatorControllerOperatorPath="/operator/{id}",t.ReplaceOneBaseOperatorControllerOperatorPath="/operator/{id}",t.DeleteOneBaseOperatorControllerOperatorPath="/operator/{id}",t.UpdateOneBaseOperatorControllerOperatorPath="/operator/{id}",t.GetManyBaseOperatorControllerOperatorPath="/operator",t.CreateOneBaseOperatorControllerOperatorPath="/operator",t.CreateManyBaseOperatorControllerOperatorPath="/operator/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},USCx:function(t,e,n){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},Uhtb:function(t,e,n){"use strict";e.a={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},UrOv:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.ReplaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.DeleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.UpdateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.GetManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation",t.CreateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation",t.CreateManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Uwu7:function(t,e,n){var l=n("x7D4")("socket.io-parser"),i=n("cpc2"),r=n("Njrz"),o=n("luTP"),a=n("qGlh");function s(){}e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=s,e.Decoder=d;var u=e.ERROR+'"encode error"';function c(t){var n=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data){var i=function(t){try{return JSON.stringify(t)}catch(e){return!1}}(t.data);if(!1===i)return u;n+=i}return l("encoded %j as %s",t,n),n}function d(){this.reconstructor=null}function h(t){this.reconPack=t,this.buffers=[]}function p(t){return{type:e.ERROR,data:"parser error: "+t}}s.prototype.encode=function(t,n){l("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type?function(t,e){r.removeBlobs(t,(function(t){var n=r.deconstructPacket(t),l=c(n.packet),i=n.buffers;i.unshift(l),e(i)}))}(t,n):n([c(t)])},i(d.prototype),d.prototype.add=function(t){var n;if("string"==typeof t)n=function(t){var n=0,i={type:Number(t.charAt(0))};if(null==e.types[i.type])return p("unknown packet type "+i.type);if(e.BINARY_EVENT===i.type||e.BINARY_ACK===i.type){for(var r=n+1;"-"!==t.charAt(++n)&&n!=t.length;);var a=t.substring(r,n);if(a!=Number(a)||"-"!==t.charAt(n))throw new Error("Illegal attachments");i.attachments=Number(a)}if("/"===t.charAt(n+1)){for(r=n+1;++n&&","!==(u=t.charAt(n))&&n!==t.length;);i.nsp=t.substring(r,n)}else i.nsp="/";var s=t.charAt(n+1);if(""!==s&&Number(s)==s){for(r=n+1;++n;){var u;if(null==(u=t.charAt(n))||Number(u)!=u){--n;break}if(n===t.length)break}i.id=Number(t.substring(r,n+1))}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(e){return!1}}(t.substr(n));if(!1===c||i.type!==e.ERROR&&!o(c))return p("invalid payload");i.data=c}return l("decoded %s as %j",t,i),i}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new h(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",n))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},h.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},h.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},Uxeu:function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,l=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e,i,r=t,o=t.indexOf("["),a=t.indexOf("]");-1!=o&&-1!=a&&(t=t.substring(0,o)+t.substring(o,a).replace(/:/g,";")+t.substring(a,t.length));for(var s,u=n.exec(t||""),c={},d=14;d--;)c[l[d]]=u[d]||"";return-1!=o&&-1!=a&&(c.source=r,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=(i=(e=c.path).replace(/\/{2,9}/g,"/").split("/"),"/"!=e.substr(0,1)&&0!==e.length||i.splice(0,1),"/"==e.substr(e.length-1,1)&&i.splice(i.length-1,1),i),c.queryKey=(s={},c.query.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(t,e,n){e&&(s[e]=n)})),s),c}},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},V8uu:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var l=n("n15R");function i(){return!0}function r(){return!1}function o(){}function a(t){var e,n,i,r=!1;return function(){var o=Array.prototype.slice.call(arguments);return r&&this===i&&Object(l.b)(o,n)||(r=!0,i=this,n=o,e=t.apply(this,arguments)),e}}},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("z+Ro"),r=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(i.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof l.a?t[0]:Object(r.a)(e)(Object(o.a)(t,n))}},"VWR+":function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4mld"),o=n("30zj"),a=n("f8l7"),s=n("OPOH"),u=n("kvpX"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=t.call(this)||this,l=Object(s.a)({},e);return l[o.a.OPACITY]=void 0!==e.opacity?e.opacity:1,Object(u.a)("number"==typeof l[o.a.OPACITY],64),l[o.a.VISIBLE]=void 0===e.visible||e.visible,l[o.a.Z_INDEX]=e.zIndex,l[o.a.MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,l[o.a.MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,l[o.a.MIN_ZOOM]=void 0!==e.minZoom?e.minZoom:-1/0,l[o.a.MAX_ZOOM]=void 0!==e.maxZoom?e.maxZoom:1/0,n.className_=void 0!==l.className?e.className:"ol-layer",delete l.className,n.setProperties(l),n.state_=null,n}return c(e,t),e.prototype.getClassName=function(){return this.className_},e.prototype.getLayerState=function(t){var e=this.state_||{layer:this,managed:void 0===t||t},n=this.getZIndex();return e.opacity=Object(a.a)(Math.round(100*this.getOpacity())/100,0,1),e.sourceState=this.getSourceState(),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==n?n:!1===e.managed?1/0:0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e},e.prototype.getLayersArray=function(t){return Object(i.b)()},e.prototype.getLayerStatesArray=function(t){return Object(i.b)()},e.prototype.getExtent=function(){return this.get(o.a.EXTENT)},e.prototype.getMaxResolution=function(){return this.get(o.a.MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(o.a.MIN_RESOLUTION)},e.prototype.getMinZoom=function(){return this.get(o.a.MIN_ZOOM)},e.prototype.getMaxZoom=function(){return this.get(o.a.MAX_ZOOM)},e.prototype.getOpacity=function(){return this.get(o.a.OPACITY)},e.prototype.getSourceState=function(){return Object(i.b)()},e.prototype.getVisible=function(){return this.get(o.a.VISIBLE)},e.prototype.getZIndex=function(){return this.get(o.a.Z_INDEX)},e.prototype.setExtent=function(t){this.set(o.a.EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(o.a.MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(o.a.MIN_RESOLUTION,t)},e.prototype.setMaxZoom=function(t){this.set(o.a.MAX_ZOOM,t)},e.prototype.setMinZoom=function(t){this.set(o.a.MIN_ZOOM,t)},e.prototype.setOpacity=function(t){Object(u.a)("number"==typeof t,64),this.set(o.a.OPACITY,t)},e.prototype.setVisible=function(t){this.set(o.a.VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(o.a.Z_INDEX,t)},e.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),t.prototype.disposeInternal.call(this)},e}(r.a);e.a=d},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},Vgg8:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationControllerNotificationPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationControllerNotification(t){return this.getOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationControllerNotificationPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationControllerNotification(t){return this.replaceOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationControllerNotificationPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationControllerNotification(t){return this.deleteOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationControllerNotificationPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationControllerNotification(t){return this.updateOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationControllerNotificationPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationControllerNotification(t){return this.getManyBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationControllerNotificationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationControllerNotification(t){return this.createOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationControllerNotificationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationControllerNotification(t){return this.createManyBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationControllerNotificationPath="/notification/{id}",t.ReplaceOneBaseNotificationControllerNotificationPath="/notification/{id}",t.DeleteOneBaseNotificationControllerNotificationPath="/notification/{id}",t.UpdateOneBaseNotificationControllerNotificationPath="/notification/{id}",t.GetManyBaseNotificationControllerNotificationPath="/notification",t.CreateOneBaseNotificationControllerNotificationPath="/notification",t.CreateManyBaseNotificationControllerNotificationPath="/notification/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Vq53:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e,n=0,l=[],i={};if("string"!=typeof t)throw"Input to parseUsng must be a USNG string.";if((l=t.toUpperCase().replace(/%20/g,"").replace(/ /g,"")).length<7)throw"This application requires minimum USNG precision of 10,000 meters";for(i.zoneNumber=l.match(/^\d{1,2}/)[0],n+=i.zoneNumber.length,i.zoneNumber=parseInt(i.zoneNumber,10),i.zoneLetter=l.charAt(n),i.sq1=l.charAt(n+=1),i.sq2=l.charAt(n+=1),i.precision=(l.length-(n+=1))/2,i.east="",i.north="",e=0;e<i.precision;e+=1)i.east+=l.charAt(n),n+=1;for(" "===l[n]&&(n+=1),e=0;e<i.precision;e+=1)i.north+=l.charAt(n),n+=1;return i}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},W5yJ:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("Xd0L");class o{constructor(t){this._elementRef=t}}const a=Object(r.E)(o,"primary"),s=new i.w("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let u=(()=>{class t extends a{constructor(e,n,l,i,r){super(e),this._elementRef=e,this._document=l,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;o.has(l.head)||o.set(l.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(l.f)(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(l.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(l.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=function(t,e){if("undefined"!=typeof window){const n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){const e=t.getRootNode?t.getRootNode():null;if(e instanceof window.ShadowRoot)return e}}return null}(t,this._document)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,l=t._diameters;let i=l.get(e);if(!i||!i.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",n+""),t.textContent=this._getAnimationText(),e.appendChild(t),i||(i=new Set,l.set(e,i)),i.add(n)}}_getAnimationText(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}}return t._diameters=new WeakMap,t})();class c extends u{constructor(t,e,n,l,i){super(t,e,n,l,i),this.mode="indeterminate"}}class d{}},W8M7:function(t,e,n){"use strict";n.d(e,"b",(function(){return C}));var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("BJ1j"),u=n("9ANI"),c=n("mrzG"),d=(n("eQqr"),n("tYnX")),h=n("l2lA"),p=n("JfHk"),f=n("q7cr"),b=n("u2yf"),m=n("Cp04"),g=n("xWBw"),_=n("TZgD"),y=n("HEh+"),A=(n("f8l7"),l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),v=function(t){function e(e,n,l){var i=t.call(this)||this;return i.ends_=[],i.flatInteriorPointRevision_=-1,i.flatInteriorPoint_=null,i.maxDelta_=-1,i.maxDeltaRevision_=-1,i.orientedRevision_=-1,i.orientedFlatCoordinates_=null,void 0!==n&&l?(i.setFlatCoordinates(n,e),i.ends_=l):i.setCoordinates(e,n),i}return A(e,t),e.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice())},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(h.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(h.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.containsXY=function(t,e){return Object(p.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return Object(d.b)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(_.d)(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Object(b.b)(e,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Object(r.x)(this.getExtent());this.flatInteriorPoint_=Object(m.a)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new u.a(this.getFlatInteriorPoint(),o.a.XYM)},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new s.a(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLinearRings=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.ends_,l=[],i=0,r=0,o=n.length;r<o;++r){var a=n[r],u=new s.a(e.slice(i,a),t);l.push(u),i=a}return l},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(_.b)(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(_.d)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(y.c)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),n,0,l),new e(n,o.a.XY,l)},e.prototype.getType=function(){return a.a.POLYGON},e.prototype.intersectsExtent=function(t){return Object(g.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(f.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(c.a);function C(t){var e=t[0],n=t[1],l=t[2],i=t[3],r=[e,n,e,i,l,i,l,n,e,n];return new v(r,o.a.XY,[r.length])}e.a=v},WDFe:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4wAk"),o=n("GDrd"),a=n("e0/R"),s=n("n15R"),u=n("kvpX"),c=n("Ho3V"),d=n("zvco"),h=n("AdTM"),p=n("CvXi"),f=n("bY/R"),b=n("V8uu"),m=n("cV7i"),g=n("OPOH"),_=n("/4Cu"),y=n("bYNo"),A=n("pD/Q"),v=n("tV43"),C=n.n(v),w=function(){function t(t){this.rbush_=new C.a(t),this.items_={}}return t.prototype.insert=function(t,e){var n={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(n),this.items_[Object(i.c)(e)]=n},t.prototype.load=function(t,e){for(var n=new Array(e.length),l=0,r=e.length;l<r;l++){var o=t[l],a=e[l],s={minX:o[0],minY:o[1],maxX:o[2],maxY:o[3],value:a};n[l]=s,this.items_[Object(i.c)(a)]=s}this.rbush_.load(n)},t.prototype.remove=function(t){var e=Object(i.c)(t),n=this.items_[e];return delete this.items_[e],null!==this.rbush_.remove(n)},t.prototype.update=function(t,e){var n=this.items_[Object(i.c)(e)],l=[n.minX,n.minY,n.maxX,n.maxY];Object(p.p)(l,t)||(this.remove(e),this.insert(t,e))},t.prototype.getAll=function(){return this.rbush_.all().map((function(t){return t.value}))},t.prototype.getInExtent=function(t){return this.rbush_.search({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}).map((function(t){return t.value}))},t.prototype.forEach=function(t){return this.forEach_(this.getAll(),t)},t.prototype.forEachInExtent=function(t,e){return this.forEach_(this.getInExtent(t),e)},t.prototype.forEach_=function(t,e){for(var n,l=0,i=t.length;l<i;l++)if(n=e(t[l]))return n;return n},t.prototype.isEmpty=function(){return Object(g.d)(this.items_)},t.prototype.clear=function(){this.rbush_.clear(),this.items_={}},t.prototype.getExtent=function(t){var e=this.rbush_.toJSON();return Object(p.k)(e.minX,e.minY,e.maxX,e.maxY,t)},t.prototype.concat=function(t){for(var e in this.rbush_.load(t.rbush_.all()),t.items_)this.items_[e]=t.items_[e]},t}(),P=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),x=function(t){function e(e,n){var l=t.call(this,e)||this;return l.feature=n,l}return P(e,t),e}(d.a),S=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{attributions:l.attributions,projection:void 0,state:y.a.READY,wrapX:void 0===l.wrapX||l.wrapX})||this).loader_=b.c,n.format_=l.format,n.overlaps_=void 0===l.overlaps||l.overlaps,n.url_=l.url,void 0!==l.loader?n.loader_=l.loader:void 0!==n.url_&&(Object(u.a)(n.format_,7),n.loader_=Object(f.b)(n.url_,n.format_)),n.strategy_=void 0!==l.strategy?l.strategy:m.a;var i,o,a=void 0===l.useSpatialIndex||l.useSpatialIndex;return n.featuresRtree_=a?new w:null,n.loadedExtentsRtree_=new w,n.nullGeometryFeatures_={},n.idIndex_={},n.uidIndex_={},n.featureChangeKeys_={},n.featuresCollection_=null,Array.isArray(l.features)?o=l.features:l.features&&(o=(i=l.features).getArray()),a||void 0!==i||(i=new r.a(o)),void 0!==o&&n.addFeaturesInternal(o),void 0!==i&&n.bindFeaturesCollection_(i),n}return P(e,t),e.prototype.addFeature=function(t){this.addFeatureInternal(t),this.changed()},e.prototype.addFeatureInternal=function(t){var e=Object(i.c)(t);if(this.addToIndex_(e,t)){this.setupChangeEvents_(e,t);var n=t.getGeometry();if(n){var l=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(l,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new x(A.a.ADDFEATURE,t))}else this.featuresCollection_&&this.featuresCollection_.remove(t)},e.prototype.setupChangeEvents_=function(t,e){this.featureChangeKeys_[t]=[Object(c.a)(e,h.a.CHANGE,this.handleFeatureChange_,this),Object(c.a)(e,a.a.PROPERTYCHANGE,this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(t,e){var n=!0,l=e.getId();return void 0!==l&&(l.toString()in this.idIndex_?n=!1:this.idIndex_[l.toString()]=e),n&&(Object(u.a)(!(t in this.uidIndex_),30),this.uidIndex_[t]=e),n},e.prototype.addFeatures=function(t){this.addFeaturesInternal(t),this.changed()},e.prototype.addFeaturesInternal=function(t){for(var e=[],n=[],l=[],r=0,o=t.length;r<o;r++){var a=t[r],s=Object(i.c)(a);this.addToIndex_(s,a)&&n.push(a)}r=0;for(var u=n.length;r<u;r++){a=n[r],s=Object(i.c)(a),this.setupChangeEvents_(s,a);var c=a.getGeometry();if(c){var d=c.getExtent();e.push(d),l.push(a)}else this.nullGeometryFeatures_[s]=a}this.featuresRtree_&&this.featuresRtree_.load(e,l),r=0;for(var h=n.length;r<h;r++)this.dispatchEvent(new x(A.a.ADDFEATURE,n[r]))},e.prototype.bindFeaturesCollection_=function(t){var e=!1;this.addEventListener(A.a.ADDFEATURE,(function(n){e||(e=!0,t.push(n.feature),e=!1)})),this.addEventListener(A.a.REMOVEFEATURE,(function(n){e||(e=!0,t.remove(n.feature),e=!1)})),t.addEventListener(o.a.ADD,(function(t){e||(e=!0,this.addFeature(t.element),e=!1)}).bind(this)),t.addEventListener(o.a.REMOVE,(function(t){e||(e=!0,this.removeFeature(t.element),e=!1)}).bind(this)),this.featuresCollection_=t},e.prototype.clear=function(t){if(t){for(var e in this.featureChangeKeys_)this.featureChangeKeys_[e].forEach(c.c);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_)for(var n in this.featuresRtree_.forEach(this.removeFeatureInternal.bind(this)),this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n]);this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};var l=new x(A.a.CLEAR);this.dispatchEvent(l),this.changed()},e.prototype.forEachFeature=function(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)},e.prototype.forEachFeatureAtCoordinateDirect=function(t,e){return this.forEachFeatureInExtent([t[0],t[1],t[0],t[1]],(function(n){return n.getGeometry().intersectsCoordinate(t)?e(n):void 0}))},e.prototype.forEachFeatureInExtent=function(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)},e.prototype.forEachFeatureIntersectingExtent=function(t,e){return this.forEachFeatureInExtent(t,(function(n){if(n.getGeometry().intersectsExtent(t)){var l=e(n);if(l)return l}}))},e.prototype.getFeaturesCollection=function(){return this.featuresCollection_},e.prototype.getFeatures=function(){var t;return this.featuresCollection_?t=this.featuresCollection_.getArray():this.featuresRtree_&&(t=this.featuresRtree_.getAll(),Object(g.d)(this.nullGeometryFeatures_)||Object(s.c)(t,Object(g.c)(this.nullGeometryFeatures_))),t},e.prototype.getFeaturesAtCoordinate=function(t){var e=[];return this.forEachFeatureAtCoordinateDirect(t,(function(t){e.push(t)})),e},e.prototype.getFeaturesInExtent=function(t){return this.featuresRtree_?this.featuresRtree_.getInExtent(t):this.featuresCollection_?this.featuresCollection_.getArray():[]},e.prototype.getClosestFeatureToCoordinate=function(t,e){var n=t[0],l=t[1],i=null,r=[NaN,NaN],o=1/0,a=[-1/0,-1/0,1/0,1/0],s=e||b.b;return this.featuresRtree_.forEachInExtent(a,(function(t){if(s(t)){var e=t.getGeometry(),u=o;if((o=e.closestPointXY(n,l,r,o))<u){i=t;var c=Math.sqrt(o);a[0]=n-c,a[1]=l-c,a[2]=n+c,a[3]=l+c}}})),i},e.prototype.getExtent=function(t){return this.featuresRtree_.getExtent(t)},e.prototype.getFeatureById=function(t){var e=this.idIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getFeatureByUid=function(t){var e=this.uidIndex_[t];return void 0!==e?e:null},e.prototype.getFormat=function(){return this.format_},e.prototype.getOverlaps=function(){return this.overlaps_},e.prototype.getUrl=function(){return this.url_},e.prototype.handleFeatureChange_=function(t){var e=t.target,n=Object(i.c)(e),l=e.getGeometry();if(l){var r=l.getExtent();n in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[n],this.featuresRtree_&&this.featuresRtree_.insert(r,e)):this.featuresRtree_&&this.featuresRtree_.update(r,e)}else n in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[n]=e);var o=e.getId();if(void 0!==o){var a=o.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[n]=e;this.changed(),this.dispatchEvent(new x(A.a.CHANGEFEATURE,e))},e.prototype.hasFeature=function(t){var e=t.getId();return void 0!==e?e in this.idIndex_:Object(i.c)(t)in this.uidIndex_},e.prototype.isEmpty=function(){return this.featuresRtree_.isEmpty()&&Object(g.d)(this.nullGeometryFeatures_)},e.prototype.loadFeatures=function(t,e,n){var l=this.loadedExtentsRtree_,i=this.strategy_(t,e);this.loading=!1;for(var r=function(t,r){var a=i[t];l.forEachInExtent(a,(function(t){return Object(p.g)(t.extent,a)}))||(o.loader_.call(o,a,e,n),l.insert(a,{extent:a.slice()}),o.loading=o.loader_!==b.c)},o=this,a=0,s=i.length;a<s;++a)r(a)},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(t){var e,n=this.loadedExtentsRtree_;n.forEachInExtent(t,(function(n){if(Object(p.p)(n.extent,t))return e=n,!0})),e&&n.remove(e)},e.prototype.removeFeature=function(t){var e=Object(i.c)(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t),this.changed()},e.prototype.removeFeatureInternal=function(t){var e=Object(i.c)(t);this.featureChangeKeys_[e].forEach(c.c),delete this.featureChangeKeys_[e];var n=t.getId();void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new x(A.a.REMOVEFEATURE,t))},e.prototype.removeFromIdIndex_=function(t){var e=!1;for(var n in this.idIndex_)if(this.idIndex_[n]===t){delete this.idIndex_[n],e=!0;break}return e},e.prototype.setLoader=function(t){this.loader_=t},e.prototype.setUrl=function(t){Object(u.a)(this.format_,7),this.setLoader(Object(f.b)(t,this.format_))},e}(_.a);e.a=S},WLGk:function(t,e,n){var l=n("6C75"),i=Object.prototype.toString,r="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),o="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);t.exports=function t(e){if(!e||"object"!=typeof e)return!1;if(l(e)){for(var n=0,i=e.length;n<i;n++)if(t(e[n]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(e)||"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||r&&e instanceof Blob||o&&e instanceof File)return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return t(e.toJSON(),!0);for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return!0;return!1}},WMd4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("EY2u"),i=n("LRne"),r=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(l.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WS2v:function(t,e,n){"use strict";e.a={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend"}},WTjQ:function(t,e,n){"use strict";function l(t,e,n,l){for(var i=t[e],r=t[e+1],o=0,a=e+l;a<n;a+=l){var s=t[a],u=t[a+1];o+=Math.sqrt((s-i)*(s-i)+(u-r)*(u-r)),i=s,r=u}return o}n.d(e,"a",(function(){return l}))},"WVt+":function(t,e,n){!function(t){"use strict";function e(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.bbox,i=n.id;if(void 0===t)throw new Error("geometry is required");if(e&&e.constructor!==Object)throw new Error("properties must be an Object");l&&x(l),i&&S(i);var r={type:"Feature"};return i&&(r.id=i),l&&(r.bbox=l),r.properties=e||{},r.geometry=t,r}function n(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i,o=n.bbox;if(!t)throw new Error("type is required");if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");switch(o&&x(o),t){case"Point":i=l(e).geometry;break;case"LineString":i=a(e).geometry;break;case"Polygon":i=r(e).geometry;break;case"MultiPoint":i=d(e).geometry;break;case"MultiLineString":i=c(e).geometry;break;case"MultiPolygon":i=h(e).geometry;break;default:throw new Error(t+" is invalid")}return o&&(i.bbox=o),i}function l(t,n,l){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!w(t[0])||!w(t[1]))throw new Error("coordinates must contain numbers");return e({type:"Point",coordinates:t},n,l)}function i(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return l(t,e)})),n)}function r(t,n,l){if(!t)throw new Error("coordinates is required");for(var i=0;i<t.length;i++){var r=t[i];if(r.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var o=0;o<r[r.length-1].length;o++){if(0===i&&0===o&&!w(r[0][0])||!w(r[0][1]))throw new Error("coordinates must contain numbers");if(r[r.length-1][o]!==r[0][o])throw new Error("First and last Position are not equivalent.")}}return e({type:"Polygon",coordinates:t},n,l)}function o(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return r(t,e)})),n)}function a(t,n,l){if(!t)throw new Error("coordinates is required");if(t.length<2)throw new Error("coordinates must be an array of two or more positions");if(!w(t[0][1])||!w(t[0][1]))throw new Error("coordinates must contain numbers");return e({type:"LineString",coordinates:t},n,l)}function s(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return a(t,e)})),n)}function u(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.id;if(!t)throw new Error("No features passed");if(!Array.isArray(t))throw new Error("features must be an Array");n&&x(n),l&&S(l);var i={type:"FeatureCollection"};return l&&(i.id=l),n&&(i.bbox=n),i.features=t,i}function c(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiLineString",coordinates:t},n,l)}function d(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiPoint",coordinates:t},n,l)}function h(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiPolygon",coordinates:t},n,l)}function p(t,n,l){if(!t)throw new Error("geometries is required");if(!Array.isArray(t))throw new Error("geometries must be an Array");return e({type:"GeometryCollection",geometries:t},n,l)}function f(t,e){if(null==t||isNaN(t))throw new Error("num is required");if(e&&!(e>=0))throw new Error("precision must be a positive number");var n=Math.pow(10,e||0);return Math.round(t*n)/n}function b(t,e){if(null==t)throw new Error("radians is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=vr[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t*n}function m(t,e){if(null==t)throw new Error("distance is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=vr[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t/n}function g(t,e){return y(m(t,e))}function _(t){if(null==t)throw new Error("bearing is required");var e=t%360;return e<0&&(e+=360),e}function y(t){if(null==t)throw new Error("radians is required");return t%(2*Math.PI)*180/Math.PI}function A(t){if(null==t)throw new Error("degrees is required");return t%360*Math.PI/180}function v(t,e,n){if(null==t)throw new Error("length is required");if(!(t>=0))throw new Error("length must be a positive number");return b(m(t,e),n||"kilometers")}function C(t,e,n){if(null==t)throw new Error("area is required");if(!(t>=0))throw new Error("area must be a positive number");var l=wr[e||"meters"];if(!l)throw new Error("invalid original units");var i=wr[n||"kilometers"];if(!i)throw new Error("invalid final units");return t/l*i}function w(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}function P(t){return!!t&&t.constructor===Object}function x(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!w(t))throw new Error("bbox must only contain numbers")}))}function S(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}function k(t,e,n){if(null!==t)for(var l,i,r,o,a,s,u,c,d=0,h=0,p=t.type,f="FeatureCollection"===p,b="Feature"===p,m=f?t.features.length:1,g=0;g<m;g++){a=(c=!!(u=f?t.features[g].geometry:b?t.geometry:t)&&"GeometryCollection"===u.type)?u.geometries.length:1;for(var _=0;_<a;_++){var y=0,A=0;if(null!==(o=c?u.geometries[_]:u)){s=o.coordinates;var v=o.type;switch(d=!n||"Polygon"!==v&&"MultiPolygon"!==v?0:1,v){case null:break;case"Point":e(s,h,g,y,A),h++,y++;break;case"LineString":case"MultiPoint":for(l=0;l<s.length;l++)e(s[l],h,g,y,A),h++,"MultiPoint"===v&&y++;"LineString"===v&&y++;break;case"Polygon":case"MultiLineString":for(l=0;l<s.length;l++){for(i=0;i<s[l].length-d;i++)e(s[l][i],h,g,y,A),h++;"MultiLineString"===v&&y++,"Polygon"===v&&A++}"Polygon"===v&&y++;break;case"MultiPolygon":for(l=0;l<s.length;l++){for("MultiPolygon"===v&&(A=0),i=0;i<s[l].length;i++){for(r=0;r<s[l][i].length-d;r++)e(s[l][i][r],h,g,y,A),h++;A++}y++}break;case"GeometryCollection":for(l=0;l<o.geometries.length;l++)k(o.geometries[l],e,n);break;default:throw new Error("Unknown Geometry Type")}}}}}function M(t,e,n,l){var i=n;return k(t,(function(t,l,r,o,a){i=0===l&&void 0===n?t:e(i,t,l,r,o,a)}),l),i}function O(t,e){var n;switch(t.type){case"FeatureCollection":for(n=0;n<t.features.length;n++)e(t.features[n].properties,n);break;case"Feature":e(t.properties,0)}}function D(t,e,n){var l=n;return O(t,(function(t,i){l=0===i&&void 0===n?t:e(l,t,i)})),l}function T(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var n=0;n<t.features.length;n++)e(t.features[n],n)}function E(t,e,n){var l=n;return T(t,(function(t,i){l=0===i&&void 0===n?t:e(l,t,i)})),l}function I(t){var e=[];return k(t,(function(t){e.push(t)})),e}function L(t,e){var n,l,i,r,o,a,s,u,c,d,h=0,p="FeatureCollection"===t.type,f="Feature"===t.type,b=p?t.features.length:1;for(n=0;n<b;n++){for(u=p?t.features[n].properties:f?t.properties:{},c=p?t.features[n].bbox:f?t.bbox:void 0,d=p?t.features[n].id:f?t.id:void 0,o=(s=!!(a=p?t.features[n].geometry:f?t.geometry:t)&&"GeometryCollection"===a.type)?a.geometries.length:1,i=0;i<o;i++)if(null!==(r=s?a.geometries[i]:a))switch(r.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":e(r,h,u,c,d);break;case"GeometryCollection":for(l=0;l<r.geometries.length;l++)e(r.geometries[l],h,u,c,d);break;default:throw new Error("Unknown Geometry Type")}else e(null,h,u,c,d);h++}}function j(t,e,n){var l=n;return L(t,(function(t,i,r,o,a){l=0===i&&void 0===n?t:e(l,t,i,r,o,a)})),l}function R(t,n){L(t,(function(t,l,i,r,o){var a,s=null===t?null:t.type;switch(s){case null:case"Point":case"LineString":case"Polygon":return void n(e(t,i,{bbox:r,id:o}),l,0)}switch(s){case"MultiPoint":a="Point";break;case"MultiLineString":a="LineString";break;case"MultiPolygon":a="Polygon"}t.coordinates.forEach((function(t,r){n(e({type:a,coordinates:t},i),l,r)}))}))}function F(t,e,n){var l=n;return R(t,(function(t,i,r){l=0===i&&0===r&&void 0===n?t:e(l,t,i,r)})),l}function N(t,e){R(t,(function(t,n,l){var i=0;if(t.geometry){var r=t.geometry.type;"Point"!==r&&"MultiPoint"!==r&&M(t,(function(r,o,s,u,c,d){var h=a([r,o],t.properties);return e(h,n,l,d,i),i++,o}))}}))}function Y(t,e,n){var l=n,i=!1;return N(t,(function(t,r,o,a,s){l=!1===i&&void 0===n?t:e(l,t,r,o,a,s),i=!0})),l}function U(t,e){if(!t)throw new Error("geojson is required");R(t,(function(t,n,l){if(null!==t.geometry){var i=t.geometry.coordinates;switch(t.geometry.type){case"LineString":e(t,n,l,0,0);break;case"Polygon":for(var r=0;r<i.length;r++)e(a(i[r],t.properties),n,l,r)}}}))}function B(t,e,n){var l=n;return U(t,(function(t,i,r,o){l=0===i&&void 0===n?t:e(l,t,i,r,o)})),l}function z(t){var e=[1/0,1/0,-1/0,-1/0];return k(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function G(t){if(!t)throw new Error("obj is required");var e=H(t);if(e.length>1&&w(e[0])&&w(e[1]))return e;throw new Error("Coordinate is not a valid Point")}function H(t){if(!t)throw new Error("obj is required");var e;if(t.length?e=t:t.coordinates?e=t.coordinates:t.geometry&&t.geometry.coordinates&&(e=t.geometry.coordinates),e)return V(e),e;throw new Error("No valid coordinates")}function V(t){if(t.length>1&&w(t[0])&&w(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return V(t[0]);throw new Error("coordinates must only contain numbers")}function q(t,e,n){if(!e||!n)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.type)}function W(t,e,n){if(!t)throw new Error("No feature passed");if(!n)throw new Error(".featureOf() requires a name");if(!t||"Feature"!==t.type||!t.geometry)throw new Error("Invalid input to "+n+", Feature with geometry required");if(!t.geometry||t.geometry.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.geometry.type)}function $(t,e,n){if(!t)throw new Error("No featureCollection passed");if(!n)throw new Error(".collectionOf() requires a name");if(!t||"FeatureCollection"!==t.type)throw new Error("Invalid input to "+n+", FeatureCollection required");for(var l=0;l<t.features.length;l++){var i=t.features[l];if(!i||"Feature"!==i.type||!i.geometry)throw new Error("Invalid input to "+n+", Feature with geometry required");if(!i.geometry||i.geometry.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+i.geometry.type)}}function X(t){if(!t)throw new Error("geojson is required");if(void 0!==t.geometry)return t.geometry;if(t.coordinates||t.geometries)return t;throw new Error("geojson must be a valid Feature or Geometry Object")}function K(){throw new Error("invariant.getGeomType has been deprecated in v5.0 in favor of invariant.getType")}function J(t,e){if(!t)throw new Error((e||"geojson")+" is required");if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error((e||"geojson")+" is invalid")}function Q(t,e,n){n=n||{};for(var l=Object.keys(kr),i=0;i<l.length;i++){var r=l[i],o=n[r];Mr[r]=o=null!=o?o:kr[r]}Mr.verbose&&console.log("MarchingSquaresJS-isoContours: computing isocontour for "+e);var a=function(t){var e=[],n=0;return t.cells.forEach((function(l,i){l.forEach((function(l,r){if(void 0!==l&&!function(t){return 5===t.cval||10===t.cval}(l)&&!tt(l)){var o=function(t,e,n){var l,i,r,o=t.length,a=[],s=[0,0,1,1,0,0,0,0,-1,0,1,1,-1,0,-1,0],u=[0,-1,0,0,1,1,1,1,0,-1,0,0,0,-1,0,0],c=["none","bottom","right","right","top","top","top","top","left","bottom","right","right","left","bottom","left","none"],d=t[e][n],h=d.cval,p=nt(d,r=["none","left","bottom","left","right","none","bottom","left","top","top","none","top","right","right","bottom","none"][h]);a.push([n+p[0],e+p[1]]),p=nt(d,r=c[h]),a.push([n+p[0],e+p[1]]),et(d);for(var f=n+s[h],b=e+u[h],m=h;f>=0&&b>=0&&b<o&&(f!=n||b!=e)&&void 0!==(d=t[b][f]);){if(0===(h=d.cval)||15===h)return{path:a,info:"mergeable"};r=c[h],l=s[h],i=u[h],5!==h&&10!==h||(5===h?d.flipped?-1===u[m]?(r="left",l=-1,i=0):(r="right",l=1,i=0):-1===s[m]&&(r="bottom",l=0,i=-1):10===h&&(d.flipped?-1===s[m]?(r="top",l=0,i=1):(r="bottom",l=0,i=-1):1===u[m]&&(r="left",l=-1,i=0))),p=nt(d,r),a.push([f+p[0],b+p[1]]),et(d),f+=l,b+=i,m=h}return{path:a,info:"closed"}}(t.cells,i,r),a=!1;if("mergeable"===o.info)for(var s=o.path[o.path.length-1][0],u=o.path[o.path.length-1][1],c=n-1;c>=0;c--)if(Math.abs(e[c][0][0]-s)<=1e-7&&Math.abs(e[c][0][1]-u)<=1e-7){for(var d=o.path.length-2;d>=0;--d)e[c].unshift(o.path[d]);a=!0;break}a||(e[n++]=o.path)}}))})),e}(function(t,e){for(var n=t.length-1,l=t[0].length-1,i={rows:n,cols:l,cells:[]},r=0;r<n;++r){i.cells[r]=[];for(var o=0;o<l;++o){var a=0,s=t[r+1][o],u=t[r+1][o+1],c=t[r][o+1],d=t[r][o];if(!(isNaN(s)||isNaN(u)||isNaN(c)||isNaN(d))){a|=s>=e?8:0,a|=u>=e?4:0,a|=c>=e?2:0;var h,p,f,b,m=!1;if(5==(a|=d>=e?1:0)||10===a){var g=(s+u+c+d)/4;5===a&&g<e?(a=10,m=!0):10===a&&g<e&&(a=5,m=!0)}0!==a&&15!==a&&(h=p=f=b=.5,1===a?(f=1-Z(e,s,d),p=1-Z(e,c,d)):2===a?(p=Z(e,d,c),b=1-Z(e,u,c)):3===a?(f=1-Z(e,s,d),b=1-Z(e,u,c)):4===a?(h=Z(e,s,u),b=Z(e,c,u)):5===a?(h=Z(e,s,u),b=Z(e,c,u),p=1-Z(e,c,d),f=1-Z(e,s,d)):6===a?(p=Z(e,d,c),h=Z(e,s,u)):7===a?(f=1-Z(e,s,d),h=Z(e,s,u)):8===a?(f=Z(e,d,s),h=1-Z(e,u,s)):9===a?(p=1-Z(e,c,d),h=1-Z(e,u,s)):10===a?(h=1-Z(e,u,s),b=1-Z(e,u,c),p=Z(e,d,c),f=Z(e,d,s)):11===a?(h=1-Z(e,u,s),b=1-Z(e,u,c)):12===a?(f=Z(e,d,s),b=Z(e,c,u)):13===a?(p=1-Z(e,c,d),b=Z(e,c,u)):14===a?(f=Z(e,d,s),p=Z(e,d,c)):console.log("MarchingSquaresJS-isoContours: Illegal cval detected: "+a),i.cells[r][o]={cval:a,flipped:m,top:h,right:b,bottom:p,left:f})}}}return i}(t,e));return"function"==typeof Mr.successCallback&&Mr.successCallback(a),a}function Z(t,e,n){return(t-e)/(n-e)}function tt(t){return 0===t.cval||15===t.cval}function et(t){tt(t)||5===t.cval||10===t.cval||(t.cval=15)}function nt(t,e){return"top"===e?[t.top,1]:"bottom"===e?[t.bottom,0]:"right"===e?[1,t.right]:"left"===e?[0,t.left]:void 0}function lt(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function it(t,e){if(!(this instanceof it))return new it(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function rt(t,e){ot(t,0,t.children.length,e,t)}function ot(t,e,n,l,i){i||(i=ft(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r,o=e;o<n;o++)r=t.children[o],at(i,t.leaf?l(r):r);return i}function at(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function st(t,e){return t.minX-e.minX}function ut(t,e){return t.minY-e.minY}function ct(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function dt(t){return t.maxX-t.minX+(t.maxY-t.minY)}function ht(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function pt(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function ft(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function bt(t,e,n,l,i){for(var r,o=[e,n];o.length;)(n=o.pop())-(e=o.pop())<=l||(r=e+Math.ceil((n-e)/l/2)*l,Or(t,r,e,n,i),o.push(e,r,r,n))}function mt(t,e){return t(e={exports:{}},e.exports),e.exports}function gt(t,e){if(!(this instanceof gt))return new gt(t,e);if(this.data=t||[],this.length=this.data.length,this.compare=e||function(t,e){return t<e?-1:t>e?1:0},this.length>0)for(var n=(this.length>>1)-1;n>=0;n--)this._down(n)}function _t(t,e,n){e=Math.max(0,void 0===e?2:e),n=n||0;for(var l,i=function(t){for(var e=t[0],n=t[0],l=t[0],i=t[0],r=0;r<t.length;r++){var o=t[r];o[0]<e[0]&&(e=o),o[0]>l[0]&&(l=o),o[1]<n[1]&&(n=o),o[1]>i[1]&&(i=o)}var a=[e,n,l,i],s=a.slice();for(r=0;r<t.length;r++)zr(t[r],a)||s.push(t[r]);var u=Nr(s),c=[];for(r=0;r<u.length;r++)c.push(s[u[r]]);return c}(t),r=Dr(16,["[0]","[1]","[0]","[1]"]).load(t),o=[],a=0;a<i.length;a++){var s=i[a];r.remove(s),l=wt(s,l),o.push(l)}var u=Dr(16);for(a=0;a<o.length;a++)u.insert(Ct(o[a]));for(var c=e*e,d=n*n;o.length;){var h=o.shift(),p=h.p,f=h.next.p,b=Pt(p,f);if(!(b<d)){var m=b/c;(s=function(t,e,n,l,i,r,o){for(var a=new Ur(null,yt),s=t.data;s;){for(var u=0;u<s.children.length;u++){var c=s.children[u],d=s.leaf?xt(c,n,l):function(t,e,n){if(At(t,n)||At(e,n))return 0;var l=St(t[0],t[1],e[0],e[1],n.minX,n.minY,n.maxX,n.minY);if(0===l)return 0;var i=St(t[0],t[1],e[0],e[1],n.minX,n.minY,n.minX,n.maxY);if(0===i)return 0;var r=St(t[0],t[1],e[0],e[1],n.maxX,n.minY,n.maxX,n.maxY);if(0===r)return 0;var o=St(t[0],t[1],e[0],e[1],n.minX,n.maxY,n.maxX,n.maxY);return 0===o?0:Math.min(l,i,r,o)}(n,l,c);d>r||a.push({node:c,dist:d})}for(;a.length&&!a.peek().node.children;){var h=a.pop(),p=h.node,f=xt(p,e,n),b=xt(p,l,i);if(h.dist<f&&h.dist<b&&vt(n,p,o)&&vt(l,p,o))return p}(s=a.pop())&&(s=s.node)}return null}(r,h.prev.p,p,f,h.next.next.p,m,u))&&Math.min(Pt(s,p),Pt(s,f))<=m&&(o.push(h),o.push(wt(s,h)),r.remove(s),u.remove(h),u.insert(Ct(h)),u.insert(Ct(h.next)))}}h=l;var g=[];do{g.push(h.p),h=h.next}while(h!==l);return g.push(h.p),g}function yt(t,e){return t.dist-e.dist}function At(t,e){return t[0]>=e.minX&&t[0]<=e.maxX&&t[1]>=e.minY&&t[1]<=e.maxY}function vt(t,e,n){for(var l=Math.min(t[0],e[0]),i=Math.min(t[1],e[1]),r=Math.max(t[0],e[0]),o=Math.max(t[1],e[1]),a=n.search({minX:l,minY:i,maxX:r,maxY:o}),s=0;s<a.length;s++)if(function(t,e,n,l){return t!==l&&e!==n&&Gr(t,e,n)>0!=Gr(t,e,l)>0&&Gr(n,l,t)>0!=Gr(n,l,e)>0}(a[s].p,a[s].next.p,t,e))return!1;return!0}function Ct(t){var e=t.p,n=t.next.p;return t.minX=Math.min(e[0],n[0]),t.minY=Math.min(e[1],n[1]),t.maxX=Math.max(e[0],n[0]),t.maxY=Math.max(e[1],n[1]),t}function wt(t,e){var n={p:t,prev:null,next:null,minX:0,minY:0,maxX:0,maxY:0};return e?(n.next=e.next,n.prev=e,e.next.prev=n,e.next=n):(n.prev=n,n.next=n),n}function Pt(t,e){var n=t[0]-e[0],l=t[1]-e[1];return n*n+l*l}function xt(t,e,n){var l=e[0],i=e[1],r=n[0]-l,o=n[1]-i;if(0!==r||0!==o){var a=((t[0]-l)*r+(t[1]-i)*o)/(r*r+o*o);a>1?(l=n[0],i=n[1]):a>0&&(l+=r*a,i+=o*a)}return(r=t[0]-l)*r+(o=t[1]-i)*o}function St(t,e,n,l,i,r,o,a){var s,u,c,d,h=n-t,p=l-e,f=o-i,b=a-r,m=t-i,g=e-r,_=h*h+p*p,y=h*f+p*b,A=f*f+b*b,v=h*m+p*g,C=f*m+b*g,w=_*A-y*y,P=w,x=w;0===w?(u=0,P=1,d=C,x=A):(d=_*C-y*v,(u=y*C-A*v)<0?(u=0,d=C,x=A):u>P&&(u=P,d=C+y,x=A)),d<0?(d=0,-v<0?u=0:-v>_?u=P:(u=-v,P=_)):d>x&&(d=x,-v+y<0?u=0:-v+y>_?u=P:(u=-v+y,P=_));var S=(1-(c=0===d?0:d/x))*i+c*o-((1-(s=0===u?0:u/P))*t+s*n),k=(1-c)*r+c*a-((1-s)*e+s*l);return S*S+k*k}function kt(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.concavity||1/0,l=[];if(k(t,(function(t){l.push([t[0],t[1]])})),!l.length)return null;var i=Hr(l,n);return i.length>3?r([i]):null}function Mt(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.ignoreBoundary;if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");var i=G(t),r=H(e),o=e.geometry?e.geometry.type:e.type,a=e.bbox;if(a&&!1===function(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}(i,a))return!1;"Polygon"===o&&(r=[r]);for(var s=0,u=!1;s<r.length&&!u;s++)if(Ot(i,r[s][0],l)){for(var c=!1,d=1;d<r[s].length&&!c;)Ot(i,r[s][d],!l)&&(c=!0),d++;c||(u=!0)}return u}function Ot(t,e,n){var l=!1;e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]&&(e=e.slice(0,e.length-1));for(var i=0,r=e.length-1;i<e.length;r=i++){var o=e[i][0],a=e[i][1],s=e[r][0],u=e[r][1];if(t[1]*(o-s)+a*(s-t[0])+u*(t[0]-o)==0&&(o-t[0])*(s-t[0])<=0&&(a-t[1])*(u-t[1])<=0)return!n;a>t[1]!=u>t[1]&&t[0]<(s-o)*(t[1]-a)/(u-a)+o&&(l=!l)}return l}function Dt(t,e){var n=[];return L(e,(function(e){T(t,(function(t){Mt(t,e)&&n.push(t)}))})),u(n)}function Tt(t,e){if("FeatureCollection"!==t.type)throw new Error("points must be a FeatureCollection");var n=!1;return u(function(t){if(t.length<3)return[];t.sort(It);for(var e,n,l,i=t.length-1,r=t[i].x,o=t[0].x,a=t[i].y,s=a;i--;)t[i].y<a&&(a=t[i].y),t[i].y>s&&(s=t[i].y);var u,c=o-r,d=s-a,h=c>d?c:d,p=.5*(o+r),f=.5*(s+a),b=[new Et({x:p-20*h,y:f-h,__sentinel:!0},{x:p,y:f+20*h,__sentinel:!0},{x:p+20*h,y:f-h,__sentinel:!0})],m=[],g=[];for(i=t.length;i--;){for(g.length=0,u=b.length;u--;)(c=t[i].x-b[u].x)>0&&c*c>b[u].r?(m.push(b[u]),b.splice(u,1)):c*c+(d=t[i].y-b[u].y)*d>b[u].r||(g.push(b[u].a,b[u].b,b[u].b,b[u].c,b[u].c,b[u].a),b.splice(u,1));for(Lt(g),u=g.length;u;)n=g[--u],e=g[--u],l=t[i],Math.abs(2*((n.x-e.x)*(l.y-n.y)-(n.y-e.y)*(l.x-n.x)))>1e-12&&b.push(new Et(e,n,l))}for(Array.prototype.push.apply(m,b),i=m.length;i--;)(m[i].a.__sentinel||m[i].b.__sentinel||m[i].c.__sentinel)&&m.splice(i,1);return m}(t.features.map((function(t){var l={x:t.geometry.coordinates[0],y:t.geometry.coordinates[1]};return e?l.z=t.properties[e]:3===t.geometry.coordinates.length&&(n=!0,l.z=t.geometry.coordinates[2]),l}))).map((function(t){var e=[t.a.x,t.a.y],l=[t.b.x,t.b.y],i=[t.c.x,t.c.y],o={};return n?(e.push(t.a.z),l.push(t.b.z),i.push(t.c.z)):o={a:t.a.z,b:t.b.z,c:t.c.z},r([[e,l,i,e]],o)})))}function Et(t,e,n){this.a=t,this.b=e,this.c=n;var l,i,r=e.x-t.x,o=e.y-t.y,a=n.x-t.x,s=n.y-t.y,u=r*(t.x+e.x)+o*(t.y+e.y),c=a*(t.x+n.x)+s*(t.y+n.y),d=2*(r*(n.y-e.y)-o*(n.x-e.x));this.x=(s*u-o*c)/d,this.y=(r*c-a*u)/d,this.r=(l=this.x-t.x)*l+(i=this.y-t.y)*i}function It(t,e){return e.x-t.x}function Lt(t){var e,n,l,i,r,o=t.length;t:for(;o;)for(n=t[--o],e=t[--o],l=o;l;)if(r=t[--l],i=t[--l],e===i&&n===r||e===r&&n===i){t.splice(o,2),t.splice(l,2),o-=2;continue t}}function jt(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=G(t),r=G(e),o=A(r[1]-i[1]),a=A(r[0]-i[0]),s=A(i[1]),u=A(r[1]),c=Math.pow(Math.sin(o/2),2)+Math.pow(Math.sin(a/2),2)*Math.cos(s)*Math.cos(u);return b(2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c)),l)}function Rt(t){if(!t)throw new Error("geojson is required");switch(t.type){case"Feature":return Ft(t);case"FeatureCollection":return function(t){var e={type:"FeatureCollection"};return Object.keys(t).forEach((function(n){switch(n){case"type":case"features":return;default:e[n]=t[n]}})),e.features=t.features.map((function(t){return Ft(t)})),e}(t);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return Nt(t);default:throw new Error("unknown GeoJSON type")}}function Ft(t){var e={type:"Feature"};return Object.keys(t).forEach((function(n){switch(n){case"type":case"properties":case"geometry":return;default:e[n]=t[n]}})),e.properties=function t(e){var n={};return e?(Object.keys(e).forEach((function(l){var i=e[l];n[l]="object"==typeof i?null===i?null:i.length?i.map((function(t){return t})):t(i):i})),n):n}(t.properties),e.geometry=Nt(t.geometry),e}function Nt(t){var e={type:t.type};return t.bbox&&(e.bbox=t.bbox),"GeometryCollection"===t.type?(e.geometries=t.geometries.map((function(t){return Nt(t)})),e):(e.coordinates=function t(e){return"object"!=typeof e[0]?e.slice():e.map((function(e){return t(e)}))}(t.coordinates),e)}function Yt(t,e){function n(t,e){e.length&&e.pop();for(var n=s[t<0?~t:t],l=0,i=n.length;l<i;++l)e.push(a(n[l],l));t<0&&Wr(e,i)}function l(t){return a(t)}function i(t){for(var e=[],l=0,i=t.length;l<i;++l)n(t[l],e);return e.length<2&&e.push(e[0]),e}function r(t){for(var e=i(t);e.length<4;)e.push(e[0]);return e}function o(t){return t.map(r)}var a=qr(t.transform),s=t.arcs;return function t(e){var n,r=e.type;switch(r){case"GeometryCollection":return{type:r,geometries:e.geometries.map(t)};case"Point":n=l(e.coordinates);break;case"MultiPoint":n=e.coordinates.map(l);break;case"LineString":n=i(e.arcs);break;case"MultiLineString":n=e.arcs.map(i);break;case"Polygon":n=o(e.arcs);break;case"MultiPolygon":n=e.arcs.map(o);break;default:return null}return{type:r,coordinates:n}}(e)}function Ut(t,e){function n(t){t.forEach((function(e){e.forEach((function(e){(i[e=e<0?~e:e]||(i[e]=[])).push(t)}))})),r.push(t)}function l(e){return function(t){for(var e,n=-1,l=t.length,i=t[l-1],r=0;++n<l;)r+=(e=i)[0]*(i=t[n])[1]-e[1]*i[0];return Math.abs(r)}(Yt(t,{type:"Polygon",arcs:[e]}).coordinates[0])}var i={},r=[],o=[];return e.forEach((function t(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"Polygon":n(e.arcs);break;case"MultiPolygon":e.arcs.forEach(n)}})),r.forEach((function(t){if(!t._){var e=[],n=[t];for(t._=1,o.push(e);t=n.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].forEach((function(t){t._||(t._=1,n.push(t))}))}))}))}})),r.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:o.map((function(e){var n,r=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].length<2&&r.push(t)}))}))})),(n=(r=$r(t,r)).length)>1)for(var o,a,s=1,u=l(r[0]);s<n;++s)(o=l(r[s]))>u&&(a=r[0],r[0]=r[s],r[s]=a,u=o);return r}))}}function Bt(t,e,n){for(var l,i=e+(n---e>>1);e<i;++e,--n)l=t[e],t[e]=t[n],t[n]=l}function zt(t){return null==t?{type:null}:("FeatureCollection"===t.type?function(t){var e={type:"GeometryCollection",geometries:t.features.map(Gt)};return null!=t.bbox&&(e.bbox=t.bbox),e}:"Feature"===t.type?Gt:Ht)(t)}function Gt(t){var e,n=Ht(t.geometry);for(e in null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),t.properties){n.properties=t.properties;break}return n}function Ht(t){if(null==t)return{type:null};var e="GeometryCollection"===t.type?{type:"GeometryCollection",geometries:t.geometries.map(Ht)}:"Point"===t.type||"MultiPoint"===t.type?{type:t.type,coordinates:t.coordinates}:{type:t.type,arcs:t.coordinates};return null!=t.bbox&&(e.bbox=t.bbox),e}function Vt(t){var e,n=t[0],l=t[1];return l<n&&(e=n,n=l,l=e),n+31*l}function qt(t,e){var n,l=t[0],i=t[1],r=e[0],o=e[1];return i<l&&(n=l,l=i,i=n),o<r&&(n=r,r=o,o=n),l===r&&i===o}function Wt(t){return t[0].toString()+","+t[1].toString()}function $t(t,n){var l="object"==typeof n?n.mutate:n;if(!t)throw new Error("geojson is required");var i=J(t),r=[];switch(i){case"LineString":r=Xt(t);break;case"MultiLineString":case"Polygon":H(t).forEach((function(t){r.push(Xt(t))}));break;case"MultiPolygon":H(t).forEach((function(t){var e=[];t.forEach((function(t){e.push(Xt(t))})),r.push(e)}));break;case"Point":return t;case"MultiPoint":var o={};H(t).forEach((function(t){var e=t.join("-");o.hasOwnProperty(e)||(r.push(t),o[e]=!0)}));break;default:throw new Error(i+" geometry not supported")}return t.coordinates?!0===l?(t.coordinates=r,t):{type:i,coordinates:r}:!0===l?(t.geometry.coordinates=r,t):e({type:i,coordinates:r},t.properties,t.bbox)}function Xt(t){var e=H(t);if(2===e.length&&!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(e[0],e[1]))return e;var n,l,i=[],r=e.length-1;i.push(e[0]);for(var o=1;o<r;o++)(function(t,e,n){var l=n[0],i=n[1],r=t[0],o=t[1],a=e[0],s=e[1],u=a-r,c=s-o;return(l-r)*c-(i-o)*u==0&&(Math.abs(u)>=Math.abs(c)?u>0?r<=l&&l<=a:a<=l&&l<=r:c>0?o<=i&&i<=s:s<=i&&i<=o)})(e[o-1],l=e[o+1],n=e[o])||i.push(n);return i.push(l),i}function Kt(t,e){var n=t.x-e.x,l=t.y-e.y;return n*n+l*l}function Jt(t,e,n){var l=e.x,i=e.y,r=n.x-l,o=n.y-i;if(0!==r||0!==o){var a=((t.x-l)*r+(t.y-i)*o)/(r*r+o*o);a>1?(l=n.x,i=n.y):a>0&&(l+=r*a,i+=o*a)}return(r=t.x-l)*r+(o=t.y-i)*o}function Qt(t,e,n){if(t.length<=2)return t;var l=void 0!==e?e*e:1;return function(t,e){var n=t.length-1,l=[t[0]];return function t(e,n,l,i,r){for(var o,a=i,s=n+1;s<l;s++){var u=Jt(e[s],e[n],e[l]);u>a&&(o=s,a=u)}a>i&&(o-n>1&&t(e,n,o,i,r),r.push(e[o]),l-o>1&&t(e,o,l,i,r))}(t,0,n,e,l),l.push(t[n]),l}(t=n?t:function(t,e){for(var n,l=t[0],i=[l],r=1,o=t.length;r<o;r++)Kt(n=t[r],l)>e&&(i.push(n),l=n);return l!==n&&i.push(n),i}(t,l),l)}function Zt(t,e,n){return Qt(t.map((function(t){return{x:t[0],y:t[1],z:t[2]}})),e,n).map((function(t){return t.z?[t.x,t.y,t.z]:[t.x,t.y]}))}function te(t,e,n){return t.map((function(t){var l=t.map((function(t){return{x:t[0],y:t[1]}}));if(l.length<4)throw new Error("invalid polygon");for(var i=Qt(l,e,n).map((function(t){return[t.x,t.y]}));!function(t){return!(t.length<3||3===t.length&&t[2][0]===t[0][0]&&t[2][1]===t[0][1])}(i);)i=Qt(l,e-=.01*e,n).map((function(t){return[t.x,t.y]}));return i[i.length-1][0]===i[0][0]&&i[i.length-1][1]===i[0][1]||i.push(i[0]),i}))}function ee(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.resolution||1e4,l=e.sharpness||.85;if(!t)throw new Error("line is required");if(!w(n))throw new Error("resolution must be an number");if(!w(l))throw new Error("sharpness must be an number");for(var i=[],r=new eo({points:X(t).coordinates.map((function(t){return{x:t[0],y:t[1]}})),duration:n,sharpness:l}),o=0;o<r.duration;o+=10){var s=r.pos(o);Math.floor(o/100)%2==0&&i.push([s.x,s.y])}return a(i,t.properties)}function ne(t){x(t);var e=Number(t[0]),n=Number(t[1]),l=Number(t[2]),i=Number(t[3]);if(6===t.length)throw new Error("@turf/bbox-polygon does not support BBox with 6 positions");var o=[e,n];return r([[o,[l,n],[l,i],[e,i],o]])}function le(t){return ne(z(t))}function ie(t){var e=t[0],n=t[1],l=t[2],i=t[3];if(jt(t.slice(0,2),[l,n])>=jt(t.slice(0,2),[e,i])){var r=(n+i)/2;return[e,r-(l-e)/2,l,r+(l-e)/2]}var o=(e+l)/2;return[o-(i-n)/2,n,o+(i-n)/2,i]}function re(t,e,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.units,o=i.properties,a=G(t),s=A(a[0]),u=A(a[1]),c=A(n),d=m(e,r),h=Math.asin(Math.sin(u)*Math.cos(d)+Math.cos(u)*Math.sin(d)*Math.cos(c));return l([y(s+Math.atan2(Math.sin(c)*Math.sin(d)*Math.cos(u),Math.cos(d)-Math.sin(u)*Math.sin(h))),y(h)],o)}function oe(t,e,n){var l=(n=n||{}).steps||64,i=n.properties;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if("object"!=typeof n)throw new Error("options must be an object");if("number"!=typeof l)throw new Error("steps must be a number");l=l||64,i=i||t.properties||{};for(var o=[],a=0;a<l;a++)o.push(re(t,e,-360*a/l,n).geometry.coordinates);return o.push(o[0]),r([o],i)}function ae(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");if(!0===n.final)return function(t,e){return(ae(e,t)+180)%360}(t,e);var l=G(t),i=G(e),r=A(l[0]),o=A(i[0]),a=A(l[1]),s=A(i[1]),u=Math.sin(o-r)*Math.cos(s),c=Math.cos(a)*Math.sin(s)-Math.sin(a)*Math.cos(s)*Math.cos(o-r);return y(Math.atan2(u,c))}function se(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties;if(!t)throw new Error("geojson is required");var i=z(t);return l([(i[0]+i[2])/2,(i[1]+i[3])/2],n)}function ue(t,e){var n=0,i=0,r=0;return k(t,(function(t){n+=t[0],i+=t[1],r++}),!0),l([n/r,i/r],e)}function ce(t){var e=[];return"FeatureCollection"===t.type?T(t,(function(t){k(t,(function(n){e.push(l(n,t.properties))}))})):k(t,(function(n){e.push(l(n,t.properties))})),u(e)}function de(t,e,n){n=n||2;var l,i,r,o,a,s,u,c=e&&e.length,d=c?e[0]*n:t.length,h=he(t,0,d,n,!0),p=[];if(!h)return p;if(c&&(h=function(t,e,n,l){var i,r,o,a=[];for(i=0,r=e.length;i<r;i++)(o=he(t,e[i]*l,i<r-1?e[i+1]*l:t.length,l,!1))===o.next&&(o.steiner=!0),a.push(function(t){var e=t,n=t;do{e.x<n.x&&(n=e),e=e.next}while(e!==t);return n}(o));for(a.sort(fe),i=0;i<a.length;i++)!function(t,e){if(e=function(t,e){var n,l=e,i=t.x,r=t.y,o=-1/0;do{if(r<=l.y&&r>=l.next.y&&l.next.y!==l.y){var a=l.x+(r-l.y)*(l.next.x-l.x)/(l.next.y-l.y);if(a<=i&&a>o){if(o=a,a===i){if(r===l.y)return l;if(r===l.next.y)return l.next}n=l.x<l.next.x?l:l.next}}l=l.next}while(l!==e);if(!n)return null;if(i===o)return n.prev;var s,u=n,c=n.x,d=n.y,h=1/0;for(l=n.next;l!==u;)i>=l.x&&l.x>=c&&i!==l.x&&me(r<d?i:o,r,c,d,r<d?o:i,r,l.x,l.y)&&((s=Math.abs(r-l.y)/(i-l.x))<h||s===h&&l.x>n.x)&&Ae(l,t)&&(n=l,h=s),l=l.next;return n}(t,e)){var n=ve(e,t);pe(n,n.next)}}(a[i],n),n=pe(n,n.next);return n}(t,e,h,n)),t.length>80*n){l=r=t[0],i=o=t[1];for(var f=n;f<d;f+=n)(a=t[f])<l&&(l=a),(s=t[f+1])<i&&(i=s),a>r&&(r=a),s>o&&(o=s);u=0!==(u=Math.max(r-l,o-i))?1/u:0}return function t(e,n,l,i,r,o,a){if(e){!a&&o&&function(t,e,n,l){var i=t;do{null===i.z&&(i.z=be(i.x,i.y,e,n,l)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,l,i,r,o,a,s,u=1;do{for(n=t,t=null,r=null,o=0;n;){for(o++,l=n,a=0,e=0;e<u&&(a++,l=l.nextZ);e++);for(s=u;a>0||s>0&&l;)0!==a&&(0===s||!l||n.z<=l.z)?(i=n,n=n.nextZ,a--):(i=l,l=l.nextZ,s--),r?r.nextZ=i:t=i,i.prevZ=r,r=i;n=l}r.nextZ=null,u*=2}while(o>1)}(i)}(e,i,r,o);for(var s,u,c=e;e.prev!==e.next;)if(s=e.prev,u=e.next,o?function(t,e,n,l){var i=t.prev,r=t,o=t.next;if(ge(i,r,o)>=0)return!1;for(var a=i.x>r.x?i.x>o.x?i.x:o.x:r.x>o.x?r.x:o.x,s=i.y>r.y?i.y>o.y?i.y:o.y:r.y>o.y?r.y:o.y,u=be(i.x<r.x?i.x<o.x?i.x:o.x:r.x<o.x?r.x:o.x,i.y<r.y?i.y<o.y?i.y:o.y:r.y<o.y?r.y:o.y,e,n,l),c=be(a,s,e,n,l),d=t.nextZ;d&&d.z<=c;){if(d!==t.prev&&d!==t.next&&me(i.x,i.y,r.x,r.y,o.x,o.y,d.x,d.y)&&ge(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(d=t.prevZ;d&&d.z>=u;){if(d!==t.prev&&d!==t.next&&me(i.x,i.y,r.x,r.y,o.x,o.y,d.x,d.y)&&ge(d.prev,d,d.next)>=0)return!1;d=d.prevZ}return!0}(e,i,r,o):function(t){var e=t.prev,n=t,l=t.next;if(ge(e,n,l)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(me(e.x,e.y,n.x,n.y,l.x,l.y,i.x,i.y)&&ge(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}(e))n.push(s.i/l),n.push(e.i/l),n.push(u.i/l),we(e),e=u.next,c=u.next;else if((e=u)===c){a?1===a?t(e=function(t,e,n){var l=t;do{var i=l.prev,r=l.next.next;!_e(i,r)&&ye(i,l,l.next,r)&&Ae(i,r)&&Ae(r,i)&&(e.push(i.i/n),e.push(l.i/n),e.push(r.i/n),we(l),we(l.next),l=t=r),l=l.next}while(l!==t);return l}(e,n,l),n,l,i,r,o,2):2===a&&function(e,n,l,i,r,o){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&function(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&ye(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&Ae(t,e)&&Ae(e,t)&&function(t,e){var n=t,l=!1,i=(t.x+e.x)/2,r=(t.y+e.y)/2;do{n.y>r!=n.next.y>r&&n.next.y!==n.y&&i<(n.next.x-n.x)*(r-n.y)/(n.next.y-n.y)+n.x&&(l=!l),n=n.next}while(n!==t);return l}(t,e)}(a,s)){var u=ve(a,s);return a=pe(a,a.next),u=pe(u,u.next),t(a,n,l,i,r,o),void t(u,n,l,i,r,o)}s=s.next}a=a.next}while(a!==e)}(e,n,l,i,r,o):t(pe(e),n,l,i,r,o,1);break}}}(h,p,n,l,i,u),p}function he(t,e,n,l,i){var r,o;if(i===xe(t,e,n,l)>0)for(r=e;r<n;r+=l)o=Ce(r,t[r],t[r+1],o);else for(r=n-l;r>=e;r-=l)o=Ce(r,t[r],t[r+1],o);return o&&_e(o,o.next)&&(we(o),o=o.next),o}function pe(t,e){if(!t)return t;e||(e=t);var n,l=t;do{if(n=!1,l.steiner||!_e(l,l.next)&&0!==ge(l.prev,l,l.next))l=l.next;else{if(we(l),(l=e=l.prev)===l.next)break;n=!0}}while(n||l!==e);return e}function fe(t,e){return t.x-e.x}function be(t,e,n,l,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-l)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function me(t,e,n,l,i,r,o,a){return(i-o)*(e-a)-(t-o)*(r-a)>=0&&(t-o)*(l-a)-(n-o)*(e-a)>=0&&(n-o)*(r-a)-(i-o)*(l-a)>=0}function ge(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function _e(t,e){return t.x===e.x&&t.y===e.y}function ye(t,e,n,l){return!!(_e(t,e)&&_e(n,l)||_e(t,l)&&_e(n,e))||ge(t,e,n)>0!=ge(t,e,l)>0&&ge(n,l,t)>0!=ge(n,l,e)>0}function Ae(t,e){return ge(t.prev,t,t.next)<0?ge(t,e,t.next)>=0&&ge(t,t.prev,e)>=0:ge(t,e,t.prev)<0||ge(t,t.next,e)<0}function ve(t,e){var n=new Pe(t.i,t.x,t.y),l=new Pe(e.i,e.x,e.y),i=t.next,r=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,l.next=n,n.prev=l,r.next=l,l.prev=r,l}function Ce(t,e,n,l){var i=new Pe(t,e,n);return l?(i.next=l.next,i.prev=l,l.next.prev=i,l.next=i):(i.prev=i,i.next=i),i}function we(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Pe(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function xe(t,e,n,l){for(var i=0,r=e,o=n-l;r<n;r+=l)i+=(t[o]-t[r])*(t[r+1]+t[o+1]),o=r;return i}function Se(t){var e=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},l=0,i=0;i<t.length;i++){for(var r=0;r<t[i].length;r++)for(var o=0;o<e;o++)n.vertices.push(t[i][r][o]);i>0&&n.holes.push(l+=t[i-1].length)}return n}(t),n=no(e.vertices,e.holes,2),l=[],i=[];n.forEach((function(t,l){var r=n[l];i.push([e.vertices[2*r],e.vertices[2*r+1]])}));for(var o=0;o<i.length;o+=3){var a=i.slice(o,o+3);a.push(i[o]),l.push(r([a]))}return l}function ke(t,e){if(!t)throw new Error("targetPoint is required");if(!e)throw new Error("points is required");var n,l=1/0;return T(e,(function(e,i){var r=jt(t,e);r<l&&((n=Rt(e)).properties.featureIndex=i,n.properties.distanceToPoint=r,l=r)})),n}function Me(t,e,n,l,i){!function t(e,n,l,i,r){for(;i>l;){if(i-l>600){var o=i-l+1,a=n-l+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);t(e,n,Math.max(l,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),r)}var d=e[n],h=l,p=i;for(Oe(e,l,n),r(e[i],d)>0&&Oe(e,l,i);h<p;){for(Oe(e,h,p),h++,p--;r(e[h],d)<0;)h++;for(;r(e[p],d)>0;)p--}0===r(e[l],d)?Oe(e,l,p):Oe(e,++p,i),p<=n&&(l=p+1),n<=p&&(i=p-1)}}(t,e,n||0,l||t.length-1,i||function(t,e){return t<e?-1:t>e?1:0})}function Oe(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function De(t,e){if(!(this instanceof De))return new De(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function Te(t,e){Ee(t,0,t.children.length,e,t)}function Ee(t,e,n,l,i){i||(i=Ue(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r,o=e;o<n;o++)r=t.children[o],Ie(i,t.leaf?l(r):r);return i}function Ie(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function Le(t,e){return t.minX-e.minX}function je(t,e){return t.minY-e.minY}function Re(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function Fe(t){return t.maxX-t.minX+(t.maxY-t.minY)}function Ne(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function Ye(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function Ue(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Be(t,e,n,l,i){for(var r,o=[e,n];o.length;)(n=o.pop())-(e=o.pop())<=l||(Me(t,r=e+Math.ceil((n-e)/l/2)*l,e,n,i),o.push(e,r,r,n))}function ze(t){var e=De(t);return e.insert=function(t){if(Array.isArray(t)){var e=t;(t=Ge(e)).bbox=e}else t.bbox=t.bbox?t.bbox:He(t);return De.prototype.insert.call(this,t)},e.load=function(t){var e=[];return Array.isArray(t)?t.forEach((function(t){var n=Ge(t);n.bbox=t,e.push(n)})):T(t,(function(t){t.bbox=t.bbox?t.bbox:He(t),e.push(t)})),De.prototype.load.call(this,e)},e.remove=function(t){if(Array.isArray(t)){var e=t;(t=Ge(e)).bbox=e}return De.prototype.remove.call(this,t)},e.clear=function(){return De.prototype.clear.call(this)},e.search=function(t){return{type:"FeatureCollection",features:De.prototype.search.call(this,this.toBBox(t))}},e.collides=function(t){return De.prototype.collides.call(this,this.toBBox(t))},e.all=function(){return{type:"FeatureCollection",features:De.prototype.all.call(this)}},e.toJSON=function(){return De.prototype.toJSON.call(this)},e.fromJSON=function(t){return De.prototype.fromJSON.call(this,t)},e.toBBox=function(t){var e;return{minX:(e=t.bbox?t.bbox:Array.isArray(t)&&4===t.length?t:He(t))[0],minY:e[1],maxX:e[2],maxY:e[3]}},e}function Ge(t){var e=[t[0],t[1]];return{type:"Feature",bbox:t,properties:{},geometry:{type:"Polygon",coordinates:[[e,[t[2],t[1]],[t[2],t[3]],[t[0],t[3]],e]]}}}function He(t){var e=[1/0,1/0,-1/0,-1/0];return k(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function Ve(t){if(!t)throw new Error("geojson is required");var e=[];return R(t,(function(t){!function(t,e){var n=[],l=t.geometry;switch(l.type){case"Polygon":n=H(l);break;case"LineString":n=[H(l)]}n.forEach((function(n){(function(t,e){var n=[];return t.reduce((function(t,l){var i=a([t,l],e);return i.bbox=function(t,e){var n=t[0],l=t[1],i=e[0],r=e[1];return[n<i?n:i,l<r?l:r,n>i?n:i,l>r?l:r]}(t,l),n.push(i),l})),n})(n,t.properties).forEach((function(t){t.id=e.length,e.push(t)}))}))}(t,e)})),u(e)}function qe(t,n){var l={},i=[];if("LineString"===t.type&&(t=e(t)),"LineString"===n.type&&(n=e(n)),"Feature"===t.type&&"Feature"===n.type&&"LineString"===t.geometry.type&&"LineString"===n.geometry.type&&2===t.geometry.coordinates.length&&2===n.geometry.coordinates.length){var r=We(t,n);return r&&i.push(r),u(i)}var o=ze();return o.load(Ve(n)),T(Ve(t),(function(t){T(o.search(t),(function(e){var n=We(t,e);if(n){var r=H(n).join(",");l[r]||(l[r]=!0,i.push(n))}}))})),u(i)}function We(t,e){var n=H(t),i=H(e);if(2!==n.length)throw new Error("<intersects> line1 must only contain 2 coordinates");if(2!==i.length)throw new Error("<intersects> line2 must only contain 2 coordinates");var r=n[0][0],o=n[0][1],a=n[1][0],s=n[1][1],u=i[0][0],c=i[0][1],d=i[1][0],h=i[1][1],p=(h-c)*(a-r)-(d-u)*(s-o);if(0===p)return null;var f=((d-u)*(o-c)-(h-c)*(r-u))/p,b=((a-r)*(o-c)-(s-o)*(r-u))/p;return f>=0&&f<=1&&b>=0&&b<=1?l([r+f*(a-r),o+f*(s-o)]):null}function $e(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i=t.geometry?t.geometry.type:t.type;if("LineString"!==i&&"MultiLineString"!==i)throw new Error("lines must be LineString or MultiLineString");var r=l([1/0,1/0],{dist:1/0}),o=0;return R(t,(function(t){for(var i=H(t),s=0;s<i.length-1;s++){var u=l(i[s]);u.properties.dist=jt(e,u,n);var c=l(i[s+1]);c.properties.dist=jt(e,c,n);var d=jt(u,c,n),h=Math.max(u.properties.dist,c.properties.dist),p=ae(u,c),f=re(e,h,p+90,n),b=re(e,h,p-90,n),m=qe(a([f.geometry.coordinates,b.geometry.coordinates]),a([u.geometry.coordinates,c.geometry.coordinates])),g=null;m.features.length>0&&((g=m.features[0]).properties.dist=jt(e,g,n),g.properties.location=o+jt(u,g,n)),u.properties.dist<r.properties.dist&&((r=u).properties.index=s,r.properties.location=o),c.properties.dist<r.properties.dist&&((r=c).properties.index=s+1,r.properties.location=o+d),g&&g.properties.dist<r.properties.dist&&((r=g).properties.index=s),o+=d}})),r}function Xe(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l,i=n.final;if(!t)throw new Error("start point is required");if(!e)throw new Error("end point is required");return(l=i?Ke(G(e),G(t)):Ke(G(t),G(e)))>180?-(360-l):l}function Ke(t,e){var n=A(t[1]),l=A(e[1]),i=A(e[0]-t[0]);i>Math.PI&&(i-=2*Math.PI),i<-Math.PI&&(i+=2*Math.PI);var r=Math.log(Math.tan(l/2+Math.PI/4)/Math.tan(n/2+Math.PI/4));return(y(Math.atan2(i,r))+360)%360}function Je(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units;if(!t)throw new Error("from point is required");if(!e)throw new Error("to point is required");var i=G(t),r=G(e);return r[0]+=r[0]-i[0]>180?-360:i[0]-r[0]>180?360:0,v(function(t,e,n){var l=n=void 0===n?Ar:Number(n),i=t[1]*Math.PI/180,r=e[1]*Math.PI/180,o=r-i,a=Math.abs(e[0]-t[0])*Math.PI/180;a>Math.PI&&(a-=2*Math.PI);var s=Math.log(Math.tan(r/2+Math.PI/4)/Math.tan(i/2+Math.PI/4)),u=Math.abs(s)>1e-11?o/s:Math.cos(i);return Math.sqrt(o*o+u*u*a*a)*l}(i,r),"meters",l)}function Qe(t,e){return tn(t,"mercator",e)}function Ze(t,e){return tn(t,"wgs84",e)}function tn(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.mutate;if(!t)throw new Error("geojson is required");return Array.isArray(t)&&w(t[0])?t="mercator"===e?en(t):nn(t):(!0!==l&&(t=Rt(t)),k(t,(function(t){var n="mercator"===e?en(t):nn(t);t[0]=n[0],t[1]=n[1]}))),t}function en(t){var e=Math.PI/180,n=20037508.342789244,l=[6378137*(Math.abs(t[0])<=180?t[0]:t[0]-360*function(t){return t<0?-1:t>0?1:0}(t[0]))*e,6378137*Math.log(Math.tan(.25*Math.PI+.5*t[1]*e))];return l[0]>n&&(l[0]=n),l[0]<-n&&(l[0]=-n),l[1]>n&&(l[1]=n),l[1]<-n&&(l[1]=-n),l}function nn(t){var e=180/Math.PI;return[t[0]*e/6378137,(.5*Math.PI-2*Math.atan(Math.exp(-t[1]/6378137)))*e]}function ln(t,n,i){if(!P(i=i||{}))throw new Error("options is invalid");if(!t)throw new Error("pt is required");if(Array.isArray(t)?t=l(t):"Point"===t.type?t=e(t):W(t,"Point","point"),!n)throw new Error("line is required");Array.isArray(n)?n=a(n):"LineString"===n.type?n=e(n):W(n,"LineString","line");var r=1/0,o=t.geometry.coordinates;return N(n,(function(t){var e=function(t,e,n,i){var r=i.mercator,o=!0!==r?jt(e,t,i):rn(e,t,i),a=_(!0!==r?ae(e,t):Xe(e,t)),s=_(!0!==r?ae(e,n):Xe(e,n)),u=Math.abs(a-s);if(u>90)return o;var c=(s+180)%360,d=_(!0!==r?ae(n,t):Xe(n,t)),h=Math.abs(d-c);return h>180&&(h=Math.abs(h-360)),h>90?!0!==r?jt(t,n,i):rn(t,n,i):!0!==r?o*Math.sin(A(u)):function(t,e,n,i){var r=0;(Math.abs(t[0])>=180||Math.abs(e[0])>=180||Math.abs(n[0])>=180)&&(r=t[0]>0||e[0]>0||n[0]>0?-180:180);var o=l(n),a=Ze(function(t,e,n){var l=t[0],i=t[1],r=e[0]-l,o=e[1]-i,a=((n[0]-l)*r+(n[1]-i)*o)/(r*r+o*o);return[l+a*r,i+a*o]}(Qe([t[0]+r,t[1]]),Qe([e[0]+r,e[1]]),Qe([n[0]+r,n[1]])));return 0!==r&&(a[0]-=r),Je(o,a,i)}(e,n,t,i)}(o,t.geometry.coordinates[0],t.geometry.coordinates[1],i);r>e&&(r=e)})),r}function rn(t,e,n){var l=n.units,i=0;Math.abs(t[0])>=180&&(i=t[0]>0?-180:180),Math.abs(e[0])>=180&&(i=e[0]>0?-180:180);var r=Qe([t[0]+i,t[1]]),o=Qe([e[0]+i,e[1]]),a=function(t){return t*t},s=a(r[0]-o[0])+a(r[1]-o[1]);return v(Math.sqrt(s),"meters",l)}function on(t){for(var n=function(t){return"FeatureCollection"!==t.type?u("Feature"!==t.type?[e(t)]:[t]):t}(t),i=se(n),r=!1,o=0;!r&&o<n.features.length;){var a,s=n.features[o].geometry,c=!1;if("Point"===s.type)i.geometry.coordinates[0]===s.coordinates[0]&&i.geometry.coordinates[1]===s.coordinates[1]&&(r=!0);else if("MultiPoint"===s.type){var d=!1;for(a=0;!d&&a<s.coordinates.length;)i.geometry.coordinates[0]===s.coordinates[a][0]&&i.geometry.coordinates[1]===s.coordinates[a][1]&&(r=!0,d=!0),a++}else if("LineString"===s.type)for(a=0;!c&&a<s.coordinates.length-1;)an(i.geometry.coordinates[0],i.geometry.coordinates[1],s.coordinates[a][0],s.coordinates[a][1],s.coordinates[a+1][0],s.coordinates[a+1][1])&&(c=!0,r=!0),a++;else if("MultiLineString"===s.type)for(var h=0;h<s.coordinates.length;){c=!1,a=0;for(var p=s.coordinates[h];!c&&a<p.length-1;)an(i.geometry.coordinates[0],i.geometry.coordinates[1],p[a][0],p[a][1],p[a+1][0],p[a+1][1])&&(c=!0,r=!0),a++;h++}else"Polygon"!==s.type&&"MultiPolygon"!==s.type||Mt(i,s)&&(r=!0);o++}if(r)return i;var f=u([]);for(o=0;o<n.features.length;o++)f.features=f.features.concat(ce(n.features[o]).features);return l(ke(i,f).geometry.coordinates)}function an(t,e,n,l,i,r){return Math.sqrt((i-n)*(i-n)+(r-l)*(r-l))===Math.sqrt((t-n)*(t-n)+(e-l)*(e-l))+Math.sqrt((i-t)*(i-t)+(r-e)*(r-e))}function sn(t){return j(t,(function(t,e){return t+function t(e){var n,l=0;switch(e.type){case"Polygon":return un(e.coordinates);case"MultiPolygon":for(n=0;n<e.coordinates.length;n++)l+=un(e.coordinates[n]);return l;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(n=0;n<e.geometries.length;n++)l+=t(e.geometries[n]);return l}}(e)}),0)}function un(t){var e=0;if(t&&t.length>0){e+=Math.abs(cn(t[0]));for(var n=1;n<t.length;n++)e-=Math.abs(cn(t[n]))}return e}function cn(t){var e,n,l,i,r,o,a=0,s=t.length;if(s>2){for(o=0;o<s;o++)o===s-2?(l=s-2,i=s-1,r=0):o===s-1?(l=s-1,i=0,r=1):(l=o,i=o+1,r=o+2),e=t[l],n=t[i],a+=(dn(t[r][0])-dn(e[0]))*Math.sin(dn(n[1]));a=a*ro*ro/2}return a}function dn(t){return t*Math.PI/180}function hn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");if(!t)throw new Error("geojson is required");return Y(t,(function(t,n){var l=n.geometry.coordinates;return t+jt(l[0],l[1],e)}),0)}function pn(t,e,n,l){if(!P(l=l||{}))throw new Error("options is invalid");var i,r=[];if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}for(var o,s,u,c=0,d=0;d<i.length&&!(e>=c&&d===i.length-1);d++){if(c>e&&0===r.length){if(!(o=e-c))return r.push(i[d]),a(r);s=ae(i[d],i[d-1])-180,u=re(i[d],o,s,l),r.push(u.geometry.coordinates)}if(c>=n)return(o=n-c)?(s=ae(i[d],i[d-1])-180,u=re(i[d],o,s,l),r.push(u.geometry.coordinates),a(r)):(r.push(i[d]),a(r));if(c>=e&&r.push(i[d]),d===i.length-1)return a(r);c+=jt(i[d],i[d+1],l)}return a(i[i.length-1])}function fn(t,e,n){var l=(n=n||{}).ignoreEndVertices;if(!P(n))throw new Error("invalid options");if(!t)throw new Error("pt is required");if(!e)throw new Error("line is required");for(var i=G(t),r=H(e),o=0;o<r.length-1;o++){var a=!1;if(l&&(0===o&&(a="start"),o===r.length-2&&(a="end"),0===o&&o+1===r.length-1&&(a="both")),function(t,e,n,l){var i=n[0],r=n[1],o=t[0],a=t[1],s=e[0],u=e[1],c=s-o,d=u-a;return(n[0]-o)*d-(n[1]-a)*c==0&&(l?"start"===l?Math.abs(c)>=Math.abs(d)?c>0?o<i&&i<=s:s<=i&&i<o:d>0?a<r&&r<=u:u<=r&&r<a:"end"===l?Math.abs(c)>=Math.abs(d)?c>0?o<=i&&i<s:s<i&&i<=o:d>0?a<=r&&r<u:u<r&&r<=a:"both"===l?Math.abs(c)>=Math.abs(d)?c>0?o<i&&i<s:s<i&&i<o:d>0?a<r&&r<u:u<r&&r<a:void 0:Math.abs(c)>=Math.abs(d)?c>0?o<=i&&i<=s:s<=i&&i<=o:d>0?a<=r&&r<=u:u<=r&&r<=a)}(r[o],r[o+1],i,a))return!0}return!1}function bn(t,e){var n=J(t),l=J(e),i=X(t),r=X(e);switch(n){case"Point":switch(l){case"MultiPoint":return function(t,e){var n,l=!1;for(n=0;n<e.coordinates.length;n++)if(gn(e.coordinates[n],t.coordinates)){l=!0;break}return l}(i,r);case"LineString":return fn(i,r,{ignoreEndVertices:!0});case"Polygon":return Mt(i,r,{ignoreBoundary:!0});default:throw new Error("feature2 "+l+" geometry not supported")}case"MultiPoint":switch(l){case"MultiPoint":return function(t,e){for(var n=0;n<t.coordinates.length;n++){for(var l=!1,i=0;i<e.coordinates.length;i++)gn(t.coordinates[n],e.coordinates[i])&&(l=!0);if(!l)return!1}return!0}(i,r);case"LineString":return function(t,e){for(var n=!1,l=0;l<t.coordinates.length;l++){if(!fn(t.coordinates[l],e))return!1;n||(n=fn(t.coordinates[l],e,{ignoreEndVertices:!0}))}return n}(i,r);case"Polygon":return function(t,e){for(var n=!0,l=0;l<t.coordinates.length;l++){var i=Mt(t.coordinates[1],e);if(!i){n=!1;break}i=Mt(t.coordinates[1],e,{ignoreBoundary:!0})}return n&&i}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"LineString":return function(t,e){for(var n=0;n<t.coordinates.length;n++)if(!fn(t.coordinates[n],e))return!1;return!0}(i,r);case"Polygon":return function(t,e){if(!mn(z(e),z(t)))return!1;for(var n=!1,l=0;l<t.coordinates.length-1;l++){if(!Mt(t.coordinates[l],e))return!1;n||(n=Mt(t.coordinates[l],e,{ignoreBoundary:!0})),n||(n=Mt(function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(t.coordinates[l],t.coordinates[l+1]),e,{ignoreBoundary:!0}))}return n}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"Polygon":return function(t,e){var n=z(t);if(!mn(z(e),n))return!1;for(var l=0;l<t.coordinates[0].length;l++)if(!Mt(t.coordinates[0][l],e))return!1;return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}}function mn(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function gn(t,e){return t[0]===e[0]&&t[1]===e[1]}function _n(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i=n.mask,r=n.properties,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=t[0],s=t[1],c=t[2],d=t[3],h=e/jt([a,s],[c,s],n)*(c-a),p=e/jt([a,s],[a,d],n)*(d-s),f=c-a,b=d-s,m=Math.floor(f/h),g=(b-Math.floor(b/p)*p)/2,_=a+(f-m*h)/2;_<=c;){for(var y=s+g;y<=d;){var A=l([_,y],r);i?bn(A,i)&&o.push(A):o.push(A),y+=p}_+=h}return u(o)}function yn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.precision,l=e.coordinates,i=e.mutate;if(n=null==n||isNaN(n)?6:n,l=null==l||isNaN(l)?3:l,!t)throw new Error("<geojson> is required");if("number"!=typeof n)throw new Error("<precision> must be a number");if("number"!=typeof l)throw new Error("<coordinates> must be a number");!1!==i&&void 0!==i||(t=JSON.parse(JSON.stringify(t)));var r=Math.pow(10,n);return k(t,(function(t){!function(t,e,n){t.length>n&&t.splice(n,t.length);for(var l=0;l<t.length;l++)t[l]=Math.round(t[l]*e)/e}(t,r,l)})),t}function An(t,e){if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var n=0,l=t.length;n<l;n++)if(t[n]instanceof Array&&e[n]instanceof Array){if(!An(t[n],e[n]))return!1}else if(t[n]!==e[n])return!1;return!0}function vn(t,e){if(void 0===e&&(e=!0),3!=t.length)throw new Error("This function requires an array of three points [x,y]");return(t[1][0]-t[0][0])*(t[2][1]-t[0][1])-(t[1][1]-t[0][1])*(t[2][0]-t[0][0])>=0==e}function Cn(t,e){if(!t||!e)return!1;if(t.length!=e.length)return!1;for(var n=0,l=t.length;n<l;n++)if(t[n]instanceof Array&&e[n]instanceof Array){if(!Cn(t[n],e[n]))return!1}else if(t[n]!=e[n])return!1;return!0}function wn(t,e){var n=[],l=ze();return R(e,(function(e){if(n.forEach((function(t,e){t.id=e})),n.length){var i=l.search(e);if(i.features.length){var r=xn(e,i);n=n.filter((function(t){return t.id!==r.id})),l.remove(r),T(Pn(r,e),(function(t){n.push(t),l.insert(t)}))}}else(n=Pn(t,e).features).forEach((function(t){t.bbox||(t.bbox=ie(z(t)))})),l.load(u(n))})),u(n)}function Pn(t,e){var n=[],l=H(t)[0],i=H(t)[t.geometry.coordinates.length-1];if(Sn(l,G(e))||Sn(i,G(e)))return u([t]);var r=ze(),o=Ve(t);r.load(o);var s=r.search(e);if(!s.features.length)return u([t]);var c=xn(e,s),d=E(o,(function(t,l,i){var r=H(l)[1],o=G(e);return i===c.id?(t.push(o),n.push(a(t)),Sn(o,r)?[o]:[o,r]):(t.push(r),t)}),[l]);return d.length>1&&n.push(a(d)),u(n)}function xn(t,e){if(!e.features.length)throw new Error("lines must contain features");if(1===e.features.length)return e.features[0];var n,l=1/0;return T(e,(function(e){var i=$e(e,t).properties.dist;i<l&&(n=e,l=i)})),n}function Sn(t,e){return t[0]===e[0]&&t[1]===e[1]}function kn(t,e,n,l,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.steps,o=i.units;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if(null==n)throw new Error("bearing1 is required");if(null==l)throw new Error("bearing2 is required");if("object"!=typeof i)throw new Error("options must be an object");r=r||64;var s=Mn(n),u=Mn(l),c=t.properties;if(s===u)return a(oe(t,e,i).geometry.coordinates[0],c);for(var d=s,h=s<u?u:u+360,p=d,f=[],b=0;p<h;)f.push(re(t,e,p,o).geometry.coordinates),p=d+360*++b/r;return p>h&&f.push(re(t,e,h,o).geometry.coordinates),a(f,c)}function Mn(t){var e=t%360;return e<0&&(e+=360),e}function On(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,l=J(t),i=H(t);if(n=n||t.properties||{},!i.length)throw new Error("polygon must contain coordinates");switch(l){case"Polygon":return Dn(i,n);case"MultiPolygon":var r=[];return i.forEach((function(t){r.push(Dn(t,n))})),u(r);default:throw new Error("geom "+l+" not supported")}}function Dn(t,e){return t.length>1?c(t,e):a(t[0],e)}function Tn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,l=e.autoComplete,i=e.orderCoords;if(!t)throw new Error("lines is required");switch(l=void 0===l||l,i=void 0===i||i,J(t)){case"FeatureCollection":case"GeometryCollection":var r=[];return(t.features?t.features:t.geometries).forEach((function(t){r.push(H(En(t,{},l,i)))})),h(r,n)}return En(t,n,l,i)}function En(t,e,n,l){e=e||t.properties||{};var i=H(t),o=J(t);if(!i.length)throw new Error("line must contain coordinates");switch(o){case"LineString":return n&&(i=In(i)),r([i],e);case"MultiLineString":var s=[],u=0;return i.forEach((function(t){if(n&&(t=In(t)),l){var e=function(t){var e=t[1],n=t[3];return Math.abs(t[0]-t[2])*Math.abs(e-n)}(z(a(t)));e>u?(s.unshift(t),u=e):s.push(t)}else s.push(t)})),r(s,e);default:throw new Error("geometry type "+o+" is not supported")}}function In(t){var e=t[0],n=t[t.length-1];return e[0]===n[0]&&e[1]===n[1]||t.push(e),t}function Ln(t,e,n){var l,i,r,o,a,s=t.length,u=Rn(t[0],e),c=[];for(n||(n=[]),l=1;l<s;l++){for(i=t[l-1],o=a=Rn(r=t[l],e);;){if(!(u|o)){c.push(i),o!==a?(c.push(r),l<s-1&&(n.push(c),c=[])):l===s-1&&c.push(r);break}if(u&o)break;u?u=Rn(i=jn(i,r,u,e),e):o=Rn(r=jn(i,r,o,e),e)}u=a}return c.length&&n.push(c),n}function jn(t,e,n,l){return 8&n?[t[0]+(e[0]-t[0])*(l[3]-t[1])/(e[1]-t[1]),l[3]]:4&n?[t[0]+(e[0]-t[0])*(l[1]-t[1])/(e[1]-t[1]),l[1]]:2&n?[l[2],t[1]+(e[1]-t[1])*(l[2]-t[0])/(e[0]-t[0])]:1&n?[l[0],t[1]+(e[1]-t[1])*(l[0]-t[0])/(e[0]-t[0])]:null}function Rn(t,e){var n=0;return t[0]<e[0]?n|=1:t[0]>e[2]&&(n|=2),t[1]<e[1]?n|=4:t[1]>e[3]&&(n|=8),n}function Fn(t,e){for(var n=[],l=0;l<t.length;l++){var i=bo.polygon(t[l],e);i.length>0&&(i[0][0]===i[i.length-1][0]&&i[0][1]===i[i.length-1][1]||i.push(i[0]),i.length>=4&&n.push(i))}return n}function Nn(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function Yn(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?t===e:function(t,e,n){var l,i;if(Un(t)||Un(e))return!1;if(t.prototype!==e.prototype)return!1;if(Nn(t))return!!Nn(e)&&Yn(t=mo.call(t),e=mo.call(e),n);if(Bn(t)){if(!Bn(e))return!1;if(t.length!==e.length)return!1;for(l=0;l<t.length;l++)if(t[l]!==e[l])return!1;return!0}try{var r=Object.keys(t),o=Object.keys(e)}catch(t){return!1}if(r.length!==o.length)return!1;for(r.sort(),o.sort(),l=r.length-1;l>=0;l--)if(r[l]!==o[l])return!1;for(l=r.length-1;l>=0;l--)if(!Yn(t[i=r[l]],e[i],n))return!1;return typeof t==typeof e}(t,e,n))}function Un(t){return null==t}function Bn(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}function zn(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l,i=n.tolerance||0,r=[],o=ze();return o.load(Ve(t)),N(e,(function(t){var e=!1;T(o.search(t),(function(n){if(!1===e){var r=H(t).sort(),o=H(n).sort();Yn(r,o)||(0===i?fn(r[0],n)&&fn(r[1],n):$e(n,r[0]).properties.dist<=i&&$e(n,r[1]).properties.dist<=i)?(e=!0,l=l?Gn(l,t):t):(0===i?fn(o[0],t)&&fn(o[1],t):$e(t,o[0]).properties.dist<=i&&$e(t,o[1]).properties.dist<=i)&&(l=l?Gn(l,n):n)}})),!1===e&&l&&(r.push(l),l=void 0)})),l&&r.push(l),u(r)}function Gn(t,e){var n=H(e),l=H(t),i=l[0],r=l[l.length-1],o=t.geometry.coordinates;return Yn(n[0],i)?o.unshift(n[1]):Yn(n[0],r)?o.push(n[1]):Yn(n[1],i)?o.unshift(n[0]):Yn(n[1],r)&&o.push(n[0]),t}function Hn(t){var e=t%360;return e<0&&(e+=360),e}function Vn(t,e,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.units,o=i.properties;if(!t)throw new Error("origin is required");if(null==e)throw new Error("distance is required");if(null==n)throw new Error("bearing is required");if(!(e>=0))throw new Error("distance must be greater than 0");var a=v(e,r,"meters"),s=G(t),u=function(t,e,n,l){var i=e/(l=void 0===l?Ar:Number(l)),r=t[0]*Math.PI/180,o=A(t[1]),a=A(n),s=i*Math.cos(a),u=o+s;Math.abs(u)>Math.PI/2&&(u=u>0?Math.PI-u:-Math.PI-u);var c=Math.log(Math.tan(u/2+Math.PI/4)/Math.tan(o/2+Math.PI/4)),d=Math.abs(c)>1e-11?s/c:Math.cos(o);return[(180*(r+i*Math.sin(a)/d)/Math.PI+540)%360-180,180*u/Math.PI]}(s,a,n);return u[0]+=u[0]-s[0]>180?-360:s[0]-u[0]>180?360:0,l(u,o)}function qn(t,e,n,l,i,r){for(var o=0;o<t.length;o++){var a=t[o],s=t[o+1];o===t.length-1&&(s=t[0]),l=Wn(a,s,e),n<=0&&l>0?function(t,e,n){return Wn(t,e,n)<0}(e,a,i)||(i=a):n>0&&l<=0&&(function(t,e,n){return Wn(t,e,n)>0}(e,a,r)||(r=a)),n=l}return[i,r]}function Wn(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(n[0]-t[0])*(e[1]-t[1])}function $n(t){if(!t)throw new Error("line is required");var e=t.geometry?t.geometry.type:t.type;if(!Array.isArray(t)&&"LineString"!==e)throw new Error("geometry must be a LineString");for(var n,l,i=H(t),r=0,o=1;o<i.length;)n=l||i[0],r+=((l=i[o])[0]-n[0])*(l[1]+n[1]),o++;return r>0}function Xn(t,e){switch("Feature"===t.type?t.geometry.type:t.type){case"GeometryCollection":return L(t,(function(t){Xn(t,e)})),t;case"LineString":return Kn(H(t),e),t;case"Polygon":return Jn(H(t),e),t;case"MultiLineString":return H(t).forEach((function(t){Kn(t,e)})),t;case"MultiPolygon":return H(t).forEach((function(t){Jn(t,e)})),t;case"Point":case"MultiPoint":return t}}function Kn(t,e){$n(t)===e&&t.reverse()}function Jn(t,e){$n(t[0])!==e&&t[0].reverse();for(var n=1;n<t.length;n++)$n(t[n])===e&&t[n].reverse()}function Qn(t,e,n,l){l=l||{};for(var i=Object.keys(go),r=0;r<i.length;r++){var o=i[r],a=l[o];_o[o]=a=null!=a?a:go[o]}_o.verbose&&console.log("MarchingSquaresJS-isoBands: computing isobands for ["+e+":"+(e+n)+"]");var s,u=function(t,e,n){for(var l=t.length-1,i=t[0].length-1,r={rows:l,cols:i,cells:[]},o=e+Math.abs(n),a=0;a<l;++a){r.cells[a]=[];for(var s=0;s<i;++s){var u=0,c=t[a+1][s],d=t[a+1][s+1],h=t[a][s+1],p=t[a][s];if(!(isNaN(c)||isNaN(d)||isNaN(h)||isNaN(p))){u|=c<e?0:c>o?128:64,u|=d<e?0:d>o?32:16,u|=h<e?0:h>o?8:4;var f=+(u|=p<e?0:p>o?2:1),b=0;if(17===u||18===u||33===u||34===u||38===u||68===u||72===u||98===u||102===u||132===u||136===u||137===u||152===u||153===u){var m=(c+d+h+p)/4;b=m>o?2:m<e?0:1,34===u?1===b?u=35:0===b&&(u=136):136===u?1===b?(u=35,b=4):0===b&&(u=34):17===u?1===b?(u=155,b=4):0===b&&(u=153):68===u?1===b?(u=103,b=4):0===b&&(u=102):153===u?1===b&&(u=155):102===u?1===b&&(u=103):152===u?b<2&&(u=156,b=1):137===u?b<2&&(u=139,b=1):98===u?b<2&&(u=99,b=1):38===u?b<2&&(u=39,b=1):18===u?b>0?(u=156,b=4):u=152:33===u?b>0?(u=139,b=4):u=137:72===u?b>0?(u=99,b=4):u=98:132===u&&(b>0?(u=39,b=4):u=38)}if(0!=u&&170!=u){var g,_,y,A,v,C,w,P;g=_=y=A=v=C=w=P=.5;var x=[];1===u?(y=1-Zn(e,h,p),P=1-Zn(e,c,p),x.push(ia[u])):169===u?(y=Zn(o,p,h),P=Zn(o,p,c),x.push(ia[u])):4===u?(C=1-Zn(e,d,h),A=Zn(e,p,h),x.push(na[u])):166===u?(C=Zn(o,h,d),A=1-Zn(o,h,p),x.push(na[u])):16===u?(v=Zn(e,h,d),_=Zn(e,c,d),x.push(ea[u])):154===u?(v=1-Zn(o,d,h),_=1-Zn(o,d,c),x.push(ea[u])):64===u?(w=Zn(e,p,c),g=1-Zn(e,d,c),x.push(oa[u])):106===u?(w=1-Zn(o,c,p),g=Zn(o,c,d),x.push(oa[u])):168===u?(A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),x.push(la[u]),x.push(ia[u])):2===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(la[u]),x.push(ia[u])):162===u?(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),x.push(la[u]),x.push(ia[u])):8===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),x.push(ea[u]),x.push(na[u])):138===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):32===u?(v=Zn(o,h,d),C=Zn(e,h,d),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):42===u?(P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ra[u]),x.push(oa[u])):128===u&&(P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ra[u]),x.push(oa[u])),5===u?(C=1-Zn(e,d,h),P=1-Zn(e,c,p),x.push(na[u])):165===u?(C=Zn(o,h,d),P=Zn(o,p,c),x.push(na[u])):20===u?(A=Zn(e,p,h),_=Zn(e,c,d),x.push(la[u])):150===u?(A=1-Zn(o,h,p),_=1-Zn(o,d,c),x.push(la[u])):80===u?(v=Zn(e,h,d),w=Zn(e,p,c),x.push(ea[u])):90===u?(v=1-Zn(o,d,h),w=1-Zn(o,c,p),x.push(ea[u])):65===u?(y=1-Zn(e,h,p),g=1-Zn(e,d,c),x.push(ia[u])):105===u?(y=Zn(o,p,h),g=Zn(o,c,d),x.push(ia[u])):160===u?(v=Zn(o,h,d),C=Zn(e,h,d),P=Zn(e,p,c),w=Zn(o,p,c),x.push(ea[u]),x.push(na[u])):10===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(ea[u]),x.push(na[u])):130===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(la[u]),x.push(ia[u])):40===u?(A=Zn(o,p,h),y=Zn(e,p,h),g=Zn(e,c,d),_=Zn(o,c,d),x.push(la[u]),x.push(ia[u])):101===u?(C=Zn(o,h,d),g=Zn(o,c,d),x.push(na[u])):69===u?(C=1-Zn(e,d,h),g=1-Zn(e,d,c),x.push(na[u])):149===u?(P=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ra[u])):21===u?(P=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ra[u])):86===u?(A=1-Zn(o,h,p),w=1-Zn(o,c,p),x.push(la[u])):84===u?(A=Zn(e,p,h),w=Zn(e,p,c),x.push(la[u])):89===u?(v=1-Zn(o,d,h),y=Zn(o,p,h),x.push(ia[u])):81===u?(v=Zn(e,h,d),y=1-Zn(e,h,p),x.push(ia[u])):96===u?(v=Zn(o,h,d),C=Zn(e,h,d),w=Zn(e,p,c),g=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):74===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):24===u?(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),_=Zn(e,c,d),x.push(ea[u]),x.push(ia[u])):146===u?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),_=1-Zn(o,d,c),x.push(ea[u]),x.push(ia[u])):6===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(na[u]),x.push(la[u])):164===u?(C=Zn(o,h,d),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),x.push(na[u]),x.push(la[u])):129===u?(y=1-Zn(e,h,p),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ia[u]),x.push(ra[u])):41===u?(y=Zn(o,p,h),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ia[u]),x.push(ra[u])):66===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(la[u]),x.push(ia[u])):104===u?(A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=Zn(o,c,d),x.push(ia[u]),x.push(aa[u])):144===u?(v=Zn(e,h,d),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ea[u]),x.push(oa[u])):26===u?(v=1-Zn(o,d,h),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ea[u]),x.push(oa[u])):36===u?(C=Zn(o,h,d),A=Zn(e,p,h),g=Zn(e,c,d),_=Zn(o,c,d),x.push(na[u]),x.push(la[u])):134===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(na[u]),x.push(la[u])):9===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=1-Zn(e,c,p),x.push(ea[u]),x.push(na[u])):161===u?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=Zn(o,p,c),x.push(ea[u]),x.push(na[u])):37===u?(C=Zn(o,h,d),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(na[u]),x.push(ra[u])):133===u?(C=1-Zn(e,d,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(na[u]),x.push(ra[u])):148===u?(A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c),x.push(la[u]),x.push(oa[u])):22===u?(A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d),x.push(la[u]),x.push(oa[u])):82===u?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),x.push(ea[u]),x.push(ia[u])):88===u?(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),x.push(ea[u]),x.push(ia[u])):73===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),g=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):97===u?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),g=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):145===u?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ea[u]),x.push(ra[u])):25===u?(v=1-Zn(o,d,h),y=Zn(o,p,h),P=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ea[u]),x.push(ra[u])):70===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(na[u]),x.push(la[u])):100===u?(C=Zn(o,h,d),A=Zn(e,p,h),w=Zn(e,p,c),g=Zn(o,c,d),x.push(na[u]),x.push(la[u])):34===u?(0===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):35===u?(4===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ia[u]),x.push(oa[u])):136===u?(0===b?(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):153===u?(0===b?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ia[u])):102===u?(0===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(na[u]),x.push(oa[u])):155===u?(4===b?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ra[u])):103===u?(4===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(na[u]),x.push(la[u])):152===u?(0===b?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(la[u]),x.push(ia[u])):156===u?(4===b?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ia[u]),x.push(oa[u])):137===u?(0===b?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ia[u])):139===u?(4===b?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ra[u])):98===u?(0===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(oa[u])):99===u?(4===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ia[u])):38===u?(0===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):39===u?(4===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(na[u]),x.push(la[u]),x.push(oa[u])):85===u&&(v=1,C=0,A=1,y=0,P=0,w=1,g=0,_=1),(g<0||g>1||_<0||_>1||v<0||v>1||A<0||A>1||P<0||P>1||w<0||w>1)&&console.log("MarchingSquaresJS-isoBands: "+u+" "+f+" "+c+","+d+","+h+","+p+" "+b+" "+g+" "+_+" "+v+" "+C+" "+A+" "+y+" "+P+" "+w),r.cells[a][s]={cval:u,cval_real:f,flipped:b,topleft:g,topright:_,righttop:v,rightbottom:C,bottomright:A,bottomleft:y,leftbottom:P,lefttop:w,edges:x}}}}}return r}(t,e,n);return _o.polygons?(_o.verbose&&console.log("MarchingSquaresJS-isoBands: returning single polygons for each grid cell"),s=function(t){var e=[],n=0;return t.cells.forEach((function(t,l){t.forEach((function(t,i){if(void 0!==t){var r=ua[t.cval](t);"object"==typeof r&&tl(r)?"object"==typeof r[0]&&tl(r[0])?"object"==typeof r[0][0]&&tl(r[0][0])?r.forEach((function(t){t.forEach((function(t){t[0]+=i,t[1]+=l})),e[n++]=t})):(r.forEach((function(t){t[0]+=i,t[1]+=l})),e[n++]=r):console.log("MarchingSquaresJS-isoBands: bandcell polygon with malformed coordinates"):console.log("MarchingSquaresJS-isoBands: bandcell polygon with null coordinates")}}))})),e}(u)):(_o.verbose&&console.log("MarchingSquaresJS-isoBands: returning polygon paths for entire data grid"),s=function(t){for(var e=[],n=t.rows,l=t.cols,i=[],r=0;r<n;r++)for(var o=0;o<l;o++)if(void 0!==t.cells[r][o]&&t.cells[r][o].edges.length>0){var a=function(t){if(t.edges.length>0){var e=t.cval_real;switch(t.edges[t.edges.length-1]){case 0:return e&Ao?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 1:return e&vo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 2:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 3:return e&Co?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 4:return e&Ao?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 5:return e&vo?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 6:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 7:return e&Co?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 8:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.righttop],x:-1,y:0,o:1};case 9:return e&Co?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 10:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.righttop],x:-1,y:0,o:1};case 11:return e&yo?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 12:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 13:return e&Co?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 14:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 15:return e&yo?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 16:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 17:return e&yo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 18:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 19:return e&yo?{p:[t.bottomleft,0],x:0,y:1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 20:return e&yo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 21:return e&Ao?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.topright,1],x:0,y:-1,o:1};case 22:return e&yo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 23:return e&Ao?{p:[0,t.lefttop],x:1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};default:console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t)}}return null}(t.cells[r][o]),s=null,u=o,c=r;null!==a&&i.push([a.p[0]+u,a.p[1]+c]);do{if(null===(s=function(t,e,n,l){var i,r,o,a,s,u=t.cval;switch(e){case-1:switch(l){case 0:i=na[u],o=Eo[u],a=Io[u],s=Lo[u];break;default:i=ea[u],o=Oo[u],a=Do[u],s=To[u]}break;case 1:switch(l){case 0:i=ra[u],o=Ho[u],a=Vo[u],s=qo[u];break;default:i=oa[u],o=Bo[u],a=zo[u],s=Go[u]}break;default:switch(n){case-1:switch(l){case 0:i=aa[u],o=wo[u],a=Po[u],s=xo[u];break;default:i=sa[u],o=So[u],a=ko[u],s=Mo[u]}break;case 1:switch(l){case 0:i=ia[u],o=jo[u],a=Ro[u],s=Fo[u];break;default:i=la[u],o=No[u],a=Yo[u],s=Uo[u]}}}if(r=t.edges.indexOf(i),void 0===t.edges[r])return null;switch(function(t,e){delete t.edges[e];for(var n=e+1;n<t.edges.length;n++)t.edges[n-1]=t.edges[n];t.edges.pop()}(t,r),u=t.cval_real,i){case 0:u&Ao?(e=t.topleft,n=1):(e=1,n=t.righttop);break;case 1:u&vo?(e=1,n=t.rightbottom):(e=t.topleft,n=1);break;case 2:u&vo?(e=t.topleft,n=1):(e=t.bottomright,n=0);break;case 3:u&Co?(e=t.bottomleft,n=0):(e=t.topleft,n=1);break;case 4:u&Ao?(e=t.topright,n=1):(e=1,n=t.righttop);break;case 5:u&vo?(e=1,n=t.rightbottom):(e=t.topright,n=1);break;case 6:u&vo?(e=t.topright,n=1):(e=t.bottomright,n=0);break;case 7:u&Co?(e=t.bottomleft,n=0):(e=t.topright,n=1);break;case 8:u&vo?(e=1,n=t.righttop):(e=t.bottomright,n=0);break;case 9:u&Co?(e=t.bottomleft,n=0):(e=1,n=t.righttop);break;case 10:u&Co?(e=1,n=t.righttop):(e=0,n=t.leftbottom);break;case 11:u&yo?(e=0,n=t.lefttop):(e=1,n=t.righttop);break;case 12:u&vo?(e=1,n=t.rightbottom):(e=t.bottomright,n=0);break;case 13:u&Co?(e=t.bottomleft,n=0):(e=1,n=t.rightbottom);break;case 14:u&Co?(e=1,n=t.rightbottom):(e=0,n=t.leftbottom);break;case 15:u&yo?(e=0,n=t.lefttop):(e=1,n=t.rightbottom);break;case 16:u&vo?(e=0,n=t.leftbottom):(e=t.bottomright,n=0);break;case 17:u&yo?(e=0,n=t.lefttop):(e=t.bottomright,n=0);break;case 18:u&Co?(e=t.bottomleft,n=0):(e=0,n=t.leftbottom);break;case 19:u&yo?(e=0,n=t.lefttop):(e=t.bottomleft,n=0);break;case 20:u&yo?(e=0,n=t.leftbottom):(e=t.topleft,n=1);break;case 21:u&Ao?(e=t.topright,n=1):(e=0,n=t.leftbottom);break;case 22:u&yo?(e=0,n=t.lefttop):(e=t.topleft,n=1);break;case 23:u&Ao?(e=t.topright,n=1):(e=0,n=t.lefttop);break;default:return console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t),null}return void 0!==e&&void 0!==n&&void 0!==o&&void 0!==a&&void 0!==s||(console.log("MarchingSquaresJS-isoBands: undefined value!"),console.log(t),console.log(e+" "+n+" "+o+" "+a+" "+s)),{p:[e,n],x:o,y:a,o:s}}(t.cells[c][u],a.x,a.y,a.o)))break;if(i.push([s.p[0]+u,s.p[1]+c]),u+=s.x,a=s,(c+=s.y)<0||c>=n||u<0||u>=l||void 0===t.cells[c][u]){var d=function(t,e,n,l,i,r){for(var o=t.cells[n][e],a=o.cval_real,s=e+l,u=n+i,c=[],d=!1;!d;){if(void 0===t.cells[u]||void 0===t.cells[u][s])if(a=(o=t.cells[u-=i][s-=l]).cval_real,-1===i)if(0===r)if(a&Co)c.push([s,u]),l=-1,i=0,r=0;else{if(!(a&vo)){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s+1,u]),l=1,i=0,r=0}else{if(!(a&Co)){if(a&vo){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s+o.bottomleft,u]),l=0,i=1,r=0,d=!0;break}c.push([s,u]),l=-1,i=0,r=0}else if(1===i)if(0===r){if(!(a&Ao)){if(a&yo){c.push([s+o.topleft,u+1]),l=0,i=-1,r=0,d=!0;break}c.push([s+o.topright,u+1]),l=0,i=-1,r=1,d=!0;break}c.push([s+1,u+1]),l=1,i=0,r=1}else c.push([s+1,u+1]),l=1,i=0,r=1;else if(-1===l)if(0===r){if(!(a&yo)){if(a&Co){c.push([s,u+o.leftbottom]),l=1,i=0,r=0,d=!0;break}c.push([s,u+o.lefttop]),l=1,i=0,r=1,d=!0;break}c.push([s,u+1]),l=0,i=1,r=0}else{if(!(a&yo)){console.log("MarchingSquaresJS-isoBands: wtf");break}c.push([s,u+1]),l=0,i=1,r=0}else{if(1!==l){console.log("MarchingSquaresJS-isoBands: we came from nowhere!");break}if(0===r){if(!(a&vo)){c.push([s+1,u+o.rightbottom]),l=-1,i=0,r=0,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}else{if(!(a&vo)){if(a&Ao){c.push([s+1,u+o.righttop]),l=-1,i=0,r=1;break}c.push([s+1,u+o.rightbottom]),l=-1,i=0,r=0,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}}else if(a=(o=t.cells[u][s]).cval_real,-1===l)if(0===r)if(void 0!==t.cells[u-1]&&void 0!==t.cells[u-1][s])l=0,i=-1,r=1;else{if(!(a&Co)){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s,u])}else{if(!(a&yo)){console.log("MarchingSquaresJS-isoBands: found entry from top at "+s+","+u);break}console.log("MarchingSquaresJS-isoBands: proceeding in x-direction!")}else if(1===l){if(0===r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u+1]&&void 0!==t.cells[u+1][s])l=0,i=1,r=0;else{if(!(a&Ao)){c.push([s+o.topleft,u+1]),l=0,i=-1,r=0,d=!0;break}c.push([s+1,u+1]),l=1,i=0,r=1}}else if(-1===i){if(1!==r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u][s+1])l=1,i=0,r=1;else{if(!(a&vo)){c.push([s+1,u+o.righttop]),l=-1,i=0,r=1,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}}else{if(1!==i){console.log("MarchingSquaresJS-isoBands: where did we came from???");break}if(0!==r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u][s-1])l=-1,i=0,r=0;else{if(!(a&yo)){c.push([s,u+o.leftbottom]),l=1,i=0,r=0,d=!0;break}c.push([s,u+1]),l=0,i=1,r=0}}if(u+=i,(s+=l)===e&&u===n)break}return{path:c,i:s,j:u,x:l,y:i,o:r}}(t,u-=s.x,c-=s.y,s.x,s.y,s.o);if(null===d)break;d.path.forEach((function(t){i.push(t)})),u=d.i,c=d.j,a=d}}while(void 0!==t.cells[c][u]&&t.cells[c][u].edges.length>0);e.push(i),i=[],t.cells[r][o].edges.length>0&&o--}return e}(u)),"function"==typeof _o.successCallback&&_o.successCallback(s),s}function Zn(t,e,n){return(t-e)/(n-e)}function tl(t){return t.constructor.toString().indexOf("Array")>-1}function el(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.pivot,i=n.mutate;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("angle is required");return 0===e||(l||(l=ue(t)),!1!==i&&void 0!==i||(t=Rt(t)),k(t,(function(t){var n=Xe(l,t)+e,i=Je(l,t),r=H(Vn(l,i,n));t[0]=r[0],t[1]=r[1]}))),t}function nl(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.origin,i=n.mutate;if(!t)throw new Error("geojson required");if("number"!=typeof e||0===e)throw new Error("invalid factor");var r=Array.isArray(l)||"object"==typeof l;return!0!==i&&(t=Rt(t)),"FeatureCollection"!==t.type||r?ll(t,e,l):(T(t,(function(n,i){t.features[i]=ll(n,e,l)})),t)}function ll(t,e,n){var i="Point"===J(t);return n=function(t,e){if(null!=e||(e="centroid"),Array.isArray(e)||"object"==typeof e)return G(e);var n=t.bbox?t.bbox:z(t),i=n[0],r=n[1],o=n[2],a=n[3];switch(e){case"sw":case"southwest":case"westsouth":case"bottomleft":return l([i,r]);case"se":case"southeast":case"eastsouth":case"bottomright":return l([o,r]);case"nw":case"northwest":case"westnorth":case"topleft":return l([i,a]);case"ne":case"northeast":case"eastnorth":case"topright":return l([o,a]);case"center":return se(t);case void 0:case null:case"centroid":return ue(t);default:throw new Error("invalid origin")}}(t,n),1===e||i||k(t,(function(t){var l=Je(n,t),i=Xe(n,t),r=H(Vn(n,l*e,i));t[0]=r[0],t[1]=r[1],3===t.length&&(t[2]*=e)})),t}function il(t){var e=t[0],n=t[1];return[n[0]-e[0],n[1]-e[1]]}function rl(t,e){return t[0]*e[1]-e[0]*t[1]}function ol(t,e,n){var l=[],i=g(e,n),r=H(t),o=[];return r.forEach((function(t,e){if(e!==r.length-1){var n=function(t,e,n){var l=Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]));return[[t[0]+n*(e[1]-t[1])/l,t[1]+n*(t[0]-e[0])/l],[e[0]+n*(e[1]-t[1])/l,e[1]+n*(t[0]-e[0])/l]]}(t,r[e+1],i);if(l.push(n),e>0){var a=l[e-1],s=function(t,e){return!function(t,e){return 0===rl(il(t),il(e))}(t,e)&&function(t,e){var n=t[0],l=il(t),i=e[0],r=il(e),o=rl(l,r);return function(t,e){return[t[0]+e[0],t[1]+e[1]]}(n,function(t,e){return[t*e[0],t*e[1]]}(rl(function(t,e){return[t[0]-e[0],t[1]-e[1]]}(i,n),r)/o,l))}(t,e)}(n,a);!1!==s&&(a[1]=s,n[0]=s),o.push(a[0]),e===r.length-2&&(o.push(n[0]),o.push(n[1]))}2===r.length&&(o.push(n[0]),o.push(n[1]))}})),a(o,t.properties)}function al(t,e,n){return Math.sign((e[0]-t[0])*(n[1]-e[1])-(n[0]-e[0])*(e[1]-t[1]))}function sl(t,e){return e.geometry.coordinates[0].every((function(e){return Mt(l(e),t)}))}function ul(t,e){for(var n=0;n<t.coordinates.length-1;n++)if(function(t,e,n){var l=e[0]-t[0],i=e[1]-t[1];return(n[0]-t[0])*i-(n[1]-t[1])*l==0&&(Math.abs(l)>=Math.abs(i)?l>0?t[0]<=n[0]&&n[0]<=e[0]:e[0]<=n[0]&&n[0]<=t[0]:i>0?t[1]<=n[1]&&n[1]<=e[1]:e[1]<=n[1]&&n[1]<=t[1])}(t.coordinates[n],t.coordinates[n+1],e.coordinates))return!0;return!1}function cl(t,e){return qe(e,On(t)).features.length>0}function dl(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function hl(t,e){return t[0]===e[0]&&t[1]===e[1]}function pl(t,e){for(var n=!1,l=!1,i=t.coordinates.length,r=0;r<i&&!n&&!l;){for(var o=0;o<e.coordinates.length-1;o++){var a=!0;0!==o&&o!==e.coordinates.length-2||(a=!1),ml(e.coordinates[o],e.coordinates[o+1],t.coordinates[r],a)?n=!0:l=!0}r++}return n&&l}function fl(t,e){return qe(t,On(e)).features.length>0}function bl(t,e){for(var n=!1,i=!1,r=t.coordinates[0].length,o=0;o<r&&n&&i;)Mt(l(t.coordinates[0][o]),e)?n=!0:i=!0,o++;return i&&i}function ml(t,e,n,l){var i=e[0]-t[0],r=e[1]-t[1];return 0==(n[0]-t[0])*r-(n[1]-t[1])*i&&(l?Math.abs(i)>=Math.abs(r)?i>0?t[0]<=n[0]&&n[0]<=e[0]:e[0]<=n[0]&&n[0]<=t[0]:r>0?t[1]<=n[1]&&n[1]<=e[1]:e[1]<=n[1]&&n[1]<=t[1]:Math.abs(i)>=Math.abs(r)?i>0?t[0]<n[0]&&n[0]<e[0]:e[0]<n[0]&&n[0]<t[0]:r>0?t[1]<n[1]&&n[1]<e[1]:e[1]<n[1]&&n[1]<t[1])}function gl(t){return t.coordinates.map((function(e){return{type:t.type.replace("Multi",""),coordinates:e}}))}function _l(t,e){return t.hasOwnProperty("coordinates")?t.coordinates.length===e.coordinates.length:t.length===e.length}function yl(t,e){return ga(t,e,{strict:!0})}function Al(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");var n=J(t);if(n!==J(e))throw new Error("features must be of the same type");if("Point"===n)throw new Error("Point geometry not supported");if(new ya({precision:6}).compare(t,e))return!1;var l=0;switch(n){case"MultiPoint":var i=I(t),r=I(e);i.forEach((function(t){r.forEach((function(e){t[0]===e[0]&&t[1]===e[1]&&l++}))}));break;case"LineString":case"MultiLineString":N(t,(function(t){N(e,(function(e){zn(t,e).features.length&&l++}))}));break;case"Polygon":case"MultiPolygon":N(t,(function(t){N(e,(function(e){qe(t,e).features.length&&l++}))}))}return l>0}function vl(t,e,n){n=n||[];for(var l=0;l<t;l++)n[l]=e;return n}function Cl(t,e){if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error("Invalid GeoJSON object for "+e)}function wl(t){for(var e=t,n=[];e.parent;)n.unshift(e),e=e.parent;return n}function Pl(t,e){e=e||{},this.nodes=[],this.diagonal=!!e.diagonal,this.grid=[];for(var n=0;n<t.length;n++){this.grid[n]=[];for(var l=0,i=t[n];l<i.length;l++){var r=new xl(n,l,i[l]);this.grid[n][l]=r,this.nodes.push(r)}}this.init()}function xl(t,e,n){this.x=t,this.y=e,this.weight=n}function Sl(t){this.content=[],this.scoreFunction=t}function kl(t){return t[0]}function Ml(t){return t[1]}function Ol(){this._=null}function Dl(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Tl(t,e){var n=e,l=e.R,i=n.U;i?i.L===n?i.L=l:i.R=l:t._=l,l.U=i,n.U=l,n.R=l.L,n.R&&(n.R.U=n),l.L=n}function El(t,e){var n=e,l=e.L,i=n.U;i?i.L===n?i.L=l:i.R=l:t._=l,l.U=i,n.U=l,n.L=l.R,n.L&&(n.L.U=n),l.R=n}function Il(t){for(;t.L;)t=t.L;return t}function Ll(t,e,n,l){var i=[null,null],r=ja.push(i)-1;return i.left=t,i.right=e,n&&Rl(i,t,e,n),l&&Rl(i,e,t,l),Ia[t.index].halfedges.push(r),Ia[e.index].halfedges.push(r),i}function jl(t,e,n){var l=[e,n];return l.left=t,l}function Rl(t,e,n,l){t[0]||t[1]?t.left===n?t[1]=l:t[0]=l:(t[0]=l,t.left=e,t.right=n)}function Fl(t,e,n,l,i){var r,o=t[0],a=t[1],s=o[0],u=o[1],c=0,d=1,h=a[0]-s,p=a[1]-u;if(r=e-s,h||!(r>0)){if(r/=h,h<0){if(r<c)return;r<d&&(d=r)}else if(h>0){if(r>d)return;r>c&&(c=r)}if(r=l-s,h||!(r<0)){if(r/=h,h<0){if(r>d)return;r>c&&(c=r)}else if(h>0){if(r<c)return;r<d&&(d=r)}if(r=n-u,p||!(r>0)){if(r/=p,p<0){if(r<c)return;r<d&&(d=r)}else if(p>0){if(r>d)return;r>c&&(c=r)}if(r=i-u,p||!(r<0)){if(r/=p,p<0){if(r>d)return;r>c&&(c=r)}else if(p>0){if(r<c)return;r<d&&(d=r)}return!(c>0||d<1)||(c>0&&(t[0]=[s+c*h,u+c*p]),d<1&&(t[1]=[s+d*h,u+d*p]),!0)}}}}}function Nl(t,e,n,l,i){var r=t[1];if(r)return!0;var o,a,s=t[0],u=t.left,c=t.right,d=u[0],h=u[1],p=c[0],f=c[1],b=(d+p)/2;if(f===h){if(b<e||b>=l)return;if(d>p){if(s){if(s[1]>=i)return}else s=[b,n];r=[b,i]}else{if(s){if(s[1]<n)return}else s=[b,i];r=[b,n]}}else if(a=(h+f)/2-(o=(d-p)/(f-h))*b,o<-1||o>1)if(d>p){if(s){if(s[1]>=i)return}else s=[(n-a)/o,n];r=[(i-a)/o,i]}else{if(s){if(s[1]<n)return}else s=[(i-a)/o,i];r=[(n-a)/o,n]}else if(h<f){if(s){if(s[0]>=l)return}else s=[e,o*e+a];r=[l,o*l+a]}else{if(s){if(s[0]<e)return}else s=[l,o*l+a];r=[e,o*e+a]}return t[0]=s,t[1]=r,!0}function Yl(t,e){var n=t.site,l=e.left,i=e.right;return n===i&&(i=l,l=n),i?Math.atan2(i[1]-l[1],i[0]-l[0]):(n===l?(l=e[1],i=e[0]):(l=e[0],i=e[1]),Math.atan2(l[0]-i[0],i[1]-l[1]))}function Ul(t,e){return e[+(e.left!==t.site)]}function Bl(t,e){return e[+(e.left===t.site)]}function zl(t){var e=t.P,n=t.N;if(e&&n){var l=e.site,i=t.site,r=n.site;if(l!==r){var o=i[0],a=i[1],s=l[0]-o,u=l[1]-a,c=r[0]-o,d=r[1]-a,h=2*(s*d-u*c);if(!(h>=-Ya)){var p=s*s+u*u,f=c*c+d*d,b=(d*p-u*f)/h,m=(s*f-c*p)/h,g=Ra.pop()||new function(){Dl(this),this.x=this.y=this.arc=this.site=this.cy=null};g.arc=t,g.site=i,g.x=b+o,g.y=(g.cy=m+a)+Math.sqrt(b*b+m*m),t.circle=g;for(var _=null,y=La._;y;)if(g.y<y.y||g.y===y.y&&g.x<=y.x){if(!y.L){_=y.P;break}y=y.L}else{if(!y.R){_=y;break}y=y.R}La.insert(_,g),_||(Ta=g)}}}}function Gl(t){var e=t.circle;e&&(e.P||(Ta=e.N),La.remove(e),Ra.push(e),Dl(e),t.circle=null)}function Hl(t){var e=Fa.pop()||new function(){Dl(this),this.edge=this.site=this.circle=null};return e.site=t,e}function Vl(t){Gl(t),Ea.remove(t),Fa.push(t),Dl(t)}function ql(t){var e=t.circle,n=e.x,l=e.cy,i=[n,l],r=t.P,o=t.N,a=[t];Vl(t);for(var s=r;s.circle&&Math.abs(n-s.circle.x)<Na&&Math.abs(l-s.circle.cy)<Na;)r=s.P,a.unshift(s),Vl(s),s=r;a.unshift(s),Gl(s);for(var u=o;u.circle&&Math.abs(n-u.circle.x)<Na&&Math.abs(l-u.circle.cy)<Na;)o=u.N,a.push(u),Vl(u),u=o;a.push(u),Gl(u);var c,d=a.length;for(c=1;c<d;++c)Rl((u=a[c]).edge,(s=a[c-1]).site,u.site,i);(u=a[d-1]).edge=Ll((s=a[0]).site,u.site,null,i),zl(s),zl(u)}function Wl(t){for(var e,n,l,i,r=t[0],o=t[1],a=Ea._;a;)if((l=$l(a,o)-r)>Na)a=a.L;else{if(!((i=r-function(t,e){var n=t.N;if(n)return $l(n,e);var l=t.site;return l[1]===e?l[0]:1/0}(a,o))>Na)){l>-Na?(e=a.P,n=a):i>-Na?(e=a,n=a.N):e=n=a;break}if(!a.R){e=a;break}a=a.R}!function(t){Ia[t.index]={site:t,halfedges:[]}}(t);var s=Hl(t);if(Ea.insert(e,s),e||n){if(e===n)return Gl(e),n=Hl(e.site),Ea.insert(s,n),s.edge=n.edge=Ll(e.site,s.site),zl(e),void zl(n);if(n){Gl(e),Gl(n);var u=e.site,c=u[0],d=u[1],h=t[0]-c,p=t[1]-d,f=n.site,b=f[0]-c,m=f[1]-d,g=2*(h*m-p*b),_=h*h+p*p,y=b*b+m*m,A=[(m*_-p*y)/g+c,(h*y-b*_)/g+d];Rl(n.edge,u,f,A),s.edge=Ll(u,t,null,A),n.edge=Ll(t,f,null,A),zl(e),zl(n)}else s.edge=Ll(e.site,s.site)}}function $l(t,e){var n=t.site,l=n[0],i=n[1],r=i-e;if(!r)return l;var o=t.P;if(!o)return-1/0;var a=(n=o.site)[0],s=n[1],u=s-e;if(!u)return a;var c=a-l,d=1/r-1/u,h=c/u;return d?(-h+Math.sqrt(h*h-2*d*(c*c/(-2*u)-s+u/2+i-r/2)))/d+l:(l+a)/2}function Xl(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function Kl(t,e){return e[1]-t[1]||e[0]-t[0]}function Jl(t,e){var n,l,i,r=t.sort(Kl).pop();for(ja=[],Ia=new Array(t.length),Ea=new Ol,La=new Ol;;)if(i=Ta,r&&(!i||r[1]<i.y||r[1]===i.y&&r[0]<i.x))r[0]===n&&r[1]===l||(Wl(r),n=r[0],l=r[1]),r=t.pop();else{if(!i)break;ql(i.arc)}if(function(){for(var t,e,n,l,i=0,r=Ia.length;i<r;++i)if((t=Ia[i])&&(l=(e=t.halfedges).length)){var o=new Array(l),a=new Array(l);for(n=0;n<l;++n)o[n]=n,a[n]=Yl(t,ja[e[n]]);for(o.sort((function(t,e){return a[e]-a[t]})),n=0;n<l;++n)a[n]=e[o[n]];for(n=0;n<l;++n)e[n]=a[n]}}(),e){var o=+e[0][0],a=+e[0][1],s=+e[1][0],u=+e[1][1];!function(t,e,n,l){for(var i,r=ja.length;r--;)Nl(i=ja[r],t,e,n,l)&&Fl(i,t,e,n,l)&&(Math.abs(i[0][0]-i[1][0])>Na||Math.abs(i[0][1]-i[1][1])>Na)||delete ja[r]}(o,a,s,u),function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m=Ia.length,g=!0;for(i=0;i<m;++i)if(r=Ia[i]){for(o=r.site,a=(s=r.halfedges).length;a--;)ja[s[a]]||s.splice(a,1);for(a=0,u=s.length;a<u;)f=(p=Bl(r,ja[s[a]]))[0],b=p[1],d=(c=Ul(r,ja[s[++a%u]]))[0],h=c[1],(Math.abs(f-d)>Na||Math.abs(b-h)>Na)&&(s.splice(a,0,ja.push(jl(o,p,Math.abs(f-t)<Na&&l-b>Na?[t,Math.abs(d-t)<Na?h:l]:Math.abs(b-l)<Na&&n-f>Na?[Math.abs(h-l)<Na?d:n,l]:Math.abs(f-n)<Na&&b-e>Na?[n,Math.abs(d-n)<Na?h:e]:Math.abs(b-e)<Na&&f-t>Na?[Math.abs(h-e)<Na?d:t,e]:null))-1),++u);u&&(g=!1)}if(g){var _,y,A,v=1/0;for(i=0,g=null;i<m;++i)(r=Ia[i])&&(A=(_=(o=r.site)[0]-t)*_+(y=o[1]-e)*y)<v&&(v=A,g=r);if(g){var C=[t,e],w=[t,l],P=[n,l],x=[n,e];g.halfedges.push(ja.push(jl(o=g.site,C,w))-1,ja.push(jl(o,w,P))-1,ja.push(jl(o,P,x))-1,ja.push(jl(o,x,C))-1)}}for(i=0;i<m;++i)(r=Ia[i])&&(r.halfedges.length||delete Ia[i])}(o,a,s,u)}this.edges=ja,this.cells=Ia,Ea=La=ja=Ia=null}function Ql(t){return(t=t.slice()).push(t[0]),r([t])}function Zl(t,e,n,l){var i=(l=l||{}).steps||64,o=l.units||"kilometers",a=l.angle||0,s=l.pivot||t,u=l.properties||t.properties||{};if(!t)throw new Error("center is required");if(!e)throw new Error("xSemiAxis is required");if(!n)throw new Error("ySemiAxis is required");if(!P(l))throw new Error("options must be an object");if(!w(i))throw new Error("steps must be a number");if(!w(a))throw new Error("angle must be a number");var c=G(t);if("degrees"===o)var d=A(a);else e=Vn(t,e,90,{units:o}),n=Vn(t,n,0,{units:o}),e=G(e)[0]-c[0],n=G(n)[1]-c[1];for(var h=[],p=0;p<i;p+=1){var f=-360*p/i,b=e*n/Math.sqrt(Math.pow(n,2)+Math.pow(e,2)*Math.pow(ti(f),2)),m=e*n/Math.sqrt(Math.pow(e,2)+Math.pow(n,2)/Math.pow(ti(f),2));if(f<-90&&f>=-270&&(b=-b),f<-180&&f>=-360&&(m=-m),"degrees"===o){var g=b*Math.cos(d)+m*Math.sin(d),_=m*Math.cos(d)-b*Math.sin(d);b=g,m=_}h.push([b+c[0],m+c[1]])}return h.push(h[0]),"degrees"===o?r([h],u):el(r([h],u),a,{pivot:s})}function ti(t){var e=t*Math.PI/180;return Math.tan(e)}function ei(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,i=e.weight;if(!t)throw new Error("geojson is required");var r=0,o=0,a=0;return L(t,(function(t,e,n){var l=n[i];if(!w(l=null==l?1:l))throw new Error("weight value must be a number for feature index "+e);(l=Number(l))>0&&k(t,(function(t){r+=t[0]*l,o+=t[1]*l,a+=l}))})),l([r/a,o/a],n)}function ni(t,e,n,i){var r=n.properties.tolerance||.001,o=0,a=0,s=0,u=0;if(T(n,(function(e){var n=e.properties.weight,l=null==n?1:n;if(!w(l=Number(l)))throw new Error("weight value must be a number");if(l>0){u+=1;var i=l*jt(e,t);0===i&&(i=1);var r=l/i;o+=e.geometry.coordinates[0]*r,a+=e.geometry.coordinates[1]*r,s+=r}})),u<1)throw new Error("no features to measure");var c=o/s,d=a/s;return 1===u||0===i||Math.abs(c-e[0])<r&&Math.abs(d-e[1])<r?l([c,d],{medianCandidates:n.properties.medianCandidates}):(n.properties.medianCandidates.push([c,d]),ni([c,d],t,n,i-1))}function li(t,e){return{x:t[0]-e[0],y:t[1]-e[1]}}function ii(t){if(P(t)&&(t=t.bbox),t&&!Array.isArray(t))throw new Error("bbox is invalid");return t?function(t){return[Math.random()*(t[2]-t[0])+t[0],Math.random()*(t[3]-t[1])+t[1]]}(t):[360*si(),180*si()]}function ri(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox;null!=t||(t=1);for(var i=[],r=0;r<t;r++)i.push(l(ii(n)));return u(i)}function oi(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.num_vertices,i=e.max_radial_length;null!=t||(t=1),w(l)||(l=10),w(i)||(i=10);for(var o=[],a=0;a<t;a++){var s=[],c=Array.apply(null,new Array(l+1)).map(Math.random);c.forEach((function(t,e,n){n[e]=e>0?t+n[e-1]:t})),c.forEach((function(t){t=2*t*Math.PI/c[c.length-1];var e=Math.random();s.push([e*i*Math.sin(t),e*i*Math.cos(t)])})),s[s.length-1]=s[0],s=s.map(function(t){return function(e){return[e[0]+t[0],e[1]+t[1]]}}(ii(n))),o.push(r([s]))}return u(o)}function ai(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.num_vertices,i=e.max_length,r=e.max_rotation;null!=t||(t=1),(!w(l)||l<2)&&(l=10),w(i)||(i=1e-4),w(r)||(r=Math.PI/8);for(var o=[],s=0;s<t;s++){for(var c=[ii(n)],d=0;d<l-1;d++){var h=(0===d?2*Math.random()*Math.PI:Math.tan((c[d][1]-c[d-1][1])/(c[d][0]-c[d-1][0])))+(Math.random()-.5)*r*2,p=Math.random()*i;c.push([c[d][0]+p*Math.cos(h),c[d][1]+p*Math.sin(h)])}o.push(a(c))}return u(o)}function si(){return Math.random()-.5}function ui(t,e){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(null==e)throw new Error("filter is required");var n=[];return T(t,(function(t){pi(t.properties,e)&&n.push(t)})),u(n)}function ci(t,e,n){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(null==e)throw new Error("property is required");for(var l=hi(t,e),i=Object.keys(l),r=0;r<i.length;r++){for(var o=i[r],a=l[o],s=[],c=0;c<a.length;c++)s.push(t.features[a[c]]);n(u(s),o,r)}}function di(t,e,n,l){var i=l;return ci(t,e,(function(t,e,r){i=0===r&&void 0===l?t:n(i,t,e,r)})),i}function hi(t,e){var n={};return T(t,(function(t,l){var i=t.properties||{};if(i.hasOwnProperty(e)){var r=i[e];n.hasOwnProperty(r)?n[r].push(l):n[r]=[l]}})),n}function pi(t,e){if(void 0===t)return!1;var n=typeof e;if("number"===n||"string"===n)return t.hasOwnProperty(e);if(Array.isArray(e)){for(var l=0;l<e.length;l++)if(!pi(t,e[l]))return!1;return!0}return fi(t,e)}function fi(t,e){for(var n=Object.keys(e),l=0;l<n.length;l++){var i=n[l];if(t[i]!==e[i])return!1}return!0}function bi(t,e){if(!e)return{};if(!e.length)return{};for(var n={},l=0;l<e.length;l++){var i=e[l];t.hasOwnProperty(i)&&(n[i]=t[i])}return n}function mi(){}function gi(t){this.message=t||""}function _i(t){this.message=t||""}function yi(){}function Ai(t){return null===t?ou:t.color}function vi(t){return null===t?null:t.parent}function Ci(t,e){null!==t&&(t.color=e)}function wi(t){return null===t?null:t.left}function Pi(t){return null===t?null:t.right}function xi(){this.root_=null,this.size_=0}function Si(){}function ki(){this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}function Mi(){}function Oi(t){this.message=t||""}function Di(){this.array_=[]}function Ti(t){switch(t.type){case"Polygon":return sn(t)>1?t:null;case"MultiPolygon":var e=[];if(R(t,(function(t){sn(t)>1&&e.push(t.geometry.coordinates)})),e.length)return{type:"MultiPolygon",coordinates:e}}}function Ei(){this.reset()}function Ii(t,e,n){var l=t.s=e+n,i=l-e;t.t=e-(l-i)+(n-i)}function Li(t){return t>1?dp:t<-1?-dp:Math.asin(t)}function ji(){}function Ri(t,e){t&&Sp.hasOwnProperty(t.type)&&Sp[t.type](t,e)}function Fi(t,e,n){var l,i=-1,r=t.length-n;for(e.lineStart();++i<r;)e.point((l=t[i])[0],l[1],l[2]);e.lineEnd()}function Ni(t,e){var n=-1,l=t.length;for(e.polygonStart();++n<l;)Fi(t[n],e,1);e.polygonEnd()}function Yi(t){return[_p(t[1],t[0]),Li(t[2])]}function Ui(t){var e=t[0],n=t[1],l=yp(n);return[l*yp(e),l*Cp(e),Cp(n)]}function Bi(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function zi(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Gi(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Hi(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Vi(t){var e=wp(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function qi(t,e){return[t>cp?t-pp:t<-cp?t+pp:t,e]}function Wi(t,e,n){return(t%=pp)?e||n?Mp(Xi(t),Ki(e,n)):Xi(t):e||n?Ki(e,n):qi}function $i(t){return function(e,n){return[(e+=t)>cp?e-pp:e<-cp?e+pp:e,n]}}function Xi(t){var e=$i(t);return e.invert=$i(-t),e}function Ki(t,e){function n(t,e){var n=yp(e),a=yp(t)*n,s=Cp(t)*n,u=Cp(e),c=u*l+a*i;return[_p(s*r-c*o,a*l-u*i),Li(c*r+s*o)]}var l=yp(t),i=Cp(t),r=yp(e),o=Cp(e);return n.invert=function(t,e){var n=yp(e),a=yp(t)*n,s=Cp(t)*n,u=Cp(e),c=u*r-s*o;return[_p(s*r+u*o,a*l+c*i),Li(c*l-a*i)]},n}function Ji(t,e){(e=Ui(e))[0]-=t,Vi(e);var n=function(t){return t>1?0:t<-1?cp:Math.acos(t)}(-e[1]);return((-e[2]<0?-n:n)+pp-up)%pp}function Qi(t,e,n,l){this.x=t,this.z=e,this.o=n,this.e=l,this.v=!1,this.n=this.p=null}function Zi(t){if(e=t.length){for(var e,n,l=0,i=t[0];++l<e;)i.n=n=t[l],n.p=i,i=n;i.n=n=t[0],n.p=i}}function tr(t,e,n,l){function i(i,r){return t<=i&&i<=n&&e<=r&&r<=l}function r(i,r,a,u){var c=0,d=0;if(null==i||(c=o(i,a))!==(d=o(r,a))||s(i,r)<0^a>0)do{u.point(0===c||3===c?t:n,c>1?l:e)}while((c=(c+a+4)%4)!==d);else u.point(r[0],r[1])}function o(l,i){return mp(l[0]-t)<up?i>0?0:3:mp(l[0]-n)<up?i>0?2:1:mp(l[1]-e)<up?i>0?1:0:i>0?3:2}function a(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),l=o(e,1);return n!==l?n-l:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){function s(t,e){i(t,e)&&v.point(t,e)}function u(r,o){var a=i(r,o);if(d&&h.push([r,o]),y)p=r,f=o,b=a,y=!1,a&&(v.lineStart(),v.point(r,o));else if(a&&_)v.point(r,o);else{var s=[m=Math.max(Rp,Math.min(jp,m)),g=Math.max(Rp,Math.min(jp,g))],u=[r=Math.max(Rp,Math.min(jp,r)),o=Math.max(Rp,Math.min(jp,o))];Dp(s,u,t,e,n,l)?(_||(v.lineStart(),v.point(s[0],s[1])),v.point(u[0],u[1]),a||v.lineEnd(),A=!1):a&&(v.lineStart(),v.point(r,o),A=!1)}m=r,g=o,_=a}var c,d,h,p,f,b,m,g,_,y,A,v=o,C=Op(),w={point:s,lineStart:function(){w.point=u,d&&d.push(h=[]),y=!0,_=!1,m=g=NaN},lineEnd:function(){c&&(u(p,f),b&&_&&C.rejoin(),c.push(C.result())),w.point=s,_&&v.lineEnd()},polygonStart:function(){v=C,c=[],d=[],A=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=d.length;n<i;++n)for(var r,o,a=d[n],s=1,u=a.length,c=a[0],h=c[0],p=c[1];s<u;++s)r=h,o=p,h=(c=a[s])[0],p=c[1],o<=l?p>l&&(h-r)*(l-o)>(p-o)*(t-r)&&++e:p<=l&&(h-r)*(l-o)<(p-o)*(t-r)&&--e;return e}(),n=A&&e,i=(c=Lp(c)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),r(null,null,1,o),o.lineEnd()),i&&Ep(c,a,e,r,o),o.polygonEnd()),v=o,c=d=h=null}};return w}}function er(t){return t.length>1}function nr(t,e){return((t=t.x)[0]<0?t[1]-dp-up:dp-t[1])-((e=e.x)[0]<0?e[1]-dp-up:dp-e[1])}function lr(t){return function(e){var n=new ir;for(var l in t)n[l]=t[l];return n.stream=e,n}}function ir(){}function rr(t,e,n){var l=e[1][0]-e[0][0],i=e[1][1]-e[0][1],r=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),kp(n,t.stream(Gp));var o=Gp.result(),a=Math.min(l/(o[1][0]-o[0][0]),i/(o[1][1]-o[0][1])),s=+e[0][0]+(l-a*(o[1][0]+o[0][0]))/2,u=+e[0][1]+(i-a*(o[1][1]+o[0][1]))/2;return null!=r&&t.clipExtent(r),t.scale(150*a).translate([s,u])}function or(t,e){return[t,vp(Pp((dp+e)/2))]}function ar(t,e){return[vp(Pp((dp+e)/2)),-t]}function sr(t,n,l,i){var r=t.properties||{},o="Feature"===t.type?t.geometry:t;if("GeometryCollection"===o.type){var a=[];return L(t,(function(t){var e=sr(t,n,l,i);e&&a.push(e)})),u(a)}var s,c=z(t),d=c[1]>50&&c[3]>50;s=d?{type:o.type,coordinates:ur(o.coordinates,dr(o))}:Qe(o);var h,p=(new Xu).read(s),f=b(m(n,l),"meters"),g=Ud.bufferOp(p,f);if(!function t(e){return Array.isArray(e[0])?t(e[0]):isNaN(e[0])}((g=(new Ku).write(g)).coordinates))return(h=d?{type:g.type,coordinates:cr(g.coordinates,dr(o))}:Ze(g)).geometry?h:e(h,r)}function ur(t,e){return"object"!=typeof t[0]?e(t):t.map((function(t){return ur(t,e)}))}function cr(t,e){return"object"!=typeof t[0]?e.invert(t):t.map((function(t){return cr(t,e)}))}function dr(t){var e=se(t).geometry.coordinates.reverse(),n=e.map((function(t){return-t}));return Kp().center(e).rotate(n).scale(Ar)}function hr(){for(var t=new Xu,e=t.read(JSON.stringify(arguments[0].geometry)),n=1;n<arguments.length;n++)e=op.union(e,t.read(JSON.stringify(arguments[n].geometry)));return{type:"Feature",geometry:e=(new Ku).write(e),properties:arguments[0].properties}}function pr(t,n){var l=X(t),i=X(n);if($t(yn(i,{precision:4})).coordinates[0].length<4)return null;if($t(yn(l,{precision:4})).coordinates[0].length<4)return null;var r=new Xu,o=r.read(yn(l)),a=r.read(yn(i)),s=Jh.intersection(o,a);return s.isEmpty()?null:e((new Ku).write(s))}function fr(t,e){return function(t,e,n){var l,i;if(!Array.isArray(e))throw new Error("Get closest expects an array as second argument");return e.forEach((function(e,n){var r=function(t,e){return t-e}(e,t);r>=0&&(void 0===i||r<i)&&(i=r,l=n)})),l}(t,e)}function br(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties||{},i=n.triangles,o=n.mask;if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(o&&-1===["Polygon","MultiPolygon"].indexOf(J(o)))throw new Error("options.mask must be a (Multi)Polygon");var a=t[0],s=t[1],c=t[2],d=t[3],h=(s+d)/2,p=(a+c)/2,f=2*e/jt([a,h],[c,h],n)*(c-a),b=2*e/jt([p,s],[p,d],n)*(d-s),m=f/2,g=2*m,_=Math.sqrt(3)/2*b,y=c-a,A=d-s,v=.75*g,C=_,x=Math.floor((y-g)/(g-m/2)),S=(x*v-m/2-y)/2-m/2+v/2,k=Math.floor((A-_)/_),M=(A-k*_)/2,O=k*_-A>_/2;O&&(M-=_/4);for(var D=[],T=[],E=0;E<6;E++){var I=2*Math.PI/6*E;D.push(Math.cos(I)),T.push(Math.sin(I))}for(var L=[],j=0;j<=x;j++)for(var R=0;R<=k;R++){var F=j%2==1;if(!(0===R&&F||0===R&&O)){var N=j*v+a-S,Y=R*C+s+M;if(F&&(Y-=_/2),!0===i)(function(t,e,n,l,i,o){for(var a=[],s=0;s<6;s++){var u=[];u.push(t),u.push([t[0]+e*i[s],t[1]+n*o[s]]),u.push([t[0]+e*i[(s+1)%6],t[1]+n*o[(s+1)%6]]),u.push(t),a.push(r([u],l))}return a})([N,Y],f/2,b/2,l,D,T).forEach((function(t){o?pr(o,t)&&L.push(t):L.push(t)}));else{var U=function(t,e,n,l,i,o){for(var a=[],s=0;s<6;s++)a.push([t[0]+e*i[s],t[1]+n*o[s]]);return a.push(a[0].slice()),r([a],l)}([N,Y],f/2,b/2,l,D,T);o?pr(o,U)&&L.push(U):L.push(U)}}}return u(L)}function mr(t){if(t.features.length<=1)return t;var e=function(t){var e=Dr(),n=[];return R(t,(function(t,e){var l=z(t);n.push({minX:l[0],minY:l[1],maxX:l[2],maxY:l[3],geojson:t,index:e})})),e.load(n),e}(t),n=[],l={};return R(t,(function(t,i){if(l[i])return!0;for(e.remove({index:i},gr),l[i]=!0;;){var r=z(t),o=e.search({minX:r[0],minY:r[1],maxX:r[2],maxY:r[3]});if(o.length>0){var a=o.map((function(t){return l[t.index]=!0,e.remove({index:t.index},gr),t.geojson}));a.push(t),t=hr.apply(this,a)}if(0===o.length)break}n.push(t)})),u(n)}function gr(t,e){return t.index===e.index}function _r(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.mask,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=t[0],s=t[1],c=t[2],d=t[3],h=e/jt([a,s],[c,s],n)*(c-a),p=e/jt([a,s],[a,d],n)*(d-s),f=c-a,b=d-s,m=Math.floor(f/h),g=Math.floor(b/p),_=(b-g*p)/2,y=a+(f-m*h)/2,A=0;A<m;A++){for(var v=s+_,C=0;C<g;C++){var x=r([[[y,v],[y,v+p],[y+h,v+p],[y+h,v],[y,v]]],l);i?pr(i,x)&&o.push(x):o.push(x),v+=p}y+=h}return u(o)}function yr(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.mask,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=e/jt([t[0],t[1]],[t[2],t[1]],n)*(t[2]-t[0]),s=e/jt([t[0],t[1]],[t[0],t[3]],n)*(t[3]-t[1]),c=0,d=t[0];d<=t[2];){for(var h=0,p=t[1];p<=t[3];){var f=null,b=null;c%2==0&&h%2==0?(f=r([[[d,p],[d,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p+s],[d+a,p+s],[d+a,p],[d,p+s]]],l)):c%2==0&&h%2==1?(f=r([[[d,p],[d+a,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p],[d,p+s],[d+a,p+s],[d,p]]],l)):h%2==0&&c%2==1?(f=r([[[d,p],[d,p+s],[d+a,p+s],[d,p]]],l),b=r([[[d,p],[d+a,p+s],[d+a,p],[d,p]]],l)):h%2==1&&c%2==1&&(f=r([[[d,p],[d,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p+s],[d+a,p+s],[d+a,p],[d,p+s]]],l)),i?(pr(i,f)&&o.push(f),pr(i,b)&&o.push(b)):(o.push(f),o.push(b)),p+=s,h++}c++,d+=a}return u(o)}var Ar=6371008.8,vr={meters:Ar,metres:Ar,millimeters:1e3*Ar,millimetres:1e3*Ar,centimeters:100*Ar,centimetres:100*Ar,kilometers:Ar/1e3,kilometres:Ar/1e3,miles:Ar/1609.344,nauticalmiles:Ar/1852,inches:39.37*Ar,yards:Ar/1.0936,feet:3.28084*Ar,radians:1,degrees:Ar/111325},Cr={meters:1,metres:1,millimeters:1e3,millimetres:1e3,centimeters:100,centimetres:100,kilometers:.001,kilometres:.001,miles:1/1609.344,nauticalmiles:1/1852,inches:39.37,yards:1/1.0936,feet:3.28084,radians:1/Ar,degrees:1/111325},wr={meters:1,metres:1,millimeters:1e6,millimetres:1e6,centimeters:1e4,centimetres:1e4,kilometers:1e-6,kilometres:1e-6,acres:247105e-9,miles:386e-9,yards:1.195990046,feet:10.763910417,inches:1550.003100006},Pr=Object.freeze({earthRadius:Ar,factors:vr,unitsFactors:Cr,areaFactors:wr,feature:e,geometry:n,point:l,points:i,polygon:r,polygons:o,lineString:a,lineStrings:s,featureCollection:u,multiLineString:c,multiPoint:d,multiPolygon:h,geometryCollection:p,round:f,radiansToLength:b,lengthToRadians:m,lengthToDegrees:g,bearingToAzimuth:_,radiansToDegrees:y,degreesToRadians:A,convertLength:v,convertArea:C,isNumber:w,isObject:P,validateBBox:x,validateId:S,radians2degrees:function(){throw new Error("method has been renamed to `radiansToDegrees`")},degrees2radians:function(){throw new Error("method has been renamed to `degreesToRadians`")},distanceToDegrees:function(){throw new Error("method has been renamed to `lengthToDegrees`")},distanceToRadians:function(){throw new Error("method has been renamed to `lengthToRadians`")},radiansToDistance:function(){throw new Error("method has been renamed to `radiansToLength`")},bearingToAngle:function(){throw new Error("method has been renamed to `bearingToAzimuth`")},convertDistance:function(){throw new Error("method has been renamed to `convertLength`")}}),xr=Object.freeze({coordEach:k,coordReduce:M,propEach:O,propReduce:D,featureEach:T,featureReduce:E,coordAll:I,geomEach:L,geomReduce:j,flattenEach:R,flattenReduce:F,segmentEach:N,segmentReduce:Y,lineEach:U,lineReduce:B}),Sr=Object.freeze({getCoord:G,getCoords:H,containsNumber:V,geojsonType:q,featureOf:W,collectionOf:$,getGeom:X,getGeomType:K,getType:J}),kr={successCallback:null,verbose:!1},Mr={},Or=function t(e,n,l,i,r){for(l=l||0,i=i||e.length-1,r=r||function(t,e){return t<e?-1:t>e?1:0};i>l;){if(i-l>600){var o=i-l+1,a=n-l+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);t(e,n,Math.max(l,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),r)}var d=e[n],h=l,p=i;for(lt(e,l,n),r(e[i],d)>0&&lt(e,l,i);h<p;){for(lt(e,h,p),h++,p--;r(e[h],d)<0;)h++;for(;r(e[p],d)>0;)p--}0===r(e[l],d)?lt(e,l,p):lt(e,++p,i),p<=n&&(l=p+1),n<=p&&(i=p-1)}},Dr=it;it.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],l=this.toBBox;if(!pt(t,e))return n;for(var i,r,o,a,s=[];e;){for(i=0,r=e.children.length;i<r;i++)o=e.children[i],pt(t,a=e.leaf?l(o):o)&&(e.leaf?n.push(o):ht(t,a)?this._all(o,n):s.push(o));e=s.pop()}return n},collides:function(t){var e=this.data,n=this.toBBox;if(!pt(t,e))return!1;for(var l,i,r,o,a=[];e;){for(l=0,i=e.children.length;l<i;l++)if(r=e.children[l],pt(t,o=e.leaf?n(r):r)){if(e.leaf||ht(t,o))return!0;a.push(r)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}var l=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===l.height)this._splitRoot(this.data,l);else{if(this.data.height<l.height){var i=this.data;this.data=l,l=i}this._insert(l,this.data.height-l.height-1,!0)}else this.data=l;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=ft([]),this},remove:function(t,e){if(!t)return this;for(var n,l,i,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf&&-1!==(i=function(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}(t,o.children,e)))return o.children.splice(i,1),s.push(o),this._condense(s),this;r||o.leaf||!ht(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},toBBox:function(t){return t},compareMinX:st,compareMinY:ut,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},_build:function(t,e,n,l){var i,r=n-e+1,o=this._maxEntries;if(r<=o)return rt(i=ft(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,l-1))),(i=ft([])).leaf=!1,i.height=l;var a,s,u,c,d=Math.ceil(r/o),h=d*Math.ceil(Math.sqrt(o));for(bt(t,e,n,h,this.compareMinX),a=e;a<=n;a+=h)for(bt(t,a,u=Math.min(a+h-1,n),d,this.compareMinY),s=a;s<=u;s+=d)c=Math.min(s+d-1,u),i.children.push(this._build(t,s,c,l-1));return rt(i,this.toBBox),i},_chooseSubtree:function(t,e,n,l){for(var i,r,o,a,s,u,c,d;l.push(e),!e.leaf&&l.length-1!==n;){for(c=d=1/0,i=0,r=e.children.length;i<r;i++)s=ct(o=e.children[i]),(u=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,o)-s)<d?(d=u,c=s<c?s:c,a=o):u===d&&s<c&&(c=s,a=o);e=a||e.children[0]}return e},_insert:function(t,e,n){var l=n?t:(0,this.toBBox)(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),at(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},_split:function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var r=this._chooseSplitIndex(n,i,l),o=ft(n.children.splice(r,n.children.length-r));o.height=n.height,o.leaf=n.leaf,rt(n,this.toBBox),rt(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(n,o)},_splitRoot:function(t,e){this.data=ft([t,e]),this.data.height=t.height+1,this.data.leaf=!1,rt(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var l,i,r,o,a,s,u,c;for(s=u=1/0,l=e;l<=n-e;l++)o=function(t,e){var n=Math.max(t.minX,e.minX),l=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,r-l)}(i=ot(t,0,l,this.toBBox),r=ot(t,l,n,this.toBBox)),a=ct(i)+ct(r),o<s?(s=o,c=l,u=a<u?a:u):o===s&&a<u&&(u=a,c=l);return c},_chooseSplitAxis:function(t,e,n){var l=t.leaf?this.compareMinX:st,i=t.leaf?this.compareMinY:ut;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},_allDistMargin:function(t,e,n,l){t.children.sort(l);var i,r,o=this.toBBox,a=ot(t,0,e,o),s=ot(t,n-e,n,o),u=dt(a)+dt(s);for(i=e;i<n-e;i++)r=t.children[i],at(a,t.leaf?o(r):r),u+=dt(a);for(i=n-e-1;i>=e;i--)r=t.children[i],at(s,t.leaf?o(r):r),u+=dt(s);return u},_adjustParentBBoxes:function(t,e,n){for(var l=n;l>=0;l--)at(e[l],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():rt(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var Tr=function(t,e,n){var l=t*e,i=Er*t,r=i-(i-t),o=t-r,a=Er*e,s=a-(a-e),u=e-s,c=o*u-(l-r*s-o*s-r*u);return n?(n[0]=c,n[1]=l,n):[c,l]},Er=+(Math.pow(2,27)+1),Ir=function(t,e){var n=0|t.length,l=0|e.length;if(1===n&&1===l)return function(t,e){var n=t+e,l=n-t,i=t-(n-l)+(e-l);return i?[i,n]:[n]}(t[0],e[0]);var i,r,o=new Array(n+l),a=0,s=0,u=0,c=Math.abs,d=t[s],h=c(d),p=e[u],f=c(p);h<f?(r=d,(s+=1)<n&&(h=c(d=t[s]))):(r=p,(u+=1)<l&&(f=c(p=e[u]))),s<n&&h<f||u>=l?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=e[u])));for(var b,m,g=i+r,_=g-i,y=r-_,A=y,v=g;s<n&&u<l;)h<f?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=e[u]))),(y=(r=A)-(_=(g=i+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b;for(;s<n;)(y=(r=A)-(_=(g=(i=d)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(s+=1)<n&&(d=t[s]);for(;u<l;)(y=(r=A)-(_=(g=(i=p)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(u+=1)<l&&(p=e[u]);return A&&(o[a++]=A),v&&(o[a++]=v),a||(o[a++]=0),o.length=a,o},Lr=function(t,e,n){var l=t+e,i=l-t,r=e-i,o=t-(l-i);return n?(n[0]=o+r,n[1]=l,n):[o+r,l]},jr=function(t,e){var n=t.length;if(1===n){var l=Tr(t[0],e);return l[0]?l:[l[1]]}var i=new Array(2*n),r=[.1,.1],o=[.1,.1],a=0;Tr(t[0],e,r),r[0]&&(i[a++]=r[0]);for(var s=1;s<n;++s){Tr(t[s],e,o),Lr(r[1],o[0],r),r[0]&&(i[a++]=r[0]);var u=o[1],c=r[1],d=u+c,h=c-(d-u);r[1]=d,h&&(i[a++]=h)}return r[1]&&(i[a++]=r[1]),0===a&&(i[a++]=0),i.length=a,i},Rr=function(t,e){var n=0|t.length,l=0|e.length;if(1===n&&1===l)return function(t,e){var n=t+e,l=n-t,i=t-(n-l)+(e-l);return i?[i,n]:[n]}(t[0],-e[0]);var i,r,o=new Array(n+l),a=0,s=0,u=0,c=Math.abs,d=t[s],h=c(d),p=-e[u],f=c(p);h<f?(r=d,(s+=1)<n&&(h=c(d=t[s]))):(r=p,(u+=1)<l&&(f=c(p=-e[u]))),s<n&&h<f||u>=l?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=-e[u])));for(var b,m,g=i+r,_=g-i,y=r-_,A=y,v=g;s<n&&u<l;)h<f?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=-e[u]))),(y=(r=A)-(_=(g=i+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b;for(;s<n;)(y=(r=A)-(_=(g=(i=d)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(s+=1)<n&&(d=t[s]);for(;u<l;)(y=(r=A)-(_=(g=(i=p)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(u+=1)<l&&(p=-e[u]);return A&&(o[a++]=A),v&&(o[a++]=v),a||(o[a++]=0),o.length=a,o},Fr=mt((function(t){function e(t,e){for(var n=new Array(t.length-1),l=1;l<t.length;++l)for(var i=n[l-1]=new Array(t.length-1),r=0,o=0;r<t.length;++r)r!==e&&(i[o++]=t[l][r]);return n}function n(t){return 1&t?"-":""}function l(t){if(1===t.length)return t[0];if(2===t.length)return["sum(",t[0],",",t[1],")"].join("");var e=t.length>>1;return["sum(",l(t.slice(0,e)),",",l(t.slice(e)),")"].join("")}function i(t){if(2===t.length)return[["sum(prod(",t[0][0],",",t[1][1],"),prod(-",t[0][1],",",t[1][0],"))"].join("")];for(var r=[],o=0;o<t.length;++o)r.push(["scale(",l(i(e(t,o))),",",n(o),t[0][o],")"].join(""));return r}function r(t){for(var n=[],r=[],o=function(t){for(var e=new Array(t),n=0;n<t;++n){e[n]=new Array(t);for(var l=0;l<t;++l)e[n][l]=["m",l,"[",t-n-1,"]"].join("")}return e}(t),a=[],s=0;s<t;++s)0==(1&s)?n.push.apply(n,i(e(o,s))):r.push.apply(r,i(e(o,s))),a.push("m"+s);var u=l(n),c=l(r),d="orientation"+t+"Exact",h=["function ",d,"(",a.join(),"){var p=",u,",n=",c,",d=sub(p,n);return d[d.length-1];};return ",d].join("");return new Function("sum","prod","scale","sub",h)(Ir,Tr,jr,Rr)}var o=r(3),a=r(4),s=[function(){return 0},function(){return 0},function(t,e){return e[0]-t[0]},function(t,e,n){var l,i=(t[1]-n[1])*(e[0]-n[0]),r=(t[0]-n[0])*(e[1]-n[1]),a=i-r;if(i>0){if(r<=0)return a;l=i+r}else{if(!(i<0))return a;if(r>=0)return a;l=-(i+r)}var s=33306690738754716e-32*l;return a>=s||a<=-s?a:o(t,e,n)},function(t,e,n,l){var i=t[0]-l[0],r=e[0]-l[0],o=n[0]-l[0],s=t[1]-l[1],u=e[1]-l[1],c=n[1]-l[1],d=t[2]-l[2],h=e[2]-l[2],p=n[2]-l[2],f=r*c,b=o*u,m=o*s,g=i*c,_=i*u,y=r*s,A=d*(f-b)+h*(m-g)+p*(_-y),v=7771561172376103e-31*((Math.abs(f)+Math.abs(b))*Math.abs(d)+(Math.abs(m)+Math.abs(g))*Math.abs(h)+(Math.abs(_)+Math.abs(y))*Math.abs(p));return A>v||-A>v?A:a(t,e,n,l)}];!function(){for(;s.length<=5;)s.push(r(s.length));for(var e=[],n=["slow"],l=0;l<=5;++l)e.push("a"+l),n.push("o"+l);var i=["function getOrientation(",e.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(l=2;l<=5;++l)i.push("case ",l,":return o",l,"(",e.slice(0,l).join(),");");i.push("}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return getOrientation"),n.push(i.join(""));var o=Function.apply(void 0,n);for(t.exports=o.apply(void 0,[function(t){var e=s[t.length];return e||(e=s[t.length]=r(t.length)),e.apply(void 0,t)}].concat(s)),l=0;l<=5;++l)t.exports[l]=s[l]}()})),Nr=function(t){var e=t.length;if(e<3){for(var n=new Array(e),l=0;l<e;++l)n[l]=l;return 2===e&&t[0][0]===t[1][0]&&t[0][1]===t[1][1]?[0]:n}var i=new Array(e);for(l=0;l<e;++l)i[l]=l;i.sort((function(e,n){return t[e][0]-t[n][0]||t[e][1]-t[n][1]}));var r=[i[0],i[1]],o=[i[0],i[1]];for(l=2;l<e;++l){for(var a=i[l],s=t[a],u=r.length;u>1&&Yr(t[r[u-2]],t[r[u-1]],s)<=0;)u-=1,r.pop();for(r.push(a),u=o.length;u>1&&Yr(t[o[u-2]],t[o[u-1]],s)>=0;)u-=1,o.pop();o.push(a)}n=new Array(o.length+r.length-2);for(var c=0,d=(l=0,r.length);l<d;++l)n[c++]=r[l];for(var h=o.length-2;h>0;--h)n[c++]=o[h];return n},Yr=Fr[3],Ur=gt,Br=gt;gt.prototype={push:function(t){this.data.push(t),this.length++,this._up(this.length-1)},pop:function(){if(0!==this.length){var t=this.data[0];return this.length--,this.length>0&&(this.data[0]=this.data[this.length],this._down(0)),this.data.pop(),t}},peek:function(){return this.data[0]},_up:function(t){for(var e=this.data,n=this.compare,l=e[t];t>0;){var i=t-1>>1,r=e[i];if(n(l,r)>=0)break;e[t]=r,t=i}e[t]=l},_down:function(t){for(var e=this.data,n=this.compare,l=this.length>>1,i=e[t];t<l;){var r=1+(t<<1),o=r+1,a=e[r];if(o<this.length&&n(e[o],a)<0&&(r=o,a=e[o]),n(a,i)>=0)break;e[t]=a,t=r}e[t]=i}},Ur.default=Br;var zr=function(t,e){for(var n=t[0],l=t[1],i=!1,r=0,o=e.length-1;r<e.length;o=r++){var a=e[r][0],s=e[r][1],u=e[o][1];s>l!=u>l&&n<(e[o][0]-a)*(l-s)/(u-s)+a&&(i=!i)}return i},Gr=Fr[3],Hr=_t;Hr.default=_t;var Vr=function(t){return t},qr=function(t){if(null==t)return Vr;var e,n,l=t.scale[0],i=t.scale[1],r=t.translate[0],o=t.translate[1];return function(t,a){a||(e=n=0);var s=2,u=t.length,c=new Array(u);for(c[0]=(e+=t[0])*l+r,c[1]=(n+=t[1])*i+o;s<u;)c[s]=t[s],++s;return c}},Wr=function(t,e){for(var n,l=t.length,i=l-e;i<--l;)n=t[i],t[i++]=t[l],t[l]=n},$r=function(t,e){function n(t,e){for(var n in t){var i=t[n];delete e[i.start],delete i.start,delete i.end,i.forEach((function(t){l[t<0?~t:t]=1})),o.push(i)}}var l={},i={},r={},o=[],a=-1;return e.forEach((function(n,l){var i,r=t.arcs[n<0?~n:n];r.length<3&&!r[1][0]&&!r[1][1]&&(i=e[++a],e[a]=n,e[l]=i)})),e.forEach((function(e){var n,l,o=function(e){var n,l=t.arcs[e<0?~e:e],i=l[0];return t.transform?(n=[0,0],l.forEach((function(t){n[0]+=t[0],n[1]+=t[1]}))):n=l[l.length-1],e<0?[n,i]:[i,n]}(e),a=o[0],s=o[1];if(n=r[a])if(delete r[n.end],n.push(e),n.end=s,l=i[s]){delete i[l.start];var u=l===n?n:n.concat(l);i[u.start=n.start]=r[u.end=l.end]=u}else i[n.start]=r[n.end]=n;else if(n=i[s])if(delete i[n.start],n.unshift(e),n.start=a,l=r[a]){delete r[l.end];var c=l===n?n:l.concat(n);i[c.start=l.start]=r[c.end=n.end]=c}else i[n.start]=r[n.end]=n;else i[(n=[e]).start=a]=r[n.end=s]=n})),n(r,i),n(i,r),e.forEach((function(t){l[t<0?~t:t]||o.push([t])})),o},Xr=function(t,e,n,l,i,r){3===arguments.length&&(l=r=Array,i=null);for(var o=new l(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),a=new r(t),s=t-1,u=0;u<t;++u)o[u]=i;return{set:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u]=r;if(++d>=t)throw new Error("full hashmap");c=o[u=u+1&s]}return o[u]=l,a[u]=r,r},maybeSet:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u];if(++d>=t)throw new Error("full hashmap");c=o[u=u+1&s]}return o[u]=l,a[u]=r,r},get:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u];if(++d>=t)break;c=o[u=u+1&s]}return r},keys:function(){for(var t=[],e=0,n=o.length;e<n;++e){var l=o[e];l!=i&&t.push(l)}return t}}},Kr=function(t,e){return t[0]===e[0]&&t[1]===e[1]},Jr=new ArrayBuffer(16),Qr=new Float64Array(Jr),Zr=new Uint32Array(Jr),to=function(t){Qr[0]=t[0],Qr[1]=t[1];var e=Zr[0]^Zr[1];return 2147483647&(e<<5^e>>7^Zr[2]^Zr[3])},eo=function(t){this.points=t.points||[],this.duration=t.duration||1e4,this.sharpness=t.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=t.stepLength||60,this.length=this.points.length,this.delay=0;for(var e=0;e<this.length;e++)this.points[e].z=this.points[e].z||0;for(e=0;e<this.length-1;e++){var n=this.points[e],l=this.points[e+1];this.centers.push({x:(n.x+l.x)/2,y:(n.y+l.y)/2,z:(n.z+l.z)/2})}for(this.controls.push([this.points[0],this.points[0]]),e=0;e<this.centers.length-1;e++){n=this.centers[e],l=this.centers[e+1];var i=this.points[e+1].x-(this.centers[e].x+this.centers[e+1].x)/2,r=this.points[e+1].y-(this.centers[e].y+this.centers[e+1].y)/2,o=this.points[e+1].z-(this.centers[e].y+this.centers[e+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e].y+r),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e].z+o)},{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e+1].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e+1].y+r),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e+1].z+o)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this};eo.prototype.cacheSteps=function(t){var e=[],n=this.pos(0);e.push(0);for(var l=0;l<this.duration;l+=10){var i=this.pos(l);Math.sqrt((i.x-n.x)*(i.x-n.x)+(i.y-n.y)*(i.y-n.y)+(i.z-n.z)*(i.z-n.z))>t&&(e.push(l),n=i)}return e},eo.prototype.vector=function(t){var e=this.pos(t+10),n=this.pos(t-10);return{angle:180*Math.atan2(e.y-n.y,e.x-n.x)/3.14,speed:Math.sqrt((n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y)+(n.z-e.z)*(n.z-e.z))}},eo.prototype.pos=function(t){var e=t-this.delay;e<0&&(e=0),e>this.duration&&(e=this.duration-1);var n=e/this.duration;if(n>=1)return this.points[this.length-1];var l=Math.floor((this.points.length-1)*n);return function(t,e,n,l,i){var r=function(t){var e=t*t;return[e*t,3*e*(1-t),3*t*(1-t)*(1-t),(1-t)*(1-t)*(1-t)]}(t);return{x:i.x*r[0]+l.x*r[1]+n.x*r[2]+e.x*r[3],y:i.y*r[0]+l.y*r[1]+n.y*r[2]+e.y*r[3],z:i.z*r[0]+l.z*r[1]+n.z*r[2]+e.z*r[3]}}((this.length-1)*n-l,this.points[l],this.controls[l][1],this.controls[l+1][0],this.points[l+1])};var no=de,lo=de;de.deviation=function(t,e,n,l){var i=e&&e.length,r=Math.abs(xe(t,0,i?e[0]*n:t.length,n));if(i)for(var o=0,a=e.length;o<a;o++)r-=Math.abs(xe(t,e[o]*n,o<a-1?e[o+1]*n:t.length,n));var s=0;for(o=0;o<l.length;o+=3){var u=l[o]*n,c=l[o+1]*n,d=l[o+2]*n;s+=Math.abs((t[u]-t[d])*(t[c+1]-t[u+1])-(t[u]-t[c])*(t[d+1]-t[u+1]))}return 0===r&&0===s?0:Math.abs((s-r)/r)},de.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},l=0,i=0;i<t.length;i++){for(var r=0;r<t[i].length;r++)for(var o=0;o<e;o++)n.vertices.push(t[i][r][o]);i>0&&n.holes.push(l+=t[i-1].length)}return n},no.default=lo,De.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],l=this.toBBox;if(!Ye(t,e))return n;for(var i,r,o,a,s=[];e;){for(i=0,r=e.children.length;i<r;i++)o=e.children[i],Ye(t,a=e.leaf?l(o):o)&&(e.leaf?n.push(o):Ne(t,a)?this._all(o,n):s.push(o));e=s.pop()}return n},collides:function(t){var e=this.data,n=this.toBBox;if(!Ye(t,e))return!1;for(var l,i,r,o,a=[];e;){for(l=0,i=e.children.length;l<i;l++)if(r=e.children[l],Ye(t,o=e.leaf?n(r):r)){if(e.leaf||Ne(t,o))return!0;a.push(r)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}var l=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===l.height)this._splitRoot(this.data,l);else{if(this.data.height<l.height){var i=this.data;this.data=l,l=i}this._insert(l,this.data.height-l.height-1,!0)}else this.data=l;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=Ue([]),this},remove:function(t,e){if(!t)return this;for(var n,l,i,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf&&-1!==(i=function(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}(t,o.children,e)))return o.children.splice(i,1),s.push(o),this._condense(s),this;r||o.leaf||!Ne(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},toBBox:function(t){return t},compareMinX:Le,compareMinY:je,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},_build:function(t,e,n,l){var i,r=n-e+1,o=this._maxEntries;if(r<=o)return Te(i=Ue(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,l-1))),(i=Ue([])).leaf=!1,i.height=l;var a,s,u,c,d=Math.ceil(r/o),h=d*Math.ceil(Math.sqrt(o));for(Be(t,e,n,h,this.compareMinX),a=e;a<=n;a+=h)for(Be(t,a,u=Math.min(a+h-1,n),d,this.compareMinY),s=a;s<=u;s+=d)c=Math.min(s+d-1,u),i.children.push(this._build(t,s,c,l-1));return Te(i,this.toBBox),i},_chooseSubtree:function(t,e,n,l){for(var i,r,o,a,s,u,c,d;l.push(e),!e.leaf&&l.length-1!==n;){for(c=d=1/0,i=0,r=e.children.length;i<r;i++)s=Re(o=e.children[i]),(u=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,o)-s)<d?(d=u,c=s<c?s:c,a=o):u===d&&s<c&&(c=s,a=o);e=a||e.children[0]}return e},_insert:function(t,e,n){var l=n?t:(0,this.toBBox)(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),Ie(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},_split:function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var r=this._chooseSplitIndex(n,i,l),o=Ue(n.children.splice(r,n.children.length-r));o.height=n.height,o.leaf=n.leaf,Te(n,this.toBBox),Te(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(n,o)},_splitRoot:function(t,e){this.data=Ue([t,e]),this.data.height=t.height+1,this.data.leaf=!1,Te(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var l,i,r,o,a,s,u,c;for(s=u=1/0,l=e;l<=n-e;l++)o=function(t,e){var n=Math.max(t.minX,e.minX),l=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,r-l)}(i=Ee(t,0,l,this.toBBox),r=Ee(t,l,n,this.toBBox)),a=Re(i)+Re(r),o<s?(s=o,c=l,u=a<u?a:u):o===s&&a<u&&(u=a,c=l);return c},_chooseSplitAxis:function(t,e,n){var l=t.leaf?this.compareMinX:Le,i=t.leaf?this.compareMinY:je;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},_allDistMargin:function(t,e,n,l){t.children.sort(l);var i,r,o=this.toBBox,a=Ee(t,0,e,o),s=Ee(t,n-e,n,o),u=Fe(a)+Fe(s);for(i=e;i<n-e;i++)r=t.children[i],Ie(a,t.leaf?o(r):r),u+=Fe(a);for(i=n-e-1;i>=e;i--)r=t.children[i],Ie(s,t.leaf?o(r):r),u+=Fe(s);return u},_adjustParentBBoxes:function(t,e,n){for(var l=n;l>=0;l--)Ie(e[l],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():Te(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var io=Object.freeze({toMercator:Qe,toWgs84:Ze}),ro=6378137,oo=function(t,e,n,l,i){this.coord=t,this.param=e,this.ringAndEdgeIn=n,this.ringAndEdgeOut=l,this.nxtIsectAlongEdgeIn=i},ao=function(t,e,n,l,i,r,o){this.coord=t,this.ringAndEdge1=e,this.ringAndEdge2=n,this.nxtIsectAlongRingAndEdge1=l,this.nxtIsectAlongRingAndEdge2=i,this.ringAndEdge1Walkable=r,this.ringAndEdge2Walkable=o};Number.prototype.modulo=function(t){return(this%t+t)%t};var so=Math.PI/180,uo=180/Math.PI,co=function(t,e){this.lon=t,this.lat=e,this.x=so*t,this.y=so*e};co.prototype.view=function(){return String(this.lon).slice(0,4)+","+String(this.lat).slice(0,4)},co.prototype.antipode=function(){return new co(this.lon<0?180+this.lon:-1*(180-this.lon),-1*this.lat)};var ho=function(){this.coords=[],this.length=0};ho.prototype.move_to=function(t){this.length++,this.coords.push(t)};var po=function(t){this.properties=t||{},this.geometries=[]};po.prototype.json=function(){if(this.geometries.length<=0)return{geometry:{type:"LineString",coordinates:null},type:"Feature",properties:this.properties};if(1===this.geometries.length)return{geometry:{type:"LineString",coordinates:this.geometries[0].coords},type:"Feature",properties:this.properties};for(var t=[],e=0;e<this.geometries.length;e++)t.push(this.geometries[e].coords);return{geometry:{type:"MultiLineString",coordinates:t},type:"Feature",properties:this.properties}},po.prototype.wkt=function(){for(var t="",e="LINESTRING(",n=function(t){e+=t[0]+" "+t[1]+","},l=0;l<this.geometries.length;l++){if(0===this.geometries[l].coords.length)return"LINESTRING(empty)";this.geometries[l].coords.forEach(n),t+=e.substring(0,e.length-1)+")"}return t};var fo=function(t,e,n){if(!t||void 0===t.x||void 0===t.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");if(!e||void 0===e.x||void 0===e.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");this.start=new co(t.x,t.y),this.end=new co(e.x,e.y),this.properties=n||{};var l=this.start.x-this.end.x,i=Math.pow(Math.sin((this.start.y-this.end.y)/2),2)+Math.cos(this.start.y)*Math.cos(this.end.y)*Math.pow(Math.sin(l/2),2);if(this.g=2*Math.asin(Math.sqrt(i)),this.g===Math.PI)throw new Error("it appears "+t.view()+" and "+e.view()+" are 'antipodal', e.g diametrically opposite, thus there is no single route but rather infinite");if(isNaN(this.g))throw new Error("could not calculate great circle between "+t+" and "+e)};fo.prototype.interpolate=function(t){var e=Math.sin((1-t)*this.g)/Math.sin(this.g),n=Math.sin(t*this.g)/Math.sin(this.g),l=e*Math.cos(this.start.y)*Math.cos(this.start.x)+n*Math.cos(this.end.y)*Math.cos(this.end.x),i=e*Math.cos(this.start.y)*Math.sin(this.start.x)+n*Math.cos(this.end.y)*Math.sin(this.end.x),r=e*Math.sin(this.start.y)+n*Math.sin(this.end.y),o=uo*Math.atan2(r,Math.sqrt(Math.pow(l,2)+Math.pow(i,2)));return[uo*Math.atan2(i,l),o]},fo.prototype.Arc=function(t,e){var n=[];if(!t||t<=2)n.push([this.start.lon,this.start.lat]),n.push([this.end.lon,this.end.lat]);else for(var l=1/(t-1),i=0;i<t;++i){var r=this.interpolate(l*i);n.push(r)}for(var o=!1,a=0,s=e&&e.offset?e.offset:10,u=180-s,c=-180+s,d=360-s,h=1;h<n.length;++h){var p=n[h-1][0],f=n[h][0],b=Math.abs(f-p);b>d&&(f>u&&p<c||p>u&&f<c)?o=!0:b>a&&(a=b)}var m=[];if(o&&a<s){var g=[];m.push(g);for(var _=0;_<n.length;++_){var y=parseFloat(n[_][0]);if(_>0&&Math.abs(y-n[_-1][0])>d){var A=parseFloat(n[_-1][0]),v=parseFloat(n[_-1][1]),C=parseFloat(n[_][0]),w=parseFloat(n[_][1]);if(A>-180&&A<c&&180===C&&_+1<n.length&&n[_-1][0]>-180&&n[_-1][0]<c){g.push([-180,n[_][1]]),_++,g.push([n[_][0],n[_][1]]);continue}if(A>u&&A<180&&-180===C&&_+1<n.length&&n[_-1][0]>u&&n[_-1][0]<180){g.push([180,n[_][1]]),_++,g.push([n[_][0],n[_][1]]);continue}if(A<c&&C>u){var P=A;A=C,C=P;var x=v;v=w,w=x}if(A>u&&C<c&&(C+=360),A<=180&&C>=180&&A<C){var S=(180-A)/(C-A),k=S*w+(1-S)*v;g.push([n[_-1][0]>u?180:-180,k]),(g=[]).push([n[_-1][0]>u?-180:180,k]),m.push(g)}else m.push(g=[]);g.push([y,n[_][1]])}else g.push([n[_][0],n[_][1]])}}else{var M=[];m.push(M);for(var O=0;O<n.length;++O)M.push([n[O][0],n[O][1]])}for(var D=new po(this.properties),T=0;T<m.length;++T){var E=new ho;D.geometries.push(E);for(var I=m[T],L=0;L<I.length;++L)E.move_to(I[L])}return D};var bo=Ln;Ln.polyline=Ln,Ln.polygon=function(t,e){var n,l,i,r,o,a,s;for(l=1;l<=8;l*=2){for(n=[],r=!(Rn(i=t[t.length-1],e)&l),o=0;o<t.length;o++)(s=!(Rn(a=t[o],e)&l))!==r&&n.push(jn(i,a,l,e)),s&&n.push(a),i=a,r=s;if(!(t=n).length)break}return n};var mo=Array.prototype.slice,go={successCallback:null,verbose:!1,polygons:!1},_o={},yo=64,Ao=16,vo=4,Co=1,wo=[],Po=[],xo=[],So=[],ko=[],Mo=[],Oo=[],Do=[],To=[],Eo=[],Io=[],Lo=[],jo=[],Ro=[],Fo=[],No=[],Yo=[],Uo=[],Bo=[],zo=[],Go=[],Ho=[],Vo=[],qo=[];Oo[85]=Eo[85]=-1,Do[85]=Io[85]=0,To[85]=Lo[85]=1,Bo[85]=Ho[85]=1,zo[85]=Vo[85]=0,Go[85]=qo[85]=1,wo[85]=So[85]=0,Po[85]=ko[85]=-1,xo[85]=Fo[85]=0,No[85]=jo[85]=0,Yo[85]=Ro[85]=1,Mo[85]=Uo[85]=1,Ho[1]=Ho[169]=0,Vo[1]=Vo[169]=-1,qo[1]=qo[169]=0,jo[1]=jo[169]=-1,Ro[1]=Ro[169]=0,Fo[1]=Fo[169]=0,Eo[4]=Eo[166]=0,Io[4]=Io[166]=-1,Lo[4]=Lo[166]=1,No[4]=No[166]=1,Yo[4]=Yo[166]=0,Uo[4]=Uo[166]=0,Oo[16]=Oo[154]=0,Do[16]=Do[154]=1,To[16]=To[154]=1,So[16]=So[154]=1,ko[16]=ko[154]=0,Mo[16]=Mo[154]=1,Bo[64]=Bo[106]=0,zo[64]=zo[106]=1,Go[64]=Go[106]=0,wo[64]=wo[106]=-1,Po[64]=Po[106]=0,xo[64]=xo[106]=1,Bo[2]=Bo[168]=0,zo[2]=zo[168]=-1,Go[2]=Go[168]=1,Ho[2]=Ho[168]=0,Vo[2]=Vo[168]=-1,qo[2]=qo[168]=0,jo[2]=jo[168]=-1,Ro[2]=Ro[168]=0,Fo[2]=Fo[168]=0,No[2]=No[168]=-1,Yo[2]=Yo[168]=0,Uo[2]=Uo[168]=1,Oo[8]=Oo[162]=0,Do[8]=Do[162]=-1,To[8]=To[162]=0,Eo[8]=Eo[162]=0,Io[8]=Io[162]=-1,Lo[8]=Lo[162]=1,jo[8]=jo[162]=1,Ro[8]=Ro[162]=0,Fo[8]=Fo[162]=1,No[8]=No[162]=1,Yo[8]=Yo[162]=0,Uo[8]=Uo[162]=0,Oo[32]=Oo[138]=0,Do[32]=Do[138]=1,To[32]=To[138]=1,Eo[32]=Eo[138]=0,Io[32]=Io[138]=1,Lo[32]=Lo[138]=0,wo[32]=wo[138]=1,Po[32]=Po[138]=0,xo[32]=xo[138]=0,So[32]=So[138]=1,ko[32]=ko[138]=0,Mo[32]=Mo[138]=1,Ho[128]=Ho[42]=0,Vo[128]=Vo[42]=1,qo[128]=qo[42]=1,Bo[128]=Bo[42]=0,zo[128]=zo[42]=1,Go[128]=Go[42]=0,wo[128]=wo[42]=-1,Po[128]=Po[42]=0,xo[128]=xo[42]=1,So[128]=So[42]=-1,ko[128]=ko[42]=0,Mo[128]=Mo[42]=0,Eo[5]=Eo[165]=-1,Io[5]=Io[165]=0,Lo[5]=Lo[165]=0,Ho[5]=Ho[165]=1,Vo[5]=Vo[165]=0,qo[5]=qo[165]=0,No[20]=No[150]=0,Yo[20]=Yo[150]=1,Uo[20]=Uo[150]=1,So[20]=So[150]=0,ko[20]=ko[150]=-1,Mo[20]=Mo[150]=1,Oo[80]=Oo[90]=-1,Do[80]=Do[90]=0,To[80]=To[90]=1,Bo[80]=Bo[90]=1,zo[80]=zo[90]=0,Go[80]=Go[90]=1,jo[65]=jo[105]=0,Ro[65]=Ro[105]=1,Fo[65]=Fo[105]=0,wo[65]=wo[105]=0,Po[65]=Po[105]=-1,xo[65]=xo[105]=0,Oo[160]=Oo[10]=-1,Do[160]=Do[10]=0,To[160]=To[10]=1,Eo[160]=Eo[10]=-1,Io[160]=Io[10]=0,Lo[160]=Lo[10]=0,Ho[160]=Ho[10]=1,Vo[160]=Vo[10]=0,qo[160]=qo[10]=0,Bo[160]=Bo[10]=1,zo[160]=zo[10]=0,Go[160]=Go[10]=1,No[130]=No[40]=0,Yo[130]=Yo[40]=1,Uo[130]=Uo[40]=1,jo[130]=jo[40]=0,Ro[130]=Ro[40]=1,Fo[130]=Fo[40]=0,wo[130]=wo[40]=0,Po[130]=Po[40]=-1,xo[130]=xo[40]=0,So[130]=So[40]=0,ko[130]=ko[40]=-1,Mo[130]=Mo[40]=1,Eo[37]=Eo[133]=0,Io[37]=Io[133]=1,Lo[37]=Lo[133]=1,Ho[37]=Ho[133]=0,Vo[37]=Vo[133]=1,qo[37]=qo[133]=0,wo[37]=wo[133]=-1,Po[37]=Po[133]=0,xo[37]=xo[133]=0,So[37]=So[133]=1,ko[37]=ko[133]=0,Mo[37]=Mo[133]=0,No[148]=No[22]=-1,Yo[148]=Yo[22]=0,Uo[148]=Uo[22]=0,Ho[148]=Ho[22]=0,Vo[148]=Vo[22]=-1,qo[148]=qo[22]=1,Bo[148]=Bo[22]=0,zo[148]=zo[22]=1,Go[148]=Go[22]=1,So[148]=So[22]=-1,ko[148]=ko[22]=0,Mo[148]=Mo[22]=1,Oo[82]=Oo[88]=0,Do[82]=Do[88]=-1,To[82]=To[88]=1,No[82]=No[88]=1,Yo[82]=Yo[88]=0,Uo[82]=Uo[88]=1,jo[82]=jo[88]=-1,Ro[82]=Ro[88]=0,Fo[82]=Fo[88]=1,Bo[82]=Bo[88]=0,zo[82]=zo[88]=-1,Go[82]=Go[88]=0,Oo[73]=Oo[97]=0,Do[73]=Do[97]=1,To[73]=To[97]=0,Eo[73]=Eo[97]=0,Io[73]=Io[97]=-1,Lo[73]=Lo[97]=0,jo[73]=jo[97]=1,Ro[73]=Ro[97]=0,Fo[73]=Fo[97]=0,wo[73]=wo[97]=1,Po[73]=Po[97]=0,xo[73]=xo[97]=1,Oo[145]=Oo[25]=0,Do[145]=Do[25]=-1,To[145]=To[25]=0,jo[145]=jo[25]=1,Ro[145]=Ro[25]=0,Fo[145]=Fo[25]=1,Ho[145]=Ho[25]=0,Vo[145]=Vo[25]=1,qo[145]=qo[25]=1,So[145]=So[25]=-1,ko[145]=ko[25]=0,Mo[145]=Mo[25]=0,Eo[70]=Eo[100]=0,Io[70]=Io[100]=1,Lo[70]=Lo[100]=0,No[70]=No[100]=-1,Yo[70]=Yo[100]=0,Uo[70]=Uo[100]=1,Bo[70]=Bo[100]=0,zo[70]=zo[100]=-1,Go[70]=Go[100]=1,wo[70]=wo[100]=1,Po[70]=Po[100]=0,xo[70]=xo[100]=0,Eo[101]=Eo[69]=0,Io[101]=Io[69]=1,Lo[101]=Lo[69]=0,wo[101]=wo[69]=1,Po[101]=Po[69]=0,xo[101]=xo[69]=0,Ho[149]=Ho[21]=0,Vo[149]=Vo[21]=1,qo[149]=qo[21]=1,So[149]=So[21]=-1,ko[149]=ko[21]=0,Mo[149]=Mo[21]=0,No[86]=No[84]=-1,Yo[86]=Yo[84]=0,Uo[86]=Uo[84]=1,Bo[86]=Bo[84]=0,zo[86]=zo[84]=-1,Go[86]=Go[84]=1,Oo[89]=Oo[81]=0,Do[89]=Do[81]=-1,To[89]=To[81]=0,jo[89]=jo[81]=1,Ro[89]=Ro[81]=0,Fo[89]=Fo[81]=1,Oo[96]=Oo[74]=0,Do[96]=Do[74]=1,To[96]=To[74]=0,Eo[96]=Eo[74]=-1,Io[96]=Io[74]=0,Lo[96]=Lo[74]=1,Bo[96]=Bo[74]=1,zo[96]=zo[74]=0,Go[96]=Go[74]=0,wo[96]=wo[74]=1,Po[96]=Po[74]=0,xo[96]=xo[74]=1,Oo[24]=Oo[146]=0,Do[24]=Do[146]=-1,To[24]=To[146]=1,No[24]=No[146]=1,Yo[24]=Yo[146]=0,Uo[24]=Uo[146]=1,jo[24]=jo[146]=0,Ro[24]=Ro[146]=1,Fo[24]=Fo[146]=1,So[24]=So[146]=0,ko[24]=ko[146]=-1,Mo[24]=Mo[146]=0,Eo[6]=Eo[164]=-1,Io[6]=Io[164]=0,Lo[6]=Lo[164]=1,No[6]=No[164]=-1,Yo[6]=Yo[164]=0,Uo[6]=Uo[164]=0,Ho[6]=Ho[164]=0,Vo[6]=Vo[164]=-1,qo[6]=qo[164]=1,Bo[6]=Bo[164]=1,zo[6]=zo[164]=0,Go[6]=Go[164]=0,jo[129]=jo[41]=0,Ro[129]=Ro[41]=1,Fo[129]=Fo[41]=1,Ho[129]=Ho[41]=0,Vo[129]=Vo[41]=1,qo[129]=qo[41]=0,wo[129]=wo[41]=-1,Po[129]=Po[41]=0,xo[129]=xo[41]=0,So[129]=So[41]=0,ko[129]=ko[41]=-1,Mo[129]=Mo[41]=0,No[66]=No[104]=0,Yo[66]=Yo[104]=1,Uo[66]=Uo[104]=0,jo[66]=jo[104]=-1,Ro[66]=Ro[104]=0,Fo[66]=Fo[104]=1,Bo[66]=Bo[104]=0,zo[66]=zo[104]=-1,Go[66]=Go[104]=0,wo[66]=wo[104]=0,Po[66]=Po[104]=-1,xo[66]=xo[104]=1,Oo[144]=Oo[26]=-1,Do[144]=Do[26]=0,To[144]=To[26]=0,Ho[144]=Ho[26]=1,Vo[144]=Vo[26]=0,qo[144]=qo[26]=1,Bo[144]=Bo[26]=0,zo[144]=zo[26]=1,Go[144]=Go[26]=1,So[144]=So[26]=-1,ko[144]=ko[26]=0,Mo[144]=Mo[26]=1,Eo[36]=Eo[134]=0,Io[36]=Io[134]=1,Lo[36]=Lo[134]=1,No[36]=No[134]=0,Yo[36]=Yo[134]=1,Uo[36]=Uo[134]=0,wo[36]=wo[134]=0,Po[36]=Po[134]=-1,xo[36]=xo[134]=1,So[36]=So[134]=1,ko[36]=ko[134]=0,Mo[36]=Mo[134]=0,Oo[9]=Oo[161]=-1,Do[9]=Do[161]=0,To[9]=To[161]=0,Eo[9]=Eo[161]=0,Io[9]=Io[161]=-1,Lo[9]=Lo[161]=0,jo[9]=jo[161]=1,Ro[9]=Ro[161]=0,Fo[9]=Fo[161]=0,Ho[9]=Ho[161]=1,Vo[9]=Vo[161]=0,qo[9]=qo[161]=1,Oo[136]=0,Do[136]=1,To[136]=1,Eo[136]=0,Io[136]=1,Lo[136]=0,No[136]=-1,Yo[136]=0,Uo[136]=1,jo[136]=-1,Ro[136]=0,Fo[136]=0,Ho[136]=0,Vo[136]=-1,qo[136]=0,Bo[136]=0,zo[136]=-1,Go[136]=1,wo[136]=1,Po[136]=0,xo[136]=0,So[136]=1,ko[136]=0,Mo[136]=1,Oo[34]=0,Do[34]=-1,To[34]=0,Eo[34]=0,Io[34]=-1,Lo[34]=1,No[34]=1,Yo[34]=0,Uo[34]=0,jo[34]=1,Ro[34]=0,Fo[34]=1,Ho[34]=0,Vo[34]=1,qo[34]=1,Bo[34]=0,zo[34]=1,Go[34]=0,wo[34]=-1,Po[34]=0,xo[34]=1,So[34]=-1,ko[34]=0,Mo[34]=0,Oo[35]=0,Do[35]=1,To[35]=1,Eo[35]=0,Io[35]=-1,Lo[35]=1,No[35]=1,Yo[35]=0,Uo[35]=0,jo[35]=-1,Ro[35]=0,Fo[35]=0,Ho[35]=0,Vo[35]=-1,qo[35]=0,Bo[35]=0,zo[35]=1,Go[35]=0,wo[35]=-1,Po[35]=0,xo[35]=1,So[35]=1,ko[35]=0,Mo[35]=1,Oo[153]=0,Do[153]=1,To[153]=1,jo[153]=-1,Ro[153]=0,Fo[153]=0,Ho[153]=0,Vo[153]=-1,qo[153]=0,So[153]=1,ko[153]=0,Mo[153]=1,Eo[102]=0,Io[102]=-1,Lo[102]=1,No[102]=1,Yo[102]=0,Uo[102]=0,Bo[102]=0,zo[102]=1,Go[102]=0,wo[102]=-1,Po[102]=0,xo[102]=1,Oo[155]=0,Do[155]=-1,To[155]=0,jo[155]=1,Ro[155]=0,Fo[155]=1,Ho[155]=0,Vo[155]=1,qo[155]=1,So[155]=-1,ko[155]=0,Mo[155]=0,Eo[103]=0,Io[103]=1,Lo[103]=0,No[103]=-1,Yo[103]=0,Uo[103]=1,Bo[103]=0,zo[103]=-1,Go[103]=1,wo[103]=1,Po[103]=0,xo[103]=0,Oo[152]=0,Do[152]=1,To[152]=1,No[152]=-1,Yo[152]=0,Uo[152]=1,jo[152]=-1,Ro[152]=0,Fo[152]=0,Ho[152]=0,Vo[152]=-1,qo[152]=0,Bo[152]=0,zo[152]=-1,Go[152]=1,So[152]=1,ko[152]=0,Mo[152]=1,Oo[156]=0,Do[156]=-1,To[156]=1,No[156]=1,Yo[156]=0,Uo[156]=1,jo[156]=-1,Ro[156]=0,Fo[156]=0,Ho[156]=0,Vo[156]=-1,qo[156]=0,Bo[156]=0,zo[156]=1,Go[156]=1,So[156]=-1,ko[156]=0,Mo[156]=1,Oo[137]=0,Do[137]=1,To[137]=1,Eo[137]=0,Io[137]=1,Lo[137]=0,jo[137]=-1,Ro[137]=0,Fo[137]=0,Ho[137]=0,Vo[137]=-1,qo[137]=0,wo[137]=1,Po[137]=0,xo[137]=0,So[137]=1,ko[137]=0,Mo[137]=1,Oo[139]=0,Do[139]=1,To[139]=1,Eo[139]=0,Io[139]=-1,Lo[139]=0,jo[139]=1,Ro[139]=0,Fo[139]=0,Ho[139]=0,Vo[139]=1,qo[139]=0,wo[139]=-1,Po[139]=0,xo[139]=0,So[139]=1,ko[139]=0,Mo[139]=1,Oo[98]=0,Do[98]=-1,To[98]=0,Eo[98]=0,Io[98]=-1,Lo[98]=1,No[98]=1,Yo[98]=0,Uo[98]=0,jo[98]=1,Ro[98]=0,Fo[98]=1,Bo[98]=0,zo[98]=1,Go[98]=0,wo[98]=-1,Po[98]=0,xo[98]=1,Oo[99]=0,Do[99]=1,To[99]=0,Eo[99]=0,Io[99]=-1,Lo[99]=1,No[99]=1,Yo[99]=0,Uo[99]=0,jo[99]=-1,Ro[99]=0,Fo[99]=1,Bo[99]=0,zo[99]=-1,Go[99]=0,wo[99]=1,Po[99]=0,xo[99]=1,Eo[38]=0,Io[38]=-1,Lo[38]=1,No[38]=1,Yo[38]=0,Uo[38]=0,Ho[38]=0,Vo[38]=1,qo[38]=1,Bo[38]=0,zo[38]=1,Go[38]=0,wo[38]=-1,Po[38]=0,xo[38]=1,So[38]=-1,ko[38]=0,Mo[38]=0,Eo[39]=0,Io[39]=1,Lo[39]=1,No[39]=-1,Yo[39]=0,Uo[39]=0,Ho[39]=0,Vo[39]=-1,qo[39]=1,Bo[39]=0,zo[39]=1,Go[39]=0,wo[39]=-1,Po[39]=0,xo[39]=1,So[39]=1,ko[39]=0,Mo[39]=0;var Wo=function(t){return[[t.bottomleft,0],[0,0],[0,t.leftbottom]]},$o=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0]]},Xo=function(t){return[[t.topright,1],[1,1],[1,t.righttop]]},Ko=function(t){return[[0,t.lefttop],[0,1],[t.topleft,1]]},Jo=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop]]},Qo=function(t){return[[t.bottomright,0],[t.bottomleft,0],[1,t.righttop],[1,t.rightbottom]]},Zo=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.topleft,1],[t.topright,1]]},ta=function(t){return[[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},ea=[],na=[],la=[],ia=[],ra=[],oa=[],aa=[],sa=[];ia[1]=ra[1]=18,ia[169]=ra[169]=18,la[4]=na[4]=12,la[166]=na[166]=12,ea[16]=sa[16]=4,ea[154]=sa[154]=4,oa[64]=aa[64]=22,oa[106]=aa[106]=22,la[2]=oa[2]=17,ia[2]=ra[2]=18,la[168]=oa[168]=17,ia[168]=ra[168]=18,ea[8]=ia[8]=9,na[8]=la[8]=12,ea[162]=ia[162]=9,na[162]=la[162]=12,ea[32]=sa[32]=4,na[32]=aa[32]=1,ea[138]=sa[138]=4,na[138]=aa[138]=1,ra[128]=sa[128]=21,oa[128]=aa[128]=22,ra[42]=sa[42]=21,oa[42]=aa[42]=22,na[5]=ra[5]=14,na[165]=ra[165]=14,la[20]=sa[20]=6,la[150]=sa[150]=6,ea[80]=oa[80]=11,ea[90]=oa[90]=11,ia[65]=aa[65]=3,ia[105]=aa[105]=3,ea[160]=oa[160]=11,na[160]=ra[160]=14,ea[10]=oa[10]=11,na[10]=ra[10]=14,la[130]=sa[130]=6,ia[130]=aa[130]=3,la[40]=sa[40]=6,ia[40]=aa[40]=3,na[101]=aa[101]=1,na[69]=aa[69]=1,ra[149]=sa[149]=21,ra[21]=sa[21]=21,la[86]=oa[86]=17,la[84]=oa[84]=17,ea[89]=ia[89]=9,ea[81]=ia[81]=9,ea[96]=aa[96]=0,na[96]=oa[96]=15,ea[74]=aa[74]=0,na[74]=oa[74]=15,ea[24]=la[24]=8,ia[24]=sa[24]=7,ea[146]=la[146]=8,ia[146]=sa[146]=7,na[6]=oa[6]=15,la[6]=ra[6]=16,na[164]=oa[164]=15,la[164]=ra[164]=16,ia[129]=sa[129]=7,ra[129]=aa[129]=20,ia[41]=sa[41]=7,ra[41]=aa[41]=20,la[66]=aa[66]=2,ia[66]=oa[66]=19,la[104]=aa[104]=2,ia[104]=oa[104]=19,ea[144]=ra[144]=10,oa[144]=sa[144]=23,ea[26]=ra[26]=10,oa[26]=sa[26]=23,na[36]=sa[36]=5,la[36]=aa[36]=2,na[134]=sa[134]=5,la[134]=aa[134]=2,ea[9]=ra[9]=10,na[9]=ia[9]=13,ea[161]=ra[161]=10,na[161]=ia[161]=13,na[37]=sa[37]=5,ra[37]=aa[37]=20,na[133]=sa[133]=5,ra[133]=aa[133]=20,la[148]=ra[148]=16,oa[148]=sa[148]=23,la[22]=ra[22]=16,oa[22]=sa[22]=23,ea[82]=la[82]=8,ia[82]=oa[82]=19,ea[88]=la[88]=8,ia[88]=oa[88]=19,ea[73]=aa[73]=0,na[73]=ia[73]=13,ea[97]=aa[97]=0,na[97]=ia[97]=13,ea[145]=ia[145]=9,ra[145]=sa[145]=21,ea[25]=ia[25]=9,ra[25]=sa[25]=21,na[70]=aa[70]=1,la[70]=oa[70]=17,na[100]=aa[100]=1,la[100]=oa[100]=17,ea[34]=ia[34]=9,na[34]=la[34]=12,ra[34]=sa[34]=21,oa[34]=aa[34]=22,ea[136]=sa[136]=4,na[136]=aa[136]=1,la[136]=oa[136]=17,ia[136]=ra[136]=18,ea[35]=sa[35]=4,na[35]=la[35]=12,ia[35]=ra[35]=18,oa[35]=aa[35]=22,ea[153]=sa[153]=4,ia[153]=ra[153]=18,na[102]=la[102]=12,oa[102]=aa[102]=22,ea[155]=ia[155]=9,ra[155]=sa[155]=23,na[103]=aa[103]=1,la[103]=oa[103]=17,ea[152]=sa[152]=4,la[152]=oa[152]=17,ia[152]=ra[152]=18,ea[156]=la[156]=8,ia[156]=ra[156]=18,oa[156]=sa[156]=23,ea[137]=sa[137]=4,na[137]=aa[137]=1,ia[137]=ra[137]=18,ea[139]=sa[139]=4,na[139]=ia[139]=13,ra[139]=aa[139]=20,ea[98]=ia[98]=9,na[98]=la[98]=12,oa[98]=aa[98]=22,ea[99]=aa[99]=0,na[99]=la[99]=12,ia[99]=oa[99]=19,na[38]=la[38]=12,ra[38]=sa[38]=21,oa[38]=aa[38]=22,na[39]=sa[39]=5,la[39]=ra[39]=16,oa[39]=aa[39]=22;var ua=[];ua[1]=ua[169]=Wo,ua[4]=ua[166]=$o,ua[16]=ua[154]=Xo,ua[64]=ua[106]=Ko,ua[168]=ua[2]=Jo,ua[162]=ua[8]=Qo,ua[138]=ua[32]=Zo,ua[42]=ua[128]=ta,ua[5]=ua[165]=function(t){return[[0,0],[0,t.leftbottom],[1,t.rightbottom],[1,0]]},ua[20]=ua[150]=function(t){return[[1,0],[t.bottomright,0],[t.topright,1],[1,1]]},ua[80]=ua[90]=function(t){return[[1,1],[1,t.righttop],[0,t.lefttop],[0,1]]},ua[65]=ua[105]=function(t){return[[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},ua[160]=ua[10]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.leftbottom],[0,t.lefttop]]},ua[130]=ua[40]=function(t){return[[t.topleft,1],[t.topright,1],[t.bottomright,0],[t.bottomleft,0]]},ua[85]=function(){return[[0,0],[0,1],[1,1],[1,0]]},ua[101]=ua[69]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,1],[t.topleft,1]]},ua[149]=ua[21]=function(t){return[[t.topright,1],[1,1],[1,0],[0,0],[0,t.leftbottom]]},ua[86]=ua[84]=function(t){return[[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[1,1]]},ua[89]=ua[81]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,1]]},ua[96]=ua[74]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[24]=ua[146]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[t.topright,1]]},ua[6]=ua[164]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop]]},ua[129]=ua[41]=function(t){return[[t.topright,1],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1]]},ua[66]=ua[104]=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[144]=ua[26]=function(t){return[[1,1],[1,t.righttop],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[36]=ua[134]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[t.topleft,1],[t.topright,1]]},ua[9]=ua[161]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom]]},ua[37]=ua[133]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},ua[148]=ua[22]=function(t){return[[1,1],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[82]=ua[88]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1]]},ua[73]=ua[97]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},ua[145]=ua[25]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},ua[70]=ua[100]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[34]=function(t){return[ta(t),Qo(t)]},ua[35]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},ua[136]=function(t){return[Zo(t),Jo(t)]},ua[153]=function(t){return[Xo(t),Wo(t)]},ua[102]=function(t){return[$o(t),Ko(t)]},ua[155]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},ua[103]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[152]=function(t){return[Xo(t),Jo(t)]},ua[156]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[137]=function(t){return[Zo(t),Wo(t)]},ua[139]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},ua[98]=function(t){return[Qo(t),Ko(t)]},ua[99]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[38]=function(t){return[$o(t),ta(t)]},ua[39]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]};var ca=function t(e){this.id=t.buildId(e),this.coordinates=e,this.innerEdges=[],this.outerEdges=[],this.outerEdgesSorted=!1};ca.buildId=function(t){return t.join(",")},ca.prototype.removeInnerEdge=function(t){this.innerEdges=this.innerEdges.filter((function(e){return e.from.id!==t.from.id}))},ca.prototype.removeOuterEdge=function(t){this.outerEdges=this.outerEdges.filter((function(e){return e.to.id!==t.to.id}))},ca.prototype.addOuterEdge=function(t){this.outerEdges.push(t),this.outerEdgesSorted=!1},ca.prototype.sortOuterEdges=function(){var t=this;this.outerEdgesSorted||(this.outerEdges.sort((function(e,n){var l=e.to,i=n.to;if(l.coordinates[0]-t.coordinates[0]>=0&&i.coordinates[0]-t.coordinates[0]<0)return 1;if(l.coordinates[0]-t.coordinates[0]<0&&i.coordinates[0]-t.coordinates[0]>=0)return-1;if(l.coordinates[0]-t.coordinates[0]==0&&i.coordinates[0]-t.coordinates[0]==0)return l.coordinates[1]-t.coordinates[1]>=0||i.coordinates[1]-t.coordinates[1]>=0?l.coordinates[1]-i.coordinates[1]:i.coordinates[1]-l.coordinates[1];var r=al(t.coordinates,l.coordinates,i.coordinates);return r<0?1:r>0?-1:Math.pow(l.coordinates[0]-t.coordinates[0],2)+Math.pow(l.coordinates[1]-t.coordinates[1],2)-(Math.pow(i.coordinates[0]-t.coordinates[0],2)+Math.pow(i.coordinates[1]-t.coordinates[1],2))})),this.outerEdgesSorted=!0)},ca.prototype.getOuterEdges=function(){return this.sortOuterEdges(),this.outerEdges},ca.prototype.getOuterEdge=function(t){return this.sortOuterEdges(),this.outerEdges[t]},ca.prototype.addInnerEdge=function(t){this.innerEdges.push(t)};var da=function(t,e){this.from=t,this.to=e,this.next=void 0,this.label=void 0,this.symetric=void 0,this.ring=void 0,this.from.addOuterEdge(this),this.to.addInnerEdge(this)};da.prototype.getSymetric=function(){return this.symetric||(this.symetric=new da(this.to,this.from),this.symetric.symetric=this),this.symetric},da.prototype.deleteEdge=function(){this.from.removeOuterEdge(this),this.to.removeInnerEdge(this)},da.prototype.isEqual=function(t){return this.from.id===t.from.id&&this.to.id===t.to.id},da.prototype.toString=function(){return"Edge { "+this.from.id+" -> "+this.to.id+" }"},da.prototype.toLineString=function(){return a([this.from.coordinates,this.to.coordinates])},da.prototype.compareTo=function(t){return al(t.from.coordinates,t.to.coordinates,this.to.coordinates)};var ha=function(){this.edges=[],this.polygon=void 0,this.envelope=void 0},pa={length:{configurable:!0}};ha.prototype.push=function(t){this[this.edges.length]=t,this.edges.push(t),this.polygon=this.envelope=void 0},ha.prototype.get=function(t){return this.edges[t]},pa.length.get=function(){return this.edges.length},ha.prototype.forEach=function(t){this.edges.forEach(t)},ha.prototype.map=function(t){return this.edges.map(t)},ha.prototype.some=function(t){return this.edges.some(t)},ha.prototype.isValid=function(){return!0},ha.prototype.isHole=function(){var t=this,e=this.edges.reduce((function(e,n,l){return n.from.coordinates[1]>t.edges[e].from.coordinates[1]&&(e=l),e}),0),n=(0===e?this.length:e)-1,l=(e+1)%this.length,i=al(this.edges[n].from.coordinates,this.edges[e].from.coordinates,this.edges[l].from.coordinates);return 0===i?this.edges[n].from.coordinates[0]>this.edges[l].from.coordinates[0]:i>0},ha.prototype.toMultiPoint=function(){return d(this.edges.map((function(t){return t.from.coordinates})))},ha.prototype.toPolygon=function(){if(this.polygon)return this.polygon;var t=this.edges.map((function(t){return t.from.coordinates}));return t.push(this.edges[0].from.coordinates),this.polygon=r([t])},ha.prototype.getEnvelope=function(){return this.envelope?this.envelope:this.envelope=le(this.toPolygon())},ha.findEdgeRingContaining=function(t,e){var n,i,r=t.getEnvelope();return e.forEach((function(e){var o=e.getEnvelope();if(i&&(n=i.getEnvelope()),!function(t,e){var n=t.geometry.coordinates.map((function(t){return t[0]})),l=t.geometry.coordinates.map((function(t){return t[1]})),i=e.geometry.coordinates.map((function(t){return t[0]})),r=e.geometry.coordinates.map((function(t){return t[1]}));return Math.max(null,n)===Math.max(null,i)&&Math.max(null,l)===Math.max(null,r)&&Math.min(null,n)===Math.min(null,i)&&Math.min(null,l)===Math.min(null,r)}(o,r)&&sl(o,r)){var a=t.map((function(t){return t.from.coordinates})).find((function(t){return!e.some((function(e){return function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t,e.from.coordinates)}))}));a&&e.inside(l(a))&&(i&&!sl(n,o)||(i=e))}})),i},ha.prototype.inside=function(t){return Mt(t,this.toPolygon())},Object.defineProperties(ha.prototype,pa);var fa=function(){this.edges=[],this.nodes={}};fa.fromGeoJson=function(t){!function(t){if(!t)throw new Error("No geojson passed");if("FeatureCollection"!==t.type&&"GeometryCollection"!==t.type&&"MultiLineString"!==t.type&&"LineString"!==t.type&&"Feature"!==t.type)throw new Error("Invalid input type '"+t.type+"'. Geojson must be FeatureCollection, GeometryCollection, LineString, MultiLineString or Feature")}(t);var e=new fa;return R(t,(function(t){W(t,"LineString","Graph::fromGeoJson"),M(t,(function(t,n){if(t){var l=e.getNode(t),i=e.getNode(n);e.addEdge(l,i)}return n}))})),e},fa.prototype.getNode=function(t){var e=ca.buildId(t),n=this.nodes[e];return n||(n=this.nodes[e]=new ca(t)),n},fa.prototype.addEdge=function(t,e){var n=new da(t,e),l=n.getSymetric();this.edges.push(n),this.edges.push(l)},fa.prototype.deleteDangles=function(){var t=this;Object.keys(this.nodes).map((function(e){return t.nodes[e]})).forEach((function(e){return t._removeIfDangle(e)}))},fa.prototype._removeIfDangle=function(t){var e=this;if(t.innerEdges.length<=1){var n=t.getOuterEdges().map((function(t){return t.to}));this.removeNode(t),n.forEach((function(t){return e._removeIfDangle(t)}))}},fa.prototype.deleteCutEdges=function(){var t=this;this._computeNextCWEdges(),this._findLabeledEdgeRings(),this.edges.forEach((function(e){e.label===e.symetric.label&&(t.removeEdge(e.symetric),t.removeEdge(e))}))},fa.prototype._computeNextCWEdges=function(t){var e=this;void 0===t?Object.keys(this.nodes).forEach((function(t){return e._computeNextCWEdges(e.nodes[t])})):t.getOuterEdges().forEach((function(e,n){t.getOuterEdge((0===n?t.getOuterEdges().length:n)-1).symetric.next=e}))},fa.prototype._computeNextCCWEdges=function(t,e){for(var n,l,i=t.getOuterEdges(),r=i.length-1;r>=0;--r){var o=i[r],a=o.symetric,s=void 0,u=void 0;o.label===e&&(s=o),a.label===e&&(u=a),s&&u&&(u&&(l=u),s&&(l&&(l.next=s,l=void 0),n||(n=s)))}l&&(l.next=n)},fa.prototype._findLabeledEdgeRings=function(){var t=[],e=0;return this.edges.forEach((function(n){if(!(n.label>=0)){t.push(n);var l=n;do{l.label=e,l=l.next}while(!n.isEqual(l));e++}})),t},fa.prototype.getEdgeRings=function(){var t=this;this._computeNextCWEdges(),this.edges.forEach((function(t){t.label=void 0})),this._findLabeledEdgeRings().forEach((function(e){t._findIntersectionNodes(e).forEach((function(n){t._computeNextCCWEdges(n,e.label)}))}));var e=[];return this.edges.forEach((function(n){n.ring||e.push(t._findEdgeRing(n))})),e},fa.prototype._findIntersectionNodes=function(t){var e=[],n=t,l=function(){var l=0;n.from.getOuterEdges().forEach((function(e){e.label===t.label&&++l})),l>1&&e.push(n.from),n=n.next};do{l()}while(!t.isEqual(n));return e},fa.prototype._findEdgeRing=function(t){var e=t,n=new ha;do{n.push(e),e.ring=n,e=e.next}while(!t.isEqual(e));return n},fa.prototype.removeNode=function(t){var e=this;t.getOuterEdges().forEach((function(t){return e.removeEdge(t)})),t.innerEdges.forEach((function(t){return e.removeEdge(t)})),delete this.nodes[t.id]},fa.prototype.removeEdge=function(t){this.edges=this.edges.filter((function(e){return!e.isEqual(t)})),t.deleteEdge()};var ba=mt((function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n})),ma=mt((function(t,e){function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function l(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();(e=t.exports=i?n:l).supported=n,e.unsupported=l})),ga=mt((function(t){function e(t){return null==t}function n(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}var l=Array.prototype.slice,i=t.exports=function(t,r,o){return o||(o={}),t===r||(t instanceof Date&&r instanceof Date?t.getTime()===r.getTime():!t||!r||"object"!=typeof t&&"object"!=typeof r?o.strict?t===r:t==r:function(t,r,o){var a,s;if(e(t)||e(r))return!1;if(t.prototype!==r.prototype)return!1;if(ma(t))return!!ma(r)&&(t=l.call(t),r=l.call(r),i(t,r,o));if(n(t)){if(!n(r))return!1;if(t.length!==r.length)return!1;for(a=0;a<t.length;a++)if(t[a]!==r[a])return!1;return!0}try{var u=ba(t),c=ba(r)}catch(t){return!1}if(u.length!=c.length)return!1;for(u.sort(),c.sort(),a=u.length-1;a>=0;a--)if(u[a]!=c[a])return!1;for(a=u.length-1;a>=0;a--)if(!i(t[s=u[a]],r[s],o))return!1;return typeof t==typeof r}(t,r,o))}})),_a=function(t){this.precision=t&&t.precision?t.precision:17,this.direction=!(!t||!t.direction)&&t.direction,this.pseudoNode=!(!t||!t.pseudoNode)&&t.pseudoNode,this.objectComparator=t&&t.objectComparator?t.objectComparator:yl};_a.prototype.compare=function(t,e){if(t.type!==e.type||!_l(t,e))return!1;switch(t.type){case"Point":return this.compareCoord(t.coordinates,e.coordinates);case"LineString":return this.compareLine(t.coordinates,e.coordinates,0,!1);case"Polygon":return this.comparePolygon(t,e);case"Feature":return this.compareFeature(t,e);default:if(0===t.type.indexOf("Multi")){var n=this,l=gl(t),i=gl(e);return l.every((function(t){return this.some((function(e){return n.compare(t,e)}))}),i)}}return!1},_a.prototype.compareCoord=function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n].toFixed(this.precision)!==e[n].toFixed(this.precision))return!1;return!0},_a.prototype.compareLine=function(t,e,n,l){if(!_l(t,e))return!1;var i=this.pseudoNode?t:this.removePseudo(t),r=this.pseudoNode?e:this.removePseudo(e);if(!l||this.compareCoord(i[0],r[0])||(r=this.fixStartIndex(r,i))){var o=this.compareCoord(i[n],r[n]);return this.direction||o?this.comparePath(i,r):!!this.compareCoord(i[n],r[r.length-(1+n)])&&this.comparePath(i.slice().reverse(),r)}},_a.prototype.fixStartIndex=function(t,e){for(var n,l=-1,i=0;i<t.length;i++)if(this.compareCoord(t[i],e[0])){l=i;break}return l>=0&&(n=[].concat(t.slice(l,t.length),t.slice(1,l+1))),n},_a.prototype.comparePath=function(t,e){var n=this;return t.every((function(t,e){return n.compareCoord(t,this[e])}),e)},_a.prototype.comparePolygon=function(t,e){if(this.compareLine(t.coordinates[0],e.coordinates[0],1,!0)){var n=t.coordinates.slice(1,t.coordinates.length),l=e.coordinates.slice(1,e.coordinates.length),i=this;return n.every((function(t){return this.some((function(e){return i.compareLine(t,e,1,!0)}))}),l)}return!1},_a.prototype.compareFeature=function(t,e){return!(t.id!==e.id||!this.objectComparator(t.properties,e.properties)||!this.compareBBox(t,e))&&this.compare(t.geometry,e.geometry)},_a.prototype.compareBBox=function(t,e){return!!(!t.bbox&&!e.bbox||t.bbox&&e.bbox&&this.compareCoord(t.bbox,e.bbox))},_a.prototype.removePseudo=function(t){return t};var ya=_a,Aa=mt((function(t){function e(t,e,n,l){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(t,e,n,l)}e.prototype.run=function(t,e,n,l){this._init(t,e,n,l);for(var i=0;i<this._datasetLength;i++)if(1!==this._visited[i]){this._visited[i]=1;var r=this._regionQuery(i);if(r.length<this.minPts)this.noise.push(i);else{var o=this.clusters.length;this.clusters.push([]),this._addToCluster(i,o),this._expandCluster(o,r)}}return this.clusters},e.prototype._init=function(t,e,n,l){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this.noise=[],this._datasetLength=t.length,this._visited=new Array(this._datasetLength),this._assigned=new Array(this._datasetLength)}e&&(this.epsilon=e),n&&(this.minPts=n),l&&(this.distance=l)},e.prototype._expandCluster=function(t,e){for(var n=0;n<e.length;n++){var l=e[n];if(1!==this._visited[l]){this._visited[l]=1;var i=this._regionQuery(l);i.length>=this.minPts&&(e=this._mergeArrays(e,i))}1!==this._assigned[l]&&this._addToCluster(l,t)}},e.prototype._addToCluster=function(t,e){this.clusters[e].push(t),this._assigned[t]=1},e.prototype._regionQuery=function(t){for(var e=[],n=0;n<this._datasetLength;n++)this.distance(this.dataset[t],this.dataset[n])<this.epsilon&&e.push(n);return e},e.prototype._mergeArrays=function(t,e){for(var n=e.length,l=0;l<n;l++){var i=e[l];t.indexOf(i)<0&&t.push(i)}return t},e.prototype._euclideanDistance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;)n+=(t[l]-e[l])*(t[l]-e[l]);return Math.sqrt(n)},t.exports&&(t.exports=e)})),va=mt((function(t){function e(t,e,n){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(t,e,n)}e.prototype.init=function(t,e,n){this.assignments=[],this.centroids=[],void 0!==t&&(this.dataset=t),void 0!==e&&(this.k=e),void 0!==n&&(this.distance=n)},e.prototype.run=function(t,e){this.init(t,e);for(var n=this.dataset.length,l=0;l<this.k;l++)this.centroids[l]=this.randomCentroid();for(var i=!0;i;){i=this.assign();for(var r=0;r<this.k;r++){for(var o=new Array(c),a=0,s=0;s<c;s++)o[s]=0;for(var u=0;u<n;u++){var c=this.dataset[u].length;if(r===this.assignments[u]){for(s=0;s<c;s++)o[s]+=this.dataset[u][s];a++}}if(a>0){for(s=0;s<c;s++)o[s]/=a;this.centroids[r]=o}else this.centroids[r]=this.randomCentroid(),i=!0}}return this.getClusters()},e.prototype.randomCentroid=function(){var t,e,n=this.dataset.length-1;do{e=Math.round(Math.random()*n),t=this.dataset[e]}while(this.centroids.indexOf(t)>=0);return t},e.prototype.assign=function(){for(var t,e=!1,n=this.dataset.length,l=0;l<n;l++)(t=this.argmin(this.dataset[l],this.centroids,this.distance))!=this.assignments[l]&&(this.assignments[l]=t,e=!0);return e},e.prototype.getClusters=function(){for(var t,e=new Array(this.k),n=0;n<this.assignments.length;n++)void 0===e[t=this.assignments[n]]&&(e[t]=[]),e[t].push(n);return e},e.prototype.argmin=function(t,e,n){for(var l,i=Number.MAX_VALUE,r=0,o=e.length,a=0;a<o;a++)(l=n(t,e[a]))<i&&(i=l,r=a);return r},e.prototype.distance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;){var i=t[l]-e[l];n+=i*i}return Math.sqrt(n)},t.exports&&(t.exports=e)})),Ca=mt((function(t){function e(t,e,n){this._queue=[],this._priorities=[],this._sorting="desc",this._init(t,e,n)}e.prototype.insert=function(t,e){for(var n=this._queue.length,l=n;l--;){var i=this._priorities[l];"desc"===this._sorting?e>i&&(n=l):e<i&&(n=l)}this._insertAt(t,e,n)},e.prototype.remove=function(t){for(var e=this._queue.length;e--;)if(t===this._queue[e]){this._queue.splice(e,1),this._priorities.splice(e,1);break}},e.prototype.forEach=function(t){this._queue.forEach(t)},e.prototype.getElements=function(){return this._queue},e.prototype.getElementPriority=function(t){return this._priorities[t]},e.prototype.getPriorities=function(){return this._priorities},e.prototype.getElementsWithPriorities=function(){for(var t=[],e=0,n=this._queue.length;e<n;e++)t.push([this._queue[e],this._priorities[e]]);return t},e.prototype._init=function(t,e,n){if(t&&e){if(this._queue=[],this._priorities=[],t.length!==e.length)throw new Error("Arrays must have the same length");for(var l=0;l<t.length;l++)this.insert(t[l],e[l])}n&&(this._sorting=n)},e.prototype._insertAt=function(t,e,n){this._queue.length===n?(this._queue.push(t),this._priorities.push(e)):(this._queue.splice(n,0,t),this._priorities.splice(n,0,e))},t.exports&&(t.exports=e)})),wa=mt((function(t){function e(t,e,n,l){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(t,e,n,l)}if(t.exports)var n=Ca;e.prototype.run=function(t,e,l,i){this._init(t,e,l,i);for(var r=0,o=this.dataset.length;r<o;r++)if(1!==this._processed[r]){this._processed[r]=1,this.clusters.push([r]);var a=this.clusters.length-1;this._orderedList.push(r);var s=new n(null,null,"asc"),u=this._regionQuery(r);void 0!==this._distanceToCore(r)&&(this._updateQueue(r,u,s),this._expandCluster(a,s))}return this.clusters},e.prototype.getReachabilityPlot=function(){for(var t=[],e=0,n=this._orderedList.length;e<n;e++){var l=this._orderedList[e];t.push([l,this._reachability[l]])}return t},e.prototype._init=function(t,e,n,l){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this._reachability=new Array(this.dataset.length),this._processed=new Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}e&&(this.epsilon=e),n&&(this.minPts=n),l&&(this.distance=l)},e.prototype._updateQueue=function(t,e,n){var l=this;this._coreDistance=this._distanceToCore(t),e.forEach((function(e){if(void 0===l._processed[e]){var i=l.distance(l.dataset[t],l.dataset[e]),r=Math.max(l._coreDistance,i);void 0===l._reachability[e]?(l._reachability[e]=r,n.insert(e,r)):r<l._reachability[e]&&(l._reachability[e]=r,n.remove(e),n.insert(e,r))}}))},e.prototype._expandCluster=function(t,e){for(var n=e.getElements(),l=0,i=n.length;l<i;l++){var r=n[l];if(void 0===this._processed[r]){var o=this._regionQuery(r);this._processed[r]=1,this.clusters[t].push(r),this._orderedList.push(r),void 0!==this._distanceToCore(r)&&(this._updateQueue(r,o,e),this._expandCluster(t,e))}}},e.prototype._distanceToCore=function(t){for(var e=this.epsilon,n=0;n<e;n++)if(this._regionQuery(t,n).length>=this.minPts)return n},e.prototype._regionQuery=function(t,e){e=e||this.epsilon;for(var n=[],l=0,i=this.dataset.length;l<i;l++)this.distance(this.dataset[t],this.dataset[l])<e&&n.push(l);return n},e.prototype._euclideanDistance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;)n+=(t[l]-e[l])*(t[l]-e[l]);return Math.sqrt(n)},t.exports&&(t.exports=e)})),Pa=mt((function(t){t.exports&&(t.exports={DBSCAN:Aa,KMEANS:va,OPTICS:wa,PriorityQueue:Ca})})),xa=function(t,e,n){for(var l=t.length,i=0,r=0;r<l;r++){var o=(t[r]||0)-(e[r]||0);i+=o*o}return n?Math.sqrt(i):i},Sa=xa,ka=function(t,e,n){var l=Math.abs(t-e);return n?l:l*l},Ma=xa,Oa={search:function(t,e,n,l){t.cleanDirty();var i=(l=l||{}).heuristic||Oa.heuristics.manhattan,r=l.closest||!1,o=new Sl((function(t){return t.f})),a=e;for(e.h=i(e,n),o.push(e);o.size()>0;){var s=o.pop();if(s===n)return wl(s);s.closed=!0;for(var u=t.neighbors(s),c=0,d=u.length;c<d;++c){var h=u[c];if(!h.closed&&!h.isWall()){var p=s.g+h.getCost(s),f=h.visited;(!f||p<h.g)&&(h.visited=!0,h.parent=s,h.h=h.h||i(h,n),h.g=p,h.f=h.g+h.h,t.markDirty(h),r&&(h.h<a.h||h.h===a.h&&h.g<a.g)&&(a=h),f?o.rescoreElement(h):o.push(h))}}}return r?wl(a):[]},heuristics:{manhattan:function(t,e){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},diagonal:function(t,e){var n=Math.sqrt(2),l=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return 1*(l+i)+(n-2)*Math.min(l,i)}},cleanNode:function(t){t.f=0,t.g=0,t.h=0,t.visited=!1,t.closed=!1,t.parent=null}};Pl.prototype.init=function(){this.dirtyNodes=[];for(var t=0;t<this.nodes.length;t++)Oa.cleanNode(this.nodes[t])},Pl.prototype.cleanDirty=function(){for(var t=0;t<this.dirtyNodes.length;t++)Oa.cleanNode(this.dirtyNodes[t]);this.dirtyNodes=[]},Pl.prototype.markDirty=function(t){this.dirtyNodes.push(t)},Pl.prototype.neighbors=function(t){var e=[],n=t.x,l=t.y,i=this.grid;return i[n-1]&&i[n-1][l]&&e.push(i[n-1][l]),i[n+1]&&i[n+1][l]&&e.push(i[n+1][l]),i[n]&&i[n][l-1]&&e.push(i[n][l-1]),i[n]&&i[n][l+1]&&e.push(i[n][l+1]),this.diagonal&&(i[n-1]&&i[n-1][l-1]&&e.push(i[n-1][l-1]),i[n+1]&&i[n+1][l-1]&&e.push(i[n+1][l-1]),i[n-1]&&i[n-1][l+1]&&e.push(i[n-1][l+1]),i[n+1]&&i[n+1][l+1]&&e.push(i[n+1][l+1])),e},Pl.prototype.toString=function(){for(var t,e,n,l,i=[],r=this.grid,o=0,a=r.length;o<a;o++){for(t=[],n=0,l=(e=r[o]).length;n<l;n++)t.push(e[n].weight);i.push(t.join(" "))}return i.join("\n")},xl.prototype.toString=function(){return"["+this.x+" "+this.y+"]"},xl.prototype.getCost=function(t){return t&&t.x!==this.x&&t.y!==this.y?1.41421*this.weight:this.weight},xl.prototype.isWall=function(){return 0===this.weight},Sl.prototype={push:function(t){this.content.push(t),this.sinkDown(this.content.length-1)},pop:function(){var t=this.content[0],e=this.content.pop();return this.content.length>0&&(this.content[0]=e,this.bubbleUp(0)),t},remove:function(t){var e=this.content.indexOf(t),n=this.content.pop();e!==this.content.length-1&&(this.content[e]=n,this.scoreFunction(n)<this.scoreFunction(t)?this.sinkDown(e):this.bubbleUp(e))},size:function(){return this.content.length},rescoreElement:function(t){this.sinkDown(this.content.indexOf(t))},sinkDown:function(t){for(var e=this.content[t];t>0;){var n=(t+1>>1)-1,l=this.content[n];if(!(this.scoreFunction(e)<this.scoreFunction(l)))break;this.content[n]=e,this.content[t]=l,t=n}},bubbleUp:function(t){for(var e=this.content.length,n=this.content[t],l=this.scoreFunction(n);;){var i,r=t+1<<1,o=r-1,a=null;if(o<e&&(i=this.scoreFunction(this.content[o]))<l&&(a=o),r<e&&this.scoreFunction(this.content[r])<(null===a?l:i)&&(a=r),null===a)break;this.content[t]=this.content[a],this.content[a]=n,t=a}}};var Da=function(t){return function(){return t}};Ol.prototype={constructor:Ol,insert:function(t,e){var n,l,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=Il(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(l=n.U).L?(i=l.R)&&i.C?(n.C=i.C=!1,l.C=!0,t=l):(t===n.R&&(Tl(this,n),n=(t=n).U),n.C=!1,l.C=!0,El(this,l)):(i=l.L)&&i.C?(n.C=i.C=!1,l.C=!0,t=l):(t===n.L&&(El(this,n),n=(t=n).U),n.C=!1,l.C=!0,Tl(this,l)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,l,i=t.U,r=t.L,o=t.R;if(n=r?o?Il(o):r:o,i?i.L===t?i.L=n:i.R=n:this._=n,r&&o?(l=n.C,n.C=t.C,n.L=r,r.U=n,n!==o?(i=n.U,n.U=t.U,i.L=t=n.R,n.R=o,o.U=n):(n.U=i,i=n,t=n.R)):(l=t.C,t=n),t&&(t.U=i),!l)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,Tl(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,El(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Tl(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,El(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Tl(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,El(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Ta,Ea,Ia,La,ja,Ra=[],Fa=[],Na=1e-6,Ya=1e-12;Jl.prototype={constructor:Jl,polygons:function(){var t=this.edges;return this.cells.map((function(e){var n=e.halfedges.map((function(n){return Ul(e,t[n])}));return n.data=e.site.data,n}))},triangles:function(){var t=[],e=this.edges;return this.cells.forEach((function(n,l){if(r=(i=n.halfedges).length)for(var i,r,o,a=n.site,s=-1,u=e[i[r-1]],c=u.left===a?u.right:u.left;++s<r;)o=c,c=(u=e[i[s]]).left===a?u.right:u.left,o&&c&&l<o.index&&l<c.index&&Xl(a,o,c)<0&&t.push([a.data,o.data,c.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,e,n){for(var l,i,r=this,o=r._found||0,a=r.cells.length;!(i=r.cells[o]);)if(++o>=a)return null;var s=t-i.site[0],u=e-i.site[1],c=s*s+u*u;do{i=r.cells[l=o],o=null,i.halfedges.forEach((function(n){var l=r.edges[n],a=l.left;if(a!==i.site&&a||(a=l.right)){var s=t-a[0],u=e-a[1],d=s*s+u*u;d<c&&(c=d,o=a.index)}}))}while(null!==o);return r._found=l,null==n||c<=n*n?i.site:null}};var Ua=Object.freeze({randomPosition:ii,randomPoint:ri,randomPolygon:oi,randomLineString:ai}),Ba=Object.freeze({getCluster:ui,clusterEach:ci,clusterReduce:di,createBins:hi,applyFilter:pi,propertiesContainsFilter:fi,filterProperties:bi});"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(null==this)throw new TypeError(this+" is not an object");var e=Object(this),n=Math.max(Math.min(e.length,9007199254740991),0)||0,l=1 in arguments&&parseInt(Number(arguments[1]),10)||0;l=l<0?Math.max(n+l,0):Math.min(l,n);var i=2 in arguments&&void 0!==arguments[2]?parseInt(Number(arguments[2]),10)||0:n;for(i=i<0?Math.max(n+arguments[2],0):Math.min(i,n);l<i;)e[l]=t,++l;return e},writable:!0}),Number.isFinite=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Number.parseFloat=Number.parseFloat||parseFloat,Number.isNaN=Number.isNaN||function(t){return t!=t},Math.trunc=Math.trunc||function(t){return t<0?Math.ceil(t):Math.floor(t)};var za=function(){};za.prototype.interfaces_=function(){return[]},za.prototype.getClass=function(){return za},za.prototype.equalsWithTolerance=function(t,e,n){return Math.abs(t-e)<=n};var Ga=function(){},Ha=function(){},Va={MAX_VALUE:{configurable:!0}};Ha.isNaN=function(t){return Number.isNaN(t)},Ha.doubleToLongBits=function(t){return t},Ha.longBitsToDouble=function(t){return t},Ha.isInfinite=function(t){return!Number.isFinite(t)},Va.MAX_VALUE.get=function(){return Number.MAX_VALUE},Object.defineProperties(Ha,Va);var qa=function(){},Wa=function(){},$a=function(){},Xa=function t(){if(this.x=null,this.y=null,this.z=null,0===arguments.length)this.x=0,this.y=0,this.z=t.NULL_ORDINATE;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.z=e.z}else 2===arguments.length?(this.x=arguments[0],this.y=arguments[1],this.z=t.NULL_ORDINATE):3===arguments.length&&(this.x=arguments[0],this.y=arguments[1],this.z=arguments[2])},Ka={DimensionalComparator:{configurable:!0},serialVersionUID:{configurable:!0},NULL_ORDINATE:{configurable:!0},X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0}};Xa.prototype.setOrdinate=function(t,e){switch(t){case Xa.X:this.x=e;break;case Xa.Y:this.y=e;break;case Xa.Z:this.z=e;break;default:throw new Ga("Invalid ordinate index: "+t)}},Xa.prototype.equals2D=function(){if(1===arguments.length){var t=arguments[0];return this.x===t.x&&this.y===t.y}if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!za.equalsWithTolerance(this.x,e.x,n)&&!!za.equalsWithTolerance(this.y,e.y,n)}},Xa.prototype.getOrdinate=function(t){switch(t){case Xa.X:return this.x;case Xa.Y:return this.y;case Xa.Z:return this.z}throw new Ga("Invalid ordinate index: "+t)},Xa.prototype.equals3D=function(t){return this.x===t.x&&this.y===t.y&&(this.z===t.z||Ha.isNaN(this.z))&&Ha.isNaN(t.z)},Xa.prototype.equals=function(t){return t instanceof Xa&&this.equals2D(t)},Xa.prototype.equalInZ=function(t,e){return za.equalsWithTolerance(this.z,t.z,e)},Xa.prototype.compareTo=function(t){return this.x<t.x?-1:this.x>t.x?1:this.y<t.y?-1:this.y>t.y?1:0},Xa.prototype.clone=function(){},Xa.prototype.copy=function(){return new Xa(this)},Xa.prototype.toString=function(){return"("+this.x+", "+this.y+", "+this.z+")"},Xa.prototype.distance3D=function(t){var e=this.x-t.x,n=this.y-t.y,l=this.z-t.z;return Math.sqrt(e*e+n*n+l*l)},Xa.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},Xa.prototype.hashCode=function(){var t=17;return 37*(t=37*t+Xa.hashCode(this.x))+Xa.hashCode(this.y)},Xa.prototype.setCoordinate=function(t){this.x=t.x,this.y=t.y,this.z=t.z},Xa.prototype.interfaces_=function(){return[qa,Wa,mi]},Xa.prototype.getClass=function(){return Xa},Xa.hashCode=function(){if(1===arguments.length){var t=arguments[0],e=Ha.doubleToLongBits(t);return Math.trunc((e^e)>>>32)}},Ka.DimensionalComparator.get=function(){return Ja},Ka.serialVersionUID.get=function(){return 0x5cbf2c235c7e5800},Ka.NULL_ORDINATE.get=function(){return Ha.NaN},Ka.X.get=function(){return 0},Ka.Y.get=function(){return 1},Ka.Z.get=function(){return 2},Object.defineProperties(Xa,Ka);var Ja=function(t){if(this._dimensionsToTest=2,0===arguments.length);else if(1===arguments.length){var e=arguments[0];if(2!==e&&3!==e)throw new Ga("only 2 or 3 dimensions may be specified");this._dimensionsToTest=e}};Ja.prototype.compare=function(t,e){var n=t,l=e,i=Ja.compare(n.x,l.x);if(0!==i)return i;var r=Ja.compare(n.y,l.y);return 0!==r?r:this._dimensionsToTest<=2?0:Ja.compare(n.z,l.z)},Ja.prototype.interfaces_=function(){return[$a]},Ja.prototype.getClass=function(){return Ja},Ja.compare=function(t,e){return t<e?-1:t>e?1:Ha.isNaN(t)?Ha.isNaN(e)?0:-1:Ha.isNaN(e)?1:0};var Qa=function(){};Qa.prototype.create=function(){},Qa.prototype.interfaces_=function(){return[]},Qa.prototype.getClass=function(){return Qa};var Za=function(){},ts={INTERIOR:{configurable:!0},BOUNDARY:{configurable:!0},EXTERIOR:{configurable:!0},NONE:{configurable:!0}};Za.prototype.interfaces_=function(){return[]},Za.prototype.getClass=function(){return Za},Za.toLocationSymbol=function(t){switch(t){case Za.EXTERIOR:return"e";case Za.BOUNDARY:return"b";case Za.INTERIOR:return"i";case Za.NONE:return"-"}throw new Ga("Unknown location value: "+t)},ts.INTERIOR.get=function(){return 0},ts.BOUNDARY.get=function(){return 1},ts.EXTERIOR.get=function(){return 2},ts.NONE.get=function(){return-1},Object.defineProperties(Za,ts);var es=function(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1},ns=function(){},ls={LOG_10:{configurable:!0}};ns.prototype.interfaces_=function(){return[]},ns.prototype.getClass=function(){return ns},ns.log10=function(t){var e=Math.log(t);return Ha.isInfinite(e)||Ha.isNaN(e)?e:e/ns.LOG_10},ns.min=function(t,e,n,l){var i=t;return e<i&&(i=e),n<i&&(i=n),l<i&&(i=l),i},ns.clamp=function(){if("number"==typeof arguments[2]&&"number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1],n=arguments[2];return t<e?e:t>n?n:t}if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var l=arguments[0],i=arguments[1],r=arguments[2];return l<i?i:l>r?r:l}},ns.wrap=function(t,e){return t<0?e- -t%e:t%e},ns.max=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=t;return e>l&&(l=e),n>l&&(l=n),l}if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3],s=i;return r>s&&(s=r),o>s&&(s=o),a>s&&(s=a),s}},ns.average=function(t,e){return(t+e)/2},ls.LOG_10.get=function(){return Math.log(10)},Object.defineProperties(ns,ls);var is=function(t){this.str=t};is.prototype.append=function(t){this.str+=t},is.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)},is.prototype.toString=function(t){return this.str};var rs=function(t){this.value=t};rs.prototype.intValue=function(){return this.value},rs.prototype.compareTo=function(t){return this.value<t?-1:this.value>t?1:0},rs.isNaN=function(t){return Number.isNaN(t)};var os=function(){};os.isWhitespace=function(t){return t<=32&&t>=0||127===t},os.toUpperCase=function(t){return t.toUpperCase()};var as=function t(){if(this._hi=0,this._lo=0,0===arguments.length)this.init(0);else if(1===arguments.length){if("number"==typeof arguments[0]){var e=arguments[0];this.init(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}else if("string"==typeof arguments[0]){var l=arguments[0];t.call(this,t.parse(l))}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.init(i,r)}},ss={PI:{configurable:!0},TWO_PI:{configurable:!0},PI_2:{configurable:!0},E:{configurable:!0},NaN:{configurable:!0},EPS:{configurable:!0},SPLIT:{configurable:!0},MAX_PRINT_DIGITS:{configurable:!0},TEN:{configurable:!0},ONE:{configurable:!0},SCI_NOT_EXPONENT_CHAR:{configurable:!0},SCI_NOT_ZERO:{configurable:!0}};as.prototype.le=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<=t._lo},as.prototype.extractSignificantDigits=function(t,e){var n=this.abs(),l=as.magnitude(n._hi),i=as.TEN.pow(l);(n=n.divide(i)).gt(as.TEN)?(n=n.divide(as.TEN),l+=1):n.lt(as.ONE)&&(n=n.multiply(as.TEN),l-=1);for(var r=l+1,o=new is,a=as.MAX_PRINT_DIGITS-1,s=0;s<=a;s++){t&&s===r&&o.append(".");var u=Math.trunc(n._hi);if(u<0)break;var c=!1,d=0;u>9?(c=!0,d="9"):d="0"+u,o.append(d),n=n.subtract(as.valueOf(u)).multiply(as.TEN),c&&n.selfAdd(as.TEN);var h=!0,p=as.magnitude(n._hi);if(p<0&&Math.abs(p)>=a-s&&(h=!1),!h)break}return e[0]=l,o.toString()},as.prototype.sqr=function(){return this.multiply(this)},as.prototype.doubleValue=function(){return this._hi+this._lo},as.prototype.subtract=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.add(t.negate())}if("number"==typeof arguments[0]){var e=arguments[0];return this.add(-e)}},as.prototype.equals=function(){if(1===arguments.length){var t=arguments[0];return this._hi===t._hi&&this._lo===t._lo}},as.prototype.isZero=function(){return 0===this._hi&&0===this._lo},as.prototype.selfSubtract=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t._hi,-t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}},as.prototype.getSpecialNumberString=function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null},as.prototype.min=function(t){return this.le(t)?this:t},as.prototype.selfDivide=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfDivide(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfDivide(e,0)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1],i=null,r=null,o=null,a=null,s=null,u=null,c=null,d=null;return this._hi=d=(s=this._hi/n)+(u=(this._hi-(c=s*n)-(d=(i=(u=as.SPLIT*s)-(i=u-s))*(o=(d=as.SPLIT*n)-(o=d-n))-c+i*(a=n-o)+(r=s-i)*o+r*a)+this._lo-s*l)/n),this._lo=s-d+u,this}},as.prototype.dump=function(){return"DD<"+this._hi+", "+this._lo+">"},as.prototype.divide=function(){if(arguments[0]instanceof as){var t=arguments[0],e=null,n=null,l=null,i=null,r=null,o=null,a=null,s=null;return n=(r=this._hi/t._hi)-(e=(o=as.SPLIT*r)-(e=o-r)),s=e*(l=(s=as.SPLIT*t._hi)-(l=s-t._hi))-(a=r*t._hi)+e*(i=t._hi-l)+n*l+n*i,new as(s=r+(o=(this._hi-a-s+this._lo-r*t._lo)/t._hi),r-s+o)}if("number"==typeof arguments[0]){var u=arguments[0];return Ha.isNaN(u)?as.createNaN():as.copy(this).selfDivide(u,0)}},as.prototype.ge=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>=t._lo},as.prototype.pow=function(t){if(0===t)return as.valueOf(1);var e=new as(this),n=as.valueOf(1),l=Math.abs(t);if(l>1)for(;l>0;)l%2==1&&n.selfMultiply(e),(l/=2)>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n},as.prototype.ceil=function(){if(this.isNaN())return as.NaN;var t=Math.ceil(this._hi),e=0;return t===this._hi&&(e=Math.ceil(this._lo)),new as(t,e)},as.prototype.compareTo=function(t){return this._hi<t._hi?-1:this._hi>t._hi?1:this._lo<t._lo?-1:this._lo>t._lo?1:0},as.prototype.rint=function(){return this.isNaN()?this:this.add(.5).floor()},as.prototype.setValue=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.init(t),this}if("number"==typeof arguments[0]){var e=arguments[0];return this.init(e),this}},as.prototype.max=function(t){return this.ge(t)?this:t},as.prototype.sqrt=function(){if(this.isZero())return as.valueOf(0);if(this.isNegative())return as.NaN;var t=1/Math.sqrt(this._hi),e=as.valueOf(this._hi*t),n=this.subtract(e.sqr())._hi*(.5*t);return e.add(n)},as.prototype.selfAdd=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfAdd(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0],n=null,l=null,i=null,r=null,o=null;return this._hi=(n=(i=this._hi+e)+(o=e-(r=i-this._hi)+(this._hi-(i-r))+this._lo))+(l=o+(i-n)),this._lo=l+(n-this._hi),this}}else if(2===arguments.length){var a=arguments[0],s=arguments[1],u=null,c=null,d=null,h=null,p=null,f=null,b=null;p=(h=this._hi+a)-(f=h-this._hi),d=(c=this._lo+s)-(b=c-this._lo);var m=(u=h+(f=(p=a-f+(this._hi-p))+c))+(f=(d=s-b+(this._lo-d))+(f+(h-u))),g=f+(u-m);return this._hi=m,this._lo=g,this}},as.prototype.selfMultiply=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfMultiply(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfMultiply(e,0)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1],i=null,r=null,o=null,a=null,s=null,u=null;i=(s=as.SPLIT*this._hi)-this._hi,i=s-i;var c=(s=this._hi*n)+(u=i*(o=(u=as.SPLIT*n)-(o=u-n))-s+i*(a=n-o)+(r=this._hi-i)*o+r*a+(this._hi*l+this._lo*n)),d=u+(i=s-c);return this._hi=c,this._lo=d,this}},as.prototype.selfSqr=function(){return this.selfMultiply(this)},as.prototype.floor=function(){if(this.isNaN())return as.NaN;var t=Math.floor(this._hi),e=0;return t===this._hi&&(e=Math.floor(this._lo)),new as(t,e)},as.prototype.negate=function(){return this.isNaN()?this:new as(-this._hi,-this._lo)},as.prototype.clone=function(){},as.prototype.multiply=function(){if(arguments[0]instanceof as){var t=arguments[0];return t.isNaN()?as.createNaN():as.copy(this).selfMultiply(t)}if("number"==typeof arguments[0]){var e=arguments[0];return Ha.isNaN(e)?as.createNaN():as.copy(this).selfMultiply(e,0)}},as.prototype.isNaN=function(){return Ha.isNaN(this._hi)},as.prototype.intValue=function(){return Math.trunc(this._hi)},as.prototype.toString=function(){var t=as.magnitude(this._hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()},as.prototype.toStandardNotation=function(){var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),l=e[0]+1,i=n;return"."===n.charAt(0)?i="0"+n:l<0?i="0."+as.stringOfChar("0",-l)+n:-1===n.indexOf(".")&&(i=n+as.stringOfChar("0",l-n.length)+".0"),this.isNegative()?"-"+i:i},as.prototype.reciprocal=function(){var t,e,n,l,i=null,r=null,o=null,a=null;t=(n=1/this._hi)-(i=(o=as.SPLIT*n)-(i=o-n)),r=(a=as.SPLIT*this._hi)-this._hi;var s=n+(o=(1-(l=n*this._hi)-(a=i*(r=a-r)-l+i*(e=this._hi-r)+t*r+t*e)-n*this._lo)/this._hi);return new as(s,n-s+o)},as.prototype.toSciNotation=function(){if(this.isZero())return as.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),l=as.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===n.charAt(0))throw new Error("Found leading zero: "+n);var i="";n.length>1&&(i=n.substring(1));var r=n.charAt(0)+"."+i;return this.isNegative()?"-"+r+l:r+l},as.prototype.abs=function(){return this.isNaN()?as.NaN:this.isNegative()?this.negate():new as(this)},as.prototype.isPositive=function(){return(this._hi>0||0===this._hi)&&this._lo>0},as.prototype.lt=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<t._lo},as.prototype.add=function(){if(arguments[0]instanceof as){var t=arguments[0];return as.copy(this).selfAdd(t)}if("number"==typeof arguments[0]){var e=arguments[0];return as.copy(this).selfAdd(e)}},as.prototype.init=function(){if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];this._hi=t,this._lo=0}else if(arguments[0]instanceof as){var e=arguments[0];this._hi=e._hi,this._lo=e._lo}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this._hi=n,this._lo=l}},as.prototype.gt=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>t._lo},as.prototype.isNegative=function(){return(this._hi<0||0===this._hi)&&this._lo<0},as.prototype.trunc=function(){return this.isNaN()?as.NaN:this.isPositive()?this.floor():this.ceil()},as.prototype.signum=function(){return this._hi>0?1:this._hi<0?-1:this._lo>0?1:this._lo<0?-1:0},as.prototype.interfaces_=function(){return[mi,qa,Wa]},as.prototype.getClass=function(){return as},as.sqr=function(t){return as.valueOf(t).selfMultiply(t)},as.valueOf=function(){if("string"==typeof arguments[0]){var t=arguments[0];return as.parse(t)}if("number"==typeof arguments[0]){var e=arguments[0];return new as(e)}},as.sqrt=function(t){return as.valueOf(t).sqrt()},as.parse=function(t){for(var e=0,n=t.length;os.isWhitespace(t.charAt(e));)e++;var l=!1;if(e<n){var i=t.charAt(e);"-"!==i&&"+"!==i||(e++,"-"===i&&(l=!0))}for(var r=new as,o=0,a=0,s=0;!(e>=n);){var u=t.charAt(e);if(e++,os.isDigit(u)){var c=u-"0";r.selfMultiply(as.TEN),r.selfAdd(c),o++}else{if("."!==u){if("e"===u||"E"===u){var d=t.substring(e);try{s=rs.parseInt(d)}catch(e){throw e instanceof Error?new Error("Invalid exponent "+d+" in string "+t):e}break}throw new Error("Unexpected character '"+u+"' at position "+e+" in string "+t)}a=o}}var h=r,p=o-a-s;if(0===p)h=r;else if(p>0){var f=as.TEN.pow(p);h=r.divide(f)}else if(p<0){var b=as.TEN.pow(-p);h=r.multiply(b)}return l?h.negate():h},as.createNaN=function(){return new as(Ha.NaN,Ha.NaN)},as.copy=function(t){return new as(t)},as.magnitude=function(t){var e=Math.abs(t),n=Math.log(e)/Math.log(10),l=Math.trunc(Math.floor(n));return 10*Math.pow(10,l)<=e&&(l+=1),l},as.stringOfChar=function(t,e){for(var n=new is,l=0;l<e;l++)n.append(t);return n.toString()},ss.PI.get=function(){return new as(3.141592653589793,12246467991473532e-32)},ss.TWO_PI.get=function(){return new as(6.283185307179586,24492935982947064e-32)},ss.PI_2.get=function(){return new as(1.5707963267948966,6123233995736766e-32)},ss.E.get=function(){return new as(2.718281828459045,14456468917292502e-32)},ss.NaN.get=function(){return new as(Ha.NaN,Ha.NaN)},ss.EPS.get=function(){return 123259516440783e-46},ss.SPLIT.get=function(){return 134217729},ss.MAX_PRINT_DIGITS.get=function(){return 32},ss.TEN.get=function(){return as.valueOf(10)},ss.ONE.get=function(){return as.valueOf(1)},ss.SCI_NOT_EXPONENT_CHAR.get=function(){return"E"},ss.SCI_NOT_ZERO.get=function(){return"0.0E0"},Object.defineProperties(as,ss);var us=function(){},cs={DP_SAFE_EPSILON:{configurable:!0}};us.prototype.interfaces_=function(){return[]},us.prototype.getClass=function(){return us},us.orientationIndex=function(t,e,n){var l=us.orientationIndexFilter(t,e,n);if(l<=1)return l;var i=as.valueOf(e.x).selfAdd(-t.x),r=as.valueOf(e.y).selfAdd(-t.y),o=as.valueOf(n.x).selfAdd(-e.x),a=as.valueOf(n.y).selfAdd(-e.y);return i.selfMultiply(a).selfSubtract(r.selfMultiply(o)).signum()},us.signOfDet2x2=function(t,e,n,l){return t.multiply(l).selfSubtract(e.multiply(n)).signum()},us.intersection=function(t,e,n,l){var i=as.valueOf(l.y).selfSubtract(n.y).selfMultiply(as.valueOf(e.x).selfSubtract(t.x)),r=as.valueOf(l.x).selfSubtract(n.x).selfMultiply(as.valueOf(e.y).selfSubtract(t.y)),o=i.subtract(r),a=as.valueOf(l.x).selfSubtract(n.x).selfMultiply(as.valueOf(t.y).selfSubtract(n.y)),s=as.valueOf(l.y).selfSubtract(n.y).selfMultiply(as.valueOf(t.x).selfSubtract(n.x)),u=a.subtract(s).selfDivide(o).doubleValue(),c=as.valueOf(t.x).selfAdd(as.valueOf(e.x).selfSubtract(t.x).selfMultiply(u)).doubleValue(),d=as.valueOf(e.x).selfSubtract(t.x).selfMultiply(as.valueOf(t.y).selfSubtract(n.y)),h=as.valueOf(e.y).selfSubtract(t.y).selfMultiply(as.valueOf(t.x).selfSubtract(n.x)),p=d.subtract(h).selfDivide(o).doubleValue(),f=as.valueOf(n.y).selfAdd(as.valueOf(l.y).selfSubtract(n.y).selfMultiply(p)).doubleValue();return new Xa(c,f)},us.orientationIndexFilter=function(t,e,n){var l=null,i=(t.x-n.x)*(e.y-n.y),r=(t.y-n.y)*(e.x-n.x),o=i-r;if(i>0){if(r<=0)return us.signum(o);l=i+r}else{if(!(i<0))return us.signum(o);if(r>=0)return us.signum(o);l=-i-r}var a=us.DP_SAFE_EPSILON*l;return o>=a||-o>=a?us.signum(o):2},us.signum=function(t){return t>0?1:t<0?-1:0},cs.DP_SAFE_EPSILON.get=function(){return 1e-15},Object.defineProperties(us,cs);var ds=function(){},hs={X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0},M:{configurable:!0}};hs.X.get=function(){return 0},hs.Y.get=function(){return 1},hs.Z.get=function(){return 2},hs.M.get=function(){return 3},ds.prototype.setOrdinate=function(t,e,n){},ds.prototype.size=function(){},ds.prototype.getOrdinate=function(t,e){},ds.prototype.getCoordinate=function(){},ds.prototype.getCoordinateCopy=function(t){},ds.prototype.getDimension=function(){},ds.prototype.getX=function(t){},ds.prototype.clone=function(){},ds.prototype.expandEnvelope=function(t){},ds.prototype.copy=function(){},ds.prototype.getY=function(t){},ds.prototype.toCoordinateArray=function(){},ds.prototype.interfaces_=function(){return[Wa]},ds.prototype.getClass=function(){return ds},Object.defineProperties(ds,hs);var ps=function(){},fs=function(t){function e(){t.call(this,"Projective point not representable on the Cartesian plane.")}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(ps),bs=function(){};bs.arraycopy=function(t,e,n,l,i){for(var r=0,o=e;o<e+i;o++)n[l+r]=t[o],r++},bs.getProperty=function(t){return{"line.separator":"\n"}[t]};var ms=function t(){if(this.x=null,this.y=null,this.w=null,0===arguments.length)this.x=0,this.y=0,this.w=1;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.w=1}else if(2===arguments.length){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var n=arguments[0],l=arguments[1];this.x=n,this.y=l,this.w=1}else if(arguments[0]instanceof t&&arguments[1]instanceof t){var i=arguments[0],r=arguments[1];this.x=i.y*r.w-r.y*i.w,this.y=r.x*i.w-i.x*r.w,this.w=i.x*r.y-r.x*i.y}else if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var o=arguments[0],a=arguments[1];this.x=o.y-a.y,this.y=a.x-o.x,this.w=o.x*a.y-a.x*o.y}}else if(3===arguments.length){var s=arguments[0],u=arguments[1],c=arguments[2];this.x=s,this.y=u,this.w=c}else if(4===arguments.length){var d=arguments[0],h=arguments[1],p=arguments[2],f=arguments[3],b=d.y-h.y,m=h.x-d.x,g=d.x*h.y-h.x*d.y,_=p.y-f.y,y=f.x-p.x,A=p.x*f.y-f.x*p.y;this.x=m*A-y*g,this.y=_*g-b*A,this.w=b*y-_*m}};ms.prototype.getY=function(){var t=this.y/this.w;if(Ha.isNaN(t)||Ha.isInfinite(t))throw new fs;return t},ms.prototype.getX=function(){var t=this.x/this.w;if(Ha.isNaN(t)||Ha.isInfinite(t))throw new fs;return t},ms.prototype.getCoordinate=function(){var t=new Xa;return t.x=this.getX(),t.y=this.getY(),t},ms.prototype.interfaces_=function(){return[]},ms.prototype.getClass=function(){return ms},ms.intersection=function(t,e,n,l){var i=t.y-e.y,r=e.x-t.x,o=t.x*e.y-e.x*t.y,a=n.y-l.y,s=l.x-n.x,u=n.x*l.y-l.x*n.y,c=i*s-a*r,d=(r*u-s*o)/c,h=(a*o-i*u)/c;if(Ha.isNaN(d)||Ha.isInfinite(d)||Ha.isNaN(h)||Ha.isInfinite(h))throw new fs;return new Xa(d,h)};var gs=function t(){if(this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof Xa){var e=arguments[0];this.init(e.x,e.x,e.y,e.y)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.init(l.x,i.x,l.y,i.y)}else if(4===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];this.init(r,o,a,s)}},_s={serialVersionUID:{configurable:!0}};gs.prototype.getArea=function(){return this.getWidth()*this.getHeight()},gs.prototype.equals=function(t){if(!(t instanceof gs))return!1;var e=t;return this.isNull()?e.isNull():this._maxx===e.getMaxX()&&this._maxy===e.getMaxY()&&this._minx===e.getMinX()&&this._miny===e.getMinY()},gs.prototype.intersection=function(t){return this.isNull()||t.isNull()||!this.intersects(t)?new gs:new gs(this._minx>t._minx?this._minx:t._minx,this._maxx<t._maxx?this._maxx:t._maxx,this._miny>t._miny?this._miny:t._miny,this._maxy<t._maxy?this._maxy:t._maxy)},gs.prototype.isNull=function(){return this._maxx<this._minx},gs.prototype.getMaxX=function(){return this._maxx},gs.prototype.covers=function(){if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];return this.covers(t.x,t.y)}if(arguments[0]instanceof gs){var e=arguments[0];return!this.isNull()&&!e.isNull()&&e.getMinX()>=this._minx&&e.getMaxX()<=this._maxx&&e.getMinY()>=this._miny&&e.getMaxY()<=this._maxy}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return!this.isNull()&&n>=this._minx&&n<=this._maxx&&l>=this._miny&&l<=this._maxy}},gs.prototype.intersects=function(){if(1===arguments.length){if(arguments[0]instanceof gs){var t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t._minx>this._maxx||t._maxx<this._minx||t._miny>this._maxy||t._maxy<this._miny)}if(arguments[0]instanceof Xa){var e=arguments[0];return this.intersects(e.x,e.y)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return!this.isNull()&&!(n>this._maxx||n<this._minx||l>this._maxy||l<this._miny)}},gs.prototype.getMinY=function(){return this._miny},gs.prototype.getMinX=function(){return this._minx},gs.prototype.expandToInclude=function(){if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];this.expandToInclude(t.x,t.y)}else if(arguments[0]instanceof gs){var e=arguments[0];if(e.isNull())return null;this.isNull()?(this._minx=e.getMinX(),this._maxx=e.getMaxX(),this._miny=e.getMinY(),this._maxy=e.getMaxY()):(e._minx<this._minx&&(this._minx=e._minx),e._maxx>this._maxx&&(this._maxx=e._maxx),e._miny<this._miny&&(this._miny=e._miny),e._maxy>this._maxy&&(this._maxy=e._maxy))}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.isNull()?(this._minx=n,this._maxx=n,this._miny=l,this._maxy=l):(n<this._minx&&(this._minx=n),n>this._maxx&&(this._maxx=n),l<this._miny&&(this._miny=l),l>this._maxy&&(this._maxy=l))}},gs.prototype.minExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t<e?t:e},gs.prototype.getWidth=function(){return this.isNull()?0:this._maxx-this._minx},gs.prototype.compareTo=function(t){var e=t;return this.isNull()?e.isNull()?0:-1:e.isNull()?1:this._minx<e._minx?-1:this._minx>e._minx?1:this._miny<e._miny?-1:this._miny>e._miny?1:this._maxx<e._maxx?-1:this._maxx>e._maxx?1:this._maxy<e._maxy?-1:this._maxy>e._maxy?1:0},gs.prototype.translate=function(t,e){if(this.isNull())return null;this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)},gs.prototype.toString=function(){return"Env["+this._minx+" : "+this._maxx+", "+this._miny+" : "+this._maxy+"]"},gs.prototype.setToNull=function(){this._minx=0,this._maxx=-1,this._miny=0,this._maxy=-1},gs.prototype.getHeight=function(){return this.isNull()?0:this._maxy-this._miny},gs.prototype.maxExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e},gs.prototype.expandBy=function(){if(1===arguments.length){var t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this.isNull())return null;this._minx-=e,this._maxx+=e,this._miny-=n,this._maxy+=n,(this._minx>this._maxx||this._miny>this._maxy)&&this.setToNull()}},gs.prototype.contains=function(){if(1===arguments.length){if(arguments[0]instanceof gs){var t=arguments[0];return this.covers(t)}if(arguments[0]instanceof Xa){var e=arguments[0];return this.covers(e)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return this.covers(n,l)}},gs.prototype.centre=function(){return this.isNull()?null:new Xa((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)},gs.prototype.init=function(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof gs){var e=arguments[0];this._minx=e._minx,this._maxx=e._maxx,this._miny=e._miny,this._maxy=e._maxy}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.init(n.x,l.x,n.y,l.y)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];i<r?(this._minx=i,this._maxx=r):(this._minx=r,this._maxx=i),o<a?(this._miny=o,this._maxy=a):(this._miny=a,this._maxy=o)}},gs.prototype.getMaxY=function(){return this._maxy},gs.prototype.distance=function(t){if(this.intersects(t))return 0;var e=0;this._maxx<t._minx?e=t._minx-this._maxx:this._minx>t._maxx&&(e=this._minx-t._maxx);var n=0;return this._maxy<t._miny?n=t._miny-this._maxy:this._miny>t._maxy&&(n=this._miny-t._maxy),0===e?n:0===n?e:Math.sqrt(e*e+n*n)},gs.prototype.hashCode=function(){var t=17;return 37*(t=37*(t=37*(t=37*t+Xa.hashCode(this._minx))+Xa.hashCode(this._maxx))+Xa.hashCode(this._miny))+Xa.hashCode(this._maxy)},gs.prototype.interfaces_=function(){return[qa,mi]},gs.prototype.getClass=function(){return gs},gs.intersects=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.x<e.x?t.x:e.x)&&n.x<=(t.x>e.x?t.x:e.x)&&n.y>=(t.y<e.y?t.y:e.y)&&n.y<=(t.y>e.y?t.y:e.y)}if(4===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2],o=arguments[3],a=Math.min(r.x,o.x),s=Math.max(r.x,o.x),u=Math.min(l.x,i.x),c=Math.max(l.x,i.x);return!(u>s||c<a||(a=Math.min(r.y,o.y),s=Math.max(r.y,o.y),u=Math.min(l.y,i.y),c=Math.max(l.y,i.y),u>s||c<a))}},_s.serialVersionUID.get=function(){return 0x51845cd552189800},Object.defineProperties(gs,_s);var ys={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,emptyTypeStr:/^\s*(\w+)\s*EMPTY\s*$/,spaces:/\s+/,parenComma:/\)\s*,\s*\(/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,trimParens:/^\s*\(?(.*?)\)?\s*$/},As=function(t){this.geometryFactory=t||new Gu};As.prototype.read=function(t){var e,n;t=t.replace(/[\n\r]/g," ");var l=ys.typeStr.exec(t);if(-1!==t.search("EMPTY")&&((l=ys.emptyTypeStr.exec(t))[2]=void 0),l&&(n=l[1].toLowerCase(),Cs[n]&&(e=Cs[n].apply(this,[l[2]]))),void 0===e)throw new Error("Could not parse WKT "+t);return e},As.prototype.write=function(t){return this.extractGeometry(t)},As.prototype.extractGeometry=function(t){var e=t.getGeometryType().toLowerCase();if(!vs[e])return null;var n=e.toUpperCase();return t.isEmpty()?n+" EMPTY":n+"("+vs[e].apply(this,[t])+")"};var vs={coordinate:function(t){return t.x+" "+t.y},point:function(t){return vs.coordinate.call(this,t._coordinates._coordinates[0])},multipoint:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.point.apply(this,[t._geometries[n]])+")");return e.join(",")},linestring:function(t){for(var e=[],n=0,l=t._points._coordinates.length;n<l;++n)e.push(vs.coordinate.apply(this,[t._points._coordinates[n]]));return e.join(",")},linearring:function(t){for(var e=[],n=0,l=t._points._coordinates.length;n<l;++n)e.push(vs.coordinate.apply(this,[t._points._coordinates[n]]));return e.join(",")},multilinestring:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.linestring.apply(this,[t._geometries[n]])+")");return e.join(",")},polygon:function(t){var e=[];e.push("("+vs.linestring.apply(this,[t._shell])+")");for(var n=0,l=t._holes.length;n<l;++n)e.push("("+vs.linestring.apply(this,[t._holes[n]])+")");return e.join(",")},multipolygon:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.polygon.apply(this,[t._geometries[n]])+")");return e.join(",")},geometrycollection:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push(this.extractGeometry(t._geometries[n]));return e.join(",")}},Cs={point:function(t){if(void 0===t)return this.geometryFactory.createPoint();var e=t.trim().split(ys.spaces);return this.geometryFactory.createPoint(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])))},multipoint:function(t){if(void 0===t)return this.geometryFactory.createMultiPoint();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.point.apply(this,[e]));return this.geometryFactory.createMultiPoint(l)},linestring:function(t){if(void 0===t)return this.geometryFactory.createLineString();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].trim().split(ys.spaces),l.push(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLineString(l)},linearring:function(t){if(void 0===t)return this.geometryFactory.createLinearRing();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].trim().split(ys.spaces),l.push(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLinearRing(l)},multilinestring:function(t){if(void 0===t)return this.geometryFactory.createMultiLineString();for(var e,n=t.trim().split(ys.parenComma),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.linestring.apply(this,[e]));return this.geometryFactory.createMultiLineString(l)},polygon:function(t){if(void 0===t)return this.geometryFactory.createPolygon();for(var e,n,l,i,r=t.trim().split(ys.parenComma),o=[],a=0,s=r.length;a<s;++a)e=r[a].replace(ys.trimParens,"$1"),n=Cs.linestring.apply(this,[e]),l=this.geometryFactory.createLinearRing(n._points),0===a?i=l:o.push(l);return this.geometryFactory.createPolygon(i,o)},multipolygon:function(t){if(void 0===t)return this.geometryFactory.createMultiPolygon();for(var e,n=t.trim().split(ys.doubleParenComma),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.polygon.apply(this,[e]));return this.geometryFactory.createMultiPolygon(l)},geometrycollection:function(t){if(void 0===t)return this.geometryFactory.createGeometryCollection();for(var e=(t=t.replace(/,\s*([A-Za-z])/g,"|$1")).trim().split("|"),n=[],l=0,i=e.length;l<i;++l)n.push(this.read(e[l]));return this.geometryFactory.createGeometryCollection(n)}},ws=function(t){this.parser=new As(t)};ws.prototype.write=function(t){return this.parser.write(t)},ws.toLineString=function(t,e){if(2!==arguments.length)throw new Error("Not implemented");return"LINESTRING ( "+t.x+" "+t.y+", "+e.x+" "+e.y+" )"};var Ps=function(t){function e(e){t.call(this,e),this.name="RuntimeException",this.message=e,this.stack=(new t).stack}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Error),xs=function(t){function e(){if(t.call(this),0===arguments.length)t.call(this);else if(1===arguments.length){var e=arguments[0];t.call(this,e)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Ps),Ss=function(){};Ss.prototype.interfaces_=function(){return[]},Ss.prototype.getClass=function(){return Ss},Ss.shouldNeverReachHere=function(){if(0===arguments.length)Ss.shouldNeverReachHere(null);else if(1===arguments.length){var t=arguments[0];throw new xs("Should never reach here"+(null!==t?": "+t:""))}},Ss.isTrue=function(){var t;if(1===arguments.length)Ss.isTrue(arguments[0],null);else if(2===arguments.length&&(t=arguments[1],!arguments[0]))throw null===t?new xs:new xs(t)},Ss.equals=function(){var t,e,n;if(2===arguments.length)Ss.equals(t=arguments[0],e=arguments[1],null);else if(3===arguments.length&&(n=arguments[2],!(e=arguments[1]).equals(t=arguments[0])))throw new xs("Expected "+t+" but encountered "+e+(null!==n?": "+n:""))};var ks=function(){this._result=null,this._inputLines=Array(2).fill().map((function(){return Array(2)})),this._intPt=new Array(2).fill(null),this._intLineIndex=null,this._isProper=null,this._pa=null,this._pb=null,this._precisionModel=null,this._intPt[0]=new Xa,this._intPt[1]=new Xa,this._pa=this._intPt[0],this._pb=this._intPt[1],this._result=0},Ms={DONT_INTERSECT:{configurable:!0},DO_INTERSECT:{configurable:!0},COLLINEAR:{configurable:!0},NO_INTERSECTION:{configurable:!0},POINT_INTERSECTION:{configurable:!0},COLLINEAR_INTERSECTION:{configurable:!0}};ks.prototype.getIndexAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intLineIndex[t][e]},ks.prototype.getTopologySummary=function(){var t=new is;return this.isEndPoint()&&t.append(" endpoint"),this._isProper&&t.append(" proper"),this.isCollinear()&&t.append(" collinear"),t.toString()},ks.prototype.computeIntersection=function(t,e,n,l){this._inputLines[0][0]=t,this._inputLines[0][1]=e,this._inputLines[1][0]=n,this._inputLines[1][1]=l,this._result=this.computeIntersect(t,e,n,l)},ks.prototype.getIntersectionNum=function(){return this._result},ks.prototype.computeIntLineIndex=function(){if(0===arguments.length)null===this._intLineIndex&&(this._intLineIndex=Array(2).fill().map((function(){return Array(2)})),this.computeIntLineIndex(0),this.computeIntLineIndex(1));else if(1===arguments.length){var t=arguments[0];this.getEdgeDistance(t,0)>this.getEdgeDistance(t,1)?(this._intLineIndex[t][0]=0,this._intLineIndex[t][1]=1):(this._intLineIndex[t][0]=1,this._intLineIndex[t][1]=0)}},ks.prototype.isProper=function(){return this.hasIntersection()&&this._isProper},ks.prototype.setPrecisionModel=function(t){this._precisionModel=t},ks.prototype.isInteriorIntersection=function(){if(0===arguments.length)return!!this.isInteriorIntersection(0)||!!this.isInteriorIntersection(1);if(1===arguments.length){for(var t=arguments[0],e=0;e<this._result;e++)if(!this._intPt[e].equals2D(this._inputLines[t][0])&&!this._intPt[e].equals2D(this._inputLines[t][1]))return!0;return!1}},ks.prototype.getIntersection=function(t){return this._intPt[t]},ks.prototype.isEndPoint=function(){return this.hasIntersection()&&!this._isProper},ks.prototype.hasIntersection=function(){return this._result!==ks.NO_INTERSECTION},ks.prototype.getEdgeDistance=function(t,e){return ks.computeEdgeDistance(this._intPt[e],this._inputLines[t][0],this._inputLines[t][1])},ks.prototype.isCollinear=function(){return this._result===ks.COLLINEAR_INTERSECTION},ks.prototype.toString=function(){return ws.toLineString(this._inputLines[0][0],this._inputLines[0][1])+" - "+ws.toLineString(this._inputLines[1][0],this._inputLines[1][1])+this.getTopologySummary()},ks.prototype.getEndpoint=function(t,e){return this._inputLines[t][e]},ks.prototype.isIntersection=function(t){for(var e=0;e<this._result;e++)if(this._intPt[e].equals2D(t))return!0;return!1},ks.prototype.getIntersectionAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intPt[this._intLineIndex[t][e]]},ks.prototype.interfaces_=function(){return[]},ks.prototype.getClass=function(){return ks},ks.computeEdgeDistance=function(t,e,n){var l=Math.abs(n.x-e.x),i=Math.abs(n.y-e.y),r=-1;if(t.equals(e))r=0;else if(t.equals(n))r=l>i?l:i;else{var o=Math.abs(t.x-e.x),a=Math.abs(t.y-e.y);0!==(r=l>i?o:a)||t.equals(e)||(r=Math.max(o,a))}return Ss.isTrue(!(0===r&&!t.equals(e)),"Bad distance calculation"),r},ks.nonRobustComputeEdgeDistance=function(t,e,n){var l=t.x-e.x,i=t.y-e.y,r=Math.sqrt(l*l+i*i);return Ss.isTrue(!(0===r&&!t.equals(e)),"Invalid distance calculation"),r},Ms.DONT_INTERSECT.get=function(){return 0},Ms.DO_INTERSECT.get=function(){return 1},Ms.COLLINEAR.get=function(){return 2},Ms.NO_INTERSECTION.get=function(){return 0},Ms.POINT_INTERSECTION.get=function(){return 1},Ms.COLLINEAR_INTERSECTION.get=function(){return 2},Object.defineProperties(ks,Ms);var Os=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isInSegmentEnvelopes=function(t){var e=new gs(this._inputLines[0][0],this._inputLines[0][1]),n=new gs(this._inputLines[1][0],this._inputLines[1][1]);return e.contains(t)&&n.contains(t)},e.prototype.computeIntersection=function(){if(3!==arguments.length)return t.prototype.computeIntersection.apply(this,arguments);var e=arguments[0],n=arguments[1],l=arguments[2];if(this._isProper=!1,gs.intersects(n,l,e)&&0===Es.orientationIndex(n,l,e)&&0===Es.orientationIndex(l,n,e))return this._isProper=!0,(e.equals(n)||e.equals(l))&&(this._isProper=!1),this._result=t.POINT_INTERSECTION,null;this._result=t.NO_INTERSECTION},e.prototype.normalizeToMinimum=function(t,e,n,l,i){i.x=this.smallestInAbsValue(t.x,e.x,n.x,l.x),i.y=this.smallestInAbsValue(t.y,e.y,n.y,l.y),t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,n.x-=i.x,n.y-=i.y,l.x-=i.x,l.y-=i.y},e.prototype.safeHCoordinateIntersection=function(t,n,l,i){var r=null;try{r=ms.intersection(t,n,l,i)}catch(o){if(!(o instanceof fs))throw o;r=e.nearestEndpoint(t,n,l,i)}return r},e.prototype.intersection=function(t,n,l,i){var r=this.intersectionWithNormalization(t,n,l,i);return this.isInSegmentEnvelopes(r)||(r=new Xa(e.nearestEndpoint(t,n,l,i))),null!==this._precisionModel&&this._precisionModel.makePrecise(r),r},e.prototype.smallestInAbsValue=function(t,e,n,l){var i=t,r=Math.abs(i);return Math.abs(e)<r&&(i=e,r=Math.abs(e)),Math.abs(n)<r&&(i=n,r=Math.abs(n)),Math.abs(l)<r&&(i=l),i},e.prototype.checkDD=function(t,e,n,l,i){var r=us.intersection(t,e,n,l),o=this.isInSegmentEnvelopes(r);bs.out.println("DD in env = "+o+" --------------------- "+r),i.distance(r)>1e-4&&bs.out.println("Distance = "+i.distance(r))},e.prototype.intersectionWithNormalization=function(t,e,n,l){var i=new Xa(t),r=new Xa(e),o=new Xa(n),a=new Xa(l),s=new Xa;this.normalizeToEnvCentre(i,r,o,a,s);var u=this.safeHCoordinateIntersection(i,r,o,a);return u.x+=s.x,u.y+=s.y,u},e.prototype.computeCollinearIntersection=function(e,n,l,i){var r=gs.intersects(e,n,l),o=gs.intersects(e,n,i),a=gs.intersects(l,i,e),s=gs.intersects(l,i,n);return r&&o?(this._intPt[0]=l,this._intPt[1]=i,t.COLLINEAR_INTERSECTION):a&&s?(this._intPt[0]=e,this._intPt[1]=n,t.COLLINEAR_INTERSECTION):r&&a?(this._intPt[0]=l,this._intPt[1]=e,!l.equals(e)||o||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):r&&s?(this._intPt[0]=l,this._intPt[1]=n,!l.equals(n)||o||a?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):o&&a?(this._intPt[0]=i,this._intPt[1]=e,!i.equals(e)||r||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):o&&s?(this._intPt[0]=i,this._intPt[1]=n,!i.equals(n)||r||a?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):t.NO_INTERSECTION},e.prototype.normalizeToEnvCentre=function(t,e,n,l,i){var r=t.x<e.x?t.x:e.x,o=t.y<e.y?t.y:e.y,a=t.x>e.x?t.x:e.x,s=t.y>e.y?t.y:e.y,u=n.x<l.x?n.x:l.x,c=n.y<l.y?n.y:l.y,d=n.x>l.x?n.x:l.x,h=n.y>l.y?n.y:l.y,p=((o>c?o:c)+(s<h?s:h))/2;i.x=((r>u?r:u)+(a<d?a:d))/2,i.y=p,t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,n.x-=i.x,n.y-=i.y,l.x-=i.x,l.y-=i.y},e.prototype.computeIntersect=function(e,n,l,i){if(this._isProper=!1,!gs.intersects(e,n,l,i))return t.NO_INTERSECTION;var r=Es.orientationIndex(e,n,l),o=Es.orientationIndex(e,n,i);if(r>0&&o>0||r<0&&o<0)return t.NO_INTERSECTION;var a=Es.orientationIndex(l,i,e),s=Es.orientationIndex(l,i,n);return a>0&&s>0||a<0&&s<0?t.NO_INTERSECTION:0===r&&0===o&&0===a&&0===s?this.computeCollinearIntersection(e,n,l,i):(0===r||0===o||0===a||0===s?(this._isProper=!1,e.equals2D(l)||e.equals2D(i)?this._intPt[0]=e:n.equals2D(l)||n.equals2D(i)?this._intPt[0]=n:0===r?this._intPt[0]=new Xa(l):0===o?this._intPt[0]=new Xa(i):0===a?this._intPt[0]=new Xa(e):0===s&&(this._intPt[0]=new Xa(n))):(this._isProper=!0,this._intPt[0]=this.intersection(e,n,l,i)),t.POINT_INTERSECTION)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.nearestEndpoint=function(t,e,n,l){var i=t,r=Es.distancePointLine(t,n,l),o=Es.distancePointLine(e,n,l);return o<r&&(r=o,i=e),(o=Es.distancePointLine(n,t,e))<r&&(r=o,i=n),(o=Es.distancePointLine(l,t,e))<r&&(r=o,i=l),i},e}(ks),Ds=function(){};Ds.prototype.interfaces_=function(){return[]},Ds.prototype.getClass=function(){return Ds},Ds.orientationIndex=function(t,e,n){return Ds.signOfDet2x2(e.x-t.x,e.y-t.y,n.x-e.x,n.y-e.y)},Ds.signOfDet2x2=function(t,e,n,l){var i=null,r=null,o=null;if(i=1,0===t||0===l)return 0===e||0===n?0:e>0?n>0?-i:i:n>0?i:-i;if(0===e||0===n)return l>0?t>0?i:-i:t>0?-i:i;if(e>0?l>0?e<=l||(i=-i,r=t,t=n,n=r,r=e,e=l,l=r):e<=-l?(i=-i,n=-n,l=-l):(r=t,t=-n,n=r,r=e,e=-l,l=r):l>0?-e<=l?(i=-i,t=-t,e=-e):(r=-t,t=n,n=r,r=-e,e=l,l=r):e>=l?(t=-t,e=-e,n=-n,l=-l):(i=-i,r=-t,t=-n,n=r,r=-e,e=-l,l=r),t>0){if(!(n>0))return i;if(!(t<=n))return i}else{if(n>0)return-i;if(!(t>=n))return-i;i=-i,t=-t,n=-n}for(;;){if((l-=(o=Math.floor(n/t))*e)<0)return-i;if(l>e)return i;if(t>(n-=o*t)+n){if(e<l+l)return i}else{if(e>l+l)return-i;n=t-n,l=e-l,i=-i}if(0===l)return 0===n?0:-i;if(0===n)return i;if((e-=(o=Math.floor(t/n))*l)<0)return i;if(e>l)return-i;if(n>(t-=o*n)+t){if(l<e+e)return-i}else{if(l>e+e)return i;t=n-t,e=l-e,i=-i}if(0===e)return 0===t?0:i;if(0===t)return-i}};var Ts=function(){this._p=null,this._crossingCount=0,this._isPointOnSegment=!1;var t=arguments[0];this._p=t};Ts.prototype.countSegment=function(t,e){if(t.x<this._p.x&&e.x<this._p.x)return null;if(this._p.x===e.x&&this._p.y===e.y)return this._isPointOnSegment=!0,null;if(t.y===this._p.y&&e.y===this._p.y){var n=t.x,l=e.x;return n>l&&(n=e.x,l=t.x),this._p.x>=n&&this._p.x<=l&&(this._isPointOnSegment=!0),null}if(t.y>this._p.y&&e.y<=this._p.y||e.y>this._p.y&&t.y<=this._p.y){var i=t.y-this._p.y,r=e.y-this._p.y,o=Ds.signOfDet2x2(t.x-this._p.x,i,e.x-this._p.x,r);if(0===o)return this._isPointOnSegment=!0,null;r<i&&(o=-o),o>0&&this._crossingCount++}},Ts.prototype.isPointInPolygon=function(){return this.getLocation()!==Za.EXTERIOR},Ts.prototype.getLocation=function(){return this._isPointOnSegment?Za.BOUNDARY:this._crossingCount%2==1?Za.INTERIOR:Za.EXTERIOR},Ts.prototype.isOnSegment=function(){return this._isPointOnSegment},Ts.prototype.interfaces_=function(){return[]},Ts.prototype.getClass=function(){return Ts},Ts.locatePointInRing=function(){if(arguments[0]instanceof Xa&&es(arguments[1],ds)){for(var t=arguments[0],e=arguments[1],n=new Ts(t),l=new Xa,i=new Xa,r=1;r<e.size();r++)if(e.getCoordinate(r,l),e.getCoordinate(r-1,i),n.countSegment(l,i),n.isOnSegment())return n.getLocation();return n.getLocation()}if(arguments[0]instanceof Xa&&arguments[1]instanceof Array){for(var o=arguments[0],a=arguments[1],s=new Ts(o),u=1;u<a.length;u++){var c=a[u],d=a[u-1];if(s.countSegment(c,d),s.isOnSegment())return s.getLocation()}return s.getLocation()}};var Es=function(){},Is={CLOCKWISE:{configurable:!0},RIGHT:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},LEFT:{configurable:!0},COLLINEAR:{configurable:!0},STRAIGHT:{configurable:!0}};Es.prototype.interfaces_=function(){return[]},Es.prototype.getClass=function(){return Es},Es.orientationIndex=function(t,e,n){return us.orientationIndex(t,e,n)},Es.signedArea=function(){if(arguments[0]instanceof Array){var t=arguments[0];if(t.length<3)return 0;for(var e=0,n=t[0].x,l=1;l<t.length-1;l++){var i=t[l].x-n,r=t[l+1].y;e+=i*(t[l-1].y-r)}return e/2}if(es(arguments[0],ds)){var o=arguments[0],a=o.size();if(a<3)return 0;var s=new Xa,u=new Xa,c=new Xa;o.getCoordinate(0,u),o.getCoordinate(1,c);var d=u.x;c.x-=d;for(var h=0,p=1;p<a-1;p++)s.y=u.y,u.x=c.x,u.y=c.y,o.getCoordinate(p+1,c),c.x-=d,h+=u.x*(s.y-c.y);return h/2}},Es.distanceLineLine=function(t,e,n,l){if(t.equals(e))return Es.distancePointLine(t,n,l);if(n.equals(l))return Es.distancePointLine(l,t,e);var i=!1;if(gs.intersects(t,e,n,l)){var r=(e.x-t.x)*(l.y-n.y)-(e.y-t.y)*(l.x-n.x);if(0===r)i=!0;else{var o=((t.y-n.y)*(e.x-t.x)-(t.x-n.x)*(e.y-t.y))/r,a=((t.y-n.y)*(l.x-n.x)-(t.x-n.x)*(l.y-n.y))/r;(a<0||a>1||o<0||o>1)&&(i=!0)}}else i=!0;return i?ns.min(Es.distancePointLine(t,n,l),Es.distancePointLine(e,n,l),Es.distancePointLine(n,t,e),Es.distancePointLine(l,t,e)):0},Es.isPointInRing=function(t,e){return Es.locatePointInRing(t,e)!==Za.EXTERIOR},Es.computeLength=function(t){var e=t.size();if(e<=1)return 0;var n=0,l=new Xa;t.getCoordinate(0,l);for(var i=l.x,r=l.y,o=1;o<e;o++){t.getCoordinate(o,l);var a=l.x,s=l.y,u=a-i,c=s-r;n+=Math.sqrt(u*u+c*c),i=a,r=s}return n},Es.isCCW=function(t){var e=t.length-1;if(e<3)throw new Ga("Ring has fewer than 4 points, so orientation cannot be determined");for(var n=t[0],l=0,i=1;i<=e;i++){var r=t[i];r.y>n.y&&(n=r,l=i)}var o=l;do{(o-=1)<0&&(o=e)}while(t[o].equals2D(n)&&o!==l);var a=l;do{a=(a+1)%e}while(t[a].equals2D(n)&&a!==l);var s=t[o],u=t[a];if(s.equals2D(n)||u.equals2D(n)||s.equals2D(u))return!1;var c=Es.computeOrientation(s,n,u);return 0===c?s.x>u.x:c>0},Es.locatePointInRing=function(t,e){return Ts.locatePointInRing(t,e)},Es.distancePointLinePerpendicular=function(t,e,n){var l=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y);return Math.abs(((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/l)*Math.sqrt(l)},Es.computeOrientation=function(t,e,n){return Es.orientationIndex(t,e,n)},Es.distancePointLine=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(0===e.length)throw new Ga("Line array must contain at least one vertex");for(var n=t.distance(e[0]),l=0;l<e.length-1;l++){var i=Es.distancePointLine(t,e[l],e[l+1]);i<n&&(n=i)}return n}if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];if(o.x===a.x&&o.y===a.y)return r.distance(o);var s=(a.x-o.x)*(a.x-o.x)+(a.y-o.y)*(a.y-o.y),u=((r.x-o.x)*(a.x-o.x)+(r.y-o.y)*(a.y-o.y))/s;if(u<=0)return r.distance(o);if(u>=1)return r.distance(a);var c=((o.y-r.y)*(a.x-o.x)-(o.x-r.x)*(a.y-o.y))/s;return Math.abs(c)*Math.sqrt(s)}},Es.isOnLine=function(t,e){for(var n=new Os,l=1;l<e.length;l++)if(n.computeIntersection(t,e[l-1],e[l]),n.hasIntersection())return!0;return!1},Is.CLOCKWISE.get=function(){return-1},Is.RIGHT.get=function(){return Es.CLOCKWISE},Is.COUNTERCLOCKWISE.get=function(){return 1},Is.LEFT.get=function(){return Es.COUNTERCLOCKWISE},Is.COLLINEAR.get=function(){return 0},Is.STRAIGHT.get=function(){return Es.COLLINEAR},Object.defineProperties(Es,Is);var Ls=function(){};Ls.prototype.filter=function(t){},Ls.prototype.interfaces_=function(){return[]},Ls.prototype.getClass=function(){return Ls};var js=function(){var t=arguments[0];this._envelope=null,this._factory=null,this._SRID=null,this._userData=null,this._factory=t,this._SRID=t.getSRID()},Rs={serialVersionUID:{configurable:!0},SORTINDEX_POINT:{configurable:!0},SORTINDEX_MULTIPOINT:{configurable:!0},SORTINDEX_LINESTRING:{configurable:!0},SORTINDEX_LINEARRING:{configurable:!0},SORTINDEX_MULTILINESTRING:{configurable:!0},SORTINDEX_POLYGON:{configurable:!0},SORTINDEX_MULTIPOLYGON:{configurable:!0},SORTINDEX_GEOMETRYCOLLECTION:{configurable:!0},geometryChangedFilter:{configurable:!0}};js.prototype.isGeometryCollection=function(){return this.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION},js.prototype.getFactory=function(){return this._factory},js.prototype.getGeometryN=function(t){return this},js.prototype.getArea=function(){return 0},js.prototype.isRectangle=function(){return!1},js.prototype.equals=function(){if(arguments[0]instanceof js){var t=arguments[0];return null!==t&&this.equalsTopo(t)}if(arguments[0]instanceof Object){var e=arguments[0];if(!(e instanceof js))return!1;var n=e;return this.equalsExact(n)}},js.prototype.equalsExact=function(t){return this===t||this.equalsExact(t,0)},js.prototype.geometryChanged=function(){this.apply(js.geometryChangedFilter)},js.prototype.geometryChangedAction=function(){this._envelope=null},js.prototype.equalsNorm=function(t){return null!==t&&this.norm().equalsExact(t.norm())},js.prototype.getLength=function(){return 0},js.prototype.getNumGeometries=function(){return 1},js.prototype.compareTo=function(){if(1===arguments.length){var t=arguments[0],e=t;return this.getSortIndex()!==e.getSortIndex()?this.getSortIndex()-e.getSortIndex():this.isEmpty()&&e.isEmpty()?0:this.isEmpty()?-1:e.isEmpty()?1:this.compareToSameClass(t)}if(2===arguments.length){var n=arguments[0],l=arguments[1];return this.getSortIndex()!==n.getSortIndex()?this.getSortIndex()-n.getSortIndex():this.isEmpty()&&n.isEmpty()?0:this.isEmpty()?-1:n.isEmpty()?1:this.compareToSameClass(n,l)}},js.prototype.getUserData=function(){return this._userData},js.prototype.getSRID=function(){return this._SRID},js.prototype.getEnvelope=function(){return this.getFactory().toGeometry(this.getEnvelopeInternal())},js.prototype.checkNotGeometryCollection=function(t){if(t.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION)throw new Ga("This method does not support GeometryCollection arguments")},js.prototype.equal=function(t,e,n){return 0===n?t.equals(e):t.distance(e)<=n},js.prototype.norm=function(){var t=this.copy();return t.normalize(),t},js.prototype.getPrecisionModel=function(){return this._factory.getPrecisionModel()},js.prototype.getEnvelopeInternal=function(){return null===this._envelope&&(this._envelope=this.computeEnvelopeInternal()),new gs(this._envelope)},js.prototype.setSRID=function(t){this._SRID=t},js.prototype.setUserData=function(t){this._userData=t},js.prototype.compare=function(t,e){for(var n=t.iterator(),l=e.iterator();n.hasNext()&&l.hasNext();){var i=n.next(),r=l.next(),o=i.compareTo(r);if(0!==o)return o}return n.hasNext()?1:l.hasNext()?-1:0},js.prototype.hashCode=function(){return this.getEnvelopeInternal().hashCode()},js.prototype.isGeometryCollectionOrDerived=function(){return this.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION||this.getSortIndex()===js.SORTINDEX_MULTIPOINT||this.getSortIndex()===js.SORTINDEX_MULTILINESTRING||this.getSortIndex()===js.SORTINDEX_MULTIPOLYGON},js.prototype.interfaces_=function(){return[Wa,qa,mi]},js.prototype.getClass=function(){return js},js.hasNonEmptyElements=function(t){for(var e=0;e<t.length;e++)if(!t[e].isEmpty())return!0;return!1},js.hasNullElements=function(t){for(var e=0;e<t.length;e++)if(null===t[e])return!0;return!1},Rs.serialVersionUID.get=function(){return 0x799ea46522854c00},Rs.SORTINDEX_POINT.get=function(){return 0},Rs.SORTINDEX_MULTIPOINT.get=function(){return 1},Rs.SORTINDEX_LINESTRING.get=function(){return 2},Rs.SORTINDEX_LINEARRING.get=function(){return 3},Rs.SORTINDEX_MULTILINESTRING.get=function(){return 4},Rs.SORTINDEX_POLYGON.get=function(){return 5},Rs.SORTINDEX_MULTIPOLYGON.get=function(){return 6},Rs.SORTINDEX_GEOMETRYCOLLECTION.get=function(){return 7},Rs.geometryChangedFilter.get=function(){return Fs},Object.defineProperties(js,Rs);var Fs=function(){};Fs.interfaces_=function(){return[Ls]},Fs.filter=function(t){t.geometryChangedAction()};var Ns=function(){};Ns.prototype.filter=function(t){},Ns.prototype.interfaces_=function(){return[]},Ns.prototype.getClass=function(){return Ns};var Ys=function(){},Us={Mod2BoundaryNodeRule:{configurable:!0},EndPointBoundaryNodeRule:{configurable:!0},MultiValentEndPointBoundaryNodeRule:{configurable:!0},MonoValentEndPointBoundaryNodeRule:{configurable:!0},MOD2_BOUNDARY_RULE:{configurable:!0},ENDPOINT_BOUNDARY_RULE:{configurable:!0},MULTIVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},MONOVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},OGC_SFS_BOUNDARY_RULE:{configurable:!0}};Ys.prototype.isInBoundary=function(t){},Ys.prototype.interfaces_=function(){return[]},Ys.prototype.getClass=function(){return Ys},Us.Mod2BoundaryNodeRule.get=function(){return Bs},Us.EndPointBoundaryNodeRule.get=function(){return zs},Us.MultiValentEndPointBoundaryNodeRule.get=function(){return Gs},Us.MonoValentEndPointBoundaryNodeRule.get=function(){return Hs},Us.MOD2_BOUNDARY_RULE.get=function(){return new Bs},Us.ENDPOINT_BOUNDARY_RULE.get=function(){return new zs},Us.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Gs},Us.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Hs},Us.OGC_SFS_BOUNDARY_RULE.get=function(){return Ys.MOD2_BOUNDARY_RULE},Object.defineProperties(Ys,Us);var Bs=function(){};Bs.prototype.isInBoundary=function(t){return t%2==1},Bs.prototype.interfaces_=function(){return[Ys]},Bs.prototype.getClass=function(){return Bs};var zs=function(){};zs.prototype.isInBoundary=function(t){return t>0},zs.prototype.interfaces_=function(){return[Ys]},zs.prototype.getClass=function(){return zs};var Gs=function(){};Gs.prototype.isInBoundary=function(t){return t>1},Gs.prototype.interfaces_=function(){return[Ys]},Gs.prototype.getClass=function(){return Gs};var Hs=function(){};Hs.prototype.isInBoundary=function(t){return 1===t},Hs.prototype.interfaces_=function(){return[Ys]},Hs.prototype.getClass=function(){return Hs};var Vs=function(){};Vs.prototype.add=function(){},Vs.prototype.addAll=function(){},Vs.prototype.isEmpty=function(){},Vs.prototype.iterator=function(){},Vs.prototype.size=function(){},Vs.prototype.toArray=function(){},Vs.prototype.remove=function(){};var qs=function(t){function e(e){t.call(this),this.message=e||""}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={name:{configurable:!0}};return n.name.get=function(){return"IndexOutOfBoundsException"},Object.defineProperties(e,n),e}(Error),Ws=function(){};Ws.prototype.hasNext=function(){},Ws.prototype.next=function(){},Ws.prototype.remove=function(){};var $s=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(){},e.prototype.set=function(){},e.prototype.isEmpty=function(){},e}(Vs);(gi.prototype=new Error).name="NoSuchElementException";var Xs=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.ensureCapacity=function(){},e.prototype.interfaces_=function(){return[t,Vs]},e.prototype.add=function(t){return 1===arguments.length?this.array_.push(t):this.array_.splice(arguments[0],arguments[1]),!0},e.prototype.clear=function(){this.array_=[]},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.set=function(t,e){var n=this.array_[t];return this.array_[t]=e,n},e.prototype.iterator=function(){return new Ks(this)},e.prototype.get=function(t){if(t<0||t>=this.size())throw new qs;return this.array_[t]},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.size=function(){return this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},e.prototype.remove=function(t){for(var e=!1,n=0,l=this.array_.length;n<l;n++)if(this.array_[n]===t){this.array_.splice(n,1),e=!0;break}return e},e}($s),Ks=function(t){function e(e){t.call(this),this.arrayList_=e,this.position_=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.next=function(){if(this.position_===this.arrayList_.size())throw new gi;return this.arrayList_.get(this.position_++)},e.prototype.hasNext=function(){return this.position_<this.arrayList_.size()},e.prototype.set=function(t){return this.arrayList_.set(this.position_-1,t)},e.prototype.remove=function(){this.arrayList_.remove(this.arrayList_.get(this.position_))},e}(Ws),Js=function(t){function e(){if(t.call(this),0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.ensureCapacity(e.length),this.add(e,!0)}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.ensureCapacity(n.length),this.add(n,l)}}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={coordArrayType:{configurable:!0}};return n.coordArrayType.get=function(){return new Array(0).fill(null)},e.prototype.getCoordinate=function(t){return this.get(t)},e.prototype.addAll=function(){if(2===arguments.length){for(var e=arguments[0],n=arguments[1],l=!1,i=e.iterator();i.hasNext();)this.add(i.next(),n),l=!0;return l}return t.prototype.addAll.apply(this,arguments)},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=0;n<this.size();n++)e.add(n,this.get(n).copy());return e},e.prototype.toCoordinateArray=function(){return this.toArray(e.coordArrayType)},e.prototype.add=function(){if(1===arguments.length){var e=arguments[0];t.prototype.add.call(this,e)}else if(2===arguments.length){if(arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var n=arguments[0],l=arguments[1];return this.add(n,l,!0),!0}if(arguments[0]instanceof Xa&&"boolean"==typeof arguments[1]){var i=arguments[0];if(!arguments[1]&&this.size()>=1&&this.get(this.size()-1).equals2D(i))return null;t.prototype.add.call(this,i)}else if(arguments[0]instanceof Object&&"boolean"==typeof arguments[1]){var r=arguments[0],o=arguments[1];return this.add(r,o),!0}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var a=arguments[0],s=arguments[1];if(arguments[2])for(var u=0;u<a.length;u++)this.add(a[u],s);else for(var c=a.length-1;c>=0;c--)this.add(a[c],s);return!0}if("boolean"==typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1];if(!arguments[2]){var p=this.size();if(p>0){if(d>0&&this.get(d-1).equals2D(h))return null;if(d<p&&this.get(d).equals2D(h))return null}}t.prototype.add.call(this,d,h)}}else if(4===arguments.length){var f=arguments[0],b=arguments[1],m=arguments[2],g=arguments[3],_=1;m>g&&(_=-1);for(var y=m;y!==g;y+=_)this.add(f[y],b);return!0}},e.prototype.closeRing=function(){this.size()>0&&this.add(new Xa(this.get(0)),!1)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},Object.defineProperties(e,n),e}(Xs),Qs=function(){},Zs={ForwardComparator:{configurable:!0},BidirectionalComparator:{configurable:!0},coordArrayType:{configurable:!0}};Zs.ForwardComparator.get=function(){return tu},Zs.BidirectionalComparator.get=function(){return eu},Zs.coordArrayType.get=function(){return new Array(0).fill(null)},Qs.prototype.interfaces_=function(){return[]},Qs.prototype.getClass=function(){return Qs},Qs.isRing=function(t){return!(t.length<4||!t[0].equals2D(t[t.length-1]))},Qs.ptNotInList=function(t,e){for(var n=0;n<t.length;n++){var l=t[n];if(Qs.indexOf(l,e)<0)return l}return null},Qs.scroll=function(t,e){var n=Qs.indexOf(e,t);if(n<0)return null;var l=new Array(t.length).fill(null);bs.arraycopy(t,n,l,0,t.length-n),bs.arraycopy(t,0,l,t.length-n,n),bs.arraycopy(l,0,t,0,t.length)},Qs.equals=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(t===e)return!0;if(null===t||null===e)return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!t[n].equals(e[n]))return!1;return!0}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];if(l===i)return!0;if(null===l||null===i)return!1;if(l.length!==i.length)return!1;for(var o=0;o<l.length;o++)if(0!==r.compare(l[o],i[o]))return!1;return!0}},Qs.intersection=function(t,e){for(var n=new Js,l=0;l<t.length;l++)e.intersects(t[l])&&n.add(t[l],!0);return n.toCoordinateArray()},Qs.hasRepeatedPoints=function(t){for(var e=1;e<t.length;e++)if(t[e-1].equals(t[e]))return!0;return!1},Qs.removeRepeatedPoints=function(t){return Qs.hasRepeatedPoints(t)?new Js(t,!1).toCoordinateArray():t},Qs.reverse=function(t){for(var e=t.length-1,n=Math.trunc(e/2),l=0;l<=n;l++){var i=t[l];t[l]=t[e-l],t[e-l]=i}},Qs.removeNull=function(t){for(var e=0,n=0;n<t.length;n++)null!==t[n]&&e++;var l=new Array(e).fill(null);if(0===e)return l;for(var i=0,r=0;r<t.length;r++)null!==t[r]&&(l[i++]=t[r]);return l},Qs.copyDeep=function(){if(1===arguments.length){for(var t=arguments[0],e=new Array(t.length).fill(null),n=0;n<t.length;n++)e[n]=new Xa(t[n]);return e}if(5===arguments.length)for(var l=arguments[0],i=arguments[1],r=arguments[2],o=arguments[3],a=arguments[4],s=0;s<a;s++)r[o+s]=new Xa(l[i+s])},Qs.isEqualReversed=function(t,e){for(var n=0;n<t.length;n++)if(0!==t[n].compareTo(e[t.length-n-1]))return!1;return!0},Qs.envelope=function(t){for(var e=new gs,n=0;n<t.length;n++)e.expandToInclude(t[n]);return e},Qs.toCoordinateArray=function(t){return t.toArray(Qs.coordArrayType)},Qs.atLeastNCoordinatesOrNothing=function(t,e){return e.length>=t?e:[]},Qs.indexOf=function(t,e){for(var n=0;n<e.length;n++)if(t.equals(e[n]))return n;return-1},Qs.increasingDirection=function(t){for(var e=0;e<Math.trunc(t.length/2);e++){var n=t[e].compareTo(t[t.length-1-e]);if(0!==n)return n}return 1},Qs.compare=function(t,e){for(var n=0;n<t.length&&n<e.length;){var l=t[n].compareTo(e[n]);if(0!==l)return l;n++}return n<e.length?-1:n<t.length?1:0},Qs.minCoordinate=function(t){for(var e=null,n=0;n<t.length;n++)(null===e||e.compareTo(t[n])>0)&&(e=t[n]);return e},Qs.extract=function(t,e,n){e=ns.clamp(e,0,t.length);var l=(n=ns.clamp(n,-1,t.length))-e+1;n<0&&(l=0),e>=t.length&&(l=0),n<e&&(l=0);var i=new Array(l).fill(null);if(0===l)return i;for(var r=0,o=e;o<=n;o++)i[r++]=t[o];return i},Object.defineProperties(Qs,Zs);var tu=function(){};tu.prototype.compare=function(t,e){return Qs.compare(t,e)},tu.prototype.interfaces_=function(){return[$a]},tu.prototype.getClass=function(){return tu};var eu=function(){};eu.prototype.compare=function(t,e){var n=t,l=e;if(n.length<l.length)return-1;if(n.length>l.length)return 1;if(0===n.length)return 0;var i=Qs.compare(n,l);return Qs.isEqualReversed(n,l)?0:i},eu.prototype.OLDcompare=function(t,e){var n=t,l=e;if(n.length<l.length)return-1;if(n.length>l.length)return 1;if(0===n.length)return 0;for(var i=Qs.increasingDirection(n),r=Qs.increasingDirection(l),o=i>0?0:n.length-1,a=r>0?0:n.length-1,s=0;s<n.length;s++){var u=n[o].compareTo(l[a]);if(0!==u)return u;o+=i,a+=r}return 0},eu.prototype.interfaces_=function(){return[$a]},eu.prototype.getClass=function(){return eu};var nu=function(){};nu.prototype.get=function(){},nu.prototype.put=function(){},nu.prototype.size=function(){},nu.prototype.values=function(){},nu.prototype.entrySet=function(){};var lu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(nu);(_i.prototype=new Error).name="OperationNotSupported",(yi.prototype=new Vs).contains=function(){};var iu=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.contains=function(t){for(var e=0,n=this.array_.length;e<n;e++)if(this.array_[e]===t)return!0;return!1},e.prototype.add=function(t){return!this.contains(t)&&(this.array_.push(t),!0)},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.remove=function(t){throw new Error},e.prototype.size=function(){return this.array_.length},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},e.prototype.iterator=function(){return new ru(this)},e}(yi),ru=function(t){function e(e){t.call(this),this.hashSet_=e,this.position_=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.next=function(){if(this.position_===this.hashSet_.size())throw new gi;return this.hashSet_.array_[this.position_++]},e.prototype.hasNext=function(){return this.position_<this.hashSet_.size()},e.prototype.remove=function(){throw new _i},e}(Ws),ou=0;(xi.prototype=new lu).get=function(t){for(var e=this.root_;null!==e;){var n=t.compareTo(e.key);if(n<0)e=e.left;else{if(!(n>0))return e.value;e=e.right}}return null},xi.prototype.put=function(t,e){if(null===this.root_)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:ou,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var n,l,i=this.root_;do{if(n=i,(l=t.compareTo(i.key))<0)i=i.left;else{if(!(l>0)){var r=i.value;return i.value=e,r}i=i.right}}while(null!==i);var o={key:t,left:null,right:null,value:e,parent:n,color:ou,getValue:function(){return this.value},getKey:function(){return this.key}};return l<0?n.left=o:n.right=o,this.fixAfterInsertion(o),this.size_++,null},xi.prototype.fixAfterInsertion=function(t){for(t.color=1;null!=t&&t!==this.root_&&1===t.parent.color;)if(vi(t)===wi(vi(vi(t)))){var e=Pi(vi(vi(t)));1===Ai(e)?(Ci(vi(t),ou),Ci(e,ou),Ci(vi(vi(t)),1),t=vi(vi(t))):(t===Pi(vi(t))&&(t=vi(t),this.rotateLeft(t)),Ci(vi(t),ou),Ci(vi(vi(t)),1),this.rotateRight(vi(vi(t))))}else{var n=wi(vi(vi(t)));1===Ai(n)?(Ci(vi(t),ou),Ci(n,ou),Ci(vi(vi(t)),1),t=vi(vi(t))):(t===wi(vi(t))&&(t=vi(t),this.rotateRight(t)),Ci(vi(t),ou),Ci(vi(vi(t)),1),this.rotateLeft(vi(vi(t))))}this.root_.color=ou},xi.prototype.values=function(){var t=new Xs,e=this.getFirstEntry();if(null!==e)for(t.add(e.value);null!==(e=xi.successor(e));)t.add(e.value);return t},xi.prototype.entrySet=function(){var t=new iu,e=this.getFirstEntry();if(null!==e)for(t.add(e);null!==(e=xi.successor(e));)t.add(e);return t},xi.prototype.rotateLeft=function(t){if(null!=t){var e=t.right;t.right=e.left,null!=e.left&&(e.left.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.left===t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}},xi.prototype.rotateRight=function(t){if(null!=t){var e=t.left;t.left=e.right,null!=e.right&&(e.right.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.right===t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}},xi.prototype.getFirstEntry=function(){var t=this.root_;if(null!=t)for(;null!=t.left;)t=t.left;return t},xi.successor=function(t){if(null===t)return null;if(null!==t.right){for(var e=t.right;null!==e.left;)e=e.left;return e}for(var n=t.parent,l=t;null!==n&&l===n.right;)l=n,n=n.parent;return n},xi.prototype.size=function(){return this.size_};var au=function(){};au.prototype.interfaces_=function(){return[]},au.prototype.getClass=function(){return au},Si.prototype=new yi,(ki.prototype=new Si).contains=function(t){for(var e=0,n=this.array_.length;e<n;e++)if(0===this.array_[e].compareTo(t))return!0;return!1},ki.prototype.add=function(t){if(this.contains(t))return!1;for(var e=0,n=this.array_.length;e<n;e++)if(1===this.array_[e].compareTo(t))return this.array_.splice(e,0,t),!0;return this.array_.push(t),!0},ki.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},ki.prototype.remove=function(t){throw new _i},ki.prototype.size=function(){return this.array_.length},ki.prototype.isEmpty=function(){return 0===this.array_.length},ki.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},ki.prototype.iterator=function(){return new su(this)};var su=function(t){this.treeSet_=t,this.position_=0};su.prototype.next=function(){if(this.position_===this.treeSet_.size())throw new gi;return this.treeSet_.array_[this.position_++]},su.prototype.hasNext=function(){return this.position_<this.treeSet_.size()},su.prototype.remove=function(){throw new _i};var uu=function(){};uu.sort=function(){var t,e,n,l=arguments[0];if(1===arguments.length)l.sort((function(t,e){return t.compareTo(e)}));else if(2===arguments.length)n=arguments[1],l.sort((function(t,e){return n.compare(t,e)}));else if(3===arguments.length){(e=l.slice(arguments[1],arguments[2])).sort();var i=l.slice(0,arguments[1]).concat(e,l.slice(arguments[2],l.length));for(l.splice(0,l.length),t=0;t<i.length;t++)l.push(i[t])}else if(4===arguments.length)for(e=l.slice(arguments[1],arguments[2]),n=arguments[3],e.sort((function(t,e){return n.compare(t,e)})),i=l.slice(0,arguments[1]).concat(e,l.slice(arguments[2],l.length)),l.splice(0,l.length),t=0;t<i.length;t++)l.push(i[t])},uu.asList=function(t){for(var e=new Xs,n=0,l=t.length;n<l;n++)e.add(t[n]);return e};var cu=function(){},du={P:{configurable:!0},L:{configurable:!0},A:{configurable:!0},FALSE:{configurable:!0},TRUE:{configurable:!0},DONTCARE:{configurable:!0},SYM_FALSE:{configurable:!0},SYM_TRUE:{configurable:!0},SYM_DONTCARE:{configurable:!0},SYM_P:{configurable:!0},SYM_L:{configurable:!0},SYM_A:{configurable:!0}};du.P.get=function(){return 0},du.L.get=function(){return 1},du.A.get=function(){return 2},du.FALSE.get=function(){return-1},du.TRUE.get=function(){return-2},du.DONTCARE.get=function(){return-3},du.SYM_FALSE.get=function(){return"F"},du.SYM_TRUE.get=function(){return"T"},du.SYM_DONTCARE.get=function(){return"*"},du.SYM_P.get=function(){return"0"},du.SYM_L.get=function(){return"1"},du.SYM_A.get=function(){return"2"},cu.prototype.interfaces_=function(){return[]},cu.prototype.getClass=function(){return cu},cu.toDimensionSymbol=function(t){switch(t){case cu.FALSE:return cu.SYM_FALSE;case cu.TRUE:return cu.SYM_TRUE;case cu.DONTCARE:return cu.SYM_DONTCARE;case cu.P:return cu.SYM_P;case cu.L:return cu.SYM_L;case cu.A:return cu.SYM_A}throw new Ga("Unknown dimension value: "+t)},cu.toDimensionValue=function(t){switch(os.toUpperCase(t)){case cu.SYM_FALSE:return cu.FALSE;case cu.SYM_TRUE:return cu.TRUE;case cu.SYM_DONTCARE:return cu.DONTCARE;case cu.SYM_P:return cu.P;case cu.SYM_L:return cu.L;case cu.SYM_A:return cu.A}throw new Ga("Unknown dimension symbol: "+t)},Object.defineProperties(cu,du);var hu=function(){};hu.prototype.filter=function(t){},hu.prototype.interfaces_=function(){return[]},hu.prototype.getClass=function(){return hu};var pu=function(){};pu.prototype.filter=function(t,e){},pu.prototype.isDone=function(){},pu.prototype.isGeometryChanged=function(){},pu.prototype.interfaces_=function(){return[]},pu.prototype.getClass=function(){return pu};var fu=function(t){function e(e,n){if(t.call(this,n),this._geometries=e||[],t.hasNullElements(this._geometries))throw new Ga("geometries must not contain null elements")}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){for(var t=new gs,e=0;e<this._geometries.length;e++)t.expandToInclude(this._geometries[e].getEnvelopeInternal());return t},e.prototype.getGeometryN=function(t){return this._geometries[t]},e.prototype.getSortIndex=function(){return t.SORTINDEX_GEOMETRYCOLLECTION},e.prototype.getCoordinates=function(){for(var t=new Array(this.getNumPoints()).fill(null),e=-1,n=0;n<this._geometries.length;n++)for(var l=this._geometries[n].getCoordinates(),i=0;i<l.length;i++)t[++e]=l[i];return t},e.prototype.getArea=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getArea();return t},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e;if(this._geometries.length!==l._geometries.length)return!1;for(var i=0;i<this._geometries.length;i++)if(!this._geometries[i].equalsExact(l._geometries[i],n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<this._geometries.length;t++)this._geometries[t].normalize();uu.sort(this._geometries)},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._geometries[0].getCoordinate()},e.prototype.getBoundaryDimension=function(){for(var t=cu.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getBoundaryDimension());return t},e.prototype.getDimension=function(){for(var t=cu.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getDimension());return t},e.prototype.getLength=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getNumPoints();return t},e.prototype.getNumGeometries=function(){return this._geometries.length},e.prototype.reverse=function(){for(var t=new Array(this._geometries.length).fill(null),e=0;e<this._geometries.length;e++)t[e]=this._geometries[e].reverse();return this.getFactory().createGeometryCollection(t)},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=new ki(uu.asList(this._geometries)),n=new ki(uu.asList(t._geometries));return this.compare(e,n)}if(2===arguments.length){for(var l=arguments[0],i=arguments[1],r=l,o=this.getNumGeometries(),a=r.getNumGeometries(),s=0;s<o&&s<a;){var u=this.getGeometryN(s),c=r.getGeometryN(s),d=u.compareToSameClass(c,i);if(0!==d)return d;s++}return s<o?1:s<a?-1:0}},e.prototype.apply=function(){if(es(arguments[0],Ns))for(var t=arguments[0],e=0;e<this._geometries.length;e++)this._geometries[e].apply(t);else if(es(arguments[0],pu)){var n=arguments[0];if(0===this._geometries.length)return null;for(var l=0;l<this._geometries.length&&(this._geometries[l].apply(n),!n.isDone());l++);n.isGeometryChanged()&&this.geometryChanged()}else if(es(arguments[0],hu)){var i=arguments[0];i.filter(this);for(var r=0;r<this._geometries.length;r++)this._geometries[r].apply(i)}else if(es(arguments[0],Ls)){var o=arguments[0];o.filter(this);for(var a=0;a<this._geometries.length;a++)this._geometries[a].apply(o)}},e.prototype.getBoundary=function(){return this.checkNotGeometryCollection(this),Ss.shouldNeverReachHere(),null},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._geometries=new Array(this._geometries.length).fill(null);for(var n=0;n<this._geometries.length;n++)e._geometries[n]=this._geometries[n].clone();return e},e.prototype.getGeometryType=function(){return"GeometryCollection"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.isEmpty=function(){for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isEmpty())return!1;return!0},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x4f07bcb1f857d800},Object.defineProperties(e,n),e}(js),bu=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTILINESTRING},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?cu.FALSE:0},e.prototype.isClosed=function(){if(this.isEmpty())return!1;for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isClosed())return!1;return!0},e.prototype.getDimension=function(){return 1},e.prototype.reverse=function(){for(var t=this._geometries.length,e=new Array(t).fill(null),n=0;n<this._geometries.length;n++)e[t-1-n]=this._geometries[n].reverse();return this.getFactory().createMultiLineString(e)},e.prototype.getBoundary=function(){return new mu(this).getBoundary()},e.prototype.getGeometryType=function(){return"MultiLineString"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[au]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x7155d2ab4afa8000},Object.defineProperties(e,n),e}(fu),mu=function(){if(this._geom=null,this._geomFact=null,this._bnRule=null,this._endpointMap=null,1===arguments.length){var t=arguments[0],e=Ys.MOD2_BOUNDARY_RULE;this._geom=t,this._geomFact=t.getFactory(),this._bnRule=e}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this._geom=n,this._geomFact=n.getFactory(),this._bnRule=l}};mu.prototype.boundaryMultiLineString=function(t){if(this._geom.isEmpty())return this.getEmptyMultiPoint();var e=this.computeBoundaryCoordinates(t);return 1===e.length?this._geomFact.createPoint(e[0]):this._geomFact.createMultiPointFromCoords(e)},mu.prototype.getBoundary=function(){return this._geom instanceof vu?this.boundaryLineString(this._geom):this._geom instanceof bu?this.boundaryMultiLineString(this._geom):this._geom.getBoundary()},mu.prototype.boundaryLineString=function(t){return this._geom.isEmpty()?this.getEmptyMultiPoint():t.isClosed()?this._bnRule.isInBoundary(2)?t.getStartPoint():this._geomFact.createMultiPoint():this._geomFact.createMultiPoint([t.getStartPoint(),t.getEndPoint()])},mu.prototype.getEmptyMultiPoint=function(){return this._geomFact.createMultiPoint()},mu.prototype.computeBoundaryCoordinates=function(t){var e=new Xs;this._endpointMap=new xi;for(var n=0;n<t.getNumGeometries();n++){var l=t.getGeometryN(n);0!==l.getNumPoints()&&(this.addEndpoint(l.getCoordinateN(0)),this.addEndpoint(l.getCoordinateN(l.getNumPoints()-1)))}for(var i=this._endpointMap.entrySet().iterator();i.hasNext();){var r=i.next(),o=r.getValue().count;this._bnRule.isInBoundary(o)&&e.add(r.getKey())}return Qs.toCoordinateArray(e)},mu.prototype.addEndpoint=function(t){var e=this._endpointMap.get(t);null===e&&(e=new gu,this._endpointMap.put(t,e)),e.count++},mu.prototype.interfaces_=function(){return[]},mu.prototype.getClass=function(){return mu},mu.getBoundary=function(){if(1===arguments.length){var t=arguments[0];return new mu(t).getBoundary()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return new mu(e,n).getBoundary()}};var gu=function(){this.count=null};gu.prototype.interfaces_=function(){return[]},gu.prototype.getClass=function(){return gu};var _u=function(){},yu={NEWLINE:{configurable:!0},SIMPLE_ORDINATE_FORMAT:{configurable:!0}};_u.prototype.interfaces_=function(){return[]},_u.prototype.getClass=function(){return _u},_u.chars=function(t,e){for(var n=new Array(e).fill(null),l=0;l<e;l++)n[l]=t;return String(n)},_u.getStackTrace=function(){if(1===arguments.length){var t=arguments[0],e=new function(){},n=new function(){}(e);return t.printStackTrace(n),e.toString()}if(2===arguments.length){for(var l=arguments[0],i=arguments[1],r="",o=new function(){}(new function(){}(_u.getStackTrace(l))),a=0;a<i;a++)try{r+=o.readLine()+_u.NEWLINE}catch(t){if(!(t instanceof Mi))throw t;Ss.shouldNeverReachHere()}return r}},_u.split=function(t,e){for(var n=e.length,l=new Xs,i=""+t,r=i.indexOf(e);r>=0;){var o=i.substring(0,r);l.add(o),r=(i=i.substring(r+n)).indexOf(e)}i.length>0&&l.add(i);for(var a=new Array(l.size()).fill(null),s=0;s<a.length;s++)a[s]=l.get(s);return a},_u.toString=function(){if(1===arguments.length){var t=arguments[0];return _u.SIMPLE_ORDINATE_FORMAT.format(t)}},_u.spaces=function(t){return _u.chars(" ",t)},yu.NEWLINE.get=function(){return bs.getProperty("line.separator")},yu.SIMPLE_ORDINATE_FORMAT.get=function(){return new function(){}("0.#")},Object.defineProperties(_u,yu);var Au=function(){};Au.prototype.interfaces_=function(){return[]},Au.prototype.getClass=function(){return Au},Au.copyCoord=function(t,e,n,l){for(var i=Math.min(t.getDimension(),n.getDimension()),r=0;r<i;r++)n.setOrdinate(l,r,t.getOrdinate(e,r))},Au.isRing=function(t){var e=t.size();return 0===e||!(e<=3)&&t.getOrdinate(0,ds.X)===t.getOrdinate(e-1,ds.X)&&t.getOrdinate(0,ds.Y)===t.getOrdinate(e-1,ds.Y)},Au.isEqual=function(t,e){var n=t.size();if(n!==e.size())return!1;for(var l=Math.min(t.getDimension(),e.getDimension()),i=0;i<n;i++)for(var r=0;r<l;r++){var o=t.getOrdinate(i,r),a=e.getOrdinate(i,r);if(!(t.getOrdinate(i,r)===e.getOrdinate(i,r)||Ha.isNaN(o)&&Ha.isNaN(a)))return!1}return!0},Au.extend=function(t,e,n){var l=t.create(n,e.getDimension()),i=e.size();if(Au.copy(e,0,l,0,i),i>0)for(var r=i;r<n;r++)Au.copy(e,i-1,l,r,1);return l},Au.reverse=function(t){for(var e=t.size()-1,n=Math.trunc(e/2),l=0;l<=n;l++)Au.swap(t,l,e-l)},Au.swap=function(t,e,n){if(e===n)return null;for(var l=0;l<t.getDimension();l++){var i=t.getOrdinate(e,l);t.setOrdinate(e,l,t.getOrdinate(n,l)),t.setOrdinate(n,l,i)}},Au.copy=function(t,e,n,l,i){for(var r=0;r<i;r++)Au.copyCoord(t,e+r,n,l+r)},Au.toString=function(){if(1===arguments.length){var t=arguments[0],e=t.size();if(0===e)return"()";var n=t.getDimension(),l=new is;l.append("(");for(var i=0;i<e;i++){i>0&&l.append(" ");for(var r=0;r<n;r++)r>0&&l.append(","),l.append(_u.toString(t.getOrdinate(i,r)))}return l.append(")"),l.toString()}},Au.ensureValidRing=function(t,e){var n=e.size();return 0===n?e:n<=3?Au.createClosedRing(t,e,4):e.getOrdinate(0,ds.X)===e.getOrdinate(n-1,ds.X)&&e.getOrdinate(0,ds.Y)===e.getOrdinate(n-1,ds.Y)?e:Au.createClosedRing(t,e,n+1)},Au.createClosedRing=function(t,e,n){var l=t.create(n,e.getDimension()),i=e.size();Au.copy(e,0,l,0,i);for(var r=i;r<n;r++)Au.copy(e,0,l,r,1);return l};var vu=function(t){function e(e,n){t.call(this,n),this._points=null,this.init(e)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this.isEmpty()?new gs:this._points.expandEnvelope(new gs)},e.prototype.isRing=function(){return this.isClosed()&&this.isSimple()},e.prototype.getSortIndex=function(){return t.SORTINDEX_LINESTRING},e.prototype.getCoordinates=function(){return this._points.toCoordinateArray()},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e;if(this._points.size()!==l._points.size())return!1;for(var i=0;i<this._points.size();i++)if(!this.equal(this._points.getCoordinate(i),l._points.getCoordinate(i),n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<Math.trunc(this._points.size()/2);t++){var e=this._points.size()-1-t;if(!this._points.getCoordinate(t).equals(this._points.getCoordinate(e)))return this._points.getCoordinate(t).compareTo(this._points.getCoordinate(e))>0&&Au.reverse(this._points),null}},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._points.getCoordinate(0)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?cu.FALSE:0},e.prototype.isClosed=function(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},e.prototype.getEndPoint=function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},e.prototype.getDimension=function(){return 1},e.prototype.getLength=function(){return Es.computeLength(this._points)},e.prototype.getNumPoints=function(){return this._points.size()},e.prototype.reverse=function(){var t=this._points.copy();return Au.reverse(t),this.getFactory().createLineString(t)},e.prototype.compareToSameClass=function(){if(1===arguments.length){for(var t=arguments[0],e=0,n=0;e<this._points.size()&&n<t._points.size();){var l=this._points.getCoordinate(e).compareTo(t._points.getCoordinate(n));if(0!==l)return l;e++,n++}return e<this._points.size()?1:n<t._points.size()?-1:0}if(2===arguments.length){var i=arguments[0];return arguments[1].compare(this._points,i._points)}},e.prototype.apply=function(){if(es(arguments[0],Ns))for(var t=arguments[0],e=0;e<this._points.size();e++)t.filter(this._points.getCoordinate(e));else if(es(arguments[0],pu)){var n=arguments[0];if(0===this._points.size())return null;for(var l=0;l<this._points.size()&&(n.filter(this._points,l),!n.isDone());l++);n.isGeometryChanged()&&this.geometryChanged()}else(es(arguments[0],hu)||es(arguments[0],Ls))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return new mu(this).getBoundary()},e.prototype.isEquivalentClass=function(t){return t instanceof e},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._points=this._points.clone(),e},e.prototype.getCoordinateN=function(t){return this._points.getCoordinate(t)},e.prototype.getGeometryType=function(){return"LineString"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._points},e.prototype.isEmpty=function(){return 0===this._points.size()},e.prototype.init=function(t){if(null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),1===t.size())throw new Ga("Invalid number of points in LineString (found "+t.size()+" - must be 0 or >= 2)");this._points=t},e.prototype.isCoordinate=function(t){for(var e=0;e<this._points.size();e++)if(this._points.getCoordinate(e).equals(t))return!0;return!1},e.prototype.getStartPoint=function(){return this.isEmpty()?null:this.getPointN(0)},e.prototype.getPointN=function(t){return this.getFactory().createPoint(this._points.getCoordinate(t))},e.prototype.interfaces_=function(){return[au]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x2b2b51ba435c8e00},Object.defineProperties(e,n),e}(js),Cu=function(){};Cu.prototype.interfaces_=function(){return[]},Cu.prototype.getClass=function(){return Cu};var wu=function(t){function e(e,n){t.call(this,n),this._coordinates=e||null,this.init(this._coordinates)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){if(this.isEmpty())return new gs;var t=new gs;return t.expandToInclude(this._coordinates.getX(0),this._coordinates.getY(0)),t},e.prototype.getSortIndex=function(){return t.SORTINDEX_POINT},e.prototype.getCoordinates=function(){return this.isEmpty()?[]:[this.getCoordinate()]},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&(!(!this.isEmpty()||!e.isEmpty())||this.isEmpty()===e.isEmpty()&&this.equal(e.getCoordinate(),this.getCoordinate(),n))}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){},e.prototype.getCoordinate=function(){return 0!==this._coordinates.size()?this._coordinates.getCoordinate(0):null},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getNumPoints=function(){return this.isEmpty()?0:1},e.prototype.reverse=function(){return this.copy()},e.prototype.getX=function(){if(null===this.getCoordinate())throw new Error("getX called on empty Point");return this.getCoordinate().x},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0];return this.getCoordinate().compareTo(t.getCoordinate())}if(2===arguments.length){var e=arguments[0];return arguments[1].compare(this._coordinates,e._coordinates)}},e.prototype.apply=function(){if(es(arguments[0],Ns)){var t=arguments[0];if(this.isEmpty())return null;t.filter(this.getCoordinate())}else if(es(arguments[0],pu)){var e=arguments[0];if(this.isEmpty())return null;e.filter(this._coordinates,0),e.isGeometryChanged()&&this.geometryChanged()}else(es(arguments[0],hu)||es(arguments[0],Ls))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._coordinates=this._coordinates.clone(),e},e.prototype.getGeometryType=function(){return"Point"},e.prototype.copy=function(){return new e(this._coordinates.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._coordinates},e.prototype.getY=function(){if(null===this.getCoordinate())throw new Error("getY called on empty Point");return this.getCoordinate().y},e.prototype.isEmpty=function(){return 0===this._coordinates.size()},e.prototype.init=function(t){null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),Ss.isTrue(t.size()<=1),this._coordinates=t},e.prototype.isSimple=function(){return!0},e.prototype.interfaces_=function(){return[Cu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x44077bad161cbc00},Object.defineProperties(e,n),e}(js),Pu=function(){};Pu.prototype.interfaces_=function(){return[]},Pu.prototype.getClass=function(){return Pu};var xu=function(t){function e(e,n,l){if(t.call(this,l),this._shell=null,this._holes=null,null===e&&(e=this.getFactory().createLinearRing()),null===n&&(n=[]),t.hasNullElements(n))throw new Ga("holes must not contain null elements");if(e.isEmpty()&&t.hasNonEmptyElements(n))throw new Ga("shell is empty but holes are not");this._shell=e,this._holes=n}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this._shell.getEnvelopeInternal()},e.prototype.getSortIndex=function(){return t.SORTINDEX_POLYGON},e.prototype.getCoordinates=function(){if(this.isEmpty())return[];for(var t=new Array(this.getNumPoints()).fill(null),e=-1,n=this._shell.getCoordinates(),l=0;l<n.length;l++)t[++e]=n[l];for(var i=0;i<this._holes.length;i++)for(var r=this._holes[i].getCoordinates(),o=0;o<r.length;o++)t[++e]=r[o];return t},e.prototype.getArea=function(){var t=0;t+=Math.abs(Es.signedArea(this._shell.getCoordinateSequence()));for(var e=0;e<this._holes.length;e++)t-=Math.abs(Es.signedArea(this._holes[e].getCoordinateSequence()));return t},e.prototype.isRectangle=function(){if(0!==this.getNumInteriorRing())return!1;if(null===this._shell)return!1;if(5!==this._shell.getNumPoints())return!1;for(var t=this._shell.getCoordinateSequence(),e=this.getEnvelopeInternal(),n=0;n<5;n++){var l=t.getX(n);if(l!==e.getMinX()&&l!==e.getMaxX())return!1;var i=t.getY(n);if(i!==e.getMinY()&&i!==e.getMaxY())return!1}for(var r=t.getX(0),o=t.getY(0),a=1;a<=4;a++){var s=t.getX(a),u=t.getY(a);if(s!==r==(u!==o))return!1;r=s,o=u}return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e,i=this._shell,r=l._shell;if(!i.equalsExact(r,n))return!1;if(this._holes.length!==l._holes.length)return!1;for(var o=0;o<this._holes.length;o++)if(!this._holes[o].equalsExact(l._holes[o],n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){if(0===arguments.length){this.normalize(this._shell,!0);for(var t=0;t<this._holes.length;t++)this.normalize(this._holes[t],!1);uu.sort(this._holes)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(e.isEmpty())return null;var l=new Array(e.getCoordinates().length-1).fill(null);bs.arraycopy(e.getCoordinates(),0,l,0,l.length);var i=Qs.minCoordinate(e.getCoordinates());Qs.scroll(l,i),bs.arraycopy(l,0,e.getCoordinates(),0,l.length),e.getCoordinates()[l.length]=l[0],Es.isCCW(e.getCoordinates())===n&&Qs.reverse(e.getCoordinates())}},e.prototype.getCoordinate=function(){return this._shell.getCoordinate()},e.prototype.getNumInteriorRing=function(){return this._holes.length},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.getLength=function(){var t=0;t+=this._shell.getLength();for(var e=0;e<this._holes.length;e++)t+=this._holes[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=this._shell.getNumPoints(),e=0;e<this._holes.length;e++)t+=this._holes[e].getNumPoints();return t},e.prototype.reverse=function(){var t=this.copy();t._shell=this._shell.copy().reverse(),t._holes=new Array(this._holes.length).fill(null);for(var e=0;e<this._holes.length;e++)t._holes[e]=this._holes[e].copy().reverse();return t},e.prototype.convexHull=function(){return this.getExteriorRing().convexHull()},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=this._shell,n=t._shell;return e.compareToSameClass(n)}if(2===arguments.length){var l=arguments[0],i=arguments[1],r=l,o=this._shell,a=r._shell,s=o.compareToSameClass(a,i);if(0!==s)return s;for(var u=this.getNumInteriorRing(),c=r.getNumInteriorRing(),d=0;d<u&&d<c;){var h=this.getInteriorRingN(d),p=r.getInteriorRingN(d),f=h.compareToSameClass(p,i);if(0!==f)return f;d++}return d<u?1:d<c?-1:0}},e.prototype.apply=function(t){if(es(t,Ns)){this._shell.apply(t);for(var e=0;e<this._holes.length;e++)this._holes[e].apply(t)}else if(es(t,pu)){if(this._shell.apply(t),!t.isDone())for(var n=0;n<this._holes.length&&(this._holes[n].apply(t),!t.isDone());n++);t.isGeometryChanged()&&this.geometryChanged()}else if(es(t,hu))t.filter(this);else if(es(t,Ls)){t.filter(this),this._shell.apply(t);for(var l=0;l<this._holes.length;l++)this._holes[l].apply(t)}},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();var t=new Array(this._holes.length+1).fill(null);t[0]=this._shell;for(var e=0;e<this._holes.length;e++)t[e+1]=this._holes[e];return t.length<=1?this.getFactory().createLinearRing(t[0].getCoordinateSequence()):this.getFactory().createMultiLineString(t)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._shell=this._shell.clone(),e._holes=new Array(this._holes.length).fill(null);for(var n=0;n<this._holes.length;n++)e._holes[n]=this._holes[n].clone();return e},e.prototype.getGeometryType=function(){return"Polygon"},e.prototype.copy=function(){for(var t=this._shell.copy(),n=new Array(this._holes.length).fill(null),l=0;l<n.length;l++)n[l]=this._holes[l].copy();return new e(t,n,this._factory)},e.prototype.getExteriorRing=function(){return this._shell},e.prototype.isEmpty=function(){return this._shell.isEmpty()},e.prototype.getInteriorRingN=function(t){return this._holes[t]},e.prototype.interfaces_=function(){return[Pu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x307ffefd8dc97200},Object.defineProperties(e,n),e}(js),Su=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTIPOINT},e.prototype.isValid=function(){return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getCoordinate=function(){if(1===arguments.length){var e=arguments[0];return this._geometries[e].getCoordinate()}return t.prototype.getCoordinate.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.getGeometryType=function(){return"MultiPoint"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Cu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x6fb1ed4162e0fc00},Object.defineProperties(e,n),e}(fu),ku=function(t){function e(e,n){e instanceof Xa&&n instanceof Gu&&(e=n.getCoordinateSequenceFactory().create(e)),t.call(this,e,n),this.validateConstruction()}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={MINIMUM_VALID_SIZE:{configurable:!0},serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_LINEARRING},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.isClosed=function(){return!!this.isEmpty()||t.prototype.isClosed.call(this)},e.prototype.reverse=function(){var t=this._points.copy();return Au.reverse(t),this.getFactory().createLinearRing(t)},e.prototype.validateConstruction=function(){if(!this.isEmpty()&&!t.prototype.isClosed.call(this))throw new Ga("Points of LinearRing do not form a closed linestring");if(this.getCoordinateSequence().size()>=1&&this.getCoordinateSequence().size()<e.MINIMUM_VALID_SIZE)throw new Ga("Invalid number of points in LinearRing (found "+this.getCoordinateSequence().size()+" - must be 0 or >= 4)")},e.prototype.getGeometryType=function(){return"LinearRing"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.MINIMUM_VALID_SIZE.get=function(){return 4},n.serialVersionUID.get=function(){return-0x3b229e262367a600},Object.defineProperties(e,n),e}(vu),Mu=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTIPOLYGON},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.reverse=function(){for(var t=new Array(this._geometries.length).fill(null),e=0;e<this._geometries.length;e++)t[e]=this._geometries[e].reverse();return this.getFactory().createMultiPolygon(t)},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();for(var t=new Xs,e=0;e<this._geometries.length;e++)for(var n=this._geometries[e].getBoundary(),l=0;l<n.getNumGeometries();l++)t.add(n.getGeometryN(l));var i=new Array(t.size()).fill(null);return this.getFactory().createMultiLineString(t.toArray(i))},e.prototype.getGeometryType=function(){return"MultiPolygon"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Pu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x7a5aa1369171980},Object.defineProperties(e,n),e}(fu),Ou=function(t){this._factory=t||null,this._isUserDataCopied=!1},Du={NoOpGeometryOperation:{configurable:!0},CoordinateOperation:{configurable:!0},CoordinateSequenceOperation:{configurable:!0}};Ou.prototype.setCopyUserData=function(t){this._isUserDataCopied=t},Ou.prototype.edit=function(t,e){if(null===t)return null;var n=this.editInternal(t,e);return this._isUserDataCopied&&n.setUserData(t.getUserData()),n},Ou.prototype.editInternal=function(t,e){return null===this._factory&&(this._factory=t.getFactory()),t instanceof fu?this.editGeometryCollection(t,e):t instanceof xu?this.editPolygon(t,e):t instanceof wu||t instanceof vu?e.edit(t,this._factory):(Ss.shouldNeverReachHere("Unsupported Geometry class: "+t.getClass().getName()),null)},Ou.prototype.editGeometryCollection=function(t,e){for(var n=e.edit(t,this._factory),l=new Xs,i=0;i<n.getNumGeometries();i++){var r=this.edit(n.getGeometryN(i),e);null===r||r.isEmpty()||l.add(r)}return n.getClass()===Su?this._factory.createMultiPoint(l.toArray([])):n.getClass()===bu?this._factory.createMultiLineString(l.toArray([])):n.getClass()===Mu?this._factory.createMultiPolygon(l.toArray([])):this._factory.createGeometryCollection(l.toArray([]))},Ou.prototype.editPolygon=function(t,e){var n=e.edit(t,this._factory);if(null===n&&(n=this._factory.createPolygon(null)),n.isEmpty())return n;var l=this.edit(n.getExteriorRing(),e);if(null===l||l.isEmpty())return this._factory.createPolygon();for(var i=new Xs,r=0;r<n.getNumInteriorRing();r++){var o=this.edit(n.getInteriorRingN(r),e);null===o||o.isEmpty()||i.add(o)}return this._factory.createPolygon(l,i.toArray([]))},Ou.prototype.interfaces_=function(){return[]},Ou.prototype.getClass=function(){return Ou},Ou.GeometryEditorOperation=function(){},Du.NoOpGeometryOperation.get=function(){return Tu},Du.CoordinateOperation.get=function(){return Eu},Du.CoordinateSequenceOperation.get=function(){return Iu},Object.defineProperties(Ou,Du);var Tu=function(){};Tu.prototype.edit=function(t,e){return t},Tu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Tu.prototype.getClass=function(){return Tu};var Eu=function(){};Eu.prototype.edit=function(t,e){var n=this.editCoordinates(t.getCoordinates(),t);return null===n?t:t instanceof ku?e.createLinearRing(n):t instanceof vu?e.createLineString(n):t instanceof wu?n.length>0?e.createPoint(n[0]):e.createPoint():t},Eu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Eu.prototype.getClass=function(){return Eu};var Iu=function(){};Iu.prototype.edit=function(t,e){return t instanceof ku?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof vu?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof wu?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t},Iu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Iu.prototype.getClass=function(){return Iu};var Lu=function(){if(this._dimension=3,this._coordinates=null,1===arguments.length){if(arguments[0]instanceof Array)this._coordinates=arguments[0],this._dimension=3;else if(Number.isInteger(arguments[0])){var t=arguments[0];this._coordinates=new Array(t).fill(null);for(var e=0;e<t;e++)this._coordinates[e]=new Xa}else if(es(arguments[0],ds)){var n=arguments[0];if(null===n)return this._coordinates=new Array(0).fill(null),null;this._dimension=n.getDimension(),this._coordinates=new Array(n.size()).fill(null);for(var l=0;l<this._coordinates.length;l++)this._coordinates[l]=n.getCoordinateCopy(l)}}else if(2===arguments.length)if(arguments[0]instanceof Array&&Number.isInteger(arguments[1])){var i=arguments[0],r=arguments[1];this._coordinates=i,this._dimension=r,null===i&&(this._coordinates=new Array(0).fill(null))}else if(Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var o=arguments[0],a=arguments[1];this._coordinates=new Array(o).fill(null),this._dimension=a;for(var s=0;s<o;s++)this._coordinates[s]=new Xa}},ju={serialVersionUID:{configurable:!0}};Lu.prototype.setOrdinate=function(t,e,n){switch(e){case ds.X:this._coordinates[t].x=n;break;case ds.Y:this._coordinates[t].y=n;break;case ds.Z:this._coordinates[t].z=n;break;default:throw new Ga("invalid ordinateIndex")}},Lu.prototype.size=function(){return this._coordinates.length},Lu.prototype.getOrdinate=function(t,e){switch(e){case ds.X:return this._coordinates[t].x;case ds.Y:return this._coordinates[t].y;case ds.Z:return this._coordinates[t].z}return Ha.NaN},Lu.prototype.getCoordinate=function(){if(1===arguments.length){var t=arguments[0];return this._coordinates[t]}if(2===arguments.length){var e=arguments[0],n=arguments[1];n.x=this._coordinates[e].x,n.y=this._coordinates[e].y,n.z=this._coordinates[e].z}},Lu.prototype.getCoordinateCopy=function(t){return new Xa(this._coordinates[t])},Lu.prototype.getDimension=function(){return this._dimension},Lu.prototype.getX=function(t){return this._coordinates[t].x},Lu.prototype.clone=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].clone();return new Lu(t,this._dimension)},Lu.prototype.expandEnvelope=function(t){for(var e=0;e<this._coordinates.length;e++)t.expandToInclude(this._coordinates[e]);return t},Lu.prototype.copy=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].copy();return new Lu(t,this._dimension)},Lu.prototype.toString=function(){if(this._coordinates.length>0){var t=new is(17*this._coordinates.length);t.append("("),t.append(this._coordinates[0]);for(var e=1;e<this._coordinates.length;e++)t.append(", "),t.append(this._coordinates[e]);return t.append(")"),t.toString()}return"()"},Lu.prototype.getY=function(t){return this._coordinates[t].y},Lu.prototype.toCoordinateArray=function(){return this._coordinates},Lu.prototype.interfaces_=function(){return[ds,mi]},Lu.prototype.getClass=function(){return Lu},ju.serialVersionUID.get=function(){return-0xcb44a778db18e00},Object.defineProperties(Lu,ju);var Ru=function(){},Fu={serialVersionUID:{configurable:!0},instanceObject:{configurable:!0}};Ru.prototype.readResolve=function(){return Ru.instance()},Ru.prototype.create=function(){if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Lu(t)}if(es(arguments[0],ds)){var e=arguments[0];return new Lu(e)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return l>3&&(l=3),l<2?new Lu(n):new Lu(n,l)}},Ru.prototype.interfaces_=function(){return[Qa,mi]},Ru.prototype.getClass=function(){return Ru},Ru.instance=function(){return Ru.instanceObject},Fu.serialVersionUID.get=function(){return-0x38e49fa6cf6f2e00},Fu.instanceObject.get=function(){return new Ru},Object.defineProperties(Ru,Fu);var Nu=function(t){function e(){t.call(this),this.map_=new Map}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(t){return this.map_.get(t)||null},e.prototype.put=function(t,e){return this.map_.set(t,e),e},e.prototype.values=function(){for(var t=new Xs,e=this.map_.values(),n=e.next();!n.done;)t.add(n.value),n=e.next();return t},e.prototype.entrySet=function(){var t=new iu;return this.map_.entries().forEach((function(e){return t.add(e)})),t},e.prototype.size=function(){return this.map_.size()},e}(nu),Yu=function t(){if(this._modelType=null,this._scale=null,0===arguments.length)this._modelType=t.FLOATING;else if(1===arguments.length)if(arguments[0]instanceof Bu){var e=arguments[0];this._modelType=e,e===t.FIXED&&this.setScale(1)}else if("number"==typeof arguments[0]){var n=arguments[0];this._modelType=t.FIXED,this.setScale(n)}else if(arguments[0]instanceof t){var l=arguments[0];this._modelType=l._modelType,this._scale=l._scale}},Uu={serialVersionUID:{configurable:!0},maximumPreciseValue:{configurable:!0}};Yu.prototype.equals=function(t){return t instanceof Yu&&this._modelType===t._modelType&&this._scale===t._scale},Yu.prototype.compareTo=function(t){var e=t,n=this.getMaximumSignificantDigits(),l=e.getMaximumSignificantDigits();return new rs(n).compareTo(new rs(l))},Yu.prototype.getScale=function(){return this._scale},Yu.prototype.isFloating=function(){return this._modelType===Yu.FLOATING||this._modelType===Yu.FLOATING_SINGLE},Yu.prototype.getType=function(){return this._modelType},Yu.prototype.toString=function(){var t="UNKNOWN";return this._modelType===Yu.FLOATING?t="Floating":this._modelType===Yu.FLOATING_SINGLE?t="Floating-Single":this._modelType===Yu.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t},Yu.prototype.makePrecise=function(){if("number"==typeof arguments[0]){var t=arguments[0];return Ha.isNaN(t)||this._modelType===Yu.FLOATING_SINGLE?t:this._modelType===Yu.FIXED?Math.round(t*this._scale)/this._scale:t}if(arguments[0]instanceof Xa){var e=arguments[0];if(this._modelType===Yu.FLOATING)return null;e.x=this.makePrecise(e.x),e.y=this.makePrecise(e.y)}},Yu.prototype.getMaximumSignificantDigits=function(){var t=16;return this._modelType===Yu.FLOATING?t=16:this._modelType===Yu.FLOATING_SINGLE?t=6:this._modelType===Yu.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t},Yu.prototype.setScale=function(t){this._scale=Math.abs(t)},Yu.prototype.interfaces_=function(){return[mi,qa]},Yu.prototype.getClass=function(){return Yu},Yu.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e},Uu.serialVersionUID.get=function(){return 0x6bee6404e9a25c00},Uu.maximumPreciseValue.get=function(){return 9007199254740992},Object.defineProperties(Yu,Uu);var Bu=function t(e){this._name=e||null,t.nameToTypeMap.put(e,this)},zu={serialVersionUID:{configurable:!0},nameToTypeMap:{configurable:!0}};Bu.prototype.readResolve=function(){return Bu.nameToTypeMap.get(this._name)},Bu.prototype.toString=function(){return this._name},Bu.prototype.interfaces_=function(){return[mi]},Bu.prototype.getClass=function(){return Bu},zu.serialVersionUID.get=function(){return-552860263173159e4},zu.nameToTypeMap.get=function(){return new Nu},Object.defineProperties(Bu,zu),Yu.Type=Bu,Yu.FIXED=new Bu("FIXED"),Yu.FLOATING=new Bu("FLOATING"),Yu.FLOATING_SINGLE=new Bu("FLOATING SINGLE");var Gu=function t(){this._precisionModel=new Yu,this._SRID=0,this._coordinateSequenceFactory=t.getDefaultCoordinateSequenceFactory(),0===arguments.length||(1===arguments.length?es(arguments[0],Qa)?this._coordinateSequenceFactory=arguments[0]:arguments[0]instanceof Yu&&(this._precisionModel=arguments[0]):2===arguments.length?(this._precisionModel=arguments[0],this._SRID=arguments[1]):3===arguments.length&&(this._precisionModel=arguments[0],this._SRID=arguments[1],this._coordinateSequenceFactory=arguments[2]))},Hu={serialVersionUID:{configurable:!0}};Gu.prototype.toGeometry=function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new Xa(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new Xa(t.getMinX(),t.getMinY()),new Xa(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new Xa(t.getMinX(),t.getMinY()),new Xa(t.getMinX(),t.getMaxY()),new Xa(t.getMaxX(),t.getMaxY()),new Xa(t.getMaxX(),t.getMinY()),new Xa(t.getMinX(),t.getMinY())]),null)},Gu.prototype.createLineString=function(t){return t?t instanceof Array?new vu(this.getCoordinateSequenceFactory().create(t),this):es(t,ds)?new vu(t,this):void 0:new vu(this.getCoordinateSequenceFactory().create([]),this)},Gu.prototype.createMultiLineString=function(){if(0===arguments.length)return new bu(null,this);if(1===arguments.length){var t=arguments[0];return new bu(t,this)}},Gu.prototype.buildGeometry=function(t){for(var e=null,n=!1,l=!1,i=t.iterator();i.hasNext();){var r=i.next(),o=r.getClass();null===e&&(e=o),o!==e&&(n=!0),r.isGeometryCollectionOrDerived()&&(l=!0)}if(null===e)return this.createGeometryCollection();if(n||l)return this.createGeometryCollection(Gu.toGeometryArray(t));var a=t.iterator().next();if(t.size()>1){if(a instanceof xu)return this.createMultiPolygon(Gu.toPolygonArray(t));if(a instanceof vu)return this.createMultiLineString(Gu.toLineStringArray(t));if(a instanceof wu)return this.createMultiPoint(Gu.toPointArray(t));Ss.shouldNeverReachHere("Unhandled class: "+a.getClass().getName())}return a},Gu.prototype.createMultiPointFromCoords=function(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)},Gu.prototype.createPoint=function(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(es(arguments[0],ds)){var e=arguments[0];return new wu(e,this)}}},Gu.prototype.getCoordinateSequenceFactory=function(){return this._coordinateSequenceFactory},Gu.prototype.createPolygon=function(){if(0===arguments.length)return new xu(null,null,this);if(1===arguments.length){if(es(arguments[0],ds)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}if(arguments[0]instanceof ku){var n=arguments[0];return this.createPolygon(n,null)}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];return new xu(l,i,this)}},Gu.prototype.getSRID=function(){return this._SRID},Gu.prototype.createGeometryCollection=function(){if(0===arguments.length)return new fu(null,this);if(1===arguments.length){var t=arguments[0];return new fu(t,this)}},Gu.prototype.createGeometry=function(t){return new Ou(this).edit(t,{edit:function(){if(2===arguments.length){var t=arguments[0];return this._coordinateSequenceFactory.create(t)}}})},Gu.prototype.getPrecisionModel=function(){return this._precisionModel},Gu.prototype.createLinearRing=function(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(es(arguments[0],ds)){var e=arguments[0];return new ku(e,this)}}},Gu.prototype.createMultiPolygon=function(){if(0===arguments.length)return new Mu(null,this);if(1===arguments.length){var t=arguments[0];return new Mu(t,this)}},Gu.prototype.createMultiPoint=function(){if(0===arguments.length)return new Su(null,this);if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Su(t,this)}if(arguments[0]instanceof Array){var e=arguments[0];return this.createMultiPoint(null!==e?this.getCoordinateSequenceFactory().create(e):null)}if(es(arguments[0],ds)){var n=arguments[0];if(null===n)return this.createMultiPoint(new Array(0).fill(null));for(var l=new Array(n.size()).fill(null),i=0;i<n.size();i++){var r=this.getCoordinateSequenceFactory().create(1,n.getDimension());Au.copy(n,i,r,0,1),l[i]=this.createPoint(r)}return this.createMultiPoint(l)}}},Gu.prototype.interfaces_=function(){return[mi]},Gu.prototype.getClass=function(){return Gu},Gu.toMultiPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toGeometryArray=function(t){if(null===t)return null;var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.getDefaultCoordinateSequenceFactory=function(){return Ru.instance()},Gu.toMultiLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toMultiPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toLinearRingArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.createPointFromInternalCoord=function(t,e){return e.getPrecisionModel().makePrecise(t),e.getFactory().createPoint(t)},Hu.serialVersionUID.get=function(){return-0x5ea75f2051eeb400},Object.defineProperties(Gu,Hu);var Vu=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],qu=function(t){this.geometryFactory=t||new Gu};qu.prototype.read=function(t){var e,n=(e="string"==typeof t?JSON.parse(t):t).type;if(!Wu[n])throw new Error("Unknown GeoJSON type: "+e.type);return-1!==Vu.indexOf(n)?Wu[n].apply(this,[e.coordinates]):Wu[n].apply(this,"GeometryCollection"===n?[e.geometries]:[e])},qu.prototype.write=function(t){var e=t.getGeometryType();if(!$u[e])throw new Error("Geometry is not supported");return $u[e].apply(this,[t])};var Wu={Feature:function(t){var e={};for(var n in t)e[n]=t[n];if(t.geometry){if(!Wu[t.geometry.type])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=Wu.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e={};if(t.features){e.features=[];for(var n=0;n<t.features.length;++n)e.features.push(this.read(t.features[n]))}return t.bbox&&(e.bbox=this.parse.bbox.apply(this,[t.bbox])),e},coordinates:function(t){for(var e=[],n=0;n<t.length;++n){var l=t[n];e.push(new Xa(l[0],l[1]))}return e},bbox:function(t){return this.geometryFactory.createLinearRing([new Xa(t[0],t[1]),new Xa(t[2],t[1]),new Xa(t[2],t[3]),new Xa(t[0],t[3]),new Xa(t[0],t[1])])},Point:function(t){var e=new Xa(t[0],t[1]);return this.geometryFactory.createPoint(e)},MultiPoint:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.Point.apply(this,[t[n]]));return this.geometryFactory.createMultiPoint(e)},LineString:function(t){var e=Wu.coordinates.apply(this,[t]);return this.geometryFactory.createLineString(e)},MultiLineString:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.LineString.apply(this,[t[n]]));return this.geometryFactory.createMultiLineString(e)},Polygon:function(t){for(var e=Wu.coordinates.apply(this,[t[0]]),n=this.geometryFactory.createLinearRing(e),l=[],i=1;i<t.length;++i){var r=Wu.coordinates.apply(this,[t[i]]),o=this.geometryFactory.createLinearRing(r);l.push(o)}return this.geometryFactory.createPolygon(n,l)},MultiPolygon:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.Polygon.apply(this,[t[n]]));return this.geometryFactory.createMultiPolygon(e)},GeometryCollection:function(t){for(var e=[],n=0;n<t.length;++n)e.push(this.read(t[n]));return this.geometryFactory.createGeometryCollection(e)}},$u={coordinate:function(t){return[t.x,t.y]},Point:function(t){return{type:"Point",coordinates:$u.coordinate.apply(this,[t.getCoordinate()])}},MultiPoint:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.Point.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiPoint",coordinates:e}},LineString:function(t){for(var e=[],n=t.getCoordinates(),l=0;l<n.length;++l)e.push($u.coordinate.apply(this,[n[l]]));return{type:"LineString",coordinates:e}},MultiLineString:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.LineString.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiLineString",coordinates:e}},Polygon:function(t){var e=[],n=$u.LineString.apply(this,[t._shell]);e.push(n.coordinates);for(var l=0;l<t._holes.length;++l){var i=$u.LineString.apply(this,[t._holes[l]]);e.push(i.coordinates)}return{type:"Polygon",coordinates:e}},MultiPolygon:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.Polygon.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiPolygon",coordinates:e}},GeometryCollection:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=t._geometries[n],i=l.getGeometryType();e.push($u[i].apply(this,[l]))}return{type:"GeometryCollection",geometries:e}}},Xu=function(t){this.geometryFactory=t||new Gu,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new qu(this.geometryFactory)};Xu.prototype.read=function(t){var e=this.parser.read(t);return this.precisionModel.getType()===Yu.FIXED&&this.reducePrecision(e),e},Xu.prototype.reducePrecision=function(t){var e,n;if(t.coordinate)this.precisionModel.makePrecise(t.coordinate);else if(t.points)for(e=0,n=t.points.length;e<n;e++)this.precisionModel.makePrecise(t.points[e]);else if(t.geometries)for(e=0,n=t.geometries.length;e<n;e++)this.reducePrecision(t.geometries[e])};var Ku=function(){this.parser=new qu(this.geometryFactory)};Ku.prototype.write=function(t){return this.parser.write(t)};var Ju=function(){},Qu={ON:{configurable:!0},LEFT:{configurable:!0},RIGHT:{configurable:!0}};Ju.prototype.interfaces_=function(){return[]},Ju.prototype.getClass=function(){return Ju},Ju.opposite=function(t){return t===Ju.LEFT?Ju.RIGHT:t===Ju.RIGHT?Ju.LEFT:t},Qu.ON.get=function(){return 0},Qu.LEFT.get=function(){return 1},Qu.RIGHT.get=function(){return 2},Object.defineProperties(Ju,Qu),(Oi.prototype=new Error).name="EmptyStackException",(Di.prototype=new $s).add=function(t){return this.array_.push(t),!0},Di.prototype.get=function(t){if(t<0||t>=this.size())throw new Error;return this.array_[t]},Di.prototype.push=function(t){return this.array_.push(t),t},Di.prototype.pop=function(t){if(0===this.array_.length)throw new Oi;return this.array_.pop()},Di.prototype.peek=function(){if(0===this.array_.length)throw new Oi;return this.array_[this.array_.length-1]},Di.prototype.empty=function(){return 0===this.array_.length},Di.prototype.isEmpty=function(){return this.empty()},Di.prototype.search=function(t){return this.array_.indexOf(t)},Di.prototype.size=function(){return this.array_.length},Di.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t};var Zu=function(){this._minIndex=-1,this._minCoord=null,this._minDe=null,this._orientedDe=null};Zu.prototype.getCoordinate=function(){return this._minCoord},Zu.prototype.getRightmostSide=function(t,e){var n=this.getRightmostSideOfSegment(t,e);return n<0&&(n=this.getRightmostSideOfSegment(t,e-1)),n<0&&(this._minCoord=null,this.checkForRightmostCoordinate(t)),n},Zu.prototype.findRightmostEdgeAtVertex=function(){var t=this._minDe.getEdge().getCoordinates();Ss.isTrue(this._minIndex>0&&this._minIndex<t.length,"rightmost point expected to be interior vertex of edge");var e=t[this._minIndex-1],n=t[this._minIndex+1],l=Es.computeOrientation(this._minCoord,n,e),i=!1;(e.y<this._minCoord.y&&n.y<this._minCoord.y&&l===Es.COUNTERCLOCKWISE||e.y>this._minCoord.y&&n.y>this._minCoord.y&&l===Es.CLOCKWISE)&&(i=!0),i&&(this._minIndex=this._minIndex-1)},Zu.prototype.getRightmostSideOfSegment=function(t,e){var n=t.getEdge().getCoordinates();if(e<0||e+1>=n.length)return-1;if(n[e].y===n[e+1].y)return-1;var l=Ju.LEFT;return n[e].y<n[e+1].y&&(l=Ju.RIGHT),l},Zu.prototype.getEdge=function(){return this._orientedDe},Zu.prototype.checkForRightmostCoordinate=function(t){for(var e=t.getEdge().getCoordinates(),n=0;n<e.length-1;n++)(null===this._minCoord||e[n].x>this._minCoord.x)&&(this._minDe=t,this._minIndex=n,this._minCoord=e[n])},Zu.prototype.findRightmostEdgeAtNode=function(){var t=this._minDe.getNode().getEdges();this._minDe=t.getRightmostEdge(),this._minDe.isForward()||(this._minDe=this._minDe.getSym(),this._minIndex=this._minDe.getEdge().getCoordinates().length-1)},Zu.prototype.findEdge=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();n.isForward()&&this.checkForRightmostCoordinate(n)}Ss.isTrue(0!==this._minIndex||this._minCoord.equals(this._minDe.getCoordinate()),"inconsistency in rightmost processing"),0===this._minIndex?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this._orientedDe=this._minDe,this.getRightmostSide(this._minDe,this._minIndex)===Ju.LEFT&&(this._orientedDe=this._minDe.getSym())},Zu.prototype.interfaces_=function(){return[]},Zu.prototype.getClass=function(){return Zu};var tc=function(t){function e(n,l){t.call(this,e.msgWithCoord(n,l)),this.pt=l?new Xa(l):null,this.name="TopologyException"}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getCoordinate=function(){return this.pt},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.msgWithCoord=function(t,e){return e?t:t+" [ "+e+" ]"},e}(Ps),ec=function(){this.array_=[]};ec.prototype.addLast=function(t){this.array_.push(t)},ec.prototype.removeFirst=function(){return this.array_.shift()},ec.prototype.isEmpty=function(){return 0===this.array_.length};var nc=function(){this._finder=null,this._dirEdgeList=new Xs,this._nodes=new Xs,this._rightMostCoord=null,this._env=null,this._finder=new Zu};nc.prototype.clearVisitedEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();)t.next().setVisited(!1)},nc.prototype.getRightmostCoordinate=function(){return this._rightMostCoord},nc.prototype.computeNodeDepth=function(t){for(var e=null,n=t.getEdges().iterator();n.hasNext();){var l=n.next();if(l.isVisited()||l.getSym().isVisited()){e=l;break}}if(null===e)throw new tc("unable to find edge to compute depths at "+t.getCoordinate());t.getEdges().computeDepths(e);for(var i=t.getEdges().iterator();i.hasNext();){var r=i.next();r.setVisited(!0),this.copySymDepths(r)}},nc.prototype.computeDepth=function(t){this.clearVisitedEdges();var e=this._finder.getEdge();e.setEdgeDepths(Ju.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)},nc.prototype.create=function(t){this.addReachable(t),this._finder.findEdge(this._dirEdgeList),this._rightMostCoord=this._finder.getCoordinate()},nc.prototype.findResultEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(Ju.RIGHT)>=1&&e.getDepth(Ju.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}},nc.prototype.computeDepths=function(t){var e=new iu,n=new ec,l=t.getNode();for(n.addLast(l),e.add(l),t.setVisited(!0);!n.isEmpty();){var i=n.removeFirst();e.add(i),this.computeNodeDepth(i);for(var r=i.getEdges().iterator();r.hasNext();){var o=r.next().getSym();if(!o.isVisited()){var a=o.getNode();e.contains(a)||(n.addLast(a),e.add(a))}}}},nc.prototype.compareTo=function(t){return this._rightMostCoord.x<t._rightMostCoord.x?-1:this._rightMostCoord.x>t._rightMostCoord.x?1:0},nc.prototype.getEnvelope=function(){if(null===this._env){for(var t=new gs,e=this._dirEdgeList.iterator();e.hasNext();)for(var n=e.next().getEdge().getCoordinates(),l=0;l<n.length-1;l++)t.expandToInclude(n[l]);this._env=t}return this._env},nc.prototype.addReachable=function(t){var e=new Di;for(e.add(t);!e.empty();){var n=e.pop();this.add(n,e)}},nc.prototype.copySymDepths=function(t){var e=t.getSym();e.setDepth(Ju.LEFT,t.getDepth(Ju.RIGHT)),e.setDepth(Ju.RIGHT,t.getDepth(Ju.LEFT))},nc.prototype.add=function(t,e){t.setVisited(!0),this._nodes.add(t);for(var n=t.getEdges().iterator();n.hasNext();){var l=n.next();this._dirEdgeList.add(l);var i=l.getSym().getNode();i.isVisited()||e.push(i)}},nc.prototype.getNodes=function(){return this._nodes},nc.prototype.getDirectedEdges=function(){return this._dirEdgeList},nc.prototype.interfaces_=function(){return[qa]},nc.prototype.getClass=function(){return nc};var lc=function t(){if(this.location=null,1===arguments.length){if(arguments[0]instanceof Array){var e=arguments[0];this.init(e.length)}else if(Number.isInteger(arguments[0])){var n=arguments[0];this.init(1),this.location[Ju.ON]=n}else if(arguments[0]instanceof t){var l=arguments[0];if(this.init(l.location.length),null!==l)for(var i=0;i<this.location.length;i++)this.location[i]=l.location[i]}}else if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];this.init(3),this.location[Ju.ON]=r,this.location[Ju.LEFT]=o,this.location[Ju.RIGHT]=a}};lc.prototype.setAllLocations=function(t){for(var e=0;e<this.location.length;e++)this.location[e]=t},lc.prototype.isNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]!==Za.NONE)return!1;return!0},lc.prototype.setAllLocationsIfNull=function(t){for(var e=0;e<this.location.length;e++)this.location[e]===Za.NONE&&(this.location[e]=t)},lc.prototype.isLine=function(){return 1===this.location.length},lc.prototype.merge=function(t){if(t.location.length>this.location.length){var e=new Array(3).fill(null);e[Ju.ON]=this.location[Ju.ON],e[Ju.LEFT]=Za.NONE,e[Ju.RIGHT]=Za.NONE,this.location=e}for(var n=0;n<this.location.length;n++)this.location[n]===Za.NONE&&n<t.location.length&&(this.location[n]=t.location[n])},lc.prototype.getLocations=function(){return this.location},lc.prototype.flip=function(){if(this.location.length<=1)return null;var t=this.location[Ju.LEFT];this.location[Ju.LEFT]=this.location[Ju.RIGHT],this.location[Ju.RIGHT]=t},lc.prototype.toString=function(){var t=new is;return this.location.length>1&&t.append(Za.toLocationSymbol(this.location[Ju.LEFT])),t.append(Za.toLocationSymbol(this.location[Ju.ON])),this.location.length>1&&t.append(Za.toLocationSymbol(this.location[Ju.RIGHT])),t.toString()},lc.prototype.setLocations=function(t,e,n){this.location[Ju.ON]=t,this.location[Ju.LEFT]=e,this.location[Ju.RIGHT]=n},lc.prototype.get=function(t){return t<this.location.length?this.location[t]:Za.NONE},lc.prototype.isArea=function(){return this.location.length>1},lc.prototype.isAnyNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]===Za.NONE)return!0;return!1},lc.prototype.setLocation=function(){if(1===arguments.length){var t=arguments[0];this.setLocation(Ju.ON,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.location[e]=n}},lc.prototype.init=function(t){this.location=new Array(t).fill(null),this.setAllLocations(Za.NONE)},lc.prototype.isEqualOnSide=function(t,e){return this.location[e]===t.location[e]},lc.prototype.allPositionsEqual=function(t){for(var e=0;e<this.location.length;e++)if(this.location[e]!==t)return!1;return!0},lc.prototype.interfaces_=function(){return[]},lc.prototype.getClass=function(){return lc};var ic=function t(){if(this.elt=new Array(2).fill(null),1===arguments.length){if(Number.isInteger(arguments[0])){var e=arguments[0];this.elt[0]=new lc(e),this.elt[1]=new lc(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.elt[0]=new lc(n.elt[0]),this.elt[1]=new lc(n.elt[1])}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.elt[0]=new lc(Za.NONE),this.elt[1]=new lc(Za.NONE),this.elt[l].setLocation(i)}else if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];this.elt[0]=new lc(r,o,a),this.elt[1]=new lc(r,o,a)}else if(4===arguments.length){var s=arguments[0],u=arguments[1],c=arguments[2],d=arguments[3];this.elt[0]=new lc(Za.NONE,Za.NONE,Za.NONE),this.elt[1]=new lc(Za.NONE,Za.NONE,Za.NONE),this.elt[s].setLocations(u,c,d)}};ic.prototype.getGeometryCount=function(){var t=0;return this.elt[0].isNull()||t++,this.elt[1].isNull()||t++,t},ic.prototype.setAllLocations=function(t,e){this.elt[t].setAllLocations(e)},ic.prototype.isNull=function(t){return this.elt[t].isNull()},ic.prototype.setAllLocationsIfNull=function(){if(1===arguments.length){var t=arguments[0];this.setAllLocationsIfNull(0,t),this.setAllLocationsIfNull(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.elt[e].setAllLocationsIfNull(n)}},ic.prototype.isLine=function(t){return this.elt[t].isLine()},ic.prototype.merge=function(t){for(var e=0;e<2;e++)null===this.elt[e]&&null!==t.elt[e]?this.elt[e]=new lc(t.elt[e]):this.elt[e].merge(t.elt[e])},ic.prototype.flip=function(){this.elt[0].flip(),this.elt[1].flip()},ic.prototype.getLocation=function(){if(1===arguments.length){var t=arguments[0];return this.elt[t].get(Ju.ON)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return this.elt[e].get(n)}},ic.prototype.toString=function(){var t=new is;return null!==this.elt[0]&&(t.append("A:"),t.append(this.elt[0].toString())),null!==this.elt[1]&&(t.append(" B:"),t.append(this.elt[1].toString())),t.toString()},ic.prototype.isArea=function(){if(0===arguments.length)return this.elt[0].isArea()||this.elt[1].isArea();if(1===arguments.length){var t=arguments[0];return this.elt[t].isArea()}},ic.prototype.isAnyNull=function(t){return this.elt[t].isAnyNull()},ic.prototype.setLocation=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.elt[t].setLocation(Ju.ON,e)}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this.elt[n].setLocation(l,i)}},ic.prototype.isEqualOnSide=function(t,e){return this.elt[0].isEqualOnSide(t.elt[0],e)&&this.elt[1].isEqualOnSide(t.elt[1],e)},ic.prototype.allPositionsEqual=function(t,e){return this.elt[t].allPositionsEqual(e)},ic.prototype.toLine=function(t){this.elt[t].isArea()&&(this.elt[t]=new lc(this.elt[t].location[0]))},ic.prototype.interfaces_=function(){return[]},ic.prototype.getClass=function(){return ic},ic.toLineLabel=function(t){for(var e=new ic(Za.NONE),n=0;n<2;n++)e.setLocation(n,t.getLocation(n));return e};var rc=function(){this._startDe=null,this._maxNodeDegree=-1,this._edges=new Xs,this._pts=new Xs,this._label=new ic(Za.NONE),this._ring=null,this._isHole=null,this._shell=null,this._holes=new Xs,this._geometryFactory=null;var t=arguments[0],e=arguments[1];this._geometryFactory=e,this.computePoints(t),this.computeRing()};rc.prototype.computeRing=function(){if(null!==this._ring)return null;for(var t=new Array(this._pts.size()).fill(null),e=0;e<this._pts.size();e++)t[e]=this._pts.get(e);this._ring=this._geometryFactory.createLinearRing(t),this._isHole=Es.isCCW(this._ring.getCoordinates())},rc.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},rc.prototype.computePoints=function(t){this._startDe=t;var e=t,n=!0;do{if(null===e)throw new tc("Found null DirectedEdge");if(e.getEdgeRing()===this)throw new tc("Directed Edge visited twice during ring-building at "+e.getCoordinate());this._edges.add(e);var l=e.getLabel();Ss.isTrue(l.isArea()),this.mergeLabel(l),this.addPoints(e.getEdge(),e.isForward(),n),n=!1,this.setEdgeRing(e,this),e=this.getNext(e)}while(e!==this._startDe)},rc.prototype.getLinearRing=function(){return this._ring},rc.prototype.getCoordinate=function(t){return this._pts.get(t)},rc.prototype.computeMaxNodeDegree=function(){this._maxNodeDegree=0;var t=this._startDe;do{var e=t.getNode().getEdges().getOutgoingDegree(this);e>this._maxNodeDegree&&(this._maxNodeDegree=e),t=this.getNext(t)}while(t!==this._startDe);this._maxNodeDegree*=2},rc.prototype.addPoints=function(t,e,n){var l=t.getCoordinates();if(e){var i=1;n&&(i=0);for(var r=i;r<l.length;r++)this._pts.add(l[r])}else{var o=l.length-2;n&&(o=l.length-1);for(var a=o;a>=0;a--)this._pts.add(l[a])}},rc.prototype.isHole=function(){return this._isHole},rc.prototype.setInResult=function(){var t=this._startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this._startDe)},rc.prototype.containsPoint=function(t){var e=this.getLinearRing();if(!e.getEnvelopeInternal().contains(t))return!1;if(!Es.isPointInRing(t,e.getCoordinates()))return!1;for(var n=this._holes.iterator();n.hasNext();)if(n.next().containsPoint(t))return!1;return!0},rc.prototype.addHole=function(t){this._holes.add(t)},rc.prototype.isShell=function(){return null===this._shell},rc.prototype.getLabel=function(){return this._label},rc.prototype.getEdges=function(){return this._edges},rc.prototype.getMaxNodeDegree=function(){return this._maxNodeDegree<0&&this.computeMaxNodeDegree(),this._maxNodeDegree},rc.prototype.getShell=function(){return this._shell},rc.prototype.mergeLabel=function(){if(1===arguments.length){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=e.getLocation(n,Ju.RIGHT);if(l===Za.NONE)return null;if(this._label.getLocation(n)===Za.NONE)return this._label.setLocation(n,l),null}},rc.prototype.setShell=function(t){this._shell=t,null!==t&&t.addHole(this)},rc.prototype.toPolygon=function(t){for(var e=new Array(this._holes.size()).fill(null),n=0;n<this._holes.size();n++)e[n]=this._holes.get(n).getLinearRing();return t.createPolygon(this.getLinearRing(),e)},rc.prototype.interfaces_=function(){return[]},rc.prototype.getClass=function(){return rc};var oc=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.setEdgeRing=function(t,e){t.setMinEdgeRing(e)},e.prototype.getNext=function(t){return t.getNextMin()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(rc),ac=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.buildMinimalRings=function(){var t=new Xs,e=this._startDe;do{if(null===e.getMinEdgeRing()){var n=new oc(e,this._geometryFactory);t.add(n)}e=e.getNext()}while(e!==this._startDe);return t},e.prototype.setEdgeRing=function(t,e){t.setEdgeRing(e)},e.prototype.linkDirectedEdgesForMinimalEdgeRings=function(){var t=this._startDe;do{t.getNode().getEdges().linkMinimalDirectedEdges(this),t=t.getNext()}while(t!==this._startDe)},e.prototype.getNext=function(t){return t.getNext()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(rc),sc=function(){if(this._label=null,this._isInResult=!1,this._isCovered=!1,this._isCoveredSet=!1,this._isVisited=!1,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._label=t}};sc.prototype.setVisited=function(t){this._isVisited=t},sc.prototype.setInResult=function(t){this._isInResult=t},sc.prototype.isCovered=function(){return this._isCovered},sc.prototype.isCoveredSet=function(){return this._isCoveredSet},sc.prototype.setLabel=function(t){this._label=t},sc.prototype.getLabel=function(){return this._label},sc.prototype.setCovered=function(t){this._isCovered=t,this._isCoveredSet=!0},sc.prototype.updateIM=function(t){Ss.isTrue(this._label.getGeometryCount()>=2,"found partial label"),this.computeIM(t)},sc.prototype.isInResult=function(){return this._isInResult},sc.prototype.isVisited=function(){return this._isVisited},sc.prototype.interfaces_=function(){return[]},sc.prototype.getClass=function(){return sc};var uc=function(t){function e(){t.call(this),this._coord=null,this._edges=null;var e=arguments[0],n=arguments[1];this._coord=e,this._edges=n,this._label=new ic(0,Za.NONE)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isIncidentEdgeInResult=function(){for(var t=this.getEdges().getEdges().iterator();t.hasNext();)if(t.next().getEdge().isInResult())return!0;return!1},e.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},e.prototype.getCoordinate=function(){return this._coord},e.prototype.print=function(t){t.println("node "+this._coord+" lbl: "+this._label)},e.prototype.computeIM=function(t){},e.prototype.computeMergedLocation=function(t,e){var n=Za.NONE;if(n=this._label.getLocation(e),!t.isNull(e)){var l=t.getLocation(e);n!==Za.BOUNDARY&&(n=l)}return n},e.prototype.setLabel=function(){if(2!==arguments.length)return t.prototype.setLabel.apply(this,arguments);var e=arguments[0],n=arguments[1];null===this._label?this._label=new ic(e,n):this._label.setLocation(e,n)},e.prototype.getEdges=function(){return this._edges},e.prototype.mergeLabel=function(){if(arguments[0]instanceof e){var t=arguments[0];this.mergeLabel(t._label)}else if(arguments[0]instanceof ic)for(var n=arguments[0],l=0;l<2;l++){var i=this.computeMergedLocation(n,l);this._label.getLocation(l)===Za.NONE&&this._label.setLocation(l,i)}},e.prototype.add=function(t){this._edges.insert(t),t.setNode(this)},e.prototype.setLabelBoundary=function(t){if(null===this._label)return null;var e=Za.NONE;null!==this._label&&(e=this._label.getLocation(t));var n=null;switch(e){case Za.BOUNDARY:n=Za.INTERIOR;break;case Za.INTERIOR:default:n=Za.BOUNDARY}this._label.setLocation(t,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(sc),cc=function(){this.nodeMap=new xi,this.nodeFact=null;var t=arguments[0];this.nodeFact=t};cc.prototype.find=function(t){return this.nodeMap.get(t)},cc.prototype.addNode=function(){if(arguments[0]instanceof Xa){var t=arguments[0],e=this.nodeMap.get(t);return null===e&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}if(arguments[0]instanceof uc){var n=arguments[0],l=this.nodeMap.get(n.getCoordinate());return null===l?(this.nodeMap.put(n.getCoordinate(),n),n):(l.mergeLabel(n),l)}},cc.prototype.print=function(t){for(var e=this.iterator();e.hasNext();)e.next().print(t)},cc.prototype.iterator=function(){return this.nodeMap.values().iterator()},cc.prototype.values=function(){return this.nodeMap.values()},cc.prototype.getBoundaryNodes=function(t){for(var e=new Xs,n=this.iterator();n.hasNext();){var l=n.next();l.getLabel().getLocation(t)===Za.BOUNDARY&&e.add(l)}return e},cc.prototype.add=function(t){var e=t.getCoordinate();this.addNode(e).add(t)},cc.prototype.interfaces_=function(){return[]},cc.prototype.getClass=function(){return cc};var dc=function(){},hc={NE:{configurable:!0},NW:{configurable:!0},SW:{configurable:!0},SE:{configurable:!0}};dc.prototype.interfaces_=function(){return[]},dc.prototype.getClass=function(){return dc},dc.isNorthern=function(t){return t===dc.NE||t===dc.NW},dc.isOpposite=function(t,e){return t!==e&&2==(t-e+4)%4},dc.commonHalfPlane=function(t,e){if(t===e)return t;if(2==(t-e+4)%4)return-1;var n=t<e?t:e;return 0===n&&3===(t>e?t:e)?3:n},dc.isInHalfPlane=function(t,e){return e===dc.SE?t===dc.SE||t===dc.SW:t===e||t===e+1},dc.quadrant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new Ga("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?dc.NE:dc.SE:e>=0?dc.NW:dc.SW}if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var n=arguments[0],l=arguments[1];if(l.x===n.x&&l.y===n.y)throw new Ga("Cannot compute the quadrant for two identical points "+n);return l.x>=n.x?l.y>=n.y?dc.NE:dc.SE:l.y>=n.y?dc.NW:dc.SW}},hc.NE.get=function(){return 0},hc.NW.get=function(){return 1},hc.SW.get=function(){return 2},hc.SE.get=function(){return 3},Object.defineProperties(dc,hc);var pc=function(){if(this._edge=null,this._label=null,this._node=null,this._p0=null,this._p1=null,this._dx=null,this._dy=null,this._quadrant=null,1===arguments.length){var t=arguments[0];this._edge=t}else if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2];this._edge=e,this.init(n,l),this._label=null}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];this._edge=i,this.init(r,o),this._label=a}};pc.prototype.compareDirection=function(t){return this._dx===t._dx&&this._dy===t._dy?0:this._quadrant>t._quadrant?1:this._quadrant<t._quadrant?-1:Es.computeOrientation(t._p0,t._p1,this._p1)},pc.prototype.getDy=function(){return this._dy},pc.prototype.getCoordinate=function(){return this._p0},pc.prototype.setNode=function(t){this._node=t},pc.prototype.print=function(t){var e=Math.atan2(this._dy,this._dx),n=this.getClass().getName(),l=n.lastIndexOf("."),i=n.substring(l+1);t.print(" "+i+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+e+" "+this._label)},pc.prototype.compareTo=function(t){return this.compareDirection(t)},pc.prototype.getDirectedCoordinate=function(){return this._p1},pc.prototype.getDx=function(){return this._dx},pc.prototype.getLabel=function(){return this._label},pc.prototype.getEdge=function(){return this._edge},pc.prototype.getQuadrant=function(){return this._quadrant},pc.prototype.getNode=function(){return this._node},pc.prototype.toString=function(){var t=Math.atan2(this._dy,this._dx),e=this.getClass().getName(),n=e.lastIndexOf(".");return" "+e.substring(n+1)+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+t+" "+this._label},pc.prototype.computeLabel=function(t){},pc.prototype.init=function(t,e){this._p0=t,this._p1=e,this._dx=e.x-t.x,this._dy=e.y-t.y,this._quadrant=dc.quadrant(this._dx,this._dy),Ss.isTrue(!(0===this._dx&&0===this._dy),"EdgeEnd with identical endpoints found")},pc.prototype.interfaces_=function(){return[qa]},pc.prototype.getClass=function(){return pc};var fc=function(t){function e(){var e=arguments[0],n=arguments[1];if(t.call(this,e),this._isForward=null,this._isInResult=!1,this._isVisited=!1,this._sym=null,this._next=null,this._nextMin=null,this._edgeRing=null,this._minEdgeRing=null,this._depth=[0,-999,-999],this._isForward=n,n)this.init(e.getCoordinate(0),e.getCoordinate(1));else{var l=e.getNumPoints()-1;this.init(e.getCoordinate(l),e.getCoordinate(l-1))}this.computeDirectedLabel()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getNextMin=function(){return this._nextMin},e.prototype.getDepth=function(t){return this._depth[t]},e.prototype.setVisited=function(t){this._isVisited=t},e.prototype.computeDirectedLabel=function(){this._label=new ic(this._edge.getLabel()),this._isForward||this._label.flip()},e.prototype.getNext=function(){return this._next},e.prototype.setDepth=function(t,e){if(-999!==this._depth[t]&&this._depth[t]!==e)throw new tc("assigned depths do not match",this.getCoordinate());this._depth[t]=e},e.prototype.isInteriorAreaEdge=function(){for(var t=!0,e=0;e<2;e++)this._label.isArea(e)&&this._label.getLocation(e,Ju.LEFT)===Za.INTERIOR&&this._label.getLocation(e,Ju.RIGHT)===Za.INTERIOR||(t=!1);return t},e.prototype.setNextMin=function(t){this._nextMin=t},e.prototype.print=function(e){t.prototype.print.call(this,e),e.print(" "+this._depth[Ju.LEFT]+"/"+this._depth[Ju.RIGHT]),e.print(" ("+this.getDepthDelta()+")"),this._isInResult&&e.print(" inResult")},e.prototype.setMinEdgeRing=function(t){this._minEdgeRing=t},e.prototype.isLineEdge=function(){var t=this._label.isLine(0)||this._label.isLine(1),e=!this._label.isArea(0)||this._label.allPositionsEqual(0,Za.EXTERIOR),n=!this._label.isArea(1)||this._label.allPositionsEqual(1,Za.EXTERIOR);return t&&e&&n},e.prototype.setEdgeRing=function(t){this._edgeRing=t},e.prototype.getMinEdgeRing=function(){return this._minEdgeRing},e.prototype.getDepthDelta=function(){var t=this._edge.getDepthDelta();return this._isForward||(t=-t),t},e.prototype.setInResult=function(t){this._isInResult=t},e.prototype.getSym=function(){return this._sym},e.prototype.isForward=function(){return this._isForward},e.prototype.getEdge=function(){return this._edge},e.prototype.printEdge=function(t){this.print(t),t.print(" "),this._isForward?this._edge.print(t):this._edge.printReverse(t)},e.prototype.setSym=function(t){this._sym=t},e.prototype.setVisitedEdge=function(t){this.setVisited(t),this._sym.setVisited(t)},e.prototype.setEdgeDepths=function(t,e){var n=this.getEdge().getDepthDelta();this._isForward||(n=-n);var l=1;t===Ju.LEFT&&(l=-1);var i=Ju.opposite(t),r=e+n*l;this.setDepth(t,e),this.setDepth(i,r)},e.prototype.getEdgeRing=function(){return this._edgeRing},e.prototype.isInResult=function(){return this._isInResult},e.prototype.setNext=function(t){this._next=t},e.prototype.isVisited=function(){return this._isVisited},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.depthFactor=function(t,e){return t===Za.EXTERIOR&&e===Za.INTERIOR?1:t===Za.INTERIOR&&e===Za.EXTERIOR?-1:0},e}(pc),bc=function(){};bc.prototype.createNode=function(t){return new uc(t,null)},bc.prototype.interfaces_=function(){return[]},bc.prototype.getClass=function(){return bc};var mc=function(){if(this._edges=new Xs,this._nodes=null,this._edgeEndList=new Xs,0===arguments.length)this._nodes=new cc(new bc);else if(1===arguments.length){var t=arguments[0];this._nodes=new cc(t)}};mc.prototype.printEdges=function(t){t.println("Edges:");for(var e=0;e<this._edges.size();e++){t.println("edge "+e+":");var n=this._edges.get(e);n.print(t),n.eiList.print(t)}},mc.prototype.find=function(t){return this._nodes.find(t)},mc.prototype.addNode=function(){if(arguments[0]instanceof uc){var t=arguments[0];return this._nodes.addNode(t)}if(arguments[0]instanceof Xa){var e=arguments[0];return this._nodes.addNode(e)}},mc.prototype.getNodeIterator=function(){return this._nodes.iterator()},mc.prototype.linkResultDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkResultDirectedEdges()},mc.prototype.debugPrintln=function(t){bs.out.println(t)},mc.prototype.isBoundaryNode=function(t,e){var n=this._nodes.find(e);if(null===n)return!1;var l=n.getLabel();return null!==l&&l.getLocation(t)===Za.BOUNDARY},mc.prototype.linkAllDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkAllDirectedEdges()},mc.prototype.matchInSameDirection=function(t,e,n,l){return!!t.equals(n)&&Es.computeOrientation(t,e,l)===Es.COLLINEAR&&dc.quadrant(t,e)===dc.quadrant(n,l)},mc.prototype.getEdgeEnds=function(){return this._edgeEndList},mc.prototype.debugPrint=function(t){bs.out.print(t)},mc.prototype.getEdgeIterator=function(){return this._edges.iterator()},mc.prototype.findEdgeInSameDirection=function(t,e){for(var n=0;n<this._edges.size();n++){var l=this._edges.get(n),i=l.getCoordinates();if(this.matchInSameDirection(t,e,i[0],i[1]))return l;if(this.matchInSameDirection(t,e,i[i.length-1],i[i.length-2]))return l}return null},mc.prototype.insertEdge=function(t){this._edges.add(t)},mc.prototype.findEdgeEnd=function(t){for(var e=this.getEdgeEnds().iterator();e.hasNext();){var n=e.next();if(n.getEdge()===t)return n}return null},mc.prototype.addEdges=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this._edges.add(n);var l=new fc(n,!0),i=new fc(n,!1);l.setSym(i),i.setSym(l),this.add(l),this.add(i)}},mc.prototype.add=function(t){this._nodes.add(t),this._edgeEndList.add(t)},mc.prototype.getNodes=function(){return this._nodes.values()},mc.prototype.findEdge=function(t,e){for(var n=0;n<this._edges.size();n++){var l=this._edges.get(n),i=l.getCoordinates();if(t.equals(i[0])&&e.equals(i[1]))return l}return null},mc.prototype.interfaces_=function(){return[]},mc.prototype.getClass=function(){return mc},mc.linkResultDirectedEdges=function(t){for(var e=t.iterator();e.hasNext();)e.next().getEdges().linkResultDirectedEdges()};var gc=function(){this._geometryFactory=null,this._shellList=new Xs;var t=arguments[0];this._geometryFactory=t};gc.prototype.sortShellsAndHoles=function(t,e,n){for(var l=t.iterator();l.hasNext();){var i=l.next();i.isHole()?n.add(i):e.add(i)}},gc.prototype.computePolygons=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next().toPolygon(this._geometryFactory);e.add(l)}return e},gc.prototype.placeFreeHoles=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();if(null===l.getShell()){var i=this.findEdgeRingContaining(l,t);if(null===i)throw new tc("unable to assign hole to a shell",l.getCoordinate(0));l.setShell(i)}}},gc.prototype.buildMinimalEdgeRings=function(t,e,n){for(var l=new Xs,i=t.iterator();i.hasNext();){var r=i.next();if(r.getMaxNodeDegree()>2){r.linkDirectedEdgesForMinimalEdgeRings();var o=r.buildMinimalRings(),a=this.findShell(o);null!==a?(this.placePolygonHoles(a,o),e.add(a)):n.addAll(o)}else l.add(r)}return l},gc.prototype.containsPoint=function(t){for(var e=this._shellList.iterator();e.hasNext();)if(e.next().containsPoint(t))return!0;return!1},gc.prototype.buildMaximalEdgeRings=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();if(l.isInResult()&&l.getLabel().isArea()&&null===l.getEdgeRing()){var i=new ac(l,this._geometryFactory);e.add(i),i.setInResult()}}return e},gc.prototype.placePolygonHoles=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();l.isHole()&&l.setShell(t)}},gc.prototype.getPolygons=function(){return this.computePolygons(this._shellList)},gc.prototype.findEdgeRingContaining=function(t,e){for(var n=t.getLinearRing(),l=n.getEnvelopeInternal(),i=n.getCoordinateN(0),r=null,o=null,a=e.iterator();a.hasNext();){var s=a.next(),u=s.getLinearRing(),c=u.getEnvelopeInternal();null!==r&&(o=r.getLinearRing().getEnvelopeInternal());var d=!1;c.contains(l)&&Es.isPointInRing(i,u.getCoordinates())&&(d=!0),d&&(null===r||o.contains(c))&&(r=s)}return r},gc.prototype.findShell=function(t){for(var e=0,n=null,l=t.iterator();l.hasNext();){var i=l.next();i.isHole()||(n=i,e++)}return Ss.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n},gc.prototype.add=function(){if(1===arguments.length){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){var e=arguments[0],n=arguments[1];mc.linkResultDirectedEdges(n);var l=this.buildMaximalEdgeRings(e),i=new Xs,r=this.buildMinimalEdgeRings(l,this._shellList,i);this.sortShellsAndHoles(r,this._shellList,i),this.placeFreeHoles(this._shellList,i)}},gc.prototype.interfaces_=function(){return[]},gc.prototype.getClass=function(){return gc};var _c=function(){};_c.prototype.getBounds=function(){},_c.prototype.interfaces_=function(){return[]},_c.prototype.getClass=function(){return _c};var yc=function(){this._bounds=null,this._item=null;var t=arguments[0],e=arguments[1];this._bounds=t,this._item=e};yc.prototype.getItem=function(){return this._item},yc.prototype.getBounds=function(){return this._bounds},yc.prototype.interfaces_=function(){return[_c,mi]},yc.prototype.getClass=function(){return yc};var Ac=function(){this._size=null,this._items=null,this._size=0,this._items=new Xs,this._items.add(null)};Ac.prototype.poll=function(){if(this.isEmpty())return null;var t=this._items.get(1);return this._items.set(1,this._items.get(this._size)),this._size-=1,this.reorder(1),t},Ac.prototype.size=function(){return this._size},Ac.prototype.reorder=function(t){for(var e=null,n=this._items.get(t);2*t<=this._size&&((e=2*t)!==this._size&&this._items.get(e+1).compareTo(this._items.get(e))<0&&e++,this._items.get(e).compareTo(n)<0);t=e)this._items.set(t,this._items.get(e));this._items.set(t,n)},Ac.prototype.clear=function(){this._size=0,this._items.clear()},Ac.prototype.isEmpty=function(){return 0===this._size},Ac.prototype.add=function(t){this._items.add(null),this._size+=1;var e=this._size;for(this._items.set(0,t);t.compareTo(this._items.get(Math.trunc(e/2)))<0;e/=2)this._items.set(e,this._items.get(Math.trunc(e/2)));this._items.set(e,t)},Ac.prototype.interfaces_=function(){return[]},Ac.prototype.getClass=function(){return Ac};var vc=function(){};vc.prototype.visitItem=function(t){},vc.prototype.interfaces_=function(){return[]},vc.prototype.getClass=function(){return vc};var Cc=function(){};Cc.prototype.insert=function(t,e){},Cc.prototype.remove=function(t,e){},Cc.prototype.query=function(){},Cc.prototype.interfaces_=function(){return[]},Cc.prototype.getClass=function(){return Cc};var wc=function(){if(this._childBoundables=new Xs,this._bounds=null,this._level=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._level=t}},Pc={serialVersionUID:{configurable:!0}};wc.prototype.getLevel=function(){return this._level},wc.prototype.size=function(){return this._childBoundables.size()},wc.prototype.getChildBoundables=function(){return this._childBoundables},wc.prototype.addChildBoundable=function(t){Ss.isTrue(null===this._bounds),this._childBoundables.add(t)},wc.prototype.isEmpty=function(){return this._childBoundables.isEmpty()},wc.prototype.getBounds=function(){return null===this._bounds&&(this._bounds=this.computeBounds()),this._bounds},wc.prototype.interfaces_=function(){return[_c,mi]},wc.prototype.getClass=function(){return wc},Pc.serialVersionUID.get=function(){return 0x5a1e55ec41369800},Object.defineProperties(wc,Pc);var xc=function(){};xc.reverseOrder=function(){return{compare:function(t,e){return e.compareTo(t)}}},xc.min=function(t){return xc.sort(t),t.get(0)},xc.sort=function(t,e){var n=t.toArray();e?uu.sort(n,e):uu.sort(n);for(var l=t.iterator(),i=0,r=n.length;i<r;i++)l.next(),l.set(n[i])},xc.singletonList=function(t){var e=new Xs;return e.add(t),e};var Sc=function(){this._boundable1=null,this._boundable2=null,this._distance=null,this._itemDistance=null;var t=arguments[0],e=arguments[1],n=arguments[2];this._boundable1=t,this._boundable2=e,this._itemDistance=n,this._distance=this.distance()};Sc.prototype.expandToQueue=function(t,e){var n=Sc.isComposite(this._boundable1),l=Sc.isComposite(this._boundable2);if(n&&l)return Sc.area(this._boundable1)>Sc.area(this._boundable2)?(this.expand(this._boundable1,this._boundable2,t,e),null):(this.expand(this._boundable2,this._boundable1,t,e),null);if(n)return this.expand(this._boundable1,this._boundable2,t,e),null;if(l)return this.expand(this._boundable2,this._boundable1,t,e),null;throw new Ga("neither boundable is composite")},Sc.prototype.isLeaves=function(){return!(Sc.isComposite(this._boundable1)||Sc.isComposite(this._boundable2))},Sc.prototype.compareTo=function(t){return this._distance<t._distance?-1:this._distance>t._distance?1:0},Sc.prototype.expand=function(t,e,n,l){for(var i=t.getChildBoundables().iterator();i.hasNext();){var r=i.next(),o=new Sc(r,e,this._itemDistance);o.getDistance()<l&&n.add(o)}},Sc.prototype.getBoundable=function(t){return 0===t?this._boundable1:this._boundable2},Sc.prototype.getDistance=function(){return this._distance},Sc.prototype.distance=function(){return this.isLeaves()?this._itemDistance.distance(this._boundable1,this._boundable2):this._boundable1.getBounds().distance(this._boundable2.getBounds())},Sc.prototype.interfaces_=function(){return[qa]},Sc.prototype.getClass=function(){return Sc},Sc.area=function(t){return t.getBounds().getArea()},Sc.isComposite=function(t){return t instanceof wc};var kc=function t(){if(this._root=null,this._built=!1,this._itemBoundables=new Xs,this._nodeCapacity=null,0===arguments.length){var e=t.DEFAULT_NODE_CAPACITY;this._nodeCapacity=e}else if(1===arguments.length){var n=arguments[0];Ss.isTrue(n>1,"Node capacity must be greater than 1"),this._nodeCapacity=n}},Mc={IntersectsOp:{configurable:!0},serialVersionUID:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};kc.prototype.getNodeCapacity=function(){return this._nodeCapacity},kc.prototype.lastNode=function(t){return t.get(t.size()-1)},kc.prototype.size=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.size(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var n=e.next();n instanceof wc?t+=this.size(n):n instanceof yc&&(t+=1)}return t}},kc.prototype.removeItem=function(t,e){for(var n=null,l=t.getChildBoundables().iterator();l.hasNext();){var i=l.next();i instanceof yc&&i.getItem()===e&&(n=i)}return null!==n&&(t.getChildBoundables().remove(n),!0)},kc.prototype.itemsTree=function(){if(0===arguments.length){this.build();var t=this.itemsTree(this._root);return null===t?new Xs:t}if(1===arguments.length){for(var e=arguments[0],n=new Xs,l=e.getChildBoundables().iterator();l.hasNext();){var i=l.next();if(i instanceof wc){var r=this.itemsTree(i);null!==r&&n.add(r)}else i instanceof yc?n.add(i.getItem()):Ss.shouldNeverReachHere()}return n.size()<=0?null:n}},kc.prototype.insert=function(t,e){Ss.isTrue(!this._built,"Cannot insert items into an STR packed R-tree after it has been built."),this._itemBoundables.add(new yc(t,e))},kc.prototype.boundablesAtLevel=function(){if(1===arguments.length){var t=arguments[0],e=new Xs;return this.boundablesAtLevel(t,this._root,e),e}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];if(Ss.isTrue(n>-2),l.getLevel()===n)return i.add(l),null;for(var r=l.getChildBoundables().iterator();r.hasNext();){var o=r.next();o instanceof wc?this.boundablesAtLevel(n,o,i):(Ss.isTrue(o instanceof yc),-1===n&&i.add(o))}return null}},kc.prototype.query=function(){if(1===arguments.length){var t=arguments[0];this.build();var e=new Xs;return this.isEmpty()||this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.query(t,this._root,e),e}if(2===arguments.length){var n=arguments[0],l=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this._root.getBounds(),n)&&this.query(n,this._root,l)}else if(3===arguments.length)if(es(arguments[2],vc)&&arguments[0]instanceof Object&&arguments[1]instanceof wc)for(var i=arguments[0],r=arguments[1],o=arguments[2],a=r.getChildBoundables(),s=0;s<a.size();s++){var u=a.get(s);this.getIntersectsOp().intersects(u.getBounds(),i)&&(u instanceof wc?this.query(i,u,o):u instanceof yc?o.visitItem(u.getItem()):Ss.shouldNeverReachHere())}else if(es(arguments[2],$s)&&arguments[0]instanceof Object&&arguments[1]instanceof wc)for(var c=arguments[0],d=arguments[1],h=arguments[2],p=d.getChildBoundables(),f=0;f<p.size();f++){var b=p.get(f);this.getIntersectsOp().intersects(b.getBounds(),c)&&(b instanceof wc?this.query(c,b,h):b instanceof yc?h.add(b.getItem()):Ss.shouldNeverReachHere())}},kc.prototype.build=function(){if(this._built)return null;this._root=this._itemBoundables.isEmpty()?this.createNode(0):this.createHigherLevels(this._itemBoundables,-1),this._itemBoundables=null,this._built=!0},kc.prototype.getRoot=function(){return this.build(),this._root},kc.prototype.remove=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.build(),!!this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.remove(t,this._root,e)}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=this.removeItem(l,i);if(r)return!0;for(var o=null,a=l.getChildBoundables().iterator();a.hasNext();){var s=a.next();if(this.getIntersectsOp().intersects(s.getBounds(),n)&&s instanceof wc&&(r=this.remove(n,s,i))){o=s;break}}return null!==o&&o.getChildBoundables().isEmpty()&&l.getChildBoundables().remove(o),r}},kc.prototype.createHigherLevels=function(t,e){Ss.isTrue(!t.isEmpty());var n=this.createParentBoundables(t,e+1);return 1===n.size()?n.get(0):this.createHigherLevels(n,e+1)},kc.prototype.depth=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.depth(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var n=e.next();if(n instanceof wc){var l=this.depth(n);l>t&&(t=l)}}return t+1}},kc.prototype.createParentBoundables=function(t,e){Ss.isTrue(!t.isEmpty());var n=new Xs;n.add(this.createNode(e));var l=new Xs(t);xc.sort(l,this.getComparator());for(var i=l.iterator();i.hasNext();){var r=i.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(r)}return n},kc.prototype.isEmpty=function(){return this._built?this._root.isEmpty():this._itemBoundables.isEmpty()},kc.prototype.interfaces_=function(){return[mi]},kc.prototype.getClass=function(){return kc},kc.compareDoubles=function(t,e){return t>e?1:t<e?-1:0},Mc.IntersectsOp.get=function(){return Oc},Mc.serialVersionUID.get=function(){return-0x35ef64c82d4c5400},Mc.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(kc,Mc);var Oc=function(){},Dc=function(){};Dc.prototype.distance=function(t,e){},Dc.prototype.interfaces_=function(){return[]},Dc.prototype.getClass=function(){return Dc};var Tc=function(t){function e(n){t.call(this,n=n||e.DEFAULT_NODE_CAPACITY)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={STRtreeNode:{configurable:!0},serialVersionUID:{configurable:!0},xComparator:{configurable:!0},yComparator:{configurable:!0},intersectsOp:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};return e.prototype.createParentBoundablesFromVerticalSlices=function(t,e){Ss.isTrue(t.length>0);for(var n=new Xs,l=0;l<t.length;l++)n.addAll(this.createParentBoundablesFromVerticalSlice(t[l],e));return n},e.prototype.createNode=function(t){return new Ec(t)},e.prototype.size=function(){return 0===arguments.length?t.prototype.size.call(this):t.prototype.size.apply(this,arguments)},e.prototype.insert=function(){if(2!==arguments.length)return t.prototype.insert.apply(this,arguments);var e=arguments[0],n=arguments[1];if(e.isNull())return null;t.prototype.insert.call(this,e,n)},e.prototype.getIntersectsOp=function(){return e.intersectsOp},e.prototype.verticalSlices=function(t,e){for(var n=Math.trunc(Math.ceil(t.size()/e)),l=new Array(e).fill(null),i=t.iterator(),r=0;r<e;r++){l[r]=new Xs;for(var o=0;i.hasNext()&&o<n;){var a=i.next();l[r].add(a),o++}}return l},e.prototype.query=function(){if(1===arguments.length){var e=arguments[0];return t.prototype.query.call(this,e)}if(2===arguments.length){var n=arguments[0],l=arguments[1];t.prototype.query.call(this,n,l)}else if(3===arguments.length)if(es(arguments[2],vc)&&arguments[0]instanceof Object&&arguments[1]instanceof wc){var i=arguments[0],r=arguments[1],o=arguments[2];t.prototype.query.call(this,i,r,o)}else if(es(arguments[2],$s)&&arguments[0]instanceof Object&&arguments[1]instanceof wc){var a=arguments[0],s=arguments[1],u=arguments[2];t.prototype.query.call(this,a,s,u)}},e.prototype.getComparator=function(){return e.yComparator},e.prototype.createParentBoundablesFromVerticalSlice=function(e,n){return t.prototype.createParentBoundables.call(this,e,n)},e.prototype.remove=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return t.prototype.remove.call(this,e,n)}return t.prototype.remove.apply(this,arguments)},e.prototype.depth=function(){return 0===arguments.length?t.prototype.depth.call(this):t.prototype.depth.apply(this,arguments)},e.prototype.createParentBoundables=function(t,n){Ss.isTrue(!t.isEmpty());var l=Math.trunc(Math.ceil(t.size()/this.getNodeCapacity())),i=new Xs(t);xc.sort(i,e.xComparator);var r=this.verticalSlices(i,Math.trunc(Math.ceil(Math.sqrt(l))));return this.createParentBoundablesFromVerticalSlices(r,n)},e.prototype.nearestNeighbour=function(){if(1===arguments.length){if(es(arguments[0],Dc)){var t=arguments[0],n=new Sc(this.getRoot(),this.getRoot(),t);return this.nearestNeighbour(n)}if(arguments[0]instanceof Sc){var l=arguments[0];return this.nearestNeighbour(l,Ha.POSITIVE_INFINITY)}}else if(2===arguments.length){if(arguments[0]instanceof e&&es(arguments[1],Dc)){var i=arguments[0],r=arguments[1],o=new Sc(this.getRoot(),i.getRoot(),r);return this.nearestNeighbour(o)}if(arguments[0]instanceof Sc&&"number"==typeof arguments[1]){var a=arguments[0],s=arguments[1],u=null,c=new Ac;for(c.add(a);!c.isEmpty()&&s>0;){var d=c.poll(),h=d.getDistance();if(h>=s)break;d.isLeaves()?(s=h,u=d):d.expandToQueue(c,s)}return[u.getBoundable(0).getItem(),u.getBoundable(1).getItem()]}}else if(3===arguments.length){var p=arguments[0],f=arguments[1],b=arguments[2],m=new yc(p,f),g=new Sc(this.getRoot(),m,b);return this.nearestNeighbour(g)[0]}},e.prototype.interfaces_=function(){return[Cc,mi]},e.prototype.getClass=function(){return e},e.centreX=function(t){return e.avg(t.getMinX(),t.getMaxX())},e.avg=function(t,e){return(t+e)/2},e.centreY=function(t){return e.avg(t.getMinY(),t.getMaxY())},n.STRtreeNode.get=function(){return Ec},n.serialVersionUID.get=function(){return 0x39920f7d5f261e0},n.xComparator.get=function(){return{interfaces_:function(){return[$a]},compare:function(n,l){return t.compareDoubles(e.centreX(n.getBounds()),e.centreX(l.getBounds()))}}},n.yComparator.get=function(){return{interfaces_:function(){return[$a]},compare:function(n,l){return t.compareDoubles(e.centreY(n.getBounds()),e.centreY(l.getBounds()))}}},n.intersectsOp.get=function(){return{interfaces_:function(){return[t.IntersectsOp]},intersects:function(t,e){return t.intersects(e)}}},n.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(e,n),e}(kc),Ec=function(t){function e(){var e=arguments[0];t.call(this,e)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.computeBounds=function(){for(var t=null,e=this.getChildBoundables().iterator();e.hasNext();){var n=e.next();null===t?t=new gs(n.getBounds()):t.expandToInclude(n.getBounds())}return t},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(wc),Ic=function(){};Ic.prototype.interfaces_=function(){return[]},Ic.prototype.getClass=function(){return Ic},Ic.relativeSign=function(t,e){return t<e?-1:t>e?1:0},Ic.compare=function(t,e,n){if(e.equals2D(n))return 0;var l=Ic.relativeSign(e.x,n.x),i=Ic.relativeSign(e.y,n.y);switch(t){case 0:return Ic.compareValue(l,i);case 1:return Ic.compareValue(i,l);case 2:return Ic.compareValue(i,-l);case 3:return Ic.compareValue(-l,i);case 4:return Ic.compareValue(-l,-i);case 5:return Ic.compareValue(-i,-l);case 6:return Ic.compareValue(-i,l);case 7:return Ic.compareValue(l,-i)}return Ss.shouldNeverReachHere("invalid octant value"),0},Ic.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0};var Lc=function(){this._segString=null,this.coord=null,this.segmentIndex=null,this._segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this._segString=t,this.coord=new Xa(e),this.segmentIndex=n,this._segmentOctant=l,this._isInterior=!e.equals2D(t.getCoordinate(n))};Lc.prototype.getCoordinate=function(){return this.coord},Lc.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)},Lc.prototype.compareTo=function(t){var e=t;return this.segmentIndex<e.segmentIndex?-1:this.segmentIndex>e.segmentIndex?1:this.coord.equals2D(e.coord)?0:Ic.compare(this._segmentOctant,this.coord,e.coord)},Lc.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t},Lc.prototype.isInterior=function(){return this._isInterior},Lc.prototype.interfaces_=function(){return[qa]},Lc.prototype.getClass=function(){return Lc};var jc=function(){this._nodeMap=new xi,this._edge=null;var t=arguments[0];this._edge=t};jc.prototype.getSplitCoordinates=function(){var t=new Js;this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next();this.addEdgeCoordinates(n,l,t),n=l}return t.toCoordinateArray()},jc.prototype.addCollapsedNodes=function(){var t=new Xs;this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(var e=t.iterator();e.hasNext();){var n=e.next().intValue();this.add(this._edge.getCoordinate(n),n)}},jc.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},jc.prototype.findCollapsesFromExistingVertices=function(t){for(var e=0;e<this._edge.size()-2;e++){var n=this._edge.getCoordinate(e),l=this._edge.getCoordinate(e+2);n.equals2D(l)&&t.add(new rs(e+1))}},jc.prototype.addEdgeCoordinates=function(t,e,n){var l=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(l);n.add(new Xa(t.coord),!1);for(var r=t.segmentIndex+1;r<=e.segmentIndex;r++)n.add(this._edge.getCoordinate(r));i&&n.add(new Xa(e.coord))},jc.prototype.iterator=function(){return this._nodeMap.values().iterator()},jc.prototype.addSplitEdges=function(t){this.addEndpoints(),this.addCollapsedNodes();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next(),i=this.createSplitEdge(n,l);t.add(i),n=l}},jc.prototype.findCollapseIndex=function(t,e,n){if(!t.coord.equals2D(e.coord))return!1;var l=e.segmentIndex-t.segmentIndex;return e.isInterior()||l--,1===l&&(n[0]=t.segmentIndex+1,!0)},jc.prototype.findCollapsesFromInsertedNodes=function(t){for(var e=new Array(1).fill(null),n=this.iterator(),l=n.next();n.hasNext();){var i=n.next();this.findCollapseIndex(l,i,e)&&t.add(new rs(e[0])),l=i}},jc.prototype.getEdge=function(){return this._edge},jc.prototype.addEndpoints=function(){var t=this._edge.size()-1;this.add(this._edge.getCoordinate(0),0),this.add(this._edge.getCoordinate(t),t)},jc.prototype.createSplitEdge=function(t,e){var n=e.segmentIndex-t.segmentIndex+2,l=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(l);i||n--;var r=new Array(n).fill(null),o=0;r[o++]=new Xa(t.coord);for(var a=t.segmentIndex+1;a<=e.segmentIndex;a++)r[o++]=this._edge.getCoordinate(a);return i&&(r[o]=new Xa(e.coord)),new Yc(r,this._edge.getData())},jc.prototype.add=function(t,e){var n=new Lc(this._edge,t,e,this._edge.getSegmentOctant(e)),l=this._nodeMap.get(n);return null!==l?(Ss.isTrue(l.coord.equals2D(t),"Found equal nodes with different coordinates"),l):(this._nodeMap.put(n,n),n)},jc.prototype.checkSplitEdgesCorrectness=function(t){var e=this._edge.getCoordinates(),n=t.get(0).getCoordinate(0);if(!n.equals2D(e[0]))throw new Ps("bad split edge start point at "+n);var l=t.get(t.size()-1).getCoordinates(),i=l[l.length-1];if(!i.equals2D(e[e.length-1]))throw new Ps("bad split edge end point at "+i)},jc.prototype.interfaces_=function(){return[]},jc.prototype.getClass=function(){return jc};var Rc=function(){};Rc.prototype.interfaces_=function(){return[]},Rc.prototype.getClass=function(){return Rc},Rc.octant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new Ga("Cannot compute the octant for point ( "+t+", "+e+" )");var n=Math.abs(t),l=Math.abs(e);return t>=0?e>=0?n>=l?0:1:n>=l?7:6:e>=0?n>=l?3:2:n>=l?4:5}if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var i=arguments[0],r=arguments[1],o=r.x-i.x,a=r.y-i.y;if(0===o&&0===a)throw new Ga("Cannot compute the octant for two identical points "+i);return Rc.octant(o,a)}};var Fc=function(){};Fc.prototype.getCoordinates=function(){},Fc.prototype.size=function(){},Fc.prototype.getCoordinate=function(t){},Fc.prototype.isClosed=function(){},Fc.prototype.setData=function(t){},Fc.prototype.getData=function(){},Fc.prototype.interfaces_=function(){return[]},Fc.prototype.getClass=function(){return Fc};var Nc=function(){};Nc.prototype.addIntersection=function(t,e){},Nc.prototype.interfaces_=function(){return[Fc]},Nc.prototype.getClass=function(){return Nc};var Yc=function(){this._nodeList=new jc(this),this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};Yc.prototype.getCoordinates=function(){return this._pts},Yc.prototype.size=function(){return this._pts.length},Yc.prototype.getCoordinate=function(t){return this._pts[t]},Yc.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},Yc.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:this.safeOctant(this.getCoordinate(t),this.getCoordinate(t+1))},Yc.prototype.setData=function(t){this._data=t},Yc.prototype.safeOctant=function(t,e){return t.equals2D(e)?0:Rc.octant(t,e)},Yc.prototype.getData=function(){return this._data},Yc.prototype.addIntersection=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.addIntersectionNode(t,e)}else if(4===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[3],r=new Xa(n.getIntersection(i));this.addIntersection(r,l)}},Yc.prototype.toString=function(){return ws.toLineString(new Lu(this._pts))},Yc.prototype.getNodeList=function(){return this._nodeList},Yc.prototype.addIntersectionNode=function(t,e){var n=e,l=n+1;return l<this._pts.length&&t.equals2D(this._pts[l])&&(n=l),this._nodeList.add(t,n)},Yc.prototype.addIntersections=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++)this.addIntersection(t,e,n,l)},Yc.prototype.interfaces_=function(){return[Nc]},Yc.prototype.getClass=function(){return Yc},Yc.getNodedSubstrings=function(){if(1===arguments.length){var t=arguments[0],e=new Xs;return Yc.getNodedSubstrings(t,e),e}if(2===arguments.length)for(var n=arguments[0],l=arguments[1],i=n.iterator();i.hasNext();)i.next().getNodeList().addSplitEdges(l)};var Uc=function(){if(this.p0=null,this.p1=null,0===arguments.length)this.p0=new Xa,this.p1=new Xa;else if(1===arguments.length){var t=arguments[0];this.p0=new Xa(t.p0),this.p1=new Xa(t.p1)}else if(2===arguments.length)this.p0=arguments[0],this.p1=arguments[1];else if(4===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2],i=arguments[3];this.p0=new Xa(e,n),this.p1=new Xa(l,i)}},Bc={serialVersionUID:{configurable:!0}};Uc.prototype.minX=function(){return Math.min(this.p0.x,this.p1.x)},Uc.prototype.orientationIndex=function(){if(arguments[0]instanceof Uc){var t=arguments[0],e=Es.orientationIndex(this.p0,this.p1,t.p0),n=Es.orientationIndex(this.p0,this.p1,t.p1);return e>=0&&n>=0||e<=0&&n<=0?Math.max(e,n):0}if(arguments[0]instanceof Xa){var l=arguments[0];return Es.orientationIndex(this.p0,this.p1,l)}},Uc.prototype.toGeometry=function(t){return t.createLineString([this.p0,this.p1])},Uc.prototype.isVertical=function(){return this.p0.x===this.p1.x},Uc.prototype.equals=function(t){if(!(t instanceof Uc))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)},Uc.prototype.intersection=function(t){var e=new Os;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null},Uc.prototype.project=function(){if(arguments[0]instanceof Xa){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new Xa(t);var e=this.projectionFactor(t),n=new Xa;return n.x=this.p0.x+e*(this.p1.x-this.p0.x),n.y=this.p0.y+e*(this.p1.y-this.p0.y),n}if(arguments[0]instanceof Uc){var l=arguments[0],i=this.projectionFactor(l.p0),r=this.projectionFactor(l.p1);if(i>=1&&r>=1)return null;if(i<=0&&r<=0)return null;var o=this.project(l.p0);i<0&&(o=this.p0),i>1&&(o=this.p1);var a=this.project(l.p1);return r<0&&(a=this.p0),r>1&&(a=this.p1),new Uc(o,a)}},Uc.prototype.normalize=function(){this.p1.compareTo(this.p0)<0&&this.reverse()},Uc.prototype.angle=function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)},Uc.prototype.getCoordinate=function(t){return 0===t?this.p0:this.p1},Uc.prototype.distancePerpendicular=function(t){return Es.distancePointLinePerpendicular(t,this.p0,this.p1)},Uc.prototype.minY=function(){return Math.min(this.p0.y,this.p1.y)},Uc.prototype.midPoint=function(){return Uc.midPoint(this.p0,this.p1)},Uc.prototype.projectionFactor=function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,n=this.p1.y-this.p0.y,l=e*e+n*n;return l<=0?Ha.NaN:((t.x-this.p0.x)*e+(t.y-this.p0.y)*n)/l},Uc.prototype.closestPoints=function(t){var e=this.intersection(t);if(null!==e)return[e,e];var n=new Array(2).fill(null),l=Ha.MAX_VALUE,i=null,r=this.closestPoint(t.p0);l=r.distance(t.p0),n[0]=r,n[1]=t.p0;var o=this.closestPoint(t.p1);(i=o.distance(t.p1))<l&&(l=i,n[0]=o,n[1]=t.p1);var a=t.closestPoint(this.p0);(i=a.distance(this.p0))<l&&(l=i,n[0]=this.p0,n[1]=a);var s=t.closestPoint(this.p1);return(i=s.distance(this.p1))<l&&(l=i,n[0]=this.p1,n[1]=s),n},Uc.prototype.closestPoint=function(t){var e=this.projectionFactor(t);return e>0&&e<1?this.project(t):this.p0.distance(t)<this.p1.distance(t)?this.p0:this.p1},Uc.prototype.maxX=function(){return Math.max(this.p0.x,this.p1.x)},Uc.prototype.getLength=function(){return this.p0.distance(this.p1)},Uc.prototype.compareTo=function(t){var e=t,n=this.p0.compareTo(e.p0);return 0!==n?n:this.p1.compareTo(e.p1)},Uc.prototype.reverse=function(){var t=this.p0;this.p0=this.p1,this.p1=t},Uc.prototype.equalsTopo=function(t){return this.p0.equals(t.p0)&&(this.p1.equals(t.p1)||this.p0.equals(t.p1))&&this.p1.equals(t.p0)},Uc.prototype.lineIntersection=function(t){try{return ms.intersection(this.p0,this.p1,t.p0,t.p1)}catch(t){if(!(t instanceof fs))throw t}return null},Uc.prototype.maxY=function(){return Math.max(this.p0.y,this.p1.y)},Uc.prototype.pointAlongOffset=function(t,e){var n=this.p0.x+t*(this.p1.x-this.p0.x),l=this.p0.y+t*(this.p1.y-this.p0.y),i=this.p1.x-this.p0.x,r=this.p1.y-this.p0.y,o=Math.sqrt(i*i+r*r),a=0,s=0;if(0!==e){if(o<=0)throw new Error("Cannot compute offset from zero-length line segment");a=e*i/o,s=e*r/o}return new Xa(n-s,l+a)},Uc.prototype.setCoordinates=function(){if(1===arguments.length){var t=arguments[0];this.setCoordinates(t.p0,t.p1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.p0.x=e.x,this.p0.y=e.y,this.p1.x=n.x,this.p1.y=n.y}},Uc.prototype.segmentFraction=function(t){var e=this.projectionFactor(t);return e<0?e=0:(e>1||Ha.isNaN(e))&&(e=1),e},Uc.prototype.toString=function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"},Uc.prototype.isHorizontal=function(){return this.p0.y===this.p1.y},Uc.prototype.distance=function(){if(arguments[0]instanceof Uc){var t=arguments[0];return Es.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}if(arguments[0]instanceof Xa){var e=arguments[0];return Es.distancePointLine(e,this.p0,this.p1)}},Uc.prototype.pointAlong=function(t){var e=new Xa;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e},Uc.prototype.hashCode=function(){var t=Ha.doubleToLongBits(this.p0.x);t^=31*Ha.doubleToLongBits(this.p0.y);var e=Math.trunc(t)^Math.trunc(t>>32),n=Ha.doubleToLongBits(this.p1.x);return n^=31*Ha.doubleToLongBits(this.p1.y),e^Math.trunc(n)^Math.trunc(n>>32)},Uc.prototype.interfaces_=function(){return[qa,mi]},Uc.prototype.getClass=function(){return Uc},Uc.midPoint=function(t,e){return new Xa((t.x+e.x)/2,(t.y+e.y)/2)},Bc.serialVersionUID.get=function(){return 0x2d2172135f411c00},Object.defineProperties(Uc,Bc);var zc=function(){this.tempEnv1=new gs,this.tempEnv2=new gs,this._overlapSeg1=new Uc,this._overlapSeg2=new Uc};zc.prototype.overlap=function(){if(2===arguments.length);else if(4===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];t.getLineSegment(e,this._overlapSeg1),n.getLineSegment(l,this._overlapSeg2),this.overlap(this._overlapSeg1,this._overlapSeg2)}},zc.prototype.interfaces_=function(){return[]},zc.prototype.getClass=function(){return zc};var Gc=function(){this._pts=null,this._start=null,this._end=null,this._env=null,this._context=null,this._id=null;var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this._pts=t,this._start=e,this._end=n,this._context=l};Gc.prototype.getLineSegment=function(t,e){e.p0=this._pts[t],e.p1=this._pts[t+1]},Gc.prototype.computeSelect=function(t,e,n,l){if(l.tempEnv1.init(this._pts[e],this._pts[n]),n-e==1)return l.select(this,e),null;if(!t.intersects(l.tempEnv1))return null;var i=Math.trunc((e+n)/2);e<i&&this.computeSelect(t,e,i,l),i<n&&this.computeSelect(t,i,n,l)},Gc.prototype.getCoordinates=function(){for(var t=new Array(this._end-this._start+1).fill(null),e=0,n=this._start;n<=this._end;n++)t[e++]=this._pts[n];return t},Gc.prototype.computeOverlaps=function(t,e){this.computeOverlapsInternal(this._start,this._end,t,t._start,t._end,e)},Gc.prototype.setId=function(t){this._id=t},Gc.prototype.select=function(t,e){this.computeSelect(t,this._start,this._end,e)},Gc.prototype.getEnvelope=function(){return null===this._env&&(this._env=new gs(this._pts[this._start],this._pts[this._end])),this._env},Gc.prototype.getEndIndex=function(){return this._end},Gc.prototype.getStartIndex=function(){return this._start},Gc.prototype.getContext=function(){return this._context},Gc.prototype.getId=function(){return this._id},Gc.prototype.computeOverlapsInternal=function(t,e,n,l,i,r){var o=this._pts[t],a=this._pts[e],s=n._pts[l],u=n._pts[i];if(e-t==1&&i-l==1)return r.overlap(this,t,n,l),null;if(r.tempEnv1.init(o,a),r.tempEnv2.init(s,u),!r.tempEnv1.intersects(r.tempEnv2))return null;var c=Math.trunc((t+e)/2),d=Math.trunc((l+i)/2);t<c&&(l<d&&this.computeOverlapsInternal(t,c,n,l,d,r),d<i&&this.computeOverlapsInternal(t,c,n,d,i,r)),c<e&&(l<d&&this.computeOverlapsInternal(c,e,n,l,d,r),d<i&&this.computeOverlapsInternal(c,e,n,d,i,r))},Gc.prototype.interfaces_=function(){return[]},Gc.prototype.getClass=function(){return Gc};var Hc=function(){};Hc.prototype.interfaces_=function(){return[]},Hc.prototype.getClass=function(){return Hc},Hc.getChainStartIndices=function(t){var e=0,n=new Xs;n.add(new rs(e));do{var l=Hc.findChainEnd(t,e);n.add(new rs(l)),e=l}while(e<t.length-1);return Hc.toIntArray(n)},Hc.findChainEnd=function(t,e){for(var n=e;n<t.length-1&&t[n].equals2D(t[n+1]);)n++;if(n>=t.length-1)return t.length-1;for(var l=dc.quadrant(t[n],t[n+1]),i=e+1;i<t.length&&(t[i-1].equals2D(t[i])||dc.quadrant(t[i-1],t[i])===l);)i++;return i-1},Hc.getChains=function(){if(1===arguments.length){var t=arguments[0];return Hc.getChains(t,null)}if(2===arguments.length){for(var e=arguments[0],n=arguments[1],l=new Xs,i=Hc.getChainStartIndices(e),r=0;r<i.length-1;r++){var o=new Gc(e,i[r],i[r+1],n);l.add(o)}return l}},Hc.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var Vc=function(){};Vc.prototype.computeNodes=function(t){},Vc.prototype.getNodedSubstrings=function(){},Vc.prototype.interfaces_=function(){return[]},Vc.prototype.getClass=function(){return Vc};var qc=function(){if(this._segInt=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setSegmentIntersector(t)}};qc.prototype.setSegmentIntersector=function(t){this._segInt=t},qc.prototype.interfaces_=function(){return[Vc]},qc.prototype.getClass=function(){return qc};var Wc=function(t){function e(e){e?t.call(this,e):t.call(this),this._monoChains=new Xs,this._index=new Tc,this._idCounter=0,this._nodedSegStrings=null,this._nOverlaps=0}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={SegmentOverlapAction:{configurable:!0}};return e.prototype.getMonotoneChains=function(){return this._monoChains},e.prototype.getNodedSubstrings=function(){return Yc.getNodedSubstrings(this._nodedSegStrings)},e.prototype.getIndex=function(){return this._index},e.prototype.add=function(t){for(var e=Hc.getChains(t.getCoordinates(),t).iterator();e.hasNext();){var n=e.next();n.setId(this._idCounter++),this._index.insert(n.getEnvelope(),n),this._monoChains.add(n)}},e.prototype.computeNodes=function(t){this._nodedSegStrings=t;for(var e=t.iterator();e.hasNext();)this.add(e.next());this.intersectChains()},e.prototype.intersectChains=function(){for(var t=new $c(this._segInt),e=this._monoChains.iterator();e.hasNext();)for(var n=e.next(),l=this._index.query(n.getEnvelope()).iterator();l.hasNext();){var i=l.next();if(i.getId()>n.getId()&&(n.computeOverlaps(i,t),this._nOverlaps++),this._segInt.isDone())return null}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.SegmentOverlapAction.get=function(){return $c},Object.defineProperties(e,n),e}(qc),$c=function(t){function e(){t.call(this),this._si=null;var e=arguments[0];this._si=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.overlap=function(){if(4!==arguments.length)return t.prototype.overlap.apply(this,arguments);var e=arguments[0],n=arguments[1],l=arguments[2],i=arguments[3],r=e.getContext(),o=l.getContext();this._si.processIntersections(r,n,o,i)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(zc),Xc=function t(){if(this._quadrantSegments=t.DEFAULT_QUADRANT_SEGMENTS,this._endCapStyle=t.CAP_ROUND,this._joinStyle=t.JOIN_ROUND,this._mitreLimit=t.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this._simplifyFactor=t.DEFAULT_SIMPLIFY_FACTOR,0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.setQuadrantSegments(e)}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.setQuadrantSegments(n),this.setEndCapStyle(l)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(r),this.setJoinStyle(o),this.setMitreLimit(a)}},Kc={CAP_ROUND:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},JOIN_ROUND:{configurable:!0},JOIN_MITRE:{configurable:!0},JOIN_BEVEL:{configurable:!0},DEFAULT_QUADRANT_SEGMENTS:{configurable:!0},DEFAULT_MITRE_LIMIT:{configurable:!0},DEFAULT_SIMPLIFY_FACTOR:{configurable:!0}};Xc.prototype.getEndCapStyle=function(){return this._endCapStyle},Xc.prototype.isSingleSided=function(){return this._isSingleSided},Xc.prototype.setQuadrantSegments=function(t){this._quadrantSegments=t,0===this._quadrantSegments&&(this._joinStyle=Xc.JOIN_BEVEL),this._quadrantSegments<0&&(this._joinStyle=Xc.JOIN_MITRE,this._mitreLimit=Math.abs(this._quadrantSegments)),t<=0&&(this._quadrantSegments=1),this._joinStyle!==Xc.JOIN_ROUND&&(this._quadrantSegments=Xc.DEFAULT_QUADRANT_SEGMENTS)},Xc.prototype.getJoinStyle=function(){return this._joinStyle},Xc.prototype.setJoinStyle=function(t){this._joinStyle=t},Xc.prototype.setSimplifyFactor=function(t){this._simplifyFactor=t<0?0:t},Xc.prototype.getSimplifyFactor=function(){return this._simplifyFactor},Xc.prototype.getQuadrantSegments=function(){return this._quadrantSegments},Xc.prototype.setEndCapStyle=function(t){this._endCapStyle=t},Xc.prototype.getMitreLimit=function(){return this._mitreLimit},Xc.prototype.setMitreLimit=function(t){this._mitreLimit=t},Xc.prototype.setSingleSided=function(t){this._isSingleSided=t},Xc.prototype.interfaces_=function(){return[]},Xc.prototype.getClass=function(){return Xc},Xc.bufferDistanceError=function(t){var e=Math.PI/2/t;return 1-Math.cos(e/2)},Kc.CAP_ROUND.get=function(){return 1},Kc.CAP_FLAT.get=function(){return 2},Kc.CAP_SQUARE.get=function(){return 3},Kc.JOIN_ROUND.get=function(){return 1},Kc.JOIN_MITRE.get=function(){return 2},Kc.JOIN_BEVEL.get=function(){return 3},Kc.DEFAULT_QUADRANT_SEGMENTS.get=function(){return 8},Kc.DEFAULT_MITRE_LIMIT.get=function(){return 5},Kc.DEFAULT_SIMPLIFY_FACTOR.get=function(){return.01},Object.defineProperties(Xc,Kc);var Jc=function(t){this._distanceTol=null,this._isDeleted=null,this._angleOrientation=Es.COUNTERCLOCKWISE,this._inputLine=t||null},Qc={INIT:{configurable:!0},DELETE:{configurable:!0},KEEP:{configurable:!0},NUM_PTS_TO_CHECK:{configurable:!0}};Jc.prototype.isDeletable=function(t,e,n,l){var i=this._inputLine[t],r=this._inputLine[e],o=this._inputLine[n];return!!this.isConcave(i,r,o)&&!!this.isShallow(i,r,o,l)&&this.isShallowSampled(i,r,t,n,l)},Jc.prototype.deleteShallowConcavities=function(){for(var t=1,e=this.findNextNonDeletedIndex(t),n=this.findNextNonDeletedIndex(e),l=!1;n<this._inputLine.length;){var i=!1;this.isDeletable(t,e,n,this._distanceTol)&&(this._isDeleted[e]=Jc.DELETE,i=!0,l=!0),e=this.findNextNonDeletedIndex(t=i?n:e),n=this.findNextNonDeletedIndex(e)}return l},Jc.prototype.isShallowConcavity=function(t,e,n,l){return Es.computeOrientation(t,e,n)===this._angleOrientation&&Es.distancePointLine(e,t,n)<l},Jc.prototype.isShallowSampled=function(t,e,n,l,i){var r=Math.trunc((l-n)/Jc.NUM_PTS_TO_CHECK);r<=0&&(r=1);for(var o=n;o<l;o+=r)if(!this.isShallow(t,e,this._inputLine[o],i))return!1;return!0},Jc.prototype.isConcave=function(t,e,n){return Es.computeOrientation(t,e,n)===this._angleOrientation},Jc.prototype.simplify=function(t){this._distanceTol=Math.abs(t),t<0&&(this._angleOrientation=Es.CLOCKWISE),this._isDeleted=new Array(this._inputLine.length).fill(null);var e=!1;do{e=this.deleteShallowConcavities()}while(e);return this.collapseLine()},Jc.prototype.findNextNonDeletedIndex=function(t){for(var e=t+1;e<this._inputLine.length&&this._isDeleted[e]===Jc.DELETE;)e++;return e},Jc.prototype.isShallow=function(t,e,n,l){return Es.distancePointLine(e,t,n)<l},Jc.prototype.collapseLine=function(){for(var t=new Js,e=0;e<this._inputLine.length;e++)this._isDeleted[e]!==Jc.DELETE&&t.add(this._inputLine[e]);return t.toCoordinateArray()},Jc.prototype.interfaces_=function(){return[]},Jc.prototype.getClass=function(){return Jc},Jc.simplify=function(t,e){return new Jc(t).simplify(e)},Qc.INIT.get=function(){return 0},Qc.DELETE.get=function(){return 1},Qc.KEEP.get=function(){return 1},Qc.NUM_PTS_TO_CHECK.get=function(){return 10},Object.defineProperties(Jc,Qc);var Zc=function(){this._ptList=null,this._precisionModel=null,this._minimimVertexDistance=0,this._ptList=new Xs},td={COORDINATE_ARRAY_TYPE:{configurable:!0}};Zc.prototype.getCoordinates=function(){return this._ptList.toArray(Zc.COORDINATE_ARRAY_TYPE)},Zc.prototype.setPrecisionModel=function(t){this._precisionModel=t},Zc.prototype.addPt=function(t){var e=new Xa(t);if(this._precisionModel.makePrecise(e),this.isRedundant(e))return null;this._ptList.add(e)},Zc.prototype.revere=function(){},Zc.prototype.addPts=function(t,e){if(e)for(var n=0;n<t.length;n++)this.addPt(t[n]);else for(var l=t.length-1;l>=0;l--)this.addPt(t[l])},Zc.prototype.isRedundant=function(t){if(this._ptList.size()<1)return!1;var e=this._ptList.get(this._ptList.size()-1);return t.distance(e)<this._minimimVertexDistance},Zc.prototype.toString=function(){return(new Gu).createLineString(this.getCoordinates()).toString()},Zc.prototype.closeRing=function(){if(this._ptList.size()<1)return null;var t=new Xa(this._ptList.get(0)),e=this._ptList.get(this._ptList.size()-1);if(t.equals(e))return null;this._ptList.add(t)},Zc.prototype.setMinimumVertexDistance=function(t){this._minimimVertexDistance=t},Zc.prototype.interfaces_=function(){return[]},Zc.prototype.getClass=function(){return Zc},td.COORDINATE_ARRAY_TYPE.get=function(){return new Array(0).fill(null)},Object.defineProperties(Zc,td);var ed=function(){},nd={PI_TIMES_2:{configurable:!0},PI_OVER_2:{configurable:!0},PI_OVER_4:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},CLOCKWISE:{configurable:!0},NONE:{configurable:!0}};ed.prototype.interfaces_=function(){return[]},ed.prototype.getClass=function(){return ed},ed.toDegrees=function(t){return 180*t/Math.PI},ed.normalize=function(t){for(;t>Math.PI;)t-=ed.PI_TIMES_2;for(;t<=-Math.PI;)t+=ed.PI_TIMES_2;return t},ed.angle=function(){if(1===arguments.length){var t=arguments[0];return Math.atan2(t.y,t.x)}if(2===arguments.length){var e=arguments[0],n=arguments[1],l=n.x-e.x,i=n.y-e.y;return Math.atan2(i,l)}},ed.isAcute=function(t,e,n){return(t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y)>0},ed.isObtuse=function(t,e,n){return(t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y)<0},ed.interiorAngle=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n);return Math.abs(i-l)},ed.normalizePositive=function(t){if(t<0){for(;t<0;)t+=ed.PI_TIMES_2;t>=ed.PI_TIMES_2&&(t=0)}else{for(;t>=ed.PI_TIMES_2;)t-=ed.PI_TIMES_2;t<0&&(t=0)}return t},ed.angleBetween=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n);return ed.diff(l,i)},ed.diff=function(t,e){var n=null;return(n=t<e?e-t:t-e)>Math.PI&&(n=2*Math.PI-n),n},ed.toRadians=function(t){return t*Math.PI/180},ed.getTurn=function(t,e){var n=Math.sin(e-t);return n>0?ed.COUNTERCLOCKWISE:n<0?ed.CLOCKWISE:ed.NONE},ed.angleBetweenOriented=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n)-l;return i<=-Math.PI?i+ed.PI_TIMES_2:i>Math.PI?i-ed.PI_TIMES_2:i},nd.PI_TIMES_2.get=function(){return 2*Math.PI},nd.PI_OVER_2.get=function(){return Math.PI/2},nd.PI_OVER_4.get=function(){return Math.PI/4},nd.COUNTERCLOCKWISE.get=function(){return Es.COUNTERCLOCKWISE},nd.CLOCKWISE.get=function(){return Es.CLOCKWISE},nd.NONE.get=function(){return Es.COLLINEAR},Object.defineProperties(ed,nd);var ld=function t(){this._maxCurveSegmentError=0,this._filletAngleQuantum=null,this._closingSegLengthFactor=1,this._segList=null,this._distance=0,this._precisionModel=null,this._bufParams=null,this._li=null,this._s0=null,this._s1=null,this._s2=null,this._seg0=new Uc,this._seg1=new Uc,this._offset0=new Uc,this._offset1=new Uc,this._side=0,this._hasNarrowConcaveAngle=!1;var e=arguments[0],n=arguments[1],l=arguments[2];this._precisionModel=e,this._bufParams=n,this._li=new Os,this._filletAngleQuantum=Math.PI/2/n.getQuadrantSegments(),n.getQuadrantSegments()>=8&&n.getJoinStyle()===Xc.JOIN_ROUND&&(this._closingSegLengthFactor=t.MAX_CLOSING_SEG_LEN_FACTOR),this.init(l)},id={OFFSET_SEGMENT_SEPARATION_FACTOR:{configurable:!0},INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},CURVE_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},MAX_CLOSING_SEG_LEN_FACTOR:{configurable:!0}};ld.prototype.addNextSegment=function(t,e){if(this._s0=this._s1,this._s1=this._s2,this._s2=t,this._seg0.setCoordinates(this._s0,this._s1),this.computeOffsetSegment(this._seg0,this._side,this._distance,this._offset0),this._seg1.setCoordinates(this._s1,this._s2),this.computeOffsetSegment(this._seg1,this._side,this._distance,this._offset1),this._s1.equals(this._s2))return null;var n=Es.computeOrientation(this._s0,this._s1,this._s2),l=n===Es.CLOCKWISE&&this._side===Ju.LEFT||n===Es.COUNTERCLOCKWISE&&this._side===Ju.RIGHT;0===n?this.addCollinear(e):l?this.addOutsideTurn(n,e):this.addInsideTurn(n,e)},ld.prototype.addLineEndCap=function(t,e){var n=new Uc(t,e),l=new Uc;this.computeOffsetSegment(n,Ju.LEFT,this._distance,l);var i=new Uc;this.computeOffsetSegment(n,Ju.RIGHT,this._distance,i);var r=Math.atan2(e.y-t.y,e.x-t.x);switch(this._bufParams.getEndCapStyle()){case Xc.CAP_ROUND:this._segList.addPt(l.p1),this.addFilletArc(e,r+Math.PI/2,r-Math.PI/2,Es.CLOCKWISE,this._distance),this._segList.addPt(i.p1);break;case Xc.CAP_FLAT:this._segList.addPt(l.p1),this._segList.addPt(i.p1);break;case Xc.CAP_SQUARE:var o=new Xa;o.x=Math.abs(this._distance)*Math.cos(r),o.y=Math.abs(this._distance)*Math.sin(r);var a=new Xa(l.p1.x+o.x,l.p1.y+o.y),s=new Xa(i.p1.x+o.x,i.p1.y+o.y);this._segList.addPt(a),this._segList.addPt(s)}},ld.prototype.getCoordinates=function(){return this._segList.getCoordinates()},ld.prototype.addMitreJoin=function(t,e,n,l){var i=!0,r=null;try{r=ms.intersection(e.p0,e.p1,n.p0,n.p1),(l<=0?1:r.distance(t)/Math.abs(l))>this._bufParams.getMitreLimit()&&(i=!1)}catch(t){if(!(t instanceof fs))throw t;r=new Xa(0,0),i=!1}i?this._segList.addPt(r):this.addLimitedMitreJoin(e,n,l,this._bufParams.getMitreLimit())},ld.prototype.addFilletCorner=function(t,e,n,l,i){var r=Math.atan2(e.y-t.y,e.x-t.x),o=Math.atan2(n.y-t.y,n.x-t.x);l===Es.CLOCKWISE?r<=o&&(r+=2*Math.PI):r>=o&&(r-=2*Math.PI),this._segList.addPt(e),this.addFilletArc(t,r,o,l,i),this._segList.addPt(n)},ld.prototype.addOutsideTurn=function(t,e){if(this._offset0.p1.distance(this._offset1.p0)<this._distance*ld.OFFSET_SEGMENT_SEPARATION_FACTOR)return this._segList.addPt(this._offset0.p1),null;this._bufParams.getJoinStyle()===Xc.JOIN_MITRE?this.addMitreJoin(this._s1,this._offset0,this._offset1,this._distance):this._bufParams.getJoinStyle()===Xc.JOIN_BEVEL?this.addBevelJoin(this._offset0,this._offset1):(e&&this._segList.addPt(this._offset0.p1),this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,t,this._distance),this._segList.addPt(this._offset1.p0))},ld.prototype.createSquare=function(t){this._segList.addPt(new Xa(t.x+this._distance,t.y+this._distance)),this._segList.addPt(new Xa(t.x+this._distance,t.y-this._distance)),this._segList.addPt(new Xa(t.x-this._distance,t.y-this._distance)),this._segList.addPt(new Xa(t.x-this._distance,t.y+this._distance)),this._segList.closeRing()},ld.prototype.addSegments=function(t,e){this._segList.addPts(t,e)},ld.prototype.addFirstSegment=function(){this._segList.addPt(this._offset1.p0)},ld.prototype.addLastSegment=function(){this._segList.addPt(this._offset1.p1)},ld.prototype.initSideSegments=function(t,e,n){this._s1=t,this._s2=e,this._side=n,this._seg1.setCoordinates(t,e),this.computeOffsetSegment(this._seg1,n,this._distance,this._offset1)},ld.prototype.addLimitedMitreJoin=function(t,e,n,l){var i=this._seg0.p1,r=ed.angle(i,this._seg0.p0),o=ed.angleBetweenOriented(this._seg0.p0,i,this._seg1.p1)/2,a=ed.normalize(r+o),s=ed.normalize(a+Math.PI),u=l*n,c=n-u*Math.abs(Math.sin(o)),d=i.x+u*Math.cos(s),h=i.y+u*Math.sin(s),p=new Xa(d,h),f=new Uc(i,p),b=f.pointAlongOffset(1,c),m=f.pointAlongOffset(1,-c);this._side===Ju.LEFT?(this._segList.addPt(b),this._segList.addPt(m)):(this._segList.addPt(m),this._segList.addPt(b))},ld.prototype.computeOffsetSegment=function(t,e,n,l){var i=e===Ju.LEFT?1:-1,r=t.p1.x-t.p0.x,o=t.p1.y-t.p0.y,a=Math.sqrt(r*r+o*o),s=i*n*r/a,u=i*n*o/a;l.p0.x=t.p0.x-u,l.p0.y=t.p0.y+s,l.p1.x=t.p1.x-u,l.p1.y=t.p1.y+s},ld.prototype.addFilletArc=function(t,e,n,l,i){var r=l===Es.CLOCKWISE?-1:1,o=Math.abs(e-n),a=Math.trunc(o/this._filletAngleQuantum+.5);if(a<1)return null;for(var s=o/a,u=0,c=new Xa;u<o;){var d=e+r*u;c.x=t.x+i*Math.cos(d),c.y=t.y+i*Math.sin(d),this._segList.addPt(c),u+=s}},ld.prototype.addInsideTurn=function(t,e){if(this._li.computeIntersection(this._offset0.p0,this._offset0.p1,this._offset1.p0,this._offset1.p1),this._li.hasIntersection())this._segList.addPt(this._li.getIntersection(0));else if(this._hasNarrowConcaveAngle=!0,this._offset0.p1.distance(this._offset1.p0)<this._distance*ld.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR)this._segList.addPt(this._offset0.p1);else{if(this._segList.addPt(this._offset0.p1),this._closingSegLengthFactor>0){var n=new Xa((this._closingSegLengthFactor*this._offset0.p1.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset0.p1.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(n);var l=new Xa((this._closingSegLengthFactor*this._offset1.p0.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset1.p0.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(l)}else this._segList.addPt(this._s1);this._segList.addPt(this._offset1.p0)}},ld.prototype.createCircle=function(t){var e=new Xa(t.x+this._distance,t.y);this._segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this._distance),this._segList.closeRing()},ld.prototype.addBevelJoin=function(t,e){this._segList.addPt(t.p1),this._segList.addPt(e.p0)},ld.prototype.init=function(t){this._distance=t,this._maxCurveSegmentError=t*(1-Math.cos(this._filletAngleQuantum/2)),this._segList=new Zc,this._segList.setPrecisionModel(this._precisionModel),this._segList.setMinimumVertexDistance(t*ld.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)},ld.prototype.addCollinear=function(t){this._li.computeIntersection(this._s0,this._s1,this._s1,this._s2),this._li.getIntersectionNum()>=2&&(this._bufParams.getJoinStyle()===Xc.JOIN_BEVEL||this._bufParams.getJoinStyle()===Xc.JOIN_MITRE?(t&&this._segList.addPt(this._offset0.p1),this._segList.addPt(this._offset1.p0)):this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,Es.CLOCKWISE,this._distance))},ld.prototype.closeRing=function(){this._segList.closeRing()},ld.prototype.hasNarrowConcaveAngle=function(){return this._hasNarrowConcaveAngle},ld.prototype.interfaces_=function(){return[]},ld.prototype.getClass=function(){return ld},id.OFFSET_SEGMENT_SEPARATION_FACTOR.get=function(){return.001},id.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return.001},id.CURVE_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return 1e-6},id.MAX_CLOSING_SEG_LEN_FACTOR.get=function(){return 80},Object.defineProperties(ld,id);var rd=function(){this._distance=0,this._precisionModel=null,this._bufParams=null;var t=arguments[0],e=arguments[1];this._precisionModel=t,this._bufParams=e};rd.prototype.getOffsetCurve=function(t,e){if(this._distance=e,0===e)return null;var n=e<0,l=Math.abs(e),i=this.getSegGen(l);t.length<=1?this.computePointCurve(t[0],i):this.computeOffsetCurve(t,n,i);var r=i.getCoordinates();return n&&Qs.reverse(r),r},rd.prototype.computeSingleSidedBufferCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);if(e){n.addSegments(t,!0);var i=Jc.simplify(t,-l),r=i.length-1;n.initSideSegments(i[r],i[r-1],Ju.LEFT),n.addFirstSegment();for(var o=r-2;o>=0;o--)n.addNextSegment(i[o],!0)}else{n.addSegments(t,!1);var a=Jc.simplify(t,l),s=a.length-1;n.initSideSegments(a[0],a[1],Ju.LEFT),n.addFirstSegment();for(var u=2;u<=s;u++)n.addNextSegment(a[u],!0)}n.addLastSegment(),n.closeRing()},rd.prototype.computeRingBufferCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);e===Ju.RIGHT&&(l=-l);var i=Jc.simplify(t,l),r=i.length-1;n.initSideSegments(i[r-1],i[0],e);for(var o=1;o<=r;o++)n.addNextSegment(i[o],1!==o);n.closeRing()},rd.prototype.computeLineBufferCurve=function(t,e){var n=this.simplifyTolerance(this._distance),l=Jc.simplify(t,n),i=l.length-1;e.initSideSegments(l[0],l[1],Ju.LEFT);for(var r=2;r<=i;r++)e.addNextSegment(l[r],!0);e.addLastSegment(),e.addLineEndCap(l[i-1],l[i]);var o=Jc.simplify(t,-n),a=o.length-1;e.initSideSegments(o[a],o[a-1],Ju.LEFT);for(var s=a-2;s>=0;s--)e.addNextSegment(o[s],!0);e.addLastSegment(),e.addLineEndCap(o[1],o[0]),e.closeRing()},rd.prototype.computePointCurve=function(t,e){switch(this._bufParams.getEndCapStyle()){case Xc.CAP_ROUND:e.createCircle(t);break;case Xc.CAP_SQUARE:e.createSquare(t)}},rd.prototype.getLineCurve=function(t,e){if(this._distance=e,e<0&&!this._bufParams.isSingleSided())return null;if(0===e)return null;var n=Math.abs(e),l=this.getSegGen(n);return t.length<=1?this.computePointCurve(t[0],l):this._bufParams.isSingleSided()?this.computeSingleSidedBufferCurve(t,e<0,l):this.computeLineBufferCurve(t,l),l.getCoordinates()},rd.prototype.getBufferParameters=function(){return this._bufParams},rd.prototype.simplifyTolerance=function(t){return t*this._bufParams.getSimplifyFactor()},rd.prototype.getRingCurve=function(t,e,n){if(this._distance=n,t.length<=2)return this.getLineCurve(t,n);if(0===n)return rd.copyCoordinates(t);var l=this.getSegGen(n);return this.computeRingBufferCurve(t,e,l),l.getCoordinates()},rd.prototype.computeOffsetCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);if(e){var i=Jc.simplify(t,-l),r=i.length-1;n.initSideSegments(i[r],i[r-1],Ju.LEFT),n.addFirstSegment();for(var o=r-2;o>=0;o--)n.addNextSegment(i[o],!0)}else{var a=Jc.simplify(t,l),s=a.length-1;n.initSideSegments(a[0],a[1],Ju.LEFT),n.addFirstSegment();for(var u=2;u<=s;u++)n.addNextSegment(a[u],!0)}n.addLastSegment()},rd.prototype.getSegGen=function(t){return new ld(this._precisionModel,this._bufParams,t)},rd.prototype.interfaces_=function(){return[]},rd.prototype.getClass=function(){return rd},rd.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),n=0;n<e.length;n++)e[n]=new Xa(t[n]);return e};var od=function(){this._subgraphs=null,this._seg=new Uc,this._cga=new Es;var t=arguments[0];this._subgraphs=t},ad={DepthSegment:{configurable:!0}};od.prototype.findStabbedSegments=function(){if(1===arguments.length){for(var t=arguments[0],e=new Xs,n=this._subgraphs.iterator();n.hasNext();){var l=n.next(),i=l.getEnvelope();t.y<i.getMinY()||t.y>i.getMaxY()||this.findStabbedSegments(t,l.getDirectedEdges(),e)}return e}if(3===arguments.length)if(es(arguments[2],$s)&&arguments[0]instanceof Xa&&arguments[1]instanceof fc){for(var r=arguments[0],o=arguments[1],a=arguments[2],s=o.getEdge().getCoordinates(),u=0;u<s.length-1;u++)if(this._seg.p0=s[u],this._seg.p1=s[u+1],this._seg.p0.y>this._seg.p1.y&&this._seg.reverse(),!(Math.max(this._seg.p0.x,this._seg.p1.x)<r.x||this._seg.isHorizontal()||r.y<this._seg.p0.y||r.y>this._seg.p1.y||Es.computeOrientation(this._seg.p0,this._seg.p1,r)===Es.RIGHT)){var c=o.getDepth(Ju.LEFT);this._seg.p0.equals(s[u])||(c=o.getDepth(Ju.RIGHT));var d=new sd(this._seg,c);a.add(d)}}else if(es(arguments[2],$s)&&arguments[0]instanceof Xa&&es(arguments[1],$s))for(var h=arguments[0],p=arguments[1],f=arguments[2],b=p.iterator();b.hasNext();){var m=b.next();m.isForward()&&this.findStabbedSegments(h,m,f)}},od.prototype.getDepth=function(t){var e=this.findStabbedSegments(t);return 0===e.size()?0:xc.min(e)._leftDepth},od.prototype.interfaces_=function(){return[]},od.prototype.getClass=function(){return od},ad.DepthSegment.get=function(){return sd},Object.defineProperties(od,ad);var sd=function(){this._upwardSeg=null,this._leftDepth=null;var t=arguments[0],e=arguments[1];this._upwardSeg=new Uc(t),this._leftDepth=e};sd.prototype.compareTo=function(t){var e=t;if(this._upwardSeg.minX()>=e._upwardSeg.maxX())return 1;if(this._upwardSeg.maxX()<=e._upwardSeg.minX())return-1;var n=this._upwardSeg.orientationIndex(e._upwardSeg);return 0!==n||0!=(n=-1*e._upwardSeg.orientationIndex(this._upwardSeg))?n:this._upwardSeg.compareTo(e._upwardSeg)},sd.prototype.compareX=function(t,e){var n=t.p0.compareTo(e.p0);return 0!==n?n:t.p1.compareTo(e.p1)},sd.prototype.toString=function(){return this._upwardSeg.toString()},sd.prototype.interfaces_=function(){return[qa]},sd.prototype.getClass=function(){return sd};var ud=function(t,e,n){this.p0=t||null,this.p1=e||null,this.p2=n||null};ud.prototype.area=function(){return ud.area(this.p0,this.p1,this.p2)},ud.prototype.signedArea=function(){return ud.signedArea(this.p0,this.p1,this.p2)},ud.prototype.interpolateZ=function(t){if(null===t)throw new Ga("Supplied point is null.");return ud.interpolateZ(t,this.p0,this.p1,this.p2)},ud.prototype.longestSideLength=function(){return ud.longestSideLength(this.p0,this.p1,this.p2)},ud.prototype.isAcute=function(){return ud.isAcute(this.p0,this.p1,this.p2)},ud.prototype.circumcentre=function(){return ud.circumcentre(this.p0,this.p1,this.p2)},ud.prototype.area3D=function(){return ud.area3D(this.p0,this.p1,this.p2)},ud.prototype.centroid=function(){return ud.centroid(this.p0,this.p1,this.p2)},ud.prototype.inCentre=function(){return ud.inCentre(this.p0,this.p1,this.p2)},ud.prototype.interfaces_=function(){return[]},ud.prototype.getClass=function(){return ud},ud.area=function(t,e,n){return Math.abs(((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2)},ud.signedArea=function(t,e,n){return((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2},ud.det=function(t,e,n,l){return t*l-e*n},ud.interpolateZ=function(t,e,n,l){var i=e.x,r=e.y,o=n.x-i,a=l.x-i,s=n.y-r,u=l.y-r,c=o*u-a*s,d=t.x-i,h=t.y-r;return e.z+(u*d-a*h)/c*(n.z-e.z)+(-s*d+o*h)/c*(l.z-e.z)},ud.longestSideLength=function(t,e,n){var l=t.distance(e),i=e.distance(n),r=n.distance(t),o=l;return i>o&&(o=i),r>o&&(o=r),o},ud.isAcute=function(t,e,n){return!!ed.isAcute(t,e,n)&&!!ed.isAcute(e,n,t)&&!!ed.isAcute(n,t,e)},ud.circumcentre=function(t,e,n){var l=n.x,i=n.y,r=t.x-l,o=t.y-i,a=e.x-l,s=e.y-i,u=2*ud.det(r,o,a,s),c=ud.det(o,r*r+o*o,s,a*a+s*s),d=ud.det(r,r*r+o*o,a,a*a+s*s);return new Xa(l-c/u,i+d/u)},ud.perpendicularBisector=function(t,e){var n=e.x-t.x,l=e.y-t.y,i=new ms(t.x+n/2,t.y+l/2,1),r=new ms(t.x-l+n/2,t.y+n+l/2,1);return new ms(i,r)},ud.angleBisector=function(t,e,n){var l=e.distance(t),i=l/(l+e.distance(n));return new Xa(t.x+i*(n.x-t.x),t.y+i*(n.y-t.y))},ud.area3D=function(t,e,n){var l=e.x-t.x,i=e.y-t.y,r=e.z-t.z,o=n.x-t.x,a=n.y-t.y,s=n.z-t.z,u=i*s-r*a,c=r*o-l*s,d=l*a-i*o;return Math.sqrt(u*u+c*c+d*d)/2},ud.centroid=function(t,e,n){return new Xa((t.x+e.x+n.x)/3,(t.y+e.y+n.y)/3)},ud.inCentre=function(t,e,n){var l=e.distance(n),i=t.distance(n),r=t.distance(e),o=l+i+r;return new Xa((l*t.x+i*e.x+r*n.x)/o,(l*t.y+i*e.y+r*n.y)/o)};var cd=function(){this._inputGeom=null,this._distance=null,this._curveBuilder=null,this._curveList=new Xs;var t=arguments[0],e=arguments[1],n=arguments[2];this._inputGeom=t,this._distance=e,this._curveBuilder=n};cd.prototype.addPoint=function(t){if(this._distance<=0)return null;var e=t.getCoordinates(),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,Za.EXTERIOR,Za.INTERIOR)},cd.prototype.addPolygon=function(t){var e=this._distance,n=Ju.LEFT;this._distance<0&&(e=-this._distance,n=Ju.RIGHT);var l=t.getExteriorRing(),i=Qs.removeRepeatedPoints(l.getCoordinates());if(this._distance<0&&this.isErodedCompletely(l,this._distance))return null;if(this._distance<=0&&i.length<3)return null;this.addPolygonRing(i,e,n,Za.EXTERIOR,Za.INTERIOR);for(var r=0;r<t.getNumInteriorRing();r++){var o=t.getInteriorRingN(r),a=Qs.removeRepeatedPoints(o.getCoordinates());this._distance>0&&this.isErodedCompletely(o,-this._distance)||this.addPolygonRing(a,e,Ju.opposite(n),Za.INTERIOR,Za.EXTERIOR)}},cd.prototype.isTriangleErodedCompletely=function(t,e){var n=new ud(t[0],t[1],t[2]),l=n.inCentre();return Es.distancePointLine(l,n.p0,n.p1)<Math.abs(e)},cd.prototype.addLineString=function(t){if(this._distance<=0&&!this._curveBuilder.getBufferParameters().isSingleSided())return null;var e=Qs.removeRepeatedPoints(t.getCoordinates()),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,Za.EXTERIOR,Za.INTERIOR)},cd.prototype.addCurve=function(t,e,n){if(null===t||t.length<2)return null;var l=new Yc(t,new ic(0,Za.BOUNDARY,e,n));this._curveList.add(l)},cd.prototype.getCurves=function(){return this.add(this._inputGeom),this._curveList},cd.prototype.addPolygonRing=function(t,e,n,l,i){if(0===e&&t.length<ku.MINIMUM_VALID_SIZE)return null;var r=l,o=i;t.length>=ku.MINIMUM_VALID_SIZE&&Es.isCCW(t)&&(r=i,o=l,n=Ju.opposite(n));var a=this._curveBuilder.getRingCurve(t,n,e);this.addCurve(a,r,o)},cd.prototype.add=function(t){if(t.isEmpty())return null;t instanceof xu?this.addPolygon(t):t instanceof vu?this.addLineString(t):t instanceof wu?this.addPoint(t):(t instanceof Su||t instanceof bu||t instanceof Mu||t instanceof fu)&&this.addCollection(t)},cd.prototype.isErodedCompletely=function(t,e){var n=t.getCoordinates();if(n.length<4)return e<0;if(4===n.length)return this.isTriangleErodedCompletely(n,e);var l=t.getEnvelopeInternal(),i=Math.min(l.getHeight(),l.getWidth());return e<0&&2*Math.abs(e)>i},cd.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var n=t.getGeometryN(e);this.add(n)}},cd.prototype.interfaces_=function(){return[]},cd.prototype.getClass=function(){return cd};var dd=function(){};dd.prototype.locate=function(t){},dd.prototype.interfaces_=function(){return[]},dd.prototype.getClass=function(){return dd};var hd=function(){this._parent=null,this._atStart=null,this._max=null,this._index=null,this._subcollectionIterator=null;var t=arguments[0];this._parent=t,this._atStart=!0,this._index=0,this._max=t.getNumGeometries()};hd.prototype.next=function(){if(this._atStart)return this._atStart=!1,hd.isAtomic(this._parent)&&this._index++,this._parent;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return this._subcollectionIterator.next();this._subcollectionIterator=null}if(this._index>=this._max)throw new gi;var t=this._parent.getGeometryN(this._index++);return t instanceof fu?(this._subcollectionIterator=new hd(t),this._subcollectionIterator.next()):t},hd.prototype.remove=function(){throw new Error(this.getClass().getName())},hd.prototype.hasNext=function(){if(this._atStart)return!0;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return!0;this._subcollectionIterator=null}return!(this._index>=this._max)},hd.prototype.interfaces_=function(){return[Ws]},hd.prototype.getClass=function(){return hd},hd.isAtomic=function(t){return!(t instanceof fu)};var pd=function(){this._geom=null;var t=arguments[0];this._geom=t};pd.prototype.locate=function(t){return pd.locate(t,this._geom)},pd.prototype.interfaces_=function(){return[dd]},pd.prototype.getClass=function(){return pd},pd.isPointInRing=function(t,e){return!!e.getEnvelopeInternal().intersects(t)&&Es.isPointInRing(t,e.getCoordinates())},pd.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var n=e.getExteriorRing();if(!pd.isPointInRing(t,n))return!1;for(var l=0;l<e.getNumInteriorRing();l++){var i=e.getInteriorRingN(l);if(pd.isPointInRing(t,i))return!1}return!0},pd.containsPoint=function(t,e){if(e instanceof xu)return pd.containsPointInPolygon(t,e);if(e instanceof fu)for(var n=new hd(e);n.hasNext();){var l=n.next();if(l!==e&&pd.containsPoint(t,l))return!0}return!1},pd.locate=function(t,e){return e.isEmpty()?Za.EXTERIOR:pd.containsPoint(t,e)?Za.INTERIOR:Za.EXTERIOR};var fd=function(){this._edgeMap=new xi,this._edgeList=null,this._ptInAreaLocation=[Za.NONE,Za.NONE]};fd.prototype.getNextCW=function(t){this.getEdges();var e=this._edgeList.indexOf(t),n=e-1;return 0===e&&(n=this._edgeList.size()-1),this._edgeList.get(n)},fd.prototype.propagateSideLabels=function(t){for(var e=Za.NONE,n=this.iterator();n.hasNext();){var l=n.next().getLabel();l.isArea(t)&&l.getLocation(t,Ju.LEFT)!==Za.NONE&&(e=l.getLocation(t,Ju.LEFT))}if(e===Za.NONE)return null;for(var i=e,r=this.iterator();r.hasNext();){var o=r.next(),a=o.getLabel();if(a.getLocation(t,Ju.ON)===Za.NONE&&a.setLocation(t,Ju.ON,i),a.isArea(t)){var s=a.getLocation(t,Ju.LEFT),u=a.getLocation(t,Ju.RIGHT);if(u!==Za.NONE){if(u!==i)throw new tc("side location conflict",o.getCoordinate());s===Za.NONE&&Ss.shouldNeverReachHere("found single null side (at "+o.getCoordinate()+")"),i=s}else Ss.isTrue(a.getLocation(t,Ju.LEFT)===Za.NONE,"found single null side"),a.setLocation(t,Ju.RIGHT,i),a.setLocation(t,Ju.LEFT,i)}}},fd.prototype.getCoordinate=function(){var t=this.iterator();return t.hasNext()?t.next().getCoordinate():null},fd.prototype.print=function(t){bs.out.println("EdgeEndStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();)e.next().print(t)},fd.prototype.isAreaLabelsConsistent=function(t){return this.computeEdgeEndLabels(t.getBoundaryNodeRule()),this.checkAreaLabelsConsistent(0)},fd.prototype.checkAreaLabelsConsistent=function(t){var e=this.getEdges();if(e.size()<=0)return!0;var n=e.size()-1,l=e.get(n).getLabel().getLocation(t,Ju.LEFT);Ss.isTrue(l!==Za.NONE,"Found unlabelled area edge");for(var i=l,r=this.iterator();r.hasNext();){var o=r.next().getLabel();Ss.isTrue(o.isArea(t),"Found non-area edge");var a=o.getLocation(t,Ju.LEFT),s=o.getLocation(t,Ju.RIGHT);if(a===s)return!1;if(s!==i)return!1;i=a}return!0},fd.prototype.findIndex=function(t){this.iterator();for(var e=0;e<this._edgeList.size();e++)if(this._edgeList.get(e)===t)return e;return-1},fd.prototype.iterator=function(){return this.getEdges().iterator()},fd.prototype.getEdges=function(){return null===this._edgeList&&(this._edgeList=new Xs(this._edgeMap.values())),this._edgeList},fd.prototype.getLocation=function(t,e,n){return this._ptInAreaLocation[t]===Za.NONE&&(this._ptInAreaLocation[t]=pd.locate(e,n[t].getGeometry())),this._ptInAreaLocation[t]},fd.prototype.toString=function(){var t=new is;t.append("EdgeEndStar: "+this.getCoordinate()),t.append("\n");for(var e=this.iterator();e.hasNext();){var n=e.next();t.append(n),t.append("\n")}return t.toString()},fd.prototype.computeEdgeEndLabels=function(t){for(var e=this.iterator();e.hasNext();)e.next().computeLabel(t)},fd.prototype.computeLabelling=function(t){this.computeEdgeEndLabels(t[0].getBoundaryNodeRule()),this.propagateSideLabels(0),this.propagateSideLabels(1);for(var e=[!1,!1],n=this.iterator();n.hasNext();)for(var l=n.next().getLabel(),i=0;i<2;i++)l.isLine(i)&&l.getLocation(i)===Za.BOUNDARY&&(e[i]=!0);for(var r=this.iterator();r.hasNext();)for(var o=r.next(),a=o.getLabel(),s=0;s<2;s++)if(a.isAnyNull(s)){var u=Za.NONE;if(e[s])u=Za.EXTERIOR;else{var c=o.getCoordinate();u=this.getLocation(s,c,t)}a.setAllLocationsIfNull(s,u)}},fd.prototype.getDegree=function(){return this._edgeMap.size()},fd.prototype.insertEdgeEnd=function(t,e){this._edgeMap.put(t,e),this._edgeList=null},fd.prototype.interfaces_=function(){return[]},fd.prototype.getClass=function(){return fd};var bd=function(t){function e(){t.call(this),this._resultAreaEdgeList=null,this._label=null,this._SCANNING_FOR_INCOMING=1,this._LINKING_TO_OUTGOING=2}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.linkResultDirectedEdges=function(){this.getResultAreaEdges();for(var t=null,e=null,n=this._SCANNING_FOR_INCOMING,l=0;l<this._resultAreaEdgeList.size();l++){var i=this._resultAreaEdgeList.get(l),r=i.getSym();if(i.getLabel().isArea())switch(null===t&&i.isInResult()&&(t=i),n){case this._SCANNING_FOR_INCOMING:if(!r.isInResult())continue;e=r,n=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(!i.isInResult())continue;e.setNext(i),n=this._SCANNING_FOR_INCOMING}}if(n===this._LINKING_TO_OUTGOING){if(null===t)throw new tc("no outgoing dirEdge found",this.getCoordinate());Ss.isTrue(t.isInResult(),"unable to link last incoming dirEdge"),e.setNext(t)}},e.prototype.insert=function(t){this.insertEdgeEnd(t,t)},e.prototype.getRightmostEdge=function(){var t=this.getEdges(),e=t.size();if(e<1)return null;var n=t.get(0);if(1===e)return n;var l=t.get(e-1),i=n.getQuadrant(),r=l.getQuadrant();return dc.isNorthern(i)&&dc.isNorthern(r)?n:dc.isNorthern(i)||dc.isNorthern(r)?0!==n.getDy()?n:0!==l.getDy()?l:(Ss.shouldNeverReachHere("found two horizontal edges incident on node"),null):l},e.prototype.print=function(t){bs.out.println("DirectedEdgeStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();){var n=e.next();t.print("out "),n.print(t),t.println(),t.print("in "),n.getSym().print(t),t.println()}},e.prototype.getResultAreaEdges=function(){if(null!==this._resultAreaEdgeList)return this._resultAreaEdgeList;this._resultAreaEdgeList=new Xs;for(var t=this.iterator();t.hasNext();){var e=t.next();(e.isInResult()||e.getSym().isInResult())&&this._resultAreaEdgeList.add(e)}return this._resultAreaEdgeList},e.prototype.updateLabelling=function(t){for(var e=this.iterator();e.hasNext();){var n=e.next().getLabel();n.setAllLocationsIfNull(0,t.getLocation(0)),n.setAllLocationsIfNull(1,t.getLocation(1))}},e.prototype.linkAllDirectedEdges=function(){this.getEdges();for(var t=null,e=null,n=this._edgeList.size()-1;n>=0;n--){var l=this._edgeList.get(n),i=l.getSym();null===e&&(e=i),null!==t&&i.setNext(t),t=l}e.setNext(t)},e.prototype.computeDepths=function(){if(1===arguments.length){var t=arguments[0],e=this.findIndex(t),n=t.getDepth(Ju.LEFT),l=t.getDepth(Ju.RIGHT),i=this.computeDepths(e+1,this._edgeList.size(),n);if(this.computeDepths(0,e,i)!==l)throw new tc("depth mismatch at "+t.getCoordinate())}else if(3===arguments.length){for(var r=arguments[0],o=arguments[1],a=arguments[2],s=r;s<o;s++){var u=this._edgeList.get(s);u.setEdgeDepths(Ju.RIGHT,a),a=u.getDepth(Ju.LEFT)}return a}},e.prototype.mergeSymLabels=function(){for(var t=this.iterator();t.hasNext();){var e=t.next();e.getLabel().merge(e.getSym().getLabel())}},e.prototype.linkMinimalDirectedEdges=function(t){for(var e=null,n=null,l=this._SCANNING_FOR_INCOMING,i=this._resultAreaEdgeList.size()-1;i>=0;i--){var r=this._resultAreaEdgeList.get(i),o=r.getSym();switch(null===e&&r.getEdgeRing()===t&&(e=r),l){case this._SCANNING_FOR_INCOMING:if(o.getEdgeRing()!==t)continue;n=o,l=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(r.getEdgeRing()!==t)continue;n.setNextMin(r),l=this._SCANNING_FOR_INCOMING}}l===this._LINKING_TO_OUTGOING&&(Ss.isTrue(null!==e,"found null for first outgoing dirEdge"),Ss.isTrue(e.getEdgeRing()===t,"unable to link last incoming dirEdge"),n.setNextMin(e))},e.prototype.getOutgoingDegree=function(){if(0===arguments.length){for(var t=0,e=this.iterator();e.hasNext();)e.next().isInResult()&&t++;return t}if(1===arguments.length){for(var n=arguments[0],l=0,i=this.iterator();i.hasNext();)i.next().getEdgeRing()===n&&l++;return l}},e.prototype.getLabel=function(){return this._label},e.prototype.findCoveredLineEdges=function(){for(var t=Za.NONE,e=this.iterator();e.hasNext();){var n=e.next(),l=n.getSym();if(!n.isLineEdge()){if(n.isInResult()){t=Za.INTERIOR;break}if(l.isInResult()){t=Za.EXTERIOR;break}}}if(t===Za.NONE)return null;for(var i=t,r=this.iterator();r.hasNext();){var o=r.next(),a=o.getSym();o.isLineEdge()?o.getEdge().setCovered(i===Za.INTERIOR):(o.isInResult()&&(i=Za.EXTERIOR),a.isInResult()&&(i=Za.INTERIOR))}},e.prototype.computeLabelling=function(e){t.prototype.computeLabelling.call(this,e),this._label=new ic(Za.NONE);for(var n=this.iterator();n.hasNext();)for(var l=n.next().getEdge().getLabel(),i=0;i<2;i++){var r=l.getLocation(i);r!==Za.INTERIOR&&r!==Za.BOUNDARY||this._label.setLocation(i,Za.INTERIOR)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(fd),md=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createNode=function(t){return new uc(t,new bd)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(bc),gd=function t(){this._pts=null,this._orientation=null;var e=arguments[0];this._pts=e,this._orientation=t.orientation(e)};gd.prototype.compareTo=function(t){return gd.compareOriented(this._pts,this._orientation,t._pts,t._orientation)},gd.prototype.interfaces_=function(){return[qa]},gd.prototype.getClass=function(){return gd},gd.orientation=function(t){return 1===Qs.increasingDirection(t)},gd.compareOriented=function(t,e,n,l){for(var i=e?1:-1,r=l?1:-1,o=e?t.length:-1,a=l?n.length:-1,s=e?0:t.length-1,u=l?0:n.length-1;;){var c=t[s].compareTo(n[u]);if(0!==c)return c;var d=(s+=i)===o,h=(u+=r)===a;if(d&&!h)return-1;if(!d&&h)return 1;if(d&&h)return 0}};var _d=function(){this._edges=new Xs,this._ocaMap=new xi};_d.prototype.print=function(t){t.print("MULTILINESTRING ( ");for(var e=0;e<this._edges.size();e++){var n=this._edges.get(e);e>0&&t.print(","),t.print("(");for(var l=n.getCoordinates(),i=0;i<l.length;i++)i>0&&t.print(","),t.print(l[i].x+" "+l[i].y);t.println(")")}t.print(") ")},_d.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next())},_d.prototype.findEdgeIndex=function(t){for(var e=0;e<this._edges.size();e++)if(this._edges.get(e).equals(t))return e;return-1},_d.prototype.iterator=function(){return this._edges.iterator()},_d.prototype.getEdges=function(){return this._edges},_d.prototype.get=function(t){return this._edges.get(t)},_d.prototype.findEqualEdge=function(t){var e=new gd(t.getCoordinates());return this._ocaMap.get(e)},_d.prototype.add=function(t){this._edges.add(t);var e=new gd(t.getCoordinates());this._ocaMap.put(e,t)},_d.prototype.interfaces_=function(){return[]},_d.prototype.getClass=function(){return _d};var yd=function(){};yd.prototype.processIntersections=function(t,e,n,l){},yd.prototype.isDone=function(){},yd.prototype.interfaces_=function(){return[]},yd.prototype.getClass=function(){return yd};var Ad=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._hasInterior=!1,this._properIntersectionPoint=null,this._li=null,this._isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this._li=t};Ad.prototype.isTrivialIntersection=function(t,e,n,l){if(t===n&&1===this._li.getIntersectionNum()){if(Ad.isAdjacentSegments(e,l))return!0;if(t.isClosed()){var i=t.size()-1;if(0===e&&l===i||0===l&&e===i)return!0}}return!1},Ad.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},Ad.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},Ad.prototype.getLineIntersector=function(){return this._li},Ad.prototype.hasProperIntersection=function(){return this._hasProper},Ad.prototype.processIntersections=function(t,e,n,l){if(t===n&&e===l)return null;this.numTests++;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&(this.numIntersections++,this._li.isInteriorIntersection()&&(this.numInteriorIntersections++,this._hasInterior=!0),this.isTrivialIntersection(t,e,n,l)||(this._hasIntersection=!0,t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1),this._li.isProper()&&(this.numProperIntersections++,this._hasProper=!0,this._hasProperInterior=!0)))},Ad.prototype.hasIntersection=function(){return this._hasIntersection},Ad.prototype.isDone=function(){return!1},Ad.prototype.hasInteriorIntersection=function(){return this._hasInterior},Ad.prototype.interfaces_=function(){return[yd]},Ad.prototype.getClass=function(){return Ad},Ad.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var vd=function(){this.coord=null,this.segmentIndex=null,this.dist=null;var t=arguments[0],e=arguments[1],n=arguments[2];this.coord=new Xa(t),this.segmentIndex=e,this.dist=n};vd.prototype.getSegmentIndex=function(){return this.segmentIndex},vd.prototype.getCoordinate=function(){return this.coord},vd.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex),t.println(" dist = "+this.dist)},vd.prototype.compareTo=function(t){return this.compare(t.segmentIndex,t.dist)},vd.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&0===this.dist||this.segmentIndex===t},vd.prototype.toString=function(){return this.coord+" seg # = "+this.segmentIndex+" dist = "+this.dist},vd.prototype.getDistance=function(){return this.dist},vd.prototype.compare=function(t,e){return this.segmentIndex<t?-1:this.segmentIndex>t?1:this.dist<e?-1:this.dist>e?1:0},vd.prototype.interfaces_=function(){return[qa]},vd.prototype.getClass=function(){return vd};var Cd=function(){this._nodeMap=new xi,this.edge=null;var t=arguments[0];this.edge=t};Cd.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},Cd.prototype.iterator=function(){return this._nodeMap.values().iterator()},Cd.prototype.addSplitEdges=function(t){this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next(),i=this.createSplitEdge(n,l);t.add(i),n=l}},Cd.prototype.addEndpoints=function(){var t=this.edge.pts.length-1;this.add(this.edge.pts[0],0,0),this.add(this.edge.pts[t],t,0)},Cd.prototype.createSplitEdge=function(t,e){var n=e.segmentIndex-t.segmentIndex+2,l=e.dist>0||!e.coord.equals2D(this.edge.pts[e.segmentIndex]);l||n--;var i=new Array(n).fill(null),r=0;i[r++]=new Xa(t.coord);for(var o=t.segmentIndex+1;o<=e.segmentIndex;o++)i[r++]=this.edge.pts[o];return l&&(i[r]=e.coord),new kd(i,new ic(this.edge._label))},Cd.prototype.add=function(t,e,n){var l=new vd(t,e,n),i=this._nodeMap.get(l);return null!==i?i:(this._nodeMap.put(l,l),l)},Cd.prototype.isIntersection=function(t){for(var e=this.iterator();e.hasNext();)if(e.next().coord.equals(t))return!0;return!1},Cd.prototype.interfaces_=function(){return[]},Cd.prototype.getClass=function(){return Cd};var wd=function(){};wd.prototype.getChainStartIndices=function(t){var e=0,n=new Xs;n.add(new rs(e));do{var l=this.findChainEnd(t,e);n.add(new rs(l)),e=l}while(e<t.length-1);return wd.toIntArray(n)},wd.prototype.findChainEnd=function(t,e){for(var n=dc.quadrant(t[e],t[e+1]),l=e+1;l<t.length&&dc.quadrant(t[l-1],t[l])===n;)l++;return l-1},wd.prototype.interfaces_=function(){return[]},wd.prototype.getClass=function(){return wd},wd.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var Pd=function(){this.e=null,this.pts=null,this.startIndex=null,this.env1=new gs,this.env2=new gs;var t=arguments[0];this.e=t,this.pts=t.getCoordinates();var e=new wd;this.startIndex=e.getChainStartIndices(this.pts)};Pd.prototype.getCoordinates=function(){return this.pts},Pd.prototype.getMaxX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e>n?e:n},Pd.prototype.getMinX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e<n?e:n},Pd.prototype.computeIntersectsForChain=function(){if(4===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this.computeIntersectsForChain(this.startIndex[t],this.startIndex[t+1],e,e.startIndex[n],e.startIndex[n+1],l)}else if(6===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],u=arguments[5],c=this.pts[i],d=this.pts[r],h=o.pts[a],p=o.pts[s];if(r-i==1&&s-a==1)return u.addIntersections(this.e,i,o.e,a),null;if(this.env1.init(c,d),this.env2.init(h,p),!this.env1.intersects(this.env2))return null;var f=Math.trunc((i+r)/2),b=Math.trunc((a+s)/2);i<f&&(a<b&&this.computeIntersectsForChain(i,f,o,a,b,u),b<s&&this.computeIntersectsForChain(i,f,o,b,s,u)),f<r&&(a<b&&this.computeIntersectsForChain(f,r,o,a,b,u),b<s&&this.computeIntersectsForChain(f,r,o,b,s,u))}},Pd.prototype.getStartIndexes=function(){return this.startIndex},Pd.prototype.computeIntersects=function(t,e){for(var n=0;n<this.startIndex.length-1;n++)for(var l=0;l<t.startIndex.length-1;l++)this.computeIntersectsForChain(n,t,l,e)},Pd.prototype.interfaces_=function(){return[]},Pd.prototype.getClass=function(){return Pd};var xd=function t(){this._depth=Array(2).fill().map((function(){return Array(3)}));for(var e=0;e<2;e++)for(var n=0;n<3;n++)this._depth[e][n]=t.NULL_VALUE},Sd={NULL_VALUE:{configurable:!0}};xd.prototype.getDepth=function(t,e){return this._depth[t][e]},xd.prototype.setDepth=function(t,e,n){this._depth[t][e]=n},xd.prototype.isNull=function(){if(0===arguments.length){for(var t=0;t<2;t++)for(var e=0;e<3;e++)if(this._depth[t][e]!==xd.NULL_VALUE)return!1;return!0}if(1===arguments.length){var n=arguments[0];return this._depth[n][1]===xd.NULL_VALUE}if(2===arguments.length){var l=arguments[0],i=arguments[1];return this._depth[l][i]===xd.NULL_VALUE}},xd.prototype.normalize=function(){for(var t=0;t<2;t++)if(!this.isNull(t)){var e=this._depth[t][1];this._depth[t][2]<e&&(e=this._depth[t][2]),e<0&&(e=0);for(var n=1;n<3;n++){var l=0;this._depth[t][n]>e&&(l=1),this._depth[t][n]=l}}},xd.prototype.getDelta=function(t){return this._depth[t][Ju.RIGHT]-this._depth[t][Ju.LEFT]},xd.prototype.getLocation=function(t,e){return this._depth[t][e]<=0?Za.EXTERIOR:Za.INTERIOR},xd.prototype.toString=function(){return"A: "+this._depth[0][1]+","+this._depth[0][2]+" B: "+this._depth[1][1]+","+this._depth[1][2]},xd.prototype.add=function(){if(1===arguments.length)for(var t=arguments[0],e=0;e<2;e++)for(var n=1;n<3;n++){var l=t.getLocation(e,n);l!==Za.EXTERIOR&&l!==Za.INTERIOR||(this.isNull(e,n)?this._depth[e][n]=xd.depthAtLocation(l):this._depth[e][n]+=xd.depthAtLocation(l))}else if(3===arguments.length){var i=arguments[0],r=arguments[1];arguments[2]===Za.INTERIOR&&this._depth[i][r]++}},xd.prototype.interfaces_=function(){return[]},xd.prototype.getClass=function(){return xd},xd.depthAtLocation=function(t){return t===Za.EXTERIOR?0:t===Za.INTERIOR?1:xd.NULL_VALUE},Sd.NULL_VALUE.get=function(){return-1},Object.defineProperties(xd,Sd);var kd=function(t){function e(){if(t.call(this),this.pts=null,this._env=null,this.eiList=new Cd(this),this._name=null,this._mce=null,this._isIsolated=!0,this._depth=new xd,this._depthDelta=0,1===arguments.length){var n=arguments[0];e.call(this,n,null)}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.pts=l,this._label=i}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDepth=function(){return this._depth},e.prototype.getCollapsedEdge=function(){var t=new Array(2).fill(null);return t[0]=this.pts[0],t[1]=this.pts[1],new e(t,ic.toLineLabel(this._label))},e.prototype.isIsolated=function(){return this._isIsolated},e.prototype.getCoordinates=function(){return this.pts},e.prototype.setIsolated=function(t){this._isIsolated=t},e.prototype.setName=function(t){this._name=t},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.pts.length!==n.pts.length)return!1;for(var l=!0,i=!0,r=this.pts.length,o=0;o<this.pts.length;o++)if(this.pts[o].equals2D(n.pts[o])||(l=!1),this.pts[o].equals2D(n.pts[--r])||(i=!1),!l&&!i)return!1;return!0},e.prototype.getCoordinate=function(){if(0===arguments.length)return this.pts.length>0?this.pts[0]:null;if(1===arguments.length){var t=arguments[0];return this.pts[t]}},e.prototype.print=function(t){t.print("edge "+this._name+": "),t.print("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.print(","),t.print(this.pts[e].x+" "+this.pts[e].y);t.print(") "+this._label+" "+this._depthDelta)},e.prototype.computeIM=function(t){e.updateIM(this._label,t)},e.prototype.isCollapsed=function(){return!!this._label.isArea()&&3===this.pts.length&&!!this.pts[0].equals(this.pts[2])},e.prototype.isClosed=function(){return this.pts[0].equals(this.pts[this.pts.length-1])},e.prototype.getMaximumSegmentIndex=function(){return this.pts.length-1},e.prototype.getDepthDelta=function(){return this._depthDelta},e.prototype.getNumPoints=function(){return this.pts.length},e.prototype.printReverse=function(t){t.print("edge "+this._name+": ");for(var e=this.pts.length-1;e>=0;e--)t.print(this.pts[e]+" ");t.println("")},e.prototype.getMonotoneChainEdge=function(){return null===this._mce&&(this._mce=new Pd(this)),this._mce},e.prototype.getEnvelope=function(){if(null===this._env){this._env=new gs;for(var t=0;t<this.pts.length;t++)this._env.expandToInclude(this.pts[t])}return this._env},e.prototype.addIntersection=function(t,e,n,l){var i=new Xa(t.getIntersection(l)),r=e,o=t.getEdgeDistance(n,l),a=r+1;a<this.pts.length&&i.equals2D(this.pts[a])&&(r=a,o=0),this.eiList.add(i,r,o)},e.prototype.toString=function(){var t=new is;t.append("edge "+this._name+": "),t.append("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.append(","),t.append(this.pts[e].x+" "+this.pts[e].y);return t.append(") "+this._label+" "+this._depthDelta),t.toString()},e.prototype.isPointwiseEqual=function(t){if(this.pts.length!==t.pts.length)return!1;for(var e=0;e<this.pts.length;e++)if(!this.pts[e].equals2D(t.pts[e]))return!1;return!0},e.prototype.setDepthDelta=function(t){this._depthDelta=t},e.prototype.getEdgeIntersectionList=function(){return this.eiList},e.prototype.addIntersections=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++)this.addIntersection(t,e,n,l)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.updateIM=function(){if(2!==arguments.length)return t.prototype.updateIM.apply(this,arguments);var e=arguments[0],n=arguments[1];n.setAtLeastIfValid(e.getLocation(0,Ju.ON),e.getLocation(1,Ju.ON),1),e.isArea()&&(n.setAtLeastIfValid(e.getLocation(0,Ju.LEFT),e.getLocation(1,Ju.LEFT),2),n.setAtLeastIfValid(e.getLocation(0,Ju.RIGHT),e.getLocation(1,Ju.RIGHT),2))},e}(sc),Md=function(t){this._workingPrecisionModel=null,this._workingNoder=null,this._geomFact=null,this._graph=null,this._edgeList=new _d,this._bufParams=t||null};Md.prototype.setWorkingPrecisionModel=function(t){this._workingPrecisionModel=t},Md.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var n=e.getLabel(),l=t.getLabel();e.isPointwiseEqual(t)||(l=new ic(t.getLabel())).flip(),n.merge(l);var i=Md.depthDelta(l),r=e.getDepthDelta()+i;e.setDepthDelta(r)}else this._edgeList.add(t),t.setDepthDelta(Md.depthDelta(t.getLabel()))},Md.prototype.buildSubgraphs=function(t,e){for(var n=new Xs,l=t.iterator();l.hasNext();){var i=l.next(),r=i.getRightmostCoordinate(),o=new od(n).getDepth(r);i.computeDepth(o),i.findResultEdges(),n.add(i),e.add(i.getDirectedEdges(),i.getNodes())}},Md.prototype.createSubgraphs=function(t){for(var e=new Xs,n=t.getNodes().iterator();n.hasNext();){var l=n.next();if(!l.isVisited()){var i=new nc;i.create(l),e.add(i)}}return xc.sort(e,xc.reverseOrder()),e},Md.prototype.createEmptyResultGeometry=function(){return this._geomFact.createPolygon()},Md.prototype.getNoder=function(t){if(null!==this._workingNoder)return this._workingNoder;var e=new Wc,n=new Os;return n.setPrecisionModel(t),e.setSegmentIntersector(new Ad(n)),e},Md.prototype.buffer=function(t,e){var n=this._workingPrecisionModel;null===n&&(n=t.getPrecisionModel()),this._geomFact=t.getFactory();var l=new rd(n,this._bufParams),i=new cd(t,e,l).getCurves();if(i.size()<=0)return this.createEmptyResultGeometry();this.computeNodedEdges(i,n),this._graph=new mc(new md),this._graph.addEdges(this._edgeList.getEdges());var r=this.createSubgraphs(this._graph),o=new gc(this._geomFact);this.buildSubgraphs(r,o);var a=o.getPolygons();return a.size()<=0?this.createEmptyResultGeometry():this._geomFact.buildGeometry(a)},Md.prototype.computeNodedEdges=function(t,e){var n=this.getNoder(e);n.computeNodes(t);for(var l=n.getNodedSubstrings().iterator();l.hasNext();){var i=l.next(),r=i.getCoordinates();if(2!==r.length||!r[0].equals2D(r[1])){var o=i.getData(),a=new kd(i.getCoordinates(),new ic(o));this.insertUniqueEdge(a)}}},Md.prototype.setNoder=function(t){this._workingNoder=t},Md.prototype.interfaces_=function(){return[]},Md.prototype.getClass=function(){return Md},Md.depthDelta=function(t){var e=t.getLocation(0,Ju.LEFT),n=t.getLocation(0,Ju.RIGHT);return e===Za.INTERIOR&&n===Za.EXTERIOR?1:e===Za.EXTERIOR&&n===Za.INTERIOR?-1:0},Md.convertSegStrings=function(t){for(var e=new Gu,n=new Xs;t.hasNext();){var l=t.next(),i=e.createLineString(l.getCoordinates());n.add(i)}return e.buildGeometry(n)};var Od=function(){if(this._noder=null,this._scaleFactor=null,this._offsetX=null,this._offsetY=null,this._isScaled=!1,2===arguments.length){var t=arguments[0],e=arguments[1];this._noder=t,this._scaleFactor=e,this._offsetX=0,this._offsetY=0,this._isScaled=!this.isIntegerPrecision()}else if(4===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=arguments[3];this._noder=n,this._scaleFactor=l,this._offsetX=i,this._offsetY=r,this._isScaled=!this.isIntegerPrecision()}};Od.prototype.rescale=function(){if(es(arguments[0],Vs))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.rescale(e.getCoordinates())}else if(arguments[0]instanceof Array){for(var n=arguments[0],l=0;l<n.length;l++)n[l].x=n[l].x/this._scaleFactor+this._offsetX,n[l].y=n[l].y/this._scaleFactor+this._offsetY;2===n.length&&n[0].equals2D(n[1])&&bs.out.println(n)}},Od.prototype.scale=function(){if(es(arguments[0],Vs)){for(var t=arguments[0],e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();e.add(new Yc(this.scale(l.getCoordinates()),l.getData()))}return e}if(arguments[0]instanceof Array){for(var i=arguments[0],r=new Array(i.length).fill(null),o=0;o<i.length;o++)r[o]=new Xa(Math.round((i[o].x-this._offsetX)*this._scaleFactor),Math.round((i[o].y-this._offsetY)*this._scaleFactor),i[o].z);return Qs.removeRepeatedPoints(r)}},Od.prototype.isIntegerPrecision=function(){return 1===this._scaleFactor},Od.prototype.getNodedSubstrings=function(){var t=this._noder.getNodedSubstrings();return this._isScaled&&this.rescale(t),t},Od.prototype.computeNodes=function(t){var e=t;this._isScaled&&(e=this.scale(t)),this._noder.computeNodes(e)},Od.prototype.interfaces_=function(){return[Vc]},Od.prototype.getClass=function(){return Od};var Dd=function(){this._li=new Os,this._segStrings=null;var t=arguments[0];this._segStrings=t},Td={fact:{configurable:!0}};Dd.prototype.checkEndPtVertexIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next().getCoordinates();this.checkEndPtVertexIntersections(e[0],this._segStrings),this.checkEndPtVertexIntersections(e[e.length-1],this._segStrings)}else if(2===arguments.length)for(var n=arguments[0],l=arguments[1].iterator();l.hasNext();)for(var i=l.next().getCoordinates(),r=1;r<i.length-1;r++)if(i[r].equals(n))throw new Ps("found endpt/interior pt intersection at index "+r+" :pt "+n)},Dd.prototype.checkInteriorIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();)for(var e=t.next(),n=this._segStrings.iterator();n.hasNext();){var l=n.next();this.checkInteriorIntersections(e,l)}else if(2===arguments.length)for(var i=arguments[0],r=arguments[1],o=i.getCoordinates(),a=r.getCoordinates(),s=0;s<o.length-1;s++)for(var u=0;u<a.length-1;u++)this.checkInteriorIntersections(i,s,r,u);else if(4===arguments.length){var c=arguments[0],d=arguments[1],h=arguments[2],p=arguments[3];if(c===h&&d===p)return null;var f=c.getCoordinates()[d],b=c.getCoordinates()[d+1],m=h.getCoordinates()[p],g=h.getCoordinates()[p+1];if(this._li.computeIntersection(f,b,m,g),this._li.hasIntersection()&&(this._li.isProper()||this.hasInteriorIntersection(this._li,f,b)||this.hasInteriorIntersection(this._li,m,g)))throw new Ps("found non-noded intersection at "+f+"-"+b+" and "+m+"-"+g)}},Dd.prototype.checkValid=function(){this.checkEndPtVertexIntersections(),this.checkInteriorIntersections(),this.checkCollapses()},Dd.prototype.checkCollapses=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next();this.checkCollapses(e)}else if(1===arguments.length)for(var n=arguments[0].getCoordinates(),l=0;l<n.length-2;l++)this.checkCollapse(n[l],n[l+1],n[l+2])},Dd.prototype.hasInteriorIntersection=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++){var i=t.getIntersection(l);if(!i.equals(e)&&!i.equals(n))return!0}return!1},Dd.prototype.checkCollapse=function(t,e,n){if(t.equals(n))throw new Ps("found non-noded collapse at "+Dd.fact.createLineString([t,e,n]))},Dd.prototype.interfaces_=function(){return[]},Dd.prototype.getClass=function(){return Dd},Td.fact.get=function(){return new Gu},Object.defineProperties(Dd,Td);var Ed=function(){this._li=null,this._pt=null,this._originalPt=null,this._ptScaled=null,this._p0Scaled=null,this._p1Scaled=null,this._scaleFactor=null,this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,this._corner=new Array(4).fill(null),this._safeEnv=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(this._originalPt=t,this._pt=t,this._scaleFactor=e,this._li=n,e<=0)throw new Ga("Scale factor must be non-zero");1!==e&&(this._pt=new Xa(this.scale(t.x),this.scale(t.y)),this._p0Scaled=new Xa,this._p1Scaled=new Xa),this.initCorners(this._pt)},Id={SAFE_ENV_EXPANSION_FACTOR:{configurable:!0}};Ed.prototype.intersectsScaled=function(t,e){var n=Math.min(t.x,e.x),l=Math.max(t.x,e.x),i=Math.min(t.y,e.y),r=Math.max(t.y,e.y),o=this._maxx<n||this._minx>l||this._maxy<i||this._miny>r;if(o)return!1;var a=this.intersectsToleranceSquare(t,e);return Ss.isTrue(!(o&&a),"Found bad envelope test"),a},Ed.prototype.initCorners=function(t){this._minx=t.x-.5,this._maxx=t.x+.5,this._miny=t.y-.5,this._maxy=t.y+.5,this._corner[0]=new Xa(this._maxx,this._maxy),this._corner[1]=new Xa(this._minx,this._maxy),this._corner[2]=new Xa(this._minx,this._miny),this._corner[3]=new Xa(this._maxx,this._miny)},Ed.prototype.intersects=function(t,e){return 1===this._scaleFactor?this.intersectsScaled(t,e):(this.copyScaled(t,this._p0Scaled),this.copyScaled(e,this._p1Scaled),this.intersectsScaled(this._p0Scaled,this._p1Scaled))},Ed.prototype.scale=function(t){return Math.round(t*this._scaleFactor)},Ed.prototype.getCoordinate=function(){return this._originalPt},Ed.prototype.copyScaled=function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)},Ed.prototype.getSafeEnvelope=function(){if(null===this._safeEnv){var t=Ed.SAFE_ENV_EXPANSION_FACTOR/this._scaleFactor;this._safeEnv=new gs(this._originalPt.x-t,this._originalPt.x+t,this._originalPt.y-t,this._originalPt.y+t)}return this._safeEnv},Ed.prototype.intersectsPixelClosure=function(t,e){return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.hasIntersection()))))},Ed.prototype.intersectsToleranceSquare=function(t,e){var n=!1,l=!1;return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.isProper()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.isProper()||(this._li.hasIntersection()&&(n=!0),this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.isProper()||(this._li.hasIntersection()&&(l=!0),this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.isProper()||n&&l||t.equals(this._pt)||e.equals(this._pt)))))},Ed.prototype.addSnappedNode=function(t,e){var n=t.getCoordinate(e),l=t.getCoordinate(e+1);return!!this.intersects(n,l)&&(t.addIntersection(this.getCoordinate(),e),!0)},Ed.prototype.interfaces_=function(){return[]},Ed.prototype.getClass=function(){return Ed},Id.SAFE_ENV_EXPANSION_FACTOR.get=function(){return.75},Object.defineProperties(Ed,Id);var Ld=function(){this.tempEnv1=new gs,this.selectedSegment=new Uc};Ld.prototype.select=function(){if(1===arguments.length);else if(2===arguments.length){var t=arguments[0],e=arguments[1];t.getLineSegment(e,this.selectedSegment),this.select(this.selectedSegment)}},Ld.prototype.interfaces_=function(){return[]},Ld.prototype.getClass=function(){return Ld};var jd=function(){this._index=null;var t=arguments[0];this._index=t},Rd={HotPixelSnapAction:{configurable:!0}};jd.prototype.snap=function(){if(1===arguments.length){var t=arguments[0];return this.snap(t,null,-1)}if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2],i=e.getSafeEnvelope(),r=new Fd(e,n,l);return this._index.query(i,{interfaces_:function(){return[vc]},visitItem:function(t){t.select(i,r)}}),r.isNodeAdded()}},jd.prototype.interfaces_=function(){return[]},jd.prototype.getClass=function(){return jd},Rd.HotPixelSnapAction.get=function(){return Fd},Object.defineProperties(jd,Rd);var Fd=function(t){function e(){t.call(this),this._hotPixel=null,this._parentEdge=null,this._hotPixelVertexIndex=null,this._isNodeAdded=!1;var e=arguments[0],n=arguments[1],l=arguments[2];this._hotPixel=e,this._parentEdge=n,this._hotPixelVertexIndex=l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isNodeAdded=function(){return this._isNodeAdded},e.prototype.select=function(){if(2!==arguments.length)return t.prototype.select.apply(this,arguments);var e=arguments[0],n=arguments[1],l=e.getContext();if(null!==this._parentEdge&&l===this._parentEdge&&n===this._hotPixelVertexIndex)return null;this._isNodeAdded=this._hotPixel.addSnappedNode(l,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Ld),Nd=function(){this._li=null,this._interiorIntersections=null;var t=arguments[0];this._li=t,this._interiorIntersections=new Xs};Nd.prototype.processIntersections=function(t,e,n,l){if(t===n&&e===l)return null;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];if(this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&this._li.isInteriorIntersection()){for(var s=0;s<this._li.getIntersectionNum();s++)this._interiorIntersections.add(this._li.getIntersection(s));t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1)}},Nd.prototype.isDone=function(){return!1},Nd.prototype.getInteriorIntersections=function(){return this._interiorIntersections},Nd.prototype.interfaces_=function(){return[yd]},Nd.prototype.getClass=function(){return Nd};var Yd=function(){this._pm=null,this._li=null,this._scaleFactor=null,this._noder=null,this._pointSnapper=null,this._nodedSegStrings=null;var t=arguments[0];this._pm=t,this._li=new Os,this._li.setPrecisionModel(t),this._scaleFactor=t.getScale()};Yd.prototype.checkCorrectness=function(t){var e=Yc.getNodedSubstrings(t),n=new Dd(e);try{n.checkValid()}catch(t){if(!(t instanceof ps))throw t;t.printStackTrace()}},Yd.prototype.getNodedSubstrings=function(){return Yc.getNodedSubstrings(this._nodedSegStrings)},Yd.prototype.snapRound=function(t,e){var n=this.findInteriorIntersections(t,e);this.computeIntersectionSnaps(n),this.computeVertexSnaps(t)},Yd.prototype.findInteriorIntersections=function(t,e){var n=new Nd(e);return this._noder.setSegmentIntersector(n),this._noder.computeNodes(t),n.getInteriorIntersections()},Yd.prototype.computeVertexSnaps=function(){if(es(arguments[0],Vs))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.computeVertexSnaps(e)}else if(arguments[0]instanceof Yc)for(var n=arguments[0],l=n.getCoordinates(),i=0;i<l.length;i++){var r=new Ed(l[i],this._scaleFactor,this._li);this._pointSnapper.snap(r,n,i)&&n.addIntersection(l[i],i)}},Yd.prototype.computeNodes=function(t){this._nodedSegStrings=t,this._noder=new Wc,this._pointSnapper=new jd(this._noder.getIndex()),this.snapRound(t,this._li)},Yd.prototype.computeIntersectionSnaps=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),l=new Ed(n,this._scaleFactor,this._li);this._pointSnapper.snap(l)}},Yd.prototype.interfaces_=function(){return[Vc]},Yd.prototype.getClass=function(){return Yd};var Ud=function(){if(this._argGeom=null,this._distance=null,this._bufParams=new Xc,this._resultGeometry=null,this._saveException=null,1===arguments.length){var t=arguments[0];this._argGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this._argGeom=e,this._bufParams=n}},Bd={CAP_ROUND:{configurable:!0},CAP_BUTT:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},MAX_PRECISION_DIGITS:{configurable:!0}};Ud.prototype.bufferFixedPrecision=function(t){var e=new Od(new Yd(new Yu(1)),t.getScale()),n=new Md(this._bufParams);n.setWorkingPrecisionModel(t),n.setNoder(e),this._resultGeometry=n.buffer(this._argGeom,this._distance)},Ud.prototype.bufferReducedPrecision=function(){var t=this;if(0===arguments.length){for(var e=Ud.MAX_PRECISION_DIGITS;e>=0;e--){try{t.bufferReducedPrecision(e)}catch(e){if(!(e instanceof tc))throw e;t._saveException=e}if(null!==t._resultGeometry)return null}throw this._saveException}if(1===arguments.length){var n=arguments[0],l=Ud.precisionScaleFactor(this._argGeom,this._distance,n),i=new Yu(l);this.bufferFixedPrecision(i)}},Ud.prototype.computeGeometry=function(){if(this.bufferOriginalPrecision(),null!==this._resultGeometry)return null;var t=this._argGeom.getFactory().getPrecisionModel();t.getType()===Yu.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()},Ud.prototype.setQuadrantSegments=function(t){this._bufParams.setQuadrantSegments(t)},Ud.prototype.bufferOriginalPrecision=function(){try{var t=new Md(this._bufParams);this._resultGeometry=t.buffer(this._argGeom,this._distance)}catch(t){if(!(t instanceof Ps))throw t;this._saveException=t}},Ud.prototype.getResultGeometry=function(t){return this._distance=t,this.computeGeometry(),this._resultGeometry},Ud.prototype.setEndCapStyle=function(t){this._bufParams.setEndCapStyle(t)},Ud.prototype.interfaces_=function(){return[]},Ud.prototype.getClass=function(){return Ud},Ud.bufferOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new Ud(t).getResultGeometry(e)}if(3===arguments.length){if(Number.isInteger(arguments[2])&&arguments[0]instanceof js&&"number"==typeof arguments[1]){var n=arguments[0],l=arguments[1],i=arguments[2],r=new Ud(n);return r.setQuadrantSegments(i),r.getResultGeometry(l)}if(arguments[2]instanceof Xc&&arguments[0]instanceof js&&"number"==typeof arguments[1]){var o=arguments[0],a=arguments[1],s=arguments[2];return new Ud(o,s).getResultGeometry(a)}}else if(4===arguments.length){var u=arguments[0],c=arguments[1],d=arguments[2],h=arguments[3],p=new Ud(u);return p.setQuadrantSegments(d),p.setEndCapStyle(h),p.getResultGeometry(c)}},Ud.precisionScaleFactor=function(t,e,n){var l=t.getEnvelopeInternal(),i=ns.max(Math.abs(l.getMaxX()),Math.abs(l.getMaxY()),Math.abs(l.getMinX()),Math.abs(l.getMinY()))+2*(e>0?e:0),r=n-Math.trunc(Math.log(i)/Math.log(10)+1);return Math.pow(10,r)},Bd.CAP_ROUND.get=function(){return Xc.CAP_ROUND},Bd.CAP_BUTT.get=function(){return Xc.CAP_FLAT},Bd.CAP_FLAT.get=function(){return Xc.CAP_FLAT},Bd.CAP_SQUARE.get=function(){return Xc.CAP_SQUARE},Bd.MAX_PRECISION_DIGITS.get=function(){return 12},Object.defineProperties(Ud,Bd);var zd=function(){this._pt=[new Xa,new Xa],this._distance=Ha.NaN,this._isNull=!0};zd.prototype.getCoordinates=function(){return this._pt},zd.prototype.getCoordinate=function(t){return this._pt[t]},zd.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l<this._distance&&this.initialize(e,n,l)}},zd.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(l),this._distance=i,this._isNull=!1}},zd.prototype.getDistance=function(){return this._distance},zd.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l>this._distance&&this.initialize(e,n,l)}},zd.prototype.interfaces_=function(){return[]},zd.prototype.getClass=function(){return zd};var Gd=function(){};Gd.prototype.interfaces_=function(){return[]},Gd.prototype.getClass=function(){return Gd},Gd.computeDistance=function(){if(arguments[2]instanceof zd&&arguments[0]instanceof vu&&arguments[1]instanceof Xa)for(var t=arguments[0],e=arguments[1],n=arguments[2],l=t.getCoordinates(),i=new Uc,r=0;r<l.length-1;r++){i.setCoordinates(l[r],l[r+1]);var o=i.closestPoint(e);n.setMinimum(o,e)}else if(arguments[2]instanceof zd&&arguments[0]instanceof xu&&arguments[1]instanceof Xa){var a=arguments[0],s=arguments[1],u=arguments[2];Gd.computeDistance(a.getExteriorRing(),s,u);for(var c=0;c<a.getNumInteriorRing();c++)Gd.computeDistance(a.getInteriorRingN(c),s,u)}else if(arguments[2]instanceof zd&&arguments[0]instanceof js&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1],p=arguments[2];if(d instanceof vu)Gd.computeDistance(d,h,p);else if(d instanceof xu)Gd.computeDistance(d,h,p);else if(d instanceof fu)for(var f=d,b=0;b<f.getNumGeometries();b++){var m=f.getGeometryN(b);Gd.computeDistance(m,h,p)}else p.setMinimum(d.getCoordinate(),h)}else if(arguments[2]instanceof zd&&arguments[0]instanceof Uc&&arguments[1]instanceof Xa){var g=arguments[0],_=arguments[1],y=arguments[2],A=g.closestPoint(_);y.setMinimum(A,_)}};var Hd=function(t){this._maxPtDist=new zd,this._inputGeom=t||null},Vd={MaxPointDistanceFilter:{configurable:!0},MaxMidpointDistanceFilter:{configurable:!0}};Hd.prototype.computeMaxMidpointDistance=function(t){var e=new Wd(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},Hd.prototype.computeMaxVertexDistance=function(t){var e=new qd(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},Hd.prototype.findDistance=function(t){return this.computeMaxVertexDistance(t),this.computeMaxMidpointDistance(t),this._maxPtDist.getDistance()},Hd.prototype.getDistancePoints=function(){return this._maxPtDist},Hd.prototype.interfaces_=function(){return[]},Hd.prototype.getClass=function(){return Hd},Vd.MaxPointDistanceFilter.get=function(){return qd},Vd.MaxMidpointDistanceFilter.get=function(){return Wd},Object.defineProperties(Hd,Vd);var qd=function(t){this._maxPtDist=new zd,this._minPtDist=new zd,this._geom=t||null};qd.prototype.filter=function(t){this._minPtDist.initialize(),Gd.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},qd.prototype.getMaxPointDistance=function(){return this._maxPtDist},qd.prototype.interfaces_=function(){return[Ns]},qd.prototype.getClass=function(){return qd};var Wd=function(t){this._maxPtDist=new zd,this._minPtDist=new zd,this._geom=t||null};Wd.prototype.filter=function(t,e){if(0===e)return null;var n=t.getCoordinate(e-1),l=t.getCoordinate(e),i=new Xa((n.x+l.x)/2,(n.y+l.y)/2);this._minPtDist.initialize(),Gd.computeDistance(this._geom,i,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},Wd.prototype.isDone=function(){return!1},Wd.prototype.isGeometryChanged=function(){return!1},Wd.prototype.getMaxPointDistance=function(){return this._maxPtDist},Wd.prototype.interfaces_=function(){return[pu]},Wd.prototype.getClass=function(){return Wd};var $d=function(t){this._comps=t||null};$d.prototype.filter=function(t){t instanceof xu&&this._comps.add(t)},$d.prototype.interfaces_=function(){return[hu]},$d.prototype.getClass=function(){return $d},$d.getPolygons=function(){if(1===arguments.length){var t=arguments[0];return $d.getPolygons(t,new Xs)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof xu?n.add(e):e instanceof fu&&e.apply(new $d(n)),n}};var Xd=function(){if(this._lines=null,this._isForcedToLineString=!1,1===arguments.length){var t=arguments[0];this._lines=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this._lines=e,this._isForcedToLineString=n}};Xd.prototype.filter=function(t){if(this._isForcedToLineString&&t instanceof ku){var e=t.getFactory().createLineString(t.getCoordinateSequence());return this._lines.add(e),null}t instanceof vu&&this._lines.add(t)},Xd.prototype.setForceToLineString=function(t){this._isForcedToLineString=t},Xd.prototype.interfaces_=function(){return[Ls]},Xd.prototype.getClass=function(){return Xd},Xd.getGeometry=function(){if(1===arguments.length){var t=arguments[0];return t.getFactory().buildGeometry(Xd.getLines(t))}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e.getFactory().buildGeometry(Xd.getLines(e,n))}},Xd.getLines=function(){if(1===arguments.length){var t=arguments[0];return Xd.getLines(t,!1)}if(2===arguments.length){if(es(arguments[0],Vs)&&es(arguments[1],Vs)){for(var e=arguments[0],n=arguments[1],l=e.iterator();l.hasNext();){var i=l.next();Xd.getLines(i,n)}return n}if(arguments[0]instanceof js&&"boolean"==typeof arguments[1]){var r=arguments[0],o=arguments[1],a=new Xs;return r.apply(new Xd(a,o)),a}if(arguments[0]instanceof js&&es(arguments[1],Vs)){var s=arguments[0],u=arguments[1];return s instanceof vu?u.add(s):s.apply(new Xd(u)),u}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&es(arguments[0],Vs)&&es(arguments[1],Vs)){for(var c=arguments[0],d=arguments[1],h=arguments[2],p=c.iterator();p.hasNext();){var f=p.next();Xd.getLines(f,d,h)}return d}if("boolean"==typeof arguments[2]&&arguments[0]instanceof js&&es(arguments[1],Vs)){var b=arguments[0],m=arguments[1],g=arguments[2];return b.apply(new Xd(m,g)),m}}};var Kd=function(){if(this._boundaryRule=Ys.OGC_SFS_BOUNDARY_RULE,this._isIn=null,this._numBoundaries=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];if(null===t)throw new Ga("Rule must be non-null");this._boundaryRule=t}};Kd.prototype.locateInternal=function(){if(arguments[0]instanceof Xa&&arguments[1]instanceof xu){var t=arguments[0],e=arguments[1];if(e.isEmpty())return Za.EXTERIOR;var n=e.getExteriorRing(),l=this.locateInPolygonRing(t,n);if(l===Za.EXTERIOR)return Za.EXTERIOR;if(l===Za.BOUNDARY)return Za.BOUNDARY;for(var i=0;i<e.getNumInteriorRing();i++){var r=e.getInteriorRingN(i),o=this.locateInPolygonRing(t,r);if(o===Za.INTERIOR)return Za.EXTERIOR;if(o===Za.BOUNDARY)return Za.BOUNDARY}return Za.INTERIOR}if(arguments[0]instanceof Xa&&arguments[1]instanceof vu){var a=arguments[0],s=arguments[1];if(!s.getEnvelopeInternal().intersects(a))return Za.EXTERIOR;var u=s.getCoordinates();return s.isClosed()||!a.equals(u[0])&&!a.equals(u[u.length-1])?Es.isOnLine(a,u)?Za.INTERIOR:Za.EXTERIOR:Za.BOUNDARY}if(arguments[0]instanceof Xa&&arguments[1]instanceof wu){var c=arguments[0];return arguments[1].getCoordinate().equals2D(c)?Za.INTERIOR:Za.EXTERIOR}},Kd.prototype.locateInPolygonRing=function(t,e){return e.getEnvelopeInternal().intersects(t)?Es.locatePointInRing(t,e.getCoordinates()):Za.EXTERIOR},Kd.prototype.intersects=function(t,e){return this.locate(t,e)!==Za.EXTERIOR},Kd.prototype.updateLocationInfo=function(t){t===Za.INTERIOR&&(this._isIn=!0),t===Za.BOUNDARY&&this._numBoundaries++},Kd.prototype.computeLocation=function(t,e){if(e instanceof wu&&this.updateLocationInfo(this.locateInternal(t,e)),e instanceof vu)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof xu)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof bu)for(var n=e,l=0;l<n.getNumGeometries();l++){var i=n.getGeometryN(l);this.updateLocationInfo(this.locateInternal(t,i))}else if(e instanceof Mu)for(var r=e,o=0;o<r.getNumGeometries();o++){var a=r.getGeometryN(o);this.updateLocationInfo(this.locateInternal(t,a))}else if(e instanceof fu)for(var s=new hd(e);s.hasNext();){var u=s.next();u!==e&&this.computeLocation(t,u)}},Kd.prototype.locate=function(t,e){return e.isEmpty()?Za.EXTERIOR:e instanceof vu||e instanceof xu?this.locateInternal(t,e):(this._isIn=!1,this._numBoundaries=0,this.computeLocation(t,e),this._boundaryRule.isInBoundary(this._numBoundaries)?Za.BOUNDARY:this._numBoundaries>0||this._isIn?Za.INTERIOR:Za.EXTERIOR)},Kd.prototype.interfaces_=function(){return[]},Kd.prototype.getClass=function(){return Kd};var Jd=function t(){if(this._component=null,this._segIndex=null,this._pt=null,2===arguments.length){var e=arguments[0],n=arguments[1];t.call(this,e,t.INSIDE_AREA,n)}else if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._component=l,this._segIndex=i,this._pt=r}},Qd={INSIDE_AREA:{configurable:!0}};Jd.prototype.isInsideArea=function(){return this._segIndex===Jd.INSIDE_AREA},Jd.prototype.getCoordinate=function(){return this._pt},Jd.prototype.getGeometryComponent=function(){return this._component},Jd.prototype.getSegmentIndex=function(){return this._segIndex},Jd.prototype.interfaces_=function(){return[]},Jd.prototype.getClass=function(){return Jd},Qd.INSIDE_AREA.get=function(){return-1},Object.defineProperties(Jd,Qd);var Zd=function(t){this._pts=t||null};Zd.prototype.filter=function(t){t instanceof wu&&this._pts.add(t)},Zd.prototype.interfaces_=function(){return[hu]},Zd.prototype.getClass=function(){return Zd},Zd.getPoints=function(){if(1===arguments.length){var t=arguments[0];return t instanceof wu?xc.singletonList(t):Zd.getPoints(t,new Xs)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof wu?n.add(e):e instanceof fu&&e.apply(new Zd(n)),n}};var th=function(){this._locations=null;var t=arguments[0];this._locations=t};th.prototype.filter=function(t){(t instanceof wu||t instanceof vu||t instanceof xu)&&this._locations.add(new Jd(t,0,t.getCoordinate()))},th.prototype.interfaces_=function(){return[hu]},th.prototype.getClass=function(){return th},th.getLocations=function(t){var e=new Xs;return t.apply(new th(e)),e};var eh=function(){if(this._geom=null,this._terminateDistance=0,this._ptLocator=new Kd,this._minDistanceLocation=null,this._minDistance=Ha.MAX_VALUE,2===arguments.length){var t=arguments[0],e=arguments[1];this._geom=[t,e],this._terminateDistance=0}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._geom=new Array(2).fill(null),this._geom[0]=n,this._geom[1]=l,this._terminateDistance=i}};eh.prototype.computeContainmentDistance=function(){if(0===arguments.length){var t=new Array(2).fill(null);if(this.computeContainmentDistance(0,t),this._minDistance<=this._terminateDistance)return null;this.computeContainmentDistance(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=1-e,i=$d.getPolygons(this._geom[e]);if(i.size()>0){var r=th.getLocations(this._geom[l]);if(this.computeContainmentDistance(r,i,n),this._minDistance<=this._terminateDistance)return this._minDistanceLocation[l]=n[0],this._minDistanceLocation[e]=n[1],null}}else if(3===arguments.length)if(arguments[2]instanceof Array&&es(arguments[0],$s)&&es(arguments[1],$s)){for(var o=arguments[0],a=arguments[1],s=arguments[2],u=0;u<o.size();u++)for(var c=o.get(u),d=0;d<a.size();d++)if(this.computeContainmentDistance(c,a.get(d),s),this._minDistance<=this._terminateDistance)return null}else if(arguments[2]instanceof Array&&arguments[0]instanceof Jd&&arguments[1]instanceof xu){var h=arguments[0],p=arguments[1],f=arguments[2],b=h.getCoordinate();if(Za.EXTERIOR!==this._ptLocator.locate(b,p))return this._minDistance=0,f[0]=h,f[1]=new Jd(p,b),null}},eh.prototype.computeMinDistanceLinesPoints=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r);if(this.computeMinDistance(i,o,n),this._minDistance<=this._terminateDistance)return null}},eh.prototype.computeFacetDistance=function(){var t=new Array(2).fill(null),e=Xd.getLines(this._geom[0]),n=Xd.getLines(this._geom[1]),l=Zd.getPoints(this._geom[0]),i=Zd.getPoints(this._geom[1]);return this.computeMinDistanceLines(e,n,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(e,i,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(n,l,t),this.updateMinDistance(t,!0),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistancePoints(l,i,t),void this.updateMinDistance(t,!1))))},eh.prototype.nearestLocations=function(){return this.computeMinDistance(),this._minDistanceLocation},eh.prototype.updateMinDistance=function(t,e){if(null===t[0])return null;e?(this._minDistanceLocation[0]=t[1],this._minDistanceLocation[1]=t[0]):(this._minDistanceLocation[0]=t[0],this._minDistanceLocation[1]=t[1])},eh.prototype.nearestPoints=function(){return this.computeMinDistance(),[this._minDistanceLocation[0].getCoordinate(),this._minDistanceLocation[1].getCoordinate()]},eh.prototype.computeMinDistance=function(){if(0===arguments.length){if(null!==this._minDistanceLocation)return null;if(this._minDistanceLocation=new Array(2).fill(null),this.computeContainmentDistance(),this._minDistance<=this._terminateDistance)return null;this.computeFacetDistance()}else if(3===arguments.length)if(arguments[2]instanceof Array&&arguments[0]instanceof vu&&arguments[1]instanceof wu){var t=arguments[0],e=arguments[1],n=arguments[2];if(t.getEnvelopeInternal().distance(e.getEnvelopeInternal())>this._minDistance)return null;for(var l=t.getCoordinates(),i=e.getCoordinate(),r=0;r<l.length-1;r++){var o=Es.distancePointLine(i,l[r],l[r+1]);if(o<this._minDistance){this._minDistance=o;var a=new Uc(l[r],l[r+1]).closestPoint(i);n[0]=new Jd(t,r,a),n[1]=new Jd(e,0,i)}if(this._minDistance<=this._terminateDistance)return null}}else if(arguments[2]instanceof Array&&arguments[0]instanceof vu&&arguments[1]instanceof vu){var s=arguments[0],u=arguments[1],c=arguments[2];if(s.getEnvelopeInternal().distance(u.getEnvelopeInternal())>this._minDistance)return null;for(var d=s.getCoordinates(),h=u.getCoordinates(),p=0;p<d.length-1;p++)for(var f=0;f<h.length-1;f++){var b=Es.distanceLineLine(d[p],d[p+1],h[f],h[f+1]);if(b<this._minDistance){this._minDistance=b;var m=new Uc(d[p],d[p+1]),g=new Uc(h[f],h[f+1]),_=m.closestPoints(g);c[0]=new Jd(s,p,_[0]),c[1]=new Jd(u,f,_[1])}if(this._minDistance<=this._terminateDistance)return null}}},eh.prototype.computeMinDistancePoints=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r),a=i.getCoordinate().distance(o.getCoordinate());if(a<this._minDistance&&(this._minDistance=a,n[0]=new Jd(i,0,i.getCoordinate()),n[1]=new Jd(o,0,o.getCoordinate())),this._minDistance<=this._terminateDistance)return null}},eh.prototype.distance=function(){if(null===this._geom[0]||null===this._geom[1])throw new Ga("null geometries are not supported");return this._geom[0].isEmpty()||this._geom[1].isEmpty()?0:(this.computeMinDistance(),this._minDistance)},eh.prototype.computeMinDistanceLines=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r);if(this.computeMinDistance(i,o,n),this._minDistance<=this._terminateDistance)return null}},eh.prototype.interfaces_=function(){return[]},eh.prototype.getClass=function(){return eh},eh.distance=function(t,e){return new eh(t,e).distance()},eh.isWithinDistance=function(t,e,n){return new eh(t,e,n).distance()<=n},eh.nearestPoints=function(t,e){return new eh(t,e).nearestPoints()};var nh=function(){this._pt=[new Xa,new Xa],this._distance=Ha.NaN,this._isNull=!0};nh.prototype.getCoordinates=function(){return this._pt},nh.prototype.getCoordinate=function(t){return this._pt[t]},nh.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l<this._distance&&this.initialize(e,n,l)}},nh.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(l),this._distance=i,this._isNull=!1}},nh.prototype.toString=function(){return ws.toLineString(this._pt[0],this._pt[1])},nh.prototype.getDistance=function(){return this._distance},nh.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l>this._distance&&this.initialize(e,n,l)}},nh.prototype.interfaces_=function(){return[]},nh.prototype.getClass=function(){return nh};var lh=function(){};lh.prototype.interfaces_=function(){return[]},lh.prototype.getClass=function(){return lh},lh.computeDistance=function(){if(arguments[2]instanceof nh&&arguments[0]instanceof vu&&arguments[1]instanceof Xa)for(var t=arguments[0],e=arguments[1],n=arguments[2],l=new Uc,i=t.getCoordinates(),r=0;r<i.length-1;r++){l.setCoordinates(i[r],i[r+1]);var o=l.closestPoint(e);n.setMinimum(o,e)}else if(arguments[2]instanceof nh&&arguments[0]instanceof xu&&arguments[1]instanceof Xa){var a=arguments[0],s=arguments[1],u=arguments[2];lh.computeDistance(a.getExteriorRing(),s,u);for(var c=0;c<a.getNumInteriorRing();c++)lh.computeDistance(a.getInteriorRingN(c),s,u)}else if(arguments[2]instanceof nh&&arguments[0]instanceof js&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1],p=arguments[2];if(d instanceof vu)lh.computeDistance(d,h,p);else if(d instanceof xu)lh.computeDistance(d,h,p);else if(d instanceof fu)for(var f=d,b=0;b<f.getNumGeometries();b++){var m=f.getGeometryN(b);lh.computeDistance(m,h,p)}else p.setMinimum(d.getCoordinate(),h)}else if(arguments[2]instanceof nh&&arguments[0]instanceof Uc&&arguments[1]instanceof Xa){var g=arguments[0],_=arguments[1],y=arguments[2],A=g.closestPoint(_);y.setMinimum(A,_)}};var ih=function(){this._g0=null,this._g1=null,this._ptDist=new nh,this._densifyFrac=0;var t=arguments[0],e=arguments[1];this._g0=t,this._g1=e},rh={MaxPointDistanceFilter:{configurable:!0},MaxDensifiedByFractionDistanceFilter:{configurable:!0}};ih.prototype.getCoordinates=function(){return this._ptDist.getCoordinates()},ih.prototype.setDensifyFraction=function(t){if(t>1||t<=0)throw new Ga("Fraction is not in range (0.0 - 1.0]");this._densifyFrac=t},ih.prototype.compute=function(t,e){this.computeOrientedDistance(t,e,this._ptDist),this.computeOrientedDistance(e,t,this._ptDist)},ih.prototype.distance=function(){return this.compute(this._g0,this._g1),this._ptDist.getDistance()},ih.prototype.computeOrientedDistance=function(t,e,n){var l=new oh(e);if(t.apply(l),n.setMaximum(l.getMaxPointDistance()),this._densifyFrac>0){var i=new ah(e,this._densifyFrac);t.apply(i),n.setMaximum(i.getMaxPointDistance())}},ih.prototype.orientedDistance=function(){return this.computeOrientedDistance(this._g0,this._g1,this._ptDist),this._ptDist.getDistance()},ih.prototype.interfaces_=function(){return[]},ih.prototype.getClass=function(){return ih},ih.distance=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new ih(t,e).distance()}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=new ih(n,l);return r.setDensifyFraction(i),r.distance()}},rh.MaxPointDistanceFilter.get=function(){return oh},rh.MaxDensifiedByFractionDistanceFilter.get=function(){return ah},Object.defineProperties(ih,rh);var oh=function(){this._maxPtDist=new nh,this._minPtDist=new nh,this._euclideanDist=new lh,this._geom=null;var t=arguments[0];this._geom=t};oh.prototype.filter=function(t){this._minPtDist.initialize(),lh.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},oh.prototype.getMaxPointDistance=function(){return this._maxPtDist},oh.prototype.interfaces_=function(){return[Ns]},oh.prototype.getClass=function(){return oh};var ah=function(){this._maxPtDist=new nh,this._minPtDist=new nh,this._geom=null,this._numSubSegs=0;var t=arguments[0],e=arguments[1];this._geom=t,this._numSubSegs=Math.trunc(Math.round(1/e))};ah.prototype.filter=function(t,e){if(0===e)return null;for(var n=t.getCoordinate(e-1),l=t.getCoordinate(e),i=(l.x-n.x)/this._numSubSegs,r=(l.y-n.y)/this._numSubSegs,o=0;o<this._numSubSegs;o++){var a=new Xa(n.x+o*i,n.y+o*r);this._minPtDist.initialize(),lh.computeDistance(this._geom,a,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)}},ah.prototype.isDone=function(){return!1},ah.prototype.isGeometryChanged=function(){return!1},ah.prototype.getMaxPointDistance=function(){return this._maxPtDist},ah.prototype.interfaces_=function(){return[pu]},ah.prototype.getClass=function(){return ah};var sh=function(t,e,n){this._minValidDistance=null,this._maxValidDistance=null,this._minDistanceFound=null,this._maxDistanceFound=null,this._isValid=!0,this._errMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._bufDistance=e||null,this._result=n||null},uh={VERBOSE:{configurable:!0},MAX_DISTANCE_DIFF_FRAC:{configurable:!0}};sh.prototype.checkMaximumDistance=function(t,e,n){var l=new ih(e,t);if(l.setDensifyFraction(.25),this._maxDistanceFound=l.orientedDistance(),this._maxDistanceFound>n){this._isValid=!1;var i=l.getCoordinates();this._errorLocation=i[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too large ("+this._maxDistanceFound+" at "+ws.toLineString(i[0],i[1])+")"}},sh.prototype.isValid=function(){var t=Math.abs(this._bufDistance),e=sh.MAX_DISTANCE_DIFF_FRAC*t;return this._minValidDistance=t-e,this._maxValidDistance=t+e,!(!this._input.isEmpty()&&!this._result.isEmpty())||(this._bufDistance>0?this.checkPositiveValid():this.checkNegativeValid(),sh.VERBOSE&&bs.out.println("Min Dist= "+this._minDistanceFound+" err= "+(1-this._minDistanceFound/this._bufDistance)+" Max Dist= "+this._maxDistanceFound+" err= "+(this._maxDistanceFound/this._bufDistance-1)),this._isValid)},sh.prototype.checkNegativeValid=function(){if(!(this._input instanceof xu||this._input instanceof Mu||this._input instanceof fu))return null;var t=this.getPolygonLines(this._input);if(this.checkMinimumDistance(t,this._result,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(t,this._result,this._maxValidDistance)},sh.prototype.getErrorIndicator=function(){return this._errorIndicator},sh.prototype.checkMinimumDistance=function(t,e,n){var l=new eh(t,e,n);if(this._minDistanceFound=l.distance(),this._minDistanceFound<n){this._isValid=!1;var i=l.nearestPoints();this._errorLocation=l.nearestPoints()[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too small ("+this._minDistanceFound+" at "+ws.toLineString(i[0],i[1])+" )"}},sh.prototype.checkPositiveValid=function(){var t=this._result.getBoundary();if(this.checkMinimumDistance(this._input,t,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(this._input,t,this._maxValidDistance)},sh.prototype.getErrorLocation=function(){return this._errorLocation},sh.prototype.getPolygonLines=function(t){for(var e=new Xs,n=new Xd(e),l=$d.getPolygons(t).iterator();l.hasNext();)l.next().apply(n);return t.getFactory().buildGeometry(e)},sh.prototype.getErrorMessage=function(){return this._errMsg},sh.prototype.interfaces_=function(){return[]},sh.prototype.getClass=function(){return sh},uh.VERBOSE.get=function(){return!1},uh.MAX_DISTANCE_DIFF_FRAC.get=function(){return.012},Object.defineProperties(sh,uh);var ch=function(t,e,n){this._isValid=!0,this._errorMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._distance=e||null,this._result=n||null},dh={VERBOSE:{configurable:!0},MAX_ENV_DIFF_FRAC:{configurable:!0}};ch.prototype.isValid=function(){return this.checkPolygonal(),this._isValid?(this.checkExpectedEmpty(),this._isValid?(this.checkEnvelope(),this._isValid?(this.checkArea(),this._isValid?(this.checkDistance(),this._isValid):this._isValid):this._isValid):this._isValid):this._isValid},ch.prototype.checkEnvelope=function(){if(this._distance<0)return null;var t=this._distance*ch.MAX_ENV_DIFF_FRAC;0===t&&(t=.001);var e=new gs(this._input.getEnvelopeInternal());e.expandBy(this._distance);var n=new gs(this._result.getEnvelopeInternal());n.expandBy(t),n.contains(e)||(this._isValid=!1,this._errorMsg="Buffer envelope is incorrect",this._errorIndicator=this._input.getFactory().toGeometry(n)),this.report("Envelope")},ch.prototype.checkDistance=function(){var t=new sh(this._input,this._distance,this._result);t.isValid()||(this._isValid=!1,this._errorMsg=t.getErrorMessage(),this._errorLocation=t.getErrorLocation(),this._errorIndicator=t.getErrorIndicator()),this.report("Distance")},ch.prototype.checkArea=function(){var t=this._input.getArea(),e=this._result.getArea();this._distance>0&&t>e&&(this._isValid=!1,this._errorMsg="Area of positive buffer is smaller than input",this._errorIndicator=this._result),this._distance<0&&t<e&&(this._isValid=!1,this._errorMsg="Area of negative buffer is larger than input",this._errorIndicator=this._result),this.report("Area")},ch.prototype.checkPolygonal=function(){this._result instanceof xu||this._result instanceof Mu||(this._isValid=!1),this._errorMsg="Result is not polygonal",this._errorIndicator=this._result,this.report("Polygonal")},ch.prototype.getErrorIndicator=function(){return this._errorIndicator},ch.prototype.getErrorLocation=function(){return this._errorLocation},ch.prototype.checkExpectedEmpty=function(){return this._input.getDimension()>=2||this._distance>0?null:(this._result.isEmpty()||(this._isValid=!1,this._errorMsg="Result is non-empty",this._errorIndicator=this._result),void this.report("ExpectedEmpty"))},ch.prototype.report=function(t){if(!ch.VERBOSE)return null;bs.out.println("Check "+t+": "+(this._isValid?"passed":"FAILED"))},ch.prototype.getErrorMessage=function(){return this._errorMsg},ch.prototype.interfaces_=function(){return[]},ch.prototype.getClass=function(){return ch},ch.isValidMsg=function(t,e,n){var l=new ch(t,e,n);return l.isValid()?null:l.getErrorMessage()},ch.isValid=function(t,e,n){return!!new ch(t,e,n).isValid()},dh.VERBOSE.get=function(){return!1},dh.MAX_ENV_DIFF_FRAC.get=function(){return.012},Object.defineProperties(ch,dh);var hh=function(){this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};hh.prototype.getCoordinates=function(){return this._pts},hh.prototype.size=function(){return this._pts.length},hh.prototype.getCoordinate=function(t){return this._pts[t]},hh.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},hh.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:Rc.octant(this.getCoordinate(t),this.getCoordinate(t+1))},hh.prototype.setData=function(t){this._data=t},hh.prototype.getData=function(){return this._data},hh.prototype.toString=function(){return ws.toLineString(new Lu(this._pts))},hh.prototype.interfaces_=function(){return[Fc]},hh.prototype.getClass=function(){return hh};var ph=function(){this._findAllIntersections=!1,this._isCheckEndSegmentsOnly=!1,this._li=null,this._interiorIntersection=null,this._intSegments=null,this._intersections=new Xs,this._intersectionCount=0,this._keepIntersections=!0;var t=arguments[0];this._li=t,this._interiorIntersection=null};ph.prototype.getInteriorIntersection=function(){return this._interiorIntersection},ph.prototype.setCheckEndSegmentsOnly=function(t){this._isCheckEndSegmentsOnly=t},ph.prototype.getIntersectionSegments=function(){return this._intSegments},ph.prototype.count=function(){return this._intersectionCount},ph.prototype.getIntersections=function(){return this._intersections},ph.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},ph.prototype.setKeepIntersections=function(t){this._keepIntersections=t},ph.prototype.processIntersections=function(t,e,n,l){if(!this._findAllIntersections&&this.hasIntersection())return null;if(t===n&&e===l)return null;if(this._isCheckEndSegmentsOnly&&!this.isEndSegment(t,e)&&!this.isEndSegment(n,l))return null;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&this._li.isInteriorIntersection()&&(this._intSegments=new Array(4).fill(null),this._intSegments[0]=i,this._intSegments[1]=r,this._intSegments[2]=o,this._intSegments[3]=a,this._interiorIntersection=this._li.getIntersection(0),this._keepIntersections&&this._intersections.add(this._interiorIntersection),this._intersectionCount++)},ph.prototype.isEndSegment=function(t,e){return 0===e||e>=t.size()-2},ph.prototype.hasIntersection=function(){return null!==this._interiorIntersection},ph.prototype.isDone=function(){return!this._findAllIntersections&&null!==this._interiorIntersection},ph.prototype.interfaces_=function(){return[yd]},ph.prototype.getClass=function(){return ph},ph.createAllIntersectionsFinder=function(t){var e=new ph(t);return e.setFindAllIntersections(!0),e},ph.createAnyIntersectionFinder=function(t){return new ph(t)},ph.createIntersectionCounter=function(t){var e=new ph(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e};var fh=function(){this._li=new Os,this._segStrings=null,this._findAllIntersections=!1,this._segInt=null,this._isValid=!0;var t=arguments[0];this._segStrings=t};fh.prototype.execute=function(){if(null!==this._segInt)return null;this.checkInteriorIntersections()},fh.prototype.getIntersections=function(){return this._segInt.getIntersections()},fh.prototype.isValid=function(){return this.execute(),this._isValid},fh.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},fh.prototype.checkInteriorIntersections=function(){this._isValid=!0,this._segInt=new ph(this._li),this._segInt.setFindAllIntersections(this._findAllIntersections);var t=new Wc;if(t.setSegmentIntersector(this._segInt),t.computeNodes(this._segStrings),this._segInt.hasIntersection())return this._isValid=!1,null},fh.prototype.checkValid=function(){if(this.execute(),!this._isValid)throw new tc(this.getErrorMessage(),this._segInt.getInteriorIntersection())},fh.prototype.getErrorMessage=function(){if(this._isValid)return"no intersections found";var t=this._segInt.getIntersectionSegments();return"found non-noded intersection between "+ws.toLineString(t[0],t[1])+" and "+ws.toLineString(t[2],t[3])},fh.prototype.interfaces_=function(){return[]},fh.prototype.getClass=function(){return fh},fh.computeIntersections=function(t){var e=new fh(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()};var bh=function t(){this._nv=null;var e=arguments[0];this._nv=new fh(t.toSegmentStrings(e))};bh.prototype.checkValid=function(){this._nv.checkValid()},bh.prototype.interfaces_=function(){return[]},bh.prototype.getClass=function(){return bh},bh.toSegmentStrings=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();e.add(new hh(l.getCoordinates(),l))}return e},bh.checkValid=function(t){new bh(t).checkValid()};var mh=function(t){this._mapOp=t};mh.prototype.map=function(t){for(var e=new Xs,n=0;n<t.getNumGeometries();n++){var l=this._mapOp.map(t.getGeometryN(n));l.isEmpty()||e.add(l)}return t.getFactory().createGeometryCollection(Gu.toGeometryArray(e))},mh.prototype.interfaces_=function(){return[]},mh.prototype.getClass=function(){return mh},mh.map=function(t,e){return new mh(e).map(t)};var gh=function(){this._op=null,this._geometryFactory=null,this._ptLocator=null,this._lineEdgesList=new Xs,this._resultLineList=new Xs;var t=arguments[0],e=arguments[1],n=arguments[2];this._op=t,this._geometryFactory=e,this._ptLocator=n};gh.prototype.collectLines=function(t){for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next();this.collectLineEdge(n,t,this._lineEdgesList),this.collectBoundaryTouchEdge(n,t,this._lineEdgesList)}},gh.prototype.labelIsolatedLine=function(t,e){var n=this._ptLocator.locate(t.getCoordinate(),this._op.getArgGeometry(e));t.getLabel().setLocation(e,n)},gh.prototype.build=function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this._resultLineList},gh.prototype.collectLineEdge=function(t,e,n){var l=t.getLabel(),i=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Jh.isResultOfOp(l,e)||i.isCovered()||(n.add(i),t.setVisitedEdge(!0)))},gh.prototype.findCoveredLineEdges=function(){for(var t=this._op.getGraph().getNodes().iterator();t.hasNext();)t.next().getEdges().findCoveredLineEdges();for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next(),l=n.getEdge();if(n.isLineEdge()&&!l.isCoveredSet()){var i=this._op.isCoveredByA(n.getCoordinate());l.setCovered(i)}}},gh.prototype.labelIsolatedLines=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),l=n.getLabel();n.isIsolated()&&(l.isNull(0)?this.labelIsolatedLine(n,0):this.labelIsolatedLine(n,1))}},gh.prototype.buildLines=function(t){for(var e=this._lineEdgesList.iterator();e.hasNext();){var n=e.next(),l=this._geometryFactory.createLineString(n.getCoordinates());this._resultLineList.add(l),n.setInResult(!0)}},gh.prototype.collectBoundaryTouchEdge=function(t,e,n){var l=t.getLabel();return t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult()?null:(Ss.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Jh.isResultOfOp(l,e)&&e===Jh.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))},gh.prototype.interfaces_=function(){return[]},gh.prototype.getClass=function(){return gh};var _h=function(){this._op=null,this._geometryFactory=null,this._resultPointList=new Xs;var t=arguments[0],e=arguments[1];this._op=t,this._geometryFactory=e};_h.prototype.filterCoveredNodeToPoint=function(t){var e=t.getCoordinate();if(!this._op.isCoveredByLA(e)){var n=this._geometryFactory.createPoint(e);this._resultPointList.add(n)}},_h.prototype.extractNonCoveredResultNodes=function(t){for(var e=this._op.getGraph().getNodes().iterator();e.hasNext();){var n=e.next();if(!(n.isInResult()||n.isIncidentEdgeInResult()||0!==n.getEdges().getDegree()&&t!==Jh.INTERSECTION)){var l=n.getLabel();Jh.isResultOfOp(l,t)&&this.filterCoveredNodeToPoint(n)}}},_h.prototype.build=function(t){return this.extractNonCoveredResultNodes(t),this._resultPointList},_h.prototype.interfaces_=function(){return[]},_h.prototype.getClass=function(){return _h};var yh=function(){this._inputGeom=null,this._factory=null,this._pruneEmptyGeometry=!0,this._preserveGeometryCollectionType=!0,this._preserveCollections=!1,this._preserveType=!1};yh.prototype.transformPoint=function(t,e){return this._factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))},yh.prototype.transformPolygon=function(t,e){var n=!0,l=this.transformLinearRing(t.getExteriorRing(),t);null!==l&&l instanceof ku&&!l.isEmpty()||(n=!1);for(var i=new Xs,r=0;r<t.getNumInteriorRing();r++){var o=this.transformLinearRing(t.getInteriorRingN(r),t);null===o||o.isEmpty()||(o instanceof ku||(n=!1),i.add(o))}if(n)return this._factory.createPolygon(l,i.toArray([]));var a=new Xs;return null!==l&&a.add(l),a.addAll(i),this._factory.buildGeometry(a)},yh.prototype.createCoordinateSequence=function(t){return this._factory.getCoordinateSequenceFactory().create(t)},yh.prototype.getInputGeometry=function(){return this._inputGeom},yh.prototype.transformMultiLineString=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformLineString(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.transformCoordinates=function(t,e){return this.copy(t)},yh.prototype.transformLineString=function(t,e){return this._factory.createLineString(this.transformCoordinates(t.getCoordinateSequence(),t))},yh.prototype.transformMultiPoint=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformPoint(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.transformMultiPolygon=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformPolygon(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.copy=function(t){return t.copy()},yh.prototype.transformGeometryCollection=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transform(t.getGeometryN(l));null!==i&&(this._pruneEmptyGeometry&&i.isEmpty()||n.add(i))}return this._preserveGeometryCollectionType?this._factory.createGeometryCollection(Gu.toGeometryArray(n)):this._factory.buildGeometry(n)},yh.prototype.transform=function(t){if(this._inputGeom=t,this._factory=t.getFactory(),t instanceof wu)return this.transformPoint(t,null);if(t instanceof Su)return this.transformMultiPoint(t,null);if(t instanceof ku)return this.transformLinearRing(t,null);if(t instanceof vu)return this.transformLineString(t,null);if(t instanceof bu)return this.transformMultiLineString(t,null);if(t instanceof xu)return this.transformPolygon(t,null);if(t instanceof Mu)return this.transformMultiPolygon(t,null);if(t instanceof fu)return this.transformGeometryCollection(t,null);throw new Ga("Unknown Geometry subtype: "+t.getClass().getName())},yh.prototype.transformLinearRing=function(t,e){var n=this.transformCoordinates(t.getCoordinateSequence(),t);if(null===n)return this._factory.createLinearRing(null);var l=n.size();return l>0&&l<4&&!this._preserveType?this._factory.createLineString(n):this._factory.createLinearRing(n)},yh.prototype.interfaces_=function(){return[]},yh.prototype.getClass=function(){return yh};var Ah=function t(){if(this._snapTolerance=0,this._srcPts=null,this._seg=new Uc,this._allowSnappingToSourceVertices=!1,this._isClosed=!1,arguments[0]instanceof vu&&"number"==typeof arguments[1]){var e=arguments[0],n=arguments[1];t.call(this,e.getCoordinates(),n)}else if(arguments[0]instanceof Array&&"number"==typeof arguments[1]){var l=arguments[0],i=arguments[1];this._srcPts=l,this._isClosed=t.isClosed(l),this._snapTolerance=i}};Ah.prototype.snapVertices=function(t,e){for(var n=this._isClosed?t.size()-1:t.size(),l=0;l<n;l++){var i=t.get(l),r=this.findSnapForVertex(i,e);null!==r&&(t.set(l,new Xa(r)),0===l&&this._isClosed&&t.set(t.size()-1,new Xa(r)))}},Ah.prototype.findSnapForVertex=function(t,e){for(var n=0;n<e.length;n++){if(t.equals2D(e[n]))return null;if(t.distance(e[n])<this._snapTolerance)return e[n]}return null},Ah.prototype.snapTo=function(t){var e=new Js(this._srcPts);return this.snapVertices(e,t),this.snapSegments(e,t),e.toCoordinateArray()},Ah.prototype.snapSegments=function(t,e){if(0===e.length)return null;var n=e.length;e[0].equals2D(e[e.length-1])&&(n=e.length-1);for(var l=0;l<n;l++){var i=e[l],r=this.findSegmentIndexToSnap(i,t);r>=0&&t.add(r+1,new Xa(i),!1)}},Ah.prototype.findSegmentIndexToSnap=function(t,e){for(var n=Ha.MAX_VALUE,l=-1,i=0;i<e.size()-1;i++){if(this._seg.p0=e.get(i),this._seg.p1=e.get(i+1),this._seg.p0.equals2D(t)||this._seg.p1.equals2D(t)){if(this._allowSnappingToSourceVertices)continue;return-1}var r=this._seg.distance(t);r<this._snapTolerance&&r<n&&(n=r,l=i)}return l},Ah.prototype.setAllowSnappingToSourceVertices=function(t){this._allowSnappingToSourceVertices=t},Ah.prototype.interfaces_=function(){return[]},Ah.prototype.getClass=function(){return Ah},Ah.isClosed=function(t){return!(t.length<=1)&&t[0].equals2D(t[t.length-1])};var vh=function(t){this._srcGeom=t||null},Ch={SNAP_PRECISION_FACTOR:{configurable:!0}};vh.prototype.snapTo=function(t,e){var n=this.extractTargetCoordinates(t);return new wh(e,n).transform(this._srcGeom)},vh.prototype.snapToSelf=function(t,e){var n=this.extractTargetCoordinates(this._srcGeom),l=new wh(t,n,!0).transform(this._srcGeom),i=l;return e&&es(i,Pu)&&(i=l.buffer(0)),i},vh.prototype.computeSnapTolerance=function(t){return this.computeMinimumSegmentLength(t)/10},vh.prototype.extractTargetCoordinates=function(t){for(var e=new ki,n=t.getCoordinates(),l=0;l<n.length;l++)e.add(n[l]);return e.toArray(new Array(0).fill(null))},vh.prototype.computeMinimumSegmentLength=function(t){for(var e=Ha.MAX_VALUE,n=0;n<t.length-1;n++){var l=t[n].distance(t[n+1]);l<e&&(e=l)}return e},vh.prototype.interfaces_=function(){return[]},vh.prototype.getClass=function(){return vh},vh.snap=function(t,e,n){var l=new Array(2).fill(null),i=new vh(t);l[0]=i.snapTo(e,n);var r=new vh(e);return l[1]=r.snapTo(l[0],n),l},vh.computeOverlaySnapTolerance=function(){if(1===arguments.length){var t=arguments[0],e=vh.computeSizeBasedSnapTolerance(t),n=t.getPrecisionModel();if(n.getType()===Yu.FIXED){var l=1/n.getScale()*2/1.415;l>e&&(e=l)}return e}if(2===arguments.length){var i=arguments[0],r=arguments[1];return Math.min(vh.computeOverlaySnapTolerance(i),vh.computeOverlaySnapTolerance(r))}},vh.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal();return Math.min(e.getHeight(),e.getWidth())*vh.SNAP_PRECISION_FACTOR},vh.snapToSelf=function(t,e,n){return new vh(t).snapToSelf(e,n)},Ch.SNAP_PRECISION_FACTOR.get=function(){return 1e-9},Object.defineProperties(vh,Ch);var wh=function(t){function e(e,n,l){t.call(this),this._snapTolerance=e||null,this._snapPts=n||null,this._isSelfSnap=void 0!==l&&l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.snapLine=function(t,e){var n=new Ah(t,this._snapTolerance);return n.setAllowSnappingToSourceVertices(this._isSelfSnap),n.snapTo(e)},e.prototype.transformCoordinates=function(t,e){var n=t.toCoordinateArray(),l=this.snapLine(n,this._snapPts);return this._factory.getCoordinateSequenceFactory().create(l)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(yh),Ph=function(){this._isFirst=!0,this._commonMantissaBitsCount=53,this._commonBits=0,this._commonSignExp=null};Ph.prototype.getCommon=function(){return Ha.longBitsToDouble(this._commonBits)},Ph.prototype.add=function(t){var e=Ha.doubleToLongBits(t);return this._isFirst?(this._commonBits=e,this._commonSignExp=Ph.signExpBits(this._commonBits),this._isFirst=!1,null):Ph.signExpBits(e)!==this._commonSignExp?(this._commonBits=0,null):(this._commonMantissaBitsCount=Ph.numCommonMostSigMantissaBits(this._commonBits,e),void(this._commonBits=Ph.zeroLowerBits(this._commonBits,64-(12+this._commonMantissaBitsCount))))},Ph.prototype.toString=function(){if(1===arguments.length){var t=arguments[0],e=Ha.longBitsToDouble(t),n="0000000000000000000000000000000000000000000000000000000000000000"+Ha.toBinaryString(t),l=n.substring(n.length-64);return l.substring(0,1)+" "+l.substring(1,12)+"(exp) "+l.substring(12)+" [ "+e+" ]"}},Ph.prototype.interfaces_=function(){return[]},Ph.prototype.getClass=function(){return Ph},Ph.getBit=function(t,e){return 0!=(t&1<<e)?1:0},Ph.signExpBits=function(t){return t>>52},Ph.zeroLowerBits=function(t,e){return t&~((1<<e)-1)},Ph.numCommonMostSigMantissaBits=function(t,e){for(var n=0,l=52;l>=0;l--){if(Ph.getBit(t,l)!==Ph.getBit(e,l))return n;n++}return 52};var xh=function(){this._commonCoord=null,this._ccFilter=new kh},Sh={CommonCoordinateFilter:{configurable:!0},Translater:{configurable:!0}};xh.prototype.addCommonBits=function(t){var e=new Mh(this._commonCoord);t.apply(e),t.geometryChanged()},xh.prototype.removeCommonBits=function(t){if(0===this._commonCoord.x&&0===this._commonCoord.y)return t;var e=new Xa(this._commonCoord);e.x=-e.x,e.y=-e.y;var n=new Mh(e);return t.apply(n),t.geometryChanged(),t},xh.prototype.getCommonCoordinate=function(){return this._commonCoord},xh.prototype.add=function(t){t.apply(this._ccFilter),this._commonCoord=this._ccFilter.getCommonCoordinate()},xh.prototype.interfaces_=function(){return[]},xh.prototype.getClass=function(){return xh},Sh.CommonCoordinateFilter.get=function(){return kh},Sh.Translater.get=function(){return Mh},Object.defineProperties(xh,Sh);var kh=function(){this._commonBitsX=new Ph,this._commonBitsY=new Ph};kh.prototype.filter=function(t){this._commonBitsX.add(t.x),this._commonBitsY.add(t.y)},kh.prototype.getCommonCoordinate=function(){return new Xa(this._commonBitsX.getCommon(),this._commonBitsY.getCommon())},kh.prototype.interfaces_=function(){return[Ns]},kh.prototype.getClass=function(){return kh};var Mh=function(){this.trans=null;var t=arguments[0];this.trans=t};Mh.prototype.filter=function(t,e){var n=t.getOrdinate(e,0)+this.trans.x,l=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,l)},Mh.prototype.isDone=function(){return!1},Mh.prototype.isGeometryChanged=function(){return!0},Mh.prototype.interfaces_=function(){return[pu]},Mh.prototype.getClass=function(){return Mh};var Oh=function(t,e){this._geom=new Array(2).fill(null),this._snapTolerance=null,this._cbr=null,this._geom[0]=t,this._geom[1]=e,this.computeSnapTolerance()};Oh.prototype.selfSnap=function(t){return new vh(t).snapTo(t,this._snapTolerance)},Oh.prototype.removeCommonBits=function(t){this._cbr=new xh,this._cbr.add(t[0]),this._cbr.add(t[1]);var e=new Array(2).fill(null);return e[0]=this._cbr.removeCommonBits(t[0].copy()),e[1]=this._cbr.removeCommonBits(t[1].copy()),e},Oh.prototype.prepareResult=function(t){return this._cbr.addCommonBits(t),t},Oh.prototype.getResultGeometry=function(t){var e=this.snap(this._geom),n=Jh.overlayOp(e[0],e[1],t);return this.prepareResult(n)},Oh.prototype.checkValid=function(t){t.isValid()||bs.out.println("Snapped geometry is invalid")},Oh.prototype.computeSnapTolerance=function(){this._snapTolerance=vh.computeOverlaySnapTolerance(this._geom[0],this._geom[1])},Oh.prototype.snap=function(t){var e=this.removeCommonBits(t);return vh.snap(e[0],e[1],this._snapTolerance)},Oh.prototype.interfaces_=function(){return[]},Oh.prototype.getClass=function(){return Oh},Oh.overlayOp=function(t,e,n){return new Oh(t,e).getResultGeometry(n)},Oh.union=function(t,e){return Oh.overlayOp(t,e,Jh.UNION)},Oh.intersection=function(t,e){return Oh.overlayOp(t,e,Jh.INTERSECTION)},Oh.symDifference=function(t,e){return Oh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Oh.difference=function(t,e){return Oh.overlayOp(t,e,Jh.DIFFERENCE)};var Dh=function(t,e){this._geom=new Array(2).fill(null),this._geom[0]=t,this._geom[1]=e};Dh.prototype.getResultGeometry=function(t){var e=null,n=!1,l=null;try{e=Jh.overlayOp(this._geom[0],this._geom[1],t),n=!0}catch(t){if(!(t instanceof Ps))throw t;l=t}if(!n)try{e=Oh.overlayOp(this._geom[0],this._geom[1],t)}catch(t){throw t instanceof Ps?l:t}return e},Dh.prototype.interfaces_=function(){return[]},Dh.prototype.getClass=function(){return Dh},Dh.overlayOp=function(t,e,n){return new Dh(t,e).getResultGeometry(n)},Dh.union=function(t,e){return Dh.overlayOp(t,e,Jh.UNION)},Dh.intersection=function(t,e){return Dh.overlayOp(t,e,Jh.INTERSECTION)},Dh.symDifference=function(t,e){return Dh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Dh.difference=function(t,e){return Dh.overlayOp(t,e,Jh.DIFFERENCE)};var Th=function(){this.mce=null,this.chainIndex=null;var t=arguments[0],e=arguments[1];this.mce=t,this.chainIndex=e};Th.prototype.computeIntersections=function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)},Th.prototype.interfaces_=function(){return[]},Th.prototype.getClass=function(){return Th};var Eh=function t(){if(this._label=null,this._xValue=null,this._eventType=null,this._insertEvent=null,this._deleteEventIndex=null,this._obj=null,2===arguments.length){var e=arguments[0],n=arguments[1];this._eventType=t.DELETE,this._xValue=e,this._insertEvent=n}else if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._eventType=t.INSERT,this._label=l,this._xValue=i,this._obj=r}},Ih={INSERT:{configurable:!0},DELETE:{configurable:!0}};Eh.prototype.isDelete=function(){return this._eventType===Eh.DELETE},Eh.prototype.setDeleteEventIndex=function(t){this._deleteEventIndex=t},Eh.prototype.getObject=function(){return this._obj},Eh.prototype.compareTo=function(t){return this._xValue<t._xValue?-1:this._xValue>t._xValue?1:this._eventType<t._eventType?-1:this._eventType>t._eventType?1:0},Eh.prototype.getInsertEvent=function(){return this._insertEvent},Eh.prototype.isInsert=function(){return this._eventType===Eh.INSERT},Eh.prototype.isSameLabel=function(t){return null!==this._label&&this._label===t._label},Eh.prototype.getDeleteEventIndex=function(){return this._deleteEventIndex},Eh.prototype.interfaces_=function(){return[qa]},Eh.prototype.getClass=function(){return Eh},Ih.INSERT.get=function(){return 1},Ih.DELETE.get=function(){return 2},Object.defineProperties(Eh,Ih);var Lh=function(){};Lh.prototype.interfaces_=function(){return[]},Lh.prototype.getClass=function(){return Lh};var jh=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._properIntersectionPoint=null,this._li=null,this._includeProper=null,this._recordIsolated=null,this._isSelfIntersection=null,this._numIntersections=0,this.numTests=0,this._bdyNodes=null,this._isDone=!1,this._isDoneWhenProperInt=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this._li=t,this._includeProper=e,this._recordIsolated=n};jh.prototype.isTrivialIntersection=function(t,e,n,l){if(t===n&&1===this._li.getIntersectionNum()){if(jh.isAdjacentSegments(e,l))return!0;if(t.isClosed()){var i=t.getNumPoints()-1;if(0===e&&l===i||0===l&&e===i)return!0}}return!1},jh.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},jh.prototype.setIsDoneIfProperInt=function(t){this._isDoneWhenProperInt=t},jh.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},jh.prototype.isBoundaryPointInternal=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next().getCoordinate();if(t.isIntersection(l))return!0}return!1},jh.prototype.hasProperIntersection=function(){return this._hasProper},jh.prototype.hasIntersection=function(){return this._hasIntersection},jh.prototype.isDone=function(){return this._isDone},jh.prototype.isBoundaryPoint=function(t,e){return!(null===e||!this.isBoundaryPointInternal(t,e[0])&&!this.isBoundaryPointInternal(t,e[1]))},jh.prototype.setBoundaryNodes=function(t,e){this._bdyNodes=new Array(2).fill(null),this._bdyNodes[0]=t,this._bdyNodes[1]=e},jh.prototype.addIntersections=function(t,e,n,l){if(t===n&&e===l)return null;this.numTests++;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&(this._recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this._numIntersections++,this.isTrivialIntersection(t,e,n,l)||(this._hasIntersection=!0,!this._includeProper&&this._li.isProper()||(t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1)),this._li.isProper()&&(this._properIntersectionPoint=this._li.getIntersection(0).copy(),this._hasProper=!0,this._isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this._li,this._bdyNodes)||(this._hasProperInterior=!0))))},jh.prototype.interfaces_=function(){return[]},jh.prototype.getClass=function(){return jh},jh.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var Rh=function(t){function e(){t.call(this),this.events=new Xs,this.nOverlaps=null}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.prepareEvents=function(){xc.sort(this.events);for(var t=0;t<this.events.size();t++){var e=this.events.get(t);e.isDelete()&&e.getInsertEvent().setDeleteEventIndex(t)}},e.prototype.computeIntersections=function(){if(1===arguments.length){var t=arguments[0];this.nOverlaps=0,this.prepareEvents();for(var e=0;e<this.events.size();e++){var n=this.events.get(e);if(n.isInsert()&&this.processOverlaps(e,n.getDeleteEventIndex(),n,t),t.isDone())break}}else if(3===arguments.length)if(arguments[2]instanceof jh&&es(arguments[0],$s)&&es(arguments[1],$s)){var l=arguments[0],i=arguments[1],r=arguments[2];this.addEdges(l,l),this.addEdges(i,i),this.computeIntersections(r)}else if("boolean"==typeof arguments[2]&&es(arguments[0],$s)&&arguments[1]instanceof jh){var o=arguments[0],a=arguments[1];arguments[2]?this.addEdges(o,null):this.addEdges(o),this.computeIntersections(a)}},e.prototype.addEdge=function(t,e){for(var n=t.getMonotoneChainEdge(),l=n.getStartIndexes(),i=0;i<l.length-1;i++){var r=new Th(n,i),o=new Eh(e,n.getMinX(i),r);this.events.add(o),this.events.add(new Eh(n.getMaxX(i),o))}},e.prototype.processOverlaps=function(t,e,n,l){for(var i=n.getObject(),r=t;r<e;r++){var o=this.events.get(r);if(o.isInsert()){var a=o.getObject();n.isSameLabel(o)||(i.computeIntersections(a,l),this.nOverlaps++)}}},e.prototype.addEdges=function(){if(1===arguments.length)for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.addEdge(e,e)}else if(2===arguments.length)for(var n=arguments[0],l=arguments[1],i=n.iterator();i.hasNext();){var r=i.next();this.addEdge(r,l)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Lh),Fh=function(){this._min=Ha.POSITIVE_INFINITY,this._max=Ha.NEGATIVE_INFINITY},Nh={NodeComparator:{configurable:!0}};Fh.prototype.getMin=function(){return this._min},Fh.prototype.intersects=function(t,e){return!(this._min>e||this._max<t)},Fh.prototype.getMax=function(){return this._max},Fh.prototype.toString=function(){return ws.toLineString(new Xa(this._min,0),new Xa(this._max,0))},Fh.prototype.interfaces_=function(){return[]},Fh.prototype.getClass=function(){return Fh},Nh.NodeComparator.get=function(){return Yh},Object.defineProperties(Fh,Nh);var Yh=function(){};Yh.prototype.compare=function(t,e){var n=(t._min+t._max)/2,l=(e._min+e._max)/2;return n<l?-1:n>l?1:0},Yh.prototype.interfaces_=function(){return[$a]},Yh.prototype.getClass=function(){return Yh};var Uh=function(t){function e(){t.call(this),this._item=null;var e=arguments[0],n=arguments[1],l=arguments[2];this._min=e,this._max=n,this._item=l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.query=function(t,e,n){if(!this.intersects(t,e))return null;n.visitItem(this._item)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Fh),Bh=function(t){function e(){t.call(this),this._node1=null,this._node2=null;var e=arguments[0],n=arguments[1];this._node1=e,this._node2=n,this.buildExtent(this._node1,this._node2)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.buildExtent=function(t,e){this._min=Math.min(t._min,e._min),this._max=Math.max(t._max,e._max)},e.prototype.query=function(t,e,n){if(!this.intersects(t,e))return null;null!==this._node1&&this._node1.query(t,e,n),null!==this._node2&&this._node2.query(t,e,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Fh),zh=function(){this._leaves=new Xs,this._root=null,this._level=0};zh.prototype.buildTree=function(){xc.sort(this._leaves,new Fh.NodeComparator);for(var t=this._leaves,e=null,n=new Xs;;){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}},zh.prototype.insert=function(t,e,n){if(null!==this._root)throw new Error("Index cannot be added to once it has been queried");this._leaves.add(new Uh(t,e,n))},zh.prototype.query=function(t,e,n){this.init(),this._root.query(t,e,n)},zh.prototype.buildRoot=function(){if(null!==this._root)return null;this._root=this.buildTree()},zh.prototype.printNode=function(t){bs.out.println(ws.toLineString(new Xa(t._min,this._level),new Xa(t._max,this._level)))},zh.prototype.init=function(){if(null!==this._root)return null;this.buildRoot()},zh.prototype.buildLevel=function(t,e){this._level++,e.clear();for(var n=0;n<t.size();n+=2){var l=t.get(n);if(null===(n+1<t.size()?t.get(n):null))e.add(l);else{var i=new Bh(t.get(n),t.get(n+1));e.add(i)}}},zh.prototype.interfaces_=function(){return[]},zh.prototype.getClass=function(){return zh};var Gh=function(){this._items=new Xs};Gh.prototype.visitItem=function(t){this._items.add(t)},Gh.prototype.getItems=function(){return this._items},Gh.prototype.interfaces_=function(){return[vc]},Gh.prototype.getClass=function(){return Gh};var Hh=function(){this._index=null;var t=arguments[0];if(!es(t,Pu))throw new Ga("Argument must be Polygonal");this._index=new Wh(t)},Vh={SegmentVisitor:{configurable:!0},IntervalIndexedGeometry:{configurable:!0}};Hh.prototype.locate=function(t){var e=new Ts(t),n=new qh(e);return this._index.query(t.y,t.y,n),e.getLocation()},Hh.prototype.interfaces_=function(){return[dd]},Hh.prototype.getClass=function(){return Hh},Vh.SegmentVisitor.get=function(){return qh},Vh.IntervalIndexedGeometry.get=function(){return Wh},Object.defineProperties(Hh,Vh);var qh=function(){this._counter=null;var t=arguments[0];this._counter=t};qh.prototype.visitItem=function(t){var e=t;this._counter.countSegment(e.getCoordinate(0),e.getCoordinate(1))},qh.prototype.interfaces_=function(){return[vc]},qh.prototype.getClass=function(){return qh};var Wh=function(){this._index=new zh;var t=arguments[0];this.init(t)};Wh.prototype.init=function(t){for(var e=Xd.getLines(t).iterator();e.hasNext();){var n=e.next().getCoordinates();this.addLine(n)}},Wh.prototype.addLine=function(t){for(var e=1;e<t.length;e++){var n=new Uc(t[e-1],t[e]),l=Math.min(n.p0.y,n.p1.y),i=Math.max(n.p0.y,n.p1.y);this._index.insert(l,i,n)}},Wh.prototype.query=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new Gh;return this._index.query(t,e,n),n.getItems()}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._index.query(l,i,r)}},Wh.prototype.interfaces_=function(){return[]},Wh.prototype.getClass=function(){return Wh};var $h=function(t){function e(){if(t.call(this),this._parentGeom=null,this._lineEdgeMap=new Nu,this._boundaryNodeRule=null,this._useBoundaryDeterminationRule=!0,this._argIndex=null,this._boundaryNodes=null,this._hasTooFewPoints=!1,this._invalidPoint=null,this._areaPtLocator=null,this._ptLocator=new Kd,2===arguments.length){var e=arguments[0],n=arguments[1],l=Ys.OGC_SFS_BOUNDARY_RULE;this._argIndex=e,this._parentGeom=n,this._boundaryNodeRule=l,null!==n&&this.add(n)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];this._argIndex=i,this._parentGeom=r,this._boundaryNodeRule=o,null!==r&&this.add(r)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.insertBoundaryPoint=function(t,n){var l=this._nodes.addNode(n).getLabel(),i=1;l.getLocation(t,Ju.ON)===Za.BOUNDARY&&i++;var r=e.determineBoundary(this._boundaryNodeRule,i);l.setLocation(t,r)},e.prototype.computeSelfNodes=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.computeSelfNodes(t,e,!1)}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=new jh(n,!0,!1);r.setIsDoneIfProperInt(i);var o=this.createEdgeSetIntersector(),a=this._parentGeom instanceof ku||this._parentGeom instanceof xu||this._parentGeom instanceof Mu,s=l||!a;return o.computeIntersections(this._edges,r,s),this.addSelfIntersectionNodes(this._argIndex),r}},e.prototype.computeSplitEdges=function(t){for(var e=this._edges.iterator();e.hasNext();)e.next().eiList.addSplitEdges(t)},e.prototype.computeEdgeIntersections=function(t,e,n){var l=new jh(e,n,!0);return l.setBoundaryNodes(this.getBoundaryNodes(),t.getBoundaryNodes()),this.createEdgeSetIntersector().computeIntersections(this._edges,t._edges,l),l},e.prototype.getGeometry=function(){return this._parentGeom},e.prototype.getBoundaryNodeRule=function(){return this._boundaryNodeRule},e.prototype.hasTooFewPoints=function(){return this._hasTooFewPoints},e.prototype.addPoint=function(){if(arguments[0]instanceof wu){var t=arguments[0].getCoordinate();this.insertPoint(this._argIndex,t,Za.INTERIOR)}else if(arguments[0]instanceof Xa){var e=arguments[0];this.insertPoint(this._argIndex,e,Za.INTERIOR)}},e.prototype.addPolygon=function(t){this.addPolygonRing(t.getExteriorRing(),Za.EXTERIOR,Za.INTERIOR);for(var e=0;e<t.getNumInteriorRing();e++){var n=t.getInteriorRingN(e);this.addPolygonRing(n,Za.INTERIOR,Za.EXTERIOR)}},e.prototype.addEdge=function(t){this.insertEdge(t);var e=t.getCoordinates();this.insertPoint(this._argIndex,e[0],Za.BOUNDARY),this.insertPoint(this._argIndex,e[e.length-1],Za.BOUNDARY)},e.prototype.addLineString=function(t){var e=Qs.removeRepeatedPoints(t.getCoordinates());if(e.length<2)return this._hasTooFewPoints=!0,this._invalidPoint=e[0],null;var n=new kd(e,new ic(this._argIndex,Za.INTERIOR));this._lineEdgeMap.put(t,n),this.insertEdge(n),Ss.isTrue(e.length>=2,"found LineString with single point"),this.insertBoundaryPoint(this._argIndex,e[0]),this.insertBoundaryPoint(this._argIndex,e[e.length-1])},e.prototype.getInvalidPoint=function(){return this._invalidPoint},e.prototype.getBoundaryPoints=function(){for(var t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null),n=0,l=t.iterator();l.hasNext();){var i=l.next();e[n++]=i.getCoordinate().copy()}return e},e.prototype.getBoundaryNodes=function(){return null===this._boundaryNodes&&(this._boundaryNodes=this._nodes.getBoundaryNodes(this._argIndex)),this._boundaryNodes},e.prototype.addSelfIntersectionNode=function(t,e,n){if(this.isBoundaryNode(t,e))return null;n===Za.BOUNDARY&&this._useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n)},e.prototype.addPolygonRing=function(t,e,n){if(t.isEmpty())return null;var l=Qs.removeRepeatedPoints(t.getCoordinates());if(l.length<4)return this._hasTooFewPoints=!0,this._invalidPoint=l[0],null;var i=e,r=n;Es.isCCW(l)&&(i=n,r=e);var o=new kd(l,new ic(this._argIndex,Za.BOUNDARY,i,r));this._lineEdgeMap.put(t,o),this.insertEdge(o),this.insertPoint(this._argIndex,l[0],Za.BOUNDARY)},e.prototype.insertPoint=function(t,e,n){var l=this._nodes.addNode(e),i=l.getLabel();null===i?l._label=new ic(t,n):i.setLocation(t,n)},e.prototype.createEdgeSetIntersector=function(){return new Rh},e.prototype.addSelfIntersectionNodes=function(t){for(var e=this._edges.iterator();e.hasNext();)for(var n=e.next(),l=n.getLabel().getLocation(t),i=n.eiList.iterator();i.hasNext();){var r=i.next();this.addSelfIntersectionNode(t,r.coord,l)}},e.prototype.add=function(){if(1!==arguments.length)return t.prototype.add.apply(this,arguments);var e=arguments[0];if(e.isEmpty())return null;if(e instanceof Mu&&(this._useBoundaryDeterminationRule=!1),e instanceof xu)this.addPolygon(e);else if(e instanceof vu)this.addLineString(e);else if(e instanceof wu)this.addPoint(e);else if(e instanceof Su)this.addCollection(e);else if(e instanceof bu)this.addCollection(e);else if(e instanceof Mu)this.addCollection(e);else{if(!(e instanceof fu))throw new Error(e.getClass().getName());this.addCollection(e)}},e.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var n=t.getGeometryN(e);this.add(n)}},e.prototype.locate=function(t){return es(this._parentGeom,Pu)&&this._parentGeom.getNumGeometries()>50?(null===this._areaPtLocator&&(this._areaPtLocator=new Hh(this._parentGeom)),this._areaPtLocator.locate(t)):this._ptLocator.locate(t,this._parentGeom)},e.prototype.findEdge=function(){if(1===arguments.length){var e=arguments[0];return this._lineEdgeMap.get(e)}return t.prototype.findEdge.apply(this,arguments)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.determineBoundary=function(t,e){return t.isInBoundary(e)?Za.BOUNDARY:Za.INTERIOR},e}(mc),Xh=function(){if(this._li=new Os,this._resultPrecisionModel=null,this._arg=null,1===arguments.length){var t=arguments[0];this.setComputationPrecision(t.getPrecisionModel()),this._arg=new Array(1).fill(null),this._arg[0]=new $h(0,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=Ys.OGC_SFS_BOUNDARY_RULE;e.getPrecisionModel().compareTo(n.getPrecisionModel())>=0?this.setComputationPrecision(e.getPrecisionModel()):this.setComputationPrecision(n.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new $h(0,e,l),this._arg[1]=new $h(1,n,l)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];i.getPrecisionModel().compareTo(r.getPrecisionModel())>=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(r.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new $h(0,i,o),this._arg[1]=new $h(1,r,o)}};Xh.prototype.getArgGeometry=function(t){return this._arg[t].getGeometry()},Xh.prototype.setComputationPrecision=function(t){this._resultPrecisionModel=t,this._li.setPrecisionModel(this._resultPrecisionModel)},Xh.prototype.interfaces_=function(){return[]},Xh.prototype.getClass=function(){return Xh};var Kh=function(){};Kh.prototype.interfaces_=function(){return[]},Kh.prototype.getClass=function(){return Kh},Kh.map=function(){if(arguments[0]instanceof js&&es(arguments[1],Kh.MapOp)){for(var t=arguments[0],e=arguments[1],n=new Xs,l=0;l<t.getNumGeometries();l++){var i=e.map(t.getGeometryN(l));null!==i&&n.add(i)}return t.getFactory().buildGeometry(n)}if(es(arguments[0],Vs)&&es(arguments[1],Kh.MapOp)){for(var r=arguments[0],o=arguments[1],a=new Xs,s=r.iterator();s.hasNext();){var u=s.next(),c=o.map(u);null!==c&&a.add(c)}return a}},Kh.MapOp=function(){};var Jh=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n),this._ptLocator=new Kd,this._geomFact=null,this._resultGeom=null,this._graph=null,this._edgeList=new _d,this._resultPolyList=new Xs,this._resultLineList=new Xs,this._resultPointList=new Xs,this._graph=new mc(new md),this._geomFact=e.getFactory()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var n=e.getLabel(),l=t.getLabel();e.isPointwiseEqual(t)||(l=new ic(t.getLabel())).flip();var i=e.getDepth();i.isNull()&&i.add(n),i.add(l),n.merge(l)}else this._edgeList.add(t)},e.prototype.getGraph=function(){return this._graph},e.prototype.cancelDuplicateResultEdges=function(){for(var t=this._graph.getEdgeEnds().iterator();t.hasNext();){var e=t.next(),n=e.getSym();e.isInResult()&&n.isInResult()&&(e.setInResult(!1),n.setInResult(!1))}},e.prototype.isCoveredByLA=function(t){return!!this.isCovered(t,this._resultLineList)||!!this.isCovered(t,this._resultPolyList)},e.prototype.computeGeometry=function(t,n,l,i){var r=new Xs;return r.addAll(t),r.addAll(n),r.addAll(l),r.isEmpty()?e.createEmptyResult(i,this._arg[0].getGeometry(),this._arg[1].getGeometry(),this._geomFact):this._geomFact.buildGeometry(r)},e.prototype.mergeSymLabels=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().mergeSymLabels()},e.prototype.isCovered=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();if(this._ptLocator.locate(t,l)!==Za.EXTERIOR)return!0}return!1},e.prototype.replaceCollapsedEdges=function(){for(var t=new Xs,e=this._edgeList.iterator();e.hasNext();){var n=e.next();n.isCollapsed()&&(e.remove(),t.add(n.getCollapsedEdge()))}this._edgeList.addAll(t)},e.prototype.updateNodeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),n=e.getEdges().getLabel();e.getLabel().merge(n)}},e.prototype.getResultGeometry=function(t){return this.computeOverlay(t),this._resultGeom},e.prototype.insertUniqueEdges=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.insertUniqueEdge(n)}},e.prototype.computeOverlay=function(t){this.copyPoints(0),this.copyPoints(1),this._arg[0].computeSelfNodes(this._li,!1),this._arg[1].computeSelfNodes(this._li,!1),this._arg[0].computeEdgeIntersections(this._arg[1],this._li,!0);var e=new Xs;this._arg[0].computeSplitEdges(e),this._arg[1].computeSplitEdges(e),this.insertUniqueEdges(e),this.computeLabelsFromDepths(),this.replaceCollapsedEdges(),bh.checkValid(this._edgeList.getEdges()),this._graph.addEdges(this._edgeList.getEdges()),this.computeLabelling(),this.labelIncompleteNodes(),this.findResultAreaEdges(t),this.cancelDuplicateResultEdges();var n=new gc(this._geomFact);n.add(this._graph),this._resultPolyList=n.getPolygons();var l=new gh(this,this._geomFact,this._ptLocator);this._resultLineList=l.build(t);var i=new _h(this,this._geomFact,this._ptLocator);this._resultPointList=i.build(t),this._resultGeom=this.computeGeometry(this._resultPointList,this._resultLineList,this._resultPolyList,t)},e.prototype.labelIncompleteNode=function(t,e){var n=this._ptLocator.locate(t.getCoordinate(),this._arg[e].getGeometry());t.getLabel().setLocation(e,n)},e.prototype.copyPoints=function(t){for(var e=this._arg[t].getNodeIterator();e.hasNext();){var n=e.next();this._graph.addNode(n.getCoordinate()).setLabel(t,n.getLabel().getLocation(t))}},e.prototype.findResultAreaEdges=function(t){for(var n=this._graph.getEdgeEnds().iterator();n.hasNext();){var l=n.next(),i=l.getLabel();i.isArea()&&!l.isInteriorAreaEdge()&&e.isResultOfOp(i.getLocation(0,Ju.RIGHT),i.getLocation(1,Ju.RIGHT),t)&&l.setInResult(!0)}},e.prototype.computeLabelsFromDepths=function(){for(var t=this._edgeList.iterator();t.hasNext();){var e=t.next(),n=e.getLabel(),l=e.getDepth();if(!l.isNull()){l.normalize();for(var i=0;i<2;i++)n.isNull(i)||!n.isArea()||l.isNull(i)||(0===l.getDelta(i)?n.toLine(i):(Ss.isTrue(!l.isNull(i,Ju.LEFT),"depth of LEFT side has not been initialized"),n.setLocation(i,Ju.LEFT,l.getLocation(i,Ju.LEFT)),Ss.isTrue(!l.isNull(i,Ju.RIGHT),"depth of RIGHT side has not been initialized"),n.setLocation(i,Ju.RIGHT,l.getLocation(i,Ju.RIGHT))))}}},e.prototype.computeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().computeLabelling(this._arg);this.mergeSymLabels(),this.updateNodeLabelling()},e.prototype.labelIncompleteNodes=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),n=e.getLabel();e.isIsolated()&&(n.isNull(0)?this.labelIncompleteNode(e,0):this.labelIncompleteNode(e,1)),e.getEdges().updateLabelling(n)}},e.prototype.isCoveredByA=function(t){return!!this.isCovered(t,this._resultPolyList)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Xh);Jh.overlayOp=function(t,e,n){return new Jh(t,e).getResultGeometry(n)},Jh.intersection=function(t,e){if(t.isEmpty()||e.isEmpty())return Jh.createEmptyResult(Jh.INTERSECTION,t,e,t.getFactory());if(t.isGeometryCollection()){var n=e;return mh.map(t,{interfaces_:function(){return[Kh.MapOp]},map:function(t){return t.intersection(n)}})}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.INTERSECTION)},Jh.symDifference=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Jh.createEmptyResult(Jh.SYMDIFFERENCE,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Jh.resultDimension=function(t,e,n){var l=e.getDimension(),i=n.getDimension(),r=-1;switch(t){case Jh.INTERSECTION:r=Math.min(l,i);break;case Jh.UNION:r=Math.max(l,i);break;case Jh.DIFFERENCE:r=l;break;case Jh.SYMDIFFERENCE:r=Math.max(l,i)}return r},Jh.createEmptyResult=function(t,e,n,l){var i=null;switch(Jh.resultDimension(t,e,n)){case-1:i=l.createGeometryCollection(new Array(0).fill(null));break;case 0:i=l.createPoint();break;case 1:i=l.createLineString();break;case 2:i=l.createPolygon()}return i},Jh.difference=function(t,e){return t.isEmpty()?Jh.createEmptyResult(Jh.DIFFERENCE,t,e,t.getFactory()):e.isEmpty()?t.copy():(t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.DIFFERENCE))},Jh.isResultOfOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=t.getLocation(0),l=t.getLocation(1);return Jh.isResultOfOp(n,l,e)}if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];switch(i===Za.BOUNDARY&&(i=Za.INTERIOR),r===Za.BOUNDARY&&(r=Za.INTERIOR),o){case Jh.INTERSECTION:return i===Za.INTERIOR&&r===Za.INTERIOR;case Jh.UNION:return i===Za.INTERIOR||r===Za.INTERIOR;case Jh.DIFFERENCE:return i===Za.INTERIOR&&r!==Za.INTERIOR;case Jh.SYMDIFFERENCE:return i===Za.INTERIOR&&r!==Za.INTERIOR||i!==Za.INTERIOR&&r===Za.INTERIOR}return!1}},Jh.INTERSECTION=1,Jh.UNION=2,Jh.DIFFERENCE=3,Jh.SYMDIFFERENCE=4;var Qh=function(){this._g=null,this._boundaryDistanceTolerance=null,this._linework=null,this._ptLocator=new Kd,this._seg=new Uc;var t=arguments[0],e=arguments[1];this._g=t,this._boundaryDistanceTolerance=e,this._linework=this.extractLinework(t)};Qh.prototype.isWithinToleranceOfBoundary=function(t){for(var e=0;e<this._linework.getNumGeometries();e++)for(var n=this._linework.getGeometryN(e).getCoordinateSequence(),l=0;l<n.size()-1;l++)if(n.getCoordinate(l,this._seg.p0),n.getCoordinate(l+1,this._seg.p1),this._seg.distance(t)<=this._boundaryDistanceTolerance)return!0;return!1},Qh.prototype.getLocation=function(t){return this.isWithinToleranceOfBoundary(t)?Za.BOUNDARY:this._ptLocator.locate(t,this._g)},Qh.prototype.extractLinework=function(t){var e=new Zh;t.apply(e);var n=e.getLinework(),l=Gu.toLineStringArray(n);return t.getFactory().createMultiLineString(l)},Qh.prototype.interfaces_=function(){return[]},Qh.prototype.getClass=function(){return Qh};var Zh=function(){this._linework=null,this._linework=new Xs};Zh.prototype.getLinework=function(){return this._linework},Zh.prototype.filter=function(t){if(t instanceof xu){var e=t;this._linework.add(e.getExteriorRing());for(var n=0;n<e.getNumInteriorRing();n++)this._linework.add(e.getInteriorRingN(n))}},Zh.prototype.interfaces_=function(){return[hu]},Zh.prototype.getClass=function(){return Zh};var tp=function(){this._g=null,this._doLeft=!0,this._doRight=!0;var t=arguments[0];this._g=t};tp.prototype.extractPoints=function(t,e,n){for(var l=t.getCoordinates(),i=0;i<l.length-1;i++)this.computeOffsetPoints(l[i],l[i+1],e,n)},tp.prototype.setSidesToGenerate=function(t,e){this._doLeft=t,this._doRight=e},tp.prototype.getPoints=function(t){for(var e=new Xs,n=Xd.getLines(this._g).iterator();n.hasNext();){var l=n.next();this.extractPoints(l,t,e)}return e},tp.prototype.computeOffsetPoints=function(t,e,n,l){var i=e.x-t.x,r=e.y-t.y,o=Math.sqrt(i*i+r*r),a=n*i/o,s=n*r/o,u=(e.x+t.x)/2,c=(e.y+t.y)/2;if(this._doLeft){var d=new Xa(u-s,c+a);l.add(d)}if(this._doRight){var h=new Xa(u+s,c-a);l.add(h)}},tp.prototype.interfaces_=function(){return[]},tp.prototype.getClass=function(){return tp};var ep=function t(){this._geom=null,this._locFinder=null,this._location=new Array(3).fill(null),this._invalidLocation=null,this._boundaryDistanceTolerance=t.TOLERANCE,this._testCoords=new Xs;var e=arguments[0],n=arguments[1],l=arguments[2];this._boundaryDistanceTolerance=t.computeBoundaryDistanceTolerance(e,n),this._geom=[e,n,l],this._locFinder=[new Qh(this._geom[0],this._boundaryDistanceTolerance),new Qh(this._geom[1],this._boundaryDistanceTolerance),new Qh(this._geom[2],this._boundaryDistanceTolerance)]},np={TOLERANCE:{configurable:!0}};ep.prototype.reportResult=function(t,e,n){bs.out.println("Overlay result invalid - A:"+Za.toLocationSymbol(e[0])+" B:"+Za.toLocationSymbol(e[1])+" expected:"+(n?"i":"e")+" actual:"+Za.toLocationSymbol(e[2]))},ep.prototype.isValid=function(t){return this.addTestPts(this._geom[0]),this.addTestPts(this._geom[1]),this.checkValid(t)},ep.prototype.checkValid=function(){if(1===arguments.length){for(var t=arguments[0],e=0;e<this._testCoords.size();e++){var n=this._testCoords.get(e);if(!this.checkValid(t,n))return this._invalidLocation=n,!1}return!0}if(2===arguments.length){var l=arguments[0],i=arguments[1];return this._location[0]=this._locFinder[0].getLocation(i),this._location[1]=this._locFinder[1].getLocation(i),this._location[2]=this._locFinder[2].getLocation(i),!!ep.hasLocation(this._location,Za.BOUNDARY)||this.isValidResult(l,this._location)}},ep.prototype.addTestPts=function(t){var e=new tp(t);this._testCoords.addAll(e.getPoints(5*this._boundaryDistanceTolerance))},ep.prototype.isValidResult=function(t,e){var n=Jh.isResultOfOp(e[0],e[1],t),l=!(n^e[2]===Za.INTERIOR);return l||this.reportResult(t,e,n),l},ep.prototype.getInvalidLocation=function(){return this._invalidLocation},ep.prototype.interfaces_=function(){return[]},ep.prototype.getClass=function(){return ep},ep.hasLocation=function(t,e){for(var n=0;n<3;n++)if(t[n]===e)return!0;return!1},ep.computeBoundaryDistanceTolerance=function(t,e){return Math.min(vh.computeSizeBasedSnapTolerance(t),vh.computeSizeBasedSnapTolerance(e))},ep.isValid=function(t,e,n,l){return new ep(t,e,l).isValid(n)},np.TOLERANCE.get=function(){return 1e-6},Object.defineProperties(ep,np);var lp=function t(e){this._geomFactory=null,this._skipEmpty=!1,this._inputGeoms=null,this._geomFactory=t.extractFactory(e),this._inputGeoms=e};lp.prototype.extractElements=function(t,e){if(null===t)return null;for(var n=0;n<t.getNumGeometries();n++){var l=t.getGeometryN(n);this._skipEmpty&&l.isEmpty()||e.add(l)}},lp.prototype.combine=function(){for(var t=new Xs,e=this._inputGeoms.iterator();e.hasNext();){var n=e.next();this.extractElements(n,t)}return 0===t.size()?null!==this._geomFactory?this._geomFactory.createGeometryCollection(null):null:this._geomFactory.buildGeometry(t)},lp.prototype.interfaces_=function(){return[]},lp.prototype.getClass=function(){return lp},lp.combine=function(){if(1===arguments.length){var t=arguments[0];return new lp(t).combine()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return new lp(lp.createList(e,n)).combine()}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];return new lp(lp.createList(l,i,r)).combine()}},lp.extractFactory=function(t){return t.isEmpty()?null:t.iterator().next().getFactory()},lp.createList=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new Xs;return n.add(t),n.add(e),n}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2],o=new Xs;return o.add(l),o.add(i),o.add(r),o}};var ip=function(){this._inputPolys=null,this._geomFactory=null;var t=arguments[0];this._inputPolys=t,null===this._inputPolys&&(this._inputPolys=new Xs)},rp={STRTREE_NODE_CAPACITY:{configurable:!0}};ip.prototype.reduceToGeometries=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next(),i=null;es(l,$s)?i=this.unionTree(l):l instanceof js&&(i=l),e.add(i)}return e},ip.prototype.extractByEnvelope=function(t,e,n){for(var l=new Xs,i=0;i<e.getNumGeometries();i++){var r=e.getGeometryN(i);r.getEnvelopeInternal().intersects(t)?l.add(r):n.add(r)}return this._geomFactory.buildGeometry(l)},ip.prototype.unionOptimized=function(t,e){var n=t.getEnvelopeInternal(),l=e.getEnvelopeInternal();if(!n.intersects(l))return lp.combine(t,e);if(t.getNumGeometries()<=1&&e.getNumGeometries()<=1)return this.unionActual(t,e);var i=n.intersection(l);return this.unionUsingEnvelopeIntersection(t,e,i)},ip.prototype.union=function(){if(null===this._inputPolys)throw new Error("union() method cannot be called twice");if(this._inputPolys.isEmpty())return null;this._geomFactory=this._inputPolys.iterator().next().getFactory();for(var t=new Tc(ip.STRTREE_NODE_CAPACITY),e=this._inputPolys.iterator();e.hasNext();){var n=e.next();t.insert(n.getEnvelopeInternal(),n)}this._inputPolys=null;var l=t.itemsTree();return this.unionTree(l)},ip.prototype.binaryUnion=function(){if(1===arguments.length){var t=arguments[0];return this.binaryUnion(t,0,t.size())}if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2];if(l-n<=1){var i=ip.getGeometry(e,n);return this.unionSafe(i,null)}if(l-n==2)return this.unionSafe(ip.getGeometry(e,n),ip.getGeometry(e,n+1));var r=Math.trunc((l+n)/2),o=this.binaryUnion(e,n,r),a=this.binaryUnion(e,r,l);return this.unionSafe(o,a)}},ip.prototype.repeatedUnion=function(t){for(var e=null,n=t.iterator();n.hasNext();){var l=n.next();e=null===e?l.copy():e.union(l)}return e},ip.prototype.unionSafe=function(t,e){return null===t&&null===e?null:null===t?e.copy():null===e?t.copy():this.unionOptimized(t,e)},ip.prototype.unionActual=function(t,e){return ip.restrictToPolygons(t.union(e))},ip.prototype.unionTree=function(t){var e=this.reduceToGeometries(t);return this.binaryUnion(e)},ip.prototype.unionUsingEnvelopeIntersection=function(t,e,n){var l=new Xs,i=this.extractByEnvelope(n,t,l),r=this.extractByEnvelope(n,e,l),o=this.unionActual(i,r);return l.add(o),lp.combine(l)},ip.prototype.bufferUnion=function(){if(1===arguments.length){var t=arguments[0];return t.get(0).getFactory().buildGeometry(t).buffer(0)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e.getFactory().createGeometryCollection([e,n]).buffer(0)}},ip.prototype.interfaces_=function(){return[]},ip.prototype.getClass=function(){return ip},ip.restrictToPolygons=function(t){if(es(t,Pu))return t;var e=$d.getPolygons(t);return 1===e.size()?e.get(0):t.getFactory().createMultiPolygon(Gu.toPolygonArray(e))},ip.getGeometry=function(t,e){return e>=t.size()?null:t.get(e)},ip.union=function(t){return new ip(t).union()},rp.STRTREE_NODE_CAPACITY.get=function(){return 4},Object.defineProperties(ip,rp);var op=function(){};op.prototype.interfaces_=function(){return[]},op.prototype.getClass=function(){return op},op.union=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Jh.createEmptyResult(Jh.UNION,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.UNION)};var ap=function(){return new Ei};Ei.prototype={constructor:Ei,reset:function(){this.s=this.t=0},add:function(t){Ii(sp,t,this.t),Ii(this,sp.s,this.s),this.s?this.t+=sp.t:this.s=sp.t},valueOf:function(){return this.s}};var sp=new Ei,up=1e-6,cp=Math.PI,dp=cp/2,hp=cp/4,pp=2*cp,fp=180/cp,bp=cp/180,mp=Math.abs,gp=Math.atan,_p=Math.atan2,yp=Math.cos,Ap=Math.exp,vp=Math.log,Cp=Math.sin,wp=Math.sqrt,Pp=Math.tan,xp={Feature:function(t,e){Ri(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,l=-1,i=n.length;++l<i;)Ri(n[l].geometry,e)}},Sp={Sphere:function(t,e){e.sphere()},Point:function(t,e){e.point((t=t.coordinates)[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)e.point((t=n[l])[0],t[1],t[2])},LineString:function(t,e){Fi(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)Fi(n[l],e,0)},Polygon:function(t,e){Ni(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)Ni(n[l],e)},GeometryCollection:function(t,e){for(var n=t.geometries,l=-1,i=n.length;++l<i;)Ri(n[l],e)}},kp=function(t,e){t&&xp.hasOwnProperty(t.type)?xp[t.type](t,e):Ri(t,e)},Mp=(ap(),ap(),ap(),function(t,e){function n(n,l){return n=t(n,l),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,l){return(n=e.invert(n,l))&&t.invert(n[0],n[1])}),n});qi.invert=qi;var Op=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:ji,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},Dp=function(t,e,n,l,i,r){var o,a=t[0],s=t[1],u=0,c=1,d=e[0]-a,h=e[1]-s;if(o=n-a,d||!(o>0)){if(o/=d,d<0){if(o<u)return;o<c&&(c=o)}else if(d>0){if(o>c)return;o>u&&(u=o)}if(o=i-a,d||!(o<0)){if(o/=d,d<0){if(o>c)return;o>u&&(u=o)}else if(d>0){if(o<u)return;o<c&&(c=o)}if(o=l-s,h||!(o>0)){if(o/=h,h<0){if(o<u)return;o<c&&(c=o)}else if(h>0){if(o>c)return;o>u&&(u=o)}if(o=r-s,h||!(o<0)){if(o/=h,h<0){if(o>c)return;o>u&&(u=o)}else if(h>0){if(o<u)return;o<c&&(c=o)}return u>0&&(t[0]=a+u*d,t[1]=s+u*h),c<1&&(e[0]=a+c*d,e[1]=s+c*h),!0}}}}},Tp=function(t,e){return mp(t[0]-e[0])<up&&mp(t[1]-e[1])<up},Ep=function(t,e,n,l,i){var r,o,a=[],s=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,l=t[0],o=t[e];if(Tp(l,o)){for(i.lineStart(),r=0;r<e;++r)i.point((l=t[r])[0],l[1]);i.lineEnd()}else a.push(n=new Qi(l,t,null,!0)),s.push(n.o=new Qi(l,null,n,!1)),a.push(n=new Qi(o,t,null,!1)),s.push(n.o=new Qi(o,null,n,!0))}})),a.length){for(s.sort(e),Zi(a),Zi(s),r=0,o=s.length;r<o;++r)s[r].e=n=!n;for(var u,c,d=a[0];;){for(var h=d,p=!0;h.v;)if((h=h.n)===d)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(r=0,o=u.length;r<o;++r)i.point((c=u[r])[0],c[1]);else l(h.x,h.n.x,1,i);h=h.n}else{if(p)for(r=(u=h.p.z).length-1;r>=0;--r)i.point((c=u[r])[0],c[1]);else l(h.x,h.p.x,-1,i);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}},Ip=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},Lp=(function(t){1===t.length&&(t=function(t){return function(e,n){return Ip(t(e),n)}}(t))}(Ip),function(t){for(var e,n,l,i=t.length,r=-1,o=0;++r<i;)o+=t[r].length;for(n=new Array(o);--i>=0;)for(e=(l=t[i]).length;--e>=0;)n[--o]=l[e];return n}),jp=1e9,Rp=-jp,Fp=ap(),Np=(ap(),function(t){return t}),Yp=(ap(),ap(),1/0),Up=Yp,Bp=-Yp,zp=Bp,Gp={point:function(t,e){t<Yp&&(Yp=t),t>Bp&&(Bp=t),e<Up&&(Up=e),e>zp&&(zp=e)},lineStart:ji,lineEnd:ji,polygonStart:ji,polygonEnd:ji,result:function(){var t=[[Yp,Up],[Bp,zp]];return Bp=zp=-(Up=Yp=1/0),t}},Hp=(ap(),function(t,e,n,l){return function(i,r){function o(e,n){var l=i(e,n);t(e=l[0],n=l[1])&&r.point(e,n)}function a(t,e){var n=i(t,e);m.point(n[0],n[1])}function s(){v.point=a,m.lineStart()}function u(){v.point=o,m.lineEnd()}function c(t,e){b.push([t,e]);var n=i(t,e);y.point(n[0],n[1])}function d(){y.lineStart(),b=[]}function h(){c(b[0][0],b[0][1]),y.lineEnd();var t,e,n,l,i=y.clean(),o=_.result(),a=o.length;if(b.pop(),p.push(b),b=null,a)if(1&i){if((e=(n=o[0]).length-1)>0){for(A||(r.polygonStart(),A=!0),r.lineStart(),t=0;t<e;++t)r.point((l=n[t])[0],l[1]);r.lineEnd()}}else a>1&&2&i&&o.push(o.pop().concat(o.shift())),f.push(o.filter(er))}var p,f,b,m=e(r),g=i.invert(l[0],l[1]),_=Op(),y=e(_),A=!1,v={point:o,lineStart:s,lineEnd:u,polygonStart:function(){v.point=c,v.lineStart=d,v.lineEnd=h,f=[],p=[]},polygonEnd:function(){v.point=o,v.lineStart=s,v.lineEnd=u,f=Lp(f);var t=function(t,e){var n=e[0],l=e[1],i=[Cp(n),-yp(n),0],r=0,o=0;Fp.reset();for(var a=0,s=t.length;a<s;++a)if(c=(u=t[a]).length)for(var u,c,d=u[c-1],h=d[0],p=d[1]/2+hp,f=Cp(p),b=yp(p),m=0;m<c;++m,h=_,f=A,b=v,d=g){var g=u[m],_=g[0],y=g[1]/2+hp,A=Cp(y),v=yp(y),C=_-h,w=C>=0?1:-1,P=w*C,x=P>cp,S=f*A;if(Fp.add(_p(S*w*Cp(P),b*v+S*yp(P))),r+=x?C+w*pp:C,x^h>=n^_>=n){var k=zi(Ui(d),Ui(g));Vi(k);var M=zi(i,k);Vi(M);var O=(x^C>=0?-1:1)*Li(M[2]);(l>O||l===O&&(k[0]||k[1]))&&(o+=x^C>=0?1:-1)}}return(r<-up||r<up&&Fp<-up)^1&o}(p,g);f.length?(A||(r.polygonStart(),A=!0),Ep(f,nr,t,n,r)):t&&(A||(r.polygonStart(),A=!0),r.lineStart(),n(null,null,1,r),r.lineEnd()),A&&(r.polygonEnd(),A=!1),f=p=null},sphere:function(){r.polygonStart(),r.lineStart(),n(null,null,1,r),r.lineEnd(),r.polygonEnd()}};return v}}),Vp=Hp((function(){return!0}),(function(t){var e,n=NaN,l=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(r,o){var a=r>0?cp:-cp,s=mp(r-n);mp(s-cp)<up?(t.point(n,l=(l+o)/2>0?dp:-dp),t.point(i,l),t.lineEnd(),t.lineStart(),t.point(a,l),t.point(r,l),e=0):i!==a&&s>=cp&&(mp(n-i)<up&&(n-=i*up),mp(r-a)<up&&(r-=a*up),l=function(t,e,n,l){var i,r,o=Cp(t-n);return mp(o)>up?gp((Cp(e)*(r=yp(l))*Cp(n)-Cp(l)*(i=yp(e))*Cp(t))/(i*r*o)):(e+l)/2}(n,l,r,o),t.point(i,l),t.lineEnd(),t.lineStart(),t.point(a,l),e=0),t.point(n=r,l=o),i=a},lineEnd:function(){t.lineEnd(),n=l=NaN},clean:function(){return 2-e}}}),(function(t,e,n,l){var i;if(null==t)l.point(-cp,i=n*dp),l.point(0,i),l.point(cp,i),l.point(cp,0),l.point(cp,-i),l.point(0,-i),l.point(-cp,-i),l.point(-cp,0),l.point(-cp,i);else if(mp(t[0]-e[0])>up){var r=t[0]<e[0]?cp:-cp;l.point(-r,i=n*r/2),l.point(0,i),l.point(r,i)}else l.point(e[0],e[1])}),[-cp,-dp]),qp=function(t,e){function n(t,e){return yp(t)*yp(e)>r}function l(t,e,n){var l=[1,0,0],i=zi(Ui(t),Ui(e)),o=Bi(i,i),a=i[0],s=o-a*a;if(!s)return!n&&t;var u=r*o/s,c=-r*a/s,d=zi(l,i),h=Hi(l,u);Gi(h,Hi(i,c));var p=d,f=Bi(h,p),b=Bi(p,p),m=f*f-b*(Bi(h,h)-1);if(!(m<0)){var g=wp(m),_=Hi(p,(-f-g)/b);if(Gi(_,h),_=Yi(_),!n)return _;var y,A=t[0],v=e[0],C=t[1],w=e[1];v<A&&(y=A,A=v,v=y);var P=v-A,x=mp(P-cp)<up;if(!x&&w<C&&(y=C,C=w,w=y),x||P<up?x?C+w>0^_[1]<(mp(_[0]-A)<up?C:w):C<=_[1]&&_[1]<=w:P>cp^(A<=_[0]&&_[0]<=v)){var S=Hi(p,(-f+g)/b);return Gi(S,h),[_,Yi(S)]}}}function i(e,n){var l=o?t:cp-t,i=0;return e<-l?i|=1:e>l&&(i|=2),n<-l?i|=4:n>l&&(i|=8),i}var r=yp(t),o=r>0,a=mp(r)>up;return Hp(n,(function(t){var e,r,s,u,c;return{lineStart:function(){u=s=!1,c=1},point:function(d,h){var p,f=[d,h],b=n(d,h),m=o?b?0:i(d,h):b?i(d+(d<0?cp:-cp),h):0;if(!e&&(u=s=b)&&t.lineStart(),b!==s&&(!(p=l(e,f))||Tp(e,p)||Tp(f,p))&&(f[0]+=up,f[1]+=up,b=n(f[0],f[1])),b!==s)c=0,b?(t.lineStart(),p=l(f,e),t.point(p[0],p[1])):(p=l(e,f),t.point(p[0],p[1]),t.lineEnd()),e=p;else if(a&&e&&o^b){var g;m&r||!(g=l(f,e,!0))||(c=0,o?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1])))}!b||e&&Tp(e,f)||t.point(f[0],f[1]),e=f,s=b,r=m},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return c|(u&&s)<<1}}}),(function(n,l,i,r){!function(t,e,n,l,i,r){if(n){var o=yp(e),a=Cp(e),s=l*n;null==i?(i=e+l*pp,r=e-s/2):(i=Ji(o,i),r=Ji(o,r),(l>0?i<r:i>r)&&(i+=l*pp));for(var u,c=i;l>0?c>r:c<r;c-=s)u=Yi([o,-a*yp(c),-a*Cp(c)]),t.point(u[0],u[1])}}(r,t,e,i,n,l)}),o?[0,-t]:[-cp,t-cp])};ir.prototype={constructor:ir,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Wp=yp(30*bp),$p=function(t,e){return+e?function(t,e){function n(l,i,r,o,a,s,u,c,d,h,p,f,b,m){var g=u-l,_=c-i,y=g*g+_*_;if(y>4*e&&b--){var A=o+h,v=a+p,C=s+f,w=wp(A*A+v*v+C*C),P=Li(C/=w),x=mp(mp(C)-1)<up||mp(r-d)<up?(r+d)/2:_p(v,A),S=t(x,P),k=S[0],M=S[1],O=k-l,D=M-i,T=_*O-g*D;(T*T/y>e||mp((g*O+_*D)/y-.5)>.3||o*h+a*p+s*f<Wp)&&(n(l,i,r,o,a,s,k,M,x,A/=w,v/=w,C,b,m),m.point(k,M),n(k,M,x,A,v,C,u,c,d,h,p,f,b,m))}}return function(e){function l(n,l){n=t(n,l),e.point(n[0],n[1])}function i(){g=NaN,C.point=r,e.lineStart()}function r(l,i){var r=Ui([l,i]),o=t(l,i);n(g,_,m,y,A,v,g=o[0],_=o[1],m=l,y=r[0],A=r[1],v=r[2],16,e),e.point(g,_)}function o(){C.point=l,e.lineEnd()}function a(){i(),C.point=s,C.lineEnd=u}function s(t,e){r(c=t,e),d=g,h=_,p=y,f=A,b=v,C.point=r}function u(){n(g,_,m,y,A,v,d,h,c,p,f,b,16,e),C.lineEnd=o,o()}var c,d,h,p,f,b,m,g,_,y,A,v,C={point:l,lineStart:i,lineEnd:o,polygonStart:function(){e.polygonStart(),C.lineStart=a},polygonEnd:function(){e.polygonEnd(),C.lineStart=i}};return C}}(t,e):function(t){return lr({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)},Xp=lr({point:function(t,e){this.stream.point(t*bp,e*bp)}});or.invert=function(t,e){return[t,2*gp(Ap(e))-dp]},ar.invert=function(t,e){return[-e,2*gp(Ap(t))-dp]};var Kp=function(){var t=function(t){function e(){var e=cp*a(),o=r(function(t){function e(e){return(e=t(e[0]*bp,e[1]*bp))[0]*=fp,e[1]*=fp,e}return t=Wi(t[0]*bp,t[1]*bp,t.length>2?t[2]*bp:0),e.invert=function(e){return(e=t.invert(e[0]*bp,e[1]*bp))[0]*=fp,e[1]*=fp,e},e}(r.rotate()).invert([0,0]));return u(null==c?[[o[0]-e,o[1]-e],[o[0]+e,o[1]+e]]:t===or?[[Math.max(o[0]-e,c),n],[Math.min(o[0]+e,l),i]]:[[c,Math.max(o[1]-e,n)],[l,Math.min(o[1]+e,i)]])}var n,l,i,r=function(t){return function(t){function e(t){return[(t=u(t[0]*bp,t[1]*bp))[0]*b+o,a-t[1]*b]}function n(t,e){return[(t=r(t,e))[0]*b+o,a-t[1]*b]}function l(){u=Mp(s=Wi(A,v,C),r);var t=r(_,y);return o=m-t[0]*b,a=g+t[1]*b,i()}function i(){return p=f=null,e}var r,o,a,s,u,c,d,h,p,f,b=150,m=480,g=250,_=0,y=0,A=0,v=0,C=0,w=null,P=Vp,x=null,S=Np,k=.5,M=$p(n,k);return e.stream=function(t){return p&&f===t?p:p=Xp(P(s,M(S(f=t))))},e.clipAngle=function(t){return arguments.length?(P=+t?qp(w=t*bp,6*bp):(w=null,Vp),i()):w*fp},e.clipExtent=function(t){return arguments.length?(S=null==t?(x=c=d=h=null,Np):tr(x=+t[0][0],c=+t[0][1],d=+t[1][0],h=+t[1][1]),i()):null==x?null:[[x,c],[d,h]]},e.scale=function(t){return arguments.length?(b=+t,l()):b},e.translate=function(t){return arguments.length?(m=+t[0],g=+t[1],l()):[m,g]},e.center=function(t){return arguments.length?(_=t[0]%360*bp,y=t[1]%360*bp,l()):[_*fp,y*fp]},e.rotate=function(t){return arguments.length?(A=t[0]%360*bp,v=t[1]%360*bp,C=t.length>2?t[2]%360*bp:0,l()):[A*fp,v*fp,C*fp]},e.precision=function(t){return arguments.length?(M=$p(n,k=t*t),i()):wp(k)},e.fitExtent=function(t,n){return rr(e,t,n)},e.fitSize=function(t,n){return function(t,e,n){return rr(t,[[0,0],e],n)}(e,t,n)},function(){return r=t.apply(this,arguments),e.invert=r.invert&&function(t){return(t=u.invert((t[0]-o)/b,(a-t[1])/b))&&[t[0]*fp,t[1]*fp]},l()}}((function(){return t}))()}(t),o=r.center,a=r.scale,s=r.translate,u=r.clipExtent,c=null;return r.scale=function(t){return arguments.length?(a(t),e()):a()},r.translate=function(t){return arguments.length?(s(t),e()):s()},r.center=function(t){return arguments.length?(o(t),e()):o()},r.clipExtent=function(t){return arguments.length?(null==t?c=n=l=i=null:(c=+t[0][0],n=+t[0][1],l=+t[1][0],i=+t[1][1]),e()):null==c?null:[[c,n],[l,i]]},e()}(ar),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};t.projection=io,t.random=Ua,t.clusters=Ba,t.helpers=Pr,t.invariant=Sr,t.meta=xr,t.isolines=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.zProperty||"elevation",i=n.commonProperties||{},r=n.breaksProperties||[];if($(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks must be an Array");if(!P(i))throw new Error("commonProperties must be an Object");if(!Array.isArray(r))throw new Error("breaksProperties must be an Array");var o=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.zProperty||"elevation",l=e.flip,i=e.flags;$(t,"Point","input must contain Points");for(var r=function(t,e){var n={};return T(t,(function(t){var e=H(t)[1];n[e]||(n[e]=[]),n[e].push(t)})),Object.keys(n).map((function(t){return n[t].sort((function(t,e){return H(t)[0]-H(e)[0]}))})).sort((function(t,n){return e?H(t[0])[1]-H(n[0])[1]:H(n[0])[1]-H(t[0])[1]}))}(t,l),o=[],a=0;a<r.length;a++){for(var s=r[a],u=[],c=0;c<s.length;c++){var d=s[c];u.push(d.properties[n]?d.properties[n]:0),!0===i&&(d.properties.matrixPosition=[a,c])}o.push(u)}return o}(t,{zProperty:l,flip:!0});return u(function(t,e,n){var l=z(n),i=l[0],r=l[1],o=(l[2]-l[0])/(e[0].length-1),a=(l[3]-l[1])/(e.length-1),s=function(t){t[0]=t[0]*o+i,t[1]=t[1]*a+r};return t.forEach((function(t){k(t,s)})),t}(function(t,e,n,l,i){for(var r=[],o=1;o<e.length;o++){var a=+e[o],s=Object.assign({},l,i[o]);s[n]=a;var u=c(Q(t,a),s);r.push(u)}return r}(o,e,l,i,r),o,t))},t.convex=kt,t.pointsWithinPolygon=Dt,t.concave=function(t,n){if(!P(n=n||{}))throw new Error("options is invalid");if(!t)throw new Error("points is required");var l=n.maxEdge||1/0;if(!w(l))throw new Error("maxEdge is invalid");var i=Tt(function(t){var e=[],n={};return T(t,(function(t){if(t.geometry){var l=t.geometry.coordinates.join("-");n.hasOwnProperty(l)||(e.push(t),n[l]=!0)}})),u(e)}(t));if(i.features=i.features.filter((function(t){var e=t.geometry.coordinates[0][0],i=t.geometry.coordinates[0][1],r=t.geometry.coordinates[0][2],o=jt(e,i,n),a=jt(i,r,n),s=jt(e,r,n);return o<=l&&a<=l&&s<=l})),i.features.length<1)return null;var r=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=function(t){var e={};R(t,(function(t){e[t.geometry.type]=!0}));var n=Object.keys(e);return 1===n.length?n[0]:null}(t);if(!l)throw new Error("geojson must be homogenous");switch(l){case"LineString":return function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=[],i=B(t,(function(t,e){return function(t,e){var n,l=t.geometry.coordinates,i=e.geometry.coordinates,r=Wt(l[0]),o=Wt(l[l.length-1]),s=Wt(i[0]),u=Wt(i[i.length-1]);if(r===u)n=i.concat(l.slice(1));else if(s===o)n=l.concat(i.slice(1));else if(r===s)n=l.slice(1).reverse().concat(i);else{if(o!==u)return null;n=l.concat(i.reverse().slice(1))}return a(n)}(t,e)||(l.push(t),e)}));return i&&l.push(i),l.length?1===l.length?l[0]:c(l.map((function(t){return t.coordinates}))):null}(t,e);case"Polygon":return function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=[];R(t,(function(t){l.push(t.geometry)}));var i=function(t,e){function n(t){t&&c.hasOwnProperty(t.type)&&c[t.type](t)}function l(t){var e=[];do{var n=u.get(t);e.push(t[0]<t[1]?n:~n)}while(t=t.next);return e}function i(t){return t.map(l)}var r=function(t){function e(t){null!=t&&u.hasOwnProperty(t.type)&&u[t.type](t)}function n(t){var e=t[0],n=t[1];e<r&&(r=e),e>a&&(a=e),n<o&&(o=n),n>s&&(s=n)}function l(t){t.forEach(n)}function i(t){t.forEach(l)}var r=1/0,o=1/0,a=-1/0,s=-1/0,u={GeometryCollection:function(t){t.geometries.forEach(e)},Point:function(t){n(t.coordinates)},MultiPoint:function(t){t.coordinates.forEach(n)},LineString:function(t){l(t.arcs)},MultiLineString:function(t){t.arcs.forEach(l)},Polygon:function(t){t.arcs.forEach(l)},MultiPolygon:function(t){t.arcs.forEach(i)}};for(var c in t)e(t[c]);return a>=r&&s>=o?[r,o,a,s]:void 0}(t=function(t){var e,n={};for(e in t)n[e]=zt(t[e]);return n}(t)),o=e>0&&r&&function(t,e,n){function l(t){return[Math.round((t[0]-u)*p),Math.round((t[1]-c)*f)]}function i(t,e){for(var n,l,i,r,o,a=-1,s=0,d=t.length,h=new Array(d);++a<d;)n=t[a],r=Math.round((n[0]-u)*p),o=Math.round((n[1]-c)*f),r===l&&o===i||(h[s++]=[l=r,i=o]);for(h.length=s;s<e;)s=h.push([h[0][0],h[0][1]]);return h}function r(t){return i(t,2)}function o(t){return i(t,4)}function a(t){return t.map(o)}function s(t){null!=t&&b.hasOwnProperty(t.type)&&b[t.type](t)}var u=e[0],c=e[1],d=e[2],h=e[3],p=d-u?(n-1)/(d-u):1,f=h-c?(n-1)/(h-c):1,b={GeometryCollection:function(t){t.geometries.forEach(s)},Point:function(t){t.coordinates=l(t.coordinates)},MultiPoint:function(t){t.coordinates=t.coordinates.map(l)},LineString:function(t){t.arcs=r(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(r)},Polygon:function(t){t.arcs=a(t.arcs)},MultiPolygon:function(t){t.arcs=t.arcs.map(a)}};for(var m in t)s(t[m]);return{scale:[1/p,1/f],translate:[u,c]}}(t,r,e),a=function(t){function e(t){var e,n,l,i,r,o,a,s;if(l=p.get(e=u[t[0]]))for(a=0,s=l.length;a<s;++a)if(function(t,e){var n=t[0],l=e[0],i=t[1];if(n-i!=l-e[1])return!1;for(;n<=i;++n,++l)if(!Kr(u[n],u[l]))return!1;return!0}(i=l[a],t))return t[0]=i[0],void(t[1]=i[1]);if(r=p.get(n=u[t[1]]))for(a=0,s=r.length;a<s;++a)if(function(t,e){var n=t[0],l=t[1],i=e[1];if(n-l!=e[0]-i)return!1;for(;n<=l;++n,--i)if(!Kr(u[n],u[i]))return!1;return!0}(o=r[a],t))return t[1]=o[0],void(t[0]=o[1]);l?l.push(t):p.set(e,[t]),r?r.push(t):p.set(n,[t]),f.push(t)}function n(t,e){var n=t[0],l=e[0],r=t[1]-n;if(r!==e[1]-l)return!1;for(var o=i(t),a=i(e),s=0;s<r;++s)if(!Kr(u[n+(s+o)%r],u[l+(s+a)%r]))return!1;return!0}function l(t,e){var n=t[0],l=e[1],r=t[1]-n;if(r!==l-e[0])return!1;for(var o=i(t),a=r-i(e),s=0;s<r;++s)if(!Kr(u[n+(s+o)%r],u[l-(s+a)%r]))return!1;return!0}function i(t){for(var e=t[0],n=t[1],l=e,i=l,r=u[l];++l<n;){var o=u[l];(o[0]<r[0]||o[0]===r[0]&&o[1]<r[1])&&(i=l,r=o)}return i-e}var r,o,a,s,u=t.coordinates,c=t.lines,d=t.rings,h=c.length+d.length;for(delete t.lines,delete t.rings,a=0,s=c.length;a<s;++a)for(r=c[a];r=r.next;)++h;for(a=0,s=d.length;a<s;++a)for(o=d[a];o=o.next;)++h;var p=Xr(2*h*1.4,to,Kr),f=t.arcs=[];for(a=0,s=c.length;a<s;++a){r=c[a];do{e(r)}while(r=r.next)}for(a=0,s=d.length;a<s;++a)if((o=d[a]).next)do{e(o)}while(o=o.next);else!function(t){var e,r,o,a,s;if(r=p.get(u[t[0]]))for(a=0,s=r.length;a<s;++a){if(n(o=r[a],t))return t[0]=o[0],void(t[1]=o[1]);if(l(o,t))return t[0]=o[1],void(t[1]=o[0])}if(r=p.get(e=u[t[0]+i(t)]))for(a=0,s=r.length;a<s;++a){if(n(o=r[a],t))return t[0]=o[0],void(t[1]=o[1]);if(l(o,t))return t[0]=o[1],void(t[1]=o[0])}r?r.push(t):p.set(e,[t]),f.push(t)}(o);return t}(function(t){var e,n,l,i=function(t){function e(t,e,n,l){if(h[n]!==t){h[n]=t;var i=p[n];if(i>=0){var r=f[n];i===e&&r===l||i===l&&r===e||(++m,b[n]=1)}else p[n]=e,f[n]=l}}function n(t){return to(s[t])}function l(t,e){return Kr(s[t],s[e])}var i,r,o,a,s=t.coordinates,u=t.lines,c=t.rings,d=function(){for(var t=Xr(1.4*s.length,n,l,Int32Array,-1,Int32Array),e=new Int32Array(s.length),i=0,r=s.length;i<r;++i)e[i]=t.maybeSet(i,i);return e}(),h=new Int32Array(s.length),p=new Int32Array(s.length),f=new Int32Array(s.length),b=new Int8Array(s.length),m=0;for(i=0,r=s.length;i<r;++i)h[i]=p[i]=f[i]=-1;for(i=0,r=u.length;i<r;++i){var g=u[i],_=g[0],y=g[1];for(o=d[_],a=d[++_],++m,b[o]=1;++_<=y;)e(i,o,o=a,a=d[_]);++m,b[a]=1}for(i=0,r=s.length;i<r;++i)h[i]=-1;for(i=0,r=c.length;i<r;++i){var A=c[i],v=A[0]+1,C=A[1];for(e(i,d[C-1],o=d[v-1],a=d[v]);++v<=C;)e(i,o,o=a,a=d[v])}h=p=f=null;var w,P=function(t,e,n,l,i){3===arguments.length&&(l=Array,i=null);for(var r=new l(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),o=t-1,a=0;a<t;++a)r[a]=i;return{add:function(l){for(var a=e(l)&o,s=r[a],u=0;s!=i;){if(n(s,l))return!0;if(++u>=t)throw new Error("full hashset");s=r[a=a+1&o]}return r[a]=l,!0},has:function(l){for(var a=e(l)&o,s=r[a],u=0;s!=i;){if(n(s,l))return!0;if(++u>=t)break;s=r[a=a+1&o]}return!1},values:function(){for(var t=[],e=0,n=r.length;e<n;++e){var l=r[e];l!=i&&t.push(l)}return t}}}(1.4*m,to,Kr);for(i=0,r=s.length;i<r;++i)b[w=d[i]]&&P.add(s[w]);return P}(t),r=t.coordinates,o=t.lines,a=t.rings;for(n=0,l=o.length;n<l;++n)for(var s=o[n],u=s[0],c=s[1];++u<c;)i.has(r[u])&&(e={0:u,1:s[1]},s[1]=u,s=s.next=e);for(n=0,l=a.length;n<l;++n)for(var d=a[n],h=d[0],p=h,f=d[1],b=i.has(r[h]);++p<f;)i.has(r[p])&&(b?(e={0:p,1:d[1]},d[1]=p,d=d.next=e):(function(t,e,n,l){Bt(t,e,n),Bt(t,e,e+l),Bt(t,e+l,n)}(r,h,f,f-p),r[f]=r[h],b=!0,p=h));return t}(function(t){function e(t){t&&u.hasOwnProperty(t.type)&&u[t.type](t)}function n(t){for(var e=0,n=t.length;e<n;++e)s[++r]=t[e];var l={0:r-n+1,1:r};return o.push(l),l}function l(t){for(var e=0,n=t.length;e<n;++e)s[++r]=t[e];var l={0:r-n+1,1:r};return a.push(l),l}function i(t){return t.map(l)}var r=-1,o=[],a=[],s=[],u={GeometryCollection:function(t){t.geometries.forEach(e)},LineString:function(t){t.arcs=n(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(n)},Polygon:function(t){t.arcs=t.arcs.map(l)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var c in t)e(t[c]);return{type:"Topology",coordinates:s,lines:o,rings:a,objects:t}}(t))),s=a.coordinates,u=Xr(1.4*a.arcs.length,Vt,qt);t=a.objects,a.bbox=r,a.arcs=a.arcs.map((function(t,e){return u.set(t,e),s.slice(t[0],t[1]+1)})),delete a.coordinates,s=null;var c={GeometryCollection:function(t){t.geometries.forEach(n)},LineString:function(t){t.arcs=l(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(l)},Polygon:function(t){t.arcs=t.arcs.map(l)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var d in t)n(t[d]);return o&&(a.transform=o,a.arcs=function(t){for(var e=-1,n=t.length;++e<n;){for(var l,i,r=t[e],o=0,a=1,s=r.length,u=r[0],c=u[0],d=u[1];++o<s;)l=(u=r[o])[0],i=u[1],l===c&&i===d||(r[a++]=[l-c,i-d],c=l,d=i);1===a&&(r[a++]=[0,0]),r.length=a}return t}(a.arcs)),a}({geoms:p(l).geometry});return function(t){return Yt(t,Ut.apply(this,arguments))}(i,i.objects.geoms.geometries)}(t,e);default:throw new Error(l+" is not supported")}}(i,n);return 1===r.coordinates.length&&(r.coordinates=r.coordinates[0],r.type="Polygon"),e(r)},t.collect=function(t,e,n,l){var i=Dr(6),r=e.features.map((function(t){return{minX:t.geometry.coordinates[0],minY:t.geometry.coordinates[1],maxX:t.geometry.coordinates[0],maxY:t.geometry.coordinates[1],property:t.properties[n]}}));return i.load(r),t.features.forEach((function(t){t.properties||(t.properties={});var e=z(t),n=[];i.search({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}).forEach((function(e){Mt([e.minX,e.minY],t)&&n.push(e.property)})),t.properties[l]=n})),t},t.flip=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if(!t)throw new Error("geojson is required");return!1!==n&&void 0!==n||(t=Rt(t)),k(t,(function(t){var e=t[0];t[0]=t[1],t[1]=e})),t},t.simplify=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=void 0!==e.tolerance?e.tolerance:1,l=e.highQuality||!1,i=e.mutate||!1;if(!t)throw new Error("geojson is required");if(n&&n<0)throw new Error("invalid tolerance");return!0!==i&&(t=Rt(t)),L(t,(function(t){!function(t,e,n){var l=t.type;if("Point"===l||"MultiPoint"===l)return t;$t(t,!0);var i=t.coordinates;switch(l){case"LineString":t.coordinates=Zt(i,e,n);break;case"MultiLineString":t.coordinates=i.map((function(t){return Zt(t,e,n)}));break;case"Polygon":t.coordinates=te(i,e,n);break;case"MultiPolygon":t.coordinates=i.map((function(t){return te(t,e,n)}))}}(t,n,l)})),t},t.bezierSpline=ee,t.tag=function(t,e,n,l){return t=Rt(t),e=Rt(e),T(t,(function(t){t.properties||(t.properties={}),T(e,(function(e){void 0===t.properties[l]&&Mt(t,e)&&(t.properties[l]=e.properties[n])}))})),t},t.sample=function(t,e){if(!t)throw new Error("featurecollection is required");if(null==e)throw new Error("num is required");if("number"!=typeof e)throw new Error("num must be a number");return u(function(t,e){for(var n,l,i=t.slice(0),r=t.length,o=r-e;r-- >o;)n=i[l=Math.floor((r+1)*Math.random())],i[l]=i[r],i[r]=n;return i.slice(o)}(t.features,e))},t.envelope=le,t.square=ie,t.circle=oe,t.midpoint=function(t,e){return re(t,jt(t,e)/2,ae(t,e))},t.center=se,t.centerOfMass=function t(e,n){switch(J(e)){case"Point":return e;case"Polygon":var i=[];k(e,(function(t){i.push(t)}));var r,o,a,s,u,c,d,h,p=ue(e,n),f=p.geometry.coordinates,b=0,m=0,g=0,_=i.map((function(t){return[t[0]-f[0],t[1]-f[1]]}));for(r=0;r<i.length-1;r++)s=(o=_[r])[0],u=(a=_[r+1])[0],g+=h=s*(d=a[1])-u*(c=o[1]),b+=(s+u)*h,m+=(c+d)*h;if(0===g)return p;var y=1/(.5*g*6);return l([f[0]+y*b,f[1]+y*m],n);default:var A=kt(e);return A?t(A,n):ue(e,n)}},t.centroid=ue,t.combine=function(t){function n(t,e,n){n?l[e].coordinates=l[e].coordinates.concat(t.geometry.coordinates):l[e].coordinates.push(t.geometry.coordinates),l[e].properties.push(t.properties)}var l={MultiPoint:{coordinates:[],properties:[]},MultiLineString:{coordinates:[],properties:[]},MultiPolygon:{coordinates:[],properties:[]}},i=Object.keys(l).reduce((function(t,e){return t[e.replace("Multi","")]=e,t}),{});return T(t,(function(t){t.geometry&&(l[t.geometry.type]?n(t,t.geometry.type,!0):i[t.geometry.type]&&n(t,i[t.geometry.type],!1))})),u(Object.keys(l).filter((function(t){return l[t].coordinates.length})).sort().map((function(t){return e({type:t,coordinates:l[t].coordinates},{collectedProperties:l[t].properties})})))},t.distance=jt,t.explode=ce,t.bbox=z,t.tesselate=function(t){if(!t.geometry||"Polygon"!==t.geometry.type&&"MultiPolygon"!==t.geometry.type)throw new Error("input must be a Polygon or MultiPolygon");var e={type:"FeatureCollection",features:[]};return"Polygon"===t.geometry.type?e.features=Se(t.geometry.coordinates):t.geometry.coordinates.forEach((function(t){e.features=e.features.concat(Se(t))})),e},t.bboxPolygon=ne,t.booleanPointInPolygon=Mt,t.nearestPoint=ke,t.nearestPointOnLine=$e,t.nearestPointToLine=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=n.properties||{};if(!t)throw new Error("points is required");if(!(t=function(t){var e=[];switch(t.geometry?t.geometry.type:t.type){case"GeometryCollection":return L(t,(function(t){"Point"===t.type&&e.push({type:"Feature",properties:{},geometry:t})})),{type:"FeatureCollection",features:e};case"FeatureCollection":return t.features=t.features.filter((function(t){return"Point"===t.geometry.type})),t;default:throw new Error("points must be a Point Collection")}}(t)).features.length)throw new Error("points must contain features");if(!e)throw new Error("line is required");if("LineString"!==J(e))throw new Error("line must be a LineString");var r=1/0,o=null;return T(t,(function(t){var n=ln(t,e,{units:l});n<r&&(r=n,o=t)})),o&&(o.properties=Object.assign({dist:r},o.properties,i)),o},t.planepoint=function(t,e){var n=G(t),l=X(e).coordinates[0];if(l.length<4)throw new Error("OuterRing of a Polygon must have 4 or more Positions.");var i=e.properties||{},r=i.a,o=i.b,a=i.c,s=n[0],u=n[1],c=l[0][0],d=l[0][1],h=void 0!==r?r:l[0][2],p=l[1][0],f=l[1][1],b=void 0!==o?o:l[1][2],m=l[2][0],g=l[2][1],_=void 0!==a?a:l[2][2];return(_*(s-c)*(u-f)+h*(s-p)*(u-g)+b*(s-m)*(u-d)-b*(s-c)*(u-g)-_*(s-p)*(u-d)-h*(s-m)*(u-f))/((s-c)*(u-f)+(s-p)*(u-g)+(s-m)*(u-d)-(s-c)*(u-g)-(s-p)*(u-d)-(s-m)*(u-f))},t.tin=Tt,t.bearing=ae,t.destination=re,t.kinks=function(t){var e,n,i={type:"FeatureCollection",features:[]};if("LineString"===(n="Feature"===t.type?t.geometry:t).type)e=[n.coordinates];else if("MultiLineString"===n.type)e=n.coordinates;else if("MultiPolygon"===n.type)e=[].concat.apply([],n.coordinates);else{if("Polygon"!==n.type)throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");e=n.coordinates}return e.forEach((function(t){e.forEach((function(e){for(var n=0;n<t.length-1;n++)for(var r=n;r<e.length-1;r++){if(t===e){if(1===Math.abs(n-r))continue;if(0===n&&r===t.length-2&&t[n][0]===t[t.length-1][0]&&t[n][1]===t[t.length-1][1])continue}var o=function(t,e,n,l,i,r,o,a){var s,u,c,d,h={x:null,y:null,onLine1:!1,onLine2:!1};return 0==(s=(a-r)*(n-t)-(o-i)*(l-e))?null!==h.x&&null!==h.y&&h:(d=(o-i)*(u=e-r)-(a-r)*(c=t-i),c=((n-t)*u-(l-e)*c)/s,h.x=t+(u=d/s)*(n-t),h.y=e+u*(l-e),u>=0&&u<=1&&(h.onLine1=!0),c>=0&&c<=1&&(h.onLine2=!0),!(!h.onLine1||!h.onLine2)&&[h.x,h.y])}(t[n][0],t[n][1],t[n+1][0],t[n+1][1],e[r][0],e[r][1],e[r+1][0],e[r+1][1]);o&&i.features.push(l([o[0],o[1]]))}}))})),i},t.pointOnFeature=on,t.area=sn,t.along=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i;if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}if(!w(e))throw new Error("distance must be a number");for(var r=0,o=0;o<i.length&&!(e>=r&&o===i.length-1);o++){if(r>=e){var a=e-r;if(a){var s=ae(i[o],i[o-1])-180;return re(i[o],a,s,n)}return l(i[o])}r+=jt(i[o],i[o+1],n)}return l(i[i.length-1])},t.length=hn,t.lineSlice=function(t,e,n){var l=H(n);if("LineString"!==J(n))throw new Error("line must be a LineString");for(var i,r=$e(n,t),o=$e(n,e),s=[(i=r.properties.index<=o.properties.index?[r,o]:[o,r])[0].geometry.coordinates],u=i[0].properties.index+1;u<i[1].properties.index+1;u++)s.push(l[u]);return s.push(i[1].geometry.coordinates),a(s,n.properties)},t.lineSliceAlong=pn,t.pointGrid=_n,t.truncate=yn,t.flatten=function(t){if(!t)throw new Error("geojson is required");var e=[];return R(t,(function(t){e.push(t)})),u(e)},t.lineIntersect=qe,t.lineChunk=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=n.reverse;if(!t)throw new Error("geojson is required");if(e<=0)throw new Error("segmentLength must be greater than 0");var r=[];return R(t,(function(t){i&&(t.geometry.coordinates=t.geometry.coordinates.reverse()),function(t,e,n,l){var i=hn(t,{units:n});if(i<=e)return l(t);var r=i/e;Number.isInteger(r)||(r=Math.floor(r)+1);for(var o=0;o<r;o++)l(pn(t,e*o,e*(o+1),{units:n}))}(t,e,l,(function(t){r.push(t)}))})),u(r)},t.unkinkPolygon=function(t){var e=[];return R(t,(function(t){"Polygon"===t.geometry.type&&T(function(t){function e(){for(var t=[],e=0;e<f.features.length;e++)-1==f.features[e].properties.parent&&t.push(e);if(t.length>1)for(e=0;e<t.length;e++){for(var n=-1,l=0;l<f.features.length;l++)t[e]!=l&&Mt(f.features[t[e]].geometry.coordinates[0][0],f.features[l],{ignoreBoundary:!0})&&sn(f.features[l])<1/0&&(n=l);f.features[t[e]].properties.parent=n}}function n(){for(var t=0;t<f.features.length;t++)if(-1==f.features[t].properties.parent){var e=f.features[t].properties.winding;f.features[t].properties.netWinding=e,l(t,e)}}function l(t,e){for(var n=0;n<f.features.length;n++)if(f.features[n].properties.parent==t){var i=e+f.features[n].properties.winding;f.features[n].properties.netWinding=i,l(n,i)}}if("Feature"!=t.type)throw new Error("The input must a geojson object of type Feature");if(void 0===t.geometry||null==t.geometry)throw new Error("The input must a geojson object with a non-empty geometry");if("Polygon"!=t.geometry.type)throw new Error("The input must be a geojson Polygon");for(var i=t.geometry.coordinates.length,o=[],a=0;a<i;a++){var s=t.geometry.coordinates[a];Cn(s[0],s[s.length-1])||s.push(s[0]),o.push.apply(o,s.slice(0,s.length-1))}if(!function(t){for(var e={},n=1,l=0,i=t.length;l<i;++l){if(e.hasOwnProperty(t[l])){n=0;break}e[t[l]]=1}return n}(o))throw new Error("The input polygon may not have duplicate vertices (except for the first and last vertex of each ring)");var c=o.length,d=function(t,e,n){function l(t,n,l,i){var s,u,c=r[t][n],d=r[t][n+1],h=r[l][i],p=r[l][i+1],f=function(t,e,n,l){if(An(t,n)||An(t,l)||An(e,n)||An(l,n))return null;var i=t[0],r=t[1],o=e[0],a=e[1],s=n[0],u=n[1],c=l[0],d=l[1],h=(i-o)*(u-d)-(r-a)*(s-c);return 0===h?null:[((i*a-r*o)*(s-c)-(i-o)*(s*d-u*c))/h,((i*a-r*o)*(u-d)-(r-a)*(s*d-u*c))/h]}(c,d,h,p);if(null!==f&&(u=p[0]!==h[0]?(f[0]-h[0])/(p[0]-h[0]):(f[1]-h[1])/(p[1]-h[1]),!((s=d[0]!==c[0]?(f[0]-c[0])/(d[0]-c[0]):(f[1]-c[1])/(d[1]-c[1]))>=1||s<=0||u>=1||u<=0))){var b=!a[f];b&&(a[f]=!0),o.push(e?e(f,t,n,c,d,s,l,i,h,p,u,b):f)}}function i(t,e){var n,l,i,o,a=r[t][e],s=r[t][e+1];return a[0]<s[0]?(n=a[0],l=s[0]):(n=s[0],l=a[0]),a[1]<s[1]?(i=a[1],o=s[1]):(i=s[1],o=a[1]),{minX:n,minY:i,maxX:l,maxY:o,ring:t,edge:e}}if("Polygon"!==t.geometry.type)throw new Error("The input feature must be a Polygon");void 0===n&&(n=1);var r=t.geometry.coordinates,o=[],a={};if(n){for(var s=[],u=0;u<r.length;u++)for(var c=0;c<r[u].length-1;c++)s.push(i(u,c));var d=Dr();d.load(s)}for(var h=0;h<r.length;h++)for(var p=0;p<r[h].length-1;p++)if(n)d.search(i(h,p)).forEach((function(t){l(h,p,t.ring,t.edge)}));else for(var f=0;f<r.length;f++)for(var b=0;b<r[f].length-1;b++)l(h,p,f,b);return e||(o={type:"Feature",geometry:{type:"MultiPoint",coordinates:o}}),o}(t,(function(t,e,n,l,i,r,o,a,s,u,c,d){return[t,e,n,l,i,r,o,a,s,u,c,d]})),h=d.length;if(0==h){var p=[];for(a=0;a<i;a++)p.push(r([t.geometry.coordinates[a]],{parent:-1,winding:function(t){for(var e=0,n=0;n<t.length-1;n++)t[n][0]<t[e][0]&&(e=n);if(vn([t[(e-1).modulo(t.length-1)],t[e],t[(e+1).modulo(t.length-1)]],!0))var l=1;else l=-1;return l}(t.geometry.coordinates[a])}));var f=u(p);return e(),n(),f}var b=[],m=[];for(a=0;a<i;a++){b.push([]);for(var g=0;g<t.geometry.coordinates[a].length-1;g++)b[a].push([new oo(t.geometry.coordinates[a][(g+1).modulo(t.geometry.coordinates[a].length-1)],1,[a,g],[a,(g+1).modulo(t.geometry.coordinates[a].length-1)],void 0)]),m.push(new ao(t.geometry.coordinates[a][g],[a,(g-1).modulo(t.geometry.coordinates[a].length-1)],[a,g],void 0,void 0,!1,!0))}for(a=0;a<h;a++)b[d[a][1]][d[a][2]].push(new oo(d[a][0],d[a][5],[d[a][1],d[a][2]],[d[a][6],d[a][7]],void 0)),d[a][11]&&m.push(new ao(d[a][0],[d[a][1],d[a][2]],[d[a][6],d[a][7]],void 0,void 0,!0,!0));var _=m.length;for(a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)b[a][g].sort((function(t,e){return t.param<e.param?-1:1}));var y=[];for(a=0;a<_;a++)y.push({minX:m[a].coord[0],minY:m[a].coord[1],maxX:m[a].coord[0],maxY:m[a].coord[1],index:a});var A=Dr();for(A.load(y),a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)for(var v=0;v<b[a][g].length;v++){w=v==b[a][g].length-1?b[a][(g+1).modulo(t.geometry.coordinates[a].length-1)][0].coord:b[a][g][v+1].coord;var C=A.search({minX:w[0],minY:w[1],maxX:w[0],maxY:w[1]})[0];b[a][g][v].nxtIsectAlongEdgeIn=C.index}for(a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)for(v=0;v<b[a][g].length;v++){var w=b[a][g][v].coord,P=(C=A.search({minX:w[0],minY:w[1],maxX:w[0],maxY:w[1]})[0]).index;P<c?m[P].nxtIsectAlongRingAndEdge2=b[a][g][v].nxtIsectAlongEdgeIn:Cn(m[P].ringAndEdge1,b[a][g][v].ringAndEdgeIn)?m[P].nxtIsectAlongRingAndEdge1=b[a][g][v].nxtIsectAlongEdgeIn:m[P].nxtIsectAlongRingAndEdge2=b[a][g][v].nxtIsectAlongEdgeIn}var x=[];for(a=0,g=0;g<i;g++){var S=a;for(v=0;v<t.geometry.coordinates[g].length-1;v++)m[a].coord[0]<m[S].coord[0]&&(S=a),a++;var k=m[S].nxtIsectAlongRingAndEdge2;for(v=0;v<m.length;v++)if(m[v].nxtIsectAlongRingAndEdge1==S||m[v].nxtIsectAlongRingAndEdge2==S){var M=v;break}var O=vn([m[M].coord,m[S].coord,m[k].coord],!0)?1:-1;x.push({isect:S,parent:-1,winding:O})}for(x.sort((function(t,e){return m[t.isect].coord>m[e.isect].coord?-1:1})),p=[];x.length>0;){var D=x.pop(),T=D.isect,E=D.parent,I=D.winding,L=p.length,j=[m[T].coord],R=T;if(m[T].ringAndEdge1Walkable)var F=m[T].ringAndEdge1,N=m[T].nxtIsectAlongRingAndEdge1;else F=m[T].ringAndEdge2,N=m[T].nxtIsectAlongRingAndEdge2;for(;!Cn(m[T].coord,m[N].coord);){j.push(m[N].coord);var Y=void 0;for(a=0;a<x.length;a++)if(x[a].isect==N){Y=a;break}if(null!=Y&&x.splice(Y,1),Cn(F,m[N].ringAndEdge1)){if(F=m[N].ringAndEdge2,m[N].ringAndEdge2Walkable=!1,m[N].ringAndEdge1Walkable){var U={isect:N};vn([m[R].coord,m[N].coord,m[m[N].nxtIsectAlongRingAndEdge2].coord],1==I)?(U.parent=E,U.winding=-I):(U.parent=L,U.winding=I),x.push(U)}R=N,N=m[N].nxtIsectAlongRingAndEdge2}else F=m[N].ringAndEdge1,m[N].ringAndEdge1Walkable=!1,m[N].ringAndEdge2Walkable&&(U={isect:N},vn([m[R].coord,m[N].coord,m[m[N].nxtIsectAlongRingAndEdge1].coord],1==I)?(U.parent=E,U.winding=-I):(U.parent=L,U.winding=I),x.push(U)),R=N,N=m[N].nxtIsectAlongRingAndEdge1}j.push(m[N].coord),p.push(r([j],{index:L,parent:E,winding:I,netWinding:void 0}))}return f=u(p),e(),n(),f}(t),(function(n){e.push(r(n.geometry.coordinates,t.properties))}))})),u(e)},t.greatCircle=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.npoints,r=n.offset;return t=G(t),e=G(e),i=i||100,r=r||10,new fo({x:t[0],y:t[1]},{x:e[0],y:e[1]},l=l||{}).Arc(i,{offset:r}).json()},t.lineSegment=Ve,t.lineSplit=function(t,e){if(!t)throw new Error("line is required");if(!e)throw new Error("splitter is required");var n=J(t),l=J(e);if("LineString"!==n)throw new Error("line must be LineString");if("FeatureCollection"===l)throw new Error("splitter cannot be a FeatureCollection");if("GeometryCollection"===l)throw new Error("splitter cannot be a GeometryCollection");var i=yn(e,{precision:7});switch(l){case"Point":return Pn(t,i);case"MultiPoint":return wn(t,i);case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":return wn(t,qe(t,i))}},t.lineArc=kn,t.polygonToLine=On,t.lineToPolygon=Tn,t.bboxClip=function(t,e){var n=function(t){return t.geometry?t.geometry.type:t.type}(t),l=H(t),i=t.properties;switch(n){case"LineString":case"MultiLineString":var o=[];return"LineString"===n&&(l=[l]),l.forEach((function(t){bo(t,e,o)})),1===o.length?a(o[0],i):c(o,i);case"Polygon":return r(Fn(l,e),i);case"MultiPolygon":return h(l.map((function(t){return Fn(t,e)})),i);default:throw new Error("geometry "+n+" not supported")}},t.lineOverlap=zn,t.sector=function(t,e,n,l,i){if(!P(i=i||{}))throw new Error("options is invalid");if(!t)throw new Error("center is required");if(null==n)throw new Error("bearing1 is required");if(null==l)throw new Error("bearing2 is required");if(!e)throw new Error("radius is required");if("object"!=typeof i)throw new Error("options must be an object");if(Hn(n)===Hn(l))return oe(t,e,i);var o=H(t),a=[[o]];return k(kn(t,e,n,l,i),(function(t){a[0].push(t)})),a[0].push(o),r(a)},t.rhumbBearing=Xe,t.rhumbDistance=Je,t.rhumbDestination=Vn,t.polygonTangents=function(t,e){var n,i,r,o=H(t),a=H(e);switch(J(e)){case"Polygon":n=a[0][0],i=a[0][0],r=Wn(a[0][0],a[0][a[0].length-1],o);var s=qn(a[0],o,r,void 0,n,i);n=s[0],i=s[1];break;case"MultiPolygon":n=a[0][0][0],i=a[0][0][0],r=Wn(a[0][0][0],a[0][0][a[0][0].length-1],o),a.forEach((function(t){var e=qn(t[0],o,r,void 0,n,i);n=e[0],i=e[1]}))}return u([l(n),l(i)])},t.rewind=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.reverse||!1,l=e.mutate||!1;if(!t)throw new Error("<geojson> is required");if("boolean"!=typeof n)throw new Error("<reverse> must be a boolean");if("boolean"!=typeof l)throw new Error("<mutate> must be a boolean");!1===l&&(t=Rt(t));var i=[];switch(t.type){case"GeometryCollection":return L(t,(function(t){Xn(t,n)})),t;case"FeatureCollection":return T(t,(function(t){T(Xn(t,n),(function(t){i.push(t)}))})),u(i)}return Xn(t,n)},t.isobands=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.zProperty||"elevation",i=n.commonProperties||{},o=n.breaksProperties||[];if($(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks is not an Array");if(!P(i))throw new Error("commonProperties is not an Object");if(!Array.isArray(o))throw new Error("breaksProperties is not an Array");var a=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.zProperty||"elevation",l=e.flip,i=e.flags;$(t,"Point","input must contain Points");for(var r=function(t,e){var n={};return T(t,(function(t){var e=H(t)[1];n[e]||(n[e]=[]),n[e].push(t)})),Object.keys(n).map((function(t){return n[t].sort((function(t,e){return H(t)[0]-H(e)[0]}))})).sort((function(t,n){return e?H(t[0])[1]-H(n[0])[1]:H(n[0])[1]-H(t[0])[1]}))}(t,l),o=[],a=0;a<r.length;a++){for(var s=r[a],u=[],c=0;c<s.length;c++){var d=s[c];u.push(d.properties[n]?d.properties[n]:0),!0===i&&(d.properties.matrixPosition=[a,c])}o.push(u)}return o}(t,{zProperty:l,flip:!0}),s=function(t,e,n){for(var l=[],i=1;i<e.length;i++){var o=+e[i-1],a=+e[i],s=function(t){for(var e=t.map((function(t){return{lrCoordinates:t,grouped:!1}})),n=[];!function(t){for(var e=0;e<t.length;e++)if(!1===t[e].grouped)return!1;return!0}(e);)for(var l=0;l<e.length;l++)if(!e[l].grouped){var i=[];i.push(e[l].lrCoordinates),e[l].grouped=!0;for(var o=r([e[l].lrCoordinates]),a=l+1;a<e.length;a++)e[a].grouped||function(t,e){for(var n=ce(t),l=0;l<n.features.length;l++)if(!Mt(n.features[l],e))return!1;return!0}(r([e[a].lrCoordinates]),o)&&(i.push(e[a].lrCoordinates),e[a].grouped=!0);n.push(i)}return n}(function(t){var e=[],n=[];t.forEach((function(t){var l=sn(r([t]));n.push(l),e.push({ring:t,area:l})})),n.sort((function(t,e){return e-t}));var l=[];return n.forEach((function(t){for(var n=0;n<e.length;n++)if(e[n].area===t){l.push(e[n].ring),e.splice(n,1);break}})),l}(Qn(t,o,a-o))),u={};u.groupedRings=s,u[n]=o+"-"+a,l.push(u)}return l}(a,e,l);return u((s=function(t,e,n){var l=z(n),i=l[0],r=l[1],o=(l[2]-l[0])/(e[0].length-1),a=(l[3]-l[1])/(e.length-1),s=function(t){t[0]=t[0]*o+i,t[1]=t[1]*a+r};return t.forEach((function(t){t.groupedRings.forEach((function(t){t.forEach((function(t){t.forEach(s)}))}))})),t}(s,a,t)).map((function(t,e){if(o[e]&&!P(o[e]))throw new Error("Each mappedProperty is required to be an Object");var n=Object.assign({},i,o[e]);return n[l]=t[l],h(t.groupedRings,n)})))},t.transformRotate=el,t.transformScale=nl,t.transformTranslate=function(t,e,n,l){if(!P(l=l||{}))throw new Error("options is invalid");var i=l.units,r=l.zTranslation,o=l.mutate;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("distance is required");if(r&&"number"!=typeof r&&isNaN(r))throw new Error("zTranslation is not a number");if(r=void 0!==r?r:0,0===e&&0===r)return t;if(null==n||isNaN(n))throw new Error("direction is required");return e<0&&(e=-e,n=-n),!1!==o&&void 0!==o||(t=Rt(t)),k(t,(function(t){var l=H(Vn(t,e,n,{units:i}));t[0]=l[0],t[1]=l[1],r&&3===t.length&&(t[2]+=r)})),t},t.lineOffset=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("distance is required");var i=J(t),r=t.properties;switch(i){case"LineString":return ol(t,e,l);case"MultiLineString":var o=[];return R(t,(function(t){o.push(ol(t,e,l).geometry.coordinates)})),c(o,r);default:throw new Error("geometry "+i+" is not supported")}},t.polygonize=function(t){var e=fa.fromGeoJson(t);e.deleteDangles(),e.deleteCutEdges();var n=[],l=[];return e.getEdgeRings().filter((function(t){return t.isValid()})).forEach((function(t){t.isHole()?n.push(t):l.push(t)})),n.forEach((function(t){ha.findEdgeRingContaining(t,l)&&l.push(t)})),u(l.map((function(t){return t.toPolygon()})))},t.booleanDisjoint=function(t,e){var n;return R(t,(function(t){R(e,(function(e){if(!1===n)return!1;n=function(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t.coordinates,e.coordinates);case"LineString":return!ul(e,t);case"Polygon":return!Mt(t,e)}break;case"LineString":switch(e.type){case"Point":return!ul(t,e);case"LineString":return!function(t,e){return qe(t,e).features.length>0}(t,e);case"Polygon":return!cl(e,t)}break;case"Polygon":switch(e.type){case"Point":return!Mt(e,t);case"LineString":return!cl(t,e);case"Polygon":return!function(t,e){for(var n=0;n<t.coordinates[0].length;n++)if(Mt(t.coordinates[0][n],e))return!0;for(var l=0;l<e.coordinates[0].length;l++)if(Mt(e.coordinates[0][l],t))return!0;return!1}(e,t)}}}(t.geometry,e.geometry)}))})),n},t.booleanContains=function(t,e){var n=J(t),l=J(e),i=X(t),r=X(e),o=H(t),a=H(e);switch(n){case"Point":switch(l){case"Point":return hl(o,a);default:throw new Error("feature2 "+l+" geometry not supported")}case"MultiPoint":switch(l){case"Point":return function(t,e){var n,l=!1;for(n=0;n<t.coordinates.length;n++)if(hl(t.coordinates[n],e.coordinates)){l=!0;break}return l}(i,r);case"MultiPoint":return function(t,e){for(var n=0;n<e.coordinates.length;n++){for(var l=!1,i=0;i<t.coordinates.length;i++)if(hl(e.coordinates[n],t.coordinates[i])){l=!0;break}if(!l)return!1}return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"Point":return fn(r,i,{ignoreEndVertices:!0});case"LineString":return function(t,e){for(var n=!1,l=0;l<e.coordinates.length;l++)if(fn({type:"Point",coordinates:e.coordinates[l]},t,{ignoreEndVertices:!0})&&(n=!0),!fn({type:"Point",coordinates:e.coordinates[l]},t,{ignoreEndVertices:!1}))return!1;return n}(i,r);case"MultiPoint":return function(t,e){for(var n=!1,l=0;l<e.coordinates.length;l++)if(fn(e.coordinates[l],t,{ignoreEndVertices:!0})&&(n=!0),!fn(e.coordinates[l],t))return!1;return!!n}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"Point":return Mt(r,i,{ignoreBoundary:!0});case"LineString":return function(t,e){var n=!1,l=0;if(!dl(z(t),z(e)))return!1;for(;l<e.coordinates.length-1;l++)if(Mt({type:"Point",coordinates:function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(e.coordinates[l],e.coordinates[l+1])},t,{ignoreBoundary:!0})){n=!0;break}return n}(i,r);case"Polygon":return function(t,e){if(!dl(z(t),z(e)))return!1;for(var n=0;n<e.coordinates[0].length;n++)if(!Mt(e.coordinates[0][n],t))return!1;return!0}(i,r);case"MultiPoint":return function(t,e){for(var n=0;n<e.coordinates.length;n++)if(!Mt(e.coordinates[n],t,{ignoreBoundary:!0}))return!1;return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}},t.booleanCrosses=function(t,e){var n=J(t),l=J(e),i=X(t),r=X(e);switch(n){case"MultiPoint":switch(l){case"LineString":return pl(i,r);case"Polygon":return bl(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"MultiPoint":return pl(r,i);case"LineString":return function(t,e){if(qe(t,e).features.length>0)for(var n=0;n<t.coordinates.length-1;n++)for(var l=0;l<e.coordinates.length-1;l++){var i=!0;if(0!==l&&l!==e.coordinates.length-2||(i=!1),ml(t.coordinates[n],t.coordinates[n+1],e.coordinates[l],i))return!0}return!1}(i,r);case"Polygon":return fl(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"MultiPoint":return bl(r,i);case"LineString":return fl(r,i);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}},t.booleanClockwise=$n,t.booleanOverlap=Al,t.booleanPointOnLine=fn,t.booleanEqual=function(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");return J(t)===J(e)&&new ya({precision:6}).compare($t(t),$t(e))},t.booleanWithin=bn,t.clone=Rt,t.cleanCoords=$t,t.clustersDbscan=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.minPoints,i=n.units;if($(t,"Point","Input must contain Points"),null==e)throw new Error("maxDistance is required");if(!(Math.sign(e)>0))throw new Error("Invalid maxDistance");if(!(null==l||Math.sign(l)>0))throw new Error("Invalid minPoints");t=Rt(t),l=l||3;var r=new Pa.DBSCAN,o=-1;return r.run(I(t),v(e,i),l,jt).forEach((function(e){o++,e.forEach((function(e){var n=t.features[e];n.properties||(n.properties={}),n.properties.cluster=o,n.properties.dbscan="core"}))})),r.noise.forEach((function(e){var n=t.features[e];n.properties||(n.properties={}),n.properties.dbscan=n.properties.cluster?"edge":"noise"})),t},t.clustersKmeans=function(t,e){if("object"!=typeof(e=e||{}))throw new Error("options is invalid");var n=e.numberOfClusters,l=e.mutate;$(t,"Point","Input must contain Points");var i=t.features.length;(n=n||Math.round(Math.sqrt(i/2)))>i&&(n=i),!1!==l&&void 0!==l||(t=Rt(t));var r=I(t),o=r.slice(0,n),a=function(t,e,n,l){var i=[],r=[],o=[],a=[],s=!1,u=1e4,c=t.length,d=t[0].length,h=d>0,p=[];if(n)i="kmrand"==n?function(t,e){for(var n={},l=[],i=e<<2,r=t.length,o=t[0].length>0;l.length<e&&i-- >0;){var a=t[Math.floor(Math.random()*r)],s=o?a.join("_"):""+a;n[s]||(n[s]=!0,l.push(a))}if(l.length<e)throw new Error("Error initializating clusters");return l}(t,e):"kmpp"==n?function(t,e){var n=t[0].length?Sa:ka,l=[],i=t.length,r=t[0].length>0,o=t[Math.floor(Math.random()*i)];for(r&&o.join("_"),l.push(o);l.length<e;){for(var a=[],s=l.length,u=0,c=[],d=0;d<i;d++){for(var h=1/0,p=0;p<s;p++){var f=n(t[d],l[p]);f<=h&&(h=f)}a[d]=h}for(var b=0;b<i;b++)u+=a[b];for(var m=0;m<i;m++)c[m]={i:m,v:t[m],pr:a[m]/u,cs:0};c.sort((function(t,e){return t.pr-e.pr})),c[0].cs=c[0].pr;for(var g=1;g<i;g++)c[g].cs=c[g-1].cs+c[g].pr;for(var _=Math.random(),y=0;y<i-1&&c[y++].cs<_;);l.push(c[y-1].v)}return l}(t,e):n;else for(var f={};i.length<e;){var b=Math.floor(Math.random()*c);f[b]||(f[b]=!0,i.push(t[b]))}do{vl(e,0,p);for(var m=0;m<c;m++){for(var g=1/0,_=0,y=0;y<e;y++)(a=h?Ma(t[m],i[y]):Math.abs(t[m]-i[y]))<=g&&(g=a,_=y);o[m]=_,p[_]++}for(var A=[],v=(r=[],0);v<e;v++)A[v]=h?vl(d,0,A[v]):0,r[v]=i[v];if(h){for(var C=0;C<e;C++)i[C]=[];for(var w=0;w<c;w++)for(var P=A[o[w]],x=t[w],S=0;S<d;S++)P[S]+=x[S];s=!0;for(var k=0;k<e;k++){for(var M=i[k],O=A[k],D=r[k],T=p[k],E=0;E<d;E++)M[E]=O[E]/T||0;if(s)for(var I=0;I<d;I++)if(D[I]!=M[I]){s=!1;break}}}else{for(var L=0;L<c;L++)A[o[L]]+=t[L];for(var j=0;j<e;j++)i[j]=A[j]/p[j]||0;s=!0;for(var R=0;R<e;R++)if(r[R]!=i[R]){s=!1;break}}s=s||--u<=0}while(!s);return{it:1e4-u,k:e,idxs:o,centroids:i}}(r,n,o),s={};return a.centroids.forEach((function(t,e){s[e]=t})),T(t,(function(t,e){var n=a.idxs[e];t.properties.cluster=n,t.properties.centroid=s[n]})),t},t.pointToLineDistance=ln,t.booleanParallel=function(t,e){if(!t)throw new Error("line1 is required");if(!e)throw new Error("line2 is required");if("LineString"!==Cl(t,"line1"))throw new Error("line1 must be a LineString");if("LineString"!==Cl(e,"line2"))throw new Error("line2 must be a LineString");for(var n=Ve($t(t)).features,l=Ve($t(e)).features,i=0;i<n.length;i++){var r=n[i].geometry.coordinates;if(!l[i])break;if(!function(t,e){return _(Xe(t[0],t[1]))===_(Xe(e[0],e[1]))}(r,l[i].geometry.coordinates))return!1}return!0},t.shortestPath=function(t,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.resolution,o=i.minDistance,s=i.obstacles||u([]);if(!t)throw new Error("start is required");if(!n)throw new Error("end is required");if(r&&!w(r)||r<=0)throw new Error("options.resolution must be a number, greater than 0");if(o)throw new Error("options.minDistance is not yet implemented");var c=G(t),d=G(n);switch(t=l(c),n=l(d),J(s)){case"FeatureCollection":if(0===s.features.length)return a([c,d]);break;case"Polygon":s=u([e(X(s))]);break;default:throw new Error("invalid obstacles")}var h=s;h.features.push(t),h.features.push(n);var p=z(nl(ne(z(h)),1.15));r||(r=jt([p[0],p[1]],[p[2],p[1]],i)/100),h.features.pop(),h.features.pop();for(var f=p[0],b=p[1],m=p[2],g=p[3],_=r/jt([f,b],[m,b],i)*(m-f),y=r/jt([f,b],[f,g],i)*(g-b),A=m-f,v=g-b,C=(A-Math.floor(A/_)*_)/2,x=[],S=[],k=[],M=[],O=1/0,D=1/0,T=g-(v-Math.floor(v/y)*y)/2,E=0;T>=b;){for(var I=[],L=[],j=f+C,R=0;j<=m;){var F=l([j,T]),N=function(t,e){for(var n=0;n<e.features.length;n++)if(Mt(t,e.features[n]))return!0;return!1}(F,s);I.push(N?0:1),L.push(j+"|"+T);var Y=jt(F,t);!N&&Y<O&&(O=Y,k={x:R,y:E});var U=jt(F,n);!N&&U<D&&(D=U,M={x:R,y:E}),j+=_,R++}S.push(I),x.push(L),T-=y,E++}var B=new Pl(S,{diagonal:!0}),H=[c];return Oa.search(B,B.grid[k.y][k.x],B.grid[M.y][M.x]).forEach((function(t){var e=x[t.x][t.y].split("|");H.push([+e[0],+e[1]])})),H.push(d),$t(a(H))},t.voronoi=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox||[-180,-85,180,85];if(!t)throw new Error("points is required");if(!Array.isArray(n))throw new Error("bbox is invalid");return $(t,"Point","points"),u(function(){function t(t){return new Jl(t.map((function(l,i){var r=[Math.round(e(l,i,t)/Na)*Na,Math.round(n(l,i,t)/Na)*Na];return r.index=i,r.data=l,r})),l)}var e=kl,n=Ml,l=null;return t.polygons=function(e){return t(e).polygons()},t.links=function(e){return t(e).links()},t.triangles=function(e){return t(e).triangles()},t.x=function(n){return arguments.length?(e="function"==typeof n?n:Da(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Da(+e),t):n},t.extent=function(e){return arguments.length?(l=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],t):l&&[[l[0][0],l[0][1]],[l[1][0],l[1][1]]]},t.size=function(e){return arguments.length?(l=null==e?null:[[0,0],[+e[0],+e[1]]],t):l&&[l[1][0]-l[0][0],l[1][1]-l[0][1]]},t}().x((function(t){return t.geometry.coordinates[0]})).y((function(t){return t.geometry.coordinates[1]})).extent([[n[0],n[1]],[n[2],n[3]]]).polygons(t.features).map(Ql))},t.ellipse=Zl,t.centerMean=ei,t.centerMedian=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.counter||10;if(!w(n))throw new Error("counter must be a number");var l=e.weight,i=ei(t,{weight:e.weight}),r=u([]);return T(t,(function(t){r.features.push(ue(t,{weight:t.properties[l]}))})),r.properties={tolerance:e.tolerance,medianCandidates:[]},ni(i.geometry.coordinates,[0,0],r,n)},t.standardDeviationalEllipse=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.steps||64,l=e.weight,i=e.properties||{};if(!w(n))throw new Error("steps must be a number");if(!P(i))throw new Error("properties must be a number");var r=I(t).length,o=ei(t,{weight:l}),a=0,s=0,c=0;T(t,(function(t){var e=t.properties[l]||1,n=li(H(t),H(o));a+=Math.pow(n.x,2)*e,s+=Math.pow(n.y,2)*e,c+=n.x*n.y*e}));var d=a-s,h=Math.sqrt(Math.pow(d,2)+4*Math.pow(c,2)),p=Math.atan((d+h)/(2*c)),f=180*p/Math.PI,b=0,m=0,g=0;T(t,(function(t){var e=t.properties[l]||1,n=li(H(t),H(o));b+=Math.pow(n.x*Math.cos(p)-n.y*Math.sin(p),2)*e,m+=Math.pow(n.x*Math.sin(p)+n.y*Math.cos(p),2)*e,g+=e}));var _=Math.sqrt(2*b/g),y=Math.sqrt(2*m/g),A=Zl(o,_,y,{units:"degrees",angle:f,steps:n,properties:i}),v=Dt(t,u([A])),C={meanCenterCoordinates:H(o),semiMajorAxis:_,semiMinorAxis:y,numberOfFeatures:r,angle:f,percentageWithinEllipse:100*I(v).length/r};return A.properties.standardDeviationalEllipse=C,A},t.difference=function(t,n){var l=X(t),i=X(n),r=t.properties||{};if(l=Ti(l),i=Ti(i),!l)return null;if(!i)return e(l,r);var o=new Xu,a=o.read(l),s=o.read(i),u=Jh.difference(a,s);return u.isEmpty()?null:e((new Ku).write(u),r)},t.buffer=function(t,e,n){var l=(n=n||{}).units,i=n.steps||64;if(!t)throw new Error("geojson is required");if("object"!=typeof n)throw new Error("options must be an object");if("number"!=typeof i)throw new Error("steps must be an number");if(void 0===e)throw new Error("radius is required");if(i<=0)throw new Error("steps must be greater than 0");i=i||64,l=l||"kilometers";var r=[];switch(t.type){case"GeometryCollection":return L(t,(function(t){var n=sr(t,e,l,i);n&&r.push(n)})),u(r);case"FeatureCollection":return T(t,(function(t){var n=sr(t,e,l,i);n&&T(n,(function(t){t&&r.push(t)}))})),u(r)}return sr(t,e,l,i)},t.union=hr,t.intersect=pr,t.dissolve=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.propertyName;$(t,"Polygon","dissolve");var l=Rt(t),i=l.features,r=[];i.forEach((function(t,e){t.properties.origIndexPosition=e}));var o=ze();for(var s in o.load(l),i){var u=i[s],c=!1;if(o.search(u).features.forEach((function(t){u=i[s];var e=t.properties.origIndexPosition;if(r.length>0&&0!==e)if(e>r[r.length-1])e-=r.length;else{var l=fr(e,r);0!==l&&(e-=l)}if(e!==+s){var d=i[e];d&&u&&(void 0!==n&&d.properties[n]!==u.properties[n]||Al(u,d)&&function(t,e){return qe(a(I(t)),a(I(e))).features.length>0}(u,d)&&(i[s]=hr(u,d),r.push(t.properties.origIndexPosition),r.sort((function(t,e){return t-e})),o.remove(t),i.splice(e,1),u.properties.origIndexPosition=s,o.remove(u,(function(t,e){return t.properties.origIndexPosition===e.properties.origIndexPosition})),c=!0))}})),c){if(!u)continue;u.properties.origIndexPosition=s,o.insert(u),s--}}return i.forEach((function(t){delete t.properties.origIndexPosition,delete t.bbox})),l},t.hexGrid=br,t.mask=function(t,e){var n=function(t){return r(t&&t.geometry.coordinates||[[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]])}(e),l=function(t){var e=[],n=[];return R(t,(function(t){var l=t.geometry.coordinates,i=l[0],o=l.slice(1);e.push(r([i])),o.forEach((function(t){n.push(r([t]))}))})),[u(e),u(n)]}(t),i=l[0],o=l[1];return function(t,e,n){var l=[];return l.push(t.geometry.coordinates[0]),R(e,(function(t){l.push(t.geometry.coordinates[0])})),R(n,(function(t){l.push(t.geometry.coordinates[0])})),r(l)}(n,i=mr(i),o=mr(o))},t.squareGrid=_r,t.triangleGrid=yr,t.interpolate=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.gridType,i=n.property,r=n.weight;if(!t)throw new Error("points is required");if($(t,"Point","input must contain Points"),!e)throw new Error("cellSize is required");if(void 0!==r&&"number"!=typeof r)throw new Error("weight must be a number");i=i||"elevation",l=l||"square",r=r||1;var o,a=z(t);switch(l){case"point":case"points":o=_n(a,e,n);break;case"square":case"squares":o=_r(a,e,n);break;case"hex":case"hexes":o=br(a,e,n);break;case"triangle":case"triangles":o=yr(a,e,n);break;default:throw new Error("invalid gridType")}var s=[];return T(o,(function(e){var o=0,a=0;T(t,(function(t){var s,u=jt("point"===l?e:ue(e),t,n);if(void 0!==i&&(s=t.properties[i]),void 0===s&&(s=t.geometry.coordinates[2]),void 0===s)throw new Error("zValue is missing");0===u&&(o=s);var c=1/Math.pow(u,r);a+=c,o+=c*s}));var u=Rt(e);u.properties[i]=o/a,s.push(u)})),u(s)},t.pointOnSurface=on,t.polygonToLineString=On,t.lineStringToPolygon=Tn,t.inside=Mt,t.within=Dt,t.bezier=ee,t.nearest=ke,t.pointOnLine=$e,t.lineDistance=hn,t.radians2degrees=y,t.degrees2radians=A,t.distanceToDegrees=g,t.distanceToRadians=m,t.radiansToDistance=b,t.bearingToAngle=_,t.convertDistance=v,t.toMercator=Qe,t.toWgs84=Ze,t.randomPosition=ii,t.randomPoint=ri,t.randomPolygon=oi,t.randomLineString=ai,t.getCluster=ui,t.clusterEach=ci,t.clusterReduce=di,t.createBins=hi,t.applyFilter=pi,t.propertiesContainsFilter=fi,t.filterProperties=bi,t.earthRadius=Ar,t.factors=vr,t.unitsFactors=Cr,t.areaFactors=wr,t.feature=e,t.geometry=n,t.point=l,t.points=i,t.polygon=r,t.polygons=o,t.lineString=a,t.lineStrings=s,t.featureCollection=u,t.multiLineString=c,t.multiPoint=d,t.multiPolygon=h,t.geometryCollection=p,t.round=f,t.radiansToLength=b,t.lengthToRadians=m,t.lengthToDegrees=g,t.bearingToAzimuth=_,t.radiansToDegrees=y,t.degreesToRadians=A,t.convertLength=v,t.convertArea=C,t.isNumber=w,t.isObject=P,t.validateBBox=x,t.validateId=S,t.getCoord=G,t.getCoords=H,t.containsNumber=V,t.geojsonType=q,t.featureOf=W,t.collectionOf=$,t.getGeom=X,t.getGeomType=K,t.getType=J,t.coordEach=k,t.coordReduce=M,t.propEach=O,t.propReduce=D,t.featureEach=T,t.featureReduce=E,t.coordAll=I,t.geomEach=L,t.geomReduce=j,t.flattenEach=R,t.flattenReduce=F,t.segmentEach=N,t.segmentReduce=Y,t.lineEach=U,t.lineReduce=B,Object.defineProperty(t,"__esModule",{value:!0})}(e)},WYrj:function(t,e,n){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},WiHW:function(t,e){var n=1e3,l=6e4,i=60*l,r=24*i;function o(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var a,s=typeof t;if("string"===s&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*r;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*l;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(t);if("number"===s&&!1===isNaN(t))return e.long?o(a=t,r,"day")||o(a,i,"hour")||o(a,l,"minute")||o(a,n,"second")||a+" ms":function(t){return t>=r?Math.round(t/r)+"d":t>=i?Math.round(t/i)+"h":t>=l?Math.round(t/l)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},Wm4p:function(t,e,n){var l,i=n("dkv/"),r=n("WLGk"),o=n("ypnn"),a=n("zMFY"),s=n("oIG/");"undefined"!=typeof ArrayBuffer&&(l=n("g5Dd"));var u="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),c="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=u||c;e.protocol=3;var h=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=i(h),f={type:"error",data:"parser error"},b=n("14A5");function m(t,e,n){for(var l=new Array(t.length),i=a(t.length,n),r=function(t,n,i){e(n,(function(e,n){l[t]=n,i(e,l)}))},o=0;o<t.length;o++)r(o,t[o],i)}e.encodePacket=function(t,n,l,i){"function"==typeof n&&(i=n,n=!1),"function"==typeof l&&(i=l,l=null);var r=void 0===t.data?void 0:t.data.buffer||t.data;if("undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);var i=t.data,r=new Uint8Array(i),o=new Uint8Array(1+i.byteLength);o[0]=h[t.type];for(var a=0;a<r.length;a++)o[a+1]=r[a];return l(o.buffer)}(t,n,i);if(void 0!==b&&r instanceof b)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);if(d)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);var i=new FileReader;return i.onload=function(){e.encodePacket({type:t.type,data:i.result},n,!0,l)},i.readAsArrayBuffer(t.data)}(t,n,l);var i=new Uint8Array(1);return i[0]=h[t.type],l(new b([i.buffer,t.data]))}(t,n,i);if(r&&r.base64)return function(t,n){return n("b"+e.packets[t.type]+t.data.data)}(t,i);var o=h[t.type];return void 0!==t.data&&(o+=l?s.encode(String(t.data),{strict:!1}):String(t.data)),i(""+o)},e.encodeBase64Packet=function(t,n){var l,i="b"+e.packets[t.type];if(void 0!==b&&t.data instanceof b){var r=new FileReader;return r.onload=function(){var t=r.result.split(",")[1];n(i+t)},r.readAsDataURL(t.data)}try{l=String.fromCharCode.apply(null,new Uint8Array(t.data))}catch(u){for(var o=new Uint8Array(t.data),a=new Array(o.length),s=0;s<o.length;s++)a[s]=o[s];l=String.fromCharCode.apply(null,a)}return i+=btoa(l),n(i)},e.decodePacket=function(t,n,l){if(void 0===t)return f;if("string"==typeof t){if("b"===t.charAt(0))return e.decodeBase64Packet(t.substr(1),n);if(l&&!1===(t=function(t){try{t=s.decode(t,{strict:!1})}catch(e){return!1}return t}(t)))return f;var i=t.charAt(0);return Number(i)==i&&p[i]?t.length>1?{type:p[i],data:t.substring(1)}:{type:p[i]}:f}i=new Uint8Array(t)[0];var r=o(t,1);return b&&"blob"===n&&(r=new b([r])),{type:p[i],data:r}},e.decodeBase64Packet=function(t,e){var n=p[t.charAt(0)];if(!l)return{type:n,data:{base64:!0,data:t.substr(1)}};var i=l.decode(t.substr(1));return"blob"===e&&b&&(i=new b([i])),{type:n,data:i}},e.encodePayload=function(t,n,l){"function"==typeof n&&(l=n,n=null);var i=r(t);return n&&i?b&&!d?e.encodePayloadAsBlob(t,l):e.encodePayloadAsArrayBuffer(t,l):t.length?void m(t,(function(t,l){e.encodePacket(t,!!i&&n,!1,(function(t){l(null,function(t){return t.length+":"+t}(t))}))}),(function(t,e){return l(e.join(""))})):l("0:")},e.decodePayload=function(t,n,l){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,l);var i;if("function"==typeof n&&(l=n,n=null),""===t)return l(f,0,1);for(var r,o,a="",s=0,u=t.length;s<u;s++){var c=t.charAt(s);if(":"===c){if(""===a||a!=(r=Number(a)))return l(f,0,1);if(a!=(o=t.substr(s+1,r)).length)return l(f,0,1);if(o.length){if(i=e.decodePacket(o,n,!1),f.type===i.type&&f.data===i.data)return l(f,0,1);if(!1===l(i,s+r,u))return}s+=r,a=""}else a+=c}return""!==a?l(f,0,1):void 0},e.encodePayloadAsArrayBuffer=function(t,n){if(!t.length)return n(new ArrayBuffer(0));m(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){return n(null,t)}))}),(function(t,e){var l=e.reduce((function(t,e){var n;return t+(n="string"==typeof e?e.length:e.byteLength).toString().length+n+2}),0),i=new Uint8Array(l),r=0;return e.forEach((function(t){var e="string"==typeof t,n=t;if(e){for(var l=new Uint8Array(t.length),o=0;o<t.length;o++)l[o]=t.charCodeAt(o);n=l.buffer}i[r++]=e?0:1;var a=n.byteLength.toString();for(o=0;o<a.length;o++)i[r++]=parseInt(a[o]);for(i[r++]=255,l=new Uint8Array(n),o=0;o<l.length;o++)i[r++]=l[o]})),n(i.buffer)}))},e.encodePayloadAsBlob=function(t,n){m(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){var e=new Uint8Array(1);if(e[0]=1,"string"==typeof t){for(var l=new Uint8Array(t.length),i=0;i<t.length;i++)l[i]=t.charCodeAt(i);t=l.buffer,e[0]=0}var r=(t instanceof ArrayBuffer?t.byteLength:t.size).toString(),o=new Uint8Array(r.length+1);for(i=0;i<r.length;i++)o[i]=parseInt(r[i]);if(o[r.length]=255,b){var a=new b([e.buffer,o.buffer,t]);n(null,a)}}))}),(function(t,e){return n(new b(e))}))},e.decodePayloadAsBinary=function(t,n,l){"function"==typeof n&&(l=n,n=null);for(var i=t,r=[];i.byteLength>0;){for(var a=new Uint8Array(i),s=0===a[0],u="",c=1;255!==a[c];c++){if(u.length>310)return l(f,0,1);u+=a[c]}i=o(i,2+u.length),u=parseInt(u);var d=o(i,0,u);if(s)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(b){var h=new Uint8Array(d);for(d="",c=0;c<h.length;c++)d+=String.fromCharCode(h[c])}r.push(d),i=o(i,u)}var p=r.length;r.forEach((function(t,i){l(e.decodePacket(t,n,!0),i,p)}))}},Wv91:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var l=t%10;return t+(e[l]||e[t%100-l]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,l){var i=t;switch(n){case"s":return l||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return i+(l||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(l||e?" perc":" perce");case"mm":return i+(l||e?" perc":" perce");case"h":return"egy"+(l||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(l||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(l||e?" nap":" napja");case"dd":return i+(l||e?" nap":" napja");case"M":return"egy"+(l||e?" h\xf3nap":" h\xf3napja");case"MM":return i+(l||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(l||e?" \xe9v":" \xe9ve");case"yy":return i+(l||e?" \xe9v":" \xe9ve")}return""}function l(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return l.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return l.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Wxz7:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},X0qu:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getManyBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseCollectionControllerCollectionPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseCollectionControllerCollection(t){return this.getManyBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseCollectionControllerCollectionPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseCollectionControllerCollection(t){return this.createOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseCollectionControllerCollectionPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseCollectionControllerCollection(t){return this.getOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseCollectionControllerCollectionPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseCollectionControllerCollection(t){return this.deleteOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseCollectionControllerCollectionPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseCollectionControllerCollection(t){return this.updateOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetManyBaseCollectionControllerCollectionPath="/collection",t.CreateOneBaseCollectionControllerCollectionPath="/collection",t.GetOneBaseCollectionControllerCollectionPath="/collection/{id}",t.DeleteOneBaseCollectionControllerCollectionPath="/collection/{id}",t.UpdateOneBaseCollectionControllerCollectionPath="/collection/{id}",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},X1gR:function(t,e,n){var l,i,r;i=[n("7drA")],void 0===(r="function"==typeof(l=function(t){"use strict";var e={};function n(n,l,i){var r,o,a,s,u,c;for("string"==typeof l&&(l=parseInt(l,10)),l=l||5,o=n.northing,"S"===n.hemisphere&&(o+=e.NORTHING_OFFSET),a=t.findGridLetters(n.zoneNumber,o,r=n.easting),s=Math.round(o)%e.BLOCK_SIZE,u=Math.round(r)%e.BLOCK_SIZE,s=Math.floor(s/Math.pow(10,5-l)),u=Math.floor(u/Math.pow(10,5-l)),c=String(u).length;c<l;c+=1)u="0"+u;for(c=String(s).length;c<l;c+=1)s="0"+s;return"string"==typeof i&&"object"===i?{zone:n.zoneNumber+n.zoneLetter,square:a,easting:u,northing:s}:n.zoneNumber+n.zoneLetter+" "+a+" "+u+" "+s}return function(l){return e=l,t=t(l),n}})?l.apply(e,i):l)||(t.exports=r)},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDhV:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return d})),n.d(e,"c",(function(){return p}));var l=n("kvpX"),i=n("f8l7"),r=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,o=/^([a-z]*)$|^hsla?\(.*\)$/i;function a(t){return"string"==typeof t?t:p(t)}var s,u,c=(s={},u=0,function(t){var e;if(s.hasOwnProperty(t))e=s[t];else{if(u>=1024){var n=0;for(var i in s)0==(3&n++)&&(delete s[i],--u)}e=function(t){var e,n,i,a,s;if(o.exec(t)&&(t=function(t){var e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}return""}(t)),r.exec(t)){var u,c=t.length-1;u=c<=4?1:2;var d=4===c||8===c;e=parseInt(t.substr(1+0*u,u),16),n=parseInt(t.substr(1+1*u,u),16),i=parseInt(t.substr(1+2*u,u),16),a=d?parseInt(t.substr(1+3*u,u),16):255,1==u&&(e=(e<<4)+e,n=(n<<4)+n,i=(i<<4)+i,d&&(a=(a<<4)+a)),s=[e,n,i,a/255]}else 0==t.indexOf("rgba(")?h(s=t.slice(5,-1).split(",").map(Number)):0==t.indexOf("rgb(")?((s=t.slice(4,-1).split(",").map(Number)).push(1),h(s)):Object(l.a)(!1,14);return s}(t),s[t]=e,++u}return e});function d(t){return Array.isArray(t)?t:c(t)}function h(t){return t[0]=Object(i.a)(t[0]+.5|0,0,255),t[1]=Object(i.a)(t[1]+.5|0,0,255),t[2]=Object(i.a)(t[2]+.5|0,0,255),t[3]=Object(i.a)(t[3],0,1),t}function p(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var n=t[1];n!=(0|n)&&(n=n+.5|0);var l=t[2];return l!=(0|l)&&(l=l+.5|0),"rgba("+e+","+n+","+l+","+(void 0===t[3]?1:t[3])+")"}},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XEuL:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var l=['.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-Index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:12px;z-Index:11;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-text{position:absolute;font-size:14px;text-align:center;bottom:25px;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-singlebar{position:relative;height:10px;z-Index:9;border:1px solid #000}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-overlaycontainer,.ol-overlaycontainer-stopevent{pointer-events:none}.ol-overlaycontainer-stopevent>*,.ol-overlaycontainer>*{pointer-events:auto}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:rgba(255,255,255,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:rgba(255,255,255,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-control button span{pointer-events:none}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}']},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var l=n("HDdC"),i=n("7o/Q"),r=n("quSY"),o=n("9ppp"),a=n("Ylt2"),s=n("2QA8");class u extends i.a{constructor(t){super(t),this.destination=t}}let c=(()=>{class t extends l.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[s.a](){return new u(this)}lift(t){const e=new d(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,l=e.slice();for(let i=0;i<n;i++)l[i].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,l=e.slice();for(let i=0;i<n;i++)l[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let l=0;l<e;l++)n[l].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.isStopped?(t.complete(),r.a.EMPTY):(this.observers.push(t),new a.a(this,t))}asObservable(){const t=new l.a;return t.source=this,t}}return t.create=(t,e)=>new d(t,e),t})();class d extends c{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.a.EMPTY}}},XYOC:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeControllerNotificationTypePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeControllerNotificationType(t){return this.getOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeControllerNotificationTypePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeControllerNotificationType(t){return this.replaceOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeControllerNotificationTypePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeControllerNotificationType(t){return this.deleteOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeControllerNotificationTypePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeControllerNotificationType(t){return this.updateOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeControllerNotificationTypePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeControllerNotificationType(t){return this.getManyBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeControllerNotificationTypePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeControllerNotificationType(t){return this.createOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeControllerNotificationTypePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeControllerNotificationType(t){return this.createManyBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.ReplaceOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.DeleteOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.UpdateOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.GetManyBaseNotificationTypeControllerNotificationTypePath="/notification_type",t.CreateOneBaseNotificationTypeControllerNotificationTypePath="/notification_type",t.CreateManyBaseNotificationTypeControllerNotificationTypePath="/notification_type/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Xd0L:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("cUpR");const r=new l.W("8.2.3");var o=n("KCVW"),a=n("XNiG"),s=n("HDdC"),u=n("/HVE"),c=n("JX91"),d=n("5GAg"),h=n("dvZr");n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f})),n.d(e,"n",(function(){return g})),n.d(e,"f",(function(){return m})),n.d(e,"G",(function(){return _})),n.d(e,"E",(function(){return y})),n.d(e,"F",(function(){return A})),n.d(e,"J",(function(){return v})),n.d(e,"H",(function(){return C})),n.d(e,"I",(function(){return w})),n.d(e,"A",(function(){return j})),n.d(e,"q",(function(){return R})),n.d(e,"h",(function(){return P})),n.d(e,"c",(function(){return x})),n.d(e,"g",(function(){return S})),n.d(e,"z",(function(){return I})),n.d(e,"k",(function(){return L})),n.d(e,"d",(function(){return F})),n.d(e,"i",(function(){return N})),n.d(e,"e",(function(){return B})),n.d(e,"K",(function(){return G})),n.d(e,"o",(function(){return z})),n.d(e,"p",(function(){return V})),n.d(e,"t",(function(){return ht})),n.d(e,"C",(function(){return ct})),n.d(e,"D",(function(){return dt})),n.d(e,"u",(function(){return at})),n.d(e,"l",(function(){return st})),n.d(e,"s",(function(){return ut})),n.d(e,"r",(function(){return rt})),n.d(e,"j",(function(){return pt})),n.d(e,"y",(function(){return Z})),n.d(e,"m",(function(){return J})),n.d(e,"x",(function(){return Q})),n.d(e,"B",(function(){return K})),n.d(e,"w",(function(){return et})),n.d(e,"v",(function(){return tt}));let p=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),f=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const b=new l.W("8.2.3"),m=new l.w("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});class g{constructor(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_areChecksEnabled(){return this._sanityChecksEnabled&&Object(l.hb)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._document||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){b.full!==r.full&&console.warn("The Angular Material version ("+b.full+") does not match the Angular CDK version ("+r.full+").\nPlease ensure the versions of these two packages exactly match.")}_checkHammerIsAvailable(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}function _(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}}}function y(t,e){return class extends t{get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}constructor(...t){super(...t),this.color=e}}}function A(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(o.c)(t)}}}function v(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function C(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new a.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function w(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new s.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const P=new l.w("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(l.gb)(l.A)}});class x{constructor(){this._localeChanges=new a.a}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),l=this.isValid(e);return n&&l?!this.compareDate(t,e):n==l}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const S=new l.w("mat-date-formats");let k;try{k="undefined"!=typeof Intl}catch(ft){k=!1}const M={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},O=E(31,t=>String(t+1)),D={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},T=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function E(t,e){const n=Array(t);for(let l=0;l<t;l++)n[l]=e(l);return n}class I extends x{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return E(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return M[t]}getDateNames(){if(k){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return E(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return O}getDayOfWeekNames(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return E(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return D[t]}getYearName(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);let l=this._createDateWithOverflow(t,e,n);if(l.getMonth()!=e)throw Error(`Invalid date "${n}" for month with index "${e}".`);return l}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(k){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign({},e,{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(T.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const l=new Date(t,e,n);return t>=0&&t<100&&l.setFullYear(this.getYear(l)-1900),l}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}const L={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};class j{}class R{}let F=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const N=new l.w("MAT_HAMMER_OPTIONS"),Y=["longpress","slide","slidestart","slideend","slideright","slideleft"],U={on:()=>{},off:()=>{}};class B extends i.g{constructor(t,e){super(),this._hammerOptions=t,this.events=Y,e&&e._checkHammerIsAvailable()}buildHammer(t){const e="undefined"!=typeof window?window.Hammer:null;if(!e)return U;const n=new e(t,this._hammerOptions||void 0),l=new e.Pan,i=new e.Swipe,r=new e.Press,o=this._createRecognizer(l,{event:"slide",threshold:0},i),a=this._createRecognizer(r,{event:"longpress",time:500});return l.recognizeWith(i),a.recognizeWith(o),n.add([i,r,l,o,a]),n}_createRecognizer(t,e,...n){let l=new t.constructor(e);return n.push(t),n.forEach(t=>l.recognizeWith(t)),l}}class z{}function G(t,e){t.changes.pipe(Object(c.a)(t)).subscribe(({length:t})=>{H(e,"mat-2-line",!1),H(e,"mat-3-line",!1),H(e,"mat-multi-line",!1),2===t||3===t?H(e,`mat-${t}-line`,!0):t>3&&H(e,"mat-multi-line",!0)})}function H(t,e,n){const l=t.nativeElement.classList;n?l.add(e):l.remove(e)}class V{}const q=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}();class W{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=q.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const $={enterDuration:450,exitDuration:400},X=Object(u.g)({passive:!0});class K{constructor(t,e,n,l){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(d.k)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(t.state===q.VISIBLE||t.config.terminateOnPointerUp&&t.state===q.FADING_IN)&&t.fadeOut()}))},l.isBrowser&&(this._containerElement=Object(o.e)(n),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,n={}){const l=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign({},$,n.animation);n.centered&&(t=l.left+l.width/2,e=l.top+l.height/2);const r=n.radius||function(t,e,n){const l=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(l*l+i*i)}(t,e,l),o=t-l.left,a=e-l.top,s=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=o-r+"px",u.style.top=a-r+"px",u.style.height=2*r+"px",u.style.width=2*r+"px",u.style.backgroundColor=n.color||null,u.style.transitionDuration=s+"ms",this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const c=new W(this,u,n);return c.state=q.FADING_IN,this._activeRipples.add(c),n.persistent||(this._mostRecentTransientRipple=c),this._runTimeoutOutsideZone(()=>{const t=c===this._mostRecentTransientRipple;c.state=q.VISIBLE,n.persistent||t&&this._isPointerDown||c.fadeOut()},s),c}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,l=Object.assign({},$,t.config.animation);n.style.transitionDuration=l.exitDuration+"ms",n.style.opacity="0",t.state=q.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=q.HIDDEN,n.parentNode.removeChild(n)},l.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(o.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,X)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,X)})}}const J=new l.w("mat-ripple-global-options");class Q{constructor(t,e,n,l,i){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new K(this,e,t,n),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign({},this.rippleConfig,t))}}class Z{}class tt{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}class et{}class nt{}const lt=_(nt);let it=0;class rt extends lt{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+it++}}let ot=0;class at{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const st=new l.w("MAT_OPTION_PARENT_COMPONENT");class ut{constructor(t,e,n,i){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ot++,this.onSelectionChange=new l.r,this._stateChanges=new a.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==h.g&&t.keyCode!==h.o||Object(h.t)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new at(this,t))}}function ct(t,e,n){if(n.length){let l=e.toArray(),i=n.toArray(),r=0;for(let e=0;e<t+1;e++)l[e].group&&l[e].group===i[r]&&r++;return r}return 0}function dt(t,e,n,l){const i=t*e;return i<n?i:i+e>n+l?Math.max(0,i-l+e):n}class ht{}const pt=new l.w("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function l(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return l}))},XrFG:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("TN97"),i=n("egkh"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=(n("w+w1"),n("SSvb"));class u{constructor(){this.traceFeature=void 0}ngOnInit(){this.updateTrace()}ngOnDestroy(){this.cleanTrace()}updateTrace(){if(this.cleanTrace(),this.aircraft.toAirport){const t=a.greatCircle([this.aircraft.longitude,this.aircraft.latitude],[this.aircraft.toAirport.longitude,this.aircraft.toAirport.latitude]),e=Object(s.a)(t.geometry.coordinates);this.traceFeature=new l.a({geometry:new i.a(e),id_:"PROSPECTIVE-TRACE"}),this.traceFeature.setStyle(new r.b({stroke:new o.a({color:"red",width:3,lineDash:[1,5]})})),this.source.addFeature(this.traceFeature)}}cleanTrace(){this.traceFeature&&this.source.removeFeature(this.traceFeature)}}},Xu5n:function(t,e,n){"use strict";var l,i=n("4wAk"),r=n("GDrd"),o=n("zvco"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.map=n,i.frameState=void 0!==l?l:null,i}return a(e,t),e}(o.a),u=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),c=function(t){function e(e,n,l,i,r){var o=t.call(this,e,n,r)||this;return o.originalEvent=l,o.pixel_=null,o.coordinate_=null,o.dragging=void 0!==i&&i,o}return u(e,t),Object.defineProperty(e.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(t){this.pixel_=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(t){this.coordinate_=t},enumerable:!0,configurable:!0}),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){t.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()},e}(s),d=(n("pg82"),n("YX0d")),h=n("Cy2j"),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e,n,l,i,r){var o=t.call(this,e,n,l,i,r)||this;return o.pointerEvent=l,o}return p(e,t),e}(c),b=n("Ho3V"),m=n("DsAt"),g=n("0Hnp"),_=n("AdTM"),y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),A=function(t){function e(e,n){var l=t.call(this,e)||this;l.map_=e,l.dragging_=!1,l.dragListenerKeys_=[],l.moveTolerance_=n?n*d.a:d.a,l.down_=null;var i=l.map_.getViewport();return l.activePointers_=0,l.trackedTouches_={},l.element_=i,l.pointerdownListenerKey_=Object(b.a)(i,g.a.POINTERDOWN,l.handlePointerDown_,l),l.relayedListenerKey_=Object(b.a)(i,g.a.POINTERMOVE,l.relayEvent_,l),l.boundHandleTouchMove_=l.handleTouchMove_.bind(l),l.element_.addEventListener(_.a.TOUCHMOVE,l.boundHandleTouchMove_,!!d.e&&{passive:!1}),l}return y(e,t),e.prototype.emulateClick_=function(t){var e=new f(h.a.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new f(h.a.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout((function(){this.clickTimeoutId_=void 0;var e=new f(h.a.SINGLECLICK,this.map_,t);this.dispatchEvent(e)}).bind(this),250)},e.prototype.updateActivePointers_=function(t){var e=t;e.type==h.a.POINTERUP||e.type==h.a.POINTERCANCEL?delete this.trackedTouches_[e.pointerId]:e.type==h.a.POINTERDOWN&&(this.trackedTouches_[e.pointerId]=!0),this.activePointers_=Object.keys(this.trackedTouches_).length},e.prototype.handlePointerUp_=function(t){this.updateActivePointers_(t);var e=new f(h.a.POINTERUP,this.map_,t);this.dispatchEvent(e),e.propagationStopped||this.dragging_||!this.isMouseActionButton_(t)||this.emulateClick_(this.down_),0===this.activePointers_&&(this.dragListenerKeys_.forEach(b.c),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)},e.prototype.isMouseActionButton_=function(t){return 0===t.button},e.prototype.handlePointerDown_=function(t){this.updateActivePointers_(t);var e=new f(h.a.POINTERDOWN,this.map_,t);this.dispatchEvent(e),this.down_=t,0===this.dragListenerKeys_.length&&this.dragListenerKeys_.push(Object(b.a)(document,h.a.POINTERMOVE,this.handlePointerMove_,this),Object(b.a)(document,h.a.POINTERUP,this.handlePointerUp_,this),Object(b.a)(this.element_,h.a.POINTERCANCEL,this.handlePointerUp_,this))},e.prototype.handlePointerMove_=function(t){if(this.isMoving_(t)){this.dragging_=!0;var e=new f(h.a.POINTERDRAG,this.map_,t,this.dragging_);this.dispatchEvent(e)}},e.prototype.relayEvent_=function(t){this.originalPointerMoveEvent_=t;var e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new f(t.type,this.map_,t,e))},e.prototype.handleTouchMove_=function(t){this.originalPointerMoveEvent_&&!this.originalPointerMoveEvent_.defaultPrevented||t.preventDefault()},e.prototype.isMoving_=function(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(b.c)(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(_.a.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Object(b.c)(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(b.c),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(m.a),v=n("WS2v"),C=n("Bw0W"),w=n("4mld"),P=n("e0/R"),x=n("rMEb"),S=n("kvpX"),k=n("OPOH"),M=function(){function t(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(k.b)(this.queuedElements_)},t.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var l=this.keyFunction_(n);return delete this.queuedElements_[l],n},t.prototype.enqueue=function(t){Object(S.a)(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);return e!=1/0&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(t){return 2*t+1},t.prototype.getRightChildIndex_=function(t){return 2*t+2},t.prototype.getParentIndex_=function(t){return t-1>>1},t.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},t.prototype.isEmpty=function(){return 0===this.elements_.length},t.prototype.isKeyQueued=function(t){return t in this.queuedElements_},t.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},t.prototype.siftUp_=function(t){for(var e=this.elements_,n=this.priorities_,l=e.length,i=e[t],r=n[t],o=t;t<l>>1;){var a=this.getLeftChildIndex_(t),s=this.getRightChildIndex_(t),u=s<l&&n[s]<n[a]?s:a;e[t]=e[u],n[t]=n[u],t=u}e[t]=i,n[t]=r,this.siftDown_(o,t)},t.prototype.siftDown_=function(t,e){for(var n=this.elements_,l=this.priorities_,i=n[e],r=l[e];e>t;){var o=this.getParentIndex_(e);if(!(l[o]>r))break;n[e]=n[o],l[e]=l[o],e=o}n[e]=i,l[e]=r},t.prototype.reprioritize=function(){var t,e,n,l=this.priorityFunction_,i=this.elements_,r=this.priorities_,o=0,a=i.length;for(e=0;e<a;++e)(n=l(t=i[e]))==1/0?delete this.queuedElements_[this.keyFunction_(t)]:(r[o]=n,i[o++]=t);i.length=o,r.length=o,this.heapify_()},t}(),O=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),D=function(t){function e(e,n){var l=t.call(this,(function(t){return e.apply(null,t)}),(function(t){return t[0].getKey()}))||this;return l.boundHandleTileChange_=l.handleTileChange.bind(l),l.tileChangeCallback_=n,l.tilesLoading_=0,l.tilesLoadingKeys_={},l}return O(e,t),e.prototype.enqueue=function(e){var n=t.prototype.enqueue.call(this,e);return n&&e[0].addEventListener(_.a.CHANGE,this.boundHandleTileChange_),n},e.prototype.getTilesLoading=function(){return this.tilesLoading_},e.prototype.handleTileChange=function(t){var e=t.target,n=e.getState();if(e.hifi&&n===x.a.LOADED||n===x.a.ERROR||n===x.a.EMPTY){e.removeEventListener(_.a.CHANGE,this.boundHandleTileChange_);var l=e.getKey();l in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[l],--this.tilesLoading_),this.tileChangeCallback_()}},e.prototype.loadMoreTiles=function(t,e){for(var n,l,i=0;this.tilesLoading_<t&&i<e&&this.getCount()>0;)l=(n=this.dequeue()[0]).getKey(),n.getState()!==x.a.IDLE||l in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[l]=!0,++this.tilesLoading_,++i,n.load())},e}(M),T=n("oscj"),E=n("SW/M"),I=n("CZmH"),L=n("CvXi"),j=n("V8uu"),R=n("nHi6"),F=n("NF0S"),N=n("qJZF"),Y=n("JW8z"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e){var n=t.call(this)||this,l=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var n,l,r,o={},a=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new R.a({layers:t.layers});return o.layergroup=a,o.target=t.target,o.view=void 0!==t.view?t.view:new T.a,void 0!==t.controls&&(Array.isArray(t.controls)?n=new i.a(t.controls.slice()):(Object(S.a)("function"==typeof t.controls.getArray,47),n=t.controls)),void 0!==t.interactions&&(Array.isArray(t.interactions)?l=new i.a(t.interactions.slice()):(Object(S.a)("function"==typeof t.interactions.getArray,48),l=t.interactions)),void 0!==t.overlays?Array.isArray(t.overlays)?r=new i.a(t.overlays.slice()):(Object(S.a)("function"==typeof t.overlays.getArray,49),r=t.overlays):r=new i.a,{controls:n,interactions:l,keyboardEventTarget:e,overlays:r,values:o}}(e);n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,n.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:d.a,n.animationDelay_=(function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}).bind(n),n.coordinateToPixelTransform_=Object(N.c)(),n.pixelToCoordinateTransform_=Object(N.c)(),n.frameIndex_=0,n.frameState_=null,n.previousExtent_=null,n.viewPropertyListenerKey_=null,n.viewChangeListenerKey_=null,n.layerGroupPropertyListenerKeys_=null,n.viewport_=document.createElement("div"),n.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),n.viewport_.style.position="relative",n.viewport_.style.overflow="hidden",n.viewport_.style.width="100%",n.viewport_.style.height="100%",n.overlayContainer_=document.createElement("div"),n.overlayContainer_.style.position="absolute",n.overlayContainer_.style.zIndex="0",n.overlayContainer_.style.width="100%",n.overlayContainer_.style.height="100%",n.overlayContainer_.className="ol-overlaycontainer",n.viewport_.appendChild(n.overlayContainer_),n.overlayContainerStopEvent_=document.createElement("div"),n.overlayContainerStopEvent_.style.position="absolute",n.overlayContainerStopEvent_.style.zIndex="0",n.overlayContainerStopEvent_.style.width="100%",n.overlayContainerStopEvent_.style.height="100%",n.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",n.viewport_.appendChild(n.overlayContainerStopEvent_),n.mapBrowserEventHandler_=new A(n,e.moveTolerance);var o=n.handleMapBrowserEvent.bind(n);for(var a in h.a)n.mapBrowserEventHandler_.addEventListener(h.a[a],o);n.keyboardEventTarget_=l.keyboardEventTarget,n.keyHandlerKeys_=null;var s=n.handleBrowserEvent.bind(n);return n.viewport_.addEventListener(_.a.CONTEXTMENU,s,!1),n.viewport_.addEventListener(_.a.WHEEL,s,!!d.e&&{passive:!1}),n.controls=l.controls||new i.a,n.interactions=l.interactions||new i.a,n.overlays_=l.overlays,n.overlayIdIndex_={},n.renderer_=null,n.postRenderFunctions_=[],n.tileQueue_=new D(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addEventListener(Object(w.b)("layergroup"),n.handleLayerGroupChanged_),n.addEventListener(Object(w.b)("view"),n.handleViewChanged_),n.addEventListener(Object(w.b)("size"),n.handleSizeChanged_),n.addEventListener(Object(w.b)("target"),n.handleTargetChanged_),n.setProperties(l.values),n.controls.forEach((function(t){t.setMap(this)}).bind(n)),n.controls.addEventListener(r.a.ADD,(function(t){t.element.setMap(this)}).bind(n)),n.controls.addEventListener(r.a.REMOVE,(function(t){t.element.setMap(null)}).bind(n)),n.interactions.forEach((function(t){t.setMap(this)}).bind(n)),n.interactions.addEventListener(r.a.ADD,(function(t){t.element.setMap(this)}).bind(n)),n.interactions.addEventListener(r.a.REMOVE,(function(t){t.element.setMap(null)}).bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n.overlays_.addEventListener(r.a.ADD,(function(t){this.addOverlayInternal_(t.element)}).bind(n)),n.overlays_.addEventListener(r.a.REMOVE,(function(t){var e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)}).bind(n)),n}return U(e,t),e.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},e.prototype.addControl=function(t){this.getControls().push(t)},e.prototype.addInteraction=function(t){this.getInteractions().push(t)},e.prototype.addLayer=function(t){this.getLayerGroup().getLayers().push(t)},e.prototype.addOverlay=function(t){this.getOverlays().push(t)},e.prototype.addOverlayInternal_=function(t){var e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)},e.prototype.disposeInternal=function(){this.mapBrowserEventHandler_.dispose(),this.viewport_.removeEventListener(_.a.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(_.a.WHEEL,this.boundHandleBrowserEvent_),void 0!==this.handleResize_&&(removeEventListener(_.a.RESIZE,this.handleResize_,!1),this.handleResize_=void 0),this.setTarget(null),t.prototype.disposeInternal.call(this)},e.prototype.forEachFeatureAtPixel=function(t,e,n){if(this.frameState_){var l=this.getCoordinateFromPixelInternal(t);return this.renderer_.forEachFeatureAtCoordinate(l,this.frameState_,void 0!==(n=void 0!==n?n:{}).hitTolerance?n.hitTolerance*this.frameState_.pixelRatio:0,!1!==n.checkWrapped,e,null,void 0!==n.layerFilter?n.layerFilter:j.b,null)}},e.prototype.getFeaturesAtPixel=function(t,e){var n=[];return this.forEachFeatureAtPixel(t,(function(t){n.push(t)}),e),n},e.prototype.forEachLayerAtPixel=function(t,e,n){if(this.frameState_){var l=n||{};return this.renderer_.forEachLayerAtPixel(t,this.frameState_,void 0!==l.hitTolerance?l.hitTolerance*this.frameState_.pixelRatio:0,e,l.layerFilter||j.b)}},e.prototype.hasFeatureAtPixel=function(t,e){if(!this.frameState_)return!1;var n=this.getCoordinateFromPixelInternal(t);return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,void 0!==(e=void 0!==e?e:{}).hitTolerance?e.hitTolerance*this.frameState_.pixelRatio:0,!1!==e.checkWrapped,void 0!==e.layerFilter?e.layerFilter:j.b,null)},e.prototype.getEventCoordinate=function(t){return this.getCoordinateFromPixel(this.getEventPixel(t))},e.prototype.getEventCoordinateInternal=function(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))},e.prototype.getEventPixel=function(t){var e=this.viewport_.getBoundingClientRect(),n="changedTouches"in t?t.changedTouches[0]:t;return[n.clientX-e.left,n.clientY-e.top]},e.prototype.getTarget=function(){return this.get("target")},e.prototype.getTargetElement=function(){var t=this.getTarget();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},e.prototype.getCoordinateFromPixel=function(t){return Object(Y.n)(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())},e.prototype.getCoordinateFromPixelInternal=function(t){var e=this.frameState_;return e?Object(N.a)(e.pixelToCoordinateTransform,t.slice()):null},e.prototype.getControls=function(){return this.controls},e.prototype.getOverlays=function(){return this.overlays_},e.prototype.getOverlayById=function(t){var e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getInteractions=function(){return this.interactions},e.prototype.getLayerGroup=function(){return this.get("layergroup")},e.prototype.getLayers=function(){return this.getLayerGroup().getLayers()},e.prototype.getLoading=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var l=t[e].layer.getSource();if(l&&l.loading)return!0}return!1},e.prototype.getPixelFromCoordinate=function(t){var e=Object(Y.e)(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)},e.prototype.getPixelFromCoordinateInternal=function(t){var e=this.frameState_;return e?Object(N.a)(e.coordinateToPixelTransform,t.slice(0,2)):null},e.prototype.getRenderer=function(){return this.renderer_},e.prototype.getSize=function(){return this.get("size")},e.prototype.getView=function(){return this.get("view")},e.prototype.getViewport=function(){return this.viewport_},e.prototype.getOverlayContainer=function(){return this.overlayContainer_},e.prototype.getOverlayContainerStopEvent=function(){return this.overlayContainerStopEvent_},e.prototype.getTilePriority=function(t,e,n,l){return function(t,e,n,l,i){if(!t||!(n in t.wantedTiles))return 1/0;if(!t.wantedTiles[n][e.getKey()])return 1/0;var r=t.viewState.center,o=l[0]-r[0],a=l[1]-r[1];return 65536*Math.log(i)+Math.sqrt(o*o+a*a)/i}(this.frameState_,t,e,n,l)},e.prototype.handleBrowserEvent=function(t,e){var n=new c(e||t.type,this,t);this.handleMapBrowserEvent(n)},e.prototype.handleMapBrowserEvent=function(t){if(this.frameState_){var e=t.originalEvent.target;if(t.dragging||!this.overlayContainerStopEvent_.contains(e)&&(document.body.contains(e)||this.viewport_.getRootNode&&this.viewport_.getRootNode().contains(e))){t.frameState=this.frameState_;var n=this.getInteractions().getArray();if(!1!==this.dispatchEvent(t))for(var l=n.length-1;l>=0;l--){var i=n[l];if(i.getActive()&&!i.handleEvent(t))break}}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,l=n;if(t){var i=t.viewHints;if(i[E.a.ANIMATING]||i[E.a.INTERACTING]){var r=!d.c&&Date.now()-t.time>8;n=r?0:8,l=r?0:2}}e.getTilesLoading()<n&&(e.reprioritize(),e.loadMoreTiles(n,l))}!t||!this.hasListener(C.a.RENDERCOMPLETE)||t.animate||this.tileQueue_.getTilesLoading()||this.getLoading()||this.renderer_.dispatchRenderEvent(C.a.RENDERCOMPLETE,t);for(var o=this.postRenderFunctions_,a=0,s=o.length;a<s;++a)o[a](this,t);o.length=0},e.prototype.handleSizeChanged_=function(){this.getView()&&this.getView().resolveConstraints(0),this.render()},e.prototype.handleTargetChanged_=function(){var t;if(this.getTarget()&&(t=this.getTargetElement()),this.keyHandlerKeys_){for(var e=0,n=this.keyHandlerKeys_.length;e<n;++e)Object(b.c)(this.keyHandlerKeys_[e]);this.keyHandlerKeys_=null}if(t){t.appendChild(this.viewport_),this.renderer_||(this.renderer_=this.createRenderer());var l=this.keyboardEventTarget_?this.keyboardEventTarget_:t;this.keyHandlerKeys_=[Object(b.a)(l,_.a.KEYDOWN,this.handleBrowserEvent,this),Object(b.a)(l,_.a.KEYPRESS,this.handleBrowserEvent,this)],this.handleResize_||(this.handleResize_=this.updateSize.bind(this),window.addEventListener(_.a.RESIZE,this.handleResize_,!1))}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0),Object(I.e)(this.viewport_),void 0!==this.handleResize_&&(removeEventListener(_.a.RESIZE,this.handleResize_,!1),this.handleResize_=void 0);this.updateSize()},e.prototype.handleTileChange_=function(){this.render()},e.prototype.handleViewPropertyChanged_=function(){this.render()},e.prototype.handleViewChanged_=function(){this.viewPropertyListenerKey_&&(Object(b.c)(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(Object(b.c)(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);var t=this.getView();t&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=Object(b.a)(t,P.a.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=Object(b.a)(t,_.a.CHANGE,this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()},e.prototype.handleLayerGroupChanged_=function(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(b.c),this.layerGroupPropertyListenerKeys_=null);var t=this.getLayerGroup();t&&(this.layerGroupPropertyListenerKeys_=[Object(b.a)(t,P.a.PROPERTYCHANGE,this.render,this),Object(b.a)(t,_.a.CHANGE,this.render,this)]),this.render()},e.prototype.isRendered=function(){return!!this.frameState_},e.prototype.renderSync=function(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()},e.prototype.redrawText=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var l=t[e].layer;l.hasRenderer()&&l.getRenderer().handleFontsChanged()}},e.prototype.render=function(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))},e.prototype.removeControl=function(t){return this.getControls().remove(t)},e.prototype.removeInteraction=function(t){return this.getInteractions().remove(t)},e.prototype.removeLayer=function(t){return this.getLayerGroup().getLayers().remove(t)},e.prototype.removeOverlay=function(t){return this.getOverlays().remove(t)},e.prototype.renderFrame_=function(t){var e=this.getSize(),n=this.getView(),l=this.frameState_,i=null;if(void 0!==e&&Object(F.a)(e)&&n&&n.isDef()){var r=n.getHints(this.frameState_?this.frameState_.viewHints:void 0),o=n.getState();i={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterItems:l?l.declutterItems:[],extent:Object(L.z)(o.center,o.resolution,o.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:o,viewHints:r,wantedTiles:{}}}this.frameState_=i,this.renderer_.renderFrame(i),i&&(i.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,i.postRenderFunctions),l&&(!this.previousExtent_||!Object(L.H)(this.previousExtent_)&&!Object(L.p)(i.extent,this.previousExtent_))&&(this.dispatchEvent(new s(v.a.MOVESTART,this,l)),this.previousExtent_=Object(L.l)(this.previousExtent_)),this.previousExtent_&&!i.viewHints[E.a.ANIMATING]&&!i.viewHints[E.a.INTERACTING]&&!Object(L.p)(i.extent,this.previousExtent_)&&(this.dispatchEvent(new s(v.a.MOVEEND,this,i)),Object(L.d)(i.extent,this.previousExtent_))),this.dispatchEvent(new s(v.a.POSTRENDER,this,i)),this.postRenderTimeoutHandle_=setTimeout(this.handlePostRender.bind(this),0)},e.prototype.setLayerGroup=function(t){this.set("layergroup",t)},e.prototype.setSize=function(t){this.set("size",t)},e.prototype.setTarget=function(t){this.set("target",t)},e.prototype.setView=function(t){this.set("view",t)},e.prototype.updateSize=function(){var t=this.getTargetElement();if(t){var e=getComputedStyle(t);this.setSize([t.offsetWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderRightWidth),t.offsetHeight-parseFloat(e.borderTopWidth)-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderBottomWidth)])}else this.setSize(void 0);this.updateViewportSize_()},e.prototype.updateViewportSize_=function(){var t=this.getView();if(t){var e=void 0,n=getComputedStyle(this.viewport_);n.width&&n.height&&(e=[parseInt(n.width,10),parseInt(n.height,10)]),t.setViewportSize(e)}},e}(w.a),z=n("IbxR"),G=function(){function t(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;for(var n=e-3;n>0&&this.points_[n+2]>t;)n-=3;var l=this.points_[e+2]-this.points_[n+2];if(l<1e3/60)return!1;var i=this.points_[e]-this.points_[n],r=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(r,i),this.initialVelocity_=Math.sqrt(i*i+r*r)/l,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),H=n("zfM5"),V=n("pWiS"),q=n("ykKD"),W=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},$=function(t){return t.target.getTargetElement()===document.activeElement},X=j.b,K=function(t){var e=t.originalEvent;return 0==e.button&&!(d.f&&d.d&&e.ctrlKey)},J=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},Q=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},Z=function(t){var e=t.originalEvent.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e},tt=function(t){var e=t.pointerEvent;return Object(S.a)(void 0!==e,56),"mouse"==e.pointerType},et=n("QzRn"),nt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function lt(t){for(var e=t.length,n=0,l=0,i=0;i<e;i++)n+=t[i].clientX,l+=t[i].clientY;return[n/e,l/e]}var it=function(t){function e(e){var n=this,l=e||{};return n=t.call(this,l)||this,l.handleDownEvent&&(n.handleDownEvent=l.handleDownEvent),l.handleDragEvent&&(n.handleDragEvent=l.handleDragEvent),l.handleMoveEvent&&(n.handleMoveEvent=l.handleMoveEvent),l.handleUpEvent&&(n.handleUpEvent=l.handleUpEvent),l.stopDown&&(n.stopDown=l.stopDown),n.handlingDownUpSequence=!1,n.trackedPointers_={},n.targetPointers=[],n}return nt(e,t),e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.pointerEvent)return!0;var e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==h.a.POINTERDRAG)this.handleDragEvent(t);else if(t.type==h.a.POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==h.a.POINTERDOWN){var l=this.handleDownEvent(t);this.handlingDownUpSequence=l,e=this.stopDown(l)}else t.type==h.a.POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(function(t){var e=t.type;return e===h.a.POINTERDOWN||e===h.a.POINTERDRAG||e===h.a.POINTERUP}(t)){var e=t.pointerEvent,n=e.pointerId.toString();t.type==h.a.POINTERUP?delete this.trackedPointers_[n]:(t.type==h.a.POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=e),this.targetPointers=Object(k.c)(this.trackedPointers_)}},e}(et.a),rt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function ot(t){return J(t)&&function(t){var e=t.pointerEvent;return Object(S.a)(void 0!==e,56),e.isPrimary&&0===e.button}(t)}var at=function(t){function e(e){var n=t.call(this,{stopDown:j.a})||this,l=e||{};return n.kinetic_=l.kinetic,n.lastCentroid=null,n.panning_=!1,n.condition_=l.condition?l.condition:ot,n.noKinetic_=!1,n}return rt(e,t),e.prototype.conditionInternal_=function(t){var e=!0;return t.map.getTargetElement().hasAttribute("tabindex")&&(e=$(t)),e&&this.condition_(t)},e.prototype.handleDragEvent=function(t){this.panning_||(this.panning_=!0,this.getMap().getView().beginInteraction());var e=this.targetPointers,n=lt(e);if(e.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var l=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],i=t.map.getView();Object(V.d)(l,i.getResolution()),Object(V.c)(l,i.getRotation()),i.adjustCenterInternal(l)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=e.length,t.originalEvent.preventDefault()},e.prototype.handleUpEvent=function(t){var e=t.map,n=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var l=this.kinetic_.getDistance(),i=this.kinetic_.getAngle(),r=n.getCenterInternal(),o=e.getPixelFromCoordinateInternal(r),a=e.getCoordinateFromPixelInternal([o[0]-l*Math.cos(i),o[1]-l*Math.sin(i)]);n.animateInternal({center:n.getConstrainedCenter(a),duration:500,easing:q.b})}return this.panning_&&(this.panning_=!1,n.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>0&&this.conditionInternal_(t)){var e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(it),st=n("jMVV"),ut=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ct=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{stopDown:j.a})||this).condition_=l.condition?l.condition:W,n.lastAngle_=void 0,n.duration_=void 0!==l.duration?l.duration:250,n}return ut(e,t),e.prototype.handleDragEvent=function(t){if(tt(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==st.c){var l=e.getSize(),i=t.pixel,r=Math.atan2(l[1]/2-i[1],i[0]-l[0]/2);void 0!==this.lastAngle_&&n.adjustRotationInternal(-(r-this.lastAngle_)),this.lastAngle_=r}}},e.prototype.handleUpEvent=function(t){return!tt(t)||(t.map.getView().endInteraction(this.duration_),!1)},e.prototype.handleDownEvent=function(t){return!(!tt(t)||!K(t)||!this.condition_(t)||(t.map.getView().beginInteraction(),this.lastAngle_=void 0,0))},e}(it),dt=n("2lwS"),ht=n("W8M7"),pt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ft=function(t){function e(e){var n=t.call(this)||this;return n.geometry_=null,n.element_=document.createElement("div"),n.element_.style.position="absolute",n.element_.className="ol-box "+e,n.map_=null,n.startPixel_=null,n.endPixel_=null,n}return pt(e,t),e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n=this.element_.style;n.left=Math.min(t[0],e[0])+"px",n.top=Math.min(t[1],e[1])+"px",n.width=Math.abs(e[0]-t[0])+"px",n.height=Math.abs(e[1]-t[1])+"px"},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new ht.a([n])},e.prototype.getGeometry=function(){return this.geometry_},e}(dt.a),bt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),mt=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.coordinate=n,i.mapBrowserEvent=l,i}return bt(e,t),e}(o.a),gt=function(t){function e(e){var n=t.call(this)||this,l=e||{};return n.box_=new ft(l.className||"ol-dragbox"),n.minArea_=void 0!==l.minArea?l.minArea:64,n.onBoxEnd_=l.onBoxEnd?l.onBoxEnd:j.c,n.startPixel_=null,n.condition_=l.condition?l.condition:K,n.boxEndCondition_=l.boxEndCondition?l.boxEndCondition:n.defaultBoxEndCondition,n}return bt(e,t),e.prototype.defaultBoxEndCondition=function(t,e,n){var l=n[0]-e[0],i=n[1]-e[1];return l*l+i*i>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new mt("boxdrag",t.coordinate,t))},e.prototype.handleUpEvent=function(t){return this.box_.setMap(null),this.boxEndCondition_(t,this.startPixel_,t.pixel)&&(this.onBoxEnd_(t),this.dispatchEvent(new mt("boxend",t.coordinate,t))),!1},e.prototype.handleDownEvent=function(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new mt("boxstart",t.coordinate,t)),!0)},e}(it),_t=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function yt(){var t=this.getMap(),e=t.getView(),n=t.getSize(),l=this.getGeometry().getExtent();if(this.out_){var i=e.calculateExtentInternal(n),r=Object(L.n)([t.getPixelFromCoordinateInternal(Object(L.v)(l)),t.getPixelFromCoordinateInternal(Object(L.D)(l))]),o=e.getResolutionForExtentInternal(r,n);Object(L.J)(i,1/o),l=i}var a=e.getConstrainedResolution(e.getResolutionForExtentInternal(l,n)),s=e.getConstrainedCenter(Object(L.x)(l),a);e.animateInternal({resolution:a,center:s,duration:this.duration_,easing:q.b})}var At=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{condition:l.condition?l.condition:Q,className:l.className||"ol-dragzoom",minArea:l.minArea,onBoxEnd:yt})||this).duration_=void 0!==l.duration?l.duration:200,n.out_=void 0!==l.out&&l.out,n}return _t(e,t),e}(gt),vt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function Ct(t){var e=!1;if(t.type==_.a.KEYDOWN){var n=t.originalEvent.keyCode;if(this.condition_(t)&&(40==n||37==n||39==n||38==n)){var l=t.map.getView(),i=l.getResolution()*this.pixelDelta_,r=0,o=0;40==n?o=-i:37==n?r=-i:39==n?r=i:o=i;var a=[r,o];Object(V.c)(a,l.getRotation()),Object(et.b)(l,a,this.duration_),t.preventDefault(),e=!0}}return!e}var wt=function(t){function e(e){var n=t.call(this,{handleEvent:Ct})||this,l=e||{};return n.defaultCondition_=function(t){return J(t)&&Z(t)},n.condition_=void 0!==l.condition?l.condition:n.defaultCondition_,n.duration_=void 0!==l.duration?l.duration:100,n.pixelDelta_=void 0!==l.pixelDelta?l.pixelDelta:128,n}return vt(e,t),e}(et.a),Pt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function xt(t){var e=!1;if(t.type==_.a.KEYDOWN||t.type==_.a.KEYPRESS){var n=t.originalEvent.charCode;if(this.condition_(t)&&(n=="+".charCodeAt(0)||n=="-".charCodeAt(0))){var l=t.map,i=n=="+".charCodeAt(0)?this.delta_:-this.delta_,r=l.getView();Object(et.c)(r,i,void 0,this.duration_),t.preventDefault(),e=!0}}return!e}var St=function(t){function e(e){var n=t.call(this,{handleEvent:xt})||this,l=e||{};return n.condition_=l.condition?l.condition:Z,n.delta_=l.delta?l.delta:1,n.duration_=void 0!==l.duration?l.duration:100,n}return Pt(e,t),e}(et.a),kt=n("f8l7"),Mt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Ot=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,l)||this).totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==l.maxDelta?l.maxDelta:1,n.duration_=void 0!==l.duration?l.duration:250,n.timeout_=void 0!==l.timeout?l.timeout:80,n.useAnchor_=void 0===l.useAnchor||l.useAnchor,n.condition_=l.condition?l.condition:X,n.lastAnchor_=null,n.startTime_=void 0,n.mode_=void 0,n.trackpadEventGap_=400,n.deltaPerZoom_=300,n}return Mt(e,t),e.prototype.conditionInternal_=function(t){var e=!0;return t.map.getTargetElement().hasAttribute("tabindex")&&(e=$(t)),e&&this.condition_(t)},e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0,this.getMap().getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},e.prototype.handleEvent=function(t){if(!this.conditionInternal_(t))return!0;if(t.type!==_.a.WHEEL)return!0;t.preventDefault();var e,n=t.map,l=t.originalEvent;if(this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==_.a.WHEEL&&(e=l.deltaY,d.b&&l.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(e/=d.a),l.deltaMode===WheelEvent.DOM_DELTA_LINE&&(e*=40)),0===e)return!1;this.lastDelta_=e;var i=Date.now();void 0===this.startTime_&&(this.startTime_=i),(!this.mode_||i-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(e)<4?"trackpad":"wheel");var r=n.getView();if("trackpad"===this.mode_&&!r.getConstrainResolution())return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(r.getAnimating()&&r.cancelAnimations(),r.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),r.adjustZoom(-e/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=i,!1;this.totalDelta_+=e;var o=Math.max(this.timeout_-(i-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),o),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=-Object(kt.a)(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;e.getConstrainResolution()&&(n=n?n>0?1:-1:0),Object(et.c)(e,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(et.a),Dt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Tt=function(t){function e(e){var n=this,l=e||{},i=l;return i.stopDown||(i.stopDown=j.a),(n=t.call(this,i)||this).anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==l.threshold?l.threshold:.3,n.duration_=void 0!==l.duration?l.duration:250,n}return Dt(e,t),e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],l=this.targetPointers[1],i=Math.atan2(l.clientY-n.clientY,l.clientX-n.clientX);if(void 0!==this.lastAngle_){var r=i-this.lastAngle_;this.rotationDelta_+=r,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=r}this.lastAngle_=i;var o=t.map,a=o.getView();if(a.getConstraints().rotation!==st.c){var s=o.getViewport().getBoundingClientRect(),u=lt(this.targetPointers);u[0]-=s.left,u[1]-=s.top,this.anchor_=o.getCoordinateFromPixelInternal(u),this.rotating_&&(o.render(),a.adjustRotationInternal(e,this.anchor_))}},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(it),Et=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),It=function(t){function e(e){var n=this,l=e||{},i=l;return i.stopDown||(i.stopDown=j.a),(n=t.call(this,i)||this).anchor_=null,n.duration_=void 0!==l.duration?l.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return Et(e,t),e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],l=this.targetPointers[1],i=n.clientX-l.clientX,r=n.clientY-l.clientY,o=Math.sqrt(i*i+r*r);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;var a=t.map,s=a.getView();1!=e&&(this.lastScaleDelta_=e);var u=a.getViewport().getBoundingClientRect(),c=lt(this.targetPointers);c[0]-=u.left,c[1]-=u.top,this.anchor_=a.getCoordinateFromPixelInternal(c),a.render(),s.adjustResolutionInternal(e,this.anchor_)},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_,this.lastScaleDelta_>1?1:-1),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(it),Lt=n("zX6e"),jt=n("GvmM"),Rt=n("MzMb"),Ft=n("EwAT"),Nt=n("PCLV");n("yUaI"),n("MNGd");var Yt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function Ut(t,e){Nt.a.expire()}var Bt=function(t){function e(e){var n=t.call(this)||this;return n.map_=e,n.declutterTree_=null,n}return Yt(e,t),e.prototype.dispatchRenderEvent=function(t,e){Object(Ft.b)()},e.prototype.calculateMatrices2D=function(t){var e=t.viewState,n=t.coordinateToPixelTransform,l=t.pixelToCoordinateTransform;Object(N.b)(n,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Object(N.d)(l,n)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i,r,o,a){var s,u=e.viewState;function c(t,e,n){return i.call(r,e,t?n:null)}var d=u.projection,h=Object(V.f)(t.slice(),d),p=[[0,0]];if(d.canWrapX()&&l){var f=d.getExtent(),b=Object(L.E)(f);p.push([-b,0],[b,0])}var m,g=e.layerStatesArray,_=g.length;this.declutterTree_&&(m=this.declutterTree_.all().map((function(t){return t.value})));for(var y=[],A=0;A<p.length;A++)for(var v=_-1;v>=0;--v){var C=g[v],w=C.layer;if(w.hasRenderer()&&Object(jt.b)(C,u)&&o.call(a,w)){var P=w.getRenderer(),x=w.getSource();if(P&&x){var S=x.getWrapX()?h:t,k=c.bind(null,C.managed);y[0]=S[0]+p[A][0],y[1]=S[1]+p[A][1],s=P.forEachFeatureAtCoordinate(y,e,n,k,m)}if(s)return s}}},e.prototype.forEachLayerAtPixel=function(t,e,n,l,i){return Object(Ft.b)()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,l,i,r){return void 0!==this.forEachFeatureAtCoordinate(t,e,n,l,j.b,this,i,r)},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(t){this.declutterTree_=function(t,e){e&&e.clear();for(var n=t.declutterItems,l=n.length-1;l>=0;--l)for(var i=n[l],r=i.items,o=0,a=r.length;o<a;o+=3)e=r[o].renderDeclutter(r[o+1],r[o+2],i.opacity,e);return n.length=0,e}(t,this.declutterTree_)},e.prototype.scheduleExpireIconCache=function(t){Nt.a.canExpireCache()&&t.postRenderFunctions.push(Ut)},e}(dt.a),zt=n("bYNo"),Gt=n("3er3"),Ht=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Vt=function(t){function e(e){var n=t.call(this,e)||this;n.fontChangeListenerKey_=Object(b.a)(Gt.a,P.a.PROPERTYCHANGE,e.redrawText.bind(e)),n.element_=document.createElement("div");var l=n.element_.style;l.position="absolute",l.width="100%",l.height="100%",l.zIndex="0",n.element_.className=Lt.e+" ol-layers";var i=e.getViewport();return i.insertBefore(n.element_,i.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return Ht(e,t),e.prototype.dispatchRenderEvent=function(t,e){var n=this.getMap();if(n.hasListener(t)){var l=new Rt.a(t,void 0,e);n.dispatchEvent(l)}},e.prototype.disposeInternal=function(){Object(b.c)(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(e){if(e){this.calculateMatrices2D(e),this.dispatchRenderEvent(C.a.PRECOMPOSE,e);var n=e.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex})),l=e.viewState;this.children_.length=0;for(var i=null,r=0,o=n.length;r<o;++r){var a=n[r];if(e.layerIndex=r,Object(jt.b)(a,l)&&(a.sourceState==zt.a.READY||a.sourceState==zt.a.UNDEFINED)){var s=a.layer.render(e,i);s&&s!==i&&(this.children_.push(s),i=s)}}t.prototype.renderFrame.call(this,e),Object(I.f)(this.element_,this.children_),this.dispatchRenderEvent(C.a.POSTCOMPOSE,e),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(e)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},e.prototype.forEachLayerAtPixel=function(t,e,n,l,i){for(var r=e.viewState,o=e.layerStatesArray,a=o.length-1;a>=0;--a){var s=o[a],u=s.layer;if(u.hasRenderer()&&Object(jt.b)(s,r)&&i(u)){var c=u.getRenderer().getDataAtPixel(t,e,n);if(c){var d=l(u,c);if(d)return d}}}},e}(Bt),qt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Wt=function(t){function e(e){return(e=Object(k.a)({},e)).controls||(e.controls=Object(z.a)()),e.interactions||(e.interactions=function(t){var e={},n=new i.a,l=new G(-.005,.05,100);return(void 0===e.altShiftDragRotate||e.altShiftDragRotate)&&n.push(new ct),(void 0===e.doubleClickZoom||e.doubleClickZoom)&&n.push(new H.a({delta:e.zoomDelta,duration:e.zoomDuration})),(void 0===e.dragPan||e.dragPan)&&n.push(new at({condition:e.onFocusOnly?$:void 0,kinetic:l})),(void 0===e.pinchRotate||e.pinchRotate)&&n.push(new Tt),(void 0===e.pinchZoom||e.pinchZoom)&&n.push(new It({duration:e.zoomDuration})),(void 0===e.keyboard||e.keyboard)&&(n.push(new wt),n.push(new St({delta:e.zoomDelta,duration:e.zoomDuration}))),(void 0===e.mouseWheelZoom||e.mouseWheelZoom)&&n.push(new Ot({condition:e.onFocusOnly?$:void 0,duration:e.zoomDuration})),(void 0===e.shiftDragZoom||e.shiftDragZoom)&&n.push(new At({duration:e.zoomDuration})),n}()),t.call(this,e)||this}return qt(e,t),e.prototype.createRenderer=function(){return new Vt(this)},e}(B);e.a=Wt},Y4ja:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J");const i={ALL_AIRCRAFT:"ALL",ONE_AIRCRAFT:"ONE"};let r=(()=>{class t{constructor(){this.modeMapChange=new l.r,this.modeMap=i.ALL_AIRCRAFT}getModeMapChangeEmitter(){return this.modeMapChange}getModeMap(){return this.modeMap}setModeMap(t){this.modeMap=t,this.modeMapChange.emit(this.modeMap)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("DH7j");function i(t){return!Object(l.a)(t)&&t-parseFloat(t)+1>=0}},YGmB:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("8Y7J"),i=n("JW8z"),r=n("wd/R"),o=n("w+w1"),a=n("qToJ"),s=n("wBRQ"),u=(n("G0WM"),n("ItNn"));let c=(()=>{class t{constructor(t,e,n){this.focusAircraftService=t,this.settingService=e,this.aircraftbboxService=n,this.lockRequest=!1,this.aircrafts={},this.trafficChange=new l.r}getAircrafts(){return this.aircrafts}getAircraftArray(){return Object.keys(this.aircrafts).map(t=>this.aircrafts[t])}getTrafficChangeEmitter(){return this.trafficChange}getNbAircrafts(){return Object.keys(this.aircrafts).length}deleteAllAircraft(){this.lockRequest=!0;for(const t in this.aircrafts)this.aircrafts.hasOwnProperty(t)&&delete this.aircrafts[t]}addAircraft(t){return this.aircrafts[t.icao]||(this.aircrafts[t.icao]=t,this.lockRequest=!0),this.aircrafts[t.icao]}getTraffic(t,e,n,l,o){const a=Object(i.m)([t[0],t[1]]),s=Object(i.m)([t[2],t[3]]),u=this.settingService.getFeeds();let c={minLon:a[0],minLat:a[1],maxLon:s[0],maxLat:s[1],providers:u.map(t=>t.id)};l&&(c.since=r(l).format()),e&&e.length>0&&(c.selected=e.map(t=>t.icao+"_"+r(t.createdAt).format())),o&&o.length>0&&(c.filterIcao=o.map(t=>t.icao)),this.aircraftbboxService.aircraftBboxControllerGetBbox(c).subscribe(t=>{!0===this.lockRequest?(this.lockRequest=!1,n([],[],[])):this.updateSource(t.data,n)},t=>{console.error("ERROR AIRCRAFT BBOX : ",t),this.lockRequest=!1,n([],[],[])})}updateSource(t,e){const n=this.getAircraftHash(t),l=this.getRemovedAircrafts(n),i=this.updateModifiedAndNewAircrafts(n);e(l,i.addedAircrafts,i.modifiedAircrafts),this.removeAircrafts(l),this.trafficChange.emit(this.aircrafts)}getAircraftHash(t){const e={};return t&&(this.focusAircraftService.focusIsActive()?t.forEach(t=>{this.focusAircraftService.aircraftMatch(t)&&(e[t.icao]=t)}):t.forEach(t=>{e[t.icao]=t})),e}getRemovedAircrafts(t){const e=[];for(const n in this.aircrafts)t[n]||e.push(this.aircrafts[n]);return e}updateModifiedAndNewAircrafts(t){const e=[],n=[];for(const l in t)this.aircrafts[l]?(this.aircrafts[l].updateBboxAircraft(t[l]),n.push(this.aircrafts[l])):(this.aircrafts[l]=new o.a(t[l]),e.push(this.aircrafts[l]));return{addedAircrafts:e,modifiedAircrafts:n}}removeAircrafts(t){t.forEach(t=>{delete this.aircrafts[t.icao]})}}return t.ngInjectableDef=l.cc({factory:function(){return new t(l.dc(s.a),l.dc(a.a),l.dc(u.a))},token:t,providedIn:"root"}),t})()},YRex:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":l<900?"\u0633\u06d5\u06be\u06d5\u0631":l<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":l<1230?"\u0686\u06c8\u0634":l<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YX0d:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"f",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"e",(function(){return c}));var l="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",i=-1!==l.indexOf("firefox"),r=(-1!==l.indexOf("safari")&&l.indexOf("chrom"),-1!==l.indexOf("webkit")&&-1==l.indexOf("edge")),o=-1!==l.indexOf("macintosh"),a="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,s="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,u="undefined"!=typeof Image&&Image.prototype.decode,c=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(n){}return t}()},Yeuo:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("s6ns"),r=n("bujt"),o=n("Fwaw"),a=n("5GAg"),s=n("omvX"),u=n("1f0G"),c=n("MlvX"),d=n("Xd0L"),h=n("dJrM"),p=n("HsOI"),f=n("IP0z"),b=n("/HVE"),m=n("Z/v2"),g=l.Bb({encapsulation:0,styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%]:not(.file-input-disabled){cursor:pointer}input[_ngcontent-%COMP%]{width:0;height:0;opacity:0;overflow:hidden;position:absolute;z-index:-1}.filename[_ngcontent-%COMP%]{display:inline-block}"],data:{}});function _(t){return l.Yb(0,[(t()(),l.Db(0,0,[["input",1]],null,0,"input",[["type","file"]],[[1,"multiple",0],[1,"accept",0]],null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"span",[["class","filename"]],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n.multiple?"":null,n.accept),t(e,2,0,n.fileNames)}))}var y=n("s7LF"),A=n("ZwOa"),v=n("oapL"),C=n("Azqq"),w=n("JjoW"),P=n("hOhj"),x=n("SVse"),S=n("oJZn"),k=n("pBi1");n("X0qu"),n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return E})),n.d(e,"c",(function(){return $}));var M=l.Bb({encapsulation:0,styles:[[".form-layer-helper-popup[_ngcontent-%COMP%]{margin:20px}hr[_ngcontent-%COMP%]{height:2px;border-width:0;box-sizing:content-box;background-color:#000;margin:25px 0 20px}"]],data:{}});function O(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,86,"div",[["class","form-layer-helper-popup"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["G\xe9n\xe9ral"])),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- L'import de layer de type GL ne fonctionne qu'avec certains type de fichier g\xe9ographiques : GeoJSON, KML, Shapefile, CSV"])),(t()(),l.Db(5,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- La configuration du style d'un layer de type GL repose sur la sp\xe9cification MapBox GL Style (voir exemples ci dessous) : "])),(t()(),l.Db(7,0,null,null,1,"a",[["href","https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["mapbox-gl-js/style-spec"])),(t()(),l.Db(9,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Des exemples de commandes "Tippecanoe" son disponibles i\xe7i : '])),(t()(),l.Db(11,0,null,null,1,"a",[["href","https://github.com/mapbox/tippecanoe"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["mapbox/tippecanoe"])),(t()(),l.Db(13,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- "])),(t()(),l.Db(15,0,null,null,1,"a",[["href","https://mapwithlove.github.io/geojson-circle"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["G\xe9n\xe9rateur de zones circulaires"])),(t()(),l.Db(17,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- "])),(t()(),l.Db(19,0,null,null,1,"a",[["href","https://mapwithlove.github.io/geojson-circle/converter"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Convertisseur des coordonn\xe9s en sortie www.pap08.eu/ZA/volume-aerien.php"])),(t()(),l.Db(21,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Exemple de GeoJSON valides : "])),(t()(),l.Db(23,0,null,null,1,"a",[["href","https://geojsonlint.com/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["geojsonlint.com/"])),(t()(),l.Db(25,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Visualiser un GeoJSON en ligne : "])),(t()(),l.Db(27,0,null,null,1,"a",[["href","http://geojson.io/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["geojson.io/"])),(t()(),l.Db(29,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Logiciel conseill\xe9 pour l'\xe9dition/visualisation de fichier g\xe9o : "])),(t()(),l.Db(31,0,null,null,1,"a",[["href","https://www.qgis.org/fr/site/forusers/download.html"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["QGIS"])),(t()(),l.Db(33,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(34,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GL layers"])),(t()(),l.Db(36,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Point" :'])),(t()(),l.Db(38,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "stops" est un tableau qui permet de g\xe9rer le taille des points en pixel en fonction du zoom : [[zoom, size], ...] '])),(t()(),l.Db(40,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Il est possible de d\xe9finir simplement l\'attribut "circle-radius": 2 (par exemple, pour 2 pixel peut importe le zoom)'])),(t()(),l.Db(42,0,null,null,1,"textarea",[["style","width: 100%; height: 312px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":"circle",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "circle-radius": {\n "stops":[ [4, 1], [6, 2], [8, 3], [10, 3], [12, 3] ]\n },\n "circle-color": "red",\n "circle-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(44,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "LineString" :'])),(t()(),l.Db(46,0,null,null,1,"textarea",[["style","width: 100%; height: 258px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":" line",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "line-color": "green",\n "line-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(48,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Polygon" :'])),(t()(),l.Db(50,0,null,null,1,"textarea",[["style","width: 100%; height: 258px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":"fill",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "fill-color": "blue",\n "fill-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(52,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Polygon" avec une bordure :'])),(t()(),l.Db(54,0,null,null,1,"textarea",[["style","width: 100%; height: 520px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type": "fill",\n "paint": {\n "fill-color": "red",\n "fill-opacity": 0.5\n },\n "layout": {\n "visibility": "visible"\n }\n },\n {\n "type": "line",\n "paint": {\n "line-color": "red",\n "line-opacity": 0.99,\n "line-width": 5\n },\n "layout": {\n "visibility": "visible"\n }\n }\n ]\n '])),(t()(),l.Db(56,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Exemple de mapping :"])),(t()(),l.Db(58,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Nom du champ dans le "properties" d\'une "feature" : nom du champ transform\xe9'])),(t()(),l.Db(60,0,null,null,1,"textarea",[["style","width: 100%; height: 96px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' {\n "Name": "name",\n "Cat": "type"\n }\n '])),(t()(),l.Db(62,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(63,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Raster layers"])),(t()(),l.Db(65,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- S\xe9lectionner le type de layer "RASTER"'])),(t()(),l.Db(67,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Taper le nom du groupe du layer"])),(t()(),l.Db(69,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Le seul autre champ \xe0 remplir est "parameters" avec un exemple ci dessous'])),(t()(),l.Db(71,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "baseLayer" est optionnel, seulement dans le cas d\'un layer "fond de carte" comme OSM par exemple'])),(t()(),l.Db(73,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "CacheSize" permet de configurer le nombres maximum de tuiles mises en cache'])),(t()(),l.Db(75,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- L'attribut \"transition\" permet de configurer le temps de transition/fondu au moment de l'affichage d'un layer"])),(t()(),l.Db(77,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "properties" :'])),(t()(),l.Db(80,0,null,null,1,"textarea",[["style","width: 100%; height: 168px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' {\n "url": "https://t.skyvector.com/836f40bc/vfr/{YYMM}/{z}/{x}/{y}.jpg",\n "baseLayer": true,\n "opacity": 1,\n "attribution": "\xa9 SkyVector.com",\n "cacheSize": 1024,\n "transition": 0\n }\n '])),(t()(),l.Db(82,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""],["style","height: 50px; bottom: 0px;"]],null,null,null,null,null)),l.Cb(83,16384,null,0,i.f,[],null,null),(t()(),l.Db(84,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onNoClick()&&l),l}),r.b,r.a)),l.Cb(85,180224,null,0,o.b,[l.p,a.h,[2,s.a]],null,null),(t()(),l.Wb(-1,0,["Fermer"]))],null,(function(t,e){t(e,84,0,l.Pb(e,85).disabled||null,"NoopAnimations"===l.Pb(e,85)._animationMode)}))}function D(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-layer-helper",[],null,null,null,O,M)),l.Cb(1,49152,null,0,u.b,[i.l,i.a],null,null)],null,null)}var T=l.zb("form-layer-helper",u.b,D,{},{},[]),E=l.Bb({encapsulation:0,styles:[[".form-layer[_ngcontent-%COMP%]{padding-top:10px}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%]{width:100%;display:inline-flex;align-content:center;align-items:center}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%;margin-left:auto;margin-right:auto;padding-left:3px;padding-right:3px}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;padding-left:3px;padding-right:3px}.form-layer[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin:2.5px}.form-layer[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-primary);color:var(--ion-color-primary-contrast);height:50px;margin-top:20px}.form-layer[_ngcontent-%COMP%] .helper-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-medium);color:var(--ion-color-medium-contrast);height:50px;margin-top:20px;margin-left:20px}"]],data:{}});function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),c.e,c.b)),l.Cb(1,8568832,[[10,4]],0,d.s,[l.p,l.j,[2,d.l],[2,d.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,13,{_controlNonStatic:0}),l.Ub(335544320,14,{_controlStatic:0}),l.Ub(603979776,15,{_labelChildNonStatic:0}),l.Ub(335544320,16,{_labelChildStatic:0}),l.Ub(603979776,17,{_placeholderChild:0}),l.Ub(603979776,18,{_errorChildren:1}),l.Ub(603979776,19,{_hintChildren:1}),l.Ub(603979776,20,{_prefixChildren:1}),l.Ub(603979776,21,{_suffixChildren:1}),(t()(),l.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(12,16384,[[15,4],[16,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Select : GeoJSON, KML, ShapeFile, CSV"])),(t()(),l.Db(14,0,null,1,5,"ngx-mat-file-input",[["formControlName","file"],["placeholder","??? - Fichiers accept\xe9s : GeoJSON, KML, ShapeFile, CSV - ???"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"aria-describedby",0],[2,"mat-form-field-should-float",null],[2,"file-input-disabled",null]],[[null,"change"],[null,"focusout"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==l.Pb(t,18).change(n)&&i),"focusout"===e&&(i=!1!==l.Pb(t,18).blur()&&i),i}),_,g)),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,245760,null,0,m.a,[[6,y.p],a.h,l.p,l.M],{accept:[0,"accept"],placeholder:[1,"placeholder"]},null),l.Tb(2048,[[13,4],[14,4]],p.d,null,[m.a])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,"file"),t(e,18,0,".json,.geojson,.kml,.shp,.shapefile,.csv","??? - Fichiers accept\xe9s : GeoJSON, KML, ShapeFile, CSV - ???")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,14,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18).id,l.Pb(e,18).describedBy,l.Pb(e,18).shouldLabelFloat,l.Pb(e,18).isDisabled])}))}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,58,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,22,{_controlNonStatic:0}),l.Ub(335544320,23,{_controlStatic:0}),l.Ub(603979776,24,{_labelChildNonStatic:0}),l.Ub(335544320,25,{_labelChildStatic:0}),l.Ub(603979776,26,{_placeholderChild:0}),l.Ub(603979776,27,{_errorChildren:1}),l.Ub(603979776,28,{_hintChildren:1}),l.Ub(603979776,29,{_prefixChildren:1}),l.Ub(603979776,30,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[22,4],[23,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,31,{_controlNonStatic:0}),l.Ub(335544320,32,{_controlStatic:0}),l.Ub(603979776,33,{_labelChildNonStatic:0}),l.Ub(335544320,34,{_labelChildStatic:0}),l.Ub(603979776,35,{_placeholderChild:0}),l.Ub(603979776,36,{_errorChildren:1}),l.Ub(603979776,37,{_hintChildren:1}),l.Ub(603979776,38,{_prefixChildren:1}),l.Ub(603979776,39,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","group"],["matInput",""],["placeholder","Group"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,37)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(34,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(36,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(37,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[31,4],[32,4]],p.d,null,[A.b]),(t()(),l.Db(39,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(40,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,40,{_controlNonStatic:0}),l.Ub(335544320,41,{_controlStatic:0}),l.Ub(603979776,42,{_labelChildNonStatic:0}),l.Ub(335544320,43,{_labelChildStatic:0}),l.Ub(603979776,44,{_placeholderChild:0}),l.Ub(603979776,45,{_errorChildren:1}),l.Ub(603979776,46,{_hintChildren:1}),l.Ub(603979776,47,{_prefixChildren:1}),l.Ub(603979776,48,{_suffixChildren:1}),(t()(),l.Db(50,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","order"],["matInput",""],["max","10000"],["min","0"],["placeholder","Order"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,51)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,51).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,51)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,51)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,52).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,52).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,52).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,57)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,57)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,57)._onInput()&&i),i}),null,null)),l.Cb(51,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(52,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(54,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(56,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(57,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[40,4],[41,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"name"),t(e,18,0,"Name","text"),t(e,21,0,"outline"),t(e,34,0,"group"),t(e,37,0,"Group","text"),t(e,40,0,"outline"),t(e,54,0,"order"),t(e,57,0,"Order","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,37)._isServer,l.Pb(e,37).id,l.Pb(e,37).placeholder,l.Pb(e,37).disabled,l.Pb(e,37).required,l.Pb(e,37).readonly&&!l.Pb(e,37)._isNativeSelect||null,l.Pb(e,37)._ariaDescribedby||null,l.Pb(e,37).errorState,l.Pb(e,37).required.toString()]),t(e,39,1,["standard"==l.Pb(e,40).appearance,"fill"==l.Pb(e,40).appearance,"outline"==l.Pb(e,40).appearance,"legacy"==l.Pb(e,40).appearance,l.Pb(e,40)._control.errorState,l.Pb(e,40)._canLabelFloat,l.Pb(e,40)._shouldLabelFloat(),l.Pb(e,40)._hasFloatingLabel(),l.Pb(e,40)._hideControlPlaceholder(),l.Pb(e,40)._control.disabled,l.Pb(e,40)._control.autofilled,l.Pb(e,40)._control.focused,"accent"==l.Pb(e,40).color,"warn"==l.Pb(e,40).color,l.Pb(e,40)._shouldForward("untouched"),l.Pb(e,40)._shouldForward("touched"),l.Pb(e,40)._shouldForward("pristine"),l.Pb(e,40)._shouldForward("dirty"),l.Pb(e,40)._shouldForward("valid"),l.Pb(e,40)._shouldForward("invalid"),l.Pb(e,40)._shouldForward("pending"),!l.Pb(e,40)._animationsEnabled]),t(e,50,1,[l.Pb(e,56).ngClassUntouched,l.Pb(e,56).ngClassTouched,l.Pb(e,56).ngClassPristine,l.Pb(e,56).ngClassDirty,l.Pb(e,56).ngClassValid,l.Pb(e,56).ngClassInvalid,l.Pb(e,56).ngClassPending,l.Pb(e,57)._isServer,l.Pb(e,57).id,l.Pb(e,57).placeholder,l.Pb(e,57).disabled,l.Pb(e,57).required,l.Pb(e,57).readonly&&!l.Pb(e,57)._isNativeSelect||null,l.Pb(e,57)._ariaDescribedby||null,l.Pb(e,57).errorState,l.Pb(e,57).required.toString()])}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),c.e,c.b)),l.Cb(1,8568832,[[58,4]],0,d.s,[l.p,l.j,[2,d.l],[2,d.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,65,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,49,{_controlNonStatic:0}),l.Ub(335544320,50,{_controlStatic:0}),l.Ub(603979776,51,{_labelChildNonStatic:0}),l.Ub(335544320,52,{_labelChildStatic:0}),l.Ub(603979776,53,{_placeholderChild:0}),l.Ub(603979776,54,{_errorChildren:1}),l.Ub(603979776,55,{_hintChildren:1}),l.Ub(603979776,56,{_prefixChildren:1}),l.Ub(603979776,57,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[51,4],[52,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Geometry type"])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","geometryType"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),"ngModelChange"===e&&(i=!1!==(r.geometryType=n)&&i),i}),C.b,C.a)),l.Tb(6144,null,d.l,null,[w.c]),l.Cb(17,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(19,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(20,2080768,null,3,w.c,[P.e,l.j,l.G,d.d,l.p,[2,f.b],[2,y.s],[2,y.k],[2,p.c],[6,y.p],[8,null],w.a,a.j],null,null),l.Ub(603979776,58,{options:1}),l.Ub(603979776,59,{optionGroups:1}),l.Ub(603979776,60,{customTrigger:0}),l.Tb(2048,[[49,4],[50,4]],p.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,R)),l.Cb(26,278528,null,0,x.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(28,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,61,{_controlNonStatic:0}),l.Ub(335544320,62,{_controlStatic:0}),l.Ub(603979776,63,{_labelChildNonStatic:0}),l.Ub(335544320,64,{_labelChildStatic:0}),l.Ub(603979776,65,{_placeholderChild:0}),l.Ub(603979776,66,{_errorChildren:1}),l.Ub(603979776,67,{_hintChildren:1}),l.Ub(603979776,68,{_prefixChildren:1}),l.Ub(603979776,69,{_suffixChildren:1}),(t()(),l.Db(38,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","geometryColor"],["matInput",""],["placeholder","Geometry color (black/#000000/rgba(0,0,0,0))"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,39)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,39).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,39)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,39)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,44)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,44)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,44)._onInput()&&i),i}),null,null)),l.Cb(39,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(41,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(43,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(44,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[61,4],[62,4]],p.d,null,[A.b]),(t()(),l.Db(46,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(47,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,70,{_controlNonStatic:0}),l.Ub(335544320,71,{_controlStatic:0}),l.Ub(603979776,72,{_labelChildNonStatic:0}),l.Ub(335544320,73,{_labelChildStatic:0}),l.Ub(603979776,74,{_placeholderChild:0}),l.Ub(603979776,75,{_errorChildren:1}),l.Ub(603979776,76,{_hintChildren:1}),l.Ub(603979776,77,{_prefixChildren:1}),l.Ub(603979776,78,{_suffixChildren:1}),(t()(),l.Db(57,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","geometryOpacity"],["matInput",""],["max","1"],["min","0"],["placeholder","Geometry opacity (0.5)"],["step","0.1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,58)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,58).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,58)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,58)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,59).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,59).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,59).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,64)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,64)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,64)._onInput()&&i),i}),null,null)),l.Cb(58,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(59,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(61,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(63,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(64,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[70,4],[71,4]],p.d,null,[A.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"geometryType",n.geometryType),t(e,20,0),t(e,26,0,n.geometryTypes),t(e,28,0,"outline"),t(e,41,0,"geometryColor"),t(e,44,0,"Geometry color (black/#000000/rgba(0,0,0,0))","text"),t(e,47,0,"outline"),t(e,61,0,"geometryOpacity"),t(e,64,0,"Geometry opacity (0.5)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,38,1,[l.Pb(e,43).ngClassUntouched,l.Pb(e,43).ngClassTouched,l.Pb(e,43).ngClassPristine,l.Pb(e,43).ngClassDirty,l.Pb(e,43).ngClassValid,l.Pb(e,43).ngClassInvalid,l.Pb(e,43).ngClassPending,l.Pb(e,44)._isServer,l.Pb(e,44).id,l.Pb(e,44).placeholder,l.Pb(e,44).disabled,l.Pb(e,44).required,l.Pb(e,44).readonly&&!l.Pb(e,44)._isNativeSelect||null,l.Pb(e,44)._ariaDescribedby||null,l.Pb(e,44).errorState,l.Pb(e,44).required.toString()]),t(e,46,1,["standard"==l.Pb(e,47).appearance,"fill"==l.Pb(e,47).appearance,"outline"==l.Pb(e,47).appearance,"legacy"==l.Pb(e,47).appearance,l.Pb(e,47)._control.errorState,l.Pb(e,47)._canLabelFloat,l.Pb(e,47)._shouldLabelFloat(),l.Pb(e,47)._hasFloatingLabel(),l.Pb(e,47)._hideControlPlaceholder(),l.Pb(e,47)._control.disabled,l.Pb(e,47)._control.autofilled,l.Pb(e,47)._control.focused,"accent"==l.Pb(e,47).color,"warn"==l.Pb(e,47).color,l.Pb(e,47)._shouldForward("untouched"),l.Pb(e,47)._shouldForward("touched"),l.Pb(e,47)._shouldForward("pristine"),l.Pb(e,47)._shouldForward("dirty"),l.Pb(e,47)._shouldForward("valid"),l.Pb(e,47)._shouldForward("invalid"),l.Pb(e,47)._shouldForward("pending"),!l.Pb(e,47)._animationsEnabled]),t(e,57,1,[l.Pb(e,63).ngClassUntouched,l.Pb(e,63).ngClassTouched,l.Pb(e,63).ngClassPristine,l.Pb(e,63).ngClassDirty,l.Pb(e,63).ngClassValid,l.Pb(e,63).ngClassInvalid,l.Pb(e,63).ngClassPending,l.Pb(e,64)._isServer,l.Pb(e,64).id,l.Pb(e,64).placeholder,l.Pb(e,64).disabled,l.Pb(e,64).required,l.Pb(e,64).readonly&&!l.Pb(e,64)._isNativeSelect||null,l.Pb(e,64)._ariaDescribedby||null,l.Pb(e,64).errorState,l.Pb(e,64).required.toString()])}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,59,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,79,{_controlNonStatic:0}),l.Ub(335544320,80,{_controlStatic:0}),l.Ub(603979776,81,{_labelChildNonStatic:0}),l.Ub(335544320,82,{_labelChildStatic:0}),l.Ub(603979776,83,{_placeholderChild:0}),l.Ub(603979776,84,{_errorChildren:1}),l.Ub(603979776,85,{_hintChildren:1}),l.Ub(603979776,86,{_prefixChildren:1}),l.Ub(603979776,87,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderColor"],["matInput",""],["placeholder","Border color (black/#000000/rgba(0,0,0,0))"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[79,4],[80,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,88,{_controlNonStatic:0}),l.Ub(335544320,89,{_controlStatic:0}),l.Ub(603979776,90,{_labelChildNonStatic:0}),l.Ub(335544320,91,{_labelChildStatic:0}),l.Ub(603979776,92,{_placeholderChild:0}),l.Ub(603979776,93,{_errorChildren:1}),l.Ub(603979776,94,{_hintChildren:1}),l.Ub(603979776,95,{_prefixChildren:1}),l.Ub(603979776,96,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderOpacity"],["matInput",""],["max","1"],["min","0"],["placeholder","Border opacity (0.5)"],["step","0.1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,33).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,33).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,33).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,38)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(33,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(35,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(37,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(38,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[88,4],[89,4]],p.d,null,[A.b]),(t()(),l.Db(40,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(41,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,97,{_controlNonStatic:0}),l.Ub(335544320,98,{_controlStatic:0}),l.Ub(603979776,99,{_labelChildNonStatic:0}),l.Ub(335544320,100,{_labelChildStatic:0}),l.Ub(603979776,101,{_placeholderChild:0}),l.Ub(603979776,102,{_errorChildren:1}),l.Ub(603979776,103,{_hintChildren:1}),l.Ub(603979776,104,{_prefixChildren:1}),l.Ub(603979776,105,{_suffixChildren:1}),(t()(),l.Db(51,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderWidth"],["matInput",""],["max","1000"],["min","0"],["placeholder","Border width (2)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,52)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,52).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,52)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,52)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,53).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,53).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,53).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,58)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,58)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,58)._onInput()&&i),i}),null,null)),l.Cb(52,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(53,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(55,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(57,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(58,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[97,4],[98,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"borderColor"),t(e,18,0,"Border color (black/#000000/rgba(0,0,0,0))","text"),t(e,21,0,"outline"),t(e,35,0,"borderOpacity"),t(e,38,0,"Border opacity (0.5)","number"),t(e,41,0,"outline"),t(e,55,0,"borderWidth"),t(e,58,0,"Border width (2)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,37).ngClassUntouched,l.Pb(e,37).ngClassTouched,l.Pb(e,37).ngClassPristine,l.Pb(e,37).ngClassDirty,l.Pb(e,37).ngClassValid,l.Pb(e,37).ngClassInvalid,l.Pb(e,37).ngClassPending,l.Pb(e,38)._isServer,l.Pb(e,38).id,l.Pb(e,38).placeholder,l.Pb(e,38).disabled,l.Pb(e,38).required,l.Pb(e,38).readonly&&!l.Pb(e,38)._isNativeSelect||null,l.Pb(e,38)._ariaDescribedby||null,l.Pb(e,38).errorState,l.Pb(e,38).required.toString()]),t(e,40,1,["standard"==l.Pb(e,41).appearance,"fill"==l.Pb(e,41).appearance,"outline"==l.Pb(e,41).appearance,"legacy"==l.Pb(e,41).appearance,l.Pb(e,41)._control.errorState,l.Pb(e,41)._canLabelFloat,l.Pb(e,41)._shouldLabelFloat(),l.Pb(e,41)._hasFloatingLabel(),l.Pb(e,41)._hideControlPlaceholder(),l.Pb(e,41)._control.disabled,l.Pb(e,41)._control.autofilled,l.Pb(e,41)._control.focused,"accent"==l.Pb(e,41).color,"warn"==l.Pb(e,41).color,l.Pb(e,41)._shouldForward("untouched"),l.Pb(e,41)._shouldForward("touched"),l.Pb(e,41)._shouldForward("pristine"),l.Pb(e,41)._shouldForward("dirty"),l.Pb(e,41)._shouldForward("valid"),l.Pb(e,41)._shouldForward("invalid"),l.Pb(e,41)._shouldForward("pending"),!l.Pb(e,41)._animationsEnabled]),t(e,51,1,[l.Pb(e,57).ngClassUntouched,l.Pb(e,57).ngClassTouched,l.Pb(e,57).ngClassPristine,l.Pb(e,57).ngClassDirty,l.Pb(e,57).ngClassValid,l.Pb(e,57).ngClassInvalid,l.Pb(e,57).ngClassPending,l.Pb(e,58)._isServer,l.Pb(e,58).id,l.Pb(e,58).placeholder,l.Pb(e,58).disabled,l.Pb(e,58).required,l.Pb(e,58).readonly&&!l.Pb(e,58)._isNativeSelect||null,l.Pb(e,58)._ariaDescribedby||null,l.Pb(e,58).errorState,l.Pb(e,58).required.toString()])}))}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,106,{_controlNonStatic:0}),l.Ub(335544320,107,{_controlStatic:0}),l.Ub(603979776,108,{_labelChildNonStatic:0}),l.Ub(335544320,109,{_labelChildStatic:0}),l.Ub(603979776,110,{_placeholderChild:0}),l.Ub(603979776,111,{_errorChildren:1}),l.Ub(603979776,112,{_hintChildren:1}),l.Ub(603979776,113,{_prefixChildren:1}),l.Ub(603979776,114,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","circleRadius"],["matInput",""],["max","100"],["min","0.1"],["placeholder","Radius of point (in pixel)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,19)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(14,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(16,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(18,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(19,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[106,4],[107,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,16,0,"circleRadius"),t(e,19,0,"Radius of point (in pixel)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,18).ngClassUntouched,l.Pb(e,18).ngClassTouched,l.Pb(e,18).ngClassPristine,l.Pb(e,18).ngClassDirty,l.Pb(e,18).ngClassValid,l.Pb(e,18).ngClassInvalid,l.Pb(e,18).ngClassPending,l.Pb(e,19)._isServer,l.Pb(e,19).id,l.Pb(e,19).placeholder,l.Pb(e,19).disabled,l.Pb(e,19).required,l.Pb(e,19).readonly&&!l.Pb(e,19)._isNativeSelect||null,l.Pb(e,19)._ariaDescribedby||null,l.Pb(e,19).errorState,l.Pb(e,19).required.toString()])}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,115,{_controlNonStatic:0}),l.Ub(335544320,116,{_controlStatic:0}),l.Ub(603979776,117,{_labelChildNonStatic:0}),l.Ub(335544320,118,{_labelChildStatic:0}),l.Ub(603979776,119,{_placeholderChild:0}),l.Ub(603979776,120,{_errorChildren:1}),l.Ub(603979776,121,{_hintChildren:1}),l.Ub(603979776,122,{_prefixChildren:1}),l.Ub(603979776,123,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lineWidth"],["matInput",""],["max","100"],["min","0.1"],["placeholder","Width of line (in pixel)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,19)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(14,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(16,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(18,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(19,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[115,4],[116,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,16,0,"lineWidth"),t(e,19,0,"Width of line (in pixel)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,18).ngClassUntouched,l.Pb(e,18).ngClassTouched,l.Pb(e,18).ngClassPristine,l.Pb(e,18).ngClassDirty,l.Pb(e,18).ngClassValid,l.Pb(e,18).ngClassInvalid,l.Pb(e,18).ngClassPending,l.Pb(e,19)._isServer,l.Pb(e,19).id,l.Pb(e,19).placeholder,l.Pb(e,19).disabled,l.Pb(e,19).required,l.Pb(e,19).readonly&&!l.Pb(e,19)._isNativeSelect||null,l.Pb(e,19)._ariaDescribedby||null,l.Pb(e,19).errorState,l.Pb(e,19).required.toString()])}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100%;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,124,{_controlNonStatic:0}),l.Ub(335544320,125,{_controlStatic:0}),l.Ub(603979776,126,{_labelChildNonStatic:0}),l.Ub(335544320,127,{_labelChildStatic:0}),l.Ub(603979776,128,{_placeholderChild:0}),l.Ub(603979776,129,{_errorChildren:1}),l.Ub(603979776,130,{_hintChildren:1}),l.Ub(603979776,131,{_prefixChildren:1}),l.Ub(603979776,132,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","style"],["matInput",""],["placeholder","Style"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(14,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(16,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(17,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[124,4],[125,4]],p.d,null,[A.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,"style"),t(e,17,0,"Style")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()])}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100%;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,133,{_controlNonStatic:0}),l.Ub(335544320,134,{_controlStatic:0}),l.Ub(603979776,135,{_labelChildNonStatic:0}),l.Ub(335544320,136,{_labelChildStatic:0}),l.Ub(603979776,137,{_placeholderChild:0}),l.Ub(603979776,138,{_errorChildren:1}),l.Ub(603979776,139,{_hintChildren:1}),l.Ub(603979776,140,{_prefixChildren:1}),l.Ub(603979776,141,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","properties"],["matInput",""],["placeholder","Properties"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(14,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(16,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(17,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[133,4],[134,4]],p.d,null,[A.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,"properties"),t(e,17,0,"Properties")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()])}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,38,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,142,{_controlNonStatic:0}),l.Ub(335544320,143,{_controlStatic:0}),l.Ub(603979776,144,{_labelChildNonStatic:0}),l.Ub(335544320,145,{_labelChildStatic:0}),l.Ub(603979776,146,{_placeholderChild:0}),l.Ub(603979776,147,{_errorChildren:1}),l.Ub(603979776,148,{_hintChildren:1}),l.Ub(603979776,149,{_prefixChildren:1}),l.Ub(603979776,150,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mapping"],["matInput",""],["placeholder","Mapping"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[142,4],[143,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,151,{_controlNonStatic:0}),l.Ub(335544320,152,{_controlStatic:0}),l.Ub(603979776,153,{_labelChildNonStatic:0}),l.Ub(335544320,154,{_labelChildStatic:0}),l.Ub(603979776,155,{_placeholderChild:0}),l.Ub(603979776,156,{_errorChildren:1}),l.Ub(603979776,157,{_hintChildren:1}),l.Ub(603979776,158,{_prefixChildren:1}),l.Ub(603979776,159,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tippecanoe"],["matInput",""],["placeholder","Tippecanoe"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,37)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(34,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(36,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(37,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[151,4],[152,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"mapping"),t(e,18,0,"Mapping"),t(e,21,0,"outline"),t(e,34,0,"tippecanoe"),t(e,37,0,"Tippecanoe")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,37)._isServer,l.Pb(e,37).id,l.Pb(e,37).placeholder,l.Pb(e,37).disabled,l.Pb(e,37).required,l.Pb(e,37).readonly&&!l.Pb(e,37)._isNativeSelect||null,l.Pb(e,37)._ariaDescribedby||null,l.Pb(e,37).errorState,l.Pb(e,37).required.toString()])}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Is clickable"]))],(function(t,e){t(e,2,0,e.component.clickable)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Is hoverable"]))],(function(t,e){t(e,2,0,e.component.hoverable)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["PIV"]))],(function(t,e){t(e,2,0,e.component.piv)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,10,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,3)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(3,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Show"])),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(6,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,V)),l.Cb(8,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,q)),l.Cb(10,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.show),t(e,6,0,"GL"===n.getLayerType()),t(e,8,0,"GL"===n.getLayerType()),t(e,10,0,"GL"===n.getLayerType())}),(function(t,e){t(e,1,0,l.Pb(e,3).id,l.Pb(e,3).disabled?null:-1,null,null,l.Pb(e,3).checked,l.Pb(e,3).disabled,"before"==l.Pb(e,3).labelPosition,"NoopAnimations"===l.Pb(e,3)._animationMode)}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,58,"form",[["class","form-layer"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitLayer()&&i),i}),null,null)),l.Cb(1,16384,null,0,y.A,[],null,null),l.Cb(2,540672,null,0,y.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,y.c,null,[y.k]),l.Cb(4,16384,null,0,y.r,[[4,y.c]],null,null),(t()(),l.Db(5,0,null,null,28,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(7,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(17,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(18,16384,[[3,4],[4,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Type"])),(t()(),l.Db(20,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","layerType"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,25)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._onBlur()&&i),"ngModelChange"===e&&(i=!1!==(r.layerType=n)&&i),i}),C.b,C.a)),l.Tb(6144,null,d.l,null,[w.c]),l.Cb(22,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(24,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(25,2080768,null,3,w.c,[P.e,l.j,l.G,d.d,l.p,[2,f.b],[2,y.s],[2,y.k],[2,p.c],[6,y.p],[8,null],w.a,a.j],null,null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],p.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,I)),l.Cb(31,278528,null,0,x.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(33,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,j)),l.Cb(35,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,F)),l.Cb(37,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(39,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(41,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(43,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(45,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(47,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,G)),l.Cb(49,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,W)),l.Cb(51,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(52,0,null,null,6,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(53,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,r.b,r.a)),l.Cb(54,180224,null,0,o.b,[l.p,a.h,[2,s.a]],{disabled:[0,"disabled"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(56,0,null,null,2,"button",[["class","btn btn-info helper-button"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.openHelper()&&l),l}),r.b,r.a)),l.Cb(57,180224,null,0,o.b,[l.p,a.h,[2,s.a]],null,null),(t()(),l.Wb(-1,0,["Help !"]))],(function(t,e){var n=e.component;t(e,2,0,n.layerForm),t(e,7,0,"outline"),t(e,22,0,"layerType",n.layerType),t(e,25,0),t(e,31,0,n.layerTypes),t(e,33,0,"GL"===n.getLayerType()),t(e,35,0,n.getLayerType()),t(e,37,0,"GL"===n.getLayerType()),t(e,39,0,"GL"===n.getLayerType()&&"POLYGON"===n.getGeometryType()),t(e,41,0,"GL"===n.getLayerType()&&"POINT"===n.getGeometryType()),t(e,43,0,"GL"===n.getLayerType()&&"LINE"===n.getGeometryType()),t(e,45,0,"GL"===n.getLayerType()),t(e,47,0,n.getLayerType()),t(e,49,0,"GL"===n.getLayerType()),t(e,51,0,n.getLayerType()),t(e,54,0,!n.layerForm.valid)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,6,1,["standard"==l.Pb(e,7).appearance,"fill"==l.Pb(e,7).appearance,"outline"==l.Pb(e,7).appearance,"legacy"==l.Pb(e,7).appearance,l.Pb(e,7)._control.errorState,l.Pb(e,7)._canLabelFloat,l.Pb(e,7)._shouldLabelFloat(),l.Pb(e,7)._hasFloatingLabel(),l.Pb(e,7)._hideControlPlaceholder(),l.Pb(e,7)._control.disabled,l.Pb(e,7)._control.autofilled,l.Pb(e,7)._control.focused,"accent"==l.Pb(e,7).color,"warn"==l.Pb(e,7).color,l.Pb(e,7)._shouldForward("untouched"),l.Pb(e,7)._shouldForward("touched"),l.Pb(e,7)._shouldForward("pristine"),l.Pb(e,7)._shouldForward("dirty"),l.Pb(e,7)._shouldForward("valid"),l.Pb(e,7)._shouldForward("invalid"),l.Pb(e,7)._shouldForward("pending"),!l.Pb(e,7)._animationsEnabled]),t(e,20,1,[l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25).id,l.Pb(e,25).tabIndex,l.Pb(e,25)._getAriaLabel(),l.Pb(e,25)._getAriaLabelledby(),l.Pb(e,25).required.toString(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).errorState,l.Pb(e,25).panelOpen?l.Pb(e,25)._optionIds:null,l.Pb(e,25).multiple,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25)._getAriaActiveDescendant(),l.Pb(e,25).disabled,l.Pb(e,25).errorState,l.Pb(e,25).required,l.Pb(e,25).empty]),t(e,53,0,l.Pb(e,54).disabled||null,"NoopAnimations"===l.Pb(e,54)._animationMode),t(e,56,0,l.Pb(e,57).disabled||null,"NoopAnimations"===l.Pb(e,57)._animationMode)}))}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("quSY");class i extends l.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Yvos:function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},"Z/v2":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return o})),n("8Y7J");var l=n("KCVW"),i=n("XNiG");class r{constructor(t,e=", "){this._files=t,this.delimiter=e,this._fileNames=(this._files||[]).map(t=>t.name).join(e)}get files(){return this._files||[]}get fileNames(){return this._fileNames}}let o=(()=>{class t{constructor(e,n,l,r){this.ngControl=e,this.fm=n,this._elementRef=l,this._renderer=r,this.stateChanges=new i.a,this.focused=!1,this.controlType="file-input",this.autofilled=!1,this._required=!1,this.accept=null,this.id="ngx-mat-file-input-"+t.nextId++,this.describedBy="",this._onChange=t=>{},this._onTouched=()=>{},null!=this.ngControl&&(this.ngControl.valueAccessor=this),n.monitor(l.nativeElement,!0).subscribe(t=>{this.focused=!!t,this.stateChanges.next()})}setDescribedByIds(t){this.describedBy=t.join(" ")}get value(){return this.empty?null:new r(this._elementRef.nativeElement.value||[])}set value(t){t&&(this.writeValue(t),this.stateChanges.next())}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get empty(){return!this._elementRef.nativeElement.value||0===this._elementRef.nativeElement.value.length}get shouldLabelFloat(){return this.focused||!this.empty||void 0!==this.valuePlaceholder}get required(){return this._required}set required(t){this._required=Object(l.c)(t),this.stateChanges.next()}get isDisabled(){return this.disabled}get disabled(){return this._elementRef.nativeElement.disabled}set disabled(t){this.setDisabledState(Object(l.c)(t)),this.stateChanges.next()}get errorState(){return null!==this.ngControl.errors&&!!this.ngControl.touched}onContainerClick(t){"input"===t.target.tagName.toLowerCase()||this.disabled||(this._elementRef.nativeElement.querySelector("input").focus(),this.focused=!0,this.open())}get fileNames(){return this.value?this.value.fileNames:this.valuePlaceholder}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t instanceof r?t.files:null)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}clear(t){t&&(t.preventDefault(),t.stopPropagation()),this.value=new r([]),this._elementRef.nativeElement.querySelector("input").value=null,this._onChange(this.value)}change(t){const e=t.target.files,n=[];if(e)for(let l=0;l<e.length;l++)n.push(e[l]);this.value=new r(n),this._onChange(this.value)}blur(){this.focused=!1,this._onTouched()}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}ngOnInit(){this.multiple=Object(l.c)(this.multiple)}open(){this.disabled||this._elementRef.nativeElement.querySelector("input").click()}ngOnDestroy(){this.stateChanges.complete(),this.fm.stopMonitoring(this._elementRef.nativeElement)}}return t.nextId=0,t})();class a{}var s;!function(t){t.maxContentSize=function(t){return e=>{const n=e&&e.value?e.value.files.map(t=>t.size).reduce((t,e)=>t+e,0):0;return t>=n?null:{maxContentSize:{actualSize:n,maxSize:t}}}}}(s||(s={}))},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Z5h4:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var l=n("8Y7J"),i=(n("r0V8"),n("SVse"),n("POq0")),r=(n("IP0z"),n("Xd0L")),o=(n("cUpR"),n("/HVE")),a=n("omvX"),s=(n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}}));function u(t){return l.Yb(2,[l.Ub(671088640,1,{_inputElement:0}),l.Ub(671088640,2,{ripple:0}),(t()(),l.Db(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),l.Db(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),l.Db(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"change"===e&&(l=!1!==i._onInteractionEvent(n)&&l),"click"===e&&(l=!1!==i._onInputClick(n)&&l),l}),null,null)),(t()(),l.Db(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(6,212992,[[2,4]],0,r.x,[l.p,l.G,o.a,[2,r.m],[2,a.a]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),l.Rb(7,{enterDuration:0}),(t()(),l.Db(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),l.Db(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onLabelTextChange()&&l),l}),null,null)),l.Cb(15,1196032,null,0,i.a,[i.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["\xa0"])),l.Ob(null,0)],(function(t,e){var n=e.component,i=t(e,7,0,150);t(e,6,0,!0,20,i,n._isRippleDisabled(),l.Pb(e,2))}),(function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!l.Pb(e,14).textContent||!l.Pb(e,14).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,l.Pb(e,6).unbounded)}))}},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZF9u:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("TN97"),i=n("egkh"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=n("SSvb"),u=n("ppab");n("svHU");class c extends u.a{constructor(t){super(),this.mapService=t,this.featureLineTrajectory=void 0}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayLine(t,e){const n=[t.longitude,t.latitude],l=a.point(n),i=a.destination(n,e.distance,t.track);this.upsertLineFeature(l,i)}removeLine(){this.featureLineTrajectory&&this.source.removeFeature(this.featureLineTrajectory),this.featureLineTrajectory=void 0}getTargetPoint(){return this.targetPoint.geometry.coordinates}upsertLineFeature(t,e){const n=a.greatCircle(t,e),u=Object(s.a)(n.geometry.coordinates);if(this.featureLineTrajectory){const t=new i.a(u);this.featureLineTrajectory.setGeometry(t)}else this.featureLineTrajectory=new l.a({geometry:new i.a(u),id_:"trajectory-line"}),this.featureLineTrajectory.setStyle(new r.b({stroke:new o.a({color:"orange",width:2})})),this.source.addFeature(this.featureLineTrajectory)}}},ZXPP:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},i=[l.FILL],r=[l.STROKE],o=[l.BEGIN_PATH],a=[l.CLOSE_PATH];e.c=l},"ZZ/e":function(t,e,n){"use strict";var l=n("mrSG"),i=n("8Y7J"),r=n("s7LF"),o=n("SVse"),a=n("iInd"),s=n("AfW+"),u=(n("aiEM"),n("+4pY"),n("mUkt"),n("kBU6")),c=n("930v"),d=n("pori"),h=n("XNiG"),p=n("xgIS"),f=n("2Vo4"),b=n("pLZG"),m=n("eIep"),g=n("/uUt"),_=n("c1op");n.d(e,"a",(function(){return ce})),n.d(e,"b",(function(){return oe})),n.d(e,"c",(function(){return Fe})),n.d(e,"d",(function(){return U})),n.d(e,"e",(function(){return B})),n.d(e,"f",(function(){return z})),n.d(e,"g",(function(){return G})),n.d(e,"h",(function(){return H})),n.d(e,"i",(function(){return V})),n.d(e,"j",(function(){return q})),n.d(e,"k",(function(){return W})),n.d(e,"l",(function(){return $})),n.d(e,"m",(function(){return X})),n.d(e,"n",(function(){return K})),n.d(e,"o",(function(){return J})),n.d(e,"p",(function(){return Q})),n.d(e,"q",(function(){return Z})),n.d(e,"r",(function(){return tt})),n.d(e,"s",(function(){return et})),n.d(e,"t",(function(){return nt})),n.d(e,"u",(function(){return lt})),n.d(e,"v",(function(){return it})),n.d(e,"w",(function(){return rt})),n.d(e,"x",(function(){return ot})),n.d(e,"y",(function(){return at})),n.d(e,"z",(function(){return st})),n.d(e,"A",(function(){return ut})),n.d(e,"B",(function(){return ct})),n.d(e,"C",(function(){return dt})),n.d(e,"D",(function(){return ht})),n.d(e,"E",(function(){return pt})),n.d(e,"F",(function(){return ft})),n.d(e,"G",(function(){return bt})),n.d(e,"H",(function(){return mt})),n.d(e,"I",(function(){return gt})),n.d(e,"J",(function(){return _t})),n.d(e,"K",(function(){return yt})),n.d(e,"L",(function(){return At})),n.d(e,"M",(function(){return vt})),n.d(e,"N",(function(){return Ct})),n.d(e,"O",(function(){return wt})),n.d(e,"P",(function(){return Pt})),n.d(e,"Q",(function(){return xt})),n.d(e,"R",(function(){return St})),n.d(e,"S",(function(){return kt})),n.d(e,"T",(function(){return Mt})),n.d(e,"U",(function(){return Ot})),n.d(e,"V",(function(){return Dt})),n.d(e,"W",(function(){return Tt})),n.d(e,"X",(function(){return Et})),n.d(e,"Y",(function(){return It})),n.d(e,"Z",(function(){return Lt})),n.d(e,"ab",(function(){return jt})),n.d(e,"bb",(function(){return Rt})),n.d(e,"cb",(function(){return Ft})),n.d(e,"db",(function(){return Nt})),n.d(e,"eb",(function(){return Yt})),n.d(e,"fb",(function(){return Ut})),n.d(e,"gb",(function(){return Se})),n.d(e,"hb",(function(){return Bt})),n.d(e,"ib",(function(){return zt})),n.d(e,"jb",(function(){return Gt})),n.d(e,"kb",(function(){return Ht})),n.d(e,"lb",(function(){return Vt})),n.d(e,"mb",(function(){return qt})),n.d(e,"nb",(function(){return Wt})),n.d(e,"ob",(function(){return $t})),n.d(e,"pb",(function(){return Xt})),n.d(e,"qb",(function(){return Kt})),n.d(e,"rb",(function(){return Jt})),n.d(e,"sb",(function(){return Qt})),n.d(e,"tb",(function(){return Zt})),n.d(e,"ub",(function(){return Me})),n.d(e,"vb",(function(){return te})),n.d(e,"wb",(function(){return ee})),n.d(e,"xb",(function(){return ne})),n.d(e,"yb",(function(){return le})),n.d(e,"zb",(function(){return ie})),n.d(e,"Ab",(function(){return re})),n.d(e,"Bb",(function(){return je})),n.d(e,"Cb",(function(){return $e})),n.d(e,"Db",(function(){return He})),n.d(e,"Eb",(function(){return Ue})),n.d(e,"Fb",(function(){return Be})),n.d(e,"Gb",(function(){return I})),n.d(e,"Hb",(function(){return D})),n.d(e,"Ib",(function(){return ze})),n.d(e,"Jb",(function(){return M})),n.d(e,"Kb",(function(){return ae})),n.d(e,"Lb",(function(){return qe}));var y=function(t){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t)},A=function(){function t(t){this.el=t,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this.el.nativeElement.value=this.lastValue=null==t?"":t,v(this.el)},t.prototype.handleChangeEvent=function(t,e){t===this.el.nativeElement&&(e!==this.lastValue&&(this.lastValue=e,this.onChange(e)),v(this.el))},t.prototype._handleBlurEvent=function(t){t===this.el.nativeElement&&(this.onTouched(),v(this.el))},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.el.nativeElement.disabled=t},t.propDecorators={_handleBlurEvent:[{type:i.s,args:["ionBlur",["$event.target"]]}]},t}(),v=function(t){y((function(){var e=t.nativeElement,n=C(e);w(e,n);var l=e.closest("ion-item");l&&w(l,n)}))},C=function(t){for(var e=t.classList,n=[],l=0;l<e.length;l++){var i=e.item(l);null!==i&&P(i,"ng-")&&n.push("ion-"+i.substr(3))}return n},w=function(t,e){var n=t.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach((function(t){return n.remove(t)})),e.forEach((function(t){return n.add(t)}))},P=function(t,e){return t.substr(0,e.length)===e},x=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype.writeValue=function(t){this.el.nativeElement.checked=this.lastValue=null!=t&&t,v(this.el)},e.prototype._handleIonChange=function(t){this.handleChangeEvent(t,t.checked)},e.decorators=[{type:i.o,args:[{selector:"ion-checkbox,ion-toggle",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),S=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleIonChange=function(t){this.handleChangeEvent(t,t.value)},e.prototype.registerOnChange=function(e){t.prototype.registerOnChange.call(this,(function(t){e(""===t?null:parseFloat(t))}))},e.decorators=[{type:i.o,args:[{selector:"ion-input[type=number]",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),k=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleIonSelect=function(t){this.handleChangeEvent(t,t.checked)},e.decorators=[{type:i.o,args:[{selector:"ion-radio",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonSelect:[{type:i.s,args:["ionSelect",["$event.target"]]}]},e}(A),M=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleChangeEvent=function(t){this.handleChangeEvent(t,t.value)},e.decorators=[{type:i.o,args:[{selector:"ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleChangeEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),O=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleInputEvent=function(t){this.handleChangeEvent(t,t.value)},e.decorators=[{type:i.o,args:[{selector:"ion-input:not([type=number]),ion-textarea,ion-searchbar",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleInputEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),D=function(){function t(t,e){var n=this;this.doc=t,this.backButton=new h.a,this.pause=new h.a,this.resume=new h.a,this.resize=new h.a,e.run((function(){var l;n.win=t.defaultView,n.backButton.subscribeWithPriority=function(t,n){return this.subscribe((function(l){return l.register(t,(function(){return e.run(n)}))}))},E(n.pause,t,"pause"),E(n.resume,t,"resume"),E(n.backButton,t,"ionBackButton"),E(n.resize,n.win,"resize"),n._readyPromise=new Promise((function(t){l=t})),n.win&&n.win.cordova?t.addEventListener("deviceready",(function(){l("cordova")}),{once:!0}):l("dom")}))}return t.prototype.is=function(t){return Object(s.f)(this.win,t)},t.prototype.platforms=function(){return Object(s.e)(this.win)},t.prototype.ready=function(){return this._readyPromise},Object.defineProperty(t.prototype,"isRTL",{get:function(){return"rtl"===this.doc.dir},enumerable:!0,configurable:!0}),t.prototype.getQueryParam=function(t){return T(this.win.location.href,t)},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype.isPortrait=function(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches},t.prototype.testUserAgent=function(t){var e=this.win.navigator;return!!(e&&e.userAgent&&e.userAgent.indexOf(t)>=0)},t.prototype.url=function(){return this.win.location.href},t.prototype.width=function(){return this.win.innerWidth},t.prototype.height=function(){return this.win.innerHeight},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.u,args:[o.d]}]},{type:i.G}]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t(Object(i.gb)(o.d),Object(i.gb)(i.G))},token:t,providedIn:"root"}),t}(),T=function(t,e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},E=function(t,e,n){e&&e.addEventListener(n,(function(e){t.next(null!=e?e.detail:void 0)}))},I=function(){function t(t,e,n,l){var i=this;this.location=e,this.serializer=n,this.router=l,this.direction=j,this.animated=R,this.guessDirection="forward",this.lastNavId=-1,l&&l.events.subscribe((function(t){if(t instanceof a.d){var e=t.restoredState?t.restoredState.navigationId:t.id;i.guessDirection=e<i.lastNavId?"back":"forward",i.guessAnimation=t.restoredState?void 0:i.guessDirection,i.lastNavId="forward"===i.guessDirection?t.id:e}})),t.backButton.subscribeWithPriority(0,(function(){return i.pop()}))}return t.prototype.navigateForward=function(t,e){return void 0===e&&(e={}),this.setDirection("forward",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.navigateBack=function(t,e){return void 0===e&&(e={}),this.setDirection("back",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.navigateRoot=function(t,e){return void 0===e&&(e={}),this.setDirection("root",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.back=function(t){return void 0===t&&(t={animated:!0,animationDirection:"back"}),this.setDirection("back",t.animated,t.animationDirection),this.location.back()},t.prototype.pop=function(){return Object(l.b)(this,void 0,void 0,(function(){var t;return Object(l.d)(this,(function(e){switch(e.label){case 0:t=this.topOutlet,e.label=1;case 1:return t?[4,t.pop()]:[3,3];case 2:return e.sent()?[3,3]:(t=t.parentOutlet,[3,1]);case 3:return[2]}}))}))},t.prototype.setDirection=function(t,e,n){this.direction=t,this.animated=L(t,e,n)},t.prototype.setTopOutlet=function(t){this.topOutlet=t},t.prototype.consumeTransition=function(){var t,e="root";return"auto"===this.direction?(e=this.guessDirection,t=this.guessAnimation):(t=this.animated,e=this.direction),this.direction=j,this.animated=R,{direction:e,animation:t}},t.prototype.navigate=function(t,e){if(Array.isArray(t))return this.router.navigate(t,e);var n=this.serializer.parse(t.toString());return void 0!==e.queryParams&&(n.queryParams=Object(l.a)({},e.queryParams)),void 0!==e.fragment&&(n.fragment=e.fragment),this.router.navigateByUrl(n,e)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:D},{type:o.j},{type:a.s},{type:a.m,decorators:[{type:i.H}]}]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t(Object(i.gb)(D),Object(i.gb)(o.j),Object(i.gb)(a.s),Object(i.gb)(a.m,8))},token:t,providedIn:"root"}),t}(),L=function(t,e,n){if(!1!==e)return void 0!==n?n:"forward"===t||"back"===t?t:"root"===t&&!0===e?"forward":void 0},j="auto",R=void 0,F=function(t,e){var n=t.prototype;e.forEach((function(t){Object.defineProperty(n,t,{get:function(){return this.el[t]},set:function(e){var n=this;this.z.runOutsideAngular((function(){return n.el[t]=e}))}})}))},N=function(t,e){var n=t.prototype;e.forEach((function(t){n[t]=function(){var e=this,n=arguments;return this.z.runOutsideAngular((function(){return e.el[t].apply(e.el,n)}))}}))},Y=function(t,e,n){n.forEach((function(n){return t[n]=Object(p.a)(e,n)}))},U=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-app",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),B=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-avatar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),z=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-back-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","defaultHref","disabled","icon","mode","text","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(z,["color","defaultHref","disabled","icon","mode","text","type"]);var G=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionBackdropTap"])}return t.decorators=[{type:i.l,args:[{selector:"ion-backdrop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["stopPropagation","tappable","visible"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(G,["stopPropagation","tappable","visible"]);var H=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-badge",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(H,["color","mode"]);var V=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(V,["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]);var q=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-buttons",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(q,["collapse"]);var W=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(W,["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]);var $=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F($,["mode"]);var X=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(X,["color","mode","translucent"]);var K=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-subtitle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(K,["color","mode"]);var J=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(J,["color","mode"]);var Q=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-checkbox",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","indeterminate","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Q,["checked","color","disabled","indeterminate","mode","name","value"]);var Z=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-chip",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","outline"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Z,["color","mode","outline"]);var tt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-col",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(tt,["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]);var et=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}return t.decorators=[{type:i.l,args:[{selector:"ion-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(et,["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]),F(et,["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]);var nt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-datetime",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(nt,["open"]),F(nt,["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]);var lt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-fab",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","edge","horizontal","vertical"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(lt,["close"]),F(lt,["activated","edge","horizontal","vertical"]);var it=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-fab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(it,["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]);var rt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-fab-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","side"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(rt,["activated","side"]);var ot=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-footer",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ot,["mode","translucent"]);var at=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-grid",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["fixed"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(at,["fixed"]);var st=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse","mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(st,["collapse","mode","translucent"]);var ut=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-icon",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ut,["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]);var ct=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}return t.decorators=[{type:i.l,args:[{selector:"ion-img",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["alt","src"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ct,["alt","src"]);var dt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInfinite"])}return t.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","position","threshold"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(dt,["complete"]),F(dt,["disabled","position","threshold"]);var ht=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["loadingSpinner","loadingText"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ht,["loadingSpinner","loadingText"]);var pt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-input",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(pt,["setFocus","getInputElement"]),F(pt,["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]);var ft=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ft,["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]);var bt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-divider",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","sticky"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(bt,["color","mode","sticky"]);var mt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),gt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(gt,["color","disabled","download","expandable","href","mode","rel","target","type"]);var _t=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSwipe"])}return t.decorators=[{type:i.l,args:[{selector:"ion-item-options",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["side"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(_t,["side"]);var yt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionDrag"])}return t.decorators=[{type:i.l,args:[{selector:"ion-item-sliding",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(yt,["getOpenAmount","getSlidingRatio","open","close","closeOpened"]),F(yt,["disabled"]);var At=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-label",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","position"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(At,["color","mode","position"]);var vt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["inset","lines","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(vt,["closeSlidingItems"]),F(vt,["inset","lines","mode"]);var Ct=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-list-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ct,["color","mode"]);var wt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}return t.decorators=[{type:i.l,args:[{selector:"ion-menu",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(wt,["isOpen","isActive","open","close","toggle","setOpen"]),F(wt,["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]);var Pt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-menu-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","color","disabled","menu","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Pt,["autoHide","color","disabled","menu","type"]);var xt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-menu-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","menu"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(xt,["autoHide","menu"]);var St=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionNavWillChange","ionNavDidChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-nav",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","animation","root","rootParams","swipeGesture"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(St,["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"]),F(St,["animated","animation","root","rootParams","swipeGesture"]);var kt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-link",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps","routerDirection"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(kt,["component","componentProps","routerDirection"]);var Mt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-pop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Ot=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-push",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ot,["component","componentProps"]);var Dt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-set-root",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Dt,["component","componentProps"]);var Tt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-note",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Tt,["color","mode"]);var Et=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-progress-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buffer","color","mode","reversed","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Et,["buffer","color","mode","reversed","type","value"]);var It=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSelect","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-radio",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(It,["checked","color","disabled","mode","name","value"]);var Lt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-radio-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["allowEmptySelection","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Lt,["allowEmptySelection","name","value"]);var jt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-range",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(jt,["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]);var Rt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionRefresh","ionPull","ionStart"])}return t.decorators=[{type:i.l,args:[{selector:"ion-refresher",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Rt,["complete","cancel","getProgress"]),F(Rt,["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]);var Ft=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-refresher-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ft,["pullingIcon","pullingText","refreshingSpinner","refreshingText"]);var Nt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-reorder",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Yt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionItemReorder"])}return t.decorators=[{type:i.l,args:[{selector:"ion-reorder-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Yt,["complete"]),F(Yt,["disabled"]);var Ut=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-ripple-effect",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Ut,["addRipple"]),F(Ut,["type"]);var Bt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-row",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),zt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-searchbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(zt,["setFocus","getInputElement"]),F(zt,["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]);var Gt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-segment",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","mode","scrollable","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Gt,["color","disabled","mode","scrollable","value"]);var Ht=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSelect"])}return t.decorators=[{type:i.l,args:[{selector:"ion-segment-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","disabled","layout","mode","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ht,["checked","disabled","layout","mode","type","value"]);var Vt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-select",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Vt,["open"]),F(Vt,["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]);var qt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-select-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","selected","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(qt,["disabled","selected","value"]);var Wt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-skeleton-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","width"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Wt,["animated","width"]);var $t=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-slide",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Xt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}return t.decorators=[{type:i.l,args:[{selector:"ion-slides",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","options","pager","scrollbar"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Xt,["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]),F(Xt,["mode","options","pager","scrollbar"]);var Kt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-spinner",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","duration","name","paused"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Kt,["color","duration","name","paused"]);var Jt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSplitPaneVisible"])}return t.decorators=[{type:i.l,args:[{selector:"ion-split-pane",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","when"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Jt,["contentId","disabled","when"]);var Qt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-tab-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","selectedTab","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Qt,["color","mode","selectedTab","translucent"]);var Zt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-tab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Zt,["disabled","download","href","layout","mode","rel","selected","tab","target"]);var te=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(te,["color","mode"]);var ee=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-textarea",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(ee,["setFocus","getInputElement"]),F(ee,["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]);var ne=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-thumbnail",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),le=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","size"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(le,["color","size"]);var ie=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ie,["checked","color","disabled","mode","name","value"]);var re=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-toolbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(re,["color","mode"]);var oe=function(){function t(){}return t.prototype.get=function(t,e){var n=se();return n?n.get(t,e):null},t.prototype.getBoolean=function(t,e){var n=se();return!!n&&n.getBoolean(t,e)},t.prototype.getNumber=function(t,e){var n=se();return n?n.getNumber(t,e):0},t.prototype.set=function(t,e){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");var n=se();n&&n.set(t,e)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ae=new i.w("USERCONFIG"),se=function(){if("undefined"!=typeof window){var t=window.Ionic;if(t&&t.config)return t.config}return null},ue=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}(),ce=function(){function t(t,e){this.zone=t,this.appRef=e}return t.prototype.create=function(t,e,n){return new de(t,e,n,this.appRef,this.zone)},t.decorators=[{type:i.v}],t.ctorParameters=function(){return[{type:i.G},{type:i.g}]},t}(),de=function(){function t(t,e,n,l,i){this.resolver=t,this.injector=e,this.location=n,this.appRef=l,this.zone=i,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}return t.prototype.attachViewToDom=function(t,e,n,l){var i=this;return this.zone.run((function(){return new Promise((function(r){r(he(i.zone,i.resolver,i.injector,i.location,i.appRef,i.elRefMap,i.elEventsMap,t,e,n,l))}))}))},t.prototype.removeViewFromDom=function(t,e){var n=this;return this.zone.run((function(){return new Promise((function(t){var l=n.elRefMap.get(e);if(l){l.destroy(),n.elRefMap.delete(e);var i=n.elEventsMap.get(e);i&&(i(),n.elEventsMap.delete(e))}t()}))}))},t}(),he=function(t,e,n,l,r,o,a,s,u,c,d){var h=e.resolveComponentFactory(u),p=i.x.create({providers:me(c),parent:n}),f=l?l.createComponent(h,l.length,p):h.create(p),b=f.instance,m=f.location.nativeElement;if(c&&Object.assign(b,c),d)for(var g=0,_=d;g<_.length;g++)m.classList.add(_[g]);var y=fe(t,b,m);return s.appendChild(m),l||r.attachView(f.hostView),f.changeDetectorRef.reattach(),o.set(m,f),a.set(m,y),m},pe=[u.a,u.b,u.c,u.d,u.e],fe=function(t,e,n){return t.run((function(){var t=pe.filter((function(t){return"function"==typeof e[t]})).map((function(t){var l=function(n){return e[t](n.detail)};return n.addEventListener(t,l),function(){return n.removeEventListener(t,l)}}));return function(){return t.forEach((function(t){return t()}))}}))},be=new i.w("NavParamsToken"),me=function(t){return[{provide:be,useValue:t},{provide:ue,useFactory:ge,deps:[be]}]},ge=function(t){return new ue(t)},_e=function(t,e){return(t=t.filter((function(t){return t.stackId!==e.stackId}))).push(e),t},ye=function(t,e){var n=t.createUrlTree(["."],{relativeTo:e});return t.serializeUrl(n)},Ae=function(t,e){if(t)for(var n=ve(e),l=0;l<n.length;l++){if(l>=t.length)return n[l];if(n[l]!==t[l])return}},ve=function(t){return t.split("/").map((function(t){return t.trim()})).filter((function(t){return""!==t}))},Ce=function(t){t&&(t.ref.destroy(),t.unlistenEvents())},we=function(){function t(t,e,n,l,i,r){this.containerEl=e,this.router=n,this.navCtrl=l,this.zone=i,this.location=r,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==t?ve(t):void 0}return t.prototype.createView=function(t,e){var n=ye(this.router,e),l=t&&t.location&&t.location.nativeElement,i=fe(this.zone,t.instance,l);return{id:this.nextId++,stackId:Ae(this.tabsPrefix,n),unlistenEvents:i,element:l,ref:t,url:n}},t.prototype.getExistingView=function(t){var e=ye(this.router,t),n=this.views.find((function(t){return t.url===e}));return n&&n.ref.changeDetectorRef.reattach(),n},t.prototype.setActive=function(t){var e=this,n=this.navCtrl.consumeTransition(),l=n.direction,i=n.animation,r=this.activeView,o=function(t,e){return!e||t.stackId!==e.stackId}(t,r);o&&(l="back",i=void 0);var a,s=this.views.slice(),u=this.router;u.getCurrentNavigation?a=u.getCurrentNavigation():u.navigations&&u.navigations.value&&(a=u.navigations.value),a&&a.extras&&a.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);var c=this.views.includes(t),d=this.insertView(t,l);return c||t.ref.changeDetectorRef.detectChanges(),this.zone.runOutsideAngular((function(){return e.wait((function(){return r&&r.ref.changeDetectorRef.detach(),t.ref.changeDetectorRef.reattach(),e.transition(t,r,i,e.canGoBack(1),!1).then((function(){return Pe(t,d,s,e.location)})).then((function(){return{enteringView:t,direction:l,animation:i,tabSwitch:o}}))}))}))},t.prototype.canGoBack=function(t,e){return void 0===e&&(e=this.getActiveStackId()),this.getStack(e).length>t},t.prototype.pop=function(t,e){var n=this;return void 0===e&&(e=this.getActiveStackId()),this.zone.run((function(){var l=n.getStack(e);if(l.length<=t)return Promise.resolve(!1);var i=l[l.length-t-1],r=i.url,o=i.savedData;if(o){var a=o.get("primary");a&&a.route&&a.route._routerState&&a.route._routerState.snapshot&&a.route._routerState.snapshot.url&&(r=a.route._routerState.snapshot.url)}return n.navCtrl.navigateBack(r,i.savedExtras).then((function(){return!0}))}))},t.prototype.startBackTransition=function(){var t=this,e=this.activeView;if(e){var n=this.getStack(e.stackId),l=n[n.length-2];return this.wait((function(){return t.transition(l,e,"back",t.canGoBack(2),!0)}))}return Promise.resolve()},t.prototype.endBackTransition=function(t){t?(this.skipTransition=!0,this.pop(1)):this.activeView&&xe(this.activeView,this.views,this.views,this.location)},t.prototype.getLastUrl=function(t){var e=this.getStack(t);return e.length>0?e[e.length-1]:void 0},t.prototype.getActiveStackId=function(){return this.activeView?this.activeView.stackId:void 0},t.prototype.destroy=function(){this.containerEl=void 0,this.views.forEach(Ce),this.activeView=void 0,this.views=[]},t.prototype.getStack=function(t){return this.views.filter((function(e){return e.stackId===t}))},t.prototype.insertView=function(t,e){return this.activeView=t,this.views=function(t,e,n){return"root"===n?_e(t,e):"forward"===n?function(t,e){return t.indexOf(e)>=0?t=t.filter((function(t){return t.stackId!==e.stackId||t.id<=e.id})):t.push(e),t}(t,e):function(t,e){return t.indexOf(e)>=0?t.filter((function(t){return t.stackId!==e.stackId||t.id<=e.id})):_e(t,e)}(t,e)}(this.views,t,e),this.views.slice()},t.prototype.transition=function(t,e,n,l,i){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(e===t)return Promise.resolve(!1);var r=t?t.element:void 0,o=e?e.element:void 0,a=this.containerEl;return r&&r!==o&&(r.classList.add("ion-page"),r.classList.add("ion-page-invisible"),r.parentElement!==a&&a.appendChild(r),a.commit)?a.commit(r,o,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:l,progressAnimation:i}):Promise.resolve(!1)},t.prototype.wait=function(t){return Object(l.b)(this,void 0,void 0,(function(){return Object(l.d)(this,(function(e){switch(e.label){case 0:return void 0===this.runningTask?[3,2]:[4,this.runningTask];case 1:e.sent(),this.runningTask=void 0,e.label=2;case 2:return[2,this.runningTask=t()]}}))}))},t}(),Pe=function(t,e,n,l){return"function"==typeof requestAnimationFrame?new Promise((function(i){requestAnimationFrame((function(){xe(t,e,n,l),i()}))})):Promise.resolve()},xe=function(t,e,n,l){n.filter((function(t){return!e.includes(t)})).forEach(Ce),e.forEach((function(e){var n=l.path().split("?")[0].split("#")[0];if(e!==t&&e.url!==n){var i=e.element;i.setAttribute("aria-hidden","true"),i.classList.add("ion-page-hidden"),e.ref.changeDetectorRef.detach()}}))},Se=function(){function t(t,e,n,l,r,o,s,u,c,d,h,p,b){this.parentContexts=t,this.location=e,this.resolver=n,this.config=o,this.navCtrl=s,this.parentOutlet=b,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new f.a(null),this.stackEvents=new i.r,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.nativeEl=c.nativeElement,this.name=l||a.f,this.tabsPrefix="true"===r?ye(d,p):void 0,this.stackCtrl=new we(this.tabsPrefix,this.nativeEl,d,s,h,u),t.onChildOutletCreated(this.name,this)}return Object.defineProperty(t.prototype,"animated",{set:function(t){this.nativeEl.animated=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swipeGesture",{set:function(t){var e=this;this._swipeGesture=t,this.nativeEl.swipeHandler=t?{canStart:function(){return e.stackCtrl.canGoBack(1)},onStart:function(){return e.stackCtrl.startBackTransition()},onEnd:function(t){return e.stackCtrl.endBackTransition(t)}}:void 0},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.stackCtrl.destroy()},t.prototype.getContext=function(){return this.parentContexts.getContext(this.name)},t.prototype.ngOnInit=function(){var t=this;if(!this.activated){var e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}this.nativeEl.componentOnReady&&this.nativeEl.componentOnReady().then((function(){void 0===t._swipeGesture&&(t.swipeGesture=t.config.getBoolean("swipeBackEnabled","ios"===t.nativeEl.mode))}))},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){throw new Error("incompatible reuse strategy")},t.prototype.attach=function(t,e){throw new Error("incompatible reuse strategy")},t.prototype.deactivate=function(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};var t=this.getContext();if(t.route){var e=t.route.snapshot;this.activatedView.savedExtras.queryParams=e.queryParams,this.activatedView.savedExtras.fragment=e.fragment}}var n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}},t.prototype.activateWith=function(t,e){var n,l=this;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var i=this.stackCtrl.getExistingView(t);if(i){n=this.activated=i.ref;var r=i.savedData;r&&(this.getContext().children.contexts=r),this.updateActivatedRouteProxy(n.instance,t)}else{var o=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,s=new f.a(null),u=this.createActivatedRouteProxy(s,t),c=new ke(u,a,this.location.injector);n=this.activated=this.location.createComponent(o,this.location.length,c),s.next(n.instance),i=this.stackCtrl.createView(this.activated,t),this.proxyMap.set(n.instance,u),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:t})}this.activatedView=i,this.stackCtrl.setActive(i).then((function(t){l.navCtrl.setTopOutlet(l),l.activateEvents.emit(n.instance),l.stackEvents.emit(t)}))},t.prototype.canGoBack=function(t,e){return void 0===t&&(t=1),this.stackCtrl.canGoBack(t,e)},t.prototype.pop=function(t,e){return void 0===t&&(t=1),this.stackCtrl.pop(t,e)},t.prototype.getLastUrl=function(t){var e=this.stackCtrl.getLastUrl(t);return e?e.url:void 0},t.prototype.getActiveStackId=function(){return this.stackCtrl.getActiveStackId()},t.prototype.createActivatedRouteProxy=function(t,e){var n=new a.a;return n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,n._paramMap=this.proxyObservable(t,"paramMap"),n._queryParamMap=this.proxyObservable(t,"queryParamMap"),n.url=this.proxyObservable(t,"url"),n.params=this.proxyObservable(t,"params"),n.queryParams=this.proxyObservable(t,"queryParams"),n.fragment=this.proxyObservable(t,"fragment"),n.data=this.proxyObservable(t,"data"),n},t.prototype.proxyObservable=function(t,e){var n=this;return t.pipe(Object(b.a)((function(t){return!!t})),Object(m.a)((function(t){return n.currentActivatedRoute$.pipe(Object(b.a)((function(e){return null!==e&&e.component===t})),Object(m.a)((function(t){return t&&t.activatedRoute[e]})),Object(g.a)())})))},t.prototype.updateActivatedRouteProxy=function(t,e){var n=this.proxyMap.get(t);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,this.currentActivatedRoute$.next({component:t,activatedRoute:e})},t.decorators=[{type:i.o,args:[{selector:"ion-router-outlet",exportAs:"outlet",inputs:["animated","swipeGesture"]}]}],t.ctorParameters=function(){return[{type:a.b},{type:i.Y},{type:i.m},{type:String,decorators:[{type:i.h,args:["name"]}]},{type:String,decorators:[{type:i.H},{type:i.h,args:["tabs"]}]},{type:oe},{type:I},{type:o.j},{type:i.p},{type:a.m},{type:i.G},{type:a.a},{type:t,decorators:[{type:i.R},{type:i.H}]}]},t.propDecorators={stackEvents:[{type:i.I}],activateEvents:[{type:i.I,args:["activate"]}],deactivateEvents:[{type:i.I,args:["deactivate"]}]},t}(),ke=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===a.a?this.route:t===a.b?this.childContexts:this.parent.get(t,e)},t}(),Me=function(){function t(t){this.navCtrl=t,this.ionTabsWillChange=new i.r,this.ionTabsDidChange=new i.r}return t.prototype.onPageSelected=function(t){var e=t.enteringView.stackId;t.tabSwitch&&void 0!==e&&(this.tabBar&&(this.tabBar.selectedTab=e),this.ionTabsWillChange.emit({tab:e}),this.ionTabsDidChange.emit({tab:e}))},t.prototype.select=function(t){var e=this.outlet.getActiveStackId()===t,n=this.outlet.tabsPrefix+"/"+t,l=e?n:this.outlet.getLastUrl(t)||n;return this.navCtrl.navigateRoot(l,{animated:!0,animationDirection:"back"})},t.prototype.getSelected=function(){return this.outlet.getActiveStackId()},t.decorators=[{type:i.l,args:[{selector:"ion-tabs",template:'\n <ng-content select="[slot=top]"></ng-content>\n <div class="tabs-inner">\n <ion-router-outlet #outlet tabs="true" (stackEvents)="onPageSelected($event)"></ion-router-outlet>\n </div>\n <ng-content></ng-content>',styles:["\n :host {\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n flex-direction: column;\n\n width: 100%;\n height: 100%;\n\n contain: layout size style;\n z-index: $z-index-page-container;\n }\n .tabs-inner {\n position: relative;\n\n flex: 1;\n\n contain: layout size style;\n }"]}]}],t.ctorParameters=function(){return[{type:I}]},t.propDecorators={outlet:[{type:i.X,args:["outlet",{read:Se}]}],tabBar:[{type:i.n,args:[Qt]}],ionTabsWillChange:[{type:i.I}],ionTabsDidChange:[{type:i.I}],select:[{type:i.s,args:["ionTabButtonClick",["$event.detail.tab"]]}]},t}(),Oe=function(){function t(t,e){this.routerOutlet=t,this.navCtrl=e}return t.prototype.onClick=function(t){this.routerOutlet&&this.routerOutlet.canGoBack()?(this.routerOutlet.pop(),t.preventDefault()):null!=this.defaultHref&&(this.navCtrl.navigateBack(this.defaultHref),t.preventDefault())},t.decorators=[{type:i.o,args:[{selector:"ion-back-button",inputs:["defaultHref"]}]}],t.ctorParameters=function(){return[{type:Se,decorators:[{type:i.H}]},{type:I}]},t.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},t}(),De=function(){function t(t,e,n,l,i){t.nativeElement.delegate=l.create(e,n,i)}return t.decorators=[{type:i.o,args:[{selector:"ion-nav"}]}],t.ctorParameters=function(){return[{type:i.p},{type:i.m},{type:i.x},{type:ce},{type:i.Y}]},t}(),Te=function(){function t(t,e,n,l,i){this.locationStrategy=t,this.navCtrl=e,this.elementRef=n,this.router=l,this.routerLink=i,this.routerDirection="forward"}return t.prototype.ngOnInit=function(){this.updateTargetUrlAndHref()},t.prototype.ngOnChanges=function(){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.updateTargetUrlAndHref=function(){if(this.routerLink){var t=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=t}},t.prototype.onClick=function(t){this.navCtrl.setDirection(this.routerDirection),t.preventDefault()},t.decorators=[{type:i.o,args:[{selector:"[routerLink]",inputs:["routerDirection"]}]}],t.ctorParameters=function(){return[{type:o.k},{type:I},{type:i.p},{type:a.m},{type:a.n,decorators:[{type:i.H}]}]},t.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},t}(),Ee=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.o,args:[{selector:"[virtualFooter]"}]}],t.ctorParameters=function(){return[{type:i.U}]},t}(),Ie=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.o,args:[{selector:"[virtualHeader]"}]}],t.ctorParameters=function(){return[{type:i.U}]},t}(),Le=function(){function t(t,e){this.templateRef=t,this.viewContainer=e}return t.decorators=[{type:i.o,args:[{selector:"[virtualItem]"}]}],t.ctorParameters=function(){return[{type:i.U},{type:i.Y}]},t}(),je=function(){function t(t,e,n){this.z=t,this.iterableDiffers=e,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}return t.prototype.ngOnChanges=function(t){if(this.trackBy&&"items"in t){var e=t.items.currentValue;if(void 0===this.differ&&null!=e)try{this.differ=this.iterableDiffers.find(e).create(this.trackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+e+"'. VirtualScroll only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)},t.prototype.nodeRender=function(t,e,n){var l=this;return this.z.run((function(){var i;if(t){var r=(i=l.refMap.get(t)).context;r.$implicit=e.value,r.index=e.index}else i=l.itmTmp.viewContainer.createEmbeddedView(l.getComponent(e.type),{$implicit:e.value,index:n},n),t=Re(i),l.refMap.set(t,i);return i.detectChanges(),t}))},t.prototype.getComponent=function(t){switch(t){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")},t.decorators=[{type:i.l,args:[{selector:"ion-virtual-scroll",template:"<ng-content></ng-content>",changeDetection:i.i.OnPush,inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight","trackBy"]}]}],t.ctorParameters=function(){return[{type:i.G},{type:i.y},{type:i.p}]},t.propDecorators={itmTmp:[{type:i.n,args:[Le]}],hdrTmp:[{type:i.n,args:[Ie]}],ftrTmp:[{type:i.n,args:[Ee]}]},t}(),Re=function(t){for(var e=t.rootNodes,n=0;n<e.length;n++)if(1===e[n].nodeType)return e[n];throw new Error("virtual element was not created")};F(je,["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"]),N(je,["checkEnd","checkRange","positionForItem"]);var Fe=function(){function t(t){var e=t.nativeElement,n=Array.from(e.attributes).map((function(t){return t.name})).filter((function(t){return Ne.includes(t)}));n.length>0&&console.warn("[DEPRECATED][CSS] Ionic CSS attributes are deprecated.\nReplace:\n'<"+e.tagName.toLowerCase()+" "+n.map((function(t){return""+t})).join(" ")+">'\n\nWith:\n'<"+e.tagName.toLowerCase()+' class="'+n.map((function(t){return"ion-"+t})).join(" ")+"\">'\n ")}return t.decorators=[{type:i.o,args:[{selector:"[align-self-start], [align-self-end], [align-self-center], [align-self-stretch], [align-self-baseline], [align-self-auto], [wrap-reverse], [justify-content-start], [justify-content-center], [justify-content-end], [justify-content-around], [justify-content-between], [justify-content-evenly], [align-items-start], [align-items-center], [align-items-end], [align-items-stretch], [align-items-baseline], [float-left], [float-right], [float-start], [float-end], [float-sm-left], [float-sm-right], [float-sm-start], [float-sm-end], [float-md-left], [float-md-right], [float-md-start], [float-md-end], [float-lg-left], [float-lg-right], [float-lg-start], [float-lg-end], [float-xl-left], [float-xl-right], [float-xl-start], [float-xl-end], [text-center], [text-justify], [text-start], [text-end], [text-left], [text-right], [text-nowrap], [text-wrap], [text-sm-center], [text-sm-justify], [text-sm-start], [text-sm-end], [text-sm-left], [text-sm-right], [text-sm-nowrap], [text-sm-wrap], [text-md-center], [text-md-justify], [text-md-start], [text-md-end], [text-md-left], [text-md-right], [text-md-nowrap], [text-md-wrap], [text-lg-center], [text-lg-justify], [text-lg-start], [text-lg-end], [text-lg-left], [text-lg-right], [text-lg-nowrap], [text-lg-wrap], [text-xl-center], [text-xl-justify], [text-xl-start], [text-xl-end], [text-xl-left], [text-xl-right], [text-xl-nowrap], [text-xl-wrap], [text-uppercase], [text-lowercase], [text-capitalize], [text-sm-uppercase], [text-sm-lowercase], [text-sm-capitalize], [text-md-uppercase], [text-md-lowercase], [text-md-capitalize], [text-lg-uppercase], [text-lg-lowercase], [text-lg-capitalize], [text-xl-uppercase], [text-xl-lowercase], [text-xl-capitalize], [no-padding], [padding], [padding-top], [padding-bottom], [padding-start], [padding-end], [padding-vertical], [padding-horizontal], [no-margin], [margin], [margin-top], [margin-bottom], [margin-start], [margin-end], [margin-vertical], [margin-horizontal]"}]}],t.ctorParameters=function(){return[{type:i.p}]},t}(),Ne=["align-self-start","align-self-end","align-self-center","align-self-stretch","align-self-baseline","align-self-auto","wrap-reverse","justify-content-start","justify-content-center","justify-content-end","justify-content-around","justify-content-between","justify-content-evenly","align-items-start","align-items-center","align-items-end","align-items-stretch","align-items-baseline","float-left","float-right","float-start","float-end","float-sm-left","float-sm-right","float-sm-start","float-sm-end","float-md-left","float-md-right","float-md-start","float-md-end","float-lg-left","float-lg-right","float-lg-start","float-lg-end","float-xl-left","float-xl-right","float-xl-start","float-xl-end","text-center","text-justify","text-start","text-end","text-left","text-right","text-nowrap","text-wrap","text-sm-center","text-sm-justify","text-sm-start","text-sm-end","text-sm-left","text-sm-right","text-sm-nowrap","text-sm-wrap","text-md-center","text-md-justify","text-md-start","text-md-end","text-md-left","text-md-right","text-md-nowrap","text-md-wrap","text-lg-center","text-lg-justify","text-lg-start","text-lg-end","text-lg-left","text-lg-right","text-lg-nowrap","text-lg-wrap","text-xl-center","text-xl-justify","text-xl-start","text-xl-end","text-xl-left","text-xl-right","text-xl-nowrap","text-xl-wrap","text-uppercase","text-lowercase","text-capitalize","text-sm-uppercase","text-sm-lowercase","text-sm-capitalize","text-md-uppercase","text-md-lowercase","text-md-capitalize","text-lg-uppercase","text-lg-lowercase","text-lg-capitalize","text-xl-uppercase","text-xl-lowercase","text-xl-capitalize","no-padding","padding","padding-top","padding-bottom","padding-start","padding-end","padding-vertical","padding-horizontal","no-margin","margin","margin-top","margin-bottom","margin-start","margin-end","margin-vertical","margin-horizontal"],Ye=function(){function t(t){this.ctrl=t}return t.prototype.create=function(t){return this.ctrl.create(t||{})},t.prototype.dismiss=function(t,e,n){return this.ctrl.dismiss(t,e,n)},t.prototype.getTop=function(){return this.ctrl.getTop()},t}(),Ue=(function(t){function e(){return t.call(this,d.c)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(t){function e(){return t.call(this,d.b)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(){function t(){this.c=new Map,console.warn('[DEPRECATION][Events]: The Events provider is deprecated and it will be removed in the next major release.\n - Use "Observables" for a similar pub/sub architecture: https://angular.io/guide/observables\n - Use "Redux" for advanced state management: https://ngrx.io')}t.prototype.subscribe=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var l=this.c.get(t);l||this.c.set(t,l=[]),l.push.apply(l,e)},t.prototype.unsubscribe=function(t,e){if(!e)return this.c.delete(t);var n=this.c.get(t);if(!n)return!1;var l=n.indexOf(e);return!(l<0||(n.splice(l,1),0===n.length&&this.c.delete(t),0))},t.prototype.publish=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var l=this.c.get(t);return l?l.map((function(t){try{return t.apply(void 0,e)}catch(n){return console.error(n),null}})):null},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(t){function e(){return t.call(this,d.m)||this}return Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"}),e}(Ye)),Be=(function(){function t(){}t.prototype.open=function(t){return c.a.open(t)},t.prototype.close=function(t){return c.a.close(t)},t.prototype.toggle=function(t){return c.a.toggle(t)},t.prototype.enable=function(t,e){return c.a.enable(t,e)},t.prototype.swipeEnable=function(t,e){return console.warn("[DEPRECATED][ion-menu-controller] swipeEnable() is deprecated. Use MenuController.swipeGesture() instead"),this.swipeGesture(t,e)},t.prototype.swipeGesture=function(t,e){return c.a.swipeGesture(t,e)},t.prototype.isOpen=function(t){return c.a.isOpen(t)},t.prototype.isEnabled=function(t){return c.a.isEnabled(t)},t.prototype.get=function(t){return c.a.get(t)},t.prototype.getOpen=function(){return c.a.getOpen()},t.prototype.getMenus=function(){return c.a.getMenus()},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(t){function e(){return t.call(this,d.o)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(t){function e(e,n,l){var i=t.call(this,d.n)||this;return i.angularDelegate=e,i.resolver=n,i.injector=l,i}return Object(l.c)(e,t),e.prototype.create=function(e){return t.prototype.create.call(this,Object(l.a)({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},e.decorators=[{type:i.v}],e.ctorParameters=function(){return[{type:ce},{type:i.m},{type:i.x}]},e}(Ye)),ze=function(t){function e(e,n,l){var i=t.call(this,d.d)||this;return i.angularDelegate=e,i.resolver=n,i.injector=l,i}return Object(l.c)(e,t),e.prototype.create=function(e){return t.prototype.create.call(this,Object(l.a)({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},e.decorators=[{type:i.v}],e.ctorParameters=function(){return[{type:ce},{type:i.m},{type:i.x}]},e}(Ye),Ge=(function(t){function e(){return t.call(this,d.q)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(){function t(){}t.prototype.read=function(t){Ge().read(t)},t.prototype.write=function(t){Ge().write(t)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(){var t="undefined"!=typeof window?window:null;if(null!=t){var e=t.Ionic;return e&&e.queue?e.queue:{read:function(e){return t.requestAnimationFrame(e)},write:function(e){return t.requestAnimationFrame(e)}}}return{read:function(t){return t()},write:function(t){return t()}}}),He=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.shouldAttach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){if(t.routeConfig!==e.routeConfig)return!1;var n=t.params,l=e.params,i=Object.keys(n),r=Object.keys(l);if(i.length!==r.length)return!1;for(var o=0,a=i;o<a.length;o++){var s=a[o];if(l[s]!==n[s])return!1}return!0},t}(),Ve=!1,qe=function(t,e,i){return function(){var r=e.defaultView;if(r){Ve&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),Ve=!0,(r.Ionic=r.Ionic||{}).config=Object(l.a)({},t,{_zoneGate:function(t){return i.run(t)}});var o="__zone_symbol__addEventListener"in e.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var t=window,e=[];return t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove)||e.push(n.e(100).then(n.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var t=new URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(99).then(n.t.bind(null,"t6o4",7))),Promise.all(e)}().then((function(){return t={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:y,jmp:function(t){return i.runOutsideAngular(t)},ael:function(t,e,n,l){t[o](e,n,l)},rel:function(t,e,n,l){t.removeEventListener(e,n,l)}},Object(_.b)().then(()=>{Object(_.h)(),Object(_.c)(JSON.parse('[[{"ios":"ion-select_3-ios","md":"ion-select_3-md"},[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionSelect","onSelect"]]],[1,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"selected":[4],"value":[8]}]]],[{"ios":"ion-menu_4-ios","md":"ion-menu_4-md"},[[1,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]],[1,"ion-menu",{"contentId":[1,"content-id"],"menuId":[1,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[32,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[0,"ion-menu-controller",{"open":[64],"close":[64],"toggle":[64],"enable":[64],"swipeGesture":[64],"isOpen":[64],"isEnabled":[64],"get":[64],"getOpen":[64],"getMenus":[64],"isAnimating":[64],"registerAnimation":[64]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]]]],[{"ios":"ion-action-sheet-ios","md":"ion-action-sheet-md"},[[2,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-fab_3-ios","md":"ion-fab_3-md"},[[1,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],[{"ios":"ion-refresher_2-ios","md":"ion-refresher_2-md"},[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[0,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],[{"ios":"ion-alert-ios","md":"ion-alert-md"},[[2,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-back-button-ios","md":"ion-back-button-md"},[[2,"ion-back-button",{"color":[1],"defaultHref":[1,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1]}]]],[{"ios":"ion-loading-ios","md":"ion-loading-md"},[[2,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-toast-ios","md":"ion-toast-md"},[[1,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"showCloseButton":[4,"show-close-button"],"closeButtonText":[1,"close-button-text"],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-card_5-ios","md":"ion-card_5-md"},[[6,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}],[0,"ion-card-content"],[1,"ion-card-header",{"color":[1],"translucent":[4]}],[1,"ion-card-subtitle",{"color":[1]}],[1,"ion-card-title",{"color":[1]}]]],[{"ios":"ion-item-option_3-ios","md":"ion-item-option_3-md"},[[1,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[0,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],[{"ios":"ion-infinite-scroll_2-ios","md":"ion-infinite-scroll_2-md"},[[0,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],[{"ios":"ion-reorder_2-ios","md":"ion-reorder_2-md"},[[1,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],[{"ios":"ion-segment_2-ios","md":"ion-segment_2-md"},[[1,"ion-segment-button",{"checked":[1028],"disabled":[4],"layout":[1],"type":[1],"value":[1]}],[2,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"value":[1025]},[[0,"ionSelect","segmentClick"]]]]],[{"ios":"ion-tab-bar_2-ios","md":"ion-tab-bar_2-md"},[[1,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[16,"ionTabBarChanged","onTabBarChanged"]]],[1,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},[[8,"keyboardWillHide","onKeyboardWillHide"],[8,"keyboardWillShow","onKeyboardWillShow"]]]]],[{"ios":"ion-chip-ios","md":"ion-chip-md"},[[1,"ion-chip",{"color":[1],"outline":[4]}]]],[{"ios":"ion-modal-ios","md":"ion-modal-md"},[[2,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-popover-ios","md":"ion-popover-md"},[[2,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-searchbar-ios","md":"ion-searchbar-md"},[[2,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[8,"show-cancel-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-action-sheet-controller_8",[[0,"ion-action-sheet-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-alert-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[1,"ion-anchor",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"]}],[0,"ion-loading-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-modal-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-picker-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-popover-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-toast-controller",{"create":[64],"dismiss":[64],"getTop":[64]}]]],[{"ios":"ion-app_8-ios","md":"ion-app_8-md"},[[0,"ion-app"],[2,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[2,"click","onClick"]]],[0,"ion-footer",{"translucent":[4]}],[0,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[1,"ion-title",{"color":[1],"size":[1]}],[1,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-nav_5",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"]}],[0,"ion-nav-pop"],[0,"ion-nav-push",{"component":[1],"componentProps":[16]}],[0,"ion-nav-set-root",{"component":[1],"componentProps":[16]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}]]],[{"ios":"ion-avatar_3-ios","md":"ion-avatar_3-md"},[[1,"ion-avatar"],[1,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],[{"ios":"ion-slide_2-ios","md":"ion-slide_2-md"},[[0,"ion-slide"],[4,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],[{"ios":"ion-checkbox-ios","md":"ion-checkbox-md"},[[1,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],[{"ios":"ion-input-ios","md":"ion-input-md"},[[2,"ion-input",{"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-progress-bar-ios","md":"ion-progress-bar-md"},[[1,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],[{"ios":"ion-range-ios","md":"ion-range-md"},[[1,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],[{"ios":"ion-split-pane-ios","md":"ion-split-pane-md"},[[0,"ion-split-pane",{"contentId":[1,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],[{"ios":"ion-textarea-ios","md":"ion-textarea-md"},[[2,"ion-textarea",{"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-toggle-ios","md":"ion-toggle-md"},[[1,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],[{"ios":"ion-datetime_3-ios","md":"ion-datetime_3-md"},[[2,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[1,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[0,"ion-picker-column",{"col":[16]}]]],[{"ios":"ion-radio_2-ios","md":"ion-radio_2-md"},[[1,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"checked":[1028],"value":[1032]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],[{"ios":"ion-backdrop-ios","md":"ion-backdrop-md"},[[1,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"touchstart","onTouchStart"],[2,"click","onMouseDown"],[2,"mousedown","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],[{"ios":"ion-button_2-ios","md":"ion-button_2-md"},[[1,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"svgContent":[32],"isVisible":[32]}]]],[{"ios":"ion-item_8-ios","md":"ion-item_8-md"},[[1,"ion-item-divider",{"color":[1],"sticky":[4]}],[0,"ion-item-group"],[1,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4],"width":[1]}],[1,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionStyle","itemStyle"]]],[2,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[0,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[1,"ion-list-header",{"color":[1]}]]]]'),t)});var t}))}}},We=[U,B,z,G,H,V,q,W,$,X,K,J,Q,Z,tt,et,nt,lt,it,rt,ot,at,st,ut,ct,dt,ht,pt,ft,bt,mt,gt,_t,yt,At,vt,Ct,wt,Pt,xt,St,kt,Mt,Ot,Dt,Tt,Et,It,Lt,jt,Rt,Ft,Nt,Yt,Ut,Bt,zt,Gt,Ht,Vt,qt,Wt,$t,Xt,Kt,Jt,Qt,Zt,te,ee,ne,ie,re,le,Me,x,S,k,M,O,Se,Oe,De,Te,Ee,Ie,Le,je,Fe],$e=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:ae,useValue:e},{provide:i.d,useFactory:qe,multi:!0,deps:[ae,o.d,i.G]}]}},t.decorators=[{type:i.B,args:[{declarations:We,exports:We,providers:[ce,Be,ze],imports:[o.c]}]}],t}()},ZcWs:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var l=n("8Y7J"),i=n("oBZk"),r=n("Mc5n"),o=n("ZZ/e"),a=n("SVse"),s=n("IP0z"),u=n("s6ns"),c=n("t+3E"),d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,7,"ion-item",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,i.z,i.h)),l.Tb(6144,null,r.l,null,[r.c]),l.Cb(2,49152,null,0,o.F,[l.j,l.p,l.G],null,null),l.Cb(3,4866048,[[1,4]],3,r.c,[l.p,[3,r.b],a.d,l.G,l.Y,r.a,[2,s.b],r.g,l.j],null,null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),(t()(),l.Wb(7,0,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging()),t(e,7,0,e.context.$implicit)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,7,"ion-item",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,i.z,i.h)),l.Tb(6144,null,r.l,null,[r.c]),l.Cb(2,49152,null,0,o.F,[l.j,l.p,l.G],null,null),l.Cb(3,4866048,[[5,4]],3,r.c,[l.p,[3,r.b],a.d,l.G,l.Y,r.a,[2,s.b],r.g,l.j],null,null),l.Ub(603979776,6,{_handles:1}),l.Ub(603979776,7,{_previewTemplate:0}),l.Ub(603979776,8,{_placeholderTemplate:0}),(t()(),l.Wb(7,0,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging()),t(e,7,0,e.context.$implicit)}))}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"ion-header",[["translucent",""]],null,null,null,i.x,i.f)),l.Cb(1,49152,null,0,o.z,[l.j,l.p,l.G],{translucent:[0,"translucent"]},null),(t()(),l.Db(2,0,null,0,9,"ion-toolbar",[],null,null,null,i.J,i.r)),l.Cb(3,49152,null,0,o.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,2,"ion-title",[],null,null,null,i.I,i.q)),l.Cb(5,49152,null,0,o.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Settings Fields"])),(t()(),l.Db(7,0,null,0,4,"ion-buttons",[["slot","end"]],null,null,null,i.v,i.d)),l.Cb(8,49152,null,0,o.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(9,0,null,0,2,"ion-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.dismissModal()&&l),l}),i.u,i.c)),l.Cb(10,49152,null,0,o.i,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Close"])),(t()(),l.Db(12,0,null,null,27,"ion-content",[["fullscreen",""]],null,null,null,i.w,i.e)),l.Cb(13,49152,null,0,o.s,[l.j,l.p,l.G],{fullscreen:[0,"fullscreen"]},null),(t()(),l.Db(14,0,null,0,25,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(15,16384,null,0,u.j,[],null,null),(t()(),l.Db(16,0,null,null,23,"div",[["cdkDropListGroup",""],["class","drag-container"]],null,null,null,null,null)),l.Cb(17,147456,null,0,r.f,[],null,null),(t()(),l.Db(18,0,null,null,10,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PANEL FIELDS"])),(t()(),l.Db(21,0,null,null,7,"ion-list",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),i.B,i.j)),l.Tb(6144,null,r.b,null,[r.e]),l.Cb(23,49152,null,0,o.M,[l.j,l.p,l.G],null,null),l.Cb(24,1196032,null,1,r.e,[l.p,r.g,l.j,[2,s.b],[3,r.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,1,{_draggables:1}),l.Tb(256,null,r.f,void 0,[]),(t()(),l.sb(16777216,null,0,1,null,h)),l.Cb(28,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(29,0,null,null,10,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(30,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OTHER FIELDS"])),(t()(),l.Db(32,0,null,null,7,"ion-list",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),i.B,i.j)),l.Tb(6144,null,r.b,null,[r.e]),l.Cb(34,49152,null,0,o.M,[l.j,l.p,l.G],null,null),l.Cb(35,1196032,null,1,r.e,[l.p,r.g,l.j,[2,s.b],[3,r.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,5,{_draggables:1}),l.Tb(256,null,r.f,void 0,[]),(t()(),l.sb(16777216,null,0,1,null,p)),l.Cb(39,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,""),t(e,13,0,""),t(e,24,0,n.panelFields),t(e,28,0,n.panelFields),t(e,35,0,n.otherFields),t(e,39,0,n.otherFields)}),(function(t,e){t(e,21,0,l.Pb(e,24).id,l.Pb(e,24).disabled,l.Pb(e,24)._dropListRef.isDragging(),l.Pb(e,24)._dropListRef.isReceiving()),t(e,32,0,l.Pb(e,35).id,l.Pb(e,35).disabled,l.Pb(e,35)._dropListRef.isDragging(),l.Pb(e,35)._dropListRef.isReceiving())}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-right-panel-params-modal",[],null,null,null,f,d)),l.Cb(1,245760,null,0,c.a,[o.Fb],null,null)],(function(t,e){t(e,1,0)}),null)}var m=l.zb("sepia-right-panel-params-modal",c.a,b,{data:"data"},{},[])},Zduo:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZhEo:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var l,i=n("h3hZ"),r=n("hp/u"),o=n("Ho3V"),a=n("AdTM"),s=n("CvXi"),u=n("YX0d"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function d(t,e,n){var l=t;if(l.src&&u.c){var i=l.decode(),r=!0;return i.then((function(){r&&e()})).catch((function(t){r&&("EncodingError"===t.name&&"Invalid image type."===t.message?e():n())})),function(){r=!1}}var s=[Object(o.b)(l,a.a.LOAD,e),Object(o.b)(l,a.a.ERROR,n)];return function(){s.forEach(o.c)}}!function(t){function e(e,n,l,i,o,a){var s=t.call(this,e,n,l,r.a.IDLE)||this;return s.src_=i,s.image_=new Image,null!==o&&(s.image_.crossOrigin=o),s.unlisten_=null,s.state=r.a.IDLE,s.imageLoadFunction_=a,s}c(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=r.a.ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Object(s.A)(this.extent)/this.image_.height),this.state=r.a.LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state!=r.a.IDLE&&this.state!=r.a.ERROR||(this.state=r.a.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=d(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(t){this.image_=t},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}(i.a)},Zime:function(t,e,n){"use strict";var l,i=n("WDFe"),r=n("4mld"),o=n("CZmH"),a=n("Pmt0"),s=n("f8l7"),u=n("OPOH"),c=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function d(t,e){for(var n=c.length,l=0;l<n;++l)try{var i=t.getContext(c[l],e);if(i)return i}catch(r){}return null}var h=n("kvpX");function p(t){switch(t){case 34962:return Float32Array;case 34963:return Uint32Array;default:return Float32Array}}var f=function(){function t(t,e){this.array=null,this.type=t,Object(h.a)(34962===t||34963===t,62),this.usage=void 0!==e?e:35044}return t.prototype.ofSize=function(t){this.array=new(p(this.type))(t)},t.prototype.fromArray=function(t){this.array=p(this.type).from(t)},t.prototype.fromArrayBuffer=function(t){this.array=new(p(this.type))(t)},t.prototype.getType=function(){return this.type},t.prototype.getArray=function(){return this.array},t.prototype.getUsage=function(){return this.usage},t.prototype.getSize=function(){return this.array?this.array.length:0},t}(),b=n("EwAT"),m=n("2lwS"),g=n("qJZF");function _(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}var y,A=function(){function t(t){this.gl_=t.webGlContext;var e=this.gl_;this.scaleRatio_=t.scaleRatio||1,this.renderTargetTexture_=e.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=e.createFramebuffer();var n=e.createShader(e.VERTEX_SHADER);e.shaderSource(n,t.vertexShader||"\n precision mediump float;\n \n attribute vec2 a_position;\n varying vec2 v_texCoord;\n varying vec2 v_screenCoord;\n \n uniform vec2 u_screenSize;\n \n void main() {\n v_texCoord = a_position * 0.5 + 0.5;\n v_screenCoord = v_texCoord * u_screenSize;\n gl_Position = vec4(a_position, 0.0, 1.0);\n }\n"),e.compileShader(n);var l=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(l,t.fragmentShader||"\n precision mediump float;\n \n uniform sampler2D u_image;\n \n varying vec2 v_texCoord;\n \n void main() {\n gl_FragColor = texture2D(u_image, v_texCoord);\n }\n"),e.compileShader(l),this.renderTargetProgram_=e.createProgram(),e.attachShader(this.renderTargetProgram_,n),e.attachShader(this.renderTargetProgram_,l),e.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=e.createBuffer(),e.bindBuffer(e.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,-1,1,1,-1,1]),e.STATIC_DRAW),this.renderTargetAttribLocation_=e.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetTextureLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],t.uniforms&&Object.keys(t.uniforms).forEach((function(n){this.uniforms_.push({value:t.uniforms[n],location:e.getUniformLocation(this.renderTargetProgram_,n)})}).bind(this))}return t.prototype.getGL=function(){return this.gl_},t.prototype.init=function(t){var e=this.getGL(),n=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.viewport(0,0,n[0],n[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==n[0]||this.renderTargetTextureSize_[1]!==n[1]){this.renderTargetTextureSize_=n;var l=e.RGBA,i=e.RGBA,r=e.UNSIGNED_BYTE;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,0,l,n[0],n[1],0,i,r,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0)}},t.prototype.apply=function(t,e){var n=this.getGL(),l=t.size;n.bindFramebuffer(n.FRAMEBUFFER,e?e.getFrameBuffer():null),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,this.renderTargetTexture_),n.clearColor(0,0,0,0),n.clear(n.COLOR_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,n.ONE_MINUS_SRC_ALPHA),n.viewport(0,0,n.drawingBufferWidth,n.drawingBufferHeight),n.bindBuffer(n.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),n.useProgram(this.renderTargetProgram_),n.enableVertexAttribArray(this.renderTargetAttribLocation_),n.vertexAttribPointer(this.renderTargetAttribLocation_,2,n.FLOAT,!1,0,0),n.uniform2f(this.renderTargetUniformLocation_,l[0],l[1]),n.uniform1i(this.renderTargetTextureLocation_,0),this.applyUniforms(t),n.drawArrays(n.TRIANGLES,0,6)},t.prototype.getFrameBuffer=function(){return this.frameBuffer_},t.prototype.applyUniforms=function(t){var e,n=this.getGL(),l=1;this.uniforms_.forEach((function(i){if((e="function"==typeof i.value?i.value(t):i.value)instanceof HTMLCanvasElement||e instanceof ImageData)i.texture||(i.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+l]),n.bindTexture(n.TEXTURE_2D,i.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),e instanceof ImageData?n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,e.width,e.height,0,n.UNSIGNED_BYTE,new Uint8Array(e.data)):n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e),n.uniform1i(i.location,l++);else if(Array.isArray(e))switch(e.length){case 2:return void n.uniform2f(i.location,e[0],e[1]);case 3:return void n.uniform3f(i.location,e[0],e[1],e[2]);case 4:return void n.uniform4f(i.location,e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(i.location,e)}))},t}(),v=n("n15R"),C=(y=function(t,e){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w={UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123,UNSIGNED_INT:5125,FLOAT:5126};function P(t){switch(t){case w.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case w.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case w.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case w.FLOAT:default:return Float32Array.BYTES_PER_ELEMENT}}var x=function(t){function e(e){var n=t.call(this)||this,i=e||{};n.boundHandleWebGLContextLost_=n.handleWebGLContextLost.bind(n),n.boundHandleWebGLContextRestored_=n.handleWebGLContextRestored.bind(n),n.canvas_=document.createElement("canvas"),n.canvas_.style.position="absolute",n.canvas_.style.left="0",n.gl_=d(n.canvas_);var r=n.getGL();if(n.bufferCache_={},n.currentProgram_=null,Object(h.a)(Object(v.d)(function(){if(!l){var t=d(document.createElement("canvas"));t&&(l=t.getSupportedExtensions())}return l}(),"OES_element_index_uint"),63),r.getExtension("OES_element_index_uint"),n.canvas_.addEventListener("webglcontextlost",n.boundHandleWebGLContextLost_),n.canvas_.addEventListener("webglcontextrestored",n.boundHandleWebGLContextRestored_),n.offsetRotateMatrix_=Object(g.c)(),n.offsetScaleMatrix_=Object(g.c)(),n.tmpMat4_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],n.uniformLocations_={},n.attribLocations_={},n.uniforms_=[],i.uniforms)for(var o in i.uniforms)n.uniforms_.push({name:o,value:i.uniforms[o]});return n.postProcessPasses_=i.postProcesses?i.postProcesses.map((function(t){return new A({webGlContext:r,scaleRatio:t.scaleRatio,vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms})})):[new A({webGlContext:r})],n.shaderCompileErrors_=null,n.startTime_=Date.now(),n}return C(e,t),e.prototype.bindBuffer=function(t){var e=this.getGL(),n=Object(b.c)(t),l=this.bufferCache_[n];if(!l){var i=e.createBuffer();this.bufferCache_[n]=l={buffer:t,webGlBuffer:i}}e.bindBuffer(t.getType(),l.webGlBuffer)},e.prototype.flushBufferData=function(t){var e=this.getGL();this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())},e.prototype.deleteBuffer=function(t){var e=this.getGL(),n=Object(b.c)(t),l=this.bufferCache_[n];e.isContextLost()||e.deleteBuffer(l.buffer),delete this.bufferCache_[n]},e.prototype.disposeInternal=function(){this.canvas_.removeEventListener("webglcontextlost",this.boundHandleWebGLContextLost_),this.canvas_.removeEventListener("webglcontextrestored",this.boundHandleWebGLContextRestored_)},e.prototype.prepareDraw=function(t){var e=this.getGL(),n=this.getCanvas(),l=t.size,i=t.pixelRatio;n.width=l[0]*i,n.height=l[1]*i,n.style.width=l[0]+"px",n.style.height=l[1]+"px",e.useProgram(this.currentProgram_);for(var r=this.postProcessPasses_.length-1;r>=0;r--)this.postProcessPasses_[r].init(t);e.bindTexture(e.TEXTURE_2D,null),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.enable(e.BLEND),e.blendFunc(e.ONE,e.ONE_MINUS_SRC_ALPHA),e.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.prepareDrawToRenderTarget=function(t,e,n){var l=this.getGL(),i=e.getSize();l.bindFramebuffer(l.FRAMEBUFFER,e.getFramebuffer()),l.viewport(0,0,i[0],i[1]),l.bindTexture(l.TEXTURE_2D,e.getTexture()),l.clearColor(0,0,0,0),l.clear(l.COLOR_BUFFER_BIT),l.enable(l.BLEND),l.blendFunc(l.ONE,n?l.ZERO:l.ONE_MINUS_SRC_ALPHA),l.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.drawElements=function(t,e){var n=this.getGL();n.drawElements(n.TRIANGLES,e-t,n.UNSIGNED_INT,4*t)},e.prototype.finalizeDraw=function(t){for(var e=0;e<this.postProcessPasses_.length;e++)this.postProcessPasses_[e].apply(t,this.postProcessPasses_[e+1]||null)},e.prototype.getCanvas=function(){return this.canvas_},e.prototype.getGL=function(){return this.gl_},e.prototype.applyFrameState=function(t){var e=t.size,n=t.viewState.rotation,l=Object(g.g)(this.offsetScaleMatrix_);Object(g.i)(l,2/e[0],2/e[1]);var i=Object(g.g)(this.offsetRotateMatrix_);0!==n&&Object(g.h)(i,-n),this.setUniformMatrixValue("u_offsetScaleMatrix",_(this.tmpMat4_,l)),this.setUniformMatrixValue("u_offsetRotateMatrix",_(this.tmpMat4_,i)),this.setUniformFloatValue("u_time",.001*(Date.now()-this.startTime_)),this.setUniformFloatValue("u_zoom",t.viewState.zoom),this.setUniformFloatValue("u_resolution",t.viewState.resolution)},e.prototype.applyUniforms=function(t){var e,n=this.getGL(),l=0;this.uniforms_.forEach((function(i){if((e="function"==typeof i.value?i.value(t):i.value)instanceof HTMLCanvasElement||e instanceof HTMLImageElement||e instanceof ImageData)i.texture||(i.prevValue=void 0,i.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+l]),n.bindTexture(n.TEXTURE_2D,i.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(!(e instanceof HTMLImageElement)||e.complete)&&i.prevValue!==e&&(i.prevValue=e,n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e)),n.uniform1i(this.getUniformLocation(i.name),l++);else if(Array.isArray(e)&&6===e.length)this.setUniformMatrixValue(i.name,_(this.tmpMat4_,e));else if(Array.isArray(e)&&e.length<=4)switch(e.length){case 2:return void n.uniform2f(this.getUniformLocation(i.name),e[0],e[1]);case 3:return void n.uniform3f(this.getUniformLocation(i.name),e[0],e[1],e[2]);case 4:return void n.uniform4f(this.getUniformLocation(i.name),e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(this.getUniformLocation(i.name),e)}).bind(this))},e.prototype.useProgram=function(t){return t!=this.currentProgram_&&(this.getGL().useProgram(t),this.currentProgram_=t,this.uniformLocations_={},this.attribLocations_={},!0)},e.prototype.compileShader=function(t,e){var n=this.getGL(),l=n.createShader(e);return n.shaderSource(l,t),n.compileShader(l),l},e.prototype.getProgram=function(t,e){var n=this.getGL(),l=this.compileShader(t,n.FRAGMENT_SHADER),i=this.compileShader(e,n.VERTEX_SHADER);this.shaderCompileErrors_=null,n.getShaderInfoLog(l)&&(this.shaderCompileErrors_="Fragment shader compilation failed:\n"+n.getShaderInfoLog(l)),n.getShaderInfoLog(i)&&(this.shaderCompileErrors_=(this.shaderCompileErrors_||"")+"Vertex shader compilation failed:\n"+n.getShaderInfoLog(i));var r=n.createProgram();return n.attachShader(r,l),n.attachShader(r,i),n.linkProgram(r),r},e.prototype.getShaderCompileErrors=function(){return this.shaderCompileErrors_},e.prototype.getUniformLocation=function(t){return void 0===this.uniformLocations_[t]&&(this.uniformLocations_[t]=this.getGL().getUniformLocation(this.currentProgram_,t)),this.uniformLocations_[t]},e.prototype.getAttributeLocation=function(t){return void 0===this.attribLocations_[t]&&(this.attribLocations_[t]=this.getGL().getAttribLocation(this.currentProgram_,t)),this.attribLocations_[t]},e.prototype.makeProjectionTransform=function(t,e){var n=t.size,l=t.viewState.rotation,i=t.viewState.resolution,r=t.viewState.center;return Object(g.g)(e),Object(g.b)(e,0,0,2/(i*n[0]),2/(i*n[1]),-l,-r[0],-r[1]),e},e.prototype.setUniformFloatValue=function(t,e){this.getGL().uniform1f(this.getUniformLocation(t),e)},e.prototype.setUniformMatrixValue=function(t,e){this.getGL().uniformMatrix4fv(this.getUniformLocation(t),!1,e)},e.prototype.enableAttributeArray_=function(t,e,n,l,i){var r=this.getAttributeLocation(t);r<0||(this.getGL().enableVertexAttribArray(r),this.getGL().vertexAttribPointer(r,e,n,!1,l,i))},e.prototype.enableAttributes=function(t){for(var e=function(t){for(var e=0,n=0;n<t.length;n++){var l=t[n];e+=l.size*P(l.type)}return e}(t),n=0,l=0;l<t.length;l++){var i=t[l];this.enableAttributeArray_(i.name,i.size,i.type||5126,e,n),n+=i.size*P(i.type)}},e.prototype.handleWebGLContextLost=function(){Object(u.b)(this.bufferCache_),this.currentProgram_=null},e.prototype.handleWebGLContextRestored=function(){},e.prototype.createTexture=function(t,e,n){var l=this.getGL(),i=n||l.createTexture(),r=l.RGBA,o=l.RGBA,a=l.UNSIGNED_BYTE;return l.bindTexture(l.TEXTURE_2D,i),e?l.texImage2D(l.TEXTURE_2D,0,r,o,a,e):l.texImage2D(l.TEXTURE_2D,0,r,t[0],t[1],0,o,a,null),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.CLAMP_TO_EDGE),i},e}(m.a),S=n("9iPr"),k=n("+vTz"),M=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function O(t,e){var n=e||[];return n[0]=Math.floor(t/256/256/256)/255,n[1]=Math.floor(t/256/256)%256/255,n[2]=Math.floor(t/256)%256/255,n[3]=t%256/255,n}var D=function(t){function e(e,n){var l=t.call(this,e)||this,i=n||{};return l.helper=new x({postProcesses:i.postProcesses,uniforms:i.uniforms}),l}return M(e,t),e.prototype.disposeInternal=function(){this.helper.dispose(),t.prototype.disposeInternal.call(this)},e.prototype.getShaderCompileErrors=function(){return this.helper.getShaderCompileErrors()},e}(k.a),T=n("SW/M"),E=n("CvXi"),I=new Blob(['var e="function"==typeof Object.assign?Object.assign:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(null!=i)for(var f in i)i.hasOwnProperty(f)&&(t[f]=i[f])}return t},n="GENERATE_BUFFERS",t=[],r={vertexPosition:0,indexPosition:0};function o(e,n,t,r,o){e[n+0]=t,e[n+1]=r,e[n+2]=o}function i(e,n,i,f,s,u){var a=3+s,l=e[n+0],v=e[n+1],c=t;c.length=s;for(var g=0;g<c.length;g++)c[g]=e[n+2+g];var b=u?u.vertexPosition:0,h=u?u.indexPosition:0,d=b/a;return o(i,b,l,v,0),c.length&&i.set(c,b+3),o(i,b+=a,l,v,1),c.length&&i.set(c,b+3),o(i,b+=a,l,v,2),c.length&&i.set(c,b+3),o(i,b+=a,l,v,3),c.length&&i.set(c,b+3),b+=a,f[h++]=d,f[h++]=d+1,f[h++]=d+3,f[h++]=d+1,f[h++]=d+2,f[h++]=d+3,r.vertexPosition=b,r.indexPosition=h,r}var f=self;f.onmessage=function(t){var r=t.data;if(r.type===n){for(var o=r.customAttributesCount,s=2+o,u=new Float32Array(r.renderInstructions),a=u.length/s,l=4*a*(o+3),v=new Uint32Array(6*a),c=new Float32Array(l),g=null,b=0;b<u.length;b+=s)g=i(u,b,c,v,o,g);var h=e({vertexBuffer:c.buffer,indexBuffer:v.buffer,renderInstructions:u.buffer},r);f.postMessage(h,[c.buffer,v.buffer,u.buffer])}};'],{type:"application/javascript"}),L=URL.createObjectURL(I),j=new Uint8Array(4),R=function(){function t(t,e){this.helper_=t;var n=t.getGL();this.texture_=n.createTexture(),this.framebuffer_=n.createFramebuffer(),this.size_=e||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}return t.prototype.setSize=function(t){Object(v.b)(t,this.size_)||(this.size_[0]=t[0],this.size_[1]=t[1],this.updateSize_())},t.prototype.getSize=function(){return this.size_},t.prototype.clearCachedData=function(){this.dataCacheDirty_=!0},t.prototype.readAll=function(){if(this.dataCacheDirty_){var t=this.size_,e=this.helper_.getGL();e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.readPixels(0,0,t[0],t[1],e.RGBA,e.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_},t.prototype.readPixel=function(t,e){if(t<0||e<0||t>this.size_[0]||e>=this.size_[1])return j[0]=0,j[1]=0,j[2]=0,j[3]=0,j;this.readAll();var n=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return j[0]=this.data_[4*n],j[1]=this.data_[4*n+1],j[2]=this.data_[4*n+2],j[3]=this.data_[4*n+3],j},t.prototype.getTexture=function(){return this.texture_},t.prototype.getFramebuffer=function(){return this.framebuffer_},t.prototype.updateSize_=function(){var t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(t[0]*t[1]*4)},t}(),F=n("rlDN"),N=n("Ho3V"),Y=n("pD/Q"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e,n){var l=this,i=n.uniforms||{},r=Object(g.c)();i.u_projectionMatrix=r,(l=t.call(this,e,{uniforms:i,postProcesses:n.postProcesses})||this).sourceRevision_=-1,l.verticesBuffer_=new f(34962,35048),l.hitVerticesBuffer_=new f(34962,35048),l.indicesBuffer_=new f(34963,35048),l.program_=l.helper.getProgram(n.fragmentShader,n.vertexShader),l.hitDetectionEnabled_=!(!n.hitFragmentShader||!n.hitVertexShader),l.hitProgram_=l.hitDetectionEnabled_&&l.helper.getProgram(n.hitFragmentShader,n.hitVertexShader);var o=n.attributes?n.attributes.map((function(t){return{name:"a_"+t.name,size:1,type:w.FLOAT}})):[];l.attributes=[{name:"a_position",size:2,type:w.FLOAT},{name:"a_index",size:1,type:w.FLOAT}].concat(o),l.hitDetectionAttributes=[{name:"a_position",size:2,type:w.FLOAT},{name:"a_index",size:1,type:w.FLOAT},{name:"a_hitColor",size:4,type:w.FLOAT},{name:"a_featureUid",size:1,type:w.FLOAT}].concat(o),l.customAttributes=n.attributes?n.attributes:[],l.previousExtent_=Object(E.j)(),l.currentTransform_=r,l.renderTransform_=Object(g.c)(),l.invertRenderTransform_=Object(g.c)(),l.renderInstructions_=new Float32Array(0),l.hitRenderInstructions_=new Float32Array(0),l.hitRenderTarget_=l.hitDetectionEnabled_&&new R(l.helper),l.worker_=new Worker(L),l.worker_.addEventListener("message",(function(t){var e=t.data;if("GENERATE_BUFFERS"===e.type){var n=e.projectionTransform;e.hitDetection?(this.hitVerticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.hitVerticesBuffer_)):(this.verticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_)),this.indicesBuffer_.fromArrayBuffer(e.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=n,Object(g.d)(this.invertRenderTransform_,this.renderTransform_),e.hitDetection?this.hitRenderInstructions_=new Float32Array(t.data.renderInstructions):this.renderInstructions_=new Float32Array(t.data.renderInstructions),this.getLayer().changed()}}).bind(l)),l.featureCache_={},l.featureCount_=0;var a=l.getLayer().getSource();return l.sourceListenKeys_=[Object(N.a)(a,Y.a.ADDFEATURE,l.handleSourceFeatureAdded_,l),Object(N.a)(a,Y.a.CHANGEFEATURE,l.handleSourceFeatureChanged_,l),Object(N.a)(a,Y.a.REMOVEFEATURE,l.handleSourceFeatureDelete_,l),Object(N.a)(a,Y.a.CLEAR,l.handleSourceFeatureClear_,l)],a.forEachFeature((function(t){this.featureCache_[Object(b.c)(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++}).bind(l)),l}return U(e,t),e.prototype.handleSourceFeatureAdded_=function(t){var e=t.feature;this.featureCache_[Object(b.c)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++},e.prototype.handleSourceFeatureChanged_=function(t){var e=t.feature;this.featureCache_[Object(b.c)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}},e.prototype.handleSourceFeatureDelete_=function(t){var e=t.feature;delete this.featureCache_[Object(b.c)(e)],this.featureCount_--},e.prototype.handleSourceFeatureClear_=function(){this.featureCache_={},this.featureCount_=0},e.prototype.renderFrame=function(t){var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e),this.helper.finalizeDraw(t);var n=this.helper.getCanvas(),l=t.layerStatesArray[t.layerIndex].opacity;return l!==parseFloat(n.style.opacity)&&(n.style.opacity=l),this.hitDetectionEnabled_&&(this.renderHitDetection(t),this.hitRenderTarget_.clearCachedData()),n},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource(),l=t.viewState,i=!t.viewHints[T.a.ANIMATING]&&!t.viewHints[T.a.INTERACTING],r=!Object(E.p)(this.previousExtent_,t.extent),o=this.sourceRevision_<n.getRevision();if(o&&(this.sourceRevision_=n.getRevision()),i&&(r||o)){var a=l.projection,s=l.resolution,u=e instanceof F.a?e.getRenderBuffer():0,c=Object(E.c)(t.extent,u*s);n.loadFeatures(c,s,a),this.rebuildBuffers_(t),this.previousExtent_=t.extent.slice()}return this.helper.makeProjectionTransform(t,this.currentTransform_),Object(g.f)(this.currentTransform_,this.invertRenderTransform_),this.helper.useProgram(this.program_),this.helper.prepareDraw(t),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0},e.prototype.rebuildBuffers_=function(t){var e=Object(g.c)();this.helper.makeProjectionTransform(t,e);var n,l,i=(2+this.customAttributes.length)*this.featureCount_;if(this.renderInstructions_&&this.renderInstructions_.length===i||(this.renderInstructions_=new Float32Array(i)),this.hitDetectionEnabled_){var r=(7+this.customAttributes.length)*this.featureCount_;this.hitRenderInstructions_&&this.hitRenderInstructions_.length===r||(this.hitRenderInstructions_=new Float32Array(r))}var o,a=[],s=[],u=0,c=0;for(var d in this.featureCache_)if((l=(n=this.featureCache_[d]).geometry)&&l.getType()===S.a.POINT){a[0]=l.getFlatCoordinates()[0],a[1]=l.getFlatCoordinates()[1],Object(g.a)(e,a),o=O(c+6,s),this.renderInstructions_[u++]=a[0],this.renderInstructions_[u++]=a[1],this.hitDetectionEnabled_&&(this.hitRenderInstructions_[c++]=a[0],this.hitRenderInstructions_[c++]=a[1],this.hitRenderInstructions_[c++]=o[0],this.hitRenderInstructions_[c++]=o[1],this.hitRenderInstructions_[c++]=o[2],this.hitRenderInstructions_[c++]=o[3],this.hitRenderInstructions_[c++]=Number(d));for(var h=void 0,p=0;p<this.customAttributes.length;p++)h=this.customAttributes[p].callback(n.feature,n.properties),this.renderInstructions_[u++]=h,this.hitDetectionEnabled_&&(this.hitRenderInstructions_[c++]=h)}var f={type:"GENERATE_BUFFERS",renderInstructions:this.renderInstructions_.buffer,customAttributesCount:this.customAttributes.length};if(f.projectionTransform=e,this.worker_.postMessage(f,[this.renderInstructions_.buffer]),this.renderInstructions_=null,this.hitDetectionEnabled_){var b={type:"GENERATE_BUFFERS",renderInstructions:this.hitRenderInstructions_.buffer,customAttributesCount:5+this.customAttributes.length};b.projectionTransform=e,b.hitDetection=!0,this.worker_.postMessage(b,[this.hitRenderInstructions_.buffer]),this.hitRenderInstructions_=null}},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){if(Object(h.a)(this.hitDetectionEnabled_,66),this.hitRenderInstructions_){var r=Object(g.a)(e.coordinateToPixelTransform,t.slice()),o=this.hitRenderTarget_.readPixel(r[0]/2,r[1]/2),a=(c=[o[0]/255,o[1]/255,o[2]/255,o[3]/255],d=0,d+=Math.round(256*c[0]*256*256*255),d+=Math.round(256*c[1]*256*255),(d+=Math.round(256*c[2]*255))+Math.round(255*c[3])),s=Math.floor(this.hitRenderInstructions_[a]).toString(),u=this.getLayer().getSource().getFeatureByUid(s);return u?l(u,this.getLayer()):void 0}var c,d},e.prototype.renderHitDetection=function(t){if(this.hitVerticesBuffer_.getSize()){this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.useProgram(this.hitProgram_),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0),this.helper.bindBuffer(this.hitVerticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.hitDetectionAttributes);var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e)}},e.prototype.disposeInternal=function(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach((function(t){Object(N.c)(t)})),this.sourceListenKeys_=null,t.prototype.disposeInternal.call(this)},e}(D),z=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),G=["#00f","#0ff","#0f0","#ff0","#f00"],H=function(t){function e(e){var n=this,l=e||{},i=Object(u.a)({},l);delete i.gradient,delete i.radius,delete i.blur,delete i.weight,(n=t.call(this,i)||this).gradient_=null,n.addEventListener(Object(r.b)("gradient"),n.handleGradientChanged_),n.setGradient(l.gradient?l.gradient:G),n.setBlur(void 0!==l.blur?l.blur:15),n.setRadius(void 0!==l.radius?l.radius:8);var o=l.weight?l.weight:"weight";return n.weightFunction_="string"==typeof o?function(t){return t.get(o)}:o,n.setRenderOrder(null),n}return z(e,t),e.prototype.getBlur=function(){return this.get("blur")},e.prototype.getGradient=function(){return this.get("gradient")},e.prototype.getRadius=function(){return this.get("radius")},e.prototype.handleGradientChanged_=function(){this.gradient_=function(t){for(var e=Object(o.a)(1,256),n=e.createLinearGradient(0,0,1,256),l=1/(t.length-1),i=0,r=t.length;i<r;++i)n.addColorStop(i*l,t[i]);return e.fillStyle=n,e.fillRect(0,0,1,256),e.canvas}(this.getGradient())},e.prototype.setBlur=function(t){this.set("blur",t)},e.prototype.setGradient=function(t){this.set("gradient",t)},e.prototype.setRadius=function(t){this.set("radius",t)},e.prototype.createRenderer=function(){return new B(this,{attributes:[{name:"weight",callback:(function(t){var e=this.weightFunction_(t);return void 0!==e?Object(s.a)(e,0,1):1}).bind(this)}],vertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_weight = a_weight;\n }",fragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n gl_FragColor = vec4(alpha, alpha, alpha, alpha);\n }",hitVertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n attribute vec4 a_hitColor;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_hitColor = a_hitColor;\n v_weight = a_weight;\n }",hitFragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n if (alpha < 0.05) {\n discard;\n }\n\n gl_FragColor = v_hitColor;\n }",uniforms:{u_size:(function(){return 2*(this.get("radius")+this.get("blur"))}).bind(this),u_blurSlope:(function(){return this.get("radius")/Math.max(1,this.get("blur"))}).bind(this)},postProcesses:[{fragmentShader:"\n precision mediump float;\n\n uniform sampler2D u_image;\n uniform sampler2D u_gradientTexture;\n\n varying vec2 v_texCoord;\n\n void main() {\n vec4 color = texture2D(u_image, v_texCoord);\n gl_FragColor.a = color.a;\n gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;\n gl_FragColor.rgb *= gl_FragColor.a;\n }",uniforms:{u_gradientTexture:(function(){return this.gradient_}).bind(this)}}]})},e}(a.a),V=n("JW8z"),q=n("9ANI"),W=n("TN97"),$=n("914O"),X=n("ppab");n("svHU"),n.d(e,"a",(function(){return K}));class K extends X.a{constructor(t){super(),this.mapService=t,this.popFeatures={},this.currentZoom=this.mapService.getView().getZoom(),this.detectZoomChange(),this.getLayer(!0)}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",this.layer)}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",this.layer),this.source.clear(),this.popFeatures={},this.moveendWatcher=void 0}getHeatmapProperties(t){0===t&&(t=1);const e=610/this.mapService.getView().getResolution(),n=Math.round(25*e)/2;return{blur:Math.round(e/2*10),radius:n}}detectZoomChange(){this.moveendWatcher=this.mapService.getMap().on("moveend",t=>{const e=this.mapService.getView().getZoom();if(this.currentZoom!==e&&this.layer){const t=this.getHeatmapProperties(e);this.currentZoom=e,this.layer.setBlur(t.blur),this.layer.setRadius(t.radius)}})}getSource(t=!1){return this.source&&!0!==t||(this.source=new i.a),this.source}getLayer(t=!1){if(this.source&&!0!==t||this.getSource(t),!this.layer||!0===t){const t=this.getHeatmapProperties(this.currentZoom);this.layer=new H({name:"Population",source:this.source,zIndex:10,opacity:.5,blur:t.blur,radius:t.radius})}return this.layer}displayPopulation(t){if(t.length>0){const e=this.getMaxAveragePop(t),n=[];this.setUpdatedFeatureToFalse(),t.forEach(t=>{const l=t.h3index,i=t.population/e,r=i>1?1:i;if(this.popFeatures[l])this.popFeatures[l].values_.isUpdated_=!0;else{const t=$.a(l).reverse(),e=Object(V.d)(t),i=new q.a(e),o=new W.a({geometry:i,id_:l,type_:"population",isUpdated_:!0,weight:r});this.popFeatures[l]=o,n.push(this.popFeatures[l])}}),this.removeOldFeature(),this.source.addFeatures(n)}else this.removeOldFeature()}removePop(){this.source.clear(),this.popFeatures={}}removeOldFeature(){for(let t in this.popFeatures)if(this.popFeatures.hasOwnProperty(t)){const e=this.popFeatures[t];0==e.values_.isUpdated_&&(this.source.removeFeature(e),delete this.popFeatures[t])}}setUpdatedFeatureToFalse(){for(let t in this.popFeatures)this.popFeatures.hasOwnProperty(t)&&(this.popFeatures[t].values_.isUpdated_=!1)}getMaxAveragePop(t){let e=0;return t.forEach(t=>{t.population>e&&(e=t.population)}),e}}},ZwOa:function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return s})),n("oapL");var l=n("8Y7J"),i=n("KCVW"),r=n("/HVE"),o=n("Xd0L"),a=n("XNiG");const s=new l.w("MAT_INPUT_VALUE_ACCESSOR"),u=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let c=0;class d{constructor(t,e,n,l){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=l}}const h=Object(o.H)(d);class p extends h{constructor(t,e,n,l,i,o,s,u,d){super(o,l,i,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=u,this._uid="mat-input-"+c++,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new a.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(r.f)().has(t));const h=this._elementRef.nativeElement;this._inputValueAccessor=s||h,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(r.f)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(i.c)(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(u.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}class f{}},Zy1z:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(){return t=>t.lift(new r)}class r{call(t,e){return e.subscribe(new o(t))}}class o extends l.a{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},a5kt:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("B2q1"),i=(n("svHU"),n("G0WM"),n("YGmB"),n("7/LY"),n("Amq3"));class r extends i.a{constructor(t,e,n,l,i,r){super(t,e,n,l,i,r),this.route=t,this.mapService=e,this.mapElement=n,this.aircraftService=l,this.trafficService=i,this.selectAircraftService=r}ngOnInit(){this.mapService.getMap().defaultBbox={zoom:null,lon:null,lat:null},this.mapService.getMap().setTarget(this.mapElement.nativeElement),this.setControl(),this.setCenterAndZoomMap(),this.readUrlQuery()}setControl(){this.mapService.getMap().addControl(new l.a({collapsible:!0}))}}},aECi:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("Mc5n");class i{constructor(t,e){this.dialogRef=t,this.data=e,this.allFields=["callsign","registration","icaoTypeCode","squawk","altitude","route","icao","userTags","providers","longitude","latitude","speed","country"],this.panelFields=[],this.otherFields=[]}ngOnInit(){this.panelFields=this.data,this.otherFields=this.allFields.filter(t=>!this.panelFields.includes(t))}ngOnDestroy(){}drop(t){t.previousContainer===t.container?Object(l.j)(t.container.data,t.previousIndex,t.currentIndex):Object(l.k)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}closeModal(){this.dialogRef.close(this.panelFields)}}},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}var n=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],l=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,i=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:i,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:i,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aK3z:function(t,e,n){window,t.exports=function(t,e){if("undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");var n=!1;function l(){n||(n=!0,console.warn("[KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead."))}function i(t){return t.__proto__=r.prototype,t}function r(t){return i(new Promise(t))}return(r.prototype=Object.create(Promise.prototype)).constructor=r,r.prototype.success=function(t){return l(),i(this.then((function(e){t(e)})))},r.prototype.error=function(t){return l(),i(this.catch((function(e){t(e)})))},function n(l){if(!(this instanceof n))return new n(l);for(var i,o,a=this,s=[],u={enable:!0,callbackList:[],interval:5},c=document.getElementsByTagName("script"),d=0;d<c.length;d++)-1===c[d].src.indexOf("keycloak.js")&&-1===c[d].src.indexOf("keycloak.min.js")||-1===c[d].src.indexOf("version=")||(a.iframeVersion=c[d].src.substring(c[d].src.indexOf("version=")+8).split("&")[0]);var h=!0,p=T(console.info),f=T(console.warn);function b(t,e){for(var n=function(t){var e=null,n=window.crypto||window.msCrypto;if(n&&n.getRandomValues&&window.Uint8Array)return e=new Uint8Array(t),n.getRandomValues(e),e;e=new Array(t);for(var l=0;l<e.length;l++)e[l]=Math.floor(256*Math.random());return e}(t),l=new Array(t),i=0;i<t;i++)l[i]=e.charCodeAt(n[i]%e.length);return String.fromCharCode.apply(null,l)}function m(){return void 0!==a.authServerUrl?"/"==a.authServerUrl.charAt(a.authServerUrl.length-1)?a.authServerUrl+"realms/"+encodeURIComponent(a.realm):a.authServerUrl+"/realms/"+encodeURIComponent(a.realm):void 0}function g(t,e){var n=t.code,l=t.error,i=t.prompt,r=(new Date).getTime();if(l)if("none"!=i){var o={error:l,error_description:t.error_description};a.onAuthError&&a.onAuthError(o),e&&e.setError(o)}else e&&e.setSuccess();else if("standard"!=a.flow&&(t.access_token||t.id_token)&&d(t.access_token,null,t.id_token,!0),"implicit"!=a.flow&&n){var s="code="+n+"&grant_type=authorization_code",u=a.endpoints.token(),c=new XMLHttpRequest;c.open("POST",u,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(a.clientId),s+="&redirect_uri="+t.redirectUri,t.pkceCodeVerifier&&(s+="&code_verifier="+t.pkceCodeVerifier),c.withCredentials=!0,c.onreadystatechange=function(){if(4==c.readyState)if(200==c.status){var t=JSON.parse(c.responseText);d(t.access_token,t.refresh_token,t.id_token,"standard"===a.flow),S()}else a.onAuthError&&a.onAuthError(),e&&e.setError()},c.send(s)}function d(n,l,i,o){y(n,l,i,r=(r+(new Date).getTime())/2),h&&(a.tokenParsed&&a.tokenParsed.nonce!=t.storedNonce||a.refreshTokenParsed&&a.refreshTokenParsed.nonce!=t.storedNonce||a.idTokenParsed&&a.idTokenParsed.nonce!=t.storedNonce)?(p("[KEYCLOAK] Invalid nonce, clearing token"),a.clearToken(),e&&e.setError()):o&&(a.onAuthSuccess&&a.onAuthSuccess(),e&&e.setSuccess())}}function _(t){return 0==t.status&&t.responseText&&t.responseURL.startsWith("file:")}function y(t,e,n,l){if(a.tokenTimeoutHandle&&(clearTimeout(a.tokenTimeoutHandle),a.tokenTimeoutHandle=null),e?(a.refreshToken=e,a.refreshTokenParsed=A(e)):(delete a.refreshToken,delete a.refreshTokenParsed),n?(a.idToken=n,a.idTokenParsed=A(n)):(delete a.idToken,delete a.idTokenParsed),t){if(a.token=t,a.tokenParsed=A(t),a.sessionId=a.tokenParsed.session_state,a.authenticated=!0,a.subject=a.tokenParsed.sub,a.realmAccess=a.tokenParsed.realm_access,a.resourceAccess=a.tokenParsed.resource_access,l&&(a.timeSkew=Math.floor(l/1e3)-a.tokenParsed.iat),null!=a.timeSkew&&(p("[KEYCLOAK] Estimated time difference between browser and server is "+a.timeSkew+" seconds"),a.onTokenExpired)){var i=1e3*(a.tokenParsed.exp-(new Date).getTime()/1e3+a.timeSkew);p("[KEYCLOAK] Token expires in "+Math.round(i/1e3)+" s"),i<=0?a.onTokenExpired():a.tokenTimeoutHandle=setTimeout(a.onTokenExpired,i)}}else delete a.token,delete a.tokenParsed,delete a.subject,delete a.realmAccess,delete a.resourceAccess,a.authenticated=!1}function A(t){switch((t=(t=(t=t.split(".")[1]).replace("/-/g","+")).replace("/_/g","/")).length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Invalid token"}return t=(t=(t+"===").slice(0,t.length+t.length%4)).replace(/-/g,"+").replace(/_/g,"/"),t=decodeURIComponent(escape(atob(t))),JSON.parse(t)}function v(){var t=b(36,"0123456789abcdef").split("");return t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}function C(t){var e=function(t){var e;switch(a.flow){case"standard":e=["code","state","session_state"];break;case"implicit":e=["access_token","token_type","id_token","state","session_state","expires_in"];break;case"hybrid":e=["access_token","id_token","code","state","session_state"]}e.push("error"),e.push("error_description"),e.push("error_uri");var n,l,i=t.indexOf("?"),r=t.indexOf("#");if("query"===a.responseMode&&-1!==i?(n=t.substring(0,i),""!==(l=w(t.substring(i+1,-1!==r?r:t.length),e)).paramsString&&(n+="?"+l.paramsString),-1!==r&&(n+=t.substring(r))):"fragment"===a.responseMode&&-1!==r&&(n=t.substring(0,r),""!==(l=w(t.substring(r+1),e)).paramsString&&(n+="#"+l.paramsString)),l&&l.oauthParams)if("standard"===a.flow||"hybrid"===a.flow){if((l.oauthParams.code||l.oauthParams.error)&&l.oauthParams.state)return l.oauthParams.newUrl=n,l.oauthParams}else if("implicit"===a.flow&&(l.oauthParams.access_token||l.oauthParams.error)&&l.oauthParams.state)return l.oauthParams.newUrl=n,l.oauthParams}(t);if(e){var n=o.get(e.state);return n&&(e.valid=!0,e.redirectUri=n.redirectUri,e.storedNonce=n.nonce,e.prompt=n.prompt,e.pkceCodeVerifier=n.pkceCodeVerifier),e}}function w(t,e){for(var n=t.split("&"),l={paramsString:"",oauthParams:{}},i=0;i<n.length;i++){var r=n[i].indexOf("="),o=n[i].slice(0,r);-1!==e.indexOf(o)?l.oauthParams[o]=n[i].slice(r+1):(""!==l.paramsString&&(l.paramsString+="&"),l.paramsString+=n[i])}return l}function P(){var t={setSuccess:function(e){t.resolve(e)},setError:function(e){t.reject(e)}};return t.promise=new r((function(e,n){t.resolve=e,t.reject=n})),t}function x(){var t=P();if(!u.enable)return t.setSuccess(),t.promise;if(u.iframe)return t.setSuccess(),t.promise;var e=document.createElement("iframe");u.iframe=e,e.onload=function(){var e=a.endpoints.authorize();u.iframeOrigin="/"===e.charAt(0)?window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):e.substring(0,e.indexOf("/",8)),t.setSuccess()};var n=a.endpoints.checkSessionIframe();return e.setAttribute("src",n),e.setAttribute("title","keycloak-session-iframe"),e.style.display="none",document.body.appendChild(e),window.addEventListener("message",(function(t){if(t.origin===u.iframeOrigin&&u.iframe.contentWindow===t.source&&("unchanged"==t.data||"changed"==t.data||"error"==t.data)){"unchanged"!=t.data&&a.clearToken();for(var e=u.callbackList.splice(0,u.callbackList.length),n=e.length-1;n>=0;--n){var l=e[n];"error"==t.data?l.setError():l.setSuccess("unchanged"==t.data)}}}),!1),t.promise}function S(){u.enable&&a.token&&setTimeout((function(){k().then((function(t){t&&S()}))}),1e3*u.interval)}function k(){var t=P();if(u.iframe&&u.iframeOrigin){var e=a.clientId+" "+(a.sessionId?a.sessionId:"");u.callbackList.push(t),1==u.callbackList.length&&u.iframe.contentWindow.postMessage(e,u.iframeOrigin)}else t.setSuccess();return t.promise}function M(t){if(!t||"default"==t)return{login:function(t){return window.location.replace(a.createLoginUrl(t)),P().promise},logout:function(t){return window.location.replace(a.createLogoutUrl(t)),P().promise},register:function(t){return window.location.replace(a.createRegisterUrl(t)),P().promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";return window.location.href=t,P().promise},redirectUri:function(t,e){return 1==arguments.length&&(e=!0),t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:location.href}};if("cordova"==t){u.enable=!1;var e=function(t,e,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(t,e,n):window.open(t,e,n)},n=function(t){var e=function(t){return t&&t.cordovaOptions?Object.keys(t.cordovaOptions).reduce((function(e,n){return e[n]=t.cordovaOptions[n],e}),{}):{}}(t);return e.location="no",t&&"none"==t.prompt&&(e.hidden="yes"),function(t){return Object.keys(t).reduce((function(e,n){return e.push(n+"="+t[n]),e}),[]).join(",")}(e)};return{login:function(t){var l=P(),i=n(t),r=a.createLoginUrl(t),o=e(r,"_blank",i),s=!1,u=!1,c=function(){u=!0,o.close()};return o.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&(g(C(t.url),l),c(),s=!0)})),o.addEventListener("loaderror",(function(t){s||(0==t.url.indexOf("http://localhost")?(g(C(t.url),l),c(),s=!0):(l.setError(),c()))})),o.addEventListener("exit",(function(t){u||l.setError({reason:"closed_by_user"})})),l.promise},logout:function(t){var n,l=P(),i=a.createLogoutUrl(t),r=e(i,"_blank","location=no,hidden=yes");return r.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&r.close()})),r.addEventListener("loaderror",(function(t){0==t.url.indexOf("http://localhost")||(n=!0),r.close()})),r.addEventListener("exit",(function(t){n?l.setError():(a.clearToken(),l.setSuccess())})),l.promise},register:function(t){var l=P(),i=a.createRegisterUrl(),r=n(t),o=e(i,"_blank",r);return o.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&(o.close(),g(C(t.url),l))})),l.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";var n=e(t,"_blank","location=no");n.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&n.close()}))},redirectUri:function(t){return"http://localhost"}}}if("cordova-native"==t)return u.enable=!1,{login:function(t){var e=P(),n=a.createLoginUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(C(t.url),e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},logout:function(t){var e=P(),n=a.createLogoutUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),a.clearToken(),e.setSuccess()})),window.cordova.plugins.browsertab.openUrl(n),e.promise},register:function(t){var e=P(),n=a.createRegisterUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(C(t.url),e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(t)},redirectUri:function(t){return t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:"http://localhost"}};throw"invalid adapter type: "+t}a.init=function(t){if(a.authenticated=!1,o=function(){try{return new O}catch(t){}return new D}(),i=t&&["default","cordova","cordova-native"].indexOf(t.adapter)>-1?M(t.adapter):t&&"object"==typeof t.adapter?t.adapter:window.Cordova||window.cordova?M("cordova"):M(),t){if(void 0!==t.useNonce&&(h=t.useNonce),void 0!==t.checkLoginIframe&&(u.enable=t.checkLoginIframe),t.checkLoginIframeInterval&&(u.interval=t.checkLoginIframeInterval),"login-required"===t.onLoad&&(a.loginRequired=!0),t.responseMode){if("query"!==t.responseMode&&"fragment"!==t.responseMode)throw"Invalid value for responseMode";a.responseMode=t.responseMode}if(t.flow){switch(t.flow){case"standard":a.responseType="code";break;case"implicit":a.responseType="id_token token";break;case"hybrid":a.responseType="code id_token token";break;default:throw"Invalid value for flow"}a.flow=t.flow}if(null!=t.timeSkew&&(a.timeSkew=t.timeSkew),t.redirectUri&&(a.redirectUri=t.redirectUri),t.silentCheckSsoRedirectUri&&(a.silentCheckSsoRedirectUri=t.silentCheckSsoRedirectUri),t.pkceMethod){if("S256"!==t.pkceMethod)throw"Invalid value for pkceMethod";a.pkceMethod=t.pkceMethod}a.enableLogging="boolean"==typeof t.enableLogging&&t.enableLogging}a.responseMode||(a.responseMode="fragment"),a.responseType||(a.responseType="code",a.flow="standard");var e=P(),n=P();n.promise.then((function(){a.onReady&&a.onReady(a.authenticated),e.setSuccess(a.authenticated)})).catch((function(t){e.setError(t)}));var r=function(t){var e,n=P();function i(t){a.endpoints=t?{authorize:function(){return t.authorization_endpoint},token:function(){return t.token_endpoint},logout:function(){if(!t.end_session_endpoint)throw"Not supported by the OIDC server";return t.end_session_endpoint},checkSessionIframe:function(){if(!t.check_session_iframe)throw"Not supported by the OIDC server";return t.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!t.userinfo_endpoint)throw"Not supported by the OIDC server";return t.userinfo_endpoint}}:{authorize:function(){return m()+"/protocol/openid-connect/auth"},token:function(){return m()+"/protocol/openid-connect/token"},logout:function(){return m()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var t=m()+"/protocol/openid-connect/login-status-iframe.html";return a.iframeVersion&&(t=t+"?version="+a.iframeVersion),t},register:function(){return m()+"/protocol/openid-connect/registrations"},userinfo:function(){return m()+"/protocol/openid-connect/userinfo"}}}if(l?"string"==typeof l&&(e=l):e="keycloak.json",e)(s=new XMLHttpRequest).open("GET",e,!0),s.setRequestHeader("Accept","application/json"),s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status||_(s)){var t=JSON.parse(s.responseText);a.authServerUrl=t["auth-server-url"],a.realm=t.realm,a.clientId=t.resource,i(null),n.setSuccess()}else n.setError()},s.send();else{if(!l.clientId)throw"clientId missing";a.clientId=l.clientId;var r=l.oidcProvider;if(r){var o,s;"string"==typeof r?(o="/"==r.charAt(r.length-1)?r+".well-known/openid-configuration":r+"/.well-known/openid-configuration",(s=new XMLHttpRequest).open("GET",o,!0),s.setRequestHeader("Accept","application/json"),s.onreadystatechange=function(){4==s.readyState&&(200==s.status||_(s)?(i(JSON.parse(s.responseText)),n.setSuccess()):n.setError())},s.send()):(i(r),n.setSuccess())}else{if(!l.url)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++)if(u[c].src.match(/.*keycloak\.js/)){l.url=u[c].src.substr(0,u[c].src.indexOf("/js/keycloak.js"));break}if(!l.realm)throw"realm missing";a.authServerUrl=l.url,a.realm=l.realm,i(null),n.setSuccess()}}return n.promise}();function s(){var e=function(t){t||(i.prompt="none"),a.login(i).then((function(){n.setSuccess()})).catch((function(){n.setError()}))},l=function(){var t=document.createElement("iframe"),e=a.createLoginUrl({prompt:"none",redirectUri:a.silentCheckSsoRedirectUri});t.setAttribute("src",e),t.setAttribute("title","keycloak-silent-check-sso"),t.style.display="none",document.body.appendChild(t);var l=function(e){e.origin===window.location.origin&&t.contentWindow===e.source&&(g(C(e.data),n),document.body.removeChild(t),window.removeEventListener("message",l))};window.addEventListener("message",l)},i={};switch(t.onLoad){case"check-sso":u.enable?x().then((function(){k().then((function(t){t?n.setSuccess():a.silentCheckSsoRedirectUri?l():e(!1)})).catch((function(){n.setError()}))})):a.silentCheckSsoRedirectUri?l():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}return r.then((function(){var e=C(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return x().then((function(){g(e,n)})).catch((function(t){n.setError()}));t?t.token&&t.refreshToken?(y(t.token,t.refreshToken,t.idToken),u.enable?x().then((function(){k().then((function(t){t?(a.onAuthSuccess&&a.onAuthSuccess(),n.setSuccess(),S()):n.setSuccess()})).catch((function(){n.setError()}))})):a.updateToken(-1).then((function(){a.onAuthSuccess&&a.onAuthSuccess(),n.setSuccess()})).catch((function(){a.onAuthError&&a.onAuthError(),t.onLoad?s():n.setError()}))):t.onLoad?s():n.setSuccess():n.setSuccess()})),r.catch((function(){e.setError()})),e.promise},a.login=function(t){return i.login(t)},a.createLoginUrl=function(n){var l,r,s=v(),u=v(),c=i.redirectUri(n),d={state:s,nonce:u,redirectUri:encodeURIComponent(c)};n&&n.prompt&&(d.prompt=n.prompt),l=n&&"register"==n.action?a.endpoints.register():a.endpoints.authorize(),r=n&&n.scope?-1!=n.scope.indexOf("openid")?n.scope:"openid "+n.scope:"openid";var p=l+"?client_id="+encodeURIComponent(a.clientId)+"&redirect_uri="+encodeURIComponent(c)+"&state="+encodeURIComponent(s)+"&response_mode="+encodeURIComponent(a.responseMode)+"&response_type="+encodeURIComponent(a.responseType)+"&scope="+encodeURIComponent(r);if(h&&(p=p+"&nonce="+encodeURIComponent(u)),n&&n.prompt&&(p+="&prompt="+encodeURIComponent(n.prompt)),n&&n.maxAge&&(p+="&max_age="+encodeURIComponent(n.maxAge)),n&&n.loginHint&&(p+="&login_hint="+encodeURIComponent(n.loginHint)),n&&n.idpHint&&(p+="&kc_idp_hint="+encodeURIComponent(n.idpHint)),n&&n.locale&&(p+="&ui_locales="+encodeURIComponent(n.locale)),a.pkceMethod){var f=b(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");d.pkceCodeVerifier=f,p+="&code_challenge="+function(n,l){switch(n){case"S256":var i=new Uint8Array(t.arrayBuffer(l));return e.fromByteArray(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"");default:throw"Invalid value for pkceMethod"}}(a.pkceMethod,f),p+="&code_challenge_method="+a.pkceMethod}return o.add(d),p},a.logout=function(t){return i.logout(t)},a.createLogoutUrl=function(t){return a.endpoints.logout()+"?redirect_uri="+encodeURIComponent(i.redirectUri(t,!1))},a.register=function(t){return i.register(t)},a.createRegisterUrl=function(t){return t||(t={}),t.action="register",a.createLoginUrl(t)},a.createAccountUrl=function(t){var e=m(),n=void 0;return void 0!==e&&(n=e+"/account?referrer="+encodeURIComponent(a.clientId)+"&referrer_uri="+encodeURIComponent(i.redirectUri(t))),n},a.accountManagement=function(){return i.accountManagement()},a.hasRealmRole=function(t){var e=a.realmAccess;return!!e&&e.roles.indexOf(t)>=0},a.hasResourceRole=function(t,e){if(!a.resourceAccess)return!1;var n=a.resourceAccess[e||a.clientId];return!!n&&n.roles.indexOf(t)>=0},a.loadUserProfile=function(){var t=m()+"/account",e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=P();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.profile=JSON.parse(e.responseText),n.setSuccess(a.profile)):n.setError())},e.send(),n.promise},a.loadUserInfo=function(){var t=a.endpoints.userinfo(),e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=P();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.userInfo=JSON.parse(e.responseText),n.setSuccess(a.userInfo)):n.setError())},e.send(),n.promise},a.isTokenExpired=function(t){if(!a.tokenParsed||!a.refreshToken&&"implicit"!=a.flow)throw"Not authenticated";if(null==a.timeSkew)return p("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var e=a.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+a.timeSkew;if(t){if(isNaN(t))throw"Invalid minValidity";e-=t}return e<0},a.updateToken=function(t){var e=P();if(!a.refreshToken)return e.setError(),e.promise;t=t||5;var n=function(){var n=!1;if(-1==t?(n=!0,p("[KEYCLOAK] Refreshing token: forced refresh")):a.tokenParsed&&!a.isTokenExpired(t)||(n=!0,p("[KEYCLOAK] Refreshing token: token expired")),n){var l="grant_type=refresh_token&refresh_token="+a.refreshToken,i=a.endpoints.token();if(s.push(e),1==s.length){var r=new XMLHttpRequest;r.open("POST",i,!0),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.withCredentials=!0,l+="&client_id="+encodeURIComponent(a.clientId);var o=(new Date).getTime();r.onreadystatechange=function(){if(4==r.readyState)if(200==r.status){p("[KEYCLOAK] Token refreshed"),o=(o+(new Date).getTime())/2;var t=JSON.parse(r.responseText);y(t.access_token,t.refresh_token,t.id_token,o),a.onAuthRefreshSuccess&&a.onAuthRefreshSuccess();for(var e=s.pop();null!=e;e=s.pop())e.setSuccess(!0)}else for(f("[KEYCLOAK] Failed to refresh token"),400==r.status&&a.clearToken(),a.onAuthRefreshError&&a.onAuthRefreshError(),e=s.pop();null!=e;e=s.pop())e.setError(!0)},r.send(l)}}else e.setSuccess(!1)};return u.enable?k().then((function(){n()})).catch((function(){e.setError()})):n(),e.promise},a.clearToken=function(){a.token&&(y(null,null,null),a.onAuthLogout&&a.onAuthLogout(),a.loginRequired&&a.login())};var O=function(){if(!(this instanceof O))return new O;function t(){for(var t=(new Date).getTime(),e=0;e<localStorage.length;e++){var n=localStorage.key(e);if(n&&0==n.indexOf("kc-callback-")){var l=localStorage.getItem(n);if(l)try{var i=JSON.parse(l).expires;(!i||i<t)&&localStorage.removeItem(n)}catch(r){localStorage.removeItem(n)}}}}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(e){if(e){var n="kc-callback-"+e,l=localStorage.getItem(n);return l&&(localStorage.removeItem(n),l=JSON.parse(l)),t(),l}},this.add=function(e){t();var n="kc-callback-"+e.state;e.expires=(new Date).getTime()+36e5,localStorage.setItem(n,JSON.stringify(e))}},D=function(){if(!(this instanceof D))return new D;this.get=function(l){if(l){var i=e("kc-callback-"+l);return n("kc-callback-"+l,"",t(-100)),i?JSON.parse(i):void 0}},this.add=function(e){n("kc-callback-"+e.state,JSON.stringify(e),t(60))},this.removeItem=function(e){n(e,"",t(-100))};var t=function(t){var e=new Date;return e.setTime(e.getTime()+60*t*1e3),e},e=function(t){for(var e=t+"=",n=document.cookie.split(";"),l=0;l<n.length;l++){for(var i=n[l];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(e))return i.substring(e.length,i.length)}return""},n=function(t,e,n){var l=t+"="+e+"; expires="+n.toUTCString()+"; ";document.cookie=l}};function T(t){return function(){a.enableLogging&&t.apply(console,Array.prototype.slice.call(arguments))}}}}(n("bCcq"),n("ohmy"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aWqo:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("ppab"),i=n("7/LY");n("svHU");class r extends l.a{constructor(t,e,n){super(),this.ref=t,this.mapService=e,this.selectAircraftService=n,this.subscription={},this.selectedAircrafts={}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",super.getVectorLayer()),this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)})}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}manageSelectedAircrafts(t){t.haveOneStatus([i.a.WATCH,i.a.SELECT])?this.selectedAircrafts[t.aircraft.icao]?(t.aircraft.trace&&this.traceAircrafts.forEach(e=>{e.aircraft.icao===t.aircraft.icao&&e.updateTrace()}),t.aircraft.toAirport&&this.toTraceAircrafts.forEach(e=>{e.aircraft.icao===t.aircraft.icao&&e.updateTrace()})):this.selectedAircrafts[t.aircraft.icao]=t.aircraft:delete this.selectedAircrafts[t.aircraft.icao],this.ref.detectChanges()}}},"aY/Z":function(t,e,n){"use strict";e.a={BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right",CENTER_LEFT:"center-left",CENTER_CENTER:"center-center",CENTER_RIGHT:"center-right",TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right"}},acye:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("XrFG"),l.Bb({encapsulation:2,styles:[],data:{}}));function r(t){return l.Yb(2,[],null,null)}},aiEM:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return i})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return u})),n.d(e,"j",(function(){return c})),n.d(e,"k",(function(){return l}));const l=t=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t),i=t=>!!t.shadowRoot&&!!t.attachShadow,r=t=>{const e=t.closest("ion-item");return e?e.querySelector("ion-label"):null},o=(t,e,n,l,r)=>{if(t||i(e)){let t=e.querySelector("input.aux-input");t||(t=e.ownerDocument.createElement("input"),t.type="hidden",t.classList.add("aux-input"),e.appendChild(t)),t.disabled=r,t.name=n,t.value=l||""}},a=(t,e,n)=>Math.max(t,Math.min(e,n)),s=(t,e)=>{if(!t){const t="ASSERT: "+e;throw console.error(t),new Error(t)}},u=t=>t.timeStamp||Date.now(),c=t=>{if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];return{x:t.clientX,y:t.clientY}}if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY}}return{x:0,y:0}},d=t=>{const e="rtl"===document.dir;switch(t){case"start":return e;case"end":return!e;default:throw new Error(`"${t}" is not a valid value for [side]. Use "start" or "end" instead.`)}},h=(t,e)=>{const n=t._original||t;return{_original:t,emit:p(n.emit.bind(n),e)}},p=(t,e=0)=>{let n;return(...l)=>{clearTimeout(n),n=setTimeout(t,e,...l)}}},akSB:function(t,e,n){var l=n("AdPF"),i=n("0z79"),r=n("Cl5A"),o=n("CIKq");e.polling=function(t){var e=!1,n=!1,o=!1!==t.jsonp;if("undefined"!=typeof location){var a="https:"===location.protocol,s=location.port;s||(s=a?443:80),e=t.hostname!==location.hostname||s!==t.port,n=t.secure!==a}if(t.xdomain=e,t.xscheme=n,"open"in new l(t)&&!t.forceJSONP)return new i(t);if(!o)throw new Error("JSONP disabled");return new r(t)},e.websocket=o},"b1+6":function(t,e,n){"use strict";n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return O}));var l=n("8Y7J"),i=(n("OIZN"),n("NcP4"),n("SVse")),r=n("QQfA"),o=n("IP0z"),a=(n("POq0"),n("JjoW")),s=n("Mz6y"),u=n("cUpR"),c=n("Xd0L"),d=n("/HVE"),h=n("Fwaw"),p=(n("zMNK"),n("hOhj")),f=n("HsOI"),b=n("5GAg"),m=n("MlvX"),g=n("dJrM"),_=n("omvX"),y=n("Azqq"),A=n("s7LF"),v=n("bujt"),C=l.Bb({encapsulation:2,styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}"],data:{}});function w(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),m.e,m.b)),l.Cb(1,8568832,[[10,4]],0,c.s,[l.p,l.j,[2,c.l],[2,c.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function P(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"mat-form-field",[["class","mat-paginator-page-size-select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,g.b,g.a)),l.Cb(1,7520256,null,9,f.c,[l.p,l.j,[2,c.j],[2,o.b],[2,f.a],d.a,l.G,[2,_.a]],{color:[0,"color"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,13)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,13)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,13)._onBlur()&&i),"selectionChange"===e&&(i=!1!==r._changePageSize(n.value)&&i),i}),y.b,y.a)),l.Tb(6144,null,c.l,null,[a.c]),l.Cb(13,2080768,null,3,a.c,[p.e,l.j,l.G,c.d,l.p,[2,o.b],[2,A.s],[2,A.k],[2,f.c],[8,null],[8,null],a.a,b.j],{disabled:[0,"disabled"],value:[1,"value"],ariaLabel:[2,"ariaLabel"]},{selectionChange:"selectionChange"}),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],f.d,null,[a.c]),(t()(),l.sb(16777216,null,1,1,null,w)),l.Cb(19,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.color),t(e,13,0,n.disabled,n.pageSize,n._intl.itemsPerPageLabel),t(e,19,0,n._displayedPageSizeOptions)}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,13).id,l.Pb(e,13).tabIndex,l.Pb(e,13)._getAriaLabel(),l.Pb(e,13)._getAriaLabelledby(),l.Pb(e,13).required.toString(),l.Pb(e,13).disabled.toString(),l.Pb(e,13).errorState,l.Pb(e,13).panelOpen?l.Pb(e,13)._optionIds:null,l.Pb(e,13).multiple,l.Pb(e,13)._ariaDescribedby||null,l.Pb(e,13)._getAriaActiveDescendant(),l.Pb(e,13).disabled,l.Pb(e,13).errorState,l.Pb(e,13).required,l.Pb(e,13).empty])}))}function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.pageSize)}))}function S(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","mat-paginator-page-size"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"div",[["class","mat-paginator-page-size-label"]],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,P)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,x)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,n._displayedPageSizeOptions.length>1),t(e,6,0,n._displayedPageSizeOptions.length<=1)}),(function(t,e){t(e,2,0,e.component._intl.itemsPerPageLabel)}))}function k(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-first"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,2).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.firstPage()&&i),i}),v.b,v.a)),l.Cb(1,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(2,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,":svg:path",[["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"]],null,null,null,null,null)),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n._previousButtonsDisabled()),t(e,2,0,"above",n._previousButtonsDisabled(),n._intl.firstPageLabel)}),(function(t,e){t(e,0,0,e.component._intl.firstPageLabel,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function M(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-last"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,2).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.lastPage()&&i),i}),v.b,v.a)),l.Cb(1,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(2,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,":svg:path",[["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],null,null,null,null,null)),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n._nextButtonsDisabled()),t(e,2,0,"above",n._nextButtonsDisabled(),n._intl.lastPageLabel)}),(function(t,e){t(e,0,0,e.component._intl.lastPageLabel,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function O(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,20,"div",[["class","mat-paginator-outer-container"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"div",[["class","mat-paginator-container"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,S)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(4,0,null,null,16,"div",[["class","mat-paginator-range-actions"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,1,"div",[["class","mat-paginator-range-label"]],null,null,null,null,null)),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,k)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(9,16777216,null,null,4,"button",[["class","mat-paginator-navigation-previous"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,11).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,11)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,11)._handleTouchend()&&i),"click"===e&&(i=!1!==r.previousPage()&&i),i}),v.b,v.a)),l.Cb(10,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(11,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(12,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,":svg:path",[["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"]],null,null,null,null,null)),(t()(),l.Db(14,16777216,null,null,4,"button",[["class","mat-paginator-navigation-next"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,16).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,16)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,16)._handleTouchend()&&i),"click"===e&&(i=!1!==r.nextPage()&&i),i}),v.b,v.a)),l.Cb(15,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(16,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(17,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,M)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,!n.hidePageSize),t(e,8,0,n.showFirstLastButtons),t(e,10,0,n._previousButtonsDisabled()),t(e,11,0,"above",n._previousButtonsDisabled(),n._intl.previousPageLabel),t(e,15,0,n._nextButtonsDisabled()),t(e,16,0,"above",n._nextButtonsDisabled(),n._intl.nextPageLabel),t(e,20,0,n.showFirstLastButtons)}),(function(t,e){var n=e.component;t(e,6,0,n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)),t(e,9,0,n._intl.previousPageLabel,l.Pb(e,10).disabled||null,"NoopAnimations"===l.Pb(e,10)._animationMode),t(e,14,0,n._intl.nextPageLabel,l.Pb(e,15).disabled||null,"NoopAnimations"===l.Pb(e,15)._animationMode)}))}},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},b2zq:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseIconControllerIconPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseIconControllerIcon(t){return this.getOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseIconControllerIconPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseIconControllerIcon(t){return this.replaceOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseIconControllerIconPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseIconControllerIcon(t){return this.deleteOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseIconControllerIconPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseIconControllerIcon(t){return this.updateOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseIconControllerIconPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseIconControllerIcon(t){return this.getManyBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseIconControllerIconPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseIconControllerIcon(t){return this.createOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseIconControllerIconPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseIconControllerIcon(t){return this.createManyBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseIconControllerIconPath="/icon/{id}",t.ReplaceOneBaseIconControllerIconPath="/icon/{id}",t.DeleteOneBaseIconControllerIconPath="/icon/{id}",t.UpdateOneBaseIconControllerIconPath="/icon/{id}",t.GetManyBaseIconControllerIconPath="/icon",t.CreateOneBaseIconControllerIconPath="/icon",t.CreateManyBaseIconControllerIconPath="/icon/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},b5bK:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var l=n("JW8z"),i=n("bHcU"),r=n("hoJM"),o=n("g6Z0"),a=n("W8M7"),s=n("TN97"),u=n("914O"),c=n("ppab");n("svHU");class d extends c.a{constructor(t){super(),this.mapService=t,this.topoFeatures={}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayTopography(t,e){if(t.length>0){const e=[];this.setUpdatedFeatureToFalse(),t.forEach(t=>{const n=t.h3index;if(this.topoFeatures[n])this.topoFeatures[n].values_.isUpdated_=!0;else{u.a(n).reverse();const t=u.b(n,!0),l=this.polygon4326To3857(t),i=new a.a([l]),r=new s.a({geometry:i,id_:n,h3index:n,type_:"topography",isUpdated_:!0});r.setStyle(this.getStyleHex()),this.topoFeatures[n]=r,e.push(this.topoFeatures[n])}}),this.removeOldFeature(),this.source.addFeatures(e)}else this.removeOldFeature()}removeTopography(){this.source.clear(),this.topoFeatures={}}removeOldFeature(){for(let t in this.topoFeatures)if(this.topoFeatures.hasOwnProperty(t)){const e=this.topoFeatures[t];!1===e.values_.isUpdated_&&(this.source.removeFeature(e),delete this.topoFeatures[t])}}setUpdatedFeatureToFalse(){for(let t in this.topoFeatures)this.topoFeatures.hasOwnProperty(t)&&(this.topoFeatures[t].values_.isUpdated_=!1)}polygon4326To3857(t){let e=[];for(let n in t)t.hasOwnProperty(n)&&(e[n]=Object(l.d)(t[n]));return e}getStyleHex(){return new i.b({fill:new o.a({color:"rgba( 222, 184, 135, .75 )"}),stroke:new r.a({color:"rgba( 210, 180, 140, 1 )",width:1})})}}},bCcq:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("PDX0"),ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(n){return new Sha256(e,!0).update(n)[t]()}},createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var n=0;n<OUTPUT_TYPES.length;++n){var l=OUTPUT_TYPES[n];e[l]=createOutputMethod(l,t)}return e},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(t){if("string"==typeof t)return crypto.createHash(algorithm).update(t,"utf8").digest("hex");if(null==t)throw new Error(ERROR);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod},createHmacOutputMethod=function(t,e){return function(n,l){return new HmacSha256(n,e,!0).update(l)[t]()}},createHmacMethod=function(t){var e=createHmacOutputMethod("hex",t);e.create=function(e){return new HmacSha256(e,t)},e.update=function(t,n){return e.create(t).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var l=OUTPUT_TYPES[n];e[l]=createHmacOutputMethod(l,t)}return e};function Sha256(t,e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=t}function HmacSha256(t,e,n){var l,i=typeof t;if("string"===i){var r,o=[],a=t.length,s=0;for(l=0;l<a;++l)(r=t.charCodeAt(l))<128?o[s++]=r:r<2048?(o[s++]=192|r>>6,o[s++]=128|63&r):r<55296||r>=57344?(o[s++]=224|r>>12,o[s++]=128|r>>6&63,o[s++]=128|63&r):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++l)),o[s++]=240|r>>18,o[s++]=128|r>>12&63,o[s++]=128|r>>6&63,o[s++]=128|63&r);t=o}else{if("object"!==i)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var u=[],c=[];for(l=0;l<64;++l){var d=t[l]||0;u[l]=92^d,c[l]=54^d}Sha256.call(this,e,n),this.update(c),this.oKeyPad=u,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(t){if(!this.finalized){var e,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}for(var l,i,r=0,o=t.length,a=this.blocks;r<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),e)for(i=this.start;r<o&&i<64;++r)a[i>>2]|=t[r]<<SHIFT[3&i++];else for(i=this.start;r<o&&i<64;++r)(l=t.charCodeAt(r))<128?a[i>>2]|=l<<SHIFT[3&i++]:l<2048?(a[i>>2]|=(192|l>>6)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]):l<55296||l>=57344?(a[i>>2]|=(224|l>>12)<<SHIFT[3&i++],a[i>>2]|=(128|l>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]):(l=65536+((1023&l)<<10|1023&t.charCodeAt(++r)),a[i>>2]|=(240|l>>18)<<SHIFT[3&i++],a[i>>2]|=(128|l>>12&63)<<SHIFT[3&i++],a[i>>2]|=(128|l>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=a[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,n,l,i,r,o=this.h0,a=this.h1,s=this.h2,u=this.h3,c=this.h4,d=this.h5,h=this.h6,p=this.h7,f=this.blocks;for(t=16;t<64;++t)f[t]=f[t-16]+(((e=f[t-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+f[t-7]+(((e=f[t-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)<<0;for(r=a&s,t=0;t<64;t+=4)this.first?(this.is224?(n=300032,p=(e=f[0]-1413257819)-150054599<<0,u=e+24177077<<0):(n=704751109,p=(e=f[0]-210244248)-1521486534<<0,u=e+143694565<<0),this.first=!1):(p=u+(e=p+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&h)+K[t]+f[t])<<0,u=e+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((n=o&a)^o&s^r))<<0),h=s+(e=h+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&c^~p&d)+K[t+1]+f[t+1])<<0,s=e+(((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((l=u&o)^u&a^n))<<0,d=a+(e=d+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&p^~h&c)+K[t+2]+f[t+2])<<0,a=e+(((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+((i=s&u)^s&o^l))<<0,c=o+(e=c+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&h^~d&p)+K[t+3]+f[t+3])<<0,o=e+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((r=a&s)^a&u^i))<<0;this.h0=this.h0+o<<0,this.h1=this.h1+a<<0,this.h2=this.h2+s<<0,this.h3=this.h3+u<<0,this.h4=this.h4+c<<0,this.h5=this.h5+d<<0,this.h6=this.h6+h<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,l=this.h3,i=this.h4,r=this.h5,o=this.h6,a=this.h7,s=HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(s+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),s},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,l=this.h3,i=this.h4,r=this.h5,o=this.h6,a=this.h7,s=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24&255,n>>16&255,n>>8&255,255&n,l>>24&255,l>>16&255,l>>8&255,255&l,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||s.push(a>>24&255,a>>16&255,a>>8&255,255&a),s},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()},bHcU:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return c}));var l=n("kvpX"),i=(n("9iPr"),n("zixo")),r=n("g6Z0"),o=n("hoJM"),a=function(){function t(t){var e=t||{};this.geometry_=null,this.geometryFunction_=d,void 0!==e.geometry&&this.setGeometry(e.geometry),this.fill_=void 0!==e.fill?e.fill:null,this.image_=void 0!==e.image?e.image:null,this.renderer_=void 0!==e.renderer?e.renderer:null,this.stroke_=void 0!==e.stroke?e.stroke:null,this.text_=void 0!==e.text?e.text:null,this.zIndex_=e.zIndex}return t.prototype.clone=function(){var e=this.getGeometry();return e&&"object"==typeof e&&(e=e.clone()),new t({geometry:e,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},t.prototype.getRenderer=function(){return this.renderer_},t.prototype.setRenderer=function(t){this.renderer_=t},t.prototype.getGeometry=function(){return this.geometry_},t.prototype.getGeometryFunction=function(){return this.geometryFunction_},t.prototype.getFill=function(){return this.fill_},t.prototype.setFill=function(t){this.fill_=t},t.prototype.getImage=function(){return this.image_},t.prototype.setImage=function(t){this.image_=t},t.prototype.getStroke=function(){return this.stroke_},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.getText=function(){return this.text_},t.prototype.setText=function(t){this.text_=t},t.prototype.getZIndex=function(){return this.zIndex_},t.prototype.setGeometry=function(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=d,this.geometry_=t},t.prototype.setZIndex=function(t){this.zIndex_=t},t}();function s(t){var e,n;return"function"==typeof t?e=t:(Array.isArray(t)?n=t:(Object(l.a)("function"==typeof t.getZIndex,41),n=[t]),e=function(){return n}),e}var u=null;function c(t,e){if(!u){var n=new r.a({color:"rgba(255,255,255,0.4)"}),l=new o.a({color:"#3399CC",width:1.25});u=[new a({image:new i.a({fill:n,stroke:l,radius:5}),fill:n,stroke:l})]}return u}function d(t){return t.getGeometry()}e.b=a},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("5+tZ"),i=n("SpAZ");function r(t=Number.POSITIVE_INFINITY){return Object(l.a)(i.a,t)}},"bL/2":function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("hp/u"),o=n("kvpX"),a=n("XDhV"),s=n("AdTM"),u=n("grDu"),c=n("CZmH"),d=n("DsAt"),h=n("PCLV"),p=n("ZhEo"),f=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),b=function(t){function e(e,n,l,i,r,o){var a=t.call(this)||this;return a.hitDetectionImage_=null,a.image_=e||new Image,null!==i&&(a.image_.crossOrigin=i),a.canvas_=o?document.createElement("canvas"):null,a.color_=o,a.unlisten_=null,a.imageState_=r,a.size_=l,a.src_=n,a}return f(e,t),e.prototype.isTainted_=function(t){if(void 0===this.tainted_&&this.imageState_===r.a.LOADED){t||(t=Object(c.a)(1,1)).drawImage(this.image_,0,0);try{t.getImageData(0,0,1,1),this.tainted_=!1}catch(e){this.tainted_=!0}}return!0===this.tainted_},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(s.a.CHANGE)},e.prototype.handleImageError_=function(){this.imageState_=r.a.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=r.a.LOADED,this.size_&&(this.image_.width=this.size_[0],this.image_.height=this.size_[1]),this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.replaceColor_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(t){return this.canvas_?this.canvas_:this.image_},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(t){if(!this.hitDetectionImage_)if(this.isTainted_()){var e=this.size_[0],n=this.size_[1],l=Object(c.a)(e,n);l.fillRect(0,0,e,n),this.hitDetectionImage_=l.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(this.imageState_==r.a.IDLE){this.imageState_=r.a.LOADING;try{this.image_.src=this.src_}catch(t){this.handleImageError_()}this.unlisten_=Object(p.a)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(){if(this.color_){this.canvas_.width=this.image_.width,this.canvas_.height=this.image_.height;var t=this.canvas_.getContext("2d");if(t.drawImage(this.image_,0,0),this.isTainted_(t)){var e=this.color_;return t.globalCompositeOperation="multiply",t.fillStyle="rgb("+e[0]+","+e[1]+","+e[2]+")",t.fillRect(0,0,this.image_.width,this.image_.height),t.globalCompositeOperation="destination-in",void t.drawImage(this.image_,0,0)}for(var n=t.getImageData(0,0,this.image_.width,this.image_.height),l=n.data,i=this.color_[0]/255,r=this.color_[1]/255,o=this.color_[2]/255,a=0,s=l.length;a<s;a+=4)l[a]*=i,l[a+1]*=r,l[a+2]*=o;t.putImageData(n,0,0)}},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(d.a),m=n("qzVC"),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),_=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{opacity:void 0!==l.opacity?l.opacity:1,rotation:void 0!==l.rotation?l.rotation:0,scale:void 0!==l.scale?l.scale:1,displacement:void 0!==l.displacement?l.displacement:[0,0],rotateWithView:void 0!==l.rotateWithView&&l.rotateWithView})||this).anchor_=void 0!==l.anchor?l.anchor:[.5,.5],n.normalizedAnchor_=null,n.anchorOrigin_=void 0!==l.anchorOrigin?l.anchorOrigin:"top-left",n.anchorXUnits_=void 0!==l.anchorXUnits?l.anchorXUnits:u.a.FRACTION,n.anchorYUnits_=void 0!==l.anchorYUnits?l.anchorYUnits:u.a.FRACTION,n.crossOrigin_=void 0!==l.crossOrigin?l.crossOrigin:null;var s=void 0!==l.img?l.img:null,c=void 0!==l.imgSize?l.imgSize:null,d=l.src;Object(o.a)(!(void 0!==d&&s),4),Object(o.a)(!s||s&&c,5),void 0!==d&&0!==d.length||!s||(d=s.src||Object(i.c)(s)),Object(o.a)(void 0!==d&&d.length>0,6);var p=void 0!==l.src?r.a.IDLE:r.a.LOADED;return n.color_=void 0!==l.color?Object(a.a)(l.color):null,n.iconImage_=function(t,e,n,l,i,r){var o=h.a.get(e,l,r);return o||(o=new b(t,e,n,l,i,r),h.a.set(e,l,r,o)),o}(s,d,c,n.crossOrigin_,p,n.color_),n.offset_=void 0!==l.offset?l.offset:[0,0],n.offsetOrigin_=void 0!==l.offsetOrigin?l.offsetOrigin:"top-left",n.origin_=null,n.size_=void 0!==l.size?l.size:null,n}return g(e,t),e.prototype.clone=function(){return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,crossOrigin:this.crossOrigin_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,src:this.getSrc(),offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,size:null!==this.size_?this.size_.slice():void 0,opacity:this.getOpacity(),scale:this.getScale(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},e.prototype.getAnchor=function(){if(this.normalizedAnchor_)return this.normalizedAnchor_;var t=this.anchor_,e=this.getSize();if(this.anchorXUnits_==u.a.FRACTION||this.anchorYUnits_==u.a.FRACTION){if(!e)return null;t=this.anchor_.slice(),this.anchorXUnits_==u.a.FRACTION&&(t[0]*=e[0]),this.anchorYUnits_==u.a.FRACTION&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),"top-right"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[0]=-t[0]+e[0]),"bottom-left"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[1]=-t[1]+e[1])}return this.normalizedAnchor_=t,this.normalizedAnchor_},e.prototype.setAnchor=function(t){this.anchor_=t,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(t){return this.iconImage_.getImage(t)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getHitDetectionImageSize=function(){return this.getImageSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(t){return this.iconImage_.getHitDetectionImage(t)},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var t=this.offset_,e=this.getDisplacement();if("top-left"!=this.offsetOrigin_){var n=this.getSize(),l=this.iconImage_.getSize();if(!n||!l)return null;t=t.slice(),"top-right"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[0]=l[0]-n[0]-t[0]),"bottom-left"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[1]=l[1]-n[1]-t[1])}return t[0]+=e[0],t[1]+=e[1],this.origin_=t,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(t){this.iconImage_.addEventListener(s.a.CHANGE,t)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(t){this.iconImage_.removeEventListener(s.a.CHANGE,t)},e}(m.a);e.a=_},bLKQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("5+tZ");function i(t,e){return Object(l.a)(t,e,1)}},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},"bY/R":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("V8uu"),i=n("Hsuu");function r(t,e,n,l){return function(r,o,a){var s=new XMLHttpRequest;s.open("GET","function"==typeof t?t(r,o,a):t,!0),e.getType()==i.a.ARRAY_BUFFER&&(s.responseType="arraybuffer"),s.withCredentials=!1,s.onload=(function(t){if(!s.status||s.status>=200&&s.status<300){var o=e.getType(),u=void 0;o==i.a.JSON||o==i.a.TEXT?u=s.responseText:o==i.a.XML?(u=s.responseXML)||(u=(new DOMParser).parseFromString(s.responseText,"application/xml")):o==i.a.ARRAY_BUFFER&&(u=s.response),u?n.call(this,e.readFeatures(u,{extent:r,featureProjection:a}),e.readProjection(u)):l.call(this)}else l.call(this)}).bind(this),s.onerror=(function(){l.call(this)}).bind(this),s.send()}}function o(t,e){return r(t,e,(function(t,e){"function"==typeof this.addFeatures&&this.addFeatures(t)}),l.c)}},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bYNo:function(t,e,n){"use strict";e.a={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},bdly:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("SVse"),s=n("4q72");n.d(e,"a",(function(){return f}));var u=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important}.mat-dialog-content[_ngcontent-%COMP%]{padding:10px!important;margin:0!important;cursor:pointer}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .pastil-color[_ngcontent-%COMP%]{height:25px;width:25px;border-radius:50%;margin-right:10px}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .notification-card-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .notification-card-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#666}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%]{display:flex}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:2px}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-color[_ngcontent-%COMP%]{height:5px;width:5px;border-radius:50%}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-green[_ngcontent-%COMP%]{background-color:green}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-red[_ngcontent-%COMP%]{background-color:red}.close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;margin-right:10px;font-size:25px;margin-top:5px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-green"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["En cours"]))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-red"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Fini"]))],null,null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,17,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToNotif()&&l),l}),null,null)),l.Cb(3,16384,null,0,o.j,[],null,null),(t()(),l.Db(4,0,null,null,15,"div",[["class","notification-card"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,9,"div",[["class","notification-card-main"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(8,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(9,{"background-color":0}),(t()(),l.Db(10,0,null,null,4,"div",[["class","notification-card-title"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(12,null,[" "," "])),(t()(),l.Db(13,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(14,null,[" "," "])),(t()(),l.Db(15,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(17,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(19,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close");var l=t(e,9,0,n.notification.type.color);t(e,8,0,l),t(e,17,0,!n.notification.endAt),t(e,19,0,n.notification.endAt)}),(function(t,e){var n=e.component;t(e,12,0,n.notification.type.name),t(e,14,0,n.notification.aircraftIcao)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"notification-alert-dialog",[],null,null,null,h,u)),l.Cb(1,114688,null,0,s.a,[o.l,o.a],null,null)],(function(t,e){t(e,1,0)}),null)}var f=l.zb("notification-alert-dialog",s.a,p,{},{},[])},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bujt:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var l=n("8Y7J"),i=(n("Fwaw"),n("SVse"),n("IP0z"),n("Xd0L")),r=(n("cUpR"),n("/HVE")),o=n("omvX"),a=(n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}}));function s(t){return l.Yb(2,[l.Ub(671088640,1,{ripple:0}),(t()(),l.Db(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(4,212992,[[1,4]],0,i.x,[l.p,l.G,r.a,[2,i.m],[2,o.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),l.Db(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,l.Pb(e,4).unbounded)}))}},bxKX:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c1op:function(t,e,n){"use strict";n.d(e,"a",(function(){return V})),n.d(e,"b",(function(){return F})),n.d(e,"c",(function(){return St})),n.d(e,"d",(function(){return Tt})),n.d(e,"e",(function(){return kt})),n.d(e,"f",(function(){return Ot})),n.d(e,"g",(function(){return I})),n.d(e,"h",(function(){return Et})),n.d(e,"i",(function(){return G})),n.d(e,"j",(function(){return Mt})),n.d(e,"k",(function(){return wt})),n.d(e,"l",(function(){return v})),n.d(e,"m",(function(){return L}));var l=n("AfW+");let i,r,o,a=0,s=!1,u=!1,c=!1,d=!1,h=!1;const p=window,f=document,b={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l)},m=(()=>!!f.documentElement.attachShadow)(),g=(()=>{let t=!1;try{f.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),_=(()=>{try{return new CSSStyleSheet,!0}catch(t){}return!1})(),y=new WeakMap,A=t=>y.get(t),v=(t,e)=>y.set(e.$lazyInstance$=t,e),C=(t,e)=>e in t,w=t=>console.error(t),P=new Map,x=new Map,S=[],k=[],M=[],O=(t,e)=>n=>{t.push(n),s||(s=!0,e&&4&b.$flags$?E(T):b.raf(T))},D=(t,e)=>{let n=0,l=0;for(;n<t.length&&(l=performance.now())<e;)try{t[n++](l)}catch(i){w(i)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},T=()=>{a++,(t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){w(e)}t.length=0})(S);const t=2==(6&b.$flags$)?performance.now()+10*Math.ceil(a*(1/22)):1/0;D(k,t),D(M,t),k.length>0&&(M.push(...k),k.length=0),(s=S.length+k.length+M.length>0)?b.raf(T):a=0},E=t=>Promise.resolve().then(t),I=O(S,!1),L=O(k,!0),j={},R=t=>"object"==(t=typeof t)||"function"===t,F=()=>p.CSS&&p.CSS.supports&&p.CSS.supports("color","var(--c)")?Promise.resolve():n.e(17).then(n.t.bind(null,"Pud/",7)).then(()=>{if(b.$cssShim$=p.__stencil_cssshim,b.$cssShim$)return b.$cssShim$.initShim()}),N="http://www.w3.org/1999/xlink",Y=new WeakMap,U=(t,e,n)=>{let l=x.get(t);_&&n?(l=l||new CSSStyleSheet,l.replace(e)):l=e,x.set(t,l)},B=(t,e,n,l)=>{let i=z(e.$tagName$,n),r=x.get(i);if(t=11===t.nodeType?t:f,r||(i=z(e.$tagName$),r=x.get(i)),r)if("string"==typeof r){let n,o=Y.get(t=t.head||t);if(o||Y.set(t,o=new Set),!o.has(i)){if(t.host&&(n=t.firstElementChild)&&"STYLE"===n.tagName)n.innerHTML=r;else{if(b.$cssShim$){n=b.$cssShim$.createHostStyle(l,i,r,!!(10&e.$flags$));const t=n["s-sc"];t&&(i=t,o=null)}else n=f.createElement("style"),n.setAttribute("data-styles",""),n.innerHTML=r;t.insertBefore(n,t.querySelector("link"))}o&&o.add(i)}}else t.adoptedStyleSheets.includes(r)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,r]);return i},z=(t,e)=>"sc-"+(e?t+"-"+e:t),G=(t,e,...n)=>{let l=null,i=null,r=null,o=!1,a=!1,s=[];const u=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof t&&!R(l))&&(l=String(l)),o&&a?s[s.length-1].$text$+=l:s.push(o?H(null,l):l),a=o)};if(u(n),e){e.key&&(i=e.key),e.name&&(r=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter(e=>t[e]).join(" "))}}if("function"==typeof t)return t(e,s,q);const c=H(t,null);return c.$attrs$=e,s.length>0&&(c.$children$=s),c.$key$=i,c.$name$=r,c},H=(t,e)=>({$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),V={},q={forEach:(t,e)=>t.map(W).forEach(e),map:(t,e)=>t.map(W).map(e).map($)},W=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),$=t=>{const e=H(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},X=(t,e,n,l,i,r)=>{if(n===l)return;let o=C(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,i=J(n),r=J(l);e.remove(...i.filter(t=>t&&!r.includes(t))),e.add(...r.filter(t=>t&&!i.includes(t)))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(o||"o"!==e[0]||"n"!==e[1]){const u=R(l);if((o||u&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]=l;else{let i=null==l?"":l;null!=n&&t[e]==i||(t[e]=i)}}catch(s){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,c=!0),null==l||!1===l?c?t.removeAttributeNS(N,e):t.removeAttribute(e):(!o||4&r||i)&&!u&&(l=!0===l?"":l,c?t.setAttributeNS(N,e,l):t.setAttribute(e,l))}else e="-"===e[2]?e.slice(3):C(p,a)?a.slice(2):a[2]+e.slice(3),n&&b.rel(t,e,n,!1),l&&b.ael(t,e,l,!1)},K=/\s/,J=t=>t?t.split(K):[],Q=(t,e,n,l)=>{const i=11===e.$elm$.nodeType&&e.$elm$.host?e.$elm$.host:e.$elm$,r=t&&t.$attrs$||j,o=e.$attrs$||j;for(l in r)l in o||X(i,l,r[l],void 0,n,e.$flags$);for(l in o)X(i,l,r[l],o[l],n,e.$flags$)},Z=(t,e,n,l)=>{let a,s,c,p=e.$children$[n],b=0;if(u||(d=!0,"slot"===p.$tag$&&(i&&l.classList.add(i+"-s"),p.$flags$|=p.$children$?2:1)),null!==p.$text$)a=p.$elm$=f.createTextNode(p.$text$);else if(1&p.$flags$)a=p.$elm$=f.createTextNode("");else{if(h||(h="svg"===p.$tag$),a=p.$elm$=f.createElementNS(h?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.$flags$?"slot-fb":p.$tag$),h&&"foreignObject"===p.$tag$&&(h=!1),Q(null,p,h),null!=i&&a["s-si"]!==i&&a.classList.add(a["s-si"]=i),p.$children$)for(b=0;b<p.$children$.length;++b)s=Z(t,p,b,a),s&&a.appendChild(s);"svg"===p.$tag$?h=!1:"foreignObject"===a.tagName&&(h=!0)}return a["s-hn"]=o,3&p.$flags$&&(a["s-sr"]=!0,a["s-cr"]=r,a["s-sn"]=p.$name$||"",c=t&&t.$children$&&t.$children$[n],c&&c.$tag$===p.$tag$&&t.$elm$&&tt(t.$elm$,!1)),a},tt=(t,e)=>{b.$flags$|=1;const n=t.childNodes;for(let l=n.length-1;l>=0;l--){const t=n[l];t["s-hn"]!==o&&t["s-ol"]&&(rt(t).insertBefore(t,it(t)),t["s-ol"].remove(),t["s-ol"]=void 0,d=!0),e&&tt(t,e)}b.$flags$&=-2},et=(t,e,n,l,i,r)=>{let a,s=t["s-cr"]&&t["s-cr"].parentNode||t;for(s.shadowRoot&&s.tagName===o&&(s=s.shadowRoot);i<=r;++i)l[i]&&(a=Z(null,n,i,t),a&&(l[i].$elm$=a,s.insertBefore(a,it(e))))},nt=(t,e,n,l,i)=>{for(;e<=n;++e)(l=t[e])&&(i=l.$elm$,ct(l),c=!0,i["s-ol"]?i["s-ol"].remove():tt(i,!0),i.remove())},lt=(t,e)=>t.$tag$===e.$tag$&&("slot"===t.$tag$?t.$name$===e.$name$:t.$key$===e.$key$),it=t=>t&&t["s-ol"]||t,rt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ot=(t,e)=>{const n=e.$elm$=t.$elm$,l=t.$children$,i=e.$children$;let r;h=n&&n.parentNode&&void 0!==n.ownerSVGElement,h="svg"===e.$tag$||"foreignObject"!==e.$tag$&&h,null===e.$text$?("slot"===e.$tag$||Q(t,e,h),null!==l&&null!==i?((t,e,n,l)=>{let i,r,o=0,a=0,s=0,u=0,c=e.length-1,d=e[0],h=e[c],p=l.length-1,f=l[0],b=l[p];for(;o<=c&&a<=p;)if(null==d)d=e[++o];else if(null==h)h=e[--c];else if(null==f)f=l[++a];else if(null==b)b=l[--p];else if(lt(d,f))ot(d,f),d=e[++o],f=l[++a];else if(lt(h,b))ot(h,b),h=e[--c],b=l[--p];else if(lt(d,b))"slot"!==d.$tag$&&"slot"!==b.$tag$||tt(d.$elm$.parentNode,!1),ot(d,b),t.insertBefore(d.$elm$,h.$elm$.nextSibling),d=e[++o],b=l[--p];else if(lt(h,f))"slot"!==d.$tag$&&"slot"!==b.$tag$||tt(h.$elm$.parentNode,!1),ot(h,f),t.insertBefore(h.$elm$,d.$elm$),h=e[--c],f=l[++a];else{for(s=-1,u=o;u<=c;++u)if(e[u]&&null!==e[u].$key$&&e[u].$key$===f.$key$){s=u;break}s>=0?(r=e[s],r.$tag$!==f.$tag$?i=Z(e&&e[a],n,s,t):(ot(r,f),e[s]=void 0,i=r.$elm$),f=l[++a]):(i=Z(e&&e[a],n,a,t),f=l[++a]),i&&rt(d.$elm$).insertBefore(i,it(d.$elm$))}o>c?et(t,null==l[p+1]?null:l[p+1].$elm$,n,l,a,p):a>p&&nt(e,o,c)})(n,l,e,i):null!==i?(null!==t.$text$&&(n.textContent=""),et(n,null,e,i,0,i.length-1)):null!==l&&nt(l,0,l.length-1)):(r=n["s-cr"])?r.parentNode.textContent=e.$text$:t.$text$!==e.$text$&&(n.data=e.$text$),h&&"svg"===e.$tag$&&(h=!1)},at=t=>{let e,n,l,i,r,o,a=t.childNodes;for(n=0,l=a.length;n<l;n++)if(e=a[n],1===e.nodeType){if(e["s-sr"])for(r=e["s-sn"],e.hidden=!1,i=0;i<l;i++)if(a[i]["s-hn"]!==e["s-hn"])if(o=a[i].nodeType,""!==r){if(1===o&&r===a[i].getAttribute("slot")){e.hidden=!0;break}}else if(1===o||3===o&&""!==a[i].textContent.trim()){e.hidden=!0;break}at(e)}},st=[],ut=t=>{let e,n,l,i,r=t.childNodes,o=r.length,a=0,s=0,u=0;for(o=r.length;a<o;a++){if(e=r[a],e["s-sr"]&&(n=e["s-cr"]))for(l=n.parentNode.childNodes,i=e["s-sn"],s=l.length-1;s>=0;s--)n=l[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(u=n.nodeType,((3===u||8===u)&&""===i||1===u&&null===n.getAttribute("slot")&&""===i||1===u&&n.getAttribute("slot")===i)&&(st.some(t=>t.$nodeToRelocate$===n)||(c=!0,n["s-sn"]=i,st.push({$slotRefNode$:e,$nodeToRelocate$:n}))));1===e.nodeType&&ut(e)}},ct=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.forEach(ct)},dt=(t,e)=>{e&&!t.$onRenderResolve$&&e["s-p"].push(new Promise(e=>t.$onRenderResolve$=e))},ht=(t,e,n,l)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);const i=e.$lazyInstance$,r=()=>pt(t,e,n,i,l),o=t["s-rc"];let a;return dt(e,e.$ancestorComponent$),l&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.forEach(([t,e])=>mt(i,t,e)),e.$queuedListeners$=null),a=mt(i,"componentWillLoad")),a=gt(a,()=>mt(i,"componentWillRender")),o&&(o.forEach(t=>t()),t["s-rc"]=void 0),gt(a,()=>L(r))},pt=(t,e,n,l,a)=>{a&&((t,e,n)=>{const l=B(m&&t.shadowRoot?t.shadowRoot:t.getRootNode(),e,n,t);10&e.$flags$&&(t["s-sc"]=l,t.classList.add(l+"-h"),2&e.$flags$&&t.classList.add(l+"-s"))})(t,n,e.$modeName$);try{((t,e,n,l)=>{o=t.tagName;const a=e.$vnode$||H(null,null),s=(h=l)&&h.$tag$===V?l:G(null,null,l);var h;if(n.$attrsToReflect$&&(s.$attrs$=s.$attrs$||{},n.$attrsToReflect$.forEach(([e,n])=>s.$attrs$[n]=t[e])),s.$tag$=null,s.$flags$|=4,e.$vnode$=s,s.$elm$=a.$elm$=t.shadowRoot||t,i=t["s-sc"],r=t["s-cr"],u=m&&0!=(1&n.$flags$),d=c=!1,ot(a,s),d){ut(s.$elm$);for(let t=0;t<st.length;t++){const e=st[t];if(!e.$nodeToRelocate$["s-ol"]){const t=f.createTextNode("");t["s-nr"]=e.$nodeToRelocate$,e.$nodeToRelocate$.parentNode.insertBefore(e.$nodeToRelocate$["s-ol"]=t,e.$nodeToRelocate$)}}b.$flags$|=1;for(let t=0;t<st.length;t++){const e=st[t],n=e.$slotRefNode$.parentNode;let l=e.$slotRefNode$.nextSibling,i=e.$nodeToRelocate$["s-ol"];for(;i=i.previousSibling;){let t=i["s-nr"];if(t&&t["s-sn"]===e.$nodeToRelocate$["s-sn"]&&n===t.parentNode&&(t=t.nextSibling,!t||!t["s-nr"])){l=t;break}}(!l&&n!==e.$nodeToRelocate$.parentNode||e.$nodeToRelocate$.nextSibling!==l)&&e.$nodeToRelocate$!==l&&n.insertBefore(e.$nodeToRelocate$,l)}b.$flags$&=-2}c&&at(s.$elm$),st.length=0})(t,e,n,l.render&&l.render())}catch(s){w(s)}b.$cssShim$&&b.$cssShim$.updateHost(t),e.$flags$&=-17,e.$flags$|=2;{const l=t["s-p"],i=()=>ft(t,e,n);0===l.length?i():(Promise.all(l).then(i),e.$flags$|=4,l.length=0)}},ft=(t,e,n)=>{const l=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?mt(l,"componentDidUpdate"):(e.$flags$|=64,t.classList.add("hydrated"),mt(l,"componentDidLoad"),e.$onReadyResolve$(t),i||bt()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&E(()=>ht(t,e,n,!1)),e.$flags$&=-517},bt=()=>{f.documentElement.classList.add("hydrated"),b.$flags$|=2},mt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(l){w(l)}},gt=(t,e)=>t&&t.then?t.then(e):e(),_t=(t,e,n)=>{if(e.$members$){t.watchers&&(e.$watchers$=t.watchers);const l=Object.entries(e.$members$),i=t.prototype;if(l.forEach(([t,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(i,t,{get(){return e=t,A(this).$instanceValues$.get(e);var e},set(n){((t,e,n,l)=>{const i=A(this),r=i.$hostElement$,o=i.$instanceValues$.get(e),a=i.$flags$,s=i.$lazyInstance$;var u,c;if(c=l.$members$[e][0],!((n=null==(u=n)||R(u)?u:4&c?"false"!==u&&(""===u||!!u):2&c?parseFloat(u):1&c?String(u):u)===o||8&a&&void 0!==o)&&(i.$instanceValues$.set(e,n),s)){if(l.$watchers$&&128&a){const t=l.$watchers$[e];t&&t.forEach(t=>{try{s[t](n,o,e)}catch(l){w(l)}})}2==(18&a)&&ht(r,i,l,!1)}})(0,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(i,t,{value(...e){const n=A(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[t](...e))}})}),1&n){const n=new Map;i.attributeChangedCallback=function(t,e,l){b.jmp(()=>{const e=n.get(t);this[e]=(null!==l||"boolean"!=typeof this[e])&&l})},t.observedAttributes=l.filter(([t,e])=>15&e[0]).map(([t,l])=>{const i=l[1]||t;return n.set(i,t),512&l[0]&&e.$attrsToReflect$.push([t,i]),i})}}return t},yt=(t,e,n,l,i,r,o)=>{let a,s,u,c;if(1===r.nodeType){for(a=r.getAttribute("c-id"),a&&(s=a.split("."),s[0]!==o&&"0"!==s[0]||(u={$flags$:0,$hostId$:s[0],$nodeId$:s[1],$depth$:s[2],$index$:s[3],$tag$:r.tagName.toLowerCase(),$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(u),r.removeAttribute("c-id"),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u,t=u,l&&"0"===u.$depth$&&(l[u.$index$]=u.$elm$))),c=r.childNodes.length-1;c>=0;c--)yt(t,e,n,l,i,r.childNodes[c],o);if(r.shadowRoot)for(c=r.shadowRoot.childNodes.length-1;c>=0;c--)yt(t,e,n,l,i,r.shadowRoot.childNodes[c],o)}else if(8===r.nodeType)s=r.nodeValue.split("."),s[1]!==o&&"0"!==s[1]||(a=s[0],u={$flags$:0,$hostId$:s[1],$nodeId$:s[2],$depth$:s[3],$index$:s[4],$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(u.$elm$=r.nextSibling,u.$elm$&&3===u.$elm$.nodeType&&(u.$text$=u.$elm$.textContent,e.push(u),r.remove(),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u,l&&"0"===u.$depth$&&(l[u.$index$]=u.$elm$))):u.$hostId$===o&&("s"===a?(u.$tag$="slot",r["s-sn"]=s[5]?u.$name$=s[5]:"",r["s-sr"]=!0,l&&(u.$elm$=f.createElement(u.$tag$),u.$name$&&u.$elm$.setAttribute("name",u.$name$),r.parentNode.insertBefore(u.$elm$,r),r.remove(),"0"===u.$depth$&&(l[u.$index$]=u.$elm$)),n.push(u),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u):"r"===a&&(l?r.remove():(i["s-cr"]=r,r["s-cn"]=!0))));else if(t&&"style"===t.$tag$){const e=H(null,r.textContent);e.$elm$=r,e.$index$="0",t.$children$=[e]}},At=(t,e)=>{if(1===t.nodeType){let n=0;for(;n<t.childNodes.length;n++)At(t.childNodes[n],e);if(t.shadowRoot)for(n=0;n<t.shadowRoot.childNodes.length;n++)At(t.shadowRoot.childNodes[n],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-sd"]=""===n[3])}},vt=[],Ct=t=>vt.push(t),wt=t=>A(t).$modeName$,Pt=t=>{mt(t,"connectedCallback")},xt=t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},St=(t,e={})=>{const l=[],i=e.exclude||[],r=f.head,o=p.customElements,a=r.querySelector("meta[charset]"),s=f.createElement("style");let u;Object.assign(b,e),b.$resourcesUrl$=new URL(e.resourcesUrl||"./",f.baseURI).href,e.syncQueue&&(b.$flags$|=4),b.$flags$|=2;{const t=f.querySelectorAll("style[s-id]");let e="",n=0;for(;n<t.length;n++)e+=t[n].innerHTML;for(n=0;n<t.length;n++){const l=t[n];U(l.getAttribute("s-id"),e+l.innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)}}t.forEach(t=>t[1].forEach(e=>{const r={$flags$:e[0],$tagName$:e[1],$members$:e[2],$listeners$:e[3]};r.$members$=e[2],r.$listeners$=e[3],r.$attrsToReflect$=[],r.$watchers$={},!m&&1&r.$flags$&&(r.$flags$|=8);const a=r.$tagName$,s=class extends HTMLElement{constructor(t){super(t),(t=>{const e={$flags$:0,$hostElement$:t,$instanceValues$:new Map};e.$onInstancePromise$=new Promise(t=>e.$onInstanceResolve$=t),e.$onReadyPromise$=new Promise(t=>e.$onReadyResolve$=t),t["s-p"]=[],t["s-rc"]=[],y.set(t,e)})(t=this),1&r.$flags$&&(m?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t))}connectedCallback(){u&&(clearTimeout(u),u=null),b.jmp(()=>((t,e)=>{if(0==(1&b.$flags$)){const l=A(t);if(e.$listeners$&&(l.$rmListeners$=((t,e,n)=>{e.$queuedListeners$=e.$queuedListeners$||[];const l=n.map(([n,l,i])=>{const r=((t,e)=>4&e?f:8&e?p:32&e?f.body:16&e?t.parentElement:t)(t,n),o=((t,e)=>n=>{256&t.$flags$?t.$lazyInstance$[e](n):t.$queuedListeners$.push([e,n])})(e,i),a=(t=>g?{passive:0!=(1&t),capture:0!=(2&t)}:0!=(2&t))(n);return b.ael(r,l,o,a),()=>b.rel(r,l,o,a)});return()=>l.forEach(t=>t())})(t,l,e.$listeners$)),!(1&l.$flags$)){let i;if(l.$flags$|=1,i=t.getAttribute("s-id"),i){if(m&&1&e.$flags$){const n=B(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h"),t.classList.remove(n+"-s")}((t,e,n,l)=>{const i=t.shadowRoot,r=[],o=i?[]:null,a=l.$vnode$=H(e,null);b.$orgLocNodes$||At(f.body,b.$orgLocNodes$=new Map),t["s-id"]=n,t.removeAttribute("s-id"),yt(a,r,[],o,t,t,n),r.forEach(t=>{const n=t.$hostId$+"."+t.$nodeId$,l=b.$orgLocNodes$.get(n),r=t.$elm$;l&&(l["s-sd"]||"0"===t.$hostId$)&&l.parentNode.insertBefore(r,l.nextSibling),i||(r["s-hn"]=e,l&&(r["s-ol"]=l,r["s-ol"]["s-nr"]=r)),b.$orgLocNodes$.delete(n)}),i&&o.forEach(t=>{t&&i.appendChild(t)})})(t,e.$tagName$,i,l)}i||(4&e.$flags$||8&e.$flags$)&&xt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")||e["s-p"]){dt(l,l.$ancestorComponent$=e);break}}e.$members$&&Object.entries(e.$members$).forEach(([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}}),E(()=>(async(t,e,l,i,r)=>{if(0==(32&e.$flags$)){e.$flags$|=32,null==e.$modeName$&&(e.$modeName$="string"!=typeof l.$lazyBundleIds$?(t=>vt.map(e=>e(t)).find(t=>!!t))(t):""),(r=((t,e,l)=>{const i=t.$tagName$.replace(/-/g,"_"),r="string"!=typeof t.$lazyBundleIds$?t.$lazyBundleIds$[e.$modeName$]:t.$lazyBundleIds$,o=P.get(r);return o?o[i]:n("kLfG")(`./${r}.entry.js`).then(t=>(P.set(r,t),t[i]),w)})(l,e)).then&&(r=await r),r.isProxied||(l.$watchers$=r.watchers,_t(r,l,2),r.isProxied=!0),e.$flags$|=8;try{new r(e)}catch(s){w(s)}e.$flags$&=-9,e.$flags$|=128,Pt(e.$lazyInstance$);const i=z(l.$tagName$,e.$modeName$);if(!x.has(i)&&r.style){let t=r.style;"string"!=typeof t&&(t=t[e.$modeName$]),8&l.$flags$&&(t=await n.e(101).then(n.bind(null,"94vs")).then(e=>e.scopeCss(t,i,!1))),U(i,t,!!(1&l.$flags$))}}const o=e.$ancestorComponent$,a=()=>ht(t,e,l,!0);o&&o["s-rc"]?o["s-rc"].push(a):a()})(t,l,e))}Pt(l.$lazyInstance$)}})(this,r))}disconnectedCallback(){b.jmp(()=>(t=>{if(0==(1&b.$flags$)){const e=A(t),n=e.$lazyInstance$;e.$rmListeners$&&(e.$rmListeners$(),e.$rmListeners$=void 0),b.$cssShim$&&b.$cssShim$.removeHost(t),mt(n,"disconnectedCallback"),mt(n,"componentDidUnload")}})(this))}"s-hmr"(t){}forceUpdate(){((t,e)=>{{const n=A(t);2==(18&n.$flags$)&&ht(t,n,e,!1)}})(this,r)}componentOnReady(){return A(this).$onReadyPromise$}};r.$lazyBundleIds$=t[0],i.includes(a)||o.get(a)||(l.push(a),o.define(a,_t(s,r,1)))})),s.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",s.setAttribute("data-styles",""),r.insertBefore(s,a?a.nextSibling:r.firstChild),b.jmp(()=>u=setTimeout(bt,30))},kt=(t,e,n)=>{const l=Ot(t);return{emit:t=>l.dispatchEvent(new CustomEvent(e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t}))}},Mt=t=>{const e=new URL(t,b.$resourcesUrl$);return e.origin!==p.location.origin?e.href:e.pathname},Ot=t=>A(t).$hostElement$;let Dt;const Tt=t=>t&&wt(t)||Dt,Et=()=>{(()=>{const t=document,e=window,n=e.Ionic=e.Ionic||{};Object(l.g)(e);const i=Object.assign(Object.assign(Object.assign(Object.assign({},Object(l.c)(e)),{persistConfig:!1}),n.config),Object(l.a)(e));l.b.reset(i),l.b.getBoolean("persistConfig")&&Object(l.d)(e,i),n.config=l.b,n.mode=Dt=l.b.get("mode",t.documentElement.getAttribute("mode")||(Object(l.f)(e,"ios")?"ios":"md")),l.b.set("mode",Dt),t.documentElement.setAttribute("mode",Dt),t.documentElement.classList.add(Dt),l.b.getBoolean("_testing")&&l.b.set("animated",!1),Ct(t=>t.mode=t.mode||t.getAttribute("mode")||Dt)})(),Ct(t=>"ION-ICON"===t.tagName?t.mode||t.getAttribute("mode"):null)}},c2HN:function(t,e,n){"use strict";function l(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return l}))},c9QO:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}tripControllerGetTrip$Response(e){const n=new o.a(this.rootUrl,t.TripControllerGetTripPath,"get");return e&&(n.query("since",e.since),n.query("createdAt",e.createdAt),n.query("icao",e.icao)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}tripControllerGetTrip(t){return this.tripControllerGetTrip$Response(t).pipe(Object(s.a)(t=>t.body))}tripControllerGetCsvPositions$Response(e){const n=new o.a(this.rootUrl,t.TripControllerGetCsvPositionsPath,"get");return e&&(n.query("createdAt",e.createdAt),n.query("icao",e.icao)),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}tripControllerGetCsvPositions(t){return this.tripControllerGetCsvPositions$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseTripControllerTrip$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseTripControllerTripPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseTripControllerTrip(t){return this.getManyBaseTripControllerTrip$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.TripControllerGetTripPath="/trip/info",t.TripControllerGetCsvPositionsPath="/trip/export_positions",t.GetManyBaseTripControllerTripPath="/trip",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},c9fC:function(t,e,n){"use strict";n.d(e,"d",(function(){return P})),n.d(e,"c",(function(){return w})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return y})),n.d(e,"e",(function(){return A})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return C}));var l=n("8Y7J"),i=(n("GS7A"),n("5Bek")),r=n("KCVW"),o=n("zMNK"),a=n("XNiG"),s=n("quSY"),u=n("EY2u"),c=n("VRyK"),d=n("/uUt"),h=n("JX91"),p=n("pLZG"),f=n("IzEk"),b=n("5GAg"),m=n("dvZr");const g=new l.w("MAT_ACCORDION");let _=0;const y=new l.w("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");class A extends i.b{constructor(t,e,n,i,r,o,s){super(t,e,n),this._viewContainerRef=i,this._animationMode=o,this._hideToggle=!1,this.afterExpand=new l.r,this.afterCollapse=new l.r,this._inputChanges=new a.a,this._headerId="mat-expansion-panel-header-"+_++,this._bodyAnimationDone=new a.a,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe(Object(d.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),s&&(this.hideToggle=s.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())}_getExpandedState(){return this.expanded?"expanded":"collapsed"}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(h.a)(null),Object(p.a)(()=>this.expanded&&!this._portal),Object(f.a)(1)).subscribe(()=>{this._portal=new o.h(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}class v{constructor(t,e,n,l,i){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=l,this._parentChangeSubscription=s.a.EMPTY,this._animationsDisabled=!0;const r=t.accordion?t.accordion._stateChanges.pipe(Object(p.a)(t=>!(!t.hideToggle&&!t.togglePosition))):u.a;this._parentChangeSubscription=Object(c.a)(t.opened,t.closed,r,t._inputChanges.pipe(Object(p.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(p.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case m.o:case m.g:Object(m.t)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}class C{}class w extends i.a{constructor(){super(...arguments),this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}ngAfterContentInit(){this._keyManager=new b.g(this._headers).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,n=this._keyManager;e===m.i?Object(m.t)(t)||(n.setFirstItemActive(),t.preventDefault()):e===m.f?Object(m.t)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}class P{}},c9tr:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},cEDd:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t,e,n,l){var i,r,o,a,s,u,c,d,h;if(void 0===l&&(l=n),"string"==typeof l?l=parseInt(l,10):"number"!=typeof l&&(l=2),h=Math.pow(10,l),t="string"==typeof t?parseFloat(t):t,e="string"==typeof e?parseFloat(e):e,t<-90||t>90)throw"Latitude out of range: "+t;if(e<-180||e>180)throw"Longitude out of range: "+e;return c=t>=0?"N":"S",d=e>=0?"E":"W",t=Math.abs(t),e=Math.abs(e),t-=i=Math.floor(t),t-=(r=Math.floor(60*t))/60,o=Math.round(3600*t*h)/h,e-=a=Math.floor(e),e-=(s=Math.floor(60*e))/60,u=Math.round(3600*e*h)/h,"object"===n?{latitude:{degrees:i,minutes:r,seconds:o,direction:c},longitude:{degrees:a,minutes:s,seconds:u,direction:d}}:{latitude:i+"\xb0"+r+"'"+o+'"'+c,longitude:a+"\xb0"+s+"'"+u+'"'+d}}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},cRix:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cUpR:function(t,e,n){"use strict";n.d(e,"p",(function(){return ct})),n.d(e,"q",(function(){return v})),n.d(e,"a",(function(){return dt})),n.d(e,"h",(function(){return ut})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return w})),n.d(e,"e",(function(){return W})),n.d(e,"f",(function(){return $})),n.d(e,"g",(function(){return X})),n.d(e,"b",(function(){return tt})),n.d(e,"r",(function(){return o})),n.d(e,"j",(function(){return T})),n.d(e,"i",(function(){return V})),n.d(e,"m",(function(){return K})),n.d(e,"n",(function(){return Z})),n.d(e,"l",(function(){return S})),n.d(e,"o",(function(){return x})),n.d(e,"k",(function(){return et}));var l=n("SVse"),i=n("8Y7J");let r=null;function o(){return r}const a={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},s={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},u={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c=(()=>{if(i.Gb.Node)return i.Gb.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class d extends class extends class{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(e).forEach(n=>{null!=this.getStyle(t,n)&&(this._transitionEnd=e[n])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(t){return t.getDistributedNodes()}resolveAndSetHref(t,e,n){t.href=null==n?e:e+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new d,r||(r=t)}hasProperty(t,e){return e in t}setProperty(t,e,n){t[e]=n}getProperty(t,e){return t[e]}invoke(t,e,n){t[e](...n)}logError(t){window.console&&(console.error?console.error(t):console.log(t))}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return a}contains(t,e){return c.call(t,e)}querySelector(t,e){return t.querySelector(e)}querySelectorAll(t,e){return t.querySelectorAll(e)}on(t,e,n){t.addEventListener(e,n,!1)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}createMouseEvent(t){const e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e}createEvent(t){const e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e}preventDefault(t){t.preventDefault(),t.returnValue=!1}isPrevented(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue}getInnerHTML(t){return t.innerHTML}getTemplateContent(t){return"content"in t&&this.isTemplateElement(t)?t.content:null}getOuterHTML(t){return t.outerHTML}nodeName(t){return t.nodeName}nodeValue(t){return t.nodeValue}type(t){return t.type}content(t){return this.hasProperty(t,"content")?t.content:t}firstChild(t){return t.firstChild}nextSibling(t){return t.nextSibling}parentElement(t){return t.parentNode}childNodes(t){return t.childNodes}childNodesAsList(t){const e=t.childNodes,n=new Array(e.length);for(let l=0;l<e.length;l++)n[l]=e[l];return n}clearNodes(t){for(;t.firstChild;)t.removeChild(t.firstChild)}appendChild(t,e){t.appendChild(e)}removeChild(t,e){t.removeChild(e)}replaceChild(t,e,n){t.replaceChild(e,n)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}insertBefore(t,e,n){t.insertBefore(n,e)}insertAllBefore(t,e,n){n.forEach(n=>t.insertBefore(n,e))}insertAfter(t,e,n){t.insertBefore(n,e.nextSibling)}setInnerHTML(t,e){t.innerHTML=e}getText(t){return t.textContent}setText(t,e){t.textContent=e}getValue(t){return t.value}setValue(t,e){t.value=e}getChecked(t){return t.checked}setChecked(t,e){t.checked=e}createComment(t){return this.getDefaultDocument().createComment(t)}createTemplate(t){const e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createElementNS(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)}createTextNode(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)}createScriptTag(t,e,n){const l=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return l.setAttribute(t,e),l}createStyleElement(t,e){const n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n}createShadowRoot(t){return t.createShadowRoot()}getShadowRoot(t){return t.shadowRoot}getHost(t){return t.host}clone(t){return t.cloneNode(!0)}getElementsByClassName(t,e){return t.getElementsByClassName(e)}getElementsByTagName(t,e){return t.getElementsByTagName(e)}classList(t){return Array.prototype.slice.call(t.classList,0)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}hasClass(t,e){return t.classList.contains(e)}setStyle(t,e,n){t.style[e]=n}removeStyle(t,e){t.style[e]=""}getStyle(t,e){return t.style[e]}hasStyle(t,e,n){const l=this.getStyle(t,e)||"";return n?l==n:l.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let l=0;l<n.length;l++){const t=n.item(l);e.set(t.name,t.value)}return e}hasAttribute(t,e){return t.hasAttribute(e)}hasAttributeNS(t,e,n){return t.hasAttributeNS(e,n)}getAttribute(t,e){return t.getAttribute(e)}getAttributeNS(t,e,n){return t.getAttributeNS(e,n)}setAttribute(t,e,n){t.setAttribute(e,n)}setAttributeNS(t,e,n,l){t.setAttributeNS(e,n,l)}removeAttribute(t,e){t.removeAttribute(e)}removeAttributeNS(t,e,n){t.removeAttributeNS(e,n)}templateAwareRoot(t){return this.isTemplateElement(t)?this.content(t):t}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(t){return t.title}setTitle(t,e){t.title=e||""}elementMatches(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))}isTemplateElement(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName}isTextNode(t){return t.nodeType===Node.TEXT_NODE}isCommentNode(t){return t.nodeType===Node.COMMENT_NODE}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}hasShadowRoot(t){return null!=t.shadowRoot&&t instanceof HTMLElement}isShadowRoot(t){return t instanceof DocumentFragment}importIntoDoc(t){return document.importNode(this.templateAwareRoot(t),!0)}adoptNode(t){return document.adoptNode(t)}getHref(t){return t.getAttribute("href")}getEventKey(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&u.hasOwnProperty(e)&&(e=u[e]))}return s[e]||e}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=p||(p=document.querySelector("base"),p)?p.getAttribute("href"):null;return null==e?null:(n=e,h||(h=document.createElement("a")),h.setAttribute("href",n),"/"===h.pathname.charAt(0)?h.pathname:"/"+h.pathname);var n}resetBaseElement(){p=null}getUserAgent(){return window.navigator.userAgent}setData(t,e,n){this.setAttribute(t,"data-"+e,n)}getData(t,e){return this.getAttribute(t,"data-"+e)}getComputedStyle(t){return getComputedStyle(t)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(l.G)(document.cookie,t)}setCookie(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)}}let h,p=null;function f(){return!!window.history.pushState}const b=new i.w("TRANSITION_ID"),m=[{provide:i.d,useFactory:function(t,e,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=o();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(e=>n.getAttribute(e,"ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[b,l.d,i.x],multi:!0}];class g{static init(){Object(i.jb)(new g)}addToWindow(t){i.Gb.getAngularTestability=(e,n=!0)=>{const l=t.findTestabilityInTree(e,n);if(null==l)throw new Error("Could not find testability for element.");return l},i.Gb.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.Gb.getAllAngularRootElements=()=>t.getAllRootElements(),i.Gb.frameworkStabilizers||(i.Gb.frameworkStabilizers=[]),i.Gb.frameworkStabilizers.push(t=>{const e=i.Gb.getAllAngularTestabilities();let n=e.length,l=!1;const r=function(e){l=l||e,n--,0==n&&t(l)};e.forEach((function(t){t.whenStable(r)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const l=t.getTestability(e);return null!=l?l:n?o().isShadowRoot(e)?this.findTestabilityInTree(t,o().getHost(e),!0):this.findTestabilityInTree(t,o().parentElement(e),!0):null}}function _(t,e){"undefined"!=typeof COMPILED&&COMPILED||((i.Gb.ng=i.Gb.ng||{})[t]=e)}const y=(()=>({ApplicationRef:i.g,NgZone:i.G}))();function A(t){return Object(i.fb)(t)}function v(t){return _("probe",A),_("coreTokens",Object.assign({},y,(t||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>A}const C=new i.w("EventManagerPlugins");class w{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let l=0;l<n.length;l++){const e=n[l];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}class P{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const l=o().getGlobalEventTarget(this._doc,t);if(!l)throw new Error(`Unsupported event target ${l} for event ${e}`);return this.addEventListener(l,e,n)}}class x{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}class S extends x{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>o().remove(t))}}const k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},M=/%COMP%/g;function O(t,e,n){for(let l=0;l<e.length;l++){let i=e[l];Array.isArray(i)?O(t,i,n):(i=i.replace(M,t),n.push(i))}return n}function D(t){return e=>{!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}class T{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.Z.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new j(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case i.Z.Native:case i.Z.ShadowDom:return new R(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=O(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(k[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,l){if(l){e=l+":"+e;const i=k[l];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const l=k[n];l?t.removeAttributeNS(l,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,l){l&i.O.DashCase?t.style.setProperty(e,n,l&i.O.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.O.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){L(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return L(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,D(n)):this.eventManager.addEventListener(t,e,D(n))}}const I=(()=>"@".charCodeAt(0))();function L(t,e){if(t.charCodeAt(0)===I)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class j extends E{constructor(t,e,n,l){super(t),this.component=n;const i=O(l+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(M,l+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(M,t)}(l+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class R extends E{constructor(t,e,n,l){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=l,this.shadowRoot=l.encapsulation===i.Z.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const r=O(l.id,l.styles,[]);for(let i=0;i<r.length;i++){const t=document.createElement("style");t.textContent=r[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}const F=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),N=F("addEventListener"),Y=F("removeEventListener"),U={},B="__zone_symbol__propagationStopped",z=(()=>{const t="undefined"!=typeof Zone&&Zone[F("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),G=function(t){return!!z&&z.hasOwnProperty(t)},H=function(t){const e=U[t.type];if(!e)return;const n=this[e];if(!n)return;const l=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,l):t.handler.apply(this,l)}{const e=n.slice();for(let n=0;n<e.length&&!0!==t[B];n++){const t=e[n];t.zone!==Zone.current?t.zone.run(t.handler,this,l):t.handler.apply(this,l)}}};class V extends P{constructor(t,e,n){super(t),this.ngZone=e,n&&Object(l.z)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[B]=!0),t&&t.apply(this,arguments)}}supports(t){return!0}addEventListener(t,e,n){let l=n;if(!t[N]||i.G.isInAngularZone()&&!G(e))t.addEventListener(e,l,!1);else{let n=U[e];n||(n=U[e]=F("ANGULAR"+e+"FALSE"));let i=t[n];const r=i&&i.length>0;i||(i=t[n]=[]);const o=G(e)?Zone.root:Zone.current;if(0===i.length)i.push({zone:o,handler:l});else{let t=!1;for(let e=0;e<i.length;e++)if(i[e].handler===l){t=!0;break}t||i.push({zone:o,handler:l})}r||t[N](e,H,!1)}return()=>this.removeEventListener(t,e,l)}removeEventListener(t,e,n){let l=t[Y];if(!l)return t.removeEventListener.apply(t,[e,n,!1]);let i=U[e],r=i&&t[i];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);let o=!1;for(let a=0;a<r.length;a++)if(r[a].handler===n){o=!0,r.splice(a,1);break}o?0===r.length&&l.apply(t,[e,H,!1]):t.removeEventListener.apply(t,[e,n,!1])}}const q={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},W=new i.w("HammerGestureConfig"),$=new i.w("HammerLoader");class X{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}class K extends P{constructor(t,e,n,l){super(t),this._config=e,this.console=n,this.loader=l}supports(t){return!(!q.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(t,e,n){const l=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let l=!1,i=()=>{l=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=()=>{});l||(i=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom Hammer.JS loader failed.`),i=()=>{}}),()=>{i()}}return l.runOutsideAngular(()=>{const i=this._config.buildHammer(t),r=function(t){l.runGuarded((function(){n(t)}))};return i.on(e,r),()=>{i.off(e,r),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}const J=["alt","control","meta","shift"],Q={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class Z extends P{constructor(t){super(t)}supports(t){return null!=Z.parseEventName(t)}addEventListener(t,e,n){const l=Z.parseEventName(e),i=Z.eventCallback(l.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>o().onAndCancel(t,l.domEventName,i))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const l=Z._normalizeKey(e.pop());let i="";if(J.forEach(t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=l,0!=e.length||0===l.length)return null;const r={};return r.domEventName=n,r.fullKey=i,r}static getEventFullKey(t){let e="",n=o().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),J.forEach(l=>{l!=n&&(0,Q[l])(t)&&(e+=l+".")}),e+=n,e}static eventCallback(t,e,n){return l=>{Z.getEventFullKey(l)===t&&n.runGuarded(()=>e(l))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}class tt{}class et extends tt{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.Q.NONE:return e;case i.Q.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i.pb)(this._doc,String(e)));case i.Q.STYLE:return e instanceof it?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i.qb)(e));case i.Q.SCRIPT:if(e instanceof rt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.Q.URL:return e instanceof at||e instanceof ot?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i.rb)(String(e)));case i.Q.RESOURCE_URL:if(e instanceof at)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(t,e){if(t instanceof nt)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} (see http://g.co/ng/security#xss)`)}bypassSecurityTrustHtml(t){return new lt(t)}bypassSecurityTrustStyle(t){return new it(t)}bypassSecurityTrustScript(t){return new rt(t)}bypassSecurityTrustUrl(t){return new ot(t)}bypassSecurityTrustResourceUrl(t){return new at(t)}}class nt{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class lt extends nt{getTypeName(){return"HTML"}}class it extends nt{getTypeName(){return"Style"}}class rt extends nt{getTypeName(){return"Script"}}class ot extends nt{getTypeName(){return"URL"}}class at extends nt{getTypeName(){return"ResourceURL"}}const st=[{provide:i.J,useValue:l.E},{provide:i.K,useValue:function(){d.makeCurrent(),g.init()},multi:!0},{provide:l.w,useClass:class extends l.w{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[l.d]},{provide:l.d,useFactory:function(){return document},deps:[]}],ut=Object(i.bb)(i.ib,"browser",st);function ct(){return new i.q}class dt{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:dt,providers:[{provide:i.c,useValue:t.appId},{provide:b,useExisting:i.c},m]}}}"undefined"!=typeof window&&window},cV7i:function(t,e,n){"use strict";function l(t,e){return[[-1/0,-1/0,1/0,1/0]]}n.d(e,"a",(function(){return l}))},cp0P:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("HDdC"),i=n("DH7j"),r=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function s(...t){if(1===t.length){const e=t[0];if(Object(i.a)(e))return u(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&Object(i.a)(t[0])?t[0]:t,null).pipe(Object(r.a)(t=>e(...t)))}return u(t,null)}function u(t,e){return new l.a(n=>{const l=t.length;if(0===l)return void n.complete();const i=new Array(l);let r=0,o=0;for(let s=0;s<l;s++){const u=Object(a.a)(t[s]);let c=!1;n.add(u.subscribe({next:t=>{c||(c=!0,o++),i[s]=t},error:t=>n.error(t),complete:()=>{r++,r!==l&&c||(o===l&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}},cpc2:function(t,e,n){function l(t){if(t)return function(t){for(var e in l.prototype)t[e]=l.prototype[e];return t}(t)}t.exports=l,l.prototype.on=l.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},l.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},l.prototype.off=l.prototype.removeListener=l.prototype.removeAllListeners=l.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,l=this._callbacks["$"+t];if(!l)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<l.length;i++)if((n=l[i])===e||n.fn===e){l.splice(i,1);break}return 0===l.length&&delete this._callbacks["$"+t],this},l.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],l=1;l<arguments.length;l++)e[l-1]=arguments[l];if(n){l=0;for(var i=(n=n.slice(0)).length;l<i;++l)n[l].apply(this,e)}return this},l.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},l.prototype.hasListeners=function(t){return!!this.listeners(t).length}},czMo:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},d5dl:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";return{DEG_2_RAD:Math.PI/180,RAD_2_DEG:180/Math.PI,EQUATORIAL_RADIUS:6378137,ECC_SQUARED:.006694380023,ECC_PRIME_SQUARED:.006739496775579513,EASTING_OFFSET:5e5,NORTHING_OFFSET:1e7,GRIDSQUARE_SET_COL_SIZE:8,GRIDSQUARE_SET_ROW_SIZE:20,BLOCK_SIZE:1e5,E1:(1-Math.sqrt(.993305619977))/(1+Math.sqrt(.993305619977)),k0:.9996}})?l.apply(e,[]):l)||(t.exports=i)},dFDH:function(t,e,n){"use strict";n.d(e,"e",(function(){return m})),n.d(e,"b",(function(){return _})),n.d(e,"d",(function(){return b})),n.d(e,"a",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f}));var l=n("XNiG"),i=n("8Y7J"),r=(n("GS7A"),n("zMNK")),o=n("IzEk"),a=n("1G5W"),s=n("QQfA"),u=n("5GAg"),c=n("7QIX");class d{constructor(t,e){this._overlayRef=e,this._afterDismissed=new l.a,this._afterOpened=new l.a,this._onAction=new l.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),t)}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const h=new i.w("MatSnackBarData");class p{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}class f{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}class b extends r.a{constructor(t,e,n,i){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this.snackBarConfig=i,this._destroyed=!1,this._onExit=new l.a,this._onEnter=new l.a,this._animationState="void",this._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(o.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}class m{}const g=new i.w("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new p}});let _=(()=>{class t{constructor(t,e,n,l,i,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=l,this._parentSnackBar=i,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const l=Object.assign({},this._defaultConfig,n);return l.data={message:t,action:e},l.announcementMessage||(l.announcementMessage=t),this.openFromComponent(f,l)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=new r.f(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[p,e]])),l=new r.d(b,e.viewContainerRef,n),i=t.attach(l);return i.instance.snackBarConfig=e,i.instance}_attach(t,e){const n=Object.assign({},new p,this._defaultConfig,e),l=this._createOverlay(n),o=this._attachSnackBarContainer(l,n),s=new d(o,l);if(t instanceof i.U){const e=new r.h(t,null,{$implicit:n.data,snackBarRef:s});s.instance=o.attachTemplatePortal(e)}else{const e=this._createInjector(n,s),l=new r.d(t,void 0,e),i=o.attachComponentPortal(l);s.instance=i.instance}return this._breakpointObserver.observe(c.b.HandsetPortrait).pipe(Object(a.a)(l.detachments())).subscribe(t=>{const e=l.overlayElement.classList;t.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}_createOverlay(t){const e=new s.d;e.direction=t.direction;let n=this._overlay.position().global();const l="rtl"===t.direction,i="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!l||"end"===t.horizontalPosition&&l,r=!i&&"center"!==t.horizontalPosition;return i?n.left("0"):r?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return new r.f(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[d,e],[h,t.data]]))}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(s.c),Object(i.dc)(u.j),Object(i.dc)(i.t),Object(i.dc)(c.a),Object(i.dc)(t,12),Object(i.dc)(g))},token:t,providedIn:m}),t})()},dJrM:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return _}));var l=n("8Y7J"),i=(n("HsOI"),n("SVse")),r=n("POq0"),o=(n("Xd0L"),n("IP0z"),n("/HVE"),n("omvX"),l.Bb({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}}));function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),l.Db(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),l.Ob(null,0)],null,null)}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,null,null,null,null,null,null,null)),l.Ob(null,2),(t()(),l.Db(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function c(t){return l.Yb(0,[l.Ob(null,3),(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" *"]))],null,null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component.updateOutlineGap()&&l),l}),null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),l.Cb(2,1196032,null,0,r.a,[r.b,l.p,l.G],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(4,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(6,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),l.Ob(null,4)],null,null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),l.Ob(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(2,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),l.Ob(null,6),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),l.Ob(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function _(t){return l.Yb(2,[l.Ub(671088640,1,{underlineRef:0}),l.Ub(402653184,2,{_connectionContainerRef:0}),l.Ub(671088640,3,{_inputContainerRef:0}),l.Ub(671088640,4,{_label:0}),(t()(),l.Db(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),l.Db(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&l),l}),null,null)),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),l.Ob(null,1),(t()(),l.Db(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,p)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,f)),l.Cb(18,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),l.Cb(20,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(22,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(24,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}},dNwA:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dk3J:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("8rEH"),i=(n("svHU"),n("YGmB"),n("7/LY"),n("w+w1")),r=(n("G0WM"),n("vDCU"));class o{constructor(t,e,n,i,o,a,s){this.mapService=t,this.aircraftService=e,this.ghostService=n,this.selectAircraftService=i,this.trafficService=o,this.dialogRef=a,this.data=s,this.onSelect=r.a,this.displayedColumns=["operation","TTL","icao","latitude","longitude","altitude","track","speed","vsi","airport_to","icao_type_code"],this.dataSource=new l.l,this.modePage="ArrayGhost",this.currentGhost=void 0}ngOnInit(){this.getGhosts(),this.subscribeInterval=setInterval(()=>{this.getGhosts()},5e3)}ngOnDestroy(){clearInterval(this.subscribeInterval)}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}closeModal(){this.dialogRef.close()}getGhosts(){this.ghostService.ghostControllerGetGhosts().subscribe(t=>{this.dataSource.data=t.data})}deleteGhost(t){this.ghostService.ghostControllerDeleteGhost({icao:t}).subscribe(e=>{this.dataSource.data.filter(e=>e.icao!==t)})}goFormGhost(t){this.currentGhost=t,this.modePage="FormGhost"}goArrayGhost(){this.currentGhost=void 0,this.modePage="ArrayGhost",this.getGhosts()}selectGhost(t){this.aircraftService.aircraftControllerGetAircrafts({icaos:[t]}).subscribe(t=>{const e=this.trafficService.addAircraft(new i.a(t.data[0]));this.selectAircraftService.selectAircraft(e),this.mapService.recenterMap([e.longitude,e.latitude])},t=>console.log(t))}}},"dkv/":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var l in t)n.call(t,l)&&e.push(l);return e}},drqP:function(t,e,n){"use strict";var l,i=n("kvpX"),r=n("TN97"),o=n("t98H"),a=n("EwAT"),s=n("Hsuu"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function c(t){return"string"==typeof t?JSON.parse(t)||null:null!==t?t:null}var d=function(t){function e(){return t.call(this)||this}return u(e,t),e.prototype.getType=function(){return s.a.JSON},e.prototype.readFeature=function(t,e){return this.readFeatureFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readFeatures=function(t,e){return this.readFeaturesFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readFeatureFromObject=function(t,e){return Object(a.b)()},e.prototype.readFeaturesFromObject=function(t,e){return Object(a.b)()},e.prototype.readGeometry=function(t,e){return this.readGeometryFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readGeometryFromObject=function(t,e){return Object(a.b)()},e.prototype.readProjection=function(t){return this.readProjectionFromObject(c(t))},e.prototype.readProjectionFromObject=function(t){return Object(a.b)()},e.prototype.writeFeature=function(t,e){return JSON.stringify(this.writeFeatureObject(t,e))},e.prototype.writeFeatureObject=function(t,e){return Object(a.b)()},e.prototype.writeFeatures=function(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))},e.prototype.writeFeaturesObject=function(t,e){return Object(a.b)()},e.prototype.writeGeometry=function(t,e){return JSON.stringify(this.writeGeometryObject(t,e))},e.prototype.writeGeometryObject=function(t,e){return Object(a.b)()},e}(o.a),h=n("Ho3V"),p=n("AdTM"),f=n("CvXi"),b=n("jzee"),m=n("9iPr"),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function _(t){for(var e=[],n=0,l=t.length;n<l;++n)e.push(t[n].clone());return e}var y=function(t){function e(e){var n=t.call(this)||this;return n.geometries_=e||null,n.changeEventsKeys_=[],n.listenGeometriesChange_(),n}return g(e,t),e.prototype.unlistenGeometriesChange_=function(){this.changeEventsKeys_.forEach(h.c),this.changeEventsKeys_.length=0},e.prototype.listenGeometriesChange_=function(){if(this.geometries_)for(var t=0,e=this.geometries_.length;t<e;++t)this.changeEventsKeys_.push(Object(h.a)(this.geometries_[t],p.a.CHANGE,this.changed,this))},e.prototype.clone=function(){var t=new e(null);return t.setGeometries(this.geometries_),t},e.prototype.closestPointXY=function(t,e,n,l){if(l<Object(f.e)(this.getExtent(),t,e))return l;for(var i=this.geometries_,r=0,o=i.length;r<o;++r)l=i[r].closestPointXY(t,e,n,l);return l},e.prototype.containsXY=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)if(n[l].containsXY(t,e))return!0;return!1},e.prototype.computeExtent=function(t){Object(f.l)(t);for(var e=this.geometries_,n=0,l=e.length;n<l;++n)Object(f.q)(t,e[n].getExtent());return t},e.prototype.getGeometries=function(){return _(this.geometries_)},e.prototype.getGeometriesArray=function(){return this.geometries_},e.prototype.getGeometriesArrayRecursive=function(){for(var t=[],e=this.geometries_,n=0,l=e.length;n<l;++n)e[n].getType()===this.getType()?t=t.concat(e[n].getGeometriesArrayRecursive()):t.push(e[n]);return t},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;for(var n=[],l=this.geometries_,i=!1,r=0,o=l.length;r<o;++r){var a=l[r],s=a.getSimplifiedGeometry(t);n.push(s),s!==a&&(i=!0)}if(i){var u=new e(null);return u.setGeometriesArray(n),u}return this.simplifiedGeometryMaxMinSquaredTolerance=t,this},e.prototype.getType=function(){return m.a.GEOMETRY_COLLECTION},e.prototype.intersectsExtent=function(t){for(var e=this.geometries_,n=0,l=e.length;n<l;++n)if(e[n].intersectsExtent(t))return!0;return!1},e.prototype.isEmpty=function(){return 0===this.geometries_.length},e.prototype.rotate=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)n[l].rotate(t,e);this.changed()},e.prototype.scale=function(t,e,n){var l=n;l||(l=Object(f.x)(this.getExtent()));for(var i=this.geometries_,r=0,o=i.length;r<o;++r)i[r].scale(t,e,l);this.changed()},e.prototype.setGeometries=function(t){this.setGeometriesArray(_(t))},e.prototype.setGeometriesArray=function(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()},e.prototype.applyTransform=function(t){for(var e=this.geometries_,n=0,l=e.length;n<l;++n)e[n].applyTransform(t);this.changed()},e.prototype.translate=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)n[l].translate(t,e);this.changed()},e.prototype.disposeInternal=function(){this.unlistenGeometriesChange_(),t.prototype.disposeInternal.call(this)},e}(b.a),A=n("egkh"),v=n("R+T3"),C=n("mkQN"),w=n("iNpl"),P=n("9ANI"),x=n("W8M7"),S=n("OPOH"),k=n("JW8z"),M=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function O(t,e){if(!t)return null;var n;switch(t.type){case m.a.POINT:n=function(t){return new P.a(t.coordinates)}(t);break;case m.a.LINE_STRING:n=function(t){return new A.a(t.coordinates)}(t);break;case m.a.POLYGON:n=function(t){return new x.a(t.coordinates)}(t);break;case m.a.MULTI_POINT:n=function(t){return new C.a(t.coordinates)}(t);break;case m.a.MULTI_LINE_STRING:n=function(t){return new v.a(t.coordinates)}(t);break;case m.a.MULTI_POLYGON:n=function(t){return new w.a(t.coordinates)}(t);break;case m.a.GEOMETRY_COLLECTION:n=function(t,e){var n=t.geometries.map((function(t){return O(t,void 0)}));return new y(n)}(t);break;default:throw new Error("Unsupported GeoJSON type: "+t.type)}return Object(o.b)(n,!1,e)}function D(t,e){var n,l=(t=Object(o.b)(t,!0,e)).getType();switch(l){case m.a.POINT:n=function(t,e){return{type:"Point",coordinates:t.getCoordinates()}}(t);break;case m.a.LINE_STRING:n=function(t,e){return{type:"LineString",coordinates:t.getCoordinates()}}(t);break;case m.a.POLYGON:n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"Polygon",coordinates:t.getCoordinates(n)}}(t,e);break;case m.a.MULTI_POINT:n=function(t,e){return{type:"MultiPoint",coordinates:t.getCoordinates()}}(t);break;case m.a.MULTI_LINE_STRING:n=function(t,e){return{type:"MultiLineString",coordinates:t.getCoordinates()}}(t);break;case m.a.MULTI_POLYGON:n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"MultiPolygon",coordinates:t.getCoordinates(n)}}(t,e);break;case m.a.GEOMETRY_COLLECTION:n=function(t,e){return{type:"GeometryCollection",geometries:t.getGeometriesArray().map((function(t){var n=Object(S.a)({},e);return delete n.featureProjection,D(t,n)}))}}(t,e);break;case m.a.CIRCLE:n={type:"GeometryCollection",geometries:[]};break;default:throw new Error("Unsupported geometry type: "+l)}return n}var T=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this)||this).dataProjection=Object(k.g)(l.dataProjection?l.dataProjection:"EPSG:4326"),l.featureProjection&&(n.defaultFeatureProjection=Object(k.g)(l.featureProjection)),n.geometryName_=l.geometryName,n.extractGeometryName_=l.extractGeometryName,n}return M(e,t),e.prototype.readFeatureFromObject=function(t,e){var n,l=O((n="Feature"===t.type?t:{type:"Feature",geometry:t,properties:null}).geometry,e),i=new r.a;return this.geometryName_?i.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in n!==void 0&&i.setGeometryName(n.geometry_name),i.setGeometry(l),"id"in n&&i.setId(n.id),n.properties&&i.setProperties(n.properties,!0),i},e.prototype.readFeaturesFromObject=function(t,e){var n=null;if("FeatureCollection"===t.type){n=[];for(var l=t.features,i=0,r=l.length;i<r;++i)n.push(this.readFeatureFromObject(l[i],e))}else n=[this.readFeatureFromObject(t,e)];return n},e.prototype.readGeometryFromObject=function(t,e){return O(t,e)},e.prototype.readProjectionFromObject=function(t){var e,n=t.crs;return n?"name"==n.type?e=Object(k.g)(n.properties.name):"EPSG"===n.type?e=Object(k.g)("EPSG:"+n.properties.code):Object(i.a)(!1,36):e=this.dataProjection,e},e.prototype.writeFeatureObject=function(t,e){e=this.adaptOptions(e);var n={type:"Feature",geometry:null,properties:null},l=t.getId();void 0!==l&&(n.id=l);var i=t.getGeometry();i&&(n.geometry=D(i,e));var r=t.getProperties();return delete r[t.getGeometryName()],Object(S.d)(r)||(n.properties=r),n},e.prototype.writeFeaturesObject=function(t,e){e=this.adaptOptions(e);for(var n=[],l=0,i=t.length;l<i;++l)n.push(this.writeFeatureObject(t[l],e));return{type:"FeatureCollection",features:n}},e.prototype.writeGeometryObject=function(t,e){return D(t,this.adaptOptions(e))},e}(d),E=n("Pmt0"),I=n("WVt+"),L=n("LvDl"),j=n("ppab"),R=n("I5KE"),F=(n("svHU"),n("zixo")),N=n("hoJM"),Y=n("bHcU"),U=n("g6Z0");const B=new F.a({radius:3,fill:null,stroke:new N.a({color:"white",width:3})}),z={Point:new Y.b({image:B}),LineString:new Y.b({stroke:new N.a({color:"white",width:3})}),MultiLineString:new Y.b({stroke:new N.a({color:"white",width:3})}),MultiPoint:new Y.b({image:B}),MultiPolygon:new Y.b({stroke:new N.a({color:"white",width:3})}),Polygon:new Y.b({stroke:new N.a({color:"white",lineDash:[4],width:3}),fill:new U.a({color:"rgba(0, 0, 255, 0.1)"})}),GeometryCollection:new Y.b({stroke:new N.a({color:"white",width:3}),fill:new U.a({color:"white"}),image:new F.a({radius:3,fill:null,stroke:new N.a({color:"white"})})}),Circle:new Y.b({stroke:new N.a({color:"white",width:3}),fill:new U.a({color:"rgba(255,0,0,0.2)"})})};n("G0WM"),n.d(e,"a",(function(){return G}));class G extends j.a{constructor(t,e){super(),this.mapService=t,this.queryGridService=e,this.pivs=[]}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",this.getLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",this.getLayer())}displayPiv(t){this.queryGridService.queryGridControllerGetGrid({body:{sectorPolygon:t,layers:["piv"]}}).subscribe(e=>{const n=[];e.data.piv.forEach(t=>{t.features.forEach(e=>{n.push({type:"Feature",geometry:e.geometry,properties:Object.assign({},e.properties,{layerName:t.name,clickable:t.clickable,hoverable:t.hoverable,layerMapping:t.mapping})})})});const l={type:"FeatureCollection",features:n},i=new T({dataProjection:"EPSG:4326",featureProjection:"EPSG:3857",geometryName:"geometry"}).readFeatures(l);this.pivs=[],this.source.clear();const r=[];for(const o in i)if(i.hasOwnProperty(o)){const e=new R.a(this.getLayer(),i[o]);e.distance=this.getDistance(t[0][0],e.feature.getGeometry()),e.distanceRounded=Math.round(10*e.distance)/10,r.push(e),this.pivs.push(e)}this.pivs=L.sortBy(r,["distance"]),this.source.addFeatures(i)})}getDistance(t,e){let n=e.getFlatMidpoint?e.getFlatMidpoint():e.getCoordinates();e.getType(),"Point"===e.getType()?n=e.getCoordinates():"LineString"===e.getType()?n=e.getFlatMidpoint():"Polygon"===e.getType()&&(n=e.getInteriorPoint().getCoordinates());const l=I.point(t),i=I.point(Object(k.m)(n));return I.distance(l,i,{units:"kilometers"})}removePiv(){this.source.clear(),this.pivs=[]}getLayer(){return this.layer||(this.layer=new E.a({name:"PIV",source:super.getVectorSource(),style:this.getStyle,visible:this.visibility,zIndex:this.zIndex}),this.layer.set("isPivIntersects",!0)),this.layer}getStyle(t){return z[t.getGeometry().getType()]}}},dvZr:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"p",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"h",(function(){return o})),n.d(e,"o",(function(){return a})),n.d(e,"m",(function(){return s})),n.d(e,"l",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return h})),n.d(e,"q",(function(){return p})),n.d(e,"n",(function(){return f})),n.d(e,"e",(function(){return b})),n.d(e,"d",(function(){return m})),n.d(e,"s",(function(){return g})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return y})),n.d(e,"r",(function(){return A})),n.d(e,"c",(function(){return v})),n.d(e,"t",(function(){return C}));const l=8,i=9,r=13,o=27,a=32,s=33,u=34,c=35,d=36,h=37,p=38,f=39,b=40,m=46,g=48,_=57,y=65,A=90,v=188;function C(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},"e+ae":function(t,e,n){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function l(t){return t>1&&t<5}function i(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||i?r+(l(t)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return e?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return e||i?r+(l(t)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(l(t)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return e||i?"de\u0148":"d\u0148om";case"dd":return e||i?r+(l(t)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?r+(l(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?r+(l(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"e0/R":function(t,e,n){"use strict";e.a={PROPERTYCHANGE:"propertychange"}},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("lJxs"),i=n("Cfvw"),r=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>Object(i.a)(t(n,r)).pipe(Object(l.a)((t,l)=>e(n,t,r,l))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new s(t,this.project))}}class s extends r.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(l){return void this.destination.error(l)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.a(this),l=this.destination;l.add(n),this.innerSubscription=Object(r.c)(t,n),this.innerSubscription!==n&&l.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eNwd:function(t,e,n){"use strict";var l=n("3N8a");class i extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var r=n("IjjT");class o extends r.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,l=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++l<i&&(t=e.shift()));if(this.active=!1,n){for(;++l<i&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,"a",(function(){return a}));const a=new o(i)},eOtv:function(t,e,n){var l=n("lKxJ"),i=n("KFGy"),r=n("cpc2"),o=n("Uwu7"),a=n("2Dig"),s=n("QN7Q"),u=n("x7D4")("socket.io-client:manager"),c=n("7jRU"),d=n("C2QD"),h=Object.prototype.hasOwnProperty;function p(t,e){if(!(this instanceof p))return new p(t,e);t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||o;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=p,p.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)h.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},p.prototype.updateSocketIds=function(){for(var t in this.nsps)h.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},p.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},r(p.prototype),p.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},p.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},p.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(t,e){if(u("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;u("opening %s",this.uri),this.engine=l(this.uri,this.opts);var n=this.engine,i=this;this.readyState="opening",this.skipReconnect=!1;var r=a(n,"open",(function(){i.onopen(),t&&t()})),o=a(n,"error",(function(e){if(u("connect_error"),i.cleanup(),i.readyState="closed",i.emitAll("connect_error",e),t){var n=new Error("Connection error");n.data=e,t(n)}else i.maybeReconnectOnOpen()}));if(!1!==this._timeout){var s=this._timeout;u("connect attempt will timeout after %d",s),0===s&&r.destroy();var c=setTimeout((function(){u("connect attempt timed out after %d",s),r.destroy(),n.close(),n.emit("error","timeout"),i.emitAll("connect_timeout",s)}),s);this.subs.push({destroy:function(){clearTimeout(c)}})}return this.subs.push(r),this.subs.push(o),this},p.prototype.onopen=function(){u("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(a(t,"data",s(this,"ondata"))),this.subs.push(a(t,"ping",s(this,"onping"))),this.subs.push(a(t,"pong",s(this,"onpong"))),this.subs.push(a(t,"error",s(this,"onerror"))),this.subs.push(a(t,"close",s(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",s(this,"ondecoded")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},p.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},p.prototype.ondata=function(t){this.decoder.add(t)},p.prototype.ondecoded=function(t){this.emit("packet",t)},p.prototype.onerror=function(t){u("error",t),this.emitAll("error",t)},p.prototype.socket=function(t,e){var n=this.nsps[t];if(!n){n=new i(this,t,e),this.nsps[t]=n;var l=this;n.on("connecting",r),n.on("connect",(function(){n.id=l.generateId(t)})),this.autoConnect&&r()}function r(){~c(l.connecting,n)||l.connecting.push(n)}return n},p.prototype.destroy=function(t){var e=c(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},p.prototype.packet=function(t){u("writing packet %j",t);var e=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,(function(n){for(var l=0;l<n.length;l++)e.engine.write(n[l],t.options);e.encoding=!1,e.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},p.prototype.cleanup=function(){u("cleanup");for(var t=this.subs.length,e=0;e<t;e++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},p.prototype.close=p.prototype.disconnect=function(){u("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},p.prototype.onclose=function(t){u("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();u("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(u("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(u("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(u("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},eQqr:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var l=n("f8l7"),i=n("9iPr");function r(t,e,n){var i=n||6371008.8,r=Object(l.i)(t[1]),o=Object(l.i)(e[1]),a=(o-r)/2,s=Object(l.i)(e[0]-t[0])/2,u=Math.sin(a)*Math.sin(a)+Math.sin(s)*Math.sin(s)*Math.cos(r)*Math.cos(o);return 2*i*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))}function o(t,e){for(var n=0,l=0,i=t.length;l<i-1;++l)n+=r(t[l],t[l+1],e);return n}function a(t,e){var n=e||{},l=n.radius||6371008.8,r=n.projection||"EPSG:3857",s=t.getType();s!==i.a.GEOMETRY_COLLECTION&&(t=t.clone().transform(r,"EPSG:4326"));var u,c,d,h,p,f,b=0;switch(s){case i.a.POINT:case i.a.MULTI_POINT:break;case i.a.LINE_STRING:case i.a.LINEAR_RING:b=o(u=t.getCoordinates(),l);break;case i.a.MULTI_LINE_STRING:case i.a.POLYGON:for(d=0,h=(u=t.getCoordinates()).length;d<h;++d)b+=o(u[d],l);break;case i.a.MULTI_POLYGON:for(d=0,h=(u=t.getCoordinates()).length;d<h;++d)for(p=0,f=(c=u[d]).length;p<f;++p)b+=o(c[p],l);break;case i.a.GEOMETRY_COLLECTION:var m=t.getGeometries();for(d=0,h=m.length;d<h;++d)b+=a(m[d],e);break;default:throw new Error("Unsupported geometry type: "+s)}return b}function s(t,e,n,i){var r=i||6371008.8,o=Object(l.i)(t[1]),a=Object(l.i)(t[0]),s=e/r,u=Math.asin(Math.sin(o)*Math.cos(s)+Math.cos(o)*Math.sin(s)*Math.cos(n)),c=a+Math.atan2(Math.sin(n)*Math.sin(s)*Math.cos(o),Math.cos(s)-Math.sin(o)*Math.sin(u));return[Object(l.h)(c),Object(l.h)(u)]}},eRUA:function(t,e,n){"use strict";t.exports=i;var l=n("kVK+");function i(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;var r="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function o(t){return t.type===i.Bytes?t.readVarint()+t.pos:t.pos+1}function a(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function s(t,e,n){var l=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(l);for(var i=n.pos-1;i>=t;i--)n.buf[i+l]=n.buf[i]}function u(t,e){for(var n=0;n<t.length;n++)e.writeVarint(t[n])}function c(t,e){for(var n=0;n<t.length;n++)e.writeSVarint(t[n])}function d(t,e){for(var n=0;n<t.length;n++)e.writeFloat(t[n])}function h(t,e){for(var n=0;n<t.length;n++)e.writeDouble(t[n])}function p(t,e){for(var n=0;n<t.length;n++)e.writeBoolean(t[n])}function f(t,e){for(var n=0;n<t.length;n++)e.writeFixed32(t[n])}function b(t,e){for(var n=0;n<t.length;n++)e.writeSFixed32(t[n])}function m(t,e){for(var n=0;n<t.length;n++)e.writeFixed64(t[n])}function g(t,e){for(var n=0;n<t.length;n++)e.writeSFixed64(t[n])}function _(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function y(t,e,n){t[n]=e,t[n+1]=e>>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function A(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){for(n=n||this.length;this.pos<n;){var l=this.readVarint(),i=l>>3,r=this.pos;this.type=7&l,t(i,e,this),this.pos===r&&this.skip(l)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=_(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=A(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=_(this.buf,this.pos)+4294967296*_(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=_(this.buf,this.pos)+4294967296*A(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=l.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=l.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,l=this.buf;return e=127&(n=l[this.pos++]),n<128?e:(e|=(127&(n=l[this.pos++]))<<7,n<128?e:(e|=(127&(n=l[this.pos++]))<<14,n<128?e:(e|=(127&(n=l[this.pos++]))<<21,n<128?e:function(t,e,n){var l,i,r=n.buf;if(l=(112&(i=r[n.pos++]))>>4,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<3,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<10,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<17,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<24,i<128)return a(t,l,e);if(l|=(1&(i=r[n.pos++]))<<31,i<128)return a(t,l,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(n=l[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&r?function(t,e,n){return r.decode(t.subarray(e,n))}(this.buf,e,t):function(t,e,n){for(var l="",i=e;i<n;){var r,o,a,s=t[i],u=null,c=s>239?4:s>223?3:s>191?2:1;if(i+c>n)break;1===c?s<128&&(u=s):2===c?128==(192&(r=t[i+1]))&&(u=(31&s)<<6|63&r)<=127&&(u=null):3===c?(o=t[i+2],128==(192&(r=t[i+1]))&&128==(192&o)&&((u=(15&s)<<12|(63&r)<<6|63&o)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=t[i+2],a=t[i+3],128==(192&(r=t[i+1]))&&128==(192&o)&&128==(192&a)&&((u=(15&s)<<18|(63&r)<<12|(63&o)<<6|63&a)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,l+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),l+=String.fromCharCode(u),i+=c}return l}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==i.Bytes)return t.push(this.readVarint(e));var n=o(this);for(t=t||[];this.pos<n;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==i.Bytes)return t.push(this.readSVarint());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==i.Bytes)return t.push(this.readBoolean());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==i.Bytes)return t.push(this.readFloat());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==i.Bytes)return t.push(this.readDouble());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed32());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed32());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed64());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed64());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===i.Varint)for(;this.buf[this.pos++]>127;);else if(e===i.Bytes)this.pos=this.readVarint()+this.pos;else if(e===i.Fixed32)this.pos+=4;else{if(e!==i.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var n=new Uint8Array(e);n.set(this.buf),this.buf=n,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),y(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),y(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),y(this.buf,-1&t,this.pos),y(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),y(this.buf,-1&t,this.pos),y(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var n,l;if(t>=0?(n=t%4294967296|0,l=t/4294967296|0):(l=~(-t/4294967296),4294967295^(n=~(-t%4294967296))?n=n+1|0:(n=0,l=l+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7)}(n,0,e),function(t,e){var n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(l,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,n){for(var l,i,r=0;r<e.length;r++){if((l=e.charCodeAt(r))>55295&&l<57344){if(!i){l>56319||r+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=l;continue}if(l<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=l;continue}l=i-55296<<10|l-56320|65536,i=null}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);l<128?t[n++]=l:(l<2048?t[n++]=l>>6|192:(l<65536?t[n++]=l>>12|224:(t[n++]=l>>18|240,t[n++]=l>>12&63|128),t[n++]=l>>6&63|128),t[n++]=63&l|128)}return n}(this.buf,t,this.pos);var n=this.pos-e;n>=128&&s(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),l.write(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),l.write(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var n=0;n<e;n++)this.buf[this.pos++]=t[n]},writeRawMessage:function(t,e){this.pos++;var n=this.pos;t(e,this);var l=this.pos-n;l>=128&&s(n,l,this),this.pos=n-1,this.writeVarint(l),this.pos+=l},writeMessage:function(t,e,n){this.writeTag(t,i.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,u,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,c,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,p,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,d,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,h,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,f,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,b,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,m,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,g,e)},writeBytesField:function(t,e){this.writeTag(t,i.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,i.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,i.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,i.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}}},egkh:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("mrzG"),u=n("l2lA"),c=n("q7cr"),d=n("u2yf"),h=n("saKC"),p=n("xWBw"),f=n("WTjQ"),b=n("/U2p"),m=n("HEh+"),g=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),_=function(t){function e(e,n){var l=t.call(this)||this;return l.flatMidpoint_=null,l.flatMidpointRevision_=-1,l.maxDelta_=-1,l.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?l.setCoordinates(e,n):l.setFlatCoordinates(n,e),l}return g(e,t),e.prototype.appendCoordinate=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t):this.flatCoordinates=t.slice(),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.e)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.d)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,n,l))},e.prototype.forEachSegment=function(t){return Object(b.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinateAtM=function(t,e){if(this.layout!=o.a.XYM&&this.layout!=o.a.XYZM)return null;var n=void 0!==e&&e;return Object(h.b)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n)},e.prototype.getCoordinates=function(){return Object(d.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinateAt=function(t,e){return Object(h.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e)},e.prototype.getLength=function(){return Object(f.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getFlatMidpoint=function(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=Object(m.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,o.a.XY)},e.prototype.getType=function(){return a.a.LINE_STRING},e.prototype.intersectsExtent=function(t){return Object(p.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(s.a);e.a=_},ek9U:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("vDCU");n("978D");class i{constructor(t,e,n){this.dialogRef=t,this.data=e,this.timeService=n,this.onSelect=l.a}ngOnInit(){setTimeout(()=>{this.startReplay(this.data.date)})}startReplay(t){this.timeService.getDateReplay()?(this.timeService.clearTimer(),this.timeService.startReplay(t.toDate())):this.timeService.startReplay(t.toDate())}closeModal(){this.timeService.stopReplay(),this.dialogRef.close()}}},elxJ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8Y7J"),n("s7LF"),n("Xd0L");class l{}},f8l7:function(t,e,n){"use strict";function l(t,e,n){return Math.min(Math.max(t,e),n)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return d}));var i="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2};function r(t,e,n,l,i,r){var a=i-n,s=r-l;if(0!==a||0!==s){var u=((t-n)*a+(e-l)*s)/(a*a+s*s);u>1?(n=i,l=r):u>0&&(n+=a*u,l+=s*u)}return o(t,e,n,l)}function o(t,e,n,l){var i=n-t,r=l-e;return i*i+r*r}function a(t){for(var e=t.length,n=0;n<e;n++){for(var l=n,i=Math.abs(t[n][n]),r=n+1;r<e;r++){var o=Math.abs(t[r][n]);o>i&&(i=o,l=r)}if(0===i)return null;var a=t[l];t[l]=t[n],t[n]=a;for(var s=n+1;s<e;s++)for(var u=-t[s][n]/t[n][n],c=n;c<e+1;c++)n==c?t[s][c]=0:t[s][c]+=u*t[n][c]}for(var d=new Array(e),h=e-1;h>=0;h--){d[h]=t[h][e]/t[h][h];for(var p=h-1;p>=0;p--)t[p][e]-=t[p][h]*d[h]}return d}function s(t){return 180*t/Math.PI}function u(t){return t*Math.PI/180}function c(t,e){var n=t%e;return n*e<0?n+e:n}function d(t,e,n){return t+n*(e-t)}},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return P})),n.d(e,"c",(function(){return pt})),n.d(e,"g",(function(){return ft})),n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return Ut})),n.d(e,"d",(function(){return te})),n.d(e,"f",(function(){return ne})),n.d(e,"h",(function(){return le}));var l=n("GS7A");function i(){return"undefined"!=typeof process}function r(t){switch(t.length){case 0:return new l.d;case 1:return t[0];default:return new l.o(t)}}function o(t,e,n,i,r={},o={}){const a=[],s=[];let u=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==u,d=i&&c||{};Object.keys(t).forEach(n=>{let i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case l.p:s=r[n];break;case l.a:s=o[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}d[i]=s}),i||s.push(d),c=d,u=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return s}function a(t,e,n,l){switch(e){case"start":t.onStart(()=>l(n&&s(n,"start",t)));break;case"done":t.onDone(()=>l(n&&s(n,"done",t)));break;case"destroy":t.onDestroy(()=>l(n&&s(n,"destroy",t)))}}function s(t,e,n){const l=n.totalTime,i=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==l?t.totalTime:l,!!n.disabled),r=t._data;return null!=r&&(i._data=r),i}function u(t,e,n,l,i="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:l,phaseName:i,totalTime:r,disabled:!!o}}function c(t,e,n){let l;return t instanceof Map?(l=t.get(e),l||t.set(e,l=n)):(l=t[e],l||(l=t[e]=n)),l}function d(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let h=(t,e)=>!1,p=(t,e)=>!1,f=(t,e,n)=>[];const b=i();(b||"undefined"!=typeof Element)&&(h=(t,e)=>t.contains(e),p=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):p}})(),f=(t,e,n)=>{let l=[];if(n)l.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&l.push(n)}return l});let m=null,g=!1;function _(t){m||(m=("undefined"!=typeof document?document.body:null)||{},g=!!m.style&&"WebkitAppearance"in m.style);let e=!0;return m.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in m.style,!e&&g)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in m.style),e}const y=p,A=h,v=f;function C(t){const e={};return Object.keys(t).forEach(n=>{const l=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[l]=t[n]}),e}class w{validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,o=[],a){return new l.d(n,i)}}let P=(()=>{class t{}return t.NOOP=new w,t})();function x(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:S(parseFloat(e[1]),e[2])}function S(t,e){switch(e){case"s":return 1e3*t;default:return t}}function k(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let l,i=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};l=S(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=S(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else l=t;if(!n){let n=!1,r=e.length;l<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:l,delay:i,easing:r}}(t,e,n)}function M(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function O(t,e,n={}){if(e)for(let l in t)n[l]=t[l];else M(t,n);return n}function D(t,e,n){return n?e+":"+n+";":""}function T(t){let e="";for(let n=0;n<t.style.length;n++){const l=t.style.item(n);e+=D(0,l,t.style.getPropertyValue(l))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=D(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function E(t,e,n){t.style&&(Object.keys(e).forEach(l=>{const i=U(l);n&&!n.hasOwnProperty(l)&&(n[l]=t.style[i]),t.style[i]=e[l]}),i()&&T(t))}function I(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=U(e);t.style[n]=""}),i()&&T(t))}function L(t){return Array.isArray(t)?1==t.length?t[0]:Object(l.j)(t):t}const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function R(t){let e=[];if("string"==typeof t){const n=t.toString();let l;for(;l=j.exec(n);)e.push(l[1]);j.lastIndex=0}return e}function F(t,e,n){const l=t.toString(),i=l.replace(j,(t,l)=>{let i=e[l];return e.hasOwnProperty(l)||(n.push("Please provide a value for the animation param "+l),i=""),i.toString()});return i==l?t:i}function N(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Y=/-+([a-z0-9])/g;function U(t){return t.replace(Y,(...t)=>t[1].toUpperCase())}function B(t,e){return 0===t||0===e}function z(t,e,n){const l=Object.keys(n);if(l.length&&e.length){let r=e[0],o=[];if(l.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach((function(e){n[e]=H(t,e)}))}}return e}function G(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function H(t,e){return window.getComputedStyle(t)[e]}function V(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const l=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof l)return void e.push(l);t=l}const l=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=l[1],r=l[2],o=l[3];e.push($(i,o)),"<"!=r[0]||"*"==i&&"*"==o||e.push($(o,i))}(t,n,e)):n.push(t),n}const q=new Set(["true","1"]),W=new Set(["false","0"]);function $(t,e){const n=q.has(t)||W.has(t),l=q.has(e)||W.has(e);return(i,r)=>{let o="*"==t||t==i,a="*"==e||e==r;return!o&&n&&"boolean"==typeof i&&(o=i?q.has(t):W.has(t)),!a&&l&&"boolean"==typeof r&&(a=r?q.has(e):W.has(e)),o&&a}}const X=new RegExp("s*:selfs*,?","g");function K(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new Q(e);return this._resetContextStyleTimingState(n),G(this,L(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,l=e.depCount=0;const i=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,l=n.name;l.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=l}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,l+=i.depCount,r.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:r,queryCount:n,depCount:l,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),l=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,r=l||{};if(n.styles.forEach(t=>{if(Z(t)){const e=t;Object.keys(e).forEach(t=>{R(e[t]).forEach(t=>{r.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=N(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:l?{params:l}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=G(this,L(t.animation),e);return{type:1,matchers:V(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:tt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>G(this,t,e)),options:tt(t.options)}}visitGroup(t,e){const n=e.currentTime;let l=0;const i=t.steps.map(t=>{e.currentTime=n;const i=G(this,t,e);return l=Math.max(l,e.currentTime),i});return e.currentTime=l,{type:3,steps:i,options:tt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return et(k(t,e).duration,0,"");const l=t;if(l.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=et(0,0,"");return t.dynamic=!0,t.strValue=l,t}return n=n||k(l,e),et(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(l.l)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(l.l)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==l.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(Z(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let l=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(i!=l&&i>=o.startTime&&l<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${l}ms"`),a=!1),i=o.startTime),a&&(r[n]={startTime:i,endTime:l}),e.options&&function(t,e,n){const l=e.params||{},i=R(t);i.length&&i.forEach(t=>{l.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let l=0;const i=[];let r=!1,o=!1,a=0;const s=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let s=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Z(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Z(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),u=0;return null!=s&&(l++,u=n.offset=s),o=o||u<0||u>1,r=r||u<a,a=u,i.push(u),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const u=t.steps.length;let c=0;l>0&&l<u?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==l&&(c=1/(u-1));const d=u-1,h=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return s.forEach((t,l)=>{const r=c>0?l==d?1:c*l:i[l],o=r*f;e.currentTime=h+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:G(this,L(t.animation),e),options:tt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:tt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:tt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,l=t.options||{};e.queryCount++,e.currentQuery=t;const[i,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,c(e.collectedStyles,e.currentQuerySelector,{});const o=G(this,L(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:l.limit||0,optional:!!l.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:tt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:k(t.timings,e.errors,!0);return{type:12,animation:G(this,L(t.animation),e),timings:n,options:null}}}class Q{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Z(t){return!Array.isArray(t)&&"object"==typeof t}function tt(t){var e;return t?(t=M(t)).params&&(t.params=(e=t.params)?M(e):null):t={},t}function et(t,e,n){return{duration:t,delay:e,easing:n}}function nt(t,e,n,l,i,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:l,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}class lt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const it=new RegExp(":enter","g"),rt=new RegExp(":leave","g");function ot(t,e,n,l,i,r={},o={},a,s,u=[]){return(new at).buildKeyframes(t,e,n,l,i,r,o,a,s,u)}class at{buildKeyframes(t,e,n,l,i,r,o,a,s,u=[]){s=s||new lt;const c=new ut(t,e,s,l,i,u,[]);c.options=a,c.currentTimeline.setStyles([r],null,c.errors,a),G(this,n,c);const d=c.timelines.filter(t=>t.containsAnimation());if(d.length&&Object.keys(o).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,c.errors,a)}return d.length?d.map(t=>t.buildKeyframes()):[nt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const l=e.createSubContext(t.options),i=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,l,l.options);i!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let l=e.currentTimeline.currentTime;const i=null!=n.duration?x(n.duration):null,r=null!=n.delay?x(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,r);l=Math.max(l,n.duration+n.delay)}),l}visitReference(t,e){e.updateOptions(t.options,!0),G(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let l=e;const i=t.options;if(i&&(i.params||i.delay)&&(l=e.createSubContext(i),l.transformIntoNewTimeline(),null!=i.delay)){6==l.previousNode.type&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=st);const t=x(i.delay);l.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>G(this,t,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>n&&l.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let l=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?x(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),G(this,r,o),l=Math.max(l,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(l),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return k(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),l=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),l.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),l.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,l=e.currentAnimateTimings;!l&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=l&&l.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,l=e.currentTimeline.duration,i=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*i),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(l+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,l=t.options||{},i=l.delay?x(l.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=st);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!l.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,l)=>{e.currentQueryIndex=l;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),G(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,l=e.currentTimeline,i=t.timings,r=Math.abs(i.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const s=e.currentTimeline;a&&s.delayNextStep(a);const u=s.currentTime;G(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=l.currentTime-u+(l.startTime-n.currentTimeline.startTime)}}const st={};class ut{constructor(t,e,n,l,i,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=l,this._leaveClassName=i,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=st,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ct(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let l=this.options;null!=n.duration&&(l.duration=x(n.duration)),null!=n.delay&&(l.delay=x(n.delay));const i=n.params;if(i){let t=l.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=F(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const l=e||this.element,i=new ut(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=st,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const l={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new dt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,l,t.stretchStartingKeyframe);return this.timelines.push(i),l}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,l,i,r){let o=[];if(l&&o.push(this.element),t.length>0){t=(t=t.replace(it,"."+this._enterClassName)).replace(rt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return i||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class ct{constructor(t,e,n,l){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ct(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||l.a,this._currentKeyframe[t]=l.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=l.a})):O(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=F(o[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:l.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],l=t._styleSummary[e];(!n||l.time>n.time)&&this._updateStyle(e,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const a=O(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==l.p?t.add(n):i==l.a&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const r=t.size?N(t.values()):[],o=e.size?N(e.values()):[];if(n){const t=i[0],e=M(t);t.offset=0,e.offset=1,i=[t,e]}return nt(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class dt extends ct{constructor(t,e,n,l,i,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=l,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:l}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],r=n+e,o=e/r,a=O(t[0],!1);a.offset=0,i.push(a);const s=O(t[0],!1);s.offset=ht(o),i.push(s);const u=t.length-1;for(let l=1;l<=u;l++){let o=O(t[l],!1);o.offset=ht((e+o.offset*n)/r),i.push(o)}n=r,e=0,l="",t=i}return nt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,l,!0)}}function ht(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class pt{}class ft extends pt{normalizePropertyName(t,e){return U(t)}normalizeStyleValue(t,e,n,l){let i="";const r=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&l.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+i}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function mt(t,e,n,l,i,r,o,a,s,u,c,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:r,toState:l,toStyles:o,timelines:a,queriedElements:s,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}const gt={};class _t{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,l){return function(t,e,n,l,i){return t.some(t=>t(e,n,l,i))}(this.ast.matchers,t,e,n,l)}buildStyles(t,e,n){const l=this._stateStyles["*"],i=this._stateStyles[t],r=l?l.buildStyles(e,n):{};return i?i.buildStyles(e,n):r}build(t,e,n,l,i,r,o,a,s,u){const d=[],h=this.ast.options&&this.ast.options.params||gt,p=this.buildStyles(n,o&&o.params||gt,d),f=a&&a.params||gt,b=this.buildStyles(l,f,d),m=new Set,g=new Map,_=new Map,y="void"===l,A={params:Object.assign({},h,f)},v=u?[]:ot(t,e,this.ast.animation,i,r,p,b,A,s,d);let C=0;if(v.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),d.length)return mt(e,this._triggerName,n,l,y,p,b,[],[],g,_,C,d);v.forEach(t=>{const n=t.element,l=c(g,n,{});t.preStyleProps.forEach(t=>l[t]=!0);const i=c(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&m.add(n)});const w=N(m.values());return mt(e,this._triggerName,n,l,y,p,b,v,w,g,_,C)}}class yt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},l=M(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(l[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let r=i[t];r.length>1&&(r=F(r,l,e)),n[t]=r})}}),n}}class At{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new yt(t.style,t.options&&t.options.params||{})}),vt(this.states,"true","1"),vt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new _t(t,e,this.states))}),this.fallbackTransition=new _t(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,l){return this.transitionFactories.find(i=>i.match(t,e,n,l))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function vt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ct=new lt;class wt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],l=K(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=l}_buildPlayer(t,e,n){const l=t.element,i=o(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(l,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],o=this._animations[t];let a;const s=new Map;if(o?(a=ot(this._driver,e,o,"ng-enter","ng-leave",{},{},n,Ct,i),a.forEach(t=>{const e=c(s,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),a=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,l.a)})});const u=r(a.map(t=>{const e=s.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,l){const i=u(e,"","","");return a(this._getPlayer(t),n,i,l),()=>{}}command(t,e,n,l){if("register"==n)return void this.register(t,l[0]);if("create"==n)return void this.create(t,e,l[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(t)}}}const Pt=[],xt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},St={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class kt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(l=n?t.value:t)?l:null,n){const e=M(t);delete e.value,this.options=e}else this.options={};var l;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Mt=new kt("void");class Ot{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Rt(e,this._hostClassName)}listen(t,e,n,l){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const r=c(this._elementListeners,t,[]),o={name:e,phase:n,callback:l};r.push(o);const a=c(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Rt(t,"ng-trigger"),Rt(t,"ng-trigger-"+e),a[e]=Mt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,l=!0){const i=this._getTrigger(e),r=new Tt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Rt(t,"ng-trigger"),Rt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const s=new kt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&s.absorbOptions(a.options),o[e]=s,a||(a=Mt),"void"!==s.value&&a.value===s.value){if(!function(t,e){const n=Object.keys(t),l=Object.keys(e);if(n.length!=l.length)return!1;for(let i=0;i<n.length;i++){const l=n[i];if(!e.hasOwnProperty(l)||t[l]!==e[l])return!1}return!0}(a.params,s.params)){const e=[],n=i.matchStyles(a.value,a.params,e),l=i.matchStyles(s.value,s.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{I(t,n),E(t,l)})}return}const u=c(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let d=i.matchTransition(a.value,s.value,t,s.params),h=!1;if(!d){if(!l)return;d=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:a,toState:s,player:r,isFallbackTransition:h}),h||(Rt(t,"ng-animate-queued"),r.onStart(()=>{Ft(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),u.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e,n=!1){this._engine.driver.query(t,".ng-trigger",!0).forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)})}triggerLeaveAnimation(t,e,n,l){const i=this._engine.statesByElement.get(t);if(i){const o=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",l);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&r(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const l=e.name;if(n.has(l))return;n.add(l);const i=this._triggers[l].fallbackTransition,r=this._engine.statesByElement.get(t)[l]||Mt,o=new kt("void"),a=new Tt(this.id,l,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:l,transition:i,fromState:r,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let l=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)l=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){l=!0;break}}}this.prepareLeaveAnimationListeners(t),l?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){Rt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const l=n.player;if(l.destroyed)return;const i=n.element,r=this._elementListeners.get(i);r&&r.forEach(e=>{if(e.name==n.triggerName){const l=u(i,n.triggerName,n.fromState.value,n.toState.value);l._data=t,a(n.player,e.phase,l,e.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,l=e.transition.ast.depCount;return 0==n||0==l?n-l:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Dt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ot(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let l=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),l=!0;break}l||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let l=this._namespaceLookup[t];l&&l.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let l=0;l<t.length;l++){const i=n[t[l]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,l){if(Et(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,l),!0}return!1}insertNode(t,e,n,l){if(!Et(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const l=this._fetchNamespace(t);l&&l.insertNode(e,n)}l&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Rt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ft(t,"ng-animate-disabled"))}removeNode(t,e,n,l){if(Et(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,l):this.markElementAsRemoved(t,e,!1,l),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,l)}}else this._onRemovalComplete(e,l)}markElementAsRemoved(t,e,n,l){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:l,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,l,i){return Et(e)?this._fetchNamespace(t).listen(e,n,l,i):()=>{}}_buildInstruction(t,e,n,l,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,l,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return r(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=xt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Rt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?r(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new lt,i=[],o=new Map,a=[],s=new Map,u=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const p=this.bodyNode,f=Array.from(this.statesByElement.keys()),b=jt(f,this.collectedEnterElements),m=new Map;let g=0;b.forEach((t,e)=>{const n="ng-enter"+g++;m.set(e,n),t.forEach(t=>Rt(t,n))});const _=[],y=new Set,A=new Set;for(let l=0;l<this.collectedLeaveElements.length;l++){const t=this.collectedLeaveElements[l],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),y.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>y.add(t)):A.add(t))}const v=new Map,C=jt(f,Array.from(y));C.forEach((t,e)=>{const n="ng-leave"+g++;v.set(e,n),t.forEach(t=>Rt(t,n))}),t.push(()=>{b.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Ft(t,n))}),C.forEach((t,e)=>{const n=v.get(e);t.forEach(t=>Ft(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const w=[],P=[];for(let l=this._namespaceList.length-1;l>=0;l--)this._namespaceList[l].drainQueuedTransitions(e).forEach(t=>{const e=t.player,l=t.element;if(w.push(e),this.collectedEnterElements.length){const t=l.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!p||!this.driver.containsElement(p,l),o=v.get(l),h=m.get(l),f=this._buildInstruction(t,n,h,o,r);if(f.errors&&f.errors.length)P.push(f);else{if(r)return e.onStart(()=>I(l,f.fromStyles)),e.onDestroy(()=>E(l,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>I(l,f.fromStyles)),e.onDestroy(()=>E(l,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(l,f.timelines),a.push({instruction:f,player:e,element:l}),f.queriedElements.forEach(t=>c(s,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=u.get(e);t||u.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let l=d.get(e);l||d.set(e,l=new Set),n.forEach(t=>l.add(t))})}});if(P.length){const t=[];P.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),w.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,S=new Map;a.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{c(x,e,[]).push(t),t.destroy()})});const k=_.filter(t=>Yt(t,u,d)),M=new Map;Lt(M,this.driver,A,d,l.a).forEach(t=>{Yt(t,u,d)&&k.push(t)});const O=new Map;b.forEach((t,e)=>{Lt(O,this.driver,new Set(t),u,l.p)}),k.forEach(t=>{const e=M.get(t),n=O.get(t);M.set(t,Object.assign({},e,n))});const D=[],T=[],L={};a.forEach(t=>{const{element:e,player:l,instruction:a}=t;if(n.has(e)){if(h.has(e))return l.onDestroy(()=>E(e,a.toStyles)),l.disabled=!0,l.overrideTotalTime(a.totalTime),void i.push(l);let t=L;if(S.size>1){let n=e;const l=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}l.push(n)}l.forEach(e=>S.set(e,t))}const n=this._buildAnimation(l.namespaceId,a,x,o,O,M);if(l.setRealPlayer(n),t===L)D.push(l);else{const e=this.playersByElement.get(t);e&&e.length&&(l.parentPlayer=r(e)),i.push(l)}}else I(e,a.fromStyles),l.onDestroy(()=>E(e,a.toStyles)),T.push(l),h.has(e)&&i.push(l)}),T.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=r(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let l=0;l<_.length;l++){const t=_[l],e=t.__ng_removed;if(Ft(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(s.size){let e=s.get(t);e&&e.length&&n.push(...e);let l=this.driver.query(t,".ng-animating",!0);for(let t=0;t<l.length;t++){let e=s.get(l[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Nt(this,t,i):this.processLeaveNode(t)}return _.length=0,D.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),D}elementContainsData(t,e){let n=!1;const l=e.__ng_removed;return l&&l.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,l,i){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||"void"==i;e.forEach(e=>{e.queued||(t||e.triggerName==l)&&r.push(e)})}}return(n||l)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||l&&l!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const l=e.element,i=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==l,s=c(n,t,[]);this._getPreviousPlayers(t,a,i,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),s.push(t)})}I(l,e.fromStyles)}_buildAnimation(t,e,n,i,a,s){const u=e.triggerName,d=e.element,h=[],p=new Set,f=new Set,b=e.timelines.map(e=>{const r=e.element;p.add(r);const c=r.__ng_removed;if(c&&c.removedBeforeQueried)return new l.d(e.duration,e.delay);const b=r!==d,m=function(t){const e=[];return function t(e,n){for(let i=0;i<e.length;i++){const r=e[i];r instanceof l.o?t(r.players,n):n.push(r)}}(t,e),e}((n.get(r)||Pt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===r),g=a.get(r),_=s.get(r),y=o(0,this._normalizer,0,e.keyframes,g,_),A=this._buildPlayer(e,y,m);if(e.subTimeline&&i&&f.add(r),b){const e=new Tt(t,u,r);e.setRealPlayer(A),h.push(e)}return A});h.forEach(t=>{c(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let l;if(t instanceof Map){if(l=t.get(e),l){if(l.length){const t=l.indexOf(n);l.splice(t,1)}0==l.length&&t.delete(e)}}else if(l=t[e],l){if(l.length){const t=l.indexOf(n);l.splice(t,1)}0==l.length&&delete t[e]}return l}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Rt(t,"ng-animating"));const m=r(b);return m.onDestroy(()=>{p.forEach(t=>Ft(t,"ng-animating")),E(d,e.toStyles)}),f.forEach(t=>{c(i,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new l.d(t.duration,t.delay)}}class Tt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new l.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>a(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){c(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Et(t){return t&&1===t.nodeType}function It(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Lt(t,e,n,l,i){const r=[];n.forEach(t=>r.push(It(t)));const o=[];l.forEach((n,l)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(l,t,i);n&&0!=n.length||(l.__ng_removed=St,o.push(l))}),t.set(l,r)});let a=0;return n.forEach(t=>It(t,r[a++])),o}function jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const l=new Set(e),i=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=i.get(e);if(r)return r;const o=e.parentNode;return r=n.has(o)?o:l.has(o)?1:t(o),i.set(e,r),r}(t);1!==e&&n.get(e).push(t)}),n}function Rt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ft(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Nt(t,e,n){r(n).onDone(()=>t.processLeaveNode(e))}function Yt(t,e,n){const l=n.get(t);if(!l)return!1;let i=e.get(t);return i?l.forEach(t=>i.add(t)):e.set(t,l),n.delete(t),!0}class Ut{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Dt(t,e,n),this._timelineEngine=new wt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,l,i){const r=t+"-"+l;let o=this._triggerCache[r];if(!o){const t=[],e=K(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${l}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new At(t,e)}(l,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,l,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,l){this._transitionEngine.insertNode(t,e,n,l)}onRemove(t,e,n,l){this._transitionEngine.removeNode(t,e,l||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,l){if("@"==n.charAt(0)){const[t,i]=d(n);this._timelineEngine.command(t,e,i,l)}else this._transitionEngine.trigger(t,e,n,l)}listen(t,e,n,l,i){if("@"==n.charAt(0)){const[t,l]=d(n);return this._timelineEngine.listen(t,e,l,i)}return this._transitionEngine.listen(t,e,n,l,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Bt(t,e){let n=null,l=null;return Array.isArray(e)&&e.length?(n=Gt(e[0]),e.length>1&&(l=Gt(e[e.length-1]))):e&&(n=Gt(e)),n||l?new zt(t,n,l):null}let zt=(()=>{class t{constructor(e,n,l){this._element=e,this._startStyles=n,this._endStyles=l,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&E(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(E(this._element,this._initialStyles),this._endStyles&&(E(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(I(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),E(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Gt(t){let e=null;const n=Object.keys(t);for(let l=0;l<n.length;l++){const i=n[l];Ht(i)&&(e=e||{},e[i]=t[i])}return e}function Ht(t){return"display"===t||"position"===t}class Vt{constructor(t,e,n,l,i,r,o){this._element=t,this._name=e,this._duration=n,this._delay=l,this._easing=i,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Jt(t,"").trim();n.length&&(function(t,e){let n=0;for(let l=0;l<t.length;l++)","===t.charAt(l)&&n++}(n),e=`${n}, ${e}`),Kt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Xt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){qt(this._element,this._name,"paused")}resume(){qt(this._element,this._name,"running")}setPosition(t){const e=Wt(this._element,this._name);this._position=t*this._duration,Kt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Jt(t,"").split(","),l=$t(n,e);l>=0&&(n.splice(l,1),Kt(t,"",n.join(",")))}(this._element,this._name))}}function qt(t,e,n){Kt(t,"PlayState",n,Wt(t,e))}function Wt(t,e){const n=Jt(t,"");return n.indexOf(",")>0?$t(n.split(","),e):$t([n],e)}function $t(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Xt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Kt(t,e,n,l){const i="animation"+e;if(null!=l){const e=t.style[i];if(e.length){const t=e.split(",");t[l]=n,n=t.join(",")}}t.style[i]=n}function Jt(t,e){return t.style["animation"+e]}class Qt{constructor(t,e,n,l,i,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=l,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=l+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Vt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:H(this.element,n))})}this.currentSnapshot=t}}class Zt extends l.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=C(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class te{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>C(t));let l=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);l+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(l+=`${i}animation-timing-function: ${n};\n`));default:return void(l+=`${i}${e}: ${n};\n`)}}),l+=i+"}\n"}),l+="}\n";const r=document.createElement("style");return r.innerHTML=l,r}animate(t,e,n,l,i,r=[],o){o&&this._notifyFaultyScrubber();const a=r.filter(t=>t instanceof Qt),s={};B(n,l)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>s[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=z(t,e,s));if(0==n)return new Zt(t,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);const h=Bt(t,e),p=new Qt(t,e,c,n,l,i,u,h);return p.onDestroy(()=>{var t;(t=d).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class ee{constructor(t,e,n,l){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:H(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ne{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ie().toString()),this._cssKeyframesDriver=new te}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,l,i,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,l,i,r);const a={duration:n,delay:l,fill:0==l?"both":"forwards"};i&&(a.easing=i);const s={},u=r.filter(t=>t instanceof ee);B(n,l)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>s[t]=e[t])});const c=Bt(t,e=z(t,e=e.map(t=>O(t,!1)),s));return new ee(t,e,a,c)}}function le(){return"function"==typeof ie()}function ie(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},fQr7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("vDCU");class i{constructor(t){this.dialogRef=t,this.onSelect=l.a}closeModal(){this.dialogRef.close()}}},fURe:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("w+w1");class l{constructor(){}ngOnInit(){this.updateTrace()}ngOnDestroy(){this.cleanTrace()}updateTrace(){this.cleanTrace(),this.aircraft.trace&&(this.features=this.aircraft.trace.getFeatures(),this.features&&this.source.addFeatures(this.features))}cleanTrace(){this.features&&this.source&&this.features.forEach(t=>{this.source.removeFeature(t)})}}},fzPg:function(t,e,n){!function(t){"use strict";t.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g1uh:function(t,e,n){"use strict";var l,i=n("EwAT"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e){var n=this,l="Assertion failed. See https://openlayers.org/en/"+("latest"===i.a?i.a:"v"+i.a.split("-")[0])+"/doc/errors/#"+e+" for details.";return(n=t.call(this,l)||this).code=e,n.name="AssertionError",n.message=l,n}return r(e,t),e}(Error);e.a=o},g5Dd:function(t,e){!function(t){"use strict";e.encode=function(e){var n,l=new Uint8Array(e),i=l.length,r="";for(n=0;n<i;n+=3)r+=t[l[n]>>2],r+=t[(3&l[n])<<4|l[n+1]>>4],r+=t[(15&l[n+1])<<2|l[n+2]>>6],r+=t[63&l[n+2]];return i%3==2?r=r.substring(0,r.length-1)+"=":i%3==1&&(r=r.substring(0,r.length-2)+"=="),r},e.decode=function(e){var n,l,i,r,o,a=.75*e.length,s=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),d=new Uint8Array(c);for(n=0;n<s;n+=4)l=t.indexOf(e[n]),i=t.indexOf(e[n+1]),r=t.indexOf(e[n+2]),o=t.indexOf(e[n+3]),d[u++]=l<<2|i>>4,d[u++]=(15&i)<<4|r>>2,d[u++]=(3&r)<<6|63&o;return c}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},g6Z0:function(t,e,n){"use strict";var l=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0})},t.prototype.getColor=function(){return this.color_},t.prototype.setColor=function(t){this.color_=t},t}();e.a=l},g6rY:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l,i){var r,o,a,s=6371;return e*=t.DEG_2_RAD,n*=t.DEG_2_RAD,i*=t.DEG_2_RAD,r=Math.asin(Math.sin(e)*Math.cos(l/s)+Math.cos(e)*Math.sin(l/s)*Math.cos(i)),o=((o=n+Math.atan2(Math.sin(i)*Math.sin(l/s)*Math.cos(e),Math.cos(l/s)-Math.sin(e)*Math.sin(r)))+3*Math.PI)%(2*Math.PI)-Math.PI,a={latitude:r*t.RAD_2_DEG,longitude:o*t.RAD_2_DEG},isNaN(a.latitude)||isNaN(a.longitude)?null:a}return function(n){return t=n,e}})?l.apply(e,[]):l)||(t.exports=i)},g7xG:function(t,e,n){"use strict";function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n("7gqw"),r=function t(e,n,r,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];l(this,t),this.name=e,this.demonym=n,this.flag=i[o],this.iso2=r,this.iso3=o,this.altSpellings=a};t.exports=[new r("Afghanistan","Afghan","AF","AFG"),new r("Aland Islands","Alandic","AX","ALA"),new r("Albania","Albanian","AL","ALB"),new r("Algeria","Algerian","DZ","DZA"),new r("American Samoa","American Samoan","AS","ASM"),new r("Andorra","Andorran","AD","AND"),new r("Angola","Angolan","AO","AGO"),new r("Anguilla","Anguillian","AI","AIA"),new r("Antigua and Barbuda","Antiguan Barbudan","AG","ATG"),new r("Argentina","Argentinian","AR","ARG"),new r("Armenia","Armenian","AM","ARM"),new r("Aruba","Arubian","AW","ABW"),new r("Australia","Australian","AU","AUS"),new r("Austria","Austrian","AT","AUT"),new r("Azerbaijan","Azerbaijani","AZ","AZE"),new r("Bahamas","Bahamian","BS","BHS"),new r("Bahrain","Bahraini","BH","BHR"),new r("Bangladesh","Bengali","BD","BGD"),new r("Barbados","Barbadian","BB","BRB"),new r("Belarus","Belarusian","BY","BLR"),new r("Belgium","Belgian","BE","BEL"),new r("Belize","Belizean","BZ","BLZ"),new r("Benin","Beninese","BJ","BEN"),new r("Bermuda","Bermudian","BM","BMU"),new r("Bhutan","Bhutanese","BT","BTN"),new r("Bolivia","Bolivian","BO","BOL"),new r("Bonaire, Sint Eustatius and Saba","Dutch","BQ","BES"),new r("Bosnia and Herzegovina","Bosnian","BA","BIH"),new r("Botswana","Batswana","BW","BWA"),new r("Brazil","Brazilian","BR","BRA"),new r("British Virgin Islands","Virgin Islander","VG","VGB"),new r("Brunei","Bruneian","BN","BRN"),new r("Bulgaria","Bulgarian","BG","BGR"),new r("Burkina Faso","Burkinab\xe9","BF","BFA"),new r("Burundi","Burundian","BI","BDI"),new r("Cambodia","Cambodian","KH","KHM"),new r("Cameroon","Cameroonian","CM","CMR"),new r("Canada","Canadian","CA","CAN"),new r("Cape Verde","Cape Verdean","CV","CPV"),new r("Cayman Islands","Caymanian","KY","CYM"),new r("Central African Republic","Central African","CF","CAF"),new r("Chad","Chadian","TD","TCD"),new r("Chile","Chilean","CL","CHL"),new r("China","Chinese","CN","CHN"),new r("Christmas Island","Christmas Islander","CX","CXR"),new r("Cocos Islands","Taiwanese","CC","CCK"),new r("Colombia","Colombian","CO","COL"),new r("Comoros","Comorian","KM","COM"),new r("Congo","Congolese","CG","COG"),new r("Cook Islands","Cook Islander","CK","COK"),new r("Costa Rica","Costa Rican","CR","CRI"),new r("C\xf4te d'Ivoire","Ivorian","CI","CIV"),new r("Croatia","Croatian","HR","HRV"),new r("Cuba","Cuban","CU","CUB"),new r("Cura\xe7ao","Dutch","CW","CUW"),new r("Cyprus","Cypriot","CY","CYP"),new r("Czech Republic","Czech","CZ","CZE"),new r("Democratic Republic of the Congo","Congolese","KP","COD"),new r("Denmark","Danish","DK","DNK"),new r("Djibouti","Djiboutian","DJ","DJI"),new r("Dominica","Dominican","DM","DMA"),new r("Dominican Republic","Dominican","DO","DOM"),new r("Ecuador","Ecuadorian","EC","ECU"),new r("Egypt","Egyptian","EG","EGY"),new r("El Salvador","Salvadoran","SV","SLV"),new r("Equatorial Guinea","Equatoguinean","GQ","GNQ"),new r("Eritrea","Eritrean","ER","ERI"),new r("Estonia","Estonian","EE","EST"),new r("Ethiopia","Ethiopian","ET","ETH"),new r("Falkland Islands","Falkland Islander","FK","FLK"),new r("Faroe Islands","Faroese","FO","FRO"),new r("Fiji","Fijian","FJ","FJI"),new r("Finland","Finnish","FI","FIN"),new r("France","French","FR","FRA"),new r("French Guiana","Guianan","GF","GUF"),new r("French Polynesia","French Polynesian","PF","PYF"),new r("Gabon","Gabonese","GA","GAB"),new r("Gambia","Gambian","GM","GMB"),new r("Georgia","Georgian","GE","GEO"),new r("Germany","German","DE","DEU"),new r("Ghana","Ghanaian","GH","GHA"),new r("Gibraltar","Gibraltarian","GI","GIB"),new r("Greece","Greek","GR","GRC"),new r("Greenland","Greenlander","GL","GRL"),new r("Grenada","Grenadian","GD","GRD"),new r("Guadeloupe","Guadeloupean","GP","GLP"),new r("Guam","Guamanian","GU","GUM"),new r("Guatemala","Guatemalan","GT","GTM"),new r("Guernsey","Guernseymen","GG","GGY"),new r("Guinea-Bissau","Bissau-Guinean","GW","GNB"),new r("Guinea","Guinean","GN","GIN"),new r("Guyana","Guyanese","GY","GUY"),new r("Haiti","Haitian","HT","HTI"),new r("Holy See","Papal","VA","VAT",["Vatican"]),new r("Honduras","Honduran","HN","HND"),new r("Hong Kong","Hong Kongese","HK","HKG"),new r("Hungary","Hungarian","HU","HUN"),new r("Iceland","Icelander","IS","ISL"),new r("India","Indian","IN","IND"),new r("Indonesia","Indonesian","ID","IDN"),new r("Iran","Iranian","IR","IRN"),new r("Iraq","Iraqi","IQ","IRQ"),new r("Ireland","Irish","IE","IRL"),new r("Isle of Man","Manx","IM","IMN"),new r("Israel","Israeli","IL","ISR"),new r("Italy","Italian","IT","ITA"),new r("Jamaica","Jamaican","JM","JAM"),new r("Japan","Japanese","JP","JPN"),new r("Jersey","Jerseyman","JE","JEY"),new r("Jordan","Jordanian","JO","JOR"),new r("Kazakhstan","Kazakhstani","KZ","KAZ"),new r("Kenya","Kenyan","KE","KEN"),new r("Kiribati","I-Kiribati","KI","KIR"),new r("Kosovo","Kosovar","XK","XXK"),new r("Kuwait","\tKuwaiti","KW","KWT"),new r("Kyrgyzstan","Kyrgyzstani","KG","KGZ"),new r("Laos","Lao","LA","LAO"),new r("Latvia","Latvian","LV","LVA"),new r("Lebanon","Lebanese","LB","LBN"),new r("Lesotho","Lesothonian","LS","LSO"),new r("Liberia","Liberian","LR","LBR"),new r("Libya","Libyan","LY","LBY"),new r("Liechtenstein","Liechtensteiner","LI","LIE"),new r("Lithuania","Lithuanian","LT","LTU"),new r("Luxembourg","Luxembourgish","LU","LUX"),new r("Macao","Macau","MO","MAC"),new r("Madagascar","Malagasy","MG","MDG"),new r("Malawi","Malawian","MW","MWI"),new r("Malaysia","Malaysian","MY","MYS"),new r("Maldives","Maldivian","MV","MDV"),new r("Mali","Malian","ML","MLI"),new r("Malta","Maltese","MT","MLT"),new r("Marshall Islands","Marshallese","MH","MHL"),new r("Martinique","Martinican","MQ","MTQ"),new r("Mauritania","Mauritanian","MR","MRT"),new r("Mauritius","Mauritian","MU","MUS"),new r("Mayotte","Mahoran","YT","MYT"),new r("Mexico","Mexican","MX","MEX"),new r("Micronesia","Micronesian","FM","FSM"),new r("Moldova","Moldovan","MD","MDA"),new r("Monaco","Monegasque","MC","MCO"),new r("Mongolia","Mongolian","MN","MNG"),new r("Montenegro","Montenegrin","ME","MNE"),new r("Montserrat","Montserratian","MS","MSR"),new r("Morocco","Moroccan","MA","MAR"),new r("Mozambique","Mozambican","MZ","MOZ"),new r("Myanmar","Myanma","MM","MMR"),new r("Namibia","Namibian","NA","NAM"),new r("Nauru","Nauruan","NR","NRU"),new r("Nepal","Nepalese","NP","NPL"),new r("Netherlands Antilles","Netherlands Antillean","AN","ANT"),new r("Netherlands","Dutch","NL","NLD"),new r("New Caledonia","New Caledonian","NC","NCL"),new r("New Zealand","New Zealander","NZ","NZL"),new r("Nicaragua","Nicaraguan","NI","NIC"),new r("Niger","Nigerien","NE","NER"),new r("Nigeria","Nigerian","NG","NGA"),new r("Niue","Niuean","NU","NIU"),new r("Norfolk Island","Norfolk Islander","NF","NFK"),new r("North Korea","North Korea","KP","PRK"),new r("North Macedonia","Macedonian","MK","MKD"),new r("Northern Mariana Islands","Northern Mariana Islander","MP","MNP"),new r("Norway","Norwegian","NO","NOR"),new r("Oman","Omani","OM","OMN"),new r("Pakistan","Pakistani","PK","PAK"),new r("Palau","Palauan","PW","PLW"),new r("Palestine","Palestinian","PS","PSE"),new r("Panama","Panamanian","PA","PAN"),new r("Papua New Guinea","Papua New Guinean","PG","PNG"),new r("Paraguay","Paraguayan","PY","PRY"),new r("Peru","Peruvian","PE","PER"),new r("Philippines","Filipino","PH","PHL"),new r("Pitcairn","Pitcairn Islander","PN","PCN"),new r("Poland","Polish","PL","POL"),new r("Portugal","Portuguese","PT","PRT"),new r("Puerto Rico","Puerto Rican","PR","PRI"),new r("Qatar","Qatari","QA","QAT"),new r("R\xe9union","R\xe9unionese","RE","REU"),new r("Romania","Romanian","RO","ROU"),new r("Russia","Russian","RU","RUS"),new r("Rwanda","Rwandan","RW","RWA"),new r("Saint Barth\xe9lemy","Barth\xe9lemois","BL","BLM"),new r("Saint Helena, Ascension and Tristan da Cunha","Ascensionian","SH","SHN",["Saint Helenian","Tristanian"]),new r("Saint Kitts and Nevis","Kittitian","KN","KNA",["Nevisian"]),new r("Saint Lucia","Saint Lucian","LC","LCA"),new r("Saint Martin","Saint-Martinois","MF","MAF"),new r("Saint Pierre and Miquelon","Saint-Pierrais","PM","SPM"),new r("Saint Vincent and the Grenadines","Saint Vincentian","VC","VCT"),new r("Samoa","Samoan","WS","WSM"),new r("San Marino","Sammarinese","SM","SMR"),new r("Sao Tome and Principe","S\xe3o Tom\xe9an","ST","STP"),new r("Saudi Arabia","Saudi","SA","SAU"),new r("Senegal","Senegalese","SN","SEN"),new r("Serbia","Serbian","RS","SRB"),new r("Seychelles","Seychellois","SC","SYC"),new r("Sierra Leone","Sierra Leonean","SL","SLE"),new r("Singapore","Singaporean","SG","SGP",["SG","Singapura","Republik Singapura"]),new r("Sint Maarten","St. Maartener","SX","SXM"),new r("Slovakia","Slovak","SK","SVK"),new r("Slovenia","Slovenian","SI","SVN"),new r("Solomon Islands","Solomon Islander","SB","SLB"),new r("Somalia","Somali","SO","SOM"),new r("South Africa","South African","ZA","ZAF"),new r("South Georgia and the South Sandwich Islands","South Georgian","GS","SGS"),new r("South Korea","South Korean","KR","KOR",["Republic of Korea"]),new r("South Sudan","South Sudanese","SS","SSD"),new r("Spain","Spanish","ES","ESP"),new r("Sri Lanka","Sri Lankan","LK","LKA"),new r("Sudan","Sudanese","SD","SDN"),new r("Suriname","Surinamese","SR","SUR"),new r("Svalbard and Jan Mayen","Svalbard","SJ","SJM"),new r("Swaziland","Swazi","SZ","SWZ"),new r("Sweden","Swedish","SE","SWE"),new r("Switzerland","Swiss","CH","CHE"),new r("Syria","Syrian","SY","SYR"),new r("Taiwan","Taiwanese","TW","TWN"),new r("Tajikistan","Tajik","TJ","TJK"),new r("Tanzania","Tanzanian","TZ","TZA"),new r("Thailand","Thai","TH","THA"),new r("Timor-Leste","Timorese","TL","TLS"),new r("Togo","Togolese","TG","TGO"),new r("Tokelau","Tokelauan","TK","TKL"),new r("Tonga","Tongan","TO","TON"),new r("Trinidad and Tobago","Trinidadian and Tobagonian","TT","TTO"),new r("Tunisia","Tunisian","TN","TUN"),new r("Turkey","Turkish","TR","TUR"),new r("Turkmenistan","Turkmenistani","TM","TKM"),new r("Turks and Caicos Islands","Turks and Caicos Islander","TC","TCA"),new r("Tuvalu","Tuvaluan","TV","TUV"),new r("Uganda","Ugandan","UG","UGA"),new r("Ukraine","Ukrainian","UA","UKR"),new r("United Arab Emirates","Emirati","AE","ARE",["AE","UAE"]),new r("United Kingdom","British","GB","GBR",["UK"]),new r("United States Minor Outlying Islands","American Islander","UM","UMI"),new r("United States","American","US","USA",["USA"]),new r("Uruguay","Uruguayan","UY","URY"),new r("Uzbekistan","Uzbek","UZ","UZB"),new r("Vanuatu","Vanuatuan","VU","VUT"),new r("Venezuela","Venezuelan","VE","VEN"),new r("Vietnam","Vietnamese","VN","VNM",["Viet Nam","Republic of Viet Nam","South Vietnam"]),new r("Virgin Islands of the United States","Virgin Islander","VI","VIR"),new r("Wallis and Futuna","Wallisian","WF","WLF",["Futunan"]),new r("Western Sahara","Western Saharan","EH","ESH"),new r("Yemen","Yemeni","YE","YEM"),new r("Zambia","Zambian","ZM","ZMB"),new r("Zimbabwe","Zimbabwean","ZW","ZWE")]},gDAU:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n("978D"),n("YGmB"),n("oeKZ");var l=n("Y4ja"),i=n("oQtH"),r=n("wd/R");class o{constructor(t,e,n,l){this.trafficService=t,this.timeService=e,this.keycloakService=n,this.modeService=l,this.modeAll=!0,this.userRoles=[],this.defaultLogoutRedirection=i.a.config.auth.logoutReturn,console.log("CURRENT ROLE(S) OF THIS SESSION:",this.keycloakService.client().resourceAccess["sepia.angular"].roles.join(",")),this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}ngOnInit(){setInterval(()=>{this.currentDate=r().utc().format("DD/MM/YYYY - HH:mm:ss - z")},1e3/3),this.modeAll=this.modeService.getModeMap()===l.a.ALL_AIRCRAFT,this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.modeAll=t===l.a.ALL_AIRCRAFT})}logout(t){return t||(t=this.defaultLogoutRedirection),this.keycloakService.logout(t)}}},gFX4:function(t,e,n){var l=n("zJ60"),i=n("Uwu7"),r=n("eOtv"),o=n("x7D4")("socket.io-client");t.exports=e=s;var a=e.managers={};function s(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i=l(t),s=i.source,u=i.id;return e.forceNew||e["force new connection"]||!1===e.multiplex||a[u]&&i.path in a[u].nsps?(o("ignoring socket cache for %s",s),n=r(s,e)):(a[u]||(o("new io instance for %s",s),a[u]=r(s,e)),n=a[u]),i.query&&!e.query&&(e.query=i.query),n.socket(i.path,e)}e.protocol=i.protocol,e.connect=s,e.Manager=n("eOtv"),e.Socket=n("KFGy")},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("2fFW"),i=n("NJ4a");const r={closed:!0,next(t){},error(t){if(l.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete(){}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i=t+" ";switch(n){case"s":return e||l?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===t?e?"sekundo":"sekundi":2===t?e||l?"sekundi":"sekundah":t<5?e||l?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return i+(1===t?e?"minuta":"minuto":2===t?e||l?"minuti":"minutama":t<5?e||l?"minute":"minutami":e||l?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return i+(1===t?e?"ura":"uro":2===t?e||l?"uri":"urama":t<5?e||l?"ure":"urami":e||l?"ur":"urami");case"d":return e||l?"en dan":"enim dnem";case"dd":return i+(1===t?e||l?"dan":"dnem":2===t?e||l?"dni":"dnevoma":e||l?"dni":"dnevi");case"M":return e||l?"en mesec":"enim mesecem";case"MM":return i+(1===t?e||l?"mesec":"mesecem":2===t?e||l?"meseca":"mesecema":t<5?e||l?"mesece":"meseci":e||l?"mesecev":"meseci");case"y":return e||l?"eno leto":"enim letom";case"yy":return i+(1===t?e||l?"leto":"letom":2===t?e||l?"leti":"letoma":t<5?e||l?"leta":"leti":e||l?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gavF:function(t,e,n){"use strict";n.d(e,"d",(function(){return k})),n.d(e,"a",(function(){return S})),n.d(e,"h",(function(){return M})),n.d(e,"e",(function(){return x})),n.d(e,"g",(function(){return E})),n.d(e,"c",(function(){return O})),n.d(e,"b",(function(){return C})),n.d(e,"i",(function(){return I})),n.d(e,"f",(function(){return L})),n.d(e,"j",(function(){return D})),n("GS7A");var l=n("zMNK"),i=n("8Y7J"),r=n("XNiG"),o=n("quSY"),a=n("VRyK"),s=n("LRne"),u=n("7Hc7"),c=n("5GAg"),d=n("Xd0L"),h=n("KCVW"),p=n("dvZr"),f=n("JX91"),b=n("eIep"),m=n("IzEk"),g=n("pLZG"),_=n("1G5W"),y=n("3E0/"),A=n("QQfA"),v=n("/HVE");const C=new i.w("MAT_MENU_PANEL");class w{}const P=Object(d.F)(Object(d.G)(w));class x extends P{constructor(t,e,n,l){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=l,this.role="menuitem",this._hovered=new r.a,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),l&&l.addItem&&l.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n="";if(t.childNodes){const l=t.childNodes.length;for(let i=0;i<l;i++)t.childNodes[i].nodeType===e&&(n+=t.childNodes[i].textContent)}return n.trim()}}const S=new i.w("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});class k extends class{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.L,this._tabSubscription=o.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.r,this.close=this.closed}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(h.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(h.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new c.g(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab"))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(f.a)(this._directDescendantItems),Object(b.a)(t=>Object(a.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case p.h:Object(p.t)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case p.j:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case p.n:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case p.i:case p.f:Object(p.t)(t)||(e===p.i?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==p.q&&e!==p.e||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){const e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>e.setFocusOrigin(t).setFirstItemActive()):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(f.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}{}class M extends k{constructor(t,e,n){super(t,e,n)}}const O=new i.w("mat-menu-scroll-strategy");function D(t){return()=>t.scrollStrategies.reposition()}const T=Object(v.g)({passive:!0});class E{constructor(t,e,n,l,r,a,s,u){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=a,this._dir=s,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=o.a.EMPTY,this._hoverSubscription=o.a.EMPTY,this._menuCloseSubscription=o.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.r,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.r,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,T),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=l}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,T),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof k&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof k?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(g.a)(t=>"void"===t.toState),Object(m.a)(1),Object(_.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new A.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[l,i],[a,s]=[e,n],u=0;this.triggersSubmenu()?(s=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",u="bottom"===l?8:-8):this.menu.overlapTrigger||(r="top"===l?"bottom":"top",o="top"===i?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:l,offsetY:u},{originX:n,originY:r,overlayX:s,overlayY:l,offsetY:u},{originX:e,originY:o,overlayX:a,overlayY:i,offsetY:-u},{originX:n,originY:o,overlayX:s,overlayY:i,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(s.a)(),l=this._parentMenu?this._parentMenu._hovered().pipe(Object(g.a)(t=>t!==this._menuItemInstance),Object(g.a)(()=>this._menuOpen)):Object(s.a)();return Object(a.a)(t,n,l,e)}_handleMousedown(t){Object(c.k)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===p.n&&"ltr"===this.dir||e===p.j&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(g.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(y.a)(0,u.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof k&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(m.a)(1),Object(y.a)(0,u.a),Object(_.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new l.h(this.menu.templateRef,this._viewContainerRef)),this._portal}}class I{}class L{}},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function l(t,l,i,r){var o="";switch(i){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(t,l){return t<10?l?n[t]:e[t]:t}(t,r)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},gpXz:function(t,e,n){"use strict";var l=n("g6Z0"),i=n("KfZV"),r=function(){function t(t){var e=t||{};this.font_=e.font,this.rotation_=e.rotation,this.rotateWithView_=e.rotateWithView,this.scale_=e.scale,this.text_=e.text,this.textAlign_=e.textAlign,this.textBaseline_=e.textBaseline,this.fill_=void 0!==e.fill?e.fill:new l.a({color:"#333"}),this.maxAngle_=void 0!==e.maxAngle?e.maxAngle:Math.PI/4,this.placement_=void 0!==e.placement?e.placement:i.a.POINT,this.overflow_=!!e.overflow,this.stroke_=void 0!==e.stroke?e.stroke:null,this.offsetX_=void 0!==e.offsetX?e.offsetX:0,this.offsetY_=void 0!==e.offsetY?e.offsetY:0,this.backgroundFill_=e.backgroundFill?e.backgroundFill:null,this.backgroundStroke_=e.backgroundStroke?e.backgroundStroke:null,this.padding_=void 0===e.padding?null:e.padding}return t.prototype.clone=function(){return new t({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:this.getScale(),text:this.getText(),textAlign:this.getTextAlign(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()})},t.prototype.getOverflow=function(){return this.overflow_},t.prototype.getFont=function(){return this.font_},t.prototype.getMaxAngle=function(){return this.maxAngle_},t.prototype.getPlacement=function(){return this.placement_},t.prototype.getOffsetX=function(){return this.offsetX_},t.prototype.getOffsetY=function(){return this.offsetY_},t.prototype.getFill=function(){return this.fill_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.getText=function(){return this.text_},t.prototype.getTextAlign=function(){return this.textAlign_},t.prototype.getTextBaseline=function(){return this.textBaseline_},t.prototype.getBackgroundFill=function(){return this.backgroundFill_},t.prototype.getBackgroundStroke=function(){return this.backgroundStroke_},t.prototype.getPadding=function(){return this.padding_},t.prototype.setOverflow=function(t){this.overflow_=t},t.prototype.setFont=function(t){this.font_=t},t.prototype.setMaxAngle=function(t){this.maxAngle_=t},t.prototype.setOffsetX=function(t){this.offsetX_=t},t.prototype.setOffsetY=function(t){this.offsetY_=t},t.prototype.setPlacement=function(t){this.placement_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setFill=function(t){this.fill_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.setText=function(t){this.text_=t},t.prototype.setTextAlign=function(t){this.textAlign_=t},t.prototype.setTextBaseline=function(t){this.textBaseline_=t},t.prototype.setBackgroundFill=function(t){this.backgroundFill_=t},t.prototype.setBackgroundStroke=function(t){this.backgroundStroke_=t},t.prototype.setPadding=function(t){this.padding_=t},t}();e.a=r},grDu:function(t,e,n){"use strict";e.a={FRACTION:"fraction",PIXELS:"pixels"}},h3hZ:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("DsAt"),o=n("AdTM"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l,i){var r=t.call(this)||this;return r.extent=e,r.pixelRatio_=l,r.resolution=n,r.state=i,r}return a(e,t),e.prototype.changed=function(){this.dispatchEvent(o.a.CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return Object(i.b)()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){Object(i.b)()},e}(r.a);e.a=s},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hOhj:function(t,e,n){"use strict";var l=n("8Y7J"),i=(n("KCVW"),n("XNiG")),r=n("LRne"),o=n("HDdC"),a=n("xgIS"),s=(n("eNwd"),n("7Hc7"),n("VRyK")),u=(n("/uUt"),n("3UWI")),c=n("pLZG"),d=n("1G5W");n("JX91"),n("Zy1z"),n("eIep"),n("3N8a"),n("IjjT"),n("quSY"),n("7o/Q"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return f})),n.d(e,"c",(function(){return b})),n.d(e,"e",(function(){return m})),n.d(e,"d",(function(){return g}));let p=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(u.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(r.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,l)=>{this._scrollableContainsElement(l,t)&&e.push(l)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,l=t.getElementRef().nativeElement;do{if(n==l)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(a.a)(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(l.G),Object(l.dc)(h.a))},token:t,providedIn:"root"}),t})();class f{constructor(t,e,n,l){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=l,this._destroyed=new i.a,this._elementScrolled=new o.a(t=>this.ngZone.runOutsideAngular(()=>Object(a.a)(this.elementRef.nativeElement,"scroll").pipe(Object(d.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;t.left=null==t.left?n?t.end:t.start:t.left,t.right=null==t.right?n?t.start:t.end:t.right,null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&Object(h.e)()!=h.c.NORMAL?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),Object(h.e)()==h.c.INVERTED?t.left=t.right:Object(h.e)()==h.c.NEGATED&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(h.h)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&Object(h.e)()==h.c.INVERTED?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&Object(h.e)()==h.c.NEGATED?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}class b{}let m=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(s.a)(Object(a.a)(window,"resize"),Object(a.a)(window,"orientationchange")):Object(r.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(u.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(h.a),Object(l.dc)(l.G))},token:t,providedIn:"root"}),t})();const g={provide:m,deps:[[new l.H,new l.R,m],h.a,l.G],useFactory:function(t,e,n){return t||new m(e,n)}}},hUP0:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("svHU"),i=n("8Y7J");let r=(()=>{class t{constructor(t){this.mapService=t,this.currentModeName="dark",this.lightDarksList={}}switchLightDarkMode(){this.currentModeName="dark"===this.currentModeName?"light":"dark",this.setLightDarkMode()}setLightDarkMode(){for(const t in this.lightDarksList)if(this.lightDarksList[t]){const e=this.mapService.getLayer(t);e&&e.setVisible(!0===this.lightDarksList[t][this.currentModeName])}}addLayerInLightDarkList(t,e){this.lightDarksList[e]||(this.lightDarksList[e]={light:!1,dark:!1}),this.lightDarksList[e][t]=!0}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(l.a))},token:t,providedIn:"root"}),t})()},hnpS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},hoJM:function(t,e,n){"use strict";var l=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=void 0!==e.lineDash?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})},t.prototype.getColor=function(){return this.color_},t.prototype.getLineCap=function(){return this.lineCap_},t.prototype.getLineDash=function(){return this.lineDash_},t.prototype.getLineDashOffset=function(){return this.lineDashOffset_},t.prototype.getLineJoin=function(){return this.lineJoin_},t.prototype.getMiterLimit=function(){return this.miterLimit_},t.prototype.getWidth=function(){return this.width_},t.prototype.setColor=function(t){this.color_=t},t.prototype.setLineCap=function(t){this.lineCap_=t},t.prototype.setLineDash=function(t){this.lineDash_=t},t.prototype.setLineDashOffset=function(t){this.lineDashOffset_=t},t.prototype.setLineJoin=function(t){this.lineJoin_=t},t.prototype.setMiterLimit=function(t){this.miterLimit_=t},t.prototype.setWidth=function(t){this.width_=t},t}();e.a=l},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"hp/u":function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},hrfs:function(t,e,n){"use strict";n.d(e,"b",(function(){return g})),n.d(e,"a",(function(){return m})),n.d(e,"c",(function(){return f}));var l=n("MO+k"),i=n("8Y7J"),r=n("2Vo4"),o=n("LvDl");const a=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]];function s(t,e){return"rgba("+t.concat(e).join(",")+")"}function u(t,e){return Math.floor(Math.random()*(e-t+1))+t}function c(t){return{backgroundColor:t.map(t=>s(t,.6)),borderColor:t.map(()=>"#fff"),pointBackgroundColor:t.map(t=>s(t,1)),pointBorderColor:t.map(()=>"#fff"),pointHoverBackgroundColor:t.map(t=>s(t,1)),pointHoverBorderColor:t.map(t=>s(t,1))}}function d(){return[u(0,255),u(0,255),u(0,255)]}function h(t){return a[t]||d()}function p(t){const e=new Array(t);for(let n=0;n<t;n++)e[n]=a[n]||d();return e}let f=(()=>{class t{constructor(){this.pColorschemesOptions={},this.colorschemesOptions=new r.a({})}setColorschemesOptions(t){this.pColorschemesOptions=t,this.colorschemesOptions.next(t)}getColorschemesOptions(){return this.pColorschemesOptions}}return t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const b=function(){var t={Default:0,Update:1,Refresh:2};return t[t.Default]="Default",t[t.Update]="Update",t[t.Refresh]="Refresh",t}();class m{constructor(t,e){this.element=t,this.themeService=e,this.options={},this.chartClick=new i.r,this.chartHover=new i.r,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}static registerPlugin(t){l.Chart.plugins.register(t)}static unregisterPlugin(t){l.Chart.plugins.unregister(t)}ngOnInit(){this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe(t=>this.themeChanged(t)))}themeChanged(t){this.refresh()}ngDoCheck(){if(!this.chart)return;let t=b.Default;const e=e=>{t=e>t?e:t};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,e(b.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,e(b.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,e(b.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,e(b.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data!==this.old.datasetsDataObjects[e]).length&&(this.old.datasetsDataObjects=this.datasets.map(t=>t.data),e(b.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data.length!==this.old.datasetsDataLengths[e]).length&&(this.old.datasetsDataLengths=this.datasets.map(t=>t.data.length),e(b.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),e(b.Update)),this.colors&&this.colors.filter((t,e)=>!this.colorsEqual(t,this.old.colors[e])).length&&(this.old.colors=this.colors.map(t=>this.copyColor(t)),this.updateColors(),e(b.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,e(b.Update)),this.labels&&this.labels.filter((t,e)=>!this.labelsEqual(t,this.old.labels[e])).length&&(this.old.labels=this.labels.map(t=>this.copyLabel(t)),e(b.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,e(b.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,e(b.Refresh)),t){case b.Default:break;case b.Update:this.update();break;case b.Refresh:this.refresh()}}copyLabel(t){return Array.isArray(t)?[...t]:t}labelsEqual(t,e){return Array.isArray(t)===Array.isArray(e)&&(Array.isArray(t)||t===e)&&(!Array.isArray(t)||t.length===e.length)&&(!Array.isArray(t)||0===t.filter((t,n)=>t!==e[n]).length)}copyColor(t){return{backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderColor:t.borderColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,pointBorderColor:t.pointBorderColor,pointBackgroundColor:t.pointBackgroundColor,pointBorderWidth:t.pointBorderWidth,pointRadius:t.pointRadius,pointHoverRadius:t.pointHoverRadius,pointHitRadius:t.pointHitRadius,pointHoverBackgroundColor:t.pointHoverBackgroundColor,pointHoverBorderColor:t.pointHoverBorderColor,pointHoverBorderWidth:t.pointHoverBorderWidth,pointStyle:t.pointStyle,hoverBackgroundColor:t.hoverBackgroundColor,hoverBorderColor:t.hoverBorderColor,hoverBorderWidth:t.hoverBorderWidth}}colorsEqual(t,e){return!t==!e&&(!t||t.backgroundColor===e.backgroundColor&&t.borderWidth===e.borderWidth&&t.borderColor===e.borderColor&&t.borderCapStyle===e.borderCapStyle&&t.borderDash===e.borderDash&&t.borderDashOffset===e.borderDashOffset&&t.borderJoinStyle===e.borderJoinStyle&&t.pointBorderColor===e.pointBorderColor&&t.pointBackgroundColor===e.pointBackgroundColor&&t.pointBorderWidth===e.pointBorderWidth&&t.pointRadius===e.pointRadius&&t.pointHoverRadius===e.pointHoverRadius&&t.pointHitRadius===e.pointHitRadius&&t.pointHoverBackgroundColor===e.pointHoverBackgroundColor&&t.pointHoverBorderColor===e.pointHoverBorderColor&&t.pointHoverBorderWidth===e.pointHoverBorderWidth&&t.pointStyle===e.pointStyle&&t.hoverBackgroundColor===e.hoverBackgroundColor&&t.hoverBorderColor===e.hoverBorderColor&&t.hoverBorderWidth===e.hoverBorderWidth)}updateColors(){this.datasets.forEach((t,e)=>{this.colors&&this.colors[e]?Object.assign(t,this.colors[e]):Object.assign(t,function(t,e,n){if("pie"===t||"doughnut"===t)return c(p(n));if("polarArea"===t)return{backgroundColor:(l=p(n)).map(t=>s(t,.6)),borderColor:l.map(t=>s(t,1)),hoverBackgroundColor:l.map(t=>s(t,.8)),hoverBorderColor:l.map(t=>s(t,1))};var l;if("line"===t||"radar"===t)return function(t){return{backgroundColor:s(t,.4),borderColor:s(t,1),pointBackgroundColor:s(t,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:s(t,.8)}}(h(e));if("bar"===t||"horizontalBar"===t)return function(t){return{backgroundColor:s(t,.6),borderColor:s(t,1),hoverBackgroundColor:s(t,.8),hoverBorderColor:s(t,1)}}(h(e));if("bubble"===t)return c(p(n));if("scatter"===t)return c(p(n));throw new Error("getColors - Unsupported chart type "+t)}(this.chartType,e,t.data.length),Object.assign({},t))})}ngOnChanges(t){let e=b.Default;const n=t=>{e=t>e?t:e};switch(t.hasOwnProperty("data")&&t.data.currentValue&&(this.propagateDataToDatasets(t.data.currentValue),n(b.Update)),t.hasOwnProperty("datasets")&&t.datasets.currentValue&&(this.propagateDatasetsToData(t.datasets.currentValue),n(b.Update)),t.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=t.labels.currentValue),n(b.Update)),t.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=t.legend.currentValue,this.chart.generateLegend()),n(b.Update)),t.hasOwnProperty("options")&&n(b.Refresh),e){case b.Update:this.update();break;case b.Refresh:case b.Default:this.refresh()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}update(t,e){if(this.chart)return this.chart.update(t,e)}hideDataset(t,e){this.chart.getDatasetMeta(t).hidden=e,this.chart.update()}isDatasetHidden(t){return this.chart.getDatasetMeta(t).hidden}toBase64Image(){return this.chart.toBase64Image()}getChartConfiguration(){const t=this.getDatasets(),e=Object.assign({},this.options);!1===this.legend&&(e.legend={display:!1}),e.hover=e.hover||{},e.hover.onHover||(e.hover.onHover=(t,e)=>{e&&!e.length||this.chartHover.emit({event:t,active:e})}),e.onClick||(e.onClick=(t,e)=>{this.chartClick.emit({event:t,active:e})});const n=this.smartMerge(e,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:t},plugins:this.plugins,options:n}}getChartBuilder(t){const e=this.getChartConfiguration();return new l.Chart(t,e)}smartMerge(t,e,n=0){if(0===n&&(t=Object(o.cloneDeep)(t)),Object.keys(e).forEach(l=>{if(Array.isArray(e[l])){const i=t[l];i&&i.forEach(t=>{this.smartMerge(t,e[l][0],n+1)})}else"object"==typeof e[l]?(l in t||(t[l]={}),this.smartMerge(t[l],e[l],n+1)):t[l]=e[l]}),0===n)return t}isMultiLineLabel(t){return Array.isArray(t)}joinLabel(t){return t?this.isMultiLineLabel(t)?t.join(" "):t:null}propagateDatasetsToData(t){this.data=this.datasets.map(t=>t.data),this.chart&&(this.chart.data.datasets=t),this.updateColors()}propagateDataToDatasets(t){this.isMultiDataSet(t)?this.datasets&&t.length===this.datasets.length?this.datasets.forEach((e,n)=>{e.data=t[n]}):(this.datasets=t.map((t,e)=>({data:t,label:this.joinLabel(this.labels[e])||"Label "+e})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0].data=t,this.datasets.splice(1)):(this.datasets=[{data:t}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}isMultiDataSet(t){return Array.isArray(t[0])}getDatasets(){if(!this.datasets&&!this.data)throw new Error("ng-charts configuration error, data or datasets field are required to render chart "+this.chartType);return this.datasets?(this.propagateDatasetsToData(this.datasets),this.datasets):this.data?(this.propagateDataToDatasets(this.data),this.datasets):void 0}refresh(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}class g{}},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iInd:function(t,e,n){"use strict";var l=n("SVse"),i=n("8Y7J"),r=n("LRne"),o=n("Cfvw"),a=n("2Vo4"),s=n("HDdC");const u=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var c=n("itXk"),d=n("NXyV"),h=n("XNiG"),p=n("EY2u"),f=n("lJxs"),b=n("0EUg"),m=n("pLZG"),g=n("7o/Q"),_=n("4I5i");function y(t){return function(e){return 0===t?Object(p.b)():e.lift(new A(t))}}class A{constructor(t){if(this.total=t,this.total<0)throw new _.a}call(t,e){return e.subscribe(new v(t,this.total))}}class v extends g.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,l=this.count++;e.length<n?e.push(t):e[l%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,l=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(l[i])}}t.complete()}}function C(t=x){return e=>e.lift(new w(t))}class w{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new P(t,this.errorFactory))}}class P extends g.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function x(){return new u}function S(t=null){return e=>e.lift(new k(t))}class k{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new M(t,this.defaultValue))}}class M extends g.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var O=n("SpAZ");function D(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(m.a)((e,n)=>t(e,n,l)):O.a,y(1),n?S(e):C(()=>new u))}var T=n("JIr8"),E=n("IzEk");function I(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(m.a)((e,n)=>t(e,n,l)):O.a,Object(E.a)(1),n?S(e):C(()=>new u))}var L=n("5+tZ");class j{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new R(t,this.predicate,this.thisArg,this.source))}}class R extends g.a{constructor(t,e,n,l){super(t),this.predicate=e,this.thisArg=n,this.source=l,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var F=n("eIep"),N=n("JX91");function Y(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(l){return l.lift(new U(t,e,n))}}class U{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new B(t,this.accumulator,this.seed,this.hasSeed))}}class B extends g.a{constructor(t,e,n,l){super(t),this.accumulator=e,this._seed=n,this.hasSeed=l,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(l){this.destination.error(l)}this.seed=n,this.destination.next(n)}}var z=n("bOdf"),G=n("mCNh"),H=n("vkgz"),V=n("nYR2"),q=n("bHdf"),W=n("cUpR");n.d(e,"D",(function(){return dt})),n.d(e,"t",(function(){return xn})),n.d(e,"A",(function(){return jn})),n.d(e,"v",(function(){return On})),n.d(e,"B",(function(){return Rn})),n.d(e,"C",(function(){return Fn})),n.d(e,"x",(function(){return Tn})),n.d(e,"w",(function(){return Dn})),n.d(e,"z",(function(){return Ln})),n.d(e,"u",(function(){return kn})),n.d(e,"y",(function(){return In})),n.d(e,"E",(function(){return wn})),n.d(e,"n",(function(){return pn})),n.d(e,"p",(function(){return gn})),n.d(e,"d",(function(){return X})),n.d(e,"l",(function(){return nn})),n.d(e,"m",(function(){return hn})),n.d(e,"k",(function(){return rn})),n.d(e,"i",(function(){return Pn})),n.d(e,"j",(function(){return Nn})),n.d(e,"o",(function(){return Mn})),n.d(e,"b",(function(){return mn})),n.d(e,"e",(function(){return vn})),n.d(e,"g",(function(){return An})),n.d(e,"h",(function(){return yn})),n.d(e,"q",(function(){return Cn})),n.d(e,"a",(function(){return ee})),n.d(e,"f",(function(){return ht})),n.d(e,"r",(function(){return an})),n.d(e,"c",(function(){return Lt})),n.d(e,"s",(function(){return It}));class ${constructor(t,e){this.id=t,this.url=e}}class X extends ${constructor(t,e,n="imperative",l=null){super(t,e),this.navigationTrigger=n,this.restoredState=l}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class K extends ${constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class J extends ${constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Q extends ${constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Z extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends ${constructor(t,e,n,l,i){super(t,e),this.urlAfterRedirects=n,this.state=l,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ot{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ut{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dt{}const ht="primary";class pt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ft(t){return new pt(t)}function bt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function mt(t,e,n){const l=n.path.split("/");if(l.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||l.length<t.length))return null;const i={};for(let r=0;r<l.length;r++){const e=l[r],n=t[r];if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,l.length),posParams:i}}class gt{constructor(t,e){this.routes=t,this.module=e}}function _t(t,e=""){for(let n=0;n<t.length;n++){const l=t[n];yt(l,At(e,l))}}function yt(t,e){if(!t)throw new Error(`\n Invalid configuration of route '${e}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==ht)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&_t(t.children,e)}function At(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function vt(t){const e=t.children&&t.children.map(vt),n=e?Object.assign({},t,{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==ht&&(n.component=dt),n}function Ct(t,e){const n=Object.keys(t),l=Object.keys(e);if(!n||!l||n.length!=l.length)return!1;let i;for(let r=0;r<n.length;r++)if(i=n[r],t[i]!==e[i])return!1;return!0}function wt(t){return Array.prototype.concat.apply([],t)}function Pt(t){return t.length>0?t[t.length-1]:null}function xt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function St(t){return Object(i.Jb)(t)?t:Object(i.Kb)(t)?Object(o.a)(Promise.resolve(t)):Object(r.a)(t)}function kt(t,e,n){return n?function(t,e){return Ct(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Tt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const l in n.children){if(!e.children[l])return!1;if(!t(e.children[l],n.children[l]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,l,i){if(n.segments.length>i.length)return!!Tt(n.segments.slice(0,i.length),i)&&!l.hasChildren();if(n.segments.length===i.length){if(!Tt(n.segments,i))return!1;for(const e in l.children){if(!n.children[e])return!1;if(!t(n.children[e],l.children[e]))return!1}return!0}{const t=i.slice(0,n.segments.length),r=i.slice(n.segments.length);return!!Tt(n.segments,t)&&!!n.children[ht]&&e(n.children[ht],l,r)}}(e,n,n.segments)}(t.root,e.root)}class Mt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return jt.serialize(this)}}class Ot{constructor(t,e){this.segments=t,this.children=e,this.parent=null,xt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rt(this)}}class Dt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ft(this.parameters)),this._parameterMap}toString(){return zt(this)}}function Tt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Et(t,e){let n=[];return xt(t.children,(t,l)=>{l===ht&&(n=n.concat(e(t,l)))}),xt(t.children,(t,l)=>{l!==ht&&(n=n.concat(e(t,l)))}),n}class It{}class Lt{parse(t){const e=new Wt(t);return new Mt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Rt(e);if(n){const n=e.children[ht]?t(e.children[ht],!1):"",l=[];return xt(e.children,(e,n)=>{n!==ht&&l.push(`${n}:${t(e,!1)}`)}),l.length>0?`${n}(${l.join("//")})`:n}{const n=Et(e,(n,l)=>l===ht?[t(e.children[ht],!1)]:[`${l}:${t(n,!1)}`]);return`${Rt(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Nt(e)}=${Nt(t)}`).join("&"):`${Nt(e)}=${Nt(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const jt=new Lt;function Rt(t){return t.segments.map(t=>zt(t)).join("/")}function Ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(t){return Ft(t).replace(/%3B/gi,";")}function Yt(t){return Ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ut(t){return decodeURIComponent(t)}function Bt(t){return Ut(t.replace(/\+/g,"%20"))}function zt(t){return`${Yt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Yt(t)}=${Yt(e[t])}`).join("")}`;var e}const Gt=/^[^\/()?;=#]+/;function Ht(t){const e=t.match(Gt);return e?e[0]:""}const Vt=/^[^=?&#]+/,qt=/^[^?&#]+/;class Wt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ot([],{}):new Ot([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ht]=new Ot(t,e)),n}parseSegment(){const t=Ht(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Dt(Ut(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ht(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ht(this.remaining);t&&(n=t,this.capture(n))}t[Ut(e)]=Ut(n)}parseQueryParam(t){const e=function(t){const e=t.match(Vt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(qt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const l=Bt(e),i=Bt(n);if(t.hasOwnProperty(l)){let e=t[l];Array.isArray(e)||(e=[e],t[l]=e),e.push(i)}else t[l]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ht(this.remaining),l=this.remaining[n.length];if("/"!==l&&")"!==l&&";"!==l)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=ht);const r=this.parseChildren();e[i]=1===Object.keys(r).length?r[ht]:new Ot([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class $t{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Xt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Xt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Kt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Kt(t,this._root).map(t=>t.value)}}function Xt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Xt(t,n);if(e)return e}return null}function Kt(t,e){if(t===e.value)return[e];for(const n of e.children){const l=Kt(t,n);if(l.length)return l.unshift(e),l}return[]}class Jt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Qt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Zt extends $t{constructor(t,e){super(t),this.snapshot=e,re(this,t)}toString(){return this.snapshot.toString()}}function te(t,e){const n=function(t,e){const n=new le([],{},{},"",{},ht,e,null,t.root,-1,{});return new ie("",new Jt(n,[]))}(t,e),l=new a.a([new Dt("",{})]),i=new a.a({}),r=new a.a({}),o=new a.a({}),s=new a.a(""),u=new ee(l,i,o,s,r,ht,e,n.root);return u.snapshot=n.root,new Zt(new Jt(u,[]),n)}class ee{constructor(t,e,n,l,i,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=l,this.data=i,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(t=>ft(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>ft(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ne(t,e="emptyOnly"){const n=t.pathFromRoot;let l=0;if("always"!==e)for(l=n.length-1;l>=1;){const t=n[l],e=n[l-1];if(t.routeConfig&&""===t.routeConfig.path)l--;else{if(e.component)break;l--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(l))}class le{constructor(t,e,n,l,i,r,o,a,s,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=l,this.data=i,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=s,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ie extends $t{constructor(t,e){super(e),this.url=t,re(this,e)}toString(){return oe(this._root)}}function re(t,e){e.value._routerState=t,e.children.forEach(e=>re(t,e))}function oe(t){const e=t.children.length>0?` { ${t.children.map(oe).join(", ")} } `:"";return`${t.value}${e}`}function ae(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ct(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Ct(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Ct(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Ct(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function se(t,e){var n,l;return Ct(t.params,e.params)&&Tt(n=t.url,l=e.url)&&n.every((t,e)=>Ct(t.parameters,l[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||se(t.parent,e.parent))}function ue(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ce(t,e,n,l,i){let r={};return l&&xt(l,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Mt(n.root===t?e:function t(e,n,l){const i={};return xt(e.children,(e,r)=>{i[r]=e===n?l:t(e,n,l)}),new Ot(e.segments,i)}(n.root,t,e),r,i)}class de{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ue(n[0]))throw new Error("Root segment cannot have matrix parameters");const l=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(l&&l!==Pt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class he{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function pe(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[ht]:""+t}function fe(t,e,n){if(t||(t=new Ot([],{})),0===t.segments.length&&t.hasChildren())return be(t,e,n);const l=function(t,e,n){let l=0,i=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(l>=n.length)return r;const e=t.segments[i],o=pe(n[l]),a=l<n.length-1?n[l+1]:null;if(i>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!ye(o,a,e))return r;l+=2}else{if(!ye(o,{},e))return r;l++}i++}return{match:!0,pathIndex:i,commandIndex:l}}(t,e,n),i=n.slice(l.commandIndex);if(l.match&&l.pathIndex<t.segments.length){const e=new Ot(t.segments.slice(0,l.pathIndex),{});return e.children[ht]=new Ot(t.segments.slice(l.pathIndex),t.children),be(e,0,i)}return l.match&&0===i.length?new Ot(t.segments,{}):l.match&&!t.hasChildren()?me(t,e,n):l.match?be(t,0,i):me(t,e,n)}function be(t,e,n){if(0===n.length)return new Ot(t.segments,{});{const l=function(t){return"object"!=typeof t[0]?{[ht]:t}:void 0===t[0].outlets?{[ht]:t}:t[0].outlets}(n),i={};return xt(l,(n,l)=>{null!==n&&(i[l]=fe(t.children[l],e,n))}),xt(t.children,(t,e)=>{void 0===l[e]&&(i[e]=t)}),new Ot(t.segments,i)}}function me(t,e,n){const l=t.segments.slice(0,e);let i=0;for(;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){const t=ge(n[i].outlets);return new Ot(l,t)}if(0===i&&ue(n[0])){l.push(new Dt(t.segments[e].path,n[0])),i++;continue}const r=pe(n[i]),o=i<n.length-1?n[i+1]:null;r&&o&&ue(o)?(l.push(new Dt(r,_e(o))),i+=2):(l.push(new Dt(r,{})),i++)}return new Ot(l,{})}function ge(t){const e={};return xt(t,(t,n)=>{null!==t&&(e[n]=me(new Ot([],{}),0,t))}),e}function _e(t){const e={};return xt(t,(t,n)=>e[n]=""+t),e}function ye(t,e,n){return t==n.path&&Ct(e,n.parameters)}class Ae{constructor(t,e,n,l){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=l}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ae(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const l=Qt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,l[e],n),delete l[e]}),xt(l,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const l=t.value,i=e?e.value:null;if(l===i)if(l.component){const i=n.getContext(l.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),l=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:l})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const l=Qt(t),i=t.value.component?n.children:e;xt(l,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const l=Qt(e);t.children.forEach(t=>{this.activateRoutes(t,l[t.value.outlet],n),this.forwardEvent(new ut(t.value.snapshot))}),t.children.length&&this.forwardEvent(new at(t.value.snapshot))}activateRoutes(t,e,n){const l=t.value,i=e?e.value:null;if(ae(l),l===i)if(l.component){const i=n.getOrCreateContext(l.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(l.component){const e=n.getOrCreateContext(l.outlet);if(this.routeReuseStrategy.shouldAttach(l.snapshot)){const t=this.routeReuseStrategy.retrieve(l.snapshot);this.routeReuseStrategy.store(l.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ve(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(l.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=l,e.resolver=i,e.outlet&&e.outlet.activateWith(l,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ve(t){ae(t.value),t.children.forEach(ve)}function Ce(t){return"function"==typeof t}function we(t){return t instanceof Mt}class Pe{constructor(t){this.segmentGroup=t||null}}class xe{constructor(t){this.urlTree=t}}function Se(t){return new s.a(e=>e.error(new Pe(t)))}function ke(t){return new s.a(e=>e.error(new xe(t)))}function Me(t){return new s.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Oe{constructor(t,e,n,l,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=l,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(i.E)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ht).pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(T.a)(t=>{if(t instanceof xe)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Pe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ht).pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(T.a)(t=>{if(t instanceof Pe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const l=t.segments.length>0?new Ot([],{[ht]:t}):t;return new Mt(l,e,n)}expandSegmentGroup(t,e,n,l){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new Ot([],t))):this.expandSegment(t,n,e,n.segments,l,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(r.a)({});const n=[],l=[],i={};return xt(t,(t,r)=>{const o=e(r,t).pipe(Object(f.a)(t=>i[r]=t));r===ht?n.push(o):l.push(o)}),r.a.apply(null,n.concat(l)).pipe(Object(b.a)(),D(),Object(f.a)(()=>i))}(n.children,(n,l)=>this.expandSegmentGroup(t,e,l,n))}expandSegment(t,e,n,l,i,o){return Object(r.a)(...n).pipe(Object(f.a)(a=>this.expandSegmentAgainstRoute(t,e,n,a,l,i,o).pipe(Object(T.a)(t=>{if(t instanceof Pe)return Object(r.a)(null);throw t}))),Object(b.a)(),I(t=>!!t),Object(T.a)((t,n)=>{if(t instanceof u||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,l,i))return Object(r.a)(new Ot([],{}));throw new Pe(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,l,i,r,o){return Ie(l)!==r?Se(e):void 0===l.redirectTo?this.matchSegmentAgainstRoute(t,e,l,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r):Se(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,l,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,l){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ke(i):this.lineralizeSegments(n,i).pipe(Object(L.a)(n=>{const i=new Ot(n,{});return this.expandSegment(t,i,e,n,l,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r){const{matched:o,consumedSegments:a,lastChild:s,positionalParamSegments:u}=De(e,l,i);if(!o)return Se(e);const c=this.applyRedirectCommands(a,l.redirectTo,u);return l.redirectTo.startsWith("/")?ke(c):this.lineralizeSegments(l,c).pipe(Object(L.a)(l=>this.expandSegment(t,e,n,l.concat(i.slice(s)),r,!1)))}matchSegmentAgainstRoute(t,e,n,l){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new Ot(l,{})))):Object(r.a)(new Ot(l,{}));const{matched:i,consumedSegments:o,lastChild:a}=De(e,n,l);if(!i)return Se(e);const s=l.slice(a);return this.getChildConfig(t,n,l).pipe(Object(L.a)(t=>{const n=t.module,l=t.routes,{segmentGroup:i,slicedSegments:a}=function(t,e,n,l){return n.length>0&&function(t,e,n){return n.some(n=>Ee(t,e,n)&&Ie(n)!==ht)}(t,n,l)?{segmentGroup:Te(new Ot(e,function(t,e){const n={};n[ht]=e;for(const l of t)""===l.path&&Ie(l)!==ht&&(n[Ie(l)]=new Ot([],{}));return n}(l,new Ot(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ee(t,e,n))}(t,n,l)?{segmentGroup:Te(new Ot(t.segments,function(t,e,n,l){const i={};for(const r of n)Ee(t,e,r)&&!l[Ie(r)]&&(i[Ie(r)]=new Ot([],{}));return Object.assign({},l,i)}(t,n,l,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,s,l);return 0===a.length&&i.hasChildren()?this.expandChildren(n,l,i).pipe(Object(f.a)(t=>new Ot(o,t))):0===l.length&&0===a.length?Object(r.a)(new Ot(o,{})):this.expandSegment(n,i,l,a,ht,!0).pipe(Object(f.a)(t=>new Ot(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(r.a)(new gt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(r.a)(e._loadedConfig):function(t,e,n){const l=e.canLoad;return l&&0!==l.length?Object(o.a)(l).pipe(Object(f.a)(l=>{const i=t.get(l);let r;if(function(t){return t&&Ce(t.canLoad)}(i))r=i.canLoad(e,n);else{if(!Ce(i))throw new Error("Invalid CanLoad guard");r=i(e,n)}return St(r)})).pipe(Object(b.a)(),(i=t=>!0===t,t=>t.lift(new j(i,void 0,t)))):Object(r.a)(!0);var i}(t.injector,e,n).pipe(Object(L.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new s.a(e=>e.error(bt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(r.a)(new gt([],t))}lineralizeSegments(t,e){let n=[],l=e.root;for(;;){if(n=n.concat(l.segments),0===l.numberOfChildren)return Object(r.a)(n);if(l.numberOfChildren>1||!l.children[ht])return Me(t.redirectTo);l=l.children[ht]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,l){const i=this.createSegmentGroup(t,e.root,n,l);return new Mt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return xt(t,(t,l)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[l]=e[i]}else n[l]=t}),n}createSegmentGroup(t,e,n,l){const i=this.createSegments(t,e.segments,n,l);let r={};return xt(e.children,(e,i)=>{r[i]=this.createSegmentGroup(t,e,n,l)}),new Ot(i,r)}createSegments(t,e,n,l){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,l):this.findOrReturn(e,n))}findPosParam(t,e,n){const l=n[e.path.substring(1)];if(!l)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return l}findOrReturn(t,e){let n=0;for(const l of e){if(l.path===t.path)return e.splice(n),l;n++}return t}}function De(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const l=(e.matcher||mt)(n,t,e);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Te(t){if(1===t.numberOfChildren&&t.children[ht]){const e=t.children[ht];return new Ot(t.segments.concat(e.segments),e.children)}return t}function Ee(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ie(t){return t.outlet||ht}class Le{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class je{constructor(t,e){this.component=t,this.route=e}}function Re(t,e,n){const l=t._root;return function t(e,n,l,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Qt(n);return e.children.forEach(e=>{!function(e,n,l,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,s=l?l.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Tt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Tt(t.url,e.url)||!Ct(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!se(t,e)||!Ct(t.queryParams,e.queryParams);case"paramsChange":default:return!se(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Le(i)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?s?s.children:null:l,i,r),u&&r.canDeactivateChecks.push(new je(s&&s.outlet&&s.outlet.component||null,a))}else a&&Ne(n,s,r),r.canActivateChecks.push(new Le(i)),t(e,null,o.component?s?s.children:null:l,i,r)}(e,o[e.value.outlet],l,i.concat([e.value]),r),delete o[e.value.outlet]}),xt(o,(t,e)=>Ne(t,l.getContext(e),r)),r}(l,e?e._root:null,n,[l.value])}function Fe(t,e,n){const l=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(l?l.module.injector:n).get(t)}function Ne(t,e,n){const l=Qt(t),i=t.value;xt(l,(t,l)=>{Ne(t,i.component?e?e.children.getContext(l):null:e,n)}),n.canDeactivateChecks.push(new je(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}const Ye=Symbol("INITIAL_VALUE");function Ue(){return Object(F.a)(t=>Object(c.a)(...t.map(t=>t.pipe(Object(E.a)(1),Object(N.a)(Ye)))).pipe(Y((t,e)=>{let n=!1;return e.reduce((t,l,i)=>{if(t!==Ye)return t;if(l===Ye&&(n=!0),!n){if(!1===l)return l;if(i===e.length-1||we(l))return l}return t},t)},Ye),Object(m.a)(t=>t!==Ye),Object(f.a)(t=>we(t)?t:!0===t),Object(E.a)(1)))}function Be(t,e){return null!==t&&e&&e(new st(t)),Object(r.a)(!0)}function ze(t,e){return null!==t&&e&&e(new ot(t)),Object(r.a)(!0)}function Ge(t,e,n){const l=e.routeConfig?e.routeConfig.canActivate:null;if(!l||0===l.length)return Object(r.a)(!0);const i=l.map(l=>Object(d.a)(()=>{const i=Fe(l,e,n);let r;if(function(t){return t&&Ce(t.canActivate)}(i))r=St(i.canActivate(e,t));else{if(!Ce(i))throw new Error("Invalid CanActivate guard");r=St(i(e,t))}return r.pipe(I())}));return Object(r.a)(i).pipe(Ue())}function He(t,e,n){const l=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(d.a)(()=>{const i=e.guards.map(i=>{const r=Fe(i,e.node,n);let o;if(function(t){return t&&Ce(t.canActivateChild)}(r))o=St(r.canActivateChild(l,t));else{if(!Ce(r))throw new Error("Invalid CanActivateChild guard");o=St(r(l,t))}return o.pipe(I())});return Object(r.a)(i).pipe(Ue())}));return Object(r.a)(i).pipe(Ue())}class Ve{}class qe{constructor(t,e,n,l,i,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=l,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=r}recognize(){try{const t=Xe(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ht),n=new le([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),l=new Jt(n,e),i=new ie(this.url,l);return this.inheritParamsAndData(i._root),Object(r.a)(i)}catch(t){return new s.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ne(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Et(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),l=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${l}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===ht?-1:e.value.outlet===ht?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,l){for(const r of t)try{return this.processSegmentAgainstRoute(r,e,n,l)}catch(i){if(!(i instanceof Ve))throw i}if(this.noLeftoversInUrl(e,n,l))return[];throw new Ve}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,l){if(t.redirectTo)throw new Ve;if((t.outlet||ht)!==l)throw new Ve;let i,r=[],o=[];if("**"===t.path){const r=n.length>0?Pt(n).parameters:{};i=new le(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),l,t.component,t,We(e),$e(e)+n.length,Ze(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Ve;return{consumedSegments:[],lastChild:0,parameters:{}}}const l=(e.matcher||mt)(n,t,e);if(!l)throw new Ve;const i={};xt(l.posParams,(t,e)=>{i[e]=t.path});const r=l.consumed.length>0?Object.assign({},i,l.consumed[l.consumed.length-1].parameters):i;return{consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:r}}(e,t,n);r=a.consumedSegments,o=n.slice(a.lastChild),i=new le(r,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),l,t.component,t,We(e),$e(e)+r.length,Ze(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:s,slicedSegments:u}=Xe(e,r,o,a,this.relativeLinkResolution);if(0===u.length&&s.hasChildren()){const t=this.processChildren(a,s);return[new Jt(i,t)]}if(0===a.length&&0===u.length)return[new Jt(i,[])];const c=this.processSegment(a,s,u,ht);return[new Jt(i,c)]}}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function $e(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Xe(t,e,n,l,i){if(n.length>0&&function(t,e,n){return n.some(n=>Ke(t,e,n)&&Je(n)!==ht)}(t,n,l)){const i=new Ot(e,function(t,e,n,l){const i={};i[ht]=l,l._sourceSegment=t,l._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Je(r)!==ht){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Je(r)]=n}return i}(t,e,l,new Ot(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ke(t,e,n))}(t,n,l)){const r=new Ot(t.segments,function(t,e,n,l,i,r){const o={};for(const a of l)if(Ke(t,n,a)&&!i[Je(a)]){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Je(a)]=n}return Object.assign({},i,o)}(t,e,n,l,t.children,i));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Ot(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ke(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Je(t){return t.outlet||ht}function Qe(t){return t.data||{}}function Ze(t){return t.resolve||{}}function tn(t,e,n,l){const i=Fe(t,e,l);return St(i.resolve?i.resolve(e,n):i(e,n))}function en(t){return function(e){return e.pipe(Object(F.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)([e])}))}}class nn{}class ln{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const rn=new i.w("ROUTES");class on{constructor(t,e,n,l){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=l}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const l=n.create(t);return new gt(wt(l.injector.get(rn)).map(vt),l)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):St(t()).pipe(Object(L.a)(t=>t instanceof i.C?Object(r.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class an{}class sn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function un(t){throw t}function cn(t,e,n){return e.parse("/")}function dn(t,e){return Object(r.a)(null)}class hn{constructor(t,e,n,l,r,o,s,u){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=l,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new h.a,this.errorHandler=un,this.malformedUriErrorHandler=cn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dn,afterPreactivation:dn},this.urlHandlingStrategy=new sn,this.routeReuseStrategy=new ln,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(i.E),this.console=r.get(i.mb);const c=r.get(i.G);this.isNgZoneEnabled=c instanceof i.G,this.resetConfig(u),this.currentUrlTree=new Mt(new Ot([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new on(o,s,t=>this.triggerEvent(new it(t)),t=>this.triggerEvent(new rt(t))),this.routerState=te(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(m.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(F.a)(t=>{let n=!1,l=!1;return Object(r.a)(t).pipe(Object(H.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(F.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(r.a)(t).pipe(Object(F.a)(t=>{const n=this.transitions.getValue();return e.next(new X(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.a:[t]}),Object(F.a)(t=>Promise.resolve(t)),(l=this.ngModule.injector,i=this.configLoader,o=this.urlSerializer,a=this.config,function(t){return t.pipe(Object(F.a)(t=>function(t,e,n,l,i){return new Oe(t,e,n,l,i).apply()}(l,i,o,t.extractedUrl,a).pipe(Object(f.a)(e=>Object.assign({},t,{urlAfterRedirects:e})))))}),Object(H.a)(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,l,i){return function(r){return r.pipe(Object(L.a)(r=>function(t,e,n,l,i="emptyOnly",r="legacy"){return new qe(t,e,n,l,i,r).recognize()}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),l,i).pipe(Object(f.a)(t=>Object.assign({},r,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(H.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(H.a)(t=>{const n=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var l,i,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:l,source:i,restoredState:o,extras:a}=t,s=new X(n,this.serializeUrl(l),i,o);e.next(s);const u=te(l,this.rootComponentType).snapshot;return Object(r.a)(Object.assign({},t,{targetSnapshot:u,urlAfterRedirects:l,extras:Object.assign({},a,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.a}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:l,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:l,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),Object(H.a)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign({},t,{guards:Re(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(L.a)(n=>{const{targetSnapshot:l,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:s}}=n;return 0===s.length&&0===a.length?Object(r.a)(Object.assign({},n,{guardsResult:!0})):function(t,e,n,l){return Object(o.a)(t).pipe(Object(L.a)(t=>function(t,e,n,l,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(r.a)(!0);const a=o.map(r=>{const o=Fe(r,e,i);let a;if(function(t){return t&&Ce(t.canDeactivate)}(o))a=St(o.canDeactivate(t,e,n,l));else{if(!Ce(o))throw new Error("Invalid CanDeactivate guard");a=St(o(t,e,n,l))}return a.pipe(I())});return Object(r.a)(a).pipe(Ue())}(t.component,t.route,n,e,l)),I(t=>!0!==t,!0))}(s,l,i,t).pipe(Object(L.a)(n=>n&&"boolean"==typeof n?function(t,e,n,l){return Object(o.a)(e).pipe(Object(z.a)(e=>Object(o.a)([ze(e.route.parent,l),Be(e.route,l),He(t,e.path,n),Ge(t,e.route,n)]).pipe(Object(b.a)(),I(t=>!0!==t,!0))),I(t=>!0!==t,!0))}(l,a,t,e):Object(r.a)(n)),Object(f.a)(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(H.a)(t=>{if(we(t.guardsResult)){const e=bt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(H.a)(t=>{const e=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(m.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new J(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),en(t=>{if(t.guards.canActivateChecks.length)return Object(r.a)(t).pipe(Object(H.a)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(Object(L.a)(t=>{const{targetSnapshot:l,guards:{canActivateChecks:i}}=t;return i.length?Object(o.a)(i).pipe(Object(z.a)(t=>function(t,e,n,l){return function(t,e,n,l){const i=Object.keys(t);if(0===i.length)return Object(r.a)({});if(1===i.length){const r=i[0];return tn(t[r],e,n,l).pipe(Object(f.a)(t=>({[r]:t})))}const a={};return Object(o.a)(i).pipe(Object(L.a)(i=>tn(t[i],e,n,l).pipe(Object(f.a)(t=>(a[i]=t,t))))).pipe(D(),Object(f.a)(()=>a))}(t._resolve,t,e,l).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,ne(t,n).resolve),null)))}(t.route,l,e,n)),function(t,e){return arguments.length>=2?function(n){return Object(G.a)(Y(t,e),y(1),S(e))(n)}:function(e){return Object(G.a)(Y((e,n,l)=>t(e,n,l+1)),y(1))(e)}}((t,e)=>t),Object(f.a)(e=>t)):Object(r.a)(t)}))}),Object(H.a)(t=>{const e=new lt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:l,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:l,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const l=function t(e,n,l){if(l&&e.shouldReuseRoute(n.value,l.value.snapshot)){const i=l.value;i._futureSnapshot=n.value;const r=function(e,n,l){return n.children.map(n=>{for(const i of l.children)if(e.shouldReuseRoute(i.value.snapshot,n.value))return t(e,n,i);return t(e,n)})}(e,n,l);return new Jt(i,r)}{const l=e.retrieve(n.value);if(l){const t=l.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let l=0;l<e.children.length;++l)t(e.children[l],n.children[l])}(n,t),t}{const l=new ee(new a.a((i=n.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),r=n.children.map(n=>t(e,n));return new Jt(l,r)}}var i}(t,e._root,n?n._root:void 0);return new Zt(l,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Object(H.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,s=this.routeReuseStrategy,u=t=>this.triggerEvent(t),Object(f.a)(t=>(new Ae(s,t.targetRouterState,t.currentRouterState,u).activate(i),t))),Object(H.a)({next(){n=!0},complete(){n=!0}}),Object(V.a)(()=>{if(!n&&!l){this.resetUrlToCurrentUrlTree();const n=new J(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(T.a)(n=>{if(l=!0,(i=n)&&i.ngNavigationCancelingError){const l=we(n.url);l||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new J(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),t.resolve(!1),l&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const l=new Q(t.id,this.serializeUrl(t.extractedUrl),n);e.next(l);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var i;return p.a}));var i,s,u}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign({},this.getTransition(),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",l=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,l,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){_t(t),this.config=t.map(vt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:l,fragment:r,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:s}=e;Object(i.hb)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=s?this.currentUrlTree.fragment:r;let d=null;if(a)switch(a){case"merge":d=Object.assign({},this.currentUrlTree.queryParams,l);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=l||null}else d=o?this.currentUrlTree.queryParams:l||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,l,i){if(0===n.length)return ce(e.root,e.root,e,l,i);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new de(!0,0,t);let e=0,n=!1;const l=t.reduce((t,l,i)=>{if("object"==typeof l&&null!=l){if(l.outlets){const e={};return xt(l.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(l.segmentPath)return[...t,l.segmentPath]}return"string"!=typeof l?[...t,l]:0===i?(l.split("/").forEach((l,i)=>{0==i&&"."===l||(0==i&&""===l?n=!0:".."===l?e++:""!=l&&t.push(l))}),t):[...t,l]},[]);return new de(n,e,l)}(n);if(r.toRoot())return ce(e.root,new Ot([],{}),e,l,i);const o=function(t,e,n){if(t.isAbsolute)return new he(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new he(n.snapshot._urlSegment,!0,0);const l=ue(t.commands[0])?0:1;return function(t,e,n){let l=t,i=e,r=n;for(;r>i;){if(r-=i,l=l.parent,!l)throw new Error("Invalid number of '../'");i=l.segments.length}return new he(l,!1,i-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+l,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?be(o.segmentGroup,o.index,r.commands):fe(o.segmentGroup,o.index,r.commands);return ce(o.segmentGroup,a,e,l,i)}(u,this.currentUrlTree,t,d,c)}navigateByUrl(t,e={skipLocationChange:!1}){Object(i.hb)()&&this.isNgZoneEnabled&&!i.G.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=we(t)?t:this.parseUrl(t),l=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(we(t))return kt(this.currentUrlTree,t,e);const n=this.parseUrl(t);return kt(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const l=t[n];return null!=l&&(e[n]=l),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,l){const i=this.getTransition();if(i&&"imperative"!==e&&"imperative"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"hashchange"==e&&"popstate"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"popstate"==e&&"hashchange"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);let r=null,o=null;const a=new Promise((t,e)=>{r=t,o=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:l,resolve:r,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,l){const i=this.urlSerializer.serialize(t);l=l||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign({},l,{navigationId:n})):this.location.go(i,"",Object.assign({},l,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class pn{constructor(t,e,n,l,i){this.router=t,this.route=e,this.commands=[],null==n&&l.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(i.hb)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:fn(this.skipLocationChange),replaceUrl:fn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fn(this.preserveFragment)})}}function fn(t){return""===t||!!t}class bn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new bn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class gn{constructor(t,e,n,l,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.name=l||ht,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),l=this.parentContexts.getOrCreateContext(this.name).children,i=new _n(t,l,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class _n{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ee?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}class yn{}class An{preload(t,e){return e().pipe(Object(T.a)(()=>Object(r.a)(null)))}}class vn{preload(t,e){return Object(r.a)(null)}}class Cn{constructor(t,e,n,l,i){this.router=t,this.injector=l,this.preloadingStrategy=i,this.loader=new on(e,n,e=>t.triggerEvent(new it(e)),e=>t.triggerEvent(new rt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(m.a)(t=>t instanceof K),Object(z.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.E);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const l of e)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const t=l._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else l.loadChildren&&!l.canLoad?n.push(this.preloadConfig(t,l)):l.children&&n.push(this.processRoutes(t,l.children));return Object(o.a)(n).pipe(Object(q.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(L.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}class wn{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof X?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof K&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ct&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ct(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Pn=new i.w("ROUTER_CONFIGURATION"),xn=new i.w("ROUTER_FORROOT_GUARD"),Sn=[l.j,{provide:It,useClass:Lt},{provide:hn,useFactory:In,deps:[i.g,It,mn,l.j,i.x,i.D,i.k,rn,Pn,[an,new i.H],[nn,new i.H]]},mn,{provide:ee,useFactory:Ln,deps:[hn]},{provide:i.D,useClass:i.S},Cn,vn,An,{provide:Pn,useValue:{enableTracing:!1}}];function kn(){return new i.F("Router",hn)}class Mn{constructor(t,e){}static forRoot(t,e){return{ngModule:Mn,providers:[Sn,En(t),{provide:xn,useFactory:Tn,deps:[[hn,new i.H,new i.R]]},{provide:Pn,useValue:e||{}},{provide:l.k,useFactory:Dn,deps:[l.w,[new i.u(l.a),new i.H],Pn]},{provide:wn,useFactory:On,deps:[hn,l.x,Pn]},{provide:yn,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:vn},{provide:i.F,multi:!0,useFactory:kn},[jn,{provide:i.d,multi:!0,useFactory:Rn,deps:[jn]},{provide:Nn,useFactory:Fn,deps:[jn]},{provide:i.b,multi:!0,useExisting:Nn}]]}}static forChild(t){return{ngModule:Mn,providers:[En(t)]}}}function On(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new wn(t,e,n)}function Dn(t,e,n={}){return n.useHash?new l.g(t,e):new l.v(t,e)}function Tn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function En(t){return[{provide:i.a,multi:!0,useValue:t},{provide:rn,multi:!0,useValue:t}]}function In(t,e,n,l,i,r,o,a,s={},u,c){const d=new hn(null,e,n,l,i,r,o,wt(a));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),s.errorHandler&&(d.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(d.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){const t=Object(W.r)();d.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return s.onSameUrlNavigation&&(d.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(d.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(d.relativeLinkResolution=s.relativeLinkResolution),d}function Ln(t){return t.routerState.root}class jn{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new h.a}appInitializer(){return this.injector.get(l.i,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(hn),l=this.injector.get(Pn);if(this.isLegacyDisabled(l)||this.isLegacyEnabled(l))t(!0);else if("disabled"===l.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==l.initialNavigation)throw new Error(`Invalid initialNavigation options: '${l.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(r.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Pn),n=this.injector.get(Cn),l=this.injector.get(wn),r=this.injector.get(hn),o=this.injector.get(i.g);t===o.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),l.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}function Rn(t){return t.appInitializer.bind(t)}function Fn(t){return t.bootstrapListener.bind(t)}const Nn=new i.w("Router Initializer")},iNpl:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("mkQN"),u=n("W8M7"),c=n("mrzG"),d=n("tYnX"),h=n("kVmM"),p=n("l2lA"),f=n("JfHk"),b=n("q7cr"),m=n("u2yf"),g=n("Cp04"),_=n("xWBw"),y=n("TZgD"),A=n("HEh+"),v=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),C=function(t){function e(e,n,l){var r=t.call(this)||this;if(r.endss_=[],r.flatInteriorPointsRevision_=-1,r.flatInteriorPoints_=null,r.maxDelta_=-1,r.maxDeltaRevision_=-1,r.orientedRevision_=-1,r.orientedFlatCoordinates_=null,!l&&!Array.isArray(e[0])){for(var o=r.getLayout(),a=e,s=[],u=[],c=0,d=a.length;c<d;++c){var h=a[c];0===c&&(o=h.getLayout());for(var p=s.length,f=h.getEnds(),b=0,m=f.length;b<m;++b)f[b]+=p;Object(i.c)(s,h.getFlatCoordinates()),u.push(f)}n=o,e=s,l=u}return void 0!==n&&l?(r.setFlatCoordinates(n,e),r.endss_=l):r.setCoordinates(e,n),r}return v(e,t),e.prototype.appendPolygon=function(t){var e;if(this.flatCoordinates){var n=this.flatCoordinates.length;Object(i.c)(this.flatCoordinates,t.getFlatCoordinates());for(var l=0,r=(e=t.getEnds().slice()).length;l<r;++l)e[l]+=n}else this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();this.endss_.push(e),this.changed()},e.prototype.clone=function(){for(var t=this.endss_.length,n=new Array(t),l=0;l<t;++l)n[l]=this.endss_[l].slice();return new e(this.flatCoordinates.slice(),this.layout,n)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(p.f)(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(p.c)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.containsXY=function(t,e){return Object(f.d)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)},e.prototype.getArea=function(){return Object(d.c)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(y.e)(e,0,this.endss_,this.stride,t)):e=this.flatCoordinates,Object(m.c)(e,0,this.endss_,this.stride)},e.prototype.getEndss=function(){return this.endss_},e.prototype.getFlatInteriorPoints=function(){if(this.flatInteriorPointsRevision_!=this.getRevision()){var t=Object(h.a)(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=Object(g.b)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_},e.prototype.getInteriorPoints=function(){return new s.a(this.getFlatInteriorPoints().slice(),o.a.XYM)},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(y.c)(t,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(y.e)(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(A.d)(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),n,0,l),new e(n,o.a.XY,l)},e.prototype.getPolygon=function(t){if(t<0||this.endss_.length<=t)return null;var e;if(0===t)e=0;else{var n=this.endss_[t-1];e=n[n.length-1]}var l=this.endss_[t].slice(),i=l[l.length-1];if(0!==e)for(var r=0,o=l.length;r<o;++r)l[r]-=e;return new u.a(this.flatCoordinates.slice(e,i),this.layout,l)},e.prototype.getPolygons=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.endss_,l=[],i=0,r=0,o=n.length;r<o;++r){var a=n[r].slice(),s=a[a.length-1];if(0!==i)for(var c=0,d=a.length;c<d;++c)a[c]-=i;var h=new u.a(e.slice(i,s),t,a);l.push(h),i=s}return l},e.prototype.getType=function(){return a.a.MULTI_POLYGON},e.prototype.intersectsExtent=function(t){return Object(_.d)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(b.d)(this.flatCoordinates,0,t,this.stride,this.endss_);if(0===n.length)this.flatCoordinates.length=0;else{var l=n[n.length-1];this.flatCoordinates.length=0===l.length?0:l[l.length-1]}this.changed()},e}(c.a);e.a=C},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},igqZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"c",(function(){return o}));class l{constructor(t){this._animationMode=t}}class i{}class r{}class o{}},itXk:function(t,e,n){"use strict";var l=n("z+Ro"),i=n("DH7j"),r=n("7o/Q");class o extends r.a{notifyNext(t,e,n,l,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var s=n("SeVD"),u=n("HDdC");function c(t,e,n,l,i=new a(t,n,l)){if(!i.closed)return e instanceof u.a?e.subscribe(i):Object(s.a)(e)(i)}var d=n("yCtX");n.d(e,"a",(function(){return p}));const h={};function p(...t){let e=void 0,n=void 0;return Object(l.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(d.a)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new b(t,this.resultSelector))}}class b extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(h),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(c(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const l=this.values,i=this.toRespond?l[n]===h?--this.toRespond:this.toRespond:0;l[n]=e,0===i&&(this.resultSelector?this._tryResultSelector(l):this.destination.next(l.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},"j+gv":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("7/LY"),n("svHU");class l{constructor(t,e,n,l,i){this.document=t,this.dialogRef=e,this.data=n,this.selectAircraftService=l,this.mapService=i,this.url=""}ngOnInit(){this.computeLink(),setInterval(()=>{this.computeLink()},500)}computeLink(){this.url=this.document.location.origin+this.document.location.pathname+"?";const t=this.mapService.getView().getCenter();this.url+="center="+JSON.stringify(t);const e=this.mapService.getView().getZoom();this.url+="&zoom="+String(e);const n=this.selectAircraftService.getAircraftsContext(),l={};for(const i in n)n.hasOwnProperty(i)&&(l[i]=n[i].getMiniContext());this.url+="&context="+JSON.stringify(l),this.url=encodeURI(this.url)}copyInputMessage(t){t.select(),document.execCommand("copy"),t.setSelectionRange(0,0)}closeModal(){this.dialogRef.close()}}},jMVV:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l=n("f8l7");function i(t){return void 0!==t?0:void 0}function r(t){return void 0!==t?t:void 0}function o(t){var e=2*Math.PI/t;return function(t,n){return n?t:void 0!==t?t=Math.floor(t/e+.5)*e:void 0}}function a(t){var e=t||Object(l.i)(5);return function(t,n){return n?t:void 0!==t?Math.abs(t)<=e?0:t:void 0}}},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,l=this._calendarEl[t],i=e&&e.hours();return n=l,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(l=l.apply(e)),l.replace("{}",i%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),l=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var l=t+" ";switch(n){case"ss":return l+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return l+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return l+(i(t)?"godziny":"godzin");case"ww":return l+(i(t)?"tygodnie":"tygodni");case"MM":return l+(i(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return l+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,l){return t?/D MMMM/.test(l)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:r,M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("HDdC"),i=n("quSY");function r(t,e){return new l.a(n=>{const l=new i.a;let r=0;return l.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||l.add(this.schedule())):n.complete()}))),l})}},jadY:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,n,r,o){var a=l(e),s=i[t][l(e)];return 2===a&&(s=s[n?0:1]),s.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jzee:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4mld"),o=n("CvXi"),a=n("vvg4"),s=n("JW8z"),u=n("/O31"),c=n("qJZF"),d=n("V8uu"),h=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=Object(c.c)(),f=function(t){function e(){var e=t.call(this)||this;return e.extent_=Object(o.j)(),e.extentRevision_=-1,e.simplifiedGeometryMaxMinSquaredTolerance=0,e.simplifiedGeometryRevision=0,e.simplifyTransformedInternal=Object(d.d)((function(t,e,n){if(!n)return this.getSimplifiedGeometry(e);var l=this.clone();return l.applyTransform(n),l.getSimplifiedGeometry(e)})),e}return h(e,t),e.prototype.simplifyTransformed=function(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)},e.prototype.clone=function(){return Object(i.b)()},e.prototype.closestPointXY=function(t,e,n,l){return Object(i.b)()},e.prototype.containsXY=function(t,e){var n=this.getClosestPoint([t,e]);return n[0]===t&&n[1]===e},e.prototype.getClosestPoint=function(t,e){var n=e||[NaN,NaN];return this.closestPointXY(t[0],t[1],n,1/0),n},e.prototype.intersectsCoordinate=function(t){return this.containsXY(t[0],t[1])},e.prototype.computeExtent=function(t){return Object(i.b)()},e.prototype.getExtent=function(t){return this.extentRevision_!=this.getRevision()&&(this.extent_=this.computeExtent(this.extent_),this.extentRevision_=this.getRevision()),Object(o.I)(this.extent_,t)},e.prototype.rotate=function(t,e){Object(i.b)()},e.prototype.scale=function(t,e,n){Object(i.b)()},e.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},e.prototype.getSimplifiedGeometry=function(t){return Object(i.b)()},e.prototype.getType=function(){return Object(i.b)()},e.prototype.applyTransform=function(t){Object(i.b)()},e.prototype.intersectsExtent=function(t){return Object(i.b)()},e.prototype.translate=function(t,e){Object(i.b)()},e.prototype.transform=function(t,e){var n=Object(s.g)(t),l=n.getUnits()==u.b.TILE_PIXELS?function(t,l,i){var r=n.getExtent(),u=n.getWorldExtent(),d=Object(o.A)(u)/Object(o.A)(r);return Object(c.b)(p,u[0],u[3],d,-d,0,0,0),Object(a.c)(t,0,t.length,i,p,l),Object(s.i)(n,e)(t,l,i)}:Object(s.i)(n,e);return this.applyTransform(l),this},e}(r.a);e.a=f},kBU6:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return a}));const l="ionViewWillEnter",i="ionViewDidEnter",r="ionViewWillLeave",o="ionViewDidLeave",a="ionViewWillUnload"},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kLfG:function(t,e,n){var l={"./ion-action-sheet-controller_8.entry.js":["0BR9",0,19],"./ion-action-sheet-ios.entry.js":["bnjm",0,20],"./ion-action-sheet-md.entry.js":["utt2",0,21],"./ion-alert-ios.entry.js":["yaSn",0,22],"./ion-alert-md.entry.js":["2/RY",0,23],"./ion-app_8-ios.entry.js":["iInF",0,24],"./ion-app_8-md.entry.js":["K9Nc",0,25],"./ion-avatar_3-ios.entry.js":["hH1s",0,26],"./ion-avatar_3-md.entry.js":["Jw9y",0,27],"./ion-back-button-ios.entry.js":["ouVF",0,28],"./ion-back-button-md.entry.js":["/joy",0,29],"./ion-backdrop-ios.entry.js":["uJLv",30],"./ion-backdrop-md.entry.js":["fSmE",31],"./ion-button_2-ios.entry.js":["s1jK",0,32],"./ion-button_2-md.entry.js":["Wou7",0,33],"./ion-card_5-ios.entry.js":["qshq",0,34],"./ion-card_5-md.entry.js":["Q1uX",0,35],"./ion-checkbox-ios.entry.js":["059i",0,36],"./ion-checkbox-md.entry.js":["eLfv",0,37],"./ion-chip-ios.entry.js":["+FzG",0,38],"./ion-chip-md.entry.js":["yRpg",0,39],"./ion-col_3.entry.js":["/CAe",40],"./ion-datetime_3-ios.entry.js":["Z1Jy",0,41],"./ion-datetime_3-md.entry.js":["X0Dk",0,42],"./ion-fab_3-ios.entry.js":["wvyA",0,43],"./ion-fab_3-md.entry.js":["NkKY",0,44],"./ion-img.entry.js":["wHD8",45],"./ion-infinite-scroll_2-ios.entry.js":["nf6t",0,46],"./ion-infinite-scroll_2-md.entry.js":["lg/V",0,47],"./ion-input-ios.entry.js":["sdJS",0,48],"./ion-input-md.entry.js":["uQUw",0,49],"./ion-item-option_3-ios.entry.js":["Pa1g",0,50],"./ion-item-option_3-md.entry.js":["KTnd",0,51],"./ion-item_8-ios.entry.js":["Z51p",0,52],"./ion-item_8-md.entry.js":["8bam",0,53],"./ion-loading-ios.entry.js":["J3Yu",0,54],"./ion-loading-md.entry.js":["N3W9",0,55],"./ion-menu_4-ios.entry.js":["GEuc",0,56],"./ion-menu_4-md.entry.js":["BHpw",0,57],"./ion-modal-ios.entry.js":["mgaC",0,58],"./ion-modal-md.entry.js":["EpFf",0,59],"./ion-nav_5.entry.js":["qF1+",0,60],"./ion-popover-ios.entry.js":["Gdks",0,61],"./ion-popover-md.entry.js":["VgKV",0,62],"./ion-progress-bar-ios.entry.js":["0PGG",0,63],"./ion-progress-bar-md.entry.js":["h/Bu",0,64],"./ion-radio_2-ios.entry.js":["5bK7",0,65],"./ion-radio_2-md.entry.js":["pOmE",0,66],"./ion-range-ios.entry.js":["5g9+",0,67],"./ion-range-md.entry.js":["fD4w",0,68],"./ion-refresher_2-ios.entry.js":["CXux",0,69],"./ion-refresher_2-md.entry.js":["RODS",0,70],"./ion-reorder_2-ios.entry.js":["IdzL",0,71],"./ion-reorder_2-md.entry.js":["Ftzj",0,72],"./ion-ripple-effect.entry.js":["STjf",73],"./ion-route_4.entry.js":["k5eQ",0,74],"./ion-searchbar-ios.entry.js":["l0q3",0,75],"./ion-searchbar-md.entry.js":["mLlG",0,76],"./ion-segment_2-ios.entry.js":["Iymp",0,77],"./ion-segment_2-md.entry.js":["3msy",0,78],"./ion-select_3-ios.entry.js":["rYLK",0,79],"./ion-select_3-md.entry.js":["WOXB",0,80],"./ion-slide_2-ios.entry.js":["F/Xn",81],"./ion-slide_2-md.entry.js":["k8us",82],"./ion-spinner.entry.js":["nI0H",0,83],"./ion-split-pane-ios.entry.js":["edcM",84],"./ion-split-pane-md.entry.js":["RyPD",85],"./ion-tab-bar_2-ios.entry.js":["DP4G",0,86],"./ion-tab-bar_2-md.entry.js":["gaXT",0,87],"./ion-tab_2.entry.js":["TpdJ",0,88],"./ion-text.entry.js":["ISmu",0,89],"./ion-textarea-ios.entry.js":["xNZy",0,90],"./ion-textarea-md.entry.js":["p1XJ",0,91],"./ion-toast-ios.entry.js":["XGfm",0,92],"./ion-toast-md.entry.js":["Y/uG",0,93],"./ion-toggle-ios.entry.js":["WbT0",0,94],"./ion-toggle-md.entry.js":["upP9",0,95],"./ion-virtual-scroll.entry.js":["8Mb5",96]};function i(t){if(!n.o(l,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=l[t],i=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(l)},i.id="kLfG",t.exports=i},kNGD:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i})),n("KCVW"),n("dvZr");var l=n("8Y7J");n("Xd0L"),n("XNiG"),n("VRyK"),n("IzEk"),n("1G5W"),n("JX91"),n("5GAg"),n("8bJo");const i=new l.w("mat-chips-default-options");class r{}},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kSER:function(t,e){t.exports=function(t,e){for(var n=[],l=(e=e||0)||0;l<t.length;l++)n[l-e]=t[l];return n}},"kVK+":function(t,e){e.read=function(t,e,n,l,i){var r,o,a=8*i-l-1,s=(1<<a)-1,u=s>>1,c=-7,d=n?i-1:0,h=n?-1:1,p=t[e+d];for(d+=h,r=p&(1<<-c)-1,p>>=-c,c+=a;c>0;r=256*r+t[e+d],d+=h,c-=8);for(o=r&(1<<-c)-1,r>>=-c,c+=l;c>0;o=256*o+t[e+d],d+=h,c-=8);if(0===r)r=1-u;else{if(r===s)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,l),r-=u}return(p?-1:1)*o*Math.pow(2,r-l)},e.write=function(t,e,n,l,i,r){var o,a,s,u=8*r-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=l?0:r-1,f=l?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-o))<1&&(o--,s*=2),(e+=o+d>=1?h/s:h*Math.pow(2,1-d))*s>=2&&(o++,s/=2),o+d>=c?(a=0,o=c):o+d>=1?(a=(e*s-1)*Math.pow(2,i),o+=d):(a=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;t[n+p]=255&a,p+=f,a/=256,i-=8);for(o=o<<i|a,u+=i;u>0;t[n+p]=255&o,p+=f,o/=256,u-=8);t[n+p-f]|=128*b}},kVmM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("CvXi");function i(t,e,n,i){for(var r=[],o=Object(l.j)(),a=0,s=n.length;a<s;++a){var u=n[a];o=Object(l.o)(t,e,u[0],i),r.push((o[0]+o[2])/2,(o[1]+o[3])/2),e=u[u.length-1]}return r}},kZ4T:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseGridControllerGridPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseGridControllerGrid(t){return this.getOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseGridControllerGridPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseGridControllerGrid(t){return this.replaceOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseGridControllerGridPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseGridControllerGrid(t){return this.deleteOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseGridControllerGridPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseGridControllerGrid(t){return this.updateOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseGridControllerGridPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseGridControllerGrid(t){return this.getManyBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseGridControllerGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseGridControllerGrid(t){return this.createOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseGridControllerGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseGridControllerGrid(t){return this.createManyBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseGridControllerGridPath="/grid/{id}",t.ReplaceOneBaseGridControllerGridPath="/grid/{id}",t.DeleteOneBaseGridControllerGridPath="/grid/{id}",t.UpdateOneBaseGridControllerGridPath="/grid/{id}",t.GetManyBaseGridControllerGridPath="/grid",t.CreateOneBaseGridControllerGridPath="/grid",t.CreateManyBaseGridControllerGridPath="/grid/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},krvq:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var l=n("8Y7J"),i=n("mnSs"),r=n("SVse"),o=l.Bb({encapsulation:0,styles:['[_nghost-%COMP%]{max-width:200px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 8px;position:absolute;pointer-events:none;z-index:1000;display:block;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s;top:0;left:0}.tooltip-show[_nghost-%COMP%]{opacity:1}.tooltip-shadow[_nghost-%COMP%]{box-shadow:0 7px 15px -5px rgba(0,0,0,.4)}.tooltip-light.tooltip-shadow[_nghost-%COMP%]{box-shadow:0 5px 15px -5px rgba(0,0,0,.4)}.tooltip[_nghost-%COMP%]::after{content:"";position:absolute;border-style:solid}.tooltip-top[_nghost-%COMP%]::after{top:100%;left:50%;margin-left:-5px;border-width:5px;border-color:#000 transparent transparent}.tooltip-bottom[_nghost-%COMP%]::after{bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-color:transparent transparent #000}.tooltip-left[_nghost-%COMP%]::after{top:50%;left:100%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #000}.tooltip-right[_nghost-%COMP%]::after{top:50%;right:100%;margin-top:-5px;border-width:5px;border-color:transparent #000 transparent transparent}.tooltip-light[_nghost-%COMP%]::after{display:none}.tooltip-light[_nghost-%COMP%]{border:1px solid rgba(0,0,0,.06);background-color:#fff;color:#000}.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;-webkit-transform:rotate(135deg);transform:rotate(135deg);background-color:rgba(0,0,0,.07)}.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{background-color:#fff;content:"";display:block;position:absolute;width:10px;height:10px}.tooltip-top.tooltip-light[_nghost-%COMP%]{margin-top:-2px}.tooltip-top.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:100%;left:50%;margin-top:-4px;margin-left:-5px;background:-webkit-gradient(linear,right top,left bottom,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to bottom left,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-top.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:1px;right:1px}.tooltip-bottom.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{bottom:100%;left:50%;margin-bottom:-4px;margin-left:-5px;background:-webkit-gradient(linear,left bottom,right top,color-stop(50%,rgba(0,0,0,.1)),color-stop(50%,transparent));background:linear-gradient(to top right,rgba(0,0,0,.1) 50%,transparent 50%)}.tooltip-bottom.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:-1px;right:-1px}.tooltip-left.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:50%;left:100%;margin-top:-5px;margin-left:-4px;background:-webkit-gradient(linear,left top,right bottom,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to bottom right,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-left.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:1px;right:-1px}.tooltip-right.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:50%;right:100%;margin-top:-5px;margin-right:-4px;background:-webkit-gradient(linear,right bottom,left top,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to top left,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-right.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:-1px;right:1px}'],data:{}});function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"div",[["class","tooltip-arrow"]],null,null,null,null,null))],null,null)}function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(2,540672,null,0,r.u,[l.Y],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){t(e,2,0,e.component.value)}),null)}function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component.value)}))}function d(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(1,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(3,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["htmlOrStringTemplate",2]],null,0,null,c))],(function(t,e){var n=e.component;t(e,1,0,n.isThemeLight),t(e,3,0,"template"===n.options.contentType,l.Pb(e,4))}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"tooltip",[["class","tooltip"]],[[4,"top",null],[4,"left",null],[4,"z-index",null],[4,"transition",null],[4,"width",null],[4,"max-width",null],[4,"pointer-events",null],[2,"tooltip-show",null],[2,"tooltip-shadow",null],[2,"tooltip-light",null]],[[null,"transitionend"]],(function(t,e,n){var i=!0;return"transitionend"===e&&(i=!1!==l.Pb(t,1).transitionEnd(n)&&i),i}),d,o)),l.Cb(1,114688,null,0,i.a,[l.p,l.M],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,l.Pb(e,1).hostStyleTop,l.Pb(e,1).hostStyleLeft,l.Pb(e,1).hostStyleZIndex,l.Pb(e,1).hostStyleTransition,l.Pb(e,1).hostStyleWidth,l.Pb(e,1).hostStyleMaxWidth,l.Pb(e,1).hostStylePointerEvents,l.Pb(e,1).hostClassShow,l.Pb(e,1).hostClassShadow,l.Pb(e,1).hostClassLight)}))}var p=l.zb("tooltip",i.a,h,{data:"data",show:"show"},{},[])},ktNq:function(t,e,n){"use strict";var l=n("g7xG");function i(t,e){return t.toUpperCase()===e.toUpperCase()}function r(t,e){var n=t.find(e);return n?n.flag:""}t.exports={findFlagUrlByCountryName:function(t){return r(l,(function(e){var n=e.altSpellings;return i(e.name,t)||n.some((function(e){return i(e,t)}))}))},findFlagUrlByNationality:function(t){return r(l,(function(e){return i(e.demonym,t)}))},findFlagUrlByIso2Code:function(t){return r(l,(function(e){return i(e.iso2,t)}))},findFlagUrlByIso3Code:function(t){return r(l,(function(e){return i(e.iso3,t)}))}}},kvpX:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("g1uh");function i(t,e){if(!t)throw new l.a(e)}},l2lA:function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var l=n("f8l7");function i(t,e,n,i,r,o,a){var s,u=t[e],c=t[e+1],d=t[n]-u,h=t[n+1]-c;if(0===d&&0===h)s=e;else{var p=((r-u)*d+(o-c)*h)/(d*d+h*h);if(p>1)s=n;else{if(p>0){for(var f=0;f<i;++f)a[f]=Object(l.c)(t[e+f],t[n+f],p);return void(a.length=i)}s=e}}for(f=0;f<i;++f)a[f]=t[s+f];a.length=i}function r(t,e,n,i,r){var o=t[e],a=t[e+1];for(e+=i;e<n;e+=i){var s=t[e],u=t[e+1],c=Object(l.f)(o,a,s,u);c>r&&(r=c),o=s,a=u}return r}function o(t,e,n,l,i){for(var o=0,a=n.length;o<a;++o){var s=n[o];i=r(t,e,s,l,i),e=s}return i}function a(t,e,n,l,i){for(var r=0,a=n.length;r<a;++r){var s=n[r];i=o(t,e,s,l,i),e=s[s.length-1]}return i}function s(t,e,n,r,o,a,s,u,c,d,h){if(e==n)return d;var p,f;if(0===o){if((f=Object(l.f)(s,u,t[e],t[e+1]))<d){for(p=0;p<r;++p)c[p]=t[e+p];return c.length=r,f}return d}for(var b=h||[NaN,NaN],m=e+r;m<n;)if(i(t,m-r,m,r,s,u,b),(f=Object(l.f)(s,u,b[0],b[1]))<d){for(d=f,p=0;p<r;++p)c[p]=b[p];c.length=r,m+=r}else m+=r*Math.max((Math.sqrt(f)-Math.sqrt(d))/o|0,1);if(a&&(i(t,n-r,e,r,s,u,b),(f=Object(l.f)(s,u,b[0],b[1]))<d)){for(d=f,p=0;p<r;++p)c[p]=b[p];c.length=r}return d}function u(t,e,n,l,i,r,o,a,u,c,d){for(var h=d||[NaN,NaN],p=0,f=n.length;p<f;++p){var b=n[p];c=s(t,e,b,l,i,r,o,a,u,c,h),e=b}return c}function c(t,e,n,l,i,r,o,a,s,c,d){for(var h=d||[NaN,NaN],p=0,f=n.length;p<f;++p){var b=n[p];c=u(t,e,b,l,i,r,o,a,s,c,h),e=b[b.length-1]}return c}},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},l5mm:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("D0XW"),r=n("Y7HM");function o(t=0,e=i.a){return(!Object(r.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=i.a),new l.a(n=>(n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n))}function a(t){const{subscriber:e,counter:n,period:l}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:l},l)}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends l.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lKxJ:function(t,e,n){t.exports=n("2pII"),t.exports.parser=n("Wm4p")},lT8R:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return d}));var l=n("KCVW"),i=n("dvZr"),r=n("8Y7J"),o=(n("s7LF"),n("Xd0L")),a=n("quSY");class s{}class u{constructor(t){this._elementRef=t}}const c=Object(o.J)(Object(o.E)(Object(o.G)(u),"accent"));class d extends c{constructor(t,e,n,l,i,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this._dir=l,this._animationMode=o,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new r.r,this.input=new r.r,this.valueChange=new r.r,this.onTouched=()=>{},this._percent=0,this._isSliding=!1,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=a.a.EMPTY,this.tabIndex=parseInt(i)||0}get invert(){return this._invert}set invert(t){this._invert=Object(l.c)(t)}get max(){return this._max}set max(t){this._max=Object(l.f)(t,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(t){this._min=Object(l.f)(t,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(t){this._step=Object(l.f)(t,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(t){this._thumbLabel=Object(l.c)(t)}get tickInterval(){return this._tickInterval}set tickInterval(t){this._tickInterval="auto"===t?"auto":"number"==typeof t||"string"==typeof t?Object(l.f)(t,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(t){if(t!==this._value){let e=Object(l.f)(t);this._roundToDecimal&&(e=parseFloat(e.toFixed(this._roundToDecimal))),this._value=e,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(l.c)(t)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(t){this._focusHostElement(t)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}get _invertAxis(){return this.vertical?!this.invert:this.invert}get _isMinValue(){return 0===this.percent}get _thumbGap(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0}get _trackBackgroundStyles(){const t=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._thumbGap}px) scale3d(${t})`}}get _trackFillStyles(){const t=this.vertical?`1, ${this.percent}, 1`:this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._thumbGap}px) scale3d(${t})`}}get _ticksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}get _ticksStyles(){let t=100*this._tickIntervalPercent,e={backgroundSize:this.vertical?`2px ${t}%`:t+"% 2px",transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${t/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};return this._isMinValue&&this._thumbGap&&(e["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px"),e}get _thumbContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngOnInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{this._isActive=!!t&&"keyboard"!==t,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onMousedown(t){if(this.disabled||0!==t.button)return;const e=this.value;this._isSliding=!1,this._focusHostElement(),this._updateValueFromPosition({x:t.clientX,y:t.clientY}),e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent())}_onSlide(t){if(this.disabled)return;this._isSliding||this._onSlideStart(null),t.preventDefault();let e=this.value;this._updateValueFromPosition({x:t.center.x,y:t.center.y}),e!=this.value&&this._emitInputEvent()}_onSlideStart(t){this.disabled||this._isSliding||(this._onMouseenter(),this._isSliding=!0,this._focusHostElement(),this._valueOnSlideStart=this.value,t&&(this._updateValueFromPosition({x:t.center.x,y:t.center.y}),t.preventDefault()))}_onSlideEnd(){this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||this._emitChangeEvent(),this._valueOnSlideStart=null}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(t){if(this.disabled||Object(i.t)(t))return;const e=this.value;switch(t.keyCode){case i.m:this._increment(10);break;case i.l:this._increment(-10);break;case i.f:this.value=this.max;break;case i.i:this.value=this.min;break;case i.j:this._increment("rtl"==this._getDirection()?1:-1);break;case i.q:this._increment(1);break;case i.n:this._increment("rtl"==this._getDirection()?-1:1);break;case i.e:this._increment(-1);break;default:return}e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,t.preventDefault()}_onKeyup(){this._isSliding=!1}_increment(t){this.value=this._clamp((this.value||0)+this.step*t,this.min,this.max)}_updateValueFromPosition(t){if(!this._sliderDimensions)return;let e=this._clamp(((this.vertical?t.y:t.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(e=1-e),0===e)this.value=this.min;else if(1===e)this.value=this.max;else{const t=this._calculateValue(e),n=Math.round((t-this.min)/this.step)*this.step+this.min;this.value=this._clamp(n,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){let t=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,e=Math.ceil(30/(t*this.step/(this.max-this.min)));this._tickIntervalPercent=e*this.step/t}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(t=this.value){let e=new s;return e.source=this,e.value=t,e}_calculatePercentage(t){return((t||0)-this.min)/(this.max-this.min)}_calculateValue(t){return this.min+t*(this.max-this.min)}_clamp(t,e=0,n=1){return Math.max(e,Math.min(t,n))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(t){this._elementRef.nativeElement.focus(t)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(t){this.value=t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}}class h{}},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lhf0:function(t,e,n){function l(t){var n;function l(){if(l.enabled){var t=l,i=+new Date,r=i-(n||i);t.diff=r,t.prev=n,t.curr=i,n=i;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=e.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(n,l){if("%%"===n)return n;s++;var i=e.formatters[l];return"function"==typeof i&&(n=i.call(t,o[s]),o.splice(s,1),s--),n})),e.formatArgs.call(t,o);var u=l.log||e.log||console.log.bind(console);u.apply(t,o)}}return l.namespace=t,l.enabled=e.enabled(t),l.useColors=e.useColors(),l.color=function(t){var n,l=0;for(n in t)l=(l<<5)-l+t.charCodeAt(n),l|=0;return e.colors[Math.abs(l)%e.colors.length]}(t),l.destroy=i,"function"==typeof e.init&&e.init(l),e.instances.push(l),l}function i(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=l.debug=l.default=l).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var l=("string"==typeof t?t:"").split(/[\s,]+/),i=l.length;for(n=0;n<i;n++)l[n]&&("-"===(t=l[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")));for(n=0;n<e.instances.length;n++){var r=e.instances[n];r.enabled=e.enabled(r.namespace)}},e.enabled=function(t){if("*"===t[t.length-1])return!0;var n,l;for(n=0,l=e.skips.length;n<l;n++)if(e.skips[n].test(t))return!1;for(n=0,l=e.names.length;n<l;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n("WiHW"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},loYQ:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},luTP:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},lwm9:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("GS7A"),n("Xd0L"),n("zMNK")),r=n("7QIX");n("SVse"),n("QQfA"),n("dvZr"),n("XNiG"),n("VRyK"),n("LRne"),n("pLZG"),n("IzEk"),n("IP0z");class o{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}class a extends i.a{constructor(t,e,n,i,o,a){super(),this._elementRef=t,this._changeDetectorRef=e,this._focusTrapFactory=n,this.bottomSheetConfig=a,this._animationState="void",this._animationStateChanged=new l.r,this._elementFocusedBeforeOpened=null,this._document=o,this._breakpointSubscription=i.observe([r.b.Medium,r.b.Large,r.b.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",i.isMatched(r.b.Medium)),this._toggleClass("mat-bottom-sheet-container-large",i.isMatched(r.b.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched(r.b.XLarge))})}attachComponentPortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){"hidden"===t.toState?this._restoreFocus():"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_toggleClass(t,e){const n=this._elementRef.nativeElement.classList;e?n.add(t):n.remove(t)}_validatePortalAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach bottom sheet content after content is already attached")}_setPanelClass(){const t=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach(e=>t.classList.add(e)):e&&t.classList.add(e)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeOpened;this.bottomSheetConfig.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._elementFocusedBeforeOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus())}}class s{}},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=" ";return(t%100>=20||t>=100&&t%100==0)&&(l=" de "),t+l+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},m46K:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("7kcP"),n("SVse")),r=l.Bb({encapsulation:2,styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media (-ms-high-contrast:active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media (-ms-high-contrast:active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],data:{animation:[{type:7,name:"indicator",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"translateY(10px)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"leftPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"rightPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowOpacity",definitions:[{type:0,name:"desc-to-active, asc-to-active, active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"desc-to-hint, asc-to-hint, hint",styles:{type:6,styles:{opacity:.54},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"* => asc, * => desc, * => active, * => hint, * => void",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"* <=> *",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowPosition",definitions:[{type:1,expr:"* => desc-to-hint, * => desc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(-25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-desc, * => active-to-desc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => asc-to-hint, * => asc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-asc, * => active-to-asc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(-25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:0,name:"desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",styles:{type:6,styles:{transform:"translateY(0)"},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc",styles:{type:6,styles:{transform:"translateY(-25%)"},offset:null},options:void 0},{type:0,name:"hint-to-asc, active-to-asc, asc",styles:{type:6,styles:{transform:"translateY(25%)"},offset:null},options:void 0}],options:{}},{type:7,name:"allowChildren",definitions:[{type:1,expr:"* <=> *",animation:[{type:11,selector:"@*",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:{}}]}});function o(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","mat-sort-header-arrow"]],[[24,"@arrowOpacity",0],[24,"@arrowPosition",0],[24,"@allowChildren",0]],[[null,"@arrowPosition.start"],[null,"@arrowPosition.done"]],(function(t,e,n){var l=!0,i=t.component;return"@arrowPosition.start"===e&&(l=0!=(i._disableViewStateAnimation=!0)&&l),"@arrowPosition.done"===e&&(l=0!=(i._disableViewStateAnimation=!1)&&l),l}),null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(t()(),l.Db(3,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(t()(),l.Db(5,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._getArrowViewState(),n._getArrowViewState(),n._getArrowDirectionState()),t(e,2,0,n._getArrowDirectionState()),t(e,3,0,n._getArrowDirectionState()),t(e,4,0,n._getArrowDirectionState())}))}function a(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"button",[["class","mat-sort-header-button"],["type","button"]],[[1,"disabled",0],[1,"aria-label",0]],[[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,i=t.component;return"focus"===e&&(l=!1!==i._setIndicatorHintVisible(!0)&&l),"blur"===e&&(l=!1!==i._setIndicatorHintVisible(!1)&&l),l}),null,null)),l.Ob(null,0),(t()(),l.sb(16777216,null,null,1,null,o)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,4,0,e.component._renderArrow())}),(function(t,e){var n=e.component;t(e,0,0,n._isSorted(),"before"==n.arrowPosition),t(e,1,0,n._isDisabled()||null,n._intl.sortButtonLabel(n.id))}))}},m6sc:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("QL49");class l{constructor(t,e){this.config=t,this.http=e,this._rootUrl=""}get rootUrl(){return this._rootUrl||this.config.rootUrl}set rootUrl(t){this._rootUrl=t}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("SpAZ");function i(...t){return r(t)}function r(t){return 0===t.length?l.a:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},mS5L:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("yotz"),o=n("m46K"),a=n("7kcP"),s=n("8rEH"),u=n("zQui"),c=n("pIm3"),d=n("F3fN"),h=n("oBZk"),p=n("ZZ/e"),f=n("dJrM"),b=n("HsOI"),m=n("Xd0L"),g=n("IP0z"),_=n("/HVE"),y=n("omvX"),A=n("ZwOa"),v=n("s7LF"),C=n("oapL"),w=n("oJZn"),P=n("pBi1"),x=n("5GAg"),S=n("b1+6"),k=n("OIZN"),M=n("sJgj"),O=n("s6ns"),D=n("svHU"),T=n("7/LY"),E=n("YGmB"),I=n("978D"),L=n("wBRQ"),j=n("qToJ"),R=l.Bb({encapsulation:0,styles:[["#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}#list-panel[_ngcontent-%COMP%] .mat-column-provider[_ngcontent-%COMP%], #list-panel[_ngcontent-%COMP%] .mat-column-route[_ngcontent-%COMP%]{min-width:100px}#list-panel[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding:10px}#list-panel[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto;cursor:pointer}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]{padding:5px;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0!important;font-size:12px!important;font-family:inherit!important;text-overflow:ellipsis;white-space:nowrap}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{max-height:19px;margin:-4px}#list-panel[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:5px}#list-panel[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#ccc}#list-panel[_ngcontent-%COMP%] .mat-paginator-range-label{margin:0}.customfilter[_ngcontent-%COMP%]{width:100px}"]],data:{animation:[{type:7,name:"showFromRight",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"200ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateX(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),o.b,o.a)),l.Cb(1,245760,null,0,a.c,[a.d,l.j,[2,a.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,s.e,[u.d,l.p],null,null),(t()(),l.Wb(3,0,[" "," "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){var n=e.component;t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled()),t(e,3,0,n.columnsName[e.parent.context.$implicit])}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent.parent,0),e.parent.context.$implicit[e.parent.parent.context.$implicit]));t(e,1,0,n)}))}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.settingService.getFeedNames(e.parent.context.$implicit[e.parent.parent.context.$implicit]))}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,l.Hb(1,"",e.parent.context.$implicit[e.parent.parent.context.$implicit],""))}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,s.a,[u.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,"altitude"==e.parent.context.$implicit),t(e,5,0,"speed"==e.parent.context.$implicit),t(e,7,0,"providers"==e.parent.context.$implicit),t(e,9,0,"country"==e.parent.context.$implicit&&e.context.$implicit[e.parent.context.$implicit]),t(e,11,0,"speed"!==e.parent.context.$implicit&&"altitude"!==e.parent.context.$implicit&&"providers"!==e.parent.context.$implicit&&"country"!==e.parent.context.$implicit)}),null)}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[s.c]),l.Cb(2,16384,null,3,s.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],u.d,null,[s.c]),(t()(),l.sb(0,null,null,2,null,F)),l.Cb(8,16384,null,0,s.f,[l.U],null,null),l.Tb(2048,[[17,4]],u.j,null,[s.f]),(t()(),l.sb(0,null,null,2,null,G)),l.Cb(11,16384,null,0,s.b,[l.U],null,null),l.Tb(2048,[[16,4]],u.b,null,[s.b])],(function(t,e){t(e,2,0,l.Hb(1,"",e.context.$implicit,""))}),null)}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,c.d,c.a)),l.Tb(6144,null,u.k,null,[s.g]),l.Cb(2,49152,null,0,s.g,[],null,null)],null,null)}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,[[null,"click"],[null,"dblclick"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.watchAircraft(t.context.$implicit.icao)&&l),"dblclick"===e&&(l=!1!==i.selectAircraft(t.context.$implicit.icao)&&l),l}),c.e,c.b)),l.Tb(6144,null,u.m,null,[s.i]),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,i.l,[i.A],{ngClass:[0,"ngClass"]},null),l.Rb(4,{active:0}),l.Cb(5,49152,null,0,s.i,[],null,null)],(function(t,e){var n=t(e,4,0,e.component.isSelectedAircraft(e.context.$implicit));t(e,3,0,n)}),null)}function W(t){return l.Yb(0,[l.Qb(0,d.a,[]),l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(3,0,null,null,41,"ion-content",[["id","list-panel"],["scrollX","true"]],null,null,null,h.w,h.e)),l.Cb(4,49152,null,0,p.s,[l.j,l.p,l.G],{scrollX:[0,"scrollX"]},null),(t()(),l.Db(5,0,null,0,13,"mat-form-field",[["class","customfilter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(6,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(16,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(17,999424,null,0,A.b,[l.p,_.a,[8,null],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],b.d,null,[A.b]),(t()(),l.Db(19,0,null,0,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==l.Pb(t,21)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.focusChange(n)&&i),i}),w.b,w.a)),l.Tb(5120,null,v.o,(function(t){return[t]}),[P.b]),l.Cb(21,1228800,null,0,P.b,[l.p,x.h,l.j,[8,null],l.G,P.a,[2,y.a],[2,g.b]],{checked:[0,"checked"]},{change:"change"}),(t()(),l.Wb(-1,0,["Focus"])),(t()(),l.Db(23,0,null,0,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(24,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(25,0,null,0,1,"ion-icon",[["name","settings"]],null,null,null,h.y,h.g)),l.Cb(26,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(27,0,null,0,15,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,c.f,c.c)),l.Tb(6144,null,u.o,null,[s.k]),l.Cb(29,737280,[[1,4]],0,a.b,[],null,null),l.Cb(30,2342912,null,4,s.k,[l.y,l.j,l.p,[8,null],[2,g.b],i.d,_.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(36,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(0,null,null,2,null,V)),l.Cb(38,540672,null,0,s.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],u.l,null,[s.h]),(t()(),l.sb(0,null,null,2,null,q)),l.Cb(41,540672,null,0,s.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],u.n,null,[s.j]),(t()(),l.Db(43,0,null,0,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,S.b,S.a)),l.Cb(44,245760,[[2,4]],0,k.b,[k.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,4,0,"true"),t(e,17,0,"Filter"),t(e,21,0,n.focusIsActive),t(e,24,0,"primary"),t(e,26,0,"settings"),t(e,29,0),t(e,30,0,n.dataSource),t(e,36,0,n.displayedColumns),t(e,38,0,n.displayedColumns),t(e,41,0,n.displayedColumns),t(e,44,0,50,"true","")}),(function(t,e){t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,0,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()),t(e,19,0,l.Pb(e,21).id,l.Pb(e,21).disabled?null:-1,null,null,l.Pb(e,21).checked,l.Pb(e,21).disabled,"before"==l.Pb(e,21).labelPosition,"NoopAnimations"===l.Pb(e,21)._animationMode)}))}var $=n("NvT6"),X=n("W5yJ"),K=n("8e4W");class J{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){this.dialogRef=this.dialog.open(K.a,{width:"500px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-500+"px"},hasBackdrop:!1});const t=this.dialogRef.afterClosed().subscribe(e=>{this.dialogRef=void 0,t.unsubscribe()})}}var Q=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Z(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","filing"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"filing")}),null)}var tt=n("dk3J");class et{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-700>0?String(t+50-700):String(5)+"px";this.dialogRef=this.dialog.open(tt.a,{width:"700px",position:{top:"60px",left:e},hasBackdrop:!1});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var nt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,0,"img",[["src","../../../../../../assets/images/GHOST.svg"],["style","max-width: unset;"]],null,null,null,null,null))],(function(t,e){t(e,1,0,"primary")}),null)}var it=n("Fi5g"),rt=n("ek9U");class ot{constructor(t,e){this.dialog=t,this.elementRef=e}toggleFormReplayDialog(){this.formReplayDialogRef?this.formReplayDialogRef.close():this.openFormReplayDialog()}openFormReplayDialog(){this.formReplayDialogRef=this.dialog.open(it.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},hasBackdrop:!1});const t=this.formReplayDialogRef.afterClosed().subscribe(e=>{e&&this.openControlReplayDialog(e),this.formReplayDialogRef=void 0,t.unsubscribe()})}openControlReplayDialog(t){this.controlReplayDialogRef=this.dialog.open(rt.a,{width:"400px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-400+"px"},hasBackdrop:!1,data:{date:t}});const e=this.formReplayDialogRef.afterClosed().subscribe(t=>{this.controlReplayDialogRef=void 0,e.unsubscribe()})}}var at=l.Bb({encapsulation:0,styles:[[""]],data:{}});function st(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleFormReplayDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","time"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"time")}),null)}var ut=n("F8Ro");class ct{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-700>0?String(t+50-700):String(5)+"px";this.dialogRef=this.dialog.open(ut.a,{width:"700px",position:{top:"60px",left:e},hasBackdrop:!1});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var dt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function ht(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","funnel"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"funnel")}),null)}var pt=n("MlvX"),ft=n("/Co4"),bt=n("QQfA"),mt=n("hOhj"),gt=n("Rn7m"),_t=n("LRne"),yt=n("JX91"),At=n("lJxs"),vt=n("Kj3r"),Ct=n("eIep"),wt=n("JIr8"),Pt=n("w+w1");n("G0WM");class xt{constructor(t,e,n,l,i,r){this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.searchService=l,this.aircraftService=i,this.stopPointService=r,this.searchBarIsActive=!1,this.aircraftAutoComplete$=null,this.autoCompleteControl=new v.g}ngOnInit(){this.initAucompleteAircraft()}initAucompleteAircraft(){this.aircraftAutoComplete$=this.autoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>t&&""!==t?this.lookup(t?t.toUpperCase():t):Object(_t.a)([])))}lookup(t){return this.searchService.searchControllerGetSearch({value:t,limit:5}).pipe(Object(At.a)(t=>[{type:"aircraft",entities:t.data.aircraft},{type:"stop_point",entities:t.data.stop_point},{type:"feature",entities:t.data.feature}]),Object(wt.a)(t=>Object(_t.a)(null)))}onSubmit(t,e){if("stop_point"===e)this.mapService.recenterMap([t.longitude,t.latitude],10);else if("feature"===e)console.log("entity:",t),this.mapService.recenterMap(t.geometry.coordinates,10);else if("aircraft"===e){const e=this.trafficService.addAircraft(new Pt.a(t));this.mapService.recenterMap([e.longitude,e.latitude]),this.selectAircraftService.selectAircraft(e)}this.autoCompleteControl.reset()}}var St=n("mWFr"),kt=n("xhS3"),Mt=n("rLOe"),Ot=l.Bb({encapsulation:0,styles:[[".search-bar[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-optgroup[_ngcontent-%COMP%] .mat-option[_ngcontent-%COMP%]{padding:5px 0 5px 32px}"]],data:{}});function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","search"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"search")}),null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","close"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" icao : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icao)}))}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" callsign : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" registration : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" iata : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.iata)}))}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" name : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.name)}))}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.onSubmit(t.context.$implicit,t.parent.context.$implicit.type)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[10,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.sb(16777216,null,0,1,null,Et)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,It)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Lt)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,jt)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Rt)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit),t(e,3,0,"feature"!==e.parent.context.$implicit.type),t(e,5,0,"aircraft"===e.parent.context.$implicit.type),t(e,7,0,"aircraft"===e.parent.context.$implicit.type),t(e,9,0,"stop_point"===e.parent.context.$implicit.type),t(e,11,0,"stop_point"===e.parent.context.$implicit.type||"feature"===e.parent.context.$implicit.type)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled)}))}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,pt.d,pt.a)),l.Cb(1,49152,[[11,4]],0,m.r,[],{label:[0,"label"]},null),(t()(),l.sb(16777216,null,1,1,null,Ft)),l.Cb(3,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.type),t(e,3,0,e.context.$implicit.entities)}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1).disabled.toString(),l.Pb(e,1)._labelId)}))}function Yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(1,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],null,null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(11,16777216,null,1,8,"input",[["aria-label","Number"],["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search icao, callsign, registration or featurer name"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,13)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,13)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,13)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(13,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(15,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(17,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],b.d,null,[A.b]),(t()(),l.Db(20,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(22,1097728,[["autoGroup",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Nt)),l.Cb(26,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j])],(function(t,e){var n=e.component;t(e,13,0,l.Pb(e,22)),t(e,15,0,n.autoCompleteControl),t(e,18,0,"Search icao, callsign, registration or featurer name","text"),t(e,22,0,""),t(e,26,0,l.Xb(e,26,0,l.Pb(e,27).transform(n.aircraftAutoComplete$)))}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,13).autocompleteAttribute,l.Pb(e,13).autocompleteDisabled?null:"combobox",l.Pb(e,13).autocompleteDisabled?null:"list",l.Pb(e,13).panelOpen&&l.Pb(e,13).activeOption?l.Pb(e,13).activeOption.id:null,l.Pb(e,13).autocompleteDisabled?null:l.Pb(e,13).panelOpen.toString(),l.Pb(e,13).autocompleteDisabled||!l.Pb(e,13).panelOpen||null==l.Pb(e,13).autocomplete?null:l.Pb(e,13).autocomplete.id,!l.Pb(e,13).autocompleteDisabled,l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()])}))}function Ut(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,8,"div",[["class","search-bar"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"ion-button",[["color","primary"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=0!=(i.searchBarIsActive=!i.searchBarIsActive)&&l),l}),h.u,h.c)),l.Cb(2,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.sb(16777216,null,0,1,null,Dt)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Tt)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Yt)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"primary"),t(e,4,0,0==n.searchBarIsActive),t(e,6,0,1==n.searchBarIsActive),t(e,8,0,1==n.searchBarIsActive)}),null)}var Bt=n("fQr7");class zt{constructor(t,e){this.dialog=t,this.elementRef=e,this.widthPopup=800}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-this.widthPopup>0?String(t+50-this.widthPopup):String(5)+"px";this.dialogRef=this.dialog.open(Bt.a,{width:this.widthPopup+"px",position:{top:"60px",left:e},hasBackdrop:!1,data:{map:this.map}});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var Gt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","md-cloud-upload"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"md-cloud-upload")}),null)}var Vt=n("j+gv");class qt{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){this.dialogRef=this.dialog.open(Vt.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},hasBackdrop:!1});const t=this.dialogRef.afterClosed().subscribe(e=>{this.dialogRef=void 0,t.unsubscribe()})}}var Wt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function $t(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","share"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"share")}),null)}var Xt=n("Hq+i"),Kt=n("4q72"),Jt=n("/MgC");class Qt{constructor(t,e,n,l){this.ref=t,this.dialog=e,this.elementRef=n,this.notificationSettingService=l,this.subscription={},this.nbNotifs=0}ngOnInit(){this.notificationSettingService.notificationsSocketSubject.subscribe(t=>{for(const e in this.subscription)this.subscription.hasOwnProperty(e)&&this.subscription[e].unsubscribe();for(const e in t)t.hasOwnProperty(e)&&(this.subscription[e]=t[e].subscribe(t=>{"INSERT"===t.type?(this.nbNotifs+=1,this.ref.detectChanges(),void 0===this.notificationsDialogRef&&this.displayNotificationAlert(t.value)):"DELETE"===t.type&&this.nbNotifs>0&&(this.nbNotifs-=1)}))})}displayNotificationAlert(t){this.notifAlertdialogRef&&this.notifAlertdialogRef.close(),this.notifAlertdialogRef=this.dialog.open(Kt.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},data:t,hasBackdrop:!1}),setTimeout(()=>{this.notifAlertdialogRef&&this.notifAlertdialogRef.close()},4e3);const e=this.notifAlertdialogRef.afterClosed().subscribe(t=>{this.notifAlertdialogRef=void 0,e.unsubscribe(),t&&this.showNotifs(t)})}toggleDialogNotif(){this.notificationsDialogRef?this.notificationsDialogRef.close():this.showNotifs()}showNotifs(t){this.nbNotifs=0,this.ref.detectChanges();const e={width:"400px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-400+"px"},hasBackdrop:!1};t&&(e.data=t),this.notificationsDialogRef=this.dialog.open(Xt.a,e);const n=this.notificationsDialogRef.componentInstance.viewedNotif.subscribe(()=>{this.nbNotifs-=1,this.ref.detectChanges()}),l=this.notificationsDialogRef.afterClosed().subscribe(()=>{this.notificationsDialogRef=void 0,l.unsubscribe(),n.unsubscribe()})}}var Zt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function te(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,6,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialogNotif()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","notifications-outline"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(4,0,null,0,2,"ion-badge",[["color","danger"],["id","notifications-badge"]],null,null,null,h.t,h.b)),l.Cb(5,49152,null,0,p.h,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Wb(6,0,[" "," "]))],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"notifications-outline"),t(e,5,0,"danger")}),(function(t,e){t(e,6,0,e.component.nbNotifs)}))}var ee=n("gDAU"),ne=n("oeKZ"),le=n("Y4ja"),ie=l.Bb({encapsulation:0,styles:[[".traffic-counter[_ngcontent-%COMP%]{display:flex;padding:4px;border-radius:5px;background-color:var(--ion-color-primary);color:#fff;width:60px;justify-content:space-around}.currentDate[_ngcontent-%COMP%]{text-align:center;padding-right:20%}#loader[_ngcontent-%COMP%]{min-width:30px}"]],data:{}});function re(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,$.d,$.b)),l.Cb(1,114688,null,0,X.d,[l.p,_.a,[2,i.d],[2,y.a],X.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,l.Pb(e,1)._noopAnimations,l.Pb(e,1).diameter,l.Pb(e,1).diameter)}))}function oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-search-aircraft-past",[],null,null,null,Z,Q)),l.Cb(1,114688,null,0,J,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ghost",[],null,null,null,lt,nt)),l.Cb(1,114688,null,0,et,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function se(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-replay",[],null,null,null,st,at)),l.Cb(1,49152,null,0,ot,[O.e,l.p],null,null)],null,null)}function ue(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-filter",[],null,null,null,ht,dt)),l.Cb(1,114688,null,0,ct,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function ce(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-search-bar",[],null,null,null,Ut,Ot)),l.Cb(1,114688,null,0,xt,[D.a,E.a,T.b,St.a,kt.a,Mt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function de(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-edition-db",[],null,null,null,Ht,Gt)),l.Cb(1,114688,null,0,zt,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function he(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-permalink",[],null,null,null,$t,Wt)),l.Cb(1,114688,null,0,qt,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification",[],null,null,null,te,Zt)),l.Cb(1,114688,null,0,Qt,[l.j,O.e,l.p,Jt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,38,"ion-header",[],null,null,null,h.x,h.f)),l.Cb(1,49152,null,0,p.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,36,"ion-toolbar",[],null,null,null,h.J,h.r)),l.Cb(3,49152,null,0,p.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,2,"ion-title",[["slot","start"]],null,null,null,h.I,h.q)),l.Cb(5,49152,null,0,p.yb,[l.j,l.p,l.G],null,null),(t()(),l.Db(6,0,null,0,0,"img",[["alt","logo"],["height","40"],["src","../../../../assets/logo.svg"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,0,2,"ion-title",[["class","currentDate"],["slot","secondary"]],null,null,null,h.I,h.q)),l.Cb(8,49152,null,0,p.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(9,0,[" "," "])),(t()(),l.Db(10,0,null,0,28,"ion-buttons",[["slot","end"]],null,null,null,h.v,h.d)),l.Cb(11,49152,null,0,p.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(12,0,null,0,2,"div",[["id","loader"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,re)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,oe)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ae)),l.Cb(18,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,se)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ue)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ce)),l.Cb(24,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,de)),l.Cb(26,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,he)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,pe)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,0,3,"div",[["class","traffic-counter"]],null,null,null,null,null)),(t()(),l.Wb(32,null,[" "," "])),(t()(),l.Db(33,0,null,null,1,"ion-icon",[["name","airplane"],["slot","end"]],null,null,null,h.y,h.g)),l.Cb(34,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(35,0,null,0,3,"ion-button",[["color","primary"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.logout()&&l),l}),h.u,h.c)),l.Cb(36,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(37,0,null,0,1,"ion-icon",[["color","danger"],["fill","solid"],["ios","md-log-out"],["md","md-log-out"],["name","log-out"],["shape","round"]],null,null,null,h.y,h.g)),l.Cb(38,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],ios:[1,"ios"],md:[2,"md"],name:[3,"name"]},null)],(function(t,e){var n=e.component;t(e,14,0,n.timeService&&n.timeService.isLock),t(e,16,0,n.modeAll),t(e,18,0,!n.timeService.getDateReplay()&&n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,20,0,n.modeAll),t(e,22,0,n.modeAll),t(e,24,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,26,0,!n.timeService.getDateReplay()&&n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,28,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,30,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,34,0,"airplane"),t(e,36,0,"primary"),t(e,38,0,"danger","md-log-out","md-log-out","log-out")}),(function(t,e){var n=e.component;t(e,9,0,n.currentDate),t(e,32,0,n.trafficService.getNbAircrafts())}))}var be=n("bujt"),me=n("Fwaw"),ge=n("wd/R"),_e=n("GXLG"),ye=n("AIJQ");class Ae{constructor(t,e,n,i,r){this.dialog=t,this.stopPointService=e,this.lineService=n,this.aircraftService=i,this.snackBarService=r,this.closeEditRoute=new l.r,this.aFromAutoComplete$=null,this.aFromAutoCompleteControl=new v.g,this.aToAutoComplete$=null,this.aToAutoCompleteControl=new v.g,this.airportFromTo=[]}ngAfterViewInit(){this.aFromAutoComplete$=this.aFromAutoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>""!==t?this.lookupStopPoint(t):Object(_t.a)(null))),this.aToAutoComplete$=this.aToAutoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>""!==t?this.lookupStopPoint(t):Object(_t.a)(null)))}lookupStopPoint(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(At.a)(t=>t.data),Object(wt.a)(t=>Object(_t.a)(null)))}submitRoute(t,e){this.airportFromTo[t]=e}changeRoute(){this.airportFromTo.length>=1?this.lineService.getManyBaseLineControllerLine({filter:["callsign||eq||"+this.aircraft.callsign]}).subscribe(t=>{if(t.data.length>0)this.openDialog(t.data[0]);else{const t=this.aircraft.callsign&&""!==this.aircraft.callsign?this.aircraft.callsign:this.aircraft.icao+"_"+ge().format("YYYY/MM/DD-h:mm");this.createLine(t,!this.aircraft.callsign||""===this.aircraft.callsign)}}):this.snackBarService.openSnackBar("No airport selected")}openDialog(t){this.dialog.open(ye.a,{width:"250px"}).afterClosed().subscribe(e=>{if(console.log("The dialog was closed",e),"UPDATE"===e)this.updateLine(t);else if("CREATE"===e){const e=t.callsign+"_"+ge().format("YYYY/MM/DD-h:mm");this.createLine(e,!0)}})}createLine(t,e){this.lineService.createOneBaseLineControllerLine({body:{callsign:t,fromIcao:this.airportFromTo[0]?this.airportFromTo[0].icao:null,toIcao:this.airportFromTo[1]?this.airportFromTo[1].icao:null,operatorIcao:this.aircraft.operatorIcao&&""!==this.aircraft.operatorIcao?this.aircraft.operatorIcao:null}}).subscribe(n=>{e?this.overrideCallsign(t):(this.updateAirportAircraft(),this.closeEditRoute.emit())},t=>console.log("ERROR: lineService.lineControllerCreateOneBase",t))}updateLine(t){this.lineService.updateOneBaseLineControllerLine({id:t.id,body:{fromIcao:this.airportFromTo[0]?this.airportFromTo[0].icao:null,toIcao:this.airportFromTo[1]?this.airportFromTo[1].icao:null}}).subscribe(t=>{this.updateAirportAircraft(),this.closeEditRoute.emit()},t=>console.log("ERROR: lineControllerUpdateOneBase",t))}overrideCallsign(t){this.aircraftService.aircraftControllerSetOverriders({icao:this.aircraft.icao,body:{callsign:t}}).subscribe(t=>{this.updateAirportAircraft(),this.closeEditRoute.emit()})}updateAirportAircraft(){this.aircraft.fromAirport=this.airportFromTo[0],this.aircraft.toAirport=this.airportFromTo[1]}}var ve=n("Nw85"),Ce=l.Bb({encapsulation:0,styles:[[".edit-routes[_ngcontent-%COMP%]{position:relative;padding:10px;display:flex;align-items:center;background-color:#fff;color:#666}.edit-routes[_ngcontent-%COMP%] .edit-route[_ngcontent-%COMP%]{width:40%}.edit-routes[_ngcontent-%COMP%] .button-edit-route[_ngcontent-%COMP%]{width:20%}.edit-routes[_ngcontent-%COMP%] .mat-form-field{width:100%;padding:0}.edit-routes[_ngcontent-%COMP%] .mat-form-field>*{padding:0}"]],data:{}});function we(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.submitRoute(0,t.context.$implicit)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[10,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.icao)}))}function Pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.submitRoute(1,t.context.$implicit)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[21,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.icao)}))}function xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,62,"div",[["class","edit-routes"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,28,"div",[["class","edit-route"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(3,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(13,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airport From"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,14)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,14)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,14)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,15)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,15)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,15)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,15)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,20)._onInput()&&i),i}),null,null)),l.Cb(14,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(15,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(17,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(19,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(20,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],b.d,null,[A.b]),(t()(),l.Db(22,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(24,1097728,[["autoAFrom",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,we)),l.Cb(28,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j]),(t()(),l.Db(30,0,null,null,28,"div",[["class","edit-route"]],null,null,null,null,null)),(t()(),l.Db(31,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(32,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,12,{_controlNonStatic:0}),l.Ub(335544320,13,{_controlStatic:0}),l.Ub(603979776,14,{_labelChildNonStatic:0}),l.Ub(335544320,15,{_labelChildStatic:0}),l.Ub(603979776,16,{_placeholderChild:0}),l.Ub(603979776,17,{_errorChildren:1}),l.Ub(603979776,18,{_hintChildren:1}),l.Ub(603979776,19,{_prefixChildren:1}),l.Ub(603979776,20,{_suffixChildren:1}),(t()(),l.Db(42,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airport To"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,43)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,43).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,43)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,43)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,44)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,44)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,44)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,44)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,49)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,49)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,49)._onInput()&&i),i}),null,null)),l.Cb(43,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(44,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(46,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(48,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(49,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[12,4],[13,4]],b.d,null,[A.b]),(t()(),l.Db(51,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(53,1097728,[["autoATo",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,21,{options:1}),l.Ub(603979776,22,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Pe)),l.Cb(57,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j]),(t()(),l.Db(59,0,null,null,3,"button",[["class","button-edit-route"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.changeRoute()&&l),l}),be.b,be.a)),l.Cb(60,180224,null,0,me.b,[l.p,x.h,[2,y.a]],null,null),(t()(),l.Db(61,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(62,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,3,0,"outline"),t(e,15,0,l.Pb(e,24)),t(e,17,0,n.aFromAutoCompleteControl),t(e,20,0,"Airport From","text"),t(e,24,0,""),t(e,28,0,l.Xb(e,28,0,l.Pb(e,29).transform(n.aFromAutoComplete$))),t(e,32,0,"outline"),t(e,44,0,l.Pb(e,53)),t(e,46,0,n.aToAutoCompleteControl),t(e,49,0,"Airport To","text"),t(e,53,0,""),t(e,57,0,l.Xb(e,57,0,l.Pb(e,58).transform(n.aToAutoComplete$))),t(e,62,0,"add")}),(function(t,e){t(e,2,1,["standard"==l.Pb(e,3).appearance,"fill"==l.Pb(e,3).appearance,"outline"==l.Pb(e,3).appearance,"legacy"==l.Pb(e,3).appearance,l.Pb(e,3)._control.errorState,l.Pb(e,3)._canLabelFloat,l.Pb(e,3)._shouldLabelFloat(),l.Pb(e,3)._hasFloatingLabel(),l.Pb(e,3)._hideControlPlaceholder(),l.Pb(e,3)._control.disabled,l.Pb(e,3)._control.autofilled,l.Pb(e,3)._control.focused,"accent"==l.Pb(e,3).color,"warn"==l.Pb(e,3).color,l.Pb(e,3)._shouldForward("untouched"),l.Pb(e,3)._shouldForward("touched"),l.Pb(e,3)._shouldForward("pristine"),l.Pb(e,3)._shouldForward("dirty"),l.Pb(e,3)._shouldForward("valid"),l.Pb(e,3)._shouldForward("invalid"),l.Pb(e,3)._shouldForward("pending"),!l.Pb(e,3)._animationsEnabled]),t(e,13,1,[l.Pb(e,15).autocompleteAttribute,l.Pb(e,15).autocompleteDisabled?null:"combobox",l.Pb(e,15).autocompleteDisabled?null:"list",l.Pb(e,15).panelOpen&&l.Pb(e,15).activeOption?l.Pb(e,15).activeOption.id:null,l.Pb(e,15).autocompleteDisabled?null:l.Pb(e,15).panelOpen.toString(),l.Pb(e,15).autocompleteDisabled||!l.Pb(e,15).panelOpen||null==l.Pb(e,15).autocomplete?null:l.Pb(e,15).autocomplete.id,!l.Pb(e,15).autocompleteDisabled,l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20)._isServer,l.Pb(e,20).id,l.Pb(e,20).placeholder,l.Pb(e,20).disabled,l.Pb(e,20).required,l.Pb(e,20).readonly&&!l.Pb(e,20)._isNativeSelect||null,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20).errorState,l.Pb(e,20).required.toString()]),t(e,31,1,["standard"==l.Pb(e,32).appearance,"fill"==l.Pb(e,32).appearance,"outline"==l.Pb(e,32).appearance,"legacy"==l.Pb(e,32).appearance,l.Pb(e,32)._control.errorState,l.Pb(e,32)._canLabelFloat,l.Pb(e,32)._shouldLabelFloat(),l.Pb(e,32)._hasFloatingLabel(),l.Pb(e,32)._hideControlPlaceholder(),l.Pb(e,32)._control.disabled,l.Pb(e,32)._control.autofilled,l.Pb(e,32)._control.focused,"accent"==l.Pb(e,32).color,"warn"==l.Pb(e,32).color,l.Pb(e,32)._shouldForward("untouched"),l.Pb(e,32)._shouldForward("touched"),l.Pb(e,32)._shouldForward("pristine"),l.Pb(e,32)._shouldForward("dirty"),l.Pb(e,32)._shouldForward("valid"),l.Pb(e,32)._shouldForward("invalid"),l.Pb(e,32)._shouldForward("pending"),!l.Pb(e,32)._animationsEnabled]),t(e,42,1,[l.Pb(e,44).autocompleteAttribute,l.Pb(e,44).autocompleteDisabled?null:"combobox",l.Pb(e,44).autocompleteDisabled?null:"list",l.Pb(e,44).panelOpen&&l.Pb(e,44).activeOption?l.Pb(e,44).activeOption.id:null,l.Pb(e,44).autocompleteDisabled?null:l.Pb(e,44).panelOpen.toString(),l.Pb(e,44).autocompleteDisabled||!l.Pb(e,44).panelOpen||null==l.Pb(e,44).autocomplete?null:l.Pb(e,44).autocomplete.id,!l.Pb(e,44).autocompleteDisabled,l.Pb(e,48).ngClassUntouched,l.Pb(e,48).ngClassTouched,l.Pb(e,48).ngClassPristine,l.Pb(e,48).ngClassDirty,l.Pb(e,48).ngClassValid,l.Pb(e,48).ngClassInvalid,l.Pb(e,48).ngClassPending,l.Pb(e,49)._isServer,l.Pb(e,49).id,l.Pb(e,49).placeholder,l.Pb(e,49).disabled,l.Pb(e,49).required,l.Pb(e,49).readonly&&!l.Pb(e,49)._isNativeSelect||null,l.Pb(e,49)._ariaDescribedby||null,l.Pb(e,49).errorState,l.Pb(e,49).required.toString()]),t(e,59,0,l.Pb(e,60).disabled||null,"NoopAnimations"===l.Pb(e,60)._animationMode)}))}var Se=n("mnSs"),ke=n("rBEc"),Me=n("JRYL"),Oe=n("E/wX"),De=n("F2y6"),Te=n("xfxu"),Ee=n("G+Jc"),Ie=n("Blz8"),Le=n("Io5N"),je=n("Al5c"),Re=n("cUpR"),Fe=n("c9fC"),Ne=n("AyJq"),Ye=n("8bJo"),Ue=n("Mz6y"),Be=n("uUEO"),ze=l.Bb({encapsulation:0,styles:[[".flex-50[_ngcontent-%COMP%]{display:flex}.flex-50[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%}.flex-33[_ngcontent-%COMP%]{display:flex}.flex-33[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:33%}.yellow[_ngcontent-%COMP%]{color:#f8c023}.warning[_ngcontent-%COMP%]{color:#b22222!important}.tooltip-flex-50[_ngcontent-%COMP%]{width:130px;display:flex}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px;flex-basis:50%}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#fff;font-size:10px;text-transform:uppercase}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.header[_ngcontent-%COMP%]{position:relative;width:100%;background-color:var(--ion-color-primary);color:#fff;position:-webkit-sticky;position:sticky;top:0}.header[_ngcontent-%COMP%] .edit-route-button[_ngcontent-%COMP%]{position:absolute;right:2px;color:var(--ion-color-primary);background-color:transparent;top:40px}.header[_ngcontent-%COMP%] edit-route[_ngcontent-%COMP%]{position:relative}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{position:relative;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-align:center;overflow:hidden;max-width:120px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;width:40px;height:40px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:0;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block}.header[_ngcontent-%COMP%] .separate-white[_ngcontent-%COMP%]{background-color:#fff;width:80%}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;display:flex;align-items:center;width:120px;max-width:120px}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .date-title[_ngcontent-%COMP%]{text-transform:uppercase;font-size:11px;color:rgba(255,255,255,.5)}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:16px;height:16px;margin:5px}.body[_ngcontent-%COMP%] .margin-bottom[_ngcontent-%COMP%]{margin-bottom:10px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%]{font-weight:900;font-family:Quicksand;font-size:14px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);display:flex;align-items:center}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{color:#fff;width:30px;height:30px;margin-right:10px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#666;font-size:10px;text-transform:uppercase}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#3880ff}.body[_ngcontent-%COMP%] .mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}.body[_ngcontent-%COMP%] .mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important}.body[_ngcontent-%COMP%] .mat-expansion-indicator::after{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] div.mat-expansion-panel-body{padding:5px;background-color:#f0f0f0}.aircraft-options[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:0;left:0;width:100%}.aircraft-options[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0!important}.aircraft-options[_ngcontent-%COMP%] .tab-selected[_ngcontent-%COMP%]{border-top:5px solid var(--ion-color-primary)}.sub-panel[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:57px;left:0;width:100%}"]],data:{}});function Ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","edit-route-button"],["mat-button",""],["name","md-create"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=0!=(i.editRoute=!i.editRoute)&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"md-create")}),null)}function He(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"edit-route",[],null,[[null,"closeEditRoute"]],(function(t,e,n){var l=!0,i=t.component;return"closeEditRoute"===e&&(l=0!=(i.editRoute=!i.editRoute)&&l),l}),xe,Ce)),l.Cb(1,4243456,null,0,Ae,[O.e,Mt.a,ve.a,kt.a,_e.a],{aircraft:[0,"aircraft"]},{closeEditRoute:"closeEditRoute"})],(function(t,e){t(e,1,0,e.component.selectedAircraft)}),null)}function Ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,16),"template"),t(e,3,0,"more")}),null)}function qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.stopsIcao)}))}function We(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,17,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","route flex-50"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.Db(5,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),(t()(),l.Db(7,0,null,null,4,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(9,null,[" "," "])),(t()(),l.Db(10,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(11,null,[" "," "])),(t()(),l.Db(12,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ve)),l.Cb(15,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,qe)),(t()(),l.Db(17,0,null,null,0,"hr",[["class","separate-white"]],null,null,null,null,null))],(function(t,e){t(e,15,0,e.component.selectedAircraft.stopsIcao)}),(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"",n.selectedAircraft.fromAirport.name,"")),t(e,4,0,n.selectedAircraft.fromAirport.icao),t(e,5,0,l.Hb(1,"",n.selectedAircraft.fromAirport.location,"")),t(e,6,0,n.selectedAircraft.fromAirport.location),t(e,8,0,l.Hb(1,"",n.selectedAircraft.toAirport.name,"")),t(e,9,0,n.selectedAircraft.toAirport.icao),t(e,10,0,l.Hb(1,"",n.selectedAircraft.toAirport.location,"")),t(e,11,0,n.selectedAircraft.toAirport.location),t(e,13,0,l.Hb(1,"../../../../assets/images/",n.selectedAircraft.getIconStatus(),""))}))}function $e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.model)}))}function Ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registered_owners)}))}function Qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ze(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.homeAerodromeDGAC)}))}function tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function en(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.addressOwnerDGAC)}))}function nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,21,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OWNER"])),(t()(),l.sb(16777216,null,null,1,null,Ke)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Je)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["HOME"])),(t()(),l.sb(16777216,null,null,1,null,Qe)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ze)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ADRESS"])),(t()(),l.sb(16777216,null,null,1,null,tn)),l.Cb(19,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,en)),l.Cb(21,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.registered_owners),t(e,7,0,null!=n.selectedAircraft.registered_owners),t(e,12,0,null==n.selectedAircraft.homeAerodromeDGAC),t(e,14,0,null!=n.selectedAircraft.homeAerodromeDGAC),t(e,19,0,null==n.selectedAircraft.addressOwnerDGAC),t(e,21,0,null!=n.selectedAircraft.addressOwnerDGAC)}),null)}function ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registration)}))}function on(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function an(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorName)}))}function sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorIcao)}))}function cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.country)}))}function hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.squawk)}))}function fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," hPa"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.inhg)}))}function mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.vsi)}))}function _n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ctlAgency)}))}function An(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacV)}))}function wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacP)}))}function xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.selectedAircraft.sil,n.selectedAircraft.silType)}))}function kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rc)}))}function On(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nicBaro)}))}function Tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACV"])),(t()(),l.sb(16777216,null,null,1,null,vn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACP"])),(t()(),l.sb(16777216,null,null,1,null,wn)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,7,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SIL"])),(t()(),l.sb(16777216,null,null,1,null,xn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Sn)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PC"])),(t()(),l.sb(16777216,null,null,1,null,kn)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Mn)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NIC BARO"])),(t()(),l.sb(16777216,null,null,1,null,On)),l.Cb(35,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Dn)),l.Cb(37,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.nacV),t(e,7,0,null!=n.selectedAircraft.nacV),t(e,12,0,null==n.selectedAircraft.nacP),t(e,14,0,null!=n.selectedAircraft.nacP),t(e,20,0,null===n.selectedAircraft.sil||null===n.selectedAircraft.silType),t(e,22,0,null!==n.selectedAircraft.sil&&null!==n.selectedAircraft.silType),t(e,28,0,null==n.selectedAircraft.rc),t(e,30,0,null!=n.selectedAircraft.rc),t(e,35,0,null==n.selectedAircraft.nicBaro),t(e,37,0,null!=n.selectedAircraft.nicBaro)}),null)}function En(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function In(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function Fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trueHeading)}))}function Yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0/s"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trackRate)}))}function Bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.roll)}))}function Gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GR TRACK"])),(t()(),l.sb(16777216,null,null,1,null,jn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Rn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["T HEADING"])),(t()(),l.sb(16777216,null,null,1,null,Fn)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK RATE"])),(t()(),l.sb(16777216,null,null,1,null,Yn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Un)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ROLL"])),(t()(),l.sb(16777216,null,null,1,null,Bn)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zn)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.track),t(e,7,0,null!=n.selectedAircraft.track),t(e,12,0,null==n.selectedAircraft.trueHeading),t(e,14,0,null!=n.selectedAircraft.trueHeading),t(e,20,0,null==n.selectedAircraft.trackRate),t(e,22,0,null!=n.selectedAircraft.trackRate),t(e,27,0,null==n.selectedAircraft.roll),t(e,29,0,null!=n.selectedAircraft.roll)}),null)}function Hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function $n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tas)}))}function Kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ias)}))}function Qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function el(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GROUND"])),(t()(),l.sb(16777216,null,null,1,null,qn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Wn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRUE"])),(t()(),l.sb(16777216,null,null,1,null,$n)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,16,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["INDICATED"])),(t()(),l.sb(16777216,null,null,1,null,Kn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Jn)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,Qn)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Zn)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,tl)),l.Cb(31,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.speed),t(e,7,0,null!=n.selectedAircraft.speed),t(e,12,0,null==n.selectedAircraft.tas),t(e,14,0,null!=n.selectedAircraft.tas),t(e,20,0,null==n.selectedAircraft.ias),t(e,22,0,null!=n.selectedAircraft.ias),t(e,27,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,29,0,null!==n.selectedAircraft.mach),t(e,31,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed())}),null)}function nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitudeGps));t(e,1,0,i)}))}function dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function hl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.gva)}))}function pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.baroRate)}))}function bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.geomRate)}))}function gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function _l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ws)}))}function yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.wd)}))}function vl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tat)}))}function wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.oat)}))}function xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SPEED"])),(t()(),l.sb(16777216,null,null,1,null,gl)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,_l)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["DIR"])),(t()(),l.sb(16777216,null,null,1,null,yl)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Al)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TAT"])),(t()(),l.sb(16777216,null,null,1,null,vl)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cl)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OAT"])),(t()(),l.sb(16777216,null,null,1,null,wl)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pl)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.ws),t(e,7,0,null!=n.selectedAircraft.ws),t(e,12,0,null==n.selectedAircraft.wd),t(e,14,0,null!=n.selectedAircraft.wd),t(e,20,0,null==n.selectedAircraft.tat),t(e,22,0,null!=n.selectedAircraft.tat),t(e,27,0,null==n.selectedAircraft.oat),t(e,29,0,null!=n.selectedAircraft.oat)}),null)}function Sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeFms)}))}function Ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeMcp)}))}function Dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navHeading)}))}function El(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navModes)}))}function Ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rssi)}))}function Rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.messages)}))}function Nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["RSSI"])),(t()(),l.sb(16777216,null,null,1,null,Ll)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,jl)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MESSAGES"])),(t()(),l.sb(16777216,null,null,1,null,Rl)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Fl)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.rssi),t(e,7,0,null!=n.selectedAircraft.rssi),t(e,12,0,null==n.selectedAircraft.messages),t(e,14,0,null!=n.selectedAircraft.messages)}),null)}function Yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.category)}))}function Bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"graph-altitude",[],null,null,null,ke.b,ke.a)),l.Cb(1,376832,null,0,Me.a,[l.j,I.b],{aircraft:[0,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.selectedAircraft)}),null)}function zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"trajectory",[],null,[[null,"toggleTrajectory"]],(function(t,e,n){var l=!0;return"toggleTrajectory"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),Oe.b,Oe.a)),l.Cb(1,4440064,null,0,De.a,[l.j,D.a,T.b],null,null)],(function(t,e){t(e,1,0)}),null)}function Gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"interception",[["groupLayer","Interception"],["name","interception"],["zIndex","200"]],null,null,null,Te.b,Te.a)),l.Cb(1,4702208,null,0,Ee.a,[l.j,D.a,Mt.a,T.b],{name:[0,"name"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"],aircraft:[3,"aircraft"]},null)],(function(t,e){t(e,1,0,"interception","200","Interception",e.component.selectedAircraft)}),null)}function Hl(t){return l.Yb(2,[l.Qb(0,Ie.a,[]),l.Qb(0,i.e,[l.A]),l.Qb(0,d.a,[]),(t()(),l.Db(3,0,null,null,27,"div",[["class","header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0,i=t.component;return"toClose"===e&&(l=!1!==i.selectAircraftService.unSelectAircrafts(i.selectedAircraft)&&l),l}),Le.b,Le.a)),l.Cb(5,245760,null,0,je.a,[j.a,I.b,Re.b,le.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Ge)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,He)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,We)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(12,0,null,null,18,"div",[["class","date"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,8,"div",[["class","from-date"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,0,"img",[["src","../../../../assets/images/departing-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["pickup time"])),(t()(),l.Db(18,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(19,null,["",""])),l.Sb(20,2),l.Sb(21,1),(t()(),l.Db(22,0,null,null,8,"div",[["class","to-date"]],null,null,null,null,null)),(t()(),l.Db(23,0,null,null,0,"img",[["src","../../../../assets/images/arriving-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["landing time"])),(t()(),l.Db(27,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(28,null,["\u2248 ",""])),l.Sb(29,2),l.Sb(30,1),(t()(),l.Db(31,0,null,null,292,"div",[["class","body"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,291,"mat-accordion",[["class","mat-accordion"],["multi","true"]],null,null,null,null,null)),l.Cb(33,1720320,null,1,Fe.c,[],{multi:[0,"multi"]},null),l.Ub(603979776,1,{_headers:1}),l.Tb(2048,null,Fe.a,null,[Fe.c]),(t()(),l.Db(36,16777216,null,null,60,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ne.d,Ne.a)),l.Cb(37,1753088,null,1,Fe.e,[[3,Fe.a],l.j,Ye.d,l.Y,i.d,[2,y.a],[2,Fe.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,2,{_lazyContent:0}),l.Tb(256,null,Fe.a,void 0,[]),(t()(),l.Db(40,0,null,0,7,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,41)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,41)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,41)._animationStarted()&&i),i}),Ne.c,Ne.b)),l.Cb(41,180224,[[1,4]],0,Fe.f,[Fe.e,l.p,x.h,l.j,[2,Fe.b]],null,null),l.Rb(42,{collapsedHeight:0,expandedHeight:1}),l.Rb(43,{value:0,params:1}),(t()(),l.Db(44,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(45,16384,null,0,Fe.g,[],null,null),(t()(),l.Db(46,0,null,null,0,"img",[["src","../../../../assets/images/info-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Wb(47,null,[" MORE "," INFORMATIONS "])),(t()(),l.Db(48,0,null,1,48,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(49,0,null,null,25,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(50,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(51,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.sb(16777216,null,null,1,null,$e)),l.Cb(54,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xe)),l.Cb(56,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(57,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(58,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG "])),(t()(),l.Db(60,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,61).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,61).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,61).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,61).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,61).onClick()&&i),i}),null,null)),l.Cb(61,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(62,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(63,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["regTooltip",2]],null,0,null,nn)),(t()(),l.sb(16777216,null,null,1,null,ln)),l.Cb(66,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rn)),l.Cb(68,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(69,0,null,null,5,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(70,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ICAO"])),(t()(),l.Db(72,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(73,null,["",""])),l.Sb(74,1),(t()(),l.Db(75,0,null,null,21,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(76,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(77,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE"])),(t()(),l.sb(16777216,null,null,1,null,on)),l.Cb(80,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,an)),l.Cb(82,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(83,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(84,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE ICAO"])),(t()(),l.sb(16777216,null,null,1,null,sn)),l.Cb(87,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,un)),l.Cb(89,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(90,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(91,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["COUNTRY"])),(t()(),l.sb(16777216,null,null,1,null,cn)),l.Cb(94,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,dn)),l.Cb(96,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(97,16777216,null,null,224,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ne.d,Ne.a)),l.Cb(98,1753088,null,1,Fe.e,[[3,Fe.a],l.j,Ye.d,l.Y,i.d,[2,y.a],[2,Fe.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,3,{_lazyContent:0}),l.Tb(256,null,Fe.a,void 0,[]),(t()(),l.Db(101,0,null,0,9,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,102)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,102)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,102)._animationStarted()&&i),i}),Ne.c,Ne.b)),l.Cb(102,180224,[[1,4]],0,Fe.f,[Fe.e,l.p,x.h,l.j,[2,Fe.b]],null,null),l.Rb(103,{collapsedHeight:0,expandedHeight:1}),l.Rb(104,{value:0,params:1}),(t()(),l.Db(105,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(106,16384,null,0,Fe.g,[],null,null),(t()(),l.Db(107,0,null,null,0,"img",[["src","../../../../assets/images/radar-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(108,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(109,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REAL TIME INFORMATIONS"])),(t()(),l.Db(111,0,null,1,210,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(112,0,null,null,23,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(113,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(114,16777216,null,null,2,"p",[["matTooltip","Squawk"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,115).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,115)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,115)._handleTouchend()&&i),i}),null,null)),l.Cb(115,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["IFF"])),(t()(),l.sb(16777216,null,null,1,null,hn)),l.Cb(118,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pn)),l.Cb(120,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(121,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(122,16777216,null,null,2,"p",[["matTooltip","Altimeter setting"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,123).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,123)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,123)._handleTouchend()&&i),i}),null,null)),l.Cb(123,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT SET"])),(t()(),l.sb(16777216,null,null,1,null,fn)),l.Cb(126,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bn)),l.Cb(128,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(129,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(130,0,null,null,1,"p",[["atTooltip","Vsi"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VERT RATE"])),(t()(),l.sb(16777216,null,null,1,null,mn)),l.Cb(133,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gn)),l.Cb(135,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(136,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(137,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(138,16777216,null,null,2,"p",[["matTooltip","Squawk legend"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,139).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,139)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,139)._handleTouchend()&&i),i}),null,null)),l.Cb(139,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CTL AGENCY"])),(t()(),l.sb(16777216,null,null,1,null,_n)),l.Cb(142,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yn)),l.Cb(144,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(145,0,null,null,29,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(146,0,null,null,12,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(147,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,An)),l.Cb(150,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(151,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,152).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,152).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,152).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,152).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,152).onClick()&&i),i}),null,null)),l.Cb(152,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(153,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(154,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["accuracyTooltip",2]],null,0,null,Tn)),(t()(),l.Db(156,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(157,null,["",""])),l.Sb(158,1),(t()(),l.Db(159,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(160,16777216,null,null,4,"p",[["matTooltip","Position in degre/minute/second"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,161).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,161)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,161)._handleTouchend()&&i),i}),null,null)),l.Cb(161,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,En)),l.Cb(164,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(165,0,null,null,2,"p",[["style","min-width: 95px;"]],null,null,null,null,null)),(t()(),l.Wb(166,null,["",""])),l.Sb(167,1),(t()(),l.Db(168,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(169,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,In)),l.Cb(172,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ln)),l.Cb(174,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(175,0,null,null,33,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(176,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(177,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK "])),(t()(),l.Db(179,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,180).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,180).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,180).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,180).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,180).onClick()&&i),i}),null,null)),l.Cb(180,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(181,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(182,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["trackTooltip",2]],null,0,null,Gn)),(t()(),l.sb(16777216,null,null,1,null,Hn)),l.Cb(185,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Vn)),l.Cb(187,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(188,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(189,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS "])),(t()(),l.Db(191,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,192).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,192).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,192).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,192).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,192).onClick()&&i),i}),null,null)),l.Cb(192,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(193,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(194,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["gsTooltip",2]],null,0,null,el)),(t()(),l.sb(16777216,null,null,1,null,nl)),l.Cb(197,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ll)),l.Cb(199,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(200,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(201,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,il)),l.Cb(204,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rl)),l.Cb(206,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ol)),l.Cb(208,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(209,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(210,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(211,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(212,16777216,null,null,2,"p",[["matTooltip","Barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,213).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,213)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,213)._handleTouchend()&&i),i}),null,null)),l.Cb(213,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,al)),l.Cb(216,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,sl)),l.Cb(218,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(219,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(220,16777216,null,null,2,"p",[["matTooltip","Gps altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,221).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,221)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,221)._handleTouchend()&&i),i}),null,null)),l.Cb(221,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GPS ALT"])),(t()(),l.sb(16777216,null,null,1,null,ul)),l.Cb(224,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,cl)),l.Cb(226,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(227,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(228,16777216,null,null,2,"p",[["matTooltip","Geometric Vertical Accuracy"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,229).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,229)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,229)._handleTouchend()&&i),i}),null,null)),l.Cb(229,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOMETRIC"])),(t()(),l.sb(16777216,null,null,1,null,dl)),l.Cb(232,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,hl)),l.Cb(234,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(235,0,null,null,25,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(236,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(237,16777216,null,null,2,"p",[["matTooltip","Rate of change of barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,238).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,238)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,238)._handleTouchend()&&i),i}),null,null)),l.Cb(238,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["BARO RATE"])),(t()(),l.sb(16777216,null,null,1,null,pl)),l.Cb(241,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,fl)),l.Cb(243,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(244,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(245,16777216,null,null,2,"p",[["matTooltip","Rate of change of geometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,246).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,246)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,246)._handleTouchend()&&i),i}),null,null)),l.Cb(246,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOM RATE"])),(t()(),l.sb(16777216,null,null,1,null,bl)),l.Cb(249,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ml)),l.Cb(251,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(252,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(253,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["WIND "])),(t()(),l.Db(255,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,256).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,256).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,256).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,256).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,256).onClick()&&i),i}),null,null)),l.Cb(256,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(257,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(258,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["windTooltip",2]],null,0,null,xl)),(t()(),l.Db(260,0,null,null,0,"p",[],null,null,null,null,null)),(t()(),l.Db(261,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(262,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(263,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(264,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Flight Manaagement System"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,265).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,265)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,265)._handleTouchend()&&i),i}),null,null)),l.Cb(265,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT FMS"])),(t()(),l.sb(16777216,null,null,1,null,Sl)),l.Cb(268,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kl)),l.Cb(270,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(271,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(272,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Mode Control Panel"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,273).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,273)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,273)._handleTouchend()&&i),i}),null,null)),l.Cb(273,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT MCP"])),(t()(),l.sb(16777216,null,null,1,null,Ml)),l.Cb(276,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ol)),l.Cb(278,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(279,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(280,16777216,null,null,2,"p",[["matTooltip","Selected heading"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,281).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,281)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,281)._handleTouchend()&&i),i}),null,null)),l.Cb(281,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL HEAD"])),(t()(),l.sb(16777216,null,null,1,null,Dl)),l.Cb(284,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Tl)),l.Cb(286,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(287,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(288,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(289,16777216,null,null,2,"p",[["matTooltip","Set of engaged automation modes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,290).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,290)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,290)._handleTouchend()&&i),i}),null,null)),l.Cb(290,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["NAV MODES"])),(t()(),l.sb(16777216,null,null,1,null,El)),l.Cb(293,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Il)),l.Cb(295,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(296,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(297,0,null,null,10,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(298,0,null,null,9,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(299,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SOURCE "])),(t()(),l.Db(301,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,302).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,302).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,302).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,302).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,302).onClick()&&i),i}),null,null)),l.Cb(302,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(303,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(304,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["sourceTooltip",2]],null,0,null,Nl)),(t()(),l.Db(306,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(307,null,["",""])),(t()(),l.Db(308,0,null,null,13,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(309,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(310,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.Db(312,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(313,null,["",""])),(t()(),l.Db(314,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(315,16777216,null,null,2,"p",[["matTooltip","Emitter category to identify particular aircraft or vehicle classes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,316).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,316)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,316)._handleTouchend()&&i),i}),null,null)),l.Cb(316,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CAT"])),(t()(),l.sb(16777216,null,null,1,null,Yl)),l.Cb(319,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ul)),l.Cb(321,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Bl)),l.Cb(323,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(324,0,null,null,4,"div",[["class","sub-panel"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,zl)),l.Cb(326,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gl)),l.Cb(328,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(329,0,null,null,36,"div",[["class","aircraft-options"]],null,null,null,null,null)),(t()(),l.Db(330,0,null,null,35,"ion-tab-bar",[["slot","bottom"]],null,null,null,h.F,h.n)),l.Cb(331,49152,null,0,p.sb,[l.j,l.p,l.G],null,null),(t()(),l.Db(332,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFollow()&&l),l}),h.G,h.o)),l.Cb(333,49152,null,0,p.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(334,0,null,0,1,"ion-icon",[["name","locate"]],null,null,null,h.y,h.g)),l.Cb(335,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(336,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(337,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Follow"])),(t()(),l.Db(339,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectoryLine()&&l),l}),h.G,h.o)),l.Cb(340,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(341,0,null,0,1,"ion-icon",[["name","compass"]],null,null,null,h.y,h.g)),l.Cb(342,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(343,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(344,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Ray"])),(t()(),l.Db(346,0,null,0,5,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),h.G,h.o)),l.Cb(347,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(348,0,null,0,0,"i",[["class","flaticon-chemical-composition"]],null,null,null,null,null)),(t()(),l.Db(349,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(350,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Areas"])),(t()(),l.Db(352,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleInterception()&&l),l}),h.G,h.o)),l.Cb(353,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(354,0,null,0,1,"ion-icon",[["name","jet"]],null,null,null,h.y,h.g)),l.Cb(355,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(356,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(357,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Inter"])),(t()(),l.Db(359,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFocus()&&l),l}),h.G,h.o)),l.Cb(360,49152,null,0,p.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(361,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,h.y,h.g)),l.Cb(362,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(363,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(364,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Focus"]))],(function(t,e){var n=e.component;t(e,5,0,n.selectedAircraft),t(e,7,0,n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,9,0,n.editRoute),t(e,11,0,!n.editRoute&&n.selectedAircraft.fromAirport&&n.selectedAircraft.toAirport),t(e,33,0,"true"),t(e,37,0,!0),t(e,54,0,null===!n.selectedAircraft.model||void 0===n.selectedAircraft.model),t(e,56,0,null!=n.selectedAircraft.model),t(e,61,0,l.Pb(e,64),"template"),t(e,63,0,"information-circle"),t(e,66,0,null==n.selectedAircraft.registration),t(e,68,0,null!=n.selectedAircraft.registration),t(e,80,0,null==n.selectedAircraft.operatorName),t(e,82,0,null!=n.selectedAircraft.operatorName),t(e,87,0,!n.selectedAircraft.operatorIcao),t(e,89,0,n.selectedAircraft.operatorIcao),t(e,94,0,null==n.selectedAircraft.country),t(e,96,0,null!=n.selectedAircraft.country),t(e,98,0,!0),t(e,115,0,"Squawk"),t(e,118,0,null==n.selectedAircraft.squawk),t(e,120,0,null!=n.selectedAircraft.squawk),t(e,123,0,"Altimeter setting"),t(e,126,0,null==n.selectedAircraft.inhg),t(e,128,0,null!=n.selectedAircraft.inhg),t(e,133,0,null==n.selectedAircraft.vsi),t(e,135,0,null!=n.selectedAircraft.vsi),t(e,139,0,"Squawk legend"),t(e,142,0,null==n.selectedAircraft.ctlAgency),t(e,144,0,null!=n.selectedAircraft.ctlAgency),t(e,150,0,n.selectedAircraft.mlat),t(e,152,0,l.Pb(e,155),"template"),t(e,154,0,"information-circle"),t(e,161,0,"Position in degre/minute/second"),t(e,164,0,n.selectedAircraft.mlat),t(e,172,0,null==n.selectedAircraft.altitude),t(e,174,0,null!=n.selectedAircraft.altitude),t(e,180,0,l.Pb(e,183),"template"),t(e,182,0,"information-circle"),t(e,185,0,null==n.selectedAircraft.track),t(e,187,0,null!=n.selectedAircraft.track),t(e,192,0,l.Pb(e,195),"template"),t(e,194,0,"information-circle"),t(e,197,0,null==n.selectedAircraft.speed),t(e,199,0,null!=n.selectedAircraft.speed),t(e,204,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,206,0,null!==n.selectedAircraft.mach),t(e,208,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed()),t(e,213,0,"Barometric altitude"),t(e,216,0,null==n.selectedAircraft.altitude),t(e,218,0,null!=n.selectedAircraft.altitude),t(e,221,0,"Gps altitude"),t(e,224,0,null==n.selectedAircraft.altitudeGps),t(e,226,0,null!=n.selectedAircraft.altitudeGps),t(e,229,0,"Geometric Vertical Accuracy"),t(e,232,0,null==n.selectedAircraft.gva),t(e,234,0,null!=n.selectedAircraft.gva),t(e,238,0,"Rate of change of barometric altitude"),t(e,241,0,null==n.selectedAircraft.baroRate),t(e,243,0,null!=n.selectedAircraft.baroRate),t(e,246,0,"Rate of change of geometric altitude"),t(e,249,0,null==n.selectedAircraft.geomRate),t(e,251,0,null!=n.selectedAircraft.geomRate),t(e,256,0,l.Pb(e,259),"template"),t(e,258,0,"information-circle"),t(e,265,0,"Selected altitude from the Flight Manaagement System"),t(e,268,0,null==n.selectedAircraft.navAltitudeFms),t(e,270,0,null!=n.selectedAircraft.navAltitudeFms),t(e,273,0,"Selected altitude from the Mode Control Panel"),t(e,276,0,null==n.selectedAircraft.navAltitudeMcp),t(e,278,0,null!=n.selectedAircraft.navAltitudeMcp),t(e,281,0,"Selected heading"),t(e,284,0,null==n.selectedAircraft.navHeading),t(e,286,0,null!=n.selectedAircraft.navHeading),t(e,290,0,"Set of engaged automation modes"),t(e,293,0,null==n.selectedAircraft.navModes),t(e,295,0,null!=n.selectedAircraft.navModes),t(e,302,0,l.Pb(e,305),"template"),t(e,304,0,"information-circle"),t(e,316,0,"Emitter category to identify particular aircraft or vehicle classes"),t(e,319,0,null===n.selectedAircraft.category),t(e,321,0,null!==n.selectedAircraft.category),t(e,323,0,n.modeAll),t(e,326,0,n.options.isTrajectoryLine||n.options.isTrajectory),t(e,328,0,n.options.isInterception),t(e,333,0,l.Hb(1,"",n.options.isFollow,"")),t(e,335,0,"locate"),t(e,340,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isTrajectoryLine,"")),t(e,342,0,"compass"),t(e,347,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed||n.selectedAircraft.altitude<=0,l.Hb(1,"",n.options.isTrajectory,"")),t(e,353,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isInterception,"")),t(e,355,0,"jet"),t(e,360,0,l.Hb(1,"",n.options.isFocus,"")),t(e,362,0,"eye")}),(function(t,e){var n=e.component,i=l.Xb(e,19,0,t(e,21,0,l.Pb(e,0),l.Xb(e,19,0,t(e,20,0,l.Pb(e,1),n.selectedAircraft.createdAt,"HH:mm"))));t(e,19,0,i);var r=l.Xb(e,28,0,t(e,30,0,l.Pb(e,0),l.Xb(e,28,0,t(e,29,0,l.Pb(e,1),n.selectedAircraft.eta,"HH:mm"))));t(e,28,0,r),t(e,36,0,l.Pb(e,37).expanded,"NoopAnimations"===l.Pb(e,37)._animationMode,l.Pb(e,37)._hasSpacing());var o=l.Pb(e,41).panel._headerId,a=l.Pb(e,41).disabled?-1:0,s=l.Pb(e,41)._getPanelId(),u=l.Pb(e,41)._isExpanded(),c=l.Pb(e,41).panel.disabled,d=l.Pb(e,41)._isExpanded(),h="after"===l.Pb(e,41)._getTogglePosition(),p="before"===l.Pb(e,41)._getTogglePosition(),f=l.Pb(e,41)._animationsDisabled,b=t(e,43,0,l.Pb(e,41)._getExpandedState(),t(e,42,0,l.Pb(e,41).collapsedHeight,l.Pb(e,41).expandedHeight));t(e,40,0,o,a,s,u,c,d,h,p,f,b),t(e,47,0,n.selectedAircraft.icao);var m=l.Xb(e,73,0,t(e,74,0,l.Pb(e,0),n.selectedAircraft.icao));t(e,73,0,m),t(e,97,0,l.Pb(e,98).expanded,"NoopAnimations"===l.Pb(e,98)._animationMode,l.Pb(e,98)._hasSpacing());var g=l.Pb(e,102).panel._headerId,_=l.Pb(e,102).disabled?-1:0,y=l.Pb(e,102)._getPanelId(),A=l.Pb(e,102)._isExpanded(),v=l.Pb(e,102).panel.disabled,C=l.Pb(e,102)._isExpanded(),w="after"===l.Pb(e,102)._getTogglePosition(),P="before"===l.Pb(e,102)._getTogglePosition(),x=l.Pb(e,102)._animationsDisabled,S=t(e,104,0,l.Pb(e,102)._getExpandedState(),t(e,103,0,l.Pb(e,102).collapsedHeight,l.Pb(e,102).expandedHeight));t(e,101,0,g,_,y,A,v,C,w,P,x,S);var k=l.Xb(e,157,0,t(e,158,0,l.Pb(e,0),n.selectedAircraft.getPositionDegre()));t(e,157,0,k);var M=l.Xb(e,166,0,t(e,167,0,l.Pb(e,0),n.selectedAircraft.getPosition()));t(e,166,0,M),t(e,307,0,n.settingService.getFeedNames(n.selectedAircraft.providers)),t(e,313,0,n.settingService.getFeedTypes(n.selectedAircraft.providers))}))}var Vl=n("6RrN"),ql=l.Bb({encapsulation:0,styles:[[".aircraft-list[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:block;width:300px;z-index:300;overflow-y:auto;max-height:100%}.aircraft-list[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%]{position:relative;background-color:#fff;margin:10px;width:280px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%]{display:flex}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-picture[_ngcontent-%COMP%]{width:30%}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%]{padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] .aircraft-pin-source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:20px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;background-color:var(--ion-color-primary);padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%]{width:40%;text-align:center}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{width:20%;text-align:center}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:5px;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block;color:#fff}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%]{padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%]{display:flex}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:10px;width:33%;margin:2px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-transform:uppercase;color:#999}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .warning[_ngcontent-%COMP%]{color:#b22222!important}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .ctl-agency[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:55px;display:inline-flex}.border-red[_ngcontent-%COMP%]{border:2px solid red}"]],data:{}});function Wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,12),"template"),t(e,3,0,"more")}),null)}function $l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.parent.context.$implicit.stopsIcao)}))}function Xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"div",[["class","aircraft-pin-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(3,null,[" "," "])),l.Sb(4,1),(t()(),l.Db(5,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,1),(t()(),l.Db(8,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Wl)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,$l)),(t()(),l.Db(13,0,null,null,6,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(15,null,[" "," "])),l.Sb(16,1),(t()(),l.Db(17,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(18,null,[" "," "])),l.Sb(19,1)],(function(t,e){t(e,11,0,e.parent.context.$implicit.stopsIcao)}),(function(t,e){t(e,2,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.name,""));var n=l.Xb(e,3,0,t(e,4,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.icao));t(e,3,0,n),t(e,5,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.location,""));var i=l.Xb(e,6,0,t(e,7,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.location));t(e,6,0,i);var r=l.Hb(1,"../../../assets/images/",e.parent.context.$implicit.getIconStatus(),"");t(e,9,0,r),t(e,14,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.name,""));var o=l.Xb(e,15,0,t(e,16,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.icao));t(e,15,0,o),t(e,17,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.location,""));var a=l.Xb(e,18,0,t(e,19,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.location));t(e,18,0,a)}))}function Kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function Ql(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icaoTypeCode)}))}function ti(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ei(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.operatorIcao)}))}function ni(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function li(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function ii(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ri(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.squawk)}))}function oi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ai(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value ctl-agency"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.ctlAgency)}))}function si(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ui(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.altitude));t(e,1,0,n)}))}function ci(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function di(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","ft/m"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.vsi)}))}function hi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OFF"]))],null,null)}function pi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ON"]))],null,null)}function fi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.track)}))}function mi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.speed)}))}function _i(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mach)}))}function Ai(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.parent.context.$implicit.getMachSpeed();t(e,1,0,n)}))}function vi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,98,"div",[["class","aircraft-pin"]],null,[[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var l=!0,i=t.component;return"mouseenter"===e&&(l=!1!==i.mouseEnter(t.context.$implicit)&&l),"mouseleave"===e&&(l=!1!==i.mouseLeave(t.context.$implicit)&&l),l}),null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Rb(3,{"border-red":0}),(t()(),l.Db(4,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0;return"toClose"===e&&(l=!1!==t.component.selectAircraftService.unWatchAircraft(t.context.$implicit)&&l),l}),Le.b,Le.a)),l.Cb(5,245760,null,0,je.a,[j.a,I.b,Re.b,le.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Xl)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,90,"div",[["class","aircraft-pin-desc"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["C.S : "])),(t()(),l.sb(16777216,null,null,1,null,Kl)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Jl)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(17,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MOD : "])),(t()(),l.sb(16777216,null,null,1,null,Ql)),l.Cb(21,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Zl)),l.Cb(23,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(24,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE : "])),(t()(),l.sb(16777216,null,null,1,null,ti)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ei)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(33,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG : "])),(t()(),l.sb(16777216,null,null,1,null,ni)),l.Cb(36,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,li)),l.Cb(38,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(39,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(40,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["IFF : "])),(t()(),l.sb(16777216,null,null,1,null,ii)),l.Cb(43,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ri)),l.Cb(45,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(46,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(47,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["CTL : "])),(t()(),l.sb(16777216,null,null,1,null,oi)),l.Cb(50,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ai)),l.Cb(52,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(53,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(54,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(55,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["FL : "])),(t()(),l.sb(16777216,null,null,1,null,si)),l.Cb(58,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ui)),l.Cb(60,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(61,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(62,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VS : "])),(t()(),l.sb(16777216,null,null,1,null,ci)),l.Cb(65,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,di)),l.Cb(67,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(68,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(69,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["A-PIL : "])),(t()(),l.sb(16777216,null,null,1,null,hi)),l.Cb(72,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pi)),l.Cb(74,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(75,0,null,null,23,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(76,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(77,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK : "])),(t()(),l.sb(16777216,null,null,1,null,fi)),l.Cb(80,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bi)),l.Cb(82,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(83,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(84,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS : "])),(t()(),l.sb(16777216,null,null,1,null,mi)),l.Cb(87,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gi)),l.Cb(89,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(90,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Db(91,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH : "])),(t()(),l.sb(16777216,null,null,1,null,_i)),l.Cb(94,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yi)),l.Cb(96,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ai)),l.Cb(98,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=t(e,3,0,e.component.highLightIcao===e.context.$implicit.icao);t(e,2,0,"aircraft-pin",n),t(e,5,0,e.context.$implicit),t(e,7,0,e.context.$implicit.fromAirport&&e.context.$implicit.toAirport),t(e,14,0,null==e.context.$implicit.callsign),t(e,16,0,null!=e.context.$implicit.callsign),t(e,21,0,null==e.context.$implicit.icaoTypeCode),t(e,23,0,null!=e.context.$implicit.icaoTypeCode),t(e,28,0,null==e.context.$implicit.operatorIcao),t(e,30,0,null!=e.context.$implicit.operatorIcao),t(e,36,0,null==e.context.$implicit.registration),t(e,38,0,null!=e.context.$implicit.registration),t(e,43,0,null==e.context.$implicit.squawk),t(e,45,0,null!=e.context.$implicit.squawk),t(e,50,0,null==e.context.$implicit.ctlAgency),t(e,52,0,null!=e.context.$implicit.ctlAgency),t(e,58,0,null==e.context.$implicit.altitude),t(e,60,0,null!=e.context.$implicit.altitude),t(e,65,0,null==e.context.$implicit.vsi),t(e,67,0,null!=e.context.$implicit.vsi),t(e,72,0,null==e.context.$implicit.navModes||e.context.$implicit.navModes.length<=0),t(e,74,0,null!=e.context.$implicit.navModes&&e.context.$implicit.navModes.length>0),t(e,80,0,null==e.context.$implicit.track),t(e,82,0,null!=e.context.$implicit.track),t(e,87,0,null==e.context.$implicit.speed),t(e,89,0,null!=e.context.$implicit.speed);var l=null==e.context.$implicit.mach&&null==e.context.$implicit.getMachSpeed();t(e,94,0,l),t(e,96,0,null!=e.context.$implicit.mach);var i=null==e.context.$implicit.mach&&null!=e.context.$implicit.getMachSpeed();t(e,98,0,i)}),null)}function Ci(t){return l.Yb(2,[l.Qb(0,Ie.a,[]),l.Qb(0,d.a,[]),(t()(),l.Db(2,0,null,null,5,"div",[["class","aircraft-list"]],null,null,null,null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(4,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(5,{left:0}),(t()(),l.sb(16777216,null,null,1,null,vi)),l.Cb(7,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component,l=t(e,5,0,null!==n.selectAircraft?"300px":"0px");t(e,4,0,l),t(e,7,0,n.watchAircrafts)}),null)}var wi=n("1HJ2"),Pi=l.Bb({encapsulation:0,styles:[["sepia-aircraft-card[_ngcontent-%COMP%]{position:absolute;resize:horizontal;min-width:300px;max-width:50%;width:300px;height:100%;max-height:100%;z-index:300;background-color:#fff;overflow-y:scroll;font-family:Quicksand}sepia-aircraft-card[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(-100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateX(-100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function xi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-card",[],[[24,"@slideInOut",0]],null,null,Hl,ze)),l.Cb(1,507904,null,0,Be.a,[j.a,l.j,T.b,Re.b,ne.a,le.b],{aircraftContext:[0,"aircraftContext"]},null)],(function(t,e){t(e,1,0,e.component.aircraftContext)}),(function(t,e){t(e,0,0,void 0)}))}function Si(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-list",[],null,null,null,Ci,ql)),l.Cb(1,245760,null,0,Vl.a,[l.j,T.b,E.a],null,null),(t()(),l.sb(16777216,null,null,1,null,xi)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,3,0,n.aircraftContext)}),null)}var ki=n("XEuL"),Mi=n("6g9s"),Oi=n("Amq3"),Di=n("iInd"),Ti=l.Bb({encapsulation:2,styles:[ki.a,Mi.a,['.ol-zoom{top:unset;left:unset;bottom:3.5em!important;right:.5em!important}.ol-permalink{display:none}.mouse-position{position:absolute;right:40px;bottom:0;z-index:100;text-shadow:0 0 2px #fff}.reset-bbox{z-index:1000;bottom:8em;right:.5em}.measure-switch{z-index:1000;bottom:11em;right:.5em}.measure-layer__tooltip{position:relative;background:rgba(0,0,0,.7);border-radius:4px;color:#fff;padding:4px 8px;opacity:.8;white-space:nowrap;font-size:16px}.measure-layer__tooltip--measure{display:flex;align-items:center}.measure-layer__tooltip::before{border-top:6px solid rgba(0,0,0,.7);border-right:6px solid transparent;border-left:6px solid transparent;content:"";position:absolute;bottom:-6px;margin-left:-7px;left:50%}.measure-layer__tooltip--hidden{display:none}.measure-layer__unselectable{pointer-events:none;touch-action:none}']],data:{}});function Ei(t){return l.Yb(0,[l.Ub(402653184,1,{positionEl:0}),(t()(),l.Db(1,0,[[1,0],["position",1]],null,0,"p",[["class","mouse-position"]],null,null,null,null,null))],null,null)}var Ii=n("5QaY"),Li=n("IheW"),ji=n("hUP0"),Ri=n("X0qu"),Fi=l.Bb({encapsulation:2,styles:[],data:{}});function Ni(t){return l.Yb(2,[],null,null)}var Yi=n("ppab"),Ui=n("Pmt0"),Bi=n("bHcU"),zi=n("g6Z0"),Gi=n("wtMG"),Hi=n("W8M7"),Vi=n("TN97"),qi=n("WDFe"),Wi=n("cV7i"),$i=function(t){(t=t||{}).loader=this._loader,t.strategy=Wi.a,qi.a.call(this,t),this.set("time",t.time||new Date),this.set("step",t.step||1)};Object(Gi.a)($i,qi.a),$i.prototype._loader=function(t,e,n){var l=this.getCoordinates(this.get("time")),i=new Hi.a([l]);i.transform("EPSG:4326",n),this.addFeature(new Vi.a(i))},$i.prototype.setTime=function(t){this.set("time",t),this.refresh()},$i.prototype.getCoordinates=function(t,e){for(var n=180/Math.PI,l=Math.PI/180,i=(t?new Date(t):new Date)/864e5+2440587.5,r=(18.697374558+24.06570982441908*(i-2451545))%24,o=[],a=function(t){var e=Math.PI/180,n=t-2451545,l=280.46+.9856474*n,i=357.528+.9856003*n;return i%=360,{lambda:(l%=360)+1.915*Math.sin(i*e)+.02*Math.sin(2*i*e),R:1.00014-.01671*Math.cos(i*e)-.0014*Math.cos(2*i*e)}}(i),s=function(t){var e=(t-2451545)/36525;return 23.43929111-e*(46.836769/3600-e*(1831e-7/3600+e*(5.565e-7-e*(1.6e-10-4.34e-8*e/3600))))}(i),u=function(t,e){var n=180/Math.PI,l=Math.PI/180,i=Math.atan(Math.cos(e*l)*Math.tan(t*l))*n,r=Math.asin(Math.sin(e*l)*Math.sin(t*l))*n;return{alpha:i+=90*Math.floor(t/90)-90*Math.floor(i/90),delta:r}}(a.lambda,s),c=this.get("step")||1,d=-180;d<=180;d+=c){var h=d,p=Math.atan(-Math.cos((15*r+h-u.alpha)*l)/Math.tan(u.delta*l))*n;o.push([h,p])}switch(e){case"line":break;case"day":u.delta*=-1;default:o.unshift([-180,p=u.delta<0?90:-90]),o.push([180,p]),o.push(o[0])}if("daynight"===e){var f=[];o.forEach((function(t){f.push(t.slice())})),f[0][1]=-f[0][1],f[f.length-1][1]=-f[0][1],f[f.length-1][1]=-f[0][1],o=[o,f]}return o};var Xi=$i;class Ki extends Yi.a{constructor(t){super(),this.mapService=t}ngOnInit(){switch(this.name){case"DayNight":this.layer=new Ui.a({source:new Xi,opacity:.5,style:new Bi.b({fill:new zi.a({color:[0,0,0]})})}),this.mapService.initDayNightLayerDaemon()}this.layer&&(this.layer.setOpacity(Number(this.opacity)),this.layer.set("name",this.name),this.layer.setVisible("true"===this.visibility),this.mapService.addLayerToGroup(this.groupLayer,this.layer))}}var Ji=l.Bb({encapsulation:2,styles:[],data:{}});function Qi(t){return l.Yb(2,[],null,null)}var Zi=n("ALyU"),tr=n("fURe"),er=n("acye"),nr=n("XrFG"),lr=n("aWqo"),ir=l.Bb({encapsulation:2,styles:[],data:{}});function rr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-trace",[],null,null,null,Zi.b,Zi.a)),l.Cb(1,245760,[[1,4],["traceAircrafts",4]],0,tr.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function or(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-prospective-trace",[],null,null,null,er.b,er.a)),l.Cb(1,245760,[[2,4],["toTraceAircrafts",4]],0,nr.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function ar(t){return l.Yb(2,[l.Ub(671088640,1,{traceAircrafts:1}),l.Ub(671088640,2,{toTraceAircrafts:1}),(t()(),l.sb(16777216,null,null,2,null,rr)),l.Cb(3,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z]),(t()(),l.sb(16777216,null,null,2,null,or)),l.Cb(6,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){var n=e.component;t(e,3,0,l.Xb(e,3,0,l.Pb(e,4).transform(n.selectedAircrafts))),t(e,6,0,l.Xb(e,6,0,l.Pb(e,7).transform(n.selectedAircrafts)))}),null)}var sr=n("UK0T"),ur=n("P151"),cr=n("sLNx"),dr=l.Bb({encapsulation:2,styles:[],data:{}});function hr(t){return l.Yb(2,[],null,null)}var pr=n("9ANI"),fr=n("gpXz"),br=n("hoJM"),mr=n("JW8z");class gr{constructor(){this.labelFeature=void 0}ngOnInit(){this.source.addFeature(this.createFeature())}ngOnDestroy(){this.labelFeature&&this.source.removeFeature(this.labelFeature)}updateFeature(){this.labelFeature.setGeometry(new pr.a(Object(mr.d)([this.aircraft.longitude,this.aircraft.latitude]))),this.labelFeature.setStyle(this.getStyleFeature())}createFeature(){return this.labelFeature||(this.labelFeature=new Vi.a({geometry:new pr.a(Object(mr.d)([this.aircraft.longitude,this.aircraft.latitude])),id_:"label-"+this.aircraft.icao,type_:"label"}),this.labelFeature.setStyle(this.getStyleFeature())),this.labelFeature}getStyleFeature(){let t="???";return this.aircraft.altitude&&this.aircraft.altitude<5e3?t=this.aircraft.altitude.toString()+"Ft":this.aircraft.altitude&&this.aircraft.altitude>5e3&&(t="FL"+(this.aircraft.altitude/100).toFixed(0).toString()),new Bi.b({text:new fr.a({text:(this.aircraft.callsign?this.aircraft.callsign:"???")+"\n"+t+"\n"+(this.aircraft.squawk?this.aircraft.squawk:"???"),fill:new zi.a({color:"white"}),textAlign:"left",offsetY:35,padding:[0,0,0,0],font:"11px/1.2 sans-serif",stroke:new br.a({color:"rgba(0, 0, 0, 0.3)",width:5})})})}}var _r=l.Bb({encapsulation:2,styles:[],data:{}});function yr(t){return l.Yb(2,[],null,null)}class Ar extends Yi.a{constructor(t,e,n,l){super(),this.ref=t,this.mapService=e,this.selectAircraftService=n,this.trafficService=l,this.subscriptions=[],this.trafficAircrafts={},this.hoverAircraft=void 0,this.zoom=0}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",super.getVectorLayer()),this.trafficAircrafts=this.trafficService.getAircrafts(),this.subscriptions.push(this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageHoverLabel(t)})),this.subscriptions.push(this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.trafficAircrafts=t,this.manageTrafficLabels()})),this.subscriptions.push(this.mapService.getViewChangeEmitter().subscribe(t=>{this.zoom=t.getZoom(),this.ref.detectChanges()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}manageTrafficLabels(){this.zoom>8&&this.trafficLabels.forEach(t=>{t.updateFeature()})}manageHoverLabel(t){t.haveStatus(T.a.HOVER)?void 0===this.hoverAircraft?(this.hoverAircraft=t.aircraft,this.ref.detectChanges()):(this.hoverAircraft=t.aircraft,this.hoverLabel.updateFeature()):(this.hoverAircraft=void 0,this.ref.detectChanges())}}var vr=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Cr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-label",[],null,null,null,yr,_r)),l.Cb(2,245760,[[2,4],["trafficLabel",4]],0,gr,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,2,0,e.component.source,e.context.$implicit.value)}),null)}function wr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,Cr)),l.Cb(2,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){var n=e.component;t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(n.trafficAircrafts)))}),null)}function Pr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-label",[],null,null,null,yr,_r)),l.Cb(1,245760,[[1,4],["hoverLabel",4]],0,gr,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.source,n.hoverAircraft)}),null)}function xr(t){return l.Yb(2,[l.Ub(671088640,1,{hoverLabel:0}),l.Ub(671088640,2,{trafficLabels:1}),(t()(),l.sb(16777216,null,null,1,null,wr)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pr)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.zoom>8),t(e,5,0,n.hoverAircraft)}),null)}var Sr=n("zfM5"),kr=n("3mbo"),Mr=n("qU9k"),Or=n("EDvw"),Dr=n("I5KE");class Tr{constructor(t,e,n,l,i,r,o){this.mapService=e,this.measuresService=n,this.selectAircraftService=l,this.landInteractionService=i,this.timeService=r,this.modeService=o}ngOnInit(){this.mapService.getMap().on("pointermove",t=>{this.onHover(t)}),this.mapService.getMap().on("singleclick",t=>{this.onClick(t)}),this.mapService.getMap().on("dblclick",t=>{this.onDblclick(t)}),this.mapService.getMap().getInteractions().forEach(t=>{t instanceof Sr.a&&this.mapService.getMap().removeInteraction(t)}),this.measuresService.initLayer()}ngOnChanges(t){document.getElementById("measure-switch-div").style["background-color"]=t.measureModeIsEnabled.currentValue?"rgba( 0, 0, 0, .4 )":"rgba( 255, 255, 255, .4 )"}isTrafficLayer(t){return!!t&&!!t.get("name")&&"aircraft"===t.get("name").split(":")[0]}onHover(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress&&this.measuresService.updateMeasure(t.coordinate);else{const e=[],n=[];this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof Or.a)n.push(t.getAircraft());else if(!0===l.get("hoverable")||!0===t.get("hoverable")){const n=new Dr.a(l,t);e.push(n)}},{hitTolerance:1}),this.selectAircraftService.hoverAircraft(n),this.landEntitiesAreNoSelected()&&(e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,Mr.b.HOVER):this.landInteractionService.status===Mr.b.HOVER&&this.landInteractionService.unsetLandEntities())}}onClick(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress?this.measuresService.addWaypoint(t.coordinate,t.pixel):this.measuresService.startMeasure(t.coordinate,t.pixel);else{const e=[];let n;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof Or.a)n=t.getAircraft();else if(!0===l.get("clickable")||!0===t.get("clickable")){const n=new Dr.a(l,t);e.push(n)}},{hitTolerance:1}),e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,Mr.b.SELECT):this.landInteractionService.unsetLandEntities(),n&&this.modeService.getModeMap()===le.a.ALL_AIRCRAFT){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleWatchAircraft(n,t)}}}onDblclick(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress&&this.measuresService.doneMeasure();else{let e;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,n)=>{this.isTrafficLayer(n)&&t instanceof Or.a&&(e=t.getAircraft())},{hitTolerance:1}),e&&this.modeService.getModeMap()===le.a.ALL_AIRCRAFT){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleSelectAircraft(e,t)}}}landEntitiesAreNoSelected(){return this.landInteractionService.status!==Mr.b.SELECT}}var Er=l.Bb({encapsulation:2,styles:[],data:{}});function Ir(t){return l.Yb(2,[],null,null)}var Lr=n("2VmZ"),jr=l.Bb({encapsulation:0,styles:[['.ol-popup[_ngcontent-%COMP%]{position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));padding:5px;border-radius:2px;bottom:20px;left:-50px;min-width:150px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]:last-child{border:0}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-type[_ngcontent-%COMP%]{margin:5px 0;font-size:10px;color:#000}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-title[_ngcontent-%COMP%]{margin:5px 0;font-size:14px;color:#3880ff}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%]{display:-webkit-box;justify-content:space-between}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-description-link[_ngcontent-%COMP%]{font-size:12px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin:2px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-value[_ngcontent-%COMP%]{width:-webkit-max-content;width:-moz-max-content;width:max-content}.ol-popup[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);font-size:14px}.ol-popup[_ngcontent-%COMP%]:after, .ol-popup[_ngcontent-%COMP%]:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup[_ngcontent-%COMP%]:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}.ol-popup[_ngcontent-%COMP%]:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}']],data:{}});function Rr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.landInteractionService.unsetLandEntities()&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Fr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude max: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_max/100:e.parent.context.$implicit.properties.altitude_max,e.parent.context.$implicit.properties.unit)}))}function Nr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude min: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_min/100:e.parent.context.$implicit.properties.altitude_min,e.parent.context.$implicit.properties.unit)}))}function Yr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"a",[["class","land-description-link"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Wb(-1,null,["lien"]))],null,(function(t,e){t(e,1,0,l.Hb(1,"",e.parent.context.$implicit.value,""))}))}function Ur(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","land-value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.value)}))}function Br(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","land-description-item"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["",":"])),(t()(),l.sb(16777216,null,null,1,null,Yr)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["textBlock",2]],null,0,null,Ur))],(function(t,e){t(e,4,0,e.component.validURL(e.context.$implicit.value),l.Pb(e,5))}),(function(t,e){t(e,2,0,e.context.$implicit.key)}))}function zr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","land-description"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,Br)),l.Cb(2,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(e.parent.context.$implicit.data)))}),null)}function Gr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,10,"div",[["class","land-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h5",[["class","land-type"]],null,null,null,null,null)),(t()(),l.Wb(2,null,[" "," "])),(t()(),l.Db(3,0,null,null,1,"h4",[["class","land-title"]],null,null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.sb(16777216,null,null,1,null,Fr)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nr)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zr)),l.Cb(10,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,l=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_max;t(e,6,0,l);var i=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_min;t(e,8,0,i),t(e,10,0,n.displayDescription)}),(function(t,e){t(e,2,0,e.context.$implicit.type),t(e,4,0,e.context.$implicit.name)}))}function Hr(t){return l.Yb(2,[l.Ub(402653184,1,{landPopup:0}),(t()(),l.Db(1,0,[[1,0],["landPopup",1]],null,4,"div",[["class","ol-popup"],["id","land-popup"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Rr)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gr)),l.Cb(5,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.displayDescription),t(e,5,0,n.displayLandEntities)}),null)}var Vr=n("nkhJ"),qr=n("yKYT");class Wr{constructor(t){this.modeService=t,this.displayBottomPanel=!1}ngOnInit(){this.displayBottomPanel=this.modeService.getModeMap()===le.a.ONE_AIRCRAFT,this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.displayBottomPanel=t===le.a.ONE_AIRCRAFT})}ngOnDestroy(){}}var $r=l.Bb({encapsulation:0,styles:[["sepia-aircraft-replay[_ngcontent-%COMP%]{position:absolute;resize:vertical;width:calc(100% - 300px);top:calc(100% - 220px);background-color:#fff;z-index:300}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function Xr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-replay",[],[[24,"@slideInOut",0]],null,null,Vr.c,Vr.b)),l.Cb(1,114688,null,0,qr.a,[cr.a,l.j],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,void 0)}))}function Kr(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,Xr)),l.Cb(1,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.displayBottomPanel)}),null)}var Jr=n("mzvH");n.d(e,"a",(function(){return no}));var Qr=l.Bb({encapsulation:2,styles:[[".loader{display:flex;justify-content:center;align-items:center;background:#fff;padding-top:20px;padding-bottom:20px}.welcome-card ion-img{max-height:35vh;overflow:hidden}.mat-dialog-content{padding:0!important;margin:0!important}ion-header .traffic-counter{display:flex;padding:10px;margin:5px;border:1px solid;border-radius:25px}.body-div{position:absolute;display:inline-flex;width:100%;height:100%}.body-div .map{display:inline-flex;width:80%;height:100%;min-width:50%}.body-div .map sepia-map{position:relative;width:100%;height:100%}.body-div .panel-list{width:20%;max-width:670px;min-width:100px;height:100%;border-left:5px solid var(--ion-color-primary)}.ctrl{position:fixed;right:0;background:#fff}.ctrl>>>.ol-bookmark div{display:block!important}sepia-bottom-panel{position:absolute;left:300px;bottom:0;width:100%}app-mouse-position{position:absolute;bottom:0;left:0;right:0;font-size:1.5em;text-align:center;font-family:sans-serif}app-mouse-position>>>div{bottom:0;top:auto;left:0}.ol-mouse-position{font-family:Quicksand;font-weight:900;position:relative!important;padding:0 10px;top:0!important;right:0!important;border-radius:15px;background:rgba(171,163,163,.64)}.ol-layerswitcher{top:.5em!important;margin-top:25px}mwlResizable{box-sizing:border-box}"]],data:{}});function Zr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","panel-list"],["mwlResizable",""]],null,[[null,"resizing"]],(function(t,e,n){var l=!0;return"resizing"===e&&(l=!1!==t.component.onResizeListPanel(n)&&l),l}),null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(2,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),l.Cb(3,737280,null,0,r.a,[l.J,l.M,l.p,l.G],{resizeEdges:[0,"resizeEdges"],enableGhostResize:[1,"enableGhostResize"]},{resizing:"resizing"}),l.Rb(4,{left:0}),(t()(),l.Db(5,0,null,null,1,"sepia-right-panel",[],null,null,null,W,R)),l.Cb(6,245760,null,0,M.a,[O.e,l.p,D.a,T.b,E.a,I.b,L.a,j.a],null,null)],(function(t,e){t(e,2,0,e.component.styleListPanel);var n=t(e,4,0,!0);t(e,3,0,n,!0),t(e,6,0)}),null)}function to(t){return l.Yb(0,[l.Ub(402653184,1,{child:0}),(t()(),l.Db(1,0,null,null,1,"sepia-header",[],null,null,null,fe,ie)),l.Cb(2,114688,null,0,ee.a,[E.a,I.b,ne.a,le.b],null,null),(t()(),l.Db(3,0,null,null,27,"ion-content",[["scroll","false"]],null,null,null,h.w,h.e)),l.Cb(4,49152,null,0,p.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(5,0,null,0,25,"div",[["class","body-div"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,1,"sepia-left-panel",[],null,null,null,Si,Pi)),l.Cb(7,245760,null,0,wi.a,[l.j,T.b],null,null),(t()(),l.Db(8,0,null,null,18,"div",[["class","map"]],null,null,null,null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(10,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(11,0,null,null,15,"sepia-map",[["lat","46.6"],["lon","2.3"],["zoom","6"]],null,null,null,Ei,Ti)),l.Cb(12,114688,[[1,4]],0,Oi.a,[Di.a,D.a,l.p,kt.a,E.a,T.b],{lon:[0,"lon"],lat:[1,"lat"],zoom:[2,"zoom"]},null),(t()(),l.Db(13,0,null,null,1,"sepia-remote-layer",[],null,null,null,Ni,Fi)),l.Cb(14,114688,null,0,Ii.a,[Li.c,D.a,ji.a,Ri.a],null,null),(t()(),l.Db(15,0,null,null,1,"sepia-layer",[["groupLayer","GENERAL"],["name","DayNight"],["opacity",".33"],["visibility","true"],["zIndex","1000"]],null,null,null,Qi,Ji)),l.Cb(16,114688,null,0,Ki,[D.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(17,0,null,null,1,"sepia-traces",[["groupLayer","Traffic"],["name","Traces"],["opacity","1"],["visibility","true"],["zIndex","1100"]],null,null,null,ar,ir)),l.Cb(18,245760,null,0,lr.a,[l.j,D.a,T.b],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(19,0,null,null,1,"sepia-traffic-layer",[["groupLayer","Traffic"],["name","aircraft"],["opacity","1"],["visibility","true"],["zIndex","1101"]],null,null,null,hr,dr)),l.Cb(20,245760,null,0,sr.a,[D.a,E.a,T.b,I.b,ur.a,j.a,le.b,cr.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(21,0,null,null,1,"sepia-labels",[["groupLayer","Traffic"],["name","Labels"],["opacity","1"],["visibility","true"],["zIndex","1200"]],null,null,null,xr,vr)),l.Cb(22,245760,null,0,Ar,[l.j,D.a,T.b,E.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(23,0,null,null,1,"sepia-touch",[],null,null,null,Ir,Er)),l.Cb(24,638976,null,0,Tr,[i.d,D.a,kr.a,T.b,Mr.a,I.b,le.b],{measureModeIsEnabled:[0,"measureModeIsEnabled"]},null),(t()(),l.Db(25,0,null,null,1,"sepia-land-popup",[],null,null,null,Hr,jr)),l.Cb(26,245760,null,0,Lr.a,[l.j,D.a,Mr.a],null,null),(t()(),l.sb(16777216,null,null,1,null,Zr)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(29,0,null,null,1,"sepia-bottom-panel",[],null,null,null,Kr,$r)),l.Cb(30,245760,null,0,Wr,[le.b],null,null)],(function(t,e){var n=e.component;t(e,2,0),t(e,7,0),t(e,10,0,n.styleMap),t(e,12,0,"2.3","46.6","6"),t(e,14,0),t(e,16,0,"DayNight",".33","true","1000","GENERAL"),t(e,18,0,"Traces","1","true","1100","Traffic"),t(e,20,0,"aircraft","1","true","1101","Traffic"),t(e,22,0,"Labels","1","true","1200","Traffic"),t(e,24,0,n.mapService.getMap().measureModeIsEnabled),t(e,26,0),t(e,28,0,n.displayListPanel),t(e,30,0)}),null)}function eo(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-desktop",[],null,null,null,to,Qr)),l.Cb(1,114688,null,0,Jr.a,[p.Hb,p.Eb,le.b,D.a],null,null)],(function(t,e){t(e,1,0)}),null)}var no=l.zb("app-desktop",Jr.a,eo,{},{},[])},mTEX:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFleetControllerFleetPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFleetControllerFleet(t){return this.getOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFleetControllerFleetPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFleetControllerFleet(t){return this.replaceOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFleetControllerFleetPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFleetControllerFleet(t){return this.deleteOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFleetControllerFleetPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFleetControllerFleet(t){return this.updateOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFleetControllerFleetPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFleetControllerFleet(t){return this.getManyBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFleetControllerFleetPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFleetControllerFleet(t){return this.createOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFleetControllerFleetPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFleetControllerFleet(t){return this.createManyBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFleetControllerFleetPath="/fleet/{id}",t.ReplaceOneBaseFleetControllerFleetPath="/fleet/{id}",t.DeleteOneBaseFleetControllerFleetPath="/fleet/{id}",t.UpdateOneBaseFleetControllerFleetPath="/fleet/{id}",t.GetManyBaseFleetControllerFleetPath="/fleet",t.CreateOneBaseFleetControllerFleetPath="/fleet",t.CreateManyBaseFleetControllerFleetPath="/fleet/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},mUkt:function(t,e,n){"use strict";n.r(e),n.d(e,"GESTURE_CONTROLLER",(function(){return r})),n.d(e,"createGesture",(function(){return c}));class l{constructor(t,e,n,l,i){this.id=e,this.name=n,this.disableScroll=i,this.priority=1e6*l+e,this.ctrl=t}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const t=this.ctrl.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.ctrl.disableScroll(this.id),t}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class i{constructor(t,e,n,l){this.id=e,this.disable=n,this.disableScroll=l,this.ctrl=t}block(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.disableGesture(t,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.enableGesture(t,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const r=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(t){return new l(this,this.newID(),t.name,t.priority||0,!!t.disableScroll)}createBlocker(t={}){return new i(this,this.newID(),t.disable,!!t.disableScroll)}start(t,e,n){return this.canStart(t)?(this.requestedStart.set(e,n),!0):(this.requestedStart.delete(e),!1)}capture(t,e,n){if(!this.start(t,e,n))return!1;const l=this.requestedStart;let i=-1e4;if(l.forEach(t=>{i=Math.max(i,t)}),i===n){this.capturedId=e,l.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:t}});return document.dispatchEvent(n),!0}return l.delete(e),!1}release(t){this.requestedStart.delete(t),this.capturedId===t&&(this.capturedId=void 0)}disableGesture(t,e){let n=this.disabledGestures.get(t);void 0===n&&(n=new Set,this.disabledGestures.set(t,n)),n.add(e)}enableGesture(t,e){const n=this.disabledGestures.get(t);void 0!==n&&n.delete(e)}disableScroll(t){this.disabledScroll.add(t),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}enableScroll(t){this.disabledScroll.delete(t),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}canStart(t){return void 0===this.capturedId&&!this.isDisabled(t)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(t){const e=this.disabledGestures.get(t);return!!(e&&e.size>0)}newID(){return this.gestureId++,this.gestureId}},o=(t,e,n,l)=>{const i=a(t)?{capture:!!l.capture,passive:!!l.passive}:!!l.capture;let r,o;return t.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",o="__zone_symbol__removeEventListener"):(r="addEventListener",o="removeEventListener"),t[r](e,n,i),()=>{t[o](e,n,i)}},a=t=>{if(void 0===s)try{const e=Object.defineProperty({},"passive",{get:()=>{s=!0}});t.addEventListener("optsTest",()=>{},e)}catch(e){s=!1}return!!s};let s;const u=t=>t instanceof Document?t:t.ownerDocument,c=t=>{let e=!1,n=!1,l=!0,i=!1;const a=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},t),s=a.canStart,c=a.onWillStart,f=a.onStart,b=a.onEnd,m=a.notCaptured,g=a.onMove,_=a.threshold,y={type:"pan",startX:0,startY:0,startTimeStamp:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,timeStamp:0,event:void 0,data:void 0},A=((t,e,n)=>{const l=n*(Math.PI/180),i="x"===t,r=Math.cos(l),o=e*e;let a=0,s=0,u=!1,c=0;return{start(t,e){a=t,s=e,c=0,u=!0},detect(t,e){if(!u)return!1;const n=t-a,l=e-s,d=n*n+l*l;if(d<o)return!1;const h=Math.sqrt(d),p=(i?n:l)/h;return c=p>r?1:p<-r?-1:0,u=!1,!0},isGesture:()=>0!==c,getDirection:()=>c}})(a.direction,a.threshold,a.maxAngle),v=r.createGesture({name:t.gestureName,priority:t.gesturePriority,disableScroll:t.disableScroll}),C=()=>{e&&(i=!1,g&&g(y))},w=()=>!(v&&!v.capture()||(e=!0,l=!1,y.startX=y.currentX,y.startY=y.currentY,y.startTimeStamp=y.timeStamp,c?c(y).then(P):P(),0)),P=()=>{f&&f(y),l=!0},x=()=>{e=!1,n=!1,i=!1,l=!0,v.release()},S=t=>{const n=e,i=l;x(),i&&(d(y,t),n?b&&b(y):m&&m(y))},k=((t,e,n,l,i)=>{let r,a,s,c,d,h,p,f=0;const b=l=>{f=Date.now()+2e3,e(l)&&(!a&&n&&(a=o(t,"touchmove",n,i)),s||(s=o(t,"touchend",g,i)),c||(c=o(t,"touchcancel",g,i)))},m=l=>{f>Date.now()||e(l)&&(!h&&n&&(h=o(u(t),"mousemove",n,i)),p||(p=o(u(t),"mouseup",_,i)))},g=t=>{y(),l&&l(t)},_=t=>{A(),l&&l(t)},y=()=>{a&&a(),s&&s(),c&&c(),a=s=c=void 0},A=()=>{h&&h(),p&&p(),h=p=void 0},v=()=>{y(),A()},C=e=>{e?(r&&r(),d&&d(),r=d=void 0,v()):(r||(r=o(t,"touchstart",b,i)),d||(d=o(t,"mousedown",m,i)))};return{setDisabled:C,stop:v,destroy:()=>{C(!0),l=n=e=void 0}}})(a.el,t=>{const e=p(t);return!(n||!l)&&(h(t,y),y.startX=y.currentX,y.startY=y.currentY,y.startTimeStamp=y.timeStamp=e,y.velocityX=y.velocityY=y.deltaX=y.deltaY=0,y.event=t,(!s||!1!==s(y))&&(v.release(),!!v.start()&&(n=!0,0===_?w():(A.start(y.startX,y.startY),!0))))},t=>{e?!i&&l&&(i=!0,d(y,t),requestAnimationFrame(C)):(d(y,t),A.detect(y.currentX,y.currentY)&&(A.isGesture()&&w()||M()))},S,{capture:!1}),M=()=>{x(),k.stop(),m&&m(y)};return{setDisabled(t){t&&e&&S(void 0),k.setDisabled(t)},destroy(){v.destroy(),k.destroy()}}},d=(t,e)=>{if(!e)return;const n=t.currentX,l=t.currentY,i=t.timeStamp;h(e,t);const r=t.currentX,o=t.currentY,a=(t.timeStamp=p(e))-i;if(a>0&&a<100){const e=(o-l)/a;t.velocityX=(r-n)/a*.7+.3*t.velocityX,t.velocityY=.7*e+.3*t.velocityY}t.deltaX=r-t.startX,t.deltaY=o-t.startY,t.event=e},h=(t,e)=>{let n=0,l=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];n=t.clientX,l=t.clientY}else void 0!==t.pageX&&(n=t.pageX,l=t.pageY)}e.currentX=n,e.currentY=l},p=t=>t.timeStamp||Date.now()},mWFr:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}searchControllerGetSearch$Response(e){const n=new o.a(this.rootUrl,t.SearchControllerGetSearchPath,"get");return e&&(n.query("limit",e.limit),n.query("value",e.value)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}searchControllerGetSearch(t){return this.searchControllerGetSearch$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.SearchControllerGetSearchPath="/search",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},mkQN:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("9iPr"),a=n("9ANI"),s=n("mrzG"),u=n("q7cr"),c=n("u2yf"),d=n("f8l7"),h=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){function e(e,n){var l=t.call(this)||this;return n&&!Array.isArray(e[0])?l.setFlatCoordinates(n,e):l.setCoordinates(e,n),l}return h(e,t),e.prototype.appendPoint=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){if(l<Object(r.e)(this.getExtent(),t,e))return l;for(var i=this.flatCoordinates,o=this.stride,a=0,s=i.length;a<s;a+=o){var u=Object(d.f)(t,e,i[a],i[a+1]);if(u<l){l=u;for(var c=0;c<o;++c)n[c]=i[a+c];n.length=o}}return l},e.prototype.getCoordinates=function(){return Object(c.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getPoint=function(t){return t<0||(this.flatCoordinates?this.flatCoordinates.length/this.stride:0)<=t?null:new a.a(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)},e.prototype.getPoints=function(){for(var t=this.flatCoordinates,e=this.layout,n=this.stride,l=[],i=0,r=t.length;i<r;i+=n){var o=new a.a(t.slice(i,i+n),e);l.push(o)}return l},e.prototype.getType=function(){return o.a.MULTI_POINT},e.prototype.intersectsExtent=function(t){for(var e=this.flatCoordinates,n=this.stride,l=0,i=e.length;l<i;l+=n){var o=e[l],a=e[l+1];if(Object(r.h)(t,o,a))return!0}return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(u.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(s.a);e.a=p},mkRZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8bJo"),n("8Y7J"),n("s7LF"),n("Xd0L");class l{}},mnSs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return r}));var l=n("8Y7J");class i{constructor(t,e){this.elementRef=t,this.renderer=e,this._show=!1,this.events=new l.r}transitionEnd(t){this.show&&this.events.emit({type:"shown"})}set show(t){t&&this.setPosition(),this._show=this.hostClassShow=t}get show(){return this._show}get placement(){return this.data.options.placement}get autoPlacement(){return this.data.options.autoPlacement}get element(){return this.data.element}get elementPosition(){return this.data.elementPosition}get options(){return this.data.options}get value(){return this.data.value}get tooltipOffset(){return Number(this.data.options.offset)}get isThemeLight(){return"light"===this.options.theme}ngOnInit(){this.setCustomClass(),this.setStyles()}setPosition(){if(this.setHostStyle(this.placement))this.setPlacementClass(this.placement);else{const t=["top","right","bottom","left"];let e;for(const n of t)if(this.setHostStyle(n))return this.setPlacementClass(n),void(e=!0);e||(this.setHostStyle(this.placement,!0),this.setPlacementClass(this.placement))}}setPlacementClass(t){this.renderer.addClass(this.elementRef.nativeElement,"tooltip-"+t)}setHostStyle(t,e=!1){const n=this.element instanceof SVGElement,l=this.elementRef.nativeElement,i=!this.elementPosition.right;let r=n?this.element.getBoundingClientRect().height:this.element.offsetHeight,o=n?this.element.getBoundingClientRect().width:this.element.offsetWidth;const a=l.clientHeight,s=l.clientWidth,u=window.pageYOffset;let c,d;if(i&&(r=0,o=0),"top"===t&&(c=this.elementPosition.top+u-(a+this.tooltipOffset)),"bottom"===t&&(c=this.elementPosition.top+u+r+this.tooltipOffset),"top"!==t&&"bottom"!==t||(d=this.elementPosition.left+o/2-s/2),"left"===t&&(d=this.elementPosition.left-s-this.tooltipOffset),"right"===t&&(d=this.elementPosition.left+o+this.tooltipOffset),"left"!==t&&"right"!==t||(c=this.elementPosition.top+u+r/2-l.clientHeight/2),this.autoPlacement&&!e){const t=c+a,e=d,n=d+s,l=window.innerHeight+u,i=document.body.clientWidth;if(c<0||t>l||e<0||n>i)return!1}return this.hostStyleTop=c+"px",this.hostStyleLeft=d+"px",!0}setZIndex(){0!==this.options.zIndex&&(this.hostStyleZIndex=this.options.zIndex)}setPointerEvents(){this.options.pointerEvents&&(this.hostStylePointerEvents=this.options.pointerEvents)}setCustomClass(){this.options.tooltipClass&&this.options.tooltipClass.split(" ").forEach(t=>{this.renderer.addClass(this.elementRef.nativeElement,t)})}setAnimationDuration(){Number(this.options.animationDuration)!=this.options.animationDurationDefault&&(this.hostStyleTransition="opacity "+this.options.animationDuration+"ms")}setStyles(){this.setZIndex(),this.setPointerEvents(),this.setAnimationDuration(),this.hostClassShadow=this.options.shadow,this.hostClassLight=this.isThemeLight,this.hostStyleMaxWidth=this.options.maxWidth+"px",this.hostStyleWidth=this.options.width?this.options.width+"px":""}}const r=new l.w("TooltipOptions"),o={placement:"top",autoPlacement:!0,contentType:"string",showDelay:0,hideDelay:300,hideDelayMobile:0,hideDelayTouchscreen:0,zIndex:0,animationDuration:300,animationDurationDefault:300,trigger:"hover",tooltipClass:"",display:!0,displayMobile:!0,displayTouchscreen:!0,shadow:!0,theme:"dark",offset:8,maxWidth:"",id:!1,hideDelayAfterClick:2e3},a={delay:"showDelay","show-delay":"showDelay","hide-delay":"hideDelay","hide-delay-mobile":"hideDelayTouchscreen",hideDelayMobile:"hideDelayTouchscreen","z-index":"zIndex","animation-duration":"animationDuration","animation-duration-default":"animationDurationDefault","tooltip-class":"tooltipClass","display-mobile":"displayTouchscreen",displayMobile:"displayTouchscreen","max-width":"maxWidth"};class s{constructor(t,e,n,i,r){this.initOptions=t,this.elementRef=e,this.componentFactoryResolver=n,this.appRef=i,this.injector=r,this._showDelay=0,this._hideDelay=300,this._options={},this.events=new l.r}set options(t){t&&o&&(this._options=t)}get options(){return this._options}get isTooltipDestroyed(){return this.componentRef&&this.componentRef.hostView.destroyed}get destroyDelay(){return this._destroyDelay?this._destroyDelay:Number(this.getHideDelay())+Number(this.options.animationDuration)}set destroyDelay(t){this._destroyDelay=t}get tooltipPosition(){return this.options.position?this.options.position:this.elementPosition}onMouseEnter(){0!=this.isDisplayOnHover&&this.show()}onMouseLeave(){"hover"===this.options.trigger&&this.destroyTooltip()}onClick(){0!=this.isDisplayOnClick&&(this.show(),this.hideAfterClickTimeoutId=window.setTimeout(()=>{this.destroyTooltip()},this.options.hideDelayAfterClick))}ngOnInit(){}ngOnChanges(t){this.initOptions=this.renameProperties(this.initOptions);let e=this.getProperties(t);e=this.renameProperties(e),this.applyOptionsDefault(o,e)}ngOnDestroy(){this.destroyTooltip({fast:!0}),this.componentSubscribe&&this.componentSubscribe.unsubscribe()}getShowDelay(){return this.options.showDelay}getHideDelay(){return this.isTouchScreen?this.options.hideDelayTouchscreen:this.options.hideDelay}getProperties(t){let e={};for(var n in t)"options"!==n&&"tooltipValue"!==n&&(e[n]=t[n].currentValue),"options"===n&&(e=t[n].currentValue);return e}renameProperties(t){for(var e in t)a[e]&&(t[a[e]]=t[e],delete t[e]);return t}getElementPosition(){this.elementPosition=this.elementRef.nativeElement.getBoundingClientRect()}createTooltip(){this.clearTimeouts(),this.getElementPosition(),this.createTimeoutId=window.setTimeout(()=>{this.appendComponentToBody(i)},this.getShowDelay()),this.showTimeoutId=window.setTimeout(()=>{this.showTooltipElem()},this.getShowDelay())}destroyTooltip(t={fast:!1}){this.clearTimeouts(),0==this.isTooltipDestroyed&&(this.hideTimeoutId=window.setTimeout(()=>{this.hideTooltip()},t.fast?0:this.getHideDelay()),this.destroyTimeoutId=window.setTimeout(()=>{this.componentRef&&!this.isTooltipDestroyed&&(this.appRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.events.emit({type:"hidden",position:this.tooltipPosition}))},t.fast?0:this.destroyDelay))}showTooltipElem(){this.clearTimeouts(),this.componentRef.instance.show=!0,this.events.emit({type:"show",position:this.tooltipPosition})}hideTooltip(){this.componentRef&&!this.isTooltipDestroyed&&(this.componentRef.instance.show=!1,this.events.emit({type:"hide",position:this.tooltipPosition}))}appendComponentToBody(t,e={}){this.componentRef=this.componentFactoryResolver.resolveComponentFactory(t).create(this.injector),this.componentRef.instance.data={value:this.tooltipValue,element:this.elementRef.nativeElement,elementPosition:this.tooltipPosition,options:this.options},this.appRef.attachView(this.componentRef.hostView),document.body.appendChild(this.componentRef.hostView.rootNodes[0]),this.componentSubscribe=this.componentRef.instance.events.subscribe(t=>{this.handleEvents(t)})}clearTimeouts(){this.createTimeoutId&&clearTimeout(this.createTimeoutId),this.showTimeoutId&&clearTimeout(this.showTimeoutId),this.hideTimeoutId&&clearTimeout(this.hideTimeoutId),this.destroyTimeoutId&&clearTimeout(this.destroyTimeoutId)}get isDisplayOnHover(){return 0!=this.options.display&&(0!=this.options.displayTouchscreen||!this.isTouchScreen)&&"hover"===this.options.trigger}get isDisplayOnClick(){return 0!=this.options.display&&(0!=this.options.displayTouchscreen||!this.isTouchScreen)&&"click"==this.options.trigger}get isTouchScreen(){var t,e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||(t=["(",e.join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia(t).matches)}applyOptionsDefault(t,e){this.options=Object.assign({},t,this.initOptions||{},e)}handleEvents(t){"shown"===t.type&&this.events.emit({type:"shown",position:this.tooltipPosition})}show(){!this.componentRef||this.isTooltipDestroyed?this.createTooltip():this.isTooltipDestroyed||this.showTooltipElem()}hide(){this.destroyTooltip()}}class u{static forRoot(t){return{ngModule:u,providers:[{provide:r,useValue:t}]}}}},mrSG:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return a}));var l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(){return(r=Object.assign||function(t){for(var e,n=1,l=arguments.length;n<l;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function o(t,e,n,l){return new(n||(n=Promise))((function(i,r){function o(t){try{s(l.next(t))}catch(e){r(e)}}function a(t){try{s(l.throw(t))}catch(e){r(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,a)}s((l=l.apply(t,e||[])).next())}))}function a(t,e){var n,l,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,l&&(i=2&r[0]?l.return:r[0]?l.throw||((i=l.return)&&i.call(l),0):l.next)&&!(i=i.call(l,r[1])).done)return i;switch(l=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,l=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(t,o)}catch(a){r=[6,a],l=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}},mrzG:function(t,e,n){"use strict";n.d(e,"b",(function(){return h}));var l,i=n("EwAT"),r=n("CvXi"),o=n("jzee"),a=n("Uhtb"),s=n("vvg4"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){var e=t.call(this)||this;return e.layout=a.a.XY,e.stride=2,e.flatCoordinates=null,e}return u(e,t),e.prototype.computeExtent=function(t){return Object(r.o)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(i.b)()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},e.prototype.getSimplifiedGeometryInternal=function(t){return this},e.prototype.getStride=function(){return this.stride},e.prototype.setFlatCoordinates=function(t,e){this.stride=d(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){Object(i.b)()},e.prototype.setLayout=function(t,e,n){var l;if(t)l=d(t);else{for(var i=0;i<n;++i){if(0===e.length)return this.layout=a.a.XY,void(this.stride=2);e=e[0]}t=function(t){var e;return 2==t?e=a.a.XY:3==t?e=a.a.XYZ:4==t&&(e=a.a.XYZM),e}(l=e.length)}this.layout=t,this.stride=l},e.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},e.prototype.rotate=function(t,e){var n=this.getFlatCoordinates();if(n){var l=this.getStride();Object(s.a)(n,0,n.length,l,t,e,n),this.changed()}},e.prototype.scale=function(t,e,n){var l=e;void 0===l&&(l=t);var i=n;i||(i=Object(r.x)(this.getExtent()));var o=this.getFlatCoordinates();if(o){var a=this.getStride();Object(s.b)(o,0,o.length,a,t,l,i,o),this.changed()}},e.prototype.translate=function(t,e){var n=this.getFlatCoordinates();if(n){var l=this.getStride();Object(s.d)(n,0,n.length,l,t,e,n),this.changed()}},e}(o.a);function d(t){var e;return t==a.a.XY?e=2:t==a.a.XYZ||t==a.a.XYM?e=3:t==a.a.XYZM&&(e=4),e}function h(t,e,n){var l=t.getFlatCoordinates();if(l){var i=t.getStride();return Object(s.c)(l,0,l.length,i,e,n)}return null}e.a=c},mzvH:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("mrSG"),i=(n("ZZ/e"),n("Amq3"),n("Y4ja"));n("svHU");class r{constructor(t,e,n,l){this.platform=t,this.loadingController=e,this.modeService=n,this.mapService=l,this.displayListPanel=!0}ngOnInit(){this.displayLoading(),this.platform.ready().then(t=>{setTimeout(()=>{this.child.resizeMap()},1e3)}),this.initModeMap()}displayLoading(){return l.b(this,void 0,void 0,(function*(){const t=yield this.loadingController.create({duration:2500,message:"Chargement en cours..."});return yield t.present()}))}initModeMap(){this.modeService.getModeMapChangeEmitter().subscribe(t=>{t===i.a.ONE_AIRCRAFT?(this.styleMap={width:"100%",height:"calc(100% - 220px)"},this.styleListPanel={width:"0px"},this.displayListPanel=!1):(this.styleMap={width:"80%",height:"100%"},this.styleListPanel={width:"20%"},this.displayListPanel=!0),setTimeout(()=>{this.child.resizeMap()})})}onResizeListPanel(t){this.styleMap={width:"calc(100% - "+t.rectangle.width+"px)"},this.styleListPanel={width:t.rectangle.width+"px"},this.child.resizeMap()}}},n15R:function(t,e,n){"use strict";function l(t,e,n){for(var l,r,o=n||i,a=0,s=t.length,u=!1;a<s;)(r=+o(t[l=a+(s-a>>1)],e))<0?a=l+1:(s=l,u=!r);return u?a:~a}function i(t,e){return t>e?1:t<e?-1:0}function r(t,e){return t.indexOf(e)>=0}function o(t,e,n){var l=t.length;if(t[0]<=e)return 0;if(e<=t[l-1])return l-1;var i=void 0;if(n>0){for(i=1;i<l;++i)if(t[i]<e)return i-1}else if(n<0){for(i=1;i<l;++i)if(t[i]<=e)return i}else for(i=1;i<l;++i){if(t[i]==e)return i;if(t[i]<e)return t[i-1]-e<e-t[i]?i-1:i}return l-1}function a(t,e,n){for(;e<n;){var l=t[e];t[e]=t[n],t[n]=l,++e,--n}}function s(t,e){for(var n=Array.isArray(e)?e:[e],l=n.length,i=0;i<l;i++)t[t.length]=n[i]}function u(t,e){var n=t.length;if(n!==e.length)return!1;for(var l=0;l<n;l++)if(t[l]!==e[l])return!1;return!0}function c(t,e,n){var l=e||i;return t.every((function(e,i){if(0===i)return!0;var r=l(t[i-1],e);return!(r>0||n&&0===r)}))}n.d(e,"a",(function(){return l})),n.d(e,"g",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return c}))},n6bG:function(t,e,n){"use strict";function l(t){return"function"==typeof t}n.d(e,"a",(function(){return l}))},nHi6:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4wAk"),o=n("GDrd"),a=n("4mld"),s=n("e0/R"),u=n("kvpX"),c=n("Ho3V"),d=n("AdTM"),h=n("CvXi"),p=n("VWR+"),f=n("OPOH"),b=n("bYNo"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e){var n=this,l=e||{},i=Object(f.a)({},l);delete i.layers;var o=l.layers;return(n=t.call(this,i)||this).layersListenerKeys_=[],n.listenerKeys_={},n.addEventListener(Object(a.b)("layers"),n.handleLayersChanged_),o?Array.isArray(o)?o=new r.a(o.slice(),{unique:!0}):Object(u.a)("function"==typeof o.getArray,43):o=new r.a(void 0,{unique:!0}),n.setLayers(o),n}return m(e,t),e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(c.c),this.layersListenerKeys_.length=0;var t=this.getLayers();for(var e in this.layersListenerKeys_.push(Object(c.a)(t,o.a.ADD,this.handleLayersAdd_,this),Object(c.a)(t,o.a.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(c.c);Object(f.b)(this.listenerKeys_);for(var n=t.getArray(),l=0,r=n.length;l<r;l++){var a=n[l];this.listenerKeys_[Object(i.c)(a)]=[Object(c.a)(a,s.a.PROPERTYCHANGE,this.handleLayerChange_,this),Object(c.a)(a,d.a.CHANGE,this.handleLayerChange_,this)]}this.changed()},e.prototype.handleLayersAdd_=function(t){var e=t.element;this.listenerKeys_[Object(i.c)(e)]=[Object(c.a)(e,s.a.PROPERTYCHANGE,this.handleLayerChange_,this),Object(c.a)(e,d.a.CHANGE,this.handleLayerChange_,this)],this.changed()},e.prototype.handleLayersRemove_=function(t){var e=t.element,n=Object(i.c)(e);this.listenerKeys_[n].forEach(c.c),delete this.listenerKeys_[n],this.changed()},e.prototype.getLayers=function(){return this.get("layers")},e.prototype.setLayers=function(t){this.set("layers",t)},e.prototype.getLayersArray=function(t){var e=void 0!==t?t:[];return this.getLayers().forEach((function(t){t.getLayersArray(e)})),e},e.prototype.getLayerStatesArray=function(t){var e=void 0!==t?t:[],n=e.length;this.getLayers().forEach((function(t){t.getLayerStatesArray(e)}));for(var l=this.getLayerState(),i=n,r=e.length;i<r;i++){var o=e[i];o.opacity*=l.opacity,o.visible=o.visible&&l.visible,o.maxResolution=Math.min(o.maxResolution,l.maxResolution),o.minResolution=Math.max(o.minResolution,l.minResolution),o.minZoom=Math.max(o.minZoom,l.minZoom),o.maxZoom=Math.min(o.maxZoom,l.maxZoom),void 0!==l.extent&&(o.extent=void 0!==o.extent?Object(h.B)(o.extent,l.extent):l.extent)}return e},e.prototype.getSourceState=function(){return b.a.READY},e}(p.a);e.a=g},nYR2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("7o/Q"),i=n("quSY");function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends l.a{constructor(t,e){super(t),this.add(new i.a(e))}}},nYU5:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("bujt"),s=n("Fwaw"),u=n("5GAg"),c=n("omvX"),d=n("AIJQ");n.d(e,"a",(function(){return b}));var h=l.Bb({encapsulation:0,styles:[[".dialog-edit-route[_ngcontent-%COMP%]{position:relative}.dialog-edit-route[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;color:var(--ion-color-primary);background-color:transparent;font-size:25px}.dialog-edit-route[_ngcontent-%COMP%] .mat-dialog-actions[_ngcontent-%COMP%]{justify-content:center}.dialog-edit-route[_ngcontent-%COMP%] .mat-dialog-actions[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%] + .mat-button-base[_ngcontent-%COMP%]{margin-left:0}"]],data:{}});function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,13,"div",[["class","dialog-edit-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"ion-icon",[["class","close-button"],["name","close"]],[[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,3).dialogRef.close(l.Pb(t,3).dialogResult)&&i),i}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),l.Cb(3,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Db(4,0,null,null,9,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),l.Cb(5,16384,null,0,o.f,[],null,null),(t()(),l.Db(6,0,null,null,3,"button",[["cdkFocusInitial",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,8).dialogRef.close(l.Pb(t,8).dialogResult)&&i),i}),a.b,a.a)),l.Cb(7,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(8,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Wb(-1,0,["Creer une nouvelle route"])),(t()(),l.Db(10,0,null,null,3,"button",[["cdkFocusInitial",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,12).dialogRef.close(l.Pb(t,12).dialogResult)&&i),i}),a.b,a.a)),l.Cb(11,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(12,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Wb(-1,0,["Ecraser l'ancienne route"]))],(function(t,e){t(e,2,0,"close"),t(e,3,0,"CLOSE"),t(e,8,0,"CREATE"),t(e,12,0,"UPDATE")}),(function(t,e){t(e,1,0,l.Pb(e,3).ariaLabel||null,l.Pb(e,3).type),t(e,6,0,l.Pb(e,7).disabled||null,"NoopAnimations"===l.Pb(e,7)._animationMode,l.Pb(e,8).ariaLabel||null,l.Pb(e,8).type),t(e,10,0,l.Pb(e,11).disabled||null,"NoopAnimations"===l.Pb(e,11)._animationMode,l.Pb(e,12).ariaLabel||null,l.Pb(e,12).type)}))}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"edit-route-dialog",[],null,null,null,p,h)),l.Cb(1,49152,null,0,d.a,[o.l],null,null)],null,null)}var b=l.zb("edit-route-dialog",d.a,f,{},{},[])},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>e=>{for(let n=0,l=t.length;n<l&&!e.closed;n++)e.next(t[n]);e.complete()}},nkhJ:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("oBZk"),o=n("ZZ/e"),a=n("s7LF"),s=n("hrfs"),u=n("yKYT"),c=n("sLNx");n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return f}));var d=l.Bb({encapsulation:0,styles:[[".aircraft-replay[_ngcontent-%COMP%]{position:relative;width:100%;height:220px}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 40px;background-color:var(--ion-color-primary);color:#fff;align-items:baseline}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{padding-right:20px}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:10px;color:#fff;background-color:transparent;font-size:30px}.aircraft-replay[_ngcontent-%COMP%] .range-aircraft[_ngcontent-%COMP%]{padding-left:35px}.aircraft-replay[_ngcontent-%COMP%] .chart-aircraft[_ngcontent-%COMP%]{position:relative;height:100px;width:calc(100% - 15px)}.aircraft-replay[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{height:100%!important;width:100%!important}.range[_ngcontent-%COMP%]{--knob-size:10px}.range-knob[_ngcontent-%COMP%]{position:absolute;height:160px;border-radius:0;top:0!important}"]],data:{}});function h(t){return l.Yb(2,[l.Qb(0,i.e,[l.A]),(t()(),l.Db(1,0,null,null,16,"div",[["class","aircraft-replay"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,7,"div",[["class","aircraft-replay-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeReplay()&&l),l}),r.y,r.g)),l.Cb(4,49152,null,0,o.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(5,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,3),(t()(),l.Db(8,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(9,null,[" "," / "," Positions "])),(t()(),l.Db(10,0,null,null,4,"div",[["class","range-aircraft"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,3,"ion-range",[["class","range"],["color","secondary"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,14)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,14)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changePosition(n)&&i),i}),r.E,r.m)),l.Tb(5120,null,a.o,(function(t){return[t]}),[o.Jb]),l.Cb(13,49152,null,0,o.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(14,16384,null,0,o.Jb,[l.p],null,null),(t()(),l.Db(15,0,null,null,2,"div",[["class","chart-aircraft"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"canvas",[["baseChart",""],["height","10"],["width","100"]],null,null,null,null,null)),l.Cb(17,999424,null,0,s.a,[l.p,s.c],{datasets:[0,"datasets"],labels:[1,"labels"],options:[2,"options"],chartType:[3,"chartType"],colors:[4,"colors"],legend:[5,"legend"]},null)],(function(t,e){var n=e.component;t(e,4,0,"close"),t(e,13,0,"secondary",l.Hb(1,"",n.rangeOption.max,""),l.Hb(1,"",n.rangeOption.min,""),l.Hb(1,"",n.rangeOption.step,""),l.Hb(1,"",n.rangeOption.value,"")),t(e,17,0,n.lineChartData,n.lineChartLabels,n.lineChartOptions,n.lineChartType,n.lineChartColors,n.lineChartLegend)}),(function(t,e){var n=e.component,i=l.Xb(e,6,0,t(e,7,0,l.Pb(e,0),n.replayTripService.positions[n.rangeOption.value].updatedAt,"dd/MM/yyyy, HH:mm:ss","utc"));t(e,6,0,i),t(e,9,0,n.rangeOption.value,n.rangeOption.max)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-replay",[],null,null,null,h,d)),l.Cb(1,114688,null,0,u.a,[c.a,l.j],null,null)],(function(t,e){t(e,1,0)}),null)}var f=l.zb("sepia-aircraft-replay",u.a,p,{},{},[])},nmM0:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.ReplaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.DeleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.UpdateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.GetManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk",t.CreateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk",t.CreateManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},nyYc:function(t,e,n){!function(t){"use strict";var e=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},l=function(t){return function(l,i,r,o){var a=e(l),s=n[t][e(l)];return 2===a&&(s=s[i?0:1]),s.replace(/%d/i,l)}},i=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:l("s"),ss:l("s"),m:l("m"),mm:l("m"),h:l("h"),hh:l("h"),d:l("d"),dd:l("d"),M:l("M"),MM:l("M"),y:l("y"),yy:l("y")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},oBZk:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"s",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"t",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"u",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"v",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"w",(function(){return p})),n.d(e,"f",(function(){return f})),n.d(e,"x",(function(){return b})),n.d(e,"g",(function(){return m})),n.d(e,"y",(function(){return g})),n.d(e,"h",(function(){return _})),n.d(e,"z",(function(){return y})),n.d(e,"i",(function(){return A})),n.d(e,"A",(function(){return v})),n.d(e,"j",(function(){return C})),n.d(e,"B",(function(){return w})),n.d(e,"k",(function(){return P})),n.d(e,"D",(function(){return x})),n.d(e,"l",(function(){return S})),n.d(e,"C",(function(){return k})),n.d(e,"m",(function(){return M})),n.d(e,"E",(function(){return O})),n.d(e,"n",(function(){return D})),n.d(e,"F",(function(){return T})),n.d(e,"o",(function(){return E})),n.d(e,"G",(function(){return I})),n.d(e,"p",(function(){return L})),n.d(e,"H",(function(){return j})),n.d(e,"q",(function(){return R})),n.d(e,"I",(function(){return F})),n.d(e,"r",(function(){return N})),n.d(e,"J",(function(){return Y}));var l=n("8Y7J");n("ZZ/e"),n("SVse"),n("iInd");var i=l.Bb({encapsulation:2,styles:[],data:{}});function r(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var o=l.Bb({encapsulation:2,styles:[],data:{}});function a(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var s=l.Bb({encapsulation:2,styles:[],data:{}});function u(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var c=l.Bb({encapsulation:2,styles:[],data:{}});function d(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var h=l.Bb({encapsulation:2,styles:[],data:{}});function p(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var m=l.Bb({encapsulation:2,styles:[],data:{}});function g(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var _=l.Bb({encapsulation:2,styles:[],data:{}});function y(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var A=l.Bb({encapsulation:2,styles:[],data:{}});function v(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var C=l.Bb({encapsulation:2,styles:[],data:{}});function w(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var P=l.Bb({encapsulation:2,styles:[],data:{}});function x(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var M=l.Bb({encapsulation:2,styles:[],data:{}});function O(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var D=l.Bb({encapsulation:2,styles:[],data:{}});function T(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var E=l.Bb({encapsulation:2,styles:[],data:{}});function I(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var L=l.Bb({encapsulation:2,styles:[],data:{}});function j(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var R=l.Bb({encapsulation:2,styles:[],data:{}});function F(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var N=l.Bb({encapsulation:2,styles:[],data:{}});function Y(t){return l.Yb(2,[l.Ob(null,0)],null,null)}},"oIG/":function(t,e){var n,l,i,r=String.fromCharCode;function o(t){for(var e,n,l=[],i=0,r=t.length;i<r;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<r?56320==(64512&(n=t.charCodeAt(i++)))?l.push(((1023&e)<<10)+(1023&n)+65536):(l.push(e),i--):l.push(e);return l}function a(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function s(t,e){return r(t>>e&63|128)}function u(t,e){if(0==(4294967168&t))return r(t);var n="";return 0==(4294965248&t)?n=r(t>>6&31|192):0==(4294901760&t)?(a(t,e)||(t=65533),n=r(t>>12&15|224),n+=s(t,6)):0==(4292870144&t)&&(n=r(t>>18&7|240),n+=s(t,12),n+=s(t,6)),n+r(63&t|128)}function c(){if(i>=l)throw Error("Invalid byte index");var t=255&n[i];if(i++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function d(t){var e,r;if(i>l)throw Error("Invalid byte index");if(i==l)return!1;if(e=255&n[i],i++,0==(128&e))return e;if(192==(224&e)){if((r=(31&e)<<6|c())>=128)return r;throw Error("Invalid continuation byte")}if(224==(240&e)){if((r=(15&e)<<12|c()<<6|c())>=2048)return a(r,t)?r:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(r=(7&e)<<18|c()<<12|c()<<6|c())>=65536&&r<=1114111)return r;throw Error("Invalid UTF-8 detected")}t.exports={version:"2.1.2",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,l=o(t),i=l.length,r=-1,a="";++r<i;)a+=u(l[r],n);return a},decode:function(t,e){var a=!1!==(e=e||{}).strict;n=o(t),l=n.length,i=0;for(var s,u=[];!1!==(s=d(a));)u.push(s);return function(t){for(var e,n=t.length,l=-1,i="";++l<n;)(e=t[l])>65535&&(i+=r((e-=65536)>>>10&1023|55296),e=56320|1023&e),i+=r(e);return i}(u)}}},oJZn:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var l=n("8Y7J"),i=(n("pBi1"),n("POq0")),r=(n("cUpR"),n("Xd0L")),o=(n("IP0z"),n("/HVE")),a=n("omvX"),s=(n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],data:{}}));function u(t){return l.Yb(2,[l.Ub(671088640,1,{_thumbEl:0}),l.Ub(671088640,2,{_thumbBarEl:0}),l.Ub(671088640,3,{_inputElement:0}),(t()(),l.Db(3,0,[["label",1]],null,13,"label",[["class","mat-slide-toggle-label"]],[[1,"for",0]],null,null,null,null)),(t()(),l.Db(4,0,[[2,0],["toggleBar",1]],null,7,"div",[["class","mat-slide-toggle-bar"]],[[2,"mat-slide-toggle-bar-no-side-margin",null]],null,null,null,null)),(t()(),l.Db(5,0,[[3,0],["input",1]],null,0,"input",[["class","mat-slide-toggle-input cdk-visually-hidden"],["role","switch"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"tabIndex",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[1,"aria-checked",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"change"===e&&(l=!1!==i._onChangeEvent(n)&&l),"click"===e&&(l=!1!==i._onInputClick(n)&&l),l}),null,null)),(t()(),l.Db(6,0,[[1,0],["thumbContainer",1]],null,5,"div",[["class","mat-slide-toggle-thumb-container"]],null,[[null,"slidestart"],[null,"slide"],[null,"slideend"]],(function(t,e,n){var l=!0,i=t.component;return"slidestart"===e&&(l=!1!==i._onDragStart()&&l),"slide"===e&&(l=!1!==i._onDrag(n)&&l),"slideend"===e&&(l=!1!==i._onDragEnd()&&l),l}),null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-slide-toggle-thumb"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,3,"div",[["class","mat-slide-toggle-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(9,212992,null,0,r.x,[l.p,l.G,o.a,[2,r.m],[2,a.a]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),l.Rb(10,{enterDuration:0}),(t()(),l.Db(11,0,null,null,0,"div",[["class","mat-ripple-element mat-slide-toggle-persistent-ripple"]],null,null,null,null,null)),(t()(),l.Db(12,0,[["labelContent",1]],null,4,"span",[["class","mat-slide-toggle-content"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onLabelTextChange()&&l),l}),null,null)),l.Cb(13,1196032,null,0,i.a,[i.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(14,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["\xa0"])),l.Ob(null,0)],(function(t,e){var n=e.component,i=t(e,10,0,150);t(e,9,0,!0,20,i,n.disableRipple||n.disabled,l.Pb(e,3))}),(function(t,e){var n=e.component;t(e,3,0,n.inputId),t(e,4,0,!l.Pb(e,12).textContent||!l.Pb(e,12).textContent.trim()),t(e,5,0,n.inputId,n.required,n.tabIndex,n.checked,n.disabled,n.name,n.checked.toString(),n.ariaLabel,n.ariaLabelledby),t(e,8,0,l.Pb(e,9).unbounded)}))}},oQtH:function(t,e,n){"use strict";const l="qk8AMdMq0YQjoFPFrkJbSbOTZO0tnbeTTEJ9jWgA";var i=n("wd/R");function r(){return i().format("YYMM")}const o={LocalStorage:{ColorAircraftList:"ColorAircraftList",FocusOnColorAircraftList:"FocusOnColorAircraftList"},land:{LandLayerClickable:["airports","hotspots","navaids","runways","base-helicoptere","communes","centres-penitentiaires","zit-zones-p","zipva","zit-lad","seveso-bas","seveso-haut","pipelines"],LandLayerHoverable:["airports","hotspots","navaids","runways","base-helicoptere","zit-zones-p","zipva","zit-lad","seveso-bas","seveso-haut"],LandEntityMapping:{airports:{name:["name"],displayData:["icao","type"]},hotspots:{name:["name"],displayData:["elev"]},navaids:{name:["type"],displayData:["type"]},runways:{name:["name"],displayData:["name","length","width","alt"]},communes:{name:["city"],displayData:["county","pop."]},"centres-penitentiaires":{name:["name"],displayData:[]},"zit-zones-p":{name:["name"],displayData:["name","alt"]},zipva:{name:["name"],displayData:["name"]},"zit-lad":{name:["name"],displayData:["name"]},"seveso-bas":{name:["city","name"],displayData:["city","county","name","details"]},"seveso-haut":{name:["city","name"],displayData:["city","county","name","details"]},pipelines:{name:["city"],displayData:["city","type"]},"base-helicoptere":{name:["city"],displayData:["city","county","type","contact"]}}},TableDisplayColumn:{engine:{name:"Aircraft type",columns:["operation","icao","wakeTurbulence","species","engineType","enginePlacement","engine","iconName"],columnsFilter:["icao"]},operator:{name:"Operator",columns:["operation","icao","iata","name"],columnsFilter:["icao","iata","name"]},squawk:{name:"Squawk",columns:["operation","squawk","military","mlat","legend"],columnsFilter:["squawk","legend"]},stop_point:{name:"Airport",columns:["operation","icao","iata","name","location","latitude","longitude","altitude","isPlot"],columnsFilter:["icao","iata","name"]},vehicle:{name:"Aircraft",columns:["operation","modeS","countryCodeIso3","registration","manufacturer","icaoTypeCode","type","serialNo","registeredOwners","operatorIcao","userTags"],columnsFilter:["modeS","countryCodeIso3","registration","manufacturer","icaoTypeCode","operatorIcao","type","serialNo","registeredOwners"]},feed:{name:"Feed",columns:["operation","name","host","port","type_feed","latitude","longitude","settingsString"],columnsFilter:["name","host","port"]},plot:{name:"Plot",columns:["operation","icao","startAt","endAt","airforceReady","airforceSpeed","airforceDuration","icaoTypeCode"],columnsFilter:["icao","icaoTypeCode"]},bbox:{name:"Bbox",columns:["operation","name","minLat","maxLat","minLon","maxLon"],columnsFilter:["name"]},collection:{name:"Collection",columns:["operation","name","groupLayer","typeLayer","pivLayer","tippecanoeLayer","styleLayer","mappingLayer","propertiesLayer","refreshLayer","defaultViewLayer","defaultOrderLayer","clickableLayer","hoverableLayer"],columnsFilter:["name"]},icon:{name:"Icon",columns:["operation","name","bufferInBase64"],columnsFilter:["name"]}},EmptyEntity:{engine:{icao:"",wakeTurbulence:"",species:"",engineType:"",enginePlacement:"",engine:""},operator:{icao:"",iata:"",name:""},squawk:{military:"",mlat:"",squawk:"",legend:""},stop_point:{icao:"",iata:"",name:"",location:"",latitude:"",longitude:"",altitude:"",category:"",isPlot:!1},vehicle:{modeS:"",registration:"",manufacturer:"",icaoTypeCode:"",type:"",serialNo:"",registeredOwners:"",countryCodeIso3:"",operatorIcao:"",userTag:[]},feed:{name:"",host:"",port:"",type_feed:"",latitude:"",longitude:"",settings:""},plot:{icao:"",startAtHours:0,startAtMinutes:0,endAtHours:0,endAtMinutes:0,airforceReady:0,airforceSpeed:0,airforceDuration:0,icaoTypeCode:""},bbox:{name:"",minLat:0,maxLat:0,minLon:0,maxLon:0},collection:{name:"",groupLayer:"",typeLayer:"",pivLayer:!1,tippecanoeLayer:"",styleLayer:"",mappingLayer:"",propertiesLayer:"",refreshLayer:0,defaultViewLayer:!1,defaultOrderLayer:0,clickableLayer:!1,hoverableLayer:!1},icon:{name:"",bufferInBase64:""}},glLayers:{version:8,name:"Sepia",metadata:{"mapbox:autocomposite":!1,"openmaptiles:version":"3.x"},center:[2.438,46.528],zoom:5,minzoom:0,maxzoom:20,bearing:0,pitch:0,sources:{airports:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/airports.json"},airspaces:{type:"vector",layerGroup:"General",url:"https://tiles.sepia.fabnum.fr/data/airspaces.json"},hotspots:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/hotspots.json"},navaids:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/navaids.json"},runways:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/runways.json"},"centres-penitentiaires":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/centres-penitentiaires.json"},"zit-zones-p":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zit-zones-p.json"},"zit-lad":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zit-lad.json"},zipva:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zipva.json"},icpe:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/icpe.json"},"seveso-bas":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/seveso-bas.json"},"seveso-haut":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/seveso-haut.json"},pipelines:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/pipelines.json"},"etablissements-scolaires":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/etablissements-scolaires.json"},"base-helicoptere":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/base-helicoptere.json"}},glyphs:"http://fonts.openmaptiles.org/{fontstack}/{range}.pbf",layers:[{id:"airports",type:"circle",source:"airports","source-layer":"airports",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"blue","circle-opacity":1},minzoom:0},{id:"hotspots",type:"circle",source:"hotspots","source-layer":"hotspots",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"purple","circle-opacity":1},minzoom:0},{id:"navaids",type:"circle",source:"navaids","source-layer":"navaids",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"black","circle-opacity":1},minzoom:0},{id:"runways",type:"circle",source:"runways","source-layer":"runways",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"green","circle-opacity":1},minzoom:0},{id:"centres-penitentiaires",type:"circle",source:"centres-penitentiaires","source-layer":"centres-penitentiaires",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"brown","circle-opacity":1},minzoom:0},{id:"etablissements-scolaires",type:"circle",source:"etablissements-scolaires","source-layer":"etablissements-scolaires",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"pink","circle-opacity":1},minzoom:10},{id:"zit-lad",type:"fill",source:"zit-lad","source-layer":"zit-lad",layout:{visibility:"visible"},paint:{"fill-color":"pink","fill-opacity":.3},minzoom:0},{id:"seveso-haut",type:"circle",source:"seveso-haut","source-layer":"seveso-haut",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"SaddleBrown","circle-opacity":1},minzoom:0},{id:"seveso-bas",type:"circle",source:"seveso-bas","source-layer":"seveso-bas",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"SaddleBrown","circle-opacity":1},minzoom:0},{id:"base-helicoptere",type:"circle",source:"base-helicoptere","source-layer":"base-helicoptere",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"yellow","circle-opacity":1},minzoom:0},{id:"zipva",type:"line",source:"zipva","source-layer":"zipva",layout:{visibility:"visible"},paint:{"line-color":"orange","line-opacity":1},minzoom:0},{id:"zit-zones-p",type:"line",source:"zit-zones-p","source-layer":"zit-zones-p",layout:{visibility:"visible"},paint:{"line-color":"red","line-opacity":1},minzoom:0},{id:"airspaces",type:"fill",source:"airspaces","source-layer":"airspaces",layout:{visibility:"visible"},paint:{"fill-color":"rgba(255, 0, 0, 0.000000000000001)","fill-opacity":1,"fill-outline-color":"red"},minzoom:0},{id:"pipelines",type:"fill",source:"pipelines","source-layer":"pipelines",layout:{visibility:"visible"},paint:{"fill-color":"gray","fill-opacity":.2,"fill-outline-color":"rgba(0, 0, 0, 1)"},minzoom:10},{id:"icpe",type:"circle",source:"icpe","source-layer":"icpe",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"aqua","circle-opacity":1},minzoom:0}],id:"sepia"},hiddenLayers:["airspaces","runways","airports","hotspots","navaids","seveso-haut","seveso-bas","base-helicoptere","centres-penitentiaires","etablissements-scolaires","pipelines","icpe"],layers:{aeris:{url:{aerisCloud:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/satellite/{z}/{x}/{y}/current.png",aerisInfraSat:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/satellite-infrared-color/{z}/{x}/{y}/current.png",aerisPressure:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/fpressure-msl-isobars/{z}/{x}/{y}/current.png",aerisWind:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/fwind-speeds/{z}/{x}/{y}/current.png"},attributions:"&copy; AerisWeather.com"},osmFr:{url:{osmFr:"https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png"},attributions:"&copy; Openstreetmap France"},cityLabel:{url:{cityLabel:"https://a.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}{r}.png"},attributions:"\xa9 <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors &copy; <a href='https://carto.com/attributions'>CARTO</a>"},osmLabel:{url:{osmLabel:"https://maps.heigit.org/openmapsurfer/tiles/hybrid/webmercator/{z}/{x}/{y}.png"},attributions:"'\xa9 Imagery from <a href='http://giscience.uni-hd.de/'>GIScience Research Group @ University of Heidelberg</a>"},skyVector:{url:{hiIfr:"https://t.skyvector.com/836f40bc/hi/"+r()+"/{z}/{x}/{y}.jpg",loIfr:"https://t.skyvector.com/836f40bc/lo/"+r()+"/{z}/{x}/{y}.jpg",vfr:"https://t.skyvector.com/836f40bc/vfr/"+r()+"/{z}/{x}/{y}.jpg"},attributions:"&copy; SkyVector.com"},openAIP:{url:{airport:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_approved_airports@EPSG:900913@png/{z}/{x}/{-y}.png",airspace_geo:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_approved_airspaces_geometries@EPSG:900913@png/{z}/{x}/{-y}.png",airspace_label:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_approved_airspaces_labels@EPSG:900913@png/{z}/{x}/{-y}.png",FIR:"https://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_basemap@EPSG:900913@png/{z}/{x}/{y}.png"},attributions:"\xa9 openaip.net"},fr24Tiles:{url:{navaid:"https://tiles.flightradar24.com/navdata_ha/{z}/{x}/{y}/tile.png",FIR:"https://tiles.flightradar24.com/atc_boundaries/{z}/{x}/{y}/tile.png",ATC:"https://tiles.flightradar24.com/atc_boundaries_green/{z}/{x}/{y}/tile@2x.png"},attributions:"&copy; FlightRadar24.com"},darkCartoDB:{url:{darkCartoDB:"https://{a-c}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}{r}.png"},attributions:'&copy; <a href="https://carto.com/attributions">CARTO</a>'},satellite:{key:"AoCUlbdgOXex_nQ0Y2RWoqHF4sPtiMhbvY0Shy6E6aIEHYRhjIvbGEH5ZZFY2VWy",imagerySet:"AerialWithLabels"},traffic:{layer:{name:"traffic",visible:!0,renderMode:"image",hitTolerance:20},style:{image:{opacity:1,src:"assets/icon/vrs/Marker_Airplane.png",color:"rgba(0, 255, 0, 1)",colorOnClick:"red",scale:1}}},label:{layer:{name:"label",visible:!0},style:{}},land:{layer:{name:"land",visible:!0,renderMode:"image"},style:{stroke:{color:"rgba(255, 0, 0, 1)",width:2},fill:{color:"rgba(255, 0, 0, 0)"}}},grid:{bbox:[[[-10,58],[12,58],[12,38],[-10,38],[-10,58]]],resolution:5,source:{useSpatialIndex:!0},layer:{name:"res5",visible:!0,renderMode:"image",minResolution:4e3,maxResolution:2e4},style:{stroke:{color:"rgba(0, 0, 255, 0.5)",width:1},fill:{color:"rgba(255,255,255,0.0)"}}},trace:{source:{useSpatialIndex:!0},layer:{name:"traces",visible:!0}},plot:{source:{useSpatialIndex:!0},layer:{name:"plot",visible:!0}}},wgs84:"EPSG:4326",pseudoMercator:"EPSG:3857",auth:{url:"https://auth.sepia.fabnum.fr/auth",realm:"sepia",clientId:"sepia.angular",loginReturn:"https://sepia.fabnum.fr/home",logoutReturn:"https://sepia.fabnum.fr/login"},api:{"external.pictures":{url:"https://api.sepia.fabnum.fr/pictures/"},"sepia.api":{url:"https://api.sepia.fabnum.fr"}},ConfigFleetItem:{fields:[{value:"country",title:"Pays"},{value:"callsign",title:"Callsign"},{value:"icao",title:"Code Icao"},{value:"squawk",title:"IFF"},{value:"registration",title:"Registration"},{value:"operatorIcao",title:"Compagnie"},{value:"fromIcao",title:"From oaci"},{value:"toIcao",title:"To oaci"},{value:"icaoTypeCode",title:"Icao type"},{value:"mlat",title:"Is mlat"},{value:"military",title:"Is military"}],operators:[{value:"eq",title:"equal"},{value:"cont",title:"contains"}],logicalOperator:[{value:"||",title:"or"},{value:"&&",title:"and"}]}};n.d(e,"a",(function(){return a}));const a={production:!0,config:o}},oU5s:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}flightPlanControllerImportFlightPlan$Response(e){const n=new o.a(this.rootUrl,t.FlightPlanControllerImportFlightPlanPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}flightPlanControllerImportFlightPlan(t){return this.flightPlanControllerImportFlightPlan$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.FlightPlanControllerImportFlightPlanPath="/flightPlan/import",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},oapL:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return f}));var l=n("/HVE"),i=n("8Y7J"),r=n("KCVW"),o=n("EY2u"),a=n("XNiG"),s=n("xgIS"),u=n("3UWI"),c=n("1G5W");const d=Object(l.g)({passive:!0});let h=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.a;const e=Object(r.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject.asObservable();const l=new a.a,i="cdk-text-field-autofilled",s=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(i)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(i)&&(e.classList.remove(i),this._ngZone.run(()=>l.next({target:t.target,isAutofilled:!1}))):(e.classList.add(i),this._ngZone.run(()=>l.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",s,d),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:l,unlisten:()=>{e.removeEventListener("animationstart",s,d)}}),l.asObservable()}stopMonitoring(t){const e=Object(r.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(l.a),Object(i.dc)(i.G))},token:t,providedIn:"root"}),t})();class p{constructor(t,e,n){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new a.a,this._enabled=!0,this._previousMinRows=-1,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(t){this._minRows=t,this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=t,this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Object(r.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Object(s.a)(window,"resize").pipe(Object(u.a)(16),Object(c.a)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,n=e.value;if(!t&&this._minRows===this._previousMinRows&&n===this._previousValue)return;const l=e.placeholder;e.classList.add("cdk-textarea-autosize-measuring"),e.placeholder="",e.style.height=e.scrollHeight-4+"px",e.classList.remove("cdk-textarea-autosize-measuring"),e.placeholder=l,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(t){const{selectionStart:e,selectionEnd:n}=t;this._destroyed.isStopped||document.activeElement!==t||t.setSelectionRange(e,n)}}class f{}},oeKZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("aK3z");class i{constructor(){window.kcs={},window.kcs.client=()=>this.client(),window.kcs.token=()=>{this.getToken().then(t=>(console.log(t),t))}}static init(t,e){return i.keycloakAuth=l(t),new Promise((t,n)=>{i.keycloakAuth.init(e).success(()=>{t()}).error(t=>{n(t)})})}client(){return i.keycloakAuth}authenticated(){return i.keycloakAuth.authenticated}login(t){i.keycloakAuth.login(t)}logout(t){i.keycloakAuth.logout({redirectUri:t})}account(){i.keycloakAuth.accountManagement()}authServerUrl(){return i.keycloakAuth.authServerUrl}realm(){return i.keycloakAuth.realm}getToken(){return new Promise((t,e)=>{i.keycloakAuth.token?i.keycloakAuth.updateToken(5).success(()=>{t(i.keycloakAuth.token)}).error(()=>{e("Failed to refresh token")}):e("Not loggen in")})}}},ohmy:function(t,e,n){"use strict";e.byteLength=function(t){var e=u(t),n=e[1];return 3*(e[0]+n)/4-n},e.toByteArray=function(t){var e,n,l=u(t),o=l[0],a=l[1],s=new r(function(t,e,n){return 3*(e+n)/4-n}(0,o,a)),c=0,d=a>0?o-4:o;for(n=0;n<d;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,s[c++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,r=[],o=0,a=n-i;o<a;o+=16383)r.push(c(t,o,o+16383>a?a:o+16383));return 1===i?r.push(l[(e=t[n-1])>>2]+l[e<<4&63]+"=="):2===i&&r.push(l[(e=(t[n-2]<<8)+t[n-1])>>10]+l[e>>4&63]+l[e<<2&63]+"="),r.join("")};for(var l=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)l[a]=o[a],i[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,r=[],o=e;o<n;o+=3)r.push(l[(i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]))>>18&63]+l[i>>12&63]+l[i>>6&63]+l[63&i]);return r.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},omvX:function(t,e,n){"use strict";n.d(e,"f",(function(){return b})),n.d(e,"g",(function(){return m})),n.d(e,"e",(function(){return f})),n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return p}));var l=n("8Y7J"),i=(n("cUpR"),n("GS7A")),r=n("fDlF");class o extends i.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:l.Z.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(i.j)(t):t;return u(this._renderer,null,e,"register",[n]),new a(e,this._renderer)}}class a extends i.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new s(this._id,t,e||{},this._renderer)}}class s{constructor(t,e,n,l){this.id=t,this.element=e,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return u(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function u(t,e,n,l,i){return t.setProperty(e,`@@${n}:${l}`,i)}class c{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new d("",n,this.engine),this._rendererCache.set(n,t)),t}const l=e.id,i=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(i,t),e.data.animation.forEach(e=>this.engine.registerTrigger(l,i,t,e.name,e)),new h(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}class d{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,l){this.delegate.setAttribute(t,e,n,l)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,l){this.delegate.setStyle(t,e,n,l)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class h extends d{constructor(t,e,n,l){super(e,n,l),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const l=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),r="";return"@"!=i.charAt(0)&&([i,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,l,i,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}class p extends r.b{constructor(t,e,n){super(t.body,e,n)}}function f(){return Object(r.h)()?new r.f:new r.d}function b(){return new r.g}function m(t,e,n){return new c(t,e,n)}const g=new l.w("AnimationModuleType");class _{}},oscj:function(t,e,n){"use strict";var l=n("BBQo"),i=n("V8uu"),r=n("f8l7");function o(t,e,n){return function(l,i,o,a){if(l){var s=e?0:o[0]*i,u=e?0:o[1]*i,c=t[0]+s/2,d=t[2]-s/2,h=t[1]+u/2,p=t[3]-u/2;c>d&&(d=c=(d+c)/2),h>p&&(p=h=(p+h)/2);var f=Object(r.a)(l[0],c,d),b=Object(r.a)(l[1],h,p),m=30*i;return a&&n&&(f+=-m*Math.log(1+Math.max(0,c-l[0])/m)+m*Math.log(1+Math.max(0,l[0]-d)/m),b+=-m*Math.log(1+Math.max(0,h-l[1])/m)+m*Math.log(1+Math.max(0,l[1]-p)/m)),[f,b]}}}function a(t){return t}var s=n("4mld"),u=n("n15R"),c=n("CvXi");function d(t,e,n,l){var i=Object(c.E)(e)/n[0],r=Object(c.A)(e)/n[1];return l?Math.min(t,Math.max(i,r)):Math.min(t,Math.min(i,r))}function h(t,e,n){var l=Math.min(t,e);return l*=Math.log(1+50*Math.max(0,t/e-1))/50+1,n&&(l=Math.max(l,n),l/=Math.log(1+50*Math.max(0,n/t-1))/50+1),Object(r.a)(l,n/2,2*e)}function p(t,e,n,l,i){return function(o,a,s,u){if(void 0!==o){var c=l?d(t,l,s,i):t;return(void 0===n||n)&&u?h(o,c,e):Object(r.a)(o,e,c)}}}var f,b=n("jMVV"),m=n("SW/M"),g=n("kvpX"),_=n("pWiS"),y=n("ykKD"),A=n("9iPr"),v=n("W8M7"),C=n("OPOH"),w=n("JW8z"),P=n("/O31"),x=(f=function(t,e){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),S=function(t){function e(e){var n=t.call(this)||this,l=Object(C.a)({},e);return n.hints_=[0,0],n.animations_=[],n.projection_=Object(w.b)(l.projection,"EPSG:3857"),n.viewportSize_=[100,100],n.targetCenter_=null,n.cancelAnchor_=void 0,l.center&&(l.center=Object(w.e)(l.center,n.projection_)),l.extent&&(l.extent=Object(w.f)(l.extent,n.projection_)),n.applyOptions_(l),n}return x(e,t),e.prototype.applyOptions_=function(t){var e=function(t){var e,n,i,o=void 0!==t.minZoom?t.minZoom:0,a=void 0!==t.maxZoom?t.maxZoom:28,s=void 0!==t.zoomFactor?t.zoomFactor:2,f=void 0!==t.multiWorld&&t.multiWorld,b=void 0===t.smoothResolutionConstraint||t.smoothResolutionConstraint,m=void 0!==t.showFullExtent&&t.showFullExtent,g=Object(w.b)(t.projection,"EPSG:3857"),_=g.getExtent(),y=t.constrainOnlyCenter,A=t.extent;if(f||A||!g.isGlobal()||(y=!1,A=_),void 0!==t.resolutions){var v=t.resolutions;n=v[o],i=void 0!==v[a]?v[a]:v[v.length-1],e=t.constrainResolution?function(t,e,n,l){return function(i,o,a,s){if(void 0!==i){var c=t[0],p=t[t.length-1],f=n?d(c,n,a,l):c;if(s)return void 0===e||e?h(i,f,p):Object(r.a)(i,p,f);var b=Math.min(f,i),m=Math.floor(Object(u.f)(t,b,o));return t[m]>f&&m<t.length-1?t[m+1]:t[m]}}}(v,b,!y&&A,m):p(n,i,b,!y&&A,m)}else{var C=(_?Math.max(Object(c.E)(_),Object(c.A)(_)):360*w.a[P.b.DEGREES]/g.getMetersPerUnit())/l.b/Math.pow(2,0),x=C/Math.pow(2,28);void 0!==(n=t.maxResolution)?o=0:n=C/Math.pow(s,o),void 0===(i=t.minResolution)&&(i=void 0!==t.maxZoom?void 0!==t.maxResolution?n/Math.pow(s,a):C/Math.pow(s,a):x),a=o+Math.floor(Math.log(n/i)/Math.log(s)),i=n/Math.pow(s,a-o),e=t.constrainResolution?function(t,e,n,l,i,o){return function(a,s,u,c){if(void 0!==a){var p=i?d(e,i,u,o):e,f=void 0!==n?n:0;if(c)return void 0===l||l?h(a,p,f):Object(r.a)(a,f,p);var b=Math.ceil(Math.log(e/p)/Math.log(t)-1e-9),m=-s*(.5-1e-9)+.5,g=Math.min(p,a),_=Math.floor(Math.log(e/g)/Math.log(t)+m),y=Math.max(b,_),A=e/Math.pow(t,y);return Object(r.a)(A,f,p)}}}(s,n,i,b,!y&&A,m):p(n,i,b,!y&&A,m)}return{constraint:e,maxResolution:n,minResolution:i,minZoom:o,zoomFactor:s}}(t);this.maxResolution_=e.maxResolution,this.minResolution_=e.minResolution,this.zoomFactor_=e.zoomFactor,this.resolutions_=t.resolutions,this.minZoom_=e.minZoom;var n=function(t){if(void 0!==t.extent)return o(t.extent,t.constrainOnlyCenter,void 0===t.smoothExtentConstraint||t.smoothExtentConstraint);var e=Object(w.b)(t.projection,"EPSG:3857");if(!0!==t.multiWorld&&e.isGlobal()){var n=e.getExtent().slice();return n[0]=-1/0,n[2]=1/0,o(n,!1,!1)}return a}(t),i=e.constraint,s=function(t){if(void 0===t.enableRotation||t.enableRotation){var e=t.constrainRotation;return void 0===e||!0===e?Object(b.b)():!1===e?b.d:"number"==typeof e?Object(b.a)(e):b.d}return b.c}(t);this.constraints_={center:n,resolution:i,rotation:s},this.setRotation(void 0!==t.rotation?t.rotation:0),this.setCenterInternal(void 0!==t.center?t.center:null),void 0!==t.resolution?this.setResolution(t.resolution):void 0!==t.zoom&&this.setZoom(t.zoom),this.setProperties({}),this.options_=t},e.prototype.getUpdatedOptions_=function(t){var e=Object(C.a)({},this.options_);return void 0!==e.resolution?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object(C.a)({},e,t)},e.prototype.animate=function(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);for(var e=new Array(arguments.length),n=0;n<e.length;++n){var l=arguments[n];l.center&&((l=Object(C.a)({},l)).center=Object(w.e)(l.center,this.getProjection())),l.anchor&&((l=Object(C.a)({},l)).anchor=Object(w.e)(l.anchor,this.getProjection())),e[n]=l}this.animateInternal.apply(this,e)},e.prototype.animateInternal=function(t){var e,n=arguments.length;if(n>1&&"function"==typeof arguments[n-1]&&(e=arguments[n-1],--n),!this.isDef()){var l=arguments[n-1];return l.center&&this.setCenterInternal(l.center),void 0!==l.zoom&&this.setZoom(l.zoom),void 0!==l.rotation&&this.setRotation(l.rotation),void(e&&k(e,!0))}for(var i=Date.now(),o=this.targetCenter_.slice(),a=this.targetResolution_,s=this.targetRotation_,u=[],c=0;c<n;++c){var d=arguments[c],h={start:i,complete:!1,anchor:d.anchor,duration:void 0!==d.duration?d.duration:1e3,easing:d.easing||y.c,callback:e};if(d.center&&(h.sourceCenter=o,h.targetCenter=d.center.slice(),o=h.targetCenter),void 0!==d.zoom?(h.sourceResolution=a,h.targetResolution=this.getResolutionForZoom(d.zoom),a=h.targetResolution):d.resolution&&(h.sourceResolution=a,h.targetResolution=d.resolution,a=h.targetResolution),void 0!==d.rotation){h.sourceRotation=s;var p=Object(r.d)(d.rotation-s+Math.PI,2*Math.PI)-Math.PI;h.targetRotation=s+p,s=h.targetRotation}M(h)?h.complete=!0:i+=h.duration,u.push(h)}this.animations_.push(u),this.setHint(m.a.ANIMATING,1),this.updateAnimations_()},e.prototype.getAnimating=function(){return this.hints_[m.a.ANIMATING]>0},e.prototype.getInteracting=function(){return this.hints_[m.a.INTERACTING]>0},e.prototype.cancelAnimations=function(){var t;this.setHint(m.a.ANIMATING,-this.hints_[m.a.ANIMATING]);for(var e=0,n=this.animations_.length;e<n;++e){var l=this.animations_[e];if(l[0].callback&&k(l[0].callback,!1),!t)for(var i=0,r=l.length;i<r;++i){var o=l[i];if(!o.complete){t=o.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t},e.prototype.updateAnimations_=function(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),this.getAnimating()){for(var t=Date.now(),e=!1,n=this.animations_.length-1;n>=0;--n){for(var l=this.animations_[n],i=!0,o=0,a=l.length;o<a;++o){var s=l[o];if(!s.complete){var u=s.duration>0?(t-s.start)/s.duration:1;u>=1?(s.complete=!0,u=1):i=!1;var c=s.easing(u);if(s.sourceCenter){var d=s.sourceCenter[0],h=s.sourceCenter[1];this.targetCenter_=[d+c*(s.targetCenter[0]-d),h+c*(s.targetCenter[1]-h)]}if(s.sourceResolution&&s.targetResolution){var p=1===c?s.targetResolution:s.sourceResolution+c*(s.targetResolution-s.sourceResolution);if(s.anchor){var f=this.getViewportSize_(this.getRotation()),b=this.constraints_.resolution(p,0,f,!0);this.targetCenter_=this.calculateCenterZoom(b,s.anchor)}this.targetResolution_=p,this.applyTargetState_(!0)}if(void 0!==s.sourceRotation&&void 0!==s.targetRotation){var g=1===c?Object(r.d)(s.targetRotation+Math.PI,2*Math.PI)-Math.PI:s.sourceRotation+c*(s.targetRotation-s.sourceRotation);if(s.anchor){var _=this.constraints_.rotation(g,!0);this.targetCenter_=this.calculateCenterRotate(_,s.anchor)}this.targetRotation_=g}if(this.applyTargetState_(!0),e=!0,!s.complete)break}}if(i){this.animations_[n]=null,this.setHint(m.a.ANIMATING,-1);var y=l[0].callback;y&&k(y,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(t,e){var n,l=this.getCenterInternal();return void 0!==l&&(n=[l[0]-e[0],l[1]-e[1]],Object(_.c)(n,t-this.getRotation()),Object(_.a)(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,l=this.getCenterInternal(),i=this.getResolution();return void 0!==l&&void 0!==i&&(n=[e[0]-t*(e[0]-l[0])/i,e[1]-t*(e[1]-l[1])/i]),n},e.prototype.getViewportSize_=function(t){var e=this.viewportSize_;if(t){var n=e[0],l=e[1];return[Math.abs(n*Math.cos(t))+Math.abs(l*Math.sin(t)),Math.abs(n*Math.sin(t))+Math.abs(l*Math.cos(t))]}return e},e.prototype.setViewportSize=function(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.resolveConstraints(0)},e.prototype.getCenter=function(){var t=this.getCenterInternal();return t?Object(w.n)(t,this.getProjection()):t},e.prototype.getCenterInternal=function(){return this.get("center")},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.options_.constrainResolution},e.prototype.getHints=function(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()},e.prototype.calculateExtent=function(t){var e=this.calculateExtentInternal(t);return Object(w.o)(e,this.getProjection())},e.prototype.calculateExtentInternal=function(t){var e=t||this.getViewportSize_(),n=this.getCenterInternal();Object(g.a)(n,1);var l=this.getResolution();Object(g.a)(void 0!==l,2);var i=this.getRotation();return Object(g.a)(void 0!==i,3),Object(c.z)(n,l,i,e)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))},e.prototype.setConstrainResolution=function(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get("resolution")},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){return this.getResolutionForExtentInternal(Object(w.f)(t,this.getProjection()),e)},e.prototype.getResolutionForExtentInternal=function(t,e){var n=e||this.getViewportSize_(),l=Object(c.E)(t)/n[0],i=Object(c.A)(t)/n[1];return Math.max(l,i)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.getConstrainedResolution(this.maxResolution_),l=Math.log(n/this.minResolution_)/Math.log(e);return function(t){return n/Math.pow(e,t*l)}},e.prototype.getRotation=function(){return this.get("rotation")},e.prototype.getValueForResolutionFunction=function(t){var e=Math.log(t||2),n=this.getConstrainedResolution(this.maxResolution_),l=Math.log(n/this.minResolution_)/e;return function(t){return Math.log(n/t)/e/l}},e.prototype.getState=function(){var t=this.getCenterInternal(),e=this.getProjection(),n=this.getResolution(),l=this.getRotation();return{center:t.slice(0),projection:void 0!==e?e:null,resolution:n,rotation:l,zoom:this.getZoom()}},e.prototype.getZoom=function(){var t,e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t},e.prototype.getZoomForResolution=function(t){var e,n,l=this.minZoom_||0;if(this.resolutions_){var i=Object(u.f)(this.resolutions_,t,1);l=i,e=this.resolutions_[i],n=i==this.resolutions_.length-1?2:e/this.resolutions_[i+1]}else e=this.maxResolution_,n=this.zoomFactor_;return l+Math.log(e/t)/Math.log(n)},e.prototype.getResolutionForZoom=function(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var e=Object(r.a)(Math.floor(t),0,this.resolutions_.length-2);return this.resolutions_[e]/Math.pow(this.resolutions_[e]/this.resolutions_[e+1],Object(r.a)(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)},e.prototype.fit=function(t,e){var n,l=Object(C.a)({size:this.getViewportSize_()},e||{});if(Object(g.a)(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,24),Array.isArray(t)){Object(g.a)(!Object(c.H)(t),25);var i=Object(w.f)(t,this.getProjection());n=Object(v.b)(i)}else if(t.getType()===A.a.CIRCLE)i=Object(w.f)(t.getExtent(),this.getProjection()),(n=Object(v.b)(i)).rotate(this.getRotation(),Object(c.x)(i));else{var r=Object(w.k)();n=r?t.clone().transform(r,this.getProjection()):t}this.fitInternal(n,l)},e.prototype.fitInternal=function(t,e){var n=e||{},l=n.size;l||(l=this.getViewportSize_());var r,o=void 0!==n.padding?n.padding:[0,0,0,0],a=void 0!==n.nearest&&n.nearest;r=void 0!==n.minResolution?n.minResolution:void 0!==n.maxZoom?this.getResolutionForZoom(n.maxZoom):0;for(var s=t.getFlatCoordinates(),u=this.getRotation(),c=Math.cos(-u),d=Math.sin(-u),h=1/0,p=1/0,f=-1/0,b=-1/0,m=t.getStride(),g=0,_=s.length;g<_;g+=m){var y=s[g]*c-s[g+1]*d,A=s[g]*d+s[g+1]*c;h=Math.min(h,y),p=Math.min(p,A),f=Math.max(f,y),b=Math.max(b,A)}var v=this.getResolutionForExtentInternal([h,p,f,b],[l[0]-o[1]-o[3],l[1]-o[0]-o[2]]);v=isNaN(v)?r:Math.max(v,r),v=this.getConstrainedResolution(v,a?0:1);var C=(h+f)/2,w=(p+b)/2,P=[(C+=(o[1]-o[3])/2*v)*c-(w+=(o[0]-o[2])/2*v)*(d=-d),w*c+C*d],x=n.callback?n.callback:i.c;void 0!==n.duration?this.animateInternal({resolution:v,center:this.getConstrainedCenter(P,v),duration:n.duration,easing:n.easing},x):(this.targetResolution_=v,this.targetCenter_=P,this.applyTargetState_(!1,!0),k(x,!0))},e.prototype.centerOn=function(t,e,n){this.centerOnInternal(Object(w.e)(t,this.getProjection()),e,n)},e.prototype.centerOnInternal=function(t,e,n){var l=this.getRotation(),i=Math.cos(-l),r=Math.sin(-l),o=t[0]*i-t[1]*r,a=t[1]*i+t[0]*r,s=this.getResolution();this.setCenterInternal([(o+=(e[0]/2-n[0])*s)*i-(a+=(n[1]-e[1]/2)*s)*(r=-r),a*i+o*r])},e.prototype.isDef=function(){return!!this.getCenterInternal()&&void 0!==this.getResolution()},e.prototype.adjustCenter=function(t){var e=Object(w.n)(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustCenterInternal=function(t){var e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustResolution=function(t,e){var n=e&&Object(w.e)(e,this.getProjection());this.adjustResolutionInternal(t,n)},e.prototype.adjustResolutionInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),l=this.getViewportSize_(this.getRotation()),i=this.constraints_.resolution(this.targetResolution_*t,0,l,n);e&&(this.targetCenter_=this.calculateCenterZoom(i,e)),this.targetResolution_*=t,this.applyTargetState_()},e.prototype.adjustZoom=function(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)},e.prototype.adjustRotation=function(t,e){e&&(e=Object(w.e)(e,this.getProjection())),this.adjustRotationInternal(t,e)},e.prototype.adjustRotationInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),l=this.constraints_.rotation(this.targetRotation_+t,n);e&&(this.targetCenter_=this.calculateCenterRotate(l,e)),this.targetRotation_+=t,this.applyTargetState_()},e.prototype.setCenter=function(t){this.setCenterInternal(Object(w.e)(t,this.getProjection()))},e.prototype.setCenterInternal=function(t){this.targetCenter_=t,this.applyTargetState_()},e.prototype.setHint=function(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]},e.prototype.setResolution=function(t){this.targetResolution_=t,this.applyTargetState_()},e.prototype.setRotation=function(t){this.targetRotation_=t,this.applyTargetState_()},e.prototype.setZoom=function(t){this.setResolution(this.getResolutionForZoom(t))},e.prototype.applyTargetState_=function(t,e){var n=this.getAnimating()||this.getInteracting()||e,l=this.constraints_.rotation(this.targetRotation_,n),i=this.getViewportSize_(l),r=this.constraints_.resolution(this.targetResolution_,0,i,n),o=this.constraints_.center(this.targetCenter_,r,i,n);this.get("rotation")!==l&&this.set("rotation",l),this.get("resolution")!==r&&this.set("resolution",r),this.get("center")&&Object(_.b)(this.get("center"),o)||this.set("center",o),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0},e.prototype.resolveConstraints=function(t,e,n){var l=void 0!==t?t:200,i=e||0,r=this.constraints_.rotation(this.targetRotation_),o=this.getViewportSize_(r),a=this.constraints_.resolution(this.targetResolution_,i,o),s=this.constraints_.center(this.targetCenter_,a,o);if(0===l&&!this.cancelAnchor_)return this.targetResolution_=a,this.targetRotation_=r,this.targetCenter_=s,void this.applyTargetState_();var u=n||(0===l?this.cancelAnchor_:void 0);this.cancelAnchor_=void 0,this.getResolution()===a&&this.getRotation()===r&&this.getCenterInternal()&&Object(_.b)(this.getCenterInternal(),s)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:r,center:s,resolution:a,duration:l,easing:y.b,anchor:u}))},e.prototype.beginInteraction=function(){this.resolveConstraints(0),this.setHint(m.a.INTERACTING,1)},e.prototype.endInteraction=function(t,e,n){var l=n&&Object(w.e)(n,this.getProjection());this.endInteractionInternal(t,e,l)},e.prototype.endInteractionInternal=function(t,e,n){this.setHint(m.a.INTERACTING,-1),this.resolveConstraints(t,e,n)},e.prototype.getConstrainedCenter=function(t,e){var n=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),n)},e.prototype.getConstrainedZoom=function(t,e){var n=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(n,e))},e.prototype.getConstrainedResolution=function(t,e){var n=e||0,l=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,n,l)},e}(s.a);function k(t,e){setTimeout((function(){t(e)}),0)}function M(t){return!(t.sourceCenter&&t.targetCenter&&!Object(_.b)(t.sourceCenter,t.targetCenter))&&t.sourceResolution===t.targetResolution&&t.sourceRotation===t.targetRotation}e.a=S},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pBi1:function(t,e,n){"use strict";n.d(e,"d",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return o}));var l=n("8Y7J"),i=n("KCVW"),r=(n("s7LF"),n("Xd0L"));const o=new l.w("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,disableDragValue:!1})});let a=0;class s{constructor(t,e){this.source=t,this.checked=e}}class u{constructor(t){this._elementRef=t}}const c=Object(r.J)(Object(r.E)(Object(r.F)(Object(r.G)(u)),"accent"));class d extends c{constructor(t,e,n,i,r,o,s,u){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this._ngZone=r,this.defaults=o,this._animationMode=s,this._dir=u,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++a,this._required=!1,this._checked=!1,this._dragging=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new l.r,this.toggleChange=new l.r,this.dragChange=new l.r,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(i.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return(this.id||this._uniqueId)+"-input"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this._dragging||this.toggleChange.emit(),this._dragging||this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new s(this,this.checked))}_getDragPercentage(t){let e=t/this._thumbBarWidth*100;return this._previousChecked&&(e+=100),Math.max(0,Math.min(e,100))}_onDragStart(){if(!this.disabled&&!this._dragging){const t=this._thumbEl.nativeElement;this._thumbBarWidth=this._thumbBarEl.nativeElement.clientWidth-t.clientWidth,t.classList.add("mat-dragging"),this._previousChecked=this.checked,this._dragging=!0}}_onDrag(t){if(this._dragging){const e=this._dir&&"rtl"===this._dir.value?-1:1;this._dragPercentage=this._getDragPercentage(t.deltaX*e),this._thumbEl.nativeElement.style.transform=`translate3d(${this._dragPercentage/100*this._thumbBarWidth*e}px, 0, 0)`}}_onDragEnd(){if(this._dragging){const t=this._dragPercentage>50;t!==this.checked&&(this.dragChange.emit(),this.defaults.disableDragValue||(this.checked=t,this._emitChangeEvent())),this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._dragging&&(this._dragging=!1,this._thumbEl.nativeElement.classList.remove("mat-dragging"),this._thumbEl.nativeElement.style.transform="")}))}}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}class h{}class p{}},"pD/Q":function(t,e,n){"use strict";e.a={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature"}},pEI0:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t){if(!t)return"";const e=Math.floor(t/6e4),n=Math.floor(t%6e4/1e3);let l="";return l=e>0?e.toString()+":"+(n<10?"0"+n.toString():n.toString())+"min":n.toString()+"s",l}}},pIm3:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return c}));var l=n("8Y7J"),i=(n("8rEH"),n("SVse"),n("zQui")),r=(n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),l.Bb({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}}));function o(t){return l.Yb(0,[l.Ub(402653184,1,{_rowOutlet:0}),l.Ub(402653184,2,{_headerRowOutlet:0}),l.Ub(402653184,3,{_footerRowOutlet:0}),l.Ob(null,0),(t()(),l.Db(4,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(5,16384,[[2,4]],0,i.t,[l.Y,l.p],null,null),(t()(),l.Db(6,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(7,16384,[[1,4]],0,i.r,[l.Y,l.p],null,null),(t()(),l.Db(8,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(9,16384,[[3,4]],0,i.s,[l.Y,l.p],null,null)],null,null)}var a=l.Bb({encapsulation:2,styles:[],data:{}});function s(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(1,147456,null,0,i.c,[l.Y],null,null)],null,null)}var u=l.Bb({encapsulation:2,styles:[],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,1,null,null,null,null,null,null,null)),l.Cb(1,147456,null,0,i.c,[l.Y],null,null)],null,null)}},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends l.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pMnS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("8Y7J"),i=n("iInd"),r=l.Bb({encapsulation:2,styles:[],data:{}});function o(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),l.Cb(1,212992,null,0,i.p,[i.b,l.Y,l.m,[8,null],l.j],null,null)],(function(t,e){t(e,1,0)}),null)}function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ng-component",[],null,null,null,o,r)),l.Cb(1,49152,null,0,i.D,[],null,null)],null,null)}var s=l.zb("ng-component",i.D,a,{},{},[])},pQSv:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return i}));var l=.5,i=!0},pWiS:function(t,e,n){"use strict";var l=n("f8l7");function i(t,e,n){var l=void 0!==n?t.toFixed(n):""+t,i=l.indexOf(".");return(i=-1===i?l.length:i)>e?l:new Array(1+e-i).join("0")+l}var r=n("CvXi");function o(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function a(t,e,n){var r=Object(l.d)(e+180,360)-180,o=Math.abs(3600*r),a=n||0,s=Math.pow(10,a),u=Math.floor(o/3600),c=Math.floor((o-3600*u)/60),d=o-3600*u-60*c;return(d=Math.ceil(d*s)/s)>=60&&(d=0,c+=1),c>=60&&(c=0,u+=1),u+"\xb0 "+i(c,2)+"\u2032 "+i(d,2,a)+"\u2033"+(0==r?"":" "+t.charAt(r<0?1:0))}function s(t,e){for(var n=!0,l=t.length-1;l>=0;--l)if(t[l]!=e[l]){n=!1;break}return n}function u(t,e){var n=Math.cos(e),l=Math.sin(e),i=t[1]*n+t[0]*l;return t[0]=t[0]*n-t[1]*l,t[1]=i,t}function c(t,e){return t[0]*=e,t[1]*=e,t}function d(t,e){return t?a("NS",t[1],e)+" "+a("EW",t[0],e):""}function h(t,e){var n=e.getExtent();if(e.canWrapX()&&(t[0]<n[0]||t[0]>=n[2])){var l=Object(r.E)(n),i=Math.floor((t[0]-n[0])/l);t[0]-=i*l}return t}n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return h}))},pg82:function(t,e){var n=null,l=null;function i(t,e,n){t.addEventListener(e,(function(t){var i=new MouseEvent(n,t);i.pointerId=1,i.isPrimary=!0,i.pointerType="mouse",i.width=1,i.height=1,i.tiltX=0,i.tiltY=0,i.pressure="buttons"in t&&0!==t.buttons?.5:0;var r=t.target;null!==l&&(r=l,"mouseup"===e&&(l=null)),r.dispatchEvent(i),i.defaultPrevented&&t.preventDefault()}))}function r(t,e,l){t.addEventListener(e,(function(t){for(var i=t.changedTouches,r=i.length,o=0;o<r;o++){var a=new CustomEvent(l,{bubbles:!0,cancelable:!0});a.ctrlKey=t.ctrlKey,a.shiftKey=t.shiftKey,a.altKey=t.altKey,a.metaKey=t.metaKey;var s=i.item(o);a.clientX=s.clientX,a.clientY=s.clientY,a.screenX=s.screenX,a.screenY=s.screenY,a.pageX=s.pageX,a.pageY=s.pageY;var u=s.target.getBoundingClientRect();a.offsetX=s.clientX-u.left,a.offsetY=s.clientY-u.top,a.pointerId=1+s.identifier,a.button=0,a.buttons=1,a.movementX=0,a.movementY=0,a.region=null,a.relatedTarget=null,a.x=a.clientX,a.y=a.clientY,a.pointerType="touch",a.width=1,a.height=1,a.tiltX=0,a.tiltY=0,a.pressure=1,"touchstart"===e&&null===n&&(n=s.identifier),a.isPrimary=s.identifier===n,"touchend"===e&&a.isPrimary&&(n=null),t.target.dispatchEvent(a),a.defaultPrevented&&t.preventDefault()}}))}"PointerEvent"in window||(Element.prototype.setPointerCapture=Element.prototype.setCapture,Element.prototype.releasePointerCapture=Element.prototype.releaseCapture,"TouchEvent"in window||(i(document,"mousedown","pointerdown"),i(document,"mousemove","pointermove"),i(document,"mouseup","pointerup")),r(document,"touchstart","pointerdown"),r(document,"touchmove","pointermove"),r(document,"touchend","pointerup"))},piYb:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},pori:function(t,e,n){"use strict";n.d(e,"a",(function(){return M})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return _})),n.d(e,"g",(function(){return y})),n.d(e,"h",(function(){return C})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return P})),n.d(e,"k",(function(){return m})),n.d(e,"l",(function(){return g})),n.d(e,"m",(function(){return s})),n.d(e,"n",(function(){return u})),n.d(e,"o",(function(){return c})),n.d(e,"p",(function(){return k})),n.d(e,"q",(function(){return h}));var l=n("AfW+");let i=0;const r=t=>({create:e=>f(t,e),dismiss:(e,n,l)=>m(document,e,n,t,l),getTop:async()=>g(document,t)}),o=r("ion-alert"),a=r("ion-action-sheet"),s=r("ion-loading"),u=r("ion-modal"),c=r("ion-picker"),d=r("ion-popover"),h=r("ion-toast"),p=t=>{const e=document;b(e);const n=i++;t.overlayIndex=n,t.hasAttribute("id")||(t.id="ion-overlay-"+n)},f=(t,e)=>customElements.whenDefined(t).then(()=>{const n=document,l=n.createElement(t);return l.classList.add("overlay-hidden"),Object.assign(l,e),A(n).appendChild(l),l.componentOnReady()}),b=t=>{0===i&&(i=1,t.addEventListener("focusin",e=>{const n=g(t);if(n&&n.backdropDismiss&&!x(n,e.target)){const t=n.querySelector("input,button");t&&t.focus()}}),t.addEventListener("ionBackButton",e=>{const n=g(t);n&&n.backdropDismiss&&e.detail.register(100,()=>n.dismiss(void 0,M))}),t.addEventListener("keyup",e=>{if("Escape"===e.key){const e=g(t);e&&e.backdropDismiss&&e.dismiss(void 0,M)}}))},m=(t,e,n,l,i)=>{const r=g(t,l,i);return r?r.dismiss(e,n):Promise.reject("overlay does not exist")},g=(t,e,n)=>{const l=((t,e)=>(void 0===e&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(t.querySelectorAll(e)).filter(t=>t.overlayIndex>0)))(t,e);return void 0===n?l[l.length-1]:l.find(t=>t.id===n)},_=async(t,e,n,i,r)=>{if(t.presented)return;t.presented=!0,t.willPresent.emit();const o=t.enterAnimation?t.enterAnimation:l.b.get(e,"ios"===t.mode?n:i);await v(t,o,t.el,r)&&t.didPresent.emit()},y=async(t,e,n,i,r,o,a)=>{if(!t.presented)return!1;t.presented=!1;try{t.willDismiss.emit({data:e,role:n});const s=t.leaveAnimation?t.leaveAnimation:l.b.get(i,"ios"===t.mode?r:o);await v(t,s,t.el,a),t.didDismiss.emit({data:e,role:n})}catch(s){console.error(s)}return t.el.remove(),!0},A=t=>t.querySelector("ion-app")||t.body,v=async(t,e,i,r)=>{if(t.animation)return t.animation.destroy(),t.animation=void 0,!1;i.classList.remove("overlay-hidden");const o=i.shadowRoot||t.el;let a,s=!0;try{const t=await n.e(5).then(n.bind(null,"gHMO"));a=await t.create(e,o,r)}catch(c){a=e(o,r),a.fill("both"),s=!1}t.animation=a,t.animated&&l.b.getBoolean("animated",!0)||a.duration(0),t.keyboardClose&&a.beforeAddWrite(()=>{const t=i.ownerDocument.activeElement;t&&t.matches("input, ion-input, ion-textarea")&&t.blur()});const u=void 0===await a.playAsync()||a.hasCompleted;return s&&a.destroy(),t.animation=void 0,u},C=(t,e)=>{let n;const l=new Promise(t=>n=t);return w(t,e,t=>{n(t.detail)}),l},w=(t,e,n)=>{const l=i=>{t.removeEventListener(e,l),n(i)};t.addEventListener(e,l)},P=t=>"cancel"===t||t===M,x=(t,e)=>{for(;e;){if(e===t)return!0;e=e.parentElement}return!1},S=t=>t(),k=(t,e)=>{if("function"==typeof t)return l.b.get("_zoneGate",S)(()=>{try{return t(e)}catch(n){console.error(n)}})},M="backdrop"},ppab:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("Pmt0"),i=n("WDFe");class r{constructor(){this.opacity=1,this.visibility="true",this.zIndex=0,this.groupLayer="All"}getVectorSource(){return this.source||(this.source=new i.a({features:[],useSpatialIndex:!1})),this.source}getVectorLayer(){return this.layer||(this.layer=new l.a({name:this.name,visible:"true"===this.visibility,zIndex:this.zIndex||0,source:this.getVectorSource()})),this.layer}}},q7cr:function(t,e,n){"use strict";function l(t,e,n,l){for(var i=0,r=n.length;i<r;++i)t[e++]=n[i];return e}function i(t,e,n,l){for(var i=0,r=n.length;i<r;++i)for(var o=n[i],a=0;a<l;++a)t[e++]=o[a];return e}function r(t,e,n,l,r){for(var o=r||[],a=0,s=0,u=n.length;s<u;++s){var c=i(t,e,n[s],l);o[a++]=c,e=c}return o.length=a,o}function o(t,e,n,l,i){for(var o=i||[],a=0,s=0,u=n.length;s<u;++s){var c=r(t,e,n[s],l,o[a]);o[a++]=c,e=c[c.length-1]}return o.length=a,o}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o}))},qGlh:function(t,e){t.exports=function(t){return n&&Buffer.isBuffer(t)||l&&(t instanceof ArrayBuffer||function(t){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}(t))};var n="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,l="function"==typeof ArrayBuffer},qJ50:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"d",(function(){return b})),n.d(e,"c",(function(){return h})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return g})),n.d(e,"e",(function(){return _})),n.d(e,"b",(function(){return d}));var l=n("8Y7J"),i=n("5GAg"),r=n("KCVW"),o=n("dvZr"),a=n("XNiG"),s=n("LRne"),u=n("JX91"),c=n("1G5W");class d{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}class h{constructor(t){this.template=t}}let p=0;class f{constructor(t,e){this._stepper=t,this.interacted=!1,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=Object(r.c)(t)}get optional(){return this._optional}set optional(t){this._optional=Object(r.c)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=Object(r.c)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=Object(r.c)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}}class b{constructor(t,e,n,i){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new a.a,this._linear=!1,this._selectedIndex=0,this.selectionChange=new l.r,this._orientation="horizontal",this._groupId=p++,this._document=i}get steps(){return this._steps}get linear(){return this._linear}set linear(t){this._linear=Object(r.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const e=Object(r.f)(t);if(this.steps){if(e<0||e>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(t)}else this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=this.steps?this.steps.toArray().indexOf(t):-1}ngAfterViewInit(){this._keyManager=new i.g(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(s.a)()).pipe(Object(u.a)(this._layoutDirection()),Object(c.a)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItemIndex(this._selectedIndex),this.steps.changes.pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const n=this.steps.toArray()[t],l=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,l):this._getGuidelineLogic(n,l,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?"error":!t.completed||e?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,e,n="number"){return t._showError&&t.hasError&&!e?"error":t.completed&&!e?"done":t.completed&&e?n:t.editable&&e?"edit":n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItemIndex(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=Object(o.t)(t),n=t.keyCode,l=this._keyManager;null==l.activeItemIndex||e||n!==o.o&&n!==o.g?n===o.i?(l.setFirstItemActive(),t.preventDefault()):n===o.f?(l.setLastItemActive(),t.preventDefault()):l.onKeydown(t):(this.selectedIndex=l.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){const e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&t>=0)&&e.slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){if(!this._document||!this._elementRef)return!1;const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}class m{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}class g{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}class _{}},qJ5m:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("qJ50"),n("XNiG"));n("GS7A"),n("1G5W"),n("/uUt");let r=(()=>{class t{constructor(){this.changes=new i.a,this.optionalLabel="Optional"}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function o(t){return t||new r}class a{}},qJZF:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"j",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"l",(function(){return f})),n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return m})),n.d(e,"k",(function(){return g}));var l=n("kvpX"),i=new Array(6);function r(){return[1,0,0,1,0,0]}function o(t){return s(t,1,0,0,1,0,0)}function a(t,e){var n=t[0],l=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=e[0],u=e[1],c=e[2],d=e[3],h=e[4],p=e[5];return t[0]=n*s+i*u,t[1]=l*s+r*u,t[2]=n*c+i*d,t[3]=l*c+r*d,t[4]=n*h+i*p+o,t[5]=l*h+r*p+a,t}function s(t,e,n,l,i,r,o){return t[0]=e,t[1]=n,t[2]=l,t[3]=i,t[4]=r,t[5]=o,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function c(t,e){var n=e[0],l=e[1];return e[0]=t[0]*n+t[2]*l+t[4],e[1]=t[1]*n+t[3]*l+t[5],e}function d(t,e){var n=Math.cos(e),l=Math.sin(e);return a(t,s(i,n,l,-l,n,0,0))}function h(t,e,n){return a(t,s(i,e,0,0,n,0,0))}function p(t,e,n){return s(t,e,0,0,n,0,0)}function f(t,e,n){return a(t,s(i,1,0,0,1,e,n))}function b(t,e,n,l,i,r,o,a){var s=Math.sin(r),u=Math.cos(r);return t[0]=l*u,t[1]=i*s,t[2]=-l*s,t[3]=i*u,t[4]=o*l*u-a*l*s+e,t[5]=o*i*s+a*i*u+n,t}function m(t,e){var n,i=(n=e)[0]*n[3]-n[1]*n[2];Object(l.a)(0!==i,32);var r=e[0],o=e[1],a=e[2],s=e[3],u=e[4],c=e[5];return t[0]=s/i,t[1]=-o/i,t[2]=-a/i,t[3]=r/i,t[4]=(a*c-s*u)/i,t[5]=-(r*c-o*u)/i,t}function g(t){return"matrix("+t.join(", ")+")"}},qJaP:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns");class a{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){}closeModal(){this.dialogRef.close()}}n.d(e,"a",(function(){return d}));var s=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important}.mat-dialog-content[_ngcontent-%COMP%]{padding:10px!important;margin:0!important}.close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;margin-right:10px;font-size:25px;margin-top:5px}"]],data:{}});function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,5,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(3,16384,null,0,o.j,[],null,null),(t()(),l.Db(4,0,null,null,1,"p",[["style","margin: 0;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Nous Contacter"])),(t()(),l.Db(6,0,null,null,1,"a",[["href","mailto:sepia@fabnum.fr"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["sepia@fabnum.fr"]))],(function(t,e){t(e,1,0,"close")}),null)}function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mail-dialog",[],null,null,null,u,s)),l.Cb(1,114688,null,0,a,[o.l,o.a],null,null)],(function(t,e){t(e,1,0)}),null)}var d=l.zb("mail-dialog",a,c,{},{},[])},qSBs:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getManyBasePositionControllerPosition$Response(e){const n=new o.a(this.rootUrl,t.GetManyBasePositionControllerPositionPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBasePositionControllerPosition(t){return this.getManyBasePositionControllerPosition$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetManyBasePositionControllerPositionPath="/position",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},qToJ:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("8Y7J"),i=(n("G0WM"),n("oeKZ")),r=n("5p+q"),o=n("Kurg");let a=(()=>{class t{constructor(t,e,n){this.keycloakService=t,this.feedService=e,this.colorFilterService=n,this.colorFilters=[],this.colorAircraftListsChange=new l.r,this.layerListRefresh=new l.r,this.feeds=[],this.loadSettings(),setInterval(()=>{this.loadColorAircraftLists(),this.layerListRefresh.emit()},2e4)}loadSettings(){this.loadColorAircraftLists(),this.loadFeeds()}getColorAircraftListsChangeEmitter(){return this.colorAircraftListsChange}getLayersListRefreshEmitter(){return this.layerListRefresh}getFeeds(t=!0){return t?this.feeds.filter(t=>t.activatedByIds.includes(this.keycloakService.client().subject)):this.feeds}loadFeeds(){this.feedService.getManyBaseFeedControllerFeed().subscribe(t=>{this.feeds=t.data})}getColorAircraftLists(){return this.colorFilters}addColorFilter(t){this.colorFilters.push(t),this.colorFilters.sort((t,e)=>t.rank-e.rank),this.colorAircraftListsChange.emit()}removeColorFilter(t){this.colorFilters=this.colorFilters.filter(e=>e.id!==t.id),this.colorAircraftListsChange.emit()}loadColorAircraftLists(){const t={join:["fleet","fleet.fleetItems","activatedBy||id"],sort:["rank,ASC"],filter:["activatedBy.id||eq||"+this.keycloakService.client().subject]};this.colorFilterService.getManyBaseColorFilterControllerColorFilter(t).subscribe(t=>{this.colorFilters=t.data,this.colorAircraftListsChange.emit()})}getFeedName(t){const e=this.feeds.find(e=>e.id===t);return e?e.name:null}getFeedNames(t){return t?t.map(t=>this.getFeedName(t)).filter(t=>null!==t).join(","):""}getFeedType(t){const e=this.feeds.find(e=>e.id===t);return e?e.type:null}getFeedTypes(t){if(!t)return"";const e=t.map(t=>this.getFeedType(t)).filter(t=>null!==t);return[...new Set([...e])].join(",")}}return t.ngInjectableDef=l.cc({factory:function(){return new t(l.dc(i.a),l.dc(r.a),l.dc(o.a))},token:t,providedIn:"root"}),t})()},qU9k:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var l=n("8Y7J");let i={UNSELECT:"unselect",HOVER:"hover",SELECT:"select"};class r{constructor(t,e,n,l){this.status=t,this.position=l,this.oldLandEntities=e,this.newLandEntities=n}}let o=(()=>{class t{constructor(){this.status=i.UNSELECT,this.landEntities=[],this.landEntitiesChange=new l.r}getLandEntitiesEmitter(){return this.landEntitiesChange}setLandEntities(t,e,n){if((t=t.filter(t=>!0===t.show)).length>0){this.status=n;const l=new r(this.status,this.landEntities,t,e);this.landEntitiesChange.emit(l),this.landEntities=t}}unsetLandEntities(){this.status=i.UNSELECT;const t=new r(this.status,this.landEntities,null);this.landEntitiesChange.emit(t),this.landEntities=null}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},quSY:function(t,e,n){"use strict";var l=n("DH7j"),i=n("XoHu"),r=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,"a",(function(){return a}));let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:u,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(r.a)(u)){a&&(this._unsubscribe=void 0);try{u.call(this)}catch(d){e=d instanceof o?s(d.errors):[d]}}if(Object(l.a)(c)){let t=-1,n=c.length;for(;++t<n;){const n=c[t];if(Object(i.a)(n))try{n.unsubscribe()}catch(d){e=e||[],d instanceof o?e=e.concat(s(d.errors)):e.push(d)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:l}=n;if(null===l)n._parentOrParents=this;else if(l instanceof t){if(l===this)return n;n._parentOrParents=[l,this]}else{if(-1!==l.indexOf(this))return n;l.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function s(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},qvJo:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[t+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",t+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[t+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",t+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[t+" \u0935\u0930\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[t+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",t+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[t+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",t+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[t+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return l?i[n][0]:i[n][1]}t.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(t,e){switch(e){case"D":return t+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?t:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?t>12?t:t+12:"\u0938\u093e\u0902\u091c\u0947"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u0940":t<12?"\u0938\u0915\u093e\u0933\u0940\u0902":t<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":t<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},qzVC:function(t,e,n){"use strict";var l=n("EwAT"),i=function(){function t(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.displacement_=t.displacement}return t.prototype.clone=function(){return new t({opacity:this.getOpacity(),scale:this.getScale(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()})},t.prototype.getOpacity=function(){return this.opacity_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getDisplacement=function(){return this.displacement_},t.prototype.getAnchor=function(){return Object(l.b)()},t.prototype.getImage=function(t){return Object(l.b)()},t.prototype.getHitDetectionImage=function(t){return Object(l.b)()},t.prototype.getImageState=function(){return Object(l.b)()},t.prototype.getImageSize=function(){return Object(l.b)()},t.prototype.getHitDetectionImageSize=function(){return Object(l.b)()},t.prototype.getOrigin=function(){return Object(l.b)()},t.prototype.getSize=function(){return Object(l.b)()},t.prototype.setOpacity=function(t){this.opacity_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t},t.prototype.listenImageChange=function(t){Object(l.b)()},t.prototype.load=function(){Object(l.b)()},t.prototype.unlistenImageChange=function(t){Object(l.b)()},t}();e.a=i},r0V8:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return f}));var l=n("8Y7J"),i=n("KCVW"),r=(n("s7LF"),n("Xd0L"));const o=new l.w("mat-checkbox-click-action");let a=0;const s=function(){var t={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return t[t.Init]="Init",t[t.Checked]="Checked",t[t.Unchecked]="Unchecked",t[t.Indeterminate]="Indeterminate",t}();class u{}class c{constructor(t){this._elementRef=t}}const d=Object(r.J)(Object(r.E)(Object(r.F)(Object(r.G)(c)),"accent"));class h extends d{constructor(t,e,n,i,r,o,u){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._clickAction=o,this._animationMode=u,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++a,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new l.r,this.indeterminateChange=new l.r,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=s.Init,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this.tabIndex=parseInt(r)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})})}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?s.Indeterminate:this.checked?s.Checked:s.Unchecked),this.indeterminateChange.emit(this._indeterminate))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new u;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?s.Checked:s.Unchecked),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case s.Init:if(e===s.Checked)n="unchecked-checked";else{if(e!=s.Indeterminate)return"";n="unchecked-indeterminate"}break;case s.Unchecked:n=e===s.Checked?"unchecked-checked":"unchecked-indeterminate";break;case s.Checked:n=e===s.Unchecked?"checked-unchecked":"checked-indeterminate";break;case s.Indeterminate:n=e===s.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}}class p{}class f{}},r6U7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("mzvH");n("ZZ/e"),n("svHU"),n("a5kt"),n("Y4ja");class i extends l.a{constructor(t,e,n,l){super(t,e,n,l),this.platform=t,this.loadingController=e,this.modeService=n,this.mapService=l}ngOnInit(){this.displayLoading(),this.platform.ready().then(t=>{setTimeout(()=>{this.child.resizeMap()},1e3)})}}},rAnw:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}promControllerIndex$Response(e){const n=new o.a(this.rootUrl,t.PromControllerIndexPath,"get");return this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}promControllerIndex(t){return this.promControllerIndex$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.PromControllerIndexPath="/metrics",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},rBEc:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("AyJq"),o=n("c9fC"),a=n("8bJo"),s=n("omvX"),u=n("5GAg"),c=n("hrfs");n("JRYL"),n("978D"),n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var d=l.Bb({encapsulation:0,styles:[[".expansion-header[_ngcontent-%COMP%], .expansion-header[_ngcontent-%COMP%]:hover{font-weight:900;font-family:Quicksand;font-size:14px}.expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .expansion-header[_ngcontent-%COMP%]:hover mat-panel-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);display:flex;align-items:center}.expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .expansion-header[_ngcontent-%COMP%]:hover mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px;height:30px;margin-right:10px}.mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0!important}.mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important} div.mat-expansion-panel-body{padding:10px}"]],data:{}});function h(t){return l.Yb(2,[l.Qb(0,i.f,[l.A]),(t()(),l.Db(1,16777216,null,null,15,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,r.d,r.a)),l.Cb(2,1753088,null,1,o.e,[[3,o.a],l.j,a.d,l.Y,i.d,[2,s.a],[2,o.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,1,{_lazyContent:0}),l.Tb(256,null,o.a,void 0,[]),(t()(),l.Db(5,0,null,0,8,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,6)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,6)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,6)._animationStarted()&&i),i}),r.c,r.b)),l.Cb(6,180224,null,0,o.f,[o.e,l.p,u.h,l.j,[2,o.b]],null,null),l.Rb(7,{collapsedHeight:0,expandedHeight:1}),l.Rb(8,{value:0,params:1}),(t()(),l.Db(9,0,null,0,4,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(10,16384,null,0,o.g,[],null,null),(t()(),l.Db(11,0,null,null,0,"img",[["src","../../../../assets/images/altitude-graph-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Wb(12,null,[" Altitude graph "," min "])),l.Sb(13,2),(t()(),l.Db(14,0,null,1,2,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"canvas",[["baseChart",""],["height","400"],["width","400"]],null,null,null,null,null)),l.Cb(16,999424,null,0,c.a,[l.p,c.c],{datasets:[0,"datasets"],labels:[1,"labels"],options:[2,"options"],chartType:[3,"chartType"],colors:[4,"colors"],legend:[5,"legend"]},null)],(function(t,e){var n=e.component;t(e,2,0,!0),t(e,16,0,n.lineChartData,n.lineChartLabels,n.lineChartOptions,n.lineChartType,n.lineChartColors,n.lineChartLegend)}),(function(t,e){var n=e.component;t(e,1,0,l.Pb(e,2).expanded,"NoopAnimations"===l.Pb(e,2)._animationMode,l.Pb(e,2)._hasSpacing());var i=l.Pb(e,6).panel._headerId,r=l.Pb(e,6).disabled?-1:0,o=l.Pb(e,6)._getPanelId(),a=l.Pb(e,6)._isExpanded(),s=l.Pb(e,6).panel.disabled,u=l.Pb(e,6)._isExpanded(),c="after"===l.Pb(e,6)._getTogglePosition(),d="before"===l.Pb(e,6)._getTogglePosition(),h=l.Pb(e,6)._animationsDisabled,p=t(e,8,0,l.Pb(e,6)._getExpandedState(),t(e,7,0,l.Pb(e,6).collapsedHeight,l.Pb(e,6).expandedHeight));t(e,5,0,i,r,o,a,s,u,c,d,h,p);var f=l.Xb(e,12,0,t(e,13,0,l.Pb(e,0),n.maxTimeLine,"1.0-0"));t(e,12,0,f)}))}},rCNt:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("mnSs"),a=n("SVse"),s=n("Io5N"),u=n("Al5c"),c=n("qToJ"),d=n("978D"),h=n("cUpR"),p=n("Y4ja"),f=n("Blz8"),b=n("F3fN"),m=n("7/LY"),g=n("6RrN"),_=n("YGmB");class y extends g.a{constructor(t,e,n){super(t,e,n),this.ref=t,this.selectAircraftService=e,this.trafficService=n}}var A=l.Bb({encapsulation:0,styles:[[".aircraft-pin[_ngcontent-%COMP%]{position:relative;background-color:#fff;border-top:2px solid #aaa}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%]{display:flex}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-picture[_ngcontent-%COMP%]{width:30%}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%]{padding:5px}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] .aircraft-pin-source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:20px}.aircraft-pin-route[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;background-color:var(--ion-color-primary);padding:5px}.aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%]{width:40%;text-align:center}.aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{width:20%;text-align:center}.aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.aircraft-pin-route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:5px;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block;color:#fff}.aircraft-pin-desc[_ngcontent-%COMP%]{padding:5px}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%]{display:flex}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:10px;width:33%;margin:2px}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-transform:uppercase;color:#999}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .warning[_ngcontent-%COMP%]{color:#b22222!important}.aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .ctl-agency[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:55px;display:inline-flex}"]],data:{}});function v(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,i.y,i.g)),l.Cb(3,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,12),"template"),t(e,3,0,"more")}),null)}function C(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.parent.context.$implicit.stopsIcao)}))}function w(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"div",[["class","aircraft-pin-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(3,null,[" "," "])),l.Sb(4,1),(t()(),l.Db(5,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,1),(t()(),l.Db(8,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,v)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,C)),(t()(),l.Db(13,0,null,null,6,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(15,null,[" "," "])),l.Sb(16,1),(t()(),l.Db(17,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(18,null,[" "," "])),l.Sb(19,1)],(function(t,e){t(e,11,0,e.parent.context.$implicit.stopsIcao)}),(function(t,e){t(e,2,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.name,""));var n=l.Xb(e,3,0,t(e,4,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.icao));t(e,3,0,n),t(e,5,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.location,""));var i=l.Xb(e,6,0,t(e,7,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.location));t(e,6,0,i);var r=l.Hb(1,"../../../assets/images/",e.parent.context.$implicit.getIconStatus(),"");t(e,9,0,r),t(e,14,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.name,""));var o=l.Xb(e,15,0,t(e,16,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.icao));t(e,15,0,o),t(e,17,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.location,""));var a=l.Xb(e,18,0,t(e,19,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.location));t(e,18,0,a)}))}function P(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function S(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function k(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icaoTypeCode)}))}function M(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function O(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.operatorIcao)}))}function D(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function T(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.squawk)}))}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value ctl-agency"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.ctlAgency)}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.altitude));t(e,1,0,n)}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","ft/m"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.vsi)}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OFF"]))],null,null)}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ON"]))],null,null)}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.track)}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.speed)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mach)}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.parent.context.$implicit.getMachSpeed();t(e,1,0,n)}))}function X(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,95,"div",[["class","aircraft-pin"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0;return"toClose"===e&&(l=!1!==t.component.selectAircraftService.unWatchAircraft(t.context.$implicit)&&l),l}),s.b,s.a)),l.Cb(2,245760,null,0,u.a,[c.a,d.b,h.b,p.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,w)),l.Cb(4,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(5,0,null,null,90,"div",[["class","aircraft-pin-desc"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["C.S : "])),(t()(),l.sb(16777216,null,null,1,null,P)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,x)),l.Cb(13,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(14,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MOD : "])),(t()(),l.sb(16777216,null,null,1,null,S)),l.Cb(18,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,k)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(21,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE : "])),(t()(),l.sb(16777216,null,null,1,null,M)),l.Cb(25,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,O)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(28,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(29,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(30,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG : "])),(t()(),l.sb(16777216,null,null,1,null,D)),l.Cb(33,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,T)),l.Cb(35,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(36,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(37,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["IFF : "])),(t()(),l.sb(16777216,null,null,1,null,E)),l.Cb(40,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,I)),l.Cb(42,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(43,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(44,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["CTL : "])),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(47,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,j)),l.Cb(49,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(50,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(51,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(52,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["FL : "])),(t()(),l.sb(16777216,null,null,1,null,R)),l.Cb(55,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,F)),l.Cb(57,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(58,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(59,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VS : "])),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(62,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(64,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(65,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(66,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["A-PIL : "])),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(69,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(71,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(72,0,null,null,23,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(73,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(74,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK : "])),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(77,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,G)),l.Cb(79,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(80,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(81,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS : "])),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(84,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,V)),l.Cb(86,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(87,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Db(88,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH : "])),(t()(),l.sb(16777216,null,null,1,null,q)),l.Cb(91,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,W)),l.Cb(93,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,$)),l.Cb(95,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,e.context.$implicit),t(e,4,0,e.context.$implicit.fromAirport&&e.context.$implicit.toAirport),t(e,11,0,null==e.context.$implicit.callsign),t(e,13,0,null!=e.context.$implicit.callsign),t(e,18,0,null==e.context.$implicit.icaoTypeCode),t(e,20,0,null!=e.context.$implicit.icaoTypeCode),t(e,25,0,null==e.context.$implicit.operatorIcao),t(e,27,0,null!=e.context.$implicit.operatorIcao),t(e,33,0,null==e.context.$implicit.registration),t(e,35,0,null!=e.context.$implicit.registration),t(e,40,0,null==e.context.$implicit.squawk),t(e,42,0,null!=e.context.$implicit.squawk),t(e,47,0,null==e.context.$implicit.ctlAgency),t(e,49,0,null!=e.context.$implicit.ctlAgency),t(e,55,0,null==e.context.$implicit.altitude),t(e,57,0,null!=e.context.$implicit.altitude),t(e,62,0,null==e.context.$implicit.vsi),t(e,64,0,null!=e.context.$implicit.vsi),t(e,69,0,null==e.context.$implicit.navModes||e.context.$implicit.navModes.length<=0),t(e,71,0,null!=e.context.$implicit.navModes&&e.context.$implicit.navModes.length>0),t(e,77,0,null==e.context.$implicit.track),t(e,79,0,null!=e.context.$implicit.track),t(e,84,0,null==e.context.$implicit.speed),t(e,86,0,null!=e.context.$implicit.speed);var n=null==e.context.$implicit.mach&&null==e.context.$implicit.getMachSpeed();t(e,91,0,n),t(e,93,0,null!=e.context.$implicit.mach);var l=null==e.context.$implicit.mach&&null!=e.context.$implicit.getMachSpeed();t(e,95,0,l)}),null)}function K(t){return l.Yb(2,[l.Qb(0,f.a,[]),l.Qb(0,b.a,[]),(t()(),l.sb(16777216,null,null,1,null,X)),l.Cb(3,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,3,0,e.component.watchAircrafts)}),null)}var J=n("m46K"),Q=n("7kcP"),Z=n("8rEH"),tt=n("zQui"),et=n("pIm3"),nt=n("dJrM"),lt=n("HsOI"),it=n("Xd0L"),rt=n("IP0z"),ot=n("/HVE"),at=n("omvX"),st=n("ZwOa"),ut=n("s7LF"),ct=n("oapL"),dt=n("oJZn"),ht=n("pBi1"),pt=n("5GAg"),ft=n("b1+6"),bt=n("OIZN"),mt=n("mrSG"),gt=n("t+3E"),_t=n("svHU"),yt=n("wBRQ"),At=n("sJgj");class vt extends At.a{constructor(t,e,n,l,i,r,o,a,s){super(t,e,n,l,i,r,o,a),this.dialog=t,this.elementRef=e,this.mapService=n,this.selectAircraftService=l,this.trafficService=i,this.timeService=r,this.focusAircraftService=o,this.settingService=a,this.modalController=s}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.subscription.trafficAircraft=this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.refreshTrafficAircraft(t)}),this.subscription.selectAircraft=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.initFields()}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}openDialog(){return mt.b(this,void 0,void 0,(function*(){const t=yield this.modalController.create({component:gt.a,componentProps:{data:this.displayedColumns}});yield t.present();const{data:e}=yield t.onWillDismiss();console.log(e),e&&(this.displayedColumns=e,localStorage.setItem("panelRightFields",JSON.stringify(this.displayedColumns)))}))}}var Ct=n("s6ns"),wt=l.Bb({encapsulation:0,styles:[["#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}#list-panel[_ngcontent-%COMP%] .mat-column-provider[_ngcontent-%COMP%], #list-panel[_ngcontent-%COMP%] .mat-column-route[_ngcontent-%COMP%]{min-width:100px}#list-panel[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding:10px}#list-panel[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto;cursor:pointer}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]{padding:5px;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0!important;font-size:12px!important;font-family:inherit!important;text-overflow:ellipsis;white-space:nowrap}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{max-height:19px;margin:-4px}#list-panel[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:5px}#list-panel[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#ccc}#list-panel[_ngcontent-%COMP%] .mat-paginator-range-label{margin:0}.customfilter[_ngcontent-%COMP%]{width:100px}"]],data:{}});function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),J.b,J.a)),l.Cb(1,245760,null,0,Q.c,[Q.d,l.j,[2,Q.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,Z.e,[tt.d,l.p],null,null),(t()(),l.Wb(3,0,[" "," "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){var n=e.component;t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled()),t(e,3,0,n.columnsName[e.parent.context.$implicit])}))}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent.parent,0),e.parent.context.$implicit[e.parent.parent.context.$implicit]));t(e,1,0,n)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.settingService.getFeedNames(e.parent.context.$implicit[e.parent.parent.context.$implicit]))}))}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,l.Hb(1,"",e.parent.context.$implicit[e.parent.parent.context.$implicit],""))}))}function Ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,Z.a,[tt.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,xt)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,St)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kt)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Mt)),l.Cb(9,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ot)),l.Cb(11,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,"altitude"==e.parent.context.$implicit),t(e,5,0,"speed"==e.parent.context.$implicit),t(e,7,0,"providers"==e.parent.context.$implicit),t(e,9,0,"country"==e.parent.context.$implicit&&e.context.$implicit[e.parent.context.$implicit]),t(e,11,0,"speed"!==e.parent.context.$implicit&&"altitude"!==e.parent.context.$implicit&&"providers"!==e.parent.context.$implicit&&"country"!==e.parent.context.$implicit)}),null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Z.c]),l.Cb(2,16384,null,3,Z.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],tt.d,null,[Z.c]),(t()(),l.sb(0,null,null,2,null,Pt)),l.Cb(8,16384,null,0,Z.f,[l.U],null,null),l.Tb(2048,[[17,4]],tt.j,null,[Z.f]),(t()(),l.sb(0,null,null,2,null,Dt)),l.Cb(11,16384,null,0,Z.b,[l.U],null,null),l.Tb(2048,[[16,4]],tt.b,null,[Z.b])],(function(t,e){t(e,2,0,l.Hb(1,"",e.context.$implicit,""))}),null)}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,et.d,et.a)),l.Tb(6144,null,tt.k,null,[Z.g]),l.Cb(2,49152,null,0,Z.g,[],null,null)],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,[[null,"click"],[null,"dblclick"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.watchAircraft(t.context.$implicit.icao)&&l),"dblclick"===e&&(l=!1!==i.selectAircraft(t.context.$implicit.icao)&&l),l}),et.e,et.b)),l.Tb(6144,null,tt.m,null,[Z.i]),l.Tb(512,null,a.A,a.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,a.l,[a.A],{ngClass:[0,"ngClass"]},null),l.Rb(4,{active:0}),l.Cb(5,49152,null,0,Z.i,[],null,null)],(function(t,e){var n=t(e,4,0,e.component.isSelectedAircraft(e.context.$implicit));t(e,3,0,n)}),null)}function Lt(t){return l.Yb(0,[l.Qb(0,b.a,[]),l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(3,0,null,null,41,"ion-content",[["id","list-panel"],["scrollX","true"]],null,null,null,i.w,i.e)),l.Cb(4,49152,null,0,r.s,[l.j,l.p,l.G],{scrollX:[0,"scrollX"]},null),(t()(),l.Db(5,0,null,0,13,"mat-form-field",[["class","customfilter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,nt.b,nt.a)),l.Cb(6,7520256,null,9,lt.c,[l.p,l.j,[2,it.j],[2,rt.b],[2,lt.a],ot.a,l.G,[2,at.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(16,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(17,999424,null,0,st.b,[l.p,ot.a,[8,null],[2,ut.s],[2,ut.k],it.d,[8,null],ct.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],lt.d,null,[st.b]),(t()(),l.Db(19,0,null,0,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==l.Pb(t,21)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.focusChange(n)&&i),i}),dt.b,dt.a)),l.Tb(5120,null,ut.o,(function(t){return[t]}),[ht.b]),l.Cb(21,1228800,null,0,ht.b,[l.p,pt.h,l.j,[8,null],l.G,ht.a,[2,at.a],[2,rt.b]],{checked:[0,"checked"]},{change:"change"}),(t()(),l.Wb(-1,0,["Focus"])),(t()(),l.Db(23,0,null,0,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),i.u,i.c)),l.Cb(24,49152,null,0,r.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(25,0,null,0,1,"ion-icon",[["name","settings"]],null,null,null,i.y,i.g)),l.Cb(26,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(27,0,null,0,15,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,et.f,et.c)),l.Tb(6144,null,tt.o,null,[Z.k]),l.Cb(29,737280,[[1,4]],0,Q.b,[],null,null),l.Cb(30,2342912,null,4,Z.k,[l.y,l.j,l.p,[8,null],[2,rt.b],a.d,ot.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.sb(16777216,null,null,1,null,Tt)),l.Cb(36,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(38,540672,null,0,Z.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],tt.l,null,[Z.h]),(t()(),l.sb(0,null,null,2,null,It)),l.Cb(41,540672,null,0,Z.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],tt.n,null,[Z.j]),(t()(),l.Db(43,0,null,0,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,ft.b,ft.a)),l.Cb(44,245760,[[2,4]],0,bt.b,[bt.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,4,0,"true"),t(e,17,0,"Filter"),t(e,21,0,n.focusIsActive),t(e,24,0,"primary"),t(e,26,0,"settings"),t(e,29,0),t(e,30,0,n.dataSource),t(e,36,0,n.displayedColumns),t(e,38,0,n.displayedColumns),t(e,41,0,n.displayedColumns),t(e,44,0,50,"true","")}),(function(t,e){t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,0,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()),t(e,19,0,l.Pb(e,21).id,l.Pb(e,21).disabled?null:-1,null,null,l.Pb(e,21).checked,l.Pb(e,21).disabled,"before"==l.Pb(e,21).labelPosition,"NoopAnimations"===l.Pb(e,21)._animationMode)}))}var jt=n("XEuL"),Rt=n("6g9s"),Ft=n("a5kt"),Nt=n("iInd"),Yt=n("xhS3"),Ut=l.Bb({encapsulation:2,styles:[jt.a,Rt.a,[".ol-zoom{top:unset;left:unset;bottom:3.5em!important;right:.5em!important}.ol-permalink{display:none}.reset-bbox{z-index:1000;bottom:8em;right:.5em}"]],data:{}});function Bt(t){return l.Yb(0,[l.Ub(402653184,1,{positionEl:0})],null,null)}var zt=n("hUP0"),Gt=(n("G0WM"),n("5QaY"));class Ht extends Gt.a{constructor(t,e,n,l){super(t,e,n,l),this.httpClient=t,this.mapService=e,this.lightDarkModeService=n,this.collectionService=l}ngOnInit(){this.updateLocalCollection(),setInterval(()=>{this.updateLocalCollection()},this.intervalForDaemonOfCollectionFetcher)}}var Vt=n("IheW"),qt=n("X0qu"),Wt=l.Bb({encapsulation:2,styles:[],data:{}});function $t(t){return l.Yb(2,[],null,null)}var Xt=n("P151"),Kt=n("UK0T"),Jt=n("sLNx");class Qt extends Kt.a{constructor(t,e,n,l,i,r,o,a){super(t,e,n,l,i,r,o,a),this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.timeService=l,this.iconsService=i,this.settingService=r,this.modeService=o,this.replayTripService=a}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",this.getLayer()),this.extent=this.mapService.getView().calculateExtent(this.mapService.getMap().getSize()),this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.subscription.colorListChange=this.settingService.getColorAircraftListsChangeEmitter().subscribe(()=>{this.source.getFeatures().forEach(t=>{t.setColor(),t.setOlStyleAircraft()})}),this.subscription.daemonChangeEvent=this.timeService.getDaemonChangeEmitter().subscribe(t=>{t!==d.a.REALTIME&&t!==d.a.REPLAY||(this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),this.getTraffic())}),this.subscription.viewChangeEvent=this.mapService.getViewChangeEmitter().subscribe(t=>{this.extent=t.calculateExtent(this.mapService.getMap().getSize()),this.getTraffic()}),setInterval(()=>{this.getTraffic()},2e3)}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}}var Zt=l.Bb({encapsulation:2,styles:[],data:{}});function te(t){return l.Yb(2,[],null,null)}var ee=n("zfM5"),ne=n("3mbo"),le=n("qU9k"),ie=n("EDvw"),re=n("I5KE");class oe{constructor(t,e,n,l,i){this.mapService=t,this.measuresService=e,this.selectAircraftService=n,this.landInteractionService=l,this.timeService=i}ngOnInit(){this.mapService.getMap().on("singleclick",t=>{this.onClick(t)}),this.mapService.getMap().on("dblclick",t=>{this.onDblclick(t)}),this.mapService.getMap().getInteractions().forEach(t=>{t instanceof ee.a&&this.mapService.getMap().removeInteraction(t)}),this.measuresService.initLayer()}isTrafficLayer(t){return!!t&&!!t.get("name")&&"aircraft"===t.get("name").split(":")[0]}onClick(t){const e=[];let n;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof ie.a)n=t.getAircraft();else if(!0===l.get("clickable")||!0===t.get("clickable")){const n=new re.a(l,t);e.push(n)}},{hitTolerance:1}),e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,le.b.SELECT):this.landInteractionService.unsetLandEntities(),n){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleWatchAircraft(n,t)}}onDblclick(t){let e;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,n)=>{this.isTrafficLayer(n)&&t instanceof ie.a&&(e=t.getAircraft())},{hitTolerance:1}),e){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleSelectAircraft(e,t)}}landEntitiesAreNoSelected(){return this.landInteractionService.status!==le.b.SELECT}}var ae=l.Bb({encapsulation:2,styles:[],data:{}});function se(t){return l.Yb(2,[],null,null)}var ue=n("ALyU"),ce=n("fURe"),de=n("acye"),he=n("XrFG"),pe=n("aWqo");class fe extends pe.a{constructor(t,e,n){super(t,e,n),this.ref=t,this.mapService=e,this.selectAircraftService=n}ngOnInit(){this.mapService.addLayerToGroup(super.groupLayer||"Traffic",super.getVectorLayer()),this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)})}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}}var be=l.Bb({encapsulation:2,styles:[],data:{}});function me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-trace",[],null,null,null,ue.b,ue.a)),l.Cb(1,245760,[[1,4],["traceAircrafts",4]],0,ce.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-prospective-trace",[],null,null,null,de.b,de.a)),l.Cb(1,245760,[[2,4],["toTraceAircrafts",4]],0,he.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function _e(t){return l.Yb(2,[l.Ub(671088640,1,{traceAircrafts:1}),l.Ub(671088640,2,{toTraceAircrafts:1}),(t()(),l.sb(16777216,null,null,2,null,me)),l.Cb(3,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,a.h,[l.z]),(t()(),l.sb(16777216,null,null,2,null,ge)),l.Cb(6,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,a.h,[l.z])],(function(t,e){var n=e.component;t(e,3,0,l.Xb(e,3,0,l.Pb(e,4).transform(n.selectedAircrafts))),t(e,6,0,l.Xb(e,6,0,l.Pb(e,7).transform(n.selectedAircrafts)))}),null)}var ye=n("BxA5"),Ae=n("2VmZ");class ve extends Ae.a{constructor(t,e,n){super(t,e,n),this.ref=t,this.mapService=e,this.landInteractionService=n}ngOnInit(){this.subscription.landEntityEvent=this.landInteractionService.getLandEntitiesEmitter().subscribe(t=>this.displayPopupLand(t)),this.popup=new ye.a({element:this.landPopup.nativeElement}),this.mapService.getMap().addOverlay(this.popup)}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}}var Ce=l.Bb({encapsulation:0,styles:[['.ol-popup[_ngcontent-%COMP%]{position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));padding:5px;border-radius:2px;bottom:20px;left:-50px;min-width:150px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]:last-child{border:0}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-type[_ngcontent-%COMP%]{margin:5px 0;font-size:10px;color:#000}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-title[_ngcontent-%COMP%]{margin:5px 0;font-size:14px;color:#3880ff}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%]{display:-webkit-box;justify-content:space-between}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-description-link[_ngcontent-%COMP%]{font-size:12px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin:2px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-value[_ngcontent-%COMP%]{width:-webkit-max-content;width:-moz-max-content;width:max-content}.ol-popup[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);font-size:14px}.ol-popup[_ngcontent-%COMP%]:after, .ol-popup[_ngcontent-%COMP%]:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup[_ngcontent-%COMP%]:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}.ol-popup[_ngcontent-%COMP%]:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}']],data:{}});function we(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.landInteractionService.unsetLandEntities()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_max/100:e.parent.context.$implicit.properties.altitude_max,e.parent.context.$implicit.properties.unit)}))}function xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"a",[["class","land-description-link"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Wb(-1,null,["lien"]))],null,(function(t,e){t(e,1,0,l.Hb(1,"",e.parent.context.$implicit.value,""))}))}function Se(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","land-value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.value)}))}function ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","land-description-item"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["",":"])),(t()(),l.sb(16777216,null,null,1,null,xe)),l.Cb(4,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["textBlock",2]],null,0,null,Se))],(function(t,e){t(e,4,0,e.component.validURL(e.context.$implicit.value),l.Pb(e,5))}),(function(t,e){t(e,2,0,e.context.$implicit.key)}))}function Me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","land-description"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,ke)),l.Cb(2,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,a.h,[l.z])],(function(t,e){t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(e.parent.context.$implicit.data)))}),null)}function Oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,"div",[["class","land-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h5",[["class","land-type"]],null,null,null,null,null)),(t()(),l.Wb(2,null,[" "," "])),(t()(),l.Db(3,0,null,null,1,"h4",[["class","land-title"]],null,null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.sb(16777216,null,null,1,null,Pe)),l.Cb(6,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Me)),l.Cb(8,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,l=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_max;t(e,6,0,l),t(e,8,0,n.displayDescription)}),(function(t,e){t(e,2,0,e.context.$implicit.type),t(e,4,0,e.context.$implicit.name)}))}function De(t){return l.Yb(2,[l.Ub(402653184,1,{landPopup:0}),(t()(),l.Db(1,0,[[1,0],["landPopup",1]],null,4,"div",[["class","ol-popup"],["id","land-popup"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,we)),l.Cb(3,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Oe)),l.Cb(5,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.displayDescription),t(e,5,0,n.displayLandEntities)}),null)}var Te=n("E/wX"),Ee=n("F2y6"),Ie=n("xfxu"),Le=n("G+Jc"),je=n("rLOe"),Re=n("c9fC"),Fe=n("AyJq"),Ne=n("8bJo"),Ye=n("Mz6y"),Ue=n("QQfA"),Be=n("hOhj"),ze=n("rBEc"),Ge=n("JRYL"),He=n("oeKZ"),Ve=n("uUEO");class qe extends Ve.a{constructor(t,e,n,l,i,r){super(t,e,n,l,i,r),this.settingService=t,this.ref=e,this.selectAircraftService=n,this.domSanitizer=l,this.keycloakService=i,this.modeService=r}ngOnInit(){this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles,this.selectedAircraft=this.aircraftContext.aircraft,this.options.isFollow=this.aircraftContext.haveStatus(m.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(m.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(m.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(m.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(m.a.FOCUS),this.ref.detectChanges()}ngOnDestroy(){this.selectedAircraft=void 0,this.aircraftContext=void 0}ngDoCheck(){this.options.isFollow=this.aircraftContext.haveStatus(m.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(m.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(m.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(m.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(m.a.FOCUS),this.ref.detectChanges()}}var We=l.Bb({encapsulation:0,styles:[[".flex-50[_ngcontent-%COMP%]{display:flex}.flex-50[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%}.flex-33[_ngcontent-%COMP%]{display:flex}.flex-33[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:33%}.yellow[_ngcontent-%COMP%]{color:#f8c023}.warning[_ngcontent-%COMP%]{color:#b22222!important}.tooltip-flex-50[_ngcontent-%COMP%]{width:130px;display:flex}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px;flex-basis:50%}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#fff;font-size:10px;text-transform:uppercase}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.header[_ngcontent-%COMP%]{position:relative;width:100%;background-color:var(--ion-color-primary);color:#fff;position:-webkit-sticky;position:sticky;top:0}.header[_ngcontent-%COMP%] .edit-route-button[_ngcontent-%COMP%]{position:absolute;right:2px;color:var(--ion-color-primary);background-color:transparent;top:40px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{position:relative;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-align:center;overflow:hidden;max-width:120px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;width:40px;height:40px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:0;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block}.header[_ngcontent-%COMP%] .separate-white[_ngcontent-%COMP%]{background-color:#fff;width:80%}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;display:flex;align-items:center;width:120px;max-width:120px}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .date-title[_ngcontent-%COMP%]{text-transform:uppercase;font-size:11px;color:rgba(255,255,255,.5)}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:16px;height:16px;margin:5px}.body[_ngcontent-%COMP%] .margin-bottom[_ngcontent-%COMP%]{margin-bottom:10px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%]{font-weight:900;font-family:Quicksand;font-size:14px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);display:flex;align-items:center}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{color:#fff;width:30px;height:30px;margin-right:10px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#666;font-size:10px;text-transform:uppercase}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#3880ff}.body[_ngcontent-%COMP%] .mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}.body[_ngcontent-%COMP%] .mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important}.body[_ngcontent-%COMP%] .mat-expansion-indicator::after{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] div.mat-expansion-panel-body{padding:5px;background-color:#f0f0f0}.aircraft-options[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:0;left:0;width:100%}.aircraft-options[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0!important}.aircraft-options[_ngcontent-%COMP%] .tab-selected[_ngcontent-%COMP%]{border-top:5px solid var(--ion-color-primary)}"]],data:{}});function $e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"trajectory",[],null,null,null,Te.b,Te.a)),l.Cb(1,4440064,null,0,Ee.a,[l.j,_t.a,m.b],null,null)],(function(t,e){t(e,1,0)}),null)}function Xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"interception",[["groupLayer","Interception"],["name","interception"],["zIndex","200"]],null,null,null,Ie.b,Ie.a)),l.Cb(1,4702208,null,0,Le.a,[l.j,_t.a,je.a,m.b],{name:[0,"name"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"],aircraft:[3,"aircraft"]},null)],(function(t,e){t(e,1,0,"interception","200","Interception",e.component.selectedAircraft)}),null)}function Ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,i.y,i.g)),l.Cb(3,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,16),"template"),t(e,3,0,"more")}),null)}function Je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.stopsIcao)}))}function Qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,17,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","route flex-50"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.Db(5,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),(t()(),l.Db(7,0,null,null,4,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(9,null,[" "," "])),(t()(),l.Db(10,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(11,null,[" "," "])),(t()(),l.Db(12,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ke)),l.Cb(15,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,Je)),(t()(),l.Db(17,0,null,null,0,"hr",[["class","separate-white"]],null,null,null,null,null))],(function(t,e){t(e,15,0,e.component.selectedAircraft.stopsIcao)}),(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"",n.selectedAircraft.fromAirport.name,"")),t(e,4,0,n.selectedAircraft.fromAirport.icao),t(e,5,0,l.Hb(1,"",n.selectedAircraft.fromAirport.location,"")),t(e,6,0,n.selectedAircraft.fromAirport.location),t(e,8,0,l.Hb(1,"",n.selectedAircraft.toAirport.name,"")),t(e,9,0,n.selectedAircraft.toAirport.icao),t(e,10,0,l.Hb(1,"",n.selectedAircraft.toAirport.location,"")),t(e,11,0,n.selectedAircraft.toAirport.location),t(e,13,0,l.Hb(1,"../../../../assets/images/",n.selectedAircraft.getIconStatus(),""))}))}function Ze(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.model)}))}function en(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registered_owners)}))}function ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.homeAerodromeDGAC)}))}function on(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function an(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.addressOwnerDGAC)}))}function sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,21,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OWNER"])),(t()(),l.sb(16777216,null,null,1,null,en)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,nn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["HOME"])),(t()(),l.sb(16777216,null,null,1,null,ln)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rn)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ADRESS"])),(t()(),l.sb(16777216,null,null,1,null,on)),l.Cb(19,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,an)),l.Cb(21,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.registered_owners),t(e,7,0,null!=n.selectedAircraft.registered_owners),t(e,12,0,null==n.selectedAircraft.homeAerodromeDGAC),t(e,14,0,null!=n.selectedAircraft.homeAerodromeDGAC),t(e,19,0,null==n.selectedAircraft.addressOwnerDGAC),t(e,21,0,null!=n.selectedAircraft.addressOwnerDGAC)}),null)}function un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registration)}))}function dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorName)}))}function pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorIcao)}))}function bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.country)}))}function gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function _n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.squawk)}))}function yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function An(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," hPa"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.inhg)}))}function vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.vsi)}))}function wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ctlAgency)}))}function xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function Sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacV)}))}function Mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function On(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacP)}))}function Dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.selectedAircraft.sil,n.selectedAircraft.silType)}))}function En(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function In(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rc)}))}function Ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nicBaro)}))}function Rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACV"])),(t()(),l.sb(16777216,null,null,1,null,Sn)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACP"])),(t()(),l.sb(16777216,null,null,1,null,Mn)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,On)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,7,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SIL"])),(t()(),l.sb(16777216,null,null,1,null,Dn)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Tn)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PC"])),(t()(),l.sb(16777216,null,null,1,null,En)),l.Cb(28,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,In)),l.Cb(30,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NIC BARO"])),(t()(),l.sb(16777216,null,null,1,null,Ln)),l.Cb(35,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,jn)),l.Cb(37,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.nacV),t(e,7,0,null!=n.selectedAircraft.nacV),t(e,12,0,null==n.selectedAircraft.nacP),t(e,14,0,null!=n.selectedAircraft.nacP),t(e,20,0,null===n.selectedAircraft.sil||null===n.selectedAircraft.silType),t(e,22,0,null!==n.selectedAircraft.sil&&null!==n.selectedAircraft.silType),t(e,28,0,null==n.selectedAircraft.rc),t(e,30,0,null!=n.selectedAircraft.rc),t(e,35,0,null==n.selectedAircraft.nicBaro),t(e,37,0,null!=n.selectedAircraft.nicBaro)}),null)}function Fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function Nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function Un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trueHeading)}))}function Hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0/s"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trackRate)}))}function qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.roll)}))}function $n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GR TRACK"])),(t()(),l.sb(16777216,null,null,1,null,Un)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Bn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["T HEADING"])),(t()(),l.sb(16777216,null,null,1,null,zn)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gn)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK RATE"])),(t()(),l.sb(16777216,null,null,1,null,Hn)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Vn)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ROLL"])),(t()(),l.sb(16777216,null,null,1,null,qn)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Wn)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.track),t(e,7,0,null!=n.selectedAircraft.track),t(e,12,0,null==n.selectedAircraft.trueHeading),t(e,14,0,null!=n.selectedAircraft.trueHeading),t(e,20,0,null==n.selectedAircraft.trackRate),t(e,22,0,null!=n.selectedAircraft.trackRate),t(e,27,0,null==n.selectedAircraft.roll),t(e,29,0,null!=n.selectedAircraft.roll)}),null)}function Xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function Jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function Zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tas)}))}function el(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ias)}))}function ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GROUND"])),(t()(),l.sb(16777216,null,null,1,null,Jn)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Qn)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRUE"])),(t()(),l.sb(16777216,null,null,1,null,Zn)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,tl)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,16,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["INDICATED"])),(t()(),l.sb(16777216,null,null,1,null,el)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,nl)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,ll)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,il)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rl)),l.Cb(31,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.speed),t(e,7,0,null!=n.selectedAircraft.speed),t(e,12,0,null==n.selectedAircraft.tas),t(e,14,0,null!=n.selectedAircraft.tas),t(e,20,0,null==n.selectedAircraft.ias),t(e,22,0,null!=n.selectedAircraft.ias),t(e,27,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,29,0,null!==n.selectedAircraft.mach),t(e,31,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed())}),null)}function al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function hl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,2),n.selectedAircraft.altitudeGps));t(e,1,0,i)}))}function ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.gva)}))}function _l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.baroRate)}))}function Al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function vl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.geomRate)}))}function Cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ws)}))}function Pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.wd)}))}function Sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tat)}))}function Ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.oat)}))}function Dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SPEED"])),(t()(),l.sb(16777216,null,null,1,null,Cl)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,wl)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["DIR"])),(t()(),l.sb(16777216,null,null,1,null,Pl)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,xl)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TAT"])),(t()(),l.sb(16777216,null,null,1,null,Sl)),l.Cb(20,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kl)),l.Cb(22,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OAT"])),(t()(),l.sb(16777216,null,null,1,null,Ml)),l.Cb(27,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ol)),l.Cb(29,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.ws),t(e,7,0,null!=n.selectedAircraft.ws),t(e,12,0,null==n.selectedAircraft.wd),t(e,14,0,null!=n.selectedAircraft.wd),t(e,20,0,null==n.selectedAircraft.tat),t(e,22,0,null!=n.selectedAircraft.tat),t(e,27,0,null==n.selectedAircraft.oat),t(e,29,0,null!=n.selectedAircraft.oat)}),null)}function Tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function El(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeFms)}))}function Il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeMcp)}))}function jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navHeading)}))}function Fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navModes)}))}function Yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rssi)}))}function Bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.messages)}))}function Gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["RSSI"])),(t()(),l.sb(16777216,null,null,1,null,Yl)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ul)),l.Cb(7,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MESSAGES"])),(t()(),l.sb(16777216,null,null,1,null,Bl)),l.Cb(12,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zl)),l.Cb(14,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.rssi),t(e,7,0,null!=n.selectedAircraft.rssi),t(e,12,0,null==n.selectedAircraft.messages),t(e,14,0,null!=n.selectedAircraft.messages)}),null)}function Hl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Vl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.category)}))}function ql(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,317,"div",[["id","aircraft-card"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,23,"div",[["class","header"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0,i=t.component;return"toClose"===e&&(l=!1!==i.selectAircraftService.unSelectAircrafts(i.selectedAircraft)&&l),l}),s.b,s.a)),l.Cb(3,245760,null,0,u.a,[c.a,d.b,h.b,p.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Qe)),l.Cb(5,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(6,0,null,null,18,"div",[["class","date"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,8,"div",[["class","from-date"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,0,"img",[["src","../../../../assets/images/departing-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["pickup time"])),(t()(),l.Db(12,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(13,null,["",""])),l.Sb(14,2),l.Sb(15,1),(t()(),l.Db(16,0,null,null,8,"div",[["class","to-date"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,0,"img",[["src","../../../../assets/images/arriving-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["landing time"])),(t()(),l.Db(21,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(22,null,["\u2248 ",""])),l.Sb(23,2),l.Sb(24,1),(t()(),l.Db(25,0,null,null,292,"div",[["class","body"]],null,null,null,null,null)),(t()(),l.Db(26,0,null,null,291,"mat-accordion",[["class","mat-accordion"],["multi","true"]],null,null,null,null,null)),l.Cb(27,1720320,null,1,Re.c,[],{multi:[0,"multi"]},null),l.Ub(603979776,1,{_headers:1}),l.Tb(2048,null,Re.a,null,[Re.c]),(t()(),l.Db(30,16777216,null,null,60,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Fe.d,Fe.a)),l.Cb(31,1753088,null,1,Re.e,[[3,Re.a],l.j,Ne.d,l.Y,a.d,[2,at.a],[2,Re.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,2,{_lazyContent:0}),l.Tb(256,null,Re.a,void 0,[]),(t()(),l.Db(34,0,null,0,7,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,35)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,35)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,35)._animationStarted()&&i),i}),Fe.c,Fe.b)),l.Cb(35,180224,[[1,4]],0,Re.f,[Re.e,l.p,pt.h,l.j,[2,Re.b]],null,null),l.Rb(36,{collapsedHeight:0,expandedHeight:1}),l.Rb(37,{value:0,params:1}),(t()(),l.Db(38,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(39,16384,null,0,Re.g,[],null,null),(t()(),l.Db(40,0,null,null,0,"img",[["src","../../../../assets/images/info-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Wb(41,null,[" MORE "," INFORMATIONS "])),(t()(),l.Db(42,0,null,1,48,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(43,0,null,null,25,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(44,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(45,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.sb(16777216,null,null,1,null,Ze)),l.Cb(48,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,tn)),l.Cb(50,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(51,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(52,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG "])),(t()(),l.Db(54,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,55).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,55).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,55).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,55).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,55).onClick()&&i),i}),null,null)),l.Cb(55,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(56,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(57,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["regTooltip",2]],null,0,null,sn)),(t()(),l.sb(16777216,null,null,1,null,un)),l.Cb(60,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,cn)),l.Cb(62,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(63,0,null,null,5,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(64,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ICAO"])),(t()(),l.Db(66,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(67,null,["",""])),l.Sb(68,1),(t()(),l.Db(69,0,null,null,21,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(70,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(71,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE"])),(t()(),l.sb(16777216,null,null,1,null,dn)),l.Cb(74,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,hn)),l.Cb(76,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(77,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE ICAO"])),(t()(),l.sb(16777216,null,null,1,null,pn)),l.Cb(81,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,fn)),l.Cb(83,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(84,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(85,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["COUNTRY"])),(t()(),l.sb(16777216,null,null,1,null,bn)),l.Cb(88,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,mn)),l.Cb(90,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(91,16777216,null,null,224,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Fe.d,Fe.a)),l.Cb(92,1753088,null,1,Re.e,[[3,Re.a],l.j,Ne.d,l.Y,a.d,[2,at.a],[2,Re.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,3,{_lazyContent:0}),l.Tb(256,null,Re.a,void 0,[]),(t()(),l.Db(95,0,null,0,9,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,96)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,96)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,96)._animationStarted()&&i),i}),Fe.c,Fe.b)),l.Cb(96,180224,[[1,4]],0,Re.f,[Re.e,l.p,pt.h,l.j,[2,Re.b]],null,null),l.Rb(97,{collapsedHeight:0,expandedHeight:1}),l.Rb(98,{value:0,params:1}),(t()(),l.Db(99,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(100,16384,null,0,Re.g,[],null,null),(t()(),l.Db(101,0,null,null,0,"img",[["src","../../../../assets/images/radar-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(102,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(103,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REAL TIME INFORMATIONS"])),(t()(),l.Db(105,0,null,1,210,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(106,0,null,null,23,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(107,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(108,16777216,null,null,2,"p",[["matTooltip","Squawk"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,109).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,109)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,109)._handleTouchend()&&i),i}),null,null)),l.Cb(109,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["IFF"])),(t()(),l.sb(16777216,null,null,1,null,gn)),l.Cb(112,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,_n)),l.Cb(114,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(115,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(116,16777216,null,null,2,"p",[["matTooltip","Altimeter setting"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,117).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,117)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,117)._handleTouchend()&&i),i}),null,null)),l.Cb(117,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT SET"])),(t()(),l.sb(16777216,null,null,1,null,yn)),l.Cb(120,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,An)),l.Cb(122,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(123,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(124,0,null,null,1,"p",[["atTooltip","Vsi"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VERT RATE"])),(t()(),l.sb(16777216,null,null,1,null,vn)),l.Cb(127,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cn)),l.Cb(129,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(130,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(131,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(132,16777216,null,null,2,"p",[["matTooltip","Squawk legend"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,133).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,133)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,133)._handleTouchend()&&i),i}),null,null)),l.Cb(133,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CTL AGENCY"])),(t()(),l.sb(16777216,null,null,1,null,wn)),l.Cb(136,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pn)),l.Cb(138,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(139,0,null,null,29,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(140,0,null,null,12,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(141,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,xn)),l.Cb(144,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(145,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,146).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,146).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,146).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,146).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,146).onClick()&&i),i}),null,null)),l.Cb(146,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(147,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(148,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["accuracyTooltip",2]],null,0,null,Rn)),(t()(),l.Db(150,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(151,null,["",""])),l.Sb(152,1),(t()(),l.Db(153,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(154,16777216,null,null,4,"p",[["matTooltip","Position in degre/minute/second"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,155).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,155)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,155)._handleTouchend()&&i),i}),null,null)),l.Cb(155,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,Fn)),l.Cb(158,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(159,0,null,null,2,"p",[["style","min-width: 95px;"]],null,null,null,null,null)),(t()(),l.Wb(160,null,["",""])),l.Sb(161,1),(t()(),l.Db(162,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(163,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,Nn)),l.Cb(166,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Yn)),l.Cb(168,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(169,0,null,null,33,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(170,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(171,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK "])),(t()(),l.Db(173,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,174).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,174).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,174).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,174).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,174).onClick()&&i),i}),null,null)),l.Cb(174,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(175,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(176,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["trackTooltip",2]],null,0,null,$n)),(t()(),l.sb(16777216,null,null,1,null,Xn)),l.Cb(179,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Kn)),l.Cb(181,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(182,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(183,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS "])),(t()(),l.Db(185,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,186).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,186).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,186).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,186).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,186).onClick()&&i),i}),null,null)),l.Cb(186,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(187,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(188,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["gsTooltip",2]],null,0,null,ol)),(t()(),l.sb(16777216,null,null,1,null,al)),l.Cb(191,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,sl)),l.Cb(193,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(194,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(195,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,ul)),l.Cb(198,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,cl)),l.Cb(200,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,dl)),l.Cb(202,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(203,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(204,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(205,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(206,16777216,null,null,2,"p",[["matTooltip","Barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,207).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,207)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,207)._handleTouchend()&&i),i}),null,null)),l.Cb(207,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,hl)),l.Cb(210,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pl)),l.Cb(212,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(213,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(214,16777216,null,null,2,"p",[["matTooltip","Gps altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,215).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,215)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,215)._handleTouchend()&&i),i}),null,null)),l.Cb(215,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GPS ALT"])),(t()(),l.sb(16777216,null,null,1,null,fl)),l.Cb(218,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bl)),l.Cb(220,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(221,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(222,16777216,null,null,2,"p",[["matTooltip","Geometric Vertical Accuracy"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,223).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,223)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,223)._handleTouchend()&&i),i}),null,null)),l.Cb(223,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOMETRIC"])),(t()(),l.sb(16777216,null,null,1,null,ml)),l.Cb(226,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gl)),l.Cb(228,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(229,0,null,null,25,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(230,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(231,16777216,null,null,2,"p",[["matTooltip","Rate of change of barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,232).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,232)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,232)._handleTouchend()&&i),i}),null,null)),l.Cb(232,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["BARO RATE"])),(t()(),l.sb(16777216,null,null,1,null,_l)),l.Cb(235,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yl)),l.Cb(237,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(238,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(239,16777216,null,null,2,"p",[["matTooltip","Rate of change of geometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,240).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,240)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,240)._handleTouchend()&&i),i}),null,null)),l.Cb(240,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOM RATE"])),(t()(),l.sb(16777216,null,null,1,null,Al)),l.Cb(243,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,vl)),l.Cb(245,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(246,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(247,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["WIND "])),(t()(),l.Db(249,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,250).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,250).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,250).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,250).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,250).onClick()&&i),i}),null,null)),l.Cb(250,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(251,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(252,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["windTooltip",2]],null,0,null,Dl)),(t()(),l.Db(254,0,null,null,0,"p",[],null,null,null,null,null)),(t()(),l.Db(255,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(256,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(257,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(258,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Flight Manaagement System"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,259).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,259)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,259)._handleTouchend()&&i),i}),null,null)),l.Cb(259,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT FMS"])),(t()(),l.sb(16777216,null,null,1,null,Tl)),l.Cb(262,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,El)),l.Cb(264,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(265,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(266,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Mode Control Panel"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,267).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,267)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,267)._handleTouchend()&&i),i}),null,null)),l.Cb(267,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT MCP"])),(t()(),l.sb(16777216,null,null,1,null,Il)),l.Cb(270,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ll)),l.Cb(272,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(273,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(274,16777216,null,null,2,"p",[["matTooltip","Selected heading"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,275).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,275)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,275)._handleTouchend()&&i),i}),null,null)),l.Cb(275,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL HEAD"])),(t()(),l.sb(16777216,null,null,1,null,jl)),l.Cb(278,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Rl)),l.Cb(280,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(281,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(282,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(283,16777216,null,null,2,"p",[["matTooltip","Set of engaged automation modes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,284).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,284)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,284)._handleTouchend()&&i),i}),null,null)),l.Cb(284,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["NAV MODES"])),(t()(),l.sb(16777216,null,null,1,null,Fl)),l.Cb(287,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nl)),l.Cb(289,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(290,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(291,0,null,null,10,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(292,0,null,null,9,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(293,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SOURCE "])),(t()(),l.Db(295,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,296).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,296).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,296).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,296).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,296).onClick()&&i),i}),null,null)),l.Cb(296,737280,null,0,o.b,[[2,o.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(297,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,i.y,i.g)),l.Cb(298,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["sourceTooltip",2]],null,0,null,Gl)),(t()(),l.Db(300,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(301,null,["",""])),(t()(),l.Db(302,0,null,null,13,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(303,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(304,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.Db(306,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(307,null,["",""])),(t()(),l.Db(308,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(309,16777216,null,null,2,"p",[["matTooltip","Emitter category to identify particular aircraft or vehicle classes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,310).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,310)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,310)._handleTouchend()&&i),i}),null,null)),l.Cb(310,212992,null,0,Ye.d,[Ue.c,l.p,Be.b,l.Y,l.G,ot.a,pt.c,pt.h,Ye.b,[2,rt.b],[2,Ye.a],[2,h.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CAT"])),(t()(),l.sb(16777216,null,null,1,null,Hl)),l.Cb(313,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Vl)),l.Cb(315,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(316,0,null,null,1,"graph-altitude",[],null,null,null,ze.b,ze.a)),l.Cb(317,376832,null,0,Ge.a,[l.j,d.b],{aircraft:[0,"aircraft"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.selectedAircraft),t(e,5,0,!n.editRoute&&n.selectedAircraft.fromAirport&&n.selectedAircraft.toAirport),t(e,27,0,"true"),t(e,31,0,!0),t(e,48,0,null==n.selectedAircraft.model),t(e,50,0,null!=n.selectedAircraft.model),t(e,55,0,l.Pb(e,58),"template"),t(e,57,0,"information-circle"),t(e,60,0,null==n.selectedAircraft.registration),t(e,62,0,null!=n.selectedAircraft.registration),t(e,74,0,null==n.selectedAircraft.operatorName),t(e,76,0,null!=n.selectedAircraft.operatorName),t(e,81,0,null==n.selectedAircraft.operatorIcao),t(e,83,0,null!=n.selectedAircraft.operatorIcao),t(e,88,0,null==n.selectedAircraft.country),t(e,90,0,null!=n.selectedAircraft.country),t(e,92,0,!0),t(e,109,0,"Squawk"),t(e,112,0,null==n.selectedAircraft.squawk),t(e,114,0,null!=n.selectedAircraft.squawk),t(e,117,0,"Altimeter setting"),t(e,120,0,null==n.selectedAircraft.inhg),t(e,122,0,null!=n.selectedAircraft.inhg),t(e,127,0,null==n.selectedAircraft.vsi),t(e,129,0,null!=n.selectedAircraft.vsi),t(e,133,0,"Squawk legend"),t(e,136,0,null==n.selectedAircraft.ctlAgency),t(e,138,0,null!=n.selectedAircraft.ctlAgency),t(e,144,0,n.selectedAircraft.mlat),t(e,146,0,l.Pb(e,149),"template"),t(e,148,0,"information-circle"),t(e,155,0,"Position in degre/minute/second"),t(e,158,0,n.selectedAircraft.mlat),t(e,166,0,null==n.selectedAircraft.altitude),t(e,168,0,null!=n.selectedAircraft.altitude),t(e,174,0,l.Pb(e,177),"template"),t(e,176,0,"information-circle"),t(e,179,0,null==n.selectedAircraft.track),t(e,181,0,null!=n.selectedAircraft.track),t(e,186,0,l.Pb(e,189),"template"),t(e,188,0,"information-circle"),t(e,191,0,null==n.selectedAircraft.speed),t(e,193,0,null!=n.selectedAircraft.speed),t(e,198,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,200,0,null!==n.selectedAircraft.mach),t(e,202,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed()),t(e,207,0,"Barometric altitude"),t(e,210,0,null==n.selectedAircraft.altitude),t(e,212,0,null!=n.selectedAircraft.altitude),t(e,215,0,"Gps altitude"),t(e,218,0,null==n.selectedAircraft.altitudeGps),t(e,220,0,null!=n.selectedAircraft.altitudeGps),t(e,223,0,"Geometric Vertical Accuracy"),t(e,226,0,null==n.selectedAircraft.gva),t(e,228,0,null!=n.selectedAircraft.gva),t(e,232,0,"Rate of change of barometric altitude"),t(e,235,0,null==n.selectedAircraft.baroRate),t(e,237,0,null!=n.selectedAircraft.baroRate),t(e,240,0,"Rate of change of geometric altitude"),t(e,243,0,null==n.selectedAircraft.geomRate),t(e,245,0,null!=n.selectedAircraft.geomRate),t(e,250,0,l.Pb(e,253),"template"),t(e,252,0,"information-circle"),t(e,259,0,"Selected altitude from the Flight Manaagement System"),t(e,262,0,null==n.selectedAircraft.navAltitudeFms),t(e,264,0,null!=n.selectedAircraft.navAltitudeFms),t(e,267,0,"Selected altitude from the Mode Control Panel"),t(e,270,0,null==n.selectedAircraft.navAltitudeMcp),t(e,272,0,null!=n.selectedAircraft.navAltitudeMcp),t(e,275,0,"Selected heading"),t(e,278,0,null==n.selectedAircraft.navHeading),t(e,280,0,null!=n.selectedAircraft.navHeading),t(e,284,0,"Set of engaged automation modes"),t(e,287,0,null==n.selectedAircraft.navModes),t(e,289,0,null!=n.selectedAircraft.navModes),t(e,296,0,l.Pb(e,299),"template"),t(e,298,0,"information-circle"),t(e,310,0,"Emitter category to identify particular aircraft or vehicle classes"),t(e,313,0,null===n.selectedAircraft.category),t(e,315,0,null!==n.selectedAircraft.category),t(e,317,0,n.selectedAircraft)}),(function(t,e){var n=e.component,i=l.Xb(e,13,0,t(e,15,0,l.Pb(e.parent,0),l.Xb(e,13,0,t(e,14,0,l.Pb(e.parent,1),n.selectedAircraft.createdAt,"HH:mm"))));t(e,13,0,i);var r=l.Xb(e,22,0,t(e,24,0,l.Pb(e.parent,0),l.Xb(e,22,0,t(e,23,0,l.Pb(e.parent,1),n.selectedAircraft.eta,"HH:mm"))));t(e,22,0,r),t(e,30,0,l.Pb(e,31).expanded,"NoopAnimations"===l.Pb(e,31)._animationMode,l.Pb(e,31)._hasSpacing());var o=l.Pb(e,35).panel._headerId,a=l.Pb(e,35).disabled?-1:0,s=l.Pb(e,35)._getPanelId(),u=l.Pb(e,35)._isExpanded(),c=l.Pb(e,35).panel.disabled,d=l.Pb(e,35)._isExpanded(),h="after"===l.Pb(e,35)._getTogglePosition(),p="before"===l.Pb(e,35)._getTogglePosition(),f=l.Pb(e,35)._animationsDisabled,b=t(e,37,0,l.Pb(e,35)._getExpandedState(),t(e,36,0,l.Pb(e,35).collapsedHeight,l.Pb(e,35).expandedHeight));t(e,34,0,o,a,s,u,c,d,h,p,f,b),t(e,41,0,n.selectedAircraft.icao);var m=l.Xb(e,67,0,t(e,68,0,l.Pb(e.parent,0),n.selectedAircraft.icao));t(e,67,0,m),t(e,91,0,l.Pb(e,92).expanded,"NoopAnimations"===l.Pb(e,92)._animationMode,l.Pb(e,92)._hasSpacing());var g=l.Pb(e,96).panel._headerId,_=l.Pb(e,96).disabled?-1:0,y=l.Pb(e,96)._getPanelId(),A=l.Pb(e,96)._isExpanded(),v=l.Pb(e,96).panel.disabled,C=l.Pb(e,96)._isExpanded(),w="after"===l.Pb(e,96)._getTogglePosition(),P="before"===l.Pb(e,96)._getTogglePosition(),x=l.Pb(e,96)._animationsDisabled,S=t(e,98,0,l.Pb(e,96)._getExpandedState(),t(e,97,0,l.Pb(e,96).collapsedHeight,l.Pb(e,96).expandedHeight));t(e,95,0,g,_,y,A,v,C,w,P,x,S);var k=l.Xb(e,151,0,t(e,152,0,l.Pb(e.parent,0),n.selectedAircraft.getPositionDegre()));t(e,151,0,k);var M=l.Xb(e,160,0,t(e,161,0,l.Pb(e.parent,0),n.selectedAircraft.getPosition()));t(e,160,0,M),t(e,301,0,n.settingService.getFeedNames(n.selectedAircraft.providers)),t(e,307,0,n.settingService.getFeedTypes(n.selectedAircraft.providers))}))}function Wl(t){return l.Yb(2,[l.Qb(0,f.a,[]),l.Qb(0,a.e,[l.A]),l.Qb(0,b.a,[]),(t()(),l.Db(3,0,null,null,36,"div",[["class","aircraft-options"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,35,"ion-tab-bar",[["slot","bottom"]],null,null,null,i.F,i.n)),l.Cb(5,49152,null,0,r.sb,[l.j,l.p,l.G],null,null),(t()(),l.Db(6,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFollow()&&l),l}),i.G,i.o)),l.Cb(7,49152,null,0,r.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(8,0,null,0,1,"ion-icon",[["name","locate"]],null,null,null,i.y,i.g)),l.Cb(9,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(10,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(11,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Follow"])),(t()(),l.Db(13,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectoryLine()&&l),l}),i.G,i.o)),l.Cb(14,49152,null,0,r.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(15,0,null,0,1,"ion-icon",[["name","compass"]],null,null,null,i.y,i.g)),l.Cb(16,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(17,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(18,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Ray"])),(t()(),l.Db(20,0,null,0,5,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),i.G,i.o)),l.Cb(21,49152,null,0,r.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(22,0,null,0,0,"i",[["class","flaticon-chemical-composition"]],null,null,null,null,null)),(t()(),l.Db(23,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(24,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Areas"])),(t()(),l.Db(26,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleInterception()&&l),l}),i.G,i.o)),l.Cb(27,49152,null,0,r.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(28,0,null,0,1,"ion-icon",[["name","jet"]],null,null,null,i.y,i.g)),l.Cb(29,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(30,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(31,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Inter"])),(t()(),l.Db(33,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFocus()&&l),l}),i.G,i.o)),l.Cb(34,49152,null,0,r.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(35,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,i.y,i.g)),l.Cb(36,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(37,0,null,0,2,"ion-label",[],null,null,null,i.A,i.i)),l.Cb(38,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Focus"])),(t()(),l.sb(16777216,null,null,1,null,$e)),l.Cb(41,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xe)),l.Cb(43,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ql)),l.Cb(45,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,7,0,l.Hb(1,"",n.options.isFollow,"")),t(e,9,0,"locate"),t(e,14,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isTrajectoryLine,"")),t(e,16,0,"compass"),t(e,21,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed||n.selectedAircraft.altitude<=0,l.Hb(1,"",n.options.isTrajectory,"")),t(e,27,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isInterception,"")),t(e,29,0,"jet"),t(e,34,0,l.Hb(1,"",n.options.isFocus,"")),t(e,36,0,"eye"),t(e,41,0,n.options.isTrajectoryLine||n.options.isTrajectory),t(e,43,0,n.options.isInterception),t(e,45,0,!n.options.isInterception&&!n.options.isTrajectory)}),null)}var $l=n("1HJ2");class Xl extends $l.a{constructor(t,e){super(t,e),this.ref=t,this.selectAircraftService=e}}var Kl=l.Bb({encapsulation:0,styles:[["sepia-aircraft-card-mobile[_ngcontent-%COMP%]{position:absolute;resize:vertical;width:100%;z-index:300;top:calc(100% - 127px);background-color:#fff}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function Jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-card-mobile",[],[[24,"@slideInOut",0]],null,null,Wl,We)),l.Cb(1,507904,null,0,qe,[c.a,l.j,m.b,h.b,He.a,p.b],{aircraftContext:[0,"aircraftContext"]},null)],(function(t,e){t(e,1,0,e.component.aircraftContext)}),(function(t,e){t(e,0,0,void 0)}))}function Ql(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,Jl)),l.Cb(1,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.aircraftContext)}),null)}var Zl=n("r6U7");n.d(e,"a",(function(){return li}));var ti=l.Bb({encapsulation:2,styles:[[".loader{display:flex;justify-content:center;align-items:center;background:#fff;padding-top:20px;padding-bottom:20px}sepia-map{position:absolute;display:inline-flex;width:100%;height:100%}#logo{padding:5px}"]],data:{}});function ei(t){return l.Yb(0,[l.Ub(402653184,1,{child:0}),(t()(),l.Db(1,0,null,null,64,"ion-app",[],null,null,null,i.s,i.a)),l.Cb(2,49152,null,0,r.d,[l.j,l.p,l.G],null,null),(t()(),l.Db(3,0,null,0,12,"ion-menu",[["content-id","main-content"],["menuId","aircraft-selected-menu"],["side","start"],["swipe-gesture","false"]],null,null,null,i.D,i.k)),l.Cb(4,49152,null,0,r.O,[l.j,l.p,l.G],{menuId:[0,"menuId"],side:[1,"side"]},null),(t()(),l.Db(5,0,null,0,6,"ion-header",[],null,null,null,i.x,i.f)),l.Cb(6,49152,null,0,r.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(7,0,null,0,4,"ion-toolbar",[["translucent",""]],null,null,null,i.J,i.r)),l.Cb(8,49152,null,0,r.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(9,0,null,0,2,"ion-title",[],null,null,null,i.I,i.q)),l.Cb(10,49152,null,0,r.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Aircraft Selected"])),(t()(),l.Db(12,0,null,0,3,"ion-content",[],null,null,null,i.w,i.e)),l.Cb(13,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(14,0,null,0,1,"sepia-left-panel",[],null,null,null,K,A)),l.Cb(15,245760,null,0,y,[l.j,m.b,_.a],null,null),(t()(),l.Db(16,0,null,0,12,"ion-menu",[["content-id","main-content"],["menuId","aircraft-list-menu"],["side","end"],["swipe-gesture","false"]],null,null,null,i.D,i.k)),l.Cb(17,49152,null,0,r.O,[l.j,l.p,l.G],{menuId:[0,"menuId"],side:[1,"side"]},null),(t()(),l.Db(18,0,null,0,6,"ion-header",[],null,null,null,i.x,i.f)),l.Cb(19,49152,null,0,r.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(20,0,null,0,4,"ion-toolbar",[["translucent",""]],null,null,null,i.J,i.r)),l.Cb(21,49152,null,0,r.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(22,0,null,0,2,"ion-title",[],null,null,null,i.I,i.q)),l.Cb(23,49152,null,0,r.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["List of Aircraft"])),(t()(),l.Db(25,0,null,0,3,"ion-content",[],null,null,null,i.w,i.e)),l.Cb(26,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(27,0,null,0,1,"sepia-right-panel",[],null,null,null,Lt,wt)),l.Cb(28,245760,null,0,vt,[Ct.e,l.p,_t.a,m.b,_.a,d.b,yt.a,c.a,r.Fb],null,null),(t()(),l.Db(29,0,null,0,36,"div",[["class","ion-page"],["id","main-content"]],null,null,null,null,null)),(t()(),l.Db(30,0,null,null,19,"ion-header",[],null,null,null,i.x,i.f)),l.Cb(31,49152,null,0,r.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(32,0,null,0,17,"ion-toolbar",[],null,null,null,i.J,i.r)),l.Cb(33,49152,null,0,r.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(34,0,null,0,5,"ion-buttons",[["slot","start"]],null,null,null,i.v,i.d)),l.Cb(35,49152,null,0,r.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(36,0,null,0,3,"ion-menu-button",[["menu","aircraft-selected-menu"]],null,null,null,i.C,i.l)),l.Cb(37,49152,null,0,r.P,[l.j,l.p,l.G],{menu:[0,"menu"]},null),(t()(),l.Db(38,0,null,0,1,"ion-icon",[["name","airplane"]],null,null,null,i.y,i.g)),l.Cb(39,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(40,0,null,0,5,"ion-buttons",[["slot","end"]],null,null,null,i.v,i.d)),l.Cb(41,49152,null,0,r.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(42,0,null,0,3,"ion-menu-button",[["menu","aircraft-list-menu"]],null,null,null,i.C,i.l)),l.Cb(43,49152,null,0,r.P,[l.j,l.p,l.G],{menu:[0,"menu"]},null),(t()(),l.Db(44,0,null,0,1,"ion-icon",[["name","list"]],null,null,null,i.y,i.g)),l.Cb(45,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(46,0,null,0,3,"ion-title",[["text-center",""]],null,null,null,i.I,i.q)),l.Cb(47,49152,null,0,r.yb,[l.j,l.p,l.G],null,null),l.Cb(48,16384,null,0,r.c,[l.p],null,null),(t()(),l.Db(49,0,null,0,0,"img",[["alt","logo"],["height","45"],["id","logo"],["src","../../../../assets/logo.svg"]],null,null,null,null,null)),(t()(),l.Db(50,0,null,null,15,"ion-content",[],null,null,null,i.w,i.e)),l.Cb(51,49152,null,0,r.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(52,0,null,0,11,"sepia-map",[["lat","46.6"],["lon","2.3"],["zoom","6"]],null,null,null,Bt,Ut)),l.Cb(53,114688,[[1,4]],0,Ft.a,[Nt.a,_t.a,l.p,Yt.a,_.a,m.b],{lon:[0,"lon"],lat:[1,"lat"],zoom:[2,"zoom"]},null),(t()(),l.Db(54,0,null,null,1,"sepia-remote-layer",[],null,null,null,$t,Wt)),l.Cb(55,114688,null,0,Ht,[Vt.c,_t.a,zt.a,qt.a],null,null),(t()(),l.Db(56,0,null,null,1,"sepia-traffic-layer",[["groupLayer","Traffic"],["name","aircraft"],["opacity","1"],["visibility","true"],["zIndex","1101"]],null,null,null,te,Zt)),l.Cb(57,245760,null,0,Qt,[_t.a,_.a,m.b,d.b,Xt.a,c.a,p.b,Jt.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(58,0,null,null,1,"sepia-touch",[],null,null,null,se,ae)),l.Cb(59,114688,null,0,oe,[_t.a,ne.a,m.b,le.a,d.b],null,null),(t()(),l.Db(60,0,null,null,1,"sepia-traces",[["groupLayer","Traffic"],["name","Traces"],["opacity","1"],["visibility","true"],["zIndex","1100"]],null,null,null,_e,be)),l.Cb(61,245760,null,0,fe,[l.j,_t.a,m.b],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(62,0,null,null,1,"sepia-land-popup",[],null,null,null,De,Ce)),l.Cb(63,245760,null,0,ve,[l.j,_t.a,le.a],null,null),(t()(),l.Db(64,0,null,0,1,"sepia-bottom-panel",[],null,null,null,Ql,Kl)),l.Cb(65,245760,null,0,Xl,[l.j,m.b],null,null)],(function(t,e){t(e,4,0,"aircraft-selected-menu","start"),t(e,15,0),t(e,17,0,"aircraft-list-menu","end"),t(e,28,0),t(e,37,0,"aircraft-selected-menu"),t(e,39,0,"airplane"),t(e,43,0,"aircraft-list-menu"),t(e,45,0,"list"),t(e,53,0,"2.3","46.6","6"),t(e,55,0),t(e,57,0,"aircraft","1","true","1101","Traffic"),t(e,59,0),t(e,61,0,"Traces","1","true","1100","Traffic"),t(e,63,0),t(e,65,0)}),null)}function ni(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-mobile",[],null,null,null,ei,ti)),l.Cb(1,114688,null,0,Zl.a,[r.Hb,r.Eb,p.b,_t.a],null,null)],(function(t,e){t(e,1,0)}),null)}var li=l.zb("app-mobile",Zl.a,ni,{},{},[])},rLOe:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}stopPointControllerExportCsv$Response(e){const n=new o.a(this.rootUrl,t.StopPointControllerExportCsvPath,"get");return this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}stopPointControllerExportCsv(t){return this.stopPointControllerExportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}stopPointControllerImportCsv$Response(e){const n=new o.a(this.rootUrl,t.StopPointControllerImportCsvPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}stopPointControllerImportCsv(t){return this.stopPointControllerImportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseStopPointControllerStopPointPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseStopPointControllerStopPoint(t){return this.getOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseStopPointControllerStopPointPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseStopPointControllerStopPoint(t){return this.replaceOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseStopPointControllerStopPointPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseStopPointControllerStopPoint(t){return this.deleteOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseStopPointControllerStopPointPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseStopPointControllerStopPoint(t){return this.updateOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseStopPointControllerStopPointPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseStopPointControllerStopPoint(t){return this.getManyBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseStopPointControllerStopPointPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseStopPointControllerStopPoint(t){return this.createOneBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseStopPointControllerStopPoint$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseStopPointControllerStopPointPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseStopPointControllerStopPoint(t){return this.createManyBaseStopPointControllerStopPoint$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.StopPointControllerExportCsvPath="/stop_point/export",t.StopPointControllerImportCsvPath="/stop_point/import",t.GetOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.ReplaceOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.DeleteOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.UpdateOneBaseStopPointControllerStopPointPath="/stop_point/{id}",t.GetManyBaseStopPointControllerStopPointPath="/stop_point",t.CreateOneBaseStopPointControllerStopPointPath="/stop_point",t.CreateManyBaseStopPointControllerStopPointPath="/stop_point/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},rMEb:function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},rO16:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("dJrM"),s=n("HsOI"),u=n("Xd0L"),c=n("IP0z"),d=n("/HVE"),h=n("omvX"),p=n("ZwOa"),f=n("s7LF"),b=n("oapL"),m=n("bujt"),g=n("Fwaw"),_=n("5GAg"),y=n("j+gv"),A=n("SVse"),v=n("7/LY"),C=n("svHU");n.d(e,"a",(function(){return S}));var w=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important}.mat-dialog-content[_ngcontent-%COMP%]{padding:10px!important;margin:0!important;display:flex;justify-content:space-between;align-items:center}.close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;margin-right:10px;font-size:25px;margin-top:5px} .mat-form-field-wrapper{padding:0}"]],data:{}});function P(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,19,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(3,16384,null,0,o.j,[],null,null),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,a.b,a.a)),l.Cb(5,7520256,null,9,s.c,[l.p,l.j,[2,u.j],[2,c.b],[2,s.a],d.a,l.G,[2,h.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(15,0,[["urlinput",1]],1,2,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly","readonly"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),i}),null,null)),l.Cb(16,999424,null,0,p.b,[l.p,d.a,[8,null],[2,f.s],[2,f.k],u.d,[8,null],b.a,l.G],{type:[0,"type"],value:[1,"value"],readonly:[2,"readonly"]},null),l.Tb(2048,[[1,4],[2,4]],s.d,null,[p.b]),(t()(),l.Db(18,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""],["value","click to copy"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.copyInputMessage(l.Pb(t,15))&&i),i}),m.b,m.a)),l.Cb(19,180224,null,0,g.b,[l.p,_.h,[2,h.a]],{color:[0,"color"]},null),(t()(),l.Db(20,0,null,0,1,"ion-icon",[["name","copy"]],null,null,null,i.y,i.g)),l.Cb(21,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,5,0,"outline"),t(e,16,0,"text",l.Hb(1,"",n.url,""),"readonly"),t(e,19,0,"primary"),t(e,21,0,"copy")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString()),t(e,18,0,l.Pb(e,19).disabled||null,"NoopAnimations"===l.Pb(e,19)._animationMode)}))}function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"permalink-dialog",[],null,null,null,P,w)),l.Cb(1,114688,null,0,y.a,[A.d,o.l,o.a,v.b,C.a],null,null)],(function(t,e){t(e,1,0)}),null)}var S=l.zb("permalink-dialog",y.a,x,{},{},[])},rWV4:function(t,e,n){"use strict";n.d(e,"k",(function(){return G})),n.d(e,"b",(function(){return A})),n.d(e,"l",(function(){return y})),n.d(e,"d",(function(){return S})),n.d(e,"e",(function(){return x})),n.d(e,"h",(function(){return U})),n.d(e,"i",(function(){return R})),n.d(e,"c",(function(){return P})),n.d(e,"j",(function(){return z})),n.d(e,"f",(function(){return v})),n.d(e,"a",(function(){return O})),n.d(e,"g",(function(){return I}));var l=n("8Y7J"),i=n("zMNK"),r=n("Xd0L"),o=n("XNiG"),a=n("quSY"),s=n("VRyK"),u=n("xgIS"),c=n("LRne"),d=n("PqYM"),h=(n("GS7A"),n("JX91")),p=n("/uUt"),f=n("1G5W"),b=n("KCVW"),m=n("5GAg"),g=n("dvZr"),_=n("/HVE");const y=new l.w("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});class A{constructor(t,e,n,l){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=l}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}class v{constructor(t){this.template=t}}class C{}const w=Object(r.G)(C);class P extends w{constructor(t){super(),this._viewContainerRef=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new o.a,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new i.h(this._explicitContent||this._implicitContent,this._viewContainerRef)}}class x extends i.c{constructor(t,e,n){super(t,e),this._host=n,this._centeringSub=a.a.EMPTY,this._leavingSub=a.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Object(h.a)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}class S extends class{constructor(t,e,n){this._elementRef=t,this._dir=e,this._dirChangeSubscription=a.a.EMPTY,this._translateTabComplete=new o.a,this._onCentering=new l.r,this._beforeCentering=new l.r,this._afterLeavingCenter=new l.r,this._onCentered=new l.r(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(Object(p.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(){const t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"}}{constructor(t,e,n){super(t,e,n)}}let k=0;class M{}const O=new l.w("MAT_TABS_CONFIG");class D{constructor(t){this._elementRef=t}}const T=Object(r.E)(Object(r.F)(D),"primary");class E extends T{constructor(t,e,n,i){super(t),this._changeDetectorRef=e,this._animationMode=i,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=a.a.EMPTY,this._tabLabelSubscription=a.a.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new l.r,this.focusChange=new l.r,this.animationDone=new l.r,this.selectedTabChange=new l.r(!0),this._groupId=k++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms"}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Object(b.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Object(b.f)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,n)=>e.isActive=n===t),e||this.selectedIndexChange.emit(t)})}this._tabs.forEach((e,n)=>{e.position=n-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e<t.length;e++)if(t[e].isActive){this._indexToSelect=this._selectedIndex=e;break}}this._subscribeToTabLabels(),this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new M;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(s.a)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}}class I extends E{constructor(t,e,n,l){super(t,e,n,l)}}class L{}const j=Object(r.G)(L);class R extends j{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}const F=Object(_.g)({passive:!0});class N{constructor(t,e,n,i,r,a,s){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=r,this._platform=a,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new o.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new o.a,this._selectedIndex=0,this.selectFocusedIndex=new l.r,this.indexFocused=new l.r,r.runOutsideAngular(()=>{Object(u.a)(t.nativeElement,"mouseleave").pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Object(b.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t))}ngAfterViewInit(){Object(u.a)(this._previousPaginator.nativeElement,"touchstart",F).pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Object(u.a)(this._nextPaginator.nativeElement,"touchstart",F).pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Object(c.a)(null),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new m.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),Object(s.a)(t,e,this._items.changes).pipe(Object(f.a)(this._destroyed)).subscribe(()=>{n(),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Object(f.a)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Object(g.t)(t))switch(t.keyCode){case g.i:this._keyManager.setFirstItemActive(),t.preventDefault();break;case g.f:this._keyManager.setLastItemActive(),t.preventDefault();break;case g.g:case g.o:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t);break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){const t=this.scrollDistance,e=this._platform,n="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:i}=e.elementRef.nativeElement;let r,o;"ltr"==this._getLayoutDirection()?(r=l,o=r+i):(o=this._tabList.nativeElement.offsetWidth-l,r=o-i);const a=this.scrollDistance,s=this.scrollDistance+n;r<a?this.scrollDistance-=a-r+60:o>s&&(this.scrollDistance+=o-s+60)}_checkPaginationEnabled(){const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}_checkScrollingControls(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t){this._stopInterval(),Object(d.a)(650,100).pipe(Object(f.a)(Object(s.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()})}_scrollTo(t){const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}class Y extends N{constructor(t,e,n,l,i,r,o){super(t,e,n,l,i,r,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(b.c)(t)}_itemSelected(t){t.preventDefault()}}class U extends Y{constructor(t,e,n,l,i,r,o){super(t,e,n,l,i,r,o)}}class B extends N{constructor(t,e,n,l,i,r,o){super(t,l,i,e,n,r,o),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(b.c)(t)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Object(h.a)(null),Object(f.a)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(t){if(!this._items)return;const e=this._items.toArray();for(let n=0;n<e.length;n++)if(e[n].active)return this.selectedIndex=n,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}}class z extends B{constructor(t,e,n,l,i,r,o){super(t,e,n,l,i,r,o)}}class G{}},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},rlDN:function(t,e,n){"use strict";var l,i=n("GvmM"),r=n("OPOH"),o=n("bHcU"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e){var n=this,l=e||{},i=Object(r.a)({},l);return delete i.style,delete i.renderBuffer,delete i.updateWhileAnimating,delete i.updateWhileInteracting,(n=t.call(this,i)||this).declutter_=void 0!==l.declutter&&l.declutter,n.renderBuffer_=void 0!==l.renderBuffer?l.renderBuffer:100,n.style_=null,n.styleFunction_=void 0,n.setStyle(l.style),n.updateWhileAnimating_=void 0!==l.updateWhileAnimating&&l.updateWhileAnimating,n.updateWhileInteracting_=void 0!==l.updateWhileInteracting&&l.updateWhileInteracting,n}return a(e,t),e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.getFeatures=function(e){return t.prototype.getFeatures.call(this,e)},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get("renderOrder")},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.setRenderOrder=function(t){this.set("renderOrder",t)},e.prototype.setStyle=function(t){this.style_=void 0!==t?t:o.a,this.styleFunction_=null===t?void 0:Object(o.c)(this.style_),this.changed()},e}(i.a);e.a=s},rvMw:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e,n,l,i,r,o,a={};return e=[1.1,2,2.8,3.7,4.6,5.5,6.4,7.3,8.2,9.1,0,.8,1.7,2.6,3.5,4.4,5.3,6.2,7,7.9],n=[0,2,2,2,4,4,6,6,8,8,0,0,0,2,2,4,4,6,6,6],l=1+"ABCDEFGHJKLMNPQRSTUVWXYZ".indexOf(t.sq1)%8,r="CDEFGHJKLMNPQRSTUVWX".indexOf(t.zoneLetter),o=t.zoneNumber%2?"ABCDEFGHJKLMNPQRSTUV".indexOf(t.sq2):"FGHJKLMNPQRSTUVABCDE".indexOf(t.sq2),(i=n[r]+o/10)<e[r]&&(i+=2),a.northing=1e6*i+t.north*Math.pow(10,5-String(t.north).length),a.easting=1e5*l+t.east*Math.pow(10,5-String(t.east).length),a.zoneNumber=t.zoneNumber,a.zoneLetter=t.zoneLetter,a}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},s6ns:function(t,e,n){"use strict";n.d(e,"k",(function(){return D})),n.d(e,"d",(function(){return C})),n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return v})),n.d(e,"e",(function(){return w})),n.d(e,"i",(function(){return m})),n.d(e,"g",(function(){return x})),n.d(e,"m",(function(){return S})),n.d(e,"j",(function(){return k})),n.d(e,"f",(function(){return M})),n.d(e,"h",(function(){return f})),n.d(e,"l",(function(){return _})),n("GS7A");var l=n("8Y7J"),i=n("zMNK"),r=n("dvZr"),o=n("XNiG"),a=n("NXyV"),s=n("LRne"),u=n("pLZG"),c=n("IzEk"),d=n("JX91"),h=n("IP0z"),p=n("QQfA");class f{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}function b(){throw Error("Attempting to attach dialog content after content is already attached")}class m extends i.a{constructor(t,e,n,i,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._document=i,this._config=r,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new l.r,this._ariaLabelledBy=r.ariaLabelledBy||null}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&b(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&b(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}let g=0;class _{constructor(t,e,n,l="mat-dialog-"+g++){this._overlayRef=t,this._containerInstance=e,this.id=l,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new o.a,this._afterClosed=new o.a,this._beforeClosed=new o.a,this._state=0,e._id=l,e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"enter"===t.toState),Object(c.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"exit"===t.toState),Object(c.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===r.h&&!this.disableClose&&!Object(r.t)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(u.a)(t=>"start"===t.phaseName),Object(c.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}afterOpen(){return this.afterOpened()}beforeClose(){return this.beforeClosed()}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const y=new l.w("MatDialogData"),A=new l.w("mat-dialog-default-options"),v=new l.w("mat-dialog-scroll-strategy");function C(t){return()=>t.scrollStrategies.block()}class w{constructor(t,e,n,l,i,r,s){this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=l,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new o.a,this._afterOpenedAtThisLevel=new o.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(a.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(d.a)(void 0))),this._scrollStrategy=i}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get afterOpen(){return this.afterOpened}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign({},e,t)}(e,this._defaultOptions||new f)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),l=this._attachDialogContainer(n,e),i=this._attachDialogContent(t,l,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new p.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new i.f(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[f,e]])),l=new i.d(m,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(l).instance}_attachDialogContent(t,e,n,r){const o=new _(n,e,this._location,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe(()=>{o.disableClose||o.close()}),t instanceof l.U)e.attachTemplatePortal(new i.h(t,null,{$implicit:r.data,dialogRef:o}));else{const n=this._createInjector(r,o,e),l=e.attachComponentPortal(new i.d(t,void 0,n));o.componentInstance=l.instance}return o.updateSize(r.width,r.height).updatePosition(r.position),o}_createInjector(t,e,n){const l=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new WeakMap([[m,n],[y,t.data],[_,e]]);return!t.direction||l&&l.get(h.b,null)||r.set(h.b,{value:t.direction,change:Object(s.a)()}),new i.f(l||this._injector,r)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let l=e[n];l===t||"SCRIPT"===l.nodeName||"STYLE"===l.nodeName||l.hasAttribute("aria-live")||(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}let P=0;class x{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=O(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}class S{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+P++}ngOnInit(){this._dialogRef||(this._dialogRef=O(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}class k{}class M{}function O(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}class D{}},s7LF:function(t,e,n){"use strict";n.d(e,"x",(function(){return gt})),n.d(e,"A",(function(){return st})),n.d(e,"y",(function(){return M})),n.d(e,"z",(function(){return ut})),n.d(e,"c",(function(){return h})),n.d(e,"o",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"p",(function(){return f})),n.d(e,"q",(function(){return m})),n.d(e,"r",(function(){return g})),n.d(e,"s",(function(){return et})),n.d(e,"t",(function(){return at})),n.d(e,"u",(function(){return k})),n.d(e,"h",(function(){return ct})),n.d(e,"i",(function(){return bt})),n.d(e,"k",(function(){return dt})),n.d(e,"e",(function(){return pt})),n.d(e,"l",(function(){return ht})),n.d(e,"b",(function(){return mt})),n.d(e,"f",(function(){return _t})),n.d(e,"g",(function(){return J})),n.d(e,"j",(function(){return Q})),n.d(e,"n",(function(){return y})),n.d(e,"w",(function(){return v})),n.d(e,"m",(function(){return yt})),n.d(e,"v",(function(){return At}));var l=n("8Y7J"),i=n("cUpR"),r=n("cp0P"),o=n("Cfvw"),a=n("lJxs");const s=new l.w("NgValueAccessor"),u=new l.w("CompositionEventMode");class c{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(i.r)()?Object(i.r)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}class d{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class h extends d{get formDirective(){return null}get path(){return null}}function p(){throw new Error("unimplemented")}class f extends d{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return p()}get asyncValidator(){return p()}}class b{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}class m extends b{constructor(t){super(t)}}class g extends b{constructor(t){super(t)}}function _(t){return null==t||0===t.length}const y=new l.w("NgValidators"),A=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class v{static min(t){return e=>{if(_(e.value)||_(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(_(e.value)||_(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return _(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return _(t.value)||A.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(_(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return v.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(_(t.value))return null;const l=t.value;return e.test(l)?null:{pattern:{requiredPattern:n,actualValue:l}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return P(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const n=function(t,e){return e.map(e=>e(t))}(t,e).map(w);return Object(r.a)(n).pipe(Object(a.a)(P))}}}function C(t){return null!=t}function w(t){const e=Object(l.Kb)(t)?Object(o.a)(t):t;if(!Object(l.Jb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function P(t){const e=t.reduce((t,e)=>null!=e?Object.assign({},t,e):t,{});return 0===Object.keys(e).length?null:e}function x(t){return t.validate?e=>t.validate(e):t}function S(t){return t.validate?e=>t.validate(e):t}class k{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}class M{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}const O='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',D='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',T='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>';class E{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+O)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${D}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${T}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+O)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+D)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(t){console.warn(`\n It looks like you're using ngModel on the same form field as ${t}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}function I(t,e){return[...e.path,t]}function L(t,e){t||N(e,"Cannot find control with"),e.valueAccessor||N(e,"No value accessor for form control with"),t.validator=v.compose([t.validator,e.validator]),t.asyncValidator=v.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&j(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&j(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function j(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function R(t,e){null==t&&N(e,"Cannot find control with"),t.validator=v.compose([t.validator,e.validator]),t.asyncValidator=v.composeAsync([t.asyncValidator,e.asyncValidator])}function F(t){return N(t,"There is no FormControl instance attached to form control element with")}function N(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function Y(t){return null!=t?v.compose(t.map(x)):null}function U(t){return null!=t?v.composeAsync(t.map(S)):null}function B(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object(l.Lb)(e,n.currentValue)}const z=[class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},k,class{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=l.Lb}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}},class{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=l.Lb}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const l=t.item(e),i=this._getOptionValue(l.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const l=t.item(e);if(l.selected){const t=this._getOptionValue(l.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}},class{constructor(t,e,n,l){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=l,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(f),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}];function G(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function H(t,e){if(!e)return null;Array.isArray(e)||N(t,"Value accessor was not provided as an array for form control with");let n=void 0,l=void 0,i=void 0;return e.forEach(e=>{var r;e.constructor===c?n=e:(r=e,z.some(t=>r.constructor===t)?(l&&N(t,"More than one built-in value accessor matches form control with"),l=e):(i&&N(t,"More than one custom value accessor matches form control with"),i=e))}),i||l||n||(N(t,"No valid value accessor for form control with"),null)}function V(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function q(t,e,n,i){Object(l.hb)()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(E.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function W(t){const e=X(t)?t.validators:t;return Array.isArray(e)?Y(e):e||null}function $(t,e){const n=X(e)?e.asyncValidators:t;return Array.isArray(n)?U(n):n||null}function X(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class K{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=W(t)}setAsyncValidators(t){this.asyncValidator=$(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING";const e=w(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((t,e)=>t instanceof Q?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Z&&t.at(e)||null,t))}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new l.r,this.statusChanges=new l.r}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){X(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class J extends K{constructor(t=null,e,n){super(W(e),$(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class Q extends K{constructor(t,e,n){super(W(e),$(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,l)=>{n.reset(t[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof J?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,l)=>{e=e||this.contains(l)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,l)=>{n=e(n,t,l)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Z extends K{constructor(t,e,n){super(W(e),$(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,l)=>{n.reset(t[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof J?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const tt=(()=>Promise.resolve(null))();class et extends h{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new l.r,this.form=new Q({},Y(t),U(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){tt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),L(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){tt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),V(this._directives,t)})}addFormGroup(t){tt.then(()=>{const e=this._findContainer(t.path),n=new Q({});R(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){tt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){tt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,G(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}class nt{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${O}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n `)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${D}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${T}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${D}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${T}`)}static ngFormWarning(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")}}const lt=new l.w("NgFormSelectorWarning");class it extends h{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return I(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._validators)}get asyncValidator(){return U(this._asyncValidators)}_checkParentType(){}}class rt extends it{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof rt||this._parent instanceof et||nt.modelGroupParentException()}}const ot=(()=>Promise.resolve(null))();class at extends f{constructor(t,e,n,i){super(),this.control=new J,this._registered=!1,this.update=new l.r,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=H(this,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),B(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?I(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._rawValidators)}get asyncValidator(){return U(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){L(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof rt)&&this._parent instanceof it?nt.formGroupNameException():this._parent instanceof rt||this._parent instanceof et||nt.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||nt.missingNameException()}_updateValue(t){ot.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;ot.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}class st{}const ut=new l.w("NgModelWithFormControlWarning");let ct=(()=>{class t extends f{constructor(t,e,n,i){super(),this._ngModelWarningConfig=i,this.update=new l.r,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=H(this,n)}set isDisabled(t){E.disabledAttrWarning()}ngOnChanges(e){this._isControlChanged(e)&&(L(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),B(e,this.viewModel)&&(q("formControl",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return Y(this._rawValidators)}get asyncValidator(){return U(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t._ngModelWarningSentOnce=!1,t})();class dt extends h{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new l.r}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return L(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){V(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);R(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);R(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,G(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>F(e)),e.valueAccessor.registerOnTouched(()=>F(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&L(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=Y(this._validators);this.form.validator=v.compose([this.form.validator,t]);const e=U(this._asyncValidators);this.form.asyncValidator=v.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||E.missingFormException()}}class ht extends it{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){ft(this._parent)&&E.groupParentException()}}class pt extends h{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return I(this.name,this._parent)}get validator(){return Y(this._validators)}get asyncValidator(){return U(this._asyncValidators)}_checkParentType(){ft(this._parent)&&E.arrayParentException()}}function ft(t){return!(t instanceof ht||t instanceof dt||t instanceof pt)}let bt=(()=>{class t extends f{constructor(t,e,n,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new l.r,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=H(this,i)}set isDisabled(t){E.disabledAttrWarning()}ngOnChanges(e){this._added||this._setUpControl(),B(e,this.viewModel)&&(q("formControlName",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return I(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._rawValidators)}get asyncValidator(){return U(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof ht)&&this._parent instanceof it?E.ngModelGroupException():this._parent instanceof ht||this._parent instanceof dt||this._parent instanceof pt||E.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t._ngModelWarningSentOnce=!1,t})();class mt extends class{get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?v.required(t):null}registerOnValidatorChange(t){this._onChange=t}}{validate(t){return this.required?v.requiredTrue(t):null}}class gt{}class _t{group(t,e=null){const n=this._reduceControls(t);let l=null,i=null,r=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(l=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(l=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new Q(n,{asyncValidators:i,updateOn:r,validators:l})}control(t,e,n){return new J(t,e,n)}array(t,e,n){const l=t.map(t=>this._createControl(t));return new Z(l,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof J||t instanceof Q||t instanceof Z?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}class yt{static withConfig(t){return{ngModule:yt,providers:[{provide:lt,useValue:t.warnOnDeprecatedNgFormSelector}]}}}class At{static withConfig(t){return{ngModule:At,providers:[{provide:ut,useValue:t.warnOnNgModelWithFormControl}]}}}},sJgj:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("8rEH"),i=(n("qToJ"),n("978D"),n("svHU"),n("7/LY")),r=(n("YGmB"),n("wBRQ"),n("aECi"));class o{constructor(t,e,n,i,r,o,a,s){this.dialog=t,this.elementRef=e,this.mapService=n,this.selectAircraftService=i,this.trafficService=r,this.timeService=o,this.focusAircraftService=a,this.settingService=s,this.widthPopup=500,this.focusIsActive=!1,this.subscription={},this.aircrafts={},this.selectedAircrafts={},this.columnsName={callsign:"CS",registration:"REG/M",icaoTypeCode:"Model",squawk:"IFF",altitude:"ALT",route:"Route",icao:"Icao",userTags:"Tag",providers:"Feed",longitude:"LON",latitudfe:"LAT",speed:"GS",country:"Pays"},this.displayedColumns=["callsign","registration","icaoTypeCode","squawk","altitude","route","icao"],this.dataSource=new l.l}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.subscription.trafficAircraft=this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.refreshTrafficAircraft(t)}),this.subscription.selectAircraft=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.initFields()}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}initFields(){const t=JSON.parse(localStorage.getItem("panelRightFields"));t?this.displayedColumns=t:localStorage.setItem("panelRightFields",JSON.stringify(this.displayedColumns)),this.displayedColumns.includes("callsign")&&(this.sort.active="callsign",this.sort.direction="asc")}focusChange(t){this.focusIsActive=t.checked,this.focusAircraftService.setSearchStr(this.focusIsActive?this.dataSource.filter:void 0)}manageSelectedAircrafts(t){t.haveOneStatus([i.a.WATCH,i.a.SELECT,i.a.TRAJECTORY])?this.selectedAircrafts[t.aircraft.icao]=t.aircraft:delete this.selectedAircrafts[t.aircraft.icao]}refreshTrafficAircraft(t){this.aircrafts=t;const e=Object.values(t).map(t=>t.getTableObject(this.displayedColumns)),n=Object.values(e);this.dataSource.data=n}isSelectedAircraft(t){return!!this.selectedAircrafts[t.icao]}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase(),this.focusIsActive&&this.focusAircraftService.setSearchStr(this.dataSource.filter)}watchAircraft(t){const e=this.aircrafts[t];this.mapService.recenterMap([e.longitude,e.latitude]);const n=this.timeService.getDateReplay();this.selectAircraftService.watchAircraft(e,n)}selectAircraft(t){const e=this.aircrafts[t];this.mapService.recenterMap([e.longitude,e.latitude]);const n=this.timeService.getDateReplay();this.selectAircraftService.selectAircraft(e,n)}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft,e=String(t-this.widthPopup-20>0?t-this.widthPopup-20:5)+"px";this.dialogRef=this.dialog.open(r.a,{width:this.widthPopup+"px",position:{top:"60px",left:e},hasBackdrop:!1,data:this.displayedColumns});const n=this.dialogRef.afterClosed().subscribe(t=>{t&&(this.displayedColumns=t,localStorage.setItem("panelRightFields",JSON.stringify(this.displayedColumns))),this.dialogRef=void 0,n.unsubscribe()})}}},sLNx:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var l=n("mrSG"),i=n("8Y7J"),r=n("Y4ja"),o=n("ZZ/e"),a=n("w+w1"),s=(n("G0WM"),n("GXLG")),u=n("qSBs"),c=n("Nw85"),d=n("3y7P");let h=(()=>{class t{constructor(t,e,n,l,r,o){this.modeService=t,this.loadingController=e,this.positionService=n,this.lineService=l,this.vehicleService=r,this.snackBarService=o,this.positions=[],this.aircraft=null,this.aircraftChange=new i.r}getAircraftChange(){return this.aircraftChange}startReplayTrip(t){return l.b(this,void 0,void 0,(function*(){const e=yield this.loadingController.create({message:"Chargement en cours..."});e.present();const n={filter:["updatedAt||gte||"+String(t.createdAt),"updatedAt||lte||"+String(t.updatedAt),"icao||eq||"+t.icao,"createdAt||eq||"+String(t.createdAt)],sort:"updatedAt,ASC"};this.positionService.getManyBasePositionControllerPosition(n).subscribe(n=>l.b(this,void 0,void 0,(function*(){console.log("DATA : ",n),this.positions=n.data,this.positions.length>0?(this.modeService.setModeMap(r.a.ONE_AIRCRAFT),yield this.createAircraft(t)):this.snackBarService.openSnackBar("There are no positions"),e.dismiss()})))}))}createAircraft(t){return l.b(this,void 0,void 0,(function*(){this.aircraft=new a.a(t),this.aircraft.updateWithPosition(this.positions[0]),this.aircraft.createTraceWithPositions(t,this.positions),yield this.getMetaVehicle(t),yield this.getMetaLine(t),this.aircraftChange.emit(this.aircraft)}))}getMetaVehicle(t){return l.b(this,void 0,void 0,(function*(){const e=yield this.vehicleService.vehicleControllerGetFull({matchKey:t.icao}).toPromise();if(e&&e.data){const n=e.data;this.aircraft.registration=n.registration,this.aircraft.country=n.countryCodeIso3,this.aircraft.userTags=n.userTags,this.aircraft.registeredOwners=n.registeredOwners,this.aircraft.homeAerodromeDGAC=n.homeAerodromeDGAC,this.aircraft.addressOwnerDGAC=n.addressOwnerDGAC,this.aircraft.model=n.type,this.aircraft.icaoTypeCode=t.icaoTypeCode,n.engine&&(this.aircraft.iconName=n.engine.iconName),n.operator&&(this.aircraft.operatorName=n.operator.name,this.aircraft.operatorIata=n.operator.iata,this.aircraft.operatorIcao=n.operator.icao)}}))}getMetaLine(t){return l.b(this,void 0,void 0,(function*(){if(t.callsigns&&t.callsigns.length>0){const e=yield this.lineService.lineControllerGetFull({callsign:t.callsigns[0]}).toPromise();if(e&&e.data){const t=e.data;this.aircraft.fromAirport=t.fromAirport,this.aircraft.toAirport=t.toAirport,this.aircraft.stopsIcao=t.stopsIcao,this.aircraft.fromIcao=t.fromIcao,this.aircraft.toIcao=t.toIcao}}}))}updatePositions(t){this.aircraft.updateWithPosition(this.positions[t]),this.aircraftChange.emit(this.aircraft)}stopReplayTrip(){this.modeService.setModeMap(r.a.ALL_AIRCRAFT),this.positions=[],this.aircraft=null}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(r.b),i.dc(o.Eb),i.dc(u.a),i.dc(c.a),i.dc(d.a),i.dc(s.a))},token:t,providedIn:"root"}),t})()},sRx5:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},sUFW:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.GetOneBasePlotControllerPlotPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBasePlotControllerPlot(t){return this.getOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBasePlotControllerPlotPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBasePlotControllerPlot(t){return this.replaceOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBasePlotControllerPlotPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBasePlotControllerPlot(t){return this.deleteOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBasePlotControllerPlotPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBasePlotControllerPlot(t){return this.updateOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.GetManyBasePlotControllerPlotPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBasePlotControllerPlot(t){return this.getManyBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBasePlotControllerPlotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBasePlotControllerPlot(t){return this.createOneBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBasePlotControllerPlot$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBasePlotControllerPlotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBasePlotControllerPlot(t){return this.createManyBasePlotControllerPlot$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBasePlotControllerPlotPath="/plot/{id}",t.ReplaceOneBasePlotControllerPlotPath="/plot/{id}",t.DeleteOneBasePlotControllerPlotPath="/plot/{id}",t.UpdateOneBasePlotControllerPlotPath="/plot/{id}",t.GetManyBasePlotControllerPlotPath="/plot",t.CreateOneBasePlotControllerPlotPath="/plot",t.CreateManyBasePlotControllerPlotPath="/plot/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},saKC:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var l=n("n15R"),i=n("f8l7");function r(t,e,n,r,o,a){var s=NaN,u=NaN,c=(n-e)/r;if(1===c)s=t[e],u=t[e+1];else if(2==c)s=(1-o)*t[e]+o*t[e+r],u=(1-o)*t[e+1]+o*t[e+r+1];else if(0!==c){for(var d=t[e],h=t[e+1],p=0,f=[0],b=e+r;b<n;b+=r){var m=t[b],g=t[b+1];p+=Math.sqrt((m-d)*(m-d)+(g-h)*(g-h)),f.push(p),d=m,h=g}var _=o*p,y=Object(l.a)(f,_);if(y<0){var A=(_-f[-y-2])/(f[-y-1]-f[-y-2]),v=e+(-y-2)*r;s=Object(i.c)(t[v],t[v+r],A),u=Object(i.c)(t[v+1],t[v+r+1],A)}else s=t[e+y*r],u=t[e+y*r+1]}return a?(a[0]=s,a[1]=u,a):[s,u]}function o(t,e,n,l,r,o){if(n==e)return null;var a;if(r<t[e+l-1])return o?((a=t.slice(e,e+l))[l-1]=r,a):null;if(t[n-1]<r)return o?((a=t.slice(n-l,n))[l-1]=r,a):null;if(r==t[e+l-1])return t.slice(e,e+l);for(var s=e/l,u=n/l;s<u;){var c=s+u>>1;r<t[(c+1)*l-1]?u=c:s=c+1}var d=t[s*l-1];if(r==d)return t.slice((s-1)*l,(s-1)*l+l);var h=(r-d)/(t[(s+1)*l-1]-d);a=[];for(var p=0;p<l-1;++p)a.push(Object(i.c)(t[(s-1)*l+p],t[s*l+p],h));return a.push(r),a}function a(t,e,n,l,i,r,a){if(a)return o(t,e,n[n.length-1],l,i,r);var s;if(i<t[l-1])return r?((s=t.slice(0,l))[l-1]=i,s):null;if(t[t.length-1]<i)return r?((s=t.slice(t.length-l))[l-1]=i,s):null;for(var u=0,c=n.length;u<c;++u){var d=n[u];if(e!=d){if(i<t[e+l-1])return null;if(i<=t[d-1])return o(t,e,d,l,i,!1);e=d}}return null}},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},svHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("8Y7J"),i=n("JW8z"),r=n("Xu5n"),o=n("oscj"),a=n("nHi6");let s=(()=>{class t{constructor(){this.map=void 0,this.view=void 0,this.group={},this.layer={},this.source={},this.viewChange=new l.r,this.dayNightDaemonInterval=3e5}initDayNightLayerDaemon(){this.dayNightDaemon=setInterval(()=>{this.getLayer("DayNight").getSource().setTime(new Date)},this.dayNightDaemonInterval)}onMapMoveEnd(){this.map.on("moveend",t=>{this.view=this.map.getView(),this.viewChange.emit(this.view)})}getViewChangeEmitter(){return this.viewChange}createMap(){const t=new r.a({target:"sepia",view:this.getView()});return window.ol=t,t}getMap(){return this.map||(this.map=this.createMap(),this.onMapMoveEnd()),this.map}recenterMap(t,e){console.log();let n={center:Object(i.d)(t),duration:500};e&&(n.zoom=e),this.view.animate(n)}getView(){return this.view||(this.view=new o.a({extent:[-20026376.39,-20048966.1,20026376.39,20048966.1],center:[0,0],zoom:1,projection:"EPSG:3857",maxZoom:18,minZoom:3})),this.view}addLayerToGroup(t,e){if(t){if(this.group[t]){const n=this.group[t].getLayers();n.push(e),this.group[t].setLayers(n)}else this.group[t]=new a.a({name:t,layers:[e]}),this.map.addLayer(this.group[t]);return this.setLayer(e),this.group[t]}}removeLayerToGroup(t,e){if(t&&this.group[t]){const n=this.group[t].getLayers().getArray().slice();for(let l=0;l<n.length;l++)n[l].get("name")==e.get("name")&&(this.map.removeLayer(e),this.group[t].getLayers().getArray().splice(l,1))}this.removeLayer(e)}removeGroup(t){t&&this.group[t]&&(this.map.removeLayer(this.group[t]),delete this.group[t])}setLayer(t){return this.layer[t.get("name")]=t}getLayer(t){return this.layer[t]}removeLayer(t){delete this.layer[t]}setSource(t,e){return this.source[t]=e}getSource(t){return this.source[t]}removeSource(t){delete this.source[t]}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"t+3E":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("Mc5n");n("ZZ/e");class i{constructor(t){this.modalCtrl=t,this.allFields=["callsign","registration","icaoTypeCode","squawk","altitude","route","icao","userTags","providers","longitude","latitude","speed","country"],this.panelFields=[],this.otherFields=[]}ngOnInit(){this.panelFields=this.data,this.otherFields=this.allFields.filter(t=>!this.panelFields.includes(t)),console.log(this.panelFields,this.otherFields)}ngOnDestroy(){}drop(t){t.previousContainer===t.container?Object(l.j)(t.container.data,t.previousIndex,t.currentIndex):Object(l.k)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}dismissModal(){this.modalCtrl.dismiss(this.panelFields)}}},"t+mt":function(t,e,n){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},t68o:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var l=n("8Y7J"),i=n("s6ns"),r=n("SVse"),o=(n("QQfA"),n("IP0z"),n("zMNK")),a=(n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("5GAg")),s=l.Bb({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function u(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function c(t){return l.Yb(0,[l.Ub(402653184,1,{_portalOutlet:0}),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(2,212992,[[1,4]],0,o.c,[l.m,l.Y],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==l.Pb(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==l.Pb(t,1)._onAnimationDone(n)&&i),i}),c,s)),l.Cb(1,49152,null,0,i.i,[l.p,a.i,l.j,[2,r.d],i.h],null,null)],null,(function(t,e){t(e,0,0,l.Pb(e,1)._id,l.Pb(e,1)._config.role,l.Pb(e,1)._config.ariaLabel?null:l.Pb(e,1)._ariaLabelledBy,l.Pb(e,1)._config.ariaLabel,l.Pb(e,1)._config.ariaDescribedBy||null,l.Pb(e,1)._state)}))}var h=l.zb("mat-dialog-container",i.i,d,{},{},[])},t98H:function(t,e,n){"use strict";n.d(e,"b",(function(){return s}));var l=n("OPOH"),i=n("EwAT"),r=n("JW8z"),o=n("/O31"),a=function(){function t(){this.dataProjection=null,this.defaultFeatureProjection=null}return t.prototype.getReadOptions=function(t,e){var n;if(e){var l=e.dataProjection?Object(r.g)(e.dataProjection):this.readProjection(t);e.extent&&l&&l.getUnits()===o.b.TILE_PIXELS&&(l=Object(r.g)(l)).setWorldExtent(e.extent),n={dataProjection:l,featureProjection:e.featureProjection}}return this.adaptOptions(n)},t.prototype.adaptOptions=function(t){return Object(l.a)({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)},t.prototype.getType=function(){return Object(i.b)()},t.prototype.readFeature=function(t,e){return Object(i.b)()},t.prototype.readFeatures=function(t,e){return Object(i.b)()},t.prototype.readGeometry=function(t,e){return Object(i.b)()},t.prototype.readProjection=function(t){return Object(i.b)()},t.prototype.writeFeature=function(t,e){return Object(i.b)()},t.prototype.writeFeatures=function(t,e){return Object(i.b)()},t.prototype.writeGeometry=function(t,e){return Object(i.b)()},t}();function s(t,e,n){var l,i=n?Object(r.g)(n.featureProjection):null,o=n?Object(r.g)(n.dataProjection):null;if(l=i&&o&&!Object(r.c)(i,o)?(e?t.clone():t).transform(e?i:o,e?o:i):t,e&&n&&void 0!==n.decimals){var a=Math.pow(10,n.decimals);l===t&&(l=t.clone()),l.applyTransform((function(t){for(var e=0,n=t.length;e<n;++e)t[e]=Math.round(t[e]*a)/a;return t}))}return l}e.a=a},t9RB:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseCountryControllerCountryPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseCountryControllerCountry(t){return this.getOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseCountryControllerCountryPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseCountryControllerCountry(t){return this.replaceOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseCountryControllerCountryPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseCountryControllerCountry(t){return this.deleteOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseCountryControllerCountryPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseCountryControllerCountry(t){return this.updateOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseCountryControllerCountryPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseCountryControllerCountry(t){return this.getManyBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseCountryControllerCountryPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseCountryControllerCountry(t){return this.createOneBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseCountryControllerCountry$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseCountryControllerCountryPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseCountryControllerCountry(t){return this.createManyBaseCountryControllerCountry$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseCountryControllerCountryPath="/country/{id}",t.ReplaceOneBaseCountryControllerCountryPath="/country/{id}",t.DeleteOneBaseCountryControllerCountryPath="/country/{id}",t.UpdateOneBaseCountryControllerCountryPath="/country/{id}",t.GetManyBaseCountryControllerCountryPath="/country",t.CreateOneBaseCountryControllerCountryPath="/country",t.CreateManyBaseCountryControllerCountryPath="/country/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tV43:function(t,e,n){t.exports=function(){"use strict";function t(t,l,i,r,o){!function t(n,l,i,r,o){for(;r>i;){if(r-i>600){var a=r-i+1,s=l-i+1,u=Math.log(a),c=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*c*(a-c)/a)*(s-a/2<0?-1:1);t(n,l,Math.max(i,Math.floor(l-s*c/a+d)),Math.min(r,Math.floor(l+(a-s)*c/a+d)),o)}var h=n[l],p=i,f=r;for(e(n,i,l),o(n[r],h)>0&&e(n,i,r);p<f;){for(e(n,p,f),p++,f--;o(n[p],h)<0;)p++;for(;o(n[f],h)>0;)f--}0===o(n[i],h)?e(n,i,f):e(n,++f,r),f<=l&&(i=f+1),l<=f&&(r=f-1)}}(t,l,i||0,r||t.length-1,o||n)}function e(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function n(t,e){return t<e?-1:t>e?1:0}var l=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function i(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}function r(t,e){o(t,0,t.children.length,e,t)}function o(t,e,n,l,i){i||(i=f(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r=e;r<n;r++){var o=t.children[r];a(i,t.leaf?l(o):o)}return i}function a(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function s(t,e){return t.minX-e.minX}function u(t,e){return t.minY-e.minY}function c(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function d(t){return t.maxX-t.minX+(t.maxY-t.minY)}function h(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function p(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function f(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function b(e,n,l,i,r){for(var o=[n,l];o.length;)if(!((l=o.pop())-(n=o.pop())<=i)){var a=n+Math.ceil((l-n)/i/2)*i;t(e,a,n,l,r),o.push(n,a,a,l)}}return l.prototype.all=function(){return this._all(this.data,[])},l.prototype.search=function(t){var e=this.data,n=[];if(!p(t,e))return n;for(var l=this.toBBox,i=[];e;){for(var r=0;r<e.children.length;r++){var o=e.children[r],a=e.leaf?l(o):o;p(t,a)&&(e.leaf?n.push(o):h(t,a)?this._all(o,n):i.push(o))}e=i.pop()}return n},l.prototype.collides=function(t){var e=this.data;if(!p(t,e))return!1;for(var n=[];e;){for(var l=0;l<e.children.length;l++){var i=e.children[l],r=e.leaf?this.toBBox(i):i;if(p(t,r)){if(e.leaf||h(t,r))return!0;n.push(i)}}e=n.pop()}return!1},l.prototype.load=function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0;e<t.length;e++)this.insert(t[e]);return this}var n=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var l=this.data;this.data=n,n=l}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},l.prototype.insert=function(t){return t&&this._insert(t,this.data.height-1),this},l.prototype.clear=function(){return this.data=f([]),this},l.prototype.remove=function(t,e){if(!t)return this;for(var n,l,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf){var c=i(t,o.children,e);if(-1!==c)return o.children.splice(c,1),s.push(o),this._condense(s),this}r||o.leaf||!h(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},l.prototype.toBBox=function(t){return t},l.prototype.compareMinX=function(t,e){return t.minX-e.minX},l.prototype.compareMinY=function(t,e){return t.minY-e.minY},l.prototype.toJSON=function(){return this.data},l.prototype.fromJSON=function(t){return this.data=t,this},l.prototype._all=function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},l.prototype._build=function(t,e,n,l){var i,o=n-e+1,a=this._maxEntries;if(o<=a)return r(i=f(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,l-1))),(i=f([])).leaf=!1,i.height=l;var s=Math.ceil(o/a),u=s*Math.ceil(Math.sqrt(a));b(t,e,n,u,this.compareMinX);for(var c=e;c<=n;c+=u){var d=Math.min(c+u-1,n);b(t,c,d,s,this.compareMinY);for(var h=c;h<=d;h+=s){var p=Math.min(h+s-1,d);i.children.push(this._build(t,h,p,l-1))}}return r(i,this.toBBox),i},l.prototype._chooseSubtree=function(t,e,n,l){for(;l.push(e),!e.leaf&&l.length-1!==n;){for(var i=1/0,r=1/0,o=void 0,a=0;a<e.children.length;a++){var s=e.children[a],u=c(s),d=(h=t,p=s,(Math.max(p.maxX,h.maxX)-Math.min(p.minX,h.minX))*(Math.max(p.maxY,h.maxY)-Math.min(p.minY,h.minY))-u);d<r?(r=d,i=u<i?u:i,o=s):d===r&&u<i&&(i=u,o=s)}e=o||e.children[0]}var h,p;return e},l.prototype._insert=function(t,e,n){var l=n?t:this.toBBox(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),a(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},l.prototype._split=function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var o=this._chooseSplitIndex(n,i,l),a=f(n.children.splice(o,n.children.length-o));a.height=n.height,a.leaf=n.leaf,r(n,this.toBBox),r(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(n,a)},l.prototype._splitRoot=function(t,e){this.data=f([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},l.prototype._chooseSplitIndex=function(t,e,n){for(var l,i,r,a,s,u,d,h=1/0,p=1/0,f=e;f<=n-e;f++){var b=o(t,0,f,this.toBBox),m=o(t,f,n,this.toBBox),g=(i=b,r=m,a=Math.max(i.minX,r.minX),s=Math.max(i.minY,r.minY),u=Math.min(i.maxX,r.maxX),d=Math.min(i.maxY,r.maxY),Math.max(0,u-a)*Math.max(0,d-s)),_=c(b)+c(m);g<h?(h=g,l=f,p=_<p?_:p):g===h&&_<p&&(p=_,l=f)}return l||n-e},l.prototype._chooseSplitAxis=function(t,e,n){var l=t.leaf?this.compareMinX:s,i=t.leaf?this.compareMinY:u;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},l.prototype._allDistMargin=function(t,e,n,l){t.children.sort(l);for(var i=this.toBBox,r=o(t,0,e,i),s=o(t,n-e,n,i),u=d(r)+d(s),c=e;c<n-e;c++){var h=t.children[c];a(r,t.leaf?i(h):h),u+=d(r)}for(var p=n-e-1;p>=e;p--){var f=t.children[p];a(s,t.leaf?i(f):f),u+=d(s)}return u},l.prototype._adjustParentBBoxes=function(t,e,n){for(var l=n;l>=0;l--)a(e[l],t)},l.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},l}()},tYnX:function(t,e,n){"use strict";function l(t,e,n,l){for(var i=0,r=t[n-l],o=t[n-l+1];e<n;e+=l){var a=t[e],s=t[e+1];i+=o*a-r*s,r=a,o=s}return i/2}function i(t,e,n,i){for(var r=0,o=0,a=n.length;o<a;++o){var s=n[o];r+=l(t,e,s,i),e=s}return r}function r(t,e,n,l){for(var r=0,o=0,a=n.length;o<a;++o){var s=n[o];r+=i(t,e,s,l),e=s[s.length-1]}return r}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}))},tbfe:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},tyRR:function(t,e,n){var l={"./modules/login/login.module.ngfactory":["uV+8",15]};function i(t){if(!n.o(l,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=l[t],i=e[0];return n.e(e[1]).then((function(){return n(i)}))}i.keys=function(){return Object.keys(l)},i.id="tyRR",t.exports=i},"tzl+":function(t,e,n){"use strict";var l=n("CvXi"),i=n("f8l7"),r=n("JW8z"),o=function(){function t(t,e,n,i,o,a){this.sourceProj_=t,this.targetProj_=e;var s={},u=Object(r.i)(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){var e=t[0]+"/"+t[1];return s[e]||(s[e]=u(t)),s[e]},this.maxSourceExtent_=i,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!i&&!!this.sourceProj_.getExtent()&&Object(l.E)(i)==Object(l.E)(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Object(l.E)(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Object(l.E)(this.targetProj_.getExtent()):null;var c=Object(l.C)(n),d=Object(l.D)(n),h=Object(l.w)(n),p=Object(l.v)(n),f=this.transformInv_(c),b=this.transformInv_(d),m=this.transformInv_(h),g=this.transformInv_(p),_=10+(a?Math.max(0,Math.ceil(Math.log2(Object(l.u)(n)/(a*a*256*256)))):0);if(this.addQuad_(c,d,h,p,f,b,m,g,_),this.wrapsXInSource_){var y=1/0;this.triangles_.forEach((function(t,e,n){y=Math.min(y,t.source[0][0],t.source[1][0],t.source[2][0])})),this.triangles_.forEach((function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-y>this.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-y>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-y>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-y>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]);Math.max(e[0][0],e[1][0],e[2][0])-n<this.sourceWorldWidth_/2&&(t.source=e)}}).bind(this))}s={}}return t.prototype.addTriangle_=function(t,e,n,l,i,r){this.triangles_.push({source:[l,i,r],target:[t,e,n]})},t.prototype.addQuad_=function(t,e,n,r,o,a,s,u,c){var d=Object(l.b)([o,a,s,u]),h=this.sourceWorldWidth_?Object(l.E)(d)/this.sourceWorldWidth_:null,p=this.sourceWorldWidth_,f=this.sourceProj_.canWrapX()&&h>.5&&h<1,b=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var m=Object(l.b)([t,e,n,r]);b=Object(l.E)(m)/this.targetWorldWidth_>.25||b}!f&&this.sourceProj_.isGlobal()&&h&&(b=h>.25||b)}if(b||!this.maxSourceExtent_||Object(l.F)(d,this.maxSourceExtent_)){if(!(b||isFinite(o[0])&&isFinite(o[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(u[0])&&isFinite(u[1]))){if(!(c>0))return;b=!0}if(c>0){if(!b){var g,_=this.transformInv_([(t[0]+n[0])/2,(t[1]+n[1])/2]);g=f?(Object(i.d)(o[0],p)+Object(i.d)(s[0],p))/2-Object(i.d)(_[0],p):(o[0]+s[0])/2-_[0];var y=(o[1]+s[1])/2-_[1];b=g*g+y*y>this.errorThresholdSquared_}if(b){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){var A=[(e[0]+n[0])/2,(e[1]+n[1])/2],v=this.transformInv_(A),C=[(r[0]+t[0])/2,(r[1]+t[1])/2],w=this.transformInv_(C);this.addQuad_(t,e,A,C,o,a,v,w,c-1),this.addQuad_(C,A,n,r,w,v,s,u,c-1)}else{var P=[(t[0]+e[0])/2,(t[1]+e[1])/2],x=this.transformInv_(P),S=[(n[0]+r[0])/2,(n[1]+r[1])/2],k=this.transformInv_(S);this.addQuad_(t,P,S,r,o,x,k,u,c-1),this.addQuad_(P,e,n,S,x,a,s,k,c-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}this.addTriangle_(t,n,r,o,s,u),this.addTriangle_(t,e,n,o,a,s)}},t.prototype.calculateSourceExtent=function(){var t=Object(l.j)();return this.triangles_.forEach((function(e,n,i){var r=e.source;Object(l.r)(t,r[0]),Object(l.r)(t,r[1]),Object(l.r)(t,r[2])})),t},t.prototype.getTriangles=function(){return this.triangles_},t}();e.a=o},u2yf:function(t,e,n){"use strict";function l(t,e,n,l,i){for(var r=void 0!==i?i:[],o=0,a=e;a<n;a+=l)r[o++]=t.slice(a,a+l);return r.length=o,r}function i(t,e,n,i,r){for(var o=void 0!==r?r:[],a=0,s=0,u=n.length;s<u;++s){var c=n[s];o[a++]=l(t,e,c,i,o[a]),e=c}return o.length=a,o}function r(t,e,n,l,r){for(var o=void 0!==r?r:[],a=0,s=0,u=n.length;s<u;++s){var c=n[s];o[a++]=i(t,e,c,l,o[a]),e=c[c.length-1]}return o.length=a,o}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}))},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uUEO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n("oeKZ");var l=n("7/LY"),i=(n("qToJ"),n("Y4ja"));class r{constructor(t,e,n,l,i,r){this.settingService=t,this.ref=e,this.selectAircraftService=n,this.domSanitizer=l,this.keycloakService=i,this.modeService=r,this.editRoute=!1,this.selectedAircraft=void 0,this.options={isFollow:!1,isTrajectoryLine:!1,isTrajectory:!1,isInterception:!1,isFocus:!1},this.userRoles=[],this.modeAll=!0}ngOnInit(){this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles,this.selectedAircraft=this.aircraftContext.aircraft,this.options.isFollow=this.aircraftContext.haveStatus(l.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(l.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(l.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(l.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(l.a.FOCUS),this.modeAll=this.modeService.getModeMap()===i.a.ALL_AIRCRAFT,this.ref.detectChanges()}ngOnDestroy(){this.selectedAircraft=void 0,this.aircraftContext=void 0}ngDoCheck(){this.options.isFollow=this.aircraftContext.haveStatus(l.a.FOLLOW),this.options.isTrajectoryLine=this.aircraftContext.haveStatus(l.a.TRAJECTORY_LINE),this.options.isTrajectory=this.aircraftContext.haveStatus(l.a.TRAJECTORY),this.options.isInterception=this.aircraftContext.haveStatus(l.a.INTERCEPTION),this.options.isFocus=this.aircraftContext.haveStatus(l.a.FOCUS),this.ref.detectChanges()}cleanURL(t){return this.domSanitizer.bypassSecurityTrustUrl(t)}onToggleFollow(){this.options.isFollow=!this.options.isFollow,this.options.isFollow?this.selectAircraftService.followAircraft():this.selectAircraftService.unFollowAircraft()}onToggleTrajectoryLine(){this.options.isTrajectoryLine=!this.options.isTrajectoryLine,this.options.isTrajectoryLine?this.selectAircraftService.trajectoryLineAircraft():this.selectAircraftService.unTrajectoryLineAircraft()}onToggleTrajectory(){this.options.isTrajectory=!this.options.isTrajectory,this.options.isTrajectory?this.selectAircraftService.trajectoryAircraft():this.selectAircraftService.unTrajectoryAircraft()}onToggleInterception(){this.options.isInterception=!this.options.isInterception,this.options.isInterception?this.selectAircraftService.interceptionAircraft():this.selectAircraftService.unInterceptionAircraft()}onToggleFocus(){this.options.isFocus=!this.options.isFocus,this.options.isFocus?this.selectAircraftService.focusAircraft():this.selectAircraftService.unFocusAircraft()}}},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function l(t,l,i){return t+" "+n(e[i],t,l)}function i(t,l,i){return n(e[i],t,l)}t.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:l,m:i,mm:l,h:i,hh:l,d:i,dd:l,M:i,MM:l,y:i,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},v2sB:function(t,e,n){"use strict";var l=n("g7xG"),i=n("7gqw"),r=n("ktNq");t.exports={countries:l,flagUrls:i,findFlagUrlByCountryName:r.findFlagUrlByCountryName,findFlagUrlByNationality:r.findFlagUrlByNationality,findFlagUrlByIso2Code:r.findFlagUrlByIso2Code,findFlagUrlByIso3Code:r.findFlagUrlByIso3Code}},v6R6:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("bujt"),r=n("Fwaw"),o=n("5GAg"),a=n("omvX"),s=n("oBZk"),u=n("ZZ/e"),c=n("s7LF");n("0XyG"),n("Py6u"),n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var d=l.Bb({encapsulation:0,styles:[[".fleet-item-csv[_ngcontent-%COMP%]{display:flex;justify-content:space-between}hr[_ngcontent-%COMP%]{border-top:1px solid #aaa}.fleet-item-csv-export[_ngcontent-%COMP%], .fleet-item-csv-import[_ngcontent-%COMP%]{padding:5px}.fleet-item-csv-import[_ngcontent-%COMP%]{border-left:1px solid #aaa}"]],data:{}});function h(t){return l.Yb(2,[l.Ub(671088640,1,{fileInput:0}),(t()(),l.Db(1,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,24,"div",[["class","fleet-item-csv"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,5,"div",[["class","fleet-item-csv-export"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.exportCsv()&&l),l}),i.b,i.a)),l.Cb(5,180224,null,0,r.b,[l.p,o.h,[2,a.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Export "])),(t()(),l.Db(7,0,null,0,1,"ion-icon",[["name","document"]],null,null,null,s.y,s.g)),l.Cb(8,49152,null,0,u.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(9,0,null,null,17,"div",[["class","fleet-item-csv-import"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"a",[["href","../../../../../../../../assets/fleet_item.exemple.csv"],["style","display: block;"],["target","_blank"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Example file"])),(t()(),l.Db(12,0,null,null,14,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,14).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,14).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.importCsv()&&i),i}),null,null)),l.Cb(13,16384,null,0,c.A,[],null,null),l.Cb(14,540672,null,0,c.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,c.c,null,[c.k]),l.Cb(16,16384,null,0,c.r,[[4,c.c]],null,null),(t()(),l.Db(17,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,5,"input",[["class","form-control"],["formControlName","file"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==l.Pb(t,19)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,19).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,19)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,19)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==r.onFileChange(n)&&i),i}),null,null)),l.Cb(19,16384,null,0,c.d,[l.M,l.p,[2,c.a]],null,null),l.Tb(1024,null,c.o,(function(t){return[t]}),[c.d]),l.Cb(21,671744,null,0,c.i,[[3,c.c],[8,null],[8,null],[6,c.o],[2,c.z]],{name:[0,"name"]},null),l.Tb(2048,null,c.p,null,[c.i]),l.Cb(23,16384,null,0,c.q,[[4,c.p]],null,null),(t()(),l.Db(24,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,i.b,i.a)),l.Cb(25,180224,null,0,r.b,[l.p,o.h,[2,a.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Import"])),(t()(),l.Db(27,0,null,null,0,"hr",[],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,5,0,"warn"),t(e,8,0,"document"),t(e,14,0,n.uploadForm),t(e,21,0,"file"),t(e,25,0,"warn")}),(function(t,e){t(e,4,0,l.Pb(e,5).disabled||null,"NoopAnimations"===l.Pb(e,5)._animationMode),t(e,12,0,l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending),t(e,18,0,l.Pb(e,23).ngClassUntouched,l.Pb(e,23).ngClassTouched,l.Pb(e,23).ngClassPristine,l.Pb(e,23).ngClassDirty,l.Pb(e,23).ngClassValid,l.Pb(e,23).ngClassInvalid,l.Pb(e,23).ngClassPending),t(e,24,0,l.Pb(e,25).disabled||null,"NoopAnimations"===l.Pb(e,25)._animationMode)}))}},vDCU:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>{const e=t.srcElement.id,n=t.srcElement.parentElement.parentElement.parentElement.parentElement.parentElement.children;for(let l of n)l.setAttribute("style",l.children[0].children[1].children[0].children[1].id!==e?"z-index: 0 !important;":"z-index: 1000 !important;")}},vkgz:function(t,e,n){"use strict";var l=n("7o/Q");function i(){}var r=n("n6bG");function o(t,e,n){return function(l){return l.lift(new a(t,e,n))}}n.d(e,"a",(function(){return o}));class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))}}class s extends l.a{constructor(t,e,n,l){super(t),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=l||i,Object(r.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||i,this._tapError=e.error||i,this._tapComplete=e.complete||i)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vvg4:function(t,e,n){"use strict";function l(t,e,n,l,i,r){for(var o=r||[],a=0,s=e;s<n;s+=l){var u=t[s],c=t[s+1];o[a++]=i[0]*u+i[2]*c+i[4],o[a++]=i[1]*u+i[3]*c+i[5]}return r&&o.length!=a&&(o.length=a),o}function i(t,e,n,l,i,r,o){for(var a=o||[],s=Math.cos(i),u=Math.sin(i),c=r[0],d=r[1],h=0,p=e;p<n;p+=l){var f=t[p]-c,b=t[p+1]-d;a[h++]=c+f*s-b*u,a[h++]=d+f*u+b*s;for(var m=p+2;m<p+l;++m)a[h++]=t[m]}return o&&a.length!=h&&(a.length=h),a}function r(t,e,n,l,i,r,o,a){for(var s=a||[],u=o[0],c=o[1],d=0,h=e;h<n;h+=l){var p=t[h+1]-c;s[d++]=u+i*(t[h]-u),s[d++]=c+r*p;for(var f=h+2;f<h+l;++f)s[d++]=t[f]}return a&&s.length!=d&&(s.length=d),s}function o(t,e,n,l,i,r,o){for(var a=o||[],s=0,u=e;u<n;u+=l){a[s++]=t[u]+i,a[s++]=t[u+1]+r;for(var c=u+2;c<u+l;++c)a[s++]=t[c]}return o&&a.length!=s&&(a.length=s),a}n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o}))},"w+w1":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("wd/R"),i=n("0Ba5"),r=n("pWiS"),o=n("XNiG"),a=n("2BCK"),s=n("v2sB");class u{constructor(t,e=!0){this.military=!1,this.iconName="default",this.iconNameSubject=new o.a,this.trace=void 0,this.isUpdated=!0,this.pictureUrl="",this.icao=t.icao,this.createdAt=t.createdAt?l(t.createdAt).valueOf():0,e&&this.updateBboxAircraft(t)}updateBboxAircraft(t){const e=t.updatedAt?l(t.updatedAt).valueOf():0;(!this.updatedAt||this.updatedAt<e)&&(this.updatedAt=e,this.longitude=t.longitude,this.latitude=t.latitude,this.altitude=t.altitude,this.altitudeGps=t.altitudeGps,this.inhg=t.inhg,this.track=t.track,this.speed=t.speed,this.vsi=t.vsi,this.callsign=t.callsign,this.ground=t.ground,this.squawk=t.squawk,this.etd=t.etd?l(t.etd).valueOf():null,this.eta=t.eta?l(t.eta).valueOf():null,this.military=t.military,this.mlat=t.mlat,this.providers=t.providers,this.fromIcao=t.fromIcao,this.toIcao=t.toIcao,this.operatorIcao=t.operatorIcao,this.registration=t.registration,this.country=t.country,this.userTags=t.userTags,this.icaoTypeCode=t.icaoTypeCode,t.iconName&&this.iconName!==t.iconName&&this.iconNameSubject.next(t.iconName),this.iconName=t.iconName?t.iconName:"default",this.updateMetaAircraft(t))}updateTripAircraft(t){this.isUpdated=!0,this.operatorName=t.operatorName,this.operatorIata=t.operatorIata,this.model=t.type,this.registeredOwners=t.registered_owners,this.homeAerodromeDGAC=t.homeAerodromeDGAC,this.addressOwnerDGAC=t.addressOwnerDGAC,this.stopsIcao=t.stopsIcao,t.fromAirport&&(this.fromAirport=t.fromAirport),t.toAirport&&(this.toAirport=t.toAirport),t.trace&&(this.trace=new a.b(this.icao,t.trace)),this.ctlAgency=t.ctlAgency,this.updateMetaAircraft(t)}updateWithPosition(t){this.longitude=t.longitude,this.latitude=t.latitude,this.altitude=t.altitude,this.altitudeGps=t.altitudeGps,this.inhg=t.inhg,this.track=t.track,this.speed=t.speed,this.vsi=t.vsi,this.callsign=t.callsign,this.ground=t.ground,this.squawk=t.squawk,this.etd=t.etd?l(t.etd).valueOf():null,this.eta=t.eta?l(t.eta).valueOf():null,this.military=t.military,this.mlat=t.mlat,this.providers=t.providers,this.iconName="default",this.updatedAt=l(t.updatedAt).valueOf(),this.updateMetaAircraft(t)}createTraceWithPositions(t,e){this.trace=new a.b(t.icao,e)}updateMetaAircraft(t){this.ias=t.ias,this.tas=t.tas,this.mach=t.mach,this.trackRate=t.trackRate,this.roll=t.roll,this.magHeading=t.magHeading,this.trueHeading=t.trueHeading,this.baroRate=t.baroRate,this.geomRate=t.geomRate,this.category=t.category,this.navAltitudeMcp=t.navAltitudeMcp,this.navAltitudeFms=t.navAltitudeFms,this.navHeading=t.navHeading,this.navModes=t.navModes,this.nic=t.nic,this.rc=t.rc,this.version=t.version,this.nicBaro=t.nicBaro,this.nacP=t.nacP,this.nacV=t.nacV,this.sil=t.sil,this.silType=t.silType,this.gva=t.gva,this.sda=t.sda,this.mlat=t.mlat,this.tisb=t.tisb,this.rssi=t.rssi,this.emergency=t.emergency,this.alert=t.alert,this.spi=t.spi,this.wd=t.wd,this.ws=t.ws,this.oat=t.oat,this.tat=t.tat,this.messages=t.messages}getTableObject(t){const e={icao:this.icao};for(const n of t)e[n]="route"===n?(this.fromIcao?this.fromIcao:"????")+" - "+(this.toIcao?this.toIcao:"????"):"country"===n&&this[n]?Object(s.findFlagUrlByCountryName)(this[n]):this[n];return e}getMachSpeed(){return(this.speed/666.739).toFixed(3)}getMinutesToGround(t){return this.vsi<(t||0)?this.altitude/-this.vsi:null}getProvidersString(){return!this.providers||this.providers.length<=0?"????":this.providers.join(", ")}getPositionDegre(){return i(this.latitude,this.longitude).format("-dd")}getProvidersType(){return null}getPosition(){return Object(r.e)([this.longitude,this.latitude],0)}getIconStatus(){return this.ground?"on-ground-aircraft.svg":this.vsi>=100?"departing-aircraft.svg":this.vsi<=-100?"arriving-aircraft.svg":"airborne-aircraft.svg"}}},w1tV:function(t,e,n){"use strict";var l=n("XNiG"),i=n("HDdC"),r=n("7o/Q"),o=n("quSY");function a(){return function(t){return t.lift(new s(t))}}class s{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const l=new u(t,n),i=e.subscribe(l);return l.closed||(l.connection=n.connect()),i}}class u extends r.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,l=t._connection;this.connection=null,!l||n&&l!==n||l.unsubscribe()}}class c extends i.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.a,t.add(this.source.subscribe(new h(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}refCount(){return a()(this)}}const d=(()=>{const t=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class h extends l.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new l.a}function f(){return t=>{return a()((e=p,function(t){let n;n="function"==typeof e?e:function(){return e};const l=Object.create(t,d);return l.source=t,l.subjectFactory=n,l})(t));var e}}n.d(e,"a",(function(){return f}))},wBRQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("/Mhs");var l=n("8Y7J");let i=(()=>{class t{constructor(){this.fleetFilter=[],this.searchStr=void 0}getSearchStr(){return this.searchStr}setSearchStr(t){this.searchStr=t}getFleetFilter(){return this.fleetFilter}toggleFleetFilter(t){this.fleetFilter.some(e=>e.id===t.id)?this.fleetFilter=this.fleetFilter.filter(e=>e.id!==t.id):this.fleetFilter.push(t)}setFleetFilter(t,e){e&&!this.fleetFilter.some(e=>e.id===t.id)?this.fleetFilter.push(t):e||(this.fleetFilter=this.fleetFilter.filter(e=>e.id!==t.id))}focusIsActive(){return this.fleetFilter.length>0||void 0!==this.searchStr}aircraftMatch(t){if(this.fleetFilter.length<=0&&void 0===this.searchStr)return!0;if(this.fleetFilter.length>0)for(const e of this.fleetFilter)if(this.matchWithFleet(e,t))return!0;return!(void 0===this.searchStr||![t.callsign,t.registration,t.icaoTypeCode,t.squawk,String(t.altitude),t.fromIcao,t.toIcao,t.icao].some(t=>t&&t.toLowerCase().includes(this.searchStr.toLowerCase())))}matchWithFleet(t,e){if(t&&t.fleetItems&&Array.isArray(t.fleetItems)){if("||"===t.logicalOperator)return t.fleetItems.some(t=>this.matchWithFleetItem(t,e));if("&&"===t.logicalOperator)return t.fleetItems.every(t=>this.matchWithFleetItem(t,e))}return!1}matchWithFleetItem(t,e){if("mlat"===t.field){const n=Array.isArray(e.mlat)&&e.mlat.length>0;return"true"===t.value?n:!n}return"military"===t.field?"true"===t.value?!0===e.military:!0!==e.military:"eq"===t.operator&&e[t.field]?e[t.field]===t.value:!("cont"!==t.operator||!e[t.field])&&String(e[t.field]).includes(t.value)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},wQk9:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},"wd/R":function(t,e,n){(function(t){t.exports=function(){"use strict";var e,l;function i(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function u(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function h(t,e){var n,l=[];for(n=0;n<t.length;++n)l.push(e(t[n],n));return l}function p(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,l){return Pe(t,e,n,l,!0).utc()}function b(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=b(t),n=l.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function g(t){var e=f(NaN);return null!=t?p(b(e),t):b(e).userInvalidated=!0,e}l=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),l=n.length>>>0;for(e=0;e<l;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var _=i.momentProperties=[],y=!1;function A(t,e){var n,l,i;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=b(e)),u(e._locale)||(t._locale=e._locale),_.length>0)for(n=0;n<_.length;n++)u(i=e[l=_[n]])||(t[l]=i);return t}function v(t){A(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,i.updateOffset(this),y=!1)}function C(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function w(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function P(t,e){var n=!0;return p((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){var l,r,o,s=[];for(r=0;r<arguments.length;r++){if(l="","object"==typeof arguments[r]){for(o in l+="\n["+r+"] ",arguments[0])a(arguments[0],o)&&(l+=o+": "+arguments[0][o]+", ");l=l.slice(0,-2)}else l=arguments[r];s.push(l)}w(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var x,S={};function k(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),S[t]||(w(e),S[t]=!0)}function M(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function O(t,e){var n,l=p({},t);for(n in e)a(e,n)&&(o(t[n])&&o(e[n])?(l[n]={},p(l[n],t[n]),p(l[n],e[n])):null!=e[n]?l[n]=e[n]:delete l[n]);for(n in t)a(t,n)&&!a(e,n)&&o(t[n])&&(l[n]=p({},l[n]));return l}function D(t){null!=t&&this.set(t)}function T(t,e,n){var l=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-l.length)).toString().substr(1)+l}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,x=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)a(t,e)&&n.push(e);return n};var E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},j={};function R(t,e,n,l){var i=l;"string"==typeof l&&(i=function(){return this[l]()}),t&&(j[t]=i),e&&(j[e[0]]=function(){return T(i.apply(this,arguments),e[1],e[2])}),n&&(j[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function F(t,e){return t.isValid()?(e=N(e,t.localeData()),L[e]=L[e]||function(t){var e,n,l,i=t.match(E);for(e=0,n=i.length;e<n;e++)i[e]=j[i[e]]?j[i[e]]:(l=i[e]).match(/\[[\s\S]/)?l.replace(/^\[|\]$/g,""):l.replace(/\\/g,"");return function(e){var l,r="";for(l=0;l<n;l++)r+=M(i[l])?i[l].call(e,t):i[l];return r}}(e),L[e](t)):t.localeData().invalidDate()}function N(t,e){var n=5;function l(t){return e.longDateFormat(t)||t}for(I.lastIndex=0;n>=0&&I.test(t);)t=t.replace(I,l),I.lastIndex=0,n-=1;return t}var Y={};function U(t,e){var n=t.toLowerCase();Y[n]=Y[n+"s"]=Y[e]=t}function B(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function z(t){var e,n,l={};for(n in t)a(t,n)&&(e=B(n))&&(l[e]=t[n]);return l}var G={};function H(t,e){G[t]=e}function V(t){return t%4==0&&t%100!=0||t%400==0}function q(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function W(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=q(e)),n}function $(t,e){return function(n){return null!=n?(K(this,t,n),i.updateOffset(this,e),this):X(this,t)}}function X(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function K(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&V(t.year())&&1===t.month()&&29===t.date()?(n=W(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ct(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var J,Q=/\d/,Z=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,lt=/\d\d?/,it=/\d\d\d\d?/,rt=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,at=/\d{1,4}/,st=/[+-]?\d{1,6}/,ut=/\d+/,ct=/[+-]?\d+/,dt=/Z|[+-]\d\d:?\d\d/gi,ht=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ft(t,e,n){J[t]=M(e)?e:function(t,l){return t&&n?n:e}}function bt(t,e){return a(J,t)?J[t](e._strict,e._locale):new RegExp(mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,l,i){return e||n||l||i}))))}function mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var gt,_t={};function yt(t,e){var n,l=e;for("string"==typeof t&&(t=[t]),c(e)&&(l=function(t,n){n[e]=W(t)}),n=0;n<t.length;n++)_t[t[n]]=l}function At(t,e){yt(t,(function(t,n,l,i){l._w=l._w||{},e(t,l._w,l,i)}))}function vt(t,e,n){null!=e&&a(_t,t)&&_t[t](e,n._a,n,t)}function Ct(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?V(t)?29:28:31-n%7%2}gt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},R("M",["MM",2],"Mo",(function(){return this.month()+1})),R("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),R("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),U("month","M"),H("month",8),ft("M",lt),ft("MM",lt,Z),ft("MMM",(function(t,e){return e.monthsShortRegex(t)})),ft("MMMM",(function(t,e){return e.monthsRegex(t)})),yt(["M","MM"],(function(t,e){e[1]=W(t)-1})),yt(["MMM","MMMM"],(function(t,e,n,l){var i=n._locale.monthsParse(t,l,n._strict);null!=i?e[1]=i:b(n).invalidMonth=t}));var wt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Pt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),xt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,St=pt,kt=pt;function Mt(t,e,n){var l,i,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],l=0;l<12;++l)r=f([2e3,l]),this._shortMonthsParse[l]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[l]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=gt.call(this._shortMonthsParse,o))?i:null:-1!==(i=gt.call(this._longMonthsParse,o))?i:null:"MMM"===e?-1!==(i=gt.call(this._shortMonthsParse,o))||-1!==(i=gt.call(this._longMonthsParse,o))?i:null:-1!==(i=gt.call(this._longMonthsParse,o))||-1!==(i=gt.call(this._shortMonthsParse,o))?i:null}function Ot(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=W(e);else if(!c(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ct(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Dt(t){return null!=t?(Ot(this,t),i.updateOffset(this,!0),this):X(this,"Month")}function Tt(){function t(t,e){return e.length-t.length}var e,n,l=[],i=[],r=[];for(e=0;e<12;e++)n=f([2e3,e]),l.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(l.sort(t),i.sort(t),r.sort(t),e=0;e<12;e++)l[e]=mt(l[e]),i[e]=mt(i[e]);for(e=0;e<24;e++)r[e]=mt(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+l.join("|")+")","i")}function Et(t){return V(t)?366:365}R("Y",0,0,(function(){var t=this.year();return t<=9999?T(t,4):"+"+t})),R(0,["YY",2],0,(function(){return this.year()%100})),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),U("year","y"),H("year",1),ft("Y",ct),ft("YY",lt,Z),ft("YYYY",at,et),ft("YYYYY",st,nt),ft("YYYYYY",st,nt),yt(["YYYYY","YYYYYY"],0),yt("YYYY",(function(t,e){e[0]=2===t.length?i.parseTwoDigitYear(t):W(t)})),yt("YY",(function(t,e){e[0]=i.parseTwoDigitYear(t)})),yt("Y",(function(t,e){e[0]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return W(t)+(W(t)>68?1900:2e3)};var It=$("FullYear",!0);function Lt(t,e,n,l,i,r,o){var a;return t<100&&t>=0?(a=new Date(t+400,e,n,l,i,r,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,l,i,r,o),a}function jt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Rt(t,e,n){var l=7+e-n;return-(7+jt(t,0,l).getUTCDay()-e)%7+l-1}function Ft(t,e,n,l,i){var r,o,a=1+7*(e-1)+(7+n-l)%7+Rt(t,l,i);return a<=0?o=Et(r=t-1)+a:a>Et(t)?(r=t+1,o=a-Et(t)):(r=t,o=a),{year:r,dayOfYear:o}}function Nt(t,e,n){var l,i,r=Rt(t.year(),e,n),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?l=o+Yt(i=t.year()-1,e,n):o>Yt(t.year(),e,n)?(l=o-Yt(t.year(),e,n),i=t.year()+1):(i=t.year(),l=o),{week:l,year:i}}function Yt(t,e,n){var l=Rt(t,e,n),i=Rt(t+1,e,n);return(Et(t)-l+i)/7}function Ut(t,e){return t.slice(e,7).concat(t.slice(0,e))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),H("week",5),H("isoWeek",5),ft("w",lt),ft("ww",lt,Z),ft("W",lt),ft("WW",lt,Z),At(["w","ww","W","WW"],(function(t,e,n,l){e[l.substr(0,1)]=W(t)})),R("d",0,"do","day"),R("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),R("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),R("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),ft("d",lt),ft("e",lt),ft("E",lt),ft("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ft("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ft("dddd",(function(t,e){return e.weekdaysRegex(t)})),At(["dd","ddd","dddd"],(function(t,e,n,l){var i=n._locale.weekdaysParse(t,l,n._strict);null!=i?e.d=i:b(n).invalidWeekday=t})),At(["d","e","E"],(function(t,e,n,l){e[l]=W(t)}));var Bt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ht=pt,Vt=pt,qt=pt;function Wt(t,e,n){var l,i,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],l=0;l<7;++l)r=f([2e3,1]).day(l),this._minWeekdaysParse[l]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[l]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[l]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=gt.call(this._weekdaysParse,o))?i:null:"ddd"===e?-1!==(i=gt.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:"dddd"===e?-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._shortWeekdaysParse,o))||-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:"ddd"===e?-1!==(i=gt.call(this._shortWeekdaysParse,o))||-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:-1!==(i=gt.call(this._minWeekdaysParse,o))||-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._shortWeekdaysParse,o))?i:null}function $t(){function t(t,e){return e.length-t.length}var e,n,l,i,r,o=[],a=[],s=[],u=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),l=mt(this.weekdaysMin(n,"")),i=mt(this.weekdaysShort(n,"")),r=mt(this.weekdays(n,"")),o.push(l),a.push(i),s.push(r),u.push(l),u.push(i),u.push(r);o.sort(t),a.sort(t),s.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Kt(t,e){R(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Jt(t,e){return e._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Xt),R("k",["kk",2],0,(function(){return this.hours()||24})),R("hmm",0,0,(function(){return""+Xt.apply(this)+T(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+Xt.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Kt("a",!0),Kt("A",!1),U("hour","h"),H("hour",13),ft("a",Jt),ft("A",Jt),ft("H",lt),ft("h",lt),ft("k",lt),ft("HH",lt,Z),ft("hh",lt,Z),ft("kk",lt,Z),ft("hmm",it),ft("hmmss",rt),ft("Hmm",it),ft("Hmmss",rt),yt(["H","HH"],3),yt(["k","kk"],(function(t,e,n){var l=W(t);e[3]=24===l?0:l})),yt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),yt(["h","hh"],(function(t,e,n){e[3]=W(t),b(n).bigHour=!0})),yt("hmm",(function(t,e,n){var l=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l)),b(n).bigHour=!0})),yt("hmmss",(function(t,e,n){var l=t.length-4,i=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l,2)),e[5]=W(t.substr(i)),b(n).bigHour=!0})),yt("Hmm",(function(t,e,n){var l=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l))})),yt("Hmmss",(function(t,e,n){var l=t.length-4,i=t.length-2;e[3]=W(t.substr(0,l)),e[4]=W(t.substr(l,2)),e[5]=W(t.substr(i))}));var Qt,Zt=$("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:wt,monthsShort:Pt,week:{dow:0,doy:6},weekdays:Bt,weekdaysMin:Gt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function le(t,e){var n,l=Math.min(t.length,e.length);for(n=0;n<l;n+=1)if(t[n]!==e[n])return n;return l}function ie(t){return t?t.toLowerCase().replace("_","-"):t}function re(e){var l=null;if(void 0===ee[e]&&void 0!==t&&t&&t.exports)try{l=Qt._abbr,n("RnhZ")("./"+e),oe(l)}catch(i){ee[e]=null}return ee[e]}function oe(t,e){var n;return t&&((n=u(e)?se(t):ae(t,e))?Qt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function ae(t,e){if(null!==e){var n,l=te;if(e.abbr=t,null!=ee[t])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),l=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])l=ee[e.parentLocale]._config;else{if(null==(n=re(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;l=n._config}return ee[t]=new D(O(l,e)),ne[t]&&ne[t].forEach((function(t){ae(t.name,t.config)})),oe(t),ee[t]}return delete ee[t],null}function se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!r(t)){if(e=re(t))return e;t=[t]}return function(t){for(var e,n,l,i,r=0;r<t.length;){for(e=(i=ie(t[r]).split("-")).length,n=(n=ie(t[r+1]))?n.split("-"):null;e>0;){if(l=re(i.slice(0,e).join("-")))return l;if(n&&n.length>=e&&le(i,n)>=e-1)break;e--}r++}return Qt}(t)}function ue(t){var e,n=t._a;return n&&-2===b(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ct(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,b(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),b(t)._overflowWeeks&&-1===e&&(e=7),b(t)._overflowWeekday&&-1===e&&(e=8),b(t).overflow=e),t}var ce=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,de=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],fe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],be=/^\/?Date\((-?\d+)/i,me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ge={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,n,l,i,r,o,a=t._i,s=ce.exec(a)||de.exec(a);if(s){for(b(t).iso=!0,e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(s[1])){i=pe[e][0],l=!1!==pe[e][2];break}if(null==i)return void(t._isValid=!1);if(s[3]){for(e=0,n=fe.length;e<n;e++)if(fe[e][1].exec(s[3])){r=(s[2]||" ")+fe[e][0];break}if(null==r)return void(t._isValid=!1)}if(!l&&null!=r)return void(t._isValid=!1);if(s[4]){if(!he.exec(s[4]))return void(t._isValid=!1);o="Z"}t._f=i+(r||"")+(o||""),Ce(t)}else t._isValid=!1}function ye(t){var e,n,l,i,r,o,a,s,u,c=me.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[3],l=c[2],i=c[5],r=c[6],o=c[7],a=[(s=c[4],u=parseInt(s,10),u<=49?2e3+u:u<=999?1900+u:u),Pt.indexOf(n),parseInt(l,10),parseInt(i,10),parseInt(r,10)],o&&a.push(parseInt(o,10)),!function(t,e,n){return!t||zt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(b(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],e=a,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return ge[t];if(e)return 0;var l=parseInt(n,10),i=l%100;return(l-i)/100*60+i}(c[8],c[9],c[10]),t._d=jt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),b(t).rfc2822=!0}else t._isValid=!1}function Ae(t,e,n){return null!=t?t:null!=e?e:n}function ve(t){var e,n,l,r,o,a=[];if(!t._d){for(l=function(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,l,i,r,o,a,s,u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(r=1,o=4,n=Ae(e.GG,t._a[0],Nt(xe(),1,4).year),l=Ae(e.W,1),((i=Ae(e.E,1))<1||i>7)&&(s=!0)):(r=t._locale._week.dow,o=t._locale._week.doy,u=Nt(xe(),r,o),n=Ae(e.gg,t._a[0],u.year),l=Ae(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(s=!0):null!=e.e?(i=e.e+r,(e.e<0||e.e>6)&&(s=!0)):i=r),l<1||l>Yt(n,r,o)?b(t)._overflowWeeks=!0:null!=s?b(t)._overflowWeekday=!0:(a=Ft(n,l,i,r,o),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=Ae(t._a[0],l[0]),(t._dayOfYear>Et(o)||0===t._dayOfYear)&&(b(t)._overflowDayOfYear=!0),n=jt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=l[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?jt:Lt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(b(t).weekdayMismatch=!0)}}function Ce(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],b(t).empty=!0;var e,n,l,r,o,a,s=""+t._i,u=s.length,c=0;for(l=N(t._f,t._locale).match(E)||[],e=0;e<l.length;e++)(n=(s.match(bt(r=l[e],t))||[])[0])&&((o=s.substr(0,s.indexOf(n))).length>0&&b(t).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),c+=n.length),j[r]?(n?b(t).empty=!1:b(t).unusedTokens.push(r),vt(r,n,t)):t._strict&&!n&&b(t).unusedTokens.push(r);b(t).charsLeftOver=u-c,s.length>0&&b(t).unusedInput.push(s),t._a[3]<=12&&!0===b(t).bigHour&&t._a[3]>0&&(b(t).bigHour=void 0),b(t).parsedDateParts=t._a.slice(0),b(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var l;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((l=t.isPM(n))&&e<12&&(e+=12),l||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(a=b(t).era)&&(t._a[0]=t._locale.erasConvertYear(a,t._a[0])),ve(t),ue(t)}else ye(t);else _e(t)}function we(t){var e=t._i,n=t._f;return t._locale=t._locale||se(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),C(e)?new v(ue(e)):(d(e)?t._d=e:r(n)?function(t){var e,n,l,i,r,o,a=!1;if(0===t._f.length)return b(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)r=0,o=!1,e=A({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Ce(e),m(e)&&(o=!0),r+=b(e).charsLeftOver,r+=10*b(e).unusedTokens.length,b(e).score=r,a?r<l&&(l=r,n=e):(null==l||r<l||o)&&(l=r,n=e,o&&(a=!0));p(t,n||e)}(t):n?Ce(t):function(t){var e=t._i;u(e)?t._d=new Date(i.now()):d(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=be.exec(t._i);null===e?(_e(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):r(e)?(t._a=h(e.slice(0),(function(t){return parseInt(t,10)})),ve(t)):o(e)?function(t){if(!t._d){var e=z(t._i);t._a=h([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),ve(t)}}(t):c(e)?t._d=new Date(e):i.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function Pe(t,e,n,l,i){var a,u={};return!0!==e&&!1!==e||(l=e,e=void 0),!0!==n&&!1!==n||(l=n,n=void 0),(o(t)&&s(t)||r(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=t,u._f=e,u._strict=l,(a=new v(ue(we(u))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function xe(t,e,n,l){return Pe(t,e,n,l,!1)}i.createFromInputFallback=P("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Se=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()})),ke=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}));function Me(t,e){var n,l;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return xe();for(n=e[0],l=1;l<e.length;++l)e[l].isValid()&&!e[l][t](n)||(n=e[l]);return n}var Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function De(t){var e=z(t),n=e.year||0,l=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._isValid=function(t){var e,n,l=!1;for(e in t)if(a(t,e)&&(-1===gt.call(Oe,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Oe.length;++n)if(t[Oe[n]]){if(l)return!1;parseFloat(t[Oe[n]])!==W(t[Oe[n]])&&(l=!0)}return!0}(e),this._milliseconds=+d+1e3*c+6e4*u+1e3*s*60*60,this._days=+o+7*r,this._months=+i+3*l+12*n,this._data={},this._locale=se(),this._bubble()}function Te(t){return t instanceof De}function Ee(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ie(t,e){R(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+T(~~(t/60),2)+e+T(~~t%60,2)}))}Ie("Z",":"),Ie("ZZ",""),ft("Z",ht),ft("ZZ",ht),yt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=je(ht,t)}));var Le=/([\+\-]|\d\d)/gi;function je(t,e){var n,l,i=(e||"").match(t);return null===i?null:0===(l=60*(n=((i[i.length-1]||[])+"").match(Le)||["-",0,0])[1]+W(n[2]))?0:"+"===n[0]?l:-l}function Re(t,e){var n,l;return e._isUTC?(n=e.clone(),l=(C(t)||d(t)?t.valueOf():xe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+l),i.updateOffset(n,!1),n):xe(t).local()}function Fe(t){return-Math.round(t._d.getTimezoneOffset())}function Ne(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Ye=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ue=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Be(t,e){var n,l,i,r,o,s,u=t,d=null;return Te(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:c(t)||!isNaN(+t)?(u={},e?u[e]=+t:u.milliseconds=+t):(d=Ye.exec(t))?(n="-"===d[1]?-1:1,u={y:0,d:W(d[2])*n,h:W(d[3])*n,m:W(d[4])*n,s:W(d[5])*n,ms:W(Ee(1e3*d[6]))*n}):(d=Ue.exec(t))?u={y:ze(d[2],n="-"===d[1]?-1:1),M:ze(d[3],n),w:ze(d[4],n),d:ze(d[5],n),h:ze(d[6],n),m:ze(d[7],n),s:ze(d[8],n)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(r=xe(u.from),o=xe(u.to),i=r.isValid()&&o.isValid()?(o=Re(o,r),r.isBefore(o)?s=Ge(r,o):((s=Ge(o,r)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),l=new De(u),Te(t)&&a(t,"_locale")&&(l._locale=t._locale),Te(t)&&a(t,"_isValid")&&(l._isValid=t._isValid),l}function ze(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ge(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function He(t,e){return function(n,l){var i;return null===l||isNaN(+l)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=l,l=i),Ve(this,Be(n,l),t),this}}function Ve(t,e,n,l){var r=e._milliseconds,o=Ee(e._days),a=Ee(e._months);t.isValid()&&(l=null==l||l,a&&Ot(t,X(t,"Month")+a*n),o&&K(t,"Date",X(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),l&&i.updateOffset(t,o||a))}Be.fn=De.prototype,Be.invalid=function(){return Be(NaN)};var qe=He(1,"add"),We=He(-1,"subtract");function $e(t){return"string"==typeof t||t instanceof String}function Xe(t){return C(t)||d(t)||$e(t)||c(t)||function(t){var e=r(t),n=!1;return e&&(n=0===t.filter((function(e){return!c(e)&&$e(t)})).length),e&&n}(t)||function(t){var e,n=o(t)&&!s(t),l=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<i.length;e+=1)l=l||a(t,i[e]);return n&&l}(t)||null==t}function Ke(t){var e,n=o(t)&&!s(t),l=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<i.length;e+=1)l=l||a(t,i[e]);return n&&l}function Je(t,e){if(t.date()<e.date())return-Je(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),l=t.clone().add(n,"months");return-(n+(e-l<0?(e-l)/(l-t.clone().add(n-1,"months")):(e-l)/(t.clone().add(n+1,"months")-l)))||0}function Qe(t){var e;return void 0===t?this._locale._abbr:(null!=(e=se(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ze=P("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function tn(){return this._locale}function en(t,e){return(t%e+e)%e}function nn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function ln(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function rn(t,e){return e.erasAbbrRegex(t)}function on(){var t,e,n=[],l=[],i=[],r=[],o=this.eras();for(t=0,e=o.length;t<e;++t)l.push(mt(o[t].name)),n.push(mt(o[t].abbr)),i.push(mt(o[t].narrow)),r.push(mt(o[t].name)),r.push(mt(o[t].abbr)),r.push(mt(o[t].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+l.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function an(t,e){R(0,[t,t.length],0,e)}function sn(t,e,n,l,i){var r;return null==t?Nt(this,l,i).year:(e>(r=Yt(t,l,i))&&(e=r),un.call(this,t,e,n,l,i))}function un(t,e,n,l,i){var r=Ft(t,e,n,l,i),o=jt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),ft("N",rn),ft("NN",rn),ft("NNN",rn),ft("NNNN",(function(t,e){return e.erasNameRegex(t)})),ft("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),yt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,l){var i=n._locale.erasParse(t,l,n._strict);i?b(n).era=i:b(n).invalidEra=t})),ft("y",ut),ft("yy",ut),ft("yyy",ut),ft("yyyy",ut),ft("yo",(function(t,e){return e._eraYearOrdinalRegex||ut})),yt(["y","yy","yyy","yyyy"],0),yt(["yo"],(function(t,e,n,l){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),e[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,i):parseInt(t,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),ft("G",ct),ft("g",ct),ft("GG",lt,Z),ft("gg",lt,Z),ft("GGGG",at,et),ft("gggg",at,et),ft("GGGGG",st,nt),ft("ggggg",st,nt),At(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,l){e[l.substr(0,2)]=W(t)})),At(["gg","GG"],(function(t,e,n,l){e[l]=i.parseTwoDigitYear(t)})),R("Q",0,"Qo","quarter"),U("quarter","Q"),H("quarter",7),ft("Q",Q),yt("Q",(function(t,e){e[1]=3*(W(t)-1)})),R("D",["DD",2],"Do","date"),U("date","D"),H("date",9),ft("D",lt),ft("DD",lt,Z),ft("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),yt(["D","DD"],2),yt("Do",(function(t,e){e[2]=W(t.match(lt)[0])}));var cn=$("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),H("dayOfYear",4),ft("DDD",ot),ft("DDDD",tt),yt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=W(t)})),R("m",["mm",2],0,"minute"),U("minute","m"),H("minute",14),ft("m",lt),ft("mm",lt,Z),yt(["m","mm"],4);var dn=$("Minutes",!1);R("s",["ss",2],0,"second"),U("second","s"),H("second",15),ft("s",lt),ft("ss",lt,Z),yt(["s","ss"],5);var hn,pn,fn=$("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),U("millisecond","ms"),H("millisecond",16),ft("S",ot,Q),ft("SS",ot,Z),ft("SSS",ot,tt),hn="SSSS";hn.length<=9;hn+="S")ft(hn,ut);function bn(t,e){e[6]=W(1e3*("0."+t))}for(hn="S";hn.length<=9;hn+="S")yt(hn,bn);pn=$("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var mn=v.prototype;function gn(t){return t}mn.add=qe,mn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Xe(arguments[0])?(t=arguments[0],e=void 0):Ke(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||xe(),l=Re(n,this).startOf("day"),r=i.calendarFormat(this,l)||"sameElse",o=e&&(M(e[r])?e[r].call(this,n):e[r]);return this.format(o||this.localeData().calendar(r,this,xe(n)))},mn.clone=function(){return new v(this)},mn.diff=function(t,e,n){var l,i,r;if(!this.isValid())return NaN;if(!(l=Re(t,this)).isValid())return NaN;switch(i=6e4*(l.utcOffset()-this.utcOffset()),e=B(e)){case"year":r=Je(this,l)/12;break;case"month":r=Je(this,l);break;case"quarter":r=Je(this,l)/3;break;case"second":r=(this-l)/1e3;break;case"minute":r=(this-l)/6e4;break;case"hour":r=(this-l)/36e5;break;case"day":r=(this-l-i)/864e5;break;case"week":r=(this-l-i)/6048e5;break;default:r=this-l}return n?r:q(r)},mn.endOf=function(t){var e,n;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?ln:nn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-en(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-en(e,1e3)-1}return this._d.setTime(e),i.updateOffset(this,!0),this},mn.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=F(this,t);return this.localeData().postformat(e)},mn.from=function(t,e){return this.isValid()&&(C(t)&&t.isValid()||xe(t).isValid())?Be({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.fromNow=function(t){return this.from(xe(),t)},mn.to=function(t,e){return this.isValid()&&(C(t)&&t.isValid()||xe(t).isValid())?Be({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.toNow=function(t){return this.to(xe(),t)},mn.get=function(t){return M(this[t=B(t)])?this[t]():this},mn.invalidAt=function(){return b(this).overflow},mn.isAfter=function(t,e){var n=C(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},mn.isBefore=function(t,e){var n=C(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},mn.isBetween=function(t,e,n,l){var i=C(t)?t:xe(t),r=C(e)?e:xe(e);return!!(this.isValid()&&i.isValid()&&r.isValid())&&("("===(l=l||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===l[1]?this.isBefore(r,n):!this.isAfter(r,n))},mn.isSame=function(t,e){var n,l=C(t)?t:xe(t);return!(!this.isValid()||!l.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()===l.valueOf():(n=l.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},mn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},mn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},mn.isValid=function(){return m(this)},mn.lang=Ze,mn.locale=Qe,mn.localeData=tn,mn.max=ke,mn.min=Se,mn.parsingFlags=function(){return p({},b(this))},mn.set=function(t,e){if("object"==typeof t){var n,l=function(t){var e,n=[];for(e in t)a(t,e)&&n.push({unit:e,priority:G[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=z(t));for(n=0;n<l.length;n++)this[l[n].unit](t[l[n].unit])}else if(M(this[t=B(t)]))return this[t](e);return this},mn.startOf=function(t){var e,n;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?ln:nn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=en(e,6e4);break;case"second":e=this._d.valueOf(),e-=en(e,1e3)}return this._d.setTime(e),i.updateOffset(this,!0),this},mn.subtract=We,mn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},mn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},mn.toDate=function(){return new Date(this.valueOf())},mn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?F(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",l="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",l="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+l+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(mn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),mn.toJSON=function(){return this.isValid()?this.toISOString():null},mn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mn.unix=function(){return Math.floor(this.valueOf()/1e3)},mn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mn.eraName=function(){var t,e,n,l=this.localeData().eras();for(t=0,e=l.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),l[t].since<=n&&n<=l[t].until)return l[t].name;if(l[t].until<=n&&n<=l[t].since)return l[t].name}return""},mn.eraNarrow=function(){var t,e,n,l=this.localeData().eras();for(t=0,e=l.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),l[t].since<=n&&n<=l[t].until)return l[t].narrow;if(l[t].until<=n&&n<=l[t].since)return l[t].narrow}return""},mn.eraAbbr=function(){var t,e,n,l=this.localeData().eras();for(t=0,e=l.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),l[t].since<=n&&n<=l[t].until)return l[t].abbr;if(l[t].until<=n&&n<=l[t].since)return l[t].abbr}return""},mn.eraYear=function(){var t,e,n,l,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,l=this.clone().startOf("day").valueOf(),r[t].since<=l&&l<=r[t].until||r[t].until<=l&&l<=r[t].since)return(this.year()-i(r[t].since).year())*n+r[t].offset;return this.year()},mn.year=It,mn.isLeapYear=function(){return V(this.year())},mn.weekYear=function(t){return sn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mn.isoWeekYear=function(t){return sn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mn.quarter=mn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mn.month=Dt,mn.daysInMonth=function(){return Ct(this.year(),this.month())},mn.week=mn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mn.isoWeek=mn.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mn.weeksInYear=function(){var t=this.localeData()._week;return Yt(this.year(),t.dow,t.doy)},mn.weeksInWeekYear=function(){var t=this.localeData()._week;return Yt(this.weekYear(),t.dow,t.doy)},mn.isoWeeksInYear=function(){return Yt(this.year(),1,4)},mn.isoWeeksInISOWeekYear=function(){return Yt(this.isoWeekYear(),1,4)},mn.date=cn,mn.day=mn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mn.hour=mn.hours=Zt,mn.minute=mn.minutes=dn,mn.second=mn.seconds=fn,mn.millisecond=mn.milliseconds=pn,mn.utcOffset=function(t,e,n){var l,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=je(ht,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(l=Fe(this)),this._offset=t,this._isUTC=!0,null!=l&&this.add(l,"m"),r!==t&&(!e||this._changeInProgress?Ve(this,Be(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Fe(this)},mn.utc=function(t){return this.utcOffset(0,t)},mn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this},mn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=je(dt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?xe(t).utcOffset():0,(this.utcOffset()-t)%60==0)},mn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mn.isUtc=Ne,mn.isUTC=Ne,mn.zoneAbbr=function(){return this._isUTC?"UTC":""},mn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mn.dates=P("dates accessor is deprecated. Use date instead.",cn),mn.months=P("months accessor is deprecated. Use month instead",Dt),mn.years=P("years accessor is deprecated. Use year instead",It),mn.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),mn.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return A(e,this),(e=we(e))._a?(t=e._isUTC?f(e._a):xe(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var l,i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(l=0;l<i;l++)W(t[l])!==W(e[l])&&o++;return o+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var _n=D.prototype;function yn(t,e,n,l){var i=se(),r=f().set(l,e);return i[n](r,t)}function An(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return yn(t,e,n,"month");var l,i=[];for(l=0;l<12;l++)i[l]=yn(t,l,n,"month");return i}function vn(t,e,n,l){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var i,r=se(),o=t?r._week.dow:0,a=[];if(null!=n)return yn(e,(n+o)%7,l,"day");for(i=0;i<7;i++)a[i]=yn(e,(i+o)%7,l,"day");return a}_n.calendar=function(t,e,n){var l=this._calendar[t]||this._calendar.sameElse;return M(l)?l.call(e,n):l},_n.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(E).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(t){return this._ordinal.replace("%d",t)},_n.preparse=gn,_n.postformat=gn,_n.relativeTime=function(t,e,n,l){var i=this._relativeTime[n];return M(i)?i(t,e,n,l):i.replace(/%d/i,t)},_n.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)},_n.set=function(t){var e,n;for(n in t)a(t,n)&&(M(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.eras=function(t,e){var n,l,r,o=this._eras||se("en")._eras;for(n=0,l=o.length;n<l;++n){switch(typeof o[n].since){case"string":r=i(o[n].since).startOf("day"),o[n].since=r.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=i(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}}return o},_n.erasParse=function(t,e,n){var l,i,r,o,a,s=this.eras();for(t=t.toUpperCase(),l=0,i=s.length;l<i;++l)if(r=s[l].name.toUpperCase(),o=s[l].abbr.toUpperCase(),a=s[l].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(o===t)return s[l];break;case"NNNN":if(r===t)return s[l];break;case"NNNNN":if(a===t)return s[l]}else if([r,o,a].indexOf(t)>=0)return s[l]},_n.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n},_n.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||on.call(this),t?this._erasAbbrRegex:this._erasRegex},_n.erasNameRegex=function(t){return a(this,"_erasNameRegex")||on.call(this),t?this._erasNameRegex:this._erasRegex},_n.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||on.call(this),t?this._erasNarrowRegex:this._erasRegex},_n.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||xt).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},_n.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[xt.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(t,e,n){var l,i,r;if(this._monthsParseExact)return Mt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),l=0;l<12;l++){if(i=f([2e3,l]),n&&!this._longMonthsParse[l]&&(this._longMonthsParse[l]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[l]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[l]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[l]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[l].test(t))return l;if(n&&"MMM"===e&&this._shortMonthsParse[l].test(t))return l;if(!n&&this._monthsParse[l].test(t))return l}},_n.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Tt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=kt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Tt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=St),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(t,e){var n=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ut(n,this._week.dow):t?n[t.day()]:n},_n.weekdaysMin=function(t){return!0===t?Ut(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},_n.weekdaysShort=function(t){return!0===t?Ut(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},_n.weekdaysParse=function(t,e,n){var l,i,r;if(this._weekdaysParseExact)return Wt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),l=0;l<7;l++){if(i=f([2e3,1]).day(l),n&&!this._fullWeekdaysParse[l]&&(this._fullWeekdaysParse[l]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[l]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[l]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[l]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[l]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[l].test(t))return l;if(n&&"ddd"===e&&this._shortWeekdaysParse[l].test(t))return l;if(n&&"dd"===e&&this._minWeekdaysParse[l].test(t))return l;if(!n&&this._weekdaysParse[l].test(t))return l}},_n.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ht),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Vt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},_n.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===W(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=P("moment.lang is deprecated. Use moment.locale instead.",oe),i.langData=P("moment.langData is deprecated. Use moment.localeData instead.",se);var Cn=Math.abs;function wn(t,e,n,l){var i=Be(e,n);return t._milliseconds+=l*i._milliseconds,t._days+=l*i._days,t._months+=l*i._months,t._bubble()}function Pn(t){return t<0?Math.floor(t):Math.ceil(t)}function xn(t){return 4800*t/146097}function Sn(t){return 146097*t/4800}function kn(t){return function(){return this.as(t)}}var Mn=kn("ms"),On=kn("s"),Dn=kn("m"),Tn=kn("h"),En=kn("d"),In=kn("w"),Ln=kn("M"),jn=kn("Q"),Rn=kn("y");function Fn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Nn=Fn("milliseconds"),Yn=Fn("seconds"),Un=Fn("minutes"),Bn=Fn("hours"),zn=Fn("days"),Gn=Fn("months"),Hn=Fn("years"),Vn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wn(t,e,n,l,i){return i.relativeTime(e||1,!!n,t,l)}var $n=Math.abs;function Xn(t){return(t>0)-(t<0)||+t}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,l,i,r,o,a,s=$n(this._milliseconds)/1e3,u=$n(this._days),c=$n(this._months),d=this.asSeconds();return d?(t=q(s/60),e=q(t/60),s%=60,t%=60,n=q(c/12),c%=12,l=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=Xn(this._months)!==Xn(d)?"-":"",o=Xn(this._days)!==Xn(d)?"-":"",a=Xn(this._milliseconds)!==Xn(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(u?o+u+"D":"")+(e||t||s?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(s?a+l+"S":"")):"P0D"}var Jn=De.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=Cn(this._milliseconds),this._days=Cn(this._days),this._months=Cn(this._months),t.milliseconds=Cn(t.milliseconds),t.seconds=Cn(t.seconds),t.minutes=Cn(t.minutes),t.hours=Cn(t.hours),t.months=Cn(t.months),t.years=Cn(t.years),this},Jn.add=function(t,e){return wn(this,t,e,1)},Jn.subtract=function(t,e){return wn(this,t,e,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var e,n,l=this._milliseconds;if("month"===(t=B(t))||"quarter"===t||"year"===t)switch(n=this._months+xn(e=this._days+l/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Sn(this._months)),t){case"week":return e/7+l/6048e5;case"day":return e+l/864e5;case"hour":return 24*e+l/36e5;case"minute":return 1440*e+l/6e4;case"second":return 86400*e+l/1e3;case"millisecond":return Math.floor(864e5*e)+l;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=Mn,Jn.asSeconds=On,Jn.asMinutes=Dn,Jn.asHours=Tn,Jn.asDays=En,Jn.asWeeks=In,Jn.asMonths=Ln,Jn.asQuarters=jn,Jn.asYears=Rn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*W(this._months/12):NaN},Jn._bubble=function(){var t,e,n,l,i,r=this._milliseconds,o=this._days,a=this._months,s=this._data;return r>=0&&o>=0&&a>=0||r<=0&&o<=0&&a<=0||(r+=864e5*Pn(Sn(a)+o),o=0,a=0),s.milliseconds=r%1e3,t=q(r/1e3),s.seconds=t%60,e=q(t/60),s.minutes=e%60,n=q(e/60),s.hours=n%24,o+=q(n/24),a+=i=q(xn(o)),o-=Pn(Sn(i)),l=q(a/12),a%=12,s.days=o,s.months=a,s.years=l,this},Jn.clone=function(){return Be(this)},Jn.get=function(t){return t=B(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Nn,Jn.seconds=Yn,Jn.minutes=Un,Jn.hours=Bn,Jn.days=zn,Jn.weeks=function(){return q(this.days()/7)},Jn.months=Gn,Jn.years=Hn,Jn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,l,i=!1,r=qn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(r=Object.assign({},qn,e),null!=e.s&&null==e.ss&&(r.ss=e.s-1)),l=function(t,e,n,l){var i=Be(t).abs(),r=Vn(i.as("s")),o=Vn(i.as("m")),a=Vn(i.as("h")),s=Vn(i.as("d")),u=Vn(i.as("M")),c=Vn(i.as("w")),d=Vn(i.as("y")),h=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=e,h[3]=+t>0,h[4]=l,Wn.apply(null,h)}(this,!i,r,n=this.localeData()),i&&(l=n.pastFuture(+this,l)),n.postformat(l)},Jn.toISOString=Kn,Jn.toString=Kn,Jn.toJSON=Kn,Jn.locale=Qe,Jn.localeData=tn,Jn.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Jn.lang=Ze,R("X",0,0,"unix"),R("x",0,0,"valueOf"),ft("x",ct),ft("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),yt("x",(function(t,e,n){n._d=new Date(W(t))})),i.version="2.29.1",e=xe,i.fn=mn,i.min=function(){var t=[].slice.call(arguments,0);return Me("isBefore",t)},i.max=function(){var t=[].slice.call(arguments,0);return Me("isAfter",t)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(t){return xe(1e3*t)},i.months=function(t,e){return An(t,e,"months")},i.isDate=d,i.locale=oe,i.invalid=g,i.duration=Be,i.isMoment=C,i.weekdays=function(t,e,n){return vn(t,e,n,"weekdays")},i.parseZone=function(){return xe.apply(null,arguments).parseZone()},i.localeData=se,i.isDuration=Te,i.monthsShort=function(t,e){return An(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return vn(t,e,n,"weekdaysMin")},i.defineLocale=ae,i.updateLocale=function(t,e){if(null!=e){var n,l,i=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(O(ee[t]._config,e)):(null!=(l=re(t))&&(i=l._config),e=O(i,e),null==l&&(e.abbr=t),(n=new D(e)).parentLocale=ee[t],ee[t]=n),oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===oe()&&oe(t)):null!=ee[t]&&delete ee[t]);return ee[t]},i.locales=function(){return x(ee)},i.weekdaysShort=function(t,e,n){return vn(t,e,n,"weekdaysShort")},i.normalizeUnits=B,i.relativeTimeRounding=function(t){return void 0===t?Vn:"function"==typeof t&&(Vn=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},i.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=mn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n("YuTi")(t))},wtMG:function(t,e,n){"use strict";window.ol&&!ol.ext&&(ol.ext={});var l=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t};window.ol&&(ol.inherits||(ol.inherits=l)),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.Element&&!Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),e.a=l},x34R:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},x7D4:function(t,e,n){function l(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("Q80o")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var l="color: "+this.color;t.splice(1,0,l,"color: inherit");var i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(r=i))})),t.splice(r,0,l)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=l,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(l())},xWBw:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return u}));var l=n("CvXi"),i=n("JfHk"),r=n("/U2p");function o(t,e,n,i,o){var a=Object(l.s)(Object(l.j)(),t,e,n,i);return!!Object(l.F)(o,a)&&(!!Object(l.g)(o,a)||a[0]>=o[0]&&a[2]<=o[2]||a[1]>=o[1]&&a[3]<=o[3]||Object(r.a)(t,e,n,i,(function(t,e){return Object(l.G)(o,t,e)})))}function a(t,e,n,l,i){for(var r=0,a=n.length;r<a;++r){if(o(t,e,n[r],l,i))return!0;e=n[r]}return!1}function s(t,e,n,l,r){if(!function(t,e,n,l,r){return!!(o(t,e,n,l,r)||Object(i.b)(t,e,n,l,r[0],r[1])||Object(i.b)(t,e,n,l,r[0],r[3])||Object(i.b)(t,e,n,l,r[2],r[1])||Object(i.b)(t,e,n,l,r[2],r[3]))}(t,e,n[0],l,r))return!1;if(1===n.length)return!0;for(var a=1,s=n.length;a<s;++a)if(Object(i.a)(t,n[a-1],n[a],l,r)&&!o(t,n[a-1],n[a],l,r))return!1;return!0}function u(t,e,n,l,i){for(var r=0,o=n.length;r<o;++r){var a=n[r];if(s(t,e,a,l,i))return!0;e=a[a.length-1]}return!1}},xYTU:function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return A}));var l=n("8Y7J"),i=n("dFDH"),r=(n("QQfA"),n("SVse")),o=(n("IP0z"),n("zMNK")),a=(n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("Fwaw")),s=n("bujt"),u=n("5GAg"),c=n("omvX"),d=l.Bb({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function h(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function p(t){return l.Yb(0,[l.Ub(402653184,1,{_portalOutlet:0}),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(2,212992,[[1,4]],0,o.c,[l.m,l.Y],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(t,e,n){var i=!0;return"component:@state.done"===e&&(i=!1!==l.Pb(t,1).onAnimationEnd(n)&&i),i}),p,d)),l.Cb(1,180224,null,0,i.d,[l.G,l.p,l.j,i.c],null,null)],null,(function(t,e){t(e,0,0,l.Pb(e,1)._role,l.Pb(e,1)._animationState)}))}var b=l.zb("snack-bar-container",i.d,f,{},{},[]),m=l.Bb({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.action()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,a.b,[l.p,u.h,[2,c.a]],null,null),(t()(),l.Wb(3,0,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode),t(e,3,0,n.data.action)}))}function _(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(3,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,e.component.hasAction)}),(function(t,e){t(e,1,0,e.component.data.message)}))}function y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,_,m)),l.Cb(1,49152,null,0,i.g,[i.f,i.a],null,null)],null,null)}var A=l.zb("simple-snack-bar",i.g,y,{},{},[])},xfxu:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("AyJq"),a=n("c9fC"),s=n("8bJo"),u=n("SVse"),c=n("omvX"),d=n("5GAg");class h{transform(t){return t?Math.floor(t)+":"+Math.floor(60*t%60)+" min":""}}class p{transform(t){return t?Math.floor(.5399*t)+" nm":""}}n("G+Jc"),n("svHU"),n("rLOe"),n("7/LY"),n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return y}));var f=l.Bb({encapsulation:0,styles:[["#interception[_ngcontent-%COMP%]{left:0;width:100%;background-color:#fff;border-top:1px solid #ddd}#interception[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%]{height:auto!important;padding-top:5px;padding-bottom:5px}#interception[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{justify-content:space-between;align-items:center;color:#000;font-weight:500}#interception[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%] .interception-info[_ngcontent-%COMP%]{color:#666;font-size:12px}#interception[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;text-align:left}#interception[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:30px;border-bottom:1px solid #3880ff}#interception[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#666;font-size:12px}#interception[_ngcontent-%COMP%] .mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}#interception[_ngcontent-%COMP%] .mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important}#interception[_ngcontent-%COMP%] .mat-expansion-indicator::after{color:var(--ion-color-primary)}#interception[_ngcontent-%COMP%] div.mat-expansion-panel-body{padding:10px;background-color:#f0f0f0}"]],data:{}});function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["name","return-left"]],null,null,null,i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(3,null,[" "," "])),l.Sb(4,1)],(function(t,e){t(e,2,0,"return-left")}),(function(t,e){var n=l.Xb(e,3,0,t(e,4,0,l.Pb(e.parent.parent.parent,0),e.parent.parent.context.$implicit.ownPlaytime.playTime));t(e,3,0,n)}))}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""])),(t()(),l.Db(3,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),l.Wb(4,null,["",""])),l.Sb(5,1)],null,(function(t,e){t(e,2,0,e.context.$implicit.icao);var n=l.Xb(e,4,0,t(e,5,0,l.Pb(e.parent.parent.parent,0),e.context.$implicit.playTime));t(e,4,0,n)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,40,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"],[null,"closed"]],(function(t,e,n){var l=!0,i=t.component;return"opened"===e&&(l=!1!==i.openPlot(t.parent.context.$implicit)&&l),"closed"===e&&(l=!1!==i.closePlot(t.parent.context.$implicit)&&l),l}),o.d,o.a)),l.Cb(1,1753088,null,1,a.e,[[3,a.a],l.j,s.d,l.Y,u.d,[2,c.a],[2,a.b]],{expanded:[0,"expanded"]},{closed:"closed",opened:"opened"}),l.Ub(603979776,2,{_lazyContent:0}),l.Tb(256,null,a.a,void 0,[]),(t()(),l.Db(4,0,null,0,25,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,5)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,5)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,5)._animationStarted()&&i),i}),o.c,o.b)),l.Cb(5,180224,[[1,4]],0,a.f,[a.e,l.p,d.h,l.j,[2,a.b]],null,null),l.Rb(6,{collapsedHeight:0,expandedHeight:1}),l.Rb(7,{value:0,params:1}),(t()(),l.Db(8,0,null,0,21,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(9,16384,null,0,a.g,[],null,null),(t()(),l.Wb(10,null,[" "," "])),(t()(),l.Db(11,0,null,null,18,"div",[["class","interception-info"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,1,"ion-icon",[["name","timer"]],null,null,null,i.y,i.g)),l.Cb(14,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(15,null,[" "," "])),l.Sb(16,1),(t()(),l.Db(17,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,1,"ion-icon",[["name","locate"]],null,null,null,i.y,i.g)),l.Cb(19,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(20,null,[" ","/"," "])),l.Sb(21,2),l.Sb(22,2),(t()(),l.Db(23,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"ion-icon",[["name","resize"]],null,null,null,i.y,i.g)),l.Cb(25,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(26,null,[" "," "])),l.Sb(27,1),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(29,16384,null,0,u.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(30,0,null,1,10,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(31,0,null,null,9,"table",[],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,5,"thead",[],null,null,null,null,null)),(t()(),l.Db(33,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),l.Db(34,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Return Base"])),(t()(),l.Db(36,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PlayTime"])),(t()(),l.Db(38,0,null,null,2,"tbody",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(40,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,e.parent.context.$implicit.stopPoint.icao===e.component.icaoOfSelectedPlot),t(e,14,0,"timer"),t(e,19,0,"locate"),t(e,25,0,"resize"),t(e,29,0,e.parent.context.$implicit.ownPlaytime),t(e,40,0,e.parent.context.$implicit.playTimes)}),(function(t,e){t(e,0,0,l.Pb(e,1).expanded,"NoopAnimations"===l.Pb(e,1)._animationMode,l.Pb(e,1)._hasSpacing());var n=l.Pb(e,5).panel._headerId,i=l.Pb(e,5).disabled?-1:0,r=l.Pb(e,5)._getPanelId(),o=l.Pb(e,5)._isExpanded(),a=l.Pb(e,5).panel.disabled,s=l.Pb(e,5)._isExpanded(),u="after"===l.Pb(e,5)._getTogglePosition(),c="before"===l.Pb(e,5)._getTogglePosition(),d=l.Pb(e,5)._animationsDisabled,h=t(e,7,0,l.Pb(e,5)._getExpandedState(),t(e,6,0,l.Pb(e,5).collapsedHeight,l.Pb(e,5).expandedHeight));t(e,4,0,n,i,r,o,a,s,u,c,d,h),t(e,10,0,e.parent.context.$implicit.stopPoint.icao);var p=l.Xb(e,15,0,t(e,16,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.airforceReady+e.parent.context.$implicit.interceptionTime));t(e,15,0,p);var f=l.Xb(e,20,0,t(e,21,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.intercepPoint[1],"1.2-2")),b=l.Xb(e,20,1,t(e,22,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.intercepPoint[0],"1.2-2"));t(e,20,0,f,b);var m=l.Xb(e,26,0,t(e,27,0,l.Pb(e.parent.parent,2),e.parent.context.$implicit.interceptionDistance));t(e,26,0,m)}))}function _(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(2,16384,null,0,u.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,e.context.$implicit.playTimes.length>0)}),null)}function y(t){return l.Yb(0,[l.Qb(0,h,[]),l.Qb(0,u.f,[l.A]),l.Qb(0,p,[]),(t()(),l.Db(3,0,null,null,6,"div",[["id","interception"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),l.Tb(6144,null,a.a,null,[a.c]),l.Cb(6,1720320,null,1,a.c,[],null,null),l.Ub(603979776,1,{_headers:1}),(t()(),l.sb(16777216,null,null,1,null,_)),l.Cb(9,278528,null,0,u.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,9,0,e.component.plots)}),null)}},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("DH7j"),r=n("n6bG"),o=n("lJxs");function a(t,e,n,s){return Object(r.a)(n)&&(s=n,n=void 0),s?a(t,e,n).pipe(Object(o.a)(t=>Object(i.a)(t)?s(...t):s(t))):new l.a(l=>{!function t(e,n,l,i,r){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,l,r),o=()=>t.removeEventListener(n,l,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,l),o=()=>t.off(n,l)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,l),o=()=>t.removeListener(n,l)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,l,i,r)}i.add(o)}(t,e,(function(t){l.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),l,n)})}},xhS3:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}aircraftControllerGetAircrafts$Response(e){const n=new o.a(this.rootUrl,t.AircraftControllerGetAircraftsPath,"get");return e&&n.query("icaos",e.icaos),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}aircraftControllerGetAircrafts(t){return this.aircraftControllerGetAircrafts$Response(t).pipe(Object(s.a)(t=>t.body))}aircraftControllerSetOverriders$Response(e){const n=new o.a(this.rootUrl,t.AircraftControllerSetOverridersPath,"post");return e&&(n.query("icao",e.icao),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}aircraftControllerSetOverriders(t){return this.aircraftControllerSetOverriders$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.AircraftControllerGetAircraftsPath="/aircrafts",t.AircraftControllerSetOverridersPath="/overriders",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("ngJS"),r=n("jZKg");function o(t,e){return e?Object(r.a)(t,e):new l.a(Object(i.a)(t))}},yKYT:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("sLNx");var l=n("wd/R");class i{constructor(t,e){this.replayTripService=t,this.ref=e,this.maxTimeLine=0,this.lineChartData=[{data:[],label:"Altitude"}],this.lineChartLabels=[],this.lineChartOptions={responsive:!0,elements:{point:{radius:0}},scales:{xAxes:[{display:!1}]}},this.lineChartColors=[{borderColor:"#f04141",backgroundColor:"rgba(244, 245, 248, 0.5)"}],this.lineChartLegend=!1,this.lineChartType="line",this.rangeOption={min:0,max:0,step:1,value:0}}ngOnInit(){this.rangeOption.max=this.replayTripService.positions.length-1,this.displayGraphAircraft(this.replayTripService.positions)}changePosition(t){this.replayTripService.updatePositions(t.detail.value),this.rangeOption.value=t.detail.value,this.ref.detectChanges()}closeReplay(){this.ref.detectChanges(),this.replayTripService.stopReplayTrip()}displayGraphAircraft(t){if(this.lineChartData[0].data=[],this.lineChartLabels=[],t){let e=[],n=[];t.forEach(t=>{e.push(t.altitude),n.push(l(t.updatedAt).utc().format("HH:mm:ss"))}),this.lineChartData[0].data=e,this.lineChartLabels=n}}}},yPMs:function(t,e,n){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},yRz6:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.getOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.replaceOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.deleteOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.updateOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypePresenceControllerNotificationTypePresencePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.getManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.createOneBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypePresenceControllerNotificationTypePresencePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypePresenceControllerNotificationTypePresence(t){return this.createManyBaseNotificationTypePresenceControllerNotificationTypePresence$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.ReplaceOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.DeleteOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.UpdateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/{id}",t.GetManyBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence",t.CreateOneBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence",t.CreateManyBaseNotificationTypePresenceControllerNotificationTypePresencePath="/notification_type_presence/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},yUaI:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("6Y3p"),o=n("CvXi"),a=n("9iPr"),s=n("mrzG"),u=n("vvg4"),c=n("94wz"),d=n("3er3"),h=n("qJZF"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n,l,i,r,o,a){var s=t.call(this)||this;return s.context_=e,s.pixelRatio_=n,s.extent_=l,s.transform_=i,s.viewRotation_=r,s.squaredTolerance_=o,s.userTransform_=a,s.contextFillState_=null,s.contextStrokeState_=null,s.contextTextState_=null,s.fillState_=null,s.strokeState_=null,s.image_=null,s.imageAnchorX_=0,s.imageAnchorY_=0,s.imageHeight_=0,s.imageOpacity_=0,s.imageOriginX_=0,s.imageOriginY_=0,s.imageRotateWithView_=!1,s.imageRotation_=0,s.imageScale_=0,s.imageWidth_=0,s.text_="",s.textOffsetX_=0,s.textOffsetY_=0,s.textRotateWithView_=!1,s.textRotation_=0,s.textScale_=0,s.textFillState_=null,s.textStrokeState_=null,s.textState_=null,s.pixelCoordinates_=[],s.tmpLocalTransform_=Object(h.c)(),s}return p(e,t),e.prototype.drawImages_=function(t,e,n,l){if(this.image_){var i=Object(u.c)(t,e,n,2,this.transform_,this.pixelCoordinates_),r=this.context_,o=this.tmpLocalTransform_,a=r.globalAlpha;1!=this.imageOpacity_&&(r.globalAlpha=a*this.imageOpacity_);var s=this.imageRotation_;this.imageRotateWithView_&&(s+=this.viewRotation_);for(var c=0,d=i.length;c<d;c+=2){var p=i[c]-this.imageAnchorX_,f=i[c+1]-this.imageAnchorY_;if(0!==s||1!=this.imageScale_){var b=p+this.imageAnchorX_,m=f+this.imageAnchorY_;Object(h.b)(o,b,m,this.imageScale_,this.imageScale_,s,-b,-m),r.setTransform.apply(r,o)}r.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,p,f,this.imageWidth_,this.imageHeight_)}0===s&&1==this.imageScale_||r.setTransform(1,0,0,1,0,0),1!=this.imageOpacity_&&(r.globalAlpha=a)}},e.prototype.drawText_=function(t,e,n,l){if(this.textState_&&""!==this.text_){this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);var i=Object(u.c)(t,e,n,l,this.transform_,this.pixelCoordinates_),r=this.context_,o=this.textRotation_;for(this.textRotateWithView_&&(o+=this.viewRotation_);e<n;e+=l){var a=i[e]+this.textOffsetX_,s=i[e+1]+this.textOffsetY_;if(0!==o||1!=this.textScale_){var c=Object(h.b)(this.tmpLocalTransform_,a,s,this.textScale_,this.textScale_,o,-a,-s);r.setTransform.apply(r,c)}this.textStrokeState_&&r.strokeText(this.text_,a,s),this.textFillState_&&r.fillText(this.text_,a,s)}0===o&&1==this.textScale_||r.setTransform(1,0,0,1,0,0)}},e.prototype.moveToLineTo_=function(t,e,n,l,i){var r=this.context_,o=Object(u.c)(t,e,n,l,this.transform_,this.pixelCoordinates_);r.moveTo(o[0],o[1]);var a=o.length;i&&(a-=2);for(var s=2;s<a;s+=2)r.lineTo(o[s],o[s+1]);return i&&r.closePath(),n},e.prototype.drawRings_=function(t,e,n,l){for(var i=0,r=n.length;i<r;++i)e=this.moveToLineTo_(t,e,n[i],l,!0);return e},e.prototype.drawCircle=function(t){if(Object(o.F)(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=Object(s.b)(t,this.transform_,this.pixelCoordinates_),n=e[2]-e[0],l=e[3]-e[1],i=Math.sqrt(n*n+l*l),r=this.context_;r.beginPath(),r.arc(e[0],e[1],i,0,2*Math.PI),this.fillState_&&r.fill(),this.strokeState_&&r.stroke()}""!==this.text_&&this.drawText_(t.getCenter(),0,2,2)}},e.prototype.setStyle=function(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())},e.prototype.setTransform=function(t){this.transform_=t},e.prototype.drawGeometry=function(t){switch(t.getType()){case a.a.POINT:this.drawPoint(t);break;case a.a.LINE_STRING:this.drawLineString(t);break;case a.a.POLYGON:this.drawPolygon(t);break;case a.a.MULTI_POINT:this.drawMultiPoint(t);break;case a.a.MULTI_LINE_STRING:this.drawMultiLineString(t);break;case a.a.MULTI_POLYGON:this.drawMultiPolygon(t);break;case a.a.GEOMETRY_COLLECTION:this.drawGeometryCollection(t);break;case a.a.CIRCLE:this.drawCircle(t)}},e.prototype.drawFeature=function(t,e){var n=e.getGeometryFunction()(t);n&&Object(o.F)(this.extent_,n.getExtent())&&(this.setStyle(e),this.drawGeometry(n))},e.prototype.drawGeometryCollection=function(t){for(var e=t.getGeometriesArray(),n=0,l=e.length;n<l;++n)this.drawGeometry(e[n])},e.prototype.drawPoint=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getFlatCoordinates(),n=t.getStride();this.image_&&this.drawImages_(e,0,e.length,n),""!==this.text_&&this.drawText_(e,0,e.length,n)},e.prototype.drawMultiPoint=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getFlatCoordinates(),n=t.getStride();this.image_&&this.drawImages_(e,0,e.length,n),""!==this.text_&&this.drawText_(e,0,e.length,n)},e.prototype.drawLineString=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(o.F)(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var e=this.context_,n=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(n,0,n.length,t.getStride(),!1),e.stroke()}if(""!==this.text_){var l=t.getFlatMidpoint();this.drawText_(l,0,2,2)}}},e.prototype.drawMultiLineString=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getExtent();if(Object(o.F)(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var n=this.context_,l=t.getFlatCoordinates(),i=0,r=t.getEnds(),a=t.getStride();n.beginPath();for(var s=0,u=r.length;s<u;++s)i=this.moveToLineTo_(l,i,r[s],a,!1);n.stroke()}if(""!==this.text_){var c=t.getFlatMidpoints();this.drawText_(c,0,c.length,2)}}},e.prototype.drawPolygon=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(o.F)(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){var n=t.getFlatInteriorPoint();this.drawText_(n,0,2,2)}}},e.prototype.drawMultiPolygon=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(o.F)(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=this.context_,n=t.getOrientedFlatCoordinates(),l=0,i=t.getEndss(),r=t.getStride();e.beginPath();for(var a=0,s=i.length;a<s;++a)l=this.drawRings_(n,l,i[a],r);this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){var u=t.getFlatInteriorPoints();this.drawText_(u,0,u.length,2)}}},e.prototype.setContextFillState_=function(t){var e=this.context_,n=this.contextFillState_;n?n.fillStyle!=t.fillStyle&&(n.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})},e.prototype.setContextStrokeState_=function(t){var e=this.context_,n=this.contextStrokeState_;n?(n.lineCap!=t.lineCap&&(n.lineCap=t.lineCap,e.lineCap=t.lineCap),e.setLineDash&&(Object(i.b)(n.lineDash,t.lineDash)||e.setLineDash(n.lineDash=t.lineDash),n.lineDashOffset!=t.lineDashOffset&&(n.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset)),n.lineJoin!=t.lineJoin&&(n.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),n.lineWidth!=t.lineWidth&&(n.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),n.miterLimit!=t.miterLimit&&(n.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),n.strokeStyle!=t.strokeStyle&&(n.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})},e.prototype.setContextTextState_=function(t){var e=this.context_,n=this.contextTextState_,l=t.textAlign?t.textAlign:d.m;n?(n.font!=t.font&&(n.font=t.font,e.font=t.font),n.textAlign!=l&&(n.textAlign=l,e.textAlign=l),n.textBaseline!=t.textBaseline&&(n.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=l,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:l,textBaseline:t.textBaseline})},e.prototype.setFillStrokeStyle=function(t,e){if(t){var n=t.getColor();this.fillState_={fillStyle:Object(r.a)(n||d.c)}}else this.fillState_=null;if(e){var l=e.getColor(),i=e.getLineCap(),o=e.getLineDash(),a=e.getLineDashOffset(),s=e.getLineJoin(),u=e.getWidth(),c=e.getMiterLimit();this.strokeState_={lineCap:void 0!==i?i:d.e,lineDash:o||d.f,lineDashOffset:a||d.g,lineJoin:void 0!==s?s:d.h,lineWidth:this.pixelRatio_*(void 0!==u?u:d.i),miterLimit:void 0!==c?c:d.j,strokeStyle:Object(r.a)(l||d.l)}}else this.strokeState_=null},e.prototype.setImageStyle=function(t){if(t){var e=t.getAnchor(),n=t.getImage(1),l=t.getOrigin(),i=t.getSize();this.imageAnchorX_=e[0],this.imageAnchorY_=e[1],this.imageHeight_=i[1],this.image_=n,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=l[0],this.imageOriginY_=l[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation(),this.imageScale_=t.getScale()*this.pixelRatio_,this.imageWidth_=i[0]}else this.image_=null},e.prototype.setTextStyle=function(t){if(t){var e=t.getFill();if(e){var n=e.getColor();this.textFillState_={fillStyle:Object(r.a)(n||d.c)}}else this.textFillState_=null;var l=t.getStroke();if(l){var i=l.getColor(),o=l.getLineCap(),a=l.getLineDash(),s=l.getLineDashOffset(),u=l.getLineJoin(),c=l.getWidth(),h=l.getMiterLimit();this.textStrokeState_={lineCap:void 0!==o?o:d.e,lineDash:a||d.f,lineDashOffset:s||d.g,lineJoin:void 0!==u?u:d.h,lineWidth:void 0!==c?c:d.i,miterLimit:void 0!==h?h:d.j,strokeStyle:Object(r.a)(i||d.l)}}else this.textStrokeState_=null;var p=t.getFont(),f=t.getOffsetX(),b=t.getOffsetY(),m=t.getRotateWithView(),g=t.getRotation(),_=t.getScale(),y=t.getText(),A=t.getTextAlign(),v=t.getTextBaseline();this.textState_={font:void 0!==p?p:d.d,textAlign:void 0!==A?A:d.m,textBaseline:void 0!==v?v:d.n},this.text_=void 0!==y?y:"",this.textOffsetX_=void 0!==f?this.pixelRatio_*f:0,this.textOffsetY_=void 0!==b?this.pixelRatio_*b:0,this.textRotateWithView_=void 0!==m&&m,this.textRotation_=void 0!==g?g:0,this.textScale_=this.pixelRatio_*(void 0!==_?_:1)}else this.text_=""},e}(c.a);e.a=f},yWMr:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var l=n("8Y7J"),i=n("lwm9"),r=n("SVse"),o=(n("QQfA"),n("IP0z"),n("zMNK")),a=(n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("5GAg")),s=n("7QIX"),u=l.Bb({encapsulation:2,styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}@media (-ms-high-contrast:active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium,.mat-bottom-sheet-container-xlarge{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"visible => void, visible => hidden",animation:{type:4,styles:null,timings:"375ms cubic-bezier(0.4,0.0,1,1)"},options:null},{type:1,expr:"void => visible",animation:{type:4,styles:null,timings:"195ms cubic-bezier(0.0,0.0,0.2,1)"},options:null}],options:{}}]}});function c(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(2,[l.Ub(402653184,1,{_portalOutlet:0}),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(2,212992,[[1,4]],0,o.c,[l.m,l.Y],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-bottom-sheet-container",[["aria-modal","true"],["class","mat-bottom-sheet-container"],["role","dialog"],["tabindex","-1"]],[[1,"aria-label",0],[40,"@state",0]],[["component","@state.start"],["component","@state.done"]],(function(t,e,n){var i=!0;return"component:@state.start"===e&&(i=!1!==l.Pb(t,1)._onAnimationStart(n)&&i),"component:@state.done"===e&&(i=!1!==l.Pb(t,1)._onAnimationDone(n)&&i),i}),d,u)),l.Cb(1,180224,null,0,i.b,[l.p,l.j,a.i,s.a,[2,r.d],i.a],null,null)],null,(function(t,e){t(e,0,0,null==l.Pb(e,1).bottomSheetConfig?null:l.Pb(e,1).bottomSheetConfig.ariaLabel,l.Pb(e,1)._animationState)}))}var p=l.zb("mat-bottom-sheet-container",i.b,h,{},{},[])},yWvm:function(t,e,n){var l,i,r;i=[n("Rj0l")],void 0===(r="function"==typeof(l=function(t){"use strict";function e(e,n){var l,i,r,o=/[NSEW\-]/,a={};if(l=t.dmsToDecimal(e),i=t.dmsToDecimal(n),l<-90||l>90)throw"Latitude out of bounds: "+l;if(i<-180||i>180)throw"Longitude out of bounds: "+i;return"S"!==(r=e.match(o))[0]&&"-"!==r[0]||(l*=-1),a.latitude=l,"W"!==(r=n.match(o))[0]&&"-"!==r[0]||(i*=-1),a.longitude=i,a}return function(n){return t=t(n),e}})?l.apply(e,i):l)||(t.exports=r)},yeub:function(t,e){try{t.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(n){t.exports=!1}},ykKD:function(t,e,n){"use strict";function l(t){return Math.pow(t,3)}function i(t){return 1-l(1-t)}function r(t){return 3*t*t-2*t*t*t}function o(t){return t}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o}))},yotz:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return T}));var l=n("SVse"),i=n("8Y7J"),r=n("XNiG"),o=n("VRyK"),a=n("EY2u"),s=n("HDdC"),u=(n("xgIS"),n("vkgz")),c=n("w1tV"),d=n("JX91"),h=n("lJxs"),p=n("eIep"),f=n("3UWI"),b=n("1G5W"),m=n("5+tZ"),g=n("IzEk"),_=n("Zy1z"),y=n("pLZG");const A=(()=>"undefined"!=typeof window&&("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0))();function v(t,e,n=3){return Math.abs(t-e)<n}function C(t,e,n,l){const i={top:t.top,bottom:t.bottom,left:t.left,right:t.right};return e.top&&(i.top+=l),e.bottom&&(i.bottom+=l),e.left&&(i.left+=n),e.right&&(i.right+=n),i.height=i.bottom-i.top,i.width=i.right-i.left,i}function w({clientY:t,rect:e}){return t>=e.top&&t<=e.bottom}function P({clientX:t,rect:e}){return t>=e.left&&t<=e.right}function x({clientX:t,clientY:e,elm:n,allowedEdges:l,cursorPrecision:i}){const r=n.nativeElement.getBoundingClientRect(),o={};return l.left&&v(t,r.left,i)&&w({clientY:e,rect:r})&&(o.left=!0),l.right&&v(t,r.right,i)&&w({clientY:e,rect:r})&&(o.right=!0),l.top&&v(e,r.top,i)&&P({clientX:t,rect:r})&&(o.top=!0),l.bottom&&v(e,r.bottom,i)&&P({clientX:t,rect:r})&&(o.bottom=!0),o}const S=Object.freeze({topLeft:"nw-resize",topRight:"ne-resize",bottomLeft:"sw-resize",bottomRight:"se-resize",leftOrRight:"col-resize",topOrBottom:"row-resize"});function k(t,e){return t.left&&t.top?e.topLeft:t.right&&t.top?e.topRight:t.left&&t.bottom?e.bottomLeft:t.right&&t.bottom?e.bottomRight:t.left||t.right?e.leftOrRight:t.top||t.bottom?e.topOrBottom:""}function M({edges:t,initialRectangle:e,newRectangle:n}){const l={};return Object.keys(t).forEach(t=>{l[t]=(n[t]||0)-(e[t]||0)}),l}class O{constructor(t,e,n,l){this.platformId=t,this.renderer=e,this.elm=n,this.zone=l,this.resizeEdges={},this.enableGhostResize=!1,this.resizeSnapGrid={},this.resizeCursors=S,this.resizeCursorPrecision=3,this.ghostElementPositioning="fixed",this.allowNegativeResizes=!1,this.mouseMoveThrottleMS=50,this.resizeStart=new i.r,this.resizing=new i.r,this.resizeEnd=new i.r,this.mouseup=new r.a,this.mousedown=new r.a,this.mousemove=new r.a,this.destroy$=new r.a,this.resizeEdges$=new r.a,this.pointerEventListeners=D.getInstance(e,l)}ngOnInit(){const t=Object(o.a)(this.pointerEventListeners.pointerDown,this.mousedown),e=Object(o.a)(this.pointerEventListeners.pointerMove,this.mousemove).pipe(Object(u.a)(({event:t})=>{l&&t.preventDefault()}),Object(c.a)()),n=Object(o.a)(this.pointerEventListeners.pointerUp,this.mouseup);let l;const i=()=>{l&&l.clonedNode&&(this.elm.nativeElement.parentElement.removeChild(l.clonedNode),this.renderer.setStyle(this.elm.nativeElement,"visibility","inherit"))},r=()=>Object.assign({},S,this.resizeCursors);this.resizeEdges$.pipe(Object(d.a)(this.resizeEdges),Object(h.a)(()=>this.resizeEdges&&Object.keys(this.resizeEdges).some(t=>!!this.resizeEdges[t])),Object(p.a)(t=>t?e:a.a),Object(f.a)(this.mouseMoveThrottleMS),Object(b.a)(this.destroy$)).subscribe(({clientX:t,clientY:e})=>{const n=x({clientX:t,clientY:e,elm:this.elm,allowedEdges:this.resizeEdges,cursorPrecision:this.resizeCursorPrecision}),i=r();if(!l){const t=k(n,i);this.renderer.setStyle(this.elm.nativeElement,"cursor",t)}this.setElementClass(this.elm,"resize-left-hover",!0===n.left),this.setElementClass(this.elm,"resize-right-hover",!0===n.right),this.setElementClass(this.elm,"resize-top-hover",!0===n.top),this.setElementClass(this.elm,"resize-bottom-hover",!0===n.bottom)}),t.pipe(Object(m.a)(i=>{function r(t){return{clientX:t.clientX-i.clientX,clientY:t.clientY-i.clientY}}const a=()=>{const t={x:1,y:1};return l&&(this.resizeSnapGrid.left&&l.edges.left?t.x=+this.resizeSnapGrid.left:this.resizeSnapGrid.right&&l.edges.right&&(t.x=+this.resizeSnapGrid.right),this.resizeSnapGrid.top&&l.edges.top?t.y=+this.resizeSnapGrid.top:this.resizeSnapGrid.bottom&&l.edges.bottom&&(t.y=+this.resizeSnapGrid.bottom)),t};function s(t,e){return{x:Math.ceil(t.clientX/e.x),y:Math.ceil(t.clientY/e.y)}}return Object(o.a)(e.pipe(Object(g.a)(1)).pipe(Object(h.a)(t=>[,t])),e.pipe(Object(_.a)())).pipe(Object(h.a)(([t,e])=>[t?r(t):t,r(e)])).pipe(Object(y.a)(([t,e])=>{if(!t)return!0;const n=a(),l=s(t,n),i=s(e,n);return l.x!==i.x||l.y!==i.y})).pipe(Object(h.a)(([,t])=>{const e=a();return{clientX:Math.round(t.clientX/e.x)*e.x,clientY:Math.round(t.clientY/e.y)*e.y}})).pipe(Object(b.a)(Object(o.a)(n,t)))})).pipe(Object(y.a)(()=>!!l)).pipe(Object(h.a)(({clientX:t,clientY:e})=>C(l.startingRect,l.edges,t,e))).pipe(Object(y.a)(t=>this.allowNegativeResizes||!!(t.height&&t.width&&t.height>0&&t.width>0))).pipe(Object(y.a)(t=>!this.validateResize||this.validateResize({rectangle:t,edges:M({edges:l.edges,initialRectangle:l.startingRect,newRectangle:t})})),Object(b.a)(this.destroy$)).subscribe(t=>{l&&l.clonedNode&&(this.renderer.setStyle(l.clonedNode,"height",t.height+"px"),this.renderer.setStyle(l.clonedNode,"width",t.width+"px"),this.renderer.setStyle(l.clonedNode,"top",t.top+"px"),this.renderer.setStyle(l.clonedNode,"left",t.left+"px")),this.resizing.observers.length>0&&this.zone.run(()=>{this.resizing.emit({edges:M({edges:l.edges,initialRectangle:l.startingRect,newRectangle:t}),rectangle:t})}),l.currentRect=t}),t.pipe(Object(h.a)(({clientX:t,clientY:e,edges:n})=>n||x({clientX:t,clientY:e,elm:this.elm,allowedEdges:this.resizeEdges,cursorPrecision:this.resizeCursorPrecision}))).pipe(Object(y.a)(t=>Object.keys(t).length>0),Object(b.a)(this.destroy$)).subscribe(t=>{l&&i();const e=function(t,e){let n=0,l=0;const i=t.nativeElement.style,r=["transform","-ms-transform","-moz-transform","-o-transform"].map(t=>i[t]).find(t=>!!t);if(r&&r.includes("translate")&&(n=r.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$1"),l=r.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$2")),"absolute"===e)return{height:t.nativeElement.offsetHeight,width:t.nativeElement.offsetWidth,top:t.nativeElement.offsetTop-l,bottom:t.nativeElement.offsetHeight+t.nativeElement.offsetTop-l,left:t.nativeElement.offsetLeft-n,right:t.nativeElement.offsetWidth+t.nativeElement.offsetLeft-n};{const e=t.nativeElement.getBoundingClientRect();return{height:e.height,width:e.width,top:e.top-l,bottom:e.bottom-l,left:e.left-n,right:e.right-n,scrollTop:t.nativeElement.scrollTop,scrollLeft:t.nativeElement.scrollLeft}}}(this.elm,this.ghostElementPositioning);l={edges:t,startingRect:e,currentRect:e};const n=r(),o=k(l.edges,n);this.renderer.setStyle(document.body,"cursor",o),this.setElementClass(this.elm,"resize-active",!0),this.enableGhostResize&&(l.clonedNode=this.elm.nativeElement.cloneNode(!0),this.elm.nativeElement.parentElement.appendChild(l.clonedNode),this.renderer.setStyle(this.elm.nativeElement,"visibility","hidden"),this.renderer.setStyle(l.clonedNode,"position",this.ghostElementPositioning),this.renderer.setStyle(l.clonedNode,"left",l.startingRect.left+"px"),this.renderer.setStyle(l.clonedNode,"top",l.startingRect.top+"px"),this.renderer.setStyle(l.clonedNode,"height",l.startingRect.height+"px"),this.renderer.setStyle(l.clonedNode,"width",l.startingRect.width+"px"),this.renderer.setStyle(l.clonedNode,"cursor",k(l.edges,n)),this.renderer.addClass(l.clonedNode,"resize-ghost-element"),l.clonedNode.scrollTop=l.startingRect.scrollTop,l.clonedNode.scrollLeft=l.startingRect.scrollLeft),this.resizeStart.observers.length>0&&this.zone.run(()=>{this.resizeStart.emit({edges:M({edges:t,initialRectangle:e,newRectangle:e}),rectangle:C(e,{},0,0)})})}),n.pipe(Object(b.a)(this.destroy$)).subscribe(()=>{l&&(this.renderer.removeClass(this.elm.nativeElement,"resize-active"),this.renderer.setStyle(document.body,"cursor",""),this.renderer.setStyle(this.elm.nativeElement,"cursor",""),this.resizeEnd.observers.length>0&&this.zone.run(()=>{this.resizeEnd.emit({edges:M({edges:l.edges,initialRectangle:l.startingRect,newRectangle:l.currentRect}),rectangle:l.currentRect})}),i(),l=null)})}ngOnChanges(t){t.resizeEdges&&this.resizeEdges$.next(this.resizeEdges)}ngOnDestroy(){Object(l.y)(this.platformId)&&this.renderer.setStyle(document.body,"cursor",""),this.mousedown.complete(),this.mouseup.complete(),this.mousemove.complete(),this.resizeEdges$.complete(),this.destroy$.next()}setElementClass(t,e,n){n?this.renderer.addClass(t.nativeElement,e):this.renderer.removeClass(t.nativeElement,e)}}class D{static getInstance(t,e){return D.instance||(D.instance=new D(t,e)),D.instance}constructor(t,e){this.pointerDown=new s.a(n=>{let l,i;return e.runOutsideAngular(()=>{l=t.listen("document","mousedown",t=>{n.next({clientX:t.clientX,clientY:t.clientY,event:t})}),A&&(i=t.listen("document","touchstart",t=>{n.next({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY,event:t})}))}),()=>{l(),A&&i()}}).pipe(Object(c.a)()),this.pointerMove=new s.a(n=>{let l,i;return e.runOutsideAngular(()=>{l=t.listen("document","mousemove",t=>{n.next({clientX:t.clientX,clientY:t.clientY,event:t})}),A&&(i=t.listen("document","touchmove",t=>{n.next({clientX:t.targetTouches[0].clientX,clientY:t.targetTouches[0].clientY,event:t})}))}),()=>{l(),A&&i()}}).pipe(Object(c.a)()),this.pointerUp=new s.a(n=>{let l,i,r;return e.runOutsideAngular(()=>{l=t.listen("document","mouseup",t=>{n.next({clientX:t.clientX,clientY:t.clientY,event:t})}),A&&(i=t.listen("document","touchend",t=>{n.next({clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,event:t})}),r=t.listen("document","touchcancel",t=>{n.next({clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,event:t})}))}),()=>{l(),A&&(i(),r())}}).pipe(Object(c.a)())}}class T{}},ypnn:function(t,e){t.exports=function(t,e,n){var l=t.byteLength;if(e=e||0,n=n||l,t.slice)return t.slice(e,n);if(e<0&&(e+=l),n<0&&(n+=l),n>l&&(n=l),e>=l||e>=n||0===l)return new ArrayBuffer(0);for(var i=new Uint8Array(t),r=new Uint8Array(n-e),o=e,a=0;o<n;o++,a++)r[a]=i[o];return r.buffer}},"z+Ro":function(t,e,n){"use strict";function l(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return l}))},z1FC:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return l||e?i[n][0]:i[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,l,i){var r=function(t){var n=Math.floor(t%1e3/100),l=Math.floor(t%100/10),i=t%10,r="";return n>0&&(r+=e[n]+"vatlh"),l>0&&(r+=(""!==r?" ":"")+e[l]+"maH"),i>0&&(r+=(""!==r?" ":"")+e[i]),""===r?"pagh":r}(t);switch(l){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("HDdC");function i(t,e){return new l.a(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},zJ60:function(t,e,n){var l=n("Uxeu"),i=n("x7D4")("socket.io-client:url");t.exports=function(t,e){var n=t;e=e||"undefined"!=typeof location&&location,null==t&&(t=e.protocol+"//"+e.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?e.protocol+t:e.host+t),/^(https?|wss?):\/\//.test(t)||(i("protocol-less url %s",t),t=void 0!==e?e.protocol+"//"+t:"https://"+t),i("parse %s",t),n=l(t)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";var r=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+r+":"+n.port,n.href=n.protocol+"://"+r+(e&&e.port===n.port?"":":"+n.port),n}},zMFY:function(t,e){function n(){}t.exports=function(t,e,l){var i=!1;return l=l||n,r.count=t,0===t?e():r;function r(t,n){if(r.count<=0)throw new Error("after called too many times");--r.count,t?(i=!0,e(t),e=l):0!==r.count||i||e(null,n)}}},zMNK:function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return d})),n.d(e,"g",(function(){return h})),n.d(e,"f",(function(){return p}));var l=n("8Y7J");function i(){throw Error("Host already has a portal attached")}class r{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&i(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,l){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=l}}class a extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class s{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends s{constructor(t,e,n,l){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=l}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class c extends a{constructor(t,e){super(t,e)}}class d extends s{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new l.r}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),l=e.createComponent(n,e.length,t.injector||e.injector);return super.setDisposeFn(()=>l.destroy()),this._attachedPortal=t,this._attachedRef=l,this.attached.emit(l),l}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}}class h{}class p{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}},zQui:function(t,e,n){"use strict";n.d(e,"r",(function(){return F})),n.d(e,"t",(function(){return N})),n.d(e,"s",(function(){return Y})),n.d(e,"o",(function(){return U})),n.d(e,"b",(function(){return h})),n.d(e,"j",(function(){return p})),n.d(e,"f",(function(){return f})),n.d(e,"d",(function(){return g})),n.d(e,"i",(function(){return y})),n.d(e,"e",(function(){return A})),n.d(e,"a",(function(){return v})),n.d(e,"l",(function(){return x})),n.d(e,"h",(function(){return M})),n.d(e,"n",(function(){return O})),n.d(e,"c",(function(){return D})),n.d(e,"k",(function(){return T})),n.d(e,"g",(function(){return E})),n.d(e,"m",(function(){return I})),n.d(e,"p",(function(){return H})),n.d(e,"u",(function(){return z})),n.d(e,"q",(function(){return G}));var l=n("KCVW"),i=n("8Y7J"),r=n("8bJo"),o=n("XNiG"),a=n("2Vo4"),s=n("HDdC"),u=n("LRne"),c=n("1G5W");function d(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(l.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}class h{constructor(t){this.template=t}}class p{constructor(t){this.template=t}}class f{constructor(t){this.template=t}}class b{}const m=d(b);class g extends m{constructor(){super(...arguments),this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(l.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}class _{constructor(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}}class y extends _{constructor(t,e){super(t,e)}}class A extends _{constructor(t,e){super(t,e)}}class v extends _{constructor(t,e){super(t,e)}}class C{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof x?t.headerCell.template:this instanceof M?t.footerCell.template:t.cell.template}}class w extends C{}const P=d(w);class x extends P{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}class S extends C{}const k=d(S);class M extends k{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}class O extends C{constructor(t,e){super(t,e)}}let D=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.mostRecentCellOutlet=null,t})();class T{}class E{}class I{}const L=["top","bottom","left","right"];class j{constructor(t,e,n,l=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._isBrowser=l}clearStickyPositioning(t,e){for(const n of t)if(n.nodeType===n.ELEMENT_NODE){this._removeStickyStyle(n,e);for(let t=0;t<n.children.length;t++)this._removeStickyStyle(n.children[t],e)}}updateStickyColumns(t,e,n){const l=e.some(t=>t)||n.some(t=>t);if(!t.length||!l||!this._isBrowser)return;const i=t[0],r=i.children.length,o=this._getCellWidths(i),a=this._getStickyStartColumnPositions(o,e),s=this._getStickyEndColumnPositions(o,n),u="rtl"===this.direction;for(const c of t)for(let t=0;t<r;t++){const l=c.children[t];e[t]&&this._addStickyStyle(l,u?"right":"left",a[t]),n[t]&&this._addStickyStyle(l,u?"left":"right",s[t])}}stickRows(t,e,n){if(!this._isBrowser)return;const l="bottom"===n?t.reverse():t;let i=0;for(let r=0;r<l.length;r++){if(!e[r])continue;const t=l[r];if(this._isNativeHtmlTable)for(let e=0;e<t.children.length;e++)this._addStickyStyle(t.children[e],n,i);else this._addStickyStyle(t,n,i);if(r===l.length-1)return;i+=t.getBoundingClientRect().height}}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector("tfoot");e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}_removeStickyStyle(t,e){for(const n of e)t.style[n]="";t.style.zIndex=this._getCalculatedZIndex(t),L.some(e=>!!t.style[e])||(t.style.position="",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const l of L)t.style[l]&&(n+=e[l]);return n?""+n:""}_getCellWidths(t){const e=[],n=t.children;for(let l=0;l<n.length;l++)e.push(n[l].getBoundingClientRect().width);return e}_getStickyStartColumnPositions(t,e){const n=[];let l=0;for(let i=0;i<t.length;i++)e[i]&&(n[i]=l,l+=t[i]);return n}_getStickyEndColumnPositions(t,e){const n=[];let l=0;for(let i=t.length;i>0;i--)e[i]&&(n[i]=l,l+=t[i]);return n}}function R(t){return Error(`Could not find column with id "${t}".`)}class F{constructor(t,e){this.viewContainer=t,this.elementRef=e}}class N{constructor(t,e){this.viewContainer=t,this.elementRef=e}}class Y{constructor(t,e){this.viewContainer=t,this.elementRef=e}}class U{constructor(t,e,n,l,i,r,s){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=i,this._platform=s,this._onDestroy=new o.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new a.a({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){Object(i.hb)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(l.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,n,l)=>{if(null==t.previousIndex)this._insertRow(t.item,l);else if(null==l)e.remove(n);else{const t=e.get(n);e.move(t,l)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let l=0;l<e.length;l++)this._renderRows[l].rowDef===t&&n.push(e[l]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let l=this._data[n];const i=this._getRenderRowsForData(l,n,e.get(l));this._cachedRenderRowsMap.has(l)||this._cachedRenderRowsMap.set(l,new WeakMap);for(let e=0;e<i.length;e++){let n=i[e];const l=this._cachedRenderRowsMap.get(n.data);l.has(n.rowDef)?l.get(n.rowDef).push(n):l.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(l=>{const i=n&&n.has(l)?n.get(l):[];if(i.length){const t=i.shift();return t.dataIndex=e,t}return{data:t,rowDef:l,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),B(this._contentColumnDefs,this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: "${t.name}".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=B(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=B(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=B(this._contentRowDefs,this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;if(Object(r.e)(this.dataSource)?t=this.dataSource.connect(this):this.dataSource instanceof s.a?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(u.a)(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(c.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw R(t);return e}),l=n.map(t=>t.sticky),i=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,l,i)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const l=t.viewContainer.get(n);e.push(l.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let l=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;l&&n.push(l)}if(!n.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return n}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,n,l={}){t.viewContainer.createEmbeddedView(e.template,l,n);for(let i of this._getCellTemplates(e))D.mostRecentCellOutlet&&D.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,l);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const l=t.get(e).context;l.count=n,l.first=0===e,l.last=e===n-1,l.even=e%2==0,l.odd=!l.even,this.multiTemplateDataRows?(l.dataIndex=this._renderRows[e].dataIndex,l.renderIndex=e):l.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);if(!n)throw R(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup"),e.appendChild(n.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new j(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(u.a)()).pipe(Object(c.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}}function B(t,e){return t.toArray().concat(Array.from(e))}const z=new i.w("text-column-options");class G{constructor(t,e){this._table=t,this._options=e,this.justify="start",this._options=e||{}}get name(){return this._name}set name(t){this._name=t,this._syncColumnDefName()}ngOnInit(){if(this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((t,e)=>t[e])),!this._table)throw Error("Text column could not find a parent table for registration.");this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef)}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const t=this.name;if(Object(i.hb)()&&!t)throw Error("Table text column must have a name.");return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}class H{}},zX6e:function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"f",(function(){return c}));var l="ol-hidden",i="ol-selectable",r="ol-unselectable",o="ol-control",a="ol-collapsed",s=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),u=["style","variant","weight","size","lineHeight","family"],c=function(t){var e=t.match(s);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},l=0,i=u.length;l<i;++l){var r=e[l+1];void 0!==r&&(n[u[l]]=r)}return n.families=n.family.split(/,\s?/),n}},zbXB:function(t,e,n){"use strict";n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return I})),n.d(e,"c",(function(){return L})),n.d(e,"f",(function(){return j})),n.d(e,"d",(function(){return R})),n.d(e,"e",(function(){return N}));var l=n("8Y7J"),i=n("821u"),r=(n("t68o"),n("SVse")),o=(n("QQfA"),n("IP0z")),a=(n("s6ns"),n("POq0")),s=n("Xd0L"),u=(n("cUpR"),n("/HVE"),n("Fwaw")),c=n("zMNK"),d=(n("hOhj"),n("5GAg")),h=n("bujt"),p=n("omvX"),f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,12,"div",[["class","mat-calendar-header"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,11,"div",[["class","mat-calendar-controls"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"button",[["cdkAriaLive","polite"],["class","mat-calendar-period-button"],["mat-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.currentPeriodClicked()&&l),l}),h.b,h.a)),l.Cb(3,180224,null,0,u.b,[l.p,d.h,[2,p.a]],null,null),l.Cb(4,147456,null,0,d.d,[l.p,d.j,a.b,l.G],{politeness:[0,"politeness"]},null),(t()(),l.Wb(5,0,["",""])),(t()(),l.Db(6,0,null,0,0,"div",[["class","mat-calendar-arrow"]],[[2,"mat-calendar-invert",null]],null,null,null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-calendar-spacer"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(9,0,null,null,1,"button",[["class","mat-calendar-previous-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.previousClicked()&&l),l}),h.b,h.a)),l.Cb(10,180224,null,0,u.b,[l.p,d.h,[2,p.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(11,0,null,null,1,"button",[["class","mat-calendar-next-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.nextClicked()&&l),l}),h.b,h.a)),l.Cb(12,180224,null,0,u.b,[l.p,d.h,[2,p.a]],{disabled:[0,"disabled"]},null)],(function(t,e){var n=e.component;t(e,4,0,"polite"),t(e,10,0,!n.previousEnabled()),t(e,12,0,!n.nextEnabled())}),(function(t,e){var n=e.component;t(e,2,0,n.periodButtonLabel,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode),t(e,5,0,n.periodButtonText),t(e,6,0,"month"!=n.calendar.currentView),t(e,9,0,n.prevButtonLabel,l.Pb(e,10).disabled||null,"NoopAnimations"===l.Pb(e,10)._animationMode),t(e,11,0,n.nextButtonLabel,l.Pb(e,12).disabled||null,"NoopAnimations"===l.Pb(e,12)._animationMode)}))}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-calendar-header",[],null,null,null,b,f)),l.Cb(1,49152,null,0,i.e,[i.i,i.c,[2,s.c],[2,s.g],l.j],null,null)],null,null)}var g=l.zb("mat-calendar-header",i.e,m,{},{},["*"]),_=l.Bb({encapsulation:2,styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],data:{}});function y(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function A(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-month-view",[],null,[[null,"activeDateChange"],[null,"selectedChange"],[null,"_userSelection"]],(function(t,e,n){var l=!0,i=t.component;return"activeDateChange"===e&&(l=!1!==(i.activeDate=n)&&l),"selectedChange"===e&&(l=!1!==i._dateSelected(n)&&l),"_userSelection"===e&&(l=!1!==i._userSelected()&&l),l}),B,Y)),l.Cb(1,1097728,[[1,4]],0,i.l,[l.j,[2,s.g],[2,s.c],[2,o.b]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"],dateClass:[5,"dateClass"]},{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"})],(function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter,n.dateClass)}),null)}function v(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-year-view",[],null,[[null,"activeDateChange"],[null,"monthSelected"],[null,"selectedChange"]],(function(t,e,n){var l=!0,i=t.component;return"activeDateChange"===e&&(l=!1!==(i.activeDate=n)&&l),"monthSelected"===e&&(l=!1!==i._monthSelectedInYearView(n)&&l),"selectedChange"===e&&(l=!1!==i._goToDateInView(n,"month")&&l),l}),G,z)),l.Cb(1,1097728,[[2,4]],0,i.n,[l.j,[2,s.g],[2,s.c],[2,o.b]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"})],(function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)}),null)}function C(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-multi-year-view",[],null,[[null,"activeDateChange"],[null,"yearSelected"],[null,"selectedChange"]],(function(t,e,n){var l=!0,i=t.component;return"activeDateChange"===e&&(l=!1!==(i.activeDate=n)&&l),"yearSelected"===e&&(l=!1!==i._yearSelectedInMultiYearView(n)&&l),"selectedChange"===e&&(l=!1!==i._goToDateInView(n,"year")&&l),l}),V,H)),l.Cb(1,1097728,[[3,4]],0,i.m,[l.j,[2,s.c],[2,o.b]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"})],(function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)}),null)}function w(t){return l.Yb(2,[l.Ub(671088640,1,{monthView:0}),l.Ub(671088640,2,{yearView:0}),l.Ub(671088640,3,{multiYearView:0}),(t()(),l.sb(16777216,null,null,1,null,y)),l.Cb(4,212992,null,0,c.c,[l.m,l.Y],{portal:[0,"portal"]},null),(t()(),l.Db(5,0,null,null,8,"div",[["cdkMonitorSubtreeFocus",""],["class","mat-calendar-content"],["tabindex","-1"]],null,null,null,null,null)),l.Cb(6,16384,null,0,r.r,[],{ngSwitch:[0,"ngSwitch"]},null),l.Cb(7,147456,null,0,d.e,[l.p,d.h],null,null),(t()(),l.sb(16777216,null,null,1,null,A)),l.Cb(9,278528,null,0,r.s,[l.Y,l.U,r.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,v)),l.Cb(11,278528,null,0,r.s,[l.Y,l.U,r.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,C)),l.Cb(13,278528,null,0,r.s,[l.Y,l.U,r.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,4,0,n._calendarHeaderPortal),t(e,6,0,n.currentView),t(e,9,0,"month"),t(e,11,0,"year"),t(e,13,0,"multi-year")}),null)}var P=l.Bb({encapsulation:2,styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media (-ms-high-contrast:active){.mat-calendar-body-cell-content{border:none}}@media (-ms-high-contrast:active){.mat-calendar-body-selected,.mat-datepicker-popup:not(:empty){outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}}[dir=rtl] .mat-calendar-body-label{text-align:right}"],data:{}});function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"td",[["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(t()(),l.Wb(2,null,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.numCols,n._cellPadding,n._cellPadding),t(e,2,0,n.label)}))}function S(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"td",[["aria-hidden","true"],["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._firstRowOffset,n._cellPadding,n._cellPadding),t(e,1,0,n._firstRowOffset>=n.labelMinRequiredCells?n.label:"")}))}function k(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-calendar-body-cell"],["role","button"]],[[8,"tabIndex",0],[2,"mat-calendar-body-disabled",null],[2,"mat-calendar-body-active",null],[1,"aria-label",0],[1,"aria-disabled",0],[1,"aria-selected",0],[4,"width",null],[4,"paddingTop",null],[4,"paddingBottom",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component._cellClicked(t.context.$implicit)&&l),l}),null,null)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,r.l,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),l.Db(3,0,null,null,1,"div",[["class","mat-calendar-body-cell-content"]],[[2,"mat-calendar-body-selected",null],[2,"mat-calendar-body-today",null]],null,null,null,null)),(t()(),l.Wb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-calendar-body-cell",e.context.$implicit.cssClasses)}),(function(t,e){var n=e.component;t(e,0,0,n._isActiveCell(e.parent.context.index,e.context.index)?0:-1,!e.context.$implicit.enabled,n._isActiveCell(e.parent.context.index,e.context.index),e.context.$implicit.ariaLabel,!e.context.$implicit.enabled||null,n.selectedValue===e.context.$implicit.value,n._cellWidth,n._cellPadding,n._cellPadding),t(e,3,0,n.selectedValue===e.context.$implicit.value,n.todayValue===e.context.$implicit.value),t(e,4,0,e.context.$implicit.displayValue)}))}function M(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"tr",[["role","row"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,S)),l.Cb(2,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,k)),l.Cb(4,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,0===e.context.index&&e.component._firstRowOffset),t(e,4,0,e.context.$implicit)}),null)}function O(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,x)),l.Cb(1,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,M)),l.Cb(3,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._firstRowOffset<n.labelMinRequiredCells),t(e,3,0,n.rows)}),null)}var D=l.Bb({encapsulation:2,styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation:landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation:portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(1, 0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms linear"},options:null}],options:{}},{type:7,name:"fadeInCalendar",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null}],options:{}}]}});function T(t){return l.Yb(2,[l.Ub(671088640,1,{_calendar:0}),(t()(),l.Db(1,0,null,null,4,"mat-calendar",[["cdkTrapFocus",""],["class","mat-calendar"]],[[8,"id",0],[24,"@fadeInCalendar",0]],[[null,"selectedChange"],[null,"yearSelected"],[null,"monthSelected"],[null,"_userSelection"]],(function(t,e,n){var l=!0,i=t.component;return"selectedChange"===e&&(l=!1!==i.datepicker.select(n)&&l),"yearSelected"===e&&(l=!1!==i.datepicker._selectYear(n)&&l),"monthSelected"===e&&(l=!1!==i.datepicker._selectMonth(n)&&l),"_userSelection"===e&&(l=!1!==i.datepicker.close()&&l),l}),w,_)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,r.l,[r.A],{ngClass:[0,"ngClass"]},null),l.Cb(4,1458176,null,0,d.f,[l.p,d.i,r.d],{enabled:[0,"enabled"]},null),l.Cb(5,10141696,[[1,4]],0,i.c,[i.i,[2,s.c],[2,s.g],l.j],{headerComponent:[0,"headerComponent"],startAt:[1,"startAt"],startView:[2,"startView"],selected:[3,"selected"],minDate:[4,"minDate"],maxDate:[5,"maxDate"],dateFilter:[6,"dateFilter"],dateClass:[7,"dateClass"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"})],(function(t,e){var n=e.component;t(e,3,0,n.datepicker.panelClass),t(e,4,0,""),t(e,5,0,n.datepicker.calendarHeaderComponent,n.datepicker.startAt,n.datepicker.startView,n.datepicker._selected,n.datepicker._minDate,n.datepicker._maxDate,n.datepicker._dateFilter,n.datepicker.dateClass)}),(function(t,e){t(e,1,0,e.component.datepicker.id,"enter")}))}function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-datepicker-content",[["class","mat-datepicker-content"]],[[40,"@transformPanel",0],[2,"mat-datepicker-content-touch",null]],null,null,T,D)),l.Cb(1,4243456,null,0,i.g,[l.p],null,null)],null,(function(t,e){t(e,0,0,"enter",l.Pb(e,1).datepicker.touchUi)}))}var I=l.zb("mat-datepicker-content",i.g,E,{color:"color"},{},[]),L=l.Bb({encapsulation:2,styles:[],data:{}});function j(t){return l.Yb(2,[],null,null)}var R=l.Bb({encapsulation:2,styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}"],data:{}});function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,":svg:svg",[["class","mat-datepicker-toggle-default-icon"],["fill","currentColor"],["focusable","false"],["height","24px"],["viewBox","0 0 24 24"],["width","24px"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,":svg:path",[["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],null,null,null,null,null))],null,null)}function N(t){return l.Yb(2,[l.Ub(671088640,1,{_button:0}),(t()(),l.Db(1,0,null,null,4,"button",[["mat-icon-button",""],["type","button"]],[[1,"aria-haspopup",0],[1,"aria-label",0],[1,"tabindex",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component._open(n)&&l),l}),h.b,h.a)),l.Cb(2,180224,[[1,4],["button",4]],0,u.b,[l.p,d.h,[2,p.a]],{disabled:[0,"disabled"],disableRipple:[1,"disableRipple"]},null),(t()(),l.sb(16777216,null,0,1,null,F)),l.Cb(4,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),l.Ob(0,0)],(function(t,e){var n=e.component;t(e,2,0,n.disabled,n.disableRipple),t(e,4,0,!n._customIcon)}),(function(t,e){var n=e.component;t(e,1,0,n.datepicker?"dialog":null,n._intl.openCalendarLabel,n.disabled?-1:n.tabIndex,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}var Y=l.Bb({encapsulation:2,styles:[],data:{}});function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["scope","col"]],[[1,"aria-label",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,0,0,e.context.$implicit.long),t(e,1,0,e.context.$implicit.narrow)}))}function B(t){return l.Yb(2,[l.Ub(671088640,1,{_matCalendarBody:0}),(t()(),l.Db(1,0,null,null,8,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,5,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"tr",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(5,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(6,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,0,"th",[["aria-hidden","true"],["class","mat-calendar-table-header-divider"],["colspan","7"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"selectedValueChange"===e&&(l=!1!==i._dateSelected(n)&&l),"keydown"===e&&(l=!1!==i._handleCalendarBodyKeydown(n)&&l),l}),O,P)),l.Cb(9,573440,[[1,4]],0,i.d,[l.p,l.G],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],activeCell:[5,"activeCell"]},{selectedValueChange:"selectedValueChange"})],(function(t,e){var n=e.component;t(e,5,0,n._weekdays),t(e,9,0,n._monthLabel,n._weeks,n._todayDate,n._selectedDate,3,n._dateAdapter.getDate(n.activeDate)-1)}),null)}var z=l.Bb({encapsulation:2,styles:[],data:{}});function G(t){return l.Yb(2,[l.Ub(671088640,1,{_matCalendarBody:0}),(t()(),l.Db(1,0,null,null,5,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"selectedValueChange"===e&&(l=!1!==i._monthSelected(n)&&l),"keydown"===e&&(l=!1!==i._handleCalendarBodyKeydown(n)&&l),l}),O,P)),l.Cb(6,573440,[[1,4]],0,i.d,[l.p,l.G],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],numCols:[5,"numCols"],activeCell:[6,"activeCell"],cellAspectRatio:[7,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],(function(t,e){var n=e.component;t(e,6,0,n._yearLabel,n._months,n._todayMonth,n._selectedMonth,2,4,n._dateAdapter.getMonth(n.activeDate),4/7)}),null)}var H=l.Bb({encapsulation:2,styles:[],data:{}});function V(t){return l.Yb(2,[l.Ub(671088640,1,{_matCalendarBody:0}),(t()(),l.Db(1,0,null,null,5,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"selectedValueChange"===e&&(l=!1!==i._yearSelected(n)&&l),"keydown"===e&&(l=!1!==i._handleCalendarBodyKeydown(n)&&l),l}),O,P)),l.Cb(6,573440,[[1,4]],0,i.d,[l.p,l.G],{rows:[0,"rows"],todayValue:[1,"todayValue"],selectedValue:[2,"selectedValue"],numCols:[3,"numCols"],activeCell:[4,"activeCell"],cellAspectRatio:[5,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],(function(t,e){var n=e.component;t(e,6,0,n._years,n._todayYear,n._selectedYear,4,n._getActiveCell(),4/7)}),null)}},zeP7:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={C:{min_northing:11e5,north:-72,south:-80.5},D:{min_northing:2e6,north:-64,south:-72},E:{min_northing:28e5,north:-56,south:-64},F:{min_northing:37e5,north:-48,south:-56},G:{min_northing:46e5,north:-40,south:-48},H:{min_northing:55e5,north:-32,south:-40},J:{min_northing:64e5,north:-24,south:-32},K:{min_northing:73e5,north:-16,south:-24},L:{min_northing:82e5,north:-8,south:-16},M:{min_northing:91e5,north:0,south:-8},N:{min_northing:0,north:8,south:0},P:{min_northing:8e5,north:16,south:8},Q:{min_northing:17e5,north:24,south:16},R:{min_northing:26e5,north:32,south:24},S:{min_northing:35e5,north:40,south:32},T:{min_northing:44e5,north:48,south:40},U:{min_northing:53e5,north:56,south:48},V:{min_northing:62e5,north:64,south:56},W:{min_northing:7e6,north:72,south:64},X:{min_northing:79e5,north:84.5,south:72}};function e(e){var n,l,i,r,o,a,s,u,c,d,h,p,f=[];if("object"!=typeof(u=function(t){var e,n,l,i,r={};if(r.Zone=parseInt(t.match(/(\d+)/g)[0],10),r.Zone<1||r.Zone>60)throw"MGRS formatting wrong";if(!(e=t.match(/[a-zA-Z]{3}/)[0]))throw"MGRS formatting error";if(r.Letters=e,r.Letters.indexOf("I")>=0||r.Letters.indexOf("O")>=0)throw"MGRS formatting wrong";if(!((e=t.match(/\d+$/)[0]).length<=10&&e.length%2==0))throw"MGRS formatting wrong";return r.Precision=e.length/2,r.Precision>0?(n=parseInt(e.substring(0,e.length/2),10),l=parseInt(e.substring(e.length/2),10),i=Math.pow(10,5-r.Precision),r.Easting=n*i,r.Northing=l*i):(r.Easting=0,r.Northing=0),r}(e)))throw"MGRS not formatted correctly";if(h=u.Easting,p=u.Northing,!(d=u.Zone))throw"Zone not readable";if("string"!=typeof(f=u.Letters))throw"Invalid MGRS string: no letters";if("X"===f.charAt(0)&&(32===d||34===d||36===d))throw"Malformed MGRS";if(c=f.charAt(0)<"N"?"S":"N",u=function(t){var e,n,l;return 1===(e=t%6||6)||4===e?(n="A",l="H"):2===e||5===e?(n="J",l="R"):3!==e&&6!==e||(n="S",l="Z"),{ltr2_low_value:n,ltr2_high_value:l,false_northing:e%2==0?15e5:0}}(d),i=u.ltr2_low_value,r=u.ltr2_high_value,o=u.false_northing,f.charAt(1)<i||f.charAt(1)>r||f.charAt(2)>"V")throw"Malformed";for(s=1e5*parseFloat(f.charCodeAt(2)-"A".charCodeAt(0))+o,a=1e5*parseFloat(f.charCodeAt(1)-i.charCodeAt(0)+1),"J"===i&&f.charAt(1)>"O"&&(a-=1e5),f.charAt(2)>"O"&&(s-=1e5),f.charAt(2)>"I"&&(s-=1e5),s>=2e6&&(s-=2e6),n=l=function(e){var n;if(e>="C"&&e<="H")n=t[e].min_northing;else if(e>="J"&&e<="N")n=t[e].min_northing;else{if(!(e>="P"&&e<="X"))throw"MGRS not formatted correctly";n=t[e].min_northing}return n}(f[0]);n>=2e6;)n-=2e6;return(s-=n)<0&&(s+=2e6),{Zone:d,Hemisphere:c,Easting:h=a+h,Northing:p=(s=l+s)+p}}return function(){return e}})?l.apply(e,[]):l)||(t.exports=i)},zfM5:function(t,e,n){"use strict";var l,i=n("Cy2j"),r=n("QzRn"),o=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n=t.call(this,{handleEvent:s})||this,l=e||{};return n.delta_=l.delta?l.delta:1,n.duration_=void 0!==l.duration?l.duration:250,n}return o(e,t),e}(r.a);function s(t){var e=!1;if(t.type==i.a.DBLCLICK){var n=t.coordinate,l=t.originalEvent.shiftKey?-this.delta_:this.delta_,o=t.map.getView();Object(r.c)(o,l,n,this.duration_),t.preventDefault(),e=!0}return!e}e.a=a},zixo:function(t,e,n){"use strict";var l,i=n("XDhV"),r=n("6Y3p"),o=n("CZmH"),a=n("hp/u"),s=n("3er3"),u=n("qzVC"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=this;return(n=t.call(this,{opacity:1,rotateWithView:void 0!==e.rotateWithView&&e.rotateWithView,rotation:void 0!==e.rotation?e.rotation:0,scale:1,displacement:void 0!==e.displacement?e.displacement:[0,0]})||this).canvas_=null,n.hitDetectionCanvas_=null,n.fill_=void 0!==e.fill?e.fill:null,n.origin_=[0,0],n.points_=e.points,n.radius_=void 0!==e.radius?e.radius:e.radius1,n.radius2_=e.radius2,n.angle_=void 0!==e.angle?e.angle:0,n.stroke_=void 0!==e.stroke?e.stroke:null,n.anchor_=null,n.size_=null,n.imageSize_=null,n.hitDetectionImageSize_=null,n.render(),n}return c(e,t),e.prototype.clone=function(){var t=new e({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()});return t.setOpacity(this.getOpacity()),t.setScale(this.getScale()),t},e.prototype.getAnchor=function(){return this.anchor_},e.prototype.getAngle=function(){return this.angle_},e.prototype.getFill=function(){return this.fill_},e.prototype.getHitDetectionImage=function(t){return this.hitDetectionCanvas_},e.prototype.getImage=function(t){return this.canvas_},e.prototype.getImageSize=function(){return this.imageSize_},e.prototype.getHitDetectionImageSize=function(){return this.hitDetectionImageSize_},e.prototype.getImageState=function(){return a.a.LOADED},e.prototype.getOrigin=function(){return this.origin_},e.prototype.getPoints=function(){return this.points_},e.prototype.getRadius=function(){return this.radius_},e.prototype.getRadius2=function(){return this.radius2_},e.prototype.getSize=function(){return this.size_},e.prototype.getStroke=function(){return this.stroke_},e.prototype.listenImageChange=function(t){},e.prototype.load=function(){},e.prototype.unlistenImageChange=function(t){},e.prototype.render=function(){var t,e=s.e,n=s.h,l=0,i=null,a=0,u=0;this.stroke_&&(null===(t=this.stroke_.getColor())&&(t=s.l),t=Object(r.a)(t),void 0===(u=this.stroke_.getWidth())&&(u=s.i),i=this.stroke_.getLineDash(),a=this.stroke_.getLineDashOffset(),void 0===(n=this.stroke_.getLineJoin())&&(n=s.h),void 0===(e=this.stroke_.getLineCap())&&(e=s.e),void 0===(l=this.stroke_.getMiterLimit())&&(l=s.j));var c=2*(this.radius_+u)+1,d={strokeStyle:t,strokeWidth:u,size:c,lineCap:e,lineDash:i,lineDashOffset:a,lineJoin:n,miterLimit:l},h=Object(o.a)(c,c);this.canvas_=h.canvas;var p=c=this.canvas_.width,f=this.getDisplacement();this.draw_(d,h,0,0),this.createHitDetectionCanvas_(d),this.anchor_=[c/2-f[0],c/2+f[1]],this.size_=[c,c],this.imageSize_=[p,p]},e.prototype.draw_=function(t,e,n,l){var i,o,a;e.setTransform(1,0,0,1,0,0),e.translate(n,l),e.beginPath();var u=this.points_;if(u===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var c=void 0!==this.radius2_?this.radius2_:this.radius_;for(c!==this.radius_&&(u*=2),i=0;i<=u;i++)o=2*i*Math.PI/u-Math.PI/2+this.angle_,e.lineTo(t.size/2+(a=i%2==0?this.radius_:c)*Math.cos(o),t.size/2+a*Math.sin(o))}if(this.fill_){var d=this.fill_.getColor();null===d&&(d=s.c),e.fillStyle=Object(r.a)(d),e.fill()}this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,e.setLineDash&&t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},e.prototype.createHitDetectionCanvas_=function(t){if(this.hitDetectionImageSize_=[t.size,t.size],this.hitDetectionCanvas_=this.canvas_,this.fill_){var e=this.fill_.getColor(),n=0;if("string"==typeof e&&(e=Object(i.a)(e)),null===e?n=1:Array.isArray(e)&&(n=4===e.length?e[3]:1),0===n){var l=Object(o.a)(t.size,t.size);this.hitDetectionCanvas_=l.canvas,this.drawHitDetectionCanvas_(t,l,0,0)}}},e.prototype.drawHitDetectionCanvas_=function(t,e,n,l){e.setTransform(1,0,0,1,0,0),e.translate(n,l),e.beginPath();var i=this.points_;if(i===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var r=void 0!==this.radius2_?this.radius2_:this.radius_;r!==this.radius_&&(i*=2);var o=void 0,a=void 0,u=void 0;for(o=0;o<=i;o++)u=2*o*Math.PI/i-Math.PI/2+this.angle_,e.lineTo(t.size/2+(a=o%2==0?this.radius_:r)*Math.cos(u),t.size/2+a*Math.sin(u))}e.fillStyle=s.c,e.fill(),this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.stroke()),e.closePath()},e}(u.a),h=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),p=function(t){function e(e){var n=e||{};return t.call(this,{points:1/0,fill:n.fill,radius:n.radius,stroke:n.stroke,displacement:void 0!==n.displacement?n.displacement:[0,0]})||this}return h(e,t),e.prototype.clone=function(){var t=new e({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),displacement:this.getDisplacement().slice()});return t.setOpacity(this.getOpacity()),t.setScale(this.getScale()),t},e.prototype.setRadius=function(t){this.radius_=t,this.render()},e}(d);e.a=p},zvco:function(t,e,n){"use strict";var l=function(){function t(t){this.type=t,this.target=null}return t.prototype.preventDefault=function(){this.propagationStopped=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();e.a=l},zx2A:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var l=n("7o/Q"),i=n("HDdC"),r=n("SeVD");class o extends l.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends l.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function s(t,e){if(!e.closed)return t instanceof i.a?t.subscribe(e):Object(r.a)(t)(e)}},zx31:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}}

Reference

http://blogs.wsj.com/cio/2013/10/08/adobe-source-code-leak-is-bad-news-for-u-s-government/

CWE Id540
WASC Id13
Source ID3
Medium (Medium)X-Frame-Options Header Not Set
Description

X-Frame-Options header is not included in the HTTP response to protect against 'ClickJacking' attacks.

URLhttps://sepia.fabnum.fr/
MethodGET
ParameterX-Frame-Options
URLhttps://sepia.fabnum.fr/sitemap.xml
MethodGET
ParameterX-Frame-Options
URLhttps://sepia.fabnum.fr/robots.txt
MethodGET
ParameterX-Frame-Options
Instances3
Solution

Most modern Web browsers support the X-Frame-Options HTTP header. Ensure it's set on all web pages returned by your site (if you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.

Reference

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

CWE Id1021
WASC Id15
Source ID3
Low (Low)Dangerous JS Functions
Description

A dangerous JS function seems to be in use that would leave the site vulnerable.

URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
EvidencebypassSecurityTrustHtml
Instances1
Solution

See the references for security advice on the use of these functions.

Reference

https://angular.io/guide/security

CWE Id749
Source ID3
Low (Medium)Incomplete or No Cache-control Header Set
Description

The cache-control header has not been set properly or is missing, allowing the browser and proxies to cache content.

URLhttps://sepia.fabnum.fr/robots.txt
MethodGET
ParameterCache-Control
URLhttps://sepia.fabnum.fr/
MethodGET
ParameterCache-Control
URLhttps://sepia.fabnum.fr/sitemap.xml
MethodGET
ParameterCache-Control
Instances3
Solution

Whenever possible ensure the cache-control HTTP header is set with no-cache, no-store, must-revalidate.

Reference

https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#web-content-caching

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

CWE Id525
WASC Id13
Source ID3
Low (Medium)Permissions Policy Header Not Set
Description

Permissions Policy Header is an added layer of security that helps to restrict from unauthorized access or usage of browser/client features by web resources. This policy ensures the user privacy by limiting or specifying the features of the browsers can be used by the web resources. Permissions Policy provides a set of standard HTTP headers that allow website owners to limit which features of browsers can be used by the page such as camera, microphone, location, full screen etc.

URLhttps://sepia.fabnum.fr/
MethodGET
URLhttps://sepia.fabnum.fr/runtime-es2015.c38a6edb350405b56932.js
MethodGET
URLhttps://sepia.fabnum.fr/robots.txt
MethodGET
URLhttps://sepia.fabnum.fr/polyfills-es2015.b43d4dcd8c503294cc94.js
MethodGET
URLhttps://sepia.fabnum.fr/sitemap.xml
MethodGET
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
URLhttps://sepia.fabnum.fr/polyfills-es5.7bebc223554456e35572.js
MethodGET
URLhttps://sepia.fabnum.fr/runtime-es5.c38a6edb350405b56932.js
MethodGET
Instances8
Solution

Ensure that your web server, application server, load balancer, etc. is configured to set the Permissions-Policy header.

Reference

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy

https://developers.google.com/web/updates/2018/06/feature-policy

https://scotthelme.co.uk/a-new-security-header-feature-policy/

https://w3c.github.io/webappsec-feature-policy/

https://www.smashingmagazine.com/2018/12/feature-policy/

CWE Id693
WASC Id15
Source ID3
Low (Medium)X-Content-Type-Options Header Missing
Description

The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

URLhttps://sepia.fabnum.fr/assets/logo_lite.svg
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/polyfills-es5.7bebc223554456e35572.js
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/runtime-es2015.c38a6edb350405b56932.js
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/robots.txt
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/polyfills-es2015.b43d4dcd8c503294cc94.js
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/main-es5.2d94e01622772aa752ec.js
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/runtime-es5.c38a6edb350405b56932.js
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/sitemap.xml
MethodGET
ParameterX-Content-Type-Options
URLhttps://sepia.fabnum.fr/styles.f72457cb1e9c6a6f2f5f.css
MethodGET
ParameterX-Content-Type-Options
Instances11
Solution

Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.

If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.

Other information

This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.

At "High" threshold this scan rule will not alert on client or server error responses.

Reference

http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx

https://owasp.org/www-community/Security_Headers

CWE Id693
WASC Id15
Source ID3
Informational (Medium)Base64 Disclosure
Description

Base64 encoded data was disclosed by the application/web server. Note: in the interests of performance not all base64 strings in the response were analyzed individually, the entire response should be looked at by the analyst/security team/developer(s).

URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
EvidenceiVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==
Instances1
Solution

Manually confirm that the Base64 data does not leak sensitive information, and that the data cannot be aggregated/used to exploit other vulnerabilities.

Other information

�PNG

\x001a

\x0000\x0000\x0000 IHDR\x0000\x0000\x0000 \x0000\x0000\x0000 \x0008\x0003\x0000\x0000\x0000D���\x0000\x0000\x0002\x0013PLTE���\x0000��\x0000�����\x0000UU@@����+UUI��`��'Nbv��$[[m��&Yff��X�� Xh\x001eSbf��k��Q��\x001eSeW��!Wbj��\x001eVc!Vch��\x001fTe Td\x001fTd\x001fVej��j��V��\x001fUdi��k��!Vc TcT��k��!Ud^�Ѱ�� Ud Ve!Uc��އ��l��\x001fVd Tdk��l�� Ud Uc Udl��\x001fUcl�� Uem�� Uek�� Udl��l��\x001fUdl�� Uem�� Udm��l�֌�� UdS����� Udm�� Udn��l�� UdFp|m�����[�� Udm�����S��f��_��������b��Eq|Nw�Ox�Px�"VeT��U��U��W��X��Z��[��\��^��%Yh&Zhc��e��*\kh��i��j��k��k��l��._mt��u��v��w��x��{��}�ր�������؍����ٞ����ۢ����ۣ�ۤ����ݬ����ݱ�ú�߻��������������������2bp���9gt������������������������������:hu������_��V��`��a��l��V���f�\x0000\x0000\x0000ZtRNS\x0000\x0001\x0002\x0002\x0003\x0004\x0004\x0006\x0007\x0008 \x000e\x000e\x0014\x0019\x001a "#&)+,/5;>BIORSTYbchktvw~������������������������������������������������>Ұ\x0000\x0000\x0001NIDATx^��Uc�0\x0014�Q5Efff�\x0014�23o�\x001c*33333�x?�\x0001+�l��=��|ue��l�M>��A�\x0008�&9��iH�ؗ��g!ZC\x0018_��G\x000c�)�\x0007V!m_�Y��#�\x001cW�zĄX.���38Z��t�\x000cR�]\x0014���\x001f\x0010Bu�+i���;�]�P�ŝ\x0014K(ٰF9���\x0000�R��:��=��F_\x0017�:�\x001d\x000bh\x0015�Yn�����nX����}'x'

�D�R���\x0013���\x0001o@s�|;�Z}��e �

\x0000�Y0��/�4}���'L6\x0003\x000c���U,�Q���{#�\x0011\x0000mV�p��y�G�����eu\x0000`1N�-R�x~|��z�;�

��>�

7�0�\x000e��*�M��#S0�\x0002�s\x0011A��p\x0003���':!�\x0016|�w�����\x0001\x0002�\x0000\x0000\x0000\x0000IEND�B`�

Reference

http://projects.webappsec.org/w/page/13246936/Information%20Leakage

CWE Id200
WASC Id13
Source ID3
Informational (Low)Information Disclosure - Suspicious Comments
Description

The response appears to contain suspicious comments which may help an attacker. Note: Matches made within script blocks or files are against the entire content not only comments.

URLhttps://sepia.fabnum.fr/polyfills-es5.7bebc223554456e35572.js
MethodGET
EvidenceSelect
URLhttps://sepia.fabnum.fr/main-es5.2d94e01622772aa752ec.js
MethodGET
Evidencebug
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidencebug
URLhttps://sepia.fabnum.fr/polyfills-es2015.b43d4dcd8c503294cc94.js
MethodGET
Evidenceselect
Instances4
Solution

Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.

Other information

The following pattern was used: \bSELECT\b and was detected in the element starting with: "function _createForOfIteratorHelper(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=", see evidence field for the suspicious comment/snippet.

Reference

CWE Id200
WASC Id13
Source ID3
Informational (Medium)Modern Web Application
Description

The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.

URLhttps://sepia.fabnum.fr/
MethodGET
Evidence<script src="runtime-es2015.c38a6edb350405b56932.js" type="module"></script>
URLhttps://sepia.fabnum.fr/robots.txt
MethodGET
Evidence<script src="runtime-es2015.c38a6edb350405b56932.js" type="module"></script>
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence<A>>>0)c=a;else{u=v;do{S=0|Pe(7,0,3*(14-u|0)|0),u=u+1|0,n|=S,a=0|w()|a}while(u>>>0<c>>>0);c=a}else n=h,c=s;else n=0,c=0;for(u=0|Ce(0|n,0|c,0|r,0|m),w(),a=0;;){if((0|a)>(0|r)){x=98;break t}if((-117440513&(d=0|i[4+(S=l+(u<<3)|0)>>2])|0)==(0|c)&&(0|i[S>>2])==(0|n)){x=93;break}if((0|i[(S=l+((u=(u+1|0)%(0|r)|0)<<3)|0)>>2])==(0|n)&&(0|i[S+4>>2])==(0|c))break;a=a+1|0}if(93==(0|x)&&(x=0,!0&100663296==(117440512&d|0)))break;i[(S=e+(o<<3)|0)>>2]=h,i[S+4>>2]=s,o=o+1|0}}while(0);if((0|(t=t+1|0))>=(0|r)){r=f;break e}h=0|i[(s=P+(t<<3)|0)>>2],s=0|i[s+4>>2]}}else o=0,r=f}else o=0,r=0}while(0);if(Me(0|l,0,0|C),ke(0|P,0|g,r<<3|0),_e(g),!r)break;e=e+(o<<3)|0}return 41==(0|x)?(_e(P),_e(l),0|(S=-1)):51==(0|x)?(_e(P),_e(l),0|(S=-2)):58==(0|x)?(_e(P),_e(l),0|(S=-3)):98==(0|x)?(_e(g),_e(P),_e(l),0|(S=-1)):(99==(0|x)&&ke(0|e,0|P,r<<3|0),_e(P),_e(l),0|(S=0))},_destroyLinkedPolygon:function(t){var e=0,n=0,l=0,r=0;if(t|=0)for(l=1;;){if(0|(e=0|i[t>>2]))do{if(0|(n=0|i[e>>2]))do{r=n,n=0|i[n+16>>2],_e(r)}while(0!=(0|n));r=e,e=0|i[e+8>>2],_e(r)}while(0!=(0|e));if(e=t,t=0|i[t+8>>2],l||_e(e),!t)break;l=0}},_edgeLengthKm:function(t){return+ +r[20752+((t|=0)<<3)>>3]},_edgeLengthM:function(t){return+ +r[20880+((t|=0)<<3)>>3]},_emscripten_replace_memory:function(t){return l=new Int8Array(t),new Uint8Array(t),i=new Int32Array(t),new Float32Array(t),r=new Float64Array(t),n=t,!0},_exactEdgeLengthKm:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+p)*+d(+a)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)!=(0|e));return D=l,+(f=6371.007180918475*o)},_exactEdgeLengthM:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+p)*+d(+a)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)!=(0|e));return D=l,+(f=6371.007180918475*o*1e3)},_exactEdgeLengthRads:function(t,e){var n,l,o=0,a=0,s=0,c=0,p=0,f=0;if(l=D,D=D+176|0,$t(t|=0,e|=0,n=l),(0|(t=0|i[n>>2]))<=1)return D=l,+(s=0);e=t+-1|0,t=0,o=0,a=+r[n+8>>3],s=+r[n+16>>3];do{p=a,c=s,c=(f=+h(.5*((a=+r[n+8+((t=t+1|0)<<4)>>3])-p)))*f+(c=+h(.5*((s=+r[n+8+(t<<4)+8>>3])-c)))*(+d(+a)*+d(+p)*c),o+=2*+g(+ +u(+c),+ +u(+(1-c)))}while((0|t)<(0|e));return D=l,+o},_experimentalH3ToLocalIj:function(t,e,n,l,i){var r,o;return i|=0,o=D,D=D+16|0,(t=0|Zt(t|=0,e|=0,n|=0,l|=0,r=o))||(pt(r,i),t=0),D=o,0|t},_experimentalLocalIjToH3:function(t,e,n,l){var i,r;return t|=0,e|=0,l|=0,i=D,D=D+16|0,ft(n|=0,r=i),l=0|te(t,e,r,l),D=i,0|l},_free:_e,_geoToH3:Bt,_getDestinationH3IndexFromUnidirectionalEdge:function(t,e){t|=0;var n,l,r=0;return n=D,D=D+16|0,r=n,!0&268435456==(2013265920&(e|=0)|0)?(l=0|we(0|t,0|e,56),w(),i[r>>2]=0,r=0|L(t,-2130706433&e|134217728,7&l,r),e=0|w(),C(0|e),D=n,0|r):(r=0,C(0|(e=0)),D=n,0|r)},_getH3IndexesFromUnidirectionalEdge:function(t,e,n){t|=0;var l,r,o,a,s=0;o=D,D=D+16|0,l=o,r=-2130706433&(e|=0)|134217728,i[(s=n|=0)>>2]=(a=!0&268435456==(2013265920&e|0))?t:0,i[s+4>>2]=a?r:0,a?(e=0|we(0|t,0|e,56),w(),i[l>>2]=0,t=0|L(t,r,7&e,l),e=0|w()):(t=0,e=0),i[(s=n+8|0)>>2]=t,i[s+4>>2]=e,D=o},_getH3UnidirectionalEdge:function(t,e,n,l){var r,o,a=0,s=0,u=0,c=0,d=0;if(o=D,D=D+16|0,r=o,!(0|Wt(t|=0,e|=0,n|=0,l|=0)))return c=0,C(0|(u=0)),D=o,0|c;for(u=-2130706433&e,a=(a=0==(0|Lt(t,e)))?1:2;i[r>>2]=0,s=a+1|0,!((0|(d=0|L(t,e,a,r)))==(0|n)&(0|w())==(0|l));){if(!(s>>>0<7)){a=0,t=0,c=6;break}a=s}return 6==(0|c)?(C(0|a),D=o,0|t):(d=0|Pe(0|a,0,56),c=0|u|w()|268435456,d|=t,C(0|c),D=o,0|d)},_getH3UnidirectionalEdgeBoundary:$t,_getH3UnidirectionalEdgesFromHexagon:function(t,e,n){n|=0;var l,r=0;l=0==(0|Lt(t|=0,e|=0)),e&=-2130706433,i[(r=n)>>2]=l?t:0,i[r+4>>2]=l?285212672|e:0,i[(r=n+8|0)>>2]=t,i[r+4>>2]=301989888|e,i[(r=n+16|0)>>2]=t,i[r+4>>2]=318767104|e,i[(r=n+24|0)>>2]=t,i[r+4>>2]=335544320|e,i[(r=n+32|0)>>2]=t,i[r+4>>2]=352321536|e,i[(n=n+40|0)>>2]=t,i[n+4>>2]=369098752|e},_getOriginH3IndexFromUnidirectionalEdge:function(t,e){var n;return t|=0,C(0|((n=!0&268435456==(2013265920&(e|=0)|0))?-2130706433&e|134217728:0)),0|(n?t:0)},_getPentagonIndexes:qt,_getRes0Indexes:function(t){t|=0;var e=0,n=0,l=0;e=0;do{Pe(0|e,0,45),l=134225919|w(),i[(n=t+(e<<3)|0)>>2]=-1,i[n+4>>2]=l,e=e+1|0}while(122!=(0|e))},_h3Distance:function(t,e,n,l){var i,r,o;return n|=0,l|=0,o=D,D=D+32|0,r=o,t=0==(0|Zt(t|=0,e|=0,t,e,i=o+12|0))&&0==(0|Zt(t,e,n,l,r))?0|ht(i,r):-1,D=o,0|t},_h3GetBaseCell:Dt,_h3GetFaces:function t(e,n,l){l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0,h=0,p=0;r=D,D=D+128|0,h=r+112|0,s=r+96|0,p=r,a=0|we(0|(e|=0),0|(n|=0),52),w(),i[h>>2]=c=15&a,u=0|we(0|e,0|n,45),w(),u&=127;t:do{if(0|R(u)){if(0|c)for(o=1;;){if(!(0==((d=0|Pe(7,0,3*(15-o|0)|0))&e|0)&0==((0|w())&n|0))){a=0;break t}if(!(o>>>0<c>>>0))break;o=o+1|0}if(!(1&a))return d=0|Pe(c+1|0,0,52),p=0|w()|-15728641&n,t((d|e)&~(h=0|Pe(7,0,3*(14-c|0)|0)),p&~(0|w()),l),void(D=r);a=1}else a=0}while(0);Gt(e,n,s),a?(vt(s,h,p),d=5):(xt(s,h,p),d=6);t:do{if(0|R(u))if(c)for(o=1;;){if(!(0==((u=0|Pe(7,0,3*(15-o|0)|0))&e|0)&0==((0|w())&n|0))){o=8;break t}if(!(o>>>0<c>>>0)){o=20;break}o=o+1|0}else o=20;else o=8}while(0);if(Me(0|l,-1,0|o),a){a=0;do{for(wt(s=p+(a<<4)|0,0|i[h>>2]),s=0|i[s>>2],o=0;!(-1==(0|(c=0|i[(u=l+(o<<2)|0)>>2]))|(0|c)==(0|s));)o=o+1|0;i[u>>2]=s,a=a+1|0}while((0|a)!=(0|d))}else{a=0;do{for(Ct(s=p+(a<<4)|0,0|i[h>>2],0,1),s=0|i[s>>2],o=0;!(-1==(0|(c=0|i[(u=l+(o<<2)|0)>>2]))|(0|c)==(0|s));)o=o+1|0;i[u>>2]=s,a=a+1|0}while((0|a)!=(0|d))}D=r},_h3IndexesAreNeighbors:Wt,_h3IsPentagon:Lt,_h3IsResClassIII:function(t,e){return e=0|we(0|(t|=0),0|(e|=0),52),w(),1&e|0},_h3IsValid:Tt,_h3Line:function(t,e,n,l,r){n|=0,l|=0,r|=0;var o,a,u=0,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,w=0,P=0;if(o=D,D=D+48|0,c=o+12|0,a=o,0==(0|Zt(t|=0,e|=0,t,e,u=o+24|0))&&0==(0|Zt(t,e,n,l,c))){if((0|(w=0|ht(u,c)))<0)return D=o,0|w;for(i[u>>2]=0,i[u+4>>2]=0,i[u+8>>2]=0,i[c>>2]=0,i[c+4>>2]=0,i[c+8>>2]=0,Zt(t,e,t,e,u),Zt(t,e,n,l,c),bt(u),bt(c),w?(C=u,n=f=0|i[u>>2],l=b=0|i[(A=u+4|0)>>2],u=m=0|i[(v=u+8|0)>>2],_=+((0|i[c>>2])-f|0)/(g=+(0|w)),y=+((0|i[c+4>>2])-b|0)/g,g=+((0|i[c+8>>2])-m|0)/g):(A=l=u+4|0,v=m=u+8|0,C=u,n=0|i[u>>2],l=0|i[l>>2],u=0|i[m>>2],_=0,y=0,g=0),i[a>>2]=n,i[(m=a+4|0)>>2]=l,i[(b=a+8|0)>>2]=u,f=0;;){P=_*(h=+(0|f))+ +(0|n),d=y*h+ +(0|i[A>>2]),h=g*h+ +(0|i[v>>2]),l=~~+Se(+P),c=~~+Se(+d),n=~~+Se(+h),P=+s(+(+(0|l)-P)),d=+s(+(+(0|c)-d)),h=+s(+(+(0|n)-h));do{if(!(P>d&P>h)){if(p=0-l|0,d>h){u=p-n|0;break}u=c,n=p-c|0;break}l=0-(c+n)|0,u=c}while(0);if(i[a>>2]=l,i[m>>2]=u,i[b>>2]=n,mt(a),te(t,e,a,r+(f<<3)|0),(0|f)==(0|w))break;f=f+1|0,n=0|i[C>>2]}return D=o,0}return D=o,-1},_h3LineSize:function(t,e,n,l){var i,r,o;return n|=0,l|=0,o=D,D=D+32|0,r=o,t=0==(0|Zt(t|=0,e|=0,t,e,i=o+12|0))&&0==(0|Zt(t,e,n,l,r))?0|ht(i,r):-1,D=o,(t>>>31^1)+t|0},_h3SetToLinkedGeo:function(t,e,n){n|=0;var l,r,o,a=0;if(o=D,D=D+32|0,l=o,function(t,e,n){t|=0,n|=0;var l,r,o=0,a=0,s=0,u=0,c=0;if(r=D,D=D+176|0,l=r,(0|(e|=0))<1)return ue(n,0,0),void(D=r);u=0|we(0|i[(u=t)>>2],0|i[u+4>>2],52),w(),ue(n,(0|e)>6?e:6,15&u),u=0;do{if(Vt(0|i[(o=t+(u<<3)|0)>>2],0|i[o+4>>2],l),(0|(o=0|i[l>>2]))>0){c=0;do{s=l+8+(c<<4)|0,(a=0|fe(n,o=l+8+(((0|(c=c+1|0))%(0|o)|0)<<4)|0,s))?he(n,a):pe(n,s,o),o=0|i[l>>2]}while((0|c)<(0|o))}u=u+1|0}while((0|u)!=(0|e));D=r}(t|=0,e|=0,r=o+16|0),i[n>>2]=0,i[n+4>>2]=0,i[n+8>>2]=0,!(t=0|de(r)))return Jt(n),ce(r),void(D=o);do{e=0|Xt(n);do{Kt(e,t),i[l>>2]=i[(a=t+16|0)>>2],i[l+4>>2]=i[a+4>>2],i[l+8>>2]=i[a+8>>2],i[l+12>>2]=i[a+12>>2],he(r,t),t=0|be(r,l)}while(0!=(0|t));t=0|de(r)}while(0!=(0|t));Jt(n),ce(r),D=o},_h3ToCenterChild:function(t,e,n){n|=0;var l=0,i=0;if(l=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(l&=15))<=(0|n)){if((0|l)!=(0|n)&&(t|=i=0|Pe(0|n,0,52),e=0|w()|-15728641&e,(0|l)<(0|n)))do{i=0|Pe(7,0,3*(14-l|0)|0),l=l+1|0,t&=~i,e&=~(0|w())}while((0|l)<(0|n))}else e=0,t=0;return C(0|e),0|t},_h3ToChildren:It,_h3ToGeo:Ht,_h3ToGeoBoundary:Vt,_h3ToParent:Et,_h3UnidirectionalEdgeIsValid:function(t,e){var n=0;if(!(!0&268435456==(2013265920&(e|=0)|0)))return 0;switch(n=0|we(0|(t|=0),0|e,56),w(),7&n){case 0:case 7:return 0}return!0&16777216==(117440512&e|0)&0!=(0|Lt(t,n=-2130706433&e|134217728))?0|(n=0):0|(n=0|Tt(t,n))},_hexAreaKm2:function(t){return+ +r[20496+((t|=0)<<3)>>3]},_hexAreaM2:function(t){return+ +r[20624+((t|=0)<<3)>>3]},_hexRing:function(t,e,n,l){t|=0,e|=0,l|=0;var r,o=0,a=0,s=0,u=0,c=0,d=0,h=0;if(r=D,D=D+16|0,h=r,!(n|=0))return i[(h=l)>>2]=t,i[h+4>>2]=e,D=r,0;i[h>>2]=0;t:do{if(0|Lt(t,e))t=1;else{if(a=(0|n)>0){o=0,d=t;do{if(0==(0|(d=0|L(d,e,4,h)))&0==(0|(e=0|w()))){t=2;break t}if(o=o+1|0,0|Lt(d,e)){t=1;break t}}while((0|o)<(0|n));if(i[(c=l)>>2]=d,i[c+4>>2]=e,c=n+-1|0,a){a=0,s=1,o=d,t=e;do{if(0==(0|(o=0|L(o,t,2,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(s<<3)|0)>>2]=o,i[u+4>>2]=t,s=s+1|0,0|Lt(o,t)){t=1;break t}a=a+1|0}while((0|a)<(0|n));u=0,a=s;do{if(0==(0|(o=0|L(o,t,3,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(s=l+(a<<3)|0)>>2]=o,i[s+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}u=u+1|0}while((0|u)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,1,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,5,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));s=0;do{if(0==(0|(o=0|L(o,t,4,h)))&0==(0|(t=0|w()))){t=2;break t}if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,a=a+1|0,0|Lt(o,t)){t=1;break t}s=s+1|0}while((0|s)<(0|n));for(s=0;;){if(0==(0|(o=0|L(o,t,6,h)))&0==(0|(t=0|w()))){t=2;break t}if((0|s)!=(0|c)){if(i[(u=l+(a<<3)|0)>>2]=o,i[u+4>>2]=t,0|Lt(o,t)){t=1;break t}a=a+1|0}if((0|(s=s+1|0))>=(0|n)){s=d,a=e;break}}}else s=d,o=d,a=e,t=e}else i[(s=l)>>2]=t,i[s+4>>2]=e,s=t,o=t,a=e,t=e;t=1&((0|s)!=(0|o)|(0|a)!=(0|t))}}while(0);return D=r,0|t},_i64Subtract:Ae,_kRing:T,_kRingDistances:function(t,e,n,l,i){var r;if(0|E(t|=0,e|=0,n|=0,l|=0,i|=0)){if(Me(0|l,0,(r=1+(0|y(3*n|0,n+1|0))|0)<<3|0),0|i)return Me(0|i,0,r<<2|0),void I(t,e,n,l,i,r,0);(i=0|ye(r,4))&&(I(t,e,n,l,i,r,0),_e(i))}},_llvm_minnum_f64:xe,_llvm_round_f64:Se,_malloc:ge,_maxFaceCount:function(t,e){var n=0,l=0;if(l=0|we(0|(t|=0),0|(e|=0),45),w(),!(0|R(127&l)))return 2;if(l=0|we(0|t,0|e,52),w(),!(l&=15))return 5;for(n=1;;){if(!(0==((0|Pe(7,0,3*(15-n|0)|0))&t|0)&0==((0|w())&e|0))){n=2,t=6;break}if(!(n>>>0<l>>>0)){n=5,t=6;break}n=n+1|0}return 6==(0|t)?0|n:0},_maxH3ToChildrenSize:function(t,e,n){return n|=0,t=0|we(0|(t|=0),0|(e|=0),52),w(),(0|n)<16&(0|(t&=15))<=(0|n)?0|(n=0|ee(7,n-t|0)):0|(n=0)},_maxKringSize:function(t){return 1+(0|y(3*(t|=0)|0,t+1|0))|0},_maxPolyfillSize:function(t,e){e|=0;var n,l=0,r=0,o=0,a=0,s=0;if(n=D,D=D+48|0,o=n+8|0,a=0|i[4+(s=t|=0)>>2],i[(l=r=n)>>2]=i[s>>2],i[l+4>>2]=a,le(r,o),o=0|V(o,e),e=0|i[r>>2],(0|(r=0|i[t+8>>2]))<=0)return D=n,0|(s=(a=(0|o)<(0|(s=e)))?s:o)+12;l=0|i[t+12>>2],t=0;do{e=(0|i[l+(t<<3)>>2])+e|0,t=t+1|0}while((0|t)<(0|r));return D=n,0|(s=(s=(0|o)<(0|e))?e:o)+12},_maxUncompactSize:function(t,e,n){t|=0;var l=0,r=0,o=0,a=0;if((0|(e|=0))<=0)return 0;if((0|(n|=0))>=16){for(l=0;;){if(!(0==(0|i[(a=t+(l<<3)|0)>>2])&0==(0|i[a+4>>2]))){l=-1,r=13;break}if((0|(l=l+1|0))>=(0|e)){l=0,r=13;break}}if(13==(0|r))return 0|l}l=0,a=0;t:for(;;){o=0|i[(r=t+(a<<3)|0)>>2],r=0|i[r+4>>2];do{if(!(0==(0|o)&0==(0|r))){if(r=0|we(0|o,0|r,52),w(),(0|(r&=15))>(0|n)){l=-1,r=13;break t}if((0|r)==(0|n)){l=l+1|0;break}l=(0|ee(7,n-r|0))+l|0;break}}while(0);if((0|(a=a+1|0))>=(0|e)){r=13;break}}return 13==(0|r)?0|l:0},_memcpy:ke,_memset:Me,_numHexagons:function(t){var e;return t=0|i[(e=21008+((t|=0)<<3)|0)>>2],C(0|i[e+4>>2]),0|t},_pentagonIndexCount:function(){return 12},_pointDistKm:Mt,_pointDistM:function(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))*6371.007180918475*1e3},_pointDistRads:function(t,e){var n,l,i,o=0;return o=(i=+h(.5*((l=+r[(e|=0)>>3])-(n=+r[(t|=0)>>3]))))*i+(o=+h(.5*(+r[e+8>>3]-+r[t+8>>3])))*(+d(+l)*+d(+n)*o),2*+g(+ +u(+o),+ +u(+(1-o)))},_polyfill:function(t,e,n){var l,r=0,o=0,a=0,s=0,u=0;if(l=D,D=D+48|0,r=l+8|0,o=l,0|function(t,e,n){e|=0,n|=0;var l,r,o,a,s,u,c=0,d=0,h=0,p=0,f=0,b=0,m=0,g=0,_=0,y=0,A=0,v=0,C=0,x=0,S=0,k=0,M=0,O=0,T=0,L=0,R=0,F=0,N=0,Y=0;if(s=D,D=D+112|0,r=s+80|0,b=s+72|0,o=s,a=s+56|0,(u=0|ge(32+(i[(m=8+(t|=0)|0)>>2]<<5)|0))||P(22848,22448,800,22456),ie(t,u),c=0|i[(h=t)+4>>2],i[(f=b)>>2]=i[h>>2],i[f+4>>2]=c,le(b,r),f=0|V(r,e),c=0|i[b>>2],(0|(h=0|i[m>>2]))>0){p=0|i[t+12>>2],d=0;do{c=(0|i[p+(d<<3)>>2])+c|0,d=d+1|0}while((0|d)!=(0|h))}if(d=0|ye(l=(f=(0|f)<(0|c)?c:f)+12|0,8),g=0|ye(l,8),i[r>>2]=0,Y=0|i[(N=t)+4>>2],i[(c=b)>>2]=i[N>>2],i[c+4>>2]=Y,0|(c=0|j(b,l,e,r,d,g)))return _e(d),_e(g),_e(u),D=s,0|c;t:do{if((0|i[m>>2])>0){for(h=t+12|0,c=0;p=0|j((0|i[h>>2])+(c<<3)|0,l,e,r,d,g),c=c+1|0,!(0|p);)if((0|c)>=(0|i[m>>2]))break t;return _e(d),_e(g),_e(u),D=s,0|p}}while(0);(0|f)>-12&&Me(0|g,0,((0|l)>1?l:1)<<3|0);t:do{if((0|i[r>>2])>0){Y=((0|l)<0)<<31>>31,O=d,T=g,L=d,R=d,F=g,N=d,c=d,x=d,S=g,k=g,M=g,d=g;e:for(;;){for(C=0|i[r>>2],A=0,v=0,h=0;;){f=(p=o)+56|0;do{i[p>>2]=0,p=p+4|0}while((0|p)<(0|f));if(0|E(b=0|i[(e=O+(A<<3)|0)>>2],e=0|i[e+4>>2],1,o,0)){f=(p=o)+56|0;do{i[p>>2]=0,p=p+4|0}while((0|p)<(0|f));0|(p=0|ye(7,4))&&(I(b,e,1,o,p,7,0),_e(p))}y=0;do{g=0|i[(_=o+(y<<3)|0)>>2],_=0|i[_+4>>2];n:do{if(!(0==(0|g)&0==(0|_))){if(b=0|Ce(0|g,0|_,0|l,0|Y),w(),!(0==(0|(e=0|i[(f=p=n+(b<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2]))))for(m=0;;){if((0|m)>(0|l))break e;if((0|e)==(0|g)&(0|f)==(0|_))break n;if(0==(0|(e=0|i[(f=p=n+((b=(b+1|0)%(0|l)|0)<<3)|0)>>2]))&0==(0|(f=0|i[f+4>>2])))break;m=m+1|0}0==(0|g)&0==(0|_)||(Ht(g,_,a),0|re(t,u,a)&&(i[(m=p)>>2]=g,i[m+4>>2]=_,i[(m=T+(h<<3)|0)>>2]=g,i[m+4>>2]=_,h=h+1|0))}}while(0);y=y+1|0}while(y>>>0<7);if((0|(v=v+1|0))>=(0|C))break;A=A+1|0}if((0|C)>0&&Me(0|L,0,C<<3|0),i[r>>2]=h,!((0|h)>0))break t;g=d,_=M,y=N,A=k,v=S,C=T,d=x,M=c,k=R,S=L,x=g,c=_,N=F,F=y,R=A,L=v,T=O,O=C}return _e(R),_e(F),_e(u),D=s,-1}c=g}while(0);return _e(u),_e(d),_e(c),D=s,0}(t|=0,e|=0,n|=0)){if(a=0|i[(u=t)+4>>2],i[(s=o)>>2]=i[u>>2],i[s+4>>2]=a,le(o,r),s=0|V(r,e),e=0|i[o>>2],(0|(a=0|i[t+8>>2]))>0){o=0|i[t+12>>2],r=0;do{e=(0|i[o+(r<<3)>>2])+e|0,r=r+1|0}while((0|r)!=(0|a))}(0|(e=(0|s)<(0|e)?e:s))<=-12||Me(0|n,0,8+(((0|(u=e+11|0))>0?u:0)<<3)|0),D=l}else D=l},_res0IndexCount:function(){return 122},_round:Oe,_sbrk:De,_sizeOfCoordIJ:function(){return 8},_sizeOfGeoBoundary:function(){return 168},_sizeOfGeoCoord:function(){return 16},_sizeOfGeoPolygon:function(){return 16},_sizeOfGeofence:function(){return 8},_sizeOfH3Index:function(){return 8},_sizeOfLinkedGeoPolygon:function(){return 12},_uncompact:function(t,e,n,l,r){t|=0,n|=0,l|=0;var o=0,a=0,s=0,u=0,c=0,d=0;if((0|(e|=0))<=0)return 0;if((0|(r|=0))>=16){for(o=0;;){if(!(0==(0|i[(d=t+(o<<3)|0)>>2])&0==(0|i[d+4>>2]))){o=14;break}if((0|(o=o+1|0))>=(0|e)){a=0,o=16;break}}if(14==(0|o))return 0|((0|l)>0?-2:-1);if(16==(0|o))return 0|a}o=0,d=0;t:for(;;){a=0|i[(s=c=t+(d<<3)|0)>>2],s=0|i[s+4>>2];do{if(!(0==(0|a)&0==(0|s))){if((0|o)>=(0|l)){a=-1,o=16;break t}if(u=0|we(0|a,0|s,52),w(),(0|(u&=15))>(0|r)){a=-2,o=16;break t}if((0|u)==(0|r)){i[(c=n+(o<<3)|0)>>2]=a,i[c+4>>2]=s,o=o+1|0;break}if((0|(a=(0|ee(7,r-u|0))+o|0))>(0|l)){a=-1,o=16;break t}It(0|i[c>>2],0|i[c+4>>2],r,n+(o<<3)|0),o=a}}while(0);if((0|(d=d+1|0))>=(0|e)){a=0,o=16;break}}return 16==(0|o)?0|a:0},establishStackSpace:function(t,e){D=t|=0},stackAlloc:function(t){var e;return e=D,D=15+(D=D+(t|=0)|0)&-16,0|e},stackRestore:function(t){D=t|=0},stackSave:function(){return 0|D}}}({Math,Int8Array,Int32Array,Uint8Array,Float32Array,Float64Array},{a:at,b:function(t){u=t},c,d:function(t,e,n,l){at("Assertion failed: "+C(t)+", at: "+[e?C(e):"unknown filename",n,l?C(l):"unknown function"])},e:function(t){return n.___errno_location&&(_[n.___errno_location()>>2]=t),t},f:V,g:function(t,e,n){m.set(m.subarray(e,e+n),t)},h:function(t){var e=V();if(t>2130706432)return!1;for(var n=Math.max(e,16777216);n<t;)n=n<=536870912?w(2*n,16777216):Math.min(w((3*n+2147483648)/4,16777216),2130706432);return!!q(n)},i:function(t){at("OOM")},j:function(t){return t},k:G,l:q,m:H,n:function(){var t=H();return n.extraStackTrace&&(t+="\n"+n.extraStackTrace()),G(t)},o:24032,p:24016},f),Q=(n.___uremdi3=J.___uremdi3,n._bitshift64Lshr=J._bitshift64Lshr,n._bitshift64Shl=J._bitshift64Shl,n._calloc=J._calloc,n._cellAreaKm2=J._cellAreaKm2,n._cellAreaM2=J._cellAreaM2,n._cellAreaRads2=J._cellAreaRads2,n._compact=J._compact,n._destroyLinkedPolygon=J._destroyLinkedPolygon,n._edgeLengthKm=J._edgeLengthKm,n._edgeLengthM=J._edgeLengthM,n._emscripten_replace_memory=J._emscripten_replace_memory),Z=(n._exactEdgeLengthKm=J._exactEdgeLengthKm,n._exactEdgeLengthM=J._exactEdgeLengthM,n._exactEdgeLengthRads=J._exactEdgeLengthRads,n._experimentalH3ToLocalIj=J._experimentalH3ToLocalIj,n._experimentalLocalIjToH3=J._experimentalLocalIjToH3,n._free=J._free,n._geoToH3=J._geoToH3,n._getDestinationH3IndexFromUnidirectionalEdge=J._getDestinationH3IndexFromUnidirectionalEdge,n._getH3IndexesFromUnidirectionalEdge=J._getH3IndexesFromUnidirectionalEdge,n._getH3UnidirectionalEdge=J._getH3UnidirectionalEdge,n._getH3UnidirectionalEdgeBoundary=J._getH3UnidirectionalEdgeBoundary,n._getH3UnidirectionalEdgesFromHexagon=J._getH3UnidirectionalEdgesFromHexagon,n._getOriginH3IndexFromUnidirectionalEdge=J._getOriginH3IndexFromUnidirectionalEdge,n._getPentagonIndexes=J._getPentagonIndexes,n._getRes0Indexes=J._getRes0Indexes,n._h3Distance=J._h3Distance,n._h3GetBaseCell=J._h3GetBaseCell,n._h3GetFaces=J._h3GetFaces,n._h3IndexesAreNeighbors=J._h3IndexesAreNeighbors,n._h3IsPentagon=J._h3IsPentagon,n._h3IsResClassIII=J._h3IsResClassIII,n._h3IsValid=J._h3IsValid,n._h3Line=J._h3Line,n._h3LineSize=J._h3LineSize,n._h3SetToLinkedGeo=J._h3SetToLinkedGeo,n._h3ToCenterChild=J._h3ToCenterChild,n._h3ToChildren=J._h3ToChildren,n._h3ToGeo=J._h3ToGeo,n._h3ToGeoBoundary=J._h3ToGeoBoundary,n._h3ToParent=J._h3ToParent,n._h3UnidirectionalEdgeIsValid=J._h3UnidirectionalEdgeIsValid,n._hexAreaKm2=J._hexAreaKm2,n._hexAreaM2=J._hexAreaM2,n._hexRing=J._hexRing,n._i64Subtract=J._i64Subtract,n._kRing=J._kRing,n._kRingDistances=J._kRingDistances,n._llvm_minnum_f64=J._llvm_minnum_f64,n._llvm_round_f64=J._llvm_round_f64,n._malloc=J._malloc,n._maxFaceCount=J._maxFaceCount,n._maxH3ToChildrenSize=J._maxH3ToChildrenSize,n._maxKringSize=J._maxKringSize,n._maxPolyfillSize=J._maxPolyfillSize,n._maxUncompactSize=J._maxUncompactSize,n._memcpy=J._memcpy,n._memset=J._memset,n._numHexagons=J._numHexagons,n._pentagonIndexCount=J._pentagonIndexCount,n._pointDistKm=J._pointDistKm,n._pointDistM=J._pointDistM,n._pointDistRads=J._pointDistRads,n._polyfill=J._polyfill,n._res0IndexCount=J._res0IndexCount,n._round=J._round,n._sbrk=J._sbrk,n._sizeOfCoordIJ=J._sizeOfCoordIJ,n._sizeOfGeoBoundary=J._sizeOfGeoBoundary,n._sizeOfGeoCoord=J._sizeOfGeoCoord,n._sizeOfGeoPolygon=J._sizeOfGeoPolygon,n._sizeOfGeofence=J._sizeOfGeofence,n._sizeOfH3Index=J._sizeOfH3Index,n._sizeOfLinkedGeoPolygon=J._sizeOfLinkedGeoPolygon,n._uncompact=J._uncompact,n.establishStackSpace=J.establishStackSpace,n.stackAlloc=J.stackAlloc),tt=n.stackRestore=J.stackRestore,et=n.stackSave=J.stackSave;if(n.asm=J,n.cwrap=function(t,e,n,l){var i=(n=n||[]).every((function(t){return"number"===t}));return"string"!==e&&i&&!l?h(t):function(){return p(t,e,n,arguments)}},n.setValue=function(t,e,n,l){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":b[t>>0]=e;break;case"i16":g[t>>1]=e;break;case"i32":_[t>>2]=e;break;case"i64":Y=[e>>>0,(N=e,+T(N)>=1?N>0?(0|L(+I(N/4294967296),4294967295))>>>0:~~+E((N-+(~~N>>>0))/4294967296)>>>0:0)],_[t>>2]=Y[0],_[t+4>>2]=Y[1];break;case"float":y[t>>2]=e;break;case"double":A[t>>3]=e;break;default:at("invalid type for setValue: "+n)}},n.getValue=function(t,e,n){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return b[t>>0];case"i16":return g[t>>1];case"i32":case"i64":return _[t>>2];case"float":return y[t>>2];case"double":return A[t>>3];default:at("invalid type for getValue: "+e)}return null},n.getTempRet0=c,U){z(U)||(X=U,U=n.locateFile?n.locateFile(X,o):o+X),j++,n.monitorRunDependencies&&n.monitorRunDependencies(j);var nt=function(t){t.byteLength&&(t=new Uint8Array(t)),m.set(t,8),n.memoryInitializerRequest&&delete n.memoryInitializerRequest.response,function(t){if(j--,n.monitorRunDependencies&&n.monitorRunDependencies(j),0==j&&(null!==R&&(clearInterval(R),R=null),F)){var e=F;F=null,e()}}()},lt=function(){i(U,nt,(function(){throw"could not load memory initializer "+U}))},it=$(U);if(it)nt(it.buffer);else if(n.memoryInitializerRequest){var rt=function(){var t=n.memoryInitializerRequest,e=t.response;if(200!==t.status&&0!==t.status){var l=$(n.memoryInitializerRequestURL);if(!l)return console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+t.status+", retrying "+U),void lt();e=l.buffer}nt(e)};n.memoryInitializerRequest.response?setTimeout(rt,0):n.memoryInitializerRequest.addEventListener("load",rt)}else lt()}function ot(t){function e(){K||(K=!0,d||(S(M),S(O),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),D.unshift(t);var t;S(D)}()))}t=t||r,j>0||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),k.unshift(t);var t;S(k)}(),j>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function at(t){throw n.onAbort&&n.onAbort(t),a(t+=""),s(t),d=!0,"abort("+t+"). Build with -s ASSERTIONS=1 for more info."}if(F=function t(){K||ot(),K||(F=t)},n.run=ot,n.abort=at,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();return ot(),t}("object"==typeof l?l:{}),i="number",r={};[["sizeOfH3Index",i],["sizeOfGeoCoord",i],["sizeOfGeoBoundary",i],["sizeOfGeoPolygon",i],["sizeOfGeofence",i],["sizeOfLinkedGeoPolygon",i],["sizeOfCoordIJ",i],["h3IsValid","number",["number","number"]],["geoToH3","number",[i,i,"number"]],["h3ToGeo",null,["number","number",i]],["h3ToGeoBoundary",null,["number","number",i]],["maxKringSize",i,[i]],["kRing",null,["number","number",i,i]],["kRingDistances",null,["number","number",i,i,i]],["hexRing",null,["number","number",i,i]],["maxPolyfillSize",i,[i,"number"]],["polyfill",null,[i,"number",i]],["h3SetToLinkedGeo",null,[i,i,i]],["destroyLinkedPolygon",null,[i]],["compact",i,[i,i,i]],["uncompact",i,[i,i,i,i,"number"]],["maxUncompactSize",i,[i,i,"number"]],["h3IsPentagon","number",["number","number"]],["h3IsResClassIII","number",["number","number"]],["h3GetBaseCell",i,["number","number"]],["maxFaceCount",i,["number","number"]],["h3GetFaces",null,["number","number",i]],["h3ToParent","number",["number","number","number"]],["h3ToChildren",null,["number","number","number",i]],["h3ToCenterChild","number",["number","number","number"]],["maxH3ToChildrenSize",i,["number","number","number"]],["h3IndexesAreNeighbors","number",["number","number","number","number"]],["getH3UnidirectionalEdge","number",["number","number","number","number"]],["getOriginH3IndexFromUnidirectionalEdge","number",["number","number"]],["getDestinationH3IndexFromUnidirectionalEdge","number",["number","number"]],["h3UnidirectionalEdgeIsValid","number",["number","number"]],["getH3IndexesFromUnidirectionalEdge",null,["number","number",i]],["getH3UnidirectionalEdgesFromHexagon",null,["number","number",i]],["getH3UnidirectionalEdgeBoundary",null,["number","number",i]],["h3Distance",i,["number","number","number","number"]],["h3Line",i,["number","number","number","number",i]],["h3LineSize",i,["number","number","number","number"]],["experimentalH3ToLocalIj",i,["number","number","number","number",i]],["experimentalLocalIjToH3",i,["number","number",i,i]],["hexAreaM2",i,["number"]],["hexAreaKm2",i,["number"]],["edgeLengthM",i,["number"]],["edgeLengthKm",i,["number"]],["pointDistM",i,[i,i]],["pointDistKm",i,[i,i]],["pointDistRads",i,[i,i]],["cellAreaM2",i,["number","number"]],["cellAreaKm2",i,["number","number"]],["cellAreaRads2",i,["number","number"]],["exactEdgeLengthM",i,["number","number"]],["exactEdgeLengthKm",i,["number","number"]],["exactEdgeLengthRads",i,["number","number"]],["numHexagons",i,["number"]],["getRes0Indexes",null,[i]],["res0IndexCount",i],["getPentagonIndexes",null,[i,i]],["pentagonIndexCount",i]].forEach((function(t){r[t[0]]=l.cwrap.apply(l,t)})),r.sizeOfH3Index();var o=r.sizeOfGeoCoord(),a=r.sizeOfGeoBoundary();r.sizeOfGeoPolygon(),r.sizeOfGeofence(),r.sizeOfLinkedGeoPolygon(),r.sizeOfCoordIJ();var s=/[^0-9a-fA-F]/;function u(t){if(Array.isArray(t)&&2===t.length&&Number.isInteger(t[0])&&Number.isInteger(t[1]))return t;if("string"!=typeof t||s.test(t))return[0,0];var e=parseInt(t.substring(0,t.length-8),16);return[parseInt(t.substring(t.length-8),16),e]}function c(t){return 180*l.getValue(t,"double")/Math.PI}function d(t){return[c(t),c(t+8)]}function h(t){return[c(t+8),c(t)]}function p(t){var e=l._malloc(o),n=u(t);r.h3ToGeo(n[0],n[1],e);var i=d(e);return l._free(e),i}function f(t,e){var n=l._malloc(a),i=u(t);r.h3ToGeoBoundary(i[0],i[1],n);var o=function(t,e,n){for(var i=l.getValue(t,"i32"),r=t+8,o=[],a=e?h:d,s=0;s<2*i;s+=2)o.push(a(r+8*s));return n&&o.push(o[0]),o}(n,e,e);return l._free(n),o}},"930v":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("+4pY");const i=()=>Object(l.a)().easing("cubic-bezier(0.0, 0.0, 0.2, 1)").duration(300),r=t=>{let e,n;const r=t.width+8,o=Object(l.a)(),a=Object(l.a)();return t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),o.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`),a.addElement(t.backdropEl).fromTo("opacity",.01,.32),i().addAnimation([o,a])},o=t=>{let e,n;const r=t.width;t.isEndSide?(e=-r+"px",n=r+"px"):(e=r+"px",n=-r+"px");const o=Object(l.a)().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),a=Object(l.a)().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),s=Object(l.a)().addElement(t.backdropEl).fromTo("opacity",.01,.32);return i().addAnimation([o,s,a])},a=t=>{const e=t.width*(t.isEndSide?-1:1)+"px",n=Object(l.a)().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`);return i().addAnimation(n)},s=(()=>{const t=new Map,e=[],n=async t=>(await h(),"start"===t||"end"===t?d(e=>e.side===t&&!e.disabled)||d(e=>e.side===t):null!=t?d(e=>e.menuId===t):d(t=>!t.disabled)||(e.length>0?e[0].el:void 0)),l=async()=>(await h(),u()),i=(e,n)=>{t.set(e,n)},s=t=>{const n=t.side;e.filter(e=>e.side===n&&e!==t).forEach(t=>t.disabled=!0)},u=()=>d(t=>t._isOpen),c=()=>e.some(t=>t.isAnimating),d=t=>{const n=e.find(t);if(void 0!==n)return n.el},h=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(t=>t.componentOnReady()));return i("reveal",a),i("push",o),i("overlay",r),{registerAnimation:i,get:n,getMenus:async()=>(await h(),e.map(t=>t.el)),getOpen:l,isEnabled:async t=>{const e=await n(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const l=await n(e);return l&&(l.swipeGesture=t),l},isAnimating:async()=>(await h(),c()),isOpen:async t=>{if(null!=t){const e=await n(t);return void 0!==e&&e.isOpen()}return void 0!==await l()},enable:async(t,e)=>{const l=await n(e);return l&&(l.disabled=!t),l},toggle:async t=>{const e=await n(t);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?n(t):l());return void 0!==e&&e.close()},open:async t=>{const e=await n(t);return!!e&&e.open()},_getOpenSync:u,_createAnimation:(e,n)=>{const l=t.get(e);if(!l)throw new Error("animation not registered");return l(n)},_register:t=>{e.indexOf(t)<0&&(t.disabled||s(t),e.push(t))},_unregister:t=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_setOpen:async(t,e,n)=>{if(c())return!1;if(e){const e=await l();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n)},_setActiveMenu:s}})()},"94wz":function(t,e,n){"use strict";var l=function(){function t(){}return t.prototype.drawCustom=function(t,e,n){},t.prototype.drawGeometry=function(t){},t.prototype.setStyle=function(t){},t.prototype.drawCircle=function(t,e){},t.prototype.drawFeature=function(t,e){},t.prototype.drawGeometryCollection=function(t,e){},t.prototype.drawLineString=function(t,e){},t.prototype.drawMultiLineString=function(t,e){},t.prototype.drawMultiPoint=function(t,e){},t.prototype.drawMultiPolygon=function(t,e){},t.prototype.drawPoint=function(t,e){},t.prototype.drawPolygon=function(t,e){},t.prototype.drawText=function(t,e){},t.prototype.setFillStrokeStyle=function(t,e){},t.prototype.setImageStyle=function(t,e){},t.prototype.setTextStyle=function(t,e){},t}();e.a=l},"978D":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("8Y7J"),i=n("wd/R");const r={REALTIME:"realtime",REPLAY:"replay",STOP:"stop"};let o=(()=>{class t{constructor(){this.haveStarted=!1,this.speed=1,this.date=void 0,this.daemonChange=new l.r,this.daemonStatus=r.REALTIME,this.isLock=!1,this.running=!1}getDaemonChangeEmitter(){return this.daemonChange}getDeamonStatus(){return this.daemonStatus}getDateReplay(){return this.date}isPlayingReplay(){return this.running}setSpeed(t){this.speed=t}startReplay(t){this.date=t,this.haveStarted=!0,this.startTimer()}stopReplay(){this.date=void 0,this.clearTimer(),this.daemonStatus=r.REALTIME,this.daemonChange.emit(this.daemonStatus)}previousReplay(){const t=i(this.date).subtract(1,"minutes").toDate();this.clearTimer(),this.startReplay(t)}nextReplay(){const t=i(this.date).add(1,"minutes").toDate();this.clearTimer(),this.startReplay(t)}togglePlaying(){this.running?this.stopTimer():this.startTimer()}startTimer(){this.running=!0;const t=Date.now()-(this.counter||0);this.timerRef=setInterval(()=>{const e=Date.now()-t-this.counter;this.haveStarted||(this.date=i(this.date).add(e*this.speed,"milliseconds").toDate(),i(this.date).valueOf()>=i().valueOf()&&this.stopTimer()),this.counter=Date.now()-t}),this.daemonStatus=r.REPLAY,this.daemonChange.emit(this.daemonStatus)}stopTimer(){this.running=!1,clearInterval(this.timerRef),this.daemonStatus=r.STOP,this.daemonChange.emit(this.daemonStatus)}clearTimer(){this.running=!1,this.counter=void 0,clearInterval(this.timerRef)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},"9ANI":function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("9iPr"),o=n("mrzG"),a=n("q7cr"),s=n("f8l7"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n){var l=t.call(this)||this;return l.setCoordinates(e,n),l}return u(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){var i=this.flatCoordinates,r=Object(s.f)(t,e,i[0],i[1]);if(r<l){for(var o=this.stride,a=0;a<o;++a)n[a]=i[a];return n.length=o,r}return l},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return Object(i.m)(this.flatCoordinates,t)},e.prototype.getType=function(){return r.a.POINT},e.prototype.intersectsExtent=function(t){return Object(i.h)(t,this.flatCoordinates[0],this.flatCoordinates[1])},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(a.a)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(o.a);e.a=c},"9d2U":function(t,e,n){"use strict";var l=n("/O31"),i=function(){function t(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||l.a[this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(t){this.defaultTileGrid_=t},t.prototype.setExtent=function(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)},t.prototype.setWorldExtent=function(t){this.worldExtent_=t},t.prototype.setGetPointResolution=function(t){this.getPointResolutionFunc_=t},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}();e.a=i},"9iPr":function(t,e,n){"use strict";e.a={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AIJQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t){this.dialogRef=t}onNoClick(){this.dialogRef.close()}}},ALyU:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("fURe"),l.Bb({encapsulation:2,styles:[],data:{}}));function r(t){return l.Yb(2,[],null,null)}},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AaDx:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("DkaU"),n("Xd0L"),n("KCVW"),n("8bJo"),n("2Vo4"),n("VRyK"),n("IzEk"),n("lJxs");class l{}},AdPF:function(t,e,n){var l=n("yeub"),i=n("2UHX");t.exports=function(t){var e=t.xdomain,n=t.xscheme,r=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!e||l))return new XMLHttpRequest}catch(o){}try{if("undefined"!=typeof XDomainRequest&&!n&&r)return new XDomainRequest}catch(o){}if(!e)try{return new(i[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(o){}}},AdTM:function(t,e,n){"use strict";e.a={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},"AfW+":function(t,e,n){"use strict";n.d(e,"a",(function(){return A})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return i})),n.d(e,"g",(function(){return r}));const l=t=>r(t),i=(t,e)=>("string"==typeof t&&(e=t,t=void 0),l(t).includes(e)),r=(t=window)=>{t.Ionic=t.Ionic||{};let e=t.Ionic.platforms;return null==e&&(e=t.Ionic.platforms=o(t),e.forEach(e=>t.document.documentElement.classList.add("plt-"+e))),e},o=t=>Object.keys(b).filter(e=>b[e](t)),a=t=>!!p(t,/iPad/i)||!(!p(t,/Macintosh/i)||!u(t)),s=t=>p(t,/android|sink/i),u=t=>f(t,"(any-pointer:coarse)"),c=t=>d(t)||h(t),d=t=>!!(t.cordova||t.phonegap||t.PhoneGap),h=t=>{const e=t.Capacitor;return!(!e||!e.isNative)},p=(t,e)=>e.test(t.navigator.userAgent),f=(t,e)=>t.matchMedia(e).matches,b={ipad:a,iphone:t=>p(t,/iPhone/i),ios:t=>p(t,/iPhone|iPod/i)||a(t),android:s,phablet:t=>{const e=t.innerWidth,n=t.innerHeight,l=Math.min(e,n),i=Math.max(e,n);return l>390&&l<520&&i>620&&i<800},tablet:t=>{const e=t.innerWidth,n=t.innerHeight,l=Math.min(e,n),i=Math.max(e,n);return a(t)||(t=>s(t)&&!p(t,/mobile/i))(t)||l>460&&l<820&&i>780&&i<1400},cordova:d,capacitor:h,electron:t=>p(t,/electron/i),pwa:t=>!(!t.matchMedia("(display-mode: standalone)").matches&&!t.navigator.standalone),mobile:u,mobileweb:t=>u(t)&&!c(t),desktop:t=>!u(t),hybrid:c};class m{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,e){const n=this.m.get(t);return void 0!==n?n:e}getBoolean(t,e=!1){const n=this.m.get(t);return void 0===n?e:"string"==typeof n?"true"===n:!!n}getNumber(t,e){const n=parseFloat(this.m.get(t));return isNaN(n)?void 0!==e?e:NaN:n}set(t,e){this.m.set(t,e)}}const g=new m,_=t=>{try{const e=t.sessionStorage.getItem(w);return null!==e?JSON.parse(e):{}}catch(e){return{}}},y=(t,e)=>{try{t.sessionStorage.setItem(w,JSON.stringify(e))}catch(n){return}},A=t=>{const e={};return t.location.search.slice(1).split("&").map(t=>t.split("=")).map(([t,e])=>[decodeURIComponent(t),decodeURIComponent(e)]).filter(([t])=>v(t,C)).map(([t,e])=>[t.slice(C.length),e]).forEach(([t,n])=>{e[t]=n}),e},v=(t,e)=>t.substr(0,e.length)===e,C="ionic:",w="ionic-persist-config"},Ag9w:function(t,e,n){"use strict";n("pg82");var l,i=n("Ho3V"),r=n("0Hnp"),o=n("4mld"),a=n("OQAH"),s=n("JW8z"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=this,l=e||{},i=document.createElement("div");return i.className=void 0!==l.className?l.className:"ol-mouse-position",(n=t.call(this,{element:i,render:l.render||d,target:l.target})||this).addEventListener(Object(o.b)("projection"),n.handleProjectionChanged_),l.coordinateFormat&&n.setCoordinateFormat(l.coordinateFormat),l.projection&&n.setProjection(l.projection),n.undefinedHTML_=void 0!==l.undefinedHTML?l.undefinedHTML:"&#160;",n.renderOnMouseOut_=!!n.undefinedHTML_,n.renderedHTML_=i.innerHTML,n.mapProjection_=null,n.transform_=null,n}return u(e,t),e.prototype.handleProjectionChanged_=function(){this.transform_=null},e.prototype.getCoordinateFormat=function(){return this.get("coordinateFormat")},e.prototype.getProjection=function(){return this.get("projection")},e.prototype.handleMouseMove=function(t){var e=this.getMap();this.updateHTML_(e.getEventPixel(t))},e.prototype.handleMouseOut=function(t){this.updateHTML_(null)},e.prototype.setMap=function(e){if(t.prototype.setMap.call(this,e),e){var n=e.getViewport();this.listenerKeys.push(Object(i.a)(n,r.a.POINTERMOVE,this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push(Object(i.a)(n,r.a.POINTEROUT,this.handleMouseOut,this))}},e.prototype.setCoordinateFormat=function(t){this.set("coordinateFormat",t)},e.prototype.setProjection=function(t){this.set("projection",Object(s.g)(t))},e.prototype.updateHTML_=function(t){var e=this.undefinedHTML_;if(t&&this.mapProjection_){if(!this.transform_){var n=this.getProjection();this.transform_=n?Object(s.j)(this.mapProjection_,n):s.l}var l=this.getMap().getCoordinateFromPixelInternal(t);if(l){var i=Object(s.k)();i&&(this.transform_=Object(s.j)(this.mapProjection_,i)),this.transform_(l,l);var r=this.getCoordinateFormat();e=r?r(l):l.toString()}}this.renderedHTML_&&e===this.renderedHTML_||(this.element.innerHTML=e,this.renderedHTML_=e)},e}(a.a);function d(t){var e=t.frameState;e?this.mapProjection_!=e.viewState.projection&&(this.mapProjection_=e.viewState.projection,this.transform_=null):this.mapProjection_=null}e.a=c},AjEG:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseSquawkControllerSquawkPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseSquawkControllerSquawk(t){return this.getOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseSquawkControllerSquawkPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseSquawkControllerSquawk(t){return this.replaceOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseSquawkControllerSquawkPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseSquawkControllerSquawk(t){return this.deleteOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseSquawkControllerSquawkPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseSquawkControllerSquawk(t){return this.updateOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseSquawkControllerSquawkPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseSquawkControllerSquawk(t){return this.getManyBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseSquawkControllerSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseSquawkControllerSquawk(t){return this.createOneBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseSquawkControllerSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseSquawkControllerSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseSquawkControllerSquawk(t){return this.createManyBaseSquawkControllerSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.ReplaceOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.DeleteOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.UpdateOneBaseSquawkControllerSquawkPath="/squawk/{id}",t.GetManyBaseSquawkControllerSquawkPath="/squawk",t.CreateOneBaseSquawkControllerSquawkPath="/squawk",t.CreateManyBaseSquawkControllerSquawkPath="/squawk/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Al5c:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("8Y7J"),i=n("l5mm"),r=n("wd/R"),o=(n("w+w1"),n("978D"),n("qToJ"),n("Y4ja"));class a{constructor(t,e,n,i,r){this.settingService=t,this.timeService=e,this.domSanitizer=n,this.modeService=i,this.ref=r,this.toClose=new l.r,this.allAircraft=!0,this.subscriptions=[]}ngOnInit(){this.subscriptions.push(Object(i.a)(1e3).subscribe(t=>{const e=this.timeService.getDateReplay();this.timeNow=e?r(e).valueOf():r().valueOf(),this.ref.detectChanges()})),this.allAircraft=this.modeService.getModeMap()===o.a.ALL_AIRCRAFT,this.subscriptions.push(this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.allAircraft=t===o.a.ALL_AIRCRAFT,this.ref.detectChanges()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}close(){this.toClose.emit()}cleanURL(t){return this.domSanitizer.bypassSecurityTrustUrl(t)}}},Amq3:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var l=n("JW8z"),i=n("B2q1"),r=n("Ag9w"),o=n("pWiS"),a=n("OQAH"),s=(n("svHU"),n("G0WM"),n("w+w1")),u=(n("YGmB"),n("7/LY")),c=n("SYdj"),d=n("0Ba5");class h{constructor(t,e,n,i,r,o){this.route=t,this.mapService=e,this.mapElement=n,this.aircraftService=i,this.trafficService=r,this.selectAircraftService=o,this.measureControl=function(t){function e(e){var n=e||{},l=document.createElement("button");l.innerHTML='<ion-icon name="md-code-working"></ion-icon>';var i=document.createElement("div");i.id="measure-switch-div",i.className="measure-switch ol-unselectable ol-control",i.style["background-color"]="rgba( 255, 255, 255, .4 )",i.appendChild(l),t.call(this,{element:i,target:n.target}),l.addEventListener("click",this.handleMeasureTool.bind(this),!1)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.handleMeasureTool=function(){this.getMap().measureModeIsEnabled=!this.getMap().measureModeIsEnabled},e}(a.a),this.recenterBboxControl=function(t){function e(e){var n=e||{},l=document.createElement("button");l.innerHTML='<ion-icon name="md-qr-scanner"></ion-icon>';var i=document.createElement("div");i.className="reset-bbox ol-unselectable ol-control",i.appendChild(l),t.call(this,{element:i,target:n.target}),l.addEventListener("click",this.handleRecenterBbox.bind(this),!1)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.handleRecenterBbox=function(){const t=this.getMap();if(t.defaultBbox.zoom&&t.getView().setZoom(t.defaultBbox.zoom),t.defaultBbox.lon&&t.defaultBbox.lat){const e=Object(l.d)([parseFloat(t.defaultBbox.lon)||0,parseFloat(t.defaultBbox.lat)||0]);t.getView().setCenter(e)}},e}(a.a)}ngOnInit(){this.mapService.getMap().measureModeIsEnabled=!1,this.mapService.getMap().defaultBbox={zoom:null,lon:null,lat:null},this.mapService.getMap().setTarget(this.mapElement.nativeElement),this.setControl(),this.setMousePosition(),this.setCenterAndZoomMap(),this.readUrlQuery()}setCenterAndZoomMap(){if(this.lon&&this.lat){const t=Object(l.d)([parseFloat(this.lon)||0,parseFloat(this.lat)||0]);this.mapService.getView().setCenter(t),this.mapService.getMap().defaultBbox.lon=this.lon,this.mapService.getMap().defaultBbox.lat=this.lat}this.zoom&&(this.mapService.getView().setZoom(this.zoom),this.mapService.getMap().defaultBbox.zoom=this.zoom)}readUrlQuery(){this.route.queryParams.subscribe(t=>{if(t.center){const e=JSON.parse(t.center);this.mapService.getView().setCenter(e)}if(t.zoom){const e=JSON.parse(t.zoom);this.mapService.getView().setZoom(e)}if(t.context)try{const e=JSON.parse(t.context);this.setPermalinkContext(e)}catch(e){console.error(e)}})}setPermalinkContext(t){const e=Object.keys(t);this.aircraftService.aircraftControllerGetAircrafts({icaos:e}).subscribe(e=>{e.data.forEach(e=>{const n=new s.a(e);this.trafficService.addAircraft(n);const l=t[n.icao];l.status.indexOf(u.a.WATCH)>=0&&this.selectAircraftService.watchAircraft(n),l.status.indexOf(u.a.SELECT)>=0&&this.selectAircraftService.selectAircraft(n).then(()=>{l.status.indexOf(u.a.FOLLOW)>=0&&this.selectAircraftService.followAircraft(),l.status.indexOf(u.a.TRAJECTORY_LINE)>=0&&this.selectAircraftService.trajectoryLineAircraft(),l.status.indexOf(u.a.TRAJECTORY)>=0&&this.selectAircraftService.trajectoryAircraft(),l.status.indexOf(u.a.INTERCEPTION)>=0&&(this.selectAircraftService.interceptionAircraft(),l.metas.selectedPlot)&&this.selectAircraftService.getAircraftSelected().addMeta("selectedPlot",l.metas.selectedPlot)})})})}setControl(){this.mapService.getMap().addControl(new this.measureControl({})),this.mapService.getMap().addControl(new this.recenterBboxControl({})),this.mapService.getMap().addControl(new i.a({collapsible:!0}))}setMousePosition(){this.mapService.getMap().addControl(new r.a({coordinateFormat:t=>this.getCoordinates(t),projection:"EPSG:4326",undefinedHTML:"&nbsp;",target:this.positionEl.nativeElement}))}resizeMap(){this.mapService.getMap().updateSize()}getCoordinates(t){let e="";const n=c("latlong","mgrs",5);e+=d(t[1],t[0]).format("-dd"),e+="</br>",e+=d(t[1],t[0]).format("DD mmX ",{latLonSeparator:"",decimalPlaces:2}),e+="</br>",e+=Object(o.e)(t,0),e+="</br>";try{let l=n(t[1],t[0],5);l=l.slice(0,3)+" "+l.slice(3,5)+" "+l.slice(5,10)+" "+l.slice(10),e+=l}catch(l){e+="No MGRS 84\xb0N ,-80\xb0S"}return e}}},Aplp:function(t,e,n){"use strict";var l,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r={},o=0,a=0;function s(t){var e="";do{e=i[t%64]+e,t=Math.floor(t/64)}while(t>0);return e}function u(){var t=s(+new Date);return t!==l?(o=0,l=t):t+"."+s(o++)}for(;a<64;a++)r[i[a]]=a;u.encode=s,u.decode=function(t){var e=0;for(a=0;a<t.length;a++)e=64*e+r[t.charAt(a)];return e},t.exports=u},AvvY:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},AyJq:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return d}));var l=n("8Y7J"),i=(n("c9fC"),n("SVse")),r=(n("5Bek"),n("zMNK")),o=(n("8bJo"),n("omvX"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}}));function a(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function s(t){return l.Yb(2,[l.Ub(671088640,1,{_body:0}),l.Ob(null,0),(t()(),l.Db(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(t,e,n){var l=!0;return"@bodyExpansion.done"===e&&(l=!1!==t.component._bodyAnimationDone.next(n)&&l),l}),null,null)),(t()(),l.Db(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),l.Ob(null,1),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(6,212992,null,0,r.c,[l.m,l.Y],{portal:[0,"portal"]},null),l.Ob(null,2)],(function(t,e){t(e,6,0,e.component._portal)}),(function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)}))}var u=l.Bb({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component._getExpandedState())}))}function d(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),l.Ob(null,0),l.Ob(null,1),l.Ob(null,2),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,5,0,e.component._showToggle())}),null)}},Azqq:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return p}));var l=n("8Y7J"),i=(n("JjoW"),n("SVse")),r=n("QQfA"),o=n("IP0z"),a=(n("POq0"),n("zMNK"),n("/HVE"),n("hOhj"),n("Xd0L"),n("cUpR"),n("HsOI"),n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}}));function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function c(t){return l.Yb(0,[l.Ob(null,0),(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(3,16384,null,0,i.t,[l.Y,l.U,i.r],null,null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),l.Db(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var l=!0,i=t.component;return"@transformPanel.done"===e&&(l=!1!==i._panelDoneAnimatingStream.next(n.toState)&&l),"keydown"===e&&(l=!1!==i._handleKeydown(n)&&l),l}),null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Ob(null,1)],(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function p(t){return l.Yb(2,[l.Ub(671088640,1,{trigger:0}),l.Ub(671088640,2,{panel:0}),l.Ub(671088640,3,{overlayDir:0}),(t()(),l.Db(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggle()&&l),l}),null,null)),l.Cb(4,16384,[["origin",4]],0,r.b,[l.p],null,null),(t()(),l.Db(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),l.Cb(6,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(8,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(10,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.Db(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,(function(t,e,n){var l=!0,i=t.component;return"backdropClick"===e&&(l=!1!==i.close()&&l),"attach"===e&&(l=!1!==i._onAttached()&&l),"detach"===e&&(l=!1!==i.close()&&l),l}),h)),l.Cb(14,671744,[[3,4]],0,r.a,[r.c,l.U,l.Y,r.j,[2,o.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,l.Pb(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}},B2q1:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("OQAH"),o=n("zX6e"),a=n("CZmH"),s=n("AdTM"),u=n("GvmM"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{element:document.createElement("div"),render:l.render||h,target:l.target})||this).ulElement_=document.createElement("ul"),n.collapsed_=void 0===l.collapsed||l.collapsed,n.overrideCollapsible_=void 0!==l.collapsible,n.collapsible_=void 0===l.collapsible||l.collapsible,n.collapsible_||(n.collapsed_=!1);var i=void 0!==l.className?l.className:"ol-attribution",r=void 0!==l.tipLabel?l.tipLabel:"Attributions",a=void 0!==l.collapseLabel?l.collapseLabel:"\xbb";"string"==typeof a?(n.collapseLabel_=document.createElement("span"),n.collapseLabel_.textContent=a):n.collapseLabel_=a;var u=void 0!==l.label?l.label:"i";"string"==typeof u?(n.label_=document.createElement("span"),n.label_.textContent=u):n.label_=u;var c=n.collapsible_&&!n.collapsed_?n.collapseLabel_:n.label_,d=document.createElement("button");d.setAttribute("type","button"),d.title=r,d.appendChild(c),d.addEventListener(s.a.CLICK,n.handleClick_.bind(n),!1);var p=n.element;return p.className=i+" "+o.e+" "+o.b+(n.collapsed_&&n.collapsible_?" "+o.a:"")+(n.collapsible_?"":" ol-uncollapsible"),p.appendChild(n.ulElement_),p.appendChild(d),n.renderedAttributions_=[],n.renderedVisible_=!0,n}return c(e,t),e.prototype.collectSourceAttributions_=function(t){for(var e={},n=[],l=t.layerStatesArray,i=0,r=l.length;i<r;++i){var o=l[i];if(Object(u.b)(o,t.viewState)){var a=o.layer.getSource();if(a){var s=a.getAttributions();if(s){var c=s(t);if(c)if(this.overrideCollapsible_||!1!==a.getAttributionsCollapsible()||this.setCollapsible(!1),Array.isArray(c))for(var d=0,h=c.length;d<h;++d)c[d]in e||(n.push(c[d]),e[c[d]]=!0);else c in e||(n.push(c),e[c]=!0)}}}}return n},e.prototype.updateElement_=function(t){if(t){var e=this.collectSourceAttributions_(t),n=e.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!Object(i.b)(e,this.renderedAttributions_)){Object(a.d)(this.ulElement_);for(var l=0,r=e.length;l<r;++l){var o=document.createElement("li");o.innerHTML=e[l],this.ulElement_.appendChild(o)}this.renderedAttributions_=e}}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},e.prototype.handleClick_=function(t){t.preventDefault(),this.handleToggle_()},e.prototype.handleToggle_=function(){this.element.classList.toggle(o.a),this.collapsed_?Object(a.g)(this.collapseLabel_,this.label_):Object(a.g)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_},e.prototype.getCollapsible=function(){return this.collapsible_},e.prototype.setCollapsible=function(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.collapsed_&&this.handleToggle_())},e.prototype.setCollapsed=function(t){this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()},e.prototype.getCollapsed=function(){return this.collapsed_},e}(r.a);function h(t){this.updateElement_(t.frameState)}e.a=d},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BBQo:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i}));var l=42,i=256},BF0p:function(t,e,n){"use strict";e.a={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},BJ1j:function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("Uhtb"),o=n("9iPr"),a=n("mrzG"),s=n("tYnX"),u=n("l2lA"),c=n("q7cr"),d=n("u2yf"),h=n("HEh+"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e,n){var l=t.call(this)||this;return l.maxDelta_=-1,l.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?l.setCoordinates(e,n):l.setFlatCoordinates(n,e),l}return p(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(i.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.e)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.d)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.getArea=function(){return Object(s.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinates=function(){return Object(d.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=Object(h.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,r.a.XY)},e.prototype.getType=function(){return o.a.LINEAR_RING},e.prototype.intersectsExtent=function(t){return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(a.a);e.a=f},BV1i:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("GS7A"),n("KCVW"),n("dvZr"),n("hOhj"),n("8Y7J"),n("XNiG"),n("xgIS"),n("VRyK"),n("pLZG"),n("1G5W"),n("/uUt"),n("lJxs"),n("IzEk"),n("JX91"),n("Kj3r");class l{}},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,l,i){var r=t+" ";switch(l){case"s":return n||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?r+(n||i?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?r+(n||i?"m\xedn\xfatur":"m\xedn\xfatum"):n?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return e(t)?r+(n||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?r+"dagar":r+(i?"daga":"d\xf6gum"):n?r+"dagur":r+(i?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?r+"m\xe1nu\xf0ir":r+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?r+"m\xe1nu\xf0ur":r+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||i?"\xe1r":"\xe1ri";case"yy":return e(t)?r+(n||i?"\xe1r":"\xe1rum"):r+(n||i?"\xe1r":"\xe1ri")}}t.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Blz8:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t,e){return null==t?"???":t}}},Bw0W:function(t,e,n){"use strict";e.a={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}},BxA5:function(t,e,n){"use strict";var l,i=n("WS2v"),r=n("4mld"),o=n("aY/Z"),a=n("zX6e"),s=n("CZmH"),u=n("Ho3V"),c=n("CvXi"),d=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e){var n=t.call(this)||this;n.options=e,n.id=e.id,n.insertFirst=void 0===e.insertFirst||e.insertFirst,n.stopEvent=void 0===e.stopEvent||e.stopEvent,n.element=document.createElement("div"),n.element.className=void 0!==e.className?e.className:"ol-overlay-container "+a.d,n.element.style.position="absolute";var l=e.autoPan;return l&&"object"!=typeof l&&(l={animation:e.autoPanAnimation,margin:e.autoPanMargin}),n.autoPan=l||!1,n.rendered={transform_:"",visible:!0},n.mapPostrenderListenerKey=null,n.addEventListener(Object(r.b)("element"),n.handleElementChanged),n.addEventListener(Object(r.b)("map"),n.handleMapChanged),n.addEventListener(Object(r.b)("offset"),n.handleOffsetChanged),n.addEventListener(Object(r.b)("position"),n.handlePositionChanged),n.addEventListener(Object(r.b)("positioning"),n.handlePositioningChanged),void 0!==e.element&&n.setElement(e.element),n.setOffset(void 0!==e.offset?e.offset:[0,0]),n.setPositioning(void 0!==e.positioning?e.positioning:o.a.TOP_LEFT),void 0!==e.position&&n.setPosition(e.position),n}return d(e,t),e.prototype.getElement=function(){return this.get("element")},e.prototype.getId=function(){return this.id},e.prototype.getMap=function(){return this.get("map")},e.prototype.getOffset=function(){return this.get("offset")},e.prototype.getPosition=function(){return this.get("position")},e.prototype.getPositioning=function(){return this.get("positioning")},e.prototype.handleElementChanged=function(){Object(s.d)(this.element);var t=this.getElement();t&&this.element.appendChild(t)},e.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&(Object(s.e)(this.element),Object(u.c)(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var t=this.getMap();if(t){this.mapPostrenderListenerKey=Object(u.a)(t,i.a.POSTRENDER,this.render,this),this.updatePixelPosition();var e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}},e.prototype.render=function(){this.updatePixelPosition()},e.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},e.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.performAutoPan()},e.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},e.prototype.setElement=function(t){this.set("element",t)},e.prototype.setMap=function(t){this.set("map",t)},e.prototype.setOffset=function(t){this.set("offset",t)},e.prototype.setPosition=function(t){this.set("position",t)},e.prototype.performAutoPan=function(){this.autoPan&&this.panIntoView(this.autoPan)},e.prototype.panIntoView=function(t){var e=this.getMap();if(e&&e.getTargetElement()&&this.get("position")){var n=this.getRect(e.getTargetElement(),e.getSize()),l=this.getElement(),i=this.getRect(l,[Object(s.c)(l),Object(s.b)(l)]),r=void 0===t.margin?20:t.margin;if(!Object(c.g)(n,i)){var o=i[0]-n[0],a=n[2]-i[2],u=i[1]-n[1],d=n[3]-i[3],h=[0,0];if(o<0?h[0]=o-r:a<0&&(h[0]=Math.abs(a)+r),u<0?h[1]=u-r:d<0&&(h[1]=Math.abs(d)+r),0!==h[0]||0!==h[1]){var p=e.getView().getCenterInternal(),f=e.getPixelFromCoordinateInternal(p),b=[f[0]+h[0],f[1]+h[1]],m=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(b),duration:m.duration,easing:m.easing})}}}},e.prototype.getRect=function(t,e){var n=t.getBoundingClientRect(),l=n.left+window.pageXOffset,i=n.top+window.pageYOffset;return[l,i,l+e[0],i+e[1]]},e.prototype.setPositioning=function(t){this.set("positioning",t)},e.prototype.setVisible=function(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)},e.prototype.updatePixelPosition=function(){var t=this.getMap(),e=this.getPosition();if(t&&t.isRendered()&&e){var n=t.getPixelFromCoordinate(e),l=t.getSize();this.updateRenderedPosition(n,l)}else this.setVisible(!1)},e.prototype.updateRenderedPosition=function(t,e){var n=this.element.style,l=this.getOffset(),i=this.getPositioning();this.setVisible(!0);var r=Math.round(t[0]+l[0])+"px",a=Math.round(t[1]+l[1])+"px",s="0%",u="0%";i==o.a.BOTTOM_RIGHT||i==o.a.CENTER_RIGHT||i==o.a.TOP_RIGHT?s="-100%":i!=o.a.BOTTOM_CENTER&&i!=o.a.CENTER_CENTER&&i!=o.a.TOP_CENTER||(s="-50%"),i==o.a.BOTTOM_LEFT||i==o.a.BOTTOM_CENTER||i==o.a.BOTTOM_RIGHT?u="-100%":i!=o.a.CENTER_LEFT&&i!=o.a.CENTER_CENTER&&i!=o.a.CENTER_RIGHT||(u="-50%");var c="translate("+s+", "+u+") translate("+r+", "+a+")";this.rendered.transform_!=c&&(this.rendered.transform_=c,n.transform=c,n.msTransform=c)},e.prototype.getOptions=function(){return this.options},e}(r.a);e.a=h},ByF4:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BzsH:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("Xd0L");class l{}},C2QD:function(t,e){function n(t){this.ms=(t=t||{}).min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},CIKq:function(t,e,n){var l,i,r=n("Gbct"),o=n("Wm4p"),a=n("TypT"),s=n("Yvos"),u=n("Aplp"),c=n("HjK1")("engine.io-client:websocket");if("undefined"!=typeof WebSocket?l=WebSocket:"undefined"!=typeof self&&(l=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{i=n(1)}catch(p){}var d=l||i;function h(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=l&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(d=i),r.call(this,t)}t.exports=h,s(h,r),h.prototype.name="websocket",h.prototype.supportsBinary=!0,h.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={};this.isReactNative||(n.agent=this.agent,n.perMessageDeflate=this.perMessageDeflate,n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new d(t,e):new d(t):new d(t,e,n)}catch(l){return this.emit("error",l)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},h.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},h.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,l=0,i=n;l<i;l++)!function(t){o.encodePacket(t,e.supportsBinary,(function(l){if(!e.usingBrowserWebSocket){var i={};t.options&&(i.compress=t.options.compress),e.perMessageDeflate&&("string"==typeof l?Buffer.byteLength(l):l.length)<e.perMessageDeflate.threshold&&(i.compress=!1)}try{e.usingBrowserWebSocket?e.ws.send(l):e.ws.send(l,i)}catch(p){c("websocket closed before onclose event")}--n||(e.emit("flush"),setTimeout((function(){e.writable=!0,e.emit("drain")}),0))}))}(t[l])},h.prototype.onClose=function(){r.prototype.onClose.call(this)},h.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},h.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",n="";return this.port&&("wss"===e&&443!==Number(this.port)||"ws"===e&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=u()),this.supportsBinary||(t.b64=1),(t=a.encode(t)).length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t},h.prototype.check=function(){return!(!d||"__initialize"in d&&this.name===h.prototype.name)}},CJuc:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.getOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.replaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.deleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.updateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.getManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.createOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea(t){return this.createManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedArea$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.ReplaceOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.DeleteOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.UpdateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/{id}",t.GetManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area",t.CreateOneBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area",t.CreateManyBaseNotificationTypePredictionProhibitedAreaControllerNotificationTypePredictionProhibitedAreaPath="/notification_type_prediction_prohibited_area/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},CUme:function(t,e,n){var l=n("Gbct"),i=n("TypT"),r=n("Wm4p"),o=n("Yvos"),a=n("Aplp"),s=n("HjK1")("engine.io-client:polling");t.exports=c;var u=null!=new(n("AdPF"))({xdomain:!1}).responseType;function c(t){u&&!(t&&t.forceBase64)||(this.supportsBinary=!1),l.call(this,t)}o(c,l),c.prototype.name="polling",c.prototype.doOpen=function(){this.poll()},c.prototype.pause=function(t){var e=this;function n(){s("paused"),e.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var l=0;this.polling&&(s("we are currently polling - waiting to pause"),l++,this.once("pollComplete",(function(){s("pre-pause polling complete"),--l||n()}))),this.writable||(s("we are currently writing - waiting to pause"),l++,this.once("drain",(function(){s("pre-pause writing complete"),--l||n()})))}else n()},c.prototype.poll=function(){s("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},c.prototype.onData=function(t){var e=this;s("polling got data %s",t),r.decodePayload(t,this.socket.binaryType,(function(t,n,l){if("opening"===e.readyState&&"open"===t.type&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():s('ignoring poll - transport state "%s"',this.readyState))},c.prototype.doClose=function(){var t=this;function e(){s("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(s("transport open - closing"),e()):(s("transport not open - deferring close"),this.once("open",e))},c.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit("drain")};r.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},c.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(t[this.timestampParam]=a()),this.supportsBinary||t.sid||(t.b64=1),t=i.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(n=":"+this.port),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t}},CZmH:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"g",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"f",(function(){return c}));var l=n("YX0d");function i(t,e,n){var i=n&&n.length?n.shift():l.g?new OffscreenCanvas(t||300,e||300):document.createElement("canvas");return t&&(i.width=t),e&&(i.height=e),i.getContext("2d")}function r(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+(parseInt(n.marginLeft,10)+parseInt(n.marginRight,10))}function o(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+(parseInt(n.marginTop,10)+parseInt(n.marginBottom,10))}function a(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function s(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function u(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function c(t,e){for(var n=t.childNodes,l=0;;++l){var i=n[l],r=e[l];if(!i&&!r)break;i!==r&&(i?r?t.insertBefore(r,i):(t.removeChild(i),--l):t.appendChild(r))}}},Ca9r:function(t,e,n){"use strict";var l,i=n("GvmM"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e){return t.call(this,e||{})||this}return r(e,t),e}(i.a),a=n("pQSv"),s=n("SW/M"),u=n("CvXi"),c=n("JW8z"),d=n("E35u"),h=n("qJZF"),p=n("3er3"),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),b=function(t){function e(e){var n=t.call(this,e)||this;return n.image_=null,n}return f(e,t),e.prototype.getImage=function(){return this.image_?this.image_.getImage():null},e.prototype.prepareFrame=function(t){var e=t.layerStatesArray[t.layerIndex],n=t.pixelRatio,l=t.viewState,i=l.resolution,r=this.getLayer().getSource(),o=t.viewHints,d=t.extent;if(void 0!==e.extent&&(d=Object(u.B)(d,Object(c.f)(e.extent,l.projection))),!o[s.a.ANIMATING]&&!o[s.a.INTERACTING]&&!Object(u.H)(d))if(r){var h=l.projection;if(!a.a){var p=r.getProjection();p&&(h=p)}var f=r.getImage(d,i,n,h);f&&this.loadImage(f)&&(this.image_=f)}else this.image_=null;return!!this.image_},e.prototype.renderFrame=function(t,e){var n=this.image_,l=n.getExtent(),i=n.getResolution(),r=n.getPixelRatio(),o=t.layerStatesArray[t.layerIndex],a=t.pixelRatio,s=t.viewState,d=s.center,f=t.size,b=a*i/(s.resolution*r),m=Math.round(f[0]*a),g=Math.round(f[1]*a),_=s.rotation;if(_){var y=Math.round(Math.sqrt(m*m+g*g));m=y,g=y}Object(h.b)(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/a,1/a,_,-m/2,-g/2),Object(h.d)(this.inversePixelTransform,this.pixelTransform);var A=Object(p.b)(this.pixelTransform);this.useContainer(e,A,o.opacity);var v=this.context,C=v.canvas;C.width!=m||C.height!=g?(C.width=m,C.height=g):this.containerReused||v.clearRect(0,0,m,g);var w=!1;if(o.extent){var P=Object(c.f)(o.extent,s.projection);(w=!Object(u.g)(P,t.extent)&&Object(u.F)(P,t.extent))&&this.clipUnrotated(v,t,P)}var x=n.getImage(),S=Object(h.b)(this.tempTransform_,m/2,g/2,b,b,0,r*(l[0]-d[0])/i,r*(d[1]-l[3])/i);this.renderedResolution=i*a/r;var k=S[4],M=S[5],O=x.width*S[0],D=x.height*S[3];if(this.preRender(v,t),O>=.5&&D>=.5){var T=o.opacity,E=void 0;1!==T&&(E=this.context.globalAlpha,this.context.globalAlpha=T),this.context.drawImage(x,0,0,+x.width,+x.height,Math.round(k),Math.round(M),Math.round(O),Math.round(D)),1!==T&&(this.context.globalAlpha=E)}return this.postRender(v,t),w&&v.restore(),A!==C.style.transform&&(C.style.transform=A),this.container},e}(d.a),m=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),g=function(t){function e(e){return t.call(this,e)||this}return m(e,t),e.prototype.createRenderer=function(){return new b(this)},e}(o),_=n("wtMG"),y=n("4mld"),A=function(t){y.a.call(this,t=t||{}),this.size_=t.size||8e4,this.origin_=t.origin||[0,0],this.layout_=this.layout[t.layout]||this.layout.pointy};Object(_.a)(A,y.a),A.prototype.layout={pointy:[Math.sqrt(3),Math.sqrt(3)/2,0,1.5,Math.sqrt(3)/3,-1/3,0,2/3,Math.cos(Math.PI/180*30),Math.sin(Math.PI/180*30),Math.cos(Math.PI/180*90),Math.sin(Math.PI/180*90),Math.cos(Math.PI/180*150),Math.sin(Math.PI/180*150),Math.cos(Math.PI/180*210),Math.sin(Math.PI/180*210),Math.cos(Math.PI/180*270),Math.sin(Math.PI/180*270),Math.cos(Math.PI/180*330),Math.sin(Math.PI/180*330)],flat:[1.5,0,Math.sqrt(3)/2,Math.sqrt(3),2/3,0,-1/3,Math.sqrt(3)/3,Math.cos(Math.PI/180*0),Math.sin(Math.PI/180*0),Math.cos(Math.PI/180*60),Math.sin(Math.PI/180*60),Math.cos(Math.PI/180*120),Math.sin(Math.PI/180*120),Math.cos(Math.PI/180*180),Math.sin(Math.PI/180*180),Math.cos(Math.PI/180*240),Math.sin(Math.PI/180*240),Math.cos(Math.PI/180*300),Math.sin(Math.PI/180*300)]},A.prototype.setLayout=function(t){this.layout_=this.layout[t]||this.layout.pointy,this.changed()},A.prototype.getLayout=function(){return 0!=this.layout_[9]?"pointy":"flat"},A.prototype.setOrigin=function(t){this.origin_=t,this.changed()},A.prototype.getOrigin=function(){return this.origin_},A.prototype.setSize=function(t){this.size_=t||8e4,this.changed()},A.prototype.getSize=function(){return this.size_},A.prototype.cube2hex=function(t){return[t[0],t[2]]},A.prototype.hex2cube=function(t){return[t[0],-t[0]-t[1],t[1]]},A.prototype.hex2offset=function(t){return this.layout_[9]?[t[0]+(t[1]-(1&t[1]))/2,t[1]]:[t[0],t[1]+(t[0]+(1&t[0]))/2]},A.prototype.offset2hex=function(t){return this.layout_[9]?[t[0]-(t[1]-(1&t[1]))/2,t[1]]:[t[0],t[1]-(t[0]+(1&t[0]))/2]},A.prototype.cube_round=function(t){var e=Math.round(t[0]),n=Math.round(t[1]),l=Math.round(t[2]),i=Math.abs(e-t[0]),r=Math.abs(n-t[1]),o=Math.abs(l-t[2]);return i>r&&i>o?e=-n-l:r>o?n=-e-l:l=-e-n,[e,n,l]},A.prototype.hex_round=function(t){return this.cube2hex(this.cube_round(this.hex2cube(t)))},A.prototype.hex_corner=function(t,e,n){return[t[0]+e*this.layout_[8+n%6*2],t[1]+e*this.layout_[9+n%6*2]]},A.prototype.getHexagonAtCoord=function(t){return this.getHexagon(this.coord2hex(t))},A.prototype.getHexagon=function(t){for(var e=[],n=this.hex2coord(t),l=0;l<=7;l++)e.push(this.hex_corner(n,this.size_,l,this.layout_[8]));return e},A.prototype.hex2coord=function(t){return[this.origin_[0]+this.size_*(this.layout_[0]*t[0]+this.layout_[1]*t[1]),this.origin_[1]+this.size_*(this.layout_[2]*t[0]+this.layout_[3]*t[1])]},A.prototype.coord2hex=function(t){var e=[(t[0]-this.origin_[0])/this.size_,(t[1]-this.origin_[1])/this.size_];return this.hex_round([this.layout_[4]*e[0]+this.layout_[5]*e[1],this.layout_[6]*e[0]+this.layout_[7]*e[1]])},A.prototype.cube_distance=function(t,e){return Math.max(Math.abs(t[0]-e[0]),Math.abs(t[1]-e[1]),Math.abs(t[2]-e[2]))},function(){function t(t,e,n){return t+(e-t)*n}function e(e,n,l){return[t(e[0]+1e-6,n[0],l),t(e[1]+1e-6,n[1],l),t(e[2]+1e-6,n[2],l)]}A.prototype.cube_line=function(t,n){var l=this.cube_distance(t,n);if(!l)return[t];for(var i=[],r=0;r<=l;r++)i.push(this.cube_round(e(t,n,r/l)));return i}}(),A.prototype.neighbors={cube:[[1,-1,0],[1,0,-1],[0,1,-1],[-1,1,0],[-1,0,1],[0,-1,1]],hex:[[1,0],[1,-1],[0,-1],[-1,0],[-1,1],[0,1]]},A.prototype.hex_neighbors=function(t,e){if(void 0!==e)return[t[0]+this.neighbors.hex[e%6][0],t[1]+this.neighbors.hex[e%6][1]];var n=[];for(e=0;e<6;e++)n.push([t[0]+this.neighbors.hex[e][0],t[1]+this.neighbors.hex[e][1]]);return n},A.prototype.cube_neighbors=function(t,e){if(void 0!==e)return[t[0]+this.neighbors.cube[e%6][0],t[1]+this.neighbors.cube[e%6][1],t[2]+this.neighbors.cube[e%6][2]];var n=[];for(e=0;e<6;e++)n.push([t[0]+this.neighbors.cube[e][0],t[1]+this.neighbors.cube[e][1],t[2]+this.neighbors.cube[e][2]]);for(e=0;e<6;e++)n[e]=this.cube2hex(n[e]);return n};var v=A,C=n("h3hZ"),w=n("hp/u"),P=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),x=function(t){function e(e,n,l,i,r){var o=this;return(o=t.call(this,e,n,l,void 0!==r?w.a.IDLE:w.a.LOADED)||this).loader_=void 0!==r?r:null,o.canvas_=i,o.error_=null,o}return P(e,t),e.prototype.getError=function(){return this.error_},e.prototype.handleLoad_=function(t){t?(this.error_=t,this.state=w.a.ERROR):this.state=w.a.LOADED,this.changed()},e.prototype.load=function(){this.state==w.a.IDLE&&(this.state=w.a.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))},e.prototype.getImage=function(){return this.canvas_},e}(C.a),S=n("EwAT"),k=n("n15R"),M=n("zvco"),O=n("Ho3V"),D=n("AdTM"),T=n("PIFQ"),E=n("tzl+"),I=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),L=function(t){function e(e,n,l,i,r,o){var s=this,c=e.getExtent(),d=n.getExtent(),h=d?Object(u.B)(l,d):l,p=Object(u.x)(h),f=Object(T.a)(e,n,p,i),b=new E.a(e,n,h,c,f*a.b,i),m=o(b.calculateSourceExtent(),f,r),g=m?w.a.IDLE:w.a.EMPTY,_=m?m.getPixelRatio():1;return(s=t.call(this,l,i,_,g)||this).targetProj_=n,s.maxSourceExtent_=c,s.triangulation_=b,s.targetResolution_=i,s.targetExtent_=l,s.sourceImage_=m,s.sourcePixelRatio_=_,s.canvas_=null,s.sourceListenerKey_=null,s}return I(e,t),e.prototype.disposeInternal=function(){this.state==w.a.LOADING&&this.unlistenSource_(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.canvas_},e.prototype.getProjection=function(){return this.targetProj_},e.prototype.reproject_=function(){var t=this.sourceImage_.getState();if(t==w.a.LOADED){var e=Object(u.E)(this.targetExtent_)/this.targetResolution_,n=Object(u.A)(this.targetExtent_)/this.targetResolution_;this.canvas_=Object(T.b)(e,n,this.sourcePixelRatio_,this.sourceImage_.getResolution(),this.maxSourceExtent_,this.targetResolution_,this.targetExtent_,this.triangulation_,[{extent:this.sourceImage_.getExtent(),image:this.sourceImage_.getImage()}],0)}this.state=t,this.changed()},e.prototype.load=function(){if(this.state==w.a.IDLE){this.state=w.a.LOADING,this.changed();var t=this.sourceImage_.getState();t==w.a.LOADED||t==w.a.ERROR?this.reproject_():(this.sourceListenerKey_=Object(O.a)(this.sourceImage_,D.a.CHANGE,(function(t){var e=this.sourceImage_.getState();e!=w.a.LOADED&&e!=w.a.ERROR||(this.unlistenSource_(),this.reproject_())}),this),this.sourceImage_.load())}},e.prototype.unlistenSource_=function(){Object(O.c)(this.sourceListenerKey_),this.sourceListenerKey_=null},e}(C.a),j=n("/4Cu"),R=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),F=function(t){function e(e,n){var l=t.call(this,e)||this;return l.image=n,l}return R(e,t),e}(M.a),N=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,projection:e.projection,state:e.state})||this;return n.resolutions_=void 0!==e.resolutions?e.resolutions:null,n.reprojectedImage_=null,n.reprojectedRevision_=0,n}return R(e,t),e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.findNearestResolution=function(t){if(this.resolutions_){var e=Object(k.f)(this.resolutions_,t,0);t=this.resolutions_[e]}return t},e.prototype.getImage=function(t,e,n,l){var i=this.getProjection();if(a.a&&i&&l&&!Object(c.c)(i,l)){if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&Object(c.c)(this.reprojectedImage_.getProjection(),l)&&this.reprojectedImage_.getResolution()==e&&Object(u.p)(this.reprojectedImage_.getExtent(),t))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new L(i,l,t,e,n,(function(t,e,n){return this.getImageInternal(t,e,n,i)}).bind(this)),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}return i&&(l=i),this.getImageInternal(t,e,n,l)},e.prototype.getImageInternal=function(t,e,n,l){return Object(S.b)()},e.prototype.handleImageChange=function(t){var e=t.target;switch(e.getState()){case w.a.LOADING:this.loading=!0,this.dispatchEvent(new F("imageloadstart",e));break;case w.a.LOADED:this.loading=!1,this.dispatchEvent(new F("imageloadend",e));break;case w.a.ERROR:this.loading=!1,this.dispatchEvent(new F("imageloaderror",e))}},e}(j.a),Y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),U=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{attributions:l.attributions,projection:l.projection,resolutions:l.resolutions,state:l.state})||this).canvasFunction_=l.canvasFunction,n.canvas_=null,n.renderedRevision_=0,n.ratio_=void 0!==l.ratio?l.ratio:1.5,n}return Y(e,t),e.prototype.getImageInternal=function(t,e,n,l){e=this.findNearestResolution(e);var i=this.canvas_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==e&&i.getPixelRatio()==n&&Object(u.g)(i.getExtent(),t))return i;t=t.slice(),Object(u.J)(t,this.ratio_);var r=Object(u.E)(t)/e,o=Object(u.A)(t)/e,a=this.canvasFunction_.call(this,t,e,n,[r*n,o*n],l);return a&&(i=new x(t,e,n,a)),this.canvas_=i,this.renderedRevision_=this.getRevision(),i},e}(N),B=function(t){t=t||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.grid=t.hexGrid,this.grid.on("change",this.changed.bind(this)),U.call(this,{canvasFunction:this.drawHex})};Object(_.a)(B,U),B.prototype.drawHexagon=function(t,e,n,l,i,r,o){var a;t.beginPath(),r=r||6,o=o||0;for(var s=i=i||0;s<=r;s++)a=this.grid.hex_corner(e,n-o,s),s!=i?t.lineTo(a[0],a[1]):t.moveTo(a[0],a[1]);t.stroke(),l&&t.fill()},B.prototype.showCoordiantes=function(t){this.coordinates_=t,this.changed()},B.prototype.drawHex=function(t,e,n,l){var i,r,o,a,s,u=this.canvas.width=l[0],c=this.canvas.height=l[1];this.extent=t;var d=this.grid.getSize()/e;if(d<8){var h=document.createElement("canvas");i=h.getContext("2d");var p=2*Math.sqrt(3)*d*n*10,f=3*d*n*10;h.width=Math.round(p),h.height=Math.round(f),i.scale(n,n),i.lineWidth=1.5,i.fillStyle="transparent";var b=this.grid.coord2hex([t[0],t[3]]);for(r=-10;r<22;r++)for(o=-3;o<22;o++)(a=this.grid.hex2coord([b[0]+r,b[1]+o]))[0]=(a[0]-t[0])/e,a[1]=h.height-(a[1]-t[3])/e,i.strokeStyle="rgba(0,0,0,0.5)",this.drawHexagon(i,a,d,0,3),i.strokeStyle="rgba(255,255,255,0.8)",this.drawHexagon(i,a,d,!1,2,5,2),i.strokeStyle="rgba(0,0,0,0.3)",this.drawHexagon(i,a,d,!1,5,8,2);var m=document.createElement("canvas");i=m.getContext("2d"),m.width=Math.round(u+(p-h.width)*Math.floor(u/h.width)),m.height=Math.round(c+(f-h.height)*Math.floor(c/h.height)),i.fillStyle=i.createPattern(h,"repeat"),i.fillRect(0,0,m.width,m.height),this.context.drawImage(m,0,0,u,c,0,0,m.width,m.height)}else{(i=this.context).save();var g=this.grid.hex2offset(this.grid.coord2hex([t[0],t[1]])),_=this.grid.hex2offset(this.grid.coord2hex([t[2],t[3]]));for(i.scale(n,n),i.lineWidth=1.5,i.textAlign="center",i.textBaseline="middle",i.font="bold 12px Arial",r=g[0]-1;r<=_[0]+1;r++)for(o=g[1]-1;o<=_[1]+1;o++){var y=this.grid.offset2hex([r,o],this.layout_);if((a=this.grid.hex2coord(y))[0]=(a[0]-t[0])/e,a[1]=c/n-(a[1]-t[1])/e,i.strokeStyle="rgba(0,0,0,0.25)",this.drawHexagon(i,a,d),i.strokeStyle="rgba(255,255,255,0.8)",this.drawHexagon(i,a,d,!1,2,5,2),i.strokeStyle="rgba(0,0,0,0.3)",this.drawHexagon(i,a,d,!1,5,8,2),d>20)switch(this.coordinates_){case"axial":i.fillText(y[0]+","+y[1],a[0],a[1]);break;case"cube":s=this.grid.hex2cube(y);for(var A=0;A<3;A++){var v=-Math.PI/180*(120*A+30);i.fillText(s[A],a[0]+Math.cos(v)*d*.5,a[1]+Math.sin(v)*d*.5)}break;case"offset":s=this.grid.hex2offset(y),i.fillText(s[0]+","+s[1],a[0],a[1])}}i.restore()}return this.canvas};var z=B,G=n("TN97"),H=n("9ANI"),V=n("W8M7"),q=n("bHcU"),W=n("hoJM"),$=n("g6Z0"),X=n("gpXz"),K=n("wd/R"),J=n("WVt+"),Q=n("ppab");n("svHU"),n.d(e,"a",(function(){return Z}));class Z extends Q.a{constructor(t){super(),this.mapService=t,this.greatLineCirclesOfSector=[],this.extentFactor=1.3,this.previous={coords:null,speed:null,altitude:null,vsi:null},this.hexGrid=new v,this.hexGrid.setLayout("flat"),console.log("hexGrid:",this.hexGrid)}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayHexMap(t,e,n,l){const i=Object(c.d)([t.longitude,t.latitude]),r=this.kilometersPerHourToMetersPerMinute(this.knotsTokilometersPerHour(t.speed));1==(!this.previous.coords||this.previous.coords.join("|")!==[t.longitude,t.latitude].join("|")||this.previous.speed!==t.speed||this.previous.altitude!==t.altitude||this.previous.vsi!==t.vsi)&&(this.removeHexMap(),i!==this.hexGrid.getOrigin()&&this.hexGrid.setOrigin(i),r!==this.hexGrid.getSize()&&this.hexGrid.setSize(r),this.getContext(e,t,n,l),this.previous.coords=[t.longitude,t.latitude],this.previous.speed=t.speed,this.previous.altitude=t.altitude,this.previous.vsi=t.vsi)}getContext(t,e,n,l){const i=K().valueOf(),r=e.track||0,o=[e.longitude||0,e.latitude||0],a=J.point(o),s=Object(c.m)(t),u=J.point(s),d=this.getGrid(a,o,u,n,r),h=this.getCells(d,a,u,t,l);return console.log("- Total duration :",(K().valueOf()-i)/1e3,"sec"),h}getGrid(t,e,n,l,i){const r=this.buildExtent(e,t,n,this.extentFactor),o=J.bboxPolygon(r),a=this.getCubeLine(o.geometry.coordinates[0][0],o.geometry.coordinates[0][1]),s=this.getCubeLine(o.geometry.coordinates[0][3],o.geometry.coordinates[0][2]),u=this.getCursors(a,s),c=this.getRotatedFeatures(u,a,s,e,i);return this.getSectorContext(c,t,l)}getCells(t,e,n,l,i){const r=new H.a(l),o=t.map(t=>{const l=[t.geometry.coordinates[0].map(t=>Object(c.d)(t))],o=new V.a(l),a=new G.a({geometry:o});a.set("distance:",J.distance(e,n)),a.set("minute:",t.properties.minute);const s=!!a.getGeometry().intersectsExtent(r.getExtent());return a.setStyle(this.getSectorStyle(t.properties.minute,s,i)),a});return o.length&&this.source.addFeatures(o),o}getCubeLine(t,e){return this.hexGrid.cube_line(this.hexGrid.hex2cube(this.hexGrid.coord2hex(Object(c.d)(t))),this.hexGrid.hex2cube(this.hexGrid.coord2hex(Object(c.d)(e))))}getCursors(t,e){let n=t.length;return n!==e.length&&e.length<t.length&&(n=e.length),{start:Math.round(n/10*3),stop:Math.round(n-n/10*3)}}getSectorContext(t,e,n){let l={};const i=J.lineString(n);return t.forEach(t=>{J.booleanCrosses(i,t)&&(l[JSON.stringify(t.geometry.coordinates)]=t,this.greatLineCirclesOfSector.push(J.greatCircle(e,J.centroid(t))))}),t.forEach(t=>{l[JSON.stringify(t.geometry.coordinates)]||this.greatLineCirclesOfSector.some(e=>J.booleanCrosses(e,t))&&(l[JSON.stringify(t.geometry.coordinates)]=t)}),Object.values(l)}getRotatedFeatures(t,e,n,l,i){const r=[],o=this.hexGrid.hex2cube(this.hexGrid.coord2hex(this.hexGrid.getOrigin())),a=i>=0&&i<=180?i:-(360-i);for(let s=t.start;s<t.stop;s++){const t=this.hexGrid.cube_line(n[s],e[s]);let i=0;t.forEach(e=>{if(i+=1,i<=t.length/(2/this.extentFactor)){const t=this.hexGrid.cube_distance(e,o),n=this.hexGrid.getHexagon(this.hexGrid.cube2hex(e)),i=this.polygonTransform([n.slice(0,n.length-1)],"EPSG:3857","EPSG:4326"),s=J.polygon(i,{minute:t}),u=J.transformRotate(s,a,{pivot:l});r.push(u)}})}return r}buildExtent(t,e,n,l){l||(l=1);const i=J.distance(e,n),r=J.circle(t,i*l,{steps:256});return J.bbox(r)}removeHexMap(){super.getVectorSource().clear(),this.gridLayer&&(this.getGridLayer().clear(),this.gridLayer=void 0),this.gridSource=void 0,this.greatLineCirclesOfSector=[]}getSectorStyle(t,e,n){let l={stroke:new W.a(!0===e&&!0===n?{color:"white",width:2.5}:{color:"black",width:1})};return null!=t&&(l.text=new X.a({text:String(t),fill:new $.a({color:"white",opacity:.8})})),new q.b(l)}getGridLayer(){return this.gridLayer||(this.gridLayer=new g({source:this.getGridSource(),projection:"EPSG:3857",render:"image"}),this.gridLayer.setVisible(!1)),this.gridLayer}getGridSource(){return this.gridSource||(this.gridSource=new z({hexGrid:this.hexGrid})),this.gridSource}polygonTransform(t,e,n){for(let l in t)for(let i in t[l])t[l][i]=Object(c.p)(t[l][i],e,n);return t}knotsTokilometersPerHour(t){return 1.852*t}kilometersPerHourToMetersPerMinute(t){return t/.06}}},Cfvw:function(t,e,n){"use strict";var l=n("HDdC"),i=n("SeVD"),r=n("quSY"),o=n("kJWO"),a=n("jZKg"),s=n("Lhse"),u=n("c2HN"),c=n("I55L");function d(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new l.a(n=>{const l=new r.a;return l.add(e.schedule(()=>{const i=t[o.a]();l.add(i.subscribe({next(t){l.add(e.schedule(()=>n.next(t)))},error(t){l.add(e.schedule(()=>n.error(t)))},complete(){l.add(e.schedule(()=>n.complete()))}}))})),l})}(t,e);if(Object(u.a)(t))return function(t,e){return new l.a(n=>{const l=new r.a;return l.add(e.schedule(()=>t.then(t=>{l.add(e.schedule(()=>{n.next(t),l.add(e.schedule(()=>n.complete()))}))},t=>{l.add(e.schedule(()=>n.error(t)))}))),l})}(t,e);if(Object(c.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new l.a(n=>{const l=new r.a;let i;return l.add(()=>{i&&"function"==typeof i.return&&i.return()}),l.add(e.schedule(()=>{i=t[s.a](),l.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(l){return void n.error(l)}e?n.complete():(n.next(t),this.schedule())})))})),l})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof l.a?t:new l.a(Object(i.a)(t))}n.d(e,"a",(function(){return d}))},CgXW:function(t,e,n){var l,i,r;i=[n("Rj0l")],void 0===(r="function"==typeof(l=function(t){"use strict";var e={};function n(n,l,i){var r,o,a,s,u,c,d,h,p,f,b,m={};if(n=parseFloat(n),l=parseFloat(l),n>84||n<-80)return"undefined";if(l>180||l<-180||n>90||n<-90)throw"Bad input. lat: "+n+" lon: "+l;return o=n*e.DEG_2_RAD,a=l*e.DEG_2_RAD,s=(6*((r=i||t.getZoneNumber(n,l))-1)-180+3)*e.DEG_2_RAD,d=e.EQUATORIAL_RADIUS/Math.sqrt(1-e.ECC_SQUARED*Math.pow(Math.sin(o),2)),h=Math.pow(Math.tan(o),2),p=e.ECC_PRIME_SQUARED*Math.pow(Math.cos(o),2),f=Math.cos(o)*(a-s),b=e.EQUATORIAL_RADIUS*((1-e.ECC_SQUARED/4-e.ECC_SQUARED*e.ECC_SQUARED*3/64-e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED*5/256)*o-(3*e.ECC_SQUARED/8+3*e.ECC_SQUARED*e.ECC_SQUARED/32+45*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/1024)*Math.sin(2*o)+(15*e.ECC_SQUARED*e.ECC_SQUARED/256+45*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/1024)*Math.sin(4*o)-35*e.ECC_SQUARED*e.ECC_SQUARED*e.ECC_SQUARED/3072*Math.sin(6*o)),u=e.k0*d*(f+(1-h+p)*(f*f*f)/6+f*f*f*f*f*(5-18*h+h*h+72*p-58*e.ECC_PRIME_SQUARED)/120)+e.EASTING_OFFSET,(c=e.k0*(b+d*Math.tan(o)*(f*f/2+f*f*f*f*(5-h+9*p+4*p*p)/2+f*f*f*f*f*f*(61-58*h+h*h+600*p-330*e.ECC_PRIME_SQUARED)/720)))<0&&(c+=1e7),m.easting=Math.round(u),m.northing=Math.round(c),m.zoneNumber=r,m.zoneLetter=t.utmLetterDesignator(n),m.hemisphere=n<0?"S":"N",m}return function(l){return e=l,t=t(l),n}})?l.apply(e,i):l)||(t.exports=r)},CjzT:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},Cl5A:function(t,e,n){var l=n("CUme"),i=n("Yvos"),r=n("2UHX");t.exports=c;var o,a=/\n/g,s=/\\n/g;function u(){}function c(t){l.call(this,t),this.query=this.query||{},o||(o=r.___eio=r.___eio||[]),this.index=o.length;var e=this;o.push((function(t){e.onData(t)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){e.script&&(e.script.onerror=u)}),!1)}i(c,l),c.prototype.supportsBinary=!1,c.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),l.prototype.doClose.call(this)},c.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},c.prototype.doWrite=function(t,e){var n=this;if(!this.form){var l,i=document.createElement("form"),r=document.createElement("textarea"),o=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=o,i.method="POST",i.setAttribute("accept-charset","utf-8"),r.name="d",i.appendChild(r),document.body.appendChild(i),this.form=i,this.area=r}function u(){c(),e()}function c(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(t){n.onError("jsonp polling iframe removal error",t)}try{l=document.createElement('<iframe src="javascript:0" name="'+n.iframeId+'">')}catch(t){(l=document.createElement("iframe")).name=n.iframeId,l.src="javascript:0"}l.id=n.iframeId,n.form.appendChild(l),n.iframe=l}this.form.action=this.uri(),c(),t=t.replace(s,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(d){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&u()}:this.iframe.onload=u}},CoRJ:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},Cp04:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("n15R"),i=n("JfHk");function r(t,e,n,r,o,a,s){for(var u,c,d,h,p,f,b,m=o[a+1],g=[],_=0,y=n.length;_<y;++_){var A=n[_];for(h=t[A-r],f=t[A-r+1],u=e;u<A;u+=r)p=t[u],b=t[u+1],(m<=f&&b<=m||f<=m&&m<=b)&&g.push(d=(m-f)/(b-f)*(p-h)+h),h=p,f=b}var v=NaN,C=-1/0;for(g.sort(l.g),h=g[0],u=1,c=g.length;u<c;++u){p=g[u];var w=Math.abs(p-h);w>C&&(d=(h+p)/2,Object(i.c)(t,e,n,r,d,m)&&(v=d,C=w)),h=p}return isNaN(v)&&(v=o[a]),s?(s.push(v,m,C),s):[v,m,C]}function o(t,e,n,l,i){for(var o=[],a=0,s=n.length;a<s;++a){var u=n[a];o=r(t,e,u,l,i,2*a,o),e=u[u.length-1]}return o}},CvXi:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return d})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return p})),n.d(e,"j",(function(){return f})),n.d(e,"k",(function(){return b})),n.d(e,"l",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"n",(function(){return _})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return A})),n.d(e,"q",(function(){return v})),n.d(e,"r",(function(){return C})),n.d(e,"s",(function(){return w})),n.d(e,"t",(function(){return x})),n.d(e,"u",(function(){return S})),n.d(e,"v",(function(){return k})),n.d(e,"w",(function(){return M})),n.d(e,"x",(function(){return O})),n.d(e,"y",(function(){return D})),n.d(e,"z",(function(){return T})),n.d(e,"A",(function(){return E})),n.d(e,"B",(function(){return I})),n.d(e,"C",(function(){return L})),n.d(e,"D",(function(){return j})),n.d(e,"E",(function(){return R})),n.d(e,"F",(function(){return F})),n.d(e,"H",(function(){return N})),n.d(e,"I",(function(){return Y})),n.d(e,"J",(function(){return U})),n.d(e,"G",(function(){return B})),n.d(e,"a",(function(){return z})),n.d(e,"K",(function(){return G}));var l=n("kvpX"),i=n("OCB2"),r=n("BF0p");function o(t){for(var e=[1/0,1/0,-1/0,-1/0],n=0,l=t.length;n<l;++n)C(e,t[n]);return e}function a(t,e,n){return n?(n[0]=t[0]-e,n[1]=t[1]-e,n[2]=t[2]+e,n[3]=t[3]+e,n):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function s(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function u(t,e,n){var l,i;return(l=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*l+(i=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0)*i}function c(t,e){return h(t,e[0],e[1])}function d(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function h(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function p(t,e){var n=e[0],l=e[1],i=r.a.UNKNOWN;return n<t[0]?i|=r.a.LEFT:n>t[2]&&(i|=r.a.RIGHT),l<t[1]?i|=r.a.BELOW:l>t[3]&&(i|=r.a.ABOVE),i===r.a.UNKNOWN&&(i=r.a.INTERSECTING),i}function f(){return[1/0,1/0,-1/0,-1/0]}function b(t,e,n,l,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=l,i):[t,e,n,l]}function m(t){return b(1/0,1/0,-1/0,-1/0,t)}function g(t,e){var n=t[0],l=t[1];return b(n,l,n,l,e)}function _(t,e){return function(t,e){for(var n=0,l=e.length;n<l;++n)C(t,e[n]);return t}(m(e),t)}function y(t,e,n,l,i){return w(m(i),t,e,n,l)}function A(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function v(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function C(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function w(t,e,n,l,i){for(;n<l;n+=i)P(t,e[n],e[n+1]);return t}function P(t,e,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],n),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],n)}function x(t,e){var n;return(n=e(k(t)))||(n=e(M(t)))||(n=e(j(t)))?n:(n=e(L(t)))||!1}function S(t){var e=0;return N(t)||(e=R(t)*E(t)),e}function k(t){return[t[0],t[1]]}function M(t){return[t[2],t[1]]}function O(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function D(t,e){var n;return e===i.a.BOTTOM_LEFT?n=k(t):e===i.a.BOTTOM_RIGHT?n=M(t):e===i.a.TOP_LEFT?n=L(t):e===i.a.TOP_RIGHT?n=j(t):Object(l.a)(!1,13),n}function T(t,e,n,l,i){var r=e*l[0]/2,o=e*l[1]/2,a=Math.cos(n),s=Math.sin(n),u=r*a,c=r*s,d=o*a,h=o*s,p=t[0],f=t[1],m=p-u+h,g=p-u-h,_=p+u-h,y=p+u+h,A=f-c-d,v=f-c+d,C=f+c+d,w=f+c-d;return b(Math.min(m,g,_,y),Math.min(A,v,C,w),Math.max(m,g,_,y),Math.max(A,v,C,w),i)}function E(t){return t[3]-t[1]}function I(t,e,n){var l=n||[1/0,1/0,-1/0,-1/0];return F(t,e)?(l[0]=t[0]>e[0]?t[0]:e[0],l[1]=t[1]>e[1]?t[1]:e[1],l[2]=t[2]<e[2]?t[2]:e[2],l[3]=t[3]<e[3]?t[3]:e[3]):m(l),l}function L(t){return[t[0],t[3]]}function j(t){return[t[2],t[3]]}function R(t){return t[2]-t[0]}function F(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function N(t){return t[2]<t[0]||t[3]<t[1]}function Y(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function U(t,e){var n=(t[2]-t[0])/2*(e-1),l=(t[3]-t[1])/2*(e-1);t[0]-=n,t[2]+=n,t[1]-=l,t[3]+=l}function B(t,e,n){var l=!1,i=p(t,e),o=p(t,n);if(i===r.a.INTERSECTING||o===r.a.INTERSECTING)l=!0;else{var a=t[0],s=t[1],u=t[2],c=t[3],d=n[0],h=n[1],f=(h-e[1])/(d-e[0]),b=void 0,m=void 0;o&r.a.ABOVE&&!(i&r.a.ABOVE)&&(l=(b=d-(h-c)/f)>=a&&b<=u),l||!(o&r.a.RIGHT)||i&r.a.RIGHT||(l=(m=h-(d-u)*f)>=s&&m<=c),l||!(o&r.a.BELOW)||i&r.a.BELOW||(l=(b=d-(h-s)/f)>=a&&b<=u),l||!(o&r.a.LEFT)||i&r.a.LEFT||(l=(m=h-(d-a)*f)>=s&&m<=c)}return l}function z(t,e,n,l){var i=[];if(l>1)for(var r=t[2]-t[0],o=t[3]-t[1],a=0;a<l;++a)i.push(t[0]+r*a/l,t[1],t[2],t[1]+o*a/l,t[2]-r*a/l,t[3],t[0],t[3]-o*a/l);else i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(i,i,2);for(var s=[],u=[],c=(a=0,i.length);a<c;a+=2)s.push(i[a]),u.push(i[a+1]);return function(t,e,n){return b(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(s,u,n)}function G(t,e){var n=e.getExtent(),l=O(t);if(e.canWrapX()&&(l[0]<n[0]||l[0]>=n[2])){var i=R(n),r=Math.floor((l[0]-n[0])/i)*i;t[0]-=r,t[2]-=r}return t}},Cy2j:function(t,e,n){"use strict";var l=n("AdTM");e.a={SINGLECLICK:"singleclick",CLICK:l.a.CLICK,DBLCLICK:l.a.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"D/JM":function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("3N8a");const i=new(n("IjjT").a)(l.a)},D7iV:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.getOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.replaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.deleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.updateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.getManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.createOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot(t){return this.createManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilot$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.ReplaceOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.DeleteOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.UpdateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/{id}",t.GetManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot",t.CreateOneBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot",t.CreateManyBaseNotificationTypeAutopilotControllerNotificationTypeAutopilotPath="/notification_type_autopilot/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return l?i[n][0]:i[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},DRqq:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}queryGridControllerGetGrid$Response(e){const n=new o.a(this.rootUrl,t.QueryGridControllerGetGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}queryGridControllerGetGrid(t){return this.queryGridControllerGetGrid$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.QueryGridControllerGetGridPath="/query-grid",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},DkaU:function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return g})),n.d(e,"b",(function(){return p})),n.d(e,"d",(function(){return f})),n.d(e,"c",(function(){return y})),n.d(e,"g",(function(){return _}));var l=n("8bJo"),i=n("HDdC"),r=n("XNiG"),o=n("2Vo4"),a=n("LRne"),s=(n("IzEk"),n("pLZG"),n("1G5W")),u=(n("8Y7J"),n("KCVW"));class c{constructor(t){this.$implicit=t}}class d{constructor(t){this.template=t}}function h(){return Error("Could not find functions for nested/flat tree in tree control.")}class p{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new r.a,this._levels=new Map,this.viewChange=new o.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){if(this._dataDiffer=this._differs.find([]).create(this.trackBy),!this.treeControl)throw Error("Could not find a tree control for the tree.")}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(t=>!t.when);if(t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;if(Object(l.e)(this._dataSource)?t=this._dataSource.connect(this):this._dataSource instanceof i.a?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(a.a)(this._dataSource)),!t)throw Error("A valid data source must be provided.");this._dataSubscription=t.pipe(Object(s.a)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,l){const i=e.diff(t);i&&(i.forEachOperation((e,i,r)=>{if(null==e.previousIndex)this.insertNode(t[r],r,n,l);else if(null==r)n.remove(i),this._levels.delete(e.item);else{const t=n.get(i);n.move(t,r)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){if(1===this._nodeDefs.length)return this._nodeDefs.first;const n=this._nodeDefs.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef;if(!n)throw Error("Could not find a matching node definition for the provided node data.");return n}insertNode(t,e,n,l){const i=this._getNodeDef(t,e),r=new c(t);r.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==l&&this._levels.has(l)?this._levels.get(l)+1:0,this._levels.set(t,r.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(i.template,r,e),f.mostRecentTreeNode&&(f.mostRecentTreeNode.data=t)}}let f=(()=>{class t{constructor(e,n){this._elementRef=e,this._tree=n,this._destroyed=new r.a,this._dataChanges=new r.a,this.role="treeitem",t.mostRecentTreeNode=this}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw h();const t=this._tree.treeControl.getChildren(this._data);Array.isArray(t)?this._setRoleFromChildren(t):t instanceof i.a&&t.pipe(Object(s.a)(this._destroyed)).subscribe(t=>this._setRoleFromChildren(t))}}_setRoleFromChildren(t){this.role=t&&t.length?"group":"treeitem"}}return t.mostRecentTreeNode=null,t})();class b extends f{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this._differs=n}ngAfterContentInit(){if(this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),!this._tree.treeControl.getChildren)throw h();const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):t instanceof i.a&&t.pipe(Object(s.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(s.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}const m=/([A-Za-z%]+)$/;class g{constructor(t,e,n,l,i){this._treeNode=t,this._tree=e,this._renderer=n,this._element=l,this._dir=i,this._destroyed=new r.a,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Object(s.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._level=Object(u.f)(t,null),this._setPadding()}get indent(){return this._indent}set indent(t){let e=t,n="px";if("string"==typeof t){const l=t.split(m);e=l[0],n=l[1]||n}this.indentUnits=n,this._indent=Object(u.f)(e),this._setPadding()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",l="paddingLeft"===n?"paddingRight":"paddingLeft";this._renderer.setStyle(t,n,e),this._renderer.setStyle(t,l,null),this._currentPadding=e}}}class _{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=Object(u.c)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}class y{}},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmnv:function(t,e,n){"use strict";var l=n("EwAT"),i=n("6Y3p"),r=n("CvXi");function o(t,e,n,l,i){var r,o,a,s,u,c,d,h,p,f=n,b=n,m=0,g=0,_=n;for(r=n;r<l;r+=i){var y=e[r],A=e[r+1];void 0!==s&&(h=y-s,p=A-u,a=Math.sqrt(h*h+p*p),void 0!==c&&(g+=o,Math.acos((c*h+d*p)/(o*a))>t&&(g>m&&(m=g,f=_,b=r),g=0,_=r-i)),o=a,c=h,d=p),s=y,u=A}return(g+=a)>m?[_,r]:[f,b]}var a=n("9iPr"),s=n("3er3"),u=n("ZXPP"),c=n("3TKY"),d=n("KfZV");n.d(e,"a",(function(){return f}));var h,p=(h=function(t,e){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},b=function(t){function e(e,n,l,i){var r=t.call(this,e,n,l,i)||this;return r.labels_=null,r.text_="",r.textOffsetX_=0,r.textOffsetY_=0,r.textRotateWithView_=void 0,r.textRotation_=0,r.textFillState_=null,r.fillStates={},r.textStrokeState_=null,r.strokeStates={},r.textState_={},r.textStates={},r.textKey_="",r.fillKey_="",r.strokeKey_="",r}return p(e,t),e.prototype.finish=function(){var e=t.prototype.finish.call(this);return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e},e.prototype.drawText=function(t,e){var n=this.textState_;if(""!==this.text_&&n&&(this.textFillState_||this.textStrokeState_)){var l,i,c=this.coordinates.length,h=t.getType(),p=null,f=2,b=2;if(n.placement===d.a.LINE){if(!Object(r.F)(this.getBufferedMaxExtent(),t.getExtent()))return;var m=void 0;if(p=t.getFlatCoordinates(),b=t.getStride(),h==a.a.LINE_STRING)m=[p.length];else if(h==a.a.MULTI_LINE_STRING)m=t.getEnds();else if(h==a.a.POLYGON)m=t.getEnds().slice(0,1);else if(h==a.a.MULTI_POLYGON){var g=t.getEndss();for(m=[],l=0,i=g.length;l<i;++l)m.push(g[l][0])}this.beginGeometry(t,e);for(var _=n.textAlign,y=0,A=void 0,v=0,C=m.length;v<C;++v){if(null==_){var w=o(n.maxAngle,p,y,m[v],b);y=w[0],A=w[1]}else A=m[v];for(l=y;l<A;l+=b)this.coordinates.push(p[l],p[l+1]);f=this.coordinates.length,y=m[v];var P=this.declutterGroups_?0===v?this.declutterGroups_[0]:[].concat(this.declutterGroups_[0]):null;this.drawChars_(c,f,P),c=f}this.endGeometry(e)}else{var x=null;switch(n.overflow||(x=[]),h){case a.a.POINT:case a.a.MULTI_POINT:f=(p=t.getFlatCoordinates()).length;break;case a.a.LINE_STRING:p=t.getFlatMidpoint();break;case a.a.CIRCLE:p=t.getCenter();break;case a.a.MULTI_LINE_STRING:f=(p=t.getFlatMidpoints()).length;break;case a.a.POLYGON:p=t.getFlatInteriorPoint(),n.overflow||x.push(p[2]/this.resolution),b=3;break;case a.a.MULTI_POLYGON:var S=t.getFlatInteriorPoints();for(p=[],l=0,i=S.length;l<i;l+=3)n.overflow||x.push(S[l+2]/this.resolution),p.push(S[l],S[l+1]);if(0==(f=p.length))return}f=this.appendFlatCoordinates(p,0,f,b,!1,!1),this.saveTextStates_(),(n.backgroundFill||n.backgroundStroke)&&(this.setFillStrokeStyle(n.backgroundFill,n.backgroundStroke),n.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),n.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);var k=this.pixelRatio;this.instructions.push([u.c.DRAW_IMAGE,c,f,null,NaN,NaN,this.declutterGroups_,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,1,NaN,n.padding==s.k?s.k:n.padding.map((function(t){return t*k})),!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,x]),this.hitDetectionInstructions.push([u.c.DRAW_IMAGE,c,f,null,NaN,NaN,this.declutterGroups_,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,1/this.pixelRatio,NaN,n.padding,!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,x]),this.endGeometry(e)}}},e.prototype.saveTextStates_=function(){var t=this.textStrokeState_,e=this.textState_,n=this.textFillState_,l=this.strokeKey_;t&&(l in this.strokeStates||(this.strokeStates[l]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));var i=this.textKey_;i in this.textStates||(this.textStates[i]={font:e.font,textAlign:e.textAlign||s.m,textBaseline:e.textBaseline||s.n,scale:e.scale});var r=this.fillKey_;n&&(r in this.fillStates||(this.fillStates[r]={fillStyle:n.fillStyle}))},e.prototype.drawChars_=function(t,e,n){var l=this.textStrokeState_,i=this.textState_,r=this.strokeKey_,o=this.textKey_,a=this.fillKey_;this.saveTextStates_();var s=this.pixelRatio,c=f[i.textBaseline],d=this.textOffsetY_*s,h=this.text_,p=l?l.lineWidth*i.scale/2:0;this.instructions.push([u.c.DRAW_CHARS,t,e,c,n,i.overflow,a,i.maxAngle,s,d,r,p*s,h,o,1]),this.hitDetectionInstructions.push([u.c.DRAW_CHARS,t,e,c,n,i.overflow,a,i.maxAngle,1,d,r,p,h,o,1/s])},e.prototype.setTextStyle=function(t,e){var n,r,o;if(t){this.declutterGroups_=e;var a=t.getFill();a?((r=this.textFillState_)||(this.textFillState_=r={}),r.fillStyle=Object(i.a)(a.getColor()||s.c)):this.textFillState_=r=null;var u=t.getStroke();if(u){(o=this.textStrokeState_)||(this.textStrokeState_=o={});var c=u.getLineDash(),d=u.getLineDashOffset(),h=u.getWidth(),p=u.getMiterLimit();o.lineCap=u.getLineCap()||s.e,o.lineDash=c?c.slice():s.f,o.lineDashOffset=void 0===d?s.g:d,o.lineJoin=u.getLineJoin()||s.h,o.lineWidth=void 0===h?s.i:h,o.miterLimit=void 0===p?s.j:p,o.strokeStyle=Object(i.a)(u.getColor()||s.l)}else this.textStrokeState_=o=null;n=this.textState_;var f=t.getFont()||s.d;Object(s.t)(f);var b=t.getScale();n.overflow=t.getOverflow(),n.font=f,n.maxAngle=t.getMaxAngle(),n.placement=t.getPlacement(),n.textAlign=t.getTextAlign(),n.textBaseline=t.getTextBaseline()||s.n,n.backgroundFill=t.getBackgroundFill(),n.backgroundStroke=t.getBackgroundStroke(),n.padding=t.getPadding()||s.k,n.scale=void 0===b?1:b;var m=t.getOffsetX(),g=t.getOffsetY(),_=t.getRotateWithView(),y=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===m?0:m,this.textOffsetY_=void 0===g?0:g,this.textRotateWithView_=void 0!==_&&_,this.textRotation_=void 0===y?0:y,this.strokeKey_=o?("string"==typeof o.strokeStyle?o.strokeStyle:Object(l.c)(o.strokeStyle))+o.lineCap+o.lineDashOffset+"|"+o.lineWidth+o.lineJoin+o.miterLimit+"["+o.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?")+(n.textBaseline||"?"),this.fillKey_=r?"string"==typeof r.fillStyle?r.fillStyle:"|"+Object(l.c)(r.fillStyle):""}else this.text_=""},e}(c.a);e.b=b},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};t.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(t){return"\xf6s"===t||"\xd6S"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var l=t%10;return t+(e[l]||e[t%100-l]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DsAt:function(t,e,n){"use strict";var l,i=n("2lwS"),r=n("V8uu"),o=n("zvco"),a=n("OPOH"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this;return n.eventTarget_=e,n.pendingRemovals_={},n.dispatching_={},n.listeners_={},n}return s(e,t),e.prototype.addEventListener=function(t,e){if(t&&e){var n=this.listeners_[t];n||(this.listeners_[t]=n=[]),-1===n.indexOf(e)&&n.push(e)}},e.prototype.dispatchEvent=function(t){var e="string"==typeof t?new o.a(t):t,n=e.type;e.target||(e.target=this.eventTarget_||this);var l,i=this.listeners_[n];if(i){n in this.dispatching_||(this.dispatching_[n]=0,this.pendingRemovals_[n]=0),++this.dispatching_[n];for(var a=0,s=i.length;a<s;++a)if(!1===(l="handleEvent"in i[a]?i[a].handleEvent(e):i[a].call(this,e))||e.propagationStopped){l=!1;break}if(--this.dispatching_[n],0===this.dispatching_[n]){var u=this.pendingRemovals_[n];for(delete this.pendingRemovals_[n];u--;)this.removeEventListener(n,r.c);delete this.dispatching_[n]}return l}},e.prototype.disposeInternal=function(){Object(a.b)(this.listeners_)},e.prototype.getListeners=function(t){return this.listeners_[t]},e.prototype.hasListener=function(t){return t?t in this.listeners_:Object.keys(this.listeners_).length>0},e.prototype.removeEventListener=function(t,e){var n=this.listeners_[t];if(n){var l=n.indexOf(e);-1!==l&&(t in this.pendingRemovals_?(n[l]=r.c,++this.pendingRemovals_[t]):(n.splice(l,1),0===n.length&&delete this.listeners_[t]))}},e}(i.a);e.a=u},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},"E/wX":function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("SVse"),a=n("Xd0L"),s=n("drqP"),u=n("svHU"),c=n("DRqq"),d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(2,[],null,null)}var p=n("Ca9r"),f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[],null,null)}var m=n("Zime"),g=l.Bb({encapsulation:2,styles:[],data:{}});function _(t){return l.Yb(2,[],null,null)}var y=n("b5bK"),A=l.Bb({encapsulation:2,styles:[],data:{}});function v(t){return l.Yb(2,[],null,null)}var C=n("Fi3X"),w=l.Bb({encapsulation:2,styles:[],data:{}});function P(t){return l.Yb(2,[l.Ub(402653184,1,{populationComponent:0}),l.Ub(402653184,2,{topographyComponent:0}),(t()(),l.Db(2,0,null,null,1,"trajectory-population",[["groupLayer","Trajectory"],["visibility","true"],["zIndex","300"]],null,null,null,_,g)),l.Cb(3,245760,[[1,4]],0,m.a,[u.a],{visibility:[0,"visibility"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"]},null),(t()(),l.Db(4,0,null,null,1,"trajectory-topography",[["groupLayer","Trajectory"],["visibility","true"],["zIndex","300"]],null,null,null,v,A)),l.Cb(5,245760,[[2,4]],0,y.a,[u.a],{visibility:[0,"visibility"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"]},null)],(function(t,e){t(e,3,0,"true","300","Trajectory"),t(e,5,0,"true","300","Trajectory")}),null)}var x=n("Hqo4"),S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(2,[l.Ub(402653184,1,{pivComponent:0}),l.Ub(402653184,2,{gridComponent:0}),l.Ub(402653184,3,{hexMapComponent:0}),(t()(),l.Db(3,0,null,null,1,"trajectory-piv",[["groupLayer","Trajectory"],["name","trajectory-intersect-piv"],["visibility","true"],["zIndex","300"]],null,null,null,h,d)),l.Cb(4,245760,[[1,4]],0,s.a,[u.a,c.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(5,0,null,null,1,"trajectory-hex-map",[["groupLayer","Trajectory"],["name","trajectory-space-time-grid"],["visibility","true"],["zIndex","300"]],null,null,null,b,f)),l.Cb(6,245760,[[3,4]],0,p.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(7,0,null,null,1,"trajectory-grid",[["groupLayer","Trajectory"],["name","trajectory-cells"],["visibility","true"],["zIndex","300"]],null,null,null,P,w)),l.Cb(8,4440064,[[2,4]],0,C.a,[l.j,c.a],null,null)],(function(t,e){t(e,4,0,"trajectory-intersect-piv","true","300","Trajectory"),t(e,6,0,"trajectory-space-time-grid","true","300","Trajectory"),t(e,8,0)}),null)}var M=n("ZF9u"),O=l.Bb({encapsulation:2,styles:[],data:{}});function D(t){return l.Yb(2,[],null,null)}n("F2y6"),n("7/LY"),n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return U}));var T=l.Bb({encapsulation:0,styles:[[".trajectory-conponent[_ngcontent-%COMP%]{left:0;width:100%;background-color:#fff;border-top:1px solid #ddd;padding:10px 0;max-height:500px;overflow:auto}.trajectory-conponent[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;font-size:25px}.trajectory-conponent[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%]{width:100%;padding:0 10px;display:flex;align-items:center}.trajectory-conponent[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding-left:5px;cursor:pointer}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .piv-title[_ngcontent-%COMP%]{display:inline-flex}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .piv-title[_ngcontent-%COMP%] .piv-title-separator[_ngcontent-%COMP%]{padding-left:2px;padding-right:2px}.trajectory-conponent[_ngcontent-%COMP%] .pivList[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%]{float:left;color:var(--ion-color-primary);background-color:transparent;font-size:25px}"]],data:{}});function E(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","eye"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"eye")}),null)}function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","eye-off"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"eye-off")}),null)}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"a",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=0!=(t.component.viewPiv=!0)&&l),l}),null,null)),(t()(),l.Wb(-1,null,["view more"]))],null,null)}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.sectorComponent.toggleComponent(t.context.$implicit.key,i.aircraft)&&l),l}),i.u,i.c)),l.Cb(2,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,E)),l.Cb(4,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,I)),l.Cb(6,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(7,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(8,16384,null,0,a.o,[],null,null),(t()(),l.Wb(9,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(11,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"outline"),t(e,4,0,e.context.$implicit.value),t(e,6,0,!e.context.$implicit.value),t(e,11,0,"piv"==e.context.$implicit.key&&1==e.context.$implicit.value)}),(function(t,e){t(e,9,0,e.context.$implicit.key)}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,j)),l.Cb(2,278528,null,0,o.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,o.h,[l.z])],(function(t,e){var n=e.component;t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(n.sectorComponent.activeComponents)))}),null)}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"ion-item",[["style","padding:0px !important;"]],null,null,null,i.z,i.h)),l.Cb(1,49152,null,0,r.F,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,18,"ion-label",[["class","ion-text-wrap"],["style","margin:0px !important;"]],null,null,null,i.A,i.i)),l.Cb(3,49152,null,0,r.L,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,12,"div",[["class","piv-title"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,3,"ion-text",[["color","primary"]],null,null,null,i.H,i.p)),l.Cb(6,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(7,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(8,null,[""," km"])),(t()(),l.Db(9,0,null,null,3,"ion-text",[["class","piv-title-separator"],["color","primary"]],null,null,null,i.H,i.p)),l.Cb(10,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(11,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["|"])),(t()(),l.Db(13,0,null,null,3,"ion-text",[["color","primary"]],null,null,null,i.H,i.p)),l.Cb(14,49152,null,0,r.vb,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(15,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(16,null,["",""])),(t()(),l.Db(17,0,null,0,3,"ion-text",[],null,null,null,i.H,i.p)),l.Cb(18,49152,null,0,r.vb,[l.j,l.p,l.G],null,null),(t()(),l.Db(19,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(20,null,["",""]))],(function(t,e){t(e,6,0,"primary"),t(e,10,0,"primary"),t(e,14,0,"primary")}),(function(t,e){t(e,8,0,e.context.$implicit.distanceRounded),t(e,16,0,e.context.$implicit.type),t(e,20,0,e.context.$implicit.name)}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","pivList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["class","back-button"],["name","arrow-back"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=0!=(t.component.viewPiv=!1)&&l),l}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(3,0,null,null,3,"ion-list",[["class","expansion-body"]],null,null,null,i.B,i.j)),l.Cb(4,49152,null,0,r.M,[l.j,l.p,l.G],null,null),(t()(),l.sb(16777216,null,0,1,null,F)),l.Cb(6,278528,null,0,o.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"arrow-back"),t(e,6,0,n.getPivs())}),null)}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","trajectory-conponent"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,R)),l.Cb(2,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(4,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,!n.viewPiv),t(e,4,0,n.viewPiv)}),null)}function U(t){return l.Yb(2,[l.Ub(402653184,1,{sectorComponent:0}),l.Ub(402653184,2,{lineComponent:0}),(t()(),l.Db(2,0,null,null,1,"trajectory-sector",[["groupLayer","Trajectory"],["name","trajectory-sector"],["visibility","true"],["zIndex","300"]],null,null,null,k,S)),l.Cb(3,4440064,[[1,4]],0,x.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.Db(4,0,null,null,1,"trajectory-line",[["groupLayer","Trajectory"],["name","trajectory-line"],["visibility","true"],["zIndex","300"]],null,null,null,D,O)),l.Cb(5,245760,[[2,4]],0,M.a,[u.a],{name:[0,"name"],visibility:[1,"visibility"],zIndex:[2,"zIndex"],groupLayer:[3,"groupLayer"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(7,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,"trajectory-sector","true","300","Trajectory"),t(e,5,0,"trajectory-line","true","300","Trajectory"),t(e,7,0,n.sectorIsRunning)}),null)}},E35u:function(t,e,n){"use strict";var l,i=n("CvXi"),r=n("CZmH"),o=n("MzMb"),a=n("Bw0W"),s=n("3er3"),u=n("+vTz"),c=n("qJZF"),d=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e){var n=t.call(this,e)||this;return n.container=null,n.tempTransform_=Object(c.c)(),n.pixelTransform=Object(c.c)(),n.inversePixelTransform=Object(c.c)(),n.context=null,n.containerReused=!1,n}return d(e,t),e.prototype.useContainer=function(t,e,n){var l,i,o=this.getLayer().getClassName();if(t&&""===t.style.opacity&&t.className===o&&(a=t.firstElementChild)instanceof HTMLCanvasElement&&(i=a.getContext("2d")),i&&i.canvas.style.transform===e?(this.container=t,this.context=i,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){(l=document.createElement("div")).className=o;var a,s=l.style;s.position="absolute",s.width="100%",s.height="100%",i=Object(r.a)(),l.appendChild(a=i.canvas),(s=a.style).position="absolute",s.left="0",s.transformOrigin="top left",this.container=l,this.context=i}},e.prototype.clip=function(t,e,n){var l=e.pixelRatio,r=e.size[0]*l/2,o=e.size[1]*l/2,a=e.viewState.rotation,u=Object(i.C)(n),d=Object(i.D)(n),h=Object(i.w)(n),p=Object(i.v)(n);Object(c.a)(e.coordinateToPixelTransform,u),Object(c.a)(e.coordinateToPixelTransform,d),Object(c.a)(e.coordinateToPixelTransform,h),Object(c.a)(e.coordinateToPixelTransform,p),t.save(),Object(s.u)(t,-a,r,o),t.beginPath(),t.moveTo(u[0]*l,u[1]*l),t.lineTo(d[0]*l,d[1]*l),t.lineTo(h[0]*l,h[1]*l),t.lineTo(p[0]*l,p[1]*l),t.clip(),Object(s.u)(t,a,r,o)},e.prototype.clipUnrotated=function(t,e,n){var l=Object(i.C)(n),r=Object(i.D)(n),o=Object(i.w)(n),a=Object(i.v)(n);Object(c.a)(e.coordinateToPixelTransform,l),Object(c.a)(e.coordinateToPixelTransform,r),Object(c.a)(e.coordinateToPixelTransform,o),Object(c.a)(e.coordinateToPixelTransform,a);var s=this.inversePixelTransform;Object(c.a)(s,l),Object(c.a)(s,r),Object(c.a)(s,o),Object(c.a)(s,a),t.save(),t.beginPath(),t.moveTo(Math.round(l[0]),Math.round(l[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()},e.prototype.dispatchRenderEvent_=function(t,e,n){var l=this.getLayer();if(l.hasListener(t)){var i=new o.a(t,this.inversePixelTransform,n,e);l.dispatchEvent(i)}},e.prototype.preRender=function(t,e){this.dispatchRenderEvent_(a.a.PRERENDER,t,e)},e.prototype.postRender=function(t,e){this.dispatchRenderEvent_(a.a.POSTRENDER,t,e)},e.prototype.getRenderTransform=function(t,e,n,l,i,r,o){var a=i/2,s=r/2,u=l/e,d=-u,h=-t[0]+o,p=-t[1];return Object(c.b)(this.tempTransform_,a,s,u,d,-n,h,p)},e.prototype.getDataAtPixel=function(t,e,n){var l,i=Object(c.a)(this.inversePixelTransform,t.slice()),r=this.context;try{l=r.getImageData(Math.round(i[0]),Math.round(i[1]),1,1).data}catch(o){return"SecurityError"===o.name?new Uint8Array:l}return 0===l[3]?null:l},e}(u.a);e.a=h},EDvw:function(t,e,n){"use strict";var l=n("TN97"),i=n("9ANI"),r=n("JW8z"),o=n("7/LY"),a=n("bHcU"),s=n("bL/2");function u(t){var e={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};let n;if(void 0!==e[t.toLowerCase()]&&(t=e[t.toLowerCase()]),/^#([A-Fa-f0-9]{3}){1,2}$/.test(t))return n=t.substring(1).split(""),3==n.length&&(n=[n[0],n[0],n[1],n[1],n[2],n[2]]),n="0x"+n.join(""),[n>>16&255,n>>8&255,255&n,1];throw new Error("Bad hexColor:"+t)}n.d(e,"a",(function(){return d}));const c={White:u("#ffffff"),GreyLight:u("#a9a9a9"),DarkGreen:u("#6b8e23"),LightGreen:u("#9acd32"),DarkRed:u("#8b0000"),LightRed:u("#ff6347"),Blue:u("#0000ff"),Yellow:u("#ffff00"),Orange:u("#ffa500")};class d extends l.a{constructor(t,e,n){super({geometry:new i.a(Object(r.d)([t.longitude,t.latitude]))}),this.status=[],super.setId(t.icao),this.aircraft=t,this.settingService=e,this.setColor(),this.setIconEntity(n.getIconEntity(t.iconName)),this.setOlStyleAircraft(),this.aircraft.iconNameSubject.subscribe(t=>{this.setIconEntity(n.getIconEntity(t)),this.setOlStyleAircraft()})}setIconEntity(t){super.set("icon",t)}setOlStyleAircraft(){const t="balloon"===this.aircraft.iconName?0:this.aircraft.track*Math.PI/180,e=super.get("icon");let n;n=(this.status.indexOf(o.a.WATCH)>=0||this.status.indexOf(o.a.SELECT)>=0)&&this.status.indexOf(o.a.HOVER)>=0?this.getOlStyleAircraftHighLight(t,e.bufferInBase64):this.getOlStyleAircraft(t,e.bufferInBase64),super.setStyle(n)}getOlStyleAircraft(t,e){return new a.b({image:new s.a({color:super.get("color"),rotation:t,anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",src:"data:image/png;base64,"+e,scale:.4})})}getOlStyleAircraftHighLight(t,e){const n=new Image;n.src="data:image/png;base64,"+e;const l=document.createElement("canvas"),i=l.getContext("2d");i.drawImage(n,0,0,n.width,n.height);const r=[-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1];l.width=n.width+2+2,l.height=n.height+2+2;let o=0;for(o=0;o<r.length;o+=2)i.drawImage(n,2+2*r[o],2+2*r[o+1]);i.globalCompositeOperation="source-in",i.fillStyle="red",i.fillRect(0,0,l.width,l.height),i.globalCompositeOperation="source-over",i.drawImage(n,2,2,n.width,n.height),i.globalCompositeOperation="multiply";const u=i.getImageData(0,0,l.width,l.height),c=u.data,d=super.get("color"),h=[d[0]/255,d[1]/255,d[2]/255,d[3]];for(let a=0,s=c.length;a<s;a+=4)c[a]*=h[0],c[a+1]*=h[1],c[a+2]*=h[2],c[a+3]*=h[3];return i.putImageData(u,0,0),new a.b({image:new s.a({rotation:t,crossOrigin:"anonymous",src:void 0,img:l,imgSize:l?[l.width,l.height]:void 0,anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",scale:.4})})}setGeo(){super.setGeometry(new i.a(Object(r.d)([this.aircraft.longitude,this.aircraft.latitude]))),super.getStyle().getImage().setRotation(this.aircraft.track*Math.PI/180)}getStatus(){return this.status}setStatus(t){this.status=t}getAircraft(){return this.aircraft}setAircraft(t){this.aircraft=t}getColor(){return super.get("color")}setColor(){super.set("color",c.White);const t=this.settingService.getColorAircraftLists();this.setColorByList(t),(this.status.indexOf(o.a.WATCH)>=0||this.status.indexOf(o.a.SELECT)>=0)&&super.set("color",c.Yellow)}setColorByList(t){if(t&&Array.isArray(t))for(const e of t)if(this.matchWithFleet(e.fleet)){const t=u(e.color);return void super.set("color",t)}}matchWithFleet(t){if(t&&t.fleetItems&&Array.isArray(t.fleetItems)){if("||"===t.logicalOperator)return t.fleetItems.some(t=>this.matchWithFleetItem(t));if("&&"===t.logicalOperator)return t.fleetItems.every(t=>this.matchWithFleetItem(t))}return!1}matchWithFleetItem(t){if("mlat"===t.field){const e=Array.isArray(this.aircraft.mlat)&&this.aircraft.mlat.length>0;return"true"===t.value?e:!e}return"military"===t.field?"true"===t.value?!0===this.aircraft.military:!0!==this.aircraft.military:"eq"===t.operator&&this.aircraft[t.field]?this.aircraft[t.field]===t.value:!("cont"!==t.operator||!this.aircraft[t.field])&&String(this.aircraft[t.field]).includes(t.value)}}},EFbT:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseEngineControllerEnginePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseEngineControllerEngine(t){return this.getOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseEngineControllerEnginePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseEngineControllerEngine(t){return this.replaceOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseEngineControllerEnginePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseEngineControllerEngine(t){return this.deleteOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseEngineControllerEnginePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseEngineControllerEngine(t){return this.updateOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseEngineControllerEnginePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseEngineControllerEngine(t){return this.getManyBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseEngineControllerEnginePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseEngineControllerEngine(t){return this.createOneBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseEngineControllerEngine$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseEngineControllerEnginePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseEngineControllerEngine(t){return this.createManyBaseEngineControllerEngine$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseEngineControllerEnginePath="/engine/{id}",t.ReplaceOneBaseEngineControllerEnginePath="/engine/{id}",t.DeleteOneBaseEngineControllerEnginePath="/engine/{id}",t.UpdateOneBaseEngineControllerEnginePath="/engine/{id}",t.GetManyBaseEngineControllerEnginePath="/engine",t.CreateOneBaseEngineControllerEnginePath="/engine",t.CreateManyBaseEngineControllerEnginePath="/engine/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("HDdC");const i=new l.a(t=>t.complete());function r(t){return t?function(t){return new l.a(e=>t.schedule(()=>e.complete()))}(t):i}},Eef3:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("SVse"),a=n("Mc5n"),s=n("IP0z"),u=n("s6ns"),c=n("ek9U"),d=n("978D");n.d(e,"a",(function(){return _}));var h=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}#control-replay[_ngcontent-%COMP%]{width:100%;padding:10px;margin-top:-14px;text-align:center}#control-replay[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--ion-color-primary);background-color:transparent;font-size:25px;align-self:baseline}#control-replay[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--ion-color-primary);margin:0}#control-replay[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}#control-replay[_ngcontent-%COMP%] .center[_ngcontent-%COMP%]{text-align:center}"]],data:{}});function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","play"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"play")}),null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","pause"]],null,null,null,i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"pause")}),null)}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,29,"div",[["id","control-replay"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,28,"div",[["class","center"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,12,"div",[],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(1)&&l),l}),i.u,i.c)),l.Cb(4,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x1"])),(t()(),l.Db(6,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(4)&&l),l}),i.u,i.c)),l.Cb(7,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x4"])),(t()(),l.Db(9,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(8)&&l),l}),i.u,i.c)),l.Cb(10,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x8"])),(t()(),l.Db(12,0,null,null,2,"ion-button",[["size","small"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.setSpeed(16)&&l),l}),i.u,i.c)),l.Cb(13,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"],size:[1,"size"]},null),(t()(),l.Wb(-1,0,["x16"])),(t()(),l.Db(15,0,null,null,14,"div",[["class","center"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,3,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.previousReplay()&&l),l}),i.u,i.c)),l.Cb(17,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.Db(18,0,null,0,1,"ion-icon",[["name","rewind"]],null,null,null,i.y,i.g)),l.Cb(19,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(20,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.togglePlaying()&&l),l}),i.u,i.c)),l.Cb(21,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,p)),l.Cb(23,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,f)),l.Cb(25,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(26,0,null,null,3,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.timeService.nextReplay()&&l),l}),i.u,i.c)),l.Cb(27,49152,null,0,r.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.Db(28,0,null,0,1,"ion-icon",[["name","fastforward"]],null,null,null,i.y,i.g)),l.Cb(29,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,4,0,l.Hb(1,"",1==n.timeService.speed?"solid":"outline",""),"small"),t(e,7,0,l.Hb(1,"",4==n.timeService.speed?"solid":"outline",""),"small"),t(e,10,0,l.Hb(1,"",8==n.timeService.speed?"solid":"outline",""),"small"),t(e,13,0,l.Hb(1,"",16==n.timeService.speed?"solid":"outline",""),"small"),t(e,17,0,"outline"),t(e,19,0,"rewind"),t(e,21,0,"outline"),t(e,23,0,!n.timeService.isPlayingReplay()),t(e,25,0,n.timeService.isPlayingReplay()),t(e,27,0,"outline"),t(e,29,0,"fastforward")}),null)}function m(t){return l.Yb(0,[l.Qb(0,o.e,[l.A]),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(3,16777216,null,null,9,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","replay-controllers"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(4,4866048,null,3,a.c,[l.p,[3,a.b],o.d,l.G,l.Y,a.a,[2,s.b],a.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,a.l,null,[a.c]),l.Cb(9,147456,[[1,4]],0,a.d,[l.p,[2,a.l]],null,null),l.Cb(10,81920,null,0,u.m,[[2,u.l],l.p,u.e],{id:[0,"id"]},null),(t()(),l.Wb(11,null,["",""])),l.Sb(12,3),(t()(),l.Db(13,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(14,16384,null,0,u.j,[],null,null),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(16,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"close"),t(e,4,0,".cdk-overlay-pane"),t(e,10,0,"replay-controllers"),t(e,16,0,n.timeService.getDateReplay())}),(function(t,e){var n=e.component;t(e,3,0,l.Pb(e,4).disabled,l.Pb(e,4)._dragRef.isDragging(),l.Pb(e,10).id);var i=l.Xb(e,11,0,t(e,12,0,l.Pb(e,0),n.timeService.getDateReplay(),"EEE d, LLL M, yyyy, HH:mm:ss","utc"));t(e,11,0,i)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"control-replay-dialog",[],null,null,null,m,h)),l.Cb(1,114688,null,0,c.a,[u.l,u.a,d.b],null,null)],(function(t,e){t(e,1,0)}),null)}var _=l.zb("control-replay-dialog",c.a,g,{},{},[])},EwAT:function(t,e,n){"use strict";function l(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var i=0;function r(t){return t.ol_uid||(t.ol_uid=String(++i))}var o="6.3.1"},F2y6:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("svHU");var l=n("7/LY");n("Hqo4"),n("ZF9u");class i{constructor(t,e,n){this.ref=t,this.mapService=e,this.selectAircraftService=n,this.seuilDeltaVsi=-100,this.minuteToExtrapole=30,this.extrapolate=void 0,this.subscription={},this.aircraft=void 0,this.lineIsRunning=!1,this.sectorIsRunning=!1,this.viewPiv=!1}ngOnInit(){}ngAfterViewInit(){this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.aircraftSelectRefresh(t)});const t=this.selectAircraftService.getAircraftSelected();this.aircraftSelectRefresh(t),this.ref.detectChanges()}ngOnDestroy(){this.mapService.removeGroup("Trajectory");for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe();this.sectorComponent.removeSector(),this.lineComponent.removeLine()}getPivs(){return this.sectorComponent.pivComponent.pivs}aircraftSelectRefresh(t){this.selectAircraftService.aircraftIsSelected(t.aircraft)&&(t.haveStatus(l.a.TRAJECTORY_LINE)||t.haveStatus(l.a.TRAJECTORY))&&(this.aircraft=t.aircraft,this.extrapolate=this.getExtrapolate()),this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(l.a.TRAJECTORY_LINE)?(this.extrapolate.distance>0&&this.lineComponent.displayLine(this.aircraft,this.extrapolate),this.lineIsRunning=!0):!0===this.lineIsRunning&&this.aircraft&&this.aircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.TRAJECTORY_LINE)&&(this.lineIsRunning=!1,this.lineComponent.removeLine(),this.removeAircraftIfSectorLineIsNotSelected()),this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(l.a.TRAJECTORY)?(this.extrapolate.distance>0&&this.sectorComponent.displaySector(this.aircraft,this.extrapolate),this.sectorIsRunning=!0):this.aircraft&&this.aircraft.icao===t.aircraft.icao&&!t.haveStatus(l.a.TRAJECTORY)&&1==this.sectorIsRunning&&(this.sectorIsRunning=!1,this.sectorComponent.removeSector(),this.removeAircraftIfSectorLineIsNotSelected())}removeAircraftIfSectorLineIsNotSelected(){this.lineIsRunning||this.sectorIsRunning||(this.aircraft=void 0)}getExtrapolate(){const t=this.kilometersPerHourToMetersPerMinute(this.knotsTokilometersPerHour(this.aircraft.speed||300))/1e3,e={distance:t*(1.085*this.minuteToExtrapole),isDescent:!1},n=this.getAvgVsi();if(n<this.seuilDeltaVsi){const l=this.aircraft.altitude/-n;null!==l&&l<this.minuteToExtrapole&&(e.isDescent=!0,e.distance=t*l)}return e}getAvgVsi(t=5){let e=0;if(this.aircraft.trace.positions.length>t){const n=this.aircraft.trace.positions[this.aircraft.trace.positions.length-1],l=this.aircraft.trace.positions[this.aircraft.trace.positions.length-t];e=(n.altitude-l.altitude)/((n.updatedAt-l.updatedAt)/1e3/60)}return e}knotsTokilometersPerHour(t){return 1.852*t}kilometersPerHourToMetersPerMinute(t){return t/.06}}},F3fN:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{transform(t){return t?t<5e3?t.toString()+"Ft":"FL"+(t/=100).toFixed(0).toString():""}}},F8Ro:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("oeKZ"),n("qToJ");var l=n("vDCU");class i{constructor(t,e,n,i){this.dialogRef=t,this.data=e,this.settingService=n,this.keycloakService=i,this.onSelect=l.a,this.userRoles=[],this.currentPage="menuFilter",this.currentColorFilter=void 0,this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}ngOnInit(){}closeModal(){this.settingService.loadSettings(),this.dialogRef.close()}openColorFilterForm(t){this.currentColorFilter=t,this.currentPage="formColorFilter"}openFormLayer(){this.currentPage="formLayer"}closeColorFilterForm(){this.currentColorFilter=void 0,this.currentPage="menuFilter"}}},F8UA:function(t,e,n){var l,i,r;i=[n("d5dl"),n("cEDd"),n("yWvm"),n("CgXW"),n("g6rY"),n("UJLV")],void 0===(r="function"==typeof(l=function(t,e,n,l,i,r){"use strict";function o(t,e,n,i){var o;return"string"==typeof n&&(n=parseInt(n,10)),n=n||5,t=parseFloat(t),e=parseFloat(e),o=l(t,e),r.toUsng(o,n,i)}function a(t,e,n,l){var i=o(t,e,n,l);return"string"==typeof i?i.replace(/ /g,""):i}return e=e(t),n=n(t),l=l(t),i=i(t),{toDecimal:n,toDegMinSec:e,toUsng:o,toUtm:l,toMgrs:a,getConverter:function(t){var e;switch(t.toLowerCase()){case"utm":e=l;break;case"usng":e=o;break;case"mgrs":e=a}return e},translate:i}})?l.apply(e,i):l)||(t.exports=r)},FQkX:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},FVPZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("8Y7J"),n("Xd0L"),n("KCVW");class l{}},Fi3X:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("G0WM"),n("Zime"),n("b5bK");class l{constructor(t,e){this.ref=t,this.queryGridService=e}ngOnInit(){}ngAfterViewInit(){}ngOnDestroy(){this.populationComponent.removePop(),this.topographyComponent.removeTopography()}displayGrid(t,e,n,l){let i={sectorPolygon:e};const r=[];!0===l.population&&r.push("population"),!0===l.topography&&(r.push("topography"),i.horizonLine=n,i.aircraftPosition=[t.longitude,t.latitude],i.aircraftSpeed=t.speed,i.aircraftAltitude=t.altitude,i.aircraftVerticalSpeed=t.vsi),i.layers=r,this.queryGridService.queryGridControllerGetGrid({body:i}).subscribe(e=>{!0===l.population?this.populationComponent.displayPopulation(e.data.population):this.populationComponent.removePop(),!0===l.topography?this.topographyComponent.displayTopography(e.data.topography,t):this.topographyComponent.removeTopography()})}getGrid(){}removeGrid(){this.populationComponent.removePop(),this.topographyComponent.removeTopography()}}},Fi5g:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("s7LF"),i=(n("GXLG"),n("wd/R")),r=n("vDCU");class o{constructor(t,e,n){this.snackBarService=t,this.dialogRef=e,this.data=n,this.onSelect=r.a}ngOnInit(){this.initFrom()}initFrom(){this.maxDate=new Date,this.hours=Array.from(Array(24),(t,e)=>e<10?"0"+e.toString():e.toString()),this.minutes=Array.from(Array(60),(t,e)=>e<10?"0"+e.toString():e.toString()),this.replayForm=new l.j({date:new l.g(""),hours:new l.g(""),minutes:new l.g("")})}startReplay(){const t=i(this.replayForm.value.date);t.add(this.replayForm.value.hours,"hours"),t.add(this.replayForm.value.minutes,"minutes");const e=t.format("YYYY-MM-DDTHH:mm:ss"),n=i(e+"+00:00","YYYY-MM-DDTHH:mm:ssZ").utc();n.isValid()&&i().utc().diff(n)>0?this.dialogRef.close(n):this.snackBarService.openSnackBar("Date replay is invalid")}closeModal(){this.dialogRef.close()}}},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},Fwaw:function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var l=n("Xd0L");const i=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class r{constructor(t){this._elementRef=t}}const o=Object(l.E)(Object(l.G)(Object(l.F)(r)));class a extends o{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const l of i)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}class s extends a{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}class u{}},"G+Jc":function(t,e,n){"use strict";var l=n("ppab"),i=n("wd/R"),r=n("WVt+"),o=n("TN97"),a=n("bHcU"),s=n("zixo"),u=n("hoJM"),c=n("9ANI"),d=n("g6Z0"),h=n("gpXz"),p=n("egkh"),f=n("SSvb"),b=n("JW8z");class m{constructor(t){this.stopPoint=void 0,this.airforceReady=7,this.airforceSpeed=570,this.airforceDuration=90,this.interceptionTime=0,this.interceptionDistance=0,this.intercepPoint=[],this.ownPlaytime=void 0,this.playTimes=[],this.featurePlot=void 0,this.featureInterception=[],this.stopPoint=t;for(const e of t.plots){const t=60*i().hours()+i().minutes();e.startAt<=t&&t<=e.endAt&&(this.airforceReady=e.airforceReady,this.airforceSpeed=e.airforceSpeed,this.airforceDuration=e.airforceDuration)}}computeInterception(t,e){return this.computeTimeInterception(t),this.computeInterceptionPoint(t),this.intercepPoint.length>=2?(this.playTimes=[],e.forEach(e=>{this.computePlayTime(t,e)}),this.playTimes.sort((t,e)=>e.playTime-t.playTime),this.getPlotFeature(t)):null}getPlotFeature(t){return this.featurePlot=new o.a({geometry:new c.a(Object(b.d)([this.stopPoint.longitude,this.stopPoint.latitude])),id_:"plot-"+this.stopPoint.icao,categorie_:"plot",icao_:this.stopPoint.icao}),this.featurePlot.setStyle(new a.b({image:new s.a({radius:5,fill:null,stroke:new u.a({color:"yellow",width:5})}),text:new h.a({text:this.stopPoint.icao,fill:new d.a({color:"yellow",opacity:.8}),offsetY:14,overflow:1})})),this.featurePlot}computePlayTime(t,e){const n=r.point([e.stopPoint.longitude,e.stopPoint.latitude]),l=r.point(this.intercepPoint),i=r.distance(n,l);let o=t.track-(r.bearing(n,l)+180);o=o>=0?o:-o,o=o>180?360-o:o;const a=o*Math.PI/180,s=this.knotsToKilometersPerMinute(t.speed),u=this.knotsToKilometersPerMinute(this.airforceSpeed),c=this.airforceDuration-this.interceptionTime,d=Math.pow(s,2)-Math.pow(u,2),h=2*Math.pow(u,2)*c-2*i*s*Math.cos(a),p=Math.pow(i,2)-Math.pow(u,2)*Math.pow(c,2),f=Math.pow(h,2)-4*d*p,b=(-h+Math.sqrt(f))/(2*d);if(b>0){const t={icao:e.stopPoint.icao,playTime:b};this.playTimes.push(t),e.stopPoint.icao==this.stopPoint.icao&&(this.ownPlaytime=t)}}computeInterceptionPoint(t){const e=[t.longitude,t.latitude],n=this.knotsToKilometersPerMinute(t.speed);if(this.interceptionDistance=(this.interceptionTime+this.airforceReady)*n,this.interceptionDistance>0){const n=r.destination(e,this.interceptionDistance,t.track);this.intercepPoint=n.geometry.coordinates}}computeTimeInterception(t){const e=r.point([this.stopPoint.longitude,this.stopPoint.latitude]),n=r.point([t.longitude,t.latitude]),l=this.knotsToKilometersPerMinute(t.speed),i=r.destination(n,this.airforceReady*l,t.track),o=r.distance(e,i);let a=t.track-(r.bearing(e,i)+180);a=a>=0?a:-a,a=a>180?360-a:a;const s=a*Math.PI/180,u=this.knotsToKilometersPerMinute(this.airforceSpeed);this.interceptionTime=o/(Math.cos(s)*l+Math.sqrt(Math.pow(u,2)-Math.pow(Math.sin(s),2)*Math.pow(l,2)))}knotsToKilometersPerMinute(t){return 1.852*t/60}getInterceptionFeature(t){this.featureInterception=[];const e=[this.stopPoint.longitude,this.stopPoint.latitude];return this.featureInterception.push(this.getLineFeature("aircraft-"+this.stopPoint.icao,[t.longitude,t.latitude],this.intercepPoint)),this.featureInterception.push(this.getLineFeature("airforce-"+this.stopPoint.icao,e,this.intercepPoint)),this.featureInterception.push(this.getPointInterceptionFeature("interception-"+this.stopPoint.icao,this.intercepPoint)),this.featureInterception}getPointInterceptionFeature(t,e){const n=new o.a({geometry:new c.a(Object(b.d)(e)),id_:t});return n.setStyle(new a.b({image:new s.a({radius:10,fill:null,stroke:new u.a({color:"yellow",width:5})})})),n}getLineFeature(t,e,n){let l=r.greatCircle(e,n);const i=Object(f.a)(l.geometry.coordinates),s=new o.a({geometry:new p.a(i),id_:t});return s.setStyle(new a.b({stroke:new u.a({color:"yellow",width:3,lineDash:[1,5]})})),s}}n("w+w1"),n("svHU"),n("G0WM");var g=n("7/LY");n.d(e,"a",(function(){return _}));class _ extends l.a{constructor(t,e,n,l){super(),this.ref=t,this.mapService=e,this.stopPointService=n,this.selectAircraftService=l,this.plots=[],this.selectedPlot=void 0,this.isInit=!0,this.tasks=[]}ngOnInit(){setInterval(()=>{const t=this.selectAircraftService.getAircraftSelected();this.aircraftSelectRefresh(t)},333),this.mapService.addLayerToGroup(this.groupLayer||"Interception",super.getVectorLayer()),this.mapService.recenterMap([-1.690085,46.294445],6),this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["isPlot||eq||true"],join:["plots"]}).subscribe(t=>{this.plots=t.data.map(t=>new m(t)),this.displayplots()}),this.ref.detectChanges()}ngAfterViewInit(){}aircraftSelectRefresh(t){if(t&&this.selectAircraftService.aircraftIsSelected(t.aircraft)&&t.haveStatus(g.a.INTERCEPTION))if(this.tasks.length>0){if(2===this.tasks.length&&"open"===this.tasks[0].status&&"close"===this.tasks[1].status){let e;this.selectedPlot=this.tasks[0].icao,t.addMeta("selectedPlot",this.selectedPlot),this.manageDisplayedPlot(this.selectedPlot);for(const t of this.plots)if(t.stopPoint.icao===this.tasks[1].icao){e=t;break}this.cleanInterceptionPlot(e)}if(1===this.tasks.length&&"open"===this.tasks[0].status&&(this.selectedPlot=this.tasks[0].icao,t.addMeta("selectedPlot",this.selectedPlot),this.manageDisplayedPlot(this.selectedPlot)),1===this.tasks.length&&"close"===this.tasks[0].status){let e;this.selectedPlot=void 0,t.deleteMeta("selectedPlot"),this.manageDisplayedPlot();for(const t of this.plots)if(t.stopPoint.icao===this.tasks[0].icao){e=t;break}this.cleanInterceptionPlot(e)}this.tasks=[]}else!0===this.isInit&&(t.metas.selectedPlot&&!this.selectedPlot&&this.tasks.push({status:"open",icao:t.metas.selectedPlot}),this.isInit=!1);if(!t){this.selectedPlot=void 0,this.manageDisplayedPlot();for(const t of this.plots)this.cleanInterceptionPlot(t)}}ngDoCheck(){this.updateInterceptionPlot(),this.ref.detectChanges()}ngOnDestroy(){this.source.clear(),this.mapService.removeGroup("Interception")}displayplots(){this.plots.forEach(t=>{const e=t.computeInterception(this.aircraft,this.plots);e&&this.source.addFeature(e)}),this.plots.sort((t,e)=>t.interceptionTime-e.interceptionTime)}openPlot(t){this.displayInterceptionPlot(t),this.tasks.push({status:"open",icao:t.stopPoint.icao})}closePlot(t){this.cleanInterceptionPlot(t),this.tasks.push({status:"close",icao:t.stopPoint.icao})}updateInterceptionPlot(){this.plots.forEach(t=>{t.computeInterception(this.aircraft,this.plots),t.stopPoint.icao===this.icaoOfSelectedPlot&&t.featureInterception.length>0&&(this.cleanInterceptionPlot(t),this.displayInterceptionPlot(t))}),this.plots.sort((t,e)=>t.interceptionTime-e.interceptionTime)}manageDisplayedPlot(t){let e=!1;for(const n of this.plots)t&&t===n.stopPoint.icao&&(e=!0,this.icaoOfSelectedPlot=n.stopPoint.icao);!1===e&&(this.icaoOfSelectedPlot=null)}displayInterceptionPlot(t){const e=t.getInterceptionFeature(this.aircraft);this.source.addFeatures(e)}cleanInterceptionPlot(t){void 0!==t.featureInterception&&t.featureInterception.length>0&&(t.featureInterception.forEach(t=>{this.source.removeFeature(t)}),t.featureInterception=[])}}},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G0WM:function(t,e,n){"use strict";n("Kurg"),n("EFbT"),n("UN5i"),n("AjEG"),n("rLOe"),n("3y7P"),n("sUFW"),n("Qykp"),n("ItNn"),n("5p+q"),n("kZ4T"),n("DRqq"),n("mWFr"),n("+qtt"),n("c9QO"),n("TYbz"),n("xhS3"),n("Nw85"),n("X0qu"),n("Q2ZK"),n("Vgg8"),n("XYOC"),n("nmM0"),n("0Ceg"),n("CJuc"),n("UrOv"),n("D7iV"),n("yRz6"),n("mTEX"),n("Py6u"),n("b2zq"),n("oU5s"),n("GLSd"),n("Kth1"),n("t9RB"),n("qSBs"),n("rAnw")},GDrd:function(t,e,n){"use strict";e.a={ADD:"add",REMOVE:"remove"}},GKYg:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m={};return i=parseFloat(n)-t.EASTING_OFFSET,r=parseFloat(e),o=6*(parseInt(l,10)-1)-180+3,s=(a=r/t.k0/(t.EQUATORIAL_RADIUS*(1-t.ECC_SQUARED/4-3*t.ECC_SQUARED*t.ECC_SQUARED/64-5*t.ECC_SQUARED*t.ECC_SQUARED*t.ECC_SQUARED/256)))+(3*t.E1/2-27*t.E1*t.E1*t.E1/32)*Math.sin(2*a)+(21*t.E1*t.E1/16-55*t.E1*t.E1*t.E1*t.E1/32)*Math.sin(4*a)+151*t.E1*t.E1*t.E1/96*Math.sin(6*a),u=t.EQUATORIAL_RADIUS/Math.sqrt(1-t.ECC_SQUARED*Math.sin(s)*Math.sin(s)),c=Math.tan(s)*Math.tan(s),d=t.ECC_PRIME_SQUARED*Math.cos(s)*Math.cos(s),h=t.EQUATORIAL_RADIUS*(1-t.ECC_SQUARED)/Math.pow(1-t.ECC_SQUARED*Math.sin(s)*Math.sin(s),1.5),p=i/(u*t.k0),f=s-u*Math.tan(s)/h*(p*p/2-(5+3*c+10*d-4*d*d-9*t.ECC_PRIME_SQUARED)*p*p*p*p/24+(61+90*c+298*d+45*c*c-252*t.ECC_PRIME_SQUARED-3*d*d)*p*p*p*p*p*p/720),f*=t.RAD_2_DEG,b=o+(b=(p-(1+2*c+d)*p*p*p/6+(5-2*d+28*c-3*d*d+8*t.ECC_PRIME_SQUARED+24*c*c)*p*p*p*p*p/120)/Math.cos(s))*t.RAD_2_DEG,m.latitude=f,m.longitude=b,m}return function(n){return t=n,e}})?l.apply(e,[]):l)||(t.exports=i)},GLSd:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}vehicleLogControllerGetCsv$Response(e){const n=new o.a(this.rootUrl,t.VehicleLogControllerGetCsvPath,"get");return e&&(n.query("toDate",e.toDate),n.query("fromDate",e.fromDate)),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}vehicleLogControllerGetCsv(t){return this.vehicleLogControllerGetCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseVehicleLogControllerVehicleLogPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseVehicleLogControllerVehicleLog(t){return this.getOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseVehicleLogControllerVehicleLogPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseVehicleLogControllerVehicleLog(t){return this.replaceOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseVehicleLogControllerVehicleLogPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseVehicleLogControllerVehicleLog(t){return this.deleteOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseVehicleLogControllerVehicleLogPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseVehicleLogControllerVehicleLog(t){return this.updateOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseVehicleLogControllerVehicleLogPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseVehicleLogControllerVehicleLog(t){return this.getManyBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseVehicleLogControllerVehicleLogPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseVehicleLogControllerVehicleLog(t){return this.createOneBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseVehicleLogControllerVehicleLog$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseVehicleLogControllerVehicleLogPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseVehicleLogControllerVehicleLog(t){return this.createManyBaseVehicleLogControllerVehicleLog$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.VehicleLogControllerGetCsvPath="/Vehicle_log/csv",t.GetOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.ReplaceOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.DeleteOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.UpdateOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/{id}",t.GetManyBaseVehicleLogControllerVehicleLogPath="/Vehicle_log",t.CreateOneBaseVehicleLogControllerVehicleLogPath="/Vehicle_log",t.CreateManyBaseVehicleLogControllerVehicleLogPath="/Vehicle_log/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return s})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return b})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return d})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return p})),n.d(e,"n",(function(){return o})),n.d(e,"d",(function(){return g})),n.d(e,"o",(function(){return _})),n.d(e,"p",(function(){return y}));class l{}class i{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function s(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function d(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function f(t=null){return{type:9,options:t}}function b(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,l=0;const i=this.players.length;0==i?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++l==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},GXLG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("8Y7J");let i=(()=>{class t{constructor(){this.eventSnackBar=new l.r}openSnackBar(t){this.eventSnackBar.emit(t)}getEventSnackBar(){return this.eventSnackBar}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},Gbct:function(t,e,n){var l=n("Wm4p"),i=n("cpc2");function r(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=r,i(r.prototype),r.prototype.onError=function(t,e){var n=new Error(t);return n.type="TransportError",n.description=e,this.emit("error",n),this},r.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(t){var e=l.decodePacket(t,this.socket.binaryType);this.onPacket(e)},r.prototype.onPacket=function(t){this.emit("packet",t)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},Gi4r:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("SVse"),n("IheW"),n("8Y7J"),n("cUpR"),n("LRne"),n("z6cu"),n("cp0P"),n("vkgz"),n("lJxs"),n("JIr8"),n("nYR2"),n("w1tV"),n("IzEk"),n("KCVW"),n("Xd0L");class l{}},GvmM:function(t,e,n){"use strict";n.d(e,"b",(function(){return b}));var l,i=n("Ho3V"),r=n("AdTM"),o=n("4mld"),a=n("VWR+"),s=n("30zj"),u=n("OPOH"),c=n("Bw0W"),d=n("bYNo"),h=n("kvpX"),p=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=function(t){function e(e){var n=this,l=Object(u.a)({},e);return delete l.source,(n=t.call(this,l)||this).mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,e.render&&(n.render=e.render),e.map&&n.setMap(e.map),n.addEventListener(Object(o.b)(s.a.SOURCE),n.handleSourcePropertyChange_),n.setSource(e.source?e.source:null),n}return p(e,t),e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){return this.get(s.a.SOURCE)||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():d.a.UNDEFINED},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(i.c)(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(i.a)(t,r.a.CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.getFeatures=function(t){return this.renderer_.getFeatures(t)},e.prototype.render=function(t,e){var n=this.getRenderer();if(n.prepareFrame(t))return n.renderFrame(t,e)},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(i.c)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(i.c)(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(i.a)(t,c.a.PRECOMPOSE,(function(t){var e=t.frameState.layerStatesArray,n=this.getLayerState(!1);Object(h.a)(!e.some((function(t){return t.layer===n.layer})),67),e.push(n)}),this),this.mapRenderKey_=Object(i.a)(this,r.a.CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(s.a.SOURCE,t)},e.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},e.prototype.hasRenderer=function(){return!!this.renderer_},e.prototype.createRenderer=function(){return null},e.prototype.disposeInternal=function(){this.setSource(null),t.prototype.disposeInternal.call(this)},e}(a.a);function b(t,e){if(!t.visible)return!1;var n=e.resolution;if(n<t.minResolution||n>=t.maxResolution)return!1;var l=e.zoom;return l>t.minZoom&&l<=t.maxZoom}e.a=f},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("LRne"),i=n("0EUg");function r(...t){return Object(i.a)()(Object(l.a)(...t))}},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";var l=n("7o/Q"),i=n("2QA8"),r=n("gRHU"),o=n("kJWO"),a=n("mCNh"),s=n("2fFW");n.d(e,"a",(function(){return u}));let u=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof l.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new l.a(t,e,n):new l.a(r.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),s.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof l.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=c(e))((e,n)=>{let l;l=this.subscribe(e=>{try{t(e)}catch(i){n(i),l&&l.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=c(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function c(t){if(t||(t=s.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},"HEh+":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return u}));var l=n("f8l7");function i(t,e,n,i,r,o,a){var s=(n-e)/i;if(s<3){for(;e<n;e+=i)o[a++]=t[e],o[a++]=t[e+1];return a}var u=new Array(s);u[0]=1,u[s-1]=1;for(var c=[e,n-i],d=0;c.length>0;){for(var h=c.pop(),p=c.pop(),f=0,b=t[p],m=t[p+1],g=t[h],_=t[h+1],y=p+i;y<h;y+=i){var A=t[y],v=t[y+1],C=Object(l.g)(A,v,b,m,g,_);C>f&&(d=y,f=C)}f>r&&(u[(d-e)/i]=1,p+i<d&&c.push(p,d),d+i<h&&c.push(d,h))}for(y=0;y<s;++y)u[y]&&(o[a++]=t[e+y*i],o[a++]=t[e+y*i+1]);return a}function r(t,e,n,l,r,o,a,s){for(var u=0,c=n.length;u<c;++u){var d=n[u];a=i(t,e,d,l,r,o,a),s.push(a),e=d}return a}function o(t,e){return e*Math.round(t/e)}function a(t,e,n,l,i,r,a){if(e==n)return a;var s,u,c=o(t[e],i),d=o(t[e+1],i);e+=l,r[a++]=c,r[a++]=d;do{if(s=o(t[e],i),u=o(t[e+1],i),(e+=l)==n)return r[a++]=s,r[a++]=u,a}while(s==c&&u==d);for(;e<n;){var h=o(t[e],i),p=o(t[e+1],i);if(e+=l,h!=s||p!=u){var f=s-c,b=u-d,m=h-c,g=p-d;f*g==b*m&&(f<0&&m<f||f==m||f>0&&m>f)&&(b<0&&g<b||b==g||b>0&&g>b)?(s=h,u=p):(r[a++]=s,r[a++]=u,c=s,d=u,s=h,u=p)}}return r[a++]=s,r[a++]=u,a}function s(t,e,n,l,i,r,o,s){for(var u=0,c=n.length;u<c;++u){var d=n[u];o=a(t,e,d,l,i,r,o),s.push(o),e=d}return o}function u(t,e,n,l,i,r,o,a){for(var u=0,c=n.length;u<c;++u){var d=n[u],h=[];o=s(t,e,d,l,i,r,o,h),a.push(h),e=d[d.length-1]}return o}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},l={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(t){return function(e,i,r,o){var a=n(e),s=l[t][n(e)];return 2===a&&(s=s[i?0:1]),s.replace(/%d/i,e)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HjK1:function(t,e,n){function l(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("lhf0")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var l="color: "+this.color;t.splice(1,0,l,"color: inherit");var i=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(r=i))})),t.splice(r,0,l)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=l,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(l())},Ho3V:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));var l=n("OPOH");function i(t,e,n,l,i){if(l&&l!==t&&(n=n.bind(l)),i){var r=n;n=function(){t.removeEventListener(e,n),r.apply(this,arguments)}}var o={target:t,type:e,listener:n};return t.addEventListener(e,n),o}function r(t,e,n,l){return i(t,e,n,l,!0)}function o(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Object(l.b)(t))}},"Hq+i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("8Y7J"),i=(n("G0WM"),n("vDCU"));class r{constructor(t,e,n){this.dialogRef=t,this.notif=e,this.notificationService=n,this.onSelect=i.a,this.viewedNotif=new l.r,this.currentPage="listNotification",this.selectNotif=void 0}ngOnInit(){this.notif&&this.goToNotif(this.notif)}goToNotif(t){this.selectNotif=t,this.currentPage="viewNotification"}goToList(){this.currentPage="listNotification"}goToParam(){this.currentPage="paramNotification"}closeModal(){this.dialogRef.close()}deleteNotification(){const t={id:this.selectNotif.id};console.log(t),this.notificationService.deleteOneBaseNotificationControllerNotification(t).subscribe(t=>{console.log(t),this.currentPage="listNotification"})}}},Hqo4:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("TN97"),i=n("W8M7"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=n("ppab"),u=(n("svHU"),n("drqP"),n("Fi3X"),n("Ca9r"),n("SSvb"));class c extends s.a{constructor(t){super(),this.mapService=t,this.horizonLine=[],this.sectorPolygon=[],this.sectorFeature=void 0,this.activeComponents={sector:!0,population:!1,topography:!1,hexMap:!0,piv:!0}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngAfterViewInit(){}ngOnDestroy(){this.removeSector(),this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displaySector(t,e){this.isDescent=e.isDescent,this.horizonLine=this.getHorizonLine(t,e),this.sectorPolygon=this.createSectorPolygon(t,this.horizonLine),this.manageSector(),this.managePiv(),this.manageHexMap(t,this.isDescent),this.manageGrid(t)}toggleComponent(t,e){this.activeComponents[t]=!this.activeComponents[t],"sector"===t?this.manageSector():"piv"===t?this.managePiv():"population"===t||"topography"===t?this.manageGrid(e):"hexMap"===t&&this.manageHexMap(e,this.isDescent)}getTrajectoryTarget(){const t=this.mapService.getMap().getLayers().getArray().filter(t=>"Trajectory"===t.get("name"))[0].getLayers().getArray().filter(t=>"trajectory-line"===t.get("name"))[0].getSource().getFeatures()[0].getGeometry().getCoordinates();return t[t.length-1]}manageSector(){!0===this.activeComponents.sector?this.upsertSectorFeature(this.sectorPolygon):this.removeSector()}managePiv(){!0===this.activeComponents.piv?this.pivComponent.displayPiv(this.sectorPolygon):this.pivComponent.removePiv()}manageHexMap(t,e){if(!0===this.activeComponents.hexMap){const n=this.getTrajectoryTarget();this.hexMapComponent.displayHexMap(t,n,this.horizonLine,e)}else this.hexMapComponent.removeHexMap()}manageGrid(t){!0===this.activeComponents.population||!0===this.activeComponents.topography?this.gridComponent.displayGrid(t,this.sectorPolygon,this.horizonLine,this.activeComponents):this.gridComponent.removeGrid()}removeSector(){this.source.clear(),this.sectorFeature=void 0,this.pivComponent.removePiv(),this.gridComponent.removeGrid()}getHorizonLine(t,e){let n=this.degreesToAbsolute(t.track-5),l=this.degreesToAbsolute(t.track+5);e.isDescent&&(n=this.degreesToAbsolute(t.track-15),l=this.degreesToAbsolute(t.track+15));const i=a.point([t.longitude,t.latitude]);return a.lineArc(i,e.distance,n,l).geometry.coordinates}createSectorPolygon(t,e){const n=a.point([t.longitude,t.latitude]),l=a.point(e[0]),i=a.greatCircle(n,l),r=a.point(e[e.length-1]),o=a.greatCircle(r,n);return[[...i.geometry.coordinates,...e,...o.geometry.coordinates]]}degreesToAbsolute(t){return t>360?t-360:t<0?t+360:t}upsertSectorFeature(t){const e=Object(u.b)(t),n=new i.a(e);this.sectorFeature?this.sectorFeature.setGeometry(n):(this.sectorFeature=new l.a({geometry:n,id_:"TRAJECTORY-CONE"}),this.sectorFeature.setStyle(new r.b({stroke:new o.a({color:"red",width:2})})),this.source.addFeature(this.sectorFeature))}}},HsOI:function(t,e,n){"use strict";n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return v})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return f})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return m}));var l=n("8Y7J"),i=(n("GS7A"),n("KCVW")),r=n("Xd0L"),o=n("XNiG"),a=n("VRyK"),s=n("xgIS"),u=n("JX91"),c=n("1G5W"),d=n("IzEk");let h=0;class p{constructor(){this.id="mat-error-"+h++}}class f{}function b(t){return Error(`A hint was already declared for 'align="${t}"'.`)}class m{}class g{}let _=0;class y{constructor(t){this._elementRef=t}}const A=Object(r.E)(y,"primary"),v=new l.w("MAT_FORM_FIELD_DEFAULT_OPTIONS");class C extends A{constructor(t,e,n,l,i,r,a,s){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=l,this._defaults=i,this._platform=r,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new o.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+_++,this._labelId="mat-form-field-label-"+_++,this._previousDirection="ltr",this._labelOptions=n||{},this.floatLabel=this._labelOptions.float||"auto",this._animationsEnabled="NoopAnimations"!==s,this.appearance=i&&i.appearance?i.appearance:"legacy",this._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(i.c)(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(u.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(c.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(a.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this.updateOutlineGap(),this._previousDirection=this._dir.value})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(s.a)(this._label.nativeElement,"transitionend").pipe(Object(d.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if("start"===n.align){if(t||this.hintLabel)throw b("start");t=n}else if("end"===n.align){if(e)throw b("end");e=n}})}}_syncDescribedByIds(){if(this._control){let t=[];if("hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!document.documentElement.contains(this._elementRef.nativeElement))return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const l=this._connectionContainerRef.nativeElement,i=l.querySelectorAll(".mat-form-field-outline-start"),r=l.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const i=l.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(i),o=this._getStartEnd(t.children[0].getBoundingClientRect());let a=0;for(const e of t.children)a+=e.offsetWidth;e=o-r-5,n=a>0?.75*a+10:0}for(let o=0;o<i.length;o++)i.item(o).style.width=e+"px";for(let o=0;o<r.length;o++)r.item(o).style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return"rtl"===this._previousDirection?t.right:t.left}}class w{}},Hsuu:function(t,e,n){"use strict";e.a={ARRAY_BUFFER:"arraybuffer",JSON:"json",TEXT:"text",XML:"xml"}},HyV0:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>t&&"number"==typeof t.length&&"function"!=typeof t},I5KE:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{constructor(t,e){this.show=!1,this.name="",this.type="",this.mapping={},this.properties={},this.data={},this.feature=e;const n=!0===t.get("isPivIntersects")?e:t,l=n.get("clickable"),i=n.get("hoverable");this.show=l||i,this.type=n.get(!0===t.get("isPivIntersects")?"layerName":"name"),this.mapping=n.get(!0===t.get("isPivIntersects")?"layerMapping":"mapping"),this.properties=e.getProperties();for(const r in this.mapping)this.mapping.hasOwnProperty(r)&&this.properties.hasOwnProperty(r)&&(this.data[this.mapping[r]]=this.properties[r],"name"===this.mapping[r]&&(this.name=this.properties[r]))}}},I9pN:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("MlvX"),r=n("Xd0L"),o=n("HsOI"),a=n("bujt"),s=n("Fwaw"),u=n("5GAg"),c=n("omvX"),d=n("s7LF"),h=n("dJrM"),p=n("IP0z"),f=n("/HVE"),b=n("ZwOa"),m=n("oapL"),g=n("/Co4"),_=n("QQfA"),y=n("SVse"),A=n("hOhj"),v=n("Rn7m"),C=n("JX91"),w=n("Kj3r"),P=n("eIep"),x=n("lJxs"),S=n("JIr8"),k=n("LRne");n("G0WM");const M=t=>t.value<=-180||t.value>=180?{validLongitude:{reason:"outOfBound",value:t.value}}:null,O=t=>t.value<=-90||t.value>=90?{validLatitude:{reason:"outOfBound",value:t.value}}:null,D=t=>t.value<0||t.value>25e3?{validSpeed:{reason:"outOfBound",value:t.value}}:null,T=t=>t.value<0?{notNegative:{reason:"negative",value:t.value}}:null;class E{isErrorState(t,e){const n=!(!t||!t.dirty&&!t.touched),l=!(!t||!t.hasError("track")),i=!(!t||!(t.parent.hasError("track")||t.parent.hasError("trackSup")||t.parent.hasError("trackInf")));return n&&(l||i)}}class I{isErrorState(t,e){const n=!(!t||!t.dirty&&!t.touched),l=!(!t||!t.hasError("ttl")),i=!(!t||!(t.parent.hasError("ttl")||t.parent.hasError("ttlNegative")||t.parent.hasError("trackSup")||t.parent.hasError("trackInf")));return n&&(l||i)}}class L{constructor(t,e,n,i){this.formBuilder=t,this.ghostService=e,this.stopPointService=n,this.engineService=i,this.changePage=new l.r,this.airportAutoComplete$=null,this.airportAutoCompleteControl=new d.g,this.modelIcaoAutoComplete$=null,this.modelIcaoAutoCompleteControl=new d.g(d.w.required),this.matcher=new E,this.matcherTtlTrack=new I,this.defaultSpeed=300,this.defaultAtl=25e3}ngOnInit(){this.initForm(),this.airportAutoComplete$=this.airportAutoCompleteControl.valueChanges.pipe(Object(C.a)(""),Object(w.a)(300),Object(P.a)(t=>""!==t?this.lookupAirport(t.toUpperCase()):Object(k.a)(null))),this.modelIcaoAutoComplete$=this.modelIcaoAutoCompleteControl.valueChanges.pipe(Object(C.a)(""),Object(w.a)(300),Object(P.a)(t=>""!==t?this.lookupModelIcao(t.toUpperCase()):Object(k.a)(null)))}initForm(){this.modelIcaoAutoCompleteControl.setValue(this.ghost?this.ghost.icaoTypeCode:""),this.airportAutoCompleteControl.setValue(this.ghost?this.ghost.toIcao:""),this.ghostForm=this.formBuilder.group({icao:[this.ghost?{value:this.ghost.icao,disabled:!0}:null,[d.w.required]],latitude:[this.ghost?this.ghost.latitude:null,[d.w.required,O]],longitude:[this.ghost?this.ghost.longitude:null,[d.w.required,M]],speed:[this.ghost?this.ghost.speed:this.defaultSpeed,[d.w.required,D,T]],altitude:[this.ghost?this.ghost.altitude:this.defaultAtl,[d.w.required,T]],vsi:[this.ghost?this.ghost.vsi:null,[d.w.required]],icaoTypeCode:this.modelIcaoAutoCompleteControl,ttl:[this.ghost?this.ghost.ttl/6e4:null],track:[this.ghost?this.ghost.track:null],toIcao:this.airportAutoCompleteControl},{validator:this.testAirportTrackAndTTl}),this.verif_update=this.ghost?{latitude:this.ghost.latitude,longitude:this.ghost.longitude}:null}testAirportTrackAndTTl(t){const e={};if(t){const n=t.controls;if(n.toIcao.value&&n.toIcao.value.length>1)return null;if(null!==n.track.value&&null!==n.ttl.value&&Number(n.ttl.value)>0&&Number(n.track.value)<=360&&Number(n.track.value)>=0)return null;null===n.track.value?e.track="track":(n.track.value>360?e.trackSup="trackSup":n.track.value<0&&(e.trackInf="trackInf"),null===n.ttl.value?e.ttl="ttl":Number(n.ttl.value)<=0&&(e.ttlNegative="ttlNegative"))}return e}lookupAirport(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(x.a)(t=>t.data),Object(S.a)(t=>Object(k.a)(null)))}lookupModelIcao(t){return this.engineService.getManyBaseEngineControllerEngine({filter:["icao||cont||"+t],limit:10}).pipe(Object(x.a)(t=>t.data),Object(S.a)(t=>Object(k.a)(null)))}onSubmitGhost(){this.ghost?(this.verif_update.latitude!=this.ghostForm.get("latitude").value||this.verif_update.longitude!=this.ghostForm.get("longitude").value?(this.ghost.latitude=this.ghostForm.get("latitude").value,this.ghost.longitude=this.ghostForm.get("longitude").value):(delete this.ghost.latitude,delete this.ghost.longitude),this.ghost.track=this.ghostForm.get("track").value,this.ghost.speed=this.ghostForm.get("speed").value,this.ghost.altitude=this.ghostForm.get("altitude").value,this.ghost.vsi=this.ghostForm.get("vsi").value,this.ghost.icaoTypeCode=this.ghostForm.get("icaoTypeCode").value,this.ghost.toIcao=this.ghostForm.get("toIcao").value,this.ghost.ttl=6e4*this.ghostForm.get("ttl").value,this.updateGhost()):this.createGhost()}updateGhost(){this.ghostService.ghostControllerUpdateGhost({icao:this.ghost.icao,body:this.ghost}).subscribe(t=>{this.changePage.emit("UPDATED")})}createGhost(){const t={ghost:{icao:this.ghostForm.get("icao").value,ttl:6e4*this.ghostForm.get("ttl").value},position:{icao:this.ghostForm.get("icao").value,latitude:this.ghostForm.get("latitude").value,longitude:this.ghostForm.get("longitude").value,track:this.ghostForm.get("track").value,speed:this.ghostForm.get("speed").value,altitude:this.ghostForm.get("altitude").value,vsi:this.ghostForm.get("vsi").value,icaoTypeCode:this.ghostForm.get("icaoTypeCode").value,toIcao:this.ghostForm.get("toIcao").value}};this.ghostService.ghostControllerAddGhost({body:t}).subscribe(t=>{this.changePage.emit("CREATED")})}closePage(){this.changePage.emit("")}}var j=n("TYbz"),R=n("rLOe"),F=n("EFbT"),N=l.Bb({encapsulation:0,styles:[[".ghost-form[_ngcontent-%COMP%]{padding:0 10px 10px}.ghost-form[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%]{position:relative}.ghost-form[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;height:50px;margin-top:10px;margin-bottom:10px}.ghost-form[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.ghost-form[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0;margin:.25em}.btn-success[_ngcontent-%COMP%]{display:block;margin-left:45%}"]],data:{}});function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[64,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Db(2,0,null,0,1,"p",[["style","margin: 0;line-height: 15px;font-size: 13px;"]],null,null,null,null,null)),(t()(),l.Wb(3,null,[" ",""]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,3,0,e.context.$implicit.icao)}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),i.e,i.b)),l.Cb(1,8568832,[[75,4]],0,r.s,[l.p,l.j,[2,r.l],[2,r.r]],{value:[0,"value"]},null),(t()(),l.Db(2,0,null,0,1,"p",[["style","margin: 0;line-height: 15px;font-size: 13px;"]],null,null,null,null,null)),(t()(),l.Wb(3,null,[" ",""]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,3,0,e.context.$implicit.icao)}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[71,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["An airport or a track is required"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[82,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["Track must be less than 360"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[82,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["Track must be a positive number"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[91,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["TTL is required if track is set"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","margin-top: 10%;"]],[[1,"id",0]],null,null,null,null)),l.Cb(1,16384,[[91,4]],0,o.b,[],null,null),(t()(),l.Wb(-1,null,["TTL must be a positive number"]))],null,(function(t,e){t(e,0,0,l.Pb(e,1).id)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,252,"div",[["class","ghost-form"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["class","btn return-button"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closePage()&&l),l}),a.b,a.a)),l.Cb(2,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Return"])),(t()(),l.Db(4,0,null,null,248,"form",[["class","form-container"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,6).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,6).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.onSubmitGhost()&&i),i}),null,null)),l.Cb(5,16384,null,0,d.A,[],null,null),l.Cb(6,540672,null,0,d.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,d.c,null,[d.k]),l.Cb(8,16384,null,0,d.r,[[4,d.c]],null,null),(t()(),l.Db(9,0,null,null,21,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Identification"])),(t()(),l.Db(12,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(13,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(23,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","icao"],["matInput",""],["placeholder","Icao"],["title","Icao"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,24)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,24).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,24)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,24)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,29)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,29)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,29)._onInput()&&i),i}),null,null)),l.Cb(24,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Tb(1024,null,d.o,(function(t){return[t]}),[d.d]),l.Cb(26,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(28,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(29,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],o.d,null,[b.b]),(t()(),l.Db(31,0,null,null,42,"div",[],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Coordinate"])),(t()(),l.Db(34,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(35,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,10,{_controlNonStatic:0}),l.Ub(335544320,11,{_controlStatic:0}),l.Ub(603979776,12,{_labelChildNonStatic:0}),l.Ub(335544320,13,{_labelChildStatic:0}),l.Ub(603979776,14,{_placeholderChild:0}),l.Ub(603979776,15,{_errorChildren:1}),l.Ub(603979776,16,{_hintChildren:1}),l.Ub(603979776,17,{_prefixChildren:1}),l.Ub(603979776,18,{_suffixChildren:1}),(t()(),l.Db(45,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","latitude"],["matInput",""],["max","90"],["min","-90"],["placeholder","Latitude"],["step","0.1"],["title","Latitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,46)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,46).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,46)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,46)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,47).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,47).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,52)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,52)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,52)._onInput()&&i),i}),null,null)),l.Cb(46,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(47,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(49,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(51,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(52,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[10,4],[11,4]],o.d,null,[b.b]),(t()(),l.Db(54,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(55,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,19,{_controlNonStatic:0}),l.Ub(335544320,20,{_controlStatic:0}),l.Ub(603979776,21,{_labelChildNonStatic:0}),l.Ub(335544320,22,{_labelChildStatic:0}),l.Ub(603979776,23,{_placeholderChild:0}),l.Ub(603979776,24,{_errorChildren:1}),l.Ub(603979776,25,{_hintChildren:1}),l.Ub(603979776,26,{_prefixChildren:1}),l.Ub(603979776,27,{_suffixChildren:1}),(t()(),l.Db(65,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","longitude"],["matInput",""],["max","180"],["min","-180"],["placeholder","Longitude"],["step","0.1"],["title","Longitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,66)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,66).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,66)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,66)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,67).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,67).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,67).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,72)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,72)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,72)._onInput()&&i),i}),null,null)),l.Cb(66,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(67,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(69,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(71,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(72,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[19,4],[20,4]],o.d,null,[b.b]),(t()(),l.Db(74,0,null,null,92,"div",[],null,null,null,null,null)),(t()(),l.Db(75,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Velocity"])),(t()(),l.Db(77,0,null,null,40,"div",[],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(79,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,28,{_controlNonStatic:0}),l.Ub(335544320,29,{_controlStatic:0}),l.Ub(603979776,30,{_labelChildNonStatic:0}),l.Ub(335544320,31,{_labelChildStatic:0}),l.Ub(603979776,32,{_placeholderChild:0}),l.Ub(603979776,33,{_errorChildren:1}),l.Ub(603979776,34,{_hintChildren:1}),l.Ub(603979776,35,{_prefixChildren:1}),l.Ub(603979776,36,{_suffixChildren:1}),(t()(),l.Db(89,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","speed"],["matInput",""],["min","0"],["placeholder","Ground speed"],["step","30"],["title","Ground speed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,90)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,90).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,90)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,90)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,91).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,91).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,91).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,96)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,96)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,96)._onInput()&&i),i}),null,null)),l.Cb(90,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(91,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(93,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(95,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(96,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[28,4],[29,4]],o.d,null,[b.b]),(t()(),l.Db(98,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(99,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,37,{_controlNonStatic:0}),l.Ub(335544320,38,{_controlStatic:0}),l.Ub(603979776,39,{_labelChildNonStatic:0}),l.Ub(335544320,40,{_labelChildStatic:0}),l.Ub(603979776,41,{_placeholderChild:0}),l.Ub(603979776,42,{_errorChildren:1}),l.Ub(603979776,43,{_hintChildren:1}),l.Ub(603979776,44,{_prefixChildren:1}),l.Ub(603979776,45,{_suffixChildren:1}),(t()(),l.Db(109,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","altitude"],["matInput",""],["min","0"],["placeholder","Altitude"],["step","1000"],["title","Altitude"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,110)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,110).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,110)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,110)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,111).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,111).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,111).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,116)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,116)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,116)._onInput()&&i),i}),null,null)),l.Cb(110,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(111,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(113,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(115,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(116,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[37,4],[38,4]],o.d,null,[b.b]),(t()(),l.Db(118,0,null,null,48,"div",[],null,null,null,null,null)),(t()(),l.Db(119,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(120,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,46,{_controlNonStatic:0}),l.Ub(335544320,47,{_controlStatic:0}),l.Ub(603979776,48,{_labelChildNonStatic:0}),l.Ub(335544320,49,{_labelChildStatic:0}),l.Ub(603979776,50,{_placeholderChild:0}),l.Ub(603979776,51,{_errorChildren:1}),l.Ub(603979776,52,{_hintChildren:1}),l.Ub(603979776,53,{_prefixChildren:1}),l.Ub(603979776,54,{_suffixChildren:1}),(t()(),l.Db(130,0,null,1,8,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vsi"],["matInput",""],["placeholder","VSI"],["title","VSI"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,131)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,131).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,131)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,131)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,132).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,132).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,132).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,137)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,137)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,137)._onInput()&&i),i}),null,null)),l.Cb(131,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(132,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(134,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(136,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(137,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[46,4],[47,4]],o.d,null,[b.b]),(t()(),l.Db(139,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(140,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,55,{_controlNonStatic:0}),l.Ub(335544320,56,{_controlStatic:0}),l.Ub(603979776,57,{_labelChildNonStatic:0}),l.Ub(335544320,58,{_labelChildStatic:0}),l.Ub(603979776,59,{_placeholderChild:0}),l.Ub(603979776,60,{_errorChildren:1}),l.Ub(603979776,61,{_hintChildren:1}),l.Ub(603979776,62,{_prefixChildren:1}),l.Ub(603979776,63,{_suffixChildren:1}),(t()(),l.Db(150,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Model"],["title","Model"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,151)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,151).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,151)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,151)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,152)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,152)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,152)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,152)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,157)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,157)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,157)._onInput()&&i),i}),null,null)),l.Cb(151,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(152,4866048,null,0,g.f,[l.p,_.c,l.Y,l.G,l.j,g.b,[2,p.b],[2,o.c],[2,y.d],A.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,g.f]),l.Cb(154,540672,null,0,d.h,[[8,null],[8,null],[6,d.o],[2,d.z]],{form:[0,"form"]},null),l.Tb(2048,null,d.p,null,[d.h]),l.Cb(156,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(157,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[55,4],[56,4]],o.d,null,[b.b]),(t()(),l.Db(159,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,v.b,v.a)),l.Tb(6144,null,r.l,null,[g.d]),l.Cb(161,1097728,[["autoModel",4]],2,g.d,[l.j,l.p,g.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,64,{options:1}),l.Ub(603979776,65,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Y)),l.Cb(165,278528,null,0,y.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,y.b,[l.j]),(t()(),l.Db(167,0,null,null,82,"div",[],null,null,null,null,null)),(t()(),l.Db(168,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Direction"])),(t()(),l.Db(170,0,null,null,29,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(171,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,66,{_controlNonStatic:0}),l.Ub(335544320,67,{_controlStatic:0}),l.Ub(603979776,68,{_labelChildNonStatic:0}),l.Ub(335544320,69,{_labelChildStatic:0}),l.Ub(603979776,70,{_placeholderChild:0}),l.Ub(603979776,71,{_errorChildren:1}),l.Ub(603979776,72,{_hintChildren:1}),l.Ub(603979776,73,{_prefixChildren:1}),l.Ub(603979776,74,{_suffixChildren:1}),(t()(),l.Db(181,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","to Icao"],["title","to Icao"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,182)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,182).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,182)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,182)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,183)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,183)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,183)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,183)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,188)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,188)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,188)._onInput()&&i),i}),null,null)),l.Cb(182,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(183,4866048,null,0,g.f,[l.p,_.c,l.Y,l.G,l.j,g.b,[2,p.b],[2,o.c],[2,y.d],A.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,g.f]),l.Cb(185,540672,null,0,d.h,[[8,null],[8,null],[6,d.o],[2,d.z]],{form:[0,"form"]},null),l.Tb(2048,null,d.p,null,[d.h]),l.Cb(187,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(188,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[66,4],[67,4]],o.d,null,[b.b]),(t()(),l.Db(190,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,v.b,v.a)),l.Tb(6144,null,r.l,null,[g.d]),l.Cb(192,1097728,[["auto",4]],2,g.d,[l.j,l.p,g.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,75,{options:1}),l.Ub(603979776,76,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,U)),l.Cb(196,278528,null,0,y.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,y.b,[l.j]),(t()(),l.sb(16777216,null,5,1,null,B)),l.Cb(199,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(200,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" or "])),(t()(),l.Db(202,0,null,null,23,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(203,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,77,{_controlNonStatic:0}),l.Ub(335544320,78,{_controlStatic:0}),l.Ub(603979776,79,{_labelChildNonStatic:0}),l.Ub(335544320,80,{_labelChildStatic:0}),l.Ub(603979776,81,{_placeholderChild:0}),l.Ub(603979776,82,{_errorChildren:1}),l.Ub(603979776,83,{_hintChildren:1}),l.Ub(603979776,84,{_prefixChildren:1}),l.Ub(603979776,85,{_suffixChildren:1}),(t()(),l.Db(213,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","track"],["matInput",""],["max","360"],["min","0"],["placeholder","Track"],["step","30"],["title","Track"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,214)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,214).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,214)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,214)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,215).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,215).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,215).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,220)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,220)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,220)._onInput()&&i),i}),null,null)),l.Cb(214,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(215,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(217,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(219,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(220,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[77,4],[78,4]],o.d,null,[b.b]),(t()(),l.sb(16777216,null,5,1,null,z)),l.Cb(223,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,5,1,null,G)),l.Cb(225,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(226,0,null,null,23,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(227,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,86,{_controlNonStatic:0}),l.Ub(335544320,87,{_controlStatic:0}),l.Ub(603979776,88,{_labelChildNonStatic:0}),l.Ub(335544320,89,{_labelChildStatic:0}),l.Ub(603979776,90,{_placeholderChild:0}),l.Ub(603979776,91,{_errorChildren:1}),l.Ub(603979776,92,{_hintChildren:1}),l.Ub(603979776,93,{_prefixChildren:1}),l.Ub(603979776,94,{_suffixChildren:1}),(t()(),l.Db(237,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ttl"],["matInput",""],["min","0"],["placeholder","Time to live (min)"],["title","Time to live"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,238)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,238).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,238)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,238)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,239).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,239).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,239).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,244)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,244)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,244)._onInput()&&i),i}),null,null)),l.Cb(238,16384,null,0,d.d,[l.M,l.p,[2,d.a]],null,null),l.Cb(239,16384,null,0,d.u,[l.M,l.p],null,null),l.Tb(1024,null,d.o,(function(t,e){return[t,e]}),[d.d,d.u]),l.Cb(241,671744,null,0,d.i,[[3,d.c],[8,null],[8,null],[6,d.o],[2,d.z]],{name:[0,"name"]},null),l.Tb(2048,null,d.p,null,[d.i]),l.Cb(243,16384,null,0,d.q,[[4,d.p]],null,null),l.Cb(244,999424,null,0,b.b,[l.p,f.a,[6,d.p],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"],errorStateMatcher:[2,"errorStateMatcher"]},null),l.Tb(2048,[[86,4],[87,4]],o.d,null,[b.b]),(t()(),l.sb(16777216,null,5,1,null,H)),l.Cb(247,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,5,1,null,V)),l.Cb(249,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(250,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["style","margin-top: 5%;"],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,a.b,a.a)),l.Cb(251,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{disabled:[0,"disabled"]},null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,6,0,n.ghostForm),t(e,13,0,"outline"),t(e,26,0,"icao"),t(e,29,0,"Icao","text"),t(e,35,0,"outline"),t(e,49,0,"latitude"),t(e,52,0,"Latitude","number"),t(e,55,0,"outline"),t(e,69,0,"longitude"),t(e,72,0,"Longitude","number"),t(e,79,0,"outline"),t(e,93,0,"speed"),t(e,96,0,"Ground speed","number"),t(e,99,0,"outline"),t(e,113,0,"altitude"),t(e,116,0,"Altitude","number"),t(e,120,0,"outline"),t(e,134,0,"vsi"),t(e,137,0,"VSI","number"),t(e,140,0,"outline"),t(e,152,0,l.Pb(e,161)),t(e,154,0,n.modelIcaoAutoCompleteControl),t(e,157,0,"Model","text"),t(e,161,0,""),t(e,165,0,l.Xb(e,165,0,l.Pb(e,166).transform(n.modelIcaoAutoComplete$))),t(e,171,0,"outline"),t(e,183,0,l.Pb(e,192)),t(e,185,0,n.airportAutoCompleteControl),t(e,188,0,"to Icao","text",n.matcher),t(e,192,0,""),t(e,196,0,l.Xb(e,196,0,l.Pb(e,197).transform(n.airportAutoComplete$))),t(e,199,0,n.ghostForm.hasError("track")),t(e,203,0,"outline"),t(e,217,0,"track"),t(e,220,0,"Track","number",n.matcher),t(e,223,0,n.ghostForm.hasError("trackSup")),t(e,225,0,n.ghostForm.hasError("trackInf")),t(e,227,0,"outline"),t(e,241,0,"ttl"),t(e,244,0,"Time to live (min)","number",n.matcherTtlTrack),t(e,247,0,n.ghostForm.hasError("ttl")),t(e,249,0,n.ghostForm.hasError("ttlNegative")),t(e,251,0,!n.ghostForm.valid)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode),t(e,4,0,l.Pb(e,8).ngClassUntouched,l.Pb(e,8).ngClassTouched,l.Pb(e,8).ngClassPristine,l.Pb(e,8).ngClassDirty,l.Pb(e,8).ngClassValid,l.Pb(e,8).ngClassInvalid,l.Pb(e,8).ngClassPending),t(e,12,1,["standard"==l.Pb(e,13).appearance,"fill"==l.Pb(e,13).appearance,"outline"==l.Pb(e,13).appearance,"legacy"==l.Pb(e,13).appearance,l.Pb(e,13)._control.errorState,l.Pb(e,13)._canLabelFloat,l.Pb(e,13)._shouldLabelFloat(),l.Pb(e,13)._hasFloatingLabel(),l.Pb(e,13)._hideControlPlaceholder(),l.Pb(e,13)._control.disabled,l.Pb(e,13)._control.autofilled,l.Pb(e,13)._control.focused,"accent"==l.Pb(e,13).color,"warn"==l.Pb(e,13).color,l.Pb(e,13)._shouldForward("untouched"),l.Pb(e,13)._shouldForward("touched"),l.Pb(e,13)._shouldForward("pristine"),l.Pb(e,13)._shouldForward("dirty"),l.Pb(e,13)._shouldForward("valid"),l.Pb(e,13)._shouldForward("invalid"),l.Pb(e,13)._shouldForward("pending"),!l.Pb(e,13)._animationsEnabled]),t(e,23,1,[l.Pb(e,28).ngClassUntouched,l.Pb(e,28).ngClassTouched,l.Pb(e,28).ngClassPristine,l.Pb(e,28).ngClassDirty,l.Pb(e,28).ngClassValid,l.Pb(e,28).ngClassInvalid,l.Pb(e,28).ngClassPending,l.Pb(e,29)._isServer,l.Pb(e,29).id,l.Pb(e,29).placeholder,l.Pb(e,29).disabled,l.Pb(e,29).required,l.Pb(e,29).readonly&&!l.Pb(e,29)._isNativeSelect||null,l.Pb(e,29)._ariaDescribedby||null,l.Pb(e,29).errorState,l.Pb(e,29).required.toString()]),t(e,34,1,["standard"==l.Pb(e,35).appearance,"fill"==l.Pb(e,35).appearance,"outline"==l.Pb(e,35).appearance,"legacy"==l.Pb(e,35).appearance,l.Pb(e,35)._control.errorState,l.Pb(e,35)._canLabelFloat,l.Pb(e,35)._shouldLabelFloat(),l.Pb(e,35)._hasFloatingLabel(),l.Pb(e,35)._hideControlPlaceholder(),l.Pb(e,35)._control.disabled,l.Pb(e,35)._control.autofilled,l.Pb(e,35)._control.focused,"accent"==l.Pb(e,35).color,"warn"==l.Pb(e,35).color,l.Pb(e,35)._shouldForward("untouched"),l.Pb(e,35)._shouldForward("touched"),l.Pb(e,35)._shouldForward("pristine"),l.Pb(e,35)._shouldForward("dirty"),l.Pb(e,35)._shouldForward("valid"),l.Pb(e,35)._shouldForward("invalid"),l.Pb(e,35)._shouldForward("pending"),!l.Pb(e,35)._animationsEnabled]),t(e,45,1,[l.Pb(e,51).ngClassUntouched,l.Pb(e,51).ngClassTouched,l.Pb(e,51).ngClassPristine,l.Pb(e,51).ngClassDirty,l.Pb(e,51).ngClassValid,l.Pb(e,51).ngClassInvalid,l.Pb(e,51).ngClassPending,l.Pb(e,52)._isServer,l.Pb(e,52).id,l.Pb(e,52).placeholder,l.Pb(e,52).disabled,l.Pb(e,52).required,l.Pb(e,52).readonly&&!l.Pb(e,52)._isNativeSelect||null,l.Pb(e,52)._ariaDescribedby||null,l.Pb(e,52).errorState,l.Pb(e,52).required.toString()]),t(e,54,1,["standard"==l.Pb(e,55).appearance,"fill"==l.Pb(e,55).appearance,"outline"==l.Pb(e,55).appearance,"legacy"==l.Pb(e,55).appearance,l.Pb(e,55)._control.errorState,l.Pb(e,55)._canLabelFloat,l.Pb(e,55)._shouldLabelFloat(),l.Pb(e,55)._hasFloatingLabel(),l.Pb(e,55)._hideControlPlaceholder(),l.Pb(e,55)._control.disabled,l.Pb(e,55)._control.autofilled,l.Pb(e,55)._control.focused,"accent"==l.Pb(e,55).color,"warn"==l.Pb(e,55).color,l.Pb(e,55)._shouldForward("untouched"),l.Pb(e,55)._shouldForward("touched"),l.Pb(e,55)._shouldForward("pristine"),l.Pb(e,55)._shouldForward("dirty"),l.Pb(e,55)._shouldForward("valid"),l.Pb(e,55)._shouldForward("invalid"),l.Pb(e,55)._shouldForward("pending"),!l.Pb(e,55)._animationsEnabled]),t(e,65,1,[l.Pb(e,71).ngClassUntouched,l.Pb(e,71).ngClassTouched,l.Pb(e,71).ngClassPristine,l.Pb(e,71).ngClassDirty,l.Pb(e,71).ngClassValid,l.Pb(e,71).ngClassInvalid,l.Pb(e,71).ngClassPending,l.Pb(e,72)._isServer,l.Pb(e,72).id,l.Pb(e,72).placeholder,l.Pb(e,72).disabled,l.Pb(e,72).required,l.Pb(e,72).readonly&&!l.Pb(e,72)._isNativeSelect||null,l.Pb(e,72)._ariaDescribedby||null,l.Pb(e,72).errorState,l.Pb(e,72).required.toString()]),t(e,78,1,["standard"==l.Pb(e,79).appearance,"fill"==l.Pb(e,79).appearance,"outline"==l.Pb(e,79).appearance,"legacy"==l.Pb(e,79).appearance,l.Pb(e,79)._control.errorState,l.Pb(e,79)._canLabelFloat,l.Pb(e,79)._shouldLabelFloat(),l.Pb(e,79)._hasFloatingLabel(),l.Pb(e,79)._hideControlPlaceholder(),l.Pb(e,79)._control.disabled,l.Pb(e,79)._control.autofilled,l.Pb(e,79)._control.focused,"accent"==l.Pb(e,79).color,"warn"==l.Pb(e,79).color,l.Pb(e,79)._shouldForward("untouched"),l.Pb(e,79)._shouldForward("touched"),l.Pb(e,79)._shouldForward("pristine"),l.Pb(e,79)._shouldForward("dirty"),l.Pb(e,79)._shouldForward("valid"),l.Pb(e,79)._shouldForward("invalid"),l.Pb(e,79)._shouldForward("pending"),!l.Pb(e,79)._animationsEnabled]),t(e,89,1,[l.Pb(e,95).ngClassUntouched,l.Pb(e,95).ngClassTouched,l.Pb(e,95).ngClassPristine,l.Pb(e,95).ngClassDirty,l.Pb(e,95).ngClassValid,l.Pb(e,95).ngClassInvalid,l.Pb(e,95).ngClassPending,l.Pb(e,96)._isServer,l.Pb(e,96).id,l.Pb(e,96).placeholder,l.Pb(e,96).disabled,l.Pb(e,96).required,l.Pb(e,96).readonly&&!l.Pb(e,96)._isNativeSelect||null,l.Pb(e,96)._ariaDescribedby||null,l.Pb(e,96).errorState,l.Pb(e,96).required.toString()]),t(e,98,1,["standard"==l.Pb(e,99).appearance,"fill"==l.Pb(e,99).appearance,"outline"==l.Pb(e,99).appearance,"legacy"==l.Pb(e,99).appearance,l.Pb(e,99)._control.errorState,l.Pb(e,99)._canLabelFloat,l.Pb(e,99)._shouldLabelFloat(),l.Pb(e,99)._hasFloatingLabel(),l.Pb(e,99)._hideControlPlaceholder(),l.Pb(e,99)._control.disabled,l.Pb(e,99)._control.autofilled,l.Pb(e,99)._control.focused,"accent"==l.Pb(e,99).color,"warn"==l.Pb(e,99).color,l.Pb(e,99)._shouldForward("untouched"),l.Pb(e,99)._shouldForward("touched"),l.Pb(e,99)._shouldForward("pristine"),l.Pb(e,99)._shouldForward("dirty"),l.Pb(e,99)._shouldForward("valid"),l.Pb(e,99)._shouldForward("invalid"),l.Pb(e,99)._shouldForward("pending"),!l.Pb(e,99)._animationsEnabled]),t(e,109,1,[l.Pb(e,115).ngClassUntouched,l.Pb(e,115).ngClassTouched,l.Pb(e,115).ngClassPristine,l.Pb(e,115).ngClassDirty,l.Pb(e,115).ngClassValid,l.Pb(e,115).ngClassInvalid,l.Pb(e,115).ngClassPending,l.Pb(e,116)._isServer,l.Pb(e,116).id,l.Pb(e,116).placeholder,l.Pb(e,116).disabled,l.Pb(e,116).required,l.Pb(e,116).readonly&&!l.Pb(e,116)._isNativeSelect||null,l.Pb(e,116)._ariaDescribedby||null,l.Pb(e,116).errorState,l.Pb(e,116).required.toString()]),t(e,119,1,["standard"==l.Pb(e,120).appearance,"fill"==l.Pb(e,120).appearance,"outline"==l.Pb(e,120).appearance,"legacy"==l.Pb(e,120).appearance,l.Pb(e,120)._control.errorState,l.Pb(e,120)._canLabelFloat,l.Pb(e,120)._shouldLabelFloat(),l.Pb(e,120)._hasFloatingLabel(),l.Pb(e,120)._hideControlPlaceholder(),l.Pb(e,120)._control.disabled,l.Pb(e,120)._control.autofilled,l.Pb(e,120)._control.focused,"accent"==l.Pb(e,120).color,"warn"==l.Pb(e,120).color,l.Pb(e,120)._shouldForward("untouched"),l.Pb(e,120)._shouldForward("touched"),l.Pb(e,120)._shouldForward("pristine"),l.Pb(e,120)._shouldForward("dirty"),l.Pb(e,120)._shouldForward("valid"),l.Pb(e,120)._shouldForward("invalid"),l.Pb(e,120)._shouldForward("pending"),!l.Pb(e,120)._animationsEnabled]),t(e,130,1,[l.Pb(e,136).ngClassUntouched,l.Pb(e,136).ngClassTouched,l.Pb(e,136).ngClassPristine,l.Pb(e,136).ngClassDirty,l.Pb(e,136).ngClassValid,l.Pb(e,136).ngClassInvalid,l.Pb(e,136).ngClassPending,l.Pb(e,137)._isServer,l.Pb(e,137).id,l.Pb(e,137).placeholder,l.Pb(e,137).disabled,l.Pb(e,137).required,l.Pb(e,137).readonly&&!l.Pb(e,137)._isNativeSelect||null,l.Pb(e,137)._ariaDescribedby||null,l.Pb(e,137).errorState,l.Pb(e,137).required.toString()]),t(e,139,1,["standard"==l.Pb(e,140).appearance,"fill"==l.Pb(e,140).appearance,"outline"==l.Pb(e,140).appearance,"legacy"==l.Pb(e,140).appearance,l.Pb(e,140)._control.errorState,l.Pb(e,140)._canLabelFloat,l.Pb(e,140)._shouldLabelFloat(),l.Pb(e,140)._hasFloatingLabel(),l.Pb(e,140)._hideControlPlaceholder(),l.Pb(e,140)._control.disabled,l.Pb(e,140)._control.autofilled,l.Pb(e,140)._control.focused,"accent"==l.Pb(e,140).color,"warn"==l.Pb(e,140).color,l.Pb(e,140)._shouldForward("untouched"),l.Pb(e,140)._shouldForward("touched"),l.Pb(e,140)._shouldForward("pristine"),l.Pb(e,140)._shouldForward("dirty"),l.Pb(e,140)._shouldForward("valid"),l.Pb(e,140)._shouldForward("invalid"),l.Pb(e,140)._shouldForward("pending"),!l.Pb(e,140)._animationsEnabled]),t(e,150,1,[l.Pb(e,152).autocompleteAttribute,l.Pb(e,152).autocompleteDisabled?null:"combobox",l.Pb(e,152).autocompleteDisabled?null:"list",l.Pb(e,152).panelOpen&&l.Pb(e,152).activeOption?l.Pb(e,152).activeOption.id:null,l.Pb(e,152).autocompleteDisabled?null:l.Pb(e,152).panelOpen.toString(),l.Pb(e,152).autocompleteDisabled||!l.Pb(e,152).panelOpen||null==l.Pb(e,152).autocomplete?null:l.Pb(e,152).autocomplete.id,!l.Pb(e,152).autocompleteDisabled,l.Pb(e,156).ngClassUntouched,l.Pb(e,156).ngClassTouched,l.Pb(e,156).ngClassPristine,l.Pb(e,156).ngClassDirty,l.Pb(e,156).ngClassValid,l.Pb(e,156).ngClassInvalid,l.Pb(e,156).ngClassPending,l.Pb(e,157)._isServer,l.Pb(e,157).id,l.Pb(e,157).placeholder,l.Pb(e,157).disabled,l.Pb(e,157).required,l.Pb(e,157).readonly&&!l.Pb(e,157)._isNativeSelect||null,l.Pb(e,157)._ariaDescribedby||null,l.Pb(e,157).errorState,l.Pb(e,157).required.toString()]),t(e,170,1,["standard"==l.Pb(e,171).appearance,"fill"==l.Pb(e,171).appearance,"outline"==l.Pb(e,171).appearance,"legacy"==l.Pb(e,171).appearance,l.Pb(e,171)._control.errorState,l.Pb(e,171)._canLabelFloat,l.Pb(e,171)._shouldLabelFloat(),l.Pb(e,171)._hasFloatingLabel(),l.Pb(e,171)._hideControlPlaceholder(),l.Pb(e,171)._control.disabled,l.Pb(e,171)._control.autofilled,l.Pb(e,171)._control.focused,"accent"==l.Pb(e,171).color,"warn"==l.Pb(e,171).color,l.Pb(e,171)._shouldForward("untouched"),l.Pb(e,171)._shouldForward("touched"),l.Pb(e,171)._shouldForward("pristine"),l.Pb(e,171)._shouldForward("dirty"),l.Pb(e,171)._shouldForward("valid"),l.Pb(e,171)._shouldForward("invalid"),l.Pb(e,171)._shouldForward("pending"),!l.Pb(e,171)._animationsEnabled]),t(e,181,1,[l.Pb(e,183).autocompleteAttribute,l.Pb(e,183).autocompleteDisabled?null:"combobox",l.Pb(e,183).autocompleteDisabled?null:"list",l.Pb(e,183).panelOpen&&l.Pb(e,183).activeOption?l.Pb(e,183).activeOption.id:null,l.Pb(e,183).autocompleteDisabled?null:l.Pb(e,183).panelOpen.toString(),l.Pb(e,183).autocompleteDisabled||!l.Pb(e,183).panelOpen||null==l.Pb(e,183).autocomplete?null:l.Pb(e,183).autocomplete.id,!l.Pb(e,183).autocompleteDisabled,l.Pb(e,187).ngClassUntouched,l.Pb(e,187).ngClassTouched,l.Pb(e,187).ngClassPristine,l.Pb(e,187).ngClassDirty,l.Pb(e,187).ngClassValid,l.Pb(e,187).ngClassInvalid,l.Pb(e,187).ngClassPending,l.Pb(e,188)._isServer,l.Pb(e,188).id,l.Pb(e,188).placeholder,l.Pb(e,188).disabled,l.Pb(e,188).required,l.Pb(e,188).readonly&&!l.Pb(e,188)._isNativeSelect||null,l.Pb(e,188)._ariaDescribedby||null,l.Pb(e,188).errorState,l.Pb(e,188).required.toString()]),t(e,202,1,["standard"==l.Pb(e,203).appearance,"fill"==l.Pb(e,203).appearance,"outline"==l.Pb(e,203).appearance,"legacy"==l.Pb(e,203).appearance,l.Pb(e,203)._control.errorState,l.Pb(e,203)._canLabelFloat,l.Pb(e,203)._shouldLabelFloat(),l.Pb(e,203)._hasFloatingLabel(),l.Pb(e,203)._hideControlPlaceholder(),l.Pb(e,203)._control.disabled,l.Pb(e,203)._control.autofilled,l.Pb(e,203)._control.focused,"accent"==l.Pb(e,203).color,"warn"==l.Pb(e,203).color,l.Pb(e,203)._shouldForward("untouched"),l.Pb(e,203)._shouldForward("touched"),l.Pb(e,203)._shouldForward("pristine"),l.Pb(e,203)._shouldForward("dirty"),l.Pb(e,203)._shouldForward("valid"),l.Pb(e,203)._shouldForward("invalid"),l.Pb(e,203)._shouldForward("pending"),!l.Pb(e,203)._animationsEnabled]),t(e,213,1,[l.Pb(e,219).ngClassUntouched,l.Pb(e,219).ngClassTouched,l.Pb(e,219).ngClassPristine,l.Pb(e,219).ngClassDirty,l.Pb(e,219).ngClassValid,l.Pb(e,219).ngClassInvalid,l.Pb(e,219).ngClassPending,l.Pb(e,220)._isServer,l.Pb(e,220).id,l.Pb(e,220).placeholder,l.Pb(e,220).disabled,l.Pb(e,220).required,l.Pb(e,220).readonly&&!l.Pb(e,220)._isNativeSelect||null,l.Pb(e,220)._ariaDescribedby||null,l.Pb(e,220).errorState,l.Pb(e,220).required.toString()]),t(e,226,1,["standard"==l.Pb(e,227).appearance,"fill"==l.Pb(e,227).appearance,"outline"==l.Pb(e,227).appearance,"legacy"==l.Pb(e,227).appearance,l.Pb(e,227)._control.errorState,l.Pb(e,227)._canLabelFloat,l.Pb(e,227)._shouldLabelFloat(),l.Pb(e,227)._hasFloatingLabel(),l.Pb(e,227)._hideControlPlaceholder(),l.Pb(e,227)._control.disabled,l.Pb(e,227)._control.autofilled,l.Pb(e,227)._control.focused,"accent"==l.Pb(e,227).color,"warn"==l.Pb(e,227).color,l.Pb(e,227)._shouldForward("untouched"),l.Pb(e,227)._shouldForward("touched"),l.Pb(e,227)._shouldForward("pristine"),l.Pb(e,227)._shouldForward("dirty"),l.Pb(e,227)._shouldForward("valid"),l.Pb(e,227)._shouldForward("invalid"),l.Pb(e,227)._shouldForward("pending"),!l.Pb(e,227)._animationsEnabled]),t(e,237,1,[l.Pb(e,243).ngClassUntouched,l.Pb(e,243).ngClassTouched,l.Pb(e,243).ngClassPristine,l.Pb(e,243).ngClassDirty,l.Pb(e,243).ngClassValid,l.Pb(e,243).ngClassInvalid,l.Pb(e,243).ngClassPending,l.Pb(e,244)._isServer,l.Pb(e,244).id,l.Pb(e,244).placeholder,l.Pb(e,244).disabled,l.Pb(e,244).required,l.Pb(e,244).readonly&&!l.Pb(e,244)._isNativeSelect||null,l.Pb(e,244)._ariaDescribedby||null,l.Pb(e,244).errorState,l.Pb(e,244).required.toString()]),t(e,250,0,l.Pb(e,251).disabled||null,"NoopAnimations"===l.Pb(e,251)._animationMode)}))}var W=n("8rEH"),$=n("zQui"),X=n("gavF"),K=n("oBZk"),J=n("ZZ/e"),Q=n("2Q+G"),Z=n("pIm3"),tt=n("pEI0"),et=n("Mc5n"),nt=n("s6ns"),lt=n("dk3J"),it=n("svHU"),rt=n("xhS3"),ot=n("7/LY"),at=n("YGmB");n.d(e,"a",(function(){return Bt}));var st=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content} .mat-dialog-content{margin:0;padding:0}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.ghost-operations[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between}.ghost-table[_ngcontent-%COMP%]{overflow:auto}table[_ngcontent-%COMP%]{border-spacing:0}th[_ngcontent-%COMP%]{text-align:left;font-weight:var(--table-header-font-weight);background-color:var(--ion-color-primary);color:#fff;text-transform:uppercase}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--ion-color-light)}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:var(--table-cell-padding-y) var(--table-cell-padding-x);line-height:inherit;vertical-align:center;min-width:120px}"]],data:{}});function ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-ghost-form",[],null,[[null,"changePage"]],(function(t,e,n){var l=!0;return"changePage"===e&&(l=!1!==t.component.goArrayGhost()&&l),l}),q,N)),l.Cb(2,114688,null,0,L,[d.f,j.a,R.a,F.a],{ghost:[0,"ghost"]},{changePage:"changePage"})],(function(t,e){t(e,2,0,e.component.currentGhost)}),null)}function ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null)],null,null)}function dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,28,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),a.b,a.a)),l.Cb(3,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(4,1196032,null,0,X.g,[_.c,l.p,l.Y,X.c,[2,X.d],[8,null],[2,p.b],u.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,K.y,K.g)),l.Cb(6,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,21,"mat-menu",[],null,null,null,Q.d,Q.b)),l.Cb(8,1294336,[["menu",4]],3,X.h,[l.p,l.G,X.a],null,null),l.Ub(603979776,21,{_allItems:1}),l.Ub(603979776,22,{items:1}),l.Ub(603979776,23,{lazyContent:0}),l.Tb(2048,null,X.d,null,[X.h]),l.Tb(2048,null,X.b,null,[X.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.selectGhost(t.context.$implicit.icao)&&i),i}),Q.c,Q.a)),l.Cb(15,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,K.y,K.g)),l.Cb(17,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Select "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.goFormGhost(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(20,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,K.y,K.g)),l.Cb(22,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(24,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,25)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,25)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteGhost(t.context.$implicit.icao)&&i),i}),Q.c,Q.a)),l.Cb(25,180224,[[21,4],[22,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(26,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,K.y,K.g)),l.Cb(27,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"eye"),t(e,22,0,"create"),t(e,27,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null),t(e,24,0,l.Pb(e,25).role,l.Pb(e,25)._highlighted,l.Pb(e,25)._triggersSubmenu,l.Pb(e,25)._getTabIndex(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).disabled||null)}))}function ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" TTL (min) "]))],null,null)}function pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "])),l.Sb(3,1)],null,(function(t,e){var n=l.Xb(e,2,0,t(e,3,0,l.Pb(e.parent.parent,0),e.context.$implicit.ttl));t(e,2,0,n)}))}function ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" icao "]))],null,null)}function bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.icao)}))}function mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" latitude "]))],null,null)}function gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){var n=e.context.$implicit.latitude.toFixed(4);t(e,2,0,n)}))}function _t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" longitude "]))],null,null)}function yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){var n=e.context.$implicit.longitude.toFixed(4);t(e,2,0,n)}))}function At(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" altitude "]))],null,null)}function vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.altitude)}))}function Ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" track "]))],null,null)}function wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.track)}))}function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" vitesse "]))],null,null)}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.speed)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" vsi "]))],null,null)}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.vsi)}))}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" callsign "]))],null,null)}function Ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.callsign)}))}function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" airport to "]))],null,null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.toIcao)}))}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Type d'a\xe9ronef "]))],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.icaoTypeCode)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.e,[$.d,l.p],null,null)],null,null)}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,W.a,[$.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),a.b,a.a)),l.Cb(3,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(4,1196032,null,0,X.g,[_.c,l.p,l.Y,X.c,[2,X.d],[8,null],[2,p.b],u.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,K.y,K.g)),l.Cb(6,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,Q.d,Q.b)),l.Cb(8,1294336,[["menu",4]],3,X.h,[l.p,l.G,X.a],null,null),l.Ub(603979776,60,{_allItems:1}),l.Ub(603979776,61,{items:1}),l.Ub(603979776,62,{lazyContent:0}),l.Tb(2048,null,X.d,null,[X.h]),l.Tb(2048,null,X.b,null,[X.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openDialogGhostItem(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(15,180224,[[60,4],[61,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,K.y,K.g)),l.Cb(17,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openDialog(t.context.$implicit)&&i),i}),Q.c,Q.a)),l.Cb(20,180224,[[60,4],[61,4]],0,X.e,[l.p,y.d,u.h,[2,X.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,K.y,K.g)),l.Cb(22,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,Z.d,Z.a)),l.Tb(6144,null,$.k,null,[W.g]),l.Cb(2,49152,null,0,W.g,[],null,null)],null,null)}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,Z.e,Z.b)),l.Tb(6144,null,$.m,null,[W.i]),l.Cb(2,49152,null,0,W.i,[],null,null)],null,null)}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,203,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"div",[["class","ghost-operations"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(3,7520256,null,9,o.c,[l.p,l.j,[2,r.j],[2,p.b],[2,o.a],f.a,l.G,[2,c.a]],null,null),l.Ub(603979776,5,{_controlNonStatic:0}),l.Ub(335544320,6,{_controlStatic:0}),l.Ub(603979776,7,{_labelChildNonStatic:0}),l.Ub(335544320,8,{_labelChildStatic:0}),l.Ub(603979776,9,{_placeholderChild:0}),l.Ub(603979776,10,{_errorChildren:1}),l.Ub(603979776,11,{_hintChildren:1}),l.Ub(603979776,12,{_prefixChildren:1}),l.Ub(603979776,13,{_suffixChildren:1}),(t()(),l.Db(13,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,14)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,14)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,14)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(14,999424,null,0,b.b,[l.p,f.a,[8,null],[2,d.s],[2,d.k],r.d,[8,null],m.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[5,4],[6,4]],o.d,null,[b.b]),(t()(),l.Db(16,0,null,null,4,"button",[["class","btn"],["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goFormGhost()&&l),l}),a.b,a.a)),l.Cb(17,180224,null,0,s.b,[l.p,u.h,[2,c.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(19,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,K.y,K.g)),l.Cb(20,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(21,0,null,null,182,"div",[["class","ghost-table"]],null,null,null,null,null)),(t()(),l.Db(22,0,null,null,181,"table",[["class","mat-table"],["mat-table",""]],null,null,null,Z.f,Z.c)),l.Tb(6144,null,$.o,null,[W.k]),l.Cb(24,2342912,[[1,4]],4,W.k,[l.y,l.j,l.p,[8,null],[2,p.b],y.d,f.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,14,{_contentColumnDefs:1}),l.Ub(603979776,15,{_contentRowDefs:1}),l.Ub(603979776,16,{_contentHeaderRowDefs:1}),l.Ub(603979776,17,{_contentFooterRowDefs:1}),(t()(),l.Db(29,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(31,16384,null,3,W.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,18,{cell:0}),l.Ub(603979776,19,{headerCell:0}),l.Ub(603979776,20,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ct)),l.Cb(37,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[19,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,dt)),l.Cb(40,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[18,4]],$.b,null,[W.b]),(t()(),l.Db(42,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(44,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,24,{cell:0}),l.Ub(603979776,25,{headerCell:0}),l.Ub(603979776,26,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ht)),l.Cb(50,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[25,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,pt)),l.Cb(53,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[24,4]],$.b,null,[W.b]),(t()(),l.Db(55,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(57,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,27,{cell:0}),l.Ub(603979776,28,{headerCell:0}),l.Ub(603979776,29,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,ft)),l.Cb(63,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[28,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,bt)),l.Cb(66,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[27,4]],$.b,null,[W.b]),(t()(),l.Db(68,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(70,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,30,{cell:0}),l.Ub(603979776,31,{headerCell:0}),l.Ub(603979776,32,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,mt)),l.Cb(76,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[31,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,gt)),l.Cb(79,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[30,4]],$.b,null,[W.b]),(t()(),l.Db(81,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(83,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,33,{cell:0}),l.Ub(603979776,34,{headerCell:0}),l.Ub(603979776,35,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,_t)),l.Cb(89,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[34,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,yt)),l.Cb(92,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[33,4]],$.b,null,[W.b]),(t()(),l.Db(94,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(96,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,36,{cell:0}),l.Ub(603979776,37,{headerCell:0}),l.Ub(603979776,38,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,At)),l.Cb(102,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[37,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,vt)),l.Cb(105,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[36,4]],$.b,null,[W.b]),(t()(),l.Db(107,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(109,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,39,{cell:0}),l.Ub(603979776,40,{headerCell:0}),l.Ub(603979776,41,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Ct)),l.Cb(115,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[40,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,wt)),l.Cb(118,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[39,4]],$.b,null,[W.b]),(t()(),l.Db(120,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(122,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,42,{cell:0}),l.Ub(603979776,43,{headerCell:0}),l.Ub(603979776,44,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Pt)),l.Cb(128,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[43,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,xt)),l.Cb(131,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[42,4]],$.b,null,[W.b]),(t()(),l.Db(133,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(135,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,45,{cell:0}),l.Ub(603979776,46,{headerCell:0}),l.Ub(603979776,47,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,St)),l.Cb(141,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[46,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,kt)),l.Cb(144,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[45,4]],$.b,null,[W.b]),(t()(),l.Db(146,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(148,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,48,{cell:0}),l.Ub(603979776,49,{headerCell:0}),l.Ub(603979776,50,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Mt)),l.Cb(154,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[49,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,Ot)),l.Cb(157,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[48,4]],$.b,null,[W.b]),(t()(),l.Db(159,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(161,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,51,{cell:0}),l.Ub(603979776,52,{headerCell:0}),l.Ub(603979776,53,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Dt)),l.Cb(167,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[52,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,Tt)),l.Cb(170,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[51,4]],$.b,null,[W.b]),(t()(),l.Db(172,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(174,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,54,{cell:0}),l.Ub(603979776,55,{headerCell:0}),l.Ub(603979776,56,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(180,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[55,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,It)),l.Cb(183,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[54,4]],$.b,null,[W.b]),(t()(),l.Db(185,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[W.c]),l.Cb(187,16384,null,3,W.c,[],{name:[0,"name"]},null),l.Ub(603979776,57,{cell:0}),l.Ub(603979776,58,{headerCell:0}),l.Ub(603979776,59,{footerCell:0}),l.Tb(2048,[[14,4]],$.d,null,[W.c]),(t()(),l.sb(0,null,null,2,null,Lt)),l.Cb(193,16384,null,0,W.f,[l.U],null,null),l.Tb(2048,[[58,4]],$.j,null,[W.f]),(t()(),l.sb(0,null,null,2,null,jt)),l.Cb(196,16384,null,0,W.b,[l.U],null,null),l.Tb(2048,[[57,4]],$.b,null,[W.b]),(t()(),l.sb(0,null,null,2,null,Rt)),l.Cb(199,540672,null,0,W.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[16,4]],$.l,null,[W.h]),(t()(),l.sb(0,null,null,2,null,Ft)),l.Cb(202,540672,null,0,W.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[15,4]],$.n,null,[W.j])],(function(t,e){var n=e.component;t(e,14,0,"Filter"),t(e,17,0,"warn"),t(e,20,0,"add"),t(e,24,0,n.dataSource),t(e,31,0,"operation",""),t(e,44,0,"TTL"),t(e,57,0,"icao"),t(e,70,0,"latitude"),t(e,83,0,"longitude"),t(e,96,0,"altitude"),t(e,109,0,"track"),t(e,122,0,"speed"),t(e,135,0,"vsi"),t(e,148,0,"callsign"),t(e,161,0,"airport_to"),t(e,174,0,"icao_type_code"),t(e,187,0,"options"),t(e,199,0,n.displayedColumns),t(e,202,0,n.displayedColumns)}),(function(t,e){t(e,2,1,["standard"==l.Pb(e,3).appearance,"fill"==l.Pb(e,3).appearance,"outline"==l.Pb(e,3).appearance,"legacy"==l.Pb(e,3).appearance,l.Pb(e,3)._control.errorState,l.Pb(e,3)._canLabelFloat,l.Pb(e,3)._shouldLabelFloat(),l.Pb(e,3)._hasFloatingLabel(),l.Pb(e,3)._hideControlPlaceholder(),l.Pb(e,3)._control.disabled,l.Pb(e,3)._control.autofilled,l.Pb(e,3)._control.focused,"accent"==l.Pb(e,3).color,"warn"==l.Pb(e,3).color,l.Pb(e,3)._shouldForward("untouched"),l.Pb(e,3)._shouldForward("touched"),l.Pb(e,3)._shouldForward("pristine"),l.Pb(e,3)._shouldForward("dirty"),l.Pb(e,3)._shouldForward("valid"),l.Pb(e,3)._shouldForward("invalid"),l.Pb(e,3)._shouldForward("pending"),!l.Pb(e,3)._animationsEnabled]),t(e,13,0,l.Pb(e,14)._isServer,l.Pb(e,14).id,l.Pb(e,14).placeholder,l.Pb(e,14).disabled,l.Pb(e,14).required,l.Pb(e,14).readonly&&!l.Pb(e,14)._isNativeSelect||null,l.Pb(e,14)._ariaDescribedby||null,l.Pb(e,14).errorState,l.Pb(e,14).required.toString()),t(e,16,0,l.Pb(e,17).disabled||null,"NoopAnimations"===l.Pb(e,17)._animationMode)}))}function Yt(t){return l.Yb(0,[l.Qb(0,tt.a,[]),l.Ub(671088640,1,{table:0}),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),K.y,K.g)),l.Cb(3,49152,null,0,J.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(4,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","ghost"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(5,4866048,null,3,et.c,[l.p,[3,et.b],y.d,l.G,l.Y,et.a,[2,p.b],et.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),l.Tb(2048,null,et.l,null,[et.c]),l.Cb(10,147456,[[2,4]],0,et.d,[l.p,[2,et.l]],null,null),l.Cb(11,81920,null,0,nt.m,[[2,nt.l],l.p,nt.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["GHOST"])),(t()(),l.sb(16777216,null,null,1,null,ut)),l.Cb(14,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nt)),l.Cb(16,16384,null,0,y.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,"close"),t(e,5,0,".cdk-overlay-pane"),t(e,11,0,"ghost"),t(e,14,0,"FormGhost"==n.modePage),t(e,16,0,"ArrayGhost"==n.modePage)}),(function(t,e){t(e,4,0,l.Pb(e,5).disabled,l.Pb(e,5)._dragRef.isDragging(),l.Pb(e,11).id)}))}function Ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-ghostdialog",[],null,null,null,Yt,st)),l.Cb(1,245760,null,0,lt.a,[it.a,rt.a,j.a,ot.b,at.a,nt.l,nt.a],null,null)],(function(t,e){t(e,1,0)}),null)}var Bt=l.zb("sepia-ghostdialog",lt.a,Ut,{},{},[])},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"}))},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IP0z:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var l=n("SVse"),i=n("8Y7J");const r=new i.w("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.gb)(l.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.r,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(r,8))},token:t,providedIn:"root"}),t})();class a{}},IbxR:function(t,e,n){"use strict";var l,i=n("4wAk"),r=n("B2q1"),o=n("OQAH"),a=n("zX6e"),s=n("ykKD"),u=n("AdTM"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function d(t){var e=t.frameState;if(e){var n=e.viewState.rotation;if(n!=this.rotation_){var l="rotate("+n+"rad)";if(this.autoHide_){var i=this.element.classList.contains(a.c);i||0!==n?i&&0!==n&&this.element.classList.remove(a.c):this.element.classList.add(a.c)}this.label_.style.transform=l}this.rotation_=n}}var h=function(t){function e(e){var n=this,l=e||{};n=t.call(this,{element:document.createElement("div"),render:l.render||d,target:l.target})||this;var i=void 0!==l.className?l.className:"ol-rotate",r=void 0!==l.label?l.label:"\u21e7";n.label_=null,"string"==typeof r?(n.label_=document.createElement("span"),n.label_.className="ol-compass",n.label_.textContent=r):(n.label_=r,n.label_.classList.add("ol-compass"));var o=l.tipLabel?l.tipLabel:"Reset rotation",s=document.createElement("button");s.className=i+"-reset",s.setAttribute("type","button"),s.title=o,s.appendChild(n.label_),s.addEventListener(u.a.CLICK,n.handleClick_.bind(n),!1);var c=n.element;return c.className=i+" "+a.e+" "+a.b,c.appendChild(s),n.callResetNorth_=l.resetNorth?l.resetNorth:void 0,n.duration_=void 0!==l.duration?l.duration:250,n.autoHide_=void 0===l.autoHide||l.autoHide,n.rotation_=void 0,n.autoHide_&&n.element.classList.add(a.c),n}return c(e,t),e.prototype.handleClick_=function(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()},e.prototype.resetNorth_=function(){var t=this.getMap().getView();if(t){var e=t.getRotation();void 0!==e&&(this.duration_>0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:s.b}):t.setRotation(0))}},e}(o.a),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e){var n=this,l=e||{};n=t.call(this,{element:document.createElement("div"),target:l.target})||this;var i=void 0!==l.className?l.className:"ol-zoom",r=void 0!==l.delta?l.delta:1,o=void 0!==l.zoomInLabel?l.zoomInLabel:"+",s=void 0!==l.zoomOutLabel?l.zoomOutLabel:"\u2212",c=void 0!==l.zoomInTipLabel?l.zoomInTipLabel:"Zoom in",d=void 0!==l.zoomOutTipLabel?l.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=i+"-in",h.setAttribute("type","button"),h.title=c,h.appendChild("string"==typeof o?document.createTextNode(o):o),h.addEventListener(u.a.CLICK,n.handleClick_.bind(n,r),!1);var p=document.createElement("button");p.className=i+"-out",p.setAttribute("type","button"),p.title=d,p.appendChild("string"==typeof s?document.createTextNode(s):s),p.addEventListener(u.a.CLICK,n.handleClick_.bind(n,-r),!1);var f=n.element;return f.className=i+" "+a.e+" "+a.b,f.appendChild(h),f.appendChild(p),n.duration_=void 0!==l.duration?l.duration:250,n}return p(e,t),e.prototype.handleClick_=function(t,e){e.preventDefault(),this.zoomByDelta_(t)},e.prototype.zoomByDelta_=function(t){var e=this.getMap().getView();if(e){var n=e.getZoom();if(void 0!==n){var l=e.getConstrainedZoom(n+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:l,duration:this.duration_,easing:s.b})):e.setZoom(l)}}},e}(o.a);function b(t){var e=t||{},n=new i.a;return(void 0===e.zoom||e.zoom)&&n.push(new f(e.zoomOptions)),(void 0===e.rotate||e.rotate)&&n.push(new h(e.rotateOptions)),(void 0===e.attribution||e.attribution)&&n.push(new r.a(e.attributionOptions)),n}n.d(e,"a",(function(){return b}))},IheW:function(t,e,n){"use strict";n.d(e,"o",(function(){return E})),n.d(e,"r",(function(){return F})),n.d(e,"s",(function(){return N})),n.d(e,"p",(function(){return L})),n.d(e,"q",(function(){return j})),n.d(e,"b",(function(){return d})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return S})),n.d(e,"g",(function(){return h})),n.d(e,"a",(function(){return M})),n.d(e,"d",(function(){return B})),n.d(e,"e",(function(){return U})),n.d(e,"n",(function(){return Y})),n.d(e,"h",(function(){return b})),n.d(e,"i",(function(){return y})),n.d(e,"j",(function(){return w})),n.d(e,"k",(function(){return I})),n.d(e,"m",(function(){return T})),n.d(e,"l",(function(){return R}));var l=n("8Y7J"),i=n("LRne"),r=n("HDdC"),o=n("bOdf"),a=n("pLZG"),s=n("lJxs"),u=n("SVse");class c{}class d{}class h{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),l=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,l),this.headers.has(l)?this.headers.get(l).push(i):this.headers.set(l,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const l=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(l,n),this.maybeSetNormalizedName(e,l))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new h;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const l=("a"===t.op?this.headers.get(e):void 0)||[];l.push(...n),this.headers.set(e,l);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class b{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const l=t.indexOf("="),[i,r]=-1==l?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,l)),e.decodeValue(t.slice(l+1))],o=n.get(i)||[];o.push(r),n.set(i,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).join("&")}clone(t){const e=new b({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function m(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function g(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,l){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==n?n:null,i=l):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new h),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new b,this.urlWithParams=e}serializeBody(){return null===this.body?null:m(this.body)||g(this.body)||_(this.body)||"string"==typeof this.body?this.body:this.body instanceof b?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_(this.body)?null:g(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof b?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,l=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,s=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(s=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),s)),new y(e,n,i,{params:s,headers:a,reportProgress:o,responseType:l,withCredentials:r})}}const A=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class v{constructor(t,e=200,n="OK"){this.headers=t.headers||new h,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class C extends v{constructor(t={}){super(t),this.type=A.ResponseHeader}clone(t={}){return new C({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class w extends v{constructor(t={}){super(t),this.type=A.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new w({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class P extends v{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function x(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}class S{constructor(t){this.handler=t}request(t,e,n={}){let l;if(t instanceof y)l=t;else{let i=void 0;i=n.headers instanceof h?n.headers:new h(n.headers);let r=void 0;n.params&&(r=n.params instanceof b?n.params:new b({fromObject:n.params})),l=new y(t,e,void 0!==n.body?n.body:null,{headers:i,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Object(i.a)(l).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return r;const u=r.pipe(Object(a.a)(t=>t instanceof w));switch(n.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return u.pipe(Object(s.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return u.pipe(Object(s.a)(t=>t.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new b).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,x(n,e))}post(t,e,n={}){return this.request("POST",t,x(n,e))}put(t,e,n={}){return this.request("PUT",t,x(n,e))}}class k{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const M=new l.w("HTTP_INTERCEPTORS");class O{intercept(t,e){return e.handle(t)}}const D=/^\)\]\}',?\n/;class T{}class E{constructor(){}build(){return new XMLHttpRequest}}class I{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new r.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const l=t.serializeBody();let i=null;const r=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,l=n.statusText||"OK",r=new h(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new C({headers:r,status:e,statusText:l,url:o}),i},o=()=>{let{headers:l,status:i,statusText:o,url:a}=r(),s=null;204!==i&&(s=void 0===n.response?n.responseText:n.response),0===i&&(i=s?200:0);let u=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof s){const t=s;s=s.replace(D,"");try{s=""!==s?JSON.parse(s):null}catch(c){s=t,u&&(u=!1,s={error:c,text:s})}}u?(e.next(new w({body:s,headers:l,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new P({error:s,headers:l,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:l}=r(),i=new P({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:l||void 0});e.error(i)};let s=!1;const u=l=>{s||(e.next(r()),s=!0);let i={type:A.DownloadProgress,loaded:l.loaded};l.lengthComputable&&(i.total=l.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},c=t=>{let n={type:A.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",u),null!==l&&n.upload&&n.upload.addEventListener("progress",c)),n.send(l),e.next({type:A.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",u),null!==l&&n.upload&&n.upload.removeEventListener("progress",c)),n.abort()}})}}const L=new l.w("XSRF_COOKIE_NAME"),j=new l.w("XSRF_HEADER_NAME");class R{}class F{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.G)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}class N{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const l=this.tokenService.getToken();return null===l||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,l)})),e.handle(t)}}class Y{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(M,[]);this.chain=t.reduceRight((t,e)=>new k(t,e),this.backend)}return this.chain.handle(t)}}class U{static disable(){return{ngModule:U,providers:[{provide:N,useClass:O}]}}static withOptions(t={}){return{ngModule:U,providers:[t.cookieName?{provide:L,useValue:t.cookieName}:[],t.headerName?{provide:j,useValue:t.headerName}:[]]}}}class B{}},IjjT:function(t,e,n){"use strict";let l=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,"a",(function(){return i}));class i extends l{constructor(t,e=l.now){super(t,()=>i.delegate&&i.delegate!==this?i.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},Io5N:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("oBZk"),o=n("ZZ/e"),a=n("Blz8"),s=n("pEI0");n("Al5c"),n("qToJ"),n("978D"),n("cUpR"),n("Y4ja"),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h}));var u=l.Bb({encapsulation:0,styles:[[".aircraft-header[_ngcontent-%COMP%]{display:flex;background-color:#fff;height:70px}.aircraft-header[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%]{width:30%}.aircraft-header[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;min-height:100%;height:100%}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding:5px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:180px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .last-msg-recent[_ngcontent-%COMP%]{color:#999;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .last-msg-old[_ngcontent-%COMP%]{color:red;font-size:10px}.aircraft-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:30px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"p",[],null,null,null,null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{ngClass:[0,"ngClass"]},null),l.Rb(3,{"last-msg-recent":0,"last-msg-old":1}),(t()(),l.Wb(4,null,[" Last message: "," "])),l.Sb(5,1)],(function(t,e){var n=e.component,l=t(e,3,0,n.timeNow-n.aircraft.updatedAt<=12e4,n.timeNow-n.aircraft.updatedAt>12e4);t(e,2,0,l)}),(function(t,e){var n=e.component,i=l.Xb(e,4,0,t(e,5,0,l.Pb(e.parent,1),n.timeNow-n.aircraft.updatedAt));t(e,4,0,i)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.close()&&l),l}),r.y,r.g)),l.Cb(1,49152,null,0,o.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function h(t){return l.Yb(2,[l.Qb(0,a.a,[]),l.Qb(0,s.a,[]),(t()(),l.Db(2,0,null,null,12,"div",[["class","aircraft-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"a",[["class","picture"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"img",[["alt","Aircraft picture"]],[[8,"src",4]],null,null,null,null)),(t()(),l.Db(5,0,null,null,7,"div",[["class","title"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,2,"h5",[],null,null,null,null,null)),(t()(),l.Wb(7,null,["","/",""])),l.Sb(8,1),(t()(),l.Db(9,0,null,null,1,"p",[["class","source"]],null,null,null,null,null)),(t()(),l.Wb(10,null,["Source: ",""])),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,12,0,n.allAircraft),t(e,14,0,n.allAircraft)}),(function(t,e){var n=e.component;t(e,3,0,n.cleanURL(n.aircraft.pictureUrl?n.aircraft.pictureUrl:"../../../../assets/images/default-aircraft.jpg")),t(e,4,0,l.Hb(1,"",n.aircraft.pictureUrl?n.aircraft.pictureUrl:"../../../../assets/images/default-aircraft.jpg",""));var i=n.aircraft.icao,r=l.Xb(e,7,1,t(e,8,0,l.Pb(e,0),n.aircraft.callsign));t(e,7,0,i,r),t(e,10,0,n.settingService.getFeedNames(n.aircraft.providers))}))}},It4K:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("Rlre"),r=n("rWV4"),o=n("8rEH"),a=n("zQui"),s=n("bujt"),u=n("Fwaw"),c=n("5GAg"),d=n("omvX"),h=n("oBZk"),p=n("ZZ/e"),f=n("SVse"),b=n("m46K"),m=n("7kcP"),g=n("gavF"),_=n("QQfA"),y=n("IP0z"),A=n("2Q+G"),v=n("pIm3"),C=n("NvT6"),w=n("W5yJ"),P=n("/HVE"),x=n("dJrM"),S=n("HsOI"),k=n("Xd0L"),M=n("ZwOa"),O=n("s7LF"),D=n("oapL"),T=n("b1+6"),E=n("OIZN"),I=n("oeKZ"),L=(n("G0WM"),n("wBRQ")),j=n("qToJ");class R{constructor(t,e,n,i){this.colorFilterService=t,this.keycloakService=e,this.focusAircraftService=n,this.settingService=i,this.openColorFilterForm=new l.r,this.displayedColumns=["show","focus","name","rank","color","isForAll","operation"],this.dataSource=new o.l,this.isLoading=!0}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.getColorFilter()}goToForm(t){this.openColorFilterForm.emit(t)}deleteColorFilter(t){this.colorFilterService.deleteOneBaseColorFilterControllerColorFilter({id:t.id}).subscribe(e=>{this.dataSource.data=this.dataSource.data.filter(e=>e.id!==t.id),this.focusAircraftService.setFleetFilter(t.fleet,!1)},t=>console.log("Error : get feeds",t))}toggleActivateColorFilter(t){if(t.activatedByIds){const e=t.activatedByIds.indexOf(this.keycloakService.client().subject);e>=0?(delete t.activatedByIds[e],this.focusAircraftService.setFleetFilter(t.fleet,!1)):t.activatedByIds.push(this.keycloakService.client().subject)}else t.activatedByIds=[this.keycloakService.client().subject];const e={id:t.id,body:{activatedBy:t.activatedByIds.map(t=>({id:t}))}};this.colorFilterService.updateOneBaseColorFilterControllerColorFilter(e).subscribe(e=>{t.activatedByIds.includes(this.keycloakService.client().subject)?this.settingService.addColorFilter(t):this.settingService.removeColorFilter(t)})}toggleFocusStatusOfColorFilter(t){this.focusAircraftService.toggleFleetFilter(t.fleet)}getColorFilter(){this.isLoading=!0;const t={or:["isForAll||eq||true","createdById||eq||"+this.keycloakService.client().subject],sort:["rank,ASC"],join:["fleet","fleet.fleetItems","activatedBy||id"]};this.colorFilterService.getManyBaseColorFilterControllerColorFilter(t).subscribe(t=>{this.dataSource.data=t.data,this.isLoading=!1})}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}isActivateColorFilter(t){return!!t.activatedByIds&&t.activatedByIds.indexOf(this.keycloakService.client().subject)>=0}isFocusedColorFilter(t){return this.focusAircraftService.getFleetFilter().some(e=>e.id===t.fleet.id)}}var F=n("Kurg"),N=l.Bb({encapsulation:0,styles:[[".control-color-aircrafts[_ngcontent-%COMP%] .control-color-aircrafts-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.control-color-aircrafts[_ngcontent-%COMP%] .control-color-aircrafts-table[_ngcontent-%COMP%]{overflow:auto}.control-color-aircrafts[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase}.control-color-aircrafts[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}.control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:first-child, .control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:nth-child(2){padding:0;border-right:1px solid #e0e0e0;width:65px;text-align:center}.control-color-aircrafts[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]:nth-child(3){padding-left:15px}.control-color-aircrafts[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:last-child{border-left:1px solid #e0e0e0;width:50px;padding:0}.control-color-aircrafts[_ngcontent-%COMP%] .pastil-color[_ngcontent-%COMP%]{height:25px;width:25px;border-radius:50%}"]],data:{}});function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Show "]))],null,null)}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"primary","eye")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","eye-off")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleActivateColorFilter(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateColorFilter",2]],null,0,null,B))],(function(t,e){t(e,3,0,e.component.isActivateColorFilter(e.context.$implicit),l.Pb(e,4))}),null)}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Focus "]))],null,null)}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","crop"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"primary","crop")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","crop"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","crop")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleFocusStatusOfColorFilter(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateColorFilter",2]],null,0,null,V))],(function(t,e){t(e,3,0,!0===e.component.isFocusedColorFilter(e.context.$implicit),l.Pb(e,4))}),null)}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Name "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function X(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Color "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function K(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Db(2,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,f.C,f.D,[l.p,l.z,l.M]),l.Cb(4,278528,null,0,f.q,[f.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(5,{"background-color":0})],(function(t,e){var n=t(e,5,0,e.context.$implicit.color);t(e,4,0,n)}),null)}function J(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Rank "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.rank)}))}function Z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Visibility "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"ion-icon",[["name","planet"]],null,null,null,h.y,h.g)),l.Cb(2,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,null,[" All "]))],(function(t,e){t(e,2,0,"planet")}),null)}function et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","person"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,null,[" Just me "]))],(function(t,e){t(e,1,0,"person")}),null)}function nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,tt)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["justMe",2]],null,0,null,et))],(function(t,e){t(e,3,0,e.context.$implicit.isForAll,l.Pb(e,4))}),null)}function lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null)],null,null)}function it(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,23,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Db(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==l.Pb(t,4)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,4)._handleKeydown(n)&&i),"click"===e&&(i=!1!==l.Pb(t,4)._handleClick(n)&&i),i}),s.b,s.a)),l.Cb(3,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),l.Cb(4,1196032,null,0,g.g,[_.c,l.p,l.Y,g.c,[2,g.d],[8,null],[2,y.b],c.h],{menu:[0,"menu"]},null),(t()(),l.Db(5,0,null,0,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(6,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(7,0,null,null,16,"mat-menu",[],null,null,null,A.d,A.b)),l.Cb(8,1294336,[["menu",4]],3,g.h,[l.p,l.G,g.a],null,null),l.Ub(603979776,37,{_allItems:1}),l.Ub(603979776,38,{items:1}),l.Ub(603979776,39,{lazyContent:0}),l.Tb(2048,null,g.d,null,[g.h]),l.Tb(2048,null,g.b,null,[g.d]),(t()(),l.Db(14,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,15)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,15)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.goToForm(t.context.$implicit)&&i),i}),A.c,A.a)),l.Cb(15,180224,[[37,4],[38,4]],0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(16,0,null,0,1,"ion-icon",[["name","create"]],null,null,null,h.y,h.g)),l.Cb(17,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Edit "])),(t()(),l.Db(19,0,null,0,4,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteColorFilter(t.context.$implicit)&&i),i}),A.c,A.a)),l.Cb(20,180224,[[37,4],[38,4]],0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,h.y,h.g)),l.Cb(22,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Wb(-1,0,[" Delete "]))],(function(t,e){t(e,4,0,l.Pb(e,8)),t(e,6,0,"more"),t(e,8,0),t(e,17,0,"create"),t(e,22,0,"trash")}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled||null,"NoopAnimations"===l.Pb(e,3)._animationMode,l.Pb(e,4).menuOpen||null),t(e,14,0,l.Pb(e,15).role,l.Pb(e,15)._highlighted,l.Pb(e,15)._triggersSubmenu,l.Pb(e,15)._getTabIndex(),l.Pb(e,15).disabled.toString(),l.Pb(e,15).disabled||null),t(e,19,0,l.Pb(e,20).role,l.Pb(e,20)._highlighted,l.Pb(e,20)._triggersSubmenu,l.Pb(e,20)._getTabIndex(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).disabled||null)}))}function rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,v.d,v.a)),l.Tb(6144,null,a.k,null,[o.g]),l.Cb(2,49152,null,0,o.g,[],null,null)],null,null)}function ot(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,v.e,v.b)),l.Tb(6144,null,a.m,null,[o.i]),l.Cb(2,49152,null,0,o.i,[],null,null)],null,null)}function at(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,C.c,C.a)),l.Cb(2,114688,null,0,w.b,[l.p,P.a,[2,f.d],[2,d.a],w.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function st(t){return l.Yb(0,[l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,130,"div",[["class","control-color-aircrafts"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,19,"div",[["class","control-color-aircrafts-header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(5,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(16,999424,null,0,M.b,[l.p,P.a,[8,null],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],S.d,null,[M.b]),(t()(),l.Db(18,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToForm()&&l),l}),s.b,s.a)),l.Cb(19,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(21,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(22,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(23,0,null,null,107,"div",[["class","control-color-aircrafts-table"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,104,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,v.f,v.c)),l.Tb(6144,null,a.o,null,[o.k]),l.Cb(26,737280,[[1,4]],0,m.b,[],null,null),l.Cb(27,2342912,null,4,o.k,[l.y,l.j,l.p,[8,null],[2,y.b],f.d,P.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(32,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(34,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Y)),l.Cb(40,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[17,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,z)),l.Cb(43,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[16,4]],a.b,null,[o.b]),(t()(),l.Db(45,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(47,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,G)),l.Cb(53,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[20,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,q)),l.Cb(56,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[19,4]],a.b,null,[o.b]),(t()(),l.Db(58,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(60,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,22,{cell:0}),l.Ub(603979776,23,{headerCell:0}),l.Ub(603979776,24,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,W)),l.Cb(66,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[23,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,$)),l.Cb(69,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[22,4]],a.b,null,[o.b]),(t()(),l.Db(71,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(73,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,25,{cell:0}),l.Ub(603979776,26,{headerCell:0}),l.Ub(603979776,27,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,X)),l.Cb(79,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[26,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,K)),l.Cb(82,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[25,4]],a.b,null,[o.b]),(t()(),l.Db(84,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(86,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,28,{cell:0}),l.Ub(603979776,29,{headerCell:0}),l.Ub(603979776,30,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,J)),l.Cb(92,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[29,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Q)),l.Cb(95,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[28,4]],a.b,null,[o.b]),(t()(),l.Db(97,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(99,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,31,{cell:0}),l.Ub(603979776,32,{headerCell:0}),l.Ub(603979776,33,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Z)),l.Cb(105,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[32,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,nt)),l.Cb(108,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[31,4]],a.b,null,[o.b]),(t()(),l.Db(110,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(112,16384,null,3,o.c,[],{name:[0,"name"],stickyEnd:[1,"stickyEnd"]},null),l.Ub(603979776,34,{cell:0}),l.Ub(603979776,35,{headerCell:0}),l.Ub(603979776,36,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,lt)),l.Cb(118,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[35,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,it)),l.Cb(121,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[34,4]],a.b,null,[o.b]),(t()(),l.sb(0,null,null,2,null,rt)),l.Cb(124,540672,null,0,o.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],a.l,null,[o.h]),(t()(),l.sb(0,null,null,2,null,ot)),l.Cb(127,540672,null,0,o.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],a.n,null,[o.j]),(t()(),l.sb(16777216,null,null,1,null,at)),l.Cb(130,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(131,0,null,null,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,T.b,T.a)),l.Cb(132,245760,[[2,4]],0,E.b,[E.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,16,0,"Filter"),t(e,19,0,"warn"),t(e,22,0,"add"),t(e,26,0),t(e,27,0,n.dataSource),t(e,34,0,"show",""),t(e,47,0,"focus",""),t(e,60,0,"name"),t(e,73,0,"color"),t(e,86,0,"rank"),t(e,99,0,"isForAll"),t(e,112,0,"operation",""),t(e,124,0,n.displayedColumns),t(e,127,0,n.displayedColumns),t(e,130,0,n.isLoading),t(e,132,0,50,"true","")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString()),t(e,18,0,l.Pb(e,19).disabled||null,"NoopAnimations"===l.Pb(e,19)._animationMode)}))}var ut=n("s6ns"),ct=n("6UMx"),dt=n("Q+lL"),ht=n("svHU"),pt=n("hUP0");class ft{constructor(t,e,n){this.mapService=t,this.keycloakService=e,this.lightDarkModeService=n,this.openFormLayer=new l.r,this.userRoles=[],this.layerGroupSelect=this.mapService.getMap().getLayerGroup().getLayers().getArray()[0],this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}changeOpacity(t,e){t.setOpacity(e.detail.value/100)}toggleVisibility(t){t.setVisible(!t.getVisible())}goToFormLayer(){this.openFormLayer.emit()}getLayerGroupSelect(t){const e=t.getLayers().getArray();return e.sort((t,e)=>t.values_.name?t.values_.name.toUpperCase():"null">e.values_.name.toUpperCase()?1:-1),e}}var bt=l.Bb({encapsulation:0,styles:[[".control-layer[_ngcontent-%COMP%]{padding-bottom:10px}.control-layer[_ngcontent-%COMP%] .import-layer[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:space-between}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%]{display:flex}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%;width:50%}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-child(1){border-right:1px solid grey}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%]{padding:10px}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{padding:0;cursor:pointer;color:var(--ion-color-primary);border-bottom:1px solid var(--ion-color-primary);font-weight:700;text-transform:uppercase}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:last-child{border:none}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%]{width:100%;padding:0 10px;display:flex;align-items:flex-end}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{flex-basis:70%;width:70%}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child p[_ngcontent-%COMP%]{margin:5px 0 0}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child ion-range[_ngcontent-%COMP%]{--height:20px}.control-layer[_ngcontent-%COMP%] .manage-layer[_ngcontent-%COMP%] .layerList[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex-basis:30%;width:30%}"]],data:{}});function mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","sunny"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"sunny")}),null)}function gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","moon"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"moon")}),null)}function _t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"div",[["class","import-layer"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,4,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToFormLayer()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Create New "])),(t()(),l.Db(4,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(5,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(6,0,null,null,5,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.lightDarkModeService.switchLightDarkMode()&&l),l}),h.u,h.c)),l.Cb(7,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.sb(16777216,null,0,1,null,mt)),l.Cb(9,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,gt)),l.Cb(11,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,5,0,"add"),t(e,7,0,"primary"),t(e,9,0,"dark"===n.lightDarkModeService.currentModeName),t(e,11,0,"light"===n.lightDarkModeService.currentModeName)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==(t.component.layerGroupSelect=t.context.$implicit)&&l),l}),ct.d,ct.b)),l.Cb(1,1228800,null,3,dt.b,[l.p,l.j,[2,dt.e],[2,dt.a]],null,null),l.Ub(603979776,1,{_lines:1}),l.Ub(603979776,2,{_avatar:0}),l.Ub(603979776,3,{_icon:0}),(t()(),l.Wb(5,2,[" "," "]))],null,(function(t,e){t(e,0,0,l.Pb(e,1)._avatar||l.Pb(e,1)._icon,l.Pb(e,1)._avatar||l.Pb(e,1)._icon);var n=e.context.$implicit.get("name");t(e,5,0,n)}))}function At(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary","eye")}),null)}function vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"danger","eye-off")}),null)}function Ct(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,16,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(4,16384,null,0,k.o,[],null,null),(t()(),l.Wb(5,null,["",""])),(t()(),l.Db(6,0,null,null,3,"ion-range",[["color","secondary"],["max","100"],["min","0"],["step","1"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,9)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,9)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changeOpacity(r.layerGroupSelect,n)&&i),i}),h.E,h.m)),l.Tb(5120,null,O.o,(function(t){return[t]}),[p.Jb]),l.Cb(8,49152,null,0,p.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(9,16384,null,0,p.Jb,[l.p],null,null),(t()(),l.Db(10,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.toggleVisibility(i.layerGroupSelect)&&l),l}),h.u,h.c)),l.Cb(12,49152,null,0,p.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,At)),l.Cb(14,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,vt)),l.Cb(16,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,8,0,"secondary","100","0","1",l.Hb(1,"",100*n.layerGroupSelect.getOpacity(),"")),t(e,12,0,"outline"),t(e,14,0,n.layerGroupSelect.getVisible()),t(e,16,0,!n.layerGroupSelect.getVisible())}),(function(t,e){t(e,5,0,e.component.layerGroupSelect.get("name"))}))}function wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"primary","eye")}),null)}function Pt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,1,0,"danger","eye-off")}),null)}function xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,15,"div",[["class","layerList"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"p",[["class","mat-line"],["matLine",""]],null,null,null,null,null)),l.Cb(3,16384,null,0,k.o,[],null,null),(t()(),l.Wb(4,null,["",""])),(t()(),l.Db(5,0,null,null,3,"ion-range",[["color","secondary"],["max","100"],["min","0"],["step","1"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,8)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,8)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changeOpacity(t.context.$implicit,n)&&i),i}),h.E,h.m)),l.Tb(5120,null,O.o,(function(t){return[t]}),[p.Jb]),l.Cb(7,49152,null,0,p.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(8,16384,null,0,p.Jb,[l.p],null,null),(t()(),l.Db(9,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,5,"ion-button",[["fill","outline"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleVisibility(t.context.$implicit)&&l),l}),h.u,h.c)),l.Cb(11,49152,null,0,p.i,[l.j,l.p,l.G],{fill:[0,"fill"]},null),(t()(),l.sb(16777216,null,0,1,null,wt)),l.Cb(13,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Pt)),l.Cb(15,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=l.Hb(1,"",100*e.context.$implicit.getOpacity(),"");t(e,7,0,"secondary","100","0","1",n),t(e,11,0,"outline");var i=e.context.$implicit.getVisible();t(e,13,0,i);var r=!e.context.$implicit.getVisible();t(e,15,0,r)}),(function(t,e){var n=e.context.$implicit.get("name");t(e,4,0,n)}))}function St(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,xt)),l.Cb(2,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.getLayerGroupSelect(n.layerGroupSelect))}),null)}function kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ct)),l.Cb(2,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,St)),l.Cb(4,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,null==n.layerGroupSelect.getLayers),t(e,4,0,null!=n.layerGroupSelect.getLayers)}),null)}function Mt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,9,"div",[["class","control-layer"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,_t)),l.Cb(2,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(3,0,null,null,6,"div",[["class","manage-layer"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,ct.e,ct.a)),l.Cb(5,704512,null,0,dt.a,[l.p],null,null),(t()(),l.sb(16777216,null,0,1,null,yt)),l.Cb(7,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,kt)),l.Cb(9,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0),t(e,7,0,n.mapService.getMap().getLayerGroup().getLayers().getArray()),t(e,9,0,null!=n.layerGroupSelect)}),null)}class Ot{constructor(t,e){this.feedService=t,this.keycloakService=e,this.displayedColumns=["show","name","host","port","latitude","longitude","rank"],this.dataSource=new o.l,this.isLoading=!0}ngOnInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.getFeeds()}getFeeds(){this.isLoading=!0,this.feedService.getManyBaseFeedControllerFeed().subscribe(t=>{this.dataSource.data=t.data,this.isLoading=!1},t=>console.log("Error : get feeds ",t))}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}toggleActivateFeed(t){if(t.activatedByIds){const e=t.activatedByIds.indexOf(this.keycloakService.client().subject);e>=0?delete t.activatedByIds[e]:t.activatedByIds.push(this.keycloakService.client().subject)}else t.activatedByIds=[this.keycloakService.client().subject];const e={id:t.id,body:{activatedBy:t.activatedByIds.map(t=>({id:t}))}};this.feedService.updateOneBaseFeedControllerFeed(e).subscribe()}isActivateFeed(t){return!!t.activatedByIds&&t.activatedByIds.indexOf(this.keycloakService.client().subject)>=0}}var Dt=n("5p+q"),Tt=l.Bb({encapsulation:0,styles:[[".control-feeds[_ngcontent-%COMP%] .control-feeds-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.control-feeds[_ngcontent-%COMP%] .control-feeds-table[_ngcontent-%COMP%]{overflow:auto}.control-feeds[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:800px}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase}.control-feeds[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}.control-feeds[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:first-child{padding:0;border-right:1px solid #e0e0e0;width:65px;text-align:center}.control-feeds[_ngcontent-%COMP%] .mat-table-sticky[_ngcontent-%COMP%]:last-child{border-left:1px solid #e0e0e0}.control-feeds[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]:nth-child(2){padding-left:15px}"]],data:{}});function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,null,[" Show "]))],null,null)}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","primary"],["name","eye"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"primary","eye")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(1,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["color","danger"],["name","eye-off"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],name:[1,"name"]},null)],(function(t,e){t(e,3,0,"danger","eye-off")}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleActivateFeed(t.context.$implicit)&&l),l}),null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,It)),l.Cb(3,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["noActivateFeed",2]],null,0,null,Lt))],(function(t,e){t(e,3,0,e.component.isActivateFeed(e.context.$implicit),l.Pb(e,4))}),null)}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Name "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.name)}))}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Host "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.host)}))}function Ut(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Port "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Bt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.port)}))}function zt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Latitude "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Gt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.latitude)}))}function Ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Longitude "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Vt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.longitude)}))}function qt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),b.b,b.a)),l.Cb(1,245760,null,0,m.c,[m.d,l.j,[2,m.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,o.e,[a.d,l.p],null,null),(t()(),l.Wb(-1,0,[" Rank "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled())}))}function Wt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,o.a,[a.d,l.p],null,null),(t()(),l.Wb(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.rank)}))}function $t(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,v.d,v.a)),l.Tb(6144,null,a.k,null,[o.g]),l.Cb(2,49152,null,0,o.g,[],null,null)],null,null)}function Xt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,v.e,v.b)),l.Tb(6144,null,a.m,null,[o.i]),l.Cb(2,49152,null,0,o.i,[],null,null)],null,null)}function Kt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,C.c,C.a)),l.Cb(2,114688,null,0,w.b,[l.p,P.a,[2,f.d],[2,d.a],w.a],{color:[0,"color"],diameter:[1,"diameter"],mode:[2,"mode"]},null)],(function(t,e){t(e,2,0,"primary","30","indeterminate")}),(function(t,e){t(e,1,0,l.Pb(e,2)._noopAnimations,l.Pb(e,2).diameter,l.Pb(e,2).diameter,"determinate"===l.Pb(e,2).mode?0:null,"determinate"===l.Pb(e,2).mode?100:null,"determinate"===l.Pb(e,2).mode?l.Pb(e,2).value:null,l.Pb(e,2).mode)}))}function Jt(t){return l.Yb(0,[l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(2,0,null,null,125,"div",[["class","control-feeds"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,14,"div",[["class","control-feeds-header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(5,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,16)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,16)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(16,999424,null,0,M.b,[l.p,P.a,[8,null],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],S.d,null,[M.b]),(t()(),l.Db(18,0,null,null,107,"div",[["class","control-feeds-table"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,104,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,v.f,v.c)),l.Tb(6144,null,a.o,null,[o.k]),l.Cb(21,737280,[[1,4]],0,m.b,[],null,null),l.Cb(22,2342912,null,4,o.k,[l.y,l.j,l.p,[8,null],[2,y.b],f.d,P.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.Db(27,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(29,16384,null,3,o.c,[],{name:[0,"name"],sticky:[1,"sticky"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Et)),l.Cb(35,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[17,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,jt)),l.Cb(38,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[16,4]],a.b,null,[o.b]),(t()(),l.Db(40,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(42,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,19,{cell:0}),l.Ub(603979776,20,{headerCell:0}),l.Ub(603979776,21,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Rt)),l.Cb(48,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[20,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Ft)),l.Cb(51,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[19,4]],a.b,null,[o.b]),(t()(),l.Db(53,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(55,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,22,{cell:0}),l.Ub(603979776,23,{headerCell:0}),l.Ub(603979776,24,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Nt)),l.Cb(61,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[23,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Yt)),l.Cb(64,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[22,4]],a.b,null,[o.b]),(t()(),l.Db(66,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(68,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,25,{cell:0}),l.Ub(603979776,26,{headerCell:0}),l.Ub(603979776,27,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Ut)),l.Cb(74,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[26,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Bt)),l.Cb(77,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[25,4]],a.b,null,[o.b]),(t()(),l.Db(79,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(81,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,28,{cell:0}),l.Ub(603979776,29,{headerCell:0}),l.Ub(603979776,30,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,zt)),l.Cb(87,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[29,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Gt)),l.Cb(90,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[28,4]],a.b,null,[o.b]),(t()(),l.Db(92,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(94,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,31,{cell:0}),l.Ub(603979776,32,{headerCell:0}),l.Ub(603979776,33,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,Ht)),l.Cb(100,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[32,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Vt)),l.Cb(103,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[31,4]],a.b,null,[o.b]),(t()(),l.Db(105,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[o.c]),l.Cb(107,16384,null,3,o.c,[],{name:[0,"name"]},null),l.Ub(603979776,34,{cell:0}),l.Ub(603979776,35,{headerCell:0}),l.Ub(603979776,36,{footerCell:0}),l.Tb(2048,[[12,4]],a.d,null,[o.c]),(t()(),l.sb(0,null,null,2,null,qt)),l.Cb(113,16384,null,0,o.f,[l.U],null,null),l.Tb(2048,[[35,4]],a.j,null,[o.f]),(t()(),l.sb(0,null,null,2,null,Wt)),l.Cb(116,16384,null,0,o.b,[l.U],null,null),l.Tb(2048,[[34,4]],a.b,null,[o.b]),(t()(),l.sb(0,null,null,2,null,$t)),l.Cb(119,540672,null,0,o.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],a.l,null,[o.h]),(t()(),l.sb(0,null,null,2,null,Xt)),l.Cb(122,540672,null,0,o.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],a.n,null,[o.j]),(t()(),l.sb(16777216,null,null,1,null,Kt)),l.Cb(125,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(126,0,null,null,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,T.b,T.a)),l.Cb(127,245760,[[2,4]],0,E.b,[E.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,16,0,"Filter"),t(e,21,0),t(e,22,0,n.dataSource),t(e,29,0,"show",""),t(e,42,0,"name"),t(e,55,0,"host"),t(e,68,0,"port"),t(e,81,0,"latitude"),t(e,94,0,"longitude"),t(e,107,0,"rank"),t(e,119,0,n.displayedColumns),t(e,122,0,n.displayedColumns),t(e,125,0,n.isLoading),t(e,127,0,50,"true","")}),(function(t,e){t(e,4,1,["standard"==l.Pb(e,5).appearance,"fill"==l.Pb(e,5).appearance,"outline"==l.Pb(e,5).appearance,"legacy"==l.Pb(e,5).appearance,l.Pb(e,5)._control.errorState,l.Pb(e,5)._canLabelFloat,l.Pb(e,5)._shouldLabelFloat(),l.Pb(e,5)._hasFloatingLabel(),l.Pb(e,5)._hideControlPlaceholder(),l.Pb(e,5)._control.disabled,l.Pb(e,5)._control.autofilled,l.Pb(e,5)._control.focused,"accent"==l.Pb(e,5).color,"warn"==l.Pb(e,5).color,l.Pb(e,5)._shouldForward("untouched"),l.Pb(e,5)._shouldForward("touched"),l.Pb(e,5)._shouldForward("pristine"),l.Pb(e,5)._shouldForward("dirty"),l.Pb(e,5)._shouldForward("valid"),l.Pb(e,5)._shouldForward("invalid"),l.Pb(e,5)._shouldForward("pending"),!l.Pb(e,5)._animationsEnabled]),t(e,15,0,l.Pb(e,16)._isServer,l.Pb(e,16).id,l.Pb(e,16).placeholder,l.Pb(e,16).disabled,l.Pb(e,16).required,l.Pb(e,16).readonly&&!l.Pb(e,16)._isNativeSelect||null,l.Pb(e,16)._ariaDescribedby||null,l.Pb(e,16).errorState,l.Pb(e,16).required.toString())}))}var Qt=n("MlvX"),Zt=n("v6R6"),te=n("0XyG"),ee=n("Py6u"),ne=n("Azqq"),le=n("JjoW"),ie=n("hOhj"),re=n("Z5h4"),oe=n("r0V8"),ae=(n("/Mhs"),n("oQtH"));const se={forAllValues:[{title:"For All",value:!0},{title:"Just Me",value:!1}],rankValues:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]};class ue{constructor(t,e,n,l,i){this.fb=t,this.keycloakService=e,this.colorFilterService=n,this.fleetItemService=l,this.fleetService=i,this.ConfigFilterColorForm=se,this.ConfigFleetItemForm=ae.a.config.ConfigFleetItem}ngOnInit(){this.initComponent()}initComponent(){this.initForm(),this.colorFilter?this.getColorFilter().subscribe(t=>{t&&t.fleet&&(this.colorFilter=t,this.colorFilterForm.controls.fleetLogicalOperator.setValue(this.colorFilter.fleet.logicalOperator),this.colorFilter.fleet.fleetItems.map(t=>this.addFleetItemForm(t)),this.addFleetItemForm())}):this.addFleetItemForm()}getColorFilter(){return this.colorFilterService.getOneBaseColorFilterControllerColorFilter({id:this.colorFilter.id,join:["fleet","fleet.fleetItems"]})}initForm(){this.colorFilterForm=this.fb.group({name:this.colorFilter?this.colorFilter.name:"",rank:this.colorFilter?this.colorFilter.rank:0,isForAll:!!this.colorFilter&&this.colorFilter.isForAll,color:this.colorFilter?this.colorFilter.color:"#FF0000",createdById:this.colorFilter?this.colorFilter.createdById:this.keycloakService.client().subject,fleetLogicalOperator:"",fleetItems:this.fb.array([])})}addFleetItemForm(t){const e=this.colorFilterForm.controls.fleetItems,n={id:t?t.id:"",field:t?t.field:null,operator:t?t.operator:null,value:t?t.value:null};!t||"mlat"!==t.field&&"military"!==t.field||(n.value="true"===t.value),e.insert(0,this.fb.group(n))}deleteFleetItemFrom(t){const e=this.colorFilterForm.controls.fleetItems,n=this.colorFilterForm.value.fleetItems[t];n.id&&this.fleetItemService.deleteOneBaseFleetItemControllerFleetItem({id:n.id}).subscribe(),e.removeAt(t)}submitColorFilter(){this.colorFilter?(this.updateColorFilter(),this.submitFleet(),this.submitFleetItem()):this.createColorFilter().subscribe(t=>{this.colorFilter=t,this.getColorFilter().subscribe(t=>{t&&t.fleet&&(this.colorFilter=t,this.submitFleet(),this.submitFleetItem())})})}createColorFilter(){return this.colorFilterService.createOneBaseColorFilterControllerColorFilter({body:{name:this.colorFilterForm.value.name,rank:this.colorFilterForm.value.rank,isForAll:this.colorFilterForm.value.isForAll,color:this.colorFilterForm.value.color,createdById:this.colorFilterForm.value.createdById}})}updateColorFilter(){this.colorFilterService.updateOneBaseColorFilterControllerColorFilter({id:this.colorFilter.id,body:{name:this.colorFilterForm.value.name,rank:this.colorFilterForm.value.rank,isForAll:this.colorFilterForm.value.isForAll,color:this.colorFilterForm.value.color}}).subscribe(t=>{this.colorFilter=t})}submitFleet(){this.colorFilterForm.value.fleetLogicalOperator!==this.colorFilter.fleet.logicalOperator&&this.fleetService.updateOneBaseFleetControllerFleet({id:this.colorFilter.fleet.id,body:{logicalOperator:this.colorFilterForm.value.fleetLogicalOperator}}).subscribe(t=>{})}submitFleetItem(){this.colorFilterForm.value.fleetItems.forEach((t,e)=>{"mlat"!==t.field&&"military"!==t.field||(t.operator="eq",t.value=t.value?"true":"false"),t.field&&t.operator&&t.value&&(""===t.id?this.createFleetItem(t,e):this.updateFleetItem(t))})}createFleetItem(t,e){this.fleetItemService.createOneBaseFleetItemControllerFleetItem({body:{field:t.field,operator:t.operator,value:t.value,fleetId:this.colorFilter.fleetId}}).subscribe(t=>{this.colorFilterForm.value.fleetItems[e]=t})}updateFleetItem(t){this.fleetItemService.updateOneBaseFleetItemControllerFleetItem({id:t.id,body:{field:t.field,operator:t.operator,value:t.value}}).subscribe()}formFleetItems(){return this.colorFilterForm.get("fleetItems")}}var ce=n("mTEX"),de=l.Bb({encapsulation:0,styles:[[".container-form-filter-color[_ngcontent-%COMP%]{padding-top:10px;max-height:600px}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-color[_ngcontent-%COMP%]{display:flex}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-color[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 5px;width:20%}.container-form-filter-color[_ngcontent-%COMP%] .mat-form-field-wrapper{margin:0;padding:0}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%]{width:50%;display:flex}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-value[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:50%}.container-form-filter-color[_ngcontent-%COMP%] .form-filter-logical-operator[_ngcontent-%COMP%]{padding:10px 0}.container-form-filter-color[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .container-form-filter-color[_ngcontent-%COMP%] .fleet-item-field[_ngcontent-%COMP%]{width:25%}.container-form-filter-color[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:10px}.container-form-filter-color[_ngcontent-%COMP%] .fleet-item-checkbox[_ngcontent-%COMP%]{display:flex;padding-right:40%}.container-form-filter-color[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}.container-form-filter-color[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-primary);color:#fff;height:50px}"]],data:{}});function he(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[28,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[40,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[52,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function be(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-fleet-item-csv",[],null,[[null,"hasImport"]],(function(t,e,n){var l=!0;return"hasImport"===e&&(l=!1!==t.component.initComponent()&&l),l}),Zt.b,Zt.a)),l.Cb(1,114688,null,0,te.a,[ee.a],{fleetId:[0,"fleetId"]},{hasImport:"hasImport"})],(function(t,e){t(e,1,0,e.component.colorFilter.fleetId)}),null)}function me(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[64,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),Qt.e,Qt.b)),l.Cb(1,8568832,[[76,4]],0,k.s,[l.p,l.j,[2,k.l],[2,k.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.value)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.title)}))}function _e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,48,"div",[["class","fleet-item-value"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(2,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,67,{_controlNonStatic:0}),l.Ub(335544320,68,{_controlStatic:0}),l.Ub(603979776,69,{_labelChildNonStatic:0}),l.Ub(335544320,70,{_labelChildStatic:0}),l.Ub(603979776,71,{_placeholderChild:0}),l.Ub(603979776,72,{_errorChildren:1}),l.Ub(603979776,73,{_hintChildren:1}),l.Ub(603979776,74,{_prefixChildren:1}),l.Ub(603979776,75,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[69,4],[70,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,[" Operator "])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","operator"],["matInput",""],["placeholder","Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(17,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(19,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(20,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,76,{options:1}),l.Ub(603979776,77,{optionGroups:1}),l.Ub(603979776,78,{customTrigger:0}),l.Tb(2048,[[67,4],[68,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,ge)),l.Cb(26,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(28,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,79,{_controlNonStatic:0}),l.Ub(335544320,80,{_controlStatic:0}),l.Ub(603979776,81,{_labelChildNonStatic:0}),l.Ub(335544320,82,{_labelChildStatic:0}),l.Ub(603979776,83,{_placeholderChild:0}),l.Ub(603979776,84,{_errorChildren:1}),l.Ub(603979776,85,{_hintChildren:1}),l.Ub(603979776,86,{_prefixChildren:1}),l.Ub(603979776,87,{_suffixChildren:1}),(t()(),l.Db(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(39,16384,[[81,4],[82,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Value"])),(t()(),l.Db(41,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","value"],["matInput",""],["placeholder","Value"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,42)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,42).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,42)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,42)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,47)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,47)._onInput()&&i),i}),null,null)),l.Cb(42,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(44,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(46,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(47,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[79,4],[80,4]],S.d,null,[M.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"operator"),t(e,20,0,"Operator"),t(e,26,0,n.ConfigFleetItemForm.operators),t(e,28,0,"outline"),t(e,44,0,"value"),t(e,47,0,"Value","text")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,41,1,[l.Pb(e,46).ngClassUntouched,l.Pb(e,46).ngClassTouched,l.Pb(e,46).ngClassPristine,l.Pb(e,46).ngClassDirty,l.Pb(e,46).ngClassValid,l.Pb(e,46).ngClassInvalid,l.Pb(e,46).ngClassPending,l.Pb(e,47)._isServer,l.Pb(e,47).id,l.Pb(e,47).placeholder,l.Pb(e,47).disabled,l.Pb(e,47).required,l.Pb(e,47).readonly&&!l.Pb(e,47)._isNativeSelect||null,l.Pb(e,47)._ariaDescribedby||null,l.Pb(e,47).errorState,l.Pb(e,47).required.toString()])}))}function ye(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"mat-checkbox",[["class","fleet-item-checkbox mat-checkbox"],["formControlName","value"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,re.b,re.a)),l.Cb(1,8568832,null,0,oe.b,[l.p,l.j,c.h,l.G,[8,null],[2,oe.a],[2,d.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[oe.b]),l.Cb(3,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(5,16384,null,0,O.q,[[4,O.p]],null,null)],(function(t,e){t(e,3,0,"value")}),(function(t,e){t(e,0,1,[l.Pb(e,1).id,null,l.Pb(e,1).indeterminate,l.Pb(e,1).checked,l.Pb(e,1).disabled,"before"==l.Pb(e,1).labelPosition,"NoopAnimations"===l.Pb(e,1)._animationMode,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending])}))}function Ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,40,"div",[["class","form-inline"],["formArrayName","fleetItems"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),l.Cb(1,212992,null,0,O.e,[[3,O.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,O.c,null,[O.e]),l.Cb(3,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(4,0,null,null,36,null,null,null,null,null,null,null)),l.Cb(5,212992,null,0,O.l,[[3,O.c],[8,null],[8,null]],{name:[0,"name"]},null),l.Tb(2048,null,O.c,null,[O.l]),l.Cb(7,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(8,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","fleet-item-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(9,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,55,{_controlNonStatic:0}),l.Ub(335544320,56,{_controlStatic:0}),l.Ub(603979776,57,{_labelChildNonStatic:0}),l.Ub(335544320,58,{_labelChildStatic:0}),l.Ub(603979776,59,{_placeholderChild:0}),l.Ub(603979776,60,{_errorChildren:1}),l.Ub(603979776,61,{_hintChildren:1}),l.Ub(603979776,62,{_prefixChildren:1}),l.Ub(603979776,63,{_suffixChildren:1}),(t()(),l.Db(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(20,16384,[[57,4],[58,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Field"])),(t()(),l.Db(22,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","field"],["matInput",""],["placeholder","Field"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,27)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,27)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,27)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(24,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(26,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(27,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,64,{options:1}),l.Ub(603979776,65,{optionGroups:1}),l.Ub(603979776,66,{customTrigger:0}),l.Tb(2048,[[55,4],[56,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,me)),l.Cb(33,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,_e)),l.Cb(35,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["editBoolean",2]],null,0,null,ye)),(t()(),l.Db(37,0,null,null,3,"button",[["class","delete-button mat-menu-item"],["mat-menu-item",""],["type","button"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,38)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,38)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteFleetItemFrom(t.context.index)&&i),i}),A.c,A.a)),l.Cb(38,180224,null,0,g.e,[l.p,f.d,c.h,[2,g.b]],null,null),(t()(),l.Db(39,0,null,0,1,"ion-icon",[["name","trash"]],null,null,null,h.y,h.g)),l.Cb(40,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,1,0,"fleetItems"),t(e,5,0,e.context.index),t(e,9,0,"outline"),t(e,24,0,"field"),t(e,27,0,"Field"),t(e,33,0,n.ConfigFleetItemForm.fields),t(e,35,0,"mlat"!=n.formFleetItems().controls[e.context.index].value.field&&"military"!=n.formFleetItems().controls[e.context.index].value.field,l.Pb(e,36)),t(e,40,0,"trash")}),(function(t,e){t(e,0,0,l.Pb(e,3).ngClassUntouched,l.Pb(e,3).ngClassTouched,l.Pb(e,3).ngClassPristine,l.Pb(e,3).ngClassDirty,l.Pb(e,3).ngClassValid,l.Pb(e,3).ngClassInvalid,l.Pb(e,3).ngClassPending),t(e,8,1,["standard"==l.Pb(e,9).appearance,"fill"==l.Pb(e,9).appearance,"outline"==l.Pb(e,9).appearance,"legacy"==l.Pb(e,9).appearance,l.Pb(e,9)._control.errorState,l.Pb(e,9)._canLabelFloat,l.Pb(e,9)._shouldLabelFloat(),l.Pb(e,9)._hasFloatingLabel(),l.Pb(e,9)._hideControlPlaceholder(),l.Pb(e,9)._control.disabled,l.Pb(e,9)._control.autofilled,l.Pb(e,9)._control.focused,"accent"==l.Pb(e,9).color,"warn"==l.Pb(e,9).color,l.Pb(e,9)._shouldForward("untouched"),l.Pb(e,9)._shouldForward("touched"),l.Pb(e,9)._shouldForward("pristine"),l.Pb(e,9)._shouldForward("dirty"),l.Pb(e,9)._shouldForward("valid"),l.Pb(e,9)._shouldForward("invalid"),l.Pb(e,9)._shouldForward("pending"),!l.Pb(e,9)._animationsEnabled]),t(e,22,1,[l.Pb(e,26).ngClassUntouched,l.Pb(e,26).ngClassTouched,l.Pb(e,26).ngClassPristine,l.Pb(e,26).ngClassDirty,l.Pb(e,26).ngClassValid,l.Pb(e,26).ngClassInvalid,l.Pb(e,26).ngClassPending,l.Pb(e,27).id,l.Pb(e,27).tabIndex,l.Pb(e,27)._getAriaLabel(),l.Pb(e,27)._getAriaLabelledby(),l.Pb(e,27).required.toString(),l.Pb(e,27).disabled.toString(),l.Pb(e,27).errorState,l.Pb(e,27).panelOpen?l.Pb(e,27)._optionIds:null,l.Pb(e,27).multiple,l.Pb(e,27)._ariaDescribedby||null,l.Pb(e,27)._getAriaActiveDescendant(),l.Pb(e,27).disabled,l.Pb(e,27).errorState,l.Pb(e,27).required,l.Pb(e,27).empty]),t(e,37,0,l.Pb(e,38).role,l.Pb(e,38)._highlighted,l.Pb(e,38)._triggersSubmenu,l.Pb(e,38)._getTabIndex(),l.Pb(e,38).disabled.toString(),l.Pb(e,38).disabled||null)}))}function ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,133,"div",[["class","container-form-filter-color"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,132,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,3).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,3).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitColorFilter()&&i),i}),null,null)),l.Cb(2,16384,null,0,O.A,[],null,null),l.Cb(3,540672,null,0,O.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,O.c,null,[O.k]),l.Cb(5,16384,null,0,O.r,[[4,O.c]],null,null),(t()(),l.Db(6,0,null,null,90,"div",[["class","form-filter-color"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(8,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(18,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,19)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,19).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,19)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,19)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,24)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,24)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,24)._onInput()&&i),i}),null,null)),l.Cb(19,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(21,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(23,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(24,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],S.d,null,[M.b]),(t()(),l.Db(26,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(27,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,10,{_controlNonStatic:0}),l.Ub(335544320,11,{_controlStatic:0}),l.Ub(603979776,12,{_labelChildNonStatic:0}),l.Ub(335544320,13,{_labelChildStatic:0}),l.Ub(603979776,14,{_placeholderChild:0}),l.Ub(603979776,15,{_errorChildren:1}),l.Ub(603979776,16,{_hintChildren:1}),l.Ub(603979776,17,{_prefixChildren:1}),l.Ub(603979776,18,{_suffixChildren:1}),(t()(),l.Db(37,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","color"],["matInput",""],["placeholder","Color hex"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,38)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,38).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,38)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,38)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,43)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,43)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,43)._onInput()&&i),i}),null,null)),l.Cb(38,16384,null,0,O.d,[l.M,l.p,[2,O.a]],null,null),l.Tb(1024,null,O.o,(function(t){return[t]}),[O.d]),l.Cb(40,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[6,O.o],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(42,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(43,999424,null,0,M.b,[l.p,P.a,[6,O.p],[2,O.s],[2,O.k],k.d,[8,null],D.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[10,4],[11,4]],S.d,null,[M.b]),(t()(),l.Db(45,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(46,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,19,{_controlNonStatic:0}),l.Ub(335544320,20,{_controlStatic:0}),l.Ub(603979776,21,{_labelChildNonStatic:0}),l.Ub(335544320,22,{_labelChildStatic:0}),l.Ub(603979776,23,{_placeholderChild:0}),l.Ub(603979776,24,{_errorChildren:1}),l.Ub(603979776,25,{_hintChildren:1}),l.Ub(603979776,26,{_prefixChildren:1}),l.Ub(603979776,27,{_suffixChildren:1}),(t()(),l.Db(56,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(57,16384,[[21,4],[22,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Visibility"])),(t()(),l.Db(59,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","isForAll"],["matInput",""],["placeholder","Visibility"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,64)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,64)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,64)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(61,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(63,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(64,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,28,{options:1}),l.Ub(603979776,29,{optionGroups:1}),l.Ub(603979776,30,{customTrigger:0}),l.Tb(2048,[[19,4],[20,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,he)),l.Cb(70,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(71,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(72,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,31,{_controlNonStatic:0}),l.Ub(335544320,32,{_controlStatic:0}),l.Ub(603979776,33,{_labelChildNonStatic:0}),l.Ub(335544320,34,{_labelChildStatic:0}),l.Ub(603979776,35,{_placeholderChild:0}),l.Ub(603979776,36,{_errorChildren:1}),l.Ub(603979776,37,{_hintChildren:1}),l.Ub(603979776,38,{_prefixChildren:1}),l.Ub(603979776,39,{_suffixChildren:1}),(t()(),l.Db(82,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(83,16384,[[33,4],[34,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Rank"])),(t()(),l.Db(85,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","rank"],["matInput",""],["placeholder","Rank"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,90)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,90)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,90)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(87,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(89,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(90,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,40,{options:1}),l.Ub(603979776,41,{optionGroups:1}),l.Ub(603979776,42,{customTrigger:0}),l.Tb(2048,[[31,4],[32,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,pe)),l.Cb(96,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(97,0,null,null,26,"div",[["class","form-filter-logical-operator"]],null,null,null,null,null)),(t()(),l.Db(98,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,x.b,x.a)),l.Cb(99,7520256,null,9,S.c,[l.p,l.j,[2,k.j],[2,y.b],[2,S.a],P.a,l.G,[2,d.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,43,{_controlNonStatic:0}),l.Ub(335544320,44,{_controlStatic:0}),l.Ub(603979776,45,{_labelChildNonStatic:0}),l.Ub(335544320,46,{_labelChildStatic:0}),l.Ub(603979776,47,{_placeholderChild:0}),l.Ub(603979776,48,{_errorChildren:1}),l.Ub(603979776,49,{_hintChildren:1}),l.Ub(603979776,50,{_prefixChildren:1}),l.Ub(603979776,51,{_suffixChildren:1}),(t()(),l.Db(109,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(110,16384,[[45,4],[46,4]],0,S.f,[],null,null),(t()(),l.Wb(-1,null,["Logical operator"])),(t()(),l.Db(112,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","fleetLogicalOperator"],["matInput",""],["placeholder","Logical Operator"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==l.Pb(t,117)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,117)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,117)._onBlur()&&i),i}),ne.b,ne.a)),l.Tb(6144,null,k.l,null,[le.c]),l.Cb(114,671744,null,0,O.i,[[3,O.c],[8,null],[8,null],[8,null],[2,O.z]],{name:[0,"name"]},null),l.Tb(2048,null,O.p,null,[O.i]),l.Cb(116,16384,null,0,O.q,[[4,O.p]],null,null),l.Cb(117,2080768,null,3,le.c,[ie.e,l.j,l.G,k.d,l.p,[2,y.b],[2,O.s],[2,O.k],[2,S.c],[6,O.p],[8,null],le.a,c.j],{placeholder:[0,"placeholder"]},null),l.Ub(603979776,52,{options:1}),l.Ub(603979776,53,{optionGroups:1}),l.Ub(603979776,54,{customTrigger:0}),l.Tb(2048,[[43,4],[44,4]],S.d,null,[le.c]),(t()(),l.sb(16777216,null,1,1,null,fe)),l.Cb(123,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,be)),l.Cb(125,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(126,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.addFleetItemForm()&&l),l}),s.b,s.a)),l.Cb(127,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,["Add"])),(t()(),l.sb(16777216,null,null,1,null,Ae)),l.Cb(130,278528,null,0,f.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(131,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,s.b,s.a)),l.Cb(132,180224,null,0,u.b,[l.p,c.h,[2,d.a]],null,null),(t()(),l.Wb(-1,0,["Save"]))],(function(t,e){var n=e.component;t(e,3,0,n.colorFilterForm),t(e,8,0,"outline"),t(e,21,0,"name"),t(e,24,0,"Name","text"),t(e,27,0,"outline"),t(e,40,0,"color"),t(e,43,0,"Color hex","color"),t(e,46,0,"outline"),t(e,61,0,"isForAll"),t(e,64,0,"Visibility"),t(e,70,0,n.ConfigFilterColorForm.forAllValues),t(e,72,0,"outline"),t(e,87,0,"rank"),t(e,90,0,"Rank"),t(e,96,0,n.ConfigFilterColorForm.rankValues),t(e,99,0,"outline"),t(e,114,0,"fleetLogicalOperator"),t(e,117,0,"Logical Operator"),t(e,123,0,n.ConfigFleetItemForm.logicalOperator),t(e,125,0,n.colorFilter),t(e,127,0,"warn"),t(e,130,0,n.formFleetItems().controls)}),(function(t,e){t(e,1,0,l.Pb(e,5).ngClassUntouched,l.Pb(e,5).ngClassTouched,l.Pb(e,5).ngClassPristine,l.Pb(e,5).ngClassDirty,l.Pb(e,5).ngClassValid,l.Pb(e,5).ngClassInvalid,l.Pb(e,5).ngClassPending),t(e,7,1,["standard"==l.Pb(e,8).appearance,"fill"==l.Pb(e,8).appearance,"outline"==l.Pb(e,8).appearance,"legacy"==l.Pb(e,8).appearance,l.Pb(e,8)._control.errorState,l.Pb(e,8)._canLabelFloat,l.Pb(e,8)._shouldLabelFloat(),l.Pb(e,8)._hasFloatingLabel(),l.Pb(e,8)._hideControlPlaceholder(),l.Pb(e,8)._control.disabled,l.Pb(e,8)._control.autofilled,l.Pb(e,8)._control.focused,"accent"==l.Pb(e,8).color,"warn"==l.Pb(e,8).color,l.Pb(e,8)._shouldForward("untouched"),l.Pb(e,8)._shouldForward("touched"),l.Pb(e,8)._shouldForward("pristine"),l.Pb(e,8)._shouldForward("dirty"),l.Pb(e,8)._shouldForward("valid"),l.Pb(e,8)._shouldForward("invalid"),l.Pb(e,8)._shouldForward("pending"),!l.Pb(e,8)._animationsEnabled]),t(e,18,1,[l.Pb(e,23).ngClassUntouched,l.Pb(e,23).ngClassTouched,l.Pb(e,23).ngClassPristine,l.Pb(e,23).ngClassDirty,l.Pb(e,23).ngClassValid,l.Pb(e,23).ngClassInvalid,l.Pb(e,23).ngClassPending,l.Pb(e,24)._isServer,l.Pb(e,24).id,l.Pb(e,24).placeholder,l.Pb(e,24).disabled,l.Pb(e,24).required,l.Pb(e,24).readonly&&!l.Pb(e,24)._isNativeSelect||null,l.Pb(e,24)._ariaDescribedby||null,l.Pb(e,24).errorState,l.Pb(e,24).required.toString()]),t(e,26,1,["standard"==l.Pb(e,27).appearance,"fill"==l.Pb(e,27).appearance,"outline"==l.Pb(e,27).appearance,"legacy"==l.Pb(e,27).appearance,l.Pb(e,27)._control.errorState,l.Pb(e,27)._canLabelFloat,l.Pb(e,27)._shouldLabelFloat(),l.Pb(e,27)._hasFloatingLabel(),l.Pb(e,27)._hideControlPlaceholder(),l.Pb(e,27)._control.disabled,l.Pb(e,27)._control.autofilled,l.Pb(e,27)._control.focused,"accent"==l.Pb(e,27).color,"warn"==l.Pb(e,27).color,l.Pb(e,27)._shouldForward("untouched"),l.Pb(e,27)._shouldForward("touched"),l.Pb(e,27)._shouldForward("pristine"),l.Pb(e,27)._shouldForward("dirty"),l.Pb(e,27)._shouldForward("valid"),l.Pb(e,27)._shouldForward("invalid"),l.Pb(e,27)._shouldForward("pending"),!l.Pb(e,27)._animationsEnabled]),t(e,37,1,[l.Pb(e,42).ngClassUntouched,l.Pb(e,42).ngClassTouched,l.Pb(e,42).ngClassPristine,l.Pb(e,42).ngClassDirty,l.Pb(e,42).ngClassValid,l.Pb(e,42).ngClassInvalid,l.Pb(e,42).ngClassPending,l.Pb(e,43)._isServer,l.Pb(e,43).id,l.Pb(e,43).placeholder,l.Pb(e,43).disabled,l.Pb(e,43).required,l.Pb(e,43).readonly&&!l.Pb(e,43)._isNativeSelect||null,l.Pb(e,43)._ariaDescribedby||null,l.Pb(e,43).errorState,l.Pb(e,43).required.toString()]),t(e,45,1,["standard"==l.Pb(e,46).appearance,"fill"==l.Pb(e,46).appearance,"outline"==l.Pb(e,46).appearance,"legacy"==l.Pb(e,46).appearance,l.Pb(e,46)._control.errorState,l.Pb(e,46)._canLabelFloat,l.Pb(e,46)._shouldLabelFloat(),l.Pb(e,46)._hasFloatingLabel(),l.Pb(e,46)._hideControlPlaceholder(),l.Pb(e,46)._control.disabled,l.Pb(e,46)._control.autofilled,l.Pb(e,46)._control.focused,"accent"==l.Pb(e,46).color,"warn"==l.Pb(e,46).color,l.Pb(e,46)._shouldForward("untouched"),l.Pb(e,46)._shouldForward("touched"),l.Pb(e,46)._shouldForward("pristine"),l.Pb(e,46)._shouldForward("dirty"),l.Pb(e,46)._shouldForward("valid"),l.Pb(e,46)._shouldForward("invalid"),l.Pb(e,46)._shouldForward("pending"),!l.Pb(e,46)._animationsEnabled]),t(e,59,1,[l.Pb(e,63).ngClassUntouched,l.Pb(e,63).ngClassTouched,l.Pb(e,63).ngClassPristine,l.Pb(e,63).ngClassDirty,l.Pb(e,63).ngClassValid,l.Pb(e,63).ngClassInvalid,l.Pb(e,63).ngClassPending,l.Pb(e,64).id,l.Pb(e,64).tabIndex,l.Pb(e,64)._getAriaLabel(),l.Pb(e,64)._getAriaLabelledby(),l.Pb(e,64).required.toString(),l.Pb(e,64).disabled.toString(),l.Pb(e,64).errorState,l.Pb(e,64).panelOpen?l.Pb(e,64)._optionIds:null,l.Pb(e,64).multiple,l.Pb(e,64)._ariaDescribedby||null,l.Pb(e,64)._getAriaActiveDescendant(),l.Pb(e,64).disabled,l.Pb(e,64).errorState,l.Pb(e,64).required,l.Pb(e,64).empty]),t(e,71,1,["standard"==l.Pb(e,72).appearance,"fill"==l.Pb(e,72).appearance,"outline"==l.Pb(e,72).appearance,"legacy"==l.Pb(e,72).appearance,l.Pb(e,72)._control.errorState,l.Pb(e,72)._canLabelFloat,l.Pb(e,72)._shouldLabelFloat(),l.Pb(e,72)._hasFloatingLabel(),l.Pb(e,72)._hideControlPlaceholder(),l.Pb(e,72)._control.disabled,l.Pb(e,72)._control.autofilled,l.Pb(e,72)._control.focused,"accent"==l.Pb(e,72).color,"warn"==l.Pb(e,72).color,l.Pb(e,72)._shouldForward("untouched"),l.Pb(e,72)._shouldForward("touched"),l.Pb(e,72)._shouldForward("pristine"),l.Pb(e,72)._shouldForward("dirty"),l.Pb(e,72)._shouldForward("valid"),l.Pb(e,72)._shouldForward("invalid"),l.Pb(e,72)._shouldForward("pending"),!l.Pb(e,72)._animationsEnabled]),t(e,85,1,[l.Pb(e,89).ngClassUntouched,l.Pb(e,89).ngClassTouched,l.Pb(e,89).ngClassPristine,l.Pb(e,89).ngClassDirty,l.Pb(e,89).ngClassValid,l.Pb(e,89).ngClassInvalid,l.Pb(e,89).ngClassPending,l.Pb(e,90).id,l.Pb(e,90).tabIndex,l.Pb(e,90)._getAriaLabel(),l.Pb(e,90)._getAriaLabelledby(),l.Pb(e,90).required.toString(),l.Pb(e,90).disabled.toString(),l.Pb(e,90).errorState,l.Pb(e,90).panelOpen?l.Pb(e,90)._optionIds:null,l.Pb(e,90).multiple,l.Pb(e,90)._ariaDescribedby||null,l.Pb(e,90)._getAriaActiveDescendant(),l.Pb(e,90).disabled,l.Pb(e,90).errorState,l.Pb(e,90).required,l.Pb(e,90).empty]),t(e,98,1,["standard"==l.Pb(e,99).appearance,"fill"==l.Pb(e,99).appearance,"outline"==l.Pb(e,99).appearance,"legacy"==l.Pb(e,99).appearance,l.Pb(e,99)._control.errorState,l.Pb(e,99)._canLabelFloat,l.Pb(e,99)._shouldLabelFloat(),l.Pb(e,99)._hasFloatingLabel(),l.Pb(e,99)._hideControlPlaceholder(),l.Pb(e,99)._control.disabled,l.Pb(e,99)._control.autofilled,l.Pb(e,99)._control.focused,"accent"==l.Pb(e,99).color,"warn"==l.Pb(e,99).color,l.Pb(e,99)._shouldForward("untouched"),l.Pb(e,99)._shouldForward("touched"),l.Pb(e,99)._shouldForward("pristine"),l.Pb(e,99)._shouldForward("dirty"),l.Pb(e,99)._shouldForward("valid"),l.Pb(e,99)._shouldForward("invalid"),l.Pb(e,99)._shouldForward("pending"),!l.Pb(e,99)._animationsEnabled]),t(e,112,1,[l.Pb(e,116).ngClassUntouched,l.Pb(e,116).ngClassTouched,l.Pb(e,116).ngClassPristine,l.Pb(e,116).ngClassDirty,l.Pb(e,116).ngClassValid,l.Pb(e,116).ngClassInvalid,l.Pb(e,116).ngClassPending,l.Pb(e,117).id,l.Pb(e,117).tabIndex,l.Pb(e,117)._getAriaLabel(),l.Pb(e,117)._getAriaLabelledby(),l.Pb(e,117).required.toString(),l.Pb(e,117).disabled.toString(),l.Pb(e,117).errorState,l.Pb(e,117).panelOpen?l.Pb(e,117)._optionIds:null,l.Pb(e,117).multiple,l.Pb(e,117)._ariaDescribedby||null,l.Pb(e,117)._getAriaActiveDescendant(),l.Pb(e,117).disabled,l.Pb(e,117).errorState,l.Pb(e,117).required,l.Pb(e,117).empty]),t(e,126,0,l.Pb(e,127).disabled||null,"NoopAnimations"===l.Pb(e,127)._animationMode),t(e,131,0,l.Pb(e,132).disabled||null,"NoopAnimations"===l.Pb(e,132)._animationMode)}))}var Ce=n("Yeuo"),we=n("1f0G"),Pe=n("X0qu"),xe=n("Mc5n"),Se=n("F8Ro");n.d(e,"a",(function(){return je}));var ke=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}.close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.form-page[_ngcontent-%COMP%]{padding:10px}"]],data:{}});function Me(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,5,"mat-tab",[["label","Color aircraft"]],null,null,null,i.d,i.a)),l.Cb(1,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,5,{templateLabel:0}),l.Ub(335544320,6,{_explicitContent:0}),(t()(),l.Db(4,0,null,0,1,"control-color-filter",[],null,[[null,"openColorFilterForm"]],(function(t,e,n){var l=!0;return"openColorFilterForm"===e&&(l=!1!==t.component.openColorFilterForm(n)&&l),l}),st,N)),l.Cb(5,114688,null,0,R,[F.a,I.a,L.a,j.a],null,{openColorFilterForm:"openColorFilterForm"}),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,"Color aircraft"),t(e,5,0)}),null)}function Oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(1,16384,null,0,ut.j,[],null,null),(t()(),l.Db(2,0,null,null,16,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,i.c,i.b)),l.Cb(3,3325952,null,1,r.g,[l.p,l.j,[2,r.a],[2,d.a]],null,null),l.Ub(603979776,4,{_tabs:1}),(t()(),l.sb(16777216,null,null,1,null,Me)),l.Cb(6,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(7,16777216,null,null,5,"mat-tab",[["label","Layers"]],null,null,null,i.d,i.a)),l.Cb(8,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,7,{templateLabel:0}),l.Ub(335544320,8,{_explicitContent:0}),(t()(),l.Db(11,0,null,0,1,"control-layers",[],null,[[null,"openFormLayer"]],(function(t,e,n){var l=!0;return"openFormLayer"===e&&(l=!1!==t.component.openFormLayer()&&l),l}),Mt,bt)),l.Cb(12,49152,null,0,ft,[ht.a,I.a,pt.a],null,{openFormLayer:"openFormLayer"}),(t()(),l.Db(13,16777216,null,null,5,"mat-tab",[["label","Feed"]],null,null,null,i.d,i.a)),l.Cb(14,770048,[[4,4]],2,r.c,[l.Y],{textLabel:[0,"textLabel"]},null),l.Ub(603979776,9,{templateLabel:0}),l.Ub(335544320,10,{_explicitContent:0}),(t()(),l.Db(17,0,null,0,1,"control-feeds",[],null,null,null,Jt,Tt)),l.Cb(18,114688,null,0,Ot,[Dt.a,I.a],null,null)],(function(t,e){var n=e.component;t(e,6,0,n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0),t(e,8,0,"Layers"),t(e,14,0,"Feed"),t(e,18,0)}),(function(t,e){t(e,2,0,l.Pb(e,3).dynamicHeight,"below"===l.Pb(e,3).headerPosition)}))}function De(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-color-filter",[],null,null,null,ve,de)),l.Cb(1,114688,null,0,ue,[O.f,I.a,F.a,ee.a,ce.a],{colorFilter:[0,"colorFilter"]},null)],(function(t,e){t(e,1,0,e.component.currentColorFilter)}),null)}function Te(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-layer",[],null,null,null,Ce.c,Ce.b)),l.Cb(1,114688,null,0,we.a,[ut.e,Pe.a,O.f],null,null)],(function(t,e){t(e,1,0)}),null)}function Ee(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,7,"div",[["class","form-page"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeColorFilterForm()&&l),l}),s.b,s.a)),l.Cb(2,180224,null,0,u.b,[l.p,c.h,[2,d.a]],{color:[0,"color"]},null),(t()(),l.Wb(-1,0,[" Return "])),(t()(),l.sb(16777216,null,null,1,null,De)),l.Cb(5,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Te)),l.Cb(7,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"warn"),t(e,5,0,"formColorFilter"==n.currentPage),t(e,7,0,"formLayer"==n.currentPage)}),(function(t,e){t(e,1,0,l.Pb(e,2).disabled||null,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function Ie(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,16777216,null,null,8,"h1",[["cdkDrag",""],["cdkDragHandle",""],["cdkDragRootElement",".cdk-overlay-pane"],["class","dialog-header cdk-drag cdk-drag-handle mat-dialog-title"],["id","filters"],["mat-dialog-title",""]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null],[8,"id",0]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onSelect(n)&&l),l}),null,null)),l.Cb(3,4866048,null,3,xe.c,[l.p,[3,xe.b],f.d,l.G,l.Y,xe.a,[2,y.b],xe.g,l.j],{rootElementSelector:[0,"rootElementSelector"]},null),l.Ub(603979776,1,{_handles:1}),l.Ub(603979776,2,{_previewTemplate:0}),l.Ub(603979776,3,{_placeholderTemplate:0}),l.Tb(2048,null,xe.l,null,[xe.c]),l.Cb(8,147456,[[1,4]],0,xe.d,[l.p,[2,xe.l]],null,null),l.Cb(9,81920,null,0,ut.m,[[2,ut.l],l.p,ut.e],{id:[0,"id"]},null),(t()(),l.Wb(-1,null,["FILTER"])),(t()(),l.sb(16777216,null,null,1,null,Oe)),l.Cb(12,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ee)),l.Cb(14,16384,null,0,f.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0,".cdk-overlay-pane"),t(e,9,0,"filters"),t(e,12,0,"menuFilter"==n.currentPage),t(e,14,0,"formColorFilter"==n.currentPage||"formLayer"==n.currentPage)}),(function(t,e){t(e,2,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging(),l.Pb(e,9).id)}))}function Le(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"filter-dialog",[],null,null,null,Ie,ke)),l.Cb(1,114688,null,0,Se.a,[ut.l,ut.a,j.a,I.a],null,null)],(function(t,e){t(e,1,0)}),null)}var je=l.zb("filter-dialog",Se.a,Le,{},{},[])},ItNn:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}aircraftBboxControllerGetBbox$Response(e){const n=new o.a(this.rootUrl,t.AircraftBboxControllerGetBboxPath,"get");return e&&(n.query("providers",e.providers),n.query("filterICAO",e.filterIcao),n.query("since",e.since),n.query("selected",e.selected),n.query("maxLat",e.maxLat),n.query("minLat",e.minLat),n.query("maxLon",e.maxLon),n.query("minLon",e.minLon)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}aircraftBboxControllerGetBbox(t){return this.aircraftBboxControllerGetBbox$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.AircraftBboxControllerGetBboxPath="/aircraft_bbox",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},"IwX+":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("7o/Q"),i=n("4I5i"),r=n("EY2u");function o(t){return e=>0===t?Object(r.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new i.a}call(t,e){return e.subscribe(new s(t,this.total))}}class s extends l.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];t.defineLocale("ku",{months:l,monthsShort:l,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("zx2A");function i(t){return function(e){const n=new r(t),l=e.lift(n);return n.caught=l}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends l.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new l.a(this);this.add(i);const r=Object(l.c)(n,i);r!==i&&this.add(r)}}}},JRYL:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("wd/R");n("w+w1"),n("978D");class i{constructor(t,e){this.ref=t,this.timeService=e,this.maxTimeLine=0,this.lineChartData=[{data:[],label:"Altitude"}],this.lineChartLabels=[],this.lineChartOptions={responsive:!0,elements:{point:{radius:0}},scales:{xAxes:[{display:!1}]}},this.lineChartColors=[{borderColor:"#f04141",backgroundColor:"rgba(244, 245, 248, 0.5)"}],this.lineChartLegend=!1,this.lineChartType="line"}ngOnInit(){this.displayGraphAircraft()}ngDoCheck(){this.displayGraphAircraft(),this.ref.detectChanges()}displayGraphAircraft(){if(this.lineChartData[0].data=[],this.lineChartLabels=[],this.aircraft.trace&&this.aircraft.trace.positions){const t=this.timeService.getDateReplay()?l(this.timeService.getDateReplay()).valueOf():l.now(),e=t-18e5;let n=[],i=[];this.aircraft.trace.positions.forEach(r=>{if(r.updatedAt&&r.updatedAt<=t&&r.updatedAt>=e){const e=(t-r.updatedAt)/6e4;this.maxTimeLine<e&&(this.maxTimeLine=e),n.push(r.altitude),i.push(l(r.updatedAt).utc().format("HH:mm:ss"))}}),this.lineChartData[0].data=n,this.lineChartLabels=i}}}},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=t+" ";switch(n){case"ss":return l+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return l+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return l+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return l+(1===t?"dan":"dana");case"MM":return l+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return l+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JW8z:function(t,e,n){"use strict";var l,i=n("eQqr"),r=n("CvXi"),o=n("f8l7"),a=n("9d2U"),s=n("/O31"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=6378137*Math.PI,d=[-c,-c,c,c],h=[-180,-85,180,85],p=function(t){function e(e){return t.call(this,{code:e,units:s.b.METERS,extent:d,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(o.b)(e[1]/6378137)}})||this}return u(e,t),e}(a.a),f=[new p("EPSG:3857"),new p("EPSG:102100"),new p("EPSG:102113"),new p("EPSG:900913"),new p("urn:ogc:def:crs:EPSG:6.18:3:3857"),new p("urn:ogc:def:crs:EPSG::3857"),new p("http://www.opengis.net/gml/srs/epsg.xml#3857")],b=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),m=[-180,-90,180,90],g=6378137*Math.PI/180,_=function(t){function e(e,n){return t.call(this,{code:e,units:s.b.DEGREES,extent:m,axisOrientation:n,global:!0,metersPerUnit:g,worldExtent:m})||this}return b(e,t),e}(a.a),y=[new _("CRS:84"),new _("EPSG:4326","neu"),new _("urn:ogc:def:crs:EPSG::4326","neu"),new _("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new _("urn:ogc:def:crs:OGC:1.3:CRS84"),new _("urn:ogc:def:crs:OGC:2:84"),new _("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new _("urn:x-ogc:def:crs:EPSG:4326","neu")],A=(n("OPOH"),{});function v(t,e,n){var l=t.getCode(),i=e.getCode();l in A||(A[l]={}),A[l][i]=n}var C,w,P,x={};function S(t,e,n){var l;if(void 0!==e){for(var i=0,r=t.length;i<r;++i)e[i]=t[i];l=e}else l=t.slice();return l}function k(t,e,n){if(void 0!==e&&t!==e){for(var l=0,i=t.length;l<i;++l)e[l]=t[l];t=e}return t}function M(t){!function(t,e){x[t]=e}(t.getCode(),t),v(t,t,S)}function O(t){return"string"==typeof t?x[t]||null:t||null}function D(t,e,n,l){var r,o=(t=O(t)).getPointResolutionFunc();if(o)r=o(e,n),l&&l!==t.getUnits()&&(a=t.getMetersPerUnit())&&(r=r*a/s.a[l]);else if(t.getUnits()==s.b.DEGREES&&!l||l==s.b.DEGREES)r=e;else{var a,u=R(t,O("EPSG:4326")),c=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];c=u(c,c,2),r=(Object(i.a)(c.slice(0,2),c.slice(2,4))+Object(i.a)(c.slice(4,6),c.slice(6,8)))/2,void 0!==(a=l?s.a[l]:t.getMetersPerUnit())&&(r/=a)}return r}function T(t){!function(t){t.forEach(M)}(t),t.forEach((function(e){t.forEach((function(t){e!==t&&v(e,t,S)}))}))}function E(t,e){return t?"string"==typeof t?O(t):t:O(e)}function I(t,e){return N(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function L(t,e){var n=N(t,void 0!==e?e:"EPSG:3857","EPSG:4326"),l=n[0];return(l<-180||l>180)&&(n[0]=Object(o.d)(l+180,360)-180),n}function j(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||R(t,e)===S)&&n}function R(t,e){var n,l,i,r=(n=t.getCode(),l=e.getCode(),n in A&&l in A[n]&&(i=A[n][l]),i);return r||(r=k),r}function F(t,e){return R(O(t),O(e))}function N(t,e,n){return F(e,n)(t,void 0,t.length)}function Y(t,e,n,l){var i=F(e,n);return Object(r.a)(t,i,void 0,l)}function U(){return null}function B(t,e){return t}function z(t,e){return t}function G(t,e){return t}function H(t,e){return t}n.d(e,"l",(function(){return k})),n.d(e,"g",(function(){return O})),n.d(e,"h",(function(){return D})),n.d(e,"b",(function(){return E})),n.d(e,"d",(function(){return I})),n.d(e,"m",(function(){return L})),n.d(e,"c",(function(){return j})),n.d(e,"j",(function(){return R})),n.d(e,"i",(function(){return F})),n.d(e,"p",(function(){return N})),n.d(e,"q",(function(){return Y})),n.d(e,"k",(function(){return U})),n.d(e,"n",(function(){return B})),n.d(e,"e",(function(){return z})),n.d(e,"o",(function(){return G})),n.d(e,"f",(function(){return H})),n.d(e,"a",(function(){return s.a})),T(f),T(y),C=f,w=function(t,e,n){var l=t.length,i=n>1?n:2,r=e;void 0===r&&(r=i>2?t.slice():new Array(l));for(var o=c,a=0;a<l;a+=i){r[a]=o*t[a]/180;var s=6378137*Math.log(Math.tan(Math.PI*(+t[a+1]+90)/360));s>o?s=o:s<-o&&(s=-o),r[a+1]=s}return r},P=function(t,e,n){var l=t.length,i=n>1?n:2,r=e;void 0===r&&(r=i>2?t.slice():new Array(l));for(var o=0;o<l;o+=i)r[o]=180*t[o]/c,r[o+1]=360*Math.atan(Math.exp(t[o+1]/6378137))/Math.PI-90;return r},y.forEach((function(t){C.forEach((function(e){v(t,e,w),v(e,t,P)}))}))},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("GyhO"),i=n("z+Ro");function r(...t){const e=t[t.length-1];return Object(i.a)(e)?(t.pop(),n=>Object(l.a)(t,n,e)):e=>Object(l.a)(t,e)}},JfHk:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var l=n("CvXi");function i(t,e,n,i,o){return!Object(l.t)(o,(function(l){return!r(t,e,n,i,l[0],l[1])}))}function r(t,e,n,l,i,r){for(var o=0,a=t[n-l],s=t[n-l+1];e<n;e+=l){var u=t[e],c=t[e+1];s<=r?c>r&&(u-a)*(r-s)-(i-a)*(c-s)>0&&o++:c<=r&&(u-a)*(r-s)-(i-a)*(c-s)<0&&o--,a=u,s=c}return 0!==o}function o(t,e,n,l,i,o){if(0===n.length)return!1;if(!r(t,e,n[0],l,i,o))return!1;for(var a=1,s=n.length;a<s;++a)if(r(t,n[a-1],n[a],l,i,o))return!1;return!0}function a(t,e,n,l,i,r){if(0===n.length)return!1;for(var a=0,s=n.length;a<s;++a){var u=n[a];if(o(t,e,u,l,i,r))return!0;e=u[u.length-1]}return!1}},JjoW:function(t,e,n){"use strict";n.d(e,"d",(function(){return S})),n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return A})),n.d(e,"c",(function(){return x})),n("GS7A");var l=n("5GAg"),i=n("KCVW"),r=n("8bJo"),o=n("dvZr"),a=(n("QQfA"),n("8Y7J")),s=n("Xd0L"),u=n("XNiG"),c=n("NXyV"),d=n("VRyK"),h=n("JX91"),p=n("eIep"),f=n("IzEk"),b=n("pLZG"),m=n("lJxs"),g=n("/uUt"),_=n("1G5W");let y=0;const A=new a.w("mat-select-scroll-strategy");function v(t){return()=>t.scrollStrategies.reposition()}class C{constructor(t,e){this.source=t,this.value=e}}class w{constructor(t,e,n,l,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=l,this.ngControl=i}}const P=Object(s.F)(Object(s.J)(Object(s.G)(Object(s.H)(w))));class x extends P{constructor(t,e,n,l,i,r,o,s,g,_,A,v,C){super(i,l,o,s,_),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=r,this._parentFormField=g,this.ngControl=_,this._liveAnnouncer=C,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+y++,this._destroy=new u.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new u.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(c.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(h.a)(t),Object(p.a)(()=>Object(d.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(f.a)(1),Object(p.a)(()=>this.optionSelectionChanges))}),this.openedChange=new a.r,this._openedStream=this.openedChange.pipe(Object(b.a)(t=>t),Object(m.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(b.a)(t=>!t),Object(m.a)(()=>{})),this.selectionChange=new a.r,this.valueChange=new a.r,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=v,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(A)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}set focused(t){this._focused=t}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(i.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(i.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(i.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new r.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(g.a)(),Object(_.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.onChange.pipe(Object(_.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(h.a)(null),Object(_.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(f.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===o.e||e===o.q||e===o.j||e===o.n,l=this._keyManager;if((e===o.g||e===o.o)&&!Object(o.t)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;e===o.i||e===o.f?(e===o.i?l.setFirstItemActive():l.setLastItemActive(),t.preventDefault()):l.onKeydown(t);const i=this.selected;this._liveAnnouncer&&i&&n!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=t.keyCode,n=e===o.e||e===o.q,l=this._keyManager;if(e===o.i||e===o.f)t.preventDefault(),e===o.i?l.setFirstItemActive():l.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==o.g&&e!==o.o||!l.activeItem||Object(o.t)(t))if(this._multiple&&e===o.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const e=l.activeItemIndex;l.onKeydown(t),this._multiple&&n&&t.shiftKey&&l.activeItem&&l.activeItemIndex!==e&&l.activeItem._selectViaInteraction()}else t.preventDefault(),l.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(f.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return Object(a.hb)()&&console.warn(n),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this.focus(),this.close()}),this._keyManager.change.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(d.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(_.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(d.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(_.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new C(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(s.C)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(s.D)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,n,l)=>void 0===e?t===n?l:void 0:e,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),l=e*t-n;let i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(s.C)(i,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(i,r,l),this._offsetY=this._calculateOverlayOffsetY(i,r,l),this._checkOverlayWithinViewport(l)}_calculateOverlayScroll(t,e,n){const l=this._getItemHeight();return Math.min(Math.max(0,l*t-e+l/2),n)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),l=this.multiple?56:32;let i;if(this.multiple)i=40;else{let t=this._selectionModel.selected[0]||this.options.first;i=t&&t.group?32:16}n||(i*=-1);const r=0-(t.left+i-(n?l:0)),o=t.right+i-e.width+(n?0:l);r>0?i+=r+8:o>0&&(i-=o+8),this.overlayDir.offsetX=Math.round(i),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const l=this._getItemHeight(),i=(l-this._triggerRect.height)/2,r=Math.floor(256/l);let o;return this._disableOptionCentering?0:(o=0===this._scrollTop?t*l:this._scrollTop===n?(t-(this._getItemCount()-r))*l+(l-(this._getItemCount()*l-256)%l):e-l/2,Math.round(-1*o-i))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>i?this._adjustPanelUp(o,i):r>l?this._adjustPanelDown(r,l,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const l=Math.round(t-e);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}class S{}},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,l){return e?i(n)[0]:l?i(n)[1]:i(n)[2]}function l(t){return t%10==0||t>10&&t<20}function i(t){return e[t].split("_")}function r(t,e,r,o){var a=t+" ";return 1===t?a+n(0,e,r[0],o):e?a+(l(t)?i(r)[1]:i(r)[0]):o?a+i(r)[1]:a+(l(t)?i(r)[1]:i(r)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,l){return e?"kelios sekund\u0117s":l?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KAq4:function(t,e,n){"use strict";n.r(e);var l=n("8Y7J"),i=n("oeKZ"),r=n("oQtH"),o=n("IheW"),a=n("vkgz"),s=n("GXLG");class u{constructor(t,e){this.keycloakService=t,this.snackBarService=e}intercept(t,e){if(t.url.indexOf(r.a.config.api["sepia.api"].url)>=0){const e=this.keycloakService.client().token;t=t.clone({setHeaders:{Authorization:"Bearer "+e}})}return e.handle(t).pipe(Object(a.a)(t=>t,e=>{t.url.match("/tile/")||(console.error(e),this.snackBarService.openSnackBar(e.error&&e.error.error?e.error.error:e.message))}))}}Object(l.eb)(()=>u);class c{}class d{constructor(){console.log("START APP")}}var h=n("pMnS");class p{constructor(){}}var f=l.Bb({encapsulation:0,styles:[[".container[_ngcontent-%COMP%]{margin:0 auto;text-align:center;position:absolute;width:100%;bottom:50%;font-size:2em}"]],data:{}});function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["404 error"])),(t()(),l.Db(3,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["This page does not exist."]))],null,null)}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-error",[],null,null,null,b,f)),l.Cb(1,49152,null,0,p,[],null,null)],null,null)}var g=l.zb("app-error",p,m,{},{},[]),_=n("yWMr"),y=n("t68o"),A=n("zbXB"),v=n("NcP4"),C=n("xYTU"),w=n("krvq"),P=n("17Ym"),x=n("Eef3"),S=n("qJaP"),k=n("I9pN"),M=n("2yFf"),O=n("It4K"),D=n("rO16"),T=n("bdly"),E=n("3Cew"),I=n("Yeuo"),L=n("+0CP"),j=n("nYU5"),R=n("SzCE"),F=n("nkhJ"),N=n("mS5L"),Y=n("ZcWs"),U=n("rCNt"),B=n("1vG3"),z=n("oBZk"),G=n("ZZ/e"),H=n("iInd"),V=n("SVse");class q{constructor(t,e){this.snackBar=t,this.snackBarService=e}ngOnInit(){this.waitingSnackBarEvent()}waitingSnackBarEvent(){this.snackBarService.getEventSnackBar().subscribe(t=>{this.snackBar.open(t,"",{duration:2e3})})}}var W=n("dFDH"),$=l.Bb({encapsulation:0,styles:[[""]],data:{}});function X(t){return l.Yb(0,[],null,null)}var K=l.Bb({encapsulation:2,styles:[],data:{}});function J(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"ion-app",[],null,null,null,z.s,z.a)),l.Cb(1,49152,null,0,G.d,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,16777216,null,0,1,"ion-router-outlet",[],null,null,null,null,null)),l.Cb(3,212992,null,0,G.gb,[H.b,l.Y,l.m,[8,null],[8,null],G.b,G.Gb,V.j,l.p,H.m,l.G,H.a,[3,G.gb]],null,null),(t()(),l.Db(4,0,null,0,1,"snack-bar",[],null,null,null,X,$)),l.Cb(5,114688,null,0,q,[W.b,s.a],null,null)],(function(t,e){t(e,3,0),t(e,5,0)}),null)}function Q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-root",[],null,null,null,J,K)),l.Cb(1,49152,null,0,d,[],null,null)],null,null)}var Z=l.zb("app-root",d,Q,{},{},[]),tt=n("cUpR"),et=n("Xd0L"),nt=n("fDlF"),lt=n("omvX"),it=n("LRne");class rt{preload(t,e){return t.data&&t.data.preload?e():Object(it.a)(null)}}class ot{constructor(t,e){this.keycloakService=t,this.router=e}canActivate(t,e){return!!this.keycloakService.authenticated()||(this.keycloakService.login(),!1)}}var at=n("GS7A"),st=n("QL49"),ut=n("Kurg"),ct=n("EFbT"),dt=n("UN5i"),ht=n("AjEG"),pt=n("rLOe"),ft=n("3y7P"),bt=n("sUFW"),mt=n("Qykp"),gt=n("ItNn"),_t=n("5p+q"),yt=n("kZ4T"),At=n("DRqq"),vt=n("mWFr"),Ct=n("+qtt"),wt=n("c9QO"),Pt=n("TYbz"),xt=n("xhS3"),St=n("Nw85"),kt=n("X0qu"),Mt=n("Q2ZK"),Ot=n("Vgg8"),Dt=n("XYOC"),Tt=n("nmM0"),Et=n("0Ceg"),It=n("CJuc"),Lt=n("UrOv"),jt=n("D7iV"),Rt=n("yRz6"),Ft=n("mTEX"),Nt=n("Py6u"),Yt=n("b2zq"),Ut=n("oU5s"),Bt=n("GLSd"),zt=n("Kth1"),Gt=n("t9RB"),Ht=n("qSBs"),Vt=n("rAnw"),qt=n("s7LF"),Wt=n("POq0"),$t=n("5GAg"),Xt=n("/HVE"),Kt=n("DkaU"),Jt=n("Mc5n"),Qt=n("hOhj"),Zt=n("QQfA"),te=n("IP0z"),ee=n("/Co4"),ne=n("qJ5m"),le=n("s6ns"),ie=n("821u"),re=n("gavF"),oe=n("JjoW"),ae=n("Mz6y"),se=n("OIZN"),ue=n("7kcP"),ce=n("qU9k"),de=n("svHU"),he=n("hUP0"),pe=n("7/LY"),fe=n("978D"),be=n("wBRQ"),me=n("qToJ"),ge=n("YGmB"),_e=n("/MgC"),ye=n("P151"),Ae=n("3mbo"),ve=n("gDAU"),Ce=n("Y4ja"),we=n("mrSG"),Pe=n("HDdC"),xe=n("xgIS"),Se={error:"cordova_not_available"},ke={error:"plugin_not_installed"};function Me(t){if("undefined"!=typeof window&&window.angular){var e=window.document,n=window.angular.element(e.querySelector("[ng-app]")||e.body).injector();if(n)return n.get("$q")((function(e,n){t(e,n)}));console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise((function(e,n){t(e,n)}));console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function Oe(t,e,n,l){var i,r;void 0===l&&(l={});var o=Me((function(o,a){i=l.destruct?Le(t,e,n,l,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return a(t)})):Le(t,e,n,l,o,a),r=a}));return i&&i.error&&(o.catch((function(){})),"function"==typeof r&&r(i.error)),o}function De(t,e,n,l){return void 0===l&&(l={}),Me((function(i,r){var o=Le(t,e,n,l);o?o.error?r(o.error):o.then&&o.then(i).catch(r):r({error:"unexpected_error"})}))}function Te(t,e,n,l){return void 0===l&&(l={}),new Pe.a((function(i){var r;return(r=l.destruct?Le(t,e,n,l,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.next(t)}),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.error(t)})):Le(t,e,n,l,i.next.bind(i),i.error.bind(i)))&&r.error&&(i.error(r.error),i.complete()),function(){try{if(l.clearFunction)return l.clearWithArgs?Le(t,l.clearFunction,n,l,i.next.bind(i),i.error.bind(i)):Le(t,l.clearFunction,[])}catch(r){console.warn("Unable to clear the previous observable watch for",t.constructor.getPluginName(),e),console.warn(r)}}}))}function Ee(t,e){return e="undefined"!=typeof window&&e?Re(window,e):e||("undefined"!=typeof window?window:{}),Object(xe.a)(e,t)}function Ie(t,e,n){var l,i,r;return"string"==typeof t?l=t:(l=t.constructor.getPluginRef(),n=t.constructor.getPluginName(),r=t.constructor.getPluginInstallName()),!(!(i=je(l))||e&&void 0===i[e])||("undefined"!=typeof window&&window.cordova?(function(t,e,n){n?console.warn("Native: tried calling "+t+"."+n+", but the "+t+" plugin is not installed."):console.warn("Native: tried accessing the "+t+" plugin but it's not installed."),e&&console.warn("Install the "+t+" plugin: 'ionic cordova plugin add "+e+"'")}(n,r,e),ke):(function(t,e){"undefined"==typeof process&&(e?console.warn("Native: tried calling "+t+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+t+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"))}(n,e),Se))}function Le(t,e,n,l,i,r){void 0===l&&(l={}),n=function(t,e,n,l){if(void 0===e&&(e={}),e.sync)return t;if("reverse"===e.callbackOrder)t.unshift(l),t.unshift(n);else if("node"===e.callbackStyle)t.push((function(t,e){t?l(t):n(e)}));else if("object"===e.callbackStyle&&e.successName&&e.errorName){var i={};i[e.successName]=n,i[e.errorName]=l,t.push(i)}else if(void 0!==e.successIndex||void 0!==e.errorIndex){var r=function(){e.successIndex>t.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n)},o=function(){e.errorIndex>t.length?t[e.errorIndex]=l:t.splice(e.errorIndex,0,l)};e.successIndex>e.errorIndex?(o(),r()):(r(),o())}else t.push(n),t.push(l);return t}(n,l,i,r);var o=Ie(t,e);if(!0===o){var a=je(t.constructor.getPluginRef());return a[e].apply(a,n)}return o}function je(t){return"undefined"!=typeof window?Re(window,t):null}function Re(t,e){for(var n=e.split("."),l=t,i=0;i<n.length;i++){if(!l)return null;l=l[n[i]]}return l}var Fe=function(){function t(){}return t.installed=function(){return!0===Ie(this.pluginRef)},t.getPlugin=function(){return"undefined"!=typeof window?function(t,e){for(var n=e.split("."),l=t,i=0;i<n.length;i++){if(!l)return null;l=l[n[i]]}return l}(window,this.pluginRef):null},t.getPluginName=function(){return this.pluginName},t.getPluginRef=function(){return this.pluginRef},t.getPluginInstallName=function(){return this.plugin},t.getSupportedPlatforms=function(){return this.platforms},t.pluginName="",t.pluginRef="",t.plugin="",t.repo="",t.platforms=[],t.install="",t}();function Ne(t,e,n,l){return function(t,e,n){return void 0===n&&(n={}),function(){for(var l=[],i=0;i<arguments.length;i++)l[i]=arguments[i];return n.sync?Le(t,e,l,n):n.observable?Te(t,e,l,n):n.eventObservable&&n.event?Ee(n.event,n.element):n.otherPromise?De(t,e,l,n):Oe(t,e,l,n)}}(t,e,n).apply(this,l)}!function(){if("undefined"==typeof process){var t="undefined"!=typeof window?window:{},e=Date.now(),n=!1;t.document.addEventListener("deviceready",(function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-e)+" ms"),n=!0})),setTimeout((function(){!n&&t.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")}),5e3)}}();var Ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(we.c)(e,t),e.prototype.overlaysWebView=function(t){return Ne(this,"overlaysWebView",{sync:!0},arguments)},e.prototype.styleDefault=function(){return Ne(this,"styleDefault",{sync:!0},arguments)},e.prototype.styleLightContent=function(){return Ne(this,"styleLightContent",{sync:!0},arguments)},e.prototype.styleBlackTranslucent=function(){return Ne(this,"styleBlackTranslucent",{sync:!0},arguments)},e.prototype.styleBlackOpaque=function(){return Ne(this,"styleBlackOpaque",{sync:!0},arguments)},e.prototype.backgroundColorByName=function(t){return Ne(this,"backgroundColorByName",{sync:!0},arguments)},e.prototype.backgroundColorByHexString=function(t){return Ne(this,"backgroundColorByHexString",{sync:!0},arguments)},e.prototype.hide=function(){return Ne(this,"hide",{sync:!0},arguments)},e.prototype.show=function(){return Ne(this,"show",{sync:!0},arguments)},Object.defineProperty(e.prototype,"isVisible",{get:function(){return!0===Ie(this,"isVisible")?je(this.constructor.getPluginRef()).isVisible:null},set:function(t){!function(t,e,n){!0===Ie(t,"isVisible")&&(je(t.constructor.getPluginRef()).isVisible=n)}(this,0,t)},enumerable:!1,configurable:!0}),e.pluginName="StatusBar",e.plugin="cordova-plugin-statusbar",e.pluginRef="StatusBar",e.repo="https://github.com/apache/cordova-plugin-statusbar",e.platforms=["Android","iOS","Windows"],e}(Fe),Ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(we.c)(e,t),e.prototype.show=function(){return Ne(this,"show",{sync:!0},arguments)},e.prototype.hide=function(){return Ne(this,"hide",{sync:!0},arguments)},e.pluginName="SplashScreen",e.plugin="cordova-plugin-splashscreen",e.pluginRef="navigator.splashscreen",e.repo="https://github.com/apache/cordova-plugin-splashscreen",e.platforms=["Amazon Fire OS","Android","iOS","Windows"],e}(Fe),Be=n("mzvH"),ze=n("r6U7");const Ge=()=>n.e(14).then(n.bind(null,"8bLr")).then(t=>t.DesktopModuleNgFactory),He=[{path:"",loadChildren:Ge}],Ve=()=>n.e(16).then(n.bind(null,"FI2C")).then(t=>t.MobileModuleNgFactory),qe=[{path:"",loadChildren:Ve}],We={preload:!0},$e={preload:!1},Xe=[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",loadChildren:"./modules/login/login.module#LoginPageModule",data:We},{path:"home",canActivate:[ot],data:$e,children:[...He,...qe]},{path:"**",component:p}];class Ke{constructor(t,e){this.router=t,this.route=e,this.setRouterAndComponentsBasedOnWindowSize(!0)}isMobileView(){return window.innerWidth<1024}setRouterAndComponentsBasedOnWindowSize(t=!1){const e=this.buildRoutes();this.router.resetConfig(e),!1===t&&this.router.navigate([],{relativeTo:this.route})}buildRoutes(){const t=Xe,e=t.findIndex(t=>"home"===t.path);return e<-1?(console.error("Cannot find the Main route in app routing."),null):(this.isMobileView()?(t[e].component=ze.a,t[e].children=qe):(t[e].component=Be.a,t[e].children=He),t)}}var Je=n("8rpt");class Qe{static forRoot(t){return{ngModule:Qe,providers:[{provide:st.a,useValue:t}]}}constructor(t,e){if(t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!e)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}}var Ze=n("76lH"),tn=n("yotz"),en=n("qJ50"),nn=n("zQui"),ln=n("zMNK"),rn=n("KPQW"),on=n("lwm9"),an=n("Fwaw"),sn=n("mkRZ"),un=n("igqZ"),cn=n("r0V8"),dn=n("kNGD"),hn=n("Gi4r"),pn=n("02hT"),fn=n("5Bek"),bn=n("c9fC"),mn=n("FVPZ"),gn=n("oapL"),_n=n("HsOI"),yn=n("ZwOa"),An=n("Q+lL"),vn=n("8P0U"),Cn=n("W5yJ"),wn=n("elxJ"),Pn=n("BV1i"),xn=n("lT8R"),Sn=n("pBi1"),kn=n("8rEH"),Mn=n("rWV4"),On=n("BzsH"),Dn=n("AaDx"),Tn=n("sRx5"),En=n("hrfs"),In=n("Tosz"),Ln=n("Z/v2"),jn=n("mnSs"),Rn=n("7k00"),Fn=n("HyV0"),Nn=n("x34R"),Yn=n("Wxz7"),Un=n("zx31"),Bn=n("hnpS"),zn=n("IwX+"),Gn=n("FQkX"),Hn=n("c9tr"),Vn=n("bLKQ"),qn=n("piYb"),Wn=n("jadY");class $n{}var Xn=n("RH9n"),Kn=n("dvZr"),Jn=l.Ab(c,[d],(function(t){return l.Mb([l.Nb(512,l.m,l.lb,[[8,[h.a,g,_.a,y.a,A.b,A.a,v.a,C.a,C.b,w.a,P.a,x.a,S.a,k.a,M.a,O.a,D.a,T.a,E.a,I.a,L.a,j.a,R.a,F.a,N.a,Y.a,U.a,B.a,Z]],[3,l.m],l.E]),l.Nb(5120,l.A,l.xb,[[3,l.A]]),l.Nb(4608,V.p,V.o,[l.A,[2,V.F]]),l.Nb(5120,l.tb,l.yb,[l.G]),l.Nb(5120,l.c,l.ub,[]),l.Nb(5120,l.y,l.vb,[]),l.Nb(5120,l.z,l.wb,[]),l.Nb(4608,tt.b,tt.k,[V.d]),l.Nb(6144,l.P,null,[tt.b]),l.Nb(4608,tt.e,et.e,[[2,et.i],[2,et.n]]),l.Nb(5120,tt.c,(function(t,e,n,l,i,r,o,a){return[new tt.i(t,e,n),new tt.n(l),new tt.m(i,r,o,a)]}),[V.d,l.G,l.J,V.d,V.d,tt.e,l.mb,[2,tt.f]]),l.Nb(4608,tt.d,tt.d,[tt.c,l.G]),l.Nb(135680,tt.l,tt.l,[V.d]),l.Nb(4608,tt.j,tt.j,[tt.d,tt.l,l.c]),l.Nb(5120,nt.a,lt.e,[]),l.Nb(5120,nt.c,lt.f,[]),l.Nb(4608,nt.b,lt.d,[V.d,nt.a,nt.c]),l.Nb(5120,l.N,lt.g,[tt.j,nt.b,l.G]),l.Nb(6144,tt.o,null,[tt.l]),l.Nb(4608,l.V,l.V,[l.G]),l.Nb(4608,G.a,G.a,[l.G,l.g]),l.Nb(4608,G.Fb,G.Fb,[G.a,l.m,l.x]),l.Nb(4608,G.Ib,G.Ib,[G.a,l.m,l.x]),l.Nb(4608,H.g,H.g,[]),l.Nb(6144,H.h,null,[H.g]),l.Nb(135680,H.q,H.q,[H.m,l.D,l.k,l.x,H.h]),l.Nb(4608,H.e,H.e,[]),l.Nb(5120,H.E,H.v,[H.m,V.x,H.i]),l.Nb(5120,H.j,H.C,[H.A]),l.Nb(5120,l.b,(function(t){return[t]}),[H.j]),l.Nb(4608,rt,rt,[]),l.Nb(4608,i.a,i.a,[]),l.Nb(4608,ot,ot,[i.a,H.m]),l.Nb(4608,o.l,o.r,[V.d,l.J,o.p]),l.Nb(4608,o.s,o.s,[o.l,o.q]),l.Nb(4608,s.a,s.a,[]),l.Nb(4608,u,u,[i.a,s.a]),l.Nb(5120,o.a,(function(t,e){return[t,e]}),[o.s,u]),l.Nb(4608,at.b,lt.c,[l.N,V.d]),l.Nb(4352,st.a,{rootUrl:"https://api.sepia.fabnum.fr"},[]),l.Nb(4608,ut.a,ut.a,[st.a,o.c]),l.Nb(4608,ct.a,ct.a,[st.a,o.c]),l.Nb(4608,dt.a,dt.a,[st.a,o.c]),l.Nb(4608,ht.a,ht.a,[st.a,o.c]),l.Nb(4608,pt.a,pt.a,[st.a,o.c]),l.Nb(4608,ft.a,ft.a,[st.a,o.c]),l.Nb(4608,bt.a,bt.a,[st.a,o.c]),l.Nb(4608,mt.a,mt.a,[st.a,o.c]),l.Nb(4608,gt.a,gt.a,[st.a,o.c]),l.Nb(4608,_t.a,_t.a,[st.a,o.c]),l.Nb(4608,yt.a,yt.a,[st.a,o.c]),l.Nb(4608,At.a,At.a,[st.a,o.c]),l.Nb(4608,vt.a,vt.a,[st.a,o.c]),l.Nb(4608,Ct.a,Ct.a,[st.a,o.c]),l.Nb(4608,wt.a,wt.a,[st.a,o.c]),l.Nb(4608,Pt.a,Pt.a,[st.a,o.c]),l.Nb(4608,xt.a,xt.a,[st.a,o.c]),l.Nb(4608,St.a,St.a,[st.a,o.c]),l.Nb(4608,kt.a,kt.a,[st.a,o.c]),l.Nb(4608,Mt.a,Mt.a,[st.a,o.c]),l.Nb(4608,Ot.a,Ot.a,[st.a,o.c]),l.Nb(4608,Dt.a,Dt.a,[st.a,o.c]),l.Nb(4608,Tt.a,Tt.a,[st.a,o.c]),l.Nb(4608,Et.a,Et.a,[st.a,o.c]),l.Nb(4608,It.a,It.a,[st.a,o.c]),l.Nb(4608,Lt.a,Lt.a,[st.a,o.c]),l.Nb(4608,jt.a,jt.a,[st.a,o.c]),l.Nb(4608,Rt.a,Rt.a,[st.a,o.c]),l.Nb(4608,Ft.a,Ft.a,[st.a,o.c]),l.Nb(4608,Nt.a,Nt.a,[st.a,o.c]),l.Nb(4608,Yt.a,Yt.a,[st.a,o.c]),l.Nb(4608,Ut.a,Ut.a,[st.a,o.c]),l.Nb(4608,Bt.a,Bt.a,[st.a,o.c]),l.Nb(4608,zt.a,zt.a,[st.a,o.c]),l.Nb(4608,Gt.a,Gt.a,[st.a,o.c]),l.Nb(4608,Ht.a,Ht.a,[st.a,o.c]),l.Nb(4608,Vt.a,Vt.a,[st.a,o.c]),l.Nb(4608,qt.y,qt.y,[]),l.Nb(4608,qt.f,qt.f,[]),l.Nb(4608,Wt.c,Wt.c,[]),l.Nb(135680,$t.h,$t.h,[l.G,Xt.a]),l.Nb(4608,Kt.e,Kt.e,[l.U]),l.Nb(4608,Jt.g,Jt.g,[V.d,l.G,Qt.e,Jt.i]),l.Nb(4608,Zt.c,Zt.c,[Zt.i,Zt.e,l.m,Zt.h,Zt.f,l.x,l.G,V.d,te.b,[2,V.j]]),l.Nb(5120,Zt.j,Zt.k,[Zt.c]),l.Nb(5120,ee.b,ee.c,[Zt.c]),l.Nb(4608,et.d,et.d,[]),l.Nb(5120,ne.b,ne.a,[[3,ne.b]]),l.Nb(5120,le.c,le.d,[Zt.c]),l.Nb(135680,le.e,le.e,[Zt.c,l.x,[2,V.j],[2,le.b],le.c,[3,le.e],Zt.e]),l.Nb(4608,ie.i,ie.i,[]),l.Nb(5120,ie.a,ie.b,[Zt.c]),l.Nb(5120,re.c,re.j,[Zt.c]),l.Nb(4608,et.c,et.z,[[2,et.h],Xt.a]),l.Nb(5120,oe.a,oe.b,[Zt.c]),l.Nb(5120,ae.b,ae.c,[Zt.c]),l.Nb(5120,se.c,se.a,[[3,se.c]]),l.Nb(5120,ue.d,ue.a,[[3,ue.d]]),l.Nb(4608,ce.a,ce.a,[]),l.Nb(4608,de.a,de.a,[]),l.Nb(4608,he.a,he.a,[de.a]),l.Nb(4608,pe.b,pe.b,[o.c,wt.a]),l.Nb(4608,fe.b,fe.b,[]),l.Nb(4608,be.a,be.a,[]),l.Nb(4608,me.a,me.a,[i.a,_t.a,ut.a]),l.Nb(4608,ge.a,ge.a,[be.a,me.a,gt.a]),l.Nb(4608,_e.a,_e.a,[i.a,Dt.a]),l.Nb(4608,ye.a,ye.a,[Yt.a,de.a]),l.Nb(4608,Ae.a,Ae.a,[de.a,ge.a]),l.Nb(4608,ve.a,ve.a,[ge.a,fe.b,i.a,Ce.b]),l.Nb(4608,Ye,Ye,[]),l.Nb(4608,Ue,Ue,[]),l.Nb(1073742336,V.c,V.c,[]),l.Nb(1024,l.q,tt.p,[]),l.Nb(1024,l.F,(function(){return[H.u()]}),[]),l.Nb(512,H.A,H.A,[l.x]),l.Nb(256,G.Kb,void 0,[]),l.Nb(1024,l.d,(function(t,e,n,l,i){return[tt.q(t),H.B(e),G.Lb(n,l,i)]}),[[2,l.F],H.A,G.Kb,V.d,l.G]),l.Nb(512,l.e,l.e,[[2,l.d]]),l.Nb(131584,l.g,l.g,[l.G,l.mb,l.x,l.q,l.m,l.e]),l.Nb(1073742336,l.f,l.f,[l.g]),l.Nb(1073742336,tt.a,tt.a,[[3,tt.a]]),l.Nb(1073742336,G.Cb,G.Cb,[]),l.Nb(1024,H.t,H.x,[[3,H.m]]),l.Nb(512,H.s,H.c,[]),l.Nb(512,H.b,H.b,[]),l.Nb(256,H.i,{preloadingStrategy:H.g},[]),l.Nb(1024,V.k,H.w,[V.w,[2,V.a],H.i]),l.Nb(512,V.j,V.j,[V.k,V.w]),l.Nb(512,l.k,l.k,[]),l.Nb(512,l.D,l.S,[l.k,[2,l.T]]),l.Nb(1024,H.k,(function(){return[[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",loadChildren:"./modules/login/login.module#LoginPageModule",data:We},{path:"home",canActivate:[ot],data:$e,children:[{path:"",loadChildren:Ge},{path:"",loadChildren:Ve}]},{path:"**",component:p}],[{path:"",component:Be.a}],[{path:"",component:ze.a}],[{path:"",component:Je.a}]]}),[]),l.Nb(512,H.l,G.Db,[]),l.Nb(1024,H.m,H.y,[l.g,H.s,H.b,V.j,l.x,l.D,l.k,H.k,H.i,[2,H.r],[2,H.l]]),l.Nb(1073742336,H.o,H.o,[[2,H.t],[2,H.m]]),l.Nb(1024,H.a,H.z,[H.m]),l.Nb(1073742336,Ke,Ke,[H.m,H.a]),l.Nb(1073742336,o.e,o.e,[]),l.Nb(1073742336,o.d,o.d,[]),l.Nb(1073742336,lt.b,lt.b,[]),l.Nb(512,o.o,o.o,[]),l.Nb(2048,o.m,null,[o.o]),l.Nb(512,o.k,o.k,[o.m]),l.Nb(2048,o.b,null,[o.k]),l.Nb(512,o.f,o.n,[o.b,l.x]),l.Nb(512,o.c,o.c,[o.f]),l.Nb(1073742336,Qe,Qe,[[3,Qe],[2,o.c]]),l.Nb(1073742336,qt.x,qt.x,[]),l.Nb(1073742336,qt.m,qt.m,[]),l.Nb(1073742336,Ze.a,Ze.a,[]),l.Nb(1073742336,tn.b,tn.b,[]),l.Nb(1073742336,qt.v,qt.v,[]),l.Nb(1073742336,Xt.b,Xt.b,[]),l.Nb(1073742336,Wt.d,Wt.d,[]),l.Nb(1073742336,$t.a,$t.a,[]),l.Nb(1073742336,te.a,te.a,[]),l.Nb(1073742336,en.e,en.e,[]),l.Nb(1073742336,nn.p,nn.p,[]),l.Nb(1073742336,Kt.c,Kt.c,[]),l.Nb(1073742336,Jt.h,Jt.h,[]),l.Nb(1073742336,et.n,et.n,[[2,et.f],[2,tt.f]]),l.Nb(1073742336,et.y,et.y,[]),l.Nb(1073742336,et.w,et.w,[]),l.Nb(1073742336,et.t,et.t,[]),l.Nb(1073742336,ln.g,ln.g,[]),l.Nb(1073742336,Qt.c,Qt.c,[]),l.Nb(1073742336,Zt.g,Zt.g,[]),l.Nb(1073742336,ee.e,ee.e,[]),l.Nb(1073742336,rn.a,rn.a,[]),l.Nb(1073742336,on.c,on.c,[]),l.Nb(1073742336,an.c,an.c,[]),l.Nb(1073742336,sn.a,sn.a,[]),l.Nb(1073742336,un.c,un.c,[]),l.Nb(1073742336,cn.d,cn.d,[]),l.Nb(1073742336,cn.c,cn.c,[]),l.Nb(1073742336,dn.b,dn.b,[]),l.Nb(1073742336,hn.a,hn.a,[]),l.Nb(1073742336,ne.c,ne.c,[]),l.Nb(1073742336,le.k,le.k,[]),l.Nb(1073742336,ie.j,ie.j,[]),l.Nb(1073742336,pn.a,pn.a,[]),l.Nb(1073742336,fn.c,fn.c,[]),l.Nb(1073742336,bn.d,bn.d,[]),l.Nb(1073742336,et.p,et.p,[]),l.Nb(1073742336,mn.a,mn.a,[]),l.Nb(1073742336,gn.c,gn.c,[]),l.Nb(1073742336,_n.e,_n.e,[]),l.Nb(1073742336,yn.c,yn.c,[]),l.Nb(1073742336,An.c,An.c,[]),l.Nb(1073742336,re.i,re.i,[]),l.Nb(1073742336,re.f,re.f,[]),l.Nb(1073742336,et.A,et.A,[]),l.Nb(1073742336,et.q,et.q,[]),l.Nb(1073742336,oe.d,oe.d,[]),l.Nb(1073742336,ae.e,ae.e,[]),l.Nb(1073742336,se.d,se.d,[]),l.Nb(1073742336,vn.a,vn.a,[]),l.Nb(1073742336,Cn.c,Cn.c,[]),l.Nb(1073742336,wn.a,wn.a,[]),l.Nb(1073742336,Pn.a,Pn.a,[]),l.Nb(1073742336,xn.b,xn.b,[]),l.Nb(1073742336,Sn.d,Sn.d,[]),l.Nb(1073742336,Sn.c,Sn.c,[]),l.Nb(1073742336,W.e,W.e,[]),l.Nb(1073742336,ue.e,ue.e,[]),l.Nb(1073742336,kn.m,kn.m,[]),l.Nb(1073742336,Mn.k,Mn.k,[]),l.Nb(1073742336,On.a,On.a,[]),l.Nb(1073742336,Dn.a,Dn.a,[]),l.Nb(1073742336,Tn.a,Tn.a,[]),l.Nb(1073742336,En.b,En.b,[]),l.Nb(1073742336,In.a,In.a,[]),l.Nb(1073742336,Ln.b,Ln.b,[]),l.Nb(1073742336,jn.c,jn.c,[]),l.Nb(1073742336,Rn.a,Rn.a,[]),l.Nb(1073742336,Fn.a,Fn.a,[]),l.Nb(1073742336,Nn.a,Nn.a,[]),l.Nb(1073742336,Yn.a,Yn.a,[]),l.Nb(1073742336,Un.a,Un.a,[]),l.Nb(1073742336,Bn.a,Bn.a,[]),l.Nb(1073742336,zn.a,zn.a,[]),l.Nb(1073742336,Gn.a,Gn.a,[]),l.Nb(1073742336,Hn.a,Hn.a,[]),l.Nb(1073742336,Vn.a,Vn.a,[]),l.Nb(1073742336,qn.a,qn.a,[]),l.Nb(1073742336,Wn.a,Wn.a,[]),l.Nb(1073742336,$n,$n,[]),l.Nb(1073742336,Xn.b,Xn.b,[]),l.Nb(1073742336,c,c,[]),l.Nb(256,l.kb,!0,[]),l.Nb(256,o.p,"XSRF-TOKEN",[]),l.Nb(256,o.q,"X-XSRF-TOKEN",[]),l.Nb(256,lt.a,"BrowserAnimations",[]),l.Nb(256,dn.a,{separatorKeyCodes:[Kn.g]},[]),l.Nb(256,et.h,"fr-FR",[]),l.Nb(256,et.g,et.k,[])])}));r.a.production&&Object(l.db)(),i.a.init({url:r.a.config.auth.url,realm:r.a.config.auth.realm,clientId:r.a.config.auth.clientId},{checkLoginIframe:!1,onLoad:"check-sso"}).then(()=>{tt.h().bootstrapModuleFactory(Jn).catch(t=>{console.error("Error in bootstrap:",t)})}).catch(t=>{console.error("Error in KC bootstrap:",t)})},KCVW:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"f",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u}));var l=n("8Y7J");function i(t){return null!=t&&""+t!="false"}function r(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function s(t){return null==t?"":"string"==typeof t?t:t+"px"}function u(t){return t instanceof l.p?t.nativeElement:t}},KFGy:function(t,e,n){var l=n("Uwu7"),i=n("cpc2"),r=n("kSER"),o=n("2Dig"),a=n("QN7Q"),s=n("x7D4")("socket.io-client:socket"),u=n("TypT"),c=n("WLGk");t.exports=p;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},h=i.prototype.emit;function p(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}i(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[o(t,"open",a(this,"onopen")),o(t,"packet",a(this,"onpacket")),o(t,"close",a(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},p.prototype.send=function(){var t=r(arguments);return t.unshift("message"),this.emit.apply(this,t),this},p.prototype.emit=function(t){if(d.hasOwnProperty(t))return h.apply(this,arguments),this;var e=r(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:c(e))?l.BINARY_EVENT:l.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof e[e.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},p.prototype.onopen=function(){if(s("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"==typeof this.query?u.encode(this.query):this.query;s("sending connect packet with query %s",t),this.packet({type:l.CONNECT,query:t})}else this.packet({type:l.CONNECT})},p.prototype.onclose=function(t){s("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},p.prototype.onpacket=function(t){if(t.nsp===this.nsp||t.type===l.ERROR&&"/"===t.nsp)switch(t.type){case l.CONNECT:this.onconnect();break;case l.EVENT:case l.BINARY_EVENT:this.onevent(t);break;case l.ACK:case l.BINARY_ACK:this.onack(t);break;case l.DISCONNECT:this.ondisconnect();break;case l.ERROR:this.emit("error",t.data)}},p.prototype.onevent=function(t){var e=t.data||[];s("emitting event %j",e),null!=t.id&&(s("attaching ack callback to event"),e.push(this.ack(t.id))),this.connected?h.apply(this,e):this.receiveBuffer.push(e)},p.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var i=r(arguments);s("sending ack %j",i),e.packet({type:c(i)?l.BINARY_ACK:l.ACK,id:t,data:i})}}},p.prototype.onack=function(t){var e=this.acks[t.id];"function"==typeof e?(s("calling ack %s with %j",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):s("bad ack %s",t.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},p.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)h.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:l.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(t){return this.flags.compress=t,this},p.prototype.binary=function(t){return this.flags.binary=t,this}},KPQW:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8Y7J"),n("Xd0L");class l{}},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,l){var i=e.words[l];return 1===l.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KfZV:function(t,e,n){"use strict";e.a={POINT:"point",LINE:"line"}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("7o/Q"),i=n("D0XW");function r(t,e=i.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends l.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(s,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function s(t){t.debouncedNext()}},Kth1:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFileUploadControllerFileUploadPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFileUploadControllerFileUpload(t){return this.getOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFileUploadControllerFileUploadPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFileUploadControllerFileUpload(t){return this.replaceOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFileUploadControllerFileUploadPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFileUploadControllerFileUpload(t){return this.deleteOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFileUploadControllerFileUploadPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFileUploadControllerFileUpload(t){return this.updateOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFileUploadControllerFileUploadPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFileUploadControllerFileUpload(t){return this.getManyBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFileUploadControllerFileUploadPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFileUploadControllerFileUpload(t){return this.createOneBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFileUploadControllerFileUpload$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFileUploadControllerFileUploadPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFileUploadControllerFileUpload(t){return this.createManyBaseFileUploadControllerFileUpload$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.ReplaceOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.DeleteOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.UpdateOneBaseFileUploadControllerFileUploadPath="/file_upload/{id}",t.GetManyBaseFileUploadControllerFileUploadPath="/file_upload",t.CreateOneBaseFileUploadControllerFileUploadPath="/file_upload",t.CreateManyBaseFileUploadControllerFileUploadPath="/file_upload/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Kurg:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseColorFilterControllerColorFilterPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseColorFilterControllerColorFilter(t){return this.getOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseColorFilterControllerColorFilterPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseColorFilterControllerColorFilter(t){return this.replaceOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseColorFilterControllerColorFilterPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseColorFilterControllerColorFilter(t){return this.deleteOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseColorFilterControllerColorFilterPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseColorFilterControllerColorFilter(t){return this.updateOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseColorFilterControllerColorFilterPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseColorFilterControllerColorFilter(t){return this.getManyBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseColorFilterControllerColorFilterPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseColorFilterControllerColorFilter(t){return this.createOneBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseColorFilterControllerColorFilter$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseColorFilterControllerColorFilterPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseColorFilterControllerColorFilter(t){return this.createManyBaseColorFilterControllerColorFilter$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.ReplaceOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.DeleteOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.UpdateOneBaseColorFilterControllerColorFilterPath="/color-filter/{id}",t.GetManyBaseColorFilterControllerColorFilterPath="/color-filter",t.CreateOneBaseColorFilterControllerColorFilterPath="/color-filter",t.CreateManyBaseColorFilterControllerColorFilterPath="/color-filter/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},LMWA:function(t,e){var n={thin:100,hairline:100,"ultra-light":100,"extra-light":100,light:200,book:300,regular:400,normal:400,plain:400,roman:400,standard:400,medium:500,"semi-bold":600,"demi-bold":600,bold:700,heavy:800,black:800,"extra-bold":800,"ultra-black":900,"extra-black":900,"ultra-bold":900,"heavy-black":900,fat:900,poster:900},l=/(italic|oblique)$/i,i={};t.exports=function(t,e,r){var o=i[t];if(!o){Array.isArray(t)||(t=[t]);for(var a=400,s="normal",u=[],c=0,d=t.length;c<d;++c){var h=t[c].split(" "),p=h[h.length-1].toLowerCase();for(var f in"normal"==p||"italic"==p||"oblique"==p?(s=p,h.pop(),p=h[h.length-1].toLowerCase()):l.test(p)&&(p=p.replace(l,""),s=h[h.length-1].replace(p,"")),n)if(p==f||p==f.replace("-","")||p==f.replace("-"," ")){a=n[f],h.pop();break}"number"==typeof p&&(a=p);var b=h.join(" ").replace("Klokantech Noto Sans","Noto Sans");-1!==b.indexOf(" ")&&(b='"'+b+'"'),u.push(b)}o=i[t]=[s,a,u]}return o[0]+" "+o[1]+" "+e+"px"+(r?"/"+r:"")+" "+o[2]}},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("z+Ro"),i=n("yCtX"),r=n("jZKg");function o(...t){let e=t[t.length-1];return Object(l.a)(e)?(t.pop(),Object(r.a)(t,e)):Object(i.a)(t)}},Lhse:function(t,e,n){"use strict";function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return i}));const i=l()},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},LvDl:function(t,e,n){(function(t){var l;(function(){var i="Expected a function",r="__lodash_placeholder__",o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",p="[object GeneratorFunction]",f="[object Map]",b="[object Number]",m="[object Object]",g="[object RegExp]",_="[object Set]",y="[object String]",A="[object Symbol]",v="[object WeakMap]",C="[object ArrayBuffer]",w="[object DataView]",P="[object Float32Array]",x="[object Float64Array]",S="[object Int8Array]",k="[object Int16Array]",M="[object Int32Array]",O="[object Uint8Array]",D="[object Uint16Array]",T="[object Uint32Array]",E=/\b__p \+= '';/g,I=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,F=RegExp(j.source),N=RegExp(R.source),Y=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,B=/<%=([\s\S]+?)%>/g,z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,V=/[\\^$.*+?()[\]{}|]/g,q=RegExp(V.source),W=/^\s+/,$=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Z=/[()=,{}\[\]\/\s]/,tt=/\\(\\)?/g,et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,lt=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,rt=/^\[object .+?Constructor\]$/,ot=/^0o[0-7]+$/i,at=/^(?:0|[1-9]\d*)$/,st=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ut=/($^)/,ct=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="["+ht+"]",ft="["+dt+"]",bt="\\d+",mt="[a-z\\xdf-\\xf6\\xf8-\\xff]",gt="[^\\ud800-\\udfff"+ht+bt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",yt="[^\\ud800-\\udfff]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",vt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",wt="(?:"+mt+"|"+gt+")",Pt="(?:"+Ct+"|"+gt+")",xt="(?:"+ft+"|"+_t+")?",St="[\\ufe0e\\ufe0f]?"+xt+"(?:\\u200d(?:"+[yt,At,vt].join("|")+")[\\ufe0e\\ufe0f]?"+xt+")*",kt="(?:"+["[\\u2700-\\u27bf]",At,vt].join("|")+")"+St,Mt="(?:"+[yt+ft+"?",ft,At,vt,"[\\ud800-\\udfff]"].join("|")+")",Ot=RegExp("['\u2019]","g"),Dt=RegExp(ft,"g"),Tt=RegExp(_t+"(?="+_t+")|"+Mt+St,"g"),Et=RegExp([Ct+"?"+mt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[pt,Ct,"$"].join("|")+")",Pt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[pt,Ct+wt,"$"].join("|")+")",Ct+"?"+wt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bt,kt].join("|"),"g"),It=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),Lt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rt=-1,Ft={};Ft[P]=Ft[x]=Ft[S]=Ft[k]=Ft[M]=Ft[O]=Ft["[object Uint8ClampedArray]"]=Ft[D]=Ft[T]=!0,Ft[a]=Ft[s]=Ft[C]=Ft[u]=Ft[w]=Ft[c]=Ft[d]=Ft[h]=Ft[f]=Ft[b]=Ft[m]=Ft[g]=Ft[_]=Ft[y]=Ft[v]=!1;var Nt={};Nt[a]=Nt[s]=Nt[C]=Nt[w]=Nt[u]=Nt[c]=Nt[P]=Nt[x]=Nt[S]=Nt[k]=Nt[M]=Nt[f]=Nt[b]=Nt[m]=Nt[g]=Nt[_]=Nt[y]=Nt[A]=Nt[O]=Nt["[object Uint8ClampedArray]"]=Nt[D]=Nt[T]=!0,Nt[d]=Nt[h]=Nt[v]=!1;var Yt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ut=parseFloat,Bt=parseInt,zt="object"==typeof global&&global&&global.Object===Object&&global,Gt="object"==typeof self&&self&&self.Object===Object&&self,Ht=zt||Gt||Function("return this")(),Vt=e&&!e.nodeType&&e,qt=Vt&&"object"==typeof t&&t&&!t.nodeType&&t,Wt=qt&&qt.exports===Vt,$t=Wt&&zt.process,Xt=function(){try{return qt&&qt.require&&qt.require("util").types||$t&&$t.binding&&$t.binding("util")}catch(t){}}(),Kt=Xt&&Xt.isArrayBuffer,Jt=Xt&&Xt.isDate,Qt=Xt&&Xt.isMap,Zt=Xt&&Xt.isRegExp,te=Xt&&Xt.isSet,ee=Xt&&Xt.isTypedArray;function ne(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function le(t,e,n,l){for(var i=-1,r=null==t?0:t.length;++i<r;){var o=t[i];e(l,o,n(o),t)}return l}function ie(t,e){for(var n=-1,l=null==t?0:t.length;++n<l&&!1!==e(t[n],n,t););return t}function re(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function oe(t,e){for(var n=-1,l=null==t?0:t.length;++n<l;)if(!e(t[n],n,t))return!1;return!0}function ae(t,e){for(var n=-1,l=null==t?0:t.length,i=0,r=[];++n<l;){var o=t[n];e(o,n,t)&&(r[i++]=o)}return r}function se(t,e){return!(null==t||!t.length)&&_e(t,e,0)>-1}function ue(t,e,n){for(var l=-1,i=null==t?0:t.length;++l<i;)if(n(e,t[l]))return!0;return!1}function ce(t,e){for(var n=-1,l=null==t?0:t.length,i=Array(l);++n<l;)i[n]=e(t[n],n,t);return i}function de(t,e){for(var n=-1,l=e.length,i=t.length;++n<l;)t[i+n]=e[n];return t}function he(t,e,n,l){var i=-1,r=null==t?0:t.length;for(l&&r&&(n=t[++i]);++i<r;)n=e(n,t[i],i,t);return n}function pe(t,e,n,l){var i=null==t?0:t.length;for(l&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function fe(t,e){for(var n=-1,l=null==t?0:t.length;++n<l;)if(e(t[n],n,t))return!0;return!1}var be=Ce("length");function me(t,e,n){var l;return n(t,(function(t,n,i){if(e(t,n,i))return l=n,!1})),l}function ge(t,e,n,l){for(var i=t.length,r=n+(l?1:-1);l?r--:++r<i;)if(e(t[r],r,t))return r;return-1}function _e(t,e,n){return e==e?function(t,e,n){for(var l=n-1,i=t.length;++l<i;)if(t[l]===e)return l;return-1}(t,e,n):ge(t,Ae,n)}function ye(t,e,n,l){for(var i=n-1,r=t.length;++i<r;)if(l(t[i],e))return i;return-1}function Ae(t){return t!=t}function ve(t,e){var n=null==t?0:t.length;return n?xe(t,e)/n:NaN}function Ce(t){return function(e){return null==e?void 0:e[t]}}function we(t){return function(e){return null==t?void 0:t[e]}}function Pe(t,e,n,l,i){return i(t,(function(t,i,r){n=l?(l=!1,t):e(n,t,i,r)})),n}function xe(t,e){for(var n,l=-1,i=t.length;++l<i;){var r=e(t[l]);void 0!==r&&(n=void 0===n?r:n+r)}return n}function Se(t,e){for(var n=-1,l=Array(t);++n<t;)l[n]=e(n);return l}function ke(t){return t?t.slice(0,Ve(t)+1).replace(W,""):t}function Me(t){return function(e){return t(e)}}function Oe(t,e){return ce(e,(function(e){return t[e]}))}function De(t,e){return t.has(e)}function Te(t,e){for(var n=-1,l=t.length;++n<l&&_e(e,t[n],0)>-1;);return n}function Ee(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Ie(t,e){for(var n=t.length,l=0;n--;)t[n]===e&&++l;return l}var Le=we({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),je=we({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Re(t){return"\\"+Yt[t]}function Fe(t){return It.test(t)}function Ne(t){var e=-1,n=Array(t.size);return t.forEach((function(t,l){n[++e]=[l,t]})),n}function Ye(t,e){return function(n){return t(e(n))}}function Ue(t,e){for(var n=-1,l=t.length,i=0,o=[];++n<l;){var a=t[n];a!==e&&a!==r||(t[n]=r,o[i++]=n)}return o}function Be(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Ge(t){return Fe(t)?function(t){for(var e=Tt.lastIndex=0;Tt.test(t);)++e;return e}(t):be(t)}function He(t){return Fe(t)?function(t){return t.match(Tt)||[]}(t):function(t){return t.split("")}(t)}function Ve(t){for(var e=t.length;e--&&$.test(t.charAt(e)););return e}var qe=we({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),We=function t(e){var n,l=(e=null==e?Ht:We.defaults(Ht.Object(),e,We.pick(Ht,jt))).Array,$=e.Date,dt=e.Error,ht=e.Function,pt=e.Math,ft=e.Object,bt=e.RegExp,mt=e.String,gt=e.TypeError,_t=l.prototype,yt=ft.prototype,At=e["__core-js_shared__"],vt=ht.prototype.toString,Ct=yt.hasOwnProperty,wt=0,Pt=(n=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",xt=yt.toString,St=vt.call(ft),kt=Ht._,Mt=bt("^"+vt.call(Ct).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=Wt?e.Buffer:void 0,It=e.Symbol,Yt=e.Uint8Array,zt=Tt?Tt.allocUnsafe:void 0,Gt=Ye(ft.getPrototypeOf,ft),Vt=ft.create,qt=yt.propertyIsEnumerable,$t=_t.splice,Xt=It?It.isConcatSpreadable:void 0,be=It?It.iterator:void 0,we=It?It.toStringTag:void 0,$e=function(){try{var t=Qi(ft,"defineProperty");return t({},"",{}),t}catch(e){}}(),Xe=e.clearTimeout!==Ht.clearTimeout&&e.clearTimeout,Ke=$&&$.now!==Ht.Date.now&&$.now,Je=e.setTimeout!==Ht.setTimeout&&e.setTimeout,Qe=pt.ceil,Ze=pt.floor,tn=ft.getOwnPropertySymbols,en=Tt?Tt.isBuffer:void 0,nn=e.isFinite,ln=_t.join,rn=Ye(ft.keys,ft),on=pt.max,an=pt.min,sn=$.now,un=e.parseInt,cn=pt.random,dn=_t.reverse,hn=Qi(e,"DataView"),pn=Qi(e,"Map"),fn=Qi(e,"Promise"),bn=Qi(e,"Set"),mn=Qi(e,"WeakMap"),gn=Qi(ft,"create"),_n=mn&&new mn,yn={},An=kr(hn),vn=kr(pn),Cn=kr(fn),wn=kr(bn),Pn=kr(mn),xn=It?It.prototype:void 0,Sn=xn?xn.valueOf:void 0,kn=xn?xn.toString:void 0;function Mn(t){if(Vo(t)&&!Lo(t)&&!(t instanceof En)){if(t instanceof Tn)return t;if(Ct.call(t,"__wrapped__"))return Mr(t)}return new Tn(t)}var On=function(){function t(){}return function(e){if(!Ho(e))return{};if(Vt)return Vt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Dn(){}function Tn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function En(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function In(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function Ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function jn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var l=t[e];this.set(l[0],l[1])}}function Rn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new jn;++e<n;)this.add(t[e])}function Fn(t){var e=this.__data__=new Ln(t);this.size=e.size}function Nn(t,e){var n=Lo(t),l=!n&&Io(t),i=!n&&!l&&No(t),r=!n&&!l&&!i&&Zo(t),o=n||l||i||r,a=o?Se(t.length,mt):[],s=a.length;for(var u in t)!e&&!Ct.call(t,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||r&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||rr(u,s))||a.push(u);return a}function Yn(t){var e=t.length;return e?t[jl(0,e-1)]:void 0}function Un(t,e){return Cr(mi(t),Xn(e,0,t.length))}function Bn(t){return Cr(mi(t))}function zn(t,e,n){(void 0!==n&&!Do(t[e],n)||void 0===n&&!(e in t))&&Wn(t,e,n)}function Gn(t,e,n){var l=t[e];Ct.call(t,e)&&Do(l,n)&&(void 0!==n||e in t)||Wn(t,e,n)}function Hn(t,e){for(var n=t.length;n--;)if(Do(t[n][0],e))return n;return-1}function Vn(t,e,n,l){return tl(t,(function(t,i,r){e(l,t,n(t),r)})),l}function qn(t,e){return t&&gi(e,va(e),t)}function Wn(t,e,n){"__proto__"==e&&$e?$e(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function $n(t,e){for(var n=-1,i=e.length,r=l(i),o=null==t;++n<i;)r[n]=o?void 0:ma(t,e[n]);return r}function Xn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Kn(t,e,n,l,i,r){var o,s=1&e,d=2&e,v=4&e;if(n&&(o=i?n(t,l,i,r):n(t)),void 0!==o)return o;if(!Ho(t))return t;var E=Lo(t);if(E){if(o=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Ct.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return mi(t,o)}else{var I=er(t),L=I==h||I==p;if(No(t))return ci(t,s);if(I==m||I==a||L&&!i){if(o=d||L?{}:lr(t),!s)return d?function(t,e){return gi(t,tr(t),e)}(t,function(t,e){return t&&gi(e,Ca(e),t)}(o,t)):function(t,e){return gi(t,Zi(t),e)}(t,qn(o,t))}else{if(!Nt[I])return i?t:{};o=function(t,e,n){var l=t.constructor;switch(e){case C:return di(t);case u:case c:return new l(+t);case w:return function(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case x:case S:case k:case M:case O:case"[object Uint8ClampedArray]":case D:case T:return hi(t,n);case f:return new l;case b:case y:return new l(t);case g:return function(t){var e=new t.constructor(t.source,nt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _:return new l;case A:return Sn?ft(Sn.call(t)):{}}}(t,I,s)}}r||(r=new Fn);var j=r.get(t);if(j)return j;r.set(t,o),Ko(t)?t.forEach((function(l){o.add(Kn(l,e,n,l,t,r))})):qo(t)&&t.forEach((function(l,i){o.set(i,Kn(l,e,n,i,t,r))}));var R=E?void 0:(v?d?Vi:Hi:d?Ca:va)(t);return ie(R||t,(function(l,i){R&&(l=t[i=l]),Gn(o,i,Kn(l,e,n,i,t,r))})),o}function Jn(t,e,n){var l=n.length;if(null==t)return!l;for(t=ft(t);l--;){var i=n[l],r=t[i];if(void 0===r&&!(i in t)||!(0,e[i])(r))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new gt(i);return _r((function(){t.apply(void 0,n)}),e)}function Zn(t,e,n,l){var i=-1,r=se,o=!0,a=t.length,s=[],u=e.length;if(!a)return s;n&&(e=ce(e,Me(n))),l?(r=ue,o=!1):e.length>=200&&(r=De,o=!1,e=new Rn(e));t:for(;++i<a;){var c=t[i],d=null==n?c:n(c);if(c=l||0!==c?c:0,o&&d==d){for(var h=u;h--;)if(e[h]===d)continue t;s.push(c)}else r(e,d,l)||s.push(c)}return s}Mn.templateSettings={escape:Y,evaluate:U,interpolate:B,variable:"",imports:{_:Mn}},(Mn.prototype=Dn.prototype).constructor=Mn,(Tn.prototype=On(Dn.prototype)).constructor=Tn,(En.prototype=On(Dn.prototype)).constructor=En,In.prototype.clear=function(){this.__data__=gn?gn(null):{},this.size=0},In.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},In.prototype.get=function(t){var e=this.__data__;if(gn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ct.call(e,t)?e[t]:void 0},In.prototype.has=function(t){var e=this.__data__;return gn?void 0!==e[t]:Ct.call(e,t)},In.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=gn&&void 0===e?"__lodash_hash_undefined__":e,this},Ln.prototype.clear=function(){this.__data__=[],this.size=0},Ln.prototype.delete=function(t){var e=this.__data__,n=Hn(e,t);return!(n<0||(n==e.length-1?e.pop():$t.call(e,n,1),--this.size,0))},Ln.prototype.get=function(t){var e=this.__data__,n=Hn(e,t);return n<0?void 0:e[n][1]},Ln.prototype.has=function(t){return Hn(this.__data__,t)>-1},Ln.prototype.set=function(t,e){var n=this.__data__,l=Hn(n,t);return l<0?(++this.size,n.push([t,e])):n[l][1]=e,this},jn.prototype.clear=function(){this.size=0,this.__data__={hash:new In,map:new(pn||Ln),string:new In}},jn.prototype.delete=function(t){var e=Ki(this,t).delete(t);return this.size-=e?1:0,e},jn.prototype.get=function(t){return Ki(this,t).get(t)},jn.prototype.has=function(t){return Ki(this,t).has(t)},jn.prototype.set=function(t,e){var n=Ki(this,t),l=n.size;return n.set(t,e),this.size+=n.size==l?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},Fn.prototype.clear=function(){this.__data__=new Ln,this.size=0},Fn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Fn.prototype.get=function(t){return this.__data__.get(t)},Fn.prototype.has=function(t){return this.__data__.has(t)},Fn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ln){var l=n.__data__;if(!pn||l.length<199)return l.push([t,e]),this.size=++n.size,this;n=this.__data__=new jn(l)}return n.set(t,e),this.size=n.size,this};var tl=Ai(sl),el=Ai(ul,!0);function nl(t,e){var n=!0;return tl(t,(function(t,l,i){return n=!!e(t,l,i)})),n}function ll(t,e,n){for(var l=-1,i=t.length;++l<i;){var r=t[l],o=e(r);if(null!=o&&(void 0===a?o==o&&!Qo(o):n(o,a)))var a=o,s=r}return s}function il(t,e){var n=[];return tl(t,(function(t,l,i){e(t,l,i)&&n.push(t)})),n}function rl(t,e,n,l,i){var r=-1,o=t.length;for(n||(n=ir),i||(i=[]);++r<o;){var a=t[r];e>0&&n(a)?e>1?rl(a,e-1,n,l,i):de(i,a):l||(i[i.length]=a)}return i}var ol=vi(),al=vi(!0);function sl(t,e){return t&&ol(t,e,va)}function ul(t,e){return t&&al(t,e,va)}function cl(t,e){return ae(e,(function(e){return Bo(t[e])}))}function dl(t,e){for(var n=0,l=(e=oi(e,t)).length;null!=t&&n<l;)t=t[Sr(e[n++])];return n&&n==l?t:void 0}function hl(t,e,n){var l=e(t);return Lo(t)?l:de(l,n(t))}function pl(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":we&&we in ft(t)?function(t){var e=Ct.call(t,we),n=t[we];try{t[we]=void 0;var l=!0}catch(r){}var i=xt.call(t);return l&&(e?t[we]=n:delete t[we]),i}(t):function(t){return xt.call(t)}(t)}function fl(t,e){return t>e}function bl(t,e){return null!=t&&Ct.call(t,e)}function ml(t,e){return null!=t&&e in ft(t)}function gl(t,e,n){for(var i=n?ue:se,r=t[0].length,o=t.length,a=o,s=l(o),u=1/0,c=[];a--;){var d=t[a];a&&e&&(d=ce(d,Me(e))),u=an(d.length,u),s[a]=!n&&(e||r>=120&&d.length>=120)?new Rn(a&&d):void 0}d=t[0];var h=-1,p=s[0];t:for(;++h<r&&c.length<u;){var f=d[h],b=e?e(f):f;if(f=n||0!==f?f:0,!(p?De(p,b):i(c,b,n))){for(a=o;--a;){var m=s[a];if(!(m?De(m,b):i(t[a],b,n)))continue t}p&&p.push(b),c.push(f)}}return c}function _l(t,e,n){var l=null==(t=fr(t,e=oi(e,t)))?t:t[Sr(Yr(e))];return null==l?void 0:ne(l,t,n)}function yl(t){return Vo(t)&&pl(t)==a}function Al(t,e,n,l,i){return t===e||(null==t||null==e||!Vo(t)&&!Vo(e)?t!=t&&e!=e:function(t,e,n,l,i,r){var o=Lo(t),h=Lo(e),p=o?s:er(t),v=h?s:er(e),P=(p=p==a?m:p)==m,x=(v=v==a?m:v)==m,S=p==v;if(S&&No(t)){if(!No(e))return!1;o=!0,P=!1}if(S&&!P)return r||(r=new Fn),o||Zo(t)?zi(t,e,n,l,i,r):function(t,e,n,l,i,r,o){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new Yt(t),new Yt(e)));case u:case c:case b:return Do(+t,+e);case d:return t.name==e.name&&t.message==e.message;case g:case y:return t==e+"";case f:var a=Ne;case _:if(a||(a=Be),t.size!=e.size&&!(1&l))return!1;var s=o.get(t);if(s)return s==e;l|=2,o.set(t,e);var h=zi(a(t),a(e),l,i,r,o);return o.delete(t),h;case A:if(Sn)return Sn.call(t)==Sn.call(e)}return!1}(t,e,p,n,l,i,r);if(!(1&n)){var k=P&&Ct.call(t,"__wrapped__"),M=x&&Ct.call(e,"__wrapped__");if(k||M){var O=k?t.value():t,D=M?e.value():e;return r||(r=new Fn),i(O,D,n,l,r)}}return!!S&&(r||(r=new Fn),function(t,e,n,l,i,r){var o=1&n,a=Hi(t),s=a.length;if(s!=Hi(e).length&&!o)return!1;for(var u=s;u--;){var c=a[u];if(!(o?c in e:Ct.call(e,c)))return!1}var d=r.get(t),h=r.get(e);if(d&&h)return d==e&&h==t;var p=!0;r.set(t,e),r.set(e,t);for(var f=o;++u<s;){var b=t[c=a[u]],m=e[c];if(l)var g=o?l(m,b,c,e,t,r):l(b,m,c,t,e,r);if(!(void 0===g?b===m||i(b,m,n,l,r):g)){p=!1;break}f||(f="constructor"==c)}if(p&&!f){var _=t.constructor,y=e.constructor;_==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(p=!1)}return r.delete(t),r.delete(e),p}(t,e,n,l,i,r))}(t,e,n,l,Al,i))}function vl(t,e,n,l){var i=n.length,r=i,o=!l;if(null==t)return!r;for(t=ft(t);i--;){var a=n[i];if(o&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<r;){var s=(a=n[i])[0],u=t[s],c=a[1];if(o&&a[2]){if(void 0===u&&!(s in t))return!1}else{var d=new Fn;if(l)var h=l(u,c,s,t,e,d);if(!(void 0===h?Al(c,u,3,l,d):h))return!1}}return!0}function Cl(t){return!(!Ho(t)||(e=t,Pt&&Pt in e))&&(Bo(t)?Mt:rt).test(kr(t));var e}function wl(t){return"function"==typeof t?t:null==t?Wa:"object"==typeof t?Lo(t)?Ml(t[0],t[1]):kl(t):ns(t)}function Pl(t){if(!cr(t))return rn(t);var e=[];for(var n in ft(t))Ct.call(t,n)&&"constructor"!=n&&e.push(n);return e}function xl(t,e){return t<e}function Sl(t,e){var n=-1,i=Ro(t)?l(t.length):[];return tl(t,(function(t,l,r){i[++n]=e(t,l,r)})),i}function kl(t){var e=Ji(t);return 1==e.length&&e[0][2]?hr(e[0][0],e[0][1]):function(n){return n===t||vl(n,t,e)}}function Ml(t,e){return ar(t)&&dr(e)?hr(Sr(t),e):function(n){var l=ma(n,t);return void 0===l&&l===e?ga(n,t):Al(e,l,3)}}function Ol(t,e,n,l,i){t!==e&&ol(e,(function(r,o){if(i||(i=new Fn),Ho(r))!function(t,e,n,l,i,r,o){var a=mr(t,n),s=mr(e,n),u=o.get(s);if(u)zn(t,n,u);else{var c=r?r(a,s,n+"",t,e,o):void 0,d=void 0===c;if(d){var h=Lo(s),p=!h&&No(s),f=!h&&!p&&Zo(s);c=s,h||p||f?Lo(a)?c=a:Fo(a)?c=mi(a):p?(d=!1,c=ci(s,!0)):f?(d=!1,c=hi(s,!0)):c=[]:$o(s)||Io(s)?(c=a,Io(a)?c=aa(a):Ho(a)&&!Bo(a)||(c=lr(s))):d=!1}d&&(o.set(s,c),i(c,s,l,r,o),o.delete(s)),zn(t,n,c)}}(t,e,o,n,Ol,l,i);else{var a=l?l(mr(t,o),r,o+"",t,e,i):void 0;void 0===a&&(a=r),zn(t,o,a)}}),Ca)}function Dl(t,e){var n=t.length;if(n)return rr(e+=e<0?n:0,n)?t[e]:void 0}function Tl(t,e,n){e=e.length?ce(e,(function(t){return Lo(t)?function(e){return dl(e,1===t.length?t[0]:t)}:t})):[Wa];var l=-1;return e=ce(e,Me(Xi())),function(t,e){var l=t.length;for(t.sort((function(t,e){return function(t,e,n){for(var l=-1,i=t.criteria,r=e.criteria,o=i.length,a=n.length;++l<o;){var s=pi(i[l],r[l]);if(s)return l>=a?s:s*("desc"==n[l]?-1:1)}return t.index-e.index}(t,e,n)}));l--;)t[l]=t[l].value;return t}(Sl(t,(function(t,n,i){return{criteria:ce(e,(function(e){return e(t)})),index:++l,value:t}})))}function El(t,e,n){for(var l=-1,i=e.length,r={};++l<i;){var o=e[l],a=dl(t,o);n(a,o)&&Ul(r,oi(o,t),a)}return r}function Il(t,e,n,l){var i=l?ye:_e,r=-1,o=e.length,a=t;for(t===e&&(e=mi(e)),n&&(a=ce(t,Me(n)));++r<o;)for(var s=0,u=e[r],c=n?n(u):u;(s=i(a,c,s,l))>-1;)a!==t&&$t.call(a,s,1),$t.call(t,s,1);return t}function Ll(t,e){for(var n=t?e.length:0,l=n-1;n--;){var i=e[n];if(n==l||i!==r){var r=i;rr(i)?$t.call(t,i,1):Ql(t,i)}}return t}function jl(t,e){return t+Ze(cn()*(e-t+1))}function Rl(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Ze(e/2))&&(t+=t)}while(e);return n}function Fl(t,e){return yr(pr(t,e,Wa),t+"")}function Nl(t){return Yn(Da(t))}function Yl(t,e){var n=Da(t);return Cr(n,Xn(e,0,n.length))}function Ul(t,e,n,l){if(!Ho(t))return t;for(var i=-1,r=(e=oi(e,t)).length,o=r-1,a=t;null!=a&&++i<r;){var s=Sr(e[i]),u=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return t;if(i!=o){var c=a[s];void 0===(u=l?l(c,s,a):void 0)&&(u=Ho(c)?c:rr(e[i+1])?[]:{})}Gn(a,s,u),a=a[s]}return t}var Bl=_n?function(t,e){return _n.set(t,e),t}:Wa,zl=$e?function(t,e){return $e(t,"toString",{configurable:!0,enumerable:!1,value:Ha(e),writable:!0})}:Wa;function Gl(t){return Cr(Da(t))}function Hl(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=l(r);++i<r;)o[i]=t[i+e];return o}function Vl(t,e){var n;return tl(t,(function(t,l,i){return!(n=e(t,l,i))})),!!n}function ql(t,e,n){var l=0,i=null==t?l:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;l<i;){var r=l+i>>>1,o=t[r];null!==o&&!Qo(o)&&(n?o<=e:o<e)?l=r+1:i=r}return i}return Wl(t,e,Wa,n)}function Wl(t,e,n,l){var i=0,r=null==t?0:t.length;if(0===r)return 0;for(var o=(e=n(e))!=e,a=null===e,s=Qo(e),u=void 0===e;i<r;){var c=Ze((i+r)/2),d=n(t[c]),h=void 0!==d,p=null===d,f=d==d,b=Qo(d);if(o)var m=l||f;else m=u?f&&(l||h):a?f&&h&&(l||!p):s?f&&h&&!p&&(l||!b):!p&&!b&&(l?d<=e:d<e);m?i=c+1:r=c}return an(r,4294967294)}function $l(t,e){for(var n=-1,l=t.length,i=0,r=[];++n<l;){var o=t[n],a=e?e(o):o;if(!n||!Do(a,s)){var s=a;r[i++]=0===o?0:o}}return r}function Xl(t){return"number"==typeof t?t:Qo(t)?NaN:+t}function Kl(t){if("string"==typeof t)return t;if(Lo(t))return ce(t,Kl)+"";if(Qo(t))return kn?kn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Jl(t,e,n){var l=-1,i=se,r=t.length,o=!0,a=[],s=a;if(n)o=!1,i=ue;else if(r>=200){var u=e?null:Ri(t);if(u)return Be(u);o=!1,i=De,s=new Rn}else s=e?[]:a;t:for(;++l<r;){var c=t[l],d=e?e(c):c;if(c=n||0!==c?c:0,o&&d==d){for(var h=s.length;h--;)if(s[h]===d)continue t;e&&s.push(d),a.push(c)}else i(s,d,n)||(s!==a&&s.push(d),a.push(c))}return a}function Ql(t,e){return null==(t=fr(t,e=oi(e,t)))||delete t[Sr(Yr(e))]}function Zl(t,e,n,l){return Ul(t,e,n(dl(t,e)),l)}function ti(t,e,n,l){for(var i=t.length,r=l?i:-1;(l?r--:++r<i)&&e(t[r],r,t););return n?Hl(t,l?0:r,l?r+1:i):Hl(t,l?r+1:0,l?i:r)}function ei(t,e){var n=t;return n instanceof En&&(n=n.value()),he(e,(function(t,e){return e.func.apply(e.thisArg,de([t],e.args))}),n)}function ni(t,e,n){var i=t.length;if(i<2)return i?Jl(t[0]):[];for(var r=-1,o=l(i);++r<i;)for(var a=t[r],s=-1;++s<i;)s!=r&&(o[r]=Zn(o[r]||a,t[s],e,n));return Jl(rl(o,1),e,n)}function li(t,e,n){for(var l=-1,i=t.length,r=e.length,o={};++l<i;)n(o,t[l],l<r?e[l]:void 0);return o}function ii(t){return Fo(t)?t:[]}function ri(t){return"function"==typeof t?t:Wa}function oi(t,e){return Lo(t)?t:ar(t,e)?[t]:xr(sa(t))}var ai=Fl;function si(t,e,n){var l=t.length;return n=void 0===n?l:n,!e&&n>=l?t:Hl(t,e,n)}var ui=Xe||function(t){return Ht.clearTimeout(t)};function ci(t,e){if(e)return t.slice();var n=t.length,l=zt?zt(n):new t.constructor(n);return t.copy(l),l}function di(t){var e=new t.constructor(t.byteLength);return new Yt(e).set(new Yt(t)),e}function hi(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function pi(t,e){if(t!==e){var n=void 0!==t,l=null===t,i=t==t,r=Qo(t),o=void 0!==e,a=null===e,s=e==e,u=Qo(e);if(!a&&!u&&!r&&t>e||r&&o&&s&&!a&&!u||l&&o&&s||!n&&s||!i)return 1;if(!l&&!r&&!u&&t<e||u&&n&&i&&!l&&!r||a&&n&&i||!o&&i||!s)return-1}return 0}function fi(t,e,n,i){for(var r=-1,o=t.length,a=n.length,s=-1,u=e.length,c=on(o-a,0),d=l(u+c),h=!i;++s<u;)d[s]=e[s];for(;++r<a;)(h||r<o)&&(d[n[r]]=t[r]);for(;c--;)d[s++]=t[r++];return d}function bi(t,e,n,i){for(var r=-1,o=t.length,a=-1,s=n.length,u=-1,c=e.length,d=on(o-s,0),h=l(d+c),p=!i;++r<d;)h[r]=t[r];for(var f=r;++u<c;)h[f+u]=e[u];for(;++a<s;)(p||r<o)&&(h[f+n[a]]=t[r++]);return h}function mi(t,e){var n=-1,i=t.length;for(e||(e=l(i));++n<i;)e[n]=t[n];return e}function gi(t,e,n,l){var i=!n;n||(n={});for(var r=-1,o=e.length;++r<o;){var a=e[r],s=l?l(n[a],t[a],a,n,t):void 0;void 0===s&&(s=t[a]),i?Wn(n,a,s):Gn(n,a,s)}return n}function _i(t,e){return function(n,l){var i=Lo(n)?le:Vn,r=e?e():{};return i(n,t,Xi(l,2),r)}}function yi(t){return Fl((function(e,n){var l=-1,i=n.length,r=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(r=t.length>3&&"function"==typeof r?(i--,r):void 0,o&&or(n[0],n[1],o)&&(r=i<3?void 0:r,i=1),e=ft(e);++l<i;){var a=n[l];a&&t(e,a,l,r)}return e}))}function Ai(t,e){return function(n,l){if(null==n)return n;if(!Ro(n))return t(n,l);for(var i=n.length,r=e?i:-1,o=ft(n);(e?r--:++r<i)&&!1!==l(o[r],r,o););return n}}function vi(t){return function(e,n,l){for(var i=-1,r=ft(e),o=l(e),a=o.length;a--;){var s=o[t?a:++i];if(!1===n(r[s],s,r))break}return e}}function Ci(t){return function(e){var n=Fe(e=sa(e))?He(e):void 0,l=n?n[0]:e.charAt(0),i=n?si(n,1).join(""):e.slice(1);return l[t]()+i}}function wi(t){return function(e){return he(Ba(Ia(e).replace(Ot,"")),t,"")}}function Pi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=On(t.prototype),l=t.apply(n,e);return Ho(l)?l:n}}function xi(t){return function(e,n,l){var i=ft(e);if(!Ro(e)){var r=Xi(n,3);e=va(e),n=function(t){return r(i[t],t,i)}}var o=t(e,n,l);return o>-1?i[r?e[o]:o]:void 0}}function Si(t){return Gi((function(e){var n=e.length,l=n,r=Tn.prototype.thru;for(t&&e.reverse();l--;){var o=e[l];if("function"!=typeof o)throw new gt(i);if(r&&!a&&"wrapper"==Wi(o))var a=new Tn([],!0)}for(l=a?l:n;++l<n;){var s=Wi(o=e[l]),u="wrapper"==s?qi(o):void 0;a=u&&sr(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?a[Wi(u[0])].apply(a,u[3]):1==o.length&&sr(o)?a[s]():a.thru(o)}return function(){var t=arguments,l=t[0];if(a&&1==t.length&&Lo(l))return a.plant(l).value();for(var i=0,r=n?e[i].apply(this,t):l;++i<n;)r=e[i].call(this,r);return r}}))}function ki(t,e,n,i,r,o,a,s,u,c){var d=128&e,h=1&e,p=2&e,f=24&e,b=512&e,m=p?void 0:Pi(t);return function g(){for(var _=arguments.length,y=l(_),A=_;A--;)y[A]=arguments[A];if(f)var v=$i(g),C=Ie(y,v);if(i&&(y=fi(y,i,r,f)),o&&(y=bi(y,o,a,f)),_-=C,f&&_<c){var w=Ue(y,v);return Li(t,e,ki,g.placeholder,n,y,w,s,u,c-_)}var P=h?n:this,x=p?P[t]:t;return _=y.length,s?y=br(y,s):b&&_>1&&y.reverse(),d&&u<_&&(y.length=u),this&&this!==Ht&&this instanceof g&&(x=m||Pi(x)),x.apply(P,y)}}function Mi(t,e){return function(n,l){return function(t,e,n,l){return sl(t,(function(t,i,r){e(l,n(t),i,r)})),l}(n,t,e(l),{})}}function Oi(t,e){return function(n,l){var i;if(void 0===n&&void 0===l)return e;if(void 0!==n&&(i=n),void 0!==l){if(void 0===i)return l;"string"==typeof n||"string"==typeof l?(n=Kl(n),l=Kl(l)):(n=Xl(n),l=Xl(l)),i=t(n,l)}return i}}function Di(t){return Gi((function(e){return e=ce(e,Me(Xi())),Fl((function(n){var l=this;return t(e,(function(t){return ne(t,l,n)}))}))}))}function Ti(t,e){var n=(e=void 0===e?" ":Kl(e)).length;if(n<2)return n?Rl(e,t):e;var l=Rl(e,Qe(t/Ge(e)));return Fe(e)?si(He(l),0,t).join(""):l.slice(0,t)}function Ei(t){return function(e,n,i){return i&&"number"!=typeof i&&or(e,n,i)&&(n=i=void 0),e=la(e),void 0===n?(n=e,e=0):n=la(n),function(t,e,n,i){for(var r=-1,o=on(Qe((e-t)/(n||1)),0),a=l(o);o--;)a[i?o:++r]=t,t+=n;return a}(e,n,i=void 0===i?e<n?1:-1:la(i),t)}}function Ii(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=oa(e),n=oa(n)),t(e,n)}}function Li(t,e,n,l,i,r,o,a,s,u){var c=8&e;e|=c?32:64,4&(e&=~(c?64:32))||(e&=-4);var d=[t,e,i,c?r:void 0,c?o:void 0,c?void 0:r,c?void 0:o,a,s,u],h=n.apply(void 0,d);return sr(t)&&gr(h,d),h.placeholder=l,Ar(h,t,e)}function ji(t){var e=pt[t];return function(t,n){if(t=oa(t),(n=null==n?0:an(ia(n),292))&&nn(t)){var l=(sa(t)+"e").split("e");return+((l=(sa(e(l[0]+"e"+(+l[1]+n)))+"e").split("e"))[0]+"e"+(+l[1]-n))}return e(t)}}var Ri=bn&&1/Be(new bn([,-0]))[1]==1/0?function(t){return new bn(t)}:Qa;function Fi(t){return function(e){var n=er(e);return n==f?Ne(e):n==_?ze(e):function(t,e){return ce(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Ni(t,e,n,o,a,s,u,c){var d=2&e;if(!d&&"function"!=typeof t)throw new gt(i);var h=o?o.length:0;if(h||(e&=-97,o=a=void 0),u=void 0===u?u:on(ia(u),0),c=void 0===c?c:ia(c),h-=a?a.length:0,64&e){var p=o,f=a;o=a=void 0}var b=d?void 0:qi(t),m=[t,e,n,o,a,p,f,s,u,c];if(b&&function(t,e){var n=t[1],l=e[1],i=n|l;if(!(i<131||128==l&&8==n||128==l&&256==n&&t[7].length<=e[8]||384==l&&e[7].length<=e[8]&&8==n))return t;1&l&&(t[2]=e[2],i|=1&n?0:4);var o=e[3];if(o){var a=t[3];t[3]=a?fi(a,o,e[4]):o,t[4]=a?Ue(t[3],r):e[4]}(o=e[5])&&(t[5]=(a=t[5])?bi(a,o,e[6]):o,t[6]=a?Ue(t[5],r):e[6]),(o=e[7])&&(t[7]=o),128&l&&(t[8]=null==t[8]?e[8]:an(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(m,b),t=m[0],e=m[1],n=m[2],o=m[3],a=m[4],!(c=m[9]=void 0===m[9]?d?0:t.length:on(m[9]-h,0))&&24&e&&(e&=-25),e&&1!=e)g=8==e||16==e?function(t,e,n){var i=Pi(t);return function r(){for(var o=arguments.length,a=l(o),s=o,u=$i(r);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==u&&a[o-1]!==u?[]:Ue(a,u);if((o-=c.length)<n)return Li(t,e,ki,r.placeholder,void 0,a,c,void 0,void 0,n-o);var d=this&&this!==Ht&&this instanceof r?i:t;return ne(d,this,a)}}(t,e,c):32!=e&&33!=e||a.length?ki.apply(void 0,m):function(t,e,n,i){var r=1&e,o=Pi(t);return function e(){for(var a=-1,s=arguments.length,u=-1,c=i.length,d=l(c+s),h=this&&this!==Ht&&this instanceof e?o:t;++u<c;)d[u]=i[u];for(;s--;)d[u++]=arguments[++a];return ne(h,r?n:this,d)}}(t,e,n,o);else var g=function(t,e,n){var l=1&e,i=Pi(t);return function e(){var r=this&&this!==Ht&&this instanceof e?i:t;return r.apply(l?n:this,arguments)}}(t,e,n);return Ar((b?Bl:gr)(g,m),t,e)}function Yi(t,e,n,l){return void 0===t||Do(t,yt[n])&&!Ct.call(l,n)?e:t}function Ui(t,e,n,l,i,r){return Ho(t)&&Ho(e)&&(r.set(e,t),Ol(t,e,void 0,Ui,r),r.delete(e)),t}function Bi(t){return $o(t)?void 0:t}function zi(t,e,n,l,i,r){var o=1&n,a=t.length,s=e.length;if(a!=s&&!(o&&s>a))return!1;var u=r.get(t),c=r.get(e);if(u&&c)return u==e&&c==t;var d=-1,h=!0,p=2&n?new Rn:void 0;for(r.set(t,e),r.set(e,t);++d<a;){var f=t[d],b=e[d];if(l)var m=o?l(b,f,d,e,t,r):l(f,b,d,t,e,r);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!fe(e,(function(t,e){if(!De(p,e)&&(f===t||i(f,t,n,l,r)))return p.push(e)}))){h=!1;break}}else if(f!==b&&!i(f,b,n,l,r)){h=!1;break}}return r.delete(t),r.delete(e),h}function Gi(t){return yr(pr(t,void 0,Lr),t+"")}function Hi(t){return hl(t,va,Zi)}function Vi(t){return hl(t,Ca,tr)}var qi=_n?function(t){return _n.get(t)}:Qa;function Wi(t){for(var e=t.name+"",n=yn[e],l=Ct.call(yn,e)?n.length:0;l--;){var i=n[l],r=i.func;if(null==r||r==t)return i.name}return e}function $i(t){return(Ct.call(Mn,"placeholder")?Mn:t).placeholder}function Xi(){var t=Mn.iteratee||$a;return t=t===$a?wl:t,arguments.length?t(arguments[0],arguments[1]):t}function Ki(t,e){var n,l,i=t.__data__;return("string"==(l=typeof(n=e))||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ji(t){for(var e=va(t),n=e.length;n--;){var l=e[n],i=t[l];e[n]=[l,i,dr(i)]}return e}function Qi(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Cl(n)?n:void 0}var Zi=tn?function(t){return null==t?[]:(t=ft(t),ae(tn(t),(function(e){return qt.call(t,e)})))}:rs,tr=tn?function(t){for(var e=[];t;)de(e,Zi(t)),t=Gt(t);return e}:rs,er=pl;function nr(t,e,n){for(var l=-1,i=(e=oi(e,t)).length,r=!1;++l<i;){var o=Sr(e[l]);if(!(r=null!=t&&n(t,o)))break;t=t[o]}return r||++l!=i?r:!!(i=null==t?0:t.length)&&Go(i)&&rr(o,i)&&(Lo(t)||Io(t))}function lr(t){return"function"!=typeof t.constructor||cr(t)?{}:On(Gt(t))}function ir(t){return Lo(t)||Io(t)||!!(Xt&&t&&t[Xt])}function rr(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&at.test(t))&&t>-1&&t%1==0&&t<e}function or(t,e,n){if(!Ho(n))return!1;var l=typeof e;return!!("number"==l?Ro(n)&&rr(e,n.length):"string"==l&&e in n)&&Do(n[e],t)}function ar(t,e){if(Lo(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Qo(t))||G.test(t)||!z.test(t)||null!=e&&t in ft(e)}function sr(t){var e=Wi(t),n=Mn[e];if("function"!=typeof n||!(e in En.prototype))return!1;if(t===n)return!0;var l=qi(n);return!!l&&t===l[0]}(hn&&er(new hn(new ArrayBuffer(1)))!=w||pn&&er(new pn)!=f||fn&&"[object Promise]"!=er(fn.resolve())||bn&&er(new bn)!=_||mn&&er(new mn)!=v)&&(er=function(t){var e=pl(t),n=e==m?t.constructor:void 0,l=n?kr(n):"";if(l)switch(l){case An:return w;case vn:return f;case Cn:return"[object Promise]";case wn:return _;case Pn:return v}return e});var ur=At?Bo:os;function cr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||yt)}function dr(t){return t==t&&!Ho(t)}function hr(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in ft(n))}}function pr(t,e,n){return e=on(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=on(i.length-e,0),a=l(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=l(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),ne(t,this,s)}}function fr(t,e){return e.length<2?t:dl(t,Hl(e,0,-1))}function br(t,e){for(var n=t.length,l=an(e.length,n),i=mi(t);l--;){var r=e[l];t[l]=rr(r,n)?i[r]:void 0}return t}function mr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var gr=vr(Bl),_r=Je||function(t,e){return Ht.setTimeout(t,e)},yr=vr(zl);function Ar(t,e,n){var l=e+"";return yr(t,function(t,e){var n=e.length;if(!n)return t;var l=n-1;return e[l]=(n>1?"& ":"")+e[l],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(l,function(t,e){return ie(o,(function(n){var l="_."+n[0];e&n[1]&&!se(t,l)&&t.push(l)})),t.sort()}(function(t){var e=t.match(K);return e?e[1].split(J):[]}(l),n)))}function vr(t){var e=0,n=0;return function(){var l=sn(),i=16-(l-n);if(n=l,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Cr(t,e){var n=-1,l=t.length,i=l-1;for(e=void 0===e?l:e;++n<e;){var r=jl(n,i),o=t[r];t[r]=t[n],t[n]=o}return t.length=e,t}var wr,Pr,xr=(wr=Po((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(H,(function(t,n,l,i){e.push(l?i.replace(tt,"$1"):n||t)})),e}),(function(t){return 500===Pr.size&&Pr.clear(),t})),Pr=wr.cache,wr);function Sr(t){if("string"==typeof t||Qo(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function kr(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Mr(t){if(t instanceof En)return t.clone();var e=new Tn(t.__wrapped__,t.__chain__);return e.__actions__=mi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Or=Fl((function(t,e){return Fo(t)?Zn(t,rl(e,1,Fo,!0)):[]})),Dr=Fl((function(t,e){var n=Yr(e);return Fo(n)&&(n=void 0),Fo(t)?Zn(t,rl(e,1,Fo,!0),Xi(n,2)):[]})),Tr=Fl((function(t,e){var n=Yr(e);return Fo(n)&&(n=void 0),Fo(t)?Zn(t,rl(e,1,Fo,!0),void 0,n):[]}));function Er(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=null==n?0:ia(n);return i<0&&(i=on(l+i,0)),ge(t,Xi(e,3),i)}function Ir(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=l-1;return void 0!==n&&(i=ia(n),i=n<0?on(l+i,0):an(i,l-1)),ge(t,Xi(e,3),i,!0)}function Lr(t){return null!=t&&t.length?rl(t,1):[]}function jr(t){return t&&t.length?t[0]:void 0}var Rr=Fl((function(t){var e=ce(t,ii);return e.length&&e[0]===t[0]?gl(e):[]})),Fr=Fl((function(t){var e=Yr(t),n=ce(t,ii);return e===Yr(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?gl(n,Xi(e,2)):[]})),Nr=Fl((function(t){var e=Yr(t),n=ce(t,ii);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?gl(n,void 0,e):[]}));function Yr(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Ur=Fl(Br);function Br(t,e){return t&&t.length&&e&&e.length?Il(t,e):t}var zr=Gi((function(t,e){var n=null==t?0:t.length,l=$n(t,e);return Ll(t,ce(e,(function(t){return rr(t,n)?+t:t})).sort(pi)),l}));function Gr(t){return null==t?t:dn.call(t)}var Hr=Fl((function(t){return Jl(rl(t,1,Fo,!0))})),Vr=Fl((function(t){var e=Yr(t);return Fo(e)&&(e=void 0),Jl(rl(t,1,Fo,!0),Xi(e,2))})),qr=Fl((function(t){var e=Yr(t);return e="function"==typeof e?e:void 0,Jl(rl(t,1,Fo,!0),void 0,e)}));function Wr(t){if(!t||!t.length)return[];var e=0;return t=ae(t,(function(t){if(Fo(t))return e=on(t.length,e),!0})),Se(e,(function(e){return ce(t,Ce(e))}))}function $r(t,e){if(!t||!t.length)return[];var n=Wr(t);return null==e?n:ce(n,(function(t){return ne(e,void 0,t)}))}var Xr=Fl((function(t,e){return Fo(t)?Zn(t,e):[]})),Kr=Fl((function(t){return ni(ae(t,Fo))})),Jr=Fl((function(t){var e=Yr(t);return Fo(e)&&(e=void 0),ni(ae(t,Fo),Xi(e,2))})),Qr=Fl((function(t){var e=Yr(t);return e="function"==typeof e?e:void 0,ni(ae(t,Fo),void 0,e)})),Zr=Fl(Wr),to=Fl((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,$r(t,n)}));function eo(t){var e=Mn(t);return e.__chain__=!0,e}function no(t,e){return e(t)}var lo=Gi((function(t){var e=t.length,n=e?t[0]:0,l=this.__wrapped__,i=function(e){return $n(e,t)};return!(e>1||this.__actions__.length)&&l instanceof En&&rr(n)?((l=l.slice(n,+n+(e?1:0))).__actions__.push({func:no,args:[i],thisArg:void 0}),new Tn(l,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)})),io=_i((function(t,e,n){Ct.call(t,n)?++t[n]:Wn(t,n,1)})),ro=xi(Er),oo=xi(Ir);function ao(t,e){return(Lo(t)?ie:tl)(t,Xi(e,3))}function so(t,e){return(Lo(t)?re:el)(t,Xi(e,3))}var uo=_i((function(t,e,n){Ct.call(t,n)?t[n].push(e):Wn(t,n,[e])})),co=Fl((function(t,e,n){var i=-1,r="function"==typeof e,o=Ro(t)?l(t.length):[];return tl(t,(function(t){o[++i]=r?ne(e,t,n):_l(t,e,n)})),o})),ho=_i((function(t,e,n){Wn(t,n,e)}));function po(t,e){return(Lo(t)?ce:Sl)(t,Xi(e,3))}var fo=_i((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),bo=Fl((function(t,e){if(null==t)return[];var n=e.length;return n>1&&or(t,e[0],e[1])?e=[]:n>2&&or(e[0],e[1],e[2])&&(e=[e[0]]),Tl(t,rl(e,1),[])})),mo=Ke||function(){return Ht.Date.now()};function go(t,e,n){return e=n?void 0:e,Ni(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function _o(t,e){var n;if("function"!=typeof e)throw new gt(i);return t=ia(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var yo=Fl((function(t,e,n){var l=1;if(n.length){var i=Ue(n,$i(yo));l|=32}return Ni(t,l,e,n,i)})),Ao=Fl((function(t,e,n){var l=3;if(n.length){var i=Ue(n,$i(Ao));l|=32}return Ni(e,l,t,n,i)}));function vo(t,e,n){var l,r,o,a,s,u,c=0,d=!1,h=!1,p=!0;if("function"!=typeof t)throw new gt(i);function f(e){var n=l,i=r;return l=r=void 0,c=e,a=t.apply(i,n)}function b(t){return c=t,s=_r(g,e),d?f(t):a}function m(t){var n=t-u;return void 0===u||n>=e||n<0||h&&t-c>=o}function g(){var t=mo();if(m(t))return _(t);s=_r(g,function(t){var n=e-(t-u);return h?an(n,o-(t-c)):n}(t))}function _(t){return s=void 0,p&&l?f(t):(l=r=void 0,a)}function y(){var t=mo(),n=m(t);if(l=arguments,r=this,u=t,n){if(void 0===s)return b(u);if(h)return ui(s),s=_r(g,e),f(u)}return void 0===s&&(s=_r(g,e)),a}return e=oa(e)||0,Ho(n)&&(d=!!n.leading,o=(h="maxWait"in n)?on(oa(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&ui(s),c=0,l=u=r=s=void 0},y.flush=function(){return void 0===s?a:_(mo())},y}var Co=Fl((function(t,e){return Qn(t,1,e)})),wo=Fl((function(t,e,n){return Qn(t,oa(e)||0,n)}));function Po(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new gt(i);var n=function(){var l=arguments,i=e?e.apply(this,l):l[0],r=n.cache;if(r.has(i))return r.get(i);var o=t.apply(this,l);return n.cache=r.set(i,o)||r,o};return n.cache=new(Po.Cache||jn),n}function xo(t){if("function"!=typeof t)throw new gt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Po.Cache=jn;var So=ai((function(t,e){var n=(e=1==e.length&&Lo(e[0])?ce(e[0],Me(Xi())):ce(rl(e,1),Me(Xi()))).length;return Fl((function(l){for(var i=-1,r=an(l.length,n);++i<r;)l[i]=e[i].call(this,l[i]);return ne(t,this,l)}))})),ko=Fl((function(t,e){return Ni(t,32,void 0,e,Ue(e,$i(ko)))})),Mo=Fl((function(t,e){return Ni(t,64,void 0,e,Ue(e,$i(Mo)))})),Oo=Gi((function(t,e){return Ni(t,256,void 0,void 0,void 0,e)}));function Do(t,e){return t===e||t!=t&&e!=e}var To=Ii(fl),Eo=Ii((function(t,e){return t>=e})),Io=yl(function(){return arguments}())?yl:function(t){return Vo(t)&&Ct.call(t,"callee")&&!qt.call(t,"callee")},Lo=l.isArray,jo=Kt?Me(Kt):function(t){return Vo(t)&&pl(t)==C};function Ro(t){return null!=t&&Go(t.length)&&!Bo(t)}function Fo(t){return Vo(t)&&Ro(t)}var No=en||os,Yo=Jt?Me(Jt):function(t){return Vo(t)&&pl(t)==c};function Uo(t){if(!Vo(t))return!1;var e=pl(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!$o(t)}function Bo(t){if(!Ho(t))return!1;var e=pl(t);return e==h||e==p||"[object AsyncFunction]"==e||"[object Proxy]"==e}function zo(t){return"number"==typeof t&&t==ia(t)}function Go(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ho(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Vo(t){return null!=t&&"object"==typeof t}var qo=Qt?Me(Qt):function(t){return Vo(t)&&er(t)==f};function Wo(t){return"number"==typeof t||Vo(t)&&pl(t)==b}function $o(t){if(!Vo(t)||pl(t)!=m)return!1;var e=Gt(t);if(null===e)return!0;var n=Ct.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&vt.call(n)==St}var Xo=Zt?Me(Zt):function(t){return Vo(t)&&pl(t)==g},Ko=te?Me(te):function(t){return Vo(t)&&er(t)==_};function Jo(t){return"string"==typeof t||!Lo(t)&&Vo(t)&&pl(t)==y}function Qo(t){return"symbol"==typeof t||Vo(t)&&pl(t)==A}var Zo=ee?Me(ee):function(t){return Vo(t)&&Go(t.length)&&!!Ft[pl(t)]},ta=Ii(xl),ea=Ii((function(t,e){return t<=e}));function na(t){if(!t)return[];if(Ro(t))return Jo(t)?He(t):mi(t);if(be&&t[be])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[be]());var e=er(t);return(e==f?Ne:e==_?Be:Da)(t)}function la(t){return t?(t=oa(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var e=la(t),n=e%1;return e==e?n?e-n:e:0}function ra(t){return t?Xn(ia(t),0,4294967295):0}function oa(t){if("number"==typeof t)return t;if(Qo(t))return NaN;if(Ho(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ho(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=ke(t);var n=it.test(t);return n||ot.test(t)?Bt(t.slice(2),n?2:8):lt.test(t)?NaN:+t}function aa(t){return gi(t,Ca(t))}function sa(t){return null==t?"":Kl(t)}var ua=yi((function(t,e){if(cr(e)||Ro(e))gi(e,va(e),t);else for(var n in e)Ct.call(e,n)&&Gn(t,n,e[n])})),ca=yi((function(t,e){gi(e,Ca(e),t)})),da=yi((function(t,e,n,l){gi(e,Ca(e),t,l)})),ha=yi((function(t,e,n,l){gi(e,va(e),t,l)})),pa=Gi($n),fa=Fl((function(t,e){t=ft(t);var n=-1,l=e.length,i=l>2?e[2]:void 0;for(i&&or(e[0],e[1],i)&&(l=1);++n<l;)for(var r=e[n],o=Ca(r),a=-1,s=o.length;++a<s;){var u=o[a],c=t[u];(void 0===c||Do(c,yt[u])&&!Ct.call(t,u))&&(t[u]=r[u])}return t})),ba=Fl((function(t){return t.push(void 0,Ui),ne(Pa,void 0,t)}));function ma(t,e,n){var l=null==t?void 0:dl(t,e);return void 0===l?n:l}function ga(t,e){return null!=t&&nr(t,e,ml)}var _a=Mi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=xt.call(e)),t[e]=n}),Ha(Wa)),ya=Mi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=xt.call(e)),Ct.call(t,e)?t[e].push(n):t[e]=[n]}),Xi),Aa=Fl(_l);function va(t){return Ro(t)?Nn(t):Pl(t)}function Ca(t){return Ro(t)?Nn(t,!0):function(t){if(!Ho(t))return function(t){var e=[];if(null!=t)for(var n in ft(t))e.push(n);return e}(t);var e=cr(t),n=[];for(var l in t)("constructor"!=l||!e&&Ct.call(t,l))&&n.push(l);return n}(t)}var wa=yi((function(t,e,n){Ol(t,e,n)})),Pa=yi((function(t,e,n,l){Ol(t,e,n,l)})),xa=Gi((function(t,e){var n={};if(null==t)return n;var l=!1;e=ce(e,(function(e){return e=oi(e,t),l||(l=e.length>1),e})),gi(t,Vi(t),n),l&&(n=Kn(n,7,Bi));for(var i=e.length;i--;)Ql(n,e[i]);return n})),Sa=Gi((function(t,e){return null==t?{}:function(t,e){return El(t,e,(function(e,n){return ga(t,n)}))}(t,e)}));function ka(t,e){if(null==t)return{};var n=ce(Vi(t),(function(t){return[t]}));return e=Xi(e),El(t,n,(function(t,n){return e(t,n[0])}))}var Ma=Fi(va),Oa=Fi(Ca);function Da(t){return null==t?[]:Oe(t,va(t))}var Ta=wi((function(t,e,n){return e=e.toLowerCase(),t+(n?Ea(e):e)}));function Ea(t){return Ua(sa(t).toLowerCase())}function Ia(t){return(t=sa(t))&&t.replace(st,Le).replace(Dt,"")}var La=wi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),ja=wi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ra=Ci("toLowerCase"),Fa=wi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Na=wi((function(t,e,n){return t+(n?" ":"")+Ua(e)})),Ya=wi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ua=Ci("toUpperCase");function Ba(t,e,n){return t=sa(t),void 0===(e=n?void 0:e)?function(t){return Lt.test(t)}(t)?function(t){return t.match(Et)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var za=Fl((function(t,e){try{return ne(t,void 0,e)}catch(n){return Uo(n)?n:new dt(n)}})),Ga=Gi((function(t,e){return ie(e,(function(e){e=Sr(e),Wn(t,e,yo(t[e],t))})),t}));function Ha(t){return function(){return t}}var Va=Si(),qa=Si(!0);function Wa(t){return t}function $a(t){return wl("function"==typeof t?t:Kn(t,1))}var Xa=Fl((function(t,e){return function(n){return _l(n,t,e)}})),Ka=Fl((function(t,e){return function(n){return _l(t,n,e)}}));function Ja(t,e,n){var l=va(e),i=cl(e,l);null!=n||Ho(e)&&(i.length||!l.length)||(n=e,e=t,t=this,i=cl(e,va(e)));var r=!(Ho(n)&&"chain"in n&&!n.chain),o=Bo(t);return ie(i,(function(n){var l=e[n];t[n]=l,o&&(t.prototype[n]=function(){var e=this.__chain__;if(r||e){var n=t(this.__wrapped__),i=n.__actions__=mi(this.__actions__);return i.push({func:l,args:arguments,thisArg:t}),n.__chain__=e,n}return l.apply(t,de([this.value()],arguments))})})),t}function Qa(){}var Za=Di(ce),ts=Di(oe),es=Di(fe);function ns(t){return ar(t)?Ce(Sr(t)):function(t){return function(e){return dl(e,t)}}(t)}var ls=Ei(),is=Ei(!0);function rs(){return[]}function os(){return!1}var as,ss=Oi((function(t,e){return t+e}),0),us=ji("ceil"),cs=Oi((function(t,e){return t/e}),1),ds=ji("floor"),hs=Oi((function(t,e){return t*e}),1),ps=ji("round"),fs=Oi((function(t,e){return t-e}),0);return Mn.after=function(t,e){if("function"!=typeof e)throw new gt(i);return t=ia(t),function(){if(--t<1)return e.apply(this,arguments)}},Mn.ary=go,Mn.assign=ua,Mn.assignIn=ca,Mn.assignInWith=da,Mn.assignWith=ha,Mn.at=pa,Mn.before=_o,Mn.bind=yo,Mn.bindAll=Ga,Mn.bindKey=Ao,Mn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Lo(t)?t:[t]},Mn.chain=eo,Mn.chunk=function(t,e,n){e=(n?or(t,e,n):void 0===e)?1:on(ia(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var r=0,o=0,a=l(Qe(i/e));r<i;)a[o++]=Hl(t,r,r+=e);return a},Mn.compact=function(t){for(var e=-1,n=null==t?0:t.length,l=0,i=[];++e<n;){var r=t[e];r&&(i[l++]=r)}return i},Mn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=l(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return de(Lo(n)?mi(n):[n],rl(e,1))},Mn.cond=function(t){var e=null==t?0:t.length,n=Xi();return t=e?ce(t,(function(t){if("function"!=typeof t[1])throw new gt(i);return[n(t[0]),t[1]]})):[],Fl((function(n){for(var l=-1;++l<e;){var i=t[l];if(ne(i[0],this,n))return ne(i[1],this,n)}}))},Mn.conforms=function(t){return function(t){var e=va(t);return function(n){return Jn(n,t,e)}}(Kn(t,1))},Mn.constant=Ha,Mn.countBy=io,Mn.create=function(t,e){var n=On(t);return null==e?n:qn(n,e)},Mn.curry=function t(e,n,l){var i=Ni(e,8,void 0,void 0,void 0,void 0,void 0,n=l?void 0:n);return i.placeholder=t.placeholder,i},Mn.curryRight=function t(e,n,l){var i=Ni(e,16,void 0,void 0,void 0,void 0,void 0,n=l?void 0:n);return i.placeholder=t.placeholder,i},Mn.debounce=vo,Mn.defaults=fa,Mn.defaultsDeep=ba,Mn.defer=Co,Mn.delay=wo,Mn.difference=Or,Mn.differenceBy=Dr,Mn.differenceWith=Tr,Mn.drop=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,(e=n||void 0===e?1:ia(e))<0?0:e,l):[]},Mn.dropRight=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,0,(e=l-(e=n||void 0===e?1:ia(e)))<0?0:e):[]},Mn.dropRightWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!0,!0):[]},Mn.dropWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!0):[]},Mn.fill=function(t,e,n,l){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&or(t,e,n)&&(n=0,l=i),function(t,e,n,l){var i=t.length;for((n=ia(n))<0&&(n=-n>i?0:i+n),(l=void 0===l||l>i?i:ia(l))<0&&(l+=i),l=n>l?0:ra(l);n<l;)t[n++]=e;return t}(t,e,n,l)):[]},Mn.filter=function(t,e){return(Lo(t)?ae:il)(t,Xi(e,3))},Mn.flatMap=function(t,e){return rl(po(t,e),1)},Mn.flatMapDeep=function(t,e){return rl(po(t,e),1/0)},Mn.flatMapDepth=function(t,e,n){return n=void 0===n?1:ia(n),rl(po(t,e),n)},Mn.flatten=Lr,Mn.flattenDeep=function(t){return null!=t&&t.length?rl(t,1/0):[]},Mn.flattenDepth=function(t,e){return null!=t&&t.length?rl(t,e=void 0===e?1:ia(e)):[]},Mn.flip=function(t){return Ni(t,512)},Mn.flow=Va,Mn.flowRight=qa,Mn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,l={};++e<n;){var i=t[e];l[i[0]]=i[1]}return l},Mn.functions=function(t){return null==t?[]:cl(t,va(t))},Mn.functionsIn=function(t){return null==t?[]:cl(t,Ca(t))},Mn.groupBy=uo,Mn.initial=function(t){return null!=t&&t.length?Hl(t,0,-1):[]},Mn.intersection=Rr,Mn.intersectionBy=Fr,Mn.intersectionWith=Nr,Mn.invert=_a,Mn.invertBy=ya,Mn.invokeMap=co,Mn.iteratee=$a,Mn.keyBy=ho,Mn.keys=va,Mn.keysIn=Ca,Mn.map=po,Mn.mapKeys=function(t,e){var n={};return e=Xi(e,3),sl(t,(function(t,l,i){Wn(n,e(t,l,i),t)})),n},Mn.mapValues=function(t,e){var n={};return e=Xi(e,3),sl(t,(function(t,l,i){Wn(n,l,e(t,l,i))})),n},Mn.matches=function(t){return kl(Kn(t,1))},Mn.matchesProperty=function(t,e){return Ml(t,Kn(e,1))},Mn.memoize=Po,Mn.merge=wa,Mn.mergeWith=Pa,Mn.method=Xa,Mn.methodOf=Ka,Mn.mixin=Ja,Mn.negate=xo,Mn.nthArg=function(t){return t=ia(t),Fl((function(e){return Dl(e,t)}))},Mn.omit=xa,Mn.omitBy=function(t,e){return ka(t,xo(Xi(e)))},Mn.once=function(t){return _o(2,t)},Mn.orderBy=function(t,e,n,l){return null==t?[]:(Lo(e)||(e=null==e?[]:[e]),Lo(n=l?void 0:n)||(n=null==n?[]:[n]),Tl(t,e,n))},Mn.over=Za,Mn.overArgs=So,Mn.overEvery=ts,Mn.overSome=es,Mn.partial=ko,Mn.partialRight=Mo,Mn.partition=fo,Mn.pick=Sa,Mn.pickBy=ka,Mn.property=ns,Mn.propertyOf=function(t){return function(e){return null==t?void 0:dl(t,e)}},Mn.pull=Ur,Mn.pullAll=Br,Mn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Il(t,e,Xi(n,2)):t},Mn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Il(t,e,void 0,n):t},Mn.pullAt=zr,Mn.range=ls,Mn.rangeRight=is,Mn.rearg=Oo,Mn.reject=function(t,e){return(Lo(t)?ae:il)(t,xo(Xi(e,3)))},Mn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var l=-1,i=[],r=t.length;for(e=Xi(e,3);++l<r;){var o=t[l];e(o,l,t)&&(n.push(o),i.push(l))}return Ll(t,i),n},Mn.rest=function(t,e){if("function"!=typeof t)throw new gt(i);return Fl(t,e=void 0===e?e:ia(e))},Mn.reverse=Gr,Mn.sampleSize=function(t,e,n){return e=(n?or(t,e,n):void 0===e)?1:ia(e),(Lo(t)?Un:Yl)(t,e)},Mn.set=function(t,e,n){return null==t?t:Ul(t,e,n)},Mn.setWith=function(t,e,n,l){return l="function"==typeof l?l:void 0,null==t?t:Ul(t,e,n,l)},Mn.shuffle=function(t){return(Lo(t)?Bn:Gl)(t)},Mn.slice=function(t,e,n){var l=null==t?0:t.length;return l?(n&&"number"!=typeof n&&or(t,e,n)?(e=0,n=l):(e=null==e?0:ia(e),n=void 0===n?l:ia(n)),Hl(t,e,n)):[]},Mn.sortBy=bo,Mn.sortedUniq=function(t){return t&&t.length?$l(t):[]},Mn.sortedUniqBy=function(t,e){return t&&t.length?$l(t,Xi(e,2)):[]},Mn.split=function(t,e,n){return n&&"number"!=typeof n&&or(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=sa(t))&&("string"==typeof e||null!=e&&!Xo(e))&&!(e=Kl(e))&&Fe(t)?si(He(t),0,n):t.split(e,n):[]},Mn.spread=function(t,e){if("function"!=typeof t)throw new gt(i);return e=null==e?0:on(ia(e),0),Fl((function(n){var l=n[e],i=si(n,0,e);return l&&de(i,l),ne(t,this,i)}))},Mn.tail=function(t){var e=null==t?0:t.length;return e?Hl(t,1,e):[]},Mn.take=function(t,e,n){return t&&t.length?Hl(t,0,(e=n||void 0===e?1:ia(e))<0?0:e):[]},Mn.takeRight=function(t,e,n){var l=null==t?0:t.length;return l?Hl(t,(e=l-(e=n||void 0===e?1:ia(e)))<0?0:e,l):[]},Mn.takeRightWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3),!1,!0):[]},Mn.takeWhile=function(t,e){return t&&t.length?ti(t,Xi(e,3)):[]},Mn.tap=function(t,e){return e(t),t},Mn.throttle=function(t,e,n){var l=!0,r=!0;if("function"!=typeof t)throw new gt(i);return Ho(n)&&(l="leading"in n?!!n.leading:l,r="trailing"in n?!!n.trailing:r),vo(t,e,{leading:l,maxWait:e,trailing:r})},Mn.thru=no,Mn.toArray=na,Mn.toPairs=Ma,Mn.toPairsIn=Oa,Mn.toPath=function(t){return Lo(t)?ce(t,Sr):Qo(t)?[t]:mi(xr(sa(t)))},Mn.toPlainObject=aa,Mn.transform=function(t,e,n){var l=Lo(t),i=l||No(t)||Zo(t);if(e=Xi(e,4),null==n){var r=t&&t.constructor;n=i?l?new r:[]:Ho(t)&&Bo(r)?On(Gt(t)):{}}return(i?ie:sl)(t,(function(t,l,i){return e(n,t,l,i)})),n},Mn.unary=function(t){return go(t,1)},Mn.union=Hr,Mn.unionBy=Vr,Mn.unionWith=qr,Mn.uniq=function(t){return t&&t.length?Jl(t):[]},Mn.uniqBy=function(t,e){return t&&t.length?Jl(t,Xi(e,2)):[]},Mn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Jl(t,void 0,e):[]},Mn.unset=function(t,e){return null==t||Ql(t,e)},Mn.unzip=Wr,Mn.unzipWith=$r,Mn.update=function(t,e,n){return null==t?t:Zl(t,e,ri(n))},Mn.updateWith=function(t,e,n,l){return l="function"==typeof l?l:void 0,null==t?t:Zl(t,e,ri(n),l)},Mn.values=Da,Mn.valuesIn=function(t){return null==t?[]:Oe(t,Ca(t))},Mn.without=Xr,Mn.words=Ba,Mn.wrap=function(t,e){return ko(ri(e),t)},Mn.xor=Kr,Mn.xorBy=Jr,Mn.xorWith=Qr,Mn.zip=Zr,Mn.zipObject=function(t,e){return li(t||[],e||[],Gn)},Mn.zipObjectDeep=function(t,e){return li(t||[],e||[],Ul)},Mn.zipWith=to,Mn.entries=Ma,Mn.entriesIn=Oa,Mn.extend=ca,Mn.extendWith=da,Ja(Mn,Mn),Mn.add=ss,Mn.attempt=za,Mn.camelCase=Ta,Mn.capitalize=Ea,Mn.ceil=us,Mn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=oa(n))==n?n:0),void 0!==e&&(e=(e=oa(e))==e?e:0),Xn(oa(t),e,n)},Mn.clone=function(t){return Kn(t,4)},Mn.cloneDeep=function(t){return Kn(t,5)},Mn.cloneDeepWith=function(t,e){return Kn(t,5,e="function"==typeof e?e:void 0)},Mn.cloneWith=function(t,e){return Kn(t,4,e="function"==typeof e?e:void 0)},Mn.conformsTo=function(t,e){return null==e||Jn(t,e,va(e))},Mn.deburr=Ia,Mn.defaultTo=function(t,e){return null==t||t!=t?e:t},Mn.divide=cs,Mn.endsWith=function(t,e,n){t=sa(t),e=Kl(e);var l=t.length,i=n=void 0===n?l:Xn(ia(n),0,l);return(n-=e.length)>=0&&t.slice(n,i)==e},Mn.eq=Do,Mn.escape=function(t){return(t=sa(t))&&N.test(t)?t.replace(R,je):t},Mn.escapeRegExp=function(t){return(t=sa(t))&&q.test(t)?t.replace(V,"\\$&"):t},Mn.every=function(t,e,n){var l=Lo(t)?oe:nl;return n&&or(t,e,n)&&(e=void 0),l(t,Xi(e,3))},Mn.find=ro,Mn.findIndex=Er,Mn.findKey=function(t,e){return me(t,Xi(e,3),sl)},Mn.findLast=oo,Mn.findLastIndex=Ir,Mn.findLastKey=function(t,e){return me(t,Xi(e,3),ul)},Mn.floor=ds,Mn.forEach=ao,Mn.forEachRight=so,Mn.forIn=function(t,e){return null==t?t:ol(t,Xi(e,3),Ca)},Mn.forInRight=function(t,e){return null==t?t:al(t,Xi(e,3),Ca)},Mn.forOwn=function(t,e){return t&&sl(t,Xi(e,3))},Mn.forOwnRight=function(t,e){return t&&ul(t,Xi(e,3))},Mn.get=ma,Mn.gt=To,Mn.gte=Eo,Mn.has=function(t,e){return null!=t&&nr(t,e,bl)},Mn.hasIn=ga,Mn.head=jr,Mn.identity=Wa,Mn.includes=function(t,e,n,l){t=Ro(t)?t:Da(t),n=n&&!l?ia(n):0;var i=t.length;return n<0&&(n=on(i+n,0)),Jo(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&_e(t,e,n)>-1},Mn.indexOf=function(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=null==n?0:ia(n);return i<0&&(i=on(l+i,0)),_e(t,e,i)},Mn.inRange=function(t,e,n){return e=la(e),void 0===n?(n=e,e=0):n=la(n),function(t,e,n){return t>=an(e,n)&&t<on(e,n)}(t=oa(t),e,n)},Mn.invoke=Aa,Mn.isArguments=Io,Mn.isArray=Lo,Mn.isArrayBuffer=jo,Mn.isArrayLike=Ro,Mn.isArrayLikeObject=Fo,Mn.isBoolean=function(t){return!0===t||!1===t||Vo(t)&&pl(t)==u},Mn.isBuffer=No,Mn.isDate=Yo,Mn.isElement=function(t){return Vo(t)&&1===t.nodeType&&!$o(t)},Mn.isEmpty=function(t){if(null==t)return!0;if(Ro(t)&&(Lo(t)||"string"==typeof t||"function"==typeof t.splice||No(t)||Zo(t)||Io(t)))return!t.length;var e=er(t);if(e==f||e==_)return!t.size;if(cr(t))return!Pl(t).length;for(var n in t)if(Ct.call(t,n))return!1;return!0},Mn.isEqual=function(t,e){return Al(t,e)},Mn.isEqualWith=function(t,e,n){var l=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===l?Al(t,e,void 0,n):!!l},Mn.isError=Uo,Mn.isFinite=function(t){return"number"==typeof t&&nn(t)},Mn.isFunction=Bo,Mn.isInteger=zo,Mn.isLength=Go,Mn.isMap=qo,Mn.isMatch=function(t,e){return t===e||vl(t,e,Ji(e))},Mn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,vl(t,e,Ji(e),n)},Mn.isNaN=function(t){return Wo(t)&&t!=+t},Mn.isNative=function(t){if(ur(t))throw new dt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cl(t)},Mn.isNil=function(t){return null==t},Mn.isNull=function(t){return null===t},Mn.isNumber=Wo,Mn.isObject=Ho,Mn.isObjectLike=Vo,Mn.isPlainObject=$o,Mn.isRegExp=Xo,Mn.isSafeInteger=function(t){return zo(t)&&t>=-9007199254740991&&t<=9007199254740991},Mn.isSet=Ko,Mn.isString=Jo,Mn.isSymbol=Qo,Mn.isTypedArray=Zo,Mn.isUndefined=function(t){return void 0===t},Mn.isWeakMap=function(t){return Vo(t)&&er(t)==v},Mn.isWeakSet=function(t){return Vo(t)&&"[object WeakSet]"==pl(t)},Mn.join=function(t,e){return null==t?"":ln.call(t,e)},Mn.kebabCase=La,Mn.last=Yr,Mn.lastIndexOf=function(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var i=l;return void 0!==n&&(i=(i=ia(n))<0?on(l+i,0):an(i,l-1)),e==e?function(t,e,n){for(var l=n+1;l--;)if(t[l]===e)return l;return l}(t,e,i):ge(t,Ae,i,!0)},Mn.lowerCase=ja,Mn.lowerFirst=Ra,Mn.lt=ta,Mn.lte=ea,Mn.max=function(t){return t&&t.length?ll(t,Wa,fl):void 0},Mn.maxBy=function(t,e){return t&&t.length?ll(t,Xi(e,2),fl):void 0},Mn.mean=function(t){return ve(t,Wa)},Mn.meanBy=function(t,e){return ve(t,Xi(e,2))},Mn.min=function(t){return t&&t.length?ll(t,Wa,xl):void 0},Mn.minBy=function(t,e){return t&&t.length?ll(t,Xi(e,2),xl):void 0},Mn.stubArray=rs,Mn.stubFalse=os,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=hs,Mn.nth=function(t,e){return t&&t.length?Dl(t,ia(e)):void 0},Mn.noConflict=function(){return Ht._===this&&(Ht._=kt),this},Mn.noop=Qa,Mn.now=mo,Mn.pad=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;if(!e||l>=e)return t;var i=(e-l)/2;return Ti(Ze(i),n)+t+Ti(Qe(i),n)},Mn.padEnd=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;return e&&l<e?t+Ti(e-l,n):t},Mn.padStart=function(t,e,n){t=sa(t);var l=(e=ia(e))?Ge(t):0;return e&&l<e?Ti(e-l,n)+t:t},Mn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),un(sa(t).replace(W,""),e||0)},Mn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&or(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=la(t),void 0===e?(e=t,t=0):e=la(e)),t>e){var l=t;t=e,e=l}if(n||t%1||e%1){var i=cn();return an(t+i*(e-t+Ut("1e-"+((i+"").length-1))),e)}return jl(t,e)},Mn.reduce=function(t,e,n){var l=Lo(t)?he:Pe,i=arguments.length<3;return l(t,Xi(e,4),n,i,tl)},Mn.reduceRight=function(t,e,n){var l=Lo(t)?pe:Pe,i=arguments.length<3;return l(t,Xi(e,4),n,i,el)},Mn.repeat=function(t,e,n){return e=(n?or(t,e,n):void 0===e)?1:ia(e),Rl(sa(t),e)},Mn.replace=function(){var t=arguments,e=sa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Mn.result=function(t,e,n){var l=-1,i=(e=oi(e,t)).length;for(i||(i=1,t=void 0);++l<i;){var r=null==t?void 0:t[Sr(e[l])];void 0===r&&(l=i,r=n),t=Bo(r)?r.call(t):r}return t},Mn.round=ps,Mn.runInContext=t,Mn.sample=function(t){return(Lo(t)?Yn:Nl)(t)},Mn.size=function(t){if(null==t)return 0;if(Ro(t))return Jo(t)?Ge(t):t.length;var e=er(t);return e==f||e==_?t.size:Pl(t).length},Mn.snakeCase=Fa,Mn.some=function(t,e,n){var l=Lo(t)?fe:Vl;return n&&or(t,e,n)&&(e=void 0),l(t,Xi(e,3))},Mn.sortedIndex=function(t,e){return ql(t,e)},Mn.sortedIndexBy=function(t,e,n){return Wl(t,e,Xi(n,2))},Mn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var l=ql(t,e);if(l<n&&Do(t[l],e))return l}return-1},Mn.sortedLastIndex=function(t,e){return ql(t,e,!0)},Mn.sortedLastIndexBy=function(t,e,n){return Wl(t,e,Xi(n,2),!0)},Mn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ql(t,e,!0)-1;if(Do(t[n],e))return n}return-1},Mn.startCase=Na,Mn.startsWith=function(t,e,n){return t=sa(t),n=null==n?0:Xn(ia(n),0,t.length),e=Kl(e),t.slice(n,n+e.length)==e},Mn.subtract=fs,Mn.sum=function(t){return t&&t.length?xe(t,Wa):0},Mn.sumBy=function(t,e){return t&&t.length?xe(t,Xi(e,2)):0},Mn.template=function(t,e,n){var l=Mn.templateSettings;n&&or(t,e,n)&&(e=void 0),t=sa(t),e=da({},e,l,Yi);var i,r,o=da({},e.imports,l.imports,Yi),a=va(o),s=Oe(o,a),u=0,c=e.interpolate||ut,d="__p += '",h=bt((e.escape||ut).source+"|"+c.source+"|"+(c===B?et:ut).source+"|"+(e.evaluate||ut).source+"|$","g"),p="//# sourceURL="+(Ct.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rt+"]")+"\n";t.replace(h,(function(e,n,l,o,a,s){return l||(l=o),d+=t.slice(u,s).replace(ct,Re),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(r=!0,d+="';\n"+a+";\n__p += '"),l&&(d+="' +\n((__t = ("+l+")) == null ? '' : __t) +\n'"),u=s+e.length,e})),d+="';\n";var f=Ct.call(e,"variable")&&e.variable;if(f){if(Z.test(f))throw new dt("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(r?d.replace(E,""):d).replace(I,"$1").replace(L,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var b=za((function(){return ht(a,p+"return "+d).apply(void 0,s)}));if(b.source=d,Uo(b))throw b;return b},Mn.times=function(t,e){if((t=ia(t))<1||t>9007199254740991)return[];var n=4294967295,l=an(t,4294967295);t-=4294967295;for(var i=Se(l,e=Xi(e));++n<t;)e(n);return i},Mn.toFinite=la,Mn.toInteger=ia,Mn.toLength=ra,Mn.toLower=function(t){return sa(t).toLowerCase()},Mn.toNumber=oa,Mn.toSafeInteger=function(t){return t?Xn(ia(t),-9007199254740991,9007199254740991):0===t?t:0},Mn.toString=sa,Mn.toUpper=function(t){return sa(t).toUpperCase()},Mn.trim=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return ke(t);if(!t||!(e=Kl(e)))return t;var l=He(t),i=He(e);return si(l,Te(l,i),Ee(l,i)+1).join("")},Mn.trimEnd=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return t.slice(0,Ve(t)+1);if(!t||!(e=Kl(e)))return t;var l=He(t);return si(l,0,Ee(l,He(e))+1).join("")},Mn.trimStart=function(t,e,n){if((t=sa(t))&&(n||void 0===e))return t.replace(W,"");if(!t||!(e=Kl(e)))return t;var l=He(t);return si(l,Te(l,He(e))).join("")},Mn.truncate=function(t,e){var n=30,l="...";if(Ho(e)){var i="separator"in e?e.separator:i;n="length"in e?ia(e.length):n,l="omission"in e?Kl(e.omission):l}var r=(t=sa(t)).length;if(Fe(t)){var o=He(t);r=o.length}if(n>=r)return t;var a=n-Ge(l);if(a<1)return l;var s=o?si(o,0,a).join(""):t.slice(0,a);if(void 0===i)return s+l;if(o&&(a+=s.length-a),Xo(i)){if(t.slice(a).search(i)){var u,c=s;for(i.global||(i=bt(i.source,sa(nt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var d=u.index;s=s.slice(0,void 0===d?a:d)}}else if(t.indexOf(Kl(i),a)!=a){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+l},Mn.unescape=function(t){return(t=sa(t))&&F.test(t)?t.replace(j,qe):t},Mn.uniqueId=function(t){var e=++wt;return sa(t)+e},Mn.upperCase=Ya,Mn.upperFirst=Ua,Mn.each=ao,Mn.eachRight=so,Mn.first=jr,Ja(Mn,(as={},sl(Mn,(function(t,e){Ct.call(Mn.prototype,e)||(as[e]=t)})),as),{chain:!1}),Mn.VERSION="4.17.21",ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Mn[t].placeholder=Mn})),ie(["drop","take"],(function(t,e){En.prototype[t]=function(n){n=void 0===n?1:on(ia(n),0);var l=this.__filtered__&&!e?new En(this):this.clone();return l.__filtered__?l.__takeCount__=an(n,l.__takeCount__):l.__views__.push({size:an(n,4294967295),type:t+(l.__dir__<0?"Right":"")}),l},En.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,l=1==n||3==n;En.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Xi(t,3),type:n}),e.__filtered__=e.__filtered__||l,e}})),ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");En.prototype[t]=function(){return this[n](1).value()[0]}})),ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");En.prototype[t]=function(){return this.__filtered__?new En(this):this[n](1)}})),En.prototype.compact=function(){return this.filter(Wa)},En.prototype.find=function(t){return this.filter(t).head()},En.prototype.findLast=function(t){return this.reverse().find(t)},En.prototype.invokeMap=Fl((function(t,e){return"function"==typeof t?new En(this):this.map((function(n){return _l(n,t,e)}))})),En.prototype.reject=function(t){return this.filter(xo(Xi(t)))},En.prototype.slice=function(t,e){t=ia(t);var n=this;return n.__filtered__&&(t>0||e<0)?new En(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=ia(e))<0?n.dropRight(-e):n.take(e-t)),n)},En.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},En.prototype.toArray=function(){return this.take(4294967295)},sl(En.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),l=/^(?:head|last)$/.test(e),i=Mn[l?"take"+("last"==e?"Right":""):e],r=l||/^find/.test(e);i&&(Mn.prototype[e]=function(){var e=this.__wrapped__,o=l?[1]:arguments,a=e instanceof En,s=o[0],u=a||Lo(e),c=function(t){var e=i.apply(Mn,de([t],o));return l&&d?e[0]:e};u&&n&&"function"==typeof s&&1!=s.length&&(a=u=!1);var d=this.__chain__,h=!!this.__actions__.length,p=r&&!d,f=a&&!h;if(!r&&u){e=f?e:new En(this);var b=t.apply(e,o);return b.__actions__.push({func:no,args:[c],thisArg:void 0}),new Tn(b,d)}return p&&f?t.apply(this,o):(b=this.thru(c),p?l?b.value()[0]:b.value():b)})})),ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=_t[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",l=/^(?:pop|shift)$/.test(t);Mn.prototype[t]=function(){var t=arguments;if(l&&!this.__chain__){var i=this.value();return e.apply(Lo(i)?i:[],t)}return this[n]((function(n){return e.apply(Lo(n)?n:[],t)}))}})),sl(En.prototype,(function(t,e){var n=Mn[e];if(n){var l=n.name+"";Ct.call(yn,l)||(yn[l]=[]),yn[l].push({name:e,func:n})}})),yn[ki(void 0,2).name]=[{name:"wrapper",func:void 0}],En.prototype.clone=function(){var t=new En(this.__wrapped__);return t.__actions__=mi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=mi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=mi(this.__views__),t},En.prototype.reverse=function(){if(this.__filtered__){var t=new En(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},En.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Lo(t),l=e<0,i=n?t.length:0,r=function(t,e,n){for(var l=-1,i=n.length;++l<i;){var r=n[l],o=r.size;switch(r.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=an(e,t+o);break;case"takeRight":t=on(t,e-o)}}return{start:t,end:e}}(0,i,this.__views__),o=r.start,a=r.end,s=a-o,u=l?a:o-1,c=this.__iteratees__,d=c.length,h=0,p=an(s,this.__takeCount__);if(!n||!l&&i==s&&p==s)return ei(t,this.__actions__);var f=[];t:for(;s--&&h<p;){for(var b=-1,m=t[u+=e];++b<d;){var g=c[b],_=g.type,y=(0,g.iteratee)(m);if(2==_)m=y;else if(!y){if(1==_)continue t;break t}}f[h++]=m}return f},Mn.prototype.at=lo,Mn.prototype.chain=function(){return eo(this)},Mn.prototype.commit=function(){return new Tn(this.value(),this.__chain__)},Mn.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Mn.prototype.plant=function(t){for(var e,n=this;n instanceof Dn;){var l=Mr(n);l.__index__=0,l.__values__=void 0,e?i.__wrapped__=l:e=l;var i=l;n=n.__wrapped__}return i.__wrapped__=t,e},Mn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof En){var e=t;return this.__actions__.length&&(e=new En(this)),(e=e.reverse()).__actions__.push({func:no,args:[Gr],thisArg:void 0}),new Tn(e,this.__chain__)}return this.thru(Gr)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,be&&(Mn.prototype[be]=function(){return this}),Mn}();Ht._=We,void 0===(l=(function(){return We}).call(e,n,e,t))||(t.exports=l)}).call(this)}).call(this,n("YuTi")(t))},MNGd:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return d}));var l=n("EwAT"),i=n("hp/u"),r=n("9iPr"),o=n("N0mK"),a={Point:function(t,e,n,l){var r=n.getImage();if(r){if(r.getImageState()!=i.a.LOADED)return;var a=t.getBuilder(n.getZIndex(),o.a.IMAGE);a.setImageStyle(r,t.addDeclutter(!1)),a.drawPoint(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!!r)),u.drawText(e,l)}},LineString:function(t,e,n,l){var i=n.getStroke();if(i){var r=t.getBuilder(n.getZIndex(),o.a.LINE_STRING);r.setFillStrokeStyle(null,i),r.drawLineString(e,l)}var a=n.getText();if(a){var s=t.getBuilder(n.getZIndex(),o.a.TEXT);s.setTextStyle(a,t.addDeclutter(!1)),s.drawText(e,l)}},Polygon:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(i||r){var a=t.getBuilder(n.getZIndex(),o.a.POLYGON);a.setFillStrokeStyle(i,r),a.drawPolygon(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}},MultiPoint:function(t,e,n,l){var r=n.getImage();if(r){if(r.getImageState()!=i.a.LOADED)return;var a=t.getBuilder(n.getZIndex(),o.a.IMAGE);a.setImageStyle(r,t.addDeclutter(!1)),a.drawMultiPoint(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!!r)),u.drawText(e,l)}},MultiLineString:function(t,e,n,l){var i=n.getStroke();if(i){var r=t.getBuilder(n.getZIndex(),o.a.LINE_STRING);r.setFillStrokeStyle(null,i),r.drawMultiLineString(e,l)}var a=n.getText();if(a){var s=t.getBuilder(n.getZIndex(),o.a.TEXT);s.setTextStyle(a,t.addDeclutter(!1)),s.drawText(e,l)}},MultiPolygon:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(r||i){var a=t.getBuilder(n.getZIndex(),o.a.POLYGON);a.setFillStrokeStyle(i,r),a.drawMultiPolygon(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}},GeometryCollection:function(t,e,n,l){var i,r,o=e.getGeometriesArray();for(i=0,r=o.length;i<r;++i)(0,a[o[i].getType()])(t,o[i],n,l)},Circle:function(t,e,n,l){var i=n.getFill(),r=n.getStroke();if(i||r){var a=t.getBuilder(n.getZIndex(),o.a.CIRCLE);a.setFillStrokeStyle(i,r),a.drawCircle(e,l)}var s=n.getText();if(s){var u=t.getBuilder(n.getZIndex(),o.a.TEXT);u.setTextStyle(s,t.addDeclutter(!1)),u.drawText(e,l)}}};function s(t,e){return parseInt(Object(l.c)(t),10)-parseInt(Object(l.c)(e),10)}function u(t,e){var n=c(t,e);return n*n}function c(t,e){return.5*t/e}function d(t,e,n,l,s,u){var c=!1,d=n.getImage();if(d){var h=d.getImageState();h==i.a.LOADED||h==i.a.ERROR?d.unlistenImageChange(s):(h==i.a.IDLE&&d.load(),h=d.getImageState(),d.listenImageChange(s),c=!0)}return function(t,e,n,l,i){var s=n.getGeometryFunction()(e);if(s){var u=s.simplifyTransformed(l,i);n.getRenderer()?function t(e,n,l,i){if(n.getType()!=r.a.GEOMETRY_COLLECTION)e.getBuilder(l.getZIndex(),o.a.DEFAULT).drawCustom(n,i,l.getRenderer());else for(var a=n.getGeometries(),s=0,u=a.length;s<u;++s)t(e,a[s],l,i)}(t,u,n,e):(0,a[u.getType()])(t,u,n,e)}}(t,e,n,l,u),c}},"MO+k":function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,n){return function(t){var n={};for(var l in e)e.hasOwnProperty(l)&&(n[e[l]]=l);var i=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in i)if(i.hasOwnProperty(r)){if(!("channels"in i[r]))throw new Error("missing channels property: "+r);if(!("labels"in i[r]))throw new Error("missing channel labels property: "+r);if(i[r].labels.length!==i[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=i[r].channels,a=i[r].labels;delete i[r].channels,delete i[r].labels,Object.defineProperty(i[r],"channels",{value:o}),Object.defineProperty(i[r],"labels",{value:a})}i.rgb.hsl=function(t){var e,n,l=t[0]/255,i=t[1]/255,r=t[2]/255,o=Math.min(l,i,r),a=Math.max(l,i,r),s=a-o;return a===o?e=0:l===a?e=(i-r)/s:i===a?e=2+(r-l)/s:r===a&&(e=4+(l-i)/s),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+a)/2,[e,100*(a===o?0:n<=.5?s/(a+o):s/(2-a-o)),100*n]},i.rgb.hsv=function(t){var e,n,l,i,r,o=t[0]/255,a=t[1]/255,s=t[2]/255,u=Math.max(o,a,s),c=u-Math.min(o,a,s),d=function(t){return(u-t)/6/c+.5};return 0===c?i=r=0:(r=c/u,e=d(o),n=d(a),l=d(s),o===u?i=l-n:a===u?i=1/3+e-l:s===u&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*u]},i.rgb.hwb=function(t){var e=t[0],n=t[1],l=t[2];return[i.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,l))*100,100*(l=1-1/255*Math.max(e,Math.max(n,l)))]},i.rgb.cmyk=function(t){var e,n=t[0]/255,l=t[1]/255,i=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-l,1-i)))/(1-e)||0),100*((1-l-e)/(1-e)||0),100*((1-i-e)/(1-e)||0),100*e]},i.rgb.keyword=function(t){var l=n[t];if(l)return l;var i,r,o,a=1/0;for(var s in e)if(e.hasOwnProperty(s)){var u=(r=t,o=e[s],Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));u<a&&(a=u,i=s)}return i},i.keyword.rgb=function(t){return e[t]},i.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,l=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*e+.7152*n+.0722*l),100*(.0193*e+.1192*n+.9505*l)]},i.rgb.lab=function(t){var e=i.rgb.xyz(t),n=e[0],l=e[1],r=e[2];return l/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(n-l),200*(l-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.hsl.rgb=function(t){var e,n,l,i,r,o=t[0]/360,a=t[1]/100,s=t[2]/100;if(0===a)return[r=255*s,r,r];e=2*s-(n=s<.5?s*(1+a):s+a-s*a),i=[0,0,0];for(var u=0;u<3;u++)(l=o+1/3*-(u-1))<0&&l++,l>1&&l--,i[u]=255*(r=6*l<1?e+6*(n-e)*l:2*l<1?n:3*l<2?e+(n-e)*(2/3-l)*6:e);return i},i.hsl.hsv=function(t){var e=t[0],n=t[1]/100,l=t[2]/100,i=n,r=Math.max(l,.01);return n*=(l*=2)<=1?l:2-l,i*=r<=1?r:2-r,[e,100*(0===l?2*i/(r+i):2*n/(l+n)),(l+n)/2*100]},i.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,l=t[2]/100,i=Math.floor(e)%6,r=e-Math.floor(e),o=255*l*(1-n),a=255*l*(1-n*r),s=255*l*(1-n*(1-r));switch(l*=255,i){case 0:return[l,s,o];case 1:return[a,l,o];case 2:return[o,l,s];case 3:return[o,a,l];case 4:return[s,o,l];case 5:return[l,o,a]}},i.hsv.hsl=function(t){var e,n,l,i=t[0],r=t[1]/100,o=t[2]/100,a=Math.max(o,.01);return l=(2-r)*o,n=r*a,[i,100*(n=(n/=(e=(2-r)*a)<=1?e:2-e)||0),100*(l/=2)]},i.hwb.rgb=function(t){var e,n,l,i,r,o,a,s=t[0]/360,u=t[1]/100,c=t[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),l=6*s-(e=Math.floor(6*s)),0!=(1&e)&&(l=1-l),i=u+l*((n=1-c)-u),e){default:case 6:case 0:r=n,o=i,a=u;break;case 1:r=i,o=n,a=u;break;case 2:r=u,o=n,a=i;break;case 3:r=u,o=i,a=n;break;case 4:r=i,o=u,a=n;break;case 5:r=n,o=u,a=i}return[255*r,255*o,255*a]},i.cmyk.rgb=function(t){var e=t[1]/100,n=t[2]/100,l=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-l)+l)),255*(1-Math.min(1,e*(1-l)+l)),255*(1-Math.min(1,n*(1-l)+l))]},i.xyz.rgb=function(t){var e,n,l,i=t[0]/100,r=t[1]/100,o=t[2]/100;return n=-.9689*i+1.8758*r+.0415*o,l=.0557*i+-.204*r+1.057*o,e=(e=3.2406*i+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(l=Math.min(Math.max(0,l),1))]},i.xyz.lab=function(t){var e=t[0],n=t[1],l=t[2];return n/=100,l/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},i.lab.xyz=function(t){var e,n,l;e=t[1]/500+(n=(t[0]+16)/116),l=n-t[2]/200;var i=Math.pow(n,3),r=Math.pow(e,3),o=Math.pow(l,3);return n=i>.008856?i:(n-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,l=o>.008856?o:(l-16/116)/7.787,[e*=95.047,n*=100,l*=108.883]},i.lab.lch=function(t){var e,n=t[0],l=t[1],i=t[2];return(e=360*Math.atan2(i,l)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(l*l+i*i),e]},i.lch.lab=function(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]},i.rgb.ansi16=function(t){var e=t[0],n=t[1],l=t[2],r=1 in arguments?arguments[1]:i.rgb.hsv(t)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(l/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===r&&(o+=60),o},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){var e=t[0],n=t[1],l=t[2];return e===n&&n===l?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(l/255*5)},i.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},i.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var l=parseInt(n,16);return[l>>16&255,l>>8&255,255&l]},i.rgb.hcg=function(t){var e,n=t[0]/255,l=t[1]/255,i=t[2]/255,r=Math.max(Math.max(n,l),i),o=Math.min(Math.min(n,l),i),a=r-o;return e=a<=0?0:r===n?(l-i)/a%6:r===l?2+(i-n)/a:4+(n-l)/a+4,e/=6,[360*(e%=1),100*a,100*(a<1?o/(1-a):0)]},i.hsl.hcg=function(t){var e,n=t[1]/100,l=t[2]/100,i=0;return(e=l<.5?2*n*l:2*n*(1-l))<1&&(i=(l-.5*e)/(1-e)),[t[0],100*e,100*i]},i.hsv.hcg=function(t){var e=t[2]/100,n=t[1]/100*e,l=0;return n<1&&(l=(e-n)/(1-n)),[t[0],100*n,100*l]},i.hcg.rgb=function(t){var e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];var l,i=[0,0,0],r=t[0]/360%1*6,o=r%1,a=1-o;switch(Math.floor(r)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return[255*(e*i[0]+(l=(1-e)*n)),255*(e*i[1]+l),255*(e*i[2]+l)]},i.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),l=0;return n>0&&(l=e/n),[t[0],100*l,100*n]},i.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,l=0;return n>0&&n<.5?l=e/(2*n):n>=.5&&n<1&&(l=e/(2*(1-n))),[t[0],100*l,100*n]},i.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},i.hwb.hcg=function(t){var e=1-t[2]/100,n=e-t[1]/100,l=0;return n<1&&(l=(e-n)/(1-n)),[t[0],100*n,100*l]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=i.gray.hsv=function(t){return[0,0,t[0]]},i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}(n={exports:{}}),n.exports}();function l(t,e){return function(n){return e(t(n))}}function i(t,e){for(var i=[e[t].parent,t],r=n[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),r=l(n[e[o].parent][o],r),o=e[o].parent;return r.conversion=i,r}var r={};Object.keys(n).forEach((function(t){r[t]={},Object.defineProperty(r[t],"channels",{value:n[t].channels}),Object.defineProperty(r[t],"labels",{value:n[t].labels});var e=function(t){for(var e=function(t){var e=function(){for(var t={},e=Object.keys(n),l=e.length,i=0;i<l;i++)t[e[i]]={distance:-1,parent:null};return t}(),l=[t];for(e[t].distance=0;l.length;)for(var i=l.pop(),r=Object.keys(n[i]),o=r.length,a=0;a<o;a++){var s=r[a],u=e[s];-1===u.distance&&(u.distance=e[i].distance+1,u.parent=i,l.unshift(s))}return e}(t),l={},r=Object.keys(e),o=r.length,a=0;a<o;a++){var s=r[a];null!==e[s].parent&&(l[s]=i(s,e))}return l}(t);Object.keys(e).forEach((function(n){var l=e[n];r[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var l=n.length,i=0;i<l;i++)n[i]=Math.round(n[i]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(l),r[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(l)}))}));var o=r,a={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},s={getRgba:u,getHsla:c,getRgb:function(t){var e=u(t);return e&&e.slice(0,3)},getHsl:function(t){var e=c(t);return e&&e.slice(0,3)},getHwb:d,getAlpha:function(t){var e=u(t);return e||(e=c(t))||(e=d(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+m(t[0])+m(t[1])+m(t[2])+(e>=0&&e<1?m(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?h(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:h,percentString:function(t,e){return e<1||t[3]&&t[3]<1?p(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:p,hslString:function(t,e){return e<1||t[3]&&t[3]<1?f(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:f,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return g[t.slice(0,3)]}};function u(t){if(t){var e=[0,0,0],n=1,l=t.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(l){i=(l=l[1])[3];for(var r=0;r<e.length;r++)e[r]=parseInt(l[r]+l[r],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(l=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(i=l[2],l=l[1],r=0;r<e.length;r++)e[r]=parseInt(l.slice(2*r,2*r+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(l=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(l[r+1]);n=parseFloat(l[4])}else if(l=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(l[r+1]));n=parseFloat(l[4])}else if(l=t.match(/(\w+)/)){if("transparent"==l[1])return[0,0,0,0];if(!(e=a[l[1]]))return}for(r=0;r<e.length;r++)e[r]=b(e[r],0,255);return n=n||0==n?b(n,0,1):1,e[3]=n,e}}function c(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[b(parseInt(e[1]),0,360),b(parseFloat(e[2]),0,100),b(parseFloat(e[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function d(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[b(parseInt(e[1]),0,360),b(parseFloat(e[2]),0,100),b(parseFloat(e[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function h(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function p(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function f(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function b(t,e,n){return Math.min(Math.max(e,t),n)}function m(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var g={};for(var _ in a)g[a[_]]=_;var y=function(t){return t instanceof y?t:this instanceof y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=s.getRgba(t))?this.setValues("rgb",e):(e=s.getHsla(t))?this.setValues("hsl",e):(e=s.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new y(t);var e};y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return s.hexString(this.values.rgb)},rgbString:function(){return s.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return s.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return s.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return s.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return s.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return s.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return s.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var l=t[n]/255;e[n]=l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,l=void 0===e?.5:e,i=2*l-1,r=this.alpha()-n.alpha(),o=((i*r==-1?i:(i+r)/(1+i*r))+1)/2,a=1-o;return this.rgb(o*this.red()+a*n.red(),o*this.green()+a*n.green(),o*this.blue()+a*n.blue()).alpha(this.alpha()*l+n.alpha()*(1-l))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new y,l=this.values,i=n.values;for(var r in l)l.hasOwnProperty(r)&&("[object Array]"===(e={}.toString.call(t=l[r]))?i[r]=t.slice(0):"[object Number]"===e?i[r]=t:console.error("unexpected color value:",t));return n}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(t){for(var e=this.values,n={},l=0;l<t.length;l++)n[t.charAt(l)]=e[t][l];return 1!==e.alpha&&(n.a=e.alpha),n},y.prototype.setValues=function(t,e){var n,l,i=this.values,r=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)i[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)i[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[r[t][0]]){var u=r[t];for(n=0;n<t.length;n++)i[t][n]=e[u[n]];s=e.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===t)return!1;for(n=0;n<t.length;n++)l=Math.max(0,Math.min(a[t][n],i[t][n])),i[t][n]=Math.round(l);for(var c in r)c!==t&&(i[c]=o[t][c](i[t]));return!0},y.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},y.prototype.setChannel=function(t,e,n){var l=this.values[t];return void 0===n?l[e]:(n===l[e]||(l[e]=n,this.setValues(t,l)),this)},"undefined"!=typeof window&&(window.Color=y);var A=y;function v(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}var C,w={noop:function(){},uid:(C=0,function(){return C++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return w.valueOrDefault(w.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,l){var i,r,o;if(w.isArray(t))if(r=t.length,l)for(i=r-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<r;i++)e.call(n,t[i],i);else if(w.isObject(t))for(r=(o=Object.keys(t)).length,i=0;i<r;i++)e.call(n,t[o[i]],o[i])},arrayEquals:function(t,e){var n,l,i,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,l=t.length;n<l;++n)if(r=e[n],(i=t[n])instanceof Array&&r instanceof Array){if(!w.arrayEquals(i,r))return!1}else if(i!==r)return!1;return!0},clone:function(t){if(w.isArray(t))return t.map(w.clone);if(w.isObject(t)){for(var e=Object.create(t),n=Object.keys(t),l=n.length,i=0;i<l;++i)e[n[i]]=w.clone(t[n[i]]);return e}return t},_merger:function(t,e,n,l){if(v(t)){var i=e[t],r=n[t];w.isObject(i)&&w.isObject(r)?w.merge(i,r,l):e[t]=w.clone(r)}},_mergerIf:function(t,e,n){if(v(t)){var l=e[t],i=n[t];w.isObject(l)&&w.isObject(i)?w.mergeIf(l,i):e.hasOwnProperty(t)||(e[t]=w.clone(i))}},merge:function(t,e,n){var l,i,r,o,a,s=w.isArray(e)?e:[e],u=s.length;if(!w.isObject(t))return t;for(l=(n=n||{}).merger||w._merger,i=0;i<u;++i)if(w.isObject(e=s[i]))for(a=0,o=(r=Object.keys(e)).length;a<o;++a)l(r[a],t,e,n);return t},mergeIf:function(t,e){return w.merge(t,e,{merger:w._mergerIf})},extend:Object.assign||function(t){return w.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},l=function(){this.constructor=n};return l.prototype=e.prototype,n.prototype=new l,n.extend=w.inherits,t&&w.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,l){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+l+'" instead')}},P=w;w.callCallback=w.callback,w.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},w.getValueOrDefault=w.valueOrDefault,w.getValueAtIndexOrDefault=w.valueAtIndexOrDefault;var x={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:1===t?1:(n||(n=.3),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),-l*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:1===t?1:(n||(n=.3),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),l*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,l=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),l<1?(l=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/l),t<1?l*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:l*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-x.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*x.easeInBounce(2*t):.5*x.easeOutBounce(2*t-1)+.5}},S={effects:x};P.easingEffects=x;var k=Math.PI,M=k/180,O=2*k,D=k/2,T=k/4,E=2*k/3,I={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,l,i,r){if(r){var o=Math.min(r,i/2,l/2),a=e+o,s=n+o,u=e+l-o,c=n+i-o;t.moveTo(e,s),a<u&&s<c?(t.arc(a,s,o,-k,-D),t.arc(u,s,o,-D,0),t.arc(u,c,o,0,D),t.arc(a,c,o,D,k)):a<u?(t.moveTo(a,n),t.arc(u,s,o,-D,D),t.arc(a,s,o,D,k+D)):s<c?(t.arc(a,s,o,-k,0),t.arc(a,c,o,0,k)):t.arc(a,s,o,-k,k),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,l,i)},drawPoint:function(t,e,n,l,i,r){var o,a,s,u,c,d=(r||0)*M;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(o=e.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(l,i),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(l,i,n,0,O),t.closePath();break;case"triangle":t.moveTo(l+Math.sin(d)*n,i-Math.cos(d)*n),d+=E,t.lineTo(l+Math.sin(d)*n,i-Math.cos(d)*n),d+=E,t.lineTo(l+Math.sin(d)*n,i-Math.cos(d)*n),t.closePath();break;case"rectRounded":u=n-(c=.516*n),a=Math.cos(d+T)*u,s=Math.sin(d+T)*u,t.arc(l-a,i-s,c,d-k,d-D),t.arc(l+s,i-a,c,d-D,d),t.arc(l+a,i+s,c,d,d+D),t.arc(l-s,i+a,c,d+D,d+k),t.closePath();break;case"rect":if(!r){u=Math.SQRT1_2*n,t.rect(l-u,i-u,2*u,2*u);break}d+=T;case"rectRot":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+s,i-a),t.lineTo(l+a,i+s),t.lineTo(l-s,i+a),t.closePath();break;case"crossRot":d+=T;case"cross":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a);break;case"star":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a),d+=T,a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s),t.moveTo(l+s,i-a),t.lineTo(l-s,i+a);break;case"line":a=Math.cos(d)*n,s=Math.sin(d)*n,t.moveTo(l-a,i-s),t.lineTo(l+a,i+s);break;case"dash":t.moveTo(l,i),t.lineTo(l+Math.cos(d)*n,i+Math.sin(d)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,l){var i=n.steppedLine;if(i){if("middle"===i){var r=(e.x+n.x)/2;t.lineTo(r,l?n.y:e.y),t.lineTo(r,l?e.y:n.y)}else"after"===i&&!l||"after"!==i&&l?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(l?e.controlPointPreviousX:e.controlPointNextX,l?e.controlPointPreviousY:e.controlPointNextY,l?n.controlPointNextX:n.controlPointPreviousX,l?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},L=I;P.clear=I.clear,P.drawRoundedRectangle=function(t){t.beginPath(),I.roundedRect.apply(I,arguments)};var j={_set:function(t,e){return P.merge(this[t]||(this[t]={}),e)}};j._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var R=j,F=P.valueOrDefault,N={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,l,i;return P.isObject(t)?(e=+t.top||0,n=+t.right||0,l=+t.bottom||0,i=+t.left||0):e=n=l=i=+t||0,{top:e,right:n,bottom:l,left:i,height:e+l,width:i+n}},_parseFont:function(t){var e=R.global,n=F(t.fontSize,e.defaultFontSize),l={family:F(t.fontFamily,e.defaultFontFamily),lineHeight:P.options.toLineHeight(F(t.lineHeight,e.defaultLineHeight),n),size:n,style:F(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return l.string=function(t){return!t||P.isNullOrUndef(t.size)||P.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(l),l},resolve:function(t,e,n,l){var i,r,o,a=!0;for(i=0,r=t.length;i<r;++i)if(void 0!==(o=t[i])&&(void 0!==e&&"function"==typeof o&&(o=o(e),a=!1),void 0!==n&&P.isArray(o)&&(o=o[n],a=!1),void 0!==o))return l&&!a&&(l.cacheable=!1),o}},Y={_factorize:function(t){var e,n=[],l=Math.sqrt(t);for(e=1;e<l;e++)t%e==0&&(n.push(e),n.push(t/e));return l===(0|l)&&n.push(l),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},U=Y;P.log10=Y.log10;var B=P,z=L,G=N,H=U;B.easing=S,B.canvas=z,B.options=G,B.math=H,B.rtl={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,l;"ltr"!==e&&"rtl"!==e||(l=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=l)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};var V=function(t){B.extend(this,t),this.initialize.apply(this,arguments)};B.extend(V.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=B.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,l=e._start,i=e._view;return n&&1!==t?(i||(i=e._view={}),l||(l=e._start={}),function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p=Object.keys(n);for(i=0,r=p.length;i<r;++i)if(u=n[o=p[i]],e.hasOwnProperty(o)||(e[o]=u),(a=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=a),(c=typeof u)==typeof(s=t[o]))if("string"===c){if((d=A(s)).valid&&(h=A(u)).valid){e[o]=h.mix(d,l).rgbString();continue}}else if(B.isFinite(s)&&B.isFinite(u)){e[o]=s+(u-s)*l;continue}e[o]=u}}(l,i,n,t),e):(e._view=B.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return B.isNumber(this._model.x)&&B.isNumber(this._model.y)}}),V.extend=B.inherits;var q=V,W=q.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),$=W;Object.defineProperty(W.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(W.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),R._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:B.noop,onComplete:B.noop}});var X={animations:[],request:null,addAnimation:function(t,e,n,l){var i,r,o=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,l||(t.animating=!0),i=0,r=o.length;i<r;++i)if(o[i].chart===t)return void(o[i]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=B.findIndex(this.animations,(function(e){return e.chart===t}));-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=B.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,l,i=this.animations,r=0;r<i.length;)e=(t=i[r]).chart,n=t.numSteps,l=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(l,n),B.callback(t.render,[e,t],e),B.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(B.callback(t.onAnimationComplete,[t],e),e.animating=!1,i.splice(r,1)):++r}},K=B.options.resolve,J=["push","pop","shift","splice","unshift"];function Q(t,e){var n=t._chartjs;if(n){var l=n.listeners,i=l.indexOf(e);-1!==i&&l.splice(i,1),l.length>0||(J.forEach((function(e){delete t[e]})),delete t._chartjs)}}var Z=function(t,e){this.initialize(t,e)};B.extend(Z.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,l=this.getDataset(),i=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!l.xAxisID||(t.xAxisID=l.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!l.yAxisID||(t.yAxisID=l.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Q(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),l=this.getDataset().data||[],i=n.data;for(t=0,e=l.length;t<e;++t)i[t]=i[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,n=this,l=n.getDataset(),i=l.data||(l.data=[]);n._data!==i&&(n._data&&Q(n._data,n),i&&Object.isExtensible(i)&&(e=n,(t=i)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),J.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),l=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),i=l.apply(this,e);return B.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),i}})})))),n._data=i),n.resyncElements()},_configure:function(){this._config=B.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&B._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:B.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],l=n.length,i=0;i<l;++i)n[i].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,l=0;for(t.dataset&&t.dataset.draw();l<n;++l)e[l].draw()},getStyle:function(t){var e,n=this.getMeta(),l=n.dataset;return this._configure(),!1!==(e=l&&void 0===t?this._resolveDatasetElementOptions(l||{}):this._resolveDataElementOptions(n.data[t=t||0]||{},t)).fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,l,i,r,o=this,a=o.chart,s=o._config,u=t.custom||{},c=a.options.elements[o.datasetElementType.prototype._type]||{},d=o._datasetElementOptions,h={},p={chart:a,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n=0,l=d.length;n<l;++n)i=d[n],r=e?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,h[i]=K([u[r],s[r],c[r]],p);return h},_resolveDataElementOptions:function(t,e){var n=this,l=t&&t.custom,i=n._cachedDataOpts;if(i&&!l)return i;var r,o,a,s,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,p={},f={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},b={cacheable:!l};if(l=l||{},B.isArray(h))for(o=0,a=h.length;o<a;++o)p[s=h[o]]=K([l[s],c[s],d[s]],f,e,b);else for(o=0,a=(r=Object.keys(h)).length;o<a;++o)p[s=r[o]]=K([l[s],c[h[s]],c[s],d[s]],f,e,b);return b.cacheable&&(n._cachedDataOpts=Object.freeze(p)),p},removeHoverStyle:function(t){B.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,l=t.custom||{},i=t._model,r=B.getHoverColor;t.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=K([l.hoverBackgroundColor,e.hoverBackgroundColor,r(i.backgroundColor)],void 0,n),i.borderColor=K([l.hoverBorderColor,e.hoverBorderColor,r(i.borderColor)],void 0,n),i.borderWidth=K([l.hoverBorderWidth,e.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,l,i,r,o=this.getMeta().dataset,a={};if(o){for(r=o._model,i=this._resolveDatasetElementOptions(o,!0),t=0,e=(l=Object.keys(i)).length;t<e;++t)a[n=l[t]]=r[n],r[n]=i[n];o.$previousStyle=a}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,l=e.length;l<n?t.data.splice(l,n-l):l>n&&this.insertElements(n,l-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Z.extend=B.inherits;var tt=Z,et=2*Math.PI;function nt(t,e){var n=e.startAngle,l=e.endAngle,i=e.pixelMargin,r=i/e.outerRadius,o=e.x,a=e.y;t.beginPath(),t.arc(o,a,e.outerRadius,n-r,l+r),e.innerRadius>i?t.arc(o,a,e.innerRadius-i,l+(r=i/e.innerRadius),n-r,!0):t.arc(o,a,i,l+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}R._set("global",{elements:{arc:{backgroundColor:R.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var lt=q.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var l=B.getAngleFromPoint(n,{x:t,y:e}),i=l.angle,r=l.distance,o=n.startAngle,a=n.endAngle;a<o;)a+=et;for(;i>a;)i-=et;for(;i<o;)i+=et;return i>=o&&i<=a&&r>=n.innerRadius&&r<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,l="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-l,0),pixelMargin:l,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/et)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+et,e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),t=0;t<i.fullCircles;++t)e.fill();i.endAngle=i.startAngle+n.circumference%et}e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&function(t,e,n){var l="inner"===e.borderAlign;l?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,l){var i,r=n.endAngle;for(l&&(n.endAngle=n.startAngle+et,nt(t,n),n.endAngle=r,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=et,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+et,n.startAngle,!0),i=0;i<n.fullCircles;++i)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+et),i=0;i<n.fullCircles;++i)t.stroke()}(t,e,n,l),l&&nt(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}(e,n,i),e.restore()}}),it=B.valueOrDefault,rt=R.global.defaultColor;R._set("global",{elements:{line:{tension:.4,backgroundColor:rt,borderWidth:3,borderColor:rt,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ot=q.extend({_type:"line",draw:function(){var t,e,n,l=this,i=l._view,r=l._chart.ctx,o=i.spanGaps,a=l._children.slice(),s=R.global,u=s.elements.line,c=-1,d=l._loop;if(a.length){if(l._loop){for(t=0;t<a.length;++t)if(e=B.previousItem(a,t),!a[t]._view.skip&&e._view.skip){a=a.slice(t).concat(a.slice(0,t)),d=o;break}d&&a.push(a[0])}for(r.save(),r.lineCap=i.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(i.borderDash||u.borderDash),r.lineDashOffset=it(i.borderDashOffset,u.borderDashOffset),r.lineJoin=i.borderJoinStyle||u.borderJoinStyle,r.lineWidth=it(i.borderWidth,u.borderWidth),r.strokeStyle=i.borderColor||s.defaultColor,r.beginPath(),(n=a[0]._view).skip||(r.moveTo(n.x,n.y),c=0),t=1;t<a.length;++t)n=a[t]._view,e=-1===c?B.previousItem(a,t):a[c],n.skip||(c!==t-1&&!o||-1===c?r.moveTo(n.x,n.y):B.canvas.lineTo(r,e._view,n),c=t);d&&r.closePath(),r.stroke(),r.restore()}}}),at=B.valueOrDefault,st=R.global.defaultColor;function ut(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}R._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:st,borderColor:st,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ct=q.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ut,inXRange:ut,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,l=e.pointStyle,i=e.rotation,r=e.radius,o=e.x,a=e.y,s=R.global,u=s.defaultColor;e.skip||(void 0===t||B.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=at(e.borderWidth,s.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,B.canvas.drawPoint(n,l,r,o,a,i))}}),dt=R.global.defaultColor;function ht(t){return t&&void 0!==t.width}function pt(t){var e,n,l,i,r;return ht(t)?(e=t.x-(r=t.width/2),n=t.x+r,l=Math.min(t.y,t.base),i=Math.max(t.y,t.base)):(r=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),l=t.y-r,i=t.y+r),{left:e,top:l,right:n,bottom:i}}function ft(t,e,n){return t===e?n:t===n?e:t}function bt(t,e,n){var l=null===e,i=null===n,r=!(!t||l&&i)&&pt(t);return r&&(l||e>=r.left&&e<=r.right)&&(i||n>=r.top&&n<=r.bottom)}R._set("global",{elements:{rectangle:{backgroundColor:dt,borderColor:dt,borderSkipped:"bottom",borderWidth:0}}});var mt=q.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=pt(t),n=e.right-e.left,l=e.bottom-e.top,i=function(t,e,n){var l,i,r,o,a=t.borderWidth,s=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=ft(e,"left","right")):t.base<t.y&&(e=ft(e,"bottom","top")),n[e]=!0,n):n}(t);return B.isObject(a)?(l=+a.top||0,i=+a.right||0,r=+a.bottom||0,o=+a.left||0):l=i=r=o=+a||0,{t:s.top||l<0?0:l>n?n:l,r:s.right||i<0?0:i>e?e:i,b:s.bottom||r<0?0:r>n?n:r,l:s.left||o<0?0:o>e?e:o}}(t,n/2,l/2);return{outer:{x:e.left,y:e.top,w:n,h:l},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:l-i.t-i.b}}}(e),l=n.outer,i=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(l.x,l.y,l.w,l.h),l.w===i.w&&l.h===i.h||(t.save(),t.beginPath(),t.rect(l.x,l.y,l.w,l.h),t.clip(),t.fillStyle=e.borderColor,t.rect(i.x,i.y,i.w,i.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return bt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return ht(n)?bt(n,t,null):bt(n,null,e)},inXRange:function(t){return bt(this._view,t,null)},inYRange:function(t){return bt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return ht(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return ht(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),gt={},_t=ot,yt=ct,At=mt;gt.Arc=lt,gt.Line=_t,gt.Point=yt,gt.Rectangle=At;var vt=B._deprecated,Ct=B.valueOrDefault;R._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),R._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var wt=tt.extend({dataElementType:gt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;tt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,vt("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),vt("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),vt("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),vt("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),vt("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,l=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=l.length;e<n;++e)this.updateElement(l[e],e,t)},updateElement:function(t,e,n){var l=this,i=l.getMeta(),r=l.getDataset(),o=l._resolveDataElementOptions(t,e);t._xScale=l.getScaleForId(i.xAxisID),t._yScale=l.getScaleForId(i.yAxisID),t._datasetIndex=l.index,t._index=e,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:l.chart.data.labels[e]},B.isArray(r.data[e])&&(t._model.borderSkipped=null),l._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,l){var i=this,r=t._model,o=i._getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),u=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,e,l),d=i.calculateBarIndexPixels(i.index,e,u,l);r.horizontal=s,r.base=n?a:c.base,r.x=s?n?a:c.head:d.center,r.y=s?d.center:n?a:c.head,r.height=s?d.size:void 0,r.width=s?void 0:d.size},_getStacks:function(t){var e,n,l=this._getIndexScale(),i=l._getMatchingVisibleMetas(this._type),r=l.options.stacked,o=i.length,a=[];for(e=0;e<o&&(n=i[e],(!1===r||-1===a.indexOf(n.stack)||void 0===r&&void 0===n.stack)&&a.push(n.stack),n.index!==t);++e);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),l=void 0!==e?n.indexOf(e):-1;return-1===l?n.length-1:l},getRuler:function(){var t,e,n=this._getIndexScale(),l=[];for(t=0,e=this.getMeta().data.length;t<e;++t)l.push(n.getPixelForValue(null,t,this.index));return{pixels:l,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var l,i,r,o,a,s,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),p=c.data.datasets,f=d._getMatchingVisibleMetas(this._type),b=d._parseValue(p[t].data[e]),m=n.minBarLength,g=d.options.stacked,_=this.getMeta().stack,y=void 0===b.start?0:b.max>=0&&b.min>=0?b.min:b.max,A=void 0===b.start?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,v=f.length;if(g||void 0===g&&void 0!==_)for(l=0;l<v&&(i=f[l]).index!==t;++l)i.stack===_&&(r=void 0===(u=d._parseValue(p[i.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(b.min<0&&r<0||b.max>=0&&r>0)&&(y+=r));return o=d.getPixelForValue(y),s=(a=d.getPixelForValue(y+A))-o,void 0!==m&&Math.abs(s)<m&&(s=m,a=A>=0&&!h||A<0&&h?o-m:o+m),{size:s,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(t,e,n,l){var i="flex"===l.barThickness?function(t,e,n){var l,i=e.pixels,r=i[t],o=t>0?i[t-1]:null,a=t<i.length-1?i[t+1]:null,s=n.categoryPercentage;return null===o&&(o=r-(null===a?e.end-e.start:a-r)),null===a&&(a=r+r-o),l=r-(r-Math.min(o,a))/2*s,{chunk:Math.abs(a-o)/2*s/e.stackCount,ratio:n.barPercentage,start:l}}(e,n,l):function(t,e,n){var l,i,r=n.barThickness,o=e.stackCount,a=e.pixels[t],s=B.isNullOrUndef(r)?function(t,e){var n,l,i,r,o=t._length;for(i=1,r=e.length;i<r;++i)o=Math.min(o,Math.abs(e[i]-e[i-1]));for(i=0,r=t.getTicks().length;i<r;++i)l=t.getPixelForTick(i),o=i>0?Math.min(o,Math.abs(l-n)):o,n=l;return o}(e.scale,e.pixels):-1;return B.isNullOrUndef(r)?(l=s*n.categoryPercentage,i=n.barPercentage):(l=r*o,i=1),{chunk:l/o,ratio:i,start:a-l/2}}(e,n,l),r=this.getStackIndex(t,this.getMeta().stack),o=i.start+i.chunk*r+i.chunk/2,a=Math.min(Ct(l.maxBarThickness,1/0),i.chunk*i.ratio);return{base:o-a/2,head:o+a/2,center:o,size:a}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,l=this.getDataset(),i=n.length,r=0;for(B.canvas.clipArea(t.ctx,t.chartArea);r<i;++r){var o=e._parseValue(l.data[r]);isNaN(o.min)||isNaN(o.max)||n[r].draw()}B.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=this,e=B.extend({},tt.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,l=t._getValueScale().options;return e.barPercentage=Ct(n.barPercentage,e.barPercentage),e.barThickness=Ct(n.barThickness,e.barThickness),e.categoryPercentage=Ct(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=Ct(n.maxBarThickness,e.maxBarThickness),e.minBarLength=Ct(l.minBarLength,e.minBarLength),e}}),Pt=B.valueOrDefault,xt=B.options.resolve;R._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}});var St=tt.extend({dataElementType:gt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta();B.each(n.data,(function(n,l){e.updateElement(n,l,t)}))},updateElement:function(t,e,n){var l=this,i=l.getMeta(),r=t.custom||{},o=l.getScaleForId(i.xAxisID),a=l.getScaleForId(i.yAxisID),s=l._resolveDataElementOptions(t,e),u=l.getDataset().data[e],c=l.index,d=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?a.getBasePixel():a.getPixelForValue(u,e,c);t._xScale=o,t._yScale=a,t._options=s,t._datasetIndex=c,t._index=e,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,rotation:s.rotation,radius:n?0:s.radius,skip:r.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Pt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=Pt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=Pt(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,l=n.chart,i=n.getDataset(),r=t.custom||{},o=i.data[e]||{},a=tt.prototype._resolveDataElementOptions.apply(n,arguments),s={chart:l,dataIndex:e,dataset:i,datasetIndex:n.index};return n._cachedDataOpts===a&&(a=B.extend({},a)),a.radius=xt([r.radius,o.r,n._config.radius,l.options.elements.point.radius],s,e),a}}),kt=B.valueOrDefault,Mt=Math.PI,Ot=2*Mt,Dt=Mt/2;R._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data,o=r.datasets,a=r.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],a[e]&&l.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,l){var i=t.getDatasetMeta(0),r=i.controller.getStyle(l);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[l])||i.data[l].hidden,index:l}})):[]}},onClick:function(t,e){var n,l,i,r=e.index,o=this.chart;for(n=0,l=(o.data.datasets||[]).length;n<l;++n)(i=o.getDatasetMeta(n)).data[r]&&(i.data[r].hidden=!i.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-Dt,circumference:Ot,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],l=": "+e.datasets[t.datasetIndex].data[t.index];return B.isArray(n)?(n=n.slice())[0]+=l:n+=l,n}}}});var Tt=tt.extend({dataElementType:gt.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,l=this,i=l.chart,r=i.chartArea,o=i.options,a=1,s=1,u=0,c=0,d=l.getMeta(),h=d.data,p=o.cutoutPercentage/100||0,f=o.circumference,b=l._getRingWeight(l.index);if(f<Ot){var m=o.rotation%Ot,g=(m+=m>=Mt?-Ot:m<-Mt?Ot:0)+f,_=Math.cos(m),y=Math.sin(m),A=Math.cos(g),v=Math.sin(g),C=m<=0&&g>=0||g>=Ot,w=m<=Dt&&g>=Dt||g>=Ot+Dt,P=m<=-Dt&&g>=-Dt||g>=Mt+Dt,x=m===-Mt||g>=Mt?-1:Math.min(_,_*p,A,A*p),S=P?-1:Math.min(y,y*p,v,v*p),k=C?1:Math.max(_,_*p,A,A*p),M=w?1:Math.max(y,y*p,v,v*p);a=(k-x)/2,s=(M-S)/2,u=-(k+x)/2,c=-(M+S)/2}for(e=0,n=h.length;e<n;++e)h[e]._options=l._resolveDataElementOptions(h[e],e);for(i.borderWidth=l.getMaxBorderWidth(),i.outerRadius=Math.max(Math.min((r.right-r.left-i.borderWidth)/a,(r.bottom-r.top-i.borderWidth)/s)/2,0),i.innerRadius=Math.max(i.outerRadius*p,0),i.radiusLength=(i.outerRadius-i.innerRadius)/(l._getVisibleDatasetWeightTotal()||1),i.offsetX=u*i.outerRadius,i.offsetY=c*i.outerRadius,d.total=l.calculateTotal(),l.outerRadius=i.outerRadius-i.radiusLength*l._getRingWeightOffset(l.index),l.innerRadius=Math.max(l.outerRadius-i.radiusLength*b,0),e=0,n=h.length;e<n;++e)l.updateElement(h[e],e,t)},updateElement:function(t,e,n){var l=this,i=l.chart,r=i.chartArea,o=i.options,a=o.animation,s=(r.left+r.right)/2,u=(r.top+r.bottom)/2,c=o.rotation,d=o.rotation,h=l.getDataset(),p=n&&a.animateRotate||t.hidden?0:l.calculateCircumference(h.data[e])*(o.circumference/Ot),f=t._options||{};B.extend(t,{_datasetIndex:l.index,_index:e,_model:{backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,borderAlign:f.borderAlign,x:s+i.offsetX,y:u+i.offsetY,startAngle:c,endAngle:d,circumference:p,outerRadius:n&&a.animateScale?0:l.outerRadius,innerRadius:n&&a.animateScale?0:l.innerRadius,label:B.valueAtIndexOrDefault(h.label,e,i.data.labels[e])}});var b=t._model;n&&a.animateRotate||(b.startAngle=0===e?o.rotation:l.getMeta().data[e-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),l=0;return B.each(n.data,(function(n,i){t=e.data[i],isNaN(t)||n.hidden||(l+=Math.abs(t))})),l},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?Ot*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,l,i,r,o,a,s,u=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e<n;++e)if(c.isDatasetVisible(e)){t=(l=c.getDatasetMeta(e)).data,e!==this.index&&(r=l.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)i=t[e],r?(r._configure(),o=r._resolveDataElementOptions(i,e)):o=i._options,"inner"!==o.borderAlign&&(u=(s=o.hoverBorderWidth)>(u=(a=o.borderWidth)>u?a:u)?s:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=kt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=kt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=kt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(kt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});R._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),R._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Et=wt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),It=B.valueOrDefault,Lt=B.options.resolve,jt=B.canvas._isPointInArea;function Rt(t,e){var n=t&&t.options.ticks||{},l=n.reverse,i=void 0===n.min?e:0,r=void 0===n.max?e:0;return{start:l?r:i,end:l?i:r}}function Ft(t,e,n){var l=n/2,i=Rt(t,l),r=Rt(e,l);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function Nt(t){var e,n,l,i;return B.isObject(t)?(e=t.top,n=t.right,l=t.bottom,i=t.left):e=n=l=i=t,{top:e,right:n,bottom:l,left:i}}R._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Yt=tt.extend({datasetElementType:gt.Line,dataElementType:gt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,l=this,i=l.getMeta(),r=i.dataset,o=i.data||[],a=l._config,s=l._showLine=It(a.showLine,l.chart.options.showLines);for(l._xScale=l.getScaleForId(i.xAxisID),l._yScale=l.getScaleForId(i.yAxisID),s&&(void 0!==a.tension&&void 0===a.lineTension&&(a.lineTension=a.tension),r._scale=l._yScale,r._datasetIndex=l.index,r._children=o,r._model=l._resolveDatasetElementOptions(r),r.pivot()),e=0,n=o.length;e<n;++e)l.updateElement(o[e],e,t);for(s&&0!==r._model.tension&&l.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var l,i,r=this,o=r.getMeta(),a=t.custom||{},s=r.getDataset(),u=r.index,c=s.data[e],d=r._xScale,h=r._yScale,p=o.dataset._model,f=r._resolveDataElementOptions(t,e);l=d.getPixelForValue("object"==typeof c?c:NaN,e,u),i=n?h.getBasePixel():r.calculatePointY(c,e,u),t._xScale=d,t._yScale=h,t._options=f,t._datasetIndex=u,t._index=e,t._model={x:l,y:i,skip:a.skip||isNaN(l)||isNaN(i),radius:f.radius,pointStyle:f.pointStyle,rotation:f.rotation,backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,tension:It(a.tension,p?p.tension:0),steppedLine:!!p&&p.steppedLine,hitRadius:f.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,l=t.custom||{},i=e.chart.options,r=i.elements.line,o=tt.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGaps=It(n.spanGaps,i.spanGaps),o.tension=It(n.lineTension,r.tension),o.steppedLine=Lt([l.steppedLine,n.steppedLine,r.stepped]),o.clip=Nt(It(n.clip,Ft(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var l,i,r,o,a,s,u=this.chart,c=this._yScale,d=0,h=0;if(c.options.stacked){for(o=+c.getRightValue(t),s=(a=u._getSortedVisibleDatasetMetas()).length,l=0;l<s&&(i=a[l]).index!==n;++l)"line"===i.type&&i.yAxisID===c.id&&((r=+c.getRightValue(u.data.datasets[i.index].data[e]))<0?h+=r||0:d+=r||0);return c.getPixelForValue(o<0?h+o:d+o)}return c.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,l,i=this.chart,r=this.getMeta(),o=r.dataset._model,a=i.chartArea,s=r.data||[];function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(s=s.filter((function(t){return!t._model.skip}))),"monotone"===o.cubicInterpolationMode)B.splineCurveMonotone(s);else for(t=0,e=s.length;t<e;++t)n=s[t]._model,l=B.splineCurve(B.previousItem(s,t)._model,n,B.nextItem(s,t)._model,o.tension),n.controlPointPreviousX=l.previous.x,n.controlPointPreviousY=l.previous.y,n.controlPointNextX=l.next.x,n.controlPointNextY=l.next.y;if(i.options.elements.line.capBezierPoints)for(t=0,e=s.length;t<e;++t)jt(n=s[t]._model,a)&&(t>0&&jt(s[t-1]._model,a)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,a.left,a.right),n.controlPointPreviousY=u(n.controlPointPreviousY,a.top,a.bottom)),t<s.length-1&&jt(s[t+1]._model,a)&&(n.controlPointNextX=u(n.controlPointNextX,a.left,a.right),n.controlPointNextY=u(n.controlPointNextY,a.top,a.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),l=n.data||[],i=e.chartArea,r=e.canvas,o=0,a=l.length;for(this._showLine&&(B.canvas.clipArea(e.ctx,{left:!1===(t=n.dataset._model.clip).left?0:i.left-t.left,right:!1===t.right?r.width:i.right+t.right,top:!1===t.top?0:i.top-t.top,bottom:!1===t.bottom?r.height:i.bottom+t.bottom}),n.dataset.draw(),B.canvas.unclipArea(e.ctx));o<a;++o)l[o].draw(i)},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=It(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=It(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=It(n.hoverBorderWidth,n.borderWidth),e.radius=It(n.hoverRadius,n.radius)}}),Ut=B.options.resolve;R._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data,o=r.datasets,a=r.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],a[e]&&l.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,l){var i=t.getDatasetMeta(0),r=i.controller.getStyle(l);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[l])||i.data[l].hidden,index:l}})):[]}},onClick:function(t,e){var n,l,i,r=e.index,o=this.chart;for(n=0,l=(o.data.datasets||[]).length;n<l;++n)(i=o.getDatasetMeta(n)).data[r].hidden=!i.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Bt=tt.extend({dataElementType:gt.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,l,i=this,r=i.getDataset(),o=i.getMeta(),a=i.chart.options.startAngle||0,s=i._starts=[],u=i._angles=[],c=o.data;for(i._updateRadius(),o.count=i.countVisibleElements(),e=0,n=r.data.length;e<n;e++)s[e]=a,l=i._computeAngle(e),u[e]=l,a+=l;for(e=0,n=c.length;e<n;++e)c[e]._options=i._resolveDataElementOptions(c[e],e),i.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,l=e.options,i=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(i/2,0),e.innerRadius=Math.max(l.cutoutPercentage?e.outerRadius/100*l.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,n){var l=this,i=l.chart,r=l.getDataset(),o=i.options,a=o.animation,s=i.scale,u=i.data.labels,c=s.xCenter,d=s.yCenter,h=o.startAngle,p=t.hidden?0:s.getDistanceFromCenterForValue(r.data[e]),f=l._starts[e],b=f+(t.hidden?0:l._angles[e]),m=a.animateScale?0:s.getDistanceFromCenterForValue(r.data[e]),g=t._options||{};B.extend(t,{_datasetIndex:l.index,_index:e,_scale:s,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?m:p,startAngle:n&&a.animateRotate?h:f,endAngle:n&&a.animateRotate?h:b,label:B.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return B.each(e.data,(function(e,l){isNaN(t.data[l])||e.hidden||n++})),n},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor,i=B.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=i(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=i(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,l=e.getDataset(),i=e.getMeta();return isNaN(l.data[t])||i.data[t].hidden?0:Ut([e.chart.options.elements.arc.angle,2*Math.PI/n],{chart:e.chart,dataIndex:t,dataset:l,datasetIndex:e.index},t)}});R._set("pie",B.clone(R.doughnut)),R._set("pie",{cutoutPercentage:0});var zt=Tt,Gt=B.valueOrDefault;R._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ht=tt.extend({datasetElementType:gt.Line,dataElementType:gt.Point,linkScales:B.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,l=this,i=l.getMeta(),r=i.dataset,o=i.data||[],a=l.chart.scale,s=l._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r._scale=a,r._datasetIndex=l.index,r._children=o,r._loop=!0,r._model=l._resolveDatasetElementOptions(r),r.pivot(),e=0,n=o.length;e<n;++e)l.updateElement(o[e],e,t);for(l.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var l=this,i=t.custom||{},r=l.getDataset(),o=l.chart.scale,a=o.getPointPositionForValue(e,r.data[e]),s=l._resolveDataElementOptions(t,e),u=l.getMeta().dataset._model,c=n?o.xCenter:a.x,d=n?o.yCenter:a.y;t._scale=o,t._options=s,t._datasetIndex=l.index,t._index=e,t._model={x:c,y:d,skip:i.skip||isNaN(c)||isNaN(d),radius:s.radius,pointStyle:s.pointStyle,rotation:s.rotation,backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,tension:Gt(i.tension,u?u.tension:0),hitRadius:s.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,l=tt.prototype._resolveDatasetElementOptions.apply(t,arguments);return l.spanGaps=Gt(e.spanGaps,n.spanGaps),l.tension=Gt(e.lineTension,n.elements.line.tension),l},updateBezierControlPoints:function(){var t,e,n,l,i=this.getMeta(),r=this.chart.chartArea,o=i.data||[];function a(t,e,n){return Math.max(Math.min(t,n),e)}for(i.dataset._model.spanGaps&&(o=o.filter((function(t){return!t._model.skip}))),t=0,e=o.length;t<e;++t)n=o[t]._model,l=B.splineCurve(B.previousItem(o,t,!0)._model,n,B.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousX=a(l.previous.x,r.left,r.right),n.controlPointPreviousY=a(l.previous.y,r.top,r.bottom),n.controlPointNextX=a(l.next.x,r.left,r.right),n.controlPointNextY=a(l.next.y,r.top,r.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,l=B.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Gt(n.hoverBackgroundColor,l(n.backgroundColor)),e.borderColor=Gt(n.hoverBorderColor,l(n.borderColor)),e.borderWidth=Gt(n.hoverBorderWidth,n.borderWidth),e.radius=Gt(n.hoverRadius,n.radius)}});R._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),R._set("global",{datasets:{scatter:{showLine:!1}}});var Vt={bar:wt,bubble:St,doughnut:Tt,horizontalBar:Et,line:Yt,polarArea:Bt,pie:zt,radar:Ht,scatter:Yt};function qt(t,e){return t.native?{x:t.x,y:t.y}:B.getRelativePosition(t,e)}function Wt(t,e){var n,l,i,r,o,a,s=t._getSortedVisibleDatasetMetas();for(l=0,r=s.length;l<r;++l)for(i=0,o=(n=s[l].data).length;i<o;++i)(a=n[i])._view.skip||e(a)}function $t(t,e){var n=[];return Wt(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function Xt(t,e,n,l){var i=Number.POSITIVE_INFINITY,r=[];return Wt(t,(function(t){if(!n||t.inRange(e.x,e.y)){var o=t.getCenterPoint(),a=l(e,o);a<i?(r=[t],i=a):a===i&&r.push(t)}})),r}function Kt(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,l){var i=e?Math.abs(t.x-l.x):0,r=n?Math.abs(t.y-l.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(r,2))}}function Jt(t,e,n){var l=qt(e,t);n.axis=n.axis||"x";var i=Kt(n.axis),r=n.intersect?$t(t,l):Xt(t,l,!1,i),o=[];return r.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[r[0]._index];e&&!e._view.skip&&o.push(e)})),o):[]}var Qt={modes:{single:function(t,e){var n=qt(e,t),l=[];return Wt(t,(function(t){if(t.inRange(n.x,n.y))return l.push(t),l})),l.slice(0,1)},label:Jt,index:Jt,dataset:function(t,e,n){var l=qt(e,t);n.axis=n.axis||"xy";var i=Kt(n.axis),r=n.intersect?$t(t,l):Xt(t,l,!1,i);return r.length>0&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return Jt(t,e,{intersect:!1})},point:function(t,e){return $t(t,qt(e,t))},nearest:function(t,e,n){var l=qt(e,t);n.axis=n.axis||"xy";var i=Kt(n.axis);return Xt(t,l,n.intersect,i)},x:function(t,e,n){var l=qt(e,t),i=[],r=!1;return Wt(t,(function(t){t.inXRange(l.x)&&i.push(t),t.inRange(l.x,l.y)&&(r=!0)})),n.intersect&&!r&&(i=[]),i},y:function(t,e,n){var l=qt(e,t),i=[],r=!1;return Wt(t,(function(t){t.inYRange(l.y)&&i.push(t),t.inRange(l.x,l.y)&&(r=!0)})),n.intersect&&!r&&(i=[]),i}}},Zt=B.extend;function te(t,e){return B.where(t,(function(t){return t.pos===e}))}function ee(t,e){return t.sort((function(t,n){var l=e?n:t,i=e?t:n;return l.weight===i.weight?l.index-i.index:l.weight-i.weight}))}function ne(t,e,n,l){return Math.max(t[n],e[n])+Math.max(t[l],e[l])}function le(t,e,n){var l,i,r=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,t[n.pos]+=n.size,r.getPadding){var a=r.getPadding();o.top=Math.max(o.top,a.top),o.left=Math.max(o.left,a.left),o.bottom=Math.max(o.bottom,a.bottom),o.right=Math.max(o.right,a.right)}if(l=e.outerWidth-ne(o,t,"left","right"),i=e.outerHeight-ne(o,t,"top","bottom"),l!==t.w||i!==t.h){t.w=l,t.h=i;var s=n.horizontal?[l,t.w]:[i,t.h];return!(s[0]===s[1]||isNaN(s[0])&&isNaN(s[1]))}}function ie(t,e){var n,l=e.maxPadding;return n={left:0,top:0,right:0,bottom:0},(t?["left","right"]:["top","bottom"]).forEach((function(t){n[t]=Math.max(e[t],l[t])})),n}function re(t,e,n){var l,i,r,o,a,s,u=[];for(l=0,i=t.length;l<i;++l)(o=(r=t[l]).box).update(r.width||e.w,r.height||e.h,ie(r.horizontal,e)),le(e,n,r)&&(s=!0,u.length&&(a=!0)),o.fullWidth||u.push(r);return a&&re(u,e,n)||s}function oe(t,e,n){var l,i,r,o,a=n.padding,s=e.x,u=e.y;for(l=0,i=t.length;l<i;++l)o=(r=t[l]).box,r.horizontal?(o.left=o.fullWidth?a.left:e.left,o.right=o.fullWidth?n.outerWidth-a.right:e.left+e.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=s,o.right=s+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,s=o.right);e.x=s,e.y=u}R._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ae,se={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var l,i=["fullWidth","position","weight"],r=i.length,o=0;o<r;++o)n.hasOwnProperty(l=i[o])&&(e[l]=n[l])},update:function(t,e,n){if(t){var l=B.options.toPadding((t.options.layout||{}).padding),i=e-l.width,r=n-l.height,o=function(t){var e=function(t){var e,n,l,i=[];for(e=0,n=(t||[]).length;e<n;++e)i.push({index:e,box:l=t[e],pos:l.position,horizontal:l.isHorizontal(),weight:l.weight});return i}(t),n=ee(te(e,"left"),!0),l=ee(te(e,"right")),i=ee(te(e,"top"),!0),r=ee(te(e,"bottom"));return{leftAndTop:n.concat(i),rightAndBottom:l.concat(r),chartArea:te(e,"chartArea"),vertical:n.concat(l),horizontal:i.concat(r)}}(t.boxes),a=o.vertical,s=o.horizontal,u=Object.freeze({outerWidth:e,outerHeight:n,padding:l,availableWidth:i,vBoxMaxWidth:i/2/a.length,hBoxMaxHeight:r/2}),c=Zt({maxPadding:Zt({},l),w:i,h:r,x:l.left,y:l.top},l);!function(t,e){var n,l,i;for(n=0,l=t.length;n<l;++n)(i=t[n]).width=i.horizontal?i.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,i.height=i.horizontal&&e.hBoxMaxHeight}(a.concat(s),u),re(a,c,u),re(s,c,u)&&re(a,c,u),function(t){var e=t.maxPadding;function n(n){var l=Math.max(e[n]-t[n],0);return t[n]+=l,l}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(c),oe(o.leftAndTop,c,u),c.x+=c.w,c.y+=c.h,oe(o.rightAndBottom,c,u),t.chartArea={left:c.left,top:c.top,right:c.left+c.w,bottom:c.top+c.h},B.each(o.chartArea,(function(e){var n=e.box;Zt(n,t.chartArea),n.update(c.w,c.h)}))}}},ue=(ae=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&ae.default||ae,ce=["animationstart","webkitAnimationStart"],de={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function he(t,e){var n=B.getStyle(t,e),l=n&&n.match(/^(\d+)(\.\d+)?px$/);return l?Number(l[1]):void 0}var pe=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(n){}return t}()&&{passive:!0};function fe(t,e,n){t.addEventListener(e,n,pe)}function be(t,e,n){t.removeEventListener(e,n,pe)}function me(t,e,n,l,i){return{type:t,chart:e,native:i||null,x:void 0!==n?n:null,y:void 0!==l?l:null}}function ge(t){var e=document.createElement("div");return e.className=t||"",e}var _e={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t.$chartjs||(t.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var l=document.createElement("style");l.setAttribute("type","text/css"),l.appendChild(document.createTextNode(e)),t.appendChild(l)}}(e.host?e:document.head,ue)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,l=t.getAttribute("height"),i=t.getAttribute("width");if(t.$chartjs={initial:{height:l,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var r=he(t,"width");void 0!==r&&(t.width=r)}if(null===l||""===l)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=he(t,"height");void 0!==r&&(t.height=o)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e.$chartjs){var n=e.$chartjs.initial;["height","width"].forEach((function(t){var l=n[t];B.isNullOrUndef(l)?e.removeAttribute(t):e.setAttribute(t,l)})),B.each(n.style||{},(function(t,n){e.style[n]=t})),e.width=e.width,delete e.$chartjs}},addEventListener:function(t,e,n){var l=t.canvas;if("resize"!==e){var i=n.$chartjs||(n.$chartjs={});fe(l,e,(i.proxies||(i.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=de[t.type]||t.type,l=B.getRelativePosition(t,e);return me(n,e,l.x,l.y,t)}(e,t))})}else!function(t,e,n){var l,i,r,o,a=t.$chartjs||(t.$chartjs={}),s=a.resizer=function(t){var e=ge("chartjs-size-monitor"),n=ge("chartjs-size-monitor-expand"),l=ge("chartjs-size-monitor-shrink");n.appendChild(ge()),l.appendChild(ge()),e.appendChild(n),e.appendChild(l),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,l.scrollLeft=1e6,l.scrollTop=1e6};var i=function(){e._reset(),t()};return fe(n,"scroll",i.bind(n,"expand")),fe(l,"scroll",i.bind(l,"shrink")),e}((l=function(){if(a.resizer){var l=n.options.maintainAspectRatio&&t.parentNode,i=l?l.clientWidth:0;e(me("resize",n)),l&&l.clientWidth<i&&n.canvas&&e(me("resize",n))}},r=!1,o=[],function(){o=Array.prototype.slice.call(arguments),i=i||this,r||(r=!0,B.requestAnimFrame.call(window,(function(){r=!1,l.apply(i,o)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),l=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};B.each(ce,(function(e){fe(t,e,l)})),n.reflow=!!t.offsetParent,t.classList.add("chartjs-render-monitor")}(t,(function(){if(a.resizer){var e=t.parentNode;e&&e!==s.parentNode&&e.insertBefore(s,e.firstChild),s._reset()}}))}(l,n,t)},removeEventListener:function(t,e,n){var l,i,r,o=t.canvas;if("resize"!==e){var a=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];a&&be(o,e,a)}else r=(i=(l=o).$chartjs||{}).resizer,delete i.resizer,function(t){var e=t.$chartjs||{},n=e.renderProxy;n&&(B.each(ce,(function(e){be(t,e,n)})),delete e.renderProxy),t.classList.remove("chartjs-render-monitor")}(l),r&&r.parentNode&&r.parentNode.removeChild(r)}};B.addEvent=fe,B.removeEvent=be;var ye=B.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},_e._enabled?_e:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}});R._set("global",{plugins:{}});var Ae={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var l,i,r,o,a,s=this.descriptors(t),u=s.length;for(l=0;l<u;++l)if("function"==typeof(a=(r=(i=s[l]).plugin)[e])&&((o=[t].concat(n||[])).push(i.options),!1===a.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],l=[],i=t&&t.config||{},r=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach((function(t){if(-1===n.indexOf(t)){var e=t.id,i=r[e];!1!==i&&(!0===i&&(i=B.clone(R.global.plugins[e])),n.push(t),l.push({plugin:t,options:i||{}}))}})),e.descriptors=l,e.id=this._cacheId,l},_invalidate:function(t){delete t.$plugins}},ve={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=B.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?B.merge(Object.create(null),[R.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=B.extend(this.defaults[t],e))},addScalesToLayout:function(t){B.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,se.addBox(t,e)}))}},Ce=B.valueOrDefault,we=B.rtl.getRtlAdapter;R._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:B.noop,title:function(t,e){var n="",l=e.labels,i=l?l.length:0;if(t.length>0){var r=t[0];r.label?n=r.label:r.xLabel?n=r.xLabel:i>0&&r.index<i&&(n=l[r.index])}return n},afterTitle:B.noop,beforeBody:B.noop,beforeLabel:B.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),B.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:B.noop,afterBody:B.noop,beforeFooter:B.noop,footer:B.noop,afterFooter:B.noop}}});var Pe={average:function(t){if(!t.length)return!1;var e,n,l=0,i=0,r=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var a=o.tooltipPosition();l+=a.x,i+=a.y,++r}}return{x:l/r,y:i/r}},nearest:function(t,e){var n,l,i,r=e.x,o=e.y,a=Number.POSITIVE_INFINITY;for(n=0,l=t.length;n<l;++n){var s=t[n];if(s&&s.hasValue()){var u=s.getCenterPoint(),c=B.distanceBetweenPoints(e,u);c<a&&(a=c,i=s)}}if(i){var d=i.tooltipPosition();r=d.x,o=d.y}return{x:r,y:o}}};function xe(t,e){return e&&(B.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Se(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function ke(t){var e=R.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Ce(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Ce(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Ce(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Ce(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Ce(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Ce(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Ce(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Ce(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Ce(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Me(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Oe(t){return xe([],Se(t))}var De=q.extend({initialize:function(){this._model=ke(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,l=n.beforeTitle.apply(t,arguments),i=n.title.apply(t,arguments),r=n.afterTitle.apply(t,arguments),o=[];return o=xe(o,Se(l)),o=xe(o,Se(i)),xe(o,Se(r))},getBeforeBody:function(){return Oe(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,l=n._options.callbacks,i=[];return B.each(t,(function(t){var r={before:[],lines:[],after:[]};xe(r.before,Se(l.beforeLabel.call(n,t,e))),xe(r.lines,l.label.call(n,t,e)),xe(r.after,Se(l.afterLabel.call(n,t,e))),i.push(r)})),i},getAfterBody:function(){return Oe(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),l=e.footer.apply(t,arguments),i=e.afterFooter.apply(t,arguments),r=[];return r=xe(r,Se(n)),r=xe(r,Se(l)),xe(r,Se(i))},update:function(t){var e,n,l,i,r,o,a,s,u,c,d=this,h=d._options,p=d._model,f=d._model=ke(h),b=d._active,m=d._data,g={xAlign:p.xAlign,yAlign:p.yAlign},_={x:p.x,y:p.y},y={width:p.width,height:p.height},A={x:p.caretX,y:p.caretY};if(b.length){f.opacity=1;var v=[],C=[];A=Pe[h.position].call(d,b,d._eventPosition);var w=[];for(e=0,n=b.length;e<n;++e)w.push((i=void 0,r=void 0,s=void 0,u=void 0,c=void 0,i=(l=b[e])._xScale,r=l._yScale||l._scale,o=l._index,u=(s=l._chart.getDatasetMeta(a=l._datasetIndex).controller)._getIndexScale(),c=s._getValueScale(),{xLabel:i?i.getLabelForIndex(o,a):"",yLabel:r?r.getLabelForIndex(o,a):"",label:u?""+u.getLabelForIndex(o,a):"",value:c?""+c.getLabelForIndex(o,a):"",index:o,datasetIndex:a,x:l._model.x,y:l._model.y}));h.filter&&(w=w.filter((function(t){return h.filter(t,m)}))),h.itemSort&&(w=w.sort((function(t,e){return h.itemSort(t,e,m)}))),B.each(w,(function(t){v.push(h.callbacks.labelColor.call(d,t,d._chart)),C.push(h.callbacks.labelTextColor.call(d,t,d._chart))})),f.title=d.getTitle(w,m),f.beforeBody=d.getBeforeBody(w,m),f.body=d.getBody(w,m),f.afterBody=d.getAfterBody(w,m),f.footer=d.getFooter(w,m),f.x=A.x,f.y=A.y,f.caretPadding=h.caretPadding,f.labelColors=v,f.labelTextColors=C,f.dataPoints=w,y=function(t,e){var n=t._chart.ctx,l=2*e.yPadding,i=0,r=e.body,o=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0),a=e.title.length,s=e.footer.length,u=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;l+=a*u,l+=a?(a-1)*e.titleSpacing:0,l+=a?e.titleMarginBottom:0,l+=(o+=e.beforeBody.length+e.afterBody.length)*c,l+=o?(o-1)*e.bodySpacing:0,l+=s?e.footerMarginTop:0,l+=s*d,l+=s?(s-1)*e.footerSpacing:0;var h=0,p=function(t){i=Math.max(i,n.measureText(t).width+h)};return n.font=B.fontString(u,e._titleFontStyle,e._titleFontFamily),B.each(e.title,p),n.font=B.fontString(c,e._bodyFontStyle,e._bodyFontFamily),B.each(e.beforeBody.concat(e.afterBody),p),h=e.displayColors?c+2:0,B.each(r,(function(t){B.each(t.before,p),B.each(t.lines,p),B.each(t.after,p)})),h=0,n.font=B.fontString(d,e._footerFontStyle,e._footerFontFamily),B.each(e.footer,p),{width:i+=2*e.xPadding,height:l}}(this,f),_=function(t,e,n,l){var i=t.x,r=t.y,o=t.caretPadding,a=n.xAlign,s=n.yAlign,u=t.caretSize+o,c=t.cornerRadius+o;return"right"===a?i-=e.width:"center"===a&&((i-=e.width/2)+e.width>l.width&&(i=l.width-e.width),i<0&&(i=0)),"top"===s?r+=u:r-="bottom"===s?e.height+u:e.height/2,"center"===s?"left"===a?i+=u:"right"===a&&(i-=u):"left"===a?i-=c:"right"===a&&(i+=c),{x:i,y:r}}(f,y,g=function(t,e){var n,l,i,r,o,a=t._model,s=t._chart,u=t._chart.chartArea,c="center",d="center";a.y<e.height?d="top":a.y>s.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,p=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=h},l=function(t){return t>h}):(n=function(t){return t<=e.width/2},l=function(t){return t>=s.width-e.width/2}),i=function(t){return t+e.width+a.caretSize+a.caretPadding>s.width},r=function(t){return t-e.width-a.caretSize-a.caretPadding<0},o=function(t){return t<=p?"top":"bottom"},n(a.x)?(c="left",i(a.x)&&(c="center",d=o(a.y))):l(a.x)&&(c="right",r(a.x)&&(c="center",d=o(a.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:c,yAlign:f.yAlign?f.yAlign:d}}(this,y),d._chart)}else f.opacity=0;return f.xAlign=g.xAlign,f.yAlign=g.yAlign,f.x=_.x,f.y=_.y,f.width=y.width,f.height=y.height,f.caretX=A.x,f.caretY=A.y,d._model=f,t&&h.custom&&h.custom.call(d,f),d},drawCaret:function(t,e){var n=this._chart.ctx,l=this.getCaretPosition(t,e,this._view);n.lineTo(l.x1,l.y1),n.lineTo(l.x2,l.y2),n.lineTo(l.x3,l.y3)},getCaretPosition:function(t,e,n){var l,i,r,o,a,s,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,p=t.x,f=t.y,b=e.width,m=e.height;if("center"===h)a=f+m/2,"left"===d?(i=(l=p)-u,r=l,o=a+u,s=a-u):(i=(l=p+b)+u,r=l,o=a-u,s=a+u);else if("left"===d?(l=(i=p+c+u)-u,r=i+u):"right"===d?(l=(i=p+b-c-u)-u,r=i+u):(l=(i=n.caretX)-u,r=i+u),"top"===h)a=(o=f)-u,s=o;else{a=(o=f+m)+u,s=o;var g=r;r=l,l=g}return{x1:l,x2:i,x3:r,y1:o,y2:a,y3:s}},drawTitle:function(t,e,n){var l,i,r,o=e.title,a=o.length;if(a){var s=we(e.rtl,e.x,e.width);for(t.x=Me(e,e._titleAlign),n.textAlign=s.textAlign(e._titleAlign),n.textBaseline="middle",l=e.titleFontSize,i=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=B.fontString(l,e._titleFontStyle,e._titleFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(t.x),t.y+l/2),t.y+=l+i,r+1===a&&(t.y+=e.titleMarginBottom-i)}},drawBody:function(t,e,n){var l,i,r,o,a,s,u,c,d=e.bodyFontSize,h=e.bodySpacing,p=e._bodyAlign,f=e.body,b=e.displayColors,m=0,g=b?Me(e,"left"):0,_=we(e.rtl,e.x,e.width),y=function(e){n.fillText(e,_.x(t.x+m),t.y+d/2),t.y+=d+h},A=_.textAlign(p);for(n.textAlign=p,n.textBaseline="middle",n.font=B.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Me(e,A),n.fillStyle=e.bodyFontColor,B.each(e.beforeBody,y),m=b&&"right"!==A?"center"===p?d/2+1:d+2:0,a=0,u=f.length;a<u;++a){for(l=f[a],r=e.labelColors[a],n.fillStyle=i=e.labelTextColors[a],B.each(l.before,y),s=0,c=(o=l.lines).length;s<c;++s){if(b){var v=_.x(g);n.fillStyle=e.legendColorBackground,n.fillRect(_.leftForLtr(v,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=r.borderColor,n.strokeRect(_.leftForLtr(v,d),t.y,d,d),n.fillStyle=r.backgroundColor,n.fillRect(_.leftForLtr(_.xPlus(v,1),d-2),t.y+1,d-2,d-2),n.fillStyle=i}y(o[s])}B.each(l.after,y)}m=0,B.each(e.afterBody,y),t.y-=h},drawFooter:function(t,e,n){var l,i,r=e.footer,o=r.length;if(o){var a=we(e.rtl,e.x,e.width);for(t.x=Me(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=a.textAlign(e._footerAlign),n.textBaseline="middle",l=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=B.fontString(l,e._footerFontStyle,e._footerFontFamily),i=0;i<o;++i)n.fillText(r[i],a.x(t.x),t.y+l/2),t.y+=l+e.footerSpacing}},drawBackground:function(t,e,n,l){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var i=e.xAlign,r=e.yAlign,o=t.x,a=t.y,s=l.width,u=l.height,c=e.cornerRadius;n.beginPath(),n.moveTo(o+c,a),"top"===r&&this.drawCaret(t,l),n.lineTo(o+s-c,a),n.quadraticCurveTo(o+s,a,o+s,a+c),"center"===r&&"right"===i&&this.drawCaret(t,l),n.lineTo(o+s,a+u-c),n.quadraticCurveTo(o+s,a+u,o+s-c,a+u),"bottom"===r&&this.drawCaret(t,l),n.lineTo(o+c,a+u),n.quadraticCurveTo(o,a+u,o,a+u-c),"center"===r&&"left"===i&&this.drawCaret(t,l),n.lineTo(o,a+c),n.quadraticCurveTo(o,a,o+c,a),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},l={x:e.x,y:e.y},i=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(t.save(),t.globalAlpha=i,this.drawBackground(l,e,t,n),l.y+=e.yPadding,B.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(l,e,t),this.drawBody(l,e,t),this.drawFooter(l,e,t),B.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,l=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,l.mode,l),l.reverse&&n._active.reverse()),(e=!B.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(l.enabled||l.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}});De.positioners=Pe;var Te=B.valueOrDefault;function Ee(){return B.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,l){if("xAxes"===t||"yAxes"===t){var i,r,o,a=n[t].length;for(e[t]||(e[t]=[]),i=0;i<a;++i)r=Te((o=n[t][i]).type,"xAxes"===t?"category":"linear"),i>=e[t].length&&e[t].push({}),B.merge(e[t][i],!e[t][i].type||o.type&&o.type!==e[t][i].type?[ve.getScaleDefaults(r),o]:o)}else B._merger(t,e,n,l)}})}function Ie(){return B.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,l){var i=e[t]||Object.create(null),r=n[t];"scales"===t?e[t]=Ee(i,r):"scale"===t?e[t]=B.merge(i,[ve.getScaleDefaults(r.type),r]):B._merger(t,e,n,l)}})}function Le(t){var e=t.options;B.each(t.scales,(function(e){se.removeBox(t,e)})),e=Ie(R.global,R[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function je(t,e,n){var l,i=function(t){return t.id===l};do{l=e+n++}while(B.findIndex(t,i)>=0);return l}function Re(t){return"top"===t||"bottom"===t}function Fe(t,e){return function(n,l){return n[t]===l[t]?n[e]-l[e]:n[t]-l[t]}}R._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Ne=function(t,e){return this.construct(t,e),this};B.extend(Ne.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ie(R.global,R[t.type],t.options||{}),t}(e);var l=ye.acquireContext(t,e),i=l&&l.canvas,r=i&&i.height,o=i&&i.width;n.id=B.uid(),n.ctx=l,n.canvas=i,n.config=e,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Ne.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),l&&i?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Ae.notify(t,"beforeInit"),B.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Ae.notify(t,"afterInit"),t},clear:function(){return B.canvas.clear(this),this},stop:function(){return X.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,l=e.canvas,i=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(B.getMaximumWidth(l))),o=Math.max(0,Math.floor(i?r/i:B.getMaximumHeight(l)));if((e.width!==r||e.height!==o)&&(l.width=e.width=r,l.height=e.height=o,l.style.width=r+"px",l.style.height=o+"px",B.retinaScale(e,n.devicePixelRatio),!t)){var a={width:r,height:o};Ae.notify(e,"resize",[a]),n.onResize&&n.onResize(e,a),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;B.each(e.xAxes,(function(t,n){t.id||(t.id=je(e.xAxes,"x-axis-",n))})),B.each(e.yAxes,(function(t,n){t.id||(t.id=je(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},l=[],i=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(l=l.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&l.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),B.each(l,(function(e){var l=e.options,r=l.id,o=Te(l.type,e.dtype);Re(l.position)!==Re(e.dposition)&&(l.position=e.dposition),i[r]=!0;var a=null;if(r in n&&n[r].type===o)(a=n[r]).options=l,a.ctx=t.ctx,a.chart=t;else{var s=ve.getScaleConstructor(o);if(!s)return;a=new s({id:r,type:o,options:l,ctx:t.ctx,chart:t}),n[a.id]=a}a.mergeTicksOptions(),e.isDefault&&(t.scale=a)})),B.each(i,(function(t,e){t||delete n[e]})),t.scales=n,ve.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,l=[],i=n.data.datasets;for(t=0,e=i.length;t<e;t++){var r=i[t],o=n.getDatasetMeta(t),a=r.type||n.config.type;if(o.type&&o.type!==a&&(n.destroyDatasetMeta(t),o=n.getDatasetMeta(t)),o.type=a,o.order=r.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var s=Vt[o.type];if(void 0===s)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new s(n,t),l.push(o.controller)}}return l},resetElements:function(){var t=this;B.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,l=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Le(l),Ae._invalidate(l),!1!==Ae.notify(l,"beforeUpdate")){l.tooltip._data=l.data;var i=l.buildOrUpdateControllers();for(e=0,n=l.data.datasets.length;e<n;e++)l.getDatasetMeta(e).controller.buildOrUpdateElements();l.updateLayout(),l.options.animation&&l.options.animation.duration&&B.each(i,(function(t){t.reset()})),l.updateDatasets(),l.tooltip.initialize(),l.lastActive=[],Ae.notify(l,"afterUpdate"),l._layers.sort(Fe("z","_idx")),l._bufferedRender?l._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:l.render(t)}},updateLayout:function(){var t=this;!1!==Ae.notify(t,"beforeLayout")&&(se.update(this,this.width,this.height),t._layers=[],B.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idx=e})),Ae.notify(t,"afterScaleUpdate"),Ae.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Ae.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Ae.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==Ae.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),Ae.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,l=Te(t.duration,n&&n.duration),i=t.lazy;if(!1!==Ae.notify(e,"beforeRender")){var r=function(t){Ae.notify(e,"afterRender"),B.callback(n&&n.onComplete,[t],e)};if(n&&l){var o=new $({numSteps:l/16.66,easing:t.easing||n.easing,render:function(t,e){var n=e.currentStep,l=n/e.numSteps;t.draw((0,B.easing.effects[e.easing])(l),l,n)},onAnimationProgress:n.onProgress,onAnimationComplete:r});X.addAnimation(e,o,l,i)}else e.draw(),r(new $({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,l=this;if(l.clear(),B.isNullOrUndef(t)&&(t=1),l.transition(t),!(l.width<=0||l.height<=0)&&!1!==Ae.notify(l,"beforeDraw",[t])){for(n=l._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(l.chartArea);for(l.drawDatasets(t);e<n.length;++e)n[e].draw(l.chartArea);l._drawTooltip(t),Ae.notify(l,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,l=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||l.push(this.getDatasetMeta(e));return l.sort(Fe("order","index")),l},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==Ae.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);Ae.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Ae.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Ae.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Ae.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Ae.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return Qt.modes.single(this,t)},getElementsAtEvent:function(t){return Qt.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Qt.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var l=Qt.modes[e];return"function"==typeof l?l(this,t,n):[]},getDatasetAtEvent:function(t){return Qt.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],l=n._meta&&n._meta[e];l&&(l.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,l=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);l&&(n.unbindEvents(),B.canvas.clear(n),ye.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Ae.notify(n,"destroy"),delete Ne.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new De({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};B.each(t.options.events,(function(l){ye.addEventListener(t,l,n),e[l]=n})),t.options.responsive&&(n=function(){t.resize()},ye.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,B.each(e,(function(e,n){ye.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var l,i,r,o=n?"set":"remove";for(i=0,r=t.length;i<r;++i)(l=t[i])&&this.getDatasetMeta(l._datasetIndex).controller[o+"HoverStyle"](l);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Ae.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var l=e.handleEvent(t);n&&(l=n._start?n.handleEvent(t):l|n.handleEvent(t)),Ae.notify(e,"afterEvent",[t]);var i=e._bufferedRequest;return i?e.render(i):l&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,l=n.options||{},i=l.hover;return n.lastActive=n.lastActive||[],n.active="mouseout"===t.type?[]:n.getElementsAtEventForMode(t,i.mode,i),B.callback(l.onHover||l.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||l.onClick&&l.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),e=!B.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),Ne.instances={};var Ye=Ne;function Ue(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Be(t){this.options=t||{}}Ne.Controller=Ne,Ne.types={},B.configMerge=Ie,B.scaleMerge=Ee,B.extend(Be.prototype,{formats:Ue,parse:Ue,format:Ue,add:Ue,diff:Ue,startOf:Ue,endOf:Ue,_create:function(t){return t}}),Be.override=function(t){B.extend(Be.prototype,t)};var ze={_date:Be},Ge={formatters:{values:function(t){return B.isArray(t)?t:""+t},linear:function(t,e,n){var l=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(l)>1&&t!==Math.floor(t)&&(l=t-Math.floor(t));var i=B.log10(Math.abs(l)),r="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=B.log10(Math.abs(t)),a=Math.floor(o)-Math.floor(i);a=Math.max(Math.min(a,20),0),r=t.toExponential(a)}else{var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),r=t.toFixed(s)}else r="0";return r},logarithmic:function(t,e,n){var l=t/Math.pow(10,Math.floor(B.log10(t)));return 0===t?"0":1===l||2===l||5===l||0===e||e===n.length-1?t.toExponential():""}}},He=B.isArray,Ve=B.isNullOrUndef,qe=B.valueOrDefault,We=B.valueAtIndexOrDefault;function $e(t,e,n){var l,i=t.getTicks().length,r=Math.min(e,i-1),o=t.getPixelForTick(r),a=t._startPixel,s=t._endPixel;if(!(n&&(l=1===i?Math.max(o-a,s-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+=r<e?l:-l)<a-1e-6||o>s+1e-6)))return o}function Xe(t){return t.drawTicks?t.tickMarkLength:0}function Ke(t){var e,n;return t.display?(e=B.options._parseFont(t),n=B.options.toPadding(t.padding),e.lineHeight+n.height):0}function Je(t,e){return B.extend(B.options._parseFont({fontFamily:qe(e.fontFamily,t.fontFamily),fontSize:qe(e.fontSize,t.fontSize),fontStyle:qe(e.fontStyle,t.fontStyle),lineHeight:qe(e.lineHeight,t.lineHeight)}),{color:B.options.resolve([e.fontColor,t.fontColor,R.global.defaultFontColor])})}function Qe(t){var e=Je(t,t.minor);return{minor:e,major:t.major.enabled?Je(t,t.major):e}}function Ze(t){var e,n,l,i=[];for(n=0,l=t.length;n<l;++n)void 0!==(e=t[n])._index&&i.push(e);return i}function tn(t,e,n,l){var i,r,o,a,s=qe(n,0),u=Math.min(qe(l,t.length),t.length),c=0;for(e=Math.ceil(e),l&&(e=(i=l-n)/Math.floor(i/e)),a=s;a<0;)c++,a=Math.round(s+c*e);for(r=Math.max(s,0);r<u;r++)o=t[r],r===a?(o._index=r,c++,a=Math.round(s+c*e)):delete o.label}R._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Ge.formatters.values,minor:{},major:{}}});var en=q.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var l,i,r,o,a,s=this,u=s.options.ticks,c=u.sampleSize;if(s.beforeUpdate(),s.maxWidth=t,s.maxHeight=e,s.margins=B.extend({left:0,right:0,top:0,bottom:0},n),s._ticks=null,s.ticks=null,s._labelSizes=null,s._maxLabelLines=0,s.longestLabelWidth=0,s.longestTextCache=s.longestTextCache||{},s._gridLineItems=null,s._labelItems=null,s.beforeSetDimensions(),s.setDimensions(),s.afterSetDimensions(),s.beforeDataLimits(),s.determineDataLimits(),s.afterDataLimits(),s.beforeBuildTicks(),o=s.buildTicks()||[],(!(o=s.afterBuildTicks(o)||o)||!o.length)&&s.ticks)for(o=[],l=0,i=s.ticks.length;l<i;++l)o.push({value:s.ticks[l],major:!1});return s._ticks=o,r=s._convertTicksToLabels((a=c<o.length)?function(t,e){for(var n=[],l=t.length/e,i=0,r=t.length;i<r;i+=l)n.push(t[Math.floor(i)]);return n}(o,c):o),s._configure(),s.beforeCalculateTickRotation(),s.calculateTickRotation(),s.afterCalculateTickRotation(),s.beforeFit(),s.fit(),s.afterFit(),s._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?s._autoSkip(o):o,a&&(r=s._convertTicksToLabels(s._ticksToDraw)),s.ticks=r,s.afterUpdate(),s.minSize},_configure:function(){var t,e,n=this,l=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,l=!l),n._startPixel=t,n._endPixel=e,n._reversePixels=l,n._length=e-t},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(t){var e=this;return He(t)&&t.length?B.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=B.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,l,i,r,o,a=this,s=a.options,u=s.ticks,c=a.getTicks().length,d=u.minRotation||0,h=u.maxRotation,p=d;!a._isVisible()||!u.display||d>=h||c<=1||!a.isHorizontal()?a.labelRotation=d:(e=(t=a._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,l=Math.min(a.maxWidth,a.chart.width-e),e+6>(i=s.offset?a.maxWidth/c:l/(c-1))&&(i=l/(c-(s.offset?.5:1)),r=a.maxHeight-Xe(s.gridLines)-u.padding-Ke(s.scaleLabel),o=Math.sqrt(e*e+n*n),p=B.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/i,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),p=Math.max(d,Math.min(h,p))),a.labelRotation=p)},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,l=t.options,i=l.ticks,r=l.scaleLabel,o=l.gridLines,a=t._isVisible(),s="bottom"===l.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:a&&(e.width=Xe(o)+Ke(r)),u?a&&(e.height=Xe(o)+Ke(r)):e.height=t.maxHeight,i.display&&a){var c=Qe(i),d=t._getLabelSizes(),h=d.first,p=d.last,f=d.widest,b=d.highest,m=.4*c.minor.lineHeight,g=i.padding;if(u){var _=0!==t.labelRotation,y=B.toRadians(t.labelRotation),A=Math.cos(y),v=Math.sin(y);e.height=Math.min(t.maxHeight,e.height+(v*f.width+A*(b.height-(_?b.offset:0))+(_?0:m))+g);var C,w,P=t.getPixelForTick(0)-t.left,x=t.right-t.getPixelForTick(t.getTicks().length-1);_?(C=s?A*h.width+v*h.offset:v*(h.height-h.offset),w=s?v*(p.height-p.offset):A*p.width+v*p.offset):(C=h.width/2,w=p.width/2),t.paddingLeft=Math.max((C-P)*t.width/(t.width-P),0)+3,t.paddingRight=Math.max((w-x)*t.width/(t.width-x),0)+3}else e.width=Math.min(t.maxWidth,e.width+(i.mirror?0:f.width+g+m)),t.paddingTop=h.height/2,t.paddingBottom=p.height/2}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(Ve(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,l,i=this;for(i.ticks=t.map((function(t){return t.value})),i.beforeTickToLabelConversion(),e=i.convertTicksToLabels(t)||i.ticks,i.afterTickToLabelConversion(),n=0,l=t.length;n<l;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m,g=n.length,_=[],y=[],A=[],v=0,C=0;for(i=0;i<g;++i){if(a=n[i].label,t.font=u=(s=n[i].major?e.major:e.minor).string,c=l[u]=l[u]||{data:{},gc:[]},d=s.lineHeight,h=p=0,Ve(a)||He(a)){if(He(a))for(r=0,o=a.length;r<o;++r)Ve(f=a[r])||He(f)||(h=B.measureText(t,c.data,c.gc,h,f),p+=d)}else h=B.measureText(t,c.data,c.gc,h,a),p=d;_.push(h),y.push(p),A.push(d/2),v=Math.max(h,v),C=Math.max(p,C)}function w(t){return{width:_[t]||0,height:y[t]||0,offset:A[t]||0}}return function(t,e){B.each(t,(function(t){var n,l=t.gc,i=l.length/2;if(i>e){for(n=0;n<i;++n)delete t.data[l[n]];l.splice(0,i)}}))}(l,g),b=_.indexOf(v),m=y.indexOf(C),{first:w(0),last:w(g-1),widest:w(b),highest:w(m)}}(t.ctx,Qe(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,l,i;return He(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),l=Math.min(e,n),i=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),l=t,i=t),{min:l,max:i,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,l=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*l+(e?l/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,l,i,r=this.options.ticks,o=r.maxTicksLimit||this._length/this._tickSize()+1,a=r.major.enabled?function(t){var e,n,l=[];for(e=0,n=t.length;e<n;e++)t[e].major&&l.push(e);return l}(t):[],s=a.length,u=a[0],c=a[s-1];if(s>o)return function(t,e,n){var l,i,r=0,o=e[0];for(n=Math.ceil(n),l=0;l<t.length;l++)i=t[l],l===o?(i._index=l,o=e[++r*n]):delete i.label}(t,a,s/o),Ze(t);if(l=function(t,e,n,l){var i,r,o,a,s=function(t){var e,n,l=t.length;if(l<2)return!1;for(n=t[0],e=1;e<l;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),u=(e.length-1)/l;if(!s)return Math.max(u,1);for(o=0,a=(i=B.math._factorize(s)).length-1;o<a;o++)if((r=i[o])>u)return r;return Math.max(u,1)}(a,t,0,o),s>0){for(e=0,n=s-1;e<n;e++)tn(t,l,a[e],a[e+1]);return tn(t,l,B.isNullOrUndef(i=s>1?(c-u)/(s-1):null)?0:u-i,u),tn(t,l,c,B.isNullOrUndef(i)?t.length:c+i),Ze(t)}return tn(t,l),Ze(t)},_tickSize:function(){var t=this.options.ticks,e=B.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),l=Math.abs(Math.sin(e)),i=this._getLabelSizes(),r=t.autoSkipPadding||0,o=i?i.widest.width+r:0,a=i?i.highest.height+r:0;return this.isHorizontal()?a*n>o*l?o/n:a/l:a*l<o*n?a/n:o/l},_isVisible:function(){var t,e,n,l=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(t=0,e=l.data.datasets.length;t<e;++t)if(l.isDatasetVisible(t)&&((n=l.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,l,i,r,o,a,s,u,c,d,h,p,f,b,m,g,_=this,y=_.chart,A=_.options,v=A.gridLines,C=A.position,w=v.offsetGridLines,P=_.isHorizontal(),x=_._ticksToDraw,S=x.length+(w?1:0),k=Xe(v),M=[],O=v.drawBorder?We(v.lineWidth,0,0):0,D=O/2,T=B._alignPixel,E=function(t){return T(y,t,O)};for("top"===C?(e=E(_.bottom),a=_.bottom-k,u=e-D,d=E(t.top)+D,p=t.bottom):"bottom"===C?(e=E(_.top),d=t.top,p=E(t.bottom)-D,a=e+D,u=_.top+k):"left"===C?(e=E(_.right),o=_.right-k,s=e-D,c=E(t.left)+D,h=t.right):(e=E(_.left),c=t.left,h=E(t.right)-D,o=e+D,s=_.left+k),n=0;n<S;++n)Ve((l=x[n]||{}).label)&&n<x.length||(n===_.zeroLineIndex&&A.offset===w?(f=v.zeroLineWidth,b=v.zeroLineColor,m=v.zeroLineBorderDash||[],g=v.zeroLineBorderDashOffset||0):(f=We(v.lineWidth,n,1),b=We(v.color,n,"rgba(0,0,0,0.1)"),m=v.borderDash||[],g=v.borderDashOffset||0),void 0!==(i=$e(_,l._index||n,w))&&(r=T(y,i,f),P?o=s=c=h=r:a=u=d=p=r,M.push({tx1:o,ty1:a,tx2:s,ty2:u,x1:c,y1:d,x2:h,y2:p,width:f,color:b,borderDash:m,borderDashOffset:g})));return M.ticksLength=S,M.borderValue=e,M},_computeLabelItems:function(){var t,e,n,l,i,r,o,a,s,u,c,d,h=this,p=h.options,f=p.ticks,b=p.position,m=f.mirror,g=h.isHorizontal(),_=h._ticksToDraw,y=Qe(f),A=f.padding,v=Xe(p.gridLines),C=-B.toRadians(h.labelRotation),w=[];for("top"===b?(r=h.bottom-v-A,o=C?"left":"center"):"bottom"===b?(r=h.top+v+A,o=C?"right":"center"):"left"===b?(i=h.right-(m?0:v)-A,o=m?"left":"right"):(i=h.left+(m?0:v)+A,o=m?"right":"left"),t=0,e=_.length;t<e;++t)Ve(l=(n=_[t]).label)||(a=h.getPixelForTick(n._index||t)+f.labelOffset,u=(s=n.major?y.major:y.minor).lineHeight,c=He(l)?l.length:1,g?(i=a,d="top"===b?((C?1:.5)-c)*u:(C?0:.5)*u):(r=a,d=(1-c)*u/2),w.push({x:i,y:r,rotation:C,label:l,font:s,textOffset:d,textAlign:o}));return w},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var l,i,r,o,a,s=e.ctx,u=e.chart,c=B._alignPixel,d=n.drawBorder?We(n.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(r=0,o=h.length;r<o;++r)i=(a=h[r]).color,(l=a.width)&&i&&(s.save(),s.lineWidth=l,s.strokeStyle=i,s.setLineDash&&(s.setLineDash(a.borderDash),s.lineDashOffset=a.borderDashOffset),s.beginPath(),n.drawTicks&&(s.moveTo(a.tx1,a.ty1),s.lineTo(a.tx2,a.ty2)),n.drawOnChartArea&&(s.moveTo(a.x1,a.y1),s.lineTo(a.x2,a.y2)),s.stroke(),s.restore());if(d){var p,f,b,m,g=d,_=We(n.lineWidth,h.ticksLength-1,1),y=h.borderValue;e.isHorizontal()?(p=c(u,e.left,g)-g/2,f=c(u,e.right,_)+_/2,b=m=y):(b=c(u,e.top,g)-g/2,m=c(u,e.bottom,_)+_/2,p=f=y),s.lineWidth=d,s.strokeStyle=We(n.color,0),s.beginPath(),s.moveTo(p,b),s.lineTo(f,m),s.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,l,i,r,o,a,s,u=t.ctx,c=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,l=c.length;e<l;++e){if(o=(r=c[e]).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=r.textAlign,s=r.textOffset,He(a=r.label))for(n=0,i=a.length;n<i;++n)u.fillText(""+a[n],0,s),s+=o.lineHeight;else u.fillText(a,0,s);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,l=n.scaleLabel;if(l.display){var i,r,o=qe(l.fontColor,R.global.defaultFontColor),a=B.options._parseFont(l),s=B.options.toPadding(l.padding),u=a.lineHeight/2,c=n.position,d=0;if(t.isHorizontal())i=t.left+t.width/2,r="bottom"===c?t.bottom-u-s.bottom:t.top+u+s.top;else{var h="left"===c;i=h?t.left+u+s.top:t.right-u-s.top,r=t.top+t.height/2,d=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(i,r),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=o,e.font=a.string,e.fillText(l.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,l=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==l&&t.draw===t._draw?[{z:l,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(l){return(!t||l.type===t)&&(n?l.xAxisID===e.id:l.yAxisID===e.id)}))}});en.prototype._draw=en.prototype.draw;var nn=en,ln=B.isNullOrUndef,rn=nn.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),l=e.options.ticks,i=l.min,r=l.max,o=0,a=n.length-1;void 0!==i&&(t=n.indexOf(i))>=0&&(o=t),void 0!==r&&(t=n.indexOf(r))>=0&&(a=t),e.minIndex=o,e.maxIndex=a,e.min=n[o],e.max=n[a]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;nn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var l,i,r,o=this;return ln(e)||ln(n)||(t=o.chart.data.datasets[n].data[e]),ln(t)||(l=o.isHorizontal()?t.x:t.y),(void 0!==l||void 0!==t&&isNaN(e))&&(i=o._getLabels(),t=B.valueOrDefault(l,t),e=-1!==(r=i.indexOf(t))?r:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});rn._defaults={position:"bottom"};var on=B.isNullOrUndef,an=nn.extend({getRightValue:function(t){return"string"==typeof t?+t:nn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=B.sign(t.min),l=B.sign(t.max);n<0&&l<0?t.max=0:n>0&&l>0&&(t.min=0)}var i=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),i!==r&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,l=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),l=l||11),l&&(t=Math.min(l,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:B.noop,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),l={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:B.valueOrDefault(e.fixedStepSize,e.stepSize)},i=t.ticks=function(t,e){var n,l,i,r,o=[],a=t.stepSize,s=a||1,u=t.maxTicks-1,c=t.min,d=t.max,h=t.precision,p=e.min,f=e.max,b=B.niceNum((f-p)/u/s)*s;if(b<1e-14&&on(c)&&on(d))return[p,f];(r=Math.ceil(f/b)-Math.floor(p/b))>u&&(b=B.niceNum(r*b/u/s)*s),a||on(h)?n=Math.pow(10,B._decimalPlaces(b)):(n=Math.pow(10,h),b=Math.ceil(b*n)/n),l=Math.floor(p/b)*b,i=Math.ceil(f/b)*b,a&&(!on(c)&&B.almostWhole(c/b,b/1e3)&&(l=c),!on(d)&&B.almostWhole(d/b,b/1e3)&&(i=d)),r=B.almostEquals(r=(i-l)/b,Math.round(r),b/1e3)?Math.round(r):Math.ceil(r),l=Math.round(l*n)/n,i=Math.round(i*n)/n,o.push(on(c)?l:c);for(var m=1;m<r;++m)o.push(Math.round((l+m*b)*n)/n);return o.push(on(d)?i:d),o}(l,t);t.handleDirectionalChanges(),t.max=B.max(i),t.min=B.min(i),e.reverse?(i.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),nn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),l=e.min,i=e.max;nn.prototype._configure.call(e),e.options.offset&&n.length&&(l-=t=(i-l)/Math.max(n.length-1,1)/2,i+=t),e._startValue=l,e._endValue=i,e._valueRange=i-l}}),sn={position:"left",ticks:{callback:Ge.formatters.linear}};function un(t,e,n,l){var i,r,o=t.options,a=function(t,e,n){var l=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[l]&&(t[l]={pos:[],neg:[]}),t[l]}(e,o.stacked,n),s=a.pos,u=a.neg,c=l.length;for(i=0;i<c;++i)r=t._parseValue(l[i]),isNaN(r.min)||isNaN(r.max)||n.data[i].hidden||(s[i]=s[i]||0,u[i]=u[i]||0,o.relativePoints?s[i]=100:r.min<0||r.max<0?u[i]+=r.min:s[i]+=r.max)}function cn(t,e,n){var l,i,r=n.length;for(l=0;l<r;++l)i=t._parseValue(n[l]),isNaN(i.min)||isNaN(i.max)||e.data[l].hidden||(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}var dn=an.extend({determineDataLimits:function(){var t,e,n,l,i=this,r=i.options,o=i.chart.data.datasets,a=i._getMatchingVisibleMetas(),s=r.stacked,u={},c=a.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===s)for(t=0;!s&&t<c;++t)s=void 0!==(e=a[t]).stack;for(t=0;t<c;++t)n=o[(e=a[t]).index].data,s?un(i,u,e,n):cn(i,e,n);B.each(u,(function(t){l=t.pos.concat(t.neg),i.min=Math.min(i.min,B.min(l)),i.max=Math.max(i.max,B.max(l))})),i.min=B.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=B.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=B.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}});dn._defaults=sn;var hn=B.valueOrDefault,pn=B.math.log10,fn={position:"left",ticks:{callback:Ge.formatters.logarithmic}};function bn(t,e){return B.isFinite(t)&&t>=0?t:e}var mn=nn.extend({determineDataLimits:function(){var t,e,n,l,i,r,o=this,a=o.options,s=o.chart,u=s.data.datasets,c=o.isHorizontal();function d(t){return c?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=a.stacked;if(void 0===h)for(t=0;t<u.length;t++)if(e=s.getDatasetMeta(t),s.isDatasetVisible(t)&&d(e)&&void 0!==e.stack){h=!0;break}if(a.stacked||h){var p={};for(t=0;t<u.length;t++){var f=[(e=s.getDatasetMeta(t)).type,void 0===a.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(s.isDatasetVisible(t)&&d(e))for(void 0===p[f]&&(p[f]=[]),i=0,r=(l=u[t].data).length;i<r;i++){var b=p[f];n=o._parseValue(l[i]),isNaN(n.min)||isNaN(n.max)||e.data[i].hidden||n.min<0||n.max<0||(b[i]=b[i]||0,b[i]+=n.max)}}B.each(p,(function(t){if(t.length>0){var e=B.min(t),n=B.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t<u.length;t++)if(e=s.getDatasetMeta(t),s.isDatasetVisible(t)&&d(e))for(i=0,r=(l=u[t].data).length;i<r;i++)n=o._parseValue(l[i]),isNaN(n.min)||isNaN(n.max)||e.data[i].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=B.isFinite(o.min)?o.min:null,o.max=B.isFinite(o.max)?o.max:null,o.minNotZero=B.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=bn(e.min,t.min),t.max=bn(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(pn(t.min))-1),t.max=Math.pow(10,Math.floor(pn(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(pn(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(pn(t.min))+1):10),null===t.minNotZero&&(t.minNotZero=t.min>0?t.min:t.max<1?Math.pow(10,Math.floor(pn(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),l={min:bn(e.min),max:bn(e.max)},i=t.ticks=function(t,e){var n,l,i=[],r=hn(t.min,Math.pow(10,Math.floor(pn(e.min)))),o=Math.floor(pn(e.max)),a=Math.ceil(e.max/Math.pow(10,o));0===r?(n=Math.floor(pn(e.minNotZero)),l=Math.floor(e.minNotZero/Math.pow(10,n)),i.push(r),r=l*Math.pow(10,n)):(n=Math.floor(pn(r)),l=Math.floor(r/Math.pow(10,n)));var s=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(r),10==++l&&(l=1,s=++n>=0?1:s),r=Math.round(l*Math.pow(10,n)*s)/s}while(n<o||n===o&&l<a);var u=hn(t.max,r);return i.push(u),i}(l,t);t.max=B.max(i),t.min=B.min(i),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),nn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(pn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;nn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=hn(t.options.ticks.fontSize,R.global.defaultFontSize)/t._length),t._startValue=pn(e),t._valueOffset=n,t._valueRange=(pn(t.max)-pn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(pn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}});mn._defaults=fn;var gn=B.valueOrDefault,_n=B.valueAtIndexOrDefault,yn=B.options.resolve,An={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Ge.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function vn(t){var e=t.ticks;return e.display&&t.display?gn(e.fontSize,R.global.defaultFontSize)+2*e.backdropPaddingY:0}function Cn(t,e,n,l,i){return t===l||t===i?{start:e-n/2,end:e+n/2}:t<l||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function wn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Pn(t,e,n,l){var i,r,o=n.y+l/2;if(B.isArray(e))for(i=0,r=e.length;i<r;++i)t.fillText(e[i],n.x,o),o+=l;else t.fillText(e,n.x,o)}function xn(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function Sn(t){return B.isNumber(t)?t:0}var kn=an.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=vn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;B.each(e.data.datasets,(function(i,r){if(e.isDatasetVisible(r)){var o=e.getDatasetMeta(r);B.each(i.data,(function(e,i){var r=+t.getRightValue(e);isNaN(r)||o.data[i].hidden||(n=Math.min(r,n),l=Math.max(r,l))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=l===Number.NEGATIVE_INFINITY?0:l,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/vn(this.options))},convertTicksToLabels:function(){var t=this;an.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=B.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,l,i=B.options._parseFont(t.options.pointLabels),r={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=i.string,t._pointLabelSizes=[];var a,s,u,c=t.chart.data.labels.length;for(e=0;e<c;e++){l=t.getPointPosition(e,t.drawingArea+5),a=t.ctx,s=i.lineHeight,n=B.isArray(u=t.pointLabels[e])?{w:B.longestText(a,a.font,u),h:u.length*s}:{w:a.measureText(u).width,h:s},t._pointLabelSizes[e]=n;var d=t.getIndexAngle(e),h=B.toDegrees(d)%360,p=Cn(h,l.x,n.w,0,180),f=Cn(h,l.y,n.h,90,270);p.start<r.l&&(r.l=p.start,o.l=d),p.end>r.r&&(r.r=p.end,o.r=d),f.start<r.t&&(r.t=f.start,o.t=d),f.end>r.b&&(r.b=f.end,o.b=d)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var l=this,i=e.l/Math.sin(n.l),r=Math.max(e.r-l.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),a=-Math.max(e.b-(l.height-l.paddingTop),0)/Math.cos(n.b);i=Sn(i),r=Sn(r),o=Sn(o),a=Sn(a),l.drawingArea=Math.min(Math.floor(t-(i+r)/2),Math.floor(t-(o+a)/2)),l.setCenterPoint(i,r,o,a)},setCenterPoint:function(t,e,n,l){var i=this,r=n+i.drawingArea,o=i.height-i.paddingTop-l-i.drawingArea;i.xCenter=Math.floor((t+i.drawingArea+(i.width-e-i.drawingArea))/2+i.left),i.yCenter=Math.floor((r+o)/2+i.top+i.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(B.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,l=this,i=l.ctx,r=l.options,o=r.gridLines,a=r.angleLines,s=gn(a.lineWidth,o.lineWidth),u=gn(a.color,o.color);if(r.pointLabels.display&&function(t){var e=t.ctx,n=t.options,l=n.pointLabels,i=vn(n),r=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=B.options._parseFont(l);e.save(),e.font=o.string,e.textBaseline="middle";for(var a=t.chart.data.labels.length-1;a>=0;a--){var s=t.getPointPosition(a,r+(0===a?i/2:0)+5),u=_n(l.fontColor,a,R.global.defaultFontColor);e.fillStyle=u;var c=t.getIndexAngle(a),d=B.toDegrees(c);e.textAlign=wn(d),xn(d,t._pointLabelSizes[a],s),Pn(e,t.pointLabels[a],s,o.lineHeight)}e.restore()}(l),o.display&&B.each(l.ticks,(function(t,n){0!==n&&(e=l.getDistanceFromCenterForValue(l.ticksAsNumbers[n]),function(t,e,n,l){var i,r=t.ctx,o=e.circular,a=t.chart.data.labels.length,s=_n(e.color,l-1),u=_n(e.lineWidth,l-1);if((o||a)&&s&&u){if(r.save(),r.strokeStyle=s,r.lineWidth=u,r.setLineDash&&(r.setLineDash(e.borderDash||[]),r.lineDashOffset=e.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{i=t.getPointPosition(0,n),r.moveTo(i.x,i.y);for(var c=1;c<a;c++)i=t.getPointPosition(c,n),r.lineTo(i.x,i.y)}r.closePath(),r.stroke(),r.restore()}}(l,o,e,n))})),a.display&&s&&u){for(i.save(),i.lineWidth=s,i.strokeStyle=u,i.setLineDash&&(i.setLineDash(yn([a.borderDash,o.borderDash,[]])),i.lineDashOffset=yn([a.borderDashOffset,o.borderDashOffset,0])),t=l.chart.data.labels.length-1;t>=0;t--)e=l.getDistanceFromCenterForValue(r.ticks.reverse?l.min:l.max),n=l.getPointPosition(t,e),i.beginPath(),i.moveTo(l.xCenter,l.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var l,i,r=t.getIndexAngle(0),o=B.options._parseFont(n),a=gn(n.fontColor,R.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",B.each(t.ticks,(function(r,s){(0!==s||n.reverse)&&(l=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]),n.showLabelBackdrop&&(i=e.measureText(r).width,e.fillStyle=n.backdropColor,e.fillRect(-i/2-n.backdropPaddingX,-l-o.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=a,e.fillText(r,0,-l))})),e.restore()}},_drawTitle:B.noop});kn._defaults=An;var Mn=B._deprecated,On=B.options.resolve,Dn=B.valueOrDefault,Tn=Number.MIN_SAFE_INTEGER||-9007199254740991,En=Number.MAX_SAFE_INTEGER||9007199254740991,In={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ln=Object.keys(In);function jn(t,e){return t-e}function Rn(t){return B.valueOrDefault(t.time.min,t.ticks.min)}function Fn(t){return B.valueOrDefault(t.time.max,t.ticks.max)}function Nn(t,e,n,l){var i=function(t,e,n){for(var l,i,r,o=0,a=t.length-1;o>=0&&o<=a;){if(r=t[l=o+a>>1],!(i=t[l-1]||null))return{lo:null,hi:r};if(r[e]<n)o=l+1;else{if(!(i[e]>n))return{lo:i,hi:r};a=l-1}}return{lo:r,hi:null}}(t,e,n),r=i.lo?i.hi?i.lo:t[t.length-2]:t[0],o=i.lo?i.hi?i.hi:t[t.length-1]:t[1],a=o[e]-r[e];return r[l]+(o[l]-r[l])*(a?(n-r[e])/a:0)}function Yn(t,e){var n=t._adapter,l=t.options.time,i=l.parser,r=i||l.format,o=e;return"function"==typeof i&&(o=i(o)),B.isFinite(o)||(o="string"==typeof r?n.parse(o,r):n.parse(o)),null!==o?+o:(i||"function"!=typeof r||(o=r(e),B.isFinite(o)||(o=n.parse(o))),o)}function Un(t,e){if(B.isNullOrUndef(e))return null;var n=t.options.time,l=Yn(t,t.getRightValue(e));return null===l||n.round&&(l=+t._adapter.startOf(l,n.round)),l}function Bn(t,e,n,l){var i,r,o=Ln.length;for(i=Ln.indexOf(t);i<o-1;++i)if((r=In[Ln[i]]).common&&Math.ceil((n-e)/((r.steps?r.steps:En)*r.size))<=l)return Ln[i];return Ln[o-1]}function zn(t,e,n){var l,i,r=[],o={},a=e.length;for(l=0;l<a;++l)o[i=e[l]]=l,r.push({value:i,major:!1});return 0!==a&&n?function(t,e,n,l){var i,r,o=t._adapter,a=+o.startOf(e[0].value,l),s=e[e.length-1].value;for(i=a;i<=s;i=+o.add(i,1,l))(r=n[i])>=0&&(e[r].major=!0);return e}(t,r,o,n):r}var Gn=nn.extend({initialize:function(){this.mergeTicksOptions(),nn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),l=t._adapter=new ze._date(e.adapters.date);return Mn("time scale",n.format,"time.format","time.parser"),Mn("time scale",n.min,"time.min","ticks.min"),Mn("time scale",n.max,"time.max","ticks.max"),B.mergeIf(n.displayFormats,l.formats()),nn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),nn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,l,i,r,o,a=this,s=a.chart,u=a._adapter,c=a.options,d=c.time.unit||"day",h=En,p=Tn,f=[],b=[],m=[],g=a._getLabels();for(t=0,n=g.length;t<n;++t)m.push(Un(a,g[t]));for(t=0,n=(s.data.datasets||[]).length;t<n;++t)if(s.isDatasetVisible(t))if(B.isObject((i=s.data.datasets[t].data)[0]))for(b[t]=[],e=0,l=i.length;e<l;++e)r=Un(a,i[e]),f.push(r),b[t][e]=r;else b[t]=m.slice(0),o||(f=f.concat(m),o=!0);else b[t]=[];m.length&&(h=Math.min(h,m[0]),p=Math.max(p,m[m.length-1])),f.length&&(f=n>1?function(t){var e,n,l,i={},r=[];for(e=0,n=t.length;e<n;++e)i[l=t[e]]||(i[l]=!0,r.push(l));return r}(f).sort(jn):f.sort(jn),h=Math.min(h,f[0]),p=Math.max(p,f[f.length-1])),h=Un(a,Rn(c))||h,p=Un(a,Fn(c))||p,h=h===En?+u.startOf(Date.now(),d):h,p=p===Tn?+u.endOf(Date.now(),d)+1:p,a.min=Math.min(h,p),a.max=Math.max(h+1,p),a._table=[],a._timestamps={data:f,datasets:b,labels:m}},buildTicks:function(){var t,e,n,l=this,i=l.min,r=l.max,o=l.options,a=o.ticks,s=o.time,u=l._timestamps,c=[],d=l.getLabelCapacity(i),h=a.source,p=o.distribution;for(u="data"===h||"auto"===h&&"series"===p?u.data:"labels"===h?u.labels:function(t,e,n,l){var i,r=t._adapter,o=t.options,a=o.time,s=a.unit||Bn(a.minUnit,e,n,l),u=On([a.stepSize,a.unitStepSize,1]),c="week"===s&&a.isoWeekday,d=e,h=[];if(c&&(d=+r.startOf(d,"isoWeek",c)),d=+r.startOf(d,c?"day":s),r.diff(n,e,s)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+s;for(i=d;i<n;i=+r.add(i,u,s))h.push(i);return i!==n&&"ticks"!==o.bounds||h.push(i),h}(l,i,r,d),"ticks"===o.bounds&&u.length&&(i=u[0],r=u[u.length-1]),i=Un(l,Rn(o))||i,r=Un(l,Fn(o))||r,t=0,e=u.length;t<e;++t)(n=u[t])>=i&&n<=r&&c.push(n);return l.min=i,l.max=r,l._unit=s.unit||(a.autoSkip?Bn(s.minUnit,l.min,l.max,d):function(t,e,n,l,i){var r,o;for(r=Ln.length-1;r>=Ln.indexOf(n);r--)if(In[o=Ln[r]].common&&t._adapter.diff(i,l,o)>=e-1)return o;return Ln[n?Ln.indexOf(n):0]}(l,c.length,s.minUnit,l.min,l.max)),l._majorUnit=a.major.enabled&&"year"!==l._unit?function(t){for(var e=Ln.indexOf(t)+1,n=Ln.length;e<n;++e)if(In[Ln[e]].common)return Ln[e]}(l._unit):void 0,l._table=function(t,e,n,l){if("linear"===l||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var i,r,o,a,s,u=[],c=[e];for(i=0,r=t.length;i<r;++i)(a=t[i])>e&&a<n&&c.push(a);for(c.push(n),i=0,r=c.length;i<r;++i)s=c[i+1],a=c[i],void 0!==(o=c[i-1])&&void 0!==s&&Math.round((s+o)/2)===a||u.push({time:a,pos:i/(r-1)});return u}(l._timestamps.data,i,r,p),l._offsets=function(t,e,n,l,i){var r,o,a=0,s=0;return i.offset&&e.length&&(r=Nn(t,"time",e[0],"pos"),a=1===e.length?1-r:(Nn(t,"time",e[1],"pos")-r)/2,o=Nn(t,"time",e[e.length-1],"pos"),s=1===e.length?o:(o-Nn(t,"time",e[e.length-2],"pos"))/2),{start:a,end:s,factor:1/(a+1+s)}}(l._table,c,0,0,o),a.reverse&&c.reverse(),zn(l,c,l._majorUnit)},getLabelForIndex:function(t,e){var n=this,l=n._adapter,i=n.chart.data,r=n.options.time,o=i.labels&&t<i.labels.length?i.labels[t]:"",a=i.datasets[e].data[t];return B.isObject(a)&&(o=n.getRightValue(a)),r.tooltipFormat?l.format(Yn(n,o),r.tooltipFormat):"string"==typeof o?o:l.format(Yn(n,o),r.displayFormats.datetime)},tickFormatFunction:function(t,e,n,l){var i=this.options,r=i.time.displayFormats,o=this._majorUnit,a=r[o],s=n[e],u=i.ticks,c=o&&a&&s&&s.major,d=this._adapter.format(t,l||(c?a:r[this._unit])),h=c?u.major:u.minor,p=On([h.callback,h.userCallback,u.callback,u.userCallback]);return p?p(d,e,n):d},convertTicksToLabels:function(t){var e,n,l=[];for(e=0,n=t.length;e<n;++e)l.push(this.tickFormatFunction(t[e].value,e,t));return l},getPixelForOffset:function(t){var e=this._offsets,n=Nn(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var l=null;if(void 0!==e&&void 0!==n&&(l=this._timestamps.datasets[n][e]),null===l&&(l=Un(this,t)),null!==l)return this.getPixelForOffset(l)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,l=Nn(this._table,"pos",n,"time");return this._adapter._create(l)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,l=B.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),i=Math.cos(l),r=Math.sin(l),o=Dn(e.fontSize,R.global.defaultFontSize);return{w:n*i+o*r,h:n*r+o*i}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,l=n.displayFormats,i=l[n.unit]||l.millisecond,r=e.tickFormatFunction(t,0,zn(e,[t],e._majorUnit),i),o=e._getLabelSize(r),a=Math.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&a--,a>0?a:1}});Gn._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Hn={category:rn,linear:dn,logarithmic:mn,radialLinear:kn,time:Gn},Vn={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ze._date.override("function"==typeof t?{_id:"moment",formats:function(){return Vn},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,l){return t(e).add(n,l).valueOf()},diff:function(e,n,l){return t(e).diff(t(n),l)},startOf:function(e,n,l){return e=t(e),"isoWeek"===n?e.isoWeekday(l).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),R._set("global",{plugins:{filler:{propagate:!0}}});var qn={dataset:function(t){var e=t.fill,n=t.chart,l=n.getDatasetMeta(e),i=l&&n.isDatasetVisible(e)&&l.dataset._children||[],r=i.length||0;return r?function(t,e){return e<r&&i[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,l=e?e.y:null;return B.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===l?t.y:l}}}};function Wn(t,e,n){var l,i=t._model||{},r=i.fill;if(void 0===r&&(r=!!i.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(l=parseFloat(r,10),isFinite(l)&&Math.floor(l)===l)return"-"!==r[0]&&"+"!==r[0]||(l=e+l),!(l===e||l<0||l>=n)&&l;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function $n(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,l,i,r,o=t.el._scale,a=o.options,s=o.chart.data.labels.length,u=t.fill,c=[];if(!s)return null;for(n=a.ticks.reverse?o.min:o.max,l=o.getPointPositionForValue(0,e=a.ticks.reverse?o.max:o.min),i=0;i<s;++i)r="start"===u||"end"===u?o.getPointPositionForValue(i,"start"===u?e:n):o.getBasePosition(i),a.gridLines.circular&&(r.cx=l.x,r.cy=l.y,r.angle=o.getIndexAngle(i)-Math.PI/2),c.push(r);return c}(t):function(t){var e,n=t.el._model||{},l=t.el._scale||{},i=t.fill,r=null;if(isFinite(i))return null;if("start"===i?r=void 0===n.scaleBottom?l.bottom:n.scaleBottom:"end"===i?r=void 0===n.scaleTop?l.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:l.getBasePixel&&(r=l.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if(B.isFinite(r))return{x:(e=l.isHorizontal())?r:null,y:e?null:r}}return null}(t)}function Xn(t,e,n){var l,i=t[e].fill,r=[e];if(!n)return i;for(;!1!==i&&-1===r.indexOf(i);){if(!isFinite(i))return i;if(!(l=t[i]))return!1;if(l.visible)return i;r.push(i),i=l.fill}return!1}function Kn(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),qn[n](t))}function Jn(t){return t&&!t.skip}function Qn(t,e,n,l,i){var r,o,a,s;if(l&&i){for(t.moveTo(e[0].x,e[0].y),r=1;r<l;++r)B.canvas.lineTo(t,e[r-1],e[r]);if(void 0===n[0].angle)for(t.lineTo(n[i-1].x,n[i-1].y),r=i-1;r>0;--r)B.canvas.lineTo(t,n[r],n[r-1],!0);else for(o=n[0].cx,a=n[0].cy,s=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-a,2)),r=i-1;r>0;--r)t.arc(o,a,s,n[r].angle,n[r-1].angle,!0)}}function Zn(t,e,n,l,i,r){var o,a,s,u,c,d,h,p,f=e.length,b=l.spanGaps,m=[],g=[],_=0,y=0;for(t.beginPath(),o=0,a=f;o<a;++o)c=n(u=e[s=o%f]._view,s,l),d=Jn(u),h=Jn(c),r&&void 0===p&&d&&(a=f+(p=o+1)),d&&h?(_=m.push(u),y=g.push(c)):_&&y&&(b?(d&&m.push(u),h&&g.push(c)):(Qn(t,m,g,_,y),_=y=0,m=[],g=[]));Qn(t,m,g,_,y),t.closePath(),t.fillStyle=i,t.fill()}var tl={id:"filler",afterDatasetsUpdate:function(t,e){var n,l,i,r,o=(t.data.datasets||[]).length,a=e.propagate,s=[];for(l=0;l<o;++l)r=null,(i=(n=t.getDatasetMeta(l)).dataset)&&i._model&&i instanceof gt.Line&&(r={visible:t.isDatasetVisible(l),fill:Wn(i,l,o),chart:t,el:i}),n.$filler=r,s.push(r);for(l=0;l<o;++l)(r=s[l])&&(r.fill=Xn(s,l,a),r.boundary=$n(r),r.mapper=Kn(r))},beforeDatasetsDraw:function(t){var e,n,l,i,r,o,a,s=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=s.length-1;n>=0;--n)(e=s[n].$filler)&&e.visible&&(r=(l=e.el)._children||[],a=(i=l._view).backgroundColor||R.global.defaultColor,(o=e.mapper)&&a&&r.length&&(B.canvas.clipArea(u,t.chartArea),Zn(u,r,o,i,a,l._loop),B.canvas.unclipArea(u)))}},el=B.rtl.getRtlAdapter,nl=B.noop,ll=B.valueOrDefault;function il(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}R._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,l=this.chart,i=l.getDatasetMeta(n);i.hidden=null===i.hidden?!l.data.datasets[n].hidden:null,l.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},l=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var i=n.controller.getStyle(l?0:void 0);return{text:e[n.index].label,fillStyle:i.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,l,i=document.createElement("ul"),r=t.data.datasets;for(i.setAttribute("class",t.id+"-legend"),e=0,n=r.length;e<n;e++)(l=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[e].backgroundColor,r[e].label&&l.appendChild(document.createTextNode(r[e].label));return i.outerHTML}});var rl=q.extend({initialize:function(t){B.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:nl,update:function(t,e,n){var l=this;return l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=n,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeBuildLabels(),l.buildLabels(),l.afterBuildLabels(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.minSize},afterUpdate:nl,beforeSetDimensions:nl,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:nl,beforeBuildLabels:nl,buildLabels:function(){var t=this,e=t.options.labels||{},n=B.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:nl,beforeFit:nl,fit:function(){var t=this,e=t.options,n=e.labels,l=e.display,i=t.ctx,r=B.options._parseFont(n),o=r.size,a=t.legendHitBoxes=[],s=t.minSize,u=t.isHorizontal();if(u?(s.width=t.maxWidth,s.height=l?10:0):(s.width=l?10:0,s.height=t.maxHeight),l){if(i.font=r.string,u){var c=t.lineWidths=[0],d=0;i.textAlign="left",i.textBaseline="middle",B.each(t.legendItems,(function(t,e){var l=il(n,o)+o/2+i.measureText(t.text).width;(0===e||c[c.length-1]+l+2*n.padding>s.width)&&(d+=o+n.padding,c[c.length-(e>0?0:1)]=0),a[e]={left:0,top:0,width:l,height:o},c[c.length-1]+=l+n.padding})),s.height+=d}else{var h=n.padding,p=t.columnWidths=[],f=t.columnHeights=[],b=n.padding,m=0,g=0;B.each(t.legendItems,(function(t,e){var l=il(n,o)+o/2+i.measureText(t.text).width;e>0&&g+o+2*h>s.height&&(b+=m+n.padding,p.push(m),f.push(g),m=0,g=0),m=Math.max(m,l),g+=o+h,a[e]={left:0,top:0,width:l,height:o}})),b+=m,p.push(m),f.push(g),s.width+=b}t.width=s.width,t.height=s.height}else t.width=s.width=t.height=s.height=0},afterFit:nl,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,l=R.global,i=l.defaultColor,r=l.elements.line,o=t.height,a=t.columnHeights,s=t.width,u=t.lineWidths;if(e.display){var c,d=el(e.rtl,t.left,t.minSize.width),h=t.ctx,p=ll(n.fontColor,l.defaultFontColor),f=B.options._parseFont(n),b=f.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=p,h.fillStyle=p,h.font=f.string;var m=il(n,b),g=t.legendHitBoxes,_=function(t,l){switch(e.align){case"start":return n.padding;case"end":return t-l;default:return(t-l+n.padding)/2}},y=t.isHorizontal();c=y?{x:t.left+_(s,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+_(o,a[0]),line:0},B.rtl.overrideTextDirection(t.ctx,e.textDirection);var A=b+n.padding;B.each(t.legendItems,(function(e,l){var p=h.measureText(e.text).width,f=m+b/2+p,v=c.x,C=c.y;d.setWidth(t.minSize.width),y?l>0&&v+f+n.padding>t.left+t.minSize.width&&(C=c.y+=A,c.line++,v=c.x=t.left+_(s,u[c.line])):l>0&&C+A>t.top+t.minSize.height&&(v=c.x=v+t.columnWidths[c.line]+n.padding,c.line++,C=c.y=t.top+_(o,a[c.line]));var w=d.x(v);!function(t,e,l){if(!(isNaN(m)||m<=0)){h.save();var o=ll(l.lineWidth,r.borderWidth);if(h.fillStyle=ll(l.fillStyle,i),h.lineCap=ll(l.lineCap,r.borderCapStyle),h.lineDashOffset=ll(l.lineDashOffset,r.borderDashOffset),h.lineJoin=ll(l.lineJoin,r.borderJoinStyle),h.lineWidth=o,h.strokeStyle=ll(l.strokeStyle,i),h.setLineDash&&h.setLineDash(ll(l.lineDash,r.borderDash)),n&&n.usePointStyle){var a=m*Math.SQRT2/2,s=d.xPlus(t,m/2);B.canvas.drawPoint(h,l.pointStyle,a,s,e+b/2,l.rotation)}else h.fillRect(d.leftForLtr(t,m),e,m,b),0!==o&&h.strokeRect(d.leftForLtr(t,m),e,m,b);h.restore()}}(w,C,e),g[l].left=d.leftForLtr(w,g[l].width),g[l].top=C,function(t,e,n,l){var i=b/2,r=d.xPlus(t,m+i),o=e+i;h.fillText(n.text,r,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(r,o),h.lineTo(d.xPlus(r,l),o),h.stroke())}(w,C,e,p),y?c.x+=f+n.padding:c.y+=A})),B.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,l,i,r=this;if(t>=r.left&&t<=r.right&&e>=r.top&&e<=r.bottom)for(i=r.legendHitBoxes,n=0;n<i.length;++n)if(t>=(l=i[n]).left&&t<=l.left+l.width&&e>=l.top&&e<=l.top+l.height)return r.legendItems[n];return null},handleEvent:function(t){var e,n=this,l=n.options,i="mouseup"===t.type?"click":t.type;if("mousemove"===i){if(!l.onHover&&!l.onLeave)return}else{if("click"!==i)return;if(!l.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===i?e&&l.onClick&&l.onClick.call(n,t.native,e):(l.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&l.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),l.onHover&&e&&l.onHover.call(n,t.native,e))}});function ol(t,e){var n=new rl({ctx:t.ctx,options:e,chart:t});se.configure(t,n,e),se.addBox(t,n),t.legend=n}var al={id:"legend",_element:rl,beforeInit:function(t){var e=t.options.legend;e&&ol(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(B.mergeIf(e,R.global.legend),n?(se.configure(t,n,e),n.options=e):ol(t,e)):n&&(se.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},sl=B.noop;R._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ul=q.extend({initialize:function(t){B.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:sl,update:function(t,e,n){var l=this;return l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=n,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeBuildLabels(),l.buildLabels(),l.afterBuildLabels(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.minSize},afterUpdate:sl,beforeSetDimensions:sl,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:sl,beforeBuildLabels:sl,buildLabels:sl,afterBuildLabels:sl,beforeFit:sl,fit:function(){var t,e=this,n=e.options,l=e.minSize={},i=e.isHorizontal();n.display?(t=(B.isArray(n.text)?n.text.length:1)*B.options._parseFont(n).lineHeight+2*n.padding,e.width=l.width=i?e.maxWidth:t,e.height=l.height=i?t:e.maxHeight):e.width=l.width=e.height=l.height=0},afterFit:sl,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var l,i,r,o=B.options._parseFont(n),a=o.lineHeight,s=a/2+n.padding,u=0,c=t.top,d=t.left,h=t.bottom,p=t.right;e.fillStyle=B.valueOrDefault(n.fontColor,R.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(i=d+(p-d)/2,r=c+s,l=p-d):(i="left"===n.position?d+s:p-s,r=c+(h-c)/2,l=h-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(i,r),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var f=n.text;if(B.isArray(f))for(var b=0,m=0;m<f.length;++m)e.fillText(f[m],0,b,l),b+=a;else e.fillText(f,0,0,l);e.restore()}}});function cl(t,e){var n=new ul({ctx:t.ctx,options:e,chart:t});se.configure(t,n,e),se.addBox(t,n),t.titleBlock=n}var dl={},hl=tl,pl=al,fl={id:"title",_element:ul,beforeInit:function(t){var e=t.options.title;e&&cl(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(B.mergeIf(e,R.global.title),n?(se.configure(t,n,e),n.options=e):cl(t,e)):n&&(se.removeBox(t,n),delete t.titleBlock)}};for(var bl in dl.filler=hl,dl.legend=pl,dl.title=fl,Ye.helpers=B,function(){function t(t,e,n){var l;return"string"==typeof t?(l=parseInt(t,10),-1!==t.indexOf("%")&&(l=l/100*e.parentNode[n])):l=t,l}function e(t){return null!=t&&"none"!==t}function n(n,l,i){var r=document.defaultView,o=B._getParentNode(n),a=r.getComputedStyle(n)[l],s=r.getComputedStyle(o)[l],u=e(a),c=e(s),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?t(a,n,i):d,c?t(s,o,i):d):"none"}B.where=function(t,e){if(B.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return B.each(t,(function(t){e(t)&&n.push(t)})),n},B.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var l=0,i=t.length;l<i;++l)if(e.call(n,t[l],l,t))return l;return-1},B.findNextWhere=function(t,e,n){B.isNullOrUndef(n)&&(n=-1);for(var l=n+1;l<t.length;l++){var i=t[l];if(e(i))return i}},B.findPreviousWhere=function(t,e,n){B.isNullOrUndef(n)&&(n=t.length);for(var l=n-1;l>=0;l--){var i=t[l];if(e(i))return i}},B.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},B.almostEquals=function(t,e,n){return Math.abs(t-e)<n},B.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},B.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},B.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},B.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},B.toRadians=function(t){return t*(Math.PI/180)},B.toDegrees=function(t){return t*(180/Math.PI)},B._decimalPlaces=function(t){if(B.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},B.getAngleFromPoint=function(t,e){var n=e.x-t.x,l=e.y-t.y,i=Math.sqrt(n*n+l*l),r=Math.atan2(l,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:i}},B.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},B.aliasPixel=function(t){return t%2==0?0:.5},B._alignPixel=function(t,e,n){var l=t.currentDevicePixelRatio,i=n/2;return Math.round((e-i)*l)/l+i},B.splineCurve=function(t,e,n,l){var i=t.skip?e:t,r=e,o=n.skip?e:n,a=Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2)),s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=a/(a+s),c=s/(a+s),d=l*(u=isNaN(u)?0:u),h=l*(c=isNaN(c)?0:c);return{previous:{x:r.x-d*(o.x-i.x),y:r.y-d*(o.y-i.y)},next:{x:r.x+h*(o.x-i.x),y:r.y+h*(o.y-i.y)}}},B.EPSILON=Number.EPSILON||1e-14,B.splineCurveMonotone=function(t){var e,n,l,i,r,o,a,s,u,c=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),d=c.length;for(e=0;e<d;++e)if(!(l=c[e]).model.skip){if(n=e>0?c[e-1]:null,(i=e<d-1?c[e+1]:null)&&!i.model.skip){var h=i.model.x-l.model.x;l.deltaK=0!==h?(i.model.y-l.model.y)/h:0}l.mK=!n||n.model.skip?l.deltaK:!i||i.model.skip?n.deltaK:this.sign(n.deltaK)!==this.sign(l.deltaK)?0:(n.deltaK+l.deltaK)/2}for(e=0;e<d-1;++e)i=c[e+1],(l=c[e]).model.skip||i.model.skip||(B.almostEquals(l.deltaK,0,this.EPSILON)?l.mK=i.mK=0:(r=l.mK/l.deltaK,o=i.mK/l.deltaK,(s=Math.pow(r,2)+Math.pow(o,2))<=9||(a=3/Math.sqrt(s),l.mK=r*a*l.deltaK,i.mK=o*a*l.deltaK)));for(e=0;e<d;++e)(l=c[e]).model.skip||(i=e<d-1?c[e+1]:null,(n=e>0?c[e-1]:null)&&!n.model.skip&&(l.model.controlPointPreviousX=l.model.x-(u=(l.model.x-n.model.x)/3),l.model.controlPointPreviousY=l.model.y-u*l.mK),i&&!i.model.skip&&(l.model.controlPointNextX=l.model.x+(u=(i.model.x-l.model.x)/3),l.model.controlPointNextY=l.model.y+u*l.mK))},B.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},B.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},B.niceNum=function(t,e){var n=Math.floor(B.log10(t)),l=t/Math.pow(10,n);return(e?l<1.5?1:l<3?2:l<7?5:10:l<=1?1:l<=2?2:l<=5?5:10)*Math.pow(10,n)},B.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},B.getRelativePosition=function(t,e){var n,l,i=t.originalEvent||t,r=t.target||t.srcElement,o=r.getBoundingClientRect(),a=i.touches;a&&a.length>0?(n=a[0].clientX,l=a[0].clientY):(n=i.clientX,l=i.clientY);var s=parseFloat(B.getStyle(r,"padding-left")),u=parseFloat(B.getStyle(r,"padding-top")),c=parseFloat(B.getStyle(r,"padding-right")),d=parseFloat(B.getStyle(r,"padding-bottom")),h=o.bottom-o.top-u-d;return{x:n=Math.round((n-o.left-s)/(o.right-o.left-s-c)*r.width/e.currentDevicePixelRatio),y:l=Math.round((l-o.top-u)/h*r.height/e.currentDevicePixelRatio)}},B.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},B.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},B._calculatePadding=function(t,e,n){return(e=B.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},B._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},B.getMaximumWidth=function(t){var e=B._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,l=n-B._calculatePadding(e,"padding-left",n)-B._calculatePadding(e,"padding-right",n),i=B.getConstraintWidth(t);return isNaN(i)?l:Math.min(l,i)},B.getMaximumHeight=function(t){var e=B._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,l=n-B._calculatePadding(e,"padding-top",n)-B._calculatePadding(e,"padding-bottom",n),i=B.getConstraintHeight(t);return isNaN(i)?l:Math.min(l,i)},B.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},B.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var l=t.canvas,i=t.height,r=t.width;l.height=i*n,l.width=r*n,t.ctx.scale(n,n),l.style.height||l.style.width||(l.style.height=i+"px",l.style.width=r+"px")}},B.fontString=function(t,e,n){return e+" "+t+"px "+n},B.longestText=function(t,e,n,l){var i=(l=l||{}).data=l.data||{},r=l.garbageCollect=l.garbageCollect||[];l.font!==e&&(i=l.data={},r=l.garbageCollect=[],l.font=e),t.font=e;var o,a,s,u,c,d=0,h=n.length;for(o=0;o<h;o++)if(null!=(u=n[o])&&!0!==B.isArray(u))d=B.measureText(t,i,r,d,u);else if(B.isArray(u))for(a=0,s=u.length;a<s;a++)null==(c=u[a])||B.isArray(c)||(d=B.measureText(t,i,r,d,c));var p=r.length/2;if(p>n.length){for(o=0;o<p;o++)delete i[r[o]];r.splice(0,p)}return d},B.measureText=function(t,e,n,l,i){var r=e[i];return r||(r=e[i]=t.measureText(i).width,n.push(i)),r>l&&(l=r),l},B.numberOfLabelLines=function(t){var e=1;return B.each(t,(function(t){B.isArray(t)&&t.length>e&&(e=t.length)})),e},B.color=A?function(t){return t instanceof CanvasGradient&&(t=R.global.defaultColor),A(t)}:function(t){return console.error("Color.js not found!"),t},B.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:B.color(t).saturate(.5).darken(.1).rgbString()}}(),Ye._adapters=ze,Ye.Animation=$,Ye.animationService=X,Ye.controllers=Vt,Ye.DatasetController=tt,Ye.defaults=R,Ye.Element=q,Ye.elements=gt,Ye.Interaction=Qt,Ye.layouts=se,Ye.platform=ye,Ye.plugins=Ae,Ye.Scale=nn,Ye.scaleService=ve,Ye.Ticks=Ge,Ye.Tooltip=De,Ye.helpers.each(Hn,(function(t,e){Ye.scaleService.registerScaleType(e,t,t._defaults)})),dl)dl.hasOwnProperty(bl)&&Ye.plugins.register(dl[bl]);Ye.platform.initialize();var ml=Ye;return"undefined"!=typeof window&&(window.Chart=Ye),Ye.Chart=Ye,Ye.Legend=dl.legend._element,Ye.Title=dl.title._element,Ye.pluginService=Ye.plugins,Ye.PluginBase=Ye.Element.extend({}),Ye.canvasHelpers=Ye.helpers.canvas,Ye.layoutService=Ye.layouts,Ye.LinearScaleBase=an,Ye.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Ye[t]=function(e,n){return new Ye(e,Ye.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),ml}(function(){try{return n("wd/R")}catch(t){}}())},Mc5n:function(t,e,n){"use strict";n.d(e,"g",(function(){return X})),n.d(e,"e",(function(){return it})),n.d(e,"b",(function(){return K})),n.d(e,"j",(function(){return I})),n.d(e,"k",(function(){return L})),n.d(e,"h",(function(){return rt})),n.d(e,"i",(function(){return W})),n.d(e,"f",(function(){return nt})),n.d(e,"a",(function(){return Z})),n.d(e,"c",(function(){return tt})),n.d(e,"d",(function(){return Q})),n.d(e,"l",(function(){return J}));var l=n("/HVE"),i=n("KCVW"),r=n("XNiG"),o=n("quSY"),a=n("l5mm"),s=n("eNwd"),u=n("HDdC"),c=n("VRyK"),d=n("JX91"),h=n("1G5W"),p=n("lJxs"),f=n("IzEk"),b=n("vkgz"),m=n("eIep"),g=n("8Y7J"),_=n("SVse"),y=n("hOhj");function A(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function v(t,e){const n=e?"":"none";A(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function C(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function w(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}const P=Object(l.g)({passive:!0}),x=Object(l.g)({passive:!1});class S{constructor(t,e,n,l,i,a){this._config=e,this._document=n,this._ngZone=l,this._viewportRuler=i,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new r.a,this._pointerMoveSubscription=o.a.EMPTY,this._pointerUpSubscription=o.a.EMPTY,this._scrollSubscription=o.a.EMPTY,this._resizeSubscription=o.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new r.a,this.started=new r.a,this.released=new r.a,this.ended=new r.a,this.entered=new r.a,this.exited=new r.a,this.dropped=new r.a,this.moved=this._moveEvents.asObservable(),this._pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const n=t.target;return!!n&&(n===e||e.contains(n))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{if(!this._hasStartedDragging){const e=this._getPointerPositionOnPage(t);if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){if(!(Date.now()>=this._dragStartTime+(this.dragStartDelay||0)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const e=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,t.preventDefault(),this._updatePointerDirectionDelta(e),this._dropContainer)this._updateActiveDropContainer(e);else{const t=this._activeTransform;t.x=e.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=e.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:e,event:t,distance:this._getDragDistance(e),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t),a.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Object(i.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}withHandles(t){return this._handles=t.map(t=>Object(i.e)(t)),this._handles.forEach(t=>v(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Object(i.e)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),e.addEventListener("mousedown",this._pointerDown,x),e.addEventListener("touchstart",this._pointerDown,P),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?Object(i.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&D(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_sortFromLastPointerPosition(){const t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&D(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&D(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){if(this.started.next({source:this}),T(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions(),this._dropContainer){const t=this._rootElement;this._nextSibling=t.nextSibling;const n=this._preview=this._createPreviewElement(),l=this._placeholder=this._createPlaceholderElement();t.style.display="none",this._document.body.appendChild(t.parentNode.replaceChild(l,t)),(e=this._document,e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body).appendChild(n),this._dropContainer.start()}var e}_initializeDragSequence(t,e){e.stopPropagation();const n=this.isDragging(),l=T(e),i=!l&&0!==e.button,r=this._rootElement,o=!l&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),n||i||o)return;this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor,r.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.pipe(Object(d.a)(null)).subscribe(()=>{this._scrollPosition=this._viewportRuler.getViewportScrollPosition()}),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(t,e);const a=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):Object(i.e)(this._initialContainer.element).appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,n=e.getItemIndex(this),l=this._getPointerPositionOnPage(t),i=this._getDragDistance(this._getPointerPositionOnPage(t)),r=e._isOverContainer(l.x,l.y);this.ended.next({source:this,distance:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialContainer.getItemIndex(this),container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:i}),e.drop(this,n,this._initialContainer,r,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let n=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,t,e),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=k(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=t?t.template:null;let n;if(e){const l=t.viewContainer.createEmbeddedView(e,t.context);n=E(l,this._document),this._previewRef=l,n.style.transform=k(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement,e=t.getBoundingClientRect();n=M(t),n.style.width=e.width+"px",n.style.height=e.height+"px",n.style.transform=k(e.left,e.top)}return A(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"1000"}),v(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=k(t.left,t.top);const e=function(t){const e=getComputedStyle(t),n=w(e,"transition-property"),l=n.find(t=>"transform"===t||"all"===t);if(!l)return 0;const i=n.indexOf(l),r=w(e,"transition-duration"),o=w(e,"transition-delay");return C(r[i])+C(o[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const n=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",n),t(),clearTimeout(l))},l=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let n;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),n=E(this._placeholderRef,this._document)):n=M(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(t,e){const n=this._rootElement.getBoundingClientRect(),l=t===this._rootElement?null:t,i=l?l.getBoundingClientRect():n,r=T(e)?e.targetTouches[0]:e;return{x:i.left-n.left+(r.pageX-i.left-this._scrollPosition.left),y:i.top-n.top+(r.pageY-i.top-this._scrollPosition.top)}}_getPointerPositionOnPage(t){const e=T(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.pageX-this._scrollPosition.left,y:e.pageY-this._scrollPosition.top}}_getConstrainedPointerPosition(t){const e=this._getPointerPositionOnPage(t),n=this.constrainPosition?this.constrainPosition(e,this):e,l=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===l?n.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==l||(n.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,l=this._boundaryRect,i=this._previewRect,r=l.top+e,o=l.bottom-(i.height-e);n.x=O(n.x,l.left+t,l.right-(i.width-t)),n.y=O(n.y,r,o)}return n}_updatePointerDirectionDelta(t){const{x:e,y:n}=t,l=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-i.x),o=Math.abs(n-i.y);return r>this._config.pointerDirectionChangeThreshold&&(l.x=e>i.x?1:-1,i.x=e),o>this._config.pointerDirectionChangeThreshold&&(l.y=n>i.y?1:-1,i.y=n),l}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,v(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,x),t.removeEventListener("touchstart",this._pointerDown,P)}_applyRootElementTransform(t,e){const n=k(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),l=this._rootElement.getBoundingClientRect(),i=n.left-l.left,r=l.right-n.right,o=n.top-l.top,a=l.bottom-n.bottom;n.width>l.width?(i>0&&(t+=i),r>0&&(t-=r)):t=0,n.height>l.height?(o>0&&(e+=o),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}}function k(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function M(t){const e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),l=t.querySelectorAll("canvas");e.removeAttribute("id");for(let i=0;i<n.length;i++)n[i].removeAttribute("id");if(l.length){const t=e.querySelectorAll("canvas");for(let e=0;e<l.length;e++){const n=t[e].getContext("2d");n&&n.drawImage(l[e],0,0)}}return e}function O(t,e,n){return Math.max(e,Math.min(n,t))}function D(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function T(t){return"t"===t.type[0]}function E(t,e){const n=t.rootNodes[0];if(n.nodeType!==e.ELEMENT_NODE){const t=e.createElement("div");return t.appendChild(n),t}return n}function I(t,e,n){const l=j(e,t.length-1),i=j(n,t.length-1);if(l===i)return;const r=t[l],o=i<l?-1:1;for(let a=l;a!==i;a+=o)t[a]=t[a+o];t[i]=r}function L(t,e,n,l){const i=j(n,t.length-1),r=j(l,e.length);t.length&&e.splice(r,0,t.splice(i,1)[0])}function j(t,e){return Math.max(0,Math.min(e,t))}let R=0;class F{constructor(t,e,n,u,c){this._dragDropRegistry=e,this._ngZone=u,this._viewportRuler=c,this.id="cdk-drop-list-ref-"+R++,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=()=>!0,this.beforeStarted=new r.a,this.entered=new r.a,this.exited=new r.a,this.dropped=new r.a,this.sorted=new r.a,this._isDragging=!1,this._itemPositions=[],this._scrollPosition={top:0,left:0},this._viewportScrollPosition={top:0,left:0},this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=o.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new r.a,this._handleScroll=()=>{if(!this.isDragging())return;const t=Object(i.e)(this.element);this._updateAfterScroll(this._scrollPosition,t.scrollTop,t.scrollLeft)},this._startScrollInterval=()=>{this._stopScrolling(),Object(a.a)(0,s.a).pipe(Object(h.a)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?z(t,-2):2===this._verticalScrollDirection&&z(t,2),1===this._horizontalScrollDirection?G(t,-2):2===this._horizontalScrollDirection&&G(t,2)})};const d=this.element=Object(i.e)(t);this._shadowRoot=function(t){if(Object(l.d)()){const e=t.getRootNode?t.getRootNode():null;if(e instanceof ShadowRoot)return e}return null}(d)||n,e.registerDropContainer(this)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._removeListeners(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const t=Object(i.e)(this.element);this.beforeStarted.next(),this._isDragging=!0,this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._removeListeners(),this._ngZone?this._ngZone.runOutsideAngular(()=>t.addEventListener("scroll",this._handleScroll)):t.addEventListener("scroll",this._handleScroll),this._viewportRuler&&this._listenToScrollEvents()}enter(t,e,n){this.start();let l=this.sortingDisabled?this._draggables.indexOf(t):-1;-1===l&&(l=this._getItemIndexFromPointerPosition(t,e,n));const r=this._activeDraggables,o=r.indexOf(t),a=t.getPlaceholderElement();let s=r[l];if(s===t&&(s=r[l+1]),o>-1&&r.splice(o,1),s&&!this._dragDropRegistry.isDragging(s)){const e=s.getRootElement();e.parentElement.insertBefore(a,e),r.splice(l,0,t)}else Object(i.e)(this.element).appendChild(a),r.push(t);a.style.transform="",this._cacheItemPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,n,l,i={x:0,y:0}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n.getItemIndex(t),container:this,previousContainer:n,isPointerOverContainer:l,distance:i})}withItems(t){return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&this._cacheItems(),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}getItemIndex(t){return this._isDragging?Y("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,n,l){if(this.sortingDisabled||!this._isPointerNearDropContainer(e,n))return;const i=this._itemPositions,r=this._getItemIndexFromPointerPosition(t,e,n,l);if(-1===r&&i.length>0)return;const o="horizontal"===this._orientation,a=Y(i,e=>e.drag===t),s=i[r],u=i[a].clientRect,c=s.clientRect,d=a>r?1:-1;this._previousSwap.drag=s.drag,this._previousSwap.delta=o?l.x:l.y;const h=this._getItemOffsetPx(u,c,d),p=this._getSiblingOffsetPx(a,i,d),f=i.slice();I(i,a,r),this.sorted.next({previousIndex:a,currentIndex:r,container:this,item:t}),i.forEach((e,n)=>{if(f[n]===e)return;const l=e.drag===t,i=l?h:p,r=l?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=i,o?(r.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,N(e.clientRect,0,i)):(r.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,N(e.clientRect,i,0))})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let n,l=0,r=0;if(this._isPointerNearDropContainer(t,e)){const o=Object(i.e)(this.element);[l,r]=function(t,e,n,l){const i=H(e,l),r=V(e,n);let o=0,a=0;if(i){const e=t.scrollTop;1===i?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(r){const e=t.scrollLeft;1===r?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[o,a]}(o,this._clientRect,t,e),(l||r)&&(n=o)}if(this._viewportRuler&&!l&&!r){const{width:i,height:o}=this._viewportRuler.getViewportSize(),a={width:i,height:o,top:0,right:i,bottom:o,left:0};l=H(a,e),r=V(a,t),n=window}!n||l===this._verticalScrollDirection&&r===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=l,this._horizontalScrollDirection=r,this._scrollNode=n,(l||r)&&n?this._ngZone?this._ngZone.runOutsideAngular(this._startScrollInterval):this._startScrollInterval():this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheOwnPosition(){const t=Object(i.e)(this.element);this._clientRect=B(t),this._scrollPosition={top:t.scrollTop,left:t.scrollLeft}}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=this._dragDropRegistry.isDragging(t)?t.getPlaceholderElement():t.getRootElement();return{drag:t,offset:0,clientRect:B(e)}}).sort((e,n)=>t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1,this._activeDraggables.forEach(t=>t.getRootElement().style.transform=""),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._removeListeners()}_getSiblingOffsetPx(t,e,n){const l="horizontal"===this._orientation,i=e[t].clientRect,r=e[t+-1*n];let o=i[l?"width":"height"]*n;if(r){const t=l?"left":"top",e=l?"right":"bottom";-1===n?o-=r.clientRect[t]-i[e]:o+=i[t]-r.clientRect[e]}return o}_isPointerNearDropContainer(t,e){const{top:n,right:l,bottom:i,left:r,width:o,height:a}=this._clientRect,s=.05*o,u=.05*a;return e>n-u&&e<i+u&&t>r-s&&t<l+s}_getItemOffsetPx(t,e,n){const l="horizontal"===this._orientation;let i=l?e.left-t.left:e.top-t.top;return-1===n&&(i+=l?e.width-t.width:e.height-t.height),i}_getItemIndexFromPointerPosition(t,e,n,l){const i="horizontal"===this._orientation;return Y(this._itemPositions,({drag:r,clientRect:o},a,s)=>{if(r===t)return s.length<2;if(l){const t=i?l.x:l.y;if(r===this._previousSwap.drag&&t===this._previousSwap.delta)return!1}return i?e>=Math.floor(o.left)&&e<=Math.floor(o.right):n>=Math.floor(o.top)&&n<=Math.floor(o.bottom)})}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheOwnPosition()}_updateAfterScroll(t,e,n,l){const i=t.top-e,r=t.left-n;l&&N(l,i,r),this._itemPositions.forEach(({clientRect:t})=>{N(t,i,r)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}),t.top=e,t.left=n}_removeListeners(){Object(i.e)(this.element).removeEventListener("scroll",this._handleScroll),this._viewportScrollSubscription.unsubscribe()}_isOverContainer(t,e){return U(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,n){return this._siblings.find(l=>l._canReceive(t,e,n))}_canReceive(t,e,n){if(!this.enterPredicate(t,this)||!U(this._clientRect,e,n))return!1;const l=this._shadowRoot.elementFromPoint(e,n);if(!l)return!1;const r=Object(i.e)(this.element);return l===r||r.contains(l)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheOwnPosition(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(()=>{if(this.isDragging()){const t=this._viewportRuler.getViewportScrollPosition();this._updateAfterScroll(this._viewportScrollPosition,t.top,t.left,this._clientRect)}else this.isReceiving()&&this._cacheOwnPosition()})}}function N(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function Y(t,e){for(let n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1}function U(t,e,n){const{top:l,bottom:i,left:r,right:o}=t;return n>=l&&n<=i&&e>=r&&e<=o}function B(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function z(t,e){t===window?t.scrollBy(0,e):t.scrollTop+=e}function G(t,e){t===window?t.scrollBy(e,0):t.scrollLeft+=e}function H(t,e){const{top:n,bottom:l,height:i}=t,r=.05*i;return e>=n-r&&e<=n+r?1:e>=l-r&&e<=l+r?2:0}function V(t,e){const{left:n,right:l,width:i}=t,r=.05*i;return e>=n-r&&e<=n+r?1:e>=l-r&&e<=l+r?2:0}const q=Object(l.g)({passive:!1,capture:!0});let W=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new r.a,this.pointerUp=new r.a,this.scroll=new r.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},this._document=e}registerDropContainer(t){if(!this._dropInstances.has(t)){if(this.getDropContainer(t.id))throw Error(`Drop instance with id "${t.id}" has already been registered.`);this._dropInstances.add(t)}}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._preventDefaultWhileDragging,q)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,q)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),n=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:q}).set(n,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:q}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}getDropContainer(t){return Array.from(this._dropInstances).find(e=>e.id===t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.ngInjectableDef=Object(g.cc)({factory:function(){return new t(Object(g.dc)(g.G),Object(g.dc)(_.d))},token:t,providedIn:"root"}),t})();const $={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let X=(()=>{class t{constructor(t,e,n,l){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=l}createDrag(t,e=$){return new S(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new F(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.ngInjectableDef=Object(g.cc)({factory:function(){return new t(Object(g.dc)(_.d),Object(g.dc)(g.G),Object(g.dc)(y.e),Object(g.dc)(W))},token:t,providedIn:"root"}),t})();const K=new g.w("CDK_DROP_LIST"),J=new g.w("CDK_DRAG_PARENT");class Q{constructor(t,e){this.element=t,this._stateChanges=new r.a,this._disabled=!1,this._parentDrag=e,v(t.nativeElement,!1)}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}const Z=new g.w("CDK_DRAG_CONFIG",{providedIn:"root",factory:function(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}}});class tt{constructor(t,e,n,l,i,o,a,s,c){this.element=t,this.dropContainer=e,this._document=n,this._ngZone=l,this._viewContainerRef=i,this._dir=a,this._changeDetectorRef=c,this._destroyed=new r.a,this.dragStartDelay=0,this._disabled=!1,this.started=new g.r,this.released=new g.r,this.ended=new g.r,this.entered=new g.r,this.exited=new g.r,this.dropped=new g.r,this.moved=new u.a(t=>{const e=this._dragRef.moved.pipe(Object(p.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=s.createDrag(t,o),this._dragRef.data=this,this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get boundaryElementSelector(){return"string"==typeof this.boundaryElement?this.boundaryElement:void 0}set boundaryElementSelector(t){this.boundaryElement=t}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Object(i.c)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.asObservable().pipe(Object(f.a)(1),Object(h.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(d.a)(this._handles),Object(b.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._dragRef.withHandles(e)}),Object(m.a)(t=>Object(c.a)(...t.map(t=>t._stateChanges))),Object(h.a)(this._destroyed)).subscribe(t=>{const e=this._dragRef,n=t.element.nativeElement;t.disabled?e.disableHandle(n):e.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?et(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return et(this.element.nativeElement,t);const e=Object(i.e)(t);if(Object(g.hb)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,l=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay=Object(i.f)(this.dragStartDelay),t.constrainPosition=this.constrainPosition,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(l),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}}function et(t,e){let n=t.parentElement;for(;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}class nt{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t)}ngOnDestroy(){this._items.clear()}}let lt=0,it=(()=>{class t{constructor(e,n,l,i,o){this.element=e,this._changeDetectorRef=l,this._dir=i,this._group=o,this._destroyed=new r.a,this.connectedTo=[],this.orientation="vertical",this.id="cdk-drop-list-"+lt++,this._disabled=!1,this._sortingDisabled=!1,this.enterPredicate=()=>!0,this.autoScrollDisabled=!1,this.dropped=new g.r,this.entered=new g.r,this.exited=new g.r,this.sorted=new g.r,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._syncInputs(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._disabled=Object(i.c)(t)}get sortingDisabled(){return this._sortingDisabled}set sortingDisabled(t){this._sortingDisabled=Object(i.c)(t)}ngAfterContentInit(){this._draggables.changes.pipe(Object(d.a)(this._draggables),Object(h.a)(this._destroyed)).subscribe(t=>{this._dropListRef.withItems(t.map(t=>t._dragRef))})}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}start(){this._dropListRef.start()}drop(t,e,n,l){this._dropListRef.drop(t._dragRef,e,n._dropListRef,l)}enter(t,e,n){this._dropListRef.enter(t._dragRef,e,n)}exit(t){this._dropListRef.exit(t._dragRef)}getItemIndex(t){return this._dropListRef.getItemIndex(t._dragRef)}_sortItem(t,e,n,l){return this._dropListRef._sortItem(t._dragRef,e,n,l)}_getSiblingContainerFromPosition(t,e,n){const l=this._dropListRef._getSiblingContainerFromPosition(t._dragRef,e,n);return l?l.data:null}_isOverContainer(t,e){return this._dropListRef._isOverContainer(t,e)}_syncInputs(e){this._dir&&this._dir.change.pipe(Object(d.a)(this._dir.value),Object(h.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const n=Object(i.b)(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);this._group&&this._group._items.forEach(t=>{-1===n.indexOf(t)&&n.push(t)}),e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.connectedTo(n.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}}return t._dropLists=[],t})();class rt{}},MlvX:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return c})),n.d(e,"a",(function(){return d})),n.d(e,"d",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return f}));var l=n("8Y7J"),i=n("Xd0L"),r=(n("IP0z"),n("cUpR"),n("/HVE")),o=n("SVse"),a=n("omvX"),s=l.Bb({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,f,p)),l.Cb(1,49152,null,0,i.v,[[2,a.a]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)}),(function(t,e){t(e,0,0,"indeterminate"===l.Pb(e,1).state,"checked"===l.Pb(e,1).state,l.Pb(e,1).disabled,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function c(t){return l.Yb(2,[(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(1,16384,null,0,o.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(5,212992,null,0,i.x,[l.p,l.G,r.a,[2,i.m],[2,a.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(t,e){t(e,4,0,l.Pb(e,5).unbounded)}))}var d=l.Bb({encapsulation:2,styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],data:{}});function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,2,"label",[["class","mat-optgroup-label"]],[[8,"id",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Ob(null,0),l.Ob(null,1)],null,(function(t,e){var n=e.component;t(e,0,0,n._labelId),t(e,1,0,n.label)}))}var p=l.Bb({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function f(t){return l.Yb(2,[],null,null)}},Mz6y:function(t,e,n){"use strict";n.d(e,"e",(function(){return g})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return f})),n.d(e,"d",(function(){return b})),n.d(e,"f",(function(){return m})),n("GS7A");var l=n("KCVW"),i=n("dvZr"),r=n("7QIX"),o=(n("QQfA"),n("zMNK")),a=n("8Y7J"),s=n("XNiG"),u=n("1G5W"),c=n("IzEk");function d(t){return Error(`Tooltip position "${t}" is invalid.`)}const h=new a.w("mat-tooltip-scroll-strategy");function p(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}const f=new a.w("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});class b{constructor(t,e,n,l,i,r,o,a,c,d,h,p){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=l,this._ngZone=i,this._ariaDescriber=o,this._focusMonitor=a,this._dir=d,this._defaultOptions=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new s.a,this._scrollStrategy=c;const f=e.nativeElement,b="undefined"==typeof window||window.Hammer||p;r.IOS||r.ANDROID?b||this._manualListeners.set("touchstart",()=>this.show()):this._manualListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide()),this._manualListeners.forEach((t,e)=>f.addEventListener(e,t)),a.monitor(e).pipe(Object(u.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&i.run(()=>this.show()):i.run(()=>this.hide(0))}),h&&h.position&&(this.position=h.position)}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){const t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((t,e)=>{this._elementRef.nativeElement.removeEventListener(e,t)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new o.d(m,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_handleKeydown(t){this._isTooltipVisible()&&t.keyCode===i.h&&!Object(i.t)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))}_handleTouchend(){this.hide(this._defaultOptions.touchendHideDelay)}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(u.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e||"below"==e)n={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw d(e);n={originX:"end",originY:"center"}}const{x:l,y:i}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:l,originY:i}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e)n={overlayX:"center",overlayY:"bottom"};else if("below"==e)n={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw d(e);n={overlayX:"start",overlayY:"center"}}const{x:l,y:i}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:l,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(c.a)(1),Object(u.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}}class m{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new s.a,this._isHandset=this._breakpointObserver.observe(r.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}class g{}},MzMb:function(t,e,n){"use strict";var l,i=n("zvco"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e,n,l,i){var r=t.call(this,e)||this;return r.inversePixelTransform=n,r.frameState=l,r.context=i,r}return r(e,t),e}(i.a);e.a=o},N0mK:function(t,e,n){"use strict";e.a={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"}},N14p:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e=[];if((e=(e=(e=t.toUpperCase()).replace(/%20/g,"")).replace(/ /g,"")).length>15)return!1;if(e.match(/^[0-9]{2}[CDEFGHJKLMNPQRSTUVWX]$/))throw"Input appears to be a UTM zone, but more precision is required to display an accurate result: "+e;if(!e.match(/^[0-9]{2}[CDEFGHJKLMNPQRSTUVWX][ABCDEFGHJKLMNPQRSTUVWXYZ][ABCDEFGHJKLMNPQRSTUV]([0-9][0-9]){0,5}/))return!1;if(e.length<7)throw"Format looks right, but precision should be to least 10,000 meters: "+e;return e}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},NF0S:function(t,e,n){"use strict";function l(t){return t[0]>0&&t[1]>0}function i(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function r(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}))},NJ4a:function(t,e,n){"use strict";function l(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return l}))},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("Cfvw"),r=n("EY2u");function o(t){return new l.a(e=>{let n;try{n=t()}catch(l){return void e.error(l)}return(n?Object(i.a)(n):Object(r.b)()).subscribe(e)})}},Nafy:function(t,e,n){"use strict";var l,i=n("Ho3V"),r=n("DsAt"),o=n("AdTM"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(){var e=t.call(this)||this;return e.revision_=0,e}return a(e,t),e.prototype.changed=function(){++this.revision_,this.dispatchEvent(o.a.CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.on=function(t,e){if(Array.isArray(t)){for(var n=t.length,l=new Array(n),r=0;r<n;++r)l[r]=Object(i.a)(this,t[r],e);return l}return Object(i.a)(this,t,e)},e.prototype.once=function(t,e){if(Array.isArray(t)){for(var n=t.length,l=new Array(n),r=0;r<n;++r)l[r]=Object(i.b)(this,t[r],e);return l}return Object(i.b)(this,t,e)},e.prototype.un=function(t,e){if(Array.isArray(t))for(var n=0,l=t.length;n<l;++n)this.removeEventListener(t[n],e);else this.removeEventListener(t,e)},e}(r.a);e.a=s},NcP4:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("8Y7J"),i=n("Mz6y"),r=n("SVse"),o=(n("POq0"),n("QQfA"),n("IP0z"),n("cUpR"),n("Xd0L"),n("/HVE"),n("5GAg"),n("zMNK"),n("hOhj"),n("7QIX")),a=l.Bb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function s(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var l=!0,i=t.component;return"@state.start"===e&&(l=!1!==i._animationStart()&&l),"@state.done"===e&&(l=!1!==i._animationDone(n)&&l),l}),null,null)),l.Tb(512,null,r.A,r.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,r.l,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Qb(131072,r.b,[l.j]),(t()(),l.Wb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=l.Xb(e,0,0,l.Pb(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==l.Pb(t,1)._handleBodyInteraction()&&i),i}),s,a)),l.Cb(1,180224,null,0,i.f,[l.j,o.a],null,null)],null,(function(t,e){t(e,0,0,"visible"===l.Pb(e,1)._visibility?1:null)}))}var c=l.zb("mat-tooltip-component",i.f,u,{},{},[])},Njrz:function(t,e,n){var l=n("luTP"),i=n("qGlh"),r=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===r.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===r.call(File);e.deconstructPacket=function(t){var e=[],n=t;return n.data=function t(e,n){if(!e)return e;if(i(e)){var r={_placeholder:!0,num:n.length};return n.push(e),r}if(l(e)){for(var o=new Array(e.length),a=0;a<e.length;a++)o[a]=t(e[a],n);return o}if("object"==typeof e&&!(e instanceof Date)){for(var s in o={},e)o[s]=t(e[s],n);return o}return e}(t.data,e),n.attachments=e.length,{packet:n,buffers:e}},e.reconstructPacket=function(t,e){return t.data=function t(e,n){if(!e)return e;if(e&&e._placeholder)return n[e.num];if(l(e))for(var i=0;i<e.length;i++)e[i]=t(e[i],n);else if("object"==typeof e)for(var r in e)e[r]=t(e[r],n);return e}(t.data,e),t.attachments=void 0,t},e.removeBlobs=function(t,e){var n=0,r=t;!function t(s,u,c){if(!s)return s;if(o&&s instanceof Blob||a&&s instanceof File){n++;var d=new FileReader;d.onload=function(){c?c[u]=this.result:r=this.result,--n||e(r)},d.readAsArrayBuffer(s)}else if(l(s))for(var h=0;h<s.length;h++)t(s[h],h,s);else if("object"==typeof s&&!i(s))for(var p in s)t(s[p],p,s)}(r),n||e(r)}},NvT6:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return h}));var l=n("8Y7J"),i=(n("W5yJ"),n("SVse")),r=(n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),n("omvX"),l.Bb({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}}));function o(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function s(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,o)),l.Cb(3,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}var u=l.Bb({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function h(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(3,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(5,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}},Nw85:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}lineControllerGetFull$Response(e){const n=new o.a(this.rootUrl,t.LineControllerGetFullPath,"get");return e&&n.query("callsign",e.callsign),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}lineControllerGetFull(t){return this.lineControllerGetFull$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseLineControllerLinePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseLineControllerLine(t){return this.getOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseLineControllerLinePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseLineControllerLine(t){return this.replaceOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseLineControllerLinePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseLineControllerLine(t){return this.deleteOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseLineControllerLinePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseLineControllerLine(t){return this.updateOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseLineControllerLinePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseLineControllerLine(t){return this.getManyBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseLineControllerLinePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseLineControllerLine(t){return this.createOneBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseLineControllerLine$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseLineControllerLinePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseLineControllerLine(t){return this.createManyBaseLineControllerLine$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.LineControllerGetFullPath="/line/full",t.GetOneBaseLineControllerLinePath="/line/{id}",t.ReplaceOneBaseLineControllerLinePath="/line/{id}",t.DeleteOneBaseLineControllerLinePath="/line/{id}",t.UpdateOneBaseLineControllerLinePath="/line/{id}",t.GetManyBaseLineControllerLinePath="/line",t.CreateOneBaseLineControllerLinePath="/line",t.CreateManyBaseLineControllerLinePath="/line/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},OCB2:function(t,e,n){"use strict";e.a={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OIZN:function(t,e,n){"use strict";n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return a}));var l=n("8Y7J"),i=n("XNiG"),r=n("KCVW"),o=n("Xd0L");let a=(()=>{class t{constructor(){this.changes=new i.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return"0 of "+n;const l=t*e;return`${l+1} \u2013 ${l<(n=Math.max(n,0))?Math.min(l+e,n):l+e} of ${n}`}}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function s(t){return t||new a}class u{}const c=Object(o.G)(Object(o.I)(u));class d extends c{constructor(t,e){super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new l.r,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck())}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(r.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(r.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(r.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(r.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(r.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(r.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}class h{}},OPOH:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o}));var l="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),l=1,i=arguments.length;l<i;++l){var r=arguments[l];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])}return n};function i(t){for(var e in t)delete t[e]}var r="function"==typeof Object.values?Object.values:function(t){var e=[];for(var n in t)e.push(t[n]);return e};function o(t){var e;for(e in t)return!1;return!e}},OQAH:function(t,e,n){"use strict";var l,i=n("V8uu"),r=n("WS2v"),o=n("4mld"),a=n("CZmH"),s=n("Ho3V"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e){var n=t.call(this)||this;return n.element=e.element?e.element:null,n.target_=null,n.map_=null,n.listenerKeys=[],n.render_=e.render?e.render:i.c,e.target&&n.setTarget(e.target),n}return u(e,t),e.prototype.disposeInternal=function(){Object(a.e)(this.element),t.prototype.disposeInternal.call(this)},e.prototype.getMap=function(){return this.map_},e.prototype.setMap=function(t){this.map_&&Object(a.e)(this.element);for(var e=0,n=this.listenerKeys.length;e<n;++e)Object(s.c)(this.listenerKeys[e]);this.listenerKeys.length=0,this.map_=t,this.map_&&((this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==i.c&&this.listenerKeys.push(Object(s.a)(t,r.a.POSTRENDER,this.render,this)),t.render())},e.prototype.render=function(t){this.render_.call(this,t)},e.prototype.setTarget=function(t){this.target_="string"==typeof t?document.getElementById(t):t},e}(o.a);e.a=c},OZx2:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return d}));var l=n("yUaI"),i=n("CZmH"),r=n("bL/2"),o=n("grDu"),a=n("9iPr"),s=n("CvXi"),u=n("n15R");function c(t,e,n,c,d,h,p){var f=t[0]/2,b=t[1]/2,m=Object(i.a)(f,b);m.imageSmoothingEnabled=!1;for(var g=m.canvas,_=new l.a(m,.5,d,null,p),y=n.length,A=Math.floor(16777215/y),v={},C=1;C<=y;++C){var w=n[C-1],P=w.getStyleFunction()||c;if(c){var x=P(w,h);if(x){Array.isArray(x)||(x=[x]);for(var S="#"+("000000"+(C*A).toString(16)).slice(-6),k=0,M=x.length;k<M;++k){var O=x[k],D=O.clone(),T=D.getFill();T&&T.setColor(S);var E=D.getStroke();E&&E.setColor(S),D.setText(void 0);var I=O.getImage();if(I){var L=I.getImageSize();if(!L)continue;var j=document.createElement("canvas");j.width=L[0],j.height=L[1];var R=j.getContext("2d",{alpha:!1});R.fillStyle=S;var F=R.canvas;R.fillRect(0,0,F.width,F.height);var N=L?L[0]:F.width,Y=L?L[1]:F.height;Object(i.a)(N,Y).drawImage(F,0,0),D.setImage(new r.a({img:F,imgSize:L,anchor:I.getAnchor(),anchorXUnits:o.a.PIXELS,anchorYUnits:o.a.PIXELS,offset:I.getOrigin(),size:I.getSize(),opacity:I.getOpacity(),scale:I.getScale(),rotation:I.getRotation(),rotateWithView:I.getRotateWithView()}))}var U=Number(D.getZIndex());(H=v[U])||(v[U]=H={},H[a.a.POLYGON]=[],H[a.a.CIRCLE]=[],H[a.a.LINE_STRING]=[],H[a.a.POINT]=[]);var B=D.getGeometryFunction()(w);B&&Object(s.F)(d,B.getExtent())&&H[B.getType().replace("Multi","")].push(B,D)}}}}for(var z=Object.keys(v).map(Number).sort(u.g),G=(C=0,z.length);C<G;++C){var H=v[z[C]];for(var V in H){var q=H[V];for(k=0,M=q.length;k<M;k+=2){_.setStyle(q[k+1]);for(var W=0,$=e.length;W<$;++W)_.setTransform(e[W]),_.drawGeometry(q[k])}}}return document.body.appendChild(m.canvas),m.getImageData(0,0,g.width,g.height)}function d(t,e,n){var l=[];if(n){var i=4*(Math.round(t[0]/2)+Math.round(t[1]/2)*n.width),r=n.data[i+2]+256*(n.data[i+1]+256*n.data[i]),o=Math.floor(16777215/e.length);r&&r%o==0&&l.push(e[r/o-1])}return l}},Oaa7:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function l(t,e,n,l){var i="";if(e)switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.replace(/%d/i,t)}t.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},P151:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n("G0WM");var l=n("svHU"),i=n("8Y7J"),r=n("b2zq");let o=(()=>{class t{constructor(t,e){this.iconService=t,this.mapService=e,this.isInit=!0,this.iconEntities={},setInterval(()=>{this.getIconsFromDB()},2e4),this.getIconsFromDB()}getIconEntity(t){return this.iconEntities[t=this.iconEntities[t]?t:"default"]}getIconsFromDB(){this.iconService.getManyBaseIconControllerIcon().subscribe(t=>{const e=[];e.push(...this.deleteIcons(t)),e.push(...this.upsertIcons(t)),!0===this.isInit&&(this.isInit=!1),e.length>0&&(console.log("updated icons:",e),this.updateFeatureStyles())})}deleteIcons(t){const e=[];let n={};for(const l of t.data)n[l.name]=!0;return Object.keys(this.iconEntities).forEach(t=>{n[t]||(e.push({state:"delete",icon:this.iconEntities[t]}),delete this.iconEntities[t])}),e}upsertIcons(t){const e=[];for(const n of t.data)(!this.iconEntities[n.name]||this.iconEntities[n.name]&&JSON.stringify(this.iconEntities[n.name])!==JSON.stringify(n))&&(this.iconEntities[n.name]=n,!1===this.isInit&&e.push({state:"upsert",icon:this.iconEntities[n.name]}));return e}updateFeatureStyles(){this.mapService.getLayer("aircraft").getSource().getFeatures().forEach(t=>t.applyStyle(!0))}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(r.a),i.dc(l.a))},token:t,providedIn:"root"}),t})()},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),l=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],i=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,n,l){var i=t+" ";switch(n){case"s":return e||l?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||l?i+(r(t)?"sekundy":"sekund"):i+"sekundami";case"m":return e?"minuta":l?"minutu":"minutou";case"mm":return e||l?i+(r(t)?"minuty":"minut"):i+"minutami";case"h":return e?"hodina":l?"hodinu":"hodinou";case"hh":return e||l?i+(r(t)?"hodiny":"hodin"):i+"hodinami";case"d":return e||l?"den":"dnem";case"dd":return e||l?i+(r(t)?"dny":"dn\xed"):i+"dny";case"M":return e||l?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||l?i+(r(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return e||l?"rok":"rokem";case"yy":return e||l?i+(r(t)?"roky":"let"):i+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PCLV:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("XDhV");function i(t,e,n){return e+":"+t+":"+(n?Object(l.b)(n):"null")}var r=new(function(){function t(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return t.prototype.clear=function(){this.cache_={},this.cacheSize_=0},t.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var t=0;for(var e in this.cache_)0!=(3&t++)||this.cache_[e].hasListener()||(delete this.cache_[e],--this.cacheSize_)}},t.prototype.get=function(t,e,n){var l=i(t,e,n);return l in this.cache_?this.cache_[l]:null},t.prototype.set=function(t,e,n,l){var r=i(t,e,n);this.cache_[r]=l,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}())},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},PIFQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u}));var l=n("CZmH"),i=n("CvXi"),r=n("f8l7"),o=n("JW8z");function a(t,e,n,l){var r=Object(o.p)(n,e,t),a=Object(o.h)(e,l,n),s=e.getMetersPerUnit();void 0!==s&&(a*=s);var u=t.getMetersPerUnit();void 0!==u&&(a/=u);var c=t.getExtent();if(!c||Object(i.f)(c,r)){var d=Object(o.h)(t,a,r)/a;isFinite(d)&&d>0&&(a/=d)}return a}function s(t,e,n,l){var i=n-t,r=l-e,o=Math.sqrt(i*i+r*r);return[Math.round(n+i/o),Math.round(l+r/o)]}function u(t,e,n,o,a,u,c,d,h,p,f){var b=Object(l.a)(Math.round(n*t),Math.round(n*e));if(0===h.length)return b.canvas;b.scale(n,n);var m=Object(i.j)();h.forEach((function(t,e,n){Object(i.q)(m,t.extent)}));var g=Object(i.E)(m),_=Object(i.A)(m),y=Object(l.a)(Math.round(n*g/o),Math.round(n*_/o)),A=n/o;h.forEach((function(t,e,n){var l=t.extent[0]-m[0],r=-(t.extent[3]-m[3]),o=Object(i.E)(t.extent),a=Object(i.A)(t.extent);y.drawImage(t.image,p,p,t.image.width-2*p,t.image.height-2*p,l*A,r*A,o*A,a*A)}));var v=Object(i.C)(c);return d.getTriangles().forEach((function(t,e,l){var i=t.source,a=t.target,c=i[0][0],d=i[0][1],h=i[1][0],p=i[1][1],f=i[2][0],g=i[2][1],_=(a[0][0]-v[0])/u,A=-(a[0][1]-v[1])/u,C=(a[1][0]-v[0])/u,w=-(a[1][1]-v[1])/u,P=(a[2][0]-v[0])/u,x=-(a[2][1]-v[1])/u,S=c,k=d;c=0,d=0;var M=[[h-=S,p-=k,0,0,C-_],[f-=S,g-=k,0,0,P-_],[0,0,h,p,w-A],[0,0,f,g,x-A]],O=Object(r.e)(M);if(O){b.save(),b.beginPath();var D=(_+C+P)/3,T=(A+w+x)/3,E=s(D,T,_,A),I=s(D,T,C,w),L=s(D,T,P,x);b.moveTo(I[0],I[1]),b.lineTo(E[0],E[1]),b.lineTo(L[0],L[1]),b.clip(),b.transform(O[0],O[2],O[1],O[3],_,A),b.translate(m[0]-S,m[3]-k),b.scale(o/n,-o/n),b.drawImage(y.canvas,0,0),b.restore()}})),f&&(b.save(),b.strokeStyle="black",b.lineWidth=1,d.getTriangles().forEach((function(t,e,n){var l=t.target,i=(l[0][0]-v[0])/u,r=-(l[0][1]-v[1])/u,o=(l[1][0]-v[0])/u,a=-(l[1][1]-v[1])/u,s=(l[2][0]-v[0])/u,c=-(l[2][1]-v[1])/u;b.beginPath(),b.moveTo(o,a),b.lineTo(i,r),b.lineTo(s,c),b.closePath(),b.stroke()})),b.restore()),b.canvas}},POq0:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("HDdC"),o=n("XNiG"),a=n("Kj3r");let s=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(l.e)(t);return new r.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(s))},token:t,providedIn:"root"}),t})();class c{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new i.r,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(l.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}class d{}},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},Pmt0:function(t,e,n){"use strict";var l,i=n("rlDN"),r=n("EwAT"),o=n("SW/M"),a=n("CvXi"),s=n("pWiS"),u=n("JW8z"),c=n("27p8"),d=n("6Lir"),h=n("E35u"),p=n("MNGd"),f=n("qJZF"),b=n("OZx2"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e){var n=t.call(this,e)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.dirty_=!1,n.hitDetectionImageData_=null,n.renderedFeatures_=null,n.renderedRevision_=-1,n.renderedResolution_=NaN,n.renderedExtent_=Object(a.j)(),n.renderedCenter_=null,n.renderedProjection_=null,n.renderedRenderOrder_=null,n.replayGroup_=null,n.replayGroupChanged=!0,n}return m(e,t),e.prototype.useContainer=function(e,n,l){l<1&&(e=null),t.prototype.useContainer.call(this,e,n,l)},e.prototype.renderFrame=function(t,e){var n=t.pixelRatio,l=t.layerStatesArray[t.layerIndex];Object(f.e)(this.pixelTransform,1/n,1/n),Object(f.d)(this.inversePixelTransform,this.pixelTransform);var i=Object(f.k)(this.pixelTransform);this.useContainer(e,i,l.opacity);var r=this.context,s=r.canvas,c=this.replayGroup_;if(!c||c.isEmpty())return!this.containerReused&&s.width>0&&(s.width=0),this.container;var h=Math.round(t.size[0]*n),p=Math.round(t.size[1]*n);s.width!=h||s.height!=p?(s.width=h,s.height=p,s.style.transform!==i&&(s.style.transform=i)):this.containerReused||r.clearRect(0,0,h,p),this.preRender(r,t);var b=t.extent,m=t.viewState,g=m.center,_=m.resolution,y=m.projection,A=m.rotation,v=y.getExtent(),C=this.getLayer().getSource(),w=!1;if(l.extent){var P=Object(u.f)(l.extent,y);(w=!Object(a.g)(P,t.extent)&&Object(a.F)(P,t.extent))&&this.clip(r,t,P)}var x=t.viewHints,S=!(x[o.a.ANIMATING]||x[o.a.INTERACTING]),k=this.getRenderTransform(g,_,A,n,h,p,0),M=this.getLayer().getDeclutter()?{}:null;if(c.execute(r,k,A,S,void 0,M),C.getWrapX()&&y.canWrapX()&&!Object(a.g)(v,b)){for(var O=b[0],D=Object(a.E)(v),T=0;O<v[0];){--T;var E=this.getRenderTransform(g,_,A,n,h,p,D*T);c.execute(r,E,A,S,void 0,M),O+=D}for(T=0,O=b[2];O>v[2];){++T;var I=this.getRenderTransform(g,_,A,n,h,p,D*T);c.execute(r,I,A,S,void 0,M),O-=D}}if(M){var L=t.viewHints,j=!(L[o.a.ANIMATING]||L[o.a.INTERACTING]);Object(d.b)(M,r,A,1,j,t.declutterItems)}w&&r.restore(),this.postRender(r,t);var R=l.opacity,F=this.container;return R!==parseFloat(F.style.opacity)&&(F.style.opacity=1===R?"":R),this.container},e.prototype.getFeatures=function(t){return new Promise((function(e,n){if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){var l=[this.context.canvas.width,this.context.canvas.height];Object(f.a)(this.pixelTransform,l);var i=this.renderedCenter_,r=this.renderedResolution_,o=this.renderedRotation_,s=this.renderedProjection_,u=this.renderedExtent_,c=this.getLayer(),d=[],h=l[0]/2,p=l[1]/2;d.push(this.getRenderTransform(i,r,o,.5,h,p,0).slice());var m=c.getSource(),g=s.getExtent();if(m.getWrapX()&&s.canWrapX()&&!Object(a.g)(g,u)){for(var _=u[0],y=Object(a.E)(g),A=0;_<g[0];)--A,d.push(this.getRenderTransform(i,r,o,.5,h,p,y*A).slice()),_+=y;for(A=0,_=u[2];_>g[2];)++A,d.push(this.getRenderTransform(i,r,o,.5,h,p,y*A).slice()),_-=y}this.hitDetectionImageData_=Object(b.a)(l,d,this.renderedFeatures_,c.getStyleFunction(),u,r,o)}e(Object(b.b)(t,this.renderedFeatures_,this.hitDetectionImageData_))}).bind(this))},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){if(this.replayGroup_){var o=e.viewState.resolution,a=e.viewState.rotation,s=this.getLayer(),u={};return this.replayGroup_.forEachFeatureAtCoordinate(t,o,a,n,(function(t){var e=Object(r.c)(t);if(!(e in u))return u[e]=!0,l(t,s)}),s.getDeclutter()?i:null)}},e.prototype.handleFontsChanged=function(){var t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource();if(!n)return!1;var l=t.viewHints[o.a.ANIMATING],i=t.viewHints[o.a.INTERACTING],r=e.getUpdateWhileAnimating(),h=e.getUpdateWhileInteracting();if(!this.dirty_&&!r&&l||!h&&i)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;var f=t.extent,b=t.viewState,m=b.projection,g=b.resolution,_=t.pixelRatio,y=e.getRevision(),A=e.getRenderBuffer(),v=e.getRenderOrder();void 0===v&&(v=p.a);var C=b.center.slice(),w=Object(a.c)(f,A*g),P=[w.slice()],x=m.getExtent();if(n.getWrapX()&&m.canWrapX()&&!Object(a.g)(x,t.extent)){var S=Object(a.E)(x),k=Math.max(Object(a.E)(w)/2,S);w[0]=x[0]-k,w[2]=x[2]+k,Object(s.f)(C,m);var M=Object(a.K)(P[0],m);M[0]<x[0]&&M[2]<x[2]?P.push([M[0]+S,M[1],M[2]+S,M[3]]):M[0]>x[0]&&M[2]>x[2]&&P.push([M[0]-S,M[1],M[2]-S,M[3]])}if(!this.dirty_&&this.renderedResolution_==g&&this.renderedRevision_==y&&this.renderedRenderOrder_==v&&Object(a.g)(this.renderedExtent_,w))return this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var O,D=new c.a(Object(p.c)(g,_),w,g,_,e.getDeclutter()),T=Object(u.k)();if(T){for(var E=0,I=P.length;E<I;++E)n.loadFeatures(Object(u.o)(P[E],m),g,T);O=Object(u.j)(T,m)}else for(E=0,I=P.length;E<I;++E)n.loadFeatures(P[E],g,m);var L=Object(p.b)(g,_),j=(function(t){var n,l=t.getStyleFunction()||e.getStyleFunction();if(l&&(n=l(t,g)),n){var i=this.renderFeature(t,L,n,D,O);this.dirty_=this.dirty_||i}}).bind(this),R=Object(u.o)(w,m),F=n.getFeaturesInExtent(R);for(v&&F.sort(v),E=0,I=F.length;E<I;++E)j(F[E]);this.renderedFeatures_=F;var N=D.finish(),Y=new d.a(w,g,_,n.getOverlaps(),N,e.getRenderBuffer());return this.renderedResolution_=g,this.renderedRevision_=y,this.renderedRenderOrder_=v,this.renderedExtent_=w,this.renderedRotation_=b.rotation,this.renderedCenter_=C,this.renderedProjection_=m,this.replayGroup_=Y,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0},e.prototype.renderFeature=function(t,e,n,l,i){if(!n)return!1;var r=!1;if(Array.isArray(n))for(var o=0,a=n.length;o<a;++o)r=Object(p.d)(l,t,n[o],e,this.boundHandleStyleImageChange_,i)||r;else r=Object(p.d)(l,t,n,e,this.boundHandleStyleImageChange_,i);return r},e}(h.a),_=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),y=function(t){function e(e){return t.call(this,e)||this}return _(e,t),e.prototype.createRenderer=function(){return new g(this)},e}(i.a);e.a=y},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("D0XW"),r=n("Y7HM"),o=n("z+Ro");function a(t=0,e,n){let a=-1;return Object(r.a)(e)?a=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=i.a),new l.a(e=>{const l=Object(r.a)(t)?t:+t-n.now();return n.schedule(s,l,{index:0,period:a,subscriber:e})})}function s(t){const{index:e,period:n,subscriber:l}=t;if(l.next(e),!l.closed){if(-1===n)return l.complete();t.index=e+1,this.schedule(t,n)}}},Py6u:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}fleetItemControllerExportCsv$Response(e){const n=new o.a(this.rootUrl,t.FleetItemControllerExportCsvPath,"get");return e&&n.query("fleetId",e.fleetId),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}fleetItemControllerExportCsv(t){return this.fleetItemControllerExportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}fleetItemControllerImportCsv$Response(e){const n=new o.a(this.rootUrl,t.FleetItemControllerImportCsvPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}fleetItemControllerImportCsv(t){return this.fleetItemControllerImportCsv$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFleetItemControllerFleetItemPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFleetItemControllerFleetItem(t){return this.getOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFleetItemControllerFleetItemPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFleetItemControllerFleetItem(t){return this.replaceOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFleetItemControllerFleetItemPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFleetItemControllerFleetItem(t){return this.deleteOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFleetItemControllerFleetItemPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFleetItemControllerFleetItem(t){return this.updateOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFleetItemControllerFleetItemPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFleetItemControllerFleetItem(t){return this.getManyBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFleetItemControllerFleetItemPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFleetItemControllerFleetItem(t){return this.createOneBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFleetItemControllerFleetItem$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFleetItemControllerFleetItemPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFleetItemControllerFleetItem(t){return this.createManyBaseFleetItemControllerFleetItem$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.FleetItemControllerExportCsvPath="/fleet_item/csv/export",t.FleetItemControllerImportCsvPath="/fleet_item/csv/import",t.GetOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.ReplaceOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.DeleteOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.UpdateOneBaseFleetItemControllerFleetItemPath="/fleet_item/{id}",t.GetManyBaseFleetItemControllerFleetItemPath="/fleet_item",t.CreateOneBaseFleetItemControllerFleetItemPath="/fleet_item",t.CreateManyBaseFleetItemControllerFleetItemPath="/fleet_item/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},"Q+lL":function(t,e,n){"use strict";n.d(e,"c",(function(){return x})),n.d(e,"e",(function(){return b})),n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return g})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return P}));var l=n("8Y7J"),i=n("Xd0L"),r=n("XNiG"),o=n("1G5W"),a=n("5GAg"),s=n("KCVW"),u=n("8bJo"),c=n("dvZr");n("s7LF");class d{}const h=Object(i.F)(d);class p{}const f=Object(i.F)(p);class b extends h{constructor(){super(...arguments),this._stateChanges=new r.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}class m extends h{constructor(t){super(),this._elementRef=t,this._stateChanges=new r.a,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}class g extends f{constructor(t,e,n,l){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new r.a,this._isInteractiveList=!!(n||l&&"action-list"===l._getListType()),this._list=n||l;const i=this._getHostElement();"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Object(o.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}ngAfterContentInit(){Object(i.K)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}class _{}const y=Object(i.F)(_);class A{}const v=Object(i.F)(A);class C{constructor(t,e){this.source=t,this.option=e}}class w extends v{constructor(t,e,n){super(),this._element=t,this._changeDetector=e,this.selectionList=n,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.checkboxPosition="after"}get color(){return this._color||this.selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&t!==this.value&&(this.selected=!1),this._value=t}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(t){const e=Object(s.c)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(t){const e=Object(s.c)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())}ngOnInit(){const t=this.selectionList;t._value&&t._value.some(e=>t.compareWith(e,this._value))&&this._setSelected(!0);const e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetector.markForCheck())})}ngAfterContentInit(){Object(i.K)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const t=this._hasFocus,e=this.selectionList._removeOptionFromList(this);t&&e&&e.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){this.disabled||(this.toggle(),this.selectionList._emitChangeEvent(this))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}class P extends y{constructor(t,e){super(),this._element=t,this.selectionChange=new l.r,this.tabIndex=0,this.color="accent",this.compareWith=(t,e)=>t===e,this._disabled=!1,this.selectedOptions=new u.c(!0),this._onChange=t=>{},this._destroyed=new r.a,this._onTouched=()=>{},this.tabIndex=parseInt(e)||0}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this._markOptionsForCheck()}ngAfterContentInit(){this._keyManager=new a.g(this.options).withWrap().withTypeAhead().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this.selectedOptions.onChange.pipe(Object(o.a)(this._destroyed)).subscribe(t=>{if(t.added)for(let e of t.added)e.selected=!0;if(t.removed)for(let e of t.removed)e.selected=!1})}ngOnChanges(t){const e=t.disableRipple,n=t.color;(e&&!e.firstChange||n&&!n.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){this._setAllOptionsSelected(!0)}deselectAll(){this._setAllOptionsSelected(!1)}_setFocusedOption(t){this._keyManager.updateActiveItem(t)}_removeOptionFromList(t){const e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}_keydown(t){const e=t.keyCode,n=this._keyManager,l=n.activeItemIndex,i=Object(c.t)(t);switch(e){case c.o:case c.g:i||(this._toggleFocusedOption(),t.preventDefault());break;case c.i:case c.f:i||(e===c.i?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;case c.a:Object(c.t)(t,"ctrlKey")&&(this.options.find(t=>!t.selected)?this.selectAll():this.deselectAll(),t.preventDefault());break;default:n.onKeydown(t)}e!==c.q&&e!==c.e||!t.shiftKey||n.activeItemIndex===l||this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new C(this,t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_setOptionsFromValues(t){this.options.forEach(t=>t._setSelected(!1)),t.forEach(t=>{const e=this.options.find(e=>!e.selected&&this.compareWith(e.value,t));e&&e._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_toggleFocusedOption(){let t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){let e=this.options.toArray()[t];e&&!e.disabled&&(e.toggle(),this._emitChangeEvent(e))}}_setAllOptionsSelected(t){let e=!1;this.options.forEach(n=>{n._setSelected(t)&&(e=!0)}),e&&this._reportValueChange()}_isValidIndex(t){return t>=0&&t<this.options.length}_getOptionIndex(t){return this.options.toArray().indexOf(t)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}}class x{}},Q2ZK:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFeatureControllerFeaturePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFeatureControllerFeature(t){return this.getOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFeatureControllerFeaturePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFeatureControllerFeature(t){return this.replaceOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFeatureControllerFeaturePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFeatureControllerFeature(t){return this.deleteOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFeatureControllerFeaturePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFeatureControllerFeature(t){return this.updateOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFeatureControllerFeaturePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFeatureControllerFeature(t){return this.getManyBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFeatureControllerFeaturePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFeatureControllerFeature(t){return this.createOneBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFeatureControllerFeature$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFeatureControllerFeaturePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFeatureControllerFeature(t){return this.createManyBaseFeatureControllerFeature$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFeatureControllerFeaturePath="/feature/{id}",t.ReplaceOneBaseFeatureControllerFeaturePath="/feature/{id}",t.DeleteOneBaseFeatureControllerFeaturePath="/feature/{id}",t.UpdateOneBaseFeatureControllerFeaturePath="/feature/{id}",t.GetManyBaseFeatureControllerFeaturePath="/feature",t.CreateOneBaseFeatureControllerFeaturePath="/feature",t.CreateManyBaseFeatureControllerFeaturePath="/feature/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Q80o:function(t,e,n){function l(t){var n;function l(){if(l.enabled){var t=l,i=+new Date,r=i-(n||i);t.diff=r,t.prev=n,t.curr=i,n=i;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=e.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(n,l){if("%%"===n)return n;s++;var i=e.formatters[l];return"function"==typeof i&&(n=i.call(t,o[s]),o.splice(s,1),s--),n})),e.formatArgs.call(t,o);var u=l.log||e.log||console.log.bind(console);u.apply(t,o)}}return l.namespace=t,l.enabled=e.enabled(t),l.useColors=e.useColors(),l.color=function(t){var n,l=0;for(n in t)l=(l<<5)-l+t.charCodeAt(n),l|=0;return e.colors[Math.abs(l)%e.colors.length]}(t),l.destroy=i,"function"==typeof e.init&&e.init(l),e.instances.push(l),l}function i(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=l.debug=l.default=l).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var l=("string"==typeof t?t:"").split(/[\s,]+/),i=l.length;for(n=0;n<i;n++)l[n]&&("-"===(t=l[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")));for(n=0;n<e.instances.length;n++){var r=e.instances[n];r.enabled=e.enabled(r.namespace)}},e.enabled=function(t){if("*"===t[t.length-1])return!0;var n,l;for(n=0,l=e.skips.length;n<l;n++)if(e.skips[n].test(t))return!1;for(n=0,l=e.names.length;n<l;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n("5LH7"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},QL49:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("8Y7J");let i=(()=>{class t{constructor(){this.rootUrl=""}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},QN7Q:function(t,e){var n=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var l=n.call(arguments,2);return function(){return e.apply(t,l.concat(n.call(arguments)))}}},QQfA:function(t,e,n){"use strict";n.d(e,"c",(function(){return N})),n.d(e,"e",(function(){return D})),n.d(e,"b",(function(){return B})),n.d(e,"a",(function(){return z})),n.d(e,"f",(function(){return O})),n.d(e,"h",(function(){return R})),n.d(e,"d",(function(){return P})),n.d(e,"i",(function(){return w})),n.d(e,"g",(function(){return H})),n.d(e,"j",(function(){return U})),n.d(e,"k",(function(){return G}));var l=n("KCVW"),i=n("hOhj"),r=n("SVse"),o=n("8Y7J"),a=n("XNiG"),s=n("quSY"),u=n("HDdC"),c=n("VRyK"),d=n("IzEk"),h=n("1G5W"),p=n("/HVE"),f=n("zMNK"),b=n("dvZr");class m{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,l=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=l,n.scrollBehavior=i}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function g(){return Error("Scroll strategy has already been attached.")}class _{constructor(t,e,n,l){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=l,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class y{enable(){}disable(){}attach(){}}function A(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function v(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class C{constructor(t,e,n,l){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=l,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw g();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();A(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let w=(()=>{class t{constructor(t,e,n,l){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new y,this.close=t=>new _(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new m(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=l}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(i.b),Object(o.dc)(i.e),Object(o.dc)(o.G),Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})();class P{constructor(t){if(this.scrollStrategy=new y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class x{constructor(t,e,n,l,i){this.offsetX=n,this.offsetY=l,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class S{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function k(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function M(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let O=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})(),D=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.getElementsByClassName("cdk-overlay-container");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(r.d))},token:t,providedIn:"root"}),t})();class T{constructor(t,e,n,l,i,r,o,c){this._portalOutlet=t,this._host=e,this._pane=n,this._config=l,this._ngZone=i,this._keyboardDispatcher=r,this._document=o,this._location=c,this._backdropElement=null,this._backdropClick=new a.a,this._attachments=new a.a,this._detachments=new a.a,this._locationChanges=s.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEventsObservable=new u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new a.a,this._keydownEventSubscriptions=0,l.scrollStrategy&&(this._scrollStrategy=l.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=l.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(d.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign({},this._config,t),this._updateElementSize()}setDirection(t){this._config=Object.assign({},this._config,{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(h.a)(Object(c.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}class E{constructor(t,e,n,l,i){this._viewportRuler=e,this._document=n,this._platform=l,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new a.a,this._resizeSubscription=s.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,l=[];let i;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),s=this._getOverlayFit(a,e,n,r);if(s.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(s,a,n)?l.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!i||i.overlayFit.visibleArea<s.visibleArea)&&(i={overlayFit:s,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(l.length){let t=null,e=-1;for(const n of l){const l=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);l>e&&(e=l,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&I(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,l;if("center"==e.originX)n=t.left+t.width/2;else{const l=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?l:i}return l="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:l}}_getOverlayPoint(t,e,n){let l,i;return l="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+l,y:t.y+i}}_getOverlayFit(t,e,n,l){let{x:i,y:r}=t,o=this._getOffset(l,"x"),a=this._getOffset(l,"y");o&&(i+=o),a&&(r+=a);let s=0-r,u=r+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),d=this._subtractOverflows(e.height,s,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const l=n.bottom-e.y,i=n.right-e.x,r=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth,a=t.fitsInViewportHorizontally||null!=o&&o<=i;return(t.fitsInViewportVertically||null!=r&&r<=l)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const l=this._viewportRect,i=Math.max(t.x+e.width-l.right,0),r=Math.max(t.y+e.height-l.bottom,0),o=Math.max(l.top-n.top-t.y,0),a=Math.max(l.left-n.left-t.x,0);let s=0,u=0;return s=e.width<=l.width?a||-i:t.x<this._viewportMargin?l.left-n.left-t.x:0,u=e.height<=l.height?o||-r:t.y<this._viewportMargin?l.top-n.top-t.y:0,this._previousPushAmount={x:s,y:u},{x:t.x+s,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new S(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,l=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${n} ${l}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,l=this._isRtl();let i,r,o,a,s,u;if("top"===e.overlayY)r=t.y,i=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,i=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),l=this._lastBoundingBoxSize.height;i=2*e,r=t.y-e,i>l&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-l/2)}if("end"===e.overlayX&&!l||"start"===e.overlayX&&l)u=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!l||"end"===e.overlayX&&l)s=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),l=this._lastBoundingBoxSize.width;a=2*e,s=t.x-e,a>l&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.x-l/2)}return{top:r,left:s,bottom:o,right:u,width:a,height:i}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Object(l.d)(t)),r&&(i.maxWidth=Object(l.d)(r))}this._lastBoundingBoxSize=n,I(this._boundingBox.style,i)}_resetBoundingBoxStyles(){I(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){I(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={};if(this._hasExactPosition()){const l=this._viewportRuler.getViewportScrollPosition();I(n,this._getExactOverlayY(e,t,l)),I(n,this._getExactOverlayX(e,t,l))}else n.position="static";let l="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(l+=`translateX(${i}px) `),r&&(l+=`translateY(${r}px)`),n.transform=l.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),I(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(l.d)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Object(l.d)(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:v(t,n),isOriginOutsideView:A(t,n),isOverlayClipped:v(e,n),isOverlayOutsideView:A(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{M("originX",t.originX),k("originY",t.originY),M("overlayX",t.overlayX),k("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof o.p)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function I(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}class L{constructor(t,e,n,l,i,r,o){this._preferredPositions=[],this._positionStrategy=new E(n,l,i,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,l){const i=new x(t,e,n,l);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class j{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let R=(()=>{class t{constructor(t,e,n,l){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=l}global(){return new j}connectedTo(t,e,n){return new L(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new E(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.ngInjectableDef=Object(o.cc)({factory:function(){return new t(Object(o.dc)(i.e),Object(o.dc)(r.d),Object(o.dc)(p.a),Object(o.dc)(D))},token:t,providedIn:"root"}),t})(),F=0;class N{constructor(t,e,n,l,i,r,o,a,s,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=l,this._keyboardDispatcher=i,this._injector=r,this._ngZone=o,this._document=a,this._directionality=s,this._location=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),l=this._createPortalOutlet(n),i=new P(t);return i.direction=i.direction||this._directionality.value,new T(l,e,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+F++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(o.g)),new f.e(t,this._componentFactoryResolver,this._appRef,this._injector)}}const Y=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],U=new o.w("cdk-connected-overlay-scroll-strategy");class B{constructor(t){this.elementRef=t}}class z{constructor(t,e,n,l,i){this._overlay=t,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=s.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.r,this.positionChange=new o.r,this.attach=new o.r,this.detach=new o.r,this.overlayKeydown=new o.r,this._templatePortal=new f.h(e,n),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==b.h||Object(b.t)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this._createPositionStrategy(),e=new P({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}function G(t){return()=>t.scrollStrategies.reposition()}class H{}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},Qykp:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseBboxControllerBboxPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseBboxControllerBbox(t){return this.getOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseBboxControllerBboxPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseBboxControllerBbox(t){return this.replaceOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseBboxControllerBboxPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseBboxControllerBbox(t){return this.deleteOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseBboxControllerBboxPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseBboxControllerBbox(t){return this.updateOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseBboxControllerBboxPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseBboxControllerBbox(t){return this.getManyBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseBboxControllerBboxPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseBboxControllerBbox(t){return this.createOneBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseBboxControllerBbox$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseBboxControllerBboxPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseBboxControllerBbox(t){return this.createManyBaseBboxControllerBbox$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseBboxControllerBboxPath="/bbox/{id}",t.ReplaceOneBaseBboxControllerBboxPath="/bbox/{id}",t.DeleteOneBaseBboxControllerBboxPath="/bbox/{id}",t.UpdateOneBaseBboxControllerBboxPath="/bbox/{id}",t.GetManyBaseBboxControllerBboxPath="/bbox",t.CreateOneBaseBboxControllerBboxPath="/bbox",t.CreateManyBaseBboxControllerBboxPath="/bbox/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},QzRn:function(t,e,n){"use strict";var l=n("4mld"),i=n("ykKD");n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u}));var r,o=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n=t.call(this)||this;return e.handleEvent&&(n.handleEvent=e.handleEvent),n.map_=null,n.setActive(!0),n}return o(e,t),e.prototype.getActive=function(){return this.get("active")},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(t){return!0},e.prototype.setActive=function(t){this.set("active",t)},e.prototype.setMap=function(t){this.map_=t},e}(l.a);function s(t,e,n){var l=t.getCenterInternal();l&&t.animateInternal({duration:void 0!==n?n:250,easing:i.d,center:t.getConstrainedCenter([l[0]+e[0],l[1]+e[1]])})}function u(t,e,n,l){var r=t.getZoom();if(void 0!==r){var o=t.getConstrainedZoom(r+e),a=t.getResolutionForZoom(o);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:void 0!==l?l:250,easing:i.b})}}e.a=a},"R+T3":function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("egkh"),u=n("mrzG"),c=n("l2lA"),d=n("q7cr"),h=n("u2yf"),p=n("saKC"),f=n("xWBw"),b=n("HEh+"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e,n,l){var r=t.call(this)||this;if(r.ends_=[],r.maxDelta_=-1,r.maxDeltaRevision_=-1,Array.isArray(e[0]))r.setCoordinates(e,n);else if(void 0!==n&&l)r.setFlatCoordinates(n,e),r.ends_=l;else{for(var o=r.getLayout(),a=e,s=[],u=[],c=0,d=a.length;c<d;++c){var h=a[c];0===c&&(o=h.getLayout()),Object(i.c)(s,h.getFlatCoordinates()),u.push(s.length)}r.setFlatCoordinates(o,s),r.ends_=u}return r}return m(e,t),e.prototype.appendLineString=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates().slice()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice())},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(c.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(c.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,n,l))},e.prototype.getCoordinateAtM=function(t,e,n){if(this.layout!=o.a.XYM&&this.layout!=o.a.XYZM||0===this.flatCoordinates.length)return null;var l=void 0!==e&&e,i=void 0!==n&&n;return Object(p.c)(this.flatCoordinates,0,this.ends_,this.stride,t,l,i)},e.prototype.getCoordinates=function(){return Object(h.b)(this.flatCoordinates,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getLineString=function(t){return t<0||this.ends_.length<=t?null:new s.a(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLineStrings=function(){for(var t=this.flatCoordinates,e=this.ends_,n=this.layout,l=[],i=0,r=0,o=e.length;r<o;++r){var a=e[r],u=new s.a(t.slice(i,a),n);l.push(u),i=a}return l},e.prototype.getFlatMidpoints=function(){for(var t=[],e=this.flatCoordinates,n=0,l=this.ends_,r=this.stride,o=0,a=l.length;o<a;++o){var s=l[o],u=Object(p.a)(e,n,s,r,.5);Object(i.c)(t,u),n=s}return t},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(b.b)(this.flatCoordinates,0,this.ends_,this.stride,t,n,0,l),new e(n,o.a.XY,l)},e.prototype.getType=function(){return a.a.MULTI_LINE_STRING},e.prototype.intersectsExtent=function(t){return Object(f.b)(this.flatCoordinates,0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(d.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(u.a);e.a=g},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[n][0]:i[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RH9n:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h}));var l,i=n("8Y7J"),r=n("HDdC"),o=n("w1tV"),a=n("gFX4"),s=n.n(a);class u{constructor(t){this.config=t,this.subscribersCounter={},this.eventObservables$={},this.emptyConfig={url:"",options:{}},void 0===t&&(t=this.emptyConfig),this.ioSocket=(s.a?s.a:a)(t.url,t.options)}of(t){this.ioSocket.of(t)}on(t,e){this.ioSocket.on(t,e)}once(t,e){this.ioSocket.once(t,e)}connect(){return this.ioSocket.connect()}disconnect(t){return this.ioSocket.disconnect.apply(this.ioSocket,arguments)}emit(t,...e){return this.ioSocket.emit.apply(this.ioSocket,arguments)}removeListener(t,e){return this.ioSocket.removeListener.apply(this.ioSocket,arguments)}removeAllListeners(t){return this.ioSocket.removeAllListeners.apply(this.ioSocket,arguments)}fromEvent(t){return this.subscribersCounter[t]||(this.subscribersCounter[t]=0),this.subscribersCounter[t]++,this.eventObservables$[t]||(this.eventObservables$[t]=new r.a(e=>{const n=t=>{e.next(t)};return this.ioSocket.on(t,n),()=>{this.subscribersCounter[t]--,0===this.subscribersCounter[t]&&(this.ioSocket.removeListener(t,n),delete this.eventObservables$[t])}}).pipe(Object(o.a)())),this.eventObservables$[t]}fromOneTimeEvent(t){return new Promise(e=>this.once(t,e))}}function c(t){return new u(t)}const d=new i.w("__SOCKET_IO_CONFIG__");let h=l=class{static forRoot(t){return{ngModule:l,providers:[{provide:d,useValue:t},{provide:u,useFactory:c,deps:[d]}]}}}},Rj0l:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l){var i,r,o,a;for(e=parseInt(e,10),n=parseFloat(n),l=parseFloat(l),o=1,i=Math.round(n);i>=t.BLOCK_SIZE;)i-=t.BLOCK_SIZE,o+=1;for(o%=t.GRIDSQUARE_SET_ROW_SIZE,a=0,r=Math.round(l);r>=t.BLOCK_SIZE;)r-=t.BLOCK_SIZE,a+=1;return a%=t.GRIDSQUARE_SET_COL_SIZE,function(e,n,l){var i,r;switch(0===n?n=t.GRIDSQUARE_SET_ROW_SIZE-1:n-=1,0===l?l=t.GRIDSQUARE_SET_COL_SIZE-1:l-=1,e){case 1:i="ABCDEFGH",r="ABCDEFGHJKLMNPQRSTUV";break;case 2:i="JKLMNPQR",r="FGHJKLMNPQRSTUVABCDE";break;case 3:i="STUVWXYZ",r="ABCDEFGHJKLMNPQRSTUV";break;case 4:i="ABCDEFGH",r="FGHJKLMNPQRSTUVABCDE";break;case 5:i="JKLMNPQR",r="ABCDEFGHJKLMNPQRSTUV";break;case 6:i="STUVWXYZ",r="FGHJKLMNPQRSTUVABCDE";break;default:throw"Unrecognized set passed to lettersHelper"}return i.charAt(l)+r.charAt(n)}(function(t){var e;switch(t=parseInt(t,10),t%=6){case 0:e=6;break;case 1:e=1;break;case 2:e=2;break;case 3:e=3;break;case 4:e=4;break;case 5:e=5;break;default:e=-1}return e}(e),o,a)}function n(t){return 84>=(t=parseFloat(t))&&t>=72?"X":72>t&&t>=64?"W":64>t&&t>=56?"V":56>t&&t>=48?"U":48>t&&t>=40?"T":40>t&&t>=32?"S":32>t&&t>=24?"R":24>t&&t>=16?"Q":16>t&&t>=8?"P":8>t&&t>=0?"N":0>t&&t>=-8?"M":-8>t&&t>=-16?"L":-16>t&&t>=-24?"K":-24>t&&t>=-32?"J":-32>t&&t>=-40?"H":-40>t&&t>=-48?"G":-48>t&&t>=-56?"F":-56>t&&t>=-64?"E":-64>t&&t>=-72?"D":-72>t&&t>=-80?"C":"Z"}function l(t){var e={};if("object"!=typeof t||!t.degrees||!t.minutes||!t.seconds)return!1;e.degrees="string"==typeof t.degrees?parseInt(t.degrees,10):t.degrees,t.direction&&(e.degrees*="S"===t.direction||"W"===t.direction?-Math.abs(e.degrees):Math.abs(e.degrees)),e.minutes="string"==typeof t.minutes?Math.abs(parseInt(t.minutes,10)):Math.abs(t.minutes),e.seconds="string"==typeof t.seconds?Math.abs(parseInt(t.seconds,10)):Math.abs(t.seconds)}function i(t){var e,n,i={};if("object"==typeof t)i=l(t);else{if(!/^[NSEW\-]?\d{1,3}[\xb0 ]\d{1,2}[' ]\d{1,2}(\.\d{1,3})?[" ][NSEW]?$/.test(t))throw"Angle not formatted correctly: "+t;e=t.match(/-?\d+(\.\d+)?/g),i.degrees=parseInt(e[0],10),i.minutes=parseInt(e[1],10),i.seconds=parseFloat(e[2])}return e=String(i.minutes/60+i.seconds/3600),n=i.degrees+"."+e.substring(e.indexOf(".")+1),parseFloat(n)}function r(t,e){var n;if(t=parseFloat(t),(e=parseFloat(e))>360||e<-180||t>90||t<-90)throw"Bad input. lat: "+t+" lon: "+e;return n=parseInt((e+180)/6,10)+1,t>=56&&t<64&&e>=3&&e<12&&(n=32),t>=72&&t<84&&(e>=0&&e<9?n=31:e>=9&&e<21?n=33:e>=21&&e<33?n=35:e>=33&&e<42&&(n=37)),n}return function(o){return t=o,{dmsVerify:l,dmsToDecimal:i,getZoneNumber:r,utmLetterDesignator:n,findGridLetters:e}}})?l.apply(e,[]):l)||(t.exports=i)},Rlre:function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return A})),n.d(e,"a",(function(){return S})),n.d(e,"d",(function(){return M}));var l=n("8Y7J"),i=n("rWV4"),r=n("SVse"),o=n("POq0"),a=n("IP0z"),s=n("Xd0L"),u=(n("cUpR"),n("zMNK")),c=n("/HVE"),d=n("5GAg"),h=n("omvX"),p=n("hOhj"),f=l.Bb({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function b(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function m(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(1,212992,null,0,u.c,[l.m,l.Y],{portal:[0,"portal"]},null),(t()(),l.sb(0,null,null,0))],(function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)}),null)}function g(t){return l.Yb(0,[(t()(),l.Wb(0,null,["",""]))],null,(function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)}))}function _(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._handleClick(t.context.$implicit,l.Pb(t.parent,3),t.context.index)&&i),i}),null,null)),l.Cb(1,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),l.Cb(2,147456,null,0,d.e,[l.p,d.h],null,null),l.Cb(3,16384,[[3,4]],0,i.i,[l.p],{disabled:[0,"disabled"]},null),(t()(),l.Db(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(6,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(8,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)}),(function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,l.Pb(e,1).unbounded,l.Pb(e,3).disabled,!!l.Pb(e,3).disabled])}))}function y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],(function(t,e,n){var l=!0,i=t.component;return"_onCentered"===e&&(l=!1!==i._removeTabBodyWrapperHeight()&&l),"_onCentering"===e&&(l=!1!==i._setTabBodyWrapperHeight(n)&&l),l}),w,v)),l.Cb(1,245760,null,0,i.d,[l.p,[2,a.b],l.j],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],(function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)}),(function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)}))}function A(t){return l.Yb(2,[l.Ub(671088640,1,{_tabBodyWrapper:0}),l.Ub(671088640,2,{_tabHeader:0}),(t()(),l.Db(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],(function(t,e,n){var l=!0,i=t.component;return"indexFocused"===e&&(l=!1!==i._focusChanged(n)&&l),"selectFocusedIndex"===e&&(l=!1!==(i.selectedIndex=n)&&l),l}),x,P)),l.Cb(3,7520256,[[2,4],["tabHeader",4]],1,i.h,[l.p,l.j,p.e,[2,a.b],l.G,c.a,[2,h.a]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),l.Ub(603979776,3,{_items:1}),(t()(),l.sb(16777216,null,0,1,null,_)),l.Cb(6,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,y)),l.Cb(9,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.selectedIndex,n.disableRipple),t(e,6,0,n._tabs),t(e,9,0,n._tabs)}),(function(t,e){var n=e.component;t(e,2,0,l.Pb(e,3)._showPaginationControls,"rtl"==l.Pb(e,3)._getLayoutDirection()),t(e,7,0,"NoopAnimations"===n._animationMode)}))}var v=l.Bb({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function C(t){return l.Yb(0,[(t()(),l.sb(0,null,null,0))],null,null)}function w(t){return l.Yb(2,[l.Ub(671088640,1,{_portalHost:0}),(t()(),l.Db(1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],(function(t,e,n){var l=!0,i=t.component;return"@translateTab.start"===e&&(l=!1!==i._onTranslateTabStarted(n)&&l),"@translateTab.done"===e&&(l=!1!==i._translateTabComplete.next(n)&&l),l}),null,null)),l.Rb(2,{animationDuration:0}),l.Rb(3,{value:0,params:1}),(t()(),l.sb(16777216,null,null,1,null,C)),l.Cb(5,212992,null,0,i.e,[l.m,l.Y,i.d],null,null)],(function(t,e){t(e,5,0)}),(function(t,e){var n=e.component,l=t(e,3,0,n._position,t(e,2,0,n.animationDuration));t(e,1,0,l)}))}var P=l.Bb({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function x(t){return l.Yb(2,[l.Ub(402653184,1,{_inkBar:0}),l.Ub(402653184,2,{_tabListContainer:0}),l.Ub(402653184,3,{_tabList:0}),l.Ub(671088640,4,{_nextPaginator:0}),l.Ub(671088640,5,{_previousPaginator:0}),(t()(),l.Db(5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i._handlePaginatorClick("before")&&l),"mousedown"===e&&(l=!1!==i._handlePaginatorPress("before")&&l),"touchend"===e&&(l=!1!==i._stopInterval()&&l),l}),null,null)),l.Cb(6,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),l.Db(8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],(function(t,e,n){var l=!0;return"keydown"===e&&(l=!1!==t.component._handleKeydown(n)&&l),l}),null,null)),(t()(),l.Db(9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onContentChanges()&&l),l}),null,null)),l.Cb(10,1196032,null,0,o.a,[o.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),l.Cb(14,16384,[[1,4]],0,i.b,[l.p,l.G,i.l,[2,h.a]],null,null),(t()(),l.Db(15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],(function(t,e,n){var l=!0,i=t.component;return"mousedown"===e&&(l=!1!==i._handlePaginatorPress("after")&&l),"click"===e&&(l=!1!==i._handlePaginatorClick("after")&&l),"touchend"===e&&(l=!1!==i._stopInterval()&&l),l}),null,null)),l.Cb(16,212992,null,0,s.x,[l.p,l.G,c.a,[2,s.m],[2,h.a]],{disabled:[0,"disabled"]},null),(t()(),l.Db(17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,6,0,n._disableScrollBefore||n.disableRipple),t(e,16,0,n._disableScrollAfter||n.disableRipple)}),(function(t,e){var n=e.component;t(e,5,0,n._disableScrollBefore,l.Pb(e,6).unbounded),t(e,9,0,"NoopAnimations"===n._animationMode),t(e,13,0,"NoopAnimations"===l.Pb(e,14)._animationMode),t(e,15,0,n._disableScrollAfter,l.Pb(e,16).unbounded)}))}var S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(0,[l.Ob(null,0),(t()(),l.sb(0,null,null,0))],null,null)}function M(t){return l.Yb(2,[l.Ub(402653184,1,{_implicitContent:0}),(t()(),l.sb(0,[[1,2]],null,0,null,k))],null,null)}},Rn7m:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("/Co4"),n("SVse")),r=(n("QQfA"),n("IP0z"),n("Xd0L"),n("cUpR"),n("/HVE"),n("zMNK"),n("hOhj"),l.Bb({encapsulation:2,styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}@media (-ms-high-contrast:active){.mat-autocomplete-panel{outline:solid 1px}}"],data:{}}));function o(t){return l.Yb(0,[(t()(),l.Db(0,0,[[2,0],["panel",1]],null,3,"div",[["class","mat-autocomplete-panel"],["role","listbox"]],[[8,"id",0]],null,null,null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Ob(null,0)],(function(t,e){t(e,2,0,"mat-autocomplete-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component.id)}))}function a(t){return l.Yb(2,[l.Ub(402653184,1,{template:0}),l.Ub(671088640,2,{panel:0}),(t()(),l.sb(0,[[1,2]],null,0,null,o))],null,null)}},RnhZ:function(t,e,n){var l={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function i(t){var e=r(t);return n(e)}function r(t){if(!n.o(l,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return l[t]}i.keys=function(){return Object.keys(l)},i.resolve=r,t.exports=i,i.id="RnhZ"},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=t+" ";switch(n){case"ss":return l+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return l+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return l+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return l+(1===t?"dan":"dana");case"MM":return l+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return l+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SSvb:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("JW8z");function i(t){const e=[];for(const n in t)t.hasOwnProperty(n)&&(e[n]=Object(l.d)(t[n]));return e}function r(t){const e=[];let n=0;for(const i of t){e[n]=[];for(const t of i)e[n].push(Object(l.d)(t));n++}return e}},SVse:function(t,e,n){"use strict";n.d(e,"F",(function(){return G})),n.d(e,"o",(function(){return V})),n.d(e,"p",(function(){return H})),n.d(e,"G",(function(){return q})),n.d(e,"c",(function(){return Ct})),n.d(e,"l",(function(){return K})),n.d(e,"m",(function(){return Q})),n.d(e,"n",(function(){return tt})),n.d(e,"q",(function(){return ct})),n.d(e,"r",(function(){return it})),n.d(e,"s",(function(){return rt})),n.d(e,"t",(function(){return ot})),n.d(e,"u",(function(){return dt})),n.d(e,"d",(function(){return wt})),n.d(e,"b",(function(){return gt})),n.d(e,"e",(function(){return _t})),n.d(e,"f",(function(){return vt})),n.d(e,"h",(function(){return yt})),n.d(e,"E",(function(){return Pt})),n.d(e,"y",(function(){return xt})),n.d(e,"z",(function(){return St})),n.d(e,"x",(function(){return kt})),n.d(e,"B",(function(){return $})),n.d(e,"A",(function(){return W})),n.d(e,"D",(function(){return st})),n.d(e,"C",(function(){return at})),n.d(e,"w",(function(){return i})),n.d(e,"i",(function(){return r})),n.d(e,"k",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return c})),n.d(e,"v",(function(){return d})),n.d(e,"j",(function(){return s}));var l=n("8Y7J");class i{}const r=new l.w("Location Initialized");class o{}const a=new l.w("appBaseHref");class s{constructor(t,e){this._subject=new l.r,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=s.stripTrailingSlash(u(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+s.normalizeQueryParams(e))}normalize(t){return s.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,u(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+s.normalizeQueryParams(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+s.normalizeQueryParams(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}static normalizeQueryParams(t){return t&&"?"!==t[0]?"?"+t:t}static joinWithSlash(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}}function u(t){return t.replace(/\/index.html$/,"")}class c extends o{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=s.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,l){let i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,l){let i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class d extends o{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return s.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+s.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,l){const i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,l){const i=this.prepareExternalUrl(n+s.normalizeQueryParams(l));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const h=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),p=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),f=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),b=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),m=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),g=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function _(t,e){return P(Object(l.Eb)(t)[l.ob.DateFormat],e)}function y(t,e){return P(Object(l.Eb)(t)[l.ob.TimeFormat],e)}function A(t,e){return P(Object(l.Eb)(t)[l.ob.DateTimeFormat],e)}function v(t,e){const n=Object(l.Eb)(t),i=n[l.ob.NumberSymbols][e];if(void 0===i){if(e===g.CurrencyDecimal)return n[l.ob.NumberSymbols][g.Decimal];if(e===g.CurrencyGroup)return n[l.ob.NumberSymbols][g.Group]}return i}const C=l.Fb;function w(t){if(!t[l.ob.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[l.ob.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function P(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function x(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const S=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,k={},M=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,O=function(){var t={Short:0,ShortGMT:1,Long:2,Extended:3};return t[t.Short]="Short",t[t.ShortGMT]="ShortGMT",t[t.Long]="Long",t[t.Extended]="Extended",t}(),D=function(){var t={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return t[t.FullYear]="FullYear",t[t.Month]="Month",t[t.Date]="Date",t[t.Hours]="Hours",t[t.Minutes]="Minutes",t[t.Seconds]="Seconds",t[t.FractionalSeconds]="FractionalSeconds",t[t.Day]="Day",t}(),T=function(){var t={DayPeriods:0,Days:1,Months:2,Eras:3};return t[t.DayPeriods]="DayPeriods",t[t.Days]="Days",t[t.Months]="Months",t[t.Eras]="Eras",t}();function E(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function I(t,e,n="-",l,i){let r="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return l&&(o=o.substr(o.length-e)),r+o}function L(t,e,n=0,l=!1,i=!1){return function(r,o){let a=function(t,e){switch(t){case D.FullYear:return e.getFullYear();case D.Month:return e.getMonth();case D.Date:return e.getDate();case D.Hours:return e.getHours();case D.Minutes:return e.getMinutes();case D.Seconds:return e.getSeconds();case D.FractionalSeconds:return e.getMilliseconds();case D.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||a>-n)&&(a+=n),t===D.Hours)0===a&&-12===n&&(a=12);else if(t===D.FractionalSeconds)return s=e,I(a,3).substr(0,s);var s;const u=v(o,g.MinusSign);return I(a,e,u,l,i)}}function j(t,e,n=f.Format,i=!1){return function(r,o){return function(t,e,n,i,r,o){switch(n){case T.Months:return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.MonthsFormat],i[l.ob.MonthsStandalone]],e);return P(r,n)}(e,r,i)[t.getMonth()];case T.Days:return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.DaysFormat],i[l.ob.DaysStandalone]],e);return P(r,n)}(e,r,i)[t.getDay()];case T.DayPeriods:const a=t.getHours(),s=t.getMinutes();if(o){const t=function(t){const e=Object(l.Eb)(t);return w(e),(e[l.ob.ExtraData][2]||[]).map(t=>"string"==typeof t?x(t):[x(t[0]),x(t[1])])}(e),n=function(t,e,n){const i=Object(l.Eb)(t);w(i);const r=P([i[l.ob.ExtraData][0],i[l.ob.ExtraData][1]],e)||[];return P(r,n)||[]}(e,r,i);let o;if(t.forEach((t,e)=>{if(Array.isArray(t)){const{hours:l,minutes:i}=t[0],{hours:r,minutes:u}=t[1];a>=l&&s>=i&&(a<r||a===r&&s<u)&&(o=n[e])}else{const{hours:l,minutes:i}=t;l===a&&i===s&&(o=n[e])}}),o)return o}return function(t,e,n){const i=Object(l.Eb)(t),r=P([i[l.ob.DayPeriodsFormat],i[l.ob.DayPeriodsStandalone]],e);return P(r,n)}(e,r,i)[a<12?0:1];case T.Eras:return function(t,e){return P(Object(l.Eb)(t)[l.ob.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,t,e,n,i)}}function R(t){return function(e,n,l){const i=-1*l,r=v(n,g.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case O.Short:return(i>=0?"+":"")+I(o,2,r)+I(Math.abs(i%60),2,r);case O.ShortGMT:return"GMT"+(i>=0?"+":"")+I(o,1,r);case O.Long:return"GMT"+(i>=0?"+":"")+I(o,2,r)+":"+I(Math.abs(i%60),2,r);case O.Extended:return 0===l?"Z":(i>=0?"+":"")+I(o,2,r)+":"+I(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function F(t,e=!1){return function(n,l){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(n.getFullYear()),e=(r=n,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(4-r.getDay()))).getTime()-t.getTime();i=1+Math.round(e/6048e5)}var r;return I(i,t,v(l,g.MinusSign))}}const N={};function Y(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function U(t){return t instanceof Date&&!isNaN(t.valueOf())}const B=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function z(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}const G=new l.w("UseV4Plurals");class H{}class V extends H{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):C(e||this.locale)(t)){case p.Zero:return"zero";case p.One:return"one";case p.Two:return"two";case p.Few:return"few";case p.Many:return"many";default:return"other"}}}function q(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[l,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(l.trim()===e)return decodeURIComponent(i)}return null}class W{}class ${constructor(t,e,n,l){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=l,this._initialClasses=[]}getValue(){return null}setClass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(l.Ib)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(l.Vb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}let X=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class K extends X{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}class J{constructor(t,e,n,l){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=l}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Q{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(l.hb)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,l)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new J(null,this._ngForOf,-1,-1),null===l?void 0:l),i=new Z(t,n);e.push(i)}else if(null==l)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,l);const r=new Z(t,i);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,l=this._viewContainer.length;n<l;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=l,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}class Z{constructor(t,e){this.record=t,this.view=e}}class tt{constructor(t,e){this._viewContainer=t,this._context=new et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){nt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){nt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}class et{constructor(){this.$implicit=null,this.ngIf=null}}function nt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(l.Vb)(e)}'.`)}class lt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}class it{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}class rt{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new lt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}class ot{constructor(t,e,n){n._addDefault(new lt(t,e))}}class at{}class st{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}getValue(){return null}setNgStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}applyChanges(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}_setStyle(t,e){const[n,l]=t.split(".");null!=(e=null!=e&&l?`${e}${l}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}}let ut=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class ct extends ut{constructor(t){super(t)}set ngStyle(t){this._delegate.setNgStyle(t)}ngDoCheck(){this._delegate.applyChanges()}}class dt{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){this._shouldRecreateView(t)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}function ht(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(l.Vb)(t)}'`)}class pt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class ft{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const bt=new ft,mt=new pt;class gt{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(l.Lb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.ab.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(t){if(Object(l.Kb)(t))return bt;if(Object(l.Jb)(t))return mt;throw ht(gt,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}class _t{constructor(t){this.locale=t}transform(t,e="mediumDate",n,i){if(null==t||""===t||t!=t)return null;try{return function(t,e,n,i){let r=function(t){if(U(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,l]=t.split("-").map(t=>+t);return new Date(e,n-1,l)}let n;if(n=t.match(S))return function(t){const e=new Date(0);let n=0,l=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),l=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-l,s=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,s,u),e}(n)}const e=new Date(t);if(!U(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,n){const i=function(t){return Object(l.Eb)(t)[l.ob.LocaleId]}(e);if(k[i]=k[i]||{},k[i][n])return k[i][n];let r="";switch(n){case"shortDate":r=_(e,m.Short);break;case"mediumDate":r=_(e,m.Medium);break;case"longDate":r=_(e,m.Long);break;case"fullDate":r=_(e,m.Full);break;case"shortTime":r=y(e,m.Short);break;case"mediumTime":r=y(e,m.Medium);break;case"longTime":r=y(e,m.Long);break;case"fullTime":r=y(e,m.Full);break;case"short":const n=t(e,"shortTime"),l=t(e,"shortDate");r=E(A(e,m.Short),[n,l]);break;case"medium":const i=t(e,"mediumTime"),o=t(e,"mediumDate");r=E(A(e,m.Medium),[i,o]);break;case"long":const a=t(e,"longTime"),s=t(e,"longDate");r=E(A(e,m.Long),[a,s]);break;case"full":const u=t(e,"fullTime"),c=t(e,"fullDate");r=E(A(e,m.Full),[u,c])}return r&&(k[i][n]=r),r}(n,e)||e;let o,a=[];for(;e;){if(o=M.exec(e),!o){a.push(e);break}{a=a.concat(o.slice(1));const t=a.pop();if(!t)break;e=t}}let s=r.getTimezoneOffset();i&&(s=Y(i,s),r=function(t,e,n){const l=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Y(e,l)-l))}(r,i));let u="";return a.forEach(t=>{const e=function(t){if(N[t])return N[t];let e;switch(t){case"G":case"GG":case"GGG":e=j(T.Eras,b.Abbreviated);break;case"GGGG":e=j(T.Eras,b.Wide);break;case"GGGGG":e=j(T.Eras,b.Narrow);break;case"y":e=L(D.FullYear,1,0,!1,!0);break;case"yy":e=L(D.FullYear,2,0,!0,!0);break;case"yyy":e=L(D.FullYear,3,0,!1,!0);break;case"yyyy":e=L(D.FullYear,4,0,!1,!0);break;case"M":case"L":e=L(D.Month,1,1);break;case"MM":case"LL":e=L(D.Month,2,1);break;case"MMM":e=j(T.Months,b.Abbreviated);break;case"MMMM":e=j(T.Months,b.Wide);break;case"MMMMM":e=j(T.Months,b.Narrow);break;case"LLL":e=j(T.Months,b.Abbreviated,f.Standalone);break;case"LLLL":e=j(T.Months,b.Wide,f.Standalone);break;case"LLLLL":e=j(T.Months,b.Narrow,f.Standalone);break;case"w":e=F(1);break;case"ww":e=F(2);break;case"W":e=F(1,!0);break;case"d":e=L(D.Date,1);break;case"dd":e=L(D.Date,2);break;case"E":case"EE":case"EEE":e=j(T.Days,b.Abbreviated);break;case"EEEE":e=j(T.Days,b.Wide);break;case"EEEEE":e=j(T.Days,b.Narrow);break;case"EEEEEE":e=j(T.Days,b.Short);break;case"a":case"aa":case"aaa":e=j(T.DayPeriods,b.Abbreviated);break;case"aaaa":e=j(T.DayPeriods,b.Wide);break;case"aaaaa":e=j(T.DayPeriods,b.Narrow);break;case"b":case"bb":case"bbb":e=j(T.DayPeriods,b.Abbreviated,f.Standalone,!0);break;case"bbbb":e=j(T.DayPeriods,b.Wide,f.Standalone,!0);break;case"bbbbb":e=j(T.DayPeriods,b.Narrow,f.Standalone,!0);break;case"B":case"BB":case"BBB":e=j(T.DayPeriods,b.Abbreviated,f.Format,!0);break;case"BBBB":e=j(T.DayPeriods,b.Wide,f.Format,!0);break;case"BBBBB":e=j(T.DayPeriods,b.Narrow,f.Format,!0);break;case"h":e=L(D.Hours,1,-12);break;case"hh":e=L(D.Hours,2,-12);break;case"H":e=L(D.Hours,1);break;case"HH":e=L(D.Hours,2);break;case"m":e=L(D.Minutes,1);break;case"mm":e=L(D.Minutes,2);break;case"s":e=L(D.Seconds,1);break;case"ss":e=L(D.Seconds,2);break;case"S":e=L(D.FractionalSeconds,1);break;case"SS":e=L(D.FractionalSeconds,2);break;case"SSS":e=L(D.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=R(O.Short);break;case"ZZZZZ":e=R(O.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=R(O.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=R(O.Long);break;default:return null}return N[t]=e,e}(t);u+=e?e(r,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}(t,e,i||this.locale,n)}catch(r){throw ht(_t,r.message)}}}class yt{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=At){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}function At(t,e){const n=t.key,l=e.key;if(n===l)return 0;if(void 0===n)return 1;if(void 0===l)return-1;if(null===n)return 1;if(null===l)return-1;if("string"==typeof n&&"string"==typeof l)return n<l?-1:1;if("number"==typeof n&&"number"==typeof l)return n-l;if("boolean"==typeof n&&"boolean"==typeof l)return n<l?-1:1;const i=String(n),r=String(l);return i==r?0:i<r?-1:1}class vt{constructor(t){this._locale=t}transform(t,e,n){if(function(t){return null==t||""===t||t!=t}(t))return null;n=n||this._locale;try{return function(t,e,n){return function(t,e,n,l,i,r,o=!1){let a="",s=!1;if(isFinite(t)){let u=function(t){let e,n,l,i,r,o=Math.abs(t)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(l=o.search(/e/i))>0?(n<0&&(n=l),n+=+o.slice(l+1),o=o.substring(0,l)):n<0&&(n=o.length),l=0;"0"===o.charAt(l);l++);if(l===(r=o.length))e=[0],n=1;else{for(r--;"0"===o.charAt(r);)r--;for(n-=l,e=[],i=0;l<=r;l++,i++)e[i]=Number(o.charAt(l))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(u=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(u));let c=e.minInt,d=e.minFrac,h=e.maxFrac;if(r){const t=r.match(B);if(null===t)throw new Error(r+" is not a valid digit info");const e=t[1],n=t[3],l=t[5];null!=e&&(c=z(e)),null!=n&&(d=z(n)),null!=l?h=z(l):null!=n&&d>h&&(h=d)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let l=t.digits,i=l.length-t.integerLen;const r=Math.min(Math.max(e,i),n);let o=r+t.integerLen,a=l[o];if(o>0){l.splice(Math.max(t.integerLen,o));for(let t=o;t<l.length;t++)l[t]=0}else{i=Math.max(0,i),t.integerLen=1,l.length=Math.max(1,o=r+1),l[0]=0;for(let t=1;t<o;t++)l[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)l.unshift(0),t.integerLen++;l.unshift(1),t.integerLen++}else l[o-1]++;for(;i<Math.max(0,r);i++)l.push(0);let s=0!==r;const u=e+t.integerLen,c=l.reduceRight((function(t,e,n,l){return l[n]=(e+=t)<10?e:e-10,s&&(0===l[n]&&n>=u?l.pop():s=!1),e>=10?1:0}),0);c&&(l.unshift(c),t.integerLen++)}(u,d,h);let p=u.digits,f=u.integerLen;const b=u.exponent;let m=[];for(s=p.every(t=>!t);f<c;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const _=[];for(p.length>=e.lgSize&&_.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)_.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join(v(n,l)),m.length&&(a+=v(n,i)+m.join("")),b&&(a+=v(n,g.Exponential)+"+"+b)}else a=v(n,g.Infinity);return a=t<0&&!s?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},l=t.split(";"),i=l[0],r=l[1],o=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=o[0],s=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let c=0;c<s.length;c++){const t=s.charAt(c);"0"===t?n.minFrac=n.maxFrac=c+1:"#"===t?n.maxFrac=c+1:n.posSuf+=t}const u=a.split(",");if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,r){const t=i.length-n.posPre.length-n.posSuf.length,e=r.indexOf("#");n.negPre=r.substr(0,e).replace(/'/g,""),n.negSuf=r.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(function(t,e){return Object(l.Eb)(t)[l.ob.NumberFormats][e]}(e,h.Decimal),v(e,g.MinusSign)),e,g.Group,g.Decimal,n)}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(t),n,e)}catch(i){throw ht(vt,i.message)}}}class Ct{}const wt=new l.w("DocumentToken"),Pt="browser";function xt(t){return t===Pt}function St(t){return"server"===t}let kt=(()=>{class t{}return t.ngInjectableDef=Object(l.cc)({token:t,providedIn:"root",factory:()=>new Mt(Object(l.dc)(wt),window,Object(l.dc)(l.q))}),t})();class Mt{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,l=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],l-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},"SW/M":function(t,e,n){"use strict";e.a={ANIMATING:0,INTERACTING:1}},SYdj:function(t,e,n){var l,i,r;i=[n("1SYQ")],void 0===(r="function"==typeof(l=function(t){"use strict";return t})?l.apply(e,i):l)||(t.exports=r)},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1200?"\u4e0a\u5348":1200===l?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(t,e,n){"use strict";var l=n("ngJS"),i=n("NJ4a"),r=n("Lhse"),o=n("kJWO"),a=n("I55L"),s=n("c2HN"),u=n("XoHu");n.d(e,"a",(function(){return c}));const c=t=>{if(t&&"function"==typeof t[o.a])return c=t,t=>{const e=c[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(l.a)(t);if(Object(s.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i.a),t);if(t&&"function"==typeof t[r.a])return e=t,t=>{const n=e[r.a]();for(;;){let e;try{e=n.next()}catch(l){return t.error(l),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(u.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,c}},SpAZ:function(t,e,n){"use strict";function l(t){return t}n.d(e,"a",(function(){return l}))},SzCE:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("Mc5n"),r=n("SVse"),o=n("IP0z"),a=n("oBZk"),s=n("ZZ/e"),u=n("s6ns"),c=n("aECi");n.d(e,"a",(function(){return m}));var d=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.dialog-header[_ngcontent-%COMP%]{background-color:var(--ion-color-primary);color:#fff;padding:10px;margin:0}#close-button[_ngcontent-%COMP%]{float:right;color:#fff;background-color:transparent;margin-right:10px;font-size:25px;margin-top:14px}.drag-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.field-container[_ngcontent-%COMP%]{width:200px;max-width:100%;margin:0 25px 25px 0;display:inline-block;vertical-align:top}.field-list[_ngcontent-%COMP%]{border:1px solid #ccc;min-height:60px;background:#fff;border-radius:4px;overflow:hidden;display:block}.field-box[_ngcontent-%COMP%]{padding:5px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0,0,.2,1)}.field-box[_ngcontent-%COMP%]:last-child{border:none}.field-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .field-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1)}"]],data:{}});function h(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,6,"div",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),l.Tb(6144,null,i.l,null,[i.c]),l.Cb(2,4866048,[[1,4]],3,i.c,[l.p,[3,i.b],r.d,l.G,l.Y,i.a,[2,o.b],i.g,l.j],null,null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,2).disabled,l.Pb(e,2)._dragRef.isDragging()),t(e,6,0,e.context.$implicit)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,6,"div",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),l.Tb(6144,null,i.l,null,[i.c]),l.Cb(2,4866048,[[5,4]],3,i.c,[l.p,[3,i.b],r.d,l.G,l.Y,i.a,[2,o.b],i.g,l.j],null,null),l.Ub(603979776,6,{_handles:1}),l.Ub(603979776,7,{_previewTemplate:0}),l.Ub(603979776,8,{_placeholderTemplate:0}),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,2).disabled,l.Pb(e,2)._dragRef.isDragging()),t(e,6,0,e.context.$implicit)}))}function f(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["id","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),a.y,a.g)),l.Cb(1,49152,null,0,s.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,2,"h1",[["class","dialog-header mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),l.Cb(3,81920,null,0,u.m,[[2,u.l],l.p,u.e],null,null),(t()(),l.Wb(-1,null,["RIGHT PANEL EDITION"])),(t()(),l.Db(5,0,null,null,23,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(6,16384,null,0,u.j,[],null,null),(t()(),l.Db(7,0,null,null,21,"div",[["cdkDropListGroup",""],["class","drag-container"]],null,null,null,null,null)),l.Cb(8,147456,null,0,i.f,[],null,null),(t()(),l.Db(9,0,null,null,9,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PANEL FIELDS"])),(t()(),l.Db(12,0,null,null,6,"div",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),null,null)),l.Tb(6144,null,i.b,null,[i.e]),l.Cb(14,1196032,null,1,i.e,[l.p,i.g,l.j,[2,o.b],[3,i.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,1,{_draggables:1}),l.Tb(256,null,i.f,void 0,[]),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(18,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(19,0,null,null,9,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(20,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OTHER FIELDS"])),(t()(),l.Db(22,0,null,null,6,"div",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),null,null)),l.Tb(6144,null,i.b,null,[i.e]),l.Cb(24,1196032,null,1,i.e,[l.p,i.g,l.j,[2,o.b],[3,i.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,5,{_draggables:1}),l.Tb(256,null,i.f,void 0,[]),(t()(),l.sb(16777216,null,null,1,null,p)),l.Cb(28,278528,null,0,r.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close"),t(e,3,0),t(e,14,0,n.panelFields),t(e,18,0,n.panelFields),t(e,24,0,n.otherFields),t(e,28,0,n.otherFields)}),(function(t,e){t(e,2,0,l.Pb(e,3).id),t(e,12,0,l.Pb(e,14).id,l.Pb(e,14).disabled,l.Pb(e,14)._dropListRef.isDragging(),l.Pb(e,14)._dropListRef.isReceiving()),t(e,22,0,l.Pb(e,24).id,l.Pb(e,24).disabled,l.Pb(e,24)._dropListRef.isDragging(),l.Pb(e,24)._dropListRef.isReceiving())}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-right-panel-params-dialog",[],null,null,null,f,d)),l.Cb(1,245760,null,0,c.a,[u.l,u.a],null,null)],(function(t,e){t(e,1,0)}),null)}var m=l.zb("sepia-right-panel-params-dialog",c.a,b,{},{},[])},TN97:function(t,e,n){"use strict";var l,i=n("kvpX"),r=n("Ho3V"),o=n("AdTM"),a=n("4mld"),s=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this)||this;return n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addEventListener(Object(a.b)(n.geometryName_),n.handleGeometryChanged_),e&&("function"==typeof e.getSimplifiedGeometry?n.setGeometry(e):n.setProperties(e)),n}return s(e,t),e.prototype.clone=function(){var t=new e(this.getProperties());t.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&t.setGeometry(n.clone());var l=this.getStyle();return l&&t.setStyle(l),t},e.prototype.getGeometry=function(){return this.get(this.geometryName_)},e.prototype.getId=function(){return this.id_},e.prototype.getGeometryName=function(){return this.geometryName_},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.handleGeometryChange_=function(){this.changed()},e.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(Object(r.c)(this.geometryChangeKey_),this.geometryChangeKey_=null);var t=this.getGeometry();t&&(this.geometryChangeKey_=Object(r.a)(t,o.a.CHANGE,this.handleGeometryChange_,this)),this.changed()},e.prototype.setGeometry=function(t){this.set(this.geometryName_,t)},e.prototype.setStyle=function(t){var e,n;this.style_=t,this.styleFunction_=t?"function"==typeof(e=t)?e:(Array.isArray(e)?n=e:(Object(i.a)("function"==typeof e.getZIndex,41),n=[e]),function(){return n}):void 0,this.changed()},e.prototype.setId=function(t){this.id_=t,this.changed()},e.prototype.setGeometryName=function(t){this.removeEventListener(Object(a.b)(this.geometryName_),this.handleGeometryChanged_),this.geometryName_=t,this.addEventListener(Object(a.b)(this.geometryName_),this.handleGeometryChanged_),this.handleGeometryChanged_()},e}(a.a);e.a=u},TYbz:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}ghostControllerGetGhosts$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerGetGhostsPath,"get");return this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerGetGhosts(t){return this.ghostControllerGetGhosts$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerUpdateGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerUpdateGhostPath,"put");return e&&(n.query("icao",e.icao),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerUpdateGhost(t){return this.ghostControllerUpdateGhost$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerAddGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerAddGhostPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerAddGhost(t){return this.ghostControllerAddGhost$Response(t).pipe(Object(s.a)(t=>t.body))}ghostControllerDeleteGhost$Response(e){const n=new o.a(this.rootUrl,t.GhostControllerDeleteGhostPath,"delete");return e&&n.query("icao",e.icao),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}ghostControllerDeleteGhost(t){return this.ghostControllerDeleteGhost$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GhostControllerGetGhostsPath="/ghost",t.GhostControllerUpdateGhostPath="/ghost",t.GhostControllerAddGhostPath="/ghost",t.GhostControllerDeleteGhostPath="/ghost",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},TZgD:function(t,e,n){"use strict";function l(t,e,n,l){for(;e<n-l;){for(var i=0;i<l;++i){var r=t[e+i];t[e+i]=t[n-l+i],t[n-l+i]=r}e+=l,n-=l}}function i(t,e,n,l){for(var i=0,r=t[n-l],o=t[n-l+1];e<n;e+=l){var a=t[e],s=t[e+1];i+=(a-r)*(s+o),r=a,o=s}return i>0}function r(t,e,n,l,r){for(var o=void 0!==r&&r,a=0,s=n.length;a<s;++a){var u=n[a],c=i(t,e,u,l);if(0===a){if(o&&c||!o&&!c)return!1}else if(o&&!c||!o&&c)return!1;e=u}return!0}function o(t,e,n,l,i){for(var o=0,a=n.length;o<a;++o){var s=n[o];if(!r(t,e,s,l,i))return!1;s.length&&(e=s[s.length-1])}return!0}function a(t,e,n,r,o){for(var a=void 0!==o&&o,s=0,u=n.length;s<u;++s){var c=n[s],d=i(t,e,c,r);(0===s?a&&d||!a&&!d:a&&!d||!a&&d)&&l(t,e,c,r),e=c}return e}function s(t,e,n,l,i){for(var r=0,o=n.length;r<o;++r)e=a(t,e,n[r],l,i);return e}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s}))},Tosz:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},TypT:function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),l=0,i=n.length;l<i;l++){var r=n[l].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}},UDhR:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UJLV:function(t,e,n){var l,i,r;i=[n("d5dl"),n("GKYg"),n("X1gR")],void 0===(r="function"==typeof(l=function(t,e,n){"use strict";return e=e(t),n=n(t),{toLatLong:e,toUsng:n,getConverter:function(t){var l;switch(t.toLowerCase()){case"latlong":l=e;break;case"usng":l=n}return l}}})?l.apply(e,i):l)||(t.exports=r)},UK0T:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("ppab"),i=n("Pmt0"),r=n("978D"),o=(n("svHU"),n("YGmB"),n("7/LY")),a=n("EDvw"),s=(n("qToJ"),n("P151"),n("Y4ja"));n("sLNx");class u extends l.a{constructor(t,e,n,l,i,r,o,a){super(),this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.timeService=l,this.iconsService=i,this.settingService=r,this.modeService=o,this.replayTripService=a,this.subscription={},this.daemonInterval=null,this.extent=[]}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",this.getLayer()),this.extent=this.mapService.getView().calculateExtent(this.mapService.getMap().getSize()),this.initTraffic(),this.modeService.getModeMapChangeEmitter().subscribe(t=>{t===s.a.ALL_AIRCRAFT&&null===this.daemonInterval?(this.destroyReplayTrip(),this.initTraffic()):t===s.a.ONE_AIRCRAFT&&(this.destroyTraffic(),this.initReplayTrip())})}initReplayTrip(){this.subscription.aircraftChange=this.replayTripService.getAircraftChange().subscribe(t=>{this.updateReplayTrip(t)})}initTraffic(){this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)}),this.subscription.colorListChange=this.settingService.getColorAircraftListsChangeEmitter().subscribe(()=>{this.source.getFeatures().forEach(t=>{t.setColor(),t.setOlStyleAircraft()})}),this.subscription.daemonChangeEvent=this.timeService.getDaemonChangeEmitter().subscribe(t=>{t!==r.a.REALTIME&&t!==r.a.REPLAY||(this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),this.getTraffic())}),this.subscription.viewChangeEvent=this.mapService.getViewChangeEmitter().subscribe(t=>{this.extent=t.calculateExtent(this.mapService.getMap().getSize()),this.getTraffic()}),this.daemonInterval=setInterval(()=>{this.getTraffic()},2e3)}ngOnDestroy(){this.destroyTraffic()}destroyReplayTrip(){this.selectAircraftService.deleteAircraft(this.replayTripService.aircraft),this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft();for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}destroyTraffic(){this.removeFeatures(this.trafficService.getAircraftArray()),this.trafficService.deleteAllAircraft(),clearInterval(this.daemonInterval),this.daemonInterval=null;for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}manageSelectedAircrafts(t){if(t.haveOneStatus([o.a.SELECT,o.a.WATCH,o.a.UNSELECT,o.a.HOVER])){const e=this.source.getFeatureById(t.aircraft.icao);t.haveStatus(o.a.HOVER),e&&(e.setStatus(t.status),e.setColor(),e.setOlStyleAircraft()),t.haveStatus(o.a.FOLLOW)&&this.mapService.recenterMap([t.aircraft.longitude,t.aircraft.latitude])}}getTraffic(){if(!this.timeService.isLock){const t=this.timeService.getDateReplay();if(t&&!this.timeService.isPlayingReplay())return;this.timeService.isLock=!0;const e=this.selectAircraftService.getAircraftsSelected(),n=this.selectAircraftService.getAircraftsFocus();this.trafficService.getTraffic(this.extent,e,(t,e,n)=>{this.refreshAircrafts(t,e,n)},t,n)}}refreshAircrafts(t,e,n){this.timeService.isLock=!1,this.timeService.haveStarted=!1,this.removeFeatures(t),this.addFeatures(e),this.updateFeatures(n)}removeFeatures(t){t.forEach(t=>{this.selectAircraftService.deleteAircraft(t);const e=this.source.getFeatureById(t.icao);e&&this.source.removeFeature(e)})}addFeatures(t){const e=[];t.forEach(t=>{const n=new a.a(t,this.settingService,this.iconsService);e.push(n)}),this.source.addFeatures(e)}updateFeatures(t){t.forEach(t=>{const e=this.source.getFeatureById(t.icao);if(e)e.setGeo(),this.selectAircraftService.updateAircraft(t);else{const e=new a.a(t,this.settingService,this.iconsService);this.source.addFeature(e)}})}updateReplayTrip(t){if(this.trafficService.aircrafts[t.icao]){const e=this.source.getFeatureById(t.icao);this.selectAircraftService.updateAircraft(t,!1),e.setGeo()}else{const e=new a.a(t,this.settingService,this.iconsService);this.source.addFeature(e),this.trafficService.addAircraft(t),this.selectAircraftService.selectAircraft(t,null,!1),this.mapService.recenterMap([t.longitude,t.latitude])}}getLayer(){return this.layer||(this.layer=new i.a({name:this.name,visible:this.visibility,zIndex:this.zIndex,source:super.getVectorSource()})),this.layer}}},UN5i:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseOperatorControllerOperatorPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseOperatorControllerOperator(t){return this.getOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseOperatorControllerOperatorPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseOperatorControllerOperator(t){return this.replaceOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseOperatorControllerOperatorPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseOperatorControllerOperator(t){return this.deleteOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseOperatorControllerOperatorPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseOperatorControllerOperator(t){return this.updateOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseOperatorControllerOperatorPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseOperatorControllerOperator(t){return this.getManyBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseOperatorControllerOperatorPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseOperatorControllerOperator(t){return this.createOneBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseOperatorControllerOperator$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseOperatorControllerOperatorPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseOperatorControllerOperator(t){return this.createManyBaseOperatorControllerOperator$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseOperatorControllerOperatorPath="/operator/{id}",t.ReplaceOneBaseOperatorControllerOperatorPath="/operator/{id}",t.DeleteOneBaseOperatorControllerOperatorPath="/operator/{id}",t.UpdateOneBaseOperatorControllerOperatorPath="/operator/{id}",t.GetManyBaseOperatorControllerOperatorPath="/operator",t.CreateOneBaseOperatorControllerOperatorPath="/operator",t.CreateManyBaseOperatorControllerOperatorPath="/operator/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},USCx:function(t,e,n){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},Uhtb:function(t,e,n){"use strict";e.a={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},UrOv:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.getOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.replaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.deleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.updateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.getManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.createOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation(t){return this.createManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariation$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.ReplaceOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.DeleteOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.UpdateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/{id}",t.GetManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation",t.CreateOneBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation",t.CreateManyBaseNotificationTypeAltitudeVariationControllerNotificationTypeAltitudeVariationPath="/notification_type_altitude_variation/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Uwu7:function(t,e,n){var l=n("x7D4")("socket.io-parser"),i=n("cpc2"),r=n("Njrz"),o=n("luTP"),a=n("qGlh");function s(){}e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=s,e.Decoder=d;var u=e.ERROR+'"encode error"';function c(t){var n=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data){var i=function(t){try{return JSON.stringify(t)}catch(e){return!1}}(t.data);if(!1===i)return u;n+=i}return l("encoded %j as %s",t,n),n}function d(){this.reconstructor=null}function h(t){this.reconPack=t,this.buffers=[]}function p(t){return{type:e.ERROR,data:"parser error: "+t}}s.prototype.encode=function(t,n){l("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type?function(t,e){r.removeBlobs(t,(function(t){var n=r.deconstructPacket(t),l=c(n.packet),i=n.buffers;i.unshift(l),e(i)}))}(t,n):n([c(t)])},i(d.prototype),d.prototype.add=function(t){var n;if("string"==typeof t)n=function(t){var n=0,i={type:Number(t.charAt(0))};if(null==e.types[i.type])return p("unknown packet type "+i.type);if(e.BINARY_EVENT===i.type||e.BINARY_ACK===i.type){for(var r=n+1;"-"!==t.charAt(++n)&&n!=t.length;);var a=t.substring(r,n);if(a!=Number(a)||"-"!==t.charAt(n))throw new Error("Illegal attachments");i.attachments=Number(a)}if("/"===t.charAt(n+1)){for(r=n+1;++n&&","!==(u=t.charAt(n))&&n!==t.length;);i.nsp=t.substring(r,n)}else i.nsp="/";var s=t.charAt(n+1);if(""!==s&&Number(s)==s){for(r=n+1;++n;){var u;if(null==(u=t.charAt(n))||Number(u)!=u){--n;break}if(n===t.length)break}i.id=Number(t.substring(r,n+1))}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(e){return!1}}(t.substr(n));if(!1===c||i.type!==e.ERROR&&!o(c))return p("invalid payload");i.data=c}return l("decoded %s as %j",t,i),i}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new h(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",n))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},h.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},h.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},Uxeu:function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,l=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e,i,r=t,o=t.indexOf("["),a=t.indexOf("]");-1!=o&&-1!=a&&(t=t.substring(0,o)+t.substring(o,a).replace(/:/g,";")+t.substring(a,t.length));for(var s,u=n.exec(t||""),c={},d=14;d--;)c[l[d]]=u[d]||"";return-1!=o&&-1!=a&&(c.source=r,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=(i=(e=c.path).replace(/\/{2,9}/g,"/").split("/"),"/"!=e.substr(0,1)&&0!==e.length||i.splice(0,1),"/"==e.substr(e.length-1,1)&&i.splice(i.length-1,1),i),c.queryKey=(s={},c.query.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(t,e,n){e&&(s[e]=n)})),s),c}},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},V8uu:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var l=n("n15R");function i(){return!0}function r(){return!1}function o(){}function a(t){var e,n,i,r=!1;return function(){var o=Array.prototype.slice.call(arguments);return r&&this===i&&Object(l.b)(o,n)||(r=!0,i=this,n=o,e=t.apply(this,arguments)),e}}},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var l=n("HDdC"),i=n("z+Ro"),r=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(i.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof l.a?t[0]:Object(r.a)(e)(Object(o.a)(t,n))}},"VWR+":function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4mld"),o=n("30zj"),a=n("f8l7"),s=n("OPOH"),u=n("kvpX"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(e){var n=t.call(this)||this,l=Object(s.a)({},e);return l[o.a.OPACITY]=void 0!==e.opacity?e.opacity:1,Object(u.a)("number"==typeof l[o.a.OPACITY],64),l[o.a.VISIBLE]=void 0===e.visible||e.visible,l[o.a.Z_INDEX]=e.zIndex,l[o.a.MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,l[o.a.MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,l[o.a.MIN_ZOOM]=void 0!==e.minZoom?e.minZoom:-1/0,l[o.a.MAX_ZOOM]=void 0!==e.maxZoom?e.maxZoom:1/0,n.className_=void 0!==l.className?e.className:"ol-layer",delete l.className,n.setProperties(l),n.state_=null,n}return c(e,t),e.prototype.getClassName=function(){return this.className_},e.prototype.getLayerState=function(t){var e=this.state_||{layer:this,managed:void 0===t||t},n=this.getZIndex();return e.opacity=Object(a.a)(Math.round(100*this.getOpacity())/100,0,1),e.sourceState=this.getSourceState(),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==n?n:!1===e.managed?1/0:0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e},e.prototype.getLayersArray=function(t){return Object(i.b)()},e.prototype.getLayerStatesArray=function(t){return Object(i.b)()},e.prototype.getExtent=function(){return this.get(o.a.EXTENT)},e.prototype.getMaxResolution=function(){return this.get(o.a.MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(o.a.MIN_RESOLUTION)},e.prototype.getMinZoom=function(){return this.get(o.a.MIN_ZOOM)},e.prototype.getMaxZoom=function(){return this.get(o.a.MAX_ZOOM)},e.prototype.getOpacity=function(){return this.get(o.a.OPACITY)},e.prototype.getSourceState=function(){return Object(i.b)()},e.prototype.getVisible=function(){return this.get(o.a.VISIBLE)},e.prototype.getZIndex=function(){return this.get(o.a.Z_INDEX)},e.prototype.setExtent=function(t){this.set(o.a.EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(o.a.MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(o.a.MIN_RESOLUTION,t)},e.prototype.setMaxZoom=function(t){this.set(o.a.MAX_ZOOM,t)},e.prototype.setMinZoom=function(t){this.set(o.a.MIN_ZOOM,t)},e.prototype.setOpacity=function(t){Object(u.a)("number"==typeof t,64),this.set(o.a.OPACITY,t)},e.prototype.setVisible=function(t){this.set(o.a.VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(o.a.Z_INDEX,t)},e.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),t.prototype.disposeInternal.call(this)},e}(r.a);e.a=d},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},Vgg8:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationControllerNotificationPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationControllerNotification(t){return this.getOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationControllerNotificationPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationControllerNotification(t){return this.replaceOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationControllerNotificationPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationControllerNotification(t){return this.deleteOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationControllerNotificationPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationControllerNotification(t){return this.updateOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationControllerNotificationPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationControllerNotification(t){return this.getManyBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationControllerNotificationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationControllerNotification(t){return this.createOneBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationControllerNotification$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationControllerNotificationPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationControllerNotification(t){return this.createManyBaseNotificationControllerNotification$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationControllerNotificationPath="/notification/{id}",t.ReplaceOneBaseNotificationControllerNotificationPath="/notification/{id}",t.DeleteOneBaseNotificationControllerNotificationPath="/notification/{id}",t.UpdateOneBaseNotificationControllerNotificationPath="/notification/{id}",t.GetManyBaseNotificationControllerNotificationPath="/notification",t.CreateOneBaseNotificationControllerNotificationPath="/notification",t.CreateManyBaseNotificationControllerNotificationPath="/notification/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Vq53:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t){var e,n=0,l=[],i={};if("string"!=typeof t)throw"Input to parseUsng must be a USNG string.";if((l=t.toUpperCase().replace(/%20/g,"").replace(/ /g,"")).length<7)throw"This application requires minimum USNG precision of 10,000 meters";for(i.zoneNumber=l.match(/^\d{1,2}/)[0],n+=i.zoneNumber.length,i.zoneNumber=parseInt(i.zoneNumber,10),i.zoneLetter=l.charAt(n),i.sq1=l.charAt(n+=1),i.sq2=l.charAt(n+=1),i.precision=(l.length-(n+=1))/2,i.east="",i.north="",e=0;e<i.precision;e+=1)i.east+=l.charAt(n),n+=1;for(" "===l[n]&&(n+=1),e=0;e<i.precision;e+=1)i.north+=l.charAt(n),n+=1;return i}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},W5yJ:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return d}));var l=n("KCVW"),i=n("8Y7J"),r=n("Xd0L");class o{constructor(t){this._elementRef=t}}const a=Object(r.E)(o,"primary"),s=new i.w("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let u=(()=>{class t extends a{constructor(e,n,l,i,r){super(e),this._elementRef=e,this._document=l,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;o.has(l.head)||o.set(l.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(l.f)(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(l.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(l.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=function(t,e){if("undefined"!=typeof window){const n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){const e=t.getRootNode?t.getRootNode():null;if(e instanceof window.ShadowRoot)return e}}return null}(t,this._document)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,l=t._diameters;let i=l.get(e);if(!i||!i.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",n+""),t.textContent=this._getAnimationText(),e.appendChild(t),i||(i=new Set,l.set(e,i)),i.add(n)}}_getAnimationText(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}}return t._diameters=new WeakMap,t})();class c extends u{constructor(t,e,n,l,i){super(t,e,n,l,i),this.mode="indeterminate"}}class d{}},W8M7:function(t,e,n){"use strict";n.d(e,"b",(function(){return C}));var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("BJ1j"),u=n("9ANI"),c=n("mrzG"),d=(n("eQqr"),n("tYnX")),h=n("l2lA"),p=n("JfHk"),f=n("q7cr"),b=n("u2yf"),m=n("Cp04"),g=n("xWBw"),_=n("TZgD"),y=n("HEh+"),A=(n("f8l7"),l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),v=function(t){function e(e,n,l){var i=t.call(this)||this;return i.ends_=[],i.flatInteriorPointRevision_=-1,i.flatInteriorPoint_=null,i.maxDelta_=-1,i.maxDeltaRevision_=-1,i.orientedRevision_=-1,i.orientedFlatCoordinates_=null,void 0!==n&&l?(i.setFlatCoordinates(n,e),i.ends_=l):i.setCoordinates(e,n),i}return A(e,t),e.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice())},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(h.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(h.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.containsXY=function(t,e){return Object(p.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return Object(d.b)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(_.d)(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Object(b.b)(e,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Object(r.x)(this.getExtent());this.flatInteriorPoint_=Object(m.a)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new u.a(this.getFlatInteriorPoint(),o.a.XYM)},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new s.a(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLinearRings=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.ends_,l=[],i=0,r=0,o=n.length;r<o;++r){var a=n[r],u=new s.a(e.slice(i,a),t);l.push(u),i=a}return l},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(_.b)(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(_.d)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(y.c)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),n,0,l),new e(n,o.a.XY,l)},e.prototype.getType=function(){return a.a.POLYGON},e.prototype.intersectsExtent=function(t){return Object(g.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(f.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(c.a);function C(t){var e=t[0],n=t[1],l=t[2],i=t[3],r=[e,n,e,i,l,i,l,n,e,n];return new v(r,o.a.XY,[r.length])}e.a=v},WDFe:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4wAk"),o=n("GDrd"),a=n("e0/R"),s=n("n15R"),u=n("kvpX"),c=n("Ho3V"),d=n("zvco"),h=n("AdTM"),p=n("CvXi"),f=n("bY/R"),b=n("V8uu"),m=n("cV7i"),g=n("OPOH"),_=n("/4Cu"),y=n("bYNo"),A=n("pD/Q"),v=n("tV43"),C=n.n(v),w=function(){function t(t){this.rbush_=new C.a(t),this.items_={}}return t.prototype.insert=function(t,e){var n={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(n),this.items_[Object(i.c)(e)]=n},t.prototype.load=function(t,e){for(var n=new Array(e.length),l=0,r=e.length;l<r;l++){var o=t[l],a=e[l],s={minX:o[0],minY:o[1],maxX:o[2],maxY:o[3],value:a};n[l]=s,this.items_[Object(i.c)(a)]=s}this.rbush_.load(n)},t.prototype.remove=function(t){var e=Object(i.c)(t),n=this.items_[e];return delete this.items_[e],null!==this.rbush_.remove(n)},t.prototype.update=function(t,e){var n=this.items_[Object(i.c)(e)],l=[n.minX,n.minY,n.maxX,n.maxY];Object(p.p)(l,t)||(this.remove(e),this.insert(t,e))},t.prototype.getAll=function(){return this.rbush_.all().map((function(t){return t.value}))},t.prototype.getInExtent=function(t){return this.rbush_.search({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}).map((function(t){return t.value}))},t.prototype.forEach=function(t){return this.forEach_(this.getAll(),t)},t.prototype.forEachInExtent=function(t,e){return this.forEach_(this.getInExtent(t),e)},t.prototype.forEach_=function(t,e){for(var n,l=0,i=t.length;l<i;l++)if(n=e(t[l]))return n;return n},t.prototype.isEmpty=function(){return Object(g.d)(this.items_)},t.prototype.clear=function(){this.rbush_.clear(),this.items_={}},t.prototype.getExtent=function(t){var e=this.rbush_.toJSON();return Object(p.k)(e.minX,e.minY,e.maxX,e.maxY,t)},t.prototype.concat=function(t){for(var e in this.rbush_.load(t.rbush_.all()),t.items_)this.items_[e]=t.items_[e]},t}(),P=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),x=function(t){function e(e,n){var l=t.call(this,e)||this;return l.feature=n,l}return P(e,t),e}(d.a),S=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{attributions:l.attributions,projection:void 0,state:y.a.READY,wrapX:void 0===l.wrapX||l.wrapX})||this).loader_=b.c,n.format_=l.format,n.overlaps_=void 0===l.overlaps||l.overlaps,n.url_=l.url,void 0!==l.loader?n.loader_=l.loader:void 0!==n.url_&&(Object(u.a)(n.format_,7),n.loader_=Object(f.b)(n.url_,n.format_)),n.strategy_=void 0!==l.strategy?l.strategy:m.a;var i,o,a=void 0===l.useSpatialIndex||l.useSpatialIndex;return n.featuresRtree_=a?new w:null,n.loadedExtentsRtree_=new w,n.nullGeometryFeatures_={},n.idIndex_={},n.uidIndex_={},n.featureChangeKeys_={},n.featuresCollection_=null,Array.isArray(l.features)?o=l.features:l.features&&(o=(i=l.features).getArray()),a||void 0!==i||(i=new r.a(o)),void 0!==o&&n.addFeaturesInternal(o),void 0!==i&&n.bindFeaturesCollection_(i),n}return P(e,t),e.prototype.addFeature=function(t){this.addFeatureInternal(t),this.changed()},e.prototype.addFeatureInternal=function(t){var e=Object(i.c)(t);if(this.addToIndex_(e,t)){this.setupChangeEvents_(e,t);var n=t.getGeometry();if(n){var l=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(l,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new x(A.a.ADDFEATURE,t))}else this.featuresCollection_&&this.featuresCollection_.remove(t)},e.prototype.setupChangeEvents_=function(t,e){this.featureChangeKeys_[t]=[Object(c.a)(e,h.a.CHANGE,this.handleFeatureChange_,this),Object(c.a)(e,a.a.PROPERTYCHANGE,this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(t,e){var n=!0,l=e.getId();return void 0!==l&&(l.toString()in this.idIndex_?n=!1:this.idIndex_[l.toString()]=e),n&&(Object(u.a)(!(t in this.uidIndex_),30),this.uidIndex_[t]=e),n},e.prototype.addFeatures=function(t){this.addFeaturesInternal(t),this.changed()},e.prototype.addFeaturesInternal=function(t){for(var e=[],n=[],l=[],r=0,o=t.length;r<o;r++){var a=t[r],s=Object(i.c)(a);this.addToIndex_(s,a)&&n.push(a)}r=0;for(var u=n.length;r<u;r++){a=n[r],s=Object(i.c)(a),this.setupChangeEvents_(s,a);var c=a.getGeometry();if(c){var d=c.getExtent();e.push(d),l.push(a)}else this.nullGeometryFeatures_[s]=a}this.featuresRtree_&&this.featuresRtree_.load(e,l),r=0;for(var h=n.length;r<h;r++)this.dispatchEvent(new x(A.a.ADDFEATURE,n[r]))},e.prototype.bindFeaturesCollection_=function(t){var e=!1;this.addEventListener(A.a.ADDFEATURE,(function(n){e||(e=!0,t.push(n.feature),e=!1)})),this.addEventListener(A.a.REMOVEFEATURE,(function(n){e||(e=!0,t.remove(n.feature),e=!1)})),t.addEventListener(o.a.ADD,(function(t){e||(e=!0,this.addFeature(t.element),e=!1)}).bind(this)),t.addEventListener(o.a.REMOVE,(function(t){e||(e=!0,this.removeFeature(t.element),e=!1)}).bind(this)),this.featuresCollection_=t},e.prototype.clear=function(t){if(t){for(var e in this.featureChangeKeys_)this.featureChangeKeys_[e].forEach(c.c);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_)for(var n in this.featuresRtree_.forEach(this.removeFeatureInternal.bind(this)),this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n]);this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};var l=new x(A.a.CLEAR);this.dispatchEvent(l),this.changed()},e.prototype.forEachFeature=function(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)},e.prototype.forEachFeatureAtCoordinateDirect=function(t,e){return this.forEachFeatureInExtent([t[0],t[1],t[0],t[1]],(function(n){return n.getGeometry().intersectsCoordinate(t)?e(n):void 0}))},e.prototype.forEachFeatureInExtent=function(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)},e.prototype.forEachFeatureIntersectingExtent=function(t,e){return this.forEachFeatureInExtent(t,(function(n){if(n.getGeometry().intersectsExtent(t)){var l=e(n);if(l)return l}}))},e.prototype.getFeaturesCollection=function(){return this.featuresCollection_},e.prototype.getFeatures=function(){var t;return this.featuresCollection_?t=this.featuresCollection_.getArray():this.featuresRtree_&&(t=this.featuresRtree_.getAll(),Object(g.d)(this.nullGeometryFeatures_)||Object(s.c)(t,Object(g.c)(this.nullGeometryFeatures_))),t},e.prototype.getFeaturesAtCoordinate=function(t){var e=[];return this.forEachFeatureAtCoordinateDirect(t,(function(t){e.push(t)})),e},e.prototype.getFeaturesInExtent=function(t){return this.featuresRtree_?this.featuresRtree_.getInExtent(t):this.featuresCollection_?this.featuresCollection_.getArray():[]},e.prototype.getClosestFeatureToCoordinate=function(t,e){var n=t[0],l=t[1],i=null,r=[NaN,NaN],o=1/0,a=[-1/0,-1/0,1/0,1/0],s=e||b.b;return this.featuresRtree_.forEachInExtent(a,(function(t){if(s(t)){var e=t.getGeometry(),u=o;if((o=e.closestPointXY(n,l,r,o))<u){i=t;var c=Math.sqrt(o);a[0]=n-c,a[1]=l-c,a[2]=n+c,a[3]=l+c}}})),i},e.prototype.getExtent=function(t){return this.featuresRtree_.getExtent(t)},e.prototype.getFeatureById=function(t){var e=this.idIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getFeatureByUid=function(t){var e=this.uidIndex_[t];return void 0!==e?e:null},e.prototype.getFormat=function(){return this.format_},e.prototype.getOverlaps=function(){return this.overlaps_},e.prototype.getUrl=function(){return this.url_},e.prototype.handleFeatureChange_=function(t){var e=t.target,n=Object(i.c)(e),l=e.getGeometry();if(l){var r=l.getExtent();n in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[n],this.featuresRtree_&&this.featuresRtree_.insert(r,e)):this.featuresRtree_&&this.featuresRtree_.update(r,e)}else n in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[n]=e);var o=e.getId();if(void 0!==o){var a=o.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[n]=e;this.changed(),this.dispatchEvent(new x(A.a.CHANGEFEATURE,e))},e.prototype.hasFeature=function(t){var e=t.getId();return void 0!==e?e in this.idIndex_:Object(i.c)(t)in this.uidIndex_},e.prototype.isEmpty=function(){return this.featuresRtree_.isEmpty()&&Object(g.d)(this.nullGeometryFeatures_)},e.prototype.loadFeatures=function(t,e,n){var l=this.loadedExtentsRtree_,i=this.strategy_(t,e);this.loading=!1;for(var r=function(t,r){var a=i[t];l.forEachInExtent(a,(function(t){return Object(p.g)(t.extent,a)}))||(o.loader_.call(o,a,e,n),l.insert(a,{extent:a.slice()}),o.loading=o.loader_!==b.c)},o=this,a=0,s=i.length;a<s;++a)r(a)},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(t){var e,n=this.loadedExtentsRtree_;n.forEachInExtent(t,(function(n){if(Object(p.p)(n.extent,t))return e=n,!0})),e&&n.remove(e)},e.prototype.removeFeature=function(t){var e=Object(i.c)(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t),this.changed()},e.prototype.removeFeatureInternal=function(t){var e=Object(i.c)(t);this.featureChangeKeys_[e].forEach(c.c),delete this.featureChangeKeys_[e];var n=t.getId();void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new x(A.a.REMOVEFEATURE,t))},e.prototype.removeFromIdIndex_=function(t){var e=!1;for(var n in this.idIndex_)if(this.idIndex_[n]===t){delete this.idIndex_[n],e=!0;break}return e},e.prototype.setLoader=function(t){this.loader_=t},e.prototype.setUrl=function(t){Object(u.a)(this.format_,7),this.setLoader(Object(f.b)(t,this.format_))},e}(_.a);e.a=S},WLGk:function(t,e,n){var l=n("6C75"),i=Object.prototype.toString,r="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),o="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);t.exports=function t(e){if(!e||"object"!=typeof e)return!1;if(l(e)){for(var n=0,i=e.length;n<i;n++)if(t(e[n]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(e)||"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||r&&e instanceof Blob||o&&e instanceof File)return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return t(e.toJSON(),!0);for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return!0;return!1}},WMd4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("EY2u"),i=n("LRne"),r=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(l.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WS2v:function(t,e,n){"use strict";e.a={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend"}},WTjQ:function(t,e,n){"use strict";function l(t,e,n,l){for(var i=t[e],r=t[e+1],o=0,a=e+l;a<n;a+=l){var s=t[a],u=t[a+1];o+=Math.sqrt((s-i)*(s-i)+(u-r)*(u-r)),i=s,r=u}return o}n.d(e,"a",(function(){return l}))},"WVt+":function(t,e,n){!function(t){"use strict";function e(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.bbox,i=n.id;if(void 0===t)throw new Error("geometry is required");if(e&&e.constructor!==Object)throw new Error("properties must be an Object");l&&x(l),i&&S(i);var r={type:"Feature"};return i&&(r.id=i),l&&(r.bbox=l),r.properties=e||{},r.geometry=t,r}function n(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i,o=n.bbox;if(!t)throw new Error("type is required");if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");switch(o&&x(o),t){case"Point":i=l(e).geometry;break;case"LineString":i=a(e).geometry;break;case"Polygon":i=r(e).geometry;break;case"MultiPoint":i=d(e).geometry;break;case"MultiLineString":i=c(e).geometry;break;case"MultiPolygon":i=h(e).geometry;break;default:throw new Error(t+" is invalid")}return o&&(i.bbox=o),i}function l(t,n,l){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!w(t[0])||!w(t[1]))throw new Error("coordinates must contain numbers");return e({type:"Point",coordinates:t},n,l)}function i(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return l(t,e)})),n)}function r(t,n,l){if(!t)throw new Error("coordinates is required");for(var i=0;i<t.length;i++){var r=t[i];if(r.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var o=0;o<r[r.length-1].length;o++){if(0===i&&0===o&&!w(r[0][0])||!w(r[0][1]))throw new Error("coordinates must contain numbers");if(r[r.length-1][o]!==r[0][o])throw new Error("First and last Position are not equivalent.")}}return e({type:"Polygon",coordinates:t},n,l)}function o(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return r(t,e)})),n)}function a(t,n,l){if(!t)throw new Error("coordinates is required");if(t.length<2)throw new Error("coordinates must be an array of two or more positions");if(!w(t[0][1])||!w(t[0][1]))throw new Error("coordinates must contain numbers");return e({type:"LineString",coordinates:t},n,l)}function s(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return u(t.map((function(t){return a(t,e)})),n)}function u(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.id;if(!t)throw new Error("No features passed");if(!Array.isArray(t))throw new Error("features must be an Array");n&&x(n),l&&S(l);var i={type:"FeatureCollection"};return l&&(i.id=l),n&&(i.bbox=n),i.features=t,i}function c(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiLineString",coordinates:t},n,l)}function d(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiPoint",coordinates:t},n,l)}function h(t,n,l){if(!t)throw new Error("coordinates is required");return e({type:"MultiPolygon",coordinates:t},n,l)}function p(t,n,l){if(!t)throw new Error("geometries is required");if(!Array.isArray(t))throw new Error("geometries must be an Array");return e({type:"GeometryCollection",geometries:t},n,l)}function f(t,e){if(null==t||isNaN(t))throw new Error("num is required");if(e&&!(e>=0))throw new Error("precision must be a positive number");var n=Math.pow(10,e||0);return Math.round(t*n)/n}function b(t,e){if(null==t)throw new Error("radians is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=vr[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t*n}function m(t,e){if(null==t)throw new Error("distance is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=vr[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t/n}function g(t,e){return y(m(t,e))}function _(t){if(null==t)throw new Error("bearing is required");var e=t%360;return e<0&&(e+=360),e}function y(t){if(null==t)throw new Error("radians is required");return t%(2*Math.PI)*180/Math.PI}function A(t){if(null==t)throw new Error("degrees is required");return t%360*Math.PI/180}function v(t,e,n){if(null==t)throw new Error("length is required");if(!(t>=0))throw new Error("length must be a positive number");return b(m(t,e),n||"kilometers")}function C(t,e,n){if(null==t)throw new Error("area is required");if(!(t>=0))throw new Error("area must be a positive number");var l=wr[e||"meters"];if(!l)throw new Error("invalid original units");var i=wr[n||"kilometers"];if(!i)throw new Error("invalid final units");return t/l*i}function w(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}function P(t){return!!t&&t.constructor===Object}function x(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!w(t))throw new Error("bbox must only contain numbers")}))}function S(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}function k(t,e,n){if(null!==t)for(var l,i,r,o,a,s,u,c,d=0,h=0,p=t.type,f="FeatureCollection"===p,b="Feature"===p,m=f?t.features.length:1,g=0;g<m;g++){a=(c=!!(u=f?t.features[g].geometry:b?t.geometry:t)&&"GeometryCollection"===u.type)?u.geometries.length:1;for(var _=0;_<a;_++){var y=0,A=0;if(null!==(o=c?u.geometries[_]:u)){s=o.coordinates;var v=o.type;switch(d=!n||"Polygon"!==v&&"MultiPolygon"!==v?0:1,v){case null:break;case"Point":e(s,h,g,y,A),h++,y++;break;case"LineString":case"MultiPoint":for(l=0;l<s.length;l++)e(s[l],h,g,y,A),h++,"MultiPoint"===v&&y++;"LineString"===v&&y++;break;case"Polygon":case"MultiLineString":for(l=0;l<s.length;l++){for(i=0;i<s[l].length-d;i++)e(s[l][i],h,g,y,A),h++;"MultiLineString"===v&&y++,"Polygon"===v&&A++}"Polygon"===v&&y++;break;case"MultiPolygon":for(l=0;l<s.length;l++){for("MultiPolygon"===v&&(A=0),i=0;i<s[l].length;i++){for(r=0;r<s[l][i].length-d;r++)e(s[l][i][r],h,g,y,A),h++;A++}y++}break;case"GeometryCollection":for(l=0;l<o.geometries.length;l++)k(o.geometries[l],e,n);break;default:throw new Error("Unknown Geometry Type")}}}}}function M(t,e,n,l){var i=n;return k(t,(function(t,l,r,o,a){i=0===l&&void 0===n?t:e(i,t,l,r,o,a)}),l),i}function O(t,e){var n;switch(t.type){case"FeatureCollection":for(n=0;n<t.features.length;n++)e(t.features[n].properties,n);break;case"Feature":e(t.properties,0)}}function D(t,e,n){var l=n;return O(t,(function(t,i){l=0===i&&void 0===n?t:e(l,t,i)})),l}function T(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var n=0;n<t.features.length;n++)e(t.features[n],n)}function E(t,e,n){var l=n;return T(t,(function(t,i){l=0===i&&void 0===n?t:e(l,t,i)})),l}function I(t){var e=[];return k(t,(function(t){e.push(t)})),e}function L(t,e){var n,l,i,r,o,a,s,u,c,d,h=0,p="FeatureCollection"===t.type,f="Feature"===t.type,b=p?t.features.length:1;for(n=0;n<b;n++){for(u=p?t.features[n].properties:f?t.properties:{},c=p?t.features[n].bbox:f?t.bbox:void 0,d=p?t.features[n].id:f?t.id:void 0,o=(s=!!(a=p?t.features[n].geometry:f?t.geometry:t)&&"GeometryCollection"===a.type)?a.geometries.length:1,i=0;i<o;i++)if(null!==(r=s?a.geometries[i]:a))switch(r.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":e(r,h,u,c,d);break;case"GeometryCollection":for(l=0;l<r.geometries.length;l++)e(r.geometries[l],h,u,c,d);break;default:throw new Error("Unknown Geometry Type")}else e(null,h,u,c,d);h++}}function j(t,e,n){var l=n;return L(t,(function(t,i,r,o,a){l=0===i&&void 0===n?t:e(l,t,i,r,o,a)})),l}function R(t,n){L(t,(function(t,l,i,r,o){var a,s=null===t?null:t.type;switch(s){case null:case"Point":case"LineString":case"Polygon":return void n(e(t,i,{bbox:r,id:o}),l,0)}switch(s){case"MultiPoint":a="Point";break;case"MultiLineString":a="LineString";break;case"MultiPolygon":a="Polygon"}t.coordinates.forEach((function(t,r){n(e({type:a,coordinates:t},i),l,r)}))}))}function F(t,e,n){var l=n;return R(t,(function(t,i,r){l=0===i&&0===r&&void 0===n?t:e(l,t,i,r)})),l}function N(t,e){R(t,(function(t,n,l){var i=0;if(t.geometry){var r=t.geometry.type;"Point"!==r&&"MultiPoint"!==r&&M(t,(function(r,o,s,u,c,d){var h=a([r,o],t.properties);return e(h,n,l,d,i),i++,o}))}}))}function Y(t,e,n){var l=n,i=!1;return N(t,(function(t,r,o,a,s){l=!1===i&&void 0===n?t:e(l,t,r,o,a,s),i=!0})),l}function U(t,e){if(!t)throw new Error("geojson is required");R(t,(function(t,n,l){if(null!==t.geometry){var i=t.geometry.coordinates;switch(t.geometry.type){case"LineString":e(t,n,l,0,0);break;case"Polygon":for(var r=0;r<i.length;r++)e(a(i[r],t.properties),n,l,r)}}}))}function B(t,e,n){var l=n;return U(t,(function(t,i,r,o){l=0===i&&void 0===n?t:e(l,t,i,r,o)})),l}function z(t){var e=[1/0,1/0,-1/0,-1/0];return k(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function G(t){if(!t)throw new Error("obj is required");var e=H(t);if(e.length>1&&w(e[0])&&w(e[1]))return e;throw new Error("Coordinate is not a valid Point")}function H(t){if(!t)throw new Error("obj is required");var e;if(t.length?e=t:t.coordinates?e=t.coordinates:t.geometry&&t.geometry.coordinates&&(e=t.geometry.coordinates),e)return V(e),e;throw new Error("No valid coordinates")}function V(t){if(t.length>1&&w(t[0])&&w(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return V(t[0]);throw new Error("coordinates must only contain numbers")}function q(t,e,n){if(!e||!n)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.type)}function W(t,e,n){if(!t)throw new Error("No feature passed");if(!n)throw new Error(".featureOf() requires a name");if(!t||"Feature"!==t.type||!t.geometry)throw new Error("Invalid input to "+n+", Feature with geometry required");if(!t.geometry||t.geometry.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.geometry.type)}function $(t,e,n){if(!t)throw new Error("No featureCollection passed");if(!n)throw new Error(".collectionOf() requires a name");if(!t||"FeatureCollection"!==t.type)throw new Error("Invalid input to "+n+", FeatureCollection required");for(var l=0;l<t.features.length;l++){var i=t.features[l];if(!i||"Feature"!==i.type||!i.geometry)throw new Error("Invalid input to "+n+", Feature with geometry required");if(!i.geometry||i.geometry.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+i.geometry.type)}}function X(t){if(!t)throw new Error("geojson is required");if(void 0!==t.geometry)return t.geometry;if(t.coordinates||t.geometries)return t;throw new Error("geojson must be a valid Feature or Geometry Object")}function K(){throw new Error("invariant.getGeomType has been deprecated in v5.0 in favor of invariant.getType")}function J(t,e){if(!t)throw new Error((e||"geojson")+" is required");if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error((e||"geojson")+" is invalid")}function Q(t,e,n){n=n||{};for(var l=Object.keys(kr),i=0;i<l.length;i++){var r=l[i],o=n[r];Mr[r]=o=null!=o?o:kr[r]}Mr.verbose&&console.log("MarchingSquaresJS-isoContours: computing isocontour for "+e);var a=function(t){var e=[],n=0;return t.cells.forEach((function(l,i){l.forEach((function(l,r){if(void 0!==l&&!function(t){return 5===t.cval||10===t.cval}(l)&&!tt(l)){var o=function(t,e,n){var l,i,r,o=t.length,a=[],s=[0,0,1,1,0,0,0,0,-1,0,1,1,-1,0,-1,0],u=[0,-1,0,0,1,1,1,1,0,-1,0,0,0,-1,0,0],c=["none","bottom","right","right","top","top","top","top","left","bottom","right","right","left","bottom","left","none"],d=t[e][n],h=d.cval,p=nt(d,r=["none","left","bottom","left","right","none","bottom","left","top","top","none","top","right","right","bottom","none"][h]);a.push([n+p[0],e+p[1]]),p=nt(d,r=c[h]),a.push([n+p[0],e+p[1]]),et(d);for(var f=n+s[h],b=e+u[h],m=h;f>=0&&b>=0&&b<o&&(f!=n||b!=e)&&void 0!==(d=t[b][f]);){if(0===(h=d.cval)||15===h)return{path:a,info:"mergeable"};r=c[h],l=s[h],i=u[h],5!==h&&10!==h||(5===h?d.flipped?-1===u[m]?(r="left",l=-1,i=0):(r="right",l=1,i=0):-1===s[m]&&(r="bottom",l=0,i=-1):10===h&&(d.flipped?-1===s[m]?(r="top",l=0,i=1):(r="bottom",l=0,i=-1):1===u[m]&&(r="left",l=-1,i=0))),p=nt(d,r),a.push([f+p[0],b+p[1]]),et(d),f+=l,b+=i,m=h}return{path:a,info:"closed"}}(t.cells,i,r),a=!1;if("mergeable"===o.info)for(var s=o.path[o.path.length-1][0],u=o.path[o.path.length-1][1],c=n-1;c>=0;c--)if(Math.abs(e[c][0][0]-s)<=1e-7&&Math.abs(e[c][0][1]-u)<=1e-7){for(var d=o.path.length-2;d>=0;--d)e[c].unshift(o.path[d]);a=!0;break}a||(e[n++]=o.path)}}))})),e}(function(t,e){for(var n=t.length-1,l=t[0].length-1,i={rows:n,cols:l,cells:[]},r=0;r<n;++r){i.cells[r]=[];for(var o=0;o<l;++o){var a=0,s=t[r+1][o],u=t[r+1][o+1],c=t[r][o+1],d=t[r][o];if(!(isNaN(s)||isNaN(u)||isNaN(c)||isNaN(d))){a|=s>=e?8:0,a|=u>=e?4:0,a|=c>=e?2:0;var h,p,f,b,m=!1;if(5==(a|=d>=e?1:0)||10===a){var g=(s+u+c+d)/4;5===a&&g<e?(a=10,m=!0):10===a&&g<e&&(a=5,m=!0)}0!==a&&15!==a&&(h=p=f=b=.5,1===a?(f=1-Z(e,s,d),p=1-Z(e,c,d)):2===a?(p=Z(e,d,c),b=1-Z(e,u,c)):3===a?(f=1-Z(e,s,d),b=1-Z(e,u,c)):4===a?(h=Z(e,s,u),b=Z(e,c,u)):5===a?(h=Z(e,s,u),b=Z(e,c,u),p=1-Z(e,c,d),f=1-Z(e,s,d)):6===a?(p=Z(e,d,c),h=Z(e,s,u)):7===a?(f=1-Z(e,s,d),h=Z(e,s,u)):8===a?(f=Z(e,d,s),h=1-Z(e,u,s)):9===a?(p=1-Z(e,c,d),h=1-Z(e,u,s)):10===a?(h=1-Z(e,u,s),b=1-Z(e,u,c),p=Z(e,d,c),f=Z(e,d,s)):11===a?(h=1-Z(e,u,s),b=1-Z(e,u,c)):12===a?(f=Z(e,d,s),b=Z(e,c,u)):13===a?(p=1-Z(e,c,d),b=Z(e,c,u)):14===a?(f=Z(e,d,s),p=Z(e,d,c)):console.log("MarchingSquaresJS-isoContours: Illegal cval detected: "+a),i.cells[r][o]={cval:a,flipped:m,top:h,right:b,bottom:p,left:f})}}}return i}(t,e));return"function"==typeof Mr.successCallback&&Mr.successCallback(a),a}function Z(t,e,n){return(t-e)/(n-e)}function tt(t){return 0===t.cval||15===t.cval}function et(t){tt(t)||5===t.cval||10===t.cval||(t.cval=15)}function nt(t,e){return"top"===e?[t.top,1]:"bottom"===e?[t.bottom,0]:"right"===e?[1,t.right]:"left"===e?[0,t.left]:void 0}function lt(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function it(t,e){if(!(this instanceof it))return new it(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function rt(t,e){ot(t,0,t.children.length,e,t)}function ot(t,e,n,l,i){i||(i=ft(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r,o=e;o<n;o++)r=t.children[o],at(i,t.leaf?l(r):r);return i}function at(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function st(t,e){return t.minX-e.minX}function ut(t,e){return t.minY-e.minY}function ct(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function dt(t){return t.maxX-t.minX+(t.maxY-t.minY)}function ht(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function pt(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function ft(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function bt(t,e,n,l,i){for(var r,o=[e,n];o.length;)(n=o.pop())-(e=o.pop())<=l||(r=e+Math.ceil((n-e)/l/2)*l,Or(t,r,e,n,i),o.push(e,r,r,n))}function mt(t,e){return t(e={exports:{}},e.exports),e.exports}function gt(t,e){if(!(this instanceof gt))return new gt(t,e);if(this.data=t||[],this.length=this.data.length,this.compare=e||function(t,e){return t<e?-1:t>e?1:0},this.length>0)for(var n=(this.length>>1)-1;n>=0;n--)this._down(n)}function _t(t,e,n){e=Math.max(0,void 0===e?2:e),n=n||0;for(var l,i=function(t){for(var e=t[0],n=t[0],l=t[0],i=t[0],r=0;r<t.length;r++){var o=t[r];o[0]<e[0]&&(e=o),o[0]>l[0]&&(l=o),o[1]<n[1]&&(n=o),o[1]>i[1]&&(i=o)}var a=[e,n,l,i],s=a.slice();for(r=0;r<t.length;r++)zr(t[r],a)||s.push(t[r]);var u=Nr(s),c=[];for(r=0;r<u.length;r++)c.push(s[u[r]]);return c}(t),r=Dr(16,["[0]","[1]","[0]","[1]"]).load(t),o=[],a=0;a<i.length;a++){var s=i[a];r.remove(s),l=wt(s,l),o.push(l)}var u=Dr(16);for(a=0;a<o.length;a++)u.insert(Ct(o[a]));for(var c=e*e,d=n*n;o.length;){var h=o.shift(),p=h.p,f=h.next.p,b=Pt(p,f);if(!(b<d)){var m=b/c;(s=function(t,e,n,l,i,r,o){for(var a=new Ur(null,yt),s=t.data;s;){for(var u=0;u<s.children.length;u++){var c=s.children[u],d=s.leaf?xt(c,n,l):function(t,e,n){if(At(t,n)||At(e,n))return 0;var l=St(t[0],t[1],e[0],e[1],n.minX,n.minY,n.maxX,n.minY);if(0===l)return 0;var i=St(t[0],t[1],e[0],e[1],n.minX,n.minY,n.minX,n.maxY);if(0===i)return 0;var r=St(t[0],t[1],e[0],e[1],n.maxX,n.minY,n.maxX,n.maxY);if(0===r)return 0;var o=St(t[0],t[1],e[0],e[1],n.minX,n.maxY,n.maxX,n.maxY);return 0===o?0:Math.min(l,i,r,o)}(n,l,c);d>r||a.push({node:c,dist:d})}for(;a.length&&!a.peek().node.children;){var h=a.pop(),p=h.node,f=xt(p,e,n),b=xt(p,l,i);if(h.dist<f&&h.dist<b&&vt(n,p,o)&&vt(l,p,o))return p}(s=a.pop())&&(s=s.node)}return null}(r,h.prev.p,p,f,h.next.next.p,m,u))&&Math.min(Pt(s,p),Pt(s,f))<=m&&(o.push(h),o.push(wt(s,h)),r.remove(s),u.remove(h),u.insert(Ct(h)),u.insert(Ct(h.next)))}}h=l;var g=[];do{g.push(h.p),h=h.next}while(h!==l);return g.push(h.p),g}function yt(t,e){return t.dist-e.dist}function At(t,e){return t[0]>=e.minX&&t[0]<=e.maxX&&t[1]>=e.minY&&t[1]<=e.maxY}function vt(t,e,n){for(var l=Math.min(t[0],e[0]),i=Math.min(t[1],e[1]),r=Math.max(t[0],e[0]),o=Math.max(t[1],e[1]),a=n.search({minX:l,minY:i,maxX:r,maxY:o}),s=0;s<a.length;s++)if(function(t,e,n,l){return t!==l&&e!==n&&Gr(t,e,n)>0!=Gr(t,e,l)>0&&Gr(n,l,t)>0!=Gr(n,l,e)>0}(a[s].p,a[s].next.p,t,e))return!1;return!0}function Ct(t){var e=t.p,n=t.next.p;return t.minX=Math.min(e[0],n[0]),t.minY=Math.min(e[1],n[1]),t.maxX=Math.max(e[0],n[0]),t.maxY=Math.max(e[1],n[1]),t}function wt(t,e){var n={p:t,prev:null,next:null,minX:0,minY:0,maxX:0,maxY:0};return e?(n.next=e.next,n.prev=e,e.next.prev=n,e.next=n):(n.prev=n,n.next=n),n}function Pt(t,e){var n=t[0]-e[0],l=t[1]-e[1];return n*n+l*l}function xt(t,e,n){var l=e[0],i=e[1],r=n[0]-l,o=n[1]-i;if(0!==r||0!==o){var a=((t[0]-l)*r+(t[1]-i)*o)/(r*r+o*o);a>1?(l=n[0],i=n[1]):a>0&&(l+=r*a,i+=o*a)}return(r=t[0]-l)*r+(o=t[1]-i)*o}function St(t,e,n,l,i,r,o,a){var s,u,c,d,h=n-t,p=l-e,f=o-i,b=a-r,m=t-i,g=e-r,_=h*h+p*p,y=h*f+p*b,A=f*f+b*b,v=h*m+p*g,C=f*m+b*g,w=_*A-y*y,P=w,x=w;0===w?(u=0,P=1,d=C,x=A):(d=_*C-y*v,(u=y*C-A*v)<0?(u=0,d=C,x=A):u>P&&(u=P,d=C+y,x=A)),d<0?(d=0,-v<0?u=0:-v>_?u=P:(u=-v,P=_)):d>x&&(d=x,-v+y<0?u=0:-v+y>_?u=P:(u=-v+y,P=_));var S=(1-(c=0===d?0:d/x))*i+c*o-((1-(s=0===u?0:u/P))*t+s*n),k=(1-c)*r+c*a-((1-s)*e+s*l);return S*S+k*k}function kt(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.concavity||1/0,l=[];if(k(t,(function(t){l.push([t[0],t[1]])})),!l.length)return null;var i=Hr(l,n);return i.length>3?r([i]):null}function Mt(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.ignoreBoundary;if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");var i=G(t),r=H(e),o=e.geometry?e.geometry.type:e.type,a=e.bbox;if(a&&!1===function(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}(i,a))return!1;"Polygon"===o&&(r=[r]);for(var s=0,u=!1;s<r.length&&!u;s++)if(Ot(i,r[s][0],l)){for(var c=!1,d=1;d<r[s].length&&!c;)Ot(i,r[s][d],!l)&&(c=!0),d++;c||(u=!0)}return u}function Ot(t,e,n){var l=!1;e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]&&(e=e.slice(0,e.length-1));for(var i=0,r=e.length-1;i<e.length;r=i++){var o=e[i][0],a=e[i][1],s=e[r][0],u=e[r][1];if(t[1]*(o-s)+a*(s-t[0])+u*(t[0]-o)==0&&(o-t[0])*(s-t[0])<=0&&(a-t[1])*(u-t[1])<=0)return!n;a>t[1]!=u>t[1]&&t[0]<(s-o)*(t[1]-a)/(u-a)+o&&(l=!l)}return l}function Dt(t,e){var n=[];return L(e,(function(e){T(t,(function(t){Mt(t,e)&&n.push(t)}))})),u(n)}function Tt(t,e){if("FeatureCollection"!==t.type)throw new Error("points must be a FeatureCollection");var n=!1;return u(function(t){if(t.length<3)return[];t.sort(It);for(var e,n,l,i=t.length-1,r=t[i].x,o=t[0].x,a=t[i].y,s=a;i--;)t[i].y<a&&(a=t[i].y),t[i].y>s&&(s=t[i].y);var u,c=o-r,d=s-a,h=c>d?c:d,p=.5*(o+r),f=.5*(s+a),b=[new Et({x:p-20*h,y:f-h,__sentinel:!0},{x:p,y:f+20*h,__sentinel:!0},{x:p+20*h,y:f-h,__sentinel:!0})],m=[],g=[];for(i=t.length;i--;){for(g.length=0,u=b.length;u--;)(c=t[i].x-b[u].x)>0&&c*c>b[u].r?(m.push(b[u]),b.splice(u,1)):c*c+(d=t[i].y-b[u].y)*d>b[u].r||(g.push(b[u].a,b[u].b,b[u].b,b[u].c,b[u].c,b[u].a),b.splice(u,1));for(Lt(g),u=g.length;u;)n=g[--u],e=g[--u],l=t[i],Math.abs(2*((n.x-e.x)*(l.y-n.y)-(n.y-e.y)*(l.x-n.x)))>1e-12&&b.push(new Et(e,n,l))}for(Array.prototype.push.apply(m,b),i=m.length;i--;)(m[i].a.__sentinel||m[i].b.__sentinel||m[i].c.__sentinel)&&m.splice(i,1);return m}(t.features.map((function(t){var l={x:t.geometry.coordinates[0],y:t.geometry.coordinates[1]};return e?l.z=t.properties[e]:3===t.geometry.coordinates.length&&(n=!0,l.z=t.geometry.coordinates[2]),l}))).map((function(t){var e=[t.a.x,t.a.y],l=[t.b.x,t.b.y],i=[t.c.x,t.c.y],o={};return n?(e.push(t.a.z),l.push(t.b.z),i.push(t.c.z)):o={a:t.a.z,b:t.b.z,c:t.c.z},r([[e,l,i,e]],o)})))}function Et(t,e,n){this.a=t,this.b=e,this.c=n;var l,i,r=e.x-t.x,o=e.y-t.y,a=n.x-t.x,s=n.y-t.y,u=r*(t.x+e.x)+o*(t.y+e.y),c=a*(t.x+n.x)+s*(t.y+n.y),d=2*(r*(n.y-e.y)-o*(n.x-e.x));this.x=(s*u-o*c)/d,this.y=(r*c-a*u)/d,this.r=(l=this.x-t.x)*l+(i=this.y-t.y)*i}function It(t,e){return e.x-t.x}function Lt(t){var e,n,l,i,r,o=t.length;t:for(;o;)for(n=t[--o],e=t[--o],l=o;l;)if(r=t[--l],i=t[--l],e===i&&n===r||e===r&&n===i){t.splice(o,2),t.splice(l,2),o-=2;continue t}}function jt(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=G(t),r=G(e),o=A(r[1]-i[1]),a=A(r[0]-i[0]),s=A(i[1]),u=A(r[1]),c=Math.pow(Math.sin(o/2),2)+Math.pow(Math.sin(a/2),2)*Math.cos(s)*Math.cos(u);return b(2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c)),l)}function Rt(t){if(!t)throw new Error("geojson is required");switch(t.type){case"Feature":return Ft(t);case"FeatureCollection":return function(t){var e={type:"FeatureCollection"};return Object.keys(t).forEach((function(n){switch(n){case"type":case"features":return;default:e[n]=t[n]}})),e.features=t.features.map((function(t){return Ft(t)})),e}(t);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return Nt(t);default:throw new Error("unknown GeoJSON type")}}function Ft(t){var e={type:"Feature"};return Object.keys(t).forEach((function(n){switch(n){case"type":case"properties":case"geometry":return;default:e[n]=t[n]}})),e.properties=function t(e){var n={};return e?(Object.keys(e).forEach((function(l){var i=e[l];n[l]="object"==typeof i?null===i?null:i.length?i.map((function(t){return t})):t(i):i})),n):n}(t.properties),e.geometry=Nt(t.geometry),e}function Nt(t){var e={type:t.type};return t.bbox&&(e.bbox=t.bbox),"GeometryCollection"===t.type?(e.geometries=t.geometries.map((function(t){return Nt(t)})),e):(e.coordinates=function t(e){return"object"!=typeof e[0]?e.slice():e.map((function(e){return t(e)}))}(t.coordinates),e)}function Yt(t,e){function n(t,e){e.length&&e.pop();for(var n=s[t<0?~t:t],l=0,i=n.length;l<i;++l)e.push(a(n[l],l));t<0&&Wr(e,i)}function l(t){return a(t)}function i(t){for(var e=[],l=0,i=t.length;l<i;++l)n(t[l],e);return e.length<2&&e.push(e[0]),e}function r(t){for(var e=i(t);e.length<4;)e.push(e[0]);return e}function o(t){return t.map(r)}var a=qr(t.transform),s=t.arcs;return function t(e){var n,r=e.type;switch(r){case"GeometryCollection":return{type:r,geometries:e.geometries.map(t)};case"Point":n=l(e.coordinates);break;case"MultiPoint":n=e.coordinates.map(l);break;case"LineString":n=i(e.arcs);break;case"MultiLineString":n=e.arcs.map(i);break;case"Polygon":n=o(e.arcs);break;case"MultiPolygon":n=e.arcs.map(o);break;default:return null}return{type:r,coordinates:n}}(e)}function Ut(t,e){function n(t){t.forEach((function(e){e.forEach((function(e){(i[e=e<0?~e:e]||(i[e]=[])).push(t)}))})),r.push(t)}function l(e){return function(t){for(var e,n=-1,l=t.length,i=t[l-1],r=0;++n<l;)r+=(e=i)[0]*(i=t[n])[1]-e[1]*i[0];return Math.abs(r)}(Yt(t,{type:"Polygon",arcs:[e]}).coordinates[0])}var i={},r=[],o=[];return e.forEach((function t(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"Polygon":n(e.arcs);break;case"MultiPolygon":e.arcs.forEach(n)}})),r.forEach((function(t){if(!t._){var e=[],n=[t];for(t._=1,o.push(e);t=n.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].forEach((function(t){t._||(t._=1,n.push(t))}))}))}))}})),r.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:o.map((function(e){var n,r=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].length<2&&r.push(t)}))}))})),(n=(r=$r(t,r)).length)>1)for(var o,a,s=1,u=l(r[0]);s<n;++s)(o=l(r[s]))>u&&(a=r[0],r[0]=r[s],r[s]=a,u=o);return r}))}}function Bt(t,e,n){for(var l,i=e+(n---e>>1);e<i;++e,--n)l=t[e],t[e]=t[n],t[n]=l}function zt(t){return null==t?{type:null}:("FeatureCollection"===t.type?function(t){var e={type:"GeometryCollection",geometries:t.features.map(Gt)};return null!=t.bbox&&(e.bbox=t.bbox),e}:"Feature"===t.type?Gt:Ht)(t)}function Gt(t){var e,n=Ht(t.geometry);for(e in null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),t.properties){n.properties=t.properties;break}return n}function Ht(t){if(null==t)return{type:null};var e="GeometryCollection"===t.type?{type:"GeometryCollection",geometries:t.geometries.map(Ht)}:"Point"===t.type||"MultiPoint"===t.type?{type:t.type,coordinates:t.coordinates}:{type:t.type,arcs:t.coordinates};return null!=t.bbox&&(e.bbox=t.bbox),e}function Vt(t){var e,n=t[0],l=t[1];return l<n&&(e=n,n=l,l=e),n+31*l}function qt(t,e){var n,l=t[0],i=t[1],r=e[0],o=e[1];return i<l&&(n=l,l=i,i=n),o<r&&(n=r,r=o,o=n),l===r&&i===o}function Wt(t){return t[0].toString()+","+t[1].toString()}function $t(t,n){var l="object"==typeof n?n.mutate:n;if(!t)throw new Error("geojson is required");var i=J(t),r=[];switch(i){case"LineString":r=Xt(t);break;case"MultiLineString":case"Polygon":H(t).forEach((function(t){r.push(Xt(t))}));break;case"MultiPolygon":H(t).forEach((function(t){var e=[];t.forEach((function(t){e.push(Xt(t))})),r.push(e)}));break;case"Point":return t;case"MultiPoint":var o={};H(t).forEach((function(t){var e=t.join("-");o.hasOwnProperty(e)||(r.push(t),o[e]=!0)}));break;default:throw new Error(i+" geometry not supported")}return t.coordinates?!0===l?(t.coordinates=r,t):{type:i,coordinates:r}:!0===l?(t.geometry.coordinates=r,t):e({type:i,coordinates:r},t.properties,t.bbox)}function Xt(t){var e=H(t);if(2===e.length&&!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(e[0],e[1]))return e;var n,l,i=[],r=e.length-1;i.push(e[0]);for(var o=1;o<r;o++)(function(t,e,n){var l=n[0],i=n[1],r=t[0],o=t[1],a=e[0],s=e[1],u=a-r,c=s-o;return(l-r)*c-(i-o)*u==0&&(Math.abs(u)>=Math.abs(c)?u>0?r<=l&&l<=a:a<=l&&l<=r:c>0?o<=i&&i<=s:s<=i&&i<=o)})(e[o-1],l=e[o+1],n=e[o])||i.push(n);return i.push(l),i}function Kt(t,e){var n=t.x-e.x,l=t.y-e.y;return n*n+l*l}function Jt(t,e,n){var l=e.x,i=e.y,r=n.x-l,o=n.y-i;if(0!==r||0!==o){var a=((t.x-l)*r+(t.y-i)*o)/(r*r+o*o);a>1?(l=n.x,i=n.y):a>0&&(l+=r*a,i+=o*a)}return(r=t.x-l)*r+(o=t.y-i)*o}function Qt(t,e,n){if(t.length<=2)return t;var l=void 0!==e?e*e:1;return function(t,e){var n=t.length-1,l=[t[0]];return function t(e,n,l,i,r){for(var o,a=i,s=n+1;s<l;s++){var u=Jt(e[s],e[n],e[l]);u>a&&(o=s,a=u)}a>i&&(o-n>1&&t(e,n,o,i,r),r.push(e[o]),l-o>1&&t(e,o,l,i,r))}(t,0,n,e,l),l.push(t[n]),l}(t=n?t:function(t,e){for(var n,l=t[0],i=[l],r=1,o=t.length;r<o;r++)Kt(n=t[r],l)>e&&(i.push(n),l=n);return l!==n&&i.push(n),i}(t,l),l)}function Zt(t,e,n){return Qt(t.map((function(t){return{x:t[0],y:t[1],z:t[2]}})),e,n).map((function(t){return t.z?[t.x,t.y,t.z]:[t.x,t.y]}))}function te(t,e,n){return t.map((function(t){var l=t.map((function(t){return{x:t[0],y:t[1]}}));if(l.length<4)throw new Error("invalid polygon");for(var i=Qt(l,e,n).map((function(t){return[t.x,t.y]}));!function(t){return!(t.length<3||3===t.length&&t[2][0]===t[0][0]&&t[2][1]===t[0][1])}(i);)i=Qt(l,e-=.01*e,n).map((function(t){return[t.x,t.y]}));return i[i.length-1][0]===i[0][0]&&i[i.length-1][1]===i[0][1]||i.push(i[0]),i}))}function ee(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.resolution||1e4,l=e.sharpness||.85;if(!t)throw new Error("line is required");if(!w(n))throw new Error("resolution must be an number");if(!w(l))throw new Error("sharpness must be an number");for(var i=[],r=new eo({points:X(t).coordinates.map((function(t){return{x:t[0],y:t[1]}})),duration:n,sharpness:l}),o=0;o<r.duration;o+=10){var s=r.pos(o);Math.floor(o/100)%2==0&&i.push([s.x,s.y])}return a(i,t.properties)}function ne(t){x(t);var e=Number(t[0]),n=Number(t[1]),l=Number(t[2]),i=Number(t[3]);if(6===t.length)throw new Error("@turf/bbox-polygon does not support BBox with 6 positions");var o=[e,n];return r([[o,[l,n],[l,i],[e,i],o]])}function le(t){return ne(z(t))}function ie(t){var e=t[0],n=t[1],l=t[2],i=t[3];if(jt(t.slice(0,2),[l,n])>=jt(t.slice(0,2),[e,i])){var r=(n+i)/2;return[e,r-(l-e)/2,l,r+(l-e)/2]}var o=(e+l)/2;return[o-(i-n)/2,n,o+(i-n)/2,i]}function re(t,e,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.units,o=i.properties,a=G(t),s=A(a[0]),u=A(a[1]),c=A(n),d=m(e,r),h=Math.asin(Math.sin(u)*Math.cos(d)+Math.cos(u)*Math.sin(d)*Math.cos(c));return l([y(s+Math.atan2(Math.sin(c)*Math.sin(d)*Math.cos(u),Math.cos(d)-Math.sin(u)*Math.sin(h))),y(h)],o)}function oe(t,e,n){var l=(n=n||{}).steps||64,i=n.properties;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if("object"!=typeof n)throw new Error("options must be an object");if("number"!=typeof l)throw new Error("steps must be a number");l=l||64,i=i||t.properties||{};for(var o=[],a=0;a<l;a++)o.push(re(t,e,-360*a/l,n).geometry.coordinates);return o.push(o[0]),r([o],i)}function ae(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");if(!0===n.final)return function(t,e){return(ae(e,t)+180)%360}(t,e);var l=G(t),i=G(e),r=A(l[0]),o=A(i[0]),a=A(l[1]),s=A(i[1]),u=Math.sin(o-r)*Math.cos(s),c=Math.cos(a)*Math.sin(s)-Math.sin(a)*Math.cos(s)*Math.cos(o-r);return y(Math.atan2(u,c))}function se(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties;if(!t)throw new Error("geojson is required");var i=z(t);return l([(i[0]+i[2])/2,(i[1]+i[3])/2],n)}function ue(t,e){var n=0,i=0,r=0;return k(t,(function(t){n+=t[0],i+=t[1],r++}),!0),l([n/r,i/r],e)}function ce(t){var e=[];return"FeatureCollection"===t.type?T(t,(function(t){k(t,(function(n){e.push(l(n,t.properties))}))})):k(t,(function(n){e.push(l(n,t.properties))})),u(e)}function de(t,e,n){n=n||2;var l,i,r,o,a,s,u,c=e&&e.length,d=c?e[0]*n:t.length,h=he(t,0,d,n,!0),p=[];if(!h)return p;if(c&&(h=function(t,e,n,l){var i,r,o,a=[];for(i=0,r=e.length;i<r;i++)(o=he(t,e[i]*l,i<r-1?e[i+1]*l:t.length,l,!1))===o.next&&(o.steiner=!0),a.push(function(t){var e=t,n=t;do{e.x<n.x&&(n=e),e=e.next}while(e!==t);return n}(o));for(a.sort(fe),i=0;i<a.length;i++)!function(t,e){if(e=function(t,e){var n,l=e,i=t.x,r=t.y,o=-1/0;do{if(r<=l.y&&r>=l.next.y&&l.next.y!==l.y){var a=l.x+(r-l.y)*(l.next.x-l.x)/(l.next.y-l.y);if(a<=i&&a>o){if(o=a,a===i){if(r===l.y)return l;if(r===l.next.y)return l.next}n=l.x<l.next.x?l:l.next}}l=l.next}while(l!==e);if(!n)return null;if(i===o)return n.prev;var s,u=n,c=n.x,d=n.y,h=1/0;for(l=n.next;l!==u;)i>=l.x&&l.x>=c&&i!==l.x&&me(r<d?i:o,r,c,d,r<d?o:i,r,l.x,l.y)&&((s=Math.abs(r-l.y)/(i-l.x))<h||s===h&&l.x>n.x)&&Ae(l,t)&&(n=l,h=s),l=l.next;return n}(t,e)){var n=ve(e,t);pe(n,n.next)}}(a[i],n),n=pe(n,n.next);return n}(t,e,h,n)),t.length>80*n){l=r=t[0],i=o=t[1];for(var f=n;f<d;f+=n)(a=t[f])<l&&(l=a),(s=t[f+1])<i&&(i=s),a>r&&(r=a),s>o&&(o=s);u=0!==(u=Math.max(r-l,o-i))?1/u:0}return function t(e,n,l,i,r,o,a){if(e){!a&&o&&function(t,e,n,l){var i=t;do{null===i.z&&(i.z=be(i.x,i.y,e,n,l)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,l,i,r,o,a,s,u=1;do{for(n=t,t=null,r=null,o=0;n;){for(o++,l=n,a=0,e=0;e<u&&(a++,l=l.nextZ);e++);for(s=u;a>0||s>0&&l;)0!==a&&(0===s||!l||n.z<=l.z)?(i=n,n=n.nextZ,a--):(i=l,l=l.nextZ,s--),r?r.nextZ=i:t=i,i.prevZ=r,r=i;n=l}r.nextZ=null,u*=2}while(o>1)}(i)}(e,i,r,o);for(var s,u,c=e;e.prev!==e.next;)if(s=e.prev,u=e.next,o?function(t,e,n,l){var i=t.prev,r=t,o=t.next;if(ge(i,r,o)>=0)return!1;for(var a=i.x>r.x?i.x>o.x?i.x:o.x:r.x>o.x?r.x:o.x,s=i.y>r.y?i.y>o.y?i.y:o.y:r.y>o.y?r.y:o.y,u=be(i.x<r.x?i.x<o.x?i.x:o.x:r.x<o.x?r.x:o.x,i.y<r.y?i.y<o.y?i.y:o.y:r.y<o.y?r.y:o.y,e,n,l),c=be(a,s,e,n,l),d=t.nextZ;d&&d.z<=c;){if(d!==t.prev&&d!==t.next&&me(i.x,i.y,r.x,r.y,o.x,o.y,d.x,d.y)&&ge(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(d=t.prevZ;d&&d.z>=u;){if(d!==t.prev&&d!==t.next&&me(i.x,i.y,r.x,r.y,o.x,o.y,d.x,d.y)&&ge(d.prev,d,d.next)>=0)return!1;d=d.prevZ}return!0}(e,i,r,o):function(t){var e=t.prev,n=t,l=t.next;if(ge(e,n,l)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(me(e.x,e.y,n.x,n.y,l.x,l.y,i.x,i.y)&&ge(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}(e))n.push(s.i/l),n.push(e.i/l),n.push(u.i/l),we(e),e=u.next,c=u.next;else if((e=u)===c){a?1===a?t(e=function(t,e,n){var l=t;do{var i=l.prev,r=l.next.next;!_e(i,r)&&ye(i,l,l.next,r)&&Ae(i,r)&&Ae(r,i)&&(e.push(i.i/n),e.push(l.i/n),e.push(r.i/n),we(l),we(l.next),l=t=r),l=l.next}while(l!==t);return l}(e,n,l),n,l,i,r,o,2):2===a&&function(e,n,l,i,r,o){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&function(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&ye(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&Ae(t,e)&&Ae(e,t)&&function(t,e){var n=t,l=!1,i=(t.x+e.x)/2,r=(t.y+e.y)/2;do{n.y>r!=n.next.y>r&&n.next.y!==n.y&&i<(n.next.x-n.x)*(r-n.y)/(n.next.y-n.y)+n.x&&(l=!l),n=n.next}while(n!==t);return l}(t,e)}(a,s)){var u=ve(a,s);return a=pe(a,a.next),u=pe(u,u.next),t(a,n,l,i,r,o),void t(u,n,l,i,r,o)}s=s.next}a=a.next}while(a!==e)}(e,n,l,i,r,o):t(pe(e),n,l,i,r,o,1);break}}}(h,p,n,l,i,u),p}function he(t,e,n,l,i){var r,o;if(i===xe(t,e,n,l)>0)for(r=e;r<n;r+=l)o=Ce(r,t[r],t[r+1],o);else for(r=n-l;r>=e;r-=l)o=Ce(r,t[r],t[r+1],o);return o&&_e(o,o.next)&&(we(o),o=o.next),o}function pe(t,e){if(!t)return t;e||(e=t);var n,l=t;do{if(n=!1,l.steiner||!_e(l,l.next)&&0!==ge(l.prev,l,l.next))l=l.next;else{if(we(l),(l=e=l.prev)===l.next)break;n=!0}}while(n||l!==e);return e}function fe(t,e){return t.x-e.x}function be(t,e,n,l,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-l)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function me(t,e,n,l,i,r,o,a){return(i-o)*(e-a)-(t-o)*(r-a)>=0&&(t-o)*(l-a)-(n-o)*(e-a)>=0&&(n-o)*(r-a)-(i-o)*(l-a)>=0}function ge(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function _e(t,e){return t.x===e.x&&t.y===e.y}function ye(t,e,n,l){return!!(_e(t,e)&&_e(n,l)||_e(t,l)&&_e(n,e))||ge(t,e,n)>0!=ge(t,e,l)>0&&ge(n,l,t)>0!=ge(n,l,e)>0}function Ae(t,e){return ge(t.prev,t,t.next)<0?ge(t,e,t.next)>=0&&ge(t,t.prev,e)>=0:ge(t,e,t.prev)<0||ge(t,t.next,e)<0}function ve(t,e){var n=new Pe(t.i,t.x,t.y),l=new Pe(e.i,e.x,e.y),i=t.next,r=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,l.next=n,n.prev=l,r.next=l,l.prev=r,l}function Ce(t,e,n,l){var i=new Pe(t,e,n);return l?(i.next=l.next,i.prev=l,l.next.prev=i,l.next=i):(i.prev=i,i.next=i),i}function we(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Pe(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function xe(t,e,n,l){for(var i=0,r=e,o=n-l;r<n;r+=l)i+=(t[o]-t[r])*(t[r+1]+t[o+1]),o=r;return i}function Se(t){var e=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},l=0,i=0;i<t.length;i++){for(var r=0;r<t[i].length;r++)for(var o=0;o<e;o++)n.vertices.push(t[i][r][o]);i>0&&n.holes.push(l+=t[i-1].length)}return n}(t),n=no(e.vertices,e.holes,2),l=[],i=[];n.forEach((function(t,l){var r=n[l];i.push([e.vertices[2*r],e.vertices[2*r+1]])}));for(var o=0;o<i.length;o+=3){var a=i.slice(o,o+3);a.push(i[o]),l.push(r([a]))}return l}function ke(t,e){if(!t)throw new Error("targetPoint is required");if(!e)throw new Error("points is required");var n,l=1/0;return T(e,(function(e,i){var r=jt(t,e);r<l&&((n=Rt(e)).properties.featureIndex=i,n.properties.distanceToPoint=r,l=r)})),n}function Me(t,e,n,l,i){!function t(e,n,l,i,r){for(;i>l;){if(i-l>600){var o=i-l+1,a=n-l+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);t(e,n,Math.max(l,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),r)}var d=e[n],h=l,p=i;for(Oe(e,l,n),r(e[i],d)>0&&Oe(e,l,i);h<p;){for(Oe(e,h,p),h++,p--;r(e[h],d)<0;)h++;for(;r(e[p],d)>0;)p--}0===r(e[l],d)?Oe(e,l,p):Oe(e,++p,i),p<=n&&(l=p+1),n<=p&&(i=p-1)}}(t,e,n||0,l||t.length-1,i||function(t,e){return t<e?-1:t>e?1:0})}function Oe(t,e,n){var l=t[e];t[e]=t[n],t[n]=l}function De(t,e){if(!(this instanceof De))return new De(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function Te(t,e){Ee(t,0,t.children.length,e,t)}function Ee(t,e,n,l,i){i||(i=Ue(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var r,o=e;o<n;o++)r=t.children[o],Ie(i,t.leaf?l(r):r);return i}function Ie(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function Le(t,e){return t.minX-e.minX}function je(t,e){return t.minY-e.minY}function Re(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function Fe(t){return t.maxX-t.minX+(t.maxY-t.minY)}function Ne(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function Ye(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function Ue(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Be(t,e,n,l,i){for(var r,o=[e,n];o.length;)(n=o.pop())-(e=o.pop())<=l||(Me(t,r=e+Math.ceil((n-e)/l/2)*l,e,n,i),o.push(e,r,r,n))}function ze(t){var e=De(t);return e.insert=function(t){if(Array.isArray(t)){var e=t;(t=Ge(e)).bbox=e}else t.bbox=t.bbox?t.bbox:He(t);return De.prototype.insert.call(this,t)},e.load=function(t){var e=[];return Array.isArray(t)?t.forEach((function(t){var n=Ge(t);n.bbox=t,e.push(n)})):T(t,(function(t){t.bbox=t.bbox?t.bbox:He(t),e.push(t)})),De.prototype.load.call(this,e)},e.remove=function(t){if(Array.isArray(t)){var e=t;(t=Ge(e)).bbox=e}return De.prototype.remove.call(this,t)},e.clear=function(){return De.prototype.clear.call(this)},e.search=function(t){return{type:"FeatureCollection",features:De.prototype.search.call(this,this.toBBox(t))}},e.collides=function(t){return De.prototype.collides.call(this,this.toBBox(t))},e.all=function(){return{type:"FeatureCollection",features:De.prototype.all.call(this)}},e.toJSON=function(){return De.prototype.toJSON.call(this)},e.fromJSON=function(t){return De.prototype.fromJSON.call(this,t)},e.toBBox=function(t){var e;return{minX:(e=t.bbox?t.bbox:Array.isArray(t)&&4===t.length?t:He(t))[0],minY:e[1],maxX:e[2],maxY:e[3]}},e}function Ge(t){var e=[t[0],t[1]];return{type:"Feature",bbox:t,properties:{},geometry:{type:"Polygon",coordinates:[[e,[t[2],t[1]],[t[2],t[3]],[t[0],t[3]],e]]}}}function He(t){var e=[1/0,1/0,-1/0,-1/0];return k(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function Ve(t){if(!t)throw new Error("geojson is required");var e=[];return R(t,(function(t){!function(t,e){var n=[],l=t.geometry;switch(l.type){case"Polygon":n=H(l);break;case"LineString":n=[H(l)]}n.forEach((function(n){(function(t,e){var n=[];return t.reduce((function(t,l){var i=a([t,l],e);return i.bbox=function(t,e){var n=t[0],l=t[1],i=e[0],r=e[1];return[n<i?n:i,l<r?l:r,n>i?n:i,l>r?l:r]}(t,l),n.push(i),l})),n})(n,t.properties).forEach((function(t){t.id=e.length,e.push(t)}))}))}(t,e)})),u(e)}function qe(t,n){var l={},i=[];if("LineString"===t.type&&(t=e(t)),"LineString"===n.type&&(n=e(n)),"Feature"===t.type&&"Feature"===n.type&&"LineString"===t.geometry.type&&"LineString"===n.geometry.type&&2===t.geometry.coordinates.length&&2===n.geometry.coordinates.length){var r=We(t,n);return r&&i.push(r),u(i)}var o=ze();return o.load(Ve(n)),T(Ve(t),(function(t){T(o.search(t),(function(e){var n=We(t,e);if(n){var r=H(n).join(",");l[r]||(l[r]=!0,i.push(n))}}))})),u(i)}function We(t,e){var n=H(t),i=H(e);if(2!==n.length)throw new Error("<intersects> line1 must only contain 2 coordinates");if(2!==i.length)throw new Error("<intersects> line2 must only contain 2 coordinates");var r=n[0][0],o=n[0][1],a=n[1][0],s=n[1][1],u=i[0][0],c=i[0][1],d=i[1][0],h=i[1][1],p=(h-c)*(a-r)-(d-u)*(s-o);if(0===p)return null;var f=((d-u)*(o-c)-(h-c)*(r-u))/p,b=((a-r)*(o-c)-(s-o)*(r-u))/p;return f>=0&&f<=1&&b>=0&&b<=1?l([r+f*(a-r),o+f*(s-o)]):null}function $e(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i=t.geometry?t.geometry.type:t.type;if("LineString"!==i&&"MultiLineString"!==i)throw new Error("lines must be LineString or MultiLineString");var r=l([1/0,1/0],{dist:1/0}),o=0;return R(t,(function(t){for(var i=H(t),s=0;s<i.length-1;s++){var u=l(i[s]);u.properties.dist=jt(e,u,n);var c=l(i[s+1]);c.properties.dist=jt(e,c,n);var d=jt(u,c,n),h=Math.max(u.properties.dist,c.properties.dist),p=ae(u,c),f=re(e,h,p+90,n),b=re(e,h,p-90,n),m=qe(a([f.geometry.coordinates,b.geometry.coordinates]),a([u.geometry.coordinates,c.geometry.coordinates])),g=null;m.features.length>0&&((g=m.features[0]).properties.dist=jt(e,g,n),g.properties.location=o+jt(u,g,n)),u.properties.dist<r.properties.dist&&((r=u).properties.index=s,r.properties.location=o),c.properties.dist<r.properties.dist&&((r=c).properties.index=s+1,r.properties.location=o+d),g&&g.properties.dist<r.properties.dist&&((r=g).properties.index=s),o+=d}})),r}function Xe(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l,i=n.final;if(!t)throw new Error("start point is required");if(!e)throw new Error("end point is required");return(l=i?Ke(G(e),G(t)):Ke(G(t),G(e)))>180?-(360-l):l}function Ke(t,e){var n=A(t[1]),l=A(e[1]),i=A(e[0]-t[0]);i>Math.PI&&(i-=2*Math.PI),i<-Math.PI&&(i+=2*Math.PI);var r=Math.log(Math.tan(l/2+Math.PI/4)/Math.tan(n/2+Math.PI/4));return(y(Math.atan2(i,r))+360)%360}function Je(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units;if(!t)throw new Error("from point is required");if(!e)throw new Error("to point is required");var i=G(t),r=G(e);return r[0]+=r[0]-i[0]>180?-360:i[0]-r[0]>180?360:0,v(function(t,e,n){var l=n=void 0===n?Ar:Number(n),i=t[1]*Math.PI/180,r=e[1]*Math.PI/180,o=r-i,a=Math.abs(e[0]-t[0])*Math.PI/180;a>Math.PI&&(a-=2*Math.PI);var s=Math.log(Math.tan(r/2+Math.PI/4)/Math.tan(i/2+Math.PI/4)),u=Math.abs(s)>1e-11?o/s:Math.cos(i);return Math.sqrt(o*o+u*u*a*a)*l}(i,r),"meters",l)}function Qe(t,e){return tn(t,"mercator",e)}function Ze(t,e){return tn(t,"wgs84",e)}function tn(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.mutate;if(!t)throw new Error("geojson is required");return Array.isArray(t)&&w(t[0])?t="mercator"===e?en(t):nn(t):(!0!==l&&(t=Rt(t)),k(t,(function(t){var n="mercator"===e?en(t):nn(t);t[0]=n[0],t[1]=n[1]}))),t}function en(t){var e=Math.PI/180,n=20037508.342789244,l=[6378137*(Math.abs(t[0])<=180?t[0]:t[0]-360*function(t){return t<0?-1:t>0?1:0}(t[0]))*e,6378137*Math.log(Math.tan(.25*Math.PI+.5*t[1]*e))];return l[0]>n&&(l[0]=n),l[0]<-n&&(l[0]=-n),l[1]>n&&(l[1]=n),l[1]<-n&&(l[1]=-n),l}function nn(t){var e=180/Math.PI;return[t[0]*e/6378137,(.5*Math.PI-2*Math.atan(Math.exp(-t[1]/6378137)))*e]}function ln(t,n,i){if(!P(i=i||{}))throw new Error("options is invalid");if(!t)throw new Error("pt is required");if(Array.isArray(t)?t=l(t):"Point"===t.type?t=e(t):W(t,"Point","point"),!n)throw new Error("line is required");Array.isArray(n)?n=a(n):"LineString"===n.type?n=e(n):W(n,"LineString","line");var r=1/0,o=t.geometry.coordinates;return N(n,(function(t){var e=function(t,e,n,i){var r=i.mercator,o=!0!==r?jt(e,t,i):rn(e,t,i),a=_(!0!==r?ae(e,t):Xe(e,t)),s=_(!0!==r?ae(e,n):Xe(e,n)),u=Math.abs(a-s);if(u>90)return o;var c=(s+180)%360,d=_(!0!==r?ae(n,t):Xe(n,t)),h=Math.abs(d-c);return h>180&&(h=Math.abs(h-360)),h>90?!0!==r?jt(t,n,i):rn(t,n,i):!0!==r?o*Math.sin(A(u)):function(t,e,n,i){var r=0;(Math.abs(t[0])>=180||Math.abs(e[0])>=180||Math.abs(n[0])>=180)&&(r=t[0]>0||e[0]>0||n[0]>0?-180:180);var o=l(n),a=Ze(function(t,e,n){var l=t[0],i=t[1],r=e[0]-l,o=e[1]-i,a=((n[0]-l)*r+(n[1]-i)*o)/(r*r+o*o);return[l+a*r,i+a*o]}(Qe([t[0]+r,t[1]]),Qe([e[0]+r,e[1]]),Qe([n[0]+r,n[1]])));return 0!==r&&(a[0]-=r),Je(o,a,i)}(e,n,t,i)}(o,t.geometry.coordinates[0],t.geometry.coordinates[1],i);r>e&&(r=e)})),r}function rn(t,e,n){var l=n.units,i=0;Math.abs(t[0])>=180&&(i=t[0]>0?-180:180),Math.abs(e[0])>=180&&(i=e[0]>0?-180:180);var r=Qe([t[0]+i,t[1]]),o=Qe([e[0]+i,e[1]]),a=function(t){return t*t},s=a(r[0]-o[0])+a(r[1]-o[1]);return v(Math.sqrt(s),"meters",l)}function on(t){for(var n=function(t){return"FeatureCollection"!==t.type?u("Feature"!==t.type?[e(t)]:[t]):t}(t),i=se(n),r=!1,o=0;!r&&o<n.features.length;){var a,s=n.features[o].geometry,c=!1;if("Point"===s.type)i.geometry.coordinates[0]===s.coordinates[0]&&i.geometry.coordinates[1]===s.coordinates[1]&&(r=!0);else if("MultiPoint"===s.type){var d=!1;for(a=0;!d&&a<s.coordinates.length;)i.geometry.coordinates[0]===s.coordinates[a][0]&&i.geometry.coordinates[1]===s.coordinates[a][1]&&(r=!0,d=!0),a++}else if("LineString"===s.type)for(a=0;!c&&a<s.coordinates.length-1;)an(i.geometry.coordinates[0],i.geometry.coordinates[1],s.coordinates[a][0],s.coordinates[a][1],s.coordinates[a+1][0],s.coordinates[a+1][1])&&(c=!0,r=!0),a++;else if("MultiLineString"===s.type)for(var h=0;h<s.coordinates.length;){c=!1,a=0;for(var p=s.coordinates[h];!c&&a<p.length-1;)an(i.geometry.coordinates[0],i.geometry.coordinates[1],p[a][0],p[a][1],p[a+1][0],p[a+1][1])&&(c=!0,r=!0),a++;h++}else"Polygon"!==s.type&&"MultiPolygon"!==s.type||Mt(i,s)&&(r=!0);o++}if(r)return i;var f=u([]);for(o=0;o<n.features.length;o++)f.features=f.features.concat(ce(n.features[o]).features);return l(ke(i,f).geometry.coordinates)}function an(t,e,n,l,i,r){return Math.sqrt((i-n)*(i-n)+(r-l)*(r-l))===Math.sqrt((t-n)*(t-n)+(e-l)*(e-l))+Math.sqrt((i-t)*(i-t)+(r-e)*(r-e))}function sn(t){return j(t,(function(t,e){return t+function t(e){var n,l=0;switch(e.type){case"Polygon":return un(e.coordinates);case"MultiPolygon":for(n=0;n<e.coordinates.length;n++)l+=un(e.coordinates[n]);return l;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(n=0;n<e.geometries.length;n++)l+=t(e.geometries[n]);return l}}(e)}),0)}function un(t){var e=0;if(t&&t.length>0){e+=Math.abs(cn(t[0]));for(var n=1;n<t.length;n++)e-=Math.abs(cn(t[n]))}return e}function cn(t){var e,n,l,i,r,o,a=0,s=t.length;if(s>2){for(o=0;o<s;o++)o===s-2?(l=s-2,i=s-1,r=0):o===s-1?(l=s-1,i=0,r=1):(l=o,i=o+1,r=o+2),e=t[l],n=t[i],a+=(dn(t[r][0])-dn(e[0]))*Math.sin(dn(n[1]));a=a*ro*ro/2}return a}function dn(t){return t*Math.PI/180}function hn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");if(!t)throw new Error("geojson is required");return Y(t,(function(t,n){var l=n.geometry.coordinates;return t+jt(l[0],l[1],e)}),0)}function pn(t,e,n,l){if(!P(l=l||{}))throw new Error("options is invalid");var i,r=[];if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}for(var o,s,u,c=0,d=0;d<i.length&&!(e>=c&&d===i.length-1);d++){if(c>e&&0===r.length){if(!(o=e-c))return r.push(i[d]),a(r);s=ae(i[d],i[d-1])-180,u=re(i[d],o,s,l),r.push(u.geometry.coordinates)}if(c>=n)return(o=n-c)?(s=ae(i[d],i[d-1])-180,u=re(i[d],o,s,l),r.push(u.geometry.coordinates),a(r)):(r.push(i[d]),a(r));if(c>=e&&r.push(i[d]),d===i.length-1)return a(r);c+=jt(i[d],i[d+1],l)}return a(i[i.length-1])}function fn(t,e,n){var l=(n=n||{}).ignoreEndVertices;if(!P(n))throw new Error("invalid options");if(!t)throw new Error("pt is required");if(!e)throw new Error("line is required");for(var i=G(t),r=H(e),o=0;o<r.length-1;o++){var a=!1;if(l&&(0===o&&(a="start"),o===r.length-2&&(a="end"),0===o&&o+1===r.length-1&&(a="both")),function(t,e,n,l){var i=n[0],r=n[1],o=t[0],a=t[1],s=e[0],u=e[1],c=s-o,d=u-a;return(n[0]-o)*d-(n[1]-a)*c==0&&(l?"start"===l?Math.abs(c)>=Math.abs(d)?c>0?o<i&&i<=s:s<=i&&i<o:d>0?a<r&&r<=u:u<=r&&r<a:"end"===l?Math.abs(c)>=Math.abs(d)?c>0?o<=i&&i<s:s<i&&i<=o:d>0?a<=r&&r<u:u<r&&r<=a:"both"===l?Math.abs(c)>=Math.abs(d)?c>0?o<i&&i<s:s<i&&i<o:d>0?a<r&&r<u:u<r&&r<a:void 0:Math.abs(c)>=Math.abs(d)?c>0?o<=i&&i<=s:s<=i&&i<=o:d>0?a<=r&&r<=u:u<=r&&r<=a)}(r[o],r[o+1],i,a))return!0}return!1}function bn(t,e){var n=J(t),l=J(e),i=X(t),r=X(e);switch(n){case"Point":switch(l){case"MultiPoint":return function(t,e){var n,l=!1;for(n=0;n<e.coordinates.length;n++)if(gn(e.coordinates[n],t.coordinates)){l=!0;break}return l}(i,r);case"LineString":return fn(i,r,{ignoreEndVertices:!0});case"Polygon":return Mt(i,r,{ignoreBoundary:!0});default:throw new Error("feature2 "+l+" geometry not supported")}case"MultiPoint":switch(l){case"MultiPoint":return function(t,e){for(var n=0;n<t.coordinates.length;n++){for(var l=!1,i=0;i<e.coordinates.length;i++)gn(t.coordinates[n],e.coordinates[i])&&(l=!0);if(!l)return!1}return!0}(i,r);case"LineString":return function(t,e){for(var n=!1,l=0;l<t.coordinates.length;l++){if(!fn(t.coordinates[l],e))return!1;n||(n=fn(t.coordinates[l],e,{ignoreEndVertices:!0}))}return n}(i,r);case"Polygon":return function(t,e){for(var n=!0,l=0;l<t.coordinates.length;l++){var i=Mt(t.coordinates[1],e);if(!i){n=!1;break}i=Mt(t.coordinates[1],e,{ignoreBoundary:!0})}return n&&i}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"LineString":return function(t,e){for(var n=0;n<t.coordinates.length;n++)if(!fn(t.coordinates[n],e))return!1;return!0}(i,r);case"Polygon":return function(t,e){if(!mn(z(e),z(t)))return!1;for(var n=!1,l=0;l<t.coordinates.length-1;l++){if(!Mt(t.coordinates[l],e))return!1;n||(n=Mt(t.coordinates[l],e,{ignoreBoundary:!0})),n||(n=Mt(function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(t.coordinates[l],t.coordinates[l+1]),e,{ignoreBoundary:!0}))}return n}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"Polygon":return function(t,e){var n=z(t);if(!mn(z(e),n))return!1;for(var l=0;l<t.coordinates[0].length;l++)if(!Mt(t.coordinates[0][l],e))return!1;return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}}function mn(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function gn(t,e){return t[0]===e[0]&&t[1]===e[1]}function _n(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i=n.mask,r=n.properties,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=t[0],s=t[1],c=t[2],d=t[3],h=e/jt([a,s],[c,s],n)*(c-a),p=e/jt([a,s],[a,d],n)*(d-s),f=c-a,b=d-s,m=Math.floor(f/h),g=(b-Math.floor(b/p)*p)/2,_=a+(f-m*h)/2;_<=c;){for(var y=s+g;y<=d;){var A=l([_,y],r);i?bn(A,i)&&o.push(A):o.push(A),y+=p}_+=h}return u(o)}function yn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.precision,l=e.coordinates,i=e.mutate;if(n=null==n||isNaN(n)?6:n,l=null==l||isNaN(l)?3:l,!t)throw new Error("<geojson> is required");if("number"!=typeof n)throw new Error("<precision> must be a number");if("number"!=typeof l)throw new Error("<coordinates> must be a number");!1!==i&&void 0!==i||(t=JSON.parse(JSON.stringify(t)));var r=Math.pow(10,n);return k(t,(function(t){!function(t,e,n){t.length>n&&t.splice(n,t.length);for(var l=0;l<t.length;l++)t[l]=Math.round(t[l]*e)/e}(t,r,l)})),t}function An(t,e){if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var n=0,l=t.length;n<l;n++)if(t[n]instanceof Array&&e[n]instanceof Array){if(!An(t[n],e[n]))return!1}else if(t[n]!==e[n])return!1;return!0}function vn(t,e){if(void 0===e&&(e=!0),3!=t.length)throw new Error("This function requires an array of three points [x,y]");return(t[1][0]-t[0][0])*(t[2][1]-t[0][1])-(t[1][1]-t[0][1])*(t[2][0]-t[0][0])>=0==e}function Cn(t,e){if(!t||!e)return!1;if(t.length!=e.length)return!1;for(var n=0,l=t.length;n<l;n++)if(t[n]instanceof Array&&e[n]instanceof Array){if(!Cn(t[n],e[n]))return!1}else if(t[n]!=e[n])return!1;return!0}function wn(t,e){var n=[],l=ze();return R(e,(function(e){if(n.forEach((function(t,e){t.id=e})),n.length){var i=l.search(e);if(i.features.length){var r=xn(e,i);n=n.filter((function(t){return t.id!==r.id})),l.remove(r),T(Pn(r,e),(function(t){n.push(t),l.insert(t)}))}}else(n=Pn(t,e).features).forEach((function(t){t.bbox||(t.bbox=ie(z(t)))})),l.load(u(n))})),u(n)}function Pn(t,e){var n=[],l=H(t)[0],i=H(t)[t.geometry.coordinates.length-1];if(Sn(l,G(e))||Sn(i,G(e)))return u([t]);var r=ze(),o=Ve(t);r.load(o);var s=r.search(e);if(!s.features.length)return u([t]);var c=xn(e,s),d=E(o,(function(t,l,i){var r=H(l)[1],o=G(e);return i===c.id?(t.push(o),n.push(a(t)),Sn(o,r)?[o]:[o,r]):(t.push(r),t)}),[l]);return d.length>1&&n.push(a(d)),u(n)}function xn(t,e){if(!e.features.length)throw new Error("lines must contain features");if(1===e.features.length)return e.features[0];var n,l=1/0;return T(e,(function(e){var i=$e(e,t).properties.dist;i<l&&(n=e,l=i)})),n}function Sn(t,e){return t[0]===e[0]&&t[1]===e[1]}function kn(t,e,n,l,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.steps,o=i.units;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if(null==n)throw new Error("bearing1 is required");if(null==l)throw new Error("bearing2 is required");if("object"!=typeof i)throw new Error("options must be an object");r=r||64;var s=Mn(n),u=Mn(l),c=t.properties;if(s===u)return a(oe(t,e,i).geometry.coordinates[0],c);for(var d=s,h=s<u?u:u+360,p=d,f=[],b=0;p<h;)f.push(re(t,e,p,o).geometry.coordinates),p=d+360*++b/r;return p>h&&f.push(re(t,e,h,o).geometry.coordinates),a(f,c)}function Mn(t){var e=t%360;return e<0&&(e+=360),e}function On(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,l=J(t),i=H(t);if(n=n||t.properties||{},!i.length)throw new Error("polygon must contain coordinates");switch(l){case"Polygon":return Dn(i,n);case"MultiPolygon":var r=[];return i.forEach((function(t){r.push(Dn(t,n))})),u(r);default:throw new Error("geom "+l+" not supported")}}function Dn(t,e){return t.length>1?c(t,e):a(t[0],e)}function Tn(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,l=e.autoComplete,i=e.orderCoords;if(!t)throw new Error("lines is required");switch(l=void 0===l||l,i=void 0===i||i,J(t)){case"FeatureCollection":case"GeometryCollection":var r=[];return(t.features?t.features:t.geometries).forEach((function(t){r.push(H(En(t,{},l,i)))})),h(r,n)}return En(t,n,l,i)}function En(t,e,n,l){e=e||t.properties||{};var i=H(t),o=J(t);if(!i.length)throw new Error("line must contain coordinates");switch(o){case"LineString":return n&&(i=In(i)),r([i],e);case"MultiLineString":var s=[],u=0;return i.forEach((function(t){if(n&&(t=In(t)),l){var e=function(t){var e=t[1],n=t[3];return Math.abs(t[0]-t[2])*Math.abs(e-n)}(z(a(t)));e>u?(s.unshift(t),u=e):s.push(t)}else s.push(t)})),r(s,e);default:throw new Error("geometry type "+o+" is not supported")}}function In(t){var e=t[0],n=t[t.length-1];return e[0]===n[0]&&e[1]===n[1]||t.push(e),t}function Ln(t,e,n){var l,i,r,o,a,s=t.length,u=Rn(t[0],e),c=[];for(n||(n=[]),l=1;l<s;l++){for(i=t[l-1],o=a=Rn(r=t[l],e);;){if(!(u|o)){c.push(i),o!==a?(c.push(r),l<s-1&&(n.push(c),c=[])):l===s-1&&c.push(r);break}if(u&o)break;u?u=Rn(i=jn(i,r,u,e),e):o=Rn(r=jn(i,r,o,e),e)}u=a}return c.length&&n.push(c),n}function jn(t,e,n,l){return 8&n?[t[0]+(e[0]-t[0])*(l[3]-t[1])/(e[1]-t[1]),l[3]]:4&n?[t[0]+(e[0]-t[0])*(l[1]-t[1])/(e[1]-t[1]),l[1]]:2&n?[l[2],t[1]+(e[1]-t[1])*(l[2]-t[0])/(e[0]-t[0])]:1&n?[l[0],t[1]+(e[1]-t[1])*(l[0]-t[0])/(e[0]-t[0])]:null}function Rn(t,e){var n=0;return t[0]<e[0]?n|=1:t[0]>e[2]&&(n|=2),t[1]<e[1]?n|=4:t[1]>e[3]&&(n|=8),n}function Fn(t,e){for(var n=[],l=0;l<t.length;l++){var i=bo.polygon(t[l],e);i.length>0&&(i[0][0]===i[i.length-1][0]&&i[0][1]===i[i.length-1][1]||i.push(i[0]),i.length>=4&&n.push(i))}return n}function Nn(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function Yn(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?t===e:function(t,e,n){var l,i;if(Un(t)||Un(e))return!1;if(t.prototype!==e.prototype)return!1;if(Nn(t))return!!Nn(e)&&Yn(t=mo.call(t),e=mo.call(e),n);if(Bn(t)){if(!Bn(e))return!1;if(t.length!==e.length)return!1;for(l=0;l<t.length;l++)if(t[l]!==e[l])return!1;return!0}try{var r=Object.keys(t),o=Object.keys(e)}catch(t){return!1}if(r.length!==o.length)return!1;for(r.sort(),o.sort(),l=r.length-1;l>=0;l--)if(r[l]!==o[l])return!1;for(l=r.length-1;l>=0;l--)if(!Yn(t[i=r[l]],e[i],n))return!1;return typeof t==typeof e}(t,e,n))}function Un(t){return null==t}function Bn(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}function zn(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l,i=n.tolerance||0,r=[],o=ze();return o.load(Ve(t)),N(e,(function(t){var e=!1;T(o.search(t),(function(n){if(!1===e){var r=H(t).sort(),o=H(n).sort();Yn(r,o)||(0===i?fn(r[0],n)&&fn(r[1],n):$e(n,r[0]).properties.dist<=i&&$e(n,r[1]).properties.dist<=i)?(e=!0,l=l?Gn(l,t):t):(0===i?fn(o[0],t)&&fn(o[1],t):$e(t,o[0]).properties.dist<=i&&$e(t,o[1]).properties.dist<=i)&&(l=l?Gn(l,n):n)}})),!1===e&&l&&(r.push(l),l=void 0)})),l&&r.push(l),u(r)}function Gn(t,e){var n=H(e),l=H(t),i=l[0],r=l[l.length-1],o=t.geometry.coordinates;return Yn(n[0],i)?o.unshift(n[1]):Yn(n[0],r)?o.push(n[1]):Yn(n[1],i)?o.unshift(n[0]):Yn(n[1],r)&&o.push(n[0]),t}function Hn(t){var e=t%360;return e<0&&(e+=360),e}function Vn(t,e,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.units,o=i.properties;if(!t)throw new Error("origin is required");if(null==e)throw new Error("distance is required");if(null==n)throw new Error("bearing is required");if(!(e>=0))throw new Error("distance must be greater than 0");var a=v(e,r,"meters"),s=G(t),u=function(t,e,n,l){var i=e/(l=void 0===l?Ar:Number(l)),r=t[0]*Math.PI/180,o=A(t[1]),a=A(n),s=i*Math.cos(a),u=o+s;Math.abs(u)>Math.PI/2&&(u=u>0?Math.PI-u:-Math.PI-u);var c=Math.log(Math.tan(u/2+Math.PI/4)/Math.tan(o/2+Math.PI/4)),d=Math.abs(c)>1e-11?s/c:Math.cos(o);return[(180*(r+i*Math.sin(a)/d)/Math.PI+540)%360-180,180*u/Math.PI]}(s,a,n);return u[0]+=u[0]-s[0]>180?-360:s[0]-u[0]>180?360:0,l(u,o)}function qn(t,e,n,l,i,r){for(var o=0;o<t.length;o++){var a=t[o],s=t[o+1];o===t.length-1&&(s=t[0]),l=Wn(a,s,e),n<=0&&l>0?function(t,e,n){return Wn(t,e,n)<0}(e,a,i)||(i=a):n>0&&l<=0&&(function(t,e,n){return Wn(t,e,n)>0}(e,a,r)||(r=a)),n=l}return[i,r]}function Wn(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(n[0]-t[0])*(e[1]-t[1])}function $n(t){if(!t)throw new Error("line is required");var e=t.geometry?t.geometry.type:t.type;if(!Array.isArray(t)&&"LineString"!==e)throw new Error("geometry must be a LineString");for(var n,l,i=H(t),r=0,o=1;o<i.length;)n=l||i[0],r+=((l=i[o])[0]-n[0])*(l[1]+n[1]),o++;return r>0}function Xn(t,e){switch("Feature"===t.type?t.geometry.type:t.type){case"GeometryCollection":return L(t,(function(t){Xn(t,e)})),t;case"LineString":return Kn(H(t),e),t;case"Polygon":return Jn(H(t),e),t;case"MultiLineString":return H(t).forEach((function(t){Kn(t,e)})),t;case"MultiPolygon":return H(t).forEach((function(t){Jn(t,e)})),t;case"Point":case"MultiPoint":return t}}function Kn(t,e){$n(t)===e&&t.reverse()}function Jn(t,e){$n(t[0])!==e&&t[0].reverse();for(var n=1;n<t.length;n++)$n(t[n])===e&&t[n].reverse()}function Qn(t,e,n,l){l=l||{};for(var i=Object.keys(go),r=0;r<i.length;r++){var o=i[r],a=l[o];_o[o]=a=null!=a?a:go[o]}_o.verbose&&console.log("MarchingSquaresJS-isoBands: computing isobands for ["+e+":"+(e+n)+"]");var s,u=function(t,e,n){for(var l=t.length-1,i=t[0].length-1,r={rows:l,cols:i,cells:[]},o=e+Math.abs(n),a=0;a<l;++a){r.cells[a]=[];for(var s=0;s<i;++s){var u=0,c=t[a+1][s],d=t[a+1][s+1],h=t[a][s+1],p=t[a][s];if(!(isNaN(c)||isNaN(d)||isNaN(h)||isNaN(p))){u|=c<e?0:c>o?128:64,u|=d<e?0:d>o?32:16,u|=h<e?0:h>o?8:4;var f=+(u|=p<e?0:p>o?2:1),b=0;if(17===u||18===u||33===u||34===u||38===u||68===u||72===u||98===u||102===u||132===u||136===u||137===u||152===u||153===u){var m=(c+d+h+p)/4;b=m>o?2:m<e?0:1,34===u?1===b?u=35:0===b&&(u=136):136===u?1===b?(u=35,b=4):0===b&&(u=34):17===u?1===b?(u=155,b=4):0===b&&(u=153):68===u?1===b?(u=103,b=4):0===b&&(u=102):153===u?1===b&&(u=155):102===u?1===b&&(u=103):152===u?b<2&&(u=156,b=1):137===u?b<2&&(u=139,b=1):98===u?b<2&&(u=99,b=1):38===u?b<2&&(u=39,b=1):18===u?b>0?(u=156,b=4):u=152:33===u?b>0?(u=139,b=4):u=137:72===u?b>0?(u=99,b=4):u=98:132===u&&(b>0?(u=39,b=4):u=38)}if(0!=u&&170!=u){var g,_,y,A,v,C,w,P;g=_=y=A=v=C=w=P=.5;var x=[];1===u?(y=1-Zn(e,h,p),P=1-Zn(e,c,p),x.push(ia[u])):169===u?(y=Zn(o,p,h),P=Zn(o,p,c),x.push(ia[u])):4===u?(C=1-Zn(e,d,h),A=Zn(e,p,h),x.push(na[u])):166===u?(C=Zn(o,h,d),A=1-Zn(o,h,p),x.push(na[u])):16===u?(v=Zn(e,h,d),_=Zn(e,c,d),x.push(ea[u])):154===u?(v=1-Zn(o,d,h),_=1-Zn(o,d,c),x.push(ea[u])):64===u?(w=Zn(e,p,c),g=1-Zn(e,d,c),x.push(oa[u])):106===u?(w=1-Zn(o,c,p),g=Zn(o,c,d),x.push(oa[u])):168===u?(A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),x.push(la[u]),x.push(ia[u])):2===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(la[u]),x.push(ia[u])):162===u?(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),x.push(la[u]),x.push(ia[u])):8===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),x.push(ea[u]),x.push(na[u])):138===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):32===u?(v=Zn(o,h,d),C=Zn(e,h,d),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):42===u?(P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ra[u]),x.push(oa[u])):128===u&&(P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ra[u]),x.push(oa[u])),5===u?(C=1-Zn(e,d,h),P=1-Zn(e,c,p),x.push(na[u])):165===u?(C=Zn(o,h,d),P=Zn(o,p,c),x.push(na[u])):20===u?(A=Zn(e,p,h),_=Zn(e,c,d),x.push(la[u])):150===u?(A=1-Zn(o,h,p),_=1-Zn(o,d,c),x.push(la[u])):80===u?(v=Zn(e,h,d),w=Zn(e,p,c),x.push(ea[u])):90===u?(v=1-Zn(o,d,h),w=1-Zn(o,c,p),x.push(ea[u])):65===u?(y=1-Zn(e,h,p),g=1-Zn(e,d,c),x.push(ia[u])):105===u?(y=Zn(o,p,h),g=Zn(o,c,d),x.push(ia[u])):160===u?(v=Zn(o,h,d),C=Zn(e,h,d),P=Zn(e,p,c),w=Zn(o,p,c),x.push(ea[u]),x.push(na[u])):10===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(ea[u]),x.push(na[u])):130===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(la[u]),x.push(ia[u])):40===u?(A=Zn(o,p,h),y=Zn(e,p,h),g=Zn(e,c,d),_=Zn(o,c,d),x.push(la[u]),x.push(ia[u])):101===u?(C=Zn(o,h,d),g=Zn(o,c,d),x.push(na[u])):69===u?(C=1-Zn(e,d,h),g=1-Zn(e,d,c),x.push(na[u])):149===u?(P=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ra[u])):21===u?(P=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ra[u])):86===u?(A=1-Zn(o,h,p),w=1-Zn(o,c,p),x.push(la[u])):84===u?(A=Zn(e,p,h),w=Zn(e,p,c),x.push(la[u])):89===u?(v=1-Zn(o,d,h),y=Zn(o,p,h),x.push(ia[u])):81===u?(v=Zn(e,h,d),y=1-Zn(e,h,p),x.push(ia[u])):96===u?(v=Zn(o,h,d),C=Zn(e,h,d),w=Zn(e,p,c),g=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):74===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):24===u?(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),_=Zn(e,c,d),x.push(ea[u]),x.push(ia[u])):146===u?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),_=1-Zn(o,d,c),x.push(ea[u]),x.push(ia[u])):6===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),x.push(na[u]),x.push(la[u])):164===u?(C=Zn(o,h,d),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),x.push(na[u]),x.push(la[u])):129===u?(y=1-Zn(e,h,p),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(ia[u]),x.push(ra[u])):41===u?(y=Zn(o,p,h),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(ia[u]),x.push(ra[u])):66===u?(A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(la[u]),x.push(ia[u])):104===u?(A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=Zn(o,c,d),x.push(ia[u]),x.push(aa[u])):144===u?(v=Zn(e,h,d),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ea[u]),x.push(oa[u])):26===u?(v=1-Zn(o,d,h),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ea[u]),x.push(oa[u])):36===u?(C=Zn(o,h,d),A=Zn(e,p,h),g=Zn(e,c,d),_=Zn(o,c,d),x.push(na[u]),x.push(la[u])):134===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(na[u]),x.push(la[u])):9===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=1-Zn(e,c,p),x.push(ea[u]),x.push(na[u])):161===u?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=Zn(o,p,c),x.push(ea[u]),x.push(na[u])):37===u?(C=Zn(o,h,d),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d),x.push(na[u]),x.push(ra[u])):133===u?(C=1-Zn(e,d,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c),x.push(na[u]),x.push(ra[u])):148===u?(A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c),x.push(la[u]),x.push(oa[u])):22===u?(A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d),x.push(la[u]),x.push(oa[u])):82===u?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),x.push(ea[u]),x.push(ia[u])):88===u?(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),x.push(ea[u]),x.push(ia[u])):73===u?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),g=1-Zn(e,d,c),x.push(ea[u]),x.push(na[u])):97===u?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),g=Zn(o,c,d),x.push(ea[u]),x.push(na[u])):145===u?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=Zn(o,p,c),_=1-Zn(o,d,c),x.push(ea[u]),x.push(ra[u])):25===u?(v=1-Zn(o,d,h),y=Zn(o,p,h),P=1-Zn(e,c,p),_=Zn(e,c,d),x.push(ea[u]),x.push(ra[u])):70===u?(C=1-Zn(e,d,h),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=1-Zn(e,d,c),x.push(na[u]),x.push(la[u])):100===u?(C=Zn(o,h,d),A=Zn(e,p,h),w=Zn(e,p,c),g=Zn(o,c,d),x.push(na[u]),x.push(la[u])):34===u?(0===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):35===u?(4===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ia[u]),x.push(oa[u])):136===u?(0===b?(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):153===u?(0===b?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ia[u])):102===u?(0===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(na[u]),x.push(oa[u])):155===u?(4===b?(v=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ra[u])):103===u?(4===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(na[u]),x.push(la[u])):152===u?(0===b?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(la[u]),x.push(ia[u])):156===u?(4===b?(v=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),_=Zn(e,c,d)):(v=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),_=1-Zn(o,d,c)),x.push(ea[u]),x.push(ia[u]),x.push(oa[u])):137===u?(0===b?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ia[u])):139===u?(4===b?(v=Zn(o,h,d),C=Zn(e,h,d),y=1-Zn(e,h,p),P=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)):(v=1-Zn(e,d,h),C=1-Zn(o,d,h),y=Zn(o,p,h),P=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)),x.push(ea[u]),x.push(na[u]),x.push(ra[u])):98===u?(0===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(oa[u])):99===u?(4===b?(v=1-Zn(e,d,h),C=1-Zn(o,d,h),A=Zn(o,p,h),y=Zn(e,p,h),w=Zn(e,p,c),g=1-Zn(e,d,c)):(v=Zn(o,h,d),C=Zn(e,h,d),A=1-Zn(e,h,p),y=1-Zn(o,h,p),w=1-Zn(o,c,p),g=Zn(o,c,d)),x.push(ea[u]),x.push(na[u]),x.push(ia[u])):38===u?(0===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(na[u]),x.push(ra[u]),x.push(oa[u])):39===u?(4===b?(C=1-Zn(e,d,h),A=Zn(e,p,h),P=Zn(e,p,c),w=Zn(o,p,c),g=1-Zn(o,d,c),_=1-Zn(e,d,c)):(C=Zn(o,h,d),A=1-Zn(o,h,p),P=1-Zn(o,c,p),w=1-Zn(e,c,p),g=Zn(e,c,d),_=Zn(o,c,d)),x.push(na[u]),x.push(la[u]),x.push(oa[u])):85===u&&(v=1,C=0,A=1,y=0,P=0,w=1,g=0,_=1),(g<0||g>1||_<0||_>1||v<0||v>1||A<0||A>1||P<0||P>1||w<0||w>1)&&console.log("MarchingSquaresJS-isoBands: "+u+" "+f+" "+c+","+d+","+h+","+p+" "+b+" "+g+" "+_+" "+v+" "+C+" "+A+" "+y+" "+P+" "+w),r.cells[a][s]={cval:u,cval_real:f,flipped:b,topleft:g,topright:_,righttop:v,rightbottom:C,bottomright:A,bottomleft:y,leftbottom:P,lefttop:w,edges:x}}}}}return r}(t,e,n);return _o.polygons?(_o.verbose&&console.log("MarchingSquaresJS-isoBands: returning single polygons for each grid cell"),s=function(t){var e=[],n=0;return t.cells.forEach((function(t,l){t.forEach((function(t,i){if(void 0!==t){var r=ua[t.cval](t);"object"==typeof r&&tl(r)?"object"==typeof r[0]&&tl(r[0])?"object"==typeof r[0][0]&&tl(r[0][0])?r.forEach((function(t){t.forEach((function(t){t[0]+=i,t[1]+=l})),e[n++]=t})):(r.forEach((function(t){t[0]+=i,t[1]+=l})),e[n++]=r):console.log("MarchingSquaresJS-isoBands: bandcell polygon with malformed coordinates"):console.log("MarchingSquaresJS-isoBands: bandcell polygon with null coordinates")}}))})),e}(u)):(_o.verbose&&console.log("MarchingSquaresJS-isoBands: returning polygon paths for entire data grid"),s=function(t){for(var e=[],n=t.rows,l=t.cols,i=[],r=0;r<n;r++)for(var o=0;o<l;o++)if(void 0!==t.cells[r][o]&&t.cells[r][o].edges.length>0){var a=function(t){if(t.edges.length>0){var e=t.cval_real;switch(t.edges[t.edges.length-1]){case 0:return e&Ao?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 1:return e&vo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 2:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 3:return e&Co?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 4:return e&Ao?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 5:return e&vo?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 6:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 7:return e&Co?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 8:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.righttop],x:-1,y:0,o:1};case 9:return e&Co?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 10:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.righttop],x:-1,y:0,o:1};case 11:return e&yo?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 12:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 13:return e&Co?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 14:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 15:return e&yo?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 16:return e&vo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 17:return e&yo?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 18:return e&Co?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 19:return e&yo?{p:[t.bottomleft,0],x:0,y:1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 20:return e&yo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 21:return e&Ao?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.topright,1],x:0,y:-1,o:1};case 22:return e&yo?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 23:return e&Ao?{p:[0,t.lefttop],x:1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};default:console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t)}}return null}(t.cells[r][o]),s=null,u=o,c=r;null!==a&&i.push([a.p[0]+u,a.p[1]+c]);do{if(null===(s=function(t,e,n,l){var i,r,o,a,s,u=t.cval;switch(e){case-1:switch(l){case 0:i=na[u],o=Eo[u],a=Io[u],s=Lo[u];break;default:i=ea[u],o=Oo[u],a=Do[u],s=To[u]}break;case 1:switch(l){case 0:i=ra[u],o=Ho[u],a=Vo[u],s=qo[u];break;default:i=oa[u],o=Bo[u],a=zo[u],s=Go[u]}break;default:switch(n){case-1:switch(l){case 0:i=aa[u],o=wo[u],a=Po[u],s=xo[u];break;default:i=sa[u],o=So[u],a=ko[u],s=Mo[u]}break;case 1:switch(l){case 0:i=ia[u],o=jo[u],a=Ro[u],s=Fo[u];break;default:i=la[u],o=No[u],a=Yo[u],s=Uo[u]}}}if(r=t.edges.indexOf(i),void 0===t.edges[r])return null;switch(function(t,e){delete t.edges[e];for(var n=e+1;n<t.edges.length;n++)t.edges[n-1]=t.edges[n];t.edges.pop()}(t,r),u=t.cval_real,i){case 0:u&Ao?(e=t.topleft,n=1):(e=1,n=t.righttop);break;case 1:u&vo?(e=1,n=t.rightbottom):(e=t.topleft,n=1);break;case 2:u&vo?(e=t.topleft,n=1):(e=t.bottomright,n=0);break;case 3:u&Co?(e=t.bottomleft,n=0):(e=t.topleft,n=1);break;case 4:u&Ao?(e=t.topright,n=1):(e=1,n=t.righttop);break;case 5:u&vo?(e=1,n=t.rightbottom):(e=t.topright,n=1);break;case 6:u&vo?(e=t.topright,n=1):(e=t.bottomright,n=0);break;case 7:u&Co?(e=t.bottomleft,n=0):(e=t.topright,n=1);break;case 8:u&vo?(e=1,n=t.righttop):(e=t.bottomright,n=0);break;case 9:u&Co?(e=t.bottomleft,n=0):(e=1,n=t.righttop);break;case 10:u&Co?(e=1,n=t.righttop):(e=0,n=t.leftbottom);break;case 11:u&yo?(e=0,n=t.lefttop):(e=1,n=t.righttop);break;case 12:u&vo?(e=1,n=t.rightbottom):(e=t.bottomright,n=0);break;case 13:u&Co?(e=t.bottomleft,n=0):(e=1,n=t.rightbottom);break;case 14:u&Co?(e=1,n=t.rightbottom):(e=0,n=t.leftbottom);break;case 15:u&yo?(e=0,n=t.lefttop):(e=1,n=t.rightbottom);break;case 16:u&vo?(e=0,n=t.leftbottom):(e=t.bottomright,n=0);break;case 17:u&yo?(e=0,n=t.lefttop):(e=t.bottomright,n=0);break;case 18:u&Co?(e=t.bottomleft,n=0):(e=0,n=t.leftbottom);break;case 19:u&yo?(e=0,n=t.lefttop):(e=t.bottomleft,n=0);break;case 20:u&yo?(e=0,n=t.leftbottom):(e=t.topleft,n=1);break;case 21:u&Ao?(e=t.topright,n=1):(e=0,n=t.leftbottom);break;case 22:u&yo?(e=0,n=t.lefttop):(e=t.topleft,n=1);break;case 23:u&Ao?(e=t.topright,n=1):(e=0,n=t.lefttop);break;default:return console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t),null}return void 0!==e&&void 0!==n&&void 0!==o&&void 0!==a&&void 0!==s||(console.log("MarchingSquaresJS-isoBands: undefined value!"),console.log(t),console.log(e+" "+n+" "+o+" "+a+" "+s)),{p:[e,n],x:o,y:a,o:s}}(t.cells[c][u],a.x,a.y,a.o)))break;if(i.push([s.p[0]+u,s.p[1]+c]),u+=s.x,a=s,(c+=s.y)<0||c>=n||u<0||u>=l||void 0===t.cells[c][u]){var d=function(t,e,n,l,i,r){for(var o=t.cells[n][e],a=o.cval_real,s=e+l,u=n+i,c=[],d=!1;!d;){if(void 0===t.cells[u]||void 0===t.cells[u][s])if(a=(o=t.cells[u-=i][s-=l]).cval_real,-1===i)if(0===r)if(a&Co)c.push([s,u]),l=-1,i=0,r=0;else{if(!(a&vo)){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s+1,u]),l=1,i=0,r=0}else{if(!(a&Co)){if(a&vo){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s+o.bottomleft,u]),l=0,i=1,r=0,d=!0;break}c.push([s,u]),l=-1,i=0,r=0}else if(1===i)if(0===r){if(!(a&Ao)){if(a&yo){c.push([s+o.topleft,u+1]),l=0,i=-1,r=0,d=!0;break}c.push([s+o.topright,u+1]),l=0,i=-1,r=1,d=!0;break}c.push([s+1,u+1]),l=1,i=0,r=1}else c.push([s+1,u+1]),l=1,i=0,r=1;else if(-1===l)if(0===r){if(!(a&yo)){if(a&Co){c.push([s,u+o.leftbottom]),l=1,i=0,r=0,d=!0;break}c.push([s,u+o.lefttop]),l=1,i=0,r=1,d=!0;break}c.push([s,u+1]),l=0,i=1,r=0}else{if(!(a&yo)){console.log("MarchingSquaresJS-isoBands: wtf");break}c.push([s,u+1]),l=0,i=1,r=0}else{if(1!==l){console.log("MarchingSquaresJS-isoBands: we came from nowhere!");break}if(0===r){if(!(a&vo)){c.push([s+1,u+o.rightbottom]),l=-1,i=0,r=0,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}else{if(!(a&vo)){if(a&Ao){c.push([s+1,u+o.righttop]),l=-1,i=0,r=1;break}c.push([s+1,u+o.rightbottom]),l=-1,i=0,r=0,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}}else if(a=(o=t.cells[u][s]).cval_real,-1===l)if(0===r)if(void 0!==t.cells[u-1]&&void 0!==t.cells[u-1][s])l=0,i=-1,r=1;else{if(!(a&Co)){c.push([s+o.bottomright,u]),l=0,i=1,r=1,d=!0;break}c.push([s,u])}else{if(!(a&yo)){console.log("MarchingSquaresJS-isoBands: found entry from top at "+s+","+u);break}console.log("MarchingSquaresJS-isoBands: proceeding in x-direction!")}else if(1===l){if(0===r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u+1]&&void 0!==t.cells[u+1][s])l=0,i=1,r=0;else{if(!(a&Ao)){c.push([s+o.topleft,u+1]),l=0,i=-1,r=0,d=!0;break}c.push([s+1,u+1]),l=1,i=0,r=1}}else if(-1===i){if(1!==r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u][s+1])l=1,i=0,r=1;else{if(!(a&vo)){c.push([s+1,u+o.righttop]),l=-1,i=0,r=1,d=!0;break}c.push([s+1,u]),l=0,i=-1,r=1}}else{if(1!==i){console.log("MarchingSquaresJS-isoBands: where did we came from???");break}if(0!==r){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[u][s-1])l=-1,i=0,r=0;else{if(!(a&yo)){c.push([s,u+o.leftbottom]),l=1,i=0,r=0,d=!0;break}c.push([s,u+1]),l=0,i=1,r=0}}if(u+=i,(s+=l)===e&&u===n)break}return{path:c,i:s,j:u,x:l,y:i,o:r}}(t,u-=s.x,c-=s.y,s.x,s.y,s.o);if(null===d)break;d.path.forEach((function(t){i.push(t)})),u=d.i,c=d.j,a=d}}while(void 0!==t.cells[c][u]&&t.cells[c][u].edges.length>0);e.push(i),i=[],t.cells[r][o].edges.length>0&&o--}return e}(u)),"function"==typeof _o.successCallback&&_o.successCallback(s),s}function Zn(t,e,n){return(t-e)/(n-e)}function tl(t){return t.constructor.toString().indexOf("Array")>-1}function el(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.pivot,i=n.mutate;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("angle is required");return 0===e||(l||(l=ue(t)),!1!==i&&void 0!==i||(t=Rt(t)),k(t,(function(t){var n=Xe(l,t)+e,i=Je(l,t),r=H(Vn(l,i,n));t[0]=r[0],t[1]=r[1]}))),t}function nl(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.origin,i=n.mutate;if(!t)throw new Error("geojson required");if("number"!=typeof e||0===e)throw new Error("invalid factor");var r=Array.isArray(l)||"object"==typeof l;return!0!==i&&(t=Rt(t)),"FeatureCollection"!==t.type||r?ll(t,e,l):(T(t,(function(n,i){t.features[i]=ll(n,e,l)})),t)}function ll(t,e,n){var i="Point"===J(t);return n=function(t,e){if(null!=e||(e="centroid"),Array.isArray(e)||"object"==typeof e)return G(e);var n=t.bbox?t.bbox:z(t),i=n[0],r=n[1],o=n[2],a=n[3];switch(e){case"sw":case"southwest":case"westsouth":case"bottomleft":return l([i,r]);case"se":case"southeast":case"eastsouth":case"bottomright":return l([o,r]);case"nw":case"northwest":case"westnorth":case"topleft":return l([i,a]);case"ne":case"northeast":case"eastnorth":case"topright":return l([o,a]);case"center":return se(t);case void 0:case null:case"centroid":return ue(t);default:throw new Error("invalid origin")}}(t,n),1===e||i||k(t,(function(t){var l=Je(n,t),i=Xe(n,t),r=H(Vn(n,l*e,i));t[0]=r[0],t[1]=r[1],3===t.length&&(t[2]*=e)})),t}function il(t){var e=t[0],n=t[1];return[n[0]-e[0],n[1]-e[1]]}function rl(t,e){return t[0]*e[1]-e[0]*t[1]}function ol(t,e,n){var l=[],i=g(e,n),r=H(t),o=[];return r.forEach((function(t,e){if(e!==r.length-1){var n=function(t,e,n){var l=Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]));return[[t[0]+n*(e[1]-t[1])/l,t[1]+n*(t[0]-e[0])/l],[e[0]+n*(e[1]-t[1])/l,e[1]+n*(t[0]-e[0])/l]]}(t,r[e+1],i);if(l.push(n),e>0){var a=l[e-1],s=function(t,e){return!function(t,e){return 0===rl(il(t),il(e))}(t,e)&&function(t,e){var n=t[0],l=il(t),i=e[0],r=il(e),o=rl(l,r);return function(t,e){return[t[0]+e[0],t[1]+e[1]]}(n,function(t,e){return[t*e[0],t*e[1]]}(rl(function(t,e){return[t[0]-e[0],t[1]-e[1]]}(i,n),r)/o,l))}(t,e)}(n,a);!1!==s&&(a[1]=s,n[0]=s),o.push(a[0]),e===r.length-2&&(o.push(n[0]),o.push(n[1]))}2===r.length&&(o.push(n[0]),o.push(n[1]))}})),a(o,t.properties)}function al(t,e,n){return Math.sign((e[0]-t[0])*(n[1]-e[1])-(n[0]-e[0])*(e[1]-t[1]))}function sl(t,e){return e.geometry.coordinates[0].every((function(e){return Mt(l(e),t)}))}function ul(t,e){for(var n=0;n<t.coordinates.length-1;n++)if(function(t,e,n){var l=e[0]-t[0],i=e[1]-t[1];return(n[0]-t[0])*i-(n[1]-t[1])*l==0&&(Math.abs(l)>=Math.abs(i)?l>0?t[0]<=n[0]&&n[0]<=e[0]:e[0]<=n[0]&&n[0]<=t[0]:i>0?t[1]<=n[1]&&n[1]<=e[1]:e[1]<=n[1]&&n[1]<=t[1])}(t.coordinates[n],t.coordinates[n+1],e.coordinates))return!0;return!1}function cl(t,e){return qe(e,On(t)).features.length>0}function dl(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function hl(t,e){return t[0]===e[0]&&t[1]===e[1]}function pl(t,e){for(var n=!1,l=!1,i=t.coordinates.length,r=0;r<i&&!n&&!l;){for(var o=0;o<e.coordinates.length-1;o++){var a=!0;0!==o&&o!==e.coordinates.length-2||(a=!1),ml(e.coordinates[o],e.coordinates[o+1],t.coordinates[r],a)?n=!0:l=!0}r++}return n&&l}function fl(t,e){return qe(t,On(e)).features.length>0}function bl(t,e){for(var n=!1,i=!1,r=t.coordinates[0].length,o=0;o<r&&n&&i;)Mt(l(t.coordinates[0][o]),e)?n=!0:i=!0,o++;return i&&i}function ml(t,e,n,l){var i=e[0]-t[0],r=e[1]-t[1];return 0==(n[0]-t[0])*r-(n[1]-t[1])*i&&(l?Math.abs(i)>=Math.abs(r)?i>0?t[0]<=n[0]&&n[0]<=e[0]:e[0]<=n[0]&&n[0]<=t[0]:r>0?t[1]<=n[1]&&n[1]<=e[1]:e[1]<=n[1]&&n[1]<=t[1]:Math.abs(i)>=Math.abs(r)?i>0?t[0]<n[0]&&n[0]<e[0]:e[0]<n[0]&&n[0]<t[0]:r>0?t[1]<n[1]&&n[1]<e[1]:e[1]<n[1]&&n[1]<t[1])}function gl(t){return t.coordinates.map((function(e){return{type:t.type.replace("Multi",""),coordinates:e}}))}function _l(t,e){return t.hasOwnProperty("coordinates")?t.coordinates.length===e.coordinates.length:t.length===e.length}function yl(t,e){return ga(t,e,{strict:!0})}function Al(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");var n=J(t);if(n!==J(e))throw new Error("features must be of the same type");if("Point"===n)throw new Error("Point geometry not supported");if(new ya({precision:6}).compare(t,e))return!1;var l=0;switch(n){case"MultiPoint":var i=I(t),r=I(e);i.forEach((function(t){r.forEach((function(e){t[0]===e[0]&&t[1]===e[1]&&l++}))}));break;case"LineString":case"MultiLineString":N(t,(function(t){N(e,(function(e){zn(t,e).features.length&&l++}))}));break;case"Polygon":case"MultiPolygon":N(t,(function(t){N(e,(function(e){qe(t,e).features.length&&l++}))}))}return l>0}function vl(t,e,n){n=n||[];for(var l=0;l<t;l++)n[l]=e;return n}function Cl(t,e){if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error("Invalid GeoJSON object for "+e)}function wl(t){for(var e=t,n=[];e.parent;)n.unshift(e),e=e.parent;return n}function Pl(t,e){e=e||{},this.nodes=[],this.diagonal=!!e.diagonal,this.grid=[];for(var n=0;n<t.length;n++){this.grid[n]=[];for(var l=0,i=t[n];l<i.length;l++){var r=new xl(n,l,i[l]);this.grid[n][l]=r,this.nodes.push(r)}}this.init()}function xl(t,e,n){this.x=t,this.y=e,this.weight=n}function Sl(t){this.content=[],this.scoreFunction=t}function kl(t){return t[0]}function Ml(t){return t[1]}function Ol(){this._=null}function Dl(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Tl(t,e){var n=e,l=e.R,i=n.U;i?i.L===n?i.L=l:i.R=l:t._=l,l.U=i,n.U=l,n.R=l.L,n.R&&(n.R.U=n),l.L=n}function El(t,e){var n=e,l=e.L,i=n.U;i?i.L===n?i.L=l:i.R=l:t._=l,l.U=i,n.U=l,n.L=l.R,n.L&&(n.L.U=n),l.R=n}function Il(t){for(;t.L;)t=t.L;return t}function Ll(t,e,n,l){var i=[null,null],r=ja.push(i)-1;return i.left=t,i.right=e,n&&Rl(i,t,e,n),l&&Rl(i,e,t,l),Ia[t.index].halfedges.push(r),Ia[e.index].halfedges.push(r),i}function jl(t,e,n){var l=[e,n];return l.left=t,l}function Rl(t,e,n,l){t[0]||t[1]?t.left===n?t[1]=l:t[0]=l:(t[0]=l,t.left=e,t.right=n)}function Fl(t,e,n,l,i){var r,o=t[0],a=t[1],s=o[0],u=o[1],c=0,d=1,h=a[0]-s,p=a[1]-u;if(r=e-s,h||!(r>0)){if(r/=h,h<0){if(r<c)return;r<d&&(d=r)}else if(h>0){if(r>d)return;r>c&&(c=r)}if(r=l-s,h||!(r<0)){if(r/=h,h<0){if(r>d)return;r>c&&(c=r)}else if(h>0){if(r<c)return;r<d&&(d=r)}if(r=n-u,p||!(r>0)){if(r/=p,p<0){if(r<c)return;r<d&&(d=r)}else if(p>0){if(r>d)return;r>c&&(c=r)}if(r=i-u,p||!(r<0)){if(r/=p,p<0){if(r>d)return;r>c&&(c=r)}else if(p>0){if(r<c)return;r<d&&(d=r)}return!(c>0||d<1)||(c>0&&(t[0]=[s+c*h,u+c*p]),d<1&&(t[1]=[s+d*h,u+d*p]),!0)}}}}}function Nl(t,e,n,l,i){var r=t[1];if(r)return!0;var o,a,s=t[0],u=t.left,c=t.right,d=u[0],h=u[1],p=c[0],f=c[1],b=(d+p)/2;if(f===h){if(b<e||b>=l)return;if(d>p){if(s){if(s[1]>=i)return}else s=[b,n];r=[b,i]}else{if(s){if(s[1]<n)return}else s=[b,i];r=[b,n]}}else if(a=(h+f)/2-(o=(d-p)/(f-h))*b,o<-1||o>1)if(d>p){if(s){if(s[1]>=i)return}else s=[(n-a)/o,n];r=[(i-a)/o,i]}else{if(s){if(s[1]<n)return}else s=[(i-a)/o,i];r=[(n-a)/o,n]}else if(h<f){if(s){if(s[0]>=l)return}else s=[e,o*e+a];r=[l,o*l+a]}else{if(s){if(s[0]<e)return}else s=[l,o*l+a];r=[e,o*e+a]}return t[0]=s,t[1]=r,!0}function Yl(t,e){var n=t.site,l=e.left,i=e.right;return n===i&&(i=l,l=n),i?Math.atan2(i[1]-l[1],i[0]-l[0]):(n===l?(l=e[1],i=e[0]):(l=e[0],i=e[1]),Math.atan2(l[0]-i[0],i[1]-l[1]))}function Ul(t,e){return e[+(e.left!==t.site)]}function Bl(t,e){return e[+(e.left===t.site)]}function zl(t){var e=t.P,n=t.N;if(e&&n){var l=e.site,i=t.site,r=n.site;if(l!==r){var o=i[0],a=i[1],s=l[0]-o,u=l[1]-a,c=r[0]-o,d=r[1]-a,h=2*(s*d-u*c);if(!(h>=-Ya)){var p=s*s+u*u,f=c*c+d*d,b=(d*p-u*f)/h,m=(s*f-c*p)/h,g=Ra.pop()||new function(){Dl(this),this.x=this.y=this.arc=this.site=this.cy=null};g.arc=t,g.site=i,g.x=b+o,g.y=(g.cy=m+a)+Math.sqrt(b*b+m*m),t.circle=g;for(var _=null,y=La._;y;)if(g.y<y.y||g.y===y.y&&g.x<=y.x){if(!y.L){_=y.P;break}y=y.L}else{if(!y.R){_=y;break}y=y.R}La.insert(_,g),_||(Ta=g)}}}}function Gl(t){var e=t.circle;e&&(e.P||(Ta=e.N),La.remove(e),Ra.push(e),Dl(e),t.circle=null)}function Hl(t){var e=Fa.pop()||new function(){Dl(this),this.edge=this.site=this.circle=null};return e.site=t,e}function Vl(t){Gl(t),Ea.remove(t),Fa.push(t),Dl(t)}function ql(t){var e=t.circle,n=e.x,l=e.cy,i=[n,l],r=t.P,o=t.N,a=[t];Vl(t);for(var s=r;s.circle&&Math.abs(n-s.circle.x)<Na&&Math.abs(l-s.circle.cy)<Na;)r=s.P,a.unshift(s),Vl(s),s=r;a.unshift(s),Gl(s);for(var u=o;u.circle&&Math.abs(n-u.circle.x)<Na&&Math.abs(l-u.circle.cy)<Na;)o=u.N,a.push(u),Vl(u),u=o;a.push(u),Gl(u);var c,d=a.length;for(c=1;c<d;++c)Rl((u=a[c]).edge,(s=a[c-1]).site,u.site,i);(u=a[d-1]).edge=Ll((s=a[0]).site,u.site,null,i),zl(s),zl(u)}function Wl(t){for(var e,n,l,i,r=t[0],o=t[1],a=Ea._;a;)if((l=$l(a,o)-r)>Na)a=a.L;else{if(!((i=r-function(t,e){var n=t.N;if(n)return $l(n,e);var l=t.site;return l[1]===e?l[0]:1/0}(a,o))>Na)){l>-Na?(e=a.P,n=a):i>-Na?(e=a,n=a.N):e=n=a;break}if(!a.R){e=a;break}a=a.R}!function(t){Ia[t.index]={site:t,halfedges:[]}}(t);var s=Hl(t);if(Ea.insert(e,s),e||n){if(e===n)return Gl(e),n=Hl(e.site),Ea.insert(s,n),s.edge=n.edge=Ll(e.site,s.site),zl(e),void zl(n);if(n){Gl(e),Gl(n);var u=e.site,c=u[0],d=u[1],h=t[0]-c,p=t[1]-d,f=n.site,b=f[0]-c,m=f[1]-d,g=2*(h*m-p*b),_=h*h+p*p,y=b*b+m*m,A=[(m*_-p*y)/g+c,(h*y-b*_)/g+d];Rl(n.edge,u,f,A),s.edge=Ll(u,t,null,A),n.edge=Ll(t,f,null,A),zl(e),zl(n)}else s.edge=Ll(e.site,s.site)}}function $l(t,e){var n=t.site,l=n[0],i=n[1],r=i-e;if(!r)return l;var o=t.P;if(!o)return-1/0;var a=(n=o.site)[0],s=n[1],u=s-e;if(!u)return a;var c=a-l,d=1/r-1/u,h=c/u;return d?(-h+Math.sqrt(h*h-2*d*(c*c/(-2*u)-s+u/2+i-r/2)))/d+l:(l+a)/2}function Xl(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function Kl(t,e){return e[1]-t[1]||e[0]-t[0]}function Jl(t,e){var n,l,i,r=t.sort(Kl).pop();for(ja=[],Ia=new Array(t.length),Ea=new Ol,La=new Ol;;)if(i=Ta,r&&(!i||r[1]<i.y||r[1]===i.y&&r[0]<i.x))r[0]===n&&r[1]===l||(Wl(r),n=r[0],l=r[1]),r=t.pop();else{if(!i)break;ql(i.arc)}if(function(){for(var t,e,n,l,i=0,r=Ia.length;i<r;++i)if((t=Ia[i])&&(l=(e=t.halfedges).length)){var o=new Array(l),a=new Array(l);for(n=0;n<l;++n)o[n]=n,a[n]=Yl(t,ja[e[n]]);for(o.sort((function(t,e){return a[e]-a[t]})),n=0;n<l;++n)a[n]=e[o[n]];for(n=0;n<l;++n)e[n]=a[n]}}(),e){var o=+e[0][0],a=+e[0][1],s=+e[1][0],u=+e[1][1];!function(t,e,n,l){for(var i,r=ja.length;r--;)Nl(i=ja[r],t,e,n,l)&&Fl(i,t,e,n,l)&&(Math.abs(i[0][0]-i[1][0])>Na||Math.abs(i[0][1]-i[1][1])>Na)||delete ja[r]}(o,a,s,u),function(t,e,n,l){var i,r,o,a,s,u,c,d,h,p,f,b,m=Ia.length,g=!0;for(i=0;i<m;++i)if(r=Ia[i]){for(o=r.site,a=(s=r.halfedges).length;a--;)ja[s[a]]||s.splice(a,1);for(a=0,u=s.length;a<u;)f=(p=Bl(r,ja[s[a]]))[0],b=p[1],d=(c=Ul(r,ja[s[++a%u]]))[0],h=c[1],(Math.abs(f-d)>Na||Math.abs(b-h)>Na)&&(s.splice(a,0,ja.push(jl(o,p,Math.abs(f-t)<Na&&l-b>Na?[t,Math.abs(d-t)<Na?h:l]:Math.abs(b-l)<Na&&n-f>Na?[Math.abs(h-l)<Na?d:n,l]:Math.abs(f-n)<Na&&b-e>Na?[n,Math.abs(d-n)<Na?h:e]:Math.abs(b-e)<Na&&f-t>Na?[Math.abs(h-e)<Na?d:t,e]:null))-1),++u);u&&(g=!1)}if(g){var _,y,A,v=1/0;for(i=0,g=null;i<m;++i)(r=Ia[i])&&(A=(_=(o=r.site)[0]-t)*_+(y=o[1]-e)*y)<v&&(v=A,g=r);if(g){var C=[t,e],w=[t,l],P=[n,l],x=[n,e];g.halfedges.push(ja.push(jl(o=g.site,C,w))-1,ja.push(jl(o,w,P))-1,ja.push(jl(o,P,x))-1,ja.push(jl(o,x,C))-1)}}for(i=0;i<m;++i)(r=Ia[i])&&(r.halfedges.length||delete Ia[i])}(o,a,s,u)}this.edges=ja,this.cells=Ia,Ea=La=ja=Ia=null}function Ql(t){return(t=t.slice()).push(t[0]),r([t])}function Zl(t,e,n,l){var i=(l=l||{}).steps||64,o=l.units||"kilometers",a=l.angle||0,s=l.pivot||t,u=l.properties||t.properties||{};if(!t)throw new Error("center is required");if(!e)throw new Error("xSemiAxis is required");if(!n)throw new Error("ySemiAxis is required");if(!P(l))throw new Error("options must be an object");if(!w(i))throw new Error("steps must be a number");if(!w(a))throw new Error("angle must be a number");var c=G(t);if("degrees"===o)var d=A(a);else e=Vn(t,e,90,{units:o}),n=Vn(t,n,0,{units:o}),e=G(e)[0]-c[0],n=G(n)[1]-c[1];for(var h=[],p=0;p<i;p+=1){var f=-360*p/i,b=e*n/Math.sqrt(Math.pow(n,2)+Math.pow(e,2)*Math.pow(ti(f),2)),m=e*n/Math.sqrt(Math.pow(e,2)+Math.pow(n,2)/Math.pow(ti(f),2));if(f<-90&&f>=-270&&(b=-b),f<-180&&f>=-360&&(m=-m),"degrees"===o){var g=b*Math.cos(d)+m*Math.sin(d),_=m*Math.cos(d)-b*Math.sin(d);b=g,m=_}h.push([b+c[0],m+c[1]])}return h.push(h[0]),"degrees"===o?r([h],u):el(r([h],u),a,{pivot:s})}function ti(t){var e=t*Math.PI/180;return Math.tan(e)}function ei(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.properties,i=e.weight;if(!t)throw new Error("geojson is required");var r=0,o=0,a=0;return L(t,(function(t,e,n){var l=n[i];if(!w(l=null==l?1:l))throw new Error("weight value must be a number for feature index "+e);(l=Number(l))>0&&k(t,(function(t){r+=t[0]*l,o+=t[1]*l,a+=l}))})),l([r/a,o/a],n)}function ni(t,e,n,i){var r=n.properties.tolerance||.001,o=0,a=0,s=0,u=0;if(T(n,(function(e){var n=e.properties.weight,l=null==n?1:n;if(!w(l=Number(l)))throw new Error("weight value must be a number");if(l>0){u+=1;var i=l*jt(e,t);0===i&&(i=1);var r=l/i;o+=e.geometry.coordinates[0]*r,a+=e.geometry.coordinates[1]*r,s+=r}})),u<1)throw new Error("no features to measure");var c=o/s,d=a/s;return 1===u||0===i||Math.abs(c-e[0])<r&&Math.abs(d-e[1])<r?l([c,d],{medianCandidates:n.properties.medianCandidates}):(n.properties.medianCandidates.push([c,d]),ni([c,d],t,n,i-1))}function li(t,e){return{x:t[0]-e[0],y:t[1]-e[1]}}function ii(t){if(P(t)&&(t=t.bbox),t&&!Array.isArray(t))throw new Error("bbox is invalid");return t?function(t){return[Math.random()*(t[2]-t[0])+t[0],Math.random()*(t[3]-t[1])+t[1]]}(t):[360*si(),180*si()]}function ri(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox;null!=t||(t=1);for(var i=[],r=0;r<t;r++)i.push(l(ii(n)));return u(i)}function oi(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.num_vertices,i=e.max_radial_length;null!=t||(t=1),w(l)||(l=10),w(i)||(i=10);for(var o=[],a=0;a<t;a++){var s=[],c=Array.apply(null,new Array(l+1)).map(Math.random);c.forEach((function(t,e,n){n[e]=e>0?t+n[e-1]:t})),c.forEach((function(t){t=2*t*Math.PI/c[c.length-1];var e=Math.random();s.push([e*i*Math.sin(t),e*i*Math.cos(t)])})),s[s.length-1]=s[0],s=s.map(function(t){return function(e){return[e[0]+t[0],e[1]+t[1]]}}(ii(n))),o.push(r([s]))}return u(o)}function ai(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox,l=e.num_vertices,i=e.max_length,r=e.max_rotation;null!=t||(t=1),(!w(l)||l<2)&&(l=10),w(i)||(i=1e-4),w(r)||(r=Math.PI/8);for(var o=[],s=0;s<t;s++){for(var c=[ii(n)],d=0;d<l-1;d++){var h=(0===d?2*Math.random()*Math.PI:Math.tan((c[d][1]-c[d-1][1])/(c[d][0]-c[d-1][0])))+(Math.random()-.5)*r*2,p=Math.random()*i;c.push([c[d][0]+p*Math.cos(h),c[d][1]+p*Math.sin(h)])}o.push(a(c))}return u(o)}function si(){return Math.random()-.5}function ui(t,e){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(null==e)throw new Error("filter is required");var n=[];return T(t,(function(t){pi(t.properties,e)&&n.push(t)})),u(n)}function ci(t,e,n){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(null==e)throw new Error("property is required");for(var l=hi(t,e),i=Object.keys(l),r=0;r<i.length;r++){for(var o=i[r],a=l[o],s=[],c=0;c<a.length;c++)s.push(t.features[a[c]]);n(u(s),o,r)}}function di(t,e,n,l){var i=l;return ci(t,e,(function(t,e,r){i=0===r&&void 0===l?t:n(i,t,e,r)})),i}function hi(t,e){var n={};return T(t,(function(t,l){var i=t.properties||{};if(i.hasOwnProperty(e)){var r=i[e];n.hasOwnProperty(r)?n[r].push(l):n[r]=[l]}})),n}function pi(t,e){if(void 0===t)return!1;var n=typeof e;if("number"===n||"string"===n)return t.hasOwnProperty(e);if(Array.isArray(e)){for(var l=0;l<e.length;l++)if(!pi(t,e[l]))return!1;return!0}return fi(t,e)}function fi(t,e){for(var n=Object.keys(e),l=0;l<n.length;l++){var i=n[l];if(t[i]!==e[i])return!1}return!0}function bi(t,e){if(!e)return{};if(!e.length)return{};for(var n={},l=0;l<e.length;l++){var i=e[l];t.hasOwnProperty(i)&&(n[i]=t[i])}return n}function mi(){}function gi(t){this.message=t||""}function _i(t){this.message=t||""}function yi(){}function Ai(t){return null===t?ou:t.color}function vi(t){return null===t?null:t.parent}function Ci(t,e){null!==t&&(t.color=e)}function wi(t){return null===t?null:t.left}function Pi(t){return null===t?null:t.right}function xi(){this.root_=null,this.size_=0}function Si(){}function ki(){this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}function Mi(){}function Oi(t){this.message=t||""}function Di(){this.array_=[]}function Ti(t){switch(t.type){case"Polygon":return sn(t)>1?t:null;case"MultiPolygon":var e=[];if(R(t,(function(t){sn(t)>1&&e.push(t.geometry.coordinates)})),e.length)return{type:"MultiPolygon",coordinates:e}}}function Ei(){this.reset()}function Ii(t,e,n){var l=t.s=e+n,i=l-e;t.t=e-(l-i)+(n-i)}function Li(t){return t>1?dp:t<-1?-dp:Math.asin(t)}function ji(){}function Ri(t,e){t&&Sp.hasOwnProperty(t.type)&&Sp[t.type](t,e)}function Fi(t,e,n){var l,i=-1,r=t.length-n;for(e.lineStart();++i<r;)e.point((l=t[i])[0],l[1],l[2]);e.lineEnd()}function Ni(t,e){var n=-1,l=t.length;for(e.polygonStart();++n<l;)Fi(t[n],e,1);e.polygonEnd()}function Yi(t){return[_p(t[1],t[0]),Li(t[2])]}function Ui(t){var e=t[0],n=t[1],l=yp(n);return[l*yp(e),l*Cp(e),Cp(n)]}function Bi(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function zi(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Gi(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Hi(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Vi(t){var e=wp(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function qi(t,e){return[t>cp?t-pp:t<-cp?t+pp:t,e]}function Wi(t,e,n){return(t%=pp)?e||n?Mp(Xi(t),Ki(e,n)):Xi(t):e||n?Ki(e,n):qi}function $i(t){return function(e,n){return[(e+=t)>cp?e-pp:e<-cp?e+pp:e,n]}}function Xi(t){var e=$i(t);return e.invert=$i(-t),e}function Ki(t,e){function n(t,e){var n=yp(e),a=yp(t)*n,s=Cp(t)*n,u=Cp(e),c=u*l+a*i;return[_p(s*r-c*o,a*l-u*i),Li(c*r+s*o)]}var l=yp(t),i=Cp(t),r=yp(e),o=Cp(e);return n.invert=function(t,e){var n=yp(e),a=yp(t)*n,s=Cp(t)*n,u=Cp(e),c=u*r-s*o;return[_p(s*r+u*o,a*l+c*i),Li(c*l-a*i)]},n}function Ji(t,e){(e=Ui(e))[0]-=t,Vi(e);var n=function(t){return t>1?0:t<-1?cp:Math.acos(t)}(-e[1]);return((-e[2]<0?-n:n)+pp-up)%pp}function Qi(t,e,n,l){this.x=t,this.z=e,this.o=n,this.e=l,this.v=!1,this.n=this.p=null}function Zi(t){if(e=t.length){for(var e,n,l=0,i=t[0];++l<e;)i.n=n=t[l],n.p=i,i=n;i.n=n=t[0],n.p=i}}function tr(t,e,n,l){function i(i,r){return t<=i&&i<=n&&e<=r&&r<=l}function r(i,r,a,u){var c=0,d=0;if(null==i||(c=o(i,a))!==(d=o(r,a))||s(i,r)<0^a>0)do{u.point(0===c||3===c?t:n,c>1?l:e)}while((c=(c+a+4)%4)!==d);else u.point(r[0],r[1])}function o(l,i){return mp(l[0]-t)<up?i>0?0:3:mp(l[0]-n)<up?i>0?2:1:mp(l[1]-e)<up?i>0?1:0:i>0?3:2}function a(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),l=o(e,1);return n!==l?n-l:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){function s(t,e){i(t,e)&&v.point(t,e)}function u(r,o){var a=i(r,o);if(d&&h.push([r,o]),y)p=r,f=o,b=a,y=!1,a&&(v.lineStart(),v.point(r,o));else if(a&&_)v.point(r,o);else{var s=[m=Math.max(Rp,Math.min(jp,m)),g=Math.max(Rp,Math.min(jp,g))],u=[r=Math.max(Rp,Math.min(jp,r)),o=Math.max(Rp,Math.min(jp,o))];Dp(s,u,t,e,n,l)?(_||(v.lineStart(),v.point(s[0],s[1])),v.point(u[0],u[1]),a||v.lineEnd(),A=!1):a&&(v.lineStart(),v.point(r,o),A=!1)}m=r,g=o,_=a}var c,d,h,p,f,b,m,g,_,y,A,v=o,C=Op(),w={point:s,lineStart:function(){w.point=u,d&&d.push(h=[]),y=!0,_=!1,m=g=NaN},lineEnd:function(){c&&(u(p,f),b&&_&&C.rejoin(),c.push(C.result())),w.point=s,_&&v.lineEnd()},polygonStart:function(){v=C,c=[],d=[],A=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=d.length;n<i;++n)for(var r,o,a=d[n],s=1,u=a.length,c=a[0],h=c[0],p=c[1];s<u;++s)r=h,o=p,h=(c=a[s])[0],p=c[1],o<=l?p>l&&(h-r)*(l-o)>(p-o)*(t-r)&&++e:p<=l&&(h-r)*(l-o)<(p-o)*(t-r)&&--e;return e}(),n=A&&e,i=(c=Lp(c)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),r(null,null,1,o),o.lineEnd()),i&&Ep(c,a,e,r,o),o.polygonEnd()),v=o,c=d=h=null}};return w}}function er(t){return t.length>1}function nr(t,e){return((t=t.x)[0]<0?t[1]-dp-up:dp-t[1])-((e=e.x)[0]<0?e[1]-dp-up:dp-e[1])}function lr(t){return function(e){var n=new ir;for(var l in t)n[l]=t[l];return n.stream=e,n}}function ir(){}function rr(t,e,n){var l=e[1][0]-e[0][0],i=e[1][1]-e[0][1],r=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),kp(n,t.stream(Gp));var o=Gp.result(),a=Math.min(l/(o[1][0]-o[0][0]),i/(o[1][1]-o[0][1])),s=+e[0][0]+(l-a*(o[1][0]+o[0][0]))/2,u=+e[0][1]+(i-a*(o[1][1]+o[0][1]))/2;return null!=r&&t.clipExtent(r),t.scale(150*a).translate([s,u])}function or(t,e){return[t,vp(Pp((dp+e)/2))]}function ar(t,e){return[vp(Pp((dp+e)/2)),-t]}function sr(t,n,l,i){var r=t.properties||{},o="Feature"===t.type?t.geometry:t;if("GeometryCollection"===o.type){var a=[];return L(t,(function(t){var e=sr(t,n,l,i);e&&a.push(e)})),u(a)}var s,c=z(t),d=c[1]>50&&c[3]>50;s=d?{type:o.type,coordinates:ur(o.coordinates,dr(o))}:Qe(o);var h,p=(new Xu).read(s),f=b(m(n,l),"meters"),g=Ud.bufferOp(p,f);if(!function t(e){return Array.isArray(e[0])?t(e[0]):isNaN(e[0])}((g=(new Ku).write(g)).coordinates))return(h=d?{type:g.type,coordinates:cr(g.coordinates,dr(o))}:Ze(g)).geometry?h:e(h,r)}function ur(t,e){return"object"!=typeof t[0]?e(t):t.map((function(t){return ur(t,e)}))}function cr(t,e){return"object"!=typeof t[0]?e.invert(t):t.map((function(t){return cr(t,e)}))}function dr(t){var e=se(t).geometry.coordinates.reverse(),n=e.map((function(t){return-t}));return Kp().center(e).rotate(n).scale(Ar)}function hr(){for(var t=new Xu,e=t.read(JSON.stringify(arguments[0].geometry)),n=1;n<arguments.length;n++)e=op.union(e,t.read(JSON.stringify(arguments[n].geometry)));return{type:"Feature",geometry:e=(new Ku).write(e),properties:arguments[0].properties}}function pr(t,n){var l=X(t),i=X(n);if($t(yn(i,{precision:4})).coordinates[0].length<4)return null;if($t(yn(l,{precision:4})).coordinates[0].length<4)return null;var r=new Xu,o=r.read(yn(l)),a=r.read(yn(i)),s=Jh.intersection(o,a);return s.isEmpty()?null:e((new Ku).write(s))}function fr(t,e){return function(t,e,n){var l,i;if(!Array.isArray(e))throw new Error("Get closest expects an array as second argument");return e.forEach((function(e,n){var r=function(t,e){return t-e}(e,t);r>=0&&(void 0===i||r<i)&&(i=r,l=n)})),l}(t,e)}function br(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties||{},i=n.triangles,o=n.mask;if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(o&&-1===["Polygon","MultiPolygon"].indexOf(J(o)))throw new Error("options.mask must be a (Multi)Polygon");var a=t[0],s=t[1],c=t[2],d=t[3],h=(s+d)/2,p=(a+c)/2,f=2*e/jt([a,h],[c,h],n)*(c-a),b=2*e/jt([p,s],[p,d],n)*(d-s),m=f/2,g=2*m,_=Math.sqrt(3)/2*b,y=c-a,A=d-s,v=.75*g,C=_,x=Math.floor((y-g)/(g-m/2)),S=(x*v-m/2-y)/2-m/2+v/2,k=Math.floor((A-_)/_),M=(A-k*_)/2,O=k*_-A>_/2;O&&(M-=_/4);for(var D=[],T=[],E=0;E<6;E++){var I=2*Math.PI/6*E;D.push(Math.cos(I)),T.push(Math.sin(I))}for(var L=[],j=0;j<=x;j++)for(var R=0;R<=k;R++){var F=j%2==1;if(!(0===R&&F||0===R&&O)){var N=j*v+a-S,Y=R*C+s+M;if(F&&(Y-=_/2),!0===i)(function(t,e,n,l,i,o){for(var a=[],s=0;s<6;s++){var u=[];u.push(t),u.push([t[0]+e*i[s],t[1]+n*o[s]]),u.push([t[0]+e*i[(s+1)%6],t[1]+n*o[(s+1)%6]]),u.push(t),a.push(r([u],l))}return a})([N,Y],f/2,b/2,l,D,T).forEach((function(t){o?pr(o,t)&&L.push(t):L.push(t)}));else{var U=function(t,e,n,l,i,o){for(var a=[],s=0;s<6;s++)a.push([t[0]+e*i[s],t[1]+n*o[s]]);return a.push(a[0].slice()),r([a],l)}([N,Y],f/2,b/2,l,D,T);o?pr(o,U)&&L.push(U):L.push(U)}}}return u(L)}function mr(t){if(t.features.length<=1)return t;var e=function(t){var e=Dr(),n=[];return R(t,(function(t,e){var l=z(t);n.push({minX:l[0],minY:l[1],maxX:l[2],maxY:l[3],geojson:t,index:e})})),e.load(n),e}(t),n=[],l={};return R(t,(function(t,i){if(l[i])return!0;for(e.remove({index:i},gr),l[i]=!0;;){var r=z(t),o=e.search({minX:r[0],minY:r[1],maxX:r[2],maxY:r[3]});if(o.length>0){var a=o.map((function(t){return l[t.index]=!0,e.remove({index:t.index},gr),t.geojson}));a.push(t),t=hr.apply(this,a)}if(0===o.length)break}n.push(t)})),u(n)}function gr(t,e){return t.index===e.index}function _r(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.mask,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=t[0],s=t[1],c=t[2],d=t[3],h=e/jt([a,s],[c,s],n)*(c-a),p=e/jt([a,s],[a,d],n)*(d-s),f=c-a,b=d-s,m=Math.floor(f/h),g=Math.floor(b/p),_=(b-g*p)/2,y=a+(f-m*h)/2,A=0;A<m;A++){for(var v=s+_,C=0;C<g;C++){var x=r([[[y,v],[y,v+p],[y+h,v+p],[y+h,v],[y,v]]],l);i?pr(i,x)&&o.push(x):o.push(x),v+=p}y+=h}return u(o)}function yr(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.mask,o=[];if(null==e)throw new Error("cellSide is required");if(!w(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var a=e/jt([t[0],t[1]],[t[2],t[1]],n)*(t[2]-t[0]),s=e/jt([t[0],t[1]],[t[0],t[3]],n)*(t[3]-t[1]),c=0,d=t[0];d<=t[2];){for(var h=0,p=t[1];p<=t[3];){var f=null,b=null;c%2==0&&h%2==0?(f=r([[[d,p],[d,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p+s],[d+a,p+s],[d+a,p],[d,p+s]]],l)):c%2==0&&h%2==1?(f=r([[[d,p],[d+a,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p],[d,p+s],[d+a,p+s],[d,p]]],l)):h%2==0&&c%2==1?(f=r([[[d,p],[d,p+s],[d+a,p+s],[d,p]]],l),b=r([[[d,p],[d+a,p+s],[d+a,p],[d,p]]],l)):h%2==1&&c%2==1&&(f=r([[[d,p],[d,p+s],[d+a,p],[d,p]]],l),b=r([[[d,p+s],[d+a,p+s],[d+a,p],[d,p+s]]],l)),i?(pr(i,f)&&o.push(f),pr(i,b)&&o.push(b)):(o.push(f),o.push(b)),p+=s,h++}c++,d+=a}return u(o)}var Ar=6371008.8,vr={meters:Ar,metres:Ar,millimeters:1e3*Ar,millimetres:1e3*Ar,centimeters:100*Ar,centimetres:100*Ar,kilometers:Ar/1e3,kilometres:Ar/1e3,miles:Ar/1609.344,nauticalmiles:Ar/1852,inches:39.37*Ar,yards:Ar/1.0936,feet:3.28084*Ar,radians:1,degrees:Ar/111325},Cr={meters:1,metres:1,millimeters:1e3,millimetres:1e3,centimeters:100,centimetres:100,kilometers:.001,kilometres:.001,miles:1/1609.344,nauticalmiles:1/1852,inches:39.37,yards:1/1.0936,feet:3.28084,radians:1/Ar,degrees:1/111325},wr={meters:1,metres:1,millimeters:1e6,millimetres:1e6,centimeters:1e4,centimetres:1e4,kilometers:1e-6,kilometres:1e-6,acres:247105e-9,miles:386e-9,yards:1.195990046,feet:10.763910417,inches:1550.003100006},Pr=Object.freeze({earthRadius:Ar,factors:vr,unitsFactors:Cr,areaFactors:wr,feature:e,geometry:n,point:l,points:i,polygon:r,polygons:o,lineString:a,lineStrings:s,featureCollection:u,multiLineString:c,multiPoint:d,multiPolygon:h,geometryCollection:p,round:f,radiansToLength:b,lengthToRadians:m,lengthToDegrees:g,bearingToAzimuth:_,radiansToDegrees:y,degreesToRadians:A,convertLength:v,convertArea:C,isNumber:w,isObject:P,validateBBox:x,validateId:S,radians2degrees:function(){throw new Error("method has been renamed to `radiansToDegrees`")},degrees2radians:function(){throw new Error("method has been renamed to `degreesToRadians`")},distanceToDegrees:function(){throw new Error("method has been renamed to `lengthToDegrees`")},distanceToRadians:function(){throw new Error("method has been renamed to `lengthToRadians`")},radiansToDistance:function(){throw new Error("method has been renamed to `radiansToLength`")},bearingToAngle:function(){throw new Error("method has been renamed to `bearingToAzimuth`")},convertDistance:function(){throw new Error("method has been renamed to `convertLength`")}}),xr=Object.freeze({coordEach:k,coordReduce:M,propEach:O,propReduce:D,featureEach:T,featureReduce:E,coordAll:I,geomEach:L,geomReduce:j,flattenEach:R,flattenReduce:F,segmentEach:N,segmentReduce:Y,lineEach:U,lineReduce:B}),Sr=Object.freeze({getCoord:G,getCoords:H,containsNumber:V,geojsonType:q,featureOf:W,collectionOf:$,getGeom:X,getGeomType:K,getType:J}),kr={successCallback:null,verbose:!1},Mr={},Or=function t(e,n,l,i,r){for(l=l||0,i=i||e.length-1,r=r||function(t,e){return t<e?-1:t>e?1:0};i>l;){if(i-l>600){var o=i-l+1,a=n-l+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);t(e,n,Math.max(l,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),r)}var d=e[n],h=l,p=i;for(lt(e,l,n),r(e[i],d)>0&&lt(e,l,i);h<p;){for(lt(e,h,p),h++,p--;r(e[h],d)<0;)h++;for(;r(e[p],d)>0;)p--}0===r(e[l],d)?lt(e,l,p):lt(e,++p,i),p<=n&&(l=p+1),n<=p&&(i=p-1)}},Dr=it;it.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],l=this.toBBox;if(!pt(t,e))return n;for(var i,r,o,a,s=[];e;){for(i=0,r=e.children.length;i<r;i++)o=e.children[i],pt(t,a=e.leaf?l(o):o)&&(e.leaf?n.push(o):ht(t,a)?this._all(o,n):s.push(o));e=s.pop()}return n},collides:function(t){var e=this.data,n=this.toBBox;if(!pt(t,e))return!1;for(var l,i,r,o,a=[];e;){for(l=0,i=e.children.length;l<i;l++)if(r=e.children[l],pt(t,o=e.leaf?n(r):r)){if(e.leaf||ht(t,o))return!0;a.push(r)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}var l=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===l.height)this._splitRoot(this.data,l);else{if(this.data.height<l.height){var i=this.data;this.data=l,l=i}this._insert(l,this.data.height-l.height-1,!0)}else this.data=l;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=ft([]),this},remove:function(t,e){if(!t)return this;for(var n,l,i,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf&&-1!==(i=function(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}(t,o.children,e)))return o.children.splice(i,1),s.push(o),this._condense(s),this;r||o.leaf||!ht(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},toBBox:function(t){return t},compareMinX:st,compareMinY:ut,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},_build:function(t,e,n,l){var i,r=n-e+1,o=this._maxEntries;if(r<=o)return rt(i=ft(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,l-1))),(i=ft([])).leaf=!1,i.height=l;var a,s,u,c,d=Math.ceil(r/o),h=d*Math.ceil(Math.sqrt(o));for(bt(t,e,n,h,this.compareMinX),a=e;a<=n;a+=h)for(bt(t,a,u=Math.min(a+h-1,n),d,this.compareMinY),s=a;s<=u;s+=d)c=Math.min(s+d-1,u),i.children.push(this._build(t,s,c,l-1));return rt(i,this.toBBox),i},_chooseSubtree:function(t,e,n,l){for(var i,r,o,a,s,u,c,d;l.push(e),!e.leaf&&l.length-1!==n;){for(c=d=1/0,i=0,r=e.children.length;i<r;i++)s=ct(o=e.children[i]),(u=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,o)-s)<d?(d=u,c=s<c?s:c,a=o):u===d&&s<c&&(c=s,a=o);e=a||e.children[0]}return e},_insert:function(t,e,n){var l=n?t:(0,this.toBBox)(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),at(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},_split:function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var r=this._chooseSplitIndex(n,i,l),o=ft(n.children.splice(r,n.children.length-r));o.height=n.height,o.leaf=n.leaf,rt(n,this.toBBox),rt(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(n,o)},_splitRoot:function(t,e){this.data=ft([t,e]),this.data.height=t.height+1,this.data.leaf=!1,rt(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var l,i,r,o,a,s,u,c;for(s=u=1/0,l=e;l<=n-e;l++)o=function(t,e){var n=Math.max(t.minX,e.minX),l=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,r-l)}(i=ot(t,0,l,this.toBBox),r=ot(t,l,n,this.toBBox)),a=ct(i)+ct(r),o<s?(s=o,c=l,u=a<u?a:u):o===s&&a<u&&(u=a,c=l);return c},_chooseSplitAxis:function(t,e,n){var l=t.leaf?this.compareMinX:st,i=t.leaf?this.compareMinY:ut;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},_allDistMargin:function(t,e,n,l){t.children.sort(l);var i,r,o=this.toBBox,a=ot(t,0,e,o),s=ot(t,n-e,n,o),u=dt(a)+dt(s);for(i=e;i<n-e;i++)r=t.children[i],at(a,t.leaf?o(r):r),u+=dt(a);for(i=n-e-1;i>=e;i--)r=t.children[i],at(s,t.leaf?o(r):r),u+=dt(s);return u},_adjustParentBBoxes:function(t,e,n){for(var l=n;l>=0;l--)at(e[l],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():rt(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var Tr=function(t,e,n){var l=t*e,i=Er*t,r=i-(i-t),o=t-r,a=Er*e,s=a-(a-e),u=e-s,c=o*u-(l-r*s-o*s-r*u);return n?(n[0]=c,n[1]=l,n):[c,l]},Er=+(Math.pow(2,27)+1),Ir=function(t,e){var n=0|t.length,l=0|e.length;if(1===n&&1===l)return function(t,e){var n=t+e,l=n-t,i=t-(n-l)+(e-l);return i?[i,n]:[n]}(t[0],e[0]);var i,r,o=new Array(n+l),a=0,s=0,u=0,c=Math.abs,d=t[s],h=c(d),p=e[u],f=c(p);h<f?(r=d,(s+=1)<n&&(h=c(d=t[s]))):(r=p,(u+=1)<l&&(f=c(p=e[u]))),s<n&&h<f||u>=l?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=e[u])));for(var b,m,g=i+r,_=g-i,y=r-_,A=y,v=g;s<n&&u<l;)h<f?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=e[u]))),(y=(r=A)-(_=(g=i+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b;for(;s<n;)(y=(r=A)-(_=(g=(i=d)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(s+=1)<n&&(d=t[s]);for(;u<l;)(y=(r=A)-(_=(g=(i=p)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(u+=1)<l&&(p=e[u]);return A&&(o[a++]=A),v&&(o[a++]=v),a||(o[a++]=0),o.length=a,o},Lr=function(t,e,n){var l=t+e,i=l-t,r=e-i,o=t-(l-i);return n?(n[0]=o+r,n[1]=l,n):[o+r,l]},jr=function(t,e){var n=t.length;if(1===n){var l=Tr(t[0],e);return l[0]?l:[l[1]]}var i=new Array(2*n),r=[.1,.1],o=[.1,.1],a=0;Tr(t[0],e,r),r[0]&&(i[a++]=r[0]);for(var s=1;s<n;++s){Tr(t[s],e,o),Lr(r[1],o[0],r),r[0]&&(i[a++]=r[0]);var u=o[1],c=r[1],d=u+c,h=c-(d-u);r[1]=d,h&&(i[a++]=h)}return r[1]&&(i[a++]=r[1]),0===a&&(i[a++]=0),i.length=a,i},Rr=function(t,e){var n=0|t.length,l=0|e.length;if(1===n&&1===l)return function(t,e){var n=t+e,l=n-t,i=t-(n-l)+(e-l);return i?[i,n]:[n]}(t[0],-e[0]);var i,r,o=new Array(n+l),a=0,s=0,u=0,c=Math.abs,d=t[s],h=c(d),p=-e[u],f=c(p);h<f?(r=d,(s+=1)<n&&(h=c(d=t[s]))):(r=p,(u+=1)<l&&(f=c(p=-e[u]))),s<n&&h<f||u>=l?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=-e[u])));for(var b,m,g=i+r,_=g-i,y=r-_,A=y,v=g;s<n&&u<l;)h<f?(i=d,(s+=1)<n&&(h=c(d=t[s]))):(i=p,(u+=1)<l&&(f=c(p=-e[u]))),(y=(r=A)-(_=(g=i+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b;for(;s<n;)(y=(r=A)-(_=(g=(i=d)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(s+=1)<n&&(d=t[s]);for(;u<l;)(y=(r=A)-(_=(g=(i=p)+r)-i))&&(o[a++]=y),A=v-((b=v+g)-(m=b-v))+(g-m),v=b,(u+=1)<l&&(p=-e[u]);return A&&(o[a++]=A),v&&(o[a++]=v),a||(o[a++]=0),o.length=a,o},Fr=mt((function(t){function e(t,e){for(var n=new Array(t.length-1),l=1;l<t.length;++l)for(var i=n[l-1]=new Array(t.length-1),r=0,o=0;r<t.length;++r)r!==e&&(i[o++]=t[l][r]);return n}function n(t){return 1&t?"-":""}function l(t){if(1===t.length)return t[0];if(2===t.length)return["sum(",t[0],",",t[1],")"].join("");var e=t.length>>1;return["sum(",l(t.slice(0,e)),",",l(t.slice(e)),")"].join("")}function i(t){if(2===t.length)return[["sum(prod(",t[0][0],",",t[1][1],"),prod(-",t[0][1],",",t[1][0],"))"].join("")];for(var r=[],o=0;o<t.length;++o)r.push(["scale(",l(i(e(t,o))),",",n(o),t[0][o],")"].join(""));return r}function r(t){for(var n=[],r=[],o=function(t){for(var e=new Array(t),n=0;n<t;++n){e[n]=new Array(t);for(var l=0;l<t;++l)e[n][l]=["m",l,"[",t-n-1,"]"].join("")}return e}(t),a=[],s=0;s<t;++s)0==(1&s)?n.push.apply(n,i(e(o,s))):r.push.apply(r,i(e(o,s))),a.push("m"+s);var u=l(n),c=l(r),d="orientation"+t+"Exact",h=["function ",d,"(",a.join(),"){var p=",u,",n=",c,",d=sub(p,n);return d[d.length-1];};return ",d].join("");return new Function("sum","prod","scale","sub",h)(Ir,Tr,jr,Rr)}var o=r(3),a=r(4),s=[function(){return 0},function(){return 0},function(t,e){return e[0]-t[0]},function(t,e,n){var l,i=(t[1]-n[1])*(e[0]-n[0]),r=(t[0]-n[0])*(e[1]-n[1]),a=i-r;if(i>0){if(r<=0)return a;l=i+r}else{if(!(i<0))return a;if(r>=0)return a;l=-(i+r)}var s=33306690738754716e-32*l;return a>=s||a<=-s?a:o(t,e,n)},function(t,e,n,l){var i=t[0]-l[0],r=e[0]-l[0],o=n[0]-l[0],s=t[1]-l[1],u=e[1]-l[1],c=n[1]-l[1],d=t[2]-l[2],h=e[2]-l[2],p=n[2]-l[2],f=r*c,b=o*u,m=o*s,g=i*c,_=i*u,y=r*s,A=d*(f-b)+h*(m-g)+p*(_-y),v=7771561172376103e-31*((Math.abs(f)+Math.abs(b))*Math.abs(d)+(Math.abs(m)+Math.abs(g))*Math.abs(h)+(Math.abs(_)+Math.abs(y))*Math.abs(p));return A>v||-A>v?A:a(t,e,n,l)}];!function(){for(;s.length<=5;)s.push(r(s.length));for(var e=[],n=["slow"],l=0;l<=5;++l)e.push("a"+l),n.push("o"+l);var i=["function getOrientation(",e.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(l=2;l<=5;++l)i.push("case ",l,":return o",l,"(",e.slice(0,l).join(),");");i.push("}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return getOrientation"),n.push(i.join(""));var o=Function.apply(void 0,n);for(t.exports=o.apply(void 0,[function(t){var e=s[t.length];return e||(e=s[t.length]=r(t.length)),e.apply(void 0,t)}].concat(s)),l=0;l<=5;++l)t.exports[l]=s[l]}()})),Nr=function(t){var e=t.length;if(e<3){for(var n=new Array(e),l=0;l<e;++l)n[l]=l;return 2===e&&t[0][0]===t[1][0]&&t[0][1]===t[1][1]?[0]:n}var i=new Array(e);for(l=0;l<e;++l)i[l]=l;i.sort((function(e,n){return t[e][0]-t[n][0]||t[e][1]-t[n][1]}));var r=[i[0],i[1]],o=[i[0],i[1]];for(l=2;l<e;++l){for(var a=i[l],s=t[a],u=r.length;u>1&&Yr(t[r[u-2]],t[r[u-1]],s)<=0;)u-=1,r.pop();for(r.push(a),u=o.length;u>1&&Yr(t[o[u-2]],t[o[u-1]],s)>=0;)u-=1,o.pop();o.push(a)}n=new Array(o.length+r.length-2);for(var c=0,d=(l=0,r.length);l<d;++l)n[c++]=r[l];for(var h=o.length-2;h>0;--h)n[c++]=o[h];return n},Yr=Fr[3],Ur=gt,Br=gt;gt.prototype={push:function(t){this.data.push(t),this.length++,this._up(this.length-1)},pop:function(){if(0!==this.length){var t=this.data[0];return this.length--,this.length>0&&(this.data[0]=this.data[this.length],this._down(0)),this.data.pop(),t}},peek:function(){return this.data[0]},_up:function(t){for(var e=this.data,n=this.compare,l=e[t];t>0;){var i=t-1>>1,r=e[i];if(n(l,r)>=0)break;e[t]=r,t=i}e[t]=l},_down:function(t){for(var e=this.data,n=this.compare,l=this.length>>1,i=e[t];t<l;){var r=1+(t<<1),o=r+1,a=e[r];if(o<this.length&&n(e[o],a)<0&&(r=o,a=e[o]),n(a,i)>=0)break;e[t]=a,t=r}e[t]=i}},Ur.default=Br;var zr=function(t,e){for(var n=t[0],l=t[1],i=!1,r=0,o=e.length-1;r<e.length;o=r++){var a=e[r][0],s=e[r][1],u=e[o][1];s>l!=u>l&&n<(e[o][0]-a)*(l-s)/(u-s)+a&&(i=!i)}return i},Gr=Fr[3],Hr=_t;Hr.default=_t;var Vr=function(t){return t},qr=function(t){if(null==t)return Vr;var e,n,l=t.scale[0],i=t.scale[1],r=t.translate[0],o=t.translate[1];return function(t,a){a||(e=n=0);var s=2,u=t.length,c=new Array(u);for(c[0]=(e+=t[0])*l+r,c[1]=(n+=t[1])*i+o;s<u;)c[s]=t[s],++s;return c}},Wr=function(t,e){for(var n,l=t.length,i=l-e;i<--l;)n=t[i],t[i++]=t[l],t[l]=n},$r=function(t,e){function n(t,e){for(var n in t){var i=t[n];delete e[i.start],delete i.start,delete i.end,i.forEach((function(t){l[t<0?~t:t]=1})),o.push(i)}}var l={},i={},r={},o=[],a=-1;return e.forEach((function(n,l){var i,r=t.arcs[n<0?~n:n];r.length<3&&!r[1][0]&&!r[1][1]&&(i=e[++a],e[a]=n,e[l]=i)})),e.forEach((function(e){var n,l,o=function(e){var n,l=t.arcs[e<0?~e:e],i=l[0];return t.transform?(n=[0,0],l.forEach((function(t){n[0]+=t[0],n[1]+=t[1]}))):n=l[l.length-1],e<0?[n,i]:[i,n]}(e),a=o[0],s=o[1];if(n=r[a])if(delete r[n.end],n.push(e),n.end=s,l=i[s]){delete i[l.start];var u=l===n?n:n.concat(l);i[u.start=n.start]=r[u.end=l.end]=u}else i[n.start]=r[n.end]=n;else if(n=i[s])if(delete i[n.start],n.unshift(e),n.start=a,l=r[a]){delete r[l.end];var c=l===n?n:l.concat(n);i[c.start=l.start]=r[c.end=n.end]=c}else i[n.start]=r[n.end]=n;else i[(n=[e]).start=a]=r[n.end=s]=n})),n(r,i),n(i,r),e.forEach((function(t){l[t<0?~t:t]||o.push([t])})),o},Xr=function(t,e,n,l,i,r){3===arguments.length&&(l=r=Array,i=null);for(var o=new l(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),a=new r(t),s=t-1,u=0;u<t;++u)o[u]=i;return{set:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u]=r;if(++d>=t)throw new Error("full hashmap");c=o[u=u+1&s]}return o[u]=l,a[u]=r,r},maybeSet:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u];if(++d>=t)throw new Error("full hashmap");c=o[u=u+1&s]}return o[u]=l,a[u]=r,r},get:function(l,r){for(var u=e(l)&s,c=o[u],d=0;c!=i;){if(n(c,l))return a[u];if(++d>=t)break;c=o[u=u+1&s]}return r},keys:function(){for(var t=[],e=0,n=o.length;e<n;++e){var l=o[e];l!=i&&t.push(l)}return t}}},Kr=function(t,e){return t[0]===e[0]&&t[1]===e[1]},Jr=new ArrayBuffer(16),Qr=new Float64Array(Jr),Zr=new Uint32Array(Jr),to=function(t){Qr[0]=t[0],Qr[1]=t[1];var e=Zr[0]^Zr[1];return 2147483647&(e<<5^e>>7^Zr[2]^Zr[3])},eo=function(t){this.points=t.points||[],this.duration=t.duration||1e4,this.sharpness=t.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=t.stepLength||60,this.length=this.points.length,this.delay=0;for(var e=0;e<this.length;e++)this.points[e].z=this.points[e].z||0;for(e=0;e<this.length-1;e++){var n=this.points[e],l=this.points[e+1];this.centers.push({x:(n.x+l.x)/2,y:(n.y+l.y)/2,z:(n.z+l.z)/2})}for(this.controls.push([this.points[0],this.points[0]]),e=0;e<this.centers.length-1;e++){n=this.centers[e],l=this.centers[e+1];var i=this.points[e+1].x-(this.centers[e].x+this.centers[e+1].x)/2,r=this.points[e+1].y-(this.centers[e].y+this.centers[e+1].y)/2,o=this.points[e+1].z-(this.centers[e].y+this.centers[e+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e].y+r),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e].z+o)},{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e+1].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e+1].y+r),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e+1].z+o)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this};eo.prototype.cacheSteps=function(t){var e=[],n=this.pos(0);e.push(0);for(var l=0;l<this.duration;l+=10){var i=this.pos(l);Math.sqrt((i.x-n.x)*(i.x-n.x)+(i.y-n.y)*(i.y-n.y)+(i.z-n.z)*(i.z-n.z))>t&&(e.push(l),n=i)}return e},eo.prototype.vector=function(t){var e=this.pos(t+10),n=this.pos(t-10);return{angle:180*Math.atan2(e.y-n.y,e.x-n.x)/3.14,speed:Math.sqrt((n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y)+(n.z-e.z)*(n.z-e.z))}},eo.prototype.pos=function(t){var e=t-this.delay;e<0&&(e=0),e>this.duration&&(e=this.duration-1);var n=e/this.duration;if(n>=1)return this.points[this.length-1];var l=Math.floor((this.points.length-1)*n);return function(t,e,n,l,i){var r=function(t){var e=t*t;return[e*t,3*e*(1-t),3*t*(1-t)*(1-t),(1-t)*(1-t)*(1-t)]}(t);return{x:i.x*r[0]+l.x*r[1]+n.x*r[2]+e.x*r[3],y:i.y*r[0]+l.y*r[1]+n.y*r[2]+e.y*r[3],z:i.z*r[0]+l.z*r[1]+n.z*r[2]+e.z*r[3]}}((this.length-1)*n-l,this.points[l],this.controls[l][1],this.controls[l+1][0],this.points[l+1])};var no=de,lo=de;de.deviation=function(t,e,n,l){var i=e&&e.length,r=Math.abs(xe(t,0,i?e[0]*n:t.length,n));if(i)for(var o=0,a=e.length;o<a;o++)r-=Math.abs(xe(t,e[o]*n,o<a-1?e[o+1]*n:t.length,n));var s=0;for(o=0;o<l.length;o+=3){var u=l[o]*n,c=l[o+1]*n,d=l[o+2]*n;s+=Math.abs((t[u]-t[d])*(t[c+1]-t[u+1])-(t[u]-t[c])*(t[d+1]-t[u+1]))}return 0===r&&0===s?0:Math.abs((s-r)/r)},de.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},l=0,i=0;i<t.length;i++){for(var r=0;r<t[i].length;r++)for(var o=0;o<e;o++)n.vertices.push(t[i][r][o]);i>0&&n.holes.push(l+=t[i-1].length)}return n},no.default=lo,De.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],l=this.toBBox;if(!Ye(t,e))return n;for(var i,r,o,a,s=[];e;){for(i=0,r=e.children.length;i<r;i++)o=e.children[i],Ye(t,a=e.leaf?l(o):o)&&(e.leaf?n.push(o):Ne(t,a)?this._all(o,n):s.push(o));e=s.pop()}return n},collides:function(t){var e=this.data,n=this.toBBox;if(!Ye(t,e))return!1;for(var l,i,r,o,a=[];e;){for(l=0,i=e.children.length;l<i;l++)if(r=e.children[l],Ye(t,o=e.leaf?n(r):r)){if(e.leaf||Ne(t,o))return!0;a.push(r)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}var l=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===l.height)this._splitRoot(this.data,l);else{if(this.data.height<l.height){var i=this.data;this.data=l,l=i}this._insert(l,this.data.height-l.height-1,!0)}else this.data=l;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=Ue([]),this},remove:function(t,e){if(!t)return this;for(var n,l,i,r,o=this.data,a=this.toBBox(t),s=[],u=[];o||s.length;){if(o||(o=s.pop(),l=s[s.length-1],n=u.pop(),r=!0),o.leaf&&-1!==(i=function(t,e,n){if(!n)return e.indexOf(t);for(var l=0;l<e.length;l++)if(n(t,e[l]))return l;return-1}(t,o.children,e)))return o.children.splice(i,1),s.push(o),this._condense(s),this;r||o.leaf||!Ne(o,a)?l?(n++,o=l.children[n],r=!1):o=null:(s.push(o),u.push(n),n=0,l=o,o=o.children[0])}return this},toBBox:function(t){return t},compareMinX:Le,compareMinY:je,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},_build:function(t,e,n,l){var i,r=n-e+1,o=this._maxEntries;if(r<=o)return Te(i=Ue(t.slice(e,n+1)),this.toBBox),i;l||(l=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,l-1))),(i=Ue([])).leaf=!1,i.height=l;var a,s,u,c,d=Math.ceil(r/o),h=d*Math.ceil(Math.sqrt(o));for(Be(t,e,n,h,this.compareMinX),a=e;a<=n;a+=h)for(Be(t,a,u=Math.min(a+h-1,n),d,this.compareMinY),s=a;s<=u;s+=d)c=Math.min(s+d-1,u),i.children.push(this._build(t,s,c,l-1));return Te(i,this.toBBox),i},_chooseSubtree:function(t,e,n,l){for(var i,r,o,a,s,u,c,d;l.push(e),!e.leaf&&l.length-1!==n;){for(c=d=1/0,i=0,r=e.children.length;i<r;i++)s=Re(o=e.children[i]),(u=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,o)-s)<d?(d=u,c=s<c?s:c,a=o):u===d&&s<c&&(c=s,a=o);e=a||e.children[0]}return e},_insert:function(t,e,n){var l=n?t:(0,this.toBBox)(t),i=[],r=this._chooseSubtree(l,this.data,e,i);for(r.children.push(t),Ie(r,l);e>=0&&i[e].children.length>this._maxEntries;)this._split(i,e),e--;this._adjustParentBBoxes(l,i,e)},_split:function(t,e){var n=t[e],l=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,l);var r=this._chooseSplitIndex(n,i,l),o=Ue(n.children.splice(r,n.children.length-r));o.height=n.height,o.leaf=n.leaf,Te(n,this.toBBox),Te(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(n,o)},_splitRoot:function(t,e){this.data=Ue([t,e]),this.data.height=t.height+1,this.data.leaf=!1,Te(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var l,i,r,o,a,s,u,c;for(s=u=1/0,l=e;l<=n-e;l++)o=function(t,e){var n=Math.max(t.minX,e.minX),l=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,r-l)}(i=Ee(t,0,l,this.toBBox),r=Ee(t,l,n,this.toBBox)),a=Re(i)+Re(r),o<s?(s=o,c=l,u=a<u?a:u):o===s&&a<u&&(u=a,c=l);return c},_chooseSplitAxis:function(t,e,n){var l=t.leaf?this.compareMinX:Le,i=t.leaf?this.compareMinY:je;this._allDistMargin(t,e,n,l)<this._allDistMargin(t,e,n,i)&&t.children.sort(l)},_allDistMargin:function(t,e,n,l){t.children.sort(l);var i,r,o=this.toBBox,a=Ee(t,0,e,o),s=Ee(t,n-e,n,o),u=Fe(a)+Fe(s);for(i=e;i<n-e;i++)r=t.children[i],Ie(a,t.leaf?o(r):r),u+=Fe(a);for(i=n-e-1;i>=e;i--)r=t.children[i],Ie(s,t.leaf?o(r):r),u+=Fe(s);return u},_adjustParentBBoxes:function(t,e,n){for(var l=n;l>=0;l--)Ie(e[l],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():Te(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var io=Object.freeze({toMercator:Qe,toWgs84:Ze}),ro=6378137,oo=function(t,e,n,l,i){this.coord=t,this.param=e,this.ringAndEdgeIn=n,this.ringAndEdgeOut=l,this.nxtIsectAlongEdgeIn=i},ao=function(t,e,n,l,i,r,o){this.coord=t,this.ringAndEdge1=e,this.ringAndEdge2=n,this.nxtIsectAlongRingAndEdge1=l,this.nxtIsectAlongRingAndEdge2=i,this.ringAndEdge1Walkable=r,this.ringAndEdge2Walkable=o};Number.prototype.modulo=function(t){return(this%t+t)%t};var so=Math.PI/180,uo=180/Math.PI,co=function(t,e){this.lon=t,this.lat=e,this.x=so*t,this.y=so*e};co.prototype.view=function(){return String(this.lon).slice(0,4)+","+String(this.lat).slice(0,4)},co.prototype.antipode=function(){return new co(this.lon<0?180+this.lon:-1*(180-this.lon),-1*this.lat)};var ho=function(){this.coords=[],this.length=0};ho.prototype.move_to=function(t){this.length++,this.coords.push(t)};var po=function(t){this.properties=t||{},this.geometries=[]};po.prototype.json=function(){if(this.geometries.length<=0)return{geometry:{type:"LineString",coordinates:null},type:"Feature",properties:this.properties};if(1===this.geometries.length)return{geometry:{type:"LineString",coordinates:this.geometries[0].coords},type:"Feature",properties:this.properties};for(var t=[],e=0;e<this.geometries.length;e++)t.push(this.geometries[e].coords);return{geometry:{type:"MultiLineString",coordinates:t},type:"Feature",properties:this.properties}},po.prototype.wkt=function(){for(var t="",e="LINESTRING(",n=function(t){e+=t[0]+" "+t[1]+","},l=0;l<this.geometries.length;l++){if(0===this.geometries[l].coords.length)return"LINESTRING(empty)";this.geometries[l].coords.forEach(n),t+=e.substring(0,e.length-1)+")"}return t};var fo=function(t,e,n){if(!t||void 0===t.x||void 0===t.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");if(!e||void 0===e.x||void 0===e.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");this.start=new co(t.x,t.y),this.end=new co(e.x,e.y),this.properties=n||{};var l=this.start.x-this.end.x,i=Math.pow(Math.sin((this.start.y-this.end.y)/2),2)+Math.cos(this.start.y)*Math.cos(this.end.y)*Math.pow(Math.sin(l/2),2);if(this.g=2*Math.asin(Math.sqrt(i)),this.g===Math.PI)throw new Error("it appears "+t.view()+" and "+e.view()+" are 'antipodal', e.g diametrically opposite, thus there is no single route but rather infinite");if(isNaN(this.g))throw new Error("could not calculate great circle between "+t+" and "+e)};fo.prototype.interpolate=function(t){var e=Math.sin((1-t)*this.g)/Math.sin(this.g),n=Math.sin(t*this.g)/Math.sin(this.g),l=e*Math.cos(this.start.y)*Math.cos(this.start.x)+n*Math.cos(this.end.y)*Math.cos(this.end.x),i=e*Math.cos(this.start.y)*Math.sin(this.start.x)+n*Math.cos(this.end.y)*Math.sin(this.end.x),r=e*Math.sin(this.start.y)+n*Math.sin(this.end.y),o=uo*Math.atan2(r,Math.sqrt(Math.pow(l,2)+Math.pow(i,2)));return[uo*Math.atan2(i,l),o]},fo.prototype.Arc=function(t,e){var n=[];if(!t||t<=2)n.push([this.start.lon,this.start.lat]),n.push([this.end.lon,this.end.lat]);else for(var l=1/(t-1),i=0;i<t;++i){var r=this.interpolate(l*i);n.push(r)}for(var o=!1,a=0,s=e&&e.offset?e.offset:10,u=180-s,c=-180+s,d=360-s,h=1;h<n.length;++h){var p=n[h-1][0],f=n[h][0],b=Math.abs(f-p);b>d&&(f>u&&p<c||p>u&&f<c)?o=!0:b>a&&(a=b)}var m=[];if(o&&a<s){var g=[];m.push(g);for(var _=0;_<n.length;++_){var y=parseFloat(n[_][0]);if(_>0&&Math.abs(y-n[_-1][0])>d){var A=parseFloat(n[_-1][0]),v=parseFloat(n[_-1][1]),C=parseFloat(n[_][0]),w=parseFloat(n[_][1]);if(A>-180&&A<c&&180===C&&_+1<n.length&&n[_-1][0]>-180&&n[_-1][0]<c){g.push([-180,n[_][1]]),_++,g.push([n[_][0],n[_][1]]);continue}if(A>u&&A<180&&-180===C&&_+1<n.length&&n[_-1][0]>u&&n[_-1][0]<180){g.push([180,n[_][1]]),_++,g.push([n[_][0],n[_][1]]);continue}if(A<c&&C>u){var P=A;A=C,C=P;var x=v;v=w,w=x}if(A>u&&C<c&&(C+=360),A<=180&&C>=180&&A<C){var S=(180-A)/(C-A),k=S*w+(1-S)*v;g.push([n[_-1][0]>u?180:-180,k]),(g=[]).push([n[_-1][0]>u?-180:180,k]),m.push(g)}else m.push(g=[]);g.push([y,n[_][1]])}else g.push([n[_][0],n[_][1]])}}else{var M=[];m.push(M);for(var O=0;O<n.length;++O)M.push([n[O][0],n[O][1]])}for(var D=new po(this.properties),T=0;T<m.length;++T){var E=new ho;D.geometries.push(E);for(var I=m[T],L=0;L<I.length;++L)E.move_to(I[L])}return D};var bo=Ln;Ln.polyline=Ln,Ln.polygon=function(t,e){var n,l,i,r,o,a,s;for(l=1;l<=8;l*=2){for(n=[],r=!(Rn(i=t[t.length-1],e)&l),o=0;o<t.length;o++)(s=!(Rn(a=t[o],e)&l))!==r&&n.push(jn(i,a,l,e)),s&&n.push(a),i=a,r=s;if(!(t=n).length)break}return n};var mo=Array.prototype.slice,go={successCallback:null,verbose:!1,polygons:!1},_o={},yo=64,Ao=16,vo=4,Co=1,wo=[],Po=[],xo=[],So=[],ko=[],Mo=[],Oo=[],Do=[],To=[],Eo=[],Io=[],Lo=[],jo=[],Ro=[],Fo=[],No=[],Yo=[],Uo=[],Bo=[],zo=[],Go=[],Ho=[],Vo=[],qo=[];Oo[85]=Eo[85]=-1,Do[85]=Io[85]=0,To[85]=Lo[85]=1,Bo[85]=Ho[85]=1,zo[85]=Vo[85]=0,Go[85]=qo[85]=1,wo[85]=So[85]=0,Po[85]=ko[85]=-1,xo[85]=Fo[85]=0,No[85]=jo[85]=0,Yo[85]=Ro[85]=1,Mo[85]=Uo[85]=1,Ho[1]=Ho[169]=0,Vo[1]=Vo[169]=-1,qo[1]=qo[169]=0,jo[1]=jo[169]=-1,Ro[1]=Ro[169]=0,Fo[1]=Fo[169]=0,Eo[4]=Eo[166]=0,Io[4]=Io[166]=-1,Lo[4]=Lo[166]=1,No[4]=No[166]=1,Yo[4]=Yo[166]=0,Uo[4]=Uo[166]=0,Oo[16]=Oo[154]=0,Do[16]=Do[154]=1,To[16]=To[154]=1,So[16]=So[154]=1,ko[16]=ko[154]=0,Mo[16]=Mo[154]=1,Bo[64]=Bo[106]=0,zo[64]=zo[106]=1,Go[64]=Go[106]=0,wo[64]=wo[106]=-1,Po[64]=Po[106]=0,xo[64]=xo[106]=1,Bo[2]=Bo[168]=0,zo[2]=zo[168]=-1,Go[2]=Go[168]=1,Ho[2]=Ho[168]=0,Vo[2]=Vo[168]=-1,qo[2]=qo[168]=0,jo[2]=jo[168]=-1,Ro[2]=Ro[168]=0,Fo[2]=Fo[168]=0,No[2]=No[168]=-1,Yo[2]=Yo[168]=0,Uo[2]=Uo[168]=1,Oo[8]=Oo[162]=0,Do[8]=Do[162]=-1,To[8]=To[162]=0,Eo[8]=Eo[162]=0,Io[8]=Io[162]=-1,Lo[8]=Lo[162]=1,jo[8]=jo[162]=1,Ro[8]=Ro[162]=0,Fo[8]=Fo[162]=1,No[8]=No[162]=1,Yo[8]=Yo[162]=0,Uo[8]=Uo[162]=0,Oo[32]=Oo[138]=0,Do[32]=Do[138]=1,To[32]=To[138]=1,Eo[32]=Eo[138]=0,Io[32]=Io[138]=1,Lo[32]=Lo[138]=0,wo[32]=wo[138]=1,Po[32]=Po[138]=0,xo[32]=xo[138]=0,So[32]=So[138]=1,ko[32]=ko[138]=0,Mo[32]=Mo[138]=1,Ho[128]=Ho[42]=0,Vo[128]=Vo[42]=1,qo[128]=qo[42]=1,Bo[128]=Bo[42]=0,zo[128]=zo[42]=1,Go[128]=Go[42]=0,wo[128]=wo[42]=-1,Po[128]=Po[42]=0,xo[128]=xo[42]=1,So[128]=So[42]=-1,ko[128]=ko[42]=0,Mo[128]=Mo[42]=0,Eo[5]=Eo[165]=-1,Io[5]=Io[165]=0,Lo[5]=Lo[165]=0,Ho[5]=Ho[165]=1,Vo[5]=Vo[165]=0,qo[5]=qo[165]=0,No[20]=No[150]=0,Yo[20]=Yo[150]=1,Uo[20]=Uo[150]=1,So[20]=So[150]=0,ko[20]=ko[150]=-1,Mo[20]=Mo[150]=1,Oo[80]=Oo[90]=-1,Do[80]=Do[90]=0,To[80]=To[90]=1,Bo[80]=Bo[90]=1,zo[80]=zo[90]=0,Go[80]=Go[90]=1,jo[65]=jo[105]=0,Ro[65]=Ro[105]=1,Fo[65]=Fo[105]=0,wo[65]=wo[105]=0,Po[65]=Po[105]=-1,xo[65]=xo[105]=0,Oo[160]=Oo[10]=-1,Do[160]=Do[10]=0,To[160]=To[10]=1,Eo[160]=Eo[10]=-1,Io[160]=Io[10]=0,Lo[160]=Lo[10]=0,Ho[160]=Ho[10]=1,Vo[160]=Vo[10]=0,qo[160]=qo[10]=0,Bo[160]=Bo[10]=1,zo[160]=zo[10]=0,Go[160]=Go[10]=1,No[130]=No[40]=0,Yo[130]=Yo[40]=1,Uo[130]=Uo[40]=1,jo[130]=jo[40]=0,Ro[130]=Ro[40]=1,Fo[130]=Fo[40]=0,wo[130]=wo[40]=0,Po[130]=Po[40]=-1,xo[130]=xo[40]=0,So[130]=So[40]=0,ko[130]=ko[40]=-1,Mo[130]=Mo[40]=1,Eo[37]=Eo[133]=0,Io[37]=Io[133]=1,Lo[37]=Lo[133]=1,Ho[37]=Ho[133]=0,Vo[37]=Vo[133]=1,qo[37]=qo[133]=0,wo[37]=wo[133]=-1,Po[37]=Po[133]=0,xo[37]=xo[133]=0,So[37]=So[133]=1,ko[37]=ko[133]=0,Mo[37]=Mo[133]=0,No[148]=No[22]=-1,Yo[148]=Yo[22]=0,Uo[148]=Uo[22]=0,Ho[148]=Ho[22]=0,Vo[148]=Vo[22]=-1,qo[148]=qo[22]=1,Bo[148]=Bo[22]=0,zo[148]=zo[22]=1,Go[148]=Go[22]=1,So[148]=So[22]=-1,ko[148]=ko[22]=0,Mo[148]=Mo[22]=1,Oo[82]=Oo[88]=0,Do[82]=Do[88]=-1,To[82]=To[88]=1,No[82]=No[88]=1,Yo[82]=Yo[88]=0,Uo[82]=Uo[88]=1,jo[82]=jo[88]=-1,Ro[82]=Ro[88]=0,Fo[82]=Fo[88]=1,Bo[82]=Bo[88]=0,zo[82]=zo[88]=-1,Go[82]=Go[88]=0,Oo[73]=Oo[97]=0,Do[73]=Do[97]=1,To[73]=To[97]=0,Eo[73]=Eo[97]=0,Io[73]=Io[97]=-1,Lo[73]=Lo[97]=0,jo[73]=jo[97]=1,Ro[73]=Ro[97]=0,Fo[73]=Fo[97]=0,wo[73]=wo[97]=1,Po[73]=Po[97]=0,xo[73]=xo[97]=1,Oo[145]=Oo[25]=0,Do[145]=Do[25]=-1,To[145]=To[25]=0,jo[145]=jo[25]=1,Ro[145]=Ro[25]=0,Fo[145]=Fo[25]=1,Ho[145]=Ho[25]=0,Vo[145]=Vo[25]=1,qo[145]=qo[25]=1,So[145]=So[25]=-1,ko[145]=ko[25]=0,Mo[145]=Mo[25]=0,Eo[70]=Eo[100]=0,Io[70]=Io[100]=1,Lo[70]=Lo[100]=0,No[70]=No[100]=-1,Yo[70]=Yo[100]=0,Uo[70]=Uo[100]=1,Bo[70]=Bo[100]=0,zo[70]=zo[100]=-1,Go[70]=Go[100]=1,wo[70]=wo[100]=1,Po[70]=Po[100]=0,xo[70]=xo[100]=0,Eo[101]=Eo[69]=0,Io[101]=Io[69]=1,Lo[101]=Lo[69]=0,wo[101]=wo[69]=1,Po[101]=Po[69]=0,xo[101]=xo[69]=0,Ho[149]=Ho[21]=0,Vo[149]=Vo[21]=1,qo[149]=qo[21]=1,So[149]=So[21]=-1,ko[149]=ko[21]=0,Mo[149]=Mo[21]=0,No[86]=No[84]=-1,Yo[86]=Yo[84]=0,Uo[86]=Uo[84]=1,Bo[86]=Bo[84]=0,zo[86]=zo[84]=-1,Go[86]=Go[84]=1,Oo[89]=Oo[81]=0,Do[89]=Do[81]=-1,To[89]=To[81]=0,jo[89]=jo[81]=1,Ro[89]=Ro[81]=0,Fo[89]=Fo[81]=1,Oo[96]=Oo[74]=0,Do[96]=Do[74]=1,To[96]=To[74]=0,Eo[96]=Eo[74]=-1,Io[96]=Io[74]=0,Lo[96]=Lo[74]=1,Bo[96]=Bo[74]=1,zo[96]=zo[74]=0,Go[96]=Go[74]=0,wo[96]=wo[74]=1,Po[96]=Po[74]=0,xo[96]=xo[74]=1,Oo[24]=Oo[146]=0,Do[24]=Do[146]=-1,To[24]=To[146]=1,No[24]=No[146]=1,Yo[24]=Yo[146]=0,Uo[24]=Uo[146]=1,jo[24]=jo[146]=0,Ro[24]=Ro[146]=1,Fo[24]=Fo[146]=1,So[24]=So[146]=0,ko[24]=ko[146]=-1,Mo[24]=Mo[146]=0,Eo[6]=Eo[164]=-1,Io[6]=Io[164]=0,Lo[6]=Lo[164]=1,No[6]=No[164]=-1,Yo[6]=Yo[164]=0,Uo[6]=Uo[164]=0,Ho[6]=Ho[164]=0,Vo[6]=Vo[164]=-1,qo[6]=qo[164]=1,Bo[6]=Bo[164]=1,zo[6]=zo[164]=0,Go[6]=Go[164]=0,jo[129]=jo[41]=0,Ro[129]=Ro[41]=1,Fo[129]=Fo[41]=1,Ho[129]=Ho[41]=0,Vo[129]=Vo[41]=1,qo[129]=qo[41]=0,wo[129]=wo[41]=-1,Po[129]=Po[41]=0,xo[129]=xo[41]=0,So[129]=So[41]=0,ko[129]=ko[41]=-1,Mo[129]=Mo[41]=0,No[66]=No[104]=0,Yo[66]=Yo[104]=1,Uo[66]=Uo[104]=0,jo[66]=jo[104]=-1,Ro[66]=Ro[104]=0,Fo[66]=Fo[104]=1,Bo[66]=Bo[104]=0,zo[66]=zo[104]=-1,Go[66]=Go[104]=0,wo[66]=wo[104]=0,Po[66]=Po[104]=-1,xo[66]=xo[104]=1,Oo[144]=Oo[26]=-1,Do[144]=Do[26]=0,To[144]=To[26]=0,Ho[144]=Ho[26]=1,Vo[144]=Vo[26]=0,qo[144]=qo[26]=1,Bo[144]=Bo[26]=0,zo[144]=zo[26]=1,Go[144]=Go[26]=1,So[144]=So[26]=-1,ko[144]=ko[26]=0,Mo[144]=Mo[26]=1,Eo[36]=Eo[134]=0,Io[36]=Io[134]=1,Lo[36]=Lo[134]=1,No[36]=No[134]=0,Yo[36]=Yo[134]=1,Uo[36]=Uo[134]=0,wo[36]=wo[134]=0,Po[36]=Po[134]=-1,xo[36]=xo[134]=1,So[36]=So[134]=1,ko[36]=ko[134]=0,Mo[36]=Mo[134]=0,Oo[9]=Oo[161]=-1,Do[9]=Do[161]=0,To[9]=To[161]=0,Eo[9]=Eo[161]=0,Io[9]=Io[161]=-1,Lo[9]=Lo[161]=0,jo[9]=jo[161]=1,Ro[9]=Ro[161]=0,Fo[9]=Fo[161]=0,Ho[9]=Ho[161]=1,Vo[9]=Vo[161]=0,qo[9]=qo[161]=1,Oo[136]=0,Do[136]=1,To[136]=1,Eo[136]=0,Io[136]=1,Lo[136]=0,No[136]=-1,Yo[136]=0,Uo[136]=1,jo[136]=-1,Ro[136]=0,Fo[136]=0,Ho[136]=0,Vo[136]=-1,qo[136]=0,Bo[136]=0,zo[136]=-1,Go[136]=1,wo[136]=1,Po[136]=0,xo[136]=0,So[136]=1,ko[136]=0,Mo[136]=1,Oo[34]=0,Do[34]=-1,To[34]=0,Eo[34]=0,Io[34]=-1,Lo[34]=1,No[34]=1,Yo[34]=0,Uo[34]=0,jo[34]=1,Ro[34]=0,Fo[34]=1,Ho[34]=0,Vo[34]=1,qo[34]=1,Bo[34]=0,zo[34]=1,Go[34]=0,wo[34]=-1,Po[34]=0,xo[34]=1,So[34]=-1,ko[34]=0,Mo[34]=0,Oo[35]=0,Do[35]=1,To[35]=1,Eo[35]=0,Io[35]=-1,Lo[35]=1,No[35]=1,Yo[35]=0,Uo[35]=0,jo[35]=-1,Ro[35]=0,Fo[35]=0,Ho[35]=0,Vo[35]=-1,qo[35]=0,Bo[35]=0,zo[35]=1,Go[35]=0,wo[35]=-1,Po[35]=0,xo[35]=1,So[35]=1,ko[35]=0,Mo[35]=1,Oo[153]=0,Do[153]=1,To[153]=1,jo[153]=-1,Ro[153]=0,Fo[153]=0,Ho[153]=0,Vo[153]=-1,qo[153]=0,So[153]=1,ko[153]=0,Mo[153]=1,Eo[102]=0,Io[102]=-1,Lo[102]=1,No[102]=1,Yo[102]=0,Uo[102]=0,Bo[102]=0,zo[102]=1,Go[102]=0,wo[102]=-1,Po[102]=0,xo[102]=1,Oo[155]=0,Do[155]=-1,To[155]=0,jo[155]=1,Ro[155]=0,Fo[155]=1,Ho[155]=0,Vo[155]=1,qo[155]=1,So[155]=-1,ko[155]=0,Mo[155]=0,Eo[103]=0,Io[103]=1,Lo[103]=0,No[103]=-1,Yo[103]=0,Uo[103]=1,Bo[103]=0,zo[103]=-1,Go[103]=1,wo[103]=1,Po[103]=0,xo[103]=0,Oo[152]=0,Do[152]=1,To[152]=1,No[152]=-1,Yo[152]=0,Uo[152]=1,jo[152]=-1,Ro[152]=0,Fo[152]=0,Ho[152]=0,Vo[152]=-1,qo[152]=0,Bo[152]=0,zo[152]=-1,Go[152]=1,So[152]=1,ko[152]=0,Mo[152]=1,Oo[156]=0,Do[156]=-1,To[156]=1,No[156]=1,Yo[156]=0,Uo[156]=1,jo[156]=-1,Ro[156]=0,Fo[156]=0,Ho[156]=0,Vo[156]=-1,qo[156]=0,Bo[156]=0,zo[156]=1,Go[156]=1,So[156]=-1,ko[156]=0,Mo[156]=1,Oo[137]=0,Do[137]=1,To[137]=1,Eo[137]=0,Io[137]=1,Lo[137]=0,jo[137]=-1,Ro[137]=0,Fo[137]=0,Ho[137]=0,Vo[137]=-1,qo[137]=0,wo[137]=1,Po[137]=0,xo[137]=0,So[137]=1,ko[137]=0,Mo[137]=1,Oo[139]=0,Do[139]=1,To[139]=1,Eo[139]=0,Io[139]=-1,Lo[139]=0,jo[139]=1,Ro[139]=0,Fo[139]=0,Ho[139]=0,Vo[139]=1,qo[139]=0,wo[139]=-1,Po[139]=0,xo[139]=0,So[139]=1,ko[139]=0,Mo[139]=1,Oo[98]=0,Do[98]=-1,To[98]=0,Eo[98]=0,Io[98]=-1,Lo[98]=1,No[98]=1,Yo[98]=0,Uo[98]=0,jo[98]=1,Ro[98]=0,Fo[98]=1,Bo[98]=0,zo[98]=1,Go[98]=0,wo[98]=-1,Po[98]=0,xo[98]=1,Oo[99]=0,Do[99]=1,To[99]=0,Eo[99]=0,Io[99]=-1,Lo[99]=1,No[99]=1,Yo[99]=0,Uo[99]=0,jo[99]=-1,Ro[99]=0,Fo[99]=1,Bo[99]=0,zo[99]=-1,Go[99]=0,wo[99]=1,Po[99]=0,xo[99]=1,Eo[38]=0,Io[38]=-1,Lo[38]=1,No[38]=1,Yo[38]=0,Uo[38]=0,Ho[38]=0,Vo[38]=1,qo[38]=1,Bo[38]=0,zo[38]=1,Go[38]=0,wo[38]=-1,Po[38]=0,xo[38]=1,So[38]=-1,ko[38]=0,Mo[38]=0,Eo[39]=0,Io[39]=1,Lo[39]=1,No[39]=-1,Yo[39]=0,Uo[39]=0,Ho[39]=0,Vo[39]=-1,qo[39]=1,Bo[39]=0,zo[39]=1,Go[39]=0,wo[39]=-1,Po[39]=0,xo[39]=1,So[39]=1,ko[39]=0,Mo[39]=0;var Wo=function(t){return[[t.bottomleft,0],[0,0],[0,t.leftbottom]]},$o=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0]]},Xo=function(t){return[[t.topright,1],[1,1],[1,t.righttop]]},Ko=function(t){return[[0,t.lefttop],[0,1],[t.topleft,1]]},Jo=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop]]},Qo=function(t){return[[t.bottomright,0],[t.bottomleft,0],[1,t.righttop],[1,t.rightbottom]]},Zo=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.topleft,1],[t.topright,1]]},ta=function(t){return[[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},ea=[],na=[],la=[],ia=[],ra=[],oa=[],aa=[],sa=[];ia[1]=ra[1]=18,ia[169]=ra[169]=18,la[4]=na[4]=12,la[166]=na[166]=12,ea[16]=sa[16]=4,ea[154]=sa[154]=4,oa[64]=aa[64]=22,oa[106]=aa[106]=22,la[2]=oa[2]=17,ia[2]=ra[2]=18,la[168]=oa[168]=17,ia[168]=ra[168]=18,ea[8]=ia[8]=9,na[8]=la[8]=12,ea[162]=ia[162]=9,na[162]=la[162]=12,ea[32]=sa[32]=4,na[32]=aa[32]=1,ea[138]=sa[138]=4,na[138]=aa[138]=1,ra[128]=sa[128]=21,oa[128]=aa[128]=22,ra[42]=sa[42]=21,oa[42]=aa[42]=22,na[5]=ra[5]=14,na[165]=ra[165]=14,la[20]=sa[20]=6,la[150]=sa[150]=6,ea[80]=oa[80]=11,ea[90]=oa[90]=11,ia[65]=aa[65]=3,ia[105]=aa[105]=3,ea[160]=oa[160]=11,na[160]=ra[160]=14,ea[10]=oa[10]=11,na[10]=ra[10]=14,la[130]=sa[130]=6,ia[130]=aa[130]=3,la[40]=sa[40]=6,ia[40]=aa[40]=3,na[101]=aa[101]=1,na[69]=aa[69]=1,ra[149]=sa[149]=21,ra[21]=sa[21]=21,la[86]=oa[86]=17,la[84]=oa[84]=17,ea[89]=ia[89]=9,ea[81]=ia[81]=9,ea[96]=aa[96]=0,na[96]=oa[96]=15,ea[74]=aa[74]=0,na[74]=oa[74]=15,ea[24]=la[24]=8,ia[24]=sa[24]=7,ea[146]=la[146]=8,ia[146]=sa[146]=7,na[6]=oa[6]=15,la[6]=ra[6]=16,na[164]=oa[164]=15,la[164]=ra[164]=16,ia[129]=sa[129]=7,ra[129]=aa[129]=20,ia[41]=sa[41]=7,ra[41]=aa[41]=20,la[66]=aa[66]=2,ia[66]=oa[66]=19,la[104]=aa[104]=2,ia[104]=oa[104]=19,ea[144]=ra[144]=10,oa[144]=sa[144]=23,ea[26]=ra[26]=10,oa[26]=sa[26]=23,na[36]=sa[36]=5,la[36]=aa[36]=2,na[134]=sa[134]=5,la[134]=aa[134]=2,ea[9]=ra[9]=10,na[9]=ia[9]=13,ea[161]=ra[161]=10,na[161]=ia[161]=13,na[37]=sa[37]=5,ra[37]=aa[37]=20,na[133]=sa[133]=5,ra[133]=aa[133]=20,la[148]=ra[148]=16,oa[148]=sa[148]=23,la[22]=ra[22]=16,oa[22]=sa[22]=23,ea[82]=la[82]=8,ia[82]=oa[82]=19,ea[88]=la[88]=8,ia[88]=oa[88]=19,ea[73]=aa[73]=0,na[73]=ia[73]=13,ea[97]=aa[97]=0,na[97]=ia[97]=13,ea[145]=ia[145]=9,ra[145]=sa[145]=21,ea[25]=ia[25]=9,ra[25]=sa[25]=21,na[70]=aa[70]=1,la[70]=oa[70]=17,na[100]=aa[100]=1,la[100]=oa[100]=17,ea[34]=ia[34]=9,na[34]=la[34]=12,ra[34]=sa[34]=21,oa[34]=aa[34]=22,ea[136]=sa[136]=4,na[136]=aa[136]=1,la[136]=oa[136]=17,ia[136]=ra[136]=18,ea[35]=sa[35]=4,na[35]=la[35]=12,ia[35]=ra[35]=18,oa[35]=aa[35]=22,ea[153]=sa[153]=4,ia[153]=ra[153]=18,na[102]=la[102]=12,oa[102]=aa[102]=22,ea[155]=ia[155]=9,ra[155]=sa[155]=23,na[103]=aa[103]=1,la[103]=oa[103]=17,ea[152]=sa[152]=4,la[152]=oa[152]=17,ia[152]=ra[152]=18,ea[156]=la[156]=8,ia[156]=ra[156]=18,oa[156]=sa[156]=23,ea[137]=sa[137]=4,na[137]=aa[137]=1,ia[137]=ra[137]=18,ea[139]=sa[139]=4,na[139]=ia[139]=13,ra[139]=aa[139]=20,ea[98]=ia[98]=9,na[98]=la[98]=12,oa[98]=aa[98]=22,ea[99]=aa[99]=0,na[99]=la[99]=12,ia[99]=oa[99]=19,na[38]=la[38]=12,ra[38]=sa[38]=21,oa[38]=aa[38]=22,na[39]=sa[39]=5,la[39]=ra[39]=16,oa[39]=aa[39]=22;var ua=[];ua[1]=ua[169]=Wo,ua[4]=ua[166]=$o,ua[16]=ua[154]=Xo,ua[64]=ua[106]=Ko,ua[168]=ua[2]=Jo,ua[162]=ua[8]=Qo,ua[138]=ua[32]=Zo,ua[42]=ua[128]=ta,ua[5]=ua[165]=function(t){return[[0,0],[0,t.leftbottom],[1,t.rightbottom],[1,0]]},ua[20]=ua[150]=function(t){return[[1,0],[t.bottomright,0],[t.topright,1],[1,1]]},ua[80]=ua[90]=function(t){return[[1,1],[1,t.righttop],[0,t.lefttop],[0,1]]},ua[65]=ua[105]=function(t){return[[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},ua[160]=ua[10]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.leftbottom],[0,t.lefttop]]},ua[130]=ua[40]=function(t){return[[t.topleft,1],[t.topright,1],[t.bottomright,0],[t.bottomleft,0]]},ua[85]=function(){return[[0,0],[0,1],[1,1],[1,0]]},ua[101]=ua[69]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,1],[t.topleft,1]]},ua[149]=ua[21]=function(t){return[[t.topright,1],[1,1],[1,0],[0,0],[0,t.leftbottom]]},ua[86]=ua[84]=function(t){return[[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[1,1]]},ua[89]=ua[81]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,1]]},ua[96]=ua[74]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[24]=ua[146]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[t.topright,1]]},ua[6]=ua[164]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop]]},ua[129]=ua[41]=function(t){return[[t.topright,1],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1]]},ua[66]=ua[104]=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[144]=ua[26]=function(t){return[[1,1],[1,t.righttop],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[36]=ua[134]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[t.topleft,1],[t.topright,1]]},ua[9]=ua[161]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom]]},ua[37]=ua[133]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},ua[148]=ua[22]=function(t){return[[1,1],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[82]=ua[88]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1]]},ua[73]=ua[97]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},ua[145]=ua[25]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},ua[70]=ua[100]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[34]=function(t){return[ta(t),Qo(t)]},ua[35]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},ua[136]=function(t){return[Zo(t),Jo(t)]},ua[153]=function(t){return[Xo(t),Wo(t)]},ua[102]=function(t){return[$o(t),Ko(t)]},ua[155]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},ua[103]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[152]=function(t){return[Xo(t),Jo(t)]},ua[156]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},ua[137]=function(t){return[Zo(t),Wo(t)]},ua[139]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},ua[98]=function(t){return[Qo(t),Ko(t)]},ua[99]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},ua[38]=function(t){return[$o(t),ta(t)]},ua[39]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]};var ca=function t(e){this.id=t.buildId(e),this.coordinates=e,this.innerEdges=[],this.outerEdges=[],this.outerEdgesSorted=!1};ca.buildId=function(t){return t.join(",")},ca.prototype.removeInnerEdge=function(t){this.innerEdges=this.innerEdges.filter((function(e){return e.from.id!==t.from.id}))},ca.prototype.removeOuterEdge=function(t){this.outerEdges=this.outerEdges.filter((function(e){return e.to.id!==t.to.id}))},ca.prototype.addOuterEdge=function(t){this.outerEdges.push(t),this.outerEdgesSorted=!1},ca.prototype.sortOuterEdges=function(){var t=this;this.outerEdgesSorted||(this.outerEdges.sort((function(e,n){var l=e.to,i=n.to;if(l.coordinates[0]-t.coordinates[0]>=0&&i.coordinates[0]-t.coordinates[0]<0)return 1;if(l.coordinates[0]-t.coordinates[0]<0&&i.coordinates[0]-t.coordinates[0]>=0)return-1;if(l.coordinates[0]-t.coordinates[0]==0&&i.coordinates[0]-t.coordinates[0]==0)return l.coordinates[1]-t.coordinates[1]>=0||i.coordinates[1]-t.coordinates[1]>=0?l.coordinates[1]-i.coordinates[1]:i.coordinates[1]-l.coordinates[1];var r=al(t.coordinates,l.coordinates,i.coordinates);return r<0?1:r>0?-1:Math.pow(l.coordinates[0]-t.coordinates[0],2)+Math.pow(l.coordinates[1]-t.coordinates[1],2)-(Math.pow(i.coordinates[0]-t.coordinates[0],2)+Math.pow(i.coordinates[1]-t.coordinates[1],2))})),this.outerEdgesSorted=!0)},ca.prototype.getOuterEdges=function(){return this.sortOuterEdges(),this.outerEdges},ca.prototype.getOuterEdge=function(t){return this.sortOuterEdges(),this.outerEdges[t]},ca.prototype.addInnerEdge=function(t){this.innerEdges.push(t)};var da=function(t,e){this.from=t,this.to=e,this.next=void 0,this.label=void 0,this.symetric=void 0,this.ring=void 0,this.from.addOuterEdge(this),this.to.addInnerEdge(this)};da.prototype.getSymetric=function(){return this.symetric||(this.symetric=new da(this.to,this.from),this.symetric.symetric=this),this.symetric},da.prototype.deleteEdge=function(){this.from.removeOuterEdge(this),this.to.removeInnerEdge(this)},da.prototype.isEqual=function(t){return this.from.id===t.from.id&&this.to.id===t.to.id},da.prototype.toString=function(){return"Edge { "+this.from.id+" -> "+this.to.id+" }"},da.prototype.toLineString=function(){return a([this.from.coordinates,this.to.coordinates])},da.prototype.compareTo=function(t){return al(t.from.coordinates,t.to.coordinates,this.to.coordinates)};var ha=function(){this.edges=[],this.polygon=void 0,this.envelope=void 0},pa={length:{configurable:!0}};ha.prototype.push=function(t){this[this.edges.length]=t,this.edges.push(t),this.polygon=this.envelope=void 0},ha.prototype.get=function(t){return this.edges[t]},pa.length.get=function(){return this.edges.length},ha.prototype.forEach=function(t){this.edges.forEach(t)},ha.prototype.map=function(t){return this.edges.map(t)},ha.prototype.some=function(t){return this.edges.some(t)},ha.prototype.isValid=function(){return!0},ha.prototype.isHole=function(){var t=this,e=this.edges.reduce((function(e,n,l){return n.from.coordinates[1]>t.edges[e].from.coordinates[1]&&(e=l),e}),0),n=(0===e?this.length:e)-1,l=(e+1)%this.length,i=al(this.edges[n].from.coordinates,this.edges[e].from.coordinates,this.edges[l].from.coordinates);return 0===i?this.edges[n].from.coordinates[0]>this.edges[l].from.coordinates[0]:i>0},ha.prototype.toMultiPoint=function(){return d(this.edges.map((function(t){return t.from.coordinates})))},ha.prototype.toPolygon=function(){if(this.polygon)return this.polygon;var t=this.edges.map((function(t){return t.from.coordinates}));return t.push(this.edges[0].from.coordinates),this.polygon=r([t])},ha.prototype.getEnvelope=function(){return this.envelope?this.envelope:this.envelope=le(this.toPolygon())},ha.findEdgeRingContaining=function(t,e){var n,i,r=t.getEnvelope();return e.forEach((function(e){var o=e.getEnvelope();if(i&&(n=i.getEnvelope()),!function(t,e){var n=t.geometry.coordinates.map((function(t){return t[0]})),l=t.geometry.coordinates.map((function(t){return t[1]})),i=e.geometry.coordinates.map((function(t){return t[0]})),r=e.geometry.coordinates.map((function(t){return t[1]}));return Math.max(null,n)===Math.max(null,i)&&Math.max(null,l)===Math.max(null,r)&&Math.min(null,n)===Math.min(null,i)&&Math.min(null,l)===Math.min(null,r)}(o,r)&&sl(o,r)){var a=t.map((function(t){return t.from.coordinates})).find((function(t){return!e.some((function(e){return function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t,e.from.coordinates)}))}));a&&e.inside(l(a))&&(i&&!sl(n,o)||(i=e))}})),i},ha.prototype.inside=function(t){return Mt(t,this.toPolygon())},Object.defineProperties(ha.prototype,pa);var fa=function(){this.edges=[],this.nodes={}};fa.fromGeoJson=function(t){!function(t){if(!t)throw new Error("No geojson passed");if("FeatureCollection"!==t.type&&"GeometryCollection"!==t.type&&"MultiLineString"!==t.type&&"LineString"!==t.type&&"Feature"!==t.type)throw new Error("Invalid input type '"+t.type+"'. Geojson must be FeatureCollection, GeometryCollection, LineString, MultiLineString or Feature")}(t);var e=new fa;return R(t,(function(t){W(t,"LineString","Graph::fromGeoJson"),M(t,(function(t,n){if(t){var l=e.getNode(t),i=e.getNode(n);e.addEdge(l,i)}return n}))})),e},fa.prototype.getNode=function(t){var e=ca.buildId(t),n=this.nodes[e];return n||(n=this.nodes[e]=new ca(t)),n},fa.prototype.addEdge=function(t,e){var n=new da(t,e),l=n.getSymetric();this.edges.push(n),this.edges.push(l)},fa.prototype.deleteDangles=function(){var t=this;Object.keys(this.nodes).map((function(e){return t.nodes[e]})).forEach((function(e){return t._removeIfDangle(e)}))},fa.prototype._removeIfDangle=function(t){var e=this;if(t.innerEdges.length<=1){var n=t.getOuterEdges().map((function(t){return t.to}));this.removeNode(t),n.forEach((function(t){return e._removeIfDangle(t)}))}},fa.prototype.deleteCutEdges=function(){var t=this;this._computeNextCWEdges(),this._findLabeledEdgeRings(),this.edges.forEach((function(e){e.label===e.symetric.label&&(t.removeEdge(e.symetric),t.removeEdge(e))}))},fa.prototype._computeNextCWEdges=function(t){var e=this;void 0===t?Object.keys(this.nodes).forEach((function(t){return e._computeNextCWEdges(e.nodes[t])})):t.getOuterEdges().forEach((function(e,n){t.getOuterEdge((0===n?t.getOuterEdges().length:n)-1).symetric.next=e}))},fa.prototype._computeNextCCWEdges=function(t,e){for(var n,l,i=t.getOuterEdges(),r=i.length-1;r>=0;--r){var o=i[r],a=o.symetric,s=void 0,u=void 0;o.label===e&&(s=o),a.label===e&&(u=a),s&&u&&(u&&(l=u),s&&(l&&(l.next=s,l=void 0),n||(n=s)))}l&&(l.next=n)},fa.prototype._findLabeledEdgeRings=function(){var t=[],e=0;return this.edges.forEach((function(n){if(!(n.label>=0)){t.push(n);var l=n;do{l.label=e,l=l.next}while(!n.isEqual(l));e++}})),t},fa.prototype.getEdgeRings=function(){var t=this;this._computeNextCWEdges(),this.edges.forEach((function(t){t.label=void 0})),this._findLabeledEdgeRings().forEach((function(e){t._findIntersectionNodes(e).forEach((function(n){t._computeNextCCWEdges(n,e.label)}))}));var e=[];return this.edges.forEach((function(n){n.ring||e.push(t._findEdgeRing(n))})),e},fa.prototype._findIntersectionNodes=function(t){var e=[],n=t,l=function(){var l=0;n.from.getOuterEdges().forEach((function(e){e.label===t.label&&++l})),l>1&&e.push(n.from),n=n.next};do{l()}while(!t.isEqual(n));return e},fa.prototype._findEdgeRing=function(t){var e=t,n=new ha;do{n.push(e),e.ring=n,e=e.next}while(!t.isEqual(e));return n},fa.prototype.removeNode=function(t){var e=this;t.getOuterEdges().forEach((function(t){return e.removeEdge(t)})),t.innerEdges.forEach((function(t){return e.removeEdge(t)})),delete this.nodes[t.id]},fa.prototype.removeEdge=function(t){this.edges=this.edges.filter((function(e){return!e.isEqual(t)})),t.deleteEdge()};var ba=mt((function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n})),ma=mt((function(t,e){function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function l(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();(e=t.exports=i?n:l).supported=n,e.unsupported=l})),ga=mt((function(t){function e(t){return null==t}function n(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}var l=Array.prototype.slice,i=t.exports=function(t,r,o){return o||(o={}),t===r||(t instanceof Date&&r instanceof Date?t.getTime()===r.getTime():!t||!r||"object"!=typeof t&&"object"!=typeof r?o.strict?t===r:t==r:function(t,r,o){var a,s;if(e(t)||e(r))return!1;if(t.prototype!==r.prototype)return!1;if(ma(t))return!!ma(r)&&(t=l.call(t),r=l.call(r),i(t,r,o));if(n(t)){if(!n(r))return!1;if(t.length!==r.length)return!1;for(a=0;a<t.length;a++)if(t[a]!==r[a])return!1;return!0}try{var u=ba(t),c=ba(r)}catch(t){return!1}if(u.length!=c.length)return!1;for(u.sort(),c.sort(),a=u.length-1;a>=0;a--)if(u[a]!=c[a])return!1;for(a=u.length-1;a>=0;a--)if(!i(t[s=u[a]],r[s],o))return!1;return typeof t==typeof r}(t,r,o))}})),_a=function(t){this.precision=t&&t.precision?t.precision:17,this.direction=!(!t||!t.direction)&&t.direction,this.pseudoNode=!(!t||!t.pseudoNode)&&t.pseudoNode,this.objectComparator=t&&t.objectComparator?t.objectComparator:yl};_a.prototype.compare=function(t,e){if(t.type!==e.type||!_l(t,e))return!1;switch(t.type){case"Point":return this.compareCoord(t.coordinates,e.coordinates);case"LineString":return this.compareLine(t.coordinates,e.coordinates,0,!1);case"Polygon":return this.comparePolygon(t,e);case"Feature":return this.compareFeature(t,e);default:if(0===t.type.indexOf("Multi")){var n=this,l=gl(t),i=gl(e);return l.every((function(t){return this.some((function(e){return n.compare(t,e)}))}),i)}}return!1},_a.prototype.compareCoord=function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n].toFixed(this.precision)!==e[n].toFixed(this.precision))return!1;return!0},_a.prototype.compareLine=function(t,e,n,l){if(!_l(t,e))return!1;var i=this.pseudoNode?t:this.removePseudo(t),r=this.pseudoNode?e:this.removePseudo(e);if(!l||this.compareCoord(i[0],r[0])||(r=this.fixStartIndex(r,i))){var o=this.compareCoord(i[n],r[n]);return this.direction||o?this.comparePath(i,r):!!this.compareCoord(i[n],r[r.length-(1+n)])&&this.comparePath(i.slice().reverse(),r)}},_a.prototype.fixStartIndex=function(t,e){for(var n,l=-1,i=0;i<t.length;i++)if(this.compareCoord(t[i],e[0])){l=i;break}return l>=0&&(n=[].concat(t.slice(l,t.length),t.slice(1,l+1))),n},_a.prototype.comparePath=function(t,e){var n=this;return t.every((function(t,e){return n.compareCoord(t,this[e])}),e)},_a.prototype.comparePolygon=function(t,e){if(this.compareLine(t.coordinates[0],e.coordinates[0],1,!0)){var n=t.coordinates.slice(1,t.coordinates.length),l=e.coordinates.slice(1,e.coordinates.length),i=this;return n.every((function(t){return this.some((function(e){return i.compareLine(t,e,1,!0)}))}),l)}return!1},_a.prototype.compareFeature=function(t,e){return!(t.id!==e.id||!this.objectComparator(t.properties,e.properties)||!this.compareBBox(t,e))&&this.compare(t.geometry,e.geometry)},_a.prototype.compareBBox=function(t,e){return!!(!t.bbox&&!e.bbox||t.bbox&&e.bbox&&this.compareCoord(t.bbox,e.bbox))},_a.prototype.removePseudo=function(t){return t};var ya=_a,Aa=mt((function(t){function e(t,e,n,l){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(t,e,n,l)}e.prototype.run=function(t,e,n,l){this._init(t,e,n,l);for(var i=0;i<this._datasetLength;i++)if(1!==this._visited[i]){this._visited[i]=1;var r=this._regionQuery(i);if(r.length<this.minPts)this.noise.push(i);else{var o=this.clusters.length;this.clusters.push([]),this._addToCluster(i,o),this._expandCluster(o,r)}}return this.clusters},e.prototype._init=function(t,e,n,l){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this.noise=[],this._datasetLength=t.length,this._visited=new Array(this._datasetLength),this._assigned=new Array(this._datasetLength)}e&&(this.epsilon=e),n&&(this.minPts=n),l&&(this.distance=l)},e.prototype._expandCluster=function(t,e){for(var n=0;n<e.length;n++){var l=e[n];if(1!==this._visited[l]){this._visited[l]=1;var i=this._regionQuery(l);i.length>=this.minPts&&(e=this._mergeArrays(e,i))}1!==this._assigned[l]&&this._addToCluster(l,t)}},e.prototype._addToCluster=function(t,e){this.clusters[e].push(t),this._assigned[t]=1},e.prototype._regionQuery=function(t){for(var e=[],n=0;n<this._datasetLength;n++)this.distance(this.dataset[t],this.dataset[n])<this.epsilon&&e.push(n);return e},e.prototype._mergeArrays=function(t,e){for(var n=e.length,l=0;l<n;l++){var i=e[l];t.indexOf(i)<0&&t.push(i)}return t},e.prototype._euclideanDistance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;)n+=(t[l]-e[l])*(t[l]-e[l]);return Math.sqrt(n)},t.exports&&(t.exports=e)})),va=mt((function(t){function e(t,e,n){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(t,e,n)}e.prototype.init=function(t,e,n){this.assignments=[],this.centroids=[],void 0!==t&&(this.dataset=t),void 0!==e&&(this.k=e),void 0!==n&&(this.distance=n)},e.prototype.run=function(t,e){this.init(t,e);for(var n=this.dataset.length,l=0;l<this.k;l++)this.centroids[l]=this.randomCentroid();for(var i=!0;i;){i=this.assign();for(var r=0;r<this.k;r++){for(var o=new Array(c),a=0,s=0;s<c;s++)o[s]=0;for(var u=0;u<n;u++){var c=this.dataset[u].length;if(r===this.assignments[u]){for(s=0;s<c;s++)o[s]+=this.dataset[u][s];a++}}if(a>0){for(s=0;s<c;s++)o[s]/=a;this.centroids[r]=o}else this.centroids[r]=this.randomCentroid(),i=!0}}return this.getClusters()},e.prototype.randomCentroid=function(){var t,e,n=this.dataset.length-1;do{e=Math.round(Math.random()*n),t=this.dataset[e]}while(this.centroids.indexOf(t)>=0);return t},e.prototype.assign=function(){for(var t,e=!1,n=this.dataset.length,l=0;l<n;l++)(t=this.argmin(this.dataset[l],this.centroids,this.distance))!=this.assignments[l]&&(this.assignments[l]=t,e=!0);return e},e.prototype.getClusters=function(){for(var t,e=new Array(this.k),n=0;n<this.assignments.length;n++)void 0===e[t=this.assignments[n]]&&(e[t]=[]),e[t].push(n);return e},e.prototype.argmin=function(t,e,n){for(var l,i=Number.MAX_VALUE,r=0,o=e.length,a=0;a<o;a++)(l=n(t,e[a]))<i&&(i=l,r=a);return r},e.prototype.distance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;){var i=t[l]-e[l];n+=i*i}return Math.sqrt(n)},t.exports&&(t.exports=e)})),Ca=mt((function(t){function e(t,e,n){this._queue=[],this._priorities=[],this._sorting="desc",this._init(t,e,n)}e.prototype.insert=function(t,e){for(var n=this._queue.length,l=n;l--;){var i=this._priorities[l];"desc"===this._sorting?e>i&&(n=l):e<i&&(n=l)}this._insertAt(t,e,n)},e.prototype.remove=function(t){for(var e=this._queue.length;e--;)if(t===this._queue[e]){this._queue.splice(e,1),this._priorities.splice(e,1);break}},e.prototype.forEach=function(t){this._queue.forEach(t)},e.prototype.getElements=function(){return this._queue},e.prototype.getElementPriority=function(t){return this._priorities[t]},e.prototype.getPriorities=function(){return this._priorities},e.prototype.getElementsWithPriorities=function(){for(var t=[],e=0,n=this._queue.length;e<n;e++)t.push([this._queue[e],this._priorities[e]]);return t},e.prototype._init=function(t,e,n){if(t&&e){if(this._queue=[],this._priorities=[],t.length!==e.length)throw new Error("Arrays must have the same length");for(var l=0;l<t.length;l++)this.insert(t[l],e[l])}n&&(this._sorting=n)},e.prototype._insertAt=function(t,e,n){this._queue.length===n?(this._queue.push(t),this._priorities.push(e)):(this._queue.splice(n,0,t),this._priorities.splice(n,0,e))},t.exports&&(t.exports=e)})),wa=mt((function(t){function e(t,e,n,l){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(t,e,n,l)}if(t.exports)var n=Ca;e.prototype.run=function(t,e,l,i){this._init(t,e,l,i);for(var r=0,o=this.dataset.length;r<o;r++)if(1!==this._processed[r]){this._processed[r]=1,this.clusters.push([r]);var a=this.clusters.length-1;this._orderedList.push(r);var s=new n(null,null,"asc"),u=this._regionQuery(r);void 0!==this._distanceToCore(r)&&(this._updateQueue(r,u,s),this._expandCluster(a,s))}return this.clusters},e.prototype.getReachabilityPlot=function(){for(var t=[],e=0,n=this._orderedList.length;e<n;e++){var l=this._orderedList[e];t.push([l,this._reachability[l]])}return t},e.prototype._init=function(t,e,n,l){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this._reachability=new Array(this.dataset.length),this._processed=new Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}e&&(this.epsilon=e),n&&(this.minPts=n),l&&(this.distance=l)},e.prototype._updateQueue=function(t,e,n){var l=this;this._coreDistance=this._distanceToCore(t),e.forEach((function(e){if(void 0===l._processed[e]){var i=l.distance(l.dataset[t],l.dataset[e]),r=Math.max(l._coreDistance,i);void 0===l._reachability[e]?(l._reachability[e]=r,n.insert(e,r)):r<l._reachability[e]&&(l._reachability[e]=r,n.remove(e),n.insert(e,r))}}))},e.prototype._expandCluster=function(t,e){for(var n=e.getElements(),l=0,i=n.length;l<i;l++){var r=n[l];if(void 0===this._processed[r]){var o=this._regionQuery(r);this._processed[r]=1,this.clusters[t].push(r),this._orderedList.push(r),void 0!==this._distanceToCore(r)&&(this._updateQueue(r,o,e),this._expandCluster(t,e))}}},e.prototype._distanceToCore=function(t){for(var e=this.epsilon,n=0;n<e;n++)if(this._regionQuery(t,n).length>=this.minPts)return n},e.prototype._regionQuery=function(t,e){e=e||this.epsilon;for(var n=[],l=0,i=this.dataset.length;l<i;l++)this.distance(this.dataset[t],this.dataset[l])<e&&n.push(l);return n},e.prototype._euclideanDistance=function(t,e){for(var n=0,l=Math.min(t.length,e.length);l--;)n+=(t[l]-e[l])*(t[l]-e[l]);return Math.sqrt(n)},t.exports&&(t.exports=e)})),Pa=mt((function(t){t.exports&&(t.exports={DBSCAN:Aa,KMEANS:va,OPTICS:wa,PriorityQueue:Ca})})),xa=function(t,e,n){for(var l=t.length,i=0,r=0;r<l;r++){var o=(t[r]||0)-(e[r]||0);i+=o*o}return n?Math.sqrt(i):i},Sa=xa,ka=function(t,e,n){var l=Math.abs(t-e);return n?l:l*l},Ma=xa,Oa={search:function(t,e,n,l){t.cleanDirty();var i=(l=l||{}).heuristic||Oa.heuristics.manhattan,r=l.closest||!1,o=new Sl((function(t){return t.f})),a=e;for(e.h=i(e,n),o.push(e);o.size()>0;){var s=o.pop();if(s===n)return wl(s);s.closed=!0;for(var u=t.neighbors(s),c=0,d=u.length;c<d;++c){var h=u[c];if(!h.closed&&!h.isWall()){var p=s.g+h.getCost(s),f=h.visited;(!f||p<h.g)&&(h.visited=!0,h.parent=s,h.h=h.h||i(h,n),h.g=p,h.f=h.g+h.h,t.markDirty(h),r&&(h.h<a.h||h.h===a.h&&h.g<a.g)&&(a=h),f?o.rescoreElement(h):o.push(h))}}}return r?wl(a):[]},heuristics:{manhattan:function(t,e){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},diagonal:function(t,e){var n=Math.sqrt(2),l=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return 1*(l+i)+(n-2)*Math.min(l,i)}},cleanNode:function(t){t.f=0,t.g=0,t.h=0,t.visited=!1,t.closed=!1,t.parent=null}};Pl.prototype.init=function(){this.dirtyNodes=[];for(var t=0;t<this.nodes.length;t++)Oa.cleanNode(this.nodes[t])},Pl.prototype.cleanDirty=function(){for(var t=0;t<this.dirtyNodes.length;t++)Oa.cleanNode(this.dirtyNodes[t]);this.dirtyNodes=[]},Pl.prototype.markDirty=function(t){this.dirtyNodes.push(t)},Pl.prototype.neighbors=function(t){var e=[],n=t.x,l=t.y,i=this.grid;return i[n-1]&&i[n-1][l]&&e.push(i[n-1][l]),i[n+1]&&i[n+1][l]&&e.push(i[n+1][l]),i[n]&&i[n][l-1]&&e.push(i[n][l-1]),i[n]&&i[n][l+1]&&e.push(i[n][l+1]),this.diagonal&&(i[n-1]&&i[n-1][l-1]&&e.push(i[n-1][l-1]),i[n+1]&&i[n+1][l-1]&&e.push(i[n+1][l-1]),i[n-1]&&i[n-1][l+1]&&e.push(i[n-1][l+1]),i[n+1]&&i[n+1][l+1]&&e.push(i[n+1][l+1])),e},Pl.prototype.toString=function(){for(var t,e,n,l,i=[],r=this.grid,o=0,a=r.length;o<a;o++){for(t=[],n=0,l=(e=r[o]).length;n<l;n++)t.push(e[n].weight);i.push(t.join(" "))}return i.join("\n")},xl.prototype.toString=function(){return"["+this.x+" "+this.y+"]"},xl.prototype.getCost=function(t){return t&&t.x!==this.x&&t.y!==this.y?1.41421*this.weight:this.weight},xl.prototype.isWall=function(){return 0===this.weight},Sl.prototype={push:function(t){this.content.push(t),this.sinkDown(this.content.length-1)},pop:function(){var t=this.content[0],e=this.content.pop();return this.content.length>0&&(this.content[0]=e,this.bubbleUp(0)),t},remove:function(t){var e=this.content.indexOf(t),n=this.content.pop();e!==this.content.length-1&&(this.content[e]=n,this.scoreFunction(n)<this.scoreFunction(t)?this.sinkDown(e):this.bubbleUp(e))},size:function(){return this.content.length},rescoreElement:function(t){this.sinkDown(this.content.indexOf(t))},sinkDown:function(t){for(var e=this.content[t];t>0;){var n=(t+1>>1)-1,l=this.content[n];if(!(this.scoreFunction(e)<this.scoreFunction(l)))break;this.content[n]=e,this.content[t]=l,t=n}},bubbleUp:function(t){for(var e=this.content.length,n=this.content[t],l=this.scoreFunction(n);;){var i,r=t+1<<1,o=r-1,a=null;if(o<e&&(i=this.scoreFunction(this.content[o]))<l&&(a=o),r<e&&this.scoreFunction(this.content[r])<(null===a?l:i)&&(a=r),null===a)break;this.content[t]=this.content[a],this.content[a]=n,t=a}}};var Da=function(t){return function(){return t}};Ol.prototype={constructor:Ol,insert:function(t,e){var n,l,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=Il(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(l=n.U).L?(i=l.R)&&i.C?(n.C=i.C=!1,l.C=!0,t=l):(t===n.R&&(Tl(this,n),n=(t=n).U),n.C=!1,l.C=!0,El(this,l)):(i=l.L)&&i.C?(n.C=i.C=!1,l.C=!0,t=l):(t===n.L&&(El(this,n),n=(t=n).U),n.C=!1,l.C=!0,Tl(this,l)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,l,i=t.U,r=t.L,o=t.R;if(n=r?o?Il(o):r:o,i?i.L===t?i.L=n:i.R=n:this._=n,r&&o?(l=n.C,n.C=t.C,n.L=r,r.U=n,n!==o?(i=n.U,n.U=t.U,i.L=t=n.R,n.R=o,o.U=n):(n.U=i,i=n,t=n.R)):(l=t.C,t=n),t&&(t.U=i),!l)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,Tl(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,El(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Tl(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,El(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Tl(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,El(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Ta,Ea,Ia,La,ja,Ra=[],Fa=[],Na=1e-6,Ya=1e-12;Jl.prototype={constructor:Jl,polygons:function(){var t=this.edges;return this.cells.map((function(e){var n=e.halfedges.map((function(n){return Ul(e,t[n])}));return n.data=e.site.data,n}))},triangles:function(){var t=[],e=this.edges;return this.cells.forEach((function(n,l){if(r=(i=n.halfedges).length)for(var i,r,o,a=n.site,s=-1,u=e[i[r-1]],c=u.left===a?u.right:u.left;++s<r;)o=c,c=(u=e[i[s]]).left===a?u.right:u.left,o&&c&&l<o.index&&l<c.index&&Xl(a,o,c)<0&&t.push([a.data,o.data,c.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,e,n){for(var l,i,r=this,o=r._found||0,a=r.cells.length;!(i=r.cells[o]);)if(++o>=a)return null;var s=t-i.site[0],u=e-i.site[1],c=s*s+u*u;do{i=r.cells[l=o],o=null,i.halfedges.forEach((function(n){var l=r.edges[n],a=l.left;if(a!==i.site&&a||(a=l.right)){var s=t-a[0],u=e-a[1],d=s*s+u*u;d<c&&(c=d,o=a.index)}}))}while(null!==o);return r._found=l,null==n||c<=n*n?i.site:null}};var Ua=Object.freeze({randomPosition:ii,randomPoint:ri,randomPolygon:oi,randomLineString:ai}),Ba=Object.freeze({getCluster:ui,clusterEach:ci,clusterReduce:di,createBins:hi,applyFilter:pi,propertiesContainsFilter:fi,filterProperties:bi});"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(null==this)throw new TypeError(this+" is not an object");var e=Object(this),n=Math.max(Math.min(e.length,9007199254740991),0)||0,l=1 in arguments&&parseInt(Number(arguments[1]),10)||0;l=l<0?Math.max(n+l,0):Math.min(l,n);var i=2 in arguments&&void 0!==arguments[2]?parseInt(Number(arguments[2]),10)||0:n;for(i=i<0?Math.max(n+arguments[2],0):Math.min(i,n);l<i;)e[l]=t,++l;return e},writable:!0}),Number.isFinite=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Number.parseFloat=Number.parseFloat||parseFloat,Number.isNaN=Number.isNaN||function(t){return t!=t},Math.trunc=Math.trunc||function(t){return t<0?Math.ceil(t):Math.floor(t)};var za=function(){};za.prototype.interfaces_=function(){return[]},za.prototype.getClass=function(){return za},za.prototype.equalsWithTolerance=function(t,e,n){return Math.abs(t-e)<=n};var Ga=function(){},Ha=function(){},Va={MAX_VALUE:{configurable:!0}};Ha.isNaN=function(t){return Number.isNaN(t)},Ha.doubleToLongBits=function(t){return t},Ha.longBitsToDouble=function(t){return t},Ha.isInfinite=function(t){return!Number.isFinite(t)},Va.MAX_VALUE.get=function(){return Number.MAX_VALUE},Object.defineProperties(Ha,Va);var qa=function(){},Wa=function(){},$a=function(){},Xa=function t(){if(this.x=null,this.y=null,this.z=null,0===arguments.length)this.x=0,this.y=0,this.z=t.NULL_ORDINATE;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.z=e.z}else 2===arguments.length?(this.x=arguments[0],this.y=arguments[1],this.z=t.NULL_ORDINATE):3===arguments.length&&(this.x=arguments[0],this.y=arguments[1],this.z=arguments[2])},Ka={DimensionalComparator:{configurable:!0},serialVersionUID:{configurable:!0},NULL_ORDINATE:{configurable:!0},X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0}};Xa.prototype.setOrdinate=function(t,e){switch(t){case Xa.X:this.x=e;break;case Xa.Y:this.y=e;break;case Xa.Z:this.z=e;break;default:throw new Ga("Invalid ordinate index: "+t)}},Xa.prototype.equals2D=function(){if(1===arguments.length){var t=arguments[0];return this.x===t.x&&this.y===t.y}if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!za.equalsWithTolerance(this.x,e.x,n)&&!!za.equalsWithTolerance(this.y,e.y,n)}},Xa.prototype.getOrdinate=function(t){switch(t){case Xa.X:return this.x;case Xa.Y:return this.y;case Xa.Z:return this.z}throw new Ga("Invalid ordinate index: "+t)},Xa.prototype.equals3D=function(t){return this.x===t.x&&this.y===t.y&&(this.z===t.z||Ha.isNaN(this.z))&&Ha.isNaN(t.z)},Xa.prototype.equals=function(t){return t instanceof Xa&&this.equals2D(t)},Xa.prototype.equalInZ=function(t,e){return za.equalsWithTolerance(this.z,t.z,e)},Xa.prototype.compareTo=function(t){return this.x<t.x?-1:this.x>t.x?1:this.y<t.y?-1:this.y>t.y?1:0},Xa.prototype.clone=function(){},Xa.prototype.copy=function(){return new Xa(this)},Xa.prototype.toString=function(){return"("+this.x+", "+this.y+", "+this.z+")"},Xa.prototype.distance3D=function(t){var e=this.x-t.x,n=this.y-t.y,l=this.z-t.z;return Math.sqrt(e*e+n*n+l*l)},Xa.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},Xa.prototype.hashCode=function(){var t=17;return 37*(t=37*t+Xa.hashCode(this.x))+Xa.hashCode(this.y)},Xa.prototype.setCoordinate=function(t){this.x=t.x,this.y=t.y,this.z=t.z},Xa.prototype.interfaces_=function(){return[qa,Wa,mi]},Xa.prototype.getClass=function(){return Xa},Xa.hashCode=function(){if(1===arguments.length){var t=arguments[0],e=Ha.doubleToLongBits(t);return Math.trunc((e^e)>>>32)}},Ka.DimensionalComparator.get=function(){return Ja},Ka.serialVersionUID.get=function(){return 0x5cbf2c235c7e5800},Ka.NULL_ORDINATE.get=function(){return Ha.NaN},Ka.X.get=function(){return 0},Ka.Y.get=function(){return 1},Ka.Z.get=function(){return 2},Object.defineProperties(Xa,Ka);var Ja=function(t){if(this._dimensionsToTest=2,0===arguments.length);else if(1===arguments.length){var e=arguments[0];if(2!==e&&3!==e)throw new Ga("only 2 or 3 dimensions may be specified");this._dimensionsToTest=e}};Ja.prototype.compare=function(t,e){var n=t,l=e,i=Ja.compare(n.x,l.x);if(0!==i)return i;var r=Ja.compare(n.y,l.y);return 0!==r?r:this._dimensionsToTest<=2?0:Ja.compare(n.z,l.z)},Ja.prototype.interfaces_=function(){return[$a]},Ja.prototype.getClass=function(){return Ja},Ja.compare=function(t,e){return t<e?-1:t>e?1:Ha.isNaN(t)?Ha.isNaN(e)?0:-1:Ha.isNaN(e)?1:0};var Qa=function(){};Qa.prototype.create=function(){},Qa.prototype.interfaces_=function(){return[]},Qa.prototype.getClass=function(){return Qa};var Za=function(){},ts={INTERIOR:{configurable:!0},BOUNDARY:{configurable:!0},EXTERIOR:{configurable:!0},NONE:{configurable:!0}};Za.prototype.interfaces_=function(){return[]},Za.prototype.getClass=function(){return Za},Za.toLocationSymbol=function(t){switch(t){case Za.EXTERIOR:return"e";case Za.BOUNDARY:return"b";case Za.INTERIOR:return"i";case Za.NONE:return"-"}throw new Ga("Unknown location value: "+t)},ts.INTERIOR.get=function(){return 0},ts.BOUNDARY.get=function(){return 1},ts.EXTERIOR.get=function(){return 2},ts.NONE.get=function(){return-1},Object.defineProperties(Za,ts);var es=function(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1},ns=function(){},ls={LOG_10:{configurable:!0}};ns.prototype.interfaces_=function(){return[]},ns.prototype.getClass=function(){return ns},ns.log10=function(t){var e=Math.log(t);return Ha.isInfinite(e)||Ha.isNaN(e)?e:e/ns.LOG_10},ns.min=function(t,e,n,l){var i=t;return e<i&&(i=e),n<i&&(i=n),l<i&&(i=l),i},ns.clamp=function(){if("number"==typeof arguments[2]&&"number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1],n=arguments[2];return t<e?e:t>n?n:t}if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var l=arguments[0],i=arguments[1],r=arguments[2];return l<i?i:l>r?r:l}},ns.wrap=function(t,e){return t<0?e- -t%e:t%e},ns.max=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=t;return e>l&&(l=e),n>l&&(l=n),l}if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3],s=i;return r>s&&(s=r),o>s&&(s=o),a>s&&(s=a),s}},ns.average=function(t,e){return(t+e)/2},ls.LOG_10.get=function(){return Math.log(10)},Object.defineProperties(ns,ls);var is=function(t){this.str=t};is.prototype.append=function(t){this.str+=t},is.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)},is.prototype.toString=function(t){return this.str};var rs=function(t){this.value=t};rs.prototype.intValue=function(){return this.value},rs.prototype.compareTo=function(t){return this.value<t?-1:this.value>t?1:0},rs.isNaN=function(t){return Number.isNaN(t)};var os=function(){};os.isWhitespace=function(t){return t<=32&&t>=0||127===t},os.toUpperCase=function(t){return t.toUpperCase()};var as=function t(){if(this._hi=0,this._lo=0,0===arguments.length)this.init(0);else if(1===arguments.length){if("number"==typeof arguments[0]){var e=arguments[0];this.init(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}else if("string"==typeof arguments[0]){var l=arguments[0];t.call(this,t.parse(l))}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.init(i,r)}},ss={PI:{configurable:!0},TWO_PI:{configurable:!0},PI_2:{configurable:!0},E:{configurable:!0},NaN:{configurable:!0},EPS:{configurable:!0},SPLIT:{configurable:!0},MAX_PRINT_DIGITS:{configurable:!0},TEN:{configurable:!0},ONE:{configurable:!0},SCI_NOT_EXPONENT_CHAR:{configurable:!0},SCI_NOT_ZERO:{configurable:!0}};as.prototype.le=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<=t._lo},as.prototype.extractSignificantDigits=function(t,e){var n=this.abs(),l=as.magnitude(n._hi),i=as.TEN.pow(l);(n=n.divide(i)).gt(as.TEN)?(n=n.divide(as.TEN),l+=1):n.lt(as.ONE)&&(n=n.multiply(as.TEN),l-=1);for(var r=l+1,o=new is,a=as.MAX_PRINT_DIGITS-1,s=0;s<=a;s++){t&&s===r&&o.append(".");var u=Math.trunc(n._hi);if(u<0)break;var c=!1,d=0;u>9?(c=!0,d="9"):d="0"+u,o.append(d),n=n.subtract(as.valueOf(u)).multiply(as.TEN),c&&n.selfAdd(as.TEN);var h=!0,p=as.magnitude(n._hi);if(p<0&&Math.abs(p)>=a-s&&(h=!1),!h)break}return e[0]=l,o.toString()},as.prototype.sqr=function(){return this.multiply(this)},as.prototype.doubleValue=function(){return this._hi+this._lo},as.prototype.subtract=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.add(t.negate())}if("number"==typeof arguments[0]){var e=arguments[0];return this.add(-e)}},as.prototype.equals=function(){if(1===arguments.length){var t=arguments[0];return this._hi===t._hi&&this._lo===t._lo}},as.prototype.isZero=function(){return 0===this._hi&&0===this._lo},as.prototype.selfSubtract=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t._hi,-t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}},as.prototype.getSpecialNumberString=function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null},as.prototype.min=function(t){return this.le(t)?this:t},as.prototype.selfDivide=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfDivide(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfDivide(e,0)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1],i=null,r=null,o=null,a=null,s=null,u=null,c=null,d=null;return this._hi=d=(s=this._hi/n)+(u=(this._hi-(c=s*n)-(d=(i=(u=as.SPLIT*s)-(i=u-s))*(o=(d=as.SPLIT*n)-(o=d-n))-c+i*(a=n-o)+(r=s-i)*o+r*a)+this._lo-s*l)/n),this._lo=s-d+u,this}},as.prototype.dump=function(){return"DD<"+this._hi+", "+this._lo+">"},as.prototype.divide=function(){if(arguments[0]instanceof as){var t=arguments[0],e=null,n=null,l=null,i=null,r=null,o=null,a=null,s=null;return n=(r=this._hi/t._hi)-(e=(o=as.SPLIT*r)-(e=o-r)),s=e*(l=(s=as.SPLIT*t._hi)-(l=s-t._hi))-(a=r*t._hi)+e*(i=t._hi-l)+n*l+n*i,new as(s=r+(o=(this._hi-a-s+this._lo-r*t._lo)/t._hi),r-s+o)}if("number"==typeof arguments[0]){var u=arguments[0];return Ha.isNaN(u)?as.createNaN():as.copy(this).selfDivide(u,0)}},as.prototype.ge=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>=t._lo},as.prototype.pow=function(t){if(0===t)return as.valueOf(1);var e=new as(this),n=as.valueOf(1),l=Math.abs(t);if(l>1)for(;l>0;)l%2==1&&n.selfMultiply(e),(l/=2)>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n},as.prototype.ceil=function(){if(this.isNaN())return as.NaN;var t=Math.ceil(this._hi),e=0;return t===this._hi&&(e=Math.ceil(this._lo)),new as(t,e)},as.prototype.compareTo=function(t){return this._hi<t._hi?-1:this._hi>t._hi?1:this._lo<t._lo?-1:this._lo>t._lo?1:0},as.prototype.rint=function(){return this.isNaN()?this:this.add(.5).floor()},as.prototype.setValue=function(){if(arguments[0]instanceof as){var t=arguments[0];return this.init(t),this}if("number"==typeof arguments[0]){var e=arguments[0];return this.init(e),this}},as.prototype.max=function(t){return this.ge(t)?this:t},as.prototype.sqrt=function(){if(this.isZero())return as.valueOf(0);if(this.isNegative())return as.NaN;var t=1/Math.sqrt(this._hi),e=as.valueOf(this._hi*t),n=this.subtract(e.sqr())._hi*(.5*t);return e.add(n)},as.prototype.selfAdd=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfAdd(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0],n=null,l=null,i=null,r=null,o=null;return this._hi=(n=(i=this._hi+e)+(o=e-(r=i-this._hi)+(this._hi-(i-r))+this._lo))+(l=o+(i-n)),this._lo=l+(n-this._hi),this}}else if(2===arguments.length){var a=arguments[0],s=arguments[1],u=null,c=null,d=null,h=null,p=null,f=null,b=null;p=(h=this._hi+a)-(f=h-this._hi),d=(c=this._lo+s)-(b=c-this._lo);var m=(u=h+(f=(p=a-f+(this._hi-p))+c))+(f=(d=s-b+(this._lo-d))+(f+(h-u))),g=f+(u-m);return this._hi=m,this._lo=g,this}},as.prototype.selfMultiply=function(){if(1===arguments.length){if(arguments[0]instanceof as){var t=arguments[0];return this.selfMultiply(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfMultiply(e,0)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1],i=null,r=null,o=null,a=null,s=null,u=null;i=(s=as.SPLIT*this._hi)-this._hi,i=s-i;var c=(s=this._hi*n)+(u=i*(o=(u=as.SPLIT*n)-(o=u-n))-s+i*(a=n-o)+(r=this._hi-i)*o+r*a+(this._hi*l+this._lo*n)),d=u+(i=s-c);return this._hi=c,this._lo=d,this}},as.prototype.selfSqr=function(){return this.selfMultiply(this)},as.prototype.floor=function(){if(this.isNaN())return as.NaN;var t=Math.floor(this._hi),e=0;return t===this._hi&&(e=Math.floor(this._lo)),new as(t,e)},as.prototype.negate=function(){return this.isNaN()?this:new as(-this._hi,-this._lo)},as.prototype.clone=function(){},as.prototype.multiply=function(){if(arguments[0]instanceof as){var t=arguments[0];return t.isNaN()?as.createNaN():as.copy(this).selfMultiply(t)}if("number"==typeof arguments[0]){var e=arguments[0];return Ha.isNaN(e)?as.createNaN():as.copy(this).selfMultiply(e,0)}},as.prototype.isNaN=function(){return Ha.isNaN(this._hi)},as.prototype.intValue=function(){return Math.trunc(this._hi)},as.prototype.toString=function(){var t=as.magnitude(this._hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()},as.prototype.toStandardNotation=function(){var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),l=e[0]+1,i=n;return"."===n.charAt(0)?i="0"+n:l<0?i="0."+as.stringOfChar("0",-l)+n:-1===n.indexOf(".")&&(i=n+as.stringOfChar("0",l-n.length)+".0"),this.isNegative()?"-"+i:i},as.prototype.reciprocal=function(){var t,e,n,l,i=null,r=null,o=null,a=null;t=(n=1/this._hi)-(i=(o=as.SPLIT*n)-(i=o-n)),r=(a=as.SPLIT*this._hi)-this._hi;var s=n+(o=(1-(l=n*this._hi)-(a=i*(r=a-r)-l+i*(e=this._hi-r)+t*r+t*e)-n*this._lo)/this._hi);return new as(s,n-s+o)},as.prototype.toSciNotation=function(){if(this.isZero())return as.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),l=as.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===n.charAt(0))throw new Error("Found leading zero: "+n);var i="";n.length>1&&(i=n.substring(1));var r=n.charAt(0)+"."+i;return this.isNegative()?"-"+r+l:r+l},as.prototype.abs=function(){return this.isNaN()?as.NaN:this.isNegative()?this.negate():new as(this)},as.prototype.isPositive=function(){return(this._hi>0||0===this._hi)&&this._lo>0},as.prototype.lt=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<t._lo},as.prototype.add=function(){if(arguments[0]instanceof as){var t=arguments[0];return as.copy(this).selfAdd(t)}if("number"==typeof arguments[0]){var e=arguments[0];return as.copy(this).selfAdd(e)}},as.prototype.init=function(){if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];this._hi=t,this._lo=0}else if(arguments[0]instanceof as){var e=arguments[0];this._hi=e._hi,this._lo=e._lo}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this._hi=n,this._lo=l}},as.prototype.gt=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>t._lo},as.prototype.isNegative=function(){return(this._hi<0||0===this._hi)&&this._lo<0},as.prototype.trunc=function(){return this.isNaN()?as.NaN:this.isPositive()?this.floor():this.ceil()},as.prototype.signum=function(){return this._hi>0?1:this._hi<0?-1:this._lo>0?1:this._lo<0?-1:0},as.prototype.interfaces_=function(){return[mi,qa,Wa]},as.prototype.getClass=function(){return as},as.sqr=function(t){return as.valueOf(t).selfMultiply(t)},as.valueOf=function(){if("string"==typeof arguments[0]){var t=arguments[0];return as.parse(t)}if("number"==typeof arguments[0]){var e=arguments[0];return new as(e)}},as.sqrt=function(t){return as.valueOf(t).sqrt()},as.parse=function(t){for(var e=0,n=t.length;os.isWhitespace(t.charAt(e));)e++;var l=!1;if(e<n){var i=t.charAt(e);"-"!==i&&"+"!==i||(e++,"-"===i&&(l=!0))}for(var r=new as,o=0,a=0,s=0;!(e>=n);){var u=t.charAt(e);if(e++,os.isDigit(u)){var c=u-"0";r.selfMultiply(as.TEN),r.selfAdd(c),o++}else{if("."!==u){if("e"===u||"E"===u){var d=t.substring(e);try{s=rs.parseInt(d)}catch(e){throw e instanceof Error?new Error("Invalid exponent "+d+" in string "+t):e}break}throw new Error("Unexpected character '"+u+"' at position "+e+" in string "+t)}a=o}}var h=r,p=o-a-s;if(0===p)h=r;else if(p>0){var f=as.TEN.pow(p);h=r.divide(f)}else if(p<0){var b=as.TEN.pow(-p);h=r.multiply(b)}return l?h.negate():h},as.createNaN=function(){return new as(Ha.NaN,Ha.NaN)},as.copy=function(t){return new as(t)},as.magnitude=function(t){var e=Math.abs(t),n=Math.log(e)/Math.log(10),l=Math.trunc(Math.floor(n));return 10*Math.pow(10,l)<=e&&(l+=1),l},as.stringOfChar=function(t,e){for(var n=new is,l=0;l<e;l++)n.append(t);return n.toString()},ss.PI.get=function(){return new as(3.141592653589793,12246467991473532e-32)},ss.TWO_PI.get=function(){return new as(6.283185307179586,24492935982947064e-32)},ss.PI_2.get=function(){return new as(1.5707963267948966,6123233995736766e-32)},ss.E.get=function(){return new as(2.718281828459045,14456468917292502e-32)},ss.NaN.get=function(){return new as(Ha.NaN,Ha.NaN)},ss.EPS.get=function(){return 123259516440783e-46},ss.SPLIT.get=function(){return 134217729},ss.MAX_PRINT_DIGITS.get=function(){return 32},ss.TEN.get=function(){return as.valueOf(10)},ss.ONE.get=function(){return as.valueOf(1)},ss.SCI_NOT_EXPONENT_CHAR.get=function(){return"E"},ss.SCI_NOT_ZERO.get=function(){return"0.0E0"},Object.defineProperties(as,ss);var us=function(){},cs={DP_SAFE_EPSILON:{configurable:!0}};us.prototype.interfaces_=function(){return[]},us.prototype.getClass=function(){return us},us.orientationIndex=function(t,e,n){var l=us.orientationIndexFilter(t,e,n);if(l<=1)return l;var i=as.valueOf(e.x).selfAdd(-t.x),r=as.valueOf(e.y).selfAdd(-t.y),o=as.valueOf(n.x).selfAdd(-e.x),a=as.valueOf(n.y).selfAdd(-e.y);return i.selfMultiply(a).selfSubtract(r.selfMultiply(o)).signum()},us.signOfDet2x2=function(t,e,n,l){return t.multiply(l).selfSubtract(e.multiply(n)).signum()},us.intersection=function(t,e,n,l){var i=as.valueOf(l.y).selfSubtract(n.y).selfMultiply(as.valueOf(e.x).selfSubtract(t.x)),r=as.valueOf(l.x).selfSubtract(n.x).selfMultiply(as.valueOf(e.y).selfSubtract(t.y)),o=i.subtract(r),a=as.valueOf(l.x).selfSubtract(n.x).selfMultiply(as.valueOf(t.y).selfSubtract(n.y)),s=as.valueOf(l.y).selfSubtract(n.y).selfMultiply(as.valueOf(t.x).selfSubtract(n.x)),u=a.subtract(s).selfDivide(o).doubleValue(),c=as.valueOf(t.x).selfAdd(as.valueOf(e.x).selfSubtract(t.x).selfMultiply(u)).doubleValue(),d=as.valueOf(e.x).selfSubtract(t.x).selfMultiply(as.valueOf(t.y).selfSubtract(n.y)),h=as.valueOf(e.y).selfSubtract(t.y).selfMultiply(as.valueOf(t.x).selfSubtract(n.x)),p=d.subtract(h).selfDivide(o).doubleValue(),f=as.valueOf(n.y).selfAdd(as.valueOf(l.y).selfSubtract(n.y).selfMultiply(p)).doubleValue();return new Xa(c,f)},us.orientationIndexFilter=function(t,e,n){var l=null,i=(t.x-n.x)*(e.y-n.y),r=(t.y-n.y)*(e.x-n.x),o=i-r;if(i>0){if(r<=0)return us.signum(o);l=i+r}else{if(!(i<0))return us.signum(o);if(r>=0)return us.signum(o);l=-i-r}var a=us.DP_SAFE_EPSILON*l;return o>=a||-o>=a?us.signum(o):2},us.signum=function(t){return t>0?1:t<0?-1:0},cs.DP_SAFE_EPSILON.get=function(){return 1e-15},Object.defineProperties(us,cs);var ds=function(){},hs={X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0},M:{configurable:!0}};hs.X.get=function(){return 0},hs.Y.get=function(){return 1},hs.Z.get=function(){return 2},hs.M.get=function(){return 3},ds.prototype.setOrdinate=function(t,e,n){},ds.prototype.size=function(){},ds.prototype.getOrdinate=function(t,e){},ds.prototype.getCoordinate=function(){},ds.prototype.getCoordinateCopy=function(t){},ds.prototype.getDimension=function(){},ds.prototype.getX=function(t){},ds.prototype.clone=function(){},ds.prototype.expandEnvelope=function(t){},ds.prototype.copy=function(){},ds.prototype.getY=function(t){},ds.prototype.toCoordinateArray=function(){},ds.prototype.interfaces_=function(){return[Wa]},ds.prototype.getClass=function(){return ds},Object.defineProperties(ds,hs);var ps=function(){},fs=function(t){function e(){t.call(this,"Projective point not representable on the Cartesian plane.")}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(ps),bs=function(){};bs.arraycopy=function(t,e,n,l,i){for(var r=0,o=e;o<e+i;o++)n[l+r]=t[o],r++},bs.getProperty=function(t){return{"line.separator":"\n"}[t]};var ms=function t(){if(this.x=null,this.y=null,this.w=null,0===arguments.length)this.x=0,this.y=0,this.w=1;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.w=1}else if(2===arguments.length){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var n=arguments[0],l=arguments[1];this.x=n,this.y=l,this.w=1}else if(arguments[0]instanceof t&&arguments[1]instanceof t){var i=arguments[0],r=arguments[1];this.x=i.y*r.w-r.y*i.w,this.y=r.x*i.w-i.x*r.w,this.w=i.x*r.y-r.x*i.y}else if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var o=arguments[0],a=arguments[1];this.x=o.y-a.y,this.y=a.x-o.x,this.w=o.x*a.y-a.x*o.y}}else if(3===arguments.length){var s=arguments[0],u=arguments[1],c=arguments[2];this.x=s,this.y=u,this.w=c}else if(4===arguments.length){var d=arguments[0],h=arguments[1],p=arguments[2],f=arguments[3],b=d.y-h.y,m=h.x-d.x,g=d.x*h.y-h.x*d.y,_=p.y-f.y,y=f.x-p.x,A=p.x*f.y-f.x*p.y;this.x=m*A-y*g,this.y=_*g-b*A,this.w=b*y-_*m}};ms.prototype.getY=function(){var t=this.y/this.w;if(Ha.isNaN(t)||Ha.isInfinite(t))throw new fs;return t},ms.prototype.getX=function(){var t=this.x/this.w;if(Ha.isNaN(t)||Ha.isInfinite(t))throw new fs;return t},ms.prototype.getCoordinate=function(){var t=new Xa;return t.x=this.getX(),t.y=this.getY(),t},ms.prototype.interfaces_=function(){return[]},ms.prototype.getClass=function(){return ms},ms.intersection=function(t,e,n,l){var i=t.y-e.y,r=e.x-t.x,o=t.x*e.y-e.x*t.y,a=n.y-l.y,s=l.x-n.x,u=n.x*l.y-l.x*n.y,c=i*s-a*r,d=(r*u-s*o)/c,h=(a*o-i*u)/c;if(Ha.isNaN(d)||Ha.isInfinite(d)||Ha.isNaN(h)||Ha.isInfinite(h))throw new fs;return new Xa(d,h)};var gs=function t(){if(this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof Xa){var e=arguments[0];this.init(e.x,e.x,e.y,e.y)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.init(l.x,i.x,l.y,i.y)}else if(4===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];this.init(r,o,a,s)}},_s={serialVersionUID:{configurable:!0}};gs.prototype.getArea=function(){return this.getWidth()*this.getHeight()},gs.prototype.equals=function(t){if(!(t instanceof gs))return!1;var e=t;return this.isNull()?e.isNull():this._maxx===e.getMaxX()&&this._maxy===e.getMaxY()&&this._minx===e.getMinX()&&this._miny===e.getMinY()},gs.prototype.intersection=function(t){return this.isNull()||t.isNull()||!this.intersects(t)?new gs:new gs(this._minx>t._minx?this._minx:t._minx,this._maxx<t._maxx?this._maxx:t._maxx,this._miny>t._miny?this._miny:t._miny,this._maxy<t._maxy?this._maxy:t._maxy)},gs.prototype.isNull=function(){return this._maxx<this._minx},gs.prototype.getMaxX=function(){return this._maxx},gs.prototype.covers=function(){if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];return this.covers(t.x,t.y)}if(arguments[0]instanceof gs){var e=arguments[0];return!this.isNull()&&!e.isNull()&&e.getMinX()>=this._minx&&e.getMaxX()<=this._maxx&&e.getMinY()>=this._miny&&e.getMaxY()<=this._maxy}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return!this.isNull()&&n>=this._minx&&n<=this._maxx&&l>=this._miny&&l<=this._maxy}},gs.prototype.intersects=function(){if(1===arguments.length){if(arguments[0]instanceof gs){var t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t._minx>this._maxx||t._maxx<this._minx||t._miny>this._maxy||t._maxy<this._miny)}if(arguments[0]instanceof Xa){var e=arguments[0];return this.intersects(e.x,e.y)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return!this.isNull()&&!(n>this._maxx||n<this._minx||l>this._maxy||l<this._miny)}},gs.prototype.getMinY=function(){return this._miny},gs.prototype.getMinX=function(){return this._minx},gs.prototype.expandToInclude=function(){if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];this.expandToInclude(t.x,t.y)}else if(arguments[0]instanceof gs){var e=arguments[0];if(e.isNull())return null;this.isNull()?(this._minx=e.getMinX(),this._maxx=e.getMaxX(),this._miny=e.getMinY(),this._maxy=e.getMaxY()):(e._minx<this._minx&&(this._minx=e._minx),e._maxx>this._maxx&&(this._maxx=e._maxx),e._miny<this._miny&&(this._miny=e._miny),e._maxy>this._maxy&&(this._maxy=e._maxy))}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.isNull()?(this._minx=n,this._maxx=n,this._miny=l,this._maxy=l):(n<this._minx&&(this._minx=n),n>this._maxx&&(this._maxx=n),l<this._miny&&(this._miny=l),l>this._maxy&&(this._maxy=l))}},gs.prototype.minExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t<e?t:e},gs.prototype.getWidth=function(){return this.isNull()?0:this._maxx-this._minx},gs.prototype.compareTo=function(t){var e=t;return this.isNull()?e.isNull()?0:-1:e.isNull()?1:this._minx<e._minx?-1:this._minx>e._minx?1:this._miny<e._miny?-1:this._miny>e._miny?1:this._maxx<e._maxx?-1:this._maxx>e._maxx?1:this._maxy<e._maxy?-1:this._maxy>e._maxy?1:0},gs.prototype.translate=function(t,e){if(this.isNull())return null;this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)},gs.prototype.toString=function(){return"Env["+this._minx+" : "+this._maxx+", "+this._miny+" : "+this._maxy+"]"},gs.prototype.setToNull=function(){this._minx=0,this._maxx=-1,this._miny=0,this._maxy=-1},gs.prototype.getHeight=function(){return this.isNull()?0:this._maxy-this._miny},gs.prototype.maxExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e},gs.prototype.expandBy=function(){if(1===arguments.length){var t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this.isNull())return null;this._minx-=e,this._maxx+=e,this._miny-=n,this._maxy+=n,(this._minx>this._maxx||this._miny>this._maxy)&&this.setToNull()}},gs.prototype.contains=function(){if(1===arguments.length){if(arguments[0]instanceof gs){var t=arguments[0];return this.covers(t)}if(arguments[0]instanceof Xa){var e=arguments[0];return this.covers(e)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return this.covers(n,l)}},gs.prototype.centre=function(){return this.isNull()?null:new Xa((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)},gs.prototype.init=function(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof gs){var e=arguments[0];this._minx=e._minx,this._maxx=e._maxx,this._miny=e._miny,this._maxy=e._maxy}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.init(n.x,l.x,n.y,l.y)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];i<r?(this._minx=i,this._maxx=r):(this._minx=r,this._maxx=i),o<a?(this._miny=o,this._maxy=a):(this._miny=a,this._maxy=o)}},gs.prototype.getMaxY=function(){return this._maxy},gs.prototype.distance=function(t){if(this.intersects(t))return 0;var e=0;this._maxx<t._minx?e=t._minx-this._maxx:this._minx>t._maxx&&(e=this._minx-t._maxx);var n=0;return this._maxy<t._miny?n=t._miny-this._maxy:this._miny>t._maxy&&(n=this._miny-t._maxy),0===e?n:0===n?e:Math.sqrt(e*e+n*n)},gs.prototype.hashCode=function(){var t=17;return 37*(t=37*(t=37*(t=37*t+Xa.hashCode(this._minx))+Xa.hashCode(this._maxx))+Xa.hashCode(this._miny))+Xa.hashCode(this._maxy)},gs.prototype.interfaces_=function(){return[qa,mi]},gs.prototype.getClass=function(){return gs},gs.intersects=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.x<e.x?t.x:e.x)&&n.x<=(t.x>e.x?t.x:e.x)&&n.y>=(t.y<e.y?t.y:e.y)&&n.y<=(t.y>e.y?t.y:e.y)}if(4===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2],o=arguments[3],a=Math.min(r.x,o.x),s=Math.max(r.x,o.x),u=Math.min(l.x,i.x),c=Math.max(l.x,i.x);return!(u>s||c<a||(a=Math.min(r.y,o.y),s=Math.max(r.y,o.y),u=Math.min(l.y,i.y),c=Math.max(l.y,i.y),u>s||c<a))}},_s.serialVersionUID.get=function(){return 0x51845cd552189800},Object.defineProperties(gs,_s);var ys={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,emptyTypeStr:/^\s*(\w+)\s*EMPTY\s*$/,spaces:/\s+/,parenComma:/\)\s*,\s*\(/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,trimParens:/^\s*\(?(.*?)\)?\s*$/},As=function(t){this.geometryFactory=t||new Gu};As.prototype.read=function(t){var e,n;t=t.replace(/[\n\r]/g," ");var l=ys.typeStr.exec(t);if(-1!==t.search("EMPTY")&&((l=ys.emptyTypeStr.exec(t))[2]=void 0),l&&(n=l[1].toLowerCase(),Cs[n]&&(e=Cs[n].apply(this,[l[2]]))),void 0===e)throw new Error("Could not parse WKT "+t);return e},As.prototype.write=function(t){return this.extractGeometry(t)},As.prototype.extractGeometry=function(t){var e=t.getGeometryType().toLowerCase();if(!vs[e])return null;var n=e.toUpperCase();return t.isEmpty()?n+" EMPTY":n+"("+vs[e].apply(this,[t])+")"};var vs={coordinate:function(t){return t.x+" "+t.y},point:function(t){return vs.coordinate.call(this,t._coordinates._coordinates[0])},multipoint:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.point.apply(this,[t._geometries[n]])+")");return e.join(",")},linestring:function(t){for(var e=[],n=0,l=t._points._coordinates.length;n<l;++n)e.push(vs.coordinate.apply(this,[t._points._coordinates[n]]));return e.join(",")},linearring:function(t){for(var e=[],n=0,l=t._points._coordinates.length;n<l;++n)e.push(vs.coordinate.apply(this,[t._points._coordinates[n]]));return e.join(",")},multilinestring:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.linestring.apply(this,[t._geometries[n]])+")");return e.join(",")},polygon:function(t){var e=[];e.push("("+vs.linestring.apply(this,[t._shell])+")");for(var n=0,l=t._holes.length;n<l;++n)e.push("("+vs.linestring.apply(this,[t._holes[n]])+")");return e.join(",")},multipolygon:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push("("+vs.polygon.apply(this,[t._geometries[n]])+")");return e.join(",")},geometrycollection:function(t){for(var e=[],n=0,l=t._geometries.length;n<l;++n)e.push(this.extractGeometry(t._geometries[n]));return e.join(",")}},Cs={point:function(t){if(void 0===t)return this.geometryFactory.createPoint();var e=t.trim().split(ys.spaces);return this.geometryFactory.createPoint(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])))},multipoint:function(t){if(void 0===t)return this.geometryFactory.createMultiPoint();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.point.apply(this,[e]));return this.geometryFactory.createMultiPoint(l)},linestring:function(t){if(void 0===t)return this.geometryFactory.createLineString();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].trim().split(ys.spaces),l.push(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLineString(l)},linearring:function(t){if(void 0===t)return this.geometryFactory.createLinearRing();for(var e,n=t.trim().split(","),l=[],i=0,r=n.length;i<r;++i)e=n[i].trim().split(ys.spaces),l.push(new Xa(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLinearRing(l)},multilinestring:function(t){if(void 0===t)return this.geometryFactory.createMultiLineString();for(var e,n=t.trim().split(ys.parenComma),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.linestring.apply(this,[e]));return this.geometryFactory.createMultiLineString(l)},polygon:function(t){if(void 0===t)return this.geometryFactory.createPolygon();for(var e,n,l,i,r=t.trim().split(ys.parenComma),o=[],a=0,s=r.length;a<s;++a)e=r[a].replace(ys.trimParens,"$1"),n=Cs.linestring.apply(this,[e]),l=this.geometryFactory.createLinearRing(n._points),0===a?i=l:o.push(l);return this.geometryFactory.createPolygon(i,o)},multipolygon:function(t){if(void 0===t)return this.geometryFactory.createMultiPolygon();for(var e,n=t.trim().split(ys.doubleParenComma),l=[],i=0,r=n.length;i<r;++i)e=n[i].replace(ys.trimParens,"$1"),l.push(Cs.polygon.apply(this,[e]));return this.geometryFactory.createMultiPolygon(l)},geometrycollection:function(t){if(void 0===t)return this.geometryFactory.createGeometryCollection();for(var e=(t=t.replace(/,\s*([A-Za-z])/g,"|$1")).trim().split("|"),n=[],l=0,i=e.length;l<i;++l)n.push(this.read(e[l]));return this.geometryFactory.createGeometryCollection(n)}},ws=function(t){this.parser=new As(t)};ws.prototype.write=function(t){return this.parser.write(t)},ws.toLineString=function(t,e){if(2!==arguments.length)throw new Error("Not implemented");return"LINESTRING ( "+t.x+" "+t.y+", "+e.x+" "+e.y+" )"};var Ps=function(t){function e(e){t.call(this,e),this.name="RuntimeException",this.message=e,this.stack=(new t).stack}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Error),xs=function(t){function e(){if(t.call(this),0===arguments.length)t.call(this);else if(1===arguments.length){var e=arguments[0];t.call(this,e)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Ps),Ss=function(){};Ss.prototype.interfaces_=function(){return[]},Ss.prototype.getClass=function(){return Ss},Ss.shouldNeverReachHere=function(){if(0===arguments.length)Ss.shouldNeverReachHere(null);else if(1===arguments.length){var t=arguments[0];throw new xs("Should never reach here"+(null!==t?": "+t:""))}},Ss.isTrue=function(){var t;if(1===arguments.length)Ss.isTrue(arguments[0],null);else if(2===arguments.length&&(t=arguments[1],!arguments[0]))throw null===t?new xs:new xs(t)},Ss.equals=function(){var t,e,n;if(2===arguments.length)Ss.equals(t=arguments[0],e=arguments[1],null);else if(3===arguments.length&&(n=arguments[2],!(e=arguments[1]).equals(t=arguments[0])))throw new xs("Expected "+t+" but encountered "+e+(null!==n?": "+n:""))};var ks=function(){this._result=null,this._inputLines=Array(2).fill().map((function(){return Array(2)})),this._intPt=new Array(2).fill(null),this._intLineIndex=null,this._isProper=null,this._pa=null,this._pb=null,this._precisionModel=null,this._intPt[0]=new Xa,this._intPt[1]=new Xa,this._pa=this._intPt[0],this._pb=this._intPt[1],this._result=0},Ms={DONT_INTERSECT:{configurable:!0},DO_INTERSECT:{configurable:!0},COLLINEAR:{configurable:!0},NO_INTERSECTION:{configurable:!0},POINT_INTERSECTION:{configurable:!0},COLLINEAR_INTERSECTION:{configurable:!0}};ks.prototype.getIndexAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intLineIndex[t][e]},ks.prototype.getTopologySummary=function(){var t=new is;return this.isEndPoint()&&t.append(" endpoint"),this._isProper&&t.append(" proper"),this.isCollinear()&&t.append(" collinear"),t.toString()},ks.prototype.computeIntersection=function(t,e,n,l){this._inputLines[0][0]=t,this._inputLines[0][1]=e,this._inputLines[1][0]=n,this._inputLines[1][1]=l,this._result=this.computeIntersect(t,e,n,l)},ks.prototype.getIntersectionNum=function(){return this._result},ks.prototype.computeIntLineIndex=function(){if(0===arguments.length)null===this._intLineIndex&&(this._intLineIndex=Array(2).fill().map((function(){return Array(2)})),this.computeIntLineIndex(0),this.computeIntLineIndex(1));else if(1===arguments.length){var t=arguments[0];this.getEdgeDistance(t,0)>this.getEdgeDistance(t,1)?(this._intLineIndex[t][0]=0,this._intLineIndex[t][1]=1):(this._intLineIndex[t][0]=1,this._intLineIndex[t][1]=0)}},ks.prototype.isProper=function(){return this.hasIntersection()&&this._isProper},ks.prototype.setPrecisionModel=function(t){this._precisionModel=t},ks.prototype.isInteriorIntersection=function(){if(0===arguments.length)return!!this.isInteriorIntersection(0)||!!this.isInteriorIntersection(1);if(1===arguments.length){for(var t=arguments[0],e=0;e<this._result;e++)if(!this._intPt[e].equals2D(this._inputLines[t][0])&&!this._intPt[e].equals2D(this._inputLines[t][1]))return!0;return!1}},ks.prototype.getIntersection=function(t){return this._intPt[t]},ks.prototype.isEndPoint=function(){return this.hasIntersection()&&!this._isProper},ks.prototype.hasIntersection=function(){return this._result!==ks.NO_INTERSECTION},ks.prototype.getEdgeDistance=function(t,e){return ks.computeEdgeDistance(this._intPt[e],this._inputLines[t][0],this._inputLines[t][1])},ks.prototype.isCollinear=function(){return this._result===ks.COLLINEAR_INTERSECTION},ks.prototype.toString=function(){return ws.toLineString(this._inputLines[0][0],this._inputLines[0][1])+" - "+ws.toLineString(this._inputLines[1][0],this._inputLines[1][1])+this.getTopologySummary()},ks.prototype.getEndpoint=function(t,e){return this._inputLines[t][e]},ks.prototype.isIntersection=function(t){for(var e=0;e<this._result;e++)if(this._intPt[e].equals2D(t))return!0;return!1},ks.prototype.getIntersectionAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intPt[this._intLineIndex[t][e]]},ks.prototype.interfaces_=function(){return[]},ks.prototype.getClass=function(){return ks},ks.computeEdgeDistance=function(t,e,n){var l=Math.abs(n.x-e.x),i=Math.abs(n.y-e.y),r=-1;if(t.equals(e))r=0;else if(t.equals(n))r=l>i?l:i;else{var o=Math.abs(t.x-e.x),a=Math.abs(t.y-e.y);0!==(r=l>i?o:a)||t.equals(e)||(r=Math.max(o,a))}return Ss.isTrue(!(0===r&&!t.equals(e)),"Bad distance calculation"),r},ks.nonRobustComputeEdgeDistance=function(t,e,n){var l=t.x-e.x,i=t.y-e.y,r=Math.sqrt(l*l+i*i);return Ss.isTrue(!(0===r&&!t.equals(e)),"Invalid distance calculation"),r},Ms.DONT_INTERSECT.get=function(){return 0},Ms.DO_INTERSECT.get=function(){return 1},Ms.COLLINEAR.get=function(){return 2},Ms.NO_INTERSECTION.get=function(){return 0},Ms.POINT_INTERSECTION.get=function(){return 1},Ms.COLLINEAR_INTERSECTION.get=function(){return 2},Object.defineProperties(ks,Ms);var Os=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isInSegmentEnvelopes=function(t){var e=new gs(this._inputLines[0][0],this._inputLines[0][1]),n=new gs(this._inputLines[1][0],this._inputLines[1][1]);return e.contains(t)&&n.contains(t)},e.prototype.computeIntersection=function(){if(3!==arguments.length)return t.prototype.computeIntersection.apply(this,arguments);var e=arguments[0],n=arguments[1],l=arguments[2];if(this._isProper=!1,gs.intersects(n,l,e)&&0===Es.orientationIndex(n,l,e)&&0===Es.orientationIndex(l,n,e))return this._isProper=!0,(e.equals(n)||e.equals(l))&&(this._isProper=!1),this._result=t.POINT_INTERSECTION,null;this._result=t.NO_INTERSECTION},e.prototype.normalizeToMinimum=function(t,e,n,l,i){i.x=this.smallestInAbsValue(t.x,e.x,n.x,l.x),i.y=this.smallestInAbsValue(t.y,e.y,n.y,l.y),t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,n.x-=i.x,n.y-=i.y,l.x-=i.x,l.y-=i.y},e.prototype.safeHCoordinateIntersection=function(t,n,l,i){var r=null;try{r=ms.intersection(t,n,l,i)}catch(o){if(!(o instanceof fs))throw o;r=e.nearestEndpoint(t,n,l,i)}return r},e.prototype.intersection=function(t,n,l,i){var r=this.intersectionWithNormalization(t,n,l,i);return this.isInSegmentEnvelopes(r)||(r=new Xa(e.nearestEndpoint(t,n,l,i))),null!==this._precisionModel&&this._precisionModel.makePrecise(r),r},e.prototype.smallestInAbsValue=function(t,e,n,l){var i=t,r=Math.abs(i);return Math.abs(e)<r&&(i=e,r=Math.abs(e)),Math.abs(n)<r&&(i=n,r=Math.abs(n)),Math.abs(l)<r&&(i=l),i},e.prototype.checkDD=function(t,e,n,l,i){var r=us.intersection(t,e,n,l),o=this.isInSegmentEnvelopes(r);bs.out.println("DD in env = "+o+" --------------------- "+r),i.distance(r)>1e-4&&bs.out.println("Distance = "+i.distance(r))},e.prototype.intersectionWithNormalization=function(t,e,n,l){var i=new Xa(t),r=new Xa(e),o=new Xa(n),a=new Xa(l),s=new Xa;this.normalizeToEnvCentre(i,r,o,a,s);var u=this.safeHCoordinateIntersection(i,r,o,a);return u.x+=s.x,u.y+=s.y,u},e.prototype.computeCollinearIntersection=function(e,n,l,i){var r=gs.intersects(e,n,l),o=gs.intersects(e,n,i),a=gs.intersects(l,i,e),s=gs.intersects(l,i,n);return r&&o?(this._intPt[0]=l,this._intPt[1]=i,t.COLLINEAR_INTERSECTION):a&&s?(this._intPt[0]=e,this._intPt[1]=n,t.COLLINEAR_INTERSECTION):r&&a?(this._intPt[0]=l,this._intPt[1]=e,!l.equals(e)||o||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):r&&s?(this._intPt[0]=l,this._intPt[1]=n,!l.equals(n)||o||a?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):o&&a?(this._intPt[0]=i,this._intPt[1]=e,!i.equals(e)||r||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):o&&s?(this._intPt[0]=i,this._intPt[1]=n,!i.equals(n)||r||a?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):t.NO_INTERSECTION},e.prototype.normalizeToEnvCentre=function(t,e,n,l,i){var r=t.x<e.x?t.x:e.x,o=t.y<e.y?t.y:e.y,a=t.x>e.x?t.x:e.x,s=t.y>e.y?t.y:e.y,u=n.x<l.x?n.x:l.x,c=n.y<l.y?n.y:l.y,d=n.x>l.x?n.x:l.x,h=n.y>l.y?n.y:l.y,p=((o>c?o:c)+(s<h?s:h))/2;i.x=((r>u?r:u)+(a<d?a:d))/2,i.y=p,t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,n.x-=i.x,n.y-=i.y,l.x-=i.x,l.y-=i.y},e.prototype.computeIntersect=function(e,n,l,i){if(this._isProper=!1,!gs.intersects(e,n,l,i))return t.NO_INTERSECTION;var r=Es.orientationIndex(e,n,l),o=Es.orientationIndex(e,n,i);if(r>0&&o>0||r<0&&o<0)return t.NO_INTERSECTION;var a=Es.orientationIndex(l,i,e),s=Es.orientationIndex(l,i,n);return a>0&&s>0||a<0&&s<0?t.NO_INTERSECTION:0===r&&0===o&&0===a&&0===s?this.computeCollinearIntersection(e,n,l,i):(0===r||0===o||0===a||0===s?(this._isProper=!1,e.equals2D(l)||e.equals2D(i)?this._intPt[0]=e:n.equals2D(l)||n.equals2D(i)?this._intPt[0]=n:0===r?this._intPt[0]=new Xa(l):0===o?this._intPt[0]=new Xa(i):0===a?this._intPt[0]=new Xa(e):0===s&&(this._intPt[0]=new Xa(n))):(this._isProper=!0,this._intPt[0]=this.intersection(e,n,l,i)),t.POINT_INTERSECTION)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.nearestEndpoint=function(t,e,n,l){var i=t,r=Es.distancePointLine(t,n,l),o=Es.distancePointLine(e,n,l);return o<r&&(r=o,i=e),(o=Es.distancePointLine(n,t,e))<r&&(r=o,i=n),(o=Es.distancePointLine(l,t,e))<r&&(r=o,i=l),i},e}(ks),Ds=function(){};Ds.prototype.interfaces_=function(){return[]},Ds.prototype.getClass=function(){return Ds},Ds.orientationIndex=function(t,e,n){return Ds.signOfDet2x2(e.x-t.x,e.y-t.y,n.x-e.x,n.y-e.y)},Ds.signOfDet2x2=function(t,e,n,l){var i=null,r=null,o=null;if(i=1,0===t||0===l)return 0===e||0===n?0:e>0?n>0?-i:i:n>0?i:-i;if(0===e||0===n)return l>0?t>0?i:-i:t>0?-i:i;if(e>0?l>0?e<=l||(i=-i,r=t,t=n,n=r,r=e,e=l,l=r):e<=-l?(i=-i,n=-n,l=-l):(r=t,t=-n,n=r,r=e,e=-l,l=r):l>0?-e<=l?(i=-i,t=-t,e=-e):(r=-t,t=n,n=r,r=-e,e=l,l=r):e>=l?(t=-t,e=-e,n=-n,l=-l):(i=-i,r=-t,t=-n,n=r,r=-e,e=-l,l=r),t>0){if(!(n>0))return i;if(!(t<=n))return i}else{if(n>0)return-i;if(!(t>=n))return-i;i=-i,t=-t,n=-n}for(;;){if((l-=(o=Math.floor(n/t))*e)<0)return-i;if(l>e)return i;if(t>(n-=o*t)+n){if(e<l+l)return i}else{if(e>l+l)return-i;n=t-n,l=e-l,i=-i}if(0===l)return 0===n?0:-i;if(0===n)return i;if((e-=(o=Math.floor(t/n))*l)<0)return i;if(e>l)return-i;if(n>(t-=o*n)+t){if(l<e+e)return-i}else{if(l>e+e)return i;t=n-t,e=l-e,i=-i}if(0===e)return 0===t?0:i;if(0===t)return-i}};var Ts=function(){this._p=null,this._crossingCount=0,this._isPointOnSegment=!1;var t=arguments[0];this._p=t};Ts.prototype.countSegment=function(t,e){if(t.x<this._p.x&&e.x<this._p.x)return null;if(this._p.x===e.x&&this._p.y===e.y)return this._isPointOnSegment=!0,null;if(t.y===this._p.y&&e.y===this._p.y){var n=t.x,l=e.x;return n>l&&(n=e.x,l=t.x),this._p.x>=n&&this._p.x<=l&&(this._isPointOnSegment=!0),null}if(t.y>this._p.y&&e.y<=this._p.y||e.y>this._p.y&&t.y<=this._p.y){var i=t.y-this._p.y,r=e.y-this._p.y,o=Ds.signOfDet2x2(t.x-this._p.x,i,e.x-this._p.x,r);if(0===o)return this._isPointOnSegment=!0,null;r<i&&(o=-o),o>0&&this._crossingCount++}},Ts.prototype.isPointInPolygon=function(){return this.getLocation()!==Za.EXTERIOR},Ts.prototype.getLocation=function(){return this._isPointOnSegment?Za.BOUNDARY:this._crossingCount%2==1?Za.INTERIOR:Za.EXTERIOR},Ts.prototype.isOnSegment=function(){return this._isPointOnSegment},Ts.prototype.interfaces_=function(){return[]},Ts.prototype.getClass=function(){return Ts},Ts.locatePointInRing=function(){if(arguments[0]instanceof Xa&&es(arguments[1],ds)){for(var t=arguments[0],e=arguments[1],n=new Ts(t),l=new Xa,i=new Xa,r=1;r<e.size();r++)if(e.getCoordinate(r,l),e.getCoordinate(r-1,i),n.countSegment(l,i),n.isOnSegment())return n.getLocation();return n.getLocation()}if(arguments[0]instanceof Xa&&arguments[1]instanceof Array){for(var o=arguments[0],a=arguments[1],s=new Ts(o),u=1;u<a.length;u++){var c=a[u],d=a[u-1];if(s.countSegment(c,d),s.isOnSegment())return s.getLocation()}return s.getLocation()}};var Es=function(){},Is={CLOCKWISE:{configurable:!0},RIGHT:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},LEFT:{configurable:!0},COLLINEAR:{configurable:!0},STRAIGHT:{configurable:!0}};Es.prototype.interfaces_=function(){return[]},Es.prototype.getClass=function(){return Es},Es.orientationIndex=function(t,e,n){return us.orientationIndex(t,e,n)},Es.signedArea=function(){if(arguments[0]instanceof Array){var t=arguments[0];if(t.length<3)return 0;for(var e=0,n=t[0].x,l=1;l<t.length-1;l++){var i=t[l].x-n,r=t[l+1].y;e+=i*(t[l-1].y-r)}return e/2}if(es(arguments[0],ds)){var o=arguments[0],a=o.size();if(a<3)return 0;var s=new Xa,u=new Xa,c=new Xa;o.getCoordinate(0,u),o.getCoordinate(1,c);var d=u.x;c.x-=d;for(var h=0,p=1;p<a-1;p++)s.y=u.y,u.x=c.x,u.y=c.y,o.getCoordinate(p+1,c),c.x-=d,h+=u.x*(s.y-c.y);return h/2}},Es.distanceLineLine=function(t,e,n,l){if(t.equals(e))return Es.distancePointLine(t,n,l);if(n.equals(l))return Es.distancePointLine(l,t,e);var i=!1;if(gs.intersects(t,e,n,l)){var r=(e.x-t.x)*(l.y-n.y)-(e.y-t.y)*(l.x-n.x);if(0===r)i=!0;else{var o=((t.y-n.y)*(e.x-t.x)-(t.x-n.x)*(e.y-t.y))/r,a=((t.y-n.y)*(l.x-n.x)-(t.x-n.x)*(l.y-n.y))/r;(a<0||a>1||o<0||o>1)&&(i=!0)}}else i=!0;return i?ns.min(Es.distancePointLine(t,n,l),Es.distancePointLine(e,n,l),Es.distancePointLine(n,t,e),Es.distancePointLine(l,t,e)):0},Es.isPointInRing=function(t,e){return Es.locatePointInRing(t,e)!==Za.EXTERIOR},Es.computeLength=function(t){var e=t.size();if(e<=1)return 0;var n=0,l=new Xa;t.getCoordinate(0,l);for(var i=l.x,r=l.y,o=1;o<e;o++){t.getCoordinate(o,l);var a=l.x,s=l.y,u=a-i,c=s-r;n+=Math.sqrt(u*u+c*c),i=a,r=s}return n},Es.isCCW=function(t){var e=t.length-1;if(e<3)throw new Ga("Ring has fewer than 4 points, so orientation cannot be determined");for(var n=t[0],l=0,i=1;i<=e;i++){var r=t[i];r.y>n.y&&(n=r,l=i)}var o=l;do{(o-=1)<0&&(o=e)}while(t[o].equals2D(n)&&o!==l);var a=l;do{a=(a+1)%e}while(t[a].equals2D(n)&&a!==l);var s=t[o],u=t[a];if(s.equals2D(n)||u.equals2D(n)||s.equals2D(u))return!1;var c=Es.computeOrientation(s,n,u);return 0===c?s.x>u.x:c>0},Es.locatePointInRing=function(t,e){return Ts.locatePointInRing(t,e)},Es.distancePointLinePerpendicular=function(t,e,n){var l=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y);return Math.abs(((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/l)*Math.sqrt(l)},Es.computeOrientation=function(t,e,n){return Es.orientationIndex(t,e,n)},Es.distancePointLine=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(0===e.length)throw new Ga("Line array must contain at least one vertex");for(var n=t.distance(e[0]),l=0;l<e.length-1;l++){var i=Es.distancePointLine(t,e[l],e[l+1]);i<n&&(n=i)}return n}if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];if(o.x===a.x&&o.y===a.y)return r.distance(o);var s=(a.x-o.x)*(a.x-o.x)+(a.y-o.y)*(a.y-o.y),u=((r.x-o.x)*(a.x-o.x)+(r.y-o.y)*(a.y-o.y))/s;if(u<=0)return r.distance(o);if(u>=1)return r.distance(a);var c=((o.y-r.y)*(a.x-o.x)-(o.x-r.x)*(a.y-o.y))/s;return Math.abs(c)*Math.sqrt(s)}},Es.isOnLine=function(t,e){for(var n=new Os,l=1;l<e.length;l++)if(n.computeIntersection(t,e[l-1],e[l]),n.hasIntersection())return!0;return!1},Is.CLOCKWISE.get=function(){return-1},Is.RIGHT.get=function(){return Es.CLOCKWISE},Is.COUNTERCLOCKWISE.get=function(){return 1},Is.LEFT.get=function(){return Es.COUNTERCLOCKWISE},Is.COLLINEAR.get=function(){return 0},Is.STRAIGHT.get=function(){return Es.COLLINEAR},Object.defineProperties(Es,Is);var Ls=function(){};Ls.prototype.filter=function(t){},Ls.prototype.interfaces_=function(){return[]},Ls.prototype.getClass=function(){return Ls};var js=function(){var t=arguments[0];this._envelope=null,this._factory=null,this._SRID=null,this._userData=null,this._factory=t,this._SRID=t.getSRID()},Rs={serialVersionUID:{configurable:!0},SORTINDEX_POINT:{configurable:!0},SORTINDEX_MULTIPOINT:{configurable:!0},SORTINDEX_LINESTRING:{configurable:!0},SORTINDEX_LINEARRING:{configurable:!0},SORTINDEX_MULTILINESTRING:{configurable:!0},SORTINDEX_POLYGON:{configurable:!0},SORTINDEX_MULTIPOLYGON:{configurable:!0},SORTINDEX_GEOMETRYCOLLECTION:{configurable:!0},geometryChangedFilter:{configurable:!0}};js.prototype.isGeometryCollection=function(){return this.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION},js.prototype.getFactory=function(){return this._factory},js.prototype.getGeometryN=function(t){return this},js.prototype.getArea=function(){return 0},js.prototype.isRectangle=function(){return!1},js.prototype.equals=function(){if(arguments[0]instanceof js){var t=arguments[0];return null!==t&&this.equalsTopo(t)}if(arguments[0]instanceof Object){var e=arguments[0];if(!(e instanceof js))return!1;var n=e;return this.equalsExact(n)}},js.prototype.equalsExact=function(t){return this===t||this.equalsExact(t,0)},js.prototype.geometryChanged=function(){this.apply(js.geometryChangedFilter)},js.prototype.geometryChangedAction=function(){this._envelope=null},js.prototype.equalsNorm=function(t){return null!==t&&this.norm().equalsExact(t.norm())},js.prototype.getLength=function(){return 0},js.prototype.getNumGeometries=function(){return 1},js.prototype.compareTo=function(){if(1===arguments.length){var t=arguments[0],e=t;return this.getSortIndex()!==e.getSortIndex()?this.getSortIndex()-e.getSortIndex():this.isEmpty()&&e.isEmpty()?0:this.isEmpty()?-1:e.isEmpty()?1:this.compareToSameClass(t)}if(2===arguments.length){var n=arguments[0],l=arguments[1];return this.getSortIndex()!==n.getSortIndex()?this.getSortIndex()-n.getSortIndex():this.isEmpty()&&n.isEmpty()?0:this.isEmpty()?-1:n.isEmpty()?1:this.compareToSameClass(n,l)}},js.prototype.getUserData=function(){return this._userData},js.prototype.getSRID=function(){return this._SRID},js.prototype.getEnvelope=function(){return this.getFactory().toGeometry(this.getEnvelopeInternal())},js.prototype.checkNotGeometryCollection=function(t){if(t.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION)throw new Ga("This method does not support GeometryCollection arguments")},js.prototype.equal=function(t,e,n){return 0===n?t.equals(e):t.distance(e)<=n},js.prototype.norm=function(){var t=this.copy();return t.normalize(),t},js.prototype.getPrecisionModel=function(){return this._factory.getPrecisionModel()},js.prototype.getEnvelopeInternal=function(){return null===this._envelope&&(this._envelope=this.computeEnvelopeInternal()),new gs(this._envelope)},js.prototype.setSRID=function(t){this._SRID=t},js.prototype.setUserData=function(t){this._userData=t},js.prototype.compare=function(t,e){for(var n=t.iterator(),l=e.iterator();n.hasNext()&&l.hasNext();){var i=n.next(),r=l.next(),o=i.compareTo(r);if(0!==o)return o}return n.hasNext()?1:l.hasNext()?-1:0},js.prototype.hashCode=function(){return this.getEnvelopeInternal().hashCode()},js.prototype.isGeometryCollectionOrDerived=function(){return this.getSortIndex()===js.SORTINDEX_GEOMETRYCOLLECTION||this.getSortIndex()===js.SORTINDEX_MULTIPOINT||this.getSortIndex()===js.SORTINDEX_MULTILINESTRING||this.getSortIndex()===js.SORTINDEX_MULTIPOLYGON},js.prototype.interfaces_=function(){return[Wa,qa,mi]},js.prototype.getClass=function(){return js},js.hasNonEmptyElements=function(t){for(var e=0;e<t.length;e++)if(!t[e].isEmpty())return!0;return!1},js.hasNullElements=function(t){for(var e=0;e<t.length;e++)if(null===t[e])return!0;return!1},Rs.serialVersionUID.get=function(){return 0x799ea46522854c00},Rs.SORTINDEX_POINT.get=function(){return 0},Rs.SORTINDEX_MULTIPOINT.get=function(){return 1},Rs.SORTINDEX_LINESTRING.get=function(){return 2},Rs.SORTINDEX_LINEARRING.get=function(){return 3},Rs.SORTINDEX_MULTILINESTRING.get=function(){return 4},Rs.SORTINDEX_POLYGON.get=function(){return 5},Rs.SORTINDEX_MULTIPOLYGON.get=function(){return 6},Rs.SORTINDEX_GEOMETRYCOLLECTION.get=function(){return 7},Rs.geometryChangedFilter.get=function(){return Fs},Object.defineProperties(js,Rs);var Fs=function(){};Fs.interfaces_=function(){return[Ls]},Fs.filter=function(t){t.geometryChangedAction()};var Ns=function(){};Ns.prototype.filter=function(t){},Ns.prototype.interfaces_=function(){return[]},Ns.prototype.getClass=function(){return Ns};var Ys=function(){},Us={Mod2BoundaryNodeRule:{configurable:!0},EndPointBoundaryNodeRule:{configurable:!0},MultiValentEndPointBoundaryNodeRule:{configurable:!0},MonoValentEndPointBoundaryNodeRule:{configurable:!0},MOD2_BOUNDARY_RULE:{configurable:!0},ENDPOINT_BOUNDARY_RULE:{configurable:!0},MULTIVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},MONOVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},OGC_SFS_BOUNDARY_RULE:{configurable:!0}};Ys.prototype.isInBoundary=function(t){},Ys.prototype.interfaces_=function(){return[]},Ys.prototype.getClass=function(){return Ys},Us.Mod2BoundaryNodeRule.get=function(){return Bs},Us.EndPointBoundaryNodeRule.get=function(){return zs},Us.MultiValentEndPointBoundaryNodeRule.get=function(){return Gs},Us.MonoValentEndPointBoundaryNodeRule.get=function(){return Hs},Us.MOD2_BOUNDARY_RULE.get=function(){return new Bs},Us.ENDPOINT_BOUNDARY_RULE.get=function(){return new zs},Us.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Gs},Us.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Hs},Us.OGC_SFS_BOUNDARY_RULE.get=function(){return Ys.MOD2_BOUNDARY_RULE},Object.defineProperties(Ys,Us);var Bs=function(){};Bs.prototype.isInBoundary=function(t){return t%2==1},Bs.prototype.interfaces_=function(){return[Ys]},Bs.prototype.getClass=function(){return Bs};var zs=function(){};zs.prototype.isInBoundary=function(t){return t>0},zs.prototype.interfaces_=function(){return[Ys]},zs.prototype.getClass=function(){return zs};var Gs=function(){};Gs.prototype.isInBoundary=function(t){return t>1},Gs.prototype.interfaces_=function(){return[Ys]},Gs.prototype.getClass=function(){return Gs};var Hs=function(){};Hs.prototype.isInBoundary=function(t){return 1===t},Hs.prototype.interfaces_=function(){return[Ys]},Hs.prototype.getClass=function(){return Hs};var Vs=function(){};Vs.prototype.add=function(){},Vs.prototype.addAll=function(){},Vs.prototype.isEmpty=function(){},Vs.prototype.iterator=function(){},Vs.prototype.size=function(){},Vs.prototype.toArray=function(){},Vs.prototype.remove=function(){};var qs=function(t){function e(e){t.call(this),this.message=e||""}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={name:{configurable:!0}};return n.name.get=function(){return"IndexOutOfBoundsException"},Object.defineProperties(e,n),e}(Error),Ws=function(){};Ws.prototype.hasNext=function(){},Ws.prototype.next=function(){},Ws.prototype.remove=function(){};var $s=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(){},e.prototype.set=function(){},e.prototype.isEmpty=function(){},e}(Vs);(gi.prototype=new Error).name="NoSuchElementException";var Xs=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.ensureCapacity=function(){},e.prototype.interfaces_=function(){return[t,Vs]},e.prototype.add=function(t){return 1===arguments.length?this.array_.push(t):this.array_.splice(arguments[0],arguments[1]),!0},e.prototype.clear=function(){this.array_=[]},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.set=function(t,e){var n=this.array_[t];return this.array_[t]=e,n},e.prototype.iterator=function(){return new Ks(this)},e.prototype.get=function(t){if(t<0||t>=this.size())throw new qs;return this.array_[t]},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.size=function(){return this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},e.prototype.remove=function(t){for(var e=!1,n=0,l=this.array_.length;n<l;n++)if(this.array_[n]===t){this.array_.splice(n,1),e=!0;break}return e},e}($s),Ks=function(t){function e(e){t.call(this),this.arrayList_=e,this.position_=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.next=function(){if(this.position_===this.arrayList_.size())throw new gi;return this.arrayList_.get(this.position_++)},e.prototype.hasNext=function(){return this.position_<this.arrayList_.size()},e.prototype.set=function(t){return this.arrayList_.set(this.position_-1,t)},e.prototype.remove=function(){this.arrayList_.remove(this.arrayList_.get(this.position_))},e}(Ws),Js=function(t){function e(){if(t.call(this),0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.ensureCapacity(e.length),this.add(e,!0)}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.ensureCapacity(n.length),this.add(n,l)}}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={coordArrayType:{configurable:!0}};return n.coordArrayType.get=function(){return new Array(0).fill(null)},e.prototype.getCoordinate=function(t){return this.get(t)},e.prototype.addAll=function(){if(2===arguments.length){for(var e=arguments[0],n=arguments[1],l=!1,i=e.iterator();i.hasNext();)this.add(i.next(),n),l=!0;return l}return t.prototype.addAll.apply(this,arguments)},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=0;n<this.size();n++)e.add(n,this.get(n).copy());return e},e.prototype.toCoordinateArray=function(){return this.toArray(e.coordArrayType)},e.prototype.add=function(){if(1===arguments.length){var e=arguments[0];t.prototype.add.call(this,e)}else if(2===arguments.length){if(arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var n=arguments[0],l=arguments[1];return this.add(n,l,!0),!0}if(arguments[0]instanceof Xa&&"boolean"==typeof arguments[1]){var i=arguments[0];if(!arguments[1]&&this.size()>=1&&this.get(this.size()-1).equals2D(i))return null;t.prototype.add.call(this,i)}else if(arguments[0]instanceof Object&&"boolean"==typeof arguments[1]){var r=arguments[0],o=arguments[1];return this.add(r,o),!0}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var a=arguments[0],s=arguments[1];if(arguments[2])for(var u=0;u<a.length;u++)this.add(a[u],s);else for(var c=a.length-1;c>=0;c--)this.add(a[c],s);return!0}if("boolean"==typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1];if(!arguments[2]){var p=this.size();if(p>0){if(d>0&&this.get(d-1).equals2D(h))return null;if(d<p&&this.get(d).equals2D(h))return null}}t.prototype.add.call(this,d,h)}}else if(4===arguments.length){var f=arguments[0],b=arguments[1],m=arguments[2],g=arguments[3],_=1;m>g&&(_=-1);for(var y=m;y!==g;y+=_)this.add(f[y],b);return!0}},e.prototype.closeRing=function(){this.size()>0&&this.add(new Xa(this.get(0)),!1)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},Object.defineProperties(e,n),e}(Xs),Qs=function(){},Zs={ForwardComparator:{configurable:!0},BidirectionalComparator:{configurable:!0},coordArrayType:{configurable:!0}};Zs.ForwardComparator.get=function(){return tu},Zs.BidirectionalComparator.get=function(){return eu},Zs.coordArrayType.get=function(){return new Array(0).fill(null)},Qs.prototype.interfaces_=function(){return[]},Qs.prototype.getClass=function(){return Qs},Qs.isRing=function(t){return!(t.length<4||!t[0].equals2D(t[t.length-1]))},Qs.ptNotInList=function(t,e){for(var n=0;n<t.length;n++){var l=t[n];if(Qs.indexOf(l,e)<0)return l}return null},Qs.scroll=function(t,e){var n=Qs.indexOf(e,t);if(n<0)return null;var l=new Array(t.length).fill(null);bs.arraycopy(t,n,l,0,t.length-n),bs.arraycopy(t,0,l,t.length-n,n),bs.arraycopy(l,0,t,0,t.length)},Qs.equals=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(t===e)return!0;if(null===t||null===e)return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!t[n].equals(e[n]))return!1;return!0}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];if(l===i)return!0;if(null===l||null===i)return!1;if(l.length!==i.length)return!1;for(var o=0;o<l.length;o++)if(0!==r.compare(l[o],i[o]))return!1;return!0}},Qs.intersection=function(t,e){for(var n=new Js,l=0;l<t.length;l++)e.intersects(t[l])&&n.add(t[l],!0);return n.toCoordinateArray()},Qs.hasRepeatedPoints=function(t){for(var e=1;e<t.length;e++)if(t[e-1].equals(t[e]))return!0;return!1},Qs.removeRepeatedPoints=function(t){return Qs.hasRepeatedPoints(t)?new Js(t,!1).toCoordinateArray():t},Qs.reverse=function(t){for(var e=t.length-1,n=Math.trunc(e/2),l=0;l<=n;l++){var i=t[l];t[l]=t[e-l],t[e-l]=i}},Qs.removeNull=function(t){for(var e=0,n=0;n<t.length;n++)null!==t[n]&&e++;var l=new Array(e).fill(null);if(0===e)return l;for(var i=0,r=0;r<t.length;r++)null!==t[r]&&(l[i++]=t[r]);return l},Qs.copyDeep=function(){if(1===arguments.length){for(var t=arguments[0],e=new Array(t.length).fill(null),n=0;n<t.length;n++)e[n]=new Xa(t[n]);return e}if(5===arguments.length)for(var l=arguments[0],i=arguments[1],r=arguments[2],o=arguments[3],a=arguments[4],s=0;s<a;s++)r[o+s]=new Xa(l[i+s])},Qs.isEqualReversed=function(t,e){for(var n=0;n<t.length;n++)if(0!==t[n].compareTo(e[t.length-n-1]))return!1;return!0},Qs.envelope=function(t){for(var e=new gs,n=0;n<t.length;n++)e.expandToInclude(t[n]);return e},Qs.toCoordinateArray=function(t){return t.toArray(Qs.coordArrayType)},Qs.atLeastNCoordinatesOrNothing=function(t,e){return e.length>=t?e:[]},Qs.indexOf=function(t,e){for(var n=0;n<e.length;n++)if(t.equals(e[n]))return n;return-1},Qs.increasingDirection=function(t){for(var e=0;e<Math.trunc(t.length/2);e++){var n=t[e].compareTo(t[t.length-1-e]);if(0!==n)return n}return 1},Qs.compare=function(t,e){for(var n=0;n<t.length&&n<e.length;){var l=t[n].compareTo(e[n]);if(0!==l)return l;n++}return n<e.length?-1:n<t.length?1:0},Qs.minCoordinate=function(t){for(var e=null,n=0;n<t.length;n++)(null===e||e.compareTo(t[n])>0)&&(e=t[n]);return e},Qs.extract=function(t,e,n){e=ns.clamp(e,0,t.length);var l=(n=ns.clamp(n,-1,t.length))-e+1;n<0&&(l=0),e>=t.length&&(l=0),n<e&&(l=0);var i=new Array(l).fill(null);if(0===l)return i;for(var r=0,o=e;o<=n;o++)i[r++]=t[o];return i},Object.defineProperties(Qs,Zs);var tu=function(){};tu.prototype.compare=function(t,e){return Qs.compare(t,e)},tu.prototype.interfaces_=function(){return[$a]},tu.prototype.getClass=function(){return tu};var eu=function(){};eu.prototype.compare=function(t,e){var n=t,l=e;if(n.length<l.length)return-1;if(n.length>l.length)return 1;if(0===n.length)return 0;var i=Qs.compare(n,l);return Qs.isEqualReversed(n,l)?0:i},eu.prototype.OLDcompare=function(t,e){var n=t,l=e;if(n.length<l.length)return-1;if(n.length>l.length)return 1;if(0===n.length)return 0;for(var i=Qs.increasingDirection(n),r=Qs.increasingDirection(l),o=i>0?0:n.length-1,a=r>0?0:n.length-1,s=0;s<n.length;s++){var u=n[o].compareTo(l[a]);if(0!==u)return u;o+=i,a+=r}return 0},eu.prototype.interfaces_=function(){return[$a]},eu.prototype.getClass=function(){return eu};var nu=function(){};nu.prototype.get=function(){},nu.prototype.put=function(){},nu.prototype.size=function(){},nu.prototype.values=function(){},nu.prototype.entrySet=function(){};var lu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(nu);(_i.prototype=new Error).name="OperationNotSupported",(yi.prototype=new Vs).contains=function(){};var iu=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof Vs&&this.addAll(arguments[0])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.contains=function(t){for(var e=0,n=this.array_.length;e<n;e++)if(this.array_[e]===t)return!0;return!1},e.prototype.add=function(t){return!this.contains(t)&&(this.array_.push(t),!0)},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.remove=function(t){throw new Error},e.prototype.size=function(){return this.array_.length},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},e.prototype.iterator=function(){return new ru(this)},e}(yi),ru=function(t){function e(e){t.call(this),this.hashSet_=e,this.position_=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.next=function(){if(this.position_===this.hashSet_.size())throw new gi;return this.hashSet_.array_[this.position_++]},e.prototype.hasNext=function(){return this.position_<this.hashSet_.size()},e.prototype.remove=function(){throw new _i},e}(Ws),ou=0;(xi.prototype=new lu).get=function(t){for(var e=this.root_;null!==e;){var n=t.compareTo(e.key);if(n<0)e=e.left;else{if(!(n>0))return e.value;e=e.right}}return null},xi.prototype.put=function(t,e){if(null===this.root_)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:ou,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var n,l,i=this.root_;do{if(n=i,(l=t.compareTo(i.key))<0)i=i.left;else{if(!(l>0)){var r=i.value;return i.value=e,r}i=i.right}}while(null!==i);var o={key:t,left:null,right:null,value:e,parent:n,color:ou,getValue:function(){return this.value},getKey:function(){return this.key}};return l<0?n.left=o:n.right=o,this.fixAfterInsertion(o),this.size_++,null},xi.prototype.fixAfterInsertion=function(t){for(t.color=1;null!=t&&t!==this.root_&&1===t.parent.color;)if(vi(t)===wi(vi(vi(t)))){var e=Pi(vi(vi(t)));1===Ai(e)?(Ci(vi(t),ou),Ci(e,ou),Ci(vi(vi(t)),1),t=vi(vi(t))):(t===Pi(vi(t))&&(t=vi(t),this.rotateLeft(t)),Ci(vi(t),ou),Ci(vi(vi(t)),1),this.rotateRight(vi(vi(t))))}else{var n=wi(vi(vi(t)));1===Ai(n)?(Ci(vi(t),ou),Ci(n,ou),Ci(vi(vi(t)),1),t=vi(vi(t))):(t===wi(vi(t))&&(t=vi(t),this.rotateRight(t)),Ci(vi(t),ou),Ci(vi(vi(t)),1),this.rotateLeft(vi(vi(t))))}this.root_.color=ou},xi.prototype.values=function(){var t=new Xs,e=this.getFirstEntry();if(null!==e)for(t.add(e.value);null!==(e=xi.successor(e));)t.add(e.value);return t},xi.prototype.entrySet=function(){var t=new iu,e=this.getFirstEntry();if(null!==e)for(t.add(e);null!==(e=xi.successor(e));)t.add(e);return t},xi.prototype.rotateLeft=function(t){if(null!=t){var e=t.right;t.right=e.left,null!=e.left&&(e.left.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.left===t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}},xi.prototype.rotateRight=function(t){if(null!=t){var e=t.left;t.left=e.right,null!=e.right&&(e.right.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.right===t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}},xi.prototype.getFirstEntry=function(){var t=this.root_;if(null!=t)for(;null!=t.left;)t=t.left;return t},xi.successor=function(t){if(null===t)return null;if(null!==t.right){for(var e=t.right;null!==e.left;)e=e.left;return e}for(var n=t.parent,l=t;null!==n&&l===n.right;)l=n,n=n.parent;return n},xi.prototype.size=function(){return this.size_};var au=function(){};au.prototype.interfaces_=function(){return[]},au.prototype.getClass=function(){return au},Si.prototype=new yi,(ki.prototype=new Si).contains=function(t){for(var e=0,n=this.array_.length;e<n;e++)if(0===this.array_[e].compareTo(t))return!0;return!1},ki.prototype.add=function(t){if(this.contains(t))return!1;for(var e=0,n=this.array_.length;e<n;e++)if(1===this.array_[e].compareTo(t))return this.array_.splice(e,0,t),!0;return this.array_.push(t),!0},ki.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},ki.prototype.remove=function(t){throw new _i},ki.prototype.size=function(){return this.array_.length},ki.prototype.isEmpty=function(){return 0===this.array_.length},ki.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t},ki.prototype.iterator=function(){return new su(this)};var su=function(t){this.treeSet_=t,this.position_=0};su.prototype.next=function(){if(this.position_===this.treeSet_.size())throw new gi;return this.treeSet_.array_[this.position_++]},su.prototype.hasNext=function(){return this.position_<this.treeSet_.size()},su.prototype.remove=function(){throw new _i};var uu=function(){};uu.sort=function(){var t,e,n,l=arguments[0];if(1===arguments.length)l.sort((function(t,e){return t.compareTo(e)}));else if(2===arguments.length)n=arguments[1],l.sort((function(t,e){return n.compare(t,e)}));else if(3===arguments.length){(e=l.slice(arguments[1],arguments[2])).sort();var i=l.slice(0,arguments[1]).concat(e,l.slice(arguments[2],l.length));for(l.splice(0,l.length),t=0;t<i.length;t++)l.push(i[t])}else if(4===arguments.length)for(e=l.slice(arguments[1],arguments[2]),n=arguments[3],e.sort((function(t,e){return n.compare(t,e)})),i=l.slice(0,arguments[1]).concat(e,l.slice(arguments[2],l.length)),l.splice(0,l.length),t=0;t<i.length;t++)l.push(i[t])},uu.asList=function(t){for(var e=new Xs,n=0,l=t.length;n<l;n++)e.add(t[n]);return e};var cu=function(){},du={P:{configurable:!0},L:{configurable:!0},A:{configurable:!0},FALSE:{configurable:!0},TRUE:{configurable:!0},DONTCARE:{configurable:!0},SYM_FALSE:{configurable:!0},SYM_TRUE:{configurable:!0},SYM_DONTCARE:{configurable:!0},SYM_P:{configurable:!0},SYM_L:{configurable:!0},SYM_A:{configurable:!0}};du.P.get=function(){return 0},du.L.get=function(){return 1},du.A.get=function(){return 2},du.FALSE.get=function(){return-1},du.TRUE.get=function(){return-2},du.DONTCARE.get=function(){return-3},du.SYM_FALSE.get=function(){return"F"},du.SYM_TRUE.get=function(){return"T"},du.SYM_DONTCARE.get=function(){return"*"},du.SYM_P.get=function(){return"0"},du.SYM_L.get=function(){return"1"},du.SYM_A.get=function(){return"2"},cu.prototype.interfaces_=function(){return[]},cu.prototype.getClass=function(){return cu},cu.toDimensionSymbol=function(t){switch(t){case cu.FALSE:return cu.SYM_FALSE;case cu.TRUE:return cu.SYM_TRUE;case cu.DONTCARE:return cu.SYM_DONTCARE;case cu.P:return cu.SYM_P;case cu.L:return cu.SYM_L;case cu.A:return cu.SYM_A}throw new Ga("Unknown dimension value: "+t)},cu.toDimensionValue=function(t){switch(os.toUpperCase(t)){case cu.SYM_FALSE:return cu.FALSE;case cu.SYM_TRUE:return cu.TRUE;case cu.SYM_DONTCARE:return cu.DONTCARE;case cu.SYM_P:return cu.P;case cu.SYM_L:return cu.L;case cu.SYM_A:return cu.A}throw new Ga("Unknown dimension symbol: "+t)},Object.defineProperties(cu,du);var hu=function(){};hu.prototype.filter=function(t){},hu.prototype.interfaces_=function(){return[]},hu.prototype.getClass=function(){return hu};var pu=function(){};pu.prototype.filter=function(t,e){},pu.prototype.isDone=function(){},pu.prototype.isGeometryChanged=function(){},pu.prototype.interfaces_=function(){return[]},pu.prototype.getClass=function(){return pu};var fu=function(t){function e(e,n){if(t.call(this,n),this._geometries=e||[],t.hasNullElements(this._geometries))throw new Ga("geometries must not contain null elements")}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){for(var t=new gs,e=0;e<this._geometries.length;e++)t.expandToInclude(this._geometries[e].getEnvelopeInternal());return t},e.prototype.getGeometryN=function(t){return this._geometries[t]},e.prototype.getSortIndex=function(){return t.SORTINDEX_GEOMETRYCOLLECTION},e.prototype.getCoordinates=function(){for(var t=new Array(this.getNumPoints()).fill(null),e=-1,n=0;n<this._geometries.length;n++)for(var l=this._geometries[n].getCoordinates(),i=0;i<l.length;i++)t[++e]=l[i];return t},e.prototype.getArea=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getArea();return t},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e;if(this._geometries.length!==l._geometries.length)return!1;for(var i=0;i<this._geometries.length;i++)if(!this._geometries[i].equalsExact(l._geometries[i],n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<this._geometries.length;t++)this._geometries[t].normalize();uu.sort(this._geometries)},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._geometries[0].getCoordinate()},e.prototype.getBoundaryDimension=function(){for(var t=cu.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getBoundaryDimension());return t},e.prototype.getDimension=function(){for(var t=cu.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getDimension());return t},e.prototype.getLength=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getNumPoints();return t},e.prototype.getNumGeometries=function(){return this._geometries.length},e.prototype.reverse=function(){for(var t=new Array(this._geometries.length).fill(null),e=0;e<this._geometries.length;e++)t[e]=this._geometries[e].reverse();return this.getFactory().createGeometryCollection(t)},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=new ki(uu.asList(this._geometries)),n=new ki(uu.asList(t._geometries));return this.compare(e,n)}if(2===arguments.length){for(var l=arguments[0],i=arguments[1],r=l,o=this.getNumGeometries(),a=r.getNumGeometries(),s=0;s<o&&s<a;){var u=this.getGeometryN(s),c=r.getGeometryN(s),d=u.compareToSameClass(c,i);if(0!==d)return d;s++}return s<o?1:s<a?-1:0}},e.prototype.apply=function(){if(es(arguments[0],Ns))for(var t=arguments[0],e=0;e<this._geometries.length;e++)this._geometries[e].apply(t);else if(es(arguments[0],pu)){var n=arguments[0];if(0===this._geometries.length)return null;for(var l=0;l<this._geometries.length&&(this._geometries[l].apply(n),!n.isDone());l++);n.isGeometryChanged()&&this.geometryChanged()}else if(es(arguments[0],hu)){var i=arguments[0];i.filter(this);for(var r=0;r<this._geometries.length;r++)this._geometries[r].apply(i)}else if(es(arguments[0],Ls)){var o=arguments[0];o.filter(this);for(var a=0;a<this._geometries.length;a++)this._geometries[a].apply(o)}},e.prototype.getBoundary=function(){return this.checkNotGeometryCollection(this),Ss.shouldNeverReachHere(),null},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._geometries=new Array(this._geometries.length).fill(null);for(var n=0;n<this._geometries.length;n++)e._geometries[n]=this._geometries[n].clone();return e},e.prototype.getGeometryType=function(){return"GeometryCollection"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.isEmpty=function(){for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isEmpty())return!1;return!0},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x4f07bcb1f857d800},Object.defineProperties(e,n),e}(js),bu=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTILINESTRING},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?cu.FALSE:0},e.prototype.isClosed=function(){if(this.isEmpty())return!1;for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isClosed())return!1;return!0},e.prototype.getDimension=function(){return 1},e.prototype.reverse=function(){for(var t=this._geometries.length,e=new Array(t).fill(null),n=0;n<this._geometries.length;n++)e[t-1-n]=this._geometries[n].reverse();return this.getFactory().createMultiLineString(e)},e.prototype.getBoundary=function(){return new mu(this).getBoundary()},e.prototype.getGeometryType=function(){return"MultiLineString"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[au]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x7155d2ab4afa8000},Object.defineProperties(e,n),e}(fu),mu=function(){if(this._geom=null,this._geomFact=null,this._bnRule=null,this._endpointMap=null,1===arguments.length){var t=arguments[0],e=Ys.MOD2_BOUNDARY_RULE;this._geom=t,this._geomFact=t.getFactory(),this._bnRule=e}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this._geom=n,this._geomFact=n.getFactory(),this._bnRule=l}};mu.prototype.boundaryMultiLineString=function(t){if(this._geom.isEmpty())return this.getEmptyMultiPoint();var e=this.computeBoundaryCoordinates(t);return 1===e.length?this._geomFact.createPoint(e[0]):this._geomFact.createMultiPointFromCoords(e)},mu.prototype.getBoundary=function(){return this._geom instanceof vu?this.boundaryLineString(this._geom):this._geom instanceof bu?this.boundaryMultiLineString(this._geom):this._geom.getBoundary()},mu.prototype.boundaryLineString=function(t){return this._geom.isEmpty()?this.getEmptyMultiPoint():t.isClosed()?this._bnRule.isInBoundary(2)?t.getStartPoint():this._geomFact.createMultiPoint():this._geomFact.createMultiPoint([t.getStartPoint(),t.getEndPoint()])},mu.prototype.getEmptyMultiPoint=function(){return this._geomFact.createMultiPoint()},mu.prototype.computeBoundaryCoordinates=function(t){var e=new Xs;this._endpointMap=new xi;for(var n=0;n<t.getNumGeometries();n++){var l=t.getGeometryN(n);0!==l.getNumPoints()&&(this.addEndpoint(l.getCoordinateN(0)),this.addEndpoint(l.getCoordinateN(l.getNumPoints()-1)))}for(var i=this._endpointMap.entrySet().iterator();i.hasNext();){var r=i.next(),o=r.getValue().count;this._bnRule.isInBoundary(o)&&e.add(r.getKey())}return Qs.toCoordinateArray(e)},mu.prototype.addEndpoint=function(t){var e=this._endpointMap.get(t);null===e&&(e=new gu,this._endpointMap.put(t,e)),e.count++},mu.prototype.interfaces_=function(){return[]},mu.prototype.getClass=function(){return mu},mu.getBoundary=function(){if(1===arguments.length){var t=arguments[0];return new mu(t).getBoundary()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return new mu(e,n).getBoundary()}};var gu=function(){this.count=null};gu.prototype.interfaces_=function(){return[]},gu.prototype.getClass=function(){return gu};var _u=function(){},yu={NEWLINE:{configurable:!0},SIMPLE_ORDINATE_FORMAT:{configurable:!0}};_u.prototype.interfaces_=function(){return[]},_u.prototype.getClass=function(){return _u},_u.chars=function(t,e){for(var n=new Array(e).fill(null),l=0;l<e;l++)n[l]=t;return String(n)},_u.getStackTrace=function(){if(1===arguments.length){var t=arguments[0],e=new function(){},n=new function(){}(e);return t.printStackTrace(n),e.toString()}if(2===arguments.length){for(var l=arguments[0],i=arguments[1],r="",o=new function(){}(new function(){}(_u.getStackTrace(l))),a=0;a<i;a++)try{r+=o.readLine()+_u.NEWLINE}catch(t){if(!(t instanceof Mi))throw t;Ss.shouldNeverReachHere()}return r}},_u.split=function(t,e){for(var n=e.length,l=new Xs,i=""+t,r=i.indexOf(e);r>=0;){var o=i.substring(0,r);l.add(o),r=(i=i.substring(r+n)).indexOf(e)}i.length>0&&l.add(i);for(var a=new Array(l.size()).fill(null),s=0;s<a.length;s++)a[s]=l.get(s);return a},_u.toString=function(){if(1===arguments.length){var t=arguments[0];return _u.SIMPLE_ORDINATE_FORMAT.format(t)}},_u.spaces=function(t){return _u.chars(" ",t)},yu.NEWLINE.get=function(){return bs.getProperty("line.separator")},yu.SIMPLE_ORDINATE_FORMAT.get=function(){return new function(){}("0.#")},Object.defineProperties(_u,yu);var Au=function(){};Au.prototype.interfaces_=function(){return[]},Au.prototype.getClass=function(){return Au},Au.copyCoord=function(t,e,n,l){for(var i=Math.min(t.getDimension(),n.getDimension()),r=0;r<i;r++)n.setOrdinate(l,r,t.getOrdinate(e,r))},Au.isRing=function(t){var e=t.size();return 0===e||!(e<=3)&&t.getOrdinate(0,ds.X)===t.getOrdinate(e-1,ds.X)&&t.getOrdinate(0,ds.Y)===t.getOrdinate(e-1,ds.Y)},Au.isEqual=function(t,e){var n=t.size();if(n!==e.size())return!1;for(var l=Math.min(t.getDimension(),e.getDimension()),i=0;i<n;i++)for(var r=0;r<l;r++){var o=t.getOrdinate(i,r),a=e.getOrdinate(i,r);if(!(t.getOrdinate(i,r)===e.getOrdinate(i,r)||Ha.isNaN(o)&&Ha.isNaN(a)))return!1}return!0},Au.extend=function(t,e,n){var l=t.create(n,e.getDimension()),i=e.size();if(Au.copy(e,0,l,0,i),i>0)for(var r=i;r<n;r++)Au.copy(e,i-1,l,r,1);return l},Au.reverse=function(t){for(var e=t.size()-1,n=Math.trunc(e/2),l=0;l<=n;l++)Au.swap(t,l,e-l)},Au.swap=function(t,e,n){if(e===n)return null;for(var l=0;l<t.getDimension();l++){var i=t.getOrdinate(e,l);t.setOrdinate(e,l,t.getOrdinate(n,l)),t.setOrdinate(n,l,i)}},Au.copy=function(t,e,n,l,i){for(var r=0;r<i;r++)Au.copyCoord(t,e+r,n,l+r)},Au.toString=function(){if(1===arguments.length){var t=arguments[0],e=t.size();if(0===e)return"()";var n=t.getDimension(),l=new is;l.append("(");for(var i=0;i<e;i++){i>0&&l.append(" ");for(var r=0;r<n;r++)r>0&&l.append(","),l.append(_u.toString(t.getOrdinate(i,r)))}return l.append(")"),l.toString()}},Au.ensureValidRing=function(t,e){var n=e.size();return 0===n?e:n<=3?Au.createClosedRing(t,e,4):e.getOrdinate(0,ds.X)===e.getOrdinate(n-1,ds.X)&&e.getOrdinate(0,ds.Y)===e.getOrdinate(n-1,ds.Y)?e:Au.createClosedRing(t,e,n+1)},Au.createClosedRing=function(t,e,n){var l=t.create(n,e.getDimension()),i=e.size();Au.copy(e,0,l,0,i);for(var r=i;r<n;r++)Au.copy(e,0,l,r,1);return l};var vu=function(t){function e(e,n){t.call(this,n),this._points=null,this.init(e)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this.isEmpty()?new gs:this._points.expandEnvelope(new gs)},e.prototype.isRing=function(){return this.isClosed()&&this.isSimple()},e.prototype.getSortIndex=function(){return t.SORTINDEX_LINESTRING},e.prototype.getCoordinates=function(){return this._points.toCoordinateArray()},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e;if(this._points.size()!==l._points.size())return!1;for(var i=0;i<this._points.size();i++)if(!this.equal(this._points.getCoordinate(i),l._points.getCoordinate(i),n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<Math.trunc(this._points.size()/2);t++){var e=this._points.size()-1-t;if(!this._points.getCoordinate(t).equals(this._points.getCoordinate(e)))return this._points.getCoordinate(t).compareTo(this._points.getCoordinate(e))>0&&Au.reverse(this._points),null}},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._points.getCoordinate(0)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?cu.FALSE:0},e.prototype.isClosed=function(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},e.prototype.getEndPoint=function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},e.prototype.getDimension=function(){return 1},e.prototype.getLength=function(){return Es.computeLength(this._points)},e.prototype.getNumPoints=function(){return this._points.size()},e.prototype.reverse=function(){var t=this._points.copy();return Au.reverse(t),this.getFactory().createLineString(t)},e.prototype.compareToSameClass=function(){if(1===arguments.length){for(var t=arguments[0],e=0,n=0;e<this._points.size()&&n<t._points.size();){var l=this._points.getCoordinate(e).compareTo(t._points.getCoordinate(n));if(0!==l)return l;e++,n++}return e<this._points.size()?1:n<t._points.size()?-1:0}if(2===arguments.length){var i=arguments[0];return arguments[1].compare(this._points,i._points)}},e.prototype.apply=function(){if(es(arguments[0],Ns))for(var t=arguments[0],e=0;e<this._points.size();e++)t.filter(this._points.getCoordinate(e));else if(es(arguments[0],pu)){var n=arguments[0];if(0===this._points.size())return null;for(var l=0;l<this._points.size()&&(n.filter(this._points,l),!n.isDone());l++);n.isGeometryChanged()&&this.geometryChanged()}else(es(arguments[0],hu)||es(arguments[0],Ls))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return new mu(this).getBoundary()},e.prototype.isEquivalentClass=function(t){return t instanceof e},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._points=this._points.clone(),e},e.prototype.getCoordinateN=function(t){return this._points.getCoordinate(t)},e.prototype.getGeometryType=function(){return"LineString"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._points},e.prototype.isEmpty=function(){return 0===this._points.size()},e.prototype.init=function(t){if(null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),1===t.size())throw new Ga("Invalid number of points in LineString (found "+t.size()+" - must be 0 or >= 2)");this._points=t},e.prototype.isCoordinate=function(t){for(var e=0;e<this._points.size();e++)if(this._points.getCoordinate(e).equals(t))return!0;return!1},e.prototype.getStartPoint=function(){return this.isEmpty()?null:this.getPointN(0)},e.prototype.getPointN=function(t){return this.getFactory().createPoint(this._points.getCoordinate(t))},e.prototype.interfaces_=function(){return[au]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x2b2b51ba435c8e00},Object.defineProperties(e,n),e}(js),Cu=function(){};Cu.prototype.interfaces_=function(){return[]},Cu.prototype.getClass=function(){return Cu};var wu=function(t){function e(e,n){t.call(this,n),this._coordinates=e||null,this.init(this._coordinates)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){if(this.isEmpty())return new gs;var t=new gs;return t.expandToInclude(this._coordinates.getX(0),this._coordinates.getY(0)),t},e.prototype.getSortIndex=function(){return t.SORTINDEX_POINT},e.prototype.getCoordinates=function(){return this.isEmpty()?[]:[this.getCoordinate()]},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&(!(!this.isEmpty()||!e.isEmpty())||this.isEmpty()===e.isEmpty()&&this.equal(e.getCoordinate(),this.getCoordinate(),n))}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){},e.prototype.getCoordinate=function(){return 0!==this._coordinates.size()?this._coordinates.getCoordinate(0):null},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getNumPoints=function(){return this.isEmpty()?0:1},e.prototype.reverse=function(){return this.copy()},e.prototype.getX=function(){if(null===this.getCoordinate())throw new Error("getX called on empty Point");return this.getCoordinate().x},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0];return this.getCoordinate().compareTo(t.getCoordinate())}if(2===arguments.length){var e=arguments[0];return arguments[1].compare(this._coordinates,e._coordinates)}},e.prototype.apply=function(){if(es(arguments[0],Ns)){var t=arguments[0];if(this.isEmpty())return null;t.filter(this.getCoordinate())}else if(es(arguments[0],pu)){var e=arguments[0];if(this.isEmpty())return null;e.filter(this._coordinates,0),e.isGeometryChanged()&&this.geometryChanged()}else(es(arguments[0],hu)||es(arguments[0],Ls))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._coordinates=this._coordinates.clone(),e},e.prototype.getGeometryType=function(){return"Point"},e.prototype.copy=function(){return new e(this._coordinates.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._coordinates},e.prototype.getY=function(){if(null===this.getCoordinate())throw new Error("getY called on empty Point");return this.getCoordinate().y},e.prototype.isEmpty=function(){return 0===this._coordinates.size()},e.prototype.init=function(t){null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),Ss.isTrue(t.size()<=1),this._coordinates=t},e.prototype.isSimple=function(){return!0},e.prototype.interfaces_=function(){return[Cu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x44077bad161cbc00},Object.defineProperties(e,n),e}(js),Pu=function(){};Pu.prototype.interfaces_=function(){return[]},Pu.prototype.getClass=function(){return Pu};var xu=function(t){function e(e,n,l){if(t.call(this,l),this._shell=null,this._holes=null,null===e&&(e=this.getFactory().createLinearRing()),null===n&&(n=[]),t.hasNullElements(n))throw new Ga("holes must not contain null elements");if(e.isEmpty()&&t.hasNonEmptyElements(n))throw new Ga("shell is empty but holes are not");this._shell=e,this._holes=n}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this._shell.getEnvelopeInternal()},e.prototype.getSortIndex=function(){return t.SORTINDEX_POLYGON},e.prototype.getCoordinates=function(){if(this.isEmpty())return[];for(var t=new Array(this.getNumPoints()).fill(null),e=-1,n=this._shell.getCoordinates(),l=0;l<n.length;l++)t[++e]=n[l];for(var i=0;i<this._holes.length;i++)for(var r=this._holes[i].getCoordinates(),o=0;o<r.length;o++)t[++e]=r[o];return t},e.prototype.getArea=function(){var t=0;t+=Math.abs(Es.signedArea(this._shell.getCoordinateSequence()));for(var e=0;e<this._holes.length;e++)t-=Math.abs(Es.signedArea(this._holes[e].getCoordinateSequence()));return t},e.prototype.isRectangle=function(){if(0!==this.getNumInteriorRing())return!1;if(null===this._shell)return!1;if(5!==this._shell.getNumPoints())return!1;for(var t=this._shell.getCoordinateSequence(),e=this.getEnvelopeInternal(),n=0;n<5;n++){var l=t.getX(n);if(l!==e.getMinX()&&l!==e.getMaxX())return!1;var i=t.getY(n);if(i!==e.getMinY()&&i!==e.getMaxY())return!1}for(var r=t.getX(0),o=t.getY(0),a=1;a<=4;a++){var s=t.getX(a),u=t.getY(a);if(s!==r==(u!==o))return!1;r=s,o=u}return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];if(!this.isEquivalentClass(e))return!1;var l=e,i=this._shell,r=l._shell;if(!i.equalsExact(r,n))return!1;if(this._holes.length!==l._holes.length)return!1;for(var o=0;o<this._holes.length;o++)if(!this._holes[o].equalsExact(l._holes[o],n))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){if(0===arguments.length){this.normalize(this._shell,!0);for(var t=0;t<this._holes.length;t++)this.normalize(this._holes[t],!1);uu.sort(this._holes)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(e.isEmpty())return null;var l=new Array(e.getCoordinates().length-1).fill(null);bs.arraycopy(e.getCoordinates(),0,l,0,l.length);var i=Qs.minCoordinate(e.getCoordinates());Qs.scroll(l,i),bs.arraycopy(l,0,e.getCoordinates(),0,l.length),e.getCoordinates()[l.length]=l[0],Es.isCCW(e.getCoordinates())===n&&Qs.reverse(e.getCoordinates())}},e.prototype.getCoordinate=function(){return this._shell.getCoordinate()},e.prototype.getNumInteriorRing=function(){return this._holes.length},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.getLength=function(){var t=0;t+=this._shell.getLength();for(var e=0;e<this._holes.length;e++)t+=this._holes[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=this._shell.getNumPoints(),e=0;e<this._holes.length;e++)t+=this._holes[e].getNumPoints();return t},e.prototype.reverse=function(){var t=this.copy();t._shell=this._shell.copy().reverse(),t._holes=new Array(this._holes.length).fill(null);for(var e=0;e<this._holes.length;e++)t._holes[e]=this._holes[e].copy().reverse();return t},e.prototype.convexHull=function(){return this.getExteriorRing().convexHull()},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=this._shell,n=t._shell;return e.compareToSameClass(n)}if(2===arguments.length){var l=arguments[0],i=arguments[1],r=l,o=this._shell,a=r._shell,s=o.compareToSameClass(a,i);if(0!==s)return s;for(var u=this.getNumInteriorRing(),c=r.getNumInteriorRing(),d=0;d<u&&d<c;){var h=this.getInteriorRingN(d),p=r.getInteriorRingN(d),f=h.compareToSameClass(p,i);if(0!==f)return f;d++}return d<u?1:d<c?-1:0}},e.prototype.apply=function(t){if(es(t,Ns)){this._shell.apply(t);for(var e=0;e<this._holes.length;e++)this._holes[e].apply(t)}else if(es(t,pu)){if(this._shell.apply(t),!t.isDone())for(var n=0;n<this._holes.length&&(this._holes[n].apply(t),!t.isDone());n++);t.isGeometryChanged()&&this.geometryChanged()}else if(es(t,hu))t.filter(this);else if(es(t,Ls)){t.filter(this),this._shell.apply(t);for(var l=0;l<this._holes.length;l++)this._holes[l].apply(t)}},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();var t=new Array(this._holes.length+1).fill(null);t[0]=this._shell;for(var e=0;e<this._holes.length;e++)t[e+1]=this._holes[e];return t.length<=1?this.getFactory().createLinearRing(t[0].getCoordinateSequence()):this.getFactory().createMultiLineString(t)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._shell=this._shell.clone(),e._holes=new Array(this._holes.length).fill(null);for(var n=0;n<this._holes.length;n++)e._holes[n]=this._holes[n].clone();return e},e.prototype.getGeometryType=function(){return"Polygon"},e.prototype.copy=function(){for(var t=this._shell.copy(),n=new Array(this._holes.length).fill(null),l=0;l<n.length;l++)n[l]=this._holes[l].copy();return new e(t,n,this._factory)},e.prototype.getExteriorRing=function(){return this._shell},e.prototype.isEmpty=function(){return this._shell.isEmpty()},e.prototype.getInteriorRingN=function(t){return this._holes[t]},e.prototype.interfaces_=function(){return[Pu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x307ffefd8dc97200},Object.defineProperties(e,n),e}(js),Su=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTIPOINT},e.prototype.isValid=function(){return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getCoordinate=function(){if(1===arguments.length){var e=arguments[0];return this._geometries[e].getCoordinate()}return t.prototype.getCoordinate.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.getGeometryType=function(){return"MultiPoint"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Cu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x6fb1ed4162e0fc00},Object.defineProperties(e,n),e}(fu),ku=function(t){function e(e,n){e instanceof Xa&&n instanceof Gu&&(e=n.getCoordinateSequenceFactory().create(e)),t.call(this,e,n),this.validateConstruction()}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={MINIMUM_VALID_SIZE:{configurable:!0},serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_LINEARRING},e.prototype.getBoundaryDimension=function(){return cu.FALSE},e.prototype.isClosed=function(){return!!this.isEmpty()||t.prototype.isClosed.call(this)},e.prototype.reverse=function(){var t=this._points.copy();return Au.reverse(t),this.getFactory().createLinearRing(t)},e.prototype.validateConstruction=function(){if(!this.isEmpty()&&!t.prototype.isClosed.call(this))throw new Ga("Points of LinearRing do not form a closed linestring");if(this.getCoordinateSequence().size()>=1&&this.getCoordinateSequence().size()<e.MINIMUM_VALID_SIZE)throw new Ga("Invalid number of points in LinearRing (found "+this.getCoordinateSequence().size()+" - must be 0 or >= 4)")},e.prototype.getGeometryType=function(){return"LinearRing"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.MINIMUM_VALID_SIZE.get=function(){return 4},n.serialVersionUID.get=function(){return-0x3b229e262367a600},Object.defineProperties(e,n),e}(vu),Mu=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return js.SORTINDEX_MULTIPOLYGON},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,n)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.reverse=function(){for(var t=new Array(this._geometries.length).fill(null),e=0;e<this._geometries.length;e++)t[e]=this._geometries[e].reverse();return this.getFactory().createMultiPolygon(t)},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();for(var t=new Xs,e=0;e<this._geometries.length;e++)for(var n=this._geometries[e].getBoundary(),l=0;l<n.getNumGeometries();l++)t.add(n.getGeometryN(l));var i=new Array(t.size()).fill(null);return this.getFactory().createMultiLineString(t.toArray(i))},e.prototype.getGeometryType=function(){return"MultiPolygon"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),n=0;n<t.length;n++)t[n]=this._geometries[n].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Pu]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x7a5aa1369171980},Object.defineProperties(e,n),e}(fu),Ou=function(t){this._factory=t||null,this._isUserDataCopied=!1},Du={NoOpGeometryOperation:{configurable:!0},CoordinateOperation:{configurable:!0},CoordinateSequenceOperation:{configurable:!0}};Ou.prototype.setCopyUserData=function(t){this._isUserDataCopied=t},Ou.prototype.edit=function(t,e){if(null===t)return null;var n=this.editInternal(t,e);return this._isUserDataCopied&&n.setUserData(t.getUserData()),n},Ou.prototype.editInternal=function(t,e){return null===this._factory&&(this._factory=t.getFactory()),t instanceof fu?this.editGeometryCollection(t,e):t instanceof xu?this.editPolygon(t,e):t instanceof wu||t instanceof vu?e.edit(t,this._factory):(Ss.shouldNeverReachHere("Unsupported Geometry class: "+t.getClass().getName()),null)},Ou.prototype.editGeometryCollection=function(t,e){for(var n=e.edit(t,this._factory),l=new Xs,i=0;i<n.getNumGeometries();i++){var r=this.edit(n.getGeometryN(i),e);null===r||r.isEmpty()||l.add(r)}return n.getClass()===Su?this._factory.createMultiPoint(l.toArray([])):n.getClass()===bu?this._factory.createMultiLineString(l.toArray([])):n.getClass()===Mu?this._factory.createMultiPolygon(l.toArray([])):this._factory.createGeometryCollection(l.toArray([]))},Ou.prototype.editPolygon=function(t,e){var n=e.edit(t,this._factory);if(null===n&&(n=this._factory.createPolygon(null)),n.isEmpty())return n;var l=this.edit(n.getExteriorRing(),e);if(null===l||l.isEmpty())return this._factory.createPolygon();for(var i=new Xs,r=0;r<n.getNumInteriorRing();r++){var o=this.edit(n.getInteriorRingN(r),e);null===o||o.isEmpty()||i.add(o)}return this._factory.createPolygon(l,i.toArray([]))},Ou.prototype.interfaces_=function(){return[]},Ou.prototype.getClass=function(){return Ou},Ou.GeometryEditorOperation=function(){},Du.NoOpGeometryOperation.get=function(){return Tu},Du.CoordinateOperation.get=function(){return Eu},Du.CoordinateSequenceOperation.get=function(){return Iu},Object.defineProperties(Ou,Du);var Tu=function(){};Tu.prototype.edit=function(t,e){return t},Tu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Tu.prototype.getClass=function(){return Tu};var Eu=function(){};Eu.prototype.edit=function(t,e){var n=this.editCoordinates(t.getCoordinates(),t);return null===n?t:t instanceof ku?e.createLinearRing(n):t instanceof vu?e.createLineString(n):t instanceof wu?n.length>0?e.createPoint(n[0]):e.createPoint():t},Eu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Eu.prototype.getClass=function(){return Eu};var Iu=function(){};Iu.prototype.edit=function(t,e){return t instanceof ku?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof vu?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof wu?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t},Iu.prototype.interfaces_=function(){return[Ou.GeometryEditorOperation]},Iu.prototype.getClass=function(){return Iu};var Lu=function(){if(this._dimension=3,this._coordinates=null,1===arguments.length){if(arguments[0]instanceof Array)this._coordinates=arguments[0],this._dimension=3;else if(Number.isInteger(arguments[0])){var t=arguments[0];this._coordinates=new Array(t).fill(null);for(var e=0;e<t;e++)this._coordinates[e]=new Xa}else if(es(arguments[0],ds)){var n=arguments[0];if(null===n)return this._coordinates=new Array(0).fill(null),null;this._dimension=n.getDimension(),this._coordinates=new Array(n.size()).fill(null);for(var l=0;l<this._coordinates.length;l++)this._coordinates[l]=n.getCoordinateCopy(l)}}else if(2===arguments.length)if(arguments[0]instanceof Array&&Number.isInteger(arguments[1])){var i=arguments[0],r=arguments[1];this._coordinates=i,this._dimension=r,null===i&&(this._coordinates=new Array(0).fill(null))}else if(Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var o=arguments[0],a=arguments[1];this._coordinates=new Array(o).fill(null),this._dimension=a;for(var s=0;s<o;s++)this._coordinates[s]=new Xa}},ju={serialVersionUID:{configurable:!0}};Lu.prototype.setOrdinate=function(t,e,n){switch(e){case ds.X:this._coordinates[t].x=n;break;case ds.Y:this._coordinates[t].y=n;break;case ds.Z:this._coordinates[t].z=n;break;default:throw new Ga("invalid ordinateIndex")}},Lu.prototype.size=function(){return this._coordinates.length},Lu.prototype.getOrdinate=function(t,e){switch(e){case ds.X:return this._coordinates[t].x;case ds.Y:return this._coordinates[t].y;case ds.Z:return this._coordinates[t].z}return Ha.NaN},Lu.prototype.getCoordinate=function(){if(1===arguments.length){var t=arguments[0];return this._coordinates[t]}if(2===arguments.length){var e=arguments[0],n=arguments[1];n.x=this._coordinates[e].x,n.y=this._coordinates[e].y,n.z=this._coordinates[e].z}},Lu.prototype.getCoordinateCopy=function(t){return new Xa(this._coordinates[t])},Lu.prototype.getDimension=function(){return this._dimension},Lu.prototype.getX=function(t){return this._coordinates[t].x},Lu.prototype.clone=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].clone();return new Lu(t,this._dimension)},Lu.prototype.expandEnvelope=function(t){for(var e=0;e<this._coordinates.length;e++)t.expandToInclude(this._coordinates[e]);return t},Lu.prototype.copy=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].copy();return new Lu(t,this._dimension)},Lu.prototype.toString=function(){if(this._coordinates.length>0){var t=new is(17*this._coordinates.length);t.append("("),t.append(this._coordinates[0]);for(var e=1;e<this._coordinates.length;e++)t.append(", "),t.append(this._coordinates[e]);return t.append(")"),t.toString()}return"()"},Lu.prototype.getY=function(t){return this._coordinates[t].y},Lu.prototype.toCoordinateArray=function(){return this._coordinates},Lu.prototype.interfaces_=function(){return[ds,mi]},Lu.prototype.getClass=function(){return Lu},ju.serialVersionUID.get=function(){return-0xcb44a778db18e00},Object.defineProperties(Lu,ju);var Ru=function(){},Fu={serialVersionUID:{configurable:!0},instanceObject:{configurable:!0}};Ru.prototype.readResolve=function(){return Ru.instance()},Ru.prototype.create=function(){if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Lu(t)}if(es(arguments[0],ds)){var e=arguments[0];return new Lu(e)}}else if(2===arguments.length){var n=arguments[0],l=arguments[1];return l>3&&(l=3),l<2?new Lu(n):new Lu(n,l)}},Ru.prototype.interfaces_=function(){return[Qa,mi]},Ru.prototype.getClass=function(){return Ru},Ru.instance=function(){return Ru.instanceObject},Fu.serialVersionUID.get=function(){return-0x38e49fa6cf6f2e00},Fu.instanceObject.get=function(){return new Ru},Object.defineProperties(Ru,Fu);var Nu=function(t){function e(){t.call(this),this.map_=new Map}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(t){return this.map_.get(t)||null},e.prototype.put=function(t,e){return this.map_.set(t,e),e},e.prototype.values=function(){for(var t=new Xs,e=this.map_.values(),n=e.next();!n.done;)t.add(n.value),n=e.next();return t},e.prototype.entrySet=function(){var t=new iu;return this.map_.entries().forEach((function(e){return t.add(e)})),t},e.prototype.size=function(){return this.map_.size()},e}(nu),Yu=function t(){if(this._modelType=null,this._scale=null,0===arguments.length)this._modelType=t.FLOATING;else if(1===arguments.length)if(arguments[0]instanceof Bu){var e=arguments[0];this._modelType=e,e===t.FIXED&&this.setScale(1)}else if("number"==typeof arguments[0]){var n=arguments[0];this._modelType=t.FIXED,this.setScale(n)}else if(arguments[0]instanceof t){var l=arguments[0];this._modelType=l._modelType,this._scale=l._scale}},Uu={serialVersionUID:{configurable:!0},maximumPreciseValue:{configurable:!0}};Yu.prototype.equals=function(t){return t instanceof Yu&&this._modelType===t._modelType&&this._scale===t._scale},Yu.prototype.compareTo=function(t){var e=t,n=this.getMaximumSignificantDigits(),l=e.getMaximumSignificantDigits();return new rs(n).compareTo(new rs(l))},Yu.prototype.getScale=function(){return this._scale},Yu.prototype.isFloating=function(){return this._modelType===Yu.FLOATING||this._modelType===Yu.FLOATING_SINGLE},Yu.prototype.getType=function(){return this._modelType},Yu.prototype.toString=function(){var t="UNKNOWN";return this._modelType===Yu.FLOATING?t="Floating":this._modelType===Yu.FLOATING_SINGLE?t="Floating-Single":this._modelType===Yu.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t},Yu.prototype.makePrecise=function(){if("number"==typeof arguments[0]){var t=arguments[0];return Ha.isNaN(t)||this._modelType===Yu.FLOATING_SINGLE?t:this._modelType===Yu.FIXED?Math.round(t*this._scale)/this._scale:t}if(arguments[0]instanceof Xa){var e=arguments[0];if(this._modelType===Yu.FLOATING)return null;e.x=this.makePrecise(e.x),e.y=this.makePrecise(e.y)}},Yu.prototype.getMaximumSignificantDigits=function(){var t=16;return this._modelType===Yu.FLOATING?t=16:this._modelType===Yu.FLOATING_SINGLE?t=6:this._modelType===Yu.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t},Yu.prototype.setScale=function(t){this._scale=Math.abs(t)},Yu.prototype.interfaces_=function(){return[mi,qa]},Yu.prototype.getClass=function(){return Yu},Yu.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e},Uu.serialVersionUID.get=function(){return 0x6bee6404e9a25c00},Uu.maximumPreciseValue.get=function(){return 9007199254740992},Object.defineProperties(Yu,Uu);var Bu=function t(e){this._name=e||null,t.nameToTypeMap.put(e,this)},zu={serialVersionUID:{configurable:!0},nameToTypeMap:{configurable:!0}};Bu.prototype.readResolve=function(){return Bu.nameToTypeMap.get(this._name)},Bu.prototype.toString=function(){return this._name},Bu.prototype.interfaces_=function(){return[mi]},Bu.prototype.getClass=function(){return Bu},zu.serialVersionUID.get=function(){return-552860263173159e4},zu.nameToTypeMap.get=function(){return new Nu},Object.defineProperties(Bu,zu),Yu.Type=Bu,Yu.FIXED=new Bu("FIXED"),Yu.FLOATING=new Bu("FLOATING"),Yu.FLOATING_SINGLE=new Bu("FLOATING SINGLE");var Gu=function t(){this._precisionModel=new Yu,this._SRID=0,this._coordinateSequenceFactory=t.getDefaultCoordinateSequenceFactory(),0===arguments.length||(1===arguments.length?es(arguments[0],Qa)?this._coordinateSequenceFactory=arguments[0]:arguments[0]instanceof Yu&&(this._precisionModel=arguments[0]):2===arguments.length?(this._precisionModel=arguments[0],this._SRID=arguments[1]):3===arguments.length&&(this._precisionModel=arguments[0],this._SRID=arguments[1],this._coordinateSequenceFactory=arguments[2]))},Hu={serialVersionUID:{configurable:!0}};Gu.prototype.toGeometry=function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new Xa(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new Xa(t.getMinX(),t.getMinY()),new Xa(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new Xa(t.getMinX(),t.getMinY()),new Xa(t.getMinX(),t.getMaxY()),new Xa(t.getMaxX(),t.getMaxY()),new Xa(t.getMaxX(),t.getMinY()),new Xa(t.getMinX(),t.getMinY())]),null)},Gu.prototype.createLineString=function(t){return t?t instanceof Array?new vu(this.getCoordinateSequenceFactory().create(t),this):es(t,ds)?new vu(t,this):void 0:new vu(this.getCoordinateSequenceFactory().create([]),this)},Gu.prototype.createMultiLineString=function(){if(0===arguments.length)return new bu(null,this);if(1===arguments.length){var t=arguments[0];return new bu(t,this)}},Gu.prototype.buildGeometry=function(t){for(var e=null,n=!1,l=!1,i=t.iterator();i.hasNext();){var r=i.next(),o=r.getClass();null===e&&(e=o),o!==e&&(n=!0),r.isGeometryCollectionOrDerived()&&(l=!0)}if(null===e)return this.createGeometryCollection();if(n||l)return this.createGeometryCollection(Gu.toGeometryArray(t));var a=t.iterator().next();if(t.size()>1){if(a instanceof xu)return this.createMultiPolygon(Gu.toPolygonArray(t));if(a instanceof vu)return this.createMultiLineString(Gu.toLineStringArray(t));if(a instanceof wu)return this.createMultiPoint(Gu.toPointArray(t));Ss.shouldNeverReachHere("Unhandled class: "+a.getClass().getName())}return a},Gu.prototype.createMultiPointFromCoords=function(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)},Gu.prototype.createPoint=function(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Xa){var t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(es(arguments[0],ds)){var e=arguments[0];return new wu(e,this)}}},Gu.prototype.getCoordinateSequenceFactory=function(){return this._coordinateSequenceFactory},Gu.prototype.createPolygon=function(){if(0===arguments.length)return new xu(null,null,this);if(1===arguments.length){if(es(arguments[0],ds)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}if(arguments[0]instanceof ku){var n=arguments[0];return this.createPolygon(n,null)}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];return new xu(l,i,this)}},Gu.prototype.getSRID=function(){return this._SRID},Gu.prototype.createGeometryCollection=function(){if(0===arguments.length)return new fu(null,this);if(1===arguments.length){var t=arguments[0];return new fu(t,this)}},Gu.prototype.createGeometry=function(t){return new Ou(this).edit(t,{edit:function(){if(2===arguments.length){var t=arguments[0];return this._coordinateSequenceFactory.create(t)}}})},Gu.prototype.getPrecisionModel=function(){return this._precisionModel},Gu.prototype.createLinearRing=function(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(es(arguments[0],ds)){var e=arguments[0];return new ku(e,this)}}},Gu.prototype.createMultiPolygon=function(){if(0===arguments.length)return new Mu(null,this);if(1===arguments.length){var t=arguments[0];return new Mu(t,this)}},Gu.prototype.createMultiPoint=function(){if(0===arguments.length)return new Su(null,this);if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Su(t,this)}if(arguments[0]instanceof Array){var e=arguments[0];return this.createMultiPoint(null!==e?this.getCoordinateSequenceFactory().create(e):null)}if(es(arguments[0],ds)){var n=arguments[0];if(null===n)return this.createMultiPoint(new Array(0).fill(null));for(var l=new Array(n.size()).fill(null),i=0;i<n.size();i++){var r=this.getCoordinateSequenceFactory().create(1,n.getDimension());Au.copy(n,i,r,0,1),l[i]=this.createPoint(r)}return this.createMultiPoint(l)}}},Gu.prototype.interfaces_=function(){return[mi]},Gu.prototype.getClass=function(){return Gu},Gu.toMultiPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toGeometryArray=function(t){if(null===t)return null;var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.getDefaultCoordinateSequenceFactory=function(){return Ru.instance()},Gu.toMultiLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toMultiPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toLinearRingArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.toPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},Gu.createPointFromInternalCoord=function(t,e){return e.getPrecisionModel().makePrecise(t),e.getFactory().createPoint(t)},Hu.serialVersionUID.get=function(){return-0x5ea75f2051eeb400},Object.defineProperties(Gu,Hu);var Vu=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],qu=function(t){this.geometryFactory=t||new Gu};qu.prototype.read=function(t){var e,n=(e="string"==typeof t?JSON.parse(t):t).type;if(!Wu[n])throw new Error("Unknown GeoJSON type: "+e.type);return-1!==Vu.indexOf(n)?Wu[n].apply(this,[e.coordinates]):Wu[n].apply(this,"GeometryCollection"===n?[e.geometries]:[e])},qu.prototype.write=function(t){var e=t.getGeometryType();if(!$u[e])throw new Error("Geometry is not supported");return $u[e].apply(this,[t])};var Wu={Feature:function(t){var e={};for(var n in t)e[n]=t[n];if(t.geometry){if(!Wu[t.geometry.type])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=Wu.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e={};if(t.features){e.features=[];for(var n=0;n<t.features.length;++n)e.features.push(this.read(t.features[n]))}return t.bbox&&(e.bbox=this.parse.bbox.apply(this,[t.bbox])),e},coordinates:function(t){for(var e=[],n=0;n<t.length;++n){var l=t[n];e.push(new Xa(l[0],l[1]))}return e},bbox:function(t){return this.geometryFactory.createLinearRing([new Xa(t[0],t[1]),new Xa(t[2],t[1]),new Xa(t[2],t[3]),new Xa(t[0],t[3]),new Xa(t[0],t[1])])},Point:function(t){var e=new Xa(t[0],t[1]);return this.geometryFactory.createPoint(e)},MultiPoint:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.Point.apply(this,[t[n]]));return this.geometryFactory.createMultiPoint(e)},LineString:function(t){var e=Wu.coordinates.apply(this,[t]);return this.geometryFactory.createLineString(e)},MultiLineString:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.LineString.apply(this,[t[n]]));return this.geometryFactory.createMultiLineString(e)},Polygon:function(t){for(var e=Wu.coordinates.apply(this,[t[0]]),n=this.geometryFactory.createLinearRing(e),l=[],i=1;i<t.length;++i){var r=Wu.coordinates.apply(this,[t[i]]),o=this.geometryFactory.createLinearRing(r);l.push(o)}return this.geometryFactory.createPolygon(n,l)},MultiPolygon:function(t){for(var e=[],n=0;n<t.length;++n)e.push(Wu.Polygon.apply(this,[t[n]]));return this.geometryFactory.createMultiPolygon(e)},GeometryCollection:function(t){for(var e=[],n=0;n<t.length;++n)e.push(this.read(t[n]));return this.geometryFactory.createGeometryCollection(e)}},$u={coordinate:function(t){return[t.x,t.y]},Point:function(t){return{type:"Point",coordinates:$u.coordinate.apply(this,[t.getCoordinate()])}},MultiPoint:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.Point.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiPoint",coordinates:e}},LineString:function(t){for(var e=[],n=t.getCoordinates(),l=0;l<n.length;++l)e.push($u.coordinate.apply(this,[n[l]]));return{type:"LineString",coordinates:e}},MultiLineString:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.LineString.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiLineString",coordinates:e}},Polygon:function(t){var e=[],n=$u.LineString.apply(this,[t._shell]);e.push(n.coordinates);for(var l=0;l<t._holes.length;++l){var i=$u.LineString.apply(this,[t._holes[l]]);e.push(i.coordinates)}return{type:"Polygon",coordinates:e}},MultiPolygon:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=$u.Polygon.apply(this,[t._geometries[n]]);e.push(l.coordinates)}return{type:"MultiPolygon",coordinates:e}},GeometryCollection:function(t){for(var e=[],n=0;n<t._geometries.length;++n){var l=t._geometries[n],i=l.getGeometryType();e.push($u[i].apply(this,[l]))}return{type:"GeometryCollection",geometries:e}}},Xu=function(t){this.geometryFactory=t||new Gu,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new qu(this.geometryFactory)};Xu.prototype.read=function(t){var e=this.parser.read(t);return this.precisionModel.getType()===Yu.FIXED&&this.reducePrecision(e),e},Xu.prototype.reducePrecision=function(t){var e,n;if(t.coordinate)this.precisionModel.makePrecise(t.coordinate);else if(t.points)for(e=0,n=t.points.length;e<n;e++)this.precisionModel.makePrecise(t.points[e]);else if(t.geometries)for(e=0,n=t.geometries.length;e<n;e++)this.reducePrecision(t.geometries[e])};var Ku=function(){this.parser=new qu(this.geometryFactory)};Ku.prototype.write=function(t){return this.parser.write(t)};var Ju=function(){},Qu={ON:{configurable:!0},LEFT:{configurable:!0},RIGHT:{configurable:!0}};Ju.prototype.interfaces_=function(){return[]},Ju.prototype.getClass=function(){return Ju},Ju.opposite=function(t){return t===Ju.LEFT?Ju.RIGHT:t===Ju.RIGHT?Ju.LEFT:t},Qu.ON.get=function(){return 0},Qu.LEFT.get=function(){return 1},Qu.RIGHT.get=function(){return 2},Object.defineProperties(Ju,Qu),(Oi.prototype=new Error).name="EmptyStackException",(Di.prototype=new $s).add=function(t){return this.array_.push(t),!0},Di.prototype.get=function(t){if(t<0||t>=this.size())throw new Error;return this.array_[t]},Di.prototype.push=function(t){return this.array_.push(t),t},Di.prototype.pop=function(t){if(0===this.array_.length)throw new Oi;return this.array_.pop()},Di.prototype.peek=function(){if(0===this.array_.length)throw new Oi;return this.array_[this.array_.length-1]},Di.prototype.empty=function(){return 0===this.array_.length},Di.prototype.isEmpty=function(){return this.empty()},Di.prototype.search=function(t){return this.array_.indexOf(t)},Di.prototype.size=function(){return this.array_.length},Di.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e<n;e++)t.push(this.array_[e]);return t};var Zu=function(){this._minIndex=-1,this._minCoord=null,this._minDe=null,this._orientedDe=null};Zu.prototype.getCoordinate=function(){return this._minCoord},Zu.prototype.getRightmostSide=function(t,e){var n=this.getRightmostSideOfSegment(t,e);return n<0&&(n=this.getRightmostSideOfSegment(t,e-1)),n<0&&(this._minCoord=null,this.checkForRightmostCoordinate(t)),n},Zu.prototype.findRightmostEdgeAtVertex=function(){var t=this._minDe.getEdge().getCoordinates();Ss.isTrue(this._minIndex>0&&this._minIndex<t.length,"rightmost point expected to be interior vertex of edge");var e=t[this._minIndex-1],n=t[this._minIndex+1],l=Es.computeOrientation(this._minCoord,n,e),i=!1;(e.y<this._minCoord.y&&n.y<this._minCoord.y&&l===Es.COUNTERCLOCKWISE||e.y>this._minCoord.y&&n.y>this._minCoord.y&&l===Es.CLOCKWISE)&&(i=!0),i&&(this._minIndex=this._minIndex-1)},Zu.prototype.getRightmostSideOfSegment=function(t,e){var n=t.getEdge().getCoordinates();if(e<0||e+1>=n.length)return-1;if(n[e].y===n[e+1].y)return-1;var l=Ju.LEFT;return n[e].y<n[e+1].y&&(l=Ju.RIGHT),l},Zu.prototype.getEdge=function(){return this._orientedDe},Zu.prototype.checkForRightmostCoordinate=function(t){for(var e=t.getEdge().getCoordinates(),n=0;n<e.length-1;n++)(null===this._minCoord||e[n].x>this._minCoord.x)&&(this._minDe=t,this._minIndex=n,this._minCoord=e[n])},Zu.prototype.findRightmostEdgeAtNode=function(){var t=this._minDe.getNode().getEdges();this._minDe=t.getRightmostEdge(),this._minDe.isForward()||(this._minDe=this._minDe.getSym(),this._minIndex=this._minDe.getEdge().getCoordinates().length-1)},Zu.prototype.findEdge=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();n.isForward()&&this.checkForRightmostCoordinate(n)}Ss.isTrue(0!==this._minIndex||this._minCoord.equals(this._minDe.getCoordinate()),"inconsistency in rightmost processing"),0===this._minIndex?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this._orientedDe=this._minDe,this.getRightmostSide(this._minDe,this._minIndex)===Ju.LEFT&&(this._orientedDe=this._minDe.getSym())},Zu.prototype.interfaces_=function(){return[]},Zu.prototype.getClass=function(){return Zu};var tc=function(t){function e(n,l){t.call(this,e.msgWithCoord(n,l)),this.pt=l?new Xa(l):null,this.name="TopologyException"}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getCoordinate=function(){return this.pt},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.msgWithCoord=function(t,e){return e?t:t+" [ "+e+" ]"},e}(Ps),ec=function(){this.array_=[]};ec.prototype.addLast=function(t){this.array_.push(t)},ec.prototype.removeFirst=function(){return this.array_.shift()},ec.prototype.isEmpty=function(){return 0===this.array_.length};var nc=function(){this._finder=null,this._dirEdgeList=new Xs,this._nodes=new Xs,this._rightMostCoord=null,this._env=null,this._finder=new Zu};nc.prototype.clearVisitedEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();)t.next().setVisited(!1)},nc.prototype.getRightmostCoordinate=function(){return this._rightMostCoord},nc.prototype.computeNodeDepth=function(t){for(var e=null,n=t.getEdges().iterator();n.hasNext();){var l=n.next();if(l.isVisited()||l.getSym().isVisited()){e=l;break}}if(null===e)throw new tc("unable to find edge to compute depths at "+t.getCoordinate());t.getEdges().computeDepths(e);for(var i=t.getEdges().iterator();i.hasNext();){var r=i.next();r.setVisited(!0),this.copySymDepths(r)}},nc.prototype.computeDepth=function(t){this.clearVisitedEdges();var e=this._finder.getEdge();e.setEdgeDepths(Ju.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)},nc.prototype.create=function(t){this.addReachable(t),this._finder.findEdge(this._dirEdgeList),this._rightMostCoord=this._finder.getCoordinate()},nc.prototype.findResultEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(Ju.RIGHT)>=1&&e.getDepth(Ju.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}},nc.prototype.computeDepths=function(t){var e=new iu,n=new ec,l=t.getNode();for(n.addLast(l),e.add(l),t.setVisited(!0);!n.isEmpty();){var i=n.removeFirst();e.add(i),this.computeNodeDepth(i);for(var r=i.getEdges().iterator();r.hasNext();){var o=r.next().getSym();if(!o.isVisited()){var a=o.getNode();e.contains(a)||(n.addLast(a),e.add(a))}}}},nc.prototype.compareTo=function(t){return this._rightMostCoord.x<t._rightMostCoord.x?-1:this._rightMostCoord.x>t._rightMostCoord.x?1:0},nc.prototype.getEnvelope=function(){if(null===this._env){for(var t=new gs,e=this._dirEdgeList.iterator();e.hasNext();)for(var n=e.next().getEdge().getCoordinates(),l=0;l<n.length-1;l++)t.expandToInclude(n[l]);this._env=t}return this._env},nc.prototype.addReachable=function(t){var e=new Di;for(e.add(t);!e.empty();){var n=e.pop();this.add(n,e)}},nc.prototype.copySymDepths=function(t){var e=t.getSym();e.setDepth(Ju.LEFT,t.getDepth(Ju.RIGHT)),e.setDepth(Ju.RIGHT,t.getDepth(Ju.LEFT))},nc.prototype.add=function(t,e){t.setVisited(!0),this._nodes.add(t);for(var n=t.getEdges().iterator();n.hasNext();){var l=n.next();this._dirEdgeList.add(l);var i=l.getSym().getNode();i.isVisited()||e.push(i)}},nc.prototype.getNodes=function(){return this._nodes},nc.prototype.getDirectedEdges=function(){return this._dirEdgeList},nc.prototype.interfaces_=function(){return[qa]},nc.prototype.getClass=function(){return nc};var lc=function t(){if(this.location=null,1===arguments.length){if(arguments[0]instanceof Array){var e=arguments[0];this.init(e.length)}else if(Number.isInteger(arguments[0])){var n=arguments[0];this.init(1),this.location[Ju.ON]=n}else if(arguments[0]instanceof t){var l=arguments[0];if(this.init(l.location.length),null!==l)for(var i=0;i<this.location.length;i++)this.location[i]=l.location[i]}}else if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];this.init(3),this.location[Ju.ON]=r,this.location[Ju.LEFT]=o,this.location[Ju.RIGHT]=a}};lc.prototype.setAllLocations=function(t){for(var e=0;e<this.location.length;e++)this.location[e]=t},lc.prototype.isNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]!==Za.NONE)return!1;return!0},lc.prototype.setAllLocationsIfNull=function(t){for(var e=0;e<this.location.length;e++)this.location[e]===Za.NONE&&(this.location[e]=t)},lc.prototype.isLine=function(){return 1===this.location.length},lc.prototype.merge=function(t){if(t.location.length>this.location.length){var e=new Array(3).fill(null);e[Ju.ON]=this.location[Ju.ON],e[Ju.LEFT]=Za.NONE,e[Ju.RIGHT]=Za.NONE,this.location=e}for(var n=0;n<this.location.length;n++)this.location[n]===Za.NONE&&n<t.location.length&&(this.location[n]=t.location[n])},lc.prototype.getLocations=function(){return this.location},lc.prototype.flip=function(){if(this.location.length<=1)return null;var t=this.location[Ju.LEFT];this.location[Ju.LEFT]=this.location[Ju.RIGHT],this.location[Ju.RIGHT]=t},lc.prototype.toString=function(){var t=new is;return this.location.length>1&&t.append(Za.toLocationSymbol(this.location[Ju.LEFT])),t.append(Za.toLocationSymbol(this.location[Ju.ON])),this.location.length>1&&t.append(Za.toLocationSymbol(this.location[Ju.RIGHT])),t.toString()},lc.prototype.setLocations=function(t,e,n){this.location[Ju.ON]=t,this.location[Ju.LEFT]=e,this.location[Ju.RIGHT]=n},lc.prototype.get=function(t){return t<this.location.length?this.location[t]:Za.NONE},lc.prototype.isArea=function(){return this.location.length>1},lc.prototype.isAnyNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]===Za.NONE)return!0;return!1},lc.prototype.setLocation=function(){if(1===arguments.length){var t=arguments[0];this.setLocation(Ju.ON,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.location[e]=n}},lc.prototype.init=function(t){this.location=new Array(t).fill(null),this.setAllLocations(Za.NONE)},lc.prototype.isEqualOnSide=function(t,e){return this.location[e]===t.location[e]},lc.prototype.allPositionsEqual=function(t){for(var e=0;e<this.location.length;e++)if(this.location[e]!==t)return!1;return!0},lc.prototype.interfaces_=function(){return[]},lc.prototype.getClass=function(){return lc};var ic=function t(){if(this.elt=new Array(2).fill(null),1===arguments.length){if(Number.isInteger(arguments[0])){var e=arguments[0];this.elt[0]=new lc(e),this.elt[1]=new lc(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.elt[0]=new lc(n.elt[0]),this.elt[1]=new lc(n.elt[1])}}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.elt[0]=new lc(Za.NONE),this.elt[1]=new lc(Za.NONE),this.elt[l].setLocation(i)}else if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];this.elt[0]=new lc(r,o,a),this.elt[1]=new lc(r,o,a)}else if(4===arguments.length){var s=arguments[0],u=arguments[1],c=arguments[2],d=arguments[3];this.elt[0]=new lc(Za.NONE,Za.NONE,Za.NONE),this.elt[1]=new lc(Za.NONE,Za.NONE,Za.NONE),this.elt[s].setLocations(u,c,d)}};ic.prototype.getGeometryCount=function(){var t=0;return this.elt[0].isNull()||t++,this.elt[1].isNull()||t++,t},ic.prototype.setAllLocations=function(t,e){this.elt[t].setAllLocations(e)},ic.prototype.isNull=function(t){return this.elt[t].isNull()},ic.prototype.setAllLocationsIfNull=function(){if(1===arguments.length){var t=arguments[0];this.setAllLocationsIfNull(0,t),this.setAllLocationsIfNull(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.elt[e].setAllLocationsIfNull(n)}},ic.prototype.isLine=function(t){return this.elt[t].isLine()},ic.prototype.merge=function(t){for(var e=0;e<2;e++)null===this.elt[e]&&null!==t.elt[e]?this.elt[e]=new lc(t.elt[e]):this.elt[e].merge(t.elt[e])},ic.prototype.flip=function(){this.elt[0].flip(),this.elt[1].flip()},ic.prototype.getLocation=function(){if(1===arguments.length){var t=arguments[0];return this.elt[t].get(Ju.ON)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return this.elt[e].get(n)}},ic.prototype.toString=function(){var t=new is;return null!==this.elt[0]&&(t.append("A:"),t.append(this.elt[0].toString())),null!==this.elt[1]&&(t.append(" B:"),t.append(this.elt[1].toString())),t.toString()},ic.prototype.isArea=function(){if(0===arguments.length)return this.elt[0].isArea()||this.elt[1].isArea();if(1===arguments.length){var t=arguments[0];return this.elt[t].isArea()}},ic.prototype.isAnyNull=function(t){return this.elt[t].isAnyNull()},ic.prototype.setLocation=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.elt[t].setLocation(Ju.ON,e)}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this.elt[n].setLocation(l,i)}},ic.prototype.isEqualOnSide=function(t,e){return this.elt[0].isEqualOnSide(t.elt[0],e)&&this.elt[1].isEqualOnSide(t.elt[1],e)},ic.prototype.allPositionsEqual=function(t,e){return this.elt[t].allPositionsEqual(e)},ic.prototype.toLine=function(t){this.elt[t].isArea()&&(this.elt[t]=new lc(this.elt[t].location[0]))},ic.prototype.interfaces_=function(){return[]},ic.prototype.getClass=function(){return ic},ic.toLineLabel=function(t){for(var e=new ic(Za.NONE),n=0;n<2;n++)e.setLocation(n,t.getLocation(n));return e};var rc=function(){this._startDe=null,this._maxNodeDegree=-1,this._edges=new Xs,this._pts=new Xs,this._label=new ic(Za.NONE),this._ring=null,this._isHole=null,this._shell=null,this._holes=new Xs,this._geometryFactory=null;var t=arguments[0],e=arguments[1];this._geometryFactory=e,this.computePoints(t),this.computeRing()};rc.prototype.computeRing=function(){if(null!==this._ring)return null;for(var t=new Array(this._pts.size()).fill(null),e=0;e<this._pts.size();e++)t[e]=this._pts.get(e);this._ring=this._geometryFactory.createLinearRing(t),this._isHole=Es.isCCW(this._ring.getCoordinates())},rc.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},rc.prototype.computePoints=function(t){this._startDe=t;var e=t,n=!0;do{if(null===e)throw new tc("Found null DirectedEdge");if(e.getEdgeRing()===this)throw new tc("Directed Edge visited twice during ring-building at "+e.getCoordinate());this._edges.add(e);var l=e.getLabel();Ss.isTrue(l.isArea()),this.mergeLabel(l),this.addPoints(e.getEdge(),e.isForward(),n),n=!1,this.setEdgeRing(e,this),e=this.getNext(e)}while(e!==this._startDe)},rc.prototype.getLinearRing=function(){return this._ring},rc.prototype.getCoordinate=function(t){return this._pts.get(t)},rc.prototype.computeMaxNodeDegree=function(){this._maxNodeDegree=0;var t=this._startDe;do{var e=t.getNode().getEdges().getOutgoingDegree(this);e>this._maxNodeDegree&&(this._maxNodeDegree=e),t=this.getNext(t)}while(t!==this._startDe);this._maxNodeDegree*=2},rc.prototype.addPoints=function(t,e,n){var l=t.getCoordinates();if(e){var i=1;n&&(i=0);for(var r=i;r<l.length;r++)this._pts.add(l[r])}else{var o=l.length-2;n&&(o=l.length-1);for(var a=o;a>=0;a--)this._pts.add(l[a])}},rc.prototype.isHole=function(){return this._isHole},rc.prototype.setInResult=function(){var t=this._startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this._startDe)},rc.prototype.containsPoint=function(t){var e=this.getLinearRing();if(!e.getEnvelopeInternal().contains(t))return!1;if(!Es.isPointInRing(t,e.getCoordinates()))return!1;for(var n=this._holes.iterator();n.hasNext();)if(n.next().containsPoint(t))return!1;return!0},rc.prototype.addHole=function(t){this._holes.add(t)},rc.prototype.isShell=function(){return null===this._shell},rc.prototype.getLabel=function(){return this._label},rc.prototype.getEdges=function(){return this._edges},rc.prototype.getMaxNodeDegree=function(){return this._maxNodeDegree<0&&this.computeMaxNodeDegree(),this._maxNodeDegree},rc.prototype.getShell=function(){return this._shell},rc.prototype.mergeLabel=function(){if(1===arguments.length){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=e.getLocation(n,Ju.RIGHT);if(l===Za.NONE)return null;if(this._label.getLocation(n)===Za.NONE)return this._label.setLocation(n,l),null}},rc.prototype.setShell=function(t){this._shell=t,null!==t&&t.addHole(this)},rc.prototype.toPolygon=function(t){for(var e=new Array(this._holes.size()).fill(null),n=0;n<this._holes.size();n++)e[n]=this._holes.get(n).getLinearRing();return t.createPolygon(this.getLinearRing(),e)},rc.prototype.interfaces_=function(){return[]},rc.prototype.getClass=function(){return rc};var oc=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.setEdgeRing=function(t,e){t.setMinEdgeRing(e)},e.prototype.getNext=function(t){return t.getNextMin()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(rc),ac=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.buildMinimalRings=function(){var t=new Xs,e=this._startDe;do{if(null===e.getMinEdgeRing()){var n=new oc(e,this._geometryFactory);t.add(n)}e=e.getNext()}while(e!==this._startDe);return t},e.prototype.setEdgeRing=function(t,e){t.setEdgeRing(e)},e.prototype.linkDirectedEdgesForMinimalEdgeRings=function(){var t=this._startDe;do{t.getNode().getEdges().linkMinimalDirectedEdges(this),t=t.getNext()}while(t!==this._startDe)},e.prototype.getNext=function(t){return t.getNext()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(rc),sc=function(){if(this._label=null,this._isInResult=!1,this._isCovered=!1,this._isCoveredSet=!1,this._isVisited=!1,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._label=t}};sc.prototype.setVisited=function(t){this._isVisited=t},sc.prototype.setInResult=function(t){this._isInResult=t},sc.prototype.isCovered=function(){return this._isCovered},sc.prototype.isCoveredSet=function(){return this._isCoveredSet},sc.prototype.setLabel=function(t){this._label=t},sc.prototype.getLabel=function(){return this._label},sc.prototype.setCovered=function(t){this._isCovered=t,this._isCoveredSet=!0},sc.prototype.updateIM=function(t){Ss.isTrue(this._label.getGeometryCount()>=2,"found partial label"),this.computeIM(t)},sc.prototype.isInResult=function(){return this._isInResult},sc.prototype.isVisited=function(){return this._isVisited},sc.prototype.interfaces_=function(){return[]},sc.prototype.getClass=function(){return sc};var uc=function(t){function e(){t.call(this),this._coord=null,this._edges=null;var e=arguments[0],n=arguments[1];this._coord=e,this._edges=n,this._label=new ic(0,Za.NONE)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isIncidentEdgeInResult=function(){for(var t=this.getEdges().getEdges().iterator();t.hasNext();)if(t.next().getEdge().isInResult())return!0;return!1},e.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},e.prototype.getCoordinate=function(){return this._coord},e.prototype.print=function(t){t.println("node "+this._coord+" lbl: "+this._label)},e.prototype.computeIM=function(t){},e.prototype.computeMergedLocation=function(t,e){var n=Za.NONE;if(n=this._label.getLocation(e),!t.isNull(e)){var l=t.getLocation(e);n!==Za.BOUNDARY&&(n=l)}return n},e.prototype.setLabel=function(){if(2!==arguments.length)return t.prototype.setLabel.apply(this,arguments);var e=arguments[0],n=arguments[1];null===this._label?this._label=new ic(e,n):this._label.setLocation(e,n)},e.prototype.getEdges=function(){return this._edges},e.prototype.mergeLabel=function(){if(arguments[0]instanceof e){var t=arguments[0];this.mergeLabel(t._label)}else if(arguments[0]instanceof ic)for(var n=arguments[0],l=0;l<2;l++){var i=this.computeMergedLocation(n,l);this._label.getLocation(l)===Za.NONE&&this._label.setLocation(l,i)}},e.prototype.add=function(t){this._edges.insert(t),t.setNode(this)},e.prototype.setLabelBoundary=function(t){if(null===this._label)return null;var e=Za.NONE;null!==this._label&&(e=this._label.getLocation(t));var n=null;switch(e){case Za.BOUNDARY:n=Za.INTERIOR;break;case Za.INTERIOR:default:n=Za.BOUNDARY}this._label.setLocation(t,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(sc),cc=function(){this.nodeMap=new xi,this.nodeFact=null;var t=arguments[0];this.nodeFact=t};cc.prototype.find=function(t){return this.nodeMap.get(t)},cc.prototype.addNode=function(){if(arguments[0]instanceof Xa){var t=arguments[0],e=this.nodeMap.get(t);return null===e&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}if(arguments[0]instanceof uc){var n=arguments[0],l=this.nodeMap.get(n.getCoordinate());return null===l?(this.nodeMap.put(n.getCoordinate(),n),n):(l.mergeLabel(n),l)}},cc.prototype.print=function(t){for(var e=this.iterator();e.hasNext();)e.next().print(t)},cc.prototype.iterator=function(){return this.nodeMap.values().iterator()},cc.prototype.values=function(){return this.nodeMap.values()},cc.prototype.getBoundaryNodes=function(t){for(var e=new Xs,n=this.iterator();n.hasNext();){var l=n.next();l.getLabel().getLocation(t)===Za.BOUNDARY&&e.add(l)}return e},cc.prototype.add=function(t){var e=t.getCoordinate();this.addNode(e).add(t)},cc.prototype.interfaces_=function(){return[]},cc.prototype.getClass=function(){return cc};var dc=function(){},hc={NE:{configurable:!0},NW:{configurable:!0},SW:{configurable:!0},SE:{configurable:!0}};dc.prototype.interfaces_=function(){return[]},dc.prototype.getClass=function(){return dc},dc.isNorthern=function(t){return t===dc.NE||t===dc.NW},dc.isOpposite=function(t,e){return t!==e&&2==(t-e+4)%4},dc.commonHalfPlane=function(t,e){if(t===e)return t;if(2==(t-e+4)%4)return-1;var n=t<e?t:e;return 0===n&&3===(t>e?t:e)?3:n},dc.isInHalfPlane=function(t,e){return e===dc.SE?t===dc.SE||t===dc.SW:t===e||t===e+1},dc.quadrant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new Ga("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?dc.NE:dc.SE:e>=0?dc.NW:dc.SW}if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var n=arguments[0],l=arguments[1];if(l.x===n.x&&l.y===n.y)throw new Ga("Cannot compute the quadrant for two identical points "+n);return l.x>=n.x?l.y>=n.y?dc.NE:dc.SE:l.y>=n.y?dc.NW:dc.SW}},hc.NE.get=function(){return 0},hc.NW.get=function(){return 1},hc.SW.get=function(){return 2},hc.SE.get=function(){return 3},Object.defineProperties(dc,hc);var pc=function(){if(this._edge=null,this._label=null,this._node=null,this._p0=null,this._p1=null,this._dx=null,this._dy=null,this._quadrant=null,1===arguments.length){var t=arguments[0];this._edge=t}else if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2];this._edge=e,this.init(n,l),this._label=null}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];this._edge=i,this.init(r,o),this._label=a}};pc.prototype.compareDirection=function(t){return this._dx===t._dx&&this._dy===t._dy?0:this._quadrant>t._quadrant?1:this._quadrant<t._quadrant?-1:Es.computeOrientation(t._p0,t._p1,this._p1)},pc.prototype.getDy=function(){return this._dy},pc.prototype.getCoordinate=function(){return this._p0},pc.prototype.setNode=function(t){this._node=t},pc.prototype.print=function(t){var e=Math.atan2(this._dy,this._dx),n=this.getClass().getName(),l=n.lastIndexOf("."),i=n.substring(l+1);t.print(" "+i+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+e+" "+this._label)},pc.prototype.compareTo=function(t){return this.compareDirection(t)},pc.prototype.getDirectedCoordinate=function(){return this._p1},pc.prototype.getDx=function(){return this._dx},pc.prototype.getLabel=function(){return this._label},pc.prototype.getEdge=function(){return this._edge},pc.prototype.getQuadrant=function(){return this._quadrant},pc.prototype.getNode=function(){return this._node},pc.prototype.toString=function(){var t=Math.atan2(this._dy,this._dx),e=this.getClass().getName(),n=e.lastIndexOf(".");return" "+e.substring(n+1)+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+t+" "+this._label},pc.prototype.computeLabel=function(t){},pc.prototype.init=function(t,e){this._p0=t,this._p1=e,this._dx=e.x-t.x,this._dy=e.y-t.y,this._quadrant=dc.quadrant(this._dx,this._dy),Ss.isTrue(!(0===this._dx&&0===this._dy),"EdgeEnd with identical endpoints found")},pc.prototype.interfaces_=function(){return[qa]},pc.prototype.getClass=function(){return pc};var fc=function(t){function e(){var e=arguments[0],n=arguments[1];if(t.call(this,e),this._isForward=null,this._isInResult=!1,this._isVisited=!1,this._sym=null,this._next=null,this._nextMin=null,this._edgeRing=null,this._minEdgeRing=null,this._depth=[0,-999,-999],this._isForward=n,n)this.init(e.getCoordinate(0),e.getCoordinate(1));else{var l=e.getNumPoints()-1;this.init(e.getCoordinate(l),e.getCoordinate(l-1))}this.computeDirectedLabel()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getNextMin=function(){return this._nextMin},e.prototype.getDepth=function(t){return this._depth[t]},e.prototype.setVisited=function(t){this._isVisited=t},e.prototype.computeDirectedLabel=function(){this._label=new ic(this._edge.getLabel()),this._isForward||this._label.flip()},e.prototype.getNext=function(){return this._next},e.prototype.setDepth=function(t,e){if(-999!==this._depth[t]&&this._depth[t]!==e)throw new tc("assigned depths do not match",this.getCoordinate());this._depth[t]=e},e.prototype.isInteriorAreaEdge=function(){for(var t=!0,e=0;e<2;e++)this._label.isArea(e)&&this._label.getLocation(e,Ju.LEFT)===Za.INTERIOR&&this._label.getLocation(e,Ju.RIGHT)===Za.INTERIOR||(t=!1);return t},e.prototype.setNextMin=function(t){this._nextMin=t},e.prototype.print=function(e){t.prototype.print.call(this,e),e.print(" "+this._depth[Ju.LEFT]+"/"+this._depth[Ju.RIGHT]),e.print(" ("+this.getDepthDelta()+")"),this._isInResult&&e.print(" inResult")},e.prototype.setMinEdgeRing=function(t){this._minEdgeRing=t},e.prototype.isLineEdge=function(){var t=this._label.isLine(0)||this._label.isLine(1),e=!this._label.isArea(0)||this._label.allPositionsEqual(0,Za.EXTERIOR),n=!this._label.isArea(1)||this._label.allPositionsEqual(1,Za.EXTERIOR);return t&&e&&n},e.prototype.setEdgeRing=function(t){this._edgeRing=t},e.prototype.getMinEdgeRing=function(){return this._minEdgeRing},e.prototype.getDepthDelta=function(){var t=this._edge.getDepthDelta();return this._isForward||(t=-t),t},e.prototype.setInResult=function(t){this._isInResult=t},e.prototype.getSym=function(){return this._sym},e.prototype.isForward=function(){return this._isForward},e.prototype.getEdge=function(){return this._edge},e.prototype.printEdge=function(t){this.print(t),t.print(" "),this._isForward?this._edge.print(t):this._edge.printReverse(t)},e.prototype.setSym=function(t){this._sym=t},e.prototype.setVisitedEdge=function(t){this.setVisited(t),this._sym.setVisited(t)},e.prototype.setEdgeDepths=function(t,e){var n=this.getEdge().getDepthDelta();this._isForward||(n=-n);var l=1;t===Ju.LEFT&&(l=-1);var i=Ju.opposite(t),r=e+n*l;this.setDepth(t,e),this.setDepth(i,r)},e.prototype.getEdgeRing=function(){return this._edgeRing},e.prototype.isInResult=function(){return this._isInResult},e.prototype.setNext=function(t){this._next=t},e.prototype.isVisited=function(){return this._isVisited},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.depthFactor=function(t,e){return t===Za.EXTERIOR&&e===Za.INTERIOR?1:t===Za.INTERIOR&&e===Za.EXTERIOR?-1:0},e}(pc),bc=function(){};bc.prototype.createNode=function(t){return new uc(t,null)},bc.prototype.interfaces_=function(){return[]},bc.prototype.getClass=function(){return bc};var mc=function(){if(this._edges=new Xs,this._nodes=null,this._edgeEndList=new Xs,0===arguments.length)this._nodes=new cc(new bc);else if(1===arguments.length){var t=arguments[0];this._nodes=new cc(t)}};mc.prototype.printEdges=function(t){t.println("Edges:");for(var e=0;e<this._edges.size();e++){t.println("edge "+e+":");var n=this._edges.get(e);n.print(t),n.eiList.print(t)}},mc.prototype.find=function(t){return this._nodes.find(t)},mc.prototype.addNode=function(){if(arguments[0]instanceof uc){var t=arguments[0];return this._nodes.addNode(t)}if(arguments[0]instanceof Xa){var e=arguments[0];return this._nodes.addNode(e)}},mc.prototype.getNodeIterator=function(){return this._nodes.iterator()},mc.prototype.linkResultDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkResultDirectedEdges()},mc.prototype.debugPrintln=function(t){bs.out.println(t)},mc.prototype.isBoundaryNode=function(t,e){var n=this._nodes.find(e);if(null===n)return!1;var l=n.getLabel();return null!==l&&l.getLocation(t)===Za.BOUNDARY},mc.prototype.linkAllDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkAllDirectedEdges()},mc.prototype.matchInSameDirection=function(t,e,n,l){return!!t.equals(n)&&Es.computeOrientation(t,e,l)===Es.COLLINEAR&&dc.quadrant(t,e)===dc.quadrant(n,l)},mc.prototype.getEdgeEnds=function(){return this._edgeEndList},mc.prototype.debugPrint=function(t){bs.out.print(t)},mc.prototype.getEdgeIterator=function(){return this._edges.iterator()},mc.prototype.findEdgeInSameDirection=function(t,e){for(var n=0;n<this._edges.size();n++){var l=this._edges.get(n),i=l.getCoordinates();if(this.matchInSameDirection(t,e,i[0],i[1]))return l;if(this.matchInSameDirection(t,e,i[i.length-1],i[i.length-2]))return l}return null},mc.prototype.insertEdge=function(t){this._edges.add(t)},mc.prototype.findEdgeEnd=function(t){for(var e=this.getEdgeEnds().iterator();e.hasNext();){var n=e.next();if(n.getEdge()===t)return n}return null},mc.prototype.addEdges=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this._edges.add(n);var l=new fc(n,!0),i=new fc(n,!1);l.setSym(i),i.setSym(l),this.add(l),this.add(i)}},mc.prototype.add=function(t){this._nodes.add(t),this._edgeEndList.add(t)},mc.prototype.getNodes=function(){return this._nodes.values()},mc.prototype.findEdge=function(t,e){for(var n=0;n<this._edges.size();n++){var l=this._edges.get(n),i=l.getCoordinates();if(t.equals(i[0])&&e.equals(i[1]))return l}return null},mc.prototype.interfaces_=function(){return[]},mc.prototype.getClass=function(){return mc},mc.linkResultDirectedEdges=function(t){for(var e=t.iterator();e.hasNext();)e.next().getEdges().linkResultDirectedEdges()};var gc=function(){this._geometryFactory=null,this._shellList=new Xs;var t=arguments[0];this._geometryFactory=t};gc.prototype.sortShellsAndHoles=function(t,e,n){for(var l=t.iterator();l.hasNext();){var i=l.next();i.isHole()?n.add(i):e.add(i)}},gc.prototype.computePolygons=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next().toPolygon(this._geometryFactory);e.add(l)}return e},gc.prototype.placeFreeHoles=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();if(null===l.getShell()){var i=this.findEdgeRingContaining(l,t);if(null===i)throw new tc("unable to assign hole to a shell",l.getCoordinate(0));l.setShell(i)}}},gc.prototype.buildMinimalEdgeRings=function(t,e,n){for(var l=new Xs,i=t.iterator();i.hasNext();){var r=i.next();if(r.getMaxNodeDegree()>2){r.linkDirectedEdgesForMinimalEdgeRings();var o=r.buildMinimalRings(),a=this.findShell(o);null!==a?(this.placePolygonHoles(a,o),e.add(a)):n.addAll(o)}else l.add(r)}return l},gc.prototype.containsPoint=function(t){for(var e=this._shellList.iterator();e.hasNext();)if(e.next().containsPoint(t))return!0;return!1},gc.prototype.buildMaximalEdgeRings=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();if(l.isInResult()&&l.getLabel().isArea()&&null===l.getEdgeRing()){var i=new ac(l,this._geometryFactory);e.add(i),i.setInResult()}}return e},gc.prototype.placePolygonHoles=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();l.isHole()&&l.setShell(t)}},gc.prototype.getPolygons=function(){return this.computePolygons(this._shellList)},gc.prototype.findEdgeRingContaining=function(t,e){for(var n=t.getLinearRing(),l=n.getEnvelopeInternal(),i=n.getCoordinateN(0),r=null,o=null,a=e.iterator();a.hasNext();){var s=a.next(),u=s.getLinearRing(),c=u.getEnvelopeInternal();null!==r&&(o=r.getLinearRing().getEnvelopeInternal());var d=!1;c.contains(l)&&Es.isPointInRing(i,u.getCoordinates())&&(d=!0),d&&(null===r||o.contains(c))&&(r=s)}return r},gc.prototype.findShell=function(t){for(var e=0,n=null,l=t.iterator();l.hasNext();){var i=l.next();i.isHole()||(n=i,e++)}return Ss.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n},gc.prototype.add=function(){if(1===arguments.length){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){var e=arguments[0],n=arguments[1];mc.linkResultDirectedEdges(n);var l=this.buildMaximalEdgeRings(e),i=new Xs,r=this.buildMinimalEdgeRings(l,this._shellList,i);this.sortShellsAndHoles(r,this._shellList,i),this.placeFreeHoles(this._shellList,i)}},gc.prototype.interfaces_=function(){return[]},gc.prototype.getClass=function(){return gc};var _c=function(){};_c.prototype.getBounds=function(){},_c.prototype.interfaces_=function(){return[]},_c.prototype.getClass=function(){return _c};var yc=function(){this._bounds=null,this._item=null;var t=arguments[0],e=arguments[1];this._bounds=t,this._item=e};yc.prototype.getItem=function(){return this._item},yc.prototype.getBounds=function(){return this._bounds},yc.prototype.interfaces_=function(){return[_c,mi]},yc.prototype.getClass=function(){return yc};var Ac=function(){this._size=null,this._items=null,this._size=0,this._items=new Xs,this._items.add(null)};Ac.prototype.poll=function(){if(this.isEmpty())return null;var t=this._items.get(1);return this._items.set(1,this._items.get(this._size)),this._size-=1,this.reorder(1),t},Ac.prototype.size=function(){return this._size},Ac.prototype.reorder=function(t){for(var e=null,n=this._items.get(t);2*t<=this._size&&((e=2*t)!==this._size&&this._items.get(e+1).compareTo(this._items.get(e))<0&&e++,this._items.get(e).compareTo(n)<0);t=e)this._items.set(t,this._items.get(e));this._items.set(t,n)},Ac.prototype.clear=function(){this._size=0,this._items.clear()},Ac.prototype.isEmpty=function(){return 0===this._size},Ac.prototype.add=function(t){this._items.add(null),this._size+=1;var e=this._size;for(this._items.set(0,t);t.compareTo(this._items.get(Math.trunc(e/2)))<0;e/=2)this._items.set(e,this._items.get(Math.trunc(e/2)));this._items.set(e,t)},Ac.prototype.interfaces_=function(){return[]},Ac.prototype.getClass=function(){return Ac};var vc=function(){};vc.prototype.visitItem=function(t){},vc.prototype.interfaces_=function(){return[]},vc.prototype.getClass=function(){return vc};var Cc=function(){};Cc.prototype.insert=function(t,e){},Cc.prototype.remove=function(t,e){},Cc.prototype.query=function(){},Cc.prototype.interfaces_=function(){return[]},Cc.prototype.getClass=function(){return Cc};var wc=function(){if(this._childBoundables=new Xs,this._bounds=null,this._level=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._level=t}},Pc={serialVersionUID:{configurable:!0}};wc.prototype.getLevel=function(){return this._level},wc.prototype.size=function(){return this._childBoundables.size()},wc.prototype.getChildBoundables=function(){return this._childBoundables},wc.prototype.addChildBoundable=function(t){Ss.isTrue(null===this._bounds),this._childBoundables.add(t)},wc.prototype.isEmpty=function(){return this._childBoundables.isEmpty()},wc.prototype.getBounds=function(){return null===this._bounds&&(this._bounds=this.computeBounds()),this._bounds},wc.prototype.interfaces_=function(){return[_c,mi]},wc.prototype.getClass=function(){return wc},Pc.serialVersionUID.get=function(){return 0x5a1e55ec41369800},Object.defineProperties(wc,Pc);var xc=function(){};xc.reverseOrder=function(){return{compare:function(t,e){return e.compareTo(t)}}},xc.min=function(t){return xc.sort(t),t.get(0)},xc.sort=function(t,e){var n=t.toArray();e?uu.sort(n,e):uu.sort(n);for(var l=t.iterator(),i=0,r=n.length;i<r;i++)l.next(),l.set(n[i])},xc.singletonList=function(t){var e=new Xs;return e.add(t),e};var Sc=function(){this._boundable1=null,this._boundable2=null,this._distance=null,this._itemDistance=null;var t=arguments[0],e=arguments[1],n=arguments[2];this._boundable1=t,this._boundable2=e,this._itemDistance=n,this._distance=this.distance()};Sc.prototype.expandToQueue=function(t,e){var n=Sc.isComposite(this._boundable1),l=Sc.isComposite(this._boundable2);if(n&&l)return Sc.area(this._boundable1)>Sc.area(this._boundable2)?(this.expand(this._boundable1,this._boundable2,t,e),null):(this.expand(this._boundable2,this._boundable1,t,e),null);if(n)return this.expand(this._boundable1,this._boundable2,t,e),null;if(l)return this.expand(this._boundable2,this._boundable1,t,e),null;throw new Ga("neither boundable is composite")},Sc.prototype.isLeaves=function(){return!(Sc.isComposite(this._boundable1)||Sc.isComposite(this._boundable2))},Sc.prototype.compareTo=function(t){return this._distance<t._distance?-1:this._distance>t._distance?1:0},Sc.prototype.expand=function(t,e,n,l){for(var i=t.getChildBoundables().iterator();i.hasNext();){var r=i.next(),o=new Sc(r,e,this._itemDistance);o.getDistance()<l&&n.add(o)}},Sc.prototype.getBoundable=function(t){return 0===t?this._boundable1:this._boundable2},Sc.prototype.getDistance=function(){return this._distance},Sc.prototype.distance=function(){return this.isLeaves()?this._itemDistance.distance(this._boundable1,this._boundable2):this._boundable1.getBounds().distance(this._boundable2.getBounds())},Sc.prototype.interfaces_=function(){return[qa]},Sc.prototype.getClass=function(){return Sc},Sc.area=function(t){return t.getBounds().getArea()},Sc.isComposite=function(t){return t instanceof wc};var kc=function t(){if(this._root=null,this._built=!1,this._itemBoundables=new Xs,this._nodeCapacity=null,0===arguments.length){var e=t.DEFAULT_NODE_CAPACITY;this._nodeCapacity=e}else if(1===arguments.length){var n=arguments[0];Ss.isTrue(n>1,"Node capacity must be greater than 1"),this._nodeCapacity=n}},Mc={IntersectsOp:{configurable:!0},serialVersionUID:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};kc.prototype.getNodeCapacity=function(){return this._nodeCapacity},kc.prototype.lastNode=function(t){return t.get(t.size()-1)},kc.prototype.size=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.size(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var n=e.next();n instanceof wc?t+=this.size(n):n instanceof yc&&(t+=1)}return t}},kc.prototype.removeItem=function(t,e){for(var n=null,l=t.getChildBoundables().iterator();l.hasNext();){var i=l.next();i instanceof yc&&i.getItem()===e&&(n=i)}return null!==n&&(t.getChildBoundables().remove(n),!0)},kc.prototype.itemsTree=function(){if(0===arguments.length){this.build();var t=this.itemsTree(this._root);return null===t?new Xs:t}if(1===arguments.length){for(var e=arguments[0],n=new Xs,l=e.getChildBoundables().iterator();l.hasNext();){var i=l.next();if(i instanceof wc){var r=this.itemsTree(i);null!==r&&n.add(r)}else i instanceof yc?n.add(i.getItem()):Ss.shouldNeverReachHere()}return n.size()<=0?null:n}},kc.prototype.insert=function(t,e){Ss.isTrue(!this._built,"Cannot insert items into an STR packed R-tree after it has been built."),this._itemBoundables.add(new yc(t,e))},kc.prototype.boundablesAtLevel=function(){if(1===arguments.length){var t=arguments[0],e=new Xs;return this.boundablesAtLevel(t,this._root,e),e}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];if(Ss.isTrue(n>-2),l.getLevel()===n)return i.add(l),null;for(var r=l.getChildBoundables().iterator();r.hasNext();){var o=r.next();o instanceof wc?this.boundablesAtLevel(n,o,i):(Ss.isTrue(o instanceof yc),-1===n&&i.add(o))}return null}},kc.prototype.query=function(){if(1===arguments.length){var t=arguments[0];this.build();var e=new Xs;return this.isEmpty()||this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.query(t,this._root,e),e}if(2===arguments.length){var n=arguments[0],l=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this._root.getBounds(),n)&&this.query(n,this._root,l)}else if(3===arguments.length)if(es(arguments[2],vc)&&arguments[0]instanceof Object&&arguments[1]instanceof wc)for(var i=arguments[0],r=arguments[1],o=arguments[2],a=r.getChildBoundables(),s=0;s<a.size();s++){var u=a.get(s);this.getIntersectsOp().intersects(u.getBounds(),i)&&(u instanceof wc?this.query(i,u,o):u instanceof yc?o.visitItem(u.getItem()):Ss.shouldNeverReachHere())}else if(es(arguments[2],$s)&&arguments[0]instanceof Object&&arguments[1]instanceof wc)for(var c=arguments[0],d=arguments[1],h=arguments[2],p=d.getChildBoundables(),f=0;f<p.size();f++){var b=p.get(f);this.getIntersectsOp().intersects(b.getBounds(),c)&&(b instanceof wc?this.query(c,b,h):b instanceof yc?h.add(b.getItem()):Ss.shouldNeverReachHere())}},kc.prototype.build=function(){if(this._built)return null;this._root=this._itemBoundables.isEmpty()?this.createNode(0):this.createHigherLevels(this._itemBoundables,-1),this._itemBoundables=null,this._built=!0},kc.prototype.getRoot=function(){return this.build(),this._root},kc.prototype.remove=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.build(),!!this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.remove(t,this._root,e)}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=this.removeItem(l,i);if(r)return!0;for(var o=null,a=l.getChildBoundables().iterator();a.hasNext();){var s=a.next();if(this.getIntersectsOp().intersects(s.getBounds(),n)&&s instanceof wc&&(r=this.remove(n,s,i))){o=s;break}}return null!==o&&o.getChildBoundables().isEmpty()&&l.getChildBoundables().remove(o),r}},kc.prototype.createHigherLevels=function(t,e){Ss.isTrue(!t.isEmpty());var n=this.createParentBoundables(t,e+1);return 1===n.size()?n.get(0):this.createHigherLevels(n,e+1)},kc.prototype.depth=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.depth(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var n=e.next();if(n instanceof wc){var l=this.depth(n);l>t&&(t=l)}}return t+1}},kc.prototype.createParentBoundables=function(t,e){Ss.isTrue(!t.isEmpty());var n=new Xs;n.add(this.createNode(e));var l=new Xs(t);xc.sort(l,this.getComparator());for(var i=l.iterator();i.hasNext();){var r=i.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(r)}return n},kc.prototype.isEmpty=function(){return this._built?this._root.isEmpty():this._itemBoundables.isEmpty()},kc.prototype.interfaces_=function(){return[mi]},kc.prototype.getClass=function(){return kc},kc.compareDoubles=function(t,e){return t>e?1:t<e?-1:0},Mc.IntersectsOp.get=function(){return Oc},Mc.serialVersionUID.get=function(){return-0x35ef64c82d4c5400},Mc.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(kc,Mc);var Oc=function(){},Dc=function(){};Dc.prototype.distance=function(t,e){},Dc.prototype.interfaces_=function(){return[]},Dc.prototype.getClass=function(){return Dc};var Tc=function(t){function e(n){t.call(this,n=n||e.DEFAULT_NODE_CAPACITY)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={STRtreeNode:{configurable:!0},serialVersionUID:{configurable:!0},xComparator:{configurable:!0},yComparator:{configurable:!0},intersectsOp:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};return e.prototype.createParentBoundablesFromVerticalSlices=function(t,e){Ss.isTrue(t.length>0);for(var n=new Xs,l=0;l<t.length;l++)n.addAll(this.createParentBoundablesFromVerticalSlice(t[l],e));return n},e.prototype.createNode=function(t){return new Ec(t)},e.prototype.size=function(){return 0===arguments.length?t.prototype.size.call(this):t.prototype.size.apply(this,arguments)},e.prototype.insert=function(){if(2!==arguments.length)return t.prototype.insert.apply(this,arguments);var e=arguments[0],n=arguments[1];if(e.isNull())return null;t.prototype.insert.call(this,e,n)},e.prototype.getIntersectsOp=function(){return e.intersectsOp},e.prototype.verticalSlices=function(t,e){for(var n=Math.trunc(Math.ceil(t.size()/e)),l=new Array(e).fill(null),i=t.iterator(),r=0;r<e;r++){l[r]=new Xs;for(var o=0;i.hasNext()&&o<n;){var a=i.next();l[r].add(a),o++}}return l},e.prototype.query=function(){if(1===arguments.length){var e=arguments[0];return t.prototype.query.call(this,e)}if(2===arguments.length){var n=arguments[0],l=arguments[1];t.prototype.query.call(this,n,l)}else if(3===arguments.length)if(es(arguments[2],vc)&&arguments[0]instanceof Object&&arguments[1]instanceof wc){var i=arguments[0],r=arguments[1],o=arguments[2];t.prototype.query.call(this,i,r,o)}else if(es(arguments[2],$s)&&arguments[0]instanceof Object&&arguments[1]instanceof wc){var a=arguments[0],s=arguments[1],u=arguments[2];t.prototype.query.call(this,a,s,u)}},e.prototype.getComparator=function(){return e.yComparator},e.prototype.createParentBoundablesFromVerticalSlice=function(e,n){return t.prototype.createParentBoundables.call(this,e,n)},e.prototype.remove=function(){if(2===arguments.length){var e=arguments[0],n=arguments[1];return t.prototype.remove.call(this,e,n)}return t.prototype.remove.apply(this,arguments)},e.prototype.depth=function(){return 0===arguments.length?t.prototype.depth.call(this):t.prototype.depth.apply(this,arguments)},e.prototype.createParentBoundables=function(t,n){Ss.isTrue(!t.isEmpty());var l=Math.trunc(Math.ceil(t.size()/this.getNodeCapacity())),i=new Xs(t);xc.sort(i,e.xComparator);var r=this.verticalSlices(i,Math.trunc(Math.ceil(Math.sqrt(l))));return this.createParentBoundablesFromVerticalSlices(r,n)},e.prototype.nearestNeighbour=function(){if(1===arguments.length){if(es(arguments[0],Dc)){var t=arguments[0],n=new Sc(this.getRoot(),this.getRoot(),t);return this.nearestNeighbour(n)}if(arguments[0]instanceof Sc){var l=arguments[0];return this.nearestNeighbour(l,Ha.POSITIVE_INFINITY)}}else if(2===arguments.length){if(arguments[0]instanceof e&&es(arguments[1],Dc)){var i=arguments[0],r=arguments[1],o=new Sc(this.getRoot(),i.getRoot(),r);return this.nearestNeighbour(o)}if(arguments[0]instanceof Sc&&"number"==typeof arguments[1]){var a=arguments[0],s=arguments[1],u=null,c=new Ac;for(c.add(a);!c.isEmpty()&&s>0;){var d=c.poll(),h=d.getDistance();if(h>=s)break;d.isLeaves()?(s=h,u=d):d.expandToQueue(c,s)}return[u.getBoundable(0).getItem(),u.getBoundable(1).getItem()]}}else if(3===arguments.length){var p=arguments[0],f=arguments[1],b=arguments[2],m=new yc(p,f),g=new Sc(this.getRoot(),m,b);return this.nearestNeighbour(g)[0]}},e.prototype.interfaces_=function(){return[Cc,mi]},e.prototype.getClass=function(){return e},e.centreX=function(t){return e.avg(t.getMinX(),t.getMaxX())},e.avg=function(t,e){return(t+e)/2},e.centreY=function(t){return e.avg(t.getMinY(),t.getMaxY())},n.STRtreeNode.get=function(){return Ec},n.serialVersionUID.get=function(){return 0x39920f7d5f261e0},n.xComparator.get=function(){return{interfaces_:function(){return[$a]},compare:function(n,l){return t.compareDoubles(e.centreX(n.getBounds()),e.centreX(l.getBounds()))}}},n.yComparator.get=function(){return{interfaces_:function(){return[$a]},compare:function(n,l){return t.compareDoubles(e.centreY(n.getBounds()),e.centreY(l.getBounds()))}}},n.intersectsOp.get=function(){return{interfaces_:function(){return[t.IntersectsOp]},intersects:function(t,e){return t.intersects(e)}}},n.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(e,n),e}(kc),Ec=function(t){function e(){var e=arguments[0];t.call(this,e)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.computeBounds=function(){for(var t=null,e=this.getChildBoundables().iterator();e.hasNext();){var n=e.next();null===t?t=new gs(n.getBounds()):t.expandToInclude(n.getBounds())}return t},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(wc),Ic=function(){};Ic.prototype.interfaces_=function(){return[]},Ic.prototype.getClass=function(){return Ic},Ic.relativeSign=function(t,e){return t<e?-1:t>e?1:0},Ic.compare=function(t,e,n){if(e.equals2D(n))return 0;var l=Ic.relativeSign(e.x,n.x),i=Ic.relativeSign(e.y,n.y);switch(t){case 0:return Ic.compareValue(l,i);case 1:return Ic.compareValue(i,l);case 2:return Ic.compareValue(i,-l);case 3:return Ic.compareValue(-l,i);case 4:return Ic.compareValue(-l,-i);case 5:return Ic.compareValue(-i,-l);case 6:return Ic.compareValue(-i,l);case 7:return Ic.compareValue(l,-i)}return Ss.shouldNeverReachHere("invalid octant value"),0},Ic.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0};var Lc=function(){this._segString=null,this.coord=null,this.segmentIndex=null,this._segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this._segString=t,this.coord=new Xa(e),this.segmentIndex=n,this._segmentOctant=l,this._isInterior=!e.equals2D(t.getCoordinate(n))};Lc.prototype.getCoordinate=function(){return this.coord},Lc.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)},Lc.prototype.compareTo=function(t){var e=t;return this.segmentIndex<e.segmentIndex?-1:this.segmentIndex>e.segmentIndex?1:this.coord.equals2D(e.coord)?0:Ic.compare(this._segmentOctant,this.coord,e.coord)},Lc.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t},Lc.prototype.isInterior=function(){return this._isInterior},Lc.prototype.interfaces_=function(){return[qa]},Lc.prototype.getClass=function(){return Lc};var jc=function(){this._nodeMap=new xi,this._edge=null;var t=arguments[0];this._edge=t};jc.prototype.getSplitCoordinates=function(){var t=new Js;this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next();this.addEdgeCoordinates(n,l,t),n=l}return t.toCoordinateArray()},jc.prototype.addCollapsedNodes=function(){var t=new Xs;this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(var e=t.iterator();e.hasNext();){var n=e.next().intValue();this.add(this._edge.getCoordinate(n),n)}},jc.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},jc.prototype.findCollapsesFromExistingVertices=function(t){for(var e=0;e<this._edge.size()-2;e++){var n=this._edge.getCoordinate(e),l=this._edge.getCoordinate(e+2);n.equals2D(l)&&t.add(new rs(e+1))}},jc.prototype.addEdgeCoordinates=function(t,e,n){var l=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(l);n.add(new Xa(t.coord),!1);for(var r=t.segmentIndex+1;r<=e.segmentIndex;r++)n.add(this._edge.getCoordinate(r));i&&n.add(new Xa(e.coord))},jc.prototype.iterator=function(){return this._nodeMap.values().iterator()},jc.prototype.addSplitEdges=function(t){this.addEndpoints(),this.addCollapsedNodes();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next(),i=this.createSplitEdge(n,l);t.add(i),n=l}},jc.prototype.findCollapseIndex=function(t,e,n){if(!t.coord.equals2D(e.coord))return!1;var l=e.segmentIndex-t.segmentIndex;return e.isInterior()||l--,1===l&&(n[0]=t.segmentIndex+1,!0)},jc.prototype.findCollapsesFromInsertedNodes=function(t){for(var e=new Array(1).fill(null),n=this.iterator(),l=n.next();n.hasNext();){var i=n.next();this.findCollapseIndex(l,i,e)&&t.add(new rs(e[0])),l=i}},jc.prototype.getEdge=function(){return this._edge},jc.prototype.addEndpoints=function(){var t=this._edge.size()-1;this.add(this._edge.getCoordinate(0),0),this.add(this._edge.getCoordinate(t),t)},jc.prototype.createSplitEdge=function(t,e){var n=e.segmentIndex-t.segmentIndex+2,l=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(l);i||n--;var r=new Array(n).fill(null),o=0;r[o++]=new Xa(t.coord);for(var a=t.segmentIndex+1;a<=e.segmentIndex;a++)r[o++]=this._edge.getCoordinate(a);return i&&(r[o]=new Xa(e.coord)),new Yc(r,this._edge.getData())},jc.prototype.add=function(t,e){var n=new Lc(this._edge,t,e,this._edge.getSegmentOctant(e)),l=this._nodeMap.get(n);return null!==l?(Ss.isTrue(l.coord.equals2D(t),"Found equal nodes with different coordinates"),l):(this._nodeMap.put(n,n),n)},jc.prototype.checkSplitEdgesCorrectness=function(t){var e=this._edge.getCoordinates(),n=t.get(0).getCoordinate(0);if(!n.equals2D(e[0]))throw new Ps("bad split edge start point at "+n);var l=t.get(t.size()-1).getCoordinates(),i=l[l.length-1];if(!i.equals2D(e[e.length-1]))throw new Ps("bad split edge end point at "+i)},jc.prototype.interfaces_=function(){return[]},jc.prototype.getClass=function(){return jc};var Rc=function(){};Rc.prototype.interfaces_=function(){return[]},Rc.prototype.getClass=function(){return Rc},Rc.octant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new Ga("Cannot compute the octant for point ( "+t+", "+e+" )");var n=Math.abs(t),l=Math.abs(e);return t>=0?e>=0?n>=l?0:1:n>=l?7:6:e>=0?n>=l?3:2:n>=l?4:5}if(arguments[0]instanceof Xa&&arguments[1]instanceof Xa){var i=arguments[0],r=arguments[1],o=r.x-i.x,a=r.y-i.y;if(0===o&&0===a)throw new Ga("Cannot compute the octant for two identical points "+i);return Rc.octant(o,a)}};var Fc=function(){};Fc.prototype.getCoordinates=function(){},Fc.prototype.size=function(){},Fc.prototype.getCoordinate=function(t){},Fc.prototype.isClosed=function(){},Fc.prototype.setData=function(t){},Fc.prototype.getData=function(){},Fc.prototype.interfaces_=function(){return[]},Fc.prototype.getClass=function(){return Fc};var Nc=function(){};Nc.prototype.addIntersection=function(t,e){},Nc.prototype.interfaces_=function(){return[Fc]},Nc.prototype.getClass=function(){return Nc};var Yc=function(){this._nodeList=new jc(this),this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};Yc.prototype.getCoordinates=function(){return this._pts},Yc.prototype.size=function(){return this._pts.length},Yc.prototype.getCoordinate=function(t){return this._pts[t]},Yc.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},Yc.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:this.safeOctant(this.getCoordinate(t),this.getCoordinate(t+1))},Yc.prototype.setData=function(t){this._data=t},Yc.prototype.safeOctant=function(t,e){return t.equals2D(e)?0:Rc.octant(t,e)},Yc.prototype.getData=function(){return this._data},Yc.prototype.addIntersection=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.addIntersectionNode(t,e)}else if(4===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[3],r=new Xa(n.getIntersection(i));this.addIntersection(r,l)}},Yc.prototype.toString=function(){return ws.toLineString(new Lu(this._pts))},Yc.prototype.getNodeList=function(){return this._nodeList},Yc.prototype.addIntersectionNode=function(t,e){var n=e,l=n+1;return l<this._pts.length&&t.equals2D(this._pts[l])&&(n=l),this._nodeList.add(t,n)},Yc.prototype.addIntersections=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++)this.addIntersection(t,e,n,l)},Yc.prototype.interfaces_=function(){return[Nc]},Yc.prototype.getClass=function(){return Yc},Yc.getNodedSubstrings=function(){if(1===arguments.length){var t=arguments[0],e=new Xs;return Yc.getNodedSubstrings(t,e),e}if(2===arguments.length)for(var n=arguments[0],l=arguments[1],i=n.iterator();i.hasNext();)i.next().getNodeList().addSplitEdges(l)};var Uc=function(){if(this.p0=null,this.p1=null,0===arguments.length)this.p0=new Xa,this.p1=new Xa;else if(1===arguments.length){var t=arguments[0];this.p0=new Xa(t.p0),this.p1=new Xa(t.p1)}else if(2===arguments.length)this.p0=arguments[0],this.p1=arguments[1];else if(4===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2],i=arguments[3];this.p0=new Xa(e,n),this.p1=new Xa(l,i)}},Bc={serialVersionUID:{configurable:!0}};Uc.prototype.minX=function(){return Math.min(this.p0.x,this.p1.x)},Uc.prototype.orientationIndex=function(){if(arguments[0]instanceof Uc){var t=arguments[0],e=Es.orientationIndex(this.p0,this.p1,t.p0),n=Es.orientationIndex(this.p0,this.p1,t.p1);return e>=0&&n>=0||e<=0&&n<=0?Math.max(e,n):0}if(arguments[0]instanceof Xa){var l=arguments[0];return Es.orientationIndex(this.p0,this.p1,l)}},Uc.prototype.toGeometry=function(t){return t.createLineString([this.p0,this.p1])},Uc.prototype.isVertical=function(){return this.p0.x===this.p1.x},Uc.prototype.equals=function(t){if(!(t instanceof Uc))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)},Uc.prototype.intersection=function(t){var e=new Os;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null},Uc.prototype.project=function(){if(arguments[0]instanceof Xa){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new Xa(t);var e=this.projectionFactor(t),n=new Xa;return n.x=this.p0.x+e*(this.p1.x-this.p0.x),n.y=this.p0.y+e*(this.p1.y-this.p0.y),n}if(arguments[0]instanceof Uc){var l=arguments[0],i=this.projectionFactor(l.p0),r=this.projectionFactor(l.p1);if(i>=1&&r>=1)return null;if(i<=0&&r<=0)return null;var o=this.project(l.p0);i<0&&(o=this.p0),i>1&&(o=this.p1);var a=this.project(l.p1);return r<0&&(a=this.p0),r>1&&(a=this.p1),new Uc(o,a)}},Uc.prototype.normalize=function(){this.p1.compareTo(this.p0)<0&&this.reverse()},Uc.prototype.angle=function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)},Uc.prototype.getCoordinate=function(t){return 0===t?this.p0:this.p1},Uc.prototype.distancePerpendicular=function(t){return Es.distancePointLinePerpendicular(t,this.p0,this.p1)},Uc.prototype.minY=function(){return Math.min(this.p0.y,this.p1.y)},Uc.prototype.midPoint=function(){return Uc.midPoint(this.p0,this.p1)},Uc.prototype.projectionFactor=function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,n=this.p1.y-this.p0.y,l=e*e+n*n;return l<=0?Ha.NaN:((t.x-this.p0.x)*e+(t.y-this.p0.y)*n)/l},Uc.prototype.closestPoints=function(t){var e=this.intersection(t);if(null!==e)return[e,e];var n=new Array(2).fill(null),l=Ha.MAX_VALUE,i=null,r=this.closestPoint(t.p0);l=r.distance(t.p0),n[0]=r,n[1]=t.p0;var o=this.closestPoint(t.p1);(i=o.distance(t.p1))<l&&(l=i,n[0]=o,n[1]=t.p1);var a=t.closestPoint(this.p0);(i=a.distance(this.p0))<l&&(l=i,n[0]=this.p0,n[1]=a);var s=t.closestPoint(this.p1);return(i=s.distance(this.p1))<l&&(l=i,n[0]=this.p1,n[1]=s),n},Uc.prototype.closestPoint=function(t){var e=this.projectionFactor(t);return e>0&&e<1?this.project(t):this.p0.distance(t)<this.p1.distance(t)?this.p0:this.p1},Uc.prototype.maxX=function(){return Math.max(this.p0.x,this.p1.x)},Uc.prototype.getLength=function(){return this.p0.distance(this.p1)},Uc.prototype.compareTo=function(t){var e=t,n=this.p0.compareTo(e.p0);return 0!==n?n:this.p1.compareTo(e.p1)},Uc.prototype.reverse=function(){var t=this.p0;this.p0=this.p1,this.p1=t},Uc.prototype.equalsTopo=function(t){return this.p0.equals(t.p0)&&(this.p1.equals(t.p1)||this.p0.equals(t.p1))&&this.p1.equals(t.p0)},Uc.prototype.lineIntersection=function(t){try{return ms.intersection(this.p0,this.p1,t.p0,t.p1)}catch(t){if(!(t instanceof fs))throw t}return null},Uc.prototype.maxY=function(){return Math.max(this.p0.y,this.p1.y)},Uc.prototype.pointAlongOffset=function(t,e){var n=this.p0.x+t*(this.p1.x-this.p0.x),l=this.p0.y+t*(this.p1.y-this.p0.y),i=this.p1.x-this.p0.x,r=this.p1.y-this.p0.y,o=Math.sqrt(i*i+r*r),a=0,s=0;if(0!==e){if(o<=0)throw new Error("Cannot compute offset from zero-length line segment");a=e*i/o,s=e*r/o}return new Xa(n-s,l+a)},Uc.prototype.setCoordinates=function(){if(1===arguments.length){var t=arguments[0];this.setCoordinates(t.p0,t.p1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.p0.x=e.x,this.p0.y=e.y,this.p1.x=n.x,this.p1.y=n.y}},Uc.prototype.segmentFraction=function(t){var e=this.projectionFactor(t);return e<0?e=0:(e>1||Ha.isNaN(e))&&(e=1),e},Uc.prototype.toString=function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"},Uc.prototype.isHorizontal=function(){return this.p0.y===this.p1.y},Uc.prototype.distance=function(){if(arguments[0]instanceof Uc){var t=arguments[0];return Es.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}if(arguments[0]instanceof Xa){var e=arguments[0];return Es.distancePointLine(e,this.p0,this.p1)}},Uc.prototype.pointAlong=function(t){var e=new Xa;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e},Uc.prototype.hashCode=function(){var t=Ha.doubleToLongBits(this.p0.x);t^=31*Ha.doubleToLongBits(this.p0.y);var e=Math.trunc(t)^Math.trunc(t>>32),n=Ha.doubleToLongBits(this.p1.x);return n^=31*Ha.doubleToLongBits(this.p1.y),e^Math.trunc(n)^Math.trunc(n>>32)},Uc.prototype.interfaces_=function(){return[qa,mi]},Uc.prototype.getClass=function(){return Uc},Uc.midPoint=function(t,e){return new Xa((t.x+e.x)/2,(t.y+e.y)/2)},Bc.serialVersionUID.get=function(){return 0x2d2172135f411c00},Object.defineProperties(Uc,Bc);var zc=function(){this.tempEnv1=new gs,this.tempEnv2=new gs,this._overlapSeg1=new Uc,this._overlapSeg2=new Uc};zc.prototype.overlap=function(){if(2===arguments.length);else if(4===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];t.getLineSegment(e,this._overlapSeg1),n.getLineSegment(l,this._overlapSeg2),this.overlap(this._overlapSeg1,this._overlapSeg2)}},zc.prototype.interfaces_=function(){return[]},zc.prototype.getClass=function(){return zc};var Gc=function(){this._pts=null,this._start=null,this._end=null,this._env=null,this._context=null,this._id=null;var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this._pts=t,this._start=e,this._end=n,this._context=l};Gc.prototype.getLineSegment=function(t,e){e.p0=this._pts[t],e.p1=this._pts[t+1]},Gc.prototype.computeSelect=function(t,e,n,l){if(l.tempEnv1.init(this._pts[e],this._pts[n]),n-e==1)return l.select(this,e),null;if(!t.intersects(l.tempEnv1))return null;var i=Math.trunc((e+n)/2);e<i&&this.computeSelect(t,e,i,l),i<n&&this.computeSelect(t,i,n,l)},Gc.prototype.getCoordinates=function(){for(var t=new Array(this._end-this._start+1).fill(null),e=0,n=this._start;n<=this._end;n++)t[e++]=this._pts[n];return t},Gc.prototype.computeOverlaps=function(t,e){this.computeOverlapsInternal(this._start,this._end,t,t._start,t._end,e)},Gc.prototype.setId=function(t){this._id=t},Gc.prototype.select=function(t,e){this.computeSelect(t,this._start,this._end,e)},Gc.prototype.getEnvelope=function(){return null===this._env&&(this._env=new gs(this._pts[this._start],this._pts[this._end])),this._env},Gc.prototype.getEndIndex=function(){return this._end},Gc.prototype.getStartIndex=function(){return this._start},Gc.prototype.getContext=function(){return this._context},Gc.prototype.getId=function(){return this._id},Gc.prototype.computeOverlapsInternal=function(t,e,n,l,i,r){var o=this._pts[t],a=this._pts[e],s=n._pts[l],u=n._pts[i];if(e-t==1&&i-l==1)return r.overlap(this,t,n,l),null;if(r.tempEnv1.init(o,a),r.tempEnv2.init(s,u),!r.tempEnv1.intersects(r.tempEnv2))return null;var c=Math.trunc((t+e)/2),d=Math.trunc((l+i)/2);t<c&&(l<d&&this.computeOverlapsInternal(t,c,n,l,d,r),d<i&&this.computeOverlapsInternal(t,c,n,d,i,r)),c<e&&(l<d&&this.computeOverlapsInternal(c,e,n,l,d,r),d<i&&this.computeOverlapsInternal(c,e,n,d,i,r))},Gc.prototype.interfaces_=function(){return[]},Gc.prototype.getClass=function(){return Gc};var Hc=function(){};Hc.prototype.interfaces_=function(){return[]},Hc.prototype.getClass=function(){return Hc},Hc.getChainStartIndices=function(t){var e=0,n=new Xs;n.add(new rs(e));do{var l=Hc.findChainEnd(t,e);n.add(new rs(l)),e=l}while(e<t.length-1);return Hc.toIntArray(n)},Hc.findChainEnd=function(t,e){for(var n=e;n<t.length-1&&t[n].equals2D(t[n+1]);)n++;if(n>=t.length-1)return t.length-1;for(var l=dc.quadrant(t[n],t[n+1]),i=e+1;i<t.length&&(t[i-1].equals2D(t[i])||dc.quadrant(t[i-1],t[i])===l);)i++;return i-1},Hc.getChains=function(){if(1===arguments.length){var t=arguments[0];return Hc.getChains(t,null)}if(2===arguments.length){for(var e=arguments[0],n=arguments[1],l=new Xs,i=Hc.getChainStartIndices(e),r=0;r<i.length-1;r++){var o=new Gc(e,i[r],i[r+1],n);l.add(o)}return l}},Hc.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var Vc=function(){};Vc.prototype.computeNodes=function(t){},Vc.prototype.getNodedSubstrings=function(){},Vc.prototype.interfaces_=function(){return[]},Vc.prototype.getClass=function(){return Vc};var qc=function(){if(this._segInt=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setSegmentIntersector(t)}};qc.prototype.setSegmentIntersector=function(t){this._segInt=t},qc.prototype.interfaces_=function(){return[Vc]},qc.prototype.getClass=function(){return qc};var Wc=function(t){function e(e){e?t.call(this,e):t.call(this),this._monoChains=new Xs,this._index=new Tc,this._idCounter=0,this._nodedSegStrings=null,this._nOverlaps=0}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={SegmentOverlapAction:{configurable:!0}};return e.prototype.getMonotoneChains=function(){return this._monoChains},e.prototype.getNodedSubstrings=function(){return Yc.getNodedSubstrings(this._nodedSegStrings)},e.prototype.getIndex=function(){return this._index},e.prototype.add=function(t){for(var e=Hc.getChains(t.getCoordinates(),t).iterator();e.hasNext();){var n=e.next();n.setId(this._idCounter++),this._index.insert(n.getEnvelope(),n),this._monoChains.add(n)}},e.prototype.computeNodes=function(t){this._nodedSegStrings=t;for(var e=t.iterator();e.hasNext();)this.add(e.next());this.intersectChains()},e.prototype.intersectChains=function(){for(var t=new $c(this._segInt),e=this._monoChains.iterator();e.hasNext();)for(var n=e.next(),l=this._index.query(n.getEnvelope()).iterator();l.hasNext();){var i=l.next();if(i.getId()>n.getId()&&(n.computeOverlaps(i,t),this._nOverlaps++),this._segInt.isDone())return null}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.SegmentOverlapAction.get=function(){return $c},Object.defineProperties(e,n),e}(qc),$c=function(t){function e(){t.call(this),this._si=null;var e=arguments[0];this._si=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.overlap=function(){if(4!==arguments.length)return t.prototype.overlap.apply(this,arguments);var e=arguments[0],n=arguments[1],l=arguments[2],i=arguments[3],r=e.getContext(),o=l.getContext();this._si.processIntersections(r,n,o,i)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(zc),Xc=function t(){if(this._quadrantSegments=t.DEFAULT_QUADRANT_SEGMENTS,this._endCapStyle=t.CAP_ROUND,this._joinStyle=t.JOIN_ROUND,this._mitreLimit=t.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this._simplifyFactor=t.DEFAULT_SIMPLIFY_FACTOR,0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.setQuadrantSegments(e)}else if(2===arguments.length){var n=arguments[0],l=arguments[1];this.setQuadrantSegments(n),this.setEndCapStyle(l)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(r),this.setJoinStyle(o),this.setMitreLimit(a)}},Kc={CAP_ROUND:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},JOIN_ROUND:{configurable:!0},JOIN_MITRE:{configurable:!0},JOIN_BEVEL:{configurable:!0},DEFAULT_QUADRANT_SEGMENTS:{configurable:!0},DEFAULT_MITRE_LIMIT:{configurable:!0},DEFAULT_SIMPLIFY_FACTOR:{configurable:!0}};Xc.prototype.getEndCapStyle=function(){return this._endCapStyle},Xc.prototype.isSingleSided=function(){return this._isSingleSided},Xc.prototype.setQuadrantSegments=function(t){this._quadrantSegments=t,0===this._quadrantSegments&&(this._joinStyle=Xc.JOIN_BEVEL),this._quadrantSegments<0&&(this._joinStyle=Xc.JOIN_MITRE,this._mitreLimit=Math.abs(this._quadrantSegments)),t<=0&&(this._quadrantSegments=1),this._joinStyle!==Xc.JOIN_ROUND&&(this._quadrantSegments=Xc.DEFAULT_QUADRANT_SEGMENTS)},Xc.prototype.getJoinStyle=function(){return this._joinStyle},Xc.prototype.setJoinStyle=function(t){this._joinStyle=t},Xc.prototype.setSimplifyFactor=function(t){this._simplifyFactor=t<0?0:t},Xc.prototype.getSimplifyFactor=function(){return this._simplifyFactor},Xc.prototype.getQuadrantSegments=function(){return this._quadrantSegments},Xc.prototype.setEndCapStyle=function(t){this._endCapStyle=t},Xc.prototype.getMitreLimit=function(){return this._mitreLimit},Xc.prototype.setMitreLimit=function(t){this._mitreLimit=t},Xc.prototype.setSingleSided=function(t){this._isSingleSided=t},Xc.prototype.interfaces_=function(){return[]},Xc.prototype.getClass=function(){return Xc},Xc.bufferDistanceError=function(t){var e=Math.PI/2/t;return 1-Math.cos(e/2)},Kc.CAP_ROUND.get=function(){return 1},Kc.CAP_FLAT.get=function(){return 2},Kc.CAP_SQUARE.get=function(){return 3},Kc.JOIN_ROUND.get=function(){return 1},Kc.JOIN_MITRE.get=function(){return 2},Kc.JOIN_BEVEL.get=function(){return 3},Kc.DEFAULT_QUADRANT_SEGMENTS.get=function(){return 8},Kc.DEFAULT_MITRE_LIMIT.get=function(){return 5},Kc.DEFAULT_SIMPLIFY_FACTOR.get=function(){return.01},Object.defineProperties(Xc,Kc);var Jc=function(t){this._distanceTol=null,this._isDeleted=null,this._angleOrientation=Es.COUNTERCLOCKWISE,this._inputLine=t||null},Qc={INIT:{configurable:!0},DELETE:{configurable:!0},KEEP:{configurable:!0},NUM_PTS_TO_CHECK:{configurable:!0}};Jc.prototype.isDeletable=function(t,e,n,l){var i=this._inputLine[t],r=this._inputLine[e],o=this._inputLine[n];return!!this.isConcave(i,r,o)&&!!this.isShallow(i,r,o,l)&&this.isShallowSampled(i,r,t,n,l)},Jc.prototype.deleteShallowConcavities=function(){for(var t=1,e=this.findNextNonDeletedIndex(t),n=this.findNextNonDeletedIndex(e),l=!1;n<this._inputLine.length;){var i=!1;this.isDeletable(t,e,n,this._distanceTol)&&(this._isDeleted[e]=Jc.DELETE,i=!0,l=!0),e=this.findNextNonDeletedIndex(t=i?n:e),n=this.findNextNonDeletedIndex(e)}return l},Jc.prototype.isShallowConcavity=function(t,e,n,l){return Es.computeOrientation(t,e,n)===this._angleOrientation&&Es.distancePointLine(e,t,n)<l},Jc.prototype.isShallowSampled=function(t,e,n,l,i){var r=Math.trunc((l-n)/Jc.NUM_PTS_TO_CHECK);r<=0&&(r=1);for(var o=n;o<l;o+=r)if(!this.isShallow(t,e,this._inputLine[o],i))return!1;return!0},Jc.prototype.isConcave=function(t,e,n){return Es.computeOrientation(t,e,n)===this._angleOrientation},Jc.prototype.simplify=function(t){this._distanceTol=Math.abs(t),t<0&&(this._angleOrientation=Es.CLOCKWISE),this._isDeleted=new Array(this._inputLine.length).fill(null);var e=!1;do{e=this.deleteShallowConcavities()}while(e);return this.collapseLine()},Jc.prototype.findNextNonDeletedIndex=function(t){for(var e=t+1;e<this._inputLine.length&&this._isDeleted[e]===Jc.DELETE;)e++;return e},Jc.prototype.isShallow=function(t,e,n,l){return Es.distancePointLine(e,t,n)<l},Jc.prototype.collapseLine=function(){for(var t=new Js,e=0;e<this._inputLine.length;e++)this._isDeleted[e]!==Jc.DELETE&&t.add(this._inputLine[e]);return t.toCoordinateArray()},Jc.prototype.interfaces_=function(){return[]},Jc.prototype.getClass=function(){return Jc},Jc.simplify=function(t,e){return new Jc(t).simplify(e)},Qc.INIT.get=function(){return 0},Qc.DELETE.get=function(){return 1},Qc.KEEP.get=function(){return 1},Qc.NUM_PTS_TO_CHECK.get=function(){return 10},Object.defineProperties(Jc,Qc);var Zc=function(){this._ptList=null,this._precisionModel=null,this._minimimVertexDistance=0,this._ptList=new Xs},td={COORDINATE_ARRAY_TYPE:{configurable:!0}};Zc.prototype.getCoordinates=function(){return this._ptList.toArray(Zc.COORDINATE_ARRAY_TYPE)},Zc.prototype.setPrecisionModel=function(t){this._precisionModel=t},Zc.prototype.addPt=function(t){var e=new Xa(t);if(this._precisionModel.makePrecise(e),this.isRedundant(e))return null;this._ptList.add(e)},Zc.prototype.revere=function(){},Zc.prototype.addPts=function(t,e){if(e)for(var n=0;n<t.length;n++)this.addPt(t[n]);else for(var l=t.length-1;l>=0;l--)this.addPt(t[l])},Zc.prototype.isRedundant=function(t){if(this._ptList.size()<1)return!1;var e=this._ptList.get(this._ptList.size()-1);return t.distance(e)<this._minimimVertexDistance},Zc.prototype.toString=function(){return(new Gu).createLineString(this.getCoordinates()).toString()},Zc.prototype.closeRing=function(){if(this._ptList.size()<1)return null;var t=new Xa(this._ptList.get(0)),e=this._ptList.get(this._ptList.size()-1);if(t.equals(e))return null;this._ptList.add(t)},Zc.prototype.setMinimumVertexDistance=function(t){this._minimimVertexDistance=t},Zc.prototype.interfaces_=function(){return[]},Zc.prototype.getClass=function(){return Zc},td.COORDINATE_ARRAY_TYPE.get=function(){return new Array(0).fill(null)},Object.defineProperties(Zc,td);var ed=function(){},nd={PI_TIMES_2:{configurable:!0},PI_OVER_2:{configurable:!0},PI_OVER_4:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},CLOCKWISE:{configurable:!0},NONE:{configurable:!0}};ed.prototype.interfaces_=function(){return[]},ed.prototype.getClass=function(){return ed},ed.toDegrees=function(t){return 180*t/Math.PI},ed.normalize=function(t){for(;t>Math.PI;)t-=ed.PI_TIMES_2;for(;t<=-Math.PI;)t+=ed.PI_TIMES_2;return t},ed.angle=function(){if(1===arguments.length){var t=arguments[0];return Math.atan2(t.y,t.x)}if(2===arguments.length){var e=arguments[0],n=arguments[1],l=n.x-e.x,i=n.y-e.y;return Math.atan2(i,l)}},ed.isAcute=function(t,e,n){return(t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y)>0},ed.isObtuse=function(t,e,n){return(t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y)<0},ed.interiorAngle=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n);return Math.abs(i-l)},ed.normalizePositive=function(t){if(t<0){for(;t<0;)t+=ed.PI_TIMES_2;t>=ed.PI_TIMES_2&&(t=0)}else{for(;t>=ed.PI_TIMES_2;)t-=ed.PI_TIMES_2;t<0&&(t=0)}return t},ed.angleBetween=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n);return ed.diff(l,i)},ed.diff=function(t,e){var n=null;return(n=t<e?e-t:t-e)>Math.PI&&(n=2*Math.PI-n),n},ed.toRadians=function(t){return t*Math.PI/180},ed.getTurn=function(t,e){var n=Math.sin(e-t);return n>0?ed.COUNTERCLOCKWISE:n<0?ed.CLOCKWISE:ed.NONE},ed.angleBetweenOriented=function(t,e,n){var l=ed.angle(e,t),i=ed.angle(e,n)-l;return i<=-Math.PI?i+ed.PI_TIMES_2:i>Math.PI?i-ed.PI_TIMES_2:i},nd.PI_TIMES_2.get=function(){return 2*Math.PI},nd.PI_OVER_2.get=function(){return Math.PI/2},nd.PI_OVER_4.get=function(){return Math.PI/4},nd.COUNTERCLOCKWISE.get=function(){return Es.COUNTERCLOCKWISE},nd.CLOCKWISE.get=function(){return Es.CLOCKWISE},nd.NONE.get=function(){return Es.COLLINEAR},Object.defineProperties(ed,nd);var ld=function t(){this._maxCurveSegmentError=0,this._filletAngleQuantum=null,this._closingSegLengthFactor=1,this._segList=null,this._distance=0,this._precisionModel=null,this._bufParams=null,this._li=null,this._s0=null,this._s1=null,this._s2=null,this._seg0=new Uc,this._seg1=new Uc,this._offset0=new Uc,this._offset1=new Uc,this._side=0,this._hasNarrowConcaveAngle=!1;var e=arguments[0],n=arguments[1],l=arguments[2];this._precisionModel=e,this._bufParams=n,this._li=new Os,this._filletAngleQuantum=Math.PI/2/n.getQuadrantSegments(),n.getQuadrantSegments()>=8&&n.getJoinStyle()===Xc.JOIN_ROUND&&(this._closingSegLengthFactor=t.MAX_CLOSING_SEG_LEN_FACTOR),this.init(l)},id={OFFSET_SEGMENT_SEPARATION_FACTOR:{configurable:!0},INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},CURVE_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},MAX_CLOSING_SEG_LEN_FACTOR:{configurable:!0}};ld.prototype.addNextSegment=function(t,e){if(this._s0=this._s1,this._s1=this._s2,this._s2=t,this._seg0.setCoordinates(this._s0,this._s1),this.computeOffsetSegment(this._seg0,this._side,this._distance,this._offset0),this._seg1.setCoordinates(this._s1,this._s2),this.computeOffsetSegment(this._seg1,this._side,this._distance,this._offset1),this._s1.equals(this._s2))return null;var n=Es.computeOrientation(this._s0,this._s1,this._s2),l=n===Es.CLOCKWISE&&this._side===Ju.LEFT||n===Es.COUNTERCLOCKWISE&&this._side===Ju.RIGHT;0===n?this.addCollinear(e):l?this.addOutsideTurn(n,e):this.addInsideTurn(n,e)},ld.prototype.addLineEndCap=function(t,e){var n=new Uc(t,e),l=new Uc;this.computeOffsetSegment(n,Ju.LEFT,this._distance,l);var i=new Uc;this.computeOffsetSegment(n,Ju.RIGHT,this._distance,i);var r=Math.atan2(e.y-t.y,e.x-t.x);switch(this._bufParams.getEndCapStyle()){case Xc.CAP_ROUND:this._segList.addPt(l.p1),this.addFilletArc(e,r+Math.PI/2,r-Math.PI/2,Es.CLOCKWISE,this._distance),this._segList.addPt(i.p1);break;case Xc.CAP_FLAT:this._segList.addPt(l.p1),this._segList.addPt(i.p1);break;case Xc.CAP_SQUARE:var o=new Xa;o.x=Math.abs(this._distance)*Math.cos(r),o.y=Math.abs(this._distance)*Math.sin(r);var a=new Xa(l.p1.x+o.x,l.p1.y+o.y),s=new Xa(i.p1.x+o.x,i.p1.y+o.y);this._segList.addPt(a),this._segList.addPt(s)}},ld.prototype.getCoordinates=function(){return this._segList.getCoordinates()},ld.prototype.addMitreJoin=function(t,e,n,l){var i=!0,r=null;try{r=ms.intersection(e.p0,e.p1,n.p0,n.p1),(l<=0?1:r.distance(t)/Math.abs(l))>this._bufParams.getMitreLimit()&&(i=!1)}catch(t){if(!(t instanceof fs))throw t;r=new Xa(0,0),i=!1}i?this._segList.addPt(r):this.addLimitedMitreJoin(e,n,l,this._bufParams.getMitreLimit())},ld.prototype.addFilletCorner=function(t,e,n,l,i){var r=Math.atan2(e.y-t.y,e.x-t.x),o=Math.atan2(n.y-t.y,n.x-t.x);l===Es.CLOCKWISE?r<=o&&(r+=2*Math.PI):r>=o&&(r-=2*Math.PI),this._segList.addPt(e),this.addFilletArc(t,r,o,l,i),this._segList.addPt(n)},ld.prototype.addOutsideTurn=function(t,e){if(this._offset0.p1.distance(this._offset1.p0)<this._distance*ld.OFFSET_SEGMENT_SEPARATION_FACTOR)return this._segList.addPt(this._offset0.p1),null;this._bufParams.getJoinStyle()===Xc.JOIN_MITRE?this.addMitreJoin(this._s1,this._offset0,this._offset1,this._distance):this._bufParams.getJoinStyle()===Xc.JOIN_BEVEL?this.addBevelJoin(this._offset0,this._offset1):(e&&this._segList.addPt(this._offset0.p1),this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,t,this._distance),this._segList.addPt(this._offset1.p0))},ld.prototype.createSquare=function(t){this._segList.addPt(new Xa(t.x+this._distance,t.y+this._distance)),this._segList.addPt(new Xa(t.x+this._distance,t.y-this._distance)),this._segList.addPt(new Xa(t.x-this._distance,t.y-this._distance)),this._segList.addPt(new Xa(t.x-this._distance,t.y+this._distance)),this._segList.closeRing()},ld.prototype.addSegments=function(t,e){this._segList.addPts(t,e)},ld.prototype.addFirstSegment=function(){this._segList.addPt(this._offset1.p0)},ld.prototype.addLastSegment=function(){this._segList.addPt(this._offset1.p1)},ld.prototype.initSideSegments=function(t,e,n){this._s1=t,this._s2=e,this._side=n,this._seg1.setCoordinates(t,e),this.computeOffsetSegment(this._seg1,n,this._distance,this._offset1)},ld.prototype.addLimitedMitreJoin=function(t,e,n,l){var i=this._seg0.p1,r=ed.angle(i,this._seg0.p0),o=ed.angleBetweenOriented(this._seg0.p0,i,this._seg1.p1)/2,a=ed.normalize(r+o),s=ed.normalize(a+Math.PI),u=l*n,c=n-u*Math.abs(Math.sin(o)),d=i.x+u*Math.cos(s),h=i.y+u*Math.sin(s),p=new Xa(d,h),f=new Uc(i,p),b=f.pointAlongOffset(1,c),m=f.pointAlongOffset(1,-c);this._side===Ju.LEFT?(this._segList.addPt(b),this._segList.addPt(m)):(this._segList.addPt(m),this._segList.addPt(b))},ld.prototype.computeOffsetSegment=function(t,e,n,l){var i=e===Ju.LEFT?1:-1,r=t.p1.x-t.p0.x,o=t.p1.y-t.p0.y,a=Math.sqrt(r*r+o*o),s=i*n*r/a,u=i*n*o/a;l.p0.x=t.p0.x-u,l.p0.y=t.p0.y+s,l.p1.x=t.p1.x-u,l.p1.y=t.p1.y+s},ld.prototype.addFilletArc=function(t,e,n,l,i){var r=l===Es.CLOCKWISE?-1:1,o=Math.abs(e-n),a=Math.trunc(o/this._filletAngleQuantum+.5);if(a<1)return null;for(var s=o/a,u=0,c=new Xa;u<o;){var d=e+r*u;c.x=t.x+i*Math.cos(d),c.y=t.y+i*Math.sin(d),this._segList.addPt(c),u+=s}},ld.prototype.addInsideTurn=function(t,e){if(this._li.computeIntersection(this._offset0.p0,this._offset0.p1,this._offset1.p0,this._offset1.p1),this._li.hasIntersection())this._segList.addPt(this._li.getIntersection(0));else if(this._hasNarrowConcaveAngle=!0,this._offset0.p1.distance(this._offset1.p0)<this._distance*ld.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR)this._segList.addPt(this._offset0.p1);else{if(this._segList.addPt(this._offset0.p1),this._closingSegLengthFactor>0){var n=new Xa((this._closingSegLengthFactor*this._offset0.p1.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset0.p1.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(n);var l=new Xa((this._closingSegLengthFactor*this._offset1.p0.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset1.p0.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(l)}else this._segList.addPt(this._s1);this._segList.addPt(this._offset1.p0)}},ld.prototype.createCircle=function(t){var e=new Xa(t.x+this._distance,t.y);this._segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this._distance),this._segList.closeRing()},ld.prototype.addBevelJoin=function(t,e){this._segList.addPt(t.p1),this._segList.addPt(e.p0)},ld.prototype.init=function(t){this._distance=t,this._maxCurveSegmentError=t*(1-Math.cos(this._filletAngleQuantum/2)),this._segList=new Zc,this._segList.setPrecisionModel(this._precisionModel),this._segList.setMinimumVertexDistance(t*ld.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)},ld.prototype.addCollinear=function(t){this._li.computeIntersection(this._s0,this._s1,this._s1,this._s2),this._li.getIntersectionNum()>=2&&(this._bufParams.getJoinStyle()===Xc.JOIN_BEVEL||this._bufParams.getJoinStyle()===Xc.JOIN_MITRE?(t&&this._segList.addPt(this._offset0.p1),this._segList.addPt(this._offset1.p0)):this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,Es.CLOCKWISE,this._distance))},ld.prototype.closeRing=function(){this._segList.closeRing()},ld.prototype.hasNarrowConcaveAngle=function(){return this._hasNarrowConcaveAngle},ld.prototype.interfaces_=function(){return[]},ld.prototype.getClass=function(){return ld},id.OFFSET_SEGMENT_SEPARATION_FACTOR.get=function(){return.001},id.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return.001},id.CURVE_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return 1e-6},id.MAX_CLOSING_SEG_LEN_FACTOR.get=function(){return 80},Object.defineProperties(ld,id);var rd=function(){this._distance=0,this._precisionModel=null,this._bufParams=null;var t=arguments[0],e=arguments[1];this._precisionModel=t,this._bufParams=e};rd.prototype.getOffsetCurve=function(t,e){if(this._distance=e,0===e)return null;var n=e<0,l=Math.abs(e),i=this.getSegGen(l);t.length<=1?this.computePointCurve(t[0],i):this.computeOffsetCurve(t,n,i);var r=i.getCoordinates();return n&&Qs.reverse(r),r},rd.prototype.computeSingleSidedBufferCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);if(e){n.addSegments(t,!0);var i=Jc.simplify(t,-l),r=i.length-1;n.initSideSegments(i[r],i[r-1],Ju.LEFT),n.addFirstSegment();for(var o=r-2;o>=0;o--)n.addNextSegment(i[o],!0)}else{n.addSegments(t,!1);var a=Jc.simplify(t,l),s=a.length-1;n.initSideSegments(a[0],a[1],Ju.LEFT),n.addFirstSegment();for(var u=2;u<=s;u++)n.addNextSegment(a[u],!0)}n.addLastSegment(),n.closeRing()},rd.prototype.computeRingBufferCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);e===Ju.RIGHT&&(l=-l);var i=Jc.simplify(t,l),r=i.length-1;n.initSideSegments(i[r-1],i[0],e);for(var o=1;o<=r;o++)n.addNextSegment(i[o],1!==o);n.closeRing()},rd.prototype.computeLineBufferCurve=function(t,e){var n=this.simplifyTolerance(this._distance),l=Jc.simplify(t,n),i=l.length-1;e.initSideSegments(l[0],l[1],Ju.LEFT);for(var r=2;r<=i;r++)e.addNextSegment(l[r],!0);e.addLastSegment(),e.addLineEndCap(l[i-1],l[i]);var o=Jc.simplify(t,-n),a=o.length-1;e.initSideSegments(o[a],o[a-1],Ju.LEFT);for(var s=a-2;s>=0;s--)e.addNextSegment(o[s],!0);e.addLastSegment(),e.addLineEndCap(o[1],o[0]),e.closeRing()},rd.prototype.computePointCurve=function(t,e){switch(this._bufParams.getEndCapStyle()){case Xc.CAP_ROUND:e.createCircle(t);break;case Xc.CAP_SQUARE:e.createSquare(t)}},rd.prototype.getLineCurve=function(t,e){if(this._distance=e,e<0&&!this._bufParams.isSingleSided())return null;if(0===e)return null;var n=Math.abs(e),l=this.getSegGen(n);return t.length<=1?this.computePointCurve(t[0],l):this._bufParams.isSingleSided()?this.computeSingleSidedBufferCurve(t,e<0,l):this.computeLineBufferCurve(t,l),l.getCoordinates()},rd.prototype.getBufferParameters=function(){return this._bufParams},rd.prototype.simplifyTolerance=function(t){return t*this._bufParams.getSimplifyFactor()},rd.prototype.getRingCurve=function(t,e,n){if(this._distance=n,t.length<=2)return this.getLineCurve(t,n);if(0===n)return rd.copyCoordinates(t);var l=this.getSegGen(n);return this.computeRingBufferCurve(t,e,l),l.getCoordinates()},rd.prototype.computeOffsetCurve=function(t,e,n){var l=this.simplifyTolerance(this._distance);if(e){var i=Jc.simplify(t,-l),r=i.length-1;n.initSideSegments(i[r],i[r-1],Ju.LEFT),n.addFirstSegment();for(var o=r-2;o>=0;o--)n.addNextSegment(i[o],!0)}else{var a=Jc.simplify(t,l),s=a.length-1;n.initSideSegments(a[0],a[1],Ju.LEFT),n.addFirstSegment();for(var u=2;u<=s;u++)n.addNextSegment(a[u],!0)}n.addLastSegment()},rd.prototype.getSegGen=function(t){return new ld(this._precisionModel,this._bufParams,t)},rd.prototype.interfaces_=function(){return[]},rd.prototype.getClass=function(){return rd},rd.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),n=0;n<e.length;n++)e[n]=new Xa(t[n]);return e};var od=function(){this._subgraphs=null,this._seg=new Uc,this._cga=new Es;var t=arguments[0];this._subgraphs=t},ad={DepthSegment:{configurable:!0}};od.prototype.findStabbedSegments=function(){if(1===arguments.length){for(var t=arguments[0],e=new Xs,n=this._subgraphs.iterator();n.hasNext();){var l=n.next(),i=l.getEnvelope();t.y<i.getMinY()||t.y>i.getMaxY()||this.findStabbedSegments(t,l.getDirectedEdges(),e)}return e}if(3===arguments.length)if(es(arguments[2],$s)&&arguments[0]instanceof Xa&&arguments[1]instanceof fc){for(var r=arguments[0],o=arguments[1],a=arguments[2],s=o.getEdge().getCoordinates(),u=0;u<s.length-1;u++)if(this._seg.p0=s[u],this._seg.p1=s[u+1],this._seg.p0.y>this._seg.p1.y&&this._seg.reverse(),!(Math.max(this._seg.p0.x,this._seg.p1.x)<r.x||this._seg.isHorizontal()||r.y<this._seg.p0.y||r.y>this._seg.p1.y||Es.computeOrientation(this._seg.p0,this._seg.p1,r)===Es.RIGHT)){var c=o.getDepth(Ju.LEFT);this._seg.p0.equals(s[u])||(c=o.getDepth(Ju.RIGHT));var d=new sd(this._seg,c);a.add(d)}}else if(es(arguments[2],$s)&&arguments[0]instanceof Xa&&es(arguments[1],$s))for(var h=arguments[0],p=arguments[1],f=arguments[2],b=p.iterator();b.hasNext();){var m=b.next();m.isForward()&&this.findStabbedSegments(h,m,f)}},od.prototype.getDepth=function(t){var e=this.findStabbedSegments(t);return 0===e.size()?0:xc.min(e)._leftDepth},od.prototype.interfaces_=function(){return[]},od.prototype.getClass=function(){return od},ad.DepthSegment.get=function(){return sd},Object.defineProperties(od,ad);var sd=function(){this._upwardSeg=null,this._leftDepth=null;var t=arguments[0],e=arguments[1];this._upwardSeg=new Uc(t),this._leftDepth=e};sd.prototype.compareTo=function(t){var e=t;if(this._upwardSeg.minX()>=e._upwardSeg.maxX())return 1;if(this._upwardSeg.maxX()<=e._upwardSeg.minX())return-1;var n=this._upwardSeg.orientationIndex(e._upwardSeg);return 0!==n||0!=(n=-1*e._upwardSeg.orientationIndex(this._upwardSeg))?n:this._upwardSeg.compareTo(e._upwardSeg)},sd.prototype.compareX=function(t,e){var n=t.p0.compareTo(e.p0);return 0!==n?n:t.p1.compareTo(e.p1)},sd.prototype.toString=function(){return this._upwardSeg.toString()},sd.prototype.interfaces_=function(){return[qa]},sd.prototype.getClass=function(){return sd};var ud=function(t,e,n){this.p0=t||null,this.p1=e||null,this.p2=n||null};ud.prototype.area=function(){return ud.area(this.p0,this.p1,this.p2)},ud.prototype.signedArea=function(){return ud.signedArea(this.p0,this.p1,this.p2)},ud.prototype.interpolateZ=function(t){if(null===t)throw new Ga("Supplied point is null.");return ud.interpolateZ(t,this.p0,this.p1,this.p2)},ud.prototype.longestSideLength=function(){return ud.longestSideLength(this.p0,this.p1,this.p2)},ud.prototype.isAcute=function(){return ud.isAcute(this.p0,this.p1,this.p2)},ud.prototype.circumcentre=function(){return ud.circumcentre(this.p0,this.p1,this.p2)},ud.prototype.area3D=function(){return ud.area3D(this.p0,this.p1,this.p2)},ud.prototype.centroid=function(){return ud.centroid(this.p0,this.p1,this.p2)},ud.prototype.inCentre=function(){return ud.inCentre(this.p0,this.p1,this.p2)},ud.prototype.interfaces_=function(){return[]},ud.prototype.getClass=function(){return ud},ud.area=function(t,e,n){return Math.abs(((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2)},ud.signedArea=function(t,e,n){return((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2},ud.det=function(t,e,n,l){return t*l-e*n},ud.interpolateZ=function(t,e,n,l){var i=e.x,r=e.y,o=n.x-i,a=l.x-i,s=n.y-r,u=l.y-r,c=o*u-a*s,d=t.x-i,h=t.y-r;return e.z+(u*d-a*h)/c*(n.z-e.z)+(-s*d+o*h)/c*(l.z-e.z)},ud.longestSideLength=function(t,e,n){var l=t.distance(e),i=e.distance(n),r=n.distance(t),o=l;return i>o&&(o=i),r>o&&(o=r),o},ud.isAcute=function(t,e,n){return!!ed.isAcute(t,e,n)&&!!ed.isAcute(e,n,t)&&!!ed.isAcute(n,t,e)},ud.circumcentre=function(t,e,n){var l=n.x,i=n.y,r=t.x-l,o=t.y-i,a=e.x-l,s=e.y-i,u=2*ud.det(r,o,a,s),c=ud.det(o,r*r+o*o,s,a*a+s*s),d=ud.det(r,r*r+o*o,a,a*a+s*s);return new Xa(l-c/u,i+d/u)},ud.perpendicularBisector=function(t,e){var n=e.x-t.x,l=e.y-t.y,i=new ms(t.x+n/2,t.y+l/2,1),r=new ms(t.x-l+n/2,t.y+n+l/2,1);return new ms(i,r)},ud.angleBisector=function(t,e,n){var l=e.distance(t),i=l/(l+e.distance(n));return new Xa(t.x+i*(n.x-t.x),t.y+i*(n.y-t.y))},ud.area3D=function(t,e,n){var l=e.x-t.x,i=e.y-t.y,r=e.z-t.z,o=n.x-t.x,a=n.y-t.y,s=n.z-t.z,u=i*s-r*a,c=r*o-l*s,d=l*a-i*o;return Math.sqrt(u*u+c*c+d*d)/2},ud.centroid=function(t,e,n){return new Xa((t.x+e.x+n.x)/3,(t.y+e.y+n.y)/3)},ud.inCentre=function(t,e,n){var l=e.distance(n),i=t.distance(n),r=t.distance(e),o=l+i+r;return new Xa((l*t.x+i*e.x+r*n.x)/o,(l*t.y+i*e.y+r*n.y)/o)};var cd=function(){this._inputGeom=null,this._distance=null,this._curveBuilder=null,this._curveList=new Xs;var t=arguments[0],e=arguments[1],n=arguments[2];this._inputGeom=t,this._distance=e,this._curveBuilder=n};cd.prototype.addPoint=function(t){if(this._distance<=0)return null;var e=t.getCoordinates(),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,Za.EXTERIOR,Za.INTERIOR)},cd.prototype.addPolygon=function(t){var e=this._distance,n=Ju.LEFT;this._distance<0&&(e=-this._distance,n=Ju.RIGHT);var l=t.getExteriorRing(),i=Qs.removeRepeatedPoints(l.getCoordinates());if(this._distance<0&&this.isErodedCompletely(l,this._distance))return null;if(this._distance<=0&&i.length<3)return null;this.addPolygonRing(i,e,n,Za.EXTERIOR,Za.INTERIOR);for(var r=0;r<t.getNumInteriorRing();r++){var o=t.getInteriorRingN(r),a=Qs.removeRepeatedPoints(o.getCoordinates());this._distance>0&&this.isErodedCompletely(o,-this._distance)||this.addPolygonRing(a,e,Ju.opposite(n),Za.INTERIOR,Za.EXTERIOR)}},cd.prototype.isTriangleErodedCompletely=function(t,e){var n=new ud(t[0],t[1],t[2]),l=n.inCentre();return Es.distancePointLine(l,n.p0,n.p1)<Math.abs(e)},cd.prototype.addLineString=function(t){if(this._distance<=0&&!this._curveBuilder.getBufferParameters().isSingleSided())return null;var e=Qs.removeRepeatedPoints(t.getCoordinates()),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,Za.EXTERIOR,Za.INTERIOR)},cd.prototype.addCurve=function(t,e,n){if(null===t||t.length<2)return null;var l=new Yc(t,new ic(0,Za.BOUNDARY,e,n));this._curveList.add(l)},cd.prototype.getCurves=function(){return this.add(this._inputGeom),this._curveList},cd.prototype.addPolygonRing=function(t,e,n,l,i){if(0===e&&t.length<ku.MINIMUM_VALID_SIZE)return null;var r=l,o=i;t.length>=ku.MINIMUM_VALID_SIZE&&Es.isCCW(t)&&(r=i,o=l,n=Ju.opposite(n));var a=this._curveBuilder.getRingCurve(t,n,e);this.addCurve(a,r,o)},cd.prototype.add=function(t){if(t.isEmpty())return null;t instanceof xu?this.addPolygon(t):t instanceof vu?this.addLineString(t):t instanceof wu?this.addPoint(t):(t instanceof Su||t instanceof bu||t instanceof Mu||t instanceof fu)&&this.addCollection(t)},cd.prototype.isErodedCompletely=function(t,e){var n=t.getCoordinates();if(n.length<4)return e<0;if(4===n.length)return this.isTriangleErodedCompletely(n,e);var l=t.getEnvelopeInternal(),i=Math.min(l.getHeight(),l.getWidth());return e<0&&2*Math.abs(e)>i},cd.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var n=t.getGeometryN(e);this.add(n)}},cd.prototype.interfaces_=function(){return[]},cd.prototype.getClass=function(){return cd};var dd=function(){};dd.prototype.locate=function(t){},dd.prototype.interfaces_=function(){return[]},dd.prototype.getClass=function(){return dd};var hd=function(){this._parent=null,this._atStart=null,this._max=null,this._index=null,this._subcollectionIterator=null;var t=arguments[0];this._parent=t,this._atStart=!0,this._index=0,this._max=t.getNumGeometries()};hd.prototype.next=function(){if(this._atStart)return this._atStart=!1,hd.isAtomic(this._parent)&&this._index++,this._parent;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return this._subcollectionIterator.next();this._subcollectionIterator=null}if(this._index>=this._max)throw new gi;var t=this._parent.getGeometryN(this._index++);return t instanceof fu?(this._subcollectionIterator=new hd(t),this._subcollectionIterator.next()):t},hd.prototype.remove=function(){throw new Error(this.getClass().getName())},hd.prototype.hasNext=function(){if(this._atStart)return!0;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return!0;this._subcollectionIterator=null}return!(this._index>=this._max)},hd.prototype.interfaces_=function(){return[Ws]},hd.prototype.getClass=function(){return hd},hd.isAtomic=function(t){return!(t instanceof fu)};var pd=function(){this._geom=null;var t=arguments[0];this._geom=t};pd.prototype.locate=function(t){return pd.locate(t,this._geom)},pd.prototype.interfaces_=function(){return[dd]},pd.prototype.getClass=function(){return pd},pd.isPointInRing=function(t,e){return!!e.getEnvelopeInternal().intersects(t)&&Es.isPointInRing(t,e.getCoordinates())},pd.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var n=e.getExteriorRing();if(!pd.isPointInRing(t,n))return!1;for(var l=0;l<e.getNumInteriorRing();l++){var i=e.getInteriorRingN(l);if(pd.isPointInRing(t,i))return!1}return!0},pd.containsPoint=function(t,e){if(e instanceof xu)return pd.containsPointInPolygon(t,e);if(e instanceof fu)for(var n=new hd(e);n.hasNext();){var l=n.next();if(l!==e&&pd.containsPoint(t,l))return!0}return!1},pd.locate=function(t,e){return e.isEmpty()?Za.EXTERIOR:pd.containsPoint(t,e)?Za.INTERIOR:Za.EXTERIOR};var fd=function(){this._edgeMap=new xi,this._edgeList=null,this._ptInAreaLocation=[Za.NONE,Za.NONE]};fd.prototype.getNextCW=function(t){this.getEdges();var e=this._edgeList.indexOf(t),n=e-1;return 0===e&&(n=this._edgeList.size()-1),this._edgeList.get(n)},fd.prototype.propagateSideLabels=function(t){for(var e=Za.NONE,n=this.iterator();n.hasNext();){var l=n.next().getLabel();l.isArea(t)&&l.getLocation(t,Ju.LEFT)!==Za.NONE&&(e=l.getLocation(t,Ju.LEFT))}if(e===Za.NONE)return null;for(var i=e,r=this.iterator();r.hasNext();){var o=r.next(),a=o.getLabel();if(a.getLocation(t,Ju.ON)===Za.NONE&&a.setLocation(t,Ju.ON,i),a.isArea(t)){var s=a.getLocation(t,Ju.LEFT),u=a.getLocation(t,Ju.RIGHT);if(u!==Za.NONE){if(u!==i)throw new tc("side location conflict",o.getCoordinate());s===Za.NONE&&Ss.shouldNeverReachHere("found single null side (at "+o.getCoordinate()+")"),i=s}else Ss.isTrue(a.getLocation(t,Ju.LEFT)===Za.NONE,"found single null side"),a.setLocation(t,Ju.RIGHT,i),a.setLocation(t,Ju.LEFT,i)}}},fd.prototype.getCoordinate=function(){var t=this.iterator();return t.hasNext()?t.next().getCoordinate():null},fd.prototype.print=function(t){bs.out.println("EdgeEndStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();)e.next().print(t)},fd.prototype.isAreaLabelsConsistent=function(t){return this.computeEdgeEndLabels(t.getBoundaryNodeRule()),this.checkAreaLabelsConsistent(0)},fd.prototype.checkAreaLabelsConsistent=function(t){var e=this.getEdges();if(e.size()<=0)return!0;var n=e.size()-1,l=e.get(n).getLabel().getLocation(t,Ju.LEFT);Ss.isTrue(l!==Za.NONE,"Found unlabelled area edge");for(var i=l,r=this.iterator();r.hasNext();){var o=r.next().getLabel();Ss.isTrue(o.isArea(t),"Found non-area edge");var a=o.getLocation(t,Ju.LEFT),s=o.getLocation(t,Ju.RIGHT);if(a===s)return!1;if(s!==i)return!1;i=a}return!0},fd.prototype.findIndex=function(t){this.iterator();for(var e=0;e<this._edgeList.size();e++)if(this._edgeList.get(e)===t)return e;return-1},fd.prototype.iterator=function(){return this.getEdges().iterator()},fd.prototype.getEdges=function(){return null===this._edgeList&&(this._edgeList=new Xs(this._edgeMap.values())),this._edgeList},fd.prototype.getLocation=function(t,e,n){return this._ptInAreaLocation[t]===Za.NONE&&(this._ptInAreaLocation[t]=pd.locate(e,n[t].getGeometry())),this._ptInAreaLocation[t]},fd.prototype.toString=function(){var t=new is;t.append("EdgeEndStar: "+this.getCoordinate()),t.append("\n");for(var e=this.iterator();e.hasNext();){var n=e.next();t.append(n),t.append("\n")}return t.toString()},fd.prototype.computeEdgeEndLabels=function(t){for(var e=this.iterator();e.hasNext();)e.next().computeLabel(t)},fd.prototype.computeLabelling=function(t){this.computeEdgeEndLabels(t[0].getBoundaryNodeRule()),this.propagateSideLabels(0),this.propagateSideLabels(1);for(var e=[!1,!1],n=this.iterator();n.hasNext();)for(var l=n.next().getLabel(),i=0;i<2;i++)l.isLine(i)&&l.getLocation(i)===Za.BOUNDARY&&(e[i]=!0);for(var r=this.iterator();r.hasNext();)for(var o=r.next(),a=o.getLabel(),s=0;s<2;s++)if(a.isAnyNull(s)){var u=Za.NONE;if(e[s])u=Za.EXTERIOR;else{var c=o.getCoordinate();u=this.getLocation(s,c,t)}a.setAllLocationsIfNull(s,u)}},fd.prototype.getDegree=function(){return this._edgeMap.size()},fd.prototype.insertEdgeEnd=function(t,e){this._edgeMap.put(t,e),this._edgeList=null},fd.prototype.interfaces_=function(){return[]},fd.prototype.getClass=function(){return fd};var bd=function(t){function e(){t.call(this),this._resultAreaEdgeList=null,this._label=null,this._SCANNING_FOR_INCOMING=1,this._LINKING_TO_OUTGOING=2}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.linkResultDirectedEdges=function(){this.getResultAreaEdges();for(var t=null,e=null,n=this._SCANNING_FOR_INCOMING,l=0;l<this._resultAreaEdgeList.size();l++){var i=this._resultAreaEdgeList.get(l),r=i.getSym();if(i.getLabel().isArea())switch(null===t&&i.isInResult()&&(t=i),n){case this._SCANNING_FOR_INCOMING:if(!r.isInResult())continue;e=r,n=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(!i.isInResult())continue;e.setNext(i),n=this._SCANNING_FOR_INCOMING}}if(n===this._LINKING_TO_OUTGOING){if(null===t)throw new tc("no outgoing dirEdge found",this.getCoordinate());Ss.isTrue(t.isInResult(),"unable to link last incoming dirEdge"),e.setNext(t)}},e.prototype.insert=function(t){this.insertEdgeEnd(t,t)},e.prototype.getRightmostEdge=function(){var t=this.getEdges(),e=t.size();if(e<1)return null;var n=t.get(0);if(1===e)return n;var l=t.get(e-1),i=n.getQuadrant(),r=l.getQuadrant();return dc.isNorthern(i)&&dc.isNorthern(r)?n:dc.isNorthern(i)||dc.isNorthern(r)?0!==n.getDy()?n:0!==l.getDy()?l:(Ss.shouldNeverReachHere("found two horizontal edges incident on node"),null):l},e.prototype.print=function(t){bs.out.println("DirectedEdgeStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();){var n=e.next();t.print("out "),n.print(t),t.println(),t.print("in "),n.getSym().print(t),t.println()}},e.prototype.getResultAreaEdges=function(){if(null!==this._resultAreaEdgeList)return this._resultAreaEdgeList;this._resultAreaEdgeList=new Xs;for(var t=this.iterator();t.hasNext();){var e=t.next();(e.isInResult()||e.getSym().isInResult())&&this._resultAreaEdgeList.add(e)}return this._resultAreaEdgeList},e.prototype.updateLabelling=function(t){for(var e=this.iterator();e.hasNext();){var n=e.next().getLabel();n.setAllLocationsIfNull(0,t.getLocation(0)),n.setAllLocationsIfNull(1,t.getLocation(1))}},e.prototype.linkAllDirectedEdges=function(){this.getEdges();for(var t=null,e=null,n=this._edgeList.size()-1;n>=0;n--){var l=this._edgeList.get(n),i=l.getSym();null===e&&(e=i),null!==t&&i.setNext(t),t=l}e.setNext(t)},e.prototype.computeDepths=function(){if(1===arguments.length){var t=arguments[0],e=this.findIndex(t),n=t.getDepth(Ju.LEFT),l=t.getDepth(Ju.RIGHT),i=this.computeDepths(e+1,this._edgeList.size(),n);if(this.computeDepths(0,e,i)!==l)throw new tc("depth mismatch at "+t.getCoordinate())}else if(3===arguments.length){for(var r=arguments[0],o=arguments[1],a=arguments[2],s=r;s<o;s++){var u=this._edgeList.get(s);u.setEdgeDepths(Ju.RIGHT,a),a=u.getDepth(Ju.LEFT)}return a}},e.prototype.mergeSymLabels=function(){for(var t=this.iterator();t.hasNext();){var e=t.next();e.getLabel().merge(e.getSym().getLabel())}},e.prototype.linkMinimalDirectedEdges=function(t){for(var e=null,n=null,l=this._SCANNING_FOR_INCOMING,i=this._resultAreaEdgeList.size()-1;i>=0;i--){var r=this._resultAreaEdgeList.get(i),o=r.getSym();switch(null===e&&r.getEdgeRing()===t&&(e=r),l){case this._SCANNING_FOR_INCOMING:if(o.getEdgeRing()!==t)continue;n=o,l=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(r.getEdgeRing()!==t)continue;n.setNextMin(r),l=this._SCANNING_FOR_INCOMING}}l===this._LINKING_TO_OUTGOING&&(Ss.isTrue(null!==e,"found null for first outgoing dirEdge"),Ss.isTrue(e.getEdgeRing()===t,"unable to link last incoming dirEdge"),n.setNextMin(e))},e.prototype.getOutgoingDegree=function(){if(0===arguments.length){for(var t=0,e=this.iterator();e.hasNext();)e.next().isInResult()&&t++;return t}if(1===arguments.length){for(var n=arguments[0],l=0,i=this.iterator();i.hasNext();)i.next().getEdgeRing()===n&&l++;return l}},e.prototype.getLabel=function(){return this._label},e.prototype.findCoveredLineEdges=function(){for(var t=Za.NONE,e=this.iterator();e.hasNext();){var n=e.next(),l=n.getSym();if(!n.isLineEdge()){if(n.isInResult()){t=Za.INTERIOR;break}if(l.isInResult()){t=Za.EXTERIOR;break}}}if(t===Za.NONE)return null;for(var i=t,r=this.iterator();r.hasNext();){var o=r.next(),a=o.getSym();o.isLineEdge()?o.getEdge().setCovered(i===Za.INTERIOR):(o.isInResult()&&(i=Za.EXTERIOR),a.isInResult()&&(i=Za.INTERIOR))}},e.prototype.computeLabelling=function(e){t.prototype.computeLabelling.call(this,e),this._label=new ic(Za.NONE);for(var n=this.iterator();n.hasNext();)for(var l=n.next().getEdge().getLabel(),i=0;i<2;i++){var r=l.getLocation(i);r!==Za.INTERIOR&&r!==Za.BOUNDARY||this._label.setLocation(i,Za.INTERIOR)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(fd),md=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createNode=function(t){return new uc(t,new bd)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(bc),gd=function t(){this._pts=null,this._orientation=null;var e=arguments[0];this._pts=e,this._orientation=t.orientation(e)};gd.prototype.compareTo=function(t){return gd.compareOriented(this._pts,this._orientation,t._pts,t._orientation)},gd.prototype.interfaces_=function(){return[qa]},gd.prototype.getClass=function(){return gd},gd.orientation=function(t){return 1===Qs.increasingDirection(t)},gd.compareOriented=function(t,e,n,l){for(var i=e?1:-1,r=l?1:-1,o=e?t.length:-1,a=l?n.length:-1,s=e?0:t.length-1,u=l?0:n.length-1;;){var c=t[s].compareTo(n[u]);if(0!==c)return c;var d=(s+=i)===o,h=(u+=r)===a;if(d&&!h)return-1;if(!d&&h)return 1;if(d&&h)return 0}};var _d=function(){this._edges=new Xs,this._ocaMap=new xi};_d.prototype.print=function(t){t.print("MULTILINESTRING ( ");for(var e=0;e<this._edges.size();e++){var n=this._edges.get(e);e>0&&t.print(","),t.print("(");for(var l=n.getCoordinates(),i=0;i<l.length;i++)i>0&&t.print(","),t.print(l[i].x+" "+l[i].y);t.println(")")}t.print(") ")},_d.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next())},_d.prototype.findEdgeIndex=function(t){for(var e=0;e<this._edges.size();e++)if(this._edges.get(e).equals(t))return e;return-1},_d.prototype.iterator=function(){return this._edges.iterator()},_d.prototype.getEdges=function(){return this._edges},_d.prototype.get=function(t){return this._edges.get(t)},_d.prototype.findEqualEdge=function(t){var e=new gd(t.getCoordinates());return this._ocaMap.get(e)},_d.prototype.add=function(t){this._edges.add(t);var e=new gd(t.getCoordinates());this._ocaMap.put(e,t)},_d.prototype.interfaces_=function(){return[]},_d.prototype.getClass=function(){return _d};var yd=function(){};yd.prototype.processIntersections=function(t,e,n,l){},yd.prototype.isDone=function(){},yd.prototype.interfaces_=function(){return[]},yd.prototype.getClass=function(){return yd};var Ad=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._hasInterior=!1,this._properIntersectionPoint=null,this._li=null,this._isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this._li=t};Ad.prototype.isTrivialIntersection=function(t,e,n,l){if(t===n&&1===this._li.getIntersectionNum()){if(Ad.isAdjacentSegments(e,l))return!0;if(t.isClosed()){var i=t.size()-1;if(0===e&&l===i||0===l&&e===i)return!0}}return!1},Ad.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},Ad.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},Ad.prototype.getLineIntersector=function(){return this._li},Ad.prototype.hasProperIntersection=function(){return this._hasProper},Ad.prototype.processIntersections=function(t,e,n,l){if(t===n&&e===l)return null;this.numTests++;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&(this.numIntersections++,this._li.isInteriorIntersection()&&(this.numInteriorIntersections++,this._hasInterior=!0),this.isTrivialIntersection(t,e,n,l)||(this._hasIntersection=!0,t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1),this._li.isProper()&&(this.numProperIntersections++,this._hasProper=!0,this._hasProperInterior=!0)))},Ad.prototype.hasIntersection=function(){return this._hasIntersection},Ad.prototype.isDone=function(){return!1},Ad.prototype.hasInteriorIntersection=function(){return this._hasInterior},Ad.prototype.interfaces_=function(){return[yd]},Ad.prototype.getClass=function(){return Ad},Ad.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var vd=function(){this.coord=null,this.segmentIndex=null,this.dist=null;var t=arguments[0],e=arguments[1],n=arguments[2];this.coord=new Xa(t),this.segmentIndex=e,this.dist=n};vd.prototype.getSegmentIndex=function(){return this.segmentIndex},vd.prototype.getCoordinate=function(){return this.coord},vd.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex),t.println(" dist = "+this.dist)},vd.prototype.compareTo=function(t){return this.compare(t.segmentIndex,t.dist)},vd.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&0===this.dist||this.segmentIndex===t},vd.prototype.toString=function(){return this.coord+" seg # = "+this.segmentIndex+" dist = "+this.dist},vd.prototype.getDistance=function(){return this.dist},vd.prototype.compare=function(t,e){return this.segmentIndex<t?-1:this.segmentIndex>t?1:this.dist<e?-1:this.dist>e?1:0},vd.prototype.interfaces_=function(){return[qa]},vd.prototype.getClass=function(){return vd};var Cd=function(){this._nodeMap=new xi,this.edge=null;var t=arguments[0];this.edge=t};Cd.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},Cd.prototype.iterator=function(){return this._nodeMap.values().iterator()},Cd.prototype.addSplitEdges=function(t){this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var l=e.next(),i=this.createSplitEdge(n,l);t.add(i),n=l}},Cd.prototype.addEndpoints=function(){var t=this.edge.pts.length-1;this.add(this.edge.pts[0],0,0),this.add(this.edge.pts[t],t,0)},Cd.prototype.createSplitEdge=function(t,e){var n=e.segmentIndex-t.segmentIndex+2,l=e.dist>0||!e.coord.equals2D(this.edge.pts[e.segmentIndex]);l||n--;var i=new Array(n).fill(null),r=0;i[r++]=new Xa(t.coord);for(var o=t.segmentIndex+1;o<=e.segmentIndex;o++)i[r++]=this.edge.pts[o];return l&&(i[r]=e.coord),new kd(i,new ic(this.edge._label))},Cd.prototype.add=function(t,e,n){var l=new vd(t,e,n),i=this._nodeMap.get(l);return null!==i?i:(this._nodeMap.put(l,l),l)},Cd.prototype.isIntersection=function(t){for(var e=this.iterator();e.hasNext();)if(e.next().coord.equals(t))return!0;return!1},Cd.prototype.interfaces_=function(){return[]},Cd.prototype.getClass=function(){return Cd};var wd=function(){};wd.prototype.getChainStartIndices=function(t){var e=0,n=new Xs;n.add(new rs(e));do{var l=this.findChainEnd(t,e);n.add(new rs(l)),e=l}while(e<t.length-1);return wd.toIntArray(n)},wd.prototype.findChainEnd=function(t,e){for(var n=dc.quadrant(t[e],t[e+1]),l=e+1;l<t.length&&dc.quadrant(t[l-1],t[l])===n;)l++;return l-1},wd.prototype.interfaces_=function(){return[]},wd.prototype.getClass=function(){return wd},wd.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var Pd=function(){this.e=null,this.pts=null,this.startIndex=null,this.env1=new gs,this.env2=new gs;var t=arguments[0];this.e=t,this.pts=t.getCoordinates();var e=new wd;this.startIndex=e.getChainStartIndices(this.pts)};Pd.prototype.getCoordinates=function(){return this.pts},Pd.prototype.getMaxX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e>n?e:n},Pd.prototype.getMinX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e<n?e:n},Pd.prototype.computeIntersectsForChain=function(){if(4===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2],l=arguments[3];this.computeIntersectsForChain(this.startIndex[t],this.startIndex[t+1],e,e.startIndex[n],e.startIndex[n+1],l)}else if(6===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],u=arguments[5],c=this.pts[i],d=this.pts[r],h=o.pts[a],p=o.pts[s];if(r-i==1&&s-a==1)return u.addIntersections(this.e,i,o.e,a),null;if(this.env1.init(c,d),this.env2.init(h,p),!this.env1.intersects(this.env2))return null;var f=Math.trunc((i+r)/2),b=Math.trunc((a+s)/2);i<f&&(a<b&&this.computeIntersectsForChain(i,f,o,a,b,u),b<s&&this.computeIntersectsForChain(i,f,o,b,s,u)),f<r&&(a<b&&this.computeIntersectsForChain(f,r,o,a,b,u),b<s&&this.computeIntersectsForChain(f,r,o,b,s,u))}},Pd.prototype.getStartIndexes=function(){return this.startIndex},Pd.prototype.computeIntersects=function(t,e){for(var n=0;n<this.startIndex.length-1;n++)for(var l=0;l<t.startIndex.length-1;l++)this.computeIntersectsForChain(n,t,l,e)},Pd.prototype.interfaces_=function(){return[]},Pd.prototype.getClass=function(){return Pd};var xd=function t(){this._depth=Array(2).fill().map((function(){return Array(3)}));for(var e=0;e<2;e++)for(var n=0;n<3;n++)this._depth[e][n]=t.NULL_VALUE},Sd={NULL_VALUE:{configurable:!0}};xd.prototype.getDepth=function(t,e){return this._depth[t][e]},xd.prototype.setDepth=function(t,e,n){this._depth[t][e]=n},xd.prototype.isNull=function(){if(0===arguments.length){for(var t=0;t<2;t++)for(var e=0;e<3;e++)if(this._depth[t][e]!==xd.NULL_VALUE)return!1;return!0}if(1===arguments.length){var n=arguments[0];return this._depth[n][1]===xd.NULL_VALUE}if(2===arguments.length){var l=arguments[0],i=arguments[1];return this._depth[l][i]===xd.NULL_VALUE}},xd.prototype.normalize=function(){for(var t=0;t<2;t++)if(!this.isNull(t)){var e=this._depth[t][1];this._depth[t][2]<e&&(e=this._depth[t][2]),e<0&&(e=0);for(var n=1;n<3;n++){var l=0;this._depth[t][n]>e&&(l=1),this._depth[t][n]=l}}},xd.prototype.getDelta=function(t){return this._depth[t][Ju.RIGHT]-this._depth[t][Ju.LEFT]},xd.prototype.getLocation=function(t,e){return this._depth[t][e]<=0?Za.EXTERIOR:Za.INTERIOR},xd.prototype.toString=function(){return"A: "+this._depth[0][1]+","+this._depth[0][2]+" B: "+this._depth[1][1]+","+this._depth[1][2]},xd.prototype.add=function(){if(1===arguments.length)for(var t=arguments[0],e=0;e<2;e++)for(var n=1;n<3;n++){var l=t.getLocation(e,n);l!==Za.EXTERIOR&&l!==Za.INTERIOR||(this.isNull(e,n)?this._depth[e][n]=xd.depthAtLocation(l):this._depth[e][n]+=xd.depthAtLocation(l))}else if(3===arguments.length){var i=arguments[0],r=arguments[1];arguments[2]===Za.INTERIOR&&this._depth[i][r]++}},xd.prototype.interfaces_=function(){return[]},xd.prototype.getClass=function(){return xd},xd.depthAtLocation=function(t){return t===Za.EXTERIOR?0:t===Za.INTERIOR?1:xd.NULL_VALUE},Sd.NULL_VALUE.get=function(){return-1},Object.defineProperties(xd,Sd);var kd=function(t){function e(){if(t.call(this),this.pts=null,this._env=null,this.eiList=new Cd(this),this._name=null,this._mce=null,this._isIsolated=!0,this._depth=new xd,this._depthDelta=0,1===arguments.length){var n=arguments[0];e.call(this,n,null)}else if(2===arguments.length){var l=arguments[0],i=arguments[1];this.pts=l,this._label=i}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDepth=function(){return this._depth},e.prototype.getCollapsedEdge=function(){var t=new Array(2).fill(null);return t[0]=this.pts[0],t[1]=this.pts[1],new e(t,ic.toLineLabel(this._label))},e.prototype.isIsolated=function(){return this._isIsolated},e.prototype.getCoordinates=function(){return this.pts},e.prototype.setIsolated=function(t){this._isIsolated=t},e.prototype.setName=function(t){this._name=t},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.pts.length!==n.pts.length)return!1;for(var l=!0,i=!0,r=this.pts.length,o=0;o<this.pts.length;o++)if(this.pts[o].equals2D(n.pts[o])||(l=!1),this.pts[o].equals2D(n.pts[--r])||(i=!1),!l&&!i)return!1;return!0},e.prototype.getCoordinate=function(){if(0===arguments.length)return this.pts.length>0?this.pts[0]:null;if(1===arguments.length){var t=arguments[0];return this.pts[t]}},e.prototype.print=function(t){t.print("edge "+this._name+": "),t.print("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.print(","),t.print(this.pts[e].x+" "+this.pts[e].y);t.print(") "+this._label+" "+this._depthDelta)},e.prototype.computeIM=function(t){e.updateIM(this._label,t)},e.prototype.isCollapsed=function(){return!!this._label.isArea()&&3===this.pts.length&&!!this.pts[0].equals(this.pts[2])},e.prototype.isClosed=function(){return this.pts[0].equals(this.pts[this.pts.length-1])},e.prototype.getMaximumSegmentIndex=function(){return this.pts.length-1},e.prototype.getDepthDelta=function(){return this._depthDelta},e.prototype.getNumPoints=function(){return this.pts.length},e.prototype.printReverse=function(t){t.print("edge "+this._name+": ");for(var e=this.pts.length-1;e>=0;e--)t.print(this.pts[e]+" ");t.println("")},e.prototype.getMonotoneChainEdge=function(){return null===this._mce&&(this._mce=new Pd(this)),this._mce},e.prototype.getEnvelope=function(){if(null===this._env){this._env=new gs;for(var t=0;t<this.pts.length;t++)this._env.expandToInclude(this.pts[t])}return this._env},e.prototype.addIntersection=function(t,e,n,l){var i=new Xa(t.getIntersection(l)),r=e,o=t.getEdgeDistance(n,l),a=r+1;a<this.pts.length&&i.equals2D(this.pts[a])&&(r=a,o=0),this.eiList.add(i,r,o)},e.prototype.toString=function(){var t=new is;t.append("edge "+this._name+": "),t.append("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.append(","),t.append(this.pts[e].x+" "+this.pts[e].y);return t.append(") "+this._label+" "+this._depthDelta),t.toString()},e.prototype.isPointwiseEqual=function(t){if(this.pts.length!==t.pts.length)return!1;for(var e=0;e<this.pts.length;e++)if(!this.pts[e].equals2D(t.pts[e]))return!1;return!0},e.prototype.setDepthDelta=function(t){this._depthDelta=t},e.prototype.getEdgeIntersectionList=function(){return this.eiList},e.prototype.addIntersections=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++)this.addIntersection(t,e,n,l)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.updateIM=function(){if(2!==arguments.length)return t.prototype.updateIM.apply(this,arguments);var e=arguments[0],n=arguments[1];n.setAtLeastIfValid(e.getLocation(0,Ju.ON),e.getLocation(1,Ju.ON),1),e.isArea()&&(n.setAtLeastIfValid(e.getLocation(0,Ju.LEFT),e.getLocation(1,Ju.LEFT),2),n.setAtLeastIfValid(e.getLocation(0,Ju.RIGHT),e.getLocation(1,Ju.RIGHT),2))},e}(sc),Md=function(t){this._workingPrecisionModel=null,this._workingNoder=null,this._geomFact=null,this._graph=null,this._edgeList=new _d,this._bufParams=t||null};Md.prototype.setWorkingPrecisionModel=function(t){this._workingPrecisionModel=t},Md.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var n=e.getLabel(),l=t.getLabel();e.isPointwiseEqual(t)||(l=new ic(t.getLabel())).flip(),n.merge(l);var i=Md.depthDelta(l),r=e.getDepthDelta()+i;e.setDepthDelta(r)}else this._edgeList.add(t),t.setDepthDelta(Md.depthDelta(t.getLabel()))},Md.prototype.buildSubgraphs=function(t,e){for(var n=new Xs,l=t.iterator();l.hasNext();){var i=l.next(),r=i.getRightmostCoordinate(),o=new od(n).getDepth(r);i.computeDepth(o),i.findResultEdges(),n.add(i),e.add(i.getDirectedEdges(),i.getNodes())}},Md.prototype.createSubgraphs=function(t){for(var e=new Xs,n=t.getNodes().iterator();n.hasNext();){var l=n.next();if(!l.isVisited()){var i=new nc;i.create(l),e.add(i)}}return xc.sort(e,xc.reverseOrder()),e},Md.prototype.createEmptyResultGeometry=function(){return this._geomFact.createPolygon()},Md.prototype.getNoder=function(t){if(null!==this._workingNoder)return this._workingNoder;var e=new Wc,n=new Os;return n.setPrecisionModel(t),e.setSegmentIntersector(new Ad(n)),e},Md.prototype.buffer=function(t,e){var n=this._workingPrecisionModel;null===n&&(n=t.getPrecisionModel()),this._geomFact=t.getFactory();var l=new rd(n,this._bufParams),i=new cd(t,e,l).getCurves();if(i.size()<=0)return this.createEmptyResultGeometry();this.computeNodedEdges(i,n),this._graph=new mc(new md),this._graph.addEdges(this._edgeList.getEdges());var r=this.createSubgraphs(this._graph),o=new gc(this._geomFact);this.buildSubgraphs(r,o);var a=o.getPolygons();return a.size()<=0?this.createEmptyResultGeometry():this._geomFact.buildGeometry(a)},Md.prototype.computeNodedEdges=function(t,e){var n=this.getNoder(e);n.computeNodes(t);for(var l=n.getNodedSubstrings().iterator();l.hasNext();){var i=l.next(),r=i.getCoordinates();if(2!==r.length||!r[0].equals2D(r[1])){var o=i.getData(),a=new kd(i.getCoordinates(),new ic(o));this.insertUniqueEdge(a)}}},Md.prototype.setNoder=function(t){this._workingNoder=t},Md.prototype.interfaces_=function(){return[]},Md.prototype.getClass=function(){return Md},Md.depthDelta=function(t){var e=t.getLocation(0,Ju.LEFT),n=t.getLocation(0,Ju.RIGHT);return e===Za.INTERIOR&&n===Za.EXTERIOR?1:e===Za.EXTERIOR&&n===Za.INTERIOR?-1:0},Md.convertSegStrings=function(t){for(var e=new Gu,n=new Xs;t.hasNext();){var l=t.next(),i=e.createLineString(l.getCoordinates());n.add(i)}return e.buildGeometry(n)};var Od=function(){if(this._noder=null,this._scaleFactor=null,this._offsetX=null,this._offsetY=null,this._isScaled=!1,2===arguments.length){var t=arguments[0],e=arguments[1];this._noder=t,this._scaleFactor=e,this._offsetX=0,this._offsetY=0,this._isScaled=!this.isIntegerPrecision()}else if(4===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=arguments[3];this._noder=n,this._scaleFactor=l,this._offsetX=i,this._offsetY=r,this._isScaled=!this.isIntegerPrecision()}};Od.prototype.rescale=function(){if(es(arguments[0],Vs))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.rescale(e.getCoordinates())}else if(arguments[0]instanceof Array){for(var n=arguments[0],l=0;l<n.length;l++)n[l].x=n[l].x/this._scaleFactor+this._offsetX,n[l].y=n[l].y/this._scaleFactor+this._offsetY;2===n.length&&n[0].equals2D(n[1])&&bs.out.println(n)}},Od.prototype.scale=function(){if(es(arguments[0],Vs)){for(var t=arguments[0],e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();e.add(new Yc(this.scale(l.getCoordinates()),l.getData()))}return e}if(arguments[0]instanceof Array){for(var i=arguments[0],r=new Array(i.length).fill(null),o=0;o<i.length;o++)r[o]=new Xa(Math.round((i[o].x-this._offsetX)*this._scaleFactor),Math.round((i[o].y-this._offsetY)*this._scaleFactor),i[o].z);return Qs.removeRepeatedPoints(r)}},Od.prototype.isIntegerPrecision=function(){return 1===this._scaleFactor},Od.prototype.getNodedSubstrings=function(){var t=this._noder.getNodedSubstrings();return this._isScaled&&this.rescale(t),t},Od.prototype.computeNodes=function(t){var e=t;this._isScaled&&(e=this.scale(t)),this._noder.computeNodes(e)},Od.prototype.interfaces_=function(){return[Vc]},Od.prototype.getClass=function(){return Od};var Dd=function(){this._li=new Os,this._segStrings=null;var t=arguments[0];this._segStrings=t},Td={fact:{configurable:!0}};Dd.prototype.checkEndPtVertexIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next().getCoordinates();this.checkEndPtVertexIntersections(e[0],this._segStrings),this.checkEndPtVertexIntersections(e[e.length-1],this._segStrings)}else if(2===arguments.length)for(var n=arguments[0],l=arguments[1].iterator();l.hasNext();)for(var i=l.next().getCoordinates(),r=1;r<i.length-1;r++)if(i[r].equals(n))throw new Ps("found endpt/interior pt intersection at index "+r+" :pt "+n)},Dd.prototype.checkInteriorIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();)for(var e=t.next(),n=this._segStrings.iterator();n.hasNext();){var l=n.next();this.checkInteriorIntersections(e,l)}else if(2===arguments.length)for(var i=arguments[0],r=arguments[1],o=i.getCoordinates(),a=r.getCoordinates(),s=0;s<o.length-1;s++)for(var u=0;u<a.length-1;u++)this.checkInteriorIntersections(i,s,r,u);else if(4===arguments.length){var c=arguments[0],d=arguments[1],h=arguments[2],p=arguments[3];if(c===h&&d===p)return null;var f=c.getCoordinates()[d],b=c.getCoordinates()[d+1],m=h.getCoordinates()[p],g=h.getCoordinates()[p+1];if(this._li.computeIntersection(f,b,m,g),this._li.hasIntersection()&&(this._li.isProper()||this.hasInteriorIntersection(this._li,f,b)||this.hasInteriorIntersection(this._li,m,g)))throw new Ps("found non-noded intersection at "+f+"-"+b+" and "+m+"-"+g)}},Dd.prototype.checkValid=function(){this.checkEndPtVertexIntersections(),this.checkInteriorIntersections(),this.checkCollapses()},Dd.prototype.checkCollapses=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next();this.checkCollapses(e)}else if(1===arguments.length)for(var n=arguments[0].getCoordinates(),l=0;l<n.length-2;l++)this.checkCollapse(n[l],n[l+1],n[l+2])},Dd.prototype.hasInteriorIntersection=function(t,e,n){for(var l=0;l<t.getIntersectionNum();l++){var i=t.getIntersection(l);if(!i.equals(e)&&!i.equals(n))return!0}return!1},Dd.prototype.checkCollapse=function(t,e,n){if(t.equals(n))throw new Ps("found non-noded collapse at "+Dd.fact.createLineString([t,e,n]))},Dd.prototype.interfaces_=function(){return[]},Dd.prototype.getClass=function(){return Dd},Td.fact.get=function(){return new Gu},Object.defineProperties(Dd,Td);var Ed=function(){this._li=null,this._pt=null,this._originalPt=null,this._ptScaled=null,this._p0Scaled=null,this._p1Scaled=null,this._scaleFactor=null,this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,this._corner=new Array(4).fill(null),this._safeEnv=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(this._originalPt=t,this._pt=t,this._scaleFactor=e,this._li=n,e<=0)throw new Ga("Scale factor must be non-zero");1!==e&&(this._pt=new Xa(this.scale(t.x),this.scale(t.y)),this._p0Scaled=new Xa,this._p1Scaled=new Xa),this.initCorners(this._pt)},Id={SAFE_ENV_EXPANSION_FACTOR:{configurable:!0}};Ed.prototype.intersectsScaled=function(t,e){var n=Math.min(t.x,e.x),l=Math.max(t.x,e.x),i=Math.min(t.y,e.y),r=Math.max(t.y,e.y),o=this._maxx<n||this._minx>l||this._maxy<i||this._miny>r;if(o)return!1;var a=this.intersectsToleranceSquare(t,e);return Ss.isTrue(!(o&&a),"Found bad envelope test"),a},Ed.prototype.initCorners=function(t){this._minx=t.x-.5,this._maxx=t.x+.5,this._miny=t.y-.5,this._maxy=t.y+.5,this._corner[0]=new Xa(this._maxx,this._maxy),this._corner[1]=new Xa(this._minx,this._maxy),this._corner[2]=new Xa(this._minx,this._miny),this._corner[3]=new Xa(this._maxx,this._miny)},Ed.prototype.intersects=function(t,e){return 1===this._scaleFactor?this.intersectsScaled(t,e):(this.copyScaled(t,this._p0Scaled),this.copyScaled(e,this._p1Scaled),this.intersectsScaled(this._p0Scaled,this._p1Scaled))},Ed.prototype.scale=function(t){return Math.round(t*this._scaleFactor)},Ed.prototype.getCoordinate=function(){return this._originalPt},Ed.prototype.copyScaled=function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)},Ed.prototype.getSafeEnvelope=function(){if(null===this._safeEnv){var t=Ed.SAFE_ENV_EXPANSION_FACTOR/this._scaleFactor;this._safeEnv=new gs(this._originalPt.x-t,this._originalPt.x+t,this._originalPt.y-t,this._originalPt.y+t)}return this._safeEnv},Ed.prototype.intersectsPixelClosure=function(t,e){return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.hasIntersection()))))},Ed.prototype.intersectsToleranceSquare=function(t,e){var n=!1,l=!1;return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.isProper()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.isProper()||(this._li.hasIntersection()&&(n=!0),this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.isProper()||(this._li.hasIntersection()&&(l=!0),this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.isProper()||n&&l||t.equals(this._pt)||e.equals(this._pt)))))},Ed.prototype.addSnappedNode=function(t,e){var n=t.getCoordinate(e),l=t.getCoordinate(e+1);return!!this.intersects(n,l)&&(t.addIntersection(this.getCoordinate(),e),!0)},Ed.prototype.interfaces_=function(){return[]},Ed.prototype.getClass=function(){return Ed},Id.SAFE_ENV_EXPANSION_FACTOR.get=function(){return.75},Object.defineProperties(Ed,Id);var Ld=function(){this.tempEnv1=new gs,this.selectedSegment=new Uc};Ld.prototype.select=function(){if(1===arguments.length);else if(2===arguments.length){var t=arguments[0],e=arguments[1];t.getLineSegment(e,this.selectedSegment),this.select(this.selectedSegment)}},Ld.prototype.interfaces_=function(){return[]},Ld.prototype.getClass=function(){return Ld};var jd=function(){this._index=null;var t=arguments[0];this._index=t},Rd={HotPixelSnapAction:{configurable:!0}};jd.prototype.snap=function(){if(1===arguments.length){var t=arguments[0];return this.snap(t,null,-1)}if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2],i=e.getSafeEnvelope(),r=new Fd(e,n,l);return this._index.query(i,{interfaces_:function(){return[vc]},visitItem:function(t){t.select(i,r)}}),r.isNodeAdded()}},jd.prototype.interfaces_=function(){return[]},jd.prototype.getClass=function(){return jd},Rd.HotPixelSnapAction.get=function(){return Fd},Object.defineProperties(jd,Rd);var Fd=function(t){function e(){t.call(this),this._hotPixel=null,this._parentEdge=null,this._hotPixelVertexIndex=null,this._isNodeAdded=!1;var e=arguments[0],n=arguments[1],l=arguments[2];this._hotPixel=e,this._parentEdge=n,this._hotPixelVertexIndex=l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.isNodeAdded=function(){return this._isNodeAdded},e.prototype.select=function(){if(2!==arguments.length)return t.prototype.select.apply(this,arguments);var e=arguments[0],n=arguments[1],l=e.getContext();if(null!==this._parentEdge&&l===this._parentEdge&&n===this._hotPixelVertexIndex)return null;this._isNodeAdded=this._hotPixel.addSnappedNode(l,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Ld),Nd=function(){this._li=null,this._interiorIntersections=null;var t=arguments[0];this._li=t,this._interiorIntersections=new Xs};Nd.prototype.processIntersections=function(t,e,n,l){if(t===n&&e===l)return null;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];if(this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&this._li.isInteriorIntersection()){for(var s=0;s<this._li.getIntersectionNum();s++)this._interiorIntersections.add(this._li.getIntersection(s));t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1)}},Nd.prototype.isDone=function(){return!1},Nd.prototype.getInteriorIntersections=function(){return this._interiorIntersections},Nd.prototype.interfaces_=function(){return[yd]},Nd.prototype.getClass=function(){return Nd};var Yd=function(){this._pm=null,this._li=null,this._scaleFactor=null,this._noder=null,this._pointSnapper=null,this._nodedSegStrings=null;var t=arguments[0];this._pm=t,this._li=new Os,this._li.setPrecisionModel(t),this._scaleFactor=t.getScale()};Yd.prototype.checkCorrectness=function(t){var e=Yc.getNodedSubstrings(t),n=new Dd(e);try{n.checkValid()}catch(t){if(!(t instanceof ps))throw t;t.printStackTrace()}},Yd.prototype.getNodedSubstrings=function(){return Yc.getNodedSubstrings(this._nodedSegStrings)},Yd.prototype.snapRound=function(t,e){var n=this.findInteriorIntersections(t,e);this.computeIntersectionSnaps(n),this.computeVertexSnaps(t)},Yd.prototype.findInteriorIntersections=function(t,e){var n=new Nd(e);return this._noder.setSegmentIntersector(n),this._noder.computeNodes(t),n.getInteriorIntersections()},Yd.prototype.computeVertexSnaps=function(){if(es(arguments[0],Vs))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.computeVertexSnaps(e)}else if(arguments[0]instanceof Yc)for(var n=arguments[0],l=n.getCoordinates(),i=0;i<l.length;i++){var r=new Ed(l[i],this._scaleFactor,this._li);this._pointSnapper.snap(r,n,i)&&n.addIntersection(l[i],i)}},Yd.prototype.computeNodes=function(t){this._nodedSegStrings=t,this._noder=new Wc,this._pointSnapper=new jd(this._noder.getIndex()),this.snapRound(t,this._li)},Yd.prototype.computeIntersectionSnaps=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),l=new Ed(n,this._scaleFactor,this._li);this._pointSnapper.snap(l)}},Yd.prototype.interfaces_=function(){return[Vc]},Yd.prototype.getClass=function(){return Yd};var Ud=function(){if(this._argGeom=null,this._distance=null,this._bufParams=new Xc,this._resultGeometry=null,this._saveException=null,1===arguments.length){var t=arguments[0];this._argGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this._argGeom=e,this._bufParams=n}},Bd={CAP_ROUND:{configurable:!0},CAP_BUTT:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},MAX_PRECISION_DIGITS:{configurable:!0}};Ud.prototype.bufferFixedPrecision=function(t){var e=new Od(new Yd(new Yu(1)),t.getScale()),n=new Md(this._bufParams);n.setWorkingPrecisionModel(t),n.setNoder(e),this._resultGeometry=n.buffer(this._argGeom,this._distance)},Ud.prototype.bufferReducedPrecision=function(){var t=this;if(0===arguments.length){for(var e=Ud.MAX_PRECISION_DIGITS;e>=0;e--){try{t.bufferReducedPrecision(e)}catch(e){if(!(e instanceof tc))throw e;t._saveException=e}if(null!==t._resultGeometry)return null}throw this._saveException}if(1===arguments.length){var n=arguments[0],l=Ud.precisionScaleFactor(this._argGeom,this._distance,n),i=new Yu(l);this.bufferFixedPrecision(i)}},Ud.prototype.computeGeometry=function(){if(this.bufferOriginalPrecision(),null!==this._resultGeometry)return null;var t=this._argGeom.getFactory().getPrecisionModel();t.getType()===Yu.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()},Ud.prototype.setQuadrantSegments=function(t){this._bufParams.setQuadrantSegments(t)},Ud.prototype.bufferOriginalPrecision=function(){try{var t=new Md(this._bufParams);this._resultGeometry=t.buffer(this._argGeom,this._distance)}catch(t){if(!(t instanceof Ps))throw t;this._saveException=t}},Ud.prototype.getResultGeometry=function(t){return this._distance=t,this.computeGeometry(),this._resultGeometry},Ud.prototype.setEndCapStyle=function(t){this._bufParams.setEndCapStyle(t)},Ud.prototype.interfaces_=function(){return[]},Ud.prototype.getClass=function(){return Ud},Ud.bufferOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new Ud(t).getResultGeometry(e)}if(3===arguments.length){if(Number.isInteger(arguments[2])&&arguments[0]instanceof js&&"number"==typeof arguments[1]){var n=arguments[0],l=arguments[1],i=arguments[2],r=new Ud(n);return r.setQuadrantSegments(i),r.getResultGeometry(l)}if(arguments[2]instanceof Xc&&arguments[0]instanceof js&&"number"==typeof arguments[1]){var o=arguments[0],a=arguments[1],s=arguments[2];return new Ud(o,s).getResultGeometry(a)}}else if(4===arguments.length){var u=arguments[0],c=arguments[1],d=arguments[2],h=arguments[3],p=new Ud(u);return p.setQuadrantSegments(d),p.setEndCapStyle(h),p.getResultGeometry(c)}},Ud.precisionScaleFactor=function(t,e,n){var l=t.getEnvelopeInternal(),i=ns.max(Math.abs(l.getMaxX()),Math.abs(l.getMaxY()),Math.abs(l.getMinX()),Math.abs(l.getMinY()))+2*(e>0?e:0),r=n-Math.trunc(Math.log(i)/Math.log(10)+1);return Math.pow(10,r)},Bd.CAP_ROUND.get=function(){return Xc.CAP_ROUND},Bd.CAP_BUTT.get=function(){return Xc.CAP_FLAT},Bd.CAP_FLAT.get=function(){return Xc.CAP_FLAT},Bd.CAP_SQUARE.get=function(){return Xc.CAP_SQUARE},Bd.MAX_PRECISION_DIGITS.get=function(){return 12},Object.defineProperties(Ud,Bd);var zd=function(){this._pt=[new Xa,new Xa],this._distance=Ha.NaN,this._isNull=!0};zd.prototype.getCoordinates=function(){return this._pt},zd.prototype.getCoordinate=function(t){return this._pt[t]},zd.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l<this._distance&&this.initialize(e,n,l)}},zd.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(l),this._distance=i,this._isNull=!1}},zd.prototype.getDistance=function(){return this._distance},zd.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l>this._distance&&this.initialize(e,n,l)}},zd.prototype.interfaces_=function(){return[]},zd.prototype.getClass=function(){return zd};var Gd=function(){};Gd.prototype.interfaces_=function(){return[]},Gd.prototype.getClass=function(){return Gd},Gd.computeDistance=function(){if(arguments[2]instanceof zd&&arguments[0]instanceof vu&&arguments[1]instanceof Xa)for(var t=arguments[0],e=arguments[1],n=arguments[2],l=t.getCoordinates(),i=new Uc,r=0;r<l.length-1;r++){i.setCoordinates(l[r],l[r+1]);var o=i.closestPoint(e);n.setMinimum(o,e)}else if(arguments[2]instanceof zd&&arguments[0]instanceof xu&&arguments[1]instanceof Xa){var a=arguments[0],s=arguments[1],u=arguments[2];Gd.computeDistance(a.getExteriorRing(),s,u);for(var c=0;c<a.getNumInteriorRing();c++)Gd.computeDistance(a.getInteriorRingN(c),s,u)}else if(arguments[2]instanceof zd&&arguments[0]instanceof js&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1],p=arguments[2];if(d instanceof vu)Gd.computeDistance(d,h,p);else if(d instanceof xu)Gd.computeDistance(d,h,p);else if(d instanceof fu)for(var f=d,b=0;b<f.getNumGeometries();b++){var m=f.getGeometryN(b);Gd.computeDistance(m,h,p)}else p.setMinimum(d.getCoordinate(),h)}else if(arguments[2]instanceof zd&&arguments[0]instanceof Uc&&arguments[1]instanceof Xa){var g=arguments[0],_=arguments[1],y=arguments[2],A=g.closestPoint(_);y.setMinimum(A,_)}};var Hd=function(t){this._maxPtDist=new zd,this._inputGeom=t||null},Vd={MaxPointDistanceFilter:{configurable:!0},MaxMidpointDistanceFilter:{configurable:!0}};Hd.prototype.computeMaxMidpointDistance=function(t){var e=new Wd(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},Hd.prototype.computeMaxVertexDistance=function(t){var e=new qd(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},Hd.prototype.findDistance=function(t){return this.computeMaxVertexDistance(t),this.computeMaxMidpointDistance(t),this._maxPtDist.getDistance()},Hd.prototype.getDistancePoints=function(){return this._maxPtDist},Hd.prototype.interfaces_=function(){return[]},Hd.prototype.getClass=function(){return Hd},Vd.MaxPointDistanceFilter.get=function(){return qd},Vd.MaxMidpointDistanceFilter.get=function(){return Wd},Object.defineProperties(Hd,Vd);var qd=function(t){this._maxPtDist=new zd,this._minPtDist=new zd,this._geom=t||null};qd.prototype.filter=function(t){this._minPtDist.initialize(),Gd.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},qd.prototype.getMaxPointDistance=function(){return this._maxPtDist},qd.prototype.interfaces_=function(){return[Ns]},qd.prototype.getClass=function(){return qd};var Wd=function(t){this._maxPtDist=new zd,this._minPtDist=new zd,this._geom=t||null};Wd.prototype.filter=function(t,e){if(0===e)return null;var n=t.getCoordinate(e-1),l=t.getCoordinate(e),i=new Xa((n.x+l.x)/2,(n.y+l.y)/2);this._minPtDist.initialize(),Gd.computeDistance(this._geom,i,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},Wd.prototype.isDone=function(){return!1},Wd.prototype.isGeometryChanged=function(){return!1},Wd.prototype.getMaxPointDistance=function(){return this._maxPtDist},Wd.prototype.interfaces_=function(){return[pu]},Wd.prototype.getClass=function(){return Wd};var $d=function(t){this._comps=t||null};$d.prototype.filter=function(t){t instanceof xu&&this._comps.add(t)},$d.prototype.interfaces_=function(){return[hu]},$d.prototype.getClass=function(){return $d},$d.getPolygons=function(){if(1===arguments.length){var t=arguments[0];return $d.getPolygons(t,new Xs)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof xu?n.add(e):e instanceof fu&&e.apply(new $d(n)),n}};var Xd=function(){if(this._lines=null,this._isForcedToLineString=!1,1===arguments.length){var t=arguments[0];this._lines=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this._lines=e,this._isForcedToLineString=n}};Xd.prototype.filter=function(t){if(this._isForcedToLineString&&t instanceof ku){var e=t.getFactory().createLineString(t.getCoordinateSequence());return this._lines.add(e),null}t instanceof vu&&this._lines.add(t)},Xd.prototype.setForceToLineString=function(t){this._isForcedToLineString=t},Xd.prototype.interfaces_=function(){return[Ls]},Xd.prototype.getClass=function(){return Xd},Xd.getGeometry=function(){if(1===arguments.length){var t=arguments[0];return t.getFactory().buildGeometry(Xd.getLines(t))}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e.getFactory().buildGeometry(Xd.getLines(e,n))}},Xd.getLines=function(){if(1===arguments.length){var t=arguments[0];return Xd.getLines(t,!1)}if(2===arguments.length){if(es(arguments[0],Vs)&&es(arguments[1],Vs)){for(var e=arguments[0],n=arguments[1],l=e.iterator();l.hasNext();){var i=l.next();Xd.getLines(i,n)}return n}if(arguments[0]instanceof js&&"boolean"==typeof arguments[1]){var r=arguments[0],o=arguments[1],a=new Xs;return r.apply(new Xd(a,o)),a}if(arguments[0]instanceof js&&es(arguments[1],Vs)){var s=arguments[0],u=arguments[1];return s instanceof vu?u.add(s):s.apply(new Xd(u)),u}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&es(arguments[0],Vs)&&es(arguments[1],Vs)){for(var c=arguments[0],d=arguments[1],h=arguments[2],p=c.iterator();p.hasNext();){var f=p.next();Xd.getLines(f,d,h)}return d}if("boolean"==typeof arguments[2]&&arguments[0]instanceof js&&es(arguments[1],Vs)){var b=arguments[0],m=arguments[1],g=arguments[2];return b.apply(new Xd(m,g)),m}}};var Kd=function(){if(this._boundaryRule=Ys.OGC_SFS_BOUNDARY_RULE,this._isIn=null,this._numBoundaries=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];if(null===t)throw new Ga("Rule must be non-null");this._boundaryRule=t}};Kd.prototype.locateInternal=function(){if(arguments[0]instanceof Xa&&arguments[1]instanceof xu){var t=arguments[0],e=arguments[1];if(e.isEmpty())return Za.EXTERIOR;var n=e.getExteriorRing(),l=this.locateInPolygonRing(t,n);if(l===Za.EXTERIOR)return Za.EXTERIOR;if(l===Za.BOUNDARY)return Za.BOUNDARY;for(var i=0;i<e.getNumInteriorRing();i++){var r=e.getInteriorRingN(i),o=this.locateInPolygonRing(t,r);if(o===Za.INTERIOR)return Za.EXTERIOR;if(o===Za.BOUNDARY)return Za.BOUNDARY}return Za.INTERIOR}if(arguments[0]instanceof Xa&&arguments[1]instanceof vu){var a=arguments[0],s=arguments[1];if(!s.getEnvelopeInternal().intersects(a))return Za.EXTERIOR;var u=s.getCoordinates();return s.isClosed()||!a.equals(u[0])&&!a.equals(u[u.length-1])?Es.isOnLine(a,u)?Za.INTERIOR:Za.EXTERIOR:Za.BOUNDARY}if(arguments[0]instanceof Xa&&arguments[1]instanceof wu){var c=arguments[0];return arguments[1].getCoordinate().equals2D(c)?Za.INTERIOR:Za.EXTERIOR}},Kd.prototype.locateInPolygonRing=function(t,e){return e.getEnvelopeInternal().intersects(t)?Es.locatePointInRing(t,e.getCoordinates()):Za.EXTERIOR},Kd.prototype.intersects=function(t,e){return this.locate(t,e)!==Za.EXTERIOR},Kd.prototype.updateLocationInfo=function(t){t===Za.INTERIOR&&(this._isIn=!0),t===Za.BOUNDARY&&this._numBoundaries++},Kd.prototype.computeLocation=function(t,e){if(e instanceof wu&&this.updateLocationInfo(this.locateInternal(t,e)),e instanceof vu)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof xu)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof bu)for(var n=e,l=0;l<n.getNumGeometries();l++){var i=n.getGeometryN(l);this.updateLocationInfo(this.locateInternal(t,i))}else if(e instanceof Mu)for(var r=e,o=0;o<r.getNumGeometries();o++){var a=r.getGeometryN(o);this.updateLocationInfo(this.locateInternal(t,a))}else if(e instanceof fu)for(var s=new hd(e);s.hasNext();){var u=s.next();u!==e&&this.computeLocation(t,u)}},Kd.prototype.locate=function(t,e){return e.isEmpty()?Za.EXTERIOR:e instanceof vu||e instanceof xu?this.locateInternal(t,e):(this._isIn=!1,this._numBoundaries=0,this.computeLocation(t,e),this._boundaryRule.isInBoundary(this._numBoundaries)?Za.BOUNDARY:this._numBoundaries>0||this._isIn?Za.INTERIOR:Za.EXTERIOR)},Kd.prototype.interfaces_=function(){return[]},Kd.prototype.getClass=function(){return Kd};var Jd=function t(){if(this._component=null,this._segIndex=null,this._pt=null,2===arguments.length){var e=arguments[0],n=arguments[1];t.call(this,e,t.INSIDE_AREA,n)}else if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._component=l,this._segIndex=i,this._pt=r}},Qd={INSIDE_AREA:{configurable:!0}};Jd.prototype.isInsideArea=function(){return this._segIndex===Jd.INSIDE_AREA},Jd.prototype.getCoordinate=function(){return this._pt},Jd.prototype.getGeometryComponent=function(){return this._component},Jd.prototype.getSegmentIndex=function(){return this._segIndex},Jd.prototype.interfaces_=function(){return[]},Jd.prototype.getClass=function(){return Jd},Qd.INSIDE_AREA.get=function(){return-1},Object.defineProperties(Jd,Qd);var Zd=function(t){this._pts=t||null};Zd.prototype.filter=function(t){t instanceof wu&&this._pts.add(t)},Zd.prototype.interfaces_=function(){return[hu]},Zd.prototype.getClass=function(){return Zd},Zd.getPoints=function(){if(1===arguments.length){var t=arguments[0];return t instanceof wu?xc.singletonList(t):Zd.getPoints(t,new Xs)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof wu?n.add(e):e instanceof fu&&e.apply(new Zd(n)),n}};var th=function(){this._locations=null;var t=arguments[0];this._locations=t};th.prototype.filter=function(t){(t instanceof wu||t instanceof vu||t instanceof xu)&&this._locations.add(new Jd(t,0,t.getCoordinate()))},th.prototype.interfaces_=function(){return[hu]},th.prototype.getClass=function(){return th},th.getLocations=function(t){var e=new Xs;return t.apply(new th(e)),e};var eh=function(){if(this._geom=null,this._terminateDistance=0,this._ptLocator=new Kd,this._minDistanceLocation=null,this._minDistance=Ha.MAX_VALUE,2===arguments.length){var t=arguments[0],e=arguments[1];this._geom=[t,e],this._terminateDistance=0}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._geom=new Array(2).fill(null),this._geom[0]=n,this._geom[1]=l,this._terminateDistance=i}};eh.prototype.computeContainmentDistance=function(){if(0===arguments.length){var t=new Array(2).fill(null);if(this.computeContainmentDistance(0,t),this._minDistance<=this._terminateDistance)return null;this.computeContainmentDistance(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=1-e,i=$d.getPolygons(this._geom[e]);if(i.size()>0){var r=th.getLocations(this._geom[l]);if(this.computeContainmentDistance(r,i,n),this._minDistance<=this._terminateDistance)return this._minDistanceLocation[l]=n[0],this._minDistanceLocation[e]=n[1],null}}else if(3===arguments.length)if(arguments[2]instanceof Array&&es(arguments[0],$s)&&es(arguments[1],$s)){for(var o=arguments[0],a=arguments[1],s=arguments[2],u=0;u<o.size();u++)for(var c=o.get(u),d=0;d<a.size();d++)if(this.computeContainmentDistance(c,a.get(d),s),this._minDistance<=this._terminateDistance)return null}else if(arguments[2]instanceof Array&&arguments[0]instanceof Jd&&arguments[1]instanceof xu){var h=arguments[0],p=arguments[1],f=arguments[2],b=h.getCoordinate();if(Za.EXTERIOR!==this._ptLocator.locate(b,p))return this._minDistance=0,f[0]=h,f[1]=new Jd(p,b),null}},eh.prototype.computeMinDistanceLinesPoints=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r);if(this.computeMinDistance(i,o,n),this._minDistance<=this._terminateDistance)return null}},eh.prototype.computeFacetDistance=function(){var t=new Array(2).fill(null),e=Xd.getLines(this._geom[0]),n=Xd.getLines(this._geom[1]),l=Zd.getPoints(this._geom[0]),i=Zd.getPoints(this._geom[1]);return this.computeMinDistanceLines(e,n,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(e,i,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(n,l,t),this.updateMinDistance(t,!0),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistancePoints(l,i,t),void this.updateMinDistance(t,!1))))},eh.prototype.nearestLocations=function(){return this.computeMinDistance(),this._minDistanceLocation},eh.prototype.updateMinDistance=function(t,e){if(null===t[0])return null;e?(this._minDistanceLocation[0]=t[1],this._minDistanceLocation[1]=t[0]):(this._minDistanceLocation[0]=t[0],this._minDistanceLocation[1]=t[1])},eh.prototype.nearestPoints=function(){return this.computeMinDistance(),[this._minDistanceLocation[0].getCoordinate(),this._minDistanceLocation[1].getCoordinate()]},eh.prototype.computeMinDistance=function(){if(0===arguments.length){if(null!==this._minDistanceLocation)return null;if(this._minDistanceLocation=new Array(2).fill(null),this.computeContainmentDistance(),this._minDistance<=this._terminateDistance)return null;this.computeFacetDistance()}else if(3===arguments.length)if(arguments[2]instanceof Array&&arguments[0]instanceof vu&&arguments[1]instanceof wu){var t=arguments[0],e=arguments[1],n=arguments[2];if(t.getEnvelopeInternal().distance(e.getEnvelopeInternal())>this._minDistance)return null;for(var l=t.getCoordinates(),i=e.getCoordinate(),r=0;r<l.length-1;r++){var o=Es.distancePointLine(i,l[r],l[r+1]);if(o<this._minDistance){this._minDistance=o;var a=new Uc(l[r],l[r+1]).closestPoint(i);n[0]=new Jd(t,r,a),n[1]=new Jd(e,0,i)}if(this._minDistance<=this._terminateDistance)return null}}else if(arguments[2]instanceof Array&&arguments[0]instanceof vu&&arguments[1]instanceof vu){var s=arguments[0],u=arguments[1],c=arguments[2];if(s.getEnvelopeInternal().distance(u.getEnvelopeInternal())>this._minDistance)return null;for(var d=s.getCoordinates(),h=u.getCoordinates(),p=0;p<d.length-1;p++)for(var f=0;f<h.length-1;f++){var b=Es.distanceLineLine(d[p],d[p+1],h[f],h[f+1]);if(b<this._minDistance){this._minDistance=b;var m=new Uc(d[p],d[p+1]),g=new Uc(h[f],h[f+1]),_=m.closestPoints(g);c[0]=new Jd(s,p,_[0]),c[1]=new Jd(u,f,_[1])}if(this._minDistance<=this._terminateDistance)return null}}},eh.prototype.computeMinDistancePoints=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r),a=i.getCoordinate().distance(o.getCoordinate());if(a<this._minDistance&&(this._minDistance=a,n[0]=new Jd(i,0,i.getCoordinate()),n[1]=new Jd(o,0,o.getCoordinate())),this._minDistance<=this._terminateDistance)return null}},eh.prototype.distance=function(){if(null===this._geom[0]||null===this._geom[1])throw new Ga("null geometries are not supported");return this._geom[0].isEmpty()||this._geom[1].isEmpty()?0:(this.computeMinDistance(),this._minDistance)},eh.prototype.computeMinDistanceLines=function(t,e,n){for(var l=0;l<t.size();l++)for(var i=t.get(l),r=0;r<e.size();r++){var o=e.get(r);if(this.computeMinDistance(i,o,n),this._minDistance<=this._terminateDistance)return null}},eh.prototype.interfaces_=function(){return[]},eh.prototype.getClass=function(){return eh},eh.distance=function(t,e){return new eh(t,e).distance()},eh.isWithinDistance=function(t,e,n){return new eh(t,e,n).distance()<=n},eh.nearestPoints=function(t,e){return new eh(t,e).nearestPoints()};var nh=function(){this._pt=[new Xa,new Xa],this._distance=Ha.NaN,this._isNull=!0};nh.prototype.getCoordinates=function(){return this._pt},nh.prototype.getCoordinate=function(t){return this._pt[t]},nh.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l<this._distance&&this.initialize(e,n,l)}},nh.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(l),this._distance=i,this._isNull=!1}},nh.prototype.toString=function(){return ws.toLineString(this._pt[0],this._pt[1])},nh.prototype.getDistance=function(){return this._distance},nh.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var l=e.distance(n);l>this._distance&&this.initialize(e,n,l)}},nh.prototype.interfaces_=function(){return[]},nh.prototype.getClass=function(){return nh};var lh=function(){};lh.prototype.interfaces_=function(){return[]},lh.prototype.getClass=function(){return lh},lh.computeDistance=function(){if(arguments[2]instanceof nh&&arguments[0]instanceof vu&&arguments[1]instanceof Xa)for(var t=arguments[0],e=arguments[1],n=arguments[2],l=new Uc,i=t.getCoordinates(),r=0;r<i.length-1;r++){l.setCoordinates(i[r],i[r+1]);var o=l.closestPoint(e);n.setMinimum(o,e)}else if(arguments[2]instanceof nh&&arguments[0]instanceof xu&&arguments[1]instanceof Xa){var a=arguments[0],s=arguments[1],u=arguments[2];lh.computeDistance(a.getExteriorRing(),s,u);for(var c=0;c<a.getNumInteriorRing();c++)lh.computeDistance(a.getInteriorRingN(c),s,u)}else if(arguments[2]instanceof nh&&arguments[0]instanceof js&&arguments[1]instanceof Xa){var d=arguments[0],h=arguments[1],p=arguments[2];if(d instanceof vu)lh.computeDistance(d,h,p);else if(d instanceof xu)lh.computeDistance(d,h,p);else if(d instanceof fu)for(var f=d,b=0;b<f.getNumGeometries();b++){var m=f.getGeometryN(b);lh.computeDistance(m,h,p)}else p.setMinimum(d.getCoordinate(),h)}else if(arguments[2]instanceof nh&&arguments[0]instanceof Uc&&arguments[1]instanceof Xa){var g=arguments[0],_=arguments[1],y=arguments[2],A=g.closestPoint(_);y.setMinimum(A,_)}};var ih=function(){this._g0=null,this._g1=null,this._ptDist=new nh,this._densifyFrac=0;var t=arguments[0],e=arguments[1];this._g0=t,this._g1=e},rh={MaxPointDistanceFilter:{configurable:!0},MaxDensifiedByFractionDistanceFilter:{configurable:!0}};ih.prototype.getCoordinates=function(){return this._ptDist.getCoordinates()},ih.prototype.setDensifyFraction=function(t){if(t>1||t<=0)throw new Ga("Fraction is not in range (0.0 - 1.0]");this._densifyFrac=t},ih.prototype.compute=function(t,e){this.computeOrientedDistance(t,e,this._ptDist),this.computeOrientedDistance(e,t,this._ptDist)},ih.prototype.distance=function(){return this.compute(this._g0,this._g1),this._ptDist.getDistance()},ih.prototype.computeOrientedDistance=function(t,e,n){var l=new oh(e);if(t.apply(l),n.setMaximum(l.getMaxPointDistance()),this._densifyFrac>0){var i=new ah(e,this._densifyFrac);t.apply(i),n.setMaximum(i.getMaxPointDistance())}},ih.prototype.orientedDistance=function(){return this.computeOrientedDistance(this._g0,this._g1,this._ptDist),this._ptDist.getDistance()},ih.prototype.interfaces_=function(){return[]},ih.prototype.getClass=function(){return ih},ih.distance=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new ih(t,e).distance()}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=new ih(n,l);return r.setDensifyFraction(i),r.distance()}},rh.MaxPointDistanceFilter.get=function(){return oh},rh.MaxDensifiedByFractionDistanceFilter.get=function(){return ah},Object.defineProperties(ih,rh);var oh=function(){this._maxPtDist=new nh,this._minPtDist=new nh,this._euclideanDist=new lh,this._geom=null;var t=arguments[0];this._geom=t};oh.prototype.filter=function(t){this._minPtDist.initialize(),lh.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},oh.prototype.getMaxPointDistance=function(){return this._maxPtDist},oh.prototype.interfaces_=function(){return[Ns]},oh.prototype.getClass=function(){return oh};var ah=function(){this._maxPtDist=new nh,this._minPtDist=new nh,this._geom=null,this._numSubSegs=0;var t=arguments[0],e=arguments[1];this._geom=t,this._numSubSegs=Math.trunc(Math.round(1/e))};ah.prototype.filter=function(t,e){if(0===e)return null;for(var n=t.getCoordinate(e-1),l=t.getCoordinate(e),i=(l.x-n.x)/this._numSubSegs,r=(l.y-n.y)/this._numSubSegs,o=0;o<this._numSubSegs;o++){var a=new Xa(n.x+o*i,n.y+o*r);this._minPtDist.initialize(),lh.computeDistance(this._geom,a,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)}},ah.prototype.isDone=function(){return!1},ah.prototype.isGeometryChanged=function(){return!1},ah.prototype.getMaxPointDistance=function(){return this._maxPtDist},ah.prototype.interfaces_=function(){return[pu]},ah.prototype.getClass=function(){return ah};var sh=function(t,e,n){this._minValidDistance=null,this._maxValidDistance=null,this._minDistanceFound=null,this._maxDistanceFound=null,this._isValid=!0,this._errMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._bufDistance=e||null,this._result=n||null},uh={VERBOSE:{configurable:!0},MAX_DISTANCE_DIFF_FRAC:{configurable:!0}};sh.prototype.checkMaximumDistance=function(t,e,n){var l=new ih(e,t);if(l.setDensifyFraction(.25),this._maxDistanceFound=l.orientedDistance(),this._maxDistanceFound>n){this._isValid=!1;var i=l.getCoordinates();this._errorLocation=i[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too large ("+this._maxDistanceFound+" at "+ws.toLineString(i[0],i[1])+")"}},sh.prototype.isValid=function(){var t=Math.abs(this._bufDistance),e=sh.MAX_DISTANCE_DIFF_FRAC*t;return this._minValidDistance=t-e,this._maxValidDistance=t+e,!(!this._input.isEmpty()&&!this._result.isEmpty())||(this._bufDistance>0?this.checkPositiveValid():this.checkNegativeValid(),sh.VERBOSE&&bs.out.println("Min Dist= "+this._minDistanceFound+" err= "+(1-this._minDistanceFound/this._bufDistance)+" Max Dist= "+this._maxDistanceFound+" err= "+(this._maxDistanceFound/this._bufDistance-1)),this._isValid)},sh.prototype.checkNegativeValid=function(){if(!(this._input instanceof xu||this._input instanceof Mu||this._input instanceof fu))return null;var t=this.getPolygonLines(this._input);if(this.checkMinimumDistance(t,this._result,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(t,this._result,this._maxValidDistance)},sh.prototype.getErrorIndicator=function(){return this._errorIndicator},sh.prototype.checkMinimumDistance=function(t,e,n){var l=new eh(t,e,n);if(this._minDistanceFound=l.distance(),this._minDistanceFound<n){this._isValid=!1;var i=l.nearestPoints();this._errorLocation=l.nearestPoints()[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too small ("+this._minDistanceFound+" at "+ws.toLineString(i[0],i[1])+" )"}},sh.prototype.checkPositiveValid=function(){var t=this._result.getBoundary();if(this.checkMinimumDistance(this._input,t,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(this._input,t,this._maxValidDistance)},sh.prototype.getErrorLocation=function(){return this._errorLocation},sh.prototype.getPolygonLines=function(t){for(var e=new Xs,n=new Xd(e),l=$d.getPolygons(t).iterator();l.hasNext();)l.next().apply(n);return t.getFactory().buildGeometry(e)},sh.prototype.getErrorMessage=function(){return this._errMsg},sh.prototype.interfaces_=function(){return[]},sh.prototype.getClass=function(){return sh},uh.VERBOSE.get=function(){return!1},uh.MAX_DISTANCE_DIFF_FRAC.get=function(){return.012},Object.defineProperties(sh,uh);var ch=function(t,e,n){this._isValid=!0,this._errorMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._distance=e||null,this._result=n||null},dh={VERBOSE:{configurable:!0},MAX_ENV_DIFF_FRAC:{configurable:!0}};ch.prototype.isValid=function(){return this.checkPolygonal(),this._isValid?(this.checkExpectedEmpty(),this._isValid?(this.checkEnvelope(),this._isValid?(this.checkArea(),this._isValid?(this.checkDistance(),this._isValid):this._isValid):this._isValid):this._isValid):this._isValid},ch.prototype.checkEnvelope=function(){if(this._distance<0)return null;var t=this._distance*ch.MAX_ENV_DIFF_FRAC;0===t&&(t=.001);var e=new gs(this._input.getEnvelopeInternal());e.expandBy(this._distance);var n=new gs(this._result.getEnvelopeInternal());n.expandBy(t),n.contains(e)||(this._isValid=!1,this._errorMsg="Buffer envelope is incorrect",this._errorIndicator=this._input.getFactory().toGeometry(n)),this.report("Envelope")},ch.prototype.checkDistance=function(){var t=new sh(this._input,this._distance,this._result);t.isValid()||(this._isValid=!1,this._errorMsg=t.getErrorMessage(),this._errorLocation=t.getErrorLocation(),this._errorIndicator=t.getErrorIndicator()),this.report("Distance")},ch.prototype.checkArea=function(){var t=this._input.getArea(),e=this._result.getArea();this._distance>0&&t>e&&(this._isValid=!1,this._errorMsg="Area of positive buffer is smaller than input",this._errorIndicator=this._result),this._distance<0&&t<e&&(this._isValid=!1,this._errorMsg="Area of negative buffer is larger than input",this._errorIndicator=this._result),this.report("Area")},ch.prototype.checkPolygonal=function(){this._result instanceof xu||this._result instanceof Mu||(this._isValid=!1),this._errorMsg="Result is not polygonal",this._errorIndicator=this._result,this.report("Polygonal")},ch.prototype.getErrorIndicator=function(){return this._errorIndicator},ch.prototype.getErrorLocation=function(){return this._errorLocation},ch.prototype.checkExpectedEmpty=function(){return this._input.getDimension()>=2||this._distance>0?null:(this._result.isEmpty()||(this._isValid=!1,this._errorMsg="Result is non-empty",this._errorIndicator=this._result),void this.report("ExpectedEmpty"))},ch.prototype.report=function(t){if(!ch.VERBOSE)return null;bs.out.println("Check "+t+": "+(this._isValid?"passed":"FAILED"))},ch.prototype.getErrorMessage=function(){return this._errorMsg},ch.prototype.interfaces_=function(){return[]},ch.prototype.getClass=function(){return ch},ch.isValidMsg=function(t,e,n){var l=new ch(t,e,n);return l.isValid()?null:l.getErrorMessage()},ch.isValid=function(t,e,n){return!!new ch(t,e,n).isValid()},dh.VERBOSE.get=function(){return!1},dh.MAX_ENV_DIFF_FRAC.get=function(){return.012},Object.defineProperties(ch,dh);var hh=function(){this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};hh.prototype.getCoordinates=function(){return this._pts},hh.prototype.size=function(){return this._pts.length},hh.prototype.getCoordinate=function(t){return this._pts[t]},hh.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},hh.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:Rc.octant(this.getCoordinate(t),this.getCoordinate(t+1))},hh.prototype.setData=function(t){this._data=t},hh.prototype.getData=function(){return this._data},hh.prototype.toString=function(){return ws.toLineString(new Lu(this._pts))},hh.prototype.interfaces_=function(){return[Fc]},hh.prototype.getClass=function(){return hh};var ph=function(){this._findAllIntersections=!1,this._isCheckEndSegmentsOnly=!1,this._li=null,this._interiorIntersection=null,this._intSegments=null,this._intersections=new Xs,this._intersectionCount=0,this._keepIntersections=!0;var t=arguments[0];this._li=t,this._interiorIntersection=null};ph.prototype.getInteriorIntersection=function(){return this._interiorIntersection},ph.prototype.setCheckEndSegmentsOnly=function(t){this._isCheckEndSegmentsOnly=t},ph.prototype.getIntersectionSegments=function(){return this._intSegments},ph.prototype.count=function(){return this._intersectionCount},ph.prototype.getIntersections=function(){return this._intersections},ph.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},ph.prototype.setKeepIntersections=function(t){this._keepIntersections=t},ph.prototype.processIntersections=function(t,e,n,l){if(!this._findAllIntersections&&this.hasIntersection())return null;if(t===n&&e===l)return null;if(this._isCheckEndSegmentsOnly&&!this.isEndSegment(t,e)&&!this.isEndSegment(n,l))return null;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&this._li.isInteriorIntersection()&&(this._intSegments=new Array(4).fill(null),this._intSegments[0]=i,this._intSegments[1]=r,this._intSegments[2]=o,this._intSegments[3]=a,this._interiorIntersection=this._li.getIntersection(0),this._keepIntersections&&this._intersections.add(this._interiorIntersection),this._intersectionCount++)},ph.prototype.isEndSegment=function(t,e){return 0===e||e>=t.size()-2},ph.prototype.hasIntersection=function(){return null!==this._interiorIntersection},ph.prototype.isDone=function(){return!this._findAllIntersections&&null!==this._interiorIntersection},ph.prototype.interfaces_=function(){return[yd]},ph.prototype.getClass=function(){return ph},ph.createAllIntersectionsFinder=function(t){var e=new ph(t);return e.setFindAllIntersections(!0),e},ph.createAnyIntersectionFinder=function(t){return new ph(t)},ph.createIntersectionCounter=function(t){var e=new ph(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e};var fh=function(){this._li=new Os,this._segStrings=null,this._findAllIntersections=!1,this._segInt=null,this._isValid=!0;var t=arguments[0];this._segStrings=t};fh.prototype.execute=function(){if(null!==this._segInt)return null;this.checkInteriorIntersections()},fh.prototype.getIntersections=function(){return this._segInt.getIntersections()},fh.prototype.isValid=function(){return this.execute(),this._isValid},fh.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},fh.prototype.checkInteriorIntersections=function(){this._isValid=!0,this._segInt=new ph(this._li),this._segInt.setFindAllIntersections(this._findAllIntersections);var t=new Wc;if(t.setSegmentIntersector(this._segInt),t.computeNodes(this._segStrings),this._segInt.hasIntersection())return this._isValid=!1,null},fh.prototype.checkValid=function(){if(this.execute(),!this._isValid)throw new tc(this.getErrorMessage(),this._segInt.getInteriorIntersection())},fh.prototype.getErrorMessage=function(){if(this._isValid)return"no intersections found";var t=this._segInt.getIntersectionSegments();return"found non-noded intersection between "+ws.toLineString(t[0],t[1])+" and "+ws.toLineString(t[2],t[3])},fh.prototype.interfaces_=function(){return[]},fh.prototype.getClass=function(){return fh},fh.computeIntersections=function(t){var e=new fh(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()};var bh=function t(){this._nv=null;var e=arguments[0];this._nv=new fh(t.toSegmentStrings(e))};bh.prototype.checkValid=function(){this._nv.checkValid()},bh.prototype.interfaces_=function(){return[]},bh.prototype.getClass=function(){return bh},bh.toSegmentStrings=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next();e.add(new hh(l.getCoordinates(),l))}return e},bh.checkValid=function(t){new bh(t).checkValid()};var mh=function(t){this._mapOp=t};mh.prototype.map=function(t){for(var e=new Xs,n=0;n<t.getNumGeometries();n++){var l=this._mapOp.map(t.getGeometryN(n));l.isEmpty()||e.add(l)}return t.getFactory().createGeometryCollection(Gu.toGeometryArray(e))},mh.prototype.interfaces_=function(){return[]},mh.prototype.getClass=function(){return mh},mh.map=function(t,e){return new mh(e).map(t)};var gh=function(){this._op=null,this._geometryFactory=null,this._ptLocator=null,this._lineEdgesList=new Xs,this._resultLineList=new Xs;var t=arguments[0],e=arguments[1],n=arguments[2];this._op=t,this._geometryFactory=e,this._ptLocator=n};gh.prototype.collectLines=function(t){for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next();this.collectLineEdge(n,t,this._lineEdgesList),this.collectBoundaryTouchEdge(n,t,this._lineEdgesList)}},gh.prototype.labelIsolatedLine=function(t,e){var n=this._ptLocator.locate(t.getCoordinate(),this._op.getArgGeometry(e));t.getLabel().setLocation(e,n)},gh.prototype.build=function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this._resultLineList},gh.prototype.collectLineEdge=function(t,e,n){var l=t.getLabel(),i=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Jh.isResultOfOp(l,e)||i.isCovered()||(n.add(i),t.setVisitedEdge(!0)))},gh.prototype.findCoveredLineEdges=function(){for(var t=this._op.getGraph().getNodes().iterator();t.hasNext();)t.next().getEdges().findCoveredLineEdges();for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next(),l=n.getEdge();if(n.isLineEdge()&&!l.isCoveredSet()){var i=this._op.isCoveredByA(n.getCoordinate());l.setCovered(i)}}},gh.prototype.labelIsolatedLines=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),l=n.getLabel();n.isIsolated()&&(l.isNull(0)?this.labelIsolatedLine(n,0):this.labelIsolatedLine(n,1))}},gh.prototype.buildLines=function(t){for(var e=this._lineEdgesList.iterator();e.hasNext();){var n=e.next(),l=this._geometryFactory.createLineString(n.getCoordinates());this._resultLineList.add(l),n.setInResult(!0)}},gh.prototype.collectBoundaryTouchEdge=function(t,e,n){var l=t.getLabel();return t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult()?null:(Ss.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Jh.isResultOfOp(l,e)&&e===Jh.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))},gh.prototype.interfaces_=function(){return[]},gh.prototype.getClass=function(){return gh};var _h=function(){this._op=null,this._geometryFactory=null,this._resultPointList=new Xs;var t=arguments[0],e=arguments[1];this._op=t,this._geometryFactory=e};_h.prototype.filterCoveredNodeToPoint=function(t){var e=t.getCoordinate();if(!this._op.isCoveredByLA(e)){var n=this._geometryFactory.createPoint(e);this._resultPointList.add(n)}},_h.prototype.extractNonCoveredResultNodes=function(t){for(var e=this._op.getGraph().getNodes().iterator();e.hasNext();){var n=e.next();if(!(n.isInResult()||n.isIncidentEdgeInResult()||0!==n.getEdges().getDegree()&&t!==Jh.INTERSECTION)){var l=n.getLabel();Jh.isResultOfOp(l,t)&&this.filterCoveredNodeToPoint(n)}}},_h.prototype.build=function(t){return this.extractNonCoveredResultNodes(t),this._resultPointList},_h.prototype.interfaces_=function(){return[]},_h.prototype.getClass=function(){return _h};var yh=function(){this._inputGeom=null,this._factory=null,this._pruneEmptyGeometry=!0,this._preserveGeometryCollectionType=!0,this._preserveCollections=!1,this._preserveType=!1};yh.prototype.transformPoint=function(t,e){return this._factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))},yh.prototype.transformPolygon=function(t,e){var n=!0,l=this.transformLinearRing(t.getExteriorRing(),t);null!==l&&l instanceof ku&&!l.isEmpty()||(n=!1);for(var i=new Xs,r=0;r<t.getNumInteriorRing();r++){var o=this.transformLinearRing(t.getInteriorRingN(r),t);null===o||o.isEmpty()||(o instanceof ku||(n=!1),i.add(o))}if(n)return this._factory.createPolygon(l,i.toArray([]));var a=new Xs;return null!==l&&a.add(l),a.addAll(i),this._factory.buildGeometry(a)},yh.prototype.createCoordinateSequence=function(t){return this._factory.getCoordinateSequenceFactory().create(t)},yh.prototype.getInputGeometry=function(){return this._inputGeom},yh.prototype.transformMultiLineString=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformLineString(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.transformCoordinates=function(t,e){return this.copy(t)},yh.prototype.transformLineString=function(t,e){return this._factory.createLineString(this.transformCoordinates(t.getCoordinateSequence(),t))},yh.prototype.transformMultiPoint=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformPoint(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.transformMultiPolygon=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transformPolygon(t.getGeometryN(l),t);null!==i&&(i.isEmpty()||n.add(i))}return this._factory.buildGeometry(n)},yh.prototype.copy=function(t){return t.copy()},yh.prototype.transformGeometryCollection=function(t,e){for(var n=new Xs,l=0;l<t.getNumGeometries();l++){var i=this.transform(t.getGeometryN(l));null!==i&&(this._pruneEmptyGeometry&&i.isEmpty()||n.add(i))}return this._preserveGeometryCollectionType?this._factory.createGeometryCollection(Gu.toGeometryArray(n)):this._factory.buildGeometry(n)},yh.prototype.transform=function(t){if(this._inputGeom=t,this._factory=t.getFactory(),t instanceof wu)return this.transformPoint(t,null);if(t instanceof Su)return this.transformMultiPoint(t,null);if(t instanceof ku)return this.transformLinearRing(t,null);if(t instanceof vu)return this.transformLineString(t,null);if(t instanceof bu)return this.transformMultiLineString(t,null);if(t instanceof xu)return this.transformPolygon(t,null);if(t instanceof Mu)return this.transformMultiPolygon(t,null);if(t instanceof fu)return this.transformGeometryCollection(t,null);throw new Ga("Unknown Geometry subtype: "+t.getClass().getName())},yh.prototype.transformLinearRing=function(t,e){var n=this.transformCoordinates(t.getCoordinateSequence(),t);if(null===n)return this._factory.createLinearRing(null);var l=n.size();return l>0&&l<4&&!this._preserveType?this._factory.createLineString(n):this._factory.createLinearRing(n)},yh.prototype.interfaces_=function(){return[]},yh.prototype.getClass=function(){return yh};var Ah=function t(){if(this._snapTolerance=0,this._srcPts=null,this._seg=new Uc,this._allowSnappingToSourceVertices=!1,this._isClosed=!1,arguments[0]instanceof vu&&"number"==typeof arguments[1]){var e=arguments[0],n=arguments[1];t.call(this,e.getCoordinates(),n)}else if(arguments[0]instanceof Array&&"number"==typeof arguments[1]){var l=arguments[0],i=arguments[1];this._srcPts=l,this._isClosed=t.isClosed(l),this._snapTolerance=i}};Ah.prototype.snapVertices=function(t,e){for(var n=this._isClosed?t.size()-1:t.size(),l=0;l<n;l++){var i=t.get(l),r=this.findSnapForVertex(i,e);null!==r&&(t.set(l,new Xa(r)),0===l&&this._isClosed&&t.set(t.size()-1,new Xa(r)))}},Ah.prototype.findSnapForVertex=function(t,e){for(var n=0;n<e.length;n++){if(t.equals2D(e[n]))return null;if(t.distance(e[n])<this._snapTolerance)return e[n]}return null},Ah.prototype.snapTo=function(t){var e=new Js(this._srcPts);return this.snapVertices(e,t),this.snapSegments(e,t),e.toCoordinateArray()},Ah.prototype.snapSegments=function(t,e){if(0===e.length)return null;var n=e.length;e[0].equals2D(e[e.length-1])&&(n=e.length-1);for(var l=0;l<n;l++){var i=e[l],r=this.findSegmentIndexToSnap(i,t);r>=0&&t.add(r+1,new Xa(i),!1)}},Ah.prototype.findSegmentIndexToSnap=function(t,e){for(var n=Ha.MAX_VALUE,l=-1,i=0;i<e.size()-1;i++){if(this._seg.p0=e.get(i),this._seg.p1=e.get(i+1),this._seg.p0.equals2D(t)||this._seg.p1.equals2D(t)){if(this._allowSnappingToSourceVertices)continue;return-1}var r=this._seg.distance(t);r<this._snapTolerance&&r<n&&(n=r,l=i)}return l},Ah.prototype.setAllowSnappingToSourceVertices=function(t){this._allowSnappingToSourceVertices=t},Ah.prototype.interfaces_=function(){return[]},Ah.prototype.getClass=function(){return Ah},Ah.isClosed=function(t){return!(t.length<=1)&&t[0].equals2D(t[t.length-1])};var vh=function(t){this._srcGeom=t||null},Ch={SNAP_PRECISION_FACTOR:{configurable:!0}};vh.prototype.snapTo=function(t,e){var n=this.extractTargetCoordinates(t);return new wh(e,n).transform(this._srcGeom)},vh.prototype.snapToSelf=function(t,e){var n=this.extractTargetCoordinates(this._srcGeom),l=new wh(t,n,!0).transform(this._srcGeom),i=l;return e&&es(i,Pu)&&(i=l.buffer(0)),i},vh.prototype.computeSnapTolerance=function(t){return this.computeMinimumSegmentLength(t)/10},vh.prototype.extractTargetCoordinates=function(t){for(var e=new ki,n=t.getCoordinates(),l=0;l<n.length;l++)e.add(n[l]);return e.toArray(new Array(0).fill(null))},vh.prototype.computeMinimumSegmentLength=function(t){for(var e=Ha.MAX_VALUE,n=0;n<t.length-1;n++){var l=t[n].distance(t[n+1]);l<e&&(e=l)}return e},vh.prototype.interfaces_=function(){return[]},vh.prototype.getClass=function(){return vh},vh.snap=function(t,e,n){var l=new Array(2).fill(null),i=new vh(t);l[0]=i.snapTo(e,n);var r=new vh(e);return l[1]=r.snapTo(l[0],n),l},vh.computeOverlaySnapTolerance=function(){if(1===arguments.length){var t=arguments[0],e=vh.computeSizeBasedSnapTolerance(t),n=t.getPrecisionModel();if(n.getType()===Yu.FIXED){var l=1/n.getScale()*2/1.415;l>e&&(e=l)}return e}if(2===arguments.length){var i=arguments[0],r=arguments[1];return Math.min(vh.computeOverlaySnapTolerance(i),vh.computeOverlaySnapTolerance(r))}},vh.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal();return Math.min(e.getHeight(),e.getWidth())*vh.SNAP_PRECISION_FACTOR},vh.snapToSelf=function(t,e,n){return new vh(t).snapToSelf(e,n)},Ch.SNAP_PRECISION_FACTOR.get=function(){return 1e-9},Object.defineProperties(vh,Ch);var wh=function(t){function e(e,n,l){t.call(this),this._snapTolerance=e||null,this._snapPts=n||null,this._isSelfSnap=void 0!==l&&l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.snapLine=function(t,e){var n=new Ah(t,this._snapTolerance);return n.setAllowSnappingToSourceVertices(this._isSelfSnap),n.snapTo(e)},e.prototype.transformCoordinates=function(t,e){var n=t.toCoordinateArray(),l=this.snapLine(n,this._snapPts);return this._factory.getCoordinateSequenceFactory().create(l)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(yh),Ph=function(){this._isFirst=!0,this._commonMantissaBitsCount=53,this._commonBits=0,this._commonSignExp=null};Ph.prototype.getCommon=function(){return Ha.longBitsToDouble(this._commonBits)},Ph.prototype.add=function(t){var e=Ha.doubleToLongBits(t);return this._isFirst?(this._commonBits=e,this._commonSignExp=Ph.signExpBits(this._commonBits),this._isFirst=!1,null):Ph.signExpBits(e)!==this._commonSignExp?(this._commonBits=0,null):(this._commonMantissaBitsCount=Ph.numCommonMostSigMantissaBits(this._commonBits,e),void(this._commonBits=Ph.zeroLowerBits(this._commonBits,64-(12+this._commonMantissaBitsCount))))},Ph.prototype.toString=function(){if(1===arguments.length){var t=arguments[0],e=Ha.longBitsToDouble(t),n="0000000000000000000000000000000000000000000000000000000000000000"+Ha.toBinaryString(t),l=n.substring(n.length-64);return l.substring(0,1)+" "+l.substring(1,12)+"(exp) "+l.substring(12)+" [ "+e+" ]"}},Ph.prototype.interfaces_=function(){return[]},Ph.prototype.getClass=function(){return Ph},Ph.getBit=function(t,e){return 0!=(t&1<<e)?1:0},Ph.signExpBits=function(t){return t>>52},Ph.zeroLowerBits=function(t,e){return t&~((1<<e)-1)},Ph.numCommonMostSigMantissaBits=function(t,e){for(var n=0,l=52;l>=0;l--){if(Ph.getBit(t,l)!==Ph.getBit(e,l))return n;n++}return 52};var xh=function(){this._commonCoord=null,this._ccFilter=new kh},Sh={CommonCoordinateFilter:{configurable:!0},Translater:{configurable:!0}};xh.prototype.addCommonBits=function(t){var e=new Mh(this._commonCoord);t.apply(e),t.geometryChanged()},xh.prototype.removeCommonBits=function(t){if(0===this._commonCoord.x&&0===this._commonCoord.y)return t;var e=new Xa(this._commonCoord);e.x=-e.x,e.y=-e.y;var n=new Mh(e);return t.apply(n),t.geometryChanged(),t},xh.prototype.getCommonCoordinate=function(){return this._commonCoord},xh.prototype.add=function(t){t.apply(this._ccFilter),this._commonCoord=this._ccFilter.getCommonCoordinate()},xh.prototype.interfaces_=function(){return[]},xh.prototype.getClass=function(){return xh},Sh.CommonCoordinateFilter.get=function(){return kh},Sh.Translater.get=function(){return Mh},Object.defineProperties(xh,Sh);var kh=function(){this._commonBitsX=new Ph,this._commonBitsY=new Ph};kh.prototype.filter=function(t){this._commonBitsX.add(t.x),this._commonBitsY.add(t.y)},kh.prototype.getCommonCoordinate=function(){return new Xa(this._commonBitsX.getCommon(),this._commonBitsY.getCommon())},kh.prototype.interfaces_=function(){return[Ns]},kh.prototype.getClass=function(){return kh};var Mh=function(){this.trans=null;var t=arguments[0];this.trans=t};Mh.prototype.filter=function(t,e){var n=t.getOrdinate(e,0)+this.trans.x,l=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,l)},Mh.prototype.isDone=function(){return!1},Mh.prototype.isGeometryChanged=function(){return!0},Mh.prototype.interfaces_=function(){return[pu]},Mh.prototype.getClass=function(){return Mh};var Oh=function(t,e){this._geom=new Array(2).fill(null),this._snapTolerance=null,this._cbr=null,this._geom[0]=t,this._geom[1]=e,this.computeSnapTolerance()};Oh.prototype.selfSnap=function(t){return new vh(t).snapTo(t,this._snapTolerance)},Oh.prototype.removeCommonBits=function(t){this._cbr=new xh,this._cbr.add(t[0]),this._cbr.add(t[1]);var e=new Array(2).fill(null);return e[0]=this._cbr.removeCommonBits(t[0].copy()),e[1]=this._cbr.removeCommonBits(t[1].copy()),e},Oh.prototype.prepareResult=function(t){return this._cbr.addCommonBits(t),t},Oh.prototype.getResultGeometry=function(t){var e=this.snap(this._geom),n=Jh.overlayOp(e[0],e[1],t);return this.prepareResult(n)},Oh.prototype.checkValid=function(t){t.isValid()||bs.out.println("Snapped geometry is invalid")},Oh.prototype.computeSnapTolerance=function(){this._snapTolerance=vh.computeOverlaySnapTolerance(this._geom[0],this._geom[1])},Oh.prototype.snap=function(t){var e=this.removeCommonBits(t);return vh.snap(e[0],e[1],this._snapTolerance)},Oh.prototype.interfaces_=function(){return[]},Oh.prototype.getClass=function(){return Oh},Oh.overlayOp=function(t,e,n){return new Oh(t,e).getResultGeometry(n)},Oh.union=function(t,e){return Oh.overlayOp(t,e,Jh.UNION)},Oh.intersection=function(t,e){return Oh.overlayOp(t,e,Jh.INTERSECTION)},Oh.symDifference=function(t,e){return Oh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Oh.difference=function(t,e){return Oh.overlayOp(t,e,Jh.DIFFERENCE)};var Dh=function(t,e){this._geom=new Array(2).fill(null),this._geom[0]=t,this._geom[1]=e};Dh.prototype.getResultGeometry=function(t){var e=null,n=!1,l=null;try{e=Jh.overlayOp(this._geom[0],this._geom[1],t),n=!0}catch(t){if(!(t instanceof Ps))throw t;l=t}if(!n)try{e=Oh.overlayOp(this._geom[0],this._geom[1],t)}catch(t){throw t instanceof Ps?l:t}return e},Dh.prototype.interfaces_=function(){return[]},Dh.prototype.getClass=function(){return Dh},Dh.overlayOp=function(t,e,n){return new Dh(t,e).getResultGeometry(n)},Dh.union=function(t,e){return Dh.overlayOp(t,e,Jh.UNION)},Dh.intersection=function(t,e){return Dh.overlayOp(t,e,Jh.INTERSECTION)},Dh.symDifference=function(t,e){return Dh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Dh.difference=function(t,e){return Dh.overlayOp(t,e,Jh.DIFFERENCE)};var Th=function(){this.mce=null,this.chainIndex=null;var t=arguments[0],e=arguments[1];this.mce=t,this.chainIndex=e};Th.prototype.computeIntersections=function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)},Th.prototype.interfaces_=function(){return[]},Th.prototype.getClass=function(){return Th};var Eh=function t(){if(this._label=null,this._xValue=null,this._eventType=null,this._insertEvent=null,this._deleteEventIndex=null,this._obj=null,2===arguments.length){var e=arguments[0],n=arguments[1];this._eventType=t.DELETE,this._xValue=e,this._insertEvent=n}else if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._eventType=t.INSERT,this._label=l,this._xValue=i,this._obj=r}},Ih={INSERT:{configurable:!0},DELETE:{configurable:!0}};Eh.prototype.isDelete=function(){return this._eventType===Eh.DELETE},Eh.prototype.setDeleteEventIndex=function(t){this._deleteEventIndex=t},Eh.prototype.getObject=function(){return this._obj},Eh.prototype.compareTo=function(t){return this._xValue<t._xValue?-1:this._xValue>t._xValue?1:this._eventType<t._eventType?-1:this._eventType>t._eventType?1:0},Eh.prototype.getInsertEvent=function(){return this._insertEvent},Eh.prototype.isInsert=function(){return this._eventType===Eh.INSERT},Eh.prototype.isSameLabel=function(t){return null!==this._label&&this._label===t._label},Eh.prototype.getDeleteEventIndex=function(){return this._deleteEventIndex},Eh.prototype.interfaces_=function(){return[qa]},Eh.prototype.getClass=function(){return Eh},Ih.INSERT.get=function(){return 1},Ih.DELETE.get=function(){return 2},Object.defineProperties(Eh,Ih);var Lh=function(){};Lh.prototype.interfaces_=function(){return[]},Lh.prototype.getClass=function(){return Lh};var jh=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._properIntersectionPoint=null,this._li=null,this._includeProper=null,this._recordIsolated=null,this._isSelfIntersection=null,this._numIntersections=0,this.numTests=0,this._bdyNodes=null,this._isDone=!1,this._isDoneWhenProperInt=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this._li=t,this._includeProper=e,this._recordIsolated=n};jh.prototype.isTrivialIntersection=function(t,e,n,l){if(t===n&&1===this._li.getIntersectionNum()){if(jh.isAdjacentSegments(e,l))return!0;if(t.isClosed()){var i=t.getNumPoints()-1;if(0===e&&l===i||0===l&&e===i)return!0}}return!1},jh.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},jh.prototype.setIsDoneIfProperInt=function(t){this._isDoneWhenProperInt=t},jh.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},jh.prototype.isBoundaryPointInternal=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next().getCoordinate();if(t.isIntersection(l))return!0}return!1},jh.prototype.hasProperIntersection=function(){return this._hasProper},jh.prototype.hasIntersection=function(){return this._hasIntersection},jh.prototype.isDone=function(){return this._isDone},jh.prototype.isBoundaryPoint=function(t,e){return!(null===e||!this.isBoundaryPointInternal(t,e[0])&&!this.isBoundaryPointInternal(t,e[1]))},jh.prototype.setBoundaryNodes=function(t,e){this._bdyNodes=new Array(2).fill(null),this._bdyNodes[0]=t,this._bdyNodes[1]=e},jh.prototype.addIntersections=function(t,e,n,l){if(t===n&&e===l)return null;this.numTests++;var i=t.getCoordinates()[e],r=t.getCoordinates()[e+1],o=n.getCoordinates()[l],a=n.getCoordinates()[l+1];this._li.computeIntersection(i,r,o,a),this._li.hasIntersection()&&(this._recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this._numIntersections++,this.isTrivialIntersection(t,e,n,l)||(this._hasIntersection=!0,!this._includeProper&&this._li.isProper()||(t.addIntersections(this._li,e,0),n.addIntersections(this._li,l,1)),this._li.isProper()&&(this._properIntersectionPoint=this._li.getIntersection(0).copy(),this._hasProper=!0,this._isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this._li,this._bdyNodes)||(this._hasProperInterior=!0))))},jh.prototype.interfaces_=function(){return[]},jh.prototype.getClass=function(){return jh},jh.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var Rh=function(t){function e(){t.call(this),this.events=new Xs,this.nOverlaps=null}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.prepareEvents=function(){xc.sort(this.events);for(var t=0;t<this.events.size();t++){var e=this.events.get(t);e.isDelete()&&e.getInsertEvent().setDeleteEventIndex(t)}},e.prototype.computeIntersections=function(){if(1===arguments.length){var t=arguments[0];this.nOverlaps=0,this.prepareEvents();for(var e=0;e<this.events.size();e++){var n=this.events.get(e);if(n.isInsert()&&this.processOverlaps(e,n.getDeleteEventIndex(),n,t),t.isDone())break}}else if(3===arguments.length)if(arguments[2]instanceof jh&&es(arguments[0],$s)&&es(arguments[1],$s)){var l=arguments[0],i=arguments[1],r=arguments[2];this.addEdges(l,l),this.addEdges(i,i),this.computeIntersections(r)}else if("boolean"==typeof arguments[2]&&es(arguments[0],$s)&&arguments[1]instanceof jh){var o=arguments[0],a=arguments[1];arguments[2]?this.addEdges(o,null):this.addEdges(o),this.computeIntersections(a)}},e.prototype.addEdge=function(t,e){for(var n=t.getMonotoneChainEdge(),l=n.getStartIndexes(),i=0;i<l.length-1;i++){var r=new Th(n,i),o=new Eh(e,n.getMinX(i),r);this.events.add(o),this.events.add(new Eh(n.getMaxX(i),o))}},e.prototype.processOverlaps=function(t,e,n,l){for(var i=n.getObject(),r=t;r<e;r++){var o=this.events.get(r);if(o.isInsert()){var a=o.getObject();n.isSameLabel(o)||(i.computeIntersections(a,l),this.nOverlaps++)}}},e.prototype.addEdges=function(){if(1===arguments.length)for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.addEdge(e,e)}else if(2===arguments.length)for(var n=arguments[0],l=arguments[1],i=n.iterator();i.hasNext();){var r=i.next();this.addEdge(r,l)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Lh),Fh=function(){this._min=Ha.POSITIVE_INFINITY,this._max=Ha.NEGATIVE_INFINITY},Nh={NodeComparator:{configurable:!0}};Fh.prototype.getMin=function(){return this._min},Fh.prototype.intersects=function(t,e){return!(this._min>e||this._max<t)},Fh.prototype.getMax=function(){return this._max},Fh.prototype.toString=function(){return ws.toLineString(new Xa(this._min,0),new Xa(this._max,0))},Fh.prototype.interfaces_=function(){return[]},Fh.prototype.getClass=function(){return Fh},Nh.NodeComparator.get=function(){return Yh},Object.defineProperties(Fh,Nh);var Yh=function(){};Yh.prototype.compare=function(t,e){var n=(t._min+t._max)/2,l=(e._min+e._max)/2;return n<l?-1:n>l?1:0},Yh.prototype.interfaces_=function(){return[$a]},Yh.prototype.getClass=function(){return Yh};var Uh=function(t){function e(){t.call(this),this._item=null;var e=arguments[0],n=arguments[1],l=arguments[2];this._min=e,this._max=n,this._item=l}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.query=function(t,e,n){if(!this.intersects(t,e))return null;n.visitItem(this._item)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Fh),Bh=function(t){function e(){t.call(this),this._node1=null,this._node2=null;var e=arguments[0],n=arguments[1];this._node1=e,this._node2=n,this.buildExtent(this._node1,this._node2)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.buildExtent=function(t,e){this._min=Math.min(t._min,e._min),this._max=Math.max(t._max,e._max)},e.prototype.query=function(t,e,n){if(!this.intersects(t,e))return null;null!==this._node1&&this._node1.query(t,e,n),null!==this._node2&&this._node2.query(t,e,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Fh),zh=function(){this._leaves=new Xs,this._root=null,this._level=0};zh.prototype.buildTree=function(){xc.sort(this._leaves,new Fh.NodeComparator);for(var t=this._leaves,e=null,n=new Xs;;){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}},zh.prototype.insert=function(t,e,n){if(null!==this._root)throw new Error("Index cannot be added to once it has been queried");this._leaves.add(new Uh(t,e,n))},zh.prototype.query=function(t,e,n){this.init(),this._root.query(t,e,n)},zh.prototype.buildRoot=function(){if(null!==this._root)return null;this._root=this.buildTree()},zh.prototype.printNode=function(t){bs.out.println(ws.toLineString(new Xa(t._min,this._level),new Xa(t._max,this._level)))},zh.prototype.init=function(){if(null!==this._root)return null;this.buildRoot()},zh.prototype.buildLevel=function(t,e){this._level++,e.clear();for(var n=0;n<t.size();n+=2){var l=t.get(n);if(null===(n+1<t.size()?t.get(n):null))e.add(l);else{var i=new Bh(t.get(n),t.get(n+1));e.add(i)}}},zh.prototype.interfaces_=function(){return[]},zh.prototype.getClass=function(){return zh};var Gh=function(){this._items=new Xs};Gh.prototype.visitItem=function(t){this._items.add(t)},Gh.prototype.getItems=function(){return this._items},Gh.prototype.interfaces_=function(){return[vc]},Gh.prototype.getClass=function(){return Gh};var Hh=function(){this._index=null;var t=arguments[0];if(!es(t,Pu))throw new Ga("Argument must be Polygonal");this._index=new Wh(t)},Vh={SegmentVisitor:{configurable:!0},IntervalIndexedGeometry:{configurable:!0}};Hh.prototype.locate=function(t){var e=new Ts(t),n=new qh(e);return this._index.query(t.y,t.y,n),e.getLocation()},Hh.prototype.interfaces_=function(){return[dd]},Hh.prototype.getClass=function(){return Hh},Vh.SegmentVisitor.get=function(){return qh},Vh.IntervalIndexedGeometry.get=function(){return Wh},Object.defineProperties(Hh,Vh);var qh=function(){this._counter=null;var t=arguments[0];this._counter=t};qh.prototype.visitItem=function(t){var e=t;this._counter.countSegment(e.getCoordinate(0),e.getCoordinate(1))},qh.prototype.interfaces_=function(){return[vc]},qh.prototype.getClass=function(){return qh};var Wh=function(){this._index=new zh;var t=arguments[0];this.init(t)};Wh.prototype.init=function(t){for(var e=Xd.getLines(t).iterator();e.hasNext();){var n=e.next().getCoordinates();this.addLine(n)}},Wh.prototype.addLine=function(t){for(var e=1;e<t.length;e++){var n=new Uc(t[e-1],t[e]),l=Math.min(n.p0.y,n.p1.y),i=Math.max(n.p0.y,n.p1.y);this._index.insert(l,i,n)}},Wh.prototype.query=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new Gh;return this._index.query(t,e,n),n.getItems()}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];this._index.query(l,i,r)}},Wh.prototype.interfaces_=function(){return[]},Wh.prototype.getClass=function(){return Wh};var $h=function(t){function e(){if(t.call(this),this._parentGeom=null,this._lineEdgeMap=new Nu,this._boundaryNodeRule=null,this._useBoundaryDeterminationRule=!0,this._argIndex=null,this._boundaryNodes=null,this._hasTooFewPoints=!1,this._invalidPoint=null,this._areaPtLocator=null,this._ptLocator=new Kd,2===arguments.length){var e=arguments[0],n=arguments[1],l=Ys.OGC_SFS_BOUNDARY_RULE;this._argIndex=e,this._parentGeom=n,this._boundaryNodeRule=l,null!==n&&this.add(n)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];this._argIndex=i,this._parentGeom=r,this._boundaryNodeRule=o,null!==r&&this.add(r)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.insertBoundaryPoint=function(t,n){var l=this._nodes.addNode(n).getLabel(),i=1;l.getLocation(t,Ju.ON)===Za.BOUNDARY&&i++;var r=e.determineBoundary(this._boundaryNodeRule,i);l.setLocation(t,r)},e.prototype.computeSelfNodes=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.computeSelfNodes(t,e,!1)}if(3===arguments.length){var n=arguments[0],l=arguments[1],i=arguments[2],r=new jh(n,!0,!1);r.setIsDoneIfProperInt(i);var o=this.createEdgeSetIntersector(),a=this._parentGeom instanceof ku||this._parentGeom instanceof xu||this._parentGeom instanceof Mu,s=l||!a;return o.computeIntersections(this._edges,r,s),this.addSelfIntersectionNodes(this._argIndex),r}},e.prototype.computeSplitEdges=function(t){for(var e=this._edges.iterator();e.hasNext();)e.next().eiList.addSplitEdges(t)},e.prototype.computeEdgeIntersections=function(t,e,n){var l=new jh(e,n,!0);return l.setBoundaryNodes(this.getBoundaryNodes(),t.getBoundaryNodes()),this.createEdgeSetIntersector().computeIntersections(this._edges,t._edges,l),l},e.prototype.getGeometry=function(){return this._parentGeom},e.prototype.getBoundaryNodeRule=function(){return this._boundaryNodeRule},e.prototype.hasTooFewPoints=function(){return this._hasTooFewPoints},e.prototype.addPoint=function(){if(arguments[0]instanceof wu){var t=arguments[0].getCoordinate();this.insertPoint(this._argIndex,t,Za.INTERIOR)}else if(arguments[0]instanceof Xa){var e=arguments[0];this.insertPoint(this._argIndex,e,Za.INTERIOR)}},e.prototype.addPolygon=function(t){this.addPolygonRing(t.getExteriorRing(),Za.EXTERIOR,Za.INTERIOR);for(var e=0;e<t.getNumInteriorRing();e++){var n=t.getInteriorRingN(e);this.addPolygonRing(n,Za.INTERIOR,Za.EXTERIOR)}},e.prototype.addEdge=function(t){this.insertEdge(t);var e=t.getCoordinates();this.insertPoint(this._argIndex,e[0],Za.BOUNDARY),this.insertPoint(this._argIndex,e[e.length-1],Za.BOUNDARY)},e.prototype.addLineString=function(t){var e=Qs.removeRepeatedPoints(t.getCoordinates());if(e.length<2)return this._hasTooFewPoints=!0,this._invalidPoint=e[0],null;var n=new kd(e,new ic(this._argIndex,Za.INTERIOR));this._lineEdgeMap.put(t,n),this.insertEdge(n),Ss.isTrue(e.length>=2,"found LineString with single point"),this.insertBoundaryPoint(this._argIndex,e[0]),this.insertBoundaryPoint(this._argIndex,e[e.length-1])},e.prototype.getInvalidPoint=function(){return this._invalidPoint},e.prototype.getBoundaryPoints=function(){for(var t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null),n=0,l=t.iterator();l.hasNext();){var i=l.next();e[n++]=i.getCoordinate().copy()}return e},e.prototype.getBoundaryNodes=function(){return null===this._boundaryNodes&&(this._boundaryNodes=this._nodes.getBoundaryNodes(this._argIndex)),this._boundaryNodes},e.prototype.addSelfIntersectionNode=function(t,e,n){if(this.isBoundaryNode(t,e))return null;n===Za.BOUNDARY&&this._useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n)},e.prototype.addPolygonRing=function(t,e,n){if(t.isEmpty())return null;var l=Qs.removeRepeatedPoints(t.getCoordinates());if(l.length<4)return this._hasTooFewPoints=!0,this._invalidPoint=l[0],null;var i=e,r=n;Es.isCCW(l)&&(i=n,r=e);var o=new kd(l,new ic(this._argIndex,Za.BOUNDARY,i,r));this._lineEdgeMap.put(t,o),this.insertEdge(o),this.insertPoint(this._argIndex,l[0],Za.BOUNDARY)},e.prototype.insertPoint=function(t,e,n){var l=this._nodes.addNode(e),i=l.getLabel();null===i?l._label=new ic(t,n):i.setLocation(t,n)},e.prototype.createEdgeSetIntersector=function(){return new Rh},e.prototype.addSelfIntersectionNodes=function(t){for(var e=this._edges.iterator();e.hasNext();)for(var n=e.next(),l=n.getLabel().getLocation(t),i=n.eiList.iterator();i.hasNext();){var r=i.next();this.addSelfIntersectionNode(t,r.coord,l)}},e.prototype.add=function(){if(1!==arguments.length)return t.prototype.add.apply(this,arguments);var e=arguments[0];if(e.isEmpty())return null;if(e instanceof Mu&&(this._useBoundaryDeterminationRule=!1),e instanceof xu)this.addPolygon(e);else if(e instanceof vu)this.addLineString(e);else if(e instanceof wu)this.addPoint(e);else if(e instanceof Su)this.addCollection(e);else if(e instanceof bu)this.addCollection(e);else if(e instanceof Mu)this.addCollection(e);else{if(!(e instanceof fu))throw new Error(e.getClass().getName());this.addCollection(e)}},e.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var n=t.getGeometryN(e);this.add(n)}},e.prototype.locate=function(t){return es(this._parentGeom,Pu)&&this._parentGeom.getNumGeometries()>50?(null===this._areaPtLocator&&(this._areaPtLocator=new Hh(this._parentGeom)),this._areaPtLocator.locate(t)):this._ptLocator.locate(t,this._parentGeom)},e.prototype.findEdge=function(){if(1===arguments.length){var e=arguments[0];return this._lineEdgeMap.get(e)}return t.prototype.findEdge.apply(this,arguments)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.determineBoundary=function(t,e){return t.isInBoundary(e)?Za.BOUNDARY:Za.INTERIOR},e}(mc),Xh=function(){if(this._li=new Os,this._resultPrecisionModel=null,this._arg=null,1===arguments.length){var t=arguments[0];this.setComputationPrecision(t.getPrecisionModel()),this._arg=new Array(1).fill(null),this._arg[0]=new $h(0,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],l=Ys.OGC_SFS_BOUNDARY_RULE;e.getPrecisionModel().compareTo(n.getPrecisionModel())>=0?this.setComputationPrecision(e.getPrecisionModel()):this.setComputationPrecision(n.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new $h(0,e,l),this._arg[1]=new $h(1,n,l)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];i.getPrecisionModel().compareTo(r.getPrecisionModel())>=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(r.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new $h(0,i,o),this._arg[1]=new $h(1,r,o)}};Xh.prototype.getArgGeometry=function(t){return this._arg[t].getGeometry()},Xh.prototype.setComputationPrecision=function(t){this._resultPrecisionModel=t,this._li.setPrecisionModel(this._resultPrecisionModel)},Xh.prototype.interfaces_=function(){return[]},Xh.prototype.getClass=function(){return Xh};var Kh=function(){};Kh.prototype.interfaces_=function(){return[]},Kh.prototype.getClass=function(){return Kh},Kh.map=function(){if(arguments[0]instanceof js&&es(arguments[1],Kh.MapOp)){for(var t=arguments[0],e=arguments[1],n=new Xs,l=0;l<t.getNumGeometries();l++){var i=e.map(t.getGeometryN(l));null!==i&&n.add(i)}return t.getFactory().buildGeometry(n)}if(es(arguments[0],Vs)&&es(arguments[1],Kh.MapOp)){for(var r=arguments[0],o=arguments[1],a=new Xs,s=r.iterator();s.hasNext();){var u=s.next(),c=o.map(u);null!==c&&a.add(c)}return a}},Kh.MapOp=function(){};var Jh=function(t){function e(){var e=arguments[0],n=arguments[1];t.call(this,e,n),this._ptLocator=new Kd,this._geomFact=null,this._resultGeom=null,this._graph=null,this._edgeList=new _d,this._resultPolyList=new Xs,this._resultLineList=new Xs,this._resultPointList=new Xs,this._graph=new mc(new md),this._geomFact=e.getFactory()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var n=e.getLabel(),l=t.getLabel();e.isPointwiseEqual(t)||(l=new ic(t.getLabel())).flip();var i=e.getDepth();i.isNull()&&i.add(n),i.add(l),n.merge(l)}else this._edgeList.add(t)},e.prototype.getGraph=function(){return this._graph},e.prototype.cancelDuplicateResultEdges=function(){for(var t=this._graph.getEdgeEnds().iterator();t.hasNext();){var e=t.next(),n=e.getSym();e.isInResult()&&n.isInResult()&&(e.setInResult(!1),n.setInResult(!1))}},e.prototype.isCoveredByLA=function(t){return!!this.isCovered(t,this._resultLineList)||!!this.isCovered(t,this._resultPolyList)},e.prototype.computeGeometry=function(t,n,l,i){var r=new Xs;return r.addAll(t),r.addAll(n),r.addAll(l),r.isEmpty()?e.createEmptyResult(i,this._arg[0].getGeometry(),this._arg[1].getGeometry(),this._geomFact):this._geomFact.buildGeometry(r)},e.prototype.mergeSymLabels=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().mergeSymLabels()},e.prototype.isCovered=function(t,e){for(var n=e.iterator();n.hasNext();){var l=n.next();if(this._ptLocator.locate(t,l)!==Za.EXTERIOR)return!0}return!1},e.prototype.replaceCollapsedEdges=function(){for(var t=new Xs,e=this._edgeList.iterator();e.hasNext();){var n=e.next();n.isCollapsed()&&(e.remove(),t.add(n.getCollapsedEdge()))}this._edgeList.addAll(t)},e.prototype.updateNodeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),n=e.getEdges().getLabel();e.getLabel().merge(n)}},e.prototype.getResultGeometry=function(t){return this.computeOverlay(t),this._resultGeom},e.prototype.insertUniqueEdges=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.insertUniqueEdge(n)}},e.prototype.computeOverlay=function(t){this.copyPoints(0),this.copyPoints(1),this._arg[0].computeSelfNodes(this._li,!1),this._arg[1].computeSelfNodes(this._li,!1),this._arg[0].computeEdgeIntersections(this._arg[1],this._li,!0);var e=new Xs;this._arg[0].computeSplitEdges(e),this._arg[1].computeSplitEdges(e),this.insertUniqueEdges(e),this.computeLabelsFromDepths(),this.replaceCollapsedEdges(),bh.checkValid(this._edgeList.getEdges()),this._graph.addEdges(this._edgeList.getEdges()),this.computeLabelling(),this.labelIncompleteNodes(),this.findResultAreaEdges(t),this.cancelDuplicateResultEdges();var n=new gc(this._geomFact);n.add(this._graph),this._resultPolyList=n.getPolygons();var l=new gh(this,this._geomFact,this._ptLocator);this._resultLineList=l.build(t);var i=new _h(this,this._geomFact,this._ptLocator);this._resultPointList=i.build(t),this._resultGeom=this.computeGeometry(this._resultPointList,this._resultLineList,this._resultPolyList,t)},e.prototype.labelIncompleteNode=function(t,e){var n=this._ptLocator.locate(t.getCoordinate(),this._arg[e].getGeometry());t.getLabel().setLocation(e,n)},e.prototype.copyPoints=function(t){for(var e=this._arg[t].getNodeIterator();e.hasNext();){var n=e.next();this._graph.addNode(n.getCoordinate()).setLabel(t,n.getLabel().getLocation(t))}},e.prototype.findResultAreaEdges=function(t){for(var n=this._graph.getEdgeEnds().iterator();n.hasNext();){var l=n.next(),i=l.getLabel();i.isArea()&&!l.isInteriorAreaEdge()&&e.isResultOfOp(i.getLocation(0,Ju.RIGHT),i.getLocation(1,Ju.RIGHT),t)&&l.setInResult(!0)}},e.prototype.computeLabelsFromDepths=function(){for(var t=this._edgeList.iterator();t.hasNext();){var e=t.next(),n=e.getLabel(),l=e.getDepth();if(!l.isNull()){l.normalize();for(var i=0;i<2;i++)n.isNull(i)||!n.isArea()||l.isNull(i)||(0===l.getDelta(i)?n.toLine(i):(Ss.isTrue(!l.isNull(i,Ju.LEFT),"depth of LEFT side has not been initialized"),n.setLocation(i,Ju.LEFT,l.getLocation(i,Ju.LEFT)),Ss.isTrue(!l.isNull(i,Ju.RIGHT),"depth of RIGHT side has not been initialized"),n.setLocation(i,Ju.RIGHT,l.getLocation(i,Ju.RIGHT))))}}},e.prototype.computeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().computeLabelling(this._arg);this.mergeSymLabels(),this.updateNodeLabelling()},e.prototype.labelIncompleteNodes=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),n=e.getLabel();e.isIsolated()&&(n.isNull(0)?this.labelIncompleteNode(e,0):this.labelIncompleteNode(e,1)),e.getEdges().updateLabelling(n)}},e.prototype.isCoveredByA=function(t){return!!this.isCovered(t,this._resultPolyList)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Xh);Jh.overlayOp=function(t,e,n){return new Jh(t,e).getResultGeometry(n)},Jh.intersection=function(t,e){if(t.isEmpty()||e.isEmpty())return Jh.createEmptyResult(Jh.INTERSECTION,t,e,t.getFactory());if(t.isGeometryCollection()){var n=e;return mh.map(t,{interfaces_:function(){return[Kh.MapOp]},map:function(t){return t.intersection(n)}})}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.INTERSECTION)},Jh.symDifference=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Jh.createEmptyResult(Jh.SYMDIFFERENCE,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.SYMDIFFERENCE)},Jh.resultDimension=function(t,e,n){var l=e.getDimension(),i=n.getDimension(),r=-1;switch(t){case Jh.INTERSECTION:r=Math.min(l,i);break;case Jh.UNION:r=Math.max(l,i);break;case Jh.DIFFERENCE:r=l;break;case Jh.SYMDIFFERENCE:r=Math.max(l,i)}return r},Jh.createEmptyResult=function(t,e,n,l){var i=null;switch(Jh.resultDimension(t,e,n)){case-1:i=l.createGeometryCollection(new Array(0).fill(null));break;case 0:i=l.createPoint();break;case 1:i=l.createLineString();break;case 2:i=l.createPolygon()}return i},Jh.difference=function(t,e){return t.isEmpty()?Jh.createEmptyResult(Jh.DIFFERENCE,t,e,t.getFactory()):e.isEmpty()?t.copy():(t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.DIFFERENCE))},Jh.isResultOfOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=t.getLocation(0),l=t.getLocation(1);return Jh.isResultOfOp(n,l,e)}if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];switch(i===Za.BOUNDARY&&(i=Za.INTERIOR),r===Za.BOUNDARY&&(r=Za.INTERIOR),o){case Jh.INTERSECTION:return i===Za.INTERIOR&&r===Za.INTERIOR;case Jh.UNION:return i===Za.INTERIOR||r===Za.INTERIOR;case Jh.DIFFERENCE:return i===Za.INTERIOR&&r!==Za.INTERIOR;case Jh.SYMDIFFERENCE:return i===Za.INTERIOR&&r!==Za.INTERIOR||i!==Za.INTERIOR&&r===Za.INTERIOR}return!1}},Jh.INTERSECTION=1,Jh.UNION=2,Jh.DIFFERENCE=3,Jh.SYMDIFFERENCE=4;var Qh=function(){this._g=null,this._boundaryDistanceTolerance=null,this._linework=null,this._ptLocator=new Kd,this._seg=new Uc;var t=arguments[0],e=arguments[1];this._g=t,this._boundaryDistanceTolerance=e,this._linework=this.extractLinework(t)};Qh.prototype.isWithinToleranceOfBoundary=function(t){for(var e=0;e<this._linework.getNumGeometries();e++)for(var n=this._linework.getGeometryN(e).getCoordinateSequence(),l=0;l<n.size()-1;l++)if(n.getCoordinate(l,this._seg.p0),n.getCoordinate(l+1,this._seg.p1),this._seg.distance(t)<=this._boundaryDistanceTolerance)return!0;return!1},Qh.prototype.getLocation=function(t){return this.isWithinToleranceOfBoundary(t)?Za.BOUNDARY:this._ptLocator.locate(t,this._g)},Qh.prototype.extractLinework=function(t){var e=new Zh;t.apply(e);var n=e.getLinework(),l=Gu.toLineStringArray(n);return t.getFactory().createMultiLineString(l)},Qh.prototype.interfaces_=function(){return[]},Qh.prototype.getClass=function(){return Qh};var Zh=function(){this._linework=null,this._linework=new Xs};Zh.prototype.getLinework=function(){return this._linework},Zh.prototype.filter=function(t){if(t instanceof xu){var e=t;this._linework.add(e.getExteriorRing());for(var n=0;n<e.getNumInteriorRing();n++)this._linework.add(e.getInteriorRingN(n))}},Zh.prototype.interfaces_=function(){return[hu]},Zh.prototype.getClass=function(){return Zh};var tp=function(){this._g=null,this._doLeft=!0,this._doRight=!0;var t=arguments[0];this._g=t};tp.prototype.extractPoints=function(t,e,n){for(var l=t.getCoordinates(),i=0;i<l.length-1;i++)this.computeOffsetPoints(l[i],l[i+1],e,n)},tp.prototype.setSidesToGenerate=function(t,e){this._doLeft=t,this._doRight=e},tp.prototype.getPoints=function(t){for(var e=new Xs,n=Xd.getLines(this._g).iterator();n.hasNext();){var l=n.next();this.extractPoints(l,t,e)}return e},tp.prototype.computeOffsetPoints=function(t,e,n,l){var i=e.x-t.x,r=e.y-t.y,o=Math.sqrt(i*i+r*r),a=n*i/o,s=n*r/o,u=(e.x+t.x)/2,c=(e.y+t.y)/2;if(this._doLeft){var d=new Xa(u-s,c+a);l.add(d)}if(this._doRight){var h=new Xa(u+s,c-a);l.add(h)}},tp.prototype.interfaces_=function(){return[]},tp.prototype.getClass=function(){return tp};var ep=function t(){this._geom=null,this._locFinder=null,this._location=new Array(3).fill(null),this._invalidLocation=null,this._boundaryDistanceTolerance=t.TOLERANCE,this._testCoords=new Xs;var e=arguments[0],n=arguments[1],l=arguments[2];this._boundaryDistanceTolerance=t.computeBoundaryDistanceTolerance(e,n),this._geom=[e,n,l],this._locFinder=[new Qh(this._geom[0],this._boundaryDistanceTolerance),new Qh(this._geom[1],this._boundaryDistanceTolerance),new Qh(this._geom[2],this._boundaryDistanceTolerance)]},np={TOLERANCE:{configurable:!0}};ep.prototype.reportResult=function(t,e,n){bs.out.println("Overlay result invalid - A:"+Za.toLocationSymbol(e[0])+" B:"+Za.toLocationSymbol(e[1])+" expected:"+(n?"i":"e")+" actual:"+Za.toLocationSymbol(e[2]))},ep.prototype.isValid=function(t){return this.addTestPts(this._geom[0]),this.addTestPts(this._geom[1]),this.checkValid(t)},ep.prototype.checkValid=function(){if(1===arguments.length){for(var t=arguments[0],e=0;e<this._testCoords.size();e++){var n=this._testCoords.get(e);if(!this.checkValid(t,n))return this._invalidLocation=n,!1}return!0}if(2===arguments.length){var l=arguments[0],i=arguments[1];return this._location[0]=this._locFinder[0].getLocation(i),this._location[1]=this._locFinder[1].getLocation(i),this._location[2]=this._locFinder[2].getLocation(i),!!ep.hasLocation(this._location,Za.BOUNDARY)||this.isValidResult(l,this._location)}},ep.prototype.addTestPts=function(t){var e=new tp(t);this._testCoords.addAll(e.getPoints(5*this._boundaryDistanceTolerance))},ep.prototype.isValidResult=function(t,e){var n=Jh.isResultOfOp(e[0],e[1],t),l=!(n^e[2]===Za.INTERIOR);return l||this.reportResult(t,e,n),l},ep.prototype.getInvalidLocation=function(){return this._invalidLocation},ep.prototype.interfaces_=function(){return[]},ep.prototype.getClass=function(){return ep},ep.hasLocation=function(t,e){for(var n=0;n<3;n++)if(t[n]===e)return!0;return!1},ep.computeBoundaryDistanceTolerance=function(t,e){return Math.min(vh.computeSizeBasedSnapTolerance(t),vh.computeSizeBasedSnapTolerance(e))},ep.isValid=function(t,e,n,l){return new ep(t,e,l).isValid(n)},np.TOLERANCE.get=function(){return 1e-6},Object.defineProperties(ep,np);var lp=function t(e){this._geomFactory=null,this._skipEmpty=!1,this._inputGeoms=null,this._geomFactory=t.extractFactory(e),this._inputGeoms=e};lp.prototype.extractElements=function(t,e){if(null===t)return null;for(var n=0;n<t.getNumGeometries();n++){var l=t.getGeometryN(n);this._skipEmpty&&l.isEmpty()||e.add(l)}},lp.prototype.combine=function(){for(var t=new Xs,e=this._inputGeoms.iterator();e.hasNext();){var n=e.next();this.extractElements(n,t)}return 0===t.size()?null!==this._geomFactory?this._geomFactory.createGeometryCollection(null):null:this._geomFactory.buildGeometry(t)},lp.prototype.interfaces_=function(){return[]},lp.prototype.getClass=function(){return lp},lp.combine=function(){if(1===arguments.length){var t=arguments[0];return new lp(t).combine()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return new lp(lp.createList(e,n)).combine()}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2];return new lp(lp.createList(l,i,r)).combine()}},lp.extractFactory=function(t){return t.isEmpty()?null:t.iterator().next().getFactory()},lp.createList=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new Xs;return n.add(t),n.add(e),n}if(3===arguments.length){var l=arguments[0],i=arguments[1],r=arguments[2],o=new Xs;return o.add(l),o.add(i),o.add(r),o}};var ip=function(){this._inputPolys=null,this._geomFactory=null;var t=arguments[0];this._inputPolys=t,null===this._inputPolys&&(this._inputPolys=new Xs)},rp={STRTREE_NODE_CAPACITY:{configurable:!0}};ip.prototype.reduceToGeometries=function(t){for(var e=new Xs,n=t.iterator();n.hasNext();){var l=n.next(),i=null;es(l,$s)?i=this.unionTree(l):l instanceof js&&(i=l),e.add(i)}return e},ip.prototype.extractByEnvelope=function(t,e,n){for(var l=new Xs,i=0;i<e.getNumGeometries();i++){var r=e.getGeometryN(i);r.getEnvelopeInternal().intersects(t)?l.add(r):n.add(r)}return this._geomFactory.buildGeometry(l)},ip.prototype.unionOptimized=function(t,e){var n=t.getEnvelopeInternal(),l=e.getEnvelopeInternal();if(!n.intersects(l))return lp.combine(t,e);if(t.getNumGeometries()<=1&&e.getNumGeometries()<=1)return this.unionActual(t,e);var i=n.intersection(l);return this.unionUsingEnvelopeIntersection(t,e,i)},ip.prototype.union=function(){if(null===this._inputPolys)throw new Error("union() method cannot be called twice");if(this._inputPolys.isEmpty())return null;this._geomFactory=this._inputPolys.iterator().next().getFactory();for(var t=new Tc(ip.STRTREE_NODE_CAPACITY),e=this._inputPolys.iterator();e.hasNext();){var n=e.next();t.insert(n.getEnvelopeInternal(),n)}this._inputPolys=null;var l=t.itemsTree();return this.unionTree(l)},ip.prototype.binaryUnion=function(){if(1===arguments.length){var t=arguments[0];return this.binaryUnion(t,0,t.size())}if(3===arguments.length){var e=arguments[0],n=arguments[1],l=arguments[2];if(l-n<=1){var i=ip.getGeometry(e,n);return this.unionSafe(i,null)}if(l-n==2)return this.unionSafe(ip.getGeometry(e,n),ip.getGeometry(e,n+1));var r=Math.trunc((l+n)/2),o=this.binaryUnion(e,n,r),a=this.binaryUnion(e,r,l);return this.unionSafe(o,a)}},ip.prototype.repeatedUnion=function(t){for(var e=null,n=t.iterator();n.hasNext();){var l=n.next();e=null===e?l.copy():e.union(l)}return e},ip.prototype.unionSafe=function(t,e){return null===t&&null===e?null:null===t?e.copy():null===e?t.copy():this.unionOptimized(t,e)},ip.prototype.unionActual=function(t,e){return ip.restrictToPolygons(t.union(e))},ip.prototype.unionTree=function(t){var e=this.reduceToGeometries(t);return this.binaryUnion(e)},ip.prototype.unionUsingEnvelopeIntersection=function(t,e,n){var l=new Xs,i=this.extractByEnvelope(n,t,l),r=this.extractByEnvelope(n,e,l),o=this.unionActual(i,r);return l.add(o),lp.combine(l)},ip.prototype.bufferUnion=function(){if(1===arguments.length){var t=arguments[0];return t.get(0).getFactory().buildGeometry(t).buffer(0)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e.getFactory().createGeometryCollection([e,n]).buffer(0)}},ip.prototype.interfaces_=function(){return[]},ip.prototype.getClass=function(){return ip},ip.restrictToPolygons=function(t){if(es(t,Pu))return t;var e=$d.getPolygons(t);return 1===e.size()?e.get(0):t.getFactory().createMultiPolygon(Gu.toPolygonArray(e))},ip.getGeometry=function(t,e){return e>=t.size()?null:t.get(e)},ip.union=function(t){return new ip(t).union()},rp.STRTREE_NODE_CAPACITY.get=function(){return 4},Object.defineProperties(ip,rp);var op=function(){};op.prototype.interfaces_=function(){return[]},op.prototype.getClass=function(){return op},op.union=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Jh.createEmptyResult(Jh.UNION,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),Dh.overlayOp(t,e,Jh.UNION)};var ap=function(){return new Ei};Ei.prototype={constructor:Ei,reset:function(){this.s=this.t=0},add:function(t){Ii(sp,t,this.t),Ii(this,sp.s,this.s),this.s?this.t+=sp.t:this.s=sp.t},valueOf:function(){return this.s}};var sp=new Ei,up=1e-6,cp=Math.PI,dp=cp/2,hp=cp/4,pp=2*cp,fp=180/cp,bp=cp/180,mp=Math.abs,gp=Math.atan,_p=Math.atan2,yp=Math.cos,Ap=Math.exp,vp=Math.log,Cp=Math.sin,wp=Math.sqrt,Pp=Math.tan,xp={Feature:function(t,e){Ri(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,l=-1,i=n.length;++l<i;)Ri(n[l].geometry,e)}},Sp={Sphere:function(t,e){e.sphere()},Point:function(t,e){e.point((t=t.coordinates)[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)e.point((t=n[l])[0],t[1],t[2])},LineString:function(t,e){Fi(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)Fi(n[l],e,0)},Polygon:function(t,e){Ni(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,l=-1,i=n.length;++l<i;)Ni(n[l],e)},GeometryCollection:function(t,e){for(var n=t.geometries,l=-1,i=n.length;++l<i;)Ri(n[l],e)}},kp=function(t,e){t&&xp.hasOwnProperty(t.type)?xp[t.type](t,e):Ri(t,e)},Mp=(ap(),ap(),ap(),function(t,e){function n(n,l){return n=t(n,l),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,l){return(n=e.invert(n,l))&&t.invert(n[0],n[1])}),n});qi.invert=qi;var Op=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:ji,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},Dp=function(t,e,n,l,i,r){var o,a=t[0],s=t[1],u=0,c=1,d=e[0]-a,h=e[1]-s;if(o=n-a,d||!(o>0)){if(o/=d,d<0){if(o<u)return;o<c&&(c=o)}else if(d>0){if(o>c)return;o>u&&(u=o)}if(o=i-a,d||!(o<0)){if(o/=d,d<0){if(o>c)return;o>u&&(u=o)}else if(d>0){if(o<u)return;o<c&&(c=o)}if(o=l-s,h||!(o>0)){if(o/=h,h<0){if(o<u)return;o<c&&(c=o)}else if(h>0){if(o>c)return;o>u&&(u=o)}if(o=r-s,h||!(o<0)){if(o/=h,h<0){if(o>c)return;o>u&&(u=o)}else if(h>0){if(o<u)return;o<c&&(c=o)}return u>0&&(t[0]=a+u*d,t[1]=s+u*h),c<1&&(e[0]=a+c*d,e[1]=s+c*h),!0}}}}},Tp=function(t,e){return mp(t[0]-e[0])<up&&mp(t[1]-e[1])<up},Ep=function(t,e,n,l,i){var r,o,a=[],s=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,l=t[0],o=t[e];if(Tp(l,o)){for(i.lineStart(),r=0;r<e;++r)i.point((l=t[r])[0],l[1]);i.lineEnd()}else a.push(n=new Qi(l,t,null,!0)),s.push(n.o=new Qi(l,null,n,!1)),a.push(n=new Qi(o,t,null,!1)),s.push(n.o=new Qi(o,null,n,!0))}})),a.length){for(s.sort(e),Zi(a),Zi(s),r=0,o=s.length;r<o;++r)s[r].e=n=!n;for(var u,c,d=a[0];;){for(var h=d,p=!0;h.v;)if((h=h.n)===d)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(r=0,o=u.length;r<o;++r)i.point((c=u[r])[0],c[1]);else l(h.x,h.n.x,1,i);h=h.n}else{if(p)for(r=(u=h.p.z).length-1;r>=0;--r)i.point((c=u[r])[0],c[1]);else l(h.x,h.p.x,-1,i);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}},Ip=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},Lp=(function(t){1===t.length&&(t=function(t){return function(e,n){return Ip(t(e),n)}}(t))}(Ip),function(t){for(var e,n,l,i=t.length,r=-1,o=0;++r<i;)o+=t[r].length;for(n=new Array(o);--i>=0;)for(e=(l=t[i]).length;--e>=0;)n[--o]=l[e];return n}),jp=1e9,Rp=-jp,Fp=ap(),Np=(ap(),function(t){return t}),Yp=(ap(),ap(),1/0),Up=Yp,Bp=-Yp,zp=Bp,Gp={point:function(t,e){t<Yp&&(Yp=t),t>Bp&&(Bp=t),e<Up&&(Up=e),e>zp&&(zp=e)},lineStart:ji,lineEnd:ji,polygonStart:ji,polygonEnd:ji,result:function(){var t=[[Yp,Up],[Bp,zp]];return Bp=zp=-(Up=Yp=1/0),t}},Hp=(ap(),function(t,e,n,l){return function(i,r){function o(e,n){var l=i(e,n);t(e=l[0],n=l[1])&&r.point(e,n)}function a(t,e){var n=i(t,e);m.point(n[0],n[1])}function s(){v.point=a,m.lineStart()}function u(){v.point=o,m.lineEnd()}function c(t,e){b.push([t,e]);var n=i(t,e);y.point(n[0],n[1])}function d(){y.lineStart(),b=[]}function h(){c(b[0][0],b[0][1]),y.lineEnd();var t,e,n,l,i=y.clean(),o=_.result(),a=o.length;if(b.pop(),p.push(b),b=null,a)if(1&i){if((e=(n=o[0]).length-1)>0){for(A||(r.polygonStart(),A=!0),r.lineStart(),t=0;t<e;++t)r.point((l=n[t])[0],l[1]);r.lineEnd()}}else a>1&&2&i&&o.push(o.pop().concat(o.shift())),f.push(o.filter(er))}var p,f,b,m=e(r),g=i.invert(l[0],l[1]),_=Op(),y=e(_),A=!1,v={point:o,lineStart:s,lineEnd:u,polygonStart:function(){v.point=c,v.lineStart=d,v.lineEnd=h,f=[],p=[]},polygonEnd:function(){v.point=o,v.lineStart=s,v.lineEnd=u,f=Lp(f);var t=function(t,e){var n=e[0],l=e[1],i=[Cp(n),-yp(n),0],r=0,o=0;Fp.reset();for(var a=0,s=t.length;a<s;++a)if(c=(u=t[a]).length)for(var u,c,d=u[c-1],h=d[0],p=d[1]/2+hp,f=Cp(p),b=yp(p),m=0;m<c;++m,h=_,f=A,b=v,d=g){var g=u[m],_=g[0],y=g[1]/2+hp,A=Cp(y),v=yp(y),C=_-h,w=C>=0?1:-1,P=w*C,x=P>cp,S=f*A;if(Fp.add(_p(S*w*Cp(P),b*v+S*yp(P))),r+=x?C+w*pp:C,x^h>=n^_>=n){var k=zi(Ui(d),Ui(g));Vi(k);var M=zi(i,k);Vi(M);var O=(x^C>=0?-1:1)*Li(M[2]);(l>O||l===O&&(k[0]||k[1]))&&(o+=x^C>=0?1:-1)}}return(r<-up||r<up&&Fp<-up)^1&o}(p,g);f.length?(A||(r.polygonStart(),A=!0),Ep(f,nr,t,n,r)):t&&(A||(r.polygonStart(),A=!0),r.lineStart(),n(null,null,1,r),r.lineEnd()),A&&(r.polygonEnd(),A=!1),f=p=null},sphere:function(){r.polygonStart(),r.lineStart(),n(null,null,1,r),r.lineEnd(),r.polygonEnd()}};return v}}),Vp=Hp((function(){return!0}),(function(t){var e,n=NaN,l=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(r,o){var a=r>0?cp:-cp,s=mp(r-n);mp(s-cp)<up?(t.point(n,l=(l+o)/2>0?dp:-dp),t.point(i,l),t.lineEnd(),t.lineStart(),t.point(a,l),t.point(r,l),e=0):i!==a&&s>=cp&&(mp(n-i)<up&&(n-=i*up),mp(r-a)<up&&(r-=a*up),l=function(t,e,n,l){var i,r,o=Cp(t-n);return mp(o)>up?gp((Cp(e)*(r=yp(l))*Cp(n)-Cp(l)*(i=yp(e))*Cp(t))/(i*r*o)):(e+l)/2}(n,l,r,o),t.point(i,l),t.lineEnd(),t.lineStart(),t.point(a,l),e=0),t.point(n=r,l=o),i=a},lineEnd:function(){t.lineEnd(),n=l=NaN},clean:function(){return 2-e}}}),(function(t,e,n,l){var i;if(null==t)l.point(-cp,i=n*dp),l.point(0,i),l.point(cp,i),l.point(cp,0),l.point(cp,-i),l.point(0,-i),l.point(-cp,-i),l.point(-cp,0),l.point(-cp,i);else if(mp(t[0]-e[0])>up){var r=t[0]<e[0]?cp:-cp;l.point(-r,i=n*r/2),l.point(0,i),l.point(r,i)}else l.point(e[0],e[1])}),[-cp,-dp]),qp=function(t,e){function n(t,e){return yp(t)*yp(e)>r}function l(t,e,n){var l=[1,0,0],i=zi(Ui(t),Ui(e)),o=Bi(i,i),a=i[0],s=o-a*a;if(!s)return!n&&t;var u=r*o/s,c=-r*a/s,d=zi(l,i),h=Hi(l,u);Gi(h,Hi(i,c));var p=d,f=Bi(h,p),b=Bi(p,p),m=f*f-b*(Bi(h,h)-1);if(!(m<0)){var g=wp(m),_=Hi(p,(-f-g)/b);if(Gi(_,h),_=Yi(_),!n)return _;var y,A=t[0],v=e[0],C=t[1],w=e[1];v<A&&(y=A,A=v,v=y);var P=v-A,x=mp(P-cp)<up;if(!x&&w<C&&(y=C,C=w,w=y),x||P<up?x?C+w>0^_[1]<(mp(_[0]-A)<up?C:w):C<=_[1]&&_[1]<=w:P>cp^(A<=_[0]&&_[0]<=v)){var S=Hi(p,(-f+g)/b);return Gi(S,h),[_,Yi(S)]}}}function i(e,n){var l=o?t:cp-t,i=0;return e<-l?i|=1:e>l&&(i|=2),n<-l?i|=4:n>l&&(i|=8),i}var r=yp(t),o=r>0,a=mp(r)>up;return Hp(n,(function(t){var e,r,s,u,c;return{lineStart:function(){u=s=!1,c=1},point:function(d,h){var p,f=[d,h],b=n(d,h),m=o?b?0:i(d,h):b?i(d+(d<0?cp:-cp),h):0;if(!e&&(u=s=b)&&t.lineStart(),b!==s&&(!(p=l(e,f))||Tp(e,p)||Tp(f,p))&&(f[0]+=up,f[1]+=up,b=n(f[0],f[1])),b!==s)c=0,b?(t.lineStart(),p=l(f,e),t.point(p[0],p[1])):(p=l(e,f),t.point(p[0],p[1]),t.lineEnd()),e=p;else if(a&&e&&o^b){var g;m&r||!(g=l(f,e,!0))||(c=0,o?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1])))}!b||e&&Tp(e,f)||t.point(f[0],f[1]),e=f,s=b,r=m},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return c|(u&&s)<<1}}}),(function(n,l,i,r){!function(t,e,n,l,i,r){if(n){var o=yp(e),a=Cp(e),s=l*n;null==i?(i=e+l*pp,r=e-s/2):(i=Ji(o,i),r=Ji(o,r),(l>0?i<r:i>r)&&(i+=l*pp));for(var u,c=i;l>0?c>r:c<r;c-=s)u=Yi([o,-a*yp(c),-a*Cp(c)]),t.point(u[0],u[1])}}(r,t,e,i,n,l)}),o?[0,-t]:[-cp,t-cp])};ir.prototype={constructor:ir,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Wp=yp(30*bp),$p=function(t,e){return+e?function(t,e){function n(l,i,r,o,a,s,u,c,d,h,p,f,b,m){var g=u-l,_=c-i,y=g*g+_*_;if(y>4*e&&b--){var A=o+h,v=a+p,C=s+f,w=wp(A*A+v*v+C*C),P=Li(C/=w),x=mp(mp(C)-1)<up||mp(r-d)<up?(r+d)/2:_p(v,A),S=t(x,P),k=S[0],M=S[1],O=k-l,D=M-i,T=_*O-g*D;(T*T/y>e||mp((g*O+_*D)/y-.5)>.3||o*h+a*p+s*f<Wp)&&(n(l,i,r,o,a,s,k,M,x,A/=w,v/=w,C,b,m),m.point(k,M),n(k,M,x,A,v,C,u,c,d,h,p,f,b,m))}}return function(e){function l(n,l){n=t(n,l),e.point(n[0],n[1])}function i(){g=NaN,C.point=r,e.lineStart()}function r(l,i){var r=Ui([l,i]),o=t(l,i);n(g,_,m,y,A,v,g=o[0],_=o[1],m=l,y=r[0],A=r[1],v=r[2],16,e),e.point(g,_)}function o(){C.point=l,e.lineEnd()}function a(){i(),C.point=s,C.lineEnd=u}function s(t,e){r(c=t,e),d=g,h=_,p=y,f=A,b=v,C.point=r}function u(){n(g,_,m,y,A,v,d,h,c,p,f,b,16,e),C.lineEnd=o,o()}var c,d,h,p,f,b,m,g,_,y,A,v,C={point:l,lineStart:i,lineEnd:o,polygonStart:function(){e.polygonStart(),C.lineStart=a},polygonEnd:function(){e.polygonEnd(),C.lineStart=i}};return C}}(t,e):function(t){return lr({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)},Xp=lr({point:function(t,e){this.stream.point(t*bp,e*bp)}});or.invert=function(t,e){return[t,2*gp(Ap(e))-dp]},ar.invert=function(t,e){return[-e,2*gp(Ap(t))-dp]};var Kp=function(){var t=function(t){function e(){var e=cp*a(),o=r(function(t){function e(e){return(e=t(e[0]*bp,e[1]*bp))[0]*=fp,e[1]*=fp,e}return t=Wi(t[0]*bp,t[1]*bp,t.length>2?t[2]*bp:0),e.invert=function(e){return(e=t.invert(e[0]*bp,e[1]*bp))[0]*=fp,e[1]*=fp,e},e}(r.rotate()).invert([0,0]));return u(null==c?[[o[0]-e,o[1]-e],[o[0]+e,o[1]+e]]:t===or?[[Math.max(o[0]-e,c),n],[Math.min(o[0]+e,l),i]]:[[c,Math.max(o[1]-e,n)],[l,Math.min(o[1]+e,i)]])}var n,l,i,r=function(t){return function(t){function e(t){return[(t=u(t[0]*bp,t[1]*bp))[0]*b+o,a-t[1]*b]}function n(t,e){return[(t=r(t,e))[0]*b+o,a-t[1]*b]}function l(){u=Mp(s=Wi(A,v,C),r);var t=r(_,y);return o=m-t[0]*b,a=g+t[1]*b,i()}function i(){return p=f=null,e}var r,o,a,s,u,c,d,h,p,f,b=150,m=480,g=250,_=0,y=0,A=0,v=0,C=0,w=null,P=Vp,x=null,S=Np,k=.5,M=$p(n,k);return e.stream=function(t){return p&&f===t?p:p=Xp(P(s,M(S(f=t))))},e.clipAngle=function(t){return arguments.length?(P=+t?qp(w=t*bp,6*bp):(w=null,Vp),i()):w*fp},e.clipExtent=function(t){return arguments.length?(S=null==t?(x=c=d=h=null,Np):tr(x=+t[0][0],c=+t[0][1],d=+t[1][0],h=+t[1][1]),i()):null==x?null:[[x,c],[d,h]]},e.scale=function(t){return arguments.length?(b=+t,l()):b},e.translate=function(t){return arguments.length?(m=+t[0],g=+t[1],l()):[m,g]},e.center=function(t){return arguments.length?(_=t[0]%360*bp,y=t[1]%360*bp,l()):[_*fp,y*fp]},e.rotate=function(t){return arguments.length?(A=t[0]%360*bp,v=t[1]%360*bp,C=t.length>2?t[2]%360*bp:0,l()):[A*fp,v*fp,C*fp]},e.precision=function(t){return arguments.length?(M=$p(n,k=t*t),i()):wp(k)},e.fitExtent=function(t,n){return rr(e,t,n)},e.fitSize=function(t,n){return function(t,e,n){return rr(t,[[0,0],e],n)}(e,t,n)},function(){return r=t.apply(this,arguments),e.invert=r.invert&&function(t){return(t=u.invert((t[0]-o)/b,(a-t[1])/b))&&[t[0]*fp,t[1]*fp]},l()}}((function(){return t}))()}(t),o=r.center,a=r.scale,s=r.translate,u=r.clipExtent,c=null;return r.scale=function(t){return arguments.length?(a(t),e()):a()},r.translate=function(t){return arguments.length?(s(t),e()):s()},r.center=function(t){return arguments.length?(o(t),e()):o()},r.clipExtent=function(t){return arguments.length?(null==t?c=n=l=i=null:(c=+t[0][0],n=+t[0][1],l=+t[1][0],i=+t[1][1]),e()):null==c?null:[[c,n],[l,i]]},e()}(ar),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};t.projection=io,t.random=Ua,t.clusters=Ba,t.helpers=Pr,t.invariant=Sr,t.meta=xr,t.isolines=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.zProperty||"elevation",i=n.commonProperties||{},r=n.breaksProperties||[];if($(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks must be an Array");if(!P(i))throw new Error("commonProperties must be an Object");if(!Array.isArray(r))throw new Error("breaksProperties must be an Array");var o=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.zProperty||"elevation",l=e.flip,i=e.flags;$(t,"Point","input must contain Points");for(var r=function(t,e){var n={};return T(t,(function(t){var e=H(t)[1];n[e]||(n[e]=[]),n[e].push(t)})),Object.keys(n).map((function(t){return n[t].sort((function(t,e){return H(t)[0]-H(e)[0]}))})).sort((function(t,n){return e?H(t[0])[1]-H(n[0])[1]:H(n[0])[1]-H(t[0])[1]}))}(t,l),o=[],a=0;a<r.length;a++){for(var s=r[a],u=[],c=0;c<s.length;c++){var d=s[c];u.push(d.properties[n]?d.properties[n]:0),!0===i&&(d.properties.matrixPosition=[a,c])}o.push(u)}return o}(t,{zProperty:l,flip:!0});return u(function(t,e,n){var l=z(n),i=l[0],r=l[1],o=(l[2]-l[0])/(e[0].length-1),a=(l[3]-l[1])/(e.length-1),s=function(t){t[0]=t[0]*o+i,t[1]=t[1]*a+r};return t.forEach((function(t){k(t,s)})),t}(function(t,e,n,l,i){for(var r=[],o=1;o<e.length;o++){var a=+e[o],s=Object.assign({},l,i[o]);s[n]=a;var u=c(Q(t,a),s);r.push(u)}return r}(o,e,l,i,r),o,t))},t.convex=kt,t.pointsWithinPolygon=Dt,t.concave=function(t,n){if(!P(n=n||{}))throw new Error("options is invalid");if(!t)throw new Error("points is required");var l=n.maxEdge||1/0;if(!w(l))throw new Error("maxEdge is invalid");var i=Tt(function(t){var e=[],n={};return T(t,(function(t){if(t.geometry){var l=t.geometry.coordinates.join("-");n.hasOwnProperty(l)||(e.push(t),n[l]=!0)}})),u(e)}(t));if(i.features=i.features.filter((function(t){var e=t.geometry.coordinates[0][0],i=t.geometry.coordinates[0][1],r=t.geometry.coordinates[0][2],o=jt(e,i,n),a=jt(i,r,n),s=jt(e,r,n);return o<=l&&a<=l&&s<=l})),i.features.length<1)return null;var r=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=function(t){var e={};R(t,(function(t){e[t.geometry.type]=!0}));var n=Object.keys(e);return 1===n.length?n[0]:null}(t);if(!l)throw new Error("geojson must be homogenous");switch(l){case"LineString":return function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=[],i=B(t,(function(t,e){return function(t,e){var n,l=t.geometry.coordinates,i=e.geometry.coordinates,r=Wt(l[0]),o=Wt(l[l.length-1]),s=Wt(i[0]),u=Wt(i[i.length-1]);if(r===u)n=i.concat(l.slice(1));else if(s===o)n=l.concat(i.slice(1));else if(r===s)n=l.slice(1).reverse().concat(i);else{if(o!==u)return null;n=l.concat(i.reverse().slice(1))}return a(n)}(t,e)||(l.push(t),e)}));return i&&l.push(i),l.length?1===l.length?l[0]:c(l.map((function(t){return t.coordinates}))):null}(t,e);case"Polygon":return function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==n&&void 0!==n||(t=Rt(t));var l=[];R(t,(function(t){l.push(t.geometry)}));var i=function(t,e){function n(t){t&&c.hasOwnProperty(t.type)&&c[t.type](t)}function l(t){var e=[];do{var n=u.get(t);e.push(t[0]<t[1]?n:~n)}while(t=t.next);return e}function i(t){return t.map(l)}var r=function(t){function e(t){null!=t&&u.hasOwnProperty(t.type)&&u[t.type](t)}function n(t){var e=t[0],n=t[1];e<r&&(r=e),e>a&&(a=e),n<o&&(o=n),n>s&&(s=n)}function l(t){t.forEach(n)}function i(t){t.forEach(l)}var r=1/0,o=1/0,a=-1/0,s=-1/0,u={GeometryCollection:function(t){t.geometries.forEach(e)},Point:function(t){n(t.coordinates)},MultiPoint:function(t){t.coordinates.forEach(n)},LineString:function(t){l(t.arcs)},MultiLineString:function(t){t.arcs.forEach(l)},Polygon:function(t){t.arcs.forEach(l)},MultiPolygon:function(t){t.arcs.forEach(i)}};for(var c in t)e(t[c]);return a>=r&&s>=o?[r,o,a,s]:void 0}(t=function(t){var e,n={};for(e in t)n[e]=zt(t[e]);return n}(t)),o=e>0&&r&&function(t,e,n){function l(t){return[Math.round((t[0]-u)*p),Math.round((t[1]-c)*f)]}function i(t,e){for(var n,l,i,r,o,a=-1,s=0,d=t.length,h=new Array(d);++a<d;)n=t[a],r=Math.round((n[0]-u)*p),o=Math.round((n[1]-c)*f),r===l&&o===i||(h[s++]=[l=r,i=o]);for(h.length=s;s<e;)s=h.push([h[0][0],h[0][1]]);return h}function r(t){return i(t,2)}function o(t){return i(t,4)}function a(t){return t.map(o)}function s(t){null!=t&&b.hasOwnProperty(t.type)&&b[t.type](t)}var u=e[0],c=e[1],d=e[2],h=e[3],p=d-u?(n-1)/(d-u):1,f=h-c?(n-1)/(h-c):1,b={GeometryCollection:function(t){t.geometries.forEach(s)},Point:function(t){t.coordinates=l(t.coordinates)},MultiPoint:function(t){t.coordinates=t.coordinates.map(l)},LineString:function(t){t.arcs=r(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(r)},Polygon:function(t){t.arcs=a(t.arcs)},MultiPolygon:function(t){t.arcs=t.arcs.map(a)}};for(var m in t)s(t[m]);return{scale:[1/p,1/f],translate:[u,c]}}(t,r,e),a=function(t){function e(t){var e,n,l,i,r,o,a,s;if(l=p.get(e=u[t[0]]))for(a=0,s=l.length;a<s;++a)if(function(t,e){var n=t[0],l=e[0],i=t[1];if(n-i!=l-e[1])return!1;for(;n<=i;++n,++l)if(!Kr(u[n],u[l]))return!1;return!0}(i=l[a],t))return t[0]=i[0],void(t[1]=i[1]);if(r=p.get(n=u[t[1]]))for(a=0,s=r.length;a<s;++a)if(function(t,e){var n=t[0],l=t[1],i=e[1];if(n-l!=e[0]-i)return!1;for(;n<=l;++n,--i)if(!Kr(u[n],u[i]))return!1;return!0}(o=r[a],t))return t[1]=o[0],void(t[0]=o[1]);l?l.push(t):p.set(e,[t]),r?r.push(t):p.set(n,[t]),f.push(t)}function n(t,e){var n=t[0],l=e[0],r=t[1]-n;if(r!==e[1]-l)return!1;for(var o=i(t),a=i(e),s=0;s<r;++s)if(!Kr(u[n+(s+o)%r],u[l+(s+a)%r]))return!1;return!0}function l(t,e){var n=t[0],l=e[1],r=t[1]-n;if(r!==l-e[0])return!1;for(var o=i(t),a=r-i(e),s=0;s<r;++s)if(!Kr(u[n+(s+o)%r],u[l-(s+a)%r]))return!1;return!0}function i(t){for(var e=t[0],n=t[1],l=e,i=l,r=u[l];++l<n;){var o=u[l];(o[0]<r[0]||o[0]===r[0]&&o[1]<r[1])&&(i=l,r=o)}return i-e}var r,o,a,s,u=t.coordinates,c=t.lines,d=t.rings,h=c.length+d.length;for(delete t.lines,delete t.rings,a=0,s=c.length;a<s;++a)for(r=c[a];r=r.next;)++h;for(a=0,s=d.length;a<s;++a)for(o=d[a];o=o.next;)++h;var p=Xr(2*h*1.4,to,Kr),f=t.arcs=[];for(a=0,s=c.length;a<s;++a){r=c[a];do{e(r)}while(r=r.next)}for(a=0,s=d.length;a<s;++a)if((o=d[a]).next)do{e(o)}while(o=o.next);else!function(t){var e,r,o,a,s;if(r=p.get(u[t[0]]))for(a=0,s=r.length;a<s;++a){if(n(o=r[a],t))return t[0]=o[0],void(t[1]=o[1]);if(l(o,t))return t[0]=o[1],void(t[1]=o[0])}if(r=p.get(e=u[t[0]+i(t)]))for(a=0,s=r.length;a<s;++a){if(n(o=r[a],t))return t[0]=o[0],void(t[1]=o[1]);if(l(o,t))return t[0]=o[1],void(t[1]=o[0])}r?r.push(t):p.set(e,[t]),f.push(t)}(o);return t}(function(t){var e,n,l,i=function(t){function e(t,e,n,l){if(h[n]!==t){h[n]=t;var i=p[n];if(i>=0){var r=f[n];i===e&&r===l||i===l&&r===e||(++m,b[n]=1)}else p[n]=e,f[n]=l}}function n(t){return to(s[t])}function l(t,e){return Kr(s[t],s[e])}var i,r,o,a,s=t.coordinates,u=t.lines,c=t.rings,d=function(){for(var t=Xr(1.4*s.length,n,l,Int32Array,-1,Int32Array),e=new Int32Array(s.length),i=0,r=s.length;i<r;++i)e[i]=t.maybeSet(i,i);return e}(),h=new Int32Array(s.length),p=new Int32Array(s.length),f=new Int32Array(s.length),b=new Int8Array(s.length),m=0;for(i=0,r=s.length;i<r;++i)h[i]=p[i]=f[i]=-1;for(i=0,r=u.length;i<r;++i){var g=u[i],_=g[0],y=g[1];for(o=d[_],a=d[++_],++m,b[o]=1;++_<=y;)e(i,o,o=a,a=d[_]);++m,b[a]=1}for(i=0,r=s.length;i<r;++i)h[i]=-1;for(i=0,r=c.length;i<r;++i){var A=c[i],v=A[0]+1,C=A[1];for(e(i,d[C-1],o=d[v-1],a=d[v]);++v<=C;)e(i,o,o=a,a=d[v])}h=p=f=null;var w,P=function(t,e,n,l,i){3===arguments.length&&(l=Array,i=null);for(var r=new l(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),o=t-1,a=0;a<t;++a)r[a]=i;return{add:function(l){for(var a=e(l)&o,s=r[a],u=0;s!=i;){if(n(s,l))return!0;if(++u>=t)throw new Error("full hashset");s=r[a=a+1&o]}return r[a]=l,!0},has:function(l){for(var a=e(l)&o,s=r[a],u=0;s!=i;){if(n(s,l))return!0;if(++u>=t)break;s=r[a=a+1&o]}return!1},values:function(){for(var t=[],e=0,n=r.length;e<n;++e){var l=r[e];l!=i&&t.push(l)}return t}}}(1.4*m,to,Kr);for(i=0,r=s.length;i<r;++i)b[w=d[i]]&&P.add(s[w]);return P}(t),r=t.coordinates,o=t.lines,a=t.rings;for(n=0,l=o.length;n<l;++n)for(var s=o[n],u=s[0],c=s[1];++u<c;)i.has(r[u])&&(e={0:u,1:s[1]},s[1]=u,s=s.next=e);for(n=0,l=a.length;n<l;++n)for(var d=a[n],h=d[0],p=h,f=d[1],b=i.has(r[h]);++p<f;)i.has(r[p])&&(b?(e={0:p,1:d[1]},d[1]=p,d=d.next=e):(function(t,e,n,l){Bt(t,e,n),Bt(t,e,e+l),Bt(t,e+l,n)}(r,h,f,f-p),r[f]=r[h],b=!0,p=h));return t}(function(t){function e(t){t&&u.hasOwnProperty(t.type)&&u[t.type](t)}function n(t){for(var e=0,n=t.length;e<n;++e)s[++r]=t[e];var l={0:r-n+1,1:r};return o.push(l),l}function l(t){for(var e=0,n=t.length;e<n;++e)s[++r]=t[e];var l={0:r-n+1,1:r};return a.push(l),l}function i(t){return t.map(l)}var r=-1,o=[],a=[],s=[],u={GeometryCollection:function(t){t.geometries.forEach(e)},LineString:function(t){t.arcs=n(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(n)},Polygon:function(t){t.arcs=t.arcs.map(l)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var c in t)e(t[c]);return{type:"Topology",coordinates:s,lines:o,rings:a,objects:t}}(t))),s=a.coordinates,u=Xr(1.4*a.arcs.length,Vt,qt);t=a.objects,a.bbox=r,a.arcs=a.arcs.map((function(t,e){return u.set(t,e),s.slice(t[0],t[1]+1)})),delete a.coordinates,s=null;var c={GeometryCollection:function(t){t.geometries.forEach(n)},LineString:function(t){t.arcs=l(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(l)},Polygon:function(t){t.arcs=t.arcs.map(l)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var d in t)n(t[d]);return o&&(a.transform=o,a.arcs=function(t){for(var e=-1,n=t.length;++e<n;){for(var l,i,r=t[e],o=0,a=1,s=r.length,u=r[0],c=u[0],d=u[1];++o<s;)l=(u=r[o])[0],i=u[1],l===c&&i===d||(r[a++]=[l-c,i-d],c=l,d=i);1===a&&(r[a++]=[0,0]),r.length=a}return t}(a.arcs)),a}({geoms:p(l).geometry});return function(t){return Yt(t,Ut.apply(this,arguments))}(i,i.objects.geoms.geometries)}(t,e);default:throw new Error(l+" is not supported")}}(i,n);return 1===r.coordinates.length&&(r.coordinates=r.coordinates[0],r.type="Polygon"),e(r)},t.collect=function(t,e,n,l){var i=Dr(6),r=e.features.map((function(t){return{minX:t.geometry.coordinates[0],minY:t.geometry.coordinates[1],maxX:t.geometry.coordinates[0],maxY:t.geometry.coordinates[1],property:t.properties[n]}}));return i.load(r),t.features.forEach((function(t){t.properties||(t.properties={});var e=z(t),n=[];i.search({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}).forEach((function(e){Mt([e.minX,e.minY],t)&&n.push(e.property)})),t.properties[l]=n})),t},t.flip=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.mutate;if(!t)throw new Error("geojson is required");return!1!==n&&void 0!==n||(t=Rt(t)),k(t,(function(t){var e=t[0];t[0]=t[1],t[1]=e})),t},t.simplify=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=void 0!==e.tolerance?e.tolerance:1,l=e.highQuality||!1,i=e.mutate||!1;if(!t)throw new Error("geojson is required");if(n&&n<0)throw new Error("invalid tolerance");return!0!==i&&(t=Rt(t)),L(t,(function(t){!function(t,e,n){var l=t.type;if("Point"===l||"MultiPoint"===l)return t;$t(t,!0);var i=t.coordinates;switch(l){case"LineString":t.coordinates=Zt(i,e,n);break;case"MultiLineString":t.coordinates=i.map((function(t){return Zt(t,e,n)}));break;case"Polygon":t.coordinates=te(i,e,n);break;case"MultiPolygon":t.coordinates=i.map((function(t){return te(t,e,n)}))}}(t,n,l)})),t},t.bezierSpline=ee,t.tag=function(t,e,n,l){return t=Rt(t),e=Rt(e),T(t,(function(t){t.properties||(t.properties={}),T(e,(function(e){void 0===t.properties[l]&&Mt(t,e)&&(t.properties[l]=e.properties[n])}))})),t},t.sample=function(t,e){if(!t)throw new Error("featurecollection is required");if(null==e)throw new Error("num is required");if("number"!=typeof e)throw new Error("num must be a number");return u(function(t,e){for(var n,l,i=t.slice(0),r=t.length,o=r-e;r-- >o;)n=i[l=Math.floor((r+1)*Math.random())],i[l]=i[r],i[r]=n;return i.slice(o)}(t.features,e))},t.envelope=le,t.square=ie,t.circle=oe,t.midpoint=function(t,e){return re(t,jt(t,e)/2,ae(t,e))},t.center=se,t.centerOfMass=function t(e,n){switch(J(e)){case"Point":return e;case"Polygon":var i=[];k(e,(function(t){i.push(t)}));var r,o,a,s,u,c,d,h,p=ue(e,n),f=p.geometry.coordinates,b=0,m=0,g=0,_=i.map((function(t){return[t[0]-f[0],t[1]-f[1]]}));for(r=0;r<i.length-1;r++)s=(o=_[r])[0],u=(a=_[r+1])[0],g+=h=s*(d=a[1])-u*(c=o[1]),b+=(s+u)*h,m+=(c+d)*h;if(0===g)return p;var y=1/(.5*g*6);return l([f[0]+y*b,f[1]+y*m],n);default:var A=kt(e);return A?t(A,n):ue(e,n)}},t.centroid=ue,t.combine=function(t){function n(t,e,n){n?l[e].coordinates=l[e].coordinates.concat(t.geometry.coordinates):l[e].coordinates.push(t.geometry.coordinates),l[e].properties.push(t.properties)}var l={MultiPoint:{coordinates:[],properties:[]},MultiLineString:{coordinates:[],properties:[]},MultiPolygon:{coordinates:[],properties:[]}},i=Object.keys(l).reduce((function(t,e){return t[e.replace("Multi","")]=e,t}),{});return T(t,(function(t){t.geometry&&(l[t.geometry.type]?n(t,t.geometry.type,!0):i[t.geometry.type]&&n(t,i[t.geometry.type],!1))})),u(Object.keys(l).filter((function(t){return l[t].coordinates.length})).sort().map((function(t){return e({type:t,coordinates:l[t].coordinates},{collectedProperties:l[t].properties})})))},t.distance=jt,t.explode=ce,t.bbox=z,t.tesselate=function(t){if(!t.geometry||"Polygon"!==t.geometry.type&&"MultiPolygon"!==t.geometry.type)throw new Error("input must be a Polygon or MultiPolygon");var e={type:"FeatureCollection",features:[]};return"Polygon"===t.geometry.type?e.features=Se(t.geometry.coordinates):t.geometry.coordinates.forEach((function(t){e.features=e.features.concat(Se(t))})),e},t.bboxPolygon=ne,t.booleanPointInPolygon=Mt,t.nearestPoint=ke,t.nearestPointOnLine=$e,t.nearestPointToLine=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=n.properties||{};if(!t)throw new Error("points is required");if(!(t=function(t){var e=[];switch(t.geometry?t.geometry.type:t.type){case"GeometryCollection":return L(t,(function(t){"Point"===t.type&&e.push({type:"Feature",properties:{},geometry:t})})),{type:"FeatureCollection",features:e};case"FeatureCollection":return t.features=t.features.filter((function(t){return"Point"===t.geometry.type})),t;default:throw new Error("points must be a Point Collection")}}(t)).features.length)throw new Error("points must contain features");if(!e)throw new Error("line is required");if("LineString"!==J(e))throw new Error("line must be a LineString");var r=1/0,o=null;return T(t,(function(t){var n=ln(t,e,{units:l});n<r&&(r=n,o=t)})),o&&(o.properties=Object.assign({dist:r},o.properties,i)),o},t.planepoint=function(t,e){var n=G(t),l=X(e).coordinates[0];if(l.length<4)throw new Error("OuterRing of a Polygon must have 4 or more Positions.");var i=e.properties||{},r=i.a,o=i.b,a=i.c,s=n[0],u=n[1],c=l[0][0],d=l[0][1],h=void 0!==r?r:l[0][2],p=l[1][0],f=l[1][1],b=void 0!==o?o:l[1][2],m=l[2][0],g=l[2][1],_=void 0!==a?a:l[2][2];return(_*(s-c)*(u-f)+h*(s-p)*(u-g)+b*(s-m)*(u-d)-b*(s-c)*(u-g)-_*(s-p)*(u-d)-h*(s-m)*(u-f))/((s-c)*(u-f)+(s-p)*(u-g)+(s-m)*(u-d)-(s-c)*(u-g)-(s-p)*(u-d)-(s-m)*(u-f))},t.tin=Tt,t.bearing=ae,t.destination=re,t.kinks=function(t){var e,n,i={type:"FeatureCollection",features:[]};if("LineString"===(n="Feature"===t.type?t.geometry:t).type)e=[n.coordinates];else if("MultiLineString"===n.type)e=n.coordinates;else if("MultiPolygon"===n.type)e=[].concat.apply([],n.coordinates);else{if("Polygon"!==n.type)throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");e=n.coordinates}return e.forEach((function(t){e.forEach((function(e){for(var n=0;n<t.length-1;n++)for(var r=n;r<e.length-1;r++){if(t===e){if(1===Math.abs(n-r))continue;if(0===n&&r===t.length-2&&t[n][0]===t[t.length-1][0]&&t[n][1]===t[t.length-1][1])continue}var o=function(t,e,n,l,i,r,o,a){var s,u,c,d,h={x:null,y:null,onLine1:!1,onLine2:!1};return 0==(s=(a-r)*(n-t)-(o-i)*(l-e))?null!==h.x&&null!==h.y&&h:(d=(o-i)*(u=e-r)-(a-r)*(c=t-i),c=((n-t)*u-(l-e)*c)/s,h.x=t+(u=d/s)*(n-t),h.y=e+u*(l-e),u>=0&&u<=1&&(h.onLine1=!0),c>=0&&c<=1&&(h.onLine2=!0),!(!h.onLine1||!h.onLine2)&&[h.x,h.y])}(t[n][0],t[n][1],t[n+1][0],t[n+1][1],e[r][0],e[r][1],e[r+1][0],e[r+1][1]);o&&i.features.push(l([o[0],o[1]]))}}))})),i},t.pointOnFeature=on,t.area=sn,t.along=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var i;if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}if(!w(e))throw new Error("distance must be a number");for(var r=0,o=0;o<i.length&&!(e>=r&&o===i.length-1);o++){if(r>=e){var a=e-r;if(a){var s=ae(i[o],i[o-1])-180;return re(i[o],a,s,n)}return l(i[o])}r+=jt(i[o],i[o+1],n)}return l(i[i.length-1])},t.length=hn,t.lineSlice=function(t,e,n){var l=H(n);if("LineString"!==J(n))throw new Error("line must be a LineString");for(var i,r=$e(n,t),o=$e(n,e),s=[(i=r.properties.index<=o.properties.index?[r,o]:[o,r])[0].geometry.coordinates],u=i[0].properties.index+1;u<i[1].properties.index+1;u++)s.push(l[u]);return s.push(i[1].geometry.coordinates),a(s,n.properties)},t.lineSliceAlong=pn,t.pointGrid=_n,t.truncate=yn,t.flatten=function(t){if(!t)throw new Error("geojson is required");var e=[];return R(t,(function(t){e.push(t)})),u(e)},t.lineIntersect=qe,t.lineChunk=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units,i=n.reverse;if(!t)throw new Error("geojson is required");if(e<=0)throw new Error("segmentLength must be greater than 0");var r=[];return R(t,(function(t){i&&(t.geometry.coordinates=t.geometry.coordinates.reverse()),function(t,e,n,l){var i=hn(t,{units:n});if(i<=e)return l(t);var r=i/e;Number.isInteger(r)||(r=Math.floor(r)+1);for(var o=0;o<r;o++)l(pn(t,e*o,e*(o+1),{units:n}))}(t,e,l,(function(t){r.push(t)}))})),u(r)},t.unkinkPolygon=function(t){var e=[];return R(t,(function(t){"Polygon"===t.geometry.type&&T(function(t){function e(){for(var t=[],e=0;e<f.features.length;e++)-1==f.features[e].properties.parent&&t.push(e);if(t.length>1)for(e=0;e<t.length;e++){for(var n=-1,l=0;l<f.features.length;l++)t[e]!=l&&Mt(f.features[t[e]].geometry.coordinates[0][0],f.features[l],{ignoreBoundary:!0})&&sn(f.features[l])<1/0&&(n=l);f.features[t[e]].properties.parent=n}}function n(){for(var t=0;t<f.features.length;t++)if(-1==f.features[t].properties.parent){var e=f.features[t].properties.winding;f.features[t].properties.netWinding=e,l(t,e)}}function l(t,e){for(var n=0;n<f.features.length;n++)if(f.features[n].properties.parent==t){var i=e+f.features[n].properties.winding;f.features[n].properties.netWinding=i,l(n,i)}}if("Feature"!=t.type)throw new Error("The input must a geojson object of type Feature");if(void 0===t.geometry||null==t.geometry)throw new Error("The input must a geojson object with a non-empty geometry");if("Polygon"!=t.geometry.type)throw new Error("The input must be a geojson Polygon");for(var i=t.geometry.coordinates.length,o=[],a=0;a<i;a++){var s=t.geometry.coordinates[a];Cn(s[0],s[s.length-1])||s.push(s[0]),o.push.apply(o,s.slice(0,s.length-1))}if(!function(t){for(var e={},n=1,l=0,i=t.length;l<i;++l){if(e.hasOwnProperty(t[l])){n=0;break}e[t[l]]=1}return n}(o))throw new Error("The input polygon may not have duplicate vertices (except for the first and last vertex of each ring)");var c=o.length,d=function(t,e,n){function l(t,n,l,i){var s,u,c=r[t][n],d=r[t][n+1],h=r[l][i],p=r[l][i+1],f=function(t,e,n,l){if(An(t,n)||An(t,l)||An(e,n)||An(l,n))return null;var i=t[0],r=t[1],o=e[0],a=e[1],s=n[0],u=n[1],c=l[0],d=l[1],h=(i-o)*(u-d)-(r-a)*(s-c);return 0===h?null:[((i*a-r*o)*(s-c)-(i-o)*(s*d-u*c))/h,((i*a-r*o)*(u-d)-(r-a)*(s*d-u*c))/h]}(c,d,h,p);if(null!==f&&(u=p[0]!==h[0]?(f[0]-h[0])/(p[0]-h[0]):(f[1]-h[1])/(p[1]-h[1]),!((s=d[0]!==c[0]?(f[0]-c[0])/(d[0]-c[0]):(f[1]-c[1])/(d[1]-c[1]))>=1||s<=0||u>=1||u<=0))){var b=!a[f];b&&(a[f]=!0),o.push(e?e(f,t,n,c,d,s,l,i,h,p,u,b):f)}}function i(t,e){var n,l,i,o,a=r[t][e],s=r[t][e+1];return a[0]<s[0]?(n=a[0],l=s[0]):(n=s[0],l=a[0]),a[1]<s[1]?(i=a[1],o=s[1]):(i=s[1],o=a[1]),{minX:n,minY:i,maxX:l,maxY:o,ring:t,edge:e}}if("Polygon"!==t.geometry.type)throw new Error("The input feature must be a Polygon");void 0===n&&(n=1);var r=t.geometry.coordinates,o=[],a={};if(n){for(var s=[],u=0;u<r.length;u++)for(var c=0;c<r[u].length-1;c++)s.push(i(u,c));var d=Dr();d.load(s)}for(var h=0;h<r.length;h++)for(var p=0;p<r[h].length-1;p++)if(n)d.search(i(h,p)).forEach((function(t){l(h,p,t.ring,t.edge)}));else for(var f=0;f<r.length;f++)for(var b=0;b<r[f].length-1;b++)l(h,p,f,b);return e||(o={type:"Feature",geometry:{type:"MultiPoint",coordinates:o}}),o}(t,(function(t,e,n,l,i,r,o,a,s,u,c,d){return[t,e,n,l,i,r,o,a,s,u,c,d]})),h=d.length;if(0==h){var p=[];for(a=0;a<i;a++)p.push(r([t.geometry.coordinates[a]],{parent:-1,winding:function(t){for(var e=0,n=0;n<t.length-1;n++)t[n][0]<t[e][0]&&(e=n);if(vn([t[(e-1).modulo(t.length-1)],t[e],t[(e+1).modulo(t.length-1)]],!0))var l=1;else l=-1;return l}(t.geometry.coordinates[a])}));var f=u(p);return e(),n(),f}var b=[],m=[];for(a=0;a<i;a++){b.push([]);for(var g=0;g<t.geometry.coordinates[a].length-1;g++)b[a].push([new oo(t.geometry.coordinates[a][(g+1).modulo(t.geometry.coordinates[a].length-1)],1,[a,g],[a,(g+1).modulo(t.geometry.coordinates[a].length-1)],void 0)]),m.push(new ao(t.geometry.coordinates[a][g],[a,(g-1).modulo(t.geometry.coordinates[a].length-1)],[a,g],void 0,void 0,!1,!0))}for(a=0;a<h;a++)b[d[a][1]][d[a][2]].push(new oo(d[a][0],d[a][5],[d[a][1],d[a][2]],[d[a][6],d[a][7]],void 0)),d[a][11]&&m.push(new ao(d[a][0],[d[a][1],d[a][2]],[d[a][6],d[a][7]],void 0,void 0,!0,!0));var _=m.length;for(a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)b[a][g].sort((function(t,e){return t.param<e.param?-1:1}));var y=[];for(a=0;a<_;a++)y.push({minX:m[a].coord[0],minY:m[a].coord[1],maxX:m[a].coord[0],maxY:m[a].coord[1],index:a});var A=Dr();for(A.load(y),a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)for(var v=0;v<b[a][g].length;v++){w=v==b[a][g].length-1?b[a][(g+1).modulo(t.geometry.coordinates[a].length-1)][0].coord:b[a][g][v+1].coord;var C=A.search({minX:w[0],minY:w[1],maxX:w[0],maxY:w[1]})[0];b[a][g][v].nxtIsectAlongEdgeIn=C.index}for(a=0;a<b.length;a++)for(g=0;g<b[a].length;g++)for(v=0;v<b[a][g].length;v++){var w=b[a][g][v].coord,P=(C=A.search({minX:w[0],minY:w[1],maxX:w[0],maxY:w[1]})[0]).index;P<c?m[P].nxtIsectAlongRingAndEdge2=b[a][g][v].nxtIsectAlongEdgeIn:Cn(m[P].ringAndEdge1,b[a][g][v].ringAndEdgeIn)?m[P].nxtIsectAlongRingAndEdge1=b[a][g][v].nxtIsectAlongEdgeIn:m[P].nxtIsectAlongRingAndEdge2=b[a][g][v].nxtIsectAlongEdgeIn}var x=[];for(a=0,g=0;g<i;g++){var S=a;for(v=0;v<t.geometry.coordinates[g].length-1;v++)m[a].coord[0]<m[S].coord[0]&&(S=a),a++;var k=m[S].nxtIsectAlongRingAndEdge2;for(v=0;v<m.length;v++)if(m[v].nxtIsectAlongRingAndEdge1==S||m[v].nxtIsectAlongRingAndEdge2==S){var M=v;break}var O=vn([m[M].coord,m[S].coord,m[k].coord],!0)?1:-1;x.push({isect:S,parent:-1,winding:O})}for(x.sort((function(t,e){return m[t.isect].coord>m[e.isect].coord?-1:1})),p=[];x.length>0;){var D=x.pop(),T=D.isect,E=D.parent,I=D.winding,L=p.length,j=[m[T].coord],R=T;if(m[T].ringAndEdge1Walkable)var F=m[T].ringAndEdge1,N=m[T].nxtIsectAlongRingAndEdge1;else F=m[T].ringAndEdge2,N=m[T].nxtIsectAlongRingAndEdge2;for(;!Cn(m[T].coord,m[N].coord);){j.push(m[N].coord);var Y=void 0;for(a=0;a<x.length;a++)if(x[a].isect==N){Y=a;break}if(null!=Y&&x.splice(Y,1),Cn(F,m[N].ringAndEdge1)){if(F=m[N].ringAndEdge2,m[N].ringAndEdge2Walkable=!1,m[N].ringAndEdge1Walkable){var U={isect:N};vn([m[R].coord,m[N].coord,m[m[N].nxtIsectAlongRingAndEdge2].coord],1==I)?(U.parent=E,U.winding=-I):(U.parent=L,U.winding=I),x.push(U)}R=N,N=m[N].nxtIsectAlongRingAndEdge2}else F=m[N].ringAndEdge1,m[N].ringAndEdge1Walkable=!1,m[N].ringAndEdge2Walkable&&(U={isect:N},vn([m[R].coord,m[N].coord,m[m[N].nxtIsectAlongRingAndEdge1].coord],1==I)?(U.parent=E,U.winding=-I):(U.parent=L,U.winding=I),x.push(U)),R=N,N=m[N].nxtIsectAlongRingAndEdge1}j.push(m[N].coord),p.push(r([j],{index:L,parent:E,winding:I,netWinding:void 0}))}return f=u(p),e(),n(),f}(t),(function(n){e.push(r(n.geometry.coordinates,t.properties))}))})),u(e)},t.greatCircle=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.properties,i=n.npoints,r=n.offset;return t=G(t),e=G(e),i=i||100,r=r||10,new fo({x:t[0],y:t[1]},{x:e[0],y:e[1]},l=l||{}).Arc(i,{offset:r}).json()},t.lineSegment=Ve,t.lineSplit=function(t,e){if(!t)throw new Error("line is required");if(!e)throw new Error("splitter is required");var n=J(t),l=J(e);if("LineString"!==n)throw new Error("line must be LineString");if("FeatureCollection"===l)throw new Error("splitter cannot be a FeatureCollection");if("GeometryCollection"===l)throw new Error("splitter cannot be a GeometryCollection");var i=yn(e,{precision:7});switch(l){case"Point":return Pn(t,i);case"MultiPoint":return wn(t,i);case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":return wn(t,qe(t,i))}},t.lineArc=kn,t.polygonToLine=On,t.lineToPolygon=Tn,t.bboxClip=function(t,e){var n=function(t){return t.geometry?t.geometry.type:t.type}(t),l=H(t),i=t.properties;switch(n){case"LineString":case"MultiLineString":var o=[];return"LineString"===n&&(l=[l]),l.forEach((function(t){bo(t,e,o)})),1===o.length?a(o[0],i):c(o,i);case"Polygon":return r(Fn(l,e),i);case"MultiPolygon":return h(l.map((function(t){return Fn(t,e)})),i);default:throw new Error("geometry "+n+" not supported")}},t.lineOverlap=zn,t.sector=function(t,e,n,l,i){if(!P(i=i||{}))throw new Error("options is invalid");if(!t)throw new Error("center is required");if(null==n)throw new Error("bearing1 is required");if(null==l)throw new Error("bearing2 is required");if(!e)throw new Error("radius is required");if("object"!=typeof i)throw new Error("options must be an object");if(Hn(n)===Hn(l))return oe(t,e,i);var o=H(t),a=[[o]];return k(kn(t,e,n,l,i),(function(t){a[0].push(t)})),a[0].push(o),r(a)},t.rhumbBearing=Xe,t.rhumbDistance=Je,t.rhumbDestination=Vn,t.polygonTangents=function(t,e){var n,i,r,o=H(t),a=H(e);switch(J(e)){case"Polygon":n=a[0][0],i=a[0][0],r=Wn(a[0][0],a[0][a[0].length-1],o);var s=qn(a[0],o,r,void 0,n,i);n=s[0],i=s[1];break;case"MultiPolygon":n=a[0][0][0],i=a[0][0][0],r=Wn(a[0][0][0],a[0][0][a[0][0].length-1],o),a.forEach((function(t){var e=qn(t[0],o,r,void 0,n,i);n=e[0],i=e[1]}))}return u([l(n),l(i)])},t.rewind=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.reverse||!1,l=e.mutate||!1;if(!t)throw new Error("<geojson> is required");if("boolean"!=typeof n)throw new Error("<reverse> must be a boolean");if("boolean"!=typeof l)throw new Error("<mutate> must be a boolean");!1===l&&(t=Rt(t));var i=[];switch(t.type){case"GeometryCollection":return L(t,(function(t){Xn(t,n)})),t;case"FeatureCollection":return T(t,(function(t){T(Xn(t,n),(function(t){i.push(t)}))})),u(i)}return Xn(t,n)},t.isobands=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.zProperty||"elevation",i=n.commonProperties||{},o=n.breaksProperties||[];if($(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks is not an Array");if(!P(i))throw new Error("commonProperties is not an Object");if(!Array.isArray(o))throw new Error("breaksProperties is not an Array");var a=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.zProperty||"elevation",l=e.flip,i=e.flags;$(t,"Point","input must contain Points");for(var r=function(t,e){var n={};return T(t,(function(t){var e=H(t)[1];n[e]||(n[e]=[]),n[e].push(t)})),Object.keys(n).map((function(t){return n[t].sort((function(t,e){return H(t)[0]-H(e)[0]}))})).sort((function(t,n){return e?H(t[0])[1]-H(n[0])[1]:H(n[0])[1]-H(t[0])[1]}))}(t,l),o=[],a=0;a<r.length;a++){for(var s=r[a],u=[],c=0;c<s.length;c++){var d=s[c];u.push(d.properties[n]?d.properties[n]:0),!0===i&&(d.properties.matrixPosition=[a,c])}o.push(u)}return o}(t,{zProperty:l,flip:!0}),s=function(t,e,n){for(var l=[],i=1;i<e.length;i++){var o=+e[i-1],a=+e[i],s=function(t){for(var e=t.map((function(t){return{lrCoordinates:t,grouped:!1}})),n=[];!function(t){for(var e=0;e<t.length;e++)if(!1===t[e].grouped)return!1;return!0}(e);)for(var l=0;l<e.length;l++)if(!e[l].grouped){var i=[];i.push(e[l].lrCoordinates),e[l].grouped=!0;for(var o=r([e[l].lrCoordinates]),a=l+1;a<e.length;a++)e[a].grouped||function(t,e){for(var n=ce(t),l=0;l<n.features.length;l++)if(!Mt(n.features[l],e))return!1;return!0}(r([e[a].lrCoordinates]),o)&&(i.push(e[a].lrCoordinates),e[a].grouped=!0);n.push(i)}return n}(function(t){var e=[],n=[];t.forEach((function(t){var l=sn(r([t]));n.push(l),e.push({ring:t,area:l})})),n.sort((function(t,e){return e-t}));var l=[];return n.forEach((function(t){for(var n=0;n<e.length;n++)if(e[n].area===t){l.push(e[n].ring),e.splice(n,1);break}})),l}(Qn(t,o,a-o))),u={};u.groupedRings=s,u[n]=o+"-"+a,l.push(u)}return l}(a,e,l);return u((s=function(t,e,n){var l=z(n),i=l[0],r=l[1],o=(l[2]-l[0])/(e[0].length-1),a=(l[3]-l[1])/(e.length-1),s=function(t){t[0]=t[0]*o+i,t[1]=t[1]*a+r};return t.forEach((function(t){t.groupedRings.forEach((function(t){t.forEach((function(t){t.forEach(s)}))}))})),t}(s,a,t)).map((function(t,e){if(o[e]&&!P(o[e]))throw new Error("Each mappedProperty is required to be an Object");var n=Object.assign({},i,o[e]);return n[l]=t[l],h(t.groupedRings,n)})))},t.transformRotate=el,t.transformScale=nl,t.transformTranslate=function(t,e,n,l){if(!P(l=l||{}))throw new Error("options is invalid");var i=l.units,r=l.zTranslation,o=l.mutate;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("distance is required");if(r&&"number"!=typeof r&&isNaN(r))throw new Error("zTranslation is not a number");if(r=void 0!==r?r:0,0===e&&0===r)return t;if(null==n||isNaN(n))throw new Error("direction is required");return e<0&&(e=-e,n=-n),!1!==o&&void 0!==o||(t=Rt(t)),k(t,(function(t){var l=H(Vn(t,e,n,{units:i}));t[0]=l[0],t[1]=l[1],r&&3===t.length&&(t[2]+=r)})),t},t.lineOffset=function(t,e,n){if(!P(n=n||{}))throw new Error("options is invalid");var l=n.units;if(!t)throw new Error("geojson is required");if(null==e||isNaN(e))throw new Error("distance is required");var i=J(t),r=t.properties;switch(i){case"LineString":return ol(t,e,l);case"MultiLineString":var o=[];return R(t,(function(t){o.push(ol(t,e,l).geometry.coordinates)})),c(o,r);default:throw new Error("geometry "+i+" is not supported")}},t.polygonize=function(t){var e=fa.fromGeoJson(t);e.deleteDangles(),e.deleteCutEdges();var n=[],l=[];return e.getEdgeRings().filter((function(t){return t.isValid()})).forEach((function(t){t.isHole()?n.push(t):l.push(t)})),n.forEach((function(t){ha.findEdgeRingContaining(t,l)&&l.push(t)})),u(l.map((function(t){return t.toPolygon()})))},t.booleanDisjoint=function(t,e){var n;return R(t,(function(t){R(e,(function(e){if(!1===n)return!1;n=function(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t.coordinates,e.coordinates);case"LineString":return!ul(e,t);case"Polygon":return!Mt(t,e)}break;case"LineString":switch(e.type){case"Point":return!ul(t,e);case"LineString":return!function(t,e){return qe(t,e).features.length>0}(t,e);case"Polygon":return!cl(e,t)}break;case"Polygon":switch(e.type){case"Point":return!Mt(e,t);case"LineString":return!cl(t,e);case"Polygon":return!function(t,e){for(var n=0;n<t.coordinates[0].length;n++)if(Mt(t.coordinates[0][n],e))return!0;for(var l=0;l<e.coordinates[0].length;l++)if(Mt(e.coordinates[0][l],t))return!0;return!1}(e,t)}}}(t.geometry,e.geometry)}))})),n},t.booleanContains=function(t,e){var n=J(t),l=J(e),i=X(t),r=X(e),o=H(t),a=H(e);switch(n){case"Point":switch(l){case"Point":return hl(o,a);default:throw new Error("feature2 "+l+" geometry not supported")}case"MultiPoint":switch(l){case"Point":return function(t,e){var n,l=!1;for(n=0;n<t.coordinates.length;n++)if(hl(t.coordinates[n],e.coordinates)){l=!0;break}return l}(i,r);case"MultiPoint":return function(t,e){for(var n=0;n<e.coordinates.length;n++){for(var l=!1,i=0;i<t.coordinates.length;i++)if(hl(e.coordinates[n],t.coordinates[i])){l=!0;break}if(!l)return!1}return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"Point":return fn(r,i,{ignoreEndVertices:!0});case"LineString":return function(t,e){for(var n=!1,l=0;l<e.coordinates.length;l++)if(fn({type:"Point",coordinates:e.coordinates[l]},t,{ignoreEndVertices:!0})&&(n=!0),!fn({type:"Point",coordinates:e.coordinates[l]},t,{ignoreEndVertices:!1}))return!1;return n}(i,r);case"MultiPoint":return function(t,e){for(var n=!1,l=0;l<e.coordinates.length;l++)if(fn(e.coordinates[l],t,{ignoreEndVertices:!0})&&(n=!0),!fn(e.coordinates[l],t))return!1;return!!n}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"Point":return Mt(r,i,{ignoreBoundary:!0});case"LineString":return function(t,e){var n=!1,l=0;if(!dl(z(t),z(e)))return!1;for(;l<e.coordinates.length-1;l++)if(Mt({type:"Point",coordinates:function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(e.coordinates[l],e.coordinates[l+1])},t,{ignoreBoundary:!0})){n=!0;break}return n}(i,r);case"Polygon":return function(t,e){if(!dl(z(t),z(e)))return!1;for(var n=0;n<e.coordinates[0].length;n++)if(!Mt(e.coordinates[0][n],t))return!1;return!0}(i,r);case"MultiPoint":return function(t,e){for(var n=0;n<e.coordinates.length;n++)if(!Mt(e.coordinates[n],t,{ignoreBoundary:!0}))return!1;return!0}(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}},t.booleanCrosses=function(t,e){var n=J(t),l=J(e),i=X(t),r=X(e);switch(n){case"MultiPoint":switch(l){case"LineString":return pl(i,r);case"Polygon":return bl(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"LineString":switch(l){case"MultiPoint":return pl(r,i);case"LineString":return function(t,e){if(qe(t,e).features.length>0)for(var n=0;n<t.coordinates.length-1;n++)for(var l=0;l<e.coordinates.length-1;l++){var i=!0;if(0!==l&&l!==e.coordinates.length-2||(i=!1),ml(t.coordinates[n],t.coordinates[n+1],e.coordinates[l],i))return!0}return!1}(i,r);case"Polygon":return fl(i,r);default:throw new Error("feature2 "+l+" geometry not supported")}case"Polygon":switch(l){case"MultiPoint":return bl(r,i);case"LineString":return fl(r,i);default:throw new Error("feature2 "+l+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}},t.booleanClockwise=$n,t.booleanOverlap=Al,t.booleanPointOnLine=fn,t.booleanEqual=function(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");return J(t)===J(e)&&new ya({precision:6}).compare($t(t),$t(e))},t.booleanWithin=bn,t.clone=Rt,t.cleanCoords=$t,t.clustersDbscan=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.minPoints,i=n.units;if($(t,"Point","Input must contain Points"),null==e)throw new Error("maxDistance is required");if(!(Math.sign(e)>0))throw new Error("Invalid maxDistance");if(!(null==l||Math.sign(l)>0))throw new Error("Invalid minPoints");t=Rt(t),l=l||3;var r=new Pa.DBSCAN,o=-1;return r.run(I(t),v(e,i),l,jt).forEach((function(e){o++,e.forEach((function(e){var n=t.features[e];n.properties||(n.properties={}),n.properties.cluster=o,n.properties.dbscan="core"}))})),r.noise.forEach((function(e){var n=t.features[e];n.properties||(n.properties={}),n.properties.dbscan=n.properties.cluster?"edge":"noise"})),t},t.clustersKmeans=function(t,e){if("object"!=typeof(e=e||{}))throw new Error("options is invalid");var n=e.numberOfClusters,l=e.mutate;$(t,"Point","Input must contain Points");var i=t.features.length;(n=n||Math.round(Math.sqrt(i/2)))>i&&(n=i),!1!==l&&void 0!==l||(t=Rt(t));var r=I(t),o=r.slice(0,n),a=function(t,e,n,l){var i=[],r=[],o=[],a=[],s=!1,u=1e4,c=t.length,d=t[0].length,h=d>0,p=[];if(n)i="kmrand"==n?function(t,e){for(var n={},l=[],i=e<<2,r=t.length,o=t[0].length>0;l.length<e&&i-- >0;){var a=t[Math.floor(Math.random()*r)],s=o?a.join("_"):""+a;n[s]||(n[s]=!0,l.push(a))}if(l.length<e)throw new Error("Error initializating clusters");return l}(t,e):"kmpp"==n?function(t,e){var n=t[0].length?Sa:ka,l=[],i=t.length,r=t[0].length>0,o=t[Math.floor(Math.random()*i)];for(r&&o.join("_"),l.push(o);l.length<e;){for(var a=[],s=l.length,u=0,c=[],d=0;d<i;d++){for(var h=1/0,p=0;p<s;p++){var f=n(t[d],l[p]);f<=h&&(h=f)}a[d]=h}for(var b=0;b<i;b++)u+=a[b];for(var m=0;m<i;m++)c[m]={i:m,v:t[m],pr:a[m]/u,cs:0};c.sort((function(t,e){return t.pr-e.pr})),c[0].cs=c[0].pr;for(var g=1;g<i;g++)c[g].cs=c[g-1].cs+c[g].pr;for(var _=Math.random(),y=0;y<i-1&&c[y++].cs<_;);l.push(c[y-1].v)}return l}(t,e):n;else for(var f={};i.length<e;){var b=Math.floor(Math.random()*c);f[b]||(f[b]=!0,i.push(t[b]))}do{vl(e,0,p);for(var m=0;m<c;m++){for(var g=1/0,_=0,y=0;y<e;y++)(a=h?Ma(t[m],i[y]):Math.abs(t[m]-i[y]))<=g&&(g=a,_=y);o[m]=_,p[_]++}for(var A=[],v=(r=[],0);v<e;v++)A[v]=h?vl(d,0,A[v]):0,r[v]=i[v];if(h){for(var C=0;C<e;C++)i[C]=[];for(var w=0;w<c;w++)for(var P=A[o[w]],x=t[w],S=0;S<d;S++)P[S]+=x[S];s=!0;for(var k=0;k<e;k++){for(var M=i[k],O=A[k],D=r[k],T=p[k],E=0;E<d;E++)M[E]=O[E]/T||0;if(s)for(var I=0;I<d;I++)if(D[I]!=M[I]){s=!1;break}}}else{for(var L=0;L<c;L++)A[o[L]]+=t[L];for(var j=0;j<e;j++)i[j]=A[j]/p[j]||0;s=!0;for(var R=0;R<e;R++)if(r[R]!=i[R]){s=!1;break}}s=s||--u<=0}while(!s);return{it:1e4-u,k:e,idxs:o,centroids:i}}(r,n,o),s={};return a.centroids.forEach((function(t,e){s[e]=t})),T(t,(function(t,e){var n=a.idxs[e];t.properties.cluster=n,t.properties.centroid=s[n]})),t},t.pointToLineDistance=ln,t.booleanParallel=function(t,e){if(!t)throw new Error("line1 is required");if(!e)throw new Error("line2 is required");if("LineString"!==Cl(t,"line1"))throw new Error("line1 must be a LineString");if("LineString"!==Cl(e,"line2"))throw new Error("line2 must be a LineString");for(var n=Ve($t(t)).features,l=Ve($t(e)).features,i=0;i<n.length;i++){var r=n[i].geometry.coordinates;if(!l[i])break;if(!function(t,e){return _(Xe(t[0],t[1]))===_(Xe(e[0],e[1]))}(r,l[i].geometry.coordinates))return!1}return!0},t.shortestPath=function(t,n,i){if(!P(i=i||{}))throw new Error("options is invalid");var r=i.resolution,o=i.minDistance,s=i.obstacles||u([]);if(!t)throw new Error("start is required");if(!n)throw new Error("end is required");if(r&&!w(r)||r<=0)throw new Error("options.resolution must be a number, greater than 0");if(o)throw new Error("options.minDistance is not yet implemented");var c=G(t),d=G(n);switch(t=l(c),n=l(d),J(s)){case"FeatureCollection":if(0===s.features.length)return a([c,d]);break;case"Polygon":s=u([e(X(s))]);break;default:throw new Error("invalid obstacles")}var h=s;h.features.push(t),h.features.push(n);var p=z(nl(ne(z(h)),1.15));r||(r=jt([p[0],p[1]],[p[2],p[1]],i)/100),h.features.pop(),h.features.pop();for(var f=p[0],b=p[1],m=p[2],g=p[3],_=r/jt([f,b],[m,b],i)*(m-f),y=r/jt([f,b],[f,g],i)*(g-b),A=m-f,v=g-b,C=(A-Math.floor(A/_)*_)/2,x=[],S=[],k=[],M=[],O=1/0,D=1/0,T=g-(v-Math.floor(v/y)*y)/2,E=0;T>=b;){for(var I=[],L=[],j=f+C,R=0;j<=m;){var F=l([j,T]),N=function(t,e){for(var n=0;n<e.features.length;n++)if(Mt(t,e.features[n]))return!0;return!1}(F,s);I.push(N?0:1),L.push(j+"|"+T);var Y=jt(F,t);!N&&Y<O&&(O=Y,k={x:R,y:E});var U=jt(F,n);!N&&U<D&&(D=U,M={x:R,y:E}),j+=_,R++}S.push(I),x.push(L),T-=y,E++}var B=new Pl(S,{diagonal:!0}),H=[c];return Oa.search(B,B.grid[k.y][k.x],B.grid[M.y][M.x]).forEach((function(t){var e=x[t.x][t.y].split("|");H.push([+e[0],+e[1]])})),H.push(d),$t(a(H))},t.voronoi=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.bbox||[-180,-85,180,85];if(!t)throw new Error("points is required");if(!Array.isArray(n))throw new Error("bbox is invalid");return $(t,"Point","points"),u(function(){function t(t){return new Jl(t.map((function(l,i){var r=[Math.round(e(l,i,t)/Na)*Na,Math.round(n(l,i,t)/Na)*Na];return r.index=i,r.data=l,r})),l)}var e=kl,n=Ml,l=null;return t.polygons=function(e){return t(e).polygons()},t.links=function(e){return t(e).links()},t.triangles=function(e){return t(e).triangles()},t.x=function(n){return arguments.length?(e="function"==typeof n?n:Da(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Da(+e),t):n},t.extent=function(e){return arguments.length?(l=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],t):l&&[[l[0][0],l[0][1]],[l[1][0],l[1][1]]]},t.size=function(e){return arguments.length?(l=null==e?null:[[0,0],[+e[0],+e[1]]],t):l&&[l[1][0]-l[0][0],l[1][1]-l[0][1]]},t}().x((function(t){return t.geometry.coordinates[0]})).y((function(t){return t.geometry.coordinates[1]})).extent([[n[0],n[1]],[n[2],n[3]]]).polygons(t.features).map(Ql))},t.ellipse=Zl,t.centerMean=ei,t.centerMedian=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.counter||10;if(!w(n))throw new Error("counter must be a number");var l=e.weight,i=ei(t,{weight:e.weight}),r=u([]);return T(t,(function(t){r.features.push(ue(t,{weight:t.properties[l]}))})),r.properties={tolerance:e.tolerance,medianCandidates:[]},ni(i.geometry.coordinates,[0,0],r,n)},t.standardDeviationalEllipse=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.steps||64,l=e.weight,i=e.properties||{};if(!w(n))throw new Error("steps must be a number");if(!P(i))throw new Error("properties must be a number");var r=I(t).length,o=ei(t,{weight:l}),a=0,s=0,c=0;T(t,(function(t){var e=t.properties[l]||1,n=li(H(t),H(o));a+=Math.pow(n.x,2)*e,s+=Math.pow(n.y,2)*e,c+=n.x*n.y*e}));var d=a-s,h=Math.sqrt(Math.pow(d,2)+4*Math.pow(c,2)),p=Math.atan((d+h)/(2*c)),f=180*p/Math.PI,b=0,m=0,g=0;T(t,(function(t){var e=t.properties[l]||1,n=li(H(t),H(o));b+=Math.pow(n.x*Math.cos(p)-n.y*Math.sin(p),2)*e,m+=Math.pow(n.x*Math.sin(p)+n.y*Math.cos(p),2)*e,g+=e}));var _=Math.sqrt(2*b/g),y=Math.sqrt(2*m/g),A=Zl(o,_,y,{units:"degrees",angle:f,steps:n,properties:i}),v=Dt(t,u([A])),C={meanCenterCoordinates:H(o),semiMajorAxis:_,semiMinorAxis:y,numberOfFeatures:r,angle:f,percentageWithinEllipse:100*I(v).length/r};return A.properties.standardDeviationalEllipse=C,A},t.difference=function(t,n){var l=X(t),i=X(n),r=t.properties||{};if(l=Ti(l),i=Ti(i),!l)return null;if(!i)return e(l,r);var o=new Xu,a=o.read(l),s=o.read(i),u=Jh.difference(a,s);return u.isEmpty()?null:e((new Ku).write(u),r)},t.buffer=function(t,e,n){var l=(n=n||{}).units,i=n.steps||64;if(!t)throw new Error("geojson is required");if("object"!=typeof n)throw new Error("options must be an object");if("number"!=typeof i)throw new Error("steps must be an number");if(void 0===e)throw new Error("radius is required");if(i<=0)throw new Error("steps must be greater than 0");i=i||64,l=l||"kilometers";var r=[];switch(t.type){case"GeometryCollection":return L(t,(function(t){var n=sr(t,e,l,i);n&&r.push(n)})),u(r);case"FeatureCollection":return T(t,(function(t){var n=sr(t,e,l,i);n&&T(n,(function(t){t&&r.push(t)}))})),u(r)}return sr(t,e,l,i)},t.union=hr,t.intersect=pr,t.dissolve=function(t,e){if(!P(e=e||{}))throw new Error("options is invalid");var n=e.propertyName;$(t,"Polygon","dissolve");var l=Rt(t),i=l.features,r=[];i.forEach((function(t,e){t.properties.origIndexPosition=e}));var o=ze();for(var s in o.load(l),i){var u=i[s],c=!1;if(o.search(u).features.forEach((function(t){u=i[s];var e=t.properties.origIndexPosition;if(r.length>0&&0!==e)if(e>r[r.length-1])e-=r.length;else{var l=fr(e,r);0!==l&&(e-=l)}if(e!==+s){var d=i[e];d&&u&&(void 0!==n&&d.properties[n]!==u.properties[n]||Al(u,d)&&function(t,e){return qe(a(I(t)),a(I(e))).features.length>0}(u,d)&&(i[s]=hr(u,d),r.push(t.properties.origIndexPosition),r.sort((function(t,e){return t-e})),o.remove(t),i.splice(e,1),u.properties.origIndexPosition=s,o.remove(u,(function(t,e){return t.properties.origIndexPosition===e.properties.origIndexPosition})),c=!0))}})),c){if(!u)continue;u.properties.origIndexPosition=s,o.insert(u),s--}}return i.forEach((function(t){delete t.properties.origIndexPosition,delete t.bbox})),l},t.hexGrid=br,t.mask=function(t,e){var n=function(t){return r(t&&t.geometry.coordinates||[[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]])}(e),l=function(t){var e=[],n=[];return R(t,(function(t){var l=t.geometry.coordinates,i=l[0],o=l.slice(1);e.push(r([i])),o.forEach((function(t){n.push(r([t]))}))})),[u(e),u(n)]}(t),i=l[0],o=l[1];return function(t,e,n){var l=[];return l.push(t.geometry.coordinates[0]),R(e,(function(t){l.push(t.geometry.coordinates[0])})),R(n,(function(t){l.push(t.geometry.coordinates[0])})),r(l)}(n,i=mr(i),o=mr(o))},t.squareGrid=_r,t.triangleGrid=yr,t.interpolate=function(t,e,n){if("object"!=typeof(n=n||{}))throw new Error("options is invalid");var l=n.gridType,i=n.property,r=n.weight;if(!t)throw new Error("points is required");if($(t,"Point","input must contain Points"),!e)throw new Error("cellSize is required");if(void 0!==r&&"number"!=typeof r)throw new Error("weight must be a number");i=i||"elevation",l=l||"square",r=r||1;var o,a=z(t);switch(l){case"point":case"points":o=_n(a,e,n);break;case"square":case"squares":o=_r(a,e,n);break;case"hex":case"hexes":o=br(a,e,n);break;case"triangle":case"triangles":o=yr(a,e,n);break;default:throw new Error("invalid gridType")}var s=[];return T(o,(function(e){var o=0,a=0;T(t,(function(t){var s,u=jt("point"===l?e:ue(e),t,n);if(void 0!==i&&(s=t.properties[i]),void 0===s&&(s=t.geometry.coordinates[2]),void 0===s)throw new Error("zValue is missing");0===u&&(o=s);var c=1/Math.pow(u,r);a+=c,o+=c*s}));var u=Rt(e);u.properties[i]=o/a,s.push(u)})),u(s)},t.pointOnSurface=on,t.polygonToLineString=On,t.lineStringToPolygon=Tn,t.inside=Mt,t.within=Dt,t.bezier=ee,t.nearest=ke,t.pointOnLine=$e,t.lineDistance=hn,t.radians2degrees=y,t.degrees2radians=A,t.distanceToDegrees=g,t.distanceToRadians=m,t.radiansToDistance=b,t.bearingToAngle=_,t.convertDistance=v,t.toMercator=Qe,t.toWgs84=Ze,t.randomPosition=ii,t.randomPoint=ri,t.randomPolygon=oi,t.randomLineString=ai,t.getCluster=ui,t.clusterEach=ci,t.clusterReduce=di,t.createBins=hi,t.applyFilter=pi,t.propertiesContainsFilter=fi,t.filterProperties=bi,t.earthRadius=Ar,t.factors=vr,t.unitsFactors=Cr,t.areaFactors=wr,t.feature=e,t.geometry=n,t.point=l,t.points=i,t.polygon=r,t.polygons=o,t.lineString=a,t.lineStrings=s,t.featureCollection=u,t.multiLineString=c,t.multiPoint=d,t.multiPolygon=h,t.geometryCollection=p,t.round=f,t.radiansToLength=b,t.lengthToRadians=m,t.lengthToDegrees=g,t.bearingToAzimuth=_,t.radiansToDegrees=y,t.degreesToRadians=A,t.convertLength=v,t.convertArea=C,t.isNumber=w,t.isObject=P,t.validateBBox=x,t.validateId=S,t.getCoord=G,t.getCoords=H,t.containsNumber=V,t.geojsonType=q,t.featureOf=W,t.collectionOf=$,t.getGeom=X,t.getGeomType=K,t.getType=J,t.coordEach=k,t.coordReduce=M,t.propEach=O,t.propReduce=D,t.featureEach=T,t.featureReduce=E,t.coordAll=I,t.geomEach=L,t.geomReduce=j,t.flattenEach=R,t.flattenReduce=F,t.segmentEach=N,t.segmentReduce=Y,t.lineEach=U,t.lineReduce=B,Object.defineProperty(t,"__esModule",{value:!0})}(e)},WYrj:function(t,e,n){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},WiHW:function(t,e){var n=1e3,l=6e4,i=60*l,r=24*i;function o(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var a,s=typeof t;if("string"===s&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*r;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*l;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(t);if("number"===s&&!1===isNaN(t))return e.long?o(a=t,r,"day")||o(a,i,"hour")||o(a,l,"minute")||o(a,n,"second")||a+" ms":function(t){return t>=r?Math.round(t/r)+"d":t>=i?Math.round(t/i)+"h":t>=l?Math.round(t/l)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},Wm4p:function(t,e,n){var l,i=n("dkv/"),r=n("WLGk"),o=n("ypnn"),a=n("zMFY"),s=n("oIG/");"undefined"!=typeof ArrayBuffer&&(l=n("g5Dd"));var u="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),c="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=u||c;e.protocol=3;var h=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=i(h),f={type:"error",data:"parser error"},b=n("14A5");function m(t,e,n){for(var l=new Array(t.length),i=a(t.length,n),r=function(t,n,i){e(n,(function(e,n){l[t]=n,i(e,l)}))},o=0;o<t.length;o++)r(o,t[o],i)}e.encodePacket=function(t,n,l,i){"function"==typeof n&&(i=n,n=!1),"function"==typeof l&&(i=l,l=null);var r=void 0===t.data?void 0:t.data.buffer||t.data;if("undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);var i=t.data,r=new Uint8Array(i),o=new Uint8Array(1+i.byteLength);o[0]=h[t.type];for(var a=0;a<r.length;a++)o[a+1]=r[a];return l(o.buffer)}(t,n,i);if(void 0!==b&&r instanceof b)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);if(d)return function(t,n,l){if(!n)return e.encodeBase64Packet(t,l);var i=new FileReader;return i.onload=function(){e.encodePacket({type:t.type,data:i.result},n,!0,l)},i.readAsArrayBuffer(t.data)}(t,n,l);var i=new Uint8Array(1);return i[0]=h[t.type],l(new b([i.buffer,t.data]))}(t,n,i);if(r&&r.base64)return function(t,n){return n("b"+e.packets[t.type]+t.data.data)}(t,i);var o=h[t.type];return void 0!==t.data&&(o+=l?s.encode(String(t.data),{strict:!1}):String(t.data)),i(""+o)},e.encodeBase64Packet=function(t,n){var l,i="b"+e.packets[t.type];if(void 0!==b&&t.data instanceof b){var r=new FileReader;return r.onload=function(){var t=r.result.split(",")[1];n(i+t)},r.readAsDataURL(t.data)}try{l=String.fromCharCode.apply(null,new Uint8Array(t.data))}catch(u){for(var o=new Uint8Array(t.data),a=new Array(o.length),s=0;s<o.length;s++)a[s]=o[s];l=String.fromCharCode.apply(null,a)}return i+=btoa(l),n(i)},e.decodePacket=function(t,n,l){if(void 0===t)return f;if("string"==typeof t){if("b"===t.charAt(0))return e.decodeBase64Packet(t.substr(1),n);if(l&&!1===(t=function(t){try{t=s.decode(t,{strict:!1})}catch(e){return!1}return t}(t)))return f;var i=t.charAt(0);return Number(i)==i&&p[i]?t.length>1?{type:p[i],data:t.substring(1)}:{type:p[i]}:f}i=new Uint8Array(t)[0];var r=o(t,1);return b&&"blob"===n&&(r=new b([r])),{type:p[i],data:r}},e.decodeBase64Packet=function(t,e){var n=p[t.charAt(0)];if(!l)return{type:n,data:{base64:!0,data:t.substr(1)}};var i=l.decode(t.substr(1));return"blob"===e&&b&&(i=new b([i])),{type:n,data:i}},e.encodePayload=function(t,n,l){"function"==typeof n&&(l=n,n=null);var i=r(t);return n&&i?b&&!d?e.encodePayloadAsBlob(t,l):e.encodePayloadAsArrayBuffer(t,l):t.length?void m(t,(function(t,l){e.encodePacket(t,!!i&&n,!1,(function(t){l(null,function(t){return t.length+":"+t}(t))}))}),(function(t,e){return l(e.join(""))})):l("0:")},e.decodePayload=function(t,n,l){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,l);var i;if("function"==typeof n&&(l=n,n=null),""===t)return l(f,0,1);for(var r,o,a="",s=0,u=t.length;s<u;s++){var c=t.charAt(s);if(":"===c){if(""===a||a!=(r=Number(a)))return l(f,0,1);if(a!=(o=t.substr(s+1,r)).length)return l(f,0,1);if(o.length){if(i=e.decodePacket(o,n,!1),f.type===i.type&&f.data===i.data)return l(f,0,1);if(!1===l(i,s+r,u))return}s+=r,a=""}else a+=c}return""!==a?l(f,0,1):void 0},e.encodePayloadAsArrayBuffer=function(t,n){if(!t.length)return n(new ArrayBuffer(0));m(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){return n(null,t)}))}),(function(t,e){var l=e.reduce((function(t,e){var n;return t+(n="string"==typeof e?e.length:e.byteLength).toString().length+n+2}),0),i=new Uint8Array(l),r=0;return e.forEach((function(t){var e="string"==typeof t,n=t;if(e){for(var l=new Uint8Array(t.length),o=0;o<t.length;o++)l[o]=t.charCodeAt(o);n=l.buffer}i[r++]=e?0:1;var a=n.byteLength.toString();for(o=0;o<a.length;o++)i[r++]=parseInt(a[o]);for(i[r++]=255,l=new Uint8Array(n),o=0;o<l.length;o++)i[r++]=l[o]})),n(i.buffer)}))},e.encodePayloadAsBlob=function(t,n){m(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){var e=new Uint8Array(1);if(e[0]=1,"string"==typeof t){for(var l=new Uint8Array(t.length),i=0;i<t.length;i++)l[i]=t.charCodeAt(i);t=l.buffer,e[0]=0}var r=(t instanceof ArrayBuffer?t.byteLength:t.size).toString(),o=new Uint8Array(r.length+1);for(i=0;i<r.length;i++)o[i]=parseInt(r[i]);if(o[r.length]=255,b){var a=new b([e.buffer,o.buffer,t]);n(null,a)}}))}),(function(t,e){return n(new b(e))}))},e.decodePayloadAsBinary=function(t,n,l){"function"==typeof n&&(l=n,n=null);for(var i=t,r=[];i.byteLength>0;){for(var a=new Uint8Array(i),s=0===a[0],u="",c=1;255!==a[c];c++){if(u.length>310)return l(f,0,1);u+=a[c]}i=o(i,2+u.length),u=parseInt(u);var d=o(i,0,u);if(s)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(b){var h=new Uint8Array(d);for(d="",c=0;c<h.length;c++)d+=String.fromCharCode(h[c])}r.push(d),i=o(i,u)}var p=r.length;r.forEach((function(t,i){l(e.decodePacket(t,n,!0),i,p)}))}},Wv91:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var l=t%10;return t+(e[l]||e[t%100-l]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,l){var i=t;switch(n){case"s":return l||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return i+(l||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(l||e?" perc":" perce");case"mm":return i+(l||e?" perc":" perce");case"h":return"egy"+(l||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(l||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(l||e?" nap":" napja");case"dd":return i+(l||e?" nap":" napja");case"M":return"egy"+(l||e?" h\xf3nap":" h\xf3napja");case"MM":return i+(l||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(l||e?" \xe9v":" \xe9ve");case"yy":return i+(l||e?" \xe9v":" \xe9ve")}return""}function l(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return l.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return l.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Wxz7:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},X0qu:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getManyBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseCollectionControllerCollectionPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseCollectionControllerCollection(t){return this.getManyBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseCollectionControllerCollectionPath,"post");return e&&n.body(e.body,"multipart/form-data"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseCollectionControllerCollection(t){return this.createOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}getOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseCollectionControllerCollectionPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseCollectionControllerCollection(t){return this.getOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseCollectionControllerCollectionPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseCollectionControllerCollection(t){return this.deleteOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseCollectionControllerCollection$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseCollectionControllerCollectionPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseCollectionControllerCollection(t){return this.updateOneBaseCollectionControllerCollection$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetManyBaseCollectionControllerCollectionPath="/collection",t.CreateOneBaseCollectionControllerCollectionPath="/collection",t.GetOneBaseCollectionControllerCollectionPath="/collection/{id}",t.DeleteOneBaseCollectionControllerCollectionPath="/collection/{id}",t.UpdateOneBaseCollectionControllerCollectionPath="/collection/{id}",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},X1gR:function(t,e,n){var l,i,r;i=[n("7drA")],void 0===(r="function"==typeof(l=function(t){"use strict";var e={};function n(n,l,i){var r,o,a,s,u,c;for("string"==typeof l&&(l=parseInt(l,10)),l=l||5,o=n.northing,"S"===n.hemisphere&&(o+=e.NORTHING_OFFSET),a=t.findGridLetters(n.zoneNumber,o,r=n.easting),s=Math.round(o)%e.BLOCK_SIZE,u=Math.round(r)%e.BLOCK_SIZE,s=Math.floor(s/Math.pow(10,5-l)),u=Math.floor(u/Math.pow(10,5-l)),c=String(u).length;c<l;c+=1)u="0"+u;for(c=String(s).length;c<l;c+=1)s="0"+s;return"string"==typeof i&&"object"===i?{zone:n.zoneNumber+n.zoneLetter,square:a,easting:u,northing:s}:n.zoneNumber+n.zoneLetter+" "+a+" "+u+" "+s}return function(l){return e=l,t=t(l),n}})?l.apply(e,i):l)||(t.exports=r)},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDhV:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return d})),n.d(e,"c",(function(){return p}));var l=n("kvpX"),i=n("f8l7"),r=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,o=/^([a-z]*)$|^hsla?\(.*\)$/i;function a(t){return"string"==typeof t?t:p(t)}var s,u,c=(s={},u=0,function(t){var e;if(s.hasOwnProperty(t))e=s[t];else{if(u>=1024){var n=0;for(var i in s)0==(3&n++)&&(delete s[i],--u)}e=function(t){var e,n,i,a,s;if(o.exec(t)&&(t=function(t){var e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}return""}(t)),r.exec(t)){var u,c=t.length-1;u=c<=4?1:2;var d=4===c||8===c;e=parseInt(t.substr(1+0*u,u),16),n=parseInt(t.substr(1+1*u,u),16),i=parseInt(t.substr(1+2*u,u),16),a=d?parseInt(t.substr(1+3*u,u),16):255,1==u&&(e=(e<<4)+e,n=(n<<4)+n,i=(i<<4)+i,d&&(a=(a<<4)+a)),s=[e,n,i,a/255]}else 0==t.indexOf("rgba(")?h(s=t.slice(5,-1).split(",").map(Number)):0==t.indexOf("rgb(")?((s=t.slice(4,-1).split(",").map(Number)).push(1),h(s)):Object(l.a)(!1,14);return s}(t),s[t]=e,++u}return e});function d(t){return Array.isArray(t)?t:c(t)}function h(t){return t[0]=Object(i.a)(t[0]+.5|0,0,255),t[1]=Object(i.a)(t[1]+.5|0,0,255),t[2]=Object(i.a)(t[2]+.5|0,0,255),t[3]=Object(i.a)(t[3],0,1),t}function p(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var n=t[1];n!=(0|n)&&(n=n+.5|0);var l=t[2];return l!=(0|l)&&(l=l+.5|0),"rgba("+e+","+n+","+l+","+(void 0===t[3]?1:t[3])+")"}},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XEuL:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var l=['.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-Index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:12px;z-Index:11;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-text{position:absolute;font-size:14px;text-align:center;bottom:25px;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-singlebar{position:relative;height:10px;z-Index:9;border:1px solid #000}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-overlaycontainer,.ol-overlaycontainer-stopevent{pointer-events:none}.ol-overlaycontainer-stopevent>*,.ol-overlaycontainer>*{pointer-events:auto}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:rgba(255,255,255,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:rgba(255,255,255,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-control button span{pointer-events:none}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}']},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var l=n("HDdC"),i=n("7o/Q"),r=n("quSY"),o=n("9ppp"),a=n("Ylt2"),s=n("2QA8");class u extends i.a{constructor(t){super(t),this.destination=t}}let c=(()=>{class t extends l.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[s.a](){return new u(this)}lift(t){const e=new d(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,l=e.slice();for(let i=0;i<n;i++)l[i].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,l=e.slice();for(let i=0;i<n;i++)l[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let l=0;l<e;l++)n[l].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.isStopped?(t.complete(),r.a.EMPTY):(this.observers.push(t),new a.a(this,t))}asObservable(){const t=new l.a;return t.source=this,t}}return t.create=(t,e)=>new d(t,e),t})();class d extends c{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.a.EMPTY}}},XYOC:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeControllerNotificationTypePath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeControllerNotificationType(t){return this.getOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeControllerNotificationTypePath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeControllerNotificationType(t){return this.replaceOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeControllerNotificationTypePath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeControllerNotificationType(t){return this.deleteOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeControllerNotificationTypePath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeControllerNotificationType(t){return this.updateOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeControllerNotificationTypePath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeControllerNotificationType(t){return this.getManyBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeControllerNotificationTypePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeControllerNotificationType(t){return this.createOneBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeControllerNotificationType$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeControllerNotificationTypePath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeControllerNotificationType(t){return this.createManyBaseNotificationTypeControllerNotificationType$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.ReplaceOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.DeleteOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.UpdateOneBaseNotificationTypeControllerNotificationTypePath="/notification_type/{id}",t.GetManyBaseNotificationTypeControllerNotificationTypePath="/notification_type",t.CreateOneBaseNotificationTypeControllerNotificationTypePath="/notification_type",t.CreateManyBaseNotificationTypeControllerNotificationTypePath="/notification_type/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},Xd0L:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("cUpR");const r=new l.W("8.2.3");var o=n("KCVW"),a=n("XNiG"),s=n("HDdC"),u=n("/HVE"),c=n("JX91"),d=n("5GAg"),h=n("dvZr");n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f})),n.d(e,"n",(function(){return g})),n.d(e,"f",(function(){return m})),n.d(e,"G",(function(){return _})),n.d(e,"E",(function(){return y})),n.d(e,"F",(function(){return A})),n.d(e,"J",(function(){return v})),n.d(e,"H",(function(){return C})),n.d(e,"I",(function(){return w})),n.d(e,"A",(function(){return j})),n.d(e,"q",(function(){return R})),n.d(e,"h",(function(){return P})),n.d(e,"c",(function(){return x})),n.d(e,"g",(function(){return S})),n.d(e,"z",(function(){return I})),n.d(e,"k",(function(){return L})),n.d(e,"d",(function(){return F})),n.d(e,"i",(function(){return N})),n.d(e,"e",(function(){return B})),n.d(e,"K",(function(){return G})),n.d(e,"o",(function(){return z})),n.d(e,"p",(function(){return V})),n.d(e,"t",(function(){return ht})),n.d(e,"C",(function(){return ct})),n.d(e,"D",(function(){return dt})),n.d(e,"u",(function(){return at})),n.d(e,"l",(function(){return st})),n.d(e,"s",(function(){return ut})),n.d(e,"r",(function(){return rt})),n.d(e,"j",(function(){return pt})),n.d(e,"y",(function(){return Z})),n.d(e,"m",(function(){return J})),n.d(e,"x",(function(){return Q})),n.d(e,"B",(function(){return K})),n.d(e,"w",(function(){return et})),n.d(e,"v",(function(){return tt}));let p=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),f=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const b=new l.W("8.2.3"),m=new l.w("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});class g{constructor(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_areChecksEnabled(){return this._sanityChecksEnabled&&Object(l.hb)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._document||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){b.full!==r.full&&console.warn("The Angular Material version ("+b.full+") does not match the Angular CDK version ("+r.full+").\nPlease ensure the versions of these two packages exactly match.")}_checkHammerIsAvailable(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}function _(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}}}function y(t,e){return class extends t{get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}constructor(...t){super(...t),this.color=e}}}function A(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(o.c)(t)}}}function v(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function C(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new a.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function w(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new s.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const P=new l.w("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(l.gb)(l.A)}});class x{constructor(){this._localeChanges=new a.a}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),l=this.isValid(e);return n&&l?!this.compareDate(t,e):n==l}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const S=new l.w("mat-date-formats");let k;try{k="undefined"!=typeof Intl}catch(ft){k=!1}const M={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},O=E(31,t=>String(t+1)),D={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},T=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function E(t,e){const n=Array(t);for(let l=0;l<t;l++)n[l]=e(l);return n}class I extends x{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return E(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return M[t]}getDateNames(){if(k){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return E(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return O}getDayOfWeekNames(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return E(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return D[t]}getYearName(t){if(k){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);let l=this._createDateWithOverflow(t,e,n);if(l.getMonth()!=e)throw Error(`Invalid date "${n}" for month with index "${e}".`);return l}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(k){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign({},e,{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(T.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const l=new Date(t,e,n);return t>=0&&t<100&&l.setFullYear(this.getYear(l)-1900),l}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}const L={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};class j{}class R{}let F=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const N=new l.w("MAT_HAMMER_OPTIONS"),Y=["longpress","slide","slidestart","slideend","slideright","slideleft"],U={on:()=>{},off:()=>{}};class B extends i.g{constructor(t,e){super(),this._hammerOptions=t,this.events=Y,e&&e._checkHammerIsAvailable()}buildHammer(t){const e="undefined"!=typeof window?window.Hammer:null;if(!e)return U;const n=new e(t,this._hammerOptions||void 0),l=new e.Pan,i=new e.Swipe,r=new e.Press,o=this._createRecognizer(l,{event:"slide",threshold:0},i),a=this._createRecognizer(r,{event:"longpress",time:500});return l.recognizeWith(i),a.recognizeWith(o),n.add([i,r,l,o,a]),n}_createRecognizer(t,e,...n){let l=new t.constructor(e);return n.push(t),n.forEach(t=>l.recognizeWith(t)),l}}class z{}function G(t,e){t.changes.pipe(Object(c.a)(t)).subscribe(({length:t})=>{H(e,"mat-2-line",!1),H(e,"mat-3-line",!1),H(e,"mat-multi-line",!1),2===t||3===t?H(e,`mat-${t}-line`,!0):t>3&&H(e,"mat-multi-line",!0)})}function H(t,e,n){const l=t.nativeElement.classList;n?l.add(e):l.remove(e)}class V{}const q=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}();class W{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=q.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const $={enterDuration:450,exitDuration:400},X=Object(u.g)({passive:!0});class K{constructor(t,e,n,l){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(d.k)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(t.state===q.VISIBLE||t.config.terminateOnPointerUp&&t.state===q.FADING_IN)&&t.fadeOut()}))},l.isBrowser&&(this._containerElement=Object(o.e)(n),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,n={}){const l=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign({},$,n.animation);n.centered&&(t=l.left+l.width/2,e=l.top+l.height/2);const r=n.radius||function(t,e,n){const l=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(l*l+i*i)}(t,e,l),o=t-l.left,a=e-l.top,s=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=o-r+"px",u.style.top=a-r+"px",u.style.height=2*r+"px",u.style.width=2*r+"px",u.style.backgroundColor=n.color||null,u.style.transitionDuration=s+"ms",this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const c=new W(this,u,n);return c.state=q.FADING_IN,this._activeRipples.add(c),n.persistent||(this._mostRecentTransientRipple=c),this._runTimeoutOutsideZone(()=>{const t=c===this._mostRecentTransientRipple;c.state=q.VISIBLE,n.persistent||t&&this._isPointerDown||c.fadeOut()},s),c}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,l=Object.assign({},$,t.config.animation);n.style.transitionDuration=l.exitDuration+"ms",n.style.opacity="0",t.state=q.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=q.HIDDEN,n.parentNode.removeChild(n)},l.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(o.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,X)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,X)})}}const J=new l.w("mat-ripple-global-options");class Q{constructor(t,e,n,l,i){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new K(this,e,t,n),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign({},this.rippleConfig,t))}}class Z{}class tt{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}class et{}class nt{}const lt=_(nt);let it=0;class rt extends lt{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+it++}}let ot=0;class at{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const st=new l.w("MAT_OPTION_PARENT_COMPONENT");class ut{constructor(t,e,n,i){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ot++,this.onSelectionChange=new l.r,this._stateChanges=new a.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==h.g&&t.keyCode!==h.o||Object(h.t)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new at(this,t))}}function ct(t,e,n){if(n.length){let l=e.toArray(),i=n.toArray(),r=0;for(let e=0;e<t+1;e++)l[e].group&&l[e].group===i[r]&&r++;return r}return 0}function dt(t,e,n,l){const i=t*e;return i<n?i:i+e>n+l?Math.max(0,i-l+e):n}class ht{}const pt=new l.w("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function l(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return l}))},XrFG:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var l=n("TN97"),i=n("egkh"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=(n("w+w1"),n("SSvb"));class u{constructor(){this.traceFeature=void 0}ngOnInit(){this.updateTrace()}ngOnDestroy(){this.cleanTrace()}updateTrace(){if(this.cleanTrace(),this.aircraft.toAirport){const t=a.greatCircle([this.aircraft.longitude,this.aircraft.latitude],[this.aircraft.toAirport.longitude,this.aircraft.toAirport.latitude]),e=Object(s.a)(t.geometry.coordinates);this.traceFeature=new l.a({geometry:new i.a(e),id_:"PROSPECTIVE-TRACE"}),this.traceFeature.setStyle(new r.b({stroke:new o.a({color:"red",width:3,lineDash:[1,5]})})),this.source.addFeature(this.traceFeature)}}cleanTrace(){this.traceFeature&&this.source.removeFeature(this.traceFeature)}}},Xu5n:function(t,e,n){"use strict";var l,i=n("4wAk"),r=n("GDrd"),o=n("zvco"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.map=n,i.frameState=void 0!==l?l:null,i}return a(e,t),e}(o.a),u=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),c=function(t){function e(e,n,l,i,r){var o=t.call(this,e,n,r)||this;return o.originalEvent=l,o.pixel_=null,o.coordinate_=null,o.dragging=void 0!==i&&i,o}return u(e,t),Object.defineProperty(e.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(t){this.pixel_=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(t){this.coordinate_=t},enumerable:!0,configurable:!0}),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){t.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()},e}(s),d=(n("pg82"),n("YX0d")),h=n("Cy2j"),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),f=function(t){function e(e,n,l,i,r){var o=t.call(this,e,n,l,i,r)||this;return o.pointerEvent=l,o}return p(e,t),e}(c),b=n("Ho3V"),m=n("DsAt"),g=n("0Hnp"),_=n("AdTM"),y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),A=function(t){function e(e,n){var l=t.call(this,e)||this;l.map_=e,l.dragging_=!1,l.dragListenerKeys_=[],l.moveTolerance_=n?n*d.a:d.a,l.down_=null;var i=l.map_.getViewport();return l.activePointers_=0,l.trackedTouches_={},l.element_=i,l.pointerdownListenerKey_=Object(b.a)(i,g.a.POINTERDOWN,l.handlePointerDown_,l),l.relayedListenerKey_=Object(b.a)(i,g.a.POINTERMOVE,l.relayEvent_,l),l.boundHandleTouchMove_=l.handleTouchMove_.bind(l),l.element_.addEventListener(_.a.TOUCHMOVE,l.boundHandleTouchMove_,!!d.e&&{passive:!1}),l}return y(e,t),e.prototype.emulateClick_=function(t){var e=new f(h.a.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new f(h.a.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout((function(){this.clickTimeoutId_=void 0;var e=new f(h.a.SINGLECLICK,this.map_,t);this.dispatchEvent(e)}).bind(this),250)},e.prototype.updateActivePointers_=function(t){var e=t;e.type==h.a.POINTERUP||e.type==h.a.POINTERCANCEL?delete this.trackedTouches_[e.pointerId]:e.type==h.a.POINTERDOWN&&(this.trackedTouches_[e.pointerId]=!0),this.activePointers_=Object.keys(this.trackedTouches_).length},e.prototype.handlePointerUp_=function(t){this.updateActivePointers_(t);var e=new f(h.a.POINTERUP,this.map_,t);this.dispatchEvent(e),e.propagationStopped||this.dragging_||!this.isMouseActionButton_(t)||this.emulateClick_(this.down_),0===this.activePointers_&&(this.dragListenerKeys_.forEach(b.c),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)},e.prototype.isMouseActionButton_=function(t){return 0===t.button},e.prototype.handlePointerDown_=function(t){this.updateActivePointers_(t);var e=new f(h.a.POINTERDOWN,this.map_,t);this.dispatchEvent(e),this.down_=t,0===this.dragListenerKeys_.length&&this.dragListenerKeys_.push(Object(b.a)(document,h.a.POINTERMOVE,this.handlePointerMove_,this),Object(b.a)(document,h.a.POINTERUP,this.handlePointerUp_,this),Object(b.a)(this.element_,h.a.POINTERCANCEL,this.handlePointerUp_,this))},e.prototype.handlePointerMove_=function(t){if(this.isMoving_(t)){this.dragging_=!0;var e=new f(h.a.POINTERDRAG,this.map_,t,this.dragging_);this.dispatchEvent(e)}},e.prototype.relayEvent_=function(t){this.originalPointerMoveEvent_=t;var e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new f(t.type,this.map_,t,e))},e.prototype.handleTouchMove_=function(t){this.originalPointerMoveEvent_&&!this.originalPointerMoveEvent_.defaultPrevented||t.preventDefault()},e.prototype.isMoving_=function(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(b.c)(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(_.a.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Object(b.c)(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(b.c),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(m.a),v=n("WS2v"),C=n("Bw0W"),w=n("4mld"),P=n("e0/R"),x=n("rMEb"),S=n("kvpX"),k=n("OPOH"),M=function(){function t(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(k.b)(this.queuedElements_)},t.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var l=this.keyFunction_(n);return delete this.queuedElements_[l],n},t.prototype.enqueue=function(t){Object(S.a)(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);return e!=1/0&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(t){return 2*t+1},t.prototype.getRightChildIndex_=function(t){return 2*t+2},t.prototype.getParentIndex_=function(t){return t-1>>1},t.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},t.prototype.isEmpty=function(){return 0===this.elements_.length},t.prototype.isKeyQueued=function(t){return t in this.queuedElements_},t.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},t.prototype.siftUp_=function(t){for(var e=this.elements_,n=this.priorities_,l=e.length,i=e[t],r=n[t],o=t;t<l>>1;){var a=this.getLeftChildIndex_(t),s=this.getRightChildIndex_(t),u=s<l&&n[s]<n[a]?s:a;e[t]=e[u],n[t]=n[u],t=u}e[t]=i,n[t]=r,this.siftDown_(o,t)},t.prototype.siftDown_=function(t,e){for(var n=this.elements_,l=this.priorities_,i=n[e],r=l[e];e>t;){var o=this.getParentIndex_(e);if(!(l[o]>r))break;n[e]=n[o],l[e]=l[o],e=o}n[e]=i,l[e]=r},t.prototype.reprioritize=function(){var t,e,n,l=this.priorityFunction_,i=this.elements_,r=this.priorities_,o=0,a=i.length;for(e=0;e<a;++e)(n=l(t=i[e]))==1/0?delete this.queuedElements_[this.keyFunction_(t)]:(r[o]=n,i[o++]=t);i.length=o,r.length=o,this.heapify_()},t}(),O=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),D=function(t){function e(e,n){var l=t.call(this,(function(t){return e.apply(null,t)}),(function(t){return t[0].getKey()}))||this;return l.boundHandleTileChange_=l.handleTileChange.bind(l),l.tileChangeCallback_=n,l.tilesLoading_=0,l.tilesLoadingKeys_={},l}return O(e,t),e.prototype.enqueue=function(e){var n=t.prototype.enqueue.call(this,e);return n&&e[0].addEventListener(_.a.CHANGE,this.boundHandleTileChange_),n},e.prototype.getTilesLoading=function(){return this.tilesLoading_},e.prototype.handleTileChange=function(t){var e=t.target,n=e.getState();if(e.hifi&&n===x.a.LOADED||n===x.a.ERROR||n===x.a.EMPTY){e.removeEventListener(_.a.CHANGE,this.boundHandleTileChange_);var l=e.getKey();l in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[l],--this.tilesLoading_),this.tileChangeCallback_()}},e.prototype.loadMoreTiles=function(t,e){for(var n,l,i=0;this.tilesLoading_<t&&i<e&&this.getCount()>0;)l=(n=this.dequeue()[0]).getKey(),n.getState()!==x.a.IDLE||l in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[l]=!0,++this.tilesLoading_,++i,n.load())},e}(M),T=n("oscj"),E=n("SW/M"),I=n("CZmH"),L=n("CvXi"),j=n("V8uu"),R=n("nHi6"),F=n("NF0S"),N=n("qJZF"),Y=n("JW8z"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e){var n=t.call(this)||this,l=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var n,l,r,o={},a=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new R.a({layers:t.layers});return o.layergroup=a,o.target=t.target,o.view=void 0!==t.view?t.view:new T.a,void 0!==t.controls&&(Array.isArray(t.controls)?n=new i.a(t.controls.slice()):(Object(S.a)("function"==typeof t.controls.getArray,47),n=t.controls)),void 0!==t.interactions&&(Array.isArray(t.interactions)?l=new i.a(t.interactions.slice()):(Object(S.a)("function"==typeof t.interactions.getArray,48),l=t.interactions)),void 0!==t.overlays?Array.isArray(t.overlays)?r=new i.a(t.overlays.slice()):(Object(S.a)("function"==typeof t.overlays.getArray,49),r=t.overlays):r=new i.a,{controls:n,interactions:l,keyboardEventTarget:e,overlays:r,values:o}}(e);n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,n.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:d.a,n.animationDelay_=(function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}).bind(n),n.coordinateToPixelTransform_=Object(N.c)(),n.pixelToCoordinateTransform_=Object(N.c)(),n.frameIndex_=0,n.frameState_=null,n.previousExtent_=null,n.viewPropertyListenerKey_=null,n.viewChangeListenerKey_=null,n.layerGroupPropertyListenerKeys_=null,n.viewport_=document.createElement("div"),n.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),n.viewport_.style.position="relative",n.viewport_.style.overflow="hidden",n.viewport_.style.width="100%",n.viewport_.style.height="100%",n.overlayContainer_=document.createElement("div"),n.overlayContainer_.style.position="absolute",n.overlayContainer_.style.zIndex="0",n.overlayContainer_.style.width="100%",n.overlayContainer_.style.height="100%",n.overlayContainer_.className="ol-overlaycontainer",n.viewport_.appendChild(n.overlayContainer_),n.overlayContainerStopEvent_=document.createElement("div"),n.overlayContainerStopEvent_.style.position="absolute",n.overlayContainerStopEvent_.style.zIndex="0",n.overlayContainerStopEvent_.style.width="100%",n.overlayContainerStopEvent_.style.height="100%",n.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",n.viewport_.appendChild(n.overlayContainerStopEvent_),n.mapBrowserEventHandler_=new A(n,e.moveTolerance);var o=n.handleMapBrowserEvent.bind(n);for(var a in h.a)n.mapBrowserEventHandler_.addEventListener(h.a[a],o);n.keyboardEventTarget_=l.keyboardEventTarget,n.keyHandlerKeys_=null;var s=n.handleBrowserEvent.bind(n);return n.viewport_.addEventListener(_.a.CONTEXTMENU,s,!1),n.viewport_.addEventListener(_.a.WHEEL,s,!!d.e&&{passive:!1}),n.controls=l.controls||new i.a,n.interactions=l.interactions||new i.a,n.overlays_=l.overlays,n.overlayIdIndex_={},n.renderer_=null,n.postRenderFunctions_=[],n.tileQueue_=new D(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addEventListener(Object(w.b)("layergroup"),n.handleLayerGroupChanged_),n.addEventListener(Object(w.b)("view"),n.handleViewChanged_),n.addEventListener(Object(w.b)("size"),n.handleSizeChanged_),n.addEventListener(Object(w.b)("target"),n.handleTargetChanged_),n.setProperties(l.values),n.controls.forEach((function(t){t.setMap(this)}).bind(n)),n.controls.addEventListener(r.a.ADD,(function(t){t.element.setMap(this)}).bind(n)),n.controls.addEventListener(r.a.REMOVE,(function(t){t.element.setMap(null)}).bind(n)),n.interactions.forEach((function(t){t.setMap(this)}).bind(n)),n.interactions.addEventListener(r.a.ADD,(function(t){t.element.setMap(this)}).bind(n)),n.interactions.addEventListener(r.a.REMOVE,(function(t){t.element.setMap(null)}).bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n.overlays_.addEventListener(r.a.ADD,(function(t){this.addOverlayInternal_(t.element)}).bind(n)),n.overlays_.addEventListener(r.a.REMOVE,(function(t){var e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)}).bind(n)),n}return U(e,t),e.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},e.prototype.addControl=function(t){this.getControls().push(t)},e.prototype.addInteraction=function(t){this.getInteractions().push(t)},e.prototype.addLayer=function(t){this.getLayerGroup().getLayers().push(t)},e.prototype.addOverlay=function(t){this.getOverlays().push(t)},e.prototype.addOverlayInternal_=function(t){var e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)},e.prototype.disposeInternal=function(){this.mapBrowserEventHandler_.dispose(),this.viewport_.removeEventListener(_.a.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(_.a.WHEEL,this.boundHandleBrowserEvent_),void 0!==this.handleResize_&&(removeEventListener(_.a.RESIZE,this.handleResize_,!1),this.handleResize_=void 0),this.setTarget(null),t.prototype.disposeInternal.call(this)},e.prototype.forEachFeatureAtPixel=function(t,e,n){if(this.frameState_){var l=this.getCoordinateFromPixelInternal(t);return this.renderer_.forEachFeatureAtCoordinate(l,this.frameState_,void 0!==(n=void 0!==n?n:{}).hitTolerance?n.hitTolerance*this.frameState_.pixelRatio:0,!1!==n.checkWrapped,e,null,void 0!==n.layerFilter?n.layerFilter:j.b,null)}},e.prototype.getFeaturesAtPixel=function(t,e){var n=[];return this.forEachFeatureAtPixel(t,(function(t){n.push(t)}),e),n},e.prototype.forEachLayerAtPixel=function(t,e,n){if(this.frameState_){var l=n||{};return this.renderer_.forEachLayerAtPixel(t,this.frameState_,void 0!==l.hitTolerance?l.hitTolerance*this.frameState_.pixelRatio:0,e,l.layerFilter||j.b)}},e.prototype.hasFeatureAtPixel=function(t,e){if(!this.frameState_)return!1;var n=this.getCoordinateFromPixelInternal(t);return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,void 0!==(e=void 0!==e?e:{}).hitTolerance?e.hitTolerance*this.frameState_.pixelRatio:0,!1!==e.checkWrapped,void 0!==e.layerFilter?e.layerFilter:j.b,null)},e.prototype.getEventCoordinate=function(t){return this.getCoordinateFromPixel(this.getEventPixel(t))},e.prototype.getEventCoordinateInternal=function(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))},e.prototype.getEventPixel=function(t){var e=this.viewport_.getBoundingClientRect(),n="changedTouches"in t?t.changedTouches[0]:t;return[n.clientX-e.left,n.clientY-e.top]},e.prototype.getTarget=function(){return this.get("target")},e.prototype.getTargetElement=function(){var t=this.getTarget();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},e.prototype.getCoordinateFromPixel=function(t){return Object(Y.n)(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())},e.prototype.getCoordinateFromPixelInternal=function(t){var e=this.frameState_;return e?Object(N.a)(e.pixelToCoordinateTransform,t.slice()):null},e.prototype.getControls=function(){return this.controls},e.prototype.getOverlays=function(){return this.overlays_},e.prototype.getOverlayById=function(t){var e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getInteractions=function(){return this.interactions},e.prototype.getLayerGroup=function(){return this.get("layergroup")},e.prototype.getLayers=function(){return this.getLayerGroup().getLayers()},e.prototype.getLoading=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var l=t[e].layer.getSource();if(l&&l.loading)return!0}return!1},e.prototype.getPixelFromCoordinate=function(t){var e=Object(Y.e)(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)},e.prototype.getPixelFromCoordinateInternal=function(t){var e=this.frameState_;return e?Object(N.a)(e.coordinateToPixelTransform,t.slice(0,2)):null},e.prototype.getRenderer=function(){return this.renderer_},e.prototype.getSize=function(){return this.get("size")},e.prototype.getView=function(){return this.get("view")},e.prototype.getViewport=function(){return this.viewport_},e.prototype.getOverlayContainer=function(){return this.overlayContainer_},e.prototype.getOverlayContainerStopEvent=function(){return this.overlayContainerStopEvent_},e.prototype.getTilePriority=function(t,e,n,l){return function(t,e,n,l,i){if(!t||!(n in t.wantedTiles))return 1/0;if(!t.wantedTiles[n][e.getKey()])return 1/0;var r=t.viewState.center,o=l[0]-r[0],a=l[1]-r[1];return 65536*Math.log(i)+Math.sqrt(o*o+a*a)/i}(this.frameState_,t,e,n,l)},e.prototype.handleBrowserEvent=function(t,e){var n=new c(e||t.type,this,t);this.handleMapBrowserEvent(n)},e.prototype.handleMapBrowserEvent=function(t){if(this.frameState_){var e=t.originalEvent.target;if(t.dragging||!this.overlayContainerStopEvent_.contains(e)&&(document.body.contains(e)||this.viewport_.getRootNode&&this.viewport_.getRootNode().contains(e))){t.frameState=this.frameState_;var n=this.getInteractions().getArray();if(!1!==this.dispatchEvent(t))for(var l=n.length-1;l>=0;l--){var i=n[l];if(i.getActive()&&!i.handleEvent(t))break}}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,l=n;if(t){var i=t.viewHints;if(i[E.a.ANIMATING]||i[E.a.INTERACTING]){var r=!d.c&&Date.now()-t.time>8;n=r?0:8,l=r?0:2}}e.getTilesLoading()<n&&(e.reprioritize(),e.loadMoreTiles(n,l))}!t||!this.hasListener(C.a.RENDERCOMPLETE)||t.animate||this.tileQueue_.getTilesLoading()||this.getLoading()||this.renderer_.dispatchRenderEvent(C.a.RENDERCOMPLETE,t);for(var o=this.postRenderFunctions_,a=0,s=o.length;a<s;++a)o[a](this,t);o.length=0},e.prototype.handleSizeChanged_=function(){this.getView()&&this.getView().resolveConstraints(0),this.render()},e.prototype.handleTargetChanged_=function(){var t;if(this.getTarget()&&(t=this.getTargetElement()),this.keyHandlerKeys_){for(var e=0,n=this.keyHandlerKeys_.length;e<n;++e)Object(b.c)(this.keyHandlerKeys_[e]);this.keyHandlerKeys_=null}if(t){t.appendChild(this.viewport_),this.renderer_||(this.renderer_=this.createRenderer());var l=this.keyboardEventTarget_?this.keyboardEventTarget_:t;this.keyHandlerKeys_=[Object(b.a)(l,_.a.KEYDOWN,this.handleBrowserEvent,this),Object(b.a)(l,_.a.KEYPRESS,this.handleBrowserEvent,this)],this.handleResize_||(this.handleResize_=this.updateSize.bind(this),window.addEventListener(_.a.RESIZE,this.handleResize_,!1))}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0),Object(I.e)(this.viewport_),void 0!==this.handleResize_&&(removeEventListener(_.a.RESIZE,this.handleResize_,!1),this.handleResize_=void 0);this.updateSize()},e.prototype.handleTileChange_=function(){this.render()},e.prototype.handleViewPropertyChanged_=function(){this.render()},e.prototype.handleViewChanged_=function(){this.viewPropertyListenerKey_&&(Object(b.c)(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(Object(b.c)(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);var t=this.getView();t&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=Object(b.a)(t,P.a.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=Object(b.a)(t,_.a.CHANGE,this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()},e.prototype.handleLayerGroupChanged_=function(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(b.c),this.layerGroupPropertyListenerKeys_=null);var t=this.getLayerGroup();t&&(this.layerGroupPropertyListenerKeys_=[Object(b.a)(t,P.a.PROPERTYCHANGE,this.render,this),Object(b.a)(t,_.a.CHANGE,this.render,this)]),this.render()},e.prototype.isRendered=function(){return!!this.frameState_},e.prototype.renderSync=function(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()},e.prototype.redrawText=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var l=t[e].layer;l.hasRenderer()&&l.getRenderer().handleFontsChanged()}},e.prototype.render=function(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))},e.prototype.removeControl=function(t){return this.getControls().remove(t)},e.prototype.removeInteraction=function(t){return this.getInteractions().remove(t)},e.prototype.removeLayer=function(t){return this.getLayerGroup().getLayers().remove(t)},e.prototype.removeOverlay=function(t){return this.getOverlays().remove(t)},e.prototype.renderFrame_=function(t){var e=this.getSize(),n=this.getView(),l=this.frameState_,i=null;if(void 0!==e&&Object(F.a)(e)&&n&&n.isDef()){var r=n.getHints(this.frameState_?this.frameState_.viewHints:void 0),o=n.getState();i={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterItems:l?l.declutterItems:[],extent:Object(L.z)(o.center,o.resolution,o.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:o,viewHints:r,wantedTiles:{}}}this.frameState_=i,this.renderer_.renderFrame(i),i&&(i.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,i.postRenderFunctions),l&&(!this.previousExtent_||!Object(L.H)(this.previousExtent_)&&!Object(L.p)(i.extent,this.previousExtent_))&&(this.dispatchEvent(new s(v.a.MOVESTART,this,l)),this.previousExtent_=Object(L.l)(this.previousExtent_)),this.previousExtent_&&!i.viewHints[E.a.ANIMATING]&&!i.viewHints[E.a.INTERACTING]&&!Object(L.p)(i.extent,this.previousExtent_)&&(this.dispatchEvent(new s(v.a.MOVEEND,this,i)),Object(L.d)(i.extent,this.previousExtent_))),this.dispatchEvent(new s(v.a.POSTRENDER,this,i)),this.postRenderTimeoutHandle_=setTimeout(this.handlePostRender.bind(this),0)},e.prototype.setLayerGroup=function(t){this.set("layergroup",t)},e.prototype.setSize=function(t){this.set("size",t)},e.prototype.setTarget=function(t){this.set("target",t)},e.prototype.setView=function(t){this.set("view",t)},e.prototype.updateSize=function(){var t=this.getTargetElement();if(t){var e=getComputedStyle(t);this.setSize([t.offsetWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderRightWidth),t.offsetHeight-parseFloat(e.borderTopWidth)-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderBottomWidth)])}else this.setSize(void 0);this.updateViewportSize_()},e.prototype.updateViewportSize_=function(){var t=this.getView();if(t){var e=void 0,n=getComputedStyle(this.viewport_);n.width&&n.height&&(e=[parseInt(n.width,10),parseInt(n.height,10)]),t.setViewportSize(e)}},e}(w.a),z=n("IbxR"),G=function(){function t(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;for(var n=e-3;n>0&&this.points_[n+2]>t;)n-=3;var l=this.points_[e+2]-this.points_[n+2];if(l<1e3/60)return!1;var i=this.points_[e]-this.points_[n],r=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(r,i),this.initialVelocity_=Math.sqrt(i*i+r*r)/l,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),H=n("zfM5"),V=n("pWiS"),q=n("ykKD"),W=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},$=function(t){return t.target.getTargetElement()===document.activeElement},X=j.b,K=function(t){var e=t.originalEvent;return 0==e.button&&!(d.f&&d.d&&e.ctrlKey)},J=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},Q=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},Z=function(t){var e=t.originalEvent.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e},tt=function(t){var e=t.pointerEvent;return Object(S.a)(void 0!==e,56),"mouse"==e.pointerType},et=n("QzRn"),nt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function lt(t){for(var e=t.length,n=0,l=0,i=0;i<e;i++)n+=t[i].clientX,l+=t[i].clientY;return[n/e,l/e]}var it=function(t){function e(e){var n=this,l=e||{};return n=t.call(this,l)||this,l.handleDownEvent&&(n.handleDownEvent=l.handleDownEvent),l.handleDragEvent&&(n.handleDragEvent=l.handleDragEvent),l.handleMoveEvent&&(n.handleMoveEvent=l.handleMoveEvent),l.handleUpEvent&&(n.handleUpEvent=l.handleUpEvent),l.stopDown&&(n.stopDown=l.stopDown),n.handlingDownUpSequence=!1,n.trackedPointers_={},n.targetPointers=[],n}return nt(e,t),e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.pointerEvent)return!0;var e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==h.a.POINTERDRAG)this.handleDragEvent(t);else if(t.type==h.a.POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==h.a.POINTERDOWN){var l=this.handleDownEvent(t);this.handlingDownUpSequence=l,e=this.stopDown(l)}else t.type==h.a.POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(function(t){var e=t.type;return e===h.a.POINTERDOWN||e===h.a.POINTERDRAG||e===h.a.POINTERUP}(t)){var e=t.pointerEvent,n=e.pointerId.toString();t.type==h.a.POINTERUP?delete this.trackedPointers_[n]:(t.type==h.a.POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=e),this.targetPointers=Object(k.c)(this.trackedPointers_)}},e}(et.a),rt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function ot(t){return J(t)&&function(t){var e=t.pointerEvent;return Object(S.a)(void 0!==e,56),e.isPrimary&&0===e.button}(t)}var at=function(t){function e(e){var n=t.call(this,{stopDown:j.a})||this,l=e||{};return n.kinetic_=l.kinetic,n.lastCentroid=null,n.panning_=!1,n.condition_=l.condition?l.condition:ot,n.noKinetic_=!1,n}return rt(e,t),e.prototype.conditionInternal_=function(t){var e=!0;return t.map.getTargetElement().hasAttribute("tabindex")&&(e=$(t)),e&&this.condition_(t)},e.prototype.handleDragEvent=function(t){this.panning_||(this.panning_=!0,this.getMap().getView().beginInteraction());var e=this.targetPointers,n=lt(e);if(e.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var l=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],i=t.map.getView();Object(V.d)(l,i.getResolution()),Object(V.c)(l,i.getRotation()),i.adjustCenterInternal(l)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=e.length,t.originalEvent.preventDefault()},e.prototype.handleUpEvent=function(t){var e=t.map,n=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var l=this.kinetic_.getDistance(),i=this.kinetic_.getAngle(),r=n.getCenterInternal(),o=e.getPixelFromCoordinateInternal(r),a=e.getCoordinateFromPixelInternal([o[0]-l*Math.cos(i),o[1]-l*Math.sin(i)]);n.animateInternal({center:n.getConstrainedCenter(a),duration:500,easing:q.b})}return this.panning_&&(this.panning_=!1,n.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>0&&this.conditionInternal_(t)){var e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(it),st=n("jMVV"),ut=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ct=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{stopDown:j.a})||this).condition_=l.condition?l.condition:W,n.lastAngle_=void 0,n.duration_=void 0!==l.duration?l.duration:250,n}return ut(e,t),e.prototype.handleDragEvent=function(t){if(tt(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==st.c){var l=e.getSize(),i=t.pixel,r=Math.atan2(l[1]/2-i[1],i[0]-l[0]/2);void 0!==this.lastAngle_&&n.adjustRotationInternal(-(r-this.lastAngle_)),this.lastAngle_=r}}},e.prototype.handleUpEvent=function(t){return!tt(t)||(t.map.getView().endInteraction(this.duration_),!1)},e.prototype.handleDownEvent=function(t){return!(!tt(t)||!K(t)||!this.condition_(t)||(t.map.getView().beginInteraction(),this.lastAngle_=void 0,0))},e}(it),dt=n("2lwS"),ht=n("W8M7"),pt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),ft=function(t){function e(e){var n=t.call(this)||this;return n.geometry_=null,n.element_=document.createElement("div"),n.element_.style.position="absolute",n.element_.className="ol-box "+e,n.map_=null,n.startPixel_=null,n.endPixel_=null,n}return pt(e,t),e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n=this.element_.style;n.left=Math.min(t[0],e[0])+"px",n.top=Math.min(t[1],e[1])+"px",n.width=Math.abs(e[0]-t[0])+"px",n.height=Math.abs(e[1]-t[1])+"px"},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new ht.a([n])},e.prototype.getGeometry=function(){return this.geometry_},e}(dt.a),bt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),mt=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.coordinate=n,i.mapBrowserEvent=l,i}return bt(e,t),e}(o.a),gt=function(t){function e(e){var n=t.call(this)||this,l=e||{};return n.box_=new ft(l.className||"ol-dragbox"),n.minArea_=void 0!==l.minArea?l.minArea:64,n.onBoxEnd_=l.onBoxEnd?l.onBoxEnd:j.c,n.startPixel_=null,n.condition_=l.condition?l.condition:K,n.boxEndCondition_=l.boxEndCondition?l.boxEndCondition:n.defaultBoxEndCondition,n}return bt(e,t),e.prototype.defaultBoxEndCondition=function(t,e,n){var l=n[0]-e[0],i=n[1]-e[1];return l*l+i*i>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new mt("boxdrag",t.coordinate,t))},e.prototype.handleUpEvent=function(t){return this.box_.setMap(null),this.boxEndCondition_(t,this.startPixel_,t.pixel)&&(this.onBoxEnd_(t),this.dispatchEvent(new mt("boxend",t.coordinate,t))),!1},e.prototype.handleDownEvent=function(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new mt("boxstart",t.coordinate,t)),!0)},e}(it),_t=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function yt(){var t=this.getMap(),e=t.getView(),n=t.getSize(),l=this.getGeometry().getExtent();if(this.out_){var i=e.calculateExtentInternal(n),r=Object(L.n)([t.getPixelFromCoordinateInternal(Object(L.v)(l)),t.getPixelFromCoordinateInternal(Object(L.D)(l))]),o=e.getResolutionForExtentInternal(r,n);Object(L.J)(i,1/o),l=i}var a=e.getConstrainedResolution(e.getResolutionForExtentInternal(l,n)),s=e.getConstrainedCenter(Object(L.x)(l),a);e.animateInternal({resolution:a,center:s,duration:this.duration_,easing:q.b})}var At=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,{condition:l.condition?l.condition:Q,className:l.className||"ol-dragzoom",minArea:l.minArea,onBoxEnd:yt})||this).duration_=void 0!==l.duration?l.duration:200,n.out_=void 0!==l.out&&l.out,n}return _t(e,t),e}(gt),vt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function Ct(t){var e=!1;if(t.type==_.a.KEYDOWN){var n=t.originalEvent.keyCode;if(this.condition_(t)&&(40==n||37==n||39==n||38==n)){var l=t.map.getView(),i=l.getResolution()*this.pixelDelta_,r=0,o=0;40==n?o=-i:37==n?r=-i:39==n?r=i:o=i;var a=[r,o];Object(V.c)(a,l.getRotation()),Object(et.b)(l,a,this.duration_),t.preventDefault(),e=!0}}return!e}var wt=function(t){function e(e){var n=t.call(this,{handleEvent:Ct})||this,l=e||{};return n.defaultCondition_=function(t){return J(t)&&Z(t)},n.condition_=void 0!==l.condition?l.condition:n.defaultCondition_,n.duration_=void 0!==l.duration?l.duration:100,n.pixelDelta_=void 0!==l.pixelDelta?l.pixelDelta:128,n}return vt(e,t),e}(et.a),Pt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function xt(t){var e=!1;if(t.type==_.a.KEYDOWN||t.type==_.a.KEYPRESS){var n=t.originalEvent.charCode;if(this.condition_(t)&&(n=="+".charCodeAt(0)||n=="-".charCodeAt(0))){var l=t.map,i=n=="+".charCodeAt(0)?this.delta_:-this.delta_,r=l.getView();Object(et.c)(r,i,void 0,this.duration_),t.preventDefault(),e=!0}}return!e}var St=function(t){function e(e){var n=t.call(this,{handleEvent:xt})||this,l=e||{};return n.condition_=l.condition?l.condition:Z,n.delta_=l.delta?l.delta:1,n.duration_=void 0!==l.duration?l.duration:100,n}return Pt(e,t),e}(et.a),kt=n("f8l7"),Mt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Ot=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this,l)||this).totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==l.maxDelta?l.maxDelta:1,n.duration_=void 0!==l.duration?l.duration:250,n.timeout_=void 0!==l.timeout?l.timeout:80,n.useAnchor_=void 0===l.useAnchor||l.useAnchor,n.condition_=l.condition?l.condition:X,n.lastAnchor_=null,n.startTime_=void 0,n.mode_=void 0,n.trackpadEventGap_=400,n.deltaPerZoom_=300,n}return Mt(e,t),e.prototype.conditionInternal_=function(t){var e=!0;return t.map.getTargetElement().hasAttribute("tabindex")&&(e=$(t)),e&&this.condition_(t)},e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0,this.getMap().getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},e.prototype.handleEvent=function(t){if(!this.conditionInternal_(t))return!0;if(t.type!==_.a.WHEEL)return!0;t.preventDefault();var e,n=t.map,l=t.originalEvent;if(this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==_.a.WHEEL&&(e=l.deltaY,d.b&&l.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(e/=d.a),l.deltaMode===WheelEvent.DOM_DELTA_LINE&&(e*=40)),0===e)return!1;this.lastDelta_=e;var i=Date.now();void 0===this.startTime_&&(this.startTime_=i),(!this.mode_||i-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(e)<4?"trackpad":"wheel");var r=n.getView();if("trackpad"===this.mode_&&!r.getConstrainResolution())return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(r.getAnimating()&&r.cancelAnimations(),r.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),r.adjustZoom(-e/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=i,!1;this.totalDelta_+=e;var o=Math.max(this.timeout_-(i-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),o),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=-Object(kt.a)(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;e.getConstrainResolution()&&(n=n?n>0?1:-1:0),Object(et.c)(e,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(et.a),Dt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Tt=function(t){function e(e){var n=this,l=e||{},i=l;return i.stopDown||(i.stopDown=j.a),(n=t.call(this,i)||this).anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==l.threshold?l.threshold:.3,n.duration_=void 0!==l.duration?l.duration:250,n}return Dt(e,t),e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],l=this.targetPointers[1],i=Math.atan2(l.clientY-n.clientY,l.clientX-n.clientX);if(void 0!==this.lastAngle_){var r=i-this.lastAngle_;this.rotationDelta_+=r,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=r}this.lastAngle_=i;var o=t.map,a=o.getView();if(a.getConstraints().rotation!==st.c){var s=o.getViewport().getBoundingClientRect(),u=lt(this.targetPointers);u[0]-=s.left,u[1]-=s.top,this.anchor_=o.getCoordinateFromPixelInternal(u),this.rotating_&&(o.render(),a.adjustRotationInternal(e,this.anchor_))}},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(it),Et=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),It=function(t){function e(e){var n=this,l=e||{},i=l;return i.stopDown||(i.stopDown=j.a),(n=t.call(this,i)||this).anchor_=null,n.duration_=void 0!==l.duration?l.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return Et(e,t),e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],l=this.targetPointers[1],i=n.clientX-l.clientX,r=n.clientY-l.clientY,o=Math.sqrt(i*i+r*r);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;var a=t.map,s=a.getView();1!=e&&(this.lastScaleDelta_=e);var u=a.getViewport().getBoundingClientRect(),c=lt(this.targetPointers);c[0]-=u.left,c[1]-=u.top,this.anchor_=a.getCoordinateFromPixelInternal(c),a.render(),s.adjustResolutionInternal(e,this.anchor_)},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_,this.lastScaleDelta_>1?1:-1),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(it),Lt=n("zX6e"),jt=n("GvmM"),Rt=n("MzMb"),Ft=n("EwAT"),Nt=n("PCLV");n("yUaI"),n("MNGd");var Yt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function Ut(t,e){Nt.a.expire()}var Bt=function(t){function e(e){var n=t.call(this)||this;return n.map_=e,n.declutterTree_=null,n}return Yt(e,t),e.prototype.dispatchRenderEvent=function(t,e){Object(Ft.b)()},e.prototype.calculateMatrices2D=function(t){var e=t.viewState,n=t.coordinateToPixelTransform,l=t.pixelToCoordinateTransform;Object(N.b)(n,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Object(N.d)(l,n)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i,r,o,a){var s,u=e.viewState;function c(t,e,n){return i.call(r,e,t?n:null)}var d=u.projection,h=Object(V.f)(t.slice(),d),p=[[0,0]];if(d.canWrapX()&&l){var f=d.getExtent(),b=Object(L.E)(f);p.push([-b,0],[b,0])}var m,g=e.layerStatesArray,_=g.length;this.declutterTree_&&(m=this.declutterTree_.all().map((function(t){return t.value})));for(var y=[],A=0;A<p.length;A++)for(var v=_-1;v>=0;--v){var C=g[v],w=C.layer;if(w.hasRenderer()&&Object(jt.b)(C,u)&&o.call(a,w)){var P=w.getRenderer(),x=w.getSource();if(P&&x){var S=x.getWrapX()?h:t,k=c.bind(null,C.managed);y[0]=S[0]+p[A][0],y[1]=S[1]+p[A][1],s=P.forEachFeatureAtCoordinate(y,e,n,k,m)}if(s)return s}}},e.prototype.forEachLayerAtPixel=function(t,e,n,l,i){return Object(Ft.b)()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,l,i,r){return void 0!==this.forEachFeatureAtCoordinate(t,e,n,l,j.b,this,i,r)},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(t){this.declutterTree_=function(t,e){e&&e.clear();for(var n=t.declutterItems,l=n.length-1;l>=0;--l)for(var i=n[l],r=i.items,o=0,a=r.length;o<a;o+=3)e=r[o].renderDeclutter(r[o+1],r[o+2],i.opacity,e);return n.length=0,e}(t,this.declutterTree_)},e.prototype.scheduleExpireIconCache=function(t){Nt.a.canExpireCache()&&t.postRenderFunctions.push(Ut)},e}(dt.a),zt=n("bYNo"),Gt=n("3er3"),Ht=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Vt=function(t){function e(e){var n=t.call(this,e)||this;n.fontChangeListenerKey_=Object(b.a)(Gt.a,P.a.PROPERTYCHANGE,e.redrawText.bind(e)),n.element_=document.createElement("div");var l=n.element_.style;l.position="absolute",l.width="100%",l.height="100%",l.zIndex="0",n.element_.className=Lt.e+" ol-layers";var i=e.getViewport();return i.insertBefore(n.element_,i.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return Ht(e,t),e.prototype.dispatchRenderEvent=function(t,e){var n=this.getMap();if(n.hasListener(t)){var l=new Rt.a(t,void 0,e);n.dispatchEvent(l)}},e.prototype.disposeInternal=function(){Object(b.c)(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(e){if(e){this.calculateMatrices2D(e),this.dispatchRenderEvent(C.a.PRECOMPOSE,e);var n=e.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex})),l=e.viewState;this.children_.length=0;for(var i=null,r=0,o=n.length;r<o;++r){var a=n[r];if(e.layerIndex=r,Object(jt.b)(a,l)&&(a.sourceState==zt.a.READY||a.sourceState==zt.a.UNDEFINED)){var s=a.layer.render(e,i);s&&s!==i&&(this.children_.push(s),i=s)}}t.prototype.renderFrame.call(this,e),Object(I.f)(this.element_,this.children_),this.dispatchRenderEvent(C.a.POSTCOMPOSE,e),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(e)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},e.prototype.forEachLayerAtPixel=function(t,e,n,l,i){for(var r=e.viewState,o=e.layerStatesArray,a=o.length-1;a>=0;--a){var s=o[a],u=s.layer;if(u.hasRenderer()&&Object(jt.b)(s,r)&&i(u)){var c=u.getRenderer().getDataAtPixel(t,e,n);if(c){var d=l(u,c);if(d)return d}}}},e}(Bt),qt=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),Wt=function(t){function e(e){return(e=Object(k.a)({},e)).controls||(e.controls=Object(z.a)()),e.interactions||(e.interactions=function(t){var e={},n=new i.a,l=new G(-.005,.05,100);return(void 0===e.altShiftDragRotate||e.altShiftDragRotate)&&n.push(new ct),(void 0===e.doubleClickZoom||e.doubleClickZoom)&&n.push(new H.a({delta:e.zoomDelta,duration:e.zoomDuration})),(void 0===e.dragPan||e.dragPan)&&n.push(new at({condition:e.onFocusOnly?$:void 0,kinetic:l})),(void 0===e.pinchRotate||e.pinchRotate)&&n.push(new Tt),(void 0===e.pinchZoom||e.pinchZoom)&&n.push(new It({duration:e.zoomDuration})),(void 0===e.keyboard||e.keyboard)&&(n.push(new wt),n.push(new St({delta:e.zoomDelta,duration:e.zoomDuration}))),(void 0===e.mouseWheelZoom||e.mouseWheelZoom)&&n.push(new Ot({condition:e.onFocusOnly?$:void 0,duration:e.zoomDuration})),(void 0===e.shiftDragZoom||e.shiftDragZoom)&&n.push(new At({duration:e.zoomDuration})),n}()),t.call(this,e)||this}return qt(e,t),e.prototype.createRenderer=function(){return new Vt(this)},e}(B);e.a=Wt},Y4ja:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J");const i={ALL_AIRCRAFT:"ALL",ONE_AIRCRAFT:"ONE"};let r=(()=>{class t{constructor(){this.modeMapChange=new l.r,this.modeMap=i.ALL_AIRCRAFT}getModeMapChangeEmitter(){return this.modeMapChange}getModeMap(){return this.modeMap}setModeMap(t){this.modeMap=t,this.modeMapChange.emit(this.modeMap)}}return t.ngInjectableDef=l.cc({factory:function(){return new t},token:t,providedIn:"root"}),t})()},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("DH7j");function i(t){return!Object(l.a)(t)&&t-parseFloat(t)+1>=0}},YGmB:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("8Y7J"),i=n("JW8z"),r=n("wd/R"),o=n("w+w1"),a=n("qToJ"),s=n("wBRQ"),u=(n("G0WM"),n("ItNn"));let c=(()=>{class t{constructor(t,e,n){this.focusAircraftService=t,this.settingService=e,this.aircraftbboxService=n,this.lockRequest=!1,this.aircrafts={},this.trafficChange=new l.r}getAircrafts(){return this.aircrafts}getAircraftArray(){return Object.keys(this.aircrafts).map(t=>this.aircrafts[t])}getTrafficChangeEmitter(){return this.trafficChange}getNbAircrafts(){return Object.keys(this.aircrafts).length}deleteAllAircraft(){this.lockRequest=!0;for(const t in this.aircrafts)this.aircrafts.hasOwnProperty(t)&&delete this.aircrafts[t]}addAircraft(t){return this.aircrafts[t.icao]||(this.aircrafts[t.icao]=t,this.lockRequest=!0),this.aircrafts[t.icao]}getTraffic(t,e,n,l,o){const a=Object(i.m)([t[0],t[1]]),s=Object(i.m)([t[2],t[3]]),u=this.settingService.getFeeds();let c={minLon:a[0],minLat:a[1],maxLon:s[0],maxLat:s[1],providers:u.map(t=>t.id)};l&&(c.since=r(l).format()),e&&e.length>0&&(c.selected=e.map(t=>t.icao+"_"+r(t.createdAt).format())),o&&o.length>0&&(c.filterIcao=o.map(t=>t.icao)),this.aircraftbboxService.aircraftBboxControllerGetBbox(c).subscribe(t=>{!0===this.lockRequest?(this.lockRequest=!1,n([],[],[])):this.updateSource(t.data,n)},t=>{console.error("ERROR AIRCRAFT BBOX : ",t),this.lockRequest=!1,n([],[],[])})}updateSource(t,e){const n=this.getAircraftHash(t),l=this.getRemovedAircrafts(n),i=this.updateModifiedAndNewAircrafts(n);e(l,i.addedAircrafts,i.modifiedAircrafts),this.removeAircrafts(l),this.trafficChange.emit(this.aircrafts)}getAircraftHash(t){const e={};return t&&(this.focusAircraftService.focusIsActive()?t.forEach(t=>{this.focusAircraftService.aircraftMatch(t)&&(e[t.icao]=t)}):t.forEach(t=>{e[t.icao]=t})),e}getRemovedAircrafts(t){const e=[];for(const n in this.aircrafts)t[n]||e.push(this.aircrafts[n]);return e}updateModifiedAndNewAircrafts(t){const e=[],n=[];for(const l in t)this.aircrafts[l]?(this.aircrafts[l].updateBboxAircraft(t[l]),n.push(this.aircrafts[l])):(this.aircrafts[l]=new o.a(t[l]),e.push(this.aircrafts[l]));return{addedAircrafts:e,modifiedAircrafts:n}}removeAircrafts(t){t.forEach(t=>{delete this.aircrafts[t.icao]})}}return t.ngInjectableDef=l.cc({factory:function(){return new t(l.dc(s.a),l.dc(a.a),l.dc(u.a))},token:t,providedIn:"root"}),t})()},YRex:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":l<900?"\u0633\u06d5\u06be\u06d5\u0631":l<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":l<1230?"\u0686\u06c8\u0634":l<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YX0d:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"f",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"e",(function(){return c}));var l="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",i=-1!==l.indexOf("firefox"),r=(-1!==l.indexOf("safari")&&l.indexOf("chrom"),-1!==l.indexOf("webkit")&&-1==l.indexOf("edge")),o=-1!==l.indexOf("macintosh"),a="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,s="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,u="undefined"!=typeof Image&&Image.prototype.decode,c=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(n){}return t}()},Yeuo:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("s6ns"),r=n("bujt"),o=n("Fwaw"),a=n("5GAg"),s=n("omvX"),u=n("1f0G"),c=n("MlvX"),d=n("Xd0L"),h=n("dJrM"),p=n("HsOI"),f=n("IP0z"),b=n("/HVE"),m=n("Z/v2"),g=l.Bb({encapsulation:0,styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%]:not(.file-input-disabled){cursor:pointer}input[_ngcontent-%COMP%]{width:0;height:0;opacity:0;overflow:hidden;position:absolute;z-index:-1}.filename[_ngcontent-%COMP%]{display:inline-block}"],data:{}});function _(t){return l.Yb(0,[(t()(),l.Db(0,0,[["input",1]],null,0,"input",[["type","file"]],[[1,"multiple",0],[1,"accept",0]],null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"span",[["class","filename"]],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n.multiple?"":null,n.accept),t(e,2,0,n.fileNames)}))}var y=n("s7LF"),A=n("ZwOa"),v=n("oapL"),C=n("Azqq"),w=n("JjoW"),P=n("hOhj"),x=n("SVse"),S=n("oJZn"),k=n("pBi1");n("X0qu"),n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return E})),n.d(e,"c",(function(){return $}));var M=l.Bb({encapsulation:0,styles:[[".form-layer-helper-popup[_ngcontent-%COMP%]{margin:20px}hr[_ngcontent-%COMP%]{height:2px;border-width:0;box-sizing:content-box;background-color:#000;margin:25px 0 20px}"]],data:{}});function O(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,86,"div",[["class","form-layer-helper-popup"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["G\xe9n\xe9ral"])),(t()(),l.Db(3,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- L'import de layer de type GL ne fonctionne qu'avec certains type de fichier g\xe9ographiques : GeoJSON, KML, Shapefile, CSV"])),(t()(),l.Db(5,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- La configuration du style d'un layer de type GL repose sur la sp\xe9cification MapBox GL Style (voir exemples ci dessous) : "])),(t()(),l.Db(7,0,null,null,1,"a",[["href","https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["mapbox-gl-js/style-spec"])),(t()(),l.Db(9,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Des exemples de commandes "Tippecanoe" son disponibles i\xe7i : '])),(t()(),l.Db(11,0,null,null,1,"a",[["href","https://github.com/mapbox/tippecanoe"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["mapbox/tippecanoe"])),(t()(),l.Db(13,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- "])),(t()(),l.Db(15,0,null,null,1,"a",[["href","https://mapwithlove.github.io/geojson-circle"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["G\xe9n\xe9rateur de zones circulaires"])),(t()(),l.Db(17,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- "])),(t()(),l.Db(19,0,null,null,1,"a",[["href","https://mapwithlove.github.io/geojson-circle/converter"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Convertisseur des coordonn\xe9s en sortie www.pap08.eu/ZA/volume-aerien.php"])),(t()(),l.Db(21,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Exemple de GeoJSON valides : "])),(t()(),l.Db(23,0,null,null,1,"a",[["href","https://geojsonlint.com/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["geojsonlint.com/"])),(t()(),l.Db(25,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Visualiser un GeoJSON en ligne : "])),(t()(),l.Db(27,0,null,null,1,"a",[["href","http://geojson.io/"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["geojson.io/"])),(t()(),l.Db(29,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Logiciel conseill\xe9 pour l'\xe9dition/visualisation de fichier g\xe9o : "])),(t()(),l.Db(31,0,null,null,1,"a",[["href","https://www.qgis.org/fr/site/forusers/download.html"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["QGIS"])),(t()(),l.Db(33,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(34,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GL layers"])),(t()(),l.Db(36,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Point" :'])),(t()(),l.Db(38,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "stops" est un tableau qui permet de g\xe9rer le taille des points en pixel en fonction du zoom : [[zoom, size], ...] '])),(t()(),l.Db(40,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Il est possible de d\xe9finir simplement l\'attribut "circle-radius": 2 (par exemple, pour 2 pixel peut importe le zoom)'])),(t()(),l.Db(42,0,null,null,1,"textarea",[["style","width: 100%; height: 312px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":"circle",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "circle-radius": {\n "stops":[ [4, 1], [6, 2], [8, 3], [10, 3], [12, 3] ]\n },\n "circle-color": "red",\n "circle-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(44,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "LineString" :'])),(t()(),l.Db(46,0,null,null,1,"textarea",[["style","width: 100%; height: 258px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":" line",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "line-color": "green",\n "line-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(48,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Polygon" :'])),(t()(),l.Db(50,0,null,null,1,"textarea",[["style","width: 100%; height: 258px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type":"fill",\n "layout":{\n "visibility": "visible"\n },\n "paint":{\n "fill-color": "blue",\n "fill-opacity": 0.5\n },\n "minzoom": 0\n }\n ]\n '])),(t()(),l.Db(52,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "style" pour un layer de "Polygon" avec une bordure :'])),(t()(),l.Db(54,0,null,null,1,"textarea",[["style","width: 100%; height: 520px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' [\n {\n "type": "fill",\n "paint": {\n "fill-color": "red",\n "fill-opacity": 0.5\n },\n "layout": {\n "visibility": "visible"\n }\n },\n {\n "type": "line",\n "paint": {\n "line-color": "red",\n "line-opacity": 0.99,\n "line-width": 5\n },\n "layout": {\n "visibility": "visible"\n }\n }\n ]\n '])),(t()(),l.Db(56,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Exemple de mapping :"])),(t()(),l.Db(58,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Nom du champ dans le "properties" d\'une "feature" : nom du champ transform\xe9'])),(t()(),l.Db(60,0,null,null,1,"textarea",[["style","width: 100%; height: 96px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' {\n "Name": "name",\n "Cat": "type"\n }\n '])),(t()(),l.Db(62,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(63,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Raster layers"])),(t()(),l.Db(65,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- S\xe9lectionner le type de layer "RASTER"'])),(t()(),l.Db(67,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- Taper le nom du groupe du layer"])),(t()(),l.Db(69,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- Le seul autre champ \xe0 remplir est "parameters" avec un exemple ci dessous'])),(t()(),l.Db(71,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "baseLayer" est optionnel, seulement dans le cas d\'un layer "fond de carte" comme OSM par exemple'])),(t()(),l.Db(73,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['- L\'attribut "CacheSize" permet de configurer le nombres maximum de tuiles mises en cache'])),(t()(),l.Db(75,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["- L'attribut \"transition\" permet de configurer le temps de transition/fondu au moment de l'affichage d'un layer"])),(t()(),l.Db(77,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),l.Db(78,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,['JSON du champ "properties" :'])),(t()(),l.Db(80,0,null,null,1,"textarea",[["style","width: 100%; height: 168px;"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[' {\n "url": "https://t.skyvector.com/836f40bc/vfr/{YYMM}/{z}/{x}/{y}.jpg",\n "baseLayer": true,\n "opacity": 1,\n "attribution": "\xa9 SkyVector.com",\n "cacheSize": 1024,\n "transition": 0\n }\n '])),(t()(),l.Db(82,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""],["style","height: 50px; bottom: 0px;"]],null,null,null,null,null)),l.Cb(83,16384,null,0,i.f,[],null,null),(t()(),l.Db(84,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onNoClick()&&l),l}),r.b,r.a)),l.Cb(85,180224,null,0,o.b,[l.p,a.h,[2,s.a]],null,null),(t()(),l.Wb(-1,0,["Fermer"]))],null,(function(t,e){t(e,84,0,l.Pb(e,85).disabled||null,"NoopAnimations"===l.Pb(e,85)._animationMode)}))}function D(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"form-layer-helper",[],null,null,null,O,M)),l.Cb(1,49152,null,0,u.b,[i.l,i.a],null,null)],null,null)}var T=l.zb("form-layer-helper",u.b,D,{},{},[]),E=l.Bb({encapsulation:0,styles:[[".form-layer[_ngcontent-%COMP%]{padding-top:10px}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%]{width:100%;display:inline-flex;align-content:center;align-items:center}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%;margin-left:auto;margin-right:auto;padding-left:3px;padding-right:3px}.form-layer[_ngcontent-%COMP%] .inline-block[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;padding-left:3px;padding-right:3px}.form-layer[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin:2.5px}.form-layer[_ngcontent-%COMP%] .validate-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-primary);color:var(--ion-color-primary-contrast);height:50px;margin-top:20px}.form-layer[_ngcontent-%COMP%] .helper-button[_ngcontent-%COMP%]{font-family:Quicksand;background-color:var(--ion-color-medium);color:var(--ion-color-medium-contrast);height:50px;margin-top:20px;margin-left:20px}"]],data:{}});function I(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),c.e,c.b)),l.Cb(1,8568832,[[10,4]],0,d.s,[l.p,l.j,[2,d.l],[2,d.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function L(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,13,{_controlNonStatic:0}),l.Ub(335544320,14,{_controlStatic:0}),l.Ub(603979776,15,{_labelChildNonStatic:0}),l.Ub(335544320,16,{_labelChildStatic:0}),l.Ub(603979776,17,{_placeholderChild:0}),l.Ub(603979776,18,{_errorChildren:1}),l.Ub(603979776,19,{_hintChildren:1}),l.Ub(603979776,20,{_prefixChildren:1}),l.Ub(603979776,21,{_suffixChildren:1}),(t()(),l.Db(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(12,16384,[[15,4],[16,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Select : GeoJSON, KML, ShapeFile, CSV"])),(t()(),l.Db(14,0,null,1,5,"ngx-mat-file-input",[["formControlName","file"],["placeholder","??? - Fichiers accept\xe9s : GeoJSON, KML, ShapeFile, CSV - ???"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"aria-describedby",0],[2,"mat-form-field-should-float",null],[2,"file-input-disabled",null]],[[null,"change"],[null,"focusout"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==l.Pb(t,18).change(n)&&i),"focusout"===e&&(i=!1!==l.Pb(t,18).blur()&&i),i}),_,g)),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,245760,null,0,m.a,[[6,y.p],a.h,l.p,l.M],{accept:[0,"accept"],placeholder:[1,"placeholder"]},null),l.Tb(2048,[[13,4],[14,4]],p.d,null,[m.a])],(function(t,e){t(e,1,0,"outline"),t(e,15,0,"file"),t(e,18,0,".json,.geojson,.kml,.shp,.shapefile,.csv","??? - Fichiers accept\xe9s : GeoJSON, KML, ShapeFile, CSV - ???")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,14,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18).id,l.Pb(e,18).describedBy,l.Pb(e,18).shouldLabelFloat,l.Pb(e,18).isDisabled])}))}function j(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,58,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,22,{_controlNonStatic:0}),l.Ub(335544320,23,{_controlStatic:0}),l.Ub(603979776,24,{_labelChildNonStatic:0}),l.Ub(335544320,25,{_labelChildStatic:0}),l.Ub(603979776,26,{_placeholderChild:0}),l.Ub(603979776,27,{_errorChildren:1}),l.Ub(603979776,28,{_hintChildren:1}),l.Ub(603979776,29,{_prefixChildren:1}),l.Ub(603979776,30,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[22,4],[23,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,31,{_controlNonStatic:0}),l.Ub(335544320,32,{_controlStatic:0}),l.Ub(603979776,33,{_labelChildNonStatic:0}),l.Ub(335544320,34,{_labelChildStatic:0}),l.Ub(603979776,35,{_placeholderChild:0}),l.Ub(603979776,36,{_errorChildren:1}),l.Ub(603979776,37,{_hintChildren:1}),l.Ub(603979776,38,{_prefixChildren:1}),l.Ub(603979776,39,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","group"],["matInput",""],["placeholder","Group"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,37)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(34,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(36,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(37,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[31,4],[32,4]],p.d,null,[A.b]),(t()(),l.Db(39,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(40,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,40,{_controlNonStatic:0}),l.Ub(335544320,41,{_controlStatic:0}),l.Ub(603979776,42,{_labelChildNonStatic:0}),l.Ub(335544320,43,{_labelChildStatic:0}),l.Ub(603979776,44,{_placeholderChild:0}),l.Ub(603979776,45,{_errorChildren:1}),l.Ub(603979776,46,{_hintChildren:1}),l.Ub(603979776,47,{_prefixChildren:1}),l.Ub(603979776,48,{_suffixChildren:1}),(t()(),l.Db(50,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","order"],["matInput",""],["max","10000"],["min","0"],["placeholder","Order"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,51)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,51).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,51)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,51)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,52).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,52).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,52).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,57)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,57)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,57)._onInput()&&i),i}),null,null)),l.Cb(51,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(52,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(54,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(56,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(57,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[40,4],[41,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"name"),t(e,18,0,"Name","text"),t(e,21,0,"outline"),t(e,34,0,"group"),t(e,37,0,"Group","text"),t(e,40,0,"outline"),t(e,54,0,"order"),t(e,57,0,"Order","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,37)._isServer,l.Pb(e,37).id,l.Pb(e,37).placeholder,l.Pb(e,37).disabled,l.Pb(e,37).required,l.Pb(e,37).readonly&&!l.Pb(e,37)._isNativeSelect||null,l.Pb(e,37)._ariaDescribedby||null,l.Pb(e,37).errorState,l.Pb(e,37).required.toString()]),t(e,39,1,["standard"==l.Pb(e,40).appearance,"fill"==l.Pb(e,40).appearance,"outline"==l.Pb(e,40).appearance,"legacy"==l.Pb(e,40).appearance,l.Pb(e,40)._control.errorState,l.Pb(e,40)._canLabelFloat,l.Pb(e,40)._shouldLabelFloat(),l.Pb(e,40)._hasFloatingLabel(),l.Pb(e,40)._hideControlPlaceholder(),l.Pb(e,40)._control.disabled,l.Pb(e,40)._control.autofilled,l.Pb(e,40)._control.focused,"accent"==l.Pb(e,40).color,"warn"==l.Pb(e,40).color,l.Pb(e,40)._shouldForward("untouched"),l.Pb(e,40)._shouldForward("touched"),l.Pb(e,40)._shouldForward("pristine"),l.Pb(e,40)._shouldForward("dirty"),l.Pb(e,40)._shouldForward("valid"),l.Pb(e,40)._shouldForward("invalid"),l.Pb(e,40)._shouldForward("pending"),!l.Pb(e,40)._animationsEnabled]),t(e,50,1,[l.Pb(e,56).ngClassUntouched,l.Pb(e,56).ngClassTouched,l.Pb(e,56).ngClassPristine,l.Pb(e,56).ngClassDirty,l.Pb(e,56).ngClassValid,l.Pb(e,56).ngClassInvalid,l.Pb(e,56).ngClassPending,l.Pb(e,57)._isServer,l.Pb(e,57).id,l.Pb(e,57).placeholder,l.Pb(e,57).disabled,l.Pb(e,57).required,l.Pb(e,57).readonly&&!l.Pb(e,57)._isNativeSelect||null,l.Pb(e,57)._ariaDescribedby||null,l.Pb(e,57).errorState,l.Pb(e,57).required.toString()])}))}function R(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),c.e,c.b)),l.Cb(1,8568832,[[58,4]],0,d.s,[l.p,l.j,[2,d.l],[2,d.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,65,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,49,{_controlNonStatic:0}),l.Ub(335544320,50,{_controlStatic:0}),l.Ub(603979776,51,{_labelChildNonStatic:0}),l.Ub(335544320,52,{_labelChildStatic:0}),l.Ub(603979776,53,{_placeholderChild:0}),l.Ub(603979776,54,{_errorChildren:1}),l.Ub(603979776,55,{_hintChildren:1}),l.Ub(603979776,56,{_prefixChildren:1}),l.Ub(603979776,57,{_suffixChildren:1}),(t()(),l.Db(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(13,16384,[[51,4],[52,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Geometry type"])),(t()(),l.Db(15,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","geometryType"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,20)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._onBlur()&&i),"ngModelChange"===e&&(i=!1!==(r.geometryType=n)&&i),i}),C.b,C.a)),l.Tb(6144,null,d.l,null,[w.c]),l.Cb(17,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(19,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(20,2080768,null,3,w.c,[P.e,l.j,l.G,d.d,l.p,[2,f.b],[2,y.s],[2,y.k],[2,p.c],[6,y.p],[8,null],w.a,a.j],null,null),l.Ub(603979776,58,{options:1}),l.Ub(603979776,59,{optionGroups:1}),l.Ub(603979776,60,{customTrigger:0}),l.Tb(2048,[[49,4],[50,4]],p.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,R)),l.Cb(26,278528,null,0,x.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(27,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(28,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,61,{_controlNonStatic:0}),l.Ub(335544320,62,{_controlStatic:0}),l.Ub(603979776,63,{_labelChildNonStatic:0}),l.Ub(335544320,64,{_labelChildStatic:0}),l.Ub(603979776,65,{_placeholderChild:0}),l.Ub(603979776,66,{_errorChildren:1}),l.Ub(603979776,67,{_hintChildren:1}),l.Ub(603979776,68,{_prefixChildren:1}),l.Ub(603979776,69,{_suffixChildren:1}),(t()(),l.Db(38,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","geometryColor"],["matInput",""],["placeholder","Geometry color (black/#000000/rgba(0,0,0,0))"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,39)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,39).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,39)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,39)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,44)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,44)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,44)._onInput()&&i),i}),null,null)),l.Cb(39,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(41,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(43,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(44,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[61,4],[62,4]],p.d,null,[A.b]),(t()(),l.Db(46,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(47,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,70,{_controlNonStatic:0}),l.Ub(335544320,71,{_controlStatic:0}),l.Ub(603979776,72,{_labelChildNonStatic:0}),l.Ub(335544320,73,{_labelChildStatic:0}),l.Ub(603979776,74,{_placeholderChild:0}),l.Ub(603979776,75,{_errorChildren:1}),l.Ub(603979776,76,{_hintChildren:1}),l.Ub(603979776,77,{_prefixChildren:1}),l.Ub(603979776,78,{_suffixChildren:1}),(t()(),l.Db(57,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","geometryOpacity"],["matInput",""],["max","1"],["min","0"],["placeholder","Geometry opacity (0.5)"],["step","0.1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,58)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,58).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,58)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,58)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,59).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,59).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,59).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,64)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,64)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,64)._onInput()&&i),i}),null,null)),l.Cb(58,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(59,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(61,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(63,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(64,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[70,4],[71,4]],p.d,null,[A.b])],(function(t,e){var n=e.component;t(e,2,0,"outline"),t(e,17,0,"geometryType",n.geometryType),t(e,20,0),t(e,26,0,n.geometryTypes),t(e,28,0,"outline"),t(e,41,0,"geometryColor"),t(e,44,0,"Geometry color (black/#000000/rgba(0,0,0,0))","text"),t(e,47,0,"outline"),t(e,61,0,"geometryOpacity"),t(e,64,0,"Geometry opacity (0.5)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,15,1,[l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20).id,l.Pb(e,20).tabIndex,l.Pb(e,20)._getAriaLabel(),l.Pb(e,20)._getAriaLabelledby(),l.Pb(e,20).required.toString(),l.Pb(e,20).disabled.toString(),l.Pb(e,20).errorState,l.Pb(e,20).panelOpen?l.Pb(e,20)._optionIds:null,l.Pb(e,20).multiple,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20)._getAriaActiveDescendant(),l.Pb(e,20).disabled,l.Pb(e,20).errorState,l.Pb(e,20).required,l.Pb(e,20).empty]),t(e,27,1,["standard"==l.Pb(e,28).appearance,"fill"==l.Pb(e,28).appearance,"outline"==l.Pb(e,28).appearance,"legacy"==l.Pb(e,28).appearance,l.Pb(e,28)._control.errorState,l.Pb(e,28)._canLabelFloat,l.Pb(e,28)._shouldLabelFloat(),l.Pb(e,28)._hasFloatingLabel(),l.Pb(e,28)._hideControlPlaceholder(),l.Pb(e,28)._control.disabled,l.Pb(e,28)._control.autofilled,l.Pb(e,28)._control.focused,"accent"==l.Pb(e,28).color,"warn"==l.Pb(e,28).color,l.Pb(e,28)._shouldForward("untouched"),l.Pb(e,28)._shouldForward("touched"),l.Pb(e,28)._shouldForward("pristine"),l.Pb(e,28)._shouldForward("dirty"),l.Pb(e,28)._shouldForward("valid"),l.Pb(e,28)._shouldForward("invalid"),l.Pb(e,28)._shouldForward("pending"),!l.Pb(e,28)._animationsEnabled]),t(e,38,1,[l.Pb(e,43).ngClassUntouched,l.Pb(e,43).ngClassTouched,l.Pb(e,43).ngClassPristine,l.Pb(e,43).ngClassDirty,l.Pb(e,43).ngClassValid,l.Pb(e,43).ngClassInvalid,l.Pb(e,43).ngClassPending,l.Pb(e,44)._isServer,l.Pb(e,44).id,l.Pb(e,44).placeholder,l.Pb(e,44).disabled,l.Pb(e,44).required,l.Pb(e,44).readonly&&!l.Pb(e,44)._isNativeSelect||null,l.Pb(e,44)._ariaDescribedby||null,l.Pb(e,44).errorState,l.Pb(e,44).required.toString()]),t(e,46,1,["standard"==l.Pb(e,47).appearance,"fill"==l.Pb(e,47).appearance,"outline"==l.Pb(e,47).appearance,"legacy"==l.Pb(e,47).appearance,l.Pb(e,47)._control.errorState,l.Pb(e,47)._canLabelFloat,l.Pb(e,47)._shouldLabelFloat(),l.Pb(e,47)._hasFloatingLabel(),l.Pb(e,47)._hideControlPlaceholder(),l.Pb(e,47)._control.disabled,l.Pb(e,47)._control.autofilled,l.Pb(e,47)._control.focused,"accent"==l.Pb(e,47).color,"warn"==l.Pb(e,47).color,l.Pb(e,47)._shouldForward("untouched"),l.Pb(e,47)._shouldForward("touched"),l.Pb(e,47)._shouldForward("pristine"),l.Pb(e,47)._shouldForward("dirty"),l.Pb(e,47)._shouldForward("valid"),l.Pb(e,47)._shouldForward("invalid"),l.Pb(e,47)._shouldForward("pending"),!l.Pb(e,47)._animationsEnabled]),t(e,57,1,[l.Pb(e,63).ngClassUntouched,l.Pb(e,63).ngClassTouched,l.Pb(e,63).ngClassPristine,l.Pb(e,63).ngClassDirty,l.Pb(e,63).ngClassValid,l.Pb(e,63).ngClassInvalid,l.Pb(e,63).ngClassPending,l.Pb(e,64)._isServer,l.Pb(e,64).id,l.Pb(e,64).placeholder,l.Pb(e,64).disabled,l.Pb(e,64).required,l.Pb(e,64).readonly&&!l.Pb(e,64)._isNativeSelect||null,l.Pb(e,64)._ariaDescribedby||null,l.Pb(e,64).errorState,l.Pb(e,64).required.toString()])}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,59,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,79,{_controlNonStatic:0}),l.Ub(335544320,80,{_controlStatic:0}),l.Ub(603979776,81,{_labelChildNonStatic:0}),l.Ub(335544320,82,{_labelChildStatic:0}),l.Ub(603979776,83,{_placeholderChild:0}),l.Ub(603979776,84,{_errorChildren:1}),l.Ub(603979776,85,{_hintChildren:1}),l.Ub(603979776,86,{_prefixChildren:1}),l.Ub(603979776,87,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"input",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderColor"],["matInput",""],["placeholder","Border color (black/#000000/rgba(0,0,0,0))"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[79,4],[80,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,88,{_controlNonStatic:0}),l.Ub(335544320,89,{_controlStatic:0}),l.Ub(603979776,90,{_labelChildNonStatic:0}),l.Ub(335544320,91,{_labelChildStatic:0}),l.Ub(603979776,92,{_placeholderChild:0}),l.Ub(603979776,93,{_errorChildren:1}),l.Ub(603979776,94,{_hintChildren:1}),l.Ub(603979776,95,{_prefixChildren:1}),l.Ub(603979776,96,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderOpacity"],["matInput",""],["max","1"],["min","0"],["placeholder","Border opacity (0.5)"],["step","0.1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,33).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,33).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,33).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,38)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,38)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(33,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(35,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(37,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(38,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[88,4],[89,4]],p.d,null,[A.b]),(t()(),l.Db(40,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(41,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,97,{_controlNonStatic:0}),l.Ub(335544320,98,{_controlStatic:0}),l.Ub(603979776,99,{_labelChildNonStatic:0}),l.Ub(335544320,100,{_labelChildStatic:0}),l.Ub(603979776,101,{_placeholderChild:0}),l.Ub(603979776,102,{_errorChildren:1}),l.Ub(603979776,103,{_hintChildren:1}),l.Ub(603979776,104,{_prefixChildren:1}),l.Ub(603979776,105,{_suffixChildren:1}),(t()(),l.Db(51,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderWidth"],["matInput",""],["max","1000"],["min","0"],["placeholder","Border width (2)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,52)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,52).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,52)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,52)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,53).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,53).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,53).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,58)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,58)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,58)._onInput()&&i),i}),null,null)),l.Cb(52,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(53,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(55,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(57,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(58,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[97,4],[98,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"borderColor"),t(e,18,0,"Border color (black/#000000/rgba(0,0,0,0))","text"),t(e,21,0,"outline"),t(e,35,0,"borderOpacity"),t(e,38,0,"Border opacity (0.5)","number"),t(e,41,0,"outline"),t(e,55,0,"borderWidth"),t(e,58,0,"Border width (2)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,37).ngClassUntouched,l.Pb(e,37).ngClassTouched,l.Pb(e,37).ngClassPristine,l.Pb(e,37).ngClassDirty,l.Pb(e,37).ngClassValid,l.Pb(e,37).ngClassInvalid,l.Pb(e,37).ngClassPending,l.Pb(e,38)._isServer,l.Pb(e,38).id,l.Pb(e,38).placeholder,l.Pb(e,38).disabled,l.Pb(e,38).required,l.Pb(e,38).readonly&&!l.Pb(e,38)._isNativeSelect||null,l.Pb(e,38)._ariaDescribedby||null,l.Pb(e,38).errorState,l.Pb(e,38).required.toString()]),t(e,40,1,["standard"==l.Pb(e,41).appearance,"fill"==l.Pb(e,41).appearance,"outline"==l.Pb(e,41).appearance,"legacy"==l.Pb(e,41).appearance,l.Pb(e,41)._control.errorState,l.Pb(e,41)._canLabelFloat,l.Pb(e,41)._shouldLabelFloat(),l.Pb(e,41)._hasFloatingLabel(),l.Pb(e,41)._hideControlPlaceholder(),l.Pb(e,41)._control.disabled,l.Pb(e,41)._control.autofilled,l.Pb(e,41)._control.focused,"accent"==l.Pb(e,41).color,"warn"==l.Pb(e,41).color,l.Pb(e,41)._shouldForward("untouched"),l.Pb(e,41)._shouldForward("touched"),l.Pb(e,41)._shouldForward("pristine"),l.Pb(e,41)._shouldForward("dirty"),l.Pb(e,41)._shouldForward("valid"),l.Pb(e,41)._shouldForward("invalid"),l.Pb(e,41)._shouldForward("pending"),!l.Pb(e,41)._animationsEnabled]),t(e,51,1,[l.Pb(e,57).ngClassUntouched,l.Pb(e,57).ngClassTouched,l.Pb(e,57).ngClassPristine,l.Pb(e,57).ngClassDirty,l.Pb(e,57).ngClassValid,l.Pb(e,57).ngClassInvalid,l.Pb(e,57).ngClassPending,l.Pb(e,58)._isServer,l.Pb(e,58).id,l.Pb(e,58).placeholder,l.Pb(e,58).disabled,l.Pb(e,58).required,l.Pb(e,58).readonly&&!l.Pb(e,58)._isNativeSelect||null,l.Pb(e,58)._ariaDescribedby||null,l.Pb(e,58).errorState,l.Pb(e,58).required.toString()])}))}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,106,{_controlNonStatic:0}),l.Ub(335544320,107,{_controlStatic:0}),l.Ub(603979776,108,{_labelChildNonStatic:0}),l.Ub(335544320,109,{_labelChildStatic:0}),l.Ub(603979776,110,{_placeholderChild:0}),l.Ub(603979776,111,{_errorChildren:1}),l.Ub(603979776,112,{_hintChildren:1}),l.Ub(603979776,113,{_prefixChildren:1}),l.Ub(603979776,114,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","circleRadius"],["matInput",""],["max","100"],["min","0.1"],["placeholder","Radius of point (in pixel)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,19)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(14,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(16,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(18,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(19,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[106,4],[107,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,16,0,"circleRadius"),t(e,19,0,"Radius of point (in pixel)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,18).ngClassUntouched,l.Pb(e,18).ngClassTouched,l.Pb(e,18).ngClassPristine,l.Pb(e,18).ngClassDirty,l.Pb(e,18).ngClassValid,l.Pb(e,18).ngClassInvalid,l.Pb(e,18).ngClassPending,l.Pb(e,19)._isServer,l.Pb(e,19).id,l.Pb(e,19).placeholder,l.Pb(e,19).disabled,l.Pb(e,19).required,l.Pb(e,19).readonly&&!l.Pb(e,19)._isNativeSelect||null,l.Pb(e,19)._ariaDescribedby||null,l.Pb(e,19).errorState,l.Pb(e,19).required.toString()])}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,20,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,115,{_controlNonStatic:0}),l.Ub(335544320,116,{_controlStatic:0}),l.Ub(603979776,117,{_labelChildNonStatic:0}),l.Ub(335544320,118,{_labelChildStatic:0}),l.Ub(603979776,119,{_placeholderChild:0}),l.Ub(603979776,120,{_errorChildren:1}),l.Ub(603979776,121,{_hintChildren:1}),l.Ub(603979776,122,{_prefixChildren:1}),l.Ub(603979776,123,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,8,"input",[["aria-label","Number"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lineWidth"],["matInput",""],["max","100"],["min","0.1"],["placeholder","Width of line (in pixel)"],["step","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"change"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"input"===e&&(i=!1!==l.Pb(t,14).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"blur"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,19)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Cb(14,16384,null,0,y.u,[l.M,l.p],null,null),l.Tb(1024,null,y.o,(function(t,e){return[t,e]}),[y.d,y.u]),l.Cb(16,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(18,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(19,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[115,4],[116,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,16,0,"lineWidth"),t(e,19,0,"Width of line (in pixel)","number")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,18).ngClassUntouched,l.Pb(e,18).ngClassTouched,l.Pb(e,18).ngClassPristine,l.Pb(e,18).ngClassDirty,l.Pb(e,18).ngClassValid,l.Pb(e,18).ngClassInvalid,l.Pb(e,18).ngClassPending,l.Pb(e,19)._isServer,l.Pb(e,19).id,l.Pb(e,19).placeholder,l.Pb(e,19).disabled,l.Pb(e,19).required,l.Pb(e,19).readonly&&!l.Pb(e,19)._isNativeSelect||null,l.Pb(e,19)._ariaDescribedby||null,l.Pb(e,19).errorState,l.Pb(e,19).required.toString()])}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100%;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,124,{_controlNonStatic:0}),l.Ub(335544320,125,{_controlStatic:0}),l.Ub(603979776,126,{_labelChildNonStatic:0}),l.Ub(335544320,127,{_labelChildStatic:0}),l.Ub(603979776,128,{_placeholderChild:0}),l.Ub(603979776,129,{_errorChildren:1}),l.Ub(603979776,130,{_hintChildren:1}),l.Ub(603979776,131,{_prefixChildren:1}),l.Ub(603979776,132,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","style"],["matInput",""],["placeholder","Style"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(14,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(16,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(17,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[124,4],[125,4]],p.d,null,[A.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,"style"),t(e,17,0,"Style")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()])}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","width: 100%;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(1,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,133,{_controlNonStatic:0}),l.Ub(335544320,134,{_controlStatic:0}),l.Ub(603979776,135,{_labelChildNonStatic:0}),l.Ub(335544320,136,{_labelChildStatic:0}),l.Ub(603979776,137,{_placeholderChild:0}),l.Ub(603979776,138,{_errorChildren:1}),l.Ub(603979776,139,{_hintChildren:1}),l.Ub(603979776,140,{_prefixChildren:1}),l.Ub(603979776,141,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","properties"],["matInput",""],["placeholder","Properties"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(14,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(16,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(17,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[133,4],[134,4]],p.d,null,[A.b])],(function(t,e){t(e,1,0,"outline"),t(e,14,0,"properties"),t(e,17,0,"Properties")}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,16).ngClassUntouched,l.Pb(e,16).ngClassTouched,l.Pb(e,16).ngClassPristine,l.Pb(e,16).ngClassDirty,l.Pb(e,16).ngClassValid,l.Pb(e,16).ngClassInvalid,l.Pb(e,16).ngClassPending,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()])}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,38,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(2,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,142,{_controlNonStatic:0}),l.Ub(335544320,143,{_controlStatic:0}),l.Ub(603979776,144,{_labelChildNonStatic:0}),l.Ub(335544320,145,{_labelChildStatic:0}),l.Ub(603979776,146,{_placeholderChild:0}),l.Ub(603979776,147,{_errorChildren:1}),l.Ub(603979776,148,{_hintChildren:1}),l.Ub(603979776,149,{_prefixChildren:1}),l.Ub(603979776,150,{_suffixChildren:1}),(t()(),l.Db(12,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mapping"],["matInput",""],["placeholder","Mapping"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(13,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(15,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(17,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[142,4],[143,4]],p.d,null,[A.b]),(t()(),l.Db(20,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(21,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,151,{_controlNonStatic:0}),l.Ub(335544320,152,{_controlStatic:0}),l.Ub(603979776,153,{_labelChildNonStatic:0}),l.Ub(335544320,154,{_labelChildStatic:0}),l.Ub(603979776,155,{_placeholderChild:0}),l.Ub(603979776,156,{_errorChildren:1}),l.Ub(603979776,157,{_hintChildren:1}),l.Ub(603979776,158,{_prefixChildren:1}),l.Ub(603979776,159,{_suffixChildren:1}),(t()(),l.Db(31,0,null,1,7,"textarea",[["aria-label","String"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tippecanoe"],["matInput",""],["placeholder","Tippecanoe"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,32)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,32).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,32)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,32)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,37)._onInput()&&i),i}),null,null)),l.Cb(32,16384,null,0,y.d,[l.M,l.p,[2,y.a]],null,null),l.Tb(1024,null,y.o,(function(t){return[t]}),[y.d]),l.Cb(34,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[6,y.o],[2,y.z]],{name:[0,"name"]},null),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(36,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(37,999424,null,0,A.b,[l.p,b.a,[6,y.p],[2,y.s],[2,y.k],d.d,[8,null],v.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[151,4],[152,4]],p.d,null,[A.b])],(function(t,e){t(e,2,0,"outline"),t(e,15,0,"mapping"),t(e,18,0,"Mapping"),t(e,21,0,"outline"),t(e,34,0,"tippecanoe"),t(e,37,0,"Tippecanoe")}),(function(t,e){t(e,1,1,["standard"==l.Pb(e,2).appearance,"fill"==l.Pb(e,2).appearance,"outline"==l.Pb(e,2).appearance,"legacy"==l.Pb(e,2).appearance,l.Pb(e,2)._control.errorState,l.Pb(e,2)._canLabelFloat,l.Pb(e,2)._shouldLabelFloat(),l.Pb(e,2)._hasFloatingLabel(),l.Pb(e,2)._hideControlPlaceholder(),l.Pb(e,2)._control.disabled,l.Pb(e,2)._control.autofilled,l.Pb(e,2)._control.focused,"accent"==l.Pb(e,2).color,"warn"==l.Pb(e,2).color,l.Pb(e,2)._shouldForward("untouched"),l.Pb(e,2)._shouldForward("touched"),l.Pb(e,2)._shouldForward("pristine"),l.Pb(e,2)._shouldForward("dirty"),l.Pb(e,2)._shouldForward("valid"),l.Pb(e,2)._shouldForward("invalid"),l.Pb(e,2)._shouldForward("pending"),!l.Pb(e,2)._animationsEnabled]),t(e,12,1,[l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()]),t(e,20,1,["standard"==l.Pb(e,21).appearance,"fill"==l.Pb(e,21).appearance,"outline"==l.Pb(e,21).appearance,"legacy"==l.Pb(e,21).appearance,l.Pb(e,21)._control.errorState,l.Pb(e,21)._canLabelFloat,l.Pb(e,21)._shouldLabelFloat(),l.Pb(e,21)._hasFloatingLabel(),l.Pb(e,21)._hideControlPlaceholder(),l.Pb(e,21)._control.disabled,l.Pb(e,21)._control.autofilled,l.Pb(e,21)._control.focused,"accent"==l.Pb(e,21).color,"warn"==l.Pb(e,21).color,l.Pb(e,21)._shouldForward("untouched"),l.Pb(e,21)._shouldForward("touched"),l.Pb(e,21)._shouldForward("pristine"),l.Pb(e,21)._shouldForward("dirty"),l.Pb(e,21)._shouldForward("valid"),l.Pb(e,21)._shouldForward("invalid"),l.Pb(e,21)._shouldForward("pending"),!l.Pb(e,21)._animationsEnabled]),t(e,31,1,[l.Pb(e,36).ngClassUntouched,l.Pb(e,36).ngClassTouched,l.Pb(e,36).ngClassPristine,l.Pb(e,36).ngClassDirty,l.Pb(e,36).ngClassValid,l.Pb(e,36).ngClassInvalid,l.Pb(e,36).ngClassPending,l.Pb(e,37)._isServer,l.Pb(e,37).id,l.Pb(e,37).placeholder,l.Pb(e,37).disabled,l.Pb(e,37).required,l.Pb(e,37).readonly&&!l.Pb(e,37)._isNativeSelect||null,l.Pb(e,37)._ariaDescribedby||null,l.Pb(e,37).errorState,l.Pb(e,37).required.toString()])}))}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Is clickable"]))],(function(t,e){t(e,2,0,e.component.clickable)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Is hoverable"]))],(function(t,e){t(e,2,0,e.component.hoverable)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,2)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(2,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["PIV"]))],(function(t,e){t(e,2,0,e.component.piv)}),(function(t,e){t(e,0,0,l.Pb(e,2).id,l.Pb(e,2).disabled?null:-1,null,null,l.Pb(e,2).checked,l.Pb(e,2).disabled,"before"==l.Pb(e,2).labelPosition,"NoopAnimations"===l.Pb(e,2)._animationMode)}))}function W(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,10,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l.Pb(t,3)._inputElement.nativeElement.focus()&&i),i}),S.b,S.a)),l.Tb(5120,null,y.o,(function(t){return[t]}),[k.b]),l.Cb(3,1228800,null,0,k.b,[l.p,a.h,l.j,[8,null],l.G,k.a,[2,s.a],[2,f.b]],{checked:[0,"checked"]},null),(t()(),l.Wb(-1,0,["Show"])),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(6,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,V)),l.Cb(8,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,q)),l.Cb(10,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.show),t(e,6,0,"GL"===n.getLayerType()),t(e,8,0,"GL"===n.getLayerType()),t(e,10,0,"GL"===n.getLayerType())}),(function(t,e){t(e,1,0,l.Pb(e,3).id,l.Pb(e,3).disabled?null:-1,null,null,l.Pb(e,3).checked,l.Pb(e,3).disabled,"before"==l.Pb(e,3).labelPosition,"NoopAnimations"===l.Pb(e,3)._animationMode)}))}function $(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,58,"form",[["class","form-layer"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,r=t.component;return"submit"===e&&(i=!1!==l.Pb(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==l.Pb(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==r.submitLayer()&&i),i}),null,null)),l.Cb(1,16384,null,0,y.A,[],null,null),l.Cb(2,540672,null,0,y.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),l.Tb(2048,null,y.c,null,[y.k]),l.Cb(4,16384,null,0,y.r,[[4,y.c]],null,null),(t()(),l.Db(5,0,null,null,28,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,h.b,h.a)),l.Cb(7,7520256,null,9,p.c,[l.p,l.j,[2,d.j],[2,f.b],[2,p.a],b.a,l.G,[2,s.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(17,0,null,3,2,"mat-label",[],null,null,null,null,null)),l.Cb(18,16384,[[3,4],[4,4]],0,p.f,[],null,null),(t()(),l.Wb(-1,null,["Type"])),(t()(),l.Db(20,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","layerType"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,25)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,25)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,25)._onBlur()&&i),"ngModelChange"===e&&(i=!1!==(r.layerType=n)&&i),i}),C.b,C.a)),l.Tb(6144,null,d.l,null,[w.c]),l.Cb(22,671744,null,0,y.i,[[3,y.c],[8,null],[8,null],[8,null],[2,y.z]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Tb(2048,null,y.p,null,[y.i]),l.Cb(24,16384,null,0,y.q,[[4,y.p]],null,null),l.Cb(25,2080768,null,3,w.c,[P.e,l.j,l.G,d.d,l.p,[2,f.b],[2,y.s],[2,y.k],[2,p.c],[6,y.p],[8,null],w.a,a.j],null,null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],p.d,null,[w.c]),(t()(),l.sb(16777216,null,1,1,null,I)),l.Cb(31,278528,null,0,x.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(16777216,null,null,1,null,L)),l.Cb(33,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,j)),l.Cb(35,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,F)),l.Cb(37,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(39,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(41,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(43,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(45,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(47,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,G)),l.Cb(49,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,W)),l.Cb(51,16384,null,0,x.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(52,0,null,null,6,"div",[["class","inline-block"]],null,null,null,null,null)),(t()(),l.Db(53,0,null,null,2,"button",[["class","btn btn-success validate-button"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,r.b,r.a)),l.Cb(54,180224,null,0,o.b,[l.p,a.h,[2,s.a]],{disabled:[0,"disabled"]},null),(t()(),l.Wb(-1,0,["Save"])),(t()(),l.Db(56,0,null,null,2,"button",[["class","btn btn-info helper-button"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.openHelper()&&l),l}),r.b,r.a)),l.Cb(57,180224,null,0,o.b,[l.p,a.h,[2,s.a]],null,null),(t()(),l.Wb(-1,0,["Help !"]))],(function(t,e){var n=e.component;t(e,2,0,n.layerForm),t(e,7,0,"outline"),t(e,22,0,"layerType",n.layerType),t(e,25,0),t(e,31,0,n.layerTypes),t(e,33,0,"GL"===n.getLayerType()),t(e,35,0,n.getLayerType()),t(e,37,0,"GL"===n.getLayerType()),t(e,39,0,"GL"===n.getLayerType()&&"POLYGON"===n.getGeometryType()),t(e,41,0,"GL"===n.getLayerType()&&"POINT"===n.getGeometryType()),t(e,43,0,"GL"===n.getLayerType()&&"LINE"===n.getGeometryType()),t(e,45,0,"GL"===n.getLayerType()),t(e,47,0,n.getLayerType()),t(e,49,0,"GL"===n.getLayerType()),t(e,51,0,n.getLayerType()),t(e,54,0,!n.layerForm.valid)}),(function(t,e){t(e,0,0,l.Pb(e,4).ngClassUntouched,l.Pb(e,4).ngClassTouched,l.Pb(e,4).ngClassPristine,l.Pb(e,4).ngClassDirty,l.Pb(e,4).ngClassValid,l.Pb(e,4).ngClassInvalid,l.Pb(e,4).ngClassPending),t(e,6,1,["standard"==l.Pb(e,7).appearance,"fill"==l.Pb(e,7).appearance,"outline"==l.Pb(e,7).appearance,"legacy"==l.Pb(e,7).appearance,l.Pb(e,7)._control.errorState,l.Pb(e,7)._canLabelFloat,l.Pb(e,7)._shouldLabelFloat(),l.Pb(e,7)._hasFloatingLabel(),l.Pb(e,7)._hideControlPlaceholder(),l.Pb(e,7)._control.disabled,l.Pb(e,7)._control.autofilled,l.Pb(e,7)._control.focused,"accent"==l.Pb(e,7).color,"warn"==l.Pb(e,7).color,l.Pb(e,7)._shouldForward("untouched"),l.Pb(e,7)._shouldForward("touched"),l.Pb(e,7)._shouldForward("pristine"),l.Pb(e,7)._shouldForward("dirty"),l.Pb(e,7)._shouldForward("valid"),l.Pb(e,7)._shouldForward("invalid"),l.Pb(e,7)._shouldForward("pending"),!l.Pb(e,7)._animationsEnabled]),t(e,20,1,[l.Pb(e,24).ngClassUntouched,l.Pb(e,24).ngClassTouched,l.Pb(e,24).ngClassPristine,l.Pb(e,24).ngClassDirty,l.Pb(e,24).ngClassValid,l.Pb(e,24).ngClassInvalid,l.Pb(e,24).ngClassPending,l.Pb(e,25).id,l.Pb(e,25).tabIndex,l.Pb(e,25)._getAriaLabel(),l.Pb(e,25)._getAriaLabelledby(),l.Pb(e,25).required.toString(),l.Pb(e,25).disabled.toString(),l.Pb(e,25).errorState,l.Pb(e,25).panelOpen?l.Pb(e,25)._optionIds:null,l.Pb(e,25).multiple,l.Pb(e,25)._ariaDescribedby||null,l.Pb(e,25)._getAriaActiveDescendant(),l.Pb(e,25).disabled,l.Pb(e,25).errorState,l.Pb(e,25).required,l.Pb(e,25).empty]),t(e,53,0,l.Pb(e,54).disabled||null,"NoopAnimations"===l.Pb(e,54)._animationMode),t(e,56,0,l.Pb(e,57).disabled||null,"NoopAnimations"===l.Pb(e,57)._animationMode)}))}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("quSY");class i extends l.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Yvos:function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},"Z/v2":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return o})),n("8Y7J");var l=n("KCVW"),i=n("XNiG");class r{constructor(t,e=", "){this._files=t,this.delimiter=e,this._fileNames=(this._files||[]).map(t=>t.name).join(e)}get files(){return this._files||[]}get fileNames(){return this._fileNames}}let o=(()=>{class t{constructor(e,n,l,r){this.ngControl=e,this.fm=n,this._elementRef=l,this._renderer=r,this.stateChanges=new i.a,this.focused=!1,this.controlType="file-input",this.autofilled=!1,this._required=!1,this.accept=null,this.id="ngx-mat-file-input-"+t.nextId++,this.describedBy="",this._onChange=t=>{},this._onTouched=()=>{},null!=this.ngControl&&(this.ngControl.valueAccessor=this),n.monitor(l.nativeElement,!0).subscribe(t=>{this.focused=!!t,this.stateChanges.next()})}setDescribedByIds(t){this.describedBy=t.join(" ")}get value(){return this.empty?null:new r(this._elementRef.nativeElement.value||[])}set value(t){t&&(this.writeValue(t),this.stateChanges.next())}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get empty(){return!this._elementRef.nativeElement.value||0===this._elementRef.nativeElement.value.length}get shouldLabelFloat(){return this.focused||!this.empty||void 0!==this.valuePlaceholder}get required(){return this._required}set required(t){this._required=Object(l.c)(t),this.stateChanges.next()}get isDisabled(){return this.disabled}get disabled(){return this._elementRef.nativeElement.disabled}set disabled(t){this.setDisabledState(Object(l.c)(t)),this.stateChanges.next()}get errorState(){return null!==this.ngControl.errors&&!!this.ngControl.touched}onContainerClick(t){"input"===t.target.tagName.toLowerCase()||this.disabled||(this._elementRef.nativeElement.querySelector("input").focus(),this.focused=!0,this.open())}get fileNames(){return this.value?this.value.fileNames:this.valuePlaceholder}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",t instanceof r?t.files:null)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}clear(t){t&&(t.preventDefault(),t.stopPropagation()),this.value=new r([]),this._elementRef.nativeElement.querySelector("input").value=null,this._onChange(this.value)}change(t){const e=t.target.files,n=[];if(e)for(let l=0;l<e.length;l++)n.push(e[l]);this.value=new r(n),this._onChange(this.value)}blur(){this.focused=!1,this._onTouched()}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}ngOnInit(){this.multiple=Object(l.c)(this.multiple)}open(){this.disabled||this._elementRef.nativeElement.querySelector("input").click()}ngOnDestroy(){this.stateChanges.complete(),this.fm.stopMonitoring(this._elementRef.nativeElement)}}return t.nextId=0,t})();class a{}var s;!function(t){t.maxContentSize=function(t){return e=>{const n=e&&e.value?e.value.files.map(t=>t.size).reduce((t,e)=>t+e,0):0;return t>=n?null:{maxContentSize:{actualSize:n,maxSize:t}}}}}(s||(s={}))},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Z5h4:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var l=n("8Y7J"),i=(n("r0V8"),n("SVse"),n("POq0")),r=(n("IP0z"),n("Xd0L")),o=(n("cUpR"),n("/HVE")),a=n("omvX"),s=(n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}}));function u(t){return l.Yb(2,[l.Ub(671088640,1,{_inputElement:0}),l.Ub(671088640,2,{ripple:0}),(t()(),l.Db(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),l.Db(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),l.Db(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"change"===e&&(l=!1!==i._onInteractionEvent(n)&&l),"click"===e&&(l=!1!==i._onInputClick(n)&&l),l}),null,null)),(t()(),l.Db(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(6,212992,[[2,4]],0,r.x,[l.p,l.G,o.a,[2,r.m],[2,a.a]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),l.Rb(7,{enterDuration:0}),(t()(),l.Db(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),l.Db(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onLabelTextChange()&&l),l}),null,null)),l.Cb(15,1196032,null,0,i.a,[i.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["\xa0"])),l.Ob(null,0)],(function(t,e){var n=e.component,i=t(e,7,0,150);t(e,6,0,!0,20,i,n._isRippleDisabled(),l.Pb(e,2))}),(function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!l.Pb(e,14).textContent||!l.Pb(e,14).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,l.Pb(e,6).unbounded)}))}},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZF9u:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("TN97"),i=n("egkh"),r=n("bHcU"),o=n("hoJM"),a=n("WVt+"),s=n("SSvb"),u=n("ppab");n("svHU");class c extends u.a{constructor(t){super(),this.mapService=t,this.featureLineTrajectory=void 0}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayLine(t,e){const n=[t.longitude,t.latitude],l=a.point(n),i=a.destination(n,e.distance,t.track);this.upsertLineFeature(l,i)}removeLine(){this.featureLineTrajectory&&this.source.removeFeature(this.featureLineTrajectory),this.featureLineTrajectory=void 0}getTargetPoint(){return this.targetPoint.geometry.coordinates}upsertLineFeature(t,e){const n=a.greatCircle(t,e),u=Object(s.a)(n.geometry.coordinates);if(this.featureLineTrajectory){const t=new i.a(u);this.featureLineTrajectory.setGeometry(t)}else this.featureLineTrajectory=new l.a({geometry:new i.a(u),id_:"trajectory-line"}),this.featureLineTrajectory.setStyle(new r.b({stroke:new o.a({color:"orange",width:2})})),this.source.addFeature(this.featureLineTrajectory)}}},ZXPP:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},i=[l.FILL],r=[l.STROKE],o=[l.BEGIN_PATH],a=[l.CLOSE_PATH];e.c=l},"ZZ/e":function(t,e,n){"use strict";var l=n("mrSG"),i=n("8Y7J"),r=n("s7LF"),o=n("SVse"),a=n("iInd"),s=n("AfW+"),u=(n("aiEM"),n("+4pY"),n("mUkt"),n("kBU6")),c=n("930v"),d=n("pori"),h=n("XNiG"),p=n("xgIS"),f=n("2Vo4"),b=n("pLZG"),m=n("eIep"),g=n("/uUt"),_=n("c1op");n.d(e,"a",(function(){return ce})),n.d(e,"b",(function(){return oe})),n.d(e,"c",(function(){return Fe})),n.d(e,"d",(function(){return U})),n.d(e,"e",(function(){return B})),n.d(e,"f",(function(){return z})),n.d(e,"g",(function(){return G})),n.d(e,"h",(function(){return H})),n.d(e,"i",(function(){return V})),n.d(e,"j",(function(){return q})),n.d(e,"k",(function(){return W})),n.d(e,"l",(function(){return $})),n.d(e,"m",(function(){return X})),n.d(e,"n",(function(){return K})),n.d(e,"o",(function(){return J})),n.d(e,"p",(function(){return Q})),n.d(e,"q",(function(){return Z})),n.d(e,"r",(function(){return tt})),n.d(e,"s",(function(){return et})),n.d(e,"t",(function(){return nt})),n.d(e,"u",(function(){return lt})),n.d(e,"v",(function(){return it})),n.d(e,"w",(function(){return rt})),n.d(e,"x",(function(){return ot})),n.d(e,"y",(function(){return at})),n.d(e,"z",(function(){return st})),n.d(e,"A",(function(){return ut})),n.d(e,"B",(function(){return ct})),n.d(e,"C",(function(){return dt})),n.d(e,"D",(function(){return ht})),n.d(e,"E",(function(){return pt})),n.d(e,"F",(function(){return ft})),n.d(e,"G",(function(){return bt})),n.d(e,"H",(function(){return mt})),n.d(e,"I",(function(){return gt})),n.d(e,"J",(function(){return _t})),n.d(e,"K",(function(){return yt})),n.d(e,"L",(function(){return At})),n.d(e,"M",(function(){return vt})),n.d(e,"N",(function(){return Ct})),n.d(e,"O",(function(){return wt})),n.d(e,"P",(function(){return Pt})),n.d(e,"Q",(function(){return xt})),n.d(e,"R",(function(){return St})),n.d(e,"S",(function(){return kt})),n.d(e,"T",(function(){return Mt})),n.d(e,"U",(function(){return Ot})),n.d(e,"V",(function(){return Dt})),n.d(e,"W",(function(){return Tt})),n.d(e,"X",(function(){return Et})),n.d(e,"Y",(function(){return It})),n.d(e,"Z",(function(){return Lt})),n.d(e,"ab",(function(){return jt})),n.d(e,"bb",(function(){return Rt})),n.d(e,"cb",(function(){return Ft})),n.d(e,"db",(function(){return Nt})),n.d(e,"eb",(function(){return Yt})),n.d(e,"fb",(function(){return Ut})),n.d(e,"gb",(function(){return Se})),n.d(e,"hb",(function(){return Bt})),n.d(e,"ib",(function(){return zt})),n.d(e,"jb",(function(){return Gt})),n.d(e,"kb",(function(){return Ht})),n.d(e,"lb",(function(){return Vt})),n.d(e,"mb",(function(){return qt})),n.d(e,"nb",(function(){return Wt})),n.d(e,"ob",(function(){return $t})),n.d(e,"pb",(function(){return Xt})),n.d(e,"qb",(function(){return Kt})),n.d(e,"rb",(function(){return Jt})),n.d(e,"sb",(function(){return Qt})),n.d(e,"tb",(function(){return Zt})),n.d(e,"ub",(function(){return Me})),n.d(e,"vb",(function(){return te})),n.d(e,"wb",(function(){return ee})),n.d(e,"xb",(function(){return ne})),n.d(e,"yb",(function(){return le})),n.d(e,"zb",(function(){return ie})),n.d(e,"Ab",(function(){return re})),n.d(e,"Bb",(function(){return je})),n.d(e,"Cb",(function(){return $e})),n.d(e,"Db",(function(){return He})),n.d(e,"Eb",(function(){return Ue})),n.d(e,"Fb",(function(){return Be})),n.d(e,"Gb",(function(){return I})),n.d(e,"Hb",(function(){return D})),n.d(e,"Ib",(function(){return ze})),n.d(e,"Jb",(function(){return M})),n.d(e,"Kb",(function(){return ae})),n.d(e,"Lb",(function(){return qe}));var y=function(t){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t)},A=function(){function t(t){this.el=t,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this.el.nativeElement.value=this.lastValue=null==t?"":t,v(this.el)},t.prototype.handleChangeEvent=function(t,e){t===this.el.nativeElement&&(e!==this.lastValue&&(this.lastValue=e,this.onChange(e)),v(this.el))},t.prototype._handleBlurEvent=function(t){t===this.el.nativeElement&&(this.onTouched(),v(this.el))},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.el.nativeElement.disabled=t},t.propDecorators={_handleBlurEvent:[{type:i.s,args:["ionBlur",["$event.target"]]}]},t}(),v=function(t){y((function(){var e=t.nativeElement,n=C(e);w(e,n);var l=e.closest("ion-item");l&&w(l,n)}))},C=function(t){for(var e=t.classList,n=[],l=0;l<e.length;l++){var i=e.item(l);null!==i&&P(i,"ng-")&&n.push("ion-"+i.substr(3))}return n},w=function(t,e){var n=t.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach((function(t){return n.remove(t)})),e.forEach((function(t){return n.add(t)}))},P=function(t,e){return t.substr(0,e.length)===e},x=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype.writeValue=function(t){this.el.nativeElement.checked=this.lastValue=null!=t&&t,v(this.el)},e.prototype._handleIonChange=function(t){this.handleChangeEvent(t,t.checked)},e.decorators=[{type:i.o,args:[{selector:"ion-checkbox,ion-toggle",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),S=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleIonChange=function(t){this.handleChangeEvent(t,t.value)},e.prototype.registerOnChange=function(e){t.prototype.registerOnChange.call(this,(function(t){e(""===t?null:parseFloat(t))}))},e.decorators=[{type:i.o,args:[{selector:"ion-input[type=number]",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),k=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleIonSelect=function(t){this.handleChangeEvent(t,t.checked)},e.decorators=[{type:i.o,args:[{selector:"ion-radio",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleIonSelect:[{type:i.s,args:["ionSelect",["$event.target"]]}]},e}(A),M=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleChangeEvent=function(t){this.handleChangeEvent(t,t.value)},e.decorators=[{type:i.o,args:[{selector:"ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleChangeEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),O=function(t){function e(e){return t.call(this,e)||this}return Object(l.c)(e,t),e.prototype._handleInputEvent=function(t){this.handleChangeEvent(t,t.value)},e.decorators=[{type:i.o,args:[{selector:"ion-input:not([type=number]),ion-textarea,ion-searchbar",providers:[{provide:r.o,useExisting:e,multi:!0}]}]}],e.ctorParameters=function(){return[{type:i.p}]},e.propDecorators={_handleInputEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},e}(A),D=function(){function t(t,e){var n=this;this.doc=t,this.backButton=new h.a,this.pause=new h.a,this.resume=new h.a,this.resize=new h.a,e.run((function(){var l;n.win=t.defaultView,n.backButton.subscribeWithPriority=function(t,n){return this.subscribe((function(l){return l.register(t,(function(){return e.run(n)}))}))},E(n.pause,t,"pause"),E(n.resume,t,"resume"),E(n.backButton,t,"ionBackButton"),E(n.resize,n.win,"resize"),n._readyPromise=new Promise((function(t){l=t})),n.win&&n.win.cordova?t.addEventListener("deviceready",(function(){l("cordova")}),{once:!0}):l("dom")}))}return t.prototype.is=function(t){return Object(s.f)(this.win,t)},t.prototype.platforms=function(){return Object(s.e)(this.win)},t.prototype.ready=function(){return this._readyPromise},Object.defineProperty(t.prototype,"isRTL",{get:function(){return"rtl"===this.doc.dir},enumerable:!0,configurable:!0}),t.prototype.getQueryParam=function(t){return T(this.win.location.href,t)},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype.isPortrait=function(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches},t.prototype.testUserAgent=function(t){var e=this.win.navigator;return!!(e&&e.userAgent&&e.userAgent.indexOf(t)>=0)},t.prototype.url=function(){return this.win.location.href},t.prototype.width=function(){return this.win.innerWidth},t.prototype.height=function(){return this.win.innerHeight},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.u,args:[o.d]}]},{type:i.G}]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t(Object(i.gb)(o.d),Object(i.gb)(i.G))},token:t,providedIn:"root"}),t}(),T=function(t,e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},E=function(t,e,n){e&&e.addEventListener(n,(function(e){t.next(null!=e?e.detail:void 0)}))},I=function(){function t(t,e,n,l){var i=this;this.location=e,this.serializer=n,this.router=l,this.direction=j,this.animated=R,this.guessDirection="forward",this.lastNavId=-1,l&&l.events.subscribe((function(t){if(t instanceof a.d){var e=t.restoredState?t.restoredState.navigationId:t.id;i.guessDirection=e<i.lastNavId?"back":"forward",i.guessAnimation=t.restoredState?void 0:i.guessDirection,i.lastNavId="forward"===i.guessDirection?t.id:e}})),t.backButton.subscribeWithPriority(0,(function(){return i.pop()}))}return t.prototype.navigateForward=function(t,e){return void 0===e&&(e={}),this.setDirection("forward",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.navigateBack=function(t,e){return void 0===e&&(e={}),this.setDirection("back",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.navigateRoot=function(t,e){return void 0===e&&(e={}),this.setDirection("root",e.animated,e.animationDirection),this.navigate(t,e)},t.prototype.back=function(t){return void 0===t&&(t={animated:!0,animationDirection:"back"}),this.setDirection("back",t.animated,t.animationDirection),this.location.back()},t.prototype.pop=function(){return Object(l.b)(this,void 0,void 0,(function(){var t;return Object(l.d)(this,(function(e){switch(e.label){case 0:t=this.topOutlet,e.label=1;case 1:return t?[4,t.pop()]:[3,3];case 2:return e.sent()?[3,3]:(t=t.parentOutlet,[3,1]);case 3:return[2]}}))}))},t.prototype.setDirection=function(t,e,n){this.direction=t,this.animated=L(t,e,n)},t.prototype.setTopOutlet=function(t){this.topOutlet=t},t.prototype.consumeTransition=function(){var t,e="root";return"auto"===this.direction?(e=this.guessDirection,t=this.guessAnimation):(t=this.animated,e=this.direction),this.direction=j,this.animated=R,{direction:e,animation:t}},t.prototype.navigate=function(t,e){if(Array.isArray(t))return this.router.navigate(t,e);var n=this.serializer.parse(t.toString());return void 0!==e.queryParams&&(n.queryParams=Object(l.a)({},e.queryParams)),void 0!==e.fragment&&(n.fragment=e.fragment),this.router.navigateByUrl(n,e)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:D},{type:o.j},{type:a.s},{type:a.m,decorators:[{type:i.H}]}]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t(Object(i.gb)(D),Object(i.gb)(o.j),Object(i.gb)(a.s),Object(i.gb)(a.m,8))},token:t,providedIn:"root"}),t}(),L=function(t,e,n){if(!1!==e)return void 0!==n?n:"forward"===t||"back"===t?t:"root"===t&&!0===e?"forward":void 0},j="auto",R=void 0,F=function(t,e){var n=t.prototype;e.forEach((function(t){Object.defineProperty(n,t,{get:function(){return this.el[t]},set:function(e){var n=this;this.z.runOutsideAngular((function(){return n.el[t]=e}))}})}))},N=function(t,e){var n=t.prototype;e.forEach((function(t){n[t]=function(){var e=this,n=arguments;return this.z.runOutsideAngular((function(){return e.el[t].apply(e.el,n)}))}}))},Y=function(t,e,n){n.forEach((function(n){return t[n]=Object(p.a)(e,n)}))},U=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-app",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),B=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-avatar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),z=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-back-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","defaultHref","disabled","icon","mode","text","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(z,["color","defaultHref","disabled","icon","mode","text","type"]);var G=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionBackdropTap"])}return t.decorators=[{type:i.l,args:[{selector:"ion-backdrop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["stopPropagation","tappable","visible"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(G,["stopPropagation","tappable","visible"]);var H=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-badge",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(H,["color","mode"]);var V=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(V,["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]);var q=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-buttons",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(q,["collapse"]);var W=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(W,["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]);var $=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F($,["mode"]);var X=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(X,["color","mode","translucent"]);var K=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-subtitle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(K,["color","mode"]);var J=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-card-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(J,["color","mode"]);var Q=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-checkbox",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","indeterminate","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Q,["checked","color","disabled","indeterminate","mode","name","value"]);var Z=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-chip",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","outline"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Z,["color","mode","outline"]);var tt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-col",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(tt,["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]);var et=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}return t.decorators=[{type:i.l,args:[{selector:"ion-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(et,["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]),F(et,["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]);var nt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-datetime",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(nt,["open"]),F(nt,["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]);var lt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-fab",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","edge","horizontal","vertical"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(lt,["close"]),F(lt,["activated","edge","horizontal","vertical"]);var it=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-fab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(it,["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]);var rt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-fab-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","side"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(rt,["activated","side"]);var ot=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-footer",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ot,["mode","translucent"]);var at=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-grid",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["fixed"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(at,["fixed"]);var st=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse","mode","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(st,["collapse","mode","translucent"]);var ut=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-icon",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ut,["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]);var ct=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}return t.decorators=[{type:i.l,args:[{selector:"ion-img",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["alt","src"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ct,["alt","src"]);var dt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInfinite"])}return t.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","position","threshold"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(dt,["complete"]),F(dt,["disabled","position","threshold"]);var ht=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["loadingSpinner","loadingText"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ht,["loadingSpinner","loadingText"]);var pt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-input",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(pt,["setFocus","getInputElement"]),F(pt,["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]);var ft=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ft,["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]);var bt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-divider",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","sticky"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(bt,["color","mode","sticky"]);var mt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),gt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-item-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(gt,["color","disabled","download","expandable","href","mode","rel","target","type"]);var _t=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSwipe"])}return t.decorators=[{type:i.l,args:[{selector:"ion-item-options",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["side"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(_t,["side"]);var yt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionDrag"])}return t.decorators=[{type:i.l,args:[{selector:"ion-item-sliding",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(yt,["getOpenAmount","getSlidingRatio","open","close","closeOpened"]),F(yt,["disabled"]);var At=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-label",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","position"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(At,["color","mode","position"]);var vt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["inset","lines","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(vt,["closeSlidingItems"]),F(vt,["inset","lines","mode"]);var Ct=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-list-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ct,["color","mode"]);var wt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}return t.decorators=[{type:i.l,args:[{selector:"ion-menu",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(wt,["isOpen","isActive","open","close","toggle","setOpen"]),F(wt,["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]);var Pt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-menu-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","color","disabled","menu","type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Pt,["autoHide","color","disabled","menu","type"]);var xt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-menu-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","menu"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(xt,["autoHide","menu"]);var St=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionNavWillChange","ionNavDidChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-nav",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","animation","root","rootParams","swipeGesture"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(St,["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"]),F(St,["animated","animation","root","rootParams","swipeGesture"]);var kt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-link",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps","routerDirection"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(kt,["component","componentProps","routerDirection"]);var Mt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-pop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Ot=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-push",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ot,["component","componentProps"]);var Dt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-nav-set-root",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Dt,["component","componentProps"]);var Tt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-note",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Tt,["color","mode"]);var Et=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-progress-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buffer","color","mode","reversed","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Et,["buffer","color","mode","reversed","type","value"]);var It=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSelect","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-radio",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(It,["checked","color","disabled","mode","name","value"]);var Lt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-radio-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["allowEmptySelection","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Lt,["allowEmptySelection","name","value"]);var jt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-range",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(jt,["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]);var Rt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionRefresh","ionPull","ionStart"])}return t.decorators=[{type:i.l,args:[{selector:"ion-refresher",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Rt,["complete","cancel","getProgress"]),F(Rt,["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]);var Ft=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-refresher-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ft,["pullingIcon","pullingText","refreshingSpinner","refreshingText"]);var Nt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-reorder",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Yt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionItemReorder"])}return t.decorators=[{type:i.l,args:[{selector:"ion-reorder-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Yt,["complete"]),F(Yt,["disabled"]);var Ut=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-ripple-effect",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["type"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Ut,["addRipple"]),F(Ut,["type"]);var Bt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-row",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),zt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-searchbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(zt,["setFocus","getInputElement"]),F(zt,["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]);var Gt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange"])}return t.decorators=[{type:i.l,args:[{selector:"ion-segment",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","mode","scrollable","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Gt,["color","disabled","mode","scrollable","value"]);var Ht=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSelect"])}return t.decorators=[{type:i.l,args:[{selector:"ion-segment-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","disabled","layout","mode","type","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Ht,["checked","disabled","layout","mode","type","value"]);var Vt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-select",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Vt,["open"]),F(Vt,["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]);var qt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-select-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","selected","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(qt,["disabled","selected","value"]);var Wt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-skeleton-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","width"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Wt,["animated","width"]);var $t=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-slide",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),Xt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}return t.decorators=[{type:i.l,args:[{selector:"ion-slides",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","options","pager","scrollbar"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(Xt,["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]),F(Xt,["mode","options","pager","scrollbar"]);var Kt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-spinner",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","duration","name","paused"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Kt,["color","duration","name","paused"]);var Jt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionSplitPaneVisible"])}return t.decorators=[{type:i.l,args:[{selector:"ion-split-pane",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","when"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Jt,["contentId","disabled","when"]);var Qt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-tab-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","selectedTab","translucent"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Qt,["color","mode","selectedTab","translucent"]);var Zt=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-tab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(Zt,["disabled","download","href","layout","mode","rel","selected","tab","target"]);var te=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(te,["color","mode"]);var ee=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}return t.decorators=[{type:i.l,args:[{selector:"ion-textarea",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();N(ee,["setFocus","getInputElement"]),F(ee,["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]);var ne=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-thumbnail",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}(),le=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","size"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(le,["color","size"]);var ie=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement,Y(this,this.el,["ionChange","ionFocus","ionBlur"])}return t.decorators=[{type:i.l,args:[{selector:"ion-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(ie,["checked","color","disabled","mode","name","value"]);var re=function(){function t(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement}return t.decorators=[{type:i.l,args:[{selector:"ion-toolbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],t.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.G}]},t}();F(re,["color","mode"]);var oe=function(){function t(){}return t.prototype.get=function(t,e){var n=se();return n?n.get(t,e):null},t.prototype.getBoolean=function(t,e){var n=se();return!!n&&n.getBoolean(t,e)},t.prototype.getNumber=function(t,e){var n=se();return n?n.getNumber(t,e):0},t.prototype.set=function(t,e){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");var n=se();n&&n.set(t,e)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ae=new i.w("USERCONFIG"),se=function(){if("undefined"!=typeof window){var t=window.Ionic;if(t&&t.config)return t.config}return null},ue=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}(),ce=function(){function t(t,e){this.zone=t,this.appRef=e}return t.prototype.create=function(t,e,n){return new de(t,e,n,this.appRef,this.zone)},t.decorators=[{type:i.v}],t.ctorParameters=function(){return[{type:i.G},{type:i.g}]},t}(),de=function(){function t(t,e,n,l,i){this.resolver=t,this.injector=e,this.location=n,this.appRef=l,this.zone=i,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}return t.prototype.attachViewToDom=function(t,e,n,l){var i=this;return this.zone.run((function(){return new Promise((function(r){r(he(i.zone,i.resolver,i.injector,i.location,i.appRef,i.elRefMap,i.elEventsMap,t,e,n,l))}))}))},t.prototype.removeViewFromDom=function(t,e){var n=this;return this.zone.run((function(){return new Promise((function(t){var l=n.elRefMap.get(e);if(l){l.destroy(),n.elRefMap.delete(e);var i=n.elEventsMap.get(e);i&&(i(),n.elEventsMap.delete(e))}t()}))}))},t}(),he=function(t,e,n,l,r,o,a,s,u,c,d){var h=e.resolveComponentFactory(u),p=i.x.create({providers:me(c),parent:n}),f=l?l.createComponent(h,l.length,p):h.create(p),b=f.instance,m=f.location.nativeElement;if(c&&Object.assign(b,c),d)for(var g=0,_=d;g<_.length;g++)m.classList.add(_[g]);var y=fe(t,b,m);return s.appendChild(m),l||r.attachView(f.hostView),f.changeDetectorRef.reattach(),o.set(m,f),a.set(m,y),m},pe=[u.a,u.b,u.c,u.d,u.e],fe=function(t,e,n){return t.run((function(){var t=pe.filter((function(t){return"function"==typeof e[t]})).map((function(t){var l=function(n){return e[t](n.detail)};return n.addEventListener(t,l),function(){return n.removeEventListener(t,l)}}));return function(){return t.forEach((function(t){return t()}))}}))},be=new i.w("NavParamsToken"),me=function(t){return[{provide:be,useValue:t},{provide:ue,useFactory:ge,deps:[be]}]},ge=function(t){return new ue(t)},_e=function(t,e){return(t=t.filter((function(t){return t.stackId!==e.stackId}))).push(e),t},ye=function(t,e){var n=t.createUrlTree(["."],{relativeTo:e});return t.serializeUrl(n)},Ae=function(t,e){if(t)for(var n=ve(e),l=0;l<n.length;l++){if(l>=t.length)return n[l];if(n[l]!==t[l])return}},ve=function(t){return t.split("/").map((function(t){return t.trim()})).filter((function(t){return""!==t}))},Ce=function(t){t&&(t.ref.destroy(),t.unlistenEvents())},we=function(){function t(t,e,n,l,i,r){this.containerEl=e,this.router=n,this.navCtrl=l,this.zone=i,this.location=r,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==t?ve(t):void 0}return t.prototype.createView=function(t,e){var n=ye(this.router,e),l=t&&t.location&&t.location.nativeElement,i=fe(this.zone,t.instance,l);return{id:this.nextId++,stackId:Ae(this.tabsPrefix,n),unlistenEvents:i,element:l,ref:t,url:n}},t.prototype.getExistingView=function(t){var e=ye(this.router,t),n=this.views.find((function(t){return t.url===e}));return n&&n.ref.changeDetectorRef.reattach(),n},t.prototype.setActive=function(t){var e=this,n=this.navCtrl.consumeTransition(),l=n.direction,i=n.animation,r=this.activeView,o=function(t,e){return!e||t.stackId!==e.stackId}(t,r);o&&(l="back",i=void 0);var a,s=this.views.slice(),u=this.router;u.getCurrentNavigation?a=u.getCurrentNavigation():u.navigations&&u.navigations.value&&(a=u.navigations.value),a&&a.extras&&a.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);var c=this.views.includes(t),d=this.insertView(t,l);return c||t.ref.changeDetectorRef.detectChanges(),this.zone.runOutsideAngular((function(){return e.wait((function(){return r&&r.ref.changeDetectorRef.detach(),t.ref.changeDetectorRef.reattach(),e.transition(t,r,i,e.canGoBack(1),!1).then((function(){return Pe(t,d,s,e.location)})).then((function(){return{enteringView:t,direction:l,animation:i,tabSwitch:o}}))}))}))},t.prototype.canGoBack=function(t,e){return void 0===e&&(e=this.getActiveStackId()),this.getStack(e).length>t},t.prototype.pop=function(t,e){var n=this;return void 0===e&&(e=this.getActiveStackId()),this.zone.run((function(){var l=n.getStack(e);if(l.length<=t)return Promise.resolve(!1);var i=l[l.length-t-1],r=i.url,o=i.savedData;if(o){var a=o.get("primary");a&&a.route&&a.route._routerState&&a.route._routerState.snapshot&&a.route._routerState.snapshot.url&&(r=a.route._routerState.snapshot.url)}return n.navCtrl.navigateBack(r,i.savedExtras).then((function(){return!0}))}))},t.prototype.startBackTransition=function(){var t=this,e=this.activeView;if(e){var n=this.getStack(e.stackId),l=n[n.length-2];return this.wait((function(){return t.transition(l,e,"back",t.canGoBack(2),!0)}))}return Promise.resolve()},t.prototype.endBackTransition=function(t){t?(this.skipTransition=!0,this.pop(1)):this.activeView&&xe(this.activeView,this.views,this.views,this.location)},t.prototype.getLastUrl=function(t){var e=this.getStack(t);return e.length>0?e[e.length-1]:void 0},t.prototype.getActiveStackId=function(){return this.activeView?this.activeView.stackId:void 0},t.prototype.destroy=function(){this.containerEl=void 0,this.views.forEach(Ce),this.activeView=void 0,this.views=[]},t.prototype.getStack=function(t){return this.views.filter((function(e){return e.stackId===t}))},t.prototype.insertView=function(t,e){return this.activeView=t,this.views=function(t,e,n){return"root"===n?_e(t,e):"forward"===n?function(t,e){return t.indexOf(e)>=0?t=t.filter((function(t){return t.stackId!==e.stackId||t.id<=e.id})):t.push(e),t}(t,e):function(t,e){return t.indexOf(e)>=0?t.filter((function(t){return t.stackId!==e.stackId||t.id<=e.id})):_e(t,e)}(t,e)}(this.views,t,e),this.views.slice()},t.prototype.transition=function(t,e,n,l,i){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(e===t)return Promise.resolve(!1);var r=t?t.element:void 0,o=e?e.element:void 0,a=this.containerEl;return r&&r!==o&&(r.classList.add("ion-page"),r.classList.add("ion-page-invisible"),r.parentElement!==a&&a.appendChild(r),a.commit)?a.commit(r,o,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:l,progressAnimation:i}):Promise.resolve(!1)},t.prototype.wait=function(t){return Object(l.b)(this,void 0,void 0,(function(){return Object(l.d)(this,(function(e){switch(e.label){case 0:return void 0===this.runningTask?[3,2]:[4,this.runningTask];case 1:e.sent(),this.runningTask=void 0,e.label=2;case 2:return[2,this.runningTask=t()]}}))}))},t}(),Pe=function(t,e,n,l){return"function"==typeof requestAnimationFrame?new Promise((function(i){requestAnimationFrame((function(){xe(t,e,n,l),i()}))})):Promise.resolve()},xe=function(t,e,n,l){n.filter((function(t){return!e.includes(t)})).forEach(Ce),e.forEach((function(e){var n=l.path().split("?")[0].split("#")[0];if(e!==t&&e.url!==n){var i=e.element;i.setAttribute("aria-hidden","true"),i.classList.add("ion-page-hidden"),e.ref.changeDetectorRef.detach()}}))},Se=function(){function t(t,e,n,l,r,o,s,u,c,d,h,p,b){this.parentContexts=t,this.location=e,this.resolver=n,this.config=o,this.navCtrl=s,this.parentOutlet=b,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new f.a(null),this.stackEvents=new i.r,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.nativeEl=c.nativeElement,this.name=l||a.f,this.tabsPrefix="true"===r?ye(d,p):void 0,this.stackCtrl=new we(this.tabsPrefix,this.nativeEl,d,s,h,u),t.onChildOutletCreated(this.name,this)}return Object.defineProperty(t.prototype,"animated",{set:function(t){this.nativeEl.animated=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swipeGesture",{set:function(t){var e=this;this._swipeGesture=t,this.nativeEl.swipeHandler=t?{canStart:function(){return e.stackCtrl.canGoBack(1)},onStart:function(){return e.stackCtrl.startBackTransition()},onEnd:function(t){return e.stackCtrl.endBackTransition(t)}}:void 0},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.stackCtrl.destroy()},t.prototype.getContext=function(){return this.parentContexts.getContext(this.name)},t.prototype.ngOnInit=function(){var t=this;if(!this.activated){var e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}this.nativeEl.componentOnReady&&this.nativeEl.componentOnReady().then((function(){void 0===t._swipeGesture&&(t.swipeGesture=t.config.getBoolean("swipeBackEnabled","ios"===t.nativeEl.mode))}))},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){throw new Error("incompatible reuse strategy")},t.prototype.attach=function(t,e){throw new Error("incompatible reuse strategy")},t.prototype.deactivate=function(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};var t=this.getContext();if(t.route){var e=t.route.snapshot;this.activatedView.savedExtras.queryParams=e.queryParams,this.activatedView.savedExtras.fragment=e.fragment}}var n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}},t.prototype.activateWith=function(t,e){var n,l=this;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var i=this.stackCtrl.getExistingView(t);if(i){n=this.activated=i.ref;var r=i.savedData;r&&(this.getContext().children.contexts=r),this.updateActivatedRouteProxy(n.instance,t)}else{var o=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,s=new f.a(null),u=this.createActivatedRouteProxy(s,t),c=new ke(u,a,this.location.injector);n=this.activated=this.location.createComponent(o,this.location.length,c),s.next(n.instance),i=this.stackCtrl.createView(this.activated,t),this.proxyMap.set(n.instance,u),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:t})}this.activatedView=i,this.stackCtrl.setActive(i).then((function(t){l.navCtrl.setTopOutlet(l),l.activateEvents.emit(n.instance),l.stackEvents.emit(t)}))},t.prototype.canGoBack=function(t,e){return void 0===t&&(t=1),this.stackCtrl.canGoBack(t,e)},t.prototype.pop=function(t,e){return void 0===t&&(t=1),this.stackCtrl.pop(t,e)},t.prototype.getLastUrl=function(t){var e=this.stackCtrl.getLastUrl(t);return e?e.url:void 0},t.prototype.getActiveStackId=function(){return this.stackCtrl.getActiveStackId()},t.prototype.createActivatedRouteProxy=function(t,e){var n=new a.a;return n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,n._paramMap=this.proxyObservable(t,"paramMap"),n._queryParamMap=this.proxyObservable(t,"queryParamMap"),n.url=this.proxyObservable(t,"url"),n.params=this.proxyObservable(t,"params"),n.queryParams=this.proxyObservable(t,"queryParams"),n.fragment=this.proxyObservable(t,"fragment"),n.data=this.proxyObservable(t,"data"),n},t.prototype.proxyObservable=function(t,e){var n=this;return t.pipe(Object(b.a)((function(t){return!!t})),Object(m.a)((function(t){return n.currentActivatedRoute$.pipe(Object(b.a)((function(e){return null!==e&&e.component===t})),Object(m.a)((function(t){return t&&t.activatedRoute[e]})),Object(g.a)())})))},t.prototype.updateActivatedRouteProxy=function(t,e){var n=this.proxyMap.get(t);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,this.currentActivatedRoute$.next({component:t,activatedRoute:e})},t.decorators=[{type:i.o,args:[{selector:"ion-router-outlet",exportAs:"outlet",inputs:["animated","swipeGesture"]}]}],t.ctorParameters=function(){return[{type:a.b},{type:i.Y},{type:i.m},{type:String,decorators:[{type:i.h,args:["name"]}]},{type:String,decorators:[{type:i.H},{type:i.h,args:["tabs"]}]},{type:oe},{type:I},{type:o.j},{type:i.p},{type:a.m},{type:i.G},{type:a.a},{type:t,decorators:[{type:i.R},{type:i.H}]}]},t.propDecorators={stackEvents:[{type:i.I}],activateEvents:[{type:i.I,args:["activate"]}],deactivateEvents:[{type:i.I,args:["deactivate"]}]},t}(),ke=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===a.a?this.route:t===a.b?this.childContexts:this.parent.get(t,e)},t}(),Me=function(){function t(t){this.navCtrl=t,this.ionTabsWillChange=new i.r,this.ionTabsDidChange=new i.r}return t.prototype.onPageSelected=function(t){var e=t.enteringView.stackId;t.tabSwitch&&void 0!==e&&(this.tabBar&&(this.tabBar.selectedTab=e),this.ionTabsWillChange.emit({tab:e}),this.ionTabsDidChange.emit({tab:e}))},t.prototype.select=function(t){var e=this.outlet.getActiveStackId()===t,n=this.outlet.tabsPrefix+"/"+t,l=e?n:this.outlet.getLastUrl(t)||n;return this.navCtrl.navigateRoot(l,{animated:!0,animationDirection:"back"})},t.prototype.getSelected=function(){return this.outlet.getActiveStackId()},t.decorators=[{type:i.l,args:[{selector:"ion-tabs",template:'\n <ng-content select="[slot=top]"></ng-content>\n <div class="tabs-inner">\n <ion-router-outlet #outlet tabs="true" (stackEvents)="onPageSelected($event)"></ion-router-outlet>\n </div>\n <ng-content></ng-content>',styles:["\n :host {\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n flex-direction: column;\n\n width: 100%;\n height: 100%;\n\n contain: layout size style;\n z-index: $z-index-page-container;\n }\n .tabs-inner {\n position: relative;\n\n flex: 1;\n\n contain: layout size style;\n }"]}]}],t.ctorParameters=function(){return[{type:I}]},t.propDecorators={outlet:[{type:i.X,args:["outlet",{read:Se}]}],tabBar:[{type:i.n,args:[Qt]}],ionTabsWillChange:[{type:i.I}],ionTabsDidChange:[{type:i.I}],select:[{type:i.s,args:["ionTabButtonClick",["$event.detail.tab"]]}]},t}(),Oe=function(){function t(t,e){this.routerOutlet=t,this.navCtrl=e}return t.prototype.onClick=function(t){this.routerOutlet&&this.routerOutlet.canGoBack()?(this.routerOutlet.pop(),t.preventDefault()):null!=this.defaultHref&&(this.navCtrl.navigateBack(this.defaultHref),t.preventDefault())},t.decorators=[{type:i.o,args:[{selector:"ion-back-button",inputs:["defaultHref"]}]}],t.ctorParameters=function(){return[{type:Se,decorators:[{type:i.H}]},{type:I}]},t.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},t}(),De=function(){function t(t,e,n,l,i){t.nativeElement.delegate=l.create(e,n,i)}return t.decorators=[{type:i.o,args:[{selector:"ion-nav"}]}],t.ctorParameters=function(){return[{type:i.p},{type:i.m},{type:i.x},{type:ce},{type:i.Y}]},t}(),Te=function(){function t(t,e,n,l,i){this.locationStrategy=t,this.navCtrl=e,this.elementRef=n,this.router=l,this.routerLink=i,this.routerDirection="forward"}return t.prototype.ngOnInit=function(){this.updateTargetUrlAndHref()},t.prototype.ngOnChanges=function(){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.updateTargetUrlAndHref=function(){if(this.routerLink){var t=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=t}},t.prototype.onClick=function(t){this.navCtrl.setDirection(this.routerDirection),t.preventDefault()},t.decorators=[{type:i.o,args:[{selector:"[routerLink]",inputs:["routerDirection"]}]}],t.ctorParameters=function(){return[{type:o.k},{type:I},{type:i.p},{type:a.m},{type:a.n,decorators:[{type:i.H}]}]},t.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},t}(),Ee=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.o,args:[{selector:"[virtualFooter]"}]}],t.ctorParameters=function(){return[{type:i.U}]},t}(),Ie=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.o,args:[{selector:"[virtualHeader]"}]}],t.ctorParameters=function(){return[{type:i.U}]},t}(),Le=function(){function t(t,e){this.templateRef=t,this.viewContainer=e}return t.decorators=[{type:i.o,args:[{selector:"[virtualItem]"}]}],t.ctorParameters=function(){return[{type:i.U},{type:i.Y}]},t}(),je=function(){function t(t,e,n){this.z=t,this.iterableDiffers=e,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}return t.prototype.ngOnChanges=function(t){if(this.trackBy&&"items"in t){var e=t.items.currentValue;if(void 0===this.differ&&null!=e)try{this.differ=this.iterableDiffers.find(e).create(this.trackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+e+"'. VirtualScroll only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)},t.prototype.nodeRender=function(t,e,n){var l=this;return this.z.run((function(){var i;if(t){var r=(i=l.refMap.get(t)).context;r.$implicit=e.value,r.index=e.index}else i=l.itmTmp.viewContainer.createEmbeddedView(l.getComponent(e.type),{$implicit:e.value,index:n},n),t=Re(i),l.refMap.set(t,i);return i.detectChanges(),t}))},t.prototype.getComponent=function(t){switch(t){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")},t.decorators=[{type:i.l,args:[{selector:"ion-virtual-scroll",template:"<ng-content></ng-content>",changeDetection:i.i.OnPush,inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight","trackBy"]}]}],t.ctorParameters=function(){return[{type:i.G},{type:i.y},{type:i.p}]},t.propDecorators={itmTmp:[{type:i.n,args:[Le]}],hdrTmp:[{type:i.n,args:[Ie]}],ftrTmp:[{type:i.n,args:[Ee]}]},t}(),Re=function(t){for(var e=t.rootNodes,n=0;n<e.length;n++)if(1===e[n].nodeType)return e[n];throw new Error("virtual element was not created")};F(je,["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"]),N(je,["checkEnd","checkRange","positionForItem"]);var Fe=function(){function t(t){var e=t.nativeElement,n=Array.from(e.attributes).map((function(t){return t.name})).filter((function(t){return Ne.includes(t)}));n.length>0&&console.warn("[DEPRECATED][CSS] Ionic CSS attributes are deprecated.\nReplace:\n'<"+e.tagName.toLowerCase()+" "+n.map((function(t){return""+t})).join(" ")+">'\n\nWith:\n'<"+e.tagName.toLowerCase()+' class="'+n.map((function(t){return"ion-"+t})).join(" ")+"\">'\n ")}return t.decorators=[{type:i.o,args:[{selector:"[align-self-start], [align-self-end], [align-self-center], [align-self-stretch], [align-self-baseline], [align-self-auto], [wrap-reverse], [justify-content-start], [justify-content-center], [justify-content-end], [justify-content-around], [justify-content-between], [justify-content-evenly], [align-items-start], [align-items-center], [align-items-end], [align-items-stretch], [align-items-baseline], [float-left], [float-right], [float-start], [float-end], [float-sm-left], [float-sm-right], [float-sm-start], [float-sm-end], [float-md-left], [float-md-right], [float-md-start], [float-md-end], [float-lg-left], [float-lg-right], [float-lg-start], [float-lg-end], [float-xl-left], [float-xl-right], [float-xl-start], [float-xl-end], [text-center], [text-justify], [text-start], [text-end], [text-left], [text-right], [text-nowrap], [text-wrap], [text-sm-center], [text-sm-justify], [text-sm-start], [text-sm-end], [text-sm-left], [text-sm-right], [text-sm-nowrap], [text-sm-wrap], [text-md-center], [text-md-justify], [text-md-start], [text-md-end], [text-md-left], [text-md-right], [text-md-nowrap], [text-md-wrap], [text-lg-center], [text-lg-justify], [text-lg-start], [text-lg-end], [text-lg-left], [text-lg-right], [text-lg-nowrap], [text-lg-wrap], [text-xl-center], [text-xl-justify], [text-xl-start], [text-xl-end], [text-xl-left], [text-xl-right], [text-xl-nowrap], [text-xl-wrap], [text-uppercase], [text-lowercase], [text-capitalize], [text-sm-uppercase], [text-sm-lowercase], [text-sm-capitalize], [text-md-uppercase], [text-md-lowercase], [text-md-capitalize], [text-lg-uppercase], [text-lg-lowercase], [text-lg-capitalize], [text-xl-uppercase], [text-xl-lowercase], [text-xl-capitalize], [no-padding], [padding], [padding-top], [padding-bottom], [padding-start], [padding-end], [padding-vertical], [padding-horizontal], [no-margin], [margin], [margin-top], [margin-bottom], [margin-start], [margin-end], [margin-vertical], [margin-horizontal]"}]}],t.ctorParameters=function(){return[{type:i.p}]},t}(),Ne=["align-self-start","align-self-end","align-self-center","align-self-stretch","align-self-baseline","align-self-auto","wrap-reverse","justify-content-start","justify-content-center","justify-content-end","justify-content-around","justify-content-between","justify-content-evenly","align-items-start","align-items-center","align-items-end","align-items-stretch","align-items-baseline","float-left","float-right","float-start","float-end","float-sm-left","float-sm-right","float-sm-start","float-sm-end","float-md-left","float-md-right","float-md-start","float-md-end","float-lg-left","float-lg-right","float-lg-start","float-lg-end","float-xl-left","float-xl-right","float-xl-start","float-xl-end","text-center","text-justify","text-start","text-end","text-left","text-right","text-nowrap","text-wrap","text-sm-center","text-sm-justify","text-sm-start","text-sm-end","text-sm-left","text-sm-right","text-sm-nowrap","text-sm-wrap","text-md-center","text-md-justify","text-md-start","text-md-end","text-md-left","text-md-right","text-md-nowrap","text-md-wrap","text-lg-center","text-lg-justify","text-lg-start","text-lg-end","text-lg-left","text-lg-right","text-lg-nowrap","text-lg-wrap","text-xl-center","text-xl-justify","text-xl-start","text-xl-end","text-xl-left","text-xl-right","text-xl-nowrap","text-xl-wrap","text-uppercase","text-lowercase","text-capitalize","text-sm-uppercase","text-sm-lowercase","text-sm-capitalize","text-md-uppercase","text-md-lowercase","text-md-capitalize","text-lg-uppercase","text-lg-lowercase","text-lg-capitalize","text-xl-uppercase","text-xl-lowercase","text-xl-capitalize","no-padding","padding","padding-top","padding-bottom","padding-start","padding-end","padding-vertical","padding-horizontal","no-margin","margin","margin-top","margin-bottom","margin-start","margin-end","margin-vertical","margin-horizontal"],Ye=function(){function t(t){this.ctrl=t}return t.prototype.create=function(t){return this.ctrl.create(t||{})},t.prototype.dismiss=function(t,e,n){return this.ctrl.dismiss(t,e,n)},t.prototype.getTop=function(){return this.ctrl.getTop()},t}(),Ue=(function(t){function e(){return t.call(this,d.c)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(t){function e(){return t.call(this,d.b)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(){function t(){this.c=new Map,console.warn('[DEPRECATION][Events]: The Events provider is deprecated and it will be removed in the next major release.\n - Use "Observables" for a similar pub/sub architecture: https://angular.io/guide/observables\n - Use "Redux" for advanced state management: https://ngrx.io')}t.prototype.subscribe=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var l=this.c.get(t);l||this.c.set(t,l=[]),l.push.apply(l,e)},t.prototype.unsubscribe=function(t,e){if(!e)return this.c.delete(t);var n=this.c.get(t);if(!n)return!1;var l=n.indexOf(e);return!(l<0||(n.splice(l,1),0===n.length&&this.c.delete(t),0))},t.prototype.publish=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var l=this.c.get(t);return l?l.map((function(t){try{return t.apply(void 0,e)}catch(n){return console.error(n),null}})):null},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(t){function e(){return t.call(this,d.m)||this}return Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"}),e}(Ye)),Be=(function(){function t(){}t.prototype.open=function(t){return c.a.open(t)},t.prototype.close=function(t){return c.a.close(t)},t.prototype.toggle=function(t){return c.a.toggle(t)},t.prototype.enable=function(t,e){return c.a.enable(t,e)},t.prototype.swipeEnable=function(t,e){return console.warn("[DEPRECATED][ion-menu-controller] swipeEnable() is deprecated. Use MenuController.swipeGesture() instead"),this.swipeGesture(t,e)},t.prototype.swipeGesture=function(t,e){return c.a.swipeGesture(t,e)},t.prototype.isOpen=function(t){return c.a.isOpen(t)},t.prototype.isEnabled=function(t){return c.a.isEnabled(t)},t.prototype.get=function(t){return c.a.get(t)},t.prototype.getOpen=function(){return c.a.getOpen()},t.prototype.getMenus=function(){return c.a.getMenus()},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(t){function e(){return t.call(this,d.o)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(t){function e(e,n,l){var i=t.call(this,d.n)||this;return i.angularDelegate=e,i.resolver=n,i.injector=l,i}return Object(l.c)(e,t),e.prototype.create=function(e){return t.prototype.create.call(this,Object(l.a)({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},e.decorators=[{type:i.v}],e.ctorParameters=function(){return[{type:ce},{type:i.m},{type:i.x}]},e}(Ye)),ze=function(t){function e(e,n,l){var i=t.call(this,d.d)||this;return i.angularDelegate=e,i.resolver=n,i.injector=l,i}return Object(l.c)(e,t),e.prototype.create=function(e){return t.prototype.create.call(this,Object(l.a)({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},e.decorators=[{type:i.v}],e.ctorParameters=function(){return[{type:ce},{type:i.m},{type:i.x}]},e}(Ye),Ge=(function(t){function e(){return t.call(this,d.q)||this}Object(l.c)(e,t),e.decorators=[{type:i.v,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.cb)({factory:function(){return new e},token:e,providedIn:"root"})}(Ye),function(){function t(){}t.prototype.read=function(t){Ge().read(t)},t.prototype.write=function(t){Ge().write(t)},t.decorators=[{type:i.v,args:[{providedIn:"root"}]}],t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"})}(),function(){var t="undefined"!=typeof window?window:null;if(null!=t){var e=t.Ionic;return e&&e.queue?e.queue:{read:function(e){return t.requestAnimationFrame(e)},write:function(e){return t.requestAnimationFrame(e)}}}return{read:function(t){return t()},write:function(t){return t()}}}),He=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.shouldAttach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){if(t.routeConfig!==e.routeConfig)return!1;var n=t.params,l=e.params,i=Object.keys(n),r=Object.keys(l);if(i.length!==r.length)return!1;for(var o=0,a=i;o<a.length;o++){var s=a[o];if(l[s]!==n[s])return!1}return!0},t}(),Ve=!1,qe=function(t,e,i){return function(){var r=e.defaultView;if(r){Ve&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),Ve=!0,(r.Ionic=r.Ionic||{}).config=Object(l.a)({},t,{_zoneGate:function(t){return i.run(t)}});var o="__zone_symbol__addEventListener"in e.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var t=window,e=[];return t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove)||e.push(n.e(100).then(n.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var t=new URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(99).then(n.t.bind(null,"t6o4",7))),Promise.all(e)}().then((function(){return t={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:y,jmp:function(t){return i.runOutsideAngular(t)},ael:function(t,e,n,l){t[o](e,n,l)},rel:function(t,e,n,l){t.removeEventListener(e,n,l)}},Object(_.b)().then(()=>{Object(_.h)(),Object(_.c)(JSON.parse('[[{"ios":"ion-select_3-ios","md":"ion-select_3-md"},[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionSelect","onSelect"]]],[1,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"selected":[4],"value":[8]}]]],[{"ios":"ion-menu_4-ios","md":"ion-menu_4-md"},[[1,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]],[1,"ion-menu",{"contentId":[1,"content-id"],"menuId":[1,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[32,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[0,"ion-menu-controller",{"open":[64],"close":[64],"toggle":[64],"enable":[64],"swipeGesture":[64],"isOpen":[64],"isEnabled":[64],"get":[64],"getOpen":[64],"getMenus":[64],"isAnimating":[64],"registerAnimation":[64]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]]]],[{"ios":"ion-action-sheet-ios","md":"ion-action-sheet-md"},[[2,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-fab_3-ios","md":"ion-fab_3-md"},[[1,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],[{"ios":"ion-refresher_2-ios","md":"ion-refresher_2-md"},[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[0,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],[{"ios":"ion-alert-ios","md":"ion-alert-md"},[[2,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-back-button-ios","md":"ion-back-button-md"},[[2,"ion-back-button",{"color":[1],"defaultHref":[1,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1]}]]],[{"ios":"ion-loading-ios","md":"ion-loading-md"},[[2,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-toast-ios","md":"ion-toast-md"},[[1,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"showCloseButton":[4,"show-close-button"],"closeButtonText":[1,"close-button-text"],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-card_5-ios","md":"ion-card_5-md"},[[6,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}],[0,"ion-card-content"],[1,"ion-card-header",{"color":[1],"translucent":[4]}],[1,"ion-card-subtitle",{"color":[1]}],[1,"ion-card-title",{"color":[1]}]]],[{"ios":"ion-item-option_3-ios","md":"ion-item-option_3-md"},[[1,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[0,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],[{"ios":"ion-infinite-scroll_2-ios","md":"ion-infinite-scroll_2-md"},[[0,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],[{"ios":"ion-reorder_2-ios","md":"ion-reorder_2-md"},[[1,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],[{"ios":"ion-segment_2-ios","md":"ion-segment_2-md"},[[1,"ion-segment-button",{"checked":[1028],"disabled":[4],"layout":[1],"type":[1],"value":[1]}],[2,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"value":[1025]},[[0,"ionSelect","segmentClick"]]]]],[{"ios":"ion-tab-bar_2-ios","md":"ion-tab-bar_2-md"},[[1,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[16,"ionTabBarChanged","onTabBarChanged"]]],[1,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},[[8,"keyboardWillHide","onKeyboardWillHide"],[8,"keyboardWillShow","onKeyboardWillShow"]]]]],[{"ios":"ion-chip-ios","md":"ion-chip-md"},[[1,"ion-chip",{"color":[1],"outline":[4]}]]],[{"ios":"ion-modal-ios","md":"ion-modal-md"},[[2,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-popover-ios","md":"ion-popover-md"},[[2,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-searchbar-ios","md":"ion-searchbar-md"},[[2,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[8,"show-cancel-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-action-sheet-controller_8",[[0,"ion-action-sheet-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-alert-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[1,"ion-anchor",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"]}],[0,"ion-loading-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-modal-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-picker-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-popover-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-toast-controller",{"create":[64],"dismiss":[64],"getTop":[64]}]]],[{"ios":"ion-app_8-ios","md":"ion-app_8-md"},[[0,"ion-app"],[2,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[2,"click","onClick"]]],[0,"ion-footer",{"translucent":[4]}],[0,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[1,"ion-title",{"color":[1],"size":[1]}],[1,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-nav_5",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"]}],[0,"ion-nav-pop"],[0,"ion-nav-push",{"component":[1],"componentProps":[16]}],[0,"ion-nav-set-root",{"component":[1],"componentProps":[16]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}]]],[{"ios":"ion-avatar_3-ios","md":"ion-avatar_3-md"},[[1,"ion-avatar"],[1,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],[{"ios":"ion-slide_2-ios","md":"ion-slide_2-md"},[[0,"ion-slide"],[4,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],[{"ios":"ion-checkbox-ios","md":"ion-checkbox-md"},[[1,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],[{"ios":"ion-input-ios","md":"ion-input-md"},[[2,"ion-input",{"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-progress-bar-ios","md":"ion-progress-bar-md"},[[1,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],[{"ios":"ion-range-ios","md":"ion-range-md"},[[1,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],[{"ios":"ion-split-pane-ios","md":"ion-split-pane-md"},[[0,"ion-split-pane",{"contentId":[1,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],[{"ios":"ion-textarea-ios","md":"ion-textarea-md"},[[2,"ion-textarea",{"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-toggle-ios","md":"ion-toggle-md"},[[1,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],[{"ios":"ion-datetime_3-ios","md":"ion-datetime_3-md"},[[2,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[1,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[0,"ion-picker-column",{"col":[16]}]]],[{"ios":"ion-radio_2-ios","md":"ion-radio_2-md"},[[1,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"checked":[1028],"value":[1032]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],[{"ios":"ion-backdrop-ios","md":"ion-backdrop-md"},[[1,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"touchstart","onTouchStart"],[2,"click","onMouseDown"],[2,"mousedown","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],[{"ios":"ion-button_2-ios","md":"ion-button_2-md"},[[1,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"svgContent":[32],"isVisible":[32]}]]],[{"ios":"ion-item_8-ios","md":"ion-item_8-md"},[[1,"ion-item-divider",{"color":[1],"sticky":[4]}],[0,"ion-item-group"],[1,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4],"width":[1]}],[1,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionStyle","itemStyle"]]],[2,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[0,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[1,"ion-list-header",{"color":[1]}]]]]'),t)});var t}))}}},We=[U,B,z,G,H,V,q,W,$,X,K,J,Q,Z,tt,et,nt,lt,it,rt,ot,at,st,ut,ct,dt,ht,pt,ft,bt,mt,gt,_t,yt,At,vt,Ct,wt,Pt,xt,St,kt,Mt,Ot,Dt,Tt,Et,It,Lt,jt,Rt,Ft,Nt,Yt,Ut,Bt,zt,Gt,Ht,Vt,qt,Wt,$t,Xt,Kt,Jt,Qt,Zt,te,ee,ne,ie,re,le,Me,x,S,k,M,O,Se,Oe,De,Te,Ee,Ie,Le,je,Fe],$e=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:ae,useValue:e},{provide:i.d,useFactory:qe,multi:!0,deps:[ae,o.d,i.G]}]}},t.decorators=[{type:i.B,args:[{declarations:We,exports:We,providers:[ce,Be,ze],imports:[o.c]}]}],t}()},ZcWs:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var l=n("8Y7J"),i=n("oBZk"),r=n("Mc5n"),o=n("ZZ/e"),a=n("SVse"),s=n("IP0z"),u=n("s6ns"),c=n("t+3E"),d=l.Bb({encapsulation:2,styles:[],data:{}});function h(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,7,"ion-item",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,i.z,i.h)),l.Tb(6144,null,r.l,null,[r.c]),l.Cb(2,49152,null,0,o.F,[l.j,l.p,l.G],null,null),l.Cb(3,4866048,[[1,4]],3,r.c,[l.p,[3,r.b],a.d,l.G,l.Y,r.a,[2,s.b],r.g,l.j],null,null),l.Ub(603979776,2,{_handles:1}),l.Ub(603979776,3,{_previewTemplate:0}),l.Ub(603979776,4,{_placeholderTemplate:0}),(t()(),l.Wb(7,0,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging()),t(e,7,0,e.context.$implicit)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,7,"ion-item",[["cdkDrag",""],["class","field-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,i.z,i.h)),l.Tb(6144,null,r.l,null,[r.c]),l.Cb(2,49152,null,0,o.F,[l.j,l.p,l.G],null,null),l.Cb(3,4866048,[[5,4]],3,r.c,[l.p,[3,r.b],a.d,l.G,l.Y,r.a,[2,s.b],r.g,l.j],null,null),l.Ub(603979776,6,{_handles:1}),l.Ub(603979776,7,{_previewTemplate:0}),l.Ub(603979776,8,{_placeholderTemplate:0}),(t()(),l.Wb(7,0,["",""])),(t()(),l.sb(0,null,null,0))],null,(function(t,e){t(e,0,0,l.Pb(e,3).disabled,l.Pb(e,3)._dragRef.isDragging()),t(e,7,0,e.context.$implicit)}))}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"ion-header",[["translucent",""]],null,null,null,i.x,i.f)),l.Cb(1,49152,null,0,o.z,[l.j,l.p,l.G],{translucent:[0,"translucent"]},null),(t()(),l.Db(2,0,null,0,9,"ion-toolbar",[],null,null,null,i.J,i.r)),l.Cb(3,49152,null,0,o.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,2,"ion-title",[],null,null,null,i.I,i.q)),l.Cb(5,49152,null,0,o.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Settings Fields"])),(t()(),l.Db(7,0,null,0,4,"ion-buttons",[["slot","end"]],null,null,null,i.v,i.d)),l.Cb(8,49152,null,0,o.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(9,0,null,0,2,"ion-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.dismissModal()&&l),l}),i.u,i.c)),l.Cb(10,49152,null,0,o.i,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Close"])),(t()(),l.Db(12,0,null,null,27,"ion-content",[["fullscreen",""]],null,null,null,i.w,i.e)),l.Cb(13,49152,null,0,o.s,[l.j,l.p,l.G],{fullscreen:[0,"fullscreen"]},null),(t()(),l.Db(14,0,null,0,25,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),l.Cb(15,16384,null,0,u.j,[],null,null),(t()(),l.Db(16,0,null,null,23,"div",[["cdkDropListGroup",""],["class","drag-container"]],null,null,null,null,null)),l.Cb(17,147456,null,0,r.f,[],null,null),(t()(),l.Db(18,0,null,null,10,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(19,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PANEL FIELDS"])),(t()(),l.Db(21,0,null,null,7,"ion-list",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),i.B,i.j)),l.Tb(6144,null,r.b,null,[r.e]),l.Cb(23,49152,null,0,o.M,[l.j,l.p,l.G],null,null),l.Cb(24,1196032,null,1,r.e,[l.p,r.g,l.j,[2,s.b],[3,r.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,1,{_draggables:1}),l.Tb(256,null,r.f,void 0,[]),(t()(),l.sb(16777216,null,0,1,null,h)),l.Cb(28,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.Db(29,0,null,null,10,"div",[["class","field-container"]],null,null,null,null,null)),(t()(),l.Db(30,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OTHER FIELDS"])),(t()(),l.Db(32,0,null,null,7,"ion-list",[["cdkDropList",""],["class","field-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(t,e,n){var l=!0;return"cdkDropListDropped"===e&&(l=!1!==t.component.drop(n)&&l),l}),i.B,i.j)),l.Tb(6144,null,r.b,null,[r.e]),l.Cb(34,49152,null,0,o.M,[l.j,l.p,l.G],null,null),l.Cb(35,1196032,null,1,r.e,[l.p,r.g,l.j,[2,s.b],[3,r.f]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),l.Ub(603979776,5,{_draggables:1}),l.Tb(256,null,r.f,void 0,[]),(t()(),l.sb(16777216,null,0,1,null,p)),l.Cb(39,278528,null,0,a.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,""),t(e,13,0,""),t(e,24,0,n.panelFields),t(e,28,0,n.panelFields),t(e,35,0,n.otherFields),t(e,39,0,n.otherFields)}),(function(t,e){t(e,21,0,l.Pb(e,24).id,l.Pb(e,24).disabled,l.Pb(e,24)._dropListRef.isDragging(),l.Pb(e,24)._dropListRef.isReceiving()),t(e,32,0,l.Pb(e,35).id,l.Pb(e,35).disabled,l.Pb(e,35)._dropListRef.isDragging(),l.Pb(e,35)._dropListRef.isReceiving())}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-right-panel-params-modal",[],null,null,null,f,d)),l.Cb(1,245760,null,0,c.a,[o.Fb],null,null)],(function(t,e){t(e,1,0)}),null)}var m=l.zb("sepia-right-panel-params-modal",c.a,b,{data:"data"},{},[])},Zduo:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZhEo:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var l,i=n("h3hZ"),r=n("hp/u"),o=n("Ho3V"),a=n("AdTM"),s=n("CvXi"),u=n("YX0d"),c=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function d(t,e,n){var l=t;if(l.src&&u.c){var i=l.decode(),r=!0;return i.then((function(){r&&e()})).catch((function(t){r&&("EncodingError"===t.name&&"Invalid image type."===t.message?e():n())})),function(){r=!1}}var s=[Object(o.b)(l,a.a.LOAD,e),Object(o.b)(l,a.a.ERROR,n)];return function(){s.forEach(o.c)}}!function(t){function e(e,n,l,i,o,a){var s=t.call(this,e,n,l,r.a.IDLE)||this;return s.src_=i,s.image_=new Image,null!==o&&(s.image_.crossOrigin=o),s.unlisten_=null,s.state=r.a.IDLE,s.imageLoadFunction_=a,s}c(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=r.a.ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Object(s.A)(this.extent)/this.image_.height),this.state=r.a.LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state!=r.a.IDLE&&this.state!=r.a.ERROR||(this.state=r.a.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=d(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(t){this.image_=t},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}(i.a)},Zime:function(t,e,n){"use strict";var l,i=n("WDFe"),r=n("4mld"),o=n("CZmH"),a=n("Pmt0"),s=n("f8l7"),u=n("OPOH"),c=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function d(t,e){for(var n=c.length,l=0;l<n;++l)try{var i=t.getContext(c[l],e);if(i)return i}catch(r){}return null}var h=n("kvpX");function p(t){switch(t){case 34962:return Float32Array;case 34963:return Uint32Array;default:return Float32Array}}var f=function(){function t(t,e){this.array=null,this.type=t,Object(h.a)(34962===t||34963===t,62),this.usage=void 0!==e?e:35044}return t.prototype.ofSize=function(t){this.array=new(p(this.type))(t)},t.prototype.fromArray=function(t){this.array=p(this.type).from(t)},t.prototype.fromArrayBuffer=function(t){this.array=new(p(this.type))(t)},t.prototype.getType=function(){return this.type},t.prototype.getArray=function(){return this.array},t.prototype.getUsage=function(){return this.usage},t.prototype.getSize=function(){return this.array?this.array.length:0},t}(),b=n("EwAT"),m=n("2lwS"),g=n("qJZF");function _(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}var y,A=function(){function t(t){this.gl_=t.webGlContext;var e=this.gl_;this.scaleRatio_=t.scaleRatio||1,this.renderTargetTexture_=e.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=e.createFramebuffer();var n=e.createShader(e.VERTEX_SHADER);e.shaderSource(n,t.vertexShader||"\n precision mediump float;\n \n attribute vec2 a_position;\n varying vec2 v_texCoord;\n varying vec2 v_screenCoord;\n \n uniform vec2 u_screenSize;\n \n void main() {\n v_texCoord = a_position * 0.5 + 0.5;\n v_screenCoord = v_texCoord * u_screenSize;\n gl_Position = vec4(a_position, 0.0, 1.0);\n }\n"),e.compileShader(n);var l=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(l,t.fragmentShader||"\n precision mediump float;\n \n uniform sampler2D u_image;\n \n varying vec2 v_texCoord;\n \n void main() {\n gl_FragColor = texture2D(u_image, v_texCoord);\n }\n"),e.compileShader(l),this.renderTargetProgram_=e.createProgram(),e.attachShader(this.renderTargetProgram_,n),e.attachShader(this.renderTargetProgram_,l),e.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=e.createBuffer(),e.bindBuffer(e.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,-1,1,1,-1,1]),e.STATIC_DRAW),this.renderTargetAttribLocation_=e.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetTextureLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],t.uniforms&&Object.keys(t.uniforms).forEach((function(n){this.uniforms_.push({value:t.uniforms[n],location:e.getUniformLocation(this.renderTargetProgram_,n)})}).bind(this))}return t.prototype.getGL=function(){return this.gl_},t.prototype.init=function(t){var e=this.getGL(),n=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.viewport(0,0,n[0],n[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==n[0]||this.renderTargetTextureSize_[1]!==n[1]){this.renderTargetTextureSize_=n;var l=e.RGBA,i=e.RGBA,r=e.UNSIGNED_BYTE;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,0,l,n[0],n[1],0,i,r,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0)}},t.prototype.apply=function(t,e){var n=this.getGL(),l=t.size;n.bindFramebuffer(n.FRAMEBUFFER,e?e.getFrameBuffer():null),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,this.renderTargetTexture_),n.clearColor(0,0,0,0),n.clear(n.COLOR_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,n.ONE_MINUS_SRC_ALPHA),n.viewport(0,0,n.drawingBufferWidth,n.drawingBufferHeight),n.bindBuffer(n.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),n.useProgram(this.renderTargetProgram_),n.enableVertexAttribArray(this.renderTargetAttribLocation_),n.vertexAttribPointer(this.renderTargetAttribLocation_,2,n.FLOAT,!1,0,0),n.uniform2f(this.renderTargetUniformLocation_,l[0],l[1]),n.uniform1i(this.renderTargetTextureLocation_,0),this.applyUniforms(t),n.drawArrays(n.TRIANGLES,0,6)},t.prototype.getFrameBuffer=function(){return this.frameBuffer_},t.prototype.applyUniforms=function(t){var e,n=this.getGL(),l=1;this.uniforms_.forEach((function(i){if((e="function"==typeof i.value?i.value(t):i.value)instanceof HTMLCanvasElement||e instanceof ImageData)i.texture||(i.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+l]),n.bindTexture(n.TEXTURE_2D,i.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),e instanceof ImageData?n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,e.width,e.height,0,n.UNSIGNED_BYTE,new Uint8Array(e.data)):n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e),n.uniform1i(i.location,l++);else if(Array.isArray(e))switch(e.length){case 2:return void n.uniform2f(i.location,e[0],e[1]);case 3:return void n.uniform3f(i.location,e[0],e[1],e[2]);case 4:return void n.uniform4f(i.location,e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(i.location,e)}))},t}(),v=n("n15R"),C=(y=function(t,e){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w={UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123,UNSIGNED_INT:5125,FLOAT:5126};function P(t){switch(t){case w.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case w.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case w.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case w.FLOAT:default:return Float32Array.BYTES_PER_ELEMENT}}var x=function(t){function e(e){var n=t.call(this)||this,i=e||{};n.boundHandleWebGLContextLost_=n.handleWebGLContextLost.bind(n),n.boundHandleWebGLContextRestored_=n.handleWebGLContextRestored.bind(n),n.canvas_=document.createElement("canvas"),n.canvas_.style.position="absolute",n.canvas_.style.left="0",n.gl_=d(n.canvas_);var r=n.getGL();if(n.bufferCache_={},n.currentProgram_=null,Object(h.a)(Object(v.d)(function(){if(!l){var t=d(document.createElement("canvas"));t&&(l=t.getSupportedExtensions())}return l}(),"OES_element_index_uint"),63),r.getExtension("OES_element_index_uint"),n.canvas_.addEventListener("webglcontextlost",n.boundHandleWebGLContextLost_),n.canvas_.addEventListener("webglcontextrestored",n.boundHandleWebGLContextRestored_),n.offsetRotateMatrix_=Object(g.c)(),n.offsetScaleMatrix_=Object(g.c)(),n.tmpMat4_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],n.uniformLocations_={},n.attribLocations_={},n.uniforms_=[],i.uniforms)for(var o in i.uniforms)n.uniforms_.push({name:o,value:i.uniforms[o]});return n.postProcessPasses_=i.postProcesses?i.postProcesses.map((function(t){return new A({webGlContext:r,scaleRatio:t.scaleRatio,vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms})})):[new A({webGlContext:r})],n.shaderCompileErrors_=null,n.startTime_=Date.now(),n}return C(e,t),e.prototype.bindBuffer=function(t){var e=this.getGL(),n=Object(b.c)(t),l=this.bufferCache_[n];if(!l){var i=e.createBuffer();this.bufferCache_[n]=l={buffer:t,webGlBuffer:i}}e.bindBuffer(t.getType(),l.webGlBuffer)},e.prototype.flushBufferData=function(t){var e=this.getGL();this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())},e.prototype.deleteBuffer=function(t){var e=this.getGL(),n=Object(b.c)(t),l=this.bufferCache_[n];e.isContextLost()||e.deleteBuffer(l.buffer),delete this.bufferCache_[n]},e.prototype.disposeInternal=function(){this.canvas_.removeEventListener("webglcontextlost",this.boundHandleWebGLContextLost_),this.canvas_.removeEventListener("webglcontextrestored",this.boundHandleWebGLContextRestored_)},e.prototype.prepareDraw=function(t){var e=this.getGL(),n=this.getCanvas(),l=t.size,i=t.pixelRatio;n.width=l[0]*i,n.height=l[1]*i,n.style.width=l[0]+"px",n.style.height=l[1]+"px",e.useProgram(this.currentProgram_);for(var r=this.postProcessPasses_.length-1;r>=0;r--)this.postProcessPasses_[r].init(t);e.bindTexture(e.TEXTURE_2D,null),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.enable(e.BLEND),e.blendFunc(e.ONE,e.ONE_MINUS_SRC_ALPHA),e.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.prepareDrawToRenderTarget=function(t,e,n){var l=this.getGL(),i=e.getSize();l.bindFramebuffer(l.FRAMEBUFFER,e.getFramebuffer()),l.viewport(0,0,i[0],i[1]),l.bindTexture(l.TEXTURE_2D,e.getTexture()),l.clearColor(0,0,0,0),l.clear(l.COLOR_BUFFER_BIT),l.enable(l.BLEND),l.blendFunc(l.ONE,n?l.ZERO:l.ONE_MINUS_SRC_ALPHA),l.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.drawElements=function(t,e){var n=this.getGL();n.drawElements(n.TRIANGLES,e-t,n.UNSIGNED_INT,4*t)},e.prototype.finalizeDraw=function(t){for(var e=0;e<this.postProcessPasses_.length;e++)this.postProcessPasses_[e].apply(t,this.postProcessPasses_[e+1]||null)},e.prototype.getCanvas=function(){return this.canvas_},e.prototype.getGL=function(){return this.gl_},e.prototype.applyFrameState=function(t){var e=t.size,n=t.viewState.rotation,l=Object(g.g)(this.offsetScaleMatrix_);Object(g.i)(l,2/e[0],2/e[1]);var i=Object(g.g)(this.offsetRotateMatrix_);0!==n&&Object(g.h)(i,-n),this.setUniformMatrixValue("u_offsetScaleMatrix",_(this.tmpMat4_,l)),this.setUniformMatrixValue("u_offsetRotateMatrix",_(this.tmpMat4_,i)),this.setUniformFloatValue("u_time",.001*(Date.now()-this.startTime_)),this.setUniformFloatValue("u_zoom",t.viewState.zoom),this.setUniformFloatValue("u_resolution",t.viewState.resolution)},e.prototype.applyUniforms=function(t){var e,n=this.getGL(),l=0;this.uniforms_.forEach((function(i){if((e="function"==typeof i.value?i.value(t):i.value)instanceof HTMLCanvasElement||e instanceof HTMLImageElement||e instanceof ImageData)i.texture||(i.prevValue=void 0,i.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+l]),n.bindTexture(n.TEXTURE_2D,i.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(!(e instanceof HTMLImageElement)||e.complete)&&i.prevValue!==e&&(i.prevValue=e,n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e)),n.uniform1i(this.getUniformLocation(i.name),l++);else if(Array.isArray(e)&&6===e.length)this.setUniformMatrixValue(i.name,_(this.tmpMat4_,e));else if(Array.isArray(e)&&e.length<=4)switch(e.length){case 2:return void n.uniform2f(this.getUniformLocation(i.name),e[0],e[1]);case 3:return void n.uniform3f(this.getUniformLocation(i.name),e[0],e[1],e[2]);case 4:return void n.uniform4f(this.getUniformLocation(i.name),e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(this.getUniformLocation(i.name),e)}).bind(this))},e.prototype.useProgram=function(t){return t!=this.currentProgram_&&(this.getGL().useProgram(t),this.currentProgram_=t,this.uniformLocations_={},this.attribLocations_={},!0)},e.prototype.compileShader=function(t,e){var n=this.getGL(),l=n.createShader(e);return n.shaderSource(l,t),n.compileShader(l),l},e.prototype.getProgram=function(t,e){var n=this.getGL(),l=this.compileShader(t,n.FRAGMENT_SHADER),i=this.compileShader(e,n.VERTEX_SHADER);this.shaderCompileErrors_=null,n.getShaderInfoLog(l)&&(this.shaderCompileErrors_="Fragment shader compilation failed:\n"+n.getShaderInfoLog(l)),n.getShaderInfoLog(i)&&(this.shaderCompileErrors_=(this.shaderCompileErrors_||"")+"Vertex shader compilation failed:\n"+n.getShaderInfoLog(i));var r=n.createProgram();return n.attachShader(r,l),n.attachShader(r,i),n.linkProgram(r),r},e.prototype.getShaderCompileErrors=function(){return this.shaderCompileErrors_},e.prototype.getUniformLocation=function(t){return void 0===this.uniformLocations_[t]&&(this.uniformLocations_[t]=this.getGL().getUniformLocation(this.currentProgram_,t)),this.uniformLocations_[t]},e.prototype.getAttributeLocation=function(t){return void 0===this.attribLocations_[t]&&(this.attribLocations_[t]=this.getGL().getAttribLocation(this.currentProgram_,t)),this.attribLocations_[t]},e.prototype.makeProjectionTransform=function(t,e){var n=t.size,l=t.viewState.rotation,i=t.viewState.resolution,r=t.viewState.center;return Object(g.g)(e),Object(g.b)(e,0,0,2/(i*n[0]),2/(i*n[1]),-l,-r[0],-r[1]),e},e.prototype.setUniformFloatValue=function(t,e){this.getGL().uniform1f(this.getUniformLocation(t),e)},e.prototype.setUniformMatrixValue=function(t,e){this.getGL().uniformMatrix4fv(this.getUniformLocation(t),!1,e)},e.prototype.enableAttributeArray_=function(t,e,n,l,i){var r=this.getAttributeLocation(t);r<0||(this.getGL().enableVertexAttribArray(r),this.getGL().vertexAttribPointer(r,e,n,!1,l,i))},e.prototype.enableAttributes=function(t){for(var e=function(t){for(var e=0,n=0;n<t.length;n++){var l=t[n];e+=l.size*P(l.type)}return e}(t),n=0,l=0;l<t.length;l++){var i=t[l];this.enableAttributeArray_(i.name,i.size,i.type||5126,e,n),n+=i.size*P(i.type)}},e.prototype.handleWebGLContextLost=function(){Object(u.b)(this.bufferCache_),this.currentProgram_=null},e.prototype.handleWebGLContextRestored=function(){},e.prototype.createTexture=function(t,e,n){var l=this.getGL(),i=n||l.createTexture(),r=l.RGBA,o=l.RGBA,a=l.UNSIGNED_BYTE;return l.bindTexture(l.TEXTURE_2D,i),e?l.texImage2D(l.TEXTURE_2D,0,r,o,a,e):l.texImage2D(l.TEXTURE_2D,0,r,t[0],t[1],0,o,a,null),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.CLAMP_TO_EDGE),i},e}(m.a),S=n("9iPr"),k=n("+vTz"),M=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function O(t,e){var n=e||[];return n[0]=Math.floor(t/256/256/256)/255,n[1]=Math.floor(t/256/256)%256/255,n[2]=Math.floor(t/256)%256/255,n[3]=t%256/255,n}var D=function(t){function e(e,n){var l=t.call(this,e)||this,i=n||{};return l.helper=new x({postProcesses:i.postProcesses,uniforms:i.uniforms}),l}return M(e,t),e.prototype.disposeInternal=function(){this.helper.dispose(),t.prototype.disposeInternal.call(this)},e.prototype.getShaderCompileErrors=function(){return this.helper.getShaderCompileErrors()},e}(k.a),T=n("SW/M"),E=n("CvXi"),I=new Blob(['var e="function"==typeof Object.assign?Object.assign:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(null!=i)for(var f in i)i.hasOwnProperty(f)&&(t[f]=i[f])}return t},n="GENERATE_BUFFERS",t=[],r={vertexPosition:0,indexPosition:0};function o(e,n,t,r,o){e[n+0]=t,e[n+1]=r,e[n+2]=o}function i(e,n,i,f,s,u){var a=3+s,l=e[n+0],v=e[n+1],c=t;c.length=s;for(var g=0;g<c.length;g++)c[g]=e[n+2+g];var b=u?u.vertexPosition:0,h=u?u.indexPosition:0,d=b/a;return o(i,b,l,v,0),c.length&&i.set(c,b+3),o(i,b+=a,l,v,1),c.length&&i.set(c,b+3),o(i,b+=a,l,v,2),c.length&&i.set(c,b+3),o(i,b+=a,l,v,3),c.length&&i.set(c,b+3),b+=a,f[h++]=d,f[h++]=d+1,f[h++]=d+3,f[h++]=d+1,f[h++]=d+2,f[h++]=d+3,r.vertexPosition=b,r.indexPosition=h,r}var f=self;f.onmessage=function(t){var r=t.data;if(r.type===n){for(var o=r.customAttributesCount,s=2+o,u=new Float32Array(r.renderInstructions),a=u.length/s,l=4*a*(o+3),v=new Uint32Array(6*a),c=new Float32Array(l),g=null,b=0;b<u.length;b+=s)g=i(u,b,c,v,o,g);var h=e({vertexBuffer:c.buffer,indexBuffer:v.buffer,renderInstructions:u.buffer},r);f.postMessage(h,[c.buffer,v.buffer,u.buffer])}};'],{type:"application/javascript"}),L=URL.createObjectURL(I),j=new Uint8Array(4),R=function(){function t(t,e){this.helper_=t;var n=t.getGL();this.texture_=n.createTexture(),this.framebuffer_=n.createFramebuffer(),this.size_=e||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}return t.prototype.setSize=function(t){Object(v.b)(t,this.size_)||(this.size_[0]=t[0],this.size_[1]=t[1],this.updateSize_())},t.prototype.getSize=function(){return this.size_},t.prototype.clearCachedData=function(){this.dataCacheDirty_=!0},t.prototype.readAll=function(){if(this.dataCacheDirty_){var t=this.size_,e=this.helper_.getGL();e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.readPixels(0,0,t[0],t[1],e.RGBA,e.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_},t.prototype.readPixel=function(t,e){if(t<0||e<0||t>this.size_[0]||e>=this.size_[1])return j[0]=0,j[1]=0,j[2]=0,j[3]=0,j;this.readAll();var n=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return j[0]=this.data_[4*n],j[1]=this.data_[4*n+1],j[2]=this.data_[4*n+2],j[3]=this.data_[4*n+3],j},t.prototype.getTexture=function(){return this.texture_},t.prototype.getFramebuffer=function(){return this.framebuffer_},t.prototype.updateSize_=function(){var t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(t[0]*t[1]*4)},t}(),F=n("rlDN"),N=n("Ho3V"),Y=n("pD/Q"),U=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),B=function(t){function e(e,n){var l=this,i=n.uniforms||{},r=Object(g.c)();i.u_projectionMatrix=r,(l=t.call(this,e,{uniforms:i,postProcesses:n.postProcesses})||this).sourceRevision_=-1,l.verticesBuffer_=new f(34962,35048),l.hitVerticesBuffer_=new f(34962,35048),l.indicesBuffer_=new f(34963,35048),l.program_=l.helper.getProgram(n.fragmentShader,n.vertexShader),l.hitDetectionEnabled_=!(!n.hitFragmentShader||!n.hitVertexShader),l.hitProgram_=l.hitDetectionEnabled_&&l.helper.getProgram(n.hitFragmentShader,n.hitVertexShader);var o=n.attributes?n.attributes.map((function(t){return{name:"a_"+t.name,size:1,type:w.FLOAT}})):[];l.attributes=[{name:"a_position",size:2,type:w.FLOAT},{name:"a_index",size:1,type:w.FLOAT}].concat(o),l.hitDetectionAttributes=[{name:"a_position",size:2,type:w.FLOAT},{name:"a_index",size:1,type:w.FLOAT},{name:"a_hitColor",size:4,type:w.FLOAT},{name:"a_featureUid",size:1,type:w.FLOAT}].concat(o),l.customAttributes=n.attributes?n.attributes:[],l.previousExtent_=Object(E.j)(),l.currentTransform_=r,l.renderTransform_=Object(g.c)(),l.invertRenderTransform_=Object(g.c)(),l.renderInstructions_=new Float32Array(0),l.hitRenderInstructions_=new Float32Array(0),l.hitRenderTarget_=l.hitDetectionEnabled_&&new R(l.helper),l.worker_=new Worker(L),l.worker_.addEventListener("message",(function(t){var e=t.data;if("GENERATE_BUFFERS"===e.type){var n=e.projectionTransform;e.hitDetection?(this.hitVerticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.hitVerticesBuffer_)):(this.verticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_)),this.indicesBuffer_.fromArrayBuffer(e.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=n,Object(g.d)(this.invertRenderTransform_,this.renderTransform_),e.hitDetection?this.hitRenderInstructions_=new Float32Array(t.data.renderInstructions):this.renderInstructions_=new Float32Array(t.data.renderInstructions),this.getLayer().changed()}}).bind(l)),l.featureCache_={},l.featureCount_=0;var a=l.getLayer().getSource();return l.sourceListenKeys_=[Object(N.a)(a,Y.a.ADDFEATURE,l.handleSourceFeatureAdded_,l),Object(N.a)(a,Y.a.CHANGEFEATURE,l.handleSourceFeatureChanged_,l),Object(N.a)(a,Y.a.REMOVEFEATURE,l.handleSourceFeatureDelete_,l),Object(N.a)(a,Y.a.CLEAR,l.handleSourceFeatureClear_,l)],a.forEachFeature((function(t){this.featureCache_[Object(b.c)(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++}).bind(l)),l}return U(e,t),e.prototype.handleSourceFeatureAdded_=function(t){var e=t.feature;this.featureCache_[Object(b.c)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++},e.prototype.handleSourceFeatureChanged_=function(t){var e=t.feature;this.featureCache_[Object(b.c)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}},e.prototype.handleSourceFeatureDelete_=function(t){var e=t.feature;delete this.featureCache_[Object(b.c)(e)],this.featureCount_--},e.prototype.handleSourceFeatureClear_=function(){this.featureCache_={},this.featureCount_=0},e.prototype.renderFrame=function(t){var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e),this.helper.finalizeDraw(t);var n=this.helper.getCanvas(),l=t.layerStatesArray[t.layerIndex].opacity;return l!==parseFloat(n.style.opacity)&&(n.style.opacity=l),this.hitDetectionEnabled_&&(this.renderHitDetection(t),this.hitRenderTarget_.clearCachedData()),n},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource(),l=t.viewState,i=!t.viewHints[T.a.ANIMATING]&&!t.viewHints[T.a.INTERACTING],r=!Object(E.p)(this.previousExtent_,t.extent),o=this.sourceRevision_<n.getRevision();if(o&&(this.sourceRevision_=n.getRevision()),i&&(r||o)){var a=l.projection,s=l.resolution,u=e instanceof F.a?e.getRenderBuffer():0,c=Object(E.c)(t.extent,u*s);n.loadFeatures(c,s,a),this.rebuildBuffers_(t),this.previousExtent_=t.extent.slice()}return this.helper.makeProjectionTransform(t,this.currentTransform_),Object(g.f)(this.currentTransform_,this.invertRenderTransform_),this.helper.useProgram(this.program_),this.helper.prepareDraw(t),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0},e.prototype.rebuildBuffers_=function(t){var e=Object(g.c)();this.helper.makeProjectionTransform(t,e);var n,l,i=(2+this.customAttributes.length)*this.featureCount_;if(this.renderInstructions_&&this.renderInstructions_.length===i||(this.renderInstructions_=new Float32Array(i)),this.hitDetectionEnabled_){var r=(7+this.customAttributes.length)*this.featureCount_;this.hitRenderInstructions_&&this.hitRenderInstructions_.length===r||(this.hitRenderInstructions_=new Float32Array(r))}var o,a=[],s=[],u=0,c=0;for(var d in this.featureCache_)if((l=(n=this.featureCache_[d]).geometry)&&l.getType()===S.a.POINT){a[0]=l.getFlatCoordinates()[0],a[1]=l.getFlatCoordinates()[1],Object(g.a)(e,a),o=O(c+6,s),this.renderInstructions_[u++]=a[0],this.renderInstructions_[u++]=a[1],this.hitDetectionEnabled_&&(this.hitRenderInstructions_[c++]=a[0],this.hitRenderInstructions_[c++]=a[1],this.hitRenderInstructions_[c++]=o[0],this.hitRenderInstructions_[c++]=o[1],this.hitRenderInstructions_[c++]=o[2],this.hitRenderInstructions_[c++]=o[3],this.hitRenderInstructions_[c++]=Number(d));for(var h=void 0,p=0;p<this.customAttributes.length;p++)h=this.customAttributes[p].callback(n.feature,n.properties),this.renderInstructions_[u++]=h,this.hitDetectionEnabled_&&(this.hitRenderInstructions_[c++]=h)}var f={type:"GENERATE_BUFFERS",renderInstructions:this.renderInstructions_.buffer,customAttributesCount:this.customAttributes.length};if(f.projectionTransform=e,this.worker_.postMessage(f,[this.renderInstructions_.buffer]),this.renderInstructions_=null,this.hitDetectionEnabled_){var b={type:"GENERATE_BUFFERS",renderInstructions:this.hitRenderInstructions_.buffer,customAttributesCount:5+this.customAttributes.length};b.projectionTransform=e,b.hitDetection=!0,this.worker_.postMessage(b,[this.hitRenderInstructions_.buffer]),this.hitRenderInstructions_=null}},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,l,i){if(Object(h.a)(this.hitDetectionEnabled_,66),this.hitRenderInstructions_){var r=Object(g.a)(e.coordinateToPixelTransform,t.slice()),o=this.hitRenderTarget_.readPixel(r[0]/2,r[1]/2),a=(c=[o[0]/255,o[1]/255,o[2]/255,o[3]/255],d=0,d+=Math.round(256*c[0]*256*256*255),d+=Math.round(256*c[1]*256*255),(d+=Math.round(256*c[2]*255))+Math.round(255*c[3])),s=Math.floor(this.hitRenderInstructions_[a]).toString(),u=this.getLayer().getSource().getFeatureByUid(s);return u?l(u,this.getLayer()):void 0}var c,d},e.prototype.renderHitDetection=function(t){if(this.hitVerticesBuffer_.getSize()){this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.useProgram(this.hitProgram_),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0),this.helper.bindBuffer(this.hitVerticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.hitDetectionAttributes);var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e)}},e.prototype.disposeInternal=function(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach((function(t){Object(N.c)(t)})),this.sourceListenKeys_=null,t.prototype.disposeInternal.call(this)},e}(D),z=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),G=["#00f","#0ff","#0f0","#ff0","#f00"],H=function(t){function e(e){var n=this,l=e||{},i=Object(u.a)({},l);delete i.gradient,delete i.radius,delete i.blur,delete i.weight,(n=t.call(this,i)||this).gradient_=null,n.addEventListener(Object(r.b)("gradient"),n.handleGradientChanged_),n.setGradient(l.gradient?l.gradient:G),n.setBlur(void 0!==l.blur?l.blur:15),n.setRadius(void 0!==l.radius?l.radius:8);var o=l.weight?l.weight:"weight";return n.weightFunction_="string"==typeof o?function(t){return t.get(o)}:o,n.setRenderOrder(null),n}return z(e,t),e.prototype.getBlur=function(){return this.get("blur")},e.prototype.getGradient=function(){return this.get("gradient")},e.prototype.getRadius=function(){return this.get("radius")},e.prototype.handleGradientChanged_=function(){this.gradient_=function(t){for(var e=Object(o.a)(1,256),n=e.createLinearGradient(0,0,1,256),l=1/(t.length-1),i=0,r=t.length;i<r;++i)n.addColorStop(i*l,t[i]);return e.fillStyle=n,e.fillRect(0,0,1,256),e.canvas}(this.getGradient())},e.prototype.setBlur=function(t){this.set("blur",t)},e.prototype.setGradient=function(t){this.set("gradient",t)},e.prototype.setRadius=function(t){this.set("radius",t)},e.prototype.createRenderer=function(){return new B(this,{attributes:[{name:"weight",callback:(function(t){var e=this.weightFunction_(t);return void 0!==e?Object(s.a)(e,0,1):1}).bind(this)}],vertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_weight = a_weight;\n }",fragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n gl_FragColor = vec4(alpha, alpha, alpha, alpha);\n }",hitVertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n attribute vec4 a_hitColor;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_hitColor = a_hitColor;\n v_weight = a_weight;\n }",hitFragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n if (alpha < 0.05) {\n discard;\n }\n\n gl_FragColor = v_hitColor;\n }",uniforms:{u_size:(function(){return 2*(this.get("radius")+this.get("blur"))}).bind(this),u_blurSlope:(function(){return this.get("radius")/Math.max(1,this.get("blur"))}).bind(this)},postProcesses:[{fragmentShader:"\n precision mediump float;\n\n uniform sampler2D u_image;\n uniform sampler2D u_gradientTexture;\n\n varying vec2 v_texCoord;\n\n void main() {\n vec4 color = texture2D(u_image, v_texCoord);\n gl_FragColor.a = color.a;\n gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;\n gl_FragColor.rgb *= gl_FragColor.a;\n }",uniforms:{u_gradientTexture:(function(){return this.gradient_}).bind(this)}}]})},e}(a.a),V=n("JW8z"),q=n("9ANI"),W=n("TN97"),$=n("914O"),X=n("ppab");n("svHU"),n.d(e,"a",(function(){return K}));class K extends X.a{constructor(t){super(),this.mapService=t,this.popFeatures={},this.currentZoom=this.mapService.getView().getZoom(),this.detectZoomChange(),this.getLayer(!0)}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",this.layer)}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",this.layer),this.source.clear(),this.popFeatures={},this.moveendWatcher=void 0}getHeatmapProperties(t){0===t&&(t=1);const e=610/this.mapService.getView().getResolution(),n=Math.round(25*e)/2;return{blur:Math.round(e/2*10),radius:n}}detectZoomChange(){this.moveendWatcher=this.mapService.getMap().on("moveend",t=>{const e=this.mapService.getView().getZoom();if(this.currentZoom!==e&&this.layer){const t=this.getHeatmapProperties(e);this.currentZoom=e,this.layer.setBlur(t.blur),this.layer.setRadius(t.radius)}})}getSource(t=!1){return this.source&&!0!==t||(this.source=new i.a),this.source}getLayer(t=!1){if(this.source&&!0!==t||this.getSource(t),!this.layer||!0===t){const t=this.getHeatmapProperties(this.currentZoom);this.layer=new H({name:"Population",source:this.source,zIndex:10,opacity:.5,blur:t.blur,radius:t.radius})}return this.layer}displayPopulation(t){if(t.length>0){const e=this.getMaxAveragePop(t),n=[];this.setUpdatedFeatureToFalse(),t.forEach(t=>{const l=t.h3index,i=t.population/e,r=i>1?1:i;if(this.popFeatures[l])this.popFeatures[l].values_.isUpdated_=!0;else{const t=$.a(l).reverse(),e=Object(V.d)(t),i=new q.a(e),o=new W.a({geometry:i,id_:l,type_:"population",isUpdated_:!0,weight:r});this.popFeatures[l]=o,n.push(this.popFeatures[l])}}),this.removeOldFeature(),this.source.addFeatures(n)}else this.removeOldFeature()}removePop(){this.source.clear(),this.popFeatures={}}removeOldFeature(){for(let t in this.popFeatures)if(this.popFeatures.hasOwnProperty(t)){const e=this.popFeatures[t];0==e.values_.isUpdated_&&(this.source.removeFeature(e),delete this.popFeatures[t])}}setUpdatedFeatureToFalse(){for(let t in this.popFeatures)this.popFeatures.hasOwnProperty(t)&&(this.popFeatures[t].values_.isUpdated_=!1)}getMaxAveragePop(t){let e=0;return t.forEach(t=>{t.population>e&&(e=t.population)}),e}}},ZwOa:function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return s})),n("oapL");var l=n("8Y7J"),i=n("KCVW"),r=n("/HVE"),o=n("Xd0L"),a=n("XNiG");const s=new l.w("MAT_INPUT_VALUE_ACCESSOR"),u=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let c=0;class d{constructor(t,e,n,l){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=l}}const h=Object(o.H)(d);class p extends h{constructor(t,e,n,l,i,o,s,u,d){super(o,l,i,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=u,this._uid="mat-input-"+c++,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new a.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(r.f)().has(t));const h=this._elementRef.nativeElement;this._inputValueAccessor=s||h,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(r.f)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(i.c)(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(u.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}class f{}},Zy1z:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(){return t=>t.lift(new r)}class r{call(t,e){return e.subscribe(new o(t))}}class o extends l.a{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},a5kt:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("B2q1"),i=(n("svHU"),n("G0WM"),n("YGmB"),n("7/LY"),n("Amq3"));class r extends i.a{constructor(t,e,n,l,i,r){super(t,e,n,l,i,r),this.route=t,this.mapService=e,this.mapElement=n,this.aircraftService=l,this.trafficService=i,this.selectAircraftService=r}ngOnInit(){this.mapService.getMap().defaultBbox={zoom:null,lon:null,lat:null},this.mapService.getMap().setTarget(this.mapElement.nativeElement),this.setControl(),this.setCenterAndZoomMap(),this.readUrlQuery()}setControl(){this.mapService.getMap().addControl(new l.a({collapsible:!0}))}}},aECi:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("Mc5n");class i{constructor(t,e){this.dialogRef=t,this.data=e,this.allFields=["callsign","registration","icaoTypeCode","squawk","altitude","route","icao","userTags","providers","longitude","latitude","speed","country"],this.panelFields=[],this.otherFields=[]}ngOnInit(){this.panelFields=this.data,this.otherFields=this.allFields.filter(t=>!this.panelFields.includes(t))}ngOnDestroy(){}drop(t){t.previousContainer===t.container?Object(l.j)(t.container.data,t.previousIndex,t.currentIndex):Object(l.k)(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}closeModal(){this.dialogRef.close(this.panelFields)}}},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}var n=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],l=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,i=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:i,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:i,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aK3z:function(t,e,n){window,t.exports=function(t,e){if("undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");var n=!1;function l(){n||(n=!0,console.warn("[KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead."))}function i(t){return t.__proto__=r.prototype,t}function r(t){return i(new Promise(t))}return(r.prototype=Object.create(Promise.prototype)).constructor=r,r.prototype.success=function(t){return l(),i(this.then((function(e){t(e)})))},r.prototype.error=function(t){return l(),i(this.catch((function(e){t(e)})))},function n(l){if(!(this instanceof n))return new n(l);for(var i,o,a=this,s=[],u={enable:!0,callbackList:[],interval:5},c=document.getElementsByTagName("script"),d=0;d<c.length;d++)-1===c[d].src.indexOf("keycloak.js")&&-1===c[d].src.indexOf("keycloak.min.js")||-1===c[d].src.indexOf("version=")||(a.iframeVersion=c[d].src.substring(c[d].src.indexOf("version=")+8).split("&")[0]);var h=!0,p=T(console.info),f=T(console.warn);function b(t,e){for(var n=function(t){var e=null,n=window.crypto||window.msCrypto;if(n&&n.getRandomValues&&window.Uint8Array)return e=new Uint8Array(t),n.getRandomValues(e),e;e=new Array(t);for(var l=0;l<e.length;l++)e[l]=Math.floor(256*Math.random());return e}(t),l=new Array(t),i=0;i<t;i++)l[i]=e.charCodeAt(n[i]%e.length);return String.fromCharCode.apply(null,l)}function m(){return void 0!==a.authServerUrl?"/"==a.authServerUrl.charAt(a.authServerUrl.length-1)?a.authServerUrl+"realms/"+encodeURIComponent(a.realm):a.authServerUrl+"/realms/"+encodeURIComponent(a.realm):void 0}function g(t,e){var n=t.code,l=t.error,i=t.prompt,r=(new Date).getTime();if(l)if("none"!=i){var o={error:l,error_description:t.error_description};a.onAuthError&&a.onAuthError(o),e&&e.setError(o)}else e&&e.setSuccess();else if("standard"!=a.flow&&(t.access_token||t.id_token)&&d(t.access_token,null,t.id_token,!0),"implicit"!=a.flow&&n){var s="code="+n+"&grant_type=authorization_code",u=a.endpoints.token(),c=new XMLHttpRequest;c.open("POST",u,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(a.clientId),s+="&redirect_uri="+t.redirectUri,t.pkceCodeVerifier&&(s+="&code_verifier="+t.pkceCodeVerifier),c.withCredentials=!0,c.onreadystatechange=function(){if(4==c.readyState)if(200==c.status){var t=JSON.parse(c.responseText);d(t.access_token,t.refresh_token,t.id_token,"standard"===a.flow),S()}else a.onAuthError&&a.onAuthError(),e&&e.setError()},c.send(s)}function d(n,l,i,o){y(n,l,i,r=(r+(new Date).getTime())/2),h&&(a.tokenParsed&&a.tokenParsed.nonce!=t.storedNonce||a.refreshTokenParsed&&a.refreshTokenParsed.nonce!=t.storedNonce||a.idTokenParsed&&a.idTokenParsed.nonce!=t.storedNonce)?(p("[KEYCLOAK] Invalid nonce, clearing token"),a.clearToken(),e&&e.setError()):o&&(a.onAuthSuccess&&a.onAuthSuccess(),e&&e.setSuccess())}}function _(t){return 0==t.status&&t.responseText&&t.responseURL.startsWith("file:")}function y(t,e,n,l){if(a.tokenTimeoutHandle&&(clearTimeout(a.tokenTimeoutHandle),a.tokenTimeoutHandle=null),e?(a.refreshToken=e,a.refreshTokenParsed=A(e)):(delete a.refreshToken,delete a.refreshTokenParsed),n?(a.idToken=n,a.idTokenParsed=A(n)):(delete a.idToken,delete a.idTokenParsed),t){if(a.token=t,a.tokenParsed=A(t),a.sessionId=a.tokenParsed.session_state,a.authenticated=!0,a.subject=a.tokenParsed.sub,a.realmAccess=a.tokenParsed.realm_access,a.resourceAccess=a.tokenParsed.resource_access,l&&(a.timeSkew=Math.floor(l/1e3)-a.tokenParsed.iat),null!=a.timeSkew&&(p("[KEYCLOAK] Estimated time difference between browser and server is "+a.timeSkew+" seconds"),a.onTokenExpired)){var i=1e3*(a.tokenParsed.exp-(new Date).getTime()/1e3+a.timeSkew);p("[KEYCLOAK] Token expires in "+Math.round(i/1e3)+" s"),i<=0?a.onTokenExpired():a.tokenTimeoutHandle=setTimeout(a.onTokenExpired,i)}}else delete a.token,delete a.tokenParsed,delete a.subject,delete a.realmAccess,delete a.resourceAccess,a.authenticated=!1}function A(t){switch((t=(t=(t=t.split(".")[1]).replace("/-/g","+")).replace("/_/g","/")).length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Invalid token"}return t=(t=(t+"===").slice(0,t.length+t.length%4)).replace(/-/g,"+").replace(/_/g,"/"),t=decodeURIComponent(escape(atob(t))),JSON.parse(t)}function v(){var t=b(36,"0123456789abcdef").split("");return t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}function C(t){var e=function(t){var e;switch(a.flow){case"standard":e=["code","state","session_state"];break;case"implicit":e=["access_token","token_type","id_token","state","session_state","expires_in"];break;case"hybrid":e=["access_token","id_token","code","state","session_state"]}e.push("error"),e.push("error_description"),e.push("error_uri");var n,l,i=t.indexOf("?"),r=t.indexOf("#");if("query"===a.responseMode&&-1!==i?(n=t.substring(0,i),""!==(l=w(t.substring(i+1,-1!==r?r:t.length),e)).paramsString&&(n+="?"+l.paramsString),-1!==r&&(n+=t.substring(r))):"fragment"===a.responseMode&&-1!==r&&(n=t.substring(0,r),""!==(l=w(t.substring(r+1),e)).paramsString&&(n+="#"+l.paramsString)),l&&l.oauthParams)if("standard"===a.flow||"hybrid"===a.flow){if((l.oauthParams.code||l.oauthParams.error)&&l.oauthParams.state)return l.oauthParams.newUrl=n,l.oauthParams}else if("implicit"===a.flow&&(l.oauthParams.access_token||l.oauthParams.error)&&l.oauthParams.state)return l.oauthParams.newUrl=n,l.oauthParams}(t);if(e){var n=o.get(e.state);return n&&(e.valid=!0,e.redirectUri=n.redirectUri,e.storedNonce=n.nonce,e.prompt=n.prompt,e.pkceCodeVerifier=n.pkceCodeVerifier),e}}function w(t,e){for(var n=t.split("&"),l={paramsString:"",oauthParams:{}},i=0;i<n.length;i++){var r=n[i].indexOf("="),o=n[i].slice(0,r);-1!==e.indexOf(o)?l.oauthParams[o]=n[i].slice(r+1):(""!==l.paramsString&&(l.paramsString+="&"),l.paramsString+=n[i])}return l}function P(){var t={setSuccess:function(e){t.resolve(e)},setError:function(e){t.reject(e)}};return t.promise=new r((function(e,n){t.resolve=e,t.reject=n})),t}function x(){var t=P();if(!u.enable)return t.setSuccess(),t.promise;if(u.iframe)return t.setSuccess(),t.promise;var e=document.createElement("iframe");u.iframe=e,e.onload=function(){var e=a.endpoints.authorize();u.iframeOrigin="/"===e.charAt(0)?window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):e.substring(0,e.indexOf("/",8)),t.setSuccess()};var n=a.endpoints.checkSessionIframe();return e.setAttribute("src",n),e.setAttribute("title","keycloak-session-iframe"),e.style.display="none",document.body.appendChild(e),window.addEventListener("message",(function(t){if(t.origin===u.iframeOrigin&&u.iframe.contentWindow===t.source&&("unchanged"==t.data||"changed"==t.data||"error"==t.data)){"unchanged"!=t.data&&a.clearToken();for(var e=u.callbackList.splice(0,u.callbackList.length),n=e.length-1;n>=0;--n){var l=e[n];"error"==t.data?l.setError():l.setSuccess("unchanged"==t.data)}}}),!1),t.promise}function S(){u.enable&&a.token&&setTimeout((function(){k().then((function(t){t&&S()}))}),1e3*u.interval)}function k(){var t=P();if(u.iframe&&u.iframeOrigin){var e=a.clientId+" "+(a.sessionId?a.sessionId:"");u.callbackList.push(t),1==u.callbackList.length&&u.iframe.contentWindow.postMessage(e,u.iframeOrigin)}else t.setSuccess();return t.promise}function M(t){if(!t||"default"==t)return{login:function(t){return window.location.replace(a.createLoginUrl(t)),P().promise},logout:function(t){return window.location.replace(a.createLogoutUrl(t)),P().promise},register:function(t){return window.location.replace(a.createRegisterUrl(t)),P().promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";return window.location.href=t,P().promise},redirectUri:function(t,e){return 1==arguments.length&&(e=!0),t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:location.href}};if("cordova"==t){u.enable=!1;var e=function(t,e,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(t,e,n):window.open(t,e,n)},n=function(t){var e=function(t){return t&&t.cordovaOptions?Object.keys(t.cordovaOptions).reduce((function(e,n){return e[n]=t.cordovaOptions[n],e}),{}):{}}(t);return e.location="no",t&&"none"==t.prompt&&(e.hidden="yes"),function(t){return Object.keys(t).reduce((function(e,n){return e.push(n+"="+t[n]),e}),[]).join(",")}(e)};return{login:function(t){var l=P(),i=n(t),r=a.createLoginUrl(t),o=e(r,"_blank",i),s=!1,u=!1,c=function(){u=!0,o.close()};return o.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&(g(C(t.url),l),c(),s=!0)})),o.addEventListener("loaderror",(function(t){s||(0==t.url.indexOf("http://localhost")?(g(C(t.url),l),c(),s=!0):(l.setError(),c()))})),o.addEventListener("exit",(function(t){u||l.setError({reason:"closed_by_user"})})),l.promise},logout:function(t){var n,l=P(),i=a.createLogoutUrl(t),r=e(i,"_blank","location=no,hidden=yes");return r.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&r.close()})),r.addEventListener("loaderror",(function(t){0==t.url.indexOf("http://localhost")||(n=!0),r.close()})),r.addEventListener("exit",(function(t){n?l.setError():(a.clearToken(),l.setSuccess())})),l.promise},register:function(t){var l=P(),i=a.createRegisterUrl(),r=n(t),o=e(i,"_blank",r);return o.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&(o.close(),g(C(t.url),l))})),l.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";var n=e(t,"_blank","location=no");n.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&n.close()}))},redirectUri:function(t){return"http://localhost"}}}if("cordova-native"==t)return u.enable=!1,{login:function(t){var e=P(),n=a.createLoginUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(C(t.url),e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},logout:function(t){var e=P(),n=a.createLogoutUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),a.clearToken(),e.setSuccess()})),window.cordova.plugins.browsertab.openUrl(n),e.promise},register:function(t){var e=P(),n=a.createRegisterUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(C(t.url),e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(t)},redirectUri:function(t){return t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:"http://localhost"}};throw"invalid adapter type: "+t}a.init=function(t){if(a.authenticated=!1,o=function(){try{return new O}catch(t){}return new D}(),i=t&&["default","cordova","cordova-native"].indexOf(t.adapter)>-1?M(t.adapter):t&&"object"==typeof t.adapter?t.adapter:window.Cordova||window.cordova?M("cordova"):M(),t){if(void 0!==t.useNonce&&(h=t.useNonce),void 0!==t.checkLoginIframe&&(u.enable=t.checkLoginIframe),t.checkLoginIframeInterval&&(u.interval=t.checkLoginIframeInterval),"login-required"===t.onLoad&&(a.loginRequired=!0),t.responseMode){if("query"!==t.responseMode&&"fragment"!==t.responseMode)throw"Invalid value for responseMode";a.responseMode=t.responseMode}if(t.flow){switch(t.flow){case"standard":a.responseType="code";break;case"implicit":a.responseType="id_token token";break;case"hybrid":a.responseType="code id_token token";break;default:throw"Invalid value for flow"}a.flow=t.flow}if(null!=t.timeSkew&&(a.timeSkew=t.timeSkew),t.redirectUri&&(a.redirectUri=t.redirectUri),t.silentCheckSsoRedirectUri&&(a.silentCheckSsoRedirectUri=t.silentCheckSsoRedirectUri),t.pkceMethod){if("S256"!==t.pkceMethod)throw"Invalid value for pkceMethod";a.pkceMethod=t.pkceMethod}a.enableLogging="boolean"==typeof t.enableLogging&&t.enableLogging}a.responseMode||(a.responseMode="fragment"),a.responseType||(a.responseType="code",a.flow="standard");var e=P(),n=P();n.promise.then((function(){a.onReady&&a.onReady(a.authenticated),e.setSuccess(a.authenticated)})).catch((function(t){e.setError(t)}));var r=function(t){var e,n=P();function i(t){a.endpoints=t?{authorize:function(){return t.authorization_endpoint},token:function(){return t.token_endpoint},logout:function(){if(!t.end_session_endpoint)throw"Not supported by the OIDC server";return t.end_session_endpoint},checkSessionIframe:function(){if(!t.check_session_iframe)throw"Not supported by the OIDC server";return t.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!t.userinfo_endpoint)throw"Not supported by the OIDC server";return t.userinfo_endpoint}}:{authorize:function(){return m()+"/protocol/openid-connect/auth"},token:function(){return m()+"/protocol/openid-connect/token"},logout:function(){return m()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var t=m()+"/protocol/openid-connect/login-status-iframe.html";return a.iframeVersion&&(t=t+"?version="+a.iframeVersion),t},register:function(){return m()+"/protocol/openid-connect/registrations"},userinfo:function(){return m()+"/protocol/openid-connect/userinfo"}}}if(l?"string"==typeof l&&(e=l):e="keycloak.json",e)(s=new XMLHttpRequest).open("GET",e,!0),s.setRequestHeader("Accept","application/json"),s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status||_(s)){var t=JSON.parse(s.responseText);a.authServerUrl=t["auth-server-url"],a.realm=t.realm,a.clientId=t.resource,i(null),n.setSuccess()}else n.setError()},s.send();else{if(!l.clientId)throw"clientId missing";a.clientId=l.clientId;var r=l.oidcProvider;if(r){var o,s;"string"==typeof r?(o="/"==r.charAt(r.length-1)?r+".well-known/openid-configuration":r+"/.well-known/openid-configuration",(s=new XMLHttpRequest).open("GET",o,!0),s.setRequestHeader("Accept","application/json"),s.onreadystatechange=function(){4==s.readyState&&(200==s.status||_(s)?(i(JSON.parse(s.responseText)),n.setSuccess()):n.setError())},s.send()):(i(r),n.setSuccess())}else{if(!l.url)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++)if(u[c].src.match(/.*keycloak\.js/)){l.url=u[c].src.substr(0,u[c].src.indexOf("/js/keycloak.js"));break}if(!l.realm)throw"realm missing";a.authServerUrl=l.url,a.realm=l.realm,i(null),n.setSuccess()}}return n.promise}();function s(){var e=function(t){t||(i.prompt="none"),a.login(i).then((function(){n.setSuccess()})).catch((function(){n.setError()}))},l=function(){var t=document.createElement("iframe"),e=a.createLoginUrl({prompt:"none",redirectUri:a.silentCheckSsoRedirectUri});t.setAttribute("src",e),t.setAttribute("title","keycloak-silent-check-sso"),t.style.display="none",document.body.appendChild(t);var l=function(e){e.origin===window.location.origin&&t.contentWindow===e.source&&(g(C(e.data),n),document.body.removeChild(t),window.removeEventListener("message",l))};window.addEventListener("message",l)},i={};switch(t.onLoad){case"check-sso":u.enable?x().then((function(){k().then((function(t){t?n.setSuccess():a.silentCheckSsoRedirectUri?l():e(!1)})).catch((function(){n.setError()}))})):a.silentCheckSsoRedirectUri?l():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}return r.then((function(){var e=C(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return x().then((function(){g(e,n)})).catch((function(t){n.setError()}));t?t.token&&t.refreshToken?(y(t.token,t.refreshToken,t.idToken),u.enable?x().then((function(){k().then((function(t){t?(a.onAuthSuccess&&a.onAuthSuccess(),n.setSuccess(),S()):n.setSuccess()})).catch((function(){n.setError()}))})):a.updateToken(-1).then((function(){a.onAuthSuccess&&a.onAuthSuccess(),n.setSuccess()})).catch((function(){a.onAuthError&&a.onAuthError(),t.onLoad?s():n.setError()}))):t.onLoad?s():n.setSuccess():n.setSuccess()})),r.catch((function(){e.setError()})),e.promise},a.login=function(t){return i.login(t)},a.createLoginUrl=function(n){var l,r,s=v(),u=v(),c=i.redirectUri(n),d={state:s,nonce:u,redirectUri:encodeURIComponent(c)};n&&n.prompt&&(d.prompt=n.prompt),l=n&&"register"==n.action?a.endpoints.register():a.endpoints.authorize(),r=n&&n.scope?-1!=n.scope.indexOf("openid")?n.scope:"openid "+n.scope:"openid";var p=l+"?client_id="+encodeURIComponent(a.clientId)+"&redirect_uri="+encodeURIComponent(c)+"&state="+encodeURIComponent(s)+"&response_mode="+encodeURIComponent(a.responseMode)+"&response_type="+encodeURIComponent(a.responseType)+"&scope="+encodeURIComponent(r);if(h&&(p=p+"&nonce="+encodeURIComponent(u)),n&&n.prompt&&(p+="&prompt="+encodeURIComponent(n.prompt)),n&&n.maxAge&&(p+="&max_age="+encodeURIComponent(n.maxAge)),n&&n.loginHint&&(p+="&login_hint="+encodeURIComponent(n.loginHint)),n&&n.idpHint&&(p+="&kc_idp_hint="+encodeURIComponent(n.idpHint)),n&&n.locale&&(p+="&ui_locales="+encodeURIComponent(n.locale)),a.pkceMethod){var f=b(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");d.pkceCodeVerifier=f,p+="&code_challenge="+function(n,l){switch(n){case"S256":var i=new Uint8Array(t.arrayBuffer(l));return e.fromByteArray(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"");default:throw"Invalid value for pkceMethod"}}(a.pkceMethod,f),p+="&code_challenge_method="+a.pkceMethod}return o.add(d),p},a.logout=function(t){return i.logout(t)},a.createLogoutUrl=function(t){return a.endpoints.logout()+"?redirect_uri="+encodeURIComponent(i.redirectUri(t,!1))},a.register=function(t){return i.register(t)},a.createRegisterUrl=function(t){return t||(t={}),t.action="register",a.createLoginUrl(t)},a.createAccountUrl=function(t){var e=m(),n=void 0;return void 0!==e&&(n=e+"/account?referrer="+encodeURIComponent(a.clientId)+"&referrer_uri="+encodeURIComponent(i.redirectUri(t))),n},a.accountManagement=function(){return i.accountManagement()},a.hasRealmRole=function(t){var e=a.realmAccess;return!!e&&e.roles.indexOf(t)>=0},a.hasResourceRole=function(t,e){if(!a.resourceAccess)return!1;var n=a.resourceAccess[e||a.clientId];return!!n&&n.roles.indexOf(t)>=0},a.loadUserProfile=function(){var t=m()+"/account",e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=P();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.profile=JSON.parse(e.responseText),n.setSuccess(a.profile)):n.setError())},e.send(),n.promise},a.loadUserInfo=function(){var t=a.endpoints.userinfo(),e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=P();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.userInfo=JSON.parse(e.responseText),n.setSuccess(a.userInfo)):n.setError())},e.send(),n.promise},a.isTokenExpired=function(t){if(!a.tokenParsed||!a.refreshToken&&"implicit"!=a.flow)throw"Not authenticated";if(null==a.timeSkew)return p("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var e=a.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+a.timeSkew;if(t){if(isNaN(t))throw"Invalid minValidity";e-=t}return e<0},a.updateToken=function(t){var e=P();if(!a.refreshToken)return e.setError(),e.promise;t=t||5;var n=function(){var n=!1;if(-1==t?(n=!0,p("[KEYCLOAK] Refreshing token: forced refresh")):a.tokenParsed&&!a.isTokenExpired(t)||(n=!0,p("[KEYCLOAK] Refreshing token: token expired")),n){var l="grant_type=refresh_token&refresh_token="+a.refreshToken,i=a.endpoints.token();if(s.push(e),1==s.length){var r=new XMLHttpRequest;r.open("POST",i,!0),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.withCredentials=!0,l+="&client_id="+encodeURIComponent(a.clientId);var o=(new Date).getTime();r.onreadystatechange=function(){if(4==r.readyState)if(200==r.status){p("[KEYCLOAK] Token refreshed"),o=(o+(new Date).getTime())/2;var t=JSON.parse(r.responseText);y(t.access_token,t.refresh_token,t.id_token,o),a.onAuthRefreshSuccess&&a.onAuthRefreshSuccess();for(var e=s.pop();null!=e;e=s.pop())e.setSuccess(!0)}else for(f("[KEYCLOAK] Failed to refresh token"),400==r.status&&a.clearToken(),a.onAuthRefreshError&&a.onAuthRefreshError(),e=s.pop();null!=e;e=s.pop())e.setError(!0)},r.send(l)}}else e.setSuccess(!1)};return u.enable?k().then((function(){n()})).catch((function(){e.setError()})):n(),e.promise},a.clearToken=function(){a.token&&(y(null,null,null),a.onAuthLogout&&a.onAuthLogout(),a.loginRequired&&a.login())};var O=function(){if(!(this instanceof O))return new O;function t(){for(var t=(new Date).getTime(),e=0;e<localStorage.length;e++){var n=localStorage.key(e);if(n&&0==n.indexOf("kc-callback-")){var l=localStorage.getItem(n);if(l)try{var i=JSON.parse(l).expires;(!i||i<t)&&localStorage.removeItem(n)}catch(r){localStorage.removeItem(n)}}}}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(e){if(e){var n="kc-callback-"+e,l=localStorage.getItem(n);return l&&(localStorage.removeItem(n),l=JSON.parse(l)),t(),l}},this.add=function(e){t();var n="kc-callback-"+e.state;e.expires=(new Date).getTime()+36e5,localStorage.setItem(n,JSON.stringify(e))}},D=function(){if(!(this instanceof D))return new D;this.get=function(l){if(l){var i=e("kc-callback-"+l);return n("kc-callback-"+l,"",t(-100)),i?JSON.parse(i):void 0}},this.add=function(e){n("kc-callback-"+e.state,JSON.stringify(e),t(60))},this.removeItem=function(e){n(e,"",t(-100))};var t=function(t){var e=new Date;return e.setTime(e.getTime()+60*t*1e3),e},e=function(t){for(var e=t+"=",n=document.cookie.split(";"),l=0;l<n.length;l++){for(var i=n[l];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(e))return i.substring(e.length,i.length)}return""},n=function(t,e,n){var l=t+"="+e+"; expires="+n.toUTCString()+"; ";document.cookie=l}};function T(t){return function(){a.enableLogging&&t.apply(console,Array.prototype.slice.call(arguments))}}}}(n("bCcq"),n("ohmy"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aWqo:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("ppab"),i=n("7/LY");n("svHU");class r extends l.a{constructor(t,e,n){super(),this.ref=t,this.mapService=e,this.selectAircraftService=n,this.subscription={},this.selectedAircrafts={}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",super.getVectorLayer()),this.subscription.selectAircraftEvent=this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageSelectedAircrafts(t)})}ngOnDestroy(){for(const t in this.subscription)this.subscription.hasOwnProperty(t)&&this.subscription[t].unsubscribe()}manageSelectedAircrafts(t){t.haveOneStatus([i.a.WATCH,i.a.SELECT])?this.selectedAircrafts[t.aircraft.icao]?(t.aircraft.trace&&this.traceAircrafts.forEach(e=>{e.aircraft.icao===t.aircraft.icao&&e.updateTrace()}),t.aircraft.toAirport&&this.toTraceAircrafts.forEach(e=>{e.aircraft.icao===t.aircraft.icao&&e.updateTrace()})):this.selectedAircrafts[t.aircraft.icao]=t.aircraft:delete this.selectedAircrafts[t.aircraft.icao],this.ref.detectChanges()}}},"aY/Z":function(t,e,n){"use strict";e.a={BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right",CENTER_LEFT:"center-left",CENTER_CENTER:"center-center",CENTER_RIGHT:"center-right",TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right"}},acye:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("8Y7J"),i=(n("XrFG"),l.Bb({encapsulation:2,styles:[],data:{}}));function r(t){return l.Yb(2,[],null,null)}},aiEM:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return i})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return u})),n.d(e,"j",(function(){return c})),n.d(e,"k",(function(){return l}));const l=t=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t),i=t=>!!t.shadowRoot&&!!t.attachShadow,r=t=>{const e=t.closest("ion-item");return e?e.querySelector("ion-label"):null},o=(t,e,n,l,r)=>{if(t||i(e)){let t=e.querySelector("input.aux-input");t||(t=e.ownerDocument.createElement("input"),t.type="hidden",t.classList.add("aux-input"),e.appendChild(t)),t.disabled=r,t.name=n,t.value=l||""}},a=(t,e,n)=>Math.max(t,Math.min(e,n)),s=(t,e)=>{if(!t){const t="ASSERT: "+e;throw console.error(t),new Error(t)}},u=t=>t.timeStamp||Date.now(),c=t=>{if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];return{x:t.clientX,y:t.clientY}}if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY}}return{x:0,y:0}},d=t=>{const e="rtl"===document.dir;switch(t){case"start":return e;case"end":return!e;default:throw new Error(`"${t}" is not a valid value for [side]. Use "start" or "end" instead.`)}},h=(t,e)=>{const n=t._original||t;return{_original:t,emit:p(n.emit.bind(n),e)}},p=(t,e=0)=>{let n;return(...l)=>{clearTimeout(n),n=setTimeout(t,e,...l)}}},akSB:function(t,e,n){var l=n("AdPF"),i=n("0z79"),r=n("Cl5A"),o=n("CIKq");e.polling=function(t){var e=!1,n=!1,o=!1!==t.jsonp;if("undefined"!=typeof location){var a="https:"===location.protocol,s=location.port;s||(s=a?443:80),e=t.hostname!==location.hostname||s!==t.port,n=t.secure!==a}if(t.xdomain=e,t.xscheme=n,"open"in new l(t)&&!t.forceJSONP)return new i(t);if(!o)throw new Error("JSONP disabled");return new r(t)},e.websocket=o},"b1+6":function(t,e,n){"use strict";n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return O}));var l=n("8Y7J"),i=(n("OIZN"),n("NcP4"),n("SVse")),r=n("QQfA"),o=n("IP0z"),a=(n("POq0"),n("JjoW")),s=n("Mz6y"),u=n("cUpR"),c=n("Xd0L"),d=n("/HVE"),h=n("Fwaw"),p=(n("zMNK"),n("hOhj")),f=n("HsOI"),b=n("5GAg"),m=n("MlvX"),g=n("dJrM"),_=n("omvX"),y=n("Azqq"),A=n("s7LF"),v=n("bujt"),C=l.Bb({encapsulation:2,styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}"],data:{}});function w(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),i}),m.e,m.b)),l.Cb(1,8568832,[[10,4]],0,c.s,[l.p,l.j,[2,c.l],[2,c.r]],{value:[0,"value"]},null),(t()(),l.Wb(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function P(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"mat-form-field",[["class","mat-paginator-page-size-select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,g.b,g.a)),l.Cb(1,7520256,null,9,f.c,[l.p,l.j,[2,c.j],[2,o.b],[2,f.a],d.a,l.G,[2,_.a]],{color:[0,"color"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(11,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==l.Pb(t,13)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==l.Pb(t,13)._onFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,13)._onBlur()&&i),"selectionChange"===e&&(i=!1!==r._changePageSize(n.value)&&i),i}),y.b,y.a)),l.Tb(6144,null,c.l,null,[a.c]),l.Cb(13,2080768,null,3,a.c,[p.e,l.j,l.G,c.d,l.p,[2,o.b],[2,A.s],[2,A.k],[2,f.c],[8,null],[8,null],a.a,b.j],{disabled:[0,"disabled"],value:[1,"value"],ariaLabel:[2,"ariaLabel"]},{selectionChange:"selectionChange"}),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),l.Ub(603979776,12,{customTrigger:0}),l.Tb(2048,[[1,4],[2,4]],f.d,null,[a.c]),(t()(),l.sb(16777216,null,1,1,null,w)),l.Cb(19,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.color),t(e,13,0,n.disabled,n.pageSize,n._intl.itemsPerPageLabel),t(e,19,0,n._displayedPageSizeOptions)}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,13).id,l.Pb(e,13).tabIndex,l.Pb(e,13)._getAriaLabel(),l.Pb(e,13)._getAriaLabelledby(),l.Pb(e,13).required.toString(),l.Pb(e,13).disabled.toString(),l.Pb(e,13).errorState,l.Pb(e,13).panelOpen?l.Pb(e,13)._optionIds:null,l.Pb(e,13).multiple,l.Pb(e,13)._ariaDescribedby||null,l.Pb(e,13)._getAriaActiveDescendant(),l.Pb(e,13).disabled,l.Pb(e,13).errorState,l.Pb(e,13).required,l.Pb(e,13).empty])}))}function x(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.pageSize)}))}function S(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","mat-paginator-page-size"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"div",[["class","mat-paginator-page-size-label"]],null,null,null,null,null)),(t()(),l.Wb(2,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,P)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,x)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,n._displayedPageSizeOptions.length>1),t(e,6,0,n._displayedPageSizeOptions.length<=1)}),(function(t,e){t(e,2,0,e.component._intl.itemsPerPageLabel)}))}function k(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-first"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,2).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.firstPage()&&i),i}),v.b,v.a)),l.Cb(1,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(2,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,":svg:path",[["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"]],null,null,null,null,null)),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n._previousButtonsDisabled()),t(e,2,0,"above",n._previousButtonsDisabled(),n._intl.firstPageLabel)}),(function(t,e){t(e,0,0,e.component._intl.firstPageLabel,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function M(t){return l.Yb(0,[(t()(),l.Db(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-last"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,2).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.lastPage()&&i),i}),v.b,v.a)),l.Cb(1,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(2,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,":svg:path",[["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],null,null,null,null,null)),(t()(),l.sb(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n._nextButtonsDisabled()),t(e,2,0,"above",n._nextButtonsDisabled(),n._intl.lastPageLabel)}),(function(t,e){t(e,0,0,e.component._intl.lastPageLabel,l.Pb(e,1).disabled||null,"NoopAnimations"===l.Pb(e,1)._animationMode)}))}function O(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,20,"div",[["class","mat-paginator-outer-container"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,19,"div",[["class","mat-paginator-container"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,S)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(4,0,null,null,16,"div",[["class","mat-paginator-range-actions"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,1,"div",[["class","mat-paginator-range-label"]],null,null,null,null,null)),(t()(),l.Wb(6,null,["",""])),(t()(),l.sb(16777216,null,null,1,null,k)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(9,16777216,null,null,4,"button",[["class","mat-paginator-navigation-previous"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,11).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,11)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,11)._handleTouchend()&&i),"click"===e&&(i=!1!==r.previousPage()&&i),i}),v.b,v.a)),l.Cb(10,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(11,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(12,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,":svg:path",[["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"]],null,null,null,null,null)),(t()(),l.Db(14,16777216,null,null,4,"button",[["class","mat-paginator-navigation-next"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==l.Pb(t,16).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,16)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,16)._handleTouchend()&&i),"click"===e&&(i=!1!==r.nextPage()&&i),i}),v.b,v.a)),l.Cb(15,180224,null,0,h.b,[l.p,b.h,[2,_.a]],{disabled:[0,"disabled"]},null),l.Cb(16,212992,null,0,s.d,[r.c,l.p,p.b,l.Y,l.G,d.a,b.c,b.h,s.b,[2,o.b],[2,s.a],[2,u.f]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(t()(),l.Db(17,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,M)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,!n.hidePageSize),t(e,8,0,n.showFirstLastButtons),t(e,10,0,n._previousButtonsDisabled()),t(e,11,0,"above",n._previousButtonsDisabled(),n._intl.previousPageLabel),t(e,15,0,n._nextButtonsDisabled()),t(e,16,0,"above",n._nextButtonsDisabled(),n._intl.nextPageLabel),t(e,20,0,n.showFirstLastButtons)}),(function(t,e){var n=e.component;t(e,6,0,n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)),t(e,9,0,n._intl.previousPageLabel,l.Pb(e,10).disabled||null,"NoopAnimations"===l.Pb(e,10)._animationMode),t(e,14,0,n._intl.nextPageLabel,l.Pb(e,15).disabled||null,"NoopAnimations"===l.Pb(e,15)._animationMode)}))}},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},b2zq:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseIconControllerIconPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseIconControllerIcon(t){return this.getOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseIconControllerIconPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseIconControllerIcon(t){return this.replaceOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseIconControllerIconPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseIconControllerIcon(t){return this.deleteOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseIconControllerIconPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseIconControllerIcon(t){return this.updateOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseIconControllerIconPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseIconControllerIcon(t){return this.getManyBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseIconControllerIconPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseIconControllerIcon(t){return this.createOneBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseIconControllerIcon$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseIconControllerIconPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseIconControllerIcon(t){return this.createManyBaseIconControllerIcon$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseIconControllerIconPath="/icon/{id}",t.ReplaceOneBaseIconControllerIconPath="/icon/{id}",t.DeleteOneBaseIconControllerIconPath="/icon/{id}",t.UpdateOneBaseIconControllerIconPath="/icon/{id}",t.GetManyBaseIconControllerIconPath="/icon",t.CreateOneBaseIconControllerIconPath="/icon",t.CreateManyBaseIconControllerIconPath="/icon/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},b5bK:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var l=n("JW8z"),i=n("bHcU"),r=n("hoJM"),o=n("g6Z0"),a=n("W8M7"),s=n("TN97"),u=n("914O"),c=n("ppab");n("svHU");class d extends c.a{constructor(t){super(),this.mapService=t,this.topoFeatures={}}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",super.getVectorLayer())}displayTopography(t,e){if(t.length>0){const e=[];this.setUpdatedFeatureToFalse(),t.forEach(t=>{const n=t.h3index;if(this.topoFeatures[n])this.topoFeatures[n].values_.isUpdated_=!0;else{u.a(n).reverse();const t=u.b(n,!0),l=this.polygon4326To3857(t),i=new a.a([l]),r=new s.a({geometry:i,id_:n,h3index:n,type_:"topography",isUpdated_:!0});r.setStyle(this.getStyleHex()),this.topoFeatures[n]=r,e.push(this.topoFeatures[n])}}),this.removeOldFeature(),this.source.addFeatures(e)}else this.removeOldFeature()}removeTopography(){this.source.clear(),this.topoFeatures={}}removeOldFeature(){for(let t in this.topoFeatures)if(this.topoFeatures.hasOwnProperty(t)){const e=this.topoFeatures[t];!1===e.values_.isUpdated_&&(this.source.removeFeature(e),delete this.topoFeatures[t])}}setUpdatedFeatureToFalse(){for(let t in this.topoFeatures)this.topoFeatures.hasOwnProperty(t)&&(this.topoFeatures[t].values_.isUpdated_=!1)}polygon4326To3857(t){let e=[];for(let n in t)t.hasOwnProperty(n)&&(e[n]=Object(l.d)(t[n]));return e}getStyleHex(){return new i.b({fill:new o.a({color:"rgba( 222, 184, 135, .75 )"}),stroke:new r.a({color:"rgba( 210, 180, 140, 1 )",width:1})})}}},bCcq:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("PDX0"),ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(n){return new Sha256(e,!0).update(n)[t]()}},createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var n=0;n<OUTPUT_TYPES.length;++n){var l=OUTPUT_TYPES[n];e[l]=createOutputMethod(l,t)}return e},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(t){if("string"==typeof t)return crypto.createHash(algorithm).update(t,"utf8").digest("hex");if(null==t)throw new Error(ERROR);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod},createHmacOutputMethod=function(t,e){return function(n,l){return new HmacSha256(n,e,!0).update(l)[t]()}},createHmacMethod=function(t){var e=createHmacOutputMethod("hex",t);e.create=function(e){return new HmacSha256(e,t)},e.update=function(t,n){return e.create(t).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var l=OUTPUT_TYPES[n];e[l]=createHmacOutputMethod(l,t)}return e};function Sha256(t,e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=t}function HmacSha256(t,e,n){var l,i=typeof t;if("string"===i){var r,o=[],a=t.length,s=0;for(l=0;l<a;++l)(r=t.charCodeAt(l))<128?o[s++]=r:r<2048?(o[s++]=192|r>>6,o[s++]=128|63&r):r<55296||r>=57344?(o[s++]=224|r>>12,o[s++]=128|r>>6&63,o[s++]=128|63&r):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++l)),o[s++]=240|r>>18,o[s++]=128|r>>12&63,o[s++]=128|r>>6&63,o[s++]=128|63&r);t=o}else{if("object"!==i)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var u=[],c=[];for(l=0;l<64;++l){var d=t[l]||0;u[l]=92^d,c[l]=54^d}Sha256.call(this,e,n),this.update(c),this.oKeyPad=u,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(t){if(!this.finalized){var e,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}for(var l,i,r=0,o=t.length,a=this.blocks;r<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),e)for(i=this.start;r<o&&i<64;++r)a[i>>2]|=t[r]<<SHIFT[3&i++];else for(i=this.start;r<o&&i<64;++r)(l=t.charCodeAt(r))<128?a[i>>2]|=l<<SHIFT[3&i++]:l<2048?(a[i>>2]|=(192|l>>6)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]):l<55296||l>=57344?(a[i>>2]|=(224|l>>12)<<SHIFT[3&i++],a[i>>2]|=(128|l>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]):(l=65536+((1023&l)<<10|1023&t.charCodeAt(++r)),a[i>>2]|=(240|l>>18)<<SHIFT[3&i++],a[i>>2]|=(128|l>>12&63)<<SHIFT[3&i++],a[i>>2]|=(128|l>>6&63)<<SHIFT[3&i++],a[i>>2]|=(128|63&l)<<SHIFT[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=a[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,n,l,i,r,o=this.h0,a=this.h1,s=this.h2,u=this.h3,c=this.h4,d=this.h5,h=this.h6,p=this.h7,f=this.blocks;for(t=16;t<64;++t)f[t]=f[t-16]+(((e=f[t-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+f[t-7]+(((e=f[t-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)<<0;for(r=a&s,t=0;t<64;t+=4)this.first?(this.is224?(n=300032,p=(e=f[0]-1413257819)-150054599<<0,u=e+24177077<<0):(n=704751109,p=(e=f[0]-210244248)-1521486534<<0,u=e+143694565<<0),this.first=!1):(p=u+(e=p+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&h)+K[t]+f[t])<<0,u=e+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((n=o&a)^o&s^r))<<0),h=s+(e=h+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&c^~p&d)+K[t+1]+f[t+1])<<0,s=e+(((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((l=u&o)^u&a^n))<<0,d=a+(e=d+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&p^~h&c)+K[t+2]+f[t+2])<<0,a=e+(((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+((i=s&u)^s&o^l))<<0,c=o+(e=c+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&h^~d&p)+K[t+3]+f[t+3])<<0,o=e+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((r=a&s)^a&u^i))<<0;this.h0=this.h0+o<<0,this.h1=this.h1+a<<0,this.h2=this.h2+s<<0,this.h3=this.h3+u<<0,this.h4=this.h4+c<<0,this.h5=this.h5+d<<0,this.h6=this.h6+h<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,l=this.h3,i=this.h4,r=this.h5,o=this.h6,a=this.h7,s=HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(s+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),s},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,l=this.h3,i=this.h4,r=this.h5,o=this.h6,a=this.h7,s=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24&255,n>>16&255,n>>8&255,255&n,l>>24&255,l>>16&255,l>>8&255,255&l,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||s.push(a>>24&255,a>>16&255,a>>8&255,255&a),s},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()},bHcU:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return c}));var l=n("kvpX"),i=(n("9iPr"),n("zixo")),r=n("g6Z0"),o=n("hoJM"),a=function(){function t(t){var e=t||{};this.geometry_=null,this.geometryFunction_=d,void 0!==e.geometry&&this.setGeometry(e.geometry),this.fill_=void 0!==e.fill?e.fill:null,this.image_=void 0!==e.image?e.image:null,this.renderer_=void 0!==e.renderer?e.renderer:null,this.stroke_=void 0!==e.stroke?e.stroke:null,this.text_=void 0!==e.text?e.text:null,this.zIndex_=e.zIndex}return t.prototype.clone=function(){var e=this.getGeometry();return e&&"object"==typeof e&&(e=e.clone()),new t({geometry:e,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},t.prototype.getRenderer=function(){return this.renderer_},t.prototype.setRenderer=function(t){this.renderer_=t},t.prototype.getGeometry=function(){return this.geometry_},t.prototype.getGeometryFunction=function(){return this.geometryFunction_},t.prototype.getFill=function(){return this.fill_},t.prototype.setFill=function(t){this.fill_=t},t.prototype.getImage=function(){return this.image_},t.prototype.setImage=function(t){this.image_=t},t.prototype.getStroke=function(){return this.stroke_},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.getText=function(){return this.text_},t.prototype.setText=function(t){this.text_=t},t.prototype.getZIndex=function(){return this.zIndex_},t.prototype.setGeometry=function(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=d,this.geometry_=t},t.prototype.setZIndex=function(t){this.zIndex_=t},t}();function s(t){var e,n;return"function"==typeof t?e=t:(Array.isArray(t)?n=t:(Object(l.a)("function"==typeof t.getZIndex,41),n=[t]),e=function(){return n}),e}var u=null;function c(t,e){if(!u){var n=new r.a({color:"rgba(255,255,255,0.4)"}),l=new o.a({color:"#3399CC",width:1.25});u=[new a({image:new i.a({fill:n,stroke:l,radius:5}),fill:n,stroke:l})]}return u}function d(t){return t.getGeometry()}e.b=a},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("5+tZ"),i=n("SpAZ");function r(t=Number.POSITIVE_INFINITY){return Object(l.a)(i.a,t)}},"bL/2":function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("hp/u"),o=n("kvpX"),a=n("XDhV"),s=n("AdTM"),u=n("grDu"),c=n("CZmH"),d=n("DsAt"),h=n("PCLV"),p=n("ZhEo"),f=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),b=function(t){function e(e,n,l,i,r,o){var a=t.call(this)||this;return a.hitDetectionImage_=null,a.image_=e||new Image,null!==i&&(a.image_.crossOrigin=i),a.canvas_=o?document.createElement("canvas"):null,a.color_=o,a.unlisten_=null,a.imageState_=r,a.size_=l,a.src_=n,a}return f(e,t),e.prototype.isTainted_=function(t){if(void 0===this.tainted_&&this.imageState_===r.a.LOADED){t||(t=Object(c.a)(1,1)).drawImage(this.image_,0,0);try{t.getImageData(0,0,1,1),this.tainted_=!1}catch(e){this.tainted_=!0}}return!0===this.tainted_},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(s.a.CHANGE)},e.prototype.handleImageError_=function(){this.imageState_=r.a.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=r.a.LOADED,this.size_&&(this.image_.width=this.size_[0],this.image_.height=this.size_[1]),this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.replaceColor_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(t){return this.canvas_?this.canvas_:this.image_},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(t){if(!this.hitDetectionImage_)if(this.isTainted_()){var e=this.size_[0],n=this.size_[1],l=Object(c.a)(e,n);l.fillRect(0,0,e,n),this.hitDetectionImage_=l.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(this.imageState_==r.a.IDLE){this.imageState_=r.a.LOADING;try{this.image_.src=this.src_}catch(t){this.handleImageError_()}this.unlisten_=Object(p.a)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(){if(this.color_){this.canvas_.width=this.image_.width,this.canvas_.height=this.image_.height;var t=this.canvas_.getContext("2d");if(t.drawImage(this.image_,0,0),this.isTainted_(t)){var e=this.color_;return t.globalCompositeOperation="multiply",t.fillStyle="rgb("+e[0]+","+e[1]+","+e[2]+")",t.fillRect(0,0,this.image_.width,this.image_.height),t.globalCompositeOperation="destination-in",void t.drawImage(this.image_,0,0)}for(var n=t.getImageData(0,0,this.image_.width,this.image_.height),l=n.data,i=this.color_[0]/255,r=this.color_[1]/255,o=this.color_[2]/255,a=0,s=l.length;a<s;a+=4)l[a]*=i,l[a+1]*=r,l[a+2]*=o;t.putImageData(n,0,0)}},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(d.a),m=n("qzVC"),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}(),_=function(t){function e(e){var n=this,l=e||{};(n=t.call(this,{opacity:void 0!==l.opacity?l.opacity:1,rotation:void 0!==l.rotation?l.rotation:0,scale:void 0!==l.scale?l.scale:1,displacement:void 0!==l.displacement?l.displacement:[0,0],rotateWithView:void 0!==l.rotateWithView&&l.rotateWithView})||this).anchor_=void 0!==l.anchor?l.anchor:[.5,.5],n.normalizedAnchor_=null,n.anchorOrigin_=void 0!==l.anchorOrigin?l.anchorOrigin:"top-left",n.anchorXUnits_=void 0!==l.anchorXUnits?l.anchorXUnits:u.a.FRACTION,n.anchorYUnits_=void 0!==l.anchorYUnits?l.anchorYUnits:u.a.FRACTION,n.crossOrigin_=void 0!==l.crossOrigin?l.crossOrigin:null;var s=void 0!==l.img?l.img:null,c=void 0!==l.imgSize?l.imgSize:null,d=l.src;Object(o.a)(!(void 0!==d&&s),4),Object(o.a)(!s||s&&c,5),void 0!==d&&0!==d.length||!s||(d=s.src||Object(i.c)(s)),Object(o.a)(void 0!==d&&d.length>0,6);var p=void 0!==l.src?r.a.IDLE:r.a.LOADED;return n.color_=void 0!==l.color?Object(a.a)(l.color):null,n.iconImage_=function(t,e,n,l,i,r){var o=h.a.get(e,l,r);return o||(o=new b(t,e,n,l,i,r),h.a.set(e,l,r,o)),o}(s,d,c,n.crossOrigin_,p,n.color_),n.offset_=void 0!==l.offset?l.offset:[0,0],n.offsetOrigin_=void 0!==l.offsetOrigin?l.offsetOrigin:"top-left",n.origin_=null,n.size_=void 0!==l.size?l.size:null,n}return g(e,t),e.prototype.clone=function(){return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,crossOrigin:this.crossOrigin_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,src:this.getSrc(),offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,size:null!==this.size_?this.size_.slice():void 0,opacity:this.getOpacity(),scale:this.getScale(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},e.prototype.getAnchor=function(){if(this.normalizedAnchor_)return this.normalizedAnchor_;var t=this.anchor_,e=this.getSize();if(this.anchorXUnits_==u.a.FRACTION||this.anchorYUnits_==u.a.FRACTION){if(!e)return null;t=this.anchor_.slice(),this.anchorXUnits_==u.a.FRACTION&&(t[0]*=e[0]),this.anchorYUnits_==u.a.FRACTION&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),"top-right"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[0]=-t[0]+e[0]),"bottom-left"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[1]=-t[1]+e[1])}return this.normalizedAnchor_=t,this.normalizedAnchor_},e.prototype.setAnchor=function(t){this.anchor_=t,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(t){return this.iconImage_.getImage(t)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getHitDetectionImageSize=function(){return this.getImageSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(t){return this.iconImage_.getHitDetectionImage(t)},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var t=this.offset_,e=this.getDisplacement();if("top-left"!=this.offsetOrigin_){var n=this.getSize(),l=this.iconImage_.getSize();if(!n||!l)return null;t=t.slice(),"top-right"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[0]=l[0]-n[0]-t[0]),"bottom-left"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[1]=l[1]-n[1]-t[1])}return t[0]+=e[0],t[1]+=e[1],this.origin_=t,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(t){this.iconImage_.addEventListener(s.a.CHANGE,t)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(t){this.iconImage_.removeEventListener(s.a.CHANGE,t)},e}(m.a);e.a=_},bLKQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("5+tZ");function i(t,e){return Object(l.a)(t,e,1)}},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},"bY/R":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var l=n("V8uu"),i=n("Hsuu");function r(t,e,n,l){return function(r,o,a){var s=new XMLHttpRequest;s.open("GET","function"==typeof t?t(r,o,a):t,!0),e.getType()==i.a.ARRAY_BUFFER&&(s.responseType="arraybuffer"),s.withCredentials=!1,s.onload=(function(t){if(!s.status||s.status>=200&&s.status<300){var o=e.getType(),u=void 0;o==i.a.JSON||o==i.a.TEXT?u=s.responseText:o==i.a.XML?(u=s.responseXML)||(u=(new DOMParser).parseFromString(s.responseText,"application/xml")):o==i.a.ARRAY_BUFFER&&(u=s.response),u?n.call(this,e.readFeatures(u,{extent:r,featureProjection:a}),e.readProjection(u)):l.call(this)}else l.call(this)}).bind(this),s.onerror=(function(){l.call(this)}).bind(this),s.send()}}function o(t,e){return r(t,e,(function(t,e){"function"==typeof this.addFeatures&&this.addFeatures(t)}),l.c)}},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bYNo:function(t,e,n){"use strict";e.a={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},bdly:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("SVse"),s=n("4q72");n.d(e,"a",(function(){return f}));var u=l.Bb({encapsulation:0,styles:[[".mat-dialog-container{padding:0!important}.mat-dialog-content[_ngcontent-%COMP%]{padding:10px!important;margin:0!important;cursor:pointer}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .pastil-color[_ngcontent-%COMP%]{height:25px;width:25px;border-radius:50%;margin-right:10px}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .notification-card-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-main[_ngcontent-%COMP%] .notification-card-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#666}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%]{display:flex}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:2px}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-color[_ngcontent-%COMP%]{height:5px;width:5px;border-radius:50%}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-green[_ngcontent-%COMP%]{background-color:green}.mat-dialog-content[_ngcontent-%COMP%] .notification-card[_ngcontent-%COMP%] .notification-card-status[_ngcontent-%COMP%] .point-red[_ngcontent-%COMP%]{background-color:red}.close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);background-color:transparent;margin-right:10px;font-size:25px;margin-top:5px}"]],data:{}});function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-green"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["En cours"]))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","notification-card-status"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","point-color point-red"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["Fini"]))],null,null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeModal()&&l),l}),i.y,i.g)),l.Cb(1,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(2,0,null,null,17,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.goToNotif()&&l),l}),null,null)),l.Cb(3,16384,null,0,o.j,[],null,null),(t()(),l.Db(4,0,null,null,15,"div",[["class","notification-card"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,9,"div",[["class","notification-card-main"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,3,"div",[["class","pastil-color"]],null,null,null,null,null)),l.Tb(512,null,a.C,a.D,[l.p,l.z,l.M]),l.Cb(8,278528,null,0,a.q,[a.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(9,{"background-color":0}),(t()(),l.Db(10,0,null,null,4,"div",[["class","notification-card-title"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),l.Wb(12,null,[" "," "])),(t()(),l.Db(13,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(14,null,[" "," "])),(t()(),l.Db(15,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(17,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(19,16384,null,0,a.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,"close");var l=t(e,9,0,n.notification.type.color);t(e,8,0,l),t(e,17,0,!n.notification.endAt),t(e,19,0,n.notification.endAt)}),(function(t,e){var n=e.component;t(e,12,0,n.notification.type.name),t(e,14,0,n.notification.aircraftIcao)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"notification-alert-dialog",[],null,null,null,h,u)),l.Cb(1,114688,null,0,s.a,[o.l,o.a],null,null)],(function(t,e){t(e,1,0)}),null)}var f=l.zb("notification-alert-dialog",s.a,p,{},{},[])},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bujt:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var l=n("8Y7J"),i=(n("Fwaw"),n("SVse"),n("IP0z"),n("Xd0L")),r=(n("cUpR"),n("/HVE")),o=n("omvX"),a=(n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}}));function s(t){return l.Yb(2,[l.Ub(671088640,1,{ripple:0}),(t()(),l.Db(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),l.Ob(null,0),(t()(),l.Db(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(4,212992,[[1,4]],0,i.x,[l.p,l.G,r.a,[2,i.m],[2,o.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),l.Db(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,l.Pb(e,4).unbounded)}))}},bxKX:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c1op:function(t,e,n){"use strict";n.d(e,"a",(function(){return V})),n.d(e,"b",(function(){return F})),n.d(e,"c",(function(){return St})),n.d(e,"d",(function(){return Tt})),n.d(e,"e",(function(){return kt})),n.d(e,"f",(function(){return Ot})),n.d(e,"g",(function(){return I})),n.d(e,"h",(function(){return Et})),n.d(e,"i",(function(){return G})),n.d(e,"j",(function(){return Mt})),n.d(e,"k",(function(){return wt})),n.d(e,"l",(function(){return v})),n.d(e,"m",(function(){return L}));var l=n("AfW+");let i,r,o,a=0,s=!1,u=!1,c=!1,d=!1,h=!1;const p=window,f=document,b={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l)},m=(()=>!!f.documentElement.attachShadow)(),g=(()=>{let t=!1;try{f.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),_=(()=>{try{return new CSSStyleSheet,!0}catch(t){}return!1})(),y=new WeakMap,A=t=>y.get(t),v=(t,e)=>y.set(e.$lazyInstance$=t,e),C=(t,e)=>e in t,w=t=>console.error(t),P=new Map,x=new Map,S=[],k=[],M=[],O=(t,e)=>n=>{t.push(n),s||(s=!0,e&&4&b.$flags$?E(T):b.raf(T))},D=(t,e)=>{let n=0,l=0;for(;n<t.length&&(l=performance.now())<e;)try{t[n++](l)}catch(i){w(i)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},T=()=>{a++,(t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){w(e)}t.length=0})(S);const t=2==(6&b.$flags$)?performance.now()+10*Math.ceil(a*(1/22)):1/0;D(k,t),D(M,t),k.length>0&&(M.push(...k),k.length=0),(s=S.length+k.length+M.length>0)?b.raf(T):a=0},E=t=>Promise.resolve().then(t),I=O(S,!1),L=O(k,!0),j={},R=t=>"object"==(t=typeof t)||"function"===t,F=()=>p.CSS&&p.CSS.supports&&p.CSS.supports("color","var(--c)")?Promise.resolve():n.e(17).then(n.t.bind(null,"Pud/",7)).then(()=>{if(b.$cssShim$=p.__stencil_cssshim,b.$cssShim$)return b.$cssShim$.initShim()}),N="http://www.w3.org/1999/xlink",Y=new WeakMap,U=(t,e,n)=>{let l=x.get(t);_&&n?(l=l||new CSSStyleSheet,l.replace(e)):l=e,x.set(t,l)},B=(t,e,n,l)=>{let i=z(e.$tagName$,n),r=x.get(i);if(t=11===t.nodeType?t:f,r||(i=z(e.$tagName$),r=x.get(i)),r)if("string"==typeof r){let n,o=Y.get(t=t.head||t);if(o||Y.set(t,o=new Set),!o.has(i)){if(t.host&&(n=t.firstElementChild)&&"STYLE"===n.tagName)n.innerHTML=r;else{if(b.$cssShim$){n=b.$cssShim$.createHostStyle(l,i,r,!!(10&e.$flags$));const t=n["s-sc"];t&&(i=t,o=null)}else n=f.createElement("style"),n.setAttribute("data-styles",""),n.innerHTML=r;t.insertBefore(n,t.querySelector("link"))}o&&o.add(i)}}else t.adoptedStyleSheets.includes(r)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,r]);return i},z=(t,e)=>"sc-"+(e?t+"-"+e:t),G=(t,e,...n)=>{let l=null,i=null,r=null,o=!1,a=!1,s=[];const u=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof t&&!R(l))&&(l=String(l)),o&&a?s[s.length-1].$text$+=l:s.push(o?H(null,l):l),a=o)};if(u(n),e){e.key&&(i=e.key),e.name&&(r=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter(e=>t[e]).join(" "))}}if("function"==typeof t)return t(e,s,q);const c=H(t,null);return c.$attrs$=e,s.length>0&&(c.$children$=s),c.$key$=i,c.$name$=r,c},H=(t,e)=>({$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),V={},q={forEach:(t,e)=>t.map(W).forEach(e),map:(t,e)=>t.map(W).map(e).map($)},W=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),$=t=>{const e=H(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},X=(t,e,n,l,i,r)=>{if(n===l)return;let o=C(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,i=J(n),r=J(l);e.remove(...i.filter(t=>t&&!r.includes(t))),e.add(...r.filter(t=>t&&!i.includes(t)))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(o||"o"!==e[0]||"n"!==e[1]){const u=R(l);if((o||u&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]=l;else{let i=null==l?"":l;null!=n&&t[e]==i||(t[e]=i)}}catch(s){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,c=!0),null==l||!1===l?c?t.removeAttributeNS(N,e):t.removeAttribute(e):(!o||4&r||i)&&!u&&(l=!0===l?"":l,c?t.setAttributeNS(N,e,l):t.setAttribute(e,l))}else e="-"===e[2]?e.slice(3):C(p,a)?a.slice(2):a[2]+e.slice(3),n&&b.rel(t,e,n,!1),l&&b.ael(t,e,l,!1)},K=/\s/,J=t=>t?t.split(K):[],Q=(t,e,n,l)=>{const i=11===e.$elm$.nodeType&&e.$elm$.host?e.$elm$.host:e.$elm$,r=t&&t.$attrs$||j,o=e.$attrs$||j;for(l in r)l in o||X(i,l,r[l],void 0,n,e.$flags$);for(l in o)X(i,l,r[l],o[l],n,e.$flags$)},Z=(t,e,n,l)=>{let a,s,c,p=e.$children$[n],b=0;if(u||(d=!0,"slot"===p.$tag$&&(i&&l.classList.add(i+"-s"),p.$flags$|=p.$children$?2:1)),null!==p.$text$)a=p.$elm$=f.createTextNode(p.$text$);else if(1&p.$flags$)a=p.$elm$=f.createTextNode("");else{if(h||(h="svg"===p.$tag$),a=p.$elm$=f.createElementNS(h?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.$flags$?"slot-fb":p.$tag$),h&&"foreignObject"===p.$tag$&&(h=!1),Q(null,p,h),null!=i&&a["s-si"]!==i&&a.classList.add(a["s-si"]=i),p.$children$)for(b=0;b<p.$children$.length;++b)s=Z(t,p,b,a),s&&a.appendChild(s);"svg"===p.$tag$?h=!1:"foreignObject"===a.tagName&&(h=!0)}return a["s-hn"]=o,3&p.$flags$&&(a["s-sr"]=!0,a["s-cr"]=r,a["s-sn"]=p.$name$||"",c=t&&t.$children$&&t.$children$[n],c&&c.$tag$===p.$tag$&&t.$elm$&&tt(t.$elm$,!1)),a},tt=(t,e)=>{b.$flags$|=1;const n=t.childNodes;for(let l=n.length-1;l>=0;l--){const t=n[l];t["s-hn"]!==o&&t["s-ol"]&&(rt(t).insertBefore(t,it(t)),t["s-ol"].remove(),t["s-ol"]=void 0,d=!0),e&&tt(t,e)}b.$flags$&=-2},et=(t,e,n,l,i,r)=>{let a,s=t["s-cr"]&&t["s-cr"].parentNode||t;for(s.shadowRoot&&s.tagName===o&&(s=s.shadowRoot);i<=r;++i)l[i]&&(a=Z(null,n,i,t),a&&(l[i].$elm$=a,s.insertBefore(a,it(e))))},nt=(t,e,n,l,i)=>{for(;e<=n;++e)(l=t[e])&&(i=l.$elm$,ct(l),c=!0,i["s-ol"]?i["s-ol"].remove():tt(i,!0),i.remove())},lt=(t,e)=>t.$tag$===e.$tag$&&("slot"===t.$tag$?t.$name$===e.$name$:t.$key$===e.$key$),it=t=>t&&t["s-ol"]||t,rt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ot=(t,e)=>{const n=e.$elm$=t.$elm$,l=t.$children$,i=e.$children$;let r;h=n&&n.parentNode&&void 0!==n.ownerSVGElement,h="svg"===e.$tag$||"foreignObject"!==e.$tag$&&h,null===e.$text$?("slot"===e.$tag$||Q(t,e,h),null!==l&&null!==i?((t,e,n,l)=>{let i,r,o=0,a=0,s=0,u=0,c=e.length-1,d=e[0],h=e[c],p=l.length-1,f=l[0],b=l[p];for(;o<=c&&a<=p;)if(null==d)d=e[++o];else if(null==h)h=e[--c];else if(null==f)f=l[++a];else if(null==b)b=l[--p];else if(lt(d,f))ot(d,f),d=e[++o],f=l[++a];else if(lt(h,b))ot(h,b),h=e[--c],b=l[--p];else if(lt(d,b))"slot"!==d.$tag$&&"slot"!==b.$tag$||tt(d.$elm$.parentNode,!1),ot(d,b),t.insertBefore(d.$elm$,h.$elm$.nextSibling),d=e[++o],b=l[--p];else if(lt(h,f))"slot"!==d.$tag$&&"slot"!==b.$tag$||tt(h.$elm$.parentNode,!1),ot(h,f),t.insertBefore(h.$elm$,d.$elm$),h=e[--c],f=l[++a];else{for(s=-1,u=o;u<=c;++u)if(e[u]&&null!==e[u].$key$&&e[u].$key$===f.$key$){s=u;break}s>=0?(r=e[s],r.$tag$!==f.$tag$?i=Z(e&&e[a],n,s,t):(ot(r,f),e[s]=void 0,i=r.$elm$),f=l[++a]):(i=Z(e&&e[a],n,a,t),f=l[++a]),i&&rt(d.$elm$).insertBefore(i,it(d.$elm$))}o>c?et(t,null==l[p+1]?null:l[p+1].$elm$,n,l,a,p):a>p&&nt(e,o,c)})(n,l,e,i):null!==i?(null!==t.$text$&&(n.textContent=""),et(n,null,e,i,0,i.length-1)):null!==l&&nt(l,0,l.length-1)):(r=n["s-cr"])?r.parentNode.textContent=e.$text$:t.$text$!==e.$text$&&(n.data=e.$text$),h&&"svg"===e.$tag$&&(h=!1)},at=t=>{let e,n,l,i,r,o,a=t.childNodes;for(n=0,l=a.length;n<l;n++)if(e=a[n],1===e.nodeType){if(e["s-sr"])for(r=e["s-sn"],e.hidden=!1,i=0;i<l;i++)if(a[i]["s-hn"]!==e["s-hn"])if(o=a[i].nodeType,""!==r){if(1===o&&r===a[i].getAttribute("slot")){e.hidden=!0;break}}else if(1===o||3===o&&""!==a[i].textContent.trim()){e.hidden=!0;break}at(e)}},st=[],ut=t=>{let e,n,l,i,r=t.childNodes,o=r.length,a=0,s=0,u=0;for(o=r.length;a<o;a++){if(e=r[a],e["s-sr"]&&(n=e["s-cr"]))for(l=n.parentNode.childNodes,i=e["s-sn"],s=l.length-1;s>=0;s--)n=l[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(u=n.nodeType,((3===u||8===u)&&""===i||1===u&&null===n.getAttribute("slot")&&""===i||1===u&&n.getAttribute("slot")===i)&&(st.some(t=>t.$nodeToRelocate$===n)||(c=!0,n["s-sn"]=i,st.push({$slotRefNode$:e,$nodeToRelocate$:n}))));1===e.nodeType&&ut(e)}},ct=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.forEach(ct)},dt=(t,e)=>{e&&!t.$onRenderResolve$&&e["s-p"].push(new Promise(e=>t.$onRenderResolve$=e))},ht=(t,e,n,l)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);const i=e.$lazyInstance$,r=()=>pt(t,e,n,i,l),o=t["s-rc"];let a;return dt(e,e.$ancestorComponent$),l&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.forEach(([t,e])=>mt(i,t,e)),e.$queuedListeners$=null),a=mt(i,"componentWillLoad")),a=gt(a,()=>mt(i,"componentWillRender")),o&&(o.forEach(t=>t()),t["s-rc"]=void 0),gt(a,()=>L(r))},pt=(t,e,n,l,a)=>{a&&((t,e,n)=>{const l=B(m&&t.shadowRoot?t.shadowRoot:t.getRootNode(),e,n,t);10&e.$flags$&&(t["s-sc"]=l,t.classList.add(l+"-h"),2&e.$flags$&&t.classList.add(l+"-s"))})(t,n,e.$modeName$);try{((t,e,n,l)=>{o=t.tagName;const a=e.$vnode$||H(null,null),s=(h=l)&&h.$tag$===V?l:G(null,null,l);var h;if(n.$attrsToReflect$&&(s.$attrs$=s.$attrs$||{},n.$attrsToReflect$.forEach(([e,n])=>s.$attrs$[n]=t[e])),s.$tag$=null,s.$flags$|=4,e.$vnode$=s,s.$elm$=a.$elm$=t.shadowRoot||t,i=t["s-sc"],r=t["s-cr"],u=m&&0!=(1&n.$flags$),d=c=!1,ot(a,s),d){ut(s.$elm$);for(let t=0;t<st.length;t++){const e=st[t];if(!e.$nodeToRelocate$["s-ol"]){const t=f.createTextNode("");t["s-nr"]=e.$nodeToRelocate$,e.$nodeToRelocate$.parentNode.insertBefore(e.$nodeToRelocate$["s-ol"]=t,e.$nodeToRelocate$)}}b.$flags$|=1;for(let t=0;t<st.length;t++){const e=st[t],n=e.$slotRefNode$.parentNode;let l=e.$slotRefNode$.nextSibling,i=e.$nodeToRelocate$["s-ol"];for(;i=i.previousSibling;){let t=i["s-nr"];if(t&&t["s-sn"]===e.$nodeToRelocate$["s-sn"]&&n===t.parentNode&&(t=t.nextSibling,!t||!t["s-nr"])){l=t;break}}(!l&&n!==e.$nodeToRelocate$.parentNode||e.$nodeToRelocate$.nextSibling!==l)&&e.$nodeToRelocate$!==l&&n.insertBefore(e.$nodeToRelocate$,l)}b.$flags$&=-2}c&&at(s.$elm$),st.length=0})(t,e,n,l.render&&l.render())}catch(s){w(s)}b.$cssShim$&&b.$cssShim$.updateHost(t),e.$flags$&=-17,e.$flags$|=2;{const l=t["s-p"],i=()=>ft(t,e,n);0===l.length?i():(Promise.all(l).then(i),e.$flags$|=4,l.length=0)}},ft=(t,e,n)=>{const l=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?mt(l,"componentDidUpdate"):(e.$flags$|=64,t.classList.add("hydrated"),mt(l,"componentDidLoad"),e.$onReadyResolve$(t),i||bt()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&E(()=>ht(t,e,n,!1)),e.$flags$&=-517},bt=()=>{f.documentElement.classList.add("hydrated"),b.$flags$|=2},mt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(l){w(l)}},gt=(t,e)=>t&&t.then?t.then(e):e(),_t=(t,e,n)=>{if(e.$members$){t.watchers&&(e.$watchers$=t.watchers);const l=Object.entries(e.$members$),i=t.prototype;if(l.forEach(([t,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(i,t,{get(){return e=t,A(this).$instanceValues$.get(e);var e},set(n){((t,e,n,l)=>{const i=A(this),r=i.$hostElement$,o=i.$instanceValues$.get(e),a=i.$flags$,s=i.$lazyInstance$;var u,c;if(c=l.$members$[e][0],!((n=null==(u=n)||R(u)?u:4&c?"false"!==u&&(""===u||!!u):2&c?parseFloat(u):1&c?String(u):u)===o||8&a&&void 0!==o)&&(i.$instanceValues$.set(e,n),s)){if(l.$watchers$&&128&a){const t=l.$watchers$[e];t&&t.forEach(t=>{try{s[t](n,o,e)}catch(l){w(l)}})}2==(18&a)&&ht(r,i,l,!1)}})(0,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(i,t,{value(...e){const n=A(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[t](...e))}})}),1&n){const n=new Map;i.attributeChangedCallback=function(t,e,l){b.jmp(()=>{const e=n.get(t);this[e]=(null!==l||"boolean"!=typeof this[e])&&l})},t.observedAttributes=l.filter(([t,e])=>15&e[0]).map(([t,l])=>{const i=l[1]||t;return n.set(i,t),512&l[0]&&e.$attrsToReflect$.push([t,i]),i})}}return t},yt=(t,e,n,l,i,r,o)=>{let a,s,u,c;if(1===r.nodeType){for(a=r.getAttribute("c-id"),a&&(s=a.split("."),s[0]!==o&&"0"!==s[0]||(u={$flags$:0,$hostId$:s[0],$nodeId$:s[1],$depth$:s[2],$index$:s[3],$tag$:r.tagName.toLowerCase(),$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(u),r.removeAttribute("c-id"),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u,t=u,l&&"0"===u.$depth$&&(l[u.$index$]=u.$elm$))),c=r.childNodes.length-1;c>=0;c--)yt(t,e,n,l,i,r.childNodes[c],o);if(r.shadowRoot)for(c=r.shadowRoot.childNodes.length-1;c>=0;c--)yt(t,e,n,l,i,r.shadowRoot.childNodes[c],o)}else if(8===r.nodeType)s=r.nodeValue.split("."),s[1]!==o&&"0"!==s[1]||(a=s[0],u={$flags$:0,$hostId$:s[1],$nodeId$:s[2],$depth$:s[3],$index$:s[4],$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(u.$elm$=r.nextSibling,u.$elm$&&3===u.$elm$.nodeType&&(u.$text$=u.$elm$.textContent,e.push(u),r.remove(),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u,l&&"0"===u.$depth$&&(l[u.$index$]=u.$elm$))):u.$hostId$===o&&("s"===a?(u.$tag$="slot",r["s-sn"]=s[5]?u.$name$=s[5]:"",r["s-sr"]=!0,l&&(u.$elm$=f.createElement(u.$tag$),u.$name$&&u.$elm$.setAttribute("name",u.$name$),r.parentNode.insertBefore(u.$elm$,r),r.remove(),"0"===u.$depth$&&(l[u.$index$]=u.$elm$)),n.push(u),t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u):"r"===a&&(l?r.remove():(i["s-cr"]=r,r["s-cn"]=!0))));else if(t&&"style"===t.$tag$){const e=H(null,r.textContent);e.$elm$=r,e.$index$="0",t.$children$=[e]}},At=(t,e)=>{if(1===t.nodeType){let n=0;for(;n<t.childNodes.length;n++)At(t.childNodes[n],e);if(t.shadowRoot)for(n=0;n<t.shadowRoot.childNodes.length;n++)At(t.shadowRoot.childNodes[n],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-sd"]=""===n[3])}},vt=[],Ct=t=>vt.push(t),wt=t=>A(t).$modeName$,Pt=t=>{mt(t,"connectedCallback")},xt=t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},St=(t,e={})=>{const l=[],i=e.exclude||[],r=f.head,o=p.customElements,a=r.querySelector("meta[charset]"),s=f.createElement("style");let u;Object.assign(b,e),b.$resourcesUrl$=new URL(e.resourcesUrl||"./",f.baseURI).href,e.syncQueue&&(b.$flags$|=4),b.$flags$|=2;{const t=f.querySelectorAll("style[s-id]");let e="",n=0;for(;n<t.length;n++)e+=t[n].innerHTML;for(n=0;n<t.length;n++){const l=t[n];U(l.getAttribute("s-id"),e+l.innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)}}t.forEach(t=>t[1].forEach(e=>{const r={$flags$:e[0],$tagName$:e[1],$members$:e[2],$listeners$:e[3]};r.$members$=e[2],r.$listeners$=e[3],r.$attrsToReflect$=[],r.$watchers$={},!m&&1&r.$flags$&&(r.$flags$|=8);const a=r.$tagName$,s=class extends HTMLElement{constructor(t){super(t),(t=>{const e={$flags$:0,$hostElement$:t,$instanceValues$:new Map};e.$onInstancePromise$=new Promise(t=>e.$onInstanceResolve$=t),e.$onReadyPromise$=new Promise(t=>e.$onReadyResolve$=t),t["s-p"]=[],t["s-rc"]=[],y.set(t,e)})(t=this),1&r.$flags$&&(m?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t))}connectedCallback(){u&&(clearTimeout(u),u=null),b.jmp(()=>((t,e)=>{if(0==(1&b.$flags$)){const l=A(t);if(e.$listeners$&&(l.$rmListeners$=((t,e,n)=>{e.$queuedListeners$=e.$queuedListeners$||[];const l=n.map(([n,l,i])=>{const r=((t,e)=>4&e?f:8&e?p:32&e?f.body:16&e?t.parentElement:t)(t,n),o=((t,e)=>n=>{256&t.$flags$?t.$lazyInstance$[e](n):t.$queuedListeners$.push([e,n])})(e,i),a=(t=>g?{passive:0!=(1&t),capture:0!=(2&t)}:0!=(2&t))(n);return b.ael(r,l,o,a),()=>b.rel(r,l,o,a)});return()=>l.forEach(t=>t())})(t,l,e.$listeners$)),!(1&l.$flags$)){let i;if(l.$flags$|=1,i=t.getAttribute("s-id"),i){if(m&&1&e.$flags$){const n=B(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h"),t.classList.remove(n+"-s")}((t,e,n,l)=>{const i=t.shadowRoot,r=[],o=i?[]:null,a=l.$vnode$=H(e,null);b.$orgLocNodes$||At(f.body,b.$orgLocNodes$=new Map),t["s-id"]=n,t.removeAttribute("s-id"),yt(a,r,[],o,t,t,n),r.forEach(t=>{const n=t.$hostId$+"."+t.$nodeId$,l=b.$orgLocNodes$.get(n),r=t.$elm$;l&&(l["s-sd"]||"0"===t.$hostId$)&&l.parentNode.insertBefore(r,l.nextSibling),i||(r["s-hn"]=e,l&&(r["s-ol"]=l,r["s-ol"]["s-nr"]=r)),b.$orgLocNodes$.delete(n)}),i&&o.forEach(t=>{t&&i.appendChild(t)})})(t,e.$tagName$,i,l)}i||(4&e.$flags$||8&e.$flags$)&&xt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")||e["s-p"]){dt(l,l.$ancestorComponent$=e);break}}e.$members$&&Object.entries(e.$members$).forEach(([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}}),E(()=>(async(t,e,l,i,r)=>{if(0==(32&e.$flags$)){e.$flags$|=32,null==e.$modeName$&&(e.$modeName$="string"!=typeof l.$lazyBundleIds$?(t=>vt.map(e=>e(t)).find(t=>!!t))(t):""),(r=((t,e,l)=>{const i=t.$tagName$.replace(/-/g,"_"),r="string"!=typeof t.$lazyBundleIds$?t.$lazyBundleIds$[e.$modeName$]:t.$lazyBundleIds$,o=P.get(r);return o?o[i]:n("kLfG")(`./${r}.entry.js`).then(t=>(P.set(r,t),t[i]),w)})(l,e)).then&&(r=await r),r.isProxied||(l.$watchers$=r.watchers,_t(r,l,2),r.isProxied=!0),e.$flags$|=8;try{new r(e)}catch(s){w(s)}e.$flags$&=-9,e.$flags$|=128,Pt(e.$lazyInstance$);const i=z(l.$tagName$,e.$modeName$);if(!x.has(i)&&r.style){let t=r.style;"string"!=typeof t&&(t=t[e.$modeName$]),8&l.$flags$&&(t=await n.e(101).then(n.bind(null,"94vs")).then(e=>e.scopeCss(t,i,!1))),U(i,t,!!(1&l.$flags$))}}const o=e.$ancestorComponent$,a=()=>ht(t,e,l,!0);o&&o["s-rc"]?o["s-rc"].push(a):a()})(t,l,e))}Pt(l.$lazyInstance$)}})(this,r))}disconnectedCallback(){b.jmp(()=>(t=>{if(0==(1&b.$flags$)){const e=A(t),n=e.$lazyInstance$;e.$rmListeners$&&(e.$rmListeners$(),e.$rmListeners$=void 0),b.$cssShim$&&b.$cssShim$.removeHost(t),mt(n,"disconnectedCallback"),mt(n,"componentDidUnload")}})(this))}"s-hmr"(t){}forceUpdate(){((t,e)=>{{const n=A(t);2==(18&n.$flags$)&&ht(t,n,e,!1)}})(this,r)}componentOnReady(){return A(this).$onReadyPromise$}};r.$lazyBundleIds$=t[0],i.includes(a)||o.get(a)||(l.push(a),o.define(a,_t(s,r,1)))})),s.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",s.setAttribute("data-styles",""),r.insertBefore(s,a?a.nextSibling:r.firstChild),b.jmp(()=>u=setTimeout(bt,30))},kt=(t,e,n)=>{const l=Ot(t);return{emit:t=>l.dispatchEvent(new CustomEvent(e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t}))}},Mt=t=>{const e=new URL(t,b.$resourcesUrl$);return e.origin!==p.location.origin?e.href:e.pathname},Ot=t=>A(t).$hostElement$;let Dt;const Tt=t=>t&&wt(t)||Dt,Et=()=>{(()=>{const t=document,e=window,n=e.Ionic=e.Ionic||{};Object(l.g)(e);const i=Object.assign(Object.assign(Object.assign(Object.assign({},Object(l.c)(e)),{persistConfig:!1}),n.config),Object(l.a)(e));l.b.reset(i),l.b.getBoolean("persistConfig")&&Object(l.d)(e,i),n.config=l.b,n.mode=Dt=l.b.get("mode",t.documentElement.getAttribute("mode")||(Object(l.f)(e,"ios")?"ios":"md")),l.b.set("mode",Dt),t.documentElement.setAttribute("mode",Dt),t.documentElement.classList.add(Dt),l.b.getBoolean("_testing")&&l.b.set("animated",!1),Ct(t=>t.mode=t.mode||t.getAttribute("mode")||Dt)})(),Ct(t=>"ION-ICON"===t.tagName?t.mode||t.getAttribute("mode"):null)}},c2HN:function(t,e,n){"use strict";function l(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return l}))},c9QO:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}tripControllerGetTrip$Response(e){const n=new o.a(this.rootUrl,t.TripControllerGetTripPath,"get");return e&&(n.query("since",e.since),n.query("createdAt",e.createdAt),n.query("icao",e.icao)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}tripControllerGetTrip(t){return this.tripControllerGetTrip$Response(t).pipe(Object(s.a)(t=>t.body))}tripControllerGetCsvPositions$Response(e){const n=new o.a(this.rootUrl,t.TripControllerGetCsvPositionsPath,"get");return e&&(n.query("createdAt",e.createdAt),n.query("icao",e.icao)),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}tripControllerGetCsvPositions(t){return this.tripControllerGetCsvPositions$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseTripControllerTrip$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseTripControllerTripPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseTripControllerTrip(t){return this.getManyBaseTripControllerTrip$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.TripControllerGetTripPath="/trip/info",t.TripControllerGetCsvPositionsPath="/trip/export_positions",t.GetManyBaseTripControllerTripPath="/trip",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},c9fC:function(t,e,n){"use strict";n.d(e,"d",(function(){return P})),n.d(e,"c",(function(){return w})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return y})),n.d(e,"e",(function(){return A})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return C}));var l=n("8Y7J"),i=(n("GS7A"),n("5Bek")),r=n("KCVW"),o=n("zMNK"),a=n("XNiG"),s=n("quSY"),u=n("EY2u"),c=n("VRyK"),d=n("/uUt"),h=n("JX91"),p=n("pLZG"),f=n("IzEk"),b=n("5GAg"),m=n("dvZr");const g=new l.w("MAT_ACCORDION");let _=0;const y=new l.w("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");class A extends i.b{constructor(t,e,n,i,r,o,s){super(t,e,n),this._viewContainerRef=i,this._animationMode=o,this._hideToggle=!1,this.afterExpand=new l.r,this.afterCollapse=new l.r,this._inputChanges=new a.a,this._headerId="mat-expansion-panel-header-"+_++,this._bodyAnimationDone=new a.a,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe(Object(d.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),s&&(this.hideToggle=s.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())}_getExpandedState(){return this.expanded?"expanded":"collapsed"}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(h.a)(null),Object(p.a)(()=>this.expanded&&!this._portal),Object(f.a)(1)).subscribe(()=>{this._portal=new o.h(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}class v{constructor(t,e,n,l,i){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=l,this._parentChangeSubscription=s.a.EMPTY,this._animationsDisabled=!0;const r=t.accordion?t.accordion._stateChanges.pipe(Object(p.a)(t=>!(!t.hideToggle&&!t.togglePosition))):u.a;this._parentChangeSubscription=Object(c.a)(t.opened,t.closed,r,t._inputChanges.pipe(Object(p.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(p.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case m.o:case m.g:Object(m.t)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}class C{}class w extends i.a{constructor(){super(...arguments),this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}ngAfterContentInit(){this._keyManager=new b.g(this._headers).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,n=this._keyManager;e===m.i?Object(m.t)(t)||(n.setFirstItemActive(),t.preventDefault()):e===m.f?Object(m.t)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}class P{}},c9tr:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},cEDd:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";function t(t,e,n,l){var i,r,o,a,s,u,c,d,h;if(void 0===l&&(l=n),"string"==typeof l?l=parseInt(l,10):"number"!=typeof l&&(l=2),h=Math.pow(10,l),t="string"==typeof t?parseFloat(t):t,e="string"==typeof e?parseFloat(e):e,t<-90||t>90)throw"Latitude out of range: "+t;if(e<-180||e>180)throw"Longitude out of range: "+e;return c=t>=0?"N":"S",d=e>=0?"E":"W",t=Math.abs(t),e=Math.abs(e),t-=i=Math.floor(t),t-=(r=Math.floor(60*t))/60,o=Math.round(3600*t*h)/h,e-=a=Math.floor(e),e-=(s=Math.floor(60*e))/60,u=Math.round(3600*e*h)/h,"object"===n?{latitude:{degrees:i,minutes:r,seconds:o,direction:c},longitude:{degrees:a,minutes:s,seconds:u,direction:d}}:{latitude:i+"\xb0"+r+"'"+o+'"'+c,longitude:a+"\xb0"+s+"'"+u+'"'+d}}return function(){return t}})?l.apply(e,[]):l)||(t.exports=i)},cRix:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cUpR:function(t,e,n){"use strict";n.d(e,"p",(function(){return ct})),n.d(e,"q",(function(){return v})),n.d(e,"a",(function(){return dt})),n.d(e,"h",(function(){return ut})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return w})),n.d(e,"e",(function(){return W})),n.d(e,"f",(function(){return $})),n.d(e,"g",(function(){return X})),n.d(e,"b",(function(){return tt})),n.d(e,"r",(function(){return o})),n.d(e,"j",(function(){return T})),n.d(e,"i",(function(){return V})),n.d(e,"m",(function(){return K})),n.d(e,"n",(function(){return Z})),n.d(e,"l",(function(){return S})),n.d(e,"o",(function(){return x})),n.d(e,"k",(function(){return et}));var l=n("SVse"),i=n("8Y7J");let r=null;function o(){return r}const a={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},s={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},u={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c=(()=>{if(i.Gb.Node)return i.Gb.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class d extends class extends class{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(e).forEach(n=>{null!=this.getStyle(t,n)&&(this._transitionEnd=e[n])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(t){return t.getDistributedNodes()}resolveAndSetHref(t,e,n){t.href=null==n?e:e+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new d,r||(r=t)}hasProperty(t,e){return e in t}setProperty(t,e,n){t[e]=n}getProperty(t,e){return t[e]}invoke(t,e,n){t[e](...n)}logError(t){window.console&&(console.error?console.error(t):console.log(t))}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return a}contains(t,e){return c.call(t,e)}querySelector(t,e){return t.querySelector(e)}querySelectorAll(t,e){return t.querySelectorAll(e)}on(t,e,n){t.addEventListener(e,n,!1)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}createMouseEvent(t){const e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e}createEvent(t){const e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e}preventDefault(t){t.preventDefault(),t.returnValue=!1}isPrevented(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue}getInnerHTML(t){return t.innerHTML}getTemplateContent(t){return"content"in t&&this.isTemplateElement(t)?t.content:null}getOuterHTML(t){return t.outerHTML}nodeName(t){return t.nodeName}nodeValue(t){return t.nodeValue}type(t){return t.type}content(t){return this.hasProperty(t,"content")?t.content:t}firstChild(t){return t.firstChild}nextSibling(t){return t.nextSibling}parentElement(t){return t.parentNode}childNodes(t){return t.childNodes}childNodesAsList(t){const e=t.childNodes,n=new Array(e.length);for(let l=0;l<e.length;l++)n[l]=e[l];return n}clearNodes(t){for(;t.firstChild;)t.removeChild(t.firstChild)}appendChild(t,e){t.appendChild(e)}removeChild(t,e){t.removeChild(e)}replaceChild(t,e,n){t.replaceChild(e,n)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}insertBefore(t,e,n){t.insertBefore(n,e)}insertAllBefore(t,e,n){n.forEach(n=>t.insertBefore(n,e))}insertAfter(t,e,n){t.insertBefore(n,e.nextSibling)}setInnerHTML(t,e){t.innerHTML=e}getText(t){return t.textContent}setText(t,e){t.textContent=e}getValue(t){return t.value}setValue(t,e){t.value=e}getChecked(t){return t.checked}setChecked(t,e){t.checked=e}createComment(t){return this.getDefaultDocument().createComment(t)}createTemplate(t){const e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createElementNS(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)}createTextNode(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)}createScriptTag(t,e,n){const l=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return l.setAttribute(t,e),l}createStyleElement(t,e){const n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n}createShadowRoot(t){return t.createShadowRoot()}getShadowRoot(t){return t.shadowRoot}getHost(t){return t.host}clone(t){return t.cloneNode(!0)}getElementsByClassName(t,e){return t.getElementsByClassName(e)}getElementsByTagName(t,e){return t.getElementsByTagName(e)}classList(t){return Array.prototype.slice.call(t.classList,0)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}hasClass(t,e){return t.classList.contains(e)}setStyle(t,e,n){t.style[e]=n}removeStyle(t,e){t.style[e]=""}getStyle(t,e){return t.style[e]}hasStyle(t,e,n){const l=this.getStyle(t,e)||"";return n?l==n:l.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let l=0;l<n.length;l++){const t=n.item(l);e.set(t.name,t.value)}return e}hasAttribute(t,e){return t.hasAttribute(e)}hasAttributeNS(t,e,n){return t.hasAttributeNS(e,n)}getAttribute(t,e){return t.getAttribute(e)}getAttributeNS(t,e,n){return t.getAttributeNS(e,n)}setAttribute(t,e,n){t.setAttribute(e,n)}setAttributeNS(t,e,n,l){t.setAttributeNS(e,n,l)}removeAttribute(t,e){t.removeAttribute(e)}removeAttributeNS(t,e,n){t.removeAttributeNS(e,n)}templateAwareRoot(t){return this.isTemplateElement(t)?this.content(t):t}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(t){return t.title}setTitle(t,e){t.title=e||""}elementMatches(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))}isTemplateElement(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName}isTextNode(t){return t.nodeType===Node.TEXT_NODE}isCommentNode(t){return t.nodeType===Node.COMMENT_NODE}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}hasShadowRoot(t){return null!=t.shadowRoot&&t instanceof HTMLElement}isShadowRoot(t){return t instanceof DocumentFragment}importIntoDoc(t){return document.importNode(this.templateAwareRoot(t),!0)}adoptNode(t){return document.adoptNode(t)}getHref(t){return t.getAttribute("href")}getEventKey(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&u.hasOwnProperty(e)&&(e=u[e]))}return s[e]||e}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=p||(p=document.querySelector("base"),p)?p.getAttribute("href"):null;return null==e?null:(n=e,h||(h=document.createElement("a")),h.setAttribute("href",n),"/"===h.pathname.charAt(0)?h.pathname:"/"+h.pathname);var n}resetBaseElement(){p=null}getUserAgent(){return window.navigator.userAgent}setData(t,e,n){this.setAttribute(t,"data-"+e,n)}getData(t,e){return this.getAttribute(t,"data-"+e)}getComputedStyle(t){return getComputedStyle(t)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(l.G)(document.cookie,t)}setCookie(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)}}let h,p=null;function f(){return!!window.history.pushState}const b=new i.w("TRANSITION_ID"),m=[{provide:i.d,useFactory:function(t,e,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=o();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(e=>n.getAttribute(e,"ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[b,l.d,i.x],multi:!0}];class g{static init(){Object(i.jb)(new g)}addToWindow(t){i.Gb.getAngularTestability=(e,n=!0)=>{const l=t.findTestabilityInTree(e,n);if(null==l)throw new Error("Could not find testability for element.");return l},i.Gb.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.Gb.getAllAngularRootElements=()=>t.getAllRootElements(),i.Gb.frameworkStabilizers||(i.Gb.frameworkStabilizers=[]),i.Gb.frameworkStabilizers.push(t=>{const e=i.Gb.getAllAngularTestabilities();let n=e.length,l=!1;const r=function(e){l=l||e,n--,0==n&&t(l)};e.forEach((function(t){t.whenStable(r)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const l=t.getTestability(e);return null!=l?l:n?o().isShadowRoot(e)?this.findTestabilityInTree(t,o().getHost(e),!0):this.findTestabilityInTree(t,o().parentElement(e),!0):null}}function _(t,e){"undefined"!=typeof COMPILED&&COMPILED||((i.Gb.ng=i.Gb.ng||{})[t]=e)}const y=(()=>({ApplicationRef:i.g,NgZone:i.G}))();function A(t){return Object(i.fb)(t)}function v(t){return _("probe",A),_("coreTokens",Object.assign({},y,(t||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>A}const C=new i.w("EventManagerPlugins");class w{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let l=0;l<n.length;l++){const e=n[l];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}class P{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const l=o().getGlobalEventTarget(this._doc,t);if(!l)throw new Error(`Unsupported event target ${l} for event ${e}`);return this.addEventListener(l,e,n)}}class x{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}class S extends x{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>o().remove(t))}}const k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},M=/%COMP%/g;function O(t,e,n){for(let l=0;l<e.length;l++){let i=e[l];Array.isArray(i)?O(t,i,n):(i=i.replace(M,t),n.push(i))}return n}function D(t){return e=>{!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}class T{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.Z.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new j(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case i.Z.Native:case i.Z.ShadowDom:return new R(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=O(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(k[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,l){if(l){e=l+":"+e;const i=k[l];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const l=k[n];l?t.removeAttributeNS(l,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,l){l&i.O.DashCase?t.style.setProperty(e,n,l&i.O.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.O.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){L(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return L(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,D(n)):this.eventManager.addEventListener(t,e,D(n))}}const I=(()=>"@".charCodeAt(0))();function L(t,e){if(t.charCodeAt(0)===I)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class j extends E{constructor(t,e,n,l){super(t),this.component=n;const i=O(l+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(M,l+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(M,t)}(l+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class R extends E{constructor(t,e,n,l){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=l,this.shadowRoot=l.encapsulation===i.Z.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const r=O(l.id,l.styles,[]);for(let i=0;i<r.length;i++){const t=document.createElement("style");t.textContent=r[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}const F=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),N=F("addEventListener"),Y=F("removeEventListener"),U={},B="__zone_symbol__propagationStopped",z=(()=>{const t="undefined"!=typeof Zone&&Zone[F("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),G=function(t){return!!z&&z.hasOwnProperty(t)},H=function(t){const e=U[t.type];if(!e)return;const n=this[e];if(!n)return;const l=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,l):t.handler.apply(this,l)}{const e=n.slice();for(let n=0;n<e.length&&!0!==t[B];n++){const t=e[n];t.zone!==Zone.current?t.zone.run(t.handler,this,l):t.handler.apply(this,l)}}};class V extends P{constructor(t,e,n){super(t),this.ngZone=e,n&&Object(l.z)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[B]=!0),t&&t.apply(this,arguments)}}supports(t){return!0}addEventListener(t,e,n){let l=n;if(!t[N]||i.G.isInAngularZone()&&!G(e))t.addEventListener(e,l,!1);else{let n=U[e];n||(n=U[e]=F("ANGULAR"+e+"FALSE"));let i=t[n];const r=i&&i.length>0;i||(i=t[n]=[]);const o=G(e)?Zone.root:Zone.current;if(0===i.length)i.push({zone:o,handler:l});else{let t=!1;for(let e=0;e<i.length;e++)if(i[e].handler===l){t=!0;break}t||i.push({zone:o,handler:l})}r||t[N](e,H,!1)}return()=>this.removeEventListener(t,e,l)}removeEventListener(t,e,n){let l=t[Y];if(!l)return t.removeEventListener.apply(t,[e,n,!1]);let i=U[e],r=i&&t[i];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);let o=!1;for(let a=0;a<r.length;a++)if(r[a].handler===n){o=!0,r.splice(a,1);break}o?0===r.length&&l.apply(t,[e,H,!1]):t.removeEventListener.apply(t,[e,n,!1])}}const q={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},W=new i.w("HammerGestureConfig"),$=new i.w("HammerLoader");class X{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}class K extends P{constructor(t,e,n,l){super(t),this._config=e,this.console=n,this.loader=l}supports(t){return!(!q.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(t,e,n){const l=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let l=!1,i=()=>{l=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=()=>{});l||(i=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom Hammer.JS loader failed.`),i=()=>{}}),()=>{i()}}return l.runOutsideAngular(()=>{const i=this._config.buildHammer(t),r=function(t){l.runGuarded((function(){n(t)}))};return i.on(e,r),()=>{i.off(e,r),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}const J=["alt","control","meta","shift"],Q={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class Z extends P{constructor(t){super(t)}supports(t){return null!=Z.parseEventName(t)}addEventListener(t,e,n){const l=Z.parseEventName(e),i=Z.eventCallback(l.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>o().onAndCancel(t,l.domEventName,i))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const l=Z._normalizeKey(e.pop());let i="";if(J.forEach(t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=l,0!=e.length||0===l.length)return null;const r={};return r.domEventName=n,r.fullKey=i,r}static getEventFullKey(t){let e="",n=o().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),J.forEach(l=>{l!=n&&(0,Q[l])(t)&&(e+=l+".")}),e+=n,e}static eventCallback(t,e,n){return l=>{Z.getEventFullKey(l)===t&&n.runGuarded(()=>e(l))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}class tt{}class et extends tt{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.Q.NONE:return e;case i.Q.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i.pb)(this._doc,String(e)));case i.Q.STYLE:return e instanceof it?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i.qb)(e));case i.Q.SCRIPT:if(e instanceof rt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.Q.URL:return e instanceof at||e instanceof ot?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i.rb)(String(e)));case i.Q.RESOURCE_URL:if(e instanceof at)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(t,e){if(t instanceof nt)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} (see http://g.co/ng/security#xss)`)}bypassSecurityTrustHtml(t){return new lt(t)}bypassSecurityTrustStyle(t){return new it(t)}bypassSecurityTrustScript(t){return new rt(t)}bypassSecurityTrustUrl(t){return new ot(t)}bypassSecurityTrustResourceUrl(t){return new at(t)}}class nt{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class lt extends nt{getTypeName(){return"HTML"}}class it extends nt{getTypeName(){return"Style"}}class rt extends nt{getTypeName(){return"Script"}}class ot extends nt{getTypeName(){return"URL"}}class at extends nt{getTypeName(){return"ResourceURL"}}const st=[{provide:i.J,useValue:l.E},{provide:i.K,useValue:function(){d.makeCurrent(),g.init()},multi:!0},{provide:l.w,useClass:class extends l.w{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[l.d]},{provide:l.d,useFactory:function(){return document},deps:[]}],ut=Object(i.bb)(i.ib,"browser",st);function ct(){return new i.q}class dt{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:dt,providers:[{provide:i.c,useValue:t.appId},{provide:b,useExisting:i.c},m]}}}"undefined"!=typeof window&&window},cV7i:function(t,e,n){"use strict";function l(t,e){return[[-1/0,-1/0,1/0,1/0]]}n.d(e,"a",(function(){return l}))},cp0P:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var l=n("HDdC"),i=n("DH7j"),r=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function s(...t){if(1===t.length){const e=t[0];if(Object(i.a)(e))return u(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&Object(i.a)(t[0])?t[0]:t,null).pipe(Object(r.a)(t=>e(...t)))}return u(t,null)}function u(t,e){return new l.a(n=>{const l=t.length;if(0===l)return void n.complete();const i=new Array(l);let r=0,o=0;for(let s=0;s<l;s++){const u=Object(a.a)(t[s]);let c=!1;n.add(u.subscribe({next:t=>{c||(c=!0,o++),i[s]=t},error:t=>n.error(t),complete:()=>{r++,r!==l&&c||(o===l&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}},cpc2:function(t,e,n){function l(t){if(t)return function(t){for(var e in l.prototype)t[e]=l.prototype[e];return t}(t)}t.exports=l,l.prototype.on=l.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},l.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},l.prototype.off=l.prototype.removeListener=l.prototype.removeAllListeners=l.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,l=this._callbacks["$"+t];if(!l)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<l.length;i++)if((n=l[i])===e||n.fn===e){l.splice(i,1);break}return 0===l.length&&delete this._callbacks["$"+t],this},l.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],l=1;l<arguments.length;l++)e[l-1]=arguments[l];if(n){l=0;for(var i=(n=n.slice(0)).length;l<i;++l)n[l].apply(this,e)}return this},l.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},l.prototype.hasListeners=function(t){return!!this.listeners(t).length}},czMo:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},d5dl:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";return{DEG_2_RAD:Math.PI/180,RAD_2_DEG:180/Math.PI,EQUATORIAL_RADIUS:6378137,ECC_SQUARED:.006694380023,ECC_PRIME_SQUARED:.006739496775579513,EASTING_OFFSET:5e5,NORTHING_OFFSET:1e7,GRIDSQUARE_SET_COL_SIZE:8,GRIDSQUARE_SET_ROW_SIZE:20,BLOCK_SIZE:1e5,E1:(1-Math.sqrt(.993305619977))/(1+Math.sqrt(.993305619977)),k0:.9996}})?l.apply(e,[]):l)||(t.exports=i)},dFDH:function(t,e,n){"use strict";n.d(e,"e",(function(){return m})),n.d(e,"b",(function(){return _})),n.d(e,"d",(function(){return b})),n.d(e,"a",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f}));var l=n("XNiG"),i=n("8Y7J"),r=(n("GS7A"),n("zMNK")),o=n("IzEk"),a=n("1G5W"),s=n("QQfA"),u=n("5GAg"),c=n("7QIX");class d{constructor(t,e){this._overlayRef=e,this._afterDismissed=new l.a,this._afterOpened=new l.a,this._onAction=new l.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),t)}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const h=new i.w("MatSnackBarData");class p{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}class f{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}class b extends r.a{constructor(t,e,n,i){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this.snackBarConfig=i,this._destroyed=!1,this._onExit=new l.a,this._onEnter=new l.a,this._animationState="void",this._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(o.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}class m{}const g=new i.w("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new p}});let _=(()=>{class t{constructor(t,e,n,l,i,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=l,this._parentSnackBar=i,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const l=Object.assign({},this._defaultConfig,n);return l.data={message:t,action:e},l.announcementMessage||(l.announcementMessage=t),this.openFromComponent(f,l)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=new r.f(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[p,e]])),l=new r.d(b,e.viewContainerRef,n),i=t.attach(l);return i.instance.snackBarConfig=e,i.instance}_attach(t,e){const n=Object.assign({},new p,this._defaultConfig,e),l=this._createOverlay(n),o=this._attachSnackBarContainer(l,n),s=new d(o,l);if(t instanceof i.U){const e=new r.h(t,null,{$implicit:n.data,snackBarRef:s});s.instance=o.attachTemplatePortal(e)}else{const e=this._createInjector(n,s),l=new r.d(t,void 0,e),i=o.attachComponentPortal(l);s.instance=i.instance}return this._breakpointObserver.observe(c.b.HandsetPortrait).pipe(Object(a.a)(l.detachments())).subscribe(t=>{const e=l.overlayElement.classList;t.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}_createOverlay(t){const e=new s.d;e.direction=t.direction;let n=this._overlay.position().global();const l="rtl"===t.direction,i="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!l||"end"===t.horizontalPosition&&l,r=!i&&"center"!==t.horizontalPosition;return i?n.left("0"):r?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return new r.f(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[d,e],[h,t.data]]))}}return t.ngInjectableDef=Object(i.cc)({factory:function(){return new t(Object(i.dc)(s.c),Object(i.dc)(u.j),Object(i.dc)(i.t),Object(i.dc)(c.a),Object(i.dc)(t,12),Object(i.dc)(g))},token:t,providedIn:m}),t})()},dJrM:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return _}));var l=n("8Y7J"),i=(n("HsOI"),n("SVse")),r=n("POq0"),o=(n("Xd0L"),n("IP0z"),n("/HVE"),n("omvX"),l.Bb({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}}));function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),l.Db(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),l.Db(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),l.Ob(null,0)],null,null)}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,null,null,null,null,null,null,null)),l.Ob(null,2),(t()(),l.Db(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),l.Wb(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function c(t){return l.Yb(0,[l.Ob(null,3),(t()(),l.sb(0,null,null,0))],null,null)}function d(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" *"]))],null,null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component.updateOutlineGap()&&l),l}),null,null)),l.Cb(1,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),l.Cb(2,1196032,null,0,r.a,[r.b,l.p,l.G],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(4,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,c)),l.Cb(6,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,d)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),l.Ob(null,4)],null,null)}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function b(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),l.Ob(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function m(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function g(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,m)),l.Cb(2,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),l.Ob(null,6),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),l.Ob(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function _(t){return l.Yb(2,[l.Ub(671088640,1,{underlineRef:0}),l.Ub(402653184,2,{_connectionContainerRef:0}),l.Ub(671088640,3,{_inputContainerRef:0}),l.Ub(671088640,4,{_label:0}),(t()(),l.Db(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),l.Db(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&l),l}),null,null)),(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),l.Ob(null,1),(t()(),l.Db(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,h)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,p)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,f)),l.Cb(18,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),l.Cb(20,16384,null,0,i.r,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),l.sb(16777216,null,null,1,null,b)),l.Cb(22,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),l.sb(16777216,null,null,1,null,g)),l.Cb(24,278528,null,0,i.s,[l.Y,l.U,i.r],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}},dNwA:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dk3J:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("8rEH"),i=(n("svHU"),n("YGmB"),n("7/LY"),n("w+w1")),r=(n("G0WM"),n("vDCU"));class o{constructor(t,e,n,i,o,a,s){this.mapService=t,this.aircraftService=e,this.ghostService=n,this.selectAircraftService=i,this.trafficService=o,this.dialogRef=a,this.data=s,this.onSelect=r.a,this.displayedColumns=["operation","TTL","icao","latitude","longitude","altitude","track","speed","vsi","airport_to","icao_type_code"],this.dataSource=new l.l,this.modePage="ArrayGhost",this.currentGhost=void 0}ngOnInit(){this.getGhosts(),this.subscribeInterval=setInterval(()=>{this.getGhosts()},5e3)}ngOnDestroy(){clearInterval(this.subscribeInterval)}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}closeModal(){this.dialogRef.close()}getGhosts(){this.ghostService.ghostControllerGetGhosts().subscribe(t=>{this.dataSource.data=t.data})}deleteGhost(t){this.ghostService.ghostControllerDeleteGhost({icao:t}).subscribe(e=>{this.dataSource.data.filter(e=>e.icao!==t)})}goFormGhost(t){this.currentGhost=t,this.modePage="FormGhost"}goArrayGhost(){this.currentGhost=void 0,this.modePage="ArrayGhost",this.getGhosts()}selectGhost(t){this.aircraftService.aircraftControllerGetAircrafts({icaos:[t]}).subscribe(t=>{const e=this.trafficService.addAircraft(new i.a(t.data[0]));this.selectAircraftService.selectAircraft(e),this.mapService.recenterMap([e.longitude,e.latitude])},t=>console.log(t))}}},"dkv/":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var l in t)n.call(t,l)&&e.push(l);return e}},drqP:function(t,e,n){"use strict";var l,i=n("kvpX"),r=n("TN97"),o=n("t98H"),a=n("EwAT"),s=n("Hsuu"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function c(t){return"string"==typeof t?JSON.parse(t)||null:null!==t?t:null}var d=function(t){function e(){return t.call(this)||this}return u(e,t),e.prototype.getType=function(){return s.a.JSON},e.prototype.readFeature=function(t,e){return this.readFeatureFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readFeatures=function(t,e){return this.readFeaturesFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readFeatureFromObject=function(t,e){return Object(a.b)()},e.prototype.readFeaturesFromObject=function(t,e){return Object(a.b)()},e.prototype.readGeometry=function(t,e){return this.readGeometryFromObject(c(t),this.getReadOptions(t,e))},e.prototype.readGeometryFromObject=function(t,e){return Object(a.b)()},e.prototype.readProjection=function(t){return this.readProjectionFromObject(c(t))},e.prototype.readProjectionFromObject=function(t){return Object(a.b)()},e.prototype.writeFeature=function(t,e){return JSON.stringify(this.writeFeatureObject(t,e))},e.prototype.writeFeatureObject=function(t,e){return Object(a.b)()},e.prototype.writeFeatures=function(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))},e.prototype.writeFeaturesObject=function(t,e){return Object(a.b)()},e.prototype.writeGeometry=function(t,e){return JSON.stringify(this.writeGeometryObject(t,e))},e.prototype.writeGeometryObject=function(t,e){return Object(a.b)()},e}(o.a),h=n("Ho3V"),p=n("AdTM"),f=n("CvXi"),b=n("jzee"),m=n("9iPr"),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function _(t){for(var e=[],n=0,l=t.length;n<l;++n)e.push(t[n].clone());return e}var y=function(t){function e(e){var n=t.call(this)||this;return n.geometries_=e||null,n.changeEventsKeys_=[],n.listenGeometriesChange_(),n}return g(e,t),e.prototype.unlistenGeometriesChange_=function(){this.changeEventsKeys_.forEach(h.c),this.changeEventsKeys_.length=0},e.prototype.listenGeometriesChange_=function(){if(this.geometries_)for(var t=0,e=this.geometries_.length;t<e;++t)this.changeEventsKeys_.push(Object(h.a)(this.geometries_[t],p.a.CHANGE,this.changed,this))},e.prototype.clone=function(){var t=new e(null);return t.setGeometries(this.geometries_),t},e.prototype.closestPointXY=function(t,e,n,l){if(l<Object(f.e)(this.getExtent(),t,e))return l;for(var i=this.geometries_,r=0,o=i.length;r<o;++r)l=i[r].closestPointXY(t,e,n,l);return l},e.prototype.containsXY=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)if(n[l].containsXY(t,e))return!0;return!1},e.prototype.computeExtent=function(t){Object(f.l)(t);for(var e=this.geometries_,n=0,l=e.length;n<l;++n)Object(f.q)(t,e[n].getExtent());return t},e.prototype.getGeometries=function(){return _(this.geometries_)},e.prototype.getGeometriesArray=function(){return this.geometries_},e.prototype.getGeometriesArrayRecursive=function(){for(var t=[],e=this.geometries_,n=0,l=e.length;n<l;++n)e[n].getType()===this.getType()?t=t.concat(e[n].getGeometriesArrayRecursive()):t.push(e[n]);return t},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;for(var n=[],l=this.geometries_,i=!1,r=0,o=l.length;r<o;++r){var a=l[r],s=a.getSimplifiedGeometry(t);n.push(s),s!==a&&(i=!0)}if(i){var u=new e(null);return u.setGeometriesArray(n),u}return this.simplifiedGeometryMaxMinSquaredTolerance=t,this},e.prototype.getType=function(){return m.a.GEOMETRY_COLLECTION},e.prototype.intersectsExtent=function(t){for(var e=this.geometries_,n=0,l=e.length;n<l;++n)if(e[n].intersectsExtent(t))return!0;return!1},e.prototype.isEmpty=function(){return 0===this.geometries_.length},e.prototype.rotate=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)n[l].rotate(t,e);this.changed()},e.prototype.scale=function(t,e,n){var l=n;l||(l=Object(f.x)(this.getExtent()));for(var i=this.geometries_,r=0,o=i.length;r<o;++r)i[r].scale(t,e,l);this.changed()},e.prototype.setGeometries=function(t){this.setGeometriesArray(_(t))},e.prototype.setGeometriesArray=function(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()},e.prototype.applyTransform=function(t){for(var e=this.geometries_,n=0,l=e.length;n<l;++n)e[n].applyTransform(t);this.changed()},e.prototype.translate=function(t,e){for(var n=this.geometries_,l=0,i=n.length;l<i;++l)n[l].translate(t,e);this.changed()},e.prototype.disposeInternal=function(){this.unlistenGeometriesChange_(),t.prototype.disposeInternal.call(this)},e}(b.a),A=n("egkh"),v=n("R+T3"),C=n("mkQN"),w=n("iNpl"),P=n("9ANI"),x=n("W8M7"),S=n("OPOH"),k=n("JW8z"),M=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function l(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(l.prototype=n.prototype,new l)}}();function O(t,e){if(!t)return null;var n;switch(t.type){case m.a.POINT:n=function(t){return new P.a(t.coordinates)}(t);break;case m.a.LINE_STRING:n=function(t){return new A.a(t.coordinates)}(t);break;case m.a.POLYGON:n=function(t){return new x.a(t.coordinates)}(t);break;case m.a.MULTI_POINT:n=function(t){return new C.a(t.coordinates)}(t);break;case m.a.MULTI_LINE_STRING:n=function(t){return new v.a(t.coordinates)}(t);break;case m.a.MULTI_POLYGON:n=function(t){return new w.a(t.coordinates)}(t);break;case m.a.GEOMETRY_COLLECTION:n=function(t,e){var n=t.geometries.map((function(t){return O(t,void 0)}));return new y(n)}(t);break;default:throw new Error("Unsupported GeoJSON type: "+t.type)}return Object(o.b)(n,!1,e)}function D(t,e){var n,l=(t=Object(o.b)(t,!0,e)).getType();switch(l){case m.a.POINT:n=function(t,e){return{type:"Point",coordinates:t.getCoordinates()}}(t);break;case m.a.LINE_STRING:n=function(t,e){return{type:"LineString",coordinates:t.getCoordinates()}}(t);break;case m.a.POLYGON:n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"Polygon",coordinates:t.getCoordinates(n)}}(t,e);break;case m.a.MULTI_POINT:n=function(t,e){return{type:"MultiPoint",coordinates:t.getCoordinates()}}(t);break;case m.a.MULTI_LINE_STRING:n=function(t,e){return{type:"MultiLineString",coordinates:t.getCoordinates()}}(t);break;case m.a.MULTI_POLYGON:n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"MultiPolygon",coordinates:t.getCoordinates(n)}}(t,e);break;case m.a.GEOMETRY_COLLECTION:n=function(t,e){return{type:"GeometryCollection",geometries:t.getGeometriesArray().map((function(t){var n=Object(S.a)({},e);return delete n.featureProjection,D(t,n)}))}}(t,e);break;case m.a.CIRCLE:n={type:"GeometryCollection",geometries:[]};break;default:throw new Error("Unsupported geometry type: "+l)}return n}var T=function(t){function e(e){var n=this,l=e||{};return(n=t.call(this)||this).dataProjection=Object(k.g)(l.dataProjection?l.dataProjection:"EPSG:4326"),l.featureProjection&&(n.defaultFeatureProjection=Object(k.g)(l.featureProjection)),n.geometryName_=l.geometryName,n.extractGeometryName_=l.extractGeometryName,n}return M(e,t),e.prototype.readFeatureFromObject=function(t,e){var n,l=O((n="Feature"===t.type?t:{type:"Feature",geometry:t,properties:null}).geometry,e),i=new r.a;return this.geometryName_?i.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in n!==void 0&&i.setGeometryName(n.geometry_name),i.setGeometry(l),"id"in n&&i.setId(n.id),n.properties&&i.setProperties(n.properties,!0),i},e.prototype.readFeaturesFromObject=function(t,e){var n=null;if("FeatureCollection"===t.type){n=[];for(var l=t.features,i=0,r=l.length;i<r;++i)n.push(this.readFeatureFromObject(l[i],e))}else n=[this.readFeatureFromObject(t,e)];return n},e.prototype.readGeometryFromObject=function(t,e){return O(t,e)},e.prototype.readProjectionFromObject=function(t){var e,n=t.crs;return n?"name"==n.type?e=Object(k.g)(n.properties.name):"EPSG"===n.type?e=Object(k.g)("EPSG:"+n.properties.code):Object(i.a)(!1,36):e=this.dataProjection,e},e.prototype.writeFeatureObject=function(t,e){e=this.adaptOptions(e);var n={type:"Feature",geometry:null,properties:null},l=t.getId();void 0!==l&&(n.id=l);var i=t.getGeometry();i&&(n.geometry=D(i,e));var r=t.getProperties();return delete r[t.getGeometryName()],Object(S.d)(r)||(n.properties=r),n},e.prototype.writeFeaturesObject=function(t,e){e=this.adaptOptions(e);for(var n=[],l=0,i=t.length;l<i;++l)n.push(this.writeFeatureObject(t[l],e));return{type:"FeatureCollection",features:n}},e.prototype.writeGeometryObject=function(t,e){return D(t,this.adaptOptions(e))},e}(d),E=n("Pmt0"),I=n("WVt+"),L=n("LvDl"),j=n("ppab"),R=n("I5KE"),F=(n("svHU"),n("zixo")),N=n("hoJM"),Y=n("bHcU"),U=n("g6Z0");const B=new F.a({radius:3,fill:null,stroke:new N.a({color:"white",width:3})}),z={Point:new Y.b({image:B}),LineString:new Y.b({stroke:new N.a({color:"white",width:3})}),MultiLineString:new Y.b({stroke:new N.a({color:"white",width:3})}),MultiPoint:new Y.b({image:B}),MultiPolygon:new Y.b({stroke:new N.a({color:"white",width:3})}),Polygon:new Y.b({stroke:new N.a({color:"white",lineDash:[4],width:3}),fill:new U.a({color:"rgba(0, 0, 255, 0.1)"})}),GeometryCollection:new Y.b({stroke:new N.a({color:"white",width:3}),fill:new U.a({color:"white"}),image:new F.a({radius:3,fill:null,stroke:new N.a({color:"white"})})}),Circle:new Y.b({stroke:new N.a({color:"white",width:3}),fill:new U.a({color:"rgba(255,0,0,0.2)"})})};n("G0WM"),n.d(e,"a",(function(){return G}));class G extends j.a{constructor(t,e){super(),this.mapService=t,this.queryGridService=e,this.pivs=[]}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Trajectory",this.getLayer())}ngOnDestroy(){this.mapService.removeLayerToGroup(this.groupLayer||"Trajectory",this.getLayer())}displayPiv(t){this.queryGridService.queryGridControllerGetGrid({body:{sectorPolygon:t,layers:["piv"]}}).subscribe(e=>{const n=[];e.data.piv.forEach(t=>{t.features.forEach(e=>{n.push({type:"Feature",geometry:e.geometry,properties:Object.assign({},e.properties,{layerName:t.name,clickable:t.clickable,hoverable:t.hoverable,layerMapping:t.mapping})})})});const l={type:"FeatureCollection",features:n},i=new T({dataProjection:"EPSG:4326",featureProjection:"EPSG:3857",geometryName:"geometry"}).readFeatures(l);this.pivs=[],this.source.clear();const r=[];for(const o in i)if(i.hasOwnProperty(o)){const e=new R.a(this.getLayer(),i[o]);e.distance=this.getDistance(t[0][0],e.feature.getGeometry()),e.distanceRounded=Math.round(10*e.distance)/10,r.push(e),this.pivs.push(e)}this.pivs=L.sortBy(r,["distance"]),this.source.addFeatures(i)})}getDistance(t,e){let n=e.getFlatMidpoint?e.getFlatMidpoint():e.getCoordinates();e.getType(),"Point"===e.getType()?n=e.getCoordinates():"LineString"===e.getType()?n=e.getFlatMidpoint():"Polygon"===e.getType()&&(n=e.getInteriorPoint().getCoordinates());const l=I.point(t),i=I.point(Object(k.m)(n));return I.distance(l,i,{units:"kilometers"})}removePiv(){this.source.clear(),this.pivs=[]}getLayer(){return this.layer||(this.layer=new E.a({name:"PIV",source:super.getVectorSource(),style:this.getStyle,visible:this.visibility,zIndex:this.zIndex}),this.layer.set("isPivIntersects",!0)),this.layer}getStyle(t){return z[t.getGeometry().getType()]}}},dvZr:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"p",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"h",(function(){return o})),n.d(e,"o",(function(){return a})),n.d(e,"m",(function(){return s})),n.d(e,"l",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return h})),n.d(e,"q",(function(){return p})),n.d(e,"n",(function(){return f})),n.d(e,"e",(function(){return b})),n.d(e,"d",(function(){return m})),n.d(e,"s",(function(){return g})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return y})),n.d(e,"r",(function(){return A})),n.d(e,"c",(function(){return v})),n.d(e,"t",(function(){return C}));const l=8,i=9,r=13,o=27,a=32,s=33,u=34,c=35,d=36,h=37,p=38,f=39,b=40,m=46,g=48,_=57,y=65,A=90,v=188;function C(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},"e+ae":function(t,e,n){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function l(t){return t>1&&t<5}function i(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||i?r+(l(t)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return e?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return e||i?r+(l(t)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(l(t)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return e||i?"de\u0148":"d\u0148om";case"dd":return e||i?r+(l(t)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?r+(l(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?r+(l(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"e0/R":function(t,e,n){"use strict";e.a={PROPERTYCHANGE:"propertychange"}},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("lJxs"),i=n("Cfvw"),r=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>Object(i.a)(t(n,r)).pipe(Object(l.a)((t,l)=>e(n,t,r,l))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new s(t,this.project))}}class s extends r.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(l){return void this.destination.error(l)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.a(this),l=this.destination;l.add(n),this.innerSubscription=Object(r.c)(t,n),this.innerSubscription!==n&&l.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eNwd:function(t,e,n){"use strict";var l=n("3N8a");class i extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var r=n("IjjT");class o extends r.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,l=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++l<i&&(t=e.shift()));if(this.active=!1,n){for(;++l<i&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,"a",(function(){return a}));const a=new o(i)},eOtv:function(t,e,n){var l=n("lKxJ"),i=n("KFGy"),r=n("cpc2"),o=n("Uwu7"),a=n("2Dig"),s=n("QN7Q"),u=n("x7D4")("socket.io-client:manager"),c=n("7jRU"),d=n("C2QD"),h=Object.prototype.hasOwnProperty;function p(t,e){if(!(this instanceof p))return new p(t,e);t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||o;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=p,p.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)h.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},p.prototype.updateSocketIds=function(){for(var t in this.nsps)h.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},p.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},r(p.prototype),p.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},p.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},p.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(t,e){if(u("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;u("opening %s",this.uri),this.engine=l(this.uri,this.opts);var n=this.engine,i=this;this.readyState="opening",this.skipReconnect=!1;var r=a(n,"open",(function(){i.onopen(),t&&t()})),o=a(n,"error",(function(e){if(u("connect_error"),i.cleanup(),i.readyState="closed",i.emitAll("connect_error",e),t){var n=new Error("Connection error");n.data=e,t(n)}else i.maybeReconnectOnOpen()}));if(!1!==this._timeout){var s=this._timeout;u("connect attempt will timeout after %d",s),0===s&&r.destroy();var c=setTimeout((function(){u("connect attempt timed out after %d",s),r.destroy(),n.close(),n.emit("error","timeout"),i.emitAll("connect_timeout",s)}),s);this.subs.push({destroy:function(){clearTimeout(c)}})}return this.subs.push(r),this.subs.push(o),this},p.prototype.onopen=function(){u("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(a(t,"data",s(this,"ondata"))),this.subs.push(a(t,"ping",s(this,"onping"))),this.subs.push(a(t,"pong",s(this,"onpong"))),this.subs.push(a(t,"error",s(this,"onerror"))),this.subs.push(a(t,"close",s(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",s(this,"ondecoded")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},p.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},p.prototype.ondata=function(t){this.decoder.add(t)},p.prototype.ondecoded=function(t){this.emit("packet",t)},p.prototype.onerror=function(t){u("error",t),this.emitAll("error",t)},p.prototype.socket=function(t,e){var n=this.nsps[t];if(!n){n=new i(this,t,e),this.nsps[t]=n;var l=this;n.on("connecting",r),n.on("connect",(function(){n.id=l.generateId(t)})),this.autoConnect&&r()}function r(){~c(l.connecting,n)||l.connecting.push(n)}return n},p.prototype.destroy=function(t){var e=c(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},p.prototype.packet=function(t){u("writing packet %j",t);var e=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,(function(n){for(var l=0;l<n.length;l++)e.engine.write(n[l],t.options);e.encoding=!1,e.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},p.prototype.cleanup=function(){u("cleanup");for(var t=this.subs.length,e=0;e<t;e++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},p.prototype.close=p.prototype.disconnect=function(){u("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},p.prototype.onclose=function(t){u("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();u("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(u("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(u("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(u("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},eQqr:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var l=n("f8l7"),i=n("9iPr");function r(t,e,n){var i=n||6371008.8,r=Object(l.i)(t[1]),o=Object(l.i)(e[1]),a=(o-r)/2,s=Object(l.i)(e[0]-t[0])/2,u=Math.sin(a)*Math.sin(a)+Math.sin(s)*Math.sin(s)*Math.cos(r)*Math.cos(o);return 2*i*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))}function o(t,e){for(var n=0,l=0,i=t.length;l<i-1;++l)n+=r(t[l],t[l+1],e);return n}function a(t,e){var n=e||{},l=n.radius||6371008.8,r=n.projection||"EPSG:3857",s=t.getType();s!==i.a.GEOMETRY_COLLECTION&&(t=t.clone().transform(r,"EPSG:4326"));var u,c,d,h,p,f,b=0;switch(s){case i.a.POINT:case i.a.MULTI_POINT:break;case i.a.LINE_STRING:case i.a.LINEAR_RING:b=o(u=t.getCoordinates(),l);break;case i.a.MULTI_LINE_STRING:case i.a.POLYGON:for(d=0,h=(u=t.getCoordinates()).length;d<h;++d)b+=o(u[d],l);break;case i.a.MULTI_POLYGON:for(d=0,h=(u=t.getCoordinates()).length;d<h;++d)for(p=0,f=(c=u[d]).length;p<f;++p)b+=o(c[p],l);break;case i.a.GEOMETRY_COLLECTION:var m=t.getGeometries();for(d=0,h=m.length;d<h;++d)b+=a(m[d],e);break;default:throw new Error("Unsupported geometry type: "+s)}return b}function s(t,e,n,i){var r=i||6371008.8,o=Object(l.i)(t[1]),a=Object(l.i)(t[0]),s=e/r,u=Math.asin(Math.sin(o)*Math.cos(s)+Math.cos(o)*Math.sin(s)*Math.cos(n)),c=a+Math.atan2(Math.sin(n)*Math.sin(s)*Math.cos(o),Math.cos(s)-Math.sin(o)*Math.sin(u));return[Object(l.h)(c),Object(l.h)(u)]}},eRUA:function(t,e,n){"use strict";t.exports=i;var l=n("kVK+");function i(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;var r="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function o(t){return t.type===i.Bytes?t.readVarint()+t.pos:t.pos+1}function a(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function s(t,e,n){var l=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(l);for(var i=n.pos-1;i>=t;i--)n.buf[i+l]=n.buf[i]}function u(t,e){for(var n=0;n<t.length;n++)e.writeVarint(t[n])}function c(t,e){for(var n=0;n<t.length;n++)e.writeSVarint(t[n])}function d(t,e){for(var n=0;n<t.length;n++)e.writeFloat(t[n])}function h(t,e){for(var n=0;n<t.length;n++)e.writeDouble(t[n])}function p(t,e){for(var n=0;n<t.length;n++)e.writeBoolean(t[n])}function f(t,e){for(var n=0;n<t.length;n++)e.writeFixed32(t[n])}function b(t,e){for(var n=0;n<t.length;n++)e.writeSFixed32(t[n])}function m(t,e){for(var n=0;n<t.length;n++)e.writeFixed64(t[n])}function g(t,e){for(var n=0;n<t.length;n++)e.writeSFixed64(t[n])}function _(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function y(t,e,n){t[n]=e,t[n+1]=e>>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function A(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){for(n=n||this.length;this.pos<n;){var l=this.readVarint(),i=l>>3,r=this.pos;this.type=7&l,t(i,e,this),this.pos===r&&this.skip(l)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=_(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=A(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=_(this.buf,this.pos)+4294967296*_(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=_(this.buf,this.pos)+4294967296*A(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=l.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=l.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,l=this.buf;return e=127&(n=l[this.pos++]),n<128?e:(e|=(127&(n=l[this.pos++]))<<7,n<128?e:(e|=(127&(n=l[this.pos++]))<<14,n<128?e:(e|=(127&(n=l[this.pos++]))<<21,n<128?e:function(t,e,n){var l,i,r=n.buf;if(l=(112&(i=r[n.pos++]))>>4,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<3,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<10,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<17,i<128)return a(t,l,e);if(l|=(127&(i=r[n.pos++]))<<24,i<128)return a(t,l,e);if(l|=(1&(i=r[n.pos++]))<<31,i<128)return a(t,l,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(n=l[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&r?function(t,e,n){return r.decode(t.subarray(e,n))}(this.buf,e,t):function(t,e,n){for(var l="",i=e;i<n;){var r,o,a,s=t[i],u=null,c=s>239?4:s>223?3:s>191?2:1;if(i+c>n)break;1===c?s<128&&(u=s):2===c?128==(192&(r=t[i+1]))&&(u=(31&s)<<6|63&r)<=127&&(u=null):3===c?(o=t[i+2],128==(192&(r=t[i+1]))&&128==(192&o)&&((u=(15&s)<<12|(63&r)<<6|63&o)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=t[i+2],a=t[i+3],128==(192&(r=t[i+1]))&&128==(192&o)&&128==(192&a)&&((u=(15&s)<<18|(63&r)<<12|(63&o)<<6|63&a)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,l+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),l+=String.fromCharCode(u),i+=c}return l}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==i.Bytes)return t.push(this.readVarint(e));var n=o(this);for(t=t||[];this.pos<n;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==i.Bytes)return t.push(this.readSVarint());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==i.Bytes)return t.push(this.readBoolean());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==i.Bytes)return t.push(this.readFloat());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==i.Bytes)return t.push(this.readDouble());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed32());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed32());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed64());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed64());var e=o(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===i.Varint)for(;this.buf[this.pos++]>127;);else if(e===i.Bytes)this.pos=this.readVarint()+this.pos;else if(e===i.Fixed32)this.pos+=4;else{if(e!==i.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var n=new Uint8Array(e);n.set(this.buf),this.buf=n,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),y(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),y(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),y(this.buf,-1&t,this.pos),y(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),y(this.buf,-1&t,this.pos),y(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var n,l;if(t>=0?(n=t%4294967296|0,l=t/4294967296|0):(l=~(-t/4294967296),4294967295^(n=~(-t%4294967296))?n=n+1|0:(n=0,l=l+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7)}(n,0,e),function(t,e){var n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(l,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,n){for(var l,i,r=0;r<e.length;r++){if((l=e.charCodeAt(r))>55295&&l<57344){if(!i){l>56319||r+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=l;continue}if(l<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=l;continue}l=i-55296<<10|l-56320|65536,i=null}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);l<128?t[n++]=l:(l<2048?t[n++]=l>>6|192:(l<65536?t[n++]=l>>12|224:(t[n++]=l>>18|240,t[n++]=l>>12&63|128),t[n++]=l>>6&63|128),t[n++]=63&l|128)}return n}(this.buf,t,this.pos);var n=this.pos-e;n>=128&&s(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),l.write(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),l.write(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var n=0;n<e;n++)this.buf[this.pos++]=t[n]},writeRawMessage:function(t,e){this.pos++;var n=this.pos;t(e,this);var l=this.pos-n;l>=128&&s(n,l,this),this.pos=n-1,this.writeVarint(l),this.pos+=l},writeMessage:function(t,e,n){this.writeTag(t,i.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,u,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,c,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,p,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,d,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,h,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,f,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,b,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,m,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,g,e)},writeBytesField:function(t,e){this.writeTag(t,i.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,i.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,i.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,i.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}}},egkh:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("mrzG"),u=n("l2lA"),c=n("q7cr"),d=n("u2yf"),h=n("saKC"),p=n("xWBw"),f=n("WTjQ"),b=n("/U2p"),m=n("HEh+"),g=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),_=function(t){function e(e,n){var l=t.call(this)||this;return l.flatMidpoint_=null,l.flatMidpointRevision_=-1,l.maxDelta_=-1,l.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?l.setCoordinates(e,n):l.setFlatCoordinates(n,e),l}return g(e,t),e.prototype.appendCoordinate=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t):this.flatCoordinates=t.slice(),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.e)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.d)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,n,l))},e.prototype.forEachSegment=function(t){return Object(b.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinateAtM=function(t,e){if(this.layout!=o.a.XYM&&this.layout!=o.a.XYZM)return null;var n=void 0!==e&&e;return Object(h.b)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n)},e.prototype.getCoordinates=function(){return Object(d.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinateAt=function(t,e){return Object(h.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e)},e.prototype.getLength=function(){return Object(f.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getFlatMidpoint=function(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=Object(m.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,o.a.XY)},e.prototype.getType=function(){return a.a.LINE_STRING},e.prototype.intersectsExtent=function(t){return Object(p.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(s.a);e.a=_},ek9U:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("vDCU");n("978D");class i{constructor(t,e,n){this.dialogRef=t,this.data=e,this.timeService=n,this.onSelect=l.a}ngOnInit(){setTimeout(()=>{this.startReplay(this.data.date)})}startReplay(t){this.timeService.getDateReplay()?(this.timeService.clearTimer(),this.timeService.startReplay(t.toDate())):this.timeService.startReplay(t.toDate())}closeModal(){this.timeService.stopReplay(),this.dialogRef.close()}}},elxJ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8Y7J"),n("s7LF"),n("Xd0L");class l{}},f8l7:function(t,e,n){"use strict";function l(t,e,n){return Math.min(Math.max(t,e),n)}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return d}));var i="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2};function r(t,e,n,l,i,r){var a=i-n,s=r-l;if(0!==a||0!==s){var u=((t-n)*a+(e-l)*s)/(a*a+s*s);u>1?(n=i,l=r):u>0&&(n+=a*u,l+=s*u)}return o(t,e,n,l)}function o(t,e,n,l){var i=n-t,r=l-e;return i*i+r*r}function a(t){for(var e=t.length,n=0;n<e;n++){for(var l=n,i=Math.abs(t[n][n]),r=n+1;r<e;r++){var o=Math.abs(t[r][n]);o>i&&(i=o,l=r)}if(0===i)return null;var a=t[l];t[l]=t[n],t[n]=a;for(var s=n+1;s<e;s++)for(var u=-t[s][n]/t[n][n],c=n;c<e+1;c++)n==c?t[s][c]=0:t[s][c]+=u*t[n][c]}for(var d=new Array(e),h=e-1;h>=0;h--){d[h]=t[h][e]/t[h][h];for(var p=h-1;p>=0;p--)t[p][e]-=t[p][h]*d[h]}return d}function s(t){return 180*t/Math.PI}function u(t){return t*Math.PI/180}function c(t,e){var n=t%e;return n*e<0?n+e:n}function d(t,e,n){return t+n*(e-t)}},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return P})),n.d(e,"c",(function(){return pt})),n.d(e,"g",(function(){return ft})),n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return Ut})),n.d(e,"d",(function(){return te})),n.d(e,"f",(function(){return ne})),n.d(e,"h",(function(){return le}));var l=n("GS7A");function i(){return"undefined"!=typeof process}function r(t){switch(t.length){case 0:return new l.d;case 1:return t[0];default:return new l.o(t)}}function o(t,e,n,i,r={},o={}){const a=[],s=[];let u=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==u,d=i&&c||{};Object.keys(t).forEach(n=>{let i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case l.p:s=r[n];break;case l.a:s=o[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}d[i]=s}),i||s.push(d),c=d,u=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return s}function a(t,e,n,l){switch(e){case"start":t.onStart(()=>l(n&&s(n,"start",t)));break;case"done":t.onDone(()=>l(n&&s(n,"done",t)));break;case"destroy":t.onDestroy(()=>l(n&&s(n,"destroy",t)))}}function s(t,e,n){const l=n.totalTime,i=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==l?t.totalTime:l,!!n.disabled),r=t._data;return null!=r&&(i._data=r),i}function u(t,e,n,l,i="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:l,phaseName:i,totalTime:r,disabled:!!o}}function c(t,e,n){let l;return t instanceof Map?(l=t.get(e),l||t.set(e,l=n)):(l=t[e],l||(l=t[e]=n)),l}function d(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let h=(t,e)=>!1,p=(t,e)=>!1,f=(t,e,n)=>[];const b=i();(b||"undefined"!=typeof Element)&&(h=(t,e)=>t.contains(e),p=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):p}})(),f=(t,e,n)=>{let l=[];if(n)l.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&l.push(n)}return l});let m=null,g=!1;function _(t){m||(m=("undefined"!=typeof document?document.body:null)||{},g=!!m.style&&"WebkitAppearance"in m.style);let e=!0;return m.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in m.style,!e&&g)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in m.style),e}const y=p,A=h,v=f;function C(t){const e={};return Object.keys(t).forEach(n=>{const l=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[l]=t[n]}),e}class w{validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,o=[],a){return new l.d(n,i)}}let P=(()=>{class t{}return t.NOOP=new w,t})();function x(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:S(parseFloat(e[1]),e[2])}function S(t,e){switch(e){case"s":return 1e3*t;default:return t}}function k(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let l,i=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};l=S(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=S(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else l=t;if(!n){let n=!1,r=e.length;l<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:l,delay:i,easing:r}}(t,e,n)}function M(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function O(t,e,n={}){if(e)for(let l in t)n[l]=t[l];else M(t,n);return n}function D(t,e,n){return n?e+":"+n+";":""}function T(t){let e="";for(let n=0;n<t.style.length;n++){const l=t.style.item(n);e+=D(0,l,t.style.getPropertyValue(l))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=D(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function E(t,e,n){t.style&&(Object.keys(e).forEach(l=>{const i=U(l);n&&!n.hasOwnProperty(l)&&(n[l]=t.style[i]),t.style[i]=e[l]}),i()&&T(t))}function I(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=U(e);t.style[n]=""}),i()&&T(t))}function L(t){return Array.isArray(t)?1==t.length?t[0]:Object(l.j)(t):t}const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function R(t){let e=[];if("string"==typeof t){const n=t.toString();let l;for(;l=j.exec(n);)e.push(l[1]);j.lastIndex=0}return e}function F(t,e,n){const l=t.toString(),i=l.replace(j,(t,l)=>{let i=e[l];return e.hasOwnProperty(l)||(n.push("Please provide a value for the animation param "+l),i=""),i.toString()});return i==l?t:i}function N(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Y=/-+([a-z0-9])/g;function U(t){return t.replace(Y,(...t)=>t[1].toUpperCase())}function B(t,e){return 0===t||0===e}function z(t,e,n){const l=Object.keys(n);if(l.length&&e.length){let r=e[0],o=[];if(l.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach((function(e){n[e]=H(t,e)}))}}return e}function G(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function H(t,e){return window.getComputedStyle(t)[e]}function V(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const l=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof l)return void e.push(l);t=l}const l=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=l[1],r=l[2],o=l[3];e.push($(i,o)),"<"!=r[0]||"*"==i&&"*"==o||e.push($(o,i))}(t,n,e)):n.push(t),n}const q=new Set(["true","1"]),W=new Set(["false","0"]);function $(t,e){const n=q.has(t)||W.has(t),l=q.has(e)||W.has(e);return(i,r)=>{let o="*"==t||t==i,a="*"==e||e==r;return!o&&n&&"boolean"==typeof i&&(o=i?q.has(t):W.has(t)),!a&&l&&"boolean"==typeof r&&(a=r?q.has(e):W.has(e)),o&&a}}const X=new RegExp("s*:selfs*,?","g");function K(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new Q(e);return this._resetContextStyleTimingState(n),G(this,L(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,l=e.depCount=0;const i=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,l=n.name;l.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=l}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,l+=i.depCount,r.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:r,queryCount:n,depCount:l,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),l=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,r=l||{};if(n.styles.forEach(t=>{if(Z(t)){const e=t;Object.keys(e).forEach(t=>{R(e[t]).forEach(t=>{r.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=N(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:l?{params:l}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=G(this,L(t.animation),e);return{type:1,matchers:V(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:tt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>G(this,t,e)),options:tt(t.options)}}visitGroup(t,e){const n=e.currentTime;let l=0;const i=t.steps.map(t=>{e.currentTime=n;const i=G(this,t,e);return l=Math.max(l,e.currentTime),i});return e.currentTime=l,{type:3,steps:i,options:tt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return et(k(t,e).duration,0,"");const l=t;if(l.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=et(0,0,"");return t.dynamic=!0,t.strValue=l,t}return n=n||k(l,e),et(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(l.l)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(l.l)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==l.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(Z(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let l=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(i!=l&&i>=o.startTime&&l<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${l}ms"`),a=!1),i=o.startTime),a&&(r[n]={startTime:i,endTime:l}),e.options&&function(t,e,n){const l=e.params||{},i=R(t);i.length&&i.forEach(t=>{l.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let l=0;const i=[];let r=!1,o=!1,a=0;const s=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let s=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Z(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Z(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),u=0;return null!=s&&(l++,u=n.offset=s),o=o||u<0||u>1,r=r||u<a,a=u,i.push(u),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const u=t.steps.length;let c=0;l>0&&l<u?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==l&&(c=1/(u-1));const d=u-1,h=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return s.forEach((t,l)=>{const r=c>0?l==d?1:c*l:i[l],o=r*f;e.currentTime=h+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:G(this,L(t.animation),e),options:tt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:tt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:tt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,l=t.options||{};e.queryCount++,e.currentQuery=t;const[i,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,c(e.collectedStyles,e.currentQuerySelector,{});const o=G(this,L(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:l.limit||0,optional:!!l.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:tt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:k(t.timings,e.errors,!0);return{type:12,animation:G(this,L(t.animation),e),timings:n,options:null}}}class Q{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Z(t){return!Array.isArray(t)&&"object"==typeof t}function tt(t){var e;return t?(t=M(t)).params&&(t.params=(e=t.params)?M(e):null):t={},t}function et(t,e,n){return{duration:t,delay:e,easing:n}}function nt(t,e,n,l,i,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:l,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}class lt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const it=new RegExp(":enter","g"),rt=new RegExp(":leave","g");function ot(t,e,n,l,i,r={},o={},a,s,u=[]){return(new at).buildKeyframes(t,e,n,l,i,r,o,a,s,u)}class at{buildKeyframes(t,e,n,l,i,r,o,a,s,u=[]){s=s||new lt;const c=new ut(t,e,s,l,i,u,[]);c.options=a,c.currentTimeline.setStyles([r],null,c.errors,a),G(this,n,c);const d=c.timelines.filter(t=>t.containsAnimation());if(d.length&&Object.keys(o).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,c.errors,a)}return d.length?d.map(t=>t.buildKeyframes()):[nt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const l=e.createSubContext(t.options),i=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,l,l.options);i!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let l=e.currentTimeline.currentTime;const i=null!=n.duration?x(n.duration):null,r=null!=n.delay?x(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,r);l=Math.max(l,n.duration+n.delay)}),l}visitReference(t,e){e.updateOptions(t.options,!0),G(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let l=e;const i=t.options;if(i&&(i.params||i.delay)&&(l=e.createSubContext(i),l.transformIntoNewTimeline(),null!=i.delay)){6==l.previousNode.type&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=st);const t=x(i.delay);l.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>G(this,t,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>n&&l.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let l=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?x(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),G(this,r,o),l=Math.max(l,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(l),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return k(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),l=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),l.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),l.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,l=e.currentAnimateTimings;!l&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=l&&l.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,l=e.currentTimeline.duration,i=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*i),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(l+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,l=t.options||{},i=l.delay?x(l.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=st);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!l.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,l)=>{e.currentQueryIndex=l;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),G(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,l=e.currentTimeline,i=t.timings,r=Math.abs(i.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const s=e.currentTimeline;a&&s.delayNextStep(a);const u=s.currentTime;G(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=l.currentTime-u+(l.startTime-n.currentTimeline.startTime)}}const st={};class ut{constructor(t,e,n,l,i,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=l,this._leaveClassName=i,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=st,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ct(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let l=this.options;null!=n.duration&&(l.duration=x(n.duration)),null!=n.delay&&(l.delay=x(n.delay));const i=n.params;if(i){let t=l.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=F(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const l=e||this.element,i=new ut(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=st,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const l={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new dt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,l,t.stretchStartingKeyframe);return this.timelines.push(i),l}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,l,i,r){let o=[];if(l&&o.push(this.element),t.length>0){t=(t=t.replace(it,"."+this._enterClassName)).replace(rt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return i||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class ct{constructor(t,e,n,l){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ct(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||l.a,this._currentKeyframe[t]=l.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=l.a})):O(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=F(o[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:l.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],l=t._styleSummary[e];(!n||l.time>n.time)&&this._updateStyle(e,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const a=O(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==l.p?t.add(n):i==l.a&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const r=t.size?N(t.values()):[],o=e.size?N(e.values()):[];if(n){const t=i[0],e=M(t);t.offset=0,e.offset=1,i=[t,e]}return nt(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class dt extends ct{constructor(t,e,n,l,i,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=l,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:l}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],r=n+e,o=e/r,a=O(t[0],!1);a.offset=0,i.push(a);const s=O(t[0],!1);s.offset=ht(o),i.push(s);const u=t.length-1;for(let l=1;l<=u;l++){let o=O(t[l],!1);o.offset=ht((e+o.offset*n)/r),i.push(o)}n=r,e=0,l="",t=i}return nt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,l,!0)}}function ht(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class pt{}class ft extends pt{normalizePropertyName(t,e){return U(t)}normalizeStyleValue(t,e,n,l){let i="";const r=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&l.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+i}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function mt(t,e,n,l,i,r,o,a,s,u,c,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:r,toState:l,toStyles:o,timelines:a,queriedElements:s,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}const gt={};class _t{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,l){return function(t,e,n,l,i){return t.some(t=>t(e,n,l,i))}(this.ast.matchers,t,e,n,l)}buildStyles(t,e,n){const l=this._stateStyles["*"],i=this._stateStyles[t],r=l?l.buildStyles(e,n):{};return i?i.buildStyles(e,n):r}build(t,e,n,l,i,r,o,a,s,u){const d=[],h=this.ast.options&&this.ast.options.params||gt,p=this.buildStyles(n,o&&o.params||gt,d),f=a&&a.params||gt,b=this.buildStyles(l,f,d),m=new Set,g=new Map,_=new Map,y="void"===l,A={params:Object.assign({},h,f)},v=u?[]:ot(t,e,this.ast.animation,i,r,p,b,A,s,d);let C=0;if(v.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),d.length)return mt(e,this._triggerName,n,l,y,p,b,[],[],g,_,C,d);v.forEach(t=>{const n=t.element,l=c(g,n,{});t.preStyleProps.forEach(t=>l[t]=!0);const i=c(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&m.add(n)});const w=N(m.values());return mt(e,this._triggerName,n,l,y,p,b,v,w,g,_,C)}}class yt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},l=M(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(l[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let r=i[t];r.length>1&&(r=F(r,l,e)),n[t]=r})}}),n}}class At{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new yt(t.style,t.options&&t.options.params||{})}),vt(this.states,"true","1"),vt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new _t(t,e,this.states))}),this.fallbackTransition=new _t(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,l){return this.transitionFactories.find(i=>i.match(t,e,n,l))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function vt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ct=new lt;class wt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],l=K(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=l}_buildPlayer(t,e,n){const l=t.element,i=o(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(l,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],o=this._animations[t];let a;const s=new Map;if(o?(a=ot(this._driver,e,o,"ng-enter","ng-leave",{},{},n,Ct,i),a.forEach(t=>{const e=c(s,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),a=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,l.a)})});const u=r(a.map(t=>{const e=s.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,l){const i=u(e,"","","");return a(this._getPlayer(t),n,i,l),()=>{}}command(t,e,n,l){if("register"==n)return void this.register(t,l[0]);if("create"==n)return void this.create(t,e,l[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(t)}}}const Pt=[],xt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},St={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class kt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(l=n?t.value:t)?l:null,n){const e=M(t);delete e.value,this.options=e}else this.options={};var l;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Mt=new kt("void");class Ot{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Rt(e,this._hostClassName)}listen(t,e,n,l){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const r=c(this._elementListeners,t,[]),o={name:e,phase:n,callback:l};r.push(o);const a=c(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Rt(t,"ng-trigger"),Rt(t,"ng-trigger-"+e),a[e]=Mt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,l=!0){const i=this._getTrigger(e),r=new Tt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Rt(t,"ng-trigger"),Rt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const s=new kt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&s.absorbOptions(a.options),o[e]=s,a||(a=Mt),"void"!==s.value&&a.value===s.value){if(!function(t,e){const n=Object.keys(t),l=Object.keys(e);if(n.length!=l.length)return!1;for(let i=0;i<n.length;i++){const l=n[i];if(!e.hasOwnProperty(l)||t[l]!==e[l])return!1}return!0}(a.params,s.params)){const e=[],n=i.matchStyles(a.value,a.params,e),l=i.matchStyles(s.value,s.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{I(t,n),E(t,l)})}return}const u=c(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let d=i.matchTransition(a.value,s.value,t,s.params),h=!1;if(!d){if(!l)return;d=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:a,toState:s,player:r,isFallbackTransition:h}),h||(Rt(t,"ng-animate-queued"),r.onStart(()=>{Ft(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),u.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e,n=!1){this._engine.driver.query(t,".ng-trigger",!0).forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)})}triggerLeaveAnimation(t,e,n,l){const i=this._engine.statesByElement.get(t);if(i){const o=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",l);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&r(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const l=e.name;if(n.has(l))return;n.add(l);const i=this._triggers[l].fallbackTransition,r=this._engine.statesByElement.get(t)[l]||Mt,o=new kt("void"),a=new Tt(this.id,l,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:l,transition:i,fromState:r,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let l=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)l=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){l=!0;break}}}this.prepareLeaveAnimationListeners(t),l?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){Rt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const l=n.player;if(l.destroyed)return;const i=n.element,r=this._elementListeners.get(i);r&&r.forEach(e=>{if(e.name==n.triggerName){const l=u(i,n.triggerName,n.fromState.value,n.toState.value);l._data=t,a(n.player,e.phase,l,e.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,l=e.transition.ast.depCount;return 0==n||0==l?n-l:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Dt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ot(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let l=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),l=!0;break}l||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let l=this._namespaceLookup[t];l&&l.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let l=0;l<t.length;l++){const i=n[t[l]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,l){if(Et(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,l),!0}return!1}insertNode(t,e,n,l){if(!Et(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const l=this._fetchNamespace(t);l&&l.insertNode(e,n)}l&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Rt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ft(t,"ng-animate-disabled"))}removeNode(t,e,n,l){if(Et(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,l):this.markElementAsRemoved(t,e,!1,l),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,l)}}else this._onRemovalComplete(e,l)}markElementAsRemoved(t,e,n,l){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:l,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,l,i){return Et(e)?this._fetchNamespace(t).listen(e,n,l,i):()=>{}}_buildInstruction(t,e,n,l,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,l,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return r(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=xt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Rt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?r(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new lt,i=[],o=new Map,a=[],s=new Map,u=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const p=this.bodyNode,f=Array.from(this.statesByElement.keys()),b=jt(f,this.collectedEnterElements),m=new Map;let g=0;b.forEach((t,e)=>{const n="ng-enter"+g++;m.set(e,n),t.forEach(t=>Rt(t,n))});const _=[],y=new Set,A=new Set;for(let l=0;l<this.collectedLeaveElements.length;l++){const t=this.collectedLeaveElements[l],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),y.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>y.add(t)):A.add(t))}const v=new Map,C=jt(f,Array.from(y));C.forEach((t,e)=>{const n="ng-leave"+g++;v.set(e,n),t.forEach(t=>Rt(t,n))}),t.push(()=>{b.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Ft(t,n))}),C.forEach((t,e)=>{const n=v.get(e);t.forEach(t=>Ft(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const w=[],P=[];for(let l=this._namespaceList.length-1;l>=0;l--)this._namespaceList[l].drainQueuedTransitions(e).forEach(t=>{const e=t.player,l=t.element;if(w.push(e),this.collectedEnterElements.length){const t=l.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!p||!this.driver.containsElement(p,l),o=v.get(l),h=m.get(l),f=this._buildInstruction(t,n,h,o,r);if(f.errors&&f.errors.length)P.push(f);else{if(r)return e.onStart(()=>I(l,f.fromStyles)),e.onDestroy(()=>E(l,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>I(l,f.fromStyles)),e.onDestroy(()=>E(l,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(l,f.timelines),a.push({instruction:f,player:e,element:l}),f.queriedElements.forEach(t=>c(s,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=u.get(e);t||u.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let l=d.get(e);l||d.set(e,l=new Set),n.forEach(t=>l.add(t))})}});if(P.length){const t=[];P.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),w.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,S=new Map;a.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{c(x,e,[]).push(t),t.destroy()})});const k=_.filter(t=>Yt(t,u,d)),M=new Map;Lt(M,this.driver,A,d,l.a).forEach(t=>{Yt(t,u,d)&&k.push(t)});const O=new Map;b.forEach((t,e)=>{Lt(O,this.driver,new Set(t),u,l.p)}),k.forEach(t=>{const e=M.get(t),n=O.get(t);M.set(t,Object.assign({},e,n))});const D=[],T=[],L={};a.forEach(t=>{const{element:e,player:l,instruction:a}=t;if(n.has(e)){if(h.has(e))return l.onDestroy(()=>E(e,a.toStyles)),l.disabled=!0,l.overrideTotalTime(a.totalTime),void i.push(l);let t=L;if(S.size>1){let n=e;const l=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}l.push(n)}l.forEach(e=>S.set(e,t))}const n=this._buildAnimation(l.namespaceId,a,x,o,O,M);if(l.setRealPlayer(n),t===L)D.push(l);else{const e=this.playersByElement.get(t);e&&e.length&&(l.parentPlayer=r(e)),i.push(l)}}else I(e,a.fromStyles),l.onDestroy(()=>E(e,a.toStyles)),T.push(l),h.has(e)&&i.push(l)}),T.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=r(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let l=0;l<_.length;l++){const t=_[l],e=t.__ng_removed;if(Ft(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(s.size){let e=s.get(t);e&&e.length&&n.push(...e);let l=this.driver.query(t,".ng-animating",!0);for(let t=0;t<l.length;t++){let e=s.get(l[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Nt(this,t,i):this.processLeaveNode(t)}return _.length=0,D.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),D}elementContainsData(t,e){let n=!1;const l=e.__ng_removed;return l&&l.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,l,i){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||"void"==i;e.forEach(e=>{e.queued||(t||e.triggerName==l)&&r.push(e)})}}return(n||l)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||l&&l!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const l=e.element,i=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==l,s=c(n,t,[]);this._getPreviousPlayers(t,a,i,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),s.push(t)})}I(l,e.fromStyles)}_buildAnimation(t,e,n,i,a,s){const u=e.triggerName,d=e.element,h=[],p=new Set,f=new Set,b=e.timelines.map(e=>{const r=e.element;p.add(r);const c=r.__ng_removed;if(c&&c.removedBeforeQueried)return new l.d(e.duration,e.delay);const b=r!==d,m=function(t){const e=[];return function t(e,n){for(let i=0;i<e.length;i++){const r=e[i];r instanceof l.o?t(r.players,n):n.push(r)}}(t,e),e}((n.get(r)||Pt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===r),g=a.get(r),_=s.get(r),y=o(0,this._normalizer,0,e.keyframes,g,_),A=this._buildPlayer(e,y,m);if(e.subTimeline&&i&&f.add(r),b){const e=new Tt(t,u,r);e.setRealPlayer(A),h.push(e)}return A});h.forEach(t=>{c(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let l;if(t instanceof Map){if(l=t.get(e),l){if(l.length){const t=l.indexOf(n);l.splice(t,1)}0==l.length&&t.delete(e)}}else if(l=t[e],l){if(l.length){const t=l.indexOf(n);l.splice(t,1)}0==l.length&&delete t[e]}return l}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Rt(t,"ng-animating"));const m=r(b);return m.onDestroy(()=>{p.forEach(t=>Ft(t,"ng-animating")),E(d,e.toStyles)}),f.forEach(t=>{c(i,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new l.d(t.duration,t.delay)}}class Tt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new l.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>a(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){c(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Et(t){return t&&1===t.nodeType}function It(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Lt(t,e,n,l,i){const r=[];n.forEach(t=>r.push(It(t)));const o=[];l.forEach((n,l)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(l,t,i);n&&0!=n.length||(l.__ng_removed=St,o.push(l))}),t.set(l,r)});let a=0;return n.forEach(t=>It(t,r[a++])),o}function jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const l=new Set(e),i=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=i.get(e);if(r)return r;const o=e.parentNode;return r=n.has(o)?o:l.has(o)?1:t(o),i.set(e,r),r}(t);1!==e&&n.get(e).push(t)}),n}function Rt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ft(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Nt(t,e,n){r(n).onDone(()=>t.processLeaveNode(e))}function Yt(t,e,n){const l=n.get(t);if(!l)return!1;let i=e.get(t);return i?l.forEach(t=>i.add(t)):e.set(t,l),n.delete(t),!0}class Ut{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Dt(t,e,n),this._timelineEngine=new wt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,l,i){const r=t+"-"+l;let o=this._triggerCache[r];if(!o){const t=[],e=K(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${l}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new At(t,e)}(l,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,l,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,l){this._transitionEngine.insertNode(t,e,n,l)}onRemove(t,e,n,l){this._transitionEngine.removeNode(t,e,l||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,l){if("@"==n.charAt(0)){const[t,i]=d(n);this._timelineEngine.command(t,e,i,l)}else this._transitionEngine.trigger(t,e,n,l)}listen(t,e,n,l,i){if("@"==n.charAt(0)){const[t,l]=d(n);return this._timelineEngine.listen(t,e,l,i)}return this._transitionEngine.listen(t,e,n,l,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Bt(t,e){let n=null,l=null;return Array.isArray(e)&&e.length?(n=Gt(e[0]),e.length>1&&(l=Gt(e[e.length-1]))):e&&(n=Gt(e)),n||l?new zt(t,n,l):null}let zt=(()=>{class t{constructor(e,n,l){this._element=e,this._startStyles=n,this._endStyles=l,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&E(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(E(this._element,this._initialStyles),this._endStyles&&(E(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(I(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),E(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Gt(t){let e=null;const n=Object.keys(t);for(let l=0;l<n.length;l++){const i=n[l];Ht(i)&&(e=e||{},e[i]=t[i])}return e}function Ht(t){return"display"===t||"position"===t}class Vt{constructor(t,e,n,l,i,r,o){this._element=t,this._name=e,this._duration=n,this._delay=l,this._easing=i,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Jt(t,"").trim();n.length&&(function(t,e){let n=0;for(let l=0;l<t.length;l++)","===t.charAt(l)&&n++}(n),e=`${n}, ${e}`),Kt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Xt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){qt(this._element,this._name,"paused")}resume(){qt(this._element,this._name,"running")}setPosition(t){const e=Wt(this._element,this._name);this._position=t*this._duration,Kt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Jt(t,"").split(","),l=$t(n,e);l>=0&&(n.splice(l,1),Kt(t,"",n.join(",")))}(this._element,this._name))}}function qt(t,e,n){Kt(t,"PlayState",n,Wt(t,e))}function Wt(t,e){const n=Jt(t,"");return n.indexOf(",")>0?$t(n.split(","),e):$t([n],e)}function $t(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Xt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Kt(t,e,n,l){const i="animation"+e;if(null!=l){const e=t.style[i];if(e.length){const t=e.split(",");t[l]=n,n=t.join(",")}}t.style[i]=n}function Jt(t,e){return t.style["animation"+e]}class Qt{constructor(t,e,n,l,i,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=l,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=l+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Vt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:H(this.element,n))})}this.currentSnapshot=t}}class Zt extends l.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=C(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class te{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>C(t));let l=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);l+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(l+=`${i}animation-timing-function: ${n};\n`));default:return void(l+=`${i}${e}: ${n};\n`)}}),l+=i+"}\n"}),l+="}\n";const r=document.createElement("style");return r.innerHTML=l,r}animate(t,e,n,l,i,r=[],o){o&&this._notifyFaultyScrubber();const a=r.filter(t=>t instanceof Qt),s={};B(n,l)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>s[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=z(t,e,s));if(0==n)return new Zt(t,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);const h=Bt(t,e),p=new Qt(t,e,c,n,l,i,u,h);return p.onDestroy(()=>{var t;(t=d).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class ee{constructor(t,e,n,l){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:H(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ne{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ie().toString()),this._cssKeyframesDriver=new te}validateStyleProperty(t){return _(t)}matchesElement(t,e){return y(t,e)}containsElement(t,e){return A(t,e)}query(t,e,n){return v(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,l,i,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,l,i,r);const a={duration:n,delay:l,fill:0==l?"both":"forwards"};i&&(a.easing=i);const s={},u=r.filter(t=>t instanceof ee);B(n,l)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>s[t]=e[t])});const c=Bt(t,e=z(t,e=e.map(t=>O(t,!1)),s));return new ee(t,e,a,c)}}function le(){return"function"==typeof ie()}function ie(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},fQr7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("vDCU");class i{constructor(t){this.dialogRef=t,this.onSelect=l.a}closeModal(){this.dialogRef.close()}}},fURe:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("w+w1");class l{constructor(){}ngOnInit(){this.updateTrace()}ngOnDestroy(){this.cleanTrace()}updateTrace(){this.cleanTrace(),this.aircraft.trace&&(this.features=this.aircraft.trace.getFeatures(),this.features&&this.source.addFeatures(this.features))}cleanTrace(){this.features&&this.source&&this.features.forEach(t=>{this.source.removeFeature(t)})}}},fzPg:function(t,e,n){!function(t){"use strict";t.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g1uh:function(t,e,n){"use strict";var l,i=n("EwAT"),r=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(t){function e(e){var n=this,l="Assertion failed. See https://openlayers.org/en/"+("latest"===i.a?i.a:"v"+i.a.split("-")[0])+"/doc/errors/#"+e+" for details.";return(n=t.call(this,l)||this).code=e,n.name="AssertionError",n.message=l,n}return r(e,t),e}(Error);e.a=o},g5Dd:function(t,e){!function(t){"use strict";e.encode=function(e){var n,l=new Uint8Array(e),i=l.length,r="";for(n=0;n<i;n+=3)r+=t[l[n]>>2],r+=t[(3&l[n])<<4|l[n+1]>>4],r+=t[(15&l[n+1])<<2|l[n+2]>>6],r+=t[63&l[n+2]];return i%3==2?r=r.substring(0,r.length-1)+"=":i%3==1&&(r=r.substring(0,r.length-2)+"=="),r},e.decode=function(e){var n,l,i,r,o,a=.75*e.length,s=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),d=new Uint8Array(c);for(n=0;n<s;n+=4)l=t.indexOf(e[n]),i=t.indexOf(e[n+1]),r=t.indexOf(e[n+2]),o=t.indexOf(e[n+3]),d[u++]=l<<2|i>>4,d[u++]=(15&i)<<4|r>>2,d[u++]=(3&r)<<6|63&o;return c}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},g6Z0:function(t,e,n){"use strict";var l=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0})},t.prototype.getColor=function(){return this.color_},t.prototype.setColor=function(t){this.color_=t},t}();e.a=l},g6rY:function(t,e,n){var l,i;void 0===(i="function"==typeof(l=function(){"use strict";var t={};function e(e,n,l,i){var r,o,a,s=6371;return e*=t.DEG_2_RAD,n*=t.DEG_2_RAD,i*=t.DEG_2_RAD,r=Math.asin(Math.sin(e)*Math.cos(l/s)+Math.cos(e)*Math.sin(l/s)*Math.cos(i)),o=((o=n+Math.atan2(Math.sin(i)*Math.sin(l/s)*Math.cos(e),Math.cos(l/s)-Math.sin(e)*Math.sin(r)))+3*Math.PI)%(2*Math.PI)-Math.PI,a={latitude:r*t.RAD_2_DEG,longitude:o*t.RAD_2_DEG},isNaN(a.latitude)||isNaN(a.longitude)?null:a}return function(n){return t=n,e}})?l.apply(e,[]):l)||(t.exports=i)},g7xG:function(t,e,n){"use strict";function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n("7gqw"),r=function t(e,n,r,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];l(this,t),this.name=e,this.demonym=n,this.flag=i[o],this.iso2=r,this.iso3=o,this.altSpellings=a};t.exports=[new r("Afghanistan","Afghan","AF","AFG"),new r("Aland Islands","Alandic","AX","ALA"),new r("Albania","Albanian","AL","ALB"),new r("Algeria","Algerian","DZ","DZA"),new r("American Samoa","American Samoan","AS","ASM"),new r("Andorra","Andorran","AD","AND"),new r("Angola","Angolan","AO","AGO"),new r("Anguilla","Anguillian","AI","AIA"),new r("Antigua and Barbuda","Antiguan Barbudan","AG","ATG"),new r("Argentina","Argentinian","AR","ARG"),new r("Armenia","Armenian","AM","ARM"),new r("Aruba","Arubian","AW","ABW"),new r("Australia","Australian","AU","AUS"),new r("Austria","Austrian","AT","AUT"),new r("Azerbaijan","Azerbaijani","AZ","AZE"),new r("Bahamas","Bahamian","BS","BHS"),new r("Bahrain","Bahraini","BH","BHR"),new r("Bangladesh","Bengali","BD","BGD"),new r("Barbados","Barbadian","BB","BRB"),new r("Belarus","Belarusian","BY","BLR"),new r("Belgium","Belgian","BE","BEL"),new r("Belize","Belizean","BZ","BLZ"),new r("Benin","Beninese","BJ","BEN"),new r("Bermuda","Bermudian","BM","BMU"),new r("Bhutan","Bhutanese","BT","BTN"),new r("Bolivia","Bolivian","BO","BOL"),new r("Bonaire, Sint Eustatius and Saba","Dutch","BQ","BES"),new r("Bosnia and Herzegovina","Bosnian","BA","BIH"),new r("Botswana","Batswana","BW","BWA"),new r("Brazil","Brazilian","BR","BRA"),new r("British Virgin Islands","Virgin Islander","VG","VGB"),new r("Brunei","Bruneian","BN","BRN"),new r("Bulgaria","Bulgarian","BG","BGR"),new r("Burkina Faso","Burkinab\xe9","BF","BFA"),new r("Burundi","Burundian","BI","BDI"),new r("Cambodia","Cambodian","KH","KHM"),new r("Cameroon","Cameroonian","CM","CMR"),new r("Canada","Canadian","CA","CAN"),new r("Cape Verde","Cape Verdean","CV","CPV"),new r("Cayman Islands","Caymanian","KY","CYM"),new r("Central African Republic","Central African","CF","CAF"),new r("Chad","Chadian","TD","TCD"),new r("Chile","Chilean","CL","CHL"),new r("China","Chinese","CN","CHN"),new r("Christmas Island","Christmas Islander","CX","CXR"),new r("Cocos Islands","Taiwanese","CC","CCK"),new r("Colombia","Colombian","CO","COL"),new r("Comoros","Comorian","KM","COM"),new r("Congo","Congolese","CG","COG"),new r("Cook Islands","Cook Islander","CK","COK"),new r("Costa Rica","Costa Rican","CR","CRI"),new r("C\xf4te d'Ivoire","Ivorian","CI","CIV"),new r("Croatia","Croatian","HR","HRV"),new r("Cuba","Cuban","CU","CUB"),new r("Cura\xe7ao","Dutch","CW","CUW"),new r("Cyprus","Cypriot","CY","CYP"),new r("Czech Republic","Czech","CZ","CZE"),new r("Democratic Republic of the Congo","Congolese","KP","COD"),new r("Denmark","Danish","DK","DNK"),new r("Djibouti","Djiboutian","DJ","DJI"),new r("Dominica","Dominican","DM","DMA"),new r("Dominican Republic","Dominican","DO","DOM"),new r("Ecuador","Ecuadorian","EC","ECU"),new r("Egypt","Egyptian","EG","EGY"),new r("El Salvador","Salvadoran","SV","SLV"),new r("Equatorial Guinea","Equatoguinean","GQ","GNQ"),new r("Eritrea","Eritrean","ER","ERI"),new r("Estonia","Estonian","EE","EST"),new r("Ethiopia","Ethiopian","ET","ETH"),new r("Falkland Islands","Falkland Islander","FK","FLK"),new r("Faroe Islands","Faroese","FO","FRO"),new r("Fiji","Fijian","FJ","FJI"),new r("Finland","Finnish","FI","FIN"),new r("France","French","FR","FRA"),new r("French Guiana","Guianan","GF","GUF"),new r("French Polynesia","French Polynesian","PF","PYF"),new r("Gabon","Gabonese","GA","GAB"),new r("Gambia","Gambian","GM","GMB"),new r("Georgia","Georgian","GE","GEO"),new r("Germany","German","DE","DEU"),new r("Ghana","Ghanaian","GH","GHA"),new r("Gibraltar","Gibraltarian","GI","GIB"),new r("Greece","Greek","GR","GRC"),new r("Greenland","Greenlander","GL","GRL"),new r("Grenada","Grenadian","GD","GRD"),new r("Guadeloupe","Guadeloupean","GP","GLP"),new r("Guam","Guamanian","GU","GUM"),new r("Guatemala","Guatemalan","GT","GTM"),new r("Guernsey","Guernseymen","GG","GGY"),new r("Guinea-Bissau","Bissau-Guinean","GW","GNB"),new r("Guinea","Guinean","GN","GIN"),new r("Guyana","Guyanese","GY","GUY"),new r("Haiti","Haitian","HT","HTI"),new r("Holy See","Papal","VA","VAT",["Vatican"]),new r("Honduras","Honduran","HN","HND"),new r("Hong Kong","Hong Kongese","HK","HKG"),new r("Hungary","Hungarian","HU","HUN"),new r("Iceland","Icelander","IS","ISL"),new r("India","Indian","IN","IND"),new r("Indonesia","Indonesian","ID","IDN"),new r("Iran","Iranian","IR","IRN"),new r("Iraq","Iraqi","IQ","IRQ"),new r("Ireland","Irish","IE","IRL"),new r("Isle of Man","Manx","IM","IMN"),new r("Israel","Israeli","IL","ISR"),new r("Italy","Italian","IT","ITA"),new r("Jamaica","Jamaican","JM","JAM"),new r("Japan","Japanese","JP","JPN"),new r("Jersey","Jerseyman","JE","JEY"),new r("Jordan","Jordanian","JO","JOR"),new r("Kazakhstan","Kazakhstani","KZ","KAZ"),new r("Kenya","Kenyan","KE","KEN"),new r("Kiribati","I-Kiribati","KI","KIR"),new r("Kosovo","Kosovar","XK","XXK"),new r("Kuwait","\tKuwaiti","KW","KWT"),new r("Kyrgyzstan","Kyrgyzstani","KG","KGZ"),new r("Laos","Lao","LA","LAO"),new r("Latvia","Latvian","LV","LVA"),new r("Lebanon","Lebanese","LB","LBN"),new r("Lesotho","Lesothonian","LS","LSO"),new r("Liberia","Liberian","LR","LBR"),new r("Libya","Libyan","LY","LBY"),new r("Liechtenstein","Liechtensteiner","LI","LIE"),new r("Lithuania","Lithuanian","LT","LTU"),new r("Luxembourg","Luxembourgish","LU","LUX"),new r("Macao","Macau","MO","MAC"),new r("Madagascar","Malagasy","MG","MDG"),new r("Malawi","Malawian","MW","MWI"),new r("Malaysia","Malaysian","MY","MYS"),new r("Maldives","Maldivian","MV","MDV"),new r("Mali","Malian","ML","MLI"),new r("Malta","Maltese","MT","MLT"),new r("Marshall Islands","Marshallese","MH","MHL"),new r("Martinique","Martinican","MQ","MTQ"),new r("Mauritania","Mauritanian","MR","MRT"),new r("Mauritius","Mauritian","MU","MUS"),new r("Mayotte","Mahoran","YT","MYT"),new r("Mexico","Mexican","MX","MEX"),new r("Micronesia","Micronesian","FM","FSM"),new r("Moldova","Moldovan","MD","MDA"),new r("Monaco","Monegasque","MC","MCO"),new r("Mongolia","Mongolian","MN","MNG"),new r("Montenegro","Montenegrin","ME","MNE"),new r("Montserrat","Montserratian","MS","MSR"),new r("Morocco","Moroccan","MA","MAR"),new r("Mozambique","Mozambican","MZ","MOZ"),new r("Myanmar","Myanma","MM","MMR"),new r("Namibia","Namibian","NA","NAM"),new r("Nauru","Nauruan","NR","NRU"),new r("Nepal","Nepalese","NP","NPL"),new r("Netherlands Antilles","Netherlands Antillean","AN","ANT"),new r("Netherlands","Dutch","NL","NLD"),new r("New Caledonia","New Caledonian","NC","NCL"),new r("New Zealand","New Zealander","NZ","NZL"),new r("Nicaragua","Nicaraguan","NI","NIC"),new r("Niger","Nigerien","NE","NER"),new r("Nigeria","Nigerian","NG","NGA"),new r("Niue","Niuean","NU","NIU"),new r("Norfolk Island","Norfolk Islander","NF","NFK"),new r("North Korea","North Korea","KP","PRK"),new r("North Macedonia","Macedonian","MK","MKD"),new r("Northern Mariana Islands","Northern Mariana Islander","MP","MNP"),new r("Norway","Norwegian","NO","NOR"),new r("Oman","Omani","OM","OMN"),new r("Pakistan","Pakistani","PK","PAK"),new r("Palau","Palauan","PW","PLW"),new r("Palestine","Palestinian","PS","PSE"),new r("Panama","Panamanian","PA","PAN"),new r("Papua New Guinea","Papua New Guinean","PG","PNG"),new r("Paraguay","Paraguayan","PY","PRY"),new r("Peru","Peruvian","PE","PER"),new r("Philippines","Filipino","PH","PHL"),new r("Pitcairn","Pitcairn Islander","PN","PCN"),new r("Poland","Polish","PL","POL"),new r("Portugal","Portuguese","PT","PRT"),new r("Puerto Rico","Puerto Rican","PR","PRI"),new r("Qatar","Qatari","QA","QAT"),new r("R\xe9union","R\xe9unionese","RE","REU"),new r("Romania","Romanian","RO","ROU"),new r("Russia","Russian","RU","RUS"),new r("Rwanda","Rwandan","RW","RWA"),new r("Saint Barth\xe9lemy","Barth\xe9lemois","BL","BLM"),new r("Saint Helena, Ascension and Tristan da Cunha","Ascensionian","SH","SHN",["Saint Helenian","Tristanian"]),new r("Saint Kitts and Nevis","Kittitian","KN","KNA",["Nevisian"]),new r("Saint Lucia","Saint Lucian","LC","LCA"),new r("Saint Martin","Saint-Martinois","MF","MAF"),new r("Saint Pierre and Miquelon","Saint-Pierrais","PM","SPM"),new r("Saint Vincent and the Grenadines","Saint Vincentian","VC","VCT"),new r("Samoa","Samoan","WS","WSM"),new r("San Marino","Sammarinese","SM","SMR"),new r("Sao Tome and Principe","S\xe3o Tom\xe9an","ST","STP"),new r("Saudi Arabia","Saudi","SA","SAU"),new r("Senegal","Senegalese","SN","SEN"),new r("Serbia","Serbian","RS","SRB"),new r("Seychelles","Seychellois","SC","SYC"),new r("Sierra Leone","Sierra Leonean","SL","SLE"),new r("Singapore","Singaporean","SG","SGP",["SG","Singapura","Republik Singapura"]),new r("Sint Maarten","St. Maartener","SX","SXM"),new r("Slovakia","Slovak","SK","SVK"),new r("Slovenia","Slovenian","SI","SVN"),new r("Solomon Islands","Solomon Islander","SB","SLB"),new r("Somalia","Somali","SO","SOM"),new r("South Africa","South African","ZA","ZAF"),new r("South Georgia and the South Sandwich Islands","South Georgian","GS","SGS"),new r("South Korea","South Korean","KR","KOR",["Republic of Korea"]),new r("South Sudan","South Sudanese","SS","SSD"),new r("Spain","Spanish","ES","ESP"),new r("Sri Lanka","Sri Lankan","LK","LKA"),new r("Sudan","Sudanese","SD","SDN"),new r("Suriname","Surinamese","SR","SUR"),new r("Svalbard and Jan Mayen","Svalbard","SJ","SJM"),new r("Swaziland","Swazi","SZ","SWZ"),new r("Sweden","Swedish","SE","SWE"),new r("Switzerland","Swiss","CH","CHE"),new r("Syria","Syrian","SY","SYR"),new r("Taiwan","Taiwanese","TW","TWN"),new r("Tajikistan","Tajik","TJ","TJK"),new r("Tanzania","Tanzanian","TZ","TZA"),new r("Thailand","Thai","TH","THA"),new r("Timor-Leste","Timorese","TL","TLS"),new r("Togo","Togolese","TG","TGO"),new r("Tokelau","Tokelauan","TK","TKL"),new r("Tonga","Tongan","TO","TON"),new r("Trinidad and Tobago","Trinidadian and Tobagonian","TT","TTO"),new r("Tunisia","Tunisian","TN","TUN"),new r("Turkey","Turkish","TR","TUR"),new r("Turkmenistan","Turkmenistani","TM","TKM"),new r("Turks and Caicos Islands","Turks and Caicos Islander","TC","TCA"),new r("Tuvalu","Tuvaluan","TV","TUV"),new r("Uganda","Ugandan","UG","UGA"),new r("Ukraine","Ukrainian","UA","UKR"),new r("United Arab Emirates","Emirati","AE","ARE",["AE","UAE"]),new r("United Kingdom","British","GB","GBR",["UK"]),new r("United States Minor Outlying Islands","American Islander","UM","UMI"),new r("United States","American","US","USA",["USA"]),new r("Uruguay","Uruguayan","UY","URY"),new r("Uzbekistan","Uzbek","UZ","UZB"),new r("Vanuatu","Vanuatuan","VU","VUT"),new r("Venezuela","Venezuelan","VE","VEN"),new r("Vietnam","Vietnamese","VN","VNM",["Viet Nam","Republic of Viet Nam","South Vietnam"]),new r("Virgin Islands of the United States","Virgin Islander","VI","VIR"),new r("Wallis and Futuna","Wallisian","WF","WLF",["Futunan"]),new r("Western Sahara","Western Saharan","EH","ESH"),new r("Yemen","Yemeni","YE","YEM"),new r("Zambia","Zambian","ZM","ZMB"),new r("Zimbabwe","Zimbabwean","ZW","ZWE")]},gDAU:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n("978D"),n("YGmB"),n("oeKZ");var l=n("Y4ja"),i=n("oQtH"),r=n("wd/R");class o{constructor(t,e,n,l){this.trafficService=t,this.timeService=e,this.keycloakService=n,this.modeService=l,this.modeAll=!0,this.userRoles=[],this.defaultLogoutRedirection=i.a.config.auth.logoutReturn,console.log("CURRENT ROLE(S) OF THIS SESSION:",this.keycloakService.client().resourceAccess["sepia.angular"].roles.join(",")),this.userRoles=this.keycloakService.client().resourceAccess["sepia.angular"].roles}ngOnInit(){setInterval(()=>{this.currentDate=r().utc().format("DD/MM/YYYY - HH:mm:ss - z")},1e3/3),this.modeAll=this.modeService.getModeMap()===l.a.ALL_AIRCRAFT,this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.modeAll=t===l.a.ALL_AIRCRAFT})}logout(t){return t||(t=this.defaultLogoutRedirection),this.keycloakService.logout(t)}}},gFX4:function(t,e,n){var l=n("zJ60"),i=n("Uwu7"),r=n("eOtv"),o=n("x7D4")("socket.io-client");t.exports=e=s;var a=e.managers={};function s(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i=l(t),s=i.source,u=i.id;return e.forceNew||e["force new connection"]||!1===e.multiplex||a[u]&&i.path in a[u].nsps?(o("ignoring socket cache for %s",s),n=r(s,e)):(a[u]||(o("new io instance for %s",s),a[u]=r(s,e)),n=a[u]),i.query&&!e.query&&(e.query=i.query),n.socket(i.path,e)}e.protocol=i.protocol,e.connect=s,e.Manager=n("eOtv"),e.Socket=n("KFGy")},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("2fFW"),i=n("NJ4a");const r={closed:!0,next(t){},error(t){if(l.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete(){}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){var i=t+" ";switch(n){case"s":return e||l?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===t?e?"sekundo":"sekundi":2===t?e||l?"sekundi":"sekundah":t<5?e||l?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return i+(1===t?e?"minuta":"minuto":2===t?e||l?"minuti":"minutama":t<5?e||l?"minute":"minutami":e||l?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return i+(1===t?e?"ura":"uro":2===t?e||l?"uri":"urama":t<5?e||l?"ure":"urami":e||l?"ur":"urami");case"d":return e||l?"en dan":"enim dnem";case"dd":return i+(1===t?e||l?"dan":"dnem":2===t?e||l?"dni":"dnevoma":e||l?"dni":"dnevi");case"M":return e||l?"en mesec":"enim mesecem";case"MM":return i+(1===t?e||l?"mesec":"mesecem":2===t?e||l?"meseca":"mesecema":t<5?e||l?"mesece":"meseci":e||l?"mesecev":"meseci");case"y":return e||l?"eno leto":"enim letom";case"yy":return i+(1===t?e||l?"leto":"letom":2===t?e||l?"leti":"letoma":t<5?e||l?"leta":"leti":e||l?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gavF:function(t,e,n){"use strict";n.d(e,"d",(function(){return k})),n.d(e,"a",(function(){return S})),n.d(e,"h",(function(){return M})),n.d(e,"e",(function(){return x})),n.d(e,"g",(function(){return E})),n.d(e,"c",(function(){return O})),n.d(e,"b",(function(){return C})),n.d(e,"i",(function(){return I})),n.d(e,"f",(function(){return L})),n.d(e,"j",(function(){return D})),n("GS7A");var l=n("zMNK"),i=n("8Y7J"),r=n("XNiG"),o=n("quSY"),a=n("VRyK"),s=n("LRne"),u=n("7Hc7"),c=n("5GAg"),d=n("Xd0L"),h=n("KCVW"),p=n("dvZr"),f=n("JX91"),b=n("eIep"),m=n("IzEk"),g=n("pLZG"),_=n("1G5W"),y=n("3E0/"),A=n("QQfA"),v=n("/HVE");const C=new i.w("MAT_MENU_PANEL");class w{}const P=Object(d.F)(Object(d.G)(w));class x extends P{constructor(t,e,n,l){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=l,this.role="menuitem",this._hovered=new r.a,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),l&&l.addItem&&l.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n="";if(t.childNodes){const l=t.childNodes.length;for(let i=0;i<l;i++)t.childNodes[i].nodeType===e&&(n+=t.childNodes[i].textContent)}return n.trim()}}const S=new i.w("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});class k extends class{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.L,this._tabSubscription=o.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.r,this.close=this.closed}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(h.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(h.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new c.g(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab"))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(f.a)(this._directDescendantItems),Object(b.a)(t=>Object(a.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case p.h:Object(p.t)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case p.j:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case p.n:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case p.i:case p.f:Object(p.t)(t)||(e===p.i?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==p.q&&e!==p.e||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){const e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>e.setFocusOrigin(t).setFirstItemActive()):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(f.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}{}class M extends k{constructor(t,e,n){super(t,e,n)}}const O=new i.w("mat-menu-scroll-strategy");function D(t){return()=>t.scrollStrategies.reposition()}const T=Object(v.g)({passive:!0});class E{constructor(t,e,n,l,r,a,s,u){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=a,this._dir=s,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=o.a.EMPTY,this._hoverSubscription=o.a.EMPTY,this._menuCloseSubscription=o.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.r,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.r,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,T),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=l}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,T),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof k&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof k?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(g.a)(t=>"void"===t.toState),Object(m.a)(1),Object(_.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new A.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[l,i],[a,s]=[e,n],u=0;this.triggersSubmenu()?(s=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",u="bottom"===l?8:-8):this.menu.overlapTrigger||(r="top"===l?"bottom":"top",o="top"===i?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:l,offsetY:u},{originX:n,originY:r,overlayX:s,overlayY:l,offsetY:u},{originX:e,originY:o,overlayX:a,overlayY:i,offsetY:-u},{originX:n,originY:o,overlayX:s,overlayY:i,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(s.a)(),l=this._parentMenu?this._parentMenu._hovered().pipe(Object(g.a)(t=>t!==this._menuItemInstance),Object(g.a)(()=>this._menuOpen)):Object(s.a)();return Object(a.a)(t,n,l,e)}_handleMousedown(t){Object(c.k)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===p.n&&"ltr"===this.dir||e===p.j&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(g.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(y.a)(0,u.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof k&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(m.a)(1),Object(y.a)(0,u.a),Object(_.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new l.h(this.menu.templateRef,this._viewContainerRef)),this._portal}}class I{}class L{}},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function l(t,l,i,r){var o="";switch(i){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(t,l){return t<10?l?n[t]:e[t]:t}(t,r)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},gpXz:function(t,e,n){"use strict";var l=n("g6Z0"),i=n("KfZV"),r=function(){function t(t){var e=t||{};this.font_=e.font,this.rotation_=e.rotation,this.rotateWithView_=e.rotateWithView,this.scale_=e.scale,this.text_=e.text,this.textAlign_=e.textAlign,this.textBaseline_=e.textBaseline,this.fill_=void 0!==e.fill?e.fill:new l.a({color:"#333"}),this.maxAngle_=void 0!==e.maxAngle?e.maxAngle:Math.PI/4,this.placement_=void 0!==e.placement?e.placement:i.a.POINT,this.overflow_=!!e.overflow,this.stroke_=void 0!==e.stroke?e.stroke:null,this.offsetX_=void 0!==e.offsetX?e.offsetX:0,this.offsetY_=void 0!==e.offsetY?e.offsetY:0,this.backgroundFill_=e.backgroundFill?e.backgroundFill:null,this.backgroundStroke_=e.backgroundStroke?e.backgroundStroke:null,this.padding_=void 0===e.padding?null:e.padding}return t.prototype.clone=function(){return new t({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:this.getScale(),text:this.getText(),textAlign:this.getTextAlign(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()})},t.prototype.getOverflow=function(){return this.overflow_},t.prototype.getFont=function(){return this.font_},t.prototype.getMaxAngle=function(){return this.maxAngle_},t.prototype.getPlacement=function(){return this.placement_},t.prototype.getOffsetX=function(){return this.offsetX_},t.prototype.getOffsetY=function(){return this.offsetY_},t.prototype.getFill=function(){return this.fill_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.getText=function(){return this.text_},t.prototype.getTextAlign=function(){return this.textAlign_},t.prototype.getTextBaseline=function(){return this.textBaseline_},t.prototype.getBackgroundFill=function(){return this.backgroundFill_},t.prototype.getBackgroundStroke=function(){return this.backgroundStroke_},t.prototype.getPadding=function(){return this.padding_},t.prototype.setOverflow=function(t){this.overflow_=t},t.prototype.setFont=function(t){this.font_=t},t.prototype.setMaxAngle=function(t){this.maxAngle_=t},t.prototype.setOffsetX=function(t){this.offsetX_=t},t.prototype.setOffsetY=function(t){this.offsetY_=t},t.prototype.setPlacement=function(t){this.placement_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setFill=function(t){this.fill_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.setText=function(t){this.text_=t},t.prototype.setTextAlign=function(t){this.textAlign_=t},t.prototype.setTextBaseline=function(t){this.textBaseline_=t},t.prototype.setBackgroundFill=function(t){this.backgroundFill_=t},t.prototype.setBackgroundStroke=function(t){this.backgroundStroke_=t},t.prototype.setPadding=function(t){this.padding_=t},t}();e.a=r},grDu:function(t,e,n){"use strict";e.a={FRACTION:"fraction",PIXELS:"pixels"}},h3hZ:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("DsAt"),o=n("AdTM"),a=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,l,i){var r=t.call(this)||this;return r.extent=e,r.pixelRatio_=l,r.resolution=n,r.state=i,r}return a(e,t),e.prototype.changed=function(){this.dispatchEvent(o.a.CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return Object(i.b)()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){Object(i.b)()},e}(r.a);e.a=s},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hOhj:function(t,e,n){"use strict";var l=n("8Y7J"),i=(n("KCVW"),n("XNiG")),r=n("LRne"),o=n("HDdC"),a=n("xgIS"),s=(n("eNwd"),n("7Hc7"),n("VRyK")),u=(n("/uUt"),n("3UWI")),c=n("pLZG"),d=n("1G5W");n("JX91"),n("Zy1z"),n("eIep"),n("3N8a"),n("IjjT"),n("quSY"),n("7o/Q"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return f})),n.d(e,"c",(function(){return b})),n.d(e,"e",(function(){return m})),n.d(e,"d",(function(){return g}));let p=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(u.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(r.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,l)=>{this._scrollableContainsElement(l,t)&&e.push(l)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,l=t.getElementRef().nativeElement;do{if(n==l)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(a.a)(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(l.G),Object(l.dc)(h.a))},token:t,providedIn:"root"}),t})();class f{constructor(t,e,n,l){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=l,this._destroyed=new i.a,this._elementScrolled=new o.a(t=>this.ngZone.runOutsideAngular(()=>Object(a.a)(this.elementRef.nativeElement,"scroll").pipe(Object(d.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;t.left=null==t.left?n?t.end:t.start:t.left,t.right=null==t.right?n?t.start:t.end:t.right,null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&Object(h.e)()!=h.c.NORMAL?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),Object(h.e)()==h.c.INVERTED?t.left=t.right:Object(h.e)()==h.c.NEGATED&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(h.h)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&Object(h.e)()==h.c.INVERTED?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&Object(h.e)()==h.c.NEGATED?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}class b{}let m=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(s.a)(Object(a.a)(window,"resize"),Object(a.a)(window,"orientationchange")):Object(r.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(u.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=Object(l.cc)({factory:function(){return new t(Object(l.dc)(h.a),Object(l.dc)(l.G))},token:t,providedIn:"root"}),t})();const g={provide:m,deps:[[new l.H,new l.R,m],h.a,l.G],useFactory:function(t,e,n){return t||new m(e,n)}}},hUP0:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("svHU"),i=n("8Y7J");let r=(()=>{class t{constructor(t){this.mapService=t,this.currentModeName="dark",this.lightDarksList={}}switchLightDarkMode(){this.currentModeName="dark"===this.currentModeName?"light":"dark",this.setLightDarkMode()}setLightDarkMode(){for(const t in this.lightDarksList)if(this.lightDarksList[t]){const e=this.mapService.getLayer(t);e&&e.setVisible(!0===this.lightDarksList[t][this.currentModeName])}}addLayerInLightDarkList(t,e){this.lightDarksList[e]||(this.lightDarksList[e]={light:!1,dark:!1}),this.lightDarksList[e][t]=!0}}return t.ngInjectableDef=i.cc({factory:function(){return new t(i.dc(l.a))},token:t,providedIn:"root"}),t})()},hnpS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},hoJM:function(t,e,n){"use strict";var l=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=void 0!==e.lineDash?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})},t.prototype.getColor=function(){return this.color_},t.prototype.getLineCap=function(){return this.lineCap_},t.prototype.getLineDash=function(){return this.lineDash_},t.prototype.getLineDashOffset=function(){return this.lineDashOffset_},t.prototype.getLineJoin=function(){return this.lineJoin_},t.prototype.getMiterLimit=function(){return this.miterLimit_},t.prototype.getWidth=function(){return this.width_},t.prototype.setColor=function(t){this.color_=t},t.prototype.setLineCap=function(t){this.lineCap_=t},t.prototype.setLineDash=function(t){this.lineDash_=t},t.prototype.setLineDashOffset=function(t){this.lineDashOffset_=t},t.prototype.setLineJoin=function(t){this.lineJoin_=t},t.prototype.setMiterLimit=function(t){this.miterLimit_=t},t.prototype.setWidth=function(t){this.width_=t},t}();e.a=l},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"hp/u":function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},hrfs:function(t,e,n){"use strict";n.d(e,"b",(function(){return g})),n.d(e,"a",(function(){return m})),n.d(e,"c",(function(){return f}));var l=n("MO+k"),i=n("8Y7J"),r=n("2Vo4"),o=n("LvDl");const a=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]];function s(t,e){return"rgba("+t.concat(e).join(",")+")"}function u(t,e){return Math.floor(Math.random()*(e-t+1))+t}function c(t){return{backgroundColor:t.map(t=>s(t,.6)),borderColor:t.map(()=>"#fff"),pointBackgroundColor:t.map(t=>s(t,1)),pointBorderColor:t.map(()=>"#fff"),pointHoverBackgroundColor:t.map(t=>s(t,1)),pointHoverBorderColor:t.map(t=>s(t,1))}}function d(){return[u(0,255),u(0,255),u(0,255)]}function h(t){return a[t]||d()}function p(t){const e=new Array(t);for(let n=0;n<t;n++)e[n]=a[n]||d();return e}let f=(()=>{class t{constructor(){this.pColorschemesOptions={},this.colorschemesOptions=new r.a({})}setColorschemesOptions(t){this.pColorschemesOptions=t,this.colorschemesOptions.next(t)}getColorschemesOptions(){return this.pColorschemesOptions}}return t.ngInjectableDef=Object(i.cb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const b=function(){var t={Default:0,Update:1,Refresh:2};return t[t.Default]="Default",t[t.Update]="Update",t[t.Refresh]="Refresh",t}();class m{constructor(t,e){this.element=t,this.themeService=e,this.options={},this.chartClick=new i.r,this.chartHover=new i.r,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}static registerPlugin(t){l.Chart.plugins.register(t)}static unregisterPlugin(t){l.Chart.plugins.unregister(t)}ngOnInit(){this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe(t=>this.themeChanged(t)))}themeChanged(t){this.refresh()}ngDoCheck(){if(!this.chart)return;let t=b.Default;const e=e=>{t=e>t?e:t};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,e(b.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,e(b.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,e(b.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,e(b.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data!==this.old.datasetsDataObjects[e]).length&&(this.old.datasetsDataObjects=this.datasets.map(t=>t.data),e(b.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data.length!==this.old.datasetsDataLengths[e]).length&&(this.old.datasetsDataLengths=this.datasets.map(t=>t.data.length),e(b.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),e(b.Update)),this.colors&&this.colors.filter((t,e)=>!this.colorsEqual(t,this.old.colors[e])).length&&(this.old.colors=this.colors.map(t=>this.copyColor(t)),this.updateColors(),e(b.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,e(b.Update)),this.labels&&this.labels.filter((t,e)=>!this.labelsEqual(t,this.old.labels[e])).length&&(this.old.labels=this.labels.map(t=>this.copyLabel(t)),e(b.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,e(b.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,e(b.Refresh)),t){case b.Default:break;case b.Update:this.update();break;case b.Refresh:this.refresh()}}copyLabel(t){return Array.isArray(t)?[...t]:t}labelsEqual(t,e){return Array.isArray(t)===Array.isArray(e)&&(Array.isArray(t)||t===e)&&(!Array.isArray(t)||t.length===e.length)&&(!Array.isArray(t)||0===t.filter((t,n)=>t!==e[n]).length)}copyColor(t){return{backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderColor:t.borderColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,pointBorderColor:t.pointBorderColor,pointBackgroundColor:t.pointBackgroundColor,pointBorderWidth:t.pointBorderWidth,pointRadius:t.pointRadius,pointHoverRadius:t.pointHoverRadius,pointHitRadius:t.pointHitRadius,pointHoverBackgroundColor:t.pointHoverBackgroundColor,pointHoverBorderColor:t.pointHoverBorderColor,pointHoverBorderWidth:t.pointHoverBorderWidth,pointStyle:t.pointStyle,hoverBackgroundColor:t.hoverBackgroundColor,hoverBorderColor:t.hoverBorderColor,hoverBorderWidth:t.hoverBorderWidth}}colorsEqual(t,e){return!t==!e&&(!t||t.backgroundColor===e.backgroundColor&&t.borderWidth===e.borderWidth&&t.borderColor===e.borderColor&&t.borderCapStyle===e.borderCapStyle&&t.borderDash===e.borderDash&&t.borderDashOffset===e.borderDashOffset&&t.borderJoinStyle===e.borderJoinStyle&&t.pointBorderColor===e.pointBorderColor&&t.pointBackgroundColor===e.pointBackgroundColor&&t.pointBorderWidth===e.pointBorderWidth&&t.pointRadius===e.pointRadius&&t.pointHoverRadius===e.pointHoverRadius&&t.pointHitRadius===e.pointHitRadius&&t.pointHoverBackgroundColor===e.pointHoverBackgroundColor&&t.pointHoverBorderColor===e.pointHoverBorderColor&&t.pointHoverBorderWidth===e.pointHoverBorderWidth&&t.pointStyle===e.pointStyle&&t.hoverBackgroundColor===e.hoverBackgroundColor&&t.hoverBorderColor===e.hoverBorderColor&&t.hoverBorderWidth===e.hoverBorderWidth)}updateColors(){this.datasets.forEach((t,e)=>{this.colors&&this.colors[e]?Object.assign(t,this.colors[e]):Object.assign(t,function(t,e,n){if("pie"===t||"doughnut"===t)return c(p(n));if("polarArea"===t)return{backgroundColor:(l=p(n)).map(t=>s(t,.6)),borderColor:l.map(t=>s(t,1)),hoverBackgroundColor:l.map(t=>s(t,.8)),hoverBorderColor:l.map(t=>s(t,1))};var l;if("line"===t||"radar"===t)return function(t){return{backgroundColor:s(t,.4),borderColor:s(t,1),pointBackgroundColor:s(t,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:s(t,.8)}}(h(e));if("bar"===t||"horizontalBar"===t)return function(t){return{backgroundColor:s(t,.6),borderColor:s(t,1),hoverBackgroundColor:s(t,.8),hoverBorderColor:s(t,1)}}(h(e));if("bubble"===t)return c(p(n));if("scatter"===t)return c(p(n));throw new Error("getColors - Unsupported chart type "+t)}(this.chartType,e,t.data.length),Object.assign({},t))})}ngOnChanges(t){let e=b.Default;const n=t=>{e=t>e?t:e};switch(t.hasOwnProperty("data")&&t.data.currentValue&&(this.propagateDataToDatasets(t.data.currentValue),n(b.Update)),t.hasOwnProperty("datasets")&&t.datasets.currentValue&&(this.propagateDatasetsToData(t.datasets.currentValue),n(b.Update)),t.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=t.labels.currentValue),n(b.Update)),t.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=t.legend.currentValue,this.chart.generateLegend()),n(b.Update)),t.hasOwnProperty("options")&&n(b.Refresh),e){case b.Update:this.update();break;case b.Refresh:case b.Default:this.refresh()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}update(t,e){if(this.chart)return this.chart.update(t,e)}hideDataset(t,e){this.chart.getDatasetMeta(t).hidden=e,this.chart.update()}isDatasetHidden(t){return this.chart.getDatasetMeta(t).hidden}toBase64Image(){return this.chart.toBase64Image()}getChartConfiguration(){const t=this.getDatasets(),e=Object.assign({},this.options);!1===this.legend&&(e.legend={display:!1}),e.hover=e.hover||{},e.hover.onHover||(e.hover.onHover=(t,e)=>{e&&!e.length||this.chartHover.emit({event:t,active:e})}),e.onClick||(e.onClick=(t,e)=>{this.chartClick.emit({event:t,active:e})});const n=this.smartMerge(e,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:t},plugins:this.plugins,options:n}}getChartBuilder(t){const e=this.getChartConfiguration();return new l.Chart(t,e)}smartMerge(t,e,n=0){if(0===n&&(t=Object(o.cloneDeep)(t)),Object.keys(e).forEach(l=>{if(Array.isArray(e[l])){const i=t[l];i&&i.forEach(t=>{this.smartMerge(t,e[l][0],n+1)})}else"object"==typeof e[l]?(l in t||(t[l]={}),this.smartMerge(t[l],e[l],n+1)):t[l]=e[l]}),0===n)return t}isMultiLineLabel(t){return Array.isArray(t)}joinLabel(t){return t?this.isMultiLineLabel(t)?t.join(" "):t:null}propagateDatasetsToData(t){this.data=this.datasets.map(t=>t.data),this.chart&&(this.chart.data.datasets=t),this.updateColors()}propagateDataToDatasets(t){this.isMultiDataSet(t)?this.datasets&&t.length===this.datasets.length?this.datasets.forEach((e,n)=>{e.data=t[n]}):(this.datasets=t.map((t,e)=>({data:t,label:this.joinLabel(this.labels[e])||"Label "+e})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0].data=t,this.datasets.splice(1)):(this.datasets=[{data:t}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}isMultiDataSet(t){return Array.isArray(t[0])}getDatasets(){if(!this.datasets&&!this.data)throw new Error("ng-charts configuration error, data or datasets field are required to render chart "+this.chartType);return this.datasets?(this.propagateDatasetsToData(this.datasets),this.datasets):this.data?(this.propagateDataToDatasets(this.data),this.datasets):void 0}refresh(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}class g{}},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iInd:function(t,e,n){"use strict";var l=n("SVse"),i=n("8Y7J"),r=n("LRne"),o=n("Cfvw"),a=n("2Vo4"),s=n("HDdC");const u=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var c=n("itXk"),d=n("NXyV"),h=n("XNiG"),p=n("EY2u"),f=n("lJxs"),b=n("0EUg"),m=n("pLZG"),g=n("7o/Q"),_=n("4I5i");function y(t){return function(e){return 0===t?Object(p.b)():e.lift(new A(t))}}class A{constructor(t){if(this.total=t,this.total<0)throw new _.a}call(t,e){return e.subscribe(new v(t,this.total))}}class v extends g.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,l=this.count++;e.length<n?e.push(t):e[l%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,l=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(l[i])}}t.complete()}}function C(t=x){return e=>e.lift(new w(t))}class w{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new P(t,this.errorFactory))}}class P extends g.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function x(){return new u}function S(t=null){return e=>e.lift(new k(t))}class k{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new M(t,this.defaultValue))}}class M extends g.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var O=n("SpAZ");function D(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(m.a)((e,n)=>t(e,n,l)):O.a,y(1),n?S(e):C(()=>new u))}var T=n("JIr8"),E=n("IzEk");function I(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(m.a)((e,n)=>t(e,n,l)):O.a,Object(E.a)(1),n?S(e):C(()=>new u))}var L=n("5+tZ");class j{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new R(t,this.predicate,this.thisArg,this.source))}}class R extends g.a{constructor(t,e,n,l){super(t),this.predicate=e,this.thisArg=n,this.source=l,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var F=n("eIep"),N=n("JX91");function Y(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(l){return l.lift(new U(t,e,n))}}class U{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new B(t,this.accumulator,this.seed,this.hasSeed))}}class B extends g.a{constructor(t,e,n,l){super(t),this.accumulator=e,this._seed=n,this.hasSeed=l,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(l){this.destination.error(l)}this.seed=n,this.destination.next(n)}}var z=n("bOdf"),G=n("mCNh"),H=n("vkgz"),V=n("nYR2"),q=n("bHdf"),W=n("cUpR");n.d(e,"D",(function(){return dt})),n.d(e,"t",(function(){return xn})),n.d(e,"A",(function(){return jn})),n.d(e,"v",(function(){return On})),n.d(e,"B",(function(){return Rn})),n.d(e,"C",(function(){return Fn})),n.d(e,"x",(function(){return Tn})),n.d(e,"w",(function(){return Dn})),n.d(e,"z",(function(){return Ln})),n.d(e,"u",(function(){return kn})),n.d(e,"y",(function(){return In})),n.d(e,"E",(function(){return wn})),n.d(e,"n",(function(){return pn})),n.d(e,"p",(function(){return gn})),n.d(e,"d",(function(){return X})),n.d(e,"l",(function(){return nn})),n.d(e,"m",(function(){return hn})),n.d(e,"k",(function(){return rn})),n.d(e,"i",(function(){return Pn})),n.d(e,"j",(function(){return Nn})),n.d(e,"o",(function(){return Mn})),n.d(e,"b",(function(){return mn})),n.d(e,"e",(function(){return vn})),n.d(e,"g",(function(){return An})),n.d(e,"h",(function(){return yn})),n.d(e,"q",(function(){return Cn})),n.d(e,"a",(function(){return ee})),n.d(e,"f",(function(){return ht})),n.d(e,"r",(function(){return an})),n.d(e,"c",(function(){return Lt})),n.d(e,"s",(function(){return It}));class ${constructor(t,e){this.id=t,this.url=e}}class X extends ${constructor(t,e,n="imperative",l=null){super(t,e),this.navigationTrigger=n,this.restoredState=l}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class K extends ${constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class J extends ${constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Q extends ${constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Z extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends ${constructor(t,e,n,l,i){super(t,e),this.urlAfterRedirects=n,this.state=l,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lt extends ${constructor(t,e,n,l){super(t,e),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ot{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ut{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dt{}const ht="primary";class pt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ft(t){return new pt(t)}function bt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function mt(t,e,n){const l=n.path.split("/");if(l.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||l.length<t.length))return null;const i={};for(let r=0;r<l.length;r++){const e=l[r],n=t[r];if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,l.length),posParams:i}}class gt{constructor(t,e){this.routes=t,this.module=e}}function _t(t,e=""){for(let n=0;n<t.length;n++){const l=t[n];yt(l,At(e,l))}}function yt(t,e){if(!t)throw new Error(`\n Invalid configuration of route '${e}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==ht)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&_t(t.children,e)}function At(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function vt(t){const e=t.children&&t.children.map(vt),n=e?Object.assign({},t,{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==ht&&(n.component=dt),n}function Ct(t,e){const n=Object.keys(t),l=Object.keys(e);if(!n||!l||n.length!=l.length)return!1;let i;for(let r=0;r<n.length;r++)if(i=n[r],t[i]!==e[i])return!1;return!0}function wt(t){return Array.prototype.concat.apply([],t)}function Pt(t){return t.length>0?t[t.length-1]:null}function xt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function St(t){return Object(i.Jb)(t)?t:Object(i.Kb)(t)?Object(o.a)(Promise.resolve(t)):Object(r.a)(t)}function kt(t,e,n){return n?function(t,e){return Ct(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Tt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const l in n.children){if(!e.children[l])return!1;if(!t(e.children[l],n.children[l]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,l,i){if(n.segments.length>i.length)return!!Tt(n.segments.slice(0,i.length),i)&&!l.hasChildren();if(n.segments.length===i.length){if(!Tt(n.segments,i))return!1;for(const e in l.children){if(!n.children[e])return!1;if(!t(n.children[e],l.children[e]))return!1}return!0}{const t=i.slice(0,n.segments.length),r=i.slice(n.segments.length);return!!Tt(n.segments,t)&&!!n.children[ht]&&e(n.children[ht],l,r)}}(e,n,n.segments)}(t.root,e.root)}class Mt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return jt.serialize(this)}}class Ot{constructor(t,e){this.segments=t,this.children=e,this.parent=null,xt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rt(this)}}class Dt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ft(this.parameters)),this._parameterMap}toString(){return zt(this)}}function Tt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Et(t,e){let n=[];return xt(t.children,(t,l)=>{l===ht&&(n=n.concat(e(t,l)))}),xt(t.children,(t,l)=>{l!==ht&&(n=n.concat(e(t,l)))}),n}class It{}class Lt{parse(t){const e=new Wt(t);return new Mt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Rt(e);if(n){const n=e.children[ht]?t(e.children[ht],!1):"",l=[];return xt(e.children,(e,n)=>{n!==ht&&l.push(`${n}:${t(e,!1)}`)}),l.length>0?`${n}(${l.join("//")})`:n}{const n=Et(e,(n,l)=>l===ht?[t(e.children[ht],!1)]:[`${l}:${t(n,!1)}`]);return`${Rt(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Nt(e)}=${Nt(t)}`).join("&"):`${Nt(e)}=${Nt(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const jt=new Lt;function Rt(t){return t.segments.map(t=>zt(t)).join("/")}function Ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(t){return Ft(t).replace(/%3B/gi,";")}function Yt(t){return Ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ut(t){return decodeURIComponent(t)}function Bt(t){return Ut(t.replace(/\+/g,"%20"))}function zt(t){return`${Yt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Yt(t)}=${Yt(e[t])}`).join("")}`;var e}const Gt=/^[^\/()?;=#]+/;function Ht(t){const e=t.match(Gt);return e?e[0]:""}const Vt=/^[^=?&#]+/,qt=/^[^?&#]+/;class Wt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ot([],{}):new Ot([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ht]=new Ot(t,e)),n}parseSegment(){const t=Ht(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Dt(Ut(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ht(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ht(this.remaining);t&&(n=t,this.capture(n))}t[Ut(e)]=Ut(n)}parseQueryParam(t){const e=function(t){const e=t.match(Vt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(qt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const l=Bt(e),i=Bt(n);if(t.hasOwnProperty(l)){let e=t[l];Array.isArray(e)||(e=[e],t[l]=e),e.push(i)}else t[l]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ht(this.remaining),l=this.remaining[n.length];if("/"!==l&&")"!==l&&";"!==l)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=ht);const r=this.parseChildren();e[i]=1===Object.keys(r).length?r[ht]:new Ot([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class $t{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Xt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Xt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Kt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Kt(t,this._root).map(t=>t.value)}}function Xt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Xt(t,n);if(e)return e}return null}function Kt(t,e){if(t===e.value)return[e];for(const n of e.children){const l=Kt(t,n);if(l.length)return l.unshift(e),l}return[]}class Jt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Qt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Zt extends $t{constructor(t,e){super(t),this.snapshot=e,re(this,t)}toString(){return this.snapshot.toString()}}function te(t,e){const n=function(t,e){const n=new le([],{},{},"",{},ht,e,null,t.root,-1,{});return new ie("",new Jt(n,[]))}(t,e),l=new a.a([new Dt("",{})]),i=new a.a({}),r=new a.a({}),o=new a.a({}),s=new a.a(""),u=new ee(l,i,o,s,r,ht,e,n.root);return u.snapshot=n.root,new Zt(new Jt(u,[]),n)}class ee{constructor(t,e,n,l,i,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=l,this.data=i,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(t=>ft(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>ft(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ne(t,e="emptyOnly"){const n=t.pathFromRoot;let l=0;if("always"!==e)for(l=n.length-1;l>=1;){const t=n[l],e=n[l-1];if(t.routeConfig&&""===t.routeConfig.path)l--;else{if(e.component)break;l--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(l))}class le{constructor(t,e,n,l,i,r,o,a,s,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=l,this.data=i,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=s,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ie extends $t{constructor(t,e){super(e),this.url=t,re(this,e)}toString(){return oe(this._root)}}function re(t,e){e.value._routerState=t,e.children.forEach(e=>re(t,e))}function oe(t){const e=t.children.length>0?` { ${t.children.map(oe).join(", ")} } `:"";return`${t.value}${e}`}function ae(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ct(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Ct(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Ct(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Ct(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function se(t,e){var n,l;return Ct(t.params,e.params)&&Tt(n=t.url,l=e.url)&&n.every((t,e)=>Ct(t.parameters,l[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||se(t.parent,e.parent))}function ue(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ce(t,e,n,l,i){let r={};return l&&xt(l,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Mt(n.root===t?e:function t(e,n,l){const i={};return xt(e.children,(e,r)=>{i[r]=e===n?l:t(e,n,l)}),new Ot(e.segments,i)}(n.root,t,e),r,i)}class de{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ue(n[0]))throw new Error("Root segment cannot have matrix parameters");const l=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(l&&l!==Pt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class he{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function pe(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[ht]:""+t}function fe(t,e,n){if(t||(t=new Ot([],{})),0===t.segments.length&&t.hasChildren())return be(t,e,n);const l=function(t,e,n){let l=0,i=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(l>=n.length)return r;const e=t.segments[i],o=pe(n[l]),a=l<n.length-1?n[l+1]:null;if(i>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!ye(o,a,e))return r;l+=2}else{if(!ye(o,{},e))return r;l++}i++}return{match:!0,pathIndex:i,commandIndex:l}}(t,e,n),i=n.slice(l.commandIndex);if(l.match&&l.pathIndex<t.segments.length){const e=new Ot(t.segments.slice(0,l.pathIndex),{});return e.children[ht]=new Ot(t.segments.slice(l.pathIndex),t.children),be(e,0,i)}return l.match&&0===i.length?new Ot(t.segments,{}):l.match&&!t.hasChildren()?me(t,e,n):l.match?be(t,0,i):me(t,e,n)}function be(t,e,n){if(0===n.length)return new Ot(t.segments,{});{const l=function(t){return"object"!=typeof t[0]?{[ht]:t}:void 0===t[0].outlets?{[ht]:t}:t[0].outlets}(n),i={};return xt(l,(n,l)=>{null!==n&&(i[l]=fe(t.children[l],e,n))}),xt(t.children,(t,e)=>{void 0===l[e]&&(i[e]=t)}),new Ot(t.segments,i)}}function me(t,e,n){const l=t.segments.slice(0,e);let i=0;for(;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){const t=ge(n[i].outlets);return new Ot(l,t)}if(0===i&&ue(n[0])){l.push(new Dt(t.segments[e].path,n[0])),i++;continue}const r=pe(n[i]),o=i<n.length-1?n[i+1]:null;r&&o&&ue(o)?(l.push(new Dt(r,_e(o))),i+=2):(l.push(new Dt(r,{})),i++)}return new Ot(l,{})}function ge(t){const e={};return xt(t,(t,n)=>{null!==t&&(e[n]=me(new Ot([],{}),0,t))}),e}function _e(t){const e={};return xt(t,(t,n)=>e[n]=""+t),e}function ye(t,e,n){return t==n.path&&Ct(e,n.parameters)}class Ae{constructor(t,e,n,l){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=l}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ae(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const l=Qt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,l[e],n),delete l[e]}),xt(l,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const l=t.value,i=e?e.value:null;if(l===i)if(l.component){const i=n.getContext(l.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),l=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:l})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const l=Qt(t),i=t.value.component?n.children:e;xt(l,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const l=Qt(e);t.children.forEach(t=>{this.activateRoutes(t,l[t.value.outlet],n),this.forwardEvent(new ut(t.value.snapshot))}),t.children.length&&this.forwardEvent(new at(t.value.snapshot))}activateRoutes(t,e,n){const l=t.value,i=e?e.value:null;if(ae(l),l===i)if(l.component){const i=n.getOrCreateContext(l.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(l.component){const e=n.getOrCreateContext(l.outlet);if(this.routeReuseStrategy.shouldAttach(l.snapshot)){const t=this.routeReuseStrategy.retrieve(l.snapshot);this.routeReuseStrategy.store(l.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ve(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(l.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=l,e.resolver=i,e.outlet&&e.outlet.activateWith(l,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ve(t){ae(t.value),t.children.forEach(ve)}function Ce(t){return"function"==typeof t}function we(t){return t instanceof Mt}class Pe{constructor(t){this.segmentGroup=t||null}}class xe{constructor(t){this.urlTree=t}}function Se(t){return new s.a(e=>e.error(new Pe(t)))}function ke(t){return new s.a(e=>e.error(new xe(t)))}function Me(t){return new s.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Oe{constructor(t,e,n,l,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=l,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(i.E)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ht).pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(T.a)(t=>{if(t instanceof xe)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Pe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ht).pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(T.a)(t=>{if(t instanceof Pe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const l=t.segments.length>0?new Ot([],{[ht]:t}):t;return new Mt(l,e,n)}expandSegmentGroup(t,e,n,l){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new Ot([],t))):this.expandSegment(t,n,e,n.segments,l,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(r.a)({});const n=[],l=[],i={};return xt(t,(t,r)=>{const o=e(r,t).pipe(Object(f.a)(t=>i[r]=t));r===ht?n.push(o):l.push(o)}),r.a.apply(null,n.concat(l)).pipe(Object(b.a)(),D(),Object(f.a)(()=>i))}(n.children,(n,l)=>this.expandSegmentGroup(t,e,l,n))}expandSegment(t,e,n,l,i,o){return Object(r.a)(...n).pipe(Object(f.a)(a=>this.expandSegmentAgainstRoute(t,e,n,a,l,i,o).pipe(Object(T.a)(t=>{if(t instanceof Pe)return Object(r.a)(null);throw t}))),Object(b.a)(),I(t=>!!t),Object(T.a)((t,n)=>{if(t instanceof u||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,l,i))return Object(r.a)(new Ot([],{}));throw new Pe(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,l,i,r,o){return Ie(l)!==r?Se(e):void 0===l.redirectTo?this.matchSegmentAgainstRoute(t,e,l,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r):Se(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,l,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,l){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ke(i):this.lineralizeSegments(n,i).pipe(Object(L.a)(n=>{const i=new Ot(n,{});return this.expandSegment(t,i,e,n,l,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,l,i,r){const{matched:o,consumedSegments:a,lastChild:s,positionalParamSegments:u}=De(e,l,i);if(!o)return Se(e);const c=this.applyRedirectCommands(a,l.redirectTo,u);return l.redirectTo.startsWith("/")?ke(c):this.lineralizeSegments(l,c).pipe(Object(L.a)(l=>this.expandSegment(t,e,n,l.concat(i.slice(s)),r,!1)))}matchSegmentAgainstRoute(t,e,n,l){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new Ot(l,{})))):Object(r.a)(new Ot(l,{}));const{matched:i,consumedSegments:o,lastChild:a}=De(e,n,l);if(!i)return Se(e);const s=l.slice(a);return this.getChildConfig(t,n,l).pipe(Object(L.a)(t=>{const n=t.module,l=t.routes,{segmentGroup:i,slicedSegments:a}=function(t,e,n,l){return n.length>0&&function(t,e,n){return n.some(n=>Ee(t,e,n)&&Ie(n)!==ht)}(t,n,l)?{segmentGroup:Te(new Ot(e,function(t,e){const n={};n[ht]=e;for(const l of t)""===l.path&&Ie(l)!==ht&&(n[Ie(l)]=new Ot([],{}));return n}(l,new Ot(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ee(t,e,n))}(t,n,l)?{segmentGroup:Te(new Ot(t.segments,function(t,e,n,l){const i={};for(const r of n)Ee(t,e,r)&&!l[Ie(r)]&&(i[Ie(r)]=new Ot([],{}));return Object.assign({},l,i)}(t,n,l,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,s,l);return 0===a.length&&i.hasChildren()?this.expandChildren(n,l,i).pipe(Object(f.a)(t=>new Ot(o,t))):0===l.length&&0===a.length?Object(r.a)(new Ot(o,{})):this.expandSegment(n,i,l,a,ht,!0).pipe(Object(f.a)(t=>new Ot(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(r.a)(new gt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(r.a)(e._loadedConfig):function(t,e,n){const l=e.canLoad;return l&&0!==l.length?Object(o.a)(l).pipe(Object(f.a)(l=>{const i=t.get(l);let r;if(function(t){return t&&Ce(t.canLoad)}(i))r=i.canLoad(e,n);else{if(!Ce(i))throw new Error("Invalid CanLoad guard");r=i(e,n)}return St(r)})).pipe(Object(b.a)(),(i=t=>!0===t,t=>t.lift(new j(i,void 0,t)))):Object(r.a)(!0);var i}(t.injector,e,n).pipe(Object(L.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new s.a(e=>e.error(bt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(r.a)(new gt([],t))}lineralizeSegments(t,e){let n=[],l=e.root;for(;;){if(n=n.concat(l.segments),0===l.numberOfChildren)return Object(r.a)(n);if(l.numberOfChildren>1||!l.children[ht])return Me(t.redirectTo);l=l.children[ht]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,l){const i=this.createSegmentGroup(t,e.root,n,l);return new Mt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return xt(t,(t,l)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[l]=e[i]}else n[l]=t}),n}createSegmentGroup(t,e,n,l){const i=this.createSegments(t,e.segments,n,l);let r={};return xt(e.children,(e,i)=>{r[i]=this.createSegmentGroup(t,e,n,l)}),new Ot(i,r)}createSegments(t,e,n,l){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,l):this.findOrReturn(e,n))}findPosParam(t,e,n){const l=n[e.path.substring(1)];if(!l)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return l}findOrReturn(t,e){let n=0;for(const l of e){if(l.path===t.path)return e.splice(n),l;n++}return t}}function De(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const l=(e.matcher||mt)(n,t,e);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Te(t){if(1===t.numberOfChildren&&t.children[ht]){const e=t.children[ht];return new Ot(t.segments.concat(e.segments),e.children)}return t}function Ee(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ie(t){return t.outlet||ht}class Le{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class je{constructor(t,e){this.component=t,this.route=e}}function Re(t,e,n){const l=t._root;return function t(e,n,l,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Qt(n);return e.children.forEach(e=>{!function(e,n,l,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,s=l?l.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Tt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Tt(t.url,e.url)||!Ct(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!se(t,e)||!Ct(t.queryParams,e.queryParams);case"paramsChange":default:return!se(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Le(i)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?s?s.children:null:l,i,r),u&&r.canDeactivateChecks.push(new je(s&&s.outlet&&s.outlet.component||null,a))}else a&&Ne(n,s,r),r.canActivateChecks.push(new Le(i)),t(e,null,o.component?s?s.children:null:l,i,r)}(e,o[e.value.outlet],l,i.concat([e.value]),r),delete o[e.value.outlet]}),xt(o,(t,e)=>Ne(t,l.getContext(e),r)),r}(l,e?e._root:null,n,[l.value])}function Fe(t,e,n){const l=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(l?l.module.injector:n).get(t)}function Ne(t,e,n){const l=Qt(t),i=t.value;xt(l,(t,l)=>{Ne(t,i.component?e?e.children.getContext(l):null:e,n)}),n.canDeactivateChecks.push(new je(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}const Ye=Symbol("INITIAL_VALUE");function Ue(){return Object(F.a)(t=>Object(c.a)(...t.map(t=>t.pipe(Object(E.a)(1),Object(N.a)(Ye)))).pipe(Y((t,e)=>{let n=!1;return e.reduce((t,l,i)=>{if(t!==Ye)return t;if(l===Ye&&(n=!0),!n){if(!1===l)return l;if(i===e.length-1||we(l))return l}return t},t)},Ye),Object(m.a)(t=>t!==Ye),Object(f.a)(t=>we(t)?t:!0===t),Object(E.a)(1)))}function Be(t,e){return null!==t&&e&&e(new st(t)),Object(r.a)(!0)}function ze(t,e){return null!==t&&e&&e(new ot(t)),Object(r.a)(!0)}function Ge(t,e,n){const l=e.routeConfig?e.routeConfig.canActivate:null;if(!l||0===l.length)return Object(r.a)(!0);const i=l.map(l=>Object(d.a)(()=>{const i=Fe(l,e,n);let r;if(function(t){return t&&Ce(t.canActivate)}(i))r=St(i.canActivate(e,t));else{if(!Ce(i))throw new Error("Invalid CanActivate guard");r=St(i(e,t))}return r.pipe(I())}));return Object(r.a)(i).pipe(Ue())}function He(t,e,n){const l=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(d.a)(()=>{const i=e.guards.map(i=>{const r=Fe(i,e.node,n);let o;if(function(t){return t&&Ce(t.canActivateChild)}(r))o=St(r.canActivateChild(l,t));else{if(!Ce(r))throw new Error("Invalid CanActivateChild guard");o=St(r(l,t))}return o.pipe(I())});return Object(r.a)(i).pipe(Ue())}));return Object(r.a)(i).pipe(Ue())}class Ve{}class qe{constructor(t,e,n,l,i,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=l,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=r}recognize(){try{const t=Xe(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ht),n=new le([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),l=new Jt(n,e),i=new ie(this.url,l);return this.inheritParamsAndData(i._root),Object(r.a)(i)}catch(t){return new s.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ne(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Et(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),l=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${l}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===ht?-1:e.value.outlet===ht?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,l){for(const r of t)try{return this.processSegmentAgainstRoute(r,e,n,l)}catch(i){if(!(i instanceof Ve))throw i}if(this.noLeftoversInUrl(e,n,l))return[];throw new Ve}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,l){if(t.redirectTo)throw new Ve;if((t.outlet||ht)!==l)throw new Ve;let i,r=[],o=[];if("**"===t.path){const r=n.length>0?Pt(n).parameters:{};i=new le(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),l,t.component,t,We(e),$e(e)+n.length,Ze(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Ve;return{consumedSegments:[],lastChild:0,parameters:{}}}const l=(e.matcher||mt)(n,t,e);if(!l)throw new Ve;const i={};xt(l.posParams,(t,e)=>{i[e]=t.path});const r=l.consumed.length>0?Object.assign({},i,l.consumed[l.consumed.length-1].parameters):i;return{consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:r}}(e,t,n);r=a.consumedSegments,o=n.slice(a.lastChild),i=new le(r,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),l,t.component,t,We(e),$e(e)+r.length,Ze(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:s,slicedSegments:u}=Xe(e,r,o,a,this.relativeLinkResolution);if(0===u.length&&s.hasChildren()){const t=this.processChildren(a,s);return[new Jt(i,t)]}if(0===a.length&&0===u.length)return[new Jt(i,[])];const c=this.processSegment(a,s,u,ht);return[new Jt(i,c)]}}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function $e(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Xe(t,e,n,l,i){if(n.length>0&&function(t,e,n){return n.some(n=>Ke(t,e,n)&&Je(n)!==ht)}(t,n,l)){const i=new Ot(e,function(t,e,n,l){const i={};i[ht]=l,l._sourceSegment=t,l._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Je(r)!==ht){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Je(r)]=n}return i}(t,e,l,new Ot(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ke(t,e,n))}(t,n,l)){const r=new Ot(t.segments,function(t,e,n,l,i,r){const o={};for(const a of l)if(Ke(t,n,a)&&!i[Je(a)]){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Je(a)]=n}return Object.assign({},i,o)}(t,e,n,l,t.children,i));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Ot(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ke(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Je(t){return t.outlet||ht}function Qe(t){return t.data||{}}function Ze(t){return t.resolve||{}}function tn(t,e,n,l){const i=Fe(t,e,l);return St(i.resolve?i.resolve(e,n):i(e,n))}function en(t){return function(e){return e.pipe(Object(F.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)([e])}))}}class nn{}class ln{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const rn=new i.w("ROUTES");class on{constructor(t,e,n,l){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=l}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const l=n.create(t);return new gt(wt(l.injector.get(rn)).map(vt),l)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):St(t()).pipe(Object(L.a)(t=>t instanceof i.C?Object(r.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class an{}class sn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function un(t){throw t}function cn(t,e,n){return e.parse("/")}function dn(t,e){return Object(r.a)(null)}class hn{constructor(t,e,n,l,r,o,s,u){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=l,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new h.a,this.errorHandler=un,this.malformedUriErrorHandler=cn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dn,afterPreactivation:dn},this.urlHandlingStrategy=new sn,this.routeReuseStrategy=new ln,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(i.E),this.console=r.get(i.mb);const c=r.get(i.G);this.isNgZoneEnabled=c instanceof i.G,this.resetConfig(u),this.currentUrlTree=new Mt(new Ot([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new on(o,s,t=>this.triggerEvent(new it(t)),t=>this.triggerEvent(new rt(t))),this.routerState=te(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(m.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(F.a)(t=>{let n=!1,l=!1;return Object(r.a)(t).pipe(Object(H.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(F.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(r.a)(t).pipe(Object(F.a)(t=>{const n=this.transitions.getValue();return e.next(new X(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.a:[t]}),Object(F.a)(t=>Promise.resolve(t)),(l=this.ngModule.injector,i=this.configLoader,o=this.urlSerializer,a=this.config,function(t){return t.pipe(Object(F.a)(t=>function(t,e,n,l,i){return new Oe(t,e,n,l,i).apply()}(l,i,o,t.extractedUrl,a).pipe(Object(f.a)(e=>Object.assign({},t,{urlAfterRedirects:e})))))}),Object(H.a)(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,l,i){return function(r){return r.pipe(Object(L.a)(r=>function(t,e,n,l,i="emptyOnly",r="legacy"){return new qe(t,e,n,l,i,r).recognize()}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),l,i).pipe(Object(f.a)(t=>Object.assign({},r,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(H.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(H.a)(t=>{const n=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var l,i,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:l,source:i,restoredState:o,extras:a}=t,s=new X(n,this.serializeUrl(l),i,o);e.next(s);const u=te(l,this.rootComponentType).snapshot;return Object(r.a)(Object.assign({},t,{targetSnapshot:u,urlAfterRedirects:l,extras:Object.assign({},a,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.a}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:l,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:l,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),Object(H.a)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign({},t,{guards:Re(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(L.a)(n=>{const{targetSnapshot:l,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:s}}=n;return 0===s.length&&0===a.length?Object(r.a)(Object.assign({},n,{guardsResult:!0})):function(t,e,n,l){return Object(o.a)(t).pipe(Object(L.a)(t=>function(t,e,n,l,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(r.a)(!0);const a=o.map(r=>{const o=Fe(r,e,i);let a;if(function(t){return t&&Ce(t.canDeactivate)}(o))a=St(o.canDeactivate(t,e,n,l));else{if(!Ce(o))throw new Error("Invalid CanDeactivate guard");a=St(o(t,e,n,l))}return a.pipe(I())});return Object(r.a)(a).pipe(Ue())}(t.component,t.route,n,e,l)),I(t=>!0!==t,!0))}(s,l,i,t).pipe(Object(L.a)(n=>n&&"boolean"==typeof n?function(t,e,n,l){return Object(o.a)(e).pipe(Object(z.a)(e=>Object(o.a)([ze(e.route.parent,l),Be(e.route,l),He(t,e.path,n),Ge(t,e.route,n)]).pipe(Object(b.a)(),I(t=>!0!==t,!0))),I(t=>!0!==t,!0))}(l,a,t,e):Object(r.a)(n)),Object(f.a)(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(H.a)(t=>{if(we(t.guardsResult)){const e=bt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(H.a)(t=>{const e=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(m.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new J(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),en(t=>{if(t.guards.canActivateChecks.length)return Object(r.a)(t).pipe(Object(H.a)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(Object(L.a)(t=>{const{targetSnapshot:l,guards:{canActivateChecks:i}}=t;return i.length?Object(o.a)(i).pipe(Object(z.a)(t=>function(t,e,n,l){return function(t,e,n,l){const i=Object.keys(t);if(0===i.length)return Object(r.a)({});if(1===i.length){const r=i[0];return tn(t[r],e,n,l).pipe(Object(f.a)(t=>({[r]:t})))}const a={};return Object(o.a)(i).pipe(Object(L.a)(i=>tn(t[i],e,n,l).pipe(Object(f.a)(t=>(a[i]=t,t))))).pipe(D(),Object(f.a)(()=>a))}(t._resolve,t,e,l).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,ne(t,n).resolve),null)))}(t.route,l,e,n)),function(t,e){return arguments.length>=2?function(n){return Object(G.a)(Y(t,e),y(1),S(e))(n)}:function(e){return Object(G.a)(Y((e,n,l)=>t(e,n,l+1)),y(1))(e)}}((t,e)=>t),Object(f.a)(e=>t)):Object(r.a)(t)}))}),Object(H.a)(t=>{const e=new lt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:l,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:l,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const l=function t(e,n,l){if(l&&e.shouldReuseRoute(n.value,l.value.snapshot)){const i=l.value;i._futureSnapshot=n.value;const r=function(e,n,l){return n.children.map(n=>{for(const i of l.children)if(e.shouldReuseRoute(i.value.snapshot,n.value))return t(e,n,i);return t(e,n)})}(e,n,l);return new Jt(i,r)}{const l=e.retrieve(n.value);if(l){const t=l.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let l=0;l<e.children.length;++l)t(e.children[l],n.children[l])}(n,t),t}{const l=new ee(new a.a((i=n.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),r=n.children.map(n=>t(e,n));return new Jt(l,r)}}var i}(t,e._root,n?n._root:void 0);return new Zt(l,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Object(H.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,s=this.routeReuseStrategy,u=t=>this.triggerEvent(t),Object(f.a)(t=>(new Ae(s,t.targetRouterState,t.currentRouterState,u).activate(i),t))),Object(H.a)({next(){n=!0},complete(){n=!0}}),Object(V.a)(()=>{if(!n&&!l){this.resetUrlToCurrentUrlTree();const n=new J(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(T.a)(n=>{if(l=!0,(i=n)&&i.ngNavigationCancelingError){const l=we(n.url);l||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new J(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),t.resolve(!1),l&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const l=new Q(t.id,this.serializeUrl(t.extractedUrl),n);e.next(l);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var i;return p.a}));var i,s,u}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign({},this.getTransition(),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",l=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,l,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){_t(t),this.config=t.map(vt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:l,fragment:r,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:s}=e;Object(i.hb)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=s?this.currentUrlTree.fragment:r;let d=null;if(a)switch(a){case"merge":d=Object.assign({},this.currentUrlTree.queryParams,l);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=l||null}else d=o?this.currentUrlTree.queryParams:l||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,l,i){if(0===n.length)return ce(e.root,e.root,e,l,i);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new de(!0,0,t);let e=0,n=!1;const l=t.reduce((t,l,i)=>{if("object"==typeof l&&null!=l){if(l.outlets){const e={};return xt(l.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(l.segmentPath)return[...t,l.segmentPath]}return"string"!=typeof l?[...t,l]:0===i?(l.split("/").forEach((l,i)=>{0==i&&"."===l||(0==i&&""===l?n=!0:".."===l?e++:""!=l&&t.push(l))}),t):[...t,l]},[]);return new de(n,e,l)}(n);if(r.toRoot())return ce(e.root,new Ot([],{}),e,l,i);const o=function(t,e,n){if(t.isAbsolute)return new he(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new he(n.snapshot._urlSegment,!0,0);const l=ue(t.commands[0])?0:1;return function(t,e,n){let l=t,i=e,r=n;for(;r>i;){if(r-=i,l=l.parent,!l)throw new Error("Invalid number of '../'");i=l.segments.length}return new he(l,!1,i-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+l,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?be(o.segmentGroup,o.index,r.commands):fe(o.segmentGroup,o.index,r.commands);return ce(o.segmentGroup,a,e,l,i)}(u,this.currentUrlTree,t,d,c)}navigateByUrl(t,e={skipLocationChange:!1}){Object(i.hb)()&&this.isNgZoneEnabled&&!i.G.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=we(t)?t:this.parseUrl(t),l=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(we(t))return kt(this.currentUrlTree,t,e);const n=this.parseUrl(t);return kt(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const l=t[n];return null!=l&&(e[n]=l),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,l){const i=this.getTransition();if(i&&"imperative"!==e&&"imperative"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"hashchange"==e&&"popstate"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"popstate"==e&&"hashchange"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);let r=null,o=null;const a=new Promise((t,e)=>{r=t,o=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:l,resolve:r,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,l){const i=this.urlSerializer.serialize(t);l=l||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign({},l,{navigationId:n})):this.location.go(i,"",Object.assign({},l,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class pn{constructor(t,e,n,l,i){this.router=t,this.route=e,this.commands=[],null==n&&l.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(i.hb)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:fn(this.skipLocationChange),replaceUrl:fn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fn(this.preserveFragment)})}}function fn(t){return""===t||!!t}class bn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new bn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class gn{constructor(t,e,n,l,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.name=l||ht,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),l=this.parentContexts.getOrCreateContext(this.name).children,i=new _n(t,l,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class _n{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ee?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}class yn{}class An{preload(t,e){return e().pipe(Object(T.a)(()=>Object(r.a)(null)))}}class vn{preload(t,e){return Object(r.a)(null)}}class Cn{constructor(t,e,n,l,i){this.router=t,this.injector=l,this.preloadingStrategy=i,this.loader=new on(e,n,e=>t.triggerEvent(new it(e)),e=>t.triggerEvent(new rt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(m.a)(t=>t instanceof K),Object(z.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.E);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const l of e)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const t=l._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else l.loadChildren&&!l.canLoad?n.push(this.preloadConfig(t,l)):l.children&&n.push(this.processRoutes(t,l.children));return Object(o.a)(n).pipe(Object(q.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(L.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}class wn{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof X?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof K&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ct&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ct(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Pn=new i.w("ROUTER_CONFIGURATION"),xn=new i.w("ROUTER_FORROOT_GUARD"),Sn=[l.j,{provide:It,useClass:Lt},{provide:hn,useFactory:In,deps:[i.g,It,mn,l.j,i.x,i.D,i.k,rn,Pn,[an,new i.H],[nn,new i.H]]},mn,{provide:ee,useFactory:Ln,deps:[hn]},{provide:i.D,useClass:i.S},Cn,vn,An,{provide:Pn,useValue:{enableTracing:!1}}];function kn(){return new i.F("Router",hn)}class Mn{constructor(t,e){}static forRoot(t,e){return{ngModule:Mn,providers:[Sn,En(t),{provide:xn,useFactory:Tn,deps:[[hn,new i.H,new i.R]]},{provide:Pn,useValue:e||{}},{provide:l.k,useFactory:Dn,deps:[l.w,[new i.u(l.a),new i.H],Pn]},{provide:wn,useFactory:On,deps:[hn,l.x,Pn]},{provide:yn,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:vn},{provide:i.F,multi:!0,useFactory:kn},[jn,{provide:i.d,multi:!0,useFactory:Rn,deps:[jn]},{provide:Nn,useFactory:Fn,deps:[jn]},{provide:i.b,multi:!0,useExisting:Nn}]]}}static forChild(t){return{ngModule:Mn,providers:[En(t)]}}}function On(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new wn(t,e,n)}function Dn(t,e,n={}){return n.useHash?new l.g(t,e):new l.v(t,e)}function Tn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function En(t){return[{provide:i.a,multi:!0,useValue:t},{provide:rn,multi:!0,useValue:t}]}function In(t,e,n,l,i,r,o,a,s={},u,c){const d=new hn(null,e,n,l,i,r,o,wt(a));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),s.errorHandler&&(d.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(d.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){const t=Object(W.r)();d.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return s.onSameUrlNavigation&&(d.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(d.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(d.relativeLinkResolution=s.relativeLinkResolution),d}function Ln(t){return t.routerState.root}class jn{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new h.a}appInitializer(){return this.injector.get(l.i,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(hn),l=this.injector.get(Pn);if(this.isLegacyDisabled(l)||this.isLegacyEnabled(l))t(!0);else if("disabled"===l.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==l.initialNavigation)throw new Error(`Invalid initialNavigation options: '${l.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(r.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Pn),n=this.injector.get(Cn),l=this.injector.get(wn),r=this.injector.get(hn),o=this.injector.get(i.g);t===o.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),l.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}function Rn(t){return t.appInitializer.bind(t)}function Fn(t){return t.bootstrapListener.bind(t)}const Nn=new i.w("Router Initializer")},iNpl:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("Uhtb"),a=n("9iPr"),s=n("mkQN"),u=n("W8M7"),c=n("mrzG"),d=n("tYnX"),h=n("kVmM"),p=n("l2lA"),f=n("JfHk"),b=n("q7cr"),m=n("u2yf"),g=n("Cp04"),_=n("xWBw"),y=n("TZgD"),A=n("HEh+"),v=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),C=function(t){function e(e,n,l){var r=t.call(this)||this;if(r.endss_=[],r.flatInteriorPointsRevision_=-1,r.flatInteriorPoints_=null,r.maxDelta_=-1,r.maxDeltaRevision_=-1,r.orientedRevision_=-1,r.orientedFlatCoordinates_=null,!l&&!Array.isArray(e[0])){for(var o=r.getLayout(),a=e,s=[],u=[],c=0,d=a.length;c<d;++c){var h=a[c];0===c&&(o=h.getLayout());for(var p=s.length,f=h.getEnds(),b=0,m=f.length;b<m;++b)f[b]+=p;Object(i.c)(s,h.getFlatCoordinates()),u.push(f)}n=o,e=s,l=u}return void 0!==n&&l?(r.setFlatCoordinates(n,e),r.endss_=l):r.setCoordinates(e,n),r}return v(e,t),e.prototype.appendPolygon=function(t){var e;if(this.flatCoordinates){var n=this.flatCoordinates.length;Object(i.c)(this.flatCoordinates,t.getFlatCoordinates());for(var l=0,r=(e=t.getEnds().slice()).length;l<r;++l)e[l]+=n}else this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();this.endss_.push(e),this.changed()},e.prototype.clone=function(){for(var t=this.endss_.length,n=new Array(t),l=0;l<t;++l)n[l]=this.endss_[l].slice();return new e(this.flatCoordinates.slice(),this.layout,n)},e.prototype.closestPointXY=function(t,e,n,l){return l<Object(r.e)(this.getExtent(),t,e)?l:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(p.f)(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(p.c)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,t,e,n,l))},e.prototype.containsXY=function(t,e){return Object(f.d)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)},e.prototype.getArea=function(){return Object(d.c)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(y.e)(e,0,this.endss_,this.stride,t)):e=this.flatCoordinates,Object(m.c)(e,0,this.endss_,this.stride)},e.prototype.getEndss=function(){return this.endss_},e.prototype.getFlatInteriorPoints=function(){if(this.flatInteriorPointsRevision_!=this.getRevision()){var t=Object(h.a)(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=Object(g.b)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_},e.prototype.getInteriorPoints=function(){return new s.a(this.getFlatInteriorPoints().slice(),o.a.XYM)},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(y.c)(t,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(y.e)(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],l=[];return n.length=Object(A.d)(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),n,0,l),new e(n,o.a.XY,l)},e.prototype.getPolygon=function(t){if(t<0||this.endss_.length<=t)return null;var e;if(0===t)e=0;else{var n=this.endss_[t-1];e=n[n.length-1]}var l=this.endss_[t].slice(),i=l[l.length-1];if(0!==e)for(var r=0,o=l.length;r<o;++r)l[r]-=e;return new u.a(this.flatCoordinates.slice(e,i),this.layout,l)},e.prototype.getPolygons=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.endss_,l=[],i=0,r=0,o=n.length;r<o;++r){var a=n[r].slice(),s=a[a.length-1];if(0!==i)for(var c=0,d=a.length;c<d;++c)a[c]-=i;var h=new u.a(e.slice(i,s),t,a);l.push(h),i=s}return l},e.prototype.getType=function(){return a.a.MULTI_POLYGON},e.prototype.intersectsExtent=function(t){return Object(_.d)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(b.d)(this.flatCoordinates,0,t,this.stride,this.endss_);if(0===n.length)this.flatCoordinates.length=0;else{var l=n[n.length-1];this.flatCoordinates.length=0===l.length?0:l[l.length-1]}this.changed()},e}(c.a);e.a=C},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,l){return t?/-MMM-/.test(l)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},igqZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"c",(function(){return o}));class l{constructor(t){this._animationMode=t}}class i{}class r{}class o{}},itXk:function(t,e,n){"use strict";var l=n("z+Ro"),i=n("DH7j"),r=n("7o/Q");class o extends r.a{notifyNext(t,e,n,l,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var s=n("SeVD"),u=n("HDdC");function c(t,e,n,l,i=new a(t,n,l)){if(!i.closed)return e instanceof u.a?e.subscribe(i):Object(s.a)(e)(i)}var d=n("yCtX");n.d(e,"a",(function(){return p}));const h={};function p(...t){let e=void 0,n=void 0;return Object(l.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(d.a)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new b(t,this.resultSelector))}}class b extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(h),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(c(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const l=this.values,i=this.toRespond?l[n]===h?--this.toRespond:this.toRespond:0;l[n]=e,0===i&&(this.resultSelector?this._tryResultSelector(l):this.destination.next(l.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},"j+gv":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("7/LY"),n("svHU");class l{constructor(t,e,n,l,i){this.document=t,this.dialogRef=e,this.data=n,this.selectAircraftService=l,this.mapService=i,this.url=""}ngOnInit(){this.computeLink(),setInterval(()=>{this.computeLink()},500)}computeLink(){this.url=this.document.location.origin+this.document.location.pathname+"?";const t=this.mapService.getView().getCenter();this.url+="center="+JSON.stringify(t);const e=this.mapService.getView().getZoom();this.url+="&zoom="+String(e);const n=this.selectAircraftService.getAircraftsContext(),l={};for(const i in n)n.hasOwnProperty(i)&&(l[i]=n[i].getMiniContext());this.url+="&context="+JSON.stringify(l),this.url=encodeURI(this.url)}copyInputMessage(t){t.select(),document.execCommand("copy"),t.setSelectionRange(0,0)}closeModal(){this.dialogRef.close()}}},jMVV:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l=n("f8l7");function i(t){return void 0!==t?0:void 0}function r(t){return void 0!==t?t:void 0}function o(t){var e=2*Math.PI/t;return function(t,n){return n?t:void 0!==t?t=Math.floor(t/e+.5)*e:void 0}}function a(t){var e=t||Object(l.i)(5);return function(t,n){return n?t:void 0!==t?Math.abs(t)<=e?0:t:void 0}}},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,l=this._calendarEl[t],i=e&&e.hours();return n=l,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(l=l.apply(e)),l.replace("{}",i%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),l=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var l=t+" ";switch(n){case"ss":return l+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return l+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return l+(i(t)?"godziny":"godzin");case"ww":return l+(i(t)?"tygodnie":"tygodni");case"MM":return l+(i(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return l+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,l){return t?/D MMMM/.test(l)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:r,M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("HDdC"),i=n("quSY");function r(t,e){return new l.a(n=>{const l=new i.a;let r=0;return l.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||l.add(this.schedule())):n.complete()}))),l})}},jadY:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));class l{}},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,n,r,o){var a=l(e),s=i[t][l(e)];return 2===a&&(s=s[n?0:1]),s.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jzee:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4mld"),o=n("CvXi"),a=n("vvg4"),s=n("JW8z"),u=n("/O31"),c=n("qJZF"),d=n("V8uu"),h=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=Object(c.c)(),f=function(t){function e(){var e=t.call(this)||this;return e.extent_=Object(o.j)(),e.extentRevision_=-1,e.simplifiedGeometryMaxMinSquaredTolerance=0,e.simplifiedGeometryRevision=0,e.simplifyTransformedInternal=Object(d.d)((function(t,e,n){if(!n)return this.getSimplifiedGeometry(e);var l=this.clone();return l.applyTransform(n),l.getSimplifiedGeometry(e)})),e}return h(e,t),e.prototype.simplifyTransformed=function(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)},e.prototype.clone=function(){return Object(i.b)()},e.prototype.closestPointXY=function(t,e,n,l){return Object(i.b)()},e.prototype.containsXY=function(t,e){var n=this.getClosestPoint([t,e]);return n[0]===t&&n[1]===e},e.prototype.getClosestPoint=function(t,e){var n=e||[NaN,NaN];return this.closestPointXY(t[0],t[1],n,1/0),n},e.prototype.intersectsCoordinate=function(t){return this.containsXY(t[0],t[1])},e.prototype.computeExtent=function(t){return Object(i.b)()},e.prototype.getExtent=function(t){return this.extentRevision_!=this.getRevision()&&(this.extent_=this.computeExtent(this.extent_),this.extentRevision_=this.getRevision()),Object(o.I)(this.extent_,t)},e.prototype.rotate=function(t,e){Object(i.b)()},e.prototype.scale=function(t,e,n){Object(i.b)()},e.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},e.prototype.getSimplifiedGeometry=function(t){return Object(i.b)()},e.prototype.getType=function(){return Object(i.b)()},e.prototype.applyTransform=function(t){Object(i.b)()},e.prototype.intersectsExtent=function(t){return Object(i.b)()},e.prototype.translate=function(t,e){Object(i.b)()},e.prototype.transform=function(t,e){var n=Object(s.g)(t),l=n.getUnits()==u.b.TILE_PIXELS?function(t,l,i){var r=n.getExtent(),u=n.getWorldExtent(),d=Object(o.A)(u)/Object(o.A)(r);return Object(c.b)(p,u[0],u[3],d,-d,0,0,0),Object(a.c)(t,0,t.length,i,p,l),Object(s.i)(n,e)(t,l,i)}:Object(s.i)(n,e);return this.applyTransform(l),this},e}(r.a);e.a=f},kBU6:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return a}));const l="ionViewWillEnter",i="ionViewDidEnter",r="ionViewWillLeave",o="ionViewDidLeave",a="ionViewWillUnload"},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kLfG:function(t,e,n){var l={"./ion-action-sheet-controller_8.entry.js":["0BR9",0,19],"./ion-action-sheet-ios.entry.js":["bnjm",0,20],"./ion-action-sheet-md.entry.js":["utt2",0,21],"./ion-alert-ios.entry.js":["yaSn",0,22],"./ion-alert-md.entry.js":["2/RY",0,23],"./ion-app_8-ios.entry.js":["iInF",0,24],"./ion-app_8-md.entry.js":["K9Nc",0,25],"./ion-avatar_3-ios.entry.js":["hH1s",0,26],"./ion-avatar_3-md.entry.js":["Jw9y",0,27],"./ion-back-button-ios.entry.js":["ouVF",0,28],"./ion-back-button-md.entry.js":["/joy",0,29],"./ion-backdrop-ios.entry.js":["uJLv",30],"./ion-backdrop-md.entry.js":["fSmE",31],"./ion-button_2-ios.entry.js":["s1jK",0,32],"./ion-button_2-md.entry.js":["Wou7",0,33],"./ion-card_5-ios.entry.js":["qshq",0,34],"./ion-card_5-md.entry.js":["Q1uX",0,35],"./ion-checkbox-ios.entry.js":["059i",0,36],"./ion-checkbox-md.entry.js":["eLfv",0,37],"./ion-chip-ios.entry.js":["+FzG",0,38],"./ion-chip-md.entry.js":["yRpg",0,39],"./ion-col_3.entry.js":["/CAe",40],"./ion-datetime_3-ios.entry.js":["Z1Jy",0,41],"./ion-datetime_3-md.entry.js":["X0Dk",0,42],"./ion-fab_3-ios.entry.js":["wvyA",0,43],"./ion-fab_3-md.entry.js":["NkKY",0,44],"./ion-img.entry.js":["wHD8",45],"./ion-infinite-scroll_2-ios.entry.js":["nf6t",0,46],"./ion-infinite-scroll_2-md.entry.js":["lg/V",0,47],"./ion-input-ios.entry.js":["sdJS",0,48],"./ion-input-md.entry.js":["uQUw",0,49],"./ion-item-option_3-ios.entry.js":["Pa1g",0,50],"./ion-item-option_3-md.entry.js":["KTnd",0,51],"./ion-item_8-ios.entry.js":["Z51p",0,52],"./ion-item_8-md.entry.js":["8bam",0,53],"./ion-loading-ios.entry.js":["J3Yu",0,54],"./ion-loading-md.entry.js":["N3W9",0,55],"./ion-menu_4-ios.entry.js":["GEuc",0,56],"./ion-menu_4-md.entry.js":["BHpw",0,57],"./ion-modal-ios.entry.js":["mgaC",0,58],"./ion-modal-md.entry.js":["EpFf",0,59],"./ion-nav_5.entry.js":["qF1+",0,60],"./ion-popover-ios.entry.js":["Gdks",0,61],"./ion-popover-md.entry.js":["VgKV",0,62],"./ion-progress-bar-ios.entry.js":["0PGG",0,63],"./ion-progress-bar-md.entry.js":["h/Bu",0,64],"./ion-radio_2-ios.entry.js":["5bK7",0,65],"./ion-radio_2-md.entry.js":["pOmE",0,66],"./ion-range-ios.entry.js":["5g9+",0,67],"./ion-range-md.entry.js":["fD4w",0,68],"./ion-refresher_2-ios.entry.js":["CXux",0,69],"./ion-refresher_2-md.entry.js":["RODS",0,70],"./ion-reorder_2-ios.entry.js":["IdzL",0,71],"./ion-reorder_2-md.entry.js":["Ftzj",0,72],"./ion-ripple-effect.entry.js":["STjf",73],"./ion-route_4.entry.js":["k5eQ",0,74],"./ion-searchbar-ios.entry.js":["l0q3",0,75],"./ion-searchbar-md.entry.js":["mLlG",0,76],"./ion-segment_2-ios.entry.js":["Iymp",0,77],"./ion-segment_2-md.entry.js":["3msy",0,78],"./ion-select_3-ios.entry.js":["rYLK",0,79],"./ion-select_3-md.entry.js":["WOXB",0,80],"./ion-slide_2-ios.entry.js":["F/Xn",81],"./ion-slide_2-md.entry.js":["k8us",82],"./ion-spinner.entry.js":["nI0H",0,83],"./ion-split-pane-ios.entry.js":["edcM",84],"./ion-split-pane-md.entry.js":["RyPD",85],"./ion-tab-bar_2-ios.entry.js":["DP4G",0,86],"./ion-tab-bar_2-md.entry.js":["gaXT",0,87],"./ion-tab_2.entry.js":["TpdJ",0,88],"./ion-text.entry.js":["ISmu",0,89],"./ion-textarea-ios.entry.js":["xNZy",0,90],"./ion-textarea-md.entry.js":["p1XJ",0,91],"./ion-toast-ios.entry.js":["XGfm",0,92],"./ion-toast-md.entry.js":["Y/uG",0,93],"./ion-toggle-ios.entry.js":["WbT0",0,94],"./ion-toggle-md.entry.js":["upP9",0,95],"./ion-virtual-scroll.entry.js":["8Mb5",96]};function i(t){if(!n.o(l,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=l[t],i=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(l)},i.id="kLfG",t.exports=i},kNGD:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i})),n("KCVW"),n("dvZr");var l=n("8Y7J");n("Xd0L"),n("XNiG"),n("VRyK"),n("IzEk"),n("1G5W"),n("JX91"),n("5GAg"),n("8bJo");const i=new l.w("mat-chips-default-options");class r{}},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var l=100*t+e;return l<600?"\u51cc\u6668":l<900?"\u65e9\u4e0a":l<1130?"\u4e0a\u5348":l<1230?"\u4e2d\u5348":l<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kSER:function(t,e){t.exports=function(t,e){for(var n=[],l=(e=e||0)||0;l<t.length;l++)n[l-e]=t[l];return n}},"kVK+":function(t,e){e.read=function(t,e,n,l,i){var r,o,a=8*i-l-1,s=(1<<a)-1,u=s>>1,c=-7,d=n?i-1:0,h=n?-1:1,p=t[e+d];for(d+=h,r=p&(1<<-c)-1,p>>=-c,c+=a;c>0;r=256*r+t[e+d],d+=h,c-=8);for(o=r&(1<<-c)-1,r>>=-c,c+=l;c>0;o=256*o+t[e+d],d+=h,c-=8);if(0===r)r=1-u;else{if(r===s)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,l),r-=u}return(p?-1:1)*o*Math.pow(2,r-l)},e.write=function(t,e,n,l,i,r){var o,a,s,u=8*r-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=l?0:r-1,f=l?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-o))<1&&(o--,s*=2),(e+=o+d>=1?h/s:h*Math.pow(2,1-d))*s>=2&&(o++,s/=2),o+d>=c?(a=0,o=c):o+d>=1?(a=(e*s-1)*Math.pow(2,i),o+=d):(a=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;t[n+p]=255&a,p+=f,a/=256,i-=8);for(o=o<<i|a,u+=i;u>0;t[n+p]=255&o,p+=f,o/=256,u-=8);t[n+p-f]|=128*b}},kVmM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("CvXi");function i(t,e,n,i){for(var r=[],o=Object(l.j)(),a=0,s=n.length;a<s;++a){var u=n[a];o=Object(l.o)(t,e,u[0],i),r.push((o[0]+o[2])/2,(o[1]+o[3])/2),e=u[u.length-1]}return r}},kZ4T:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseGridControllerGridPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseGridControllerGrid(t){return this.getOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseGridControllerGridPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseGridControllerGrid(t){return this.replaceOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseGridControllerGridPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseGridControllerGrid(t){return this.deleteOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseGridControllerGridPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseGridControllerGrid(t){return this.updateOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseGridControllerGridPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseGridControllerGrid(t){return this.getManyBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseGridControllerGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseGridControllerGrid(t){return this.createOneBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseGridControllerGrid$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseGridControllerGridPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseGridControllerGrid(t){return this.createManyBaseGridControllerGrid$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseGridControllerGridPath="/grid/{id}",t.ReplaceOneBaseGridControllerGridPath="/grid/{id}",t.DeleteOneBaseGridControllerGridPath="/grid/{id}",t.UpdateOneBaseGridControllerGridPath="/grid/{id}",t.GetManyBaseGridControllerGridPath="/grid",t.CreateOneBaseGridControllerGridPath="/grid",t.CreateManyBaseGridControllerGridPath="/grid/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},krvq:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var l=n("8Y7J"),i=n("mnSs"),r=n("SVse"),o=l.Bb({encapsulation:0,styles:['[_nghost-%COMP%]{max-width:200px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 8px;position:absolute;pointer-events:none;z-index:1000;display:block;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s;top:0;left:0}.tooltip-show[_nghost-%COMP%]{opacity:1}.tooltip-shadow[_nghost-%COMP%]{box-shadow:0 7px 15px -5px rgba(0,0,0,.4)}.tooltip-light.tooltip-shadow[_nghost-%COMP%]{box-shadow:0 5px 15px -5px rgba(0,0,0,.4)}.tooltip[_nghost-%COMP%]::after{content:"";position:absolute;border-style:solid}.tooltip-top[_nghost-%COMP%]::after{top:100%;left:50%;margin-left:-5px;border-width:5px;border-color:#000 transparent transparent}.tooltip-bottom[_nghost-%COMP%]::after{bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-color:transparent transparent #000}.tooltip-left[_nghost-%COMP%]::after{top:50%;left:100%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #000}.tooltip-right[_nghost-%COMP%]::after{top:50%;right:100%;margin-top:-5px;border-width:5px;border-color:transparent #000 transparent transparent}.tooltip-light[_nghost-%COMP%]::after{display:none}.tooltip-light[_nghost-%COMP%]{border:1px solid rgba(0,0,0,.06);background-color:#fff;color:#000}.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;-webkit-transform:rotate(135deg);transform:rotate(135deg);background-color:rgba(0,0,0,.07)}.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{background-color:#fff;content:"";display:block;position:absolute;width:10px;height:10px}.tooltip-top.tooltip-light[_nghost-%COMP%]{margin-top:-2px}.tooltip-top.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:100%;left:50%;margin-top:-4px;margin-left:-5px;background:-webkit-gradient(linear,right top,left bottom,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to bottom left,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-top.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:1px;right:1px}.tooltip-bottom.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{bottom:100%;left:50%;margin-bottom:-4px;margin-left:-5px;background:-webkit-gradient(linear,left bottom,right top,color-stop(50%,rgba(0,0,0,.1)),color-stop(50%,transparent));background:linear-gradient(to top right,rgba(0,0,0,.1) 50%,transparent 50%)}.tooltip-bottom.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:-1px;right:-1px}.tooltip-left.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:50%;left:100%;margin-top:-5px;margin-left:-4px;background:-webkit-gradient(linear,left top,right bottom,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to bottom right,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-left.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:1px;right:-1px}.tooltip-right.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:50%;right:100%;margin-top:-5px;margin-right:-4px;background:-webkit-gradient(linear,right bottom,left top,color-stop(50%,rgba(0,0,0,.07)),color-stop(50%,transparent));background:linear-gradient(to top left,rgba(0,0,0,.07) 50%,transparent 50%)}.tooltip-right.tooltip-light[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]::after{top:-1px;right:1px}'],data:{}});function a(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"div",[["class","tooltip-arrow"]],null,null,null,null,null))],null,null)}function s(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function u(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,s)),l.Cb(2,540672,null,0,r.u,[l.Y],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){t(e,2,0,e.component.value)}),null)}function c(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.component.value)}))}function d(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,a)),l.Cb(1,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,u)),l.Cb(3,16384,null,0,r.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["htmlOrStringTemplate",2]],null,0,null,c))],(function(t,e){var n=e.component;t(e,1,0,n.isThemeLight),t(e,3,0,"template"===n.options.contentType,l.Pb(e,4))}),null)}function h(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"tooltip",[["class","tooltip"]],[[4,"top",null],[4,"left",null],[4,"z-index",null],[4,"transition",null],[4,"width",null],[4,"max-width",null],[4,"pointer-events",null],[2,"tooltip-show",null],[2,"tooltip-shadow",null],[2,"tooltip-light",null]],[[null,"transitionend"]],(function(t,e,n){var i=!0;return"transitionend"===e&&(i=!1!==l.Pb(t,1).transitionEnd(n)&&i),i}),d,o)),l.Cb(1,114688,null,0,i.a,[l.p,l.M],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,l.Pb(e,1).hostStyleTop,l.Pb(e,1).hostStyleLeft,l.Pb(e,1).hostStyleZIndex,l.Pb(e,1).hostStyleTransition,l.Pb(e,1).hostStyleWidth,l.Pb(e,1).hostStyleMaxWidth,l.Pb(e,1).hostStylePointerEvents,l.Pb(e,1).hostClassShow,l.Pb(e,1).hostClassShadow,l.Pb(e,1).hostClassLight)}))}var p=l.zb("tooltip",i.a,h,{data:"data",show:"show"},{},[])},ktNq:function(t,e,n){"use strict";var l=n("g7xG");function i(t,e){return t.toUpperCase()===e.toUpperCase()}function r(t,e){var n=t.find(e);return n?n.flag:""}t.exports={findFlagUrlByCountryName:function(t){return r(l,(function(e){var n=e.altSpellings;return i(e.name,t)||n.some((function(e){return i(e,t)}))}))},findFlagUrlByNationality:function(t){return r(l,(function(e){return i(e.demonym,t)}))},findFlagUrlByIso2Code:function(t){return r(l,(function(e){return i(e.iso2,t)}))},findFlagUrlByIso3Code:function(t){return r(l,(function(e){return i(e.iso3,t)}))}}},kvpX:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("g1uh");function i(t,e){if(!t)throw new l.a(e)}},l2lA:function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var l=n("f8l7");function i(t,e,n,i,r,o,a){var s,u=t[e],c=t[e+1],d=t[n]-u,h=t[n+1]-c;if(0===d&&0===h)s=e;else{var p=((r-u)*d+(o-c)*h)/(d*d+h*h);if(p>1)s=n;else{if(p>0){for(var f=0;f<i;++f)a[f]=Object(l.c)(t[e+f],t[n+f],p);return void(a.length=i)}s=e}}for(f=0;f<i;++f)a[f]=t[s+f];a.length=i}function r(t,e,n,i,r){var o=t[e],a=t[e+1];for(e+=i;e<n;e+=i){var s=t[e],u=t[e+1],c=Object(l.f)(o,a,s,u);c>r&&(r=c),o=s,a=u}return r}function o(t,e,n,l,i){for(var o=0,a=n.length;o<a;++o){var s=n[o];i=r(t,e,s,l,i),e=s}return i}function a(t,e,n,l,i){for(var r=0,a=n.length;r<a;++r){var s=n[r];i=o(t,e,s,l,i),e=s[s.length-1]}return i}function s(t,e,n,r,o,a,s,u,c,d,h){if(e==n)return d;var p,f;if(0===o){if((f=Object(l.f)(s,u,t[e],t[e+1]))<d){for(p=0;p<r;++p)c[p]=t[e+p];return c.length=r,f}return d}for(var b=h||[NaN,NaN],m=e+r;m<n;)if(i(t,m-r,m,r,s,u,b),(f=Object(l.f)(s,u,b[0],b[1]))<d){for(d=f,p=0;p<r;++p)c[p]=b[p];c.length=r,m+=r}else m+=r*Math.max((Math.sqrt(f)-Math.sqrt(d))/o|0,1);if(a&&(i(t,n-r,e,r,s,u,b),(f=Object(l.f)(s,u,b[0],b[1]))<d)){for(d=f,p=0;p<r;++p)c[p]=b[p];c.length=r}return d}function u(t,e,n,l,i,r,o,a,u,c,d){for(var h=d||[NaN,NaN],p=0,f=n.length;p<f;++p){var b=n[p];c=s(t,e,b,l,i,r,o,a,u,c,h),e=b}return c}function c(t,e,n,l,i,r,o,a,s,c,d){for(var h=d||[NaN,NaN],p=0,f=n.length;p<f;++p){var b=n[p];c=u(t,e,b,l,i,r,o,a,s,c,h),e=b[b.length-1]}return c}},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},l5mm:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var l=n("HDdC"),i=n("D0XW"),r=n("Y7HM");function o(t=0,e=i.a){return(!Object(r.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=i.a),new l.a(n=>(n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n))}function a(t){const{subscriber:e,counter:n,period:l}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:l},l)}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var l=n("7o/Q");function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends l.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lKxJ:function(t,e,n){t.exports=n("2pII"),t.exports.parser=n("Wm4p")},lT8R:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return d}));var l=n("KCVW"),i=n("dvZr"),r=n("8Y7J"),o=(n("s7LF"),n("Xd0L")),a=n("quSY");class s{}class u{constructor(t){this._elementRef=t}}const c=Object(o.J)(Object(o.E)(Object(o.G)(u),"accent"));class d extends c{constructor(t,e,n,l,i,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this._dir=l,this._animationMode=o,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new r.r,this.input=new r.r,this.valueChange=new r.r,this.onTouched=()=>{},this._percent=0,this._isSliding=!1,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=a.a.EMPTY,this.tabIndex=parseInt(i)||0}get invert(){return this._invert}set invert(t){this._invert=Object(l.c)(t)}get max(){return this._max}set max(t){this._max=Object(l.f)(t,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(t){this._min=Object(l.f)(t,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(t){this._step=Object(l.f)(t,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(t){this._thumbLabel=Object(l.c)(t)}get tickInterval(){return this._tickInterval}set tickInterval(t){this._tickInterval="auto"===t?"auto":"number"==typeof t||"string"==typeof t?Object(l.f)(t,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(t){if(t!==this._value){let e=Object(l.f)(t);this._roundToDecimal&&(e=parseFloat(e.toFixed(this._roundToDecimal))),this._value=e,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(l.c)(t)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(t){this._focusHostElement(t)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}get _invertAxis(){return this.vertical?!this.invert:this.invert}get _isMinValue(){return 0===this.percent}get _thumbGap(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0}get _trackBackgroundStyles(){const t=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._thumbGap}px) scale3d(${t})`}}get _trackFillStyles(){const t=this.vertical?`1, ${this.percent}, 1`:this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._thumbGap}px) scale3d(${t})`}}get _ticksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}get _ticksStyles(){let t=100*this._tickIntervalPercent,e={backgroundSize:this.vertical?`2px ${t}%`:t+"% 2px",transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${t/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};return this._isMinValue&&this._thumbGap&&(e["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px"),e}get _thumbContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngOnInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{this._isActive=!!t&&"keyboard"!==t,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onMousedown(t){if(this.disabled||0!==t.button)return;const e=this.value;this._isSliding=!1,this._focusHostElement(),this._updateValueFromPosition({x:t.clientX,y:t.clientY}),e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent())}_onSlide(t){if(this.disabled)return;this._isSliding||this._onSlideStart(null),t.preventDefault();let e=this.value;this._updateValueFromPosition({x:t.center.x,y:t.center.y}),e!=this.value&&this._emitInputEvent()}_onSlideStart(t){this.disabled||this._isSliding||(this._onMouseenter(),this._isSliding=!0,this._focusHostElement(),this._valueOnSlideStart=this.value,t&&(this._updateValueFromPosition({x:t.center.x,y:t.center.y}),t.preventDefault()))}_onSlideEnd(){this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||this._emitChangeEvent(),this._valueOnSlideStart=null}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(t){if(this.disabled||Object(i.t)(t))return;const e=this.value;switch(t.keyCode){case i.m:this._increment(10);break;case i.l:this._increment(-10);break;case i.f:this.value=this.max;break;case i.i:this.value=this.min;break;case i.j:this._increment("rtl"==this._getDirection()?1:-1);break;case i.q:this._increment(1);break;case i.n:this._increment("rtl"==this._getDirection()?-1:1);break;case i.e:this._increment(-1);break;default:return}e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,t.preventDefault()}_onKeyup(){this._isSliding=!1}_increment(t){this.value=this._clamp((this.value||0)+this.step*t,this.min,this.max)}_updateValueFromPosition(t){if(!this._sliderDimensions)return;let e=this._clamp(((this.vertical?t.y:t.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(e=1-e),0===e)this.value=this.min;else if(1===e)this.value=this.max;else{const t=this._calculateValue(e),n=Math.round((t-this.min)/this.step)*this.step+this.min;this.value=this._clamp(n,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){let t=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,e=Math.ceil(30/(t*this.step/(this.max-this.min)));this._tickIntervalPercent=e*this.step/t}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(t=this.value){let e=new s;return e.source=this,e.value=t,e}_calculatePercentage(t){return((t||0)-this.min)/(this.max-this.min)}_calculateValue(t){return this.min+t*(this.max-this.min)}_clamp(t,e=0,n=1){return Math.max(e,Math.min(t,n))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(t){this._elementRef.nativeElement.focus(t)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(t){this.value=t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}}class h{}},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l,i;return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(l=+t,i={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),l%10==1&&l%100!=11?i[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?i[1]:i[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,l){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lhf0:function(t,e,n){function l(t){var n;function l(){if(l.enabled){var t=l,i=+new Date,r=i-(n||i);t.diff=r,t.prev=n,t.curr=i,n=i;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=e.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(n,l){if("%%"===n)return n;s++;var i=e.formatters[l];return"function"==typeof i&&(n=i.call(t,o[s]),o.splice(s,1),s--),n})),e.formatArgs.call(t,o);var u=l.log||e.log||console.log.bind(console);u.apply(t,o)}}return l.namespace=t,l.enabled=e.enabled(t),l.useColors=e.useColors(),l.color=function(t){var n,l=0;for(n in t)l=(l<<5)-l+t.charCodeAt(n),l|=0;return e.colors[Math.abs(l)%e.colors.length]}(t),l.destroy=i,"function"==typeof e.init&&e.init(l),e.instances.push(l),l}function i(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=l.debug=l.default=l).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var l=("string"==typeof t?t:"").split(/[\s,]+/),i=l.length;for(n=0;n<i;n++)l[n]&&("-"===(t=l[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")));for(n=0;n<e.instances.length;n++){var r=e.instances[n];r.enabled=e.enabled(r.namespace)}},e.enabled=function(t){if("*"===t[t.length-1])return!0;var n,l;for(n=0,l=e.skips.length;n<l;n++)if(e.skips[n].test(t))return!1;for(n=0,l=e.names.length;n<l;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n("WiHW"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},loYQ:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},luTP:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},lwm9:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("GS7A"),n("Xd0L"),n("zMNK")),r=n("7QIX");n("SVse"),n("QQfA"),n("dvZr"),n("XNiG"),n("VRyK"),n("LRne"),n("pLZG"),n("IzEk"),n("IP0z");class o{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}class a extends i.a{constructor(t,e,n,i,o,a){super(),this._elementRef=t,this._changeDetectorRef=e,this._focusTrapFactory=n,this.bottomSheetConfig=a,this._animationState="void",this._animationStateChanged=new l.r,this._elementFocusedBeforeOpened=null,this._document=o,this._breakpointSubscription=i.observe([r.b.Medium,r.b.Large,r.b.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",i.isMatched(r.b.Medium)),this._toggleClass("mat-bottom-sheet-container-large",i.isMatched(r.b.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched(r.b.XLarge))})}attachComponentPortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){"hidden"===t.toState?this._restoreFocus():"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_toggleClass(t,e){const n=this._elementRef.nativeElement.classList;e?n.add(t):n.remove(t)}_validatePortalAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach bottom sheet content after content is already attached")}_setPanelClass(){const t=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach(e=>t.classList.add(e)):e&&t.classList.add(e)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeOpened;this.bottomSheetConfig.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._elementFocusedBeforeOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus())}}class s{}},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var l=" ";return(t%100>=20||t>=100&&t%100==0)&&(l=" de "),t+l+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},m46K:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var l=n("8Y7J"),i=(n("7kcP"),n("SVse")),r=l.Bb({encapsulation:2,styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media (-ms-high-contrast:active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media (-ms-high-contrast:active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],data:{animation:[{type:7,name:"indicator",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"translateY(10px)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"leftPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"rightPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowOpacity",definitions:[{type:0,name:"desc-to-active, asc-to-active, active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"desc-to-hint, asc-to-hint, hint",styles:{type:6,styles:{opacity:.54},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"* => asc, * => desc, * => active, * => hint, * => void",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"* <=> *",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowPosition",definitions:[{type:1,expr:"* => desc-to-hint, * => desc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(-25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-desc, * => active-to-desc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => asc-to-hint, * => asc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-asc, * => active-to-asc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(-25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:0,name:"desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",styles:{type:6,styles:{transform:"translateY(0)"},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc",styles:{type:6,styles:{transform:"translateY(-25%)"},offset:null},options:void 0},{type:0,name:"hint-to-asc, active-to-asc, asc",styles:{type:6,styles:{transform:"translateY(25%)"},offset:null},options:void 0}],options:{}},{type:7,name:"allowChildren",definitions:[{type:1,expr:"* <=> *",animation:[{type:11,selector:"@*",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:{}}]}});function o(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","mat-sort-header-arrow"]],[[24,"@arrowOpacity",0],[24,"@arrowPosition",0],[24,"@allowChildren",0]],[[null,"@arrowPosition.start"],[null,"@arrowPosition.done"]],(function(t,e,n){var l=!0,i=t.component;return"@arrowPosition.start"===e&&(l=0!=(i._disableViewStateAnimation=!0)&&l),"@arrowPosition.done"===e&&(l=0!=(i._disableViewStateAnimation=!1)&&l),l}),null,null)),(t()(),l.Db(1,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(t()(),l.Db(3,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(t()(),l.Db(4,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(t()(),l.Db(5,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._getArrowViewState(),n._getArrowViewState(),n._getArrowDirectionState()),t(e,2,0,n._getArrowDirectionState()),t(e,3,0,n._getArrowDirectionState()),t(e,4,0,n._getArrowDirectionState())}))}function a(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,4,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"button",[["class","mat-sort-header-button"],["type","button"]],[[1,"disabled",0],[1,"aria-label",0]],[[null,"focus"],[null,"blur"]],(function(t,e,n){var l=!0,i=t.component;return"focus"===e&&(l=!1!==i._setIndicatorHintVisible(!0)&&l),"blur"===e&&(l=!1!==i._setIndicatorHintVisible(!1)&&l),l}),null,null)),l.Ob(null,0),(t()(),l.sb(16777216,null,null,1,null,o)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,4,0,e.component._renderArrow())}),(function(t,e){var n=e.component;t(e,0,0,n._isSorted(),"before"==n.arrowPosition),t(e,1,0,n._isDisabled()||null,n._intl.sortButtonLabel(n.id))}))}},m6sc:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("QL49");class l{constructor(t,e){this.config=t,this.http=e,this._rootUrl=""}get rootUrl(){return this._rootUrl||this.config.rootUrl}set rootUrl(t){this._rootUrl=t}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var l=n("SpAZ");function i(...t){return r(t)}function r(t){return 0===t.length?l.a:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},mS5L:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("yotz"),o=n("m46K"),a=n("7kcP"),s=n("8rEH"),u=n("zQui"),c=n("pIm3"),d=n("F3fN"),h=n("oBZk"),p=n("ZZ/e"),f=n("dJrM"),b=n("HsOI"),m=n("Xd0L"),g=n("IP0z"),_=n("/HVE"),y=n("omvX"),A=n("ZwOa"),v=n("s7LF"),C=n("oapL"),w=n("oJZn"),P=n("pBi1"),x=n("5GAg"),S=n("b1+6"),k=n("OIZN"),M=n("sJgj"),O=n("s6ns"),D=n("svHU"),T=n("7/LY"),E=n("YGmB"),I=n("978D"),L=n("wBRQ"),j=n("qToJ"),R=l.Bb({encapsulation:0,styles:[["#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{color:#fff}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-button{text-transform:uppercase;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .mat-sort-header-arrow{color:#fff!important}#list-panel[_ngcontent-%COMP%] .mat-column-provider[_ngcontent-%COMP%], #list-panel[_ngcontent-%COMP%] .mat-column-route[_ngcontent-%COMP%]{min-width:100px}#list-panel[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding:10px}#list-panel[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto;cursor:pointer}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]{padding:5px;font-size:12px}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0!important;font-size:12px!important;font-family:inherit!important;text-overflow:ellipsis;white-space:nowrap}#list-panel[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{max-height:19px;margin:-4px}#list-panel[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:5px}#list-panel[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#ccc}#list-panel[_ngcontent-%COMP%] .mat-paginator-range-label{margin:0}.customfilter[_ngcontent-%COMP%]{width:100px}"]],data:{animation:[{type:7,name:"showFromRight",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"200ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateX(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function F(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,1)._handleClick()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!0)&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1)._setIndicatorHintVisible(!1)&&i),i}),o.b,o.a)),l.Cb(1,245760,null,0,a.c,[a.d,l.j,[2,a.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),l.Cb(2,16384,null,0,s.e,[u.d,l.p],null,null),(t()(),l.Wb(3,0,[" "," "]))],(function(t,e){t(e,1,0,"")}),(function(t,e){var n=e.component;t(e,0,0,l.Pb(e,1)._getAriaSortAttribute(),l.Pb(e,1)._isDisabled()),t(e,3,0,n.columnsName[e.parent.context.$implicit])}))}function N(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent.parent,0),e.parent.context.$implicit[e.parent.parent.context.$implicit]));t(e,1,0,n)}))}function Y(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function U(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.settingService.getFeedNames(e.parent.context.$implicit[e.parent.parent.context.$implicit]))}))}function B(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,l.Hb(1,"",e.parent.context.$implicit[e.parent.parent.context.$implicit],""))}))}function z(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])}))}function G(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),l.Cb(1,16384,null,0,s.a,[u.d,l.p],null,null),(t()(),l.sb(16777216,null,null,1,null,N)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Y)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,U)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,B)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,z)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,"altitude"==e.parent.context.$implicit),t(e,5,0,"speed"==e.parent.context.$implicit),t(e,7,0,"providers"==e.parent.context.$implicit),t(e,9,0,"country"==e.parent.context.$implicit&&e.context.$implicit[e.parent.context.$implicit]),t(e,11,0,"speed"!==e.parent.context.$implicit&&"altitude"!==e.parent.context.$implicit&&"providers"!==e.parent.context.$implicit&&"country"!==e.parent.context.$implicit)}),null)}function H(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,12,null,null,null,null,null,null,null)),l.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[s.c]),l.Cb(2,16384,null,3,s.c,[],{name:[0,"name"]},null),l.Ub(603979776,16,{cell:0}),l.Ub(603979776,17,{headerCell:0}),l.Ub(603979776,18,{footerCell:0}),l.Tb(2048,[[12,4]],u.d,null,[s.c]),(t()(),l.sb(0,null,null,2,null,F)),l.Cb(8,16384,null,0,s.f,[l.U],null,null),l.Tb(2048,[[17,4]],u.j,null,[s.f]),(t()(),l.sb(0,null,null,2,null,G)),l.Cb(11,16384,null,0,s.b,[l.U],null,null),l.Tb(2048,[[16,4]],u.b,null,[s.b])],(function(t,e){t(e,2,0,l.Hb(1,"",e.context.$implicit,""))}),null)}function V(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,c.d,c.a)),l.Tb(6144,null,u.k,null,[s.g]),l.Cb(2,49152,null,0,s.g,[],null,null)],null,null)}function q(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,[[null,"click"],[null,"dblclick"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=!1!==i.watchAircraft(t.context.$implicit.icao)&&l),"dblclick"===e&&(l=!1!==i.selectAircraft(t.context.$implicit.icao)&&l),l}),c.e,c.b)),l.Tb(6144,null,u.m,null,[s.i]),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(3,278528,null,0,i.l,[i.A],{ngClass:[0,"ngClass"]},null),l.Rb(4,{active:0}),l.Cb(5,49152,null,0,s.i,[],null,null)],(function(t,e){var n=t(e,4,0,e.component.isSelectedAircraft(e.context.$implicit));t(e,3,0,n)}),null)}function W(t){return l.Yb(0,[l.Qb(0,d.a,[]),l.Ub(402653184,1,{sort:0}),l.Ub(402653184,2,{paginator:0}),(t()(),l.Db(3,0,null,null,41,"ion-content",[["id","list-panel"],["scrollX","true"]],null,null,null,h.w,h.e)),l.Cb(4,49152,null,0,p.s,[l.j,l.p,l.G],{scrollX:[0,"scrollX"]},null),(t()(),l.Db(5,0,null,0,13,"mat-form-field",[["class","customfilter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(6,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],null,null),l.Ub(603979776,3,{_controlNonStatic:0}),l.Ub(335544320,4,{_controlStatic:0}),l.Ub(603979776,5,{_labelChildNonStatic:0}),l.Ub(335544320,6,{_labelChildStatic:0}),l.Ub(603979776,7,{_placeholderChild:0}),l.Ub(603979776,8,{_errorChildren:1}),l.Ub(603979776,9,{_hintChildren:1}),l.Ub(603979776,10,{_prefixChildren:1}),l.Ub(603979776,11,{_suffixChildren:1}),(t()(),l.Db(16,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0,r=t.component;return"blur"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,17)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,17)._onInput()&&i),"keyup"===e&&(i=!1!==r.applyFilter(n.target.value)&&i),i}),null,null)),l.Cb(17,999424,null,0,A.b,[l.p,_.a,[8,null],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"]},null),l.Tb(2048,[[3,4],[4,4]],b.d,null,[A.b]),(t()(),l.Db(19,0,null,0,3,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==l.Pb(t,21)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.focusChange(n)&&i),i}),w.b,w.a)),l.Tb(5120,null,v.o,(function(t){return[t]}),[P.b]),l.Cb(21,1228800,null,0,P.b,[l.p,x.h,l.j,[8,null],l.G,P.a,[2,y.a],[2,g.b]],{checked:[0,"checked"]},{change:"change"}),(t()(),l.Wb(-1,0,["Focus"])),(t()(),l.Db(23,0,null,0,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(24,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(25,0,null,0,1,"ion-icon",[["name","settings"]],null,null,null,h.y,h.g)),l.Cb(26,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(27,0,null,0,15,"table",[["class","mat-table"],["mat-table",""],["matSort",""]],null,null,null,c.f,c.c)),l.Tb(6144,null,u.o,null,[s.k]),l.Cb(29,737280,[[1,4]],0,a.b,[],null,null),l.Cb(30,2342912,null,4,s.k,[l.y,l.j,l.p,[8,null],[2,g.b],i.d,_.a],{dataSource:[0,"dataSource"]},null),l.Ub(603979776,12,{_contentColumnDefs:1}),l.Ub(603979776,13,{_contentRowDefs:1}),l.Ub(603979776,14,{_contentHeaderRowDefs:1}),l.Ub(603979776,15,{_contentFooterRowDefs:1}),(t()(),l.sb(16777216,null,null,1,null,H)),l.Cb(36,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),(t()(),l.sb(0,null,null,2,null,V)),l.Cb(38,540672,null,0,s.h,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[14,4]],u.l,null,[s.h]),(t()(),l.sb(0,null,null,2,null,q)),l.Cb(41,540672,null,0,s.j,[l.U,l.y],{columns:[0,"columns"]},null),l.Tb(2048,[[13,4]],u.n,null,[s.j]),(t()(),l.Db(43,0,null,0,1,"mat-paginator",[["class","mat-paginator"],["hidePageSize","true"],["showFirstLastButtons",""]],null,null,null,S.b,S.a)),l.Cb(44,245760,[[2,4]],0,k.b,[k.c,l.j],{pageSize:[0,"pageSize"],hidePageSize:[1,"hidePageSize"],showFirstLastButtons:[2,"showFirstLastButtons"]},null)],(function(t,e){var n=e.component;t(e,4,0,"true"),t(e,17,0,"Filter"),t(e,21,0,n.focusIsActive),t(e,24,0,"primary"),t(e,26,0,"settings"),t(e,29,0),t(e,30,0,n.dataSource),t(e,36,0,n.displayedColumns),t(e,38,0,n.displayedColumns),t(e,41,0,n.displayedColumns),t(e,44,0,50,"true","")}),(function(t,e){t(e,5,1,["standard"==l.Pb(e,6).appearance,"fill"==l.Pb(e,6).appearance,"outline"==l.Pb(e,6).appearance,"legacy"==l.Pb(e,6).appearance,l.Pb(e,6)._control.errorState,l.Pb(e,6)._canLabelFloat,l.Pb(e,6)._shouldLabelFloat(),l.Pb(e,6)._hasFloatingLabel(),l.Pb(e,6)._hideControlPlaceholder(),l.Pb(e,6)._control.disabled,l.Pb(e,6)._control.autofilled,l.Pb(e,6)._control.focused,"accent"==l.Pb(e,6).color,"warn"==l.Pb(e,6).color,l.Pb(e,6)._shouldForward("untouched"),l.Pb(e,6)._shouldForward("touched"),l.Pb(e,6)._shouldForward("pristine"),l.Pb(e,6)._shouldForward("dirty"),l.Pb(e,6)._shouldForward("valid"),l.Pb(e,6)._shouldForward("invalid"),l.Pb(e,6)._shouldForward("pending"),!l.Pb(e,6)._animationsEnabled]),t(e,16,0,l.Pb(e,17)._isServer,l.Pb(e,17).id,l.Pb(e,17).placeholder,l.Pb(e,17).disabled,l.Pb(e,17).required,l.Pb(e,17).readonly&&!l.Pb(e,17)._isNativeSelect||null,l.Pb(e,17)._ariaDescribedby||null,l.Pb(e,17).errorState,l.Pb(e,17).required.toString()),t(e,19,0,l.Pb(e,21).id,l.Pb(e,21).disabled?null:-1,null,null,l.Pb(e,21).checked,l.Pb(e,21).disabled,"before"==l.Pb(e,21).labelPosition,"NoopAnimations"===l.Pb(e,21)._animationMode)}))}var $=n("NvT6"),X=n("W5yJ"),K=n("8e4W");class J{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){this.dialogRef=this.dialog.open(K.a,{width:"500px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-500+"px"},hasBackdrop:!1});const t=this.dialogRef.afterClosed().subscribe(e=>{this.dialogRef=void 0,t.unsubscribe()})}}var Q=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Z(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","filing"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"filing")}),null)}var tt=n("dk3J");class et{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-700>0?String(t+50-700):String(5)+"px";this.dialogRef=this.dialog.open(tt.a,{width:"700px",position:{top:"60px",left:e},hasBackdrop:!1});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var nt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,0,"img",[["src","../../../../../../assets/images/GHOST.svg"],["style","max-width: unset;"]],null,null,null,null,null))],(function(t,e){t(e,1,0,"primary")}),null)}var it=n("Fi5g"),rt=n("ek9U");class ot{constructor(t,e){this.dialog=t,this.elementRef=e}toggleFormReplayDialog(){this.formReplayDialogRef?this.formReplayDialogRef.close():this.openFormReplayDialog()}openFormReplayDialog(){this.formReplayDialogRef=this.dialog.open(it.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},hasBackdrop:!1});const t=this.formReplayDialogRef.afterClosed().subscribe(e=>{e&&this.openControlReplayDialog(e),this.formReplayDialogRef=void 0,t.unsubscribe()})}openControlReplayDialog(t){this.controlReplayDialogRef=this.dialog.open(rt.a,{width:"400px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-400+"px"},hasBackdrop:!1,data:{date:t}});const e=this.formReplayDialogRef.afterClosed().subscribe(t=>{this.controlReplayDialogRef=void 0,e.unsubscribe()})}}var at=l.Bb({encapsulation:0,styles:[[""]],data:{}});function st(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleFormReplayDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","time"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"time")}),null)}var ut=n("F8Ro");class ct{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-700>0?String(t+50-700):String(5)+"px";this.dialogRef=this.dialog.open(ut.a,{width:"700px",position:{top:"60px",left:e},hasBackdrop:!1});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var dt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function ht(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","funnel"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"funnel")}),null)}var pt=n("MlvX"),ft=n("/Co4"),bt=n("QQfA"),mt=n("hOhj"),gt=n("Rn7m"),_t=n("LRne"),yt=n("JX91"),At=n("lJxs"),vt=n("Kj3r"),Ct=n("eIep"),wt=n("JIr8"),Pt=n("w+w1");n("G0WM");class xt{constructor(t,e,n,l,i,r){this.mapService=t,this.trafficService=e,this.selectAircraftService=n,this.searchService=l,this.aircraftService=i,this.stopPointService=r,this.searchBarIsActive=!1,this.aircraftAutoComplete$=null,this.autoCompleteControl=new v.g}ngOnInit(){this.initAucompleteAircraft()}initAucompleteAircraft(){this.aircraftAutoComplete$=this.autoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>t&&""!==t?this.lookup(t?t.toUpperCase():t):Object(_t.a)([])))}lookup(t){return this.searchService.searchControllerGetSearch({value:t,limit:5}).pipe(Object(At.a)(t=>[{type:"aircraft",entities:t.data.aircraft},{type:"stop_point",entities:t.data.stop_point},{type:"feature",entities:t.data.feature}]),Object(wt.a)(t=>Object(_t.a)(null)))}onSubmit(t,e){if("stop_point"===e)this.mapService.recenterMap([t.longitude,t.latitude],10);else if("feature"===e)console.log("entity:",t),this.mapService.recenterMap(t.geometry.coordinates,10);else if("aircraft"===e){const e=this.trafficService.addAircraft(new Pt.a(t));this.mapService.recenterMap([e.longitude,e.latitude]),this.selectAircraftService.selectAircraft(e)}this.autoCompleteControl.reset()}}var St=n("mWFr"),kt=n("xhS3"),Mt=n("rLOe"),Ot=l.Bb({encapsulation:0,styles:[[".search-bar[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-optgroup[_ngcontent-%COMP%] .mat-option[_ngcontent-%COMP%]{padding:5px 0 5px 32px}"]],data:{}});function Dt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","search"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"search")}),null)}function Tt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["name","close"]],null,null,null,h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Et(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" icao : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icao)}))}function It(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" callsign : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function Lt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" registration : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function jt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" iata : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.iata)}))}function Rt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["style","margin: 0;line-height: 12px;font-size: 12px;"]],null,null,null,null,null)),(t()(),l.Wb(1,null,[" name : ",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.name)}))}function Ft(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,11,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.onSubmit(t.context.$implicit,t.parent.context.$implicit.type)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[10,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.sb(16777216,null,0,1,null,Et)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,It)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Lt)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,jt)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Rt)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit),t(e,3,0,"feature"!==e.parent.context.$implicit.type),t(e,5,0,"aircraft"===e.parent.context.$implicit.type),t(e,7,0,"aircraft"===e.parent.context.$implicit.type),t(e,9,0,"stop_point"===e.parent.context.$implicit.type),t(e,11,0,"stop_point"===e.parent.context.$implicit.type||"feature"===e.parent.context.$implicit.type)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled)}))}function Nt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,pt.d,pt.a)),l.Cb(1,49152,[[11,4]],0,m.r,[],{label:[0,"label"]},null),(t()(),l.sb(16777216,null,1,1,null,Ft)),l.Cb(3,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.type),t(e,3,0,e.context.$implicit.entities)}),(function(t,e){t(e,0,0,l.Pb(e,1).disabled,l.Pb(e,1).disabled.toString(),l.Pb(e,1)._labelId)}))}function Yt(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(1,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],null,null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(11,16777216,null,1,8,"input",[["aria-label","Number"],["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search icao, callsign, registration or featurer name"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,12)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,13)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,13)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,13)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,13)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,18)._onInput()&&i),i}),null,null)),l.Cb(12,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(13,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(15,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(17,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(18,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],b.d,null,[A.b]),(t()(),l.Db(20,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(22,1097728,[["autoGroup",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Nt)),l.Cb(26,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j])],(function(t,e){var n=e.component;t(e,13,0,l.Pb(e,22)),t(e,15,0,n.autoCompleteControl),t(e,18,0,"Search icao, callsign, registration or featurer name","text"),t(e,22,0,""),t(e,26,0,l.Xb(e,26,0,l.Pb(e,27).transform(n.aircraftAutoComplete$)))}),(function(t,e){t(e,0,1,["standard"==l.Pb(e,1).appearance,"fill"==l.Pb(e,1).appearance,"outline"==l.Pb(e,1).appearance,"legacy"==l.Pb(e,1).appearance,l.Pb(e,1)._control.errorState,l.Pb(e,1)._canLabelFloat,l.Pb(e,1)._shouldLabelFloat(),l.Pb(e,1)._hasFloatingLabel(),l.Pb(e,1)._hideControlPlaceholder(),l.Pb(e,1)._control.disabled,l.Pb(e,1)._control.autofilled,l.Pb(e,1)._control.focused,"accent"==l.Pb(e,1).color,"warn"==l.Pb(e,1).color,l.Pb(e,1)._shouldForward("untouched"),l.Pb(e,1)._shouldForward("touched"),l.Pb(e,1)._shouldForward("pristine"),l.Pb(e,1)._shouldForward("dirty"),l.Pb(e,1)._shouldForward("valid"),l.Pb(e,1)._shouldForward("invalid"),l.Pb(e,1)._shouldForward("pending"),!l.Pb(e,1)._animationsEnabled]),t(e,11,1,[l.Pb(e,13).autocompleteAttribute,l.Pb(e,13).autocompleteDisabled?null:"combobox",l.Pb(e,13).autocompleteDisabled?null:"list",l.Pb(e,13).panelOpen&&l.Pb(e,13).activeOption?l.Pb(e,13).activeOption.id:null,l.Pb(e,13).autocompleteDisabled?null:l.Pb(e,13).panelOpen.toString(),l.Pb(e,13).autocompleteDisabled||!l.Pb(e,13).panelOpen||null==l.Pb(e,13).autocomplete?null:l.Pb(e,13).autocomplete.id,!l.Pb(e,13).autocompleteDisabled,l.Pb(e,17).ngClassUntouched,l.Pb(e,17).ngClassTouched,l.Pb(e,17).ngClassPristine,l.Pb(e,17).ngClassDirty,l.Pb(e,17).ngClassValid,l.Pb(e,17).ngClassInvalid,l.Pb(e,17).ngClassPending,l.Pb(e,18)._isServer,l.Pb(e,18).id,l.Pb(e,18).placeholder,l.Pb(e,18).disabled,l.Pb(e,18).required,l.Pb(e,18).readonly&&!l.Pb(e,18)._isNativeSelect||null,l.Pb(e,18)._ariaDescribedby||null,l.Pb(e,18).errorState,l.Pb(e,18).required.toString()])}))}function Ut(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,8,"div",[["class","search-bar"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,5,"ion-button",[["color","primary"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=0!=(i.searchBarIsActive=!i.searchBarIsActive)&&l),l}),h.u,h.c)),l.Cb(2,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.sb(16777216,null,0,1,null,Dt)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,Tt)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Yt)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,"primary"),t(e,4,0,0==n.searchBarIsActive),t(e,6,0,1==n.searchBarIsActive),t(e,8,0,1==n.searchBarIsActive)}),null)}var Bt=n("fQr7");class zt{constructor(t,e){this.dialog=t,this.elementRef=e,this.widthPopup=800}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){const t=this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft,e=t+50-this.widthPopup>0?String(t+50-this.widthPopup):String(5)+"px";this.dialogRef=this.dialog.open(Bt.a,{width:this.widthPopup+"px",position:{top:"60px",left:e},hasBackdrop:!1,data:{map:this.map}});const n=this.dialogRef.afterClosed().subscribe(t=>{this.dialogRef=void 0,n.unsubscribe()})}}var Gt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Ht(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","md-cloud-upload"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"md-cloud-upload")}),null)}var Vt=n("j+gv");class qt{constructor(t,e){this.dialog=t,this.elementRef=e}ngOnInit(){}toggleDialog(){this.dialogRef?this.dialogRef.close():this.openDialog()}openDialog(){this.dialogRef=this.dialog.open(Vt.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},hasBackdrop:!1});const t=this.dialogRef.afterClosed().subscribe(e=>{this.dialogRef=void 0,t.unsubscribe()})}}var Wt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function $t(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,3,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialog()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","share"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"share")}),null)}var Xt=n("Hq+i"),Kt=n("4q72"),Jt=n("/MgC");class Qt{constructor(t,e,n,l){this.ref=t,this.dialog=e,this.elementRef=n,this.notificationSettingService=l,this.subscription={},this.nbNotifs=0}ngOnInit(){this.notificationSettingService.notificationsSocketSubject.subscribe(t=>{for(const e in this.subscription)this.subscription.hasOwnProperty(e)&&this.subscription[e].unsubscribe();for(const e in t)t.hasOwnProperty(e)&&(this.subscription[e]=t[e].subscribe(t=>{"INSERT"===t.type?(this.nbNotifs+=1,this.ref.detectChanges(),void 0===this.notificationsDialogRef&&this.displayNotificationAlert(t.value)):"DELETE"===t.type&&this.nbNotifs>0&&(this.nbNotifs-=1)}))})}displayNotificationAlert(t){this.notifAlertdialogRef&&this.notifAlertdialogRef.close(),this.notifAlertdialogRef=this.dialog.open(Kt.a,{width:"300px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-300+"px"},data:t,hasBackdrop:!1}),setTimeout(()=>{this.notifAlertdialogRef&&this.notifAlertdialogRef.close()},4e3);const e=this.notifAlertdialogRef.afterClosed().subscribe(t=>{this.notifAlertdialogRef=void 0,e.unsubscribe(),t&&this.showNotifs(t)})}toggleDialogNotif(){this.notificationsDialogRef?this.notificationsDialogRef.close():this.showNotifs()}showNotifs(t){this.nbNotifs=0,this.ref.detectChanges();const e={width:"400px",position:{top:"60px",left:this.elementRef.nativeElement.offsetLeft+this.elementRef.nativeElement.offsetParent.offsetLeft+50-400+"px"},hasBackdrop:!1};t&&(e.data=t),this.notificationsDialogRef=this.dialog.open(Xt.a,e);const n=this.notificationsDialogRef.componentInstance.viewedNotif.subscribe(()=>{this.nbNotifs-=1,this.ref.detectChanges()}),l=this.notificationsDialogRef.afterClosed().subscribe(()=>{this.notificationsDialogRef=void 0,l.unsubscribe(),n.unsubscribe()})}}var Zt=l.Bb({encapsulation:0,styles:[[""]],data:{}});function te(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,6,"ion-button",[["color","primary"],["mat-raised-button",""]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.toggleDialogNotif()&&l),l}),h.u,h.c)),l.Cb(1,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(2,0,null,0,1,"ion-icon",[["name","notifications-outline"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(4,0,null,0,2,"ion-badge",[["color","danger"],["id","notifications-badge"]],null,null,null,h.t,h.b)),l.Cb(5,49152,null,0,p.h,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Wb(6,0,[" "," "]))],(function(t,e){t(e,1,0,"primary"),t(e,3,0,"notifications-outline"),t(e,5,0,"danger")}),(function(t,e){t(e,6,0,e.component.nbNotifs)}))}var ee=n("gDAU"),ne=n("oeKZ"),le=n("Y4ja"),ie=l.Bb({encapsulation:0,styles:[[".traffic-counter[_ngcontent-%COMP%]{display:flex;padding:4px;border-radius:5px;background-color:var(--ion-color-primary);color:#fff;width:60px;justify-content:space-around}.currentDate[_ngcontent-%COMP%]{text-align:center;padding-right:20%}#loader[_ngcontent-%COMP%]{min-width:30px}"]],data:{}});function re(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,$.d,$.b)),l.Cb(1,114688,null,0,X.d,[l.p,_.a,[2,i.d],[2,y.a],X.a],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,"30")}),(function(t,e){t(e,0,0,l.Pb(e,1)._noopAnimations,l.Pb(e,1).diameter,l.Pb(e,1).diameter)}))}function oe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-search-aircraft-past",[],null,null,null,Z,Q)),l.Cb(1,114688,null,0,J,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function ae(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ghost",[],null,null,null,lt,nt)),l.Cb(1,114688,null,0,et,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function se(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-replay",[],null,null,null,st,at)),l.Cb(1,49152,null,0,ot,[O.e,l.p],null,null)],null,null)}function ue(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-filter",[],null,null,null,ht,dt)),l.Cb(1,114688,null,0,ct,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function ce(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-search-bar",[],null,null,null,Ut,Ot)),l.Cb(1,114688,null,0,xt,[D.a,E.a,T.b,St.a,kt.a,Mt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function de(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-edition-db",[],null,null,null,Ht,Gt)),l.Cb(1,114688,null,0,zt,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function he(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-permalink",[],null,null,null,$t,Wt)),l.Cb(1,114688,null,0,qt,[O.e,l.p],null,null)],(function(t,e){t(e,1,0)}),null)}function pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-notification",[],null,null,null,te,Zt)),l.Cb(1,114688,null,0,Qt,[l.j,O.e,l.p,Jt.a],null,null)],(function(t,e){t(e,1,0)}),null)}function fe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,38,"ion-header",[],null,null,null,h.x,h.f)),l.Cb(1,49152,null,0,p.z,[l.j,l.p,l.G],null,null),(t()(),l.Db(2,0,null,0,36,"ion-toolbar",[],null,null,null,h.J,h.r)),l.Cb(3,49152,null,0,p.Ab,[l.j,l.p,l.G],null,null),(t()(),l.Db(4,0,null,0,2,"ion-title",[["slot","start"]],null,null,null,h.I,h.q)),l.Cb(5,49152,null,0,p.yb,[l.j,l.p,l.G],null,null),(t()(),l.Db(6,0,null,0,0,"img",[["alt","logo"],["height","40"],["src","../../../../assets/logo.svg"]],null,null,null,null,null)),(t()(),l.Db(7,0,null,0,2,"ion-title",[["class","currentDate"],["slot","secondary"]],null,null,null,h.I,h.q)),l.Cb(8,49152,null,0,p.yb,[l.j,l.p,l.G],null,null),(t()(),l.Wb(9,0,[" "," "])),(t()(),l.Db(10,0,null,0,28,"ion-buttons",[["slot","end"]],null,null,null,h.v,h.d)),l.Cb(11,49152,null,0,p.j,[l.j,l.p,l.G],null,null),(t()(),l.Db(12,0,null,0,2,"div",[["id","loader"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,re)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,oe)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ae)),l.Cb(18,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,se)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ue)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,ce)),l.Cb(24,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,de)),l.Cb(26,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,he)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,0,1,null,pe)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,0,3,"div",[["class","traffic-counter"]],null,null,null,null,null)),(t()(),l.Wb(32,null,[" "," "])),(t()(),l.Db(33,0,null,null,1,"ion-icon",[["name","airplane"],["slot","end"]],null,null,null,h.y,h.g)),l.Cb(34,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(35,0,null,0,3,"ion-button",[["color","primary"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.logout()&&l),l}),h.u,h.c)),l.Cb(36,49152,null,0,p.i,[l.j,l.p,l.G],{color:[0,"color"]},null),(t()(),l.Db(37,0,null,0,1,"ion-icon",[["color","danger"],["fill","solid"],["ios","md-log-out"],["md","md-log-out"],["name","log-out"],["shape","round"]],null,null,null,h.y,h.g)),l.Cb(38,49152,null,0,p.A,[l.j,l.p,l.G],{color:[0,"color"],ios:[1,"ios"],md:[2,"md"],name:[3,"name"]},null)],(function(t,e){var n=e.component;t(e,14,0,n.timeService&&n.timeService.isLock),t(e,16,0,n.modeAll),t(e,18,0,!n.timeService.getDateReplay()&&n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,20,0,n.modeAll),t(e,22,0,n.modeAll),t(e,24,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,26,0,!n.timeService.getDateReplay()&&n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,28,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,30,0,!n.timeService.getDateReplay()&&n.modeAll),t(e,34,0,"airplane"),t(e,36,0,"primary"),t(e,38,0,"danger","md-log-out","md-log-out","log-out")}),(function(t,e){var n=e.component;t(e,9,0,n.currentDate),t(e,32,0,n.trafficService.getNbAircrafts())}))}var be=n("bujt"),me=n("Fwaw"),ge=n("wd/R"),_e=n("GXLG"),ye=n("AIJQ");class Ae{constructor(t,e,n,i,r){this.dialog=t,this.stopPointService=e,this.lineService=n,this.aircraftService=i,this.snackBarService=r,this.closeEditRoute=new l.r,this.aFromAutoComplete$=null,this.aFromAutoCompleteControl=new v.g,this.aToAutoComplete$=null,this.aToAutoCompleteControl=new v.g,this.airportFromTo=[]}ngAfterViewInit(){this.aFromAutoComplete$=this.aFromAutoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>""!==t?this.lookupStopPoint(t):Object(_t.a)(null))),this.aToAutoComplete$=this.aToAutoCompleteControl.valueChanges.pipe(Object(yt.a)(""),Object(vt.a)(300),Object(Ct.a)(t=>""!==t?this.lookupStopPoint(t):Object(_t.a)(null)))}lookupStopPoint(t){return this.stopPointService.getManyBaseStopPointControllerStopPoint({filter:["icao||cont||"+t],limit:10}).pipe(Object(At.a)(t=>t.data),Object(wt.a)(t=>Object(_t.a)(null)))}submitRoute(t,e){this.airportFromTo[t]=e}changeRoute(){this.airportFromTo.length>=1?this.lineService.getManyBaseLineControllerLine({filter:["callsign||eq||"+this.aircraft.callsign]}).subscribe(t=>{if(t.data.length>0)this.openDialog(t.data[0]);else{const t=this.aircraft.callsign&&""!==this.aircraft.callsign?this.aircraft.callsign:this.aircraft.icao+"_"+ge().format("YYYY/MM/DD-h:mm");this.createLine(t,!this.aircraft.callsign||""===this.aircraft.callsign)}}):this.snackBarService.openSnackBar("No airport selected")}openDialog(t){this.dialog.open(ye.a,{width:"250px"}).afterClosed().subscribe(e=>{if(console.log("The dialog was closed",e),"UPDATE"===e)this.updateLine(t);else if("CREATE"===e){const e=t.callsign+"_"+ge().format("YYYY/MM/DD-h:mm");this.createLine(e,!0)}})}createLine(t,e){this.lineService.createOneBaseLineControllerLine({body:{callsign:t,fromIcao:this.airportFromTo[0]?this.airportFromTo[0].icao:null,toIcao:this.airportFromTo[1]?this.airportFromTo[1].icao:null,operatorIcao:this.aircraft.operatorIcao&&""!==this.aircraft.operatorIcao?this.aircraft.operatorIcao:null}}).subscribe(n=>{e?this.overrideCallsign(t):(this.updateAirportAircraft(),this.closeEditRoute.emit())},t=>console.log("ERROR: lineService.lineControllerCreateOneBase",t))}updateLine(t){this.lineService.updateOneBaseLineControllerLine({id:t.id,body:{fromIcao:this.airportFromTo[0]?this.airportFromTo[0].icao:null,toIcao:this.airportFromTo[1]?this.airportFromTo[1].icao:null}}).subscribe(t=>{this.updateAirportAircraft(),this.closeEditRoute.emit()},t=>console.log("ERROR: lineControllerUpdateOneBase",t))}overrideCallsign(t){this.aircraftService.aircraftControllerSetOverriders({icao:this.aircraft.icao,body:{callsign:t}}).subscribe(t=>{this.updateAirportAircraft(),this.closeEditRoute.emit()})}updateAirportAircraft(){this.aircraft.fromAirport=this.airportFromTo[0],this.aircraft.toAirport=this.airportFromTo[1]}}var ve=n("Nw85"),Ce=l.Bb({encapsulation:0,styles:[[".edit-routes[_ngcontent-%COMP%]{position:relative;padding:10px;display:flex;align-items:center;background-color:#fff;color:#666}.edit-routes[_ngcontent-%COMP%] .edit-route[_ngcontent-%COMP%]{width:40%}.edit-routes[_ngcontent-%COMP%] .button-edit-route[_ngcontent-%COMP%]{width:20%}.edit-routes[_ngcontent-%COMP%] .mat-form-field{width:100%;padding:0}.edit-routes[_ngcontent-%COMP%] .mat-form-field>*{padding:0}"]],data:{}});function we(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.submitRoute(0,t.context.$implicit)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[10,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.icao)}))}function Pe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==l.Pb(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==l.Pb(t,1)._handleKeydown(n)&&i),"onSelectionChange"===e&&(i=!1!==r.submitRoute(1,t.context.$implicit)&&i),i}),pt.e,pt.b)),l.Cb(1,8568832,[[21,4]],0,m.s,[l.p,l.j,[2,m.l],[2,m.r]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(t()(),l.Wb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.icao)}),(function(t,e){t(e,0,0,l.Pb(e,1)._getTabIndex(),l.Pb(e,1).selected,l.Pb(e,1).multiple,l.Pb(e,1).active,l.Pb(e,1).id,l.Pb(e,1)._getAriaSelected(),l.Pb(e,1).disabled.toString(),l.Pb(e,1).disabled),t(e,2,0,e.context.$implicit.icao)}))}function xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,62,"div",[["class","edit-routes"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,28,"div",[["class","edit-route"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(3,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,1,{_controlNonStatic:0}),l.Ub(335544320,2,{_controlStatic:0}),l.Ub(603979776,3,{_labelChildNonStatic:0}),l.Ub(335544320,4,{_labelChildStatic:0}),l.Ub(603979776,5,{_placeholderChild:0}),l.Ub(603979776,6,{_errorChildren:1}),l.Ub(603979776,7,{_hintChildren:1}),l.Ub(603979776,8,{_prefixChildren:1}),l.Ub(603979776,9,{_suffixChildren:1}),(t()(),l.Db(13,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airport From"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,14)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,14).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,14)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,14)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,15)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,15)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,15)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,15)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,20)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,20)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,20)._onInput()&&i),i}),null,null)),l.Cb(14,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(15,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(17,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(19,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(20,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[1,4],[2,4]],b.d,null,[A.b]),(t()(),l.Db(22,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(24,1097728,[["autoAFrom",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,10,{options:1}),l.Ub(603979776,11,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,we)),l.Cb(28,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j]),(t()(),l.Db(30,0,null,null,28,"div",[["class","edit-route"]],null,null,null,null,null)),(t()(),l.Db(31,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,f.b,f.a)),l.Cb(32,7520256,null,9,b.c,[l.p,l.j,[2,m.j],[2,g.b],[2,b.a],_.a,l.G,[2,y.a]],{appearance:[0,"appearance"]},null),l.Ub(603979776,12,{_controlNonStatic:0}),l.Ub(335544320,13,{_controlStatic:0}),l.Ub(603979776,14,{_labelChildNonStatic:0}),l.Ub(335544320,15,{_labelChildStatic:0}),l.Ub(603979776,16,{_placeholderChild:0}),l.Ub(603979776,17,{_errorChildren:1}),l.Ub(603979776,18,{_hintChildren:1}),l.Ub(603979776,19,{_prefixChildren:1}),l.Ub(603979776,20,{_suffixChildren:1}),(t()(),l.Db(42,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Airport To"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==l.Pb(t,43)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==l.Pb(t,43).onTouched()&&i),"compositionstart"===e&&(i=!1!==l.Pb(t,43)._compositionStart()&&i),"compositionend"===e&&(i=!1!==l.Pb(t,43)._compositionEnd(n.target.value)&&i),"focusin"===e&&(i=!1!==l.Pb(t,44)._handleFocus()&&i),"blur"===e&&(i=!1!==l.Pb(t,44)._onTouched()&&i),"input"===e&&(i=!1!==l.Pb(t,44)._handleInput(n)&&i),"keydown"===e&&(i=!1!==l.Pb(t,44)._handleKeydown(n)&&i),"blur"===e&&(i=!1!==l.Pb(t,49)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==l.Pb(t,49)._focusChanged(!0)&&i),"input"===e&&(i=!1!==l.Pb(t,49)._onInput()&&i),i}),null,null)),l.Cb(43,16384,null,0,v.d,[l.M,l.p,[2,v.a]],null,null),l.Cb(44,4866048,null,0,ft.f,[l.p,bt.c,l.Y,l.G,l.j,ft.b,[2,g.b],[2,b.c],[2,i.d],mt.e],{autocomplete:[0,"autocomplete"]},null),l.Tb(1024,null,v.o,(function(t,e){return[t,e]}),[v.d,ft.f]),l.Cb(46,540672,null,0,v.h,[[8,null],[8,null],[6,v.o],[2,v.z]],{form:[0,"form"]},null),l.Tb(2048,null,v.p,null,[v.h]),l.Cb(48,16384,null,0,v.q,[[4,v.p]],null,null),l.Cb(49,999424,null,0,A.b,[l.p,_.a,[6,v.p],[2,v.s],[2,v.k],m.d,[8,null],C.a,l.G],{placeholder:[0,"placeholder"],type:[1,"type"]},null),l.Tb(2048,[[12,4],[13,4]],b.d,null,[A.b]),(t()(),l.Db(51,0,null,1,7,"mat-autocomplete",[["autoActiveFirstOption",""],["class","mat-autocomplete"]],null,null,null,gt.b,gt.a)),l.Tb(6144,null,m.l,null,[ft.d]),l.Cb(53,1097728,[["autoATo",4]],2,ft.d,[l.j,l.p,ft.a],{autoActiveFirstOption:[0,"autoActiveFirstOption"]},null),l.Ub(603979776,21,{options:1}),l.Ub(603979776,22,{optionGroups:1}),(t()(),l.sb(16777216,null,0,2,null,Pe)),l.Cb(57,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(131072,i.b,[l.j]),(t()(),l.Db(59,0,null,null,3,"button",[["class","button-edit-route"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.changeRoute()&&l),l}),be.b,be.a)),l.Cb(60,180224,null,0,me.b,[l.p,x.h,[2,y.a]],null,null),(t()(),l.Db(61,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,h.y,h.g)),l.Cb(62,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){var n=e.component;t(e,3,0,"outline"),t(e,15,0,l.Pb(e,24)),t(e,17,0,n.aFromAutoCompleteControl),t(e,20,0,"Airport From","text"),t(e,24,0,""),t(e,28,0,l.Xb(e,28,0,l.Pb(e,29).transform(n.aFromAutoComplete$))),t(e,32,0,"outline"),t(e,44,0,l.Pb(e,53)),t(e,46,0,n.aToAutoCompleteControl),t(e,49,0,"Airport To","text"),t(e,53,0,""),t(e,57,0,l.Xb(e,57,0,l.Pb(e,58).transform(n.aToAutoComplete$))),t(e,62,0,"add")}),(function(t,e){t(e,2,1,["standard"==l.Pb(e,3).appearance,"fill"==l.Pb(e,3).appearance,"outline"==l.Pb(e,3).appearance,"legacy"==l.Pb(e,3).appearance,l.Pb(e,3)._control.errorState,l.Pb(e,3)._canLabelFloat,l.Pb(e,3)._shouldLabelFloat(),l.Pb(e,3)._hasFloatingLabel(),l.Pb(e,3)._hideControlPlaceholder(),l.Pb(e,3)._control.disabled,l.Pb(e,3)._control.autofilled,l.Pb(e,3)._control.focused,"accent"==l.Pb(e,3).color,"warn"==l.Pb(e,3).color,l.Pb(e,3)._shouldForward("untouched"),l.Pb(e,3)._shouldForward("touched"),l.Pb(e,3)._shouldForward("pristine"),l.Pb(e,3)._shouldForward("dirty"),l.Pb(e,3)._shouldForward("valid"),l.Pb(e,3)._shouldForward("invalid"),l.Pb(e,3)._shouldForward("pending"),!l.Pb(e,3)._animationsEnabled]),t(e,13,1,[l.Pb(e,15).autocompleteAttribute,l.Pb(e,15).autocompleteDisabled?null:"combobox",l.Pb(e,15).autocompleteDisabled?null:"list",l.Pb(e,15).panelOpen&&l.Pb(e,15).activeOption?l.Pb(e,15).activeOption.id:null,l.Pb(e,15).autocompleteDisabled?null:l.Pb(e,15).panelOpen.toString(),l.Pb(e,15).autocompleteDisabled||!l.Pb(e,15).panelOpen||null==l.Pb(e,15).autocomplete?null:l.Pb(e,15).autocomplete.id,!l.Pb(e,15).autocompleteDisabled,l.Pb(e,19).ngClassUntouched,l.Pb(e,19).ngClassTouched,l.Pb(e,19).ngClassPristine,l.Pb(e,19).ngClassDirty,l.Pb(e,19).ngClassValid,l.Pb(e,19).ngClassInvalid,l.Pb(e,19).ngClassPending,l.Pb(e,20)._isServer,l.Pb(e,20).id,l.Pb(e,20).placeholder,l.Pb(e,20).disabled,l.Pb(e,20).required,l.Pb(e,20).readonly&&!l.Pb(e,20)._isNativeSelect||null,l.Pb(e,20)._ariaDescribedby||null,l.Pb(e,20).errorState,l.Pb(e,20).required.toString()]),t(e,31,1,["standard"==l.Pb(e,32).appearance,"fill"==l.Pb(e,32).appearance,"outline"==l.Pb(e,32).appearance,"legacy"==l.Pb(e,32).appearance,l.Pb(e,32)._control.errorState,l.Pb(e,32)._canLabelFloat,l.Pb(e,32)._shouldLabelFloat(),l.Pb(e,32)._hasFloatingLabel(),l.Pb(e,32)._hideControlPlaceholder(),l.Pb(e,32)._control.disabled,l.Pb(e,32)._control.autofilled,l.Pb(e,32)._control.focused,"accent"==l.Pb(e,32).color,"warn"==l.Pb(e,32).color,l.Pb(e,32)._shouldForward("untouched"),l.Pb(e,32)._shouldForward("touched"),l.Pb(e,32)._shouldForward("pristine"),l.Pb(e,32)._shouldForward("dirty"),l.Pb(e,32)._shouldForward("valid"),l.Pb(e,32)._shouldForward("invalid"),l.Pb(e,32)._shouldForward("pending"),!l.Pb(e,32)._animationsEnabled]),t(e,42,1,[l.Pb(e,44).autocompleteAttribute,l.Pb(e,44).autocompleteDisabled?null:"combobox",l.Pb(e,44).autocompleteDisabled?null:"list",l.Pb(e,44).panelOpen&&l.Pb(e,44).activeOption?l.Pb(e,44).activeOption.id:null,l.Pb(e,44).autocompleteDisabled?null:l.Pb(e,44).panelOpen.toString(),l.Pb(e,44).autocompleteDisabled||!l.Pb(e,44).panelOpen||null==l.Pb(e,44).autocomplete?null:l.Pb(e,44).autocomplete.id,!l.Pb(e,44).autocompleteDisabled,l.Pb(e,48).ngClassUntouched,l.Pb(e,48).ngClassTouched,l.Pb(e,48).ngClassPristine,l.Pb(e,48).ngClassDirty,l.Pb(e,48).ngClassValid,l.Pb(e,48).ngClassInvalid,l.Pb(e,48).ngClassPending,l.Pb(e,49)._isServer,l.Pb(e,49).id,l.Pb(e,49).placeholder,l.Pb(e,49).disabled,l.Pb(e,49).required,l.Pb(e,49).readonly&&!l.Pb(e,49)._isNativeSelect||null,l.Pb(e,49)._ariaDescribedby||null,l.Pb(e,49).errorState,l.Pb(e,49).required.toString()]),t(e,59,0,l.Pb(e,60).disabled||null,"NoopAnimations"===l.Pb(e,60)._animationMode)}))}var Se=n("mnSs"),ke=n("rBEc"),Me=n("JRYL"),Oe=n("E/wX"),De=n("F2y6"),Te=n("xfxu"),Ee=n("G+Jc"),Ie=n("Blz8"),Le=n("Io5N"),je=n("Al5c"),Re=n("cUpR"),Fe=n("c9fC"),Ne=n("AyJq"),Ye=n("8bJo"),Ue=n("Mz6y"),Be=n("uUEO"),ze=l.Bb({encapsulation:0,styles:[[".flex-50[_ngcontent-%COMP%]{display:flex}.flex-50[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:50%}.flex-33[_ngcontent-%COMP%]{display:flex}.flex-33[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-basis:33%}.yellow[_ngcontent-%COMP%]{color:#f8c023}.warning[_ngcontent-%COMP%]{color:#b22222!important}.tooltip-flex-50[_ngcontent-%COMP%]{width:130px;display:flex}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px;flex-basis:50%}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#fff;font-size:10px;text-transform:uppercase}.tooltip-flex-50[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.header[_ngcontent-%COMP%]{position:relative;width:100%;background-color:var(--ion-color-primary);color:#fff;position:-webkit-sticky;position:sticky;top:0}.header[_ngcontent-%COMP%] .edit-route-button[_ngcontent-%COMP%]{position:absolute;right:2px;color:var(--ion-color-primary);background-color:transparent;top:40px}.header[_ngcontent-%COMP%] edit-route[_ngcontent-%COMP%]{position:relative}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{position:relative;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-align:center;overflow:hidden;max-width:120px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;width:40px;height:40px}.header[_ngcontent-%COMP%] .route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:0;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block}.header[_ngcontent-%COMP%] .separate-white[_ngcontent-%COMP%]{background-color:#fff;width:80%}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-around;padding:5px 0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;display:flex;align-items:center;width:120px;max-width:120px}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .date-title[_ngcontent-%COMP%]{text-transform:uppercase;font-size:11px;color:rgba(255,255,255,.5)}.header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:16px;height:16px;margin:5px}.body[_ngcontent-%COMP%] .margin-bottom[_ngcontent-%COMP%]{margin-bottom:10px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%]{font-weight:900;font-family:Quicksand;font-size:14px}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);display:flex;align-items:center}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.body[_ngcontent-%COMP%] .expansion-header[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{color:#fff;width:30px;height:30px;margin-right:10px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%]{padding:2px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:12px}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-child{color:#666;font-size:10px;text-transform:uppercase}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] .info-cell[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] .expansion-body[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#3880ff}.body[_ngcontent-%COMP%] .mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}.body[_ngcontent-%COMP%] .mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:0!important}.body[_ngcontent-%COMP%] .mat-expansion-indicator::after{color:var(--ion-color-primary)}.body[_ngcontent-%COMP%] div.mat-expansion-panel-body{padding:5px;background-color:#f0f0f0}.aircraft-options[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:0;left:0;width:100%}.aircraft-options[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0!important}.aircraft-options[_ngcontent-%COMP%] .tab-selected[_ngcontent-%COMP%]{border-top:5px solid var(--ion-color-primary)}.sub-panel[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:57px;left:0;width:100%}"]],data:{}});function Ge(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","edit-route-button"],["mat-button",""],["name","md-create"]],null,[[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"click"===e&&(l=0!=(i.editRoute=!i.editRoute)&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"md-create")}),null)}function He(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"edit-route",[],null,[[null,"closeEditRoute"]],(function(t,e,n){var l=!0,i=t.component;return"closeEditRoute"===e&&(l=0!=(i.editRoute=!i.editRoute)&&l),l}),xe,Ce)),l.Cb(1,4243456,null,0,Ae,[O.e,Mt.a,ve.a,kt.a,_e.a],{aircraft:[0,"aircraft"]},{closeEditRoute:"closeEditRoute"})],(function(t,e){t(e,1,0,e.component.selectedAircraft)}),null)}function Ve(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,16),"template"),t(e,3,0,"more")}),null)}function qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.stopsIcao)}))}function We(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,17,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,15,"div",[["class","route flex-50"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,4,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.Db(5,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),(t()(),l.Db(7,0,null,null,4,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(9,null,[" "," "])),(t()(),l.Db(10,0,null,null,1,"div",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(11,null,[" "," "])),(t()(),l.Db(12,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Ve)),l.Cb(15,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,qe)),(t()(),l.Db(17,0,null,null,0,"hr",[["class","separate-white"]],null,null,null,null,null))],(function(t,e){t(e,15,0,e.component.selectedAircraft.stopsIcao)}),(function(t,e){var n=e.component;t(e,3,0,l.Hb(1,"",n.selectedAircraft.fromAirport.name,"")),t(e,4,0,n.selectedAircraft.fromAirport.icao),t(e,5,0,l.Hb(1,"",n.selectedAircraft.fromAirport.location,"")),t(e,6,0,n.selectedAircraft.fromAirport.location),t(e,8,0,l.Hb(1,"",n.selectedAircraft.toAirport.name,"")),t(e,9,0,n.selectedAircraft.toAirport.icao),t(e,10,0,l.Hb(1,"",n.selectedAircraft.toAirport.location,"")),t(e,11,0,n.selectedAircraft.toAirport.location),t(e,13,0,l.Hb(1,"../../../../assets/images/",n.selectedAircraft.getIconStatus(),""))}))}function $e(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Xe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.model)}))}function Ke(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Je(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registered_owners)}))}function Qe(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ze(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.homeAerodromeDGAC)}))}function tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function en(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.addressOwnerDGAC)}))}function nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,21,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OWNER"])),(t()(),l.sb(16777216,null,null,1,null,Ke)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Je)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["HOME"])),(t()(),l.sb(16777216,null,null,1,null,Qe)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ze)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ADRESS"])),(t()(),l.sb(16777216,null,null,1,null,tn)),l.Cb(19,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,en)),l.Cb(21,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.registered_owners),t(e,7,0,null!=n.selectedAircraft.registered_owners),t(e,12,0,null==n.selectedAircraft.homeAerodromeDGAC),t(e,14,0,null!=n.selectedAircraft.homeAerodromeDGAC),t(e,19,0,null==n.selectedAircraft.addressOwnerDGAC),t(e,21,0,null!=n.selectedAircraft.addressOwnerDGAC)}),null)}function ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.registration)}))}function on(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function an(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorName)}))}function sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.operatorIcao)}))}function cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.country)}))}function hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.squawk)}))}function fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," hPa"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.inhg)}))}function mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.vsi)}))}function _n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ctlAgency)}))}function An(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacV)}))}function wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nacP)}))}function xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Sn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.selectedAircraft.sil,n.selectedAircraft.silType)}))}function kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Mn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rc)}))}function On(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Dn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.nicBaro)}))}function Tn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACV"])),(t()(),l.sb(16777216,null,null,1,null,vn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NACP"])),(t()(),l.sb(16777216,null,null,1,null,wn)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,7,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SIL"])),(t()(),l.sb(16777216,null,null,1,null,xn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Sn)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["PC"])),(t()(),l.sb(16777216,null,null,1,null,kn)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Mn)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["NIC BARO"])),(t()(),l.sb(16777216,null,null,1,null,On)),l.Cb(35,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Dn)),l.Cb(37,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.nacV),t(e,7,0,null!=n.selectedAircraft.nacV),t(e,12,0,null==n.selectedAircraft.nacP),t(e,14,0,null!=n.selectedAircraft.nacP),t(e,20,0,null===n.selectedAircraft.sil||null===n.selectedAircraft.silType),t(e,22,0,null!==n.selectedAircraft.sil&&null!==n.selectedAircraft.silType),t(e,28,0,null==n.selectedAircraft.rc),t(e,30,0,null!=n.selectedAircraft.rc),t(e,35,0,null==n.selectedAircraft.nicBaro),t(e,37,0,null!=n.selectedAircraft.nicBaro)}),null)}function En(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","yellow"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,[" mlat "]))],null,null)}function In(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ln(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Rn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function Fn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Nn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trueHeading)}))}function Yn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Un(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0/s"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.trackRate)}))}function Bn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.roll)}))}function Gn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GR TRACK"])),(t()(),l.sb(16777216,null,null,1,null,jn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Rn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["T HEADING"])),(t()(),l.sb(16777216,null,null,1,null,Fn)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK RATE"])),(t()(),l.sb(16777216,null,null,1,null,Yn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Un)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ROLL"])),(t()(),l.sb(16777216,null,null,1,null,Bn)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zn)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.track),t(e,7,0,null!=n.selectedAircraft.track),t(e,12,0,null==n.selectedAircraft.trueHeading),t(e,14,0,null!=n.selectedAircraft.trueHeading),t(e,20,0,null==n.selectedAircraft.trackRate),t(e,22,0,null!=n.selectedAircraft.trackRate),t(e,27,0,null==n.selectedAircraft.roll),t(e,29,0,null!=n.selectedAircraft.roll)}),null)}function Hn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Vn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.track)}))}function qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Wn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function $n(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Xn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tas)}))}function Kn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Jn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ias)}))}function Qn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Zn(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function el(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GROUND"])),(t()(),l.sb(16777216,null,null,1,null,qn)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Wn)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRUE"])),(t()(),l.sb(16777216,null,null,1,null,$n)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xn)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,16,"div",[["class","tooltip-flex-50"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["INDICATED"])),(t()(),l.sb(16777216,null,null,1,null,Kn)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Jn)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,Qn)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Zn)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,tl)),l.Cb(31,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.speed),t(e,7,0,null!=n.selectedAircraft.speed),t(e,12,0,null==n.selectedAircraft.tas),t(e,14,0,null!=n.selectedAircraft.tas),t(e,20,0,null==n.selectedAircraft.ias),t(e,22,0,null!=n.selectedAircraft.ias),t(e,27,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,29,0,null!==n.selectedAircraft.mach),t(e,31,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed())}),null)}function nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.speed)}))}function il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.mach)}))}function ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.getMachSpeed())}))}function al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitude));t(e,1,0,i)}))}function ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=e.component,i=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent,2),n.selectedAircraft.altitudeGps));t(e,1,0,i)}))}function dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function hl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.gva)}))}function pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.baroRate)}))}function bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft/m"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.geomRate)}))}function gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function _l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," kt"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.ws)}))}function yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Al(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.wd)}))}function vl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Cl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.tat)}))}function wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Pl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.oat)}))}function xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SPEED"])),(t()(),l.sb(16777216,null,null,1,null,gl)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,_l)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["DIR"])),(t()(),l.sb(16777216,null,null,1,null,yl)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Al)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(15,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TAT"])),(t()(),l.sb(16777216,null,null,1,null,vl)),l.Cb(20,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Cl)),l.Cb(22,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(23,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OAT"])),(t()(),l.sb(16777216,null,null,1,null,wl)),l.Cb(27,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pl)),l.Cb(29,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.ws),t(e,7,0,null!=n.selectedAircraft.ws),t(e,12,0,null==n.selectedAircraft.wd),t(e,14,0,null!=n.selectedAircraft.wd),t(e,20,0,null==n.selectedAircraft.tat),t(e,22,0,null!=n.selectedAircraft.tat),t(e,27,0,null==n.selectedAircraft.oat),t(e,29,0,null!=n.selectedAircraft.oat)}),null)}function Sl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeFms)}))}function Ml(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ol(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,[""," ft"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navAltitudeMcp)}))}function Dl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Tl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navHeading)}))}function El(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Il(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.navModes)}))}function Ll(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.rssi)}))}function Rl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Fl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.messages)}))}function Nl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,14,"div",[["class","tooltip-flex-50 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["RSSI"])),(t()(),l.sb(16777216,null,null,1,null,Ll)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,jl)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MESSAGES"])),(t()(),l.sb(16777216,null,null,1,null,Rl)),l.Cb(12,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Fl)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,5,0,null==n.selectedAircraft.rssi),t(e,7,0,null!=n.selectedAircraft.rssi),t(e,12,0,null==n.selectedAircraft.messages),t(e,14,0,null!=n.selectedAircraft.messages)}),null)}function Yl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Ul(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.selectedAircraft.category)}))}function Bl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"graph-altitude",[],null,null,null,ke.b,ke.a)),l.Cb(1,376832,null,0,Me.a,[l.j,I.b],{aircraft:[0,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.selectedAircraft)}),null)}function zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"trajectory",[],null,[[null,"toggleTrajectory"]],(function(t,e,n){var l=!0;return"toggleTrajectory"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),Oe.b,Oe.a)),l.Cb(1,4440064,null,0,De.a,[l.j,D.a,T.b],null,null)],(function(t,e){t(e,1,0)}),null)}function Gl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"interception",[["groupLayer","Interception"],["name","interception"],["zIndex","200"]],null,null,null,Te.b,Te.a)),l.Cb(1,4702208,null,0,Ee.a,[l.j,D.a,Mt.a,T.b],{name:[0,"name"],zIndex:[1,"zIndex"],groupLayer:[2,"groupLayer"],aircraft:[3,"aircraft"]},null)],(function(t,e){t(e,1,0,"interception","200","Interception",e.component.selectedAircraft)}),null)}function Hl(t){return l.Yb(2,[l.Qb(0,Ie.a,[]),l.Qb(0,i.e,[l.A]),l.Qb(0,d.a,[]),(t()(),l.Db(3,0,null,null,27,"div",[["class","header"]],null,null,null,null,null)),(t()(),l.Db(4,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0,i=t.component;return"toClose"===e&&(l=!1!==i.selectAircraftService.unSelectAircrafts(i.selectedAircraft)&&l),l}),Le.b,Le.a)),l.Cb(5,245760,null,0,je.a,[j.a,I.b,Re.b,le.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Ge)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,He)),l.Cb(9,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,We)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(12,0,null,null,18,"div",[["class","date"]],null,null,null,null,null)),(t()(),l.Db(13,0,null,null,8,"div",[["class","from-date"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,0,"img",[["src","../../../../assets/images/departing-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(15,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["pickup time"])),(t()(),l.Db(18,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(19,null,["",""])),l.Sb(20,2),l.Sb(21,1),(t()(),l.Db(22,0,null,null,8,"div",[["class","to-date"]],null,null,null,null,null)),(t()(),l.Db(23,0,null,null,0,"img",[["src","../../../../assets/images/arriving-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(24,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"p",[["class","date-title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["landing time"])),(t()(),l.Db(27,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),l.Wb(28,null,["\u2248 ",""])),l.Sb(29,2),l.Sb(30,1),(t()(),l.Db(31,0,null,null,292,"div",[["class","body"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,291,"mat-accordion",[["class","mat-accordion"],["multi","true"]],null,null,null,null,null)),l.Cb(33,1720320,null,1,Fe.c,[],{multi:[0,"multi"]},null),l.Ub(603979776,1,{_headers:1}),l.Tb(2048,null,Fe.a,null,[Fe.c]),(t()(),l.Db(36,16777216,null,null,60,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ne.d,Ne.a)),l.Cb(37,1753088,null,1,Fe.e,[[3,Fe.a],l.j,Ye.d,l.Y,i.d,[2,y.a],[2,Fe.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,2,{_lazyContent:0}),l.Tb(256,null,Fe.a,void 0,[]),(t()(),l.Db(40,0,null,0,7,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,41)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,41)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,41)._animationStarted()&&i),i}),Ne.c,Ne.b)),l.Cb(41,180224,[[1,4]],0,Fe.f,[Fe.e,l.p,x.h,l.j,[2,Fe.b]],null,null),l.Rb(42,{collapsedHeight:0,expandedHeight:1}),l.Rb(43,{value:0,params:1}),(t()(),l.Db(44,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(45,16384,null,0,Fe.g,[],null,null),(t()(),l.Db(46,0,null,null,0,"img",[["src","../../../../assets/images/info-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Wb(47,null,[" MORE "," INFORMATIONS "])),(t()(),l.Db(48,0,null,1,48,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(49,0,null,null,25,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(50,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(51,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.sb(16777216,null,null,1,null,$e)),l.Cb(54,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Xe)),l.Cb(56,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(57,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(58,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG "])),(t()(),l.Db(60,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,61).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,61).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,61).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,61).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,61).onClick()&&i),i}),null,null)),l.Cb(61,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(62,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(63,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["regTooltip",2]],null,0,null,nn)),(t()(),l.sb(16777216,null,null,1,null,ln)),l.Cb(66,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rn)),l.Cb(68,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(69,0,null,null,5,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(70,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ICAO"])),(t()(),l.Db(72,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(73,null,["",""])),l.Sb(74,1),(t()(),l.Db(75,0,null,null,21,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(76,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(77,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE"])),(t()(),l.sb(16777216,null,null,1,null,on)),l.Cb(80,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,an)),l.Cb(82,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(83,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(84,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE ICAO"])),(t()(),l.sb(16777216,null,null,1,null,sn)),l.Cb(87,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,un)),l.Cb(89,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(90,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(91,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["COUNTRY"])),(t()(),l.sb(16777216,null,null,1,null,cn)),l.Cb(94,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,dn)),l.Cb(96,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(97,16777216,null,null,224,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ne.d,Ne.a)),l.Cb(98,1753088,null,1,Fe.e,[[3,Fe.a],l.j,Ye.d,l.Y,i.d,[2,y.a],[2,Fe.b]],{expanded:[0,"expanded"]},null),l.Ub(603979776,3,{_lazyContent:0}),l.Tb(256,null,Fe.a,void 0,[]),(t()(),l.Db(101,0,null,0,9,"mat-expansion-panel-header",[["class","expansion-header mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,102)._toggle()&&i),"keydown"===e&&(i=!1!==l.Pb(t,102)._keydown(n)&&i),"component:@expansionHeight.start"===e&&(i=!1!==l.Pb(t,102)._animationStarted()&&i),i}),Ne.c,Ne.b)),l.Cb(102,180224,[[1,4]],0,Fe.f,[Fe.e,l.p,x.h,l.j,[2,Fe.b]],null,null),l.Rb(103,{collapsedHeight:0,expandedHeight:1}),l.Rb(104,{value:0,params:1}),(t()(),l.Db(105,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),l.Cb(106,16384,null,0,Fe.g,[],null,null),(t()(),l.Db(107,0,null,null,0,"img",[["src","../../../../assets/images/radar-aircraft.svg"]],null,null,null,null,null)),(t()(),l.Db(108,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(109,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REAL TIME INFORMATIONS"])),(t()(),l.Db(111,0,null,1,210,"div",[["class","expansion-body"]],null,null,null,null,null)),(t()(),l.Db(112,0,null,null,23,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(113,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(114,16777216,null,null,2,"p",[["matTooltip","Squawk"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,115).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,115)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,115)._handleTouchend()&&i),i}),null,null)),l.Cb(115,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["IFF"])),(t()(),l.sb(16777216,null,null,1,null,hn)),l.Cb(118,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pn)),l.Cb(120,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(121,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(122,16777216,null,null,2,"p",[["matTooltip","Altimeter setting"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,123).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,123)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,123)._handleTouchend()&&i),i}),null,null)),l.Cb(123,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT SET"])),(t()(),l.sb(16777216,null,null,1,null,fn)),l.Cb(126,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bn)),l.Cb(128,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(129,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(130,0,null,null,1,"p",[["atTooltip","Vsi"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VERT RATE"])),(t()(),l.sb(16777216,null,null,1,null,mn)),l.Cb(133,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gn)),l.Cb(135,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(136,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(137,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(138,16777216,null,null,2,"p",[["matTooltip","Squawk legend"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,139).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,139)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,139)._handleTouchend()&&i),i}),null,null)),l.Cb(139,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CTL AGENCY"])),(t()(),l.sb(16777216,null,null,1,null,_n)),l.Cb(142,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yn)),l.Cb(144,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(145,0,null,null,29,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(146,0,null,null,12,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(147,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,An)),l.Cb(150,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(151,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,152).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,152).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,152).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,152).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,152).onClick()&&i),i}),null,null)),l.Cb(152,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(153,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(154,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["accuracyTooltip",2]],null,0,null,Tn)),(t()(),l.Db(156,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),l.Wb(157,null,["",""])),l.Sb(158,1),(t()(),l.Db(159,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(160,16777216,null,null,4,"p",[["matTooltip","Position in degre/minute/second"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,161).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,161)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,161)._handleTouchend()&&i),i}),null,null)),l.Cb(161,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["POS"])),(t()(),l.sb(16777216,null,null,1,null,En)),l.Cb(164,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(165,0,null,null,2,"p",[["style","min-width: 95px;"]],null,null,null,null,null)),(t()(),l.Wb(166,null,["",""])),l.Sb(167,1),(t()(),l.Db(168,0,null,null,6,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(169,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,In)),l.Cb(172,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ln)),l.Cb(174,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(175,0,null,null,33,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(176,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(177,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK "])),(t()(),l.Db(179,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,180).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,180).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,180).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,180).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,180).onClick()&&i),i}),null,null)),l.Cb(180,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(181,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(182,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["trackTooltip",2]],null,0,null,Gn)),(t()(),l.sb(16777216,null,null,1,null,Hn)),l.Cb(185,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Vn)),l.Cb(187,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(188,0,null,null,11,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(189,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS "])),(t()(),l.Db(191,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,192).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,192).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,192).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,192).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,192).onClick()&&i),i}),null,null)),l.Cb(192,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(193,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(194,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["gsTooltip",2]],null,0,null,el)),(t()(),l.sb(16777216,null,null,1,null,nl)),l.Cb(197,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ll)),l.Cb(199,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(200,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(201,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH"])),(t()(),l.sb(16777216,null,null,1,null,il)),l.Cb(204,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,rl)),l.Cb(206,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ol)),l.Cb(208,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(209,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(210,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(211,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(212,16777216,null,null,2,"p",[["matTooltip","Barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,213).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,213)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,213)._handleTouchend()&&i),i}),null,null)),l.Cb(213,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["ALT BARO"])),(t()(),l.sb(16777216,null,null,1,null,al)),l.Cb(216,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,sl)),l.Cb(218,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(219,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(220,16777216,null,null,2,"p",[["matTooltip","Gps altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,221).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,221)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,221)._handleTouchend()&&i),i}),null,null)),l.Cb(221,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GPS ALT"])),(t()(),l.sb(16777216,null,null,1,null,ul)),l.Cb(224,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,cl)),l.Cb(226,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(227,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(228,16777216,null,null,2,"p",[["matTooltip","Geometric Vertical Accuracy"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,229).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,229)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,229)._handleTouchend()&&i),i}),null,null)),l.Cb(229,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOMETRIC"])),(t()(),l.sb(16777216,null,null,1,null,dl)),l.Cb(232,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,hl)),l.Cb(234,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(235,0,null,null,25,"div",[["class","flex-33"]],null,null,null,null,null)),(t()(),l.Db(236,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(237,16777216,null,null,2,"p",[["matTooltip","Rate of change of barometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,238).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,238)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,238)._handleTouchend()&&i),i}),null,null)),l.Cb(238,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["BARO RATE"])),(t()(),l.sb(16777216,null,null,1,null,pl)),l.Cb(241,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,fl)),l.Cb(243,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(244,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(245,16777216,null,null,2,"p",[["matTooltip","Rate of change of geometric altitude"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,246).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,246)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,246)._handleTouchend()&&i),i}),null,null)),l.Cb(246,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["GEOM RATE"])),(t()(),l.sb(16777216,null,null,1,null,bl)),l.Cb(249,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ml)),l.Cb(251,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(252,0,null,null,8,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(253,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["WIND "])),(t()(),l.Db(255,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,256).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,256).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,256).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,256).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,256).onClick()&&i),i}),null,null)),l.Cb(256,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(257,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(258,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["windTooltip",2]],null,0,null,xl)),(t()(),l.Db(260,0,null,null,0,"p",[],null,null,null,null,null)),(t()(),l.Db(261,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(262,0,null,null,24,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(263,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(264,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Flight Manaagement System"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,265).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,265)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,265)._handleTouchend()&&i),i}),null,null)),l.Cb(265,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT FMS"])),(t()(),l.sb(16777216,null,null,1,null,Sl)),l.Cb(268,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,kl)),l.Cb(270,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(271,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(272,16777216,null,null,2,"p",[["matTooltip","Selected altitude from the Mode Control Panel"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,273).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,273)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,273)._handleTouchend()&&i),i}),null,null)),l.Cb(273,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL ALT MCP"])),(t()(),l.sb(16777216,null,null,1,null,Ml)),l.Cb(276,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ol)),l.Cb(278,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(279,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(280,16777216,null,null,2,"p",[["matTooltip","Selected heading"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,281).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,281)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,281)._handleTouchend()&&i),i}),null,null)),l.Cb(281,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["SEL HEAD"])),(t()(),l.sb(16777216,null,null,1,null,Dl)),l.Cb(284,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Tl)),l.Cb(286,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(287,0,null,null,8,"div",[["class","margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(288,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(289,16777216,null,null,2,"p",[["matTooltip","Set of engaged automation modes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,290).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,290)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,290)._handleTouchend()&&i),i}),null,null)),l.Cb(290,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["NAV MODES"])),(t()(),l.sb(16777216,null,null,1,null,El)),l.Cb(293,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Il)),l.Cb(295,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(296,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),l.Db(297,0,null,null,10,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(298,0,null,null,9,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(299,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["SOURCE "])),(t()(),l.Db(301,0,null,null,3,"span",[["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,302).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,302).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,302).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,302).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,302).onClick()&&i),i}),null,null)),l.Cb(302,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(303,0,null,null,1,"ion-icon",[["name","information-circle"]],null,null,null,h.y,h.g)),l.Cb(304,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.sb(0,[["sourceTooltip",2]],null,0,null,Nl)),(t()(),l.Db(306,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(307,null,["",""])),(t()(),l.Db(308,0,null,null,13,"div",[["class","flex-33 margin-bottom"]],null,null,null,null,null)),(t()(),l.Db(309,0,null,null,4,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(310,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TYPE"])),(t()(),l.Db(312,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(313,null,["",""])),(t()(),l.Db(314,0,null,null,7,"div",[["class","info-cell"]],null,null,null,null,null)),(t()(),l.Db(315,16777216,null,null,2,"p",[["matTooltip","Emitter category to identify particular aircraft or vehicle classes"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==l.Pb(t,316).show()&&i),"keydown"===e&&(i=!1!==l.Pb(t,316)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==l.Pb(t,316)._handleTouchend()&&i),i}),null,null)),l.Cb(316,212992,null,0,Ue.d,[bt.c,l.p,mt.b,l.Y,l.G,_.a,x.c,x.h,Ue.b,[2,g.b],[2,Ue.a],[2,Re.f]],{message:[0,"message"]},null),(t()(),l.Wb(-1,null,["CAT"])),(t()(),l.sb(16777216,null,null,1,null,Yl)),l.Cb(319,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ul)),l.Cb(321,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Bl)),l.Cb(323,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(324,0,null,null,4,"div",[["class","sub-panel"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,zl)),l.Cb(326,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gl)),l.Cb(328,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(329,0,null,null,36,"div",[["class","aircraft-options"]],null,null,null,null,null)),(t()(),l.Db(330,0,null,null,35,"ion-tab-bar",[["slot","bottom"]],null,null,null,h.F,h.n)),l.Cb(331,49152,null,0,p.sb,[l.j,l.p,l.G],null,null),(t()(),l.Db(332,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFollow()&&l),l}),h.G,h.o)),l.Cb(333,49152,null,0,p.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(334,0,null,0,1,"ion-icon",[["name","locate"]],null,null,null,h.y,h.g)),l.Cb(335,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(336,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(337,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Follow"])),(t()(),l.Db(339,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectoryLine()&&l),l}),h.G,h.o)),l.Cb(340,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(341,0,null,0,1,"ion-icon",[["name","compass"]],null,null,null,h.y,h.g)),l.Cb(342,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(343,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(344,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Ray"])),(t()(),l.Db(346,0,null,0,5,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleTrajectory()&&l),l}),h.G,h.o)),l.Cb(347,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(348,0,null,0,0,"i",[["class","flaticon-chemical-composition"]],null,null,null,null,null)),(t()(),l.Db(349,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(350,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Areas"])),(t()(),l.Db(352,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleInterception()&&l),l}),h.G,h.o)),l.Cb(353,49152,null,0,p.tb,[l.j,l.p,l.G],{disabled:[0,"disabled"],selected:[1,"selected"]},null),(t()(),l.Db(354,0,null,0,1,"ion-icon",[["name","jet"]],null,null,null,h.y,h.g)),l.Cb(355,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(356,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(357,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Inter"])),(t()(),l.Db(359,0,null,0,6,"ion-tab-button",[],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.onToggleFocus()&&l),l}),h.G,h.o)),l.Cb(360,49152,null,0,p.tb,[l.j,l.p,l.G],{selected:[0,"selected"]},null),(t()(),l.Db(361,0,null,0,1,"ion-icon",[["name","eye"]],null,null,null,h.y,h.g)),l.Cb(362,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(363,0,null,0,2,"ion-label",[],null,null,null,h.A,h.i)),l.Cb(364,49152,null,0,p.L,[l.j,l.p,l.G],null,null),(t()(),l.Wb(-1,0,["Focus"]))],(function(t,e){var n=e.component;t(e,5,0,n.selectedAircraft),t(e,7,0,n.modeAll&&(n.userRoles.indexOf("operator")>=0||n.userRoles.indexOf("admin")>=0)),t(e,9,0,n.editRoute),t(e,11,0,!n.editRoute&&n.selectedAircraft.fromAirport&&n.selectedAircraft.toAirport),t(e,33,0,"true"),t(e,37,0,!0),t(e,54,0,null===!n.selectedAircraft.model||void 0===n.selectedAircraft.model),t(e,56,0,null!=n.selectedAircraft.model),t(e,61,0,l.Pb(e,64),"template"),t(e,63,0,"information-circle"),t(e,66,0,null==n.selectedAircraft.registration),t(e,68,0,null!=n.selectedAircraft.registration),t(e,80,0,null==n.selectedAircraft.operatorName),t(e,82,0,null!=n.selectedAircraft.operatorName),t(e,87,0,!n.selectedAircraft.operatorIcao),t(e,89,0,n.selectedAircraft.operatorIcao),t(e,94,0,null==n.selectedAircraft.country),t(e,96,0,null!=n.selectedAircraft.country),t(e,98,0,!0),t(e,115,0,"Squawk"),t(e,118,0,null==n.selectedAircraft.squawk),t(e,120,0,null!=n.selectedAircraft.squawk),t(e,123,0,"Altimeter setting"),t(e,126,0,null==n.selectedAircraft.inhg),t(e,128,0,null!=n.selectedAircraft.inhg),t(e,133,0,null==n.selectedAircraft.vsi),t(e,135,0,null!=n.selectedAircraft.vsi),t(e,139,0,"Squawk legend"),t(e,142,0,null==n.selectedAircraft.ctlAgency),t(e,144,0,null!=n.selectedAircraft.ctlAgency),t(e,150,0,n.selectedAircraft.mlat),t(e,152,0,l.Pb(e,155),"template"),t(e,154,0,"information-circle"),t(e,161,0,"Position in degre/minute/second"),t(e,164,0,n.selectedAircraft.mlat),t(e,172,0,null==n.selectedAircraft.altitude),t(e,174,0,null!=n.selectedAircraft.altitude),t(e,180,0,l.Pb(e,183),"template"),t(e,182,0,"information-circle"),t(e,185,0,null==n.selectedAircraft.track),t(e,187,0,null!=n.selectedAircraft.track),t(e,192,0,l.Pb(e,195),"template"),t(e,194,0,"information-circle"),t(e,197,0,null==n.selectedAircraft.speed),t(e,199,0,null!=n.selectedAircraft.speed),t(e,204,0,null===n.selectedAircraft.mach&&null===n.selectedAircraft.getMachSpeed()),t(e,206,0,null!==n.selectedAircraft.mach),t(e,208,0,null===n.selectedAircraft.mach&&null!==n.selectedAircraft.getMachSpeed()),t(e,213,0,"Barometric altitude"),t(e,216,0,null==n.selectedAircraft.altitude),t(e,218,0,null!=n.selectedAircraft.altitude),t(e,221,0,"Gps altitude"),t(e,224,0,null==n.selectedAircraft.altitudeGps),t(e,226,0,null!=n.selectedAircraft.altitudeGps),t(e,229,0,"Geometric Vertical Accuracy"),t(e,232,0,null==n.selectedAircraft.gva),t(e,234,0,null!=n.selectedAircraft.gva),t(e,238,0,"Rate of change of barometric altitude"),t(e,241,0,null==n.selectedAircraft.baroRate),t(e,243,0,null!=n.selectedAircraft.baroRate),t(e,246,0,"Rate of change of geometric altitude"),t(e,249,0,null==n.selectedAircraft.geomRate),t(e,251,0,null!=n.selectedAircraft.geomRate),t(e,256,0,l.Pb(e,259),"template"),t(e,258,0,"information-circle"),t(e,265,0,"Selected altitude from the Flight Manaagement System"),t(e,268,0,null==n.selectedAircraft.navAltitudeFms),t(e,270,0,null!=n.selectedAircraft.navAltitudeFms),t(e,273,0,"Selected altitude from the Mode Control Panel"),t(e,276,0,null==n.selectedAircraft.navAltitudeMcp),t(e,278,0,null!=n.selectedAircraft.navAltitudeMcp),t(e,281,0,"Selected heading"),t(e,284,0,null==n.selectedAircraft.navHeading),t(e,286,0,null!=n.selectedAircraft.navHeading),t(e,290,0,"Set of engaged automation modes"),t(e,293,0,null==n.selectedAircraft.navModes),t(e,295,0,null!=n.selectedAircraft.navModes),t(e,302,0,l.Pb(e,305),"template"),t(e,304,0,"information-circle"),t(e,316,0,"Emitter category to identify particular aircraft or vehicle classes"),t(e,319,0,null===n.selectedAircraft.category),t(e,321,0,null!==n.selectedAircraft.category),t(e,323,0,n.modeAll),t(e,326,0,n.options.isTrajectoryLine||n.options.isTrajectory),t(e,328,0,n.options.isInterception),t(e,333,0,l.Hb(1,"",n.options.isFollow,"")),t(e,335,0,"locate"),t(e,340,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isTrajectoryLine,"")),t(e,342,0,"compass"),t(e,347,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed||n.selectedAircraft.altitude<=0,l.Hb(1,"",n.options.isTrajectory,"")),t(e,353,0,null==n.selectedAircraft.track||null==n.selectedAircraft.speed,l.Hb(1,"",n.options.isInterception,"")),t(e,355,0,"jet"),t(e,360,0,l.Hb(1,"",n.options.isFocus,"")),t(e,362,0,"eye")}),(function(t,e){var n=e.component,i=l.Xb(e,19,0,t(e,21,0,l.Pb(e,0),l.Xb(e,19,0,t(e,20,0,l.Pb(e,1),n.selectedAircraft.createdAt,"HH:mm"))));t(e,19,0,i);var r=l.Xb(e,28,0,t(e,30,0,l.Pb(e,0),l.Xb(e,28,0,t(e,29,0,l.Pb(e,1),n.selectedAircraft.eta,"HH:mm"))));t(e,28,0,r),t(e,36,0,l.Pb(e,37).expanded,"NoopAnimations"===l.Pb(e,37)._animationMode,l.Pb(e,37)._hasSpacing());var o=l.Pb(e,41).panel._headerId,a=l.Pb(e,41).disabled?-1:0,s=l.Pb(e,41)._getPanelId(),u=l.Pb(e,41)._isExpanded(),c=l.Pb(e,41).panel.disabled,d=l.Pb(e,41)._isExpanded(),h="after"===l.Pb(e,41)._getTogglePosition(),p="before"===l.Pb(e,41)._getTogglePosition(),f=l.Pb(e,41)._animationsDisabled,b=t(e,43,0,l.Pb(e,41)._getExpandedState(),t(e,42,0,l.Pb(e,41).collapsedHeight,l.Pb(e,41).expandedHeight));t(e,40,0,o,a,s,u,c,d,h,p,f,b),t(e,47,0,n.selectedAircraft.icao);var m=l.Xb(e,73,0,t(e,74,0,l.Pb(e,0),n.selectedAircraft.icao));t(e,73,0,m),t(e,97,0,l.Pb(e,98).expanded,"NoopAnimations"===l.Pb(e,98)._animationMode,l.Pb(e,98)._hasSpacing());var g=l.Pb(e,102).panel._headerId,_=l.Pb(e,102).disabled?-1:0,y=l.Pb(e,102)._getPanelId(),A=l.Pb(e,102)._isExpanded(),v=l.Pb(e,102).panel.disabled,C=l.Pb(e,102)._isExpanded(),w="after"===l.Pb(e,102)._getTogglePosition(),P="before"===l.Pb(e,102)._getTogglePosition(),x=l.Pb(e,102)._animationsDisabled,S=t(e,104,0,l.Pb(e,102)._getExpandedState(),t(e,103,0,l.Pb(e,102).collapsedHeight,l.Pb(e,102).expandedHeight));t(e,101,0,g,_,y,A,v,C,w,P,x,S);var k=l.Xb(e,157,0,t(e,158,0,l.Pb(e,0),n.selectedAircraft.getPositionDegre()));t(e,157,0,k);var M=l.Xb(e,166,0,t(e,167,0,l.Pb(e,0),n.selectedAircraft.getPosition()));t(e,166,0,M),t(e,307,0,n.settingService.getFeedNames(n.selectedAircraft.providers)),t(e,313,0,n.settingService.getFeedTypes(n.selectedAircraft.providers))}))}var Vl=n("6RrN"),ql=l.Bb({encapsulation:0,styles:[[".aircraft-list[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:block;width:300px;z-index:300;overflow-y:auto;max-height:100%}.aircraft-list[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%]{position:relative;background-color:#fff;margin:10px;width:280px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%]{display:flex}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-picture[_ngcontent-%COMP%]{width:30%}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%]{padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--ion-color-primary)}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .aircraft-pin-title[_ngcontent-%COMP%] .aircraft-pin-source[_ngcontent-%COMP%]{color:#f8c023;font-size:10px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin[_ngcontent-%COMP%] .aircraft-pin-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0;color:var(--ion-color-primary);background-color:transparent;font-size:20px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;background-color:var(--ion-color-primary);padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%]{width:40%;text-align:center}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .from-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .to-airport[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%]{width:20%;text-align:center}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .icon-aircraft[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-route[_ngcontent-%COMP%] .stops-aircraft[_ngcontent-%COMP%]{margin:auto;position:absolute;bottom:5px;left:0;right:0;width:10px;height:10px;transform:rotate(90deg);display:inline-block;color:#fff}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%]{padding:5px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%]{display:flex}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:10px;width:33%;margin:2px}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-transform:uppercase;color:#999}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .warning[_ngcontent-%COMP%]{color:#b22222!important}.aircraft-list[_ngcontent-%COMP%] .aircraft-pin-desc[_ngcontent-%COMP%] .aircraft-pin-line[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .ctl-agency[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:55px;display:inline-flex}.border-red[_ngcontent-%COMP%]{border:2px solid red}"]],data:{}});function Wl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"span",[["class","stops-aircraft"],["content-type","template"]],null,[[null,"focusin"],[null,"mouseenter"],[null,"focusout"],[null,"mouseleave"],[null,"click"]],(function(t,e,n){var i=!0;return"focusin"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"mouseenter"===e&&(i=!1!==l.Pb(t,1).onMouseEnter()&&i),"focusout"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"mouseleave"===e&&(i=!1!==l.Pb(t,1).onMouseLeave()&&i),"click"===e&&(i=!1!==l.Pb(t,1).onClick()&&i),i}),null,null)),l.Cb(1,737280,null,0,Se.b,[[2,Se.d],l.p,l.m,l.g,l.x],{tooltipValue:[0,"tooltipValue"],contentType:[1,"contentType"]},null),(t()(),l.Db(2,0,null,null,1,"ion-icon",[["name","more"]],null,null,null,h.y,h.g)),l.Cb(3,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,l.Pb(e.parent,12),"template"),t(e,3,0,"more")}),null)}function $l(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.parent.context.$implicit.stopsIcao)}))}function Xl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,19,"div",[["class","aircraft-pin-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,6,"div",[["class","from-airport"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(3,null,[" "," "])),l.Sb(4,1),(t()(),l.Db(5,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,1),(t()(),l.Db(8,0,null,null,1,"div",[["class","icon-aircraft"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Wl)),l.Cb(11,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(0,[["stopsTooltip",2]],null,0,null,$l)),(t()(),l.Db(13,0,null,null,6,"div",[["class","to-airport"]],null,null,null,null,null)),(t()(),l.Db(14,0,null,null,2,"h5",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(15,null,[" "," "])),l.Sb(16,1),(t()(),l.Db(17,0,null,null,2,"p",[],[[8,"title",0]],null,null,null,null)),(t()(),l.Wb(18,null,[" "," "])),l.Sb(19,1)],(function(t,e){t(e,11,0,e.parent.context.$implicit.stopsIcao)}),(function(t,e){t(e,2,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.name,""));var n=l.Xb(e,3,0,t(e,4,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.icao));t(e,3,0,n),t(e,5,0,l.Hb(1,"",e.parent.context.$implicit.fromAirport.location,""));var i=l.Xb(e,6,0,t(e,7,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.fromAirport.location));t(e,6,0,i);var r=l.Hb(1,"../../../assets/images/",e.parent.context.$implicit.getIconStatus(),"");t(e,9,0,r),t(e,14,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.name,""));var o=l.Xb(e,15,0,t(e,16,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.icao));t(e,15,0,o),t(e,17,0,l.Hb(1,"",e.parent.context.$implicit.toAirport.location,""));var a=l.Xb(e,18,0,t(e,19,0,l.Pb(e.parent.parent,0),e.parent.context.$implicit.toAirport.location));t(e,18,0,a)}))}function Kl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Jl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.callsign)}))}function Ql(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function Zl(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.icaoTypeCode)}))}function ti(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ei(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.operatorIcao)}))}function ni(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function li(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.registration)}))}function ii(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ri(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.squawk)}))}function oi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ai(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value ctl-agency"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.ctlAgency)}))}function si(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function ui(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""])),l.Sb(2,1)],null,(function(t,e){var n=l.Xb(e,1,0,t(e,2,0,l.Pb(e.parent.parent,1),e.parent.context.$implicit.altitude));t(e,1,0,n)}))}function ci(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function di(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","ft/m"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.vsi)}))}function hi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OFF"]))],null,null)}function pi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["ON"]))],null,null)}function fi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function bi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","\xb0"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.track)}))}function mi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function gi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["","kt"]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.speed)}))}function _i(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","warning"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["???"]))],null,null)}function yi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.mach)}))}function Ai(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"span",[["class","value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){var n=e.parent.context.$implicit.getMachSpeed();t(e,1,0,n)}))}function vi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,98,"div",[["class","aircraft-pin"]],null,[[null,"mouseenter"],[null,"mouseleave"]],(function(t,e,n){var l=!0,i=t.component;return"mouseenter"===e&&(l=!1!==i.mouseEnter(t.context.$implicit)&&l),"mouseleave"===e&&(l=!1!==i.mouseLeave(t.context.$implicit)&&l),l}),null,null)),l.Tb(512,null,i.A,i.B,[l.y,l.z,l.p,l.M]),l.Cb(2,278528,null,0,i.l,[i.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Rb(3,{"border-red":0}),(t()(),l.Db(4,0,null,null,1,"aircraft-header",[],null,[[null,"toClose"]],(function(t,e,n){var l=!0;return"toClose"===e&&(l=!1!==t.component.selectAircraftService.unWatchAircraft(t.context.$implicit)&&l),l}),Le.b,Le.a)),l.Cb(5,245760,null,0,je.a,[j.a,I.b,Re.b,le.b,l.j],{aircraft:[0,"aircraft"]},{toClose:"toClose"}),(t()(),l.sb(16777216,null,null,1,null,Xl)),l.Cb(7,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(8,0,null,null,90,"div",[["class","aircraft-pin-desc"]],null,null,null,null,null)),(t()(),l.Db(9,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(10,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["C.S : "])),(t()(),l.sb(16777216,null,null,1,null,Kl)),l.Cb(14,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Jl)),l.Cb(16,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(17,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(18,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MOD : "])),(t()(),l.sb(16777216,null,null,1,null,Ql)),l.Cb(21,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Zl)),l.Cb(23,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(24,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(25,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["OPE : "])),(t()(),l.sb(16777216,null,null,1,null,ti)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ei)),l.Cb(30,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(31,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(32,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(33,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["REG : "])),(t()(),l.sb(16777216,null,null,1,null,ni)),l.Cb(36,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,li)),l.Cb(38,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(39,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(40,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["IFF : "])),(t()(),l.sb(16777216,null,null,1,null,ii)),l.Cb(43,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ri)),l.Cb(45,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(46,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(47,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["CTL : "])),(t()(),l.sb(16777216,null,null,1,null,oi)),l.Cb(50,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ai)),l.Cb(52,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(53,0,null,null,21,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(54,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(55,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["FL : "])),(t()(),l.sb(16777216,null,null,1,null,si)),l.Cb(58,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,ui)),l.Cb(60,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(61,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(62,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["VS : "])),(t()(),l.sb(16777216,null,null,1,null,ci)),l.Cb(65,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,di)),l.Cb(67,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(68,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(69,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["A-PIL : "])),(t()(),l.sb(16777216,null,null,1,null,hi)),l.Cb(72,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,pi)),l.Cb(74,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(75,0,null,null,23,"div",[["class","aircraft-pin-line"]],null,null,null,null,null)),(t()(),l.Db(76,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(77,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["TRACK : "])),(t()(),l.sb(16777216,null,null,1,null,fi)),l.Cb(80,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,bi)),l.Cb(82,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(83,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),l.Db(84,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["GS : "])),(t()(),l.sb(16777216,null,null,1,null,mi)),l.Cb(87,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,gi)),l.Cb(89,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(90,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),l.Db(91,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["MACH : "])),(t()(),l.sb(16777216,null,null,1,null,_i)),l.Cb(94,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,yi)),l.Cb(96,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Ai)),l.Cb(98,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=t(e,3,0,e.component.highLightIcao===e.context.$implicit.icao);t(e,2,0,"aircraft-pin",n),t(e,5,0,e.context.$implicit),t(e,7,0,e.context.$implicit.fromAirport&&e.context.$implicit.toAirport),t(e,14,0,null==e.context.$implicit.callsign),t(e,16,0,null!=e.context.$implicit.callsign),t(e,21,0,null==e.context.$implicit.icaoTypeCode),t(e,23,0,null!=e.context.$implicit.icaoTypeCode),t(e,28,0,null==e.context.$implicit.operatorIcao),t(e,30,0,null!=e.context.$implicit.operatorIcao),t(e,36,0,null==e.context.$implicit.registration),t(e,38,0,null!=e.context.$implicit.registration),t(e,43,0,null==e.context.$implicit.squawk),t(e,45,0,null!=e.context.$implicit.squawk),t(e,50,0,null==e.context.$implicit.ctlAgency),t(e,52,0,null!=e.context.$implicit.ctlAgency),t(e,58,0,null==e.context.$implicit.altitude),t(e,60,0,null!=e.context.$implicit.altitude),t(e,65,0,null==e.context.$implicit.vsi),t(e,67,0,null!=e.context.$implicit.vsi),t(e,72,0,null==e.context.$implicit.navModes||e.context.$implicit.navModes.length<=0),t(e,74,0,null!=e.context.$implicit.navModes&&e.context.$implicit.navModes.length>0),t(e,80,0,null==e.context.$implicit.track),t(e,82,0,null!=e.context.$implicit.track),t(e,87,0,null==e.context.$implicit.speed),t(e,89,0,null!=e.context.$implicit.speed);var l=null==e.context.$implicit.mach&&null==e.context.$implicit.getMachSpeed();t(e,94,0,l),t(e,96,0,null!=e.context.$implicit.mach);var i=null==e.context.$implicit.mach&&null!=e.context.$implicit.getMachSpeed();t(e,98,0,i)}),null)}function Ci(t){return l.Yb(2,[l.Qb(0,Ie.a,[]),l.Qb(0,d.a,[]),(t()(),l.Db(2,0,null,null,5,"div",[["class","aircraft-list"]],null,null,null,null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(4,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),l.Rb(5,{left:0}),(t()(),l.sb(16777216,null,null,1,null,vi)),l.Cb(7,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component,l=t(e,5,0,null!==n.selectAircraft?"300px":"0px");t(e,4,0,l),t(e,7,0,n.watchAircrafts)}),null)}var wi=n("1HJ2"),Pi=l.Bb({encapsulation:0,styles:[["sepia-aircraft-card[_ngcontent-%COMP%]{position:absolute;resize:horizontal;min-width:300px;max-width:50%;width:300px;height:100%;max-height:100%;z-index:300;background-color:#fff;overflow-y:scroll;font-family:Quicksand}sepia-aircraft-card[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(-100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateX(-100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function xi(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-card",[],[[24,"@slideInOut",0]],null,null,Hl,ze)),l.Cb(1,507904,null,0,Be.a,[j.a,l.j,T.b,Re.b,ne.a,le.b],{aircraftContext:[0,"aircraftContext"]},null)],(function(t,e){t(e,1,0,e.component.aircraftContext)}),(function(t,e){t(e,0,0,void 0)}))}function Si(t){return l.Yb(2,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-list",[],null,null,null,Ci,ql)),l.Cb(1,245760,null,0,Vl.a,[l.j,T.b,E.a],null,null),(t()(),l.sb(16777216,null,null,1,null,xi)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,3,0,n.aircraftContext)}),null)}var ki=n("XEuL"),Mi=n("6g9s"),Oi=n("Amq3"),Di=n("iInd"),Ti=l.Bb({encapsulation:2,styles:[ki.a,Mi.a,['.ol-zoom{top:unset;left:unset;bottom:3.5em!important;right:.5em!important}.ol-permalink{display:none}.mouse-position{position:absolute;right:40px;bottom:0;z-index:100;text-shadow:0 0 2px #fff}.reset-bbox{z-index:1000;bottom:8em;right:.5em}.measure-switch{z-index:1000;bottom:11em;right:.5em}.measure-layer__tooltip{position:relative;background:rgba(0,0,0,.7);border-radius:4px;color:#fff;padding:4px 8px;opacity:.8;white-space:nowrap;font-size:16px}.measure-layer__tooltip--measure{display:flex;align-items:center}.measure-layer__tooltip::before{border-top:6px solid rgba(0,0,0,.7);border-right:6px solid transparent;border-left:6px solid transparent;content:"";position:absolute;bottom:-6px;margin-left:-7px;left:50%}.measure-layer__tooltip--hidden{display:none}.measure-layer__unselectable{pointer-events:none;touch-action:none}']],data:{}});function Ei(t){return l.Yb(0,[l.Ub(402653184,1,{positionEl:0}),(t()(),l.Db(1,0,[[1,0],["position",1]],null,0,"p",[["class","mouse-position"]],null,null,null,null,null))],null,null)}var Ii=n("5QaY"),Li=n("IheW"),ji=n("hUP0"),Ri=n("X0qu"),Fi=l.Bb({encapsulation:2,styles:[],data:{}});function Ni(t){return l.Yb(2,[],null,null)}var Yi=n("ppab"),Ui=n("Pmt0"),Bi=n("bHcU"),zi=n("g6Z0"),Gi=n("wtMG"),Hi=n("W8M7"),Vi=n("TN97"),qi=n("WDFe"),Wi=n("cV7i"),$i=function(t){(t=t||{}).loader=this._loader,t.strategy=Wi.a,qi.a.call(this,t),this.set("time",t.time||new Date),this.set("step",t.step||1)};Object(Gi.a)($i,qi.a),$i.prototype._loader=function(t,e,n){var l=this.getCoordinates(this.get("time")),i=new Hi.a([l]);i.transform("EPSG:4326",n),this.addFeature(new Vi.a(i))},$i.prototype.setTime=function(t){this.set("time",t),this.refresh()},$i.prototype.getCoordinates=function(t,e){for(var n=180/Math.PI,l=Math.PI/180,i=(t?new Date(t):new Date)/864e5+2440587.5,r=(18.697374558+24.06570982441908*(i-2451545))%24,o=[],a=function(t){var e=Math.PI/180,n=t-2451545,l=280.46+.9856474*n,i=357.528+.9856003*n;return i%=360,{lambda:(l%=360)+1.915*Math.sin(i*e)+.02*Math.sin(2*i*e),R:1.00014-.01671*Math.cos(i*e)-.0014*Math.cos(2*i*e)}}(i),s=function(t){var e=(t-2451545)/36525;return 23.43929111-e*(46.836769/3600-e*(1831e-7/3600+e*(5.565e-7-e*(1.6e-10-4.34e-8*e/3600))))}(i),u=function(t,e){var n=180/Math.PI,l=Math.PI/180,i=Math.atan(Math.cos(e*l)*Math.tan(t*l))*n,r=Math.asin(Math.sin(e*l)*Math.sin(t*l))*n;return{alpha:i+=90*Math.floor(t/90)-90*Math.floor(i/90),delta:r}}(a.lambda,s),c=this.get("step")||1,d=-180;d<=180;d+=c){var h=d,p=Math.atan(-Math.cos((15*r+h-u.alpha)*l)/Math.tan(u.delta*l))*n;o.push([h,p])}switch(e){case"line":break;case"day":u.delta*=-1;default:o.unshift([-180,p=u.delta<0?90:-90]),o.push([180,p]),o.push(o[0])}if("daynight"===e){var f=[];o.forEach((function(t){f.push(t.slice())})),f[0][1]=-f[0][1],f[f.length-1][1]=-f[0][1],f[f.length-1][1]=-f[0][1],o=[o,f]}return o};var Xi=$i;class Ki extends Yi.a{constructor(t){super(),this.mapService=t}ngOnInit(){switch(this.name){case"DayNight":this.layer=new Ui.a({source:new Xi,opacity:.5,style:new Bi.b({fill:new zi.a({color:[0,0,0]})})}),this.mapService.initDayNightLayerDaemon()}this.layer&&(this.layer.setOpacity(Number(this.opacity)),this.layer.set("name",this.name),this.layer.setVisible("true"===this.visibility),this.mapService.addLayerToGroup(this.groupLayer,this.layer))}}var Ji=l.Bb({encapsulation:2,styles:[],data:{}});function Qi(t){return l.Yb(2,[],null,null)}var Zi=n("ALyU"),tr=n("fURe"),er=n("acye"),nr=n("XrFG"),lr=n("aWqo"),ir=l.Bb({encapsulation:2,styles:[],data:{}});function rr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-trace",[],null,null,null,Zi.b,Zi.a)),l.Cb(1,245760,[[1,4],["traceAircrafts",4]],0,tr.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function or(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-prospective-trace",[],null,null,null,er.b,er.a)),l.Cb(1,245760,[[2,4],["toTraceAircrafts",4]],0,nr.a,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,1,0,e.component.source,e.context.$implicit.value)}),null)}function ar(t){return l.Yb(2,[l.Ub(671088640,1,{traceAircrafts:1}),l.Ub(671088640,2,{toTraceAircrafts:1}),(t()(),l.sb(16777216,null,null,2,null,rr)),l.Cb(3,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z]),(t()(),l.sb(16777216,null,null,2,null,or)),l.Cb(6,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){var n=e.component;t(e,3,0,l.Xb(e,3,0,l.Pb(e,4).transform(n.selectedAircrafts))),t(e,6,0,l.Xb(e,6,0,l.Pb(e,7).transform(n.selectedAircrafts)))}),null)}var sr=n("UK0T"),ur=n("P151"),cr=n("sLNx"),dr=l.Bb({encapsulation:2,styles:[],data:{}});function hr(t){return l.Yb(2,[],null,null)}var pr=n("9ANI"),fr=n("gpXz"),br=n("hoJM"),mr=n("JW8z");class gr{constructor(){this.labelFeature=void 0}ngOnInit(){this.source.addFeature(this.createFeature())}ngOnDestroy(){this.labelFeature&&this.source.removeFeature(this.labelFeature)}updateFeature(){this.labelFeature.setGeometry(new pr.a(Object(mr.d)([this.aircraft.longitude,this.aircraft.latitude]))),this.labelFeature.setStyle(this.getStyleFeature())}createFeature(){return this.labelFeature||(this.labelFeature=new Vi.a({geometry:new pr.a(Object(mr.d)([this.aircraft.longitude,this.aircraft.latitude])),id_:"label-"+this.aircraft.icao,type_:"label"}),this.labelFeature.setStyle(this.getStyleFeature())),this.labelFeature}getStyleFeature(){let t="???";return this.aircraft.altitude&&this.aircraft.altitude<5e3?t=this.aircraft.altitude.toString()+"Ft":this.aircraft.altitude&&this.aircraft.altitude>5e3&&(t="FL"+(this.aircraft.altitude/100).toFixed(0).toString()),new Bi.b({text:new fr.a({text:(this.aircraft.callsign?this.aircraft.callsign:"???")+"\n"+t+"\n"+(this.aircraft.squawk?this.aircraft.squawk:"???"),fill:new zi.a({color:"white"}),textAlign:"left",offsetY:35,padding:[0,0,0,0],font:"11px/1.2 sans-serif",stroke:new br.a({color:"rgba(0, 0, 0, 0.3)",width:5})})})}}var _r=l.Bb({encapsulation:2,styles:[],data:{}});function yr(t){return l.Yb(2,[],null,null)}class Ar extends Yi.a{constructor(t,e,n,l){super(),this.ref=t,this.mapService=e,this.selectAircraftService=n,this.trafficService=l,this.subscriptions=[],this.trafficAircrafts={},this.hoverAircraft=void 0,this.zoom=0}ngOnInit(){this.mapService.addLayerToGroup(this.groupLayer||"Traffic",super.getVectorLayer()),this.trafficAircrafts=this.trafficService.getAircrafts(),this.subscriptions.push(this.selectAircraftService.getSelectedAircraftChangeEmitter().subscribe(t=>{this.manageHoverLabel(t)})),this.subscriptions.push(this.trafficService.getTrafficChangeEmitter().subscribe(t=>{this.trafficAircrafts=t,this.manageTrafficLabels()})),this.subscriptions.push(this.mapService.getViewChangeEmitter().subscribe(t=>{this.zoom=t.getZoom(),this.ref.detectChanges()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}manageTrafficLabels(){this.zoom>8&&this.trafficLabels.forEach(t=>{t.updateFeature()})}manageHoverLabel(t){t.haveStatus(T.a.HOVER)?void 0===this.hoverAircraft?(this.hoverAircraft=t.aircraft,this.ref.detectChanges()):(this.hoverAircraft=t.aircraft,this.hoverLabel.updateFeature()):(this.hoverAircraft=void 0,this.ref.detectChanges())}}var vr=l.Bb({encapsulation:0,styles:[[""]],data:{}});function Cr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"sepia-label",[],null,null,null,yr,_r)),l.Cb(2,245760,[[2,4],["trafficLabel",4]],0,gr,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){t(e,2,0,e.component.source,e.context.$implicit.value)}),null)}function wr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,Cr)),l.Cb(2,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){var n=e.component;t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(n.trafficAircrafts)))}),null)}function Pr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-label",[],null,null,null,yr,_r)),l.Cb(1,245760,[[1,4],["hoverLabel",4]],0,gr,[],{source:[0,"source"],aircraft:[1,"aircraft"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.source,n.hoverAircraft)}),null)}function xr(t){return l.Yb(2,[l.Ub(671088640,1,{hoverLabel:0}),l.Ub(671088640,2,{trafficLabels:1}),(t()(),l.sb(16777216,null,null,1,null,wr)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Pr)),l.Cb(5,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.zoom>8),t(e,5,0,n.hoverAircraft)}),null)}var Sr=n("zfM5"),kr=n("3mbo"),Mr=n("qU9k"),Or=n("EDvw"),Dr=n("I5KE");class Tr{constructor(t,e,n,l,i,r,o){this.mapService=e,this.measuresService=n,this.selectAircraftService=l,this.landInteractionService=i,this.timeService=r,this.modeService=o}ngOnInit(){this.mapService.getMap().on("pointermove",t=>{this.onHover(t)}),this.mapService.getMap().on("singleclick",t=>{this.onClick(t)}),this.mapService.getMap().on("dblclick",t=>{this.onDblclick(t)}),this.mapService.getMap().getInteractions().forEach(t=>{t instanceof Sr.a&&this.mapService.getMap().removeInteraction(t)}),this.measuresService.initLayer()}ngOnChanges(t){document.getElementById("measure-switch-div").style["background-color"]=t.measureModeIsEnabled.currentValue?"rgba( 0, 0, 0, .4 )":"rgba( 255, 255, 255, .4 )"}isTrafficLayer(t){return!!t&&!!t.get("name")&&"aircraft"===t.get("name").split(":")[0]}onHover(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress&&this.measuresService.updateMeasure(t.coordinate);else{const e=[],n=[];this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof Or.a)n.push(t.getAircraft());else if(!0===l.get("hoverable")||!0===t.get("hoverable")){const n=new Dr.a(l,t);e.push(n)}},{hitTolerance:1}),this.selectAircraftService.hoverAircraft(n),this.landEntitiesAreNoSelected()&&(e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,Mr.b.HOVER):this.landInteractionService.status===Mr.b.HOVER&&this.landInteractionService.unsetLandEntities())}}onClick(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress?this.measuresService.addWaypoint(t.coordinate,t.pixel):this.measuresService.startMeasure(t.coordinate,t.pixel);else{const e=[];let n;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,l)=>{if(l)if(this.isTrafficLayer(l)&&t instanceof Or.a)n=t.getAircraft();else if(!0===l.get("clickable")||!0===t.get("clickable")){const n=new Dr.a(l,t);e.push(n)}},{hitTolerance:1}),e.length>0?this.landInteractionService.setLandEntities(e,t.pixel,Mr.b.SELECT):this.landInteractionService.unsetLandEntities(),n&&this.modeService.getModeMap()===le.a.ALL_AIRCRAFT){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleWatchAircraft(n,t)}}}onDblclick(t){if(!0===this.measureModeIsEnabled)this.measuresService.measureInProgress&&this.measuresService.doneMeasure();else{let e;if(this.mapService.getMap().forEachFeatureAtPixel(t.pixel,(t,n)=>{this.isTrafficLayer(n)&&t instanceof Or.a&&(e=t.getAircraft())},{hitTolerance:1}),e&&this.modeService.getModeMap()===le.a.ALL_AIRCRAFT){const t=this.timeService.getDateReplay();this.selectAircraftService.toggleSelectAircraft(e,t)}}}landEntitiesAreNoSelected(){return this.landInteractionService.status!==Mr.b.SELECT}}var Er=l.Bb({encapsulation:2,styles:[],data:{}});function Ir(t){return l.Yb(2,[],null,null)}var Lr=n("2VmZ"),jr=l.Bb({encapsulation:0,styles:[['.ol-popup[_ngcontent-%COMP%]{position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));filter:drop-shadow(0 1px 4px rgba(0, 0, 0, .2));padding:5px;border-radius:2px;bottom:20px;left:-50px;min-width:150px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%]:last-child{border:0}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-type[_ngcontent-%COMP%]{margin:5px 0;font-size:10px;color:#000}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-title[_ngcontent-%COMP%]{margin:5px 0;font-size:14px;color:#3880ff}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%]{display:-webkit-box;justify-content:space-between}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-description-link[_ngcontent-%COMP%]{font-size:12px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin:2px}.ol-popup[_ngcontent-%COMP%] .land-block[_ngcontent-%COMP%] .land-description[_ngcontent-%COMP%] .land-description-item[_ngcontent-%COMP%] .land-value[_ngcontent-%COMP%]{width:-webkit-max-content;width:-moz-max-content;width:max-content}.ol-popup[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{float:right;color:var(--ion-color-primary);font-size:14px}.ol-popup[_ngcontent-%COMP%]:after, .ol-popup[_ngcontent-%COMP%]:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup[_ngcontent-%COMP%]:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}.ol-popup[_ngcontent-%COMP%]:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}']],data:{}});function Rr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.landInteractionService.unsetLandEntities()&&l),l}),h.y,h.g)),l.Cb(1,49152,null,0,p.A,[l.j,l.p,l.G],{name:[0,"name"]},null)],(function(t,e){t(e,1,0,"close")}),null)}function Fr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude max: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_max/100:e.parent.context.$implicit.properties.altitude_max,e.parent.context.$implicit.properties.unit)}))}function Nr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["Altitude min: "," ",""]))],null,(function(t,e){t(e,2,0,"FL"===e.parent.context.$implicit.properties.unit?e.parent.context.$implicit.properties.altitude_min/100:e.parent.context.$implicit.properties.altitude_min,e.parent.context.$implicit.properties.unit)}))}function Yr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"a",[["class","land-description-link"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),l.Wb(-1,null,["lien"]))],null,(function(t,e){t(e,1,0,l.Hb(1,"",e.parent.context.$implicit.value,""))}))}function Ur(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"p",[["class","land-value"]],null,null,null,null,null)),(t()(),l.Wb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.parent.context.$implicit.value)}))}function Br(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,5,"div",[["class","land-description-item"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(2,null,["",":"])),(t()(),l.sb(16777216,null,null,1,null,Yr)),l.Cb(4,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),l.sb(0,[["textBlock",2]],null,0,null,Ur))],(function(t,e){t(e,4,0,e.component.validURL(e.context.$implicit.value),l.Pb(e,5))}),(function(t,e){t(e,2,0,e.context.$implicit.key)}))}function zr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,3,"div",[["class","land-description"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,2,null,Br)),l.Cb(2,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null),l.Qb(0,i.h,[l.z])],(function(t,e){t(e,2,0,l.Xb(e,2,0,l.Pb(e,3).transform(e.parent.context.$implicit.data)))}),null)}function Gr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,10,"div",[["class","land-block"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,1,"h5",[["class","land-type"]],null,null,null,null,null)),(t()(),l.Wb(2,null,[" "," "])),(t()(),l.Db(3,0,null,null,1,"h4",[["class","land-title"]],null,null,null,null,null)),(t()(),l.Wb(4,null,[" "," "])),(t()(),l.sb(16777216,null,null,1,null,Fr)),l.Cb(6,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Nr)),l.Cb(8,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,zr)),l.Cb(10,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,l=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_max;t(e,6,0,l);var i=e.context.$implicit.type.toLowerCase().match("zit")&&void 0!==e.context.$implicit.properties.altitude_min;t(e,8,0,i),t(e,10,0,n.displayDescription)}),(function(t,e){t(e,2,0,e.context.$implicit.type),t(e,4,0,e.context.$implicit.name)}))}function Hr(t){return l.Yb(2,[l.Ub(402653184,1,{landPopup:0}),(t()(),l.Db(1,0,[[1,0],["landPopup",1]],null,4,"div",[["class","ol-popup"],["id","land-popup"]],null,null,null,null,null)),(t()(),l.sb(16777216,null,null,1,null,Rr)),l.Cb(3,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.sb(16777216,null,null,1,null,Gr)),l.Cb(5,278528,null,0,i.m,[l.Y,l.U,l.y],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.displayDescription),t(e,5,0,n.displayLandEntities)}),null)}var Vr=n("nkhJ"),qr=n("yKYT");class Wr{constructor(t){this.modeService=t,this.displayBottomPanel=!1}ngOnInit(){this.displayBottomPanel=this.modeService.getModeMap()===le.a.ONE_AIRCRAFT,this.modeService.getModeMapChangeEmitter().subscribe(t=>{this.displayBottomPanel=t===le.a.ONE_AIRCRAFT})}ngOnDestroy(){}}var $r=l.Bb({encapsulation:0,styles:[["sepia-aircraft-replay[_ngcontent-%COMP%]{position:absolute;resize:vertical;width:calc(100% - 300px);top:calc(100% - 220px);background-color:#fff;z-index:300}"]],data:{animation:[{type:7,name:"slideInOut",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},timings:"300ms ease-in"}],options:null},{type:1,expr:":leave",animation:[{type:4,styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},timings:"200ms ease-in"}],options:null}],options:{}}]}});function Xr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-replay",[],[[24,"@slideInOut",0]],null,null,Vr.c,Vr.b)),l.Cb(1,114688,null,0,qr.a,[cr.a,l.j],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,void 0)}))}function Kr(t){return l.Yb(0,[(t()(),l.sb(16777216,null,null,1,null,Xr)),l.Cb(1,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.displayBottomPanel)}),null)}var Jr=n("mzvH");n.d(e,"a",(function(){return no}));var Qr=l.Bb({encapsulation:2,styles:[[".loader{display:flex;justify-content:center;align-items:center;background:#fff;padding-top:20px;padding-bottom:20px}.welcome-card ion-img{max-height:35vh;overflow:hidden}.mat-dialog-content{padding:0!important;margin:0!important}ion-header .traffic-counter{display:flex;padding:10px;margin:5px;border:1px solid;border-radius:25px}.body-div{position:absolute;display:inline-flex;width:100%;height:100%}.body-div .map{display:inline-flex;width:80%;height:100%;min-width:50%}.body-div .map sepia-map{position:relative;width:100%;height:100%}.body-div .panel-list{width:20%;max-width:670px;min-width:100px;height:100%;border-left:5px solid var(--ion-color-primary)}.ctrl{position:fixed;right:0;background:#fff}.ctrl>>>.ol-bookmark div{display:block!important}sepia-bottom-panel{position:absolute;left:300px;bottom:0;width:100%}app-mouse-position{position:absolute;bottom:0;left:0;right:0;font-size:1.5em;text-align:center;font-family:sans-serif}app-mouse-position>>>div{bottom:0;top:auto;left:0}.ol-mouse-position{font-family:Quicksand;font-weight:900;position:relative!important;padding:0 10px;top:0!important;right:0!important;border-radius:15px;background:rgba(171,163,163,.64)}.ol-layerswitcher{top:.5em!important;margin-top:25px}mwlResizable{box-sizing:border-box}"]],data:{}});function Zr(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,6,"div",[["class","panel-list"],["mwlResizable",""]],null,[[null,"resizing"]],(function(t,e,n){var l=!0;return"resizing"===e&&(l=!1!==t.component.onResizeListPanel(n)&&l),l}),null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(2,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),l.Cb(3,737280,null,0,r.a,[l.J,l.M,l.p,l.G],{resizeEdges:[0,"resizeEdges"],enableGhostResize:[1,"enableGhostResize"]},{resizing:"resizing"}),l.Rb(4,{left:0}),(t()(),l.Db(5,0,null,null,1,"sepia-right-panel",[],null,null,null,W,R)),l.Cb(6,245760,null,0,M.a,[O.e,l.p,D.a,T.b,E.a,I.b,L.a,j.a],null,null)],(function(t,e){t(e,2,0,e.component.styleListPanel);var n=t(e,4,0,!0);t(e,3,0,n,!0),t(e,6,0)}),null)}function to(t){return l.Yb(0,[l.Ub(402653184,1,{child:0}),(t()(),l.Db(1,0,null,null,1,"sepia-header",[],null,null,null,fe,ie)),l.Cb(2,114688,null,0,ee.a,[E.a,I.b,ne.a,le.b],null,null),(t()(),l.Db(3,0,null,null,27,"ion-content",[["scroll","false"]],null,null,null,h.w,h.e)),l.Cb(4,49152,null,0,p.s,[l.j,l.p,l.G],null,null),(t()(),l.Db(5,0,null,0,25,"div",[["class","body-div"]],null,null,null,null,null)),(t()(),l.Db(6,0,null,null,1,"sepia-left-panel",[],null,null,null,Si,Pi)),l.Cb(7,245760,null,0,wi.a,[l.j,T.b],null,null),(t()(),l.Db(8,0,null,null,18,"div",[["class","map"]],null,null,null,null,null)),l.Tb(512,null,i.C,i.D,[l.p,l.z,l.M]),l.Cb(10,278528,null,0,i.q,[i.C],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Db(11,0,null,null,15,"sepia-map",[["lat","46.6"],["lon","2.3"],["zoom","6"]],null,null,null,Ei,Ti)),l.Cb(12,114688,[[1,4]],0,Oi.a,[Di.a,D.a,l.p,kt.a,E.a,T.b],{lon:[0,"lon"],lat:[1,"lat"],zoom:[2,"zoom"]},null),(t()(),l.Db(13,0,null,null,1,"sepia-remote-layer",[],null,null,null,Ni,Fi)),l.Cb(14,114688,null,0,Ii.a,[Li.c,D.a,ji.a,Ri.a],null,null),(t()(),l.Db(15,0,null,null,1,"sepia-layer",[["groupLayer","GENERAL"],["name","DayNight"],["opacity",".33"],["visibility","true"],["zIndex","1000"]],null,null,null,Qi,Ji)),l.Cb(16,114688,null,0,Ki,[D.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(17,0,null,null,1,"sepia-traces",[["groupLayer","Traffic"],["name","Traces"],["opacity","1"],["visibility","true"],["zIndex","1100"]],null,null,null,ar,ir)),l.Cb(18,245760,null,0,lr.a,[l.j,D.a,T.b],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(19,0,null,null,1,"sepia-traffic-layer",[["groupLayer","Traffic"],["name","aircraft"],["opacity","1"],["visibility","true"],["zIndex","1101"]],null,null,null,hr,dr)),l.Cb(20,245760,null,0,sr.a,[D.a,E.a,T.b,I.b,ur.a,j.a,le.b,cr.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(21,0,null,null,1,"sepia-labels",[["groupLayer","Traffic"],["name","Labels"],["opacity","1"],["visibility","true"],["zIndex","1200"]],null,null,null,xr,vr)),l.Cb(22,245760,null,0,Ar,[l.j,D.a,T.b,E.a],{name:[0,"name"],opacity:[1,"opacity"],visibility:[2,"visibility"],zIndex:[3,"zIndex"],groupLayer:[4,"groupLayer"]},null),(t()(),l.Db(23,0,null,null,1,"sepia-touch",[],null,null,null,Ir,Er)),l.Cb(24,638976,null,0,Tr,[i.d,D.a,kr.a,T.b,Mr.a,I.b,le.b],{measureModeIsEnabled:[0,"measureModeIsEnabled"]},null),(t()(),l.Db(25,0,null,null,1,"sepia-land-popup",[],null,null,null,Hr,jr)),l.Cb(26,245760,null,0,Lr.a,[l.j,D.a,Mr.a],null,null),(t()(),l.sb(16777216,null,null,1,null,Zr)),l.Cb(28,16384,null,0,i.n,[l.Y,l.U],{ngIf:[0,"ngIf"]},null),(t()(),l.Db(29,0,null,null,1,"sepia-bottom-panel",[],null,null,null,Kr,$r)),l.Cb(30,245760,null,0,Wr,[le.b],null,null)],(function(t,e){var n=e.component;t(e,2,0),t(e,7,0),t(e,10,0,n.styleMap),t(e,12,0,"2.3","46.6","6"),t(e,14,0),t(e,16,0,"DayNight",".33","true","1000","GENERAL"),t(e,18,0,"Traces","1","true","1100","Traffic"),t(e,20,0,"aircraft","1","true","1101","Traffic"),t(e,22,0,"Labels","1","true","1200","Traffic"),t(e,24,0,n.mapService.getMap().measureModeIsEnabled),t(e,26,0),t(e,28,0,n.displayListPanel),t(e,30,0)}),null)}function eo(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"app-desktop",[],null,null,null,to,Qr)),l.Cb(1,114688,null,0,Jr.a,[p.Hb,p.Eb,le.b,D.a],null,null)],(function(t,e){t(e,1,0)}),null)}var no=l.zb("app-desktop",Jr.a,eo,{},{},[])},mTEX:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseFleetControllerFleetPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseFleetControllerFleet(t){return this.getOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseFleetControllerFleetPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseFleetControllerFleet(t){return this.replaceOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseFleetControllerFleetPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseFleetControllerFleet(t){return this.deleteOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseFleetControllerFleetPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseFleetControllerFleet(t){return this.updateOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseFleetControllerFleetPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseFleetControllerFleet(t){return this.getManyBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseFleetControllerFleetPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseFleetControllerFleet(t){return this.createOneBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseFleetControllerFleet$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseFleetControllerFleetPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseFleetControllerFleet(t){return this.createManyBaseFleetControllerFleet$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseFleetControllerFleetPath="/fleet/{id}",t.ReplaceOneBaseFleetControllerFleetPath="/fleet/{id}",t.DeleteOneBaseFleetControllerFleetPath="/fleet/{id}",t.UpdateOneBaseFleetControllerFleetPath="/fleet/{id}",t.GetManyBaseFleetControllerFleetPath="/fleet",t.CreateOneBaseFleetControllerFleetPath="/fleet",t.CreateManyBaseFleetControllerFleetPath="/fleet/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},mUkt:function(t,e,n){"use strict";n.r(e),n.d(e,"GESTURE_CONTROLLER",(function(){return r})),n.d(e,"createGesture",(function(){return c}));class l{constructor(t,e,n,l,i){this.id=e,this.name=n,this.disableScroll=i,this.priority=1e6*l+e,this.ctrl=t}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const t=this.ctrl.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.ctrl.disableScroll(this.id),t}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class i{constructor(t,e,n,l){this.id=e,this.disable=n,this.disableScroll=l,this.ctrl=t}block(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.disableGesture(t,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.enableGesture(t,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const r=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(t){return new l(this,this.newID(),t.name,t.priority||0,!!t.disableScroll)}createBlocker(t={}){return new i(this,this.newID(),t.disable,!!t.disableScroll)}start(t,e,n){return this.canStart(t)?(this.requestedStart.set(e,n),!0):(this.requestedStart.delete(e),!1)}capture(t,e,n){if(!this.start(t,e,n))return!1;const l=this.requestedStart;let i=-1e4;if(l.forEach(t=>{i=Math.max(i,t)}),i===n){this.capturedId=e,l.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:t}});return document.dispatchEvent(n),!0}return l.delete(e),!1}release(t){this.requestedStart.delete(t),this.capturedId===t&&(this.capturedId=void 0)}disableGesture(t,e){let n=this.disabledGestures.get(t);void 0===n&&(n=new Set,this.disabledGestures.set(t,n)),n.add(e)}enableGesture(t,e){const n=this.disabledGestures.get(t);void 0!==n&&n.delete(e)}disableScroll(t){this.disabledScroll.add(t),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}enableScroll(t){this.disabledScroll.delete(t),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}canStart(t){return void 0===this.capturedId&&!this.isDisabled(t)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(t){const e=this.disabledGestures.get(t);return!!(e&&e.size>0)}newID(){return this.gestureId++,this.gestureId}},o=(t,e,n,l)=>{const i=a(t)?{capture:!!l.capture,passive:!!l.passive}:!!l.capture;let r,o;return t.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",o="__zone_symbol__removeEventListener"):(r="addEventListener",o="removeEventListener"),t[r](e,n,i),()=>{t[o](e,n,i)}},a=t=>{if(void 0===s)try{const e=Object.defineProperty({},"passive",{get:()=>{s=!0}});t.addEventListener("optsTest",()=>{},e)}catch(e){s=!1}return!!s};let s;const u=t=>t instanceof Document?t:t.ownerDocument,c=t=>{let e=!1,n=!1,l=!0,i=!1;const a=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},t),s=a.canStart,c=a.onWillStart,f=a.onStart,b=a.onEnd,m=a.notCaptured,g=a.onMove,_=a.threshold,y={type:"pan",startX:0,startY:0,startTimeStamp:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,timeStamp:0,event:void 0,data:void 0},A=((t,e,n)=>{const l=n*(Math.PI/180),i="x"===t,r=Math.cos(l),o=e*e;let a=0,s=0,u=!1,c=0;return{start(t,e){a=t,s=e,c=0,u=!0},detect(t,e){if(!u)return!1;const n=t-a,l=e-s,d=n*n+l*l;if(d<o)return!1;const h=Math.sqrt(d),p=(i?n:l)/h;return c=p>r?1:p<-r?-1:0,u=!1,!0},isGesture:()=>0!==c,getDirection:()=>c}})(a.direction,a.threshold,a.maxAngle),v=r.createGesture({name:t.gestureName,priority:t.gesturePriority,disableScroll:t.disableScroll}),C=()=>{e&&(i=!1,g&&g(y))},w=()=>!(v&&!v.capture()||(e=!0,l=!1,y.startX=y.currentX,y.startY=y.currentY,y.startTimeStamp=y.timeStamp,c?c(y).then(P):P(),0)),P=()=>{f&&f(y),l=!0},x=()=>{e=!1,n=!1,i=!1,l=!0,v.release()},S=t=>{const n=e,i=l;x(),i&&(d(y,t),n?b&&b(y):m&&m(y))},k=((t,e,n,l,i)=>{let r,a,s,c,d,h,p,f=0;const b=l=>{f=Date.now()+2e3,e(l)&&(!a&&n&&(a=o(t,"touchmove",n,i)),s||(s=o(t,"touchend",g,i)),c||(c=o(t,"touchcancel",g,i)))},m=l=>{f>Date.now()||e(l)&&(!h&&n&&(h=o(u(t),"mousemove",n,i)),p||(p=o(u(t),"mouseup",_,i)))},g=t=>{y(),l&&l(t)},_=t=>{A(),l&&l(t)},y=()=>{a&&a(),s&&s(),c&&c(),a=s=c=void 0},A=()=>{h&&h(),p&&p(),h=p=void 0},v=()=>{y(),A()},C=e=>{e?(r&&r(),d&&d(),r=d=void 0,v()):(r||(r=o(t,"touchstart",b,i)),d||(d=o(t,"mousedown",m,i)))};return{setDisabled:C,stop:v,destroy:()=>{C(!0),l=n=e=void 0}}})(a.el,t=>{const e=p(t);return!(n||!l)&&(h(t,y),y.startX=y.currentX,y.startY=y.currentY,y.startTimeStamp=y.timeStamp=e,y.velocityX=y.velocityY=y.deltaX=y.deltaY=0,y.event=t,(!s||!1!==s(y))&&(v.release(),!!v.start()&&(n=!0,0===_?w():(A.start(y.startX,y.startY),!0))))},t=>{e?!i&&l&&(i=!0,d(y,t),requestAnimationFrame(C)):(d(y,t),A.detect(y.currentX,y.currentY)&&(A.isGesture()&&w()||M()))},S,{capture:!1}),M=()=>{x(),k.stop(),m&&m(y)};return{setDisabled(t){t&&e&&S(void 0),k.setDisabled(t)},destroy(){v.destroy(),k.destroy()}}},d=(t,e)=>{if(!e)return;const n=t.currentX,l=t.currentY,i=t.timeStamp;h(e,t);const r=t.currentX,o=t.currentY,a=(t.timeStamp=p(e))-i;if(a>0&&a<100){const e=(o-l)/a;t.velocityX=(r-n)/a*.7+.3*t.velocityX,t.velocityY=.7*e+.3*t.velocityY}t.deltaX=r-t.startX,t.deltaY=o-t.startY,t.event=e},h=(t,e)=>{let n=0,l=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];n=t.clientX,l=t.clientY}else void 0!==t.pageX&&(n=t.pageX,l=t.pageY)}e.currentX=n,e.currentY=l},p=t=>t.timeStamp||Date.now()},mWFr:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}searchControllerGetSearch$Response(e){const n=new o.a(this.rootUrl,t.SearchControllerGetSearchPath,"get");return e&&(n.query("limit",e.limit),n.query("value",e.value)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}searchControllerGetSearch(t){return this.searchControllerGetSearch$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.SearchControllerGetSearchPath="/search",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},mkQN:function(t,e,n){"use strict";var l,i=n("n15R"),r=n("CvXi"),o=n("9iPr"),a=n("9ANI"),s=n("mrzG"),u=n("q7cr"),c=n("u2yf"),d=n("f8l7"),h=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){function e(e,n){var l=t.call(this)||this;return n&&!Array.isArray(e[0])?l.setFlatCoordinates(n,e):l.setCoordinates(e,n),l}return h(e,t),e.prototype.appendPoint=function(t){this.flatCoordinates?Object(i.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,l){if(l<Object(r.e)(this.getExtent(),t,e))return l;for(var i=this.flatCoordinates,o=this.stride,a=0,s=i.length;a<s;a+=o){var u=Object(d.f)(t,e,i[a],i[a+1]);if(u<l){l=u;for(var c=0;c<o;++c)n[c]=i[a+c];n.length=o}}return l},e.prototype.getCoordinates=function(){return Object(c.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getPoint=function(t){return t<0||(this.flatCoordinates?this.flatCoordinates.length/this.stride:0)<=t?null:new a.a(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)},e.prototype.getPoints=function(){for(var t=this.flatCoordinates,e=this.layout,n=this.stride,l=[],i=0,r=t.length;i<r;i+=n){var o=new a.a(t.slice(i,i+n),e);l.push(o)}return l},e.prototype.getType=function(){return o.a.MULTI_POINT},e.prototype.intersectsExtent=function(t){for(var e=this.flatCoordinates,n=this.stride,l=0,i=e.length;l<i;l+=n){var o=e[l],a=e[l+1];if(Object(r.h)(t,o,a))return!0}return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(u.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(s.a);e.a=p},mkRZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n("KCVW"),n("8bJo"),n("8Y7J"),n("s7LF"),n("Xd0L");class l{}},mnSs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return r}));var l=n("8Y7J");class i{constructor(t,e){this.elementRef=t,this.renderer=e,this._show=!1,this.events=new l.r}transitionEnd(t){this.show&&this.events.emit({type:"shown"})}set show(t){t&&this.setPosition(),this._show=this.hostClassShow=t}get show(){return this._show}get placement(){return this.data.options.placement}get autoPlacement(){return this.data.options.autoPlacement}get element(){return this.data.element}get elementPosition(){return this.data.elementPosition}get options(){return this.data.options}get value(){return this.data.value}get tooltipOffset(){return Number(this.data.options.offset)}get isThemeLight(){return"light"===this.options.theme}ngOnInit(){this.setCustomClass(),this.setStyles()}setPosition(){if(this.setHostStyle(this.placement))this.setPlacementClass(this.placement);else{const t=["top","right","bottom","left"];let e;for(const n of t)if(this.setHostStyle(n))return this.setPlacementClass(n),void(e=!0);e||(this.setHostStyle(this.placement,!0),this.setPlacementClass(this.placement))}}setPlacementClass(t){this.renderer.addClass(this.elementRef.nativeElement,"tooltip-"+t)}setHostStyle(t,e=!1){const n=this.element instanceof SVGElement,l=this.elementRef.nativeElement,i=!this.elementPosition.right;let r=n?this.element.getBoundingClientRect().height:this.element.offsetHeight,o=n?this.element.getBoundingClientRect().width:this.element.offsetWidth;const a=l.clientHeight,s=l.clientWidth,u=window.pageYOffset;let c,d;if(i&&(r=0,o=0),"top"===t&&(c=this.elementPosition.top+u-(a+this.tooltipOffset)),"bottom"===t&&(c=this.elementPosition.top+u+r+this.tooltipOffset),"top"!==t&&"bottom"!==t||(d=this.elementPosition.left+o/2-s/2),"left"===t&&(d=this.elementPosition.left-s-this.tooltipOffset),"right"===t&&(d=this.elementPosition.left+o+this.tooltipOffset),"left"!==t&&"right"!==t||(c=this.elementPosition.top+u+r/2-l.clientHeight/2),this.autoPlacement&&!e){const t=c+a,e=d,n=d+s,l=window.innerHeight+u,i=document.body.clientWidth;if(c<0||t>l||e<0||n>i)return!1}return this.hostStyleTop=c+"px",this.hostStyleLeft=d+"px",!0}setZIndex(){0!==this.options.zIndex&&(this.hostStyleZIndex=this.options.zIndex)}setPointerEvents(){this.options.pointerEvents&&(this.hostStylePointerEvents=this.options.pointerEvents)}setCustomClass(){this.options.tooltipClass&&this.options.tooltipClass.split(" ").forEach(t=>{this.renderer.addClass(this.elementRef.nativeElement,t)})}setAnimationDuration(){Number(this.options.animationDuration)!=this.options.animationDurationDefault&&(this.hostStyleTransition="opacity "+this.options.animationDuration+"ms")}setStyles(){this.setZIndex(),this.setPointerEvents(),this.setAnimationDuration(),this.hostClassShadow=this.options.shadow,this.hostClassLight=this.isThemeLight,this.hostStyleMaxWidth=this.options.maxWidth+"px",this.hostStyleWidth=this.options.width?this.options.width+"px":""}}const r=new l.w("TooltipOptions"),o={placement:"top",autoPlacement:!0,contentType:"string",showDelay:0,hideDelay:300,hideDelayMobile:0,hideDelayTouchscreen:0,zIndex:0,animationDuration:300,animationDurationDefault:300,trigger:"hover",tooltipClass:"",display:!0,displayMobile:!0,displayTouchscreen:!0,shadow:!0,theme:"dark",offset:8,maxWidth:"",id:!1,hideDelayAfterClick:2e3},a={delay:"showDelay","show-delay":"showDelay","hide-delay":"hideDelay","hide-delay-mobile":"hideDelayTouchscreen",hideDelayMobile:"hideDelayTouchscreen","z-index":"zIndex","animation-duration":"animationDuration","animation-duration-default":"animationDurationDefault","tooltip-class":"tooltipClass","display-mobile":"displayTouchscreen",displayMobile:"displayTouchscreen","max-width":"maxWidth"};class s{constructor(t,e,n,i,r){this.initOptions=t,this.elementRef=e,this.componentFactoryResolver=n,this.appRef=i,this.injector=r,this._showDelay=0,this._hideDelay=300,this._options={},this.events=new l.r}set options(t){t&&o&&(this._options=t)}get options(){return this._options}get isTooltipDestroyed(){return this.componentRef&&this.componentRef.hostView.destroyed}get destroyDelay(){return this._destroyDelay?this._destroyDelay:Number(this.getHideDelay())+Number(this.options.animationDuration)}set destroyDelay(t){this._destroyDelay=t}get tooltipPosition(){return this.options.position?this.options.position:this.elementPosition}onMouseEnter(){0!=this.isDisplayOnHover&&this.show()}onMouseLeave(){"hover"===this.options.trigger&&this.destroyTooltip()}onClick(){0!=this.isDisplayOnClick&&(this.show(),this.hideAfterClickTimeoutId=window.setTimeout(()=>{this.destroyTooltip()},this.options.hideDelayAfterClick))}ngOnInit(){}ngOnChanges(t){this.initOptions=this.renameProperties(this.initOptions);let e=this.getProperties(t);e=this.renameProperties(e),this.applyOptionsDefault(o,e)}ngOnDestroy(){this.destroyTooltip({fast:!0}),this.componentSubscribe&&this.componentSubscribe.unsubscribe()}getShowDelay(){return this.options.showDelay}getHideDelay(){return this.isTouchScreen?this.options.hideDelayTouchscreen:this.options.hideDelay}getProperties(t){let e={};for(var n in t)"options"!==n&&"tooltipValue"!==n&&(e[n]=t[n].currentValue),"options"===n&&(e=t[n].currentValue);return e}renameProperties(t){for(var e in t)a[e]&&(t[a[e]]=t[e],delete t[e]);return t}getElementPosition(){this.elementPosition=this.elementRef.nativeElement.getBoundingClientRect()}createTooltip(){this.clearTimeouts(),this.getElementPosition(),this.createTimeoutId=window.setTimeout(()=>{this.appendComponentToBody(i)},this.getShowDelay()),this.showTimeoutId=window.setTimeout(()=>{this.showTooltipElem()},this.getShowDelay())}destroyTooltip(t={fast:!1}){this.clearTimeouts(),0==this.isTooltipDestroyed&&(this.hideTimeoutId=window.setTimeout(()=>{this.hideTooltip()},t.fast?0:this.getHideDelay()),this.destroyTimeoutId=window.setTimeout(()=>{this.componentRef&&!this.isTooltipDestroyed&&(this.appRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.events.emit({type:"hidden",position:this.tooltipPosition}))},t.fast?0:this.destroyDelay))}showTooltipElem(){this.clearTimeouts(),this.componentRef.instance.show=!0,this.events.emit({type:"show",position:this.tooltipPosition})}hideTooltip(){this.componentRef&&!this.isTooltipDestroyed&&(this.componentRef.instance.show=!1,this.events.emit({type:"hide",position:this.tooltipPosition}))}appendComponentToBody(t,e={}){this.componentRef=this.componentFactoryResolver.resolveComponentFactory(t).create(this.injector),this.componentRef.instance.data={value:this.tooltipValue,element:this.elementRef.nativeElement,elementPosition:this.tooltipPosition,options:this.options},this.appRef.attachView(this.componentRef.hostView),document.body.appendChild(this.componentRef.hostView.rootNodes[0]),this.componentSubscribe=this.componentRef.instance.events.subscribe(t=>{this.handleEvents(t)})}clearTimeouts(){this.createTimeoutId&&clearTimeout(this.createTimeoutId),this.showTimeoutId&&clearTimeout(this.showTimeoutId),this.hideTimeoutId&&clearTimeout(this.hideTimeoutId),this.destroyTimeoutId&&clearTimeout(this.destroyTimeoutId)}get isDisplayOnHover(){return 0!=this.options.display&&(0!=this.options.displayTouchscreen||!this.isTouchScreen)&&"hover"===this.options.trigger}get isDisplayOnClick(){return 0!=this.options.display&&(0!=this.options.displayTouchscreen||!this.isTouchScreen)&&"click"==this.options.trigger}get isTouchScreen(){var t,e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||(t=["(",e.join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia(t).matches)}applyOptionsDefault(t,e){this.options=Object.assign({},t,this.initOptions||{},e)}handleEvents(t){"shown"===t.type&&this.events.emit({type:"shown",position:this.tooltipPosition})}show(){!this.componentRef||this.isTooltipDestroyed?this.createTooltip():this.isTooltipDestroyed||this.showTooltipElem()}hide(){this.destroyTooltip()}}class u{static forRoot(t){return{ngModule:u,providers:[{provide:r,useValue:t}]}}}},mrSG:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return a}));var l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(){return(r=Object.assign||function(t){for(var e,n=1,l=arguments.length;n<l;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function o(t,e,n,l){return new(n||(n=Promise))((function(i,r){function o(t){try{s(l.next(t))}catch(e){r(e)}}function a(t){try{s(l.throw(t))}catch(e){r(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,a)}s((l=l.apply(t,e||[])).next())}))}function a(t,e){var n,l,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,l&&(i=2&r[0]?l.return:r[0]?l.throw||((i=l.return)&&i.call(l),0):l.next)&&!(i=i.call(l,r[1])).done)return i;switch(l=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,l=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(t,o)}catch(a){r=[6,a],l=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}},mrzG:function(t,e,n){"use strict";n.d(e,"b",(function(){return h}));var l,i=n("EwAT"),r=n("CvXi"),o=n("jzee"),a=n("Uhtb"),s=n("vvg4"),u=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){var e=t.call(this)||this;return e.layout=a.a.XY,e.stride=2,e.flatCoordinates=null,e}return u(e,t),e.prototype.computeExtent=function(t){return Object(r.o)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(i.b)()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},e.prototype.getSimplifiedGeometryInternal=function(t){return this},e.prototype.getStride=function(){return this.stride},e.prototype.setFlatCoordinates=function(t,e){this.stride=d(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){Object(i.b)()},e.prototype.setLayout=function(t,e,n){var l;if(t)l=d(t);else{for(var i=0;i<n;++i){if(0===e.length)return this.layout=a.a.XY,void(this.stride=2);e=e[0]}t=function(t){var e;return 2==t?e=a.a.XY:3==t?e=a.a.XYZ:4==t&&(e=a.a.XYZM),e}(l=e.length)}this.layout=t,this.stride=l},e.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},e.prototype.rotate=function(t,e){var n=this.getFlatCoordinates();if(n){var l=this.getStride();Object(s.a)(n,0,n.length,l,t,e,n),this.changed()}},e.prototype.scale=function(t,e,n){var l=e;void 0===l&&(l=t);var i=n;i||(i=Object(r.x)(this.getExtent()));var o=this.getFlatCoordinates();if(o){var a=this.getStride();Object(s.b)(o,0,o.length,a,t,l,i,o),this.changed()}},e.prototype.translate=function(t,e){var n=this.getFlatCoordinates();if(n){var l=this.getStride();Object(s.d)(n,0,n.length,l,t,e,n),this.changed()}},e}(o.a);function d(t){var e;return t==a.a.XY?e=2:t==a.a.XYZ||t==a.a.XYM?e=3:t==a.a.XYZM&&(e=4),e}function h(t,e,n){var l=t.getFlatCoordinates();if(l){var i=t.getStride();return Object(s.c)(l,0,l.length,i,e,n)}return null}e.a=c},mzvH:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("mrSG"),i=(n("ZZ/e"),n("Amq3"),n("Y4ja"));n("svHU");class r{constructor(t,e,n,l){this.platform=t,this.loadingController=e,this.modeService=n,this.mapService=l,this.displayListPanel=!0}ngOnInit(){this.displayLoading(),this.platform.ready().then(t=>{setTimeout(()=>{this.child.resizeMap()},1e3)}),this.initModeMap()}displayLoading(){return l.b(this,void 0,void 0,(function*(){const t=yield this.loadingController.create({duration:2500,message:"Chargement en cours..."});return yield t.present()}))}initModeMap(){this.modeService.getModeMapChangeEmitter().subscribe(t=>{t===i.a.ONE_AIRCRAFT?(this.styleMap={width:"100%",height:"calc(100% - 220px)"},this.styleListPanel={width:"0px"},this.displayListPanel=!1):(this.styleMap={width:"80%",height:"100%"},this.styleListPanel={width:"20%"},this.displayListPanel=!0),setTimeout(()=>{this.child.resizeMap()})})}onResizeListPanel(t){this.styleMap={width:"calc(100% - "+t.rectangle.width+"px)"},this.styleListPanel={width:t.rectangle.width+"px"},this.child.resizeMap()}}},n15R:function(t,e,n){"use strict";function l(t,e,n){for(var l,r,o=n||i,a=0,s=t.length,u=!1;a<s;)(r=+o(t[l=a+(s-a>>1)],e))<0?a=l+1:(s=l,u=!r);return u?a:~a}function i(t,e){return t>e?1:t<e?-1:0}function r(t,e){return t.indexOf(e)>=0}function o(t,e,n){var l=t.length;if(t[0]<=e)return 0;if(e<=t[l-1])return l-1;var i=void 0;if(n>0){for(i=1;i<l;++i)if(t[i]<e)return i-1}else if(n<0){for(i=1;i<l;++i)if(t[i]<=e)return i}else for(i=1;i<l;++i){if(t[i]==e)return i;if(t[i]<e)return t[i-1]-e<e-t[i]?i-1:i}return l-1}function a(t,e,n){for(;e<n;){var l=t[e];t[e]=t[n],t[n]=l,++e,--n}}function s(t,e){for(var n=Array.isArray(e)?e:[e],l=n.length,i=0;i<l;i++)t[t.length]=n[i]}function u(t,e){var n=t.length;if(n!==e.length)return!1;for(var l=0;l<n;l++)if(t[l]!==e[l])return!1;return!0}function c(t,e,n){var l=e||i;return t.every((function(e,i){if(0===i)return!0;var r=l(t[i-1],e);return!(r>0||n&&0===r)}))}n.d(e,"a",(function(){return l})),n.d(e,"g",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return c}))},n6bG:function(t,e,n){"use strict";function l(t){return"function"==typeof t}n.d(e,"a",(function(){return l}))},nHi6:function(t,e,n){"use strict";var l,i=n("EwAT"),r=n("4wAk"),o=n("GDrd"),a=n("4mld"),s=n("e0/R"),u=n("kvpX"),c=n("Ho3V"),d=n("AdTM"),h=n("CvXi"),p=n("VWR+"),f=n("OPOH"),b=n("bYNo"),m=(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(e){var n=this,l=e||{},i=Object(f.a)({},l);delete i.layers;var o=l.layers;return(n=t.call(this,i)||this).layersListenerKeys_=[],n.listenerKeys_={},n.addEventListener(Object(a.b)("layers"),n.handleLayersChanged_),o?Array.isArray(o)?o=new r.a(o.slice(),{unique:!0}):Object(u.a)("function"==typeof o.getArray,43):o=new r.a(void 0,{unique:!0}),n.setLayers(o),n}return m(e,t),e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(c.c),this.layersListenerKeys_.length=0;var t=this.getLayers();for(var e in this.layersListenerKeys_.push(Object(c.a)(t,o.a.ADD,this.handleLayersAdd_,this),Object(c.a)(t,o.a.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(c.c);Object(f.b)(this.listenerKeys_);for(var n=t.getArray(),l=0,r=n.length;l<r;l++){var a=n[l];this.listenerKeys_[Object(i.c)(a)]=[Object(c.a)(a,s.a.PROPERTYCHANGE,this.handleLayerChange_,this),Object(c.a)(a,d.a.CHANGE,this.handleLayerChange_,this)]}this.changed()},e.prototype.handleLayersAdd_=function(t){var e=t.element;this.listenerKeys_[Object(i.c)(e)]=[Object(c.a)(e,s.a.PROPERTYCHANGE,this.handleLayerChange_,this),Object(c.a)(e,d.a.CHANGE,this.handleLayerChange_,this)],this.changed()},e.prototype.handleLayersRemove_=function(t){var e=t.element,n=Object(i.c)(e);this.listenerKeys_[n].forEach(c.c),delete this.listenerKeys_[n],this.changed()},e.prototype.getLayers=function(){return this.get("layers")},e.prototype.setLayers=function(t){this.set("layers",t)},e.prototype.getLayersArray=function(t){var e=void 0!==t?t:[];return this.getLayers().forEach((function(t){t.getLayersArray(e)})),e},e.prototype.getLayerStatesArray=function(t){var e=void 0!==t?t:[],n=e.length;this.getLayers().forEach((function(t){t.getLayerStatesArray(e)}));for(var l=this.getLayerState(),i=n,r=e.length;i<r;i++){var o=e[i];o.opacity*=l.opacity,o.visible=o.visible&&l.visible,o.maxResolution=Math.min(o.maxResolution,l.maxResolution),o.minResolution=Math.max(o.minResolution,l.minResolution),o.minZoom=Math.max(o.minZoom,l.minZoom),o.maxZoom=Math.min(o.maxZoom,l.maxZoom),void 0!==l.extent&&(o.extent=void 0!==o.extent?Object(h.B)(o.extent,l.extent):l.extent)}return e},e.prototype.getSourceState=function(){return b.a.READY},e}(p.a);e.a=g},nYR2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var l=n("7o/Q"),i=n("quSY");function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends l.a{constructor(t,e){super(t),this.add(new i.a(e))}}},nYU5:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("oBZk"),r=n("ZZ/e"),o=n("s6ns"),a=n("bujt"),s=n("Fwaw"),u=n("5GAg"),c=n("omvX"),d=n("AIJQ");n.d(e,"a",(function(){return b}));var h=l.Bb({encapsulation:0,styles:[[".dialog-edit-route[_ngcontent-%COMP%]{position:relative}.dialog-edit-route[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;color:var(--ion-color-primary);background-color:transparent;font-size:25px}.dialog-edit-route[_ngcontent-%COMP%] .mat-dialog-actions[_ngcontent-%COMP%]{justify-content:center}.dialog-edit-route[_ngcontent-%COMP%] .mat-dialog-actions[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%] + .mat-button-base[_ngcontent-%COMP%]{margin-left:0}"]],data:{}});function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,13,"div",[["class","dialog-edit-route"]],null,null,null,null,null)),(t()(),l.Db(1,0,null,null,2,"ion-icon",[["class","close-button"],["name","close"]],[[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,3).dialogRef.close(l.Pb(t,3).dialogResult)&&i),i}),i.y,i.g)),l.Cb(2,49152,null,0,r.A,[l.j,l.p,l.G],{name:[0,"name"]},null),l.Cb(3,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Db(4,0,null,null,9,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),l.Cb(5,16384,null,0,o.f,[],null,null),(t()(),l.Db(6,0,null,null,3,"button",[["cdkFocusInitial",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,8).dialogRef.close(l.Pb(t,8).dialogResult)&&i),i}),a.b,a.a)),l.Cb(7,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(8,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Wb(-1,0,["Creer une nouvelle route"])),(t()(),l.Db(10,0,null,null,3,"button",[["cdkFocusInitial",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l.Pb(t,12).dialogRef.close(l.Pb(t,12).dialogResult)&&i),i}),a.b,a.a)),l.Cb(11,180224,null,0,s.b,[l.p,u.h,[2,c.a]],null,null),l.Cb(12,606208,null,0,o.g,[[2,o.l],l.p,o.e],{dialogResult:[0,"dialogResult"]},null),(t()(),l.Wb(-1,0,["Ecraser l'ancienne route"]))],(function(t,e){t(e,2,0,"close"),t(e,3,0,"CLOSE"),t(e,8,0,"CREATE"),t(e,12,0,"UPDATE")}),(function(t,e){t(e,1,0,l.Pb(e,3).ariaLabel||null,l.Pb(e,3).type),t(e,6,0,l.Pb(e,7).disabled||null,"NoopAnimations"===l.Pb(e,7)._animationMode,l.Pb(e,8).ariaLabel||null,l.Pb(e,8).type),t(e,10,0,l.Pb(e,11).disabled||null,"NoopAnimations"===l.Pb(e,11)._animationMode,l.Pb(e,12).ariaLabel||null,l.Pb(e,12).type)}))}function f(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"edit-route-dialog",[],null,null,null,p,h)),l.Cb(1,49152,null,0,d.a,[o.l],null,null)],null,null)}var b=l.zb("edit-route-dialog",d.a,f,{},{},[])},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));const l=t=>e=>{for(let n=0,l=t.length;n<l&&!e.closed;n++)e.next(t[n]);e.complete()}},nkhJ:function(t,e,n){"use strict";var l=n("8Y7J"),i=n("SVse"),r=n("oBZk"),o=n("ZZ/e"),a=n("s7LF"),s=n("hrfs"),u=n("yKYT"),c=n("sLNx");n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return f}));var d=l.Bb({encapsulation:0,styles:[[".aircraft-replay[_ngcontent-%COMP%]{position:relative;width:100%;height:220px}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 40px;background-color:var(--ion-color-primary);color:#fff;align-items:baseline}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{padding-right:20px}.aircraft-replay[_ngcontent-%COMP%] .aircraft-replay-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:10px;color:#fff;background-color:transparent;font-size:30px}.aircraft-replay[_ngcontent-%COMP%] .range-aircraft[_ngcontent-%COMP%]{padding-left:35px}.aircraft-replay[_ngcontent-%COMP%] .chart-aircraft[_ngcontent-%COMP%]{position:relative;height:100px;width:calc(100% - 15px)}.aircraft-replay[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{height:100%!important;width:100%!important}.range[_ngcontent-%COMP%]{--knob-size:10px}.range-knob[_ngcontent-%COMP%]{position:absolute;height:160px;border-radius:0;top:0!important}"]],data:{}});function h(t){return l.Yb(2,[l.Qb(0,i.e,[l.A]),(t()(),l.Db(1,0,null,null,16,"div",[["class","aircraft-replay"]],null,null,null,null,null)),(t()(),l.Db(2,0,null,null,7,"div",[["class","aircraft-replay-header"]],null,null,null,null,null)),(t()(),l.Db(3,0,null,null,1,"ion-icon",[["class","close-button"],["name","close"]],null,[[null,"click"]],(function(t,e,n){var l=!0;return"click"===e&&(l=!1!==t.component.closeReplay()&&l),l}),r.y,r.g)),l.Cb(4,49152,null,0,o.A,[l.j,l.p,l.G],{name:[0,"name"]},null),(t()(),l.Db(5,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),l.Wb(6,null,[" "," "])),l.Sb(7,3),(t()(),l.Db(8,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),l.Wb(9,null,[" "," / "," Positions "])),(t()(),l.Db(10,0,null,null,4,"div",[["class","range-aircraft"]],null,null,null,null,null)),(t()(),l.Db(11,0,null,null,3,"ion-range",[["class","range"],["color","secondary"]],null,[[null,"ionChange"],[null,"ionBlur"]],(function(t,e,n){var i=!0,r=t.component;return"ionBlur"===e&&(i=!1!==l.Pb(t,14)._handleBlurEvent(n.target)&&i),"ionChange"===e&&(i=!1!==l.Pb(t,14)._handleChangeEvent(n.target)&&i),"ionChange"===e&&(i=!1!==r.changePosition(n)&&i),i}),r.E,r.m)),l.Tb(5120,null,a.o,(function(t){return[t]}),[o.Jb]),l.Cb(13,49152,null,0,o.ab,[l.j,l.p,l.G],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],value:[4,"value"]},null),l.Cb(14,16384,null,0,o.Jb,[l.p],null,null),(t()(),l.Db(15,0,null,null,2,"div",[["class","chart-aircraft"]],null,null,null,null,null)),(t()(),l.Db(16,0,null,null,1,"canvas",[["baseChart",""],["height","10"],["width","100"]],null,null,null,null,null)),l.Cb(17,999424,null,0,s.a,[l.p,s.c],{datasets:[0,"datasets"],labels:[1,"labels"],options:[2,"options"],chartType:[3,"chartType"],colors:[4,"colors"],legend:[5,"legend"]},null)],(function(t,e){var n=e.component;t(e,4,0,"close"),t(e,13,0,"secondary",l.Hb(1,"",n.rangeOption.max,""),l.Hb(1,"",n.rangeOption.min,""),l.Hb(1,"",n.rangeOption.step,""),l.Hb(1,"",n.rangeOption.value,"")),t(e,17,0,n.lineChartData,n.lineChartLabels,n.lineChartOptions,n.lineChartType,n.lineChartColors,n.lineChartLegend)}),(function(t,e){var n=e.component,i=l.Xb(e,6,0,t(e,7,0,l.Pb(e,0),n.replayTripService.positions[n.rangeOption.value].updatedAt,"dd/MM/yyyy, HH:mm:ss","utc"));t(e,6,0,i),t(e,9,0,n.rangeOption.value,n.rangeOption.max)}))}function p(t){return l.Yb(0,[(t()(),l.Db(0,0,null,null,1,"sepia-aircraft-replay",[],null,null,null,h,d)),l.Cb(1,114688,null,0,u.a,[c.a,l.j],null,null)],(function(t,e){t(e,1,0)}),null)}var f=l.zb("sepia-aircraft-replay",u.a,p,{},{},[])},nmM0:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var l=n("IheW"),i=n("m6sc"),r=n("QL49"),o=n("81KE"),a=n("pLZG"),s=n("lJxs"),u=n("8Y7J");let c=(()=>{class t extends i.a{constructor(t,e){super(t,e)}getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"get");return e&&(n.path("id",e.id),n.query("fields",e.fields),n.query("join",e.join),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.getOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.ReplaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"put");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.replaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.DeleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"delete");return e&&n.path("id",e.id),this.http.request(n.build({responseType:"text",accept:"*/*"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t.clone({body:void 0})))}deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.deleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.UpdateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"patch");return e&&(n.path("id",e.id),n.body(e.body,"application/json")),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.updateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.GetManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"get");return e&&(n.query("fields",e.fields),n.query("s",e.s),n.query("filter",e.filter),n.query("or",e.or),n.query("sort",e.sort),n.query("join",e.join),n.query("limit",e.limit),n.query("offset",e.offset),n.query("page",e.page),n.query("cache",e.cache)),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.getManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.createOneBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(e){const n=new o.a(this.rootUrl,t.CreateManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath,"post");return e&&n.body(e.body,"application/json"),this.http.request(n.build({responseType:"json",accept:"application/json"})).pipe(Object(a.a)(t=>t instanceof l.j),Object(s.a)(t=>t))}createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk(t){return this.createManyBaseNotificationTypeSquawkControllerNotificationTypeSquawk$Response(t).pipe(Object(s.a)(t=>t.body))}}return t.GetOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.ReplaceOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.DeleteOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.UpdateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/{id}",t.GetManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk",t.CreateOneBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk",t.CreateManyBaseNotificationTypeSquawkControllerNotificationTypeSquawkPath="/notification_type_squawk/bulk",t.ngInjectableDef=u.cc({factory:function(){return new t(u.dc(r.a),u.dc(l.c))},token:t,providedIn:"root"}),t})()},nyYc:function(t,e,n){!function(t){"use strict";var e=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},l=function(t){return function(l,i,r,o){var a=e(l),s=n[t][e(l)];return 2===a&&(s=s[i?0:1]),s.replace(/%d/i,l)}},i=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:l("s"),ss:l("s"),m:l("m"),mm:l("m"),h:l("h"),hh:l("h"),d:l("d"),dd:l("d"),M:l("M"),MM:l("M"),y:l("y"),yy:l("y")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},oBZk:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"s",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"t",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"u",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"v",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"w",(function(){return p})),n.d(e,"f",(function(){return f})),n.d(e,"x",(function(){return b})),n.d(e,"g",(function(){return m})),n.d(e,"y",(function(){return g})),n.d(e,"h",(function(){return _})),n.d(e,"z",(function(){return y})),n.d(e,"i",(function(){return A})),n.d(e,"A",(function(){return v})),n.d(e,"j",(function(){return C})),n.d(e,"B",(function(){return w})),n.d(e,"k",(function(){return P})),n.d(e,"D",(function(){return x})),n.d(e,"l",(function(){return S})),n.d(e,"C",(function(){return k})),n.d(e,"m",(function(){return M})),n.d(e,"E",(function(){return O})),n.d(e,"n",(function(){return D})),n.d(e,"F",(function(){return T})),n.d(e,"o",(function(){return E})),n.d(e,"G",(function(){return I})),n.d(e,"p",(function(){return L})),n.d(e,"H",(function(){return j})),n.d(e,"q",(function(){return R})),n.d(e,"I",(function(){return F})),n.d(e,"r",(function(){return N})),n.d(e,"J",(function(){return Y}));var l=n("8Y7J");n("ZZ/e"),n("SVse"),n("iInd");var i=l.Bb({encapsulation:2,styles:[],data:{}});function r(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var o=l.Bb({encapsulation:2,styles:[],data:{}});function a(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var s=l.Bb({encapsulation:2,styles:[],data:{}});function u(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var c=l.Bb({encapsulation:2,styles:[],data:{}});function d(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var h=l.Bb({encapsulation:2,styles:[],data:{}});function p(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var f=l.Bb({encapsulation:2,styles:[],data:{}});function b(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var m=l.Bb({encapsulation:2,styles:[],data:{}});function g(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var _=l.Bb({encapsulation:2,styles:[],data:{}});function y(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var A=l.Bb({encapsulation:2,styles:[],data:{}});function v(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var C=l.Bb({encapsulation:2,styles:[],data:{}});function w(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var P=l.Bb({encapsulation:2,styles:[],data:{}});function x(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var S=l.Bb({encapsulation:2,styles:[],data:{}});function k(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var M=l.Bb({encapsulation:2,styles:[],data:{}});function O(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var D=l.Bb({encapsulation:2,styles:[],data:{}});function T(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var E=l.Bb({encapsulation:2,styles:[],data:{}});function I(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var L=l.Bb({encapsulation:2,styles:[],data:{}});function j(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var R=l.Bb({encapsulation:2,styles:[],data:{}});function F(t){return l.Yb(2,[l.Ob(null,0)],null,null)}var N=l.Bb({encapsulation:2,styles:[],data:{}});function Y(t){return l.Yb(2,[l.Ob(null,0)],null,null)}},"oIG/":function(t,e){var n,l,i,r=String.fromCharCode;function o(t){for(var e,n,l=[],i=0,r=t.length;i<r;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<r?56320==(64512&(n=t.charCodeAt(i++)))?l.push(((1023&e)<<10)+(1023&n)+65536):(l.push(e),i--):l.push(e);return l}function a(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function s(t,e){return r(t>>e&63|128)}function u(t,e){if(0==(4294967168&t))return r(t);var n="";return 0==(4294965248&t)?n=r(t>>6&31|192):0==(4294901760&t)?(a(t,e)||(t=65533),n=r(t>>12&15|224),n+=s(t,6)):0==(4292870144&t)&&(n=r(t>>18&7|240),n+=s(t,12),n+=s(t,6)),n+r(63&t|128)}function c(){if(i>=l)throw Error("Invalid byte index");var t=255&n[i];if(i++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function d(t){var e,r;if(i>l)throw Error("Invalid byte index");if(i==l)return!1;if(e=255&n[i],i++,0==(128&e))return e;if(192==(224&e)){if((r=(31&e)<<6|c())>=128)return r;throw Error("Invalid continuation byte")}if(224==(240&e)){if((r=(15&e)<<12|c()<<6|c())>=2048)return a(r,t)?r:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(r=(7&e)<<18|c()<<12|c()<<6|c())>=65536&&r<=1114111)return r;throw Error("Invalid UTF-8 detected")}t.exports={version:"2.1.2",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,l=o(t),i=l.length,r=-1,a="";++r<i;)a+=u(l[r],n);return a},decode:function(t,e){var a=!1!==(e=e||{}).strict;n=o(t),l=n.length,i=0;for(var s,u=[];!1!==(s=d(a));)u.push(s);return function(t){for(var e,n=t.length,l=-1,i="";++l<n;)(e=t[l])>65535&&(i+=r((e-=65536)>>>10&1023|55296),e=56320|1023&e),i+=r(e);return i}(u)}}},oJZn:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var l=n("8Y7J"),i=(n("pBi1"),n("POq0")),r=(n("cUpR"),n("Xd0L")),o=(n("IP0z"),n("/HVE")),a=n("omvX"),s=(n("s7LF"),n("5GAg"),l.Bb({encapsulation:2,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],data:{}}));function u(t){return l.Yb(2,[l.Ub(671088640,1,{_thumbEl:0}),l.Ub(671088640,2,{_thumbBarEl:0}),l.Ub(671088640,3,{_inputElement:0}),(t()(),l.Db(3,0,[["label",1]],null,13,"label",[["class","mat-slide-toggle-label"]],[[1,"for",0]],null,null,null,null)),(t()(),l.Db(4,0,[[2,0],["toggleBar",1]],null,7,"div",[["class","mat-slide-toggle-bar"]],[[2,"mat-slide-toggle-bar-no-side-margin",null]],null,null,null,null)),(t()(),l.Db(5,0,[[3,0],["input",1]],null,0,"input",[["class","mat-slide-toggle-input cdk-visually-hidden"],["role","switch"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"tabIndex",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[1,"aria-checked",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var l=!0,i=t.component;return"change"===e&&(l=!1!==i._onChangeEvent(n)&&l),"click"===e&&(l=!1!==i._onInputClick(n)&&l),l}),null,null)),(t()(),l.Db(6,0,[[1,0],["thumbContainer",1]],null,5,"div",[["class","mat-slide-toggle-thumb-container"]],null,[[null,"slidestart"],[null,"slide"],[null,"slideend"]],(function(t,e,n){var l=!0,i=t.component;return"slidestart"===e&&(l=!1!==i._onDragStart()&&l),"slide"===e&&(l=!1!==i._onDrag(n)&&l),"slideend"===e&&(l=!1!==i._onDragEnd()&&l),l}),null,null)),(t()(),l.Db(7,0,null,null,0,"div",[["class","mat-slide-toggle-thumb"]],null,null,null,null,null)),(t()(),l.Db(8,0,null,null,3,"div",[["class","mat-slide-toggle-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l.Cb(9,212992,null,0,r.x,[l.p,l.G,o.a,[2,r.m],[2,a.a]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),l.Rb(10,{enterDuration:0}),(t()(),l.Db(11,0,null,null,0,"div",[["class","mat-ripple-element mat-slide-toggle-persistent-ripple"]],null,null,null,null,null)),(t()(),l.Db(12,0,[["labelContent",1]],null,4,"span",[["class","mat-slide-toggle-content"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var l=!0;return"cdkObserveContent"===e&&(l=!1!==t.component._onLabelTextChange()&&l),l}),null,null)),l.Cb(13,1196032,null,0,i.a,[i.b,l.p,l.G],null,{event:"cdkObserveContent"}),(t()(),l.Db(14,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),l.Wb(-1,null,["\xa0"])),l.Ob(null,0)],(function(t,e){var n=e.component,i=t(e,10,0,150);t(e,9,0,!0,20,i,n.disableRipple||n.disabled,l.Pb(e,3))}),(function(t,e){var n=e.component;t(e,3,0,n.inputId),t(e,4,0,!l.Pb(e,12).textContent||!l.Pb(e,12).textContent.trim()),t(e,5,0,n.inputId,n.required,n.tabIndex,n.checked,n.disabled,n.name,n.checked.toString(),n.ariaLabel,n.ariaLabelledby),t(e,8,0,l.Pb(e,9).unbounded)}))}},oQtH:function(t,e,n){"use strict";const l="qk8AMdMq0YQjoFPFrkJbSbOTZO0tnbeTTEJ9jWgA";var i=n("wd/R");function r(){return i().format("YYMM")}const o={LocalStorage:{ColorAircraftList:"ColorAircraftList",FocusOnColorAircraftList:"FocusOnColorAircraftList"},land:{LandLayerClickable:["airports","hotspots","navaids","runways","base-helicoptere","communes","centres-penitentiaires","zit-zones-p","zipva","zit-lad","seveso-bas","seveso-haut","pipelines"],LandLayerHoverable:["airports","hotspots","navaids","runways","base-helicoptere","zit-zones-p","zipva","zit-lad","seveso-bas","seveso-haut"],LandEntityMapping:{airports:{name:["name"],displayData:["icao","type"]},hotspots:{name:["name"],displayData:["elev"]},navaids:{name:["type"],displayData:["type"]},runways:{name:["name"],displayData:["name","length","width","alt"]},communes:{name:["city"],displayData:["county","pop."]},"centres-penitentiaires":{name:["name"],displayData:[]},"zit-zones-p":{name:["name"],displayData:["name","alt"]},zipva:{name:["name"],displayData:["name"]},"zit-lad":{name:["name"],displayData:["name"]},"seveso-bas":{name:["city","name"],displayData:["city","county","name","details"]},"seveso-haut":{name:["city","name"],displayData:["city","county","name","details"]},pipelines:{name:["city"],displayData:["city","type"]},"base-helicoptere":{name:["city"],displayData:["city","county","type","contact"]}}},TableDisplayColumn:{engine:{name:"Aircraft type",columns:["operation","icao","wakeTurbulence","species","engineType","enginePlacement","engine","iconName"],columnsFilter:["icao"]},operator:{name:"Operator",columns:["operation","icao","iata","name"],columnsFilter:["icao","iata","name"]},squawk:{name:"Squawk",columns:["operation","squawk","military","mlat","legend"],columnsFilter:["squawk","legend"]},stop_point:{name:"Airport",columns:["operation","icao","iata","name","location","latitude","longitude","altitude","isPlot"],columnsFilter:["icao","iata","name"]},vehicle:{name:"Aircraft",columns:["operation","modeS","countryCodeIso3","registration","manufacturer","icaoTypeCode","type","serialNo","registeredOwners","operatorIcao","userTags"],columnsFilter:["modeS","countryCodeIso3","registration","manufacturer","icaoTypeCode","operatorIcao","type","serialNo","registeredOwners"]},feed:{name:"Feed",columns:["operation","name","host","port","type_feed","latitude","longitude","settingsString"],columnsFilter:["name","host","port"]},plot:{name:"Plot",columns:["operation","icao","startAt","endAt","airforceReady","airforceSpeed","airforceDuration","icaoTypeCode"],columnsFilter:["icao","icaoTypeCode"]},bbox:{name:"Bbox",columns:["operation","name","minLat","maxLat","minLon","maxLon"],columnsFilter:["name"]},collection:{name:"Collection",columns:["operation","name","groupLayer","typeLayer","pivLayer","tippecanoeLayer","styleLayer","mappingLayer","propertiesLayer","refreshLayer","defaultViewLayer","defaultOrderLayer","clickableLayer","hoverableLayer"],columnsFilter:["name"]},icon:{name:"Icon",columns:["operation","name","bufferInBase64"],columnsFilter:["name"]}},EmptyEntity:{engine:{icao:"",wakeTurbulence:"",species:"",engineType:"",enginePlacement:"",engine:""},operator:{icao:"",iata:"",name:""},squawk:{military:"",mlat:"",squawk:"",legend:""},stop_point:{icao:"",iata:"",name:"",location:"",latitude:"",longitude:"",altitude:"",category:"",isPlot:!1},vehicle:{modeS:"",registration:"",manufacturer:"",icaoTypeCode:"",type:"",serialNo:"",registeredOwners:"",countryCodeIso3:"",operatorIcao:"",userTag:[]},feed:{name:"",host:"",port:"",type_feed:"",latitude:"",longitude:"",settings:""},plot:{icao:"",startAtHours:0,startAtMinutes:0,endAtHours:0,endAtMinutes:0,airforceReady:0,airforceSpeed:0,airforceDuration:0,icaoTypeCode:""},bbox:{name:"",minLat:0,maxLat:0,minLon:0,maxLon:0},collection:{name:"",groupLayer:"",typeLayer:"",pivLayer:!1,tippecanoeLayer:"",styleLayer:"",mappingLayer:"",propertiesLayer:"",refreshLayer:0,defaultViewLayer:!1,defaultOrderLayer:0,clickableLayer:!1,hoverableLayer:!1},icon:{name:"",bufferInBase64:""}},glLayers:{version:8,name:"Sepia",metadata:{"mapbox:autocomposite":!1,"openmaptiles:version":"3.x"},center:[2.438,46.528],zoom:5,minzoom:0,maxzoom:20,bearing:0,pitch:0,sources:{airports:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/airports.json"},airspaces:{type:"vector",layerGroup:"General",url:"https://tiles.sepia.fabnum.fr/data/airspaces.json"},hotspots:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/hotspots.json"},navaids:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/navaids.json"},runways:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/runways.json"},"centres-penitentiaires":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/centres-penitentiaires.json"},"zit-zones-p":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zit-zones-p.json"},"zit-lad":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zit-lad.json"},zipva:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/zipva.json"},icpe:{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/icpe.json"},"seveso-bas":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/seveso-bas.json"},"seveso-haut":{type:"vector",layerGroup:"Hot",url:"https://tiles.sepia.fabnum.fr/data/seveso-haut.json"},pipelines:{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/pipelines.json"},"etablissements-scolaires":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/etablissements-scolaires.json"},"base-helicoptere":{type:"vector",layerGroup:"Land",url:"https://tiles.sepia.fabnum.fr/data/base-helicoptere.json"}},glyphs:"http://fonts.openmaptiles.org/{fontstack}/{range}.pbf",layers:[{id:"airports",type:"circle",source:"airports","source-layer":"airports",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"blue","circle-opacity":1},minzoom:0},{id:"hotspots",type:"circle",source:"hotspots","source-layer":"hotspots",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"purple","circle-opacity":1},minzoom:0},{id:"navaids",type:"circle",source:"navaids","source-layer":"navaids",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"black","circle-opacity":1},minzoom:0},{id:"runways",type:"circle",source:"runways","source-layer":"runways",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"green","circle-opacity":1},minzoom:0},{id:"centres-penitentiaires",type:"circle",source:"centres-penitentiaires","source-layer":"centres-penitentiaires",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"brown","circle-opacity":1},minzoom:0},{id:"etablissements-scolaires",type:"circle",source:"etablissements-scolaires","source-layer":"etablissements-scolaires",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"pink","circle-opacity":1},minzoom:10},{id:"zit-lad",type:"fill",source:"zit-lad","source-layer":"zit-lad",layout:{visibility:"visible"},paint:{"fill-color":"pink","fill-opacity":.3},minzoom:0},{id:"seveso-haut",type:"circle",source:"seveso-haut","source-layer":"seveso-haut",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"SaddleBrown","circle-opacity":1},minzoom:0},{id:"seveso-bas",type:"circle",source:"seveso-bas","source-layer":"seveso-bas",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"SaddleBrown","circle-opacity":1},minzoom:0},{id:"base-helicoptere",type:"circle",source:"base-helicoptere","source-layer":"base-helicoptere",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"yellow","circle-opacity":1},minzoom:0},{id:"zipva",type:"line",source:"zipva","source-layer":"zipva",layout:{visibility:"visible"},paint:{"line-color":"orange","line-opacity":1},minzoom:0},{id:"zit-zones-p",type:"line",source:"zit-zones-p","source-layer":"zit-zones-p",layout:{visibility:"visible"},paint:{"line-color":"red","line-opacity":1},minzoom:0},{id:"airspaces",type:"fill",source:"airspaces","source-layer":"airspaces",layout:{visibility:"visible"},paint:{"fill-color":"rgba(255, 0, 0, 0.000000000000001)","fill-opacity":1,"fill-outline-color":"red"},minzoom:0},{id:"pipelines",type:"fill",source:"pipelines","source-layer":"pipelines",layout:{visibility:"visible"},paint:{"fill-color":"gray","fill-opacity":.2,"fill-outline-color":"rgba(0, 0, 0, 1)"},minzoom:10},{id:"icpe",type:"circle",source:"icpe","source-layer":"icpe",layout:{visibility:"visible"},paint:{"circle-radius":{stops:[[4,1],[6,2],[8,3],[10,3],[12,3]]},"circle-color":"aqua","circle-opacity":1},minzoom:0}],id:"sepia"},hiddenLayers:["airspaces","runways","airports","hotspots","navaids","seveso-haut","seveso-bas","base-helicoptere","centres-penitentiaires","etablissements-scolaires","pipelines","icpe"],layers:{aeris:{url:{aerisCloud:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/satellite/{z}/{x}/{y}/current.png",aerisInfraSat:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/satellite-infrared-color/{z}/{x}/{y}/current.png",aerisPressure:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/fpressure-msl-isobars/{z}/{x}/{y}/current.png",aerisWind:"https://maps.aerisapi.com/5rU2hlUvfMBkrDqBeP8Ue_"+l+"/fwind-speeds/{z}/{x}/{y}/current.png"},attributions:"&copy; AerisWeather.com"},osmFr:{url:{osmFr:"https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png"},attributions:"&copy; Openstreetmap France"},cityLabel:{url:{cityLabel:"https://a.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}{r}.png"},attributions:"\xa9
URLhttps://sepia.fabnum.fr/sitemap.xml
MethodGET
Evidence<script src="runtime-es2015.c38a6edb350405b56932.js" type="module"></script>
URLhttps://sepia.fabnum.fr/polyfills-es5.7bebc223554456e35572.js
MethodGET
Evidence<script>
Instances5
Solution

This is an informational alert and so no changes are required.

Other information

No links have been found while there are scripts, which is an indication that this is a modern web application.

Reference

Source ID3
Informational (Medium)Storable and Cacheable Content
Description

The response contents are storable by caching components such as proxy servers, and may be retrieved directly from the cache, rather than from the origin server by the caching servers, in response to similar requests from other users. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where "shared" caching servers such as "proxy" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.

URLhttps://sepia.fabnum.fr/runtime-es5.c38a6edb350405b56932.js
MethodGET
URLhttps://sepia.fabnum.fr/robots.txt
MethodGET
URLhttps://sepia.fabnum.fr/styles.f72457cb1e9c6a6f2f5f.css
MethodGET
URLhttps://sepia.fabnum.fr/
MethodGET
URLhttps://sepia.fabnum.fr/assets/logo_lite.svg
MethodGET
URLhttps://sepia.fabnum.fr/polyfills-es5.7bebc223554456e35572.js
MethodGET
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
URLhttps://sepia.fabnum.fr/sitemap.xml
MethodGET
URLhttps://sepia.fabnum.fr/polyfills-es2015.b43d4dcd8c503294cc94.js
MethodGET
URLhttps://sepia.fabnum.fr/runtime-es2015.c38a6edb350405b56932.js
MethodGET
Instances10
Solution

Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user:

Cache-Control: no-cache, no-store, must-revalidate, private

Pragma: no-cache

Expires: 0

This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.

Other information

In the absence of an explicitly specified caching lifetime directive in the response, a liberal lifetime heuristic of 1 year was assumed. This is permitted by rfc7234.

Reference

https://tools.ietf.org/html/rfc7234

https://tools.ietf.org/html/rfc7231

http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html (obsoleted by rfc7234)

CWE Id524
WASC Id13
Source ID3
Informational (Low)Timestamp Disclosure - Unix
Description

A timestamp was disclosed by the application/web server - Unix

URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence352321536
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence143694565
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence318767104
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence20037508
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence15728641
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence1322822218
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence134217729
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence1294757372
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence402653184
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence1426881987
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence24177077
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence770255983
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence1521486534
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence10141696
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence1396182291
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence1073742336
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence812702999
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence1537002063
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence20026376
URLhttps://sepia.fabnum.fr/main-es2015.2d94e01622772aa752ec.js
MethodGET
Evidence2147483647
Instances103
Solution

Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.

Other information

352321536, which evaluates to: 1981-03-01 19:05:36

Reference

http://projects.webappsec.org/w/page/13246936/Information%20Leakage

CWE Id200
WASC Id13
Source ID3